diff --git a/nightly/.storybook/custom-elements.json b/nightly/.storybook/custom-elements.json index ddda427a5df5..8a24b118f39e 100644 --- a/nightly/.storybook/custom-elements.json +++ b/nightly/.storybook/custom-elements.json @@ -15730,6 +15730,41 @@ "text": "CustomEvent" }, "description": "Fired when the input operation has finished by pressing Enter or on focusout." + }, + { + "name": "value-state-change", + "_ui5privacy": "public", + "type": { + "text": "CustomEvent", + "references": [ + { + "name": "StepInputValueStateChangeEventDetail", + "package": "@ui5/webcomponents", + "module": "dist/StepInput.js" + } + ] + }, + "description": "Fired before the value state of the component is updated internally.\nThe event is preventable, meaning that if it's default action is\nprevented, the component will not update the value state.", + "_ui5allowPreventDefault": true, + "_ui5since": "1.23.0", + "_ui5parameters": [ + { + "type": { + "text": "string" + }, + "name": "valueState", + "_ui5privacy": "public", + "description": "The new valueState that will be set." + }, + { + "type": { + "text": "boolean" + }, + "name": "valid", + "_ui5privacy": "public", + "description": "Indicator if the value is in between the min and max value." + } + ] } ], "superclass": { diff --git a/nightly/_stories/main/StepInput/argTypes.d.ts b/nightly/_stories/main/StepInput/argTypes.d.ts index 50caaea07333..6b55bc0cd4da 100644 --- a/nightly/_stories/main/StepInput/argTypes.d.ts +++ b/nightly/_stories/main/StepInput/argTypes.d.ts @@ -13,6 +13,25 @@ declare const _default: { }; }; }; + "value-state-change": { + description: string; + control: { + type: boolean; + }; + table: { + category: string; + }; + UI5CustomData: { + parameters: { + type: { + text: string; + }; + name: string; + _ui5privacy: string; + description: string; + }[]; + }; + }; }; export default _default; export declare const componentInfo: { diff --git a/nightly/_stories/main/StepInput/argTypes.js b/nightly/_stories/main/StepInput/argTypes.js index 40e9aa0f6e0d..ea1a97f31e51 100644 --- a/nightly/_stories/main/StepInput/argTypes.js +++ b/nightly/_stories/main/StepInput/argTypes.js @@ -18,6 +18,35 @@ export default { "summary": "Array" } } + }, + "value-state-change": { + "description": "Fired before the value state of the component is updated internally.\nThe event is preventable, meaning that if it's default action is\nprevented, the component will not update the value state.", + "control": { + "type": false + }, + "table": { + "category": "events" + }, + "UI5CustomData": { + "parameters": [ + { + "type": { + "text": "string" + }, + "name": "valueState", + "_ui5privacy": "public", + "description": "The new valueState that will be set." + }, + { + "type": { + "text": "boolean" + }, + "name": "valid", + "_ui5privacy": "public", + "description": "Indicator if the value is in between the min and max value." + } + ] + } } }; export const componentInfo = { diff --git a/nightly/_stories/main/StepInput/argTypes.js.map b/nightly/_stories/main/StepInput/argTypes.js.map index 700ac484dd55..a1dac061241f 100644 --- a/nightly/_stories/main/StepInput/argTypes.js.map +++ b/nightly/_stories/main/StepInput/argTypes.js.map @@ -1 +1 @@ -{"version":3,"file":"argTypes.js","sourceRoot":"","sources":["../../../../_stories/main/StepInput/argTypes.ts"],"names":[],"mappings":"AAAA,eAAe;IACd,YAAY,EAAE;QACb,SAAS,EAAE,QAAQ;QACnB,SAAS,EAAE;YACV,MAAM;YACN,SAAS;YACT,SAAS;YACT,OAAO;YACP,aAAa;SACb;KACD;IACD,mBAAmB,EAAE;QACpB,SAAS,EAAE;YACV,MAAM,EAAE,MAAM;SACd;QACD,OAAO,EAAE;YACR,MAAM,EAAE;gBACP,SAAS,EAAE,oBAAoB;aAC/B;SACD;KACD;CACD,CAAC;AACF,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,SAAS,EAAE,oBAAoB;IAC/B,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,gBAAgB;CAC9B,CAAC","sourcesContent":["export default {\n\t\"valueState\": {\n\t\t\"control\": \"select\",\n\t\t\"options\": [\n\t\t\t\"None\",\n\t\t\t\"Success\",\n\t\t\t\"Warning\",\n\t\t\t\"Error\",\n\t\t\t\"Information\"\n\t\t]\n\t},\n\t\"valueStateMessage\": {\n\t\t\"control\": {\n\t\t\t\"type\": \"text\"\n\t\t},\n\t\t\"table\": {\n\t\t\t\"type\": {\n\t\t\t\t\"summary\": \"Array\"\n\t\t\t}\n\t\t}\n\t}\n};\nexport const componentInfo = {\n \"package\": \"@ui5/webcomponents\",\n \"since\": \"1.0.0-rc.13\",\n \"tagName\": \"ui5-step-input\"\n};\nexport type StoryArgsSlots = {\n\tvalueStateMessage: string;\n}"]} \ No newline at end of file +{"version":3,"file":"argTypes.js","sourceRoot":"","sources":["../../../../_stories/main/StepInput/argTypes.ts"],"names":[],"mappings":"AAAA,eAAe;IACd,YAAY,EAAE;QACb,SAAS,EAAE,QAAQ;QACnB,SAAS,EAAE;YACV,MAAM;YACN,SAAS;YACT,SAAS;YACT,OAAO;YACP,aAAa;SACb;KACD;IACD,mBAAmB,EAAE;QACpB,SAAS,EAAE;YACV,MAAM,EAAE,MAAM;SACd;QACD,OAAO,EAAE;YACR,MAAM,EAAE;gBACP,SAAS,EAAE,oBAAoB;aAC/B;SACD;KACD;IACD,oBAAoB,EAAE;QACrB,aAAa,EAAE,mMAAmM;QAClN,SAAS,EAAE;YACV,MAAM,EAAE,KAAK;SACb;QACD,OAAO,EAAE;YACR,UAAU,EAAE,QAAQ;SACpB;QACD,eAAe,EAAE;YAChB,YAAY,EAAE;gBACb;oBACC,MAAM,EAAE;wBACP,MAAM,EAAE,QAAQ;qBAChB;oBACD,MAAM,EAAE,YAAY;oBACpB,aAAa,EAAE,QAAQ;oBACvB,aAAa,EAAE,mDAAmD;iBAClE;gBACD;oBACC,MAAM,EAAE;wBACP,MAAM,EAAE,SAAS;qBACjB;oBACD,MAAM,EAAE,OAAO;oBACf,aAAa,EAAE,QAAQ;oBACvB,aAAa,EAAE,6DAA6D;iBAC5E;aACD;SACD;KACD;CACD,CAAC;AACF,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,SAAS,EAAE,oBAAoB;IAC/B,OAAO,EAAE,aAAa;IACtB,SAAS,EAAE,gBAAgB;CAC9B,CAAC","sourcesContent":["export default {\n\t\"valueState\": {\n\t\t\"control\": \"select\",\n\t\t\"options\": [\n\t\t\t\"None\",\n\t\t\t\"Success\",\n\t\t\t\"Warning\",\n\t\t\t\"Error\",\n\t\t\t\"Information\"\n\t\t]\n\t},\n\t\"valueStateMessage\": {\n\t\t\"control\": {\n\t\t\t\"type\": \"text\"\n\t\t},\n\t\t\"table\": {\n\t\t\t\"type\": {\n\t\t\t\t\"summary\": \"Array\"\n\t\t\t}\n\t\t}\n\t},\n\t\"value-state-change\": {\n\t\t\"description\": \"Fired before the value state of the component is updated internally.\\nThe event is preventable, meaning that if it's default action is\\nprevented, the component will not update the value state.\",\n\t\t\"control\": {\n\t\t\t\"type\": false\n\t\t},\n\t\t\"table\": {\n\t\t\t\"category\": \"events\"\n\t\t},\n\t\t\"UI5CustomData\": {\n\t\t\t\"parameters\": [\n\t\t\t\t{\n\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\"text\": \"string\"\n\t\t\t\t\t},\n\t\t\t\t\t\"name\": \"valueState\",\n\t\t\t\t\t\"_ui5privacy\": \"public\",\n\t\t\t\t\t\"description\": \"The new valueState that will be set.\"\n\t\t\t\t},\n\t\t\t\t{\n\t\t\t\t\t\"type\": {\n\t\t\t\t\t\t\"text\": \"boolean\"\n\t\t\t\t\t},\n\t\t\t\t\t\"name\": \"valid\",\n\t\t\t\t\t\"_ui5privacy\": \"public\",\n\t\t\t\t\t\"description\": \"Indicator if the value is in between the min and max value.\"\n\t\t\t\t}\n\t\t\t]\n\t\t}\n\t}\n};\nexport const componentInfo = {\n \"package\": \"@ui5/webcomponents\",\n \"since\": \"1.0.0-rc.13\",\n \"tagName\": \"ui5-step-input\"\n};\nexport type StoryArgsSlots = {\n\tvalueStateMessage: string;\n}"]} \ No newline at end of file diff --git a/nightly/assets/AddColumn-8d2c095a.js b/nightly/assets/AddColumn-8d2c095a.js new file mode 100644 index 000000000000..980b8a18277a --- /dev/null +++ b/nightly/assets/AddColumn-8d2c095a.js @@ -0,0 +1 @@ +import{r as o,I as t,a as s}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-AddColumn-a0692499.js";import n from"./sapIllus-Scene-AddColumn-cde10b8d.js";import i from"./sapIllus-Spot-AddColumn-91862b03.js";const m="AddColumn",e="fiori",l="V4",a=t,c=s;o(m,{dialogSvg:r,sceneSvg:n,spotSvg:i,title:a,subtitle:c,set:e,collection:l});const I="AddColumn";export{I as default,r as dialogSvg,n as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/AddColumn-d121eeed.js b/nightly/assets/AddColumn-d121eeed.js deleted file mode 100644 index 20724febb37f..000000000000 --- a/nightly/assets/AddColumn-d121eeed.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,I as t,a as s}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-AddColumn-a0692499.js";import n from"./sapIllus-Scene-AddColumn-cde10b8d.js";import i from"./sapIllus-Spot-AddColumn-91862b03.js";const m="AddColumn",e="fiori",l="V4",a=t,c=s;o(m,{dialogSvg:r,sceneSvg:n,spotSvg:i,title:a,subtitle:c,set:e,collection:l});const I="AddColumn";export{I as default,r as dialogSvg,n as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/AddDimensions-6d502758.js b/nightly/assets/AddDimensions-6d502758.js deleted file mode 100644 index 0b2c73c6af09..000000000000 --- a/nightly/assets/AddDimensions-6d502758.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,b as s,c as t}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-AddDimensions-472b5008.js";import n from"./sapIllus-Scene-AddDimensions-03f792c8.js";import e from"./sapIllus-Spot-AddDimensions-9b46c183.js";const r="AddDimensions",m="fiori",c="V4",D=s,I=t;o(r,{dialogSvg:i,sceneSvg:n,spotSvg:e,title:D,subtitle:I,set:m,collection:c});const f="AddDimensions";export{f as default,i as dialogSvg,n as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/AddDimensions-c3a2b6ae.js b/nightly/assets/AddDimensions-c3a2b6ae.js new file mode 100644 index 000000000000..1f2d4b5f3a75 --- /dev/null +++ b/nightly/assets/AddDimensions-c3a2b6ae.js @@ -0,0 +1 @@ +import{r as o,b as s,c as t}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-AddDimensions-472b5008.js";import n from"./sapIllus-Scene-AddDimensions-03f792c8.js";import e from"./sapIllus-Spot-AddDimensions-9b46c183.js";const r="AddDimensions",m="fiori",c="V4",D=s,I=t;o(r,{dialogSvg:i,sceneSvg:n,spotSvg:e,title:D,subtitle:I,set:m,collection:c});const f="AddDimensions";export{f as default,i as dialogSvg,n as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/AddPeople-2648d428.js b/nightly/assets/AddPeople-2648d428.js deleted file mode 100644 index 141d7d95340e..000000000000 --- a/nightly/assets/AddPeople-2648d428.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,d as t,e}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-AddPeople-83398119.js";import r from"./sapIllus-Scene-AddPeople-d4e26d10.js";import i from"./sapIllus-Spot-AddPeople-2eb97881.js";const l="AddPeople",n="fiori",c="V4",d=t,m=e;o(l,{dialogSvg:s,sceneSvg:r,spotSvg:i,title:d,subtitle:m,set:n,collection:c});const E="AddPeople";export{E as default,s as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/AddPeople-f1944f98.js b/nightly/assets/AddPeople-f1944f98.js new file mode 100644 index 000000000000..cbb176a0cedf --- /dev/null +++ b/nightly/assets/AddPeople-f1944f98.js @@ -0,0 +1 @@ +import{r as o,d as t,e}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-AddPeople-83398119.js";import r from"./sapIllus-Scene-AddPeople-d4e26d10.js";import i from"./sapIllus-Spot-AddPeople-2eb97881.js";const l="AddPeople",n="fiori",c="V4",d=t,m=e;o(l,{dialogSvg:s,sceneSvg:r,spotSvg:i,title:d,subtitle:m,set:n,collection:c});const E="AddPeople";export{E as default,s as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Avatar-1c228e00.js b/nightly/assets/Avatar-1c228e00.js new file mode 100644 index 000000000000..1304725ee114 --- /dev/null +++ b/nightly/assets/Avatar-1c228e00.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Avatar-d1dacd0e.js";import r from"./tnt-Scene-Avatar-f9cb7bb0.js";import a from"./tnt-Spot-Avatar-8e5f730c.js";const s="Avatar",n="tnt",e="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Avatar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Avatar-6b6dcbb6.js b/nightly/assets/Avatar-6b6dcbb6.js deleted file mode 100644 index f64699e38e01..000000000000 --- a/nightly/assets/Avatar-6b6dcbb6.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Avatar-d1dacd0e.js";import r from"./tnt-Scene-Avatar-f9cb7bb0.js";import a from"./tnt-Spot-Avatar-8e5f730c.js";const s="Avatar",n="tnt",e="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Avatar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Avatar-7e42775a.js b/nightly/assets/Avatar-7e42775a.js deleted file mode 100644 index 23f3d85043a3..000000000000 --- a/nightly/assets/Avatar-7e42775a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Avatar-74a93ff5.js";import r from"./tnt-Scene-Avatar-c94c015e.js";import a from"./tnt-Spot-Avatar-6ec35b44.js";const s="Avatar",n="tnt",e="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Avatar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Avatar-99c3bfa6.js b/nightly/assets/Avatar-99c3bfa6.js new file mode 100644 index 000000000000..dfdd8003185c --- /dev/null +++ b/nightly/assets/Avatar-99c3bfa6.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Avatar-74a93ff5.js";import r from"./tnt-Scene-Avatar-c94c015e.js";import a from"./tnt-Spot-Avatar-6ec35b44.js";const s="Avatar",n="tnt",e="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Avatar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/BalloonSky-20ef85e8.js b/nightly/assets/BalloonSky-20ef85e8.js new file mode 100644 index 000000000000..a42d552795a5 --- /dev/null +++ b/nightly/assets/BalloonSky-20ef85e8.js @@ -0,0 +1 @@ +import{r as o,f as t,g as s}from"./bundle.esm-3abc4abd.js";import l from"./sapIllus-Dialog-BalloonSky-dce6ce6b.js";import r from"./sapIllus-Scene-BalloonSky-e15c51e9.js";import n from"./sapIllus-Spot-BalloonSky-94540c21.js";const i="BalloonSky",a="fiori",e="V4",c=t,m=s;o(i,{dialogSvg:l,sceneSvg:r,spotSvg:n,title:c,subtitle:m,set:a,collection:e});const B="BalloonSky";export{B as default,l as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/BalloonSky-bd367bfd.js b/nightly/assets/BalloonSky-bd367bfd.js deleted file mode 100644 index 2aa9368c1dc8..000000000000 --- a/nightly/assets/BalloonSky-bd367bfd.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,f as t,g as s}from"./bundle.esm-fe82a1f4.js";import l from"./sapIllus-Dialog-BalloonSky-dce6ce6b.js";import r from"./sapIllus-Scene-BalloonSky-e15c51e9.js";import n from"./sapIllus-Spot-BalloonSky-94540c21.js";const i="BalloonSky",a="fiori",e="V4",c=t,m=s;o(i,{dialogSvg:l,sceneSvg:r,spotSvg:n,title:c,subtitle:m,set:a,collection:e});const B="BalloonSky";export{B as default,l as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Calculator-3257f825.js b/nightly/assets/Calculator-3257f825.js deleted file mode 100644 index b5768c11cc50..000000000000 --- a/nightly/assets/Calculator-3257f825.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Calculator-3f80ff46.js";import r from"./tnt-Scene-Calculator-704d6204.js";import a from"./tnt-Spot-Calculator-49d2ad87.js";const l="Calculator",s="tnt",c="V5/HC";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:s,collection:c});const p="tnt/Calculator";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Calculator-3f170817.js b/nightly/assets/Calculator-3f170817.js new file mode 100644 index 000000000000..032a7986dd8b --- /dev/null +++ b/nightly/assets/Calculator-3f170817.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Calculator-33db44e6.js";import r from"./tnt-Scene-Calculator-9df290f6.js";import a from"./tnt-Spot-Calculator-ed071d35.js";const l="Calculator",s="tnt",c="V4";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:s,collection:c});const p="tnt/Calculator";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Calculator-b3275f0b.js b/nightly/assets/Calculator-b3275f0b.js new file mode 100644 index 000000000000..b3c48e9749e9 --- /dev/null +++ b/nightly/assets/Calculator-b3275f0b.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Calculator-3f80ff46.js";import r from"./tnt-Scene-Calculator-704d6204.js";import a from"./tnt-Spot-Calculator-49d2ad87.js";const l="Calculator",s="tnt",c="V5/HC";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:s,collection:c});const p="tnt/Calculator";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Calculator-b882c0f1.js b/nightly/assets/Calculator-b882c0f1.js deleted file mode 100644 index acdc02f734ac..000000000000 --- a/nightly/assets/Calculator-b882c0f1.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Calculator-33db44e6.js";import r from"./tnt-Scene-Calculator-9df290f6.js";import a from"./tnt-Spot-Calculator-ed071d35.js";const l="Calculator",s="tnt",c="V4";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:s,collection:c});const p="tnt/Calculator";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea-1c33714c.js b/nightly/assets/ChartArea-1c33714c.js new file mode 100644 index 000000000000..b904bf902887 --- /dev/null +++ b/nightly/assets/ChartArea-1c33714c.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartArea-31a79615.js";import o from"./tnt-Scene-ChartArea-a11e03af.js";import a from"./tnt-Spot-ChartArea-8ee21557.js";const e="ChartArea",s="tnt",n="V5";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea-267b210b.js b/nightly/assets/ChartArea-267b210b.js deleted file mode 100644 index 68ecc501a96c..000000000000 --- a/nightly/assets/ChartArea-267b210b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartArea-b52838ef.js";import o from"./tnt-Scene-ChartArea-a8825a20.js";import a from"./tnt-Spot-ChartArea-a9ca8650.js";const e="ChartArea",s="tnt",n="V4";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea-4da9bb91.js b/nightly/assets/ChartArea-4da9bb91.js deleted file mode 100644 index 2ae2397ebb37..000000000000 --- a/nightly/assets/ChartArea-4da9bb91.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartArea-66e964da.js";import o from"./tnt-Scene-ChartArea-9a13cf82.js";import a from"./tnt-Spot-ChartArea-93230760.js";const e="ChartArea",s="tnt",n="V5/HC";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea-617b3a2e.js b/nightly/assets/ChartArea-617b3a2e.js new file mode 100644 index 000000000000..b4b63aa3d847 --- /dev/null +++ b/nightly/assets/ChartArea-617b3a2e.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartArea-b52838ef.js";import o from"./tnt-Scene-ChartArea-a8825a20.js";import a from"./tnt-Spot-ChartArea-a9ca8650.js";const e="ChartArea",s="tnt",n="V4";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea-a7760fdb.js b/nightly/assets/ChartArea-a7760fdb.js deleted file mode 100644 index 02f37f46fce6..000000000000 --- a/nightly/assets/ChartArea-a7760fdb.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartArea-31a79615.js";import o from"./tnt-Scene-ChartArea-a11e03af.js";import a from"./tnt-Spot-ChartArea-8ee21557.js";const e="ChartArea",s="tnt",n="V5";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea-e5003e49.js b/nightly/assets/ChartArea-e5003e49.js new file mode 100644 index 000000000000..9cc66c96d82e --- /dev/null +++ b/nightly/assets/ChartArea-e5003e49.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartArea-66e964da.js";import o from"./tnt-Scene-ChartArea-9a13cf82.js";import a from"./tnt-Spot-ChartArea-93230760.js";const e="ChartArea",s="tnt",n="V5/HC";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea2-16747d95.js b/nightly/assets/ChartArea2-16747d95.js deleted file mode 100644 index 70e346a8e569..000000000000 --- a/nightly/assets/ChartArea2-16747d95.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartArea2-77ccab9e.js";import o from"./tnt-Scene-ChartArea2-7e645fef.js";import a from"./tnt-Spot-ChartArea2-f21ac4a0.js";const e="ChartArea2",s="tnt",n="V5";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea2";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea2-2cf59fbe.js b/nightly/assets/ChartArea2-2cf59fbe.js new file mode 100644 index 000000000000..72d80de72883 --- /dev/null +++ b/nightly/assets/ChartArea2-2cf59fbe.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartArea2-8911ca76.js";import o from"./tnt-Scene-ChartArea2-526c526e.js";import a from"./tnt-Spot-ChartArea2-abb0565b.js";const e="ChartArea2",s="tnt",n="V5/HC";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea2";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea2-3031ba35.js b/nightly/assets/ChartArea2-3031ba35.js new file mode 100644 index 000000000000..c07da5f05a4e --- /dev/null +++ b/nightly/assets/ChartArea2-3031ba35.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartArea2-27f60533.js";import o from"./tnt-Scene-ChartArea2-2813af03.js";import a from"./tnt-Spot-ChartArea2-c4572892.js";const e="ChartArea2",s="tnt",n="V4";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea2";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea2-7c9b6cff.js b/nightly/assets/ChartArea2-7c9b6cff.js deleted file mode 100644 index 651768acc5fc..000000000000 --- a/nightly/assets/ChartArea2-7c9b6cff.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartArea2-27f60533.js";import o from"./tnt-Scene-ChartArea2-2813af03.js";import a from"./tnt-Spot-ChartArea2-c4572892.js";const e="ChartArea2",s="tnt",n="V4";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea2";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea2-aee30dc6.js b/nightly/assets/ChartArea2-aee30dc6.js new file mode 100644 index 000000000000..40728478e1e4 --- /dev/null +++ b/nightly/assets/ChartArea2-aee30dc6.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartArea2-77ccab9e.js";import o from"./tnt-Scene-ChartArea2-7e645fef.js";import a from"./tnt-Spot-ChartArea2-f21ac4a0.js";const e="ChartArea2",s="tnt",n="V5";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea2";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartArea2-d22340ef.js b/nightly/assets/ChartArea2-d22340ef.js deleted file mode 100644 index f760c384389e..000000000000 --- a/nightly/assets/ChartArea2-d22340ef.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartArea2-8911ca76.js";import o from"./tnt-Scene-ChartArea2-526c526e.js";import a from"./tnt-Spot-ChartArea2-abb0565b.js";const e="ChartArea2",s="tnt",n="V5/HC";t(e,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:s,collection:n});const p="tnt/ChartArea2";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartBPMNFlow-174f8b73.js b/nightly/assets/ChartBPMNFlow-174f8b73.js new file mode 100644 index 000000000000..1978108338a2 --- /dev/null +++ b/nightly/assets/ChartBPMNFlow-174f8b73.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartBPMNFlow-e26ac32e.js";import r from"./tnt-Scene-ChartBPMNFlow-a87ca2d9.js";import s from"./tnt-Spot-ChartBPMNFlow-673a1fec.js";const n="ChartBPMNFlow",a="tnt",e="V5/HC";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartBPMNFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartBPMNFlow-25979840.js b/nightly/assets/ChartBPMNFlow-25979840.js deleted file mode 100644 index 2f0fb2899f5c..000000000000 --- a/nightly/assets/ChartBPMNFlow-25979840.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartBPMNFlow-e26ac32e.js";import r from"./tnt-Scene-ChartBPMNFlow-a87ca2d9.js";import s from"./tnt-Spot-ChartBPMNFlow-673a1fec.js";const n="ChartBPMNFlow",a="tnt",e="V5/HC";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartBPMNFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartBPMNFlow-511e7ac5.js b/nightly/assets/ChartBPMNFlow-511e7ac5.js deleted file mode 100644 index 5baacba9d209..000000000000 --- a/nightly/assets/ChartBPMNFlow-511e7ac5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartBPMNFlow-9ff3b95c.js";import r from"./tnt-Scene-ChartBPMNFlow-f3d5e3ad.js";import s from"./tnt-Spot-ChartBPMNFlow-463acf96.js";const n="ChartBPMNFlow",a="tnt",e="V4";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartBPMNFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartBPMNFlow-5272ee51.js b/nightly/assets/ChartBPMNFlow-5272ee51.js new file mode 100644 index 000000000000..6c5beb275f30 --- /dev/null +++ b/nightly/assets/ChartBPMNFlow-5272ee51.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartBPMNFlow-e5b9141e.js";import r from"./tnt-Scene-ChartBPMNFlow-64f956e8.js";import s from"./tnt-Spot-ChartBPMNFlow-981af5b2.js";const n="ChartBPMNFlow",a="tnt",e="V5";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartBPMNFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartBPMNFlow-db8a1be6.js b/nightly/assets/ChartBPMNFlow-db8a1be6.js new file mode 100644 index 000000000000..500daa2dfa3a --- /dev/null +++ b/nightly/assets/ChartBPMNFlow-db8a1be6.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartBPMNFlow-9ff3b95c.js";import r from"./tnt-Scene-ChartBPMNFlow-f3d5e3ad.js";import s from"./tnt-Spot-ChartBPMNFlow-463acf96.js";const n="ChartBPMNFlow",a="tnt",e="V4";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartBPMNFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartBPMNFlow-f36862c2.js b/nightly/assets/ChartBPMNFlow-f36862c2.js deleted file mode 100644 index 275927030869..000000000000 --- a/nightly/assets/ChartBPMNFlow-f36862c2.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartBPMNFlow-e5b9141e.js";import r from"./tnt-Scene-ChartBPMNFlow-64f956e8.js";import s from"./tnt-Spot-ChartBPMNFlow-981af5b2.js";const n="ChartBPMNFlow",a="tnt",e="V5";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartBPMNFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartBar-404de869.js b/nightly/assets/ChartBar-404de869.js new file mode 100644 index 000000000000..8d87cb345c3d --- /dev/null +++ b/nightly/assets/ChartBar-404de869.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartBar-cd28a82b.js";import o from"./tnt-Scene-ChartBar-3094905d.js";import a from"./tnt-Spot-ChartBar-87794638.js";const s="ChartBar",n="tnt",e="V4";t(s,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:n,collection:e});const p="tnt/ChartBar";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartBar-50b0b3d5.js b/nightly/assets/ChartBar-50b0b3d5.js deleted file mode 100644 index d3ee38f0537a..000000000000 --- a/nightly/assets/ChartBar-50b0b3d5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartBar-cd28a82b.js";import o from"./tnt-Scene-ChartBar-3094905d.js";import a from"./tnt-Spot-ChartBar-87794638.js";const s="ChartBar",n="tnt",e="V4";t(s,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:n,collection:e});const p="tnt/ChartBar";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartBar-79594af6.js b/nightly/assets/ChartBar-79594af6.js new file mode 100644 index 000000000000..1ca543c38291 --- /dev/null +++ b/nightly/assets/ChartBar-79594af6.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartBar-1ad98363.js";import o from"./tnt-Scene-ChartBar-0926ece7.js";import a from"./tnt-Spot-ChartBar-ef49bab9.js";const s="ChartBar",n="tnt",e="V5/HC";t(s,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:n,collection:e});const p="tnt/ChartBar";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartBar-aefd14d2.js b/nightly/assets/ChartBar-aefd14d2.js deleted file mode 100644 index 732b00948156..000000000000 --- a/nightly/assets/ChartBar-aefd14d2.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartBar-1ad98363.js";import o from"./tnt-Scene-ChartBar-0926ece7.js";import a from"./tnt-Spot-ChartBar-ef49bab9.js";const s="ChartBar",n="tnt",e="V5/HC";t(s,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:n,collection:e});const p="tnt/ChartBar";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartBar-b0adb1ae.js b/nightly/assets/ChartBar-b0adb1ae.js deleted file mode 100644 index c7cf7fe0d6e1..000000000000 --- a/nightly/assets/ChartBar-b0adb1ae.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartBar-478ea014.js";import o from"./tnt-Scene-ChartBar-3b0fc9dc.js";import a from"./tnt-Spot-ChartBar-2429d548.js";const s="ChartBar",n="tnt",e="V5";t(s,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:n,collection:e});const p="tnt/ChartBar";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartBar-b693e8b6.js b/nightly/assets/ChartBar-b693e8b6.js new file mode 100644 index 000000000000..865794f1407c --- /dev/null +++ b/nightly/assets/ChartBar-b693e8b6.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartBar-478ea014.js";import o from"./tnt-Scene-ChartBar-3b0fc9dc.js";import a from"./tnt-Spot-ChartBar-2429d548.js";const s="ChartBar",n="tnt",e="V5";t(s,{dialogSvg:r,sceneSvg:o,spotSvg:a,set:n,collection:e});const p="tnt/ChartBar";export{p as default,r as dialogSvg,o as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ChartBullet-18de16e0.js b/nightly/assets/ChartBullet-18de16e0.js deleted file mode 100644 index 3e5dfb5410f6..000000000000 --- a/nightly/assets/ChartBullet-18de16e0.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartBullet-bbf88483.js";import r from"./tnt-Scene-ChartBullet-5b09b84f.js";import e from"./tnt-Spot-ChartBullet-142d6e5c.js";const l="ChartBullet",s="tnt",n="V4";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartBullet";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartBullet-2a0d94ca.js b/nightly/assets/ChartBullet-2a0d94ca.js deleted file mode 100644 index 19071dd1d174..000000000000 --- a/nightly/assets/ChartBullet-2a0d94ca.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartBullet-c9be246f.js";import r from"./tnt-Scene-ChartBullet-c6303c07.js";import e from"./tnt-Spot-ChartBullet-6567cf0a.js";const l="ChartBullet",s="tnt",n="V5";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartBullet";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartBullet-4988c408.js b/nightly/assets/ChartBullet-4988c408.js deleted file mode 100644 index 6ff0fc2a1533..000000000000 --- a/nightly/assets/ChartBullet-4988c408.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartBullet-a676296f.js";import r from"./tnt-Scene-ChartBullet-97aa35a9.js";import e from"./tnt-Spot-ChartBullet-4dc6a989.js";const l="ChartBullet",s="tnt",n="V5/HC";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartBullet";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartBullet-a54adf2c.js b/nightly/assets/ChartBullet-a54adf2c.js new file mode 100644 index 000000000000..f04eaf52493b --- /dev/null +++ b/nightly/assets/ChartBullet-a54adf2c.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartBullet-c9be246f.js";import r from"./tnt-Scene-ChartBullet-c6303c07.js";import e from"./tnt-Spot-ChartBullet-6567cf0a.js";const l="ChartBullet",s="tnt",n="V5";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartBullet";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartBullet-b2837946.js b/nightly/assets/ChartBullet-b2837946.js new file mode 100644 index 000000000000..9689c718dd8c --- /dev/null +++ b/nightly/assets/ChartBullet-b2837946.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartBullet-a676296f.js";import r from"./tnt-Scene-ChartBullet-97aa35a9.js";import e from"./tnt-Spot-ChartBullet-4dc6a989.js";const l="ChartBullet",s="tnt",n="V5/HC";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartBullet";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartBullet-f7e5c5bc.js b/nightly/assets/ChartBullet-f7e5c5bc.js new file mode 100644 index 000000000000..dfe298c3561a --- /dev/null +++ b/nightly/assets/ChartBullet-f7e5c5bc.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartBullet-bbf88483.js";import r from"./tnt-Scene-ChartBullet-5b09b84f.js";import e from"./tnt-Spot-ChartBullet-142d6e5c.js";const l="ChartBullet",s="tnt",n="V4";t(l,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartBullet";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartDoughnut-590a71d7.js b/nightly/assets/ChartDoughnut-590a71d7.js deleted file mode 100644 index e1b2c98ed05e..000000000000 --- a/nightly/assets/ChartDoughnut-590a71d7.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartDoughnut-e81c232d.js";import r from"./tnt-Scene-ChartDoughnut-ebcf3c36.js";import n from"./tnt-Spot-ChartDoughnut-1b597707.js";const s="ChartDoughnut",a="tnt",e="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:a,collection:e});const c="tnt/ChartDoughnut";export{c as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartDoughnut-781efc22.js b/nightly/assets/ChartDoughnut-781efc22.js deleted file mode 100644 index e69199a64c8b..000000000000 --- a/nightly/assets/ChartDoughnut-781efc22.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartDoughnut-d3c45d74.js";import r from"./tnt-Scene-ChartDoughnut-43d73e28.js";import n from"./tnt-Spot-ChartDoughnut-40f031cc.js";const s="ChartDoughnut",a="tnt",e="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:a,collection:e});const c="tnt/ChartDoughnut";export{c as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartDoughnut-bae8ca0b.js b/nightly/assets/ChartDoughnut-bae8ca0b.js new file mode 100644 index 000000000000..e99e7f72c3ad --- /dev/null +++ b/nightly/assets/ChartDoughnut-bae8ca0b.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartDoughnut-fb4cf92b.js";import r from"./tnt-Scene-ChartDoughnut-d539004e.js";import n from"./tnt-Spot-ChartDoughnut-3e1a73fc.js";const s="ChartDoughnut",a="tnt",e="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:a,collection:e});const c="tnt/ChartDoughnut";export{c as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartDoughnut-d16781e1.js b/nightly/assets/ChartDoughnut-d16781e1.js new file mode 100644 index 000000000000..e118be0bb454 --- /dev/null +++ b/nightly/assets/ChartDoughnut-d16781e1.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartDoughnut-d3c45d74.js";import r from"./tnt-Scene-ChartDoughnut-43d73e28.js";import n from"./tnt-Spot-ChartDoughnut-40f031cc.js";const s="ChartDoughnut",a="tnt",e="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:a,collection:e});const c="tnt/ChartDoughnut";export{c as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartDoughnut-d58299b7.js b/nightly/assets/ChartDoughnut-d58299b7.js new file mode 100644 index 000000000000..bd65214b18ae --- /dev/null +++ b/nightly/assets/ChartDoughnut-d58299b7.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartDoughnut-e81c232d.js";import r from"./tnt-Scene-ChartDoughnut-ebcf3c36.js";import n from"./tnt-Spot-ChartDoughnut-1b597707.js";const s="ChartDoughnut",a="tnt",e="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:a,collection:e});const c="tnt/ChartDoughnut";export{c as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartDoughnut-f152feb9.js b/nightly/assets/ChartDoughnut-f152feb9.js deleted file mode 100644 index a791ddf604a8..000000000000 --- a/nightly/assets/ChartDoughnut-f152feb9.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartDoughnut-fb4cf92b.js";import r from"./tnt-Scene-ChartDoughnut-d539004e.js";import n from"./tnt-Spot-ChartDoughnut-3e1a73fc.js";const s="ChartDoughnut",a="tnt",e="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:a,collection:e});const c="tnt/ChartDoughnut";export{c as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartFlow-33f96ebc.js b/nightly/assets/ChartFlow-33f96ebc.js deleted file mode 100644 index 6a0692163bd9..000000000000 --- a/nightly/assets/ChartFlow-33f96ebc.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartFlow-39c7ef4f.js";import r from"./tnt-Scene-ChartFlow-a3531640.js";import s from"./tnt-Spot-ChartFlow-f62bccdc.js";const n="ChartFlow",a="tnt",e="V4";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartFlow-347a232d.js b/nightly/assets/ChartFlow-347a232d.js new file mode 100644 index 000000000000..6e2020813128 --- /dev/null +++ b/nightly/assets/ChartFlow-347a232d.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartFlow-39c7ef4f.js";import r from"./tnt-Scene-ChartFlow-a3531640.js";import s from"./tnt-Spot-ChartFlow-f62bccdc.js";const n="ChartFlow",a="tnt",e="V4";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartFlow-4d611218.js b/nightly/assets/ChartFlow-4d611218.js deleted file mode 100644 index 5e9de5cac20f..000000000000 --- a/nightly/assets/ChartFlow-4d611218.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartFlow-e745a4ea.js";import r from"./tnt-Scene-ChartFlow-bf75a8d2.js";import s from"./tnt-Spot-ChartFlow-95d37520.js";const n="ChartFlow",a="tnt",e="V5/HC";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartFlow-cbd57d5b.js b/nightly/assets/ChartFlow-cbd57d5b.js deleted file mode 100644 index 154c05d30d67..000000000000 --- a/nightly/assets/ChartFlow-cbd57d5b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartFlow-65f75d1b.js";import r from"./tnt-Scene-ChartFlow-fbd005ef.js";import s from"./tnt-Spot-ChartFlow-11689351.js";const n="ChartFlow",a="tnt",e="V5";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartFlow-d570a64f.js b/nightly/assets/ChartFlow-d570a64f.js new file mode 100644 index 000000000000..6fd3c91ace84 --- /dev/null +++ b/nightly/assets/ChartFlow-d570a64f.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartFlow-65f75d1b.js";import r from"./tnt-Scene-ChartFlow-fbd005ef.js";import s from"./tnt-Spot-ChartFlow-11689351.js";const n="ChartFlow",a="tnt",e="V5";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartFlow-dee7b221.js b/nightly/assets/ChartFlow-dee7b221.js new file mode 100644 index 000000000000..f3240f853761 --- /dev/null +++ b/nightly/assets/ChartFlow-dee7b221.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartFlow-e745a4ea.js";import r from"./tnt-Scene-ChartFlow-bf75a8d2.js";import s from"./tnt-Spot-ChartFlow-95d37520.js";const n="ChartFlow",a="tnt",e="V5/HC";t(n,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:a,collection:e});const p="tnt/ChartFlow";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartGantt-0fcbfd1a.js b/nightly/assets/ChartGantt-0fcbfd1a.js new file mode 100644 index 000000000000..ca59c24ad2e7 --- /dev/null +++ b/nightly/assets/ChartGantt-0fcbfd1a.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartGantt-5fe95263.js";import r from"./tnt-Scene-ChartGantt-317a784c.js";import n from"./tnt-Spot-ChartGantt-b8374796.js";const a="ChartGantt",s="tnt",e="V4";t(a,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:s,collection:e});const p="tnt/ChartGantt";export{p as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartGantt-3c205447.js b/nightly/assets/ChartGantt-3c205447.js new file mode 100644 index 000000000000..8beb641a5be8 --- /dev/null +++ b/nightly/assets/ChartGantt-3c205447.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartGantt-9788142c.js";import r from"./tnt-Scene-ChartGantt-98285275.js";import n from"./tnt-Spot-ChartGantt-8255f47d.js";const a="ChartGantt",s="tnt",e="V5";t(a,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:s,collection:e});const p="tnt/ChartGantt";export{p as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartGantt-66cfd1ff.js b/nightly/assets/ChartGantt-66cfd1ff.js deleted file mode 100644 index 2a17a54d7e53..000000000000 --- a/nightly/assets/ChartGantt-66cfd1ff.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartGantt-9788142c.js";import r from"./tnt-Scene-ChartGantt-98285275.js";import n from"./tnt-Spot-ChartGantt-8255f47d.js";const a="ChartGantt",s="tnt",e="V5";t(a,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:s,collection:e});const p="tnt/ChartGantt";export{p as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartGantt-9fb99d7f.js b/nightly/assets/ChartGantt-9fb99d7f.js deleted file mode 100644 index 4445c4cadf64..000000000000 --- a/nightly/assets/ChartGantt-9fb99d7f.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartGantt-5fe95263.js";import r from"./tnt-Scene-ChartGantt-317a784c.js";import n from"./tnt-Spot-ChartGantt-b8374796.js";const a="ChartGantt",s="tnt",e="V4";t(a,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:s,collection:e});const p="tnt/ChartGantt";export{p as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartGantt-d52bacae.js b/nightly/assets/ChartGantt-d52bacae.js deleted file mode 100644 index bc3e2dc1afd3..000000000000 --- a/nightly/assets/ChartGantt-d52bacae.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartGantt-989d0074.js";import r from"./tnt-Scene-ChartGantt-d48d76f7.js";import n from"./tnt-Spot-ChartGantt-d8fc7344.js";const a="ChartGantt",s="tnt",e="V5/HC";t(a,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:s,collection:e});const p="tnt/ChartGantt";export{p as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartGantt-f4726e38.js b/nightly/assets/ChartGantt-f4726e38.js new file mode 100644 index 000000000000..f524efff2d1e --- /dev/null +++ b/nightly/assets/ChartGantt-f4726e38.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartGantt-989d0074.js";import r from"./tnt-Scene-ChartGantt-d48d76f7.js";import n from"./tnt-Spot-ChartGantt-d8fc7344.js";const a="ChartGantt",s="tnt",e="V5/HC";t(a,{dialogSvg:o,sceneSvg:r,spotSvg:n,set:s,collection:e});const p="tnt/ChartGantt";export{p as default,o as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ChartOrg-1c385022.js b/nightly/assets/ChartOrg-1c385022.js deleted file mode 100644 index e9d9a3890696..000000000000 --- a/nightly/assets/ChartOrg-1c385022.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartOrg-0971fd33.js";import o from"./tnt-Scene-ChartOrg-284db3b2.js";import s from"./tnt-Spot-ChartOrg-0f04066f.js";const n="ChartOrg",a="tnt",e="V5";t(n,{dialogSvg:r,sceneSvg:o,spotSvg:s,set:a,collection:e});const l="tnt/ChartOrg";export{l as default,r as dialogSvg,o as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartOrg-228c81d3.js b/nightly/assets/ChartOrg-228c81d3.js deleted file mode 100644 index e5e0d45ab1bd..000000000000 --- a/nightly/assets/ChartOrg-228c81d3.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartOrg-88bfdb14.js";import o from"./tnt-Scene-ChartOrg-84953e06.js";import s from"./tnt-Spot-ChartOrg-add29ae9.js";const n="ChartOrg",a="tnt",e="V4";t(n,{dialogSvg:r,sceneSvg:o,spotSvg:s,set:a,collection:e});const l="tnt/ChartOrg";export{l as default,r as dialogSvg,o as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartOrg-4c25e73a.js b/nightly/assets/ChartOrg-4c25e73a.js deleted file mode 100644 index 5d3feb02e1b0..000000000000 --- a/nightly/assets/ChartOrg-4c25e73a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-ChartOrg-906db0c7.js";import o from"./tnt-Scene-ChartOrg-a2843764.js";import s from"./tnt-Spot-ChartOrg-d21b25f3.js";const n="ChartOrg",a="tnt",e="V5/HC";t(n,{dialogSvg:r,sceneSvg:o,spotSvg:s,set:a,collection:e});const l="tnt/ChartOrg";export{l as default,r as dialogSvg,o as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartOrg-8c63fac9.js b/nightly/assets/ChartOrg-8c63fac9.js new file mode 100644 index 000000000000..7da5443e6473 --- /dev/null +++ b/nightly/assets/ChartOrg-8c63fac9.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartOrg-88bfdb14.js";import o from"./tnt-Scene-ChartOrg-84953e06.js";import s from"./tnt-Spot-ChartOrg-add29ae9.js";const n="ChartOrg",a="tnt",e="V4";t(n,{dialogSvg:r,sceneSvg:o,spotSvg:s,set:a,collection:e});const l="tnt/ChartOrg";export{l as default,r as dialogSvg,o as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartOrg-c438867f.js b/nightly/assets/ChartOrg-c438867f.js new file mode 100644 index 000000000000..d1580ea6caa8 --- /dev/null +++ b/nightly/assets/ChartOrg-c438867f.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartOrg-906db0c7.js";import o from"./tnt-Scene-ChartOrg-a2843764.js";import s from"./tnt-Spot-ChartOrg-d21b25f3.js";const n="ChartOrg",a="tnt",e="V5/HC";t(n,{dialogSvg:r,sceneSvg:o,spotSvg:s,set:a,collection:e});const l="tnt/ChartOrg";export{l as default,r as dialogSvg,o as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartOrg-e9c6d0b3.js b/nightly/assets/ChartOrg-e9c6d0b3.js new file mode 100644 index 000000000000..5121897b007f --- /dev/null +++ b/nightly/assets/ChartOrg-e9c6d0b3.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-ChartOrg-0971fd33.js";import o from"./tnt-Scene-ChartOrg-284db3b2.js";import s from"./tnt-Spot-ChartOrg-0f04066f.js";const n="ChartOrg",a="tnt",e="V5";t(n,{dialogSvg:r,sceneSvg:o,spotSvg:s,set:a,collection:e});const l="tnt/ChartOrg";export{l as default,r as dialogSvg,o as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ChartPie-606b6f07.js b/nightly/assets/ChartPie-606b6f07.js new file mode 100644 index 000000000000..79e26382a7ff --- /dev/null +++ b/nightly/assets/ChartPie-606b6f07.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartPie-22add98c.js";import r from"./tnt-Scene-ChartPie-4fc52a76.js";import e from"./tnt-Spot-ChartPie-1cf8e70d.js";const i="ChartPie",s="tnt",n="V4";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartPie";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartPie-71fd7310.js b/nightly/assets/ChartPie-71fd7310.js new file mode 100644 index 000000000000..6e93082d2715 --- /dev/null +++ b/nightly/assets/ChartPie-71fd7310.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartPie-de3448ba.js";import r from"./tnt-Scene-ChartPie-672a5a40.js";import e from"./tnt-Spot-ChartPie-61d92d64.js";const i="ChartPie",s="tnt",n="V5/HC";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartPie";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartPie-a5596b6e.js b/nightly/assets/ChartPie-a5596b6e.js deleted file mode 100644 index 36ee28e56e97..000000000000 --- a/nightly/assets/ChartPie-a5596b6e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartPie-de3448ba.js";import r from"./tnt-Scene-ChartPie-672a5a40.js";import e from"./tnt-Spot-ChartPie-61d92d64.js";const i="ChartPie",s="tnt",n="V5/HC";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartPie";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartPie-b6e9e4a9.js b/nightly/assets/ChartPie-b6e9e4a9.js deleted file mode 100644 index 2caa529805e4..000000000000 --- a/nightly/assets/ChartPie-b6e9e4a9.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartPie-22add98c.js";import r from"./tnt-Scene-ChartPie-4fc52a76.js";import e from"./tnt-Spot-ChartPie-1cf8e70d.js";const i="ChartPie",s="tnt",n="V4";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartPie";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartPie-b8760bff.js b/nightly/assets/ChartPie-b8760bff.js deleted file mode 100644 index b566cfffb415..000000000000 --- a/nightly/assets/ChartPie-b8760bff.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ChartPie-22e8bdb7.js";import r from"./tnt-Scene-ChartPie-adfa5cfb.js";import e from"./tnt-Spot-ChartPie-3d3bf94c.js";const i="ChartPie",s="tnt",n="V5";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartPie";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/ChartPie-dfcfc256.js b/nightly/assets/ChartPie-dfcfc256.js new file mode 100644 index 000000000000..bd2e24c14821 --- /dev/null +++ b/nightly/assets/ChartPie-dfcfc256.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ChartPie-22e8bdb7.js";import r from"./tnt-Scene-ChartPie-adfa5cfb.js";import e from"./tnt-Spot-ChartPie-3d3bf94c.js";const i="ChartPie",s="tnt",n="V5";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:s,collection:n});const p="tnt/ChartPie";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/CodePlaceholder-0dc4b673.js b/nightly/assets/CodePlaceholder-0dc4b673.js new file mode 100644 index 000000000000..7fe7fdf52e13 --- /dev/null +++ b/nightly/assets/CodePlaceholder-0dc4b673.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-CodePlaceholder-158105b4.js";import e from"./tnt-Scene-CodePlaceholder-1257117f.js";import r from"./tnt-Spot-CodePlaceholder-ce4b00ba.js";const l="CodePlaceholder",s="tnt",c="V4";o(l,{dialogSvg:t,sceneSvg:e,spotSvg:r,set:s,collection:c});const i="tnt/CodePlaceholder";export{i as default,t as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/CodePlaceholder-18a87d81.js b/nightly/assets/CodePlaceholder-18a87d81.js deleted file mode 100644 index 34200f10abf9..000000000000 --- a/nightly/assets/CodePlaceholder-18a87d81.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-CodePlaceholder-cd553114.js";import e from"./tnt-Scene-CodePlaceholder-56f42850.js";import r from"./tnt-Spot-CodePlaceholder-b52da6c8.js";const l="CodePlaceholder",s="tnt",c="V5";o(l,{dialogSvg:t,sceneSvg:e,spotSvg:r,set:s,collection:c});const i="tnt/CodePlaceholder";export{i as default,t as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/CodePlaceholder-1ba24d5b.js b/nightly/assets/CodePlaceholder-1ba24d5b.js deleted file mode 100644 index b0c01d6a62f5..000000000000 --- a/nightly/assets/CodePlaceholder-1ba24d5b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-CodePlaceholder-158105b4.js";import e from"./tnt-Scene-CodePlaceholder-1257117f.js";import r from"./tnt-Spot-CodePlaceholder-ce4b00ba.js";const l="CodePlaceholder",s="tnt",c="V4";o(l,{dialogSvg:t,sceneSvg:e,spotSvg:r,set:s,collection:c});const i="tnt/CodePlaceholder";export{i as default,t as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/CodePlaceholder-48dd23f6.js b/nightly/assets/CodePlaceholder-48dd23f6.js deleted file mode 100644 index f472ae038692..000000000000 --- a/nightly/assets/CodePlaceholder-48dd23f6.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-CodePlaceholder-1245ad00.js";import e from"./tnt-Scene-CodePlaceholder-8a8d1947.js";import r from"./tnt-Spot-CodePlaceholder-80fbc98d.js";const l="CodePlaceholder",s="tnt",c="V5/HC";o(l,{dialogSvg:t,sceneSvg:e,spotSvg:r,set:s,collection:c});const i="tnt/CodePlaceholder";export{i as default,t as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/CodePlaceholder-78c5ecc7.js b/nightly/assets/CodePlaceholder-78c5ecc7.js new file mode 100644 index 000000000000..4b9e795d8c6e --- /dev/null +++ b/nightly/assets/CodePlaceholder-78c5ecc7.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-CodePlaceholder-cd553114.js";import e from"./tnt-Scene-CodePlaceholder-56f42850.js";import r from"./tnt-Spot-CodePlaceholder-b52da6c8.js";const l="CodePlaceholder",s="tnt",c="V5";o(l,{dialogSvg:t,sceneSvg:e,spotSvg:r,set:s,collection:c});const i="tnt/CodePlaceholder";export{i as default,t as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/CodePlaceholder-cd8ed00f.js b/nightly/assets/CodePlaceholder-cd8ed00f.js new file mode 100644 index 000000000000..1af9766ed30a --- /dev/null +++ b/nightly/assets/CodePlaceholder-cd8ed00f.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-CodePlaceholder-1245ad00.js";import e from"./tnt-Scene-CodePlaceholder-8a8d1947.js";import r from"./tnt-Spot-CodePlaceholder-80fbc98d.js";const l="CodePlaceholder",s="tnt",c="V5/HC";o(l,{dialogSvg:t,sceneSvg:e,spotSvg:r,set:s,collection:c});const i="tnt/CodePlaceholder";export{i as default,t as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Company-0180b94e.js b/nightly/assets/Company-0180b94e.js new file mode 100644 index 000000000000..cd6c287bba72 --- /dev/null +++ b/nightly/assets/Company-0180b94e.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Company-0c27d529.js";import n from"./tnt-Scene-Company-dcc00b8c.js";import r from"./tnt-Spot-Company-32512552.js";const m="Company",s="tnt",a="V5/HC";o(m,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:s,collection:a});const l="tnt/Company";export{l as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Company-3605c64c.js b/nightly/assets/Company-3605c64c.js deleted file mode 100644 index db7d2f1d9732..000000000000 --- a/nightly/assets/Company-3605c64c.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Company-2dedef9d.js";import n from"./tnt-Scene-Company-345bba7c.js";import r from"./tnt-Spot-Company-2422d4ce.js";const m="Company",s="tnt",a="V4";o(m,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:s,collection:a});const l="tnt/Company";export{l as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Company-71736fa2.js b/nightly/assets/Company-71736fa2.js new file mode 100644 index 000000000000..e38475550ea8 --- /dev/null +++ b/nightly/assets/Company-71736fa2.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Company-2dedef9d.js";import n from"./tnt-Scene-Company-345bba7c.js";import r from"./tnt-Spot-Company-2422d4ce.js";const m="Company",s="tnt",a="V4";o(m,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:s,collection:a});const l="tnt/Company";export{l as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Company-730dc3d7.js b/nightly/assets/Company-730dc3d7.js deleted file mode 100644 index 0dfa6e11d4b0..000000000000 --- a/nightly/assets/Company-730dc3d7.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Company-0c27d529.js";import n from"./tnt-Scene-Company-dcc00b8c.js";import r from"./tnt-Spot-Company-32512552.js";const m="Company",s="tnt",a="V5/HC";o(m,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:s,collection:a});const l="tnt/Company";export{l as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Company-76ac4436.js b/nightly/assets/Company-76ac4436.js new file mode 100644 index 000000000000..17308db6bcf0 --- /dev/null +++ b/nightly/assets/Company-76ac4436.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Company-ce429056.js";import n from"./tnt-Scene-Company-1a4e52a1.js";import r from"./tnt-Spot-Company-a0280f7c.js";const m="Company",s="tnt",a="V5";o(m,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:s,collection:a});const l="tnt/Company";export{l as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Company-df556c17.js b/nightly/assets/Company-df556c17.js deleted file mode 100644 index e2be027822f5..000000000000 --- a/nightly/assets/Company-df556c17.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Company-ce429056.js";import n from"./tnt-Scene-Company-1a4e52a1.js";import r from"./tnt-Spot-Company-a0280f7c.js";const m="Company",s="tnt",a="V5";o(m,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:s,collection:a});const l="tnt/Company";export{l as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Compass-393a0b85.js b/nightly/assets/Compass-393a0b85.js new file mode 100644 index 000000000000..494c950ce48b --- /dev/null +++ b/nightly/assets/Compass-393a0b85.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Compass-45ba15d7.js";import s from"./tnt-Scene-Compass-fbc897a3.js";import r from"./tnt-Spot-Compass-310d52e6.js";const m="Compass",n="tnt",a="V4";o(m,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:a});const l="tnt/Compass";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Compass-ad36fc26.js b/nightly/assets/Compass-ad36fc26.js deleted file mode 100644 index 3723cedd1c3e..000000000000 --- a/nightly/assets/Compass-ad36fc26.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Compass-45ba15d7.js";import s from"./tnt-Scene-Compass-fbc897a3.js";import r from"./tnt-Spot-Compass-310d52e6.js";const m="Compass",n="tnt",a="V4";o(m,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:a});const l="tnt/Compass";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Compass-d4a7eec4.js b/nightly/assets/Compass-d4a7eec4.js deleted file mode 100644 index 445a9693cb6e..000000000000 --- a/nightly/assets/Compass-d4a7eec4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Compass-9168e881.js";import s from"./tnt-Scene-Compass-2505f309.js";import r from"./tnt-Spot-Compass-b25645db.js";const m="Compass",n="tnt",a="V5/HC";o(m,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:a});const l="tnt/Compass";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Compass-eacad774.js b/nightly/assets/Compass-eacad774.js new file mode 100644 index 000000000000..343903fb8f12 --- /dev/null +++ b/nightly/assets/Compass-eacad774.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Compass-9168e881.js";import s from"./tnt-Scene-Compass-2505f309.js";import r from"./tnt-Spot-Compass-b25645db.js";const m="Compass",n="tnt",a="V5/HC";o(m,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:a});const l="tnt/Compass";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Components-4c2b7f6d.js b/nightly/assets/Components-4c2b7f6d.js deleted file mode 100644 index 080650150157..000000000000 --- a/nightly/assets/Components-4c2b7f6d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Components-1ccc31fb.js";import n from"./tnt-Scene-Components-46d3524c.js";import s from"./tnt-Spot-Components-4546c52b.js";const r="Components",e="tnt",m="V4";o(r,{dialogSvg:t,sceneSvg:n,spotSvg:s,set:e,collection:m});const l="tnt/Components";export{l as default,t as dialogSvg,n as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Components-920f3d07.js b/nightly/assets/Components-920f3d07.js new file mode 100644 index 000000000000..7f276108c88e --- /dev/null +++ b/nightly/assets/Components-920f3d07.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Components-1ccc31fb.js";import n from"./tnt-Scene-Components-46d3524c.js";import s from"./tnt-Spot-Components-4546c52b.js";const r="Components",e="tnt",m="V4";o(r,{dialogSvg:t,sceneSvg:n,spotSvg:s,set:e,collection:m});const l="tnt/Components";export{l as default,t as dialogSvg,n as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Components-9297da07.js b/nightly/assets/Components-9297da07.js deleted file mode 100644 index 9e1c733a1c54..000000000000 --- a/nightly/assets/Components-9297da07.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Components-c31b3add.js";import n from"./tnt-Scene-Components-41cc239e.js";import s from"./tnt-Spot-Components-e6515854.js";const r="Components",e="tnt",m="V5";o(r,{dialogSvg:t,sceneSvg:n,spotSvg:s,set:e,collection:m});const l="tnt/Components";export{l as default,t as dialogSvg,n as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Components-e4a4d254.js b/nightly/assets/Components-e4a4d254.js new file mode 100644 index 000000000000..ed543c444010 --- /dev/null +++ b/nightly/assets/Components-e4a4d254.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Components-61bd31c6.js";import n from"./tnt-Scene-Components-79fa7882.js";import s from"./tnt-Spot-Components-dd7262b7.js";const r="Components",e="tnt",m="V5/HC";o(r,{dialogSvg:t,sceneSvg:n,spotSvg:s,set:e,collection:m});const l="tnt/Components";export{l as default,t as dialogSvg,n as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Components-e4a7d6b0.js b/nightly/assets/Components-e4a7d6b0.js deleted file mode 100644 index ca7fbcd566a7..000000000000 --- a/nightly/assets/Components-e4a7d6b0.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Components-61bd31c6.js";import n from"./tnt-Scene-Components-79fa7882.js";import s from"./tnt-Spot-Components-dd7262b7.js";const r="Components",e="tnt",m="V5/HC";o(r,{dialogSvg:t,sceneSvg:n,spotSvg:s,set:e,collection:m});const l="tnt/Components";export{l as default,t as dialogSvg,n as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Components-e69909d5.js b/nightly/assets/Components-e69909d5.js new file mode 100644 index 000000000000..ac5fd5e1db94 --- /dev/null +++ b/nightly/assets/Components-e69909d5.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Components-c31b3add.js";import n from"./tnt-Scene-Components-41cc239e.js";import s from"./tnt-Spot-Components-e6515854.js";const r="Components",e="tnt",m="V5";o(r,{dialogSvg:t,sceneSvg:n,spotSvg:s,set:e,collection:m});const l="tnt/Components";export{l as default,t as dialogSvg,n as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Connection-562022a4.js b/nightly/assets/Connection-562022a4.js deleted file mode 100644 index ec04c6491cec..000000000000 --- a/nightly/assets/Connection-562022a4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,h as t,i as n}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-Connection-dbd6b716.js";import s from"./sapIllus-Scene-Connection-646dd2d5.js";import e from"./sapIllus-Spot-Connection-a15dd78e.js";const r="Connection",c="fiori",m="V4",a=t,l=n;o(r,{dialogSvg:i,sceneSvg:s,spotSvg:e,title:a,subtitle:l,set:c,collection:m});const g="Connection";export{g as default,i as dialogSvg,s as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Connection-a7296c5d.js b/nightly/assets/Connection-a7296c5d.js new file mode 100644 index 000000000000..78e7fb5b5e56 --- /dev/null +++ b/nightly/assets/Connection-a7296c5d.js @@ -0,0 +1 @@ +import{r as o,h as t,i as n}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-Connection-dbd6b716.js";import s from"./sapIllus-Scene-Connection-646dd2d5.js";import e from"./sapIllus-Spot-Connection-a15dd78e.js";const r="Connection",c="fiori",m="V4",a=t,l=n;o(r,{dialogSvg:i,sceneSvg:s,spotSvg:e,title:a,subtitle:l,set:c,collection:m});const g="Connection";export{g as default,i as dialogSvg,s as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Dialog-6730e47f.js b/nightly/assets/Dialog-6730e47f.js deleted file mode 100644 index 9af29425ad3e..000000000000 --- a/nightly/assets/Dialog-6730e47f.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Dialog-2ef9c5de.js";import r from"./tnt-Scene-Dialog-73265a53.js";import i from"./tnt-Spot-Dialog-639b3a79.js";const s="Dialog",n="tnt",a="V4";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:i,set:n,collection:a});const c="tnt/Dialog";export{c as default,t as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Dialog-690fbe84.js b/nightly/assets/Dialog-690fbe84.js new file mode 100644 index 000000000000..0c8f5189d6e8 --- /dev/null +++ b/nightly/assets/Dialog-690fbe84.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Dialog-2ef9c5de.js";import r from"./tnt-Scene-Dialog-73265a53.js";import i from"./tnt-Spot-Dialog-639b3a79.js";const s="Dialog",n="tnt",a="V4";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:i,set:n,collection:a});const c="tnt/Dialog";export{c as default,t as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Dialog-b3f01322.js b/nightly/assets/Dialog-b3f01322.js new file mode 100644 index 000000000000..ac7f30cad0bf --- /dev/null +++ b/nightly/assets/Dialog-b3f01322.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Dialog-df1914c7.js";import r from"./tnt-Scene-Dialog-b52da3b3.js";import i from"./tnt-Spot-Dialog-d968dd2a.js";const s="Dialog",n="tnt",a="V5/HC";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:i,set:n,collection:a});const c="tnt/Dialog";export{c as default,t as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Dialog-bd4c0a7e.js b/nightly/assets/Dialog-bd4c0a7e.js deleted file mode 100644 index 92b830fe487c..000000000000 --- a/nightly/assets/Dialog-bd4c0a7e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Dialog-df1914c7.js";import r from"./tnt-Scene-Dialog-b52da3b3.js";import i from"./tnt-Spot-Dialog-d968dd2a.js";const s="Dialog",n="tnt",a="V5/HC";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:i,set:n,collection:a});const c="tnt/Dialog";export{c as default,t as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/EmptyCalendar-4bb0ee12.js b/nightly/assets/EmptyCalendar-4bb0ee12.js new file mode 100644 index 000000000000..ce8fe24d320f --- /dev/null +++ b/nightly/assets/EmptyCalendar-4bb0ee12.js @@ -0,0 +1 @@ +import{r as t,j as o,k as r}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-EmptyCalendar-caa00822.js";import a from"./sapIllus-Scene-EmptyCalendar-6e365b13.js";import e from"./sapIllus-Spot-EmptyCalendar-39b70e41.js";const n="EmptyCalendar",i="fiori",m="V4",l=o,I=r;t(n,{dialogSvg:s,sceneSvg:a,spotSvg:e,title:l,subtitle:I,set:i,collection:m});const f="EmptyCalendar";export{f as default,s as dialogSvg,a as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/EmptyCalendar-9e47c0fa.js b/nightly/assets/EmptyCalendar-9e47c0fa.js deleted file mode 100644 index 3ab9440ab0e9..000000000000 --- a/nightly/assets/EmptyCalendar-9e47c0fa.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,j as o,k as r}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-EmptyCalendar-caa00822.js";import a from"./sapIllus-Scene-EmptyCalendar-6e365b13.js";import e from"./sapIllus-Spot-EmptyCalendar-39b70e41.js";const n="EmptyCalendar",i="fiori",m="V4",l=o,I=r;t(n,{dialogSvg:s,sceneSvg:a,spotSvg:e,title:l,subtitle:I,set:i,collection:m});const f="EmptyCalendar";export{f as default,s as dialogSvg,a as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/EmptyContentPane-4111a6c6.js b/nightly/assets/EmptyContentPane-4111a6c6.js new file mode 100644 index 000000000000..c46459ecf229 --- /dev/null +++ b/nightly/assets/EmptyContentPane-4111a6c6.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-EmptyContentPane-ed85d488.js";import n from"./tnt-Scene-EmptyContentPane-7d5c682b.js";import e from"./tnt-Spot-EmptyContentPane-d3bd8fb1.js";const r="EmptyContentPane",m="tnt",s="V5";t(r,{dialogSvg:o,sceneSvg:n,spotSvg:e,set:m,collection:s});const l="tnt/EmptyContentPane";export{l as default,o as dialogSvg,n as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/EmptyContentPane-b5696a7b.js b/nightly/assets/EmptyContentPane-b5696a7b.js deleted file mode 100644 index b02d9a5d2cb2..000000000000 --- a/nightly/assets/EmptyContentPane-b5696a7b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-EmptyContentPane-bb041555.js";import n from"./tnt-Scene-EmptyContentPane-2e08e094.js";import e from"./tnt-Spot-EmptyContentPane-630392cc.js";const r="EmptyContentPane",m="tnt",s="V5/HC";t(r,{dialogSvg:o,sceneSvg:n,spotSvg:e,set:m,collection:s});const l="tnt/EmptyContentPane";export{l as default,o as dialogSvg,n as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/EmptyContentPane-f40fe26e.js b/nightly/assets/EmptyContentPane-f40fe26e.js deleted file mode 100644 index 6baee977611a..000000000000 --- a/nightly/assets/EmptyContentPane-f40fe26e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-EmptyContentPane-ed85d488.js";import n from"./tnt-Scene-EmptyContentPane-7d5c682b.js";import e from"./tnt-Spot-EmptyContentPane-d3bd8fb1.js";const r="EmptyContentPane",m="tnt",s="V5";t(r,{dialogSvg:o,sceneSvg:n,spotSvg:e,set:m,collection:s});const l="tnt/EmptyContentPane";export{l as default,o as dialogSvg,n as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/EmptyContentPane-f8b539e5.js b/nightly/assets/EmptyContentPane-f8b539e5.js new file mode 100644 index 000000000000..3a8e49a899ed --- /dev/null +++ b/nightly/assets/EmptyContentPane-f8b539e5.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-EmptyContentPane-bb041555.js";import n from"./tnt-Scene-EmptyContentPane-2e08e094.js";import e from"./tnt-Spot-EmptyContentPane-630392cc.js";const r="EmptyContentPane",m="tnt",s="V5/HC";t(r,{dialogSvg:o,sceneSvg:n,spotSvg:e,set:m,collection:s});const l="tnt/EmptyContentPane";export{l as default,o as dialogSvg,n as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/EmptyList-491e31f4.js b/nightly/assets/EmptyList-491e31f4.js new file mode 100644 index 000000000000..15ef5dfbc53a --- /dev/null +++ b/nightly/assets/EmptyList-491e31f4.js @@ -0,0 +1 @@ +import{r as t,l as o,m as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-EmptyList-8ec8ba59.js";import r from"./sapIllus-Scene-EmptyList-900eb92c.js";import m from"./sapIllus-Spot-EmptyList-031e0afd.js";const e="EmptyList",n="fiori",c="V4",l=o,p=s;t(e,{dialogSvg:i,sceneSvg:r,spotSvg:m,title:l,subtitle:p,set:n,collection:c});const S="EmptyList";export{S as default,i as dialogSvg,r as sceneSvg,m as spotSvg}; diff --git a/nightly/assets/EmptyList-88c6aa91.js b/nightly/assets/EmptyList-88c6aa91.js deleted file mode 100644 index 49f83a4a451b..000000000000 --- a/nightly/assets/EmptyList-88c6aa91.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,l as o,m as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-EmptyList-8ec8ba59.js";import r from"./sapIllus-Scene-EmptyList-900eb92c.js";import m from"./sapIllus-Spot-EmptyList-031e0afd.js";const e="EmptyList",n="fiori",c="V4",l=o,p=s;t(e,{dialogSvg:i,sceneSvg:r,spotSvg:m,title:l,subtitle:p,set:n,collection:c});const S="EmptyList";export{S as default,i as dialogSvg,r as sceneSvg,m as spotSvg}; diff --git a/nightly/assets/EmptyPlanningCalendar-5cd53586.js b/nightly/assets/EmptyPlanningCalendar-5cd53586.js new file mode 100644 index 000000000000..4b9e292645f6 --- /dev/null +++ b/nightly/assets/EmptyPlanningCalendar-5cd53586.js @@ -0,0 +1 @@ +import{r as t,n,o}from"./bundle.esm-3abc4abd.js";import a from"./sapIllus-Dialog-EmptyPlanningCalendar-670e40b7.js";import r from"./sapIllus-Scene-EmptyPlanningCalendar-9015fdd3.js";import s from"./sapIllus-Spot-EmptyPlanningCalendar-4ae27aa9.js";const i="EmptyPlanningCalendar",e="fiori",l="V4",m=n,c=o;t(i,{dialogSvg:a,sceneSvg:r,spotSvg:s,title:m,subtitle:c,set:e,collection:l});const I="EmptyPlanningCalendar";export{I as default,a as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/EmptyPlanningCalendar-6b038a8a.js b/nightly/assets/EmptyPlanningCalendar-6b038a8a.js deleted file mode 100644 index 5e48292dcc48..000000000000 --- a/nightly/assets/EmptyPlanningCalendar-6b038a8a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,n,o}from"./bundle.esm-fe82a1f4.js";import a from"./sapIllus-Dialog-EmptyPlanningCalendar-670e40b7.js";import r from"./sapIllus-Scene-EmptyPlanningCalendar-9015fdd3.js";import s from"./sapIllus-Spot-EmptyPlanningCalendar-4ae27aa9.js";const i="EmptyPlanningCalendar",e="fiori",l="V4",m=n,c=o;t(i,{dialogSvg:a,sceneSvg:r,spotSvg:s,title:m,subtitle:c,set:e,collection:l});const I="EmptyPlanningCalendar";export{I as default,a as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/ErrorScreen-0cf12f46.js b/nightly/assets/ErrorScreen-0cf12f46.js deleted file mode 100644 index 4ef8c50cb816..000000000000 --- a/nightly/assets/ErrorScreen-0cf12f46.js +++ /dev/null @@ -1 +0,0 @@ -import{r,p as o,q as t}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-ErrorScreen-b3578024.js";import s from"./sapIllus-Scene-ErrorScreen-9062b599.js";import n from"./sapIllus-Spot-ErrorScreen-29602bed.js";const c="ErrorScreen",i="fiori",m="V4",a=o,l=t;r(c,{dialogSvg:e,sceneSvg:s,spotSvg:n,title:a,subtitle:l,set:i,collection:m});const L="ErrorScreen";export{L as default,e as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ErrorScreen-9c120a6f.js b/nightly/assets/ErrorScreen-9c120a6f.js new file mode 100644 index 000000000000..81534af4298d --- /dev/null +++ b/nightly/assets/ErrorScreen-9c120a6f.js @@ -0,0 +1 @@ +import{r,p as o,q as t}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-ErrorScreen-b3578024.js";import s from"./sapIllus-Scene-ErrorScreen-9062b599.js";import n from"./sapIllus-Spot-ErrorScreen-29602bed.js";const c="ErrorScreen",i="fiori",m="V4",a=o,l=t;r(c,{dialogSvg:e,sceneSvg:s,spotSvg:n,title:a,subtitle:l,set:i,collection:m});const L="ErrorScreen";export{L as default,e as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/ExternalLink-042dd5a9.js b/nightly/assets/ExternalLink-042dd5a9.js new file mode 100644 index 000000000000..f0daee715b63 --- /dev/null +++ b/nightly/assets/ExternalLink-042dd5a9.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ExternalLink-37e1baa0.js";import n from"./tnt-Scene-ExternalLink-ae2eb33e.js";import r from"./tnt-Spot-ExternalLink-ce3daa40.js";const e="ExternalLink",i="tnt",s="V5/HC";t(e,{dialogSvg:o,sceneSvg:n,spotSvg:r,set:i,collection:s});const p="tnt/ExternalLink";export{p as default,o as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/ExternalLink-42d8cb56.js b/nightly/assets/ExternalLink-42d8cb56.js deleted file mode 100644 index 67f06763db15..000000000000 --- a/nightly/assets/ExternalLink-42d8cb56.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ExternalLink-37e1baa0.js";import n from"./tnt-Scene-ExternalLink-ae2eb33e.js";import r from"./tnt-Spot-ExternalLink-ce3daa40.js";const e="ExternalLink",i="tnt",s="V5/HC";t(e,{dialogSvg:o,sceneSvg:n,spotSvg:r,set:i,collection:s});const p="tnt/ExternalLink";export{p as default,o as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/ExternalLink-5307b835.js b/nightly/assets/ExternalLink-5307b835.js new file mode 100644 index 000000000000..fca65469cea0 --- /dev/null +++ b/nightly/assets/ExternalLink-5307b835.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ExternalLink-3f3e7d7b.js";import n from"./tnt-Scene-ExternalLink-c617c979.js";import r from"./tnt-Spot-ExternalLink-ba99ee42.js";const e="ExternalLink",i="tnt",s="V5";t(e,{dialogSvg:o,sceneSvg:n,spotSvg:r,set:i,collection:s});const p="tnt/ExternalLink";export{p as default,o as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/ExternalLink-6e714cac.js b/nightly/assets/ExternalLink-6e714cac.js deleted file mode 100644 index c7c2cb43d2f5..000000000000 --- a/nightly/assets/ExternalLink-6e714cac.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ExternalLink-3f3e7d7b.js";import n from"./tnt-Scene-ExternalLink-c617c979.js";import r from"./tnt-Spot-ExternalLink-ba99ee42.js";const e="ExternalLink",i="tnt",s="V5";t(e,{dialogSvg:o,sceneSvg:n,spotSvg:r,set:i,collection:s});const p="tnt/ExternalLink";export{p as default,o as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/ExternalLink-c1c0d3b2.js b/nightly/assets/ExternalLink-c1c0d3b2.js new file mode 100644 index 000000000000..bcb112368dbf --- /dev/null +++ b/nightly/assets/ExternalLink-c1c0d3b2.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-ExternalLink-44d812a9.js";import n from"./tnt-Scene-ExternalLink-c533266f.js";import r from"./tnt-Spot-ExternalLink-38aeae61.js";const e="ExternalLink",i="tnt",s="V4";t(e,{dialogSvg:o,sceneSvg:n,spotSvg:r,set:i,collection:s});const p="tnt/ExternalLink";export{p as default,o as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/ExternalLink-e732485a.js b/nightly/assets/ExternalLink-e732485a.js deleted file mode 100644 index 252bb8eb1b7e..000000000000 --- a/nightly/assets/ExternalLink-e732485a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-ExternalLink-44d812a9.js";import n from"./tnt-Scene-ExternalLink-c533266f.js";import r from"./tnt-Spot-ExternalLink-38aeae61.js";const e="ExternalLink",i="tnt",s="V4";t(e,{dialogSvg:o,sceneSvg:n,spotSvg:r,set:i,collection:s});const p="tnt/ExternalLink";export{p as default,o as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/FaceID-213a2ea3.js b/nightly/assets/FaceID-213a2ea3.js new file mode 100644 index 000000000000..8ade804a2924 --- /dev/null +++ b/nightly/assets/FaceID-213a2ea3.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-FaceID-1c02d930.js";import r from"./tnt-Scene-FaceID-aed6ce4b.js";import e from"./tnt-Spot-FaceID-c9abe0ac.js";const s="FaceID",c="tnt",n="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/FaceID";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/FaceID-24ebb07f.js b/nightly/assets/FaceID-24ebb07f.js new file mode 100644 index 000000000000..b75487604a47 --- /dev/null +++ b/nightly/assets/FaceID-24ebb07f.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-FaceID-52f686ab.js";import r from"./tnt-Scene-FaceID-8c2a256f.js";import e from"./tnt-Spot-FaceID-39fb7d47.js";const s="FaceID",c="tnt",n="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/FaceID";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/FaceID-547c77c2.js b/nightly/assets/FaceID-547c77c2.js deleted file mode 100644 index ef8dfcf86454..000000000000 --- a/nightly/assets/FaceID-547c77c2.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-FaceID-2b692e06.js";import r from"./tnt-Scene-FaceID-398bbe33.js";import e from"./tnt-Spot-FaceID-6118c2d8.js";const s="FaceID",c="tnt",n="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/FaceID";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/FaceID-5b8f8c71.js b/nightly/assets/FaceID-5b8f8c71.js deleted file mode 100644 index d1faf278cae4..000000000000 --- a/nightly/assets/FaceID-5b8f8c71.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-FaceID-1c02d930.js";import r from"./tnt-Scene-FaceID-aed6ce4b.js";import e from"./tnt-Spot-FaceID-c9abe0ac.js";const s="FaceID",c="tnt",n="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/FaceID";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/FaceID-762fc403.js b/nightly/assets/FaceID-762fc403.js new file mode 100644 index 000000000000..f9695b124b80 --- /dev/null +++ b/nightly/assets/FaceID-762fc403.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-FaceID-2b692e06.js";import r from"./tnt-Scene-FaceID-398bbe33.js";import e from"./tnt-Spot-FaceID-6118c2d8.js";const s="FaceID",c="tnt",n="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/FaceID";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/FaceID-7e61f52c.js b/nightly/assets/FaceID-7e61f52c.js deleted file mode 100644 index 0cc36bdc1409..000000000000 --- a/nightly/assets/FaceID-7e61f52c.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-FaceID-52f686ab.js";import r from"./tnt-Scene-FaceID-8c2a256f.js";import e from"./tnt-Spot-FaceID-39fb7d47.js";const s="FaceID",c="tnt",n="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/FaceID";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/FilterTable-46261a85.js b/nightly/assets/FilterTable-46261a85.js deleted file mode 100644 index 5b0cc805412a..000000000000 --- a/nightly/assets/FilterTable-46261a85.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,s as o,t as e}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-FilterTable-304408f9.js";import s from"./sapIllus-Scene-FilterTable-091ea4af.js";import i from"./sapIllus-Spot-FilterTable-ea5ac87a.js";const l="FilterTable",a="fiori",T="V4",n=o,c=e;t(l,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:n,subtitle:c,set:a,collection:T});const E="FilterTable";export{E as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/FilterTable-f2af9b88.js b/nightly/assets/FilterTable-f2af9b88.js new file mode 100644 index 000000000000..3dd8f9e80ba9 --- /dev/null +++ b/nightly/assets/FilterTable-f2af9b88.js @@ -0,0 +1 @@ +import{r as t,s as o,t as e}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-FilterTable-304408f9.js";import s from"./sapIllus-Scene-FilterTable-091ea4af.js";import i from"./sapIllus-Spot-FilterTable-ea5ac87a.js";const l="FilterTable",a="fiori",T="V4",n=o,c=e;t(l,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:n,subtitle:c,set:a,collection:T});const E="FilterTable";export{E as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Fingerprint-51b9b7ac.js b/nightly/assets/Fingerprint-51b9b7ac.js new file mode 100644 index 000000000000..7f651ddb5d84 --- /dev/null +++ b/nightly/assets/Fingerprint-51b9b7ac.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-Fingerprint-f6a2203c.js";import o from"./tnt-Scene-Fingerprint-33e72e7f.js";import n from"./tnt-Spot-Fingerprint-a4ef3911.js";const i="Fingerprint",e="tnt",s="V5";t(i,{dialogSvg:r,sceneSvg:o,spotSvg:n,set:e,collection:s});const a="tnt/Fingerprint";export{a as default,r as dialogSvg,o as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Fingerprint-565f815f.js b/nightly/assets/Fingerprint-565f815f.js deleted file mode 100644 index 67e2f37bf1dc..000000000000 --- a/nightly/assets/Fingerprint-565f815f.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-Fingerprint-1dcbefa9.js";import o from"./tnt-Scene-Fingerprint-a5f4eab3.js";import n from"./tnt-Spot-Fingerprint-10c2af92.js";const i="Fingerprint",e="tnt",s="V5/HC";t(i,{dialogSvg:r,sceneSvg:o,spotSvg:n,set:e,collection:s});const a="tnt/Fingerprint";export{a as default,r as dialogSvg,o as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Fingerprint-5ad44830.js b/nightly/assets/Fingerprint-5ad44830.js deleted file mode 100644 index ce9167a58374..000000000000 --- a/nightly/assets/Fingerprint-5ad44830.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-Fingerprint-1024dd61.js";import o from"./tnt-Scene-Fingerprint-667d2197.js";import n from"./tnt-Spot-Fingerprint-4d5e6d54.js";const i="Fingerprint",e="tnt",s="V4";t(i,{dialogSvg:r,sceneSvg:o,spotSvg:n,set:e,collection:s});const a="tnt/Fingerprint";export{a as default,r as dialogSvg,o as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Fingerprint-9768e4ef.js b/nightly/assets/Fingerprint-9768e4ef.js deleted file mode 100644 index b28d61126426..000000000000 --- a/nightly/assets/Fingerprint-9768e4ef.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import r from"./tnt-Dialog-Fingerprint-f6a2203c.js";import o from"./tnt-Scene-Fingerprint-33e72e7f.js";import n from"./tnt-Spot-Fingerprint-a4ef3911.js";const i="Fingerprint",e="tnt",s="V5";t(i,{dialogSvg:r,sceneSvg:o,spotSvg:n,set:e,collection:s});const a="tnt/Fingerprint";export{a as default,r as dialogSvg,o as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Fingerprint-d154d880.js b/nightly/assets/Fingerprint-d154d880.js new file mode 100644 index 000000000000..b6da534800ba --- /dev/null +++ b/nightly/assets/Fingerprint-d154d880.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-Fingerprint-1024dd61.js";import o from"./tnt-Scene-Fingerprint-667d2197.js";import n from"./tnt-Spot-Fingerprint-4d5e6d54.js";const i="Fingerprint",e="tnt",s="V4";t(i,{dialogSvg:r,sceneSvg:o,spotSvg:n,set:e,collection:s});const a="tnt/Fingerprint";export{a as default,r as dialogSvg,o as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Fingerprint-d343b00b.js b/nightly/assets/Fingerprint-d343b00b.js new file mode 100644 index 000000000000..ef94f024d92d --- /dev/null +++ b/nightly/assets/Fingerprint-d343b00b.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import r from"./tnt-Dialog-Fingerprint-1dcbefa9.js";import o from"./tnt-Scene-Fingerprint-a5f4eab3.js";import n from"./tnt-Spot-Fingerprint-10c2af92.js";const i="Fingerprint",e="tnt",s="V5/HC";t(i,{dialogSvg:r,sceneSvg:o,spotSvg:n,set:e,collection:s});const a="tnt/Fingerprint";export{a as default,r as dialogSvg,o as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/GroupTable-3ee52252.js b/nightly/assets/GroupTable-3ee52252.js new file mode 100644 index 000000000000..ad8a54a48a5a --- /dev/null +++ b/nightly/assets/GroupTable-3ee52252.js @@ -0,0 +1 @@ +import{r as o,u as t,v as r}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-GroupTable-243fa479.js";import e from"./sapIllus-Scene-GroupTable-c6d8df71.js";import i from"./sapIllus-Spot-GroupTable-f50f2e49.js";const a="GroupTable",l="fiori",n="V4",c=t,m=r;o(a,{dialogSvg:s,sceneSvg:e,spotSvg:i,title:c,subtitle:m,set:l,collection:n});const g="GroupTable";export{g as default,s as dialogSvg,e as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/GroupTable-8b1f8e8d.js b/nightly/assets/GroupTable-8b1f8e8d.js deleted file mode 100644 index 09fa188be737..000000000000 --- a/nightly/assets/GroupTable-8b1f8e8d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,u as t,v as r}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-GroupTable-243fa479.js";import e from"./sapIllus-Scene-GroupTable-c6d8df71.js";import i from"./sapIllus-Spot-GroupTable-f50f2e49.js";const a="GroupTable",l="fiori",n="V4",c=t,m=r;o(a,{dialogSvg:s,sceneSvg:e,spotSvg:i,title:c,subtitle:m,set:l,collection:n});const g="GroupTable";export{g as default,s as dialogSvg,e as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Handshake-3db2571e.js b/nightly/assets/Handshake-3db2571e.js deleted file mode 100644 index 17d94049a684..000000000000 --- a/nightly/assets/Handshake-3db2571e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Handshake-cd4516bf.js";import s from"./tnt-Scene-Handshake-45b76aae.js";import n from"./tnt-Spot-Handshake-ea7de10a.js";const r="Handshake",a="tnt",e="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:a,collection:e});const p="tnt/Handshake";export{p as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Handshake-5bcd5889.js b/nightly/assets/Handshake-5bcd5889.js new file mode 100644 index 000000000000..dc1a1611f187 --- /dev/null +++ b/nightly/assets/Handshake-5bcd5889.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Handshake-fbe36328.js";import s from"./tnt-Scene-Handshake-0d622882.js";import n from"./tnt-Spot-Handshake-2b365053.js";const r="Handshake",a="tnt",e="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:a,collection:e});const p="tnt/Handshake";export{p as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Handshake-92a75ff5.js b/nightly/assets/Handshake-92a75ff5.js deleted file mode 100644 index 1953ef328a62..000000000000 --- a/nightly/assets/Handshake-92a75ff5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Handshake-fbe36328.js";import s from"./tnt-Scene-Handshake-0d622882.js";import n from"./tnt-Spot-Handshake-2b365053.js";const r="Handshake",a="tnt",e="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:a,collection:e});const p="tnt/Handshake";export{p as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Handshake-bbb8b155.js b/nightly/assets/Handshake-bbb8b155.js new file mode 100644 index 000000000000..9133ab945d74 --- /dev/null +++ b/nightly/assets/Handshake-bbb8b155.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Handshake-cd4516bf.js";import s from"./tnt-Scene-Handshake-45b76aae.js";import n from"./tnt-Spot-Handshake-ea7de10a.js";const r="Handshake",a="tnt",e="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:a,collection:e});const p="tnt/Handshake";export{p as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Help-03a83f7e.js b/nightly/assets/Help-03a83f7e.js deleted file mode 100644 index ff988675d155..000000000000 --- a/nightly/assets/Help-03a83f7e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Help-2c4a88b5.js";import r from"./tnt-Scene-Help-f03d85bc.js";import e from"./tnt-Spot-Help-c734058e.js";const s="Help",n="tnt",l="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:n,collection:l});const a="tnt/Help";export{a as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Help-6c3b3686.js b/nightly/assets/Help-6c3b3686.js new file mode 100644 index 000000000000..99bacfa89f7c --- /dev/null +++ b/nightly/assets/Help-6c3b3686.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Help-2c4a88b5.js";import r from"./tnt-Scene-Help-f03d85bc.js";import e from"./tnt-Spot-Help-c734058e.js";const s="Help",n="tnt",l="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:n,collection:l});const a="tnt/Help";export{a as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Help-a02857ef.js b/nightly/assets/Help-a02857ef.js new file mode 100644 index 000000000000..ce8cd390b47f --- /dev/null +++ b/nightly/assets/Help-a02857ef.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Help-12214470.js";import r from"./tnt-Scene-Help-df79209d.js";import e from"./tnt-Spot-Help-0ea04248.js";const s="Help",n="tnt",l="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:n,collection:l});const a="tnt/Help";export{a as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Help-afe3c4bf.js b/nightly/assets/Help-afe3c4bf.js deleted file mode 100644 index 665abaf14119..000000000000 --- a/nightly/assets/Help-afe3c4bf.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Help-12214470.js";import r from"./tnt-Scene-Help-df79209d.js";import e from"./tnt-Spot-Help-0ea04248.js";const s="Help",n="tnt",l="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:n,collection:l});const a="tnt/Help";export{a as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Lock-1755a016.js b/nightly/assets/Lock-1755a016.js deleted file mode 100644 index 8a7743e0e0c1..000000000000 --- a/nightly/assets/Lock-1755a016.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Lock-c9762dc6.js";import r from"./tnt-Scene-Lock-19b7124e.js";import s from"./tnt-Spot-Lock-f90b7f0c.js";const c="Lock",n="tnt",e="V5";o(c,{dialogSvg:t,sceneSvg:r,spotSvg:s,set:n,collection:e});const p="tnt/Lock";export{p as default,t as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Lock-2eeb7d40.js b/nightly/assets/Lock-2eeb7d40.js new file mode 100644 index 000000000000..ec9771bf6793 --- /dev/null +++ b/nightly/assets/Lock-2eeb7d40.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Lock-6e2c13cc.js";import r from"./tnt-Scene-Lock-27dac991.js";import s from"./tnt-Spot-Lock-bbaf2976.js";const c="Lock",n="tnt",e="V5/HC";o(c,{dialogSvg:t,sceneSvg:r,spotSvg:s,set:n,collection:e});const p="tnt/Lock";export{p as default,t as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Lock-8961334d.js b/nightly/assets/Lock-8961334d.js new file mode 100644 index 000000000000..80081ab9203d --- /dev/null +++ b/nightly/assets/Lock-8961334d.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Lock-fe2c2d2c.js";import r from"./tnt-Scene-Lock-1cf6c039.js";import s from"./tnt-Spot-Lock-d6ee79de.js";const c="Lock",n="tnt",e="V4";o(c,{dialogSvg:t,sceneSvg:r,spotSvg:s,set:n,collection:e});const p="tnt/Lock";export{p as default,t as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Lock-991a674f.js b/nightly/assets/Lock-991a674f.js new file mode 100644 index 000000000000..177cdfb04b5f --- /dev/null +++ b/nightly/assets/Lock-991a674f.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Lock-c9762dc6.js";import r from"./tnt-Scene-Lock-19b7124e.js";import s from"./tnt-Spot-Lock-f90b7f0c.js";const c="Lock",n="tnt",e="V5";o(c,{dialogSvg:t,sceneSvg:r,spotSvg:s,set:n,collection:e});const p="tnt/Lock";export{p as default,t as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Lock-a7c0cef8.js b/nightly/assets/Lock-a7c0cef8.js deleted file mode 100644 index 5d5ce9ab829f..000000000000 --- a/nightly/assets/Lock-a7c0cef8.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Lock-fe2c2d2c.js";import r from"./tnt-Scene-Lock-1cf6c039.js";import s from"./tnt-Spot-Lock-d6ee79de.js";const c="Lock",n="tnt",e="V4";o(c,{dialogSvg:t,sceneSvg:r,spotSvg:s,set:n,collection:e});const p="tnt/Lock";export{p as default,t as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Lock-fc61468c.js b/nightly/assets/Lock-fc61468c.js deleted file mode 100644 index f6843441c40e..000000000000 --- a/nightly/assets/Lock-fc61468c.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Lock-6e2c13cc.js";import r from"./tnt-Scene-Lock-27dac991.js";import s from"./tnt-Spot-Lock-bbaf2976.js";const c="Lock",n="tnt",e="V5/HC";o(c,{dialogSvg:t,sceneSvg:r,spotSvg:s,set:n,collection:e});const p="tnt/Lock";export{p as default,t as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Mission-24c54d95.js b/nightly/assets/Mission-24c54d95.js new file mode 100644 index 000000000000..fffa07f8da12 --- /dev/null +++ b/nightly/assets/Mission-24c54d95.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Mission-158bbe01.js";import s from"./tnt-Scene-Mission-451a26f0.js";import i from"./tnt-Spot-Mission-637bff6e.js";const n="Mission",r="tnt",e="V5";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:i,set:r,collection:e});const p="tnt/Mission";export{p as default,t as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Mission-9c212a76.js b/nightly/assets/Mission-9c212a76.js deleted file mode 100644 index 22104b4f9158..000000000000 --- a/nightly/assets/Mission-9c212a76.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Mission-9a504ac4.js";import s from"./tnt-Scene-Mission-9739ac20.js";import i from"./tnt-Spot-Mission-7b8981a1.js";const n="Mission",r="tnt",e="V5/HC";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:i,set:r,collection:e});const p="tnt/Mission";export{p as default,t as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Mission-a7aad7a5.js b/nightly/assets/Mission-a7aad7a5.js deleted file mode 100644 index ae51b1777373..000000000000 --- a/nightly/assets/Mission-a7aad7a5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Mission-6108972a.js";import s from"./tnt-Scene-Mission-44c2032e.js";import i from"./tnt-Spot-Mission-81b08995.js";const n="Mission",r="tnt",e="V4";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:i,set:r,collection:e});const p="tnt/Mission";export{p as default,t as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Mission-b28db77e.js b/nightly/assets/Mission-b28db77e.js deleted file mode 100644 index 6ecf55bef0d1..000000000000 --- a/nightly/assets/Mission-b28db77e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Mission-158bbe01.js";import s from"./tnt-Scene-Mission-451a26f0.js";import i from"./tnt-Spot-Mission-637bff6e.js";const n="Mission",r="tnt",e="V5";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:i,set:r,collection:e});const p="tnt/Mission";export{p as default,t as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Mission-dc7f031a.js b/nightly/assets/Mission-dc7f031a.js new file mode 100644 index 000000000000..2498f3d192f7 --- /dev/null +++ b/nightly/assets/Mission-dc7f031a.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Mission-6108972a.js";import s from"./tnt-Scene-Mission-44c2032e.js";import i from"./tnt-Spot-Mission-81b08995.js";const n="Mission",r="tnt",e="V4";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:i,set:r,collection:e});const p="tnt/Mission";export{p as default,t as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Mission-ec10b40c.js b/nightly/assets/Mission-ec10b40c.js new file mode 100644 index 000000000000..d7282ce95aeb --- /dev/null +++ b/nightly/assets/Mission-ec10b40c.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Mission-9a504ac4.js";import s from"./tnt-Scene-Mission-9739ac20.js";import i from"./tnt-Spot-Mission-7b8981a1.js";const n="Mission",r="tnt",e="V5/HC";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:i,set:r,collection:e});const p="tnt/Mission";export{p as default,t as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/MissionFailed-38fefb1a.js b/nightly/assets/MissionFailed-38fefb1a.js new file mode 100644 index 000000000000..06b27ec053a3 --- /dev/null +++ b/nightly/assets/MissionFailed-38fefb1a.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-MissionFailed-b69aa5f2.js";import i from"./tnt-Scene-MissionFailed-80ff7cb4.js";import s from"./tnt-Spot-MissionFailed-7d3f5021.js";const n="MissionFailed",r="tnt",e="V4";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const p="tnt/MissionFailed";export{p as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/MissionFailed-56f4cc1e.js b/nightly/assets/MissionFailed-56f4cc1e.js deleted file mode 100644 index 684037203e10..000000000000 --- a/nightly/assets/MissionFailed-56f4cc1e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-MissionFailed-b69aa5f2.js";import i from"./tnt-Scene-MissionFailed-80ff7cb4.js";import s from"./tnt-Spot-MissionFailed-7d3f5021.js";const n="MissionFailed",r="tnt",e="V4";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const p="tnt/MissionFailed";export{p as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/MissionFailed-65cb9aa1.js b/nightly/assets/MissionFailed-65cb9aa1.js deleted file mode 100644 index 99b971e58543..000000000000 --- a/nightly/assets/MissionFailed-65cb9aa1.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-MissionFailed-d7e9b083.js";import i from"./tnt-Scene-MissionFailed-fcbcf928.js";import s from"./tnt-Spot-MissionFailed-0846552d.js";const n="MissionFailed",r="tnt",e="V5/HC";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const p="tnt/MissionFailed";export{p as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/MissionFailed-b79ae829.js b/nightly/assets/MissionFailed-b79ae829.js new file mode 100644 index 000000000000..a9610e83add4 --- /dev/null +++ b/nightly/assets/MissionFailed-b79ae829.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-MissionFailed-d7e9b083.js";import i from"./tnt-Scene-MissionFailed-fcbcf928.js";import s from"./tnt-Spot-MissionFailed-0846552d.js";const n="MissionFailed",r="tnt",e="V5/HC";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const p="tnt/MissionFailed";export{p as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/NewMail-1305b822.js b/nightly/assets/NewMail-1305b822.js deleted file mode 100644 index f26b3ee89c89..000000000000 --- a/nightly/assets/NewMail-1305b822.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,w as o,x as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-NewMail-93479f7b.js";import e from"./sapIllus-Scene-NewMail-6fffe5c0.js";import r from"./sapIllus-Spot-NewMail-e4b62479.js";const a="NewMail",l="fiori",n="V4",c=o,m=s;t(a,{dialogSvg:i,sceneSvg:e,spotSvg:r,title:c,subtitle:m,set:l,collection:n});const g="NewMail";export{g as default,i as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NewMail-91d93734.js b/nightly/assets/NewMail-91d93734.js new file mode 100644 index 000000000000..2850ff466cc1 --- /dev/null +++ b/nightly/assets/NewMail-91d93734.js @@ -0,0 +1 @@ +import{r as t,w as o,x as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-NewMail-93479f7b.js";import e from"./sapIllus-Scene-NewMail-6fffe5c0.js";import r from"./sapIllus-Spot-NewMail-e4b62479.js";const a="NewMail",l="fiori",n="V4",c=o,m=s;t(a,{dialogSvg:i,sceneSvg:e,spotSvg:r,title:c,subtitle:m,set:l,collection:n});const g="NewMail";export{g as default,i as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoActivities-136fab71.js b/nightly/assets/NoActivities-136fab71.js new file mode 100644 index 000000000000..80929c1fb783 --- /dev/null +++ b/nightly/assets/NoActivities-136fab71.js @@ -0,0 +1 @@ +import{r as t,j as o,k as i}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-NoActivities-ed8de541.js";import e from"./sapIllus-Scene-NoActivities-2848381e.js";import r from"./sapIllus-Spot-NoActivities-add72578.js";const c="NoActivities",I="fiori",n="V4",m=o,a=i;t(c,{dialogSvg:s,sceneSvg:e,spotSvg:r,title:m,subtitle:a,set:I,collection:n});const v="NoActivities";export{v as default,s as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoActivities-5abd6c3d.js b/nightly/assets/NoActivities-5abd6c3d.js deleted file mode 100644 index d0fab4b44e9c..000000000000 --- a/nightly/assets/NoActivities-5abd6c3d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,j as o,k as i}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-NoActivities-ed8de541.js";import e from"./sapIllus-Scene-NoActivities-2848381e.js";import r from"./sapIllus-Spot-NoActivities-add72578.js";const c="NoActivities",I="fiori",n="V4",m=o,a=i;t(c,{dialogSvg:s,sceneSvg:e,spotSvg:r,title:m,subtitle:a,set:I,collection:n});const v="NoActivities";export{v as default,s as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoApplications-1f702230.js b/nightly/assets/NoApplications-1f702230.js deleted file mode 100644 index 05c0d92d4470..000000000000 --- a/nightly/assets/NoApplications-1f702230.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoApplications-26f55f9c.js";import i from"./tnt-Scene-NoApplications-2000432e.js";import s from"./tnt-Spot-NoApplications-e61fb75d.js";const n="NoApplications",r="tnt",p="V5";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:p});const m="tnt/NoApplications";export{m as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/NoApplications-8d80a444.js b/nightly/assets/NoApplications-8d80a444.js deleted file mode 100644 index c674f1dec6a3..000000000000 --- a/nightly/assets/NoApplications-8d80a444.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoApplications-f6df0188.js";import i from"./tnt-Scene-NoApplications-9abbabd7.js";import s from"./tnt-Spot-NoApplications-cc836c53.js";const n="NoApplications",r="tnt",p="V5/HC";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:p});const m="tnt/NoApplications";export{m as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/NoApplications-b255b1a0.js b/nightly/assets/NoApplications-b255b1a0.js new file mode 100644 index 000000000000..36f79644408b --- /dev/null +++ b/nightly/assets/NoApplications-b255b1a0.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoApplications-f6df0188.js";import i from"./tnt-Scene-NoApplications-9abbabd7.js";import s from"./tnt-Spot-NoApplications-cc836c53.js";const n="NoApplications",r="tnt",p="V5/HC";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:p});const m="tnt/NoApplications";export{m as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/NoApplications-b73e7f25.js b/nightly/assets/NoApplications-b73e7f25.js deleted file mode 100644 index 4d5ae92e628a..000000000000 --- a/nightly/assets/NoApplications-b73e7f25.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoApplications-f1e0bb85.js";import i from"./tnt-Scene-NoApplications-a369b496.js";import s from"./tnt-Spot-NoApplications-501f5802.js";const n="NoApplications",r="tnt",p="V4";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:p});const m="tnt/NoApplications";export{m as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/NoApplications-c5d80ee6.js b/nightly/assets/NoApplications-c5d80ee6.js new file mode 100644 index 000000000000..efcb8f67bb8a --- /dev/null +++ b/nightly/assets/NoApplications-c5d80ee6.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoApplications-26f55f9c.js";import i from"./tnt-Scene-NoApplications-2000432e.js";import s from"./tnt-Spot-NoApplications-e61fb75d.js";const n="NoApplications",r="tnt",p="V5";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:p});const m="tnt/NoApplications";export{m as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/NoApplications-dbd94fd7.js b/nightly/assets/NoApplications-dbd94fd7.js new file mode 100644 index 000000000000..d450988d146e --- /dev/null +++ b/nightly/assets/NoApplications-dbd94fd7.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoApplications-f1e0bb85.js";import i from"./tnt-Scene-NoApplications-a369b496.js";import s from"./tnt-Spot-NoApplications-501f5802.js";const n="NoApplications",r="tnt",p="V4";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:p});const m="tnt/NoApplications";export{m as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/NoColumnsSet-504bc64a.js b/nightly/assets/NoColumnsSet-504bc64a.js new file mode 100644 index 000000000000..4ae7df403cf4 --- /dev/null +++ b/nightly/assets/NoColumnsSet-504bc64a.js @@ -0,0 +1 @@ +import{r as o,y as t,z as s}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-NoColumnsSet-94f81a9c.js";import r from"./sapIllus-Scene-NoColumnsSet-e4e6f7d5.js";import n from"./sapIllus-Spot-NoColumnsSet-b08abadd.js";const i="NoColumnsSet",m="fiori",l="V4",S=t,c=s;o(i,{dialogSvg:e,sceneSvg:r,spotSvg:n,title:S,subtitle:c,set:m,collection:l});const u="NoColumnsSet";export{u as default,e as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/NoColumnsSet-55aff499.js b/nightly/assets/NoColumnsSet-55aff499.js deleted file mode 100644 index d3d870c35d90..000000000000 --- a/nightly/assets/NoColumnsSet-55aff499.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,y as t,z as s}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-NoColumnsSet-94f81a9c.js";import r from"./sapIllus-Scene-NoColumnsSet-e4e6f7d5.js";import n from"./sapIllus-Spot-NoColumnsSet-b08abadd.js";const i="NoColumnsSet",m="fiori",l="V4",S=t,c=s;o(i,{dialogSvg:e,sceneSvg:r,spotSvg:n,title:S,subtitle:c,set:m,collection:l});const u="NoColumnsSet";export{u as default,e as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/NoData-545f58dd.js b/nightly/assets/NoData-545f58dd.js deleted file mode 100644 index 2e5af4faae85..000000000000 --- a/nightly/assets/NoData-545f58dd.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,A as o,B as s}from"./bundle.esm-fe82a1f4.js";import a from"./sapIllus-Dialog-NoData-5be15b86.js";import r from"./sapIllus-Scene-NoData-d9f58cd0.js";import i from"./sapIllus-Spot-NoData-d48bf7be.js";const e="NoData",n="fiori",c="V4",m=o,l=s;t(e,{dialogSvg:a,sceneSvg:r,spotSvg:i,title:m,subtitle:l,set:n,collection:c});const A="NoData";export{A as default,a as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoData-6c95268b.js b/nightly/assets/NoData-6c95268b.js new file mode 100644 index 000000000000..8a6253142b6e --- /dev/null +++ b/nightly/assets/NoData-6c95268b.js @@ -0,0 +1 @@ +import{r as t,A as o,B as s}from"./bundle.esm-3abc4abd.js";import a from"./sapIllus-Dialog-NoData-5be15b86.js";import r from"./sapIllus-Scene-NoData-d9f58cd0.js";import i from"./sapIllus-Spot-NoData-d48bf7be.js";const e="NoData",n="fiori",c="V4",m=o,l=s;t(e,{dialogSvg:a,sceneSvg:r,spotSvg:i,title:m,subtitle:l,set:n,collection:c});const A="NoData";export{A as default,a as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoDimensionsSet-aca6b772.js b/nightly/assets/NoDimensionsSet-aca6b772.js deleted file mode 100644 index e4bca371a487..000000000000 --- a/nightly/assets/NoDimensionsSet-aca6b772.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,C as t,D as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-NoDimensionsSet-36ee5382.js";import e from"./sapIllus-Scene-NoDimensionsSet-7fcebb8f.js";import n from"./sapIllus-Spot-NoDimensionsSet-1cb47d51.js";const r="NoDimensionsSet",S="fiori",m="V4",c=t,I=s;o(r,{dialogSvg:i,sceneSvg:e,spotSvg:n,title:c,subtitle:I,set:S,collection:m});const p="NoDimensionsSet";export{p as default,i as dialogSvg,e as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/NoDimensionsSet-b9b38fcb.js b/nightly/assets/NoDimensionsSet-b9b38fcb.js new file mode 100644 index 000000000000..752d446de3aa --- /dev/null +++ b/nightly/assets/NoDimensionsSet-b9b38fcb.js @@ -0,0 +1 @@ +import{r as o,C as t,D as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-NoDimensionsSet-36ee5382.js";import e from"./sapIllus-Scene-NoDimensionsSet-7fcebb8f.js";import n from"./sapIllus-Spot-NoDimensionsSet-1cb47d51.js";const r="NoDimensionsSet",S="fiori",m="V4",c=t,I=s;o(r,{dialogSvg:i,sceneSvg:e,spotSvg:n,title:c,subtitle:I,set:S,collection:m});const p="NoDimensionsSet";export{p as default,i as dialogSvg,e as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/NoEntries-05bfeaf8.js b/nightly/assets/NoEntries-05bfeaf8.js new file mode 100644 index 000000000000..520aa518ae3b --- /dev/null +++ b/nightly/assets/NoEntries-05bfeaf8.js @@ -0,0 +1 @@ +import{r as t,l as o,m as s}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-NoEntries-b054d92f.js";import i from"./sapIllus-Scene-NoEntries-3f9614e6.js";import e from"./sapIllus-Spot-NoEntries-656238d4.js";const n="NoEntries",m="fiori",c="V4",l=o,E=s;t(n,{dialogSvg:r,sceneSvg:i,spotSvg:e,title:l,subtitle:E,set:m,collection:c});const p="NoEntries";export{p as default,r as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/NoEntries-360fbada.js b/nightly/assets/NoEntries-360fbada.js deleted file mode 100644 index b80befdea256..000000000000 --- a/nightly/assets/NoEntries-360fbada.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,l as o,m as s}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-NoEntries-b054d92f.js";import i from"./sapIllus-Scene-NoEntries-3f9614e6.js";import e from"./sapIllus-Spot-NoEntries-656238d4.js";const n="NoEntries",m="fiori",c="V4",l=o,E=s;t(n,{dialogSvg:r,sceneSvg:i,spotSvg:e,title:l,subtitle:E,set:m,collection:c});const p="NoEntries";export{p as default,r as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/NoFilterResults-9b803268.js b/nightly/assets/NoFilterResults-9b803268.js deleted file mode 100644 index 0dc21dc5b8df..000000000000 --- a/nightly/assets/NoFilterResults-9b803268.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,E as o,F as s}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-NoFilterResults-8eed0d0c.js";import r from"./sapIllus-Scene-NoFilterResults-a7c1fc84.js";import i from"./sapIllus-Spot-NoFilterResults-202ff742.js";const l="NoFilterResults",n="fiori",c="V4",m=o,a=s;t(l,{dialogSvg:e,sceneSvg:r,spotSvg:i,title:m,subtitle:a,set:n,collection:c});const R="NoFilterResults";export{R as default,e as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoFilterResults-fb0eac72.js b/nightly/assets/NoFilterResults-fb0eac72.js new file mode 100644 index 000000000000..b3fb2a9191b0 --- /dev/null +++ b/nightly/assets/NoFilterResults-fb0eac72.js @@ -0,0 +1 @@ +import{r as t,E as o,F as s}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-NoFilterResults-8eed0d0c.js";import r from"./sapIllus-Scene-NoFilterResults-a7c1fc84.js";import i from"./sapIllus-Spot-NoFilterResults-202ff742.js";const l="NoFilterResults",n="fiori",c="V4",m=o,a=s;t(l,{dialogSvg:e,sceneSvg:r,spotSvg:i,title:m,subtitle:a,set:n,collection:c});const R="NoFilterResults";export{R as default,e as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoFlows-028c35bc.js b/nightly/assets/NoFlows-028c35bc.js deleted file mode 100644 index 02bc190413ba..000000000000 --- a/nightly/assets/NoFlows-028c35bc.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoFlows-fe8959fc.js";import s from"./tnt-Scene-NoFlows-04151e2b.js";import r from"./tnt-Spot-NoFlows-8fd634df.js";const n="NoFlows",e="tnt",l="V5/HC";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/NoFlows";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoFlows-46bcaf06.js b/nightly/assets/NoFlows-46bcaf06.js deleted file mode 100644 index 4dea5b3528cb..000000000000 --- a/nightly/assets/NoFlows-46bcaf06.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoFlows-33f4672b.js";import s from"./tnt-Scene-NoFlows-b6a065a3.js";import r from"./tnt-Spot-NoFlows-736ecbef.js";const n="NoFlows",e="tnt",l="V5";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/NoFlows";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoFlows-675fcd42.js b/nightly/assets/NoFlows-675fcd42.js new file mode 100644 index 000000000000..69f8e717b467 --- /dev/null +++ b/nightly/assets/NoFlows-675fcd42.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoFlows-fe8959fc.js";import s from"./tnt-Scene-NoFlows-04151e2b.js";import r from"./tnt-Spot-NoFlows-8fd634df.js";const n="NoFlows",e="tnt",l="V5/HC";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/NoFlows";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoFlows-8c916d5c.js b/nightly/assets/NoFlows-8c916d5c.js deleted file mode 100644 index 44141f33d1fb..000000000000 --- a/nightly/assets/NoFlows-8c916d5c.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoFlows-4e0a1aff.js";import s from"./tnt-Scene-NoFlows-a2831f87.js";import r from"./tnt-Spot-NoFlows-07910f32.js";const n="NoFlows",e="tnt",l="V4";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/NoFlows";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoFlows-8d91d035.js b/nightly/assets/NoFlows-8d91d035.js new file mode 100644 index 000000000000..f7947d650582 --- /dev/null +++ b/nightly/assets/NoFlows-8d91d035.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoFlows-4e0a1aff.js";import s from"./tnt-Scene-NoFlows-a2831f87.js";import r from"./tnt-Spot-NoFlows-07910f32.js";const n="NoFlows",e="tnt",l="V4";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/NoFlows";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoFlows-e9dd7316.js b/nightly/assets/NoFlows-e9dd7316.js new file mode 100644 index 000000000000..2360835e4e8a --- /dev/null +++ b/nightly/assets/NoFlows-e9dd7316.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoFlows-33f4672b.js";import s from"./tnt-Scene-NoFlows-b6a065a3.js";import r from"./tnt-Spot-NoFlows-736ecbef.js";const n="NoFlows",e="tnt",l="V5";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/NoFlows";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoMail-7f6177c4.js b/nightly/assets/NoMail-7f6177c4.js new file mode 100644 index 000000000000..10dfcccb1524 --- /dev/null +++ b/nightly/assets/NoMail-7f6177c4.js @@ -0,0 +1 @@ +import{r as o,G as t,H as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-NoMail-29f87728.js";import r from"./sapIllus-Scene-NoMail-29f219ad.js";import a from"./sapIllus-Spot-NoMail-f385ee1c.js";const e="NoMail",l="fiori",n="V4",c=t,m=s;o(e,{dialogSvg:i,sceneSvg:r,spotSvg:a,title:c,subtitle:m,set:l,collection:n});const g="NoMail";export{g as default,i as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoMail-b4daaa70.js b/nightly/assets/NoMail-b4daaa70.js deleted file mode 100644 index a6ef94294732..000000000000 --- a/nightly/assets/NoMail-b4daaa70.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,G as t,H as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-NoMail-29f87728.js";import r from"./sapIllus-Scene-NoMail-29f219ad.js";import a from"./sapIllus-Spot-NoMail-f385ee1c.js";const e="NoMail",l="fiori",n="V4",c=t,m=s;o(e,{dialogSvg:i,sceneSvg:r,spotSvg:a,title:c,subtitle:m,set:l,collection:n});const g="NoMail";export{g as default,i as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoMail_v1-8717a210.js b/nightly/assets/NoMail_v1-8717a210.js deleted file mode 100644 index 80afa121c2b3..000000000000 --- a/nightly/assets/NoMail_v1-8717a210.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,G as t,H as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-NoMail_v1-d580d2f1.js";import r from"./sapIllus-Scene-NoMail_v1-e6472fe0.js";import a from"./sapIllus-Spot-NoMail_v1-bee7f6af.js";const e="NoMail_v1",l="fiori",n="V4",c=t,m=s;o(e,{dialogSvg:i,sceneSvg:r,spotSvg:a,title:c,subtitle:m,set:l,collection:n});const p="NoMail_v1";export{p as default,i as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoMail_v1-b1d04539.js b/nightly/assets/NoMail_v1-b1d04539.js new file mode 100644 index 000000000000..69dfe5337ceb --- /dev/null +++ b/nightly/assets/NoMail_v1-b1d04539.js @@ -0,0 +1 @@ +import{r as o,G as t,H as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-NoMail_v1-d580d2f1.js";import r from"./sapIllus-Scene-NoMail_v1-e6472fe0.js";import a from"./sapIllus-Spot-NoMail_v1-bee7f6af.js";const e="NoMail_v1",l="fiori",n="V4",c=t,m=s;o(e,{dialogSvg:i,sceneSvg:r,spotSvg:a,title:c,subtitle:m,set:l,collection:n});const p="NoMail_v1";export{p as default,i as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoNotifications-39527c8b.js b/nightly/assets/NoNotifications-39527c8b.js deleted file mode 100644 index f738e645f062..000000000000 --- a/nightly/assets/NoNotifications-39527c8b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,J as t,K as i}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-NoNotifications-7266bece.js";import r from"./sapIllus-Scene-NoNotifications-ee1d26da.js";import n from"./sapIllus-Spot-NoNotifications-d9734d5d.js";const c="NoNotifications",N="fiori",a="V4",e=t,I=i;o(c,{dialogSvg:s,sceneSvg:r,spotSvg:n,title:e,subtitle:I,set:N,collection:a});const p="NoNotifications";export{p as default,s as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/NoNotifications-b90566bf.js b/nightly/assets/NoNotifications-b90566bf.js new file mode 100644 index 000000000000..5e8ec811fba1 --- /dev/null +++ b/nightly/assets/NoNotifications-b90566bf.js @@ -0,0 +1 @@ +import{r as o,J as t,K as i}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-NoNotifications-7266bece.js";import r from"./sapIllus-Scene-NoNotifications-ee1d26da.js";import n from"./sapIllus-Spot-NoNotifications-d9734d5d.js";const c="NoNotifications",N="fiori",a="V4",e=t,I=i;o(c,{dialogSvg:s,sceneSvg:r,spotSvg:n,title:e,subtitle:I,set:N,collection:a});const p="NoNotifications";export{p as default,s as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/NoSavedItems-616dbd4e.js b/nightly/assets/NoSavedItems-616dbd4e.js deleted file mode 100644 index 28b826e9613c..000000000000 --- a/nightly/assets/NoSavedItems-616dbd4e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,L as o,M as s}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-NoSavedItems-562324e8.js";import r from"./sapIllus-Scene-NoSavedItems-238b04f0.js";import i from"./sapIllus-Spot-NoSavedItems-b67d7a3c.js";const m="NoSavedItems",a="fiori",S="V4",n=o,I=s;t(m,{dialogSvg:e,sceneSvg:r,spotSvg:i,title:n,subtitle:I,set:a,collection:S});const v="NoSavedItems";export{v as default,e as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoSavedItems-844ee8f7.js b/nightly/assets/NoSavedItems-844ee8f7.js new file mode 100644 index 000000000000..efa52848fae1 --- /dev/null +++ b/nightly/assets/NoSavedItems-844ee8f7.js @@ -0,0 +1 @@ +import{r as t,L as o,M as s}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-NoSavedItems-562324e8.js";import r from"./sapIllus-Scene-NoSavedItems-238b04f0.js";import i from"./sapIllus-Spot-NoSavedItems-b67d7a3c.js";const m="NoSavedItems",a="fiori",S="V4",n=o,I=s;t(m,{dialogSvg:e,sceneSvg:r,spotSvg:i,title:n,subtitle:I,set:a,collection:S});const v="NoSavedItems";export{v as default,e as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoSavedItems_v1-15d08e7d.js b/nightly/assets/NoSavedItems_v1-15d08e7d.js new file mode 100644 index 000000000000..cfcc2d9a305e --- /dev/null +++ b/nightly/assets/NoSavedItems_v1-15d08e7d.js @@ -0,0 +1 @@ +import{r as t,L as o,M as s}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-NoSavedItems_v1-bdcf1c19.js";import r from"./sapIllus-Scene-NoSavedItems_v1-18f3b6c9.js";import i from"./sapIllus-Spot-NoSavedItems_v1-c994c1d2.js";const m="NoSavedItems_v1",a="fiori",S="V4",n=o,I=s;t(m,{dialogSvg:e,sceneSvg:r,spotSvg:i,title:n,subtitle:I,set:a,collection:S});const f="NoSavedItems_v1";export{f as default,e as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoSavedItems_v1-1c2e5a62.js b/nightly/assets/NoSavedItems_v1-1c2e5a62.js deleted file mode 100644 index 687c7a33565d..000000000000 --- a/nightly/assets/NoSavedItems_v1-1c2e5a62.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,L as o,M as s}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-NoSavedItems_v1-bdcf1c19.js";import r from"./sapIllus-Scene-NoSavedItems_v1-18f3b6c9.js";import i from"./sapIllus-Spot-NoSavedItems_v1-c994c1d2.js";const m="NoSavedItems_v1",a="fiori",S="V4",n=o,I=s;t(m,{dialogSvg:e,sceneSvg:r,spotSvg:i,title:n,subtitle:I,set:a,collection:S});const f="NoSavedItems_v1";export{f as default,e as dialogSvg,r as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/NoSearchResults-6900ea3d.js b/nightly/assets/NoSearchResults-6900ea3d.js new file mode 100644 index 000000000000..a5f52d992ba3 --- /dev/null +++ b/nightly/assets/NoSearchResults-6900ea3d.js @@ -0,0 +1 @@ +import{r as t,N as o,O as s}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-NoSearchResults-187ecd93.js";import r from"./sapIllus-Scene-NoSearchResults-6cacb62f.js";import S from"./sapIllus-Spot-NoSearchResults-6c1cdd3a.js";const c="NoSearchResults",i="fiori",a="V4",l=o,n=s;t(c,{dialogSvg:e,sceneSvg:r,spotSvg:S,title:l,subtitle:n,set:i,collection:a});const u="NoSearchResults";export{u as default,e as dialogSvg,r as sceneSvg,S as spotSvg}; diff --git a/nightly/assets/NoSearchResults-7648db43.js b/nightly/assets/NoSearchResults-7648db43.js deleted file mode 100644 index 82ae41495157..000000000000 --- a/nightly/assets/NoSearchResults-7648db43.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,N as o,O as s}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-NoSearchResults-187ecd93.js";import r from"./sapIllus-Scene-NoSearchResults-6cacb62f.js";import S from"./sapIllus-Spot-NoSearchResults-6c1cdd3a.js";const c="NoSearchResults",i="fiori",a="V4",l=o,n=s;t(c,{dialogSvg:e,sceneSvg:r,spotSvg:S,title:l,subtitle:n,set:i,collection:a});const u="NoSearchResults";export{u as default,e as dialogSvg,r as sceneSvg,S as spotSvg}; diff --git a/nightly/assets/NoTasks-d6028b23.js b/nightly/assets/NoTasks-d6028b23.js deleted file mode 100644 index d3ebb38b6270..000000000000 --- a/nightly/assets/NoTasks-d6028b23.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,P as s,Q as t}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-NoTasks-bca11315.js";import i from"./sapIllus-Scene-NoTasks-c9f350ce.js";import a from"./sapIllus-Spot-NoTasks-4458bf9b.js";const e="NoTasks",n="fiori",c="V4",m=s,T=t;o(e,{dialogSvg:r,sceneSvg:i,spotSvg:a,title:m,subtitle:T,set:n,collection:c});const g="NoTasks";export{g as default,r as dialogSvg,i as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoTasks-fc711971.js b/nightly/assets/NoTasks-fc711971.js new file mode 100644 index 000000000000..3f8612bd135a --- /dev/null +++ b/nightly/assets/NoTasks-fc711971.js @@ -0,0 +1 @@ +import{r as o,P as s,Q as t}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-NoTasks-bca11315.js";import i from"./sapIllus-Scene-NoTasks-c9f350ce.js";import a from"./sapIllus-Spot-NoTasks-4458bf9b.js";const e="NoTasks",n="fiori",c="V4",m=s,T=t;o(e,{dialogSvg:r,sceneSvg:i,spotSvg:a,title:m,subtitle:T,set:n,collection:c});const g="NoTasks";export{g as default,r as dialogSvg,i as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoTasks_v1-0e8bc63b.js b/nightly/assets/NoTasks_v1-0e8bc63b.js new file mode 100644 index 000000000000..a6cf60c228c8 --- /dev/null +++ b/nightly/assets/NoTasks_v1-0e8bc63b.js @@ -0,0 +1 @@ +import{r as o,P as s,Q as t}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-NoTasks_v1-273b0289.js";import i from"./sapIllus-Scene-NoTasks_v1-58a4e87e.js";import a from"./sapIllus-Spot-NoTasks_v1-999e0c9f.js";const e="NoTasks_v1",n="fiori",c="V4",m=s,T=t;o(e,{dialogSvg:r,sceneSvg:i,spotSvg:a,title:m,subtitle:T,set:n,collection:c});const p="NoTasks_v1";export{p as default,r as dialogSvg,i as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoTasks_v1-9f0614e4.js b/nightly/assets/NoTasks_v1-9f0614e4.js deleted file mode 100644 index f22d0558c7ec..000000000000 --- a/nightly/assets/NoTasks_v1-9f0614e4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,P as s,Q as t}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-NoTasks_v1-273b0289.js";import i from"./sapIllus-Scene-NoTasks_v1-58a4e87e.js";import a from"./sapIllus-Spot-NoTasks_v1-999e0c9f.js";const e="NoTasks_v1",n="fiori",c="V4",m=s,T=t;o(e,{dialogSvg:r,sceneSvg:i,spotSvg:a,title:m,subtitle:T,set:n,collection:c});const p="NoTasks_v1";export{p as default,r as dialogSvg,i as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/NoUsers-25f8d298.js b/nightly/assets/NoUsers-25f8d298.js deleted file mode 100644 index f25719535d15..000000000000 --- a/nightly/assets/NoUsers-25f8d298.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoUsers-4e674f52.js";import s from"./tnt-Scene-NoUsers-ae338655.js";import r from"./tnt-Spot-NoUsers-8f1068db.js";const e="NoUsers",n="tnt",m="V5/HC";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:m});const p="tnt/NoUsers";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoUsers-51a950e7.js b/nightly/assets/NoUsers-51a950e7.js new file mode 100644 index 000000000000..1c9688a2cdac --- /dev/null +++ b/nightly/assets/NoUsers-51a950e7.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoUsers-4e674f52.js";import s from"./tnt-Scene-NoUsers-ae338655.js";import r from"./tnt-Spot-NoUsers-8f1068db.js";const e="NoUsers",n="tnt",m="V5/HC";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:m});const p="tnt/NoUsers";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoUsers-6189ccea.js b/nightly/assets/NoUsers-6189ccea.js deleted file mode 100644 index 226904f2aa44..000000000000 --- a/nightly/assets/NoUsers-6189ccea.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoUsers-f48c8f7b.js";import s from"./tnt-Scene-NoUsers-9fb94e82.js";import r from"./tnt-Spot-NoUsers-ee027f3e.js";const e="NoUsers",n="tnt",m="V4";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:m});const p="tnt/NoUsers";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoUsers-7a7da459.js b/nightly/assets/NoUsers-7a7da459.js deleted file mode 100644 index 5d7f97fda179..000000000000 --- a/nightly/assets/NoUsers-7a7da459.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-NoUsers-a32aed64.js";import s from"./tnt-Scene-NoUsers-b5fcd075.js";import r from"./tnt-Spot-NoUsers-c65a9868.js";const e="NoUsers",n="tnt",m="V5";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:m});const p="tnt/NoUsers";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoUsers-ef5db188.js b/nightly/assets/NoUsers-ef5db188.js new file mode 100644 index 000000000000..8706d44c1e0d --- /dev/null +++ b/nightly/assets/NoUsers-ef5db188.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoUsers-f48c8f7b.js";import s from"./tnt-Scene-NoUsers-9fb94e82.js";import r from"./tnt-Spot-NoUsers-ee027f3e.js";const e="NoUsers",n="tnt",m="V4";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:m});const p="tnt/NoUsers";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/NoUsers-fa560dc7.js b/nightly/assets/NoUsers-fa560dc7.js new file mode 100644 index 000000000000..20d2d504bcb3 --- /dev/null +++ b/nightly/assets/NoUsers-fa560dc7.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-NoUsers-a32aed64.js";import s from"./tnt-Scene-NoUsers-b5fcd075.js";import r from"./tnt-Spot-NoUsers-c65a9868.js";const e="NoUsers",n="tnt",m="V5";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:n,collection:m});const p="tnt/NoUsers";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/PageNotFound-4cb8cb99.js b/nightly/assets/PageNotFound-4cb8cb99.js new file mode 100644 index 000000000000..e0f84ddb875f --- /dev/null +++ b/nightly/assets/PageNotFound-4cb8cb99.js @@ -0,0 +1 @@ +import{r as o,R as t,S as s}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-PageNotFound-d0332395.js";import r from"./sapIllus-Scene-PageNotFound-93852c0b.js";import n from"./sapIllus-Spot-PageNotFound-a2e26788.js";const i="PageNotFound",a="fiori",c="V4",m=t,g=s;o(i,{dialogSvg:e,sceneSvg:r,spotSvg:n,title:m,subtitle:g,set:a,collection:c});const u="PageNotFound";export{u as default,e as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/PageNotFound-dcd4b89e.js b/nightly/assets/PageNotFound-dcd4b89e.js deleted file mode 100644 index 9a76d09ed37d..000000000000 --- a/nightly/assets/PageNotFound-dcd4b89e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,R as t,S as s}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-PageNotFound-d0332395.js";import r from"./sapIllus-Scene-PageNotFound-93852c0b.js";import n from"./sapIllus-Spot-PageNotFound-a2e26788.js";const i="PageNotFound",a="fiori",c="V4",m=t,g=s;o(i,{dialogSvg:e,sceneSvg:r,spotSvg:n,title:m,subtitle:g,set:a,collection:c});const u="PageNotFound";export{u as default,e as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Radar-00f604aa.js b/nightly/assets/Radar-00f604aa.js deleted file mode 100644 index f48e37faeb39..000000000000 --- a/nightly/assets/Radar-00f604aa.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Radar-f0c068cd.js";import r from"./tnt-Scene-Radar-c5cb2c1e.js";import a from"./tnt-Spot-Radar-68c235da.js";const s="Radar",n="tnt",e="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Radar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Radar-0e58d759.js b/nightly/assets/Radar-0e58d759.js new file mode 100644 index 000000000000..fd60ee81a7d7 --- /dev/null +++ b/nightly/assets/Radar-0e58d759.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Radar-720709f7.js";import r from"./tnt-Scene-Radar-f88066dd.js";import a from"./tnt-Spot-Radar-8d7f0240.js";const s="Radar",n="tnt",e="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Radar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Radar-21927f57.js b/nightly/assets/Radar-21927f57.js new file mode 100644 index 000000000000..dd931fe11415 --- /dev/null +++ b/nightly/assets/Radar-21927f57.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Radar-1e667f26.js";import r from"./tnt-Scene-Radar-f3a219af.js";import a from"./tnt-Spot-Radar-42b4ccf7.js";const s="Radar",n="tnt",e="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Radar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Radar-2e07768c.js b/nightly/assets/Radar-2e07768c.js new file mode 100644 index 000000000000..e51dd4f4b680 --- /dev/null +++ b/nightly/assets/Radar-2e07768c.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Radar-f0c068cd.js";import r from"./tnt-Scene-Radar-c5cb2c1e.js";import a from"./tnt-Spot-Radar-68c235da.js";const s="Radar",n="tnt",e="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Radar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Radar-5c08db85.js b/nightly/assets/Radar-5c08db85.js deleted file mode 100644 index deeb16059675..000000000000 --- a/nightly/assets/Radar-5c08db85.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Radar-1e667f26.js";import r from"./tnt-Scene-Radar-f3a219af.js";import a from"./tnt-Spot-Radar-42b4ccf7.js";const s="Radar",n="tnt",e="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Radar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/Radar-f8714a94.js b/nightly/assets/Radar-f8714a94.js deleted file mode 100644 index 9ba557ef5c8a..000000000000 --- a/nightly/assets/Radar-f8714a94.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Radar-720709f7.js";import r from"./tnt-Scene-Radar-f88066dd.js";import a from"./tnt-Spot-Radar-8d7f0240.js";const s="Radar",n="tnt",e="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:a,set:n,collection:e});const p="tnt/Radar";export{p as default,o as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/ReloadScreen-4cf565d7.js b/nightly/assets/ReloadScreen-4cf565d7.js deleted file mode 100644 index 0e497333c650..000000000000 --- a/nightly/assets/ReloadScreen-4cf565d7.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,h as t,i as e}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-ReloadScreen-963c0af9.js";import s from"./sapIllus-Scene-ReloadScreen-d496635f.js";import i from"./sapIllus-Spot-ReloadScreen-ed5e2bb2.js";const n="ReloadScreen",c="fiori",a="V4",l=t,m=e;o(n,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:l,subtitle:m,set:c,collection:a});const T="ReloadScreen";export{T as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/ReloadScreen-8aeae8b2.js b/nightly/assets/ReloadScreen-8aeae8b2.js new file mode 100644 index 000000000000..0d1f38ca46c2 --- /dev/null +++ b/nightly/assets/ReloadScreen-8aeae8b2.js @@ -0,0 +1 @@ +import{r as o,h as t,i as e}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-ReloadScreen-963c0af9.js";import s from"./sapIllus-Scene-ReloadScreen-d496635f.js";import i from"./sapIllus-Spot-ReloadScreen-ed5e2bb2.js";const n="ReloadScreen",c="fiori",a="V4",l=t,m=e;o(n,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:l,subtitle:m,set:c,collection:a});const T="ReloadScreen";export{T as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/ResizeColumn-15a79d10.js b/nightly/assets/ResizeColumn-15a79d10.js new file mode 100644 index 000000000000..84f8adc2f414 --- /dev/null +++ b/nightly/assets/ResizeColumn-15a79d10.js @@ -0,0 +1 @@ +import{r as o,T as t,U as s}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-ResizeColumn-2fa2e555.js";import i from"./sapIllus-Scene-ResizeColumn-78baf9d2.js";import r from"./sapIllus-Spot-ResizeColumn-9df4155a.js";const n="ResizeColumn",m="fiori",l="V4",c=t,a=s;o(n,{dialogSvg:e,sceneSvg:i,spotSvg:r,title:c,subtitle:a,set:m,collection:l});const E="ResizeColumn";export{E as default,e as dialogSvg,i as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/ResizeColumn-d355cdd4.js b/nightly/assets/ResizeColumn-d355cdd4.js deleted file mode 100644 index 4386a23bbab8..000000000000 --- a/nightly/assets/ResizeColumn-d355cdd4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,T as t,U as s}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-ResizeColumn-2fa2e555.js";import i from"./sapIllus-Scene-ResizeColumn-78baf9d2.js";import r from"./sapIllus-Spot-ResizeColumn-9df4155a.js";const n="ResizeColumn",m="fiori",l="V4",c=t,a=s;o(n,{dialogSvg:e,sceneSvg:i,spotSvg:r,title:c,subtitle:a,set:m,collection:l});const E="ResizeColumn";export{E as default,e as dialogSvg,i as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/RoadMap-38518553.js b/nightly/assets/RoadMap-38518553.js deleted file mode 100644 index 761e2a613caa..000000000000 --- a/nightly/assets/RoadMap-38518553.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-RoadMap-b7a9530c.js";import r from"./tnt-Scene-RoadMap-3b028c00.js";import a from"./tnt-Spot-RoadMap-8deb9c1a.js";const s="RoadMap",n="tnt",e="V4";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:a,set:n,collection:e});const l="tnt/RoadMap";export{l as default,t as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/RoadMap-4aca9201.js b/nightly/assets/RoadMap-4aca9201.js deleted file mode 100644 index c19eb84a0825..000000000000 --- a/nightly/assets/RoadMap-4aca9201.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-RoadMap-cd792054.js";import r from"./tnt-Scene-RoadMap-bac305c1.js";import a from"./tnt-Spot-RoadMap-9b898594.js";const s="RoadMap",n="tnt",e="V5/HC";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:a,set:n,collection:e});const l="tnt/RoadMap";export{l as default,t as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/RoadMap-7a08306b.js b/nightly/assets/RoadMap-7a08306b.js new file mode 100644 index 000000000000..5aa90013ff36 --- /dev/null +++ b/nightly/assets/RoadMap-7a08306b.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-RoadMap-cd792054.js";import r from"./tnt-Scene-RoadMap-bac305c1.js";import a from"./tnt-Spot-RoadMap-9b898594.js";const s="RoadMap",n="tnt",e="V5/HC";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:a,set:n,collection:e});const l="tnt/RoadMap";export{l as default,t as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/RoadMap-867458e4.js b/nightly/assets/RoadMap-867458e4.js new file mode 100644 index 000000000000..5048c6091316 --- /dev/null +++ b/nightly/assets/RoadMap-867458e4.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-RoadMap-b7a9530c.js";import r from"./tnt-Scene-RoadMap-3b028c00.js";import a from"./tnt-Spot-RoadMap-8deb9c1a.js";const s="RoadMap",n="tnt",e="V4";o(s,{dialogSvg:t,sceneSvg:r,spotSvg:a,set:n,collection:e});const l="tnt/RoadMap";export{l as default,t as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/SearchEarth-2f2c80bb.js b/nightly/assets/SearchEarth-2f2c80bb.js new file mode 100644 index 000000000000..d1b6459f2c2c --- /dev/null +++ b/nightly/assets/SearchEarth-2f2c80bb.js @@ -0,0 +1 @@ +import{r as t,V as o,W as r}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-SearchEarth-511383e8.js";import a from"./sapIllus-Scene-SearchEarth-ae741cf5.js";import e from"./sapIllus-Spot-SearchEarth-b3181222.js";const c="SearchEarth",i="fiori",E="V4",n=o,m=r;t(c,{dialogSvg:s,sceneSvg:a,spotSvg:e,title:n,subtitle:m,set:i,collection:E});const p="SearchEarth";export{p as default,s as dialogSvg,a as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SearchEarth-d6aa56e1.js b/nightly/assets/SearchEarth-d6aa56e1.js deleted file mode 100644 index 31e2d39e1bff..000000000000 --- a/nightly/assets/SearchEarth-d6aa56e1.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,V as o,W as r}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-SearchEarth-511383e8.js";import a from"./sapIllus-Scene-SearchEarth-ae741cf5.js";import e from"./sapIllus-Spot-SearchEarth-b3181222.js";const c="SearchEarth",i="fiori",E="V4",n=o,m=r;t(c,{dialogSvg:s,sceneSvg:a,spotSvg:e,title:n,subtitle:m,set:i,collection:E});const p="SearchEarth";export{p as default,s as dialogSvg,a as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SearchFolder-49873a18.js b/nightly/assets/SearchFolder-49873a18.js new file mode 100644 index 000000000000..23f9080fe45e --- /dev/null +++ b/nightly/assets/SearchFolder-49873a18.js @@ -0,0 +1 @@ +import{r as o,N as t,O as r}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-SearchFolder-21cbec70.js";import s from"./sapIllus-Scene-SearchFolder-4aaa815e.js";import S from"./sapIllus-Spot-SearchFolder-8eadde7b.js";const c="SearchFolder",i="fiori",a="V4",l=t,n=r;o(c,{dialogSvg:e,sceneSvg:s,spotSvg:S,title:l,subtitle:n,set:i,collection:a});const T="SearchFolder";export{T as default,e as dialogSvg,s as sceneSvg,S as spotSvg}; diff --git a/nightly/assets/SearchFolder-e9c38792.js b/nightly/assets/SearchFolder-e9c38792.js deleted file mode 100644 index 9b18b596c55b..000000000000 --- a/nightly/assets/SearchFolder-e9c38792.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,N as t,O as r}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-SearchFolder-21cbec70.js";import s from"./sapIllus-Scene-SearchFolder-4aaa815e.js";import S from"./sapIllus-Spot-SearchFolder-8eadde7b.js";const c="SearchFolder",i="fiori",a="V4",l=t,n=r;o(c,{dialogSvg:e,sceneSvg:s,spotSvg:S,title:l,subtitle:n,set:i,collection:a});const T="SearchFolder";export{T as default,e as dialogSvg,s as sceneSvg,S as spotSvg}; diff --git a/nightly/assets/Secrets-27eb0bc0.js b/nightly/assets/Secrets-27eb0bc0.js new file mode 100644 index 000000000000..50cf45723e6c --- /dev/null +++ b/nightly/assets/Secrets-27eb0bc0.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Secrets-31a974a3.js";import r from"./tnt-Scene-Secrets-219ac343.js";import e from"./tnt-Spot-Secrets-06337025.js";const s="Secrets",c="tnt",n="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/Secrets";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Secrets-5a295920.js b/nightly/assets/Secrets-5a295920.js deleted file mode 100644 index 327dda4293ab..000000000000 --- a/nightly/assets/Secrets-5a295920.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Secrets-31a974a3.js";import r from"./tnt-Scene-Secrets-219ac343.js";import e from"./tnt-Spot-Secrets-06337025.js";const s="Secrets",c="tnt",n="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/Secrets";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Secrets-6594ed02.js b/nightly/assets/Secrets-6594ed02.js new file mode 100644 index 000000000000..5e27280eca6c --- /dev/null +++ b/nightly/assets/Secrets-6594ed02.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Secrets-1b48cff8.js";import r from"./tnt-Scene-Secrets-5eb7a2e6.js";import e from"./tnt-Spot-Secrets-eb13529c.js";const s="Secrets",c="tnt",n="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/Secrets";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Secrets-8df6a709.js b/nightly/assets/Secrets-8df6a709.js deleted file mode 100644 index d37661d9dccc..000000000000 --- a/nightly/assets/Secrets-8df6a709.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Secrets-1b48cff8.js";import r from"./tnt-Scene-Secrets-5eb7a2e6.js";import e from"./tnt-Spot-Secrets-eb13529c.js";const s="Secrets",c="tnt",n="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/Secrets";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Secrets-9b71f2a6.js b/nightly/assets/Secrets-9b71f2a6.js new file mode 100644 index 000000000000..2b1190672265 --- /dev/null +++ b/nightly/assets/Secrets-9b71f2a6.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Secrets-61bd5328.js";import r from"./tnt-Scene-Secrets-037e4e84.js";import e from"./tnt-Spot-Secrets-947a2f93.js";const s="Secrets",c="tnt",n="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/Secrets";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Secrets-a37f8ae4.js b/nightly/assets/Secrets-a37f8ae4.js deleted file mode 100644 index 6a0192b40707..000000000000 --- a/nightly/assets/Secrets-a37f8ae4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Secrets-61bd5328.js";import r from"./tnt-Scene-Secrets-037e4e84.js";import e from"./tnt-Spot-Secrets-947a2f93.js";const s="Secrets",c="tnt",n="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:c,collection:n});const p="tnt/Secrets";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Services-1bf66b3f.js b/nightly/assets/Services-1bf66b3f.js deleted file mode 100644 index 55940e6e9b7f..000000000000 --- a/nightly/assets/Services-1bf66b3f.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Services-6916be0d.js";import r from"./tnt-Scene-Services-b02d24bf.js";import e from"./tnt-Spot-Services-0c1ba24f.js";const s="Services",i="tnt",c="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:i,collection:c});const p="tnt/Services";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Services-4952f21c.js b/nightly/assets/Services-4952f21c.js new file mode 100644 index 000000000000..aa4022189486 --- /dev/null +++ b/nightly/assets/Services-4952f21c.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Services-6916be0d.js";import r from"./tnt-Scene-Services-b02d24bf.js";import e from"./tnt-Spot-Services-0c1ba24f.js";const s="Services",i="tnt",c="V5/HC";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:i,collection:c});const p="tnt/Services";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Services-b576fc18.js b/nightly/assets/Services-b576fc18.js new file mode 100644 index 000000000000..802fe4d1f897 --- /dev/null +++ b/nightly/assets/Services-b576fc18.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Services-b083ea18.js";import r from"./tnt-Scene-Services-117ce6bf.js";import e from"./tnt-Spot-Services-0d831fce.js";const s="Services",i="tnt",c="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:i,collection:c});const p="tnt/Services";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Services-c3a34cd5.js b/nightly/assets/Services-c3a34cd5.js deleted file mode 100644 index 8bb28e303f4d..000000000000 --- a/nightly/assets/Services-c3a34cd5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Services-b083ea18.js";import r from"./tnt-Scene-Services-117ce6bf.js";import e from"./tnt-Spot-Services-0d831fce.js";const s="Services",i="tnt",c="V4";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:i,collection:c});const p="tnt/Services";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Services-c5ae626e.js b/nightly/assets/Services-c5ae626e.js deleted file mode 100644 index 0b04f05d1850..000000000000 --- a/nightly/assets/Services-c5ae626e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Services-f400a679.js";import r from"./tnt-Scene-Services-852f5252.js";import e from"./tnt-Spot-Services-1bf89204.js";const s="Services",i="tnt",c="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:i,collection:c});const p="tnt/Services";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/Services-d48c7aea.js b/nightly/assets/Services-d48c7aea.js new file mode 100644 index 000000000000..da2a24164f78 --- /dev/null +++ b/nightly/assets/Services-d48c7aea.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Services-f400a679.js";import r from"./tnt-Scene-Services-852f5252.js";import e from"./tnt-Spot-Services-1bf89204.js";const s="Services",i="tnt",c="V5";t(s,{dialogSvg:o,sceneSvg:r,spotSvg:e,set:i,collection:c});const p="tnt/Services";export{p as default,o as dialogSvg,r as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SessionExpired-137ede95.js b/nightly/assets/SessionExpired-137ede95.js deleted file mode 100644 index ba13f1b9bd3b..000000000000 --- a/nightly/assets/SessionExpired-137ede95.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-SessionExpired-e7cfacdf.js";import s from"./tnt-Scene-SessionExpired-27d326d1.js";import r from"./tnt-Spot-SessionExpired-5d12e21d.js";const e="SessionExpired",i="tnt",n="V5/HC";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:i,collection:n});const l="tnt/SessionExpired";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SessionExpired-24385c7b.js b/nightly/assets/SessionExpired-24385c7b.js new file mode 100644 index 000000000000..f125030f44aa --- /dev/null +++ b/nightly/assets/SessionExpired-24385c7b.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-SessionExpired-e7cfacdf.js";import s from"./tnt-Scene-SessionExpired-27d326d1.js";import r from"./tnt-Spot-SessionExpired-5d12e21d.js";const e="SessionExpired",i="tnt",n="V5/HC";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:i,collection:n});const l="tnt/SessionExpired";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SessionExpired-2854b0bb.js b/nightly/assets/SessionExpired-2854b0bb.js deleted file mode 100644 index 3dcca9248057..000000000000 --- a/nightly/assets/SessionExpired-2854b0bb.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-SessionExpired-ac9b9234.js";import s from"./tnt-Scene-SessionExpired-dad849aa.js";import r from"./tnt-Spot-SessionExpired-f9a78d72.js";const e="SessionExpired",i="tnt",n="V5";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:i,collection:n});const l="tnt/SessionExpired";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SessionExpired-90fb5964.js b/nightly/assets/SessionExpired-90fb5964.js new file mode 100644 index 000000000000..dd47076a9c4a --- /dev/null +++ b/nightly/assets/SessionExpired-90fb5964.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-SessionExpired-ac9b9234.js";import s from"./tnt-Scene-SessionExpired-dad849aa.js";import r from"./tnt-Spot-SessionExpired-f9a78d72.js";const e="SessionExpired",i="tnt",n="V5";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:i,collection:n});const l="tnt/SessionExpired";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SessionExpired-a26c66a4.js b/nightly/assets/SessionExpired-a26c66a4.js deleted file mode 100644 index aa65809e61e7..000000000000 --- a/nightly/assets/SessionExpired-a26c66a4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-SessionExpired-0fb61ec7.js";import s from"./tnt-Scene-SessionExpired-d92b5bf5.js";import r from"./tnt-Spot-SessionExpired-016810f7.js";const e="SessionExpired",i="tnt",n="V4";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:i,collection:n});const l="tnt/SessionExpired";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SessionExpired-dad342f8.js b/nightly/assets/SessionExpired-dad342f8.js new file mode 100644 index 000000000000..197aafb4d1b2 --- /dev/null +++ b/nightly/assets/SessionExpired-dad342f8.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-SessionExpired-0fb61ec7.js";import s from"./tnt-Scene-SessionExpired-d92b5bf5.js";import r from"./tnt-Spot-SessionExpired-016810f7.js";const e="SessionExpired",i="tnt",n="V4";o(e,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:i,collection:n});const l="tnt/SessionExpired";export{l as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SessionExpiring-0333cf66.js b/nightly/assets/SessionExpiring-0333cf66.js new file mode 100644 index 000000000000..3a6574020ec8 --- /dev/null +++ b/nightly/assets/SessionExpiring-0333cf66.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-SessionExpiring-5979a10e.js";import i from"./tnt-Scene-SessionExpiring-43e5a141.js";import s from"./tnt-Spot-SessionExpiring-0af13fbf.js";const n="SessionExpiring",r="tnt",e="V5/HC";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const a="tnt/SessionExpiring";export{a as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SessionExpiring-34174fe4.js b/nightly/assets/SessionExpiring-34174fe4.js new file mode 100644 index 000000000000..74eee8c9a65e --- /dev/null +++ b/nightly/assets/SessionExpiring-34174fe4.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-SessionExpiring-3ca538e3.js";import i from"./tnt-Scene-SessionExpiring-de5fae35.js";import s from"./tnt-Spot-SessionExpiring-3535d6a8.js";const n="SessionExpiring",r="tnt",e="V5";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const a="tnt/SessionExpiring";export{a as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SessionExpiring-35b7431a.js b/nightly/assets/SessionExpiring-35b7431a.js deleted file mode 100644 index d382d1ac177a..000000000000 --- a/nightly/assets/SessionExpiring-35b7431a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-SessionExpiring-39a7c1d3.js";import i from"./tnt-Scene-SessionExpiring-e404b8ce.js";import s from"./tnt-Spot-SessionExpiring-0237a8fc.js";const n="SessionExpiring",r="tnt",e="V4";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const a="tnt/SessionExpiring";export{a as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SessionExpiring-5eeb86f4.js b/nightly/assets/SessionExpiring-5eeb86f4.js deleted file mode 100644 index 21db6f622579..000000000000 --- a/nightly/assets/SessionExpiring-5eeb86f4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-SessionExpiring-3ca538e3.js";import i from"./tnt-Scene-SessionExpiring-de5fae35.js";import s from"./tnt-Spot-SessionExpiring-3535d6a8.js";const n="SessionExpiring",r="tnt",e="V5";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const a="tnt/SessionExpiring";export{a as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SessionExpiring-8e00d2af.js b/nightly/assets/SessionExpiring-8e00d2af.js new file mode 100644 index 000000000000..03e92ceb622b --- /dev/null +++ b/nightly/assets/SessionExpiring-8e00d2af.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-SessionExpiring-39a7c1d3.js";import i from"./tnt-Scene-SessionExpiring-e404b8ce.js";import s from"./tnt-Spot-SessionExpiring-0237a8fc.js";const n="SessionExpiring",r="tnt",e="V4";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const a="tnt/SessionExpiring";export{a as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SessionExpiring-bdec3afd.js b/nightly/assets/SessionExpiring-bdec3afd.js deleted file mode 100644 index 749e4a5fd17a..000000000000 --- a/nightly/assets/SessionExpiring-bdec3afd.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-SessionExpiring-5979a10e.js";import i from"./tnt-Scene-SessionExpiring-43e5a141.js";import s from"./tnt-Spot-SessionExpiring-0af13fbf.js";const n="SessionExpiring",r="tnt",e="V5/HC";o(n,{dialogSvg:t,sceneSvg:i,spotSvg:s,set:r,collection:e});const a="tnt/SessionExpiring";export{a as default,t as dialogSvg,i as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Settings-13147dab.js b/nightly/assets/Settings-13147dab.js deleted file mode 100644 index 1a7299a863cb..000000000000 --- a/nightly/assets/Settings-13147dab.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Settings-2abe22a0.js";import s from"./tnt-Scene-Settings-fb4598f1.js";import n from"./tnt-Spot-Settings-3a6dd320.js";const r="Settings",e="tnt",i="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:e,collection:i});const l="tnt/Settings";export{l as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Settings-40985fb2.js b/nightly/assets/Settings-40985fb2.js new file mode 100644 index 000000000000..c165662402de --- /dev/null +++ b/nightly/assets/Settings-40985fb2.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Settings-2abe22a0.js";import s from"./tnt-Scene-Settings-fb4598f1.js";import n from"./tnt-Spot-Settings-3a6dd320.js";const r="Settings",e="tnt",i="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:e,collection:i});const l="tnt/Settings";export{l as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Settings-84071597.js b/nightly/assets/Settings-84071597.js deleted file mode 100644 index 3690db96cdad..000000000000 --- a/nightly/assets/Settings-84071597.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Settings-22f6111f.js";import s from"./tnt-Scene-Settings-484ef78e.js";import n from"./tnt-Spot-Settings-fe2e0977.js";const r="Settings",e="tnt",i="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:e,collection:i});const l="tnt/Settings";export{l as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/Settings-cb6992f5.js b/nightly/assets/Settings-cb6992f5.js new file mode 100644 index 000000000000..f934d50782ca --- /dev/null +++ b/nightly/assets/Settings-cb6992f5.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Settings-22f6111f.js";import s from"./tnt-Scene-Settings-484ef78e.js";import n from"./tnt-Spot-Settings-fe2e0977.js";const r="Settings",e="tnt",i="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:n,set:e,collection:i});const l="tnt/Settings";export{l as default,o as dialogSvg,s as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/SignOut-3fbbbea2.js b/nightly/assets/SignOut-3fbbbea2.js new file mode 100644 index 000000000000..1c8cf50a399a --- /dev/null +++ b/nightly/assets/SignOut-3fbbbea2.js @@ -0,0 +1 @@ +import{r as t,X as o,Y as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-SignOut-e6106c2a.js";import r from"./sapIllus-Scene-SignOut-d4b38006.js";import n from"./sapIllus-Spot-SignOut-ef5136e0.js";const e="SignOut",c="fiori",m="V4",S=o,a=s;t(e,{dialogSvg:i,sceneSvg:r,spotSvg:n,title:S,subtitle:a,set:c,collection:m});const p="SignOut";export{p as default,i as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/SignOut-d45ab99d.js b/nightly/assets/SignOut-d45ab99d.js deleted file mode 100644 index e629783157ad..000000000000 --- a/nightly/assets/SignOut-d45ab99d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,X as o,Y as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-SignOut-e6106c2a.js";import r from"./sapIllus-Scene-SignOut-d4b38006.js";import n from"./sapIllus-Spot-SignOut-ef5136e0.js";const e="SignOut",c="fiori",m="V4",S=o,a=s;t(e,{dialogSvg:i,sceneSvg:r,spotSvg:n,title:S,subtitle:a,set:c,collection:m});const p="SignOut";export{p as default,i as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/SimpleBalloon-221ffbc9.js b/nightly/assets/SimpleBalloon-221ffbc9.js new file mode 100644 index 000000000000..c520785b76be --- /dev/null +++ b/nightly/assets/SimpleBalloon-221ffbc9.js @@ -0,0 +1 @@ +import{r as o,f as t,g as l}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-SimpleBalloon-154c5c3c.js";import i from"./sapIllus-Scene-SimpleBalloon-4a5223f5.js";import e from"./sapIllus-Spot-SimpleBalloon-0b6b9397.js";const r="SimpleBalloon",n="fiori",m="V4",a=t,c=l;o(r,{dialogSvg:s,sceneSvg:i,spotSvg:e,title:a,subtitle:c,set:n,collection:m});const B="SimpleBalloon";export{B as default,s as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleBalloon-a5db3d6b.js b/nightly/assets/SimpleBalloon-a5db3d6b.js deleted file mode 100644 index b8740da9cac5..000000000000 --- a/nightly/assets/SimpleBalloon-a5db3d6b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,f as t,g as l}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-SimpleBalloon-154c5c3c.js";import i from"./sapIllus-Scene-SimpleBalloon-4a5223f5.js";import e from"./sapIllus-Spot-SimpleBalloon-0b6b9397.js";const r="SimpleBalloon",n="fiori",m="V4",a=t,c=l;o(r,{dialogSvg:s,sceneSvg:i,spotSvg:e,title:a,subtitle:c,set:n,collection:m});const B="SimpleBalloon";export{B as default,s as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleBell-5a6e139e.js b/nightly/assets/SimpleBell-5a6e139e.js deleted file mode 100644 index dc86a047ee9f..000000000000 --- a/nightly/assets/SimpleBell-5a6e139e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,J as o,K as e}from"./bundle.esm-fe82a1f4.js";import l from"./sapIllus-Dialog-SimpleBell-678ff705.js";import s from"./sapIllus-Scene-SimpleBell-394848ce.js";import i from"./sapIllus-Spot-SimpleBell-d4c3001b.js";const r="SimpleBell",m="fiori",I="V4",n=o,c=e;t(r,{dialogSvg:l,sceneSvg:s,spotSvg:i,title:n,subtitle:c,set:m,collection:I});const f="SimpleBell";export{f as default,l as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SimpleBell-add3c147.js b/nightly/assets/SimpleBell-add3c147.js new file mode 100644 index 000000000000..a59f4c1355aa --- /dev/null +++ b/nightly/assets/SimpleBell-add3c147.js @@ -0,0 +1 @@ +import{r as t,J as o,K as e}from"./bundle.esm-3abc4abd.js";import l from"./sapIllus-Dialog-SimpleBell-678ff705.js";import s from"./sapIllus-Scene-SimpleBell-394848ce.js";import i from"./sapIllus-Spot-SimpleBell-d4c3001b.js";const r="SimpleBell",m="fiori",I="V4",n=o,c=e;t(r,{dialogSvg:l,sceneSvg:s,spotSvg:i,title:n,subtitle:c,set:m,collection:I});const f="SimpleBell";export{f as default,l as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SimpleCalendar-985ca7cb.js b/nightly/assets/SimpleCalendar-985ca7cb.js deleted file mode 100644 index 48630b3c4962..000000000000 --- a/nightly/assets/SimpleCalendar-985ca7cb.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,j as o,k as e}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-SimpleCalendar-e68ee756.js";import s from"./sapIllus-Scene-SimpleCalendar-7d9e437e.js";import i from"./sapIllus-Spot-SimpleCalendar-26fa1bc6.js";const a="SimpleCalendar",l="fiori",n="V4",m=o,I=e;t(a,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:m,subtitle:I,set:l,collection:n});const f="SimpleCalendar";export{f as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SimpleCalendar-bdfb8d9c.js b/nightly/assets/SimpleCalendar-bdfb8d9c.js new file mode 100644 index 000000000000..c2651cf7327c --- /dev/null +++ b/nightly/assets/SimpleCalendar-bdfb8d9c.js @@ -0,0 +1 @@ +import{r as t,j as o,k as e}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-SimpleCalendar-e68ee756.js";import s from"./sapIllus-Scene-SimpleCalendar-7d9e437e.js";import i from"./sapIllus-Spot-SimpleCalendar-26fa1bc6.js";const a="SimpleCalendar",l="fiori",n="V4",m=o,I=e;t(a,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:m,subtitle:I,set:l,collection:n});const f="SimpleCalendar";export{f as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SimpleCheckMark-687e1ff9.js b/nightly/assets/SimpleCheckMark-687e1ff9.js new file mode 100644 index 000000000000..627c095a8c1b --- /dev/null +++ b/nightly/assets/SimpleCheckMark-687e1ff9.js @@ -0,0 +1 @@ +import{r as t,Z as o,_ as e}from"./bundle.esm-3abc4abd.js";import r from"./sapIllus-Dialog-SimpleCheckMark-d111cd96.js";import s from"./sapIllus-Scene-SimpleCheckMark-0d033425.js";import i from"./sapIllus-Spot-SimpleCheckMark-9dee4182.js";const S="SimpleCheckMark",c="fiori",m="V4",a=o,l=e;t(S,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:a,subtitle:l,set:c,collection:m});const f="SimpleCheckMark";export{f as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SimpleCheckMark-7a4931da.js b/nightly/assets/SimpleCheckMark-7a4931da.js deleted file mode 100644 index 3ea8f0e10629..000000000000 --- a/nightly/assets/SimpleCheckMark-7a4931da.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,Z as o,_ as e}from"./bundle.esm-fe82a1f4.js";import r from"./sapIllus-Dialog-SimpleCheckMark-d111cd96.js";import s from"./sapIllus-Scene-SimpleCheckMark-0d033425.js";import i from"./sapIllus-Spot-SimpleCheckMark-9dee4182.js";const S="SimpleCheckMark",c="fiori",m="V4",a=o,l=e;t(S,{dialogSvg:r,sceneSvg:s,spotSvg:i,title:a,subtitle:l,set:c,collection:m});const f="SimpleCheckMark";export{f as default,r as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SimpleConnection-6696fbb1.js b/nightly/assets/SimpleConnection-6696fbb1.js deleted file mode 100644 index a34a9f0b26de..000000000000 --- a/nightly/assets/SimpleConnection-6696fbb1.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,h as t,i}from"./bundle.esm-fe82a1f4.js";import n from"./sapIllus-Dialog-SimpleConnection-f0b109eb.js";import e from"./sapIllus-Scene-SimpleConnection-3be02e66.js";import s from"./sapIllus-Spot-SimpleConnection-6dcda911.js";const r="SimpleConnection",c="fiori",m="V4",l=t,p=i;o(r,{dialogSvg:n,sceneSvg:e,spotSvg:s,title:l,subtitle:p,set:c,collection:m});const T="SimpleConnection";export{T as default,n as dialogSvg,e as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SimpleConnection-c8ab15b1.js b/nightly/assets/SimpleConnection-c8ab15b1.js new file mode 100644 index 000000000000..30633929c682 --- /dev/null +++ b/nightly/assets/SimpleConnection-c8ab15b1.js @@ -0,0 +1 @@ +import{r as o,h as t,i}from"./bundle.esm-3abc4abd.js";import n from"./sapIllus-Dialog-SimpleConnection-f0b109eb.js";import e from"./sapIllus-Scene-SimpleConnection-3be02e66.js";import s from"./sapIllus-Spot-SimpleConnection-6dcda911.js";const r="SimpleConnection",c="fiori",m="V4",l=t,p=i;o(r,{dialogSvg:n,sceneSvg:e,spotSvg:s,title:l,subtitle:p,set:c,collection:m});const T="SimpleConnection";export{T as default,n as dialogSvg,e as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SimpleEmptyDoc-97a5536a.js b/nightly/assets/SimpleEmptyDoc-97a5536a.js new file mode 100644 index 000000000000..3242a9c78441 --- /dev/null +++ b/nightly/assets/SimpleEmptyDoc-97a5536a.js @@ -0,0 +1 @@ +import{r as t,A as o,B as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-SimpleEmptyDoc-7c03e597.js";import m from"./sapIllus-Scene-SimpleEmptyDoc-69452dc5.js";import e from"./sapIllus-Spot-SimpleEmptyDoc-cf805aad.js";const r="SimpleEmptyDoc",c="fiori",p="V4",l=o,n=s;t(r,{dialogSvg:i,sceneSvg:m,spotSvg:e,title:l,subtitle:n,set:c,collection:p});const g="SimpleEmptyDoc";export{g as default,i as dialogSvg,m as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleEmptyDoc-fdfb170b.js b/nightly/assets/SimpleEmptyDoc-fdfb170b.js deleted file mode 100644 index 149eab24375f..000000000000 --- a/nightly/assets/SimpleEmptyDoc-fdfb170b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,A as o,B as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-SimpleEmptyDoc-7c03e597.js";import m from"./sapIllus-Scene-SimpleEmptyDoc-69452dc5.js";import e from"./sapIllus-Spot-SimpleEmptyDoc-cf805aad.js";const r="SimpleEmptyDoc",c="fiori",p="V4",l=o,n=s;t(r,{dialogSvg:i,sceneSvg:m,spotSvg:e,title:l,subtitle:n,set:c,collection:p});const g="SimpleEmptyDoc";export{g as default,i as dialogSvg,m as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleEmptyList-531ad1cc.js b/nightly/assets/SimpleEmptyList-531ad1cc.js deleted file mode 100644 index 774596a2212f..000000000000 --- a/nightly/assets/SimpleEmptyList-531ad1cc.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,l as o,m as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-SimpleEmptyList-b88f1aa4.js";import m from"./sapIllus-Scene-SimpleEmptyList-66f590c6.js";import e from"./sapIllus-Spot-SimpleEmptyList-661c4d2a.js";const r="SimpleEmptyList",l="fiori",p="V4",n=o,c=s;t(r,{dialogSvg:i,sceneSvg:m,spotSvg:e,title:n,subtitle:c,set:l,collection:p});const f="SimpleEmptyList";export{f as default,i as dialogSvg,m as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleEmptyList-5e3ee802.js b/nightly/assets/SimpleEmptyList-5e3ee802.js new file mode 100644 index 000000000000..2400e419e87e --- /dev/null +++ b/nightly/assets/SimpleEmptyList-5e3ee802.js @@ -0,0 +1 @@ +import{r as t,l as o,m as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-SimpleEmptyList-b88f1aa4.js";import m from"./sapIllus-Scene-SimpleEmptyList-66f590c6.js";import e from"./sapIllus-Spot-SimpleEmptyList-661c4d2a.js";const r="SimpleEmptyList",l="fiori",p="V4",n=o,c=s;t(r,{dialogSvg:i,sceneSvg:m,spotSvg:e,title:n,subtitle:c,set:l,collection:p});const f="SimpleEmptyList";export{f as default,i as dialogSvg,m as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleError-b2763f33.js b/nightly/assets/SimpleError-b2763f33.js new file mode 100644 index 000000000000..930433e9bbe1 --- /dev/null +++ b/nightly/assets/SimpleError-b2763f33.js @@ -0,0 +1 @@ +import{r as o,p as r,q as t}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-SimpleError-9ee2a9ea.js";import i from"./sapIllus-Scene-SimpleError-507fb090.js";import e from"./sapIllus-Spot-SimpleError-9ddacbc8.js";const m="SimpleError",l="fiori",n="V4",p=r,c=t;o(m,{dialogSvg:s,sceneSvg:i,spotSvg:e,title:p,subtitle:c,set:l,collection:n});const L="SimpleError";export{L as default,s as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleError-c226590c.js b/nightly/assets/SimpleError-c226590c.js deleted file mode 100644 index ea9f9ad70c0b..000000000000 --- a/nightly/assets/SimpleError-c226590c.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,p as r,q as t}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-SimpleError-9ee2a9ea.js";import i from"./sapIllus-Scene-SimpleError-507fb090.js";import e from"./sapIllus-Spot-SimpleError-9ddacbc8.js";const m="SimpleError",l="fiori",n="V4",p=r,c=t;o(m,{dialogSvg:s,sceneSvg:i,spotSvg:e,title:p,subtitle:c,set:l,collection:n});const L="SimpleError";export{L as default,s as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/SimpleMagnifier-74add98a.js b/nightly/assets/SimpleMagnifier-74add98a.js new file mode 100644 index 000000000000..4ed1b0c26941 --- /dev/null +++ b/nightly/assets/SimpleMagnifier-74add98a.js @@ -0,0 +1 @@ +import{r as t,V as i,W as o}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-SimpleMagnifier-ef7e3e4e.js";import r from"./sapIllus-Scene-SimpleMagnifier-94f71813.js";import s from"./sapIllus-Spot-SimpleMagnifier-dfab72f1.js";const n="SimpleMagnifier",m="fiori",a="V4",l=i,c=o;t(n,{dialogSvg:e,sceneSvg:r,spotSvg:s,title:l,subtitle:c,set:m,collection:a});const E="SimpleMagnifier";export{E as default,e as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SimpleMagnifier-f1c8a7be.js b/nightly/assets/SimpleMagnifier-f1c8a7be.js deleted file mode 100644 index 1dad47f6bb5d..000000000000 --- a/nightly/assets/SimpleMagnifier-f1c8a7be.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,V as i,W as o}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-SimpleMagnifier-ef7e3e4e.js";import r from"./sapIllus-Scene-SimpleMagnifier-94f71813.js";import s from"./sapIllus-Spot-SimpleMagnifier-dfab72f1.js";const n="SimpleMagnifier",m="fiori",a="V4",l=i,c=o;t(n,{dialogSvg:e,sceneSvg:r,spotSvg:s,title:l,subtitle:c,set:m,collection:a});const E="SimpleMagnifier";export{E as default,e as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/SimpleMail-768159c5.js b/nightly/assets/SimpleMail-768159c5.js new file mode 100644 index 000000000000..427cb2e7b12e --- /dev/null +++ b/nightly/assets/SimpleMail-768159c5.js @@ -0,0 +1 @@ +import{r as t,G as o,H as i}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-SimpleMail-7a0477b2.js";import e from"./sapIllus-Scene-SimpleMail-1a1a3e4d.js";import l from"./sapIllus-Spot-SimpleMail-8872e174.js";const r="SimpleMail",m="fiori",a="V4",n=o,c=i;t(r,{dialogSvg:s,sceneSvg:e,spotSvg:l,title:n,subtitle:c,set:m,collection:a});const f="SimpleMail";export{f as default,s as dialogSvg,e as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/SimpleMail-93561b47.js b/nightly/assets/SimpleMail-93561b47.js deleted file mode 100644 index bf7cb25a9fea..000000000000 --- a/nightly/assets/SimpleMail-93561b47.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,G as o,H as i}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-SimpleMail-7a0477b2.js";import e from"./sapIllus-Scene-SimpleMail-1a1a3e4d.js";import l from"./sapIllus-Spot-SimpleMail-8872e174.js";const r="SimpleMail",m="fiori",a="V4",n=o,c=i;t(r,{dialogSvg:s,sceneSvg:e,spotSvg:l,title:n,subtitle:c,set:m,collection:a});const f="SimpleMail";export{f as default,s as dialogSvg,e as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/SimpleNoSavedItems-5c53a172.js b/nightly/assets/SimpleNoSavedItems-5c53a172.js new file mode 100644 index 000000000000..e3adee368369 --- /dev/null +++ b/nightly/assets/SimpleNoSavedItems-5c53a172.js @@ -0,0 +1 @@ +import{r as t,L as o,M as e}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-SimpleNoSavedItems-26ccddfd.js";import i from"./sapIllus-Scene-SimpleNoSavedItems-5b4b3d70.js";import m from"./sapIllus-Spot-SimpleNoSavedItems-ae84a1cd.js";const r="SimpleNoSavedItems",S="fiori",a="V4",l=o,n=e;t(r,{dialogSvg:s,sceneSvg:i,spotSvg:m,title:l,subtitle:n,set:S,collection:a});const v="SimpleNoSavedItems";export{v as default,s as dialogSvg,i as sceneSvg,m as spotSvg}; diff --git a/nightly/assets/SimpleNoSavedItems-9ca39605.js b/nightly/assets/SimpleNoSavedItems-9ca39605.js deleted file mode 100644 index 98caf606ffba..000000000000 --- a/nightly/assets/SimpleNoSavedItems-9ca39605.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,L as o,M as e}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-SimpleNoSavedItems-26ccddfd.js";import i from"./sapIllus-Scene-SimpleNoSavedItems-5b4b3d70.js";import m from"./sapIllus-Spot-SimpleNoSavedItems-ae84a1cd.js";const r="SimpleNoSavedItems",S="fiori",a="V4",l=o,n=e;t(r,{dialogSvg:s,sceneSvg:i,spotSvg:m,title:l,subtitle:n,set:S,collection:a});const v="SimpleNoSavedItems";export{v as default,s as dialogSvg,i as sceneSvg,m as spotSvg}; diff --git a/nightly/assets/SimpleNotFoundMagnifier-ee2d76c8.js b/nightly/assets/SimpleNotFoundMagnifier-ee2d76c8.js new file mode 100644 index 000000000000..a114868351ac --- /dev/null +++ b/nightly/assets/SimpleNotFoundMagnifier-ee2d76c8.js @@ -0,0 +1 @@ +import{r as o,N as t,O as i}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-SimpleNotFoundMagnifier-40f08dfe.js";import r from"./sapIllus-Scene-SimpleNotFoundMagnifier-08e3bcc2.js";import n from"./sapIllus-Spot-SimpleNotFoundMagnifier-f0c28868.js";const s="SimpleNotFoundMagnifier",S="fiori",m="V4",a=t,l=i;o(s,{dialogSvg:e,sceneSvg:r,spotSvg:n,title:a,subtitle:l,set:S,collection:m});const u="SimpleNotFoundMagnifier";export{u as default,e as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/SimpleNotFoundMagnifier-f6d35f6c.js b/nightly/assets/SimpleNotFoundMagnifier-f6d35f6c.js deleted file mode 100644 index 95b2920d813a..000000000000 --- a/nightly/assets/SimpleNotFoundMagnifier-f6d35f6c.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,N as t,O as i}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-SimpleNotFoundMagnifier-40f08dfe.js";import r from"./sapIllus-Scene-SimpleNotFoundMagnifier-08e3bcc2.js";import n from"./sapIllus-Spot-SimpleNotFoundMagnifier-f0c28868.js";const s="SimpleNotFoundMagnifier",S="fiori",m="V4",a=t,l=i;o(s,{dialogSvg:e,sceneSvg:r,spotSvg:n,title:a,subtitle:l,set:S,collection:m});const u="SimpleNotFoundMagnifier";export{u as default,e as dialogSvg,r as sceneSvg,n as spotSvg}; diff --git a/nightly/assets/SimpleReload-5753b7c5.js b/nightly/assets/SimpleReload-5753b7c5.js deleted file mode 100644 index 6d0c2844f5bf..000000000000 --- a/nightly/assets/SimpleReload-5753b7c5.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,h as t,i as e}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-SimpleReload-9d9314b2.js";import s from"./sapIllus-Scene-SimpleReload-ed71ce9a.js";import l from"./sapIllus-Spot-SimpleReload-cddd39c9.js";const r="SimpleReload",m="fiori",a="V4",n=t,c=e;o(r,{dialogSvg:i,sceneSvg:s,spotSvg:l,title:n,subtitle:c,set:m,collection:a});const T="SimpleReload";export{T as default,i as dialogSvg,s as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/SimpleReload-6c8bdef8.js b/nightly/assets/SimpleReload-6c8bdef8.js new file mode 100644 index 000000000000..6e4ef23314e3 --- /dev/null +++ b/nightly/assets/SimpleReload-6c8bdef8.js @@ -0,0 +1 @@ +import{r as o,h as t,i as e}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-SimpleReload-9d9314b2.js";import s from"./sapIllus-Scene-SimpleReload-ed71ce9a.js";import l from"./sapIllus-Spot-SimpleReload-cddd39c9.js";const r="SimpleReload",m="fiori",a="V4",n=t,c=e;o(r,{dialogSvg:i,sceneSvg:s,spotSvg:l,title:n,subtitle:c,set:m,collection:a});const T="SimpleReload";export{T as default,i as dialogSvg,s as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/SimpleTask-33849970.js b/nightly/assets/SimpleTask-33849970.js deleted file mode 100644 index b73cf5011fdb..000000000000 --- a/nightly/assets/SimpleTask-33849970.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,P as o,Q as s}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-SimpleTask-3e6d23f2.js";import e from"./sapIllus-Scene-SimpleTask-db8424a4.js";import r from"./sapIllus-Spot-SimpleTask-ecc29278.js";const m="SimpleTask",a="fiori",l="V4",S=o,n=s;t(m,{dialogSvg:i,sceneSvg:e,spotSvg:r,title:S,subtitle:n,set:a,collection:l});const g="SimpleTask";export{g as default,i as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SimpleTask-4836b9c9.js b/nightly/assets/SimpleTask-4836b9c9.js new file mode 100644 index 000000000000..9463c1b5261f --- /dev/null +++ b/nightly/assets/SimpleTask-4836b9c9.js @@ -0,0 +1 @@ +import{r as t,P as o,Q as s}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-SimpleTask-3e6d23f2.js";import e from"./sapIllus-Scene-SimpleTask-db8424a4.js";import r from"./sapIllus-Spot-SimpleTask-ecc29278.js";const m="SimpleTask",a="fiori",l="V4",S=o,n=s;t(m,{dialogSvg:i,sceneSvg:e,spotSvg:r,title:S,subtitle:n,set:a,collection:l});const g="SimpleTask";export{g as default,i as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SleepingBell-7c183230.js b/nightly/assets/SleepingBell-7c183230.js new file mode 100644 index 000000000000..19cd990c143d --- /dev/null +++ b/nightly/assets/SleepingBell-7c183230.js @@ -0,0 +1 @@ +import{r as t,J as o,K as e}from"./bundle.esm-3abc4abd.js";import l from"./sapIllus-Dialog-SleepingBell-a1479c4d.js";import s from"./sapIllus-Scene-SleepingBell-248cd5c3.js";import i from"./sapIllus-Spot-SleepingBell-7b121565.js";const r="SleepingBell",n="fiori",I="V4",c=o,m=e;t(r,{dialogSvg:l,sceneSvg:s,spotSvg:i,title:c,subtitle:m,set:n,collection:I});const T="SleepingBell";export{T as default,l as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SleepingBell-910144c7.js b/nightly/assets/SleepingBell-910144c7.js deleted file mode 100644 index 1c4218fb05bf..000000000000 --- a/nightly/assets/SleepingBell-910144c7.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,J as o,K as e}from"./bundle.esm-fe82a1f4.js";import l from"./sapIllus-Dialog-SleepingBell-a1479c4d.js";import s from"./sapIllus-Scene-SleepingBell-248cd5c3.js";import i from"./sapIllus-Spot-SleepingBell-7b121565.js";const r="SleepingBell",n="fiori",I="V4",c=o,m=e;t(r,{dialogSvg:l,sceneSvg:s,spotSvg:i,title:c,subtitle:m,set:n,collection:I});const T="SleepingBell";export{T as default,l as dialogSvg,s as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SortColumn-300032e5.js b/nightly/assets/SortColumn-300032e5.js new file mode 100644 index 000000000000..2de140801122 --- /dev/null +++ b/nightly/assets/SortColumn-300032e5.js @@ -0,0 +1 @@ +import{r as o,$ as t,a0 as r}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-SortColumn-51363fbb.js";import n from"./sapIllus-Scene-SortColumn-78611e76.js";import i from"./sapIllus-Spot-SortColumn-b89b7feb.js";const m="SortColumn",e="fiori",l="V4",a=t,c=r;o(m,{dialogSvg:s,sceneSvg:n,spotSvg:i,title:a,subtitle:c,set:e,collection:l});const T="SortColumn";export{T as default,s as dialogSvg,n as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/SortColumn-484583d4.js b/nightly/assets/SortColumn-484583d4.js deleted file mode 100644 index 71aca75da61d..000000000000 --- a/nightly/assets/SortColumn-484583d4.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,$ as t,a0 as r}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-SortColumn-51363fbb.js";import n from"./sapIllus-Scene-SortColumn-78611e76.js";import i from"./sapIllus-Spot-SortColumn-b89b7feb.js";const m="SortColumn",e="fiori",l="V4",a=t,c=r;o(m,{dialogSvg:s,sceneSvg:n,spotSvg:i,title:a,subtitle:c,set:e,collection:l});const T="SortColumn";export{T as default,s as dialogSvg,n as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Success-02b642eb.js b/nightly/assets/Success-02b642eb.js new file mode 100644 index 000000000000..c77da1a96e7e --- /dev/null +++ b/nightly/assets/Success-02b642eb.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Success-3dc202c3.js";import s from"./tnt-Scene-Success-2ec38358.js";import c from"./tnt-Spot-Success-96fd1f44.js";const r="Success",e="tnt",n="V5";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:n});const p="tnt/Success";export{p as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/Success-0bb9fd9d.js b/nightly/assets/Success-0bb9fd9d.js deleted file mode 100644 index ff773d39a1f2..000000000000 --- a/nightly/assets/Success-0bb9fd9d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Success-3dc202c3.js";import s from"./tnt-Scene-Success-2ec38358.js";import c from"./tnt-Spot-Success-96fd1f44.js";const r="Success",e="tnt",n="V5";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:n});const p="tnt/Success";export{p as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/Success-3876d175.js b/nightly/assets/Success-3876d175.js deleted file mode 100644 index 9d868563687b..000000000000 --- a/nightly/assets/Success-3876d175.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Success-99c268cb.js";import s from"./tnt-Scene-Success-b2d243a1.js";import c from"./tnt-Spot-Success-877f3226.js";const r="Success",e="tnt",n="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:n});const p="tnt/Success";export{p as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/Success-6d0cfc58.js b/nightly/assets/Success-6d0cfc58.js new file mode 100644 index 000000000000..e40007556b92 --- /dev/null +++ b/nightly/assets/Success-6d0cfc58.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Success-99c268cb.js";import s from"./tnt-Scene-Success-b2d243a1.js";import c from"./tnt-Spot-Success-877f3226.js";const r="Success",e="tnt",n="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:n});const p="tnt/Success";export{p as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/Success-acd6708e.js b/nightly/assets/Success-acd6708e.js new file mode 100644 index 000000000000..44b451dbeae0 --- /dev/null +++ b/nightly/assets/Success-acd6708e.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Success-7832d248.js";import s from"./tnt-Scene-Success-f1423b2b.js";import c from"./tnt-Spot-Success-fd0cc531.js";const r="Success",e="tnt",n="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:n});const p="tnt/Success";export{p as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/Success-aeaffae0.js b/nightly/assets/Success-aeaffae0.js deleted file mode 100644 index a4963e8072b3..000000000000 --- a/nightly/assets/Success-aeaffae0.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Success-7832d248.js";import s from"./tnt-Scene-Success-f1423b2b.js";import c from"./tnt-Spot-Success-fd0cc531.js";const r="Success",e="tnt",n="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:n});const p="tnt/Success";export{p as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessBalloon-233ce65e.js b/nightly/assets/SuccessBalloon-233ce65e.js new file mode 100644 index 000000000000..8fd19a3e54d7 --- /dev/null +++ b/nightly/assets/SuccessBalloon-233ce65e.js @@ -0,0 +1 @@ +import{r as o,f as s,g as t}from"./bundle.esm-3abc4abd.js";import c from"./sapIllus-Dialog-SuccessBalloon-61e5ab03.js";import e from"./sapIllus-Scene-SuccessBalloon-c6dd0991.js";import l from"./sapIllus-Spot-SuccessBalloon-360e51c7.js";const r="SuccessBalloon",n="fiori",i="V4",a=s,m=t;o(r,{dialogSvg:c,sceneSvg:e,spotSvg:l,title:a,subtitle:m,set:n,collection:i});const u="SuccessBalloon";export{u as default,c as dialogSvg,e as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/SuccessBalloon-47cc51ef.js b/nightly/assets/SuccessBalloon-47cc51ef.js deleted file mode 100644 index 5d9c793775df..000000000000 --- a/nightly/assets/SuccessBalloon-47cc51ef.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,f as s,g as t}from"./bundle.esm-fe82a1f4.js";import c from"./sapIllus-Dialog-SuccessBalloon-61e5ab03.js";import e from"./sapIllus-Scene-SuccessBalloon-c6dd0991.js";import l from"./sapIllus-Spot-SuccessBalloon-360e51c7.js";const r="SuccessBalloon",n="fiori",i="V4",a=s,m=t;o(r,{dialogSvg:c,sceneSvg:e,spotSvg:l,title:a,subtitle:m,set:n,collection:i});const u="SuccessBalloon";export{u as default,c as dialogSvg,e as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/SuccessCheckMark-5a55e18b.js b/nightly/assets/SuccessCheckMark-5a55e18b.js deleted file mode 100644 index b33b0293bc16..000000000000 --- a/nightly/assets/SuccessCheckMark-5a55e18b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as s,Z as t,_ as o}from"./bundle.esm-fe82a1f4.js";import c from"./sapIllus-Dialog-SuccessCheckMark-0f3e6bcb.js";import e from"./sapIllus-Scene-SuccessCheckMark-2b9edd64.js";import r from"./sapIllus-Spot-SuccessCheckMark-3b6eccba.js";const S="SuccessCheckMark",i="fiori",a="V4",n=t,m=o;s(S,{dialogSvg:c,sceneSvg:e,spotSvg:r,title:n,subtitle:m,set:i,collection:a});const k="SuccessCheckMark";export{k as default,c as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SuccessCheckMark-9f887a79.js b/nightly/assets/SuccessCheckMark-9f887a79.js new file mode 100644 index 000000000000..06505740ad1a --- /dev/null +++ b/nightly/assets/SuccessCheckMark-9f887a79.js @@ -0,0 +1 @@ +import{r as s,Z as t,_ as o}from"./bundle.esm-3abc4abd.js";import c from"./sapIllus-Dialog-SuccessCheckMark-0f3e6bcb.js";import e from"./sapIllus-Scene-SuccessCheckMark-2b9edd64.js";import r from"./sapIllus-Spot-SuccessCheckMark-3b6eccba.js";const S="SuccessCheckMark",i="fiori",a="V4",n=t,m=o;s(S,{dialogSvg:c,sceneSvg:e,spotSvg:r,title:n,subtitle:m,set:i,collection:a});const k="SuccessCheckMark";export{k as default,c as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/SuccessHighFive-0aa74386.js b/nightly/assets/SuccessHighFive-0aa74386.js deleted file mode 100644 index b2a87b802609..000000000000 --- a/nightly/assets/SuccessHighFive-0aa74386.js +++ /dev/null @@ -1 +0,0 @@ -import{r as s,f as t,g as o}from"./bundle.esm-fe82a1f4.js";import i from"./sapIllus-Dialog-SuccessHighFive-43c42408.js";import e from"./sapIllus-Scene-SuccessHighFive-e83d561f.js";import c from"./sapIllus-Spot-SuccessHighFive-dca251be.js";const r="SuccessHighFive",n="fiori",g="V4",m=t,S=o;s(r,{dialogSvg:i,sceneSvg:e,spotSvg:c,title:m,subtitle:S,set:n,collection:g});const u="SuccessHighFive";export{u as default,i as dialogSvg,e as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessHighFive-67e35d16.js b/nightly/assets/SuccessHighFive-67e35d16.js new file mode 100644 index 000000000000..2fd2fd98cfb5 --- /dev/null +++ b/nightly/assets/SuccessHighFive-67e35d16.js @@ -0,0 +1 @@ +import{r as s,f as t,g as o}from"./bundle.esm-3abc4abd.js";import i from"./sapIllus-Dialog-SuccessHighFive-43c42408.js";import e from"./sapIllus-Scene-SuccessHighFive-e83d561f.js";import c from"./sapIllus-Spot-SuccessHighFive-dca251be.js";const r="SuccessHighFive",n="fiori",g="V4",m=t,S=o;s(r,{dialogSvg:i,sceneSvg:e,spotSvg:c,title:m,subtitle:S,set:n,collection:g});const u="SuccessHighFive";export{u as default,i as dialogSvg,e as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessScreen-11479e67.js b/nightly/assets/SuccessScreen-11479e67.js deleted file mode 100644 index 32a48d91a579..000000000000 --- a/nightly/assets/SuccessScreen-11479e67.js +++ /dev/null @@ -1 +0,0 @@ -import{r as s,Z as t,_ as o}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-SuccessScreen-d75721a0.js";import c from"./sapIllus-Scene-SuccessScreen-499c9b7b.js";import S from"./sapIllus-Spot-SuccessScreen-ea26d146.js";const r="SuccessScreen",n="fiori",i="V4",m=t,a=o;s(r,{dialogSvg:e,sceneSvg:c,spotSvg:S,title:m,subtitle:a,set:n,collection:i});const u="SuccessScreen";export{u as default,e as dialogSvg,c as sceneSvg,S as spotSvg}; diff --git a/nightly/assets/SuccessScreen-852c350d.js b/nightly/assets/SuccessScreen-852c350d.js new file mode 100644 index 000000000000..f8797cf3070d --- /dev/null +++ b/nightly/assets/SuccessScreen-852c350d.js @@ -0,0 +1 @@ +import{r as s,Z as t,_ as o}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-SuccessScreen-d75721a0.js";import c from"./sapIllus-Scene-SuccessScreen-499c9b7b.js";import S from"./sapIllus-Spot-SuccessScreen-ea26d146.js";const r="SuccessScreen",n="fiori",i="V4",m=t,a=o;s(r,{dialogSvg:e,sceneSvg:c,spotSvg:S,title:m,subtitle:a,set:n,collection:i});const u="SuccessScreen";export{u as default,e as dialogSvg,c as sceneSvg,S as spotSvg}; diff --git a/nightly/assets/SuccessfulAuth-0c897473.js b/nightly/assets/SuccessfulAuth-0c897473.js deleted file mode 100644 index 7a020baf70b1..000000000000 --- a/nightly/assets/SuccessfulAuth-0c897473.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-SuccessfulAuth-ee45e6d7.js";import s from"./tnt-Scene-SuccessfulAuth-b1a3fa12.js";import c from"./tnt-Spot-SuccessfulAuth-cc535aac.js";const r="SuccessfulAuth",e="tnt",u="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:u});const i="tnt/SuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessfulAuth-4c5e8614.js b/nightly/assets/SuccessfulAuth-4c5e8614.js new file mode 100644 index 000000000000..0025665cda12 --- /dev/null +++ b/nightly/assets/SuccessfulAuth-4c5e8614.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-SuccessfulAuth-ee45e6d7.js";import s from"./tnt-Scene-SuccessfulAuth-b1a3fa12.js";import c from"./tnt-Spot-SuccessfulAuth-cc535aac.js";const r="SuccessfulAuth",e="tnt",u="V5/HC";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:u});const i="tnt/SuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessfulAuth-5cef9833.js b/nightly/assets/SuccessfulAuth-5cef9833.js new file mode 100644 index 000000000000..1be6563dcaea --- /dev/null +++ b/nightly/assets/SuccessfulAuth-5cef9833.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-SuccessfulAuth-549e98d3.js";import s from"./tnt-Scene-SuccessfulAuth-941eef2a.js";import c from"./tnt-Spot-SuccessfulAuth-7aa6622c.js";const r="SuccessfulAuth",e="tnt",u="V5";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:u});const i="tnt/SuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessfulAuth-67a095a3.js b/nightly/assets/SuccessfulAuth-67a095a3.js deleted file mode 100644 index b481b2028c5f..000000000000 --- a/nightly/assets/SuccessfulAuth-67a095a3.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-SuccessfulAuth-2d10c1c0.js";import s from"./tnt-Scene-SuccessfulAuth-21378772.js";import c from"./tnt-Spot-SuccessfulAuth-edc0afd1.js";const r="SuccessfulAuth",e="tnt",u="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:u});const i="tnt/SuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessfulAuth-f952e927.js b/nightly/assets/SuccessfulAuth-f952e927.js deleted file mode 100644 index 7c9b59f29bc9..000000000000 --- a/nightly/assets/SuccessfulAuth-f952e927.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-SuccessfulAuth-549e98d3.js";import s from"./tnt-Scene-SuccessfulAuth-941eef2a.js";import c from"./tnt-Spot-SuccessfulAuth-7aa6622c.js";const r="SuccessfulAuth",e="tnt",u="V5";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:u});const i="tnt/SuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/SuccessfulAuth-fb292ba4.js b/nightly/assets/SuccessfulAuth-fb292ba4.js new file mode 100644 index 000000000000..2b06ba2fa3b2 --- /dev/null +++ b/nightly/assets/SuccessfulAuth-fb292ba4.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-SuccessfulAuth-2d10c1c0.js";import s from"./tnt-Scene-SuccessfulAuth-21378772.js";import c from"./tnt-Spot-SuccessfulAuth-edc0afd1.js";const r="SuccessfulAuth",e="tnt",u="V4";t(r,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:e,collection:u});const i="tnt/SuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/Survey-8d6d2261.js b/nightly/assets/Survey-8d6d2261.js deleted file mode 100644 index 93c3c5ed96d3..000000000000 --- a/nightly/assets/Survey-8d6d2261.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t,a1 as o,a2 as r}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-Survey-da87ecfc.js";import e from"./sapIllus-Scene-Survey-7c79e425.js";import i from"./sapIllus-Spot-Survey-178b87f0.js";const a="Survey",n="fiori",c="V4",m=o,S=r;t(a,{dialogSvg:s,sceneSvg:e,spotSvg:i,title:m,subtitle:S,set:n,collection:c});const v="Survey";export{v as default,s as dialogSvg,e as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Survey-ec4f6259.js b/nightly/assets/Survey-ec4f6259.js new file mode 100644 index 000000000000..47f2f636fa12 --- /dev/null +++ b/nightly/assets/Survey-ec4f6259.js @@ -0,0 +1 @@ +import{r as t,a1 as o,a2 as r}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-Survey-da87ecfc.js";import e from"./sapIllus-Scene-Survey-7c79e425.js";import i from"./sapIllus-Spot-Survey-178b87f0.js";const a="Survey",n="fiori",c="V4",m=o,S=r;t(a,{dialogSvg:s,sceneSvg:e,spotSvg:i,title:m,subtitle:S,set:n,collection:c});const v="Survey";export{v as default,s as dialogSvg,e as sceneSvg,i as spotSvg}; diff --git a/nightly/assets/Systems-17ed892b.js b/nightly/assets/Systems-17ed892b.js new file mode 100644 index 000000000000..a876b09f843c --- /dev/null +++ b/nightly/assets/Systems-17ed892b.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Systems-06d28c83.js";import s from"./tnt-Scene-Systems-adc69e0f.js";import r from"./tnt-Spot-Systems-92d76750.js";const e="Systems",m="tnt",n="V5";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Systems";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Systems-4e0d425a.js b/nightly/assets/Systems-4e0d425a.js deleted file mode 100644 index 78a318cda57a..000000000000 --- a/nightly/assets/Systems-4e0d425a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Systems-cd196967.js";import s from"./tnt-Scene-Systems-48fa9cfd.js";import r from"./tnt-Spot-Systems-6d79979e.js";const e="Systems",m="tnt",n="V4";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Systems";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Systems-801ce075.js b/nightly/assets/Systems-801ce075.js new file mode 100644 index 000000000000..2dafb4881dcc --- /dev/null +++ b/nightly/assets/Systems-801ce075.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Systems-cd196967.js";import s from"./tnt-Scene-Systems-48fa9cfd.js";import r from"./tnt-Spot-Systems-6d79979e.js";const e="Systems",m="tnt",n="V4";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Systems";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Systems-ae13d6ee.js b/nightly/assets/Systems-ae13d6ee.js deleted file mode 100644 index 2f835abc1858..000000000000 --- a/nightly/assets/Systems-ae13d6ee.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Systems-06d28c83.js";import s from"./tnt-Scene-Systems-adc69e0f.js";import r from"./tnt-Spot-Systems-92d76750.js";const e="Systems",m="tnt",n="V5";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Systems";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Systems-b4344ae3.js b/nightly/assets/Systems-b4344ae3.js new file mode 100644 index 000000000000..be1ea9ef1db0 --- /dev/null +++ b/nightly/assets/Systems-b4344ae3.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Systems-6bdad1bc.js";import s from"./tnt-Scene-Systems-304cdcb1.js";import r from"./tnt-Spot-Systems-a6a2c05d.js";const e="Systems",m="tnt",n="V5/HC";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Systems";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Systems-f432c220.js b/nightly/assets/Systems-f432c220.js deleted file mode 100644 index bab017c52d32..000000000000 --- a/nightly/assets/Systems-f432c220.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Systems-6bdad1bc.js";import s from"./tnt-Scene-Systems-304cdcb1.js";import r from"./tnt-Spot-Systems-a6a2c05d.js";const e="Systems",m="tnt",n="V5/HC";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Systems";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Teams-0554007b.js b/nightly/assets/Teams-0554007b.js deleted file mode 100644 index dfd4dac7fe7b..000000000000 --- a/nightly/assets/Teams-0554007b.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Teams-79e63dab.js";import s from"./tnt-Scene-Teams-db510820.js";import r from"./tnt-Spot-Teams-71fdea77.js";const e="Teams",m="tnt",n="V4";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Teams";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Teams-871bbe2e.js b/nightly/assets/Teams-871bbe2e.js new file mode 100644 index 000000000000..81607592de11 --- /dev/null +++ b/nightly/assets/Teams-871bbe2e.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Teams-b16a1fc3.js";import s from"./tnt-Scene-Teams-a77e82e9.js";import r from"./tnt-Spot-Teams-df610d5e.js";const e="Teams",m="tnt",n="V5/HC";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Teams";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Teams-a7c71cec.js b/nightly/assets/Teams-a7c71cec.js deleted file mode 100644 index c4caa8b9ff83..000000000000 --- a/nightly/assets/Teams-a7c71cec.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Teams-917132ed.js";import s from"./tnt-Scene-Teams-2edeec2e.js";import r from"./tnt-Spot-Teams-952a67ff.js";const e="Teams",m="tnt",n="V5";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Teams";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Teams-c4d6c369.js b/nightly/assets/Teams-c4d6c369.js deleted file mode 100644 index 5fd563200549..000000000000 --- a/nightly/assets/Teams-c4d6c369.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Teams-b16a1fc3.js";import s from"./tnt-Scene-Teams-a77e82e9.js";import r from"./tnt-Spot-Teams-df610d5e.js";const e="Teams",m="tnt",n="V5/HC";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Teams";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Teams-dd4af92a.js b/nightly/assets/Teams-dd4af92a.js new file mode 100644 index 000000000000..90f18c5863dc --- /dev/null +++ b/nightly/assets/Teams-dd4af92a.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Teams-79e63dab.js";import s from"./tnt-Scene-Teams-db510820.js";import r from"./tnt-Spot-Teams-71fdea77.js";const e="Teams",m="tnt",n="V4";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Teams";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Teams-e590eced.js b/nightly/assets/Teams-e590eced.js new file mode 100644 index 000000000000..2c0d691697fb --- /dev/null +++ b/nightly/assets/Teams-e590eced.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Teams-917132ed.js";import s from"./tnt-Scene-Teams-2edeec2e.js";import r from"./tnt-Spot-Teams-952a67ff.js";const e="Teams",m="tnt",n="V5";t(e,{dialogSvg:o,sceneSvg:s,spotSvg:r,set:m,collection:n});const p="tnt/Teams";export{p as default,o as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Tools-05b53ef3.js b/nightly/assets/Tools-05b53ef3.js new file mode 100644 index 000000000000..d3df6c3c94a2 --- /dev/null +++ b/nightly/assets/Tools-05b53ef3.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Tools-ef1f72ff.js";import s from"./tnt-Scene-Tools-3da48482.js";import r from"./tnt-Spot-Tools-59e68a01.js";const n="Tools",e="tnt",l="V5";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/Tools";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Tools-16ea8744.js b/nightly/assets/Tools-16ea8744.js new file mode 100644 index 000000000000..e7fe044fc5b9 --- /dev/null +++ b/nightly/assets/Tools-16ea8744.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Tools-ee9a4de4.js";import s from"./tnt-Scene-Tools-7dca6e67.js";import r from"./tnt-Spot-Tools-3f139ff6.js";const n="Tools",e="tnt",l="V5/HC";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/Tools";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Tools-18578b60.js b/nightly/assets/Tools-18578b60.js new file mode 100644 index 000000000000..8077217796d5 --- /dev/null +++ b/nightly/assets/Tools-18578b60.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Tools-c39092cf.js";import s from"./tnt-Scene-Tools-993a08c0.js";import r from"./tnt-Spot-Tools-79321c32.js";const n="Tools",e="tnt",l="V4";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/Tools";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Tools-8559d197.js b/nightly/assets/Tools-8559d197.js deleted file mode 100644 index 64f89526e6de..000000000000 --- a/nightly/assets/Tools-8559d197.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Tools-ee9a4de4.js";import s from"./tnt-Scene-Tools-7dca6e67.js";import r from"./tnt-Spot-Tools-3f139ff6.js";const n="Tools",e="tnt",l="V5/HC";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/Tools";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Tools-e5e3c32e.js b/nightly/assets/Tools-e5e3c32e.js deleted file mode 100644 index 42a141b2eb65..000000000000 --- a/nightly/assets/Tools-e5e3c32e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Tools-ef1f72ff.js";import s from"./tnt-Scene-Tools-3da48482.js";import r from"./tnt-Spot-Tools-59e68a01.js";const n="Tools",e="tnt",l="V5";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/Tools";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Tools-ee0e0c86.js b/nightly/assets/Tools-ee0e0c86.js deleted file mode 100644 index 8018cc9f5dca..000000000000 --- a/nightly/assets/Tools-ee0e0c86.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Tools-c39092cf.js";import s from"./tnt-Scene-Tools-993a08c0.js";import r from"./tnt-Spot-Tools-79321c32.js";const n="Tools",e="tnt",l="V4";o(n,{dialogSvg:t,sceneSvg:s,spotSvg:r,set:e,collection:l});const p="tnt/Tools";export{p as default,t as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Tutorials-177b1bc0.js b/nightly/assets/Tutorials-177b1bc0.js deleted file mode 100644 index 0e7143142d30..000000000000 --- a/nightly/assets/Tutorials-177b1bc0.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Tutorials-751f9575.js";import r from"./tnt-Scene-Tutorials-fc5e732b.js";import s from"./tnt-Spot-Tutorials-99cd9f6f.js";const i="Tutorials",n="tnt",a="V4";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:n,collection:a});const p="tnt/Tutorials";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Tutorials-8cfcf19f.js b/nightly/assets/Tutorials-8cfcf19f.js new file mode 100644 index 000000000000..7338325c4e8c --- /dev/null +++ b/nightly/assets/Tutorials-8cfcf19f.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Tutorials-751f9575.js";import r from"./tnt-Scene-Tutorials-fc5e732b.js";import s from"./tnt-Spot-Tutorials-99cd9f6f.js";const i="Tutorials",n="tnt",a="V4";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:n,collection:a});const p="tnt/Tutorials";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Tutorials-8e9deb90.js b/nightly/assets/Tutorials-8e9deb90.js new file mode 100644 index 000000000000..afa1f825c3ba --- /dev/null +++ b/nightly/assets/Tutorials-8e9deb90.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-Tutorials-5a3e2b4d.js";import r from"./tnt-Scene-Tutorials-423c9de0.js";import s from"./tnt-Spot-Tutorials-9b24d16a.js";const i="Tutorials",n="tnt",a="V5/HC";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:n,collection:a});const p="tnt/Tutorials";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/Tutorials-bffc8198.js b/nightly/assets/Tutorials-bffc8198.js deleted file mode 100644 index 7b9eeef7cf74..000000000000 --- a/nightly/assets/Tutorials-bffc8198.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-Tutorials-5a3e2b4d.js";import r from"./tnt-Scene-Tutorials-423c9de0.js";import s from"./tnt-Spot-Tutorials-9b24d16a.js";const i="Tutorials",n="tnt",a="V5/HC";t(i,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:n,collection:a});const p="tnt/Tutorials";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/UnSuccessfulAuth-5bb52372.js b/nightly/assets/UnSuccessfulAuth-5bb52372.js new file mode 100644 index 000000000000..da8e857aa27f --- /dev/null +++ b/nightly/assets/UnSuccessfulAuth-5bb52372.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-UnSuccessfulAuth-247e77fc.js";import s from"./tnt-Scene-UnSuccessfulAuth-ce64df64.js";import c from"./tnt-Spot-UnSuccessfulAuth-e7781e3c.js";const n="UnSuccessfulAuth",r="tnt",e="V5/HC";t(n,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:r,collection:e});const i="tnt/UnSuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/UnSuccessfulAuth-9fd18ea8.js b/nightly/assets/UnSuccessfulAuth-9fd18ea8.js new file mode 100644 index 000000000000..786bc80ea606 --- /dev/null +++ b/nightly/assets/UnSuccessfulAuth-9fd18ea8.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-UnSuccessfulAuth-a2188713.js";import s from"./tnt-Scene-UnSuccessfulAuth-1c4e4de1.js";import c from"./tnt-Spot-UnSuccessfulAuth-5f12dade.js";const n="UnSuccessfulAuth",r="tnt",e="V5";t(n,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:r,collection:e});const i="tnt/UnSuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/UnSuccessfulAuth-a03e1550.js b/nightly/assets/UnSuccessfulAuth-a03e1550.js deleted file mode 100644 index 5e1ccf3f2987..000000000000 --- a/nightly/assets/UnSuccessfulAuth-a03e1550.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-UnSuccessfulAuth-247e77fc.js";import s from"./tnt-Scene-UnSuccessfulAuth-ce64df64.js";import c from"./tnt-Spot-UnSuccessfulAuth-e7781e3c.js";const n="UnSuccessfulAuth",r="tnt",e="V5/HC";t(n,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:r,collection:e});const i="tnt/UnSuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/UnSuccessfulAuth-dfbe866f.js b/nightly/assets/UnSuccessfulAuth-dfbe866f.js deleted file mode 100644 index 9ffdcb07e270..000000000000 --- a/nightly/assets/UnSuccessfulAuth-dfbe866f.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-UnSuccessfulAuth-a2188713.js";import s from"./tnt-Scene-UnSuccessfulAuth-1c4e4de1.js";import c from"./tnt-Spot-UnSuccessfulAuth-5f12dade.js";const n="UnSuccessfulAuth",r="tnt",e="V5";t(n,{dialogSvg:o,sceneSvg:s,spotSvg:c,set:r,collection:e});const i="tnt/UnSuccessfulAuth";export{i as default,o as dialogSvg,s as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/UnableToLoad-13b7aaff.js b/nightly/assets/UnableToLoad-13b7aaff.js new file mode 100644 index 000000000000..74d747546720 --- /dev/null +++ b/nightly/assets/UnableToLoad-13b7aaff.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-UnableToLoad-d870e714.js";import n from"./tnt-Scene-UnableToLoad-dc521b1d.js";import r from"./tnt-Spot-UnableToLoad-ab8c29af.js";const a="UnableToLoad",e="tnt",s="V4";o(a,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:e,collection:s});const p="tnt/UnableToLoad";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/UnableToLoad-3efbbb0c.js b/nightly/assets/UnableToLoad-3efbbb0c.js new file mode 100644 index 000000000000..5695dcf5d9d1 --- /dev/null +++ b/nightly/assets/UnableToLoad-3efbbb0c.js @@ -0,0 +1 @@ +import{r as o,h as t,i as s}from"./bundle.esm-3abc4abd.js";import a from"./sapIllus-Dialog-UnableToLoad-65c0c598.js";import e from"./sapIllus-Scene-UnableToLoad-5985fefa.js";import r from"./sapIllus-Spot-UnableToLoad-05aac9c4.js";const i="UnableToLoad",n="fiori",l="V4",c=t,m=s;o(i,{dialogSvg:a,sceneSvg:e,spotSvg:r,title:c,subtitle:m,set:n,collection:l});const U="UnableToLoad";export{U as default,a as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/UnableToLoad-b4cb0aaa.js b/nightly/assets/UnableToLoad-b4cb0aaa.js deleted file mode 100644 index e4687946449d..000000000000 --- a/nightly/assets/UnableToLoad-b4cb0aaa.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-UnableToLoad-d870e714.js";import n from"./tnt-Scene-UnableToLoad-dc521b1d.js";import r from"./tnt-Spot-UnableToLoad-ab8c29af.js";const a="UnableToLoad",e="tnt",s="V4";o(a,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:e,collection:s});const p="tnt/UnableToLoad";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/UnableToLoad-ea5a0fd2.js b/nightly/assets/UnableToLoad-ea5a0fd2.js deleted file mode 100644 index 05f76122e450..000000000000 --- a/nightly/assets/UnableToLoad-ea5a0fd2.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,h as t,i as s}from"./bundle.esm-fe82a1f4.js";import a from"./sapIllus-Dialog-UnableToLoad-65c0c598.js";import e from"./sapIllus-Scene-UnableToLoad-5985fefa.js";import r from"./sapIllus-Spot-UnableToLoad-05aac9c4.js";const i="UnableToLoad",n="fiori",l="V4",c=t,m=s;o(i,{dialogSvg:a,sceneSvg:e,spotSvg:r,title:c,subtitle:m,set:n,collection:l});const U="UnableToLoad";export{U as default,a as dialogSvg,e as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/UnableToLoadImage-13c94394.js b/nightly/assets/UnableToLoadImage-13c94394.js new file mode 100644 index 000000000000..6807d57c6e8a --- /dev/null +++ b/nightly/assets/UnableToLoadImage-13c94394.js @@ -0,0 +1 @@ +import{r as o,a3 as t,a4 as a}from"./bundle.esm-3abc4abd.js";import e from"./sapIllus-Dialog-UnableToLoadImage-d4511593.js";import s from"./sapIllus-Scene-UnableToLoadImage-c6698bcf.js";import r from"./sapIllus-Spot-UnableToLoadImage-5aa427ff.js";const n="UnableToLoadImage",i="fiori",m="V4",l=t,I=a;o(n,{dialogSvg:e,sceneSvg:s,spotSvg:r,title:l,subtitle:I,set:i,collection:m});const f="UnableToLoadImage";export{f as default,e as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/UnableToLoadImage-63b74ca3.js b/nightly/assets/UnableToLoadImage-63b74ca3.js deleted file mode 100644 index 37bac4908c95..000000000000 --- a/nightly/assets/UnableToLoadImage-63b74ca3.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,a3 as t,a4 as a}from"./bundle.esm-fe82a1f4.js";import e from"./sapIllus-Dialog-UnableToLoadImage-d4511593.js";import s from"./sapIllus-Scene-UnableToLoadImage-c6698bcf.js";import r from"./sapIllus-Spot-UnableToLoadImage-5aa427ff.js";const n="UnableToLoadImage",i="fiori",m="V4",l=t,I=a;o(n,{dialogSvg:e,sceneSvg:s,spotSvg:r,title:l,subtitle:I,set:i,collection:m});const f="UnableToLoadImage";export{f as default,e as dialogSvg,s as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/UnableToUpload-f339557a.js b/nightly/assets/UnableToUpload-f339557a.js deleted file mode 100644 index 2789503f6728..000000000000 --- a/nightly/assets/UnableToUpload-f339557a.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,p as t,q as s}from"./bundle.esm-fe82a1f4.js";import a from"./sapIllus-Dialog-UnableToUpload-6ca1d50f.js";import e from"./sapIllus-Scene-UnableToUpload-94d2fc97.js";import l from"./sapIllus-Spot-UnableToUpload-ba28f3a2.js";const r="UnableToUpload",n="fiori",i="V4",U=t,p=s;o(r,{dialogSvg:a,sceneSvg:e,spotSvg:l,title:U,subtitle:p,set:n,collection:i});const L="UnableToUpload";export{L as default,a as dialogSvg,e as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/UnableToUpload-f61cc8e9.js b/nightly/assets/UnableToUpload-f61cc8e9.js new file mode 100644 index 000000000000..4b91d7de82b1 --- /dev/null +++ b/nightly/assets/UnableToUpload-f61cc8e9.js @@ -0,0 +1 @@ +import{r as o,p as t,q as s}from"./bundle.esm-3abc4abd.js";import a from"./sapIllus-Dialog-UnableToUpload-6ca1d50f.js";import e from"./sapIllus-Scene-UnableToUpload-94d2fc97.js";import l from"./sapIllus-Spot-UnableToUpload-ba28f3a2.js";const r="UnableToUpload",n="fiori",i="V4",U=t,p=s;o(r,{dialogSvg:a,sceneSvg:e,spotSvg:l,title:U,subtitle:p,set:n,collection:i});const L="UnableToUpload";export{L as default,a as dialogSvg,e as sceneSvg,l as spotSvg}; diff --git a/nightly/assets/Unlock-04a53ce7.js b/nightly/assets/Unlock-04a53ce7.js new file mode 100644 index 000000000000..b582c840d6b5 --- /dev/null +++ b/nightly/assets/Unlock-04a53ce7.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Unlock-4ead380f.js";import n from"./tnt-Scene-Unlock-0410f8ae.js";import r from"./tnt-Spot-Unlock-1d1405ea.js";const s="Unlock",c="tnt",e="V4";o(s,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:c,collection:e});const p="tnt/Unlock";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Unlock-26c9c83a.js b/nightly/assets/Unlock-26c9c83a.js new file mode 100644 index 000000000000..ac73be851d1d --- /dev/null +++ b/nightly/assets/Unlock-26c9c83a.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Unlock-6659ad84.js";import n from"./tnt-Scene-Unlock-d3b5e9ba.js";import r from"./tnt-Spot-Unlock-32ff1666.js";const s="Unlock",c="tnt",e="V5/HC";o(s,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:c,collection:e});const p="tnt/Unlock";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Unlock-891b2159.js b/nightly/assets/Unlock-891b2159.js new file mode 100644 index 000000000000..7b4bdca5c330 --- /dev/null +++ b/nightly/assets/Unlock-891b2159.js @@ -0,0 +1 @@ +import{r as o}from"./bundle.esm-3abc4abd.js";import t from"./tnt-Dialog-Unlock-843af754.js";import n from"./tnt-Scene-Unlock-6950bd4b.js";import r from"./tnt-Spot-Unlock-ea6a5bf7.js";const s="Unlock",c="tnt",e="V5";o(s,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:c,collection:e});const p="tnt/Unlock";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Unlock-8f900108.js b/nightly/assets/Unlock-8f900108.js deleted file mode 100644 index f97300e515df..000000000000 --- a/nightly/assets/Unlock-8f900108.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Unlock-843af754.js";import n from"./tnt-Scene-Unlock-6950bd4b.js";import r from"./tnt-Spot-Unlock-ea6a5bf7.js";const s="Unlock",c="tnt",e="V5";o(s,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:c,collection:e});const p="tnt/Unlock";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Unlock-997ce6b0.js b/nightly/assets/Unlock-997ce6b0.js deleted file mode 100644 index 9a955b227436..000000000000 --- a/nightly/assets/Unlock-997ce6b0.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Unlock-6659ad84.js";import n from"./tnt-Scene-Unlock-d3b5e9ba.js";import r from"./tnt-Spot-Unlock-32ff1666.js";const s="Unlock",c="tnt",e="V5/HC";o(s,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:c,collection:e});const p="tnt/Unlock";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/Unlock-ab6b8157.js b/nightly/assets/Unlock-ab6b8157.js deleted file mode 100644 index 4f529fe63dfe..000000000000 --- a/nightly/assets/Unlock-ab6b8157.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o}from"./bundle.esm-fe82a1f4.js";import t from"./tnt-Dialog-Unlock-4ead380f.js";import n from"./tnt-Scene-Unlock-0410f8ae.js";import r from"./tnt-Spot-Unlock-1d1405ea.js";const s="Unlock",c="tnt",e="V4";o(s,{dialogSvg:t,sceneSvg:n,spotSvg:r,set:c,collection:e});const p="tnt/Unlock";export{p as default,t as dialogSvg,n as sceneSvg,r as spotSvg}; diff --git a/nightly/assets/UnsuccessfulAuth-9fecda0e.js b/nightly/assets/UnsuccessfulAuth-9fecda0e.js new file mode 100644 index 000000000000..120baca51444 --- /dev/null +++ b/nightly/assets/UnsuccessfulAuth-9fecda0e.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import s from"./tnt-Dialog-UnsuccessfulAuth-da5ad8f3.js";import o from"./tnt-Scene-UnsuccessfulAuth-cfd12641.js";import c from"./tnt-Spot-UnsuccessfulAuth-3621fd38.js";const n="UnsuccessfulAuth",r="tnt",e="V4";t(n,{dialogSvg:s,sceneSvg:o,spotSvg:c,set:r,collection:e});const i="tnt/UnsuccessfulAuth";export{i as default,s as dialogSvg,o as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/UnsuccessfulAuth-aa335742.js b/nightly/assets/UnsuccessfulAuth-aa335742.js deleted file mode 100644 index 51faca25d69a..000000000000 --- a/nightly/assets/UnsuccessfulAuth-aa335742.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import s from"./tnt-Dialog-UnsuccessfulAuth-da5ad8f3.js";import o from"./tnt-Scene-UnsuccessfulAuth-cfd12641.js";import c from"./tnt-Spot-UnsuccessfulAuth-3621fd38.js";const n="UnsuccessfulAuth",r="tnt",e="V4";t(n,{dialogSvg:s,sceneSvg:o,spotSvg:c,set:r,collection:e});const i="tnt/UnsuccessfulAuth";export{i as default,s as dialogSvg,o as sceneSvg,c as spotSvg}; diff --git a/nightly/assets/UploadCollection-3c3c5b06.js b/nightly/assets/UploadCollection-3c3c5b06.js deleted file mode 100644 index 6b7469f940c1..000000000000 --- a/nightly/assets/UploadCollection-3c3c5b06.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,a5 as t,a6 as l}from"./bundle.esm-fe82a1f4.js";import s from"./sapIllus-Dialog-UploadCollection-913b870e.js";import i from"./sapIllus-Scene-UploadCollection-6da7ad1a.js";import e from"./sapIllus-Spot-UploadCollection-37845165.js";const r="UploadCollection",a="fiori",n="V4",c=t,m=l;o(r,{dialogSvg:s,sceneSvg:i,spotSvg:e,title:c,subtitle:m,set:a,collection:n});const f="UploadCollection";export{f as default,s as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/UploadCollection-40575784.js b/nightly/assets/UploadCollection-40575784.js new file mode 100644 index 000000000000..daa187714161 --- /dev/null +++ b/nightly/assets/UploadCollection-40575784.js @@ -0,0 +1 @@ +import{r as o,a5 as t,a6 as l}from"./bundle.esm-3abc4abd.js";import s from"./sapIllus-Dialog-UploadCollection-913b870e.js";import i from"./sapIllus-Scene-UploadCollection-6da7ad1a.js";import e from"./sapIllus-Spot-UploadCollection-37845165.js";const r="UploadCollection",a="fiori",n="V4",c=t,m=l;o(r,{dialogSvg:s,sceneSvg:i,spotSvg:e,title:c,subtitle:m,set:a,collection:n});const f="UploadCollection";export{f as default,s as dialogSvg,i as sceneSvg,e as spotSvg}; diff --git a/nightly/assets/UploadToCloud-9380956e.js b/nightly/assets/UploadToCloud-9380956e.js deleted file mode 100644 index feb423a58176..000000000000 --- a/nightly/assets/UploadToCloud-9380956e.js +++ /dev/null @@ -1 +0,0 @@ -import{r as o,a7 as t,a8 as s}from"./bundle.esm-fe82a1f4.js";import l from"./sapIllus-Dialog-UploadToCloud-3f4a92ba.js";import r from"./sapIllus-Scene-UploadToCloud-4ce1a8dd.js";import a from"./sapIllus-Spot-UploadToCloud-c4ffbde9.js";const i="UploadToCloud",e="fiori",n="V4",c=t,m=s;o(i,{dialogSvg:l,sceneSvg:r,spotSvg:a,title:c,subtitle:m,set:e,collection:n});const f="UploadToCloud";export{f as default,l as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/UploadToCloud-b067b4f4.js b/nightly/assets/UploadToCloud-b067b4f4.js new file mode 100644 index 000000000000..db70bee4e248 --- /dev/null +++ b/nightly/assets/UploadToCloud-b067b4f4.js @@ -0,0 +1 @@ +import{r as o,a7 as t,a8 as s}from"./bundle.esm-3abc4abd.js";import l from"./sapIllus-Dialog-UploadToCloud-3f4a92ba.js";import r from"./sapIllus-Scene-UploadToCloud-4ce1a8dd.js";import a from"./sapIllus-Spot-UploadToCloud-c4ffbde9.js";const i="UploadToCloud",e="fiori",n="V4",c=t,m=s;o(i,{dialogSvg:l,sceneSvg:r,spotSvg:a,title:c,subtitle:m,set:e,collection:n});const f="UploadToCloud";export{f as default,l as dialogSvg,r as sceneSvg,a as spotSvg}; diff --git a/nightly/assets/User2-74de8e15.js b/nightly/assets/User2-74de8e15.js new file mode 100644 index 000000000000..861d61ef71cc --- /dev/null +++ b/nightly/assets/User2-74de8e15.js @@ -0,0 +1 @@ +import{r as t}from"./bundle.esm-3abc4abd.js";import o from"./tnt-Dialog-User2-163169f8.js";import r from"./tnt-Scene-User2-12a70d83.js";import s from"./tnt-Spot-User2-eb30356c.js";const e="User2",n="tnt",m="V4";t(e,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:n,collection:m});const p="tnt/User2";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/User2-83487d8d.js b/nightly/assets/User2-83487d8d.js deleted file mode 100644 index d7739b21e219..000000000000 --- a/nightly/assets/User2-83487d8d.js +++ /dev/null @@ -1 +0,0 @@ -import{r as t}from"./bundle.esm-fe82a1f4.js";import o from"./tnt-Dialog-User2-163169f8.js";import r from"./tnt-Scene-User2-12a70d83.js";import s from"./tnt-Spot-User2-eb30356c.js";const e="User2",n="tnt",m="V4";t(e,{dialogSvg:o,sceneSvg:r,spotSvg:s,set:n,collection:m});const p="tnt/User2";export{p as default,o as dialogSvg,r as sceneSvg,s as spotSvg}; diff --git a/nightly/assets/bundle.esm-15b6ced3.js b/nightly/assets/bundle.esm-15b6ced3.js new file mode 100644 index 000000000000..70eeda084515 --- /dev/null +++ b/nightly/assets/bundle.esm-15b6ced3.js @@ -0,0 +1,347 @@ +var r$=Object.defineProperty;var n$=(i,e,t)=>e in i?r$(i,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):i[e]=t;var Qo=(i,e,t)=>(n$(i,typeof e!="symbol"?e+"":e,t),t),xd=(i,e,t)=>{if(!e.has(i))throw TypeError("Cannot "+t)};var Hn=(i,e,t)=>(xd(i,e,"read from private field"),t?t.call(i):e.get(i)),Bc=(i,e,t)=>{if(e.has(i))throw TypeError("Cannot add the same private member more than once");e instanceof WeakSet?e.add(i):e.set(i,t)},Iv=(i,e,t,o)=>(xd(i,e,"write to private field"),o?o.call(i,t):e.set(i,t),t);var Cv=(i,e,t)=>(xd(i,e,"access private method"),t);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))o(r);new MutationObserver(r=>{for(const n of r)if(n.type==="childList")for(const s of n.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&o(s)}).observe(document,{childList:!0,subtree:!0});function t(r){const n={};return r.integrity&&(n.integrity=r.integrity),r.referrerPolicy&&(n.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?n.credentials="include":r.crossOrigin==="anonymous"?n.credentials="omit":n.credentials="same-origin",n}function o(r){if(r.ep)return;r.ep=!0;const n=t(r);fetch(r.href,n)}})();const Qb=new Map,Da=(i,e)=>{Qb.set(i,e)},Se=i=>Qb.get(i);var Jb={},e1=Jb.hasOwnProperty,a$=Jb.toString,t1=e1.toString,s$=t1.call(Object),Av=function(i){var e,t;return!i||a$.call(i)!=="[object Object]"?!1:(e=Object.getPrototypeOf(i),e?(t=e1.call(e,"constructor")&&e.constructor,typeof t=="function"&&t1.call(t)===s$):!0)},l$=Object.create(null),i1=function(i,e,t,o){var r,n,s,l,_,p,v=arguments[2]||{},f=3,g=arguments.length,w=arguments[0]||!1,A=arguments[1]?void 0:l$;for(typeof v!="object"&&typeof v!="function"&&(v={});f{const e=document.querySelector(`META[name="${i}"]`);return e&&e.getAttribute("content")},d$=i=>{const e=u$("sap-allowedThemeOrigins");return e&&e.split(",").some(t=>t==="*"||i===t.trim())},_$=(i,e)=>{const t=new URL(i).pathname;return new URL(t,e).toString()},o1=i=>{let e;try{if(i.startsWith(".")||i.startsWith("/"))e=new URL(i,window.location.href).toString();else{const t=new URL(i),o=t.origin;o&&d$(o)?e=t.toString():e=_$(t.toString(),window.location.href)}return e.endsWith("/")||(e=`${e}/`),`${e}UI5/`}catch{}};var __;(function(i){i.Full="full",i.Basic="basic",i.Minimal="minimal",i.None="none"})(__||(__={}));const bs=__;let Ev=!1,zt={animationMode:bs.Full,theme:hu,themeRoot:void 0,rtl:void 0,language:void 0,timezone:void 0,calendarType:void 0,secondaryCalendarType:void 0,noConflict:!1,formatSettings:{},fetchDefaultLanguage:!1};const h$=()=>(Ho(),zt.animationMode),p$=()=>(Ho(),zt.theme),v$=()=>(Ho(),zt.themeRoot),f$=()=>(Ho(),zt.rtl),m$=()=>(Ho(),zt.language),g$=()=>(Ho(),zt.fetchDefaultLanguage),b$=()=>(Ho(),zt.noConflict),y$=()=>(Ho(),zt.calendarType),w$=()=>(Ho(),zt.secondaryCalendarType),k$=()=>(Ho(),zt.timezone),r1=()=>(Ho(),zt.formatSettings),pu=new Map;pu.set("true",!0);pu.set("false",!1);const $$=()=>{const i=document.querySelector("[data-ui5-config]")||document.querySelector("[data-id='sap-ui-config']");let e;if(i){try{e=JSON.parse(i.innerHTML)}catch{console.warn("Incorrect data-sap-ui-config format. Please use JSON")}e&&(zt=ap(zt,e))}},T$=()=>{const i=new URLSearchParams(window.location.search);i.forEach((e,t)=>{const o=t.split("sap-").length;o===0||o===t.split("sap-ui-").length||Dv(t,e,"sap")}),i.forEach((e,t)=>{t.startsWith("sap-ui")&&Dv(t,e,"sap-ui")})},x$=i=>{const e=i.split("@")[1];return o1(e)},S$=(i,e)=>i==="theme"&&e.includes("@")?e.split("@")[0]:e,Dv=(i,e,t)=>{const o=e.toLowerCase(),r=i.split(`${t}-`)[1];pu.has(e)&&(e=pu.get(o)),r==="theme"?(zt.theme=S$(r,e),e&&e.includes("@")&&(zt.themeRoot=x$(e))):zt[r]=e},I$=()=>{const i=Se("OpenUI5Support");if(!i||!i.isOpenUI5Detected())return;const e=i.getConfigurationSettingsObject();zt=ap(zt,e)},Ho=()=>{typeof document>"u"||Ev||($$(),T$(),I$(),Ev=!0)};class ur{constructor(){this._eventRegistry=new Map}attachEvent(e,t){const o=this._eventRegistry,r=o.get(e);if(!Array.isArray(r)){o.set(e,[t]);return}r.includes(t)||r.push(t)}detachEvent(e,t){const o=this._eventRegistry,r=o.get(e);if(!r)return;const n=r.indexOf(t);n!==-1&&r.splice(n,1),r.length===0&&o.delete(e)}fireEvent(e,t){const r=this._eventRegistry.get(e);return r?r.map(n=>n.call(this,t)):[]}fireEventAsync(e,t){return Promise.all(this.fireEvent(e,t))}isHandlerAttached(e,t){const r=this._eventRegistry.get(e);return r?r.includes(t):!1}hasListeners(e){return!!this._eventRegistry.get(e)}}const Pv=10;class C${constructor(){this.list=[],this.lookup=new Set}add(e){this.lookup.has(e)||(this.list.push(e),this.lookup.add(e))}remove(e){this.lookup.has(e)&&(this.list=this.list.filter(t=>t!==e),this.lookup.delete(e))}shift(){const e=this.list.shift();if(e)return this.lookup.delete(e),e}isEmpty(){return this.list.length===0}isAdded(e){return this.lookup.has(e)}process(e){let t;const o=new Map;for(t=this.shift();t;){const r=o.get(t)||0;if(r>Pv)throw new Error(`Web component processed too many times this task, max allowed is: ${Pv}`);e(t),o.set(t,r+1),t=this.shift()}}}const vu=(i,e=document.body,t)=>{let o=document.querySelector(i);return o||(o=t?t():document.createElement(i),e.insertBefore(o,e.firstChild))},A$=()=>{const i=document.createElement("meta");return i.setAttribute("name","ui5-shared-resources"),i.setAttribute("content",""),i},B$=()=>typeof document>"u"?null:vu('meta[name="ui5-shared-resources"]',document.head,A$),Bn=(i,e)=>{const t=i.split(".");let o=B$();if(!o)return e;for(let r=0;r{if(Uc===void 0){Uc=Il.length;const i=n1;Il.push({...i,alias:Wc,description:`Runtime ${Uc} - ver ${i.version}${Wc?` (${Wc})`:""}`})}},ys=()=>Uc,a1=(i,e)=>{const t=`${i},${e}`;if(Sd.has(t))return Sd.get(t);const o=Il[i],r=Il[e];if(!o||!r)throw new Error("Invalid runtime index supplied");if(o.isNext||r.isNext)return o.buildTime-r.buildTime;const n=o.major-r.major;if(n)return n;const s=o.minor-r.minor;if(s)return s;const l=o.patch-r.patch;if(l)return l;const p=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"}).compare(o.suffix,r.suffix);return Sd.set(t,p),p},D$=i=>{Wc=i},P$=()=>Il,s1=Bn("Tags",new Map),sp=new Set;let la=new Map,Id;const l1=-1,O$=i=>{sp.add(i),s1.set(i,ys())},R$=i=>sp.has(i),L$=()=>[...sp.values()],M$=i=>{let e=s1.get(i);e===void 0&&(e=l1),la.has(e)||la.set(e,new Set),la.get(e).add(i),Id||(Id=setTimeout(()=>{N$(),la=new Map,Id=void 0},1e3))},N$=()=>{const i=P$(),e=ys(),t=i[e];let o="Multiple UI5 Web Components instances detected.";i.length>1&&(o=`${o} +Loading order (versions before 1.1.0 not listed): ${i.map(r=>` +${r.description}`).join("")}`),[...la.keys()].forEach(r=>{let n,s;r===l1?(n=1,s={description:"Older unknown runtime"}):(n=a1(e,r),s=i[r]);let l;n>0?l="an older":n<0?l="a newer":l="the same",o=`${o} + +"${t.description}" failed to define ${la.get(r).size} tag(s) as they were defined by a runtime of ${l} version "${s.description}": ${[...la.get(r)].sort().join(", ")}.`,n>0?o=`${o} +WARNING! If your code uses features of the above web components, unavailable in ${s.description}, it might not work as expected!`:o=`${o} +Since the above web components were defined by the same or newer version runtime, they should be compatible with your code.`}),o=`${o} + +To prevent other runtimes from defining tags that you use, consider using scoping or have third-party libraries use scoping: https://github.com/SAP/ui5-webcomponents/blob/main/docs/2-advanced/03-scoping.md.`,console.warn(o)},c1=new Set,F$=i=>{c1.add(i)},z$=i=>c1.has(i),lp=new Set,V$=new ur,os=new C$;let Va,qc,Cd,Ec;const cp=async i=>{os.add(i),await U$()},u1=i=>{V$.fireEvent("beforeComponentRender",i),lp.add(i),i._render()},H$=i=>{os.remove(i),lp.delete(i)},U$=async()=>{Ec||(Ec=new Promise(i=>{window.requestAnimationFrame(()=>{os.process(u1),Ec=null,i(),Cd||(Cd=setTimeout(()=>{Cd=void 0,os.isEmpty()&&j$()},200))})})),await Ec},W$=()=>Va||(Va=new Promise(i=>{qc=i,window.requestAnimationFrame(()=>{os.isEmpty()&&(Va=void 0,i())})}),Va),q$=()=>{const i=L$().map(e=>customElements.whenDefined(e));return Promise.all(i)},Bi=async()=>{await q$(),await W$()},j$=()=>{os.isEmpty()&&qc&&(qc(),qc=void 0,Va=void 0)},oc=async i=>{lp.forEach(e=>{const t=e.constructor,o=t.getMetadata().getTag(),r=z$(t),n=t.getMetadata().isLanguageAware(),s=t.getMetadata().isThemeAware();(!i||i.tag===o||i.rtlAware&&r||i.languageAware&&n||i.themeAware&&s)&&cp(e)}),await Bi()},G$=(i,e)=>{const t=document.createElement("style");return t.type="text/css",e&&Object.entries(e).forEach(o=>t.setAttribute(...o)),t.textContent=i,document.head.appendChild(t),t},up=(i,e)=>{const t=document.createElement("link");return t.type="text/css",t.rel="stylesheet",e&&Object.entries(e).forEach(o=>t.setAttribute(...o)),t.href=i,document.head.appendChild(t),new Promise(o=>{t.addEventListener("load",o),t.addEventListener("error",o)})},d1=new Map;let _1=!1,Y$=!0;const Wu=(i,e)=>{d1.set(i,e)},dp=(i,e)=>{const t=d1.get(i);return t?`${t}${e}`:(console.warn(`Root path to the CSS resources ${i} not provided - use "setPackageCSSRoot" to provide the root.`),"")},K$=i=>{_1=i},ws=()=>_1,X$=()=>Y$,Zt=typeof document>"u",ge={get userAgent(){return Zt?"":navigator.userAgent},get touch(){return Zt?!1:"ontouchstart"in window||navigator.maxTouchPoints>0},get ie(){return Zt?!1:/(msie|trident)/i.test(ge.userAgent)},get chrome(){return Zt?!1:!ge.ie&&/(Chrome|CriOS)/.test(ge.userAgent)},get firefox(){return Zt?!1:/Firefox/.test(ge.userAgent)},get safari(){return Zt?!1:!ge.ie&&!ge.chrome&&/(Version|PhantomJS)\/(\d+\.\d+).*Safari/.test(ge.userAgent)},get webkit(){return Zt?!1:!ge.ie&&/webkit/.test(ge.userAgent)},get windows(){return Zt?!1:navigator.platform.indexOf("Win")!==-1},get macOS(){return Zt?!1:!!navigator.userAgent.match(/Macintosh|Mac OS X/i)},get iOS(){return Zt?!1:!!navigator.platform.match(/iPhone|iPad|iPod/)||!!(ge.userAgent.match(/Mac/)&&"ontouchend"in document)},get android(){return Zt?!1:!ge.windows&&/Android/.test(ge.userAgent)},get androidPhone(){return Zt?!1:ge.android&&/(?=android)(?=.*mobile)/i.test(ge.userAgent)},get ipad(){return Zt?!1:/ipad/i.test(ge.userAgent)||/Macintosh/i.test(ge.userAgent)&&"ontouchend"in document}};let Ad,Bd,vn;const _p=()=>{if(Zt||!ge.windows)return!1;if(Ad===void 0){const i=ge.userAgent.match(/Windows NT (\d+).(\d)/);Ad=i?parseFloat(i[1]):0}return Ad>=8},Z$=()=>{if(Zt||!ge.webkit)return!1;if(Bd===void 0){const i=ge.userAgent.match(/(webkit)[ /]([\w.]+)/);Bd=i?parseFloat(i[1]):0}return Bd>=537.1},h1=()=>{if(Zt)return!1;if(vn===void 0){if(ge.ipad){vn=!0;return}if(ge.touch){if(_p()){vn=!0;return}if(ge.chrome&&ge.android){vn=!/Mobile Safari\/[.0-9]+/.test(ge.userAgent);return}let i=window.devicePixelRatio?window.devicePixelRatio:1;ge.android&&Z$()&&(i=1),vn=Math.min(window.screen.width/i,window.screen.height/i)>=600;return}vn=ge.ie&&ge.userAgent.indexOf("Touch")!==-1||ge.android&&!ge.androidPhone}},Cl=()=>ge.touch,zr=()=>ge.safari,Q$=()=>ge.chrome,p1=()=>ge.firefox,rc=()=>(h1(),(ge.touch||_p())&&vn),G=()=>(h1(),ge.touch&&!vn),vo=()=>Zt?!1:!rc()&&!G()||_p(),J$=()=>rc()&&vo(),eT=()=>ge.iOS,tT=()=>ge.macOS,hp=()=>ge.android||ge.androidPhone,iT=typeof document>"u",qu=(i,e)=>e?`${i}|${e}`:i,Ed=i=>i===void 0?!0:a1(ys(),parseInt(i))===1,nc=(i,e,t="",o)=>{const r=typeof i=="string"?i:i.content,n=ys();if(ws()){const s={};s[e]=t,o&&(s["data-ui5-runtime-index"]=n,s["data-ui5-theme"]=o);const l=dp(i.packageName,i.fileName);up(l,s)}else if(document.adoptedStyleSheets&&!zr()){const s=new CSSStyleSheet;s.replaceSync(r),s._ui5StyleId=qu(e,t),o&&(s._ui5RuntimeIndex=n,s._ui5Theme=o),document.adoptedStyleSheets=[...document.adoptedStyleSheets,s]}else{const s={};s[e]=t,o&&(s["data-ui5-runtime-index"]=n,s["data-ui5-theme"]=o),G$(r,s)}},oT=(i,e,t="",o)=>{const r=typeof i=="string"?i:i.content,n=ys();if(ws()){const s=document.querySelector(`head>link[${e}="${t}"]`),l=dp(i.packageName,i.fileName);if(!o)s.href=l;else{const _=s.getAttribute("data-ui5-runtime-index")||void 0;(s.getAttribute("data-ui5-theme")!==o||Ed(_))&&(s.href=l,s.setAttribute("data-ui5-runtime-index",String(n)),s.setAttribute("data-ui5-theme",o))}}else if(document.adoptedStyleSheets&&!zr()){const s=document.adoptedStyleSheets.find(l=>l._ui5StyleId===qu(e,t));if(!s)return;if(!o)s.replaceSync(r||"");else{const l=s._ui5RuntimeIndex;(s._ui5Theme!==o||Ed(l))&&(s.replaceSync(r||""),s._ui5RuntimeIndex=String(n),s._ui5Theme=o)}}else{const s=document.querySelector(`head>style[${e}="${t}"]`);if(!s)return;if(!o)s.textContent=r||"";else{const l=s.getAttribute("data-ui5-runtime-index")||void 0;(s.getAttribute("data-ui5-theme")!==o||Ed(l))&&(s.textContent=r||"",s.setAttribute("data-ui5-runtime-index",String(n)),s.setAttribute("data-ui5-theme",o))}}},ac=(i,e="")=>{if(iT)return!0;if(ws())return!!document.querySelector(`head>link[${i}="${e}"]`);const t=document.querySelector(`head>style[${i}="${e}"]`);return document.adoptedStyleSheets&&!zr()?!!t||!!document.adoptedStyleSheets.find(o=>o._ui5StyleId===qu(i,e)):!!t},rT=(i,e="")=>{var t,o;if(ws()){const r=document.querySelector(`head>link[${i}="${e}"]`);(t=r==null?void 0:r.parentElement)==null||t.removeChild(r)}else if(document.adoptedStyleSheets&&!zr())document.adoptedStyleSheets=document.adoptedStyleSheets.filter(r=>r._ui5StyleId!==qu(i,e));else{const r=document.querySelector(`head > style[${i}="${e}"]`);(o=r==null?void 0:r.parentElement)==null||o.removeChild(r)}},v1=(i,e,t="",o)=>{ac(e,t)?oT(i,e,t,o):nc(i,e,t,o)},nT=(i,e)=>{if(i===void 0)return e;if(e===void 0)return i;const t=typeof e=="string"?e:e.content;return typeof i=="string"?`${i} ${t}`:{content:`${i.content} ${t}`,packageName:i.packageName,fileName:i.fileName}},f1=new ur,m1="themeRegistered",aT=i=>{f1.attachEvent(m1,i)},sT=i=>f1.fireEvent(m1,i),Ov=new Map,g1=new Map,lT=new Map,b1=new Set,fu=new Set,b=(i,e,t)=>{g1.set(`${i}/${e}`,t),b1.add(i),fu.add(e),sT(e)},y1=async(i,e,t)=>{const o=`${i}_${e}_${t||""}`,r=Ov.get(o);if(r!==void 0)return r;if(!fu.has(e)){const _=[...fu.values()].join(", ");return console.warn(`You have requested a non-registered theme ${e} - falling back to ${hu}. Registered themes are: ${_}`),Dd(i,hu)}const[n,s]=await Promise.all([Dd(i,e),t?Dd(i,t,!0):void 0]),l=nT(n,s);return l&&Ov.set(o,l),l},Dd=async(i,e,t=!1)=>{const r=(t?lT:g1).get(`${i}/${e}`);if(!r){t||console.error(`Theme [${e}] not registered for package [${i}]`);return}let n;try{n=await r(e)}catch(l){console.error(i,l.message);return}return n._||n},w1=()=>b1,cT=i=>fu.has(i),Ka=new Set,uT=()=>{let i=document.querySelector(".sapThemeMetaData-Base-baseLib")||document.querySelector(".sapThemeMetaData-UI5-sap-ui-core");if(i)return getComputedStyle(i).backgroundImage;i=document.createElement("span"),i.style.display="none",i.classList.add("sapThemeMetaData-Base-baseLib"),document.body.appendChild(i);let e=getComputedStyle(i).backgroundImage;return e==="none"&&(i.classList.add("sapThemeMetaData-UI5-sap-ui-core"),e=getComputedStyle(i).backgroundImage),document.body.removeChild(i),e},dT=i=>{const e=/\(["']?data:text\/plain;utf-8,(.*?)['"]?\)$/i.exec(i);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{Ka.has("decode")||(console.warn("Malformed theme metadata string, unable to decodeURIComponent"),Ka.add("decode"));return}try{return JSON.parse(t)}catch{Ka.has("parse")||(console.warn("Malformed theme metadata string, unable to parse JSON"),Ka.add("parse"))}}},_T=i=>{let e,t;try{e=i.Path.match(/\.([^.]+)\.css_variables$/)[1],t=i.Extends[0]}catch{Ka.has("object")||(console.warn("Malformed theme metadata Object",i),Ka.add("object"));return}return{themeName:e,baseThemeName:t}},h_=()=>{const i=uT();if(!i||i==="none")return;const e=dT(i);if(e)return _T(e)},pp=new ur,vp="themeLoaded",hT=i=>{pp.attachEvent(vp,i)},pT=i=>{pp.detachEvent(vp,i)},vT=i=>pp.fireEvent(vp,i);let hl;const fp=()=>(hl===void 0&&(hl=v$()),hl),fT=i=>{if(hl!==i){if(hl=i,!o1(i)){console.warn(`The ${i} is not valid. Check the allowed origins as suggested in the "setThemeRoot" description.`);return}return k1(Pa())}},mT=i=>`${fp()}Base/baseLib/${i}/css_variables.css`,k1=async i=>{const e=document.querySelector(`[sap-ui-webcomponents-theme="${i}"]`);e&&document.head.removeChild(e),await up(mT(i),{"sap-ui-webcomponents-theme":i})},Al="@ui5/webcomponents-theming",gT=()=>w1().has(Al),bT=async i=>{if(!gT())return;const e=await y1(Al,i);e&&v1(e,"data-ui5-theme-properties",Al,i)},yT=()=>{rT("data-ui5-theme-properties",Al)},wT=async(i,e)=>{const o=[...w1()].map(async r=>{if(r===Al)return;const n=await y1(r,i,e);n&&v1(n,`data-ui5-component-properties-${ys()}`,r)});return Promise.all(o)},kT=async i=>{var o;const e=h_();if(e)return e;const t=Se("OpenUI5Support");if(t&&t.isOpenUI5Detected()){if(t.cssVariablesLoaded())return{themeName:(o=t.getConfigurationSettingsObject())==null?void 0:o.theme,baseThemeName:""}}else if(fp())return await k1(i),h_()},mp=async i=>{const e=await kT(i);!e||i!==e.themeName?await bT(i):yT();const t=cT(i)?i:e&&e.baseThemeName;await wT(t||hu,e&&e.themeName===i?i:void 0),vT(i)};let Za;const Pa=()=>(Za===void 0&&(Za=p$()),Za),p_=async i=>{Za!==i&&(Za=i,await mp(Za),await oc({themeAware:!0}))},we=()=>{var e,t;const i=Pa();return $T(i)?!i.startsWith("sap_horizon"):!((t=(e=h_())==null?void 0:e.baseThemeName)!=null&&t.startsWith("sap_horizon"))},$T=i=>c$.includes(i),ks=()=>{let i=document.activeElement;for(;i&&i.shadowRoot&&i.shadowRoot.activeElement;)i=i.shadowRoot.activeElement;return i},v_=Bn("PopupUtilsData",{currentZIndex:100}),$1=()=>{const i=ks();return i&&typeof i.focus=="function"?i:null},TT=i=>{const e=$1();return e?T1(i,e):!1},T1=(i,e)=>{let t=i;if(t.shadowRoot&&(t=Array.from(t.shadowRoot.children).find(n=>n.localName!=="style"),!t))return!1;if(t===e)return!0;const o=t.localName==="slot"?t.assignedNodes():t.children;return o?Array.from(o).some(r=>T1(r,e)):!1},xT=(i,e,t)=>i>=t.left&&i<=t.right&&e>=t.top&&e<=t.bottom,ST=(i,e)=>{let t,o;if(i instanceof MouseEvent)t=i.clientX,o=i.clientY;else{const r=i.touches[0];t=r.clientX,o=r.clientY}return xT(t,o,e)};function IT(i){return"isUI5Element"in i&&"_show"in i}const x1=i=>{const e=i.parentElement||i.getRootNode&&i.getRootNode().host;return e&&(IT(e)||e===document.documentElement)?e:x1(e)},gp=()=>{const i=Se("OpenUI5Support");return i&&i.isOpenUI5Detected()?i.getNextZIndex():(v_.currentZIndex+=2,v_.currentZIndex)},Rv=()=>v_.currentZIndex;class hi{static isAtLeastVersion116(){const t=window.sap.ui.version.split(".");return!t||t.length<2?!1:parseInt(t[0])>1||parseInt(t[1])>=116}static isOpenUI5Detected(){var e,t;return typeof((t=(e=window.sap)==null?void 0:e.ui)==null?void 0:t.require)=="function"}static init(){return hi.isOpenUI5Detected()?new Promise(e=>{window.sap.ui.require(["sap/ui/core/Core"],async t=>{const o=()=>{let r=["sap/ui/core/Popup","sap/ui/core/LocaleData"];hi.isAtLeastVersion116()&&(r=[...r,"sap/base/i18n/Formatting","sap/base/i18n/Localization","sap/ui/core/ControlBehavior","sap/ui/core/Theming","sap/ui/core/date/CalendarUtils"]),window.sap.ui.require(r,n=>{n.setInitialZIndex(Rv()),e()})};hi.isAtLeastVersion116()?(await t.ready(),o()):t.attachInit(o)})}):Promise.resolve()}static getConfigurationSettingsObject(){var r,n;if(!hi.isOpenUI5Detected())return{};if(hi.isAtLeastVersion116()){const s=window.sap.ui.require("sap/ui/core/ControlBehavior"),l=window.sap.ui.require("sap/base/i18n/Localization"),_=window.sap.ui.require("sap/ui/core/Theming"),p=window.sap.ui.require("sap/base/i18n/Formatting"),v=window.sap.ui.require("sap/ui/core/date/CalendarUtils");return{animationMode:s.getAnimationMode(),language:l.getLanguage(),theme:_.getTheme(),themeRoot:_.getThemeRoot(),rtl:l.getRTL(),timezone:l.getTimezone(),calendarType:p.getCalendarType(),formatSettings:{firstDayOfWeek:v.getWeekConfigurationValues().firstDayOfWeek,legacyDateCalendarCustomizing:((r=p.getCustomIslamicCalendarData)==null?void 0:r.call(p))??((n=p.getLegacyDateCalendarCustomizing)==null?void 0:n.call(p))}}}const t=window.sap.ui.require("sap/ui/core/Core").getConfiguration(),o=window.sap.ui.require("sap/ui/core/LocaleData");return{animationMode:t.getAnimationMode(),language:t.getLanguage(),theme:t.getTheme(),themeRoot:t.getThemeRoot(),rtl:t.getRTL(),timezone:t.getTimezone(),calendarType:t.getCalendarType(),formatSettings:{firstDayOfWeek:o?o.getInstance(t.getLocale()).getFirstDayOfWeek():void 0,legacyDateCalendarCustomizing:t.getFormatSettings().getLegacyDateCalendarCustomizing()}}}static getLocaleDataObject(){if(!hi.isOpenUI5Detected())return;const e=window.sap.ui.require("sap/ui/core/LocaleData");if(hi.isAtLeastVersion116()){const r=window.sap.ui.require("sap/base/i18n/Localization");return e.getInstance(r.getLanguageTag())._get()}const o=window.sap.ui.require("sap/ui/core/Core").getConfiguration();return e.getInstance(o.getLocale())._get()}static _listenForThemeChange(){if(hi.isAtLeastVersion116()){const e=window.sap.ui.require("sap/ui/core/Theming");e.attachApplied(()=>{p_(e.getTheme())})}else{const e=window.sap.ui.require("sap/ui/core/Core"),t=e.getConfiguration();e.attachThemeChanged(()=>{p_(t.getTheme())})}}static attachListeners(){hi.isOpenUI5Detected()&&hi._listenForThemeChange()}static cssVariablesLoaded(){if(!hi.isOpenUI5Detected())return;const e=[...document.head.children].find(t=>t.id==="sap-ui-theme-sap.ui.core");return e?!!e.href.match(/\/css(-|_)variables\.css/):!1}static getNextZIndex(){if(!hi.isOpenUI5Detected())return;const e=window.sap.ui.require("sap/ui/core/Popup");return e||console.warn(`The OpenUI5Support feature hasn't been initialized properly. Make sure you import the "@ui5/webcomponents-base/dist/features/OpenUI5Support.js" module before all components' modules.`),e.getNextZIndex()}static setInitialZIndex(){if(!hi.isOpenUI5Detected())return;window.sap.ui.require("sap/ui/core/Popup").setInitialZIndex(Rv())}}Da("OpenUI5Support",hi);const CT="modulepreload",AT=function(i){return"/"+i},Lv={},m=function(e,t,o){if(!t||t.length===0)return e();const r=document.getElementsByTagName("link");return Promise.all(t.map(n=>{if(n=AT(n),n in Lv)return;Lv[n]=!0;const s=n.endsWith(".css"),l=s?'[rel="stylesheet"]':"";if(!!o)for(let v=r.length-1;v>=0;v--){const f=r[v];if(f.href===n&&(!s||f.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${n}"]${l}`))return;const p=document.createElement("link");if(p.rel=s?"stylesheet":CT,s||(p.as="script",p.crossOrigin=""),p.href=n,document.head.appendChild(p),s)return new Promise((v,f)=>{p.addEventListener("load",v),p.addEventListener("error",()=>f(new Error(`Unable to preload CSS for ${n}`)))})})).then(()=>e()).catch(n=>{const s=new Event("vite:preloadError",{cancelable:!0});if(s.payload=n,window.dispatchEvent(s),!s.defaultPrevented)throw n})},S1=new ur,I1="languageChange",C1=i=>{S1.attachEvent(I1,i)},BT=i=>S1.fireEventAsync(I1,i),ET=typeof document>"u",A1=()=>{if(ET)return Sl;const i=navigator.languages,e=()=>navigator.language;return i&&i[0]||e()||Sl};let pl,f_;const ju=()=>(pl===void 0&&(pl=m$()),pl),DT=async i=>{pl!==i&&(pl=i,await BT(i),await oc({languageAware:!0}))},PT=i=>{f_=i},OT=()=>(f_===void 0&&PT(g$()),f_),RT=/^((?:[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;let B1=class{constructor(e){const t=RT.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]||Sl,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]/,o=>o.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 Pd=new Map,E1=i=>(Pd.has(i)||Pd.set(i,new B1(i)),Pd.get(i)),Mv=i=>{try{if(i&&typeof i=="string")return E1(i)}catch{}return new B1(lr)},Ee=i=>{if(i)return Mv(i);const e=ju();return e?E1(e):Mv(A1())},D1=new Map,Bl=new Map,Od=new Map,Nv=new Set;let Fv=!1;const LT={iw:"he",ji:"yi",in:"id"},zv=i=>{Fv||(console.warn(`[LocaleData] Supported locale "${i}" not configured, import the "Assets.js" module from the webcomponents package you are using.`),Fv=!0)},MT=(i,e,t)=>{i=i&<[i]||i,i==="no"&&(i="nb"),i==="zh"&&!e&&(t==="Hans"?e="CN":t==="Hant"&&(e="TW")),(i==="sh"||i==="sr"&&t==="Latn")&&(i="sr",e="Latn");let o=`${i}_${e}`;return Bv.includes(o)||(o=i,Bv.includes(o))?Bl.has(o)?o:(zv(o),lr):lr},Vv=(i,e)=>{D1.set(i,e)},NT=i=>{Bl.has(i)||(i=lr);const e=D1.get(i);if(!e)throw new Error(`CLDR data for locale ${i} is not loaded!`);return e},FT=i=>{if(!Od.get(i)){const e=Bl.get(i);if(!e)throw new Error(`CLDR data for locale ${i} is not loaded!`);Od.set(i,e(i))}return Od.get(i)},$s=async(i,e,t)=>{const o=MT(i,e,t),r=Se("OpenUI5Support");if(r){const n=r.getLocaleDataObject();if(n){Vv(o,n);return}}try{const n=await FT(o);Vv(o,n)}catch(n){const s=n;Nv.has(s.message)||(Nv.add(s.message),console.error(s.message))}},P1=(i,e)=>{Bl.set(i,e)};P1("en",async()=>(await fetch("https://sdk.openui5.org/1.103.0/resources/sap/ui/core/cldr/en.json")).json());C1(()=>{const i=Ee();return $s(i.getLanguage(),i.getRegion(),i.getScript())});const zT=["ar","ar_EG","ar_SA","bg","ca","cs","da","de","de_AT","de_CH","el","el_CY","en","en_AU","en_GB","en_HK","en_IE","en_IN","en_NZ","en_PG","en_SG","en_ZA","es","es_AR","es_BO","es_CL","es_CO","es_MX","es_PE","es_UY","es_VE","et","fa","fi","fr","fr_BE","fr_CA","fr_CH","fr_LU","he","hi","hr","hu","id","it","it_CH","ja","kk","ko","lt","lv","ms","nb","nl","nl_BE","pl","pt","pt_PT","ro","ru","ru_UA","sk","sl","sr","sr_Latn","sv","th","tr","uk","vi","zh_CN","zh_HK","zh_SG","zh_TW"],VT=async i=>{switch(i){case"ar":return(await m(()=>import("./ar-0630ea5f.js"),[])).default;case"ar_EG":return(await m(()=>import("./ar_EG-0630ea5f.js"),[])).default;case"ar_SA":return(await m(()=>import("./ar_SA-427916cd.js"),[])).default;case"bg":return(await m(()=>import("./bg-2de1cdf8.js"),[])).default;case"ca":return(await m(()=>import("./ca-1518110d.js"),[])).default;case"cs":return(await m(()=>import("./cs-8785688e.js"),[])).default;case"da":return(await m(()=>import("./da-d47c704f.js"),[])).default;case"de":return(await m(()=>import("./de-b319e336.js"),[])).default;case"de_AT":return(await m(()=>import("./de_AT-30ed506d.js"),[])).default;case"de_CH":return(await m(()=>import("./de_CH-7121ebdd.js"),[])).default;case"el":return(await m(()=>import("./el-aed5c2ba.js"),[])).default;case"el_CY":return(await m(()=>import("./el_CY-69fcccf4.js"),[])).default;case"en":return(await m(()=>import("./en-fe5031f1.js"),[])).default;case"en_AU":return(await m(()=>import("./en_AU-6a4fb8ab.js"),[])).default;case"en_GB":return(await m(()=>import("./en_GB-75e883a7.js"),[])).default;case"en_HK":return(await m(()=>import("./en_HK-01fe9437.js"),[])).default;case"en_IE":return(await m(()=>import("./en_IE-fe78de2a.js"),[])).default;case"en_IN":return(await m(()=>import("./en_IN-05dd1eec.js"),[])).default;case"en_NZ":return(await m(()=>import("./en_NZ-03127a64.js"),[])).default;case"en_PG":return(await m(()=>import("./en_PG-e050c05b.js"),[])).default;case"en_SG":return(await m(()=>import("./en_SG-1243891f.js"),[])).default;case"en_ZA":return(await m(()=>import("./en_ZA-45e99cbc.js"),[])).default;case"es":return(await m(()=>import("./es-801e0b83.js"),[])).default;case"es_AR":return(await m(()=>import("./es_AR-3e99f17d.js"),[])).default;case"es_BO":return(await m(()=>import("./es_BO-b616255f.js"),[])).default;case"es_CL":return(await m(()=>import("./es_CL-45be1590.js"),[])).default;case"es_CO":return(await m(()=>import("./es_CO-97e42f3d.js"),[])).default;case"es_MX":return(await m(()=>import("./es_MX-7727cf63.js"),[])).default;case"es_PE":return(await m(()=>import("./es_PE-c903f5ef.js"),[])).default;case"es_UY":return(await m(()=>import("./es_UY-3400ef2f.js"),[])).default;case"es_VE":return(await m(()=>import("./es_VE-45574256.js"),[])).default;case"et":return(await m(()=>import("./et-a7ee116a.js"),[])).default;case"fa":return(await m(()=>import("./fa-36f29031.js"),[])).default;case"fi":return(await m(()=>import("./fi-acd0e0a8.js"),[])).default;case"fr":return(await m(()=>import("./fr-89f00eb1.js"),[])).default;case"fr_BE":return(await m(()=>import("./fr_BE-976dd27e.js"),[])).default;case"fr_CA":return(await m(()=>import("./fr_CA-ef6a0bc9.js"),[])).default;case"fr_CH":return(await m(()=>import("./fr_CH-902c6834.js"),[])).default;case"fr_LU":return(await m(()=>import("./fr_LU-24be0d6b.js"),[])).default;case"he":return(await m(()=>import("./he-7a3b21fe.js"),[])).default;case"hi":return(await m(()=>import("./hi-c77cff5f.js"),[])).default;case"hr":return(await m(()=>import("./hr-9ec373ae.js"),[])).default;case"hu":return(await m(()=>import("./hu-dffaa5dd.js"),[])).default;case"id":return(await m(()=>import("./id-9a71c071.js"),[])).default;case"it":return(await m(()=>import("./it-d92af4d3.js"),[])).default;case"it_CH":return(await m(()=>import("./it_CH-1d589e48.js"),[])).default;case"ja":return(await m(()=>import("./ja-0ac802cf.js"),[])).default;case"kk":return(await m(()=>import("./kk-69dbe3de.js"),[])).default;case"ko":return(await m(()=>import("./ko-21808375.js"),[])).default;case"lt":return(await m(()=>import("./lt-cb1e2ce5.js"),[])).default;case"lv":return(await m(()=>import("./lv-f2691c32.js"),[])).default;case"ms":return(await m(()=>import("./ms-10d1b1da.js"),[])).default;case"nb":return(await m(()=>import("./nb-3a7dbcd5.js"),[])).default;case"nl":return(await m(()=>import("./nl-c00223b3.js"),[])).default;case"nl_BE":return(await m(()=>import("./nl_BE-dfcdd6c3.js"),[])).default;case"pl":return(await m(()=>import("./pl-31e2dd87.js"),[])).default;case"pt":return(await m(()=>import("./pt-5154c777.js"),[])).default;case"pt_PT":return(await m(()=>import("./pt_PT-447570be.js"),[])).default;case"ro":return(await m(()=>import("./ro-cebc1afa.js"),[])).default;case"ru":return(await m(()=>import("./ru-792e62ca.js"),[])).default;case"ru_UA":return(await m(()=>import("./ru_UA-01aae226.js"),[])).default;case"sk":return(await m(()=>import("./sk-e6997d2f.js"),[])).default;case"sl":return(await m(()=>import("./sl-f4a34eac.js"),[])).default;case"sr":return(await m(()=>import("./sr-df1572d9.js"),[])).default;case"sr_Latn":return(await m(()=>import("./sr_Latn-bf99bf2d.js"),[])).default;case"sv":return(await m(()=>import("./sv-cc0bd93b.js"),[])).default;case"th":return(await m(()=>import("./th-40f53b2a.js"),[])).default;case"tr":return(await m(()=>import("./tr-5fff9619.js"),[])).default;case"uk":return(await m(()=>import("./uk-e3a0b792.js"),[])).default;case"vi":return(await m(()=>import("./vi-0174b1b4.js"),[])).default;case"zh_CN":return(await m(()=>import("./zh_CN-e8317a7e.js"),[])).default;case"zh_HK":return(await m(()=>import("./zh_HK-9e3a2c19.js"),[])).default;case"zh_SG":return(await m(()=>import("./zh_SG-370e090b.js"),[])).default;case"zh_TW":return(await m(()=>import("./zh_TW-9e8a025a.js"),[])).default;default:throw"unknown locale"}},HT=async i=>{const e=await VT(i);if(typeof e=="string"&&e.endsWith(".json"))throw new Error(`[LocaleData] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use 'import ".../Assets-static.js"'. Check the "Assets" documentation for more information.`);return e};zT.forEach(i=>P1(i,HT));const UT=async i=>{switch(i){case"sap_belize":return(await m(()=>import("./parameters-bundle.css-3336b36b.js"),[])).default;case"sap_belize_hcb":return(await m(()=>import("./parameters-bundle.css-848bb657.js"),[])).default;case"sap_belize_hcw":return(await m(()=>import("./parameters-bundle.css-1b19be80.js"),[])).default;case"sap_fiori_3":return(await m(()=>import("./parameters-bundle.css-6c569b8a.js"),[])).default;case"sap_fiori_3_dark":return(await m(()=>import("./parameters-bundle.css-2e1ff87d.js"),[])).default;case"sap_fiori_3_hcb":return(await m(()=>import("./parameters-bundle.css-130ec5dd.js"),[])).default;case"sap_fiori_3_hcw":return(await m(()=>import("./parameters-bundle.css-73e28703.js"),[])).default;case"sap_horizon":return(await m(()=>import("./parameters-bundle.css-fd91fb37.js"),[])).default;case"sap_horizon_dark":return(await m(()=>import("./parameters-bundle.css-b727cb5d.js"),[])).default;case"sap_horizon_dark_exp":return(await m(()=>import("./parameters-bundle.css-bda386a0.js"),[])).default;case"sap_horizon_exp":return(await m(()=>import("./parameters-bundle.css-7f4cec2b.js"),[])).default;case"sap_horizon_hcb":return(await m(()=>import("./parameters-bundle.css-510a692c.js"),[])).default;case"sap_horizon_hcb_exp":return(await m(()=>import("./parameters-bundle.css-03062520.js"),[])).default;case"sap_horizon_hcw":return(await m(()=>import("./parameters-bundle.css-384e9233.js"),[])).default;case"sap_horizon_hcw_exp":return(await m(()=>import("./parameters-bundle.css-bb08ca85.js"),[])).default;default:throw"unknown theme"}},WT=async i=>{const e=await UT(i);if(typeof e=="string"&&e.endsWith(".json"))throw new Error(`[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use 'import ".../Assets-static.js"'. Check the "Assets" documentation for more information.`);return e};["sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_dark","sap_horizon_dark_exp","sap_horizon_exp","sap_horizon_hcb","sap_horizon_hcb_exp","sap_horizon_hcw","sap_horizon_hcw_exp"].forEach(i=>b("@ui5/webcomponents-theming",i,WT));const qT=/^((?:[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,Hv=/(?:^|-)(saptrc|sappsd)(?:-|$)/i,jT={he:"iw",yi:"ji",nb:"no",sr:"sh"},GT=i=>{let e;if(!i)return lr;if(typeof i=="string"&&(e=qT.exec(i.replace(/_/g,"-")))){let t=e[1].toLowerCase(),o=e[3]?e[3].toUpperCase():void 0;const r=e[2]?e[2].toLowerCase():void 0,n=e[4]?e[4].slice(1):void 0,s=e[6];return t=jT[t]||t,s&&(e=Hv.exec(s))||n&&(e=Hv.exec(n))?`en_US_${e[1].toLowerCase()}`:(t==="zh"&&!o&&(r==="hans"?o="CN":r==="hant"&&(o="TW")),t+(o?"_"+o+(n?"_"+n.replace("-","_"):""):""))}return lr},YT=i=>{if(!i)return lr;if(i==="zh_HK")return"zh_TW";const e=i.lastIndexOf("_");return e>=0?i.slice(0,e):i!==lr?lr:""},Uv=new Set,Wv=new Set,bp=new Map,Rd=new Map,yp=new Map,O1=(i,e,t)=>{const o=`${i}/${e}`;yp.set(o,t)},qv=(i,e)=>{bp.set(i,e)},KT=i=>bp.get(i),R1=(i,e)=>{const t=`${i}/${e}`;return yp.has(t)},XT=(i,e)=>{const t=`${i}/${e}`,o=yp.get(t);return o&&!Rd.get(t)&&Rd.set(t,o(e)),Rd.get(t)},ZT=i=>{Uv.has(i)||(console.warn(`[${i}]: Message bundle assets are not configured. Falling back to English texts.`,` Add \`import "${i}/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.`),Uv.add(i))},jv=(i,e)=>e!==Sl&&!R1(i,e),L1=async i=>{const e=Ee().getLanguage(),t=Ee().getRegion(),o=Ee().getVariant();let r=e+(t?`-${t}`:"")+(o?`-${o}`:"");if(jv(i,r))for(r=GT(r);jv(i,r);)r=YT(r);const n=OT();if(r===Sl&&!n){qv(i,null);return}if(!R1(i,r)){ZT(i);return}try{const s=await XT(i,r);qv(i,s)}catch(s){const l=s;Wv.has(l.message)||(Wv.add(l.message),console.error(l.message))}};C1(i=>{const e=[...bp.keys()];return Promise.all(e.map(L1))});const QT=async i=>{switch(i){case"ar":return(await m(()=>import("./messagebundle_ar-44188cf1.js"),[])).default;case"bg":return(await m(()=>import("./messagebundle_bg-a90aa5d5.js"),[])).default;case"ca":return(await m(()=>import("./messagebundle_ca-bf53c9ac.js"),[])).default;case"cnr":return(await m(()=>import("./messagebundle_cnr-b84112db.js"),[])).default;case"cs":return(await m(()=>import("./messagebundle_cs-bb92e5a1.js"),[])).default;case"cy":return(await m(()=>import("./messagebundle_cy-f3425b6a.js"),[])).default;case"da":return(await m(()=>import("./messagebundle_da-07b377a3.js"),[])).default;case"de":return(await m(()=>import("./messagebundle_de-3cf371b0.js"),[])).default;case"el":return(await m(()=>import("./messagebundle_el-b9f8553d.js"),[])).default;case"en":return(await m(()=>import("./messagebundle_en-7692c80a.js"),[])).default;case"en_GB":return(await m(()=>import("./messagebundle_en_GB-183238d7.js"),[])).default;case"en_US_sappsd":return(await m(()=>import("./messagebundle_en_US_sappsd-19b6364e.js"),[])).default;case"en_US_saprigi":return(await m(()=>import("./messagebundle_en_US_saprigi-9eafbea6.js"),[])).default;case"en_US_saptrc":return(await m(()=>import("./messagebundle_en_US_saptrc-2822dbad.js"),[])).default;case"es":return(await m(()=>import("./messagebundle_es-2ca9061f.js"),[])).default;case"es_MX":return(await m(()=>import("./messagebundle_es_MX-f103bb14.js"),[])).default;case"et":return(await m(()=>import("./messagebundle_et-9d772e73.js"),[])).default;case"fi":return(await m(()=>import("./messagebundle_fi-15e72d1f.js"),[])).default;case"fr":return(await m(()=>import("./messagebundle_fr-3745f3bb.js"),[])).default;case"fr_CA":return(await m(()=>import("./messagebundle_fr_CA-2944b6e2.js"),[])).default;case"hi":return(await m(()=>import("./messagebundle_hi-b4549e84.js"),[])).default;case"hr":return(await m(()=>import("./messagebundle_hr-dc5ab77f.js"),[])).default;case"hu":return(await m(()=>import("./messagebundle_hu-8dd75a8d.js"),[])).default;case"in":return(await m(()=>import("./messagebundle_in-165d36a7.js"),[])).default;case"it":return(await m(()=>import("./messagebundle_it-2d16ebf4.js"),[])).default;case"iw":return(await m(()=>import("./messagebundle_iw-f3fae638.js"),[])).default;case"ja":return(await m(()=>import("./messagebundle_ja-95ab2a9d.js"),[])).default;case"kk":return(await m(()=>import("./messagebundle_kk-87ca26a7.js"),[])).default;case"ko":return(await m(()=>import("./messagebundle_ko-73550dda.js"),[])).default;case"lt":return(await m(()=>import("./messagebundle_lt-d42040e5.js"),[])).default;case"lv":return(await m(()=>import("./messagebundle_lv-2d648d1f.js"),[])).default;case"mk":return(await m(()=>import("./messagebundle_mk-d8a73d2f.js"),[])).default;case"ms":return(await m(()=>import("./messagebundle_ms-b29bc5de.js"),[])).default;case"nl":return(await m(()=>import("./messagebundle_nl-8903b79e.js"),[])).default;case"no":return(await m(()=>import("./messagebundle_no-d232e13d.js"),[])).default;case"pl":return(await m(()=>import("./messagebundle_pl-eae9b070.js"),[])).default;case"pt":return(await m(()=>import("./messagebundle_pt-e60705f6.js"),[])).default;case"pt_PT":return(await m(()=>import("./messagebundle_pt_PT-5f46105d.js"),[])).default;case"ro":return(await m(()=>import("./messagebundle_ro-e3b4dcb2.js"),[])).default;case"ru":return(await m(()=>import("./messagebundle_ru-76ac5f54.js"),[])).default;case"sh":return(await m(()=>import("./messagebundle_sh-839b6920.js"),[])).default;case"sk":return(await m(()=>import("./messagebundle_sk-305ca75f.js"),[])).default;case"sl":return(await m(()=>import("./messagebundle_sl-375754b0.js"),[])).default;case"sr":return(await m(()=>import("./messagebundle_sr-2a66b903.js"),[])).default;case"sv":return(await m(()=>import("./messagebundle_sv-9ed56858.js"),[])).default;case"th":return(await m(()=>import("./messagebundle_th-60f02032.js"),[])).default;case"tr":return(await m(()=>import("./messagebundle_tr-9c820e7f.js"),[])).default;case"uk":return(await m(()=>import("./messagebundle_uk-5aea802c.js"),[])).default;case"vi":return(await m(()=>import("./messagebundle_vi-40949e1d.js"),[])).default;case"zh_CN":return(await m(()=>import("./messagebundle_zh_CN-2175ebf7.js"),[])).default;case"zh_TW":return(await m(()=>import("./messagebundle_zh_TW-94e0c73d.js"),[])).default;default:throw"unknown locale"}},JT=async i=>{const e=await QT(i);if(typeof e=="string"&&e.endsWith(".json"))throw new Error(`[i18n] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use 'import ".../Assets-static.js"'. Check the "Assets" documentation for more information.`);return e},ex=["ar","bg","ca","cnr","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","mk","ms","nl","no","pl","pt","pt_PT","ro","ru","sh","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_TW"];ex.forEach(i=>{O1("@ui5/webcomponents-icons",i,JT)});const tx=async i=>{switch(i){case"sap_belize":return(await m(()=>import("./parameters-bundle.css-7437fcec.js"),[])).default;case"sap_belize_hcb":return(await m(()=>import("./parameters-bundle.css-733a7845.js"),[])).default;case"sap_belize_hcw":return(await m(()=>import("./parameters-bundle.css-a6f81ccb.js"),[])).default;case"sap_fiori_3":return(await m(()=>import("./parameters-bundle.css-4df62b2d.js"),[])).default;case"sap_fiori_3_dark":return(await m(()=>import("./parameters-bundle.css-a0f237ba.js"),[])).default;case"sap_fiori_3_hcb":return(await m(()=>import("./parameters-bundle.css-ff75fda9.js"),[])).default;case"sap_fiori_3_hcw":return(await m(()=>import("./parameters-bundle.css-c2eab0dc.js"),[])).default;case"sap_horizon":return(await m(()=>import("./parameters-bundle.css-aeba2fcb.js"),[])).default;case"sap_horizon_dark":return(await m(()=>import("./parameters-bundle.css-49948138.js"),[])).default;case"sap_horizon_dark_exp":return(await m(()=>import("./parameters-bundle.css-a8cfc6d2.js"),[])).default;case"sap_horizon_exp":return(await m(()=>import("./parameters-bundle.css-5e39dd4a.js"),[])).default;case"sap_horizon_hcb":return(await m(()=>import("./parameters-bundle.css-fdef9f59.js"),[])).default;case"sap_horizon_hcb_exp":return(await m(()=>import("./parameters-bundle.css-e288c904.js"),[])).default;case"sap_horizon_hcw":return(await m(()=>import("./parameters-bundle.css-34c3a978.js"),[])).default;case"sap_horizon_hcw_exp":return(await m(()=>import("./parameters-bundle.css-14cf86f0.js"),[])).default;default:throw"unknown theme"}},ix=async i=>{const e=await tx(i);if(typeof e=="string"&&e.endsWith(".json"))throw new Error(`[themes] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use 'import ".../Assets-static.js"'. Check the "Assets" documentation for more information.`);return e};["sap_belize","sap_belize_hcb","sap_belize_hcw","sap_fiori_3","sap_fiori_3_dark","sap_fiori_3_hcb","sap_fiori_3_hcw","sap_horizon","sap_horizon_dark","sap_horizon_dark_exp","sap_horizon_exp","sap_horizon_hcb","sap_horizon_hcb_exp","sap_horizon_hcw","sap_horizon_hcw_exp"].forEach(i=>b("@ui5/webcomponents",i,ix));const ox=async i=>{switch(i){case"ar":return(await m(()=>import("./messagebundle_ar-15a6105b.js"),[])).default;case"bg":return(await m(()=>import("./messagebundle_bg-00322eee.js"),[])).default;case"ca":return(await m(()=>import("./messagebundle_ca-e4c24ae3.js"),[])).default;case"cnr":return(await m(()=>import("./messagebundle_cnr-d2c3e809.js"),[])).default;case"cs":return(await m(()=>import("./messagebundle_cs-03362e68.js"),[])).default;case"cy":return(await m(()=>import("./messagebundle_cy-a6b8d175.js"),[])).default;case"da":return(await m(()=>import("./messagebundle_da-3fd1bce7.js"),[])).default;case"de":return(await m(()=>import("./messagebundle_de-23d4a389.js"),[])).default;case"el":return(await m(()=>import("./messagebundle_el-bc577c44.js"),[])).default;case"en":return(await m(()=>import("./messagebundle_en-1828f0ae.js"),[])).default;case"en_GB":return(await m(()=>import("./messagebundle_en_GB-cc67a42e.js"),[])).default;case"en_US_sappsd":return(await m(()=>import("./messagebundle_en_US_sappsd-49b85609.js"),[])).default;case"en_US_saprigi":return(await m(()=>import("./messagebundle_en_US_saprigi-0ab211c2.js"),[])).default;case"en_US_saptrc":return(await m(()=>import("./messagebundle_en_US_saptrc-e63b0d1a.js"),[])).default;case"es":return(await m(()=>import("./messagebundle_es-3b88acc2.js"),[])).default;case"es_MX":return(await m(()=>import("./messagebundle_es_MX-f644cc7a.js"),[])).default;case"et":return(await m(()=>import("./messagebundle_et-fed9180d.js"),[])).default;case"fi":return(await m(()=>import("./messagebundle_fi-b0b029e0.js"),[])).default;case"fr":return(await m(()=>import("./messagebundle_fr-a50ca9de.js"),[])).default;case"fr_CA":return(await m(()=>import("./messagebundle_fr_CA-62426f60.js"),[])).default;case"hi":return(await m(()=>import("./messagebundle_hi-e4172264.js"),[])).default;case"hr":return(await m(()=>import("./messagebundle_hr-bae14292.js"),[])).default;case"hu":return(await m(()=>import("./messagebundle_hu-5a768c1c.js"),[])).default;case"in":return(await m(()=>import("./messagebundle_in-a71f8537.js"),[])).default;case"it":return(await m(()=>import("./messagebundle_it-146b2ac8.js"),[])).default;case"iw":return(await m(()=>import("./messagebundle_iw-3c0b0389.js"),[])).default;case"ja":return(await m(()=>import("./messagebundle_ja-e6bbedcd.js"),[])).default;case"kk":return(await m(()=>import("./messagebundle_kk-05c3eb40.js"),[])).default;case"ko":return(await m(()=>import("./messagebundle_ko-d912958c.js"),[])).default;case"lt":return(await m(()=>import("./messagebundle_lt-000225ab.js"),[])).default;case"lv":return(await m(()=>import("./messagebundle_lv-e1c3a36f.js"),[])).default;case"mk":return(await m(()=>import("./messagebundle_mk-da593e77.js"),[])).default;case"ms":return(await m(()=>import("./messagebundle_ms-8d4ef6cb.js"),[])).default;case"nl":return(await m(()=>import("./messagebundle_nl-854007bd.js"),[])).default;case"no":return(await m(()=>import("./messagebundle_no-4a668476.js"),[])).default;case"pl":return(await m(()=>import("./messagebundle_pl-1d008e54.js"),[])).default;case"pt":return(await m(()=>import("./messagebundle_pt-9f039666.js"),[])).default;case"pt_PT":return(await m(()=>import("./messagebundle_pt_PT-0d3c523a.js"),[])).default;case"ro":return(await m(()=>import("./messagebundle_ro-e2058243.js"),[])).default;case"ru":return(await m(()=>import("./messagebundle_ru-e7540e67.js"),[])).default;case"sh":return(await m(()=>import("./messagebundle_sh-cdab0e0f.js"),[])).default;case"sk":return(await m(()=>import("./messagebundle_sk-00f1a8b5.js"),[])).default;case"sl":return(await m(()=>import("./messagebundle_sl-95e1b7f9.js"),[])).default;case"sr":return(await m(()=>import("./messagebundle_sr-c0b9d5a8.js"),[])).default;case"sv":return(await m(()=>import("./messagebundle_sv-47a1475d.js"),[])).default;case"th":return(await m(()=>import("./messagebundle_th-532c2a3c.js"),[])).default;case"tr":return(await m(()=>import("./messagebundle_tr-d480d4b2.js"),[])).default;case"uk":return(await m(()=>import("./messagebundle_uk-5f183673.js"),[])).default;case"vi":return(await m(()=>import("./messagebundle_vi-4e206c4c.js"),[])).default;case"zh_CN":return(await m(()=>import("./messagebundle_zh_CN-b78f1a5e.js"),[])).default;case"zh_TW":return(await m(()=>import("./messagebundle_zh_TW-9f50dcb4.js"),[])).default;default:throw"unknown locale"}},rx=async i=>{const e=await ox(i);if(typeof e=="string"&&e.endsWith(".json"))throw new Error(`[i18n] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use 'import ".../Assets-static.js"'. Check the "Assets" documentation for more information.`);return e},nx=["ar","bg","ca","cnr","cs","cy","da","de","el","en","en_GB","en_US_sappsd","en_US_saprigi","en_US_saptrc","es","es_MX","et","fi","fr","fr_CA","hi","hr","hu","in","it","iw","ja","kk","ko","lt","lv","mk","ms","nl","no","pl","pt","pt_PT","ro","ru","sh","sk","sl","sr","sv","th","tr","uk","vi","zh_CN","zh_TW"];nx.forEach(i=>{O1("@ui5/webcomponents",i,rx)});var mu;(function(i){i["SAP-icons"]="SAP-icons-v4",i.horizon="SAP-icons-v5",i["SAP-icons-TNT"]="tnt",i.BusinessSuiteInAppSymbols="business-suite"})(mu||(mu={}));const M1=i=>mu[i]?mu[i]:i;var yn;(function(i){i.SAPIconsV4="SAP-icons-v4",i.SAPIconsV5="SAP-icons-v5",i.SAPIconsTNTV2="tnt-v2",i.SAPIconsTNTV3="tnt-v3",i.SAPBSIconsV1="business-suite-v1",i.SAPBSIconsV2="business-suite-v2"})(yn||(yn={}));const Rr=new Map;Rr.set("SAP-icons",{legacy:yn.SAPIconsV4,sap_horizon:yn.SAPIconsV5});Rr.set("tnt",{legacy:yn.SAPIconsTNTV2,sap_horizon:yn.SAPIconsTNTV3});Rr.set("business-suite",{legacy:yn.SAPBSIconsV1,sap_horizon:yn.SAPBSIconsV2});const ax=(i,e)=>{if(Rr.has(i)){Rr.set(i,{...e,...Rr.get(i)});return}Rr.set(i,e)},Gv=i=>{const e=we()?"legacy":"sap_horizon";return Rr.has(i)?Rr.get(i)[e]:i},sx=new Map,lx=i=>sx.get(i),wp=i=>{const e=lx(Pa());return!i&&e?M1(e):Gv(i||"SAP-icons")},cx=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,ux=(i,e)=>(e=e||[],i.replace(cx,(t,o,r,n,s)=>{if(o)return"'";if(r)return r.replace(/''/g,"'");if(n){const l=typeof n=="string"?parseInt(n):n;return String(e[l])}throw new Error(`[i18n]: pattern syntax error at pos ${s}`)})),Ld=new Map;class dx{constructor(e){this.packageName=e}getText(e,...t){if(typeof e=="string"&&(e={key:e,defaultText:e}),!e||!e.key)return"";const o=KT(this.packageName);o&&!o[e.key]&&console.warn(`Key ${e.key} not found in the i18n bundle, the default text will be used`);const r=o&&o[e.key]?o[e.key]:e.defaultText||e.key;return ux(r,t)}}const _x=i=>{if(Ld.has(i))return Ld.get(i);const e=new dx(i);return Ld.set(i,e),e},oe=async i=>(await L1(i),_x(i)),hx="legacy",m_=new Map,kp=Bn("SVGIcons.registry",new Map),Md=Bn("SVGIcons.promises",new Map),g_="ICON_NOT_FOUND",fa=(i,e)=>{m_.set(i,e)},px=async i=>{if(!Md.has(i)){if(!m_.has(i))throw new Error(`No loader registered for the ${i} icons collection. Probably you forgot to import the "AllIcons.js" module for the respective package.`);const e=m_.get(i);Md.set(i,e(i))}return Md.get(i)},Yv=i=>{Object.keys(i.data).forEach(e=>{const t=i.data[e];Y(e,{pathData:t.path||t.paths,ltr:t.ltr,accData:t.acc,collection:i.collection,packageName:i.packageName})})},Y=(i,e)=>{const t=`${e.collection}/${i}`;kp.set(t,{pathData:e.pathData,ltr:e.ltr,accData:e.accData,packageName:e.packageName,customTemplate:e.customTemplate,viewBox:e.viewBox,collection:e.collection})},N1=i=>{i.startsWith("sap-icon://")&&(i=i.replace("sap-icon://",""));let e;return[i,e]=i.split("/").reverse(),i=i.replace("icon-",""),e&&(e=M1(e)),{name:i,collection:e}},F1=i=>{const{name:e,collection:t}=N1(i);return b_(t,e)},vl=async i=>{const{name:e,collection:t}=N1(i);let o=g_;try{o=await px(wp(t))}catch(n){console.error(n.message)}if(o===g_)return o;const r=b_(t,e);return r||(Array.isArray(o)?o.forEach(n=>{Yv(n),ax(t,{[n.themeFamily||hx]:n.collection})}):Yv(o),b_(t,e))},b_=(i,e)=>{const t=`${wp(i)}/${e}`;return kp.get(t)},z1=async i=>{if(!i)return;let e=F1(i);if(e||(e=await vl(i)),e&&e!==g_&&e.accData)return(await oe(e.packageName)).getText(e.accData)},vx=async()=>(await vl("edit"),await vl("tnt/arrow"),await vl("business-suite/3d"),Array.from(kp.keys())),Kv=async i=>{let e;if(i==="SAP-icons-v5"?e=(await m(()=>import("./SAP-icons-95a98080.js"),[])).default:e=(await m(()=>import("./SAP-icons-e24df2c3.js"),[])).default,typeof e=="string"&&e.endsWith(".json"))throw new Error('[icons] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use `import "@ui5/webcomponents-icons/dist/Assets-static.js". Check the "Assets" documentation for more information.');return e},fx=()=>{fa("SAP-icons-v4",Kv),fa("SAP-icons-v5",Kv)};fx();const Xv=async i=>{let e;if(i==="tnt-v3"?e=(await m(()=>import("./SAP-icons-TNT-aeaaa896.js"),[])).default:e=(await m(()=>import("./SAP-icons-TNT-6cabd9b4.js"),[])).default,typeof e=="string"&&e.endsWith(".json"))throw new Error('[icons-tnt] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use `import "@ui5/webcomponents-icons-tnt/dist/Assets-static.js". Check the "Assets" documentation for more information.');return e},mx=()=>{fa("tnt-v2",Xv),fa("tnt-v3",Xv)};mx();const Zv=async i=>{let e;if(i==="business-suite-v1"?e=(await m(()=>import("./SAP-icons-business-suite-4e995702.js"),[])).default:e=(await m(()=>import("./SAP-icons-business-suite-8715d482.js"),[])).default,typeof e=="string"&&e.endsWith(".json"))throw new Error('[icons-business-suite] Invalid bundling detected - dynamic JSON imports bundled as URLs. Switch to inlining JSON files from the build or use `import "@ui5/webcomponents-icons-business-suite/dist/Assets-static.js". Check the "Assets" documentation for more information.');return e},gx=()=>{fa("business-suite-v1",Zv),fa("business-suite-v2",Zv)};gx();const J={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CONTROL:17,ALT:18,BREAK:19,CAPS_LOCK:20,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,PRINT:44,INSERT:45,DELETE:46,DIGIT_0:48,DIGIT_1:49,DIGIT_2:50,DIGIT_3:51,DIGIT_4:52,DIGIT_5:53,DIGIT_6:54,DIGIT_7:55,DIGIT_8:56,DIGIT_9:57,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,WINDOWS:91,CONTEXT_MENU:93,TURN_OFF:94,SLEEP:95,NUMPAD_0:96,NUMPAD_1:97,NUMPAD_2:98,NUMPAD_3:99,NUMPAD_4:100,NUMPAD_5:101,NUMPAD_6:102,NUMPAD_7:103,NUMPAD_8:104,NUMPAD_9:105,NUMPAD_ASTERISK:106,NUMPAD_PLUS:107,NUMPAD_MINUS:109,NUMPAD_COMMA:110,NUMPAD_SLASH:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,NUM_LOCK:144,SCROLL_LOCK:145,COLON:186,PLUS:187,COMMA:188,SLASH:189,DOT:190,PIPE:191,SEMICOLON:192,MINUS:219,GREAT_ACCENT:220,EQUALS:221,SINGLE_QUOTE:222,BACKSLASH:226},de=i=>(i.key?i.key==="Enter":i.keyCode===J.ENTER)&&!Bt(i),Qv=i=>(i.key?i.key==="Enter":i.keyCode===J.ENTER)&&he(i,!1,!1,!0),te=i=>(i.key?i.key==="Spacebar"||i.key===" ":i.keyCode===J.SPACE)&&!Bt(i),Qa=i=>(i.key?i.key==="Spacebar"||i.key===" ":i.keyCode===J.SPACE)&&he(i,!1,!1,!0),$p=i=>(i.key?i.key==="Spacebar"||i.key===" ":i.keyCode===J.SPACE)&&he(i,!0,!1,!1),ft=i=>(i.key?i.key==="ArrowLeft"||i.key==="Left":i.keyCode===J.ARROW_LEFT)&&!Bt(i),it=i=>(i.key?i.key==="ArrowRight"||i.key==="Right":i.keyCode===J.ARROW_RIGHT)&&!Bt(i),Le=i=>(i.key?i.key==="ArrowUp"||i.key==="Up":i.keyCode===J.ARROW_UP)&&!Bt(i),De=i=>(i.key?i.key==="ArrowDown"||i.key==="Down":i.keyCode===J.ARROW_DOWN)&&!Bt(i),Ja=i=>(i.key?i.key==="ArrowLeft"||i.key==="Left":i.keyCode===J.ARROW_LEFT)&&he(i,!0,!1,!1),_a=i=>(i.key?i.key==="ArrowRight"||i.key==="Right":i.keyCode===J.ARROW_RIGHT)&&he(i,!0,!1,!1),Lr=i=>(i.key?i.key==="ArrowUp"||i.key==="Up":i.keyCode===J.ARROW_UP)&&he(i,!0,!1,!1),Mr=i=>(i.key?i.key==="ArrowDown"||i.key==="Down":i.keyCode===J.ARROW_DOWN)&&he(i,!0,!1,!1),cr=i=>(i.key?i.key==="ArrowUp"||i.key==="Up":i.keyCode===J.ARROW_UP)&&he(i,!1,!1,!0),Ro=i=>(i.key?i.key==="ArrowDown"||i.key==="Down":i.keyCode===J.ARROW_DOWN)&&he(i,!1,!1,!0),gu=i=>(i.key?i.key==="ArrowUp"||i.key==="Up":i.keyCode===J.ARROW_UP)&&he(i,!1,!0,!1),Tp=i=>(i.key?i.key==="ArrowDown"||i.key==="Down":i.keyCode===J.ARROW_DOWN)&&he(i,!1,!0,!1),y_=i=>(i.key?i.key==="ArrowLeft"||i.key==="Left":i.keyCode===J.ARROW_LEFT)&&he(i,!1,!1,!0),bu=i=>(i.key?i.key==="ArrowRight"||i.key==="Right":i.keyCode===J.ARROW_RIGHT)&&he(i,!1,!1,!0),bx=i=>(i.key?i.key==="ArrowLeft"||i.key==="Left":i.keyCode===J.ARROW_LEFT)&&he(i,!0,!1,!0),Jv=i=>(i.key?i.key==="ArrowRight"||i.key==="Right":i.keyCode===J.ARROW_RIGHT)&&he(i,!0,!1,!0),yx=i=>(i.key?i.key==="ArrowUp"||i.key==="Up":i.keyCode===J.ARROW_UP)&&he(i,!0,!1,!0),wx=i=>(i.key?i.key==="ArrowDown"||i.key==="Down":i.keyCode===J.ARROW_DOWN)&&he(i,!0,!1,!0),St=i=>(i.key?i.key==="Home":i.keyCode===J.HOME)&&!Bt(i),si=i=>(i.key?i.key==="End":i.keyCode===J.END)&&!Bt(i),Ts=i=>(i.key?i.key==="Home":i.keyCode===J.HOME)&&he(i,!0,!1,!1),w_=i=>(i.key?i.key==="Home":i.keyCode===J.HOME)&&he(i,!1,!1,!0),ma=i=>(i.key?i.key==="End":i.keyCode===J.END)&&he(i,!0,!1,!1),k_=i=>(i.key?i.key==="End":i.keyCode===J.END)&&he(i,!1,!1,!0),Zi=i=>(i.key?i.key==="Escape"||i.key==="Esc":i.keyCode===J.ESCAPE)&&!Bt(i),It=i=>(i.key?i.key==="Tab":i.keyCode===J.TAB)&&!Bt(i),Ei=i=>(i.key?i.key==="Tab":i.keyCode===J.TAB)&&he(i,!1,!1,!0),sc=i=>(i.key?i.key==="Backspace":i.keyCode===J.BACKSPACE)&&!Bt(i),rs=i=>(i.key?i.key==="Delete":i.keyCode===J.DELETE)&&!Bt(i),ef=i=>(i.key?i.key==="Delete":i.keyCode===J.DELETE)&&he(i,!1,!1,!0),tf=i=>(i.key?i.key==="Insert":i.keyCode===J.DELETE)&&he(i,!1,!1,!0),kx=i=>(i.key?i.key==="Insert":i.keyCode===J.DELETE)&&he(i,!0,!1,!1),pi=i=>(i.key?i.key==="PageUp":i.keyCode===J.PAGE_UP)&&!Bt(i),Ci=i=>(i.key?i.key==="PageDown":i.keyCode===J.PAGE_DOWN)&&!Bt(i),ns=i=>(i.key?i.key==="PageUp":i.keyCode===J.PAGE_UP)&&he(i,!1,!1,!0),$x=i=>(i.key?i.key==="PageUp":i.keyCode===J.PAGE_UP)&&he(i,!1,!0,!1),lc=i=>(i.key?i.key==="PageDown":i.keyCode===J.PAGE_DOWN)&&he(i,!1,!1,!0),Tx=i=>(i.key?i.key==="PageDown":i.keyCode===J.PAGE_DOWN)&&he(i,!1,!0,!1),El=i=>(i.key?i.key==="PageUp":i.keyCode===J.PAGE_UP)&&he(i,!0,!1,!0),Gu=i=>(i.key?i.key==="PageDown":i.keyCode===J.PAGE_DOWN)&&he(i,!0,!1,!0),of=i=>(i.key?i.key==="+":i.keyCode===J.PLUS)||i.keyCode===J.NUMPAD_PLUS&&!Bt(i),rf=i=>(i.key?i.key==="-":i.keyCode===J.MINUS)||i.keyCode===J.NUMPAD_MINUS&&!Bt(i),Nr=i=>i.key?Yu(i)||Sx(i):i.keyCode===J.F4&&!Bt(i)||i.keyCode===J.ARROW_DOWN&&he(i,!1,!0,!1),Yu=i=>i.key==="F4"&&!Bt(i),xx=i=>(i.key?i.key==="F4":i.keyCode===J.F4)&&he(i,!1,!1,!0),xp=i=>(i.key?i.key==="F6":i.keyCode===J.F6)&&he(i,!1,!1,!1)||(i.key?i.key==="ArrowDown"||i.key==="Down":i.keyCode===J.ARROW_DOWN)&&he(i,!0,!0,!1),Sp=i=>(i.key?i.key==="F6":i.keyCode===J.F6)&&he(i,!1,!1,!0)||(i.key?i.key==="ArrowUp"||i.key==="Up":i.keyCode===J.ARROW_UP)&&he(i,!0,!0,!1),V1=i=>(i.key?i.key==="F7":i.keyCode===J.F7)&&!Bt(i),Sx=i=>(i.key==="ArrowDown"||i.key==="Down"||i.key==="ArrowUp"||i.key==="Up")&&he(i,!1,!0,!1),Ix=i=>i.key==="Shift"||i.keyCode===J.SHIFT,H1=i=>(i.key==="A"||i.key==="a"||i.which===J.A)&&he(i,!0,!1,!1),Nd=i=>(i.key==="A"||i.key==="a"||i.which===J.A)&&he(i,!1,!1,!1),nf=i=>(i.key==="P"||i.key==="p"||i.which===J.P)&&he(i,!1,!1,!1),Bt=i=>i.shiftKey||i.altKey||U1(i),U1=i=>!!(i.metaKey||i.ctrlKey),he=(i,e,t,o)=>i.shiftKey===o&&i.altKey===t&&U1(i)===e,W1=i=>(i.key?"0123456789".indexOf(i.key)!==-1:i.keyCode>=J.DIGIT_0&&i.keyCode<=J.DIGIT_9)&&he(i,!1,!1,!1),Cx=i=>(i.key?i.key===":":i.keyCode===J.COLON)&&he(i,!1,!1,!0),Ax=()=>new Promise(i=>{document.body?i():document.addEventListener("DOMContentLoaded",()=>{i()})}),Bx={packageName:"@ui5/webcomponents-base",fileName:"FontFace.css",content:`@font-face{font-family:"72";font-style:normal;font-weight:400;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular.woff2?ui5-webcomponents) format("woff2"),local("72");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}@font-face{font-family:"72full";font-style:normal;font-weight:400;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Regular-full.woff2?ui5-webcomponents) format("woff2"),local('72-full')}@font-face{font-family:"72";font-style:normal;font-weight:700;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),local('72-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}@font-face{font-family:"72full";font-style:normal;font-weight:700;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Bold';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold.woff2?ui5-webcomponents) format("woff2"),local('72-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}@font-face{font-family:'72-Boldfull';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Bold-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72-Light';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light.woff2?ui5-webcomponents) format("woff2"),local('72-Light');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}@font-face{font-family:'72-Lightfull';font-style:normal;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Light-full.woff2?ui5-webcomponents) format("woff2")}@font-face{font-family:'72Mono';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular.woff2?ui5-webcomponents) format('woff2'),local('72Mono');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}@font-face{font-family:'72Monofull';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Regular-full.woff2?ui5-webcomponents) format('woff2')}@font-face{font-family:'72Mono-Bold';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold.woff2?ui5-webcomponents) 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}@font-face{font-family:'72Mono-Boldfull';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72Mono-Bold-full.woff2?ui5-webcomponents) format('woff2')}@font-face{font-family:"72Black";font-style:bold;font-weight:900;src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black.woff2?ui5-webcomponents) format("woff2"),local('72Black');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}@font-face{font-family:'72Blackfull';src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-Black-full.woff2?ui5-webcomponents) format('woff2')}@font-face{font-family:"72-SemiboldDuplex";src:url(https://sdk.openui5.org/resources/sap/ui/core/themes/sap_horizon/fonts/72-SemiboldDuplex.woff2?ui5-webcomponents) format("woff2"),local('72-SemiboldDuplex');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}`},Ex={packageName:"@ui5/webcomponents-base",fileName:"OverrideFontFace.css",content:"@font-face{font-family:'72override';unicode-range:U+0102-0103,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EB7,U+1EB8-1EC7,U+1EC8-1ECB,U+1ECC-1EE3,U+1EE4-1EF1,U+1EF4-1EF7;src:local('Arial'),local('Helvetica'),local('sans-serif')}"},Dx=()=>{const i=Se("OpenUI5Support");(!i||!i.isOpenUI5Detected())&&Px(),Ox()},Px=()=>{ac("data-ui5-font-face")||nc(Bx,"data-ui5-font-face")},Ox=()=>{ac("data-ui5-font-face-override")||nc(Ex,"data-ui5-font-face-override")},Rx={packageName:"@ui5/webcomponents-base",fileName:"SystemCSSVars.css",content:":root{--_ui5_content_density:cozy}.sapUiSizeCompact,.ui5-content-density-compact,[data-ui5-compact-size]{--_ui5_content_density:compact}[dir=rtl]{--_ui5_dir:rtl}[dir=ltr]{--_ui5_dir:ltr}"},Lx=()=>{ac("data-ui5-system-css-vars")||nc(Rx,"data-ui5-system-css-vars")};let Ip=!1,Dc;const q1=new ur,Mx=i=>{if(!Ip){q1.attachEvent("boot",i);return}i()},Nx=async()=>{if(Dc!==void 0)return Dc;const i=async e=>{if(typeof document>"u"){e();return}aT(Fx),E$();const t=Se("OpenUI5Support"),o=t?t.isOpenUI5Detected():!1,r=Se("F6Navigation");t&&await t.init(),r&&!o&&r.init(),await Ax(),await mp(Pa()),t&&t.attachListeners(),Dx(),Lx(),e(),Ip=!0,await q1.fireEventAsync("boot")};return Dc=new Promise(i),Dc},Fx=i=>{const e=Pa();Ip&&i===e&&mp(e)},Fd=new Map,zd=new Map,af=i=>{if(!Fd.has(i)){const e=zx(i.split("-"));Fd.set(i,e)}return Fd.get(i)},j1=i=>{if(!zd.has(i)){const e=i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();zd.set(i,e)}return zd.get(i)},zx=i=>i.map((e,t)=>t===0?e.toLowerCase():e.charAt(0).toUpperCase()+e.slice(1).toLowerCase()).join(""),Vx=i=>{if(!(i instanceof HTMLElement))return"default";const e=i.getAttribute("slot");if(e){const t=e.match(/^(.+?)-\d+$/);return t?t[1]:e}return"default"},G1=i=>i instanceof HTMLSlotElement?i.assignedNodes({flatten:!0}).filter(e=>e instanceof HTMLElement):[i],Hx=i=>i.reduce((e,t)=>e.concat(G1(t)),[]);let Ux,sf={include:[/^ui5-/],exclude:[]};const Vd=new Map,Y1=()=>Ux,$_=i=>{if(!Vd.has(i)){const e=sf.include.some(t=>i.match(t))&&!sf.exclude.some(t=>i.match(t));Vd.set(i,e)}return Vd.get(i)},K1=i=>{if($_(i))return Y1()},Qi=i=>{const e=`v${n1.version.replaceAll(".","-")}`,t=/(--_?ui5)([^,:)\s]+)/g;return i.replaceAll(t,`$1-${e}$2`)};class Wx{constructor(e){this.metadata=e}getInitialState(){if(Object.prototype.hasOwnProperty.call(this,"_initialState"))return this._initialState;const e={},t=this.slotsAreManaged(),o=this.getProperties();for(const r in o){const n=o[r].type,s=o[r].defaultValue;n===Boolean?(e[r]=!1,s!==void 0&&console.warn("The 'defaultValue' metadata key is ignored for all booleans properties, they would be initialized with 'false' by default")):o[r].multiple?Object.defineProperty(e,r,{enumerable:!0,get(){return[]}}):n===Object?Object.defineProperty(e,r,{enumerable:!0,get(){return"defaultValue"in o[r]?o[r].defaultValue:{}}}):n===String?e[r]="defaultValue"in o[r]?o[r].defaultValue:"":e[r]=s}if(t){const r=this.getSlots();for(const[n,s]of Object.entries(r)){const l=s.propertyName||n;e[l]=[]}}return this._initialState=e,e}static validatePropertyValue(e,t){return t.multiple&&e?e.map(r=>lf(r,t)):lf(e,t)}static validateSlotValue(e,t){return qx(e,t)}getPureTag(){return this.metadata.tag||""}getTag(){const e=this.metadata.tag;if(!e)return"";const t=K1(e);return t?`${e}-${t}`:e}hasAttribute(e){const t=this.getProperties()[e];return t.type!==Object&&!t.noAttribute&&!t.multiple}getPropertiesList(){return Object.keys(this.getProperties())}getAttributesList(){return this.getPropertiesList().filter(this.hasAttribute.bind(this)).map(j1)}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}shouldInvalidateOnChildChange(e,t,o){const r=this.getSlots()[e].invalidateOnChildChange;if(r===void 0)return!1;if(typeof r=="boolean")return r;if(typeof r=="object"){if(t==="property"){if(r.properties===void 0)return!1;if(typeof r.properties=="boolean")return r.properties;if(Array.isArray(r.properties))return r.properties.includes(o);throw new Error("Wrong format for invalidateOnChildChange.properties: boolean or array is expected")}if(t==="slot"){if(r.slots===void 0)return!1;if(typeof r.slots=="boolean")return r.slots;if(Array.isArray(r.slots))return r.slots.includes(o);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")}}const lf=(i,e)=>{const t=e.type;let o=e.validator;return t&&t.isDataTypeClass&&(o=t),o?o.isValid(i)?i:e.defaultValue:!t||t===String?typeof i=="string"||typeof i>"u"||i===null?i:i.toString():t===Boolean?typeof i=="boolean"?i:!1:t===Object?typeof i=="object"?i:e.defaultValue:i in t?i:e.defaultValue},qx=(i,e)=>(i&&G1(i).forEach(t=>{if(!(t instanceof e.type))throw new Error(`The element is not of type ${e.type.toString()}`)}),i);class jx extends HTMLElement{}customElements.get("ui5-static-area")||customElements.define("ui5-static-area",jx);const X1=()=>Bn("CustomStyle.eventProvider",new ur),Z1="CustomCSSChange",Cp=i=>{X1().attachEvent(Z1,i)},Gx=i=>X1().fireEvent(Z1,i),Q1=()=>Bn("CustomStyle.customCSSFor",{});let T_;Cp(i=>{T_||oc({tag:i})});const Yx=(i,e)=>{const t=Q1();t[i]||(t[i]=[]),t[i].push(e),T_=!0;try{Gx(i)}finally{T_=!1}return oc({tag:i})},Kx=i=>{const e=Q1();return e[i]?e[i].join(""):""},Xx=10,Hd=i=>Array.isArray(i)?i.filter(e=>!!e).flat(Xx).map(e=>typeof e=="string"?e:e.content).join(" "):typeof i=="string"?i:i.content,jc=new Map;Cp(i=>{jc.delete(`${i}_normal`)});const J1=(i,e=!1)=>{const t=i.getMetadata().getTag(),o=`${t}_${e?"static":"normal"}`,r=Se("OpenUI5Enablement");if(!jc.has(o)){let n,s="";if(r&&(s=Hd(r.getBusyIndicatorStyles())),e)n=Hd(i.staticAreaStyles);else{const l=Kx(t)||"";n=`${Hd(i.styles)} ${l}`}n=`${n} ${s}`,jc.set(o,n)}return jc.get(o)},Gc=new Map;Cp(i=>{Gc.delete(`${i}_normal`)});const Zx=(i,e=!1)=>{const o=`${i.getMetadata().getTag()}_${e?"static":"normal"}`;if(!Gc.has(o)){const r=J1(i,e),n=new CSSStyleSheet;n.replaceSync(r),Gc.set(o,[n])}return Gc.get(o)},Qx=10,x_=(i,e=!1)=>{const t=i[e?"staticAreaStyles":"styles"];if(!t)return;const o=Array.isArray(t)?t:[t],r=Se("OpenUI5Enablement");return r&&o.push(r.getBusyIndicatorStyles()),o.flat(Qx).filter(n=>!!n).map(n=>dp(n.packageName,n.fileName))},S_=(i,e=!1)=>{let t;const o=i.constructor,r=e?i.staticAreaItem.shadowRoot:i.shadowRoot;let n;if(e?n=i.renderStatic():n=i.render(),!r){console.warn("There is no shadow root to update");return}if(ws()?t=x_(o,e):document.adoptedStyleSheets&&!zr()?r.adoptedStyleSheets=Zx(o,e):t=J1(o,e),o.renderer){o.renderer(n,r,t,e,{host:i});return}o.render(n,r,t,e,{host:i})},Jx="--_ui5_content_density",eS=i=>getComputedStyle(i).getPropertyValue(Jx),e5=i=>{const e=/\$([-a-z0-9A-Z._]+)(?::([^$]*))?\$/.exec(i);return e&&e[2]?e[2].split(/,/):null},tS={iw:"he",ji:"yi",in:"id",sh:"sr"},iS=e5("$cldr-rtl-locales:ar,fa,he$")||[],oS=i=>(i=i&&tS[i]||i,iS.indexOf(i)>=0),t5=()=>{if(typeof document>"u")return!1;const i=f$();return i!==void 0?!!i:oS(ju()||A1())},rS="--_ui5_dir",i5=i=>{const e=window.document,t=["ltr","rtl"],o=getComputedStyle(i).getPropertyValue(rS);return t.includes(o)?o:t.includes(i.dir)?i.dir:t.includes(e.documentElement.dir)?e.documentElement.dir:t.includes(e.body.dir)?e.body.dir:t5()?"rtl":void 0},Pc="ui5-static-area-item",nS="data-sap-ui-integration-popup-content";class fl extends HTMLElement{constructor(){super(),this._rendered=!1,this.attachShadow({mode:"open"})}setOwnerElement(e){this.ownerElement=e,this.classList.add(this.ownerElement._id),this.ownerElement.hasAttribute("data-ui5-static-stable")&&this.setAttribute("data-ui5-stable",this.ownerElement.getAttribute("data-ui5-static-stable"))}update(){this._rendered&&(this.updateAdditionalProperties(),S_(this.ownerElement,!0))}updateAdditionalProperties(){this._updateAdditionalAttrs(),this._updateContentDensity(),this._updateDirection()}_updateContentDensity(){eS(this.ownerElement)==="compact"?(this.classList.add("sapUiSizeCompact"),this.classList.add("ui5-content-density-compact")):(this.classList.remove("sapUiSizeCompact"),this.classList.remove("ui5-content-density-compact"))}_updateDirection(){if(this.ownerElement){const e=i5(this.ownerElement);e?this.setAttribute("dir",e):this.removeAttribute("dir")}}_updateAdditionalAttrs(){this.setAttribute(Pc,""),this.setAttribute(nS,"")}async getDomRef(){return this.updateAdditionalProperties(),this._rendered||(this._rendered=!0,S_(this.ownerElement,!0)),await Bi(),this.shadowRoot}static getTag(){const e=K1(Pc);return e?`${Pc}-${e}`:Pc}static createInstance(){return customElements.get(fl.getTag())||customElements.define(fl.getTag(),fl),document.createElement(this.getTag())}}const o5=[],Ap=i=>{if(typeof i!="string"||!i.length)throw new Error("Only string characters for a tag prefix.");o5.push(i)},r5=i=>o5.some(e=>i.startsWith(e)),I_=new WeakMap,aS=(i,e,t)=>{const o=new MutationObserver(e);I_.set(i,o),o.observe(i,t)},sS=i=>{const e=I_.get(i);e&&(e.disconnect(),I_.delete(i))},lS=["value-changed","click"];let Yc;const cS=i=>lS.includes(i),uS=i=>{const e=n5();return!(typeof e!="boolean"&&e.events&&e.events.includes&&e.events.includes(i))},n5=()=>(Yc===void 0&&(Yc=b$()),Yc),dS=i=>{Yc=i},_S=i=>{const e=n5();return cS(i)?!1:e===!0?!0:!uS(i)},hS=["disabled","title","hidden","role","draggable"],cf=i=>hS.includes(i)||i.startsWith("aria")?!0:![HTMLElement,Element,Node].some(t=>t.prototype.hasOwnProperty(i)),uf=(i,e)=>{if(i.length!==e.length)return!1;for(let t=0;t{if(!ws()||!X$())return;const e=x_(i,!1)||[],t=x_(i,!0)||[];[...e,...t].forEach(o=>{df.has(o)||(up(o,{rel:"preload",as:"style"}),df.add(o))})},Vr=(i,e)=>{const t=vS(e),o=Y1();return i.call(e,e,t,o)},vS=i=>{const e=i.constructor,t=e.getMetadata().getPureTag(),o=e.getUniqueDependencies().map(r=>r.getMetadata().getPureTag()).filter($_);return $_(t)&&o.push(t),o};let fS=0;const _f=new Map,Ud=new Map;function qs(i){this._suppressInvalidation||(this.onInvalidation(i),this._changedState.push(i),cp(this),this._invalidationEventProvider.fireEvent("invalidate",{...i,target:this}))}class j extends HTMLElement{constructor(){super();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 ur,this._componentStateFinalizedEventProvider=new ur;let t;this._domRefReadyPromise=new Promise(o=>{t=o}),this._domRefReadyPromise._deferredResolve=t,this._doNotSyncAttributes=new Set,this._state={...e.getMetadata().getInitialState()},this._upgradeAllProperties(),e._needsShadowDOM()&&this.attachShadow({mode:"open"})}get _id(){return this.__id||(this.__id=`ui5wc_${++fS}`),this.__id}render(){const e=this.constructor.template;return Vr(e,this)}renderStatic(){const e=this.constructor.staticAreaTemplate;return Vr(e,this)}async connectedCallback(){const e=this.constructor;this.setAttribute(e.getMetadata().getPureTag(),""),e.getMetadata().supportsF6FastNavigation()&&this.setAttribute("data-sap-ui-fastnavgroup","true");const t=e.getMetadata().slotsAreManaged();this._inDOM=!0,t&&(this._startObservingDOMChildren(),await this._processChildren()),this._inDOM&&(u1(this),this._domRefReadyPromise._deferredResolve(),this._fullyConnected=!0,this.onEnterDOM())}disconnectedCallback(){const t=this.constructor.getMetadata().slotsAreManaged();this._inDOM=!1,t&&this._stopObservingDOMChildren(),this._fullyConnected&&(this.onExitDOM(),this._fullyConnected=!1),this.staticAreaItem&&this.staticAreaItem.parentElement&&this.staticAreaItem.parentElement.removeChild(this.staticAreaItem),H$(this)}onBeforeRendering(){}onAfterRendering(){}onEnterDOM(){}onExitDOM(){}_startObservingDOMChildren(){const t=this.constructor.getMetadata();if(!t.hasSlots())return;const r=t.canSlotText(),n=Object.keys(t.getSlots()).some(l=>t.getSlots()[l].cloned),s={childList:!0,subtree:r||n,characterData:r};aS(this,this._processChildren.bind(this),s)}_stopObservingDOMChildren(){sS(this)}async _processChildren(){this.constructor.getMetadata().hasSlots()&&await this._updateSlots()}async _updateSlots(){const e=this.constructor,t=e.getMetadata().getSlots(),o=e.getMetadata().canSlotText(),r=Array.from(o?this.childNodes:this.children),n=new Map,s=new Map;for(const[f,g]of Object.entries(t)){const w=g.propertyName||f;s.set(w,f),n.set(w,[...this._state[w]]),this._clearSlot(f,g)}const l=new Map,_=new Map,p=r.map(async(f,g)=>{const w=Vx(f),A=t[w];if(A===void 0){if(w!=="default"){const X=Object.keys(t).join(", ");console.warn(`Unknown slotName: ${w}, ignoring`,f,`Valid values are: ${X}`)}return}if(A.individualSlots){const X=(l.get(w)||0)+1;l.set(w,X),f._individualSlot=`${w}-${X}`}if(f instanceof HTMLElement){const X=f.localName;if(X.includes("-")&&!r5(X)){if(!customElements.get(X)){const D=customElements.whenDefined(X);let h=_f.get(X);h||(h=new Promise(be=>setTimeout(be,1e3)),_f.set(X,h)),await Promise.race([D,h])}customElements.upgrade(f)}}if(f=e.getMetadata().constructor.validateSlotValue(f,A),ga(f)&&A.invalidateOnChildChange){const X=this._getChildChangeListener(w);X&&f.attachInvalidate.call(f,X)}f instanceof HTMLSlotElement&&this._attachSlotChange(f,w);const L=A.propertyName||w;_.has(L)?_.get(L).push({child:f,idx:g}):_.set(L,[{child:f,idx:g}])});await Promise.all(p),_.forEach((f,g)=>{this._state[g]=f.sort((w,A)=>w.idx-A.idx).map(w=>w.child)});let v=!1;for(const[f,g]of Object.entries(t)){const w=g.propertyName||f;uf(n.get(w),this._state[w])||(qs.call(this,{type:"slot",name:s.get(w),reason:"children"}),v=!0)}v||qs.call(this,{type:"slot",name:"default",reason:"textcontent"})}_clearSlot(e,t){const o=t.propertyName||e;this._state[o].forEach(n=>{if(ga(n)){const s=this._getChildChangeListener(e);s&&n.detachInvalidate.call(n,s)}n instanceof HTMLSlotElement&&this._detachSlotChange(n,e)}),this._state[o]=[]}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)&&qs.call(this,{type:"slot",name:e,reason:"childchange",child:t.target})}attributeChangedCallback(e,t,o){let r;if(this._doNotSyncAttributes.has(e))return;const n=this.constructor.getMetadata().getProperties(),s=e.replace(/^ui5-/,""),l=af(s);if(n.hasOwnProperty(l)){const _=n[l],p=_.type;let v=_.validator;p&&p.isDataTypeClass&&(v=p),v?r=v.attributeToProperty(o):p===Boolean?r=o!==null:r=o,this[l]=r}}_updateAttribute(e,t){const o=this.constructor;if(!o.getMetadata().hasAttribute(e))return;const n=o.getMetadata().getProperties()[e],s=n.type;let l=n.validator;const _=j1(e),p=this.getAttribute(_);if(s&&s.isDataTypeClass&&(l=s),l){const v=l.propertyToAttribute(t);v===null?(this._doNotSyncAttributes.add(_),this.removeAttribute(_),this._doNotSyncAttributes.delete(_)):this.setAttribute(_,v)}else s===Boolean?t===!0&&p===null?this.setAttribute(_,""):t===!1&&p!==null&&this.removeAttribute(_):typeof t!="object"&&p!==t&&this.setAttribute(_,t)}_upgradeProperty(e){if(this.hasOwnProperty(e)){const t=this[e];delete this[e],this[e]=t}}_upgradeAllProperties(){this.constructor.getMetadata().getPropertiesList().forEach(this._upgradeProperty.bind(this))}_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){const o=this._getSlotChangeListener(t);o&&e.addEventListener("slotchange",o)}_detachSlotChange(e,t){e.removeEventListener("slotchange",this._getSlotChangeListener(t))}_onSlotChange(e){qs.call(this,{type:"slot",name:e,reason:"slotchange"})}onInvalidation(e){}_render(){const e=this.constructor,t=e.getMetadata().hasIndividualSlots();this._suppressInvalidation=!0,this.onBeforeRendering(),this._componentStateFinalizedEventProvider.fireEvent("componentStateFinalized"),this._suppressInvalidation=!1,this._changedState=[],e._needsShadowDOM()&&S_(this),this.staticAreaItem&&this.staticAreaItem.update(),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;const e=[...this.shadowRoot.children].filter(t=>!["link","style"].includes(t.localName));return e.length!==1&&console.warn(`The shadow DOM for ${this.constructor.getMetadata().getTag()} does not have a top level element, the getDomRef() method might not work as expected`),e[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&&typeof t.focus=="function"&&t.focus(e)}fireEvent(e,t,o=!1,r=!0){const n=this._fireEvent(e,t,o,r),s=af(e);return s!==e?n&&this._fireEvent(s,t,o,r):n}_fireEvent(e,t,o=!1,r=!0){const n=new CustomEvent(`ui5-${e}`,{detail:t,composed:!1,bubbles:r,cancelable:o}),s=this.dispatchEvent(n);if(_S(e))return s;const l=new CustomEvent(e,{detail:t,composed:!1,bubbles:r,cancelable:o});return this.dispatchEvent(l)&&s}getSlottedNodes(e){return Hx(this[e])}attachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.attachEvent("componentStateFinalized",e)}detachComponentStateFinalized(e){this._componentStateFinalizedEventProvider.detachEvent("componentStateFinalized",e)}get effectiveDir(){return F$(this.constructor),i5(this)}get isUI5Element(){return!0}get classes(){return{}}static get observedAttributes(){return this.getMetadata().getAttributesList()}static _needsShadowDOM(){return!!this.template||Object.prototype.hasOwnProperty.call(this.prototype,"render")}static _needsStaticArea(){return!!this.staticAreaTemplate||Object.prototype.hasOwnProperty.call(this.prototype,"renderStatic")}getStaticAreaItemDomRef(){if(!this.constructor._needsStaticArea())throw new Error("This component does not use the static area");return this.staticAreaItem||(this.staticAreaItem=fl.createInstance(),this.staticAreaItem.setOwnerElement(this)),this.staticAreaItem.parentElement||vu("ui5-static-area").appendChild(this.staticAreaItem),this.staticAreaItem.getDomRef()}static _generateAccessors(){const e=this.prototype,t=this.getMetadata().slotsAreManaged(),o=this.getMetadata().getProperties();for(const[r,n]of Object.entries(o)){if(cf(r)||console.warn(`"${r}" is not a valid property name. Use a name that does not collide with DOM APIs`),n.type===Boolean&&n.defaultValue)throw new Error(`Cannot set a default value for property "${r}". All booleans are false by default.`);if(n.type===Array)throw new Error(`Wrong type for property "${r}". Properties cannot be of type Array - use "multiple: true" and set "type" to the single value type, such as "String", "Object", etc...`);if(n.type===Object&&n.defaultValue)throw new Error(`Cannot set a default value for property "${r}". All properties of type "Object" are empty objects by default.`);if(n.multiple&&n.defaultValue)throw new Error(`Cannot set a default value for property "${r}". All multiple properties are empty arrays by default.`);Object.defineProperty(e,r,{get(){if(this._state[r]!==void 0)return this._state[r];const s=n.defaultValue;return n.type===Boolean?!1:n.type===String?s:n.multiple?[]:s},set(s){let l;s=this.constructor.getMetadata().constructor.validatePropertyValue(s,n);const v=n.type;let f=n.validator;const g=this._state[r];v&&v.isDataTypeClass&&(f=v),f?l=!f.valuesAreEqual(g,s):Array.isArray(g)&&Array.isArray(s)&&n.multiple&&n.compareValues?l=!uf(g,s):l=g!==s,l&&(this._state[r]=s,qs.call(this,{type:"property",name:r,newValue:s,oldValue:g}),this._updateAttribute(r,s))}})}if(t){const r=this.getMetadata().getSlots();for(const[n,s]of Object.entries(r)){cf(n)||console.warn(`"${n}" is not a valid property name. Use a name that does not collide with DOM APIs`);const l=s.propertyName||n;Object.defineProperty(e,l,{get(){return this._state[l]!==void 0?this._state[l]:[]},set(){throw new Error("Cannot set slot content directly, use the DOM APIs (appendChild, removeChild, etc...)")}})}}}static get styles(){return""}static get staticAreaStyles(){return""}static get dependencies(){return[]}static getUniqueDependencies(){if(!Ud.has(this)){const e=this.dependencies.filter((t,o,r)=>r.indexOf(t)===o);Ud.set(this,e)}return Ud.get(this)||[]}static whenDependenciesDefined(){return Promise.all(this.getUniqueDependencies().map(e=>e.define()))}static async onDefine(){return Promise.resolve()}static async define(){await Nx(),await Promise.all([this.whenDependenciesDefined(),this.onDefine()]);const e=this.getMetadata().getTag(),t=R$(e),o=customElements.get(e);return o&&!t?M$(e):o||(this._generateAccessors(),O$(e),customElements.define(e,this),pS(this)),this}static getMetadata(){if(this.hasOwnProperty("_metadata"))return this._metadata;const e=[this.metadata];let t=this;for(;t!==j;)t=Object.getPrototypeOf(t),e.unshift(t.metadata);const o=ap({},...e);return this._metadata=new Wx(o),this._metadata}}j.metadata={};const ga=i=>"isUI5Element"in i,Ku=i=>i.nodeName==="SLOT"?!1:i.offsetWidth<=0&&i.offsetHeight<=0||i.style&&i.style.visibility==="hidden",mS=/^(?:a|area)$/i,gS=/^(?:input|select|textarea|button)$/i,a5=i=>{if(i.disabled)return!1;const e=i.getAttribute("tabindex");return e!=null?parseInt(e)>=0:gS.test(i.nodeName)||mS.test(i.nodeName)&&!!i.href},bS=i=>i.hasAttribute("data-ui5-focus-trap"),C_=async(i,e)=>!i||Ku(i)?null:Bp(i,!0,e),yS=async(i,e)=>!i||Ku(i)?null:Bp(i,!1,e),wS=i=>i.hasAttribute("data-ui5-focus-redirect")||!Ku(i),Bp=async(i,e,t)=>{let o,r,n=-1;i.shadowRoot?o=e?i.shadowRoot.firstChild:i.shadowRoot.lastChild:i instanceof HTMLSlotElement&&i.assignedNodes()?(r=i.assignedNodes(),n=e?0:r.length-1,o=r[n]):t?o=i:o=e?i.firstElementChild:i.lastElementChild;let s;for(;o;){const l=o;if(ga(o)&&(o=await o.getFocusDomRefAsync()),!o)return null;if(o.nodeType===1&&wS(o)&&!bS(o)){if(a5(o))return o&&typeof o.focus=="function"?o:null;if(s=await Bp(o,e),s)return s&&typeof s.focus=="function"?s:null}o=e?l.nextSibling:l.previousSibling,r&&!r[n].contains(o)&&(n=e?n+1:n-1,o=r[n])}return null};let A_=[];const kS=i=>i.getAttribute("data-sap-ui-fastnavgroup")==="true",$S=i=>{const e=window.getComputedStyle(i);return e.width!=="0px"&&e.height!=="0px"&&e.opacity!=="0"&&e.display!=="none"&&e.visibility!=="hidden"},s5=(i,e)=>{let t,o,r=0;if($S(i))for(kS(i)&&A_.push(i),i.shadowRoot?t=i.shadowRoot.firstChild:i instanceof HTMLSlotElement&&i.assignedNodes()?(o=i.assignedNodes(),t=o[0]):e?t=i:t=i.firstElementChild;t;){const n=t;if(!t)return;t.nodeType===1&&s5(t,!1),t=o&&o.length?o[++r]:n.nextElementSibling}},TS=i=>(A_=[],s5(i,!0),A_);class Ep{constructor(){this.selectedGroup=null,this.groups=[],this.keydownHandler=this._keydownHandler.bind(this),this.attachEventListeners()}attachEventListeners(){document.addEventListener("keydown",this.keydownHandler)}async groupElementToFocus(e){const t=ga(e)?e.getDomRef():e;if(t){if(a5(t))return t;const o=await C_(t);if(o)return o}}async findNextFocusableGroupElement(e){let t;for(let o=0;o-1?e+1>=this.groups.length?(e=0,r=this.groups[e]):(e+=1,r=this.groups[e]):(e=0,r=this.groups[e]),t=await this.groupElementToFocus(r),t)break}return t}async findPreviousFocusableGroupElement(e){let t;for(let o=0;o0?(e=await this.groupElementToFocus(this.groups[e-1])===await this.groupElementToFocus(this.groups[e])?e-2:e-1,e<0&&(e=this.groups.length-1),r=this.groups[e]):(e=this.groups.length-1,r=this.groups[e]),t=await this.groupElementToFocus(r),t)break}return t}async _keydownHandler(e){const t=xp(e),o=Sp(e);if(!(t||o)||(this.updateGroups(),this.groups.length<1))return;e.preventDefault();let r;if(this.groups.length===0)return r=await this.groupElementToFocus(this.groups[0]),r==null?void 0:r.focus();let n=-1;this.selectedGroup&&(n=this.groups.indexOf(this.selectedGroup)),t&&(r=await this.findNextFocusableGroupElement(n)),o&&(r=await this.findPreviousFocusableGroupElement(n)),r==null||r.focus()}removeEventListeners(){document.removeEventListener("keydown",this.keydownHandler)}updateGroups(){this.setSelectedGroup(),this.groups=TS(document.body)}setSelectedGroup(e=window.document){const t=window.document.querySelector("html");let o=this.deepActive(e);for(;o&&o.getAttribute("data-sap-ui-fastnavgroup")!=="true"&&o!==t;)o=o.parentElement?o.parentNode:o.parentNode.host;this.selectedGroup=o}deepActive(e){return e.activeElement&&e.activeElement.shadowRoot?this.deepActive(e.activeElement.shadowRoot):e.activeElement}destroy(){this.removeEventListeners()}static init(){return this._instance||(this._instance=new Ep),this._instance}}Da("F6Navigation",Ep);D$("UI5 Web Components Playground");K$(!1);Wu("@ui5/webcomponents-base","/resources/css/base/");Wu("@ui5/webcomponents-theming","/resources/css/theming/");Wu("@ui5/webcomponents","/resources/css/main/");Wu("@ui5/webcomponents-fiori","/css/");let Wd;class l5{static getLegacyDateCalendarCustomizing(){return Wd===void 0&&(Wd=r1()),Wd.legacyDateCalendarCustomizing||[]}}Da("LegacyDateFormats",l5);let qd;const B_=()=>(qd===void 0&&(qd=r1()),qd.firstDayOfWeek),xS=Se("LegacyDateFormats"),SS=xS?l5.getLegacyDateCalendarCustomizing:()=>[],hf=()=>{},c5={getFormatLocale:Ee,getLegacyDateFormat:hf,getCustomLocaleData:hf,getLegacyDateCalendarCustomizing:SS};var E_;(function(i){i.Gregorian="Gregorian",i.Islamic="Islamic",i.Japanese="Japanese",i.Buddhist="Buddhist",i.Persian="Persian"})(E_||(E_={}));const dr=E_;let js,Fa;const u5=()=>(js===void 0&&(js=y$()),js&&js in dr?js:dr.Gregorian),IS=()=>(Fa===void 0&&(Fa=w$()),Fa&&Fa in dr,Fa);let ml;const d5=()=>(ml===void 0&&(ml=k$()),ml),CS=i=>{ml!==i&&(ml=i)};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var Me={},Yn="",Oc,_5={_oCache:new Map,_iCacheLimit:10,get:function(i){var e=this._oCache.get(i);if(e)return e;var t={hourCycle:"h23",hour:"2-digit",minute:"2-digit",second:"2-digit",fractionalSecondDigits:3,day:"2-digit",month:"2-digit",year:"numeric",timeZone:i,timeZoneName:"short",era:"narrow",weekday:"short"},o=new Intl.DateTimeFormat("en-US",t);return this._oCache.size===this._iCacheLimit&&(this._oCache=new Map),this._oCache.set(i,o),o}};Me.isValidTimezone=function(i){if(!i)return!1;if(Intl.supportedValuesOf)try{if(Oc=Oc||Intl.supportedValuesOf("timeZone"),Oc.includes(i))return!0}catch{Oc=[]}try{return _5.get(i),!0}catch{return!1}};Me.convertToTimezone=function(i,e){var t=this._getParts(i,e);return Me._getDateFromParts(t)};Me._getParts=function(i,e){var t,o,r=Object.create(null),n=_5.get(e),s=n.formatToParts(new Date(i.getTime()));for(t in s)o=s[t],o.type!=="literal"&&(r[o.type]=o.value);return r};Me._getDateFromParts=function(i){var e=new Date(0),t=parseInt(i.year);return i.era==="B"&&(t=t*-1+1),e.setUTCFullYear(t,parseInt(i.month)-1,parseInt(i.day)),e.setUTCHours(parseInt(i.hour),parseInt(i.minute),parseInt(i.second),parseInt(i.fractionalSecond||0)),e};Me.calculateOffset=function(i,e){const t=Me.convertToTimezone(i,e),o=i.getTime(),r=o-t.getTime(),n=new Date(o+r),l=Me.convertToTimezone(n,e).getTime(),_=n.getTime()-l;let p=_;if(r!==_){const v=new Date(o+_),g=Me.convertToTimezone(v,e).getTime();g!==o&&l>g&&(p=r)}return p/1e3};Me.mCLDR2ABAPTimezones={"America/Buenos_Aires":"America/Argentina/Buenos_Aires","America/Catamarca":"America/Argentina/Catamarca","America/Cordoba":"America/Argentina/Cordoba","America/Jujuy":"America/Argentina/Jujuy","America/Mendoza":"America/Argentina/Mendoza","America/Indianapolis":"America/Indiana/Indianapolis","America/Louisville":"America/Kentucky/Louisville","Africa/Asmera":"Africa/Asmara","Asia/Katmandu":"Asia/Kathmandu","Asia/Calcutta":"Asia/Kolkata","Atlantic/Faeroe":"Atlantic/Faroe","Pacific/Ponape":"Pacific/Pohnpei","Asia/Rangoon":"Asia/Yangon","Pacific/Truk":"Pacific/Chuuk","America/Godthab":"America/Nuuk","Asia/Saigon":"Asia/Ho_Chi_Minh","America/Coral_Harbour":"America/Atikokan"};Me.getLocalTimezone=function(){return Yn===""&&(Yn=new Intl.DateTimeFormat().resolvedOptions().timeZone,Yn=Me.mCLDR2ABAPTimezones[Yn]||Yn),Yn};Me._clearLocalTimezoneCache=function(){Yn=""};const AS=()=>{},tt={getLanguage:ju,getCalendarType:u5,getSupportedLanguages:()=>e5("$core-i18n-locales:,ar,bg,ca,cs,da,de,el,en,es,et,fi,fr,hi,hr,hu,it,iw,ja,ko,lt,lv,nl,no,pl,pt,ro,ru,sh,sk,sl,sv,th,tr,uk,vi,zh_CN,zh_TW$"),getOriginInfo:AS,getFormatSettings:()=>c5,getTimezone:()=>d5()||Me.getLocalTimezone(),getCalendarWeekNumbering:()=>"Default"},BS=()=>{},h5={getConfiguration:()=>tt,getLibraryResourceBundle:BS(),getFormatSettings:()=>c5},Oa={set(){}};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var ue=function(i,e){if(!i){var t=typeof e=="function"?e():e;console.assert(i,t)}};const et=console;et.warning=console.warn;/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var jd=function(i){ue(Array.isArray(i),"uniqueSort: input parameter must be an Array");var e=i.length;if(e>1){i.sort();for(var t=0,o=1;o0;)i[e[t]]||(i[e[t]]=!0);return Object.defineProperty(this,"_mImplementedTypes",{value:Object.freeze(i),writable:!1,configurable:!1}),i},configurable:!0});We.prototype.isA=function(i){var e=this._mImplementedTypes;if(Array.isArray(i)){for(var t=0;t1?Oa.get(i.slice(0,-1),e):e,o=r&&r[i[i.length-1]],typeof o=="function"&&t.bindContext&&(o=o.bind(t.rootContext||r)),o):Kn}var PS=function(i,e,t){e=e||{},t=t||{},t.bindContext=t.bindContext!==!1,t.bindDotContext=t.bindDotContext!==!1;var o=i.split("."),r=o.shift()||".",n=r===".",s=Kn;return o.unshift(r),t.preferDotContext&&!n&&(s=pf(o,e["."],{bindContext:t.bindContext&&t.bindDotContext,rootContext:e["."]})),s===Kn&&(s=pf(o,e,{bindContext:t.bindContext&&(n?t.bindDotContext:o.length>1),rootContext:n?e["."]:void 0})),n||(s===Kn&&t.useProbingRequire&&(s=require(i.replace(/\./g,"/")),s===void 0&&(s=Kn)),s===Kn&&(s=Oa.get(i))),s===Kn?void 0:s};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var Ne=function(){throw new Error};Ne.prototype.getName=function(){};Ne.prototype.getBaseType=function(){};Ne.prototype.getPrimitiveType=function(){for(var i=this;i.getBaseType();)i=i.getBaseType();return i};Ne.prototype.getComponentType=function(){};Ne.prototype.getDefaultValue=function(){};Ne.prototype.isArrayType=function(){return!1};Ne.prototype.isEnumType=function(){return!1};Ne.prototype.getEnumValues=function(){};Ne.prototype.parseValue=function(i){return i};Ne.prototype.isValid=void 0;Ne.prototype.setNormalizer=function(i){ue(typeof i=="function","DataType.setNormalizer: fnNormalizer must be a function"),this._fnNormalizer=typeof i=="function"?i:void 0};Ne.prototype.normalize=function(i){return this._fnNormalizer?this._fnNormalizer(i):i};function Er(i,e,t){e=e||{};var o=t||Ne.prototype,r=Object.create(o);if(r.getName=function(){return i},e.hasOwnProperty("defaultValue")){var n=e.defaultValue;r.getDefaultValue=function(){return n}}if(e.isValid){var s=e.isValid;r.isValid=o.isValid?function(l){return o.isValid(l)?s(l):!1}:s}return e.parseValue&&(r.parseValue=e.parseValue),r.getBaseType=function(){return t},r}var ar={any:Er("any",{defaultValue:null,isValid:function(i){return!0}}),boolean:Er("boolean",{defaultValue:!1,isValid:function(i){return typeof i=="boolean"},parseValue:function(i){return i=="true"}}),int:Er("int",{defaultValue:0,isValid:function(i){return typeof i=="number"&&(isNaN(i)||Math.floor(i)==i)},parseValue:function(i){return parseInt(i)}}),float:Er("float",{defaultValue:0,isValid:function(i){return typeof i=="number"},parseValue:function(i){return parseFloat(i)}}),string:Er("string",{defaultValue:"",isValid:function(i){return typeof i=="string"||i instanceof String},parseValue:function(i){return i}}),object:Er("object",{defaultValue:null,isValid:function(i){return typeof i=="object"||typeof i=="function"},parseValue:function(i){return i?JSON.parse(i):null}}),function:Er("function",{defaultValue:null,isValid:function(i){return i==null||typeof i=="function"},parseValue:function(i,e){if(i!==""){if(!/^\.?[A-Z_\$][A-Z0-9_\$]*(\.[A-Z_\$][A-Z0-9_\$]*)*$/i.test(i))throw new Error("Function references must consist of dot separated simple identifiers (A-Z, 0-9, _ or $) only, but was '"+i+"'");var t,o=e&&e.context,r=e&&e.locals;if(t=PS(i,Object.assign({".":o},r)),t&&this.isValid(t))return t;throw new TypeError("The string '"+i+"' couldn't be resolved to a function")}}})},OS=Er("array",{defaultValue:[]});function RS(i){ue(i instanceof Ne,"DataType.: componentType must be a DataType");var e=Object.create(Ne.prototype);return e.getName=function(){return i.getName()+"[]"},e.getComponentType=function(){return i},e.isValid=function(t){if(t===null)return!0;if(Array.isArray(t)){for(var o=0;o0){var t=i.slice(0,-2),o=this.getType(t);e=o&&RS(o),e&&(ar[i]=e)}else i!=="array"&&(e=P_[i],e==null&&(e=Oa.get(i),e!=null&&et.error(`The type '${i}' was accessed via globals. Defining enums via globals is deprecated. Please require the module 'sap/ui/base/DataType' and call the static 'DataType.registerEnum' API.`)),e instanceof Ne?ar[i]=e:D_(e)?(e=ar[i]=LS(i,e),delete P_[i]):e?(et.warning("[FUTURE FATAL] '"+i+"' is not a valid data type. Falling back to type 'any'."),e=ar.any):(et.error("[FUTURE FATAL] data type '"+i+"' could not be found."),e=void 0));return e};Ne.createType=function(i,e,t){if(ue(typeof i=="string"&&i,"DataType.createType: type name must be a non-empty string"),ue(t==null||t instanceof Ne||typeof t=="string"&&t,"DataType.createType: base type must be empty or a DataType or a non-empty string"),/[\[\]]/.test(i)&&et.error("[FUTURE FATAL] DataType.createType: array types ('something[]') must not be created with createType, they're created on-the-fly by DataType.getType"),typeof t=="string"&&(t=Ne.getType(t)),t=t||ar.any,(t.isArrayType()||t.isEnumType())&&et.error("[FUTURE FATAL] DataType.createType: base type must not be an array- or enum-type"),i==="array"||ar[i]instanceof Ne){if(i==="array"||ar[i].getBaseType()==null)throw new Error("DataType.createType: primitive or hidden type "+i+" can't be re-defined");et.warning("[FUTURE FATAL] DataTypes.createType: type "+i+" is redefined. This is an unsupported usage of DataType and might cause issues.")}var o=ar[i]=Er(i,e,t);return o};var m5=new Set;Ne.registerInterfaceTypes=function(i){i.forEach(function(e){m5.add(e),Oa.set(e,e)})};Ne.registerEnum=function(i,e){P_[i]=e};Ne._isEnumCandidate=function(i){return!Object.keys(i).some(e=>{const t=typeof i[e];return t==="object"||t==="function"})};Ne.isInterfaceType=function(i){return m5.has(i)};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var Ae={Gregorian:"Gregorian",Islamic:"Islamic",Japanese:"Japanese",Persian:"Persian",Buddhist:"Buddhist"};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */Ne.registerEnum("sap.ui.core.CalendarType",Ae);const MS={iw:"he",ji:"yi"},NS=i=>MS[i]||i,Dl={getModernLanguage:NS};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var FS=/^((?:[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,Uu,g5;class Fr{constructor(e){Bc(this,Uu);Qo(this,"language");Qo(this,"script");Qo(this,"region");Qo(this,"variant");Qo(this,"variantSubtags");Qo(this,"extension");Qo(this,"extensionSubtags");Qo(this,"privateUse");Qo(this,"privateUseSubtags");var t=FS.exec(e.replace(/_/g,"-"));if(t===null)throw new TypeError("The given language tag'"+e+"' does not adhere to BCP-47.");this.language=t[1]||null,this.script=t[2]||null,this.region=t[3]||null,this.variant=t[4]&&t[4].slice(1)||null,this.variantSubtags=this.variant?this.variant.split("-"):[],this.extension=t[5]&&t[5].slice(1)||null,this.extensionSubtags=this.variant?this.variant.split("-"):[],this.privateUse=t[6]||null,this.privateUseSubtags=this.privateUse?this.privateUse.slice(2).split("-"):[],this.language&&(this.language=this.language.toLowerCase()),this.script&&(this.script=this.script.toLowerCase().replace(/^[a-z]/,function(o){return o.toUpperCase()})),this.region&&(this.region=this.region.toUpperCase()),Object.freeze(this)}toString(){return Cv(this,Uu,g5).call(this,this.language,this.script,this.region,this.variant,this.extension,this.privateUse)}}Uu=new WeakSet,g5=function(){return Array.prototype.filter.call(arguments,Boolean).join("-")};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var vf=Object.create(null),as=Jt.extend("sap.ui.core.Locale",{constructor:function(i){Jt.apply(this),i instanceof Fr?(this.oLanguageTag=i,this.sLocaleId=this.oLanguageTag.toString()):(this.oLanguageTag=new Fr(i),this.sLocaleId=i),Object.assign(this,this.oLanguageTag),this.sLanguage=this.language},getLanguage:function(){return this.language},getScript:function(){return this.script},getRegion:function(){return this.region},getVariant:function(){return this.variant},getVariantSubtags:function(){return this.variantSubtags},getExtension:function(){return this.extension},getExtensionSubtags:function(){return this.extensionSubtags},getPrivateUse:function(){return this.privateUse},getPrivateUseSubtags:function(){return this.privateUseSubtags},hasPrivateUseSubtag:function(i){return ue(i&&i.match(/^[0-9A-Z]{1,8}$/i),"subtag must be a valid BCP47 private use tag"),this.privateUseSubtags.indexOf(i)>=0},toString:function(){return this.oLanguageTag.toString()},getSAPLogonLanguage:function(){return Dl._getSAPLogonLanguage(this)}});as._getCoreLocale=function(i){return i instanceof Fr&&(i=vf[i.toString()]||new as(i),vf[i.toString()]=i),i};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var zS=Object.create(null),b5=function(){var i,e,t,o,r,n,s=arguments[2]||{},l=3,_=arguments.length,p=arguments[0]||!1,v=arguments[1]?void 0:zS;for(typeof s!="object"&&typeof s!="function"&&(s={});l<_;l++)if((r=arguments[l])!=null)for(o in r)i=s[o],t=r[o],!(o==="__proto__"||s===t)&&(p&&t&&(D_(t)||(e=Array.isArray(t)))?(e?(e=!1,n=i&&Array.isArray(i)?i:[]):n=i&&D_(i)?i:{},s[o]=b5(p,arguments[1],n,t)):t!==v&&(s[o]=t));return s};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var es=function(){var i=[!1,!0];return i.push.apply(i,arguments),b5.apply(null,i)};const VS=i=>{const e=i.match(/sap\/ui\/core\/cldr\/(\w+)\.json/);if(!e)throw new Error(`Unknown module "${i}"`);const t=e[1];return NT(t)},HS={loadResource:VS};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var at={Default:"Default",ISO_8601:"ISO_8601",MiddleEastern:"MiddleEastern",WesternTraditional:"WesternTraditional"};Object.defineProperty(at,"getWeekConfigurationValues",{value:function(i){switch(i){case at.ISO_8601:return{firstDayOfWeek:1,minimalDaysInFirstWeek:4};case at.MiddleEastern:return{firstDayOfWeek:6,minimalDaysInFirstWeek:1};case at.WesternTraditional:return{firstDayOfWeek:0,minimalDaysInFirstWeek:1};default:return}}});/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */Ne.registerEnum("sap.ui.core.date.CalendarWeekNumbering",at);var US=/c/i,WS=/e/i,ff={"acceleration-meter-per-second-squared":"acceleration-meter-per-square-second","concentr-milligram-per-deciliter":"concentr-milligram-ofglucose-per-deciliter","concentr-part-per-million":"concentr-permillion","consumption-liter-per-100kilometers":"consumption-liter-per-100-kilometer","mass-metric-ton":"mass-tonne","pressure-millimeter-of-mercury":"pressure-millimeter-ofhg","pressure-pound-per-square-inch":"pressure-pound-force-per-square-inch","pressure-inch-hg":"pressure-inch-ofhg","torque-pound-foot":"torque-pound-force-foot"},qS=/^([+-]?)((\d+)(?:\.(\d+))?)[eE]([+-]?\d+)$/,jS=/0+$/;const GS=/(.*)?\{[0|1]}(.*)?\{[0|1]}(.*)?/,mf=["narrow","abbreviated","wide"];var pt=Jt.extend("sap.ui.core.LocaleData",{constructor:function(i){Jt.apply(this),this.oLocale=as._getCoreLocale(i);var e=KS(this.oLocale);this.mData=e.mData,this.sCLDRLocaleId=e.sCLDRLocaleId},_get:function(){return this._getDeep(this.mData,arguments)},_getMerged:function(){return this._get.apply(this,arguments)},_getMonthsWithAlternatives:function(i,e){return this._get(Je(e),"months","format",i)},_getMonthsStandAloneWithAlternatives:function(i,e){return this._get(Je(e),"months","stand-alone",i)},_getDeep:function(i,e){for(var t=i,o=0;o{i[e]||(i[e]=this.getLanguageName(e))}),i},getScripts:function(){return this._get("scripts")},getTerritories:function(){return this._get("territories")},getMonths:function(i,e){return ue(mf.includes(i),"sWidth must be narrow, abbreviated or wide"),this._get(Je(e),"months","format",i).map(t=>Array.isArray(t)?t[0]:t)},getMonthsStandAlone:function(i,e){return ue(mf.includes(i),"sWidth must be narrow, abbreviated or wide"),this._get(Je(e),"months","stand-alone",i).map(t=>Array.isArray(t)?t[0]:t)},getDays:function(i,e){return ue(i=="narrow"||i=="abbreviated"||i=="wide"||i=="short","sWidth must be narrow, abbreviate, wide or short"),this._get(Je(e),"days","format",i)},getDaysStandAlone:function(i,e){return ue(i=="narrow"||i=="abbreviated"||i=="wide"||i=="short","sWidth must be narrow, abbreviated, wide or short"),this._get(Je(e),"days","stand-alone",i)},getQuarters:function(i,e){return ue(i=="narrow"||i=="abbreviated"||i=="wide","sWidth must be narrow, abbreviated or wide"),this._get(Je(e),"quarters","format",i)},getQuartersStandAlone:function(i,e){return ue(i=="narrow"||i=="abbreviated"||i=="wide","sWidth must be narrow, abbreviated or wide"),this._get(Je(e),"quarters","stand-alone",i)},getDayPeriods:function(i,e){return ue(i=="narrow"||i=="abbreviated"||i=="wide","sWidth must be narrow, abbreviated or wide"),this._get(Je(e),"dayPeriods","format",i)},getDayPeriodsStandAlone:function(i,e){return ue(i=="narrow"||i=="abbreviated"||i=="wide","sWidth must be narrow, abbreviated or wide"),this._get(Je(e),"dayPeriods","stand-alone",i)},getDatePattern:function(i,e){return ue(i=="short"||i=="medium"||i=="long"||i=="full","sStyle must be short, medium, long or full"),this._get(Je(e),"dateFormats",i)},getFlexibleDayPeriods:function(i,e){return this._get(Je(e),"flexibleDayPeriods","format",i)},getFlexibleDayPeriodsStandAlone:function(i,e){return this._get(Je(e),"flexibleDayPeriods","stand-alone",i)},getFlexibleDayPeriodOfTime:function(i,e){var t,o,r;t=(i*60+e)%1440,o=this._get("dayPeriodRules");function n(s){var l=s.split(":"),_=l[0],p=l[1];return parseInt(_)*60+parseInt(p)}return r=Object.keys(o).find(function(s){var l=o[s];return l._at&&n(l._at)===t}),r||Object.keys(o).find(function(s){var l,_,p,v=o[s];return v._at?!1:(p=n(v._from),l=n(v._before),p>l?_=[{start:p,end:1440},{start:0,end:l}]:_=[{start:p,end:l}],_.some(function(f){return f.start<=t&&f.end>t}))})},getTimePattern:function(i,e){return ue(i=="short"||i=="medium"||i=="long"||i=="full","sStyle must be short, medium, long or full"),this._get(Je(e),"timeFormats",i)},getDateTimePattern:function(i,e){return ue(i=="short"||i=="medium"||i=="long"||i=="full","sStyle must be short, medium, long or full"),this._get(Je(e),"dateTimeFormats",i)},getCombinedDateTimePattern:function(i,e,t){ue(i=="short"||i=="medium"||i=="long"||i=="full","sStyle must be short, medium, long or full"),ue(e=="short"||e=="medium"||e=="long"||e=="full","sStyle must be short, medium, long or full");var o=this.getDateTimePattern(i,t),r=this.getDatePattern(i,t),n=this.getTimePattern(e,t);return o.replace("{0}",n).replace("{1}",r)},getCombinedDateTimeWithTimezonePattern:function(i,e,t){return this.applyTimezonePattern(this.getCombinedDateTimePattern(i,e,t))},applyTimezonePattern:function(i){var e=[i],t=[{group:"Timezone",length:2,field:"zone",symbol:"V"}];return this._appendItems(e,t),e[0]},getTimezoneTranslations:function(){var i=this.oLocale.toString(),e=pt._mTimezoneTranslations[i];return e||(pt._mTimezoneTranslations[i]=e=w5(this._get("timezoneNames"))),Object.assign({},e)},getCustomDateTimePattern:function(i,e){var t=this._get(Je(e),"dateTimeFormats","availableFormats");return this._getFormatPattern(i,t,e)},getIntervalPattern:function(i,e){var t=this._get(Je(e),"dateTimeFormats","intervalFormats"),o,r,n,s,l;return i&&(o=i.split("-"),r=o[0],n=o[1],s=t[r],s&&(l=s[n],l))?l:t.intervalFormatFallback},getCombinedIntervalPattern:function(i,e){const t=this._get(Je(e),"dateTimeFormats","intervalFormats"),[,o,r,n]=GS.exec(t.intervalFormatFallback);return pt._escapeIfNeeded(o)+i+pt._escapeIfNeeded(r)+i+pt._escapeIfNeeded(n)},getCustomIntervalPattern:function(i,e,t){var o=this._get(Je(t),"dateTimeFormats","intervalFormats");return this._getFormatPattern(i,o,t,e)},_getFormatPattern:function(i,e,t,o){var r,n,s;if(o?typeof o=="string"&&((o=="j"||o=="J")&&(o=this.getPreferredHourSymbol()),s=e[i],r=s&&s[o]):r=e[i],r)if(typeof r=="object")n=Object.keys(r).map(function(l){return r[l]});else return r;return n||(n=this._createFormatPattern(i,e,t,o)),n&&n.length===1?n[0]:n},_createFormatPattern:function(i,e,t,o){var r=this._parseSkeletonFormat(i),n,s=this._findBestMatch(r,i,e),l,_,p,v,f,g,w,A,L=/^([GyYqQMLwWEecdD]+)([hHkKjJmszZvVOXx]+)$/,X,ce;if(o){if(typeof o=="string")A=nn[o]?nn[o].group:"",A&&(X=Gd[A].index>r[r.length-1].index),w=o;else{for(X=!0,r[0].symbol==="y"&&s&&s.pattern.G&&(p=nn.G,v=Gd[p.group],r.splice(0,0,{symbol:"G",group:p.group,match:p.match,index:v.index,field:v.field,length:1})),ce=r.length-1;ce>=0;ce--)if(l=r[ce],o[l.group]){X=!1;break}for(ce=0;ce0&&(f=this._expandFields(f,s.patternTokens,r))),f||(_=this._get(Je(t),"dateTimeFormats","availableFormats"),L.test(i)&&"ahHkKjJms".indexOf(w)>=0?f=this._getMixedFormatPattern(i,_,t,o):(g=this._getFormatPattern(i,_,t),f=this.getCombinedIntervalPattern(g,t))),n=[f]}else if(!s)f=i,n=[f];else{if(typeof s.pattern=="string")n=[s.pattern];else if(typeof s.pattern=="object"){n=[];for(var k in s.pattern)f=s.pattern[k],n.push(f)}s.distance>0&&(s.missingTokens.length>0?L.test(i)?n=[this._getMixedFormatPattern(i,e,t)]:(n=this._expandFields(n,s.patternTokens,r),n=this._appendItems(n,s.missingTokens,t)):n=this._expandFields(n,s.patternTokens,r))}return i.indexOf("J")>=0&&n.forEach(function(D,h){n[h]=D.replace(/ ?[abB](?=([^']*'[^']*')*[^']*)$/g,"")}),n},_parseSkeletonFormat:function(i){for(var e=[],t={index:-1},o,r,n,s=0;s-1)&&(o=this._parseSkeletonFormat(A),_=0,r=[],p=!0,!(i.length=g.numericCeiling)?_+=Math.abs(n.length-s.length):_+=5,l++;continue}else if(n.match==s.match){_+=Math.abs(n.length-s.length)+10,l++;continue}}r.push(n),_+=50-L}lw.firstDiffPos)&&(w.distance=_,w.firstDiffPos=v,w.missingTokens=r,w.pattern=t[A],w.patternTokens=o)}if(w.pattern)return w},_expandFields:function(i,e,t){var o=typeof i=="string",r;o?r=[i]:r=i;var n=r.map(function(s){var l={},_={},p="",v=!1,f=0,g,w,A,L,X,ce,k,D;for(t.forEach(function(be){l[be.group]=be}),e.forEach(function(be){_[be.group]=be});f=k.numericCeiling:w0),o===void 0&&(o="wide"),ue(o==="wide"||o==="short"||o==="narrow","sStyle is only allowed to be set with 'wide', 'short' or 'narrow'"),s=i+"-"+o,(e===0||e===-2||e===2)&&(r=this._get("dateFields",s,"relative-type-"+e)),r||(n=this._get("dateFields",s,"relativeTime-type-"+(t?"future":"past")),l=this.getPluralCategory(Math.abs(e).toString()),r=n["relativeTimePattern-count-"+l]),r},getRelativeSecond:function(i,e){return this.getRelativePattern("second",i,e)},getRelativeMinute:function(i,e){return i==0?null:this.getRelativePattern("minute",i,e)},getRelativeHour:function(i,e){return i==0?null:this.getRelativePattern("hour",i,e)},getRelativeDay:function(i,e){return this.getRelativePattern("day",i,e)},getRelativeWeek:function(i,e){return this.getRelativePattern("week",i,e)},getRelativeMonth:function(i,e){return this.getRelativePattern("month",i,e)},getDisplayName:function(i,e){ue(i=="second"||i=="minute"||i=="hour"||i=="zone"||i=="day"||i=="weekday"||i=="week"||i=="month"||i=="quarter"||i=="year"||i=="era","sType must be second, minute, hour, zone, day, weekday, week, month, quarter, year, era"),e===void 0&&(e="wide"),ue(e==="wide"||e==="short"||e==="narrow","sStyle is only allowed to be set with 'wide', 'short' or 'narrow'");var t=["era","weekday","zone"],o=t.indexOf(i)===-1?i+"-"+e:i;return this._get("dateFields",o,"displayName")},getRelativeYear:function(i,e){return this.getRelativePattern("year",i,e)},getDecimalFormat:function(i,e,t){var o,r;switch(i){case"long":r=this._get("decimalFormat-long");break;default:r=this._get("decimalFormat-short");break}if(r){var n=e+"-"+t;o=r[n],o||(n=e+"-other",o=r[n])}return o},getCurrencyFormat:function(i,e,t){var o,r=this._get("currencyFormat-"+i);if(!r){if(i==="sap-short")throw new Error('Failed to get CLDR data for property "currencyFormat-sap-short"');r=this._get("currencyFormat-short")}if(r){var n=e+"-"+t;o=r[n],o||(n=e+"-other",o=r[n])}return o},getListFormat:function(i,e){var t=this._get("listPattern-"+(i||"standard")+"-"+(e||"wide"));return t||{}},getResolvedUnitFormat:function(i){return i=this.getUnitFromMapping(i)||i,this.getUnitFormat(i)},getUnitFormat:function(i){var e=this._get("units","short",i);return!e&&ff[i]&&(e=this._get("units","short",ff[i])),e},getUnitFormats:function(){return this._getMerged("units","short")},getUnitFromMapping:function(i){return this._get("unitMappings",i)},getEras:function(i,e){ue(i=="wide"||i=="abbreviated"||i=="narrow","sWidth must be wide, abbreviate or narrow");var t=this._get(Je(e),"era-"+i),o=[];for(var r in t)o[parseInt(r)]=t[r];return o},getEraDates:function(i){var e=this._get("eras-"+i.toLowerCase()),t=[];for(var o in e)t[parseInt(o)]=e[o];return t},getCalendarWeek:function(i,e){ue(i=="wide"||i=="narrow","sStyle must be wide or narrow");var t=h5.getLibraryResourceBundle("sap.ui.core",this.oLocale.toString()),o="date.week.calendarweek."+i;return t.getText(o,e?[e]:void 0)},firstDayStartsFirstWeek:function(){return this.oLocale.getLanguage()==="en"&&this.oLocale.getRegion()==="US"},getPreferredCalendarType:function(){var i,e,t,o=this._get("calendarPreference")||[];for(t=0;t1||i.length===1&&typeof i[0]=="string"&&!eI.test(i[0]))&&this._setParts(JS,[t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()])}le.prototype=Object.create(Date.prototype,{constructor:{value:Date}});le.prototype[Symbol.toStringTag]="Date";le.prototype._getPart=function(i){var e;return isNaN(this.oDate)?NaN:(this.oDateParts=this.oDateParts||Me._getParts(this.oDate,this.sTimezoneID),i==="weekday"?oI[this.oDateParts.weekday]:(e=parseInt(this.oDateParts[i]),i==="month"?e-=1:i==="year"&&this.oDateParts.era==="B"&&(e=1-e),e))};le.prototype._setParts=function(i,e){var t,o,r,n,s,l,_={},p=Math.min(i.length,e.length);if(p===0)return this.setTime(NaN);for(t=0;t99?e:e+1900,this._setParts(["year"],[e])};le.prototype.toDateString=function(){return isNaN(this.oDate)?this.oDate.toDateString():tI[this.getDay()]+" "+iI[this.getMonth()]+" "+ra(this.getDate(),2)+" "+ra(this.getFullYear(),4)};le.prototype.toString=function(){return isNaN(this.oDate)?this.oDate.toString():this.toDateString()+" "+this.toTimeString()};le.prototype.toTimeString=function(){var i,e,t,o;return isNaN(this.oDate)?this.oDate.toTimeString():(o=this.getTimezoneOffset(),t=o>0?"-":"+",i=Math.floor(Math.abs(o)/60),e=Math.abs(o)%60,ra(this.getHours(),2)+":"+ra(this.getMinutes(),2)+":"+ra(this.getSeconds(),2)+" GMT"+t+ra(i,2)+ra(e,2))};["getTime","getUTCDate","getUTCDay","getUTCFullYear","getUTCHours","getUTCMilliseconds","getUTCMinutes","getUTCMonth","getUTCSeconds","toGMTString","toISOString","toJSON","toUTCString","valueOf"].forEach(function(i){le.prototype[i]=function(){return this.oDate[i].apply(this.oDate,arguments)}});["toLocaleDateString","toLocaleString","toLocaleTimeString"].forEach(function(i){le.prototype[i]=function(e,t){return this.oDate[i](e||tt.getLanguageTag(),Object.assign({timeZone:this.sTimezoneID},t))}});["setUTCDate","setUTCFullYear","setUTCHours","setUTCMilliseconds","setUTCMinutes","setUTCMonth","setUTCSeconds"].forEach(function(i){le.prototype[i]=function(){return this.oDateParts=void 0,this.oDate[i].apply(this.oDate,arguments)}});le._createDateInstance=function(i){return i[0]instanceof Date&&(i[0]=i[0].valueOf()),new(Function.prototype.bind.apply(Date,[].concat.apply([null],i)))};le.getInstance=function(){var i=tt.getTimezone();return i!==Me.getLocalTimezone()?new le(arguments,i):le._createDateInstance(arguments)};le.checkDate=function(i){if(isNaN(i.getTime()))throw new Error("The given Date is not valid");if(!(i instanceof le)&&tt.getTimezone()!==Me.getLocalTimezone())throw new Error("Configured time zone requires the parameter 'oDate' to be an instance of sap.ui.core.date.UI5Date")};var ie=Jt.extend("sap.ui.core.date.UniversalDate",{constructor:function(){var i=ie.getClass();return this.createDate(i,arguments)}});ie.UTC=function(){var i=ie.getClass();return i.UTC.apply(i,arguments)};ie.now=function(){return Date.now()};ie.prototype.createDate=function(i,e){if(i===Date)return le.getInstance.apply(null,e);switch(e.length){case 0:return new i;case 1:return new i(e[0]instanceof Date?e[0].getTime():e[0]);case 2:return new i(e[0],e[1]);case 3:return new i(e[0],e[1],e[2]);case 4:return new i(e[0],e[1],e[2],e[3]);case 5:return new i(e[0],e[1],e[2],e[3],e[4]);case 6:return new i(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new i(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}};ie.getInstance=function(i,e){var t,o;if(i instanceof ie&&(i=i.getJSDate()),i&&isNaN(i.getTime()))throw new Error("The given date object is invalid");return e||(e=tt.getCalendarType()),t=ie.getClass(e),o=Object.create(t.prototype),o.oDate=i?le.getInstance(i):le.getInstance(),o.sCalendarType=e,o};ie.getClass=function(i){return i||(i=tt.getCalendarType()),xs.get(i)};["getDate","getMonth","getFullYear","getYear","getDay","getHours","getMinutes","getSeconds","getMilliseconds","getUTCDate","getUTCMonth","getUTCFullYear","getUTCDay","getUTCHours","getUTCMinutes","getUTCSeconds","getUTCMilliseconds","getTime","valueOf","getTimezoneOffset","toString","toDateString","setDate","setFullYear","setYear","setMonth","setHours","setMinutes","setSeconds","setMilliseconds","setUTCDate","setUTCFullYear","setUTCMonth","setUTCHours","setUTCMinutes","setUTCSeconds","setUTCMilliseconds"].forEach(function(i){ie.prototype[i]=function(){return this.oDate[i].apply(this.oDate,arguments)}});ie.prototype.getJSDate=function(){return this.oDate};ie.prototype.getCalendarType=function(){return this.sCalendarType};ie.prototype.getEra=function(){return ie.getEraByDate(this.sCalendarType,this.oDate.getFullYear(),this.oDate.getMonth(),this.oDate.getDate())};ie.prototype.setEra=function(i){};ie.prototype.getUTCEra=function(){return ie.getEraByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.oDate.getUTCMonth(),this.oDate.getUTCDate())};ie.prototype.setUTCEra=function(i){};ie.prototype.getWeek=function(i,e){return ie.getWeekByDate(this.sCalendarType,this.getFullYear(),this.getMonth(),this.getDate(),i,e)};ie.prototype.setWeek=function(i,e,t){var o=ie.getFirstDateOfWeek(this.sCalendarType,i.year||this.getFullYear(),i.week,e,t);this.setFullYear(o.year,o.month,o.day)};ie.prototype.getUTCWeek=function(i,e){return ie.getWeekByDate(this.sCalendarType,this.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate(),i,e)};ie.prototype.setUTCWeek=function(i,e,t){var o=ie.getFirstDateOfWeek(this.sCalendarType,i.year||this.getFullYear(),i.week,e,t);this.setUTCFullYear(o.year,o.month,o.day)};ie.prototype.getQuarter=function(){return Math.floor(this.getMonth()/3)};ie.prototype.getUTCQuarter=function(){return Math.floor(this.getUTCMonth()/3)};ie.prototype.getDayPeriod=function(){return this.getHours()<12?0:1};ie.prototype.getUTCDayPeriod=function(){return this.getUTCHours()<12?0:1};ie.prototype.getTimezoneShort=function(){if(this.oDate.getTimezoneShort)return this.oDate.getTimezoneShort()};ie.prototype.getTimezoneLong=function(){if(this.oDate.getTimezoneLong)return this.oDate.getTimezoneLong()};var k5=7*24*60*60*1e3;ie.getWeekByDate=function(i,e,t,o,r,n){n=n||tt.getCalendarWeekNumbering(),T5(n),r=r||tt.getFormatSettings().getFormatLocale();var s=this.getClass(i),l=Kc(s,e,r,n),_=new s(s.UTC(e,t,o)),p,v,f,g,w,A=$5(n,r);return A?p=Kd(l,_):(v=e-1,f=e+1,g=Kc(s,v,r,n),w=Kc(s,f,r,n),_>=w?(e=f,p=0):_=0;l--)if(s=r[l],!!s&&(s._start&&n>=s._startInfo.timestamp||s._end&&n1&&(i=I5(i)),this.oDate=this.createDate(Date,i),this.sCalendarType=Ae.Buddhist}});ro.UTC=function(){var i=I5(arguments);return Date.UTC.apply(Date,i)};ro.now=function(){return Date.now()};function S5(i){var e=ie.getEraStartDate(Ae.Buddhist,0).year,t=i.year-e+1;return i.year<1941&&i.month<3&&(t-=1),i.year===null&&(t=void 0),{year:t,month:i.month,day:i.day}}function Pp(i){var e=ie.getEraStartDate(Ae.Buddhist,0).year,t=i.year+e-1;return t<1941&&i.month<3&&(t+=1),i.year===null&&(t=void 0),{year:t,month:i.month,day:i.day}}function I5(i){var e,t;return e={year:i[0],month:i[1],day:i[2]!==void 0?i[2]:1},t=Pp(e),i[0]=t.year,i}ro.prototype._getBuddhist=function(){var i={year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()};return S5(i)};ro.prototype._setBuddhist=function(i){var e=Pp(i);return this.oDate.setFullYear(e.year,e.month,e.day)};ro.prototype._getUTCBuddhist=function(){var i={year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()};return S5(i)};ro.prototype._setUTCBuddhist=function(i){var e=Pp(i);return this.oDate.setUTCFullYear(e.year,e.month,e.day)};ro.prototype.getYear=function(){return this._getBuddhist().year};ro.prototype.getFullYear=function(){return this._getBuddhist().year};ro.prototype.getUTCFullYear=function(){return this._getUTCBuddhist().year};ro.prototype.setYear=function(i){var e=this._getBuddhist();return e.year=i,this._setBuddhist(e)};ro.prototype.setFullYear=function(i,e,t){var o=this._getBuddhist();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setBuddhist(o)};ro.prototype.setUTCFullYear=function(i,e,t){var o=this._getUTCBuddhist();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setUTCBuddhist(o)};xs.set(Ae.Buddhist,ro);const nI=["sapUiLegacyTimeFormat","sapUiABAPTimeFormat","sapUiLegacyDateFormat","sapUiABAPDateFormat","sapUiLegacyNumberFormat","sapUiABAPNumberFormat"],Bo={getWritableInstance(){return{get({name:i}){if(!nI.includes(i))throw new Error("Localization :: missing configuration requested.")}}},Type:{}};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */const wf=Symbol("parameters");var tc,Zb;let aI=(Zb=class{constructor(e,t){Bc(this,tc,void 0);for(const o in t)this[o]=t[o],Object.defineProperty(this,o,{configurable:!1,writable:!1});this[wf]=t,Iv(this,tc,e)}get type(){return Hn(this,tc)}static getParameters(e){return Object.assign({},e[wf])}},tc=new WeakMap,Zb);/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var gn;class sI{constructor(){Bc(this,gn,{})}attachEvent(e,t,o){ue(typeof e=="string"&&e,"Eventing.attachEvent: sType must be a non-empty string"),ue(typeof t=="function","Eventing.attachEvent: fnFunction must be a function");let r=Hn(this,gn)[e];Array.isArray(r)||(r=Hn(this,gn)[e]=[]),r.push({fnFunction:t,oData:o})}attachEventOnce(e,t,o){const r=n=>{this.detachEvent(e,r),t.call(null,n)};r.oOriginal={fnFunction:t},this.attachEvent(e,r,o)}detachEvent(e,t){ue(typeof e=="string"&&e,"Eventing.detachEvent: sType must be a non-empty string"),ue(typeof t=="function","Eventing.detachEvent: fnFunction must be a function");const o=Hn(this,gn)[e];if(!Array.isArray(o))return;let r;for(let n=0,s=o.length;nt)return et.warning("deepEqual comparison exceeded maximum recursion depth of "+t+". Treating values as unequal"),!1;if(i===e||Number.isNaN(i)&&Number.isNaN(e))return!0;if(Array.isArray(i)&&Array.isArray(e)){if(!o&&i.length!==e.length||i.length>e.length)return!1;for(var n=0;n1&&(i=E5(i)),this.oDate=this.createDate(Date,i),this.sCalendarType=Ae.Islamic}});bt.UTC=function(){var i=E5(arguments);return Date.UTC.apply(Date,i)};bt.now=function(){return Date.now()};var C5=1400,Qs=17214255e-1,A5=19484395e-1,dI=-425215872e5,_I=864e5,wu=null,hI=["A","B"];function B5(i){var e=i.year,t=i.month,o=i.day,r,n,s,l,_,p,v;if(p=0,t+1>2&&(p=Xc(e)?-1:-2),v=Qs-1+365*(e-1)+Math.floor((e-1)/4)+-Math.floor((e-1)/100)+Math.floor((e-1)/400)+Math.floor((367*(t+1)-362)/12+p+o),v=Math.floor(v)+.5,_=v-A5,l=Math.floor(_/29.530588853),l<0)r=Math.floor(l/12)+1,n=l%12,n<0&&(n+=12),s=_-Rp(r,n)+1;else{for(l++;R_(l)>_;)l--;r=Math.floor(l/12)+1,n=l%12,s=_-R_(12*(r-1)+n)+1}return{day:s,month:n,year:r}}function Op(i){var e=i.year,t=i.month,o=i.day,r=e<1?Rp(e,t):R_(12*(e-1)+t),n=o+r+A5-1,s=Math.floor(n-.5)+.5,l=s-Qs,_=Math.floor(l/146097),p=Qd(l,146097),v=Math.floor(p/36524),f=Qd(p,36524),g=Math.floor(f/1461),w=Qd(f,1461),A=Math.floor(w/365),L=_*400+v*100+g*4+A,X,ce,k,D,h,be,Te,me;return v==4||A==4||L++,k=Qs+365*(L-1)+Math.floor((L-1)/4)-Math.floor((L-1)/100)+Math.floor((L-1)/400),D=s-k,h=Qs-1+365*(L-1)+Math.floor((L-1)/4)-Math.floor((L-1)/100)+Math.floor((L-1)/400)+Math.floor(739/12+(Xc(L)?-1:-2)+1),Te=0,s2&&(me=Xc(L)?-1:-2),be+=Math.floor((367*X-362)/12+me+1),ce=s-be+1,{day:ce,month:X-1,year:L}}function E5(i){var e=Array.prototype.slice.call(i),t,o;return t={year:i[0],month:i[1],day:i[2]!==void 0?i[2]:1},o=Op(t),e[0]=o.year,e[1]=o.month,e[2]=o.day,e}function pI(){var i,e;if(wu={},i=Re.getABAPDateFormat(),i=vI(i)?i:"A",e=Re.getCustomIslamicCalendarData(),e=e||[],!e.length){et.warning("No calendar customizations.");return}e.forEach(function(t){if(t.dateFormat===i){var o=kf(t.gregDate),r=new Date(Date.UTC(o.year,o.month-1,o.day)),n=r.getTime(),s=(n-dI)/_I;o=kf(t.islamicMonthStart);var l=(o.year-1)*12+o.month-1;wu[l]=s}}),et.info("Working with date format: ["+i+"] and customization: "+JSON.stringify(e))}function kf(i){return{year:parseInt(i.substr(0,4)),month:parseInt(i.substr(4,2)),day:parseInt(i.substr(6,2))}}function R_(i){wu||pI();var e=wu[i];if(!e){var t=Math.floor(i/12)+1,o=i%12;e=Rp(t,o)}return e}function Rp(i,e){return Math.ceil(29.5*e)+(i-1)*354+Math.floor((3+11*i)/30)}function Qd(i,e){return i-e*Math.floor(i/e)}function Xc(i){return!(i%400)||!(i%4)&&!!(i%100)}function vI(i){return hI.indexOf(i)!==-1}bt.prototype._getIslamic=function(){return B5({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})};bt.prototype._setIslamic=function(i){var e=Op(i);return this.oDate.setFullYear(e.year,e.month,e.day)};bt.prototype._getUTCIslamic=function(){return B5({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})};bt.prototype._setUTCIslamic=function(i){var e=Op(i);return this.oDate.setUTCFullYear(e.year,e.month,e.day)};bt.prototype.getDate=function(i){return this._getIslamic().day};bt.prototype.getMonth=function(){return this._getIslamic().month};bt.prototype.getYear=function(){return this._getIslamic().year-C5};bt.prototype.getFullYear=function(){return this._getIslamic().year};bt.prototype.setDate=function(i){var e=this._getIslamic();return e.day=i,this._setIslamic(e)};bt.prototype.setMonth=function(i,e){var t=this._getIslamic();return t.month=i,e!==void 0&&(t.day=e),this._setIslamic(t)};bt.prototype.setYear=function(i){var e=this._getIslamic();return e.year=i+C5,this._setIslamic(e)};bt.prototype.setFullYear=function(i,e,t){var o=this._getIslamic();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setIslamic(o)};bt.prototype.getUTCDate=function(i){return this._getUTCIslamic().day};bt.prototype.getUTCMonth=function(){return this._getUTCIslamic().month};bt.prototype.getUTCFullYear=function(){return this._getUTCIslamic().year};bt.prototype.setUTCDate=function(i){var e=this._getUTCIslamic();return e.day=i,this._setUTCIslamic(e)};bt.prototype.setUTCMonth=function(i,e){var t=this._getUTCIslamic();return t.month=i,e!==void 0&&(t.day=e),this._setUTCIslamic(t)};bt.prototype.setUTCFullYear=function(i,e,t){var o=this._getUTCIslamic();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setUTCIslamic(o)};xs.set(Ae.Islamic,bt);/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var Et=ie.extend("sap.ui.core.date.Japanese",{constructor:function(){var i=arguments;i.length>1&&(i=D5(i)),this.oDate=this.createDate(Date,i),this.sCalendarType=Ae.Japanese}});Et.UTC=function(){var i=D5(arguments);return Date.UTC.apply(Date,i)};Et.now=function(){return Date.now()};function Xu(i){var e=ie.getEraByDate(Ae.Japanese,i.year,i.month,i.day),t=ie.getEraStartDate(Ae.Japanese,e).year;return{era:e,year:i.year-t+1,month:i.month,day:i.day}}function Lp(i){var e=ie.getEraStartDate(Ae.Japanese,i.era).year;return{year:e+i.year-1,month:i.month,day:i.day}}function D5(i){var e,t,o,r=i[0];if(typeof r=="number"){if(r>=100)return i;o=ie.getCurrentEra(Ae.Japanese),r=[o,r]}else Array.isArray(r)||(r=[]);return e={era:r[0],year:r[1],month:i[1],day:i[2]!==void 0?i[2]:1},t=Lp(e),i[0]=t.year,i}Et.prototype._getJapanese=function(){var i={year:this.oDate.getFullYear(),month:this.oDate.getMonth(),day:this.oDate.getDate()};return Xu(i)};Et.prototype._setJapanese=function(i){var e=Lp(i);return this.oDate.setFullYear(e.year,e.month,e.day)};Et.prototype._getUTCJapanese=function(){var i={year:this.oDate.getUTCFullYear(),month:this.oDate.getUTCMonth(),day:this.oDate.getUTCDate()};return Xu(i)};Et.prototype._setUTCJapanese=function(i){var e=Lp(i);return this.oDate.setUTCFullYear(e.year,e.month,e.day)};Et.prototype.getYear=function(){return this._getJapanese().year};Et.prototype.getFullYear=function(){return this._getJapanese().year};Et.prototype.getEra=function(){return this._getJapanese().era};Et.prototype.getUTCFullYear=function(){return this._getUTCJapanese().year};Et.prototype.getUTCEra=function(){return this._getUTCJapanese().era};Et.prototype.setYear=function(i){var e=this._getJapanese();return e.year=i,this._setJapanese(e)};Et.prototype.setFullYear=function(i,e,t){var o=this._getJapanese();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setJapanese(o)};Et.prototype.setEra=function(i,e,t,o){var r=ie.getEraStartDate(Ae.Japanese,i),n=Xu(r);return e!==void 0&&(n.year=e),t!==void 0&&(n.month=t),o!==void 0&&(n.day=o),this._setJapanese(n)};Et.prototype.setUTCFullYear=function(i,e,t){var o=this._getUTCJapanese();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setUTCJapanese(o)};Et.prototype.setUTCEra=function(i,e,t,o){var r=ie.getEraStartDate(Ae.Japanese,i),n=Xu(r);return e!==void 0&&(n.year=e),t!==void 0&&(n.month=t),o!==void 0&&(n.day=o),this._setUTCJapanese(n)};Et.prototype.getWeek=function(i,e){return ie.getWeekByDate(this.sCalendarType,this.oDate.getFullYear(),this.getMonth(),this.getDate(),i,e)};Et.prototype.getUTCWeek=function(i,e){return ie.getWeekByDate(this.sCalendarType,this.oDate.getUTCFullYear(),this.getUTCMonth(),this.getUTCDate(),i,e)};xs.set(Ae.Japanese,Et);/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var yt=ie.extend("sap.ui.core.date.Persian",{constructor:function(){var i=arguments;i.length>1&&(i=R5(i)),this.oDate=this.createDate(Date,i),this.sCalendarType=Ae.Persian}});yt.UTC=function(){var i=R5(arguments);return Date.UTC.apply(Date,i)};yt.now=function(){return Date.now()};var P5=1300;function O5(i){var e=Np(i.year,i.month+1,i.day);return mI(e)}function Mp(i){var e=fI(i.year,i.month+1,i.day);return M5(e)}function R5(i){var e=Array.prototype.slice.call(i),t,o;return typeof i[0]!="number"||typeof i[1]!="number"||i[2]!==void 0&&typeof i[2]!="number"?(e[0]=NaN,e[1]=NaN,e[2]=NaN,e):(t={year:i[0],month:i[1],day:i[2]!==void 0?i[2]:1},o=Mp(t),e[0]=o.year,e[1]=o.month,e[2]=o.day,e)}function L5(i){var e=[-61,9,38,199,426,686,756,818,1111,1181,1210,1635,2060,2097,2192,2262,2324,2394,2456,3178],t=e.length,o=i+621,r=-14,n=e[0],s,l,_,p,v,f,g;for(g=1;g12;)e-=12,i++;var o=L5(i);return Np(o.gy,3,o.march)+(e-1)*31-Ke(e,7)*(e-7)+t-1}function mI(i){var e=M5(i).year,t=e-621,o=L5(t),r=Np(e,3,o.march),n,s,l;if(l=i-r,l>=0){if(l<=185)return s=1+Ke(l,31),n=Oo(l,31)+1,{year:t,month:s-1,day:n};l-=186}else t-=1,l+=179,o.leap===1&&(l+=1);return s=7+Ke(l,30),n=Oo(l,30)+1,{year:t,month:s-1,day:n}}function Np(i,e,t){var o=Ke((i+Ke(e-8,6)+100100)*1461,4)+Ke(153*Oo(e+9,12)+2,5)+t-34840408;return o=o-Ke(Ke(i+100100+Ke(e-8,6),100)*3,4)+752,o}function M5(i){var e,t,o,r,n;return e=4*i+139361631,e=e+Ke(Ke(4*i+183187720,146097)*3,4)*4-3908,t=Ke(Oo(e,1461),4)*5+308,o=Ke(Oo(t,153),5)+1,r=Oo(Ke(t,153),12)+1,n=Ke(e,1461)-100100+Ke(8-r,6),{year:n,month:r-1,day:o}}function Ke(i,e){return~~(i/e)}function Oo(i,e){return i-~~(i/e)*e}yt.prototype._getPersian=function(){return O5({day:this.oDate.getDate(),month:this.oDate.getMonth(),year:this.oDate.getFullYear()})};yt.prototype._setPersian=function(i){var e=Mp(i);return this.oDate.setFullYear(e.year,e.month,e.day)};yt.prototype._getUTCPersian=function(){return O5({day:this.oDate.getUTCDate(),month:this.oDate.getUTCMonth(),year:this.oDate.getUTCFullYear()})};yt.prototype._setUTCPersian=function(i){var e=Mp(i);return this.oDate.setUTCFullYear(e.year,e.month,e.day)};yt.prototype.getDate=function(i){return this._getPersian().day};yt.prototype.getMonth=function(){return this._getPersian().month};yt.prototype.getYear=function(){return this._getPersian().year-P5};yt.prototype.getFullYear=function(){return this._getPersian().year};yt.prototype.setDate=function(i){var e=this._getPersian();return e.day=i,this._setPersian(e)};yt.prototype.setMonth=function(i,e){var t=this._getPersian();return t.month=i,e!==void 0&&(t.day=e),this._setPersian(t)};yt.prototype.setYear=function(i){var e=this._getPersian();return e.year=i+P5,this._setPersian(e)};yt.prototype.setFullYear=function(i,e,t){var o=this._getPersian();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setPersian(o)};yt.prototype.getUTCDate=function(i){return this._getUTCPersian().day};yt.prototype.getUTCMonth=function(){return this._getUTCPersian().month};yt.prototype.getUTCFullYear=function(){return this._getUTCPersian().year};yt.prototype.setUTCDate=function(i){var e=this._getUTCPersian();return e.day=i,this._setUTCPersian(e)};yt.prototype.setUTCMonth=function(i,e){var t=this._getUTCPersian();return t.month=i,e!==void 0&&(t.day=e),this._setUTCPersian(t)};yt.prototype.setUTCFullYear=function(i,e,t){var o=this._getUTCPersian();return o.year=i,e!==void 0&&(o.month=e),t!==void 0&&(o.day=t),this._setUTCPersian(o)};xs.set(Ae.Persian,yt);const gI=pt;class N5 extends gI{}const Jd=new Map,bI=async i=>{const e=Ee(i),t=e.getLanguage();return Jd.has(t)||(await $s(e.getLanguage(),e.getRegion(),e.getScript()),Jd.set(t,new N5(e))),Jd.get(t)};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var yI=function(i,e){if(!i){var t=typeof e=="function"?e():e;console.assert(i,t)}};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var wI=/^(?:([^:\/?#]+):)?((?:[\/\\]{2,}((?:\[[^\]]+\]|[^\/?#:]+))(?::([0-9]+))?)?([^?#]*))(?:\?([^#]*))?(?:#(.*))?$/,kI=/^([a-z0-9-._~!$&'()*+,;=:@]|%[0-9a-f]{2})*$/i,F5=/^([a-z0-9-._~!$&'()*+,;=:@\/?]|%[0-9a-f]{2})*$/i,$I=F5,TI=/^([a-z0-9!$'*+:^_`{|}~-]|%[0-9a-f]{2})+(?:\.([a-z0-9!$'*+:^_`{|}~-]|%[0-9a-f]{2})+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i,xI=/^([0-9]{1,3}\.){3}[0-9]{1,3}$/,SI=/^(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])$/,II=/^\[[^\]]+\]$/,CI=/^\[(((([0-9a-f]{1,4}:){6}|(::([0-9a-f]{1,4}:){5})|(([0-9a-f]{1,4})?::([0-9a-f]{1,4}:){4})|((([0-9a-f]{1,4}:){0,1}[0-9a-f]{1,4})?::([0-9a-f]{1,4}:){3})|((([0-9a-f]{1,4}:){0,2}[0-9a-f]{1,4})?::([0-9a-f]{1,4}:){2})|((([0-9a-f]{1,4}:){0,3}[0-9a-f]{1,4})?::[0-9a-f]{1,4}:)|((([0-9a-f]{1,4}:){0,4}[0-9a-f]{1,4})?::))(([0-9a-f]{1,4}:[0-9a-f]{1,4})|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])))|((([0-9a-f]{1,4}:){0,5}[0-9a-f]{1,4})?::[0-9a-f]{1,4})|((([0-9a-f]{1,4}:){0,6}[0-9a-f]{1,4})?::))\]$/i,AI=/^([a-z0-9]([a-z0-9\-]*[a-z0-9])?\.)*[a-z0-9]([a-z0-9\-]*[a-z0-9])?$/i,BI=/^((?:ftp|https?|wss?):)([\s\S]+)$/,EI=/[\u0009\u000A\u000D]/,En={};En._createEntry=function(i,e,t,o){return new DI(i,e,t,o)};function DI(i,e,t,o){Object.defineProperties(this,{protocol:{value:i&&i.toUpperCase(),enumerable:!0},host:{value:e&&e.toUpperCase(),enumerable:!0},port:{value:t,enumerable:!0},path:{value:o,enumerable:!0}})}var Ve=[];En.clear=function(){Ve=[]};En.add=function(i,e,t,o){var r=this._createEntry(i,e,t,o);Ve.push(r)};En._delete=function(i){Ve.splice(Ve.indexOf(i),1)};En.entries=function(){return Ve.slice()};En.validate=function(i){if(typeof i=="string"&&EI.test(i))return!1;var e=BI.exec(i);if(e&&!/^[\/\\]{2}/.test(e[2])&&(i=e[1]+"//"+e[2]),e=wI.exec(i),!e)return!1;var t=e[1],o=e[2],r=e[3],n=e[4],s=e[5],l=e[6],_=e[7];if(t&&(t=t.toUpperCase(),Ve.length<=0&&!/^(https?|ftp)/i.test(t)))return!1;if(r){if(xI.test(r)){if(!SI.test(r))return!1}else if(II.test(r)){if(!CI.test(r))return!1}else if(!AI.test(r))return!1;r=r.toUpperCase()}if(s){if(t==="MAILTO"){for(var p=o.split(","),v=0;v0){for(var g=!1,v=0;v65535?(Lt-=65536,String.fromCharCode(55296+(Lt>>10),56320+(Lt&1023))):Lt==Lt?String.fromCharCode(Lt):Qe[1]<" "?"":Qe[1]}function D(Qe,Lt){return'"'+Qe.replace(/[\u0000-\u001f\\\"<>]/g,Lt)+'"'}function h(Qe){return Te[Qe]||(Te[Qe]="\\"+Qe.charCodeAt(0).toString(16)+" ")}function be(Qe){return me[Qe]||(me[Qe]=(Qe<""?"%0":"%")+Qe.charCodeAt(0).toString(16))}var Te={"\\":"\\\\"},me={"\\":"%5c"},xe="[\\t\\n\\f ]",K=xe+"*",I="[\\n\\f]",C="[\\ud800-\\udbff][\\udc00-\\udfff]",P="[\\u0080-\\ud7ff\\ue000-\\ufffd]|"+C,M="[0-9a-fA-F]{1,6}"+xe+"?",V="(?:"+M+"|[\\u0020-\\u007e\\u0080-\\ud7ff\\ue000\\ufffd]|"+C+")",U="\\\\"+V,re="(?:[\\t\\x21\\x23-\\x26\\x28-\\x5b\\x5d-\\x7e]|"+P+"|"+U+")",ve=`[^'"\\n\\f\\\\]|\\\\[\\s\\S]`,ze=`"(?:'|`+ve+`)*"|'(?:"|`+ve+")*'",Rt="[-+]?(?:[0-9]+(?:[.][0-9]+)?|[.][0-9]+)",Gt="(?:[a-zA-Z_]|"+P+"|"+U+")",$t="(?:[a-zA-Z0-9_-]|"+P+"|"+U+")",ne="-?"+Gt+$t+"*",Tt="(?:@?-?"+Gt+"|#)"+$t+"*",Co=Rt+"(?:%|"+ne+")?",qi="url[(]"+K+"(?:"+ze+"|"+re+"*)"+K+"[)]",ri="U[+][0-9A-F?]{1,6}(?:-[0-9A-F]{1,6})?",ji="",Zo=xe+"+",_t="/(?:[*][^*]*[*]+(?:[^/][^*]*[*]+)*/|/[^\\n\\f]*)",Ic="(?!url[(])(?=("+ne+"))\\1[(]",wd="[~|^$*]=",kd=`[^"'\\\\/]|/(?![/*])`,$d="\\uFEFF",Vs=new RegExp([$d,ri,qi,Ic,Tt,ze,Co,ji,fe,Zo,_t,wd,kd].join("|"),"gi");p=function(Qe){return Qe.replace(new RegExp("\\\\(?:"+V+"|"+I+")","g"),k)},_=function(Qe){Qe=""+Qe;for(var Lt=Qe.replace(/\r\n?/g,` +`).match(Vs)||[],Cc=0,Hs=" ",Us=0,Td=Lt.length;Us1||ni=="\\"||ni==fe||ni==ji||ni=="\uFEFF"||zn<=" ".charCodeAt(0)?" ":/url\(/i.test(ni)?"url("+D(ni.replace(new RegExp("^url\\("+K+`["']?|["']?`+K+"\\)$","gi"),""),be)+")":ni,(Hs!=ni||ni!=" ")&&(Lt[Cc++]=Hs=ni)}return Lt.length=Cc,Lt}})(),typeof window<"u"&&(window.lexCss=_,window.decodeCss=p);var v=function(){var k='url("about:blank")',D=/[\n\f\r\"\'()*<>]/g,h={"\n":"%0a","\f":"%0c","\r":"%0d",'"':"%22","'":"%27","(":"%28",")":"%29","*":"%2a","<":"%3c",">":"%3e"};function be(M){return typeof M=="string"?'url("'+M.replace(D,Te)+'")':k}function Te(M){return h[M]}var me=new RegExp("^(?:([^:/?# ]+):)?"),xe=/^(?:https?|mailto)$/i;function K(M,V,U){if(!U)return null;var re=(""+M).match(me);return re&&(!re[1]||xe.test(re[1]))?U(M,V):null}function I(M){for(var V={},U=M.length;--U>=0;)for(var re=M[U],ve=re.length;--ve>=0;)V[re[ve]]=P;return V}function C(M,V){for(var U=1,re=V+1,ve=M.length;re"||k[me+1]==">")||(k[Te++]=k[me]);k.length=Te;var xe=k.length,K=0;for(me=0;me";if(Rt||ze===" "){if(re=Gt(U,ve,!1),!re||Rt&&/^html/i.test(re))return;U=ve+1,V.push(re,Rt?" > ":" ")}}if(re=Gt(U,P,!0),!re)return;V.push(re);function Gt(ne,Tt,Co){var qi,ri,ji,fe,Zo;for(qi="",neU&&K[re-1]===" "&&--re,P.startAtrule&&P.startAtrule(K[V].toLowerCase(),K.slice(U,re)),I=K[I]==="{"?h(K,I,C,P):I+1,P.endAtrule&&P.endAtrule()}return I}function h(K,I,C,P){for(++I,P.startBlock&&P.startBlock();IM&&K[V-1]===" "&&--V;var U=K[I];if(++I,U!=="{")return I;for(P.startRuleset&&P.startRuleset(K.slice(M,V));I=0&&(I=~(I+1)),I}var me=/^-?[a-z]/i;function xe(K,I,C,P){var M=K[I++];if(!me.test(M))return I+1;var V;if(I",amp:"&",nbsp:" ",quot:'"',apos:"'"},xe=/^#(\d+)$/,K=/^#x([0-9A-Fa-f]+)$/;function I(x){if(x=Te(x),me.hasOwnProperty(x))return me[x];var N=x.match(xe);return N?String.fromCharCode(parseInt(N[1],10)):(N=x.match(K))?String.fromCharCode(parseInt(N[1],16)):""}function C(x,N){return I(N)}var P=/\0/g;function M(x){return x.replace(P,"")}var V=/&(#\d+|#x[0-9A-Fa-f]+|\w+);/g;function U(x){return x.replace(V,C)}var re=/&/g,ve=/&([^a-z#]|#(?:[^0-9x]|x(?:[^0-9a-f]|$)|$)|$)/gi,ze=/[<]/g,Rt=/>/g,Gt=/\"/g;function $t(x){return(""+x).replace(re,"&").replace(ze,"<").replace(Rt,">").replace(Gt,""")}function ne(x){return x.replace(ve,"&$1").replace(ze,"<").replace(Rt,">")}var Tt=new RegExp(`^\\s*([a-z][a-z-]*)(?:\\s*(=)\\s*((")[^"]*("|$)|(')[^']*('|$)|(?=[a-z][a-z-]*\\s*=)|[^"'\\s]*))?`,"i"),Co=/^(#[0-9]+|#x[0-9a-f]+|\w+);/i,qi="a,b".split(/(,)/).length===3,ri=k.eflags.CDATA|k.eflags.RCDATA;function ji(x){return function(N,Z){return Zo(N,x,Z)}}var fe={};function Zo(x,N,Z){var Q=wd(x),H={noMoreGT:!1,noMoreEndComments:!1};Ic(N,Q,0,H,Z)}function _t(x,N,Z,Q,H){return function(){Ic(x,N,Z,Q,H)}}function Ic(x,N,Z,Q,H){try{x.startDoc&&Z==0&&x.startDoc(H);for(var _e,q,Be,ae=Z,Oe=N.length;ae"?(ae+=2,Be=Te(_e[1]),k.ELEMENTS.hasOwnProperty(Be)&&x.endTag&&x.endTag(Be,H,fe,_t(x,N,ae,Q,H))):ae=kd(N,ae,x,H,fe,Q):x.pcdata&&x.pcdata("</",H,fe,_t(x,N,ae,Q,H));break;case"<":if(_e=/^(\w+)\s*\/?/.exec(Yt))if(_e[0].length===Yt.length&&N[ae+1]===">"){if(ae+=2,Be=Te(_e[1]),k.ELEMENTS.hasOwnProperty(Be)){x.startTag&&x.startTag(Be,[],H,fe,_t(x,N,ae,Q,H));var Vn=k.ELEMENTS[Be];if(Vn&ri){var Ac={name:Be,next:ae,eflags:Vn};ae=Qe(N,Ac,x,H,fe,Q)}}}else ae=$d(N,ae,x,H,fe,Q);else x.pcdata&&x.pcdata("<",H,fe,_t(x,N,ae,Q,H));break;case"/g,Sf=/>/g,Un=RegExp(`>|${i_}(?:([^\\s"'>=/]+)(${i_}*=${i_}*(?:[^ +\f\r"'\`<>=]|("|')|))|$)`,"g"),If=/'/g,Cf=/"/g,xy=/^(?:script|style|textarea|title)$/i,Sy=i=>(e,...t)=>({_$litType$:i,strings:e,values:t}),Iy=Sy(1),Cy=Sy(2),Hr=Symbol.for("lit-noChange"),vt=Symbol.for("lit-nothing"),Af=new WeakMap,ca=ba.createTreeWalker(ba,129,null,!1);function Ay(i,e){if(!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");return Tf!==void 0?Tf.createHTML(e):e}const By=(i,e)=>{const t=i.length-1,o=[];let r,n=e===2?"":"",s=Gs;for(let l=0;l"?(s=r??Gs,f=-1):v[1]===void 0?f=-2:(f=s.lastIndex-v[2].length,p=v[1],s=v[3]===void 0?Un:v[3]==='"'?Cf:If):s===Cf||s===If?s=Un:s===xf||s===Sf?s=Gs:(s=Un,r=void 0);const w=s===Un&&i[l+1].startsWith("/>")?" ":"";n+=s===Gs?_+wC:f>=0?(o.push(p),_.slice(0,f)+$u+_.slice(f)+Pr+w):_+Pr+(f===-2?(o.push(void 0),l):w)}return[Ay(i,n+(i[t]||"")+(e===2?"":"")),o]};class Rl{constructor({strings:e,_$litType$:t},o){let r;this.parts=[];let n=0,s=0;const l=e.length-1,_=this.parts,[p,v]=By(e,t);if(this.el=Rl.createElement(p,o),ca.currentNode=this.el.content,t===2){const f=this.el.content,g=f.firstChild;g.remove(),f.append(...g.childNodes)}for(;(r=ca.nextNode())!==null&&_.length0){r.textContent=ss?ss.emptyScript:"";for(let w=0;w2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=vt}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,o,r){const n=this.strings;let s=!1;if(n===void 0)e=ya(this,e,t,0),s=!Ol(e)||e!==this._$AH&&e!==Hr,s&&(this._$AH=e);else{const l=e;let _,p;for(e=n[0],_=0;_{var o,r;const n=(o=t==null?void 0:t.renderBefore)!==null&&o!==void 0?o:e;let s=n._$litPart$;if(s===void 0){const l=(r=t==null?void 0:t.renderBefore)!==null&&r!==void 0?r:null;n._$litPart$=s=new Es(e.insertBefore(Pl(),l),l,void 0,t??{})}return s._$AI(i),s};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Ju={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},ed=i=>(...e)=>({_$litDirective$:i,values:e});class td{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,o){this._$Ct=e,this._$AM=t,this._$Ci=o}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const{I:xC}=$C,Ef=()=>document.createComment(""),Ys=(i,e,t)=>{var o;const r=i._$AA.parentNode,n=e===void 0?i._$AB:e._$AA;if(t===void 0){const s=r.insertBefore(Ef(),n),l=r.insertBefore(Ef(),n);t=new xC(s,l,i,i.options)}else{const s=t._$AB.nextSibling,l=t._$AM,_=l!==i;if(_){let p;(o=t._$AQ)===null||o===void 0||o.call(t,i),t._$AM=i,t._$AP!==void 0&&(p=i._$AU)!==l._$AU&&t._$AP(p)}if(s!==n||_){let p=t._$AA;for(;p!==s;){const v=p.nextSibling;r.insertBefore(p,n),p=v}}}return t},Wn=(i,e,t=i)=>(i._$AI(e,t),i),SC={},IC=(i,e=SC)=>i._$AH=e,CC=i=>i._$AH,o_=i=>{var e;(e=i._$AP)===null||e===void 0||e.call(i,!1,!0);let t=i._$AA;const o=i._$AB.nextSibling;for(;t!==o;){const r=t.nextSibling;t.remove(),t=r}};/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Df=(i,e,t)=>{const o=new Map;for(let r=e;r<=t;r++)o.set(i[r],r);return o},E=ed(class extends td{constructor(i){if(super(i),i.type!==Ju.CHILD)throw Error("repeat() can only be used in text expressions")}dt(i,e,t){let o;t===void 0?t=e:e!==void 0&&(o=e);const r=[],n=[];let s=0;for(const l of i)r[s]=o?o(l,s):s,n[s]=t(l,s),s++;return{values:n,keys:r}}render(i,e,t){return this.dt(i,e,t).values}update(i,[e,t,o]){var r;const n=CC(i),{values:s,keys:l}=this.dt(e,t,o);if(!Array.isArray(n))return this.ht=l,s;const _=(r=this.ht)!==null&&r!==void 0?r:this.ht=[],p=[];let v,f,g=0,w=n.length-1,A=0,L=s.length-1;for(;g<=w&&A<=L;)if(n[g]===null)g++;else if(n[w]===null)w--;else if(_[g]===l[A])p[A]=Wn(n[g],s[A]),g++,A++;else if(_[w]===l[L])p[L]=Wn(n[w],s[L]),w--,L--;else if(_[g]===l[L])p[L]=Wn(n[g],s[L]),Ys(i,p[L+1],n[g]),g++,L--;else if(_[w]===l[A])p[A]=Wn(n[w],s[A]),Ys(i,n[g],n[w]),w--,A++;else if(v===void 0&&(v=Df(l,A,L),f=Df(_,g,w)),v.has(_[g]))if(v.has(_[w])){const X=f.get(l[A]),ce=X!==void 0?n[X]:null;if(ce===null){const k=Ys(i,n[g]);Wn(k,s[A]),p[A]=k}else p[A]=Wn(ce,s[A]),Ys(i,n[g],ce),n[X]=null;A++}else o_(n[w]),w--;else o_(n[g]),g++;for(;A<=L;){const X=Ys(i,p[L+1]);Wn(X,s[A]),p[A++]=X}for(;g<=w;){const X=n[g++];X!==null&&o_(X)}return this.ht=l,IC(i,p),Hr}});/** + * @license + * Copyright 2018 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const T=ed(class extends td{constructor(i){var e;if(super(i),i.type!==Ju.ATTRIBUTE||i.name!=="class"||((e=i.strings)===null||e===void 0?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(e=>i[e]).join(" ")+" "}update(i,[e]){var t,o;if(this.it===void 0){this.it=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(n=>n!=="")));for(const n in e)e[n]&&!(!((t=this.nt)===null||t===void 0)&&t.has(n))&&this.it.add(n);return this.render(e)}const r=i.element.classList;this.it.forEach(n=>{n in e||(r.remove(n),this.it.delete(n))});for(const n in e){const s=!!e[n];s===this.it.has(n)||!((o=this.nt)===null||o===void 0)&&o.has(n)||(s?(r.add(n),this.it.add(n)):(r.remove(n),this.it.delete(n)))}return Hr}});/** + * @license + * Copyright 2018 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */class AC extends td{constructor(e){var t;if(super(e),e.type!==Ju.ATTRIBUTE||e.name!=="style"||((t=e.strings)===null||t===void 0?void 0:t.length)>2)throw new Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(e){return""}update(e,[t]){const{style:o}=e.element;if(this._previousStyleProperties===void 0){this._previousStyleProperties=new Set;for(const r in t)this._previousStyleProperties.add(r)}this._previousStyleProperties.forEach(r=>{t[r]==null&&(this._previousStyleProperties.delete(r),r.includes("-")?o.removeProperty(r):o[r]="")});for(const r in t){const n=t[r];n!=null&&(this._previousStyleProperties.add(r),r.includes("-")?o.setProperty(r,n):o[r]=n)}return Hr}}const S=ed(AC);/** + * @license + * Copyright 2018 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const a=i=>i??vt;/** + * @license + * Copyright 2017 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */let H_=class extends td{constructor(e){if(super(e),this.et=vt,e.type!==Ju.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===vt||e==null)return this.ft=void 0,this.et=e;if(e===Hr)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.ft;this.et=e;const t=[e];return t.raw=t,this.ft={_$litType$:this.constructor.resultType,strings:t,values:[]}}};H_.directiveName="unsafeHTML",H_.resultType=1;const wn=ed(H_),c=(i,...e)=>{const t=Se("LitStatic");return(t?t.html:Iy)(i,...e)},dc=(i,...e)=>{const t=Se("LitStatic");return(t?t.svg:Cy)(i,...e)},ee=(i,e,t,o,r)=>{const n=Se("OpenUI5Enablement");n&&!o&&(i=n.wrapTemplateResultInBusyMarkup(c,r.host,i)),typeof t=="string"?i=c`${i}`:Array.isArray(t)&&t.length&&(i=c`${t.map(s=>c``)}${i}`),TC(i,e,r)},d=(i,e,t)=>{const o=Se("LitStatic");if(o)return o.unsafeStatic((e||[]).includes(i)?`${i}-${t}`:i)};function BC(i,e,t){return c`
${this.hasImage?EC.call(this,i,e,t):DC.call(this,i,e,t)}
`}function EC(i,e,t){return c``}function DC(i,e,t){return c`${this.icon?PC.call(this,i,e,t):void 0}${this.initials?OC.call(this,i,e,t):void 0}`}function PC(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-avatar-icon" name="${a(this.icon)}">`:c``}function OC(i,e,t){return t?c`${a(this.validInitials)}<${d("ui5-icon",e,t)} class="ui5-avatar-icon ui5-avatar-icon-fallback" name="${a(this.fallbackIcon)}">`:c`${a(this.validInitials)}`}const O={packageName:"@ui5/webcomponents-theming",fileName:"themes/sap_horizon/parameters-bundle.css.ts",content:`: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": "1.23061.0"},"Version":{"Build": "11.10.0.20231213074408","Source": "11.10.0"}};--sapBrandColor: #0070f2;--sapHighlightColor: #0064d9;--sapBaseColor: #fff;--sapShellColor: #fff;--sapBackgroundColor: #f5f6f7;--sapFontFamily: "72", "72full", Arial, Helvetica, sans-serif;--sapFontSize: .875rem;--sapTextColor: #1d2d3e;--sapLinkColor: #0064d9;--sapCompanyLogo: none;--sapBackgroundImage: none;--sapBackgroundImageOpacity: 1;--sapBackgroundImageRepeat: false;--sapSelectedColor: #0064d9;--sapHoverColor: #eaecee;--sapActiveColor: #dee2e5;--sapHighlightTextColor: #fff;--sapTitleColor: #1d2d3e;--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: #1d2d3e;--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: #1d2d3e;--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: #5b738b;--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(29,45,62,.6);--sapContent_DisabledOpacity: .4;--sapContent_ContrastTextThreshold: .65;--sapContent_ContrastTextColor: #fff;--sapContent_ForegroundColor: #efefef;--sapContent_ForegroundBorderColor: #758ca4;--sapContent_ForegroundTextColor: #1d2d3e;--sapContent_BadgeBackground: #aa0808;--sapContent_BadgeTextColor: #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_Illustrative_Color1: #5d36ff;--sapContent_Illustrative_Color2: #0070f2;--sapContent_Illustrative_Color3: #f58b00;--sapContent_Illustrative_Color4: #00144a;--sapContent_Illustrative_Color5: #a9b4be;--sapContent_Illustrative_Color6: #d5dadd;--sapContent_Illustrative_Color7: #ebf8ff;--sapContent_Illustrative_Color8: #fff;--sapContent_Illustrative_Color9: #64edd2;--sapContent_Illustrative_Color10: #ebf8ff;--sapContent_Illustrative_Color11: #f31ded;--sapContent_Illustrative_Color12: #00a800;--sapContent_Illustrative_Color13: #005dc9;--sapContent_Illustrative_Color14: #004da5;--sapContent_Illustrative_Color15: #cc7400;--sapContent_Illustrative_Color16: #3b0ac6;--sapContent_Illustrative_Color17: #00a58a;--sapContent_Illustrative_Color18: #d1efff;--sapContent_Illustrative_Color19: #b8e6ff;--sapContent_Illustrative_Color20: #9eddff;--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: #1d2d3e;--sapShell_Background: #eff1f2;--sapShell_BackgroundImage: linear-gradient(to bottom, #eff1f2, #eff1f2);--sapShell_BackgroundImageOpacity: 1;--sapShell_BackgroundImageRepeat: false;--sapShell_BorderColor: #fff;--sapShell_TextColor: #1d2d3e;--sapShell_InteractiveBackground: #eff1f2;--sapShell_InteractiveTextColor: #1d2d3e;--sapShell_InteractiveBorderColor: #556b81;--sapShell_GroupTitleTextColor: #1d2d3e;--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: #1d2d3e;--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: #1d2d3e;--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);--sapAvatar_1_Background: #fff3b8;--sapAvatar_1_BorderColor: #fff3b8;--sapAvatar_1_TextColor: #a45d00;--sapAvatar_2_Background: #ffd0e7;--sapAvatar_2_BorderColor: #ffd0e7;--sapAvatar_2_TextColor: #aa0808;--sapAvatar_3_Background: #ffdbe7;--sapAvatar_3_BorderColor: #ffdbe7;--sapAvatar_3_TextColor: #ba066c;--sapAvatar_4_Background: #ffdcf3;--sapAvatar_4_BorderColor: #ffdcf3;--sapAvatar_4_TextColor: #a100c2;--sapAvatar_5_Background: #ded3ff;--sapAvatar_5_BorderColor: #ded3ff;--sapAvatar_5_TextColor: #552cff;--sapAvatar_6_Background: #d1efff;--sapAvatar_6_BorderColor: #d1efff;--sapAvatar_6_TextColor: #0057d2;--sapAvatar_7_Background: #c2fcee;--sapAvatar_7_BorderColor: #c2fcee;--sapAvatar_7_TextColor: #046c7a;--sapAvatar_8_Background: #ebf5cb;--sapAvatar_8_BorderColor: #ebf5cb;--sapAvatar_8_TextColor: #256f3a;--sapAvatar_9_Background: #ddccf0;--sapAvatar_9_BorderColor: #ddccf0;--sapAvatar_9_TextColor: #6c32a9;--sapAvatar_10_Background: #eaecee;--sapAvatar_10_BorderColor: #eaecee;--sapAvatar_10_TextColor: #556b82;--sapButton_Background: #fff;--sapButton_BorderColor: #bcc3ca;--sapButton_BorderWidth: .0625rem;--sapButton_BorderCornerRadius: .5rem;--sapButton_TextColor: #0064d9;--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_TextColor: #fff;--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_Emphasized_FontWeight: bold;--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: #1d2d3e;--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;--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);--sapGroup_TitleBackground: #fff;--sapGroup_TitleBorderColor: #a8b2bd;--sapGroup_TitleTextColor: #1d2d3e;--sapGroup_Title_FontSize: 1rem;--sapGroup_ContentBackground: #fff;--sapGroup_ContentBorderColor: #d9d9d9;--sapGroup_BorderWidth: .0625rem;--sapGroup_BorderCornerRadius: .5rem;--sapGroup_FooterBackground: transparent;--sapToolbar_Background: #fff;--sapToolbar_SeparatorColor: #d9d9d9;--sapList_HeaderBackground: #fff;--sapList_HeaderBorderColor: #a8b2bd;--sapList_HeaderTextColor: #1d2d3e;--sapList_BorderColor: #e5e5e5;--sapList_BorderWidth: .0625rem;--sapList_TextColor: #1d2d3e;--sapList_Active_TextColor: #1d2d3e;--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: #1d2d3e;--sapList_TableGroupHeaderBackground: #eff1f2;--sapList_TableGroupHeaderBorderColor: #a8b2bd;--sapList_TableGroupHeaderTextColor: #1d2d3e;--sapList_FooterBackground: #fff;--sapList_FooterTextColor: #1d2d3e;--sapList_TableFooterBorder: #a8b2bd;--sapList_TableFixedBorderColor: #8c8c8c;--sapMessage_ErrorBorderColor: #ff8ec4;--sapMessage_WarningBorderColor: #ffe770;--sapMessage_SuccessBorderColor: #cee67e;--sapMessage_InformationBorderColor: #7bcfff;--sapPopover_BorderCornerRadius: .5rem;--sapProgress_Background: #d5dadd;--sapProgress_BorderColor: #d5dadd;--sapProgress_TextColor: #1d2d3e;--sapProgress_FontSize: .875rem;--sapProgress_NegativeBackground: #ffdbec;--sapProgress_NegativeBorderColor: #ffdbec;--sapProgress_NegativeTextColor: #1d2d3e;--sapProgress_CriticalBackground: #fff4bd;--sapProgress_CriticalBorderColor: #fff4bd;--sapProgress_CriticalTextColor: #1d2d3e;--sapProgress_PositiveBackground: #e5f2ba;--sapProgress_PositiveBorderColor: #e5f2ba;--sapProgress_PositiveTextColor: #1d2d3e;--sapProgress_InformationBackground: #cdedff;--sapProgress_InformationBorderColor: #cdedff;--sapProgress_InformationTextColor: #1d2d3e;--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_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: #1d2d3e;--sapPageFooter_Background: #fff;--sapPageFooter_BorderColor: #d9d9d9;--sapPageFooter_TextColor: #1d2d3e;--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: #1d2d3e;--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;--sapTile_Background: #fff;--sapTile_Hover_Background: #eaecee;--sapTile_Active_Background: #dee2e5;--sapTile_BorderColor: transparent;--sapTile_BorderCornerRadius: 1rem;--sapTile_TitleTextColor: #1d2d3e;--sapTile_TextColor: #556b82;--sapTile_IconColor: #556b82;--sapTile_SeparatorColor: #ccc;--sapTile_Interactive_BorderColor: #b3b3b3;--sapTile_OverlayBackground: #fff;--sapTile_OverlayForegroundColor: #1d2d3e;--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_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_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: #fff2c0;--sapIndicationColor_3_Active_TextColor: #b95100;--sapIndicationColor_3_Selected_Background: #fff;--sapIndicationColor_3_Selected_BorderColor: #fff2c0;--sapIndicationColor_3_Selected_TextColor: #b95100;--sapIndicationColor_3b: #fff2c0;--sapIndicationColor_3b_BorderColor: #fff2c0;--sapIndicationColor_3b_Hover_Background: #ffeda6;--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_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: #d3effd;--sapIndicationColor_5_Active_TextColor: #0070f2;--sapIndicationColor_5_Selected_Background: #fff;--sapIndicationColor_5_Selected_BorderColor: #d3effd;--sapIndicationColor_5_Selected_TextColor: #0070f2;--sapIndicationColor_5b: #d3effd;--sapIndicationColor_5b_BorderColor: #d3effd;--sapIndicationColor_5b_Hover_Background: #bbe6fc;--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_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_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_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_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_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_OrderedColor_1: #0070f2;--sapChart_OrderedColor_2: #c87b00;--sapChart_OrderedColor_3: #75980b;--sapChart_OrderedColor_4: #df1278;--sapChart_OrderedColor_5: #8b47d7;--sapChart_OrderedColor_6: #049f9a;--sapChart_OrderedColor_7: #3c8cdd;--sapChart_OrderedColor_8: #cc00dc;--sapChart_OrderedColor_9: #798c77;--sapChart_OrderedColor_10: #da6c6c;--sapChart_OrderedColor_11: #5d36ff;--sapChart_Bad: #f53232;--sapChart_Critical: #e76500;--sapChart_Good: #30914c;--sapChart_Neutral: #788fa6;--sapChart_Sequence_1: #0070f2;--sapChart_Sequence_2: #c87b00;--sapChart_Sequence_3: #75980b;--sapChart_Sequence_4: #df1278;--sapChart_Sequence_5: #8b47d7;--sapChart_Sequence_6: #049f9a;--sapChart_Sequence_7: #3c8cdd;--sapChart_Sequence_8: #cc00dc;--sapChart_Sequence_9: #798c77;--sapChart_Sequence_10: #da6c6c;--sapChart_Sequence_11: #5d36ff;--sapChart_Sequence_Neutral: #788fa6;} +`},R={packageName:"@ui5/webcomponents",fileName:"themes/sap_horizon/parameters-bundle.css.ts",content:`:root{--ui5-v1-22-1-rc-0-avatar-hover-box-shadow-offset: 0px 0px 0px .0625rem;--ui5-v1-22-1-rc-0-avatar-initials-color: var(--sapContent_ImagePlaceholderForegroundColor);--ui5-v1-22-1-rc-0-avatar-border-radius-img-deduction: .0625rem;--_ui5-v1-22-1-rc-0_avatar_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_avatar_focus_width: 1px;--_ui5-v1-22-1-rc-0_avatar_focus_color: var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_avatar_focus_offset: .125rem;--ui5-v1-22-1-rc-0-avatar-initials-border: .0625rem solid var(--sapAvatar_1_BorderColor);--ui5-v1-22-1-rc-0-avatar-border-radius: var(--sapElement_BorderCornerRadius);--_ui5-v1-22-1-rc-0_avatar_fontsize_XS: 1rem;--_ui5-v1-22-1-rc-0_avatar_fontsize_S: 1.125rem;--_ui5-v1-22-1-rc-0_avatar_fontsize_M: 1.5rem;--_ui5-v1-22-1-rc-0_avatar_fontsize_L: 2.25rem;--_ui5-v1-22-1-rc-0_avatar_fontsize_XL: 3rem;--ui5-v1-22-1-rc-0-avatar-accent1: var(--sapAvatar_1_Background);--ui5-v1-22-1-rc-0-avatar-accent2: var(--sapAvatar_2_Background);--ui5-v1-22-1-rc-0-avatar-accent3: var(--sapAvatar_3_Background);--ui5-v1-22-1-rc-0-avatar-accent4: var(--sapAvatar_4_Background);--ui5-v1-22-1-rc-0-avatar-accent5: var(--sapAvatar_5_Background);--ui5-v1-22-1-rc-0-avatar-accent6: var(--sapAvatar_6_Background);--ui5-v1-22-1-rc-0-avatar-accent7: var(--sapAvatar_7_Background);--ui5-v1-22-1-rc-0-avatar-accent8: var(--sapAvatar_8_Background);--ui5-v1-22-1-rc-0-avatar-accent9: var(--sapAvatar_9_Background);--ui5-v1-22-1-rc-0-avatar-accent10: var(--sapAvatar_10_Background);--ui5-v1-22-1-rc-0-avatar-placeholder: var(--sapContent_ImagePlaceholderBackground);--ui5-v1-22-1-rc-0-avatar-accent1-color: var(--sapAvatar_1_TextColor);--ui5-v1-22-1-rc-0-avatar-accent2-color: var(--sapAvatar_2_TextColor);--ui5-v1-22-1-rc-0-avatar-accent3-color: var(--sapAvatar_3_TextColor);--ui5-v1-22-1-rc-0-avatar-accent4-color: var(--sapAvatar_4_TextColor);--ui5-v1-22-1-rc-0-avatar-accent5-color: var(--sapAvatar_5_TextColor);--ui5-v1-22-1-rc-0-avatar-accent6-color: var(--sapAvatar_6_TextColor);--ui5-v1-22-1-rc-0-avatar-accent7-color: var(--sapAvatar_7_TextColor);--ui5-v1-22-1-rc-0-avatar-accent8-color: var(--sapAvatar_8_TextColor);--ui5-v1-22-1-rc-0-avatar-accent9-color: var(--sapAvatar_9_TextColor);--ui5-v1-22-1-rc-0-avatar-accent10-color: var(--sapAvatar_10_TextColor);--ui5-v1-22-1-rc-0-avatar-placeholder-color: var(--sapContent_ImagePlaceholderForegroundColor);--ui5-v1-22-1-rc-0-avatar-accent1-border-color: var(--sapAvatar_1_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent2-border-color: var(--sapAvatar_2_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent3-border-color: var(--sapAvatar_3_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent4-border-color: var(--sapAvatar_4_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent5-border-color: var(--sapAvatar_5_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent6-border-color: var(--sapAvatar_6_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent7-border-color: var(--sapAvatar_7_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent8-border-color: var(--sapAvatar_8_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent9-border-color: var(--sapAvatar_9_BorderColor);--ui5-v1-22-1-rc-0-avatar-accent10-border-color: var(--sapAvatar_10_BorderColor);--ui5-v1-22-1-rc-0-avatar-placeholder-border-color: var(--sapContent_ImagePlaceholderBackground);--_ui5-v1-22-1-rc-0_avatar_icon_XS: var(--_ui5-v1-22-1-rc-0_avatar_fontsize_XS);--_ui5-v1-22-1-rc-0_avatar_icon_S: var(--_ui5-v1-22-1-rc-0_avatar_fontsize_S);--_ui5-v1-22-1-rc-0_avatar_icon_M: var(--_ui5-v1-22-1-rc-0_avatar_fontsize_M);--_ui5-v1-22-1-rc-0_avatar_icon_L: var(--_ui5-v1-22-1-rc-0_avatar_fontsize_L);--_ui5-v1-22-1-rc-0_avatar_icon_XL: var(--_ui5-v1-22-1-rc-0_avatar_fontsize_XL);--_ui5-v1-22-1-rc-0_avatar_group_button_focus_border: none;--_ui5-v1-22-1-rc-0_avatar_group_focus_border_radius: .375rem;--ui5-v1-22-1-rc-0-badge-text-shadow: var(--sapContent_TextShadow);--ui5-v1-22-1-rc-0-badge-contrast-text-shadow: var(--sapContent_ContrastTextShadow);--ui5-v1-22-1-rc-0-badge-color-scheme-1-border: var(--sapAccentColor1);--ui5-v1-22-1-rc-0-badge-color-scheme-2-border: var(--sapAccentColor2);--ui5-v1-22-1-rc-0-badge-color-scheme-3-border: var(--sapAccentColor3);--ui5-v1-22-1-rc-0-badge-color-scheme-4-border: var(--sapAccentColor4);--ui5-v1-22-1-rc-0-badge-color-scheme-5-border: var(--sapAccentColor5);--ui5-v1-22-1-rc-0-badge-color-scheme-6-border: var(--sapAccentColor6);--ui5-v1-22-1-rc-0-badge-color-scheme-7-border: var(--sapAccentColor7);--ui5-v1-22-1-rc-0-badge-color-scheme-8-border: var(--sapLegendColor18);--ui5-v1-22-1-rc-0-badge-color-scheme-9-border: var(--sapAccentColor10);--ui5-v1-22-1-rc-0-badge-color-scheme-10-border: var(--sapAccentColor9);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-color: var(--sapIndicationColor_1);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-background: var(--sapIndicationColor_1b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-border: var(--sapIndicationColor_1b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-hover-background: var(--sapIndicationColor_1b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-active-color: var(--sapIndicationColor_1_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-active-background: var(--sapIndicationColor_1_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-active-border: var(--sapIndicationColor_1_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-color: var(--sapIndicationColor_2);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-background: var(--sapIndicationColor_2b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-border: var(--sapIndicationColor_2b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-hover-background: var(--sapIndicationColor_2b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-active-color: var(--sapIndicationColor_2_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-active-background: var(--sapIndicationColor_2_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-active-border: var(--sapIndicationColor_2_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-color: var(--sapIndicationColor_3);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-background: var(--sapIndicationColor_3b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-border: var(--sapIndicationColor_3b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-hover-background: var(--sapIndicationColor_3b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-active-color: var(--sapIndicationColor_3_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-active-background: var(--sapIndicationColor_3_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-active-border: var(--sapIndicationColor_3_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-color: var(--sapIndicationColor_4);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-background: var(--sapIndicationColor_4b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-border: var(--sapIndicationColor_4b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-hover-background: var(--sapIndicationColor_4b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-active-color: var(--sapIndicationColor_4_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-active-background: var(--sapIndicationColor_4_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-active-border: var(--sapIndicationColor_4_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-color: var(--sapIndicationColor_5);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-background: var(--sapIndicationColor_5b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-border: var(--sapIndicationColor_5b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-hover-background: var(--sapIndicationColor_5b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-active-color: var(--sapIndicationColor_5_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-active-background: var(--sapIndicationColor_5_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-active-border: var(--sapIndicationColor_5_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-color: var(--sapIndicationColor_6);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-background: var(--sapIndicationColor_6b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-border: var(--sapIndicationColor_6b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-hover-background: var(--sapIndicationColor_6b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-active-color: var(--sapIndicationColor_6_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-active-background: var(--sapIndicationColor_6_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-active-border: var(--sapIndicationColor_6_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-color: var(--sapIndicationColor_7);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-background: var(--sapIndicationColor_7b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-border: var(--sapIndicationColor_7b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-hover-background: var(--sapIndicationColor_7b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-active-color: var(--sapIndicationColor_7_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-active-background: var(--sapIndicationColor_7_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-active-border: var(--sapIndicationColor_7_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-color: var(--sapIndicationColor_8);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-background: var(--sapIndicationColor_8b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-border: var(--sapIndicationColor_8b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-hover-background: var(--sapIndicationColor_8b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-active-color: var(--sapIndicationColor_8_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-active-background: var(--sapIndicationColor_8_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-active-border: var(--sapIndicationColor_8_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-color: var(--sapIndicationColor_9);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-background: var(--sapIndicationColor_9b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-border: var(--sapIndicationColor_9b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-hover-background: var(--sapIndicationColor_9b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-active-color: var(--sapIndicationColor_9_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-active-background: var(--sapIndicationColor_9_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-active-border: var(--sapIndicationColor_9_Active_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-color: var(--sapIndicationColor_10);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-background: var(--sapIndicationColor_10b);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-border: var(--sapIndicationColor_10b_BorderColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-hover-background: var(--sapIndicationColor_10b_Hover_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-active-color: var(--sapIndicationColor_10_Active_TextColor);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-active-background: var(--sapIndicationColor_10_Active_Background);--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-active-border: var(--sapIndicationColor_10_Active_BorderColor);--_ui5-v1-22-1-rc-0-badge-height: 1.375rem;--_ui5-v1-22-1-rc-0-badge-border: none;--_ui5-v1-22-1-rc-0-badge-border-radius: .25rem;--_ui5-v1-22-1-rc-0-badge-padding-inline: .375em;--_ui5-v1-22-1-rc-0-badge-padding-inline-icon-only: .313rem;--_ui5-v1-22-1-rc-0-badge-text-transform: none;--_ui5-v1-22-1-rc-0-badge-icon-height: 1rem;--_ui5-v1-22-1-rc-0-badge-icon-gap: .25rem;--_ui5-v1-22-1-rc-0-badge-font-size: var(--sapFontSize);--_ui5-v1-22-1-rc-0-badge-font: var(--sapFontSemiboldDuplexFamily);--_ui5-v1-22-1-rc-0-badge-font-weight: normal;--_ui5-v1-22-1-rc-0-badge-letter-spacing: normal;--ui5-v1-22-1-rc-0-badge-color-scheme-1-background: var(--sapAvatar_1_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-1-color: var(--sapAvatar_1_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-2-background: var(--sapAvatar_2_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-2-color: var(--sapAvatar_2_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-3-background: var(--sapAvatar_3_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-3-color: var(--sapAvatar_3_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-4-background: var(--sapAvatar_4_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-4-color: var(--sapAvatar_4_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-5-background: var(--sapAvatar_5_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-5-color: var(--sapAvatar_5_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-6-background: var(--sapAvatar_6_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-6-color: var(--sapAvatar_6_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-7-background: var(--sapAvatar_7_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-7-color: var(--sapAvatar_7_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-8-background: var(--sapAvatar_8_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-8-color: var(--sapAvatar_8_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-9-background: var(--sapAvatar_9_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-9-color: var(--sapAvatar_9_TextColor);--ui5-v1-22-1-rc-0-badge-color-scheme-10-background: var(--sapAvatar_10_Background);--ui5-v1-22-1-rc-0-badge-color-scheme-10-color: var(--sapAvatar_10_TextColor);--_ui5-v1-22-1-rc-0_breadcrumbs_margin: 0 0 .5rem 0;--browser_scrollbar_border_radius: var(--sapElement_BorderCornerRadius);--browser_scrollbar_border: none;--_ui5-v1-22-1-rc-0_busy_indicator_color: var(--sapContent_BusyColor);--_ui5-v1-22-1-rc-0_busy_indicator_focus_border_radius: .75rem;--_ui5-v1-22-1-rc-0_busy_indicator_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_button_base_min_compact_width: 2rem;--_ui5-v1-22-1-rc-0_button_base_height: var(--sapElement_Height);--_ui5-v1-22-1-rc-0_button_compact_height: 1.625rem;--_ui5-v1-22-1-rc-0_button_border_radius: var(--sapButton_BorderCornerRadius);--_ui5-v1-22-1-rc-0_button_compact_padding: .4375rem;--_ui5-v1-22-1-rc-0_button_emphasized_outline: 1px dotted var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_button_focus_offset: 1px;--_ui5-v1-22-1-rc-0_button_focus_width: 1px;--_ui5-v1-22-1-rc-0_button_emphasized_focused_border_before: none;--_ui5-v1-22-1-rc-0_button_emphasized_focused_active_border_color: transparent;--_ui5-v1-22-1-rc-0_button_focused_border: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_button_focused_border_radius: .375rem;--_ui5-v1-22-1-rc-0_button_focused_inner_border_radius: .375rem;--_ui5-v1-22-1-rc-0_button_base_min_width: 2.25rem;--_ui5-v1-22-1-rc-0_button_base_padding: .5625rem;--_ui5-v1-22-1-rc-0_button_base_icon_only_padding: .5625rem;--_ui5-v1-22-1-rc-0_button_base_icon_margin: .375rem;--_ui5-v1-22-1-rc-0_button_icon_font_size: 1rem;--_ui5-v1-22-1-rc-0_button_text_shadow: none;--_ui5-v1-22-1-rc-0_button_emphasized_border_width: .0625rem;--_ui5-v1-22-1-rc-0_button_pressed_focused_border_color: var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_button_fontFamily: var(--sapFontSemiboldDuplexFamily);--_ui5-v1-22-1-rc-0_button_emphasized_focused_border_color: var(--sapContent_ContrastFocusColor);--_ui5-v1-22-1-rc-0_card_box_shadow: var(--sapContent_Shadow0);--_ui5-v1-22-1-rc-0_card_header_border_color: var(--sapTile_SeparatorColor);--_ui5-v1-22-1-rc-0_card_header_focus_border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius: 0px;--_ui5-v1-22-1-rc-0_card_header_title_font_weight: normal;--_ui5-v1-22-1-rc-0_card_header_subtitle_margin_top: .25rem;--_ui5-v1-22-1-rc-0_card_hover_box_shadow: var(--sapContent_Shadow2);--_ui5-v1-22-1-rc-0_card_header_focus_offset: 0px;--_ui5-v1-22-1-rc-0_card_header_focus_radius: var(--_ui5-v1-22-1-rc-0_card_border-radius);--_ui5-v1-22-1-rc-0_card_header_title_font_family: var(--sapFontHeaderFamily);--_ui5-v1-22-1-rc-0_card_header_title_font_size: var(--sapFontHeader6Size);--_ui5-v1-22-1-rc-0_card_header_hover_bg: var(--sapTile_Hover_Background);--_ui5-v1-22-1-rc-0_card_header_active_bg: var(--sapTile_Active_Background);--_ui5-v1-22-1-rc-0_card_header_border: none;--_ui5-v1-22-1-rc-0_card_border-radius: var(--sapTile_BorderCornerRadius);--_ui5-v1-22-1-rc-0_card_header_padding: 1rem 1rem .75rem 1rem;--_ui5-v1-22-1-rc-0_card_border: none;--ui5-v1-22-1-rc-0_carousel_background_color_solid: var(--sapGroup_ContentBackground);--ui5-v1-22-1-rc-0_carousel_background_color_translucent: var(--sapBackgroundColor);--ui5-v1-22-1-rc-0_carousel_button_size: 2.5rem;--ui5-v1-22-1-rc-0_carousel_inactive_dot_size: .25rem;--ui5-v1-22-1-rc-0_carousel_inactive_dot_margin: 0 .375rem;--ui5-v1-22-1-rc-0_carousel_inactive_dot_border: 1px solid var(--sapContent_ForegroundBorderColor);--ui5-v1-22-1-rc-0_carousel_inactive_dot_background: var(--sapContent_ForegroundBorderColor);--ui5-v1-22-1-rc-0_carousel_active_dot_border: 1px solid var(--sapContent_Selected_ForegroundColor);--ui5-v1-22-1-rc-0_carousel_active_dot_background: var(--sapContent_Selected_ForegroundColor);--ui5-v1-22-1-rc-0_carousel_navigation_button_active_box_shadow: none;--_ui5-v1-22-1-rc-0_checkbox_box_shadow: none;--_ui5-v1-22-1-rc-0_checkbox_transition: unset;--_ui5-v1-22-1-rc-0_checkbox_focus_border: none;--_ui5-v1-22-1-rc-0_checkbox_border_radius: 0;--_ui5-v1-22-1-rc-0_checkbox_focus_outline: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_checkbox_outer_hover_background: transparent;--_ui5-v1-22-1-rc-0_checkbox_inner_width_height: 1.375rem;--_ui5-v1-22-1-rc-0_checkbox_inner_disabled_border_color: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_checkbox_inner_information_box_shadow: none;--_ui5-v1-22-1-rc-0_checkbox_inner_warning_box_shadow: none;--_ui5-v1-22-1-rc-0_checkbox_inner_error_box_shadow: none;--_ui5-v1-22-1-rc-0_checkbox_inner_success_box_shadow: none;--_ui5-v1-22-1-rc-0_checkbox_inner_default_box_shadow: none;--_ui5-v1-22-1-rc-0_checkbox_inner_background: var(--sapField_Background);--_ui5-v1-22-1-rc-0_checkbox_wrapped_focus_padding: .375rem;--_ui5-v1-22-1-rc-0_checkbox_wrapped_content_margin_top: .125rem;--_ui5-v1-22-1-rc-0_checkbox_compact_wrapper_padding: .5rem;--_ui5-v1-22-1-rc-0_checkbox_compact_width_height: 2rem;--_ui5-v1-22-1-rc-0_checkbox_compact_inner_size: 1rem;--_ui5-v1-22-1-rc-0_checkbox_compact_focus_position: .375rem;--_ui5-v1-22-1-rc-0_checkbox_compact_wrapped_label_margin_top: -1px;--_ui5-v1-22-1-rc-0_checkbox_label_offset: var(--_ui5-v1-22-1-rc-0_checkbox_wrapper_padding);--_ui5-v1-22-1-rc-0_checkbox_disabled_label_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_checkbox_default_focus_border: none;--_ui5-v1-22-1-rc-0_checkbox_focus_outline_display: block;--_ui5-v1-22-1-rc-0_checkbox_wrapper_padding: .6875rem;--_ui5-v1-22-1-rc-0_checkbox_width_height: 2.75rem;--_ui5-v1-22-1-rc-0_checkbox_label_color: var(--sapField_TextColor);--_ui5-v1-22-1-rc-0_checkbox_inner_border: solid var(--sapField_BorderWidth) var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_checkbox_inner_border_radius: var(--sapField_BorderCornerRadius);--_ui5-v1-22-1-rc-0_checkbox_checkmark_color: var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_checkbox_hover_background: var(--sapContent_Selected_Hover_Background);--_ui5-v1-22-1-rc-0_checkbox_inner_hover_border_color: var(--sapField_Hover_BorderColor);--_ui5-v1-22-1-rc-0_checkbox_inner_hover_checked_border_color: var(--sapField_Hover_BorderColor);--_ui5-v1-22-1-rc-0_checkbox_inner_selected_border_color: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_checkbox_inner_active_border_color: var(--sapField_Hover_BorderColor);--_ui5-v1-22-1-rc-0_checkbox_active_background: var(--sapContent_Selected_Hover_Background);--_ui5-v1-22-1-rc-0_checkbox_inner_readonly_border: var(--sapElement_BorderWidth) var(--sapField_ReadOnly_BorderColor) dashed;--_ui5-v1-22-1-rc-0_checkbox_inner_error_border: var(--sapField_InvalidBorderWidth) solid var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_checkbox_inner_error_background_hover: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_checkbox_inner_warning_border: var(--sapField_WarningBorderWidth) solid var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_checkbox_inner_warning_color: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_checkbox_inner_warning_background_hover: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_checkbox_checkmark_warning_color: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_checkbox_inner_success_border: var(--sapField_SuccessBorderWidth) solid var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_checkbox_inner_success_background_hover: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_checkbox_inner_information_color: var(--sapField_InformationColor);--_ui5-v1-22-1-rc-0_checkbox_inner_information_border: var(--sapField_InformationBorderWidth) solid var(--sapField_InformationColor);--_ui5-v1-22-1-rc-0_checkbox_inner_information_background_hover: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_checkbox_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5-v1-22-1-rc-0_checkbox_focus_position: .3125rem;--_ui5-v1-22-1-rc-0_checkbox_focus_border_radius: .5rem;--_ui5-v1-22-1-rc-0_checkbox_right_focus_distance: var(--_ui5-v1-22-1-rc-0_checkbox_focus_position);--_ui5-v1-22-1-rc-0_checkbox_wrapped_focus_left_top_bottom_position: .1875rem;--_ui5-v1-22-1-rc-0_color-palette-item-outer-border-radius: .25rem;--_ui5-v1-22-1-rc-0_color-palette-item-inner-border-radius: .1875rem;--_ui5-v1-22-1-rc-0_color-palette-item-container-sides-padding: .3125rem;--_ui5-v1-22-1-rc-0_color-palette-item-container-rows-padding: .6875rem;--_ui5-v1-22-1-rc-0_color-palette-item-focus-height: 1.5rem;--_ui5-v1-22-1-rc-0_color-palette-item-container-padding: var(--_ui5-v1-22-1-rc-0_color-palette-item-container-sides-padding) var(--_ui5-v1-22-1-rc-0_color-palette-item-container-rows-padding);--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin: .0625rem;--_ui5-v1-22-1-rc-0_color-palette-row-height: 9.5rem;--_ui5-v1-22-1-rc-0_color-palette-button-height: 3rem;--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset: -.3125rem;--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset: -.0625rem;--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color: .0625rem solid var(--sapContent_ContrastFocusColor);--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset: -.1875rem;--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset: .0625rem;--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius: .4375rem;--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius: .3125rem;--_ui5-v1-22-1-rc-0_color-palette-item-hover-outer-border-radius: .4375rem;--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius: .375rem;--_ui5-v1-22-1-rc-0_color_picker_circle_outer_border: .0625rem solid var(--sapContent_ContrastShadowColor);--_ui5-v1-22-1-rc-0_color_picker_circle_inner_border: .0625rem solid var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size: .5625rem;--_ui5-v1-22-1-rc-0_color_picker_slider_handle_box_shadow: .125rem solid var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_color_picker_slider_handle_border: .125rem solid var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_hover: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_focus: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top: -.1875rem;--_ui5-v1-22-1-rc-0_color_picker_slider_handle_focus_margin_top: var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top);--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top: -11px;--_ui5-v1-22-1-rc-0_color_picker_slider_handle_inline_focus: 1px solid var(--sapContent_ContrastFocusColor);--_ui5-v1-22-1-rc-0_datepicker_icon_border: none;--_ui5-v1-22-1-rc-0-datepicker-hover-background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0-datepicker_border_radius: .25rem;--_ui5-v1-22-1-rc-0-datepicker_icon_border_radius: .125rem;--_ui5-v1-22-1-rc-0_daypicker_item_box_shadow: inset 0 0 0 .0625rem var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_daypicker_item_margin: 2px;--_ui5-v1-22-1-rc-0_daypicker_item_border: none;--_ui5-v1-22-1-rc-0_daypicker_item_selected_border_color: var(--sapList_Background);--_ui5-v1-22-1-rc-0_daypicker_daynames_container_height: 2rem;--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top: 2rem;--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_background_color: var(--sapList_Background);--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_hover_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_daypicker_item_now_inner_border_radius: 0;--_ui5-v1-22-1-rc-0_daypicker_item_outline_width: 1px;--_ui5-v1-22-1-rc-0_daypicker_item_outline_offset: 1px;--_ui5-v1-22-1-rc-0_daypicker_item_now_focus_after_width: calc(100% - .25rem) ;--_ui5-v1-22-1-rc-0_daypicker_item_now_focus_after_height: calc(100% - .25rem) ;--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_focus_after_width: calc(100% - .375rem) ;--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_focus_after_height: calc(100% - .375rem) ;--_ui5-v1-22-1-rc-0_daypicker_item_selected_background: transparent;--_ui5-v1-22-1-rc-0_daypicker_item_outline_focus_after: none;--_ui5-v1-22-1-rc-0_daypicker_item_border_focus_after: var(--_ui5-v1-22-1-rc-0_daypicker_item_outline_width) dotted var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_daypicker_item_width_focus_after: calc(100% - .25rem) ;--_ui5-v1-22-1-rc-0_daypicker_item_height_focus_after: calc(100% - .25rem) ;--_ui5-v1-22-1-rc-0_daypicker_item_now_outline: none;--_ui5-v1-22-1-rc-0_daypicker_item_now_outline_offset: none;--_ui5-v1-22-1-rc-0_daypicker_item_now_outline_offset_focus_after: var(--_ui5-v1-22-1-rc-0_daypicker_item_now_outline_offset);--_ui5-v1-22-1-rc-0_daypicker_item_now_not_selected_inset: 0;--_ui5-v1-22-1-rc-0_daypicker_item_now_border_color: var(--sapLegend_CurrentDateTime);--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_inset: .1875rem;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_border_radios: .25rem;--_ui5-v1-22-1-rc-0_daypicker_item_border_radius: .5rem;--_ui5-v1-22-1-rc-0_daypicker_item_focus_border: .0625rem dotted var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_daypicker_item_selected_border: .0625rem solid var(--sapList_SelectionBorderColor);--_ui5-v1-22-1-rc-0_daypicker_item_not_selected_focus_border: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_color: var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_width: .125rem;--_ui5-v1-22-1-rc-0_daypicker_item_no_selected_inset: .375rem;--_ui5-v1-22-1-rc-0_daypicker_item_now_border_focus_after: .125rem solid var(--sapList_SelectionBorderColor);--_ui5-v1-22-1-rc-0_daypicker_item_now_border_radius_focus_after: .3125rem;--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_focus: .1875rem solid var(--sapList_SelectionBorderColor);--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_radius_focus: .1875rem;--ui5-v1-22-1-rc-0-dp-item_withsecondtype_border: .375rem;--_ui5-v1-22-1-rc-0_daypicker_item_now_border: .125rem solid var(--sapLegend_CurrentDateTime);--_ui5-v1-22-1-rc-0_daypicker_dayname_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_daypicker_weekname_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_daypicker_item_selected_box_shadow: inset 0 0 0 .0625rem var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_daypicker_item_selected_daytext_hover_background: transparent;--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item: .5rem;--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_focus_after: .1875rem;--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_border: .5rem;--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_background: var(--sapList_SelectionBackgroundColor);--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_background: transparent;--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_font: var(--sapFontFamily);--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font: var(--sapFontBoldFamily);--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_hover_background: var(--sapList_Hover_SelectionBackground);--_ui5-v1-22-1-rc-0_daypicker_item_now_box_shadow: inset 0 0 0 .35rem var(--sapList_Background);--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_outline: .0625rem solid var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_outline_offset: -.25rem;--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_inset: .25rem;--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border: .0625rem solid var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border_radius: .1875rem;--_ui5-v1-22-1-rc-0_daypicker_item_select_between_border: 1px solid var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_daypicker_item_weeekend_filter: brightness(105%);--_ui5-v1-22-1-rc-0_daypicker_item_selected_hover: var(--sapList_Hover_Background);--_ui5-v1-22-1-rc-0_daypicker_item_now_inset: .375rem;--_ui5-v1-22-1-rc-0-dp-item_withsecondtype_border: .25rem;--_ui5-v1-22-1-rc-0_daypicker_item_selected__secondary_type_text_outline: .125rem solid var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_day_text_content: "";--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_width: .1875rem;--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_radius: .5rem;--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius: .5rem;--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_inset: 0;--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus: .3125rem;--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_focus_inset: .1875rem;--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_select_focus_border_radius: .3125rem;--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_inset: 0;--_ui5-v1-22-1-rc-0_dialog_resize_handle_color: var(--sapButton_Lite_TextColor);--_ui5-v1-22-1-rc-0_dialog_header_error_state_icon_color: var(--sapNegativeElementColor);--_ui5-v1-22-1-rc-0_dialog_header_information_state_icon_color: var(--sapInformativeElementColor);--_ui5-v1-22-1-rc-0_dialog_header_success_state_icon_color: var(--sapPositiveElementColor);--_ui5-v1-22-1-rc-0_dialog_header_warning_state_icon_color: var(--sapCriticalElementColor);--_ui5-v1-22-1-rc-0_dialog_header_state_line_height: .0625rem;--_ui5-v1-22-1-rc-0_dialog_header_focus_bottom_offset: 2px;--_ui5-v1-22-1-rc-0_dialog_header_focus_top_offset: 1px;--_ui5-v1-22-1-rc-0_dialog_header_focus_left_offset: 1px;--_ui5-v1-22-1-rc-0_dialog_header_focus_right_offset: 1px;--_ui5-v1-22-1-rc-0_dialog_resize_handle_right: 0;--_ui5-v1-22-1-rc-0_dialog_resize_handle_bottom: 3px;--_ui5-v1-22-1-rc-0_dialog_header_border_radius: var(--sapElement_BorderCornerRadius);--_ui5-v1-22-1-rc-0_file_uploader_value_state_error_hover_background_color: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_file_uploader_hover_border: none;--ui5-v1-22-1-rc-0-group-header-listitem-background-color: var(--sapList_GroupHeaderBackground);--ui5-v1-22-1-rc-0-icon-focus-border-radius: .25rem;--_ui5-v1-22-1-rc-0_input_width: 13.125rem;--_ui5-v1-22-1-rc-0_input_min_width: 2.75rem;--_ui5-v1-22-1-rc-0_input_height: var(--sapElement_Height);--_ui5-v1-22-1-rc-0_input_compact_height: 1.625rem;--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_input_background_color: var(--sapField_Background);--_ui5-v1-22-1-rc-0_input_border_radius: var(--sapField_BorderCornerRadius);--_ui5-v1-22-1-rc-0_input_placeholder_style: italic;--_ui5-v1-22-1-rc-0_input_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5-v1-22-1-rc-0_input_bottom_border_height: 0;--_ui5-v1-22-1-rc-0_input_bottom_border_color: transparent;--_ui5-v1-22-1-rc-0_input_focused_border_color: var(--sapField_Hover_BorderColor);--_ui5-v1-22-1-rc-0_input_state_border_width: .125rem;--_ui5-v1-22-1-rc-0_input_information_border_width: .125rem;--_ui5-v1-22-1-rc-0_input_error_font_weight: normal;--_ui5-v1-22-1-rc-0_input_warning_font_weight: normal;--_ui5-v1-22-1-rc-0_input_focus_border_width: 1px;--_ui5-v1-22-1-rc-0_input_error_warning_font_style: inherit;--_ui5-v1-22-1-rc-0_input_error_warning_text_indent: 0;--_ui5-v1-22-1-rc-0_input_disabled_color: var(--sapContent_DisabledTextColor);--_ui5-v1-22-1-rc-0_input_disabled_font_weight: normal;--_ui5-v1-22-1-rc-0_input_disabled_border_color: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0-input_disabled_background: var(--sapField_Background);--_ui5-v1-22-1-rc-0_input_readonly_border_color: var(--sapField_ReadOnly_BorderColor);--_ui5-v1-22-1-rc-0_input_readonly_background: var(--sapField_ReadOnly_Background);--_ui5-v1-22-1-rc-0_input_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5-v1-22-1-rc-0_input_icon_min_width: 2.25rem;--_ui5-v1-22-1-rc-0_input_compact_min_width: 2rem;--_ui5-v1-22-1-rc-0_input_transition: none;--_ui5-v1-22-1-rc-0-input-value-state-icon-display: none;--_ui5-v1-22-1-rc-0_input_value_state_error_border_color: var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color: var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_input_value_state_success_border_color: var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color: var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_input_value_state_success_border_width: 1px;--_ui5-v1-22-1-rc-0_input_value_state_information_border_color: var(--sapField_InformationColor);--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color: var(--sapField_InformationColor);--_ui5-v1-22-1-rc-0-input-value-state-information-border-width: 1px;--_ui5-v1-22-1-rc-0-input-background-image: none;--ui5-v1-22-1-rc-0_input_focus_pseudo_element_content: "";--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight: normal;--_ui5-v1-22-1-rc-0-input_error_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5-v1-22-1-rc-0_input_icon_width: 2.25rem;--_ui5-v1-22-1-rc-0-input-icons-count: 0;--_ui5-v1-22-1-rc-0_input_margin_top_bottom: .1875rem;--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 3.25rem;--_ui5-v1-22-1-rc-0-input-border: none;--_ui5-v1-22-1-rc-0_input_hover_border: none;--_ui5-v1-22-1-rc-0_input_focus_border_radius: .25rem;--_ui5-v1-22-1-rc-0_input_readonly_focus_border_radius: .125rem;--_ui5-v1-22-1-rc-0_input_error_warning_border_style: none;--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color: var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color: var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_input_focus_offset: 0;--_ui5-v1-22-1-rc-0_input_readonly_focus_offset: .125rem;--_ui5-v1-22-1-rc-0_input_information_icon_padding: .625rem .625rem .5rem .625rem;--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding: .625rem .625rem .5rem .625rem;--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5-v1-22-1-rc-0_input_custom_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding: .625rem .625rem .5rem .625rem;--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding: .625rem .625rem .5rem .625rem;--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5-v1-22-1-rc-0_input_focus_outline_color: var(--sapField_Active_BorderColor);--_ui5-v1-22-1-rc-0_input_icon_wrapper_height: calc(100% - 1px) ;--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height: calc(100% - 2px) ;--_ui5-v1-22-1-rc-0_input_icon_wrapper_success_state_height: calc(100% - var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width));--_ui5-v1-22-1-rc-0_input_icon_color: var(--sapContent_IconColor);--_ui5-v1-22-1-rc-0_input_icon_pressed_bg: var(--sapButton_Selected_Background);--_ui5-v1-22-1-rc-0_input_icon_padding: .625rem .625rem .5625rem .625rem;--_ui5-v1-22-1-rc-0_input_icon_hover_bg: var(--sapField_Focus_Background);--_ui5-v1-22-1-rc-0_input_icon_pressed_color: var(--sapButton_Active_TextColor);--_ui5-v1-22-1-rc-0_input_icon_border_radius: .25rem;--_ui5-v1-22-1-rc-0_input_icon_box_shadow: var(--sapField_Hover_Shadow);--_ui5-v1-22-1-rc-0_input_icon_border: none;--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow: var(--sapContent_Negative_Shadow);--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow: var(--sapContent_Critical_Shadow);--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow: var(--sapContent_Informative_Shadow);--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow: var(--sapContent_Positive_Shadow);--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color: var(--sapButton_Reject_Selected_TextColor);--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color: var(--sapButton_Attention_Selected_TextColor);--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color: var(--sapButton_Selected_TextColor);--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color: var(--sapButton_Accept_Selected_TextColor);--_ui5-v1-22-1-rc-0_link_focus_text_decoration: underline;--_ui5-v1-22-1-rc-0_link_text_decoration: var(--sapLink_TextDecoration);--_ui5-v1-22-1-rc-0_link_hover_text_decoration: var(--sapLink_Hover_TextDecoration);--_ui5-v1-22-1-rc-0_link_focused_hover_text_decoration: none;--_ui5-v1-22-1-rc-0_link_focused_hover_text_color: var(--sapContent_ContrastTextColor);--_ui5-v1-22-1-rc-0_link_active_text_decoration: var(--sapLink_Active_TextDecoration);--_ui5-v1-22-1-rc-0_link_border: .125rem solid transparent;--_ui5-v1-22-1-rc-0_link_border_focus: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_link_focus_border-radius: .125rem;--_ui5-v1-22-1-rc-0_link_focus_background_color: var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_link_focus_color: var(--sapContent_ContrastTextColor);--_ui5-v1-22-1-rc-0_link_subtle_text_decoration: underline;--_ui5-v1-22-1-rc-0_link_subtle_text_decoration_hover: none;--ui5-v1-22-1-rc-0_list_footer_text_color: var(--sapList_FooterTextColor);--ui5-v1-22-1-rc-0-listitem-background-color: var(--sapList_Background);--ui5-v1-22-1-rc-0-listitem-border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--ui5-v1-22-1-rc-0-listitem-selected-border-bottom: 1px solid var(--sapList_SelectionBorderColor);--ui5-v1-22-1-rc-0-listitem-focused-selected-border-bottom: 1px solid var(--sapList_SelectionBorderColor);--_ui5-v1-22-1-rc-0_listitembase_focus_width: 1px;--_ui5-v1-22-1-rc-0-listitembase_disabled_opacity: .5;--_ui5-v1-22-1-rc-0_product_switch_item_border: none;--ui5-v1-22-1-rc-0-listitem-active-border-color: var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_menu_item_padding: 0 1rem 0 .75rem;--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right: 1rem;--_ui5-v1-22-1-rc-0_menu_item_additional_text_start_margin: 1rem;--_ui5-v1-22-1-rc-0_menu_popover_border_radius: var(--sapPopover_BorderCornerRadius);--_ui5-v1-22-1-rc-0_monthpicker_item_border: none;--_ui5-v1-22-1-rc-0_monthpicker_item_margin: 1px;--_ui5-v1-22-1-rc-0_monthpicker_item_border_radius: .5rem;--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border: var(--_ui5-v1-22-1-rc-0_button_focused_border);--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border_radius: .5rem;--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_width: calc(100% - .5rem) ;--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_height: calc(100% - .5rem) ;--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_offset: .25rem;--_ui5-v1-22-1-rc-0_monthpicker_item_selected_text_color: var(--sapContent_Selected_TextColor);--_ui5-v1-22-1-rc-0_monthpicker_item_selected_background_color:var(--sapLegend_WorkingBackground);--_ui5-v1-22-1-rc-0_monthpicker_item_selected_hover_color: var(--sapList_Hover_Background);--_ui5-v1-22-1-rc-0_monthpicker_item_selected_box_shadow: none;--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_outline: .125rem solid var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_monthpicker_item_selected_font_wieght: bold;--_ui5-v1-22-1-rc-0_message_strip_icon_width: 2.5rem;--_ui5-v1-22-1-rc-0_message_strip_button_border_width: 0;--_ui5-v1-22-1-rc-0_message_strip_button_border_style: none;--_ui5-v1-22-1-rc-0_message_strip_button_border_color: transparent;--_ui5-v1-22-1-rc-0_message_strip_button_border_radius: 0;--_ui5-v1-22-1-rc-0_message_strip_padding: .4375rem 2.5rem .4375rem 2.5rem;--_ui5-v1-22-1-rc-0_message_strip_padding_block_no_icon: .4375rem .4375rem;--_ui5-v1-22-1-rc-0_message_strip_padding_inline_no_icon: 1rem 2.5rem;--_ui5-v1-22-1-rc-0_message_strip_button_height: 1.625rem;--_ui5-v1-22-1-rc-0_message_strip_border_width: 1px;--_ui5-v1-22-1-rc-0_message_strip_close_button_border: none;--_ui5-v1-22-1-rc-0_message_strip_icon_top: .4375rem;--_ui5-v1-22-1-rc-0_message_strip_focus_width: 1px;--_ui5-v1-22-1-rc-0_message_strip_focus_offset: -2px;--_ui5-v1-22-1-rc-0_message_strip_close_button_top: .125rem;--_ui5-v1-22-1-rc-0_message_strip_close_button_right: .1875rem;--_ui5-v1-22-1-rc-0_panel_focus_border: var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_panel_header_height: 2.75rem;--_ui5-v1-22-1-rc-0_panel_button_root_width: 2.75rem;--_ui5-v1-22-1-rc-0_panel_button_root_height: 2.75rem;--_ui5-v1-22-1-rc-0_panel_header_padding_right: .5rem;--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding: .25rem;--_ui5-v1-22-1-rc-0_panel_border_radius: var(--sapElement_BorderCornerRadius);--_ui5-v1-22-1-rc-0_panel_border_bottom: none;--_ui5-v1-22-1-rc-0_panel_default_header_border: .0625rem solid var(--sapGroup_TitleBorderColor);--_ui5-v1-22-1-rc-0_panel_outline_offset: -.125rem;--_ui5-v1-22-1-rc-0_panel_border_radius_expanded: var(--sapElement_BorderCornerRadius) var(--sapElement_BorderCornerRadius) 0 0;--_ui5-v1-22-1-rc-0_panel_icon_color: var(--sapButton_Lite_TextColor);--_ui5-v1-22-1-rc-0_panel_focus_offset: -1px;--_ui5-v1-22-1-rc-0_panel_content_padding: .625rem 1rem;--_ui5-v1-22-1-rc-0_panel_header_background_color: var(--sapGroup_TitleBackground);--_ui5-v1-22-1-rc-0_popover_background: var(--sapGroup_ContentBackground);--_ui5-v1-22-1-rc-0_popover_box_shadow: var(--sapContent_Shadow2);--_ui5-v1-22-1-rc-0_popover_no_arrow_box_shadow: var(--sapContent_Shadow1);--_ui5-v1-22-1-rc-0_popup_content_padding_s: 1rem;--_ui5-v1-22-1-rc-0_popup_content_padding_m_l: 2rem;--_ui5-v1-22-1-rc-0_popup_content_padding_xl: 3rem;--_ui5-v1-22-1-rc-0_popup_header_footer_padding_s: 1rem;--_ui5-v1-22-1-rc-0_popup_header_footer_padding_m_l: 2rem;--_ui5-v1-22-1-rc-0_popup_header_footer_padding_xl: 3rem;--_ui5-v1-22-1-rc-0_popup_viewport_margin: 10px;--_ui5-v1-22-1-rc-0_popup_header_font_weight: 400;--_ui5-v1-22-1-rc-0_popup_header_prop_header_text_alignment: flex-start;--_ui5-v1-22-1-rc-0_popup_header_background: var(--sapPageHeader_Background);--_ui5-v1-22-1-rc-0_popup_header_shadow: var(--sapContent_HeaderShadow);--_ui5-v1-22-1-rc-0_popup_header_border: none;--_ui5-v1-22-1-rc-0_popup_header_font_family: var(--sapFontHeaderFamily);--_ui5-v1-22-1-rc-0_popup_border_radius: .5rem;--_ui5-v1-22-1-rc-0_popup_block_layer_background: color-mix(in oklch, transparent, var(--sapBlockLayer_Background) 60%);--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_max: none;--_ui5-v1-22-1-rc-0_progress_indicator_icon_visibility: inline-block;--_ui5-v1-22-1-rc-0_progress_indicator_side_points_visibility: block;--_ui5-v1-22-1-rc-0_progress_indicator_padding: 1.25rem 0 .75rem 0;--_ui5-v1-22-1-rc-0_progress_indicator_padding_end: 1.25rem;--_ui5-v1-22-1-rc-0_progress_indicator_host_height: unset;--_ui5-v1-22-1-rc-0_progress_indicator_host_min_height: unset;--_ui5-v1-22-1-rc-0_progress_indicator_host_box_sizing: border-box;--_ui5-v1-22-1-rc-0_progress_indicator_root_position: relative;--_ui5-v1-22-1-rc-0_progress_indicator_root_border_radius: .25rem;--_ui5-v1-22-1-rc-0_progress_indicator_root_height: .375rem;--_ui5-v1-22-1-rc-0_progress_indicator_root_min_height: .375rem;--_ui5-v1-22-1-rc-0_progress_indicator_root_overflow: visible;--_ui5-v1-22-1-rc-0_progress_indicator_bar_height: .625rem;--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_radius: .5rem;--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius: .25rem;--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_position: absolute;--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_width: 100%;--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_overflow: visible;--_ui5-v1-22-1-rc-0_progress_indicator_icon_position: absolute;--_ui5-v1-22-1-rc-0_progress_indicator_icon_right_position: -1.25rem;--_ui5-v1-22-1-rc-0_progress_indicator_value_margin: 0 0 .1875rem 0;--_ui5-v1-22-1-rc-0_progress_indicator_value_position: absolute;--_ui5-v1-22-1-rc-0_progress_indicator_value_top_position: -1.3125rem;--_ui5-v1-22-1-rc-0_progress_indicator_value_left_position: 0;--_ui5-v1-22-1-rc-0_progress_indicator_background_none: var(--sapProgress_Background);--_ui5-v1-22-1-rc-0_progress_indicator_background_error: var(--sapProgress_NegativeBackground);--_ui5-v1-22-1-rc-0_progress_indicator_background_warning: var(--sapProgress_CriticalBackground);--_ui5-v1-22-1-rc-0_progress_indicator_background_success: var(--sapProgress_PositiveBackground);--_ui5-v1-22-1-rc-0_progress_indicator_background_information: var(--sapProgress_InformationBackground);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none: var(--sapProgress_Value_Background);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error: var(--sapProgress_Value_NegativeBackground);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning: var(--sapProgress_Value_CriticalBackground);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success: var(--sapProgress_Value_PositiveBackground);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information: var(--sapProgress_Value_InformationBackground);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none_border_color: var(--sapProgress_Value_BorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_border_color: var(--sapProgress_Value_NegativeBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_border_color: var(--sapProgress_Value_CriticalBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_border_color: var(--sapProgress_Value_PositiveBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_border_color: var(--sapProgress_Value_InformationBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_icon_color: var(--sapProgress_Value_NegativeTextColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_icon_color: var(--sapProgress_Value_CriticalTextColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_icon_color: var(--sapProgress_Value_PositiveTextColor);--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_icon_color: var(--sapProgress_Value_InformationTextColor);--_ui5-v1-22-1-rc-0_progress_indicator_border: none;--_ui5-v1-22-1-rc-0_progress_indicator_border_color_error: var(--sapErrorBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_border_color_warning: var(--sapWarningBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_border_color_success: var(--sapSuccessBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_border_color_information: var(--sapInformationBorderColor);--_ui5-v1-22-1-rc-0_progress_indicator_color: var(--sapField_TextColor);--_ui5-v1-22-1-rc-0_progress_indicator_bar_color: var(--sapProgress_TextColor);--_ui5-v1-22-1-rc-0_progress_indicator_icon_size: var(--sapFontLargeSize);--_ui5-v1-22-1-rc-0_rating_indicator_item_height: 1em;--_ui5-v1-22-1-rc-0_rating_indicator_item_width: 1em;--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing: .5rem 0px;--_ui5-v1-22-1-rc-0_rating_indicator_border_radius: .25rem;--_ui5-v1-22-1-rc-0_rating_indicator_outline_offset: .125rem;--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height: .75em;--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width: .75em;--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing: .1875rem .1875rem;--_ui5-v1-22-1-rc-0_segmented_btn_inner_border: .0625rem solid transparent;--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_odd_child: .0625rem solid transparent;--_ui5-v1-22-1-rc-0_segmented_btn_inner_pressed_border_odd_child: .0625rem solid var(--sapButton_Selected_BorderColor);--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_radius: var(--sapButton_BorderCornerRadius);--_ui5-v1-22-1-rc-0_segmented_btn_background_color: var(--sapButton_Lite_Background);--_ui5-v1-22-1-rc-0_segmented_btn_border_color: var(--sapButton_Lite_BorderColor);--_ui5-v1-22-1-rc-0_segmented_btn_hover_box_shadow: none;--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left: .0625rem;--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right: .0625rem;--_ui5-v1-22-1-rc-0_radio_button_min_width: 2.75rem;--_ui5-v1-22-1-rc-0_radio_button_hover_fill_error: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_radio_button_hover_fill_warning: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_radio_button_hover_fill_success: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_radio_button_hover_fill_information: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_radio_button_checked_fill: var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_radio_button_checked_error_fill: var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_radio_button_checked_success_fill: var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_radio_button_checked_information_fill: var(--sapField_InformationColor);--_ui5-v1-22-1-rc-0_radio_button_warning_error_border_dash: 0;--_ui5-v1-22-1-rc-0_radio_button_outer_ring_color: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_radio_button_outer_ring_width: var(--sapField_BorderWidth);--_ui5-v1-22-1-rc-0_radio_button_outer_ring_bg: var(--sapField_Background);--_ui5-v1-22-1-rc-0_radio_button_outer_ring_hover_color: var(--sapField_Hover_BorderColor);--_ui5-v1-22-1-rc-0_radio_button_outer_ring_active_color: var(--sapField_Hover_BorderColor);--_ui5-v1-22-1-rc-0_radio_button_outer_ring_checked_hover_color: var(--sapField_Hover_BorderColor);--_ui5-v1-22-1-rc-0_radio_button_outer_ring_padding_with_label: 0 .6875rem;--_ui5-v1-22-1-rc-0_radio_button_border: none;--_ui5-v1-22-1-rc-0_radio_button_focus_border: none;--_ui5-v1-22-1-rc-0_radio_button_focus_outline: block;--_ui5-v1-22-1-rc-0_radio_button_color: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_radio_button_label_offset: 1px;--_ui5-v1-22-1-rc-0_radio_button_items_align: unset;--_ui5-v1-22-1-rc-0_radio_button_information_border_width: var(--sapField_InformationBorderWidth);--_ui5-v1-22-1-rc-0_radio_button_border_width: var(--sapContent_FocusWidth);--_ui5-v1-22-1-rc-0_radio_button_border_radius: .5rem;--_ui5-v1-22-1-rc-0_radio_button_label_color: var(--sapField_TextColor);--_ui5-v1-22-1-rc-0_radio_button_inner_ring_radius: 27.5%;--_ui5-v1-22-1-rc-0_radio_button_outer_ring_padding: 0 .6875rem;--_ui5-v1-22-1-rc-0_radio_button_read_only_border_type: 4,2;--_ui5-v1-22-1-rc-0_radio_button_inner_ring_color: var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_radio_button_checked_warning_fill: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_radio_button_read_only_inner_ring_color: var(--sapField_TextColor);--_ui5-v1-22-1-rc-0_radio_button_read_only_border_width: var(--sapElement_BorderWidth);--_ui5-v1-22-1-rc-0_radio_button_hover_fill: var(--sapContent_Selected_Hover_Background);--_ui5-v1-22-1-rc-0_radio_button_focus_dist: .375rem;--_ui5-v1-22-1-rc-0_switch_height: 2.75rem;--_ui5-v1-22-1-rc-0_switch_foucs_border_size: 1px;--_ui5-v1-22-1-rc-0-switch-root-border-radius: 0;--_ui5-v1-22-1-rc-0-switch-root-box-shadow: none;--_ui5-v1-22-1-rc-0-switch-focus: "";--_ui5-v1-22-1-rc-0_switch_track_border_radius: .75rem;--_ui5-v1-22-1-rc-0-switch-track-border: 1px solid;--_ui5-v1-22-1-rc-0_switch_track_transition: none;--_ui5-v1-22-1-rc-0_switch_handle_border_radius: 1rem;--_ui5-v1-22-1-rc-0-switch-handle-icon-display: none;--_ui5-v1-22-1-rc-0-switch-slider-texts-display: inline;--_ui5-v1-22-1-rc-0_switch_width: 3.5rem;--_ui5-v1-22-1-rc-0_switch_min_width: none;--_ui5-v1-22-1-rc-0_switch_with_label_width: 3.875rem;--_ui5-v1-22-1-rc-0_switch_focus_outline: none;--_ui5-v1-22-1-rc-0_switch_root_after_outline: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_switch_root_after_boreder: none;--_ui5-v1-22-1-rc-0_switch_root_after_boreder_radius: 1rem;--_ui5-v1-22-1-rc-0_switch_root_outline_top: .5rem;--_ui5-v1-22-1-rc-0_switch_root_outline_bottom: .5rem;--_ui5-v1-22-1-rc-0_switch_root_outline_left: .375rem;--_ui5-v1-22-1-rc-0_switch_root_outline_right: .375rem;--_ui5-v1-22-1-rc-0_switch_disabled_opacity: var(--sapContent_DisabledOpacity);--_ui5-v1-22-1-rc-0_switch_transform: translateX(100%) translateX(-1.625rem);--_ui5-v1-22-1-rc-0_switch_transform_with_label: translateX(100%) translateX(-1.875rem);--_ui5-v1-22-1-rc-0_switch_rtl_transform: translateX(-100%) translateX(1.625rem);--_ui5-v1-22-1-rc-0_switch_rtl_transform_with_label: translateX(-100%) translateX(1.875rem);--_ui5-v1-22-1-rc-0_switch_track_width: 2.5rem;--_ui5-v1-22-1-rc-0_switch_track_height: 1.5rem;--_ui5-v1-22-1-rc-0_switch_track_with_label_width: 2.875rem;--_ui5-v1-22-1-rc-0_switch_track_with_label_height: 1.5rem;--_ui5-v1-22-1-rc-0_switch_track_active_background_color: var(--sapButton_Track_Selected_Background);--_ui5-v1-22-1-rc-0_switch_track_inactive_background_color: var(--sapButton_Track_Background);--_ui5-v1-22-1-rc-0_switch_track_hover_active_background_color: var(--sapButton_Track_Selected_Hover_Background);--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_background_color: var(--sapButton_Track_Hover_Background);--_ui5-v1-22-1-rc-0_switch_track_active_border_color: var(--sapButton_Track_Selected_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_inactive_border_color: var(--sapButton_Track_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_hover_active_border_color: var(--sapButton_Track_Selected_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_border_color: var(--sapButton_Track_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_background_color: var(--sapButton_Track_Positive_Background);--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_background_color: var(--sapButton_Track_Negative_Background);--_ui5-v1-22-1-rc-0_switch_track_semantic_hover_accept_background_color: var(--sapButton_Track_Positive_Hover_Background);--_ui5-v1-22-1-rc-0_switch_track_semantic_hover_reject_background_color: var(--sapButton_Track_Negative_Hover_Background);--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_border_color: var(--sapButton_Track_Positive_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_border_color: var(--sapButton_Track_Negative_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_semantic_hover_accept_border_color: var(--sapButton_Track_Positive_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_semantic_hover_reject_border_color: var(--sapButton_Track_Negative_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_track_icon_display: inline-block;--_ui5-v1-22-1-rc-0_switch_handle_width: 1.5rem;--_ui5-v1-22-1-rc-0_switch_handle_height: 1.25rem;--_ui5-v1-22-1-rc-0_switch_handle_with_label_width: 1.75rem;--_ui5-v1-22-1-rc-0_switch_handle_with_label_height: 1.25rem;--_ui5-v1-22-1-rc-0_switch_handle_border: var(--_ui5-v1-22-1-rc-0_switch_handle_border_width) solid var(--sapButton_Handle_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_border_width: .125rem;--_ui5-v1-22-1-rc-0_switch_handle_active_background_color: var(--sapButton_Handle_Selected_Background);--_ui5-v1-22-1-rc-0_switch_handle_inactive_background_color: var(--sapButton_Handle_Background);--_ui5-v1-22-1-rc-0_switch_handle_hover_active_background_color: var(--sapButton_Handle_Selected_Hover_Background);--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_background_color: var(--sapButton_Handle_Hover_Background);--_ui5-v1-22-1-rc-0_switch_handle_active_border_color: var(--sapButton_Handle_Selected_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_inactive_border_color: var(--sapButton_Handle_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_hover_active_border_color: var(--sapButton_Handle_Selected_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_border_color: var(--sapButton_Handle_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_background_color: var(--sapButton_Handle_Positive_Background);--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_background_color: var(--sapButton_Handle_Negative_Background);--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_accept_background_color: var(--sapButton_Handle_Positive_Hover_Background);--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_background_color: var(--sapButton_Handle_Negative_Hover_Background);--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_border_color: var(--sapButton_Handle_Positive_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_border_color: var(--sapButton_Handle_Negative_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_accept_border_color: var(--sapButton_Handle_Positive_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_border_color: var(--sapButton_Handle_Negative_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_on_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Selected_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_off_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_semantic_on_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Positive_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_semantic_off_hover_box_shadow: 0 0 0 .125rem var(--sapButton_Handle_Negative_Hover_BorderColor);--_ui5-v1-22-1-rc-0_switch_handle_left: .0625rem;--_ui5-v1-22-1-rc-0_switch_text_font_family: var(--sapContent_IconFontFamily);--_ui5-v1-22-1-rc-0_switch_text_font_size: var(--sapFontLargeSize);--_ui5-v1-22-1-rc-0_switch_text_width: 1.25rem;--_ui5-v1-22-1-rc-0_switch_text_with_label_font_family: "72-Condensed-Bold" , "72" , "72full" , Arial, Helvetica, sans-serif;--_ui5-v1-22-1-rc-0_switch_text_with_label_font_size: var(--sapFontSmallSize);--_ui5-v1-22-1-rc-0_switch_text_with_label_width: 1.75rem;--_ui5-v1-22-1-rc-0_switch_text_inactive_left: .1875rem;--_ui5-v1-22-1-rc-0_switch_text_inactive_left_alternate: .0625rem;--_ui5-v1-22-1-rc-0_switch_text_inactive_right: auto;--_ui5-v1-22-1-rc-0_switch_text_inactive_right_alternate: 0;--_ui5-v1-22-1-rc-0_switch_text_active_left: .1875rem;--_ui5-v1-22-1-rc-0_switch_text_active_left_alternate: .0625rem;--_ui5-v1-22-1-rc-0_switch_text_active_right: auto;--_ui5-v1-22-1-rc-0_switch_text_active_color: var(--sapButton_Handle_Selected_TextColor);--_ui5-v1-22-1-rc-0_switch_text_inactive_color: var(--sapButton_Handle_TextColor);--_ui5-v1-22-1-rc-0_switch_text_semantic_accept_color: var(--sapButton_Handle_Positive_TextColor);--_ui5-v1-22-1-rc-0_switch_text_semantic_reject_color: var(--sapButton_Handle_Negative_TextColor);--_ui5-v1-22-1-rc-0_switch_text_overflow: hidden;--_ui5-v1-22-1-rc-0_switch_text_z_index: 1;--_ui5-v1-22-1-rc-0_switch_text_hidden: hidden;--_ui5-v1-22-1-rc-0_switch_text_min_width: none;--_ui5-v1-22-1-rc-0_switch_icon_width: 1rem;--_ui5-v1-22-1-rc-0_switch_icon_height: 1rem;--_ui5-v1-22-1-rc-0_select_disabled_background: var(--sapField_Background);--_ui5-v1-22-1-rc-0_select_disabled_border_color: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_select_state_error_warning_border_style: solid;--_ui5-v1-22-1-rc-0_select_state_error_warning_border_width: .125rem;--_ui5-v1-22-1-rc-0_select_focus_width: 1px;--_ui5-v1-22-1-rc-0_select_label_color: var(--sapField_TextColor);--_ui5-v1-22-1-rc-0_select_hover_icon_left_border: none;--_ui5-v1-22-1-rc-0_select_option_focus_border_radius: var(--sapElement_BorderCornerRadius);--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_background: transparent;--_ui5-v1-22-1-rc-0_split_button_transparent_disabled_background: transparent;--_ui5-v1-22-1-rc-0_split_button_host_default_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_button_host_attention_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Attention_BorderColor);--_ui5-v1-22-1-rc-0_split_button_host_emphasized_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Emphasized_BorderColor);--_ui5-v1-22-1-rc-0_split_button_host_positive_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Accept_BorderColor);--_ui5-v1-22-1-rc-0_split_button_host_negative_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Reject_BorderColor);--_ui5-v1-22-1-rc-0_split_button_host_transparent_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_Lite_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_border_color: transparent;--_ui5-v1-22-1-rc-0_split_text_button_background_color: transparent;--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border_width: .0625rem;--_ui5-v1-22-1-rc-0_split_text_button_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_emphasized_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_arrow_button_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border_left: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5-v1-22-1-rc-0_split_arrow_button_positive_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5-v1-22-1-rc-0_split_arrow_button_negative_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5-v1-22-1-rc-0_split_arrow_button_attention_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5-v1-22-1-rc-0_split_arrow_button_transparent_hover_border: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_hover_border_left: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_emphasized_hover_border_left: var(--sapButton_BorderWidth) solid var(--sapButton_Emphasized_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_left: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_left: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_left: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_left: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_button_focused_border: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_split_button_focused_border_radius: .375rem;--_ui5-v1-22-1-rc-0_split_button_hover_border_radius: var(--_ui5-v1-22-1-rc-0_button_border_radius);--_ui5-v1-22-1-rc-0_split_button_middle_separator_width: 0;--_ui5-v1-22-1-rc-0_split_button_middle_separator_left: -.0625rem;--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display: none;--_ui5-v1-22-1-rc-0_split_button_text_button_width: 2.375rem;--_ui5-v1-22-1-rc-0_split_button_text_button_right_border_width: .0625rem;--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background: var(--sapButton_Lite_Hover_Background);--_ui5-v1-22-1-rc-0_split_button_transparent_hover_color: var(--sapButton_TextColor);--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_box_shadow: inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_outer: .375rem;--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner: .375rem;--_ui5-v1-22-1-rc-0_split_button_emphasized_separator_color: transparent;--_ui5-v1-22-1-rc-0_split_button_positive_separator_color: transparent;--_ui5-v1-22-1-rc-0_split_button_negative_separator_color: transparent;--_ui5-v1-22-1-rc-0_split_button_attention_separator_color: transparent;--_ui5-v1-22-1-rc-0_split_button_attention_separator_color_default: var(--sapButton_Attention_TextColor);--_ui5-v1-22-1-rc-0_split_text_button_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_emphasized_hover_border_right: none;--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Accept_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Reject_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_Attention_BorderColor);--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_right: var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display_emphasized: none;--_ui5-v1-22-1-rc-0_tc_header_height: var(--_ui5-v1-22-1-rc-0_tc_item_height);--_ui5-v1-22-1-rc-0_tc_header_height_text_only: var(--_ui5-v1-22-1-rc-0_tc_item_text_only_height);--_ui5-v1-22-1-rc-0_tc_header_height_text_with_additional_text: var(--_ui5-v1-22-1-rc-0_tc_item_text_only_with_additional_text_height);--_ui5-v1-22-1-rc-0_tc_header_box_shadow: var(--sapContent_HeaderShadow);--_ui5-v1-22-1-rc-0_tc_header_background: var(--sapObjectHeader_Background);--_ui5-v1-22-1-rc-0_tc_header_background_translucent: var(--sapObjectHeader_Background);--_ui5-v1-22-1-rc-0_tc_content_background: var(--sapBackgroundColor);--_ui5-v1-22-1-rc-0_tc_content_background_translucent: var(--sapGroup_ContentBackground);--_ui5-v1-22-1-rc-0_tc_headeritem_padding: 1rem;--_ui5-v1-22-1-rc-0_tc_headerItem_additional_text_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_tc_headerItem_text_selected_color: var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_tc_headerItem_text_selected_hover_color: var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_tc_headerItem_additional_text_font_weight: normal;--_ui5-v1-22-1-rc-0_tc_headerItem_neutral_color: var(--sapNeutralTextColor);--_ui5-v1-22-1-rc-0_tc_headerItem_positive_color: var(--sapPositiveTextColor);--_ui5-v1-22-1-rc-0_tc_headerItem_negative_color: var(--sapNegativeTextColor);--_ui5-v1-22-1-rc-0_tc_headerItem_critical_color: var(--sapCriticalTextColor);--_ui5-v1-22-1-rc-0_tc_headerItem_neutral_border_color: var(--sapNeutralElementColor);--_ui5-v1-22-1-rc-0_tc_headerItem_positive_border_color: var(--sapPositiveElementColor);--_ui5-v1-22-1-rc-0_tc_headerItem_negative_border_color: var(--sapNegativeElementColor);--_ui5-v1-22-1-rc-0_tc_headerItem_critical_border_color: var(--sapCriticalElementColor);--_ui5-v1-22-1-rc-0_tc_headerItem_neutral_selected_border_color: var(--_ui5-v1-22-1-rc-0_tc_headerItem_neutral_color);--_ui5-v1-22-1-rc-0_tc_headerItem_positive_selected_border_color: var(--_ui5-v1-22-1-rc-0_tc_headerItem_positive_color);--_ui5-v1-22-1-rc-0_tc_headerItem_negative_selected_border_color: var(--_ui5-v1-22-1-rc-0_tc_headerItem_negative_color);--_ui5-v1-22-1-rc-0_tc_headerItem_critical_selected_border_color: var(--_ui5-v1-22-1-rc-0_tc_headerItem_critical_color);--_ui5-v1-22-1-rc-0_tc_headerItem_transition: none;--_ui5-v1-22-1-rc-0_tc_headerItem_hover_border_visibility: hidden;--_ui5-v1-22-1-rc-0_tc_headerItemContent_border_radius: .125rem .125rem 0 0;--_ui5-v1-22-1-rc-0_tc_headerItemContent_border_bg: transparent;--_ui5-v1-22-1-rc-0_tc_headerItem_neutral_border_bg: transparent;--_ui5-v1-22-1-rc-0_tc_headerItem_positive_border_bg: transparent;--_ui5-v1-22-1-rc-0_tc_headerItem_negative_border_bg: transparent;--_ui5-v1-22-1-rc-0_tc_headerItem_critical_border_bg: transparent;--_ui5-v1-22-1-rc-0_tc_headerItemContent_border_height: 0;--_ui5-v1-22-1-rc-0_tc_headerItemContent_focus_offset: 1rem;--_ui5-v1-22-1-rc-0_tc_headerItem_text_focus_border_offset_left: 0px;--_ui5-v1-22-1-rc-0_tc_headerItem_text_focus_border_offset_right: 0px;--_ui5-v1-22-1-rc-0_tc_headerItem_text_focus_border_offset_top: 0px;--_ui5-v1-22-1-rc-0_tc_headerItem_text_focus_border_offset_bottom: 0px;--_ui5-v1-22-1-rc-0_tc_headerItem_mixed_mode_focus_border_offset_left: .75rem;--_ui5-v1-22-1-rc-0_tc_headerItem_mixed_mode_focus_border_offset_right: .625rem;--_ui5-v1-22-1-rc-0_tc_headerItem_mixed_mode_focus_border_offset_top: .75rem;--_ui5-v1-22-1-rc-0_tc_headerItem_mixed_mode_focus_border_offset_bottom: .75rem;--_ui5-v1-22-1-rc-0_tc_headerItemContent_focus_border: none;--_ui5-v1-22-1-rc-0_tc_headerItemContent_default_focus_border: none;--_ui5-v1-22-1-rc-0_tc_headerItemContent_focus_border_radius: 0;--_ui5-v1-22-1-rc-0_tc_headerItemSemanticIcon_display: none;--_ui5-v1-22-1-rc-0_tc_headerItemSemanticIcon_size: .75rem;--_ui5-v1-22-1-rc-0_tc_mixedMode_itemText_font_family: var(--sapFontFamily);--_ui5-v1-22-1-rc-0_tc_mixedMode_itemText_font_size: var(--sapFontSmallSize);--_ui5-v1-22-1-rc-0_tc_mixedMode_itemText_font_weight: normal;--_ui5-v1-22-1-rc-0_tc_overflowItem_positive_color: var(--sapPositiveColor);--_ui5-v1-22-1-rc-0_tc_overflowItem_negative_color: var(--sapNegativeColor);--_ui5-v1-22-1-rc-0_tc_overflowItem_critical_color: var(--sapCriticalColor);--_ui5-v1-22-1-rc-0_tc_overflowItem_focus_offset: .125rem;--_ui5-v1-22-1-rc-0_tc_overflowItem_extraIndent: 0rem;--_ui5-v1-22-1-rc-0_tc_headerItemIcon_positive_selected_background: var(--sapPositiveColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_negative_selected_background: var(--sapNegativeColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_critical_selected_background: var(--sapCriticalColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_neutral_selected_background: var(--sapNeutralColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_semantic_selected_color: var(--sapGroup_ContentBackground);--_ui5-v1-22-1-rc-0_tc_header_border_bottom: .0625rem solid var(--sapObjectHeader_Background);--_ui5-v1-22-1-rc-0_tc_headerItemContent_border_bottom: .1875rem solid var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_tc_headerItem_color: var(--sapTextColor);--_ui5-v1-22-1-rc-0_tc_overflowItem_default_color: var(--sapTextColor);--_ui5-v1-22-1-rc-0_tc_overflowItem_current_color: CurrentColor;--_ui5-v1-22-1-rc-0_tc_content_border_bottom: .0625rem solid var(--sapObjectHeader_BorderColor);--_ui5-v1-22-1-rc-0_tc_headerItem_expand_button_margin_inline_start: 0rem;--_ui5-v1-22-1-rc-0_tc_headerItem_single_click_expand_button_margin_inline_start: .25rem;--_ui5-v1-22-1-rc-0_tc_headerItem_expand_button_border_radius: .25rem;--_ui5-v1-22-1-rc-0_tc_headerItem_expand_button_separator_display: inline-block;--_ui5-v1-22-1-rc-0_tc_headerItem_focus_border: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_tc_headerItem_focus_border_offset: -5px;--_ui5-v1-22-1-rc-0_tc_headerItemIcon_focus_border_radius: 50%;--_ui5-v1-22-1-rc-0_tc_headerItem_focus_border_radius: .375rem;--_ui5-v1-22-1-rc-0_tc_headeritem_text_font_weight: bold;--_ui5-v1-22-1-rc-0_tc_headerItem_focus_offset: 1px;--_ui5-v1-22-1-rc-0_tc_headerItem_text_hover_color: var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_border: .125rem solid var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_color: var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_selected_background: var(--sapContent_Selected_ForegroundColor);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_background_color: var(--sapContent_Selected_Background);--_ui5-v1-22-1-rc-0_tc_headerItemIcon_selected_color: var(--sapContent_ContrastIconColor);--_ui5-v1-22-1-rc-0_tc_mixedMode_itemText_color: var(--sapTextColor);--_ui5-v1-22-1-rc-0_tc_overflow_text_color: var(--sapTextColor);--_ui5-v1-22-1-rc-0_textarea_state_border_width: .125rem;--_ui5-v1-22-1-rc-0_textarea_information_border_width: .125rem;--_ui5-v1-22-1-rc-0_textarea_placeholder_font_style: italic;--_ui5-v1-22-1-rc-0_textarea_value_state_error_warning_placeholder_font_weight: normal;--_ui5-v1-22-1-rc-0_textarea_error_placeholder_font_style: italic;--_ui5-v1-22-1-rc-0_textarea_error_placeholder_color: var(--sapField_PlaceholderTextColor);--_ui5-v1-22-1-rc-0_textarea_error_hover_background_color: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_textarea_disabled_opacity: .4;--_ui5-v1-22-1-rc-0_textarea_focus_pseudo_element_content: "";--_ui5-v1-22-1-rc-0_textarea_min_height: 2.25rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left_readonly: .5625rem;--_ui5-v1-22-1-rc-0_textarea_padding_top_readonly: .4375rem;--_ui5-v1-22-1-rc-0_textarea_exceeded_text_height: 1rem;--_ui5-v1-22-1-rc-0_textarea_hover_border: none;--_ui5-v1-22-1-rc-0_textarea_focus_border_radius: .25rem;--_ui5-v1-22-1-rc-0_textarea_error_warning_border_style: none;--_ui5-v1-22-1-rc-0_textarea_line_height: 1.5;--_ui5-v1-22-1-rc-0_textarea_focused_value_state_error_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_textarea_focused_value_state_warning_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_textarea_focused_value_state_success_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_textarea_focused_value_state_information_background: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_textarea_focused_value_state_error_focus_outline_color: var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_textarea_focused_value_state_warning_focus_outline_color: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_textarea_focused_value_state_success_focus_outline_color: var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_textarea_focus_offset: 0;--_ui5-v1-22-1-rc-0_textarea_readonly_focus_offset: 1px;--_ui5-v1-22-1-rc-0_textarea_focus_outline_color: var(--sapField_Active_BorderColor);--_ui5-v1-22-1-rc-0_textarea_value_state_focus_offset: 0;--_ui5-v1-22-1-rc-0_textarea_wrapper_padding: .0625rem;--_ui5-v1-22-1-rc-0_textarea_success_wrapper_padding: .0625rem;--_ui5-v1-22-1-rc-0_textarea_warning_error_wrapper_padding: .0625rem .0625rem .125rem .0625rem;--_ui5-v1-22-1-rc-0_textarea_information_wrapper_padding: .0625rem .0625rem .125rem .0625rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom_readonly: .375rem;--_ui5-v1-22-1-rc-0_textarea_padding_top_error_warning: .5rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom_error_warning: .4375rem;--_ui5-v1-22-1-rc-0_textarea_padding_top_information: .5rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom_information: .4375rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left: .625rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left_error_warning: .625rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left_information: .625rem;--_ui5-v1-22-1-rc-0_textarea_readonly_border_style: dashed;--_ui5-v1-22-1-rc-0_time_picker_border: .0625rem solid transparent;--_ui5-v1-22-1-rc-0-time_picker_border_radius: .25rem;--_ui5-v1-22-1-rc-0_toast_vertical_offset: 3rem;--_ui5-v1-22-1-rc-0_toast_horizontal_offset: 2rem;--_ui5-v1-22-1-rc-0_toast_background: var(--sapList_Background);--_ui5-v1-22-1-rc-0_toast_shadow: var(--sapContent_Shadow2);--_ui5-v1-22-1-rc-0_toast_offset_width: -.1875rem;--_ui5-v1-22-1-rc-0_wheelslider_item_text_size: var(--sapFontSize);--_ui5-v1-22-1-rc-0_wheelslider_label_text_size: var(--sapFontSmallSize);--_ui5-v1-22-1-rc-0_wheelslider_selection_frame_margin_top: calc(var(--_ui5-v1-22-1-rc-0_wheelslider_item_height) * 2);--_ui5-v1-22-1-rc-0_wheelslider_mobile_selection_frame_margin_top: calc(var(--_ui5-v1-22-1-rc-0_wheelslider_item_height) * 4);--_ui5-v1-22-1-rc-0_wheelslider_label_text_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_wheelslider_height: 240px;--_ui5-v1-22-1-rc-0_wheelslider_mobile_height: 432px;--_ui5-v1-22-1-rc-0_wheelslider_item_width: 48px;--_ui5-v1-22-1-rc-0_wheelslider_item_height: 46px;--_ui5-v1-22-1-rc-0_wheelslider_arrows_visibility: hidden;--_ui5-v1-22-1-rc-0_wheelslider_item_background_color: var(--sapLegend_WorkingBackground);--_ui5-v1-22-1-rc-0_wheelslider_item_text_color: var(--sapTextColor);--_ui_wheelslider_item_hover_color: var(--sapList_AlternatingBackground);--_ui_wheelslider_item_expanded_hover_color: var(--sapList_AlternatingBackground);--_ui_wheelslider_item_exanded_hover_color: var(--sapList_AlternatingBackground);--_ui5-v1-22-1-rc-0_wheelslider_item_border_color: var(--sapList_SelectionBorderColor);--_ui5-v1-22-1-rc-0_wheelslider_item_expanded_border_color: transparent;--_ui5-v1-22-1-rc-0_wheelslider_item_hovered_border_color: transparent;--_ui5-v1-22-1-rc-0_wheelslider_collapsed_item_text_color: var(--sapList_SelectionBorderColor);--_ui5-v1-22-1-rc-0_wheelslider_selected_item_background_color: var(--sapContent_Selected_Background);--_ui5-v1-22-1-rc-0_wheelslider_selected_item_hover_background_color: var(--sapButton_Emphasized_Hover_BorderColor);--_ui5-v1-22-1-rc-0_wheelslider_active_item_background_color:var(--sapContent_Selected_Background);--_ui5-v1-22-1-rc-0_wheelslider_active_item_text_color: var(--sapContent_Selected_TextColor);--_ui5-v1-22-1-rc-0_wheelslider_selection_frame_color: var(--sapList_SelectionBorderColor);--_ui_wheelslider_item_border_radius: var(--_ui5-v1-22-1-rc-0_button_border_radius);--_ui5-v1-22-1-rc-0_toggle_button_pressed_focussed: var(--sapButton_Selected_BorderColor);--_ui5-v1-22-1-rc-0_toggle_button_pressed_focussed_hovered: var(--sapButton_Selected_BorderColor);--_ui5-v1-22-1-rc-0_toggle_button_selected_positive_text_color: var(--sapButton_Selected_TextColor);--_ui5-v1-22-1-rc-0_toggle_button_selected_negative_text_color: var(--sapButton_Selected_TextColor);--_ui5-v1-22-1-rc-0_toggle_button_selected_attention_text_color: var(--sapButton_Selected_TextColor);--_ui5-v1-22-1-rc-0_toggle_button_emphasized_pressed_focussed_hovered: var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_toggle_button_emphasized_text_shadow: none;--_ui5-v1-22-1-rc-0_yearpicker_item_selected_focus: var(--sapContent_Selected_Background);--_ui5-v1-22-1-rc-0_yearpicker_item_border: none;--_ui5-v1-22-1-rc-0_yearpicker_item_margin: 1px;--_ui5-v1-22-1-rc-0_yearpicker_item_border_radius: .5rem;--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_offset: .25rem;--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border: var(--_ui5-v1-22-1-rc-0_button_focused_border);--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border_radius: .5rem;--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_width: calc(100% - .5rem) ;--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_height: calc(100% - .5rem) ;--_ui5-v1-22-1-rc-0_yearpicker_item_selected_background_color: transparent;--_ui5-v1-22-1-rc-0_yearpicker_item_selected_text_color: var(--sapContent_Selected_TextColor);--_ui5-v1-22-1-rc-0_yearpicker_item_selected_box_shadow: none;--_ui5-v1-22-1-rc-0_yearpicker_item_selected_hover_color: var(--sapList_Hover_Background);--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_outline: none;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_width: 6.25rem;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_flex: 1 1 auto;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_display: block;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_width: calc(100% - .375rem) ;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_height: calc(100% - .375rem) ;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_top_offset: .125rem;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_left_offset: .125rem;--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border: none;--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border_radius: .5rem;--_ui5-v1-22-1-rc-0_calendar_header_button_background_color: var(--sapButton_Lite_Background);--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_box_shadow: 0 0 .125rem 0 rgb(85 107 130 / 72%);--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border_radius: .5rem;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border: none;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_border: none;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_background: transparent;--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_outline: .125rem solid var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_outline: .0625rem solid var(--sapSelectedColor);--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_background: transparent;--_ui5-v1-22-1-rc-0_token_background: var(--sapButton_TokenBackground);--_ui5-v1-22-1-rc-0_token_readonly_background: var(--sapButton_TokenBackground);--_ui5-v1-22-1-rc-0_token_readonly_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_token_right_margin: .3125rem;--_ui5-v1-22-1-rc-0_token_padding: .25rem 0;--_ui5-v1-22-1-rc-0_token_left_padding: .3125rem;--_ui5-v1-22-1-rc-0_token_focused_selected_border: 1px solid var(--sapButton_Selected_BorderColor);--_ui5-v1-22-1-rc-0_token_focus_offset: -.25rem;--_ui5-v1-22-1-rc-0_token_focus_outline_width: .0625rem;--_ui5-v1-22-1-rc-0_token_hover_border_color: var(--sapButton_TokenBorderColor);--_ui5-v1-22-1-rc-0_token_selected_focus_outline: none;--_ui5-v1-22-1-rc-0_token_focus_outline: none;--_ui5-v1-22-1-rc-0_token_outline_offset: .125rem;--_ui5-v1-22-1-rc-0_token_selected_hover_border_color: var(--sapButton_Selected_BorderColor);--ui5-v1-22-1-rc-0_token_focus_pseudo_element_content: "";--_ui5-v1-22-1-rc-0_token_border_radius: .375rem;--_ui5-v1-22-1-rc-0_token_focus_outline_border_radius: .5rem;--_ui5-v1-22-1-rc-0_token_text_color: var(--sapTextColor);--_ui5-v1-22-1-rc-0_token_selected_text_font_family: var(--sapFontSemiboldDuplexFamily);--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom: .125rem solid var(--sapButton_Selected_BorderColor);--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius: .1875rem;--_ui5-v1-22-1-rc-0_token_text_icon_top: .0625rem;--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom: -.375rem;--_ui5-v1-22-1-rc-0_token_readonly_padding: .25rem .3125rem;--_ui5-v1-22-1-rc-0_tokenizer-popover_offset: .3125rem;--_ui5-v1-22-1-rc-0_tokenizer_n_more_text_color: var(--sapLinkColor);--_ui5-v1-22-1-rc-0-multi_combobox_token_margin_top: 1px;--_ui5-v1-22-1-rc-0_slider_progress_container_dot_background: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_slider_progress_border: none;--_ui5-v1-22-1-rc-0_slider_padding: 1.406rem 1.0625rem;--_ui5-v1-22-1-rc-0_slider_inner_height: .25rem;--_ui5-v1-22-1-rc-0_slider_outer_height: 1.6875rem;--_ui5-v1-22-1-rc-0_slider_progress_border_radius: .25rem;--_ui5-v1-22-1-rc-0_slider_tickmark_bg: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_slider_handle_margin_left: calc(-1 * (var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2));--_ui5-v1-22-1-rc-0_slider_handle_outline_offset: .075rem;--_ui5-v1-22-1-rc-0_slider_progress_outline: .0625rem dotted var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_slider_progress_outline_offset: -.8125rem;--_ui5-v1-22-1-rc-0_slider_disabled_opacity: .4;--_ui5-v1-22-1-rc-0_slider_tooltip_border_color: var(--sapField_BorderColor);--_ui5-v1-22-1-rc-0_range_slider_handle_background_focus: transparent;--_ui5-v1-22-1-rc-0_slider_progress_box_sizing: content-box;--_ui5-v1-22-1-rc-0_range_slider_focus_outline_width: 100%;--_ui5-v1-22-1-rc-0_slider_progress_outline_offset_left: 0;--_ui5-v1-22-1-rc-0_range_slider_focus_outline_radius: 0;--_ui5-v1-22-1-rc-0_slider_progress_container_top: 0;--_ui5-v1-22-1-rc-0_slider_progress_height: 100%;--_ui5-v1-22-1-rc-0_slider_active_progress_border: none;--_ui5-v1-22-1-rc-0_slider_active_progress_left: 0;--_ui5-v1-22-1-rc-0_slider_active_progress_top: 0;--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_container_top: var(--_ui5-v1-22-1-rc-0_slider_progress_container_top);--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_height: var(--_ui5-v1-22-1-rc-0_slider_progress_height);--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_border: var(--_ui5-v1-22-1-rc-0_slider_active_progress_border);--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_left: var(--_ui5-v1-22-1-rc-0_slider_active_progress_left);--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_top: var(--_ui5-v1-22-1-rc-0_slider_active_progress_top);--_ui5-v1-22-1-rc-0_slider_handle_focus_visibility: none;--_ui5-v1-22-1-rc-0_slider_handle_icon_size: 1rem;--_ui5-v1-22-1-rc-0_slider_progress_container_background: var(--sapSlider_Background);--_ui5-v1-22-1-rc-0_slider_progress_container_dot_display: block;--_ui5-v1-22-1-rc-0_slider_inner_min_width: 4rem;--_ui5-v1-22-1-rc-0_slider_progress_background: var(--sapSlider_Selected_Background);--_ui5-v1-22-1-rc-0_slider_progress_before_background: var(--sapSlider_Selected_Background);--_ui5-v1-22-1-rc-0_slider_progress_after_background: var(--sapContent_MeasureIndicatorColor);--_ui5-v1-22-1-rc-0_slider_handle_background: var(--sapSlider_HandleBackground);--_ui5-v1-22-1-rc-0_slider_handle_icon_display: inline-block;--_ui5-v1-22-1-rc-0_slider_handle_border: .0625rem solid var(--sapSlider_HandleBorderColor);--_ui5-v1-22-1-rc-0_slider_handle_border_radius: .5rem;--_ui5-v1-22-1-rc-0_slider_handle_height: 1.5rem;--_ui5-v1-22-1-rc-0_slider_handle_width: 2rem;--_ui5-v1-22-1-rc-0_slider_handle_top: -.625rem;--_ui5-v1-22-1-rc-0_slider_handle_font_family: "SAP-icons";--_ui5-v1-22-1-rc-0_slider_handle_hover_border: .0625rem solid var(--sapSlider_Hover_HandleBorderColor);--_ui5-v1-22-1-rc-0_slider_handle_focus_border: .125rem solid var(--sapContent_FocusColor);--_ui5-v1-22-1-rc-0_slider_handle_background_focus: var(--sapSlider_Active_RangeHandleBackground);--_ui5-v1-22-1-rc-0_slider_handle_outline: none;--_ui5-v1-22-1-rc-0_slider_handle_hover_background: var(--sapSlider_Hover_HandleBackground);--_ui5-v1-22-1-rc-0_slider_tooltip_background: var(--sapField_Focus_Background);--_ui5-v1-22-1-rc-0_slider_tooltip_border: none;--_ui5-v1-22-1-rc-0_slider_tooltip_border_radius: .5rem;--_ui5-v1-22-1-rc-0_slider_tooltip_box_shadow: var(--sapContent_Shadow1);--_ui5-v1-22-1-rc-0_range_slider_legacy_progress_focus_display: none;--_ui5-v1-22-1-rc-0_range_slider_progress_focus_display: block;--_ui5-v1-22-1-rc-0_slider_tickmark_in_range_bg: var(--sapSlider_Selected_BorderColor);--_ui5-v1-22-1-rc-0_slider_label_fontsize: var(--sapFontSmallSize);--_ui5-v1-22-1-rc-0_slider_label_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_slider_tooltip_min_width: 2rem;--_ui5-v1-22-1-rc-0_slider_tooltip_padding: .25rem;--_ui5-v1-22-1-rc-0_slider_tooltip_fontsize: var(--sapFontSmallSize);--_ui5-v1-22-1-rc-0_slider_tooltip_color: var(--sapContent_LabelColor);--_ui5-v1-22-1-rc-0_slider_tooltip_height: 1.375rem;--_ui5-v1-22-1-rc-0_slider_handle_focus_width: 1px;--_ui5-v1-22-1-rc-0_slider_start_end_point_size: .5rem;--_ui5-v1-22-1-rc-0_slider_start_end_point_left: -.75rem;--_ui5-v1-22-1-rc-0_slider_start_end_point_top: -.125rem;--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance: calc(var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom) - var(--_ui5-v1-22-1-rc-0_slider_handle_focus_width));--_ui5-v1-22-1-rc-0_slider_tooltip_border_box: border-box;--_ui5-v1-22-1-rc-0_range_slider_handle_active_background: var(--sapSlider_Active_RangeHandleBackground);--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display: none;--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top: -15px;--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left: calc(-1 * (var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2) - 5px);--_ui5-v1-22-1-rc-0_range_slider_progress_focus_padding: 0 1rem 0 1rem;--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width: calc(100% + var(--_ui5-v1-22-1-rc-0_slider_handle_width) + 10px);--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height: calc(var(--_ui5-v1-22-1-rc-0_slider_handle_height) + 10px);--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_icon_display: inline-block;--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_bg: var(--_ui5-v1-22-1-rc-0_slider_handle_hover_background);--_ui5-v1-22-1-rc-0_range_slider_root_active_handle_icon_display: none;--_ui5-v1-22-1-rc-0_slider_tickmark_height: .5rem;--_ui5-v1-22-1-rc-0_slider_tickmark_top: -2px;--_ui5-v1-22-1-rc-0_slider_handle_box_sizing: border-box;--_ui5-v1-22-1-rc-0_range_slider_handle_background: var(--sapSlider_RangeHandleBackground);--_ui5-v1-22-1-rc-0_slider_tooltip_bottom: 2rem;--_ui5-v1-22-1-rc-0_value_state_message_border: none;--_ui5-v1-22-1-rc-0_value_state_header_border: none;--_ui5-v1-22-1-rc-0_input_value_state_icon_offset: .5rem;--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_error: inset 0 -.0625rem var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_information: inset 0 -.0625rem var(--sapField_InformationColor);--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_success: inset 0 -.0625rem var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_warning: inset 0 -.0625rem var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_value_state_message_icon_offset_phone: 1rem;--_ui5-v1-22-1-rc-0_value_state_header_border_bottom: none;--_ui5-v1-22-1-rc-0_input_value_state_icon_display: inline-block;--_ui5-v1-22-1-rc-0_value_state_message_padding: .5rem .5rem .5rem 1.875rem;--_ui5-v1-22-1-rc-0_value_state_header_padding: .5rem .5rem .5rem 1.875rem;--_ui5-v1-22-1-rc-0_value_state_message_popover_box_shadow: var(--sapContent_Shadow1);--_ui5-v1-22-1-rc-0_value_state_message_icon_width: 1rem;--_ui5-v1-22-1-rc-0_value_state_message_icon_height: 1rem;--_ui5-v1-22-1-rc-0_value_state_header_offset: -.25rem;--_ui5-v1-22-1-rc-0_value_state_message_popover_border_radius: var(--sapPopover_BorderCornerRadius);--_ui5-v1-22-1-rc-0_value_state_message_padding_phone: .5rem .5rem .5rem 2.375rem;--_ui5-v1-22-1-rc-0_value_state_message_line_height: 1.125rem;--ui5-v1-22-1-rc-0_table_bottom_border: 1px solid var(--sapList_BorderColor);--ui5-v1-22-1-rc-0_table_multiselect_column_width: 2.75rem;--ui5-v1-22-1-rc-0_table_header_row_border_width: 1px;--_ui5-v1-22-1-rc-0_table_load_more_border-bottom: none;--ui5-v1-22-1-rc-0_table_header_row_outline_width: var(--sapContent_FocusWidth);--ui5-v1-22-1-rc-0_table_header_row_font_family: var(--sapFontSemiboldDuplexFamily);--ui5-v1-22-1-rc-0_table_header_row_border_bottom_color: var(--sapList_HeaderBorderColor);--ui5-v1-22-1-rc-0_table_header_row_font_weight: bold;--ui5-v1-22-1-rc-0_table_multiselect_popin_row_padding: 3.25rem;--ui5-v1-22-1-rc-0_table_row_outline_width: var(--sapContent_FocusWidth);--ui5-v1-22-1-rc-0_table_group_row_font-weight: bold;--ui5-v1-22-1-rc-0_table_border_width: 1px 0 1px 0;--_ui5-v1-22-1-rc-0-toolbar-padding-left: .5rem;--_ui5-v1-22-1-rc-0-toolbar-padding-right: .5rem;--_ui5-v1-22-1-rc-0-toolbar-item-margin-left: 0;--_ui5-v1-22-1-rc-0-toolbar-item-margin-right: .25rem;--_ui5-v1-22-1-rc-0_step_input_min_width: 7.25rem;--_ui5-v1-22-1-rc-0_step_input_padding: 2.5rem;--_ui5-v1-22-1-rc-0_step_input_input_error_background_color: inherit;--_ui5-v1-22-1-rc-0-step_input_button_state_hover_background_color: var(--sapField_Hover_Background);--_ui5-v1-22-1-rc-0_step_input_border_style: none;--_ui5-v1-22-1-rc-0_step_input_border_style_hover: none;--_ui5-v1-22-1-rc-0_step_input_button_background_color: transparent;--_ui5-v1-22-1-rc-0_step_input_input_border: none;--_ui5-v1-22-1-rc-0_step_input_input_margin_top: 0;--_ui5-v1-22-1-rc-0_step_input_button_display: inline-flex;--_ui5-v1-22-1-rc-0_step_input_button_left: 0;--_ui5-v1-22-1-rc-0_step_input_button_right: 0;--_ui5-v1-22-1-rc-0_step_input_input_border_focused_after: .125rem solid #0070f2;--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after: 0;--_ui5-v1-22-1-rc-0_step_input_input_border_radius_focused_after: .25rem;--_ui5-v1-22-1-rc-0_step_input_input_information_border_color_focused_after: var(--sapField_InformationColor);--_ui5-v1-22-1-rc-0_step_input_input_warning_border_color_focused_after: var(--sapField_WarningColor);--_ui5-v1-22-1-rc-0_step_input_input_success_border_color_focused_after: var(--sapField_SuccessColor);--_ui5-v1-22-1-rc-0_step_input_input_error_border_color_focused_after: var(--sapField_InvalidColor);--_ui5-v1-22-1-rc-0_step_input_disabled_button_background: none;--_ui5-v1-22-1-rc-0_step_input_border_color_hover: none;--_ui5-v1-22-1-rc-0_step_input_border_hover: none;--_ui5-v1-22-1-rc-0_input_input_background_color: transparent;--_ui5-v1-22-1-rc-0_load_more_padding: 0;--_ui5-v1-22-1-rc-0_load_more_border: 1px top solid transparent;--_ui5-v1-22-1-rc-0_load_more_border_radius: none;--_ui5-v1-22-1-rc-0_load_more_outline_width: var(--sapContent_FocusWidth);--_ui5-v1-22-1-rc-0_load_more_border-bottom: var(--sapList_BorderWidth) solid var(--sapList_BorderColor);--_ui5-v1-22-1-rc-0_calendar_height: 24.5rem;--_ui5-v1-22-1-rc-0_calendar_width: 20rem;--_ui5-v1-22-1-rc-0_calendar_padding: 1rem;--_ui5-v1-22-1-rc-0_calendar_left_right_padding: .5rem;--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding: 1rem;--_ui5-v1-22-1-rc-0_calendar_header_height: 3rem;--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width: 2.5rem;--_ui5-v1-22-1-rc-0_calendar_header_padding: .25rem 0;--_ui5-v1-22-1-rc-0_checkbox_root_side_padding: .6875rem;--_ui5-v1-22-1-rc-0_checkbox_icon_size: 1rem;--_ui5-v1-22-1-rc-0_checkbox_partially_icon_size: .75rem;--_ui5-v1-22-1-rc-0_custom_list_item_rb_min_width: 2.75rem;--_ui5-v1-22-1-rc-0_day_picker_item_width: 2.25rem;--_ui5-v1-22-1-rc-0_day_picker_item_height: 2.875rem;--_ui5-v1-22-1-rc-0_day_picker_empty_height: 3rem;--_ui5-v1-22-1-rc-0_day_picker_item_justify_content: space-between;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top: .387rem;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height: 1.8125rem;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height: 1rem;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top: .575rem;--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding: .3125rem .6875rem;--_ui5-v1-22-1-rc-0_datetime_picker_width: 40.0625rem;--_ui5-v1-22-1-rc-0_datetime_picker_height: 25rem;--_ui5-v1-22-1-rc-0_datetime_timeview_width: 17rem;--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width: 19.5rem;--_ui5-v1-22-1-rc-0_datetime_timeview_padding: 1rem;--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width: 24.5rem;--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom: 0;--_ui5-v1-22-1-rc-0_dialog_content_min_height: 2.75rem;--_ui5-v1-22-1-rc-0_dialog_footer_height: 2.75rem;--_ui5-v1-22-1-rc-0_input_inner_padding: 0 .625rem;--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon: 0 .25rem 0 .625rem;--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer: .125rem;--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text: .1875rem;--_ui5-v1-22-1-rc-0_list_no_data_height: 3rem;--_ui5-v1-22-1-rc-0_list_item_cb_margin_right: 0;--_ui5-v1-22-1-rc-0_list_item_title_size: var(--sapFontLargeSize);--_ui5-v1-22-1-rc-0_list_no_data_font_size: var(--sapFontLargeSize);--_ui5-v1-22-1-rc-0_list_item_img_size: 3rem;--_ui5-v1-22-1-rc-0_list_item_img_top_margin: .5rem;--_ui5-v1-22-1-rc-0_list_item_img_bottom_margin: .5rem;--_ui5-v1-22-1-rc-0_list_item_img_hn_margin: .75rem;--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height: 2.5rem;--_ui5-v1-22-1-rc-0_list_item_base_height: var(--sapElement_LineHeight);--_ui5-v1-22-1-rc-0_list_item_icon_size: 1.125rem;--_ui5-v1-22-1-rc-0_list_item_icon_padding-inline-end: .5rem;--_ui5-v1-22-1-rc-0_list_item_selection_btn_margin_top: calc(-1 * var(--_ui5-v1-22-1-rc-0_checkbox_wrapper_padding));--_ui5-v1-22-1-rc-0_list_item_content_vertical_offset: calc((var(--_ui5-v1-22-1-rc-0_list_item_base_height) - var(--_ui5-v1-22-1-rc-0_list_item_title_size)) / 2);--_ui5-v1-22-1-rc-0_group_header_list_item_height: 2.75rem;--_ui5-v1-22-1-rc-0_list_busy_row_height: 3rem;--_ui5-v1-22-1-rc-0_month_picker_item_height: 3rem;--_ui5-v1-22-1-rc-0_list_buttons_left_space: .125rem;--_ui5-v1-22-1-rc-0_popup_default_header_height: 2.75rem;--_ui5-v1-22-1-rc-0-notification-overflow-popover-padding: .25rem .5rem;--_ui5-v1-22-1-rc-0_year_picker_item_height: 3rem;--_ui5-v1-22-1-rc-0_tokenizer_padding: .25rem;--_ui5-v1-22-1-rc-0_token_height: 1.625rem;--_ui5-v1-22-1-rc-0_token_icon_size: .75rem;--_ui5-v1-22-1-rc-0_token_icon_padding: .25rem .5rem;--_ui5-v1-22-1-rc-0_token_wrapper_right_padding: .3125rem;--_ui5-v1-22-1-rc-0_token_wrapper_left_padding: 0;--_ui5-v1-22-1-rc-0_tl_bubble_padding: 1rem;--_ui5-v1-22-1-rc-0_tl_indicator_before_bottom: -1.625rem;--_ui5-v1-22-1-rc-0_tl_padding: 1rem 1rem 1rem .5rem;--_ui5-v1-22-1-rc-0_tl_li_margin_bottom: 1.625rem;--_ui5-v1-22-1-rc-0_switch_focus_width_size_horizon_exp: calc(100% + 4px) ;--_ui5-v1-22-1-rc-0_switch_focus_height_size_horizon_exp: calc(100% + 4px) ;--_ui5-v1-22-1-rc-0_tc_item_text: 3rem;--_ui5-v1-22-1-rc-0_tc_item_height: 4.75rem;--_ui5-v1-22-1-rc-0_tc_item_text_only_height: 2.75rem;--_ui5-v1-22-1-rc-0_tc_item_text_only_with_additional_text_height: 3.75rem;--_ui5-v1-22-1-rc-0_tc_item_text_line_height: 1.325rem;--_ui5-v1-22-1-rc-0_tc_item_icon_circle_size: 2.75rem;--_ui5-v1-22-1-rc-0_tc_item_icon_size: 1.25rem;--_ui5-v1-22-1-rc-0_tc_item_add_text_margin_top: .375rem;--_ui5-v1-22-1-rc-0_textarea_margin: .25rem 0;--_ui5-v1-22-1-rc-0_radio_button_height: 2.75rem;--_ui5-v1-22-1-rc-0_radio_button_label_side_padding: .875rem;--_ui5-v1-22-1-rc-0_radio_button_inner_size: 2.75rem;--_ui5-v1-22-1-rc-0_radio_button_svg_size: 1.375rem;--_ui5-v1-22-1-rc-0-responsive_popover_header_height: 2.75rem;--ui5-v1-22-1-rc-0_side_navigation_item_height: 2.75rem;--_ui5-v1-22-1-rc-0_load_more_text_height: 2.75rem;--_ui5-v1-22-1-rc-0_load_more_text_font_size: var(--sapFontMediumSize);--_ui5-v1-22-1-rc-0_load_more_desc_padding: .375rem 2rem .875rem 2rem;--ui5-v1-22-1-rc-0_table_header_row_height: 2.75rem;--ui5-v1-22-1-rc-0_table_row_height: 2.75rem;--ui5-v1-22-1-rc-0_table_focus_outline_offset: -.125rem;--ui5-v1-22-1-rc-0_table_group_row_height: 2rem;--_ui5-v1-22-1-rc-0-tree-indent-step: 1.5rem;--_ui5-v1-22-1-rc-0-tree-toggle-box-width: 2.75rem;--_ui5-v1-22-1-rc-0-tree-toggle-box-height: 2.25rem;--_ui5-v1-22-1-rc-0-tree-toggle-icon-size: 1.0625rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_bottom: -1.625rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_right: -1.625rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_without_icon_bottom: -1.875rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_without_icon_right: -1.9375rem;--_ui5-v1-22-1-rc-0-toolbar-separator-height: 2rem;--_ui5-v1-22-1-rc-0-toolbar-height: 2.75rem;--_ui5-v1-22-1-rc-0_toolbar_overflow_padding: .25rem .5rem;--_ui5-v1-22-1-rc-0_split_button_middle_separator_top: .625rem;--_ui5-v1-22-1-rc-0_split_button_middle_separator_height: 1rem;--_ui5-v1-22-1-rc-0_color-palette-item-height: 1.75rem;--_ui5-v1-22-1-rc-0_color-palette-item-hover-height: 2.25rem;--_ui5-v1-22-1-rc-0_color-palette-item-margin: calc(((var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height) - var(--_ui5-v1-22-1-rc-0_color-palette-item-height)) / 2) + .0625rem);--_ui5-v1-22-1-rc-0_color-palette-row-width: 12rem;--_ui5-v1-22-1-rc-0_textarea_padding_top: .5rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom: .4375rem}[data-ui5-compact-size],.ui5-content-density-compact,.sapUiSizeCompact{--_ui5-v1-22-1-rc-0_input_min_width: 2rem;--_ui5-v1-22-1-rc-0_input_icon_width: 2rem;--_ui5-v1-22-1-rc-0_input_information_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5-v1-22-1-rc-0_input_custom_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding: .3125rem .5rem .1875rem .5rem;--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5-v1-22-1-rc-0_input_icon_padding: .3125rem .5rem .25rem .5rem;--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding: .1875rem .25rem;--_ui5-v1-22-1-rc-0_rating_indicator_item_height: .67em;--_ui5-v1-22-1-rc-0_rating_indicator_item_width: .67em;--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing: .8125rem 0px;--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height: .5em;--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width: .5em;--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing: .125rem .125rem;--_ui5-v1-22-1-rc-0_radio_button_min_width: 2rem;--_ui5-v1-22-1-rc-0_radio_button_outer_ring_padding_with_label: 0 .5rem;--_ui5-v1-22-1-rc-0_radio_button_outer_ring_padding: 0 .5rem;--_ui5-v1-22-1-rc-0_radio_button_focus_dist: .1875rem;--_ui5-v1-22-1-rc-0_switch_height: 2rem;--_ui5-v1-22-1-rc-0_switch_width: 3rem;--_ui5-v1-22-1-rc-0_switch_min_width: none;--_ui5-v1-22-1-rc-0_switch_with_label_width: 3.75rem;--_ui5-v1-22-1-rc-0_switch_root_outline_top: .25rem;--_ui5-v1-22-1-rc-0_switch_root_outline_bottom: .25rem;--_ui5-v1-22-1-rc-0_switch_transform: translateX(100%) translateX(-1.375rem);--_ui5-v1-22-1-rc-0_switch_transform_with_label: translateX(100%) translateX(-1.875rem);--_ui5-v1-22-1-rc-0_switch_rtl_transform: translateX(1.375rem) translateX(-100%);--_ui5-v1-22-1-rc-0_switch_rtl_transform_with_label: translateX(1.875rem) translateX(-100%);--_ui5-v1-22-1-rc-0_switch_track_width: 2rem;--_ui5-v1-22-1-rc-0_switch_track_height: 1.25rem;--_ui5-v1-22-1-rc-0_switch_track_with_label_width: 2.75rem;--_ui5-v1-22-1-rc-0_switch_track_with_label_height: 1.25rem;--_ui5-v1-22-1-rc-0_switch_handle_width: 1.25rem;--_ui5-v1-22-1-rc-0_switch_handle_height: 1rem;--_ui5-v1-22-1-rc-0_switch_handle_with_label_width: 1.75rem;--_ui5-v1-22-1-rc-0_switch_handle_with_label_height: 1rem;--_ui5-v1-22-1-rc-0_switch_text_font_size: var(--sapFontSize);--_ui5-v1-22-1-rc-0_switch_text_width: 1rem;--_ui5-v1-22-1-rc-0_switch_text_active_left: .1875rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left_readonly: .4375rem;--_ui5-v1-22-1-rc-0_textarea_padding_top_readonly: .125rem;--_ui5-v1-22-1-rc-0_textarea_exceeded_text_height: .375rem;--_ui5-v1-22-1-rc-0_textarea_min_height: 1.625rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom_readonly: .0625rem;--_ui5-v1-22-1-rc-0_textarea_padding_top_error_warning: .1875rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom_error_warning: .125rem;--_ui5-v1-22-1-rc-0_textarea_padding_top_information: .1875rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom_information: .125rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left: .5rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left_error_warning: .5rem;--_ui5-v1-22-1-rc-0_textarea_padding_right_and_left_information: .5rem;--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom: -.25rem;--_ui5-v1-22-1-rc-0_tokenizer-popover_offset: .1875rem;--_ui5-v1-22-1-rc-0_slider_handle_icon_size: .875rem;--_ui5-v1-22-1-rc-0_slider_padding: 1rem 1.0625rem;--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width: calc(100% + var(--_ui5-v1-22-1-rc-0_slider_handle_width) + 10px);--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height: calc(var(--_ui5-v1-22-1-rc-0_slider_handle_height) + 10px);--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top: -.8125rem;--_ui5-v1-22-1-rc-0_slider_tooltip_bottom: 1.75rem;--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance: calc(var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom) - var(--_ui5-v1-22-1-rc-0_slider_handle_focus_width));--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left: calc(-1 * (var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2) - 5px);--_ui5-v1-22-1-rc-0_button_base_height: var(--sapElement_Compact_Height);--_ui5-v1-22-1-rc-0_button_base_padding: .4375rem;--_ui5-v1-22-1-rc-0_button_base_min_width: 2rem;--_ui5-v1-22-1-rc-0_button_icon_font_size: 1rem;--_ui5-v1-22-1-rc-0_calendar_height: 18rem;--_ui5-v1-22-1-rc-0_calendar_width: 17.75rem;--_ui5-v1-22-1-rc-0_calendar_left_right_padding: .25rem;--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding: .5rem;--_ui5-v1-22-1-rc-0_calendar_header_height: 2rem;--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width: 2rem;--_ui5-v1-22-1-rc-0_calendar_header_padding: 0;--_ui5-v1-22-1-rc-0_checkbox_root_side_padding: var(--_ui5-v1-22-1-rc-0_checkbox_wrapped_focus_padding);--_ui5-v1-22-1-rc-0_checkbox_wrapped_content_margin_top: var(--_ui5-v1-22-1-rc-0_checkbox_compact_wrapped_label_margin_top);--_ui5-v1-22-1-rc-0_checkbox_wrapped_focus_left_top_bottom_position: var(--_ui5-v1-22-1-rc-0_checkbox_compact_focus_position);--_ui5-v1-22-1-rc-0_checkbox_width_height: var(--_ui5-v1-22-1-rc-0_checkbox_compact_width_height);--_ui5-v1-22-1-rc-0_checkbox_wrapper_padding: var(--_ui5-v1-22-1-rc-0_checkbox_compact_wrapper_padding);--_ui5-v1-22-1-rc-0_checkbox_inner_width_height: var(--_ui5-v1-22-1-rc-0_checkbox_compact_inner_size);--_ui5-v1-22-1-rc-0_checkbox_icon_size: .75rem;--_ui5-v1-22-1-rc-0_checkbox_partially_icon_size: .5rem;--_ui5-v1-22-1-rc-0_custom_list_item_rb_min_width: 2rem;--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top: 2rem;--_ui5-v1-22-1-rc-0_day_picker_item_width: 2rem;--_ui5-v1-22-1-rc-0_day_picker_item_height: 2rem;--_ui5-v1-22-1-rc-0_day_picker_empty_height: 2.125rem;--_ui5-v1-22-1-rc-0_day_picker_item_justify_content: flex-end;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top: 0rem;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height: 1rem;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height: .75rem;--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top: 0;--_ui5-v1-22-1-rc-0_datetime_picker_height: 20.5rem;--_ui5-v1-22-1-rc-0_datetime_picker_width: 35.5rem;--_ui5-v1-22-1-rc-0_datetime_timeview_width: 17rem;--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width: 18.5rem;--_ui5-v1-22-1-rc-0_datetime_timeview_padding: .5rem;--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width: 21.125rem;--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom: 3.125rem;--_ui5-v1-22-1-rc-0_dialog_content_min_height: 2.5rem;--_ui5-v1-22-1-rc-0_dialog_footer_height: 2.5rem;--_ui5-v1-22-1-rc-0_input_height: var(--sapElement_Compact_Height);--_ui5-v1-22-1-rc-0_input_inner_padding: 0 .5rem;--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon: 0 .2rem 0 .5rem;--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer: .125rem;--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text: .125rem;--_ui5-v1-22-1-rc-0_input_icon_min_width: var(--_ui5-v1-22-1-rc-0_input_compact_min_width);--_ui5-v1-22-1-rc-0_menu_item_padding: 0 .75rem 0 .5rem;--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right: .75rem;--_ui5-v1-22-1-rc-0-notification-overflow-popover-padding: .25rem .5rem;--_ui5-v1-22-1-rc-0_popup_default_header_height: 2.5rem;--_ui5-v1-22-1-rc-0_textarea_margin: .1875rem 0;--_ui5-v1-22-1-rc-0_list_no_data_height: 2rem;--_ui5-v1-22-1-rc-0_list_item_cb_margin_right: .5rem;--_ui5-v1-22-1-rc-0_list_item_title_size: var(--sapFontSize);--_ui5-v1-22-1-rc-0_list_item_img_top_margin: .55rem;--_ui5-v1-22-1-rc-0_list_no_data_font_size: var(--sapFontSize);--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height: 2rem;--_ui5-v1-22-1-rc-0_list_item_base_height: 2rem;--_ui5-v1-22-1-rc-0_list_item_icon_size: 1rem;--_ui5-v1-22-1-rc-0_list_item_selection_btn_margin_top: calc(-1 * var(--_ui5-v1-22-1-rc-0_checkbox_wrapper_padding));--_ui5-v1-22-1-rc-0_list_item_content_vertical_offset: calc((var(--_ui5-v1-22-1-rc-0_list_item_base_height) - var(--_ui5-v1-22-1-rc-0_list_item_title_size)) / 2);--_ui5-v1-22-1-rc-0_list_busy_row_height: 2rem;--_ui5-v1-22-1-rc-0_list_buttons_left_space: .125rem;--_ui5-v1-22-1-rc-0_month_picker_item_height: 2rem;--_ui5-v1-22-1-rc-0_year_picker_item_height: 2rem;--_ui5-v1-22-1-rc-0_panel_header_height: 2rem;--_ui5-v1-22-1-rc-0_panel_button_root_height: 2rem;--_ui5-v1-22-1-rc-0_panel_button_root_width: 2.5rem;--_ui5-v1-22-1-rc-0_token_height: 1.25rem;--_ui5-v1-22-1-rc-0_token_right_margin: .25rem;--_ui5-v1-22-1-rc-0_token_left_padding: .25rem;--_ui5-v1-22-1-rc-0_token_readonly_padding: .125rem .25rem;--_ui5-v1-22-1-rc-0_token_focus_offset: -.125rem;--_ui5-v1-22-1-rc-0_token_icon_size: .75rem;--_ui5-v1-22-1-rc-0_token_icon_padding: .125rem .25rem;--_ui5-v1-22-1-rc-0_token_wrapper_right_padding: .25rem;--_ui5-v1-22-1-rc-0_token_wrapper_left_padding: 0;--_ui5-v1-22-1-rc-0_token_outline_offset: -.125rem;--_ui5-v1-22-1-rc-0_tl_bubble_padding: .5rem;--_ui5-v1-22-1-rc-0_tl_indicator_before_bottom: -.5rem;--_ui5-v1-22-1-rc-0_tl_padding: .5rem;--_ui5-v1-22-1-rc-0_tl_li_margin_bottom: .5rem;--_ui5-v1-22-1-rc-0_wheelslider_item_width: 64px;--_ui5-v1-22-1-rc-0_wheelslider_item_height: 32px;--_ui5-v1-22-1-rc-0_wheelslider_height: 224px;--_ui5-v1-22-1-rc-0_wheelslider_selection_frame_margin_top: calc(var(--_ui5-v1-22-1-rc-0_wheelslider_item_height) * 2);--_ui5-v1-22-1-rc-0_wheelslider_arrows_visibility: visible;--_ui5-v1-22-1-rc-0_wheelslider_mobile_selection_frame_margin_top: 128px;--_ui5-v1-22-1-rc-0_tc_item_text: 2rem;--_ui5-v1-22-1-rc-0_tc_item_text_line_height: 1.325rem;--_ui5-v1-22-1-rc-0_tc_item_add_text_margin_top: .3125rem;--_ui5-v1-22-1-rc-0_tc_item_height: 4rem;--_ui5-v1-22-1-rc-0_tc_header_height: var(--_ui5-v1-22-1-rc-0_tc_item_height);--_ui5-v1-22-1-rc-0_tc_item_icon_circle_size: 2rem;--_ui5-v1-22-1-rc-0_tc_item_icon_size: 1rem;--_ui5-v1-22-1-rc-0_radio_button_height: 2rem;--_ui5-v1-22-1-rc-0_radio_button_label_side_padding: .5rem;--_ui5-v1-22-1-rc-0_radio_button_inner_size: 2rem;--_ui5-v1-22-1-rc-0_radio_button_svg_size: 1rem;--_ui5-v1-22-1-rc-0-responsive_popover_header_height: 2.5rem;--ui5-v1-22-1-rc-0_side_navigation_item_height: 2rem;--_ui5-v1-22-1-rc-0_slider_handle_height: 1.25rem;--_ui5-v1-22-1-rc-0_slider_handle_width: 1.25rem;--_ui5-v1-22-1-rc-0_slider_tooltip_padding: .25rem;--_ui5-v1-22-1-rc-0_slider_progress_outline_offset: -.625rem;--_ui5-v1-22-1-rc-0_slider_outer_height: 1.3125rem;--_ui5-v1-22-1-rc-0_step_input_min_width: 6rem;--_ui5-v1-22-1-rc-0_step_input_padding: 2rem;--_ui5-v1-22-1-rc-0_load_more_text_height: 2.625rem;--_ui5-v1-22-1-rc-0_load_more_text_font_size: var(--sapFontSize);--_ui5-v1-22-1-rc-0_load_more_desc_padding: 0 2rem .875rem 2rem;--ui5-v1-22-1-rc-0_table_header_row_height: 2rem;--ui5-v1-22-1-rc-0_table_row_height: 2rem;--_ui5-v1-22-1-rc-0-tree-indent-step: .5rem;--_ui5-v1-22-1-rc-0-tree-toggle-box-width: 2rem;--_ui5-v1-22-1-rc-0-tree-toggle-box-height: 1.5rem;--_ui5-v1-22-1-rc-0-tree-toggle-icon-size: .8125rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_bottom: -.5rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_right: -.5rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_without_icon_bottom: -.75rem;--_ui5-v1-22-1-rc-0_timeline_tli_indicator_before_without_icon_right: -.8125rem;--_ui5-v1-22-1-rc-0_vsd_header_container: 2.5rem;--_ui5-v1-22-1-rc-0_vsd_sub_header_container_height: 2rem;--_ui5-v1-22-1-rc-0_vsd_header_height: 4rem;--_ui5-v1-22-1-rc-0_vsd_expand_content_height: 25.4375rem;--_ui5-v1-22-1-rc-0-toolbar-separator-height: 1.5rem;--_ui5-v1-22-1-rc-0-toolbar-height: 2rem;--_ui5-v1-22-1-rc-0_toolbar_overflow_padding: .1875rem .375rem;--_ui5-v1-22-1-rc-0_textarea_padding_top: .1875rem;--_ui5-v1-22-1-rc-0_textarea_padding_bottom: .125rem;--_ui5-v1-22-1-rc-0_checkbox_focus_position: .25rem;--_ui5-v1-22-1-rc-0_split_button_middle_separator_top: .3125rem;--_ui5-v1-22-1-rc-0_split_button_middle_separator_height: 1rem;--_ui5-v1-22-1-rc-0_slider_handle_top: -.5rem;--_ui5-v1-22-1-rc-0_slider_tooltip_height: 1.375rem;--_ui5-v1-22-1-rc-0_color-palette-item-height: 1.25rem;--_ui5-v1-22-1-rc-0_color-palette-item-focus-height: 1rem;--_ui5-v1-22-1-rc-0_color-palette-item-container-sides-padding: .1875rem;--_ui5-v1-22-1-rc-0_color-palette-item-container-rows-padding: .8125rem;--_ui5-v1-22-1-rc-0_color-palette-item-hover-height: 1.625rem;--_ui5-v1-22-1-rc-0_color-palette-item-margin: calc(((var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height) - var(--_ui5-v1-22-1-rc-0_color-palette-item-height)) / 2) + .0625rem);--_ui5-v1-22-1-rc-0_color-palette-row-width: 8.75rem;--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding: .1875rem .5rem;--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin: .0625rem;--_ui5-v1-22-1-rc-0_color-palette-row-height: 7.5rem;--_ui5-v1-22-1-rc-0_color-palette-button-height: 2rem;--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset: -.25rem;--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset: -.125rem;--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top: -9px}[dir=rtl]{--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_radius: .5rem;--_ui5-v1-22-1-rc-0_icon_transform_scale: scale(-1, 1);--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation: var(--_ui5-v1-22-1-rc-0_rotation_minus_90deg);--_ui5-v1-22-1-rc-0_li_notification_group_toggle_btn_rotation: var(--_ui5-v1-22-1-rc-0_rotation_minus_90deg);--_ui5-v1-22-1-rc-0_timeline_scroll_container_offset: -.5rem;--_ui5-v1-22-1-rc-0_popover_upward_arrow_margin: .1875rem .125rem 0 0;--_ui5-v1-22-1-rc-0_popover_right_arrow_margin: .1875rem .25rem 0 0;--_ui5-v1-22-1-rc-0_popover_downward_arrow_margin: -.4375rem .125rem 0 0;--_ui5-v1-22-1-rc-0_popover_left_arrow_margin: .1875rem -.375rem 0 0;--_ui5-v1-22-1-rc-0_dialog_resize_cursor:sw-resize;--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_radius: 0 .5rem .5rem 0;--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius: .5rem 0 0 .5rem;--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset: 0 -.25rem;--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset: 0 .25rem;--_ui5-v1-22-1-rc-0-menu_item_icon_float: left;--_ui5-v1-22-1-rc-0-shellbar-notification-btn-count-offset: auto;--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left: .0625rem;--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right: .0625rem}:root,[dir=ltr]{--_ui5-v1-22-1-rc-0_rotation_90deg: rotate(90deg);--_ui5-v1-22-1-rc-0_rotation_minus_90deg: rotate(-90deg);--_ui5-v1-22-1-rc-0_icon_transform_scale: none;--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation: var(--_ui5-v1-22-1-rc-0_rotation_90deg);--_ui5-v1-22-1-rc-0_li_notification_group_toggle_btn_rotation: var(--_ui5-v1-22-1-rc-0_rotation_90deg);--_ui5-v1-22-1-rc-0_timeline_scroll_container_offset: .5rem;--_ui5-v1-22-1-rc-0_popover_upward_arrow_margin: .1875rem 0 0 .1875rem;--_ui5-v1-22-1-rc-0_popover_right_arrow_margin: .1875rem 0 0 -.375rem;--_ui5-v1-22-1-rc-0_popover_downward_arrow_margin: -.375rem 0 0 .125rem;--_ui5-v1-22-1-rc-0_popover_left_arrow_margin: .125rem 0 0 .25rem;--_ui5-v1-22-1-rc-0_dialog_resize_cursor: se-resize;--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_radius: .5rem 0 0 .5rem;--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius: 0 .5rem .5rem 0;--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset: -.25rem 0;--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset: .25rem 0;--_ui5-v1-22-1-rc-0-menu_item_icon_float: right;--_ui5-v1-22-1-rc-0-shellbar-notification-btn-count-offset: -.125rem} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const RC={packageName:"@ui5/webcomponents",fileName:"themes/Avatar.css.ts",content:`:host(:not([hidden])){display:inline-block;box-sizing:border-box;position:relative}:host(:not([hidden]).ui5_hovered){opacity:.7}:host(:is([interactive]):not([disabled])){cursor:pointer}:host(:is([interactive][pressed]):not([hidden])){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host(:is([interactive][pressed]):not([hidden]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host(:is([interactive]):not([hidden]):not([pressed]):not([disabled]):hover){box-shadow:var(--ui5-v1-22-1-rc-0-avatar-hover-box-shadow-offset)}:host(:is([interactive][focused]):not([hidden]):not([pressed])){outline:var(--_ui5-v1-22-1-rc-0_avatar_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_avatar_focus_offset)}:host(:is([disabled])){opacity:var(--sapContent_DisabledOpacity)}:host{height:3rem;width:3rem;border-radius:50%;border:var(--ui5-v1-22-1-rc-0-avatar-initials-border);outline:none;color:var(--ui5-v1-22-1-rc-0-avatar-initials-color)}.ui5-avatar-root{display:flex;align-items:center;justify-content:center;outline:none;height:100%;width:100%}:host([_size="XS"]),:host([size="XS"]){height:2rem;width:2rem;min-height:2rem;min-width:2rem;font-size:var(--_ui5-v1-22-1-rc-0_avatar_fontsize_XS)}:host([_size="S"]),:host([size="S"]){min-height:3rem;min-width:3rem;font-size:var(--_ui5-v1-22-1-rc-0_avatar_fontsize_S)}:host([_size="M"]),:host([size="M"]){min-height:4rem;min-width:4rem;font-size:var(--_ui5-v1-22-1-rc-0_avatar_fontsize_M)}:host([_size="L"]),:host([size="L"]){min-height:5rem;min-width:5rem;font-size:var(--_ui5-v1-22-1-rc-0_avatar_fontsize_L)}:host([_size="XL"]),:host([size="XL"]){min-height:7rem;min-width:7rem;font-size:var(--_ui5-v1-22-1-rc-0_avatar_fontsize_XL)}:host .ui5-avatar-icon{height:var(--_ui5-v1-22-1-rc-0_avatar_fontsize_S);width:var(--_ui5-v1-22-1-rc-0_avatar_fontsize_S);color:inherit}:host([_size="XS"]) .ui5-avatar-icon,:host([size="XS"]) .ui5-avatar-icon{height:var(--_ui5-v1-22-1-rc-0_avatar_icon_XS);width:var(--_ui5-v1-22-1-rc-0_avatar_icon_XS)}:host([_size="S"]) .ui5-avatar-icon,:host([size="S"]) .ui5-avatar-icon{height:var(--_ui5-v1-22-1-rc-0_avatar_icon_S);width:var(--_ui5-v1-22-1-rc-0_avatar_icon_S)}:host([_size="M"]) .ui5-avatar-icon,:host([size="M"]) .ui5-avatar-icon{height:var(--_ui5-v1-22-1-rc-0_avatar_icon_M);width:var(--_ui5-v1-22-1-rc-0_avatar_icon_M)}:host([_size="L"]) .ui5-avatar-icon,:host([size="L"]) .ui5-avatar-icon{height:var(--_ui5-v1-22-1-rc-0_avatar_icon_L);width:var(--_ui5-v1-22-1-rc-0_avatar_icon_L)}:host([_size="XL"]) .ui5-avatar-icon,:host([size="XL"]) .ui5-avatar-icon{height:var(--_ui5-v1-22-1-rc-0_avatar_icon_XL);width:var(--_ui5-v1-22-1-rc-0_avatar_icon_XL)}::slotted(*){border-radius:50%;width:100%;height:100%;pointer-events:none}:host([shape="Square"]){border-radius:var(--ui5-v1-22-1-rc-0-avatar-border-radius)}:host([shape="Square"]) ::slotted(*){border-radius:calc(var(--ui5-v1-22-1-rc-0-avatar-border-radius) - var(--ui5-v1-22-1-rc-0-avatar-border-radius-img-deduction))}:host(:not([color-scheme])),:host(:not([_has-image])),:host([_color-scheme="Accent6"]),:host([ui5-avatar][color-scheme="Accent6"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent6);color:var(--ui5-v1-22-1-rc-0-avatar-accent6-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent6-border-color)}:host([_color-scheme="Accent1"]),:host([ui5-avatar][color-scheme="Accent1"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent1);color:var(--ui5-v1-22-1-rc-0-avatar-accent1-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent1-border-color)}:host([_color-scheme="Accent2"]),:host([ui5-avatar][color-scheme="Accent2"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent2);color:var(--ui5-v1-22-1-rc-0-avatar-accent2-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent2-border-color)}:host([_color-scheme="Accent3"]),:host([ui5-avatar][color-scheme="Accent3"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent3);color:var(--ui5-v1-22-1-rc-0-avatar-accent3-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent3-border-color)}:host([_color-scheme="Accent4"]),:host([ui5-avatar][color-scheme="Accent4"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent4);color:var(--ui5-v1-22-1-rc-0-avatar-accent4-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent4-border-color)}:host([_color-scheme="Accent5"]),:host([ui5-avatar][color-scheme="Accent5"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent5);color:var(--ui5-v1-22-1-rc-0-avatar-accent5-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent5-border-color)}:host([_color-scheme="Accent7"]),:host([ui5-avatar][color-scheme="Accent7"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent7);color:var(--ui5-v1-22-1-rc-0-avatar-accent7-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent7-border-color)}:host([_color-scheme="Accent8"]),:host([ui5-avatar][color-scheme="Accent8"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent8);color:var(--ui5-v1-22-1-rc-0-avatar-accent8-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent8-border-color)}:host([_color-scheme="Accent9"]),:host([ui5-avatar][color-scheme="Accent9"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent9);color:var(--ui5-v1-22-1-rc-0-avatar-accent9-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent9-border-color)}:host([_color-scheme="Accent10"]),:host([ui5-avatar][color-scheme="Accent10"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-accent10);color:var(--ui5-v1-22-1-rc-0-avatar-accent10-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-accent10-border-color)}:host([_color-scheme="Placeholder"]),:host([ui5-avatar][color-scheme="Placeholder"]){background-color:var(--ui5-v1-22-1-rc-0-avatar-placeholder);color:var(--ui5-v1-22-1-rc-0-avatar-placeholder-color);border-color:var(--ui5-v1-22-1-rc-0-avatar-placeholder-border-color)}:host([_has-image]){color:var(--ui5-v1-22-1-rc-0-avatar-accent10-color);background-color:transparent;vertical-align:middle}.ui5-avatar-initials{color:inherit}.ui5-avatar-icon~.ui5-avatar-initials,.ui5-avatar-icon~.ui5-avatar-icon-fallback{display:none}.ui5-avatar-initials:not(.ui5-avatar-initials-hidden)+.ui5-avatar-icon-fallback{display:none}.ui5-avatar-initials-hidden{position:absolute;visibility:hidden;z-index:0;pointer-events:none}::slotted([slot="badge"]){position:absolute;bottom:0;right:0;width:1.125rem;height:1.125rem;background:var(--sapButton_Emphasized_Background);border:var(--sapButton_Emphasized_Background);border-radius:1rem;color:var(--sapContent_BadgeTextColor);justify-content:center;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize)}::slotted([ui5-badge][slot="badge"]){padding:.1875rem}:host([_size="L"]) ::slotted([slot="badge"]),:host([size="L"]) ::slotted([slot="badge"]){width:1.25rem;height:1.25rem}:host([_size="XL"]) ::slotted([slot="badge"]),:host([size="XL"]) ::slotted([slot="badge"]){padding:.375rem;width:1.75rem;height:1.75rem}:host([shape="Square"]) ::slotted([slot="badge"]){bottom:-.125rem;right:-.125rem}:host([_size="L"][shape="Square"]) ::slotted([slot="badge"]),:host([size="L"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.1875rem;right:-.1875rem}:host([_size="XL"][shape="Square"]) ::slotted([slot="badge"]),:host([size="XL"][shape="Square"]) ::slotted([slot="badge"]){bottom:-.25rem;right:-.25rem} +`};function LC(i,e,t){return c`${zC.call(this,i,e,t)}`}function MC(i,e,t){return dc`${a(this.effectiveAccessibleName)}`}function NC(i,e,t){return dc`${a(this.customSvg)}`}function FC(i,e,t,o,r){return dc``}function zC(i,e,t){return dc`${this.hasIconTooltip?MC.call(this,i,e,t):void 0}${this.customSvg?NC.call(this,i,e,t):void 0}${E(this.pathData,(o,r)=>o._id||r,(o,r)=>FC.call(this,i,e,t,o,r))}`}var U_;(function(i){i.Contrast="Contrast",i.Critical="Critical",i.Default="Default",i.Information="Information",i.Negative="Negative",i.Neutral="Neutral",i.NonInteractive="NonInteractive",i.Positive="Positive"})(U_||(U_={}));const Pf=U_;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const VC={packageName:"@ui5/webcomponents",fileName:"themes/Icon.css.ts",content:`: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;color:var(--sapContent_NonInteractiveIconColor);fill:currentColor;outline:none}:host([design="Contrast"]){color:var(--sapContent_ContrastIconColor)}:host([design="Critical"]){color:var(--sapCriticalElementColor)}:host([design="Default"]){color:var(--sapContent_IconColor)}: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([interactive][focused]) .ui5-icon-root{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--ui5-v1-22-1-rc-0-icon-focus-border-radius)}.ui5-icon-root{display:flex;height:100%;width:100%;outline:none;vertical-align:top}:host([interactive]){cursor:pointer}.ui5-icon-root:not([dir=ltr]){transform:var(--_ui5-v1-22-1-rc-0_icon_transform_scale);transform-origin:center} +`};var no=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};const HC="ICON_NOT_FOUND",Of="presentation";let li=class extends j{_onFocusInHandler(){this.interactive&&(this.focused=!0)}_onFocusOutHandler(){this.focused=!1}_onkeydown(e){this.interactive&&(de(e)&&this.fireEvent("click"),te(e)&&e.preventDefault())}_onkeyup(e){this.interactive&&te(e)&&this.fireEvent("click")}get _dir(){return this.ltr?"ltr":void 0}get effectiveAriaHidden(){return this.ariaHidden===""?this.isDecorative?!0:void 0:this.ariaHidden}get _tabIndex(){return this.interactive?"0":void 0}get isDecorative(){return this.effectiveAccessibleRole===Of}get effectiveAccessibleRole(){return this.accessibleRole?this.accessibleRole:this.interactive?"button":this.effectiveAccessibleName?"img":Of}async onBeforeRendering(){const e=this.name;if(!e)return console.warn("Icon name property is required",this);let t=F1(e);if(t||(t=await vl(e)),!t)return this.invalid=!0,console.warn(`Required icon is not registered. Invalid icon name: ${this.name}`);if(t===HC)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",t.customTemplate&&(t.pathData=[],this.customSvg=Vr(t.customTemplate,this)),this.invalid=!1,this.pathData=Array.isArray(t.pathData)?t.pathData:[t.pathData],this.accData=t.accData,this.ltr=t.ltr,this.packageName=t.packageName,this._onfocusout=this.interactive?this._onFocusOutHandler.bind(this):void 0,this._onfocusin=this.interactive?this._onFocusInHandler.bind(this):void 0,this.accessibleName)this.effectiveAccessibleName=this.accessibleName;else if(this.accData){const o=await oe(this.packageName);this.effectiveAccessibleName=o.getText(this.accData)||void 0}else this.effectiveAccessibleName=void 0}get hasIconTooltip(){return this.showTooltip&&this.effectiveAccessibleName}};no([u({type:Pf,defaultValue:Pf.Default})],li.prototype,"design",void 0);no([u({type:Boolean})],li.prototype,"interactive",void 0);no([u()],li.prototype,"name",void 0);no([u()],li.prototype,"accessibleName",void 0);no([u({type:Boolean})],li.prototype,"showTooltip",void 0);no([u()],li.prototype,"accessibleRole",void 0);no([u()],li.prototype,"ariaHidden",void 0);no([u({multiple:!0})],li.prototype,"pathData",void 0);no([u({type:Object,defaultValue:void 0,noAttribute:!0})],li.prototype,"accData",void 0);no([u({type:Boolean})],li.prototype,"focused",void 0);no([u({type:Boolean})],li.prototype,"invalid",void 0);no([u({noAttribute:!0,defaultValue:void 0})],li.prototype,"effectiveAccessibleName",void 0);li=no([B({tag:"ui5-icon",languageAware:!0,themeAware:!0,renderer:ee,template:LC,styles:VC}),$("click")],li);li.define();const Ie=li;var W_;(function(i){i.XS="XS",i.S="S",i.M="M",i.L="L",i.XL="XL"})(W_||(W_={}));const Ii=W_;var q_;(function(i){i.Circle="Circle",i.Square="Square"})(q_||(q_={}));const Rf=q_;var j_;(function(i){i.Accent1="Accent1",i.Accent2="Accent2",i.Accent3="Accent3",i.Accent4="Accent4",i.Accent5="Accent5",i.Accent6="Accent6",i.Accent7="Accent7",i.Accent8="Accent8",i.Accent9="Accent9",i.Accent10="Accent10",i.Placeholder="Placeholder"})(j_||(j_={}));const Ll=j_,UC="employee",Ly="M448 512H64V384q0-26 10-49.5t27.5-41T142 266t50-10h64q-27 0-50-10t-40.5-27.5T138 178t-10-50q0-26 10-49.5t27.5-41T206 10t50-10q26 0 49.5 10t41 27.5 27.5 41 10 49.5q0 27-10 50t-27.5 40.5-41 27.5-49.5 10h64q26 0 49.5 10t41 27.5 27.5 41 10 49.5v128zM96 384v96h320v-96q0-40-28-68t-68-28H192q-40 0-68 28t-28 68zm160-160q40 0 68-28t28-68-28-68-68-28-68 28-28 68 28 68 68 28zm32 192v-32h96v32h-96z",WC=!1,qC="SAP-icons-v4",jC="@ui5/webcomponents-icons";Y(UC,{pathData:Ly,ltr:WC,collection:qC,packageName:jC});const GC="employee",My="M342 255q48 23 77 67.5t29 99.5v32q0 11-7.5 18.5T422 480H90q-11 0-18.5-7.5T64 454v-32q0-55 29-99.5t77-67.5l-4-5q-19-17-28.5-40.5T128 160q0-27 10-50t27.5-40.5 41-27.5T256 32t49.5 10.5 41 28T374 111t10 49q0 27-11 52t-31 43zm-163-95q0 32 22.5 54.5T256 237t54.5-22.5T333 160t-22.5-54.5T256 83t-54.5 22.5T179 160zm51 181l-25-15q-13-7-13-19v-6q-34 17-55.5 49T115 422v7h115v-88zm167 81q0-40-21-72t-56-49v6q0 12-13 19l-26 15v88h116v-7zm-71-70q11 0 18.5 7.5T352 378t-7.5 18-18.5 7h-12q-11 0-18.5-7t-7.5-18 7.5-18.5T314 352h12z",YC=!1,KC="SAP-icons-v5",XC="@ui5/webcomponents-icons";Y(GC,{pathData:My,ltr:YC,collection:KC,packageName:XC});we();const ZC="alert",Ny="M501 374q5 10 7.5 19.5T512 412v5q0 31-23 47t-50 16H74q-13 0-26-4t-23.5-12-17-20T0 417q0-13 4-22.5t9-20.5L198 38q21-38 61-38 38 0 59 38zM257 127q-13 0-23.5 8T223 161q1 7 2 12 3 25 4.5 48t3.5 61q0 11 7.5 16t16.5 5q22 0 23-21l2-36 9-85q0-18-10.5-26t-23.5-8zm0 299q20 0 31.5-12t11.5-32q0-19-11.5-31T257 339t-31.5 12-11.5 31q0 20 11.5 32t31.5 12z",QC=!1,JC="SAP-icons-v4",eA="@ui5/webcomponents-icons";Y(ZC,{pathData:Ny,ltr:QC,collection:JC,packageName:eA});const tA="alert",Fy="M505 399q7 13 7 27 0 21-15.5 37.5T456 480H56q-25 0-40.5-16.5T0 426q0-14 7-27L208 59q17-27 48-27 14 0 27 6.5T304 59zM288 176q0-14-9-23t-23-9-23 9-9 23v96q0 14 9 23t23 9 23-9 9-23v-96zm-32 240q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z",iA=!1,oA="SAP-icons-v5",rA="@ui5/webcomponents-icons";Y(tA,{pathData:Fy,ltr:iA,collection:oA,packageName:rA});we();var Dt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Qc;let st=Qc=class extends j{constructor(){super(),this._handleResizeBound=this.handleResize.bind(this)}static async onDefine(){Qc.i18nBundle=await oe("@ui5/webcomponents")}get tabindex(){return this.forcedTabIndex||(this._interactive?"0":"-1")}get effectiveSize(){return this.getAttribute("size")||this._size}get еffectiveBackgroundColor(){return this.getAttribute("color-scheme")||this._colorScheme}get _role(){return this._interactive?"button":"img"}get _ariaHasPopup(){return this._getAriaHasPopup()}get _fallbackIcon(){return this.fallbackIcon===""&&(this.fallbackIcon="employee"),this.fallbackIcon}get _interactive(){return this.interactive&&!this.disabled}get validInitials(){const e=/^[a-zA-Zà-üÀ-Ü]{1,3}$/;return this.initials&&e.test(this.initials)?this.initials:null}get accessibleNameText(){return this.accessibleName?this.accessibleName:Qc.i18nBundle.getText(Fp)||void 0}get hasImage(){return this._hasImage=!!this.image.length,this._hasImage}get initialsContainer(){return this.getDomRef().querySelector(".ui5-avatar-initials")}onBeforeRendering(){this._onclick=this._interactive?this._onClickHandler.bind(this):void 0}async onAfterRendering(){await Bi(),this.initials&&!this.icon&&this._checkInitials()}onEnterDOM(){this.initialsContainer&&Pe.register(this.initialsContainer,this._handleResizeBound)}onExitDOM(){this.initialsContainer&&Pe.deregister(this.initialsContainer,this._handleResizeBound)}handleResize(){this.initials&&!this.icon&&this._checkInitials()}_checkInitials(){const e=this.getDomRef(),t=e.querySelector(".ui5-avatar-initials");if(!this.validInitials){t.classList.add("ui5-avatar-initials-hidden");return}t&&t.classList.remove("ui5-avatar-initials-hidden"),this.initials&&this.initials.length===3&&t&&t.scrollWidth>e.scrollWidth&&t.classList.add("ui5-avatar-initials-hidden")}_onClickHandler(e){e.stopPropagation(),this._fireClick()}_onkeydown(e){this._interactive&&(de(e)&&this._fireClick(),te(e)&&e.preventDefault())}_onkeyup(e){this._interactive&&!e.shiftKey&&te(e)&&this._fireClick()}_fireClick(){this.fireEvent("click"),this.pressed=!this.pressed}_onfocusout(){this.focused=!1}_onfocusin(){this._interactive&&(this.focused=!0)}_getAriaHasPopup(){if(!(!this._interactive||this.ariaHaspopup===""))return this.ariaHaspopup}};Dt([u({type:Boolean})],st.prototype,"disabled",void 0);Dt([u({type:Boolean})],st.prototype,"interactive",void 0);Dt([u({type:Boolean})],st.prototype,"focused",void 0);Dt([u({type:Boolean})],st.prototype,"pressed",void 0);Dt([u()],st.prototype,"icon",void 0);Dt([u()],st.prototype,"fallbackIcon",void 0);Dt([u()],st.prototype,"initials",void 0);Dt([u({type:Rf,defaultValue:Rf.Circle})],st.prototype,"shape",void 0);Dt([u({type:Ii,defaultValue:Ii.S})],st.prototype,"size",void 0);Dt([u({type:Ii,defaultValue:Ii.S})],st.prototype,"_size",void 0);Dt([u({type:Ll,defaultValue:Ll.Accent6})],st.prototype,"colorScheme",void 0);Dt([u({type:Ll,defaultValue:Ll.Accent6})],st.prototype,"_colorScheme",void 0);Dt([u()],st.prototype,"accessibleName",void 0);Dt([u()],st.prototype,"ariaHaspopup",void 0);Dt([u({noAttribute:!0})],st.prototype,"forcedTabIndex",void 0);Dt([u({type:Boolean})],st.prototype,"_hasImage",void 0);Dt([F({type:HTMLElement,default:!0})],st.prototype,"image",void 0);Dt([F()],st.prototype,"badge",void 0);st=Qc=Dt([B({tag:"ui5-avatar",languageAware:!0,renderer:ee,styles:RC,template:BC,dependencies:[Ie]}),$("click")],st);st.define();const nA=st;var G_;(function(i){i.Auto="Auto",i.Vertical="Vertical",i.Horizontal="Horizontal",i.Paging="Paging"})(G_||(G_={}));const Or=G_;var Y_;(function(i){i.Static="Static",i.Cyclic="Cyclic"})(Y_||(Y_={}));const na=Y_;class _r{constructor(e,t){if(!e.isUI5Element)throw new Error("The root web component must be a UI5 Element instance");if(this.rootWebComponent=e,this.rootWebComponent.addEventListener("keydown",this._onkeydown.bind(this)),this._initBound=this._init.bind(this),this.rootWebComponent.attachComponentStateFinalized(this._initBound),typeof t.getItemsCallback!="function")throw new Error("getItemsCallback is required");this._getItems=t.getItemsCallback,this._currentIndex=t.currentIndex||0,this._rowSize=t.rowSize||1,this._behavior=t.behavior||na.Static,this._navigationMode=t.navigationMode||Or.Auto,this._affectedPropertiesNames=t.affectedPropertiesNames||[],this._skipItemsSize=t.skipItemsSize||null}setCurrentItem(e){const t=this._getItems().indexOf(e);if(t===-1){console.warn("The provided item is not managed by ItemNavigation",e);return}this._currentIndex=t,this._applyTabIndex()}setRowSize(e){this._rowSize=e}_init(){this._getItems().forEach((e,t)=>{e.forcedTabIndex=t===this._currentIndex?"0":"-1"})}_onkeydown(e){if(!this._canNavigate())return;const t=this._navigationMode===Or.Horizontal||this._navigationMode===Or.Auto,o=this._navigationMode===Or.Vertical||this._navigationMode===Or.Auto,r=this.rootWebComponent.effectiveDir==="rtl";if(r&&ft(e)&&t)this._handleRight();else if(r&&it(e)&&t)this._handleLeft();else if(ft(e)&&t)this._handleLeft();else if(it(e)&&t)this._handleRight();else if(Le(e)&&o)this._handleUp();else if(De(e)&&o)this._handleDown();else if(St(e))this._handleHome();else if(si(e))this._handleEnd();else if(pi(e))this._handlePageUp();else if(Ci(e))this._handlePageDown();else return;e.preventDefault(),this._applyTabIndex(),this._focusCurrentItem()}_handleUp(){const e=this._getItems().length;if(this._currentIndex-this._rowSize>=0){this._currentIndex-=this._rowSize;return}if(this._behavior===na.Cyclic){const t=this._currentIndex%this._rowSize,o=t===0?this._rowSize-1:t-1,r=Math.ceil(e/this._rowSize);let n=o+(r-1)*this._rowSize;n>e-1&&(n-=this._rowSize),this._currentIndex=n}else this._currentIndex=0}_handleDown(){const e=this._getItems().length;if(this._currentIndex+this._rowSize0){this._currentIndex-=1;return}this._behavior===na.Cyclic&&(this._currentIndex=e-1)}_handleRight(){const e=this._getItems().length;if(this._currentIndex1?this._rowSize:this._getItems().length;this._currentIndex-=this._currentIndex%e}_handleEnd(){const e=this._rowSize>1?this._rowSize:this._getItems().length;this._currentIndex+=e-1-this._currentIndex%e}_handlePageUp(){this._rowSize>1||this._handlePageUpFlat()}_handlePageDown(){this._rowSize>1||this._handlePageDownFlat()}_handlePageUpFlat(){if(this._skipItemsSize===null){this._currentIndex-=this._currentIndex;return}this._currentIndex+1>this._skipItemsSize?this._currentIndex-=this._skipItemsSize:this._currentIndex-=this._currentIndex}_handlePageDownFlat(){if(this._skipItemsSize===null){this._currentIndex=this._getItems().length-1;return}this._getItems().length-this._currentIndex-1>this._skipItemsSize?this._currentIndex+=this._skipItemsSize:this._currentIndex=this._getItems().length-1}_applyTabIndex(){const e=this._getItems();for(let t=0;t{const o=this.rootWebComponent[t];this.rootWebComponent[t]=Array.isArray(o)?[...o]:{...o}})}_focusCurrentItem(){const e=this._getCurrentItem();e&&e.focus()}_canNavigate(){const e=this._getCurrentItem(),t=ks();return e&&e===t}_getCurrentItem(){const e=this._getItems();if(!e.length)return;for(;this._currentIndex>=e.length;)this._currentIndex-=this._rowSize;this._currentIndex<0&&(this._currentIndex=0);const t=e[this._currentIndex];if(!t)return;if(ga(t))return t.getFocusDomRef();const o=this.rootWebComponent.getDomRef();if(o&&t.id)return o.querySelector(`[id="${t.id}"]`)}}const Tu=new WeakMap,Ml=new WeakMap,aA={attributes:!0,childList:!0,characterData:!0,subtree:!0},Wt=i=>{const e=i;return e.accessibleNameRef?zy(i):e.accessibleName?e.accessibleName:void 0},zy=i=>{var r;const e=((r=i.accessibleNameRef)==null?void 0:r.split(" "))??[],t=i.getRootNode();let o="";return e.forEach((n,s)=>{const l=t.querySelector(`[id='${n}']`),_=`${l&&l.textContent?l.textContent:""}`;_&&(o+=_,s{const e=new Set;Hy(i).forEach(n=>{e.add(n)});const o=i.accessibleNameRef;return((o==null?void 0:o.split(" "))??[]).forEach(n=>{const s=sA(i,n);s&&e.add(s)}),Array.from(e)},Hy=i=>{const e=i.getRootNode().querySelectorAll(`[for="${i.id}"]`);return Array.from(e)},sA=(i,e)=>i.getRootNode().querySelector(`[id='${e}']`),Uy=i=>{const e=[];if(Hy(i).forEach(o=>{const r=o.textContent;r&&e.push(r)}),e.length)return e.join(" ")},lA=i=>t=>{if(!(t&&t.type==="property"&&t.name==="accessibleNameRef"))return;const o=Ml.get(i);if(!o)return;const r=o.observedElements,n=Vy(i);r.forEach(s=>{n.includes(s)||Jp(o,s)}),n.forEach(s=>{r.includes(s)||(Wy(o,s),o.observedElements.push(s))}),o==null||o.callback()},cA=(i,e)=>{if(Ml.has(i))return;const t=Vy(i),o=lA(i),r={host:i,observedElements:t,callback:e,invalidationCallback:o};Ml.set(i,r),i.attachInvalidate(o),t.forEach(n=>{Wy(r,n)}),e()},Wy=(i,e)=>{let t=Tu.get(e);if(!t){t={observer:null,callbacks:[]};const o=new MutationObserver(()=>{t.callbacks.forEach(s=>{s()});const n=document.getElementById(e.id);i.host.id===e.getAttribute("for")||n||Jp(i,e)});t.observer=o,o.observe(e,aA),Tu.set(e,t)}t.callbacks.includes(i.callback)||t.callbacks.push(i.callback)},Jp=(i,e)=>{var o;const t=Tu.get(e);t&&(t.callbacks=t.callbacks.filter(r=>r!==i.callback),t.callbacks.length||((o=t.observer)==null||o.disconnect(),Tu.delete(e))),i.observedElements=i.observedElements.filter(r=>r!==e)},uA=i=>{const e=Ml.get(i);if(!e)return;[...e.observedElements].forEach(o=>{Jp(e,o)}),i.detachInvalidate(e.invalidationCallback),Ml.delete(i)},qy=new WeakMap,nr=(i,e)=>{qy.set(i,e)},pa=i=>qy.get(i),ev=i=>Array.from(i).filter(e=>e.nodeType!==Node.COMMENT_NODE&&(e.nodeType!==Node.TEXT_NODE||(e.nodeValue||"").trim().length!==0)).length>0;var K_;(function(i){i.Default="Default",i.Positive="Positive",i.Negative="Negative",i.Transparent="Transparent",i.Emphasized="Emphasized",i.Attention="Attention"})(K_||(K_={}));const hr=K_;var X_;(function(i){i.Button="Button",i.Submit="Submit",i.Reset="Reset"})(X_||(X_={}));const bl=X_;function dA(i,e,t){return c` `}function _A(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:c``}function hA(i,e,t){return c`${a(this.buttonTypeText)}`}var Z_;(function(i){i.Dialog="Dialog",i.Grid="Grid",i.ListBox="ListBox",i.Menu="Menu",i.Tree="Tree"})(Z_||(Z_={}));const tv=Z_;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const pA={packageName:"@ui5/webcomponents",fileName:"themes/Button.css.ts",content:`: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{min-width:var(--_ui5-v1-22-1-rc-0_button_base_min_width);height:var(--_ui5-v1-22-1-rc-0_button_base_height);line-height:normal;font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily);font-size:var(--sapFontSize);text-shadow:var(--_ui5-v1-22-1-rc-0_button_text_shadow);border-radius:var(--_ui5-v1-22-1-rc-0_button_border_radius);cursor:pointer;background-color:var(--sapButton_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_BorderColor);color:var(--sapButton_TextColor);box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui5-button-root{min-width:inherit;cursor:inherit;height:100%;width:100%;box-sizing:border-box;display:flex;justify-content:center;align-items:center;outline:none;padding:0 var(--_ui5-v1-22-1-rc-0_button_base_padding);position:relative;background:transparent;border:none;color:inherit;text-shadow:inherit;font:inherit;white-space:inherit;overflow:inherit;text-overflow:inherit;letter-spacing:inherit;word-spacing:inherit;line-height:inherit;-webkit-user-select:none;-moz-user-select:none;user-select:none}:host(:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host(:not([hidden]):not([disabled]).ui5_hovered){background:var(--sapButton_Hover_Background);border:1px solid var(--sapButton_Hover_BorderColor);color:var(--sapButton_Hover_TextColor)}.ui5-button-icon{color:inherit;flex-shrink:0}:host([icon-end]) .ui5-button-root{flex-direction:row-reverse}:host([icon-end]) .ui5-button-icon{margin-inline-start:var(--_ui5-v1-22-1-rc-0_button_base_icon_margin)}:host([icon-only]) .ui5-button-root{min-width:auto;padding:0}:host([icon-only]) .ui5-button-text{display:none}.ui5-button-text{outline:none;position:relative;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([has-icon]:not([icon-end])) .ui5-button-text{margin-inline-start:var(--_ui5-v1-22-1-rc-0_button_base_icon_margin)}:host([has-icon][icon-end]) .ui5-button-text{margin-inline-start:0}:host([disabled]){opacity:var(--sapContent_DisabledOpacity);pointer-events:unset;cursor:default}:host([has-icon]:not([icon-only])) .ui5-button-text{min-width:calc(var(--_ui5-v1-22-1-rc-0_button_base_min_width) - var(--_ui5-v1-22-1-rc-0_button_base_icon_margin) - 1rem)}:host([disabled]:active){pointer-events:none}:host([focused]) .ui5-button-root:after{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v1-22-1-rc-0_button_focused_border);border-radius:var(--_ui5-v1-22-1-rc-0_button_focused_border_radius)}:host([design="Emphasized"][focused]) .ui5-button-root:after{border-color:var(--_ui5-v1-22-1-rc-0_button_emphasized_focused_border_color)}:host([design="Emphasized"][focused]) .ui5-button-root:before{content:"";position:absolute;box-sizing:border-box;inset:.0625rem;border:var(--_ui5-v1-22-1-rc-0_button_emphasized_focused_border_before);border-radius:var(--_ui5-v1-22-1-rc-0_button_focused_border_radius)}.ui5-button-root::-moz-focus-inner{border:0}bdi{display:block;white-space:inherit;overflow:inherit;text-overflow:inherit}:host([ui5-button][active]:not([disabled]):not([non-interactive])){background-image:none;background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]){background-color:var(--sapButton_Accept_Background);border-color:var(--sapButton_Accept_BorderColor);color:var(--sapButton_Accept_TextColor)}:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Positive"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Accept_Hover_Background);border-color:var(--sapButton_Accept_Hover_BorderColor);color:var(--sapButton_Accept_Hover_TextColor)}:host([ui5-button][design="Positive"][active]:not([non-interactive])){background-color:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([design="Negative"]){background-color:var(--sapButton_Reject_Background);border-color:var(--sapButton_Reject_BorderColor);color:var(--sapButton_Reject_TextColor)}:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Negative"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Reject_Hover_Background);border-color:var(--sapButton_Reject_Hover_BorderColor);color:var(--sapButton_Reject_Hover_TextColor)}:host([ui5-button][design="Negative"][active]:not([non-interactive])){background-color:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Attention"]){background-color:var(--sapButton_Attention_Background);border-color:var(--sapButton_Attention_BorderColor);color:var(--sapButton_Attention_TextColor)}:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Attention"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Attention_Hover_Background);border-color:var(--sapButton_Attention_Hover_BorderColor);color:var(--sapButton_Attention_Hover_TextColor)}:host([ui5-button][design="Attention"][active]:not([non-interactive])){background-color:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Emphasized"]){background-color:var(--sapButton_Emphasized_Background);border-color:var(--sapButton_Emphasized_BorderColor);border-width:var(--_ui5-v1-22-1-rc-0_button_emphasized_border_width);color:var(--sapButton_Emphasized_TextColor);font-weight:var(--sapButton_Emphasized_FontWeight)}:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Emphasized"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Emphasized_Hover_Background);border-color:var(--sapButton_Emphasized_Hover_BorderColor);border-width:var(--_ui5-v1-22-1-rc-0_button_emphasized_border_width);color:var(--sapButton_Emphasized_Hover_TextColor)}:host([ui5-button][design="Empasized"][active]:not([non-interactive])){background-color:var(--sapButton_Emphasized_Active_Background);border-color:var(--sapButton_Emphasized_Active_BorderColor);color:var(--sapButton_Emphasized_Active_TextColor)}:host([design="Emphasized"][focused]) .ui5-button-root:after{border-color:var(--_ui5-v1-22-1-rc-0_button_emphasized_focused_border_color);outline:none}:host([design="Emphasized"][focused][active]:not([non-interactive])) .ui5-button-root:after{border-color:var(--_ui5-v1-22-1-rc-0_button_emphasized_focused_active_border_color)}:host([design="Transparent"]){background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);border-color:var(--sapButton_Lite_BorderColor)}:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]):hover),:host([design="Transparent"]:not([active]):not([non-interactive]):not([_is-touch]):not([disabled]).ui5_hovered){background-color:var(--sapButton_Lite_Hover_Background);border-color:var(--sapButton_Lite_Hover_BorderColor);color:var(--sapButton_Lite_Hover_TextColor)}:host([ui5-button][design="Transparent"][active]:not([non-interactive])){background-color:var(--sapButton_Lite_Active_Background);border-color:var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([ui5-segmented-button-item][active][focused]) .ui5-button-root:after,:host([pressed][focused]) .ui5-button-root:after{border-color:var(--_ui5-v1-22-1-rc-0_button_pressed_focused_border_color);outline:none}:host([ui5-segmented-button-item][focused]:not(:last-child)) .ui5-button-root:after{border-top-right-radius:var(--_ui5-v1-22-1-rc-0_button_focused_inner_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_button_focused_inner_border_radius)}:host([ui5-segmented-button-item][focused]:not(:first-child)) .ui5-button-root:after{border-top-left-radius:var(--_ui5-v1-22-1-rc-0_button_focused_inner_border_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_button_focused_inner_border_radius)} +`};var wt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Js;let Lf=!1,Ks=null,Xe=Js=class extends j{constructor(){super(),this._deactivate=()=>{Ks&&Ks._setActiveState(!1)},Lf||(document.addEventListener("mouseup",this._deactivate),Lf=!0);const e=t=>{nr(t,"button"),!this.nonInteractive&&this._setActiveState(!0)};this._ontouchstart={handleEvent:e,passive:!0}}onEnterDOM(){this._isTouch=(G()||rc())&&!J$()}async onBeforeRendering(){const e=Se("FormSupport");this.type!==bl.Button&&!e&&console.warn('In order for the "type" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'),this.submits&&!e&&console.warn('In order for the "submits" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'),this.iconOnly=this.isIconOnly,this.hasIcon=!!this.icon,this.buttonTitle=this.tooltip||await z1(this.icon)}_onclick(e){var o;if(this.nonInteractive)return;nr(e,"button");const t=Se("FormSupport");t&&this._isSubmit&&t.triggerFormSubmit(this),t&&this._isReset&&t.triggerFormReset(this),zr()&&((o=this.getDomRef())==null||o.focus())}_onmousedown(e){this.nonInteractive||this._isTouch||(nr(e,"button"),this._setActiveState(!0),Ks=this)}_ontouchend(e){this.disabled&&(e.preventDefault(),e.stopPropagation()),this.active&&this._setActiveState(!1),Ks&&Ks._setActiveState(!1)}_onmouseup(e){nr(e,"button")}_onkeydown(e){nr(e,"button"),(te(e)||de(e))&&this._setActiveState(!0)}_onkeyup(e){(te(e)||de(e))&&this.active&&this._setActiveState(!1)}_onfocusout(){this.nonInteractive||(this.active&&this._setActiveState(!1),vo()&&(this.focused=!1))}_onfocusin(e){this.nonInteractive||(nr(e,"button"),vo()&&(this.focused=!0))}_setActiveState(e){this.fireEvent("_active-state-change",null,!0)&&(this.active=e)}get _hasPopup(){var e;return(e=this.accessibilityAttributes.hasPopup)==null?void 0:e.toLowerCase()}get hasButtonType(){return this.design!==hr.Default&&this.design!==hr.Transparent}get iconRole(){return this.icon?"presentation":""}get isIconOnly(){return!ev(this.text)}static typeTextMappings(){return{Positive:v2,Negative:f2,Emphasized:m2}}get buttonTypeText(){return Js.i18nBundle.getText(Js.typeTextMappings()[this.design])}get tabIndexValue(){const e=this.getAttribute("tabindex");return e||(this.nonInteractive?"-1":this.forcedTabIndex)}get showIconTooltip(){return this.iconOnly&&!this.tooltip}get ariaLabelText(){return Wt(this)}get _isSubmit(){return this.type===bl.Submit||this.submits}get _isReset(){return this.type===bl.Reset}static async onDefine(){Js.i18nBundle=await oe("@ui5/webcomponents")}};wt([u({type:hr,defaultValue:hr.Default})],Xe.prototype,"design",void 0);wt([u({type:Boolean})],Xe.prototype,"disabled",void 0);wt([u()],Xe.prototype,"icon",void 0);wt([u({type:Boolean})],Xe.prototype,"iconEnd",void 0);wt([u({type:Boolean})],Xe.prototype,"submits",void 0);wt([u()],Xe.prototype,"tooltip",void 0);wt([u({defaultValue:void 0})],Xe.prototype,"accessibleName",void 0);wt([u({defaultValue:""})],Xe.prototype,"accessibleNameRef",void 0);wt([u({type:Object})],Xe.prototype,"accessibilityAttributes",void 0);wt([u({type:bl,defaultValue:bl.Button})],Xe.prototype,"type",void 0);wt([u({type:Boolean})],Xe.prototype,"active",void 0);wt([u({type:Boolean})],Xe.prototype,"iconOnly",void 0);wt([u({type:Boolean})],Xe.prototype,"focused",void 0);wt([u({type:Boolean})],Xe.prototype,"hasIcon",void 0);wt([u({type:Boolean})],Xe.prototype,"nonInteractive",void 0);wt([u({noAttribute:!0})],Xe.prototype,"buttonTitle",void 0);wt([u({type:Object})],Xe.prototype,"_iconSettings",void 0);wt([u({defaultValue:"0",noAttribute:!0})],Xe.prototype,"forcedTabIndex",void 0);wt([u({type:Boolean})],Xe.prototype,"_isTouch",void 0);wt([F({type:Node,default:!0})],Xe.prototype,"text",void 0);Xe=Js=wt([B({tag:"ui5-button",languageAware:!0,renderer:ee,template:dA,styles:pA,dependencies:[Ie]}),$("click"),$("_active-state-change")],Xe);Xe.define();const Fe=Xe;var Q_;(function(i){i.Group="Group",i.Individual="Individual"})(Q_||(Q_={}));const Ki=Q_;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const vA={packageName:"@ui5/webcomponents",fileName:"themes/AvatarGroup.css.ts",content:`:host{-webkit-tap-highlight-color:rgba(0,0,0,0)}:host(:not([hidden])){display:block;width:100%}:host{--_ui5-v1-22-1-rc-0_button_focused_border: var(--_ui5-v1-22-1-rc-0_avatar_group_button_focus_border)}.ui5-avatar-group-items:focus{outline:none}:host([type="Group"]) .ui5-avatar-group-items:focus{outline:var(--_ui5-v1-22-1-rc-0_avatar_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_avatar_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_avatar_group_focus_border_radius)}.ui5-avatar-group-root{display:flex}.ui5-avatar-group-items{white-space:nowrap;position:relative;display:inline-flex}:host([type="Group"]) .ui5-avatar-group-items{cursor:pointer}:host([type="Group"]) ::slotted([ui5-button]),:host([type="Group"]) ::slotted([ui5-avatar]){pointer-events:none}::slotted([ui5-button]:not([hidden])),.ui5-avatar-group-overflow-btn:not([hidden]){--_ui5-v1-22-1-rc-0_button_base_padding: 0;border-radius:50%;display:inline-flex;text-overflow:initial;z-index:0}::slotted([ui5-button][focused]),.ui5-avatar-group-overflow-btn[focused]{outline:var(--_ui5-v1-22-1-rc-0_avatar_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_avatar_focus_offset)}.ui5-avatar-group-overflow-btn.ui5-avatar-group-overflow-btn-xs{height:2rem;width:2rem;min-width:2rem;font-size:.75rem}::slotted([ui5-button]),.ui5-avatar-group-overflow-btn.ui5-avatar-group-overflow-btn-s{height:3rem;width:3rem;min-width:3rem;font-size:1.125rem}.ui5-avatar-group-overflow-btn.ui5-avatar-group-overflow-btn-m{height:4rem;width:4rem;min-width:4rem;font-size:1.625rem}.ui5-avatar-group-overflow-btn.ui5-avatar-group-overflow-btn-l{height:5rem;width:5rem;min-width:5rem;font-size:2rem}.ui5-avatar-group-overflow-btn.ui5-avatar-group-overflow-btn-xl{height:7rem;width:7rem;min-width:7rem;font-size:2.75rem} +`};function fA(i,e,t){return c`
${this._customOverflowButton?mA.call(this,i,e,t):gA.call(this,i,e,t)}
`}function mA(i,e,t){return c``}function gA(i,e,t){return t?c`<${d("ui5-button",e,t)} .accessibilityAttributes="${a(this._overflowButtonAccAttributes)}" aria-label="${a(this._overflowButtonAriaLabelText)}" ?hidden="${this._overflowBtnHidden}" ?non-interactive=${this._isGroup} class="${T(this.classes.overflowButton)}">${a(this._overflowButtonText)}`:c`${a(this._overflowButtonText)}`}var Ds=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},cn;const jy="ui5-avatar-group-overflow-btn",bA=`.${jy}`,yA={[Ii.XS]:{[Ki.Individual]:"0.0625rem",[Ki.Group]:"-0.75rem"},[Ii.S]:{[Ki.Individual]:"0.125rem",[Ki.Group]:"-1.25rem"},[Ii.M]:{[Ki.Individual]:"0.125rem",[Ki.Group]:"-1.625rem"},[Ii.L]:{[Ki.Individual]:"0.125rem",[Ki.Group]:" -2rem"},[Ii.XL]:{[Ki.Individual]:"0.25rem",[Ki.Group]:"-2.75rem"}};let kn=cn=class extends j{constructor(){super(),this._itemNavigation=new _r(this,{getItemsCallback:()=>this._isGroup?[]:this.items.slice(0,this._hiddenStartIndex)}),this._colorIndex=0,this._hiddenItems=0,this._onResizeHandler=this._onResize.bind(this)}static async onDefine(){cn.i18nBundle=await oe("@ui5/webcomponents")}get hiddenItems(){return this.items.slice(this._hiddenStartIndex)}get colorScheme(){return this.items.map(e=>e.еffectiveBackgroundColor)}get _customOverflowButton(){return this.overflowButton.length?this.overflowButton[0]:void 0}get _ariaLabelText(){const e=this.hiddenItems.length,t=this._isGroup?t2:e2;let o=cn.i18nBundle.getText(t);return o+=` ${cn.i18nBundle.getText(J5,this._itemsCount-e,e)}`,this._isGroup?o+=` ${cn.i18nBundle.getText(L_)}`:o+=` ${cn.i18nBundle.getText(i2)}`,o}get _overflowButtonAriaLabelText(){return this._isGroup?void 0:cn.i18nBundle.getText(L_)}get _containerAriaHasPopup(){return this._isGroup?this._getAriaHasPopup():void 0}get _overflowButtonAccAttributes(){return{hasPopup:this._isGroup?void 0:this._getAriaHasPopup()}}get _role(){return this._isGroup?"button":"group"}get _hiddenStartIndex(){return this._itemsCount-this._hiddenItems}get _overflowBtnHidden(){return this._hiddenItems===0}get _isGroup(){return this.type===Ki.Group}get _itemsCount(){return this.items.length}get _groupTabIndex(){return this._isGroup?"0":"-1"}get _overflowButton(){return this.shadowRoot.querySelector(bA)}get _overflowButtonEffectiveWidth(){const e=this._customOverflowButton?this._customOverflowButton:this._overflowButton;if(!e)return 0;if(this._isGroup){let t=this.items[1];const o=t.offsetLeft-this.offsetLeft;return(!t||t.hidden)&&(t=e),this.effectiveDir==="rtl"?this._getWidthToItem(t):o}return e.offsetWidth}get firstAvatarSize(){return this.items[0].size}get classes(){return{overflowButton:{"ui5-avatar-group-overflow-btn":!0,"ui5-avatar-group-overflow-btn-xs":this.firstAvatarSize===Ii.XS,"ui5-avatar-group-overflow-btn-s":this.firstAvatarSize===Ii.S,"ui5-avatar-group-overflow-btn-m":this.firstAvatarSize===Ii.M,"ui5-avatar-group-overflow-btn-l":this.firstAvatarSize===Ii.L,"ui5-avatar-group-overflow-btn-xl":this.firstAvatarSize===Ii.XL}}}onAfterRendering(){this._overflowItems()}onBeforeRendering(){this._customOverflowButton&&(this._customOverflowButton.nonInteractive=this._isGroup),this._prepareAvatars()}onEnterDOM(){Pe.register(this,this._onResizeHandler)}onExitDOM(){Pe.deregister(this,this._onResizeHandler)}_onResize(){this._overflowItems()}_onkeydown(e){this._isGroup&&(de(e)?this._fireGroupEvent(e.target):te(e)&&e.preventDefault())}_onkeyup(e){!e.shiftKey&&te(e)&&this._isGroup&&(this._fireGroupEvent(e.target),e.preventDefault())}_fireGroupEvent(e){const t=e.classList.contains(jy)||e===this._customOverflowButton;this.fireEvent("click",{targetRef:e,overflowButtonClicked:t})}_onClick(e){const t=e.target,o=t.hasAttribute("ui5-button");e.stopPropagation(),(this._isGroup||o)&&this._fireGroupEvent(t)}_onUI5Click(e){const t=e.target,o=t.hasAttribute("ui5-avatar");e.stopPropagation(),o&&this._fireGroupEvent(t)}_prepareAvatars(){this._colorIndex=0,this.items.forEach((e,t)=>{const o=this._getNextBackgroundColor();e.interactive=!this._isGroup,e.getAttribute("_color-scheme")||e.setAttribute("_color-scheme",Ll[`Accent${o}`]),(t!==this._itemsCount-1||this._customOverflowButton)&&(e.style.marginInlineEnd=yA[e.effectiveSize][this.type])})}_onfocusin(e){this._itemNavigation.setCurrentItem(e.target)}_getWidthToItem(e){const t=this.effectiveDir==="rtl",o=e.offsetLeft-this.offsetLeft;if(t){const r=e.offsetParent;return r?r.offsetWidth-e.offsetLeft-e.offsetWidth:0}return o}_overflowItems(){if(this.items.length<2)return;let e=0;for(let t=0;tthis.offsetWidth){e=this._itemsCount-t;break}}this._setHiddenItems(e)}_getNextBackgroundColor(){return++this._colorIndex>10&&(this._colorIndex=1),this._colorIndex}_setHiddenItems(e){const t=this._hiddenItems!==e;this._hiddenItems=e,this.items.forEach((o,r)=>{o.hidden=r>=this._hiddenStartIndex}),this._overflowButtonText=`+${e>99?99:e}`,t&&this.fireEvent("overflow")}_getAriaHasPopup(){if(this.ariaHaspopup!=="")return this.ariaHaspopup}};Ds([u({type:Ki,defaultValue:Ki.Group})],kn.prototype,"type",void 0);Ds([u()],kn.prototype,"ariaHaspopup",void 0);Ds([u({noAttribute:!0})],kn.prototype,"_overflowButtonText",void 0);Ds([F({type:HTMLElement,default:!0})],kn.prototype,"items",void 0);Ds([F()],kn.prototype,"overflowButton",void 0);kn=cn=Ds([B({tag:"ui5-avatar-group",renderer:ee,template:fA,styles:vA,dependencies:[Fe]}),$("click",{detail:{targetRef:{type:HTMLElement},overflowButtonClicked:{type:Boolean}}}),$("overflow")],kn);kn.define();const wA="sys-help-2",Gy="M256 0q53 0 99.5 20T437 74.5t55 81.5 20 100-20 99.5-55 81.5-81.5 55-99.5 20-100-20-81.5-55T20 355.5 0 256t20-100 54.5-81.5T156 20 256 0zm-5 425q15 0 26-11t11-26-11-25.5-26-10.5-25.5 10.5T215 388t10.5 26 25.5 11zm101-239q0-32-27-57t-77-25q-46 0-72.5 24T146 187h52q5-24 17.5-32.5T251 146t35 12.5 12 27.5q0 10-2.5 14T282 215l-20 17q-15 12-23 21t-11.5 18.5-4.5 21-1 27.5h50q0-12 .5-19t3-12.5T283 278t15-13l27-25 16-18 9-16z",kA=!0,$A="SAP-icons-v4",TA="@ui5/webcomponents-icons";Y(wA,{pathData:Gy,ltr:kA,collection:$A,packageName:TA});const xA="sys-help-2",Yy="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm32 289q31-10 50.5-36.5T358 192q0-43-29.5-72.5T256 90q-21 0-39.5 8T184 118.5 162 148t-8 35q0 20 9 30.5t23 10.5q13 0 22.5-9t9.5-23q0-16 11-27t27-11 27 11 11 27-11 27-27 11q-14 0-23 9.5t-9 22.5v26q0 14 9 23t23 9q13 0 22-9t10-22zm-32 127q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9z",SA=!0,IA="SAP-icons-v5",CA="@ui5/webcomponents-icons";Y(xA,{pathData:Yy,ltr:SA,collection:IA,packageName:CA});we();const AA="sys-enter-2",Ky="M512 256q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256t20.5-100 55-81.5T157 20t99-20q53 0 100 20t81.5 54.5T492 156t20 100zm-118-87q4-8-1-13l-36-36q-3-4-8-4t-8 5L237 294q-3 1-4 0l-70-52q-4-3-7-3t-4.5 2-2.5 3l-29 41q-6 8 2 14l113 95q2 2 7 2t8-4z",BA=!0,EA="SAP-icons-v4",DA="@ui5/webcomponents-icons";Y(AA,{pathData:Ky,ltr:BA,collection:EA,packageName:DA});const PA="sys-enter-2",Xy="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 0zm150 183q10-9 10-23 0-13-9.5-22.5T384 128t-22 9L186 308l-68-63q-9-9-22-9t-22.5 9.5T64 268q0 15 10 24l91 83q9 9 21 9 13 0 23-9z",OA=!0,RA="SAP-icons-v5",LA="@ui5/webcomponents-icons";Y(PA,{pathData:Xy,ltr:OA,collection:RA,packageName:LA});we();const Zy={key:"ICON_ADD",defaultText:"Add"},Qy={key:"ICON_DECLINE",defaultText:"Decline"},Jy={key:"ICON_ERROR",defaultText:"Error"},ew={key:"ICON_OVERFLOW",defaultText:"More"},MA="error",tw="M512 256q0 53-20.5 100t-55 81.5-81 54.5-99.5 20-100-20.5-81.5-55T20 355 0 256q0-54 20-100.5t55-81T156.5 20 256 0t99.5 20T437 75t55 81.5 20 99.5zM399 364q6-6 0-12l-86-86q-6-6 0-12l81-81q6-6 0-12l-37-37q-2-2-6-2t-6 2l-83 82q-1 3-6 3-3 0-6-3l-84-83q-1-2-6-2-4 0-6 2l-37 37q-6 6 0 12l83 82q6 6 0 12l-83 82q-2 2-2.5 6t2.5 6l36 37q4 2 6 2 4 0 6-2l85-84q2-2 6-2t6 2l88 88q4 2 6 2t6-2z",NA=!1,FA=Jy,zA="SAP-icons-v4",VA="@ui5/webcomponents-icons";Y(MA,{pathData:tw,ltr:NA,accData:FA,collection:zA,packageName:VA});const HA="error",iw="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm45 256l74-73q9-11 9-23 0-13-9.5-22.5T352 128q-12 0-23 9l-73 74-73-74q-10-9-23-9t-22.5 9.5T128 160q0 12 9 23l74 73-74 73q-9 10-9 23t9.5 22.5T160 384t23-9l73-74 73 74q11 9 23 9 13 0 22.5-9.5T384 352t-9-23z",UA=!1,WA=Jy,qA="SAP-icons-v5",jA="@ui5/webcomponents-icons";Y(HA,{pathData:iw,ltr:UA,accData:WA,collection:qA,packageName:jA});we();const GA="information",ow="M0 256q0-53 20.5-100t55-81.5T157 20t99-20q54 0 100.5 20t81 55 54.5 81.5 20 99.5q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256zm192 112v33h128v-33h-32V215q0-6-7-6h-88v31h32v128h-33zm34-201q14 11 30 11 17 0 29.5-11.5T298 138q0-19-13-31-12-12-29-12-19 0-30.5 12.5T214 138q0 17 12 29z",YA=!1,KA="SAP-icons-v4",XA="@ui5/webcomponents-icons";Y(GA,{pathData:ow,ltr:YA,collection:KA,packageName:XA});const ZA="information",rw="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 160q14 0 23-9t9-23-9-23-23-9-23 9-9 23 9 23 23 9zm32 64q0-14-9-23t-23-9-23 9-9 23v160q0 14 9 23t23 9 23-9 9-23V224z",QA=!1,JA="SAP-icons-v5",eB="@ui5/webcomponents-icons";Y(ZA,{pathData:rw,ltr:QA,collection:JA,packageName:eB});we();var J_;(function(i){i.None="None",i.Normal="Normal"})(J_||(J_={}));const Di=J_;var eh;(function(i){i.Set1="Set1",i.Set2="Set2",i.Set3="Set3",i.Neutral="Neutral",i.Information="Information",i.Positive="Positive",i.Negative="Negative",i.Critical="Critical"})(eh||(eh={}));const _o=eh;function tB(i,e,t){return c`${this.interactive?iB.call(this,i,e,t):nB.call(this,i,e,t)} `}function iB(i,e,t){return c``}function oB(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-badge-semantic-icon" name="${a(this._semanticIconName)}">`:c``}function rB(i,e,t){return c``}function nB(i,e,t){return c`
${this._semanticIconName?aB.call(this,i,e,t):void 0}${a(this.badgeDescription)}${this.hasText?sB.call(this,i,e,t):void 0}
`}function aB(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-badge-semantic-icon" name="${a(this._semanticIconName)}">`:c``}function sB(i,e,t){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const lB={packageName:"@ui5/webcomponents",fileName:"themes/Badge.css.ts",content:`.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{font-size:var(--_ui5-v1-22-1-rc-0-badge-font-size);font-family:var(--_ui5-v1-22-1-rc-0-badge-font);font-weight:var(--_ui5-v1-22-1-rc-0-badge-font-weight);letter-spacing:var(--_ui5-v1-22-1-rc-0-badge-letter-spacing)}:host([_is-tag-design]){font-family:var(--sapFontBoldFamily);font-size:var(--sapFontSmallSize)}.ui5-badge-root{display:flex;align-items:center;justify-content:center;width:100%;min-width:1.125em;max-width:100%;min-height:var(--_ui5-v1-22-1-rc-0-badge-height);height:var(--_ui5-v1-22-1-rc-0-badge-height);box-sizing:border-box;padding:0 var(--_ui5-v1-22-1-rc-0-badge-padding-inline);border:var(--_ui5-v1-22-1-rc-0-badge-border);border-radius:var(--_ui5-v1-22-1-rc-0-badge-border-radius);white-space:nowrap;font-size:inherit;font-family:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit}:host([_is-tag-design]) .ui5-badge-root{padding:0 .25rem;border:.0625rem solid;border-radius:var(--sapButton_BorderCornerRadius)}:host([_is-tag-design][interactive]) .ui5-badge-root:active{text-shadow:var(--ui5-v1-22-1-rc-0-badge-text-shadow)}:host([interactive]) .ui5-badge-root{cursor:pointer}:host([interactive]) .ui5-badge-root:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:1px}:host([wrapping-type="Normal"]) .ui5-badge-root{white-space:normal;height:auto}:host([_icon-only]) .ui5-badge-root{padding-inline:var(--_ui5-v1-22-1-rc-0-badge-padding-inline-icon-only)}.ui5-badge-text{text-transform:var(--_ui5-v1-22-1-rc-0-badge-text-transform);text-align:start;pointer-events:none;overflow:hidden;text-overflow:ellipsis}:host([_has-icon]) .ui5-badge-text{padding-inline-start:var(--_ui5-v1-22-1-rc-0-badge-icon-gap)}[ui5-icon],::slotted([ui5-icon]){width:.75rem;min-width:.75rem;height:var(--_ui5-v1-22-1-rc-0-badge-height);min-height:var(--_ui5-v1-22-1-rc-0-badge-height);color:inherit;pointer-events:none}:host([wrapping-type="Normal"]) [ui5-icon],:host([wrapping-type="Normal"]) ::slotted([ui5-icon]){align-self:flex-start}.ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-1-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-1-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-1-color)}:host([color-scheme="2"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-2-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-2-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-2-color)}:host([color-scheme="3"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-3-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-3-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-3-color)}:host([color-scheme="4"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-4-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-4-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-4-color)}:host([color-scheme="5"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-5-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-5-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-5-color)}:host([color-scheme="6"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-6-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-6-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-6-color)}:host([color-scheme="7"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-7-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-7-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-7-color)}:host([color-scheme="8"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-8-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-8-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-8-color)}:host([color-scheme="9"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-9-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-9-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-9-color)}:host([color-scheme="10"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-10-background);border-color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-10-border);color:var(--ui5-v1-22-1-rc-0-badge-color-scheme-10-color)}:host([design="Neutral"]) .ui5-badge-root{background-color:var(--sapNeutralBackground);border-color:var(--sapNeutralBorderColor);color:var(--sapTextColor);text-shadow:var(--ui5-v1-22-1-rc-0-badge-text-shadow)}:host([interactive][design="Neutral"]) .ui5-badge-root:hover{background-color:var(--sapButton_Neutral_Hover_Background);border-color:var(--sapButton_Neutral_Hover_BorderColor);color:var(--sapButton_Neutral_Hover_TextColor)}:host([interactive][design="Neutral"]) .ui5-badge-root:active{background-color:var(--sapButton_Neutral_Active_Background);border-color:var(--sapButton_Neutral_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([design="Positive"]) .ui5-badge-root{background-color:var(--sapButton_Success_Background);border-color:var(--sapButton_Success_BorderColor);color:var(--sapButton_Success_TextColor);text-shadow:var(--ui5-v1-22-1-rc-0-badge-contrast-text-shadow)}:host([interactive][design="Positive"]) .ui5-badge-root:hover{background-color:var(--sapButton_Success_Hover_Background);border-color:var(--sapButton_Success_Hover_BorderColor);color:var(--sapButton_Success_Hover_TextColor)}:host([interactive][design="Positive"]) .ui5-badge-root:active{background-color:var(--sapButton_Success_Active_Background);border-color:var(--sapButton_Success_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Negative"]) .ui5-badge-root{background-color:var(--sapButton_Negative_Background);border-color:var(--sapButton_Negative_BorderColor);color:var(--sapButton_Negative_TextColor);text-shadow:var(--ui5-v1-22-1-rc-0-badge-contrast-text-shadow)}:host([interactive][design="Negative"]) .ui5-badge-root:hover{background-color:var(--sapButton_Negative_Hover_Background);border-color:var(--sapButton_Negative_Hover_BorderColor);color:var(--sapButton_Negative_Hover_TextColor)}:host([interactive][design="Negative"]) .ui5-badge-root:active{background-color:var(--sapButton_Negative_Active_Background);border-color:var(--sapButton_Negative_Active_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Critical"]) .ui5-badge-root{background-color:var(--sapButton_Critical_Background);border-color:var(--sapButton_Critical_BorderColor);color:var(--sapButton_Critical_TextColor);text-shadow:var(--ui5-v1-22-1-rc-0-badge-contrast-text-shadow)}:host([interactive][design="Critical"]) .ui5-badge-root:hover{background-color:var(--sapButton_Critical_Hover_Background);border-color:var(--sapButton_Critical_Hover_BorderColor);color:var(--sapButton_Critical_Hover_TextColor)}:host([interactive][design="Critical"]) .ui5-badge-root:active{background-color:var(--sapButton_Critical_Active_Background);border-color:var(--sapButton_Critical_Active_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Information"]) .ui5-badge-root{background-color:var(--sapButton_Information_Background);border-color:var(--sapButton_Information_BorderColor);color:var(--sapButton_Information_TextColor);text-shadow:var(--ui5-v1-22-1-rc-0-badge-text-shadow)}:host([interactive][design="Information"]) .ui5-badge-root:hover{background-color:var(--sapButton_Information_Hover_Background);border-color:var(--sapButton_Information_Hover_BorderColor);color:var(--sapButton_Information_Hover_TextColor)}:host([interactive][design="Information"]) .ui5-badge-root:active{background-color:var(--sapButton_Information_Active_Background);border-color:var(--sapButton_Information_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Set1"]) .ui5-badge-root{text-shadow:var(--ui5-v1-22-1-rc-0-badge-contrast-text-shadow)}:host([design="Set1"]) .ui5-badge-root{background-color:var(--sapIndicationColor_1_Background);border-color:var(--sapIndicationColor_1_BorderColor);color:var(--sapIndicationColor_1_TextColor)}:host([interactive][design="Set1"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_1_Hover_Background)}:host([interactive][design="Set1"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_1_Active_Background);border-color:var(--sapIndicationColor_1_Active_BorderColor);color:var(--sapIndicationColor_1_Active_TextColor)}:host([design="Set1"][color-scheme="2"]) .ui5-badge-root{background-color:var(--sapIndicationColor_2_Background);border-color:var(--sapIndicationColor_2_BorderColor);color:var(--sapIndicationColor_2_TextColor)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_2_Hover_Background)}:host([interactive][design="Set1"][color-scheme="2"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_2_Active_Background);border-color:var(--sapIndicationColor_2_Active_BorderColor);color:var(--sapIndicationColor_2_Active_TextColor)}:host([design="Set1"][color-scheme="3"]) .ui5-badge-root{background-color:var(--sapIndicationColor_3_Background);border-color:var(--sapIndicationColor_3_BorderColor);color:var(--sapIndicationColor_3_TextColor)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_3_Hover_Background)}:host([interactive][design="Set1"][color-scheme="3"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_3_Active_Background);border-color:var(--sapIndicationColor_3_Active_BorderColor);color:var(--sapIndicationColor_3_Active_TextColor)}:host([design="Set1"][color-scheme="4"]) .ui5-badge-root{background-color:var(--sapIndicationColor_4_Background);border-color:var(--sapIndicationColor_4_BorderColor);color:var(--sapIndicationColor_4_TextColor)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_4_Hover_Background)}:host([interactive][design="Set1"][color-scheme="4"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_4_Active_Background);border-color:var(--sapIndicationColor_4_Active_BorderColor);color:var(--sapIndicationColor_4_Active_TextColor)}:host([design="Set1"][color-scheme="5"]) .ui5-badge-root{background-color:var(--sapIndicationColor_5_Background);border-color:var(--sapIndicationColor_5_BorderColor);color:var(--sapIndicationColor_5_TextColor)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_5_Hover_Background)}:host([interactive][design="Set1"][color-scheme="5"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_5_Active_Background);border-color:var(--sapIndicationColor_5_Active_BorderColor);color:var(--sapIndicationColor_5_Active_TextColor)}:host([design="Set1"][color-scheme="6"]) .ui5-badge-root{background-color:var(--sapIndicationColor_6_Background);border-color:var(--sapIndicationColor_6_BorderColor);color:var(--sapIndicationColor_6_TextColor)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_6_Hover_Background)}:host([interactive][design="Set1"][color-scheme="6"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_6_Active_Background);border-color:var(--sapIndicationColor_6_Active_BorderColor);color:var(--sapIndicationColor_6_Active_TextColor)}:host([design="Set1"][color-scheme="7"]) .ui5-badge-root{background-color:var(--sapIndicationColor_7_Background);border-color:var(--sapIndicationColor_7_BorderColor);color:var(--sapIndicationColor_7_TextColor)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_7_Hover_Background)}:host([interactive][design="Set1"][color-scheme="7"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_7_Active_Background);border-color:var(--sapIndicationColor_7_Active_BorderColor);color:var(--sapIndicationColor_7_Active_TextColor)}:host([design="Set1"][color-scheme="8"]) .ui5-badge-root{background-color:var(--sapIndicationColor_8_Background);border-color:var(--sapIndicationColor_8_BorderColor);color:var(--sapIndicationColor_8_TextColor)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_8_Hover_Background)}:host([interactive][design="Set1"][color-scheme="8"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_8_Active_Background);border-color:var(--sapIndicationColor_8_Active_BorderColor);color:var(--sapIndicationColor_8_Active_TextColor)}:host([design="Set1"][color-scheme="9"]) .ui5-badge-root{background-color:var(--sapIndicationColor_9_Background);border-color:var(--sapIndicationColor_9_BorderColor);color:var(--sapIndicationColor_9_TextColor)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_9_Hover_Background)}:host([interactive][design="Set1"][color-scheme="9"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_9_Active_Background);border-color:var(--sapIndicationColor_9_Active_BorderColor);color:var(--sapIndicationColor_9_Active_TextColor)}:host([design="Set1"][color-scheme="10"]) .ui5-badge-root{background-color:var(--sapIndicationColor_10_Background);border-color:var(--sapIndicationColor_10_BorderColor);color:var(--sapIndicationColor_10_TextColor)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-badge-root:hover{background-color:var(--sapIndicationColor_10_Hover_Background)}:host([interactive][design="Set1"][color-scheme="10"]) .ui5-badge-root:active{background-color:var(--sapIndicationColor_10_Active_Background);border-color:var(--sapIndicationColor_10_Active_BorderColor);color:var(--sapIndicationColor_10_Active_TextColor)}:host([design="Set2"]) .ui5-badge-root{text-shadow:var(--ui5-v1-22-1-rc-0-badge-text-shadow)}:host([design="Set2"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-color)}:host([interactive][design="Set2"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-hover-background)}:host([interactive][design="Set2"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-1-active-color)}:host([design="Set2"][color-scheme="2"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-color)}:host([design="Set2"][color-scheme="3"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-color)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-hover-background)}:host([interactive][design="Set2"][color-scheme="3"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-3-active-color)}:host([design="Set2"][color-scheme="4"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-color)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-hover-background)}:host([interactive][design="Set2"][color-scheme="4"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-4-active-color)}:host([design="Set2"][color-scheme="5"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-color)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-hover-background)}:host([interactive][design="Set2"][color-scheme="5"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-5-active-color)}:host([design="Set2"][color-scheme="6"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-color)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-hover-background)}:host([interactive][design="Set2"][color-scheme="6"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-6-active-color)}:host([design="Set2"][color-scheme="7"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-color)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-hover-background)}:host([interactive][design="Set2"][color-scheme="7"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-7-active-color)}:host([design="Set2"][color-scheme="8"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-color)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-hover-background)}:host([interactive][design="Set2"][color-scheme="8"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-8-active-color)}:host([design="Set2"][color-scheme="9"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-9-color)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-hover-background)}:host([interactive][design="Set2"][color-scheme="10"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-active-color)}:host([design="Set2"][color-scheme="10"]) .ui5-badge-root{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-10-color)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-badge-root:hover{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-hover-background)}:host([interactive][design="Set2"][color-scheme="2"]) .ui5-badge-root:active{background-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-active-background);border-color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-active-border);color:var(--ui5-v1-22-1-rc-0-badge-set2-color-scheme-2-active-color)}:host([slot="badge"]) ::slotted([ui5-icon][slot="icon"]){width:100%;height:100%;min-width:100%;min-height:100%} +`};var Uo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},er;let Ji=er=class extends j{static async onDefine(){er.i18nBundle=await oe("@ui5/webcomponents")}onBeforeRendering(){this._hasIcon=this.hasIcon||!!this._semanticIconName,this._iconOnly=this.iconOnly,this._isTagDesign=this.design!==_o.Set3}get _roleDescription(){return er.i18nBundle.getText(n2)}get _valueState(){switch(this.design){case _o.Positive:return er.i18nBundle.getText(l2);case _o.Negative:return er.i18nBundle.getText(a2);case _o.Critical:return er.i18nBundle.getText(s2);case _o.Information:return er.i18nBundle.getText(c2)}}get hasText(){return ev(this.text)}get hasIcon(){return!!this.icon.length}get iconOnly(){return this.hasIcon&&!this.hasText}get _title(){return this.title||void 0}get badgeDescription(){if(this.interactive)return;if(this.design===_o.Set3)return er.i18nBundle.getText(o2);const e=this._valueState;let t=er.i18nBundle.getText(r2);return e&&(t=`${t} ${e}`),t}get _semanticIconName(){if(this.hideStateIcon||this.hasIcon)return null;switch(this.design){case _o.Neutral:return"sys-help-2";case _o.Positive:return"sys-enter-2";case _o.Negative:return"error";case _o.Critical:return"alert";case _o.Information:return"information";default:return null}}_onclick(){this.fireEvent("click")}};Uo([u({defaultValue:_o.Set3})],Ji.prototype,"design",void 0);Uo([u({defaultValue:"1"})],Ji.prototype,"colorScheme",void 0);Uo([u({type:Boolean})],Ji.prototype,"hideStateIcon",void 0);Uo([u({type:Boolean})],Ji.prototype,"interactive",void 0);Uo([u({type:Di,defaultValue:Di.None})],Ji.prototype,"wrappingType",void 0);Uo([u({type:Boolean})],Ji.prototype,"_hasIcon",void 0);Uo([u({type:Boolean})],Ji.prototype,"_iconOnly",void 0);Uo([u({type:Boolean})],Ji.prototype,"_isTagDesign",void 0);Uo([F({type:Node,default:!0})],Ji.prototype,"text",void 0);Uo([F()],Ji.prototype,"icon",void 0);Ji=er=Uo([B({tag:"ui5-badge",languageAware:!0,renderer:ee,template:tB,styles:lB,dependencies:[Ie]}),$("click")],Ji);Ji.define();class _c{static isValid(e){return!1}static attributeToProperty(e){return e}static propertyToAttribute(e){return e===null?null:String(e)}static valuesAreEqual(e,t){return e===t}static generateTypeAccessors(e){Object.keys(e).forEach(t=>{Object.defineProperty(this,t,{get(){return e[t]}})})}static get isDataTypeClass(){return!0}}class z extends _c{static isValid(e){return Number.isInteger(e)}static attributeToProperty(e){return parseInt(e)}}var th;(function(i){i.Standard="Standard",i.NoCurrentPage="NoCurrentPage"})(th||(th={}));const ih=th;var oh;(function(i){i.Slash="Slash",i.BackSlash="BackSlash",i.DoubleBackSlash="DoubleBackSlash",i.DoubleGreaterThan="DoubleGreaterThan",i.DoubleSlash="DoubleSlash",i.GreaterThan="GreaterThan"})(oh||(oh={}));const Mf=oh;var rh;(function(i){i.Default="Default",i.Subtle="Subtle",i.Emphasized="Emphasized"})(rh||(rh={}));const Nl=rh;var hc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let $n=class extends j{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}get _linkDesign(){return this._isCurrentPageItem?Nl.Emphasized:Nl.Default}};hc([u()],$n.prototype,"href",void 0);hc([u({defaultValue:void 0})],$n.prototype,"target",void 0);hc([u()],$n.prototype,"accessibleName",void 0);hc([F({type:Node,default:!0})],$n.prototype,"text",void 0);$n=hc([B("ui5-breadcrumbs-item")],$n);$n.define();const cB=$n;function uB(i,e,t){return c`${this.hasLinkType?dB.call(this,i,e,t):void 0}`}function dB(i,e,t){return c`${a(this.linkTypeText)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const _B={packageName:"@ui5/webcomponents",fileName:"themes/Link.css.ts",content:`.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-flex}:host{max-width:100%;color:var(--sapLinkColor);font-family:var(--sapFontFamily);font-size:var(--sapFontSize);cursor:pointer;outline:none;text-decoration:var(--_ui5-v1-22-1-rc-0_link_text_decoration);text-shadow:var(--sapContent_TextShadow);white-space:nowrap;overflow-wrap:normal}:host(:hover){color:var(--sapLink_Hover_Color);text-decoration:var(--_ui5-v1-22-1-rc-0_link_hover_text_decoration)}:host(:active){color:var(--sapLink_Active_Color);text-decoration:var(--_ui5-v1-22-1-rc-0_link_active_text_decoration)}:host([disabled]){pointer-events:none}:host([disabled]) .ui5-link-root{text-shadow:none;outline:none;cursor:default;pointer-events:none;opacity:var(--sapContent_DisabledOpacity)}:host([design="Emphasized"]) .ui5-link-root{font-family:var(--sapFontBoldFamily)}:host([design="Subtle"]){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5-v1-22-1-rc-0_link_subtle_text_decoration)}:host([design="Subtle"]:hover:not(:active)){color:var(--sapLink_SubtleColor);text-decoration:var(--_ui5-v1-22-1-rc-0_link_subtle_text_decoration_hover)}:host([wrapping-type="Normal"]){white-space:normal;overflow-wrap:break-word}.ui5-link-root{max-width:100%;display:inline-block;position:relative;overflow:hidden;text-overflow:ellipsis;outline:none;white-space:inherit;overflow-wrap:inherit;text-decoration:inherit;color:inherit}:host .ui5-link-root{border:var(--_ui5-v1-22-1-rc-0_link_border);border-radius:var(--_ui5-v1-22-1-rc-0_link_focus_border-radius)}:host([focused]) .ui5-link-root,:host([design="Subtle"][focused]) .ui5-link-root{background-color:var(--_ui5-v1-22-1-rc-0_link_focus_background_color);border:var(--_ui5-v1-22-1-rc-0_link_border_focus);border-radius:var(--_ui5-v1-22-1-rc-0_link_focus_border-radius);text-shadow:none}:host([focused]),:host([design="Subtle"][focused]){color:var(--_ui5-v1-22-1-rc-0_link_focus_color);text-decoration:var(--_ui5-v1-22-1-rc-0_link_focus_text_decoration)}:host([focused]:hover:not(:active)){color:var(--_ui5-v1-22-1-rc-0_link_focused_hover_text_color);text-decoration:var(--_ui5-v1-22-1-rc-0_link_focused_hover_text_decoration)} +`};var zi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},el;let ei=el=class extends j{constructor(){super(),this._dummyAnchor=document.createElement("a")}onBeforeRendering(){const e=this.target!=="_self"&&this.href&&this._isCrossOrigin();this._rel=e?"noreferrer noopener":void 0}_isCrossOrigin(){const e=window.location;return this._dummyAnchor.href=this.href,!(this._dummyAnchor.hostname===e.hostname&&this._dummyAnchor.port===e.port&&this._dummyAnchor.protocol===e.protocol)}get effectiveTabIndex(){var e;return this.forcedTabIndex?this.forcedTabIndex:this.disabled||!((e=this.textContent)!=null&&e.length)?"-1":"0"}get ariaLabelText(){return Wt(this)}get hasLinkType(){return this.design!==Nl.Default}static typeTextMappings(){return{Subtle:Z2,Emphasized:Q2}}get linkTypeText(){return el.i18nBundle.getText(el.typeTextMappings()[this.design])}get parsedRef(){return this.href&&this.href.length>0?this.href:void 0}get effectiveAccRole(){return this.accessibleRole.toLowerCase()}get _hasPopup(){var e;return(e=this.accessibilityAttributes.hasPopup)==null?void 0:e.toLowerCase()}static async onDefine(){el.i18nBundle=await oe("@ui5/webcomponents")}_onclick(e){const{altKey:t,ctrlKey:o,metaKey:r,shiftKey:n}=e;e.stopImmediatePropagation(),nr(e,"link"),this.fireEvent("click",{altKey:t,ctrlKey:o,metaKey:r,shiftKey:n},!0)||e.preventDefault()}_onfocusin(e){nr(e,"link"),this.focused=!0}_onfocusout(){this.focused=!1}_onkeydown(e){de(e)&&!this.href?this._onclick(e):te(e)&&e.preventDefault(),nr(e,"link")}_onkeyup(e){if(!te(e)){nr(e,"link");return}if(this._onclick(e),this.href&&!e.defaultPrevented){const t=new MouseEvent("click");t.stopImmediatePropagation(),this.getDomRef().dispatchEvent(t)}}};zi([u({type:Boolean})],ei.prototype,"disabled",void 0);zi([u()],ei.prototype,"title",void 0);zi([u()],ei.prototype,"href",void 0);zi([u()],ei.prototype,"target",void 0);zi([u({type:Nl,defaultValue:Nl.Default})],ei.prototype,"design",void 0);zi([u({type:Di,defaultValue:Di.None})],ei.prototype,"wrappingType",void 0);zi([u()],ei.prototype,"accessibleName",void 0);zi([u()],ei.prototype,"accessibleNameRef",void 0);zi([u({defaultValue:"link"})],ei.prototype,"accessibleRole",void 0);zi([u({type:Object})],ei.prototype,"accessibilityAttributes",void 0);zi([u({noAttribute:!0})],ei.prototype,"_rel",void 0);zi([u({noAttribute:!0})],ei.prototype,"forcedTabIndex",void 0);zi([u({type:Boolean})],ei.prototype,"focused",void 0);ei=el=zi([B({tag:"ui5-link",languageAware:!0,renderer:ee,template:uB,styles:_B}),$("click",{detail:{altKey:{type:Boolean},ctrlKey:{type:Boolean},metaKey:{type:Boolean},shiftKey:{type:Boolean}}})],ei);ei.define();const hB=ei;function pB(i,e,t){return c`${this._isPhone?vB.call(this,i,e,t):yB.call(this,i,e,t)}`}function vB(i,e,t){return t?c`<${d("ui5-dialog",e,t)} accessible-name=${a(this.accessibleName)} accessible-name-ref=${a(this.accessibleNameRef)} accessible-role=${a(this.accessibleRole)} stretch _disable-initial-focus @ui5-before-open="${a(this._beforeDialogOpen)}" @ui5-after-open="${a(this._propagateDialogEvent)}" @ui5-before-close="${a(this._propagateDialogEvent)}" @ui5-after-close="${a(this._afterDialogClose)}" exportparts="content, header, footer">${this._hideHeader?void 0:Nf.call(this,i,e,t)}`:c`${this._hideHeader?void 0:Nf.call(this,i,e,t)}`}function Nf(i,e,t){return c`${this.header.length?fB.call(this,i,e,t):mB.call(this,i,e,t)}`}function fB(i,e,t){return c``}function mB(i,e,t){return c`
${this.headerText?gB.call(this,i,e,t):void 0}${this._hideCloseButton?void 0:bB.call(this,i,e,t)}
`}function gB(i,e,t){return t?c`<${d("ui5-title",e,t)} level="H2" class="ui5-popup-header-text ui5-responsive-popover-header-text">${a(this.headerText)}`:c`${a(this.headerText)}`}function bB(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this._closeDialogAriaLabel)}" @click="${this.close}">`:c``}function yB(i,e,t){return c`
${this._displayHeader?wB.call(this,i,e,t):void 0}
${this._displayFooter?TB.call(this,i,e,t):void 0}
`}function wB(i,e,t){return c`
${this.header.length?kB.call(this,i,e,t):$B.call(this,i,e,t)}
`}function kB(i,e,t){return c``}function $B(i,e,t){return c`

${a(this.headerText)}

`}function TB(i,e,t){return c`${this.footer.length?xB.call(this,i,e,t):void 0}`}function xB(i,e,t){return c`
`}class id extends _c{static isValid(e){return typeof e=="string"||e instanceof HTMLElement}static propertyToAttribute(e){return e instanceof HTMLElement?null:e}}const Do=(i,e,t)=>Math.min(Math.max(i,e),t),SB=i=>{const e=getComputedStyle(i);return["size","inline-size"].indexOf(e.containerType)>-1||["transform","perspective"].indexOf(e.willChange)>-1||["layout","paint","strict","content"].indexOf(e.contain)>-1||e.transform&&e.transform!=="none"||e.perspective&&e.perspective!=="none"||e.backdropFilter&&e.backdropFilter!=="none"},Ff=i=>i.parentElement?i.parentNode:i.parentNode.host,IB="ui5-content-native-scrollbars",iv=()=>document.body.classList.contains(IB),nh=new Map,pc=new Map;pc.set("S",[0,599]);pc.set("M",[600,1023]);pc.set("L",[1024,1439]);pc.set("XL",[1440,1/0]);var xu;(function(i){i.RANGE_4STEPS="4Step"})(xu||(xu={}));const CB=(i,e)=>{nh.set(i,e)},AB=(i,e=window.innerWidth)=>{let t=nh.get(i);t||(t=nh.get(xu.RANGE_4STEPS));let o;const r=Math.floor(e);return t.forEach((n,s)=>{r>=n[0]&&r<=n[1]&&(o=s)}),o||[...t.keys()][0]},Su={RANGESETS:xu,initRangeSet:CB,getCurrentRange:AB};Su.initRangeSet(Su.RANGESETS.RANGE_4STEPS,pc);function BB(i,e,t){return c`
`}function EB(i,e,t){return c`
`}var ah;(function(i){i.None="None",i.Dialog="Dialog",i.AlertDialog="AlertDialog"})(ah||(ah={}));const ls=ah;let po=[];const nw=(i,e=[])=>{po.some(t=>t.instance===i)||po.push({instance:i,parentPopovers:e}),lw(),po.length===1&&PB()},aw=i=>{po=po.filter(e=>e.instance!==i),lw(),po.length||OB()},DB=()=>[...po],sw=i=>{po.length&&Zi(i)&&po[po.length-1].instance.close(!0)},PB=()=>{document.addEventListener("keydown",sw)},OB=()=>{document.removeEventListener("keydown",sw)},lw=()=>{let i,e=!1;for(let t=po.length-1;t>=0;t--)i=po[t].instance,!e&&i.isModal?(i.isTopModalPopup=!0,e=!0):i.isTopModalPopup=!1};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const RB={packageName:"@ui5/webcomponents",fileName:"themes/Popup.css.ts",content:`:host{min-width:1px;display:none;position:fixed} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const LB={packageName:"@ui5/webcomponents",fileName:"themes/PopupStaticAreaStyles.css.ts",content:`.ui5-block-layer{display:none;position:fixed;background-color:var(--_ui5-v1-22-1-rc-0_popup_block_layer_background);inset:-500px;outline:none;pointer-events:all;z-index:-1}.ui5-block-layer:not([hidden]){display:inline-block} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const MB={packageName:"@ui5/webcomponents",fileName:"themes/PopupGlobal.css.ts",content:`.ui5-popup-scroll-blocker{overflow:hidden} +`};var ao=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},tl;const NB=()=>{ac("data-ui5-popup-scroll-blocker")||nc(MB,"data-ui5-popup-scroll-blocker")};NB();const Nc=new Set;let vi=tl=class extends j{constructor(){super(),this._resizeHandler=this._resize.bind(this)}onBeforeRendering(){this._blockLayerHidden=!this.isOpen()||!this.isTopModalPopup}onAfterRendering(){this._updateMediaRange()}onEnterDOM(){Pe.register(this,this._resizeHandler)}onExitDOM(){this.isOpen()&&(tl.unblockPageScrolling(this),this._removeOpenedPopup()),Pe.deregister(this,this._resizeHandler)}get _displayProp(){return"block"}_resize(){this._updateMediaRange()}_preventBlockLayerFocus(e){e.preventDefault()}static blockPageScrolling(e){Nc.add(e),Nc.size===1&&document.documentElement.classList.add("ui5-popup-scroll-blocker")}static unblockPageScrolling(e){Nc.delete(e),Nc.size===0&&document.documentElement.classList.remove("ui5-popup-scroll-blocker")}_scroll(e){this.fireEvent("scroll",{scrollTop:e.target.scrollTop,targetRef:e.target})}_onkeydown(e){const t=e.target===this._root&&Ei(e),o=de(e)&&!this.isOpen();(t||o)&&e.preventDefault()}_onfocusout(e){e.relatedTarget||(this._shouldFocusRoot=!0)}_onmousedown(e){zr()||this._root.removeAttribute("tabindex"),this.shadowRoot.contains(e.target)?this._shouldFocusRoot=!0:this._shouldFocusRoot=!1}_onmouseup(){zr()||(this._root.tabIndex=-1),this._shouldFocusRoot&&(Q$()&&this._root.focus(),this._shouldFocusRoot=!1)}async forwardToFirst(){const e=await C_(this);e?e.focus():this._root.focus()}async forwardToLast(){const e=await yS(this);e?e.focus():this._root.focus()}async applyInitialFocus(){await this.applyFocus()}async applyFocus(){if(await this._waitForDomRef(),this.getRootNode()===this)return;let e;this.initialFocus&&(e=this.getRootNode().getElementById(this.initialFocus)||document.getElementById(this.initialFocus)),e=e||await C_(this)||this._root,e&&(e===this._root&&(e.tabIndex=-1),e.focus())}isOpen(){return this.opened}isFocusWithin(){return TT(this._root)}async _open(e){var o;this.fireEvent("before-open",{},!0,!1)&&(this.isModal&&!this.shouldHideBackdrop&&(this.getStaticAreaItemDomRef(),this._blockLayerHidden=!1,tl.blockPageScrolling(this)),this._zIndex=gp(),this.style.zIndex=((o=this._zIndex)==null?void 0:o.toString())||"",this._focusedElementBeforeOpen=$1(),this._show(),this.getDomRef()&&this._updateMediaRange(),this._addOpenedPopup(),this.opened=!0,this.open=!0,await Bi(),!this._disableInitialFocus&&!e&&await this.applyInitialFocus(),this.fireEvent("after-open",{},!1,!1))}_updateMediaRange(){this.mediaRange=Su.getCurrentRange(Su.RANGESETS.RANGE_4STEPS,this.getDomRef().offsetWidth)}_addOpenedPopup(){nw(this)}close(e=!1,t=!1,o=!1){!this.opened||!this.fireEvent("before-close",{escPressed:e},!0,!1)||(this.isModal&&(this._blockLayerHidden=!0,tl.unblockPageScrolling(this)),this.hide(),this.opened=!1,this.open=!1,t||this._removeOpenedPopup(),!this.preventFocusRestore&&!o&&this.resetFocus(),this.fireEvent("after-close",{},!1,!1))}_removeOpenedPopup(){aw(this)}resetFocus(){this._focusedElementBeforeOpen&&(this._focusedElementBeforeOpen.focus(),this._focusedElementBeforeOpen=null)}_show(){this.style.display=this._displayProp}hide(){this.style.display="none"}get _ariaLabel(){return Wt(this)}get _root(){return this.shadowRoot.querySelector(".ui5-popup-root")}get _role(){return this.accessibleRole===ls.None?void 0:this.accessibleRole.toLowerCase()}get _ariaModal(){return this.accessibleRole===ls.None?void 0:"true"}get contentDOM(){return this.shadowRoot.querySelector(".ui5-popup-content")}get styles(){return{root:{},content:{},blockLayer:{zIndex:this._zIndex?this._zIndex-1:""}}}get classes(){return{root:{"ui5-popup-root":!0,"ui5-content-native-scrollbars":iv()},content:{"ui5-popup-content":!0}}}};ao([u()],vi.prototype,"initialFocus",void 0);ao([u({type:Boolean})],vi.prototype,"preventFocusRestore",void 0);ao([u({type:Boolean})],vi.prototype,"open",void 0);ao([u({type:Boolean,noAttribute:!0})],vi.prototype,"opened",void 0);ao([u({defaultValue:void 0})],vi.prototype,"accessibleName",void 0);ao([u({defaultValue:""})],vi.prototype,"accessibleNameRef",void 0);ao([u({type:ls,defaultValue:ls.Dialog})],vi.prototype,"accessibleRole",void 0);ao([u()],vi.prototype,"mediaRange",void 0);ao([u({type:Boolean})],vi.prototype,"_disableInitialFocus",void 0);ao([u({type:Boolean})],vi.prototype,"_blockLayerHidden",void 0);ao([u({type:Boolean,noAttribute:!0})],vi.prototype,"isTopModalPopup",void 0);ao([F({type:HTMLElement,default:!0})],vi.prototype,"content",void 0);vi=tl=ao([B({renderer:ee,styles:RB,template:BB,staticAreaTemplate:EB,staticAreaStyles:LB}),$("before-open"),$("after-open"),$("before-close",{detail:{escPressed:{type:Boolean}}}),$("after-close"),$("scroll")],vi);const cw=vi;var sh;(function(i){i.Left="Left",i.Right="Right",i.Top="Top",i.Bottom="Bottom"})(sh||(sh={}));const nt=sh;var lh;(function(i){i.Center="Center",i.Top="Top",i.Bottom="Bottom",i.Stretch="Stretch"})(lh||(lh={}));const aa=lh;var ch;(function(i){i.Center="Center",i.Left="Left",i.Right="Right",i.Stretch="Stretch"})(ch||(ch={}));const Nt=ch;let uw;const FB=300,ai=[],vc=()=>{ai.forEach(i=>{i.instance.reposition()})},zB=()=>{document.activeElement.tagName==="IFRAME"&&ZB().reverse().forEach(i=>i.instance.close(!1,!1,!0))},VB=()=>{uw=setInterval(()=>{vc(),zB()},FB)},HB=()=>{clearInterval(uw)},UB=()=>{document.addEventListener("scroll",vc,{capture:!0})},WB=()=>{document.removeEventListener("scroll",vc,{capture:!0})},qB=i=>{i&&i.shadowRoot.addEventListener("scroll",vc,{capture:!0})},jB=i=>{i&&i.shadowRoot.removeEventListener("scroll",vc,{capture:!0})},GB=()=>{document.addEventListener("mousedown",dw)},YB=()=>{document.removeEventListener("mousedown",dw)},dw=i=>{const e=DB();if(!(e.length===0||!nE(e[e.length-1].instance)))for(let o=e.length-1;o!==-1;o--){const r=e[o].instance;if(r.isModal||r.isOpenerClicked(i))return;if(ST(i,r.getBoundingClientRect()))break;r.close()}},KB=i=>{const e=QB(i);nw(i,e),ai.push({instance:i,parentPopovers:e}),qB(i),ai.length===1&&(UB(),GB(),VB())},XB=i=>{const e=[i];for(let t=0;t0&&o>-1&&e.push(ai[t].instance)}for(let t=e.length-1;t>=0;t--)for(let o=0;o=0&&(aw(ai[r].instance),jB(ai[r].instance),ai.splice(r,1)[0].instance.close(!1,!0))}ai.length||(WB(),YB(),HB())},ZB=()=>ai,QB=i=>{let e=i.parentNode;const t=[];for(;e&&e.parentNode;){for(let o=0;o${this._displayHeader?eE.call(this,i,e,t):void 0}
${this._displayFooter?oE.call(this,i,e,t):void 0} `}function eE(i,e,t){return c`
${this.header.length?tE.call(this,i,e,t):iE.call(this,i,e,t)}
`}function tE(i,e,t){return c``}function iE(i,e,t){return c`

${a(this.headerText)}

`}function oE(i,e,t){return c`${this.footer.length?rE.call(this,i,e,t):void 0}`}function rE(i,e,t){return c`
`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const od={packageName:"@ui5/webcomponents",fileName:"themes/BrowserScrollbar.css.ts",content:`:not(.ui5-content-native-scrollbars) ::-webkit-scrollbar:horizontal{height:var(--sapScrollBar_Dimension)}:not(.ui5-content-native-scrollbars) ::-webkit-scrollbar:vertical{width:var(--sapScrollBar_Dimension)}:not(.ui5-content-native-scrollbars) ::-webkit-scrollbar{background-color:var(--sapScrollBar_TrackColor);border-left:var(--browser_scrollbar_border)}:not(.ui5-content-native-scrollbars) ::-webkit-scrollbar-thumb{border-radius:var(--browser_scrollbar_border_radius);background-color:var(--sapScrollBar_FaceColor)}:not(.ui5-content-native-scrollbars) ::-webkit-scrollbar-thumb:hover{background-color:var(--sapScrollBar_Hover_FaceColor)}:not(.ui5-content-native-scrollbars) ::-webkit-scrollbar-corner{background-color:var(--sapScrollBar_TrackColor)} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const _w={packageName:"@ui5/webcomponents",fileName:"themes/PopupsCommon.css.ts",content:`:host{display:none;position:fixed;background:var(--sapGroup_ContentBackground);border-radius:var(--_ui5-v1-22-1-rc-0_popup_border_radius);min-height:2rem;box-sizing:border-box}.ui5-popup-root{background:inherit;border-radius:inherit;width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;outline:none;justify-content:space-between}.ui5-popup-root .ui5-popup-header-root{color:var(--sapPageHeader_TextColor);box-shadow:var(--_ui5-v1-22-1-rc-0_popup_header_shadow);border-bottom:var(--_ui5-v1-22-1-rc-0_popup_header_border)}.ui5-popup-content{color:var(--sapTextColor);flex:auto}.ui5-popup-footer-root{background:var(--sapPageFooter_Background);border-top:1px solid var(--sapPageFooter_BorderColor);color:var(--sapPageFooter_TextColor)}.ui5-popup-header-root,.ui5-popup-footer-root,:host([header-text]) .ui5-popup-header-text{margin:0;font-size:1rem;font-family:"72override",var(--_ui5-v1-22-1-rc-0_popup_header_font_family);display:flex;justify-content:center;align-items:center}.ui5-popup-header-root .ui5-popup-header-text{font-weight:var(--_ui5-v1-22-1-rc-0_popup_header_font_weight)}.ui5-popup-content{overflow:auto;box-sizing:border-box}:host([header-text]) .ui5-popup-header-text{text-align:center;min-height:var(--_ui5-v1-22-1-rc-0_popup_default_header_height);max-height:var(--_ui5-v1-22-1-rc-0_popup_default_header_height);line-height:var(--_ui5-v1-22-1-rc-0_popup_default_header_height);text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:100%;display:inline-block}:host([header-text]) .ui5-popup-header-root{justify-content:var(--_ui5-v1-22-1-rc-0_popup_header_prop_header_text_alignment)}:host(:not([header-text])) .ui5-popup-header-text{display:none}:host([disable-scrolling]) .ui5-popup-content{overflow:hidden}:host([media-range="S"]) .ui5-popup-content{padding:1rem var(--_ui5-v1-22-1-rc-0_popup_content_padding_s)}:host([media-range="M"]) .ui5-popup-content,:host([media-range="L"]) .ui5-popup-content{padding:1rem var(--_ui5-v1-22-1-rc-0_popup_content_padding_m_l)}:host([media-range="XL"]) .ui5-popup-content{padding:1rem var(--_ui5-v1-22-1-rc-0_popup_content_padding_xl)}.ui5-popup-header-root{background:var(--_ui5-v1-22-1-rc-0_popup_header_background)}:host([media-range="S"]) .ui5-popup-header-root,:host([media-range="S"]) .ui5-popup-footer-root{padding-left:var(--_ui5-v1-22-1-rc-0_popup_header_footer_padding_s);padding-right:var(--_ui5-v1-22-1-rc-0_popup_header_footer_padding_s)}:host([media-range="M"]) .ui5-popup-header-root,:host([media-range="L"]) .ui5-popup-header-root,:host([media-range="M"]) .ui5-popup-footer-root,:host([media-range="L"]) .ui5-popup-footer-root{padding-left:var(--_ui5-v1-22-1-rc-0_popup_header_footer_padding_m_l);padding-right:var(--_ui5-v1-22-1-rc-0_popup_header_footer_padding_m_l)}:host([media-range="XL"]) .ui5-popup-header-root,:host([media-range="XL"]) .ui5-popup-footer-root{padding-left:var(--_ui5-v1-22-1-rc-0_popup_header_footer_padding_xl);padding-right:var(--_ui5-v1-22-1-rc-0_popup_header_footer_padding_xl)} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const hw={packageName:"@ui5/webcomponents",fileName:"themes/Popover.css.ts",content:`:host{box-shadow:var(--_ui5-v1-22-1-rc-0_popover_box_shadow);background-color:var(--_ui5-v1-22-1-rc-0_popover_background);max-width:calc(100vw - (100vw - 100%) - 2 * var(--_ui5-v1-22-1-rc-0_popup_viewport_margin))}:host([hide-arrow]){box-shadow:var(--_ui5-v1-22-1-rc-0_popover_no_arrow_box_shadow)}:host([opened][actual-placement-type="Top"]){margin-top:var(--_ui5-v1-22-1-rc-0-popover-margin-bottom)}:host([opened][actual-placement-type="Bottom"]){margin-top:var(--_ui5-v1-22-1-rc-0-popover-margin-top)}:host([actual-placement-type="Bottom"]) .ui5-popover-arrow{left:calc(50% - .5625rem);top:-.5rem;height:.5625rem}:host([actual-placement-type="Bottom"]) .ui5-popover-arrow:after{margin:var(--_ui5-v1-22-1-rc-0_popover_upward_arrow_margin)}:host([actual-placement-type="Left"]) .ui5-popover-arrow{top:calc(50% - .5625rem);right:-.5625rem;width:.5625rem}:host([actual-placement-type="Left"]) .ui5-popover-arrow:after{margin:var(--_ui5-v1-22-1-rc-0_popover_right_arrow_margin)}:host([actual-placement-type="Top"]) .ui5-popover-arrow{left:calc(50% - .5625rem);height:.5625rem;top:100%}:host([actual-placement-type="Top"]) .ui5-popover-arrow:after{margin:var(--_ui5-v1-22-1-rc-0_popover_downward_arrow_margin)}:host(:not([actual-placement-type])) .ui5-popover-arrow,:host([actual-placement-type="Right"]) .ui5-popover-arrow{left:-.5625rem;top:calc(50% - .5625rem);width:.5625rem;height:1rem}:host(:not([actual-placement-type])) .ui5-popover-arrow:after,:host([actual-placement-type="Right"]) .ui5-popover-arrow:after{margin:var(--_ui5-v1-22-1-rc-0_popover_left_arrow_margin)}:host([hide-arrow]) .ui5-popover-arrow{display:none}.ui5-popover-root{min-width:6.25rem}.ui5-popover-arrow{pointer-events:none;display:block;width:1rem;height:1rem;position:absolute;overflow:hidden}.ui5-popover-arrow:after{content:"";display:block;width:.7rem;height:.7rem;background-color:var(--_ui5-v1-22-1-rc-0_popover_background);box-shadow:var(--_ui5-v1-22-1-rc-0_popover_box_shadow);transform:rotate(-45deg)} +`};var qt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},xi;const r_=8;let mt=xi=class extends cw{static get VIEWPORT_MARGIN(){return 10}constructor(){super()}onAfterRendering(){if(super.onAfterRendering(),!this.isOpen()&&this.open){let e;if(this.opener instanceof HTMLElement?e=this.opener:typeof this.opener=="string"&&(e=this.getRootNode().getElementById(this.opener)||document.getElementById(this.opener)),!e){console.warn("Valid opener id is required.");return}this.showAt(e)}else this.isOpen()&&!this.open&&this.close()}isOpenerClicked(e){const t=e.target;if(t===this._opener)return!0;const o=t;return o.getFocusDomRef&&o.getFocusDomRef()===this._opener?!0:e.composedPath().indexOf(this._opener)>-1}async showAt(e,t=!1){!e||this.opened||(this._opener=e,this._openerRect=e.getBoundingClientRect(),await super._open(t))}_addOpenedPopup(){KB(this)}_removeOpenedPopup(){XB(this)}shouldCloseDueToOverflow(e,t){const r={Right:t.right,Left:t.left,Top:t.top,Bottom:t.bottom},n=x1(this._opener);let s=!1,l=!1;if(n.showAt){const _=n.contentDOM.getBoundingClientRect();s=t.top>_.top+_.height,l=t.top+t.height<_.top}return r[e]<0||r[e]+32>n.innerHeight||s||l}shouldCloseDueToNoOpener(e){return e.top===0&&e.bottom===0&&e.left===0&&e.right===0}isOpenerOutsideViewport(e){return e.bottom<0||e.top>window.innerHeight||e.right<0||e.left>window.innerWidth}_resize(){super._resize(),this.opened&&this.reposition()}reposition(){this._show()}_show(){this.opened||this._showOutsideViewport();const e=this.getPopoverSize();let t;if(e.width===0||e.height===0)return;if(this.isOpen()&&(this._openerRect=this._opener.getBoundingClientRect()),this.shouldCloseDueToNoOpener(this._openerRect)&&this.isFocusWithin()&&this._oldPlacement?t=this._oldPlacement:t=this.calcPlacement(this._openerRect,e),this._preventRepositionAndClose||this.isOpenerOutsideViewport(this._openerRect))return this.close();this._oldPlacement=t,this.actualPlacementType=t.placementType;let o=Do(this._left,xi.VIEWPORT_MARGIN,document.documentElement.clientWidth-e.width-xi.VIEWPORT_MARGIN);this.actualPlacementType===nt.Right&&(o=Math.max(o,this._left));let r=Do(this._top,xi.VIEWPORT_MARGIN,document.documentElement.clientHeight-e.height-xi.VIEWPORT_MARGIN);this.actualPlacementType===nt.Bottom&&(r=Math.max(r,this._top)),this.arrowTranslateX=t.arrow.x,this.arrowTranslateY=t.arrow.y,r=this._adjustForIOSKeyboard(r);const n=this._getContainingBlockClientLocation();o-=n.left,r-=n.top,Object.assign(this.style,{top:`${r}px`,left:`${o}px`}),this.horizontalAlign===Nt.Stretch&&this._width&&(this.style.width=this._width)}_adjustForIOSKeyboard(e){if(!eT())return e;const t=Math.ceil(this.getBoundingClientRect().top);return e+(Number.parseInt(this.style.top||"0")-t)}_getContainingBlockClientLocation(){let e=Ff(this);for(;e;){if(SB(e))return e.getBoundingClientRect();e=Ff(e)}return{left:0,top:0}}getPopoverSize(){const e=this.getBoundingClientRect(),t=e.width,o=e.height;return{width:t,height:o}}_showOutsideViewport(){Object.assign(this.style,{display:this._displayProp,top:"-10000px",left:"-10000px"})}get arrowDOM(){return this.shadowRoot.querySelector(".ui5-popover-arrow")}calcPlacement(e,t){let o=xi.VIEWPORT_MARGIN,r=0;const n=this.allowTargetOverlap,s=document.documentElement.clientWidth,l=document.documentElement.clientHeight;let _=l,p=s;const v=this.getActualPlacementType(e,t);this._preventRepositionAndClose=this.shouldCloseDueToNoOpener(e)||this.shouldCloseDueToOverflow(v,e);const f=v===nt.Top||v===nt.Bottom;this.horizontalAlign===Nt.Stretch&&f?(t.width=e.width,this._width=`${e.width}px`):this.verticalAlign===aa.Stretch&&!f&&(t.height=e.height);const g=this.hideArrow?0:r_;switch(v){case nt.Top:o=this.getVerticalLeft(e,t),r=Math.max(e.top-t.height-g,0),n||(_=e.top-g);break;case nt.Bottom:o=this.getVerticalLeft(e,t),r=e.bottom+g,n?r=Math.max(Math.min(r,l-t.height),0):_=l-e.bottom-g;break;case nt.Left:o=Math.max(e.left-t.width-g,0),r=this.getHorizontalTop(e,t),n||(p=e.left-g);break;case nt.Right:o=e.left+e.width+g,r=this.getHorizontalTop(e,t),n?o=Math.max(Math.min(o,s-t.width),0):p=s-e.right-g;break}f?t.width>s||os-xi.VIEWPORT_MARGIN&&(o=s-xi.VIEWPORT_MARGIN-t.width):t.height>l||r<0?r=0:r+t.height>l&&(r-=r+t.height-l),this._maxHeight=Math.round(_-xi.VIEWPORT_MARGIN),this._maxWidth=Math.round(p-xi.VIEWPORT_MARGIN),(this._left===void 0||Math.abs(this._left-o)>1.5)&&(this._left=Math.round(o)),(this._top===void 0||Math.abs(this._top-r)>1.5)&&(this._top=Math.round(r));const w=Number.parseInt(window.getComputedStyle(this).getPropertyValue("border-radius"));return{arrow:this.getArrowPosition(e,t,o,r,f,w),top:this._top,left:this._left,placementType:v}}getArrowPosition(e,t,o,r,n,s){const l=this._actualHorizontalAlign;let _=l===Nt.Center||l===Nt.Stretch;l===Nt.Right&&o<=e.left&&(_=!0),l===Nt.Left&&o+t.width>=e.left+e.width&&(_=!0);let p=0;n&&_&&(p=e.left+e.width/2-o-t.width/2);let v=0;n||(v=e.top+e.height/2-r-t.height/2);const f=t.height/2-s-r_/2;v=Do(v,-f,f);const g=t.width/2-s-r_/2;return p=Do(p,-g,g),{x:Math.round(p),y:Math.round(v)}}fallbackPlacement(e,t,o,r){if(o.left>r.width)return nt.Left;if(e-o.right>o.left)return nt.Right;if(t-o.bottom>r.height)return nt.Bottom;if(t-o.bottom"showAt"in i;mt.define();const fo=mt;var uh;(function(i){i.None="None",i.Success="Success",i.Warning="Warning",i.Error="Error",i.Information="Information"})(uh||(uh={}));const y=uh,aE="resize-corner",pw="M384 224v32q0 12-10 22L182 470q-10 10-22 10h-32zM224 480l160-160v32q0 12-10 22l-96 96q-10 10-22 10h-32zm160-64v32q0 12-10 22t-22 10h-32z",sE=!1,lE="SAP-icons-v4",cE="@ui5/webcomponents-icons";Y(aE,{pathData:pw,ltr:sE,collection:lE,packageName:cE});const uE="resize-corner",vw="M202 512q-11 0-18.5-7.5T176 486q0-10 8-18l204-205q7-7 18-7t18.5 7.5T432 282t-7 18L220 505q-7 7-18 7zm128 0q-11 0-18.5-7.5T304 486q0-10 8-18l76-77q7-7 18-7t18.5 7.5T432 410t-7 18l-77 77q-7 7-18 7z",dE=!1,_E="SAP-icons-v5",hE="@ui5/webcomponents-icons";Y(uE,{pathData:vw,ltr:dE,collection:_E,packageName:hE});we();function pE(i,e,t){return c`
${this._displayHeader?vE.call(this,i,e,t):void 0}
${this.footer.length?TE.call(this,i,e,t):void 0}${this._showResizeHandle?xE.call(this,i,e,t):void 0}
`}function vE(i,e,t){return c`
${this.hasValueState?fE.call(this,i,e,t):void 0}${this.header.length?mE.call(this,i,e,t):gE.call(this,i,e,t)}${this.resizable?bE.call(this,i,e,t):kE.call(this,i,e,t)}
`}function fE(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-dialog-value-state-icon" name="${a(this._dialogStateIcon)}">`:c``}function mE(i,e,t){return c``}function gE(i,e,t){return c`

${a(this.headerText)}

`}function bE(i,e,t){return c`${this.draggable?yE.call(this,i,e,t):wE.call(this,i,e,t)}`}function yE(i,e,t){return c``}function wE(i,e,t){return c``}function kE(i,e,t){return c`${this.draggable?$E.call(this,i,e,t):void 0}`}function $E(i,e,t){return c``}function TE(i,e,t){return c`
`}function xE(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="resize-corner" class="ui5-popup-resize-handle" @mousedown="${this._onResizeMouseDown}">`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const SE={packageName:"@ui5/webcomponents",fileName:"themes/Dialog.css.ts",content:`.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{min-width:20rem;min-height:6rem;max-height:94%;max-width:90%;flex-direction:column;box-shadow:var(--sapContent_Shadow3);border-radius:var(--sapElement_BorderCornerRadius)}:host([stretch]){width:90%;height:94%}:host([stretch][on-phone]){width:100%;height:100%;max-height:100%;max-width:100%;border-radius:0}:host([draggable]) .ui5-popup-header-root,:host([draggable]) ::slotted([slot="header"]){cursor:move}:host([draggable]) .ui5-popup-header-root *{cursor:auto}:host([draggable]) .ui5-popup-root{user-select:text}.ui5-popup-root{display:flex;flex-direction:column;max-width:100vw}.ui5-popup-header-root{position:relative}.ui5-popup-header-root:before{content:"";position:absolute;inset-block-start:auto;inset-block-end:0;inset-inline-start:0;inset-inline-end:0;height:var(--_ui5-v1-22-1-rc-0_dialog_header_state_line_height);background:var(--sapObjectHeader_BorderColor)}:host([state="Error"]) .ui5-popup-header-root:before{background:var(--sapErrorBorderColor)}:host([state="Information"]) .ui5-popup-header-root:before{background:var(--sapInformationBorderColor)}:host([state="Success"]) .ui5-popup-header-root:before{background:var(--sapSuccessBorderColor)}:host([state="Warning"]) .ui5-popup-header-root:before{background:var(--sapWarningBorderColor)}.ui5-dialog-value-state-icon{margin-inline-end:.5rem}:host([state="Error"]) .ui5-dialog-value-state-icon{color:var(--_ui5-v1-22-1-rc-0_dialog_header_error_state_icon_color)}:host([state="Information"]) .ui5-dialog-value-state-icon{color:var(--_ui5-v1-22-1-rc-0_dialog_header_information_state_icon_color)}:host([state="Success"]) .ui5-dialog-value-state-icon{color:var(--_ui5-v1-22-1-rc-0_dialog_header_success_state_icon_color)}:host([state="Warning"]) .ui5-dialog-value-state-icon{color:var(--_ui5-v1-22-1-rc-0_dialog_header_warning_state_icon_color)}.ui5-popup-header-root{outline:none}.ui5-popup-header-root:focus:after{content:"";position:absolute;left:var(--_ui5-v1-22-1-rc-0_dialog_header_focus_left_offset);bottom:var(--_ui5-v1-22-1-rc-0_dialog_header_focus_bottom_offset);right:var(--_ui5-v1-22-1-rc-0_dialog_header_focus_right_offset);top:var(--_ui5-v1-22-1-rc-0_dialog_header_focus_top_offset);border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_dialog_header_border_radius) var(--_ui5-v1-22-1-rc-0_dialog_header_border_radius) 0 0;pointer-events:none}:host([stretch]) .ui5-popup-content{width:100%;height:100%}.ui5-popup-content{min-height:var(--_ui5-v1-22-1-rc-0_dialog_content_min_height);flex:1 1 auto}.ui5-popup-resize-handle{position:absolute;bottom:var(--_ui5-v1-22-1-rc-0_dialog_resize_handle_bottom);inset-inline-end:var(--_ui5-v1-22-1-rc-0_dialog_resize_handle_right);cursor:var(--_ui5-v1-22-1-rc-0_dialog_resize_cursor);color:var(--_ui5-v1-22-1-rc-0_dialog_resize_handle_color)}::slotted([slot="footer"]){height:var(--_ui5-v1-22-1-rc-0_dialog_footer_height)}::slotted([slot="footer"][ui5-bar][design="Footer"]){border-top:none}::slotted([slot="header"][ui5-bar]){box-shadow:none} +`};var Tr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ar;const tn=16,IE={[y.Error]:"error",[y.Warning]:"alert",[y.Success]:"sys-enter-2",[y.Information]:"information"};let eo=Ar=class extends cw{constructor(){super(),this._draggedOrResized=!1,this._revertSize=()=>{Object.assign(this.style,{top:"",left:"",width:"",height:""})},this._screenResizeHandler=this._screenResize.bind(this),this._dragMouseMoveHandler=this._onDragMouseMove.bind(this),this._dragMouseUpHandler=this._onDragMouseUp.bind(this),this._resizeMouseMoveHandler=this._onResizeMouseMove.bind(this),this._resizeMouseUpHandler=this._onResizeMouseUp.bind(this),this._dragStartHandler=this._handleDragStart.bind(this)}static async onDefine(){Ar.i18nBundle=await oe("@ui5/webcomponents")}static _isHeader(e){return e.classList.contains("ui5-popup-header-root")||e.getAttribute("slot")==="header"}async show(e=!1){await super._open(e)}get isModal(){return!0}get shouldHideBackdrop(){return!1}get _ariaLabelledBy(){let e;return this.headerText!==""&&!this._ariaLabel&&(e="ui5-popup-header-text"),e}get ariaRoleDescriptionHeaderText(){return this.resizable||this.draggable?Ar.i18nBundle.getText(gy):void 0}get effectiveAriaDescribedBy(){return this.resizable||this.draggable?`${this._id}-descr`:void 0}get ariaDescribedByHeaderTextResizable(){return Ar.i18nBundle.getText(by)}get ariaDescribedByHeaderTextDraggable(){return Ar.i18nBundle.getText(yy)}get ariaDescribedByHeaderTextDraggableAndResizable(){return Ar.i18nBundle.getText(wy)}get _displayProp(){return"flex"}get _displayHeader(){return this.header.length||this.headerText||this.draggable||this.resizable}get _movable(){return!this.stretch&&this.onDesktop&&(this.draggable||this.resizable)}get _headerTabIndex(){return this._movable?"0":void 0}get _showResizeHandle(){return this.resizable&&this.onDesktop}get _minHeight(){let e=Number.parseInt(window.getComputedStyle(this.contentDOM).minHeight);const t=this._root.querySelector(".ui5-popup-header-root");t&&(e+=t.offsetHeight);const o=this._root.querySelector(".ui5-popup-footer-root");return o&&(e+=o.offsetHeight),e}get hasValueState(){return this.state!==y.None}get _dialogStateIcon(){return IE[this.state]}get _role(){if(this.accessibleRole!==ls.None)return this.state===y.Error||this.state===y.Warning?ls.AlertDialog.toLowerCase():this.accessibleRole.toLowerCase()}_show(){super._show(),this._center()}onBeforeRendering(){super.onBeforeRendering(),this._isRTL=this.effectiveDir==="rtl",this.onPhone=G(),this.onDesktop=vo()}onAfterRendering(){super.onAfterRendering(),!this.isOpen()&&this.open?this.show():this.isOpen()&&!this.open&&this.close()}onEnterDOM(){super.onEnterDOM(),this._attachScreenResizeHandler(),this.addEventListener("dragstart",this._dragStartHandler)}onExitDOM(){super.onExitDOM(),this._detachScreenResizeHandler(),this.removeEventListener("dragstart",this._dragStartHandler)}_resize(){super._resize(),this._draggedOrResized||this._center()}_screenResize(){this._center()}_attachScreenResizeHandler(){this._screenResizeHandlerAttached||(window.addEventListener("resize",this._screenResizeHandler),this._screenResizeHandlerAttached=!0)}_detachScreenResizeHandler(){this._screenResizeHandlerAttached&&(window.removeEventListener("resize",this._screenResizeHandler),this._screenResizeHandlerAttached=!1)}_center(){const e=window.innerHeight-this.offsetHeight,t=window.innerWidth-this.offsetWidth;Object.assign(this.style,{top:`${Math.round(e/2)}px`,left:`${Math.round(t/2)}px`})}_onDragMouseDown(e){if(!this._movable||!this.draggable||!Ar._isHeader(e.target))return;e.preventDefault();const{top:t,left:o}=this.getBoundingClientRect(),{width:r,height:n}=window.getComputedStyle(this);Object.assign(this.style,{top:`${t}px`,left:`${o}px`,width:`${Math.round(Number.parseFloat(r)*100)/100}px`,height:`${Math.round(Number.parseFloat(n)*100)/100}px`}),this._x=e.clientX,this._y=e.clientY,this._draggedOrResized=!0,this._attachMouseDragHandlers()}_onDragMouseMove(e){e.preventDefault();const{clientX:t,clientY:o}=e,r=this._x-t,n=this._y-o,{left:s,top:l}=this.getBoundingClientRect();Object.assign(this.style,{left:`${Math.floor(s-r)}px`,top:`${Math.floor(l-n)}px`}),this._x=t,this._y=o}_onDragMouseUp(){delete this._x,delete this._y,this._detachMouseDragHandlers()}_onDragOrResizeKeyDown(e){if(!(!this._movable||!Ar._isHeader(e.target))){if(this.draggable&&[Le,De,ft,it].some(t=>t(e))){this._dragWithEvent(e);return}this.resizable&&[cr,Ro,y_,bu].some(t=>t(e))&&this._resizeWithEvent(e)}}_dragWithEvent(e){const{top:t,left:o,width:r,height:n}=this.getBoundingClientRect();let s=0,l="top";switch(!0){case Le(e):s=t-tn,l="top";break;case De(e):s=t+tn,l="top";break;case ft(e):s=o-tn,l="left";break;case it(e):s=o+tn,l="left";break}s=Do(s,0,l==="left"?window.innerWidth-r:window.innerHeight-n),this.style[l]=`${s}px`}_resizeWithEvent(e){this._draggedOrResized=!0,this.addEventListener("ui5-before-close",this._revertSize,{once:!0});const{top:t,left:o}=this.getBoundingClientRect(),r=window.getComputedStyle(this),n=Number.parseFloat(r.minWidth),s=window.innerWidth-o,l=window.innerHeight-t;let _=Number.parseFloat(r.width),p=Number.parseFloat(r.height);switch(!0){case cr(e):p-=tn;break;case Ro(e):p+=tn;break;case y_(e):_-=tn;break;case bu(e):_+=tn;break}_=Do(_,n,s),p=Do(p,this._minHeight,l),Object.assign(this.style,{width:`${_}px`,height:`${p}px`})}_attachMouseDragHandlers(){window.addEventListener("mousemove",this._dragMouseMoveHandler),window.addEventListener("mouseup",this._dragMouseUpHandler)}_detachMouseDragHandlers(){window.removeEventListener("mousemove",this._dragMouseMoveHandler),window.removeEventListener("mouseup",this._dragMouseUpHandler)}_onResizeMouseDown(e){if(!this._movable||!this.resizable)return;e.preventDefault();const{top:t,left:o}=this.getBoundingClientRect(),{width:r,height:n,minWidth:s}=window.getComputedStyle(this);this._initialX=e.clientX,this._initialY=e.clientY,this._initialWidth=Number.parseFloat(r),this._initialHeight=Number.parseFloat(n),this._initialTop=t,this._initialLeft=o,this._minWidth=Number.parseFloat(s),this._cachedMinHeight=this._minHeight,Object.assign(this.style,{top:`${t}px`,left:`${o}px`}),this._draggedOrResized=!0,this._attachMouseResizeHandlers()}_onResizeMouseMove(e){const{clientX:t,clientY:o}=e;let r,n;this._isRTL?(r=Do(this._initialWidth-(t-this._initialX),this._minWidth,this._initialLeft+this._initialWidth),n=Do(this._initialLeft+(t-this._initialX),0,this._initialX+this._initialWidth-this._minWidth)):r=Do(this._initialWidth+(t-this._initialX),this._minWidth,window.innerWidth-this._initialLeft);const s=Do(this._initialHeight+(o-this._initialY),this._cachedMinHeight,window.innerHeight-this._initialTop);Object.assign(this.style,{height:`${s}px`,width:`${r}px`,left:n?`${n}px`:void 0})}_onResizeMouseUp(){delete this._initialX,delete this._initialY,delete this._initialWidth,delete this._initialHeight,delete this._initialTop,delete this._initialLeft,delete this._minWidth,delete this._cachedMinHeight,this._detachMouseResizeHandlers()}_handleDragStart(e){this.draggable&&e.preventDefault()}_attachMouseResizeHandlers(){window.addEventListener("mousemove",this._resizeMouseMoveHandler),window.addEventListener("mouseup",this._resizeMouseUpHandler),this.addEventListener("ui5-before-close",this._revertSize,{once:!0})}_detachMouseResizeHandlers(){window.removeEventListener("mousemove",this._resizeMouseMoveHandler),window.removeEventListener("mouseup",this._resizeMouseUpHandler)}};Tr([u()],eo.prototype,"headerText",void 0);Tr([u({type:Boolean})],eo.prototype,"stretch",void 0);Tr([u({type:Boolean})],eo.prototype,"draggable",void 0);Tr([u({type:Boolean})],eo.prototype,"resizable",void 0);Tr([u({type:y,defaultValue:y.None})],eo.prototype,"state",void 0);Tr([u({type:Boolean})],eo.prototype,"onPhone",void 0);Tr([u({type:Boolean})],eo.prototype,"onDesktop",void 0);Tr([F()],eo.prototype,"header",void 0);Tr([F()],eo.prototype,"footer",void 0);eo=Ar=Tr([B({tag:"ui5-dialog",template:pE,styles:[od,_w,SE],dependencies:[Ie]})],eo);eo.define();const fw=eo;var dh;(function(i){i.H1="H1",i.H2="H2",i.H3="H3",i.H4="H4",i.H5="H5",i.H6="H6"})(dh||(dh={}));const Iu=dh;function CE(i,e,t){return c`${this.h1?AE.call(this,i,e,t):void 0}${this.h2?BE.call(this,i,e,t):void 0}${this.h3?EE.call(this,i,e,t):void 0}${this.h4?DE.call(this,i,e,t):void 0}${this.h5?PE.call(this,i,e,t):void 0}${this.h6?OE.call(this,i,e,t):void 0}`}function AE(i,e,t){return c`

`}function BE(i,e,t){return c`

`}function EE(i,e,t){return c`

`}function DE(i,e,t){return c`

`}function PE(i,e,t){return c`
`}function OE(i,e,t){return c`
`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const RE={packageName:"@ui5/webcomponents",fileName:"themes/Title.css.ts",content:`:host(:not([hidden])){display:block;cursor:text}:host{max-width:100%;color:var(--sapGroup_TitleTextColor);font-size:var(--sapFontHeader2Size);font-family:"72override",var(--sapFontHeaderFamily);text-shadow:var(--sapContent_TextShadow)}.ui5-title-root{display:inline-block;position:relative;font-weight:400;font-size:inherit;box-sizing:border-box;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%;vertical-align:bottom;-webkit-margin-before:0;-webkit-margin-after:0;-webkit-margin-start:0;-webkit-margin-end:0;margin:0;cursor:inherit}:host([wrapping-type="Normal"]) .ui5-title-root,:host([wrapping-type="Normal"]) ::slotted(*){white-space:pre-line}::slotted(*){font-size:inherit;font-family:inherit;text-shadow:inherit}:host([level="H1"]){font-size:var(--sapFontHeader1Size)}:host([level="H2"]){font-size:var(--sapFontHeader2Size)}:host([level="H3"]){font-size:var(--sapFontHeader3Size)}:host([level="H4"]){font-size:var(--sapFontHeader4Size)}:host([level="H5"]){font-size:var(--sapFontHeader5Size)}:host([level="H6"]){font-size:var(--sapFontHeader6Size)} +`};var ov=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let cs=class extends j{get normalizedLevel(){return this.level.toLowerCase()}get h1(){return this.normalizedLevel==="h1"}get h2(){return this.normalizedLevel==="h2"}get h3(){return this.normalizedLevel==="h3"}get h4(){return this.normalizedLevel==="h4"}get h5(){return this.normalizedLevel==="h5"}get h6(){return this.normalizedLevel==="h6"}};ov([u({type:Di,defaultValue:Di.None})],cs.prototype,"wrappingType",void 0);ov([u({type:Iu,defaultValue:Iu.H2})],cs.prototype,"level",void 0);cs=ov([B({tag:"ui5-title",renderer:ee,template:CE,styles:RE})],cs);cs.define();const rv=cs,LE="decline",mw="M86 109l22-23q5-5 12-5 6 0 11 5l124 125L380 86q5-5 11-5 7 0 12 5l22 23q12 11 0 23L301 256l124 125q11 11 0 22l-22 23q-8 5-12 5-3 0-11-5L255 301 131 426q-5 5-11 5-4 0-12-5l-22-23q-11-11 0-22l124-125L86 132q-12-12 0-23z",ME=!1,NE=Qy,FE="SAP-icons-v4",zE="@ui5/webcomponents-icons";Y(LE,{pathData:mw,ltr:ME,accData:NE,collection:FE,packageName:zE});const VE="decline",gw="M292 256l117 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",HE=!1,UE=Qy,WE="SAP-icons-v5",qE="@ui5/webcomponents-icons";Y(VE,{pathData:gw,ltr:HE,accData:UE,collection:WE,packageName:qE});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const jE={packageName:"@ui5/webcomponents",fileName:"themes/ResponsivePopover.css.ts",content:`:host{--_ui5-v1-22-1-rc-0_input_width: 100%;min-width:6.25rem;min-height:2rem}:host([opened]){display:inline-block}.ui5-responsive-popover-header{height:var(--_ui5-v1-22-1-rc-0-responsive_popover_header_height);display:flex;justify-content:space-between;align-items:center;width:100%}.ui5-responsive-popover-header-text{width:calc(100% - var(--_ui5-v1-22-1-rc-0_button_base_min_width))}.ui5-responsive-popover-header-no-title{justify-content:flex-end} +`};var rd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Jc;let wa=Jc=class extends fo{constructor(){super()}async showAt(e,t=!1){if(!G())await super.showAt(e,t);else{this.style.display="contents";const o=gp();if(!o)return;this.style.zIndex=o.toString(),await this._dialog.show(t)}}close(e=!1,t=!1,o=!1){G()?this._dialog.close(e,t,o):super.close(e,t,o)}toggle(e){if(this.isOpen())return this.close();this.showAt(e)}isOpen(){return G()&&this._dialog?this._dialog.isOpen():super.isOpen()}get classes(){const e=super.classes;return e.header={"ui5-responsive-popover-header":!0,"ui5-responsive-popover-header-no-title":!this.headerText},e}get _dialog(){return this.shadowRoot.querySelector("[ui5-dialog]")}get contentDOM(){return G()?this._dialog.contentDOM:super.contentDOM}get _isPhone(){return G()}get _displayHeader(){return(G()||!this.contentOnlyOnDesktop)&&super._displayHeader}get _displayFooter(){return G()||!this.contentOnlyOnDesktop}get _closeDialogAriaLabel(){return Jc.i18nBundle.getText(y0)}_beforeDialogOpen(e){this.open=!0,this.opened=!0,this._propagateDialogEvent(e)}_afterDialogClose(e){this.open=!1,this.opened=!1,this._propagateDialogEvent(e)}_propagateDialogEvent(e){const t=e.type.replace("ui5-","");this.fireEvent(t,e.detail)}get isModal(){return G()?this._dialog.isModal:super.isModal}static async onDefine(){Jc.i18nBundle=await oe("@ui5/webcomponents")}};rd([u({type:Boolean})],wa.prototype,"contentOnlyOnDesktop",void 0);rd([u({type:Boolean})],wa.prototype,"_hideHeader",void 0);rd([u({type:Boolean})],wa.prototype,"_hideCloseButton",void 0);wa=Jc=rd([B({tag:"ui5-responsive-popover",styles:[fo.styles,jE],template:pB,dependencies:[...fo.dependencies,Fe,fw,rv]})],wa);wa.define();const wo=wa,yl=i=>{let e=i;return i.shadowRoot&&i.shadowRoot.activeElement&&(e=i.shadowRoot.activeElement),e};let Fc=null;const bw=(i,e)=>{Fc&&clearTimeout(Fc),Fc=setTimeout(()=>{Fc=null,i()},e)},yw=i=>{const e=i.getBoundingClientRect();return e.top>=0&&e.left>=0&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&e.right<=(window.innerWidth||document.documentElement.clientWidth)};var _h;(function(i){i.None="None",i.SingleSelect="SingleSelect",i.SingleSelectBegin="SingleSelectBegin",i.SingleSelectEnd="SingleSelectEnd",i.SingleSelectAuto="SingleSelectAuto",i.MultiSelect="MultiSelect",i.Delete="Delete"})(_h||(_h={}));const Ge=_h;var hh;(function(i){i.Button="Button",i.Scroll="Scroll",i.None="None"})(hh||(hh={}));const wl=hh,GE=i=>{if(!i)return!1;const e=i.nodeName.toLowerCase();if(i.hasAttribute("data-sap-no-tab-ref")||Ku(i))return!1;const t=i.getAttribute("tabindex");return t!=null?parseInt(t)>=0:e==="a"||/input|select|textarea|button|object/.test(e)?!i.disabled:!1},ph=i=>Cu([...i.children]),ww=i=>{const e=Cu([...i.children]);return e.length?e[e.length-1]:null},Cu=(i,e)=>{const t=e||[];return i&&i.forEach(o=>{if(o.nodeType===Node.TEXT_NODE||o.nodeType===Node.COMMENT_NODE)return;let r=o;if(!r.hasAttribute("data-sap-no-tab-ref")){if(r.shadowRoot){const n=r.shadowRoot.children;r=Array.from(n).find(s=>s.tagName!=="STYLE")}r&&(GE(r)&&t.push(r),r.tagName==="SLOT"?Cu(r.assignedNodes(),t):Cu([...r.children],t))}}),t};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const YE={packageName:"@ui5/webcomponents",fileName:"themes/ListItemBase.css.ts",content:`:host(:not([hidden])){display:block}:host{height:var(--_ui5-v1-22-1-rc-0_list_item_base_height);background:var(--ui5-v1-22-1-rc-0-listitem-background-color);box-sizing:border-box;border-bottom:1px solid transparent}:host([selected]){background:var(--sapList_SelectionBackgroundColor)}:host([has-border]){border-bottom:var(--ui5-v1-22-1-rc-0-listitem-border-bottom)}:host([selected]){border-bottom:var(--ui5-v1-22-1-rc-0-listitem-selected-border-bottom)}:host(:not([focused])[selected][has-border]){border-bottom:var(--ui5-v1-22-1-rc-0-listitem-selected-border-bottom)}:host([focused][selected]){border-bottom:var(--ui5-v1-22-1-rc-0-listitem-focused-selected-border-bottom)}.ui5-li-root{position:relative;display:flex;align-items:center;width:100%;height:100%;padding:0 1rem;box-sizing:border-box}:host([focused]) .ui5-li-root.ui5-li--focusable{outline:none}:host([focused]) .ui5-li-root.ui5-li--focusable:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;border-radius:0;inset:.125rem;pointer-events:none}:host([focused]) .ui5-li-content:focus:after{content:"";border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);position:absolute;inset:0;pointer-events:none}:host([active][focused]) .ui5-li-root.ui5-li--focusable:after{border-color:var(--ui5-v1-22-1-rc-0-listitem-active-border-color)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0-listitembase_disabled_opacity);pointer-events:none}.ui5-li-content{max-width:100%;font-family:"72override",var(--sapFontFamily);color:var(--sapList_TextColor)} +`};var Ps=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Tn=class extends j{_onfocusin(e){this.fireEvent("_request-tabindex-change",e),e.target===this.getFocusDomRef()&&(this.focused=!0,this.fireEvent("_focused",e))}_onfocusout(){this.focused=!1}_onkeydown(e){if(It(e))return this._handleTabNext(e);if(Ei(e))return this._handleTabPrevious(e)}_onkeyup(e){}_handleTabNext(e){this.shouldForwardTabAfter()&&(this.fireEvent("_forward-after",{},!0)||e.preventDefault())}_handleTabPrevious(e){const t=e.target;this.shouldForwardTabBefore(t)&&this.fireEvent("_forward-before")}shouldForwardTabAfter(){const e=ph(this.getFocusDomRef());return e.length===0||e[e.length-1]===ks()}shouldForwardTabBefore(e){return this.getFocusDomRef()===e}get classes(){return{main:{"ui5-li-root":!0,"ui5-li--focusable":!this.disabled}}}get _ariaDisabled(){return this.disabled?!0:void 0}get hasConfigurableMode(){return!1}get _effectiveTabIndex(){return this.disabled?-1:this.selected?0:this.forcedTabIndex}};Ps([u({type:Boolean})],Tn.prototype,"selected",void 0);Ps([u({type:Boolean})],Tn.prototype,"hasBorder",void 0);Ps([u({defaultValue:"-1",noAttribute:!0})],Tn.prototype,"forcedTabIndex",void 0);Ps([u({type:Boolean})],Tn.prototype,"disabled",void 0);Ps([u({type:Boolean})],Tn.prototype,"focused",void 0);Tn=Ps([B({renderer:ee,styles:YE}),$("_request-tabindex-change"),$("_focused"),$("_forward-after"),$("_forward-before")],Tn);const nd=Tn;var vh;(function(i){i.All="All",i.Inner="Inner",i.None="None"})(vh||(vh={}));const Au=vh;var fh;(function(i){i.Small="Small",i.Medium="Medium",i.Large="Large"})(fh||(fh={}));const zf=fh;function KE(i,e,t){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const XE={packageName:"@ui5/webcomponents",fileName:"themes/Label.css.ts",content:`:host(:not([hidden])){display:inline-flex}:host{max-width:100%;color:var(--sapContent_LabelColor);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;cursor:text}.ui5-label-root{width:100%;cursor:inherit}:host([wrapping-type="Normal"]) .ui5-label-root{white-space:normal}:host(:not([wrapping-type="Normal"])) .ui5-label-root{display:inline-flex;white-space:nowrap}:host(:not([wrapping-type="Normal"])) .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-colon)}:host([required]) .ui5-label-required-colon:after{content:"*";color:var(--sapField_RequiredColor);font-size:1.25rem;font-weight:700;position:relative;font-style:normal;vertical-align:middle;line-height:0}:host([required][show-colon]) .ui5-label-required-colon:after{margin-inline-start:.125rem}bdi{padding-right:.075rem}:host([show-colon]) .ui5-label-required-colon{margin-inline-start:-.05rem;white-space:pre} +`};var fc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},eu;let xn=eu=class extends j{static async onDefine(){eu.i18nBundle=await oe("@ui5/webcomponents")}_onclick(){if(!this.for)return;const e=this.getRootNode().querySelector(`[id="${this.for}"]`);e&&e.focus()}get _colonSymbol(){return eu.i18nBundle.getText(ky)}};fc([u()],xn.prototype,"for",void 0);fc([u({type:Boolean})],xn.prototype,"showColon",void 0);fc([u({type:Boolean})],xn.prototype,"required",void 0);fc([u({type:Di,defaultValue:Di.None})],xn.prototype,"wrappingType",void 0);xn=eu=fc([B({tag:"ui5-label",renderer:ee,template:KE,styles:XE,languageAware:!0})],xn);xn.define();const Os=xn;function ZE(i,e,t){return c`
${this._isBusy?QE.call(this,i,e,t):void 0}${this._isBusy?eD.call(this,i,e,t):void 0}
`}function QE(i,e,t){return c`
${this.text?JE.call(this,i,e,t):void 0}
`}function JE(i,e,t){return t?c`<${d("ui5-label",e,t)} id="${a(this._id)}-label" class="ui5-busy-indicator-text" wrapping-type="Normal">${a(this.text)}`:c`${a(this.text)}`}function eD(i,e,t){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const tD={packageName:"@ui5/webcomponents",fileName:"themes/BusyIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block}:host([_is-busy]){color:var(--_ui5-v1-22-1-rc-0_busy_indicator_color)}:host([size="Small"]) .ui5-busy-indicator-root{min-width:1.625rem;min-height:.5rem}:host([size="Small"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:1.75rem}:host([size="Small"]) .ui5-busy-indicator-circle{width:.5rem;height:.5rem}:host([size="Small"]) .ui5-busy-indicator-circle:first-child,:host([size="Small"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.0625rem}:host(:not([size])) .ui5-busy-indicator-root,:host([size="Medium"]) .ui5-busy-indicator-root{min-width:3.375rem;min-height:1rem}:host([size="Medium"]) .ui5-busy-indicator-circle:first-child,:host([size="Medium"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.1875rem}:host(:not([size])[text]:not([text=""])) .ui5-busy-indicator-root,:host([size="Medium"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:2.25rem}:host(:not([size])) .ui5-busy-indicator-circle,:host([size="Medium"]) .ui5-busy-indicator-circle{width:1rem;height:1rem}:host([size="Large"]) .ui5-busy-indicator-root{min-width:6.5rem;min-height:2rem}:host([size="Large"]) .ui5-busy-indicator-circle:first-child,:host([size="Large"]) .ui5-busy-indicator-circle:nth-child(2){margin-inline-end:.25rem}:host([size="Large"][text]:not([text=""])) .ui5-busy-indicator-root{min-height:3.25rem}:host([size="Large"]) .ui5-busy-indicator-circle{width:2rem;height:2rem}.ui5-busy-indicator-root{display:flex;justify-content:center;align-items:center;position:relative;background-color:inherit;height:inherit}.ui5-busy-indicator-busy-area{position:absolute;z-index:99;inset:0;display:flex;justify-content:center;align-items:center;background-color:inherit;flex-direction:column}.ui5-busy-indicator-busy-area:focus{outline:var(--_ui5-v1-22-1-rc-0_busy_indicator_focus_outline);outline-offset:-2px;border-radius:var(--_ui5-v1-22-1-rc-0_busy_indicator_focus_border_radius)}.ui5-busy-indicator-circles-wrapper{line-height:0}.ui5-busy-indicator-circle{display:inline-block;background-color:currentColor;border-radius:50%}.ui5-busy-indicator-circle:before{content:"";width:100%;height:100%;border-radius:100%}.circle-animation-0{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11)}.circle-animation-1{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.2s}.circle-animation-2{animation:grow 1.6s infinite cubic-bezier(.32,.06,.85,1.11);animation-delay:.4s}.ui5-busy-indicator-text{width:100%;margin-top:.25rem;text-align:center}@keyframes grow{0%,50%,to{-webkit-transform:scale(.5);-moz-transform:scale(.5);transform:scale(.5)}25%{-webkit-transform:scale(1);-moz-transform:scale(1);transform:scale(1)}} +`};var Rs=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},tu;let Ur=tu=class extends j{constructor(){super(),this._keydownHandler=this._handleKeydown.bind(this),this._preventEventHandler=this._preventEvent.bind(this)}onEnterDOM(){this.addEventListener("keydown",this._keydownHandler,{capture:!0}),this.addEventListener("keyup",this._preventEventHandler,{capture:!0})}onExitDOM(){this._busyTimeoutId&&(clearTimeout(this._busyTimeoutId),delete this._busyTimeoutId),this.removeEventListener("keydown",this._keydownHandler,!0),this.removeEventListener("keyup",this._preventEventHandler,!0)}static async onDefine(){tu.i18nBundle=await oe("@ui5/webcomponents")}get ariaTitle(){return tu.i18nBundle.getText(p2)}get labelId(){return this.text?`${this._id}-label`:void 0}get classes(){return{root:{"ui5-busy-indicator-root":!0}}}onBeforeRendering(){this.active?!this._isBusy&&!this._busyTimeoutId&&(this._busyTimeoutId=setTimeout(()=>{delete this._busyTimeoutId,this._isBusy=!0},Math.max(0,this.delay))):(this._busyTimeoutId&&(clearTimeout(this._busyTimeoutId),delete this._busyTimeoutId),this._isBusy=!1)}_handleKeydown(e){this._isBusy&&(e.stopImmediatePropagation(),It(e)&&(this.focusForward=!0,this.shadowRoot.querySelector("[data-ui5-focus-redirect]").focus(),this.focusForward=!1))}_preventEvent(e){this._isBusy&&e.stopImmediatePropagation()}_redirectFocus(e){this.focusForward||(e.preventDefault(),this.shadowRoot.querySelector(".ui5-busy-indicator-busy-area").focus())}};Rs([u()],Ur.prototype,"text",void 0);Rs([u({type:zf,defaultValue:zf.Medium})],Ur.prototype,"size",void 0);Rs([u({type:Boolean})],Ur.prototype,"active",void 0);Rs([u({validator:z,defaultValue:1e3})],Ur.prototype,"delay",void 0);Rs([u({type:Boolean})],Ur.prototype,"_isBusy",void 0);Ur=tu=Rs([B({tag:"ui5-busy-indicator",languageAware:!0,styles:tD,renderer:ee,template:ZE,dependencies:[Os]})],Ur);Ur.define();const ad=Ur;function iD(i,e,t){return c`
${this.header.length?oD.call(this,i,e,t):void 0}${this.shouldRenderH1?rD.call(this,i,e,t):void 0}${this.hasData?nD.call(this,i,e,t):void 0}${a(this.ariaLabelModeText)}
    ${this.showNoDataText?aD.call(this,i,e,t):void 0}
${this.growsWithButton?sD.call(this,i,e,t):void 0}${this.footerText?lD.call(this,i,e,t):void 0}${this.hasData?cD.call(this,i,e,t):void 0}
${this.busy?uD.call(this,i,e,t):void 0}
`}function oD(i,e,t){return c``}function rD(i,e,t){return c`
${a(this.headerText)}
`}function nD(i,e,t){return c`
`}function aD(i,e,t){return c`
  • ${a(this.noDataText)}
  • `}function sD(i,e,t){return c`
    ${a(this._growingButtonText)}
    `}function lD(i,e,t){return c`
    ${a(this.footerText)}
    `}function cD(i,e,t){return c`
    `}function uD(i,e,t){return t?c`
    <${d("ui5-busy-indicator",e,t)} delay="${a(this.busyDelay)}" active size="Medium" class="ui5-list-busy-ind" style="${S(this.styles.busyInd)}" data-sap-focus-ref>
    `:c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const dD={packageName:"@ui5/webcomponents",fileName:"themes/List.css.ts",content:`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}[growing-button]{display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_load_more_padding);border-top:1px solid var(--sapList_BorderColor);border-bottom:var(--_ui5-v1-22-1-rc-0_load_more_border-bottom);box-sizing:border-box;cursor:pointer;outline:none}[growing-button-inner]{display:flex;align-items:center;justify-content:center;flex-direction:column;min-height:var(--_ui5-v1-22-1-rc-0_load_more_text_height);width:100%;color:var(--sapButton_TextColor);background-color:var(--sapList_Background);border:var(--_ui5-v1-22-1-rc-0_load_more_border);border-radius:var(--_ui5-v1-22-1-rc-0_load_more_border_radius);box-sizing:border-box}[growing-button-inner]:focus{outline:var(--_ui5-v1-22-1-rc-0_load_more_outline_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:-.125rem;border-color:transparent}[growing-button-inner]:hover{background-color:var(--sapList_Hover_Background)}[growing-button-inner]:active,[growing-button-inner][active]{background-color:var(--sapList_Active_Background);border-color:var(--sapList_Active_Background)}[growing-button-inner]:active>*,[growing-button-inner][active]>*{color:var(--sapList_Active_TextColor)}[growing-button-text],[growing-button-subtext]{width:100%;text-align:center;font-family:"72override",var(--sapFontFamily);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}[growing-button-text]{height:var(--_ui5-v1-22-1-rc-0_load_more_text_height);padding:.875rem 1rem 0;font-size:var(--_ui5-v1-22-1-rc-0_load_more_text_font_size);font-weight:700}[growing-button-subtext]{font-size:var(--sapFontSize);padding:var(--_ui5-v1-22-1-rc-0_load_more_desc_padding)}: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}:host([busy]){opacity:.72}:host([busy]) .ui5-list-busy-row{position:absolute;inset:0;outline:none}:host([busy]) .ui5-list-busy-ind{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1}.ui5-list-root{width:100%;height:100%;position:relative;box-sizing:border-box}.ui5-list-scroll-container{overflow:auto;height: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:"72override",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:"72override",var(--sapFontFamily);line-height:2rem;background-color:var(--sapList_FooterBackground);color:var(--ui5-v1-22-1-rc-0_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;height:var(--_ui5-v1-22-1-rc-0_list_no_data_height);font-size:var(--_ui5-v1-22-1-rc-0_list_no_data_font_size);font-family:"72override",var(--sapFontFamily)}.ui5-list-nodata-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}:host([growing="Scroll"]) .ui5-list-end-marker{display:inline-block} +`},_D="complete",kw="M431.958 320h32v128q0 14-9.5 23t-22.5 9h-384q-14 0-23-9t-9-23V64q0-13 9-22.5t23-9.5h128v32h-128v384h384V320zm60-295q7 7 2 16l-185 272q-3 6-10 7t-12-4l-125-139q-9-9 0-18l21-21q10-10 19 0l80 80q5 5 11.5 4t9.5-8l146-207q3-6 9.5-7t11.5 4z",hD=!0,pD="SAP-icons-v4",vD="@ui5/webcomponents-icons";Y(_D,{pathData:kw,ltr:hD,collection:pD,packageName:vD});const fD="complete",$w="M438 224q11 0 18.5 7.5T464 250v140q0 38-26 64t-64 26H106q-38 0-64-26t-26-64V122q0-38 26-64t64-26h237q11 0 18 7.5t7 18.5-7 18-18 7H106q-16 0-27.5 11.5T67 122v268q0 16 11.5 27.5T106 429h268q16 0 27.5-11.5T413 390V250q0-11 7-18.5t18-7.5zm32-192q11 0 18.5 7.5T496 58q0 10-7 17L257 312q-6 8-18 8-10 0-18-8l-70-71q-7-7-7-18t7.5-18 18.5-7 18 7l51 53L452 40q8-8 18-8z",mD=!0,gD="SAP-icons-v5",bD="@ui5/webcomponents-icons";Y(fD,{pathData:$w,ltr:mD,collection:gD,packageName:bD});we();const yD="border",Tw="M448 32q13 0 22.5 9t9.5 23v384q0 14-9.5 23t-22.5 9H64q-14 0-23-9t-9-23V64q0-14 9-23t23-9h384zm0 32H64v384h384V64z",wD=!1,kD="SAP-icons-v4",$D="@ui5/webcomponents-icons";Y(yD,{pathData:Tw,ltr:wD,collection:kD,packageName:$D});const TD="border",xw="M390 480H122q-38 0-64-26t-26-64V122q0-38 26-64t64-26h268q38 0 64 26t26 64v268q0 38-26 64t-64 26zM122 83q-17 0-28 11t-11 28v268q0 17 11 28t28 11h268q17 0 28-11t11-28V122q0-17-11-28t-28-11H122z",xD=!1,SD="SAP-icons-v5",ID="@ui5/webcomponents-icons";Y(TD,{pathData:xw,ltr:xD,collection:SD,packageName:ID});we();const CD="tri-state",Sw="M448 32q13 0 22.5 9.5T480 64v384q0 14-9.5 23t-22.5 9H64q-14 0-23-9t-9-23V64q0-13 9-22.5T64 32h384zm0 32H64v384h384V64zM160 345V169q0-8 8-8h176q8 0 8 8v176q0 8-8 8H168q-8 0-8-8z",AD=!1,BD="SAP-icons-v4",ED="@ui5/webcomponents-icons";Y(CD,{pathData:Sw,ltr:AD,collection:BD,packageName:ED});const DD="tri-state",Iw="M390 32q38 0 64 26t26 64v268q0 38-26 64t-64 26H122q-38 0-64-26t-26-64V122q0-38 26-64t64-26h268zm39 90q0-17-11-28t-28-11H122q-17 0-28 11t-11 28v268q0 17 11 28t28 11h268q17 0 28-11t11-28V122zm-77 38v192H160V160h192z",PD=!1,OD="SAP-icons-v5",RD="@ui5/webcomponents-icons";Y(DD,{pathData:Iw,ltr:PD,collection:OD,packageName:RD});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const LD={packageName:"@ui5/webcomponents",fileName:"themes/CheckBox.css.ts",content:`.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(:not([hidden])){display:inline-block}:host{overflow:hidden;max-width:100%;outline:none;border-radius:var(--_ui5-v1-22-1-rc-0_checkbox_border_radius);transition:var(--_ui5-v1-22-1-rc-0_checkbox_transition);cursor:pointer;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none}:host([disabled]){cursor:default}:host([disabled]) .ui5-checkbox-root{opacity:var(--_ui5-v1-22-1-rc-0_checkbox_disabled_opacity)}:host([disabled]) .ui5-checkbox-inner{border-color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_disabled_border_color)}:host([disabled]) .ui5-checkbox-label{color:var(--_ui5-v1-22-1-rc-0_checkbox_disabled_label_color)}:host([readonly]:not([value-state="Warning"]):not([value-state="Error"])) .ui5-checkbox-inner{background:var(--sapField_ReadOnly_Background);border:var(--_ui5-v1-22-1-rc-0_checkbox_inner_readonly_border);color:var(--sapField_TextColor)}:host([wrapping-type="Normal"][text]) .ui5-checkbox-root{min-height:auto;box-sizing:border-box;align-items:flex-start;padding-top:var(--_ui5-v1-22-1-rc-0_checkbox_root_side_padding);padding-bottom:var(--_ui5-v1-22-1-rc-0_checkbox_root_side_padding)}:host([wrapping-type="Normal"][text]) .ui5-checkbox-root .ui5-checkbox-inner,:host([wrapping-type="Normal"][text]) .ui5-checkbox-root .ui5-checkbox-label{margin-top:var(--_ui5-v1-22-1-rc-0_checkbox_wrapped_content_margin_top)}:host([wrapping-type="Normal"][text]) .ui5-checkbox-root .ui5-checkbox-label{overflow-wrap:break-word;align-self:center}:host([wrapping-type="Normal"]) .ui5-checkbox-root:focus:before{bottom:var(--_ui5-v1-22-1-rc-0_checkbox_wrapped_focus_left_top_bottom_position)}:host([value-state="Error"]) .ui5-checkbox-inner,:host([value-state="Error"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InvalidBackground);border:var(--_ui5-v1-22-1-rc-0_checkbox_inner_error_border);color:var(--sapField_InvalidColor)}:host([value-state="Error"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v1-22-1-rc-0_checkbox_inner_error_background_hover)}:host([value-state="Warning"]) .ui5-checkbox-inner,:host([value-state="Warning"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_WarningBackground);border:var(--_ui5-v1-22-1-rc-0_checkbox_inner_warning_border);color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_warning_color)}:host([value-state="Warning"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v1-22-1-rc-0_checkbox_inner_warning_background_hover)}:host([value-state="Information"]) .ui5-checkbox-inner,:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_InformationBackground);border:var(--_ui5-v1-22-1-rc-0_checkbox_inner_information_border);color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_information_color)}:host([value-state="Information"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v1-22-1-rc-0_checkbox_inner_information_background_hover)}:host([value-state="Success"]) .ui5-checkbox-inner,:host([value-state="Success"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--sapField_SuccessBackground);border:var(--_ui5-v1-22-1-rc-0_checkbox_inner_success_border);color:var(--sapField_SuccessColor)}:host([value-state="Success"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v1-22-1-rc-0_checkbox_inner_success_background_hover)}:host([value-state="Warning"]) .ui5-checkbox-icon,:host([value-state="Warning"][indeterminate]) .ui5-checkbox-inner:after{color:var(--_ui5-v1-22-1-rc-0_checkbox_checkmark_warning_color)}:host([text]) .ui5-checkbox-root{padding-inline-end:var(--_ui5-v1-22-1-rc-0_checkbox_right_focus_distance)}:host([text]) .ui5-checkbox-root:focus:before{inset-inline-end:0}.ui5-checkbox-root{position:relative;display:inline-flex;align-items:center;width:100%;min-height:var(--_ui5-v1-22-1-rc-0_checkbox_width_height);min-width:var(--_ui5-v1-22-1-rc-0_checkbox_width_height);padding:0 var(--_ui5-v1-22-1-rc-0_checkbox_wrapper_padding);outline:none;transition:var(--_ui5-v1-22-1-rc-0_checkbox_transition);border:var(--_ui5-v1-22-1-rc-0_checkbox_default_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_checkbox_border_radius);box-sizing:border-box}.ui5-checkbox-root:focus:before{display:var(--_ui5-v1-22-1-rc-0_checkbox_focus_outline_display);content:"";position:absolute;inset-inline:var(--_ui5-v1-22-1-rc-0_checkbox_focus_position);inset-block:var(--_ui5-v1-22-1-rc-0_checkbox_focus_position);border:var(--_ui5-v1-22-1-rc-0_checkbox_focus_outline);border-radius:var(--_ui5-v1-22-1-rc-0_checkbox_focus_border_radius)}:host .ui5-checkbox-root:focus{border:var(--_ui5-v1-22-1-rc-0_checkbox_focus_border);border-radius:.5rem}:host(:hover:not([disabled])){background:var(--_ui5-v1-22-1-rc-0_checkbox_outer_hover_background)}.ui5-checkbox--hoverable .ui5-checkbox-label:hover{color:var(--_ui5-v1-22-1-rc-0_checkbox_label_color)}:host(:not([active]):not([checked]):not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active]):not([checked])[value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v1-22-1-rc-0_checkbox_hover_background);border-color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_hover_border_color)}:host(:not([active])[checked]:not([value-state])) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner,:host(:not([active])[checked][value-state="None"]) .ui5-checkbox--hoverable:hover .ui5-checkbox-inner{background:var(--_ui5-v1-22-1-rc-0_checkbox_hover_background);border-color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_hover_checked_border_color)}:host([checked]:not([value-state])) .ui5-checkbox-inner,:host([checked][value-state="None"]) .ui5-checkbox-inner{border-color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_selected_border_color)}:host([active]:not([checked]):not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active]:not([checked])[value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_active_border_color);background-color:var(--_ui5-v1-22-1-rc-0_checkbox_active_background)}:host([active][checked]:not([value-state]):not([disabled])) .ui5-checkbox-inner,:host([active][checked][value-state="None"]:not([disabled])) .ui5-checkbox-inner{border-color:var(--_ui5-v1-22-1-rc-0_checkbox_inner_selected_border_color);background-color:var(--_ui5-v1-22-1-rc-0_checkbox_active_background)}.ui5-checkbox-inner{min-width:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);max-width:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);height:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);max-height:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);border:var(--_ui5-v1-22-1-rc-0_checkbox_inner_border);border-radius:var(--_ui5-v1-22-1-rc-0_checkbox_inner_border_radius);background:var(--_ui5-v1-22-1-rc-0_checkbox_inner_background);color:var(--_ui5-v1-22-1-rc-0_checkbox_checkmark_color);box-sizing:border-box;position:relative;cursor:inherit}:host([indeterminate][checked]) .ui5-checkbox-inner:after{content:"";background-color:currentColor;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:var(--_ui5-v1-22-1-rc-0_checkbox_partially_icon_size);height:var(--_ui5-v1-22-1-rc-0_checkbox_partially_icon_size)}:host input{-webkit-appearance:none;visibility:hidden;width:0;left:0;position:absolute;font-size:inherit}.ui5-checkbox-root .ui5-checkbox-label{margin-inline-start:var(--_ui5-v1-22-1-rc-0_checkbox_label_offset);cursor:inherit;text-overflow:ellipsis;overflow:hidden;pointer-events:none;color:var(--_ui5-v1-22-1-rc-0_checkbox_label_color)}.ui5-checkbox-icon{width:var(--_ui5-v1-22-1-rc-0_checkbox_icon_size);height:var(--_ui5-v1-22-1-rc-0_checkbox_icon_size);color:currentColor;cursor:inherit;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}:host([display-only]){cursor:default}:host([display-only]) .ui5-checkbox-display-only-icon-inner [ui5-icon]{color:var(--sapTextColor)}:host([display-only]) .ui5-checkbox-display-only-icon-inner{min-width:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);max-width:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);height:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);max-height:var(--_ui5-v1-22-1-rc-0_checkbox_inner_width_height);display:flex;align-items:center;justify-content:center} +`};function MD(i,e,t){return c``}function ND(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} aria-hidden="true" name=${a(this.displayOnlyIcon)} class="ui5-checkbox-display-only-icon">
    `:c`
    `}function FD(i,e,t){return c`
    ${this.isCompletelyChecked?zD.call(this,i,e,t):void 0}
    `}function zD(i,e,t){return t?c`<${d("ui5-icon",e,t)} aria-hidden="true" name="accept" class="ui5-checkbox-icon">`:c``}function VD(i,e,t){return t?c`<${d("ui5-label",e,t)} part="label" id="${a(this._id)}-label" class="ui5-checkbox-label" wrapping-type="${a(this.wrappingType)}">${a(this.text)}`:c`${a(this.text)}`}function HD(i,e,t){return c`${a(this.valueStateText)}`}var ki=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ha;let Vf=!1,n_,Vt=Ha=class extends j{constructor(){super(),this._deactivate=()=>{n_&&(n_.active=!1)},Vf||(document.addEventListener("mouseup",this._deactivate),Vf=!0)}onBeforeRendering(){this._enableFormSupport()}_enableFormSupport(){const e=Se("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{o.disabled=!!t.disabled,o.checked=!!t.checked,o.value=t.checked?"on":""}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onclick(){this.toggle()}_onmousedown(){this.readonly||this.disabled||(this.active=!0,n_=this)}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}_onkeydown(e){te(e)&&e.preventDefault(),!(this.readonly||this.disabled)&&(de(e)&&this.toggle(),this.active=!0)}_onkeyup(e){te(e)&&this.toggle(),this.active=!1}toggle(){if(this.canToggle()){const e={checked:this.checked,indeterminate:this.indeterminate};this.indeterminate?(this.indeterminate=!1,this.checked=!0):this.checked=!this.checked;const t=!this.fireEvent("change",null,!0),o=!this.fireEvent("value-changed",null,!0);(t||o)&&(this.checked=e.checked,this.indeterminate=e.indeterminate)}return this}canToggle(){return!(this.disabled||this.readonly||this.displayOnly)}valueStateTextMappings(){return{Error:Ha.i18nBundle.getText(wr),Warning:Ha.i18nBundle.getText(kr),Success:Ha.i18nBundle.getText($r)}}get ariaLabelText(){return Wt(this)}get classes(){return{main:{"ui5-checkbox--hoverable":!this.disabled&&!this.readonly&&vo()}}}get ariaReadonly(){return this.readonly||this.displayOnly?"true":void 0}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get effectiveAriaChecked(){return this.indeterminate&&this.checked?"mixed":this.checked}get ariaLabelledBy(){if(!this.ariaLabelText)return this.text?`${this._id}-label`:void 0}get ariaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==y.None}get valueStateText(){if(this.valueState!==y.None&&this.valueState!==y.Information)return this.valueStateTextMappings()[this.valueState]}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled||this.displayOnly?void 0:e||"0"}get isCompletelyChecked(){return this.checked&&!this.indeterminate}get isDisplayOnly(){return this.displayOnly&&!this.disabled}get displayOnlyIcon(){return this.isCompletelyChecked?"complete":this.checked&&this.indeterminate?"tri-state":"border"}static async onDefine(){Ha.i18nBundle=await oe("@ui5/webcomponents")}};ki([u()],Vt.prototype,"accessibleNameRef",void 0);ki([u()],Vt.prototype,"accessibleName",void 0);ki([u({type:Boolean})],Vt.prototype,"disabled",void 0);ki([u({type:Boolean})],Vt.prototype,"readonly",void 0);ki([u({type:Boolean})],Vt.prototype,"displayOnly",void 0);ki([u({type:Boolean})],Vt.prototype,"required",void 0);ki([u({type:Boolean})],Vt.prototype,"indeterminate",void 0);ki([u({type:Boolean})],Vt.prototype,"checked",void 0);ki([u()],Vt.prototype,"text",void 0);ki([u({type:y,defaultValue:y.None})],Vt.prototype,"valueState",void 0);ki([u({type:Di,defaultValue:Di.None})],Vt.prototype,"wrappingType",void 0);ki([u()],Vt.prototype,"name",void 0);ki([u({type:Boolean})],Vt.prototype,"active",void 0);ki([F()],Vt.prototype,"formSupport",void 0);Vt=Ha=ki([B({tag:"ui5-checkbox",languageAware:!0,renderer:ee,template:MD,styles:LD,dependencies:[Os,Ie]}),$("change")],Vt);Vt.define();const mc=Vt;class on{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 o=this.getGroup(t);if(!o)return;const r=this.getCheckedRadioFromGroup(t);o.forEach((n,s,l)=>{if(e._id===n._id)return l.splice(s,1)}),r===e&&this.checkedRadios.set(t,null),o.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 o=this.getGroup(t);if(!o)return;const r=o.length,n=o.indexOf(e);if(r<=1)return;const s=this._nextSelectable(n,o);s&&this.updateSelectionInGroup(s,t)}static updateFormValidity(e){const t=this.getGroup(e);if(!t)return;t.forEach(r=>r._resetFormValidity()),t.some(r=>r.required)&&t.every(r=>!r.checked)&&t[0]._invalidateForm()}static updateTabOrder(e){const t=this.getGroup(e);if(!t)return;const o=t.some(r=>r.checked);t.filter(r=>!r.disabled).forEach((r,n)=>{o?r._tabIndex=r.checked?"0":"-1":r._tabIndex=n===0?"0":"-1"})}static selectPreviousItem(e,t){const o=this.getGroup(t);if(!o)return;const r=o.length,n=o.indexOf(e);if(r<=1)return;const s=this._previousSelectable(n,o);s&&this.updateSelectionInGroup(s,t)}static selectItem(e,t){this.updateSelectionInGroup(e,t),this.updateTabOrder(t)}static updateSelectionInGroup(e,t){const o=this.getCheckedRadioFromGroup(t);o&&this._deselectRadio(o),this._selectRadio(e),this.checkedRadios.set(t,e)}static _deselectRadio(e){e&&(e.checked=!1)}static _selectRadio(e){e&&(e.focus(),e.checked=!0,e._checked=!0,e.fireEvent("change"))}static _nextSelectable(e,t){if(!t)return null;const o=t.length;let r=null;if(e===o-1){if(t[0].disabled||t[0].readonly)return this._nextSelectable(1,t);r=t[0]}else{if(t[e+1].disabled||t[e+1].readonly)return this._nextSelectable(e+1,t);r=t[e+1]}return r}static _previousSelectable(e,t){const o=t.length;let r=null;if(e===0){if(t[o-1].disabled||t[o-1].readonly)return this._previousSelectable(o-1,t);r=t[o-1]}else{if(t[e-1].disabled||t[e-1].readonly)return this._previousSelectable(e-1,t);r=t[e-1]}return r}static enforceSingleSelection(e,t){const o=this.getCheckedRadioFromGroup(t);e.checked?o?e!==o&&(this._deselectRadio(o),this.checkedRadios.set(t,e)):this.checkedRadios.set(t,e):e===o&&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 UD(i,e,t){return c``}function WD(i,e,t){return t?c`<${d("ui5-label",e,t)} id="${a(this._id)}-label" class="ui5-radio-label" for="${a(this._id)}" wrapping-type="${a(this.wrappingType)}">${a(this.text)}`:c`${a(this.text)}`}function qD(i,e,t){return c`${a(this.valueStateText)}`}function jD(i,e,t){return dc``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const GD={packageName:"@ui5/webcomponents",fileName:"themes/RadioButton.css.ts",content:`.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{min-width:var(--_ui5-v1-22-1-rc-0_radio_button_min_width);max-width:100%;text-overflow:ellipsis;overflow:hidden;color:var(--_ui5-v1-22-1-rc-0_radio_button_color);border-radius:var(--_ui5-v1-22-1-rc-0_radio_button_border_radius)}:host(:not([disabled])) .ui5-radio-root{cursor:pointer}:host([checked]){color:var(--_ui5-v1-22-1-rc-0_radio_button_checked_fill)}:host([checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v1-22-1-rc-0_radio_button_inner_ring_color)}:host([checked]) .ui5-radio-svg-outer{stroke:var(--_ui5-v1-22-1-rc-0_radio_button_outer_ring_color)}:host([disabled]) .ui5-radio-root{color:var(--_ui5-v1-22-1-rc-0_radio_button_color);opacity:var(--sapContent_DisabledOpacity)}:host([disabled][checked]) .ui5-radio-svg-outer{stroke:var(--_ui5-v1-22-1-rc-0_radio_button_color)}:host(:not([disabled])) .ui5-radio-root:focus:before{content:"";display:var(--_ui5-v1-22-1-rc-0_radio_button_focus_outline);position:absolute;inset:var(--_ui5-v1-22-1-rc-0_radio_button_focus_dist);pointer-events:none;border:var(--_ui5-v1-22-1-rc-0_radio_button_border_width) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_radio_button_border_radius)}:host(:not([disabled])) .ui5-radio-root:focus{border-radius:var(--_ui5-v1-22-1-rc-0_radio_button_border_radius);border:var(--_ui5-v1-22-1-rc-0_radio_button_focus_border)}:host(:not([value-state="Error"]):not([value-state="Warning"]):not([value-state="Success"]):not([value-state="Information"])) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5-v1-22-1-rc-0_radio_button_outer_ring_hover_color)}:host(:not([value-state="Error"]):not([value-state="Warning"]):not([value-state="Success"]):not([value-state="Information"])[checked]) .ui5-radio-root:hover .ui5-radio-inner--hoverable .ui5-radio-svg-outer{stroke:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_radio_button_hover_fill)}:host([active][checked]:not([value-state]):not([disabled]):not([readonly])) .ui5-radio-svg-outer{stroke:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_radio_button_outer_ring_active_color)}:host([text]) .ui5-radio-root{padding-inline-end:var(--_ui5-v1-22-1-rc-0_radio_button_border_width)}:host([text]) .ui5-radio-root:focus:before{inset-inline-end:0px}:host([text]) .ui5-radio-inner{padding:var(--_ui5-v1-22-1-rc-0_radio_button_outer_ring_padding_with_label)}:host([checked][readonly]) .ui5-radio-svg-inner{fill:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_radio_button_read_only_border_type);stroke-width:var(--_ui5-v1-22-1-rc-0_radio_button_read_only_border_width)}:host([value-state="Error"]) .ui5-radio-svg-outer,:host([value-state="Warning"]) .ui5-radio-svg-outer{stroke-width:var(--sapField_InvalidBorderWidth)}:host([value-state="Information"]) .ui5-radio-svg-outer{stroke-width:var(--_ui5-v1-22-1-rc-0_radio_button_information_border_width)}:host([value-state="Error"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v1-22-1-rc-0_radio_button_checked_error_fill)}:host([value-state="Error"]) .ui5-radio-svg-outer,:host([value-state="Error"]) .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="Error"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v1-22-1-rc-0_radio_button_hover_fill_error)}:host([value-state="Warning"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v1-22-1-rc-0_radio_button_checked_warning_fill)}:host([value-state="Warning"]) .ui5-radio-svg-outer,:host([value-state="Warning"]) .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="Warning"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v1-22-1-rc-0_radio_button_hover_fill_warning)}:host([value-state="Success"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v1-22-1-rc-0_radio_button_checked_success_fill)}:host([value-state="Success"]) .ui5-radio-svg-outer,:host([value-state="Success"]) .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="Success"]) .ui5-radio-root:hover .ui5-radio-inner.ui5-radio-inner--hoverable .ui5-radio-svg-outer{fill:var(--_ui5-v1-22-1-rc-0_radio_button_hover_fill_success)}:host([value-state="Information"][checked]) .ui5-radio-svg-inner{fill:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_radio_button_hover_fill_information)}:host([value-state="Error"]) .ui5-radio-root,:host([value-state="Warning"]) .ui5-radio-root,:host([value-state="Information"]) .ui5-radio-root{stroke-dasharray:var(--_ui5-v1-22-1-rc-0_radio_button_warning_error_border_dash)}.ui5-radio-root{height:var(--_ui5-v1-22-1-rc-0_radio_button_height);position:relative;display:inline-flex;flex-wrap:nowrap;outline:none;max-width:100%;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_radio_button_border);border-radius:var(--_ui5-v1-22-1-rc-0_radio_button_border_radius)}.ui5-radio-inner{display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_radio_button_outer_ring_padding);flex-shrink:0;height:var(--_ui5-v1-22-1-rc-0_radio_button_inner_size);font-size:1rem;pointer-events:none;vertical-align:top}.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-v1-22-1-rc-0_radio_button_label_offset);vertical-align:top;max-width:100%;text-overflow:ellipsis;overflow:hidden;pointer-events:none;color:var(--_ui5-v1-22-1-rc-0_radio_button_label_color)}:host([wrapping-type="Normal"][text]) .ui5-radio-root{height:auto}:host([wrapping-type="Normal"][text]) [ui5-label].ui5-radio-label{padding:var(--_ui5-v1-22-1-rc-0_radio_button_label_side_padding) 0;overflow-wrap:break-word}.ui5-radio-svg{height:var(--_ui5-v1-22-1-rc-0_radio_button_svg_size);width:var(--_ui5-v1-22-1-rc-0_radio_button_svg_size);overflow:visible;pointer-events:none}.ui5-radio-svg-outer{fill:var(--_ui5-v1-22-1-rc-0_radio_button_outer_ring_bg);stroke:currentColor;stroke-width:var(--_ui5-v1-22-1-rc-0_radio_button_outer_ring_width)}.ui5-radio-svg-inner{fill:none;r:var(--_ui5-v1-22-1-rc-0_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)} +`};var $i=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},un;let Hf=!1,a_,Ht=un=class extends j{static get formAssociated(){return!0}constructor(){super(),this._internals=this.attachInternals(),this._deactivate=()=>{a_&&(a_.active=!1)},Hf||(document.addEventListener("mouseup",this._deactivate),Hf=!0)}static async onDefine(){un.i18nBundle=await oe("@ui5/webcomponents")}onBeforeRendering(){this.syncGroup(),this._enableFormSupport()}onExitDOM(){this.syncGroup(!0)}syncGroup(e){const t=this._name,o=this.name,r=this._checked,n=this.checked;e&&on.removeFromGroup(this,t),o!==t?(t&&on.removeFromGroup(this,t),o&&on.addToGroup(this,o)):o&&on.enforceSingleSelection(this,o),this.name&&n!==r&&on.updateTabOrder(this.name),this._name=this.name,this._checked=this.checked}_enableFormSupport(){Se("FormSupport")?this._setFormValue():this.value&&console.warn('In order for the "value" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_setFormValue(){this._internals.setFormValue(this.checked?this.value:null)}_resetFormValidity(){this._internals.setValidity({})}_invalidateForm(){this._internals.setValidity({valueMissing:!0},this.radioButtonGroupRequiredText,this.shadowRoot.firstElementChild)}_onclick(){return this.toggle()}_handleDown(e){const t=this.name;t&&(e.preventDefault(),on.selectNextItem(this,t))}_handleUp(e){const t=this.name;t&&(e.preventDefault(),on.selectPreviousItem(this,t))}_onkeydown(e){if(te(e))return this.active=!0,e.preventDefault();if(de(e))return this.active=!0,this.toggle();const t=this.effectiveDir==="rtl";(De(e)||!t&&it(e)||t&&ft(e))&&this._handleDown(e),(Le(e)||!t&&ft(e)||t&&it(e))&&this._handleUp(e)}_onkeyup(e){te(e)&&this.toggle(),this.active=!1}_onmousedown(){this.active=!0,a_=this}_onmouseup(){this.active=!1}_onfocusout(){this.active=!1}toggle(){return this.canToggle()?this.name?(on.selectItem(this,this.name),this):(this.checked=!this.checked,this.fireEvent("change"),this):this}canToggle(){return!(this.disabled||this.readonly||this.checked)}get classes(){return{inner:{"ui5-radio-inner--hoverable":!this.disabled&&!this.readonly&&vo()}}}get effectiveAriaDisabled(){return this.disabled?"true":null}get ariaLabelText(){return[Wt(this),this.text].filter(Boolean).join(" ")}get effectiveAriaDescribedBy(){return this.hasValueState?`${this._id}-descr`:void 0}get hasValueState(){return this.valueState!==y.None}get valueStateText(){switch(this.valueState){case y.Error:return un.i18nBundle.getText(wr);case y.Warning:return un.i18nBundle.getText(kr);case y.Success:return un.i18nBundle.getText($r);case y.Information:return un.i18nBundle.getText(Yr);default:return""}}get radioButtonGroupRequiredText(){return un.i18nBundle.getText(d0)}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled?"-1":this.name?this._tabIndex:e||"0"}get strokeWidth(){return this.valueState==="None"?"1":"2"}};$i([u({type:Boolean})],Ht.prototype,"disabled",void 0);$i([u({type:Boolean})],Ht.prototype,"readonly",void 0);$i([u({type:Boolean})],Ht.prototype,"required",void 0);$i([u({type:Boolean})],Ht.prototype,"checked",void 0);$i([u()],Ht.prototype,"text",void 0);$i([u({type:y,defaultValue:y.None})],Ht.prototype,"valueState",void 0);$i([u()],Ht.prototype,"name",void 0);$i([u()],Ht.prototype,"value",void 0);$i([u({type:Di,defaultValue:Di.None})],Ht.prototype,"wrappingType",void 0);$i([u()],Ht.prototype,"accessibleName",void 0);$i([u()],Ht.prototype,"accessibleNameRef",void 0);$i([u({defaultValue:"-1",noAttribute:!0})],Ht.prototype,"_tabIndex",void 0);$i([u({type:Boolean})],Ht.prototype,"active",void 0);$i([F()],Ht.prototype,"formSupport",void 0);Ht=un=$i([B({tag:"ui5-radio-button",languageAware:!0,renderer:ee,template:UD,styles:GD,dependencies:[Os]}),$("change")],Ht);Ht.define();const YD=Ht;var jt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Xn;const KD=250,XD=10;let gt=Xn=class extends j{static async onDefine(){Xn.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super(),this._previouslyFocusedItem=null,this._forwardingFocus=!1,this.resizeListenerAttached=!1,this.listEndObserved=!1,this._itemNavigation=new _r(this,{skipItemsSize:XD,navigationMode:Or.Vertical,getItemsCallback:()=>this.getEnabledItems()}),this._handleResize=this.checkListInViewport.bind(this),this._handleResize=this.checkListInViewport.bind(this),this.initialIntersection=!0}onExitDOM(){this.unobserveListEnd(),this.resizeListenerAttached=!1,Pe.deregister(this.getDomRef(),this._handleResize)}onBeforeRendering(){this.prepareListItems()}onAfterRendering(){this.growsOnScroll?this.observeListEnd():this.listEndObserved&&this.unobserveListEnd(),this.grows&&(this.checkListInViewport(),this.attachForResize())}attachForResize(){this.resizeListenerAttached||(this.resizeListenerAttached=!0,Pe.register(this.getDomRef(),this._handleResize))}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 hasData(){return this.getItems().length!==0}get showNoDataText(){return!this.hasData&&this.noDataText}get isDelete(){return this.mode===Ge.Delete}get isSingleSelect(){return[Ge.SingleSelect,Ge.SingleSelectBegin,Ge.SingleSelectEnd,Ge.SingleSelectAuto].includes(this.mode)}get isMultiSelect(){return this.mode===Ge.MultiSelect}get ariaLabelledBy(){if(this.accessibleNameRef||this.accessibleName)return;const e=[];return(this.isMultiSelect||this.isSingleSelect||this.isDelete)&&e.push(this.modeLabelID),this.shouldRenderH1&&e.push(this.headerID),e.length?e.join(" "):void 0}get ariaLabelTxt(){return Wt(this)}get ariaLabelModeText(){if(this.hasData){if(this.isMultiSelect)return Xn.i18nBundle.getText(i0);if(this.isSingleSelect)return Xn.i18nBundle.getText(t0);if(this.isDelete)return Xn.i18nBundle.getText(o0)}return""}get grows(){return this.growing!==wl.None}get growsOnScroll(){return this.growing===wl.Scroll}get growsWithButton(){return this.growing===wl.Button}get _growingButtonText(){return Xn.i18nBundle.getText(qp)}get busyIndPosition(){return this.grows?this._inViewport?"absolute":"sticky":"absolute"}get styles(){return{busyInd:{position:this.busyIndPosition}}}get classes(){return{root:{"ui5-list-root":!0,"ui5-content-native-scrollbars":iv()}}}prepareListItems(){const e=this.getItemsForProcessing();e.forEach((t,o)=>{const r=o===e.length-1,n=this.separators===Au.All||this.separators===Au.Inner&&!r;t.hasConfigurableMode&&(t._mode=this.mode),t.hasBorder=n})}async observeListEnd(){this.listEndObserved||(await Bi(),this.getIntersectionObserver().observe(this.listEndDOM),this.listEndObserved=!0)}unobserveListEnd(){this.growingIntersectionObserver&&(this.growingIntersectionObserver.disconnect(),this.growingIntersectionObserver=null,this.listEndObserved=!1)}onInteresection(e){if(this.initialIntersection){this.initialIntersection=!1;return}e.forEach(t=>{t.isIntersecting&&bw(this.loadMore.bind(this),KD)})}onSelectionRequested(e){const t=this.getSelectedItems();let o=!1;this._selectionRequested=!0,this.mode!==Ge.None&&this[`handle${this.mode}`]&&(o=this[`handle${this.mode}`](e.detail.item,!!e.detail.selected)),o&&!this.fireEvent("selection-change",{selectedItems:this.getSelectedItems(),previouslySelectedItems:t,selectionComponentPressed:e.detail.selectionComponentPressed,targetItem:e.detail.item,key:e.detail.key},!0)&&this._revertSelection(t)}handleSingleSelect(e){return e.selected?!1:(this.deselectSelectedItems(),e.selected=!0,!0)}handleSingleSelectBegin(e){return this.handleSingleSelect(e)}handleSingleSelectEnd(e){return this.handleSingleSelect(e)}handleSingleSelectAuto(e){return this.handleSingleSelect(e)}handleMultiSelect(e,t){return e.selected=t,!0}handleDelete(e){return this.fireEvent("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.disabled)}getItems(){return this.getSlottedNodes("items")}getItemsForProcessing(){return this.getItems()}_revertSelection(e){this.getItems().forEach(t=>{const o=e.indexOf(t)!==-1,r=t.shadowRoot.querySelector(".ui5-li-multisel-cb"),n=t.shadowRoot.querySelector(".ui5-li-singlesel-radiobtn");t.selected=o,r?r.checked=o:n&&(n.checked=o)})}_onkeydown(e){It(e)&&this._handleTabNext(e)}_onLoadMoreKeydown(e){te(e)&&(e.preventDefault(),this._loadMoreActive=!0),de(e)&&(this._onLoadMoreClick(),this._loadMoreActive=!0),It(e)&&this.focusAfterElement(),Ei(e)&&(this.getPreviouslyFocusedItem()?this.focusPreviouslyFocusedItem():this.focusFirstItem(),e.preventDefault())}_onLoadMoreKeyup(e){te(e)&&this._onLoadMoreClick(),this._loadMoreActive=!1}_onLoadMoreMousedown(){this._loadMoreActive=!0}_onLoadMoreMouseup(){this._loadMoreActive=!1}_onLoadMoreClick(){this.loadMore()}checkListInViewport(){this._inViewport=yw(this.getDomRef())}loadMore(){this.fireEvent("load-more")}_handleTabNext(e){yl(e.target)}_onfocusin(e){const t=yl(e.target);if(!this.isForwardElement(t)){e.stopImmediatePropagation();return}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)}isForwardElement(e){const t=e.id,o=this.getBeforeElement();return this._id===t||o&&o.id===t?!0:this.isForwardAfterElement(e)}isForwardAfterElement(e){const t=e.id,o=this.getAfterElement();return o&&o.id===t}onItemTabIndexChange(e){const t=e.target;this._itemNavigation.setCurrentItem(t)}onItemFocused(e){const t=e.target;if(e.stopPropagation(),this._itemNavigation.setCurrentItem(t),this.fireEvent("item-focused",{item:t}),this.mode===Ge.SingleSelectAuto){const o={item:t,selectionComponentPressed:!1,selected:!0,key:e.detail.key};this.onSelectionRequested({detail:o})}}onItemPress(e){const t=e.detail.item;if(this.fireEvent("item-click",{item:t},!0)){if(!this._selectionRequested&&this.mode!==Ge.Delete){this._selectionRequested=!0;const o={item:t,selectionComponentPressed:!1,selected:!t.selected,key:e.detail.key};this.onSelectionRequested({detail:o})}this._selectionRequested=!1}}onItemClose(e){var r;const t=e.target;((t==null?void 0:t.hasAttribute("ui5-li-notification"))||(t==null?void 0:t.hasAttribute("ui5-li-notification-group")))&&this.fireEvent("item-close",{item:(r=e.detail)==null?void 0:r.item})}onItemToggle(e){this.fireEvent("item-toggle",{item:e.detail.item})}onForwardBefore(e){this.setPreviouslyFocusedItem(e.target),this.focusBeforeElement(),e.stopPropagation()}onForwardAfter(e){this.setPreviouslyFocusedItem(e.target),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()}getGrowingButton(){return this.shadowRoot.querySelector(`[id="${this._id}-growing-btn"]`)}focusFirstItem(){const e=this.getFirstItem(t=>!t.disabled);e&&e.focus()}focusPreviouslyFocusedItem(){const e=this.getPreviouslyFocusedItem();e&&e.focus()}focusFirstSelectedItem(){const e=this.getFirstItem(t=>t.selected&&!t.disabled);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 o=null;if(!e)return t.length?t[0]:null;for(let r=0;rO);b("@ui5/webcomponents","sap_horizon",async()=>R);const nP={packageName:"@ui5/webcomponents",fileName:"themes/ListItem.css.ts",content:`.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([actionable]:not([disabled])){cursor:pointer}:host([selected][actionable]:not([active]):hover){background:var(--sapList_Hover_SelectionBackground)}:host([active][actionable]),:host([selected][active][actionable]){background:var(--sapList_Active_Background)}:host([actionable]:not([active]):not([selected]):hover){background:var(--sapList_Hover_Background)}:host([active][actionable]) .ui5-li-root.ui5-li--focusable:focus,:host([active][actionable]) .ui5-li-root.ui5-li--focusable .ui5-li-content:focus{outline-color:var(--sapContent_ContrastFocusColor)}: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([additional-text-state="Warning"]) .ui5-li-additional-text{color:var(--sapCriticalTextColor)}:host([additional-text-state="Success"]) .ui5-li-additional-text{color:var(--sapPositiveTextColor)}:host([additional-text-state="Error"]) .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-content]){height:5rem}:host([image]) .ui5-li-content{height:3rem}:host([description]) .ui5-li-root{padding:1rem}:host([description]) .ui5-li-content{height:3rem}:host([has-title][description]) .ui5-li-title{padding-bottom:.375rem}.ui5-li-text-wrapper{display:flex;flex-direction:column;flex:auto;min-width:1px;line-height:normal}:host([description]) .ui5-li-text-wrapper{height:100%;justify-content:space-between;padding:.125rem 0}.ui5-li-description-info-wrapper{display:flex;justify-content:space-between}.ui5-li-title{color:var(--sapList_TextColor);font-size:var(--_ui5-v1-22-1-rc-0_list_item_title_size)}.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-v1-22-1-rc-0_list_item_content_vertical_offset) 0}.ui5-li-desc{color:var(--sapContent_LabelColor);font-size:var(--sapFontSize)}.ui5-li-additional-text{margin:0 .25rem;color:var(--sapNeutralTextColor);font-size:var(--sapFontSize);min-width:3.75rem;text-align:end}:host([description]) .ui5-li-additional-text{align-self:flex-end}.ui5-li-img{width:var(--_ui5-v1-22-1-rc-0_list_item_img_size);height:var(--_ui5-v1-22-1-rc-0_list_item_img_size);border-radius:var(--ui5-v1-22-1-rc-0-avatar-border-radius)}.ui5-li-img,.ui5-li-imgContent{min-width:var(--_ui5-v1-22-1-rc-0_list_item_img_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_img_size);margin-top:var(--_ui5-v1-22-1-rc-0_list_item_img_top_margin);margin-bottom:var(--_ui5-v1-22-1-rc-0_list_item_img_bottom_margin);margin-inline-end:var(--_ui5-v1-22-1-rc-0_list_item_img_hn_margin)}.ui5-li-img-inner{object-fit:contain}.ui5-li-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);color:var(--sapContent_NonInteractiveIconColor);padding-inline-end:var(--_ui5-v1-22-1-rc-0_list_item_icon_padding-inline-end)}.ui5-li-content{display:flex;align-items:center;flex:auto;overflow:hidden}.ui5-li-detailbtn,.ui5-li-deletebtn{display:flex;align-items:center;margin-left:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_list_item_selection_btn_margin_top)}:host([description]) .ui5-li-multisel-cb{align-self:flex-start;margin-top:var(--_ui5-v1-22-1-rc-0_list_item_selection_btn_margin_top)}:host([_mode="SingleSelectBegin"]) .ui5-li-root{padding-inline:0 1rem}:host([_mode="MultiSelect"]) .ui5-li-root{padding-inline:0 1rem}:host([_mode="SingleSelectEnd"]) .ui5-li-root{padding-inline:1rem 0}:host [ui5-checkbox].ui5-li-singlesel-radiobtn{margin-right:var(--_ui5-v1-22-1-rc-0_list_item_cb_margin_right)} +`},aP="slim-arrow-right",Bw="M357.5 233q10 10 10 23t-10 23l-165 165q-12 11-23 0t0-23l160-159q6-6 0-12l-159-159q-5-5-5-11t5-11 11-5 11 5z",sP=!1,lP="SAP-icons-v4",cP="@ui5/webcomponents-icons";Y(aP,{pathData:Bw,ltr:sP,collection:lP,packageName:cP});const uP="slim-arrow-right",Ew="M186 416q-11 0-18.5-7.5T160 390q0-10 8-18l121-116-121-116q-8-8-8-18 0-11 7.5-18.5T186 96q10 0 17 7l141 134q8 8 8 19 0 12-8 18L203 409q-7 7-17 7z",dP=!1,_P="SAP-icons-v5",hP="@ui5/webcomponents-icons";Y(uP,{pathData:Ew,ltr:dP,collection:_P,packageName:hP});we();var so=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},dn;let fi=dn=class extends nd{constructor(){super(),this.deactivateByKey=t=>{de(t)&&this.deactivate()},this.deactivate=()=>{this.active&&(this.active=!1)};const e=t=>{this._onmousedown(t)};this._ontouchstart={handleEvent:e,passive:!0}}onBeforeRendering(){this.actionable=(this.type===Ft.Active||this.type===Ft.Navigation)&&this._mode!==Ge.Delete}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){super._onkeydown(e);const t=this.type===Ft.Active,o=this.typeNavigation;te(e)&&e.preventDefault(),(te(e)||de(e))&&(t||o)&&this.activate(),de(e)&&this.fireItemPress(e)}_onkeyup(e){(te(e)||de(e))&&this.deactivate(),te(e)&&this.fireItemPress(e),this.modeDelete&&rs(e)&&this.onDelete()}_onmousedown(e){pa(e)!=="button"&&this.activate()}_onmouseup(e){pa(e)!=="button"&&this.deactivate()}_ontouchend(e){this._onmouseup(e)}_onfocusout(){super._onfocusout(),this.deactivate()}_onclick(e){pa(e)!=="button"&&this.fireItemPress(e)}onMultiSelectionComponentPress(e){this.isInactive||this.fireEvent("_selection-requested",{item:this,selected:e.target.checked,selectionComponentPressed:!0})}onSingleSelectionComponentPress(e){this.isInactive||this.fireEvent("_selection-requested",{item:this,selected:!e.target.checked,selectionComponentPressed:!0})}activate(){(this.type===Ft.Active||this.type===Ft.Navigation)&&(this.active=!0)}onDelete(){this.fireEvent("_selection-requested",{item:this,selectionComponentPressed:!1})}onDetailClick(){this.fireEvent("detail-click",{item:this,selected:this.selected})}fireItemPress(e){this.isInactive||(de(e)&&e.preventDefault(),this.fireEvent("_press",{item:this,selected:this.selected,key:e.key}))}get isInactive(){return this.type===Ft.Inactive||this.type===Ft.Detail}get placeSelectionElementBefore(){return this._mode===Ge.MultiSelect||this._mode===Ge.SingleSelectBegin}get placeSelectionElementAfter(){return!this.placeSelectionElementBefore&&(this._mode===Ge.SingleSelectEnd||this._mode===Ge.Delete)}get modeSingleSelect(){return[Ge.SingleSelectBegin,Ge.SingleSelectEnd,Ge.SingleSelect].includes(this._mode)}get modeMultiSelect(){return this._mode===Ge.MultiSelect}get modeDelete(){return this._mode===Ge.Delete}get renderDeleteButton(){return this.modeDelete}get typeDetail(){return this.type===Ft.Detail}get typeNavigation(){return this.type===Ft.Navigation}get typeActive(){return this.type===Ft.Active}get _ariaSelected(){if(this.modeMultiSelect||this.modeSingleSelect)return this.selected}get ariaSelectedText(){let e;return this._ariaSelected!==void 0&&(e=this._ariaSelected?dn.i18nBundle.getText(Hp):dn.i18nBundle.getText(Up)),e}get deleteText(){return dn.i18nBundle.getText(z2)}get hasDeleteButtonSlot(){return!!this.deleteButton.length}get _accessibleNameRef(){return this.accessibleName?`${this._id}-invisibleText`:`${this._id}-content ${this._id}-invisibleText`}get _accInfo(){var e;return{role:this.accessibleRole||this.role,ariaExpanded:void 0,ariaLevel:void 0,ariaLabel:dn.i18nBundle.getText(J2),ariaLabelRadioButton:dn.i18nBundle.getText(e0),ariaSelectedText:this.ariaSelectedText,ariaHaspopup:((e=this.ariaHaspopup)==null?void 0:e.toLowerCase())||void 0,setsize:this.accessibilityAttributes.ariaSetsize,posinset:this.accessibilityAttributes.ariaPosinset}}get hasConfigurableMode(){return!0}static async onDefine(){dn.i18nBundle=await oe("@ui5/webcomponents")}};so([u({type:Ft,defaultValue:Ft.Active})],fi.prototype,"type",void 0);so([u({type:Object})],fi.prototype,"accessibilityAttributes",void 0);so([u({type:Boolean})],fi.prototype,"navigated",void 0);so([u({type:Boolean})],fi.prototype,"active",void 0);so([u()],fi.prototype,"title",void 0);so([u({type:Boolean})],fi.prototype,"actionable",void 0);so([u({defaultValue:"listitem"})],fi.prototype,"role",void 0);so([u({defaultValue:void 0,noAttribute:!0})],fi.prototype,"accessibleRoleDescription",void 0);so([u()],fi.prototype,"accessibleRole",void 0);so([u({type:Ge,defaultValue:Ge.None})],fi.prototype,"_mode",void 0);so([u({type:tv,noAttribute:!0})],fi.prototype,"ariaHaspopup",void 0);so([F()],fi.prototype,"deleteButton",void 0);fi=dn=so([B({languageAware:!0,styles:[nd.styles,nP],dependencies:[Fe,YD,mc]}),$("detail-click"),$("_press"),$("_focused"),$("_selection-requested")],fi);const ka=fi;function pP(i,e,t){return c`
  • ${this.placeSelectionElementBefore?vP.call(this,i,e,t):void 0}
    ${this.hasImageContent?wP.call(this,i,e,t):kP.call(this,i,e,t)}${this.displayIconBegin?TP.call(this,i,e,t):void 0}
    ${this.description?xP.call(this,i,e,t):void 0}${this.typeActive?void 0:IP.call(this,i,e,t)}
    ${this.description?void 0:CP.call(this,i,e,t)}
    ${this.displayIconEnd?BP.call(this,i,e,t):void 0}${this.typeDetail?EP.call(this,i,e,t):void 0}${this.typeNavigation?DP.call(this,i,e,t):void 0}${this.navigated?PP.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?OP.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function vP(i,e,t){return c`${this.modeSingleSelect?fP.call(this,i,e,t):void 0}${this.modeMultiSelect?mP.call(this,i,e,t):void 0}${this.renderDeleteButton?gP.call(this,i,e,t):void 0}`}function fP(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function mP(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function gP(i,e,t){return c`
    ${this.hasDeleteButtonSlot?bP.call(this,i,e,t):yP.call(this,i,e,t)}
    `}function bP(i,e,t){return c``}function yP(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}function wP(i,e,t){return c`
    `}function kP(i,e,t){return c`${this.displayImage?$P.call(this,i,e,t):void 0}`}function $P(i,e,t){return t?c`<${d("ui5-avatar",e,t)} shape="Square" class="ui5-li-img">`:c``}function TP(i,e,t){return t?c`<${d("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:c``}function xP(i,e,t){return c`
    ${a(this.description)}${this.additionalText?SP.call(this,i,e,t):void 0}
    `}function SP(i,e,t){return c`${a(this.additionalText)}`}function IP(i,e,t){return c`${a(this.type)}`}function CP(i,e,t){return c`${this.additionalText?AP.call(this,i,e,t):void 0}`}function AP(i,e,t){return c`${a(this.additionalText)}`}function BP(i,e,t){return t?c`<${d("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:c``}function EP(i,e,t){return t?c`
    <${d("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:c`
    `}function DP(i,e,t){return t?c`<${d("ui5-icon",e,t)} name ="slim-arrow-right">`:c``}function PP(i,e,t){return c`
    `}function OP(i,e,t){return c`${this.modeSingleSelect?RP.call(this,i,e,t):void 0}${this.modeMultiSelect?LP.call(this,i,e,t):void 0}${this.renderDeleteButton?MP.call(this,i,e,t):void 0}`}function RP(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function LP(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function MP(i,e,t){return c`
    ${this.hasDeleteButtonSlot?NP.call(this,i,e,t):FP.call(this,i,e,t)}
    `}function NP(i,e,t){return c``}function FP(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}var ko=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let mi=class extends ka{onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!this.textContent,this._hasImageContent=this.hasImageContent}get displayImage(){return!!this.image}get displayIconBegin(){return!!(this.icon&&!this.iconEnd)}get displayIconEnd(){return!!(this.icon&&this.iconEnd)}get hasImageContent(){return!!this.imageContent.length}};ko([u()],mi.prototype,"description",void 0);ko([u()],mi.prototype,"icon",void 0);ko([u({type:Boolean})],mi.prototype,"iconEnd",void 0);ko([u()],mi.prototype,"image",void 0);ko([u()],mi.prototype,"additionalText",void 0);ko([u({type:y,defaultValue:y.None})],mi.prototype,"additionalTextState",void 0);ko([u()],mi.prototype,"accessibleName",void 0);ko([u({type:Di,defaultValue:Di.None})],mi.prototype,"wrappingType",void 0);ko([u({type:Boolean})],mi.prototype,"hasTitle",void 0);ko([u({type:Boolean})],mi.prototype,"_hasImageContent",void 0);ko([F()],mi.prototype,"imageContent",void 0);mi=ko([B({tag:"ui5-li",template:pP,dependencies:[...ka.dependencies,Ie,nA]})],mi);mi.define();const Ra=mi,zP="slim-arrow-down",Dw="M420.5 187q11-12 23 0 5 5 5 11t-5 11l-165 165q-10 9-23 9t-22-9l-166-165q-5-5-5-11.5t5-11.5 11.5-5 11.5 5l160 160q5 6 11 0z",VP=!1,HP="SAP-icons-v4",UP="@ui5/webcomponents-icons";Y(zP,{pathData:Dw,ltr:VP,collection:HP,packageName:UP});const WP="slim-arrow-down",Pw="M96 186q0-11 7.5-18.5T122 160q10 0 18 8l116 121 116-121q8-8 18-8 11 0 18.5 7.5T416 186q0 10-7 17L275 344q-8 8-19 8-12 0-18-8L103 203q-7-7-7-17z",qP=!1,jP="SAP-icons-v5",GP="@ui5/webcomponents-icons";Y(WP,{pathData:Pw,ltr:qP,collection:jP,packageName:GP});we();function YP(i,e,t){return t?c``:c``}function Uf(i,e,t,o,r){return t?c``:c``}function Wf(i,e,t,o,r){return c``}function KP(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} class="ui5-breadcrumbs-popover" hide-arrow content-only-on-desktop placement-type="Bottom" horizontal-align="Left" _hide-header @keydown="${this._onkeydown}"><${d("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-selection-change="${a(this._onOverflowListItemSelect)}">${E(this._overflowItemsData,(o,r)=>o._id||r,(o,r)=>qf.call(this,i,e,t,o,r))}`:c`${E(this._overflowItemsData,(o,r)=>o._id||r,(o,r)=>qf.call(this,i,e,t,o,r))}`}function qf(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} id="${a(o._id)}-li" accessible-name="${a(o.accessibleName)}" data-ui5-stable="${a(o.stableDomRef)}">${a(o.textContent)}`:c`${a(o.textContent)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const XP={packageName:"@ui5/webcomponents",fileName:"themes/Breadcrumbs.css.ts",content:`:host(:not([hidden])){display:block;width:100%}.ui5-breadcrumbs-root{white-space:nowrap;outline:none;margin:var(--_ui5-v1-22-1-rc-0_breadcrumbs_margin)}.ui5-breadcrumbs-root>ol{margin:0;padding:0;list-style-type:none;display:-webkit-box;display:-webkit-flex;display:flex}.ui5-breadcrumbs-root>ol>li{display:inline}.ui5-breadcrumbs-dropdown-arrow-link-wrapper[hidden]{display:none}.ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-icon]{width:var(--sapFontSize);height:var(--sapFontSize);padding-left:.675rem;vertical-align:text-top;color:var(--sapLinkColor)}.ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-link][focused] [ui5-icon]{color:var(--_ui5-v1-22-1-rc-0_link_focus_color)}.ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-icon]:before{content:"...";vertical-align:middle;position:absolute;left:0;bottom:0}.ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-link][focused] [ui5-icon]:after,.ui5-breadcrumbs-dropdown-arrow-link-wrapper:hover [ui5-icon]:after{content:"";position:absolute;border-bottom:.0625rem solid;inset:0 0 1px}.ui5-breadcrumbs-popover-footer{display:flex;justify-content:flex-end;width:100%}.ui5-breadcrumbs-separator:after{content:"/";padding:0 .25rem;cursor:auto;color:var(--sapContent_LabelColor);display:inline-block;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}:host([separator-style="DoubleSlash"]) .ui5-breadcrumbs-separator:after{content:"//"}:host([separator-style="BackSlash"]) .ui5-breadcrumbs-separator:after{content:"\\"}:host([separator-style="DoubleBackSlash"]) .ui5-breadcrumbs-separator:after{content:"\\\\"}:host([separator-style="GreaterThan"]) .ui5-breadcrumbs-separator:after{content:">"}:host([separator-style="DoubleGreaterThan"]) .ui5-breadcrumbs-separator:after{content:">>"} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const ZP={packageName:"@ui5/webcomponents",fileName:"themes/BreadcrumbsPopover.css.ts",content:`.ui5-breadcrumbs-popover::part(content){padding:0}.ui5-breadcrumbs-popover-footer{display:flex;justify-content:flex-end;width:100%;padding-right:.5rem;align-items:center} +`};var gc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Zn;let $a=Zn=class extends j{constructor(){super(),this._breadcrumbItemWidths=new WeakMap,this._dropdownArrowLinkWidth=0,this._itemNavigation=new _r(this,{navigationMode:Or.Horizontal,getItemsCallback:()=>this._getFocusableItems()}),this._onResizeHandler=this._updateOverflow.bind(this)}onInvalidation(e){if(e.reason==="childchange"){const t=this._getItems().indexOf(e.child);tthis._getFocusableItems()}))}_getFocusableItems(){const e=this._links;return this._isOverflowEmpty||e.unshift(this._dropdownArrowLink),e}_onfocusin(e){const t=e.target;this._itemNavigation.setCurrentItem(t)}_onkeydown(e){const t=this._isDropdownArrowFocused;if(Nr(e)&&t&&!this._isOverflowEmpty){e.preventDefault(),this._toggleRespPopover();return}te(e)&&t&&!this._isOverflowEmpty&&!this._isPickerOpen&&e.preventDefault()}_onkeyup(e){this._isDropdownArrowFocused&&te(e)&&!this._isOverflowEmpty&&!this._isPickerOpen&&this._openRespPopover()}_cacheWidths(){const e=this._breadcrumbItemWidths,t=this._getItems();for(let o=this._overflowSize;ot&&(o+=this._dropdownArrowLinkWidth);o>=t&&rs.forcedTabIndex==="0")||this._itemNavigation.setCurrentItem(n[0])}_getElementWidth(e){return e?Math.ceil(e.getBoundingClientRect().width):0}_getTotalContentWidth(){const e=this._getItems(),t=this._breadcrumbItemWidths;return e.reduce((r,n)=>r+t.get(n),0)}_onLinkPress(e){const t=e.target,o=this._getItems(),r=o.find(p=>`${p._id}-link`===t.id),{altKey:n,ctrlKey:s,metaKey:l,shiftKey:_}=e.detail;if(!this.fireEvent("item-click",{item:r,altKey:n,ctrlKey:s,metaKey:l,shiftKey:_},!0)){e.preventDefault();return}r._isCurrentPageItem&&window.location.reload()}_onOverflowListItemSelect(e){const t=e.detail.selectedItems[0],o=this._getItems(),r=o.find(n=>`${n._id}-li`===t.id);this.fireEvent("item-click",{item:r},!0)&&(window.open(r.href,r.target||"_self","noopener,noreferrer"),this.responsivePopover.close())}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}async _toggleRespPopover(){this.responsivePopover=await this._respPopover(),this._isPickerOpen?this._closeRespPopover():this._openRespPopover()}_closeRespPopover(){this.responsivePopover&&this.responsivePopover.close()}async _openRespPopover(){this.responsivePopover=await this._respPopover(),this.responsivePopover.showAt(this._dropdownArrowLink)}_isItemVisible(e){return!e.hidden&&this._hasVisibleContent(e)}_hasVisibleContent(e){return e.innerText||Array.from(e.children).some(t=>!t.hidden)}_preprocessItems(){this.items.forEach(e=>{e._getRealDomRef=()=>this.getDomRef().querySelector(`[data-ui5-stable*=${e.stableDomRef}]`)})}_getItemPositionText(e,t){return Zn.i18nBundle.getText(u2,e,t)}_getItemAccessibleName(e,t,o){const r=this._getItemPositionText(t,o),n=e.textContent||"";let s="";return e.accessibleName?s=`${n.trim()} ${e.accessibleName} ${r}`:s=`${n.trim()} ${r}`,s}get _visibleItems(){return this._getItems().slice(this._overflowSize).filter(e=>this._isItemVisible(e))}get _endsWithCurrentPageItem(){return this.design===ih.Standard}get _isDropdownArrowFocused(){return this._dropdownArrowLink.forcedTabIndex==="0"}get _maxAllowedOverflowSize(){return this._getItems().filter(t=>this._isItemVisible(t)).length-1}get _dropdownArrowLink(){return this.shadowRoot.querySelector(".ui5-breadcrumbs-dropdown-arrow-link-wrapper [ui5-link]")}get _overflowItemsData(){return this._getItems().slice(0,this._overflowSize).filter(e=>this._isItemVisible(e)).reverse()}get _linksData(){const e=this._visibleItems,t=e.length;return e.map((o,r)=>(o._accessibleNameText=this._getItemAccessibleName(o,r+1,t),o._isCurrentPageItem=r===t-1&&this._endsWithCurrentPageItem,o))}get _links(){return Array.from(this.shadowRoot.querySelectorAll(".ui5-breadcrumbs-link-wrapper [ui5-link]"))}get _isOverflowEmpty(){return this._overflowItemsData.length===0}get _ariaHasPopup(){if(!this._isOverflowEmpty)return"listbox"}get _isPickerOpen(){return!!this.responsivePopover&&this.responsivePopover.opened}get _accessibleNameText(){return Zn.i18nBundle.getText(d2)}get _dropdownArrowAccessibleNameText(){return Zn.i18nBundle.getText(_2)}get _cancelButtonText(){return Zn.i18nBundle.getText(h2)}static async onDefine(){Zn.i18nBundle=await oe("@ui5/webcomponents")}};gc([u({type:ih,defaultValue:ih.Standard})],$a.prototype,"design",void 0);gc([u({type:Mf,defaultValue:Mf.Slash})],$a.prototype,"separatorStyle",void 0);gc([u({validator:z,noAttribute:!0,defaultValue:0})],$a.prototype,"_overflowSize",void 0);gc([F({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],$a.prototype,"items",void 0);$a=Zn=gc([B({tag:"ui5-breadcrumbs",languageAware:!0,renderer:ee,template:YP,staticAreaTemplate:KP,styles:XP,staticAreaStyles:ZP,dependencies:[cB,hB,wo,xr,Ra,Ie,Fe]}),$("item-click",{detail:{item:{type:HTMLElement},altKey:{type:Boolean},ctrlKey:{type:Boolean},metaKey:{type:Boolean},shiftKey:{type:Boolean}}})],$a);$a.define();function QP(i,e,t){return c`
    ${this._hasHeader?JP.call(this,i,e,t):void 0}
    `}function JP(i,e,t){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const eO={packageName:"@ui5/webcomponents",fileName:"themes/Card.css.ts",content:`.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;width:100%}.ui5-card-root{width:100%;height:100%;color:var(--sapGroup_TitleTextColor);background:var(--sapTile_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_card_box_shadow);border-radius:var(--_ui5-v1-22-1-rc-0_card_border-radius);border:var(--_ui5-v1-22-1-rc-0_card_border);overflow:hidden;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);box-sizing:border-box}.ui5-card-root.ui5-card--interactive:hover{box-shadow:var(--_ui5-v1-22-1-rc-0_card_hover_box_shadow)}.ui5-card-root.ui5-card--interactive:active{box-shadow:var(--_ui5-v1-22-1-rc-0_card_box_shadow)}.ui5-card-root.ui5-card--nocontent{height:auto}.ui5-card-root.ui5-card--nocontent .ui5-card-header-root{border-bottom:none}.ui5-card--nocontent ::slotted([ui5-card-header]){--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius: var(--_ui5-v1-22-1-rc-0_card_header_focus_radius)}.ui5-card-root .ui5-card-header-root{border-bottom:var(--_ui5-v1-22-1-rc-0_card_header_border)} +`};var bc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},il;let Ta=il=class extends j{get classes(){return{root:{"ui5-card-root":!0,"ui5-card--interactive":this._hasHeader&&this.header[0].interactive,"ui5-card--nocontent":!this.content.length}}}get _hasHeader(){return!!this.header.length}get _getAriaLabel(){const e=Wt(this),t=e?` ${e}`:"";return il.i18nBundle.getText(X5)+t}get _ariaCardContentLabel(){return il.i18nBundle.getText(K5)}static async onDefine(){il.i18nBundle=await oe("@ui5/webcomponents")}};bc([u()],Ta.prototype,"accessibleName",void 0);bc([u()],Ta.prototype,"accessibleNameRef",void 0);bc([F({type:HTMLElement,default:!0})],Ta.prototype,"content",void 0);bc([F({type:HTMLElement,invalidateOnChildChange:!0})],Ta.prototype,"header",void 0);Ta=il=bc([B({tag:"ui5-card",languageAware:!0,renderer:ee,template:QP,styles:eO,dependencies:[Ie]})],Ta);Ta.define();function tO(i,e,t){return c`
    ${this.hasAvatar?iO.call(this,i,e,t):void 0}
    ${this.titleText?oO.call(this,i,e,t):void 0}${this.status?rO.call(this,i,e,t):void 0}
    ${this.subtitleText?nO.call(this,i,e,t):void 0}
    ${this.hasAction?aO.call(this,i,e,t):void 0}
    `}function iO(i,e,t){return c`
    `}function oO(i,e,t){return c`
    ${a(this.titleText)}
    `}function rO(i,e,t){return c`
    ${a(this.status)}
    `}function nO(i,e,t){return c`
    ${a(this.subtitleText)}
    `}function aO(i,e,t){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const sO={packageName:"@ui5/webcomponents",fileName:"themes/CardHeader.css.ts",content:`.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-card-header{position:relative;display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_card_header_padding);outline:none}:host([subtitleText]) .ui5-card-header{align-items:flex-start}.ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-within:before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus):before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header-focusable-element{outline:none}.ui5-card-header-focusable-element{display:inherit;align-items:inherit;flex:1}.ui5-card-header.ui5-card-header--interactive:hover{cursor:pointer;background:var(--_ui5-v1-22-1-rc-0_card_header_hover_bg)}.ui5-card-header.ui5-card-header--active,.ui5-card-header.ui5-card-header--interactive:active{background:var(--_ui5-v1-22-1-rc-0_card_header_active_bg)}.ui5-card-header .ui5-card-header-text{flex:1;pointer-events:none}.ui5-card-header-first-line{display:flex;flex-flow:row;justify-content:space-between}.ui5-card-header-status{flex:none}.ui5-card-header .ui5-card-header-avatar{height:3rem;width:3rem;display:flex;align-items:center;justify-content:center;margin-inline-end:.75rem;pointer-events:none;align-self:flex-start}::slotted([ui5-icon]){width:1.5rem;height:1.5rem;color:var(--sapTile_IconColor)}::slotted(img[slot="avatar"]){width:100%;height:100%;border-radius:50%}.ui5-card-header .ui5-card-header-status{display:inline-block;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTile_TextColor);text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;margin-inline-start:1rem;margin-block-start:.125rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{font-family:var(--_ui5-v1-22-1-rc-0_card_header_title_font_family);font-size:var(--_ui5-v1-22-1-rc-0_card_header_title_font_size);font-weight:var(--_ui5-v1-22-1-rc-0_card_header_title_font_weight);color:var(--sapTile_TitleTextColor);max-height:3.5rem;align-self:flex-end}.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapTile_TextColor);margin-top:var(--_ui5-v1-22-1-rc-0_card_header_subtitle_margin_top);max-height:2.1rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title,.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{text-align:start;text-overflow:ellipsis;white-space:normal;word-wrap:break-word;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-width:100%}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{-webkit-line-clamp:3}.ui5-card-header-action{display:flex;padding-inline-start:1rem;align-self:flex-start} +`};var Kr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ua;let Mo=Ua=class extends j{get classes(){return{root:{"ui5-card-header":!0,"ui5-card-header--interactive":this.interactive,"ui5-card-header--active":this.interactive&&this._headerActive,"ui5-card-header-ff":p1()}}}get _root(){return this.shadowRoot.querySelector(".ui5-card-header")}get ariaRoleDescription(){return this.interactive?Ua.i18nBundle.getText(Q5):Ua.i18nBundle.getText(Z5)}get ariaRoleFocusableElement(){return this.interactive?"button":null}get ariaCardAvatarLabel(){return Ua.i18nBundle.getText(Fp)}get ariaLabelledBy(){const e=[];return this.titleText&&e.push(`${this._id}-title`),this.subtitleText&&e.push(`${this._id}-subtitle`),this.status&&e.push(`${this._id}-status`),this.hasAvatar&&e.push(`${this._id}-avatar`),e.length!==0?e.join(" "):void 0}get hasAvatar(){return!!this.avatar.length}get hasAction(){return!!this.action.length}static async onDefine(){Ua.i18nBundle=await oe("@ui5/webcomponents")}_actionsFocusin(){this._root.classList.add("ui5-card-header-hide-focus")}_actionsFocusout(){this._root.classList.remove("ui5-card-header-hide-focus")}_click(e){e.stopImmediatePropagation(),this.interactive&&this._root.contains(e.target)&&this.fireEvent("click")}_keydown(e){if(!this.interactive||!this._root.contains(e.target))return;const t=de(e),o=te(e);if(this._headerActive=t||o,t){this.fireEvent("click");return}o&&e.preventDefault()}_keyup(e){if(!this.interactive||!this._root.contains(e.target))return;const t=te(e);this._headerActive=!1,t&&this.fireEvent("click")}};Kr([u()],Mo.prototype,"titleText",void 0);Kr([u()],Mo.prototype,"subtitleText",void 0);Kr([u()],Mo.prototype,"status",void 0);Kr([u({type:Boolean})],Mo.prototype,"interactive",void 0);Kr([u({validator:z,defaultValue:3})],Mo.prototype,"_ariaLevel",void 0);Kr([u({type:Boolean,noAttribute:!0})],Mo.prototype,"_headerActive",void 0);Kr([F()],Mo.prototype,"avatar",void 0);Kr([F()],Mo.prototype,"action",void 0);Mo=Ua=Kr([B({tag:"ui5-card-header",languageAware:!0,renderer:ee,template:tO,styles:sO}),$("click")],Mo);Mo.define();const Cr=new WeakMap;class kl{static get tasks(){return Cr}static enqueue(e,t){Cr.has(e)||Cr.set(e,[]),Cr.get(e).push(t)}static run(e,t){return Cr.has(e)||Cr.set(e,[]),t().then(()=>{const o=Cr.get(e);if(o.length>0)return kl.run(e,o.shift());Cr.delete(e)})}static push(e,t){Cr.get(e)?kl.enqueue(e,t):kl.run(e,t)}}const nv=i=>{let e=null,t=!1,o,r,n;const s=new Promise((l,_)=>{n=p=>{e=e||p;const v=p-e,f=i.duration-v;if(v<=i.duration){const g=1-f/i.duration;i.advance(g),t||(o=requestAnimationFrame(n))}else i.advance(1),l()},r=()=>{t=!0,cancelAnimationFrame(o),_(new Error("animation stopped"))}}).catch(l=>l);return kl.push(i.element,()=>(typeof i.beforeStart=="function"&&i.beforeStart(),requestAnimationFrame(n),new Promise(l=>{s.then(()=>l())}))),{promise:()=>s,stop:()=>r}},av=400,lO=(i,e,t)=>{let o,r;return nv({beforeStart:()=>{o=i.scrollLeft,r=i.scrollTop},duration:av,element:i,advance:n=>{i.scrollLeft=o+n*e,i.scrollTop=r+n*t}})},cO="scroll",uO=Cl()?"touchend":"mouseup";class sv extends ur{constructor(e){super(),this.supportsTouch=Cl(),this.containerComponent=e,this.mouseMove=this.ontouchmove.bind(this),this.mouseUp=this.ontouchend.bind(this),this.touchStart=this.ontouchstart.bind(this),this.supportsTouch=Cl(),this.cachedValue={dragX:0,dragY:0},this.startX=0,this.startY=0,this.supportsTouch?(e.addEventListener("touchstart",this.touchStart,{passive:!0}),e.addEventListener("touchmove",this.mouseMove,{passive:!0}),e.addEventListener("touchend",this.mouseUp,{passive:!0})):e.addEventListener("mousedown",this.touchStart,{passive:!0})}set scrollContainer(e){this._container=e}get scrollContainer(){return this._container}async scrollTo(e,t,o=0,r=0){let n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0;for(;!n&&o>0;)await new Promise(s=>{setTimeout(()=>{n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0,o--,s()},r)});this._container.scrollLeft=e,this._container.scrollTop=t}move(e,t,o){if(o){this._container.scrollLeft+=e,this._container.scrollTop+=t;return}if(this._container)return lO(this._container,e,t)}getScrollLeft(){return this._container.scrollLeft}getScrollTop(){return this._container.scrollTop}_isTouchInside(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]);const o=this._container.getBoundingClientRect(),r=this.supportsTouch?t.clientX:e.x,n=this.supportsTouch?t.clientY:e.y;return r>=o.left&&r<=o.right&&n>=o.top&&n<=o.bottom}ontouchstart(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]),t?(this.startX=t.pageX,this.startY=t.pageY):(document.addEventListener("mouseup",this.mouseUp,{passive:!0}),document.addEventListener("mousemove",this.mouseMove,{passive:!0})),t&&(this._prevDragX=t.pageX,this._prevDragY=t.pageY),e instanceof MouseEvent&&(this._prevDragX=e.x,this._prevDragY=e.y),this._canScroll=this._isTouchInside(e)}ontouchmove(e){if(!this._canScroll)return;const t=this._container,o=this.supportsTouch?e.touches[0]:null,r=this.supportsTouch?o.pageX:e.x,n=this.supportsTouch?o.pageY:e.y;t.scrollLeft+=this._prevDragX-r,t.scrollTop+=this._prevDragY-n,this.fireEvent(cO,{isLeft:r>this._prevDragX,isRight:rthis._prevDragX}),this._prevDragX=o,this._prevDragY=r,this.supportsTouch||(document.removeEventListener("mousemove",this.mouseMove),document.removeEventListener("mouseup",this.mouseUp))}}var gh;(function(i){i.Content="Content",i.Navigation="Navigation"})(gh||(gh={}));const rr=gh;var bh;(function(i){i.Default="Default",i.Numeric="Numeric"})(bh||(bh={}));const yh=bh;var wh;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(wh||(wh={}));const Bu=wh;var kh;(function(i){i.Solid="Solid",i.None="None"})(kh||(kh={}));const jf=kh;function dO(i,e,t){return c` `}function _O(i,e,t,o,r){return c``}function hO(i,e,t){return t?c``:c``}function pO(i,e,t){return c`
    ${this.showArrows.navigation?vO.call(this,i,e,t):void 0}${this.showArrows.navigation?yO.call(this,i,e,t):void 0}
    `}function vO(i,e,t){return t?c`<${d("ui5-button",e,t)} arrow-back tooltip="${a(this.previousPageText)}" class="ui5-carousel-navigation-button ${T(this.classes.navPrevButton)}" icon="slim-arrow-left" tabindex="-1" @click=${this._navButtonClick}>`:c``}function fO(i,e,t){return c`${this.isPageTypeDots?mO.call(this,i,e,t):bO.call(this,i,e,t)}`}function mO(i,e,t){return c`${E(this.dots,(o,r)=>o._id||r,(o,r)=>gO.call(this,i,e,t,o,r))}`}function gO(i,e,t,o,r){return c``}function bO(i,e,t){return c``}function yO(i,e,t){return t?c`<${d("ui5-button",e,t)} arrow-forward tooltip="${a(this.nextPageText)}" class="ui5-carousel-navigation-button ${T(this.classes.navNextButton)}" icon="slim-arrow-right" tabindex="-1" @click=${this._navButtonClick}>`:c``}const wO="slim-arrow-left",Ow="M351.5 421q12 12 0 23-5 5-11 5t-11-5l-166-165q-9-10-9-23t9-23l165-164q5-5 11.5-5t11.5 5 5 11-5 11l-159 159q-6 6 0 12z",kO=!1,$O="SAP-icons-v4",TO="@ui5/webcomponents-icons";Y(wO,{pathData:Ow,ltr:kO,collection:$O,packageName:TO});const xO="slim-arrow-left",Rw="M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z",SO=!1,IO="SAP-icons-v5",CO="@ui5/webcomponents-icons";Y(xO,{pathData:Rw,ltr:SO,collection:IO,packageName:CO});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const AO={packageName:"@ui5/webcomponents",fileName:"themes/Carousel.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{width:100%;min-width:15.5rem;height:100%}.ui5-carousel-root:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-carousel-root{height:inherit;position:relative;display:flex;flex-direction:column;align-items:center;background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-background-solid{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_solid)}.ui5-carousel-background-transparent{background:transparent}.ui5-carousel-viewport{width:100%;height:inherit;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:1px;flex:1;min-height:0}.ui5-carousel-viewport.ui5-carousel-viewport--single{align-items:center}.ui5-carousel-content{height:100%;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;transition:transform .5s cubic-bezier(.46,0,.44,1);will-change:transform}.ui5-carousel-content.ui5-carousel-content-no-animation{transition:none}.ui5-carousel-content.ui5-carousel-content-has-navigation{height:calc(100% - 1rem)}.ui5-carousel-item{height:100%;display:flex;align-items:center;justify-content:center;padding:0 .75rem;box-sizing:border-box;transition:opacity .5s linear;will-change:opacity}.ui5-carousel-item--hidden{opacity:0}.ui5-carousel-navigation-arrows{width:100%;padding:0 .5rem;position:absolute;top:calc(50% - var(--ui5-v1-22-1-rc-0_carousel_button_size) / 2);left:0;display:flex;justify-content:space-between;box-sizing:border-box;pointer-events:none}.ui5-carousel-navigation-arrows>[ui5-button]{pointer-events:all}.ui5-carousel-navigation-wrapper{width:100%;height:2.75rem;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box}.ui5-carousel-navigation-wrapper-bg-solid{background:var(--sapPageFooter_Background)}.ui5-carousel-navigation-wrapper-bg-translucent{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-navigation-wrapper-bg-transparent{background:transparent}.ui5-carousel-navigation-wrapper-border-solid{border-top:var(--sapElement_BorderWidth) solid var(--sapList_BorderColor)}.ui5-carousel-navigation-wrapper.ui5-carousel-navigation-with-buttons{height:3.5rem}.ui5-carousel-navigation-button{width:var(--ui5-v1-22-1-rc-0_carousel_button_size);height:var(--ui5-v1-22-1-rc-0_carousel_button_size);border-radius:50%;box-shadow:none;cursor:pointer;outline-offset:.1rem;--_ui5-v1-22-1-rc-0_button_focused_border_radius: 50%}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button{box-shadow:var(--sapContent_Shadow1)}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button:active{box-shadow:var(--ui5-v1-22-1-rc-0_carousel_navigation_button_active_box_shadow)}.ui5-carousel-navigation-button--hidden{visibility:hidden;padding:0}.ui5-carousel-navigation{width:9rem;height:2rem;display:flex;justify-content:center;align-items:center}.ui5-carousel-navigation-dot{box-sizing:border-box;width:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);height:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);margin:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_margin);border-radius:50%;background-color:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_border);transition:background-color .1s ease-in}.ui5-carousel-navigation-dot[active]{width:.5rem;height:.5rem;margin:0 .25rem;background-color:var(--ui5-v1-22-1-rc-0_carousel_active_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_active_dot_border)}.ui5-carousel-navigation-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapPageFooter_TextColor);white-space:nowrap;overflow:hidden;text-align:center;text-overflow:ellipsis} +`};var oi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},_n;let Ct=_n=class extends j{static get pageTypeLimit(){return 9}constructor(){super(),this._scrollEnablement=new sv(this),this._scrollEnablement.attachEvent("touchend",e=>{this._updateScrolling(e)}),this._onResizeBound=this._onResize.bind(this),this._resizing=!1,this._lastFocusedElements=[],this._orderOfLastFocusedPages=[]}onBeforeRendering(){this.arrowsPlacement===rr.Navigation&&(this._visibleNavigationArrows=!0),this.validateSelectedIndex()}onAfterRendering(){this._scrollEnablement.scrollContainer=this.getDomRef(),this._resizing=!1}onEnterDOM(){Pe.register(this,this._onResizeBound)}onExitDOM(){Pe.deregister(this,this._onResizeBound)}validateSelectedIndex(){this.isIndexInRange(this._selectedIndex)||(this._selectedIndex=0)}_onResize(){const e=this.effectiveItemsPerPage;this._resizing=!0,this._width=this.offsetWidth,this._itemWidth=Math.floor(this._width/this.effectiveItemsPerPage),this.effectiveItemsPerPage!==e&&this._selectedIndex>this.pagesCount-1&&(this._selectedIndex=this.pagesCount-1,this.fireEvent("navigate",{selectedIndex:this._selectedIndex}))}_updateScrolling(e){e&&(e.isLeft?this.navigateLeft():e.isRight&&this.navigateRight())}async _onkeydown(e){if(V1(e)){this._handleF7Key(e);return}e.target===this.getDomRef()&&(ft(e)||De(e)?(this.navigateLeft(),await Bi(),this.getDomRef().focus()):(it(e)||Le(e))&&(this.navigateRight(),await Bi(),this.getDomRef().focus()))}_onfocusin(e){const t=e.target;if(t===this.getDomRef())return;let o=-1;for(let n=0;nthis.pagesCount-1)if(this.cyclic)this._selectedIndex=0;else return;else++this._selectedIndex;e!==this._selectedIndex&&this.fireEvent("navigate",{selectedIndex:this._selectedIndex})}_navButtonClick(e){e.target.hasAttribute("arrow-forward")?this.navigateRight():this.navigateLeft(),this.focus()}navigateTo(e){this._resizing=!1,this._selectedIndex=e}get items(){return this.content.map((e,t)=>{const o=this.isItemInViewport(t);return{id:`${this._id}-carousel-item-${t+1}`,item:e,tabIndex:o?"0":"-1",posinset:`${t+1}`,setsize:`${this.content.length}`,styles:{width:`${this._itemWidth||0}px`},classes:o?"":"ui5-carousel-item--hidden"}})}get effectiveItemsPerPage(){return this._width?this._width<=640?this.itemsPerPageS:this._width<=1024?this.itemsPerPageM:this.itemsPerPageL:this.itemsPerPageL}isItemInViewport(e){return e>=this._selectedIndex&&e<=this._selectedIndex+this.effectiveItemsPerPage-1}isIndexInRange(e){return e>=0&&e<=this.pagesCount-1}get renderNavigation(){return this.hasManyPages?this.arrowsPlacement===rr.Navigation&&!this.hideNavigationArrows?!0:!this.hidePageIndicator:!1}get hasManyPages(){return this.pagesCount>1}get styles(){const e=this._itemWidth||0;return{content:{transform:`translateX(${this._isRTL?"":"-"}${this._selectedIndex*e}px`}}}get classes(){return{viewport:{"ui5-carousel-viewport":!0,"ui5-carousel-viewport--single":this.pagesCount===1},content:{"ui5-carousel-content":!0,"ui5-carousel-content-no-animation":this.suppressAnimation,"ui5-carousel-content-has-navigation":this.renderNavigation,"ui5-carousel-content-has-navigation-and-buttons":this.renderNavigation&&this.arrowsPlacement===rr.Navigation&&!this.hideNavigationArrows},navigation:{"ui5-carousel-navigation-wrapper":!0,"ui5-carousel-navigation-with-buttons":this.renderNavigation&&this.arrowsPlacement===rr.Navigation&&!this.hideNavigationArrows,[`ui5-carousel-navigation-wrapper-bg-${this.pageIndicatorBackgroundDesign.toLowerCase()}`]:!0,[`ui5-carousel-navigation-wrapper-border-${this.pageIndicatorBorderDesign.toLowerCase()}`]:!0},navPrevButton:{"ui5-carousel-navigation-button--hidden":!this.hasPrev},navNextButton:{"ui5-carousel-navigation-button--hidden":!this.hasNext}}}get pagesCount(){const e=this.content.length;return e>this.effectiveItemsPerPage?e-this.effectiveItemsPerPage+1:1}get isPageTypeDots(){return this.pageIndicatorStyle===yh.Numeric?!1:this.pagesCount<_n.pageTypeLimit}get dots(){const e=[],t=this.pagesCount;for(let o=0;o=0}get hasNext(){return this.cyclic||this._selectedIndex+1<=this.pagesCount-1}get suppressAnimation(){return this._resizing||cc()===bs.None}get _isRTL(){return this.effectiveDir==="rtl"}get selectedIndexToShow(){return this._isRTL?this.pagesCount-(this.pagesCount-this._selectedIndex)+1:this._selectedIndex+1}get ofText(){return _n.i18nBundle.getText(g2)}get ariaActiveDescendant(){return this.content.length?`${this._id}-carousel-item-${this._selectedIndex+1}`:void 0}get nextPageText(){return _n.i18nBundle.getText(w2)}get previousPageText(){return _n.i18nBundle.getText(y2)}get visibleItemsIndices(){const e=[];return this.items.forEach((t,o)=>{this.isItemInViewport(o)&&e.push(o)}),e}static async onDefine(){_n.i18nBundle=await oe("@ui5/webcomponents")}};oi([u({type:Boolean})],Ct.prototype,"cyclic",void 0);oi([u({validator:z,defaultValue:1})],Ct.prototype,"itemsPerPageS",void 0);oi([u({validator:z,defaultValue:1})],Ct.prototype,"itemsPerPageM",void 0);oi([u({validator:z,defaultValue:1})],Ct.prototype,"itemsPerPageL",void 0);oi([u({type:Boolean})],Ct.prototype,"hideNavigationArrows",void 0);oi([u({type:Boolean})],Ct.prototype,"hidePageIndicator",void 0);oi([u({type:yh,defaultValue:yh.Default})],Ct.prototype,"pageIndicatorStyle",void 0);oi([u({type:Bu,defaultValue:Bu.Translucent})],Ct.prototype,"backgroundDesign",void 0);oi([u({type:Bu,defaultValue:Bu.Solid})],Ct.prototype,"pageIndicatorBackgroundDesign",void 0);oi([u({type:jf,defaultValue:jf.Solid})],Ct.prototype,"pageIndicatorBorderDesign",void 0);oi([u({validator:z,defaultValue:0})],Ct.prototype,"_selectedIndex",void 0);oi([u({type:rr,defaultValue:rr.Content})],Ct.prototype,"arrowsPlacement",void 0);oi([u({validator:z})],Ct.prototype,"_width",void 0);oi([u({validator:z})],Ct.prototype,"_itemWidth",void 0);oi([u({type:Boolean,noAttribute:!0})],Ct.prototype,"_visibleNavigationArrows",void 0);oi([F({default:!0,type:HTMLElement,individualSlots:!0})],Ct.prototype,"content",void 0);Ct=_n=oi([B({tag:"ui5-carousel",languageAware:!0,fastNavigation:!0,renderer:ee,styles:AO,template:dO,dependencies:[Fe,Os]}),$("navigate",{detail:{selectedIndex:{type:z}}})],Ct);Ct.define();class yc extends _c{static isValid(e){return/^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\(\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*(,\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|rgba\((\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){3}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|hsl\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*(,\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|hsla\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*,(\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){2}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|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|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|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|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(e)}}function BO(i,e,t){return c`
    ${this.showDefaultColor?EO.call(this,i,e,t):void 0}
    ${E(this.displayedColors,(o,r)=>o._id||r,(o,r)=>DO.call(this,i,e,t,o,r))}
    ${this._showMoreColors?PO.call(this,i,e,t):void 0}${this.showRecentColors?OO.call(this,i,e,t):void 0}
    `}function EO(i,e,t){return t?c`
    <${d("ui5-button",e,t)} class="ui5-cp-default-color-button" design="Transparent" @click=${this._onDefaultColorClick} @keydown=${this._onDefaultColorKeyDown}>${a(this.colorPaletteDefaultColorText)}
    `:c`
    ${a(this.colorPaletteDefaultColorText)}
    `}function DO(i,e,t,o,r){return c``}function PO(i,e,t){return t?c`
    <${d("ui5-button",e,t)} design="Transparent" class="ui5-cp-more-colors" @click="${this._openMoreColorsDialog}" @keydown=${this._onMoreColorsKeyDown}>${a(this.colorPaletteMoreColorsText)}
    `:c`
    ${a(this.colorPaletteMoreColorsText)}
    `}function OO(i,e,t){return c`
    ${E(this.recentColors,(o,r)=>o._id||r,(o,r)=>RO.call(this,i,e,t,o,r))}
    `}function RO(i,e,t,o,r){return t?c`<${d("ui5-color-palette-item",e,t)} value="${a(o)}">`:c``}function LO(i,e,t){return t?c`<${d("ui5-dialog",e,t)} header-text="${a(this.moreColorsFeature.colorPaletteDialogTitle)}">
    <${d("ui5-color-picker",e,t)}>
    `:c`
    `}function MO(i,e,t){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const NO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteItem.css.ts",content:`:host(:not([hidden])){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-outer-border-radius);display:inline-block;margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-margin);box-sizing:border-box}:host(:not([_disabled]):hover){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-outer-border-radius)}:host(:not([hidden])[phone]){height:2.75rem;width:2.75rem;border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:.25rem;display:inline-block;margin:.375rem}.ui5-cp-item{position:relative;box-sizing:border-box;border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-inner-border-radius);width:100%;height:100%}:host(:not([_disabled]):not([phone]):hover) .ui5-cp-item{border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius)}:host(:not([_disabled])[phone]) .ui5-cp-item{border-radius:.1875rem}.ui5-cp-item:hover:not(:focus){border:1px solid var(--sapGroup_ContentBackground);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius);box-sizing:border-box}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus{outline:none}:host(:not([_disabled]):not([phone]):focus) .ui5-cp-item{pointer-events:none}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled])) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none} +`};var Ls=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},iu;let Wr=iu=class extends j{static async onDefine(){iu.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._disabled=!this.value,this.phone=G()}get colorLabel(){return iu.i18nBundle.getText(T2)}get styles(){return{root:{"background-color":this.value}}}};Ls([u({validator:yc})],Wr.prototype,"value",void 0);Ls([u({defaultValue:"-1",noAttribute:!0})],Wr.prototype,"forcedTabIndex",void 0);Ls([u({validator:z})],Wr.prototype,"index",void 0);Ls([u({type:Boolean})],Wr.prototype,"phone",void 0);Ls([u({type:Boolean})],Wr.prototype,"_disabled",void 0);Wr=iu=Ls([B({tag:"ui5-color-palette-item",renderer:ee,styles:NO,template:MO})],Wr);Wr.define();const FO=Wr;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const zO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalette.css.ts",content:`:host(:not([hidden])){display:inline-block}:host(:not([hidden])[popup-mode]){width:100%}.ui5-cp-root{display:flex;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone,.ui5-cp-separator,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-more-colors-wrapper,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-default-color-button-wrapper,.ui5-cp-recent-colors-wrapper{width:100%}.ui5-cp-root.ui5-cp-root-phone .ui5-cp-item-container{width:18.5rem;max-width:19.5rem;max-height:13rem;padding:.375rem .625rem}.ui5-cp-recent-colors-wrapper{display:flex;align-items:center;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone{display:flex;align-items:center}.ui5-cp-item-container{display:flex;max-width:var(--_ui5-v1-22-1-rc-0_color-palette-row-width);flex-flow:wrap;max-height:var(--_ui5-v1-22-1-rc-0_color-palette-row-height);overflow:hidden;padding:var(--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding)}.ui5-cp-more-colors,.ui5-cp-default-color-button{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);text-align:center;border:none}.ui5-cp-more-colors-wrapper,.ui5-cp-default-color-button-wrapper{display:flex;flex-direction:column}.ui5-cp-separator{height:.0625rem;background:var(--sapToolbar_SeparatorColor)}.ui5-cp-default-color-button,.ui5-cp-more-colors{padding:.0625rem} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const VO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteStaticArea.css.ts",content:`.ui5-cp-dialog-content{display:flex;justify-content:center;align-items:center;margin:1rem 0}.ui5-cp-dialog-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 1rem}.ui5-cp-dialog-footer [ui5-button]:first-child{margin-right:1rem} +`};var Dn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Wa;let No=Wa=class extends j{static async onDefine(){const e=Se("ColorPaletteMoreColors");[Wa.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}constructor(){super(),this._itemNavigation=new _r(this,{getItemsCallback:()=>this.displayedColors,rowSize:this.rowSize,behavior:na.Cyclic}),this._itemNavigationRecentColors=new _r(this,{getItemsCallback:()=>this.recentColorsElements,rowSize:this.rowSize,behavior:na.Static}),this._recentColors=[]}onBeforeRendering(){if(this.displayedColors.forEach((e,t)=>{e.index=t+1}),this.showMoreColors){const e=Se("ColorPaletteMoreColors");if(e)this.moreColorsFeature=new e;else throw new Error('You have to import "@ui5/webcomponents/dist/features/ColorPaletteMoreColors.js" module to use the more-colors functionality.')}}onAfterRendering(){this.popupMode&&(this.showDefaultColor?this.focusFirstFocusableElement():this.focusFirstDisplayColorElement())}selectColor(e){e.value&&(e.focus(),this.displayedColors.includes(e)&&this._itemNavigation.setCurrentItem(e),this._setColor(e.value))}_setColor(e){this._selectedColor=e,this._recentColors[0]!==this._selectedColor&&(this._recentColors.includes(this._selectedColor)?this._recentColors.unshift(this._recentColors.splice(this._recentColors.indexOf(this._selectedColor),1)[0]):this._recentColors.unshift(this._selectedColor)),this.fireEvent("item-click",{color:this._selectedColor})}_onclick(e){const t=e.target;t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onkeyup(e){const t=e.target;te(e)&&t.hasAttribute("ui5-color-palette-item")&&(e.preventDefault(),this.selectColor(t))}_onkeydown(e){const t=e.target;de(e)&&t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onDefaultColorKeyDown(e){if(It(e)&&this.popupMode&&(e.preventDefault(),this._onDefaultColorClick()),De(e))e.stopPropagation(),this.focusColorElement(this.colorPaletteNavigationElements[1],this._itemNavigation);else if(Le(e)){e.stopPropagation();const t=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(this.hasRecentColors)this.focusColorElement(t,this._itemNavigationRecentColors);else if(this.showMoreColors)t.focus();else{const o=this.displayedColors.length%this.rowSize*this.rowSize;this.focusColorElement(this.displayedColors[o],this._itemNavigation)}}}_onMoreColorsKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements.indexOf(t),r=this.displayedColors.length%this.rowSize*this.rowSize;Le(e)?(e.stopPropagation(),this.focusColorElement(this.displayedColors[r],this._itemNavigation)):De(e)&&(e.stopPropagation(),this.hasRecentColors?this.focusColorElement(this.colorPaletteNavigationElements[o+1],this._itemNavigationRecentColors):this.showDefaultColor?this.firstFocusableElement.focus():this.focusColorElement(this.displayedColors[0],this._itemNavigation))}_onColorContainerKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(It(e)&&this.popupMode&&(e.preventDefault(),this.selectColor(t)),Le(e)&&t===this.displayedColors[0]&&this.colorPaletteNavigationElements.length>1)e.stopPropagation(),this.showDefaultColor?this.firstFocusableElement.focus():!this.showDefaultColor&&this.hasRecentColors?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&o.focus();else if(De(e)&&t===this.displayedColors[this.displayedColors.length-1]&&this.colorPaletteNavigationElements.length>1){e.stopPropagation();const r=this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors||!this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors;this.showDefaultColor&&this.showMoreColors?this.colorPaletteNavigationElements[2].focus():this.showDefaultColor&&!this.showMoreColors&&(!this.showRecentColors||!this.recentColors[0])?this.firstFocusableElement.focus():r?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&this.colorPaletteNavigationElements[1].focus()}}_onRecentColorsContainerKeyDown(e){if(Le(e)){if(this.showMoreColors){const t=this.showDefaultColor?2:1;this.colorPaletteNavigationElements[t].focus()}else if(!this.showMoreColors&&this.colorPaletteNavigationElements.length>1){const t=this.displayedColors.length%this.rowSize*this.rowSize;e.stopPropagation(),this.focusColorElement(this.displayedColors[t],this._itemNavigation)}}else De(e)&&(this.showDefaultColor?this.firstFocusableElement.focus():(e.stopPropagation(),this.focusColorElement(this.displayedColors[0],this._itemNavigation)))}focusColorElement(e,t){t.setCurrentItem(e),t._focusCurrentItem()}focusFirstDisplayColorElement(){this.focusColorElement(this.displayedColors[0],this._itemNavigation)}focusFirstFocusableElement(){this.firstFocusableElement.focus()}get firstFocusableElement(){return this.colorPaletteNavigationElements[0]}async _chooseCustomColor(){const e=await this.getColorPicker();this._setColor(e.color),this._closeDialog()}async _closeDialog(){(await this._getDialog()).close()}async _openMoreColorsDialog(){(await this._getDialog()).show()}_onDefaultColorClick(){this.defaultColor&&this._setColor(this.defaultColor)}get selectedColor(){return this._selectedColor}get displayedColors(){return this.getSlottedNodes("colors").filter(t=>t.value).slice(0,15)}get colorContainerLabel(){return Wa.i18nBundle.getText(k2)}get colorPaletteMoreColorsText(){return Wa.i18nBundle.getText(I2)}get colorPaletteDefaultColorText(){return Wa.i18nBundle.getText(C2)}get _showMoreColors(){return this.showMoreColors&&this.moreColorsFeature}get rowSize(){return 5}get hasRecentColors(){return this.showRecentColors&&this.recentColors[0]}get recentColors(){for(this._recentColors.length>this.rowSize&&(this._recentColors=this._recentColors.slice(0,this.rowSize));this._recentColors.lengtht.value!==""):[]}get colorPaletteNavigationElements(){const e=[],t=this.shadowRoot.querySelector(".ui5-cp-root");return this.showDefaultColor&&e.push(t.querySelector(".ui5-cp-default-color-button")),e.push(this.displayedColors[0]),this.showMoreColors&&e.push(t.querySelector(".ui5-cp-more-colors")),this.showRecentColors&&this.recentColorsElements.length&&e.push(this.recentColorsElements[0]),e}get classes(){return{colorPaletteRoot:{"ui5-cp-root":!0,"ui5-cp-root-phone":G()}}}async _getDialog(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-dialog]")}async getColorPicker(){return(await this._getDialog()).content[0].querySelector("[ui5-color-picker]")}};Dn([u({type:Boolean})],No.prototype,"showRecentColors",void 0);Dn([u({type:Boolean})],No.prototype,"showMoreColors",void 0);Dn([u({type:Boolean})],No.prototype,"showDefaultColor",void 0);Dn([u({validator:yc})],No.prototype,"defaultColor",void 0);Dn([u({validator:yc})],No.prototype,"_selectedColor",void 0);Dn([u({type:Boolean})],No.prototype,"popupMode",void 0);Dn([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0,individualSlots:!0})],No.prototype,"colors",void 0);No=Wa=Dn([B({tag:"ui5-color-palette",renderer:ee,template:BO,staticAreaTemplate:LO,styles:zO,staticAreaStyles:VO,get dependencies(){const i=Se("ColorPaletteMoreColors");return[FO,Fe].concat(i?i.dependencies:[])}}),$("item-click",{detail:{color:{type:String}}})],No);No.define();const HO=No;function UO(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} hide-arrow content-only-on-desktop placement-type="Bottom" ?open="${this._open}" .opener="${a(this.opener)}" @ui5-after-close="${a(this.onAfterClose)}">
    <${d("ui5-title",e,t)} class="ui5-cp-title">${a(this._colorPaletteTitle)}
    <${d("ui5-color-palette",e,t)} ?show-more-colors="${this.showMoreColors}" ?show-recent-colors="${this.showRecentColors}" ?show-default-color="${this.showDefaultColor}" default-color="${a(this.defaultColor)}" popup-mode @ui5-item-click="${a(this.onSelectedColor)}">${E(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>Gf.call(this,i,e,t,o,r))}
    `:c`
    ${a(this._colorPaletteTitle)}
    ${E(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>Gf.call(this,i,e,t,o,r))}
    `}function Gf(i,e,t,o,r){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const WO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalettePopover.css.ts",content:`.ui5-cp-header{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);display:flex;align-items:center}.ui5-cp-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 0}[ui5-responsive-popover]::part(content){padding:0}[ui5-title],[ui5-button]{margin-bottom:1rem}.ui5-cp-item-container{padding:.3125rem .6875rem} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const Wo={packageName:"@ui5/webcomponents",fileName:"themes/ResponsivePopoverCommon.css.ts",content:`.input-root-phone{flex:1;position:relative;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color);border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}.input-root-phone [value-state=Error] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Success] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Warning] [input-icon][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-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}.input-root-phone[value-state=Error] [inner-input],.input-root-phone[value-state=Warning] [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style)}.input-root-phone[value-state=Error] [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}.input-root-phone[value-state=Error]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Error]:not([readonly]):not([disabled]),.input-root-phone[value-state=Warning]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}.input-root-phone[value-state=Warning]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Success]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width)}.input-root-phone[value-state=Success]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Success]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_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:calc(100% - var(--_ui5-v1-22-1-rc-0_button_base_min_width))}.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;padding:.25rem 0;width:100%}.ui5-responsive-popover-close-btn{position:absolute;right:1rem} +`};var Pn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ol;let pr=ol=class extends j{static async onDefine(){ol.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}get responsivePopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}get respPopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}showAt(e){console.warn("The method 'showAt' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.open=!0,this.opener=e}openPopover(e){console.warn("The method 'openPopover' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.showAt(e)}closePopover(){this.open=!1}onAfterClose(){this.closePopover(),this.fireEvent("close")}onSelectedColor(e){this.closePopover(),this.fireEvent("item-click",e.detail)}isOpen(){return this.open}get colorPaletteColors(){return this.getSlottedNodes("colors")}get _colorPaletteTitle(){return ol.i18nBundle.getText($2)}get _cancelButtonLabel(){return ol.i18nBundle.getText(zp)}get _open(){return this.open||void 0}};Pn([u({type:Boolean})],pr.prototype,"showRecentColors",void 0);Pn([u({type:Boolean})],pr.prototype,"showMoreColors",void 0);Pn([u({type:Boolean})],pr.prototype,"showDefaultColor",void 0);Pn([u({validator:yc})],pr.prototype,"defaultColor",void 0);Pn([u({type:Boolean})],pr.prototype,"open",void 0);Pn([u({validator:id})],pr.prototype,"opener",void 0);Pn([F({default:!0,type:HTMLElement,individualSlots:!0})],pr.prototype,"colors",void 0);pr=ol=Pn([B({tag:"ui5-color-palette-popover",renderer:ee,styles:[Wo,WO],template:UO,dependencies:[wo,Fe,rv,HO]}),$("item-click",{detail:{color:{type:String}}}),$("close")],pr);pr.define();class Ti extends _c{static isValid(e){return Number(e)===e}static attributeToProperty(e){return parseFloat(e)}}/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const Lw=Symbol.for(""),qO=i=>{if((i==null?void 0:i.r)===Lw)return i==null?void 0:i._$litStatic$},jO=i=>({_$litStatic$:i,r:Lw}),Yf=new Map,Mw=i=>(e,...t)=>{const o=t.length;let r,n;const s=[],l=[];let _,p=0,v=!1;for(;pi.startsWith("rgba")?XO(i):i.startsWith("rgb")?ZO(i):(i.indexOf("#")===0&&(i.length===4?i=`${i[1]}${i[1]}${i[2]}${i[2]}${i[3]}${i[3]}`:i=i.slice(1,i.length)),Kf.has(i)&&(i=Kf.get(i)),Nw(i)),XO=i=>{const e=i.indexOf("("),t=[];for(let o=0;o{const e=i.indexOf("("),t=i.indexOf(")"),o=[];for(let r=0;r{let e=i.s*100,t=i.l*100,o,r,n;e>100?e=1:e<0?e=0:e/=100,t>100?t=1:t<0?t=0:t/=100;const s=i.h,l=e*(1-Math.abs(2*t-1)),_=255*(t-.5*l),p=l*(1-Math.abs(s/60%2-1)),v=Math.floor(s/60),f=_+255*p,g=_+255*l;switch(v){case 0:o=g,r=f,n=_;break;case 1:o=f,r=g,n=_;break;case 2:o=_,r=g,n=f;break;case 3:o=_,r=f,n=g;break;case 4:o=f,r=_,n=g;break;case 5:o=g,r=_,n=f;break;default:o=0,r=0,n=0;break}return{r:Math.round(o),g:Math.round(r),b:Math.round(n)}},Nw=i=>({r:parseInt(i.substr(0,2),16),g:parseInt(i.substr(2,2),16),b:parseInt(i.substr(4,2),16)}),QO=i=>{const e=i.r/255,t=i.g/255,o=i.b/255,r=Math.max(e,t,o),n=Math.min(e,t,o),s=r-n;let l=0,_;s===0?l=0:r===e?l=60*((t-o)/s%6):r===t?l=60*((o-e)/s+2):r===o&&(l=60*((e-t)/s+4));const p=(r+n)/2;return s===0?_=0:_=s/(1-Math.abs(2*p-1)),{h:l,s:_,l:p}};function JO(i,e,t){return t?c`
    <${d("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-hue-slider" min="0" max="1530" value="${a(this._hue)}" accessible-name="${a(this.hueSliderLabel)}" @ui5-input="${a(this._handleHueInput)}"><${d("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-alpha-slider" min="0" max="1" step="0.01" value="${a(this._alpha)}" accessible-name="${a(this.alphaSliderLabel)}" @ui5-input="${a(this._handleAlphaInput)}">
    <${d("ui5-label",e,t)}>Hex<${d("ui5-input",e,t)} class="ui5-color-picker-hex-input" value="${a(this.hex)}" @keydown="${this._onkeydown}" accessible-name="${a(this.hexInputLabel)}" @ui5-change="${a(this._handleHEXChange)}" value-state="${a(this.hexInputErrorState)}">
    <${d("ui5-input",e,t)} id="red" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.redInputLabel)}" value="${a(this._color.r)}"><${d("ui5-label",e,t)}>R
    <${d("ui5-input",e,t)} id="green" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.greenInputLabel)}" value="${a(this._color.g)}"><${d("ui5-label",e,t)}>G
    <${d("ui5-input",e,t)} id="blue" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.blueInputLabel)}" value="${a(this._color.b)}"><${d("ui5-label",e,t)}>B
    <${d("ui5-input",e,t)} id="alpha" disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-rgb-input" value="${a(this._alpha)}" accessible-name="${a(this.alphaInputLabel)}" @ui5-input="${a(this._handleAlphaInput)}" @ui5-change="${a(this._handleAlphaChange)}"><${d("ui5-label",e,t)}>A
    `:c`
    Hex
    R
    G
    B
    A
    `}const eR=i=>{let e=0;return(i.selectionStart||i.selectionStart===0)&&(e=i.selectionDirection==="backward"?i.selectionStart:i.selectionEnd),e},tR=(i,e)=>{i.selectionStart?(i.focus(),i.setSelectionRange(e,e)):i.focus()},iR="not-editable",Fw="M443 104q5 7 5 12 0 6-5 11L118 453q-4 4-8 4L0 480l22-110q0-5 4-9L352 36q4-4 11-4t11 4zm-121 99l-46-45L52 381l46 46zm87-88l-46-44-64 64 45 45zm71 204l-63 64-65-64-33 32 66 63-66 66 33 32 65-66 63 66 32-32-66-66 66-63z",oR=!1,rR="SAP-icons-v4",nR="@ui5/webcomponents-icons";Y(iR,{pathData:Fw,ltr:oR,collection:rR,packageName:nR});const aR="not-editable",zw="M504 94q7 7 7 18t-7 18L130 505q-9 7-18 7H26q-11 0-18.5-7.5T0 486v-86q0-10 8-18L381 7q9-7 18-7 11 0 18 7zm-55 18l-50-50-50 50 50 50zm-86 86l-50-50L62 400l50 50zm142 270q7 7 7 18t-7.5 18.5T486 512t-18-7l-37-38-38 38q-7 7-18 7t-18.5-7.5T349 486q0-10 8-18l38-37-38-38q-8-8-8-18 0-11 7.5-18.5T375 349q10 0 18 8l38 37 37-37q8-8 18-8 11 0 18.5 7.5T512 375t-7 18l-38 38z",sR=!1,lR="SAP-icons-v5",cR="@ui5/webcomponents-icons";Y(aR,{pathData:zw,ltr:sR,collection:lR,packageName:cR});we();var $h;(function(i){i.Text="Text",i.Email="Email",i.Number="Number",i.Password="Password",i.Tel="Tel",i.URL="URL"})($h||($h={}));const us=$h;function uR(i,e,t){return c`
    ${this._effectiveShowClearIcon?dR.call(this,i,e,t):void 0}${this.icon.length?_R.call(this,i,e,t):void 0}
    ${wn(this._valueStateInputIcon)}
    ${this.showSuggestions?hR.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?pR.call(this,i,e,t):void 0}${this.hasValueState?vR.call(this,i,e,t):void 0}
    `}function dR(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function _R(i,e,t){return c`
    `}function hR(i,e,t){return c`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function pR(i,e,t){return c`${a(this.accInfo.input.ariaDescription)}`}function vR(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}function fR(i,e,t){return c`${this.showSuggestions?mR.call(this,i,e,t):void 0}${this.hasValueStateMessage?$R.call(this,i,e,t):void 0} `}function mR(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} class="${T(this.classes.popover)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Left" style="${S(this.styles.suggestionsPopover)}" @ui5-after-open="${a(this._afterOpenPopover)}" @ui5-after-close="${a(this._afterClosePopover)}" @ui5-scroll="${a(this._scroll)}">${this._isPhone?Zf.call(this,i,e,t):void 0}${this._isPhone?void 0:tm.call(this,i,e,t)}<${d("ui5-list",e,t)} separators="${a(this.suggestionSeparators)}" @mousedown="${this.onItemMouseDown}" mode="SingleSelect">${E(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>rm.call(this,i,e,t,o,r))}${this._isPhone?am.call(this,i,e,t):void 0}`:c`${this._isPhone?Zf.call(this,i,e,t):void 0}${this._isPhone?void 0:tm.call(this,i,e,t)}${E(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>rm.call(this,i,e,t,o,r))}${this._isPhone?am.call(this,i,e,t):void 0}`}function Zf(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${d("ui5-input",e,t)} class="ui5-input-inner-phone" type="${a(this.inputType)}" .value="${a(this.value)}" ?show-clear-icon=${this.showClearIcon} placeholder="${a(this.placeholder)}" @ui5-input="${a(this._handleInput)}" @ui5-change="${a(this._handleChange)}">
    ${this.hasValueStateMessage?Qf.call(this,i,e,t):void 0}`:c`
    ${a(this._headerTitleText)}
    ${this.hasValueStateMessage?Qf.call(this,i,e,t):void 0}`}function Qf(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?Jf.call(this,i,e,t):em.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?Jf.call(this,i,e,t):em.call(this,i,e,t)}
    `}function Jf(i,e,t){return c`${a(this.valueStateText)}`}function em(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>gR.call(this,i,e,t,o,r))}`}function gR(i,e,t,o,r){return c`${a(o)}`}function tm(i,e,t){return c`${this.hasValueStateMessage?bR.call(this,i,e,t):void 0}`}function bR(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?im.call(this,i,e,t):om.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?im.call(this,i,e,t):om.call(this,i,e,t)}
    `}function im(i,e,t){return c`${a(this.valueStateText)}`}function om(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>yR.call(this,i,e,t,o,r))}`}function yR(i,e,t,o,r){return c`${a(o)}`}function rm(i,e,t,o,r){return c`${o.groupItem?wR.call(this,i,e,t,o,r):kR.call(this,i,e,t,o,r)}`}function wR(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} data-ui5-key="${a(o.key)}">${wn(o.text)}`:c`${wn(o.text)}`}function kR(i,e,t,o,r){return t?c`<${d("ui5-li-suggestion-item",e,t)} wrapping-type="Normal" image="${a(o.image)}" icon="${a(o.icon)}" additional-text="${a(o.additionalText)}" type="${a(o.type)}" additional-text-state="${a(o.additionalTextState)}" data-ui5-key="${a(o.key)}">${wn(o.text)}${o.description?nm.call(this,i,e,t,o,r):void 0}`:c`${wn(o.text)}${o.description?nm.call(this,i,e,t,o,r):void 0}`}function nm(i,e,t,o,r){return c`${wn(o.description)}`}function am(i,e,t){return t?c``:c``}function $R(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?sm.call(this,i,e,t):lm.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?sm.call(this,i,e,t):lm.call(this,i,e,t)}
    `}function sm(i,e,t){return c`${a(this.valueStateText)}`}function lm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>TR.call(this,i,e,t,o,r))}`}function TR(i,e,t,o,r){return c`${a(o)}`}const xR=/[[\]{}()*+?.\\^$|]/g,SR=i=>i.replace(xR,"\\$&"),lv=(i,e,t)=>{const o=new RegExp(`(^|\\s)${SR(i.toLowerCase())}.*`,"g");return e.filter(r=>{const n=r[t];return o.lastIndex=0,o.test(n.toLowerCase())})},ld=(i,e,t)=>e.filter(o=>o[t].toLowerCase().startsWith(i.toLowerCase())),IR=(i,e,t)=>e.filter(o=>o[t].toLowerCase().includes(i.toLowerCase())),CR=(i,e)=>e,Vw=Object.freeze(Object.defineProperty({__proto__:null,Contains:IR,None:CR,StartsWith:ld,StartsWithPerTerm:lv},Symbol.toStringTag,{value:"Module"}));b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const AR={packageName:"@ui5/webcomponents",fileName:"themes/Input.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const On={packageName:"@ui5/webcomponents",fileName:"themes/ValueStateMessage.css.ts",content:`.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_width);height:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_height);display:var(--_ui5-v1-22-1-rc-0_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_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:"72override",var(--sapFontFamily);height:auto;padding:var(--_ui5-v1-22-1-rc-0_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v1-22-1-rc-0_value_state_message_border);line-height:var(--_ui5-v1-22-1-rc-0_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:2rem}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v1-22-1-rc-0_value_state_header_padding);border:var(--_ui5-v1-22-1-rc-0_value_state_header_border);border-bottom:var(--_ui5-v1-22-1-rc-0_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[focused],.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0}.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-v1-22-1-rc-0_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v1-22-1-rc-0_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} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const cd={packageName:"@ui5/webcomponents",fileName:"themes/Suggestions.css.ts",content:`.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}.ui5-suggestions-popover [ui5-li]::part(icon),.ui5-suggestions-popover [ui5-li-suggestion-item]::part(icon){color:var(--sapList_TextColor)}.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} +`};var $e=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Kt,fn;(function(i){i.CHANGE="change",i.INPUT="input",i.SUGGESTION_ITEM_SELECT="suggestion-item-select"})(fn||(fn={}));var Eu;(function(i){i.ACTION_ENTER="enter",i.ACTION_USER_INPUT="input"})(Eu||(Eu={}));let ye=Kt=class extends j{constructor(){super(),this.hasSuggestionItemSelected=!1,this.valueBeforeItemSelection="",this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,this.previousValue="",this.firstRendering=!0,this.typedInValue="",this.lastConfirmedValue="",this.isTyping=!1,this.suggestionObjects=[],this._handleResizeBound=this._handleResize.bind(this),this._keepInnerValue=!1,this._focusedAfterClear=!1}onEnterDOM(){Pe.register(this,this._handleResizeBound),cA(this,this._updateAssociatedLabelsTexts.bind(this))}onExitDOM(){Pe.deregister(this,this._handleResizeBound),uA(this)}onBeforeRendering(){this._keepInnerValue||(this._innerValue=this.value),this.showSuggestions&&(this.enableSuggestions(),this.suggestionObjects=this.Suggestions.defaultSlotProperties(this.typedInValue)),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`),this.FormSupport=Se("FormSupport");const e=!!this.suggestionItems.length,t=!!this.value,o=this.shadowRoot.querySelector("input")===ks();this._isPhone?this.open=this.openOnMobile:this._forceOpen?this.open=!0:this.open=t&&e&&o&&this.isTyping,this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";');const r=this.value,n=this.getInputDOMRefSync();if(!n||!r)return;const s=n.selectionEnd-n.selectionStart;if(this._shouldAutocomplete&&!hp()&&!s&&!this._isKeyNavigation){const l=this._getFirstMatchingItem(r);l&&this._handleTypeAhead(l)}}async onAfterRendering(){const e=this.getInputDOMRefSync();this.Suggestions&&this.showSuggestions&&(this.Suggestions.toggle(this.open,{preventFocusRestore:!0}),this._listWidth=await this.Suggestions._getListWidth()),this.shouldDisplayOnlyValueStateMessage?this.openPopover():this.closePopover(),this._performTextSelection&&(e.value!==this._innerValue&&(e.value=this._innerValue),this.typedInValue.length&&this.value.length&&e.setSelectionRange(this.typedInValue.length,this.value.length)),this._performTextSelection=!1}_onkeydown(e){if(this._isKeyNavigation=!0,this._shouldAutocomplete=!this.noTypeahead&&!(sc(e)||rs(e)||Zi(e)),Le(e))return this._handleUp(e);if(De(e))return this._handleDown(e);if(te(e))return this._handleSpace(e);if(It(e))return this._handleTab();if(de(e))return this._handleEnter(e);if(pi(e))return this._handlePageUp(e);if(Ci(e))return this._handlePageDown(e);if(St(e))return this._handleHome(e);if(si(e))return this._handleEnd(e);if(Zi(e))return this._handleEscape();this.showSuggestions&&this._clearPopoverFocusAndSelection(),this._keyDown=!0,this._isKeyNavigation=!1}_onkeyup(e){rs(e)&&(this.value=e.target.value),this._keyDown=!1}_handleUp(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onUp(e)}_handleDown(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onDown(e)}_handleSpace(e){this.Suggestions&&this.Suggestions.onSpace(e)}_handleTab(){this.Suggestions&&this.previousValue!==this.value&&this.Suggestions.onTab()}_handleEnter(e){const t=!!(this.Suggestions&&this.Suggestions.onEnter(e)),o=this.getInputDOMRefSync(),r=this.suggestionItems.find(n=>n.text&&n.text===this.value||n.textContent===this.value);if(r){const n=r.text?r.text:r.textContent||"";o.setSelectionRange(n.length,n.length),t||(this.selectSuggestion(r,!0),this.open=!1)}if(this._isPhone&&!this.suggestionItems.length&&!this.isTypeNumber&&o.setSelectionRange(this.value.length,this.value.length),!t){this.lastConfirmedValue=this.value,this.FormSupport&&this.FormSupport.triggerFormSubmit(this);return}this.focused=!0}_handlePageUp(e){this._isSuggestionsFocused?this.Suggestions.onPageUp(e):e.preventDefault()}_handlePageDown(e){this._isSuggestionsFocused?this.Suggestions.onPageDown(e):e.preventDefault()}_handleHome(e){this._isSuggestionsFocused&&this.Suggestions.onHome(e)}_handleEnd(e){this._isSuggestionsFocused&&this.Suggestions.onEnd(e)}_handleEscape(){const t=this.showSuggestions&&!!this.Suggestions&&this.open,o=this.getInputDOMRefSync(),r=o.selectionEnd-o.selectionStart>0;if(this.isTyping=!1,!t){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue;return}if(t&&this.Suggestions._isItemOnTarget()){this.value=this.typedInValue||this.valueBeforeItemPreview,this.suggestionSelectionCancelled=!0,this.focused=!0;return}r&&(this.value=this.typedInValue),this._isValueStateFocused&&(this._isValueStateFocused=!1,this.focused=!0)}async _onfocusin(e){await this.getInputDOMRef(),this.focused=!0,this._focusedAfterClear||(this.previousValue=this.value),this.valueBeforeItemPreview=this.value,this._inputIconFocused=!!e.target&&e.target===this.querySelector("[ui5-icon]"),this._focusedAfterClear=!1}innerFocusIn(){}_onfocusout(e){const t=e.relatedTarget,o=this.Suggestions&&t&&t.shadowRoot&&t.shadowRoot.contains(this.Suggestions.responsivePopover),r=t&&t.shadowRoot&&t.shadowRoot.querySelector(".ui5-valuestatemessage-root");if(this._keepInnerValue=!1,this.showClearIcon&&!this._effectiveShowClearIcon&&(this._clearIconClicked=!1,this._handleChange()),o||r){e.stopImmediatePropagation();return}t&&t.classList.contains(this._id)||(this.open=!1,this._clearPopoverFocusAndSelection(),this._clearIconClicked||(this.previousValue=""),this.lastConfirmedValue="",this.focused=!1,this.isTyping=!1,this._forceOpen=!1)}_clearPopoverFocusAndSelection(){!this.showSuggestions||!this.Suggestions||(this._isValueStateFocused=!1,this.hasSuggestionItemSelected=!1,this.Suggestions._deselectItems(),this.Suggestions._clearItemFocus())}_click(){G()&&!this.readonly&&this.Suggestions&&(this.blur(),this.openOnMobile=!0)}_handleChange(){if(this._clearIconClicked){this._clearIconClicked=!1;return}this.previousValue!==this.getInputDOMRefSync().value&&(this.fireEvent(fn.CHANGE),this.previousValue=this.value,this.typedInValue=this.value)}_clear(){this.value="",this.fireEvent(fn.INPUT),this._isPhone||(this.focus(),this._focusedAfterClear=!0)}_iconMouseDown(){this._clearIconClicked=!0}_scroll(e){this.fireEvent("suggestion-scroll",{scrollTop:e.detail.scrollTop,scrollContainer:e.detail.targetRef})}_handleInput(e){const t=this.getInputDOMRefSync(),o=this.value&&this.isTypeNumber&&!t.value,r=e.inputType||e.detail.inputType||"";this._keepInnerValue=!1;const n=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];if(this._shouldAutocomplete=!n.includes(r)&&!this.noTypeahead,this.suggestionSelectionCancelled=!1,e instanceof InputEvent){const s=this.isTypeNumber&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward")&&!e.target.value.includes(".")&&this.value.includes("."),l=o&&e.data==="e",_=o&&this.value.startsWith("-")&&this.value.length===2&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward");(s||l||_)&&(this.value=e.target.value,this._keepInnerValue=!0)}e.target===t&&(this.focused=!0,e.stopImmediatePropagation()),this.fireEventByAction(Eu.ACTION_ENTER,e),this.hasSuggestionItemSelected=!1,this._isValueStateFocused=!1,this.Suggestions&&this.Suggestions.updateSelectedItemPosition(-1),this.isTyping=!0}_startsWithMatchingItems(e){const t=this.suggestionItems[0].text?"text":"textContent";return ld(e,this.suggestionItems,t)}_getFirstMatchingItem(e){if(!this.suggestionItems.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.groupItem);if(t.length)return t[0]}_handleTypeAhead(e){const t=e.text?e.text:e.textContent||"";this._innerValue=t,this.value=t,this._performTextSelection=!0,this._shouldAutocomplete=!1}_handleResize(){this._inputWidth=this.offsetWidth}_updateAssociatedLabelsTexts(){this._associatedLabelsTexts=Uy(this),this._accessibleLabelsRefTexts=zy(this)}_closeRespPopover(){this.Suggestions.close(!0)}async _afterOpenPopover(){G()&&(await this.getInputDOMRef()).focus()}_afterClosePopover(){this.announceSelectedItem(),G()&&(this.blur(),this.focused=!1),this.openOnMobile=!1,this.open=!1,this._forceOpen=!1,this.hasSuggestionItemSelected&&this.focus()}isValueStateOpened(){return!!this._isPopoverOpen}async openPopover(){const e=await this._getPopover();e&&(this._isPopoverOpen=!0,e.showAt(this))}async closePopover(){const e=await this._getPopover();e&&e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}openPicker(){!this.suggestionItems.length||this.disabled||this.readonly||(this._forceOpen=!0)}enableSuggestions(){if(this.Suggestions)return;const e=Se("InputSuggestions");if(e)this.Suggestions=new e(this,"suggestionItems",!0,!1);else throw new Error('You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions')}selectSuggestion(e,t){var w;if(e.groupItem)return;const o=this.typedInValue||this.value,r=e.text||e.textContent||"",n=t?this.valueBeforeItemSelection!==r:o!==r;this.hasSuggestionItemSelected=!0;const s=this.value,l=this.valueBeforeItemSelection,_=this.lastConfirmedValue,p=this._performTextSelection,v=this.typedInValue,f=this.previousValue;n&&(this.value=r,this.valueBeforeItemSelection=r,this.lastConfirmedValue=r,this._performTextSelection=!0,this.fireEvent(fn.CHANGE),G()&&this.fireEvent(fn.INPUT),this.typedInValue=this.value,this.previousValue=this.value),this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,!this.fireEvent(fn.SUGGESTION_ITEM_SELECT,{item:e},!0)&&((w=this.Suggestions)==null||w._clearSelectedSuggestionAndAccInfo(),this.hasSuggestionItemSelected=!1,this.suggestionSelectionCancelled=!0,n&&(r===this.value&&(this.value=s),this.valueBeforeItemSelection=l,this.lastConfirmedValue=_,this._performTextSelection=p,this.typedInValue=v,this.previousValue=f)),this.isTyping=!1,this.openOnMobile=!1,this._forceOpen=!1}previewSuggestion(e){this.valueBeforeItemSelection=this.value,this.updateValueOnPreview(e),this.announceSelectedItem(),this._previewItem=e}updateValueOnPreview(e){const o=e.type==="Inactive"||e.groupItem?this.valueBeforeItemPreview:e.effectiveTitle||e.textContent||"";this.value=o,this._performTextSelection=!0}get previewItem(){return this._previewItem?this.getSuggestionByListItem(this._previewItem):null}async fireEventByAction(e,t){if(this.disabled||this.readonly)return;const o=await this.getInputValue(),r=e===Eu.ACTION_ENTER;this.value=o,this.typedInValue=o,this.valueBeforeItemPreview=o,r&&(this.fireEvent(fn.INPUT,{inputType:t.inputType}),this.fireEvent("value-changed"))}async getInputValue(){return this.getDomRef()?(await this.getInputDOMRef()).value:""}async getInputDOMRef(){return G()&&this.Suggestions?(await this.Suggestions._getSuggestionPopover(),this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone")):this.nativeInput}getInputDOMRefSync(){return G()&&this.Suggestions&&this.Suggestions.responsivePopover?this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input"):this.nativeInput}get nativeInput(){const e=this.getDomRef();return e?e.querySelector("input"):null}get nativeInputWidth(){return this.nativeInput?this.nativeInput.offsetWidth:0}getLabelableElementId(){return this.getInputId()}getSuggestionByListItem(e){const t=parseInt(e.getAttribute("data-ui5-key"));return this.suggestionItems[t]}isSuggestionsScrollable(){return this.Suggestions?this.Suggestions._isScrollable():Promise.resolve(!1)}getInputId(){return`${this._id}-inner`}onItemMouseOver(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseover",{item:o,targetRef:t})}onItemMouseOut(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseout",{item:o,targetRef:t})}onItemMouseDown(e){e.preventDefault()}onItemSelected(e,t){this.selectSuggestion(e,t)}onItemPreviewed(e){this.previewSuggestion(e),this.fireEvent("suggestion-item-preview",{item:this.getSuggestionByListItem(e),targetRef:e})}get valueStateTypeMappings(){return{Success:Kt.i18nBundle.getText(As),Information:Kt.i18nBundle.getText(Bs),Error:Kt.i18nBundle.getText(Is),Warning:Kt.i18nBundle.getText(Cs)}}valueStateTextMappings(){return{Success:Kt.i18nBundle.getText($r),Information:Kt.i18nBundle.getText(Yr),Error:Kt.i18nBundle.getText(wr),Warning:Kt.i18nBundle.getText(kr)}}announceSelectedItem(){const e=this.shadowRoot.querySelector(`[id="${this._id}-selectionText"]`);e.textContent=this.itemSelectionAnnounce}get _readonly(){return this.readonly&&!this.disabled}get _headerTitleText(){return Kt.i18nBundle.getText(Ss)}get clearIconAccessibleName(){return Kt.i18nBundle.getText(Zu)}get inputType(){return this.type.toLowerCase()}get isTypeNumber(){return this.type===us.Number}get suggestionsTextId(){return this.showSuggestions?`${this._id}-suggestionsText`:""}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:""}get accInfo(){const e=this.showSuggestions?"true":void 0,t=this.showSuggestions?"list":void 0,o=this._inputAccInfo.ariaDescribedBy?`${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim():`${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{ariaRoledescription:this._inputAccInfo&&(this._inputAccInfo.ariaRoledescription||void 0),ariaDescribedBy:o||void 0,ariaInvalid:this.valueState===y.Error?"true":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._inputAccInfo&&this._inputAccInfo.ariaDescription,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!==y.None?this.valueStateTypeMappings[this.valueState]:"";return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get itemSelectionAnnounce(){return this.Suggestions?this.Suggestions.itemSelectionAnnounce:""}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===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{"max-width":this._inputWidth?`${this._inputWidth}px`:""},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:this._listWidth?`${this._listWidth}px`:""},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 valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayOnlyValueStateMessage(){return this.hasValueStateMessage&&!this.readonly&&!this.open&&this.focused}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get hasValueState(){return this.valueState!==y.None}get hasValueStateMessage(){return this.hasValueState&&this.valueState!==y.Success&&(!this._inputIconFocused||!!(this._isPhone&&this.Suggestions))}get valueStateText(){return this.valueState!==y.None?this.valueStateTextMappings()[this.valueState]:void 0}get suggestionsText(){return Kt.i18nBundle.getText(j2)}get availableSuggestionsCount(){if(this.showSuggestions&&(this.value||this.Suggestions.isOpened())){const e=this.suggestionObjects.filter(t=>!t.groupItem);switch(e.length){case 0:return Kt.i18nBundle.getText(X2);case 1:return Kt.i18nBundle.getText(Y2);default:return Kt.i18nBundle.getText(K2,e.length)}}}get step(){return this.isTypeNumber?"any":void 0}get _isPhone(){return G()}get _isSuggestionsFocused(){return!this.focused&&this.Suggestions&&this.Suggestions.isOpened()}get _placeholder(){return this.placeholder}get _valueStateInputIcon(){const e={Error:'',Warning:'',Success:'',Information:''};return this.valueState!==y.None?` + + ${e[this.valueState]}; + + `:""}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}getCaretPosition(){return eR(this.nativeInput)}setCaretPosition(e){tR(this.nativeInput,e)}removeFractionalPart(e){return e.includes(".")?e.slice(0,e.indexOf(".")):e.includes(",")?e.slice(0,e.indexOf(",")):e}static async onDefine(){const e=Se("InputSuggestions");[Kt.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}};$e([u({type:Boolean})],ye.prototype,"disabled",void 0);$e([u({type:Boolean})],ye.prototype,"highlight",void 0);$e([u()],ye.prototype,"placeholder",void 0);$e([u({type:Boolean})],ye.prototype,"readonly",void 0);$e([u({type:Boolean})],ye.prototype,"required",void 0);$e([u({type:Boolean})],ye.prototype,"noTypeahead",void 0);$e([u({type:us,defaultValue:us.Text})],ye.prototype,"type",void 0);$e([u()],ye.prototype,"value",void 0);$e([u({noAttribute:!0})],ye.prototype,"_innerValue",void 0);$e([u({type:y,defaultValue:y.None})],ye.prototype,"valueState",void 0);$e([u()],ye.prototype,"name",void 0);$e([u({type:Boolean})],ye.prototype,"showSuggestions",void 0);$e([u({validator:z})],ye.prototype,"maxlength",void 0);$e([u()],ye.prototype,"accessibleName",void 0);$e([u({defaultValue:""})],ye.prototype,"accessibleNameRef",void 0);$e([u({type:Boolean})],ye.prototype,"showClearIcon",void 0);$e([u({type:Boolean})],ye.prototype,"_effectiveShowClearIcon",void 0);$e([u({type:Boolean})],ye.prototype,"focused",void 0);$e([u({type:Boolean})],ye.prototype,"openOnMobile",void 0);$e([u({type:Boolean})],ye.prototype,"open",void 0);$e([u({type:Boolean})],ye.prototype,"_forceOpen",void 0);$e([u({type:Boolean})],ye.prototype,"_isValueStateFocused",void 0);$e([u({type:Object,noAttribute:!0})],ye.prototype,"_inputAccInfo",void 0);$e([u({type:Object,noAttribute:!0})],ye.prototype,"_nativeInputAttributes",void 0);$e([u({validator:z})],ye.prototype,"_inputWidth",void 0);$e([u({validator:z})],ye.prototype,"_listWidth",void 0);$e([u({type:Boolean,noAttribute:!0})],ye.prototype,"_isPopoverOpen",void 0);$e([u({type:Boolean,noAttribute:!0})],ye.prototype,"_inputIconFocused",void 0);$e([u({type:String,noAttribute:!0,defaultValue:void 0})],ye.prototype,"_associatedLabelsTexts",void 0);$e([u({type:String,noAttribute:!0,defaultValue:void 0})],ye.prototype,"_accessibleLabelsRefTexts",void 0);$e([F({type:HTMLElement,default:!0})],ye.prototype,"suggestionItems",void 0);$e([F()],ye.prototype,"icon",void 0);$e([F()],ye.prototype,"formSupport",void 0);$e([F({type:HTMLElement,invalidateOnChildChange:!0,cloned:!0})],ye.prototype,"valueStateMessage",void 0);ye=Kt=$e([B({tag:"ui5-input",languageAware:!0,renderer:ee,template:uR,staticAreaTemplate:fR,styles:AR,staticAreaStyles:[Wo,On,cd],get dependencies(){const i=Se("InputSuggestions");return[fo,Ie].concat(i?i.dependencies:[])}}),$("change"),$("input"),$("suggestion-item-select",{detail:{item:{type:HTMLElement}}}),$("suggestion-item-preview",{detail:{item:{type:HTMLElement},targetRef:{type:HTMLElement}}}),$("suggestion-scroll",{detail:{scrollTop:{type:z},scrollContainer:{type:HTMLElement}}})],ye);ye.define();const vr=ye,BR="direction-arrows",Hw="M507 244q5 5 5 12 0 6-5 11L394 379q-5 5-12 5-6 0-11-5t-5-11V144q0-12 10-15 2-1 6-1 8 0 12 4zM135 129q10 3 10 15v224q0 6-4.5 11t-11.5 5q-6 0-11-5L5 267q-5-5-5-11 0-7 5-12l113-112q4-4 11-4 4 0 6 1z",ER=!1,DR="SAP-icons-v4",PR="@ui5/webcomponents-icons";Y(BR,{pathData:Hw,ltr:ER,collection:DR,packageName:PR});const OR="direction-arrows",Uw="M135 128q11 0 18 7.5t7 18.5v204q0 11-8 18.5t-18 7.5-17-7L8 275q-8-8-8-19t8-19l109-102q7-7 18-7zm369 109q8 8 8 19t-8 19L395 377q-7 7-17 7t-18-7.5-8-18.5V154q0-12 8-19t19-7q9 0 16 7z",RR=!1,LR="SAP-icons-v5",MR="@ui5/webcomponents-icons";Y(OR,{pathData:Uw,ltr:RR,collection:LR,packageName:MR});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const NR={packageName:"@ui5/webcomponents",fileName:"themes/SliderBase.css.ts",content:`.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([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_slider_disabled_opacity);cursor:default;pointer-events:none}:host{box-sizing:border-box;cursor:pointer;vertical-align:top;width:100%}:host(:not([hidden])){display:inline-block}.ui5-slider-root{box-sizing:border-box;height:3.3125rem;outline:none;padding:var(--_ui5-v1-22-1-rc-0_slider_padding);touch-action:none}.ui5-slider-inner{background-repeat:no-repeat;position:relative;min-width:var(--_ui5-v1-22-1-rc-0_slider_inner_min_width);height:100%}.ui5-slider-progress-container{width:100%;background:var(--_ui5-v1-22-1-rc-0_slider_progress_container_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_inner_height);position:relative;box-sizing:var(--_ui5-v1-22-1-rc-0_slider_progress_box_sizing);top:var(--_ui5-v1-22-1-rc-0_slider_progress_container_top)}.ui5-slider-progress-container:before,.ui5-slider-progress-container:after{display:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_display);content:"";position:absolute;border-radius:50%;width:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);height:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);top:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_top)}.ui5-slider-progress-container:before{inset-inline-start:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_before_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_before_border)}.ui5-slider-progress-container:after{inset-inline-end:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_after_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_after_border)}.ui5-slider-progress{background:var(--_ui5-v1-22-1-rc-0_slider_progress_background);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_progress_height);position:relative;outline:none;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_slider_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_active_progress_top)}.ui5-slider-tickmarks{list-style:none;padding:0;margin:0;top:var(--_ui5-v1-22-1-rc-0_slider_tickmark_top);display:flex;box-sizing:border-box;width:100%;justify-content:space-between;position:absolute;z-index:1}.ui5-slider-tickmarks li{height:var(--_ui5-v1-22-1-rc-0_slider_tickmark_height);border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_bg)}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_slider_handle_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2);top:var(--_ui5-v1-22-1-rc-0_slider_handle_top);position:absolute;outline:none;height:var(--_ui5-v1-22-1-rc-0_slider_handle_height);width:var(--_ui5-v1-22-1-rc-0_slider_handle_width);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_handle_box_sizing);display:flex;justify-content:center;align-items:center;z-index:2}[slider-icon]{display:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_display);color:var(--sapContent_Selected_ForegroundColor);width:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size);height:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size)}.ui5-slider-root .ui5-slider-handle:focus [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_border)}.ui5-slider-root:focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-handle:focus{outline:var(--_ui5-v1-22-1-rc-0_slider_handle_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_slider_handle_outline_offset);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);background:var(--_ui5-v1-22-1-rc-0_slider_handle_background_focus)}.ui5-slider-handle.ui5-slider-handle--start:focus,.ui5-slider-handle--end:focus{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-root:focus:hover .ui5-slider-handle,.ui5-slider-handle:focus:hover{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-tooltip{display:flex;justify-content:center;align-items:center;visibility:hidden;pointer-events:none;line-height:1rem;position:absolute;left:50%;transform:translate(-50%);bottom:var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom);background:var(--_ui5-v1-22-1-rc-0_slider_tooltip_background);border:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_slider_tooltip_box_shadow);font-size:var(--_ui5-v1-22-1-rc-0_slider_tooltip_fontsize);color:var(--_ui5-v1-22-1-rc-0_slider_tooltip_color);height:var(--_ui5-v1-22-1-rc-0_slider_tooltip_height);min-width:var(--_ui5-v1-22-1-rc-0_slider_tooltip_min_width);padding:var(--_ui5-v1-22-1-rc-0_slider_tooltip_padding);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_box)}.ui5-slider-tooltip-value{position:relative;display:flex;justify-content:center;align-items:center}.ui5-slider-labels{position:absolute;top:1.25rem;margin:0;padding:0;white-space:nowrap}.ui5-slider-labels li{position:relative;list-style:none;padding-top:.3125rem;height:1rem;margin:0;text-align:center;display:inline-block;color:var(--_ui5-v1-22-1-rc-0_slider_label_color);font-size:var(--_ui5-v1-22-1-rc-0_slider_label_fontsize);padding-top:0;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;vertical-align:top}.ui5-slider-hidden-labels li:not(:first-child):not(:last-child){visibility:hidden}.ui5-slider-handle:focus .ui5-slider-tooltip{bottom:var(--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance)}.ui5-slider-tickmarks li.ui5-slider-tickmark-in-range{border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_in_range_bg)}:host([show-tickmarks]) .ui5-slider-progress{height:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_height);border:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_top)}:host([show-tickmarks]) .ui5-slider-progress-container{top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_container_top)}.ui5-slider-handle:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_visibility);width:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);height:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);border:var(--sapContent_FocusWidth) dotted var(--sapContent_FocusColor);position:absolute;border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);pointer-events:none} +`};var $o=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ao;let Pi=Ao=class extends j{constructor(){super(),this.notResized=!1,this._isUserInteraction=!1,this._isInnerElementFocusing=!1,this._labelWidth=0,this._resizeHandler=this._handleResize.bind(this),this._moveHandler=this._handleMove.bind(this),this._upHandler=this._handleUp.bind(this),this._stateStorage={step:void 0,min:void 0,max:void 0,labelInterval:void 0};const e=t=>{this._onmousedown(t)};this._ontouchstart={handleEvent:e,passive:!0}}_handleMove(e){}_handleUp(){}_onmousedown(e){}_handleActionKeyPress(e){}static get ACTION_KEYS(){return[ft,it,Le,De,Ja,_a,Lr,Mr,of,rf,St,si,pi,Ci,Zi]}static get MIN_SPACE_BETWEEN_TICKMARKS(){return 8}static get TOOLTIP_VISIBILITY(){return{VISIBLE:"visible",HIDDEN:"hidden"}}static get render(){return ee}static get styles(){return NR}get classes(){return{root:{"ui5-slider-root-phone":G()},labelContainer:{"ui5-slider-hidden-labels":this._labelsOverlapping}}}onEnterDOM(){Pe.register(this,this._resizeHandler)}onExitDOM(){Pe.deregister(this,this._resizeHandler)}onAfterRendering(){this.notResized&&this._resizeHandler()}_onmouseover(){this.showTooltip&&(this._tooltipVisibility=Ao.TOOLTIP_VISIBILITY.VISIBLE)}_onmouseout(){this.showTooltip&&!this.shadowRoot.activeElement&&(this._tooltipVisibility=Ao.TOOLTIP_VISIBILITY.HIDDEN)}_onkeydown(e){this.disabled||this._effectiveStep===0||Ao._isActionKey(e)&&(e.preventDefault(),this._isUserInteraction=!0,this._handleActionKeyPress(e))}_onkeyup(){this.disabled||(this._isUserInteraction=!1)}_preserveFocus(e){this._isInnerElementFocusing=e}_isFocusing(){return this._isInnerElementFocusing}_preventFocusOut(){this.focusInnerElement()}focusInnerElement(){this.focus()}_handleResize(){if(!this.showTickmarks||(this.notResized=!1,this._spaceBetweenTickmarks()o.scrollWidth>o.clientWidth)}handleDownBase(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.getBoundingClientRect(),n=this.directionStart,s=this._effectiveStep,l=Ao.getValueFromInteraction(e,s,t,o,r,n);return this._isUserInteraction=!0,window.addEventListener("mouseup",this._upHandler),window.addEventListener("touchend",this._upHandler),Cl()&&e instanceof TouchEvent?window.addEventListener("touchmove",this._moveHandler):window.addEventListener("mousemove",this._moveHandler),this._handleFocusOnMouseDown(e),l}_handleFocusOnMouseDown(e){const t=this.shadowRoot.activeElement;(!t||t!==e.target)&&(this._preserveFocus(!0),this.focusInnerElement())}handleUpBase(){window.removeEventListener("mouseup",this._upHandler),window.removeEventListener("touchend",this._upHandler),window.removeEventListener("mousemove",this._moveHandler),window.removeEventListener("touchmove",this._moveHandler),this._isUserInteraction=!1,this._preserveFocus(!1)}updateStateStorageAndFireInputEvent(e){this.storePropertyState(e),this._isUserInteraction&&this.fireEvent("input")}static _isActionKey(e){return this.ACTION_KEYS.some(t=>t(e))}static clipValue(e,t,o){return e=Math.min(Math.max(e,t),o),e}static getValueFromInteraction(e,t,o,r,n,s){const l=this.getPageXValueFromEvent(e),_=this.computedValueFromPageX(l,o,r,n,s),p=this.getSteppedValue(_,t,o);return this.clipValue(p,o,r)}static getSteppedValue(e,t,o){const r=Math.abs((e-o)%t);if(t===0||r===0)return e;e=r*2>=t?e+t-r:e-r;const n=Ao._getDecimalPrecisionOfNumber(t);return Number(e.toFixed(n))}static getPageXValueFromEvent(e){return Cl()&&e instanceof TouchEvent?e.targetTouches&&e.targetTouches.length>0?e.targetTouches[0].pageX:0:e.pageX}static computedValueFromPageX(e,t,o,r,n){const l=(n==="left"?e-r[n]:r[n]-e)/r.width;return t+l*(o-t)}static _getDecimalPrecisionOfNumber(e){if(Number.isInteger(e))return 0;const t=String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return!t||t.length<2?0:Math.max(0,(t[1]?t[1].length:0)-(t[2]?Number(t[2]):0))}isCurrentStateOutdated(){return Object.entries(this._stateStorage).some(([e,t])=>this[e]!==t)}getStoredPropertyState(e){return this._stateStorage[e]}isPropertyUpdated(...e){return e.some(t=>this.getStoredPropertyState(t)!==this[t])}storePropertyState(...e){e.forEach(t=>{this._stateStorage[t]=this[t]})}get directionStart(){return this.effectiveDir==="rtl"?"right":"left"}_createLabels(){if(!this.labelInterval||!this.showTickmarks)return;const e=this.labelInterval,t=this._effectiveStep,o=(this._effectiveMax-this._effectiveMin)/(t*e);if(o===this._oldNumberOfLabels&&this._oldMin===this._effectiveMin&&this._oldMax===this._effectiveMax)return;this._oldMin=this._effectiveMin,this._oldMax=this._effectiveMax,this._oldNumberOfLabels=o,this._labelWidth=100/o,this._labelValues=[];const r=Ao._getDecimalPrecisionOfNumber(t);for(let n=0;n<=o;n++){const s=(n*t*e+this._effectiveMin).toFixed(r);this._labelValues.push(s)}}_handleActionKeyPressBase(e,t){const o=Ao._isIncreaseValueAction(e),r=Ao._isBigStepAction(e),n=this[t],s=this._effectiveMin,l=this._effectiveMax;let _=this.effectiveDir==="rtl"?-this._effectiveStep:this._effectiveStep;return _=r&&(l-s)/_>10?(l-s)/10:_,si(e)?l-n:St(e)?(n-s)*-1:o?_:_*-1}static _isDecreaseValueAction(e){return De(e)||Mr(e)||ft(e)||Ja(e)||rf(e)||Ci(e)}static _isIncreaseValueAction(e){return Le(e)||Lr(e)||it(e)||_a(e)||of(e)||pi(e)}static _isBigStepAction(e){return Mr(e)||Lr(e)||Ja(e)||_a(e)||pi(e)||Ci(e)}get _tickmarksCount(){return(this._effectiveMax-this._effectiveMin)/this._effectiveStep}_spaceBetweenTickmarks(){return this.getBoundingClientRect().width/this._tickmarksCount}_validateStep(e){e===0&&console.warn("The 'step' property must be a positive float number"),e<0&&console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"),Number.isNaN(e)&&console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1")}get _labels(){return this._labelValues||[]}get _effectiveStep(){let e=this.step;return e<0&&(e=Math.abs(e)),Number.isNaN(e)&&(e=1),e}get _effectiveMin(){return Math.min(this.min,this.max)}get _effectiveMax(){return Math.max(this.min,this.max)}get _tabIndex(){return this.disabled?"-1":"0"}get _ariaLabelledByHandleRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}};$o([u({validator:Ti,defaultValue:0})],Pi.prototype,"min",void 0);$o([u({validator:Ti,defaultValue:100})],Pi.prototype,"max",void 0);$o([u({validator:Ti,defaultValue:1})],Pi.prototype,"step",void 0);$o([u({validator:z,defaultValue:0})],Pi.prototype,"labelInterval",void 0);$o([u({type:Boolean})],Pi.prototype,"showTickmarks",void 0);$o([u({type:Boolean})],Pi.prototype,"showTooltip",void 0);$o([u({type:Boolean})],Pi.prototype,"disabled",void 0);$o([u()],Pi.prototype,"accessibleName",void 0);$o([u({defaultValue:"hidden"})],Pi.prototype,"_tooltipVisibility",void 0);$o([u({type:Boolean})],Pi.prototype,"_labelsOverlapping",void 0);$o([u({type:Boolean})],Pi.prototype,"_hiddenTickmarks",void 0);Pi=Ao=$o([$("change"),$("input")],Pi);const sr=Pi;function FR(i,e,t){return t?c`
    ${this.step?cm.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} name="direction-arrows" part="icon-slider" slider-icon>${this.showTooltip?um.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:c`
    ${this.step?cm.call(this,i,e,t):void 0}
    ${this.showTooltip?um.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function cm(i,e,t){return c`${this.showTickmarks?zR.call(this,i,e,t):void 0}`}function zR(i,e,t){return c`
      ${E(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>VR.call(this,i,e,t,o,r))}
    ${this.labelInterval?WR.call(this,i,e,t):void 0}`}function VR(i,e,t,o,r){return c`${o?HR.call(this,i,e,t,o,r):UR.call(this,i,e,t,o,r)}`}function HR(i,e,t,o,r){return c`
  • `}function UR(i,e,t,o,r){return c`
  • `}function WR(i,e,t){return c`
      ${E(this._labels,(o,r)=>o._id||r,(o,r)=>qR.call(this,i,e,t,o,r))}
    `}function qR(i,e,t,o,r){return c`
  • ${a(o)}
  • `}function um(i,e,t){return c`
    ${a(this.tooltipValue)}
    `}var Ww=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ou;let Fl=ou=class extends sr{constructor(){super(),this._progressPercentage=0,this._handlePositionFromStart=0,this._stateStorage.value=void 0}onBeforeRendering(){this.isCurrentStateOutdated()&&(this.notResized=!0,this.syncUIAndState(),this._updateHandleAndProgress(this.value))}syncUIAndState(){this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","value")&&(this.storePropertyState("min","max"),this.value=sr.clipValue(this.value,this._effectiveMin,this._effectiveMax),this.updateStateStorageAndFireInputEvent("value"),this.storePropertyState("value")),this.labelInterval&&this.showTickmarks&&this._createLabels(),this.isPropertyUpdated("labelInterval")&&this.storePropertyState("labelInterval")}_onmousedown(e){if(this.disabled||this.step===0)return;const t=this.handleDownBase(e);this._valueOnInteractionStart=this.value,this._valueInitial===void 0&&(this._valueInitial=this.value);const o=this.constructor;this._isHandlePressed(o.getPageXValueFromEvent(e))||(this._updateHandleAndProgress(t),this.value=t,this.updateStateStorageAndFireInputEvent("value"))}_onfocusin(){this._valueInitial===void 0&&(this._valueInitial=this.value),this.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._valueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.HIDDEN)}_handleMove(e){if(e.preventDefault(),this.disabled||this._effectiveStep===0)return;const o=this.constructor.getValueFromInteraction(e,this._effectiveStep,this._effectiveMin,this._effectiveMax,this.getBoundingClientRect(),this.directionStart);this._updateHandleAndProgress(o),this.value=o,this.updateStateStorageAndFireInputEvent("value")}_handleUp(){this._valueOnInteractionStart!==this.value&&this.fireEvent("change"),this.handleUpBase(),this._valueOnInteractionStart=void 0}_isHandlePressed(e){const t=this._sliderHandle.getBoundingClientRect();return e>=t.left&&e<=t.right}_updateHandleAndProgress(e){const t=this._effectiveMax,o=this._effectiveMin;this._progressPercentage=(e-o)/(t-o),this._handlePositionFromStart=this._progressPercentage*100}_handleActionKeyPress(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.value,n=this.constructor,s=Zi(e)?this._valueInitial:n.clipValue(this._handleActionKeyPressBase(e,"value")+r,t,o);s!==r&&(this._updateHandleAndProgress(s),this.value=s,this.updateStateStorageAndFireInputEvent("value"))}get styles(){return{progress:{transform:`scaleX(${this._progressPercentage})`,"transform-origin":`${this.directionStart} top`},handle:{[this.directionStart]:`${this._handlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}get _sliderHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle")}get tooltipValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.value.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return ou.i18nBundle.getText(T0)}static async onDefine(){ou.i18nBundle=await oe("@ui5/webcomponents")}get tickmarksObject(){const e=this._tickmarksCount,t=[];if(this._hiddenTickmarks)return[!0,!1];for(let o=0;o<=e;o++)t.push(this._effectiveMin+o*this.step<=this.value);return t}};Ww([u({validator:Ti,defaultValue:0})],Fl.prototype,"value",void 0);Fl=ou=Ww([B({tag:"ui5-slider",languageAware:!0,template:FR,dependencies:[Ie]})],Fl);Fl.define();const jR=Fl;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const GR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPicker.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-color-picker-root{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.ui5-color-picker-main-color{width:16rem;height:16rem;position:relative;margin-bottom:1.5rem;border:1px solid var(--sapContent_ForegroundBorderColor);background-size:100%;background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0)),-webkit-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0)),-moz-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:linear-gradient(left,#000,#0000),linear-gradient(top,#fff0,#fff);background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-webkit-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-moz-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:linear-gradient(left,#000,#0000,#fff),linear-gradient(top,#80808000,gray);user-select:none;-moz-user-select:none}.ui5-color-picker-circle{position:absolute;box-sizing:border-box;width:13px;height:13px;border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_outer_border);border-radius:.6875rem;pointer-events:none}.ui5-color-picker-circle:after{content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);height:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_border);border-radius:.9375rem;pointer-events:none}.ui5-color-picker-sliders-wrapper{width:calc(100% - 11px);margin-left:-10px}[ui5-slider]{--_ui5-v1-22-1-rc-0_slider_active_progress_border: none;--_ui5-v1-22-1-rc-0_slider_progress_box_sizing: content-box}[ui5-slider]::part(handle){width:.9375rem;height:1.5rem;background:transparent;margin-left:-2px;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top);box-sizing:border-box}[ui5-slider]::part(handle):after{content:"";border:2px solid #fff;display:block;height:1.25rem;border-radius:1rem;width:100%;box-sizing:border-box}[ui5-slider]::part(root-container){padding:1rem 0}[ui5-slider]::part(progress-container){width:calc(100% + 11px);height:18px;position:absolute;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top);border-radius:0;border:1px solid var(--sapField_BorderColor)}[ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-size:100%;background-image:-webkit-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(left,red,#ff0,#0f0,#0ff,#00f,#f0f,red);background-color:none}[ui5-slider].ui5-color-picker-alpha-slider::part(progress-container){background-image:-webkit-linear-gradient(left,rgba(65,120,13,0),var(--ui5-v1-22-1-rc-0_Color_Picker_Progress_Container_Color)),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}[ui5-slider]::part(progress-bar){background:transparent}.ui5-color-picker-current-color{width:100%;display:flex;justify-content:space-around;align-items:center}.ui5-color-picker-colors-wrapper{display:flex;flex-wrap:nowrap;height:1.5rem;border:1px solid var(--sapField_BorderColor)}.ui5-color-picker-white,.ui5-color-picker-color{width:3.1rem;background:#fff;display:block}.ui5-color-picker-color{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}.ui5-color-picker-color-inner{width:100%;height:100%}.ui5-color-picker-hex-input-wrapper{display:flex;align-items:center;flex-wrap:nowrap}.ui5-color-picker-hex-input{width:4.5rem;min-width:4.5rem;margin-left:.2rem}.ui5-color-picker-rgb-wrapper{display:flex;justify-content:space-around;width:100%}.ui5-color-picker-rgb{display:flex;flex-direction:column;align-items:center;margin-top:1rem}.ui5-color-picker-rgb-input{width:2.5rem;min-width:2.5rem;text-align:center}.ui5-color-picker-hue-slider::part(progress-container):before,.ui5-color-picker-alpha-slider::part(progress-container):before,.ui5-color-picker-hue-slider::part(progress-container):after,.ui5-color-picker-alpha-slider::part(progress-container):after,[ui5-slider].ui5-color-picker-hue-slider::part(icon-slider),[ui5-slider].ui5-color-picker-alpha-slider::part(icon-slider){display:none}.ui5-color-picker-alpha-slider::part(handle),.ui5-color-picker-hue-slider::part(handle){box-shadow:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_box_shadow);border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_border)}.ui5-color-picker-alpha-slider::part(handle):hover,.ui5-color-picker-hue-slider::part(handle):hover{border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_hover)}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{outline:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_focus);outline-offset:.0625rem}.ui5-color-picker-alpha-slider::part(handle):focus:before,.ui5-color-picker-hue-slider::part(handle):focus:before{content:"";border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_inline_focus);display:block;height:1.625rem;border-radius:1rem;width:1.05rem;box-sizing:border-box;position:absolute;inset:-3px -3px 2px}.ui5-color-picker-alpha-slider::part(handle):before,.ui5-color-picker-hue-slider::part(handle):before{display:none}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_focus_margin_top)}[dir=rtl] [ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-image:-webkit-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}[dir=rtl] .ui5-color-picker-alpha-slider::part(handle),[dir=rtl] .ui5-color-picker-hue-slider::part(handle){--_ui5-v1-22-1-rc-0_slider_handle_margin_left: 0}[dir=rtl] .ui5-color-picker-sliders-wrapper{margin-left:10px} +`};var qo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},tr;const rn=6.5;let Oi=tr=class extends j{static async onDefine(){tr.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super(),this._selectedCoordinates={x:256-rn,y:256-rn},this._mainColor={r:255,g:0,b:0},this.selectedHue=0,this.mouseDown=!1,this.mouseIn=!1}onBeforeRendering(){this._color=KO(this.color);const e=`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, 1)`;this._setHex(),this._setValues(),this.style.setProperty(Qi("--ui5_Color_Picker_Progress_Container_Color"),e)}_handleMouseDown(e){this.mouseDown=!0,this.mouseIn=!0,this._changeSelectedColor(e.offsetX,e.offsetY)}_handleMouseUp(){this.mouseDown=!1}_handleMouseOut(e){if(!this.mouseIn||!this.mouseDown)return;const t=e.target,o=t.offsetHeight,r=t.offsetWidth,n=e.offsetX<=0,s=e.offsetY<=0,l=e.offsetY>=t.offsetHeight,_=e.offsetX>=t.offsetWidth;let p,v;n?p=0:_?p=r:p=e.offsetX,s?v=0:l?v=o:v=e.offsetY,this._changeSelectedColor(p,v),this.mouseIn=!1,this.mouseDown=!1}_handleMouseMove(e){!this.mouseDown||!this.mouseIn||this._changeSelectedColor(e.offsetX,e.offsetY)}_handleAlphaInput(e){const t=e.target.value;this._alpha=parseFloat(t),this._setColor(this._color)}_handleHueInput(e){this.selectedHue=e.target.value,this._hue=this.selectedHue,this._setMainColor(this._hue),this._isHueValueChanged=!0;const t=this._selectedCoordinates.x+rn,o=this._selectedCoordinates.y+rn,r=this._calculateColorFromCoordinates(t,o);r&&this._setColor(Xf(r))}_handleHEXChange(e){const t=new RegExp("^[<0-9 abcdef]+$"),o=e.target;let r=o.value.toLowerCase();r.length===3&&(r=`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`);const n=r.length===6&&t.test(r);n&&o.value!==r&&(this._wrongHEX=!1,o.value=r),r!==this.hex&&(this.hex=r,n?(this._wrongHEX=!1,this._setColor(Nw(this.hex))):this._wrongHEX=!0)}_handleRGBInputsChange(e){const t=e.target,o=parseInt(t.value)||0;let r;switch(t.id){case"red":r={...this._color,r:o};break;case"green":r={...this._color,g:o};break;case"blue":r={...this._color,b:o};break;default:r={...this._color}}this._setColor(r)}_setMainColor(e){e<=255?this._mainColor={r:255,g:e,b:0}:e<=510?this._mainColor={r:255-(e-255),g:255,b:0}:e<=765?this._mainColor={r:0,g:255,b:e-510}:e<=1020?this._mainColor={r:0,g:765-(e-255),b:255}:e<=1275?this._mainColor={r:e-1020,g:0,b:255}:this._mainColor={r:255,g:0,b:1275-(e-255)}}_handleAlphaChange(){this._alpha=this._alpha<0?0:this._alpha,this._alpha=this._alpha>1?1:this._alpha}_changeSelectedColor(e,t){this._selectedCoordinates={x:e-rn,y:t-rn},this._isSelectedColorChanged=!0;const o=this._calculateColorFromCoordinates(e,t);o&&this._setColor(Xf(o))}_onkeydown(e){de(e)&&this._handleHEXChange(e)}_calculateColorFromCoordinates(e,t){const o=this._hue/4.251,r=1-+(Math.round(parseFloat(t/256+"e+2"))+"e-2"),n=+(Math.round(parseFloat(e/256+"e+2"))+"e-2");if(!(!r||!n))return{h:o,s:r,l:n}}_setColor(e={r:0,g:0,b:0}){this.color=`rgba(${e.r}, ${e.g}, ${e.b}, ${this._alpha})`,this._wrongHEX=!this.isValidRGBColor(e),this.fireEvent("change")}isValidRGBColor(e){return e.r>=0&&e.r<=255&&e.g>=0&&e.g<=255&&e.b>=0&&e.b<=255}_setHex(){let e=this._color.r.toString(16),t=this._color.g.toString(16),o=this._color.b.toString(16);e.length===1&&(e=`0${e}`),t.length===1&&(t=`0${t}`),o.length===1&&(o=`0${o}`),this.hex=e+t+o}_setValues(){const e=QO(this._color);this._selectedCoordinates={x:Math.round(e.l*100)*2.56-rn,y:256-Math.round(e.s*100)*2.56-rn},this._isSelectedColorChanged?this._isSelectedColorChanged=!1:this._isHueValueChanged?(this._isHueValueChanged=!1,this._hue=this.selectedHue?this.selectedHue:this._hue):this._hue=Math.round(e.h*4.25),this._setMainColor(this._hue)}get hueSliderLabel(){return tr.i18nBundle.getText(B2)}get alphaSliderLabel(){return tr.i18nBundle.getText(A2)}get hexInputLabel(){return tr.i18nBundle.getText(E2)}get redInputLabel(){return tr.i18nBundle.getText(D2)}get greenInputLabel(){return tr.i18nBundle.getText(P2)}get blueInputLabel(){return tr.i18nBundle.getText(O2)}get alphaInputLabel(){return tr.i18nBundle.getText(R2)}get inputsDisabled(){return this._wrongHEX?!0:void 0}get hexInputErrorState(){return this._wrongHEX?"Error":void 0}get styles(){return{mainColor:{"background-color":`rgb(${this._mainColor.r}, ${this._mainColor.g}, ${this._mainColor.b})`},circle:{left:`${this._selectedCoordinates.x}px`,top:`${this._selectedCoordinates.y}px`},colorSpan:{"background-color":`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, ${this._alpha})`}}}};qo([u({validator:yc,defaultValue:"rgba(255, 255, 255, 1)"})],Oi.prototype,"color",void 0);qo([u({defaultValue:"ffffff",noAttribute:!0})],Oi.prototype,"hex",void 0);qo([u({type:Object})],Oi.prototype,"_mainColor",void 0);qo([u({type:Object})],Oi.prototype,"_color",void 0);qo([u({type:Object})],Oi.prototype,"_selectedCoordinates",void 0);qo([u({validator:Ti,defaultValue:1})],Oi.prototype,"_alpha",void 0);qo([u({validator:z,defaultValue:0})],Oi.prototype,"_hue",void 0);qo([u({type:Boolean})],Oi.prototype,"_isSelectedColorChanged",void 0);qo([u({type:Boolean})],Oi.prototype,"_isHueValueChanged",void 0);qo([u({type:Boolean})],Oi.prototype,"_wrongHEX",void 0);Oi=tr=qo([B({tag:"ui5-color-picker",renderer:ee,styles:GR,template:JO,dependencies:[vr,jR,Os]}),$("change")],Oi);Oi.define();const YR=Oi;function KR(i,e,t){return c`
    ${this.hasValueState?XR.call(this,i,e,t):void 0}${this._effectiveShowClearIcon?ZR.call(this,i,e,t):void 0}${this.icon?QR.call(this,i,e,t):void 0}${this.readonly?void 0:JR.call(this,i,e,t)}
    `}function XR(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}function ZR(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function QR(i,e,t){return c``}function JR(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="slim-arrow-down" slot="icon" tabindex="-1" input-icon ?pressed="${this._iconPressed}" @click="${this._arrowClick}" accessible-name="${a(this._iconAccessibleNameText)}">`:c``}function eL(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} class="${T(this.classes.popover)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${S(this.styles.suggestionsPopover)}" @ui5-after-open=${a(this._afterOpenPopover)} @ui5-after-close=${a(this._afterClosePopover)}><${d("ui5-busy-indicator",e,t)} ?active=${this.loading} size="Medium" class="ui5-combobox-busy">${this._isPhone?dm.call(this,i,e,t):void 0}${this._isPhone?void 0:fm.call(this,i,e,t)}<${d("ui5-list",e,t)} class="ui5-combobox-items-list" separators="None" @ui5-item-click=${a(this._selectItem)} @ui5-item-focused=${a(this._onItemFocus)} @mousedown=${this._itemMousedown} mode="SingleSelect">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>bm.call(this,i,e,t,o,r))}${this._isPhone?ym.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?wm.call(this,i,e,t):void 0} `:c`${this._isPhone?dm.call(this,i,e,t):void 0}${this._isPhone?void 0:fm.call(this,i,e,t)}${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>bm.call(this,i,e,t,o,r))}${this._isPhone?ym.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?wm.call(this,i,e,t):void 0} `}function dm(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${d("ui5-input",e,t)} .value="${a(this.value)}" @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._inputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this.valueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>_m.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?hm.call(this,i,e,t):void 0}`:c`
    ${a(this._headerTitleText)}
    ${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>_m.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?hm.call(this,i,e,t):void 0}`}function _m(i,e,t,o,r){return t?c`<${d("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:c``}function hm(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?pm.call(this,i,e,t):vm.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?pm.call(this,i,e,t):vm.call(this,i,e,t)}
    `}function pm(i,e,t){return c`${a(this.valueStateDefaultText)}`}function vm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>tL.call(this,i,e,t,o,r))}`}function tL(i,e,t,o,r){return c`${a(o)}`}function fm(i,e,t){return c`${this.hasValueStateText?iL.call(this,i,e,t):void 0}`}function iL(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?mm.call(this,i,e,t):gm.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?mm.call(this,i,e,t):gm.call(this,i,e,t)}
    `}function mm(i,e,t){return c`${a(this.valueStateDefaultText)}`}function gm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>oL.call(this,i,e,t,o,r))}`}function oL(i,e,t,o,r){return c`${a(o)}`}function bm(i,e,t,o,r){return c`${o.isGroupItem?rL.call(this,i,e,t,o,r):nL.call(this,i,e,t,o,r)}`}function rL(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} ?focused=${o.focused}>${a(o.text)}`:c`${a(o.text)}`}function nL(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} type="Active" wrapping-type="Normal" additional-text=${a(o.additionalText)} group-name=${a(o.groupName)} ._tabIndex=${a(o.itemTabIndex)} .mappedItem=${a(o)} ?selected=${o.selected} ?focused=${o.focused}>${a(o.text)}`:c`${a(o.text)}`}function ym(i,e,t){return t?c``:c``}function wm(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}" placement-type="Bottom">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?km.call(this,i,e,t):$m.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?km.call(this,i,e,t):$m.call(this,i,e,t)}
    `}function km(i,e,t){return c`${a(this.valueStateDefaultText)}`}function $m(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>aL.call(this,i,e,t,o,r))}`}function aL(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const sL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBox.css.ts",content:`: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-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.ui5-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const lL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBoxPopover.css.ts",content:`.ui5-combobox-busy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:42;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:all}.ui5-combobox-busy:not([active]){display:none} +`};var wc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Sn=class extends j{get isGroupItem(){return!1}};wc([u()],Sn.prototype,"text",void 0);wc([u()],Sn.prototype,"additionalText",void 0);wc([u({type:Boolean})],Sn.prototype,"focused",void 0);wc([u({type:Boolean})],Sn.prototype,"selected",void 0);Sn=wc([B("ui5-cb-item")],Sn);Sn.define();const qw=Sn;var cv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ds=class extends j{get isGroupItem(){return!0}};cv([u()],ds.prototype,"text",void 0);cv([u({type:Boolean})],ds.prototype,"focused",void 0);ds=cv([B("ui5-cb-group-item")],ds);ds.define();const cL=ds;function uL(i,e,t){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const dL={packageName:"@ui5/webcomponents",fileName:"themes/GroupHeaderListItem.css.ts",content:`.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-v1-22-1-rc-0_group_header_list_item_height);background:var(--ui5-v1-22-1-rc-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}.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)} +`};var jw=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ru;let zl=ru=class extends nd{get groupItem(){return!0}get groupHeaderText(){return ru.i18nBundle.getText(U2)}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}static async onDefine(){ru.i18nBundle=await oe("@ui5/webcomponents")}};jw([u()],zl.prototype,"accessibleName",void 0);zl=ru=jw([B({tag:"ui5-li-groupheader",languageAware:!0,template:uL,styles:[nd.styles,dL]})],zl);zl.define();const ud=zl;var Th;(function(i){i.StartsWithPerTerm="StartsWithPerTerm",i.StartsWith="StartsWith",i.Contains="Contains",i.None="None"})(Th||(Th={}));const Du=Th;function _L(i,e,t){return c`
  • ${this.placeSelectionElementBefore?hL.call(this,i,e,t):void 0}
    ${this.hasImageContent?bL.call(this,i,e,t):yL.call(this,i,e,t)}${this.displayIconBegin?kL.call(this,i,e,t):void 0}
    ${this.hasTitle?$L.call(this,i,e,t):void 0}${this.hasDescription?TL.call(this,i,e,t):void 0}${this.typeActive?void 0:CL.call(this,i,e,t)}
    ${this.hasDescription?void 0:AL.call(this,i,e,t)}
    ${this.displayIconEnd?EL.call(this,i,e,t):void 0}${this.typeDetail?DL.call(this,i,e,t):void 0}${this.typeNavigation?PL.call(this,i,e,t):void 0}${this.navigated?OL.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?RL.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function hL(i,e,t){return c`${this.modeSingleSelect?pL.call(this,i,e,t):void 0}${this.modeMultiSelect?vL.call(this,i,e,t):void 0}${this.renderDeleteButton?fL.call(this,i,e,t):void 0}`}function pL(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function vL(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function fL(i,e,t){return c`
    ${this.hasDeleteButtonSlot?mL.call(this,i,e,t):gL.call(this,i,e,t)}
    `}function mL(i,e,t){return c``}function gL(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}function bL(i,e,t){return c`
    `}function yL(i,e,t){return c`${this.displayImage?wL.call(this,i,e,t):void 0}`}function wL(i,e,t){return t?c`<${d("ui5-avatar",e,t)} shape="Square" class="ui5-li-img">`:c``}function kL(i,e,t){return t?c`<${d("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:c``}function $L(i,e,t){return c``}function TL(i,e,t){return c`
    ${this.richDescription.length?xL.call(this,i,e,t):SL.call(this,i,e,t)}${this.additionalText?IL.call(this,i,e,t):void 0}
    `}function xL(i,e,t){return c``}function SL(i,e,t){return c`${a(this.description)}`}function IL(i,e,t){return c`${a(this.additionalText)}`}function CL(i,e,t){return c`${a(this.type)}`}function AL(i,e,t){return c`${this.additionalText?BL.call(this,i,e,t):void 0}`}function BL(i,e,t){return c`${a(this.additionalText)}`}function EL(i,e,t){return t?c`<${d("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:c``}function DL(i,e,t){return t?c`
    <${d("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:c`
    `}function PL(i,e,t){return t?c`<${d("ui5-icon",e,t)} name ="slim-arrow-right">`:c``}function OL(i,e,t){return c`
    `}function RL(i,e,t){return c`${this.modeSingleSelect?LL.call(this,i,e,t):void 0}${this.modeMultiSelect?ML.call(this,i,e,t):void 0}${this.renderDeleteButton?NL.call(this,i,e,t):void 0}`}function LL(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function ML(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function NL(i,e,t){return c`
    ${this.hasDeleteButtonSlot?FL.call(this,i,e,t):zL.call(this,i,e,t)}
    `}function FL(i,e,t){return c``}function zL(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}var uv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let _s=class extends Ra{onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!this.titleText.length}get effectiveTitle(){return this.titleText.filter(e=>e.nodeType!==Node.COMMENT_NODE).map(e=>e.textContent).join("")}get hasDescription(){return this.richDescription.length||this.description}get groupItem(){return!1}};uv([F({type:HTMLElement})],_s.prototype,"richDescription",void 0);uv([F({type:Node,default:!0})],_s.prototype,"titleText",void 0);_s=uv([B({tag:"ui5-li-suggestion-item",template:_L})],_s);_s.define();const Gw=_s;var Xr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let mo=class extends j{get groupItem(){return!1}};Xr([u()],mo.prototype,"text",void 0);Xr([u({type:Ft,defaultValue:Ft.Active})],mo.prototype,"type",void 0);Xr([u()],mo.prototype,"description",void 0);Xr([u()],mo.prototype,"icon",void 0);Xr([u({type:Boolean})],mo.prototype,"iconEnd",void 0);Xr([u()],mo.prototype,"image",void 0);Xr([u()],mo.prototype,"additionalText",void 0);Xr([u({type:y,defaultValue:y.None})],mo.prototype,"additionalTextState",void 0);mo=Xr([B({tag:"ui5-suggestion-item",dependencies:[Gw]})],mo);mo.define();const Yw=mo;var ot=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Xt;const zc=10;var xh;(function(i){i.Error="error",i.Warning="alert",i.Success="sys-enter-2",i.Information="information"})(xh||(xh={}));let Ye=Xt=class extends j{constructor(){super(),this._filteredItems=[],this._initialRendering=!0,this._itemFocused=!1,this._autocomplete=!1,this._isKeyNavigation=!1,this._lastValue=this.getAttribute("value")||"",this._selectionPerformed=!1,this._selectedItemText="",this._userTypedValue=""}onBeforeRendering(){const e=this.valueStatePopover;this.FormSupport=Se("FormSupport"),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,(this._initialRendering||this.filter==="None")&&(this._filteredItems=this.items),this.open&&!this._isKeyNavigation&&(this._filteredItems=this._filterItems(this.filterValue)),!this._initialRendering&&document.activeElement===this&&!this._filteredItems.length&&(e==null||e.close()),this._selectMatchingItem(),this._initialRendering=!1,this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`)}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}async onAfterRendering(){const e=await this._getPicker();await this.shouldClosePopover()&&!G()&&(e.close(!1,!1,!0),this._clearFocus(),this._itemFocused=!1),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this.storeResponsivePopoverWidth(),G()&&(this.value=this.inner.value,this._selectMatchingItem())}async shouldClosePopover(){return(await this._getPicker()).opened&&!this.focused&&!this._itemFocused&&!this._isValueStateFocused}_focusin(e){this.focused=!0,this._autocomplete=!1,!G()&&e.target.setSelectionRange(0,this.value.length)}_focusout(e){var s;const t=e.relatedTarget,o=(s=t==null?void 0:t.shadowRoot)==null?void 0:s.querySelector(".ui5-valuestatemessage-root"),r=this.shadowRoot.querySelector(".ui5-input-clear-icon-wrapper"),n=r===t||(r==null?void 0:r.contains(t));if(!(this._effectiveShowClearIcon&&n)){if(this._fireChangeEvent(),o){e.stopImmediatePropagation();return}!this.shadowRoot.contains(t)&&this.staticAreaItem!==e.relatedTarget&&(this.focused=!1,!G()&&this._closeRespPopover(e))}}_afterOpenPopover(){this._iconPressed=!0,this.inner.focus()}_afterClosePopover(){this._iconPressed=!1,this._filteredItems=this.items,this.filterValue="",G()&&this.blur(),this._selectionPerformed&&(this._lastValue=this.value,this._selectionPerformed=!1)}async _toggleRespPopover(){(await this._getPicker()).opened?this._closeRespPopover():this._openRespPopover()}async storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=(await this._getPicker()).offsetWidth)}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}async openValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.showAt(this)}async closeValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.close()}async _getValueStatePopover(){const t=(await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover");return this.valueStatePopover=t,t}_resetFilter(){this._userTypedValue="",this.inner.setSelectionRange(0,this.value.length),this._filteredItems=this._filterItems(""),this._selectMatchingItem()}_arrowClick(){this.inner.focus(),this._resetFilter(),G()&&this.value&&!this._lastValue&&(this._lastValue=this.value),this._toggleRespPopover()}_handleMobileInput(e){const{target:t}=e;this.filterValue=t.value,this.value=t.value,this.fireEvent("input")}_input(e){const{value:t}=e.target,o=this.shouldAutocomplete(e);if(e.target===this.inner&&(e.stopImmediatePropagation(),this.focused=!0,this._isValueStateFocused=!1),this._filteredItems=this._filterItems(t),this.value=t,this.filterValue=t,this._clearFocus(),o&&!hp()){const r=this._getFirstMatchingItem(t);r&&this._applyAtomicValueAndSelection(r,t,!0),t!==""&&r&&!r.selected&&!r.isGroupItem&&this.fireEvent("selection-change",{item:r})}this.fireEvent("input"),!G()&&(!this._filteredItems.length||t===""?this._closeRespPopover():this._openRespPopover())}shouldAutocomplete(e){const t=e.inputType,o=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];return!this.noTypeahead&&!o.includes(t)}_startsWithMatchingItems(e){return ld(e,this._filteredItems,"text")}_clearFocus(){this._filteredItems.map(e=>(e.focused=!1,e))}handleNavKeyPress(e){if(this.focused&&(St(e)||si(e))&&this.value)return;const t=this.open,o=this._filteredItems.find(n=>t?n.focused:n.selected),r=o?this._filteredItems.indexOf(o):-1;e.preventDefault(),!(this.focused&&t&&(Le(e)||pi(e)||Ci(e)))&&(this._filteredItems.length-1===r&&De(e)||(this._isKeyNavigation=!0,(e.key==="ArrowDown"||e.key==="ArrowUp"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Home"||e.key==="End")&&this[`_handle${e.key}`](e,r)))}_handleItemNavigation(e,t,o){const r=this.open,n=this._filteredItems[t],s=o?this._filteredItems[t+1]:this._filteredItems[t-1],l=n&&n.isGroupItem;if(!r&&(l&&!s||!l&&!n)||(this._clearFocus(),r?(this._itemFocused=!0,this.value=l?"":n.text,this.focused=!1,n.focused=!0):(this.focused=!0,this.value=l?s.text:n.text,n.focused=!1),this._isValueStateFocused=!1,this._announceSelectedItem(t),this._scrollToItem(t,o),l&&r))return;const _=this._getFirstMatchingItem(this.value);_&&this._applyAtomicValueAndSelection(_,this.open?this._userTypedValue:"",!0),_&&!_.selected&&this.fireEvent("selection-change",{item:_}),this.fireEvent("input"),this._fireChangeEvent()}_handleArrowDown(e,t){const o=this.open;if(this.focused&&t===-1&&this.hasValueStateText&&o){this._isValueStateFocused=!0,this._announceValueStateText(),this.focused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,++t,!0)}_handleArrowUp(e,t){const o=this.open;if(t===0&&!this.hasValueStateText){this._clearFocus(),this.focused=!0,this._itemFocused=!1;return}if(t===0&&this.hasValueStateText&&o){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText(),this._filteredItems[0].selected=!1;return}if(this._isValueStateFocused){this.focused=!0,this._isValueStateFocused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,--t,!1)}_handlePageUp(e,t){const o=t-zc>-1;t=o?t-zc:0;const r=this._filteredItems[t].isGroupItem&&!this.open;if(!o&&this.hasValueStateText&&this.open){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText();return}this._handleItemNavigation(e,t,r)}_handlePageDown(e,t){const o=this._filteredItems.length;t=t+zcn.focused);this._fireChangeEvent(),o!=null&&o.opened&&!(r!=null&&r.isGroupItem)?(this._closeRespPopover(),this.focused=!0):this.FormSupport&&this.FormSupport.triggerFormSubmit(this)}if(Zi(e)&&(this.focused=!0,this.value=this.open?this.value:this._lastValue,this._isValueStateFocused=!1),(It(e)||Ei(e))&&this.open&&this._closeRespPopover(),Nr(e)&&!this.readonly&&!this.disabled){e.preventDefault(),this._resetFilter(),this._toggleRespPopover();const r=this._filteredItems.find(n=>n.selected);r&&this.open?(this._itemFocused=!0,r.focused=!0,this.focused=!1):this.open&&this._filteredItems.length?this._handleItemNavigation(e,0,!0):this.focused=!0}}_click(){G()&&!this.readonly&&this._openRespPopover()}_closeRespPopover(e){const t=this.responsivePopover;e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&this._selectedItemText&&(this.value=this._selectedItemText,this.filterValue=this._selectedItemText),e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&(this.value=this._lastValue||"",this.filterValue=this._lastValue||""),G()&&this._fireChangeEvent(),this._isValueStateFocused=!1,this._clearFocus(),t==null||t.close()}async _openRespPopover(){(await this._getPicker()).showAt(this,!0)}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(Vw[this.filter]||lv)(e,t,"text");return this.items.filter((r,n,s)=>Xt._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_getFirstMatchingItem(e){const t=this.items.find(r=>r.focused===!0);if(t!=null&&t.isGroupItem){this.value=this.filterValue;return}const o=this._startsWithMatchingItems(e).filter(r=>!r.isGroupItem);if(o.length)return o[0]}_applyAtomicValueAndSelection(e,t,o){const r=e&&e.text||"";this.inner.value=r,o&&this.inner.setSelectionRange(t.length,r.length),this.value=r}_selectMatchingItem(){const e=this.items.find(r=>r.focused),t=e&&e.isGroupItem,o=this._filteredItems.find(r=>!r.isGroupItem&&r.text===this.value&&!t);this._filteredItems=this._filteredItems.map(r=>(r.selected=r===o,r))}_fireChangeEvent(){this.value!==this._lastValue&&(this.fireEvent("change"),this._lastValue=this.value)}_inputChange(e){e.preventDefault()}_itemMousedown(e){e.preventDefault()}_selectItem(e){const t=e.detail.item;this._selectedItemText=t.mappedItem.text,this._selectionPerformed=!0;const o=this.value===this._selectedItemText,r=this.value.toLowerCase()===this.filterValue.toLowerCase();if(o&&r)return this._fireChangeEvent(),this._closeRespPopover();this.value=this._selectedItemText,t.mappedItem.selected||this.fireEvent("selection-change",{item:t.mappedItem}),this._filteredItems.map(n=>(n.selected=n===t.mappedItem&&!n.isGroupItem,n)),this._fireChangeEvent(),this._closeRespPopover(),this.inner.setSelectionRange(this.value.length,this.value.length)}_onItemFocus(){this._itemFocused=!0}_announceSelectedItem(e){const t=this._filteredItems[e],o=this._filteredItems.filter(_=>!_.isGroupItem),r=t.additionalText||"",n=t==null?void 0:t.isGroupItem,s=Xt.i18nBundle.getText(Qu,o.indexOf(t)+1,o.length),l=Xt.i18nBundle.getText(Wp);gl(n?`${l} ${t.text}`:`${r} ${s}`.trim(),ha.Polite)}_clear(){const e=this.items.find(t=>t.selected);(e==null?void 0:e.text)===this.value&&this.fireEvent("change"),this.value="",this.fireEvent("input"),this._isPhone?(this._lastValue="",this.fireEvent("change")):this.focus()}async _scrollToItem(e,t){const o=await this._getPicker(),r=o.querySelector(".ui5-combobox-items-list"),n=r==null?void 0:r.items[e];if(n){const s=o.getBoundingClientRect(),l=n.getBoundingClientRect();l.top>=s.top&&l.bottom<=s.bottom||n.scrollIntoView({behavior:"instant",block:t?"end":"start",inline:"nearest"})}}_announceValueStateText(){const e=this.shouldDisplayDefaultValueStateMessage?this.valueStateDefaultText:this.valueStateMessageText.map(t=>t.textContent).join(" ");e&&gl(e,ha.Polite)}get _headerTitleText(){return Xt.i18nBundle.getText(Ss)}get _iconAccessibleNameText(){return Xt.i18nBundle.getText(Vp)}get inner(){return G()?this.responsivePopover.querySelector("[ui5-input]").shadowRoot.querySelector("input"):this.shadowRoot.querySelector("[inner-input]")}async _getPicker(){const t=(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]");return this.responsivePopover=t,t}get hasValueState(){return this.valueState!==y.None}get hasValueStateText(){return this.hasValueState&&this.valueState!==y.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return"";let e="";return this.valueState!==y.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){if(this.valueState!==y.None)return this.valueStateTextMappings[this.valueState]}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get valueStateTextMappings(){return{[y.Success]:Xt.i18nBundle.getText($r),[y.Error]:Xt.i18nBundle.getText(wr),[y.Warning]:Xt.i18nBundle.getText(kr),[y.Information]:Xt.i18nBundle.getText(Yr)}}get valueStateTypeMappings(){return{[y.Success]:Xt.i18nBundle.getText(As),[y.Information]:Xt.i18nBundle.getText(Bs),[y.Error]:Xt.i18nBundle.getText(Is),[y.Warning]:Xt.i18nBundle.getText(Cs)}}get shouldOpenValueStateMessagePopover(){return this.focused&&!this.readonly&&this.hasValueStateText&&!this._iconPressed&&!this.open&&!this._isPhone}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?Nt.Left:Nt.Right}get _valueStateMessageIcon(){return this.valueState!==y.None?xh[this.valueState]:""}get open(){var e;return((e=this==null?void 0:this.responsivePopover)==null?void 0:e.opened)||!1}get _isPhone(){return G()}get itemTabIndex(){}get ariaLabelText(){return Wt(this)}get clearIconAccessibleName(){return Xt.i18nBundle.getText(Zu)}static async onDefine(){Xt.i18nBundle=await oe("@ui5/webcomponents")}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{width:`${this.offsetWidth}px`},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:`${this._listWidth||""}px`},suggestionsPopover:{"min-width":`${this.offsetWidth||0}px`,"max-width":this.offsetWidth/e>40?`${this.offsetWidth}px`:"40rem"}}}get classes(){return{popover:{"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateText,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateText},popoverValueState:{"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}};ot([u()],Ye.prototype,"value",void 0);ot([u({type:Boolean})],Ye.prototype,"noTypeahead",void 0);ot([u()],Ye.prototype,"filterValue",void 0);ot([u()],Ye.prototype,"placeholder",void 0);ot([u({type:Boolean})],Ye.prototype,"disabled",void 0);ot([u({type:y,defaultValue:y.None})],Ye.prototype,"valueState",void 0);ot([u({type:Boolean})],Ye.prototype,"readonly",void 0);ot([u({type:Boolean})],Ye.prototype,"required",void 0);ot([u({type:Boolean})],Ye.prototype,"loading",void 0);ot([u({type:Du,defaultValue:Du.StartsWithPerTerm})],Ye.prototype,"filter",void 0);ot([u({type:Boolean})],Ye.prototype,"showClearIcon",void 0);ot([u({type:Boolean})],Ye.prototype,"focused",void 0);ot([u({type:Boolean})],Ye.prototype,"_isValueStateFocused",void 0);ot([u()],Ye.prototype,"accessibleName",void 0);ot([u()],Ye.prototype,"accessibleNameRef",void 0);ot([u({type:Boolean,noAttribute:!0})],Ye.prototype,"_iconPressed",void 0);ot([u({type:Object,noAttribute:!0,multiple:!0})],Ye.prototype,"_filteredItems",void 0);ot([u({validator:z,noAttribute:!0})],Ye.prototype,"_listWidth",void 0);ot([u({type:Boolean,noAttribute:!0})],Ye.prototype,"_effectiveShowClearIcon",void 0);ot([F({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],Ye.prototype,"items",void 0);ot([F()],Ye.prototype,"valueStateMessage",void 0);ot([F()],Ye.prototype,"icon",void 0);Ye=Xt=ot([B({tag:"ui5-combobox",languageAware:!0,renderer:ee,styles:sL,staticAreaStyles:[Wo,On,lL,cd],template:KR,staticAreaTemplate:eL,dependencies:[qw,Ie,wo,xr,ad,Fe,Ra,ud,fo,cL,vr,Yw]}),$("change"),$("input"),$("selection-change",{detail:{item:{type:HTMLElement}}})],Ye);Ye.define();/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var VL=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,HL=function(i,e){return ue(typeof i=="string"||i instanceof String,"pattern must be string"),(arguments.length>2||e!=null&&!Array.isArray(e))&&(e=Array.prototype.slice.call(arguments,1)),e=e||[],i.replace(VL,function(t,o,r,n,s){if(o)return"'";if(r)return r.replace(/''/g,"'");if(n)return String(e[parseInt(n)]);throw new Error("formatMessage: pattern syntax error at pos. "+s)})};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var W=function(){throw new Error},Xi={DATE:"date",TIME:"time",DATETIME:"datetime",DATETIME_WITH_TIMEZONE:"datetimeWithTimezone"},s_={},Kw=function(i){if(typeof i!="string"&&!(i instanceof String)&&i!=null)throw new TypeError("The given timezone must be a string.")};W.oDateInfo={type:Xi.DATE,oDefaultFormatOptions:{style:"medium",relativeScale:"day",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd"},{pattern:"yyyyMMdd",strictParsing:!0}],bShortFallbackFormatOptions:!0,bPatternFallbackWithoutDelimiter:!0,getPattern:function(i,e,t){return i.getDatePattern(e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0},aRelativeScales:["year","month","week","day"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date"]};W.oDateTimeInfo={type:Xi.DATETIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd'T'HH:mm:ss"},{pattern:"yyyyMMdd HHmmss"}],getPattern:function(i,e,t){var o=e.indexOf("/");return o>0?i.getCombinedDateTimePattern(e.substr(0,o),e.substr(o+1),t):i.getCombinedDateTimePattern(e,e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["year","month","week","day","hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date","DayPeriod","Hours","Minutes","Seconds"]};W._getDateTimeWithTimezoneInfo=function(i){var e=i.showDate===void 0||i.showDate,t=i.showTime===void 0||i.showTime,o=i.showTimezone===void 0||i.showTimezone,r=W.oDateTimeInfo;return e&&!t?r=W.oDateInfo:!e&&t&&(r=W.oTimeInfo),Object.assign({},r,{type:Xi.DATETIME_WITH_TIMEZONE,getTimezonePattern:function(n){return!e&&!t&&o?"VV":o?n+" VV":n},getPattern:function(n,s,l){if(!e&&!t&&o)return"VV";if(!o)return r.getPattern(n,s,l);var _=r.getPattern(n,s,l);return n.applyTimezonePattern(_)}})};W.oTimeInfo={type:Xi.TIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"HH:mm:ss"},{pattern:"HHmmss"}],getPattern:function(i,e,t){return i.getTimePattern(e,t)},oRequiredParts:{text:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["DayPeriod","Hours","Minutes","Seconds"]};W.getInstance=function(i,e){return this.getDateInstance(i,e)};W.getDateInstance=function(i,e){return this.createInstance(i,e,this.oDateInfo)};W.getDateTimeInstance=function(i,e){return this.createInstance(i,e,this.oDateTimeInfo)};W.getDateTimeWithTimezoneInstance=function(i,e){if(i&&!(i instanceof as)&&(function(){if(i=Object.assign({},i),typeof i.showTimezone=="string"){var t=i.showTimezone;i.showDate===void 0&&i.showTime===void 0&&(t==="Hide"?i.showTimezone=!1:t==="Only"&&(i.showDate=!1,i.showTime=!1)),i.showTimezone=t!=="Hide"}}(),i.showDate===!1&&i.showTime===!1&&i.showTimezone===!1))throw new TypeError("Invalid Configuration. One of the following format options must be true: showDate, showTime or showTimezone.");return this.createInstance(i,e,W._getDateTimeWithTimezoneInfo(i||{}))};W.getTimeInstance=function(i,e){return this.createInstance(i,e,this.oTimeInfo)};W.createInstance=function(i,e,t,o){var r,n,s;if(n=Object.create(this.prototype),i instanceof as&&(e=i,i=void 0),e||(e=tt.getFormatSettings().getFormatLocale()),n.oLocale=e,n.oLocaleData=pt.getInstance(e),n.oFormatOptions=es({},t.oDefaultFormatOptions,i),t.type===Xi.DATETIME_WITH_TIMEZONE?(n.oFormatOptions.interval=!1,n.oFormatOptions.singleIntervalValue=!1,n.oFormatOptions.UTC=!1):(n.oFormatOptions.showTimezone=void 0,n.oFormatOptions.showDate=void 0,n.oFormatOptions.showTime=void 0),n.type=t.type,n.oFormatOptions.calendarType||(n.oFormatOptions.calendarType=tt.getCalendarType()),n.oFormatOptions.firstDayOfWeek===void 0&&n.oFormatOptions.minimalDaysInFirstWeek!==void 0||n.oFormatOptions.firstDayOfWeek!==void 0&&n.oFormatOptions.minimalDaysInFirstWeek===void 0)throw new TypeError("Format options firstDayOfWeek and minimalDaysInFirstWeek need both to be set, but only one was provided.");if(n.oFormatOptions.calendarWeekNumbering&&!Object.values(at).includes(n.oFormatOptions.calendarWeekNumbering))throw new TypeError("Illegal format option calendarWeekNumbering: '"+n.oFormatOptions.calendarWeekNumbering+"'");if(n.oFormatOptions.pattern||(n.oFormatOptions.format?n.oFormatOptions.pattern=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType):n.oFormatOptions.pattern=t.getPattern(n.oLocaleData,n.oFormatOptions.style,n.oFormatOptions.calendarType)),n.oFormatOptions.interval){var l,_=n.oFormatOptions.intervalDelimiter;n.oFormatOptions.format?(n.intervalPatterns=n.oLocaleData.getCustomIntervalPattern(n.oFormatOptions.format,null,n.oFormatOptions.calendarType),typeof n.intervalPatterns=="string"&&(n.intervalPatterns=[n.intervalPatterns]),l=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType),n.intervalPatterns.push(l)):(l=n.oFormatOptions.pattern,n.intervalPatterns=[n.oLocaleData.getCombinedIntervalPattern(n.oFormatOptions.pattern,n.oFormatOptions.calendarType),n.oFormatOptions.pattern]),n.intervalPatterns.push(n.oFormatOptions.pattern+" - "+n.oFormatOptions.pattern),_&&(_=_.replace(/'/g,"''"),_="'"+_+"'",n.intervalPatterns.unshift(l+_+l)),n.intervalPatterns=Array.from(new Set(n.intervalPatterns))}return o||(r=t.aFallbackFormatOptions,t.bShortFallbackFormatOptions&&(s=t.getPattern(n.oLocaleData,"short"),r=r.concat(W._createFallbackOptionsWithoutDelimiter(s))),n.oFormatOptions.pattern&&t.bPatternFallbackWithoutDelimiter&&(r=W._createFallbackOptionsWithoutDelimiter(n.oFormatOptions.pattern).concat(r)),r=r.reduce(function(p,v){var f=Object.keys(v),g=p.some(function(w){return Object.keys(w).length===f.length&&f.every(function(A){return w[A]===v[A]})});return g||p.push(v),p},[]),n.aFallbackFormats=W._createFallbackFormat(r,n.oFormatOptions.calendarType,e,t,n.oFormatOptions)),n.oRequiredParts=t.oRequiredParts,n.aRelativeScales=t.aRelativeScales,n.aRelativeParseScales=t.aRelativeParseScales,n.aIntervalCompareFields=t.aIntervalCompareFields,n.init(),n};W.prototype.init=function(){var i=this.oFormatOptions.calendarType;this.aMonthsAbbrev=this.oLocaleData._getMonthsWithAlternatives("abbreviated",i),this.aMonthsWide=this.oLocaleData.getMonths("wide",i),this.aMonthsNarrow=this.oLocaleData.getMonths("narrow",i),this.aMonthsAbbrevSt=this.oLocaleData._getMonthsStandAloneWithAlternatives("abbreviated",i),this.aMonthsWideSt=this.oLocaleData.getMonthsStandAlone("wide",i),this.aMonthsNarrowSt=this.oLocaleData.getMonthsStandAlone("narrow",i),this.aDaysAbbrev=this.oLocaleData.getDays("abbreviated",i),this.aDaysWide=this.oLocaleData.getDays("wide",i),this.aDaysNarrow=this.oLocaleData.getDays("narrow",i),this.aDaysShort=this.oLocaleData.getDays("short",i),this.aDaysAbbrevSt=this.oLocaleData.getDaysStandAlone("abbreviated",i),this.aDaysWideSt=this.oLocaleData.getDaysStandAlone("wide",i),this.aDaysNarrowSt=this.oLocaleData.getDaysStandAlone("narrow",i),this.aDaysShortSt=this.oLocaleData.getDaysStandAlone("short",i),this.aQuartersAbbrev=this.oLocaleData.getQuarters("abbreviated",i),this.aQuartersWide=this.oLocaleData.getQuarters("wide",i),this.aQuartersNarrow=this.oLocaleData.getQuarters("narrow",i),this.aQuartersAbbrevSt=this.oLocaleData.getQuartersStandAlone("abbreviated",i),this.aQuartersWideSt=this.oLocaleData.getQuartersStandAlone("wide",i),this.aQuartersNarrowSt=this.oLocaleData.getQuartersStandAlone("narrow",i),this.aErasNarrow=this.oLocaleData.getEras("narrow",i),this.aErasAbbrev=this.oLocaleData.getEras("abbreviated",i),this.aErasWide=this.oLocaleData.getEras("wide",i),this.aDayPeriodsAbbrev=this.oLocaleData.getDayPeriods("abbreviated",i),this.aDayPeriodsNarrow=this.oLocaleData.getDayPeriods("narrow",i),this.aDayPeriodsWide=this.oLocaleData.getDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrev=this.oLocaleData.getFlexibleDayPeriods("abbreviated",i),this.oFlexibleDayPeriodsNarrow=this.oLocaleData.getFlexibleDayPeriods("narrow",i),this.oFlexibleDayPeriodsWide=this.oLocaleData.getFlexibleDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrevSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("abbreviated",i),this.oFlexibleDayPeriodsNarrowSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("narrow",i),this.oFlexibleDayPeriodsWideSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("wide",i),this.aFormatArray=this.parseCldrDatePattern(this.oFormatOptions.pattern),this.sAllowedCharacters=this.getAllowedCharacters(this.aFormatArray)};W._createFallbackFormat=function(i,e,t,o,r){return i.map(function(n){var s=Object.assign({},n);return s.showDate=r.showDate,s.showTime=r.showTime,s.showTimezone=r.showTimezone,typeof o.getTimezonePattern=="function"&&s.pattern&&(s.pattern=o.getTimezonePattern(s.pattern)),r.interval&&(s.interval=!0),s.calendarType=e,W.createInstance(s,t,o,!0)})};W._createFallbackOptionsWithoutDelimiter=function(i){var e=/[^dMyGU]/g,t={regex:/d+/g,replace:"dd"},o={regex:/M+/g,replace:"MM"},r={regex:/[yU]+/g,replace:["yyyy","yy"]};return i=i.replace(e,""),i=i.replace(t.regex,t.replace),i=i.replace(o.regex,o.replace),r.replace.map(function(n){return{pattern:i.replace(r.regex,n),strictParsing:!0}})};var se={isNumber:function(i){return i>=48&&i<=57},findNumbers:function(i,e){for(var t=0;t{(Array.isArray(n)?n:[n]).forEach(l=>{l.length>r&&this.startsWithIgnoreCase(i,l,t)&&(o=s,r=l.length)})}),{index:o,length:r}},parseTZ:function(i,e){var t=0,o=i.charAt(0)==="+"?-1:1,r;if(i[0]==="Z")return{length:1,tzDiff:0};t++,r=this.findNumbers(i.substr(t),2);var n=parseInt(r);t+=2,e&&t++,r=this.findNumbers(i.substr(t),2);var s=0;return r&&(t+=2,s=parseInt(r)),{length:t,tzDiff:(s+60*n)*60*o}},checkValid:function(i,e,t){return!(i in t.oRequiredParts&&e)}};W._oParseHelper=se;W._createPatternSymbol=function(i){var e=typeof i.isNumeric=="function"&&i.isNumeric||function(){return i.isNumeric||!1};return{name:i.name,format:i.format||function(){return""},parse:i.parse||function(){return{}},isNumeric:e}};W.prototype.oSymbols={"":W._createPatternSymbol({name:"text",format:function(i,e){return i.value},parse:function(i,e,t,o){var r,n=!0,s=0,l=0,_="-~‐‑‒–—﹘﹣-~";const p=W._normalize(e.value);for(;l2&&(n=n.substr(n.length-2)),s!==Ae.Japanese&&i.digits===1&&r<100&&(n=n.padStart(4,"0")),n.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=se.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var _=parseInt(n);if(l!==Ae.Japanese&&n.length<=2){var p=ie.getInstance(le.getInstance(),l),v=p.getUTCFullYear(),f=Math.floor(v/100),g=f*100+_-v;g<-70?_+=(f+1)*100:g<30?_+=f*100:_+=(f-1)*100}return{length:n.length,valid:se.checkValid(e.type,s,t),year:_}},isNumeric:!0}),Y:W._createPatternSymbol({name:"weekYear",format:function(i,e,t,o){var r=e.getUTCWeek(o.oLocale,Pu(o.oFormatOptions)),n=r.year,s=String(n),l=o.oFormatOptions.calendarType;return i.digits===2&&s.length>2&&(s=s.substr(s.length-2)),l!==Ae.Japanese&&i.digits===1&&n<100&&(s=s.padStart(4,"0")),s.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=se.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var _=parseInt(n),p=_;if(l!==Ae.Japanese&&n.length<=2){var v=ie.getInstance(le.getInstance(),l),f=v.getUTCFullYear(),g=Math.floor(f/100),w=g*100+p-f;w<-70?p+=(g+1)*100:w<30?p+=g*100:p+=(g-1)*100}return{length:n.length,valid:se.checkValid(e.type,s,t),year:_,weekYear:p}},isNumeric:!0}),M:W._createPatternSymbol({name:"month",format:function(i,e,t,o){var r=e.getUTCMonth();if(i.digits===3){const n=o.aMonthsAbbrev[r];return Array.isArray(n)?n[0]:n}else return i.digits===4?o.aMonthsWide[r]:i.digits>4?o.aMonthsNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=se.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=se.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{month:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{month:r,length:n?n.length:0,valid:l}},isNumeric:function(i){return i<3}}),L:W._createPatternSymbol({name:"monthStandalone",format:function(i,e,t,o){var r=e.getUTCMonth();if(i.digits===3){const n=o.aMonthsAbbrevSt[r];return Array.isArray(n)?n[0]:n}else return i.digits===4?o.aMonthsWideSt[r]:i.digits>4?o.aMonthsNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=se.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=se.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{month:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{month:r,length:n?n.length:0,valid:l}},isNumeric:function(i){return i<3}}),w:W._createPatternSymbol({name:"weekInYear",format:function(i,e,t,o){var r=e.getUTCWeek(o.oLocale,Pu(o.oFormatOptions)),n=r.week,s=String(n+1);return i.digits<3?s=s.padStart(i.digits,"0"):s=o.oLocaleData.getCalendarWeek(i.digits===3?"narrow":"wide",s.padStart(2,"0")),s},parse:function(i,e,t,o){var r,n,s,l,_=0;if(e.digits<3)r=se.findNumbers(i,2),_=r.length,l=parseInt(r)-1,n=!r||o.exactLength&&_<2,s=se.checkValid(e.type,n,t);else{r=t.oLocaleData.getCalendarWeek(e.digits===3?"narrow":"wide"),r=r.replace("{0}","([0-9]+)");var p=new RegExp(r),v=p.exec(i);v?(_=v[0].length,l=parseInt(v[v.length-1])-1):s=se.checkValid(e.type,!0,t)}return{length:_,valid:s,week:l}},isNumeric:function(i){return i<3}}),W:W._createPatternSymbol({name:"weekInMonth"}),D:W._createPatternSymbol({name:"dayInYear"}),d:W._createPatternSymbol({name:"day",format:function(i,e){var t=e.getUTCDate();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,s=se.checkValid(e.type,n,t),l=parseInt(r);return o.strict&&(l>31||l<1)&&(s=!1),{day:l,length:r.length,valid:s}},isNumeric:!0}),Q:W._createPatternSymbol({name:"quarter",format:function(i,e,t,o){var r=e.getUTCQuarter();return i.digits===3?o.aQuartersAbbrev[r]:i.digits===4?o.aQuartersWide[r]:i.digits>4?o.aQuartersNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=se.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{quarter:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{length:r?r.length:0,quarter:s,valid:l}},isNumeric:function(i){return i<3}}),q:W._createPatternSymbol({name:"quarterStandalone",format:function(i,e,t,o){var r=e.getUTCQuarter();return i.digits===3?o.aQuartersAbbrevSt[r]:i.digits===4?o.aQuartersWideSt[r]:i.digits>4?o.aQuartersNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=se.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{quarter:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{length:r?r.length:0,quarter:s,valid:l}},isNumeric:function(i){return i<3}}),F:W._createPatternSymbol({name:"dayOfWeekInMonth"}),E:W._createPatternSymbol({name:"dayNameInWeek",format:function(i,e,t,o){var r=e.getUTCDay();return i.digits<4?o.aDaysAbbrev[r]:i.digits===4?o.aDaysWide[r]:i.digits===5?o.aDaysNarrow[r]:o.aDaysShort[r]},parse:function(i,e,t,o){for(var r=[t.aDaysWide,t.aDaysWideSt,t.aDaysAbbrev,t.aDaysAbbrevSt,t.aDaysShort,t.aDaysShortSt,t.aDaysNarrow,t.aDaysNarrowSt],n=0;nW._normalize(w)),s&&(v=v.map(g)),l=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId),l.index!==-1)return{pm:l.index===1,length:s?p[0].length:l.length};return{valid:!1}}}),B:W._createPatternSymbol({name:"flexibleDayPeriod",format:function(i,e,t,o){var r=o.aFormatArray.some(function(s){return"hHKk".includes(s.symbol)}),n=o.oLocaleData.getFlexibleDayPeriodOfTime(e.getUTCHours(),e.getUTCMinutes());return r?i.digits<=3?o.oFlexibleDayPeriodsAbbrev[n]:i.digits===4?o.oFlexibleDayPeriodsWide[n]:o.oFlexibleDayPeriodsNarrow[n]:i.digits<=3?o.oFlexibleDayPeriodsAbbrevSt[n]:i.digits===4?o.oFlexibleDayPeriodsWideSt[n]:o.oFlexibleDayPeriodsNarrowSt[n]},parse:function(i,e,t,o){var r,n,s,l=t.aFormatArray.some(function(p){return"hHKk".includes(p.symbol)}),_=[t.oFlexibleDayPeriodsWide,t.oFlexibleDayPeriodsAbbrev,t.oFlexibleDayPeriodsNarrow];if(l){for(r=0;r<_.length;r++)if(s=_[r],n=se.findEntry(i,Object.values(s),t.oLocaleData.sCLDRLocaleId),n.index!==-1)return{flexDayPeriod:Object.keys(s)[n.index],length:n.length}}return{valid:!1}}}),H:W._createPatternSymbol({name:"hour0_23",format:function(i,e){var t=e.getUTCHours();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return o.strict&&n>23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),k:W._createPatternSymbol({name:"hour1_24",format:function(i,e){var t=e.getUTCHours(),o=t===0?"24":String(t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return n===24&&(n=0),o.strict&&n>23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),K:W._createPatternSymbol({name:"hour0_11",format:function(i,e){var t=e.getUTCHours(),o=String(t>11?t-12:t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return o.strict&&n>11&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),h:W._createPatternSymbol({name:"hour1_12",format:function(i,e){var t=e.getUTCHours(),o;return t>12?o=String(t-12):t===0?o="12":o=String(t),o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=o.dateValue.pm,n=se.findNumbers(i,Math.max(e.digits,2)),s=parseInt(n),l=n===""||o.exactLength&&n.length<2,_=se.checkValid(e.type,l,t);return s===12&&(s=0,r=r===void 0?!0:r),o.strict&&s>11&&(_=!1),{hour:s,length:n.length,pm:r,valid:_}},isNumeric:!0}),m:W._createPatternSymbol({name:"minute",format:function(i,e){var t=e.getUTCMinutes();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return o.strict&&n>59&&(l=!1),{length:r.length,minute:n,valid:l}},isNumeric:!0}),s:W._createPatternSymbol({name:"second",format:function(i,e){var t=e.getUTCSeconds();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Math.max(e.digits,2),n=se.findNumbers(i,r),s=n===""||o.exactLength&&n.length59&&(_=!1),{length:n.length,second:l,valid:_}},isNumeric:!0}),S:W._createPatternSymbol({name:"fractionalsecond",format:function(i,e){var t=e.getUTCMilliseconds(),o=String(t),r=o.padStart(3,"0");return r=r.substr(0,i.digits),r=r.padEnd(i.digits,"0"),r},parse:function(i,e,t,o){var r=se.findNumbers(i,e.digits),n=r.length,s=o.exactLength&&n3&&e.getTimezoneLong&&e.getTimezoneLong())return e.getTimezoneLong();if(e.getTimezoneShort&&e.getTimezoneShort())return e.getTimezoneShort();var n=Me.calculateOffset(e,r),s="GMT",l=Math.abs(n/60),_=n>0,p=Math.floor(l/60),v=Math.floor(l%60);return!t&&l!==0?(s+=_?"-":"+",s+=String(p).padStart(2,"0"),s+=":",s+=String(v).padStart(2,"0")):s+="Z",s},parse:function(i,e,t,o){var r=0,n,s=i.substring(0,3);if(s==="GMT"||s==="UTC")r=3;else if(i.substring(0,2)==="UT")r=2;else if(i.charAt(0)==="Z")r=1,n=0;else return{error:"cannot be parsed correctly by sap.ui.core.format.DateFormat: The given timezone is not supported!"};if(i.charAt(0)!=="Z"){var l=se.parseTZ(i.substr(r),!0);r+=l.length,n=l.tzDiff}return{length:r,tzDiff:n}}}),Z:W._createPatternSymbol({name:"timezoneRFC822",format:function(i,e,t,o,r){var n=Me.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,_=Math.floor(s/60),p=Math.floor(s%60),v="";return t||(v+=l?"-":"+",v+=String(_).padStart(2,"0"),v+=String(p).padStart(2,"0")),v},parse:function(i,e,t,o){return se.parseTZ(i,!1)}}),X:W._createPatternSymbol({name:"timezoneISO8601",format:function(i,e,t,o,r){var n=Me.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,_=Math.floor(s/60),p=Math.floor(s%60),v="";return!t&&s!==0?(v+=l?"-":"+",v+=String(_).padStart(2,"0"),(i.digits>1||p>0)&&((i.digits===3||i.digits===5)&&(v+=":"),v+=String(p).padStart(2,"0"))):v+="Z",v},parse:function(i,e,t,o){return i.charAt(0)==="Z"?{length:1,tzDiff:0}:se.parseTZ(i,e.digits===3||e.digits===5)}}),V:W._createPatternSymbol({name:"timezoneID",format:function(i,e,t,o,r){return!t&&i.digits===2?o.oLocaleData.getTimezoneTranslations()[r]||r:""},parse:function(i,e,t,o,r){var n={timezone:"",length:0};if(e.digits===2){var s=t.oLocaleData.getTimezoneTranslations();if(i===s[r])return{timezone:r,length:i.length};var l=Object.values(s),_=se.findEntry(i,l,t.oLocaleData.sCLDRLocaleId);if(_.index!==-1)return{timezone:Object.keys(s)[_.index],length:_.length};for(var p="",v=i.length;v>0;v-=1)if(p=i.slice(0,v),Me.isValidTimezone(p)){n.timezone=p,n.length=p.length;break}}return n}})};W.prototype._format=function(i,e,t){if(this.oFormatOptions.relative){var o=this.formatRelative(i,e,this.oFormatOptions.relativeRange,t);if(o)return o}for(var r=this.oFormatOptions.calendarType,n=ie.getInstance(i,r),s=[],l,_,p,v=0;ve.getTime())}function Ih(i){return i&&typeof i.getTime=="function"&&!isNaN(i.getTime())}W.prototype.parse=function(i,e,t){var o=this.oFormatOptions.showDate===void 0||this.oFormatOptions.showDate,r=this.oFormatOptions.showTime===void 0||this.oFormatOptions.showTime;if(this.type===Xi.DATETIME_WITH_TIMEZONE&&(o&&!r||!o&&r))throw new TypeError("The input can only be parsed back to date if both date and time are supplied.");var n;e===void 0&&this.type!==Xi.DATETIME_WITH_TIMEZONE&&(e=this.oFormatOptions.UTC);var s=e;if(this.type===Xi.DATETIME_WITH_TIMEZONE&&(n=e,e=!1,Kw(n),n&&!Me.isValidTimezone(n)))return et.error("The given timezone isn't valid."),null;i=i==null?"":String(i).trim(),i=W._normalize(i);var l,_=this.oFormatOptions.calendarType;if(n=n||tt.getTimezone(),t===void 0&&(t=this.oFormatOptions.strictParsing),_===Ae.Japanese&&this.oLocale.getLanguage()==="ja"&&(i=i.replace(/元年/g,"1年")),this.oFormatOptions.interval){var f=this._parseInterval(i,_,e,t,n),g,w;if(f&&f.length===2){var A=Tm(f[0],f[1]),L=Tm(f[1],f[0]);if(g=l_(A,_,e,t,n,this.oFormatOptions,this.oLocale),w=l_(L,_,e,t,n,this.oFormatOptions,this.oLocale),g&&w){if(this.oFormatOptions.singleIntervalValue&&g.getTime()===w.getTime())return[g,null];var X=WL(g,w);return t&&!X?(et.error("StrictParsing: Invalid date range. The given end date is before the start date."),[null,null]):[g,w]}}}else{var p=this.parseRelative(i,e);if(p)return p;if(l=this._parse(i,this.aFormatArray,e,t,n),(l.index===0||l.indext[1])?null:(l=this.oLocaleData.getRelativePattern(p,n,s>0,this.oFormatOptions.relativeStyle),HL(l,[Math.abs(n)]))};W.prototype._mRanges={second:[-60,60],minute:[-60,60],hour:[-24,24],day:[-6,6],week:[-4,4],month:[-12,12],year:[-10,10]};W.prototype._mScales={second:1,minute:60,hour:3600,day:86400,week:604800,month:2592e3,quarter:7776e3,year:31536e3};W.prototype._getScale=function(i,e){var t,o;i=Math.abs(i);for(var r=0;r=this._mScales[o]){t=o;break}return t||(t=e[e.length-1]),t};function qL(i,e,t,o){var r=Math.abs(i.getUTCMonth()-e.getUTCMonth());if(t==="week"&&r===2)return"month";if(t==="week"&&r===1){if(i.getUTCDate()===e.getUTCDate()||o<0&&i.getUTCDate()0&&i.getUTCDate()>e.getUTCDate())return"month"}else if(t==="month"&&r===1&&(o>0&&i.getUTCDate()e.getUTCDate()))return"week";return t}function Jo(i,e){for(var t,o=["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],r=new Date(i.getTime()),n=e;ne.valueOf()}isSameOrBefore(e){return Xs(e),this.valueOf()<=e.valueOf()}isSameOrAfter(e){return Xs(e),this.valueOf()>=e.valueOf()}isSame(e){return Xs(e),this.valueOf()===e.valueOf()}toLocalJSDate(){const e=Dr.getInstance(this._oUDate.getTime());return e.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),e.setHours(0,0,0,0),e}toUTCJSDate(){const e=Dr.getInstance(this._oUDate.getTime());return e.setUTCHours(0,0,0,0),e}toString(){return`${this._oUDate.sCalendarType}: ${this.getYear()}/${this.getMonth()+1}/${this.getDate()}`}valueOf(){return this._oUDate.getTime()}static fromLocalJSDate(e,t){function o(r){return r&&Object.prototype.toString.call(r)==="[object Date]"&&!isNaN(r)}if(!o(e))throw new Error(`Date parameter must be a JavaScript Date object: [${e}].`);return new nu(e.getFullYear(),e.getMonth(),e.getDate(),t)}static fromTimestamp(e,t){const o=new nu(0,0,1);let r;try{r=mn.getInstance(Dr.getInstance(e),t)}catch{r=new Date(NaN)}return o._oUDate=r,o}};function xm(i,e){return e?mn.getInstance(Sm(i),e):new mn(Sm(i).getTime())}function Sm(i){const e=new Date(Date.UTC(0,0,1));return e.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),e}function Xs(i){if(!(i instanceof pe))throw new Error(`Invalid calendar date: [${i}]. Expected: CalendarDate`)}function qn(i,e){if(i===void 0||i===1/0||isNaN(i))throw e}const Vl=(i,e,t,o=!0,r,n)=>{const s=new pe(i);switch(t){case"day":s.setDate(i.getDate()+e);break;case"month":if(o){s.setMonth(i.getMonth()+e);const l=e===-1&&s.getMonth()===i.getMonth(),_=e===1&&s.getMonth()-i.getMonth()>1;(l||_)&&s.setDate(0)}else e===1&&s.setMonth(s.getMonth()+1,1),e===-1&&s.setDate(0);break;case"year":s.setYear(i.getYear()+e),s.getMonth()!==i.getMonth()&&s.setDate(0);break}return r&&s.isBefore(r)?new pe(r):n&&s.isAfter(n)?new pe(n):s},ZL=i=>(i||(i=new Date().getTime()),(i-i%(24*60*60*1e3))/1e3),dv=i=>pe.fromLocalJSDate(Dr.getInstance(),i).valueOf()/1e3;var Ch;(function(i){i.DAY_MONTH_YEAR="DAY_MONTH_YEAR",i.MONTH_YEAR="MONTH_YEAR",i.YEAR="YEAR"})(Ch||(Ch={}));const ho=Ch,QL="appointment-2",Xw="M32 481V65q0-14 9.5-23T64 33h64V1h32v32h192V1h32v32h64q14 0 23 9t9 23v416q0 14-9 23t-23 9H64q-13 0-22.5-9T32 481zm416 0V129H64v352h384zM256 193q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM128 321q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm256-128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm0 128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm-128 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM96 225q0-14 9-23t23-9 23 9 9 23-9 23-23 9-23-9-9-23zM384 97V65h-32v32h32zM128 65v32h32V65h-32z",JL=!1,e3="SAP-icons-v4",t3="@ui5/webcomponents-icons";Y(QL,{pathData:Xw,ltr:JL,collection:e3,packageName:t3});const i3="appointment-2",Zw="M403 64q32 0 54.5 22.5T480 141v294q0 32-22.5 54.5T403 512H109q-32 0-54.5-22.5T32 435V141q0-32 22.5-54.5T109 64h25V26q0-11 7.5-18.5T160 0t18.5 7.5T186 26v38h140V26q0-11 7.5-18.5T352 0t18.5 7.5T378 26v38h25zm-294 51q-11 0-18.5 7.5T83 141v64h346v-64q0-11-7.5-18.5T403 115h-25v19q0 11-7.5 18.5T352 160t-18.5-7.5T326 134v-19H186v19q0 11-7.5 18.5T160 160t-18.5-7.5T134 134v-19h-25zm294 346q11 0 18.5-7.5T429 435V256H83v179q0 11 7.5 18.5T109 461h294zM160 320q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9z",o3=!1,r3="SAP-icons-v5",n3="@ui5/webcomponents-icons";Y(i3,{pathData:Zw,ltr:o3,collection:r3,packageName:n3});we();const c_=new Map,Lo=i=>(c_.has(i)||c_.set(i,new N5(i)),c_.get(i)),is=new Map,a3=i=>{const e=`min ${i}`;if(!is.has(e)){const t=new pe(1,0,1,i);t.setYear(1),t.setMonth(0),t.setDate(1),is.set(e,t)}return is.get(e)},Qw=i=>{const e=`max ${i}`;if(!is.has(e)){const t=new pe(1,0,1,i);t.setYear(9999),t.setMonth(11);const o=new pe(t,i);o.setDate(1),o.setMonth(o.getMonth()+1,0),t.setDate(o.getDate()),is.set(e,t)}return is.get(e)};var Ms=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ah;let In=Ah=class extends j{constructor(){super()}get _primaryCalendarType(){const e=Lo(Ee());return this.primaryCalendarType||u5()||e.getPreferredCalendarType()}get _secondaryCalendarType(){return this.secondaryCalendarType||IS()}get _minDate(){let e;return this.minDate&&(e=this._getMinMaxCalendarDateFromString(this.minDate)),e||a3(this._primaryCalendarType)}get _maxDate(){let e;return this.maxDate&&(e=this._getMinMaxCalendarDateFromString(this.maxDate)),e||Qw(this._primaryCalendarType)}get _formatPattern(){return this.formatPattern||"medium"}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}_getMinMaxCalendarDateFromString(e){if(this.getFormat().parse(e))return this._getCalendarDateFromString(e);const t=this.getISOFormat().parse(e);if(t)return pe.fromLocalJSDate(t,this._primaryCalendarType)}_getCalendarDateFromString(e){const t=this.getFormat().parse(e);if(t)return pe.fromLocalJSDate(t,this._primaryCalendarType)}_getTimeStampFromString(e){const t=this._getCalendarDateFromString(e);if(t)return t.toUTCJSDate().valueOf()}_getStringFromTimestamp(e){const t=new Date(e);return this.getFormat().format(t,!0)}getFormat(){return this._isPattern?Ai.getDateInstance({strictParsing:!0,pattern:this._formatPattern,calendarType:this._primaryCalendarType}):Ai.getDateInstance({strictParsing:!0,style:this._formatPattern,calendarType:this._primaryCalendarType})}getISOFormat(){return this._isoFormatInstance||(this._isoFormatInstance=Ai.getDateInstance({strictParsing:!0,pattern:"YYYY-MM-dd",calendarType:this._primaryCalendarType})),this._isoFormatInstance}static async onDefine(){[Ah.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),$s(Ee().getLanguage(),Ee().getRegion(),Ee().getScript())])}};Ms([u({type:dr})],In.prototype,"primaryCalendarType",void 0);Ms([u({type:dr})],In.prototype,"secondaryCalendarType",void 0);Ms([u()],In.prototype,"formatPattern",void 0);Ms([u()],In.prototype,"minDate",void 0);Ms([u()],In.prototype,"maxDate",void 0);In=Ah=Ms([B({languageAware:!0,renderer:ee})],In);const Jw=In,s3=i=>{const e=new pe(i);return e.setDate(1),e.setMonth(e.getMonth()+1),e.setDate(0),e.getDate()},$l=(i,e,t,o)=>{let r=pe.fromLocalJSDate(Dr.getInstance(t*1e3),i),n=pe.fromLocalJSDate(Dr.getInstance(t*1e3),i);return r.setDate(1),o&&(r.setMonth(0),n.setMonth(11)),n.setDate(s3(n)),r=new pe(r,e),n=new pe(n,e),{firstDate:r,lastDate:n}},ek=(i,e,t)=>{const o=Lo(Ee()),r=o.getIntervalPattern(""),n=o.getMonthsStandAlone("abbreviated",t),s=o.getMonthsStandAlone("wide",t);return i===e?{text:o.getMonths("abbreviated",t)[i],textInfo:o.getMonths("wide",t)[i]}:{text:r.replace(/\{0\}/,n[i]).replace(/\{1\}/,n[e]),textInfo:r.replace(/\{0\}/,s[i]).replace(/\{1\}/,s[e])}};var tk=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Hl=class extends j{};tk([u()],Hl.prototype,"value",void 0);Hl=tk([B("ui5-date")],Hl);Hl.define();const _v=Hl;var ik=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ou=class extends Jw{get _minTimestamp(){return this._minDate.valueOf()/1e3}get _maxTimestamp(){return this._maxDate.valueOf()/1e3}get _timestamp(){let e=this.timestamp!==void 0?this.timestamp:dv(this._primaryCalendarType);return this._maxTimestamp&&this._maxTimestampe&&(e=this._minTimestamp),e}get _localDate(){return new Date(this._timestamp*1e3)}get _calendarDate(){return pe.fromTimestamp(this._localDate.getTime(),this._primaryCalendarType)}_safelySetTimestamp(e){const t=this._minDate.valueOf()/1e3,o=this._maxDate.valueOf()/1e3;eo&&(e=o),this.timestamp=e}_safelyModifyTimestampBy(e,t,o){const r=Vl(this._calendarDate,e,t,o);this._safelySetTimestamp(r.valueOf()/1e3)}_getTimestampFromDom(e){const t=e.getAttribute("data-sap-timestamp");return parseInt(t)}};ik([u({validator:z})],Ou.prototype,"timestamp",void 0);Ou=ik([B()],Ou);const dd=Ou;function l3(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-left">
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?Im.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?Cm.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-right">
    `:c`
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?Im.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?Cm.call(this,i,e,t):void 0}
    `}function Im(i,e,t){return c`${a(this._secondMonthButtonText)}`}function Cm(i,e,t){return c`${a(this._yearButtonTextSecType)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const c3={packageName:"@ui5/webcomponents",fileName:"themes/CalendarHeader.css.ts",content:`:host{display:block;width:100%;height:100%}.ui5-calheader-root{display:flex;height:100%;padding:var(--_ui5-v1-22-1-rc-0_calendar_header_padding);box-sizing:border-box}.ui5-calheader-arrowbtn{display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width);background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);cursor:pointer;overflow:hidden;white-space:nowrap;padding:0;font-size:var(--sapFontSize);user-select:none}.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:hover,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:active,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:focus,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled{opacity:.4;cursor:default;outline:none;background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor)}[hidden].ui5-calheader-arrowbtn.ui5-calheader-middlebtn{display:none}.ui5-calheader-arrowbtn:focus{outline:none}.ui5-calheader-arrowbtn:hover{background-color:var(--sapButton_Hover_Background);color:var(--sapButton_Lite_TextColor);box-shadow:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_box_shadow)}.ui5-calheader-arrowbtn:active{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor)}.ui5-calheader-arrowbtn,.ui5-calheader-middlebtn{border:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border_radius);display:flex;background-color:var(--sapButton_Lite_Background);border-color:var(--sapButton_Lite_BorderColor)}.ui5-calheader-middlebtn{flex-direction:column;align-items:center;justify-content:center}.ui5-calheader-arrowbtn:not(:active) .ui5-calheader-btn-sectext{color:var(--sapNeutralElementColor);font-size:var(--sapFontSmallSize)}.ui5-calheader-arrowicon{color:currentColor;pointer-events:none}.ui5-calheader-midcontainer{display:flex;justify-content:space-around;flex:1 1 auto;padding:0 .5rem}.ui5-calheader-midcontainer .ui5-calheader-middlebtn:first-child{margin-inline-end:.5rem}.ui5-calheader-middlebtn{font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_width);flex:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_flex);position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-calheader-middlebtn:focus{border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border_radius);outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_outline);outline-offset:-.125rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_background)}.ui5-calheader-middlebtn:focus:active{outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_outline);outline-offset:-.0625rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_background)}.ui5-calheader-middlebtn:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_display);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_width);height:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_height);border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_border);position:absolute;top:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_top_offset);left:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_left_offset)}.ui5-calheader-middlebtn:focus:active:after{border-color:var(--sapContent_ContrastFocusColor)} +`};var To=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},rl;let gi=rl=class extends j{static async onDefine(){rl.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._prevButtonText=rl.i18nBundle.getText(sy),this._nextButtonText=rl.i18nBundle.getText(ay),this.hasSecondaryCalendarType&&(this._secondMonthButtonText=this.buttonTextForSecondaryCalendarType.monthButtonText,this._secondYearButtonText=this.buttonTextForSecondaryCalendarType.yearButtonText)}onPrevButtonClick(e){if(this.isPrevButtonDisabled){e.preventDefault();return}this.fireEvent("previous-press",e),e.preventDefault()}onNextButtonClick(e){if(this.isNextButtonDisabled){e.preventDefault();return}this.fireEvent("next-press",e),e.preventDefault()}onMonthButtonClick(e){this.fireEvent("show-month-press",e)}onMonthButtonKeyDown(e){te(e)&&e.preventDefault(),de(e)&&this.fireEvent("show-month-press",e)}onMonthButtonKeyUp(e){te(e)&&(e.preventDefault(),this.fireEvent("show-month-press",e))}onYearButtonClick(e){this.fireEvent("show-year-press",e)}onYearButtonKeyDown(e){te(e)&&e.preventDefault(),de(e)&&this.fireEvent("show-year-press",e)}onYearButtonKeyUp(e){te(e)&&(e.preventDefault(),this.fireEvent("show-year-press",e))}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}get classes(){return{prevButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isPrevButtonDisabled},nextButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isNextButtonDisabled}}}get accInfo(){return{ariaLabelMonthButton:this.hasSecondaryCalendarType?`${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.monthButtonInfo}`:`${this._monthButtonText}`}}};To([u({validator:z})],gi.prototype,"timestamp",void 0);To([u({type:dr})],gi.prototype,"primaryCalendarType",void 0);To([u({type:dr})],gi.prototype,"secondaryCalendarType",void 0);To([u({type:Object})],gi.prototype,"buttonTextForSecondaryCalendarType",void 0);To([u({type:Boolean})],gi.prototype,"isNextButtonDisabled",void 0);To([u({type:Boolean})],gi.prototype,"isPrevButtonDisabled",void 0);To([u({type:Boolean})],gi.prototype,"isMonthButtonHidden",void 0);To([u()],gi.prototype,"_monthButtonText",void 0);To([u()],gi.prototype,"_yearButtonText",void 0);To([u()],gi.prototype,"_yearButtonTextSecType",void 0);To([u({type:Boolean})],gi.prototype,"isYearButtonHidden",void 0);gi=rl=To([B({tag:"ui5-calendar-header",languageAware:!0,renderer:ee,template:l3,styles:c3,dependencies:[Ie]}),$("next-press"),$("previous-press"),$("show-month-press"),$("show-year-press")],gi);gi.define();const u3=gi,d3=(i,e,t,o,r)=>{let n=0,s=0;const l=Number.isInteger(i)?i:r.getFirstDayOfWeek();if(o&&o.getLanguage()==="en"&&o.getRegion()==="US"){const _=new mn(e.getTime());_.setUTCFullYear(t,0,1),s=_.getUTCDay();const p=new mn(e.getTime());p.setUTCDate(p.getUTCDate()-p.getUTCDay()+s),n=Math.round((p.getTime()-_.getTime())/864e5/7)+1}else{const _=new mn(e.getTime());_.setUTCDate(_.getUTCDate()-l),s=_.getUTCDay(),_.setUTCDate(_.getUTCDate()-s+4);const p=new mn(_.getTime());p.setUTCMonth(0,1),s=p.getUTCDay();let v=0;s>4&&(v=7);const f=new mn(p.getTime());f.setUTCDate(1-s+4+v),n=Math.round((_.getTime()-f.getTime())/864e5/7)+1}return n};var Bh;(function(i){i.Single="Single",i.Multiple="Multiple",i.Range="Range"})(Bh||(Bh={}));const Po=Bh;function _3(i,e,t){return c`
    ${E(this._dayNames,(o,r)=>o._id||r,(o,r)=>h3.call(this,i,e,t,o,r))}
    ${E(this._weeks,(o,r)=>o._id||r,(o,r)=>p3.call(this,i,e,t,o,r))}
    `}function h3(i,e,t,o,r){return c`
    ${a(o.ultraShortName)}
    `}function p3(i,e,t,o,r){return c`${o.length?v3.call(this,i,e,t,o,r):w3.call(this,i,e,t,o,r)}`}function v3(i,e,t,o,r){return c`
    ${E(o,(n,s)=>n._id||s,(n,s)=>f3.call(this,i,e,t,n,s))}
    `}function f3(i,e,t,o,r){return c`${o.timestamp?m3.call(this,i,e,t,o,r):b3.call(this,i,e,t,o,r)}`}function m3(i,e,t,o,r){return c`
    ${a(o.day)}${o._isSecondaryCalendarType?g3.call(this,i,e,t,o,r):void 0}
    `}function g3(i,e,t,o,r){return c`${a(o.secondDay)}`}function b3(i,e,t,o,r){return c`${o.isHidden?void 0:y3.call(this,i,e,t,o,r)}`}function y3(i,e,t,o,r){return c`
    ${a(o.weekNum)}
    `}function w3(i,e,t,o,r){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const k3={packageName:"@ui5/webcomponents",fileName:"themes/DayPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{height:100%;width:100%}:host([hide-week-numbers]) .ui5-dp-content{flex-basis:100%}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item{flex-direction:column;justify-content:var(--_ui5-v1-22-1-rc-0_day_picker_item_justify_content)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daytext{height:1.575rem;padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daysectext{font-size:.625rem;height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding:0 .375rem .375rem 50%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-item{width:var(--_ui5-v1-22-1-rc-0_day_picker_item_width);height:var(--_ui5-v1-22-1-rc-0_day_picker_item_height);margin-top:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);margin-right:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);font-family:"72override",var(--sapFontFamily);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-weekname{color:var(--_ui5-v1-22-1-rc-0_daypicker_weekname_color)}.ui5-dp-weeks-row{display:flex}.ui5-dp-content{display:flex;flex-basis:87.5%;flex-direction:column;font-family:"72override",var(--sapFontFamily)}.ui5-dp-days-names-container{display:flex;height:var(--_ui5-v1-22-1-rc-0_daypicker_daynames_container_height)}.ui5-dp-weeknumber-container{padding-top:var(--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top);flex-basis:12.5%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-weekname-container,.ui5-dp-item{display:flex;flex-grow:1;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);outline:none;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-dp-item{position:relative;color:var(--sapTextColor);background:var(--sapLegend_WorkingBackground);font-size:var(--sapFontSize);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item:hover{background:var(--sapList_Hover_Background)}.ui5-dp-daytext{display:flex;width:100%;height:100%;justify-content:center;align-items:center;box-sizing:border-box}.ui5-dp-dayname{color:var(--_ui5-v1-22-1-rc-0_daypicker_dayname_color);height:100%}.ui5-dp-item.ui5-dp-item--weeekend{background:var(--sapLegend_NonWorkingBackground)}.ui5-dp-item.ui5-dp-item--disabled{pointer-events:none;opacity:.5}.ui5-dp-item.ui5-dp-item--weeekend:hover{background:var(--sapList_Hover_Background);filter:var(--_ui5-v1-22-1-rc-0_daypicker_item_weeekend_filter)}.ui5-dp-item.ui5-dp-item--othermonth{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_color);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_background_color);border-color:transparent}.ui5-dp-item.ui5-dp-item--othermonth:hover,.ui5-dp-item.ui5-dp-item--weeekend.ui5-dp-item--othermonth:hover{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_hover_color);background:var(--sapList_Hover_Background)}.ui5-dp-item:focus:after{content:"";border:var(--_ui5-v1-22-1-rc-0_daypicker_item_not_selected_focus_border);position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_no_selected_inset);outline:none;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_focus_after)}.ui5-dp-item.ui5-dp-item--now:before{position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_not_selected_inset);border:.125rem solid var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_color);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected{box-shadow:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_box_shadow)}.ui5-dp-item.ui5-dp-item--selected{background:var(--sapContent_Selected_Background)}.ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{position:absolute;inset:0;border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_border);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_background);color:var(--sapContent_Selected_TextColor);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_border);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected:hover .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_daytext_hover_background);color:var(--sapContent_Selected_TextColor)}.ui5-dp-item.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_radius_focus_after);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_focus_after);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_radius_focus);border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_focus);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected:hover{background:var( --_ui5-v1-22-1-rc-0_daypicker_item_selected_hover);color:var(--sapContent_ContrastTextColor)}.ui5-dp-item.ui5-dp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_color);border-width:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_width)}.ui5-dp-items-container{outline:none}.ui5-dp-item.ui5-dp-item--selected-between .ui5-dp-daytext,.ui5-dp-item[hovered] .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_daypicker_item_select_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);background-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_background);color:var(--sapTextColor);font-weight:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_font)}.ui5-dp-item.ui5-dp-item--selected-between.ui5-dp-item--now:not(.ui5-dp-item--selected) .ui5-dp-daytext:after{content:"";position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_inset);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border_radius)}.ui5-dp-item.ui5-dp-item--selected-between,.ui5-dp-item[hovered]{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_border);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_background)}.ui5-dp-item.ui5-dp-item--selected-between:hover{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_hover_background)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--selected-between:focus:after{border-color:var(--sapContent_FocusColor)}.ui5-dp-items-container>:first-child{justify-content:flex-end}.ui5-dp-emptyweek{height:var(--_ui5-v1-22-1-rc-0_day_picker_empty_height)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype:focus:after{outline-offset:-.1875rem;border-radius:var(--_ui5-v1-22-1-rc-0-dp-item_withsecondtype_border)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now.ui5-dp-item--withsecondtype .ui5-dp-daysectext,.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext{border:none;outline:none}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{border-width:.125rem}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height);padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daysectext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding-top:0;border-radius:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_border_radios)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_focus_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_select_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:focus:after{border-width:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_width);inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext:not(.ui5-dp-daysectext):before{content:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_day_text_content);position:absolute;inset:.3125rem;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected__secondary_type_text_outline)} +`};var Rn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},nl;const Am=(i,e,t)=>i>Math.min(e,t)&&if.valueOf(),me=l.isSame(_),xe=l.getDay()===t,K=be?`${n} `:"",I=me?`${s} `:"",C=g?g.getDate():"",P=g?g.getYear():"",M=r.length>0?r[g.getMonth()]:"",V=this.hasSecondaryCalendarType?`${I}${K}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}; ${M} ${C}, ${P}`:`${I}${K}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}`,U={timestamp:L.toString(),focusRef:ce,_tabIndex:ce?"0":"-1",selected:k,day:l.getDate(),secondDay:this.hasSecondaryCalendarType?g.getDate():void 0,_isSecondaryCalendarType:this.hasSecondaryCalendarType,classes:`ui5-dp-item ui5-dp-wday${X}`,ariaLabel:V,ariaSelected:k?"true":"false",ariaDisabled:h?"true":void 0,disabled:Te};xe&&(U.classes+=" ui5-dp-firstday"),k&&(U.classes+=" ui5-dp-item--selected"),D&&(U.classes+=" ui5-dp-item--selected-between"),me&&(U.classes+=" ui5-dp-item--now"),h&&(U.classes+=" ui5-dp-item--othermonth"),be&&(U.classes+=" ui5-dp-item--weeekend"),Te&&(U.classes+=" ui5-dp-item--disabled"),this.hasSecondaryCalendarType&&(U.classes+=" ui5-dp-item--withsecondtype"),w.push(U),X===jn-1&&w.unshift({weekNum:d3(B_(),l.toUTCJSDate(),l.getYear(),Ee(),e),isHidden:this.shouldHideWeekNumbers}),w.length===jn+1&&(this._weeks.push(w),w=[]),l.setDate(l.getDate()+1),this.hasSecondaryCalendarType&&g&&g.setDate(g.getDate()+1)}}_buildDayNames(e){if(this._hidden)return;let t;const o=e.getDays("wide",this._primaryCalendarType);let r=e.getDays("abbreviated",this._primaryCalendarType),n;this.namesTooLong(r)&&(r=e.getDays("narrow",this._primaryCalendarType)),this._dayNames=[],this._dayNames.push({classes:"ui5-dp-dayname",name:nl.i18nBundle.getText(ly)});for(let s=0;sjn-1&&(t-=jn),n={name:o[t],ultraShortName:r[t],classes:"ui5-dp-dayname"},this._dayNames.push(n);this._dayNames[1].classes+=" ui5-dp-firstday",this.shouldHideWeekNumbers&&this._dayNames.shift()}namesTooLong(e){return e.some(t=>t.length>3)}onAfterRendering(){this._autoFocus&&!this._hidden&&this.focus();const e=this.shadowRoot.querySelector("[data-sap-focus-ref]");e&&document.activeElement!==e&&e.focus()}_onfocusin(){this._autoFocus=!0}_onfocusout(){this._autoFocus=!1}_isDaySelected(e){return this.selectionMode===Po.Single?e===this.selectedDates[0]:this.selectedDates.includes(e)}_isDayInsideSelectionRange(e){return this.selectionMode!==Po.Range||!this.selectedDates.length?!1:this.selectedDates.length===1&&this._secondTimestamp?Am(e,this.selectedDates[0],this._secondTimestamp):Am(e,this.selectedDates[0],this.selectedDates[1])}_selectDate(e,t){const o=e.target;if(!this._isDayPressed(o))return;const r=this._getTimestampFromDom(o);this._safelySetTimestamp(r),this._updateSecondTimestamp(),this.selectionMode===Po.Single?this.selectedDates=[r]:this.selectionMode===Po.Multiple?this.selectedDates.length>0&&t?this._multipleSelection(r):this._toggleTimestampInSelection(r):this.selectedDates=this.selectedDates.length===1?[...this.selectedDates,r]:[r],this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_selectWeek(){this._weeks.forEach(e=>{const t=e;t.findIndex(r=>{const n=pe.fromTimestamp(parseInt(r.timestamp)*1e3);return n.getMonth()===this._calendarDate.getMonth()&&n.getDate()===this._calendarDate.getDate()})!==-1&&(t.some(n=>n.timestamp&&!this.selectedDates.includes(parseInt(n.timestamp)))?t.filter(n=>n.timestamp).forEach(n=>{this._addTimestampToSelection(parseInt(n.timestamp))}):t.filter(n=>n.timestamp).forEach(n=>{this._removeTimestampFromSelection(parseInt(n.timestamp))}))}),this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_toggleTimestampInSelection(e){this.selectedDates.includes(e)?this._removeTimestampFromSelection(e):this._addTimestampToSelection(e)}_addTimestampToSelection(e){this.selectedDates.includes(e)||(this.selectedDates=[...this.selectedDates,e])}_removeTimestampFromSelection(e){this.selectedDates=this.selectedDates.filter(t=>t!==e)}_multipleSelection(e){const t=Math.min(...this.selectedDates),o=Math.max(...this.selectedDates);let r,n,s=!1;if(e=t&&e<=o){const p=Math.abs(e-t),v=Math.abs(e-o);p{const o=t;if(o.findIndex(n=>{const s=pe.fromTimestamp(parseInt(n.timestamp)*1e3);return s.getMonth()===this._calendarDate.getMonth()&&s.getDate()===this._calendarDate.getDate()})!==-1){const n=e?1:7;this._setTimestamp(parseInt(o[n].timestamp))}})}_hasPreviousPage(){return!(this._calendarDate.getMonth()===this._minDate.getMonth()&&this._calendarDate.getYear()===this._minDate.getYear())}_hasNextPage(){return!(this._calendarDate.getMonth()===this._maxDate.getMonth()&&this._calendarDate.getYear()===this._maxDate.getYear())}_showPreviousPage(){this._modifyTimestampBy(-1,"month",!1)}_showNextPage(){this._modifyTimestampBy(1,"month",!1)}_modifyTimestampBy(e,t,o){this._safelyModifyTimestampBy(e,t,o),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_setTimestamp(e){this._safelySetTimestamp(e),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_updateSecondTimestamp(){this.selectionMode===Po.Range&&(this.selectedDates.length===1||this.selectedDates.length===2)&&(this._secondTimestamp=this.timestamp)}get shouldHideWeekNumbers(){return this._primaryCalendarType!==dr.Gregorian?!0:this.hideWeekNumbers}get classes(){return{root:{"ui5-dp-root":!0,"ui5-dp-twocalendartypes":this.hasSecondaryCalendarType}}}_isWeekend(e){const t=Lo(Ee()),o=e.getDay(),r=t.getWeekendStart(),n=t.getWeekendEnd();return o>=r&&o<=n||n=r||o<=n)}_isDayPressed(e){const t=e.parentNode;return e.className.indexOf("ui5-dp-item")>-1||t&&t.classList&&t.classList.contains("ui5-dp-item")}_getSecondaryDay(e){return new pe(e,this.secondaryCalendarType)}_getFirstDay(){let e;const t=this._getFirstDayOfWeek(),o=new pe(this._calendarDate,this._primaryCalendarType);return o.setDate(1),e=o.getDay()-t,e<0&&(e=7+e),e>0&&o.setDate(1-e),o}_getFirstDayOfWeek(){const e=Lo(Ee()),t=B_();return Number.isInteger(t)?t:e.getFirstDayOfWeek()}get styles(){return{wrapper:{display:this._hidden?"none":"flex","justify-content":"center"},main:{width:"100%"}}}get ariaRoledescription(){return this.hasSecondaryCalendarType?`${this._primaryCalendarType} calendar with secondary ${this.secondaryCalendarType} calendar`:`${this._primaryCalendarType} calendar`}};Rn([u({validator:z,multiple:!0,compareValues:!0})],Fo.prototype,"selectedDates",void 0);Rn([u({type:Po,defaultValue:Po.Single})],Fo.prototype,"selectionMode",void 0);Rn([u({type:Boolean})],Fo.prototype,"hideWeekNumbers",void 0);Rn([u({type:Object,multiple:!0})],Fo.prototype,"_weeks",void 0);Rn([u({type:Object,multiple:!0})],Fo.prototype,"_dayNames",void 0);Rn([u({type:Boolean,noAttribute:!0})],Fo.prototype,"_hidden",void 0);Rn([u()],Fo.prototype,"_secondTimestamp",void 0);Fo=nl=Rn([B({tag:"ui5-daypicker",styles:k3,template:_3}),$("change"),$("navigate")],Fo);Fo.define();const $3=Fo;function T3(i,e,t){return c`
    ${E(this._months,(o,r)=>o._id||r,(o,r)=>x3.call(this,i,e,t,o,r))}
    `}function x3(i,e,t,o,r){return c`
    ${E(o,(n,s)=>n._id||s,(n,s)=>S3.call(this,i,e,t,n,s))}
    `}function S3(i,e,t,o,r){return c`
    ${a(o.name)}${o.nameInSecType?I3.call(this,i,e,t,o,r):void 0}
    `}function I3(i,e,t,o,r){return c`${a(o.nameInSecType)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const C3={packageName:"@ui5/webcomponents",fileName:"themes/MonthPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-mp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-mp-item{display:flex;flex-direction:column;width:calc(33.333% - .125rem);height:var(--_ui5-v1-22-1-rc-0_month_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;margin:var(--_ui5-v1-22-1-rc-0_monthpicker_item_margin);box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border_radius)}.ui5-dp-monthsectext{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-mp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-mp-item.ui5-mp-item--selected,.ui5-mp-item.ui5-mp-item--selected .ui5-dp-monthsectext{box-shadow:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_box_shadow);font-weight:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_font_wieght);background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_text_color)}.ui5-mp-item.ui5-mp-item--disabled{pointer-events:none;opacity:.5}.ui5-mp-item.ui5-mp-item--selected:focus{background-color:var(--sapContent_Selected_Background)}.ui5-mp-item.ui5-mp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border)}.ui5-mp-item.ui5-mp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_hover_color)}.ui5-mp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_button_focused_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border_radius)}.ui5-mp-quarter{display:flex;justify-content:center;align-items:center;width:100%} +`};var _d=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},au;const Zs=12,za=3;let xa=au=class extends dd{static async onDefine(){au.i18nBundle=await oe("@ui5/webcomponents")}get roleDescription(){return au.i18nBundle.getText(dy)}onBeforeRendering(){this._buildMonths()}onAfterRendering(){this._hidden||this.focus()}_buildMonths(){if(this._hidden)return;const t=Lo(Ee()).getMonthsStandAlone("wide",this._primaryCalendarType),o=[],r=this._calendarDate,n=this._minDate,s=this._maxDate,l=new pe(r,this._primaryCalendarType);let _;for(let p=0;p<12;p++){l.setMonth(p),_=l.valueOf()/1e3;const v=this.selectedDates.some(L=>{const X=pe.fromTimestamp(L*1e3,this._primaryCalendarType);return X.getYear()===l.getYear()&&X.getMonth()===l.getMonth()}),f=l.getMonth()===r.getMonth(),g=this._isOutOfSelectableRange(l,n,s),w={timestamp:_.toString(),focusRef:f,_tabIndex:f?"0":"-1",selected:v,ariaSelected:v?"true":"false",name:t[p],nameInSecType:this.hasSecondaryCalendarType&&this._getDisplayedSecondaryMonthText(_).text,disabled:g,classes:"ui5-mp-item"};v&&(w.classes+=" ui5-mp-item--selected"),g&&(w.classes+=" ui5-mp-item--disabled");const A=Math.floor(p/za);o[A]?o[A].push(w):o[A]=[w]}this._months=o}_getDisplayedSecondaryMonthText(e){const t=$l(this._primaryCalendarType,this.secondaryCalendarType,e);return ek(t.firstDate.getMonth(),t.lastDate.getMonth(),this.secondaryCalendarType)}_onkeydown(e){let t=!0;de(e)?this._selectMonth(e):te(e)?e.preventDefault():ft(e)?this._modifyTimestampBy(-1):it(e)?this._modifyTimestampBy(1):Le(e)?this._modifyTimestampBy(-za):De(e)?this._modifyTimestampBy(za):pi(e)?this._modifyTimestampBy(-Zs):Ci(e)?this._modifyTimestampBy(Zs):St(e)||si(e)?this._onHomeOrEnd(St(e)):Ts(e)?this._setTimestamp(parseInt(this._months[0][0].timestamp)):ma(e)?this._setTimestamp(parseInt(this._months[Zs/za-1][za-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._months.forEach(t=>{if(t.findIndex(r=>pe.fromTimestamp(parseInt(r.timestamp)*1e3).getMonth()===this._calendarDate.getMonth())!==-1){const r=e?0:za-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e,t){this._safelyModifyTimestampBy(e,"month",t),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){te(e)&&this._selectMonth(e)}_selectMonth(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-mp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._calendarDate.getYear()!==this._minDate.getYear()}_hasNextPage(){return this._calendarDate.getYear()!==this._maxDate.getYear()}_showPreviousPage(){this._modifyTimestampBy(-Zs,!0)}_showNextPage(){this._modifyTimestampBy(Zs,!0)}_isOutOfSelectableRange(e,t,o){const r=e.getMonth(),n=e.getYear(),s=t.getYear(),l=t.getMonth(),_=o.getYear(),p=o.getMonth();return n_||n===_&&r>p}};_d([u({validator:z,multiple:!0,compareValues:!0})],xa.prototype,"selectedDates",void 0);_d([u({type:Object,multiple:!0})],xa.prototype,"_months",void 0);_d([u({type:Boolean,noAttribute:!0})],xa.prototype,"_hidden",void 0);xa=au=_d([B({tag:"ui5-monthpicker",template:T3,styles:C3}),$("change"),$("navigate")],xa);xa.define();const A3=xa;function B3(i,e,t){return c`
    ${E(this._years,(o,r)=>o._id||r,(o,r)=>E3.call(this,i,e,t,o,r))}
    `}function E3(i,e,t,o,r){return c`
    ${E(o,(n,s)=>n._id||s,(n,s)=>D3.call(this,i,e,t,n,s))}
    `}function D3(i,e,t,o,r){return c`
    ${a(o.year)}${o.yearInSecType?P3.call(this,i,e,t,o,r):void 0}
    `}function P3(i,e,t,o,r){return c`${a(o.yearInSecType)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const O3={packageName:"@ui5/webcomponents",fileName:"themes/YearPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-yp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-yp-interval-container{display:flex;justify-content:center;align-items:center;width:100%}.ui5-yp-item{display:flex;margin:var(--_ui5-v1-22-1-rc-0_yearpicker_item_margin);width:calc(25% - .125rem);height:var(--_ui5-v1-22-1-rc-0_year_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border_radius)}.ui5-yp-item-secondary-type{flex-direction:column;width:calc(50% - .125rem)}.ui5-yp-item-sec-type{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-yp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-yp-item.ui5-yp-item--selected,.ui5-yp-item.ui5-yp-item--selected .ui5-yp-item-sec-type{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_text_color);box-shadow:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_box_shadow);font-weight:700}.ui5-yp-item.ui5-yp-item--disabled{pointer-events:none;opacity:.5}.ui5-yp-item.ui5-yp-item--selected:focus{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_focus)}.ui5-yp-item.ui5-yp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border)}.ui5-yp-item.ui5-yp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_hover_color)}.ui5-yp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border_radius);outline:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_outline)} +`};var hd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},su;let Sa=su=class extends dd{static async onDefine(){su.i18nBundle=await oe("@ui5/webcomponents")}get roleDescription(){return su.i18nBundle.getText(_y)}onBeforeRendering(){this._buildYears()}_getPageSize(){return this.hasSecondaryCalendarType?8:20}_getRowSize(){return this.hasSecondaryCalendarType?2:4}_buildYears(){if(this._hidden)return;const e=this._getPageSize(),t=Ee(),o=Ai.getDateInstance({format:"y",calendarType:this._primaryCalendarType},t),r=Ai.getDateInstance({format:"y",calendarType:this.secondaryCalendarType},t);this._calculateFirstYear(),this._lastYear=this._firstYear+e-1;const n=this._calendarDate,s=this._minDate,l=this._maxDate,_=new pe(n,this._primaryCalendarType);let p,v;_.setYear(this._firstYear);const f=[];let g;for(let w=0;wpe.fromTimestamp(D*1e3,this._primaryCalendarType).getYear()===_.getYear()),L=_.getYear()===n.getYear(),X=_.getYear()l.getYear();this.hasSecondaryCalendarType&&(p=$l(this._primaryCalendarType,this.secondaryCalendarType,g,!0),v=p.firstDate.getYear()===p.lastDate.getYear()?`${r.format(p.firstDate.toLocalJSDate(),!0)}`:`${r.format(p.firstDate.toLocalJSDate(),!0)} - ${r.format(p.lastDate.toLocalJSDate(),!0)}`);const ce={timestamp:g.toString(),_tabIndex:L?"0":"-1",focusRef:L,selected:A,ariaSelected:A?"true":"false",year:o.format(_.toLocalJSDate()),yearInSecType:v,disabled:X,classes:"ui5-yp-item"};A&&(ce.classes+=" ui5-yp-item--selected"),X&&(ce.classes+=" ui5-yp-item--disabled"),this.hasSecondaryCalendarType&&(ce.classes+=" ui5-yp-item-secondary-type");const k=Math.floor(w/this._getRowSize());f[k]?f[k].push(ce):f[k]=[ce],_.setYear(_.getYear()+1)}this._years=f}_calculateFirstYear(){const e=this._getPageSize(),t=Qw(this._primaryCalendarType).getYear(),o=this._calendarDate.getYear();this._firstYear||(this._firstYear=o-e/2),o=this._firstYear+e&&(this._firstYear+=e),Math.abs(this._firstYear-o)>=e&&(this._firstYear=o-e/2),this._firstYear=Math.max(this._firstYear,this._minDate.getYear()),this._firstYear=Math.min(this._firstYear,this._maxDate.getYear()),this._firstYear>t-e+1&&(this._firstYear=t-e+1)}onAfterRendering(){this._hidden||this.focus()}_onkeydown(e){let t=!0;const o=this._getPageSize(),r=this._getRowSize();de(e)?this._selectYear(e):te(e)?e.preventDefault():ft(e)?this._modifyTimestampBy(-1):it(e)?this._modifyTimestampBy(1):Le(e)?this._modifyTimestampBy(-r):De(e)?this._modifyTimestampBy(r):pi(e)?this._modifyTimestampBy(-o):Ci(e)?this._modifyTimestampBy(o):St(e)||si(e)?this._onHomeOrEnd(St(e)):Ts(e)?this._setTimestamp(parseInt(this._years[0][0].timestamp)):ma(e)?this._setTimestamp(parseInt(this._years[o/r-1][r-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._years.forEach(t=>{if(t.findIndex(r=>pe.fromTimestamp(parseInt(r.timestamp)*1e3).getYear()===this._calendarDate.getYear())!==-1){const r=e?0:this._getRowSize()-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e){this._safelyModifyTimestampBy(e,"year"),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){te(e)&&this._selectYear(e)}_selectYear(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-yp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._firstYear>this._minDate.getYear()}_hasNextPage(){return this._firstYear+this._getPageSize()-1
    <${d("ui5-daypicker",e,t)} id="${a(this._id)}-daypicker" ?hidden="${this._isDayPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isDayPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .selectionMode="${a(this.selectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" ?hide-week-numbers="${this.hideWeekNumbers}" @ui5-change="${a(this.onSelectedDatesChange)}" @ui5-navigate="${a(this.onNavigate)}"><${d("ui5-monthpicker",e,t)} id="${a(this._id)}-MP" ?hidden="${this._isMonthPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isMonthPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedMonthChange)}" @ui5-navigate="${a(this.onNavigate)}"><${d("ui5-yearpicker",e,t)} id="${a(this._id)}-YP" ?hidden="${this._isYearPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isYearPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedYearChange)}" @ui5-navigate="${a(this.onNavigate)}">
    <${d("ui5-calendar-header",e,t)} id="${a(this._id)}-head" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .buttonTextForSecondaryCalendarType="${a(this.secondaryCalendarTypeButtonText)}" timestamp="${a(this._timestamp)}" .isPrevButtonDisabled="${a(this._previousButtonDisabled)}" .isNextButtonDisabled="${a(this._nextButtonDisabled)}" .isMonthButtonHidden="${a(this._isHeaderMonthButtonHidden)}" ._monthButtonText="${a(this._headerMonthButtonText)}" ._yearButtonText="${a(this._headerYearButtonText)}" ._yearButtonTextSecType="${a(this._headerYearButtonTextSecType)}" @ui5-previous-press="${a(this.onHeaderPreviousPress)}" @ui5-next-press="${a(this.onHeaderNextPress)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}">`:c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const M3={packageName:"@ui5/webcomponents",fileName:"themes/Calendar.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-cal-root{background:var(--sapList_Background);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_calendar_height);width:var(--_ui5-v1-22-1-rc-0_calendar_width);padding:var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding) var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) 0;display:flex;flex-direction:column-reverse;justify-content:flex-end}.ui5-cal-root [ui5-calendar-header]{height:var(--_ui5-v1-22-1-rc-0_calendar_header_height);font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily)}.ui5-cal-root .ui5-cal-content{padding:0 var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding)} +`};var jo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ri=class extends dd{get _selectedDatesTimestamps(){return this.dates.map(e=>{const t=e.value;return t&&!!this.getFormat().parse(t)?this._getTimeStampFromString(t)/1e3:void 0}).filter(e=>!!e)}constructor(){super(),this._valueIsProcessed=!1}_setSelectedDates(e){const t=e.map(r=>this.getFormat().format(new Date(r*1e3),!0)),o=[...this.dates].map(r=>r.value);this.dates.filter(r=>!t.includes(r.value)).forEach(r=>{this.removeChild(r)}),t.filter(r=>!o.includes(r)).forEach(r=>{const n=document.createElement(_v.getMetadata().getTag());n.value=r,this.appendChild(n)})}_normalizeCurrentPicker(){this._currentPicker==="day"&&this._pickersMode!==ho.DAY_MONTH_YEAR&&(this._currentPicker="month"),this._currentPicker==="month"&&this._pickersMode===ho.YEAR&&(this._currentPicker="year")}onBeforeRendering(){this._normalizeCurrentPicker(),this._valueIsProcessed||(this._selectedDatesTimestamps&&(this.timestamp=this._selectedDatesTimestamps[0]),this._valueIsProcessed=!0)}async onAfterRendering(){await Bi(),this._previousButtonDisabled=!this._currentPickerDOM._hasPreviousPage(),this._nextButtonDisabled=!this._currentPickerDOM._hasNextPage();const e=Ai.getDateInstance({format:"y",calendarType:this.primaryCalendarType}),t=Lo(Ee());if(this._headerMonthButtonText=t.getMonthsStandAlone("wide",this.primaryCalendarType)[this._calendarDate.getMonth()],this._currentPicker==="year"){const o=new pe(this._calendarDate,this._primaryCalendarType),r=new pe(this._calendarDate,this._primaryCalendarType);o.setYear(this._currentPickerDOM._firstYear),r.setYear(this._currentPickerDOM._lastYear),this._headerYearButtonText=`${e.format(o.toLocalJSDate(),!0)} - ${e.format(r.toLocalJSDate(),!0)}`}else this._headerYearButtonText=String(e.format(this._localDate,!0));this._secondaryCalendarType&&this._setSecondaryCalendarTypeButtonText()}onInvalidation(e){e.reason==="childchange"&&(this._valueIsProcessed=!1)}onHeaderShowMonthPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="month",this.fireEvent("show-month-press",e)}onHeaderShowYearPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="year",this.fireEvent("show-year-press",e)}get _currentPickerDOM(){return this.shadowRoot.querySelector(`[ui5-${this._currentPicker}picker]`)}onHeaderPreviousPress(){this._currentPickerDOM._showPreviousPage()}onHeaderNextPress(){this._currentPickerDOM._showNextPage()}_setSecondaryCalendarTypeButtonText(){const e=Ai.getDateInstance({format:"y",calendarType:this._secondaryCalendarType});if(this._currentPicker==="year"){const t=new pe(this._calendarDate,this._primaryCalendarType),o=new pe(this._calendarDate,this._primaryCalendarType);t.setYear(this._currentPickerDOM._firstYear),o.setYear(this._currentPickerDOM._lastYear);const r=$l(this.primaryCalendarType,this._secondaryCalendarType,t.valueOf()/1e3,!0).firstDate,n=$l(this.primaryCalendarType,this._secondaryCalendarType,o.valueOf()/1e3,!0).lastDate;this._headerYearButtonTextSecType=`${e.format(r.toLocalJSDate(),!0)} - ${e.format(n.toLocalJSDate(),!0)}`}else this._headerYearButtonTextSecType=String(e.format(this._localDate,!0))}get secondaryCalendarTypeButtonText(){if(!this.hasSecondaryCalendarType)return;const e=new Date(this._timestamp*1e3),t=Ai.getDateInstance({format:"y",calendarType:this._secondaryCalendarType}),o=$l(this._primaryCalendarType,this._secondaryCalendarType,this._timestamp),r=ek(o.firstDate.getMonth(),o.lastDate.getMonth(),this._secondaryCalendarType);return{yearButtonText:t.format(e,!0),monthButtonText:r.text,monthButtonInfo:r.textInfo}}get _isHeaderMonthButtonHidden(){return this._currentPicker==="month"||this._currentPicker==="year"}get _isDayPickerHidden(){return this._currentPicker!=="day"}get _isMonthPickerHidden(){return this._currentPicker!=="month"}get _isYearPickerHidden(){return this._currentPicker!=="year"}_fireEventAndUpdateSelectedDates(e){const t=e.map(r=>{const n=pe.fromTimestamp(r*1e3,this._primaryCalendarType);return this.getFormat().format(n.toUTCJSDate(),!0)});!this.fireEvent("selected-dates-change",{timestamp:this.timestamp,dates:[...e],values:t},!0)||this._setSelectedDates(e)}onSelectedDatesChange(e){this.timestamp=e.detail.timestamp,this._fireEventAndUpdateSelectedDates(e.detail.dates)}onSelectedMonthChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===ho.DAY_MONTH_YEAR?this._currentPicker="day":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onSelectedYearChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===ho.DAY_MONTH_YEAR?this._currentPicker="day":this._pickersMode===ho.MONTH_YEAR?this._currentPicker="month":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onNavigate(e){this.timestamp=e.detail.timestamp}_onkeydown(e){Yu(e)&&this._currentPicker!=="month"&&(this._currentPicker="month"),xx(e)&&this._currentPicker!=="year"&&(this._currentPicker="year")}get selectedDates(){return this._selectedDatesTimestamps}set selectedDates(e){this._setSelectedDates(e)}};jo([u({type:Po,defaultValue:Po.Single})],Ri.prototype,"selectionMode",void 0);jo([u({type:Boolean})],Ri.prototype,"hideWeekNumbers",void 0);jo([u({defaultValue:"day"})],Ri.prototype,"_currentPicker",void 0);jo([u({type:Boolean})],Ri.prototype,"_previousButtonDisabled",void 0);jo([u({type:Boolean})],Ri.prototype,"_nextButtonDisabled",void 0);jo([u()],Ri.prototype,"_headerMonthButtonText",void 0);jo([u()],Ri.prototype,"_headerYearButtonText",void 0);jo([u()],Ri.prototype,"_headerYearButtonTextSecType",void 0);jo([u({type:ho,defaultValue:ho.DAY_MONTH_YEAR,noAttribute:!0})],Ri.prototype,"_pickersMode",void 0);jo([F({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],Ri.prototype,"dates",void 0);Ri=jo([B({tag:"ui5-calendar",fastNavigation:!0,template:L3,styles:M3,dependencies:[_v,u3,$3,A3,R3]}),$("selected-dates-change",{detail:{dates:{type:Array},values:{type:Array},timestamp:{type:Number}}}),$("show-month-press"),$("show-year-press")],Ri);Ri.define();const ok=Ri;function N3(i,e,t){return t?c`
    <${d("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-date-picker-input" placeholder="${a(this._placeholder)}" type="${a(this.type)}" value="${a(this.value)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" @ui5-change="${a(this._onInputChange)}" @ui5-input="${a(this._onInputInput)}" @ui5-submit="${a(this._onInputSubmit)}" @keydown="${this._onkeydown}">${this.valueStateMessage.length?Bm.call(this,i,e,t):void 0}${this.readonly?void 0:Em.call(this,i,e,t)}
    `:c`
    ${this.valueStateMessage.length?Bm.call(this,i,e,t):void 0}${this.readonly?void 0:Em.call(this,i,e,t)}
    `}function Bm(i,e,t){return c``}function Em(i,e,t){return t?c`<${d("ui5-icon",e,t)} slot="icon" name="${a(this.openIconName)}" tabindex="-1" accessible-name="${a(this.openIconTitle)}" accessible-role="button" aria-hidden="${a(this._ariaHidden)}" show-tooltip @click="${this.togglePicker}" input-icon ?pressed="${this._isPickerOpen}">`:c``}function F3(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader?Dm.call(this,i,e,t):void 0}<${d("ui5-calendar",e,t)} id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}" ._pickersMode="${a(this._calendarPickersMode)}">${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>Pm.call(this,i,e,t,o,r))}${this.showFooter?Om.call(this,i,e,t):void 0} `:c`${this.showHeader?Dm.call(this,i,e,t):void 0}${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>Pm.call(this,i,e,t,o,r))}${this.showFooter?Om.call(this,i,e,t):void 0} `}function Dm(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closePicker}">
    `:c`
    ${a(this._headerTitleText)}
    `}function Pm(i,e,t,o,r){return t?c`<${d("ui5-date",e,t)} value="${a(o)}">`:c``}function Om(i,e,t){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const z3={packageName:"@ui5/webcomponents",fileName:"themes/DatePicker.css.ts",content:`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;line-height:normal;letter-spacing:normal;word-spacing:normal;height:var(--_ui5-v1-22-1-rc-0_input_height);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + var(--_ui5-v1-22-1-rc-0_input_icon_width));color:var(--sapField_TextColor);background-color:var(--sapField_Background);border-radius:var(--_ui5-v1-22-1-rc-0-datepicker_border_radius);margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0}:host(:not([disabled]):not([readonly]):active){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}:host(:not([disabled]):not([readonly]):hover){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}.ui5-date-picker-root{border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-date-picker-input{width:100%;min-width:12.5625rem;color:inherit;background-color:inherit;border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;margin:inherit}:host(:not([disabled]):not([readonly])) .ui5-date-picker-input[focused]{background-color:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const V3={packageName:"@ui5/webcomponents",fileName:"themes/DatePickerPopover.css.ts",content:`[ui5-calendar]{width:100%;display:flex;justify-content:center}[ui5-responsive-popover]::part(content){padding:0} +`};var di=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},al;let At=al=class extends Jw{onResponsivePopoverAfterClose(){var e;this._isPickerOpen=!1,G()?this.blur():(e=this._getInput())==null||e.focus()}onBeforeRendering(){this.FormSupport=Se("FormSupport"),["minDate","maxDate"].forEach(e=>{const t=this[e];this.isValid(t)||console.warn(`Invalid value for property "${e}": ${t} is not compatible with the configured format pattern: "${this._displayFormat}"`)}),this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'),this.value=this.normalizeValue(this.value)||this.value,this.liveValue=this.value}get _calendarSelectionMode(){return"Single"}get _calendarTimestamp(){if(this.value&&this.dateValueUTC&&this._checkValueValidity(this.value)){const e=this.dateValueUTC.getTime();return ZL(e)}return dv(this._primaryCalendarType)}get _calendarSelectedDates(){return this.value&&this._checkValueValidity(this.value)?[this.value]:[]}_onkeydown(e){Nr(e)&&(e.preventDefault(),this.isOpen()?Yu(e)||this._toggleAndFocusInput():this._toggleAndFocusInput()),this._getInput().isEqualNode(e.target)&&this.isOpen()&&(It(e)||Ei(e)||xp(e)||Sp(e))&&this.closePicker(),!this.isOpen()&&(de(e)?this.FormSupport&&this.FormSupport.triggerFormSubmit(this):El(e)?(e.preventDefault(),this._modifyDateValue(1,"year")):ns(e)?(e.preventDefault(),this._modifyDateValue(1,"month")):pi(e)?(e.preventDefault(),this._modifyDateValue(1,"day")):Gu(e)?(e.preventDefault(),this._modifyDateValue(-1,"year")):lc(e)?(e.preventDefault(),this._modifyDateValue(-1,"month")):Ci(e)&&(e.preventDefault(),this._modifyDateValue(-1,"day")))}_modifyDateValue(e,t,o){if(!this.dateValue)return;const r=Vl(pe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate),n=this.formatValue(r.toUTCJSDate());this._updateValueAndFireEvents(n,!0,["change","value-changed"])}_updateValueAndFireEvents(e,t,o,r=!0){const n=this._checkValueValidity(e);n&&t&&(e=this.normalizeValue(e));let s=!0;this.liveValue=e;const l=this.value;if(r&&(this._getInput().value=e,this.value=e,this._updateValueState()),o.forEach(_=>{this.fireEvent(_,{value:e,valid:n},!0)||(s=!1)}),!s&&r){if(this.value!==l&&this.value!==this._getInput().value)return;this._getInput().value=l,this.value=l}}_updateValueState(){const e=this._checkValueValidity(this.value),t=this.valueState;this.valueState=e?y.None:y.Error,!this.fireEvent("value-state-change",{valueState:this.valueState,valid:e},!0)&&(this.valueState=t)}_toggleAndFocusInput(){this.togglePicker(),this._getInput().focus()}_getInput(){return this.shadowRoot.querySelector("[ui5-input]")}_onInputSubmit(){}_onInputChange(e){this._updateValueAndFireEvents(e.target.value,!0,["change","value-changed"])}_onInputInput(e){this._updateValueAndFireEvents(e.target.value,!1,["input"],!1)}_checkValueValidity(e){return e===""?!0:this.isValid(e)&&this.isInValidRange(e)}_click(e){G()&&(this.responsivePopover.showAt(this),e.preventDefault())}isValid(e){return e===""||e===void 0?!0:!!this.getFormat().parse(e)}isInValidRange(e){if(e===""||e===void 0)return!0;const t=this._getCalendarDateFromString(e);return!t||!this._minDate||!this._maxDate?!1:t.valueOf()>=this._minDate.valueOf()&&t.valueOf()<=this._maxDate.valueOf()}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,!0),!0)}get _displayFormat(){return this.getFormat().oFormatOptions.pattern}get _placeholder(){return this.placeholder!==void 0?this.placeholder:this._displayFormat}get _headerTitleText(){return al.i18nBundle.getText(Ss)}get phone(){return G()}get showHeader(){return this.phone}get showFooter(){return this.phone}get accInfo(){return{ariaRoledescription:this.dateAriaDescription,ariaHasPopup:tv.Grid.toLowerCase(),ariaAutoComplete:"none",ariaRequired:this.required,ariaLabel:Wt(this)}}get openIconTitle(){return al.i18nBundle.getText(L2)}get openIconName(){return"appointment-2"}get dateAriaDescription(){return al.i18nBundle.getText(M2)}get _shouldHideHeader(){return!1}get _ariaHidden(){return vo()}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}_canOpenPicker(){return!this.disabled&&!this.readonly}get _calendarPickersMode(){const t=this.getFormat().aFormatArray.map(o=>o.type.toLowerCase());return t.includes("day")?ho.DAY_MONTH_YEAR:t.includes("month")||t.includes("monthstandalone")?ho.MONTH_YEAR:ho.YEAR}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values&&e.detail.values[0];this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}onHeaderShowMonthPress(){this._calendarCurrentPicker="month"}onHeaderShowYearPress(){this._calendarCurrentPicker="year"}formatValue(e){return this.getFormat().format(e)}closePicker(){this.responsivePopover.close()}async openPicker(){this._isPickerOpen=!0,this._calendarCurrentPicker="day",this.responsivePopover=await this._respPopover(),this.responsivePopover.showAt(this)}togglePicker(){this.isOpen()?this.closePicker():this._canOpenPicker()&&this.openPicker()}isOpen(){return!!this._isPickerOpen}get dateValue(){return this.liveValue?this.getFormat().parse(this.liveValue):this.getFormat().parse(this.value)}get dateValueUTC(){return this.liveValue?this.getFormat().parse(this.liveValue,!0):this.getFormat().parse(this.value)}get styles(){return{main:{width:"100%"}}}get type(){return us.Text}};di([u()],At.prototype,"value",void 0);di([u({type:y,defaultValue:y.None})],At.prototype,"valueState",void 0);di([u({type:Boolean})],At.prototype,"required",void 0);di([u({type:Boolean})],At.prototype,"disabled",void 0);di([u({type:Boolean})],At.prototype,"readonly",void 0);di([u({defaultValue:void 0})],At.prototype,"placeholder",void 0);di([u()],At.prototype,"name",void 0);di([u({type:Boolean})],At.prototype,"hideWeekNumbers",void 0);di([u()],At.prototype,"accessibleName",void 0);di([u({defaultValue:""})],At.prototype,"accessibleNameRef",void 0);di([u({type:Boolean,noAttribute:!0})],At.prototype,"_isPickerOpen",void 0);di([u({type:Object})],At.prototype,"_respPopoverConfig",void 0);di([u({defaultValue:"day"})],At.prototype,"_calendarCurrentPicker",void 0);di([F({type:HTMLElement})],At.prototype,"valueStateMessage",void 0);di([F({type:HTMLElement})],At.prototype,"formSupport",void 0);At=al=di([B({tag:"ui5-date-picker",languageAware:!0,template:N3,staticAreaTemplate:F3,styles:z3,staticAreaStyles:[Wo,V3],dependencies:[Ie,wo,ok,_v,vr,Fe]}),$("change",{detail:{value:{type:String},valid:{type:Boolean}}}),$("input",{detail:{value:{type:String},valid:{type:Boolean}}}),$("value-state-change",{detail:{valueState:{type:String},valid:{type:Boolean}}})],At);At.define();const Ul=At;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const H3={packageName:"@ui5/webcomponents",fileName:"themes/DateRangePicker.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{width:100%;min-width:inherit;color:inherit;background-color:inherit} +`};var pv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Eh;let Wl=Eh=class extends Ul{constructor(){super(),this._prevDelimiter=null}get dateValue(){return null}get dateValueUTC(){return null}get _startDateTimestamp(){return this._extractFirstTimestamp(this.value)}get _endDateTimestamp(){return this._extractLastTimestamp(this.value)}get _tempTimestamp(){return this._tempValue&&this.getFormat().parse(this._tempValue,!0).getTime()/1e3}get _calendarSelectionMode(){return"Range"}get _calendarTimestamp(){return this._tempTimestamp||this._startDateTimestamp||dv(this._primaryCalendarType)}get _calendarSelectedDates(){return this._tempValue?[this._tempValue]:this.value&&this._checkValueValidity(this.value)?this._splitValueByDelimiter(this.value):[]}get startDateValue(){return pe.fromTimestamp(this._startDateTimestamp*1e3).toLocalJSDate()}get endDateValue(){return pe.fromTimestamp(this._endDateTimestamp*1e3).toLocalJSDate()}get _placeholder(){return this.placeholder!==void 0?this.placeholder:`${this._displayFormat} ${this._effectiveDelimiter} ${this._displayFormat}`}get dateAriaDescription(){return Eh.i18nBundle.getText(F2)}async _onInputSubmit(){const e=this._getInput(),t=e.getCaretPosition();await Bi(),e.setCaretPosition(t)}onResponsivePopoverAfterClose(){this._tempValue="",super.onResponsivePopoverAfterClose()}isValid(e){const t=this._splitValueByDelimiter(e);return t.length<=2&&t.every(o=>super.isValid(o))}isInValidRange(e){return this._splitValueByDelimiter(e).every(t=>super.isInValidRange(t))}normalizeValue(e){const t=this._extractFirstTimestamp(e),o=this._extractLastTimestamp(e);return t&&o&&t>o?this._buildValue(o,t):this._buildValue(t,o)}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values;if(t.length===0)return;if(t.length===1){this._tempValue=t[0];return}const o=this._buildValue(e.detail.dates[0],e.detail.dates[1]);this._updateValueAndFireEvents(o,!0,["change","value-changed"]),this.closePicker()}async _modifyDateValue(e,t,o){if(!this._endDateTimestamp)return super._modifyDateValue(e,t,o);const r=this._getInput();let n=r.getCaretPosition(),s;if(n<=this.value.indexOf(this._effectiveDelimiter)){const _=Vl(pe.fromTimestamp(this._startDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;_>this._endDateTimestamp&&(n+=Math.ceil(this.value.length/2)),s=this._buildValue(_,this._endDateTimestamp)}else{const _=Vl(pe.fromTimestamp(this._endDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;s=this._buildValue(this._startDateTimestamp,_),_${this.icon?Q3.call(this,i,e,t):void 0}${this.hasButtonType?J3.call(this,i,e,t):void 0} `}function Q3(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:c``}function J3(i,e,t){return c`${a(this.buttonTypeText)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const eM={packageName:"@ui5/webcomponents",fileName:"themes/ToggleButton.css.ts",content:`:host(:not([hidden])){display:inline-block}:host([design="Emphasized"]:not([pressed])){text-shadow:var(--_ui5-v1-22-1-rc-0_toggle_button_emphasized_text_shadow)}:host([pressed]),:host([design="Default"][pressed]),:host([design="Transparent"][pressed]),:host([design="Emphasized"][pressed]){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor);text-shadow:none}:host([pressed]:hover),:host([pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Default"][pressed]:hover),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Transparent"][pressed]:hover),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Emphasized"][pressed]:hover),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([active][focused]),:host([design="Default"][active][focused]),:host([design="Transparent"][active][focused]),:host([design="Emphasized"][active][focused]){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Negative"][pressed]){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][active][focused]){background:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Negative"][pressed][active]:hover),:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Positive"][pressed]){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][active][focused]){background:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:hover),:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Attention"][pressed]){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][active][focused]){background:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Attention"][pressed][active]:hover),:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)} +`};var ak=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ql=class extends Fe{_onclick(){this.pressed=!this.pressed,zr()&&this.getDomRef().focus()}_onkeyup(e){if(Qa(e)){e.preventDefault();return}super._onkeyup(e)}};ak([u({type:Boolean})],ql.prototype,"pressed",void 0);ql=ak([B({tag:"ui5-toggle-button",template:Z3,styles:[Fe.styles,eM]})],ql);ql.define();const kc=ql;function tM(i,e,t){return c`
  • ${this.icon?iM.call(this,i,e,t):void 0}
  • `}function iM(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:c``}var Ns=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Dh;let qr=Dh=class extends kc{get ariaDescription(){return Dh.i18nBundle.getText($0)}};Ns([u({type:hr,defaultValue:hr.Default})],qr.prototype,"design",void 0);Ns([u({type:Boolean})],qr.prototype,"iconEnd",void 0);Ns([u({type:Boolean})],qr.prototype,"submits",void 0);Ns([u({validator:z,defaultValue:0})],qr.prototype,"posInSet",void 0);Ns([u({validator:z,defaultValue:0})],qr.prototype,"sizeOfSet",void 0);qr=Dh=Ns([B({tag:"ui5-segmented-button-item",template:tM,dependencies:[Ie]})],qr);qr.define();const oM=qr;var Ph;(function(i){i.SingleSelect="SingleSelect",i.MultiSelect="MultiSelect"})(Ph||(Ph={}));const Ru=Ph;function rM(i,e,t){return c`
      ${a(this.ariaDescribedBy)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const nM={packageName:"@ui5/webcomponents",fileName:"themes/SegmentedButton.css.ts",content:`: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;min-width:calc(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count) * 2.5rem)}.ui5-segmented-button-root{width:inherit;display:grid;grid-template-columns:repeat(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count),minmax(2.5rem,1fr));margin:0;padding:0;background-color:var(--sapButton_Background);border-radius:var(--sapButton_BorderCornerRadius);box-shadow:inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item]){border-radius:var(--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_radius);border-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_border_color);background-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_background_color);height:var(--_ui5-v1-22-1-rc-0_button_base_height);min-width:2.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:initial}::slotted([ui5-segmented-button-item]:hover){z-index:2;box-shadow:var(--_ui5-v1-22-1-rc-0_segmented_btn_hover_box_shadow);border-color:var(--sapButton_Hover_BorderColor);background-color:var(--sapButton_Hover_Background)}::slotted([ui5-segmented-button-item][pressed]),::slotted([ui5-segmented-button-item][active]){border-color:var(--sapButton_Selected_BorderColor);background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item][pressed]:hover){border-color:var(--sapButton_Selected_Hover_BorderColor);background-color:var(--sapButton_Selected_Hover_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item]:last-child){border-start-end-radius:var(--sapButton_BorderCornerRadius);border-end-end-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:first-child){border-start-start-radius:var(--sapButton_BorderCornerRadius);border-end-start-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:not(:first-child)){border-left-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left);border-right-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right)}::slotted([ui5-segmented-button-item][active]:not([active]):hover){border-color:var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item][active]:hover){border-color:var(--sapButton_Selected_BorderColor)} +`};var pd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},sl;let Ia=sl=class extends j{static async onDefine(){sl.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super(),this._itemNavigation=new _r(this,{getItemsCallback:()=>this.getSlottedNodes("items")}),this.hasPreviouslyFocusedItem=!1}onBeforeRendering(){const e=this.getSlottedNodes("items");e.forEach((t,o,r)=>{t.posInSet=o+1,t.sizeOfSet=r.length}),this.normalizeSelection(),this.style.setProperty(Qi("--_ui5_segmented_btn_items_count"),`${e.length}`)}normalizeSelection(){if(this.items.length)switch(this.mode){case Ru.SingleSelect:{const e=this.selectedItems,t=this._selectedItem?e.indexOf(this._selectedItem):-1;this._selectedItem&&e.length>1&&e.splice(t,1);const o=e.pop()||this.items[0];this._applySingleSelection(o);break}}}_selectItem(e){const t=e.target,o=t.hasAttribute("ui5-segmented-button-item");if(!(t.disabled||t===this.getDomRef()||!o)){switch(this.mode){case Ru.MultiSelect:e instanceof KeyboardEvent&&(t.pressed=!t.pressed);break;default:this._applySingleSelection(t)}return this.fireEvent("selection-change",{selectedItem:t,selectedItems:this.selectedItems}),this._itemNavigation.setCurrentItem(t),t.focus(),this}}_applySingleSelection(e){this.items.forEach(t=>{t.pressed=!1}),e.pressed=!0,this._selectedItem=e}_onclick(e){this._selectItem(e)}_onkeydown(e){de(e)?this._selectItem(e):te(e)&&e.preventDefault()}_onkeyup(e){te(e)&&this._selectItem(e)}_onmousedown(e){const t=e.target;t.hasAttribute("ui5-segmented-button-item")&&(t.focus(),this._itemNavigation.setCurrentItem(t),this.hasPreviouslyFocusedItem=!0)}_onfocusin(e){if(this.hasPreviouslyFocusedItem){this._itemNavigation.setCurrentItem(e.target);return}this.selectedItems.length&&(this.selectedItems[0].focus(),this._itemNavigation.setCurrentItem(this.selectedItems[0]),this.hasPreviouslyFocusedItem=!0)}get selectedItem(){return this._selectedItem}get selectedItems(){return this.items.filter(e=>e.pressed)}get ariaDescribedBy(){return sl.i18nBundle.getText(k0)}get ariaDescription(){return sl.i18nBundle.getText(w0)}};pd([u({defaultValue:void 0})],Ia.prototype,"accessibleName",void 0);pd([u({type:Ru,defaultValue:Ru.SingleSelect})],Ia.prototype,"mode",void 0);pd([F({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],Ia.prototype,"items",void 0);Ia=sl=pd([B({tag:"ui5-segmented-button",languageAware:!0,renderer:ee,template:rM,styles:nM,dependencies:[oM]}),$("selection-change",{detail:{selectedItem:{type:HTMLElement},selectedItems:{type:Array}}})],Ia);Ia.define();const vv=Ia,Lu=(i,e=1)=>{const t=[];for(let o=0;o{let t=[];if(i.isTwelveHoursFormat?t=Lu(e||12,1):t=Lu(e||24,1),i.minHour===1)for(let o=0;oLu(i||60,e),lM=(i,e)=>Lu(i||60,e),sk=i=>{const e={minHour:0,maxHour:0,isTwelveHoursFormat:!1};return i==="hour0_23"?(e.minHour=0,e.maxHour=23,e.isTwelveHoursFormat=!1):i==="hour1_24"?(e.minHour=1,e.maxHour=24,e.isTwelveHoursFormat=!1):i==="hour0_11"?(e.minHour=0,e.maxHour=11,e.isTwelveHoursFormat=!0):i==="hour1_12"&&(e.minHour=1,e.maxHour=12,e.isTwelveHoursFormat=!0),e},lk=(i,e)=>{const t=[!1,!1,!1,!1];for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Qn;const cM=1e3;let Li=Qn=class extends j{static async onDefine(){[Qn.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),$s(Ee().getLanguage(),Ee().getRegion(),Ee().getScript())])}get _hoursConfiguration(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return sk(t?t.type:"hour0_23")}get _zeroPaddedHours(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return!(t.digits&&t.digits===1)}get _neededComponents(){const e=this.getFormat().aFormatArray;return lk(e,this._hoursConfiguration)}get _hasHoursComponent(){return this._neededComponents[0]}get _hasMinutesComponent(){return this._neededComponents[1]}get _hasSecondsComponent(){return this._neededComponents[2]}get _hasPeriodsComponent(){return this._neededComponents[3]}get dateValue(){return this.value?this.getFormat().parse(this.value,void 0,void 0):new Date}get validDateValue(){return this.value!==void 0&&this.isValid(this.value)?this.dateValue:new Date}get periodsArray(){return this.getFormat().aDayPeriodsAbbrev.map(t=>t.toUpperCase())}get _hours(){let e;const t=this.validDateValue;return this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()>this._hoursConfiguration.maxHour?e=t.getHours()-12:this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()=this._hoursConfiguration.maxHour?this.periodsArray[1]:this.periodsArray[0]:e=t.getHours()>this._hoursConfiguration.maxHour||t.getHours()===this._hoursConfiguration.minHour?this.periodsArray[1]:this.periodsArray[0],e}get _formatPattern(){const e=this.formatPattern,t=!!e.match(/H/i),o=!e||!t,r=Lo(Ee());return o?r.getCombinedDateTimePattern("medium","medium",void 0):e}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hoursLabel(){return Qn.i18nBundle.getText(Gp)}get minutesLabel(){return Qn.i18nBundle.getText(Yp)}get secondsLabel(){return Qn.i18nBundle.getText(Kp)}get clockDialAriaLabel(){return Qn.i18nBundle.getText(W0)}setValue(e){const t=this.formatValue(e);this.isValid(t)&&(this.value=this.normalizeValue(t),this.fireEvent("change",{value:this.value,valid:!0}))}isValid(e){return e===""||this.getFormat().parse(e,void 0,void 0)}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,void 0,void 0))}getFormat(){let e;return this._isPattern?e=Ai.getDateInstance({calendarType:this._calendarType,pattern:this._formatPattern}):e=Ai.getDateInstance({calendarType:this._calendarType,style:this._formatPattern}),e}formatValue(e){return this.getFormat().format(e)}_componentKey(e){return e}_indexFromName(e){return this._componentMap[this._componentKey(e)]}_getNameFromId(e){const t=e.split("_");return t.length?t[t.length-1]:void 0}_getIndexFromId(e){const t=this._getNameFromId(e);return t?this._indexFromName(t):0}_hoursChange(e){this._hoursConfiguration.isTwelveHoursFormat&&(e=this._shiftHours(e));const t=this.validDateValue;t.setHours(e),this.setValue(t)}_minutesChange(e){const t=this.validDateValue;t.setMinutes(e),this.setValue(t)}_secondsChange(e){const t=this.validDateValue;t.setSeconds(e),this.setValue(t)}_buttonAmPm(){var e;return this._hasPeriodsComponent?(e=this.shadowRoot)==null?void 0:e.querySelector(`#${this._id}_AmPm`):void 0}_createPeriodComponent(){this._hasPeriodsComponent&&this.periodsArray.forEach(e=>{this._periods.push({label:e,pressed:this._period===e})})}_periodChange(e){const t=e.target;if(t){const o=t.textContent;this._calculatePeriodChange(o)}}_calculatePeriodChange(e){const t=this.validDateValue;e===this._periods[0].label&&t.getHours()>=12&&t.setHours(t.getHours()-12),e===this._periods[1].label&&t.getHours()<12&&t.setHours(t.getHours()+12),this.setValue(t)}_shiftHours(e){return this._period===this.periodsArray[0]?e=e===12?0:e:this._period===this.periodsArray[1]&&(e=e===12?e:e+12),e}_resetCooldown(e){this._typeCooldownId&&clearTimeout(this._typeCooldownId),e&&this._startCooldown()}_startCooldown(){this._typeCooldownId=setTimeout(()=>{this._keyboardBuffer="",this._typeCooldownId=void 0,this._exactMatch&&(this._setExactMatch(),this._exactMatch=void 0)},cM)}_setExactMatch(){}};Go([u({defaultValue:void 0})],Li.prototype,"value",void 0);Go([u()],Li.prototype,"formatPattern",void 0);Go([u({validator:z,defaultValue:0,noAttribute:!0})],Li.prototype,"_activeIndex",void 0);Go([u({type:dr})],Li.prototype,"_calendarType",void 0);Go([u({type:Object,multiple:!0})],Li.prototype,"_entities",void 0);Go([u({type:Object})],Li.prototype,"_componentMap",void 0);Go([u({type:Object,multiple:!0})],Li.prototype,"_periods",void 0);Go([u({validator:z,noAttribute:!0})],Li.prototype,"_typeCooldownId",void 0);Go([u({validator:z,noAttribute:!0})],Li.prototype,"_exactMatch",void 0);Go([u({defaultValue:"",noAttribute:!0})],Li.prototype,"_keyboardBuffer",void 0);Li=Qn=Go([B({tag:"ui5-time-picker-internals"}),$("change",{detail:{value:{type:String},valid:{type:Boolean}}})],Li);Li.define();const ll=Li;function uM(i,e,t){return c``}function dM(i,e,t,o,r){return c`
    ${o.item?_M.call(this,i,e,t,o,r):pM.call(this,i,e,t,o,r)}
    `}function _M(i,e,t,o,r){return c`${a(o.item)}${o.innerItem?hM.call(this,i,e,t,o,r):void 0}`}function hM(i,e,t,o,r){return c`${a(o.innerItem)}`}function pM(i,e,t,o,r){return c`${this.hideFractions?void 0:vM.call(this,i,e,t,o,r)}`}function vM(i,e,t,o,r){return c``}function fM(i,e,t){return c`
    ${a(this._selectedItem.item)}
    ${a(this._selectedItem.innerItem)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const mM={packageName:"@ui5/webcomponents",fileName:"themes/TimePickerClock.css.ts",content:`.ui5-tp-clock{position:relative;width:auto;padding:.5625rem;outline:none;display:none}.ui5-tp-clock-active{display:block}.ui5-tp-clock-dial{position:relative;width:auto;display:block;border-radius:100%;background-color:var(--sapLegend_WorkingBackground);text-align:center;z-index:1}.ui5-tp-clock-dial:before{content:attr(data-label);display:flex;align-items:center;justify-content:center;position:absolute;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor);inset:2.75rem;border-radius:100%;z-index:2}.ui5-tp-clock-dial:after{content:"";display:block;padding-bottom:100%}.ui5-tp-clock-inner .ui5-tp-clock-dial:before{background-color:var(--sapLegend_WorkingBackground)}.ui5-tp-clock-cover{position:absolute;inset:.5625rem;border-radius:100%;z-index:10;touch-action:none}.ui5-tp-clock-item{position:absolute;top:0;left:50%;display:inline-block;width:2.75rem;height:100%;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui5-tp-clock-item.ui5-tp-clock-marker{z-index:4}.ui5-tp-clock-dot{display:block;box-sizing:border-box;width:.25rem;height:.3125rem;margin:0 auto .25rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-mid-dot{display:block;box-sizing:border-box;width:.125rem;height:.1875rem;margin:0 auto .375rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-marker{box-sizing:border-box;width:.25rem;height:.5625rem;margin:0 auto;border-radius:100%;background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)}.ui5-tp-clock-number{box-sizing:border-box;display:inline-block;width:2.75rem;height:2.75rem;border-radius:100%;line-height:2.75rem;text-align:center;vertical-align:top;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}.ui5-tp-clock-number.ui5-tp-clock-number-hover:not(.ui5-tp-clock-selected){background-color:var(--sapList_Hover_Background)}.ui5-tp-clock-selected{color:var(--sapButton_Selected_TextColor);background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)} +`};var rt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};const gM=200,bM=100,Rm=6,u_="ui5-tp-clock-number",d_="ui5-tp-clock-number-hover",Lm="ui5-tp-clock-selected",yM="ui5-tp-clock-mid-dot";let qe=class extends j{constructor(){super(),this._fnOnMouseOutUp=()=>{this._mouseOrTouchDown=!1}}get classes(){return{clock:{"ui5-tp-clock":!0,"ui5-tp-clock-inner":this.showInnerCircle,"ui5-tp-clock-active":this.active}}}onEnterDOM(){document.addEventListener("mouseup",this._fnOnMouseOutUp,!1)}onExitDOM(){document.removeEventListener("mouseup",this._fnOnMouseOutUp,!1)}onBeforeRendering(){this._prepareClockItems();const e=this._fixReplacementValue(this.selectedValue);this._updateSelectedValueObject(e)}_fixReplacementValue(e){let t=e;const o=this.itemMax*(this.showInnerCircle?2:1);return t===0&&(t=o),t===o&&this.lastItemReplacement!==-1&&(t=this.lastItemReplacement),t}_updateSelectedValueObject(e){if(e===-1){this._selectedItem={showMarker:!1};return}const t=e>=this.itemMin&&e<=this.itemMax||!this.showInnerCircle&&e===this.lastItemReplacement,o=(e>=this.itemMin+this.itemMax&&e<=this.itemMax*2||e===this.lastItemReplacement)&&this.showInnerCircle,r=360/(this.itemMax-this.itemMin+1),n=this.lastItemReplacement===-1||!this.prependZero?e.toString():e.toString().padStart(2,"0");let s=t||o?e*r:void 0;s!==void 0&&(s%=360),this._selectedItem={angle:s,item:t?e.toString():"",innerItem:o?n:"",showMarker:t||o,itemClasses:u_+(t?` ${Lm}`:""),innerItemClasses:u_+(o?` ${Lm}`:""),outerStyles:{transform:`translate(-50%) rotate(${s||0}deg)`},innerStyles:{transform:`rotate(-${s||0}deg)`}}}_prepareClockItems(){const e=[];let t=this.displayStep,o,r,n;for(this._items=[],n=this.itemMin;n<=this.itemMax;n++)e.push({item:n.toString(),innerItem:this.showInnerCircle?(n+this.itemMax).toString():void 0});this.lastItemReplacement!==-1&&(this.showInnerCircle&&this.prependZero?e[e.length-1].innerItem=this.lastItemReplacement.toString().padStart(2,"0"):e[e.length-1].item=this.lastItemReplacement.toString());const s=360/Rm/e.length;for(this.valueStep*s>t&&(t=this.valueStep*s),n=1;n<=60;n++)r=n/s-1,o=n%t!==0?{}:e[r],o.angle=n*Rm,o.outerStyles={transform:`translate(-50%) rotate(${n*6}deg)`},o.innerStyles={transform:`rotate(-${n*6}deg)`},this._items.push(o)}_getClockCoverContainerDomRef(){const e=this.getDomRef();return e&&e.querySelector(".ui5-tp-clock-cover")}_getMaxValue(){return this.showInnerCircle?this.itemMax*2:this.itemMax}_outerHeight(e){if(!e)return 0;const t=window.getComputedStyle(e);return e.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom)}_hoveredId(e){e===this._getMaxValue()&&this.lastItemReplacement!==-1&&(e=this.lastItemReplacement);const t=this.showInnerCircle&&e===this.lastItemReplacement&&this.prependZero?e.toString().padStart(2,"0"):e.toString();return`#${this._id}-${t}`}_getStringValue(e){return this.prependZero?e.toString().padStart(2,"0"):e.toString()}_calculateDimensions(){const e=this.getDomRef(),t=window.pageXOffset||document.documentElement.scrollLeft,o=window.pageYOffset||document.documentElement.scrollTop;if(!e)return;const r=this.getDomRef(),n=r.querySelector(`.${yM}`),s=r.querySelector(`.${u_}`),l=Math.round(e.offsetHeight/2),_=this._outerHeight(n),p=this._outerHeight(s),v=e.getBoundingClientRect();this._dimensionParameters={radius:l,centerX:l,centerY:l,dotHeight:_,numberHeight:p,outerMax:l,outerMin:l-p,innerMax:l-p-1,innerMin:l-p*2-1,offsetX:v.left+t,offsetY:v.top+o}}_calculatePosition(e,t){const o=e-this._dimensionParameters.offsetX+1-this._dimensionParameters.radius,r=t-this._dimensionParameters.offsetY+1-this._dimensionParameters.radius,n=o>=0?0:180,s=Math.atan(r/o)*180/Math.PI+90+n,l=360/this.itemMax*this.valueStep,_=Math.sqrt(o*o+r*r),p=_<=this._dimensionParameters.outerMax&&_>(this.showInnerCircle?this._dimensionParameters.outerMin:this._dimensionParameters.innerMin),v=this.showInnerCircle&&_<=this._dimensionParameters.innerMax&&_>this._dimensionParameters.innerMin,f=_<=this._dimensionParameters.outerMax&&_>this._dimensionParameters.outerMin,g=v;let w=Math.round((s===0?360:s)/l)*l;w===0&&(w=360),v||p?(this._selectedValue=w/l*this.valueStep,v&&(this._selectedValue+=this.itemMax)):this._selectedValue=-1,this._hoveredValue=g||f?this._selectedValue:-1,this._selectedValue===this._getMaxValue()&&this.lastItemReplacement!==-1&&(this._selectedValue=this.lastItemReplacement)}_changeValueAnimation(e,t=!1){const o=this.itemMax*(this.showInnerCircle?2:1);let r=this._movSelectedValue,n=e,s=1,l,_,p;t?this._setSelectedValue(e):(l=Math.abs(r-n),_=o-l,rr?e-r:e;e===t&&(this._animationInProgress=!1),this._setSelectedValue(l),e!==t?(e+=o,setTimeout(()=>{this._selectNextNumber(e,t,o,r,n,s)},s)):setTimeout(()=>{this.fireEvent("change",{value:n,stringValue:this._getStringValue(n),finalChange:!0})},bM)}_modifyValue(e){let t=this.selectedValue;const o=this.lastItemReplacement,r=this.itemMin,n=this.itemMax*(this.showInnerCircle?2:1);let s=this.valueStep,l;t%s!==0&&(l=e?Math.ceil(t/s)*s:Math.floor(t/s)*s,s=Math.abs(t-l)),t===o&&(t=n),e?(t+=s,t>n&&(t-=n)):(t-=s,t1&&this._hoveredValue!==-1&&(this._hoveredValue=Math.round(this._hoveredValue/this.displayStep)*this.displayStep),!this.disabled&&this._hoveredValue!==this._prevHoveredValue&&(t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.remove(d_),this._prevHoveredValue=this._hoveredValue,t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.add(d_)))}_onTouchEnd(e){this._mouseOrTouchDown&&(this._mouseOrTouchDown=!1,e.preventDefault(),!(this.disabled||this._selectedValue===-1)&&(this._cancelTouchOut||this._changeValueAnimation(this._selectedValue)))}_onMouseWheel(e){const t=e.detail?e.detail>0:e.deltaY>0||e.deltaX>0;e.preventDefault(),this._mouseOrTouchDown||this._modifyValue(t)}_onMouseOut(){const e=this.getDomRef().querySelector(this._hoveredId(this._hoveredValue));e&&e.classList.remove(d_),this._hoveredValue=-1,this._prevHoveredValue=-1}};rt([u({type:Boolean})],qe.prototype,"disabled",void 0);rt([u({type:Boolean})],qe.prototype,"active",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"itemMin",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"itemMax",void 0);rt([u({type:Boolean})],qe.prototype,"showInnerCircle",void 0);rt([u({type:String,defaultValue:void 0})],qe.prototype,"label",void 0);rt([u({type:Boolean})],qe.prototype,"hideFractions",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"lastItemReplacement",void 0);rt([u({type:Boolean})],qe.prototype,"prependZero",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"selectedValue",void 0);rt([u({validator:z,defaultValue:5})],qe.prototype,"displayStep",void 0);rt([u({validator:z,defaultValue:1})],qe.prototype,"valueStep",void 0);rt([u({type:Object,multiple:!0})],qe.prototype,"_items",void 0);rt([u({type:Object})],qe.prototype,"_selectedItem",void 0);rt([u({type:Object})],qe.prototype,"_dimensionParameters",void 0);rt([u({type:Boolean,noAttribute:!0})],qe.prototype,"_mouseOrTouchDown",void 0);rt([u({type:Boolean,noAttribute:!0})],qe.prototype,"_cancelTouchOut",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_selectedValue",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_movSelectedValue",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_hoveredValue",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_prevHoveredValue",void 0);rt([u({type:Boolean,noAttribute:!0})],qe.prototype,"_animationInProgress",void 0);qe=rt([B({tag:"ui5-time-picker-clock",renderer:ee,styles:mM,template:uM}),$("change",{detail:{value:{type:z},stringValue:{type:String},finalChange:{type:Boolean}}})],qe);qe.define();const wM=qe;function kM(i,e,t){return c` `}function $M(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:c``}function TM(i,e,t){return c`${a(this.buttonTypeText)}`}var $c=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Cn=class extends kc{_onclick(){}};$c([u({validator:z,defaultValue:-1})],Cn.prototype,"valueMin",void 0);$c([u({validator:z,defaultValue:-1})],Cn.prototype,"valueMax",void 0);$c([u({validator:z,defaultValue:-1})],Cn.prototype,"valueNow",void 0);$c([u()],Cn.prototype,"valueText",void 0);Cn=$c([B({tag:"ui5-toggle-spin-button",renderer:ee,styles:[Fe.styles,kc.styles],template:kM})],Cn);Cn.define();const xM=Cn;function SM(i,e,t){return c`
    ${E(this._entities,(o,r)=>o._id||r,(o,r)=>IM.call(this,i,e,t,o,r))}${this._periods.length?CM.call(this,i,e,t):void 0}
    `}function IM(i,e,t,o,r){return t?c`${o.hasSeparator?Mm.call(this,i,e,t,o,r):void 0}<${d("ui5-toggle-spin-button",e,t)} id="${a(this._id)}_button_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .valueMin="${a(o.attributes.min)}" .valueMax="${a(o.attributes.max)}" .valueNow="${a(o.value)}" .valueText="${a(o.textValue)}" .accessibleName="${a(o.label)}" .pressed="${a(o.active)}" ?focused="${o.focused}" @focusin="${this._buttonFocusIn}">${a(o.stringValue)}`:c`${o.hasSeparator?Mm.call(this,i,e,t,o,r):void 0}${a(o.stringValue)}`}function Mm(i,e,t,o,r){return c`:`}function CM(i,e,t){return t?c`<${d("ui5-segmented-button",e,t)} id="${a(this._id)}_AmPm" @click=${this._periodChange} @focusin=${this._amPmFocusIn} @focusout=${this._amPmFocusOut}>${E(this._periods,(o,r)=>o._id||r,(o,r)=>Nm.call(this,i,e,t,o,r))}`:c`${E(this._periods,(o,r)=>o._id||r,(o,r)=>Nm.call(this,i,e,t,o,r))}`}function Nm(i,e,t,o,r){return t?c`<${d("ui5-segmented-button-item",e,t)} ?pressed=${o.pressed}>${a(o.label)}`:c`${a(o.label)}`}function AM(i,e,t,o,r){return t?c`<${d("ui5-time-picker-clock",e,t)} id="${a(this._id)}_clock_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .active="${a(o.active)}" .label="${a(o.label)}" .itemMin="${a(o.itemMin)}" .itemMax="${a(o.itemMax)}" .selectedValue="${a(o.value)}" .displayStep="${a(o.displayStep)}" .valueStep="${a(o.attributes.step)}" .lastItemReplacement="${a(o.lastItemReplacement)}" .showInnerCircle="${a(o.showInnerCircle)}" .prependZero="${a(o.prependZero)}" @ui5-change=${a(this._clockChange)}>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const BM={packageName:"@ui5/webcomponents",fileName:"themes/TimeSelectionClocks.css.ts",content:`.ui5-time-picker-tsc-container{margin:0 auto;box-sizing:border-box;width:100%;padding:1rem;text-align:center}.ui5-time-picker-tsc-container:focus{outline:none}.ui5-time-picker-tsc-buttons{display:flex;justify-content:center;align-items:center;padding-bottom:1rem;width:100%}.ui5-time-picker-tsc-buttons span[separator]{min-width:.5rem;padding:0 .125rem;text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-time-picker-tsc-clocks{display:block;text-align:center;width:100%;touch-action:none} +`};var vd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ca=class extends ll{onBeforeRendering(){this._createComponents()}_buttonComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_button_${o}`):void 0}_clockComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_clock_${o}`):void 0}_clocksFocusIn(e){const t=e.target;this._focused=!0,t.id===this._id&&this._switchClock(this._activeIndex)}_clocksFocusOut(){this._focused=!1}_buttonFocusIn(e){const t=e.target,o=this._getNameFromId(t.id);o&&this._switchTo(o)}_amPmFocusIn(){this._amPmFocused=!0}_amPmFocusOut(){this._amPmFocused=!1}_onkeyup(e){te(e)&&(this._spacePressed=!1)}_onkeydown(e){let t;const o=e.target&&e.target.tagName.toLowerCase().indexOf("segmented")===-1;if(de(e))this.fireEvent("close-picker");else if(te(e)&&o&&!this._spacePressed)e.preventDefault(),this._spacePressed=!0,this._keyboardBuffer="",this._resetCooldown(!0),this._switchNextClock(!0);else if((Le(e)||De(e))&&!gu(e)&&!Tp(e))t=this._clockComponent(this._activeIndex),t&&!t.disabled&&!this._amPmFocused&&t._modifyValue(Le(e)),e.preventDefault();else if(pi(e)||Ci(e))t=this._clockComponent("hours"),t&&!t.disabled&&(this._switchTo("hours"),t._modifyValue(pi(e))),e.preventDefault();else if(ns(e)||lc(e))t=this._clockComponent("minutes"),t&&!t.disabled&&(this._switchTo("minutes"),t._modifyValue(ns(e))),e.preventDefault();else if(El(e)||Gu(e))t=this._clockComponent("seconds"),t&&!t.disabled&&(this._switchTo("seconds"),t._modifyValue(El(e))),e.preventDefault();else if(Nd(e)||nf(e)){const r=this._buttonAmPm();if(r){r.items[0].pressed=Nd(e),r.items[1].pressed=nf(e);const n=Nd(e)?r.items[0].textContent:r.items[1].textContent;n&&this._calculatePeriodChange(n)}e.preventDefault()}else Cx(e)?(this._keyboardBuffer="",this._exactMatch=void 0,this._resetCooldown(!0),this._switchNextClock(!0)):W1(e)&&this._entities[this._activeIndex]&&(this._exactMatch=void 0,this._resetCooldown(!0),this._numbersInput(e))}_numbersInput(e){const t=e.key,o=this._keyboardBuffer+t,r=parseInt(o),n=this._entities[this._activeIndex];let s=this._clockComponent(this._activeIndex);!n||!n.attributes||(r>n.attributes.max?(s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),this._switchNextClock(),this._keyboardBuffer=t,s=this._clockComponent(this._activeIndex),s&&s._setSelectedValue(parseInt(t)),this._resetCooldown(!0)):(this._keyboardBuffer=o,s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),(this._keyboardBuffer.length===2||parseInt(`${this._keyboardBuffer}0`)>n.attributes.max)&&(this._resetCooldown(this._keyboardBuffer.length!==2),this._keyboardBuffer="",this._switchNextClock())))}_focusFirstButton(){this._activeIndex=0,this._buttonComponent(0).focus()}_setExactMatch(){const e=this._clockComponent(this._activeIndex);e&&this._exactMatch!==void 0&&e._setSelectedValue(this._exactMatch)}_createComponents(){const e={hours:parseInt(this._hours),minutes:parseInt(this._minutes),seconds:parseInt(this._seconds)};this._entities=[],this._periods=[],this._componentMap={hours:-1,minutes:-1,seconds:-1},this._hasHoursComponent&&(this._componentMap.hours=this._entities.length,this._entities.push({label:this.hoursLabel,entity:"hours",itemMin:1,itemMax:12,value:e.hours,stringValue:this._hours,textValue:`${e.hours} ${this.hoursLabel}`,displayStep:1,lastItemReplacement:this._hoursConfiguration.isTwelveHoursFormat?-1:0,showInnerCircle:!this._hoursConfiguration.isTwelveHoursFormat,prependZero:this._zeroPaddedHours,hasSeparator:this._entities.length>0,active:!1,attributes:{min:this._hoursConfiguration.minHour,max:this._hoursConfiguration.maxHour,step:1}})),this._hasMinutesComponent&&(this._componentMap.minutes=this._entities.length,this._entities.push({label:this.minutesLabel,entity:"minutes",itemMin:1,itemMax:60,value:e.minutes,stringValue:this._minutes,textValue:`${e.minutes} ${this.minutesLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._hasSecondsComponent&&(this._componentMap.seconds=this._entities.length,this._entities.push({label:this.secondsLabel,entity:"seconds",itemMin:1,itemMax:60,value:e.seconds,stringValue:this._seconds,textValue:`${e.seconds} ${this.secondsLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._entities[this._activeIndex].active=!0,this._entities[this._activeIndex].focused=this._focused&&!this._amPmFocused,this._createPeriodComponent()}_switchTo(e){const t=this._componentKey(e);this._componentMap[t]!==void 0&&this._switchClock(this._componentMap[t])}_switchClock(e){const t=this._buttonComponent(e);this._entities.length&&e=this._entities.length&&(t=e?0:this._entities.length-1);while(r&&r.disabled&&t!==o&&(e||t${this.showHeader?Fm.call(this,i,e,t):void 0}
    <${d("ui5-calendar",e,t)} class="ui5-dt-cal ${T(this.classes.dateTimeView)}" id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}">${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>zm.call(this,i,e,t,o,r))}${this.phone?void 0:Vm.call(this,i,e,t)}${this.showTimeView?Hm.call(this,i,e,t):void 0}
    ${this.showFooter?Um.call(this,i,e,t):void 0} `:c`${this.showHeader?Fm.call(this,i,e,t):void 0}
    ${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>zm.call(this,i,e,t,o,r))}${this.phone?void 0:Vm.call(this,i,e,t)}${this.showTimeView?Hm.call(this,i,e,t):void 0}
    ${this.showFooter?Um.call(this,i,e,t):void 0}
    `}function Fm(i,e,t){return c`${this.phone?DM.call(this,i,e,t):void 0}`}function DM(i,e,t){return t?c`
    <${d("ui5-segmented-button",e,t)} class="ui5-dt-picker-toggle-button"><${d("ui5-toggle-button",e,t)} key="Date" ?pressed="${this.showDateView}" @click="${this._dateTimeSwitchChange}">${a(this.btnDateLabel)}<${d("ui5-toggle-button",e,t)} key="Time" ?pressed="${this.showTimeView}" @click="${this._dateTimeSwitchChange}">${a(this.btnTimeLabel)}
    `:c`
    ${a(this.btnDateLabel)}${a(this.btnTimeLabel)}
    `}function zm(i,e,t,o,r){return t?c`<${d("ui5-date",e,t)} value="${a(o)}">`:c``}function Vm(i,e,t){return c``}function Hm(i,e,t){return t?c`<${d("ui5-time-selection-clocks",e,t)} id="${a(this._id)}-time-sel" class="ui5-dt-time ${T(this.classes.dateTimeView)}" format-pattern="${a(this._formatPattern)}" value="${a(this._timeSelectionValue)}" @ui5-change="${a(this.onTimeSelectionChange)}" ._calendarType="${a(this._primaryCalendarType)}">`:c``}function Um(i,e,t){return t?c``:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const PM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePicker.css.ts",content:`:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{min-width:inherit;color:inherit;background-color:inherit} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const OM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePickerPopover.css.ts",content:`.ui5-dt-picker-content{display:flex;flex-direction:row;height:var(--_ui5-v1-22-1-rc-0_datetime_picker_height);min-width:var(--_ui5-v1-22-1-rc-0_datetime_picker_width);box-sizing:border-box;justify-content:center}.ui5-dt-picker-toggle-button{width:8rem}.ui5-dt-cal{width:auto;box-sizing:border-box}.ui5-dt-time{width:100%;min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_width);box-sizing:border-box}.ui5-dt-cal.ui5-dt-cal--hidden,.ui5-dt-time.ui5-dt-time--hidden{display:none}.ui5-dt-picker-header{display:flex;justify-content:center;width:100%;margin-top:1rem;box-sizing:border-box}.ui5-dt-picker-separator{height:calc(100% - 2rem);width:0px;margin-top:1rem;margin-bottom:1rem;border-left:1px solid var(--sapGroup_ContentBorderColor);box-sizing:border-box}.ui5-dt-picker-footer{display:flex;justify-content:flex-end;align-items:center;height:2.75rem;width:100%}.ui5-dt-picker-footer.ui5-dt-picker-footer-time-hidden{padding:0}.ui5-dt-picker-action{margin:.25rem}#ok.ui5-dt-picker-action{width:4rem}.ui5-dt-picker-content--phone.ui5-dt-picker-content{min-width:20rem;height:calc(100% - 4rem)}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-time-selection-clocks]{height:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width);width:auto}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-calendar]{margin-bottom:var(--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom)}.ui5-dt-picker-content--phone .ui5-dt-cal{width:100%}.ui5-dt-picker-content--phone .ui5-dt-time{min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width)} +`};var fd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Jn;const RM=640;let va=Jn=class extends Ul{constructor(){super(),this._handleResizeBound=this._handleResize.bind(this)}onResponsivePopoverAfterClose(){super.onResponsivePopoverAfterClose(),this._showTimeView=!1,this._previewValues={}}onEnterDOM(){Pe.register(document.body,this._handleResizeBound)}onExitDOM(){Pe.deregister(document.body,this._handleResizeBound)}async openPicker(){await super.openPicker(),this._previewValues={...this._previewValues,timeSelectionValue:this.value||this.getFormat().format(new Date)}}get classes(){return{picker:{"ui5-dt-picker-content--phone":this.phone},dateTimeView:{"ui5-dt-cal--hidden":this.phone&&this.showTimeView,"ui5-dt-time--hidden":this.phone&&this.showDateView},footer:{"ui5-dt-picker-footer-time-hidden":this.phone&&this.showTimeView||this.phone&&this.showDateView}}}get _formatPattern(){const e=!!this.formatPattern.match(/H/i),t=!this.formatPattern||!e,o=Lo(Ee());return t?o.getCombinedDateTimePattern("medium","medium",this._primaryCalendarType):this.formatPattern}get _calendarTimestamp(){return this._previewValues.calendarTimestamp?this._previewValues.calendarTimestamp:super._calendarTimestamp}get _calendarSelectedDates(){return this._previewValues.calendarValue?[this._previewValues.calendarValue]:super._calendarSelectedDates}get _timeSelectionValue(){return this._previewValues.timeSelectionValue?this._previewValues.timeSelectionValue:this.value}get openIconName(){return"date-time"}get btnOKLabel(){return Jn.i18nBundle.getText(Xp)}get btnCancelLabel(){return Jn.i18nBundle.getText(Zp)}get btnDateLabel(){return Jn.i18nBundle.getText(Y0)}get btnTimeLabel(){return Jn.i18nBundle.getText(K0)}get showFooter(){return!0}get showDateView(){return this.phone?!this._showTimeView:!0}get showTimeView(){return this.phone?this._showTimeView:!0}get phone(){return super.phone||this._phoneMode}get dateAriaDescription(){return Jn.i18nBundle.getText(N2)}get _shouldHideHeader(){return!0}onSelectedDatesChange(e){e.preventDefault();const t=e.path?e.path[1]:e.composedPath()[1];this._previewValues={...this._previewValues,calendarTimestamp:e.detail.timestamp,calendarValue:e.detail.values[0],timeSelectionValue:t.lastChild.value}}onTimeSelectionChange(e){this._previewValues={...this._previewValues,timeSelectionValue:e.detail.value}}_handleResize(){const t=document.body.offsetWidth<=RM;(t&&!this._phoneMode||!t&&this._phoneMode)&&(this._phoneMode=t)}get _submitDisabled(){return!this._calendarSelectedDates||!this._calendarSelectedDates.length}_submitClick(){const e=this.getSelectedDateTime(),t=this.getFormat().format(e);this.value!==t&&this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}_cancelClick(){this.closePicker()}_dateTimeSwitchChange(e){const t=e.target;this._showTimeView=t.getAttribute("key")==="Time"}_modifyDateValue(e,t,o){if(!this.dateValue)return;const n=Vl(pe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate).toLocalJSDate();n.setHours(this.dateValue.getHours()),n.setMinutes(this.dateValue.getMinutes()),n.setSeconds(this.dateValue.getSeconds());const s=this.formatValue(n);this._updateValueAndFireEvents(s,!0,["change","value-changed"])}async getPicker(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}getSelectedDateTime(){const e=this.getFormat().parse(this._calendarSelectedDates[0]),t=this.getFormat().parse(this._timeSelectionValue);return t&&(e.setHours(t.getHours()),e.setMinutes(t.getMinutes()),e.setSeconds(t.getSeconds())),e}get _calendarPickersMode(){return ho.DAY_MONTH_YEAR}};fd([u({type:Boolean,noAttribute:!0})],va.prototype,"_showTimeView",void 0);fd([u({type:Boolean})],va.prototype,"_phoneMode",void 0);fd([u({type:Object})],va.prototype,"_previewValues",void 0);va=Jn=fd([B({tag:"ui5-datetime-picker",staticAreaTemplate:EM,styles:[va.styles,PM],staticAreaStyles:[Ul.staticAreaStyles,OM],dependencies:[...Ul.dependencies,ok,Fe,kc,vv,ck]})],va);va.define();function LM(i,e,t){return c`
    ${this.hideInput?void 0:MM.call(this,i,e,t)}
    ${this._keepInputInShadowDOM?NM.call(this,i,e,t):FM.call(this,i,e,t)}
    `}function MM(i,e,t){return t?c`<${d("ui5-input",e,t)} value="${a(this.value)}" value-state="${a(this.valueState)}" placeholder="${a(this.placeholder)}" ?disabled="${this.disabled}" tabindex="-1" class="ui5-file-uploader-input">`:c``}function NM(i,e,t){return c``}function FM(i,e,t){return c``}function zM(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    ${this._valueStateMessageInputIcon?Wm.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?qm.call(this,i,e,t):jm.call(this,i,e,t)}
    `:c`
    ${this._valueStateMessageInputIcon?Wm.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?qm.call(this,i,e,t):jm.call(this,i,e,t)}
    `}function Wm(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">`:c``}function qm(i,e,t){return c`${a(this.valueStateText)}`}function jm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>VM.call(this,i,e,t,o,r))}`}function VM(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const HM={packageName:"@ui5/webcomponents",fileName:"themes/FileUploader.css.ts",content:`:host{vertical-align:middle}:host{display:inline-block}.ui5-file-uploader-root{position:relative}.ui5-file-uploader-root input[type=file]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.ui5-file-uploader-root input[type=file]:not([disabled]){cursor:pointer}.ui5-file-uploader-mask{display:flex;align-items:center}.ui5-file-uploader-mask [ui5-input]{margin-right:.25rem}:host([value-state="None"]:not([disabled]):hover) [ui5-input],:host(:not([value-state]):not([disabled]):hover) [ui5-input]{border:var(--_ui5-v1-22-1-rc-0_file_uploader_hover_border);background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Error"]:not([disabled]):hover) [ui5-input]{background-color:var(--_ui5-v1-22-1-rc-0_file_uploader_value_state_error_hover_background_color);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Warning"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}:host(:not([disabled]):active) [ui5-button]{background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor);text-shadow:none} +`};var lo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ir;let bi=ir=class extends j{static get formAssociated(){return!0}constructor(){super(),this._internals=this.attachInternals&&this.attachInternals()}_onmouseover(){this.content.forEach(e=>{e.classList.add("ui5_hovered")})}_onmouseout(){this.content.forEach(e=>{e.classList.remove("ui5_hovered")})}_onclick(e){pa(e)==="button"&&this._input.click()}_onkeydown(e){de(e)&&(this._input.click(),e.preventDefault())}_onkeyup(e){te(e)&&(this._input.click(),e.preventDefault())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get files(){return this._input?this._input.files:ir._emptyFilesList}onBeforeRendering(){this._enableFormSupport()}onAfterRendering(){this.value||(this._input.value=""),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover)}_enableFormSupport(){const e=Se("FormSupport");e?this._canUseNativeFormSupport?this._setFormValue():e.syncNativeFileInput(this,(t,o)=>{o.disabled=!!t.disabled},this._onChange.bind(this)):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onChange(e){const t=e.target.files;this._updateValue(t),this.fireEvent("change",{files:t})}_updateValue(e){this.value=Array.from(e||[]).reduce((t,o)=>`${t}"${o.name}" `,"")}_setFormValue(){const e=new FormData;if(this.files)for(let t=0;te.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this.hideInput}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}get styles(){return{popoverHeader:{width:`${this.ui5Input?this.ui5Input.offsetWidth:0}px`}}}get ui5Input(){return this.shadowRoot.querySelector(".ui5-file-uploader-input")}static async onDefine(){ir.i18nBundle=await oe("@ui5/webcomponents")}};lo([u()],bi.prototype,"accept",void 0);lo([u({type:Boolean})],bi.prototype,"hideInput",void 0);lo([u({type:Boolean})],bi.prototype,"disabled",void 0);lo([u({type:Boolean})],bi.prototype,"multiple",void 0);lo([u()],bi.prototype,"name",void 0);lo([u()],bi.prototype,"placeholder",void 0);lo([u()],bi.prototype,"value",void 0);lo([u({type:y,defaultValue:y.None})],bi.prototype,"valueState",void 0);lo([u({type:Boolean})],bi.prototype,"focused",void 0);lo([F({type:HTMLElement,default:!0})],bi.prototype,"content",void 0);lo([F()],bi.prototype,"valueStateMessage",void 0);lo([F()],bi.prototype,"formSupport",void 0);bi=ir=lo([B({tag:"ui5-file-uploader",languageAware:!0,renderer:ee,styles:HM,template:LM,staticAreaTemplate:zM,staticAreaStyles:[Wo,On],dependencies:[vr,fo,Ie]}),$("change",{detail:{files:{type:FileList}}})],bi);bi.define();function UM(i,e,t){return t?c`
    ${a(this._tokensCountText)}<${d("ui5-tokenizer",e,t)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} .valueState=${a(this.valueState)} ?expanded="${this.expandedTokenizer}" show-more @keydown="${this._onTokenizerKeydown}" @ui5-show-more-items-press=${a(this.showMorePress)} @ui5-token-delete=${a(this.tokenDelete)} @focusout="${this._tokenizerFocusOut}">
    ${this.shouldDisplayDefaultValueStateMessage?Gm.call(this,i,e,t):Ym.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?Km.call(this,i,e,t):void 0}${this.icon.length?Xm.call(this,i,e,t):void 0}
    ${wn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?Zm.call(this,i,e,t):void 0}${this.showSuggestions?Qm.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?Jm.call(this,i,e,t):void 0}${this.hasValueState?eg.call(this,i,e,t):void 0}
    `:c`
    ${a(this._tokensCountText)}
    ${this.shouldDisplayDefaultValueStateMessage?Gm.call(this,i,e,t):Ym.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?Km.call(this,i,e,t):void 0}${this.icon.length?Xm.call(this,i,e,t):void 0}
    ${wn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?Zm.call(this,i,e,t):void 0}${this.showSuggestions?Qm.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?Jm.call(this,i,e,t):void 0}${this.hasValueState?eg.call(this,i,e,t):void 0}
    `}function Gm(i,e,t){return c`${a(this.valueStateText)}`}function Ym(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>WM.call(this,i,e,t,o,r))}`}function WM(i,e,t,o,r){return c`${a(o)}`}function Km(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function Xm(i,e,t){return c`
    `}function Zm(i,e,t){return t?c`<${d("ui5-icon",e,t)} @click=${this.valueHelpPress} @mousedown=${this.valueHelpMouseDown} @mouseup=${this.valueHelpMouseUp} input-icon name="value-help">`:c``}function Qm(i,e,t){return c`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function Jm(i,e,t){return c`${a(this.accInfo.input.ariaDescription)}`}function eg(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const qM={packageName:"@ui5/webcomponents",fileName:"themes/MultiInput.css.ts",content:`[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}.ui5-multi-input-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-input-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-input-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-input-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} +`},jM="sys-cancel",uk="M512 256q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256t20.5-100 55-81.5T157 20t99-20q53 0 100 20t81.5 54.5T492 156t20 100zm-32 0q0-47-17.5-87.5t-48-71-71.5-48T256 32t-87 18-71.5 48.5-48 71T32 256q0 47 17.5 88t48 71 71.5 47.5 87 17.5q47 0 88-17.5t71-47.5 47.5-71 17.5-88zm-186-7q-5 3-1 9l89 89q9 8 0 17l-16 17q-8 4-9 4t-9-4l-89-89q-1-2-4-2-4 0-5 2l-88 89q-6 4-9 4-1 0-9-4l-16-17q-8-9 0-17l88-89q5-5 0-9l-88-89q-8-9 0-17l16-17q4-4 9-4t9 4l88 89q2 2 5 2 2 0 4-2l89-89q4-4 9-4t9 4l16 17q9 8 0 17z",GM=!1,YM="SAP-icons-v4",KM="@ui5/webcomponents-icons";Y(jM,{pathData:uk,ltr:GM,collection:YM,packageName:KM});const XM="sys-cancel",dk="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 461q42 0 79.5-16t65.5-44 44-65.5 16-79.5-16-79.5-44-65.5-65.5-44T256 51t-79.5 16-65.5 44-44 65.5T51 256t16 79.5 44 65.5 65.5 44 79.5 16zm70-301q11 0 18.5 7.5T352 186t-7 18l-53 52 53 52q7 7 7 18t-7.5 18.5T326 352q-10 0-18-8l-52-52-52 52q-8 8-18 8-11 0-18.5-7.5T160 326q0-10 8-18l52-52-52-52q-8-8-8-18 0-11 7.5-18.5T186 160t18 7l52 53 52-53q7-7 18-7z",ZM=!1,QM="SAP-icons-v5",JM="@ui5/webcomponents-icons";Y(XM,{pathData:dk,ltr:ZM,collection:QM,packageName:JM});we();function eN(i,e,t){return c`
    ${a(this.text)}${this.readonly?void 0:tN.call(this,i,e,t)}
    `}function tN(i,e,t){return c`
    ${this.closeIcon.length?iN.call(this,i,e,t):oN.call(this,i,e,t)}
    `}function iN(i,e,t){return c``}function oN(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.iconURI)}" accessible-name="${a(this.tokenDeletableText)}" show-tooltip @click="${this._delete}">`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const rN={packageName:"@ui5/webcomponents",fileName:"themes/Token.css.ts",content:`:host{display:inline-block;background:var(--_ui5-v1-22-1-rc-0_token_background);border:var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_border_radius);color:var(--_ui5-v1-22-1-rc-0_token_text_color);height:var(--_ui5-v1-22-1-rc-0_token_height);box-sizing:border-box}:host(:not([single-token])){margin-inline-end:var(--_ui5-v1-22-1-rc-0_token_right_margin)}:host([overflows]){display:none}:host(:not([readonly]):hover){background:var(--sapButton_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_hover_border_color)}:host([selected]:not([readonly])){color:var(--sapButton_Selected_TextColor)}:host([selected]:not([readonly])){background:var(--sapButton_Selected_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_Selected_BorderColor)}:host([selected]:not([readonly])) .ui5-token--wrapper{border-bottom:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius)}:host([selected]:not([readonly]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_selected_hover_border_color)}:host([readonly]){background:var(--_ui5-v1-22-1-rc-0_token_readonly_background);border-color:var(--sapField_ReadOnly_BorderColor);color:var(--_ui5-v1-22-1-rc-0_token_readonly_color)}:host([readonly]) .ui5-token--wrapper{padding:var(--_ui5-v1-22-1-rc-0_token_readonly_padding)}:host([selected]) .ui5-token--wrapper:focus{outline:var(--_ui5-v1-22-1-rc-0_token_selected_focus_outline)}:host([selected]:not([readonly])) .ui5-token--text,:host([selected]:not([readonly])) .ui5-token--icon{top:var(--_ui5-v1-22-1-rc-0_token_text_icon_top);position:relative}:host([focused][selected]:not([readonly]):not(:hover)){background:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor);border:var(--_ui5-v1-22-1-rc-0_token_focused_selected_border)}.ui5-token--wrapper{display:flex;align-items:center;height:100%;width:100%;cursor:default;padding-inline-start:var(--_ui5-v1-22-1-rc-0_token_left_padding);box-sizing:border-box;font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);user-select:none}.ui5-token--wrapper{position:relative}:host([selected]) .ui5-token--wrapper{font-family:var(--_ui5-v1-22-1-rc-0_token_selected_text_font_family)}.ui5-token--wrapper:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_token_outline_offset);outline:var(--_ui5-v1-22-1-rc-0_token_focus_outline)}.ui5-token--wrapper:focus:after{content:var(--ui5-v1-22-1-rc-0_token_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_focus_outline_border_radius);top:var(--_ui5-v1-22-1-rc-0_token_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_token_focus_offset);left:var(--_ui5-v1-22-1-rc-0_token_focus_offset);right:var(--_ui5-v1-22-1-rc-0_token_focus_offset)}:host([focused][selected]:not([readonly])) .ui5-token--wrapper:focus:after{bottom:var(--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom)}.ui5-token--text{white-space:nowrap}.ui5-token--icon{display:flex}:host([selected]) .ui5-token--icon>[ui5-icon],:host([selected]) ::slotted([ui5-icon]){color:var(--sapButton_Selected_TextColor)}.ui5-token--icon>[ui5-icon],::slotted([ui5-icon]){color:inherit;cursor:pointer;width:var(--_ui5-v1-22-1-rc-0_token_icon_size);height:var(--_ui5-v1-22-1-rc-0_token_icon_size);padding:var(--_ui5-v1-22-1-rc-0_token_icon_padding);color:var(--sapContent_IconColor)}:host([single-token]){max-width:100%}:host([single-token]) .ui5-token--wrapper{max-width:100%}:host([single-token]) .ui5-token--text{overflow:hidden;text-overflow:ellipsis;max-width:100%} +`};var Sr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},lu;let to=lu=class extends j{_handleSelect(){this.toBeDeleted||(this.selected=!this.selected,this.fireEvent("select"))}_focusin(){this.focused=!0}_focusout(){this.focused=!this.focused}_delete(){this.toBeDeleted=!0,this.fireEvent("delete")}_keydown(e){const t=sc(e),o=rs(e);!this.readonly&&(t||o)&&(e.preventDefault(),this.fireEvent("delete",{backSpace:t,delete:o})),(te(e)||$p(e))&&(e.preventDefault(),this._handleSelect())}onBeforeRendering(){this.toBeDeleted=!1}get tokenDeletableText(){return lu.i18nBundle.getText(X0)}get iconURI(){return Pa().includes("sap_belize")?"sys-cancel":"decline"}get textDom(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-token--text")}get isTruncatable(){return this.textDom?Math.ceil(this.textDom.getBoundingClientRect().width)${a(this.tokenizerLabel)}
    ${E(this.tokens,(o,r)=>o._id||r,(o,r)=>aN.call(this,i,e,t,o,r))}
    ${this.showNMore?sN.call(this,i,e,t):void 0}`}function aN(i,e,t,o,r){return c``}function sN(i,e,t){return c`${a(this._nMoreText)}`}function lN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} tokenizer-popover="true" style=${S(this.styles.popover)} class=${T(this.classes.popover)} ?content-only-on-desktop="${this.noValueStatePopover}" hide-arrow placement-type="Bottom" horizontal-align="Left" @before-close=${this.handleBeforeClose} @before-open="${this.handleBeforeOpen}">${this._isPhone?void 0:tg.call(this,i,e,t)}${this._isPhone?og.call(this,i,e,t):void 0}<${d("ui5-list",e,t)} class="ui5-tokenizer-list" mode="Delete" @ui5-item-delete=${a(this.itemDelete)}>${E(this._tokens,(o,r)=>o._id||r,(o,r)=>ag.call(this,i,e,t,o,r))}${this._isPhone?sg.call(this,i,e,t):void 0}`:c`${this._isPhone?void 0:tg.call(this,i,e,t)}${this._isPhone?og.call(this,i,e,t):void 0}${E(this._tokens,(o,r)=>o._id||r,(o,r)=>ag.call(this,i,e,t,o,r))}${this._isPhone?sg.call(this,i,e,t):void 0}`}function tg(i,e,t){return c`
    ${this.noValueStatePopover?void 0:cN.call(this,i,e,t)}
    `}function cN(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}
    `:c`
    ${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}
    `}function ig(i,e,t,o,r){return c`${a(o)}`}function og(i,e,t){return t?c`
    <${d("ui5-title",e,t)} level="H5" class="ui5-responsive-popover-header-text">${a(this.morePopoverTitle)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closeMorePopover}">
    ${this.noValueStatePopover?void 0:rg.call(this,i,e,t)}`:c`
    ${a(this.morePopoverTitle)}
    ${this.noValueStatePopover?void 0:rg.call(this,i,e,t)}`}function rg(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ng.call(this,i,e,t,o,r))}
    `:c`
    ${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ng.call(this,i,e,t,o,r))}
    `}function ng(i,e,t,o,r){return c`${a(o)}`}function ag(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .tokenRef=${a(o)} wrapping-type="Normal">${a(o.text)}`:c`${a(o.text)}`}function sg(i,e,t){return t?c``:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const uN={packageName:"@ui5/webcomponents",fileName:"themes/Tokenizer.css.ts",content:`.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:1px solid black;height:2.25rem}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;overflow-x:scroll;box-sizing:border-box;font-family:"72override",var(--sapFontFamily)}.ui5-tokenizer-no-padding{padding:0}.ui5-tokenizer-root.ui5-tokenizer-nmore--wrapper{overflow:hidden}.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-v1-22-1-rc-0_tokenizer_padding);height:100%;box-sizing:border-box}: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:.25rem;cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5-v1-22-1-rc-0_tokenizer_n_more_text_color)} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const dN={packageName:"@ui5/webcomponents",fileName:"themes/TokenizerPopover.css.ts",content:`[ui5-responsive-popover]::part(header),[ui5-responsive-popover]::part(content){padding:0}#ui5-tokenizer-dialog-confirm-btn{height:100%;min-width:4rem}[ui5-responsive-popover]{margin-top:var(--_ui5-v1-22-1-rc-0_tokenizer-popover_offset);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_tokenizer_padding))} +`};var xo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},or,hs;(function(i){i.cut="cut",i.copy="copy"})(hs||(hs={}));let yi=or=class extends j{_handleResize(){this._nMoreCount=this.overflownTokens.length}constructor(){super(),this._resizeHandler=this._handleResize.bind(this),this._itemNav=new _r(this,{currentIndex:-1,getItemsCallback:this._getVisibleTokens.bind(this)}),this._scrollEnablement=new sv(this)}onBeforeRendering(){this._tokensCount=this._getTokens().length,this._tokens.forEach(e=>{e.singleToken=this._tokens.length===1}),this._tokens.length||this.closeMorePopover()}onEnterDOM(){Pe.register(this.contentDom,this._resizeHandler)}onExitDOM(){Pe.deregister(this.contentDom,this._resizeHandler)}async _openMorePopoverAndFireEvent(){this.preventPopoverOpen||await this.openMorePopover(),this.fireEvent("show-more-items-press")}async openMorePopover(){(await this.getPopover()).showAt(this.morePopoverOpener||this)}_getTokens(){return this.getSlottedNodes("tokens")}get _tokens(){return this.getSlottedNodes("tokens")}_onmousedown(e){if(e.target.hasAttribute("ui5-token")){const t=e.target;t.toBeDeleted||this._itemNav.setCurrentItem(t)}}onTokenSelect(){const e=this._getTokens();e.length===1&&e[0].isTruncatable&&(e[0].selected?this.openMorePopover():this.closeMorePopover())}_getVisibleTokens(){return this.disabled?[]:this._tokens.filter((e,t)=>tthis.deleteToken(o,e.detail.backSpace)):this.deleteToken(t,e.detail.backSpace)}_tokenClickDelete(e,t){const o=this._getVisibleTokens(),r=e.target,n=t?o.indexOf(t):o.indexOf(r),s=n===o.length-1?n-1:n+1,l=o[s];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:t||r})}_handleCurrentItemAfterDeletion(e){e&&!G()&&(this._itemNav.setCurrentItem(e),setTimeout(()=>{e.focus()},0))}deleteToken(e,t){const o=this._getVisibleTokens(),r=o.indexOf(e);let n=r===o.length-1?r-1:r+1;const s=o.filter(_=>!_.selected);t?n=r===0?r+1:r-1:n=r===o.length-1?r-1:r+1;let l=o[n];if(s.length>1)for(;l&&l.selected;)l=t?o[--n]:o[++n];else l=s[0];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:e})}async itemDelete(e){const t=e.detail.item.tokenRef;if(this._getTokens().length===1&&this._getTokens()[0].isTruncatable){const o=await this.getPopover();o.addEventListener("ui5-after-close",()=>{this.fireEvent("token-delete",{ref:t})},{once:!0}),o.close()}else this.fireEvent("token-delete",{ref:t})}handleBeforeClose(){G()&&this._getTokens().forEach(e=>{e.selected=!1})}handleBeforeOpen(){this.fireEvent("before-more-popover-open")}_onkeydown(e){if(Qa(e)&&e.preventDefault(),te(e)||$p(e))return e.preventDefault(),this._handleTokenSelection(e,!1);w_(e)&&this._handleHomeShift(e),k_(e)&&this._handleEndShift(e),this._handleItemNavigation(e,this._tokens)}_handleItemNavigation(e,t){const o=!!(e.metaKey||e.ctrlKey),r=e.target;if(Ja(e)||_a(e)||Mr(e)||Lr(e))return this._handleArrowCtrl(e,r,t,_a(e)||Mr(e));if(y_(e)||bu(e)||cr(e)||Ro(e)||bx(e)||Jv(e))return e.preventDefault(),this._handleArrowShift(r,t,bu(e)||Jv(e)||Ro(e));if(St(e)||si(e)||Ts(e)||ma(e))return e.preventDefault(),this._handleHome(t,si(e)||ma(e));if(o&&e.key.toLowerCase()==="a")return e.preventDefault(),this._toggleTokenSelection(t);if(ft(e)||it(e)||Le(e)||De(e)){const n=this._calcNextTokenIndex(this._tokens.find(s=>s.focused),t,it(e)||De(e));this._scrollToToken(t[n])}}_handleHome(e,t){if(!e||!e.length)return-1;const o=t?e.length-1:0;e[o].focus(),this._itemNav.setCurrentItem(e[o])}_handleHomeShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s<=r).forEach(n=>{n.selected=!0}),t[0].focus(),this._itemNav.setCurrentItem(t[0])}_handleEndShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s>=r).forEach(n=>{n.selected=!0}),t[t.length-1].focus(),this._itemNav.setCurrentItem(t[t.length-1])}_calcNextTokenIndex(e,t,o){if(!t.length)return-1;const r=t.indexOf(e);let n=o?r+1:r-1;return n>=t.length&&(n=t.length-1),n<0&&(n=0),n}_handleArrowCtrl(e,t,o,r){const n=this._calcNextTokenIndex(t,o,r);e.preventDefault(),n!==-1&&(setTimeout(()=>{o[n].focus()},0),this._scrollToToken(o[n]),this._itemNav.setCurrentItem(o[n]))}_handleArrowShift(e,t,o){const r=t.indexOf(e),n=o?r+1:r-1;n===-1||n===t.length||(e.selected=!0,t[n].selected=!0,setTimeout(()=>{t[n].focus()},0),this._scrollToToken(t[n]),this._itemNav.setCurrentItem(t[n]))}_click(e){this._handleTokenSelection(e)}_toggleTokenSelection(e){if(!e||!e.length)return;const t=e.every(o=>o.selected);e.forEach(o=>{o.selected=!t})}_handleTokenSelection(e,t=!0){const o=e.target;o.hasAttribute("ui5-token")&&(t?this._tokens:[]).forEach(n=>{n!==o&&(n.selected=!1)})}_fillClipboard(e,t){const o=t.filter(n=>n.selected).map(n=>n.text).join(`\r +`),r=n=>{n.clipboardData&&n.clipboardData.setData("text/plain",o),n.preventDefault()};document.addEventListener(e,r),document.execCommand(e),document.removeEventListener(e,r)}scrollToStart(){this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(0,0)}scrollToEnd(){const e=this.expandedContentDom&&(this.effectiveDir!=="rtl"?this.expandedContentDom.scrollWidth:-this.expandedContentDom.scrollWidth);this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(e,0,5,10)}_scrollToToken(e){if(!this.expandedContentDom)return;const t=e.getBoundingClientRect(),o=this.expandedContentDom.getBoundingClientRect();t.lefto.right&&this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft+(t.right-o.right+5),0)}async closeMorePopover(){(await this.getPopover()).close(!1,!1,!0)}get _nMoreText(){if(this._nMoreCount)return this._getVisibleTokens().length?or.i18nBundle.getText(p0,this._nMoreCount):or.i18nBundle.getText(iy,this._nMoreCount)}get showNMore(){return!this.expanded&&this.showMore&&!!this.overflownTokens.length}get contentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer--content")}get expandedContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-expanded--content")}get narrowContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-nmore--content")}get tokenizerLabel(){return or.i18nBundle.getText(ey)}get morePopoverTitle(){return or.i18nBundle.getText(ty)}get overflownTokens(){return this.contentDom?(this._getTokens().forEach(e=>{e.overflows=!1}),this._getTokens().filter(e=>{const t=this.contentDom.getBoundingClientRect(),o=e.getBoundingClientRect(),r=Number(o.right.toFixed(2)),n=Number(t.right.toFixed(2)),s=Number(o.left.toFixed(2)),l=Number(t.left.toFixed(2));return e.overflows=!this.expanded&&(sn),e.overflows})):[]}get noValueStatePopover(){return this.valueState===y.None||this.valueState===y.Success}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get _valueStateMessageIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get _isPhone(){return G()}get _selectedTokens(){return this._getTokens().filter(e=>e.selected)}get classes(){return{wrapper:{"ui5-tokenizer-root":!0,"ui5-tokenizer-nmore--wrapper":this.showMore,"ui5-tokenizer-no-padding":!this._getTokens().length},content:{"ui5-tokenizer--content":!0,"ui5-tokenizer-expanded--content":!this.showNMore,"ui5-tokenizer-nmore--content":this.showNMore},popover:{"ui5-popover-with-value-state-header-phone":this._isPhone&&!this.noValueStatePopover,"ui5-popover-with-value-state-header":!this._isPhone&&!this.noValueStatePopover},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}get styles(){return{popover:{"min-width":this.popoverMinWidth?`${this.popoverMinWidth}px`:""},popoverValueStateMessage:{width:this.popoverMinWidth&&!G()?`${this.popoverMinWidth}px`:"100%","min-height":"2rem"},popoverHeader:{"min-height":"2rem"},popoverHeaderTitle:{"justify-content":"left"}}}_tokensCountText(){const e=this._getTokens().length;return e===0?or.i18nBundle.getText(Z0):e===1?or.i18nBundle.getText(Q0):or.i18nBundle.getText(J0,e)}_focusLastToken(){if(this.tokens.length===0)return;const e=this.tokens[this.tokens.length-1];e.focus(),this._itemNav.setCurrentItem(e)}static async onDefine(){or.i18nBundle=await oe("@ui5/webcomponents")}async getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}};xo([u({type:Boolean})],yi.prototype,"showMore",void 0);xo([u({type:Boolean})],yi.prototype,"disabled",void 0);xo([u({type:Boolean})],yi.prototype,"preventPopoverOpen",void 0);xo([u({type:Boolean})],yi.prototype,"expanded",void 0);xo([u({type:Object})],yi.prototype,"morePopoverOpener",void 0);xo([u({validator:z})],yi.prototype,"popoverMinWidth",void 0);xo([u({type:y,defaultValue:y.None})],yi.prototype,"valueState",void 0);xo([u({validator:z})],yi.prototype,"_nMoreCount",void 0);xo([u({validator:z})],yi.prototype,"_tokensCount",void 0);xo([F({type:HTMLElement,default:!0,individualSlots:!0})],yi.prototype,"tokens",void 0);xo([F()],yi.prototype,"valueStateMessage",void 0);yi=or=xo([B({tag:"ui5-tokenizer",languageAware:!0,renderer:ee,template:nN,styles:uN,staticAreaStyles:[Wo,On,cd,dN],staticAreaTemplate:lN,dependencies:[wo,xr,Ra,rv,Fe]}),$("token-delete",{detail:{ref:{type:HTMLElement}}}),$("show-more-items-press",{detail:{ref:{type:HTMLElement}}}),$("before-more-popover-open")],yi);yi.define();const hk=yi,_N="value-help",pk="M470 41q10 9 10 23v192q0 12-10 22t-22 10H256q-14 0-23-10-9-9-9-22V64q0-14 9-23t23-9h192q13 0 22 9zm-22 23H256v192h192V64zm-96 256h32v128q0 14-9 23t-23 9H64q-12 0-23-9-9-9-9-23V160q0-14 9-23t23-9h128v32H64v288h288V320z",hN=!1,pN="SAP-icons-v4",vN="@ui5/webcomponents-icons";Y(_N,{pathData:pk,ltr:hN,collection:pN,packageName:vN});const fN="value-help",vk="M422 32q24 0 41 17t17 41v204q0 24-17 41t-41 17h-12q-11 0-18.5-7.5T384 326t7.5-18 18.5-7h12q7 0 7-7V90q0-7-7-7H218q-7 0-7 7v12q0 11-7 18.5t-18 7.5-18.5-7.5T160 102V90q0-24 17-41t41-17h204zM294 160q24 0 41 17t17 41v204q0 24-17 41t-41 17H90q-24 0-41-17t-17-41V218q0-24 17-41t41-17h204zm7 58q0-7-7-7H90q-7 0-7 7v204q0 7 7 7h204q7 0 7-7V218z",mN=!1,gN="SAP-icons-v5",bN="@ui5/webcomponents-icons";Y(fN,{pathData:vk,ltr:mN,collection:gN,packageName:bN});we();var Tc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Oh;let Aa=Oh=class extends vr{constructor(){super(),this._skipOpenSuggestions=!1,this._valueHelpIconPressed=!1}valueHelpPress(){this.closePopover(),this.fireEvent("value-help-trigger")}showMorePress(){this.expandedTokenizer=!1,this.focus()}tokenDelete(e){const t=e.detail.ref,o=this.tokens.filter(n=>n.selected),r=this.tokens.length-1===0||this.tokens.length===o.length;if(!this._readonly){if(t){this.fireEvent("token-delete",{token:t}),r&&this.focus();return}o.indexOf(t)===-1&&o.push(t),o.forEach(n=>{this.fireEvent("token-delete",{token:n})})}}valueHelpMouseDown(e){const t=e.target;this.closePopover(),this.tokenizer.closeMorePopover(),this._valueHelpIconPressed=!0,t.focus()}_tokenizerFocusOut(e){const t=e.relatedTarget===this.tokenizer.staticAreaItem;!this.contains(e.relatedTarget)&&!t&&(this.tokenizer._tokens.forEach(o=>{o.selected=!1}),this.tokenizer.scrollToStart()),e.relatedTarget===this.nativeInput&&this.tokenizer.closeMorePopover()}valueHelpMouseUp(){setTimeout(()=>{this._valueHelpIconPressed=!1},0)}innerFocusIn(){this.expandedTokenizer=!0,this.focused=!0,this.tokenizer.scrollToEnd(),this.tokenizer._getTokens().forEach(e=>{e.selected=!1})}_onkeydown(e){super._onkeydown(e);const t=e.target,o=St(e)&&t.selectionStart===0,r=e.metaKey||e.ctrlKey,n=this.tokens;if(o)return this._skipOpenSuggestions=!0,this._focusFirstToken(e);if(ft(e)||sc(e))return this._skipOpenSuggestions=!0,this._handleLeft(e);this._skipOpenSuggestions=!1,Nr(e)&&this.valueHelpPress(),r&&e.key.toLowerCase()==="i"&&n.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_onTokenizerKeydown(e){const t=_a(e),o=!!(e.metaKey||e.ctrlKey),r=this.tokens;if(it(e)||si(e)||t){e.preventDefault();const n=this.tokens.length-1;if(e.target===this.tokens[n]&&this.tokens[n]===document.activeElement)setTimeout(()=>{this.focus()},0);else if(t)return e.preventDefault(),this.tokenizer._handleArrowCtrl(e,e.target,this.tokens,!0)}if(o&&["c","x"].includes(e.key.toLowerCase())){e.preventDefault();const n=e.key.toLowerCase()==="x",s=r.filter(l=>l.selected);if(n){const l=this.tokenizer._fillClipboard(hs.cut,s);return s.forEach(_=>{this.fireEvent("token-delete",{token:_})}),this.focus(),l}return this.tokenizer._fillClipboard(hs.copy,s)}o&&e.key.toLowerCase()==="i"&&r.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_handleLeft(e){const t=this.getDomRef().querySelector("input").selectionStart,o=this.tokens,r=o.length&&o[o.length-1];t===0&&r&&(e.preventDefault(),r.focus(),this.tokenizer._itemNav.setCurrentItem(r))}_focusFirstToken(e){const t=this.tokens,o=t.length&&t[0];o&&(e.preventDefault(),o.focus(),this.tokenizer._itemNav.setCurrentItem(o))}_onfocusout(e){super._onfocusout(e);const t=e.relatedTarget,o=this.contains(t),r=this.shadowRoot.contains(t);!o&&!r&&(this.expandedTokenizer=!1,this.tokenizer._itemNav._currentIndex=-1)}async _onfocusin(e){const t=await this.getInputDOMRef();e.target===t&&await super._onfocusin(e)}lastItemDeleted(){setTimeout(()=>{this.focus()},0)}onBeforeRendering(){super.onBeforeRendering(),this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`),this.tokenizerAvailable=this.tokens&&this.tokens.length>0}get iconsCount(){return super.iconsCount+(this.showValueHelpIcon?1:0)}get tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}get _tokensCountText(){if(this.tokenizer)return this.tokenizer._tokensCountText()}get _tokensCountTextId(){return`${this._id}-hiddenText-nMore`}get _placeholder(){return this.tokenizer&&this.tokenizer._tokens.length?"":this.placeholder}get accInfo(){const e=`${this._tokensCountTextId} ${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{...super.accInfo.input,ariaRoledescription:this.ariaRoleDescription,ariaDescribedBy:e}}}get ariaRoleDescription(){return Oh.i18nBundle.getText(h0)}get morePopoverOpener(){return this.tokens.length===1&&this.tokens[0].isTruncatable?this.tokens[0]:this}};Tc([u({type:Boolean})],Aa.prototype,"showValueHelpIcon",void 0);Tc([u({type:Boolean})],Aa.prototype,"expandedTokenizer",void 0);Tc([u({type:Boolean})],Aa.prototype,"tokenizerAvailable",void 0);Tc([F()],Aa.prototype,"tokens",void 0);Aa=Oh=Tc([B({tag:"ui5-multi-input",renderer:ee,template:UM,styles:[vr.styles,qM],dependencies:[...vr.dependencies,hk,_k,Ie]}),$("value-help-trigger"),$("token-delete",{detail:{token:{type:HTMLElement}}})],Aa);Aa.define();function yN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-menu-rp" class="ui5-menu-rp" horizontal-align="Left" placement-type=${a(this.placementType)} vertical-align=${a(this.verticalAlign)} hide-arrow allow-target-overlap ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)}>${this.isPhone?lg.call(this,i,e,t):void 0}
    ${this._currentItems.length?ug.call(this,i,e,t):vg.call(this,i,e,t)}
    `:c`${this.isPhone?lg.call(this,i,e,t):void 0}
    ${this._currentItems.length?ug.call(this,i,e,t):vg.call(this,i,e,t)}
    `}function lg(i,e,t){return t?c`
    ${this.isSubMenuOpened?cg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${d("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:c`
    ${this.isSubMenuOpened?cg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function cg(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:c``}function ug(i,e,t){return t?c`<${d("ui5-list",e,t)} id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" accessible-role="menu" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>dg.call(this,i,e,t,o,r))}`:c`${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>dg.call(this,i,e,t,o,r))}`}function dg(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="menuitem" .additionalText="${a(o.item._additionalText)}" ._ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>
    ${o.item.hasDummyIcon?_g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?hg.call(this,i,e,t,o,r):pg.call(this,i,e,t,o,r)}
    `:c`
    ${o.item.hasDummyIcon?_g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?hg.call(this,i,e,t,o,r):pg.call(this,i,e,t,o,r)}
    `}function _g(i,e,t,o,r){return c`
    `}function hg(i,e,t,o,r){return t?c`
    <${d("ui5-icon",e,t)} part="subicon" name="slim-arrow-right" class="ui5-menu-item-icon-end">
    `:c`
    `}function pg(i,e,t,o,r){return c`${o.item._siblingsWithChildren?wN.call(this,i,e,t,o,r):void 0}`}function wN(i,e,t,o,r){return c`
    `}function vg(i,e,t){return c`${this.busy?kN.call(this,i,e,t):void 0}`}function kN(i,e,t){return t?c`<${d("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const fk={packageName:"@ui5/webcomponents",fileName:"themes/Menu.css.ts",content:`.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v1-22-1-rc-0_menu_popover_border_radius);max-width:20rem}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item-no-icon-end{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item[additional-text] .ui5-menu-item-no-icon-end{display:none}.ui5-menu-item-dummy-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.5rem;pointer-events:none}.ui5-menu-item-submenu-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v1-22-1-rc-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem}.ui5-menu-dialog-title>div{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-item::part(title){font-size:var(--sapFontSize);padding-top:.125rem}.ui5-menu-item[icon]:not([is-phone])::part(title),.ui5-menu-item[is-phone]:not([icon=""])::part(title){padding-top:0}.ui5-menu-item:not([is-phone])::part(native-li){padding:var(--_ui5-v1-22-1-rc-0_menu_item_padding)}.ui5-menu-item[starts-section]{border-top:1px solid var(--sapGroup_ContentBorderColor)}.ui5-menu-item[active] .ui5-menu-item-icon-end{color:var(--sapList_Active_TextColor)}.ui5-menu-item[focused]:not([active]){background-color:var(--sapList_Hover_Background)}.ui5-menu-rp[sub-menu]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset)}.ui5-menu-rp[sub-menu][actual-placement-type=Left]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset)}.ui5-menu-item::part(additional-text){margin-inline-start:var(--_ui5-v1-22-1-rc-0_menu_item_additional_text_start_margin);color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ui5-menu-item-text:has(.ui5-menu-item-submenu-icon){padding-inline-end:1rem} +`};var Vi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},cl;const $N=300,TN=400;let ti=cl=class extends j{static async onDefine(){cl.i18nBundle=await oe("@ui5/webcomponents")}get itemsWithChildren(){return!!this._currentItems.filter(e=>e.item.items.length).length}get itemsWithIcon(){return!!this._currentItems.filter(e=>e.item.icon!=="").length}get isRtl(){return this.effectiveDir==="rtl"}get placementType(){const e=this.isRtl?"Left":"Right";return this._isSubMenu?e:"Bottom"}get verticalAlign(){return this._isSubMenu?"Top":"Bottom"}get labelBack(){return cl.i18nBundle.getText(vy)}get labelClose(){return cl.i18nBundle.getText(fy)}get isPhone(){return G()}get isSubMenuOpened(){return!!this._parentMenuItem}get menuHeaderTextPhone(){return this._parentMenuItem?this._parentMenuItem.text:this.headerText}onBeforeRendering(){!G()&&this._prepareCurrentItems(this.items);const e=this.itemsWithChildren,t=this.itemsWithIcon;this._currentItems.forEach(o=>{o.item._siblingsWithChildren=e,o.item._siblingsWithIcon=t;const r=o.item._subMenu,n=o.item;if(r&&r.busy){r.innerHTML="";const s=this._clonedItemsFragment(n);r.appendChild(s)}r&&(r.busy=o.item.busy,r.busyDelay=o.item.busyDelay)})}onAfterRendering(){if(this.opener)if(this.open){const e=this.getOpener();e&&this.showAt(e)}else this.close()}async showAt(e){G()&&(this._prepareCurrentItems(this.items),this._parentItemsStack=[]),this._isSubMenu||(this._parentMenuItem=void 0);const t=await this._createPopover();t.initialFocus="";for(let o=0;o({item:t,position:o+1,ariaHasPopup:t.hasSubmenu?"menu":void 0}))}_createSubMenu(e,t){const o=this.constructor,r=document.createElement(o.getMetadata().getTag());r._isSubMenu=!0,r.setAttribute("id",`submenu-${t}`),r._parentMenuItem=e,r.busy=e.busy,r.busyDelay=e.busyDelay;const n=this._clonedItemsFragment(e);r.appendChild(n),this.staticAreaItem.shadowRoot.querySelector(".ui5-menu-submenus").appendChild(r),e._subMenu=r}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;othis._closeSubMenuPopover(e._subMenu),0))}_closeSubMenuPopover(e,t=!1){if(e){const o=e._parentMenuItem;(t||!o._preventSubMenuClose)&&(e.close(),e.remove(),o._subMenu=void 0,this._openedSubMenuItem=void 0,this._subMenuOpenerId="")}}_prepareSubMenuDesktopTablet(e,t,o){(o!==this._subMenuOpenerId||e&&e.hasSubmenu)&&this._closeItemSubMenu(this._openedSubMenuItem,!0),e&&e.hasSubmenu&&(this._createSubMenu(e,o),this._openItemSubMenu(e,t,o)),this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_prepareSubMenuPhone(e){this._prepareCurrentItems(e.items),this._parentMenuItem=e,this._parentItemsStack.push(e)}_startOpenTimeout(e,t,o){this._clearTimeout(),this._timeout=setTimeout(()=>{this._prepareSubMenuDesktopTablet(e,t,o)},$N)}_startCloseTimeout(e){this._clearTimeout(),this._timeout=setTimeout(()=>{this._closeItemSubMenu(e)},TN)}_clearTimeout(){this._timeout&&clearTimeout(this._timeout)}_itemMouseOver(e){if(vo()){const t=e.target,o=t.associatedItem,r=t.getAttribute("id");t.focus(),this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_busyMouseOver(){this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_itemMouseOut(e){if(vo()){const o=e.target.associatedItem;this._clearTimeout(),o&&o.hasSubmenu&&o._subMenu&&(o._preventSubMenuClose=!1,this._startCloseTimeout(o))}}_itemKeyDown(e){const t=this.isRtl?it(e):ft(e),o=this.isRtl?ft(e):it(e);if(de(e)&&e.preventDefault(),o){const r=e.target,n=r.associatedItem,s=r.getAttribute("id");n.hasSubmenu&&this._prepareSubMenuDesktopTablet(n,r,s)}else t&&this._isSubMenu&&this._parentMenuItem&&this._parentMenuItem.parentElement._closeItemSubMenu(this._parentMenuItem,!0)}_itemClick(e){const t=e.detail.item,o=t.associatedItem,r=t.getAttribute("id");if(o.hasSubmenu)G()?this._prepareSubMenuPhone(o):rc()&&this._prepareSubMenuDesktopTablet(o,t,r);else if(!this._isSubMenu)G()&&(this._parentMenuItem=void 0),!this.fireEvent("item-click",{item:o,text:o.text},!0,!1)||this._popover.close();else{const n=this._findMainMenu(o);if(!!n.fireEvent("item-click",{item:o,text:o.text},!0,!1)){let l=o,_=l.parentElement;do l._preventSubMenuClose=!1,this._closeItemSubMenu(l),_=l.parentElement,l=_._parentMenuItem;while(_._parentMenuItem);n._popover.close()}}}_findMainMenu(e){let t=e.parentElement;for(;t._parentMenuItem;)t=t._parentMenuItem.parentElement;return t}_beforePopoverOpen(e){!this.fireEvent("before-open",{},!0,!1)&&(this.open=!1,e.preventDefault())}_afterPopoverOpen(){this.open=!0,this.fireEvent("after-open",{},!1,!1)}_beforePopoverClose(e){if(!this.fireEvent("before-close",{escPressed:e.detail.escPressed},!0,!1)){this.open=!0,e.preventDefault();return}this._openedSubMenuItem&&(this._openedSubMenuItem._preventSubMenuClose=!1,this._closeItemSubMenu(this._openedSubMenuItem))}_afterPopoverClose(){this.open=!1,this.fireEvent("after-close",{},!1,!1)}};Vi([u()],ti.prototype,"headerText",void 0);Vi([u({type:Boolean})],ti.prototype,"open",void 0);Vi([u({type:Boolean})],ti.prototype,"busy",void 0);Vi([u({validator:z,defaultValue:1e3})],ti.prototype,"busyDelay",void 0);Vi([u({validator:id,defaultValue:""})],ti.prototype,"opener",void 0);Vi([u({type:Boolean,noAttribute:!0})],ti.prototype,"_isSubMenu",void 0);Vi([u()],ti.prototype,"_subMenuOpenerId",void 0);Vi([u({type:Object,multiple:!0})],ti.prototype,"_currentItems",void 0);Vi([u({type:Object,multiple:!0})],ti.prototype,"_parentItemsStack",void 0);Vi([u({type:Object,defaultValue:void 0})],ti.prototype,"_popover",void 0);Vi([u({type:Object,defaultValue:void 0})],ti.prototype,"_parentMenuItem",void 0);Vi([u({type:Object,defaultValue:void 0})],ti.prototype,"_openedSubMenuItem",void 0);Vi([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],ti.prototype,"items",void 0);ti=cl=Vi([B({tag:"ui5-menu",renderer:ee,staticAreaStyles:fk,staticAreaTemplate:yN,dependencies:[wo,Fe,xr,Ra,Ie,ad]}),$("item-click",{detail:{item:{type:HTMLElement},text:{type:String}}}),$("before-open",{detail:{item:{type:HTMLElement}}}),$("after-open"),$("before-close",{detail:{escPressed:{type:Boolean}}}),$("after-close")],ti);ti.define();const xN=ti;var Hi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ii=class extends j{get hasSubmenu(){return!!(this.items.length||this.busy)}get hasDummyIcon(){return this._siblingsWithIcon&&!this.icon}get subMenuOpened(){return!!this._subMenu}get _additionalText(){return this.hasSubmenu?"":this.additionalText}get ariaLabelledByText(){return`${this.text} ${this.accessibleName}`.trim()}};Hi([u()],ii.prototype,"text",void 0);Hi([u()],ii.prototype,"additionalText",void 0);Hi([u()],ii.prototype,"icon",void 0);Hi([u({type:Boolean})],ii.prototype,"startsSection",void 0);Hi([u({type:Boolean})],ii.prototype,"disabled",void 0);Hi([u({type:Boolean})],ii.prototype,"busy",void 0);Hi([u({validator:z,defaultValue:1e3})],ii.prototype,"busyDelay",void 0);Hi([u()],ii.prototype,"accessibleName",void 0);Hi([u({type:Boolean,noAttribute:!0})],ii.prototype,"_siblingsWithChildren",void 0);Hi([u({type:Boolean,noAttribute:!0})],ii.prototype,"_siblingsWithIcon",void 0);Hi([u({type:Boolean,noAttribute:!0})],ii.prototype,"_preventSubMenuClose",void 0);Hi([u({type:Object,defaultValue:void 0})],ii.prototype,"_subMenu",void 0);Hi([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],ii.prototype,"items",void 0);ii=Hi([B("ui5-menu-item")],ii);ii.define();const SN=ii;function IN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-navigation-menu-rp" class="ui5-menu-rp ui5-navigation-menu" vertical-align="Center" ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)} accessible-name-ref="${a(this._id)}-navigationMenuPopoverText">${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?fg.call(this,i,e,t):void 0}
    ${this._currentItems.length?gg.call(this,i,e,t):Sg.call(this,i,e,t)}
    `:c`${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?fg.call(this,i,e,t):void 0}
    ${this._currentItems.length?gg.call(this,i,e,t):Sg.call(this,i,e,t)}
    `}function fg(i,e,t){return t?c`
    ${this.isSubMenuOpened?mg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${d("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:c`
    ${this.isSubMenuOpened?mg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function mg(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:c``}function gg(i,e,t){return t?c`<${d("ui5-list",e,t)} accessible-role="tree" id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>bg.call(this,i,e,t,o,r))}`:c`${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>bg.call(this,i,e,t,o,r))}`}function bg(i,e,t,o,r){return c`${o.item.href?CN.call(this,i,e,t,o,r):BN.call(this,i,e,t,o,r)}`}function CN(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .associatedItem="${a(o.item)}" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="none" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown} class="ui5-menu-item ui5-navigation-menu-item">${o.item.hasDummyIcon?yg.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?wg.call(this,i,e,t,o,r):kg.call(this,i,e,t,o,r)}`:c`${o.item.hasDummyIcon?yg.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?wg.call(this,i,e,t,o,r):kg.call(this,i,e,t,o,r)}`}function yg(i,e,t,o,r){return c`
    `}function wg(i,e,t,o,r){return t?c`<${d("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:c``}function kg(i,e,t,o,r){return c`${o.item._siblingsWithChildren?AN.call(this,i,e,t,o,r):void 0}`}function AN(i,e,t,o,r){return c`
    `}function BN(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item ui5-navigation-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="treeitem" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>${o.item.hasDummyIcon?$g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?Tg.call(this,i,e,t,o,r):xg.call(this,i,e,t,o,r)}`:c`${o.item.hasDummyIcon?$g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?Tg.call(this,i,e,t,o,r):xg.call(this,i,e,t,o,r)}`}function $g(i,e,t,o,r){return c`
    `}function Tg(i,e,t,o,r){return t?c`<${d("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:c``}function xg(i,e,t,o,r){return c`${o.item._siblingsWithChildren?EN.call(this,i,e,t,o,r):void 0}`}function EN(i,e,t,o,r){return c`
    `}function Sg(i,e,t){return c`${this.busy?DN.call(this,i,e,t):void 0}`}function DN(i,e,t){return t?c`<${d("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const PN={packageName:"@ui5/webcomponents",fileName:"themes/NavigationMenu.css.ts",content:`.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-navigation-menu .ui5-navigation-menu-main{padding:var(--_ui5-v1-22-1-rc-0_side_navigation_parent_popup_padding)}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li){padding-left:.5rem;width:auto}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li):after{border-radius:.375rem;inset:0}.ui5-navigation-menu .ui5-navigation-menu-item{display:flex;align-items:center;width:100%;box-sizing:border-box;position:relative;height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);min-height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);border-radius:.375rem;transition:var(--_ui5-v1-22-1-rc-0_side_navigation_item_transition);color:var(--sapList_TextColor);font-weight:700;font-size:var(--sapFontSize);border-bottom:none}.ui5-navigation-menu .ui5-navigation-menu-item a{display:flex;align-items:center;text-decoration:none;color:var(--sapList_TextColor)}.ui5-navigation-menu[sub-menu] .ui5-navigation-menu-item{font-weight:400}.ui5-menu-rp.ui5-navigation-menu{box-shadow:var(--_ui5-v1-22-1-rc-0_side_navigation_popup_box_shadow);width:auto;min-width:10rem;height:auto;background:var(--sapGroup_ContentBackground);border:none;border-radius:.75rem}.ui5-navigation-menu .ui5-navigation-menu-item .ui5-menu-item-icon-end{position:relative;inset-inline-end:auto;width:.75rem;height:.75rem;color:var(--sapList_TextColor)}.ui5-navigation-menu .ui5-navigation-menu-item::part(icon){color:var(--sapList_TextColor);min-width:1rem;min-height:1rem}.ui5-navigation-menu .ui5-menu-item[focused]:not([active]){background:none} +`};var mk=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Rh;let Mu=Rh=class extends xN{_itemMouseOver(e){if(vo()){const t=e.target;let o=t.associatedItem;const r=t.getAttribute("id");if(!o){const n=t.parentElement;t.parentElement&&(o=n.associatedItem)}this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let jl=class extends SN{};fv([u()],jl.prototype,"href",void 0);fv([u()],jl.prototype,"target",void 0);jl=fv([B("ui5-navigation-menu-item")],jl);jl.define();const gk=i=>{let e,t,o,r,n,s,l,_,p,v,f,g;const w=nv({beforeStart:()=>{i.style.display="block",e=getComputedStyle(i),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=i.style.overflow,_=i.style.paddingTop,p=i.style.paddingBottom,v=i.style.marginTop,f=i.style.marginBottom,g=i.style.height,i.style.overflow="hidden",i.style.paddingTop="0",i.style.paddingBottom="0",i.style.marginTop="0",i.style.marginBottom="0",i.style.height="0"},duration:av,element:i,advance:A=>{i.style.display="block",i.style.paddingTop=`${t*A}px`,i.style.paddingBottom=`${o*A}px`,i.style.marginTop=`${r*A}px`,i.style.marginBottom=`${n*A}px`,i.style.height=`${s*A}px`}});return w.promise().then(()=>{i.style.overflow=l,i.style.paddingTop=_,i.style.paddingBottom=p,i.style.marginTop=v,i.style.marginBottom=f,i.style.height=g}),w},bk=i=>{let e,t,o,r,n,s,l,_,p,v,f,g;const w=nv({beforeStart:()=>{const A=i;e=getComputedStyle(A),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=A.style.overflow,_=A.style.paddingTop,p=A.style.paddingBottom,v=A.style.marginTop,f=A.style.marginBottom,g=A.style.height,A.style.overflow="hidden"},duration:av,element:i,advance:A=>{i.style.paddingTop=`${t-t*A}px`,i.style.paddingBottom=`${o-o*A}px`,i.style.marginTop=`${r-r*A}px`,i.style.marginBottom=`${n-n*A}px`,i.style.height=`${s-s*A}px`}});return w.promise().then(A=>{A instanceof Error||(i.style.overflow=l,i.style.paddingTop=_,i.style.paddingBottom=p,i.style.marginTop=v,i.style.marginBottom=f,i.style.height=g,i.style.display="none")}),w};var Lh;(function(i){i.Complementary="Complementary",i.Form="Form",i.Region="Region"})(Lh||(Lh={}));const Ig=Lh;function ON(i,e,t){return c`
    ${this.hasHeaderOrHeaderText?RN.call(this,i,e,t):void 0}
    `}function RN(i,e,t){return c`
    ${this.fixed?void 0:LN.call(this,i,e,t)}${this._hasHeader?FN.call(this,i,e,t):zN.call(this,i,e,t)}
    `}function LN(i,e,t){return c`
    ${this._hasHeader?MN.call(this,i,e,t):NN.call(this,i,e,t)}
    `}function MN(i,e,t){return t?c`<${d("ui5-button",e,t)} design="Transparent" class="ui5-panel-header-button ui5-panel-header-button-with-icon" @click="${this._toggleButtonClick}" .accessibilityAttributes=${a(this.accInfo.button.accessibilityAttributes)} tooltip="${a(this.accInfo.button.title)}" accessible-name="${a(this.accInfo.button.ariaLabelButton)}">
    <${d("ui5-icon",e,t)} class="ui5-panel-header-icon ${T(this.classes.headerBtn)}" name="slim-arrow-right">
    `:c`
    `}function NN(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-panel-header-button ui5-panel-header-icon ${T(this.classes.headerBtn)}" name="slim-arrow-right" show-tooltip accessible-name="${a(this.toggleButtonTitle)}">`:c``}function FN(i,e,t){return c``}function zN(i,e,t){return c`
    ${a(this.headerText)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const VN={packageName:"@ui5/webcomponents",fileName:"themes/Panel.css.ts",content:`.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}:host{font-family:"72override",var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v1-22-1-rc-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v1-22-1-rc-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v1-22-1-rc-0_panel_header_padding_right);font-family:"72override",var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v1-22-1-rc-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v1-22-1-rc-0_panel_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);top:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);left:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);right:var(--_ui5-v1-22-1-rc-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v1-22-1-rc-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v1-22-1-rc-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v1-22-1-rc-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v1-22-1-rc-0_panel_button_root_width);height:var(--_ui5-v1-22-1-rc-0_panel_button_root_height);padding:var(--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v1-22-1-rc-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column} +`};var Ui=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},cu;let ci=cu=class extends j{onBeforeRendering(){this._animationRunning||(this._contentExpanded=!this.collapsed),this._hasHeader=!!this.header.length}shouldToggle(e){return this.header.length?e.classList.contains("ui5-panel-header-button"):!0}shouldNotAnimate(){return this.noAnimation||cc()===bs.None}_headerClick(e){this.shouldToggle(e.target)&&this._toggleOpen()}_toggleButtonClick(e){e.x===0&&e.y===0&&e.stopImmediatePropagation()}_headerKeyDown(e){this.shouldToggle(e.target)&&(de(e)&&e.preventDefault(),te(e)&&e.preventDefault())}_headerKeyUp(e){this.shouldToggle(e.target)&&(de(e)&&this._toggleOpen(),te(e)&&this._toggleOpen())}_toggleOpen(){if(this.fixed)return;if(this.collapsed=!this.collapsed,this.shouldNotAnimate()){this.fireEvent("toggle");return}this._animationRunning=!0;const e=this.getDomRef().querySelectorAll(".ui5-panel-content"),t=[];[].forEach.call(e,o=>{this.collapsed?t.push(bk(o).promise()):t.push(gk(o).promise())}),Promise.all(t).then(()=>{this._animationRunning=!1,this._contentExpanded=!this.collapsed,this.fireEvent("toggle")})}_headerOnTarget(e){return e.classList.contains("sapMPanelWrappingDiv")}get classes(){return{headerBtn:{"ui5-panel-header-button-animated":!this.shouldNotAnimate()},stickyHeaderClass:{"ui5-panel-heading-wrapper-sticky":this.stickyHeader}}}get toggleButtonTitle(){return cu.i18nBundle.getText(v0)}get expanded(){return!this.collapsed}get accRole(){return this.accessibleRole.toLowerCase()}get effectiveAccessibleName(){return typeof this.accessibleName=="string"&&this.accessibleName.length?this.accessibleName:void 0}get accInfo(){return{button:{accessibilityAttributes:{expanded:this.expanded},title:this.toggleButtonTitle,ariaLabelButton:!this.nonFocusableButton&&this.useAccessibleNameForToggleButton?this.effectiveAccessibleName:void 0},ariaExpanded:this.nonFixedInternalHeader?this.expanded:void 0,ariaControls:this.nonFixedInternalHeader?`${this._id}-content`:void 0,ariaLabelledby:this.nonFocusableButton?this.ariaLabelledbyReference:void 0,role:this.nonFixedInternalHeader?"button":void 0}}get ariaLabelledbyReference(){return this.nonFocusableButton&&this.headerText&&!this.fixed?`${this._id}-header-title`:void 0}get fixedPanelAriaLabelledbyReference(){return this.fixed&&!this.effectiveAccessibleName?`${this._id}-header-title`:void 0}get headerAriaLevel(){return this.headerLevel.slice(1)}get headerTabIndex(){return this.header.length||this.fixed?"-1":"0"}get headingWrapperAriaLevel(){return this._hasHeader?void 0:this.headerAriaLevel}get headingWrapperRole(){return this._hasHeader?void 0:"heading"}get nonFixedInternalHeader(){return!this._hasHeader&&!this.fixed}get hasHeaderOrHeaderText(){return this._hasHeader||this.headerText}get nonFocusableButton(){return!this.header.length}get styles(){return{content:{display:this._contentExpanded?"block":"none"}}}static async onDefine(){cu.i18nBundle=await oe("@ui5/webcomponents")}};Ui([u()],ci.prototype,"headerText",void 0);Ui([u({type:Boolean})],ci.prototype,"fixed",void 0);Ui([u({type:Boolean})],ci.prototype,"collapsed",void 0);Ui([u({type:Boolean})],ci.prototype,"noAnimation",void 0);Ui([u({type:Ig,defaultValue:Ig.Form})],ci.prototype,"accessibleRole",void 0);Ui([u({type:Iu,defaultValue:Iu.H2})],ci.prototype,"headerLevel",void 0);Ui([u()],ci.prototype,"accessibleName",void 0);Ui([u({type:Boolean})],ci.prototype,"stickyHeader",void 0);Ui([u({type:Boolean})],ci.prototype,"useAccessibleNameForToggleButton",void 0);Ui([u({type:Boolean})],ci.prototype,"_hasHeader",void 0);Ui([u({type:Boolean,noAttribute:!0})],ci.prototype,"_contentExpanded",void 0);Ui([u({type:Boolean,noAttribute:!0})],ci.prototype,"_animationRunning",void 0);Ui([F()],ci.prototype,"header",void 0);ci=cu=Ui([B({tag:"ui5-panel",fastNavigation:!0,languageAware:!0,renderer:ee,template:ON,styles:VN,dependencies:[Fe,Ie]}),$("toggle")],ci);ci.define();const HN=500,Vc=new Map,Gn=new Map,UN=i=>{const e=i.host,t=i.propName,o=e[t];let r;if(o===void 0||o==="")r=void 0;else if(o instanceof HTMLElement)r=o;else{const l=e.getRootNode();r=l.getElementById&&l.getElementById(o)||void 0}const n=`${e._id}-${t}`,s=Vc.get(n);if(!r){if(s&&(i.onDisconnect&&i.onDisconnect(s),Vc.delete(n)),typeof o=="string"&&o&&!Gn.has(n)){const l=setInterval(()=>{const _=e.getRootNode();_.getElementById&&_.getElementById(o)&&(clearInterval(Gn.get(n)),Gn.delete(n),cp(e))},HN);Gn.set(n,l)}return}return Gn.has(n)&&(clearInterval(Gn.get(n)),Gn.delete(n)),s!==r&&(s&&i.onDisconnect&&i.onDisconnect(s),i.onConnect&&i.onConnect(r),Vc.set(n,r)),Vc.get(n)};var Zr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let go=class extends j{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};Zr([u({type:Boolean})],go.prototype,"selected",void 0);Zr([u({type:Boolean})],go.prototype,"disabled",void 0);Zr([u()],go.prototype,"title",void 0);Zr([u({defaultValue:null})],go.prototype,"icon",void 0);Zr([u()],go.prototype,"value",void 0);Zr([u()],go.prototype,"additionalText",void 0);Zr([u({type:Boolean})],go.prototype,"focused",void 0);Zr([F({type:Node,default:!0,invalidateOnChildChange:!0})],go.prototype,"text",void 0);go=Zr([B("ui5-option")],go);go.define();const yk=go;function WN(i,e,t){return c`
    ${this.selectedOptionIcon?qN.call(this,i,e,t):void 0}
    ${this.hasCustomLabel?jN.call(this,i,e,t):GN.call(this,i,e,t)}
    ${this.readonly?void 0:YN.call(this,i,e,t)}${this.hasValueState?KN.call(this,i,e,t):void 0}
    `}function qN(i,e,t){return t?c`<${d("ui5-icon",e,t)} aria-hidden="true" class="ui5-select-option-icon" name="${a(this.selectedOptionIcon)}">`:c``}function jN(i,e,t){return c``}function GN(i,e,t){return c`${a(this._text)}`}function YN(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="slim-arrow-down" input-icon ?pressed="${this._iconPressed}">`:c``}function KN(i,e,t){return c`${a(this.valueStateText)}`}function XN(i,e,t){return c`${this.options?ZN.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?o4.call(this,i,e,t):void 0}`}function ZN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} hide-arrow _disable-initial-focus placement-type="Bottom" class="ui5-select-popover ${T(this.classes.popover)}" horizontal-align="Left" @ui5-after-open="${a(this._afterOpen)}" @ui5-before-open="${a(this._beforeOpen)}" @ui5-after-close="${a(this._afterClose)}" @keydown="${this._onkeydown}" style=${S(this.styles.responsivePopover)}>${this._isPhone?Cg.call(this,i,e,t):void 0}${this._isPhone?void 0:Bg.call(this,i,e,t)}<${d("ui5-list",e,t)} mode="SingleSelectAuto" separators="None" @mousedown="${this._itemMousedown}" @ui5-item-click="${a(this._handleItemPress)}">${E(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>Pg.call(this,i,e,t,o,r))}`:c`${this._isPhone?Cg.call(this,i,e,t):void 0}${this._isPhone?void 0:Bg.call(this,i,e,t)}${E(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>Pg.call(this,i,e,t,o,r))}`}function Cg(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._toggleRespPopover}">
    ${this.hasValueStateText?Ag.call(this,i,e,t):void 0}
    `:c`
    ${a(this._headerTitleText)}
    ${this.hasValueStateText?Ag.call(this,i,e,t):void 0}
    `}function Ag(i,e,t){return c`
    ${this.shouldDisplayDefaultValueStateMessage?QN.call(this,i,e,t):JN.call(this,i,e,t)}
    `}function QN(i,e,t){return c`${a(this.valueStateText)}`}function JN(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>e4.call(this,i,e,t,o,r))}`}function e4(i,e,t,o,r){return c`${a(o)}`}function Bg(i,e,t){return c`${this.hasValueStateText?t4.call(this,i,e,t):void 0}`}function t4(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?Eg.call(this,i,e,t):Dg.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?Eg.call(this,i,e,t):Dg.call(this,i,e,t)}
    `}function Eg(i,e,t){return c`${a(this.valueStateText)}`}function Dg(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>i4.call(this,i,e,t,o,r))}`}function i4(i,e,t,o,r){return c`${a(o)}`}function Pg(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} id="${a(o.id)}-li" icon="${a(o.icon)}" ?selected="${o.selected}" ?focused="${o._focused}" title="${a(o.title)}" additional-text="${a(o.additionalText)}" ?aria-selected="${o.selected}" data-ui5-stable="${a(o.stableDomRef)}">${a(o.textContent)}`:c`${a(o.textContent)}`}function o4(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?Og.call(this,i,e,t):Rg.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?Og.call(this,i,e,t):Rg.call(this,i,e,t)}
    `}function Og(i,e,t){return c`${a(this.valueStateText)}`}function Rg(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>r4.call(this,i,e,t,o,r))}`}function r4(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const n4={packageName:"@ui5/webcomponents",fileName:"themes/Select.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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-select-root{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v1-22-1-rc-0_select_label_color);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const a4={packageName:"@ui5/webcomponents",fileName:"themes/SelectPopover.css.ts",content:`.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover [ui5-li]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)} +`};var Pt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Si;let lt=Si=class extends j{constructor(){super(),this._syncedOptions=[],this._selectedIndexBeforeOpen=-1,this._escapePressed=!1,this._lastSelectedOption=null,this._typedChars="",this._onMenuClick=this.onMenuClick.bind(this),this._onMenuClose=this.onMenuClose.bind(this),this._onMenuOpen=this.onMenuOpen.bind(this),this._onMenuBeforeOpen=this.onMenuBeforeOpen.bind(this),this._onMenuChange=this.onMenuChange.bind(this),this._attachMenuListeners=this.attachMenuListeners.bind(this),this._detachMenuListeners=this.detachMenuListeners.bind(this),this._upgradeProperty("value")}onBeforeRendering(){const e=this._getSelectMenu();e?(e.value=this.value,e.selectId=this.__id):this._syncSelection(),this._enableFormSupport(),this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`)}onAfterRendering(){this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this._isPickerOpen&&(this._listWidth||(this._listWidth=this.responsivePopover.offsetWidth)),this._attachRealDomRefs()}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get _isPickerOpen(){const e=this._getSelectMenu();return e?e.open:!!this.responsivePopover&&this.responsivePopover.opened}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}set value(e){const t=this._getSelectMenu();Array.from(t?t.children:this.children).filter(r=>!r.getAttribute("disabled")).forEach(r=>{r.selected=(r.getAttribute("value")||r.textContent)===e})}get value(){var e,t;return((e=this.selectedOption)==null?void 0:e.value)||((t=this.selectedOption)==null?void 0:t.textContent)||""}get selectedOption(){return this.selectOptions.find(e=>e.selected)}onMenuClick(e){const t=e.detail.optionIndex;this._handleSelectionChange(t)}onMenuBeforeOpen(){this._beforeOpen()}onMenuOpen(){this._afterOpen()}onMenuClose(){this._afterClose()}onMenuChange(e){this._text=e.detail.text,this._selectedIndex=e.detail.selectedIndex}_toggleSelectMenu(){const e=this._getSelectMenu();e&&(e.open?e.close():e.showAt(this,this.offsetWidth))}onExitDOM(){const e=this._getSelectMenu();e&&this._detachMenuListeners(e)}async _toggleRespPopover(){if(this.disabled||this.readonly)return;if(this._iconPressed=!0,this._getSelectMenu()){this._toggleSelectMenu();return}this.responsivePopover=await this._respPopover(),this._isPickerOpen?this.responsivePopover.close():this.responsivePopover.showAt(this)}async _attachRealDomRefs(){this.responsivePopover=await this._respPopover(),this.options.forEach(e=>{e._getRealDomRef=()=>this.responsivePopover.querySelector(`*[data-ui5-stable=${e.stableDomRef}]`)})}_syncSelection(){let e=-1,t=-1;const o=this._filteredItems,r=o.map((n,s)=>(n.selected&&(e=s),t===-1&&(t=s),n.selected=!1,n.focused=!1,{selected:!1,focused:!1,icon:n.icon,value:n.value,textContent:n.textContent,title:n.title,additionalText:n.additionalText,id:n._id,stableDomRef:n.stableDomRef}));e>-1?(r[e].selected=!0,r[e].focused=!0,o[e].selected=!0,o[e].focused=!0,this._text=r[e].textContent,this._selectedIndex=e):(this._text="",this._selectedIndex=-1,r[t]&&(r[t].selected=!0,r[t].focused=!0,o[t].selected=!0,o[t].focused=!0,this._selectedIndex=t,this._text=o[t].textContent)),this._syncedOptions=r}_getSelectMenu(){return UN({host:this,propName:"menu",onConnect:this._attachMenuListeners,onDisconnect:this._detachMenuListeners})}attachMenuListeners(e){e.addEventListener("ui5-after-close",this._onMenuClose),e.addEventListener("ui5-after-open",this._onMenuOpen),e.addEventListener("ui5-before-open",this._onMenuBeforeOpen),e.addEventListener("ui5-option-click",this._onMenuClick),e.addEventListener("ui5-menu-change",this._onMenuChange)}detachMenuListeners(e){e.removeEventListener("ui5-after-close",this._onMenuClose),e.removeEventListener("ui5-after-open",this._onMenuOpen),e.removeEventListener("ui5-before-open",this._onMenuBeforeOpen),e.removeEventListener("ui5-option-click",this._onMenuClick),e.removeEventListener("ui5-menu-change",this._onMenuChange)}_enableFormSupport(){const e=Se("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.disabled=!!t.disabled,o.value=r.value}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onkeydown(e){if((It(e)||Ei(e))&&this._isPickerOpen){const o=this._getSelectMenu();o?o.close(!1,!1,!0):this.responsivePopover.close()}else Nr(e)?(e.preventDefault(),this._toggleRespPopover()):te(e)?e.preventDefault():Zi(e)&&this._isPickerOpen?this._escapePressed=!0:St(e)?this._handleHomeKey(e):si(e)?this._handleEndKey(e):de(e)?this._handleSelectionChange():(Le(e)||De(e))&&this._handleArrowNavigation(e)}_handleKeyboardNavigation(e){if(de(e)||this.readonly)return;const t=e.key.toLowerCase();this._typedChars+=t;const o=/^(.)\1+$/i.test(this._typedChars)?t:this._typedChars;clearTimeout(this._typingTimeoutID),this._typingTimeoutID=setTimeout(()=>{this._typedChars="",this._typingTimeoutID=-1},1e3),this._selectTypedItem(o)}_selectTypedItem(e){const t=this._selectedIndex,o=this._searchNextItemByText(e);if(o){const r=this.selectOptions.indexOf(o);this._changeSelectedItem(this._selectedIndex,r),t!==this._selectedIndex&&this.itemSelectionAnnounce()}}_searchNextItemByText(e){let t=this.selectOptions.slice(0);const o=t.splice(this._selectedIndex+1,t.length-this._selectedIndex),r=t.splice(0,t.length-1);return t=o.concat(r),t.find(n=>(n.displayText||n.textContent||"").toLowerCase().startsWith(e))}_handleHomeKey(e){e.preventDefault(),!this.readonly&&this._changeSelectedItem(this._selectedIndex,0)}_handleEndKey(e){if(e.preventDefault(),this.readonly)return;const t=this.selectOptions.length-1;this._changeSelectedItem(this._selectedIndex,t)}_onkeyup(e){te(e)&&(this._isPickerOpen?this._handleSelectionChange():this._toggleRespPopover())}_getSelectedItemIndex(e){return this.selectOptions.findIndex(t=>`${t._id}-li`===e.id)}_select(e){this.selectOptions[this._selectedIndex].selected=!1,this._selectedIndex!==e&&this.fireEvent("live-change",{selectedOption:this.selectOptions[e]}),this._selectedIndex=e,this.selectOptions[e].selected=!0}_handleItemPress(e){const t=e.detail.item,o=this._getSelectedItemIndex(t);this._handleSelectionChange(o)}_itemMousedown(e){e.preventDefault()}_onclick(){this.getFocusDomRef().focus(),this._toggleRespPopover()}_handleSelectionChange(e=this._selectedIndex){this._select(e),this._toggleRespPopover()}_scrollSelectedItem(){var e;if(this._isPickerOpen){const t=(e=this._currentlySelectedOption)==null?void 0:e.getDomRef();t&&t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}_handleArrowNavigation(e){if(e.preventDefault(),this.readonly)return;let t=-1;const o=this._selectedIndex;De(e)?t=this._getNextOptionIndex():t=this._getPreviousOptionIndex(),this._changeSelectedItem(this._selectedIndex,t),o!==this._selectedIndex&&(this.itemSelectionAnnounce(),this._scrollSelectedItem())}_changeSelectedItem(e,t){const o=this.selectOptions,r=o[e];r.selected=!1,r.focused=!1;const n=o[t];n.selected=!0,n.focused=!0,this._selectedIndex=t,this.fireEvent("live-change",{selectedOption:n}),this._isPickerOpen||this._fireChangeEvent(n)}_getNextOptionIndex(){const e=this._getSelectMenu();return e?this._selectedIndex===e.options.length-1?this._selectedIndex:this._selectedIndex+1:this._selectedIndex===this.options.length-1?this._selectedIndex:this._selectedIndex+1}_getPreviousOptionIndex(){return this._selectedIndex===0?this._selectedIndex:this._selectedIndex-1}_beforeOpen(){this._selectedIndexBeforeOpen=this._selectedIndex,this._lastSelectedOption=this.selectOptions[this._selectedIndex]}_afterOpen(){this.opened=!0,this.fireEvent("open"),this.itemSelectionAnnounce(),this._scrollSelectedItem()}_afterClose(){this.opened=!1,this._iconPressed=!1,this._listWidth=0,this._escapePressed?(this._select(this._selectedIndexBeforeOpen),this._escapePressed=!1):this._lastSelectedOption!==this.selectOptions[this._selectedIndex]&&(this._fireChangeEvent(this.selectOptions[this._selectedIndex]),this._lastSelectedOption=this.selectOptions[this._selectedIndex]),this.fireEvent("close")}get selectOptions(){const e=this._getSelectMenu();return e?e.options:this._filteredItems}get hasCustomLabel(){return!!this.label.length}_fireChangeEvent(e){const t=!this.fireEvent("change",{selectedOption:e},!0);this.selectedItem=e.textContent,this.fireEvent("selected-item-changed"),t&&(this.selectedItem=this._lastSelectedOption.textContent,this._select(this._selectedIndexBeforeOpen))}get valueStateTextMappings(){return{[y.Success]:Si.i18nBundle.getText($r),[y.Information]:Si.i18nBundle.getText(Yr),[y.Error]:Si.i18nBundle.getText(wr),[y.Warning]:Si.i18nBundle.getText(kr)}}get valueStateTypeMappings(){return{[y.Success]:Si.i18nBundle.getText(As),[y.Information]:Si.i18nBundle.getText(Bs),[y.Error]:Si.i18nBundle.getText(Is),[y.Warning]:Si.i18nBundle.getText(Cs)}}get valueStateText(){let e;return this.shouldDisplayDefaultValueStateMessage?e=this.valueStateDefaultText:e=this.valueStateMessageText.map(t=>t.textContent).join(" "),`${this.valueStateTypeText} ${e}`}get valueStateDefaultText(){return this.valueState!==y.None?this.valueStateTextMappings[this.valueState]:""}get valueStateTypeText(){return this.valueState!==y.None?this.valueStateTypeMappings[this.valueState]:""}get hasValueState(){return this.valueState!==y.None}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:void 0}get isDisabled(){return this.disabled||void 0}get _headerTitleText(){return Si.i18nBundle.getText(Ss)}get _currentlySelectedOption(){return this.selectOptions[this._selectedIndex]}get _effectiveTabIndex(){return this.disabled||this.responsivePopover&&this.responsivePopover.opened?"-1":"0"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get iconsCount(){return this.selectedOptionIcon?2:1}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{popoverHeader:{"max-width":`${this.offsetWidth}px`},responsivePopoverHeader:{display:this._filteredItems.length&&this._listWidth===0?"none":"inline-block",width:`${this._filteredItems.length?this._listWidth:this.offsetWidth}px`},responsivePopover:{"min-width":`${this.offsetWidth}px`}}}get ariaLabelText(){return Wt(this)}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessageText.length&&this.hasValueStateText}get hasValueStateText(){return this.hasValueState&&this.valueState!==y.Success}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this._iconPressed&&!this._isPickerOpen&&!this._isPhone}get _ariaRoleDescription(){return Si.i18nBundle.getText(W2)}get _isPhone(){return G()}get _filteredItems(){return this.options.filter(e=>!e.disabled)}itemSelectionAnnounce(){let e;const t=this.selectOptions.length,o=Si.i18nBundle.getText(Qu,this._selectedIndex+1,t);this.focused&&this._currentlySelectedOption&&(e=`${this._currentlySelectedOption.textContent} ${this._isPickerOpen?o:""}`,gl(e,ha.Polite))}async openValueStatePopover(){this.valueStatePopover=await this._getPopover(),this.valueStatePopover&&this.valueStatePopover.showAt(this)}closeValueStatePopover(){this.valueStatePopover&&this.valueStatePopover.close()}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}get selectedOptionIcon(){return this.selectedOption&&this.selectedOption.icon}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}static async onDefine(){Si.i18nBundle=await oe("@ui5/webcomponents")}};Pt([u({validator:id})],lt.prototype,"menu",void 0);Pt([u({type:Boolean})],lt.prototype,"disabled",void 0);Pt([u()],lt.prototype,"name",void 0);Pt([u({type:y,defaultValue:y.None})],lt.prototype,"valueState",void 0);Pt([u({type:Boolean})],lt.prototype,"required",void 0);Pt([u({type:Boolean})],lt.prototype,"readonly",void 0);Pt([u()],lt.prototype,"accessibleName",void 0);Pt([u()],lt.prototype,"accessibleNameRef",void 0);Pt([u({type:String,noAttribute:!0})],lt.prototype,"_text",void 0);Pt([u({type:Boolean,noAttribute:!0})],lt.prototype,"_iconPressed",void 0);Pt([u({type:Boolean})],lt.prototype,"opened",void 0);Pt([u({validator:z,defaultValue:0,noAttribute:!0})],lt.prototype,"_listWidth",void 0);Pt([u({type:Boolean})],lt.prototype,"focused",void 0);Pt([u({validator:z,defaultValue:-1,noAttribute:!0})],lt.prototype,"_selectedIndex",void 0);Pt([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],lt.prototype,"options",void 0);Pt([F()],lt.prototype,"formSupport",void 0);Pt([F()],lt.prototype,"valueStateMessage",void 0);Pt([F()],lt.prototype,"label",void 0);lt=Si=Pt([B({tag:"ui5-select",languageAware:!0,renderer:ee,template:WN,staticAreaTemplate:XN,styles:n4,staticAreaStyles:[Wo,On,a4],dependencies:[yk,Os,wo,fo,xr,Ra,Ie,Fe]}),$("change",{detail:{selectedOption:{type:HTMLElement}}}),$("live-change",{detail:{selectedOption:{type:HTMLElement}}}),$("open"),$("close")],lt);lt.define();const s4=lt;function l4(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} class="ui5-select-menu" placement-type="Bottom" horizontal-align="Left" @ui5-after-open="${a(this._onAfterOpen)}" @ui5-after-close="${a(this._onAfterClose)}" @ui5-before-open="${a(this._onBeforeOpen)}" hide-arrow _disable-initial-focus style=${S(this.styles.responsivePopover)}>${this._isPhone?Lg.call(this,i,e,t):void 0}${this._isPhone?void 0:Ng.call(this,i,e,t)}<${d("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOptionClick)}">`:c`${this._isPhone?Lg.call(this,i,e,t):void 0}${this._isPhone?void 0:Ng.call(this,i,e,t)}`}function Lg(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._onCloseBtnClick}">
    ${this.hasValueState?Mg.call(this,i,e,t):void 0}
    `:c`
    ${a(this._headerTitleText)}
    ${this.hasValueState?Mg.call(this,i,e,t):void 0}
    `}function Mg(i,e,t){return c`
    ${this.hasValueStateSlot?c4.call(this,i,e,t):d4.call(this,i,e,t)}
    `}function c4(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>u4.call(this,i,e,t,o,r))}`}function u4(i,e,t,o,r){return c`${a(o)}`}function d4(i,e,t){return c`${a(this.valueStateText)}`}function Ng(i,e,t){return c`${this.hasValueState?_4.call(this,i,e,t):void 0}`}function _4(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.hasValueStateSlot?Fg.call(this,i,e,t):zg.call(this,i,e,t)}
    `:c`
    ${this.hasValueStateSlot?Fg.call(this,i,e,t):zg.call(this,i,e,t)}
    `}function Fg(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>h4.call(this,i,e,t,o,r))}`}function h4(i,e,t,o,r){return c`${a(o)}`}function zg(i,e,t){return c`${a(this.valueStateText)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const p4={packageName:"@ui5/webcomponents",fileName:"themes/SelectMenu.css.ts",content:`.ui5-select-menu::part(content),.ui5-select-menu::part(header){padding:0}.ui5-select-menu [ui5-li-custom]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-menu [ui5-li-custom]::part(native-li){padding:0}.ui5-select-menu [ui5-icon]{color:var(--sapList_TextColor)} +`};var Qr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let zo=class extends j{constructor(){super(),this.valueStateMessageText=[]}showAt(e,t){this.selectWidth=t,this.respPopover.open=!0,this.respPopover.opener=e,this.hasValueState=!!e.hasValueState,this.hasValueStateSlot=e.valueStateMessageText.length>0,this.valueStateText=e.valueStateText,this.valueStateMessageText=e.valueStateMessageText,this.valueState=e.valueState,this._headerTitleText=e._headerTitleText}close(e=!1,t=!1,o=!1){this.respPopover.close(e,t,o)}onBeforeRendering(){this._syncSelection()}_syncSelection(){let e=-1,t=-1,o,r;const n=this.options;if(n.forEach((s,l)=>(s.selected&&(e=l),t===-1&&(t=l),s.selected=!1,s.focused=!1,s)),e>-1){const s=n[e];s.selected=!0,s.focused=!0,o=s.displayText||String(s.textContent),r=e}else{o="",r=-1;const s=n[t];s&&(s.selected=!0,s.focused=!0,r=t,o=s.displayText||String(s.textContent))}this.fireEvent("menu-change",{text:o,selectedIndex:r})}_onOptionClick(e){const t=e.detail.item,o=this.options.findIndex(r=>t.__id===r.__id);this.fireEvent("option-click",{option:t,optionIndex:o})}_onBeforeOpen(){this.fireEvent("before-open")}_onAfterOpen(){this.fireEvent("after-open")}_onAfterClose(){this.fireEvent("after-close")}_onCloseBtnClick(){this.close()}get open(){var e;return!!((e=this.respPopover)!=null&&e.open)}get respPopover(){return this.shadowRoot.querySelector(".ui5-select-menu")}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{valueStatePopover:{width:`${this.selectWidth}px`},responsivePopover:{"min-width":`${this.selectWidth}px`}}}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get _isPhone(){return G()}};Qr([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],zo.prototype,"options",void 0);Qr([u({validator:z})],zo.prototype,"selectWidth",void 0);Qr([u({type:Boolean})],zo.prototype,"hasValueState",void 0);Qr([u({type:Boolean})],zo.prototype,"hasValueStateSlot",void 0);Qr([u({type:y,defaultValue:y.None})],zo.prototype,"valueState",void 0);Qr([u()],zo.prototype,"valueStateText",void 0);Qr([u({type:String,noAttribute:!0})],zo.prototype,"value",void 0);Qr([u({type:String,noAttribute:!0})],zo.prototype,"selectId",void 0);zo=Qr([B({tag:"ui5-select-menu",renderer:ee,styles:[p4,On,Wo],template:l4,dependencies:[wo,xr,Fe]}),$("option-click",{detail:{option:{type:HTMLElement},optionIndex:{type:z}}}),$("before-open"),$("after-open"),$("after-close"),$("menu-change",{detail:{text:{type:String},selectedIndex:{type:z}}})],zo);zo.define();function wk(i,e,t){return c`
  • ${this.placeSelectionElementBefore?v4.call(this,i,e,t):void 0}
    ${this.typeDetail?w4.call(this,i,e,t):void 0}${this.typeNavigation?k4.call(this,i,e,t):void 0}${this.navigated?$4.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?T4.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function v4(i,e,t){return c`${this.modeSingleSelect?f4.call(this,i,e,t):void 0}${this.modeMultiSelect?m4.call(this,i,e,t):void 0}${this.renderDeleteButton?g4.call(this,i,e,t):void 0}`}function f4(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function m4(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function g4(i,e,t){return c`
    ${this.hasDeleteButtonSlot?b4.call(this,i,e,t):y4.call(this,i,e,t)}
    `}function b4(i,e,t){return c``}function y4(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}function w4(i,e,t){return t?c`
    <${d("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:c`
    `}function k4(i,e,t){return t?c`<${d("ui5-icon",e,t)} name ="slim-arrow-right">`:c``}function $4(i,e,t){return c`
    `}function T4(i,e,t){return c`${this.modeSingleSelect?x4.call(this,i,e,t):void 0}${this.modeMultiSelect?S4.call(this,i,e,t):void 0}${this.renderDeleteButton?I4.call(this,i,e,t):void 0}`}function x4(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function S4(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function I4(i,e,t){return c`
    ${this.hasDeleteButtonSlot?C4.call(this,i,e,t):A4.call(this,i,e,t)}
    `}function C4(i,e,t){return c``}function A4(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const B4={packageName:"@ui5/webcomponents",fileName:"themes/CustomListItem.css.ts",content:`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_custom_list_item_rb_min_width)} +`};var kk=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Gl=class extends ka{_onkeydown(e){!(It(e)||Ei(e))&&!this.focused||super._onkeydown(e)}_onkeyup(e){!(It(e)||Ei(e))&&!this.focused||super._onkeyup(e)}get classes(){const e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}};kk([u()],Gl.prototype,"accessibleName",void 0);Gl=kk([B({tag:"ui5-li-custom",template:wk,styles:[ka.styles,B4]})],Gl);Gl.define();const mv=Gl;var Ln=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let fr=class extends mv{get stableDomRef(){return""}get _accInfo(){const e={ariaSelected:this.selected};return{...super._accInfo,...e}}};Ln([u()],fr.prototype,"displayText",void 0);Ln([u({type:Boolean})],fr.prototype,"disabled",void 0);Ln([u()],fr.prototype,"value",void 0);Ln([u({type:Ft,defaultValue:Ft.Active})],fr.prototype,"type",void 0);Ln([u({type:Object})],fr.prototype,"accessibilityAttributes",void 0);Ln([u({type:Boolean})],fr.prototype,"navigated",void 0);Ln([F()],fr.prototype,"deleteButton",void 0);fr=Ln([B({tag:"ui5-select-menu-option",renderer:ee,styles:mv.styles,template:wk,dependencies:[]})],fr);fr.define();function E4(i,e,t){return t?c`
    <${d("ui5-button",e,t)} class="ui5-split-text-button" design="${a(this.design)}" dir=${a(this.effectiveDir)} icon="${a(this._textButtonIcon)}" tabindex="-1" ?disabled="${this.disabled}" ?active="${this._textButtonActive}" @click="${this._handleMouseClick}" @touchstart=${this._textButtonPress} @mousedown=${this._textButtonPress} @mouseup=${this._textButtonRelease} @focusin=${this._textButtonFocusIn} @focusout=${this._onFocusOut}>${this.isTextButton?Vg.call(this,i,e,t):void 0}<${d("ui5-button",e,t)} dir=${a(this.effectiveDir)} class="ui5-split-arrow-button" design="${a(this.design)}" icon="slim-arrow-down" tabindex="-1" ?disabled="${this.disabled}" ?active="${this.effectiveActiveArrowButton}" aria-expanded="${a(this.accessibilityInfo.ariaExpanded)}" aria-haspopup="${a(this.accessibilityInfo.ariaHaspopup)}" @click="${this._handleArrowButtonAction}" @mousedown=${this._arrowButtonPress} @mouseup=${this._arrowButtonRelease} @focusin=${this._setTabIndexValue} @ui5-_active-state-change=${a(this._onArrowButtonActiveStateChange)}>${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `:c`
    ${this.isTextButton?Vg.call(this,i,e,t):void 0}${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `}function Vg(i,e,t){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const D4={packageName:"@ui5/webcomponents",fileName:"themes/SplitButton.css.ts",content:`: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-flex;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_button_border_radius);background-color:var(--sapButton_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_default_box_shadow)}:host([active-arrow-button][design="Negative"]) .ui5-split-arrow-button,:host([design="Negative"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Reject_Selected_Background);border:.0625rem solid var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([active-arrow-button][design="Positive"]) .ui5-split-arrow-button,:host([design="Positive"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Accept_Selected_Background);border:.0625rem solid var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([active-arrow-button][design="Attention"]) .ui5-split-arrow-button,:host([design="Attention"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Attention_Selected_Background);border:.0625rem solid var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([active-arrow-button][design="Emphasized"]) .ui5-split-arrow-button,:host([design="Emphasized"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Emphasized_Active_Background);border:.0625rem solid var(--sapButton_Emphasized_Active_BorderColor)}:host([active-arrow-button][design="Transparent"]) .ui5-split-arrow-button,:host([active-arrow-button]) .ui5-split-arrow-button,:host([design="Transparent"]) .ui5-split-arrow-button[active],:host([design="Default"]) .ui5-split-arrow-button[active],.ui5-split-arrow-button[active],.ui5-split-arrow-button[active]:hover{background-color:var(--sapButton_Active_Background);border:.0625rem solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([disabled]:not([hidden])){pointer-events:none}:host([design="Positive"]:not([hidden])){background-color:var(--sapButton_Accept_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_positive_box_shadow)}:host([design="Negative"]:not([hidden])){background-color:var(--sapButton_Reject_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_negative_box_shadow)}:host([design="Attention"]:not([hidden])){background-color:var(--sapButton_Attention_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_attention_box_shadow)}:host([design="Emphasized"]:not([hidden])){background-color:var(--sapButton_Emphasized_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_emphasized_box_shadow)}:host([design="Transparent"]:not([hidden])){background-color:var(--sapButton_Lite_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_box_shadow)}:host([design="Transparent"][disabled]:not([hidden])){background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_disabled_background)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_box_shadow)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button:not(:hover),:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-text-button:not(:hover){color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_color)}:host([focused]) .ui5-split-button-root{outline:0}:host([focused]) .ui5-split-button-root:after{content:"";position:absolute;box-sizing:border-box;inset:.125rem;border:var(--_ui5-v1-22-1-rc-0_split_button_focused_border);pointer-events:none;border-radius:var(--_ui5-v1-22-1-rc-0_split_button_focused_border_radius)}:host([design="Emphasized"][focused]) .ui5-split-button-root:after{border-color:var(--sapContent_ContrastFocusColor)}.ui5-split-button-root{display:inline-flex;position:relative;width:inherit}.ui5-split-button-root:focus,.ui5-split-text-button:focus,.ui5-split-arrow-button:focus{outline:0}.ui5-split-text-button{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-width:.0625rem;border-inline-end-width:var(--_ui5-v1-22-1-rc-0_split_button_text_button_right_border_width);border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);vertical-align:top;flex-grow:1}.ui5-split-text-button:hover{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border_right)}.ui5-split-text-button[design=Emphasized]{border:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border);border-width:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border_width)}.ui5-split-text-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background)}.ui5-split-text-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_right)}.ui5-split-text-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_right)}.ui5-split-text-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_right)}.ui5-split-text-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_right)}.ui5-split-text-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border-color:var(--sapButton_Emphasized_Active_BorderColor)}.ui5-split-text-button[active][design=Negative]{background-color:var(--sapButton_Reject_Selected_Background);color:var(--sapButton_Reject_Active_TextColor);border-color:var(--sapButton_Reject_Active_BorderColor)}.ui5-split-text-button[active][design=Positive]{background-color:var(--sapButton_Accept_Selected_Background);color:var(--sapButton_Accept_Active_TextColor);border-color:var(--sapButton_Accept_Active_BorderColor)}.ui5-split-text-button[active][design=Attention]{background-color:var(--sapButton_Attention_Selected_Background);color:var(--sapButton_Attention_Active_TextColor);border-color:var(--sapButton_Attention_Active_BorderColor)}.ui5-split-text-button[active][design=Default],.ui5-split-text-button[active][design=Transparent]{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor);border-color:var(--sapButton_Active_BorderColor)}.ui5-split-text-button[active]{outline:0}.ui5-split-arrow-button{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);width:2.25rem;border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);position:relative;border-width:.0625rem;overflow:visible}.ui5-split-arrow-button:hover{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_hover_border)}.ui5-split-arrow-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border);box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow, none)}[dir=rtl].ui5-split-arrow-button[design=Emphasized]:hover{box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow_rtl, none)}.ui5-split-arrow-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_positive_hover_border)}.ui5-split-arrow-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_negative_hover_border)}.ui5-split-arrow-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_attention_hover_border)}.ui5-split-arrow-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_transparent_hover_border)}.ui5-split-arrow-button:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;width:.0625rem;background-color:var(--sapButton_TextColor);inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height)}.ui5-split-arrow-button[design=Emphasized]:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);inset-inline-end:0;height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height);width:.0625rem}.ui5-split-text-button:hover+.ui5-split-arrow-button:before,.ui5-split-arrow-button:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display)}.ui5-split-arrow-button[design=Emphasized]:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display_emphasized)}.ui5-split-arrow-button[design=Transparent]:before{background-color:var(--sapButton_Lite_TextColor)}.ui5-split-arrow-button[design=Emphasized]:before{background-color:var(--sapButton_Emphasized_TextColor)}.ui5-split-arrow-button[design=Positive]:before{background-color:var(--sapButton_Accept_TextColor)}.ui5-split-arrow-button[design=Negative]:before{background-color:var(--sapButton_Reject_TextColor)}.ui5-split-arrow-button[design=Attention]:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color_default)}.ui5-split-arrow-button[focused]::part(button):after{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[focused]::part(button):after{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[active][design=Emphasized]{color:var(--sapButton_Emphasized_Active_TextColor);background-color:var(--sapButton_Emphasized_Active_Background)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button,.ui5-split-arrow-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border)}:host([design="Transparent"][active-arrow-button]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button{color:var(--sapButton_Active_TextColor)}:host([active-arrow-button]) .ui5-split-arrow-button{border:.0625rem solid var(--sapButton_Lite_Active_BorderColor)}:host([active-arrow-button]) .ui5-split-arrow-button:before,.ui5-split-arrow-button[active]:before,.ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--sapButton_TextColor)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Emphasized"]) .ui5-split-arrow-button[active]:before,:host([design="Emphasized"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_emphasized_separator_color)}:host([design="Positive"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Positive"]) .ui5-split-arrow-button[active]:before,:host([design="Positive"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_positive_separator_color)}:host([design="Negative"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Negative"]) .ui5-split-arrow-button[active]:before,:host([design="Negative"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_negative_separator_color)}:host([design="Attention"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Attention"]) .ui5-split-arrow-button[active]:before,:host([design="Attention"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color)} +`};var _i=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ea;let Ut=ea=class extends j{static async onDefine(){ea.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super(),this._isDefaultActionPressed=!1,this._isKeyDownOperation=!1;const e=()=>{this._textButtonActive=!0,this.focused=!1,this._tabIndex="-1"};this._textButtonPress={handleEvent:e,passive:!0}}_manageFocus(e){[this.textButton,this.arrowButton,this].forEach(o=>{o.focused=o===e})}onBeforeRendering(){this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this.disabled&&(this._tabIndex="-1")}_handleMouseClick(e){const t=e.target;this._manageFocus(t),this._fireClick(e)}_onFocusOut(e){this.disabled||pa(e)||(this._shiftOrEscapePressed=!1,this._setTabIndexValue(),this._manageFocus())}_onFocusIn(e){this.disabled||pa(e)||(this._shiftOrEscapePressed=!1,this._manageFocus(this))}_textButtonFocusIn(e){e==null||e.stopPropagation(),this._manageFocus(this.textButton),this._setTabIndexValue()}_onKeyDown(e){this._isKeyDownOperation=!0,this._isArrowKeyAction(e)?(this._handleArrowButtonAction(e),this._activeArrowButton=!0):this._isDefaultAction(e)&&(this._handleDefaultAction(e),this._isDefaultActionPressed=!0),this._spacePressed&&this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._isDefaultActionPressed&&(It(e)||Ei(e))&&(this._activeArrowButton=!1,this._textButtonActive=!1),this._tabIndex="-1"}_onKeyUp(e){this._isKeyDownOperation=!1,this._isArrowKeyAction(e)?(e.preventDefault(),this._activeArrowButton=!1,this._textButtonActive=!1):this._isDefaultAction(e)&&(this._isDefaultActionPressed=!1,this._textButtonActive=!1,te(e)&&(e.preventDefault(),e.stopPropagation(),this._fireClick(),this._spacePressed=!1,this._textButtonActive=!1)),this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._tabIndex="-1"}_fireClick(e){e==null||e.stopPropagation(),this._shiftOrEscapePressed||this.fireEvent("click"),this._shiftOrEscapePressed=!1}_fireArrowClick(e){e==null||e.stopPropagation(),this.fireEvent("arrow-click")}_textButtonRelease(){this._textButtonActive=!1,this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this._tabIndex="-1"}_arrowButtonPress(e){e.preventDefault(),this.arrowButton.focus(),this._tabIndex="-1"}_arrowButtonRelease(e){e.preventDefault(),this._tabIndex="-1"}_setTabIndexValue(){var e,t;this._tabIndex=this.disabled?"-1":"0",this._tabIndex==="-1"&&((e=this.textButton)!=null&&e.focused||(t=this.arrowButton)!=null&&t.focused)&&(this._tabIndex="0")}_onArrowButtonActiveStateChange(e){this.activeArrowButton&&e.preventDefault()}_isArrowKeyAction(e){return De(e)||Le(e)||Tp(e)||gu(e)||Yu(e)}_isDefaultAction(e){return te(e)||de(e)}_isShiftOrEscape(e){return Zi(e)||Ix(e)}_handleArrowButtonAction(e){e.preventDefault(),this._fireArrowClick(e),te(e)&&(this._spacePressed=!0)}_handleDefaultAction(e){var o;e.preventDefault();const t=te(e);this.focused||(o=this.textButton)!=null&&o.focused?(this._textButtonActive=!0,this._fireClick(),t&&(this._spacePressed=!0)):this.arrowButton&&this.arrowButton.focused&&(this._activeArrowButton=!0,this._fireArrowClick(),t&&(this._spacePressed=!0,this._textButtonActive=!1))}_handleShiftOrEscapePressed(){this._shiftOrEscapePressed=!0,this._textButtonActive=!1,this._isKeyDownOperation=!1}get effectiveActiveArrowButton(){return this.activeArrowButton||this._activeArrowButton}get textButtonAccText(){return this.textContent}get isTextButton(){return!!this.textContent}get textButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-text-button")}get arrowButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-arrow-button")}get accessibilityInfo(){return{ariaExpanded:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaExpanded,ariaHaspopup:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaHaspopup,description:ea.i18nBundle.getText(F_),keyboardHint:ea.i18nBundle.getText(z_)}}get ariaLabelText(){return[ea.i18nBundle.getText(F_),ea.i18nBundle.getText(z_)].join(" ")}};_i([u()],Ut.prototype,"icon",void 0);_i([u()],Ut.prototype,"activeIcon",void 0);_i([u({type:Boolean})],Ut.prototype,"activeArrowButton",void 0);_i([u({type:hr,defaultValue:hr.Default})],Ut.prototype,"design",void 0);_i([u({type:Boolean})],Ut.prototype,"disabled",void 0);_i([u({defaultValue:void 0})],Ut.prototype,"accessibleName",void 0);_i([u({type:Boolean})],Ut.prototype,"focused",void 0);_i([u({type:Object})],Ut.prototype,"_splitButtonAccInfo",void 0);_i([u({defaultValue:"0",noAttribute:!0})],Ut.prototype,"_tabIndex",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_spacePressed",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_shiftOrEscapePressed",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_textButtonActive",void 0);_i([u({noAttribute:!0})],Ut.prototype,"_textButtonIcon",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_activeArrowButton",void 0);_i([F({type:Node,default:!0})],Ut.prototype,"text",void 0);Ut=ea=_i([B({tag:"ui5-split-button",renderer:ee,styles:D4,template:E4,dependencies:[Fe]}),$("click"),$("arrow-click")],Ut);Ut.define();function P4(i,e,t){return t?c`
    ${this.readonly?void 0:Hg.call(this,i,e,t)}<${d("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-step-input-input" placeholder="${a(this.placeholder)}" type="${a(this.type)}" value="${a(this._valuePrecisioned)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" ._nativeInputAttributes="${a(this.inputAttributes)}" @ui5-change="${a(this._onInputChange)}" @focusout="${this._onInputFocusOut}" @focusin="${this._onInputFocusIn}">${this.valueStateMessage.length?Ug.call(this,i,e,t):void 0}${this.readonly?void 0:Wg.call(this,i,e,t)}
    `:c`
    ${this.readonly?void 0:Hg.call(this,i,e,t)}${this.valueStateMessage.length?Ug.call(this,i,e,t):void 0}${this.readonly?void 0:Wg.call(this,i,e,t)}
    `}function Hg(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} id="${a(this._id)}-dec" name="${a(this.decIconName)}" tabindex="-1" accessible-name="${a(this.decIconTitle)}" @click="${this._decValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._decSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._decIconClickable}">
    `:c`
    `}function Ug(i,e,t){return c``}function Wg(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} id="${a(this._id)}-inc" name="${a(this.incIconName)}" tabindex="-1" accessible-name="${a(this.incIconTitle)}" @click="${this._incValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._incSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._incIconClickable}">
    `:c`
    `}const O4="less",$k="M464 224q16 0 16 16v32q0 16-16 16H48q-6 0-11-4.5T32 272v-32q0-7 5-11.5t11-4.5h416z",R4=!1,L4="SAP-icons-v4",M4="@ui5/webcomponents-icons";Y(O4,{pathData:$k,ltr:R4,collection:L4,packageName:M4});const N4="less",Tk="M454 275H58q-11 0-18.5-7T32 250t7.5-18.5T58 224h396q11 0 18.5 7.5T480 250t-7.5 18-18.5 7z",F4=!1,z4="SAP-icons-v5",V4="@ui5/webcomponents-icons";Y(N4,{pathData:Tk,ltr:F4,collection:z4,packageName:V4});we();const H4="add",xk="M32 240q0-7 5-11.5t11-4.5h176V48q0-7 5-11.5t11-4.5h32q16 0 16 16v176h176q16 0 16 16v32q0 16-16 16H288v176q0 16-16 16h-32q-6 0-11-4.5t-5-11.5V288H48q-6 0-11-4.5T32 272v-32z",U4=!1,W4=Zy,q4="SAP-icons-v4",j4="@ui5/webcomponents-icons";Y(H4,{pathData:xk,ltr:U4,accData:W4,collection:q4,packageName:j4});const G4="add",Sk="M454 230q11 0 18.5 7.5T480 256t-7.5 18.5T454 282H282v172q0 11-7.5 18.5T256 480t-18.5-7.5T230 454V282H58q-11 0-18.5-7.5T32 256t7.5-18.5T58 230h172V58q0-11 7.5-18.5T256 32t18.5 7.5T282 58v172h172z",Y4=!1,K4=Zy,X4="SAP-icons-v5",Z4="@ui5/webcomponents-icons";Y(G4,{pathData:Sk,ltr:Y4,accData:K4,collection:X4,packageName:Z4});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const Q4={packageName:"@ui5/webcomponents",fileName:"themes/StepInput.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;width:100%;line-height:normal;letter-spacing:normal;word-spacing:normal}:host{--ui5-v1-22-1-rc-0_input_focus_pseudo_element_content: none;color:var(--sapField_TextColor);background-color:var(--sapField_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style);border-radius:var(--sapField_BorderCornerRadius);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_input_height);position:relative;min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);text-align:right}:host .ui5-step-input-input{text-align:inherit}:host(:not([value-state]):not([readonly]):not([disabled])){box-shadow:none}:host(:not([value-state]):not([readonly]):not([disabled]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_step_input_border_color_hover);border:var(--_ui5-v1-22-1-rc-0_step_input_border_hover)}:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover){background-color:var(--sapField_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style_hover);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InformationShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Error"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):hover),:host([value-state="Error"]:not([readonly]):not([disabled]):hover),:host([value-state="Information"]:not([readonly]):not([disabled]):hover),:host([value-state="Warning"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0-step_input_button_state_hover_background_color)}:host(:not([value-state]):not([readonly]):not([disabled])[focused]),:host([value-state="None"]:not([readonly]):not([disabled])[focused]),:host([value-state="Success"]:not([readonly]):not([disabled])[focused]),:host([value-state="Error"]:not([readonly]):not([disabled])[focused]),:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),:host([value-state="Warning"]:not([readonly]):not([disabled])[focused]){background-color:var(--sapField_Focus_Background)}:host([value-state="Success"]:not([readonly]):not([disabled])):after,:host([value-state="Error"]:not([readonly]):not([disabled])):after,:host([value-state="None"]:not([readonly]):not([disabled])):after,:host([value-state="Information"]:not([readonly]):not([disabled])):after,:host([value-state="Warning"]:not([readonly]):not([disabled])):after{position:absolute;content:"";inset:-1px;outline:none;pointer-events:none;border-radius:var(--sapField_BorderCornerRadius);border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style);z-index:1;border-width:0px}:host([value-state="Information"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InformationColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state="Warning"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_WarningColor);border-width:2px}:host([value-state="Success"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_SuccessColor);border-width:1px}:host([value-state="Error"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InvalidColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state]):after{border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input{background-color:var(--_ui5-v1-22-1-rc-0_input_input_background_color)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input:hover{background-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_background_color)}:host([value-state]:not([value-state="None"]) .ui5-step-input-input[focused]){outline:none}:host .ui5-step-input-input{width:100%;color:inherit;background-color:inherit;border:var(--_ui5-v1-22-1-rc-0_step_input_input_border);box-sizing:border-box;vertical-align:top;margin-top:var(--_ui5-v1-22-1-rc-0_step_input_input_margin_top);min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);padding-inline-start:var(--_ui5-v1-22-1-rc-0_step_input_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_step_input_padding);position:relative;outline:none;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[readonly]{padding:0}:host .ui5-step-input-input:hover,:host .ui5-step-input-input[focused]{box-shadow:none}:host .ui5-step-input-root{white-space:nowrap;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[text-align=left]{text-align:left}:host .ui5-step-input-input[text-align=center]{text-align:center}:host .ui5-step-input-input[text-align=right]{text-align:right}:host .ui5-step-icon{position:absolute;display:var(--_ui5-v1-22-1-rc-0_step_input_button_display);height:2rem;height:100%;background-color:var(--_ui5-v1-22-1-rc-0_step_input_button_background_color);z-index:0}:host .ui5-step-icon[focused]{border:none;outline:none}:host .ui5-step-icon.ui5-step-dec{left:var(--_ui5-v1-22-1-rc-0_step_input_button_left);z-index:1}:host .ui5-step-icon.ui5-step-inc{right:var(--_ui5-v1-22-1-rc-0_step_input_button_right)}:host .ui5-step-icon *:not([clickable]),:host .ui5-step-icon *:not([clickable]):active,:host .ui5-step-icon *:not([clickable]):hover{opacity:.5;background-color:transparent;color:var(--sapContent_IconColor)}:host .ui5-step-icon :not([clickable]) *:hover,:host .ui5-step-icon :not([clickable]) *:active{background-color:var(--sapField_Background);color:var(--sapContent_IconColor)}:host .ui5-step-input-input[focused]:after{position:absolute;content:"";border:var(--_ui5-v1-22-1-rc-0_step_input_input_border_focused_after);top:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);right:0;bottom:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);border-radius:var(--_ui5-v1-22-1-rc-0_step_input_input_border_radius_focused_after);left:0;outline:none;pointer-events:none;z-index:1}:host .ui5-step-input-input[focused]{outline:none}:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_information_border_color_focused_after)}:host([value-state="Warning"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_warning_border_color_focused_after)}:host([value-state="Success"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_success_border_color_focused_after)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_border_color_focused_after)}:host .ui5-step-input-input::-webkit-outer-spin-button,:host .ui5-step-input-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host([disabled]) .ui5-step-icon{background-color:var(--_ui5-v1-22-1-rc-0_step_input_disabled_button_background)}:host([disabled]) .ui5-step-icon [ui5-icon]{color:var(--sapField_ReadOnly_BorderColor)} +`};var je=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ul;const J4=500,e8=.8,qg=50,t8=120;let He=ul=class extends j{static async onDefine(){ul.i18nBundle=await oe("@ui5/webcomponents")}get type(){return us.Number}get decIconTitle(){return ul.i18nBundle.getText(hy)}get decIconName(){return"less"}get incIconTitle(){return ul.i18nBundle.getText(py)}get incIconName(){return"add"}get _decIconClickable(){return!this._decIconDisabled&&!this.readonly&&!this.disabled}get _incIconClickable(){return!this._incIconDisabled&&!this.readonly&&!this.disabled}get _isFocused(){return this.focused}get _valuePrecisioned(){return this.value.toFixed(this.valuePrecision)}get accInfo(){return{ariaRequired:this.required,ariaLabel:Wt(this)}}get inputAttributes(){return{min:this.min===void 0?void 0:this.min,max:this.max===void 0?void 0:this.max,step:this.step}}onBeforeRendering(){this._setButtonState(),this._previousValue===void 0&&(this._previousValue=this.value);const e=Se("FormSupport");e?e.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get input(){return this.shadowRoot.querySelector("[ui5-input]")}get inputOuter(){return this.shadowRoot.querySelector(".ui5-step-input-input")}_onButtonFocusOut(){setTimeout(()=>{this._inputFocused||this.inputOuter.removeAttribute("focused")},0)}_onInputFocusIn(){this._inputFocused=!0,this.value!==this._previousValue&&(this._previousValue=this.value)}_onInputFocusOut(){this._inputFocused=!1,this._onInputChange()}_setButtonState(){this._decIconDisabled=this.min!==void 0&&this.value<=this.min,this._incIconDisabled=this.max!==void 0&&this.value>=this.max}_validate(){this._initialValueState===void 0&&(this._initialValueState=this.valueState),this._updateValueState()}_updateValueState(){const e=!(this.min!==void 0&&this.valuethis.max),t=this.valueState;this.valueState=e?y.None:y.Error,!this.fireEvent("value-state-change",{valueState:this.valueState,valid:e},!0)&&(this.valueState=t)}_preciseValue(e){const t=10**this.valuePrecision;return Math.round(e*t)/t}_fireChangeEvent(){this._previousValue!==this.value&&(this._previousValue=this.value,this.fireEvent("change",{value:this.value}))}_modifyValue(e,t=!1){let o;this.value=this._preciseValue(parseFloat(this.input.value)),o=this.value+e,this.min!==void 0&&othis.max&&(o=this.max),o=this._preciseValue(o),o!==this.value&&(this.value=o,this._validate(),this._setButtonState(),this.focused=!0,this.inputOuter.setAttribute("focused",""),t?this._fireChangeEvent():this.input.focus())}_incValue(e){this._incIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(this.step,!0),this._previousValue=this.value)}_decValue(e){this._decIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(-this.step,!0),this._previousValue=this.value)}_onInputChange(){this.input.value===""&&(this.input.value=this.min||0);const e=this._preciseValue(parseFloat(this.input.value));(this.value!==this._previousValue||this.value!==e)&&(this.value=e,this._validate(),this._setButtonState(),this._fireChangeEvent())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}_onkeydown(e){let t=!0;if(!(this.disabled||this.readonly)){if(de(e)){this._onInputChange();return}Le(e)?this._modifyValue(this.step):De(e)?this._modifyValue(-this.step):Zi(e)?(this.value=this._previousValue,this.input.value=this.value.toFixed(this.valuePrecision)):this.max!==void 0&&(ns(e)||yx(e))?this._modifyValue(this.max-this.value):this.min!==void 0&&(lc(e)||wx(e))?this._modifyValue(this.min-this.value):!Lr(e)&&!Mr(e)&&!cr(e)&&!Ro(e)&&(t=!1),t&&e.preventDefault()}}_decSpin(){this._decIconDisabled||this._spinValue(!1,!0)}_incSpin(){this._incIconDisabled||this._spinValue(!0,!0)}_calcWaitTimeout(){return this._speed*=e8,this._waitTimeout=this._waitTimeout-this._speed{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}_resetSpinOut(){this._btnDown&&(this._resetSpin(),this._fireChangeEvent())}};je([u({validator:Ti,defaultValue:0})],He.prototype,"value",void 0);je([u({validator:Ti})],He.prototype,"min",void 0);je([u({validator:Ti})],He.prototype,"max",void 0);je([u({validator:Ti,defaultValue:1})],He.prototype,"step",void 0);je([u({type:y,defaultValue:y.None})],He.prototype,"valueState",void 0);je([u({type:Boolean})],He.prototype,"required",void 0);je([u({type:Boolean})],He.prototype,"disabled",void 0);je([u({type:Boolean})],He.prototype,"readonly",void 0);je([u({defaultValue:void 0})],He.prototype,"placeholder",void 0);je([u()],He.prototype,"name",void 0);je([u({validator:z,defaultValue:0})],He.prototype,"valuePrecision",void 0);je([u()],He.prototype,"accessibleName",void 0);je([u({defaultValue:""})],He.prototype,"accessibleNameRef",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_decIconDisabled",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_incIconDisabled",void 0);je([u({type:Boolean})],He.prototype,"focused",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_inputFocused",void 0);je([u({validator:Ti,noAttribute:!0})],He.prototype,"_previousValue",void 0);je([u({validator:Ti,noAttribute:!0})],He.prototype,"_waitTimeout",void 0);je([u({validator:Ti,noAttribute:!0})],He.prototype,"_speed",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_btnDown",void 0);je([u({validator:z,noAttribute:!0})],He.prototype,"_spinTimeoutId",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_spinStarted",void 0);je([F()],He.prototype,"valueStateMessage",void 0);je([F()],He.prototype,"formSupport",void 0);He=ul=je([B({tag:"ui5-step-input",renderer:ee,styles:Q4,template:P4,dependencies:[Ie,vr]}),$("change"),$("value-state-change",{detail:{valueState:{type:String},valid:{type:Boolean}}})],He);He.define();function i8(i,e,t){return t?c`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?jg.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?Gg.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?Yg.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:c`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?jg.call(this,i,e,t):void 0}
    ${this.showTooltip?Gg.call(this,i,e,t):void 0}
    ${this.showTooltip?Yg.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function jg(i,e,t){return c`${this.showTickmarks?o8.call(this,i,e,t):void 0}`}function o8(i,e,t){return c`
      ${E(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>r8.call(this,i,e,t,o,r))}
    ${this.labelInterval?s8.call(this,i,e,t):void 0}`}function r8(i,e,t,o,r){return c`${o?n8.call(this,i,e,t,o,r):a8.call(this,i,e,t,o,r)}`}function n8(i,e,t,o,r){return c`
  • `}function a8(i,e,t,o,r){return c`
  • `}function s8(i,e,t){return c`
      ${E(this._labels,(o,r)=>o._id||r,(o,r)=>l8.call(this,i,e,t,o,r))}
    `}function l8(i,e,t,o,r){return c`
  • ${a(o)}
  • `}function Gg(i,e,t){return c`
    ${a(this.tooltipStartValue)}
    `}function Yg(i,e,t){return c`
    ${a(this.tooltipEndValue)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const c8={packageName:"@ui5/webcomponents",fileName:"themes/RangeSlider.css.ts",content:`:host([ui5-range-slider]) .ui5-slider-progress-container:before{background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_background)}.ui5-slider-root:hover:active .ui5-slider-handle:not(:focus){background:var(--sapSlider_RangeHandleBackground)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus){background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_active_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);box-shadow:none}:host([range-pressed]) .ui5-slider-handle [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-root:not(.ui5-slider-root-phone):focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background_focus)}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus [slider-icon]{display:none}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-progress:focus:before{display:var(--_ui5-v1-22-1-rc-0_range_slider_legacy_progress_focus_display);content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_width);border:var(--_ui5-v1-22-1-rc-0_slider_progress_outline);border-radius:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_radius);top:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset);height:var(--_ui5-v1-22-1-rc-0_slider_outer_height);box-sizing:border-box;left:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset_left)}.ui5-slider-progress{position:relative}.ui5-slider-progress:focus:after{border:.125rem solid var(--sapContent_FocusColor);border-radius:.5rem;content:"";display:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_display);position:absolute;top:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top);left:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left);padding:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_padding);width:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width);height:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height);box-sizing:border-box}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_bg)}.ui5-slider-root:hover .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_icon_display)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_active_handle_icon_display)} +`};var md=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},hn;let ps=hn=class extends sr{constructor(){super(),this._isPressInCurrentRange=!1,this._handeIsPressed=!1,this._reversedValues=!1,this._stateStorage.startValue=void 0,this._stateStorage.endValue=void 0}get tooltipStartValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.startValue.toFixed(t)}get tooltipEndValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.endValue.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return hn.i18nBundle.getText(f0)}get _ariaHandlesText(){const e=this.effectiveDir==="rtl",t=this._areValuesReversed(),o={};return e&&!t||!e&&t?(o.startHandleText=hn.i18nBundle.getText(N_),o.endHandleText=hn.i18nBundle.getText(M_)):(o.startHandleText=hn.i18nBundle.getText(M_),o.endHandleText=hn.i18nBundle.getText(N_)),o}get _ariaValueNow(){return Math.abs(this.endValue-this.startValue)}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))}syncUIAndState(){if(this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","startValue","endValue")){this.storePropertyState("min","max");const e=sr.clipValue(this.startValue,this._effectiveMin,this._effectiveMax);this.startValue=e,this.updateStateStorageAndFireInputEvent("startValue"),this.storePropertyState("startValue");const t=sr.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.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._setAffectedValue(void 0),this._startValueInitial=void 0,this._endValueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.HIDDEN)}_onkeyup(){super._onkeyup(),this._setAffectedValue(void 0),(this.startValue!==this._startValueAtBeginningOfAction||this.endValue!==this._endValueAtBeginningOfAction)&&this.fireEvent("change"),this._startValueAtBeginningOfAction=void 0,this._endValueAtBeginningOfAction=void 0}_handleActionKeyPress(e){if(this._startValueAtBeginningOfAction=this.startValue,this._endValueAtBeginningOfAction=this.endValue,Zi(e)){this.update(void 0,this._startValueInitial,this._endValueInitial);return}this._setAffectedValueByFocusedElement();const t=this._effectiveMin,o=this._effectiveMax,r=this._valueAffected;if((si(e)||St(e))&&!r){this._homeEndForSelectedRange(e,St(e)?"startValue":"endValue",t,o);return}const n=this._handleActionKeyPressBase(e,r);if(!n)return;const s=this.constructor;if(r&&!this._isPressInCurrentRange){const l=this[r],_=s.clipValue(n+l,t,o);this.update(r,_,void 0)}else if(n<0&&this.startValue>t||n>0&&this.endValue=n.left&&e<=n.right,_=e>=s.left&&e<=s.right;(_||l)&&(this._handeIsPressed=!0),(_||t>this.endValue)&&this._setAffectedValue("endValue"),(l||t=this._startValueAtBeginningOfAction&&t<=this._endValueAtBeginningOfAction;this._setIsPressInCurrentRange(this._valueAffected||this._handeIsPressed?!1:p)}_setAffectedValue(e){this._valueAffected=e,this._areValuesReversed()&&this._setValuesAreReversed()}_setIsPressInCurrentRange(e){this._isPressInCurrentRange=e}focusInnerElement(){const e=this._areValuesReversed(),t=this._valueAffected;(this._isPressInCurrentRange||!t)&&this._progressBar.focus(),(t==="startValue"&&!e||t==="endValue"&&e)&&this._startHandle.focus(),(t==="endValue"&&!e||t==="startValue"&&e)&&this._endHandle.focus()}_calculateRangeOffset(e,t){if(this._initialPageXPosition===e)return[this.startValue,this.endValue];const o=this._effectiveMin,r=this._effectiveMax,n=this.endValue-this.startValue;let s=this._calculateStartValueByOffset(e,t);return s=this.constructor.clipValue(s,o,r-n),[s,s+n]}_calculateStartValueByOffset(e,t){const o=this._effectiveMin,r=this._effectiveMax,n=this._effectiveStep,s=this.getBoundingClientRect();let l,_,p;const v=this.constructor;return e>this._initialPageXPosition?(p=e-this._initialPageXPosition,_=t+p,l=v.computedValueFromPageX(_,o,r,s,this.directionStart),l=v.getSteppedValue(l,n,o)):(p=this._initialPageXPosition-e,_=t-p,l=v.computedValueFromPageX(_,o,r,s,this.directionStart),l=v.getSteppedValue(l,n,o)),l}_updateHandlesAndRange(e){const t=this._effectiveMax,o=this._effectiveMin,r=this.getStoredPropertyState("startValue")||0,n=this.getStoredPropertyState("endValue")||0,s=this._valueAffected;s==="startValue"?(this._selectedRange=(n-e)/(t-o),this._firstHandlePositionFromStart=(e-o)/(t-o)*100):s==="endValue"?(this._selectedRange=(e-r)/(t-o),this._secondHandlePositionFromStart=(e-o)/(t-o)*100):(this._selectedRange=(this.endValue-this.startValue)/(t-o),this._firstHandlePositionFromStart=(this.startValue-o)/(t-o)*100,this._secondHandlePositionFromStart=(this.endValue-o)/(t-o)*100)}_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,n=this._effectiveMin+o*this.step<=this.endValue;t.push(r&&n)}return t}get _startHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--start")}get _endHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--end")}get _progressBar(){return this.shadowRoot.querySelector(".ui5-slider-progress")}get _ariaLabelledByStartHandleRefs(){return[`${this._id}-accName`,`${this._id}-startHandleDesc`].join(" ").trim()}get _ariaLabelledByEndHandleRefs(){return[`${this._id}-accName`,`${this._id}-endHandleDesc`].join(" ").trim()}get _ariaLabelledByProgressBarRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}get styles(){return{progress:{width:`${this._selectedRange*100}%`,"transform-origin":`${this.directionStart} top`,[this.directionStart]:`${this._firstHandlePositionFromStart}%`},startHandle:{[this.directionStart]:`${this._firstHandlePositionFromStart}%`},endHandle:{[this.directionStart]:`${this._secondHandlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}static async onDefine(){hn.i18nBundle=await oe("@ui5/webcomponents")}};md([u({validator:Ti,defaultValue:0})],ps.prototype,"startValue",void 0);md([u({validator:Ti,defaultValue:100})],ps.prototype,"endValue",void 0);md([u({type:Boolean})],ps.prototype,"rangePressed",void 0);ps=hn=md([B({tag:"ui5-range-slider",languageAware:!0,template:i8,dependencies:[Ie],styles:[sr.styles,c8]})],ps);ps.define();var Mh;(function(i){i.Textual="Textual",i.Graphical="Graphical"})(Mh||(Mh={}));const Nh=Mh;function u8(i,e,t){return t?c`
    ${this.graphical?Kg.call(this,i,e,t):Xg.call(this,i,e,t)}<${d("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-handle-icon">
    `:c`
    ${this.graphical?Kg.call(this,i,e,t):Xg.call(this,i,e,t)}
    `}function Kg(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="accept" class="ui5-switch-icon-on"><${d("ui5-icon",e,t)} name="decline" class="ui5-switch-icon-off">`:c``}function Xg(i,e,t){return c`${this.hasNoLabel?d8.call(this,i,e,t):_8.call(this,i,e,t)}`}function d8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-on"><${d("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-off">`:c``}function _8(i,e,t){return c`${a(this._textOn)}${a(this._textOff)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const h8={packageName:"@ui5/webcomponents",fileName:"themes/Switch.css.ts",content:`.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(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_width);height:var(--_ui5-v1-22-1-rc-0_switch_height);min-width:var(--_ui5-v1-22-1-rc-0_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-v1-22-1-rc-0-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5-v1-22-1-rc-0_switch_with_label_width);height:var(--_ui5-v1-22-1-rc-0_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5-v1-22-1-rc-0_switch_track_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_width);border:var(--_ui5-v1-22-1-rc-0-switch-track-border);border-radius:var(--_ui5-v1-22-1-rc-0_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5-v1-22-1-rc-0_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-v1-22-1-rc-0-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_handle_width);height:var(--_ui5-v1-22-1-rc-0_switch_handle_height);border:var(--_ui5-v1-22-1-rc-0_switch_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_handle_with_label_width)}.ui5-switch-handle-icon{display:var(--_ui5-v1-22-1-rc-0-switch-handle-icon-display);transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}:host([checked]) .ui5-switch-handle-icon{color:var(--_ui5-v1-22-1-rc-0-switch_track-on-background)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5-v1-22-1-rc-0_switch_text_z_index);min-width:var(--_ui5-v1-22-1-rc-0_switch_text_min_width);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);font-family:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-desktop.ui5-switch-root:focus:after{content:"";position:absolute;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_root_outline_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_root_outline_right);top:var(--_ui5-v1-22-1-rc-0_switch_root_outline_top);bottom:var(--_ui5-v1-22-1-rc-0_switch_root_outline_bottom);border:var(--_ui5-v1-22-1-rc-0_switch_focus_outline);border-radius:var(--_ui5-v1-22-1-rc-0_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition);outline:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off{visibility:var(--_ui5-v1-22-1-rc-0_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on{visibility:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_inactive_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height);display:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_width)}:host([active]) .ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var( --_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0-switch_track-on-active-background)}.ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right_alternate)}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_rtl_transform_with_label)}[dir=rtl].ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_switch_rtl_transform)} +`};var So=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Fh;let Mi=Fh=class extends j{onBeforeRendering(){this._enableFormSupport()}_enableFormSupport(){const e=Se("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.checked=!!r.checked,o.disabled=!!r.disabled,o.value=r.checked?"on":""}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get sapNextIcon(){return this.checked?"accept":"less"}_onclick(){this.toggle()}_onkeydown(e){te(e)&&e.preventDefault(),de(e)&&this._onclick()}_onkeyup(e){te(e)&&this._onclick()}toggle(){if(!this.disabled){this.checked=!this.checked;const e=!this.fireEvent("change",null,!0),t=!this.fireEvent("value-changed",null,!0);(e||t)&&(this.checked=!this.checked)}}get graphical(){return this.design===Nh.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 effectiveTabIndex(){return this.disabled?void 0:"0"}get classes(){const e=this.graphical||this.textOn||this.textOff;return{main:{"ui5-switch-desktop":vo(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!e}}}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get accessibilityOnText(){return this._textOn}get accessibilityOffText(){return this._textOff}get hiddenText(){return this.checked?this.accessibilityOnText:this.accessibilityOffText}get ariaLabelText(){return[Wt(this),this.hiddenText].join(" ").trim()}static async onDefine(){Fh.i18nBundle=await oe("@ui5/webcomponents")}};So([u({type:Nh,defaultValue:Nh.Textual})],Mi.prototype,"design",void 0);So([u({type:Boolean})],Mi.prototype,"checked",void 0);So([u({type:Boolean})],Mi.prototype,"disabled",void 0);So([u()],Mi.prototype,"textOn",void 0);So([u()],Mi.prototype,"textOff",void 0);So([u()],Mi.prototype,"accessibleName",void 0);So([u({defaultValue:""})],Mi.prototype,"accessibleNameRef",void 0);So([u()],Mi.prototype,"tooltip",void 0);So([u({type:Boolean})],Mi.prototype,"required",void 0);So([u()],Mi.prototype,"name",void 0);So([F()],Mi.prototype,"formSupport",void 0);Mi=Fh=So([B({tag:"ui5-switch",languageAware:!0,styles:h8,renderer:ee,template:u8,dependencies:[Ie]}),$("change")],Mi);Mi.define();var zh;(function(i){i.Information="Information",i.Positive="Positive",i.Negative="Negative",i.Warning="Warning"})(zh||(zh={}));const Zg=zh;function p8(i,e,t){return c`
    ${this.hideIcon?void 0:v8.call(this,i,e,t)}${a(this.hiddenText)}${this.hideCloseButton?void 0:g8.call(this,i,e,t)}
    `}function v8(i,e,t){return c``}function f8(i,e,t){return c``}function m8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.standardIconName)}" class="ui5-message-strip-icon">`:c``}function g8(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="decline" design="Transparent" class="ui5-message-strip-close-button" tooltip="${a(this._closeButtonText)}" @click=${this._closeClick}>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const b8={packageName:"@ui5/webcomponents",fileName:"themes/MessageStrip.css.ts",content:`.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;width:100%}.ui5-message-strip-root{width:100%;height:100%;display:flex;border-radius:var(--sapPopover_BorderCornerRadius);padding:var(--_ui5-v1-22-1-rc-0_message_strip_padding);border-width:var(--_ui5-v1-22-1-rc-0_message_strip_border_width);border-style:solid;box-sizing:border-box;position:relative}.ui5-message-strip-root-hide-icon{padding-inline:var(--_ui5-v1-22-1-rc-0_message_strip_padding_inline_no_icon);padding-block:var(--_ui5-v1-22-1-rc-0_message_strip_padding_block_no_icon)}.ui5-message-strip-root-hide-close-button{padding-inline-end:1rem}.ui5-message-strip-root--info{background-color:var(--sapInformationBackground);border-color:var(--sapMessage_InformationBorderColor);color:var(--sapTextColor)}.ui5-message-strip-root--info .ui5-message-strip-icon{color:var(--sapInformativeElementColor)}.ui5-message-strip-root--positive{background-color:var(--sapSuccessBackground);border-color:var(--sapMessage_SuccessBorderColor)}.ui5-message-strip-root--positive .ui5-message-strip-icon{color:var(--sapPositiveElementColor)}.ui5-message-strip-root--negative{background-color:var(--sapErrorBackground);border-color:var(--sapMessage_ErrorBorderColor)}.ui5-message-strip-root--negative .ui5-message-strip-icon{color:var(--sapNegativeElementColor)}.ui5-message-strip-root--warning{background-color:var(--sapWarningBackground);border-color:var(--sapMessage_WarningBorderColor)}.ui5-message-strip-root--warning .ui5-message-strip-icon{color:var(--sapCriticalElementColor)}.ui5-message-strip-icon-wrapper{position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_icon_top);inset-inline-start:.75rem;box-sizing:border-box}.ui5-message-strip-text{width:100%;color:var(--sapTextColor);line-height:1.2;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-message-strip-close-button{height:1.625rem;min-height:1.625rem;position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_top);inset-inline-end:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_right)} +`};var xc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ta,Vh;(function(i){i.Information="ui5-message-strip-root--info",i.Positive="ui5-message-strip-root--positive",i.Negative="ui5-message-strip-root--negative",i.Warning="ui5-message-strip-root--warning"})(Vh||(Vh={}));var Hh;(function(i){i.Information="information",i.Positive="sys-enter-2",i.Negative="error",i.Warning="alert"})(Hh||(Hh={}));let Ba=ta=class extends j{_closeClick(){this.fireEvent("close")}static async onDefine(){ta.i18nBundle=await oe("@ui5/webcomponents")}static designAnnouncementMappings(){const e=t=>ta.i18nBundle.getText(t);return{Information:e(c0),Positive:e(l0),Negative:e(a0),Warning:e(s0)}}get hiddenText(){return`${ta.designAnnouncementMappings()[this.design]} ${this.hideCloseButton?"":this._closableText}`}get _closeButtonText(){return ta.i18nBundle.getText(r0)}get _closableText(){return ta.i18nBundle.getText(n0)}get classes(){return{root:{"ui5-message-strip-root":!0,"ui5-message-strip-root-hide-icon":this.hideIcon,"ui5-message-strip-root-hide-close-button":this.hideCloseButton,[this.designClasses]:!0}}}get iconProvided(){return this.icon.length>0}get standardIconName(){return Hh[this.design]}get designClasses(){return Vh[this.design]}};xc([u({type:Zg,defaultValue:Zg.Information})],Ba.prototype,"design",void 0);xc([u({type:Boolean})],Ba.prototype,"hideIcon",void 0);xc([u({type:Boolean})],Ba.prototype,"hideCloseButton",void 0);xc([F()],Ba.prototype,"icon",void 0);Ba=ta=xc([B({tag:"ui5-message-strip",languageAware:!0,renderer:ee,template:p8,styles:b8,dependencies:[Ie,Fe]}),$("close")],Ba);Ba.define();const y8="multiselect-all",Ik="M92 472l80-97 20 19L92 512l-60-59 20-20zm80-285l20 19L92 323l-60-59 20-19 40 38zm0-187l20 19L92 137 32 78l20-21 40 40zm292 65q16 0 16 16 0 6-4.5 11T464 97H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 191q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 192q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191z",w8=!0,k8="SAP-icons-v4",$8="@ui5/webcomponents-icons";Y(y8,{pathData:Ik,ltr:w8,collection:k8,packageName:$8});const T8="multiselect-all",Ck="M198 0q11 0 18.5 7.5T224 26q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 57q10 0 19 9l27 30 75-87q8-9 19-9zm84 96q-11 0-18.5-7.5T256 70t7.5-18 18.5-7h172q11 0 18.5 7t7.5 18-7.5 18.5T454 96H282zm-84 80q11 0 18.5 7.5T224 202q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 233q10 0 19 9l27 30 75-87q8-9 19-9zm256 48q11 0 18.5 7.5T480 250t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 224h172zM198 352q11 0 18.5 7.5T224 378q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 409q10 0 19 9l27 30 75-87q8-9 19-9zm256 64q11 0 18.5 7.5T480 442t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 416h172z",x8=!0,S8="SAP-icons-v5",I8="@ui5/webcomponents-icons";Y(T8,{pathData:Ck,ltr:x8,collection:S8,packageName:I8});we();var Ak=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Yl=class extends qw{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};Ak([u({type:Boolean})],Yl.prototype,"selected",void 0);Yl=Ak([B("ui5-mcb-item")],Yl);Yl.define();const Bk=Yl;var Ek=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Kl=class extends j{get isGroupItem(){return!0}get selected(){return!1}get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};Ek([u()],Kl.prototype,"text",void 0);Kl=Ek([B("ui5-mcb-group-item")],Kl);Kl.define();const C8=Kl;function A8(i,e,t){return t?c`
    ${a(this._tokensCountText)}${this.hasValueState?Qg.call(this,i,e,t):void 0}<${d("ui5-tokenizer",e,t)} slot="_beginContent" show-more prevent-popover-open class="ui5-multi-combobox-tokenizer" ?disabled="${this.disabled}" @ui5-show-more-items-press="${a(this._showFilteredItems)}" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} @ui5-token-delete="${a(this._tokenDelete)}" @ui5-before-more-popover-open="${a(this.handleBeforeTokenizerPopoverOpen)}" @focusout="${this._tokenizerFocusOut}" @focusin="${this._tokenizerFocusIn}" @click=${this._click} @paste=${this._handlePaste} @keydown="${this._onTokenizerKeydown}" ?expanded="${this._tokenizerExpanded}">${E(this.items,(o,r)=>o._id||r,(o,r)=>Jg.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?eb.call(this,i,e,t):void 0}${this.icon?tb.call(this,i,e,t):void 0}${this.readonly?void 0:ib.call(this,i,e,t)}
    `:c`
    ${a(this._tokensCountText)}${this.hasValueState?Qg.call(this,i,e,t):void 0}${E(this.items,(o,r)=>o._id||r,(o,r)=>Jg.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?eb.call(this,i,e,t):void 0}${this.icon?tb.call(this,i,e,t):void 0}${this.readonly?void 0:ib.call(this,i,e,t)}
    `}function Qg(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}function Jg(i,e,t,o,r){return c`${o.selected?B8.call(this,i,e,t,o,r):void 0}`}function B8(i,e,t,o,r){return t?c`<${d("ui5-token",e,t)} ?readonly="${this.readonly}" class="ui5-multi-combobox-token" data-ui5-id="${a(o._id)}" part="token-${r}" text="${a(o.text)}">`:c``}function eb(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function tb(i,e,t){return c``}function ib(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="slim-arrow-down" input-icon slot="icon" tabindex="-1" @click="${this.togglePopoverByDropdownIcon}" @mousedown="${this._onIconMousedown}" @focusin="${this._forwardFocusToInner}" ?pressed="${this.open}" accessible-name="${a(this._iconAccessibleNameText)}">`:c``}function E8(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} placement-type="Bottom" horizontal-align="Left" class="${T(this.classes.popover)}" hide-arrow _disable-initial-focus style="${S(this.styles.suggestionsPopover)}" @ui5-selection-change=${a(this._listSelectionChange)} @ui5-after-close=${a(this._afterClosePicker)} @ui5-before-open=${a(this._beforeOpen)} @ui5-after-open=${a(this._afterOpenPicker)}>${this._isPhone?ob.call(this,i,e,t):void 0}${this._isPhone?void 0:cb.call(this,i,e,t)}${this.filterSelected?_b.call(this,i,e,t):pb.call(this,i,e,t)}${this._isPhone?fb.call(this,i,e,t):void 0}${this.hasValueStateMessage?mb.call(this,i,e,t):void 0} `:c`${this._isPhone?ob.call(this,i,e,t):void 0}${this._isPhone?void 0:cb.call(this,i,e,t)}${this.filterSelected?_b.call(this,i,e,t):pb.call(this,i,e,t)}${this._isPhone?fb.call(this,i,e,t):void 0}${this.hasValueStateMessage?mb.call(this,i,e,t):void 0} `}function ob(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.handleCancel}">
    <${d("ui5-input",e,t)} @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._mobileInputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this._dialogInputValueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>rb.call(this,i,e,t,o,r))}<${d("ui5-toggle-button",e,t)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${this._showAllItemsButtonPressed} @click="${this.filterSelectedItems}" accessible-name="${a(this._showSelectedButtonAccessibleNameText)}">
    ${this.hasValueStateMessage?nb.call(this,i,e,t):void 0}${this.showSelectAll?lb.call(this,i,e,t):void 0}`:c`
    ${a(this._headerTitleText)}
    ${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>rb.call(this,i,e,t,o,r))}
    ${this.hasValueStateMessage?nb.call(this,i,e,t):void 0}${this.showSelectAll?lb.call(this,i,e,t):void 0}`}function rb(i,e,t,o,r){return t?c`<${d("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:c``}function nb(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?ab.call(this,i,e,t):sb.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?ab.call(this,i,e,t):sb.call(this,i,e,t)}
    `}function ab(i,e,t){return c`${a(this.valueStateDefaultText)}`}function sb(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>D8.call(this,i,e,t,o,r))}`}function D8(i,e,t,o,r){return c`${a(o)}`}function lb(i,e,t){return t?c`
    <${d("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:c`
    `}function cb(i,e,t){return c`${this.hasValueStateMessage?P8.call(this,i,e,t):void 0}${this.showSelectAll?R8.call(this,i,e,t):void 0}`}function P8(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?ub.call(this,i,e,t):db.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?ub.call(this,i,e,t):db.call(this,i,e,t)}
    `}function ub(i,e,t){return c`${a(this.valueStateDefaultText)}`}function db(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>O8.call(this,i,e,t,o,r))}`}function O8(i,e,t,o,r){return c`${a(o)}`}function R8(i,e,t){return t?c`
    <${d("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:c`
    `}function _b(i,e,t){return t?c`<${d("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${E(this.selectedItems,(o,r)=>o._id||r,(o,r)=>hb.call(this,i,e,t,o,r))}`:c`${E(this.selectedItems,(o,r)=>o._id||r,(o,r)=>hb.call(this,i,e,t,o,r))}`}function hb(i,e,t,o,r){return c`${o.isGroupItem?L8.call(this,i,e,t,o,r):M8.call(this,i,e,t,o,r)}`}function L8(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function M8(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function pb(i,e,t){return t?c`<${d("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>vb.call(this,i,e,t,o,r))}`:c`${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>vb.call(this,i,e,t,o,r))}`}function vb(i,e,t,o,r){return c`${o.isGroupItem?N8.call(this,i,e,t,o,r):F8.call(this,i,e,t,o,r)}`}function N8(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function F8(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function fb(i,e,t){return t?c``:c``}function mb(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?gb.call(this,i,e,t):bb.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?gb.call(this,i,e,t):bb.call(this,i,e,t)}
    `}function gb(i,e,t){return c`${a(this.valueStateDefaultText)}`}function bb(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>z8.call(this,i,e,t,o,r))}`}function z8(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const V8={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBox.css.ts",content:`:host{vertical-align:middle}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.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{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}:host(:not([hidden])){display:inline-block}.ui5-multi-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-multi-combobox-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-combobox-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-combobox-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-combobox-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} +`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const H8={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBoxPopover.css.ts",content:`.ui5-suggestions-popover .ui5-multi-combobox-all-items-list{--_ui5-v1-22-1-rc-0_checkbox_width_height: var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-mcb-select-all-header{width:100%;height:44px;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);display:flex;align-items:center;font-family:"72override",var(--sapFontFamily);position:sticky;top:0;z-index:2;background:var(--sapToolbar_Background)}.ui5-mcb-select-all-checkbox{width:100%;font-family:var(--sapFontBoldFamily)}.ui5-mcb-select-all-checkbox::part(root):focus:before{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:0;inset:0 2px}.ui5-mcb-select-all-checkbox::part(label){font-family:var(--sapFontBoldFamily)} +`};var Ce=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ht;let ke=ht=class extends j{constructor(){super(),this._filteredItems=[],this._previouslySelectedItems=[],this.selectedValues=[],this._itemsBeforeOpen=[],this._inputLastValue="",this._deleting=!1,this._validationTimeout=null,this._handleResizeBound=this._handleResize.bind(this),this.valueBeforeAutoComplete="",this._lastValue=this.getAttribute("value")||"",this.currentItemIdx=-1,this.FormSupport=void 0}onEnterDOM(){Pe.register(this,this._handleResizeBound)}onExitDOM(){Pe.deregister(this,this._handleResizeBound)}_handleResize(){this._inputWidth=this.offsetWidth}_handleMobileInput(e){const o=e.target.value;!this.allowCustomValues&&!this._filterItems(o).length?this._dialogInputValueState=y.Error:this._dialogInputValueState=this.valueState,this.value=o,this._shouldFilterItems=!0,this.valueBeforeAutoComplete=o,this.fireEvent("input")}_inputChange(){!this._clearingValue&&this._lastValue!==this.value&&(this._lastValue=this.value,this.fireEvent("change"))}async _mobileInputChange(e){this._inputChange.call(this);const{value:t}=e.target,o=this.items.find(s=>s.text===t);if(!o)return;const r=o==null?void 0:o.selected;this.fireSelectionChange()||(o.selected=!r,(await this._getResponsivePopover()).close(),this.value="")}togglePopover(){var e;this._tokenizer.closeMorePopover(),(e=this.allItemsPopover)==null||e.toggle(this)}togglePopoverByDropdownIcon(){var e;this._shouldFilterItems=!1,(e=this.allItemsPopover)==null||e.toggle(this),this._tokenizer.closeMorePopover()}_showFilteredItems(){this.filterSelected=!0,this._showMorePressed=!0,this.togglePopover()}filterSelectedItems(e){this.filterSelected=e.target.pressed;const t=this._filteredItems.filter(o=>o.selected);this.selectedItems=this.items.filter((o,r,n)=>ht._groupItemFilter(o,++r,n,t)||t.indexOf(o)!==-1)}get open(){return this._open}get _showAllItemsButtonPressed(){return this.filterSelected}get _inputDom(){return this.shadowRoot.querySelector("#ui5-multi-combobox-input")}_inputLiveChange(e){var s,l;const t=e.target,o=t.value,r=this._filterItems(o),n=this.valueState;if(this._shouldFilterItems=!0,this.filterSelected&&(this.filterSelected=!1),this._validationTimeout)if(this._filterItems(o).length)this.valueState=this._effectiveValueState,this._validationTimeout=null;else{t.value=this._inputLastValue;return}if(this._effectiveValueState=this.valueState,!r.length&&o&&!this.allowCustomValues){const _=this.valueBeforeAutoComplete||this._inputLastValue;t.value=_,this.value=_,this.valueState=y.Error,this._shouldAutocomplete=!1,this._resetValueState(n);return}this._inputLastValue=t.value,this.value=t.value,this._filteredItems=r,G()||(r.length===0?(s=this.allItemsPopover)==null||s.close():(l=this.allItemsPopover)==null||l.showAt(this)),this.fireEvent("input")}_tokenDelete(e){this._previouslySelectedItems=this._getSelectedItems();const t=e.detail.ref,o=this.items.find(n=>n._id===t.getAttribute("data-ui5-id"));o.selected=!1,this._deleting=!0,this._preventTokenizerToggle=!0,this.focus(),this.fireSelectionChange()&&this._revertSelection()}get _getPlaceholder(){return this._getSelectedItems().length?"":this.placeholder}_handleArrowLeft(){const e=this._inputDom,t=e.selectionStart||0,o=(e.selectionEnd||0)-t>0;t===0&&!o&&this._tokenizer._focusLastToken()}_tokenizerFocusOut(e){this._tokenizerFocused=!1;const t=this._tokenizer.tokens.length,o=this._selectedTokensCount,r=t-1===0&&this._deleting,n=o===t&&this._deleting,s=e.relatedTarget,l=this.staticAreaItem===s,_=this._inputDom===s,p=e.relatedTarget===this._tokenizer.staticAreaItem;!(s!=null&&s.hasAttribute("ui5-token"))&&!l&&!_&&!p&&(this._tokenizer.tokens.forEach(v=>{v.selected=!1}),this._tokenizer.expanded=this._preventTokenizerToggle?this._tokenizer.expanded:!1),(n||r)&&setTimeout(()=>{G()||this._inputDom.focus(),this._deleting=!1},0)}_tokenizerFocusIn(){this._tokenizerFocused=!0,this.focused=!1}_onkeydown(e){var r;const t=Mr(e),o=e.metaKey||e.ctrlKey;if(Nr(e)&&!this.disabled){this._handleShow(e);return}if(Ro(e)||cr(e)){e.preventDefault();return}if(Le(e)||De(e)||Lr(e)||t){this._handleArrowNavigation(e,t);return}if(t&&!((r=this.allItemsPopover)!=null&&r.opened)&&setTimeout(()=>this._inputDom.setSelectionRange(0,this._inputDom.value.length),0),Ja(e)||_a(e)){this._handleArrowCtrl(e);return}if(tf(e)){this._handleInsertPaste();return}o&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover()),Qa(e)&&e.preventDefault(),(e.key==="ArrowLeft"||e.key==="Show"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Backspace"||e.key==="Escape"||e.key==="Home"||e.key==="End"||e.key==="Tab"||e.key==="ArrowDown"||e.key==="Enter")&&this[`_handle${e.key}`](e),this._shouldAutocomplete=!this.noTypeahead&&!(sc(e)||rs(e)||Zi(e)||de(e))}_handlePaste(e){if(e.preventDefault(),this.readonly||!e.clipboardData)return;const t=e.clipboardData.getData("text/plain");t&&this._createTokenFromText(t)}async _handleInsertPaste(){if(this.readonly||p1())return;const e=await navigator.clipboard.readText();e&&this._createTokenFromText(e)}_createTokenFromText(e){const t=e.split(/\r\n|\r|\n|\t/g).filter(r=>!!r),o=this.items.filter(r=>t.indexOf(r.text)>-1&&!r.selected);t.length>1?(this._previouslySelectedItems=this._getSelectedItems(),o.forEach(r=>{r.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection()})):(this.value=e,this.fireEvent("input"))}_handleShow(e){const t=this.items,o=this._getSelectedItems()[0],r=this._tokenizer.tokens.find(l=>l.focused),n=this.value,s=this.items.find(l=>l.text.localeCompare(n,void 0,{sensitivity:"base"})===0);if(e.preventDefault(),!this.readonly){if(this._isOpenedByKeyboard=!0,this._shouldFilterItems=!1,this._filteredItems=this.items,this.togglePopover(),!r&&s){this._itemToFocus=s;return}o&&!r?this._itemToFocus=o:r&&e.target===r?this._itemToFocus=t.find(l=>l.text===r.text):this._itemToFocus=t[0]}}_handlePageUp(e){e.preventDefault()}_handlePageDown(e){e.preventDefault()}_handleBackspace(e){e.target.value===""&&(e.preventDefault(),this._tokenizer._focusLastToken())}_handleEscape(){const e=this._innerInput;(e.selectionEnd||0)-(e.selectionStart||0)>0&&(this.value=this.valueBeforeAutoComplete),(!this.allowCustomValues||!this.open&&this.allowCustomValues)&&(this.value=this._lastValue)}_handleHome(e){this._isFocusInside&&e.target.selectionStart===0&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this._tokenizer.tokens[0].focus())}_handleEnd(e){const t=this._tokenizer.tokens,o=t.length-1;e.target===t[o]&&t[o]===this.shadowRoot.activeElement&&(e.preventDefault(),this._inputDom.focus())}_handleTab(){var e;(e=this.allItemsPopover)==null||e.close()}_handleSelectAll(){const e=this._filteredItems,t=e.every(r=>r.selected);this._previouslySelectedItems=e.filter(r=>r.selected).map(r=>r),e.forEach(r=>{r.selected=!t}),this.fireSelectionChange()&&this._revertSelection()}async _onListHeaderKeydown(e){var n;const t=De(e),o=Le(e),r=e.target.classList.contains("ui5-mcb-select-all-checkbox");if(It(e)||Ei(e)){this._onItemTab();return}if(e.preventDefault(),t||Mr(e)){if(this.showSelectAll&&!r)return(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();this._handleArrowDown()}if(o||Lr(e)){if(e.target===this.valueStateHeader||!this.valueStateHeader)return this._shouldAutocomplete=!0,this._inputDom.focus();this.showSelectAll&&r&&((n=this.valueStateHeader)==null||n.focus())}}_handleSelectAllCheckboxClick(e){var t;this.filterSelected?(this._previouslySelectedItems=this._getSelectedItems(),(t=this.selectedItems)==null||t.forEach(r=>{r.selected=e.target.checked}),e.target.checked||(this.filterSelected=!1),this.fireSelectionChange()&&this._revertSelection()):(this._handleSelectAll(),this.filterSelected=!1)}async _onItemKeydown(e){var r,n,s,l,_,p,v,f,g,w,A,L,X;const t=((r=this.list)==null?void 0:r.items[0])===e.target,o=Le(e)||Lr(e);if(this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),It(e)||Ei(e)){this._onItemTab();return}if(Ts(e)&&((n=this.list)==null||n._itemNavigation._handleHome(),(l=this.list)==null||l.items[(s=this.list)==null?void 0:s._itemNavigation._currentIndex].focus()),ma(e)&&((_=this.list)==null||_._itemNavigation._handleEnd(),(v=this.list)==null||v.items[(p=this.list)==null?void 0:p._itemNavigation._currentIndex].focus()),e.preventDefault(),Ro(e)||cr(e)){this._handleItemRangeSelection(e);return}if(Lr(e)&&!t&&((f=this.list)==null||f._itemNavigation._handleUp(),(w=this.list)==null||w.items[(g=this.list)==null?void 0:g._itemNavigation._currentIndex].focus()),Mr(e)&&((A=this.list)==null||A._itemNavigation._handleDown(),(X=this.list)==null||X.items[(L=this.list)==null?void 0:L._itemNavigation._currentIndex].focus()),Nr(e)&&this.togglePopover(),H1(e)){this._handleSelectAll();return}t&&o&&(this.showSelectAll?(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus():this.valueStateHeader?this.valueStateHeader.focus():(this._inputDom.focus(),this._shouldAutocomplete=!0))}_handleArrowCtrl(e){const t=this._inputDom,o=Ja(e);o&&t.selectionStart===0&&t.selectionEnd===0&&e.preventDefault(),o&&(t.selectionEnd||0)-(t.selectionStart||0)>0&&t.setSelectionRange(0,0)}_onItemTab(){var e;this._inputDom.focus(),(e=this.allItemsPopover)==null||e.close()}async _handleArrowNavigation(e,t){var s;const o=t||De(e),r=this.items.length,n=(s=this.allItemsPopover)==null?void 0:s.opened;if(e.preventDefault(),this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),o&&n){if(this.valueStateHeader){this.value=this.valueBeforeAutoComplete||this.value,this.valueStateHeader.focus();return}if(this.showSelectAll){(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();return}}o&&r&&this._handleArrowDown(),!o&&!n&&!this.readonly&&this._navigateToPrevItem()}async _handleArrowDown(){var o,r,n;const e=(o=this.allItemsPopover)==null?void 0:o.opened,t=(r=this.list)==null?void 0:r.items[0];e?(t&&((n=this.list)==null||n._itemNavigation.setCurrentItem(t)),this.value=this.valueBeforeAutoComplete||this.value,await Bi(),t==null||t.focus()):this.readonly||this._navigateToNextItem()}_handleItemRangeSelection(e){var _;const t=this.items,o=(_=this.list)==null?void 0:_.items,r=Number(o==null?void 0:o.indexOf(e.target)),n=r+1,s=r-1;this._previouslySelectedItems=this._getSelectedItems(),Ro(e)&&t[n]&&(t[n].selected=t[r].selected,t[n].focus()),cr(e)&&t[s]&&(t[s].selected=t[r].selected,t[s].focus()),this.fireSelectionChange()&&this._revertSelection()}_navigateToNextItem(){const e=this.items,t=e.length,o=this.currentItemIdx;if(o>-1&&e[o].text!==this.value&&(this.currentItemIdx=-1),o>=t-1)return;let r=this.items[++this.currentItemIdx];for(;this.currentItemIdx0&&(o.selected||o.isGroupItem);)o=this.items[--this.currentItemIdx];if(o){if(o.selected||o.isGroupItem){this.currentItemIdx=t;return}this.value=o.text,this._innerInput.value=o.text,this._innerInput.setSelectionRange(0,o.text.length)}}_handleEnter(){var n;const e=this.value.toLowerCase(),t=this.items.find(s=>s.text.toLowerCase()===e&&!s.isGroupItem),o=this.valueState,r=this._innerInput;if(this.FormSupport&&this.FormSupport.triggerFormSubmit(this),t){if(t.selected){if(this._validationTimeout)return;this.valueState=y.Error,this._performingSelectionTwice=!0,this._resetValueState(o,()=>{this._performingSelectionTwice=!1})}else this._previouslySelectedItems=this._getSelectedItems(),t.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection();r.setSelectionRange(t.text.length,t.text.length),(n=this.allItemsPopover)==null||n.close()}}_resetValueState(e,t){this._validationTimeout=setTimeout(()=>{this._effectiveValueState=this.valueState,this.valueState=e,this._validationTimeout=null,t&&t()},2e3)}_onTokenizerKeydown(e){const t=!!(e.metaKey||e.ctrlKey);if(it(e)){const o=this._tokenizer.tokens.length-this._tokenizer.overflownTokens.length-1;e.target===this._tokenizer.tokens[o]&&setTimeout(()=>{this._inputDom.focus()},0)}if(t&&["c","x"].includes(e.key.toLowerCase())||ef(e)||kx(e)){e.preventDefault();const o=e.key.toLowerCase()==="x"||ef(e),r=this._tokenizer.tokens.filter(n=>n.selected);if(o){const n=this._tokenizer._fillClipboard(hs.cut,r);return r.forEach(s=>{this._tokenizer.deleteToken(s)}),this.focus(),n}return this._tokenizer._fillClipboard(hs.copy,r)}tf(e)&&this._handleInsertPaste(),St(e)&&this._handleHome(e),si(e)&&this._handleEnd(e),Nr(e)&&!this.readonly&&!this.disabled&&(this._preventTokenizerToggle=!0,this._handleShow(e)),t&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover())}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(Vw[this.filter]||lv)(e,t,"text");return this.items.filter((r,n,s)=>ht._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_afterOpenPicker(){var e,t;this._toggle(),!G()&&!this._isOpenedByKeyboard?this._innerInput.focus():this._isOpenedByKeyboard?(e=this._itemToFocus)==null||e.focus():(t=this.allItemsPopover)==null||t.focus(),this._previouslySelectedItems=this._getSelectedItems(),this._isOpenedByKeyboard=!1}_toggle(){this._open=!this._open,this.fireEvent("open-change")}_getSelectedItems(){return this.selectedValues=this.items.filter(e=>e.selected),this.selectedValues}_listSelectionChange(e){var r;let t;G()||(this._previouslySelectedItems=this._getSelectedItems()),this.syncItems(e.target.items),G()||(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection()));const o={key:e.detail.key};!e.detail.selectedItems.length&&this.filterSelected&&(this.filterSelected=!1),!e.detail.selectionComponentPressed&&!te(o)&&!$p(o)&&((r=this.allItemsPopover)==null||r.close(),this.value="",G()&&(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection())),this.fireEvent("input")),this.value=this.valueBeforeAutoComplete||""}syncItems(e){e.forEach(t=>{this.items.forEach(o=>{o._id===t.getAttribute("data-ui5-token-id")&&(o.selected=t.selected)})})}fireSelectionChange(){const e=!this.fireEvent("selection-change",{items:this._getSelectedItems()},!0);return this.fireEvent("value-changed"),e}async _getRespPopover(){const e=await this.getStaticAreaItemDomRef();this.allItemsPopover=e.querySelector(".ui5-multi-combobox-all-items-responsive-popover")}async _getList(){const e=await this.getStaticAreaItemDomRef();return this.list=e.querySelector(".ui5-multi-combobox-all-items-list"),this.list}_click(){var e;G()&&!this.readonly&&!this._showMorePressed&&!this._deleting&&((e=this.allItemsPopover)==null||e.showAt(this)),this._showMorePressed=!1}async handleBeforeTokenizerPopoverOpen(){const e=this._tokenizer.tokens,t=e.length===1&&e[0].isTruncatable,o=await this._getResponsivePopover();t&&(o==null||o.close(!1,!1,!0))}_afterClosePicker(){G()&&(this._dialogInputValueState=this.valueState,this.blur()),this._toggle(),this._iconPressed=!1,this._preventTokenizerToggle=!1,this.filterSelected=!1}_beforeOpen(){if(this._itemsBeforeOpen=this.items.map(e=>({ref:e,selected:e.selected})),this._valueBeforeOpen=this.value,this._dialogInputValueState=this.valueState,this._innerInput.value=this.value,this.filterSelected){const e=this._filteredItems.filter(t=>t.selected);this.selectedItems=this.items.filter((t,o,r)=>ht._groupItemFilter(t,++o,r,e)||e.indexOf(t)!==-1)}}_handleTypeAhead(e,t){if(!e)return;const o=e.text,r=this._innerInput;t=t||"",this.value=o,r.value=o,r.setSelectionRange(t.length,o.length),this._shouldAutocomplete=!1}_getFirstMatchingItem(e){if(!this.items.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.isGroupItem&&!o.selected);if(t.length)return t[0]}_startsWithMatchingItems(e){return ld(e,this.items,"text")}_revertSelection(){this._filteredItems.forEach(e=>{e.selected=this._previouslySelectedItems.includes(e)})}onBeforeRendering(){const e=this._innerInput,t=e&&(e.selectionEnd||0)-(e.selectionStart||0),o=e&&e.value;if(this.open&&this._getList().then(r=>{var l,_;const n=(l=r==null?void 0:r.querySelectorAll("[ui5-li][selected]"))==null?void 0:l.length,s=(_=r==null?void 0:r.querySelectorAll("[ui5-li]"))==null?void 0:_.length;this._allSelected=n===s}),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.FormSupport=Se("FormSupport"),this._inputLastValue=o,e&&!e.value&&(this.valueBeforeAutoComplete="",this._filteredItems=this.items),this.items.forEach(r=>{r._getRealDomRef=()=>this.allItemsPopover.querySelector(`*[data-ui5-stable=${r.stableDomRef}]`)}),this.tokenizerAvailable=this._getSelectedItems().length>0,this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`),!(!e||!o)){if(this._shouldAutocomplete&&!hp()&&!t){const r=this._getFirstMatchingItem(o);this.valueBeforeAutoComplete=o,r&&this._handleTypeAhead(r,o)}this._shouldFilterItems?this._filteredItems=this._filterItems(this._shouldAutocomplete||t?this.valueBeforeAutoComplete:o):this._filteredItems=this.items}}async onAfterRendering(){await this._getRespPopover(),await this._getList(),this.toggle(this.shouldDisplayOnlyValueStateMessage),this.storeResponsivePopoverWidth(),this._deleting=!1,this._tokenizer._handleResize()}get _isPhone(){return G()}_onIconMousedown(){this._iconPressed=!0}_clear(){this.value="",this._inputDom.value="",this.fireEvent("input"),this._isPhone||this.focus()}_iconMouseDown(){this._clearingValue=!0}storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=this.list.offsetWidth)}toggle(e){e&&!this.open?this.openPopover():this.closePopover()}handleCancel(){this._itemsBeforeOpen.forEach(e=>{e.ref instanceof Bk&&(e.ref.selected=e.selected)}),this.togglePopover(),this.value=this._valueBeforeOpen}handleOK(){G()&&this.fireSelectionChange()&&this._revertSelection(),this.allowCustomValues||(this.value=""),this.togglePopover()}async openPopover(){var e;(e=await this._getPopover())==null||e.showAt(this)}_forwardFocusToInner(){this._innerInput.focus()}get morePopoverOpener(){var t;const e=(t=this._tokenizer)==null?void 0:t.tokens;return(e==null?void 0:e.length)===1&&e[0].isTruncatable?e[0]:this}async closePopover(){var e;(e=await this._getPopover())==null||e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}async _getResponsivePopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}async _setValueStateHeader(){const e=await this._getResponsivePopover();this.valueStateHeader=e.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root")}get _tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}inputFocusIn(e){var t;!G()||this.readonly?(this.focused=!0,this._tokenizer.expanded=!0):this._innerInput.blur(),this._clearingValue=!1,!G()&&(((t=e.relatedTarget)==null?void 0:t.tagName)!=="UI5-STATIC-AREA-ITEM"||!e.relatedTarget)&&this._innerInput.setSelectionRange(0,this.value.length),this._tokenizer.tokens.forEach(o=>{o.selected=!1}),this.valueBeforeAutoComplete=""}inputFocusOut(e){!this.shadowRoot.contains(e.relatedTarget)&&!this._deleting&&!this._clearingValue&&(this.focused=!1,this._lastValue!==this.value&&this._inputChange(),this._tokenizer.expanded=this.open,!G()&&!this.allowCustomValues&&this.staticAreaItem!==e.relatedTarget&&(this.value=""))}get editable(){return!this.readonly}get _isFocusInside(){return!G()&&(this.focused||this._tokenizerFocused)}get selectedItemsListMode(){return this.readonly?"None":"MultiSelect"}get _listItemsType(){return this.readonly?"Inactive":"Active"}get hasValueState(){return this.valueState!==y.None||this._dialogInputValueState!==y.None}get hasValueStateMessage(){const e=G()?this._dialogInputValueState:this.valueState;return this.hasValueState&&e!==y.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return;let e="";return this.valueState!==y.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){const e=G()?this._dialogInputValueState:this.valueState;return e===y.None?"":this._performingSelectionTwice?ht.i18nBundle.getText(_0):this.valueStateTextMappings[e]}get valueStateTextId(){return this.hasValueState?"ui5-multi-combobox-valueStateDesc":void 0}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get ariaLabelText(){return Wt(this)}get _valueStateMessageIcon(){const e=G()&&this.open?this._dialogInputValueState:this.valueState;return e===y.None?"":{[y.Error]:"error",[y.Warning]:"alert",[y.Success]:"sys-enter-2",[y.Information]:"information"}[e]}get _tokensCountText(){if(this._tokenizer)return this._tokenizer._tokensCountText()}get _tokensCountTextId(){return"ui5-multi-combobox-hiddenText-nMore"}get _selectedTokensCount(){return this._tokenizer.tokens.filter(e=>e.selected).length}get ariaDescribedByText(){return this.valueStateTextId?`${this._tokensCountTextId} ${this.valueStateTextId}`:`${this._tokensCountTextId}`}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get shouldDisplayOnlyValueStateMessage(){return this.focused&&!this.readonly&&this.hasValueStateMessage&&!this._iconPressed}get valueStateTypeMappings(){return{[y.Success]:ht.i18nBundle.getText(As),[y.Information]:ht.i18nBundle.getText(Bs),[y.Error]:ht.i18nBundle.getText(Is),[y.Warning]:ht.i18nBundle.getText(Cs)}}get valueStateTextMappings(){return{[y.Success]:ht.i18nBundle.getText($r),[y.Error]:ht.i18nBundle.getText(wr),[y.Warning]:ht.i18nBundle.getText(kr),[y.Information]:ht.i18nBundle.getText(Yr)}}get _innerInput(){var e;return G()&&(e=this.allItemsPopover)!=null&&e.opened?this.allItemsPopover.querySelector("ui5-input").shadowRoot.querySelector("input"):this._inputDom}get _headerTitleText(){return ht.i18nBundle.getText(Ss)}get _iconAccessibleNameText(){return ht.i18nBundle.getText(Vp)}get _showSelectedButtonAccessibleNameText(){return ht.i18nBundle.getText(q2)}get _dialogOkButton(){return ht.i18nBundle.getText(u0)}get _tokenizerExpanded(){var o;if(G()||this.readonly)return!1;if(this._preventTokenizerToggle)return this._tokenizer.expanded;const e=(o=this._tokenizer)==null?void 0:o.expanded;return this.focused||this.open||e}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}get clearIconAccessibleName(){return ht.i18nBundle.getText(Zu)}get selectAllCheckboxLabel(){const e=this.items.filter(o=>!o.isGroupItem),t=e.filter(o=>o.selected);return ht.i18nBundle.getText(G2,t.length,e.length)}get classes(){return{popover:{"ui5-multi-combobox-all-items-responsive-popover":!0,"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateMessage,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateMessage},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===y.Success||this._dialogInputValueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error||this._dialogInputValueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning||this._dialogInputValueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information||this._dialogInputValueState===y.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverValueStateMessage:{width:`${this._listWidth||0}px`,display:this._listWidth===0?"none":"inline-block"},popoverHeader:{"max-width":G()?"100%":`${this._inputWidth}px`},suggestionsPopover:{"min-width":`${this._inputWidth}px`,"max-width":this._inputWidth/e>40?`${this._inputWidth}px`:"40rem"}}}static async onDefine(){ht.i18nBundle=await oe("@ui5/webcomponents")}};Ce([u()],ke.prototype,"value",void 0);Ce([u({type:Boolean})],ke.prototype,"noTypeahead",void 0);Ce([u()],ke.prototype,"placeholder",void 0);Ce([u({type:Boolean})],ke.prototype,"allowCustomValues",void 0);Ce([u({type:Boolean})],ke.prototype,"disabled",void 0);Ce([u({type:y,defaultValue:y.None})],ke.prototype,"valueState",void 0);Ce([u({type:Boolean})],ke.prototype,"readonly",void 0);Ce([u({type:Boolean})],ke.prototype,"required",void 0);Ce([u({type:Du,defaultValue:Du.StartsWithPerTerm})],ke.prototype,"filter",void 0);Ce([u({type:Boolean})],ke.prototype,"showClearIcon",void 0);Ce([u()],ke.prototype,"accessibleName",void 0);Ce([u()],ke.prototype,"accessibleNameRef",void 0);Ce([u({type:Boolean})],ke.prototype,"showSelectAll",void 0);Ce([u({type:y,defaultValue:y.None})],ke.prototype,"_effectiveValueState",void 0);Ce([u({type:Boolean})],ke.prototype,"_open",void 0);Ce([u()],ke.prototype,"_valueBeforeOpen",void 0);Ce([u({type:Object,noAttribute:!0,multiple:!0})],ke.prototype,"_filteredItems",void 0);Ce([u({type:Object,noAttribute:!0,multiple:!0})],ke.prototype,"_previouslySelectedItems",void 0);Ce([u({type:Boolean})],ke.prototype,"filterSelected",void 0);Ce([u({type:Boolean})],ke.prototype,"focused",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_tokenizerFocused",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_iconPressed",void 0);Ce([u({validator:z,noAttribute:!0})],ke.prototype,"_inputWidth",void 0);Ce([u({validator:z,noAttribute:!0,defaultValue:0})],ke.prototype,"_listWidth",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_performingSelectionTwice",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_allSelected",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_effectiveShowClearIcon",void 0);Ce([u({type:y,defaultValue:y.None})],ke.prototype,"_dialogInputValueState",void 0);Ce([u({type:Boolean})],ke.prototype,"tokenizerAvailable",void 0);Ce([F({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ke.prototype,"items",void 0);Ce([F()],ke.prototype,"icon",void 0);Ce([F()],ke.prototype,"valueStateMessage",void 0);ke=ht=Ce([B({tag:"ui5-multi-combobox",languageAware:!0,renderer:ee,template:A8,staticAreaTemplate:E8,styles:V8,staticAreaStyles:[Wo,On,cd,H8],dependencies:[Bk,C8,hk,_k,Ie,wo,fo,xr,Ra,ud,kc,Fe,mc]}),$("change"),$("input"),$("open-change"),$("selection-change",{detail:{items:{type:Array}}})],ke);ke.define();function U8(i,e,t){return c`
    ${this.showValueInRemainingBar?void 0:W8.call(this,i,e,t)}
    ${this.showValueInRemainingBar?K8.call(this,i,e,t):void 0}
    `}function W8(i,e,t){return c`${this.showIcon?q8.call(this,i,e,t):void 0}${this.hideValue?void 0:j8.call(this,i,e,t)}`}function q8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:c``}function j8(i,e,t){return c`${this.displayValue?G8.call(this,i,e,t):Y8.call(this,i,e,t)}`}function G8(i,e,t){return c`${a(this.displayValue)}`}function Y8(i,e,t){return c`${a(this.validatedValue)}% `}function K8(i,e,t){return c`${this.showIcon?X8.call(this,i,e,t):void 0}${this.hideValue?void 0:Z8.call(this,i,e,t)}`}function X8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:c``}function Z8(i,e,t){return c`${this.displayValue?Q8.call(this,i,e,t):J8.call(this,i,e,t)}`}function Q8(i,e,t){return c`${a(this.displayValue)}`}function J8(i,e,t){return c`${a(this.validatedValue)}% `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const e7={packageName:"@ui5/webcomponents",fileName:"themes/ProgressIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;min-height:var(_ui5_progress_indicator_host_min_height);min-width:4rem;width:100%;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_height);overflow:hidden;box-sizing:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_box_sizing);padding:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding_end)}.ui5-progress-indicator-root{display:flex;align-items:center;background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_none);border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_border_radius);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_overflow);min-height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_min_height);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_height);width:100%;font-size:var(--sapProgress_FontSize);font-family:"72override",var(--sapFontFamily);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_position);box-sizing:border-box}.ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none);justify-content:flex-end;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_height);display:flex;align-items:center;flex-direction:row;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_color);transition-property:width;transition-timing-function:linear;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_max);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_progress_indicator_border);border-radius:.5rem}.ui5-progress-indicator-remaining-bar{justify-content:flex-start;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_width);height:100%;display:flex;align-items:center;flex-direction:row;flex-grow:1;flex-basis:0;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_border);border-inline-start:none;border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius);box-sizing:border-box;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_color);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_overflow);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_position)}.ui5-progress-indicator-value{margin:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_margin);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;position:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_position);top:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_top_position);inset-inline-start:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_left_position)}.ui5-progress-indicator-icon{margin-inline-start:.375rem;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);display:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_visibility);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_position);inset-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_right_position)}:host([value-state="Error"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_icon_color)}:host([value-state="Warning"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_icon_color)}:host([value-state="Success"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_icon_color)}:host([value-state="Information"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_icon_color)}:host([value-state="Error"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_border_color)}:host([value-state="Warning"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_border_color)}:host([value-state="Success"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_border_color)}:host([value-state="Information"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_border_color)}:host([value-state="Error"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_error)}:host([value-state="Warning"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_warning)}:host([value-state="Success"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_success)}:host([value-state="Information"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_information)}:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_error)}:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_warning)}:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_success)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_information)}:host([disabled]) .ui5-progress-indicator-root{opacity:.4}.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-v1-22-1-rc-0_progress_indicator_side_points_visibility);background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none)}.ui5-progress-indicator-remaining-bar:before{left:.0625rem}.ui5-progress-indicator-remaining-bar:after{right:.0625rem}: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)}: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)}: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)}: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)} +`};var La=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ia;let jr=ia=class extends j{constructor(){super(),this._previousValue=0,this._transitionDuration=0}onBeforeRendering(){this._transitionDuration=Math.abs(this._previousValue-this.validatedValue)*20,this._previousValue=this.validatedValue}valueStateTextMappings(){return{Error:ia.i18nBundle.getText(wr),Warning:ia.i18nBundle.getText(kr),Success:ia.i18nBundle.getText($r),Information:ia.i18nBundle.getText(Yr)}}valueStateIconMappings(){return{Error:"status-negative",Warning:"status-critical",Success:"status-positive",Information:"information"}}get styles(){return{bar:{width:`${this.validatedValue}%`,"transition-duration":this.shouldAnimate?`${this._transitionDuration}ms`:"none"}}}get classes(){return{root:{"ui5-progress-indicator-max-value":this.validatedValue===100,"ui5-progress-indicator-min-value":this.validatedValue===0}}}get validatedValue(){return this.value<0?0:this.value>100?100:this.value}get showValueInRemainingBar(){return this.value<=50}get shouldAnimate(){return cc()!==bs.None}get valueStateText(){const e=`${this.validatedValue}%`,t=this.valueStateTextMappings()[this.valueState];return t?`${e} ${t}`:e}get showIcon(){return this.valueState!==y.None}get valueStateIcon(){return this.valueStateIconMappings()[this.valueState]}get _ariaDisabled(){return this.disabled||void 0}static async onDefine(){ia.i18nBundle=await oe("@ui5/webcomponents")}};La([u()],jr.prototype,"accessibleName",void 0);La([u({type:Boolean})],jr.prototype,"disabled",void 0);La([u({type:Boolean})],jr.prototype,"hideValue",void 0);La([u({validator:z,defaultValue:0})],jr.prototype,"value",void 0);La([u({defaultValue:null})],jr.prototype,"displayValue",void 0);La([u({type:y,defaultValue:y.None})],jr.prototype,"valueState",void 0);jr=ia=La([B({tag:"ui5-progress-indicator",renderer:ee,styles:e7,template:U8,dependencies:[Ie]})],jr);jr.define();function t7(i,e,t){return c`
    `}function i7(i,e,t,o,r){return c`${o.selected?o7.call(this,i,e,t,o,r):r7.call(this,i,e,t,o,r)}`}function o7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:c`
  • `}function r7(i,e,t,o,r){return c`${o.halfStar?n7.call(this,i,e,t,o,r):a7.call(this,i,e,t,o,r)}`}function n7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
    <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite" class="ui5-rating-indicator-half-icon">
  • `:c`
  • `}function a7(i,e,t,o,r){return c`${this.readonly?s7.call(this,i,e,t,o,r):l7.call(this,i,e,t,o,r)}`}function s7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:c`
  • `}function l7(i,e,t,o,r){return c`${this.disabled?c7.call(this,i,e,t,o,r):u7.call(this,i,e,t,o,r)}`}function c7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:c`
  • `}function u7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
  • `:c`
  • `}const d7="favorite",Dk="M378.36 297.834q-5.996 3.998-2.998 8.995l71.96 193.892q1.999 4.997-2.499 8.995t-9.494.999l-174.903-123.93q-4.997-3-8.995 0L76.53 510.714q-4.997 2.998-9.495-1t-2.499-8.994l71.96-193.892q2-5.997-2.998-8.995L3.569 205.885q-4.997-2.998-2.998-8.495t6.996-5.497h165.908q4.997 0 7.995-4.997L248.433 4.997Q250.432 0 255.929 0t7.495 4.997l66.963 181.899q1.999 4.997 7.996 4.997H503.29q5.996 0 7.995 5.497t-2.998 8.495z",_7=!1,h7="SAP-icons-v4",p7="@ui5/webcomponents-icons";Y(d7,{pathData:Dk,ltr:_7,collection:h7,packageName:p7});const v7="favorite",Pk="M0 198q0-9 6.5-16t15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 16q0 11-7 18L399 328l26 154q1 2 1 5 0 10-7.5 17.5T400 512q-6 0-12-3l-132-74-132 74q-4 3-12 3-11 0-18.5-7.5T86 487q0-2 .5-2.5t.5-2.5l26-154L7 216q-7-7-7-18z",f7=!1,m7="SAP-icons-v5",g7="@ui5/webcomponents-icons";Y(v7,{pathData:Pk,ltr:f7,collection:m7,packageName:g7});we();const b7="unfavorite",Ok="M8.569 191.946h164.954q5.998 0 7.998-4.998l66.981-181.95Q250.502 0 256.5 0q4.998 0 6.998 4.999l66.981 181.949q2 4.998 7.998 4.998h165.954q4.998 0 6.998 5.499t-3 8.498l-129.963 91.974q-4 2.999-3 8.997l71.98 193.946q2 4.999-1 7.998t-6.997 3q-3 0-4-1L260.5 386.891q-1-1-4-1-3.998 0-4.998 1L76.551 510.857q-1 1-4 1-3.999 0-6.998-2.999t-1-7.998l71.98-193.946q2-5.998-2.999-8.997L3.57 205.943q-4.998-3-2.999-8.498t7.998-5.499zm143.96 79.978q10.997 7.998 14.996 20.494t-1 25.493l-44.987 121.966L233.506 360.9q9.997-6.998 22.994-6.998 11.996 0 21.994 5.999l111.968 79.977-44.987-121.966q-4.999-12.996-1-25.493t14.996-20.494l68.98-47.986h-89.974q-26.992 0-37.99-25.993L256.5 76.979l-44.988 120.966q-10.997 25.993-37.989 25.993H84.548z",y7=!1,w7="SAP-icons-v4",k7="@ui5/webcomponents-icons";Y(b7,{pathData:Ok,ltr:y7,collection:w7,packageName:k7});const $7="unfavorite",Rk="M400 510q-7 0-12-3l-132-74-131 74q-6 3-13 3-11 0-18.5-7T86 485q0-2 .5-2.5t.5-1.5l26-155L7 214q-7-7-7-17t6.5-17 15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 17q0 11-7 17L399 326l26 155q1 1 1 4 0 11-7.5 18t-18.5 7zM256 379q7 0 13 3l97 54-20-114q0-7 1-12t6-10l81-85-112-16q-13-1-20-15l-46-99-46 99q-5 13-19 15L78 215l81 85q5 5 6 10t1 12l-20 114 98-54q5-3 12-3z",T7=!1,x7="SAP-icons-v5",S7="@ui5/webcomponents-icons";Y($7,{pathData:Rk,ltr:T7,collection:x7,packageName:S7});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const I7={packageName:"@ui5/webcomponents",fileName:"themes/RatingIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;font-size:24px;margin:var(--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:.4;cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .ui5-rating-indicator-item-unsel,:host([readonly]) .ui5-rating-indicator-item-unsel{padding-inline:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing);width:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:.9}:host([_focused]){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5-v1-22-1-rc-0_rating_indicator_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_rating_indicator_border_radius)}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.ui5-rating-indicator-root{outline:none;position:relative}.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-v1-22-1-rc-0_rating_indicator_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_item_height)}.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,.ui5-rating-indicator-item.ui5-rating-indicator-item-half{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-item [ui5-icon].ui5-rating-indicator-half-icon{position:absolute;inset-inline-start:50%;color:var(--sapContent_RatedColor)}.ui5-rating-indicator-half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden} +`};var Yo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},qa;let io=qa=class extends j{static async onDefine(){qa.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this.calcState()}calcState(){this._stars=[];for(let e=1;e2&&t<8?o=!0:t<=2?r=Math.floor(this.value):t>=8&&(r=Math.ceil(this.value)),this._stars.push({selected:e<=r,index:e,halfStar:o})}}_onclick(e){const t=e.target;if(!(t instanceof HTMLElement)||this.disabled||this.readonly)return;const o=t.getAttribute("data-ui5-value");o!==null&&(this.value=parseInt(o),this.value===1&&this._liveValue===1&&(this.value=0),this._liveValue!==this.value&&(this.fireEvent("change"),this._liveValue=this.value))}_onkeydown(e){if(this.disabled||this.readonly)return;const t=De(e)||ft(e),o=it(e)||Le(e),r=te(e)||de(e),n=St(e),s=si(e),l=e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105;if(t||o||r||n||s||l){if(e.preventDefault(),t&&this.value>0)this.value=Math.round(this.value-1);else if(o&&this.valuethis.max?0:_}else if(n)this.value=0;else if(s)this.value=this.max;else if(l){const _=parseInt(e.key);this.value=_>this.max?this.max:_}this.fireEvent("change")}}_onfocusin(){this.disabled||(this._focused=!0,this._liveValue=this.value)}_onfocusout(){this._focused=!1}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled?"-1":e||"0"}get ratingTooltip(){return this.tooltip||this.defaultTooltip}get defaultTooltip(){return qa.i18nBundle.getText(m0)}get _ariaRoleDescription(){return qa.i18nBundle.getText(g0)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabel(){return Wt(this)}get _ariaDescription(){return this.required?qa.i18nBundle.getText(b0):void 0}get ariaReadonly(){return this.readonly?"true":void 0}};Yo([u({validator:Ti,defaultValue:0})],io.prototype,"value",void 0);Yo([u({validator:z,defaultValue:5})],io.prototype,"max",void 0);Yo([u({type:Boolean})],io.prototype,"disabled",void 0);Yo([u({type:Boolean})],io.prototype,"readonly",void 0);Yo([u()],io.prototype,"accessibleName",void 0);Yo([u({defaultValue:""})],io.prototype,"accessibleNameRef",void 0);Yo([u({type:Boolean})],io.prototype,"required",void 0);Yo([u()],io.prototype,"tooltip",void 0);Yo([u({type:Object,multiple:!0})],io.prototype,"_stars",void 0);Yo([u({type:Boolean})],io.prototype,"_focused",void 0);io=qa=Yo([B({tag:"ui5-rating-indicator",languageAware:!0,renderer:ee,styles:I7,template:t7,dependencies:[Ie]}),$("change")],io);io.define();const C7="slim-arrow-up",Lk="M261.5 197q-6-6-11 0l-160 160q-5 5-11.5 5t-11.5-5-5-11.5 5-11.5l166-165q9-9 22-9t23 9l165 165q5 5 5 11t-5 11q-12 12-23 0z",A7=!1,B7="SAP-icons-v4",E7="@ui5/webcomponents-icons";Y(C7,{pathData:Lk,ltr:A7,collection:B7,packageName:E7});const D7="slim-arrow-up",Mk="M96 326q0-10 7-17l135-141q6-8 18-8 11 0 19 8l134 141q7 7 7 17 0 11-7.5 18.5T390 352q-10 0-18-8L256 223 140 344q-8 8-18 8-11 0-18.5-7.5T96 326z",P7=!1,O7="SAP-icons-v5",R7="@ui5/webcomponents-icons";Y(D7,{pathData:Mk,ltr:P7,collection:O7,packageName:R7});we();var Uh;(function(i){i.Top="Top",i.Bottom="Bottom"})(Uh||(Uh={}));const Wh=Uh;var qh;(function(i){i.Default="Default",i.Positive="Positive",i.Negative="Negative",i.Critical="Critical",i.Neutral="Neutral"})(qh||(qh={}));const Qt=qh;var jh;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(jh||(jh={}));const Nu=jh;var Gh;(function(i){i.Inline="Inline",i.Standard="Standard"})(Gh||(Gh={}));const Fu=Gh;var Yh;(function(i){i.End="End",i.StartAndEnd="StartAndEnd"})(Yh||(Yh={}));const Kh=Yh;function L7(i,e,t){return c`
    ${this.tabsAtTheBottom?M7.call(this,i,e,t):void 0}
    ${E(this.items,(o,r)=>o._id||r,(o,r)=>V7.call(this,i,e,t,o,r))}
    ${this.tabsAtTheBottom?void 0:W7.call(this,i,e,t)}${this.hasSubTabs?j7.call(this,i,e,t):void 0}
    `}function M7(i,e,t){return c`
    ${E(this.items,(o,r)=>o._id||r,(o,r)=>N7.call(this,i,e,t,o,r))}
    `}function N7(i,e,t,o,r){return c``}function F7(i,e,t){return c``}function z7(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-start" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._startOverflowText)}`:c`${a(this._startOverflowText)}`}function V7(i,e,t,o,r){return c`${a(o.stripPresentation)}`}function H7(i,e,t){return c``}function U7(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-end" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._endOverflowText)}`:c`${a(this._endOverflowText)}`}function W7(i,e,t){return c`
    ${E(this.items,(o,r)=>o._id||r,(o,r)=>q7.call(this,i,e,t,o,r))}
    `}function q7(i,e,t,o,r){return c``}function j7(i,e,t){return c`${a(this.accInvisibleText)}`}function G7(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop hide-arrow _hide-header class="ui5-tab-container-responsive-popover"><${d("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOverflowListItemClick)}">${E(this._overflowItems,(o,r)=>o._id||r,(o,r)=>yb.call(this,i,e,t,o,r))}`:c`${E(this._overflowItems,(o,r)=>o._id||r,(o,r)=>yb.call(this,i,e,t,o,r))}`}function yb(i,e,t,o,r){return c`${a(o.overflowPresentation)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const Y7={packageName:"@ui5/webcomponents",fileName:"themes/TabContainer.css.ts",content:`.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;width:100%;container-type:inline-size}.ui5-tc-root{display:flex;flex-direction:column;width:100%;height:100%;font-family:"72override",var(--sapFontFamily);font-size:1rem}.ui5-tc__header{position:relative;display:flex;align-items:center;background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background);height:var(--_ui5-v1-22-1-rc-0_tc_header_height);box-shadow:var(--_ui5-v1-22-1-rc-0_tc_header_box_shadow);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__header{border-top:var(--_ui5-v1-22-1-rc-0_tc_header_border_bottom)}:host([header-background-design="Transparent"]) .ui5-tc__header{background-color:transparent}:host([header-background-design="Translucent"]) .ui5-tc__header{background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background_translucent)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only)}.ui5-tc-root.ui5-tc--textOnly.ui5-tc--withAdditionalText.ui5-tc--standardTabLayout .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_with_additional_text)}.ui5-tc__tabStrip{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative;white-space:nowrap}.ui5-tc__separator:focus{outline:none}.ui5-tc__overflow{flex:0 0 0}.ui5-tc__overflow.ui5-tc__overflow--end{padding-inline-start:.188rem;margin-inline-end:1rem}.ui5-tc__overflow.ui5-tc__overflow--start{margin-inline-start:1rem}.ui5-tc__overflow[hidden]{display:none}.ui5-tc__overflow>[ui5-button]{border-radius:.75rem;height:1.5rem}.ui5-tc__overflow>[ui5-button]:not([active]){color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button]:not([active]):hover{color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button][focused]{outline-offset:.125rem;--_ui5-v1-22-1-rc-0_button_focused_border: none;outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__content{height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only))}.ui5-tc__content{position:relative;display:flex;height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height));background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background);border-bottom:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__content{border-top:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom)}:host([content-background-design="Transparent"]) .ui5-tc__content{background-color:transparent}:host([content-background-design="Translucent"]) .ui5-tc__content{background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background_translucent)}.ui5-tc__content--collapsed{display:none}.ui5-tc--transparent .ui5-tc__content{background-color:transparent}.ui5-tc__contentItem{max-height:100%;display:flex;flex-grow:1;overflow:auto}.ui5-tc__contentItem[hidden]{display:none}.ui5-tc__header{padding:0}.ui5-tc__content{padding:1rem}@container (min-width: 600px){.ui5-tc__header{padding:0 1rem}.ui5-tc__content{padding:1rem 2rem}}@container (min-width: 1440px){.ui5-tc__header{padding:0 2rem}.ui5-tc__content{padding:1rem 3rem}} +`};var Ot=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Br;const Nk=[],Fk=[],K7=5;let ct=Br=class extends j{static registerTabStyles(e){Nk.push(e)}static registerStaticAreaTabStyles(e){Fk.push(e)}constructor(){super(),this._handleResizeBound=this._handleResize.bind(this),this._itemNavigation=new _r(this,{getItemsCallback:()=>this._getFocusableRefs(),skipItemsSize:K7})}onBeforeRendering(){if(this._allItemsAndSubItems=this._getAllSubItems(this.items),!this._allItemsAndSubItems.length)return;const e=this._allItemsAndSubItems.filter(t=>t.selected);e.length?(this._selectedTab.forcedSelected=!1,this._selectedTab=e[0]):(this._selectedTab=this._allItemsAndSubItems[0],this._selectedTab.forcedSelected=!0),this._setItemsPrivateProperties(this.items),this._animationRunning||(this._contentCollapsed=this.collapsed),this.showOverflow&&console.warn('The "show-overflow" property is deprecated and will be removed in a future release.')}onAfterRendering(){if(this.items.length&&(this._setItemsForStrip(),!this.shadowRoot.contains(document.activeElement))){const e=this._getRootTab(this._selectedTab);this._itemNavigation.setCurrentItem(e)}}onEnterDOM(){Pe.register(this._getHeader(),this._handleResizeBound)}onExitDOM(){Pe.deregister(this._getHeader(),this._handleResizeBound)}_handleResize(){this.responsivePopover&&this.responsivePopover.opened&&this.responsivePopover.close(),this._width=this.offsetWidth}_setItemsPrivateProperties(e){e.filter(o=>(o.getElementInStrip=()=>this.getDomRef().querySelector(`[id="${o._id}"]`),!o.isSeparator)).forEach((o,r,n)=>{o.isInline=this.tabLayout===Fu.Inline,o.forcedMixedMode=this.mixedMode,o.forcedPosinset=r+1,o.forcedSetsize=n.length,o.realTabReference=this._selectedTab,o.isTopLevelTab=e.some(s=>s===o),Xh(e,s=>{s.realTabReference=o.realTabReference})})}_onHeaderFocusin(e){const t=Hc(e.target);t&&this._itemNavigation.setCurrentItem(t.realTabReference)}async _onTabStripClick(e){const t=Hc(e.target);if(!(!t||t.realTabReference.disabled)){if(e.stopPropagation(),e.preventDefault(),e.target.hasAttribute("ui5-button")){this._onTabExpandButtonClick(e);return}if(!t.realTabReference.hasOwnContent&&t.realTabReference.tabs.length){this._overflowItems=t.realTabReference.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t.realTabReference.getTabInStripDomRef());return}this._onHeaderItemSelect(t)}}async _onTabExpandButtonClick(e){e.stopPropagation(),e.preventDefault();let t=e.target,o=t.tab;if(o&&o.focus(),e.type==="keydown"&&!e.target.realTabReference.isSingleClickArea&&(t=e.target.querySelectorAll(".ui5-tab-expand-button")[0],o=e.target.realTabReference),!o){this._onHeaderItemSelect(t.parentElement);return}this._overflowItems=o.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.isOpen()?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t)}_setPopoverInitialFocus(){const t=this._getSelectedTabInOverflow()||this._getFirstFocusableItemInOverflow();this.responsivePopover.initialFocus=`${t.realTabReference._id}-li`}_getSelectedTabInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.realTabReference&&e.realTabReference.selected)}_getFirstFocusableItemInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.classList.contains("ui5-tab-overflow-item"))}_onTabStripKeyDown(e){const t=Hc(e.target);!t||t.realTabReference.disabled||(de(e)&&(t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t)),te(e)&&e.preventDefault(),(De(e)||Le(e))&&(t.realTabReference.requiresExpandButton&&this._onTabExpandButtonClick(e),t.realTabReference.isSingleClickArea&&this._onTabStripClick(e)))}_onTabStripKeyUp(e){const t=Hc(e.target);!t||t.realTabReference.disabled||te(e)&&(e.preventDefault(),t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t))}_onHeaderItemSelect(e){e.hasAttribute("disabled")||this._onItemSelect(e.id)}async _onOverflowListItemClick(e){e.preventDefault(),this._onItemSelect(e.detail.item.id.slice(0,-3)),this.responsivePopover.close(),await Bi(),this._getRootTab(this._selectedTab).getTabInStripDomRef().focus()}get allItems(){return this._getAllSubItems(this.items)}_getAllSubItems(e,t=[],o=1){return e.forEach(r=>{(r.hasAttribute("ui5-tab")||r.hasAttribute("ui5-tab-separator"))&&(r.forcedLevel=o,t.push(r),r.subTabs&&this._getAllSubItems(r.subTabs,t,o+1))}),t}_onItemSelect(e){const t=this._selectedTab,o=this._allItemsAndSubItems.findIndex(s=>s.__id===e),r=this._allItemsAndSubItems[o];this.selectTab(r,o)&&(this._allItemsAndSubItems.forEach((s,l)=>{const _=o===l;s.selected=_,s.forcedSelected&&(s.forcedSelected=!1)}),!this.fixed&&(this.shouldAnimate?this.toggleAnimated(r,t):this.toggle(r,t)))}async toggleAnimated(e,t){const o=this.shadowRoot.querySelector(".ui5-tc__content");let r=null;this._animationRunning=!0,e===t?(this.collapsed=!this.collapsed,r=this.collapsed?this.slideContentUp(o):this.slideContentDown(o)):(r=this.collapsed?this.slideContentDown(o):Promise.resolve(),this.collapsed=!1),await r,this._contentCollapsed=this.collapsed,this._animationRunning=!1}toggle(e,t){e===t?this.collapsed=!this.collapsed:this.collapsed=!1}selectTab(e,t){return this.fireEvent("tab-select",{tab:e,tabIndex:t},!0)?(this._selectedTab=e,!0):!1}slideContentDown(e){return gk(e).promise()}slideContentUp(e){return bk(e).promise()}async _onOverflowClick(e){if(e.target.classList.contains("ui5-tc__overflow"))return;const o=e.currentTarget.classList.contains("ui5-tc__overflow--end"),r=o?"end-overflow":"start-overflow";this._overflowItems=this.items.filter(s=>{const l=s.getTabInStripDomRef();return l&&l.hasAttribute(r)}),this._addStyleIndent(this._overflowItems);let n;o?n=this.overflowButton[0]||this._getEndOverflowBtnDOM():n=this.startOverflowButton[0]||this._getStartOverflowBtnDOM(),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():(this._setPopoverInitialFocus(),this.responsivePopover.showAt(n))}_addStyleIndent(e){const t=this._getAllSubItems(e).filter(o=>!o.isSeparator).some(o=>o.design!==Qt.Default&&o.design!==Qt.Neutral);Xh(e,o=>{let r=o.forcedLevel-1;o.isSeparator&&(r+=1),o.forcedStyle={[Qi("--_ui5-tab-indentation-level")]:r,[Qi("--_ui5-tab-extra-indent")]:t?1:null}})}async _onOverflowKeyDown(e){const t=e.currentTarget,o=t.classList.contains("ui5-tc__overflow--end"),r=t.classList.contains("ui5-tc__overflow--start");(De(e)||r&&ft(e)||o&&it(e))&&(e.stopPropagation(),e.preventDefault(),await this._onOverflowClick(e))}_setItemsForStrip(){const e=this._getTabStrip();let t=0;if(!this._selectedTab)return;const o=this.items.map(n=>n.getTabInStripDomRef());this._getStartOverflow().setAttribute("hidden",""),this._getEndOverflow().setAttribute("hidden","");for(let n=0;n{t+=this._getItemWidth(n)}),e.offsetWidth=0;v--)e[v].setAttribute("hidden",""),e[v].setAttribute("start-overflow","");return}this._getStartOverflow().removeAttribute("hidden"),this._getEndOverflow().removeAttribute("hidden"),t=this._getTabStrip().offsetWidth,_=this._findFirstVisibleItem(e,t,n.width,n.index-1),p=this._findLastVisibleItem(e,t,n.width,_);for(let v=_-1;v>=0;v--)e[v].setAttribute("hidden",""),e[v].setAttribute("start-overflow","");for(let v=p+1;v=0;s--)r+=this._getItemWidth(t[s]);let n=e=t.length)return!1;let r=0;for(let s=o.index;s=0;s--){const l=this._getItemWidth(e[s]);if(to.getTabInStripDomRef()).forEach(o=>{o.hasAttribute("start-overflow")&&e++,o.hasAttribute("end-overflow")&&t++}),this._startOverflowText=`+${e}`,this._endOverflowText=`+${t}`}_getFocusableRefs(){if(!this.getDomRef())return[];const e=[];return this._getStartOverflow().hasAttribute("hidden")||e.push(this.startOverflowButton[0]||this._getStartOverflowBtnDOM()),this._getTabs().forEach(t=>{const o=t.getTabInStripDomRef();o&&!o.hasAttribute("hidden")&&e.push(t)}),this._getEndOverflow().hasAttribute("hidden")||e.push(this.overflowButton[0]||this._getEndOverflowBtnDOM()),e}_getHeader(){return this.shadowRoot.querySelector(`#${this._id}-header`)}_getTabs(){return this.items.filter(e=>!e.isSeparator)}get hasSubTabs(){const e=this._getTabs();for(let t=0;t0)return!0;return!1}_getTabStrip(){return this.shadowRoot.querySelector(`#${this._id}-tabStrip`)}_getStartOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--start")}_getEndOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--end")}_getStartOverflowBtnDOM(){return this._getStartOverflow().querySelector("[ui5-button]")}_getEndOverflowBtnDOM(){return this._getEndOverflow().querySelector("[ui5-button]")}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector(`#${this._id}-overflowMenu`)}async _closeRespPopover(){this.responsivePopover=await this._respPopover(),this.responsivePopover.close()}get classes(){return{root:{"ui5-tc-root":!0,"ui5-tc--textOnly":this.textOnly,"ui5-tc--withAdditionalText":this.withAdditionalText,"ui5-tc--standardTabLayout":this.standardTabLayout},header:{"ui5-tc__header":!0},tabStrip:{"ui5-tc__tabStrip":!0},separator:{"ui5-tc__separator":!0},content:{"ui5-tc__content":!0,"ui5-tc__content--collapsed":this._contentCollapsed}}}get mixedMode(){return this.items.some(e=>e.icon)&&this.items.some(e=>e.text)}get textOnly(){return this.items.every(e=>!e.icon)}get withAdditionalText(){return this.items.some(e=>!!e.additionalText)}get standardTabLayout(){return this.tabLayout===Fu.Standard}get previousIconACCName(){return Br.i18nBundle.getText(M0)}get nextIconACCName(){return Br.i18nBundle.getText(L0)}get overflowMenuTitle(){return Br.i18nBundle.getText(N0)}get tabsAtTheBottom(){return this.tabsPlacement===Wh.Bottom}get overflowMenuIcon(){return this.tabsAtTheBottom?"slim-arrow-up":"slim-arrow-down"}get overflowButtonText(){return Br.i18nBundle.getText(jp)}get popoverCancelButtonText(){return Br.i18nBundle.getText(F0)}get accInvisibleText(){return Br.i18nBundle.getText(z0)}get tablistAriaDescribedById(){return this.hasSubTabs?`${this._id}-invisibleText`:void 0}get shouldAnimate(){return cc()!==bs.None}static async onDefine(){Br.i18nBundle=await oe("@ui5/webcomponents")}};Ot([u({type:Boolean})],ct.prototype,"fixed",void 0);Ot([u({type:Boolean})],ct.prototype,"collapsed",void 0);Ot([u({type:Boolean})],ct.prototype,"showOverflow",void 0);Ot([u({type:Fu,defaultValue:Fu.Standard})],ct.prototype,"tabLayout",void 0);Ot([u({type:Kh,defaultValue:Kh.End})],ct.prototype,"tabsOverflowMode",void 0);Ot([u({type:Nu,defaultValue:Nu.Solid})],ct.prototype,"headerBackgroundDesign",void 0);Ot([u({type:Nu,defaultValue:Nu.Solid})],ct.prototype,"contentBackgroundDesign",void 0);Ot([u({type:Wh,defaultValue:Wh.Top})],ct.prototype,"tabsPlacement",void 0);Ot([u({type:Object})],ct.prototype,"_selectedTab",void 0);Ot([u({type:Boolean,noAttribute:!0})],ct.prototype,"_animationRunning",void 0);Ot([u({type:Boolean,noAttribute:!0})],ct.prototype,"_contentCollapsed",void 0);Ot([u({noAttribute:!0,defaultValue:"0"})],ct.prototype,"_startOverflowText",void 0);Ot([u({noAttribute:!0,defaultValue:"More"})],ct.prototype,"_endOverflowText",void 0);Ot([u({type:Object,multiple:!0})],ct.prototype,"_overflowItems",void 0);Ot([u({validator:z,noAttribute:!0})],ct.prototype,"_width",void 0);Ot([F({default:!0,type:HTMLElement,individualSlots:!0,invalidateOnChildChange:{properties:!0,slots:!1}})],ct.prototype,"items",void 0);Ot([F()],ct.prototype,"overflowButton",void 0);Ot([F()],ct.prototype,"startOverflowButton",void 0);ct=Br=Ot([B({tag:"ui5-tabcontainer",languageAware:!0,fastNavigation:!0,styles:[Nk,Y7],staticAreaStyles:[Wo,Fk],renderer:ee,template:L7,staticAreaTemplate:G7,dependencies:[Fe,Ie,xr,wo]}),$("tab-select",{detail:{tab:{type:HTMLElement},tabIndex:{type:Number}}})],ct);const X7=i=>i.localName==="div"&&i.getAttribute("role")==="tab",Hc=i=>{for(;i;){if(X7(i))return i;i=i.parentElement}return!1},Xh=(i,e)=>{[...i].forEach(t=>{e(t),t.subTabs&&Xh(t.subTabs,e)})};ct.define();const gd=ct;function Z7(i,e,t){return c`
    ${E(this.tabs,(o,r)=>o._id||r,(o,r)=>Q7.call(this,i,e,t,o,r))}
    `}function Q7(i,e,t,o,r){return c``}function J7(i,e,t){return c``}function vB(i,e,t){return w`
    `}function mB(i,e,t){return w`
    ${a(this.titleText)}
    `}function gB(i,e,t){return w`
    ${a(this.status)}
    `}function bB(i,e,t){return w`
    ${a(this.subtitleText)}
    `}function yB(i,e,t){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const wB={packageName:"@ui5/webcomponents",fileName:"themes/CardHeader.css.ts",content:`.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-card-header{position:relative;display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_card_header_padding);outline:none}:host([subtitleText]) .ui5-card-header{align-items:flex-start}.ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-within:before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus):before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header-focusable-element{outline:none}.ui5-card-header-focusable-element{display:inherit;align-items:inherit;flex:1}.ui5-card-header.ui5-card-header--interactive:hover{cursor:pointer;background:var(--_ui5-v1-22-1-rc-0_card_header_hover_bg)}.ui5-card-header.ui5-card-header--active,.ui5-card-header.ui5-card-header--interactive:active{background:var(--_ui5-v1-22-1-rc-0_card_header_active_bg)}.ui5-card-header .ui5-card-header-text{flex:1;pointer-events:none}.ui5-card-header-first-line{display:flex;flex-flow:row;justify-content:space-between}.ui5-card-header-status{flex:none}.ui5-card-header .ui5-card-header-avatar{height:3rem;width:3rem;display:flex;align-items:center;justify-content:center;margin-inline-end:.75rem;pointer-events:none;align-self:flex-start}::slotted([ui5-icon]){width:1.5rem;height:1.5rem;color:var(--sapTile_IconColor)}::slotted(img[slot="avatar"]){width:100%;height:100%;border-radius:50%}.ui5-card-header .ui5-card-header-status{display:inline-block;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTile_TextColor);text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;margin-inline-start:1rem;margin-block-start:.125rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{font-family:var(--_ui5-v1-22-1-rc-0_card_header_title_font_family);font-size:var(--_ui5-v1-22-1-rc-0_card_header_title_font_size);font-weight:var(--_ui5-v1-22-1-rc-0_card_header_title_font_weight);color:var(--sapTile_TitleTextColor);max-height:3.5rem;align-self:flex-end}.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapTile_TextColor);margin-top:var(--_ui5-v1-22-1-rc-0_card_header_subtitle_margin_top);max-height:2.1rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title,.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{text-align:start;text-overflow:ellipsis;white-space:normal;word-wrap:break-word;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-width:100%}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{-webkit-line-clamp:3}.ui5-card-header-action{display:flex;padding-inline-start:1rem;align-self:flex-start} +`};var ia=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},dl;let $r=dl=class extends ie{get classes(){return{root:{"ui5-card-header":!0,"ui5-card-header--interactive":this.interactive,"ui5-card-header--active":this.interactive&&this._headerActive,"ui5-card-header-ff":my()}}}get _root(){return this.shadowRoot.querySelector(".ui5-card-header")}get ariaRoleDescription(){return this.interactive?dl.i18nBundle.getText(t3):dl.i18nBundle.getText(e3)}get ariaRoleFocusableElement(){return this.interactive?"button":null}get ariaCardAvatarLabel(){return dl.i18nBundle.getText(cv)}get ariaLabelledBy(){const e=[];return this.titleText&&e.push(`${this._id}-title`),this.subtitleText&&e.push(`${this._id}-subtitle`),this.status&&e.push(`${this._id}-status`),this.hasAvatar&&e.push(`${this._id}-avatar`),e.length!==0?e.join(" "):void 0}get hasAvatar(){return!!this.avatar.length}get hasAction(){return!!this.action.length}static async onDefine(){dl.i18nBundle=await fe("@ui5/webcomponents")}_actionsFocusin(){this._root.classList.add("ui5-card-header-hide-focus")}_actionsFocusout(){this._root.classList.remove("ui5-card-header-hide-focus")}_click(e){e.stopImmediatePropagation(),this.interactive&&this._root.contains(e.target)&&this.fireEvent("click")}_keydown(e){if(!this.interactive||!this._root.contains(e.target))return;const t=Ie(e),o=le(e);if(this._headerActive=t||o,t){this.fireEvent("click");return}o&&e.preventDefault()}_keyup(e){if(!this.interactive||!this._root.contains(e.target))return;const t=le(e);this._headerActive=!1,t&&this.fireEvent("click")}};ia([A()],$r.prototype,"titleText",void 0);ia([A()],$r.prototype,"subtitleText",void 0);ia([A()],$r.prototype,"status",void 0);ia([A({type:Boolean})],$r.prototype,"interactive",void 0);ia([A({validator:ae,defaultValue:3})],$r.prototype,"_ariaLevel",void 0);ia([A({type:Boolean,noAttribute:!0})],$r.prototype,"_headerActive",void 0);ia([Z()],$r.prototype,"avatar",void 0);ia([Z()],$r.prototype,"action",void 0);$r=dl=ia([K({tag:"ui5-card-header",languageAware:!0,renderer:de,template:fB,styles:wB}),q("click")],$r);$r.define();const Pn=new WeakMap;class Jc{static get tasks(){return Pn}static enqueue(e,t){Pn.has(e)||Pn.set(e,[]),Pn.get(e).push(t)}static run(e,t){return Pn.has(e)||Pn.set(e,[]),t().then(()=>{const o=Pn.get(e);if(o.length>0)return Jc.run(e,o.shift());Pn.delete(e)})}static push(e,t){Pn.get(e)?Jc.enqueue(e,t):Jc.run(e,t)}}const Ev=i=>{let e=null,t=!1,o,r,n;const s=new Promise((l,I)=>{n=y=>{e=e||y;const C=y-e,b=i.duration-C;if(C<=i.duration){const v=1-b/i.duration;i.advance(v),t||(o=requestAnimationFrame(n))}else i.advance(1),l()},r=()=>{t=!0,cancelAnimationFrame(o),I(new Error("animation stopped"))}}).catch(l=>l);return Jc.push(i.element,()=>(typeof i.beforeStart=="function"&&i.beforeStart(),requestAnimationFrame(n),new Promise(l=>{s.then(()=>l())}))),{promise:()=>s,stop:()=>r}},$v=400,TB=(i,e,t)=>{let o,r;return Ev({beforeStart:()=>{o=i.scrollLeft,r=i.scrollTop},duration:$v,element:i,advance:n=>{i.scrollLeft=o+n*e,i.scrollTop=r+n*t}})},CB="scroll",IB=au()?"touchend":"mouseup";class Av extends Er{constructor(e){super(),this.supportsTouch=au(),this.containerComponent=e,this.mouseMove=this.ontouchmove.bind(this),this.mouseUp=this.ontouchend.bind(this),this.touchStart=this.ontouchstart.bind(this),this.supportsTouch=au(),this.cachedValue={dragX:0,dragY:0},this.startX=0,this.startY=0,this.supportsTouch?(e.addEventListener("touchstart",this.touchStart,{passive:!0}),e.addEventListener("touchmove",this.mouseMove,{passive:!0}),e.addEventListener("touchend",this.mouseUp,{passive:!0})):e.addEventListener("mousedown",this.touchStart,{passive:!0})}set scrollContainer(e){this._container=e}get scrollContainer(){return this._container}async scrollTo(e,t,o=0,r=0){let n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0;for(;!n&&o>0;)await new Promise(s=>{setTimeout(()=>{n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0,o--,s()},r)});this._container.scrollLeft=e,this._container.scrollTop=t}move(e,t,o){if(o){this._container.scrollLeft+=e,this._container.scrollTop+=t;return}if(this._container)return TB(this._container,e,t)}getScrollLeft(){return this._container.scrollLeft}getScrollTop(){return this._container.scrollTop}_isTouchInside(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]);const o=this._container.getBoundingClientRect(),r=this.supportsTouch?t.clientX:e.x,n=this.supportsTouch?t.clientY:e.y;return r>=o.left&&r<=o.right&&n>=o.top&&n<=o.bottom}ontouchstart(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]),t?(this.startX=t.pageX,this.startY=t.pageY):(document.addEventListener("mouseup",this.mouseUp,{passive:!0}),document.addEventListener("mousemove",this.mouseMove,{passive:!0})),t&&(this._prevDragX=t.pageX,this._prevDragY=t.pageY),e instanceof MouseEvent&&(this._prevDragX=e.x,this._prevDragY=e.y),this._canScroll=this._isTouchInside(e)}ontouchmove(e){if(!this._canScroll)return;const t=this._container,o=this.supportsTouch?e.touches[0]:null,r=this.supportsTouch?o.pageX:e.x,n=this.supportsTouch?o.pageY:e.y;t.scrollLeft+=this._prevDragX-r,t.scrollTop+=this._prevDragY-n,this.fireEvent(CB,{isLeft:r>this._prevDragX,isRight:rthis._prevDragX}),this._prevDragX=o,this._prevDragY=r,this.supportsTouch||(document.removeEventListener("mousemove",this.mouseMove),document.removeEventListener("mouseup",this.mouseUp))}}var _1;(function(i){i.Content="Content",i.Navigation="Navigation"})(_1||(_1={}));const tn=_1;var h1;(function(i){i.Default="Default",i.Numeric="Numeric"})(h1||(h1={}));const p1=h1;var f1;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(f1||(f1={}));const f_=f1;var v1;(function(i){i.Solid="Solid",i.None="None"})(v1||(v1={}));const $5=v1;function SB(i,e,t){return w` `}function kB(i,e,t,o,r){return w``}function EB(i,e,t){return t?w``:w``}function $B(i,e,t){return w`
    ${this.showArrows.navigation?AB.call(this,i,e,t):void 0}${this.showArrows.navigation?BB.call(this,i,e,t):void 0}
    `}function AB(i,e,t){return t?w`<${D("ui5-button",e,t)} arrow-back tooltip="${a(this.previousPageText)}" class="ui5-carousel-navigation-button ${j(this.classes.navPrevButton)}" icon="slim-arrow-left" tabindex="-1" @click=${this._navButtonClick}>`:w``}function xB(i,e,t){return w`${this.isPageTypeDots?DB.call(this,i,e,t):OB.call(this,i,e,t)}`}function DB(i,e,t){return w`${X(this.dots,(o,r)=>o._id||r,(o,r)=>PB.call(this,i,e,t,o,r))}`}function PB(i,e,t,o,r){return w``}function OB(i,e,t){return w``}function BB(i,e,t){return t?w`<${D("ui5-button",e,t)} arrow-forward tooltip="${a(this.nextPageText)}" class="ui5-carousel-navigation-button ${j(this.classes.navNextButton)}" icon="slim-arrow-right" tabindex="-1" @click=${this._navButtonClick}>`:w``}const RB="slim-arrow-left",UT="M351.5 421q12 12 0 23-5 5-11 5t-11-5l-166-165q-9-10-9-23t9-23l165-164q5-5 11.5-5t11.5 5 5 11-5 11l-159 159q-6 6 0 12z",LB=!1,NB="SAP-icons-v4",MB="@ui5/webcomponents-icons";ee(RB,{pathData:UT,ltr:LB,collection:NB,packageName:MB});const FB="slim-arrow-left",qT="M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z",VB=!1,zB="SAP-icons-v5",HB="@ui5/webcomponents-icons";ee(FB,{pathData:qT,ltr:VB,collection:zB,packageName:HB});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const UB={packageName:"@ui5/webcomponents",fileName:"themes/Carousel.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{width:100%;min-width:15.5rem;height:100%}.ui5-carousel-root:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-carousel-root{height:inherit;position:relative;display:flex;flex-direction:column;align-items:center;background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-background-solid{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_solid)}.ui5-carousel-background-transparent{background:transparent}.ui5-carousel-viewport{width:100%;height:inherit;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:1px;flex:1;min-height:0}.ui5-carousel-viewport.ui5-carousel-viewport--single{align-items:center}.ui5-carousel-content{height:100%;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;transition:transform .5s cubic-bezier(.46,0,.44,1);will-change:transform}.ui5-carousel-content.ui5-carousel-content-no-animation{transition:none}.ui5-carousel-content.ui5-carousel-content-has-navigation{height:calc(100% - 1rem)}.ui5-carousel-item{height:100%;display:flex;align-items:center;justify-content:center;padding:0 .75rem;box-sizing:border-box;transition:opacity .5s linear;will-change:opacity}.ui5-carousel-item--hidden{opacity:0}.ui5-carousel-navigation-arrows{width:100%;padding:0 .5rem;position:absolute;top:calc(50% - var(--ui5-v1-22-1-rc-0_carousel_button_size) / 2);left:0;display:flex;justify-content:space-between;box-sizing:border-box;pointer-events:none}.ui5-carousel-navigation-arrows>[ui5-button]{pointer-events:all}.ui5-carousel-navigation-wrapper{width:100%;height:2.75rem;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box}.ui5-carousel-navigation-wrapper-bg-solid{background:var(--sapPageFooter_Background)}.ui5-carousel-navigation-wrapper-bg-translucent{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-navigation-wrapper-bg-transparent{background:transparent}.ui5-carousel-navigation-wrapper-border-solid{border-top:var(--sapElement_BorderWidth) solid var(--sapList_BorderColor)}.ui5-carousel-navigation-wrapper.ui5-carousel-navigation-with-buttons{height:3.5rem}.ui5-carousel-navigation-button{width:var(--ui5-v1-22-1-rc-0_carousel_button_size);height:var(--ui5-v1-22-1-rc-0_carousel_button_size);border-radius:50%;box-shadow:none;cursor:pointer;outline-offset:.1rem;--_ui5-v1-22-1-rc-0_button_focused_border_radius: 50%}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button{box-shadow:var(--sapContent_Shadow1)}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button:active{box-shadow:var(--ui5-v1-22-1-rc-0_carousel_navigation_button_active_box_shadow)}.ui5-carousel-navigation-button--hidden{visibility:hidden;padding:0}.ui5-carousel-navigation{width:9rem;height:2rem;display:flex;justify-content:center;align-items:center}.ui5-carousel-navigation-dot{box-sizing:border-box;width:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);height:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);margin:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_margin);border-radius:50%;background-color:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_border);transition:background-color .1s ease-in}.ui5-carousel-navigation-dot[active]{width:.5rem;height:.5rem;margin:0 .25rem;background-color:var(--ui5-v1-22-1-rc-0_carousel_active_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_active_dot_border)}.ui5-carousel-navigation-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapPageFooter_TextColor);white-space:nowrap;overflow:hidden;text-align:center;text-overflow:ellipsis} +`};var Ti=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ca;let Ft=Ca=class extends ie{static get pageTypeLimit(){return 9}constructor(){super(),this._scrollEnablement=new Av(this),this._scrollEnablement.attachEvent("touchend",e=>{this._updateScrolling(e)}),this._onResizeBound=this._onResize.bind(this),this._resizing=!1,this._lastFocusedElements=[],this._orderOfLastFocusedPages=[]}onBeforeRendering(){this.arrowsPlacement===tn.Navigation&&(this._visibleNavigationArrows=!0),this.validateSelectedIndex()}onAfterRendering(){this._scrollEnablement.scrollContainer=this.getDomRef(),this._resizing=!1}onEnterDOM(){Ce.register(this,this._onResizeBound)}onExitDOM(){Ce.deregister(this,this._onResizeBound)}validateSelectedIndex(){this.isIndexInRange(this._selectedIndex)||(this._selectedIndex=0)}_onResize(){const e=this.effectiveItemsPerPage;this._resizing=!0,this._width=this.offsetWidth,this._itemWidth=Math.floor(this._width/this.effectiveItemsPerPage),this.effectiveItemsPerPage!==e&&this._selectedIndex>this.pagesCount-1&&(this._selectedIndex=this.pagesCount-1,this.fireEvent("navigate",{selectedIndex:this._selectedIndex}))}_updateScrolling(e){e&&(e.isLeft?this.navigateLeft():e.isRight&&this.navigateRight())}async _onkeydown(e){if(qy(e)){this._handleF7Key(e);return}e.target===this.getDomRef()&&(Ct(e)||qe(e)?(this.navigateLeft(),await Mt(),this.getDomRef().focus()):(_t(e)||Xe(e))&&(this.navigateRight(),await Mt(),this.getDomRef().focus()))}_onfocusin(e){const t=e.target;if(t===this.getDomRef())return;let o=-1;for(let n=0;nthis.pagesCount-1)if(this.cyclic)this._selectedIndex=0;else return;else++this._selectedIndex;e!==this._selectedIndex&&this.fireEvent("navigate",{selectedIndex:this._selectedIndex})}_navButtonClick(e){e.target.hasAttribute("arrow-forward")?this.navigateRight():this.navigateLeft(),this.focus()}navigateTo(e){this._resizing=!1,this._selectedIndex=e}get items(){return this.content.map((e,t)=>{const o=this.isItemInViewport(t);return{id:`${this._id}-carousel-item-${t+1}`,item:e,tabIndex:o?"0":"-1",posinset:`${t+1}`,setsize:`${this.content.length}`,styles:{width:`${this._itemWidth||0}px`},classes:o?"":"ui5-carousel-item--hidden"}})}get effectiveItemsPerPage(){return this._width?this._width<=640?this.itemsPerPageS:this._width<=1024?this.itemsPerPageM:this.itemsPerPageL:this.itemsPerPageL}isItemInViewport(e){return e>=this._selectedIndex&&e<=this._selectedIndex+this.effectiveItemsPerPage-1}isIndexInRange(e){return e>=0&&e<=this.pagesCount-1}get renderNavigation(){return this.hasManyPages?this.arrowsPlacement===tn.Navigation&&!this.hideNavigationArrows?!0:!this.hidePageIndicator:!1}get hasManyPages(){return this.pagesCount>1}get styles(){const e=this._itemWidth||0;return{content:{transform:`translateX(${this._isRTL?"":"-"}${this._selectedIndex*e}px`}}}get classes(){return{viewport:{"ui5-carousel-viewport":!0,"ui5-carousel-viewport--single":this.pagesCount===1},content:{"ui5-carousel-content":!0,"ui5-carousel-content-no-animation":this.suppressAnimation,"ui5-carousel-content-has-navigation":this.renderNavigation,"ui5-carousel-content-has-navigation-and-buttons":this.renderNavigation&&this.arrowsPlacement===tn.Navigation&&!this.hideNavigationArrows},navigation:{"ui5-carousel-navigation-wrapper":!0,"ui5-carousel-navigation-with-buttons":this.renderNavigation&&this.arrowsPlacement===tn.Navigation&&!this.hideNavigationArrows,[`ui5-carousel-navigation-wrapper-bg-${this.pageIndicatorBackgroundDesign.toLowerCase()}`]:!0,[`ui5-carousel-navigation-wrapper-border-${this.pageIndicatorBorderDesign.toLowerCase()}`]:!0},navPrevButton:{"ui5-carousel-navigation-button--hidden":!this.hasPrev},navNextButton:{"ui5-carousel-navigation-button--hidden":!this.hasNext}}}get pagesCount(){const e=this.content.length;return e>this.effectiveItemsPerPage?e-this.effectiveItemsPerPage+1:1}get isPageTypeDots(){return this.pageIndicatorStyle===p1.Numeric?!1:this.pagesCount=0}get hasNext(){return this.cyclic||this._selectedIndex+1<=this.pagesCount-1}get suppressAnimation(){return this._resizing||Ra()===Un.None}get _isRTL(){return this.effectiveDir==="rtl"}get selectedIndexToShow(){return this._isRTL?this.pagesCount-(this.pagesCount-this._selectedIndex)+1:this._selectedIndex+1}get ofText(){return Ca.i18nBundle.getText(w3)}get ariaActiveDescendant(){return this.content.length?`${this._id}-carousel-item-${this._selectedIndex+1}`:void 0}get nextPageText(){return Ca.i18nBundle.getText(I3)}get previousPageText(){return Ca.i18nBundle.getText(C3)}get visibleItemsIndices(){const e=[];return this.items.forEach((t,o)=>{this.isItemInViewport(o)&&e.push(o)}),e}static async onDefine(){Ca.i18nBundle=await fe("@ui5/webcomponents")}};Ti([A({type:Boolean})],Ft.prototype,"cyclic",void 0);Ti([A({validator:ae,defaultValue:1})],Ft.prototype,"itemsPerPageS",void 0);Ti([A({validator:ae,defaultValue:1})],Ft.prototype,"itemsPerPageM",void 0);Ti([A({validator:ae,defaultValue:1})],Ft.prototype,"itemsPerPageL",void 0);Ti([A({type:Boolean})],Ft.prototype,"hideNavigationArrows",void 0);Ti([A({type:Boolean})],Ft.prototype,"hidePageIndicator",void 0);Ti([A({type:p1,defaultValue:p1.Default})],Ft.prototype,"pageIndicatorStyle",void 0);Ti([A({type:f_,defaultValue:f_.Translucent})],Ft.prototype,"backgroundDesign",void 0);Ti([A({type:f_,defaultValue:f_.Solid})],Ft.prototype,"pageIndicatorBackgroundDesign",void 0);Ti([A({type:$5,defaultValue:$5.Solid})],Ft.prototype,"pageIndicatorBorderDesign",void 0);Ti([A({validator:ae,defaultValue:0})],Ft.prototype,"_selectedIndex",void 0);Ti([A({type:tn,defaultValue:tn.Content})],Ft.prototype,"arrowsPlacement",void 0);Ti([A({validator:ae})],Ft.prototype,"_width",void 0);Ti([A({validator:ae})],Ft.prototype,"_itemWidth",void 0);Ti([A({type:Boolean,noAttribute:!0})],Ft.prototype,"_visibleNavigationArrows",void 0);Ti([Z({default:!0,type:HTMLElement,individualSlots:!0})],Ft.prototype,"content",void 0);Ft=Ca=Ti([K({tag:"ui5-carousel",languageAware:!0,fastNavigation:!0,renderer:de,styles:UB,template:SB,dependencies:[Ne,ea]}),q("navigate",{detail:{selectedIndex:{type:ae}}})],Ft);Ft.define();const qB=Ft;class ed extends Wu{static isValid(e){return/^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\(\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*(,\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|rgba\((\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){3}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|hsl\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*(,\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|hsla\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*,(\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){2}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|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|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|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|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(e)}}function WB(i,e,t){return w`
    ${this.showDefaultColor?jB.call(this,i,e,t):void 0}
    ${X(this.displayedColors,(o,r)=>o._id||r,(o,r)=>GB.call(this,i,e,t,o,r))}
    ${this._showMoreColors?YB.call(this,i,e,t):void 0}${this.showRecentColors?XB.call(this,i,e,t):void 0}
    `}function jB(i,e,t){return t?w`
    <${D("ui5-button",e,t)} class="ui5-cp-default-color-button" design="Transparent" @click=${this._onDefaultColorClick} @keydown=${this._onDefaultColorKeyDown}>${a(this.colorPaletteDefaultColorText)}
    `:w`
    ${a(this.colorPaletteDefaultColorText)}
    `}function GB(i,e,t,o,r){return w``}function YB(i,e,t){return t?w`
    <${D("ui5-button",e,t)} design="Transparent" class="ui5-cp-more-colors" @click="${this._openMoreColorsDialog}" @keydown=${this._onMoreColorsKeyDown}>${a(this.colorPaletteMoreColorsText)}
    `:w`
    ${a(this.colorPaletteMoreColorsText)}
    `}function XB(i,e,t){return w`
    ${X(this.recentColors,(o,r)=>o._id||r,(o,r)=>KB.call(this,i,e,t,o,r))}
    `}function KB(i,e,t,o,r){return t?w`<${D("ui5-color-palette-item",e,t)} value="${a(o)}">`:w``}function ZB(i,e,t){return t?w`<${D("ui5-dialog",e,t)} header-text="${a(this.moreColorsFeature.colorPaletteDialogTitle)}">
    <${D("ui5-color-picker",e,t)}>
    `:w`
    `}function QB(i,e,t){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const JB={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteItem.css.ts",content:`:host(:not([hidden])){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-outer-border-radius);display:inline-block;margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-margin);box-sizing:border-box}:host(:not([_disabled]):hover){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-outer-border-radius)}:host(:not([hidden])[phone]){height:2.75rem;width:2.75rem;border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:.25rem;display:inline-block;margin:.375rem}.ui5-cp-item{position:relative;box-sizing:border-box;border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-inner-border-radius);width:100%;height:100%}:host(:not([_disabled]):not([phone]):hover) .ui5-cp-item{border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius)}:host(:not([_disabled])[phone]) .ui5-cp-item{border-radius:.1875rem}.ui5-cp-item:hover:not(:focus){border:1px solid var(--sapGroup_ContentBackground);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius);box-sizing:border-box}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus{outline:none}:host(:not([_disabled]):not([phone]):focus) .ui5-cp-item{pointer-events:none}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled])) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none} +`};var fc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Fd;let Xn=Fd=class extends ie{static async onDefine(){Fd.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._disabled=!this.value,this.phone=ue()}get colorLabel(){return Fd.i18nBundle.getText(E3)}get styles(){return{root:{"background-color":this.value}}}};fc([A({validator:ed})],Xn.prototype,"value",void 0);fc([A({defaultValue:"-1",noAttribute:!0})],Xn.prototype,"forcedTabIndex",void 0);fc([A({validator:ae})],Xn.prototype,"index",void 0);fc([A({type:Boolean})],Xn.prototype,"phone",void 0);fc([A({type:Boolean})],Xn.prototype,"_disabled",void 0);Xn=Fd=fc([K({tag:"ui5-color-palette-item",renderer:de,styles:JB,template:QB})],Xn);Xn.define();const eR=Xn;V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const tR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalette.css.ts",content:`:host(:not([hidden])){display:inline-block}:host(:not([hidden])[popup-mode]){width:100%}.ui5-cp-root{display:flex;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone,.ui5-cp-separator,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-more-colors-wrapper,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-default-color-button-wrapper,.ui5-cp-recent-colors-wrapper{width:100%}.ui5-cp-root.ui5-cp-root-phone .ui5-cp-item-container{width:18.5rem;max-width:19.5rem;max-height:13rem;padding:.375rem .625rem}.ui5-cp-recent-colors-wrapper{display:flex;align-items:center;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone{display:flex;align-items:center}.ui5-cp-item-container{display:flex;max-width:var(--_ui5-v1-22-1-rc-0_color-palette-row-width);flex-flow:wrap;max-height:var(--_ui5-v1-22-1-rc-0_color-palette-row-height);overflow:hidden;padding:var(--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding)}.ui5-cp-more-colors,.ui5-cp-default-color-button{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);text-align:center;border:none}.ui5-cp-more-colors-wrapper,.ui5-cp-default-color-button-wrapper{display:flex;flex-direction:column}.ui5-cp-separator{height:.0625rem;background:var(--sapToolbar_SeparatorColor)}.ui5-cp-default-color-button,.ui5-cp-more-colors{padding:.0625rem} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteStaticArea.css.ts",content:`.ui5-cp-dialog-content{display:flex;justify-content:center;align-items:center;margin:1rem 0}.ui5-cp-dialog-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 1rem}.ui5-cp-dialog-footer [ui5-button]:first-child{margin-right:1rem} +`};var Xa=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},_l;let Ar=_l=class extends ie{static async onDefine(){const e=ze("ColorPaletteMoreColors");[_l.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}constructor(){super(),this._itemNavigation=new $i(this,{getItemsCallback:()=>this.displayedColors,rowSize:this.rowSize,behavior:Ss.Cyclic}),this._itemNavigationRecentColors=new $i(this,{getItemsCallback:()=>this.recentColorsElements,rowSize:this.rowSize,behavior:Ss.Static}),this._recentColors=[]}onBeforeRendering(){if(this.displayedColors.forEach((e,t)=>{e.index=t+1}),this.showMoreColors){const e=ze("ColorPaletteMoreColors");if(e)this.moreColorsFeature=new e;else throw new Error('You have to import "@ui5/webcomponents/dist/features/ColorPaletteMoreColors.js" module to use the more-colors functionality.')}}onAfterRendering(){this.popupMode&&(this.showDefaultColor?this.focusFirstFocusableElement():this.focusFirstDisplayColorElement())}selectColor(e){e.value&&(e.focus(),this.displayedColors.includes(e)&&this._itemNavigation.setCurrentItem(e),this._setColor(e.value))}_setColor(e){this._selectedColor=e,this._recentColors[0]!==this._selectedColor&&(this._recentColors.includes(this._selectedColor)?this._recentColors.unshift(this._recentColors.splice(this._recentColors.indexOf(this._selectedColor),1)[0]):this._recentColors.unshift(this._selectedColor)),this.fireEvent("item-click",{color:this._selectedColor})}_onclick(e){const t=e.target;t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onkeyup(e){const t=e.target;le(e)&&t.hasAttribute("ui5-color-palette-item")&&(e.preventDefault(),this.selectColor(t))}_onkeydown(e){const t=e.target;Ie(e)&&t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onDefaultColorKeyDown(e){if(Pt(e)&&this.popupMode&&(e.preventDefault(),this._onDefaultColorClick()),qe(e))e.stopPropagation(),this.focusColorElement(this.colorPaletteNavigationElements[1],this._itemNavigation);else if(Xe(e)){e.stopPropagation();const t=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(this.hasRecentColors)this.focusColorElement(t,this._itemNavigationRecentColors);else if(this.showMoreColors)t.focus();else{const o=this.displayedColors.length%this.rowSize*this.rowSize;this.focusColorElement(this.displayedColors[o],this._itemNavigation)}}}_onMoreColorsKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements.indexOf(t),r=this.displayedColors.length%this.rowSize*this.rowSize;Xe(e)?(e.stopPropagation(),this.focusColorElement(this.displayedColors[r],this._itemNavigation)):qe(e)&&(e.stopPropagation(),this.hasRecentColors?this.focusColorElement(this.colorPaletteNavigationElements[o+1],this._itemNavigationRecentColors):this.showDefaultColor?this.firstFocusableElement.focus():this.focusColorElement(this.displayedColors[0],this._itemNavigation))}_onColorContainerKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(Pt(e)&&this.popupMode&&(e.preventDefault(),this.selectColor(t)),Xe(e)&&t===this.displayedColors[0]&&this.colorPaletteNavigationElements.length>1)e.stopPropagation(),this.showDefaultColor?this.firstFocusableElement.focus():!this.showDefaultColor&&this.hasRecentColors?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&o.focus();else if(qe(e)&&t===this.displayedColors[this.displayedColors.length-1]&&this.colorPaletteNavigationElements.length>1){e.stopPropagation();const r=this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors||!this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors;this.showDefaultColor&&this.showMoreColors?this.colorPaletteNavigationElements[2].focus():this.showDefaultColor&&!this.showMoreColors&&(!this.showRecentColors||!this.recentColors[0])?this.firstFocusableElement.focus():r?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&this.colorPaletteNavigationElements[1].focus()}}_onRecentColorsContainerKeyDown(e){if(Xe(e)){if(this.showMoreColors){const t=this.showDefaultColor?2:1;this.colorPaletteNavigationElements[t].focus()}else if(!this.showMoreColors&&this.colorPaletteNavigationElements.length>1){const t=this.displayedColors.length%this.rowSize*this.rowSize;e.stopPropagation(),this.focusColorElement(this.displayedColors[t],this._itemNavigation)}}else qe(e)&&(this.showDefaultColor?this.firstFocusableElement.focus():(e.stopPropagation(),this.focusColorElement(this.displayedColors[0],this._itemNavigation)))}focusColorElement(e,t){t.setCurrentItem(e),t._focusCurrentItem()}focusFirstDisplayColorElement(){this.focusColorElement(this.displayedColors[0],this._itemNavigation)}focusFirstFocusableElement(){this.firstFocusableElement.focus()}get firstFocusableElement(){return this.colorPaletteNavigationElements[0]}async _chooseCustomColor(){const e=await this.getColorPicker();this._setColor(e.color),this._closeDialog()}async _closeDialog(){(await this._getDialog()).close()}async _openMoreColorsDialog(){(await this._getDialog()).show()}_onDefaultColorClick(){this.defaultColor&&this._setColor(this.defaultColor)}get selectedColor(){return this._selectedColor}get displayedColors(){return this.getSlottedNodes("colors").filter(t=>t.value).slice(0,15)}get colorContainerLabel(){return _l.i18nBundle.getText(S3)}get colorPaletteMoreColorsText(){return _l.i18nBundle.getText(x3)}get colorPaletteDefaultColorText(){return _l.i18nBundle.getText(D3)}get _showMoreColors(){return this.showMoreColors&&this.moreColorsFeature}get rowSize(){return 5}get hasRecentColors(){return this.showRecentColors&&this.recentColors[0]}get recentColors(){for(this._recentColors.length>this.rowSize&&(this._recentColors=this._recentColors.slice(0,this.rowSize));this._recentColors.lengtht.value!==""):[]}get colorPaletteNavigationElements(){const e=[],t=this.shadowRoot.querySelector(".ui5-cp-root");return this.showDefaultColor&&e.push(t.querySelector(".ui5-cp-default-color-button")),e.push(this.displayedColors[0]),this.showMoreColors&&e.push(t.querySelector(".ui5-cp-more-colors")),this.showRecentColors&&this.recentColorsElements.length&&e.push(this.recentColorsElements[0]),e}get classes(){return{colorPaletteRoot:{"ui5-cp-root":!0,"ui5-cp-root-phone":ue()}}}async _getDialog(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-dialog]")}async getColorPicker(){return(await this._getDialog()).content[0].querySelector("[ui5-color-picker]")}};Xa([A({type:Boolean})],Ar.prototype,"showRecentColors",void 0);Xa([A({type:Boolean})],Ar.prototype,"showMoreColors",void 0);Xa([A({type:Boolean})],Ar.prototype,"showDefaultColor",void 0);Xa([A({validator:ed})],Ar.prototype,"defaultColor",void 0);Xa([A({validator:ed})],Ar.prototype,"_selectedColor",void 0);Xa([A({type:Boolean})],Ar.prototype,"popupMode",void 0);Xa([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0,individualSlots:!0})],Ar.prototype,"colors",void 0);Ar=_l=Xa([K({tag:"ui5-color-palette",renderer:de,template:WB,staticAreaTemplate:ZB,styles:tR,staticAreaStyles:iR,get dependencies(){const i=ze("ColorPaletteMoreColors");return[eR,Ne].concat(i?i.dependencies:[])}}),q("item-click",{detail:{color:{type:String}}})],Ar);Ar.define();const oR=Ar;function rR(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} hide-arrow content-only-on-desktop placement-type="Bottom" ?open="${this._open}" .opener="${a(this.opener)}" @ui5-after-close="${a(this.onAfterClose)}">
    <${D("ui5-title",e,t)} class="ui5-cp-title">${a(this._colorPaletteTitle)}
    <${D("ui5-color-palette",e,t)} ?show-more-colors="${this.showMoreColors}" ?show-recent-colors="${this.showRecentColors}" ?show-default-color="${this.showDefaultColor}" default-color="${a(this.defaultColor)}" popup-mode @ui5-item-click="${a(this.onSelectedColor)}">${X(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>A5.call(this,i,e,t,o,r))}
    `:w`
    ${a(this._colorPaletteTitle)}
    ${X(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>A5.call(this,i,e,t,o,r))}
    `}function A5(i,e,t,o,r){return w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const nR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalettePopover.css.ts",content:`.ui5-cp-header{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);display:flex;align-items:center}.ui5-cp-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 0}[ui5-responsive-popover]::part(content){padding:0}[ui5-title],[ui5-button]{margin-bottom:1rem}.ui5-cp-item-container{padding:.3125rem .6875rem} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Vr={packageName:"@ui5/webcomponents",fileName:"themes/ResponsivePopoverCommon.css.ts",content:`.input-root-phone{flex:1;position:relative;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color);border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}.input-root-phone [value-state=Error] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Success] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Warning] [input-icon][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-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}.input-root-phone[value-state=Error] [inner-input],.input-root-phone[value-state=Warning] [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style)}.input-root-phone[value-state=Error] [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}.input-root-phone[value-state=Error]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Error]:not([readonly]):not([disabled]),.input-root-phone[value-state=Warning]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}.input-root-phone[value-state=Warning]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Success]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width)}.input-root-phone[value-state=Success]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Success]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_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:calc(100% - var(--_ui5-v1-22-1-rc-0_button_base_min_width))}.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;padding:.25rem 0;width:100%}.ui5-responsive-popover-close-btn{position:absolute;right:1rem} +`};var Ka=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Pc;let dn=Pc=class extends ie{static async onDefine(){Pc.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}get responsivePopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}get respPopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}showAt(e){console.warn("The method 'showAt' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.open=!0,this.opener=e}openPopover(e){console.warn("The method 'openPopover' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.showAt(e)}closePopover(){this.open=!1}onAfterClose(){this.closePopover(),this.fireEvent("close")}onSelectedColor(e){this.closePopover(),this.fireEvent("item-click",e.detail)}isOpen(){return this.open}get colorPaletteColors(){return this.getSlottedNodes("colors")}get _colorPaletteTitle(){return Pc.i18nBundle.getText(k3)}get _cancelButtonLabel(){return Pc.i18nBundle.getText(uv)}get _open(){return this.open||void 0}};Ka([A({type:Boolean})],dn.prototype,"showRecentColors",void 0);Ka([A({type:Boolean})],dn.prototype,"showMoreColors",void 0);Ka([A({type:Boolean})],dn.prototype,"showDefaultColor",void 0);Ka([A({validator:ed})],dn.prototype,"defaultColor",void 0);Ka([A({type:Boolean})],dn.prototype,"open",void 0);Ka([A({validator:j_})],dn.prototype,"opener",void 0);Ka([Z({default:!0,type:HTMLElement,individualSlots:!0})],dn.prototype,"colors",void 0);dn=Pc=Ka([K({tag:"ui5-color-palette-popover",renderer:de,styles:[Vr,nR],template:rR,dependencies:[fo,Ne,_c,oR]}),q("item-click",{detail:{color:{type:String}}}),q("close")],dn);dn.define();class Zt extends Wu{static isValid(e){return Number(e)===e}static attributeToProperty(e){return parseFloat(e)}}/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */const WT=Symbol.for(""),aR=i=>{if((i==null?void 0:i.r)===WT)return i==null?void 0:i._$litStatic$},sR=i=>({_$litStatic$:i,r:WT}),x5=new Map,jT=i=>(e,...t)=>{const o=t.length;let r,n;const s=[],l=[];let I,y=0,C=!1;for(;yi.startsWith("rgba")?dR(i):i.startsWith("rgb")?_R(i):(i.indexOf("#")===0&&(i.length===4?i=`${i[1]}${i[1]}${i[2]}${i[2]}${i[3]}${i[3]}`:i=i.slice(1,i.length)),D5.has(i)&&(i=D5.get(i)),GT(i)),dR=i=>{const e=i.indexOf("("),t=[];for(let o=0;o{const e=i.indexOf("("),t=i.indexOf(")"),o=[];for(let r=0;r{let e=i.s*100,t=i.l*100,o,r,n;e>100?e=1:e<0?e=0:e/=100,t>100?t=1:t<0?t=0:t/=100;const s=i.h,l=e*(1-Math.abs(2*t-1)),I=255*(t-.5*l),y=l*(1-Math.abs(s/60%2-1)),C=Math.floor(s/60),b=I+255*y,v=I+255*l;switch(C){case 0:o=v,r=b,n=I;break;case 1:o=b,r=v,n=I;break;case 2:o=I,r=v,n=b;break;case 3:o=I,r=b,n=v;break;case 4:o=b,r=I,n=v;break;case 5:o=v,r=I,n=b;break;default:o=0,r=0,n=0;break}return{r:Math.round(o),g:Math.round(r),b:Math.round(n)}},GT=i=>({r:parseInt(i.substr(0,2),16),g:parseInt(i.substr(2,2),16),b:parseInt(i.substr(4,2),16)}),hR=i=>{const e=i.r/255,t=i.g/255,o=i.b/255,r=Math.max(e,t,o),n=Math.min(e,t,o),s=r-n;let l=0,I;s===0?l=0:r===e?l=60*((t-o)/s%6):r===t?l=60*((o-e)/s+2):r===o&&(l=60*((e-t)/s+4));const y=(r+n)/2;return s===0?I=0:I=s/(1-Math.abs(2*y-1)),{h:l,s:I,l:y}};function pR(i,e,t){return t?w`
    <${D("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-hue-slider" min="0" max="1530" value="${a(this._hue)}" accessible-name="${a(this.hueSliderLabel)}" @ui5-input="${a(this._handleHueInput)}"><${D("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-alpha-slider" min="0" max="1" step="0.01" value="${a(this._alpha)}" accessible-name="${a(this.alphaSliderLabel)}" @ui5-input="${a(this._handleAlphaInput)}">
    <${D("ui5-label",e,t)}>Hex<${D("ui5-input",e,t)} class="ui5-color-picker-hex-input" value="${a(this.hex)}" @keydown="${this._onkeydown}" accessible-name="${a(this.hexInputLabel)}" @ui5-change="${a(this._handleHEXChange)}" value-state="${a(this.hexInputErrorState)}">
    <${D("ui5-input",e,t)} id="red" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.redInputLabel)}" value="${a(this._color.r)}"><${D("ui5-label",e,t)}>R
    <${D("ui5-input",e,t)} id="green" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.greenInputLabel)}" value="${a(this._color.g)}"><${D("ui5-label",e,t)}>G
    <${D("ui5-input",e,t)} id="blue" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.blueInputLabel)}" value="${a(this._color.b)}"><${D("ui5-label",e,t)}>B
    <${D("ui5-input",e,t)} id="alpha" disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-rgb-input" value="${a(this._alpha)}" accessible-name="${a(this.alphaInputLabel)}" @ui5-input="${a(this._handleAlphaInput)}" @ui5-change="${a(this._handleAlphaChange)}"><${D("ui5-label",e,t)}>A
    `:w`
    Hex
    R
    G
    B
    A
    `}const fR=i=>{let e=0;return(i.selectionStart||i.selectionStart===0)&&(e=i.selectionDirection==="backward"?i.selectionStart:i.selectionEnd),e},vR=(i,e)=>{i.selectionStart?(i.focus(),i.setSelectionRange(e,e)):i.focus()},mR="not-editable",YT="M443 104q5 7 5 12 0 6-5 11L118 453q-4 4-8 4L0 480l22-110q0-5 4-9L352 36q4-4 11-4t11 4zm-121 99l-46-45L52 381l46 46zm87-88l-46-44-64 64 45 45zm71 204l-63 64-65-64-33 32 66 63-66 66 33 32 65-66 63 66 32-32-66-66 66-63z",gR=!1,bR="SAP-icons-v4",yR="@ui5/webcomponents-icons";ee(mR,{pathData:YT,ltr:gR,collection:bR,packageName:yR});const wR="not-editable",XT="M504 94q7 7 7 18t-7 18L130 505q-9 7-18 7H26q-11 0-18.5-7.5T0 486v-86q0-10 8-18L381 7q9-7 18-7 11 0 18 7zm-55 18l-50-50-50 50 50 50zm-86 86l-50-50L62 400l50 50zm142 270q7 7 7 18t-7.5 18.5T486 512t-18-7l-37-38-38 38q-7 7-18 7t-18.5-7.5T349 486q0-10 8-18l38-37-38-38q-8-8-8-18 0-11 7.5-18.5T375 349q10 0 18 8l38 37 37-37q8-8 18-8 11 0 18.5 7.5T512 375t-7 18l-38 38z",TR=!1,CR="SAP-icons-v5",IR="@ui5/webcomponents-icons";ee(wR,{pathData:XT,ltr:TR,collection:CR,packageName:IR});Se();var m1;(function(i){i.Text="Text",i.Email="Email",i.Number="Number",i.Password="Password",i.Tel="Tel",i.URL="URL"})(m1||(m1={}));const Rl=m1;function SR(i,e,t){return w`
    ${this._effectiveShowClearIcon?kR.call(this,i,e,t):void 0}${this.icon.length?ER.call(this,i,e,t):void 0}
    ${Gn(this._valueStateInputIcon)}
    ${this.showSuggestions?$R.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?AR.call(this,i,e,t):void 0}${this.hasValueState?xR.call(this,i,e,t):void 0}
    `}function kR(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function ER(i,e,t){return w`
    `}function $R(i,e,t){return w`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function AR(i,e,t){return w`${a(this.accInfo.input.ariaDescription)}`}function xR(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}function DR(i,e,t){return w`${this.showSuggestions?PR.call(this,i,e,t):void 0}${this.hasValueStateMessage?MR.call(this,i,e,t):void 0} `}function PR(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} class="${j(this.classes.popover)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Left" style="${Y(this.styles.suggestionsPopover)}" @ui5-after-open="${a(this._afterOpenPopover)}" @ui5-after-close="${a(this._afterClosePopover)}" @ui5-scroll="${a(this._scroll)}">${this._isPhone?O5.call(this,i,e,t):void 0}${this._isPhone?void 0:N5.call(this,i,e,t)}<${D("ui5-list",e,t)} separators="${a(this.suggestionSeparators)}" @mousedown="${this.onItemMouseDown}" mode="SingleSelect">${X(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>V5.call(this,i,e,t,o,r))}${this._isPhone?H5.call(this,i,e,t):void 0}`:w`${this._isPhone?O5.call(this,i,e,t):void 0}${this._isPhone?void 0:N5.call(this,i,e,t)}${X(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>V5.call(this,i,e,t,o,r))}${this._isPhone?H5.call(this,i,e,t):void 0}`}function O5(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${D("ui5-input",e,t)} class="ui5-input-inner-phone" type="${a(this.inputType)}" .value="${a(this.value)}" ?show-clear-icon=${this.showClearIcon} placeholder="${a(this.placeholder)}" @ui5-input="${a(this._handleInput)}" @ui5-change="${a(this._handleChange)}">
    ${this.hasValueStateMessage?B5.call(this,i,e,t):void 0}`:w`
    ${a(this._headerTitleText)}
    ${this.hasValueStateMessage?B5.call(this,i,e,t):void 0}`}function B5(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?R5.call(this,i,e,t):L5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?R5.call(this,i,e,t):L5.call(this,i,e,t)}
    `}function R5(i,e,t){return w`${a(this.valueStateText)}`}function L5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>OR.call(this,i,e,t,o,r))}`}function OR(i,e,t,o,r){return w`${a(o)}`}function N5(i,e,t){return w`${this.hasValueStateMessage?BR.call(this,i,e,t):void 0}`}function BR(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?M5.call(this,i,e,t):F5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?M5.call(this,i,e,t):F5.call(this,i,e,t)}
    `}function M5(i,e,t){return w`${a(this.valueStateText)}`}function F5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>RR.call(this,i,e,t,o,r))}`}function RR(i,e,t,o,r){return w`${a(o)}`}function V5(i,e,t,o,r){return w`${o.groupItem?LR.call(this,i,e,t,o,r):NR.call(this,i,e,t,o,r)}`}function LR(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} data-ui5-key="${a(o.key)}">${Gn(o.text)}`:w`${Gn(o.text)}`}function NR(i,e,t,o,r){return t?w`<${D("ui5-li-suggestion-item",e,t)} wrapping-type="Normal" image="${a(o.image)}" icon="${a(o.icon)}" additional-text="${a(o.additionalText)}" type="${a(o.type)}" additional-text-state="${a(o.additionalTextState)}" data-ui5-key="${a(o.key)}">${Gn(o.text)}${o.description?z5.call(this,i,e,t,o,r):void 0}`:w`${Gn(o.text)}${o.description?z5.call(this,i,e,t,o,r):void 0}`}function z5(i,e,t,o,r){return w`${Gn(o.description)}`}function H5(i,e,t){return t?w``:w``}function MR(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?U5.call(this,i,e,t):q5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?U5.call(this,i,e,t):q5.call(this,i,e,t)}
    `}function U5(i,e,t){return w`${a(this.valueStateText)}`}function q5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>FR.call(this,i,e,t,o,r))}`}function FR(i,e,t,o,r){return w`${a(o)}`}const VR=/[[\]{}()*+?.\\^$|]/g,zR=i=>i.replace(VR,"\\$&"),xv=(i,e,t)=>{const o=new RegExp(`(^|\\s)${zR(i.toLowerCase())}.*`,"g");return e.filter(r=>{const n=r[t];return o.lastIndex=0,o.test(n.toLowerCase())})},Z_=(i,e,t)=>e.filter(o=>o[t].toLowerCase().startsWith(i.toLowerCase())),HR=(i,e,t)=>e.filter(o=>o[t].toLowerCase().includes(i.toLowerCase())),UR=(i,e)=>e,KT=Object.freeze(Object.defineProperty({__proto__:null,Contains:HR,None:UR,StartsWith:Z_,StartsWithPerTerm:xv},Symbol.toStringTag,{value:"Module"}));V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const qR={packageName:"@ui5/webcomponents",fileName:"themes/Input.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Za={packageName:"@ui5/webcomponents",fileName:"themes/ValueStateMessage.css.ts",content:`.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_width);height:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_height);display:var(--_ui5-v1-22-1-rc-0_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_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:"72override",var(--sapFontFamily);height:auto;padding:var(--_ui5-v1-22-1-rc-0_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v1-22-1-rc-0_value_state_message_border);line-height:var(--_ui5-v1-22-1-rc-0_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:2rem}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v1-22-1-rc-0_value_state_header_padding);border:var(--_ui5-v1-22-1-rc-0_value_state_header_border);border-bottom:var(--_ui5-v1-22-1-rc-0_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[focused],.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0}.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-v1-22-1-rc-0_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v1-22-1-rc-0_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} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Q_={packageName:"@ui5/webcomponents",fileName:"themes/Suggestions.css.ts",content:`.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}.ui5-suggestions-popover [ui5-li]::part(icon),.ui5-suggestions-popover [ui5-li-suggestion-item]::part(icon){color:var(--sapList_TextColor)}.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} +`};var Fe=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},_i,$a;(function(i){i.CHANGE="change",i.INPUT="input",i.SUGGESTION_ITEM_SELECT="suggestion-item-select"})($a||($a={}));var v_;(function(i){i.ACTION_ENTER="enter",i.ACTION_USER_INPUT="input"})(v_||(v_={}));let Le=_i=class extends ie{constructor(){super(),this.hasSuggestionItemSelected=!1,this.valueBeforeItemSelection="",this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,this.previousValue="",this.firstRendering=!0,this.typedInValue="",this.lastConfirmedValue="",this.isTyping=!1,this.suggestionObjects=[],this._handleResizeBound=this._handleResize.bind(this),this._keepInnerValue=!1,this._focusedAfterClear=!1}onEnterDOM(){Ce.register(this,this._handleResizeBound),IA(this,this._updateAssociatedLabelsTexts.bind(this))}onExitDOM(){Ce.deregister(this,this._handleResizeBound),SA(this)}onBeforeRendering(){this._keepInnerValue||(this._innerValue=this.value),this.showSuggestions&&(this.enableSuggestions(),this.suggestionObjects=this.Suggestions.defaultSlotProperties(this.typedInValue)),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`),this.FormSupport=ze("FormSupport");const e=!!this.suggestionItems.length,t=!!this.value,o=this.shadowRoot.querySelector("input")===Jl();this._isPhone?this.open=this.openOnMobile:this._forceOpen?this.open=!0:this.open=t&&e&&o&&this.isTyping,this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";');const r=this.value,n=this.getInputDOMRefSync();if(!n||!r)return;const s=n.selectionEnd-n.selectionStart;if(this._shouldAutocomplete&&!Lf()&&!s&&!this._isKeyNavigation){const l=this._getFirstMatchingItem(r);l&&this._handleTypeAhead(l)}}async onAfterRendering(){const e=this.getInputDOMRefSync();this.Suggestions&&this.showSuggestions&&(this.Suggestions.toggle(this.open,{preventFocusRestore:!0}),this._listWidth=await this.Suggestions._getListWidth()),this.shouldDisplayOnlyValueStateMessage?this.openPopover():this.closePopover(),this._performTextSelection&&(e.value!==this._innerValue&&(e.value=this._innerValue),this.typedInValue.length&&this.value.length&&e.setSelectionRange(this.typedInValue.length,this.value.length)),this._performTextSelection=!1}_onkeydown(e){if(this._isKeyNavigation=!0,this._shouldAutocomplete=!this.noTypeahead&&!(Hu(e)||$l(e)||Ni(e)),Xe(e))return this._handleUp(e);if(qe(e))return this._handleDown(e);if(le(e))return this._handleSpace(e);if(Pt(e))return this._handleTab();if(Ie(e))return this._handleEnter(e);if(Li(e))return this._handlePageUp(e);if(eo(e))return this._handlePageDown(e);if(Wt(e))return this._handleHome(e);if(ki(e))return this._handleEnd(e);if(Ni(e))return this._handleEscape();this.showSuggestions&&this._clearPopoverFocusAndSelection(),this._keyDown=!0,this._isKeyNavigation=!1}_onkeyup(e){$l(e)&&(this.value=e.target.value),this._keyDown=!1}_handleUp(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onUp(e)}_handleDown(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onDown(e)}_handleSpace(e){this.Suggestions&&this.Suggestions.onSpace(e)}_handleTab(){this.Suggestions&&this.previousValue!==this.value&&this.Suggestions.onTab()}_handleEnter(e){const t=!!(this.Suggestions&&this.Suggestions.onEnter(e)),o=this.getInputDOMRefSync(),r=this.suggestionItems.find(n=>n.text&&n.text===this.value||n.textContent===this.value);if(r){const n=r.text?r.text:r.textContent||"";o.setSelectionRange(n.length,n.length),t||(this.selectSuggestion(r,!0),this.open=!1)}if(this._isPhone&&!this.suggestionItems.length&&!this.isTypeNumber&&o.setSelectionRange(this.value.length,this.value.length),!t){this.lastConfirmedValue=this.value,this.FormSupport&&this.FormSupport.triggerFormSubmit(this);return}this.focused=!0}_handlePageUp(e){this._isSuggestionsFocused?this.Suggestions.onPageUp(e):e.preventDefault()}_handlePageDown(e){this._isSuggestionsFocused?this.Suggestions.onPageDown(e):e.preventDefault()}_handleHome(e){this._isSuggestionsFocused&&this.Suggestions.onHome(e)}_handleEnd(e){this._isSuggestionsFocused&&this.Suggestions.onEnd(e)}_handleEscape(){const t=this.showSuggestions&&!!this.Suggestions&&this.open,o=this.getInputDOMRefSync(),r=o.selectionEnd-o.selectionStart>0;if(this.isTyping=!1,!t){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue;return}if(t&&this.Suggestions._isItemOnTarget()){this.value=this.typedInValue||this.valueBeforeItemPreview,this.suggestionSelectionCancelled=!0,this.focused=!0;return}r&&(this.value=this.typedInValue),this._isValueStateFocused&&(this._isValueStateFocused=!1,this.focused=!0)}async _onfocusin(e){await this.getInputDOMRef(),this.focused=!0,this._focusedAfterClear||(this.previousValue=this.value),this.valueBeforeItemPreview=this.value,this._inputIconFocused=!!e.target&&e.target===this.querySelector("[ui5-icon]"),this._focusedAfterClear=!1}innerFocusIn(){}_onfocusout(e){const t=e.relatedTarget,o=this.Suggestions&&t&&t.shadowRoot&&t.shadowRoot.contains(this.Suggestions.responsivePopover),r=t&&t.shadowRoot&&t.shadowRoot.querySelector(".ui5-valuestatemessage-root");if(this._keepInnerValue=!1,this.showClearIcon&&!this._effectiveShowClearIcon&&(this._clearIconClicked=!1,this._handleChange()),o||r){e.stopImmediatePropagation();return}t&&t.classList.contains(this._id)||(this.open=!1,this._clearPopoverFocusAndSelection(),this._clearIconClicked||(this.previousValue=""),this.lastConfirmedValue="",this.focused=!1,this.isTyping=!1,this._forceOpen=!1)}_clearPopoverFocusAndSelection(){!this.showSuggestions||!this.Suggestions||(this._isValueStateFocused=!1,this.hasSuggestionItemSelected=!1,this.Suggestions._deselectItems(),this.Suggestions._clearItemFocus())}_click(){ue()&&!this.readonly&&this.Suggestions&&(this.blur(),this.openOnMobile=!0)}_handleChange(){if(this._clearIconClicked){this._clearIconClicked=!1;return}this.previousValue!==this.getInputDOMRefSync().value&&(this.fireEvent($a.CHANGE),this.previousValue=this.value,this.typedInValue=this.value)}_clear(){this.value="",this.fireEvent($a.INPUT),this._isPhone||(this.focus(),this._focusedAfterClear=!0)}_iconMouseDown(){this._clearIconClicked=!0}_scroll(e){this.fireEvent("suggestion-scroll",{scrollTop:e.detail.scrollTop,scrollContainer:e.detail.targetRef})}_handleInput(e){const t=this.getInputDOMRefSync(),o=this.value&&this.isTypeNumber&&!t.value,r=e.inputType||e.detail.inputType||"";this._keepInnerValue=!1;const n=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];if(this._shouldAutocomplete=!n.includes(r)&&!this.noTypeahead,this.suggestionSelectionCancelled=!1,e instanceof InputEvent){const s=this.isTypeNumber&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward")&&!e.target.value.includes(".")&&this.value.includes("."),l=o&&e.data==="e",I=o&&this.value.startsWith("-")&&this.value.length===2&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward");(s||l||I)&&(this.value=e.target.value,this._keepInnerValue=!0)}e.target===t&&(this.focused=!0,e.stopImmediatePropagation()),this.fireEventByAction(v_.ACTION_ENTER,e),this.hasSuggestionItemSelected=!1,this._isValueStateFocused=!1,this.Suggestions&&this.Suggestions.updateSelectedItemPosition(-1),this.isTyping=!0}_startsWithMatchingItems(e){const t=this.suggestionItems[0].text?"text":"textContent";return Z_(e,this.suggestionItems,t)}_getFirstMatchingItem(e){if(!this.suggestionItems.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.groupItem);if(t.length)return t[0]}_handleTypeAhead(e){const t=e.text?e.text:e.textContent||"";this._innerValue=t,this.value=t,this._performTextSelection=!0,this._shouldAutocomplete=!1}_handleResize(){this._inputWidth=this.offsetWidth}_updateAssociatedLabelsTexts(){this._associatedLabelsTexts=j8(this),this._accessibleLabelsRefTexts=U8(this)}_closeRespPopover(){this.Suggestions.close(!0)}async _afterOpenPopover(){ue()&&(await this.getInputDOMRef()).focus()}_afterClosePopover(){this.announceSelectedItem(),ue()&&(this.blur(),this.focused=!1),this.openOnMobile=!1,this.open=!1,this._forceOpen=!1,this.hasSuggestionItemSelected&&this.focus()}isValueStateOpened(){return!!this._isPopoverOpen}async openPopover(){const e=await this._getPopover();e&&(this._isPopoverOpen=!0,e.showAt(this))}async closePopover(){const e=await this._getPopover();e&&e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}openPicker(){!this.suggestionItems.length||this.disabled||this.readonly||(this._forceOpen=!0)}enableSuggestions(){if(this.Suggestions)return;const e=ze("InputSuggestions");if(e)this.Suggestions=new e(this,"suggestionItems",!0,!1);else throw new Error('You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions')}selectSuggestion(e,t){var g;if(e.groupItem)return;const o=this.typedInValue||this.value,r=e.text||e.textContent||"",n=t?this.valueBeforeItemSelection!==r:o!==r;this.hasSuggestionItemSelected=!0;const s=this.value,l=this.valueBeforeItemSelection,I=this.lastConfirmedValue,y=this._performTextSelection,C=this.typedInValue,b=this.previousValue;n&&(this.value=r,this.valueBeforeItemSelection=r,this.lastConfirmedValue=r,this._performTextSelection=!0,this.fireEvent($a.CHANGE),ue()&&this.fireEvent($a.INPUT),this.typedInValue=this.value,this.previousValue=this.value),this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,!this.fireEvent($a.SUGGESTION_ITEM_SELECT,{item:e},!0)&&((g=this.Suggestions)==null||g._clearSelectedSuggestionAndAccInfo(),this.hasSuggestionItemSelected=!1,this.suggestionSelectionCancelled=!0,n&&(r===this.value&&(this.value=s),this.valueBeforeItemSelection=l,this.lastConfirmedValue=I,this._performTextSelection=y,this.typedInValue=C,this.previousValue=b)),this.isTyping=!1,this.openOnMobile=!1,this._forceOpen=!1}previewSuggestion(e){this.valueBeforeItemSelection=this.value,this.updateValueOnPreview(e),this.announceSelectedItem(),this._previewItem=e}updateValueOnPreview(e){const o=e.type==="Inactive"||e.groupItem?this.valueBeforeItemPreview:e.effectiveTitle||e.textContent||"";this.value=o,this._performTextSelection=!0}get previewItem(){return this._previewItem?this.getSuggestionByListItem(this._previewItem):null}async fireEventByAction(e,t){if(this.disabled||this.readonly)return;const o=await this.getInputValue(),r=e===v_.ACTION_ENTER;this.value=o,this.typedInValue=o,this.valueBeforeItemPreview=o,r&&(this.fireEvent($a.INPUT,{inputType:t.inputType}),this.fireEvent("value-changed"))}async getInputValue(){return this.getDomRef()?(await this.getInputDOMRef()).value:""}async getInputDOMRef(){return ue()&&this.Suggestions?(await this.Suggestions._getSuggestionPopover(),this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone")):this.nativeInput}getInputDOMRefSync(){return ue()&&this.Suggestions&&this.Suggestions.responsivePopover?this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input"):this.nativeInput}get nativeInput(){const e=this.getDomRef();return e?e.querySelector("input"):null}get nativeInputWidth(){return this.nativeInput?this.nativeInput.offsetWidth:0}getLabelableElementId(){return this.getInputId()}getSuggestionByListItem(e){const t=parseInt(e.getAttribute("data-ui5-key"));return this.suggestionItems[t]}isSuggestionsScrollable(){return this.Suggestions?this.Suggestions._isScrollable():Promise.resolve(!1)}getInputId(){return`${this._id}-inner`}onItemMouseOver(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseover",{item:o,targetRef:t})}onItemMouseOut(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseout",{item:o,targetRef:t})}onItemMouseDown(e){e.preventDefault()}onItemSelected(e,t){this.selectSuggestion(e,t)}onItemPreviewed(e){this.previewSuggestion(e),this.fireEvent("suggestion-item-preview",{item:this.getSuggestionByListItem(e),targetRef:e})}get valueStateTypeMappings(){return{Success:_i.i18nBundle.getText(ac),Information:_i.i18nBundle.getText(sc),Error:_i.i18nBundle.getText(rc),Warning:_i.i18nBundle.getText(nc)}}valueStateTextMappings(){return{Success:_i.i18nBundle.getText(In),Information:_i.i18nBundle.getText(Jn),Error:_i.i18nBundle.getText(Tn),Warning:_i.i18nBundle.getText(Cn)}}announceSelectedItem(){const e=this.shadowRoot.querySelector(`[id="${this._id}-selectionText"]`);e.textContent=this.itemSelectionAnnounce}get _readonly(){return this.readonly&&!this.disabled}get _headerTitleText(){return _i.i18nBundle.getText(oc)}get clearIconAccessibleName(){return _i.i18nBundle.getText(F_)}get inputType(){return this.type.toLowerCase()}get isTypeNumber(){return this.type===Rl.Number}get suggestionsTextId(){return this.showSuggestions?`${this._id}-suggestionsText`:""}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:""}get accInfo(){const e=this.showSuggestions?"true":void 0,t=this.showSuggestions?"list":void 0,o=this._inputAccInfo.ariaDescribedBy?`${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim():`${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{ariaRoledescription:this._inputAccInfo&&(this._inputAccInfo.ariaRoledescription||void 0),ariaDescribedBy:o||void 0,ariaInvalid:this.valueState===W.Error?"true":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._inputAccInfo&&this._inputAccInfo.ariaDescription,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!==W.None?this.valueStateTypeMappings[this.valueState]:"";return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get itemSelectionAnnounce(){return this.Suggestions?this.Suggestions.itemSelectionAnnounce:""}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===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{"max-width":this._inputWidth?`${this._inputWidth}px`:""},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:this._listWidth?`${this._listWidth}px`:""},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 valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayOnlyValueStateMessage(){return this.hasValueStateMessage&&!this.readonly&&!this.open&&this.focused}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get hasValueState(){return this.valueState!==W.None}get hasValueStateMessage(){return this.hasValueState&&this.valueState!==W.Success&&(!this._inputIconFocused||!!(this._isPhone&&this.Suggestions))}get valueStateText(){return this.valueState!==W.None?this.valueStateTextMappings()[this.valueState]:void 0}get suggestionsText(){return _i.i18nBundle.getText(X3)}get availableSuggestionsCount(){if(this.showSuggestions&&(this.value||this.Suggestions.isOpened())){const e=this.suggestionObjects.filter(t=>!t.groupItem);switch(e.length){case 0:return _i.i18nBundle.getText(J3);case 1:return _i.i18nBundle.getText(Z3);default:return _i.i18nBundle.getText(Q3,e.length)}}}get step(){return this.isTypeNumber?"any":void 0}get _isPhone(){return ue()}get _isSuggestionsFocused(){return!this.focused&&this.Suggestions&&this.Suggestions.isOpened()}get _placeholder(){return this.placeholder}get _valueStateInputIcon(){const e={Error:'',Warning:'',Success:'',Information:''};return this.valueState!==W.None?` + + ${e[this.valueState]}; + + `:""}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}getCaretPosition(){return fR(this.nativeInput)}setCaretPosition(e){vR(this.nativeInput,e)}removeFractionalPart(e){return e.includes(".")?e.slice(0,e.indexOf(".")):e.includes(",")?e.slice(0,e.indexOf(",")):e}static async onDefine(){const e=ze("InputSuggestions");[_i.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}};Fe([A({type:Boolean})],Le.prototype,"disabled",void 0);Fe([A({type:Boolean})],Le.prototype,"highlight",void 0);Fe([A()],Le.prototype,"placeholder",void 0);Fe([A({type:Boolean})],Le.prototype,"readonly",void 0);Fe([A({type:Boolean})],Le.prototype,"required",void 0);Fe([A({type:Boolean})],Le.prototype,"noTypeahead",void 0);Fe([A({type:Rl,defaultValue:Rl.Text})],Le.prototype,"type",void 0);Fe([A()],Le.prototype,"value",void 0);Fe([A({noAttribute:!0})],Le.prototype,"_innerValue",void 0);Fe([A({type:W,defaultValue:W.None})],Le.prototype,"valueState",void 0);Fe([A()],Le.prototype,"name",void 0);Fe([A({type:Boolean})],Le.prototype,"showSuggestions",void 0);Fe([A({validator:ae})],Le.prototype,"maxlength",void 0);Fe([A()],Le.prototype,"accessibleName",void 0);Fe([A({defaultValue:""})],Le.prototype,"accessibleNameRef",void 0);Fe([A({type:Boolean})],Le.prototype,"showClearIcon",void 0);Fe([A({type:Boolean})],Le.prototype,"_effectiveShowClearIcon",void 0);Fe([A({type:Boolean})],Le.prototype,"focused",void 0);Fe([A({type:Boolean})],Le.prototype,"openOnMobile",void 0);Fe([A({type:Boolean})],Le.prototype,"open",void 0);Fe([A({type:Boolean})],Le.prototype,"_forceOpen",void 0);Fe([A({type:Boolean})],Le.prototype,"_isValueStateFocused",void 0);Fe([A({type:Object,noAttribute:!0})],Le.prototype,"_inputAccInfo",void 0);Fe([A({type:Object,noAttribute:!0})],Le.prototype,"_nativeInputAttributes",void 0);Fe([A({validator:ae})],Le.prototype,"_inputWidth",void 0);Fe([A({validator:ae})],Le.prototype,"_listWidth",void 0);Fe([A({type:Boolean,noAttribute:!0})],Le.prototype,"_isPopoverOpen",void 0);Fe([A({type:Boolean,noAttribute:!0})],Le.prototype,"_inputIconFocused",void 0);Fe([A({type:String,noAttribute:!0,defaultValue:void 0})],Le.prototype,"_associatedLabelsTexts",void 0);Fe([A({type:String,noAttribute:!0,defaultValue:void 0})],Le.prototype,"_accessibleLabelsRefTexts",void 0);Fe([Z({type:HTMLElement,default:!0})],Le.prototype,"suggestionItems",void 0);Fe([Z()],Le.prototype,"icon",void 0);Fe([Z()],Le.prototype,"formSupport",void 0);Fe([Z({type:HTMLElement,invalidateOnChildChange:!0,cloned:!0})],Le.prototype,"valueStateMessage",void 0);Le=_i=Fe([K({tag:"ui5-input",languageAware:!0,renderer:de,template:SR,staticAreaTemplate:DR,styles:qR,staticAreaStyles:[Vr,Za,Q_],get dependencies(){const i=ze("InputSuggestions");return[Vi,Be].concat(i?i.dependencies:[])}}),q("change"),q("input"),q("suggestion-item-select",{detail:{item:{type:HTMLElement}}}),q("suggestion-item-preview",{detail:{item:{type:HTMLElement},targetRef:{type:HTMLElement}}}),q("suggestion-scroll",{detail:{scrollTop:{type:ae},scrollContainer:{type:HTMLElement}}})],Le);Le.define();const xr=Le,WR="direction-arrows",ZT="M507 244q5 5 5 12 0 6-5 11L394 379q-5 5-12 5-6 0-11-5t-5-11V144q0-12 10-15 2-1 6-1 8 0 12 4zM135 129q10 3 10 15v224q0 6-4.5 11t-11.5 5q-6 0-11-5L5 267q-5-5-5-11 0-7 5-12l113-112q4-4 11-4 4 0 6 1z",jR=!1,GR="SAP-icons-v4",YR="@ui5/webcomponents-icons";ee(WR,{pathData:ZT,ltr:jR,collection:GR,packageName:YR});const XR="direction-arrows",QT="M135 128q11 0 18 7.5t7 18.5v204q0 11-8 18.5t-18 7.5-17-7L8 275q-8-8-8-19t8-19l109-102q7-7 18-7zm369 109q8 8 8 19t-8 19L395 377q-7 7-17 7t-18-7.5-8-18.5V154q0-12 8-19t19-7q9 0 16 7z",KR=!1,ZR="SAP-icons-v5",QR="@ui5/webcomponents-icons";ee(XR,{pathData:QT,ltr:KR,collection:ZR,packageName:QR});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const JR={packageName:"@ui5/webcomponents",fileName:"themes/SliderBase.css.ts",content:`.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([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_slider_disabled_opacity);cursor:default;pointer-events:none}:host{box-sizing:border-box;cursor:pointer;vertical-align:top;width:100%}:host(:not([hidden])){display:inline-block}.ui5-slider-root{box-sizing:border-box;height:3.3125rem;outline:none;padding:var(--_ui5-v1-22-1-rc-0_slider_padding);touch-action:none}.ui5-slider-inner{background-repeat:no-repeat;position:relative;min-width:var(--_ui5-v1-22-1-rc-0_slider_inner_min_width);height:100%}.ui5-slider-progress-container{width:100%;background:var(--_ui5-v1-22-1-rc-0_slider_progress_container_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_inner_height);position:relative;box-sizing:var(--_ui5-v1-22-1-rc-0_slider_progress_box_sizing);top:var(--_ui5-v1-22-1-rc-0_slider_progress_container_top)}.ui5-slider-progress-container:before,.ui5-slider-progress-container:after{display:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_display);content:"";position:absolute;border-radius:50%;width:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);height:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);top:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_top)}.ui5-slider-progress-container:before{inset-inline-start:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_before_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_before_border)}.ui5-slider-progress-container:after{inset-inline-end:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_after_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_after_border)}.ui5-slider-progress{background:var(--_ui5-v1-22-1-rc-0_slider_progress_background);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_progress_height);position:relative;outline:none;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_slider_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_active_progress_top)}.ui5-slider-tickmarks{list-style:none;padding:0;margin:0;top:var(--_ui5-v1-22-1-rc-0_slider_tickmark_top);display:flex;box-sizing:border-box;width:100%;justify-content:space-between;position:absolute;z-index:1}.ui5-slider-tickmarks li{height:var(--_ui5-v1-22-1-rc-0_slider_tickmark_height);border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_bg)}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_slider_handle_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2);top:var(--_ui5-v1-22-1-rc-0_slider_handle_top);position:absolute;outline:none;height:var(--_ui5-v1-22-1-rc-0_slider_handle_height);width:var(--_ui5-v1-22-1-rc-0_slider_handle_width);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_handle_box_sizing);display:flex;justify-content:center;align-items:center;z-index:2}[slider-icon]{display:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_display);color:var(--sapContent_Selected_ForegroundColor);width:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size);height:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size)}.ui5-slider-root .ui5-slider-handle:focus [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_border)}.ui5-slider-root:focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-handle:focus{outline:var(--_ui5-v1-22-1-rc-0_slider_handle_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_slider_handle_outline_offset);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);background:var(--_ui5-v1-22-1-rc-0_slider_handle_background_focus)}.ui5-slider-handle.ui5-slider-handle--start:focus,.ui5-slider-handle--end:focus{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-root:focus:hover .ui5-slider-handle,.ui5-slider-handle:focus:hover{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-tooltip{display:flex;justify-content:center;align-items:center;visibility:hidden;pointer-events:none;line-height:1rem;position:absolute;left:50%;transform:translate(-50%);bottom:var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom);background:var(--_ui5-v1-22-1-rc-0_slider_tooltip_background);border:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_slider_tooltip_box_shadow);font-size:var(--_ui5-v1-22-1-rc-0_slider_tooltip_fontsize);color:var(--_ui5-v1-22-1-rc-0_slider_tooltip_color);height:var(--_ui5-v1-22-1-rc-0_slider_tooltip_height);min-width:var(--_ui5-v1-22-1-rc-0_slider_tooltip_min_width);padding:var(--_ui5-v1-22-1-rc-0_slider_tooltip_padding);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_box)}.ui5-slider-tooltip-value{position:relative;display:flex;justify-content:center;align-items:center}.ui5-slider-labels{position:absolute;top:1.25rem;margin:0;padding:0;white-space:nowrap}.ui5-slider-labels li{position:relative;list-style:none;padding-top:.3125rem;height:1rem;margin:0;text-align:center;display:inline-block;color:var(--_ui5-v1-22-1-rc-0_slider_label_color);font-size:var(--_ui5-v1-22-1-rc-0_slider_label_fontsize);padding-top:0;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;vertical-align:top}.ui5-slider-hidden-labels li:not(:first-child):not(:last-child){visibility:hidden}.ui5-slider-handle:focus .ui5-slider-tooltip{bottom:var(--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance)}.ui5-slider-tickmarks li.ui5-slider-tickmark-in-range{border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_in_range_bg)}:host([show-tickmarks]) .ui5-slider-progress{height:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_height);border:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_top)}:host([show-tickmarks]) .ui5-slider-progress-container{top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_container_top)}.ui5-slider-handle:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_visibility);width:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);height:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);border:var(--sapContent_FocusWidth) dotted var(--sapContent_FocusColor);position:absolute;border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);pointer-events:none} +`};var cr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},mr;let io=mr=class extends ie{constructor(){super(),this.notResized=!1,this._isUserInteraction=!1,this._isInnerElementFocusing=!1,this._labelWidth=0,this._resizeHandler=this._handleResize.bind(this),this._moveHandler=this._handleMove.bind(this),this._upHandler=this._handleUp.bind(this),this._stateStorage={step:void 0,min:void 0,max:void 0,labelInterval:void 0};const e=t=>{this._onmousedown(t)};this._ontouchstart={handleEvent:e,passive:!0}}_handleMove(e){}_handleUp(){}_onmousedown(e){}_handleActionKeyPress(e){}static get ACTION_KEYS(){return[Ct,_t,Xe,qe,Cl,Os,Fn,Vn,F2,V2,Wt,ki,Li,eo,Ni]}static get MIN_SPACE_BETWEEN_TICKMARKS(){return 8}static get TOOLTIP_VISIBILITY(){return{VISIBLE:"visible",HIDDEN:"hidden"}}static get render(){return de}static get styles(){return JR}get classes(){return{root:{"ui5-slider-root-phone":ue()},labelContainer:{"ui5-slider-hidden-labels":this._labelsOverlapping}}}onEnterDOM(){Ce.register(this,this._resizeHandler)}onExitDOM(){Ce.deregister(this,this._resizeHandler)}onAfterRendering(){this.notResized&&this._resizeHandler()}_onmouseover(){this.showTooltip&&(this._tooltipVisibility=mr.TOOLTIP_VISIBILITY.VISIBLE)}_onmouseout(){this.showTooltip&&!this.shadowRoot.activeElement&&(this._tooltipVisibility=mr.TOOLTIP_VISIBILITY.HIDDEN)}_onkeydown(e){this.disabled||this._effectiveStep===0||mr._isActionKey(e)&&(e.preventDefault(),this._isUserInteraction=!0,this._handleActionKeyPress(e))}_onkeyup(){this.disabled||(this._isUserInteraction=!1)}_preserveFocus(e){this._isInnerElementFocusing=e}_isFocusing(){return this._isInnerElementFocusing}_preventFocusOut(){this.focusInnerElement()}focusInnerElement(){this.focus()}_handleResize(){if(!this.showTickmarks||(this.notResized=!1,this._spaceBetweenTickmarks()o.scrollWidth>o.clientWidth)}handleDownBase(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.getBoundingClientRect(),n=this.directionStart,s=this._effectiveStep,l=mr.getValueFromInteraction(e,s,t,o,r,n);return this._isUserInteraction=!0,window.addEventListener("mouseup",this._upHandler),window.addEventListener("touchend",this._upHandler),au()&&e instanceof TouchEvent?window.addEventListener("touchmove",this._moveHandler):window.addEventListener("mousemove",this._moveHandler),this._handleFocusOnMouseDown(e),l}_handleFocusOnMouseDown(e){const t=this.shadowRoot.activeElement;(!t||t!==e.target)&&(this._preserveFocus(!0),this.focusInnerElement())}handleUpBase(){window.removeEventListener("mouseup",this._upHandler),window.removeEventListener("touchend",this._upHandler),window.removeEventListener("mousemove",this._moveHandler),window.removeEventListener("touchmove",this._moveHandler),this._isUserInteraction=!1,this._preserveFocus(!1)}updateStateStorageAndFireInputEvent(e){this.storePropertyState(e),this._isUserInteraction&&this.fireEvent("input")}static _isActionKey(e){return this.ACTION_KEYS.some(t=>t(e))}static clipValue(e,t,o){return e=Math.min(Math.max(e,t),o),e}static getValueFromInteraction(e,t,o,r,n,s){const l=this.getPageXValueFromEvent(e),I=this.computedValueFromPageX(l,o,r,n,s),y=this.getSteppedValue(I,t,o);return this.clipValue(y,o,r)}static getSteppedValue(e,t,o){const r=Math.abs((e-o)%t);if(t===0||r===0)return e;e=r*2>=t?e+t-r:e-r;const n=mr._getDecimalPrecisionOfNumber(t);return Number(e.toFixed(n))}static getPageXValueFromEvent(e){return au()&&e instanceof TouchEvent?e.targetTouches&&e.targetTouches.length>0?e.targetTouches[0].pageX:0:e.pageX}static computedValueFromPageX(e,t,o,r,n){const l=(n==="left"?e-r[n]:r[n]-e)/r.width;return t+l*(o-t)}static _getDecimalPrecisionOfNumber(e){if(Number.isInteger(e))return 0;const t=String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return!t||t.length<2?0:Math.max(0,(t[1]?t[1].length:0)-(t[2]?Number(t[2]):0))}isCurrentStateOutdated(){return Object.entries(this._stateStorage).some(([e,t])=>this[e]!==t)}getStoredPropertyState(e){return this._stateStorage[e]}isPropertyUpdated(...e){return e.some(t=>this.getStoredPropertyState(t)!==this[t])}storePropertyState(...e){e.forEach(t=>{this._stateStorage[t]=this[t]})}get directionStart(){return this.effectiveDir==="rtl"?"right":"left"}_createLabels(){if(!this.labelInterval||!this.showTickmarks)return;const e=this.labelInterval,t=this._effectiveStep,o=(this._effectiveMax-this._effectiveMin)/(t*e);if(o===this._oldNumberOfLabels&&this._oldMin===this._effectiveMin&&this._oldMax===this._effectiveMax)return;this._oldMin=this._effectiveMin,this._oldMax=this._effectiveMax,this._oldNumberOfLabels=o,this._labelWidth=100/o,this._labelValues=[];const r=mr._getDecimalPrecisionOfNumber(t);for(let n=0;n<=o;n++){const s=(n*t*e+this._effectiveMin).toFixed(r);this._labelValues.push(s)}}_handleActionKeyPressBase(e,t){const o=mr._isIncreaseValueAction(e),r=mr._isBigStepAction(e),n=this[t],s=this._effectiveMin,l=this._effectiveMax;let I=this.effectiveDir==="rtl"?-this._effectiveStep:this._effectiveStep;return I=r&&(l-s)/I>10?(l-s)/10:I,ki(e)?l-n:Wt(e)?(n-s)*-1:o?I:I*-1}static _isDecreaseValueAction(e){return qe(e)||Vn(e)||Ct(e)||Cl(e)||V2(e)||eo(e)}static _isIncreaseValueAction(e){return Xe(e)||Fn(e)||_t(e)||Os(e)||F2(e)||Li(e)}static _isBigStepAction(e){return Vn(e)||Fn(e)||Cl(e)||Os(e)||Li(e)||eo(e)}get _tickmarksCount(){return(this._effectiveMax-this._effectiveMin)/this._effectiveStep}_spaceBetweenTickmarks(){return this.getBoundingClientRect().width/this._tickmarksCount}_validateStep(e){e===0&&console.warn("The 'step' property must be a positive float number"),e<0&&console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"),Number.isNaN(e)&&console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1")}get _labels(){return this._labelValues||[]}get _effectiveStep(){let e=this.step;return e<0&&(e=Math.abs(e)),Number.isNaN(e)&&(e=1),e}get _effectiveMin(){return Math.min(this.min,this.max)}get _effectiveMax(){return Math.max(this.min,this.max)}get _tabIndex(){return this.disabled?"-1":"0"}get _ariaLabelledByHandleRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}};cr([A({validator:Zt,defaultValue:0})],io.prototype,"min",void 0);cr([A({validator:Zt,defaultValue:100})],io.prototype,"max",void 0);cr([A({validator:Zt,defaultValue:1})],io.prototype,"step",void 0);cr([A({validator:ae,defaultValue:0})],io.prototype,"labelInterval",void 0);cr([A({type:Boolean})],io.prototype,"showTickmarks",void 0);cr([A({type:Boolean})],io.prototype,"showTooltip",void 0);cr([A({type:Boolean})],io.prototype,"disabled",void 0);cr([A()],io.prototype,"accessibleName",void 0);cr([A({defaultValue:"hidden"})],io.prototype,"_tooltipVisibility",void 0);cr([A({type:Boolean})],io.prototype,"_labelsOverlapping",void 0);cr([A({type:Boolean})],io.prototype,"_hiddenTickmarks",void 0);io=mr=cr([q("change"),q("input")],io);const an=io;function eL(i,e,t){return t?w`
    ${this.step?W5.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} name="direction-arrows" part="icon-slider" slider-icon>${this.showTooltip?j5.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:w`
    ${this.step?W5.call(this,i,e,t):void 0}
    ${this.showTooltip?j5.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function W5(i,e,t){return w`${this.showTickmarks?tL.call(this,i,e,t):void 0}`}function tL(i,e,t){return w`
      ${X(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>iL.call(this,i,e,t,o,r))}
    ${this.labelInterval?nL.call(this,i,e,t):void 0}`}function iL(i,e,t,o,r){return w`${o?oL.call(this,i,e,t,o,r):rL.call(this,i,e,t,o,r)}`}function oL(i,e,t,o,r){return w`
  • `}function rL(i,e,t,o,r){return w`
  • `}function nL(i,e,t){return w`
      ${X(this._labels,(o,r)=>o._id||r,(o,r)=>aL.call(this,i,e,t,o,r))}
    `}function aL(i,e,t,o,r){return w`
  • ${a(o)}
  • `}function j5(i,e,t){return w`
    ${a(this.tooltipValue)}
    `}var JT=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Vd;let mu=Vd=class extends an{constructor(){super(),this._progressPercentage=0,this._handlePositionFromStart=0,this._stateStorage.value=void 0}onBeforeRendering(){this.isCurrentStateOutdated()&&(this.notResized=!0,this.syncUIAndState(),this._updateHandleAndProgress(this.value))}syncUIAndState(){this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","value")&&(this.storePropertyState("min","max"),this.value=an.clipValue(this.value,this._effectiveMin,this._effectiveMax),this.updateStateStorageAndFireInputEvent("value"),this.storePropertyState("value")),this.labelInterval&&this.showTickmarks&&this._createLabels(),this.isPropertyUpdated("labelInterval")&&this.storePropertyState("labelInterval")}_onmousedown(e){if(this.disabled||this.step===0)return;const t=this.handleDownBase(e);this._valueOnInteractionStart=this.value,this._valueInitial===void 0&&(this._valueInitial=this.value);const o=this.constructor;this._isHandlePressed(o.getPageXValueFromEvent(e))||(this._updateHandleAndProgress(t),this.value=t,this.updateStateStorageAndFireInputEvent("value"))}_onfocusin(){this._valueInitial===void 0&&(this._valueInitial=this.value),this.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._valueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.HIDDEN)}_handleMove(e){if(e.preventDefault(),this.disabled||this._effectiveStep===0)return;const o=this.constructor.getValueFromInteraction(e,this._effectiveStep,this._effectiveMin,this._effectiveMax,this.getBoundingClientRect(),this.directionStart);this._updateHandleAndProgress(o),this.value=o,this.updateStateStorageAndFireInputEvent("value")}_handleUp(){this._valueOnInteractionStart!==this.value&&this.fireEvent("change"),this.handleUpBase(),this._valueOnInteractionStart=void 0}_isHandlePressed(e){const t=this._sliderHandle.getBoundingClientRect();return e>=t.left&&e<=t.right}_updateHandleAndProgress(e){const t=this._effectiveMax,o=this._effectiveMin;this._progressPercentage=(e-o)/(t-o),this._handlePositionFromStart=this._progressPercentage*100}_handleActionKeyPress(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.value,n=this.constructor,s=Ni(e)?this._valueInitial:n.clipValue(this._handleActionKeyPressBase(e,"value")+r,t,o);s!==r&&(this._updateHandleAndProgress(s),this.value=s,this.updateStateStorageAndFireInputEvent("value"))}get styles(){return{progress:{transform:`scaleX(${this._progressPercentage})`,"transform-origin":`${this.directionStart} top`},handle:{[this.directionStart]:`${this._handlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}get _sliderHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle")}get tooltipValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.value.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return Vd.i18nBundle.getText(E4)}static async onDefine(){Vd.i18nBundle=await fe("@ui5/webcomponents")}get tickmarksObject(){const e=this._tickmarksCount,t=[];if(this._hiddenTickmarks)return[!0,!1];for(let o=0;o<=e;o++)t.push(this._effectiveMin+o*this.step<=this.value);return t}};JT([A({validator:Zt,defaultValue:0})],mu.prototype,"value",void 0);mu=Vd=JT([K({tag:"ui5-slider",languageAware:!0,template:eL,dependencies:[Be]})],mu);mu.define();const sL=mu;V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const lL={packageName:"@ui5/webcomponents",fileName:"themes/ColorPicker.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-color-picker-root{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.ui5-color-picker-main-color{width:16rem;height:16rem;position:relative;margin-bottom:1.5rem;border:1px solid var(--sapContent_ForegroundBorderColor);background-size:100%;background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0)),-webkit-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0)),-moz-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:linear-gradient(left,#000,#0000),linear-gradient(top,#fff0,#fff);background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-webkit-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-moz-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:linear-gradient(left,#000,#0000,#fff),linear-gradient(top,#80808000,gray);user-select:none;-moz-user-select:none}.ui5-color-picker-circle{position:absolute;box-sizing:border-box;width:13px;height:13px;border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_outer_border);border-radius:.6875rem;pointer-events:none}.ui5-color-picker-circle:after{content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);height:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_border);border-radius:.9375rem;pointer-events:none}.ui5-color-picker-sliders-wrapper{width:calc(100% - 11px);margin-left:-10px}[ui5-slider]{--_ui5-v1-22-1-rc-0_slider_active_progress_border: none;--_ui5-v1-22-1-rc-0_slider_progress_box_sizing: content-box}[ui5-slider]::part(handle){width:.9375rem;height:1.5rem;background:transparent;margin-left:-2px;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top);box-sizing:border-box}[ui5-slider]::part(handle):after{content:"";border:2px solid #fff;display:block;height:1.25rem;border-radius:1rem;width:100%;box-sizing:border-box}[ui5-slider]::part(root-container){padding:1rem 0}[ui5-slider]::part(progress-container){width:calc(100% + 11px);height:18px;position:absolute;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top);border-radius:0;border:1px solid var(--sapField_BorderColor)}[ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-size:100%;background-image:-webkit-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(left,red,#ff0,#0f0,#0ff,#00f,#f0f,red);background-color:none}[ui5-slider].ui5-color-picker-alpha-slider::part(progress-container){background-image:-webkit-linear-gradient(left,rgba(65,120,13,0),var(--ui5-v1-22-1-rc-0_Color_Picker_Progress_Container_Color)),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}[ui5-slider]::part(progress-bar){background:transparent}.ui5-color-picker-current-color{width:100%;display:flex;justify-content:space-around;align-items:center}.ui5-color-picker-colors-wrapper{display:flex;flex-wrap:nowrap;height:1.5rem;border:1px solid var(--sapField_BorderColor)}.ui5-color-picker-white,.ui5-color-picker-color{width:3.1rem;background:#fff;display:block}.ui5-color-picker-color{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}.ui5-color-picker-color-inner{width:100%;height:100%}.ui5-color-picker-hex-input-wrapper{display:flex;align-items:center;flex-wrap:nowrap}.ui5-color-picker-hex-input{width:4.5rem;min-width:4.5rem;margin-left:.2rem}.ui5-color-picker-rgb-wrapper{display:flex;justify-content:space-around;width:100%}.ui5-color-picker-rgb{display:flex;flex-direction:column;align-items:center;margin-top:1rem}.ui5-color-picker-rgb-input{width:2.5rem;min-width:2.5rem;text-align:center}.ui5-color-picker-hue-slider::part(progress-container):before,.ui5-color-picker-alpha-slider::part(progress-container):before,.ui5-color-picker-hue-slider::part(progress-container):after,.ui5-color-picker-alpha-slider::part(progress-container):after,[ui5-slider].ui5-color-picker-hue-slider::part(icon-slider),[ui5-slider].ui5-color-picker-alpha-slider::part(icon-slider){display:none}.ui5-color-picker-alpha-slider::part(handle),.ui5-color-picker-hue-slider::part(handle){box-shadow:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_box_shadow);border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_border)}.ui5-color-picker-alpha-slider::part(handle):hover,.ui5-color-picker-hue-slider::part(handle):hover{border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_hover)}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{outline:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_focus);outline-offset:.0625rem}.ui5-color-picker-alpha-slider::part(handle):focus:before,.ui5-color-picker-hue-slider::part(handle):focus:before{content:"";border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_inline_focus);display:block;height:1.625rem;border-radius:1rem;width:1.05rem;box-sizing:border-box;position:absolute;inset:-3px -3px 2px}.ui5-color-picker-alpha-slider::part(handle):before,.ui5-color-picker-hue-slider::part(handle):before{display:none}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_focus_margin_top)}[dir=rtl] [ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-image:-webkit-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}[dir=rtl] .ui5-color-picker-alpha-slider::part(handle),[dir=rtl] .ui5-color-picker-hue-slider::part(handle){--_ui5-v1-22-1-rc-0_slider_handle_margin_left: 0}[dir=rtl] .ui5-color-picker-sliders-wrapper{margin-left:10px} +`};var zr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Zr;const fa=6.5;let oo=Zr=class extends ie{static async onDefine(){Zr.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super(),this._selectedCoordinates={x:256-fa,y:256-fa},this._mainColor={r:255,g:0,b:0},this.selectedHue=0,this.mouseDown=!1,this.mouseIn=!1}onBeforeRendering(){this._color=uR(this.color);const e=`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, 1)`;this._setHex(),this._setValues(),this.style.setProperty(Po("--ui5_Color_Picker_Progress_Container_Color"),e)}_handleMouseDown(e){this.mouseDown=!0,this.mouseIn=!0,this._changeSelectedColor(e.offsetX,e.offsetY)}_handleMouseUp(){this.mouseDown=!1}_handleMouseOut(e){if(!this.mouseIn||!this.mouseDown)return;const t=e.target,o=t.offsetHeight,r=t.offsetWidth,n=e.offsetX<=0,s=e.offsetY<=0,l=e.offsetY>=t.offsetHeight,I=e.offsetX>=t.offsetWidth;let y,C;n?y=0:I?y=r:y=e.offsetX,s?C=0:l?C=o:C=e.offsetY,this._changeSelectedColor(y,C),this.mouseIn=!1,this.mouseDown=!1}_handleMouseMove(e){!this.mouseDown||!this.mouseIn||this._changeSelectedColor(e.offsetX,e.offsetY)}_handleAlphaInput(e){const t=e.target.value;this._alpha=parseFloat(t),this._setColor(this._color)}_handleHueInput(e){this.selectedHue=e.target.value,this._hue=this.selectedHue,this._setMainColor(this._hue),this._isHueValueChanged=!0;const t=this._selectedCoordinates.x+fa,o=this._selectedCoordinates.y+fa,r=this._calculateColorFromCoordinates(t,o);r&&this._setColor(P5(r))}_handleHEXChange(e){const t=new RegExp("^[<0-9 abcdef]+$"),o=e.target;let r=o.value.toLowerCase();r.length===3&&(r=`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`);const n=r.length===6&&t.test(r);n&&o.value!==r&&(this._wrongHEX=!1,o.value=r),r!==this.hex&&(this.hex=r,n?(this._wrongHEX=!1,this._setColor(GT(this.hex))):this._wrongHEX=!0)}_handleRGBInputsChange(e){const t=e.target,o=parseInt(t.value)||0;let r;switch(t.id){case"red":r={...this._color,r:o};break;case"green":r={...this._color,g:o};break;case"blue":r={...this._color,b:o};break;default:r={...this._color}}this._setColor(r)}_setMainColor(e){e<=255?this._mainColor={r:255,g:e,b:0}:e<=510?this._mainColor={r:255-(e-255),g:255,b:0}:e<=765?this._mainColor={r:0,g:255,b:e-510}:e<=1020?this._mainColor={r:0,g:765-(e-255),b:255}:e<=1275?this._mainColor={r:e-1020,g:0,b:255}:this._mainColor={r:255,g:0,b:1275-(e-255)}}_handleAlphaChange(){this._alpha=this._alpha<0?0:this._alpha,this._alpha=this._alpha>1?1:this._alpha}_changeSelectedColor(e,t){this._selectedCoordinates={x:e-fa,y:t-fa},this._isSelectedColorChanged=!0;const o=this._calculateColorFromCoordinates(e,t);o&&this._setColor(P5(o))}_onkeydown(e){Ie(e)&&this._handleHEXChange(e)}_calculateColorFromCoordinates(e,t){const o=this._hue/4.251,r=1-+(Math.round(parseFloat(t/256+"e+2"))+"e-2"),n=+(Math.round(parseFloat(e/256+"e+2"))+"e-2");if(!(!r||!n))return{h:o,s:r,l:n}}_setColor(e={r:0,g:0,b:0}){this.color=`rgba(${e.r}, ${e.g}, ${e.b}, ${this._alpha})`,this._wrongHEX=!this.isValidRGBColor(e),this.fireEvent("change")}isValidRGBColor(e){return e.r>=0&&e.r<=255&&e.g>=0&&e.g<=255&&e.b>=0&&e.b<=255}_setHex(){let e=this._color.r.toString(16),t=this._color.g.toString(16),o=this._color.b.toString(16);e.length===1&&(e=`0${e}`),t.length===1&&(t=`0${t}`),o.length===1&&(o=`0${o}`),this.hex=e+t+o}_setValues(){const e=hR(this._color);this._selectedCoordinates={x:Math.round(e.l*100)*2.56-fa,y:256-Math.round(e.s*100)*2.56-fa},this._isSelectedColorChanged?this._isSelectedColorChanged=!1:this._isHueValueChanged?(this._isHueValueChanged=!1,this._hue=this.selectedHue?this.selectedHue:this._hue):this._hue=Math.round(e.h*4.25),this._setMainColor(this._hue)}get hueSliderLabel(){return Zr.i18nBundle.getText(O3)}get alphaSliderLabel(){return Zr.i18nBundle.getText(P3)}get hexInputLabel(){return Zr.i18nBundle.getText(B3)}get redInputLabel(){return Zr.i18nBundle.getText(R3)}get greenInputLabel(){return Zr.i18nBundle.getText(L3)}get blueInputLabel(){return Zr.i18nBundle.getText(N3)}get alphaInputLabel(){return Zr.i18nBundle.getText(M3)}get inputsDisabled(){return this._wrongHEX?!0:void 0}get hexInputErrorState(){return this._wrongHEX?"Error":void 0}get styles(){return{mainColor:{"background-color":`rgb(${this._mainColor.r}, ${this._mainColor.g}, ${this._mainColor.b})`},circle:{left:`${this._selectedCoordinates.x}px`,top:`${this._selectedCoordinates.y}px`},colorSpan:{"background-color":`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, ${this._alpha})`}}}};zr([A({validator:ed,defaultValue:"rgba(255, 255, 255, 1)"})],oo.prototype,"color",void 0);zr([A({defaultValue:"ffffff",noAttribute:!0})],oo.prototype,"hex",void 0);zr([A({type:Object})],oo.prototype,"_mainColor",void 0);zr([A({type:Object})],oo.prototype,"_color",void 0);zr([A({type:Object})],oo.prototype,"_selectedCoordinates",void 0);zr([A({validator:Zt,defaultValue:1})],oo.prototype,"_alpha",void 0);zr([A({validator:ae,defaultValue:0})],oo.prototype,"_hue",void 0);zr([A({type:Boolean})],oo.prototype,"_isSelectedColorChanged",void 0);zr([A({type:Boolean})],oo.prototype,"_isHueValueChanged",void 0);zr([A({type:Boolean})],oo.prototype,"_wrongHEX",void 0);oo=Zr=zr([K({tag:"ui5-color-picker",renderer:de,styles:lL,template:pR,dependencies:[xr,sL,ea]}),q("change")],oo);oo.define();const cL=oo;function uL(i,e,t){return w`
    ${this.hasValueState?dL.call(this,i,e,t):void 0}${this._effectiveShowClearIcon?_L.call(this,i,e,t):void 0}${this.icon?hL.call(this,i,e,t):void 0}${this.readonly?void 0:pL.call(this,i,e,t)}
    `}function dL(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}function _L(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function hL(i,e,t){return w``}function pL(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="slim-arrow-down" slot="icon" tabindex="-1" input-icon ?pressed="${this._iconPressed}" @click="${this._arrowClick}" accessible-name="${a(this._iconAccessibleNameText)}">`:w``}function fL(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} class="${j(this.classes.popover)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${Y(this.styles.suggestionsPopover)}" @ui5-after-open=${a(this._afterOpenPopover)} @ui5-after-close=${a(this._afterClosePopover)}><${D("ui5-busy-indicator",e,t)} ?active=${this.loading} size="Medium" class="ui5-combobox-busy">${this._isPhone?G5.call(this,i,e,t):void 0}${this._isPhone?void 0:Q5.call(this,i,e,t)}<${D("ui5-list",e,t)} class="ui5-combobox-items-list" separators="None" @ui5-item-click=${a(this._selectItem)} @ui5-item-focused=${a(this._onItemFocus)} @mousedown=${this._itemMousedown} mode="SingleSelect">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>t0.call(this,i,e,t,o,r))}${this._isPhone?i0.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?o0.call(this,i,e,t):void 0} `:w`${this._isPhone?G5.call(this,i,e,t):void 0}${this._isPhone?void 0:Q5.call(this,i,e,t)}${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>t0.call(this,i,e,t,o,r))}${this._isPhone?i0.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?o0.call(this,i,e,t):void 0} `}function G5(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${D("ui5-input",e,t)} .value="${a(this.value)}" @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._inputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this.valueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Y5.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?X5.call(this,i,e,t):void 0}`:w`
    ${a(this._headerTitleText)}
    ${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Y5.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?X5.call(this,i,e,t):void 0}`}function Y5(i,e,t,o,r){return t?w`<${D("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:w``}function X5(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?K5.call(this,i,e,t):Z5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?K5.call(this,i,e,t):Z5.call(this,i,e,t)}
    `}function K5(i,e,t){return w`${a(this.valueStateDefaultText)}`}function Z5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>vL.call(this,i,e,t,o,r))}`}function vL(i,e,t,o,r){return w`${a(o)}`}function Q5(i,e,t){return w`${this.hasValueStateText?mL.call(this,i,e,t):void 0}`}function mL(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?J5.call(this,i,e,t):e0.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?J5.call(this,i,e,t):e0.call(this,i,e,t)}
    `}function J5(i,e,t){return w`${a(this.valueStateDefaultText)}`}function e0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>gL.call(this,i,e,t,o,r))}`}function gL(i,e,t,o,r){return w`${a(o)}`}function t0(i,e,t,o,r){return w`${o.isGroupItem?bL.call(this,i,e,t,o,r):yL.call(this,i,e,t,o,r)}`}function bL(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} ?focused=${o.focused}>${a(o.text)}`:w`${a(o.text)}`}function yL(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} type="Active" wrapping-type="Normal" additional-text=${a(o.additionalText)} group-name=${a(o.groupName)} ._tabIndex=${a(o.itemTabIndex)} .mappedItem=${a(o)} ?selected=${o.selected} ?focused=${o.focused}>${a(o.text)}`:w`${a(o.text)}`}function i0(i,e,t){return t?w``:w``}function o0(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}" placement-type="Bottom">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?r0.call(this,i,e,t):n0.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?r0.call(this,i,e,t):n0.call(this,i,e,t)}
    `}function r0(i,e,t){return w`${a(this.valueStateDefaultText)}`}function n0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>wL.call(this,i,e,t,o,r))}`}function wL(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const TL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBox.css.ts",content:`: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-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.ui5-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const CL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBoxPopover.css.ts",content:`.ui5-combobox-busy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:42;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:all}.ui5-combobox-busy:not([active]){display:none} +`};var td=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let za=class extends ie{get isGroupItem(){return!1}};td([A()],za.prototype,"text",void 0);td([A()],za.prototype,"additionalText",void 0);td([A({type:Boolean})],za.prototype,"focused",void 0);td([A({type:Boolean})],za.prototype,"selected",void 0);za=td([K("ui5-cb-item")],za);za.define();const e6=za;var Dv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ll=class extends ie{get isGroupItem(){return!0}};Dv([A()],Ll.prototype,"text",void 0);Dv([A({type:Boolean})],Ll.prototype,"focused",void 0);Ll=Dv([K("ui5-cb-group-item")],Ll);Ll.define();const IL=Ll;function SL(i,e,t){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const kL={packageName:"@ui5/webcomponents",fileName:"themes/GroupHeaderListItem.css.ts",content:`.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-v1-22-1-rc-0_group_header_list_item_height);background:var(--ui5-v1-22-1-rc-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}.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)} +`};var t6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},zd;let gu=zd=class extends Xu{get groupItem(){return!0}get groupHeaderText(){return zd.i18nBundle.getText(j3)}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}static async onDefine(){zd.i18nBundle=await fe("@ui5/webcomponents")}};t6([A()],gu.prototype,"accessibleName",void 0);gu=zd=t6([K({tag:"ui5-li-groupheader",languageAware:!0,template:SL,styles:[Xu.styles,kL]})],gu);gu.define();const id=gu;var g1;(function(i){i.StartsWithPerTerm="StartsWithPerTerm",i.StartsWith="StartsWith",i.Contains="Contains",i.None="None"})(g1||(g1={}));const m_=g1;function EL(i,e,t){return w`
  • ${this.placeSelectionElementBefore?$L.call(this,i,e,t):void 0}
    ${this.hasImageContent?BL.call(this,i,e,t):RL.call(this,i,e,t)}${this.displayIconBegin?NL.call(this,i,e,t):void 0}
    ${this.hasTitle?ML.call(this,i,e,t):void 0}${this.hasDescription?FL.call(this,i,e,t):void 0}${this.typeActive?void 0:UL.call(this,i,e,t)}
    ${this.hasDescription?void 0:qL.call(this,i,e,t)}
    ${this.displayIconEnd?jL.call(this,i,e,t):void 0}${this.typeDetail?GL.call(this,i,e,t):void 0}${this.typeNavigation?YL.call(this,i,e,t):void 0}${this.navigated?XL.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?KL.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function $L(i,e,t){return w`${this.modeSingleSelect?AL.call(this,i,e,t):void 0}${this.modeMultiSelect?xL.call(this,i,e,t):void 0}${this.renderDeleteButton?DL.call(this,i,e,t):void 0}`}function AL(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function xL(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function DL(i,e,t){return w`
    ${this.hasDeleteButtonSlot?PL.call(this,i,e,t):OL.call(this,i,e,t)}
    `}function PL(i,e,t){return w``}function OL(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}function BL(i,e,t){return w`
    `}function RL(i,e,t){return w`${this.displayImage?LL.call(this,i,e,t):void 0}`}function LL(i,e,t){return t?w`<${D("ui5-avatar",e,t)} shape="Square" class="ui5-li-img">`:w``}function NL(i,e,t){return t?w`<${D("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:w``}function ML(i,e,t){return w``}function FL(i,e,t){return w`
    ${this.richDescription.length?VL.call(this,i,e,t):zL.call(this,i,e,t)}${this.additionalText?HL.call(this,i,e,t):void 0}
    `}function VL(i,e,t){return w``}function zL(i,e,t){return w`${a(this.description)}`}function HL(i,e,t){return w`${a(this.additionalText)}`}function UL(i,e,t){return w`${a(this.type)}`}function qL(i,e,t){return w`${this.additionalText?WL.call(this,i,e,t):void 0}`}function WL(i,e,t){return w`${a(this.additionalText)}`}function jL(i,e,t){return t?w`<${D("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:w``}function GL(i,e,t){return t?w`
    <${D("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:w`
    `}function YL(i,e,t){return t?w`<${D("ui5-icon",e,t)} name ="slim-arrow-right">`:w``}function XL(i,e,t){return w`
    `}function KL(i,e,t){return w`${this.modeSingleSelect?ZL.call(this,i,e,t):void 0}${this.modeMultiSelect?QL.call(this,i,e,t):void 0}${this.renderDeleteButton?JL.call(this,i,e,t):void 0}`}function ZL(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function QL(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function JL(i,e,t){return w`
    ${this.hasDeleteButtonSlot?eN.call(this,i,e,t):tN.call(this,i,e,t)}
    `}function eN(i,e,t){return w``}function tN(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}var Pv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Nl=class extends ta{onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!this.titleText.length}get effectiveTitle(){return this.titleText.filter(e=>e.nodeType!==Node.COMMENT_NODE).map(e=>e.textContent).join("")}get hasDescription(){return this.richDescription.length||this.description}get groupItem(){return!1}};Pv([Z({type:HTMLElement})],Nl.prototype,"richDescription",void 0);Pv([Z({type:Node,default:!0})],Nl.prototype,"titleText",void 0);Nl=Pv([K({tag:"ui5-li-suggestion-item",template:EL})],Nl);Nl.define();const i6=Nl;var oa=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let er=class extends ie{get groupItem(){return!1}};oa([A()],er.prototype,"text",void 0);oa([A({type:qt,defaultValue:qt.Active})],er.prototype,"type",void 0);oa([A()],er.prototype,"description",void 0);oa([A()],er.prototype,"icon",void 0);oa([A({type:Boolean})],er.prototype,"iconEnd",void 0);oa([A()],er.prototype,"image",void 0);oa([A()],er.prototype,"additionalText",void 0);oa([A({type:W,defaultValue:W.None})],er.prototype,"additionalTextState",void 0);er=oa([K({tag:"ui5-suggestion-item",dependencies:[i6]})],er);er.define();const o6=er;var bt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},hi;const Cd=10;var b1;(function(i){i.Error="error",i.Warning="alert",i.Success="sys-enter-2",i.Information="information"})(b1||(b1={}));let ct=hi=class extends ie{constructor(){super(),this._filteredItems=[],this._initialRendering=!0,this._itemFocused=!1,this._autocomplete=!1,this._isKeyNavigation=!1,this._lastValue=this.getAttribute("value")||"",this._selectionPerformed=!1,this._selectedItemText="",this._userTypedValue=""}onBeforeRendering(){const e=this.valueStatePopover;this.FormSupport=ze("FormSupport"),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,(this._initialRendering||this.filter==="None")&&(this._filteredItems=this.items),this.open&&!this._isKeyNavigation&&(this._filteredItems=this._filterItems(this.filterValue)),!this._initialRendering&&document.activeElement===this&&!this._filteredItems.length&&(e==null||e.close()),this._selectMatchingItem(),this._initialRendering=!1,this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`)}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}async onAfterRendering(){const e=await this._getPicker();await this.shouldClosePopover()&&!ue()&&(e.close(!1,!1,!0),this._clearFocus(),this._itemFocused=!1),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this.storeResponsivePopoverWidth(),ue()&&(this.value=this.inner.value,this._selectMatchingItem())}async shouldClosePopover(){return(await this._getPicker()).opened&&!this.focused&&!this._itemFocused&&!this._isValueStateFocused}_focusin(e){this.focused=!0,this._autocomplete=!1,!ue()&&e.target.setSelectionRange(0,this.value.length)}_focusout(e){var s;const t=e.relatedTarget,o=(s=t==null?void 0:t.shadowRoot)==null?void 0:s.querySelector(".ui5-valuestatemessage-root"),r=this.shadowRoot.querySelector(".ui5-input-clear-icon-wrapper"),n=r===t||(r==null?void 0:r.contains(t));if(!(this._effectiveShowClearIcon&&n)){if(this._fireChangeEvent(),o){e.stopImmediatePropagation();return}!this.shadowRoot.contains(t)&&this.staticAreaItem!==e.relatedTarget&&(this.focused=!1,!ue()&&this._closeRespPopover(e))}}_afterOpenPopover(){this._iconPressed=!0,this.inner.focus()}_afterClosePopover(){this._iconPressed=!1,this._filteredItems=this.items,this.filterValue="",ue()&&this.blur(),this._selectionPerformed&&(this._lastValue=this.value,this._selectionPerformed=!1)}async _toggleRespPopover(){(await this._getPicker()).opened?this._closeRespPopover():this._openRespPopover()}async storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=(await this._getPicker()).offsetWidth)}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}async openValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.showAt(this)}async closeValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.close()}async _getValueStatePopover(){const t=(await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover");return this.valueStatePopover=t,t}_resetFilter(){this._userTypedValue="",this.inner.setSelectionRange(0,this.value.length),this._filteredItems=this._filterItems(""),this._selectMatchingItem()}_arrowClick(){this.inner.focus(),this._resetFilter(),ue()&&this.value&&!this._lastValue&&(this._lastValue=this.value),this._toggleRespPopover()}_handleMobileInput(e){const{target:t}=e;this.filterValue=t.value,this.value=t.value,this.fireEvent("input")}_input(e){const{value:t}=e.target,o=this.shouldAutocomplete(e);if(e.target===this.inner&&(e.stopImmediatePropagation(),this.focused=!0,this._isValueStateFocused=!1),this._filteredItems=this._filterItems(t),this.value=t,this.filterValue=t,this._clearFocus(),o&&!Lf()){const r=this._getFirstMatchingItem(t);r&&this._applyAtomicValueAndSelection(r,t,!0),t!==""&&r&&!r.selected&&!r.isGroupItem&&this.fireEvent("selection-change",{item:r})}this.fireEvent("input"),!ue()&&(!this._filteredItems.length||t===""?this._closeRespPopover():this._openRespPopover())}shouldAutocomplete(e){const t=e.inputType,o=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];return!this.noTypeahead&&!o.includes(t)}_startsWithMatchingItems(e){return Z_(e,this._filteredItems,"text")}_clearFocus(){this._filteredItems.map(e=>(e.focused=!1,e))}handleNavKeyPress(e){if(this.focused&&(Wt(e)||ki(e))&&this.value)return;const t=this.open,o=this._filteredItems.find(n=>t?n.focused:n.selected),r=o?this._filteredItems.indexOf(o):-1;e.preventDefault(),!(this.focused&&t&&(Xe(e)||Li(e)||eo(e)))&&(this._filteredItems.length-1===r&&qe(e)||(this._isKeyNavigation=!0,(e.key==="ArrowDown"||e.key==="ArrowUp"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Home"||e.key==="End")&&this[`_handle${e.key}`](e,r)))}_handleItemNavigation(e,t,o){const r=this.open,n=this._filteredItems[t],s=o?this._filteredItems[t+1]:this._filteredItems[t-1],l=n&&n.isGroupItem;if(!r&&(l&&!s||!l&&!n)||(this._clearFocus(),r?(this._itemFocused=!0,this.value=l?"":n.text,this.focused=!1,n.focused=!0):(this.focused=!0,this.value=l?s.text:n.text,n.focused=!1),this._isValueStateFocused=!1,this._announceSelectedItem(t),this._scrollToItem(t,o),l&&r))return;const I=this._getFirstMatchingItem(this.value);I&&this._applyAtomicValueAndSelection(I,this.open?this._userTypedValue:"",!0),I&&!I.selected&&this.fireEvent("selection-change",{item:I}),this.fireEvent("input"),this._fireChangeEvent()}_handleArrowDown(e,t){const o=this.open;if(this.focused&&t===-1&&this.hasValueStateText&&o){this._isValueStateFocused=!0,this._announceValueStateText(),this.focused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,++t,!0)}_handleArrowUp(e,t){const o=this.open;if(t===0&&!this.hasValueStateText){this._clearFocus(),this.focused=!0,this._itemFocused=!1;return}if(t===0&&this.hasValueStateText&&o){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText(),this._filteredItems[0].selected=!1;return}if(this._isValueStateFocused){this.focused=!0,this._isValueStateFocused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,--t,!1)}_handlePageUp(e,t){const o=t-Cd>-1;t=o?t-Cd:0;const r=this._filteredItems[t].isGroupItem&&!this.open;if(!o&&this.hasValueStateText&&this.open){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText();return}this._handleItemNavigation(e,t,r)}_handlePageDown(e,t){const o=this._filteredItems.length;t=t+Cdn.focused);this._fireChangeEvent(),o!=null&&o.opened&&!(r!=null&&r.isGroupItem)?(this._closeRespPopover(),this.focused=!0):this.FormSupport&&this.FormSupport.triggerFormSubmit(this)}if(Ni(e)&&(this.focused=!0,this.value=this.open?this.value:this._lastValue,this._isValueStateFocused=!1),(Pt(e)||Mi(e))&&this.open&&this._closeRespPopover(),zn(e)&&!this.readonly&&!this.disabled){e.preventDefault(),this._resetFilter(),this._toggleRespPopover();const r=this._filteredItems.find(n=>n.selected);r&&this.open?(this._itemFocused=!0,r.focused=!0,this.focused=!1):this.open&&this._filteredItems.length?this._handleItemNavigation(e,0,!0):this.focused=!0}}_click(){ue()&&!this.readonly&&this._openRespPopover()}_closeRespPopover(e){const t=this.responsivePopover;e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&this._selectedItemText&&(this.value=this._selectedItemText,this.filterValue=this._selectedItemText),e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&(this.value=this._lastValue||"",this.filterValue=this._lastValue||""),ue()&&this._fireChangeEvent(),this._isValueStateFocused=!1,this._clearFocus(),t==null||t.close()}async _openRespPopover(){(await this._getPicker()).showAt(this,!0)}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(KT[this.filter]||xv)(e,t,"text");return this.items.filter((r,n,s)=>hi._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_getFirstMatchingItem(e){const t=this.items.find(r=>r.focused===!0);if(t!=null&&t.isGroupItem){this.value=this.filterValue;return}const o=this._startsWithMatchingItems(e).filter(r=>!r.isGroupItem);if(o.length)return o[0]}_applyAtomicValueAndSelection(e,t,o){const r=e&&e.text||"";this.inner.value=r,o&&this.inner.setSelectionRange(t.length,r.length),this.value=r}_selectMatchingItem(){const e=this.items.find(r=>r.focused),t=e&&e.isGroupItem,o=this._filteredItems.find(r=>!r.isGroupItem&&r.text===this.value&&!t);this._filteredItems=this._filteredItems.map(r=>(r.selected=r===o,r))}_fireChangeEvent(){this.value!==this._lastValue&&(this.fireEvent("change"),this._lastValue=this.value)}_inputChange(e){e.preventDefault()}_itemMousedown(e){e.preventDefault()}_selectItem(e){const t=e.detail.item;this._selectedItemText=t.mappedItem.text,this._selectionPerformed=!0;const o=this.value===this._selectedItemText,r=this.value.toLowerCase()===this.filterValue.toLowerCase();if(o&&r)return this._fireChangeEvent(),this._closeRespPopover();this.value=this._selectedItemText,t.mappedItem.selected||this.fireEvent("selection-change",{item:t.mappedItem}),this._filteredItems.map(n=>(n.selected=n===t.mappedItem&&!n.isGroupItem,n)),this._fireChangeEvent(),this._closeRespPopover(),this.inner.setSelectionRange(this.value.length,this.value.length)}_onItemFocus(){this._itemFocused=!0}_announceSelectedItem(e){const t=this._filteredItems[e],o=this._filteredItems.filter(I=>!I.isGroupItem),r=t.additionalText||"",n=t==null?void 0:t.isGroupItem,s=hi.i18nBundle.getText(V_,o.indexOf(t)+1,o.length),l=hi.i18nBundle.getText(pv);Xc(n?`${l} ${t.text}`:`${r} ${s}`.trim(),Bs.Polite)}_clear(){const e=this.items.find(t=>t.selected);(e==null?void 0:e.text)===this.value&&this.fireEvent("change"),this.value="",this.fireEvent("input"),this._isPhone?(this._lastValue="",this.fireEvent("change")):this.focus()}async _scrollToItem(e,t){const o=await this._getPicker(),r=o.querySelector(".ui5-combobox-items-list"),n=r==null?void 0:r.items[e];if(n){const s=o.getBoundingClientRect(),l=n.getBoundingClientRect();l.top>=s.top&&l.bottom<=s.bottom||n.scrollIntoView({behavior:"instant",block:t?"end":"start",inline:"nearest"})}}_announceValueStateText(){const e=this.shouldDisplayDefaultValueStateMessage?this.valueStateDefaultText:this.valueStateMessageText.map(t=>t.textContent).join(" ");e&&Xc(e,Bs.Polite)}get _headerTitleText(){return hi.i18nBundle.getText(oc)}get _iconAccessibleNameText(){return hi.i18nBundle.getText(dv)}get inner(){return ue()?this.responsivePopover.querySelector("[ui5-input]").shadowRoot.querySelector("input"):this.shadowRoot.querySelector("[inner-input]")}async _getPicker(){const t=(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]");return this.responsivePopover=t,t}get hasValueState(){return this.valueState!==W.None}get hasValueStateText(){return this.hasValueState&&this.valueState!==W.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return"";let e="";return this.valueState!==W.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){if(this.valueState!==W.None)return this.valueStateTextMappings[this.valueState]}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get valueStateTextMappings(){return{[W.Success]:hi.i18nBundle.getText(In),[W.Error]:hi.i18nBundle.getText(Tn),[W.Warning]:hi.i18nBundle.getText(Cn),[W.Information]:hi.i18nBundle.getText(Jn)}}get valueStateTypeMappings(){return{[W.Success]:hi.i18nBundle.getText(ac),[W.Information]:hi.i18nBundle.getText(sc),[W.Error]:hi.i18nBundle.getText(rc),[W.Warning]:hi.i18nBundle.getText(nc)}}get shouldOpenValueStateMessagePopover(){return this.focused&&!this.readonly&&this.hasValueStateText&&!this._iconPressed&&!this.open&&!this._isPhone}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?ii.Left:ii.Right}get _valueStateMessageIcon(){return this.valueState!==W.None?b1[this.valueState]:""}get open(){var e;return((e=this==null?void 0:this.responsivePopover)==null?void 0:e.opened)||!1}get _isPhone(){return ue()}get itemTabIndex(){}get ariaLabelText(){return Kt(this)}get clearIconAccessibleName(){return hi.i18nBundle.getText(F_)}static async onDefine(){hi.i18nBundle=await fe("@ui5/webcomponents")}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{width:`${this.offsetWidth}px`},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:`${this._listWidth||""}px`},suggestionsPopover:{"min-width":`${this.offsetWidth||0}px`,"max-width":this.offsetWidth/e>40?`${this.offsetWidth}px`:"40rem"}}}get classes(){return{popover:{"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateText,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateText},popoverValueState:{"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}};bt([A()],ct.prototype,"value",void 0);bt([A({type:Boolean})],ct.prototype,"noTypeahead",void 0);bt([A()],ct.prototype,"filterValue",void 0);bt([A()],ct.prototype,"placeholder",void 0);bt([A({type:Boolean})],ct.prototype,"disabled",void 0);bt([A({type:W,defaultValue:W.None})],ct.prototype,"valueState",void 0);bt([A({type:Boolean})],ct.prototype,"readonly",void 0);bt([A({type:Boolean})],ct.prototype,"required",void 0);bt([A({type:Boolean})],ct.prototype,"loading",void 0);bt([A({type:m_,defaultValue:m_.StartsWithPerTerm})],ct.prototype,"filter",void 0);bt([A({type:Boolean})],ct.prototype,"showClearIcon",void 0);bt([A({type:Boolean})],ct.prototype,"focused",void 0);bt([A({type:Boolean})],ct.prototype,"_isValueStateFocused",void 0);bt([A()],ct.prototype,"accessibleName",void 0);bt([A()],ct.prototype,"accessibleNameRef",void 0);bt([A({type:Boolean,noAttribute:!0})],ct.prototype,"_iconPressed",void 0);bt([A({type:Object,noAttribute:!0,multiple:!0})],ct.prototype,"_filteredItems",void 0);bt([A({validator:ae,noAttribute:!0})],ct.prototype,"_listWidth",void 0);bt([A({type:Boolean,noAttribute:!0})],ct.prototype,"_effectiveShowClearIcon",void 0);bt([Z({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ct.prototype,"items",void 0);bt([Z()],ct.prototype,"valueStateMessage",void 0);bt([Z()],ct.prototype,"icon",void 0);ct=hi=bt([K({tag:"ui5-combobox",languageAware:!0,renderer:de,styles:TL,staticAreaStyles:[Vr,Za,CL,Q_],template:uL,staticAreaTemplate:fL,dependencies:[e6,Be,fo,vo,tl,Ne,ta,id,Vi,IL,xr,o6]}),q("change"),q("input"),q("selection-change",{detail:{item:{type:HTMLElement}}})],ct);ct.define();/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var iN=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,oN=function(i,e){return De(typeof i=="string"||i instanceof String,"pattern must be string"),(arguments.length>2||e!=null&&!Array.isArray(e))&&(e=Array.prototype.slice.call(arguments,1)),e=e||[],i.replace(iN,function(t,o,r,n,s){if(o)return"'";if(r)return r.replace(/''/g,"'");if(n)return String(e[parseInt(n)]);throw new Error("formatMessage: pattern syntax error at pos. "+s)})};/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */var _e=function(){throw new Error},xo={DATE:"date",TIME:"time",DATETIME:"datetime",DATETIME_WITH_TIMEZONE:"datetimeWithTimezone"},Qh={},r6=function(i){if(typeof i!="string"&&!(i instanceof String)&&i!=null)throw new TypeError("The given timezone must be a string.")};_e.oDateInfo={type:xo.DATE,oDefaultFormatOptions:{style:"medium",relativeScale:"day",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd"},{pattern:"yyyyMMdd",strictParsing:!0}],bShortFallbackFormatOptions:!0,bPatternFallbackWithoutDelimiter:!0,getPattern:function(i,e,t){return i.getDatePattern(e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0},aRelativeScales:["year","month","week","day"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date"]};_e.oDateTimeInfo={type:xo.DATETIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd'T'HH:mm:ss"},{pattern:"yyyyMMdd HHmmss"}],getPattern:function(i,e,t){var o=e.indexOf("/");return o>0?i.getCombinedDateTimePattern(e.substr(0,o),e.substr(o+1),t):i.getCombinedDateTimePattern(e,e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["year","month","week","day","hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date","DayPeriod","Hours","Minutes","Seconds"]};_e._getDateTimeWithTimezoneInfo=function(i){var e=i.showDate===void 0||i.showDate,t=i.showTime===void 0||i.showTime,o=i.showTimezone===void 0||i.showTimezone,r=_e.oDateTimeInfo;return e&&!t?r=_e.oDateInfo:!e&&t&&(r=_e.oTimeInfo),Object.assign({},r,{type:xo.DATETIME_WITH_TIMEZONE,getTimezonePattern:function(n){return!e&&!t&&o?"VV":o?n+" VV":n},getPattern:function(n,s,l){if(!e&&!t&&o)return"VV";if(!o)return r.getPattern(n,s,l);var I=r.getPattern(n,s,l);return n.applyTimezonePattern(I)}})};_e.oTimeInfo={type:xo.TIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"HH:mm:ss"},{pattern:"HHmmss"}],getPattern:function(i,e,t){return i.getTimePattern(e,t)},oRequiredParts:{text:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["DayPeriod","Hours","Minutes","Seconds"]};_e.getInstance=function(i,e){return this.getDateInstance(i,e)};_e.getDateInstance=function(i,e){return this.createInstance(i,e,this.oDateInfo)};_e.getDateTimeInstance=function(i,e){return this.createInstance(i,e,this.oDateTimeInfo)};_e.getDateTimeWithTimezoneInstance=function(i,e){if(i&&!(i instanceof xl)&&(function(){if(i=Object.assign({},i),typeof i.showTimezone=="string"){var t=i.showTimezone;i.showDate===void 0&&i.showTime===void 0&&(t==="Hide"?i.showTimezone=!1:t==="Only"&&(i.showDate=!1,i.showTime=!1)),i.showTimezone=t!=="Hide"}}(),i.showDate===!1&&i.showTime===!1&&i.showTimezone===!1))throw new TypeError("Invalid Configuration. One of the following format options must be true: showDate, showTime or showTimezone.");return this.createInstance(i,e,_e._getDateTimeWithTimezoneInfo(i||{}))};_e.getTimeInstance=function(i,e){return this.createInstance(i,e,this.oTimeInfo)};_e.createInstance=function(i,e,t,o){var r,n,s;if(n=Object.create(this.prototype),i instanceof xl&&(e=i,i=void 0),e||(e=gt.getFormatSettings().getFormatLocale()),n.oLocale=e,n.oLocaleData=xt.getInstance(e),n.oFormatOptions=Il({},t.oDefaultFormatOptions,i),t.type===xo.DATETIME_WITH_TIMEZONE?(n.oFormatOptions.interval=!1,n.oFormatOptions.singleIntervalValue=!1,n.oFormatOptions.UTC=!1):(n.oFormatOptions.showTimezone=void 0,n.oFormatOptions.showDate=void 0,n.oFormatOptions.showTime=void 0),n.type=t.type,n.oFormatOptions.calendarType||(n.oFormatOptions.calendarType=gt.getCalendarType()),n.oFormatOptions.firstDayOfWeek===void 0&&n.oFormatOptions.minimalDaysInFirstWeek!==void 0||n.oFormatOptions.firstDayOfWeek!==void 0&&n.oFormatOptions.minimalDaysInFirstWeek===void 0)throw new TypeError("Format options firstDayOfWeek and minimalDaysInFirstWeek need both to be set, but only one was provided.");if(n.oFormatOptions.calendarWeekNumbering&&!Object.values(Tt).includes(n.oFormatOptions.calendarWeekNumbering))throw new TypeError("Illegal format option calendarWeekNumbering: '"+n.oFormatOptions.calendarWeekNumbering+"'");if(n.oFormatOptions.pattern||(n.oFormatOptions.format?n.oFormatOptions.pattern=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType):n.oFormatOptions.pattern=t.getPattern(n.oLocaleData,n.oFormatOptions.style,n.oFormatOptions.calendarType)),n.oFormatOptions.interval){var l,I=n.oFormatOptions.intervalDelimiter;n.oFormatOptions.format?(n.intervalPatterns=n.oLocaleData.getCustomIntervalPattern(n.oFormatOptions.format,null,n.oFormatOptions.calendarType),typeof n.intervalPatterns=="string"&&(n.intervalPatterns=[n.intervalPatterns]),l=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType),n.intervalPatterns.push(l)):(l=n.oFormatOptions.pattern,n.intervalPatterns=[n.oLocaleData.getCombinedIntervalPattern(n.oFormatOptions.pattern,n.oFormatOptions.calendarType),n.oFormatOptions.pattern]),n.intervalPatterns.push(n.oFormatOptions.pattern+" - "+n.oFormatOptions.pattern),I&&(I=I.replace(/'/g,"''"),I="'"+I+"'",n.intervalPatterns.unshift(l+I+l)),n.intervalPatterns=Array.from(new Set(n.intervalPatterns))}return o||(r=t.aFallbackFormatOptions,t.bShortFallbackFormatOptions&&(s=t.getPattern(n.oLocaleData,"short"),r=r.concat(_e._createFallbackOptionsWithoutDelimiter(s))),n.oFormatOptions.pattern&&t.bPatternFallbackWithoutDelimiter&&(r=_e._createFallbackOptionsWithoutDelimiter(n.oFormatOptions.pattern).concat(r)),r=r.reduce(function(y,C){var b=Object.keys(C),v=y.some(function(g){return Object.keys(g).length===b.length&&b.every(function(p){return g[p]===C[p]})});return v||y.push(C),y},[]),n.aFallbackFormats=_e._createFallbackFormat(r,n.oFormatOptions.calendarType,e,t,n.oFormatOptions)),n.oRequiredParts=t.oRequiredParts,n.aRelativeScales=t.aRelativeScales,n.aRelativeParseScales=t.aRelativeParseScales,n.aIntervalCompareFields=t.aIntervalCompareFields,n.init(),n};_e.prototype.init=function(){var i=this.oFormatOptions.calendarType;this.aMonthsAbbrev=this.oLocaleData._getMonthsWithAlternatives("abbreviated",i),this.aMonthsWide=this.oLocaleData.getMonths("wide",i),this.aMonthsNarrow=this.oLocaleData.getMonths("narrow",i),this.aMonthsAbbrevSt=this.oLocaleData._getMonthsStandAloneWithAlternatives("abbreviated",i),this.aMonthsWideSt=this.oLocaleData.getMonthsStandAlone("wide",i),this.aMonthsNarrowSt=this.oLocaleData.getMonthsStandAlone("narrow",i),this.aDaysAbbrev=this.oLocaleData.getDays("abbreviated",i),this.aDaysWide=this.oLocaleData.getDays("wide",i),this.aDaysNarrow=this.oLocaleData.getDays("narrow",i),this.aDaysShort=this.oLocaleData.getDays("short",i),this.aDaysAbbrevSt=this.oLocaleData.getDaysStandAlone("abbreviated",i),this.aDaysWideSt=this.oLocaleData.getDaysStandAlone("wide",i),this.aDaysNarrowSt=this.oLocaleData.getDaysStandAlone("narrow",i),this.aDaysShortSt=this.oLocaleData.getDaysStandAlone("short",i),this.aQuartersAbbrev=this.oLocaleData.getQuarters("abbreviated",i),this.aQuartersWide=this.oLocaleData.getQuarters("wide",i),this.aQuartersNarrow=this.oLocaleData.getQuarters("narrow",i),this.aQuartersAbbrevSt=this.oLocaleData.getQuartersStandAlone("abbreviated",i),this.aQuartersWideSt=this.oLocaleData.getQuartersStandAlone("wide",i),this.aQuartersNarrowSt=this.oLocaleData.getQuartersStandAlone("narrow",i),this.aErasNarrow=this.oLocaleData.getEras("narrow",i),this.aErasAbbrev=this.oLocaleData.getEras("abbreviated",i),this.aErasWide=this.oLocaleData.getEras("wide",i),this.aDayPeriodsAbbrev=this.oLocaleData.getDayPeriods("abbreviated",i),this.aDayPeriodsNarrow=this.oLocaleData.getDayPeriods("narrow",i),this.aDayPeriodsWide=this.oLocaleData.getDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrev=this.oLocaleData.getFlexibleDayPeriods("abbreviated",i),this.oFlexibleDayPeriodsNarrow=this.oLocaleData.getFlexibleDayPeriods("narrow",i),this.oFlexibleDayPeriodsWide=this.oLocaleData.getFlexibleDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrevSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("abbreviated",i),this.oFlexibleDayPeriodsNarrowSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("narrow",i),this.oFlexibleDayPeriodsWideSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("wide",i),this.aFormatArray=this.parseCldrDatePattern(this.oFormatOptions.pattern),this.sAllowedCharacters=this.getAllowedCharacters(this.aFormatArray)};_e._createFallbackFormat=function(i,e,t,o,r){return i.map(function(n){var s=Object.assign({},n);return s.showDate=r.showDate,s.showTime=r.showTime,s.showTimezone=r.showTimezone,typeof o.getTimezonePattern=="function"&&s.pattern&&(s.pattern=o.getTimezonePattern(s.pattern)),r.interval&&(s.interval=!0),s.calendarType=e,_e.createInstance(s,t,o,!0)})};_e._createFallbackOptionsWithoutDelimiter=function(i){var e=/[^dMyGU]/g,t={regex:/d+/g,replace:"dd"},o={regex:/M+/g,replace:"MM"},r={regex:/[yU]+/g,replace:["yyyy","yy"]};return i=i.replace(e,""),i=i.replace(t.regex,t.replace),i=i.replace(o.regex,o.replace),r.replace.map(function(n){return{pattern:i.replace(r.regex,n),strictParsing:!0}})};var Ee={isNumber:function(i){return i>=48&&i<=57},findNumbers:function(i,e){for(var t=0;t{(Array.isArray(n)?n:[n]).forEach(l=>{l.length>r&&this.startsWithIgnoreCase(i,l,t)&&(o=s,r=l.length)})}),{index:o,length:r}},parseTZ:function(i,e){var t=0,o=i.charAt(0)==="+"?-1:1,r;if(i[0]==="Z")return{length:1,tzDiff:0};t++,r=this.findNumbers(i.substr(t),2);var n=parseInt(r);t+=2,e&&t++,r=this.findNumbers(i.substr(t),2);var s=0;return r&&(t+=2,s=parseInt(r)),{length:t,tzDiff:(s+60*n)*60*o}},checkValid:function(i,e,t){return!(i in t.oRequiredParts&&e)}};_e._oParseHelper=Ee;_e._createPatternSymbol=function(i){var e=typeof i.isNumeric=="function"&&i.isNumeric||function(){return i.isNumeric||!1};return{name:i.name,format:i.format||function(){return""},parse:i.parse||function(){return{}},isNumeric:e}};_e.prototype.oSymbols={"":_e._createPatternSymbol({name:"text",format:function(i,e){return i.value},parse:function(i,e,t,o){var r,n=!0,s=0,l=0,I="-~‐‑‒–—﹘﹣-~";const y=_e._normalize(e.value);for(;l2&&(n=n.substr(n.length-2)),s!==Ue.Japanese&&i.digits===1&&r<100&&(n=n.padStart(4,"0")),n.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=Ee.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var I=parseInt(n);if(l!==Ue.Japanese&&n.length<=2){var y=we.getInstance($e.getInstance(),l),C=y.getUTCFullYear(),b=Math.floor(C/100),v=b*100+I-C;v<-70?I+=(b+1)*100:v<30?I+=b*100:I+=(b-1)*100}return{length:n.length,valid:Ee.checkValid(e.type,s,t),year:I}},isNumeric:!0}),Y:_e._createPatternSymbol({name:"weekYear",format:function(i,e,t,o){var r=e.getUTCWeek(o.oLocale,g_(o.oFormatOptions)),n=r.year,s=String(n),l=o.oFormatOptions.calendarType;return i.digits===2&&s.length>2&&(s=s.substr(s.length-2)),l!==Ue.Japanese&&i.digits===1&&n<100&&(s=s.padStart(4,"0")),s.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=Ee.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var I=parseInt(n),y=I;if(l!==Ue.Japanese&&n.length<=2){var C=we.getInstance($e.getInstance(),l),b=C.getUTCFullYear(),v=Math.floor(b/100),g=v*100+y-b;g<-70?y+=(v+1)*100:g<30?y+=v*100:y+=(v-1)*100}return{length:n.length,valid:Ee.checkValid(e.type,s,t),year:I,weekYear:y}},isNumeric:!0}),M:_e._createPatternSymbol({name:"month",format:function(i,e,t,o){var r=e.getUTCMonth();if(i.digits===3){const n=o.aMonthsAbbrev[r];return Array.isArray(n)?n[0]:n}else return i.digits===4?o.aMonthsWide[r]:i.digits>4?o.aMonthsNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=Ee.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=Ee.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var y=0;y4?o.aMonthsNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=Ee.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=Ee.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var y=0;y31||l<1)&&(s=!1),{day:l,length:r.length,valid:s}},isNumeric:!0}),Q:_e._createPatternSymbol({name:"quarter",format:function(i,e,t,o){var r=e.getUTCQuarter();return i.digits===3?o.aQuartersAbbrev[r]:i.digits===4?o.aQuartersWide[r]:i.digits>4?o.aQuartersNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=Ee.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var y=0;y4?o.aQuartersNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=Ee.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var y=0;y_e._normalize(g)),s&&(C=C.map(v)),l=Ee.findEntry(i,C,t.oLocaleData.sCLDRLocaleId),l.index!==-1)return{pm:l.index===1,length:s?y[0].length:l.length};return{valid:!1}}}),B:_e._createPatternSymbol({name:"flexibleDayPeriod",format:function(i,e,t,o){var r=o.aFormatArray.some(function(s){return"hHKk".includes(s.symbol)}),n=o.oLocaleData.getFlexibleDayPeriodOfTime(e.getUTCHours(),e.getUTCMinutes());return r?i.digits<=3?o.oFlexibleDayPeriodsAbbrev[n]:i.digits===4?o.oFlexibleDayPeriodsWide[n]:o.oFlexibleDayPeriodsNarrow[n]:i.digits<=3?o.oFlexibleDayPeriodsAbbrevSt[n]:i.digits===4?o.oFlexibleDayPeriodsWideSt[n]:o.oFlexibleDayPeriodsNarrowSt[n]},parse:function(i,e,t,o){var r,n,s,l=t.aFormatArray.some(function(y){return"hHKk".includes(y.symbol)}),I=[t.oFlexibleDayPeriodsWide,t.oFlexibleDayPeriodsAbbrev,t.oFlexibleDayPeriodsNarrow];if(l){for(r=0;r23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),k:_e._createPatternSymbol({name:"hour1_24",format:function(i,e){var t=e.getUTCHours(),o=t===0?"24":String(t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Ee.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,s,t);return n===24&&(n=0),o.strict&&n>23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),K:_e._createPatternSymbol({name:"hour0_11",format:function(i,e){var t=e.getUTCHours(),o=String(t>11?t-12:t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Ee.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,s,t);return o.strict&&n>11&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),h:_e._createPatternSymbol({name:"hour1_12",format:function(i,e){var t=e.getUTCHours(),o;return t>12?o=String(t-12):t===0?o="12":o=String(t),o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=o.dateValue.pm,n=Ee.findNumbers(i,Math.max(e.digits,2)),s=parseInt(n),l=n===""||o.exactLength&&n.length<2,I=Ee.checkValid(e.type,l,t);return s===12&&(s=0,r=r===void 0?!0:r),o.strict&&s>11&&(I=!1),{hour:s,length:n.length,pm:r,valid:I}},isNumeric:!0}),m:_e._createPatternSymbol({name:"minute",format:function(i,e){var t=e.getUTCMinutes();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Ee.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,s,t);return o.strict&&n>59&&(l=!1),{length:r.length,minute:n,valid:l}},isNumeric:!0}),s:_e._createPatternSymbol({name:"second",format:function(i,e){var t=e.getUTCSeconds();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Math.max(e.digits,2),n=Ee.findNumbers(i,r),s=n===""||o.exactLength&&n.length59&&(I=!1),{length:n.length,second:l,valid:I}},isNumeric:!0}),S:_e._createPatternSymbol({name:"fractionalsecond",format:function(i,e){var t=e.getUTCMilliseconds(),o=String(t),r=o.padStart(3,"0");return r=r.substr(0,i.digits),r=r.padEnd(i.digits,"0"),r},parse:function(i,e,t,o){var r=Ee.findNumbers(i,e.digits),n=r.length,s=o.exactLength&&n3&&e.getTimezoneLong&&e.getTimezoneLong())return e.getTimezoneLong();if(e.getTimezoneShort&&e.getTimezoneShort())return e.getTimezoneShort();var n=Ke.calculateOffset(e,r),s="GMT",l=Math.abs(n/60),I=n>0,y=Math.floor(l/60),C=Math.floor(l%60);return!t&&l!==0?(s+=I?"-":"+",s+=String(y).padStart(2,"0"),s+=":",s+=String(C).padStart(2,"0")):s+="Z",s},parse:function(i,e,t,o){var r=0,n,s=i.substring(0,3);if(s==="GMT"||s==="UTC")r=3;else if(i.substring(0,2)==="UT")r=2;else if(i.charAt(0)==="Z")r=1,n=0;else return{error:"cannot be parsed correctly by sap.ui.core.format.DateFormat: The given timezone is not supported!"};if(i.charAt(0)!=="Z"){var l=Ee.parseTZ(i.substr(r),!0);r+=l.length,n=l.tzDiff}return{length:r,tzDiff:n}}}),Z:_e._createPatternSymbol({name:"timezoneRFC822",format:function(i,e,t,o,r){var n=Ke.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,I=Math.floor(s/60),y=Math.floor(s%60),C="";return t||(C+=l?"-":"+",C+=String(I).padStart(2,"0"),C+=String(y).padStart(2,"0")),C},parse:function(i,e,t,o){return Ee.parseTZ(i,!1)}}),X:_e._createPatternSymbol({name:"timezoneISO8601",format:function(i,e,t,o,r){var n=Ke.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,I=Math.floor(s/60),y=Math.floor(s%60),C="";return!t&&s!==0?(C+=l?"-":"+",C+=String(I).padStart(2,"0"),(i.digits>1||y>0)&&((i.digits===3||i.digits===5)&&(C+=":"),C+=String(y).padStart(2,"0"))):C+="Z",C},parse:function(i,e,t,o){return i.charAt(0)==="Z"?{length:1,tzDiff:0}:Ee.parseTZ(i,e.digits===3||e.digits===5)}}),V:_e._createPatternSymbol({name:"timezoneID",format:function(i,e,t,o,r){return!t&&i.digits===2?o.oLocaleData.getTimezoneTranslations()[r]||r:""},parse:function(i,e,t,o,r){var n={timezone:"",length:0};if(e.digits===2){var s=t.oLocaleData.getTimezoneTranslations();if(i===s[r])return{timezone:r,length:i.length};var l=Object.values(s),I=Ee.findEntry(i,l,t.oLocaleData.sCLDRLocaleId);if(I.index!==-1)return{timezone:Object.keys(s)[I.index],length:I.length};for(var y="",C=i.length;C>0;C-=1)if(y=i.slice(0,C),Ke.isValidTimezone(y)){n.timezone=y,n.length=y.length;break}}return n}})};_e.prototype._format=function(i,e,t){if(this.oFormatOptions.relative){var o=this.formatRelative(i,e,this.oFormatOptions.relativeRange,t);if(o)return o}for(var r=this.oFormatOptions.calendarType,n=we.getInstance(i,r),s=[],l,I,y,C=0;Ce.getTime())}function w1(i){return i&&typeof i.getTime=="function"&&!isNaN(i.getTime())}_e.prototype.parse=function(i,e,t){var o=this.oFormatOptions.showDate===void 0||this.oFormatOptions.showDate,r=this.oFormatOptions.showTime===void 0||this.oFormatOptions.showTime;if(this.type===xo.DATETIME_WITH_TIMEZONE&&(o&&!r||!o&&r))throw new TypeError("The input can only be parsed back to date if both date and time are supplied.");var n;e===void 0&&this.type!==xo.DATETIME_WITH_TIMEZONE&&(e=this.oFormatOptions.UTC);var s=e;if(this.type===xo.DATETIME_WITH_TIMEZONE&&(n=e,e=!1,r6(n),n&&!Ke.isValidTimezone(n)))return mt.error("The given timezone isn't valid."),null;i=i==null?"":String(i).trim(),i=_e._normalize(i);var l,I=this.oFormatOptions.calendarType;if(n=n||gt.getTimezone(),t===void 0&&(t=this.oFormatOptions.strictParsing),I===Ue.Japanese&&this.oLocale.getLanguage()==="ja"&&(i=i.replace(/元年/g,"1年")),this.oFormatOptions.interval){var b=this._parseInterval(i,I,e,t,n),v,g;if(b&&b.length===2){var p=a0(b[0],b[1]),d=a0(b[1],b[0]);if(v=Jh(p,I,e,t,n,this.oFormatOptions,this.oLocale),g=Jh(d,I,e,t,n,this.oFormatOptions,this.oLocale),v&&g){if(this.oFormatOptions.singleIntervalValue&&v.getTime()===g.getTime())return[v,null];var c=nN(v,g);return t&&!c?(mt.error("StrictParsing: Invalid date range. The given end date is before the start date."),[null,null]):[v,g]}}}else{var y=this.parseRelative(i,e);if(y)return y;if(l=this._parse(i,this.aFormatArray,e,t,n),(l.index===0||l.indext[1])?null:(l=this.oLocaleData.getRelativePattern(y,n,s>0,this.oFormatOptions.relativeStyle),oN(l,[Math.abs(n)]))};_e.prototype._mRanges={second:[-60,60],minute:[-60,60],hour:[-24,24],day:[-6,6],week:[-4,4],month:[-12,12],year:[-10,10]};_e.prototype._mScales={second:1,minute:60,hour:3600,day:86400,week:604800,month:2592e3,quarter:7776e3,year:31536e3};_e.prototype._getScale=function(i,e){var t,o;i=Math.abs(i);for(var r=0;r=this._mScales[o]){t=o;break}return t||(t=e[e.length-1]),t};function aN(i,e,t,o){var r=Math.abs(i.getUTCMonth()-e.getUTCMonth());if(t==="week"&&r===2)return"month";if(t==="week"&&r===1){if(i.getUTCDate()===e.getUTCDate()||o<0&&i.getUTCDate()0&&i.getUTCDate()>e.getUTCDate())return"month"}else if(t==="month"&&r===1&&(o>0&&i.getUTCDate()e.getUTCDate()))return"week";return t}function Xr(i,e){for(var t,o=["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],r=new Date(i.getTime()),n=e;ne.valueOf()}isSameOrBefore(e){return Sc(e),this.valueOf()<=e.valueOf()}isSameOrAfter(e){return Sc(e),this.valueOf()>=e.valueOf()}isSame(e){return Sc(e),this.valueOf()===e.valueOf()}toLocalJSDate(){const e=Ln.getInstance(this._oUDate.getTime());return e.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),e.setHours(0,0,0,0),e}toUTCJSDate(){const e=Ln.getInstance(this._oUDate.getTime());return e.setUTCHours(0,0,0,0),e}toString(){return`${this._oUDate.sCalendarType}: ${this.getYear()}/${this.getMonth()+1}/${this.getDate()}`}valueOf(){return this._oUDate.getTime()}static fromLocalJSDate(e,t){function o(r){return r&&Object.prototype.toString.call(r)==="[object Date]"&&!isNaN(r)}if(!o(e))throw new Error(`Date parameter must be a JavaScript Date object: [${e}].`);return new Hd(e.getFullYear(),e.getMonth(),e.getDate(),t)}static fromTimestamp(e,t){const o=new Hd(0,0,1);let r;try{r=xa.getInstance(Ln.getInstance(e),t)}catch{r=new Date(NaN)}return o._oUDate=r,o}};function s0(i,e){return e?xa.getInstance(l0(i),e):new xa(l0(i).getTime())}function l0(i){const e=new Date(Date.UTC(0,0,1));return e.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),e}function Sc(i){if(!(i instanceof Oe))throw new Error(`Invalid calendar date: [${i}]. Expected: CalendarDate`)}function ds(i,e){if(i===void 0||i===1/0||isNaN(i))throw e}const bu=(i,e,t,o=!0,r,n)=>{const s=new Oe(i);switch(t){case"day":s.setDate(i.getDate()+e);break;case"month":if(o){s.setMonth(i.getMonth()+e);const l=e===-1&&s.getMonth()===i.getMonth(),I=e===1&&s.getMonth()-i.getMonth()>1;(l||I)&&s.setDate(0)}else e===1&&s.setMonth(s.getMonth()+1,1),e===-1&&s.setDate(0);break;case"year":s.setYear(i.getYear()+e),s.getMonth()!==i.getMonth()&&s.setDate(0);break}return r&&s.isBefore(r)?new Oe(r):n&&s.isAfter(n)?new Oe(n):s},_N=i=>(i||(i=new Date().getTime()),(i-i%(24*60*60*1e3))/1e3),Ov=i=>Oe.fromLocalJSDate(Ln.getInstance(),i).valueOf()/1e3;var T1;(function(i){i.DAY_MONTH_YEAR="DAY_MONTH_YEAR",i.MONTH_YEAR="MONTH_YEAR",i.YEAR="YEAR"})(T1||(T1={}));const Xo=T1,hN="appointment-2",n6="M32 481V65q0-14 9.5-23T64 33h64V1h32v32h192V1h32v32h64q14 0 23 9t9 23v416q0 14-9 23t-23 9H64q-13 0-22.5-9T32 481zm416 0V129H64v352h384zM256 193q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM128 321q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm256-128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm0 128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm-128 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM96 225q0-14 9-23t23-9 23 9 9 23-9 23-23 9-23-9-9-23zM384 97V65h-32v32h32zM128 65v32h32V65h-32z",pN=!1,fN="SAP-icons-v4",vN="@ui5/webcomponents-icons";ee(hN,{pathData:n6,ltr:pN,collection:fN,packageName:vN});const mN="appointment-2",a6="M403 64q32 0 54.5 22.5T480 141v294q0 32-22.5 54.5T403 512H109q-32 0-54.5-22.5T32 435V141q0-32 22.5-54.5T109 64h25V26q0-11 7.5-18.5T160 0t18.5 7.5T186 26v38h140V26q0-11 7.5-18.5T352 0t18.5 7.5T378 26v38h25zm-294 51q-11 0-18.5 7.5T83 141v64h346v-64q0-11-7.5-18.5T403 115h-25v19q0 11-7.5 18.5T352 160t-18.5-7.5T326 134v-19H186v19q0 11-7.5 18.5T160 160t-18.5-7.5T134 134v-19h-25zm294 346q11 0 18.5-7.5T429 435V256H83v179q0 11 7.5 18.5T109 461h294zM160 320q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9z",gN=!1,bN="SAP-icons-v5",yN="@ui5/webcomponents-icons";ee(mN,{pathData:a6,ltr:gN,collection:bN,packageName:yN});Se();const ep=new Map,kr=i=>(ep.has(i)||ep.set(i,new zw(i)),ep.get(i)),kl=new Map,wN=i=>{const e=`min ${i}`;if(!kl.has(e)){const t=new Oe(1,0,1,i);t.setYear(1),t.setMonth(0),t.setDate(1),kl.set(e,t)}return kl.get(e)},s6=i=>{const e=`max ${i}`;if(!kl.has(e)){const t=new Oe(1,0,1,i);t.setYear(9999),t.setMonth(11);const o=new Oe(t,i);o.setDate(1),o.setMonth(o.getMonth()+1,0),t.setDate(o.getDate()),kl.set(e,t)}return kl.get(e)};var vc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},C1;let Ha=C1=class extends ie{constructor(){super()}get _primaryCalendarType(){const e=kr(je());return this.primaryCalendarType||hw()||e.getPreferredCalendarType()}get _secondaryCalendarType(){return this.secondaryCalendarType||Hk()}get _minDate(){let e;return this.minDate&&(e=this._getMinMaxCalendarDateFromString(this.minDate)),e||wN(this._primaryCalendarType)}get _maxDate(){let e;return this.maxDate&&(e=this._getMinMaxCalendarDateFromString(this.maxDate)),e||s6(this._primaryCalendarType)}get _formatPattern(){return this.formatPattern||"medium"}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}_getMinMaxCalendarDateFromString(e){if(this.getFormat().parse(e))return this._getCalendarDateFromString(e);const t=this.getISOFormat().parse(e);if(t)return Oe.fromLocalJSDate(t,this._primaryCalendarType)}_getCalendarDateFromString(e){const t=this.getFormat().parse(e);if(t)return Oe.fromLocalJSDate(t,this._primaryCalendarType)}_getTimeStampFromString(e){const t=this._getCalendarDateFromString(e);if(t)return t.toUTCJSDate().valueOf()}_getStringFromTimestamp(e){const t=new Date(e);return this.getFormat().format(t,!0)}getFormat(){return this._isPattern?to.getDateInstance({strictParsing:!0,pattern:this._formatPattern,calendarType:this._primaryCalendarType}):to.getDateInstance({strictParsing:!0,style:this._formatPattern,calendarType:this._primaryCalendarType})}getISOFormat(){return this._isoFormatInstance||(this._isoFormatInstance=to.getDateInstance({strictParsing:!0,pattern:"YYYY-MM-dd",calendarType:this._primaryCalendarType})),this._isoFormatInstance}static async onDefine(){[C1.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),ec(je().getLanguage(),je().getRegion(),je().getScript())])}};vc([A({type:cn})],Ha.prototype,"primaryCalendarType",void 0);vc([A({type:cn})],Ha.prototype,"secondaryCalendarType",void 0);vc([A()],Ha.prototype,"formatPattern",void 0);vc([A()],Ha.prototype,"minDate",void 0);vc([A()],Ha.prototype,"maxDate",void 0);Ha=C1=vc([K({languageAware:!0,renderer:de})],Ha);const l6=Ha,TN=i=>{const e=new Oe(i);return e.setDate(1),e.setMonth(e.getMonth()+1),e.setDate(0),e.getDate()},eu=(i,e,t,o)=>{let r=Oe.fromLocalJSDate(Ln.getInstance(t*1e3),i),n=Oe.fromLocalJSDate(Ln.getInstance(t*1e3),i);return r.setDate(1),o&&(r.setMonth(0),n.setMonth(11)),n.setDate(TN(n)),r=new Oe(r,e),n=new Oe(n,e),{firstDate:r,lastDate:n}},c6=(i,e,t)=>{const o=kr(je()),r=o.getIntervalPattern(""),n=o.getMonthsStandAlone("abbreviated",t),s=o.getMonthsStandAlone("wide",t);return i===e?{text:o.getMonths("abbreviated",t)[i],textInfo:o.getMonths("wide",t)[i]}:{text:r.replace(/\{0\}/,n[i]).replace(/\{1\}/,n[e]),textInfo:r.replace(/\{0\}/,s[i]).replace(/\{1\}/,s[e])}};var u6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let yu=class extends ie{};u6([A()],yu.prototype,"value",void 0);yu=u6([K("ui5-date")],yu);yu.define();const Bv=yu;var d6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let b_=class extends l6{get _minTimestamp(){return this._minDate.valueOf()/1e3}get _maxTimestamp(){return this._maxDate.valueOf()/1e3}get _timestamp(){let e=this.timestamp!==void 0?this.timestamp:Ov(this._primaryCalendarType);return this._maxTimestamp&&this._maxTimestampe&&(e=this._minTimestamp),e}get _localDate(){return new Date(this._timestamp*1e3)}get _calendarDate(){return Oe.fromTimestamp(this._localDate.getTime(),this._primaryCalendarType)}_safelySetTimestamp(e){const t=this._minDate.valueOf()/1e3,o=this._maxDate.valueOf()/1e3;eo&&(e=o),this.timestamp=e}_safelyModifyTimestampBy(e,t,o){const r=bu(this._calendarDate,e,t,o);this._safelySetTimestamp(r.valueOf()/1e3)}_getTimestampFromDom(e){const t=e.getAttribute("data-sap-timestamp");return parseInt(t)}};d6([A({validator:ae})],b_.prototype,"timestamp",void 0);b_=d6([K()],b_);const J_=b_;function CN(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-left">
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?c0.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?u0.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-right">
    `:w`
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?c0.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?u0.call(this,i,e,t):void 0}
    `}function c0(i,e,t){return w`${a(this._secondMonthButtonText)}`}function u0(i,e,t){return w`${a(this._yearButtonTextSecType)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const IN={packageName:"@ui5/webcomponents",fileName:"themes/CalendarHeader.css.ts",content:`:host{display:block;width:100%;height:100%}.ui5-calheader-root{display:flex;height:100%;padding:var(--_ui5-v1-22-1-rc-0_calendar_header_padding);box-sizing:border-box}.ui5-calheader-arrowbtn{display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width);background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);cursor:pointer;overflow:hidden;white-space:nowrap;padding:0;font-size:var(--sapFontSize);user-select:none}.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:hover,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:active,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:focus,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled{opacity:.4;cursor:default;outline:none;background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor)}[hidden].ui5-calheader-arrowbtn.ui5-calheader-middlebtn{display:none}.ui5-calheader-arrowbtn:focus{outline:none}.ui5-calheader-arrowbtn:hover{background-color:var(--sapButton_Hover_Background);color:var(--sapButton_Lite_TextColor);box-shadow:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_box_shadow)}.ui5-calheader-arrowbtn:active{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor)}.ui5-calheader-arrowbtn,.ui5-calheader-middlebtn{border:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border_radius);display:flex;background-color:var(--sapButton_Lite_Background);border-color:var(--sapButton_Lite_BorderColor)}.ui5-calheader-middlebtn{flex-direction:column;align-items:center;justify-content:center}.ui5-calheader-arrowbtn:not(:active) .ui5-calheader-btn-sectext{color:var(--sapNeutralElementColor);font-size:var(--sapFontSmallSize)}.ui5-calheader-arrowicon{color:currentColor;pointer-events:none}.ui5-calheader-midcontainer{display:flex;justify-content:space-around;flex:1 1 auto;padding:0 .5rem}.ui5-calheader-midcontainer .ui5-calheader-middlebtn:first-child{margin-inline-end:.5rem}.ui5-calheader-middlebtn{font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_width);flex:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_flex);position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-calheader-middlebtn:focus{border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border_radius);outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_outline);outline-offset:-.125rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_background)}.ui5-calheader-middlebtn:focus:active{outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_outline);outline-offset:-.0625rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_background)}.ui5-calheader-middlebtn:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_display);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_width);height:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_height);border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_border);position:absolute;top:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_top_offset);left:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_left_offset)}.ui5-calheader-middlebtn:focus:active:after{border-color:var(--sapContent_ContrastFocusColor)} +`};var ur=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Oc;let Ui=Oc=class extends ie{static async onDefine(){Oc.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._prevButtonText=Oc.i18nBundle.getText(u8),this._nextButtonText=Oc.i18nBundle.getText(c8),this.hasSecondaryCalendarType&&(this._secondMonthButtonText=this.buttonTextForSecondaryCalendarType.monthButtonText,this._secondYearButtonText=this.buttonTextForSecondaryCalendarType.yearButtonText)}onPrevButtonClick(e){if(this.isPrevButtonDisabled){e.preventDefault();return}this.fireEvent("previous-press",e),e.preventDefault()}onNextButtonClick(e){if(this.isNextButtonDisabled){e.preventDefault();return}this.fireEvent("next-press",e),e.preventDefault()}onMonthButtonClick(e){this.fireEvent("show-month-press",e)}onMonthButtonKeyDown(e){le(e)&&e.preventDefault(),Ie(e)&&this.fireEvent("show-month-press",e)}onMonthButtonKeyUp(e){le(e)&&(e.preventDefault(),this.fireEvent("show-month-press",e))}onYearButtonClick(e){this.fireEvent("show-year-press",e)}onYearButtonKeyDown(e){le(e)&&e.preventDefault(),Ie(e)&&this.fireEvent("show-year-press",e)}onYearButtonKeyUp(e){le(e)&&(e.preventDefault(),this.fireEvent("show-year-press",e))}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}get classes(){return{prevButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isPrevButtonDisabled},nextButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isNextButtonDisabled}}}get accInfo(){return{ariaLabelMonthButton:this.hasSecondaryCalendarType?`${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.monthButtonInfo}`:`${this._monthButtonText}`}}};ur([A({validator:ae})],Ui.prototype,"timestamp",void 0);ur([A({type:cn})],Ui.prototype,"primaryCalendarType",void 0);ur([A({type:cn})],Ui.prototype,"secondaryCalendarType",void 0);ur([A({type:Object})],Ui.prototype,"buttonTextForSecondaryCalendarType",void 0);ur([A({type:Boolean})],Ui.prototype,"isNextButtonDisabled",void 0);ur([A({type:Boolean})],Ui.prototype,"isPrevButtonDisabled",void 0);ur([A({type:Boolean})],Ui.prototype,"isMonthButtonHidden",void 0);ur([A()],Ui.prototype,"_monthButtonText",void 0);ur([A()],Ui.prototype,"_yearButtonText",void 0);ur([A()],Ui.prototype,"_yearButtonTextSecType",void 0);ur([A({type:Boolean})],Ui.prototype,"isYearButtonHidden",void 0);Ui=Oc=ur([K({tag:"ui5-calendar-header",languageAware:!0,renderer:de,template:CN,styles:IN,dependencies:[Be]}),q("next-press"),q("previous-press"),q("show-month-press"),q("show-year-press")],Ui);Ui.define();const SN=Ui,kN=(i,e,t,o,r)=>{let n=0,s=0;const l=Number.isInteger(i)?i:r.getFirstDayOfWeek();if(o&&o.getLanguage()==="en"&&o.getRegion()==="US"){const I=new xa(e.getTime());I.setUTCFullYear(t,0,1),s=I.getUTCDay();const y=new xa(e.getTime());y.setUTCDate(y.getUTCDate()-y.getUTCDay()+s),n=Math.round((y.getTime()-I.getTime())/864e5/7)+1}else{const I=new xa(e.getTime());I.setUTCDate(I.getUTCDate()-l),s=I.getUTCDay(),I.setUTCDate(I.getUTCDate()-s+4);const y=new xa(I.getTime());y.setUTCMonth(0,1),s=y.getUTCDay();let C=0;s>4&&(C=7);const b=new xa(y.getTime());b.setUTCDate(1-s+4+C),n=Math.round((I.getTime()-b.getTime())/864e5/7)+1}return n};var I1;(function(i){i.Single="Single",i.Multiple="Multiple",i.Range="Range"})(I1||(I1={}));const Cr=I1;function EN(i,e,t){return w`
    ${X(this._dayNames,(o,r)=>o._id||r,(o,r)=>$N.call(this,i,e,t,o,r))}
    ${X(this._weeks,(o,r)=>o._id||r,(o,r)=>AN.call(this,i,e,t,o,r))}
    `}function $N(i,e,t,o,r){return w`
    ${a(o.ultraShortName)}
    `}function AN(i,e,t,o,r){return w`${o.length?xN.call(this,i,e,t,o,r):LN.call(this,i,e,t,o,r)}`}function xN(i,e,t,o,r){return w`
    ${X(o,(n,s)=>n._id||s,(n,s)=>DN.call(this,i,e,t,n,s))}
    `}function DN(i,e,t,o,r){return w`${o.timestamp?PN.call(this,i,e,t,o,r):BN.call(this,i,e,t,o,r)}`}function PN(i,e,t,o,r){return w`
    ${a(o.day)}${o._isSecondaryCalendarType?ON.call(this,i,e,t,o,r):void 0}
    `}function ON(i,e,t,o,r){return w`${a(o.secondDay)}`}function BN(i,e,t,o,r){return w`${o.isHidden?void 0:RN.call(this,i,e,t,o,r)}`}function RN(i,e,t,o,r){return w`
    ${a(o.weekNum)}
    `}function LN(i,e,t,o,r){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const NN={packageName:"@ui5/webcomponents",fileName:"themes/DayPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{height:100%;width:100%}:host([hide-week-numbers]) .ui5-dp-content{flex-basis:100%}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item{flex-direction:column;justify-content:var(--_ui5-v1-22-1-rc-0_day_picker_item_justify_content)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daytext{height:1.575rem;padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daysectext{font-size:.625rem;height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding:0 .375rem .375rem 50%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-item{width:var(--_ui5-v1-22-1-rc-0_day_picker_item_width);height:var(--_ui5-v1-22-1-rc-0_day_picker_item_height);margin-top:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);margin-right:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);font-family:"72override",var(--sapFontFamily);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-weekname{color:var(--_ui5-v1-22-1-rc-0_daypicker_weekname_color)}.ui5-dp-weeks-row{display:flex}.ui5-dp-content{display:flex;flex-basis:87.5%;flex-direction:column;font-family:"72override",var(--sapFontFamily)}.ui5-dp-days-names-container{display:flex;height:var(--_ui5-v1-22-1-rc-0_daypicker_daynames_container_height)}.ui5-dp-weeknumber-container{padding-top:var(--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top);flex-basis:12.5%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-weekname-container,.ui5-dp-item{display:flex;flex-grow:1;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);outline:none;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-dp-item{position:relative;color:var(--sapTextColor);background:var(--sapLegend_WorkingBackground);font-size:var(--sapFontSize);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item:hover{background:var(--sapList_Hover_Background)}.ui5-dp-daytext{display:flex;width:100%;height:100%;justify-content:center;align-items:center;box-sizing:border-box}.ui5-dp-dayname{color:var(--_ui5-v1-22-1-rc-0_daypicker_dayname_color);height:100%}.ui5-dp-item.ui5-dp-item--weeekend{background:var(--sapLegend_NonWorkingBackground)}.ui5-dp-item.ui5-dp-item--disabled{pointer-events:none;opacity:.5}.ui5-dp-item.ui5-dp-item--weeekend:hover{background:var(--sapList_Hover_Background);filter:var(--_ui5-v1-22-1-rc-0_daypicker_item_weeekend_filter)}.ui5-dp-item.ui5-dp-item--othermonth{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_color);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_background_color);border-color:transparent}.ui5-dp-item.ui5-dp-item--othermonth:hover,.ui5-dp-item.ui5-dp-item--weeekend.ui5-dp-item--othermonth:hover{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_hover_color);background:var(--sapList_Hover_Background)}.ui5-dp-item:focus:after{content:"";border:var(--_ui5-v1-22-1-rc-0_daypicker_item_not_selected_focus_border);position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_no_selected_inset);outline:none;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_focus_after)}.ui5-dp-item.ui5-dp-item--now:before{position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_not_selected_inset);border:.125rem solid var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_color);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected{box-shadow:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_box_shadow)}.ui5-dp-item.ui5-dp-item--selected{background:var(--sapContent_Selected_Background)}.ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{position:absolute;inset:0;border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_border);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_background);color:var(--sapContent_Selected_TextColor);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_border);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected:hover .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_daytext_hover_background);color:var(--sapContent_Selected_TextColor)}.ui5-dp-item.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_radius_focus_after);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_focus_after);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_radius_focus);border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_focus);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected:hover{background:var( --_ui5-v1-22-1-rc-0_daypicker_item_selected_hover);color:var(--sapContent_ContrastTextColor)}.ui5-dp-item.ui5-dp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_color);border-width:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_width)}.ui5-dp-items-container{outline:none}.ui5-dp-item.ui5-dp-item--selected-between .ui5-dp-daytext,.ui5-dp-item[hovered] .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_daypicker_item_select_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);background-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_background);color:var(--sapTextColor);font-weight:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_font)}.ui5-dp-item.ui5-dp-item--selected-between.ui5-dp-item--now:not(.ui5-dp-item--selected) .ui5-dp-daytext:after{content:"";position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_inset);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border_radius)}.ui5-dp-item.ui5-dp-item--selected-between,.ui5-dp-item[hovered]{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_border);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_background)}.ui5-dp-item.ui5-dp-item--selected-between:hover{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_hover_background)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--selected-between:focus:after{border-color:var(--sapContent_FocusColor)}.ui5-dp-items-container>:first-child{justify-content:flex-end}.ui5-dp-emptyweek{height:var(--_ui5-v1-22-1-rc-0_day_picker_empty_height)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype:focus:after{outline-offset:-.1875rem;border-radius:var(--_ui5-v1-22-1-rc-0-dp-item_withsecondtype_border)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now.ui5-dp-item--withsecondtype .ui5-dp-daysectext,.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext{border:none;outline:none}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{border-width:.125rem}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height);padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daysectext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding-top:0;border-radius:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_border_radios)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_focus_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_select_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:focus:after{border-width:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_width);inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext:not(.ui5-dp-daysectext):before{content:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_day_text_content);position:absolute;inset:.3125rem;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected__secondary_type_text_outline)} +`};var Qa=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Bc;const d0=(i,e,t)=>i>Math.min(e,t)&&ib.valueOf(),k=l.isSame(I),x=l.getDay()===t,E=m?`${n} `:"",$=k?`${s} `:"",P=v?v.getDate():"",O=v?v.getYear():"",B=r.length>0?r[v.getMonth()]:"",R=this.hasSecondaryCalendarType?`${$}${E}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}; ${B} ${P}, ${O}`:`${$}${E}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}`,L={timestamp:d.toString(),focusRef:_,_tabIndex:_?"0":"-1",selected:h,day:l.getDate(),secondDay:this.hasSecondaryCalendarType?v.getDate():void 0,_isSecondaryCalendarType:this.hasSecondaryCalendarType,classes:`ui5-dp-item ui5-dp-wday${c}`,ariaLabel:R,ariaSelected:h?"true":"false",ariaDisabled:u?"true":void 0,disabled:T};x&&(L.classes+=" ui5-dp-firstday"),h&&(L.classes+=" ui5-dp-item--selected"),f&&(L.classes+=" ui5-dp-item--selected-between"),k&&(L.classes+=" ui5-dp-item--now"),u&&(L.classes+=" ui5-dp-item--othermonth"),m&&(L.classes+=" ui5-dp-item--weeekend"),T&&(L.classes+=" ui5-dp-item--disabled"),this.hasSecondaryCalendarType&&(L.classes+=" ui5-dp-item--withsecondtype"),g.push(L),c===_s-1&&g.unshift({weekNum:kN(Ip(),l.toUTCJSDate(),l.getYear(),je(),e),isHidden:this.shouldHideWeekNumbers}),g.length===_s+1&&(this._weeks.push(g),g=[]),l.setDate(l.getDate()+1),this.hasSecondaryCalendarType&&v&&v.setDate(v.getDate()+1)}}_buildDayNames(e){if(this._hidden)return;let t;const o=e.getDays("wide",this._primaryCalendarType);let r=e.getDays("abbreviated",this._primaryCalendarType),n;this.namesTooLong(r)&&(r=e.getDays("narrow",this._primaryCalendarType)),this._dayNames=[],this._dayNames.push({classes:"ui5-dp-dayname",name:Bc.i18nBundle.getText(d8)});for(let s=0;s<_s;s++)t=s+this._getFirstDayOfWeek(),t>_s-1&&(t-=_s),n={name:o[t],ultraShortName:r[t],classes:"ui5-dp-dayname"},this._dayNames.push(n);this._dayNames[1].classes+=" ui5-dp-firstday",this.shouldHideWeekNumbers&&this._dayNames.shift()}namesTooLong(e){return e.some(t=>t.length>3)}onAfterRendering(){this._autoFocus&&!this._hidden&&this.focus();const e=this.shadowRoot.querySelector("[data-sap-focus-ref]");e&&document.activeElement!==e&&e.focus()}_onfocusin(){this._autoFocus=!0}_onfocusout(){this._autoFocus=!1}_isDaySelected(e){return this.selectionMode===Cr.Single?e===this.selectedDates[0]:this.selectedDates.includes(e)}_isDayInsideSelectionRange(e){return this.selectionMode!==Cr.Range||!this.selectedDates.length?!1:this.selectedDates.length===1&&this._secondTimestamp?d0(e,this.selectedDates[0],this._secondTimestamp):d0(e,this.selectedDates[0],this.selectedDates[1])}_selectDate(e,t){const o=e.target;if(!this._isDayPressed(o))return;const r=this._getTimestampFromDom(o);this._safelySetTimestamp(r),this._updateSecondTimestamp(),this.selectionMode===Cr.Single?this.selectedDates=[r]:this.selectionMode===Cr.Multiple?this.selectedDates.length>0&&t?this._multipleSelection(r):this._toggleTimestampInSelection(r):this.selectedDates=this.selectedDates.length===1?[...this.selectedDates,r]:[r],this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_selectWeek(){this._weeks.forEach(e=>{const t=e;t.findIndex(r=>{const n=Oe.fromTimestamp(parseInt(r.timestamp)*1e3);return n.getMonth()===this._calendarDate.getMonth()&&n.getDate()===this._calendarDate.getDate()})!==-1&&(t.some(n=>n.timestamp&&!this.selectedDates.includes(parseInt(n.timestamp)))?t.filter(n=>n.timestamp).forEach(n=>{this._addTimestampToSelection(parseInt(n.timestamp))}):t.filter(n=>n.timestamp).forEach(n=>{this._removeTimestampFromSelection(parseInt(n.timestamp))}))}),this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_toggleTimestampInSelection(e){this.selectedDates.includes(e)?this._removeTimestampFromSelection(e):this._addTimestampToSelection(e)}_addTimestampToSelection(e){this.selectedDates.includes(e)||(this.selectedDates=[...this.selectedDates,e])}_removeTimestampFromSelection(e){this.selectedDates=this.selectedDates.filter(t=>t!==e)}_multipleSelection(e){const t=Math.min(...this.selectedDates),o=Math.max(...this.selectedDates);let r,n,s=!1;if(e=t&&e<=o){const y=Math.abs(e-t),C=Math.abs(e-o);y{const o=t;if(o.findIndex(n=>{const s=Oe.fromTimestamp(parseInt(n.timestamp)*1e3);return s.getMonth()===this._calendarDate.getMonth()&&s.getDate()===this._calendarDate.getDate()})!==-1){const n=e?1:7;this._setTimestamp(parseInt(o[n].timestamp))}})}_hasPreviousPage(){return!(this._calendarDate.getMonth()===this._minDate.getMonth()&&this._calendarDate.getYear()===this._minDate.getYear())}_hasNextPage(){return!(this._calendarDate.getMonth()===this._maxDate.getMonth()&&this._calendarDate.getYear()===this._maxDate.getYear())}_showPreviousPage(){this._modifyTimestampBy(-1,"month",!1)}_showNextPage(){this._modifyTimestampBy(1,"month",!1)}_modifyTimestampBy(e,t,o){this._safelyModifyTimestampBy(e,t,o),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_setTimestamp(e){this._safelySetTimestamp(e),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_updateSecondTimestamp(){this.selectionMode===Cr.Range&&(this.selectedDates.length===1||this.selectedDates.length===2)&&(this._secondTimestamp=this.timestamp)}get shouldHideWeekNumbers(){return this._primaryCalendarType!==cn.Gregorian?!0:this.hideWeekNumbers}get classes(){return{root:{"ui5-dp-root":!0,"ui5-dp-twocalendartypes":this.hasSecondaryCalendarType}}}_isWeekend(e){const t=kr(je()),o=e.getDay(),r=t.getWeekendStart(),n=t.getWeekendEnd();return o>=r&&o<=n||n=r||o<=n)}_isDayPressed(e){const t=e.parentNode;return e.className.indexOf("ui5-dp-item")>-1||t&&t.classList&&t.classList.contains("ui5-dp-item")}_getSecondaryDay(e){return new Oe(e,this.secondaryCalendarType)}_getFirstDay(){let e;const t=this._getFirstDayOfWeek(),o=new Oe(this._calendarDate,this._primaryCalendarType);return o.setDate(1),e=o.getDay()-t,e<0&&(e=7+e),e>0&&o.setDate(1-e),o}_getFirstDayOfWeek(){const e=kr(je()),t=Ip();return Number.isInteger(t)?t:e.getFirstDayOfWeek()}get styles(){return{wrapper:{display:this._hidden?"none":"flex","justify-content":"center"},main:{width:"100%"}}}get ariaRoledescription(){return this.hasSecondaryCalendarType?`${this._primaryCalendarType} calendar with secondary ${this.secondaryCalendarType} calendar`:`${this._primaryCalendarType} calendar`}};Qa([A({validator:ae,multiple:!0,compareValues:!0})],Dr.prototype,"selectedDates",void 0);Qa([A({type:Cr,defaultValue:Cr.Single})],Dr.prototype,"selectionMode",void 0);Qa([A({type:Boolean})],Dr.prototype,"hideWeekNumbers",void 0);Qa([A({type:Object,multiple:!0})],Dr.prototype,"_weeks",void 0);Qa([A({type:Object,multiple:!0})],Dr.prototype,"_dayNames",void 0);Qa([A({type:Boolean,noAttribute:!0})],Dr.prototype,"_hidden",void 0);Qa([A()],Dr.prototype,"_secondTimestamp",void 0);Dr=Bc=Qa([K({tag:"ui5-daypicker",styles:NN,template:EN}),q("change"),q("navigate")],Dr);Dr.define();const MN=Dr;function FN(i,e,t){return w`
    ${X(this._months,(o,r)=>o._id||r,(o,r)=>VN.call(this,i,e,t,o,r))}
    `}function VN(i,e,t,o,r){return w`
    ${X(o,(n,s)=>n._id||s,(n,s)=>zN.call(this,i,e,t,n,s))}
    `}function zN(i,e,t,o,r){return w`
    ${a(o.name)}${o.nameInSecType?HN.call(this,i,e,t,o,r):void 0}
    `}function HN(i,e,t,o,r){return w`${a(o.nameInSecType)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const UN={packageName:"@ui5/webcomponents",fileName:"themes/MonthPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-mp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-mp-item{display:flex;flex-direction:column;width:calc(33.333% - .125rem);height:var(--_ui5-v1-22-1-rc-0_month_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;margin:var(--_ui5-v1-22-1-rc-0_monthpicker_item_margin);box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border_radius)}.ui5-dp-monthsectext{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-mp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-mp-item.ui5-mp-item--selected,.ui5-mp-item.ui5-mp-item--selected .ui5-dp-monthsectext{box-shadow:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_box_shadow);font-weight:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_font_wieght);background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_text_color)}.ui5-mp-item.ui5-mp-item--disabled{pointer-events:none;opacity:.5}.ui5-mp-item.ui5-mp-item--selected:focus{background-color:var(--sapContent_Selected_Background)}.ui5-mp-item.ui5-mp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border)}.ui5-mp-item.ui5-mp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_hover_color)}.ui5-mp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_button_focused_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border_radius)}.ui5-mp-quarter{display:flex;justify-content:center;align-items:center;width:100%} +`};var eh=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ud;const kc=12,ll=3;let qs=Ud=class extends J_{static async onDefine(){Ud.i18nBundle=await fe("@ui5/webcomponents")}get roleDescription(){return Ud.i18nBundle.getText(p8)}onBeforeRendering(){this._buildMonths()}onAfterRendering(){this._hidden||this.focus()}_buildMonths(){if(this._hidden)return;const t=kr(je()).getMonthsStandAlone("wide",this._primaryCalendarType),o=[],r=this._calendarDate,n=this._minDate,s=this._maxDate,l=new Oe(r,this._primaryCalendarType);let I;for(let y=0;y<12;y++){l.setMonth(y),I=l.valueOf()/1e3;const C=this.selectedDates.some(d=>{const c=Oe.fromTimestamp(d*1e3,this._primaryCalendarType);return c.getYear()===l.getYear()&&c.getMonth()===l.getMonth()}),b=l.getMonth()===r.getMonth(),v=this._isOutOfSelectableRange(l,n,s),g={timestamp:I.toString(),focusRef:b,_tabIndex:b?"0":"-1",selected:C,ariaSelected:C?"true":"false",name:t[y],nameInSecType:this.hasSecondaryCalendarType&&this._getDisplayedSecondaryMonthText(I).text,disabled:v,classes:"ui5-mp-item"};C&&(g.classes+=" ui5-mp-item--selected"),v&&(g.classes+=" ui5-mp-item--disabled");const p=Math.floor(y/ll);o[p]?o[p].push(g):o[p]=[g]}this._months=o}_getDisplayedSecondaryMonthText(e){const t=eu(this._primaryCalendarType,this.secondaryCalendarType,e);return c6(t.firstDate.getMonth(),t.lastDate.getMonth(),this.secondaryCalendarType)}_onkeydown(e){let t=!0;Ie(e)?this._selectMonth(e):le(e)?e.preventDefault():Ct(e)?this._modifyTimestampBy(-1):_t(e)?this._modifyTimestampBy(1):Xe(e)?this._modifyTimestampBy(-ll):qe(e)?this._modifyTimestampBy(ll):Li(e)?this._modifyTimestampBy(-kc):eo(e)?this._modifyTimestampBy(kc):Wt(e)||ki(e)?this._onHomeOrEnd(Wt(e)):tc(e)?this._setTimestamp(parseInt(this._months[0][0].timestamp)):Ns(e)?this._setTimestamp(parseInt(this._months[kc/ll-1][ll-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._months.forEach(t=>{if(t.findIndex(r=>Oe.fromTimestamp(parseInt(r.timestamp)*1e3).getMonth()===this._calendarDate.getMonth())!==-1){const r=e?0:ll-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e,t){this._safelyModifyTimestampBy(e,"month",t),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){le(e)&&this._selectMonth(e)}_selectMonth(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-mp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._calendarDate.getYear()!==this._minDate.getYear()}_hasNextPage(){return this._calendarDate.getYear()!==this._maxDate.getYear()}_showPreviousPage(){this._modifyTimestampBy(-kc,!0)}_showNextPage(){this._modifyTimestampBy(kc,!0)}_isOutOfSelectableRange(e,t,o){const r=e.getMonth(),n=e.getYear(),s=t.getYear(),l=t.getMonth(),I=o.getYear(),y=o.getMonth();return nI||n===I&&r>y}};eh([A({validator:ae,multiple:!0,compareValues:!0})],qs.prototype,"selectedDates",void 0);eh([A({type:Object,multiple:!0})],qs.prototype,"_months",void 0);eh([A({type:Boolean,noAttribute:!0})],qs.prototype,"_hidden",void 0);qs=Ud=eh([K({tag:"ui5-monthpicker",template:FN,styles:UN}),q("change"),q("navigate")],qs);qs.define();const qN=qs;function WN(i,e,t){return w`
    ${X(this._years,(o,r)=>o._id||r,(o,r)=>jN.call(this,i,e,t,o,r))}
    `}function jN(i,e,t,o,r){return w`
    ${X(o,(n,s)=>n._id||s,(n,s)=>GN.call(this,i,e,t,n,s))}
    `}function GN(i,e,t,o,r){return w`
    ${a(o.year)}${o.yearInSecType?YN.call(this,i,e,t,o,r):void 0}
    `}function YN(i,e,t,o,r){return w`${a(o.yearInSecType)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const XN={packageName:"@ui5/webcomponents",fileName:"themes/YearPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-yp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-yp-interval-container{display:flex;justify-content:center;align-items:center;width:100%}.ui5-yp-item{display:flex;margin:var(--_ui5-v1-22-1-rc-0_yearpicker_item_margin);width:calc(25% - .125rem);height:var(--_ui5-v1-22-1-rc-0_year_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border_radius)}.ui5-yp-item-secondary-type{flex-direction:column;width:calc(50% - .125rem)}.ui5-yp-item-sec-type{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-yp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-yp-item.ui5-yp-item--selected,.ui5-yp-item.ui5-yp-item--selected .ui5-yp-item-sec-type{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_text_color);box-shadow:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_box_shadow);font-weight:700}.ui5-yp-item.ui5-yp-item--disabled{pointer-events:none;opacity:.5}.ui5-yp-item.ui5-yp-item--selected:focus{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_focus)}.ui5-yp-item.ui5-yp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border)}.ui5-yp-item.ui5-yp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_hover_color)}.ui5-yp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border_radius);outline:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_outline)} +`};var th=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},qd;let Ws=qd=class extends J_{static async onDefine(){qd.i18nBundle=await fe("@ui5/webcomponents")}get roleDescription(){return qd.i18nBundle.getText(f8)}onBeforeRendering(){this._buildYears()}_getPageSize(){return this.hasSecondaryCalendarType?8:20}_getRowSize(){return this.hasSecondaryCalendarType?2:4}_buildYears(){if(this._hidden)return;const e=this._getPageSize(),t=je(),o=to.getDateInstance({format:"y",calendarType:this._primaryCalendarType},t),r=to.getDateInstance({format:"y",calendarType:this.secondaryCalendarType},t);this._calculateFirstYear(),this._lastYear=this._firstYear+e-1;const n=this._calendarDate,s=this._minDate,l=this._maxDate,I=new Oe(n,this._primaryCalendarType);let y,C;I.setYear(this._firstYear);const b=[];let v;for(let g=0;gOe.fromTimestamp(f*1e3,this._primaryCalendarType).getYear()===I.getYear()),d=I.getYear()===n.getYear(),c=I.getYear()l.getYear();this.hasSecondaryCalendarType&&(y=eu(this._primaryCalendarType,this.secondaryCalendarType,v,!0),C=y.firstDate.getYear()===y.lastDate.getYear()?`${r.format(y.firstDate.toLocalJSDate(),!0)}`:`${r.format(y.firstDate.toLocalJSDate(),!0)} - ${r.format(y.lastDate.toLocalJSDate(),!0)}`);const _={timestamp:v.toString(),_tabIndex:d?"0":"-1",focusRef:d,selected:p,ariaSelected:p?"true":"false",year:o.format(I.toLocalJSDate()),yearInSecType:C,disabled:c,classes:"ui5-yp-item"};p&&(_.classes+=" ui5-yp-item--selected"),c&&(_.classes+=" ui5-yp-item--disabled"),this.hasSecondaryCalendarType&&(_.classes+=" ui5-yp-item-secondary-type");const h=Math.floor(g/this._getRowSize());b[h]?b[h].push(_):b[h]=[_],I.setYear(I.getYear()+1)}this._years=b}_calculateFirstYear(){const e=this._getPageSize(),t=s6(this._primaryCalendarType).getYear(),o=this._calendarDate.getYear();this._firstYear||(this._firstYear=o-e/2),o=this._firstYear+e&&(this._firstYear+=e),Math.abs(this._firstYear-o)>=e&&(this._firstYear=o-e/2),this._firstYear=Math.max(this._firstYear,this._minDate.getYear()),this._firstYear=Math.min(this._firstYear,this._maxDate.getYear()),this._firstYear>t-e+1&&(this._firstYear=t-e+1)}onAfterRendering(){this._hidden||this.focus()}_onkeydown(e){let t=!0;const o=this._getPageSize(),r=this._getRowSize();Ie(e)?this._selectYear(e):le(e)?e.preventDefault():Ct(e)?this._modifyTimestampBy(-1):_t(e)?this._modifyTimestampBy(1):Xe(e)?this._modifyTimestampBy(-r):qe(e)?this._modifyTimestampBy(r):Li(e)?this._modifyTimestampBy(-o):eo(e)?this._modifyTimestampBy(o):Wt(e)||ki(e)?this._onHomeOrEnd(Wt(e)):tc(e)?this._setTimestamp(parseInt(this._years[0][0].timestamp)):Ns(e)?this._setTimestamp(parseInt(this._years[o/r-1][r-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._years.forEach(t=>{if(t.findIndex(r=>Oe.fromTimestamp(parseInt(r.timestamp)*1e3).getYear()===this._calendarDate.getYear())!==-1){const r=e?0:this._getRowSize()-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e){this._safelyModifyTimestampBy(e,"year"),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){le(e)&&this._selectYear(e)}_selectYear(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-yp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._firstYear>this._minDate.getYear()}_hasNextPage(){return this._firstYear+this._getPageSize()-1
    <${D("ui5-daypicker",e,t)} id="${a(this._id)}-daypicker" ?hidden="${this._isDayPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isDayPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .selectionMode="${a(this.selectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" ?hide-week-numbers="${this.hideWeekNumbers}" @ui5-change="${a(this.onSelectedDatesChange)}" @ui5-navigate="${a(this.onNavigate)}"><${D("ui5-monthpicker",e,t)} id="${a(this._id)}-MP" ?hidden="${this._isMonthPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isMonthPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedMonthChange)}" @ui5-navigate="${a(this.onNavigate)}"><${D("ui5-yearpicker",e,t)} id="${a(this._id)}-YP" ?hidden="${this._isYearPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isYearPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedYearChange)}" @ui5-navigate="${a(this.onNavigate)}">
    <${D("ui5-calendar-header",e,t)} id="${a(this._id)}-head" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .buttonTextForSecondaryCalendarType="${a(this.secondaryCalendarTypeButtonText)}" timestamp="${a(this._timestamp)}" .isPrevButtonDisabled="${a(this._previousButtonDisabled)}" .isNextButtonDisabled="${a(this._nextButtonDisabled)}" .isMonthButtonHidden="${a(this._isHeaderMonthButtonHidden)}" ._monthButtonText="${a(this._headerMonthButtonText)}" ._yearButtonText="${a(this._headerYearButtonText)}" ._yearButtonTextSecType="${a(this._headerYearButtonTextSecType)}" @ui5-previous-press="${a(this.onHeaderPreviousPress)}" @ui5-next-press="${a(this.onHeaderNextPress)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}">`:w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const QN={packageName:"@ui5/webcomponents",fileName:"themes/Calendar.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-cal-root{background:var(--sapList_Background);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_calendar_height);width:var(--_ui5-v1-22-1-rc-0_calendar_width);padding:var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding) var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) 0;display:flex;flex-direction:column-reverse;justify-content:flex-end}.ui5-cal-root [ui5-calendar-header]{height:var(--_ui5-v1-22-1-rc-0_calendar_header_height);font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily)}.ui5-cal-root .ui5-cal-content{padding:0 var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding)} +`};var Hr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ro=class extends J_{get _selectedDatesTimestamps(){return this.dates.map(e=>{const t=e.value;return t&&!!this.getFormat().parse(t)?this._getTimeStampFromString(t)/1e3:void 0}).filter(e=>!!e)}constructor(){super(),this._valueIsProcessed=!1}_setSelectedDates(e){const t=e.map(r=>this.getFormat().format(new Date(r*1e3),!0)),o=[...this.dates].map(r=>r.value);this.dates.filter(r=>!t.includes(r.value)).forEach(r=>{this.removeChild(r)}),t.filter(r=>!o.includes(r)).forEach(r=>{const n=document.createElement(Bv.getMetadata().getTag());n.value=r,this.appendChild(n)})}_normalizeCurrentPicker(){this._currentPicker==="day"&&this._pickersMode!==Xo.DAY_MONTH_YEAR&&(this._currentPicker="month"),this._currentPicker==="month"&&this._pickersMode===Xo.YEAR&&(this._currentPicker="year")}onBeforeRendering(){this._normalizeCurrentPicker(),this._valueIsProcessed||(this._selectedDatesTimestamps&&(this.timestamp=this._selectedDatesTimestamps[0]),this._valueIsProcessed=!0)}async onAfterRendering(){await Mt(),this._previousButtonDisabled=!this._currentPickerDOM._hasPreviousPage(),this._nextButtonDisabled=!this._currentPickerDOM._hasNextPage();const e=to.getDateInstance({format:"y",calendarType:this.primaryCalendarType}),t=kr(je());if(this._headerMonthButtonText=t.getMonthsStandAlone("wide",this.primaryCalendarType)[this._calendarDate.getMonth()],this._currentPicker==="year"){const o=new Oe(this._calendarDate,this._primaryCalendarType),r=new Oe(this._calendarDate,this._primaryCalendarType);o.setYear(this._currentPickerDOM._firstYear),r.setYear(this._currentPickerDOM._lastYear),this._headerYearButtonText=`${e.format(o.toLocalJSDate(),!0)} - ${e.format(r.toLocalJSDate(),!0)}`}else this._headerYearButtonText=String(e.format(this._localDate,!0));this._secondaryCalendarType&&this._setSecondaryCalendarTypeButtonText()}onInvalidation(e){e.reason==="childchange"&&(this._valueIsProcessed=!1)}onHeaderShowMonthPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="month",this.fireEvent("show-month-press",e)}onHeaderShowYearPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="year",this.fireEvent("show-year-press",e)}get _currentPickerDOM(){return this.shadowRoot.querySelector(`[ui5-${this._currentPicker}picker]`)}onHeaderPreviousPress(){this._currentPickerDOM._showPreviousPage()}onHeaderNextPress(){this._currentPickerDOM._showNextPage()}_setSecondaryCalendarTypeButtonText(){const e=to.getDateInstance({format:"y",calendarType:this._secondaryCalendarType});if(this._currentPicker==="year"){const t=new Oe(this._calendarDate,this._primaryCalendarType),o=new Oe(this._calendarDate,this._primaryCalendarType);t.setYear(this._currentPickerDOM._firstYear),o.setYear(this._currentPickerDOM._lastYear);const r=eu(this.primaryCalendarType,this._secondaryCalendarType,t.valueOf()/1e3,!0).firstDate,n=eu(this.primaryCalendarType,this._secondaryCalendarType,o.valueOf()/1e3,!0).lastDate;this._headerYearButtonTextSecType=`${e.format(r.toLocalJSDate(),!0)} - ${e.format(n.toLocalJSDate(),!0)}`}else this._headerYearButtonTextSecType=String(e.format(this._localDate,!0))}get secondaryCalendarTypeButtonText(){if(!this.hasSecondaryCalendarType)return;const e=new Date(this._timestamp*1e3),t=to.getDateInstance({format:"y",calendarType:this._secondaryCalendarType}),o=eu(this._primaryCalendarType,this._secondaryCalendarType,this._timestamp),r=c6(o.firstDate.getMonth(),o.lastDate.getMonth(),this._secondaryCalendarType);return{yearButtonText:t.format(e,!0),monthButtonText:r.text,monthButtonInfo:r.textInfo}}get _isHeaderMonthButtonHidden(){return this._currentPicker==="month"||this._currentPicker==="year"}get _isDayPickerHidden(){return this._currentPicker!=="day"}get _isMonthPickerHidden(){return this._currentPicker!=="month"}get _isYearPickerHidden(){return this._currentPicker!=="year"}_fireEventAndUpdateSelectedDates(e){const t=e.map(r=>{const n=Oe.fromTimestamp(r*1e3,this._primaryCalendarType);return this.getFormat().format(n.toUTCJSDate(),!0)});!this.fireEvent("selected-dates-change",{timestamp:this.timestamp,dates:[...e],values:t},!0)||this._setSelectedDates(e)}onSelectedDatesChange(e){this.timestamp=e.detail.timestamp,this._fireEventAndUpdateSelectedDates(e.detail.dates)}onSelectedMonthChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===Xo.DAY_MONTH_YEAR?this._currentPicker="day":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onSelectedYearChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===Xo.DAY_MONTH_YEAR?this._currentPicker="day":this._pickersMode===Xo.MONTH_YEAR?this._currentPicker="month":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onNavigate(e){this.timestamp=e.detail.timestamp}_onkeydown(e){L_(e)&&this._currentPicker!=="month"&&(this._currentPicker="month"),V9(e)&&this._currentPicker!=="year"&&(this._currentPicker="year")}get selectedDates(){return this._selectedDatesTimestamps}set selectedDates(e){this._setSelectedDates(e)}};Hr([A({type:Cr,defaultValue:Cr.Single})],ro.prototype,"selectionMode",void 0);Hr([A({type:Boolean})],ro.prototype,"hideWeekNumbers",void 0);Hr([A({defaultValue:"day"})],ro.prototype,"_currentPicker",void 0);Hr([A({type:Boolean})],ro.prototype,"_previousButtonDisabled",void 0);Hr([A({type:Boolean})],ro.prototype,"_nextButtonDisabled",void 0);Hr([A()],ro.prototype,"_headerMonthButtonText",void 0);Hr([A()],ro.prototype,"_headerYearButtonText",void 0);Hr([A()],ro.prototype,"_headerYearButtonTextSecType",void 0);Hr([A({type:Xo,defaultValue:Xo.DAY_MONTH_YEAR,noAttribute:!0})],ro.prototype,"_pickersMode",void 0);Hr([Z({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],ro.prototype,"dates",void 0);ro=Hr([K({tag:"ui5-calendar",fastNavigation:!0,template:ZN,styles:QN,dependencies:[Bv,SN,MN,qN,KN]}),q("selected-dates-change",{detail:{dates:{type:Array},values:{type:Array},timestamp:{type:Number}}}),q("show-month-press"),q("show-year-press")],ro);ro.define();const _6=ro;function JN(i,e,t){return t?w`
    <${D("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-date-picker-input" placeholder="${a(this._placeholder)}" type="${a(this.type)}" value="${a(this.value)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" @ui5-change="${a(this._onInputChange)}" @ui5-input="${a(this._onInputInput)}" @ui5-submit="${a(this._onInputSubmit)}" @keydown="${this._onkeydown}">${this.valueStateMessage.length?_0.call(this,i,e,t):void 0}${this.readonly?void 0:h0.call(this,i,e,t)}
    `:w`
    ${this.valueStateMessage.length?_0.call(this,i,e,t):void 0}${this.readonly?void 0:h0.call(this,i,e,t)}
    `}function _0(i,e,t){return w``}function h0(i,e,t){return t?w`<${D("ui5-icon",e,t)} slot="icon" name="${a(this.openIconName)}" tabindex="-1" accessible-name="${a(this.openIconTitle)}" accessible-role="button" aria-hidden="${a(this._ariaHidden)}" show-tooltip @click="${this.togglePicker}" input-icon ?pressed="${this._isPickerOpen}">`:w``}function eM(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader?p0.call(this,i,e,t):void 0}<${D("ui5-calendar",e,t)} id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}" ._pickersMode="${a(this._calendarPickersMode)}">${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>f0.call(this,i,e,t,o,r))}${this.showFooter?v0.call(this,i,e,t):void 0} `:w`${this.showHeader?p0.call(this,i,e,t):void 0}${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>f0.call(this,i,e,t,o,r))}${this.showFooter?v0.call(this,i,e,t):void 0} `}function p0(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closePicker}">
    `:w`
    ${a(this._headerTitleText)}
    `}function f0(i,e,t,o,r){return t?w`<${D("ui5-date",e,t)} value="${a(o)}">`:w``}function v0(i,e,t){return w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const tM={packageName:"@ui5/webcomponents",fileName:"themes/DatePicker.css.ts",content:`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;line-height:normal;letter-spacing:normal;word-spacing:normal;height:var(--_ui5-v1-22-1-rc-0_input_height);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + var(--_ui5-v1-22-1-rc-0_input_icon_width));color:var(--sapField_TextColor);background-color:var(--sapField_Background);border-radius:var(--_ui5-v1-22-1-rc-0-datepicker_border_radius);margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0}:host(:not([disabled]):not([readonly]):active){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}:host(:not([disabled]):not([readonly]):hover){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}.ui5-date-picker-root{border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-date-picker-input{width:100%;min-width:12.5625rem;color:inherit;background-color:inherit;border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;margin:inherit}:host(:not([disabled]):not([readonly])) .ui5-date-picker-input[focused]{background-color:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iM={packageName:"@ui5/webcomponents",fileName:"themes/DatePickerPopover.css.ts",content:`[ui5-calendar]{width:100%;display:flex;justify-content:center}[ui5-responsive-popover]::part(content){padding:0} +`};var Di=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Rc;let jt=Rc=class extends l6{onResponsivePopoverAfterClose(){var e;this._isPickerOpen=!1,ue()?this.blur():(e=this._getInput())==null||e.focus()}onBeforeRendering(){this.FormSupport=ze("FormSupport"),["minDate","maxDate"].forEach(e=>{const t=this[e];this.isValid(t)||console.warn(`Invalid value for property "${e}": ${t} is not compatible with the configured format pattern: "${this._displayFormat}"`)}),this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'),this.value=this.normalizeValue(this.value)||this.value,this.liveValue=this.value}get _calendarSelectionMode(){return"Single"}get _calendarTimestamp(){if(this.value&&this.dateValueUTC&&this._checkValueValidity(this.value)){const e=this.dateValueUTC.getTime();return _N(e)}return Ov(this._primaryCalendarType)}get _calendarSelectedDates(){return this.value&&this._checkValueValidity(this.value)?[this.value]:[]}_onkeydown(e){zn(e)&&(e.preventDefault(),this.isOpen()?L_(e)||this._toggleAndFocusInput():this._toggleAndFocusInput()),this._getInput().isEqualNode(e.target)&&this.isOpen()&&(Pt(e)||Mi(e)||Xf(e)||Kf(e))&&this.closePicker(),!this.isOpen()&&(Ie(e)?this.FormSupport&&this.FormSupport.triggerFormSubmit(this):cu(e)?(e.preventDefault(),this._modifyDateValue(1,"year")):Al(e)?(e.preventDefault(),this._modifyDateValue(1,"month")):Li(e)?(e.preventDefault(),this._modifyDateValue(1,"day")):R_(e)?(e.preventDefault(),this._modifyDateValue(-1,"year")):Uu(e)?(e.preventDefault(),this._modifyDateValue(-1,"month")):eo(e)&&(e.preventDefault(),this._modifyDateValue(-1,"day")))}_modifyDateValue(e,t,o){if(!this.dateValue)return;const r=bu(Oe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate),n=this.formatValue(r.toUTCJSDate());this._updateValueAndFireEvents(n,!0,["change","value-changed"])}_updateValueAndFireEvents(e,t,o,r=!0){const n=this._checkValueValidity(e);n&&t&&(e=this.normalizeValue(e));let s=!0;this.liveValue=e;const l=this.value;if(r&&(this._getInput().value=e,this.value=e,this._updateValueState()),o.forEach(I=>{this.fireEvent(I,{value:e,valid:n},!0)||(s=!1)}),!s&&r){if(this.value!==l&&this.value!==this._getInput().value)return;this._getInput().value=l,this.value=l}}_updateValueState(){const e=this._checkValueValidity(this.value),t=this.valueState;this.valueState=e?W.None:W.Error,!this.fireEvent("value-state-change",{valueState:this.valueState,valid:e},!0)&&(this.valueState=t)}_toggleAndFocusInput(){this.togglePicker(),this._getInput().focus()}_getInput(){return this.shadowRoot.querySelector("[ui5-input]")}_onInputSubmit(){}_onInputChange(e){this._updateValueAndFireEvents(e.target.value,!0,["change","value-changed"])}_onInputInput(e){this._updateValueAndFireEvents(e.target.value,!1,["input"],!1)}_checkValueValidity(e){return e===""?!0:this.isValid(e)&&this.isInValidRange(e)}_click(e){ue()&&(this.responsivePopover.showAt(this),e.preventDefault())}isValid(e){return e===""||e===void 0?!0:!!this.getFormat().parse(e)}isInValidRange(e){if(e===""||e===void 0)return!0;const t=this._getCalendarDateFromString(e);return!t||!this._minDate||!this._maxDate?!1:t.valueOf()>=this._minDate.valueOf()&&t.valueOf()<=this._maxDate.valueOf()}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,!0),!0)}get _displayFormat(){return this.getFormat().oFormatOptions.pattern}get _placeholder(){return this.placeholder!==void 0?this.placeholder:this._displayFormat}get _headerTitleText(){return Rc.i18nBundle.getText(oc)}get phone(){return ue()}get showHeader(){return this.phone}get showFooter(){return this.phone}get accInfo(){return{ariaRoledescription:this.dateAriaDescription,ariaHasPopup:q_.Grid.toLowerCase(),ariaAutoComplete:"none",ariaRequired:this.required,ariaLabel:Kt(this)}}get openIconTitle(){return Rc.i18nBundle.getText(F3)}get openIconName(){return"appointment-2"}get dateAriaDescription(){return Rc.i18nBundle.getText(V3)}get _shouldHideHeader(){return!1}get _ariaHidden(){return Qo()}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}_canOpenPicker(){return!this.disabled&&!this.readonly}get _calendarPickersMode(){const t=this.getFormat().aFormatArray.map(o=>o.type.toLowerCase());return t.includes("day")?Xo.DAY_MONTH_YEAR:t.includes("month")||t.includes("monthstandalone")?Xo.MONTH_YEAR:Xo.YEAR}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values&&e.detail.values[0];this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}onHeaderShowMonthPress(){this._calendarCurrentPicker="month"}onHeaderShowYearPress(){this._calendarCurrentPicker="year"}formatValue(e){return this.getFormat().format(e)}closePicker(){this.responsivePopover.close()}async openPicker(){this._isPickerOpen=!0,this._calendarCurrentPicker="day",this.responsivePopover=await this._respPopover(),this.responsivePopover.showAt(this)}togglePicker(){this.isOpen()?this.closePicker():this._canOpenPicker()&&this.openPicker()}isOpen(){return!!this._isPickerOpen}get dateValue(){return this.liveValue?this.getFormat().parse(this.liveValue):this.getFormat().parse(this.value)}get dateValueUTC(){return this.liveValue?this.getFormat().parse(this.liveValue,!0):this.getFormat().parse(this.value)}get styles(){return{main:{width:"100%"}}}get type(){return Rl.Text}};Di([A()],jt.prototype,"value",void 0);Di([A({type:W,defaultValue:W.None})],jt.prototype,"valueState",void 0);Di([A({type:Boolean})],jt.prototype,"required",void 0);Di([A({type:Boolean})],jt.prototype,"disabled",void 0);Di([A({type:Boolean})],jt.prototype,"readonly",void 0);Di([A({defaultValue:void 0})],jt.prototype,"placeholder",void 0);Di([A()],jt.prototype,"name",void 0);Di([A({type:Boolean})],jt.prototype,"hideWeekNumbers",void 0);Di([A()],jt.prototype,"accessibleName",void 0);Di([A({defaultValue:""})],jt.prototype,"accessibleNameRef",void 0);Di([A({type:Boolean,noAttribute:!0})],jt.prototype,"_isPickerOpen",void 0);Di([A({type:Object})],jt.prototype,"_respPopoverConfig",void 0);Di([A({defaultValue:"day"})],jt.prototype,"_calendarCurrentPicker",void 0);Di([Z({type:HTMLElement})],jt.prototype,"valueStateMessage",void 0);Di([Z({type:HTMLElement})],jt.prototype,"formSupport",void 0);jt=Rc=Di([K({tag:"ui5-date-picker",languageAware:!0,template:JN,staticAreaTemplate:eM,styles:tM,staticAreaStyles:[Vr,iM],dependencies:[Be,fo,_6,Bv,xr,Ne]}),q("change",{detail:{value:{type:String},valid:{type:Boolean}}}),q("input",{detail:{value:{type:String},valid:{type:Boolean}}}),q("value-state-change",{detail:{valueState:{type:String},valid:{type:Boolean}}})],jt);jt.define();const wu=jt;V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const oM={packageName:"@ui5/webcomponents",fileName:"themes/DateRangePicker.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{width:100%;min-width:inherit;color:inherit;background-color:inherit} +`};var Lv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},S1;let Tu=S1=class extends wu{constructor(){super(),this._prevDelimiter=null}get dateValue(){return null}get dateValueUTC(){return null}get _startDateTimestamp(){return this._extractFirstTimestamp(this.value)}get _endDateTimestamp(){return this._extractLastTimestamp(this.value)}get _tempTimestamp(){return this._tempValue&&this.getFormat().parse(this._tempValue,!0).getTime()/1e3}get _calendarSelectionMode(){return"Range"}get _calendarTimestamp(){return this._tempTimestamp||this._startDateTimestamp||Ov(this._primaryCalendarType)}get _calendarSelectedDates(){return this._tempValue?[this._tempValue]:this.value&&this._checkValueValidity(this.value)?this._splitValueByDelimiter(this.value):[]}get startDateValue(){return Oe.fromTimestamp(this._startDateTimestamp*1e3).toLocalJSDate()}get endDateValue(){return Oe.fromTimestamp(this._endDateTimestamp*1e3).toLocalJSDate()}get _placeholder(){return this.placeholder!==void 0?this.placeholder:`${this._displayFormat} ${this._effectiveDelimiter} ${this._displayFormat}`}get dateAriaDescription(){return S1.i18nBundle.getText(H3)}async _onInputSubmit(){const e=this._getInput(),t=e.getCaretPosition();await Mt(),e.setCaretPosition(t)}onResponsivePopoverAfterClose(){this._tempValue="",super.onResponsivePopoverAfterClose()}isValid(e){const t=this._splitValueByDelimiter(e);return t.length<=2&&t.every(o=>super.isValid(o))}isInValidRange(e){return this._splitValueByDelimiter(e).every(t=>super.isInValidRange(t))}normalizeValue(e){const t=this._extractFirstTimestamp(e),o=this._extractLastTimestamp(e);return t&&o&&t>o?this._buildValue(o,t):this._buildValue(t,o)}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values;if(t.length===0)return;if(t.length===1){this._tempValue=t[0];return}const o=this._buildValue(e.detail.dates[0],e.detail.dates[1]);this._updateValueAndFireEvents(o,!0,["change","value-changed"]),this.closePicker()}async _modifyDateValue(e,t,o){if(!this._endDateTimestamp)return super._modifyDateValue(e,t,o);const r=this._getInput();let n=r.getCaretPosition(),s;if(n<=this.value.indexOf(this._effectiveDelimiter)){const I=bu(Oe.fromTimestamp(this._startDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;I>this._endDateTimestamp&&(n+=Math.ceil(this.value.length/2)),s=this._buildValue(I,this._endDateTimestamp)}else{const I=bu(Oe.fromTimestamp(this._endDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;s=this._buildValue(this._startDateTimestamp,I),I${this.icon?hM.call(this,i,e,t):void 0}${this.hasButtonType?pM.call(this,i,e,t):void 0} `}function hM(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:w``}function pM(i,e,t){return w`${a(this.buttonTypeText)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const fM={packageName:"@ui5/webcomponents",fileName:"themes/ToggleButton.css.ts",content:`:host(:not([hidden])){display:inline-block}:host([design="Emphasized"]:not([pressed])){text-shadow:var(--_ui5-v1-22-1-rc-0_toggle_button_emphasized_text_shadow)}:host([pressed]),:host([design="Default"][pressed]),:host([design="Transparent"][pressed]),:host([design="Emphasized"][pressed]){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor);text-shadow:none}:host([pressed]:hover),:host([pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Default"][pressed]:hover),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Transparent"][pressed]:hover),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Emphasized"][pressed]:hover),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([active][focused]),:host([design="Default"][active][focused]),:host([design="Transparent"][active][focused]),:host([design="Emphasized"][active][focused]){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Negative"][pressed]){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][active][focused]){background:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Negative"][pressed][active]:hover),:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Positive"][pressed]){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][active][focused]){background:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:hover),:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Attention"][pressed]){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][active][focused]){background:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Attention"][pressed][active]:hover),:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)} +`};var f6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Cu=class extends Ne{_onclick(){this.pressed=!this.pressed,qn()&&this.getDomRef().focus()}_onkeyup(e){if(Oa(e)){e.preventDefault();return}super._onkeyup(e)}};f6([A({type:Boolean})],Cu.prototype,"pressed",void 0);Cu=f6([K({tag:"ui5-toggle-button",template:_M,styles:[Ne.styles,fM]})],Cu);Cu.define();const od=Cu;function vM(i,e,t){return w`
  • ${this.icon?mM.call(this,i,e,t):void 0}
  • `}function mM(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:w``}var mc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},k1;let Kn=k1=class extends od{get ariaDescription(){return k1.i18nBundle.getText(k4)}};mc([A({type:Jo,defaultValue:Jo.Default})],Kn.prototype,"design",void 0);mc([A({type:Boolean})],Kn.prototype,"iconEnd",void 0);mc([A({type:Boolean})],Kn.prototype,"submits",void 0);mc([A({validator:ae,defaultValue:0})],Kn.prototype,"posInSet",void 0);mc([A({validator:ae,defaultValue:0})],Kn.prototype,"sizeOfSet",void 0);Kn=k1=mc([K({tag:"ui5-segmented-button-item",template:vM,dependencies:[Be]})],Kn);Kn.define();const v6=Kn;var E1;(function(i){i.SingleSelect="SingleSelect",i.MultiSelect="MultiSelect"})(E1||(E1={}));const y_=E1;function gM(i,e,t){return w`
      ${a(this.ariaDescribedBy)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const bM={packageName:"@ui5/webcomponents",fileName:"themes/SegmentedButton.css.ts",content:`: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;min-width:calc(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count) * 2.5rem)}.ui5-segmented-button-root{width:inherit;display:grid;grid-template-columns:repeat(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count),minmax(2.5rem,1fr));margin:0;padding:0;background-color:var(--sapButton_Background);border-radius:var(--sapButton_BorderCornerRadius);box-shadow:inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item]){border-radius:var(--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_radius);border-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_border_color);background-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_background_color);height:var(--_ui5-v1-22-1-rc-0_button_base_height);min-width:2.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:initial}::slotted([ui5-segmented-button-item]:hover){z-index:2;box-shadow:var(--_ui5-v1-22-1-rc-0_segmented_btn_hover_box_shadow);border-color:var(--sapButton_Hover_BorderColor);background-color:var(--sapButton_Hover_Background)}::slotted([ui5-segmented-button-item][pressed]),::slotted([ui5-segmented-button-item][active]){border-color:var(--sapButton_Selected_BorderColor);background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item][pressed]:hover){border-color:var(--sapButton_Selected_Hover_BorderColor);background-color:var(--sapButton_Selected_Hover_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item]:last-child){border-start-end-radius:var(--sapButton_BorderCornerRadius);border-end-end-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:first-child){border-start-start-radius:var(--sapButton_BorderCornerRadius);border-end-start-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:not(:first-child)){border-left-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left);border-right-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right)}::slotted([ui5-segmented-button-item][active]:not([active]):hover){border-color:var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item][active]:hover){border-color:var(--sapButton_Selected_BorderColor)} +`};var ih=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Lc;let js=Lc=class extends ie{static async onDefine(){Lc.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super(),this._itemNavigation=new $i(this,{getItemsCallback:()=>this.getSlottedNodes("items")}),this.hasPreviouslyFocusedItem=!1}onBeforeRendering(){const e=this.getSlottedNodes("items");e.forEach((t,o,r)=>{t.posInSet=o+1,t.sizeOfSet=r.length}),this.normalizeSelection(),this.style.setProperty(Po("--_ui5_segmented_btn_items_count"),`${e.length}`)}normalizeSelection(){if(this.items.length)switch(this.mode){case y_.SingleSelect:{const e=this.selectedItems,t=this._selectedItem?e.indexOf(this._selectedItem):-1;this._selectedItem&&e.length>1&&e.splice(t,1);const o=e.pop()||this.items[0];this._applySingleSelection(o);break}}}_selectItem(e){const t=e.target,o=t.hasAttribute("ui5-segmented-button-item");if(!(t.disabled||t===this.getDomRef()||!o)){switch(this.mode){case y_.MultiSelect:e instanceof KeyboardEvent&&(t.pressed=!t.pressed);break;default:this._applySingleSelection(t)}return this.fireEvent("selection-change",{selectedItem:t,selectedItems:this.selectedItems}),this._itemNavigation.setCurrentItem(t),t.focus(),this}}_applySingleSelection(e){this.items.forEach(t=>{t.pressed=!1}),e.pressed=!0,this._selectedItem=e}_onclick(e){this._selectItem(e)}_onkeydown(e){Ie(e)?this._selectItem(e):le(e)&&e.preventDefault()}_onkeyup(e){le(e)&&this._selectItem(e)}_onmousedown(e){const t=e.target;t.hasAttribute("ui5-segmented-button-item")&&(t.focus(),this._itemNavigation.setCurrentItem(t),this.hasPreviouslyFocusedItem=!0)}_onfocusin(e){if(this.hasPreviouslyFocusedItem){this._itemNavigation.setCurrentItem(e.target);return}this.selectedItems.length&&(this.selectedItems[0].focus(),this._itemNavigation.setCurrentItem(this.selectedItems[0]),this.hasPreviouslyFocusedItem=!0)}get selectedItem(){return this._selectedItem}get selectedItems(){return this.items.filter(e=>e.pressed)}get ariaDescribedBy(){return Lc.i18nBundle.getText(S4)}get ariaDescription(){return Lc.i18nBundle.getText(I4)}};ih([A({defaultValue:void 0})],js.prototype,"accessibleName",void 0);ih([A({type:y_,defaultValue:y_.SingleSelect})],js.prototype,"mode",void 0);ih([Z({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],js.prototype,"items",void 0);js=Lc=ih([K({tag:"ui5-segmented-button",languageAware:!0,renderer:de,template:gM,styles:bM,dependencies:[v6]}),q("selection-change",{detail:{selectedItem:{type:HTMLElement},selectedItems:{type:Array}}})],js);js.define();const oh=js,w_=(i,e=1)=>{const t=[];for(let o=0;o{let t=[];if(i.isTwelveHoursFormat?t=w_(e||12,1):t=w_(e||24,1),i.minHour===1)for(let o=0;ow_(i||60,e),TM=(i,e)=>w_(i||60,e),m6=i=>{const e={minHour:0,maxHour:0,isTwelveHoursFormat:!1};return i==="hour0_23"?(e.minHour=0,e.maxHour=23,e.isTwelveHoursFormat=!1):i==="hour1_24"?(e.minHour=1,e.maxHour=24,e.isTwelveHoursFormat=!1):i==="hour0_11"?(e.minHour=0,e.maxHour=11,e.isTwelveHoursFormat=!0):i==="hour1_12"&&(e.minHour=1,e.maxHour=12,e.isTwelveHoursFormat=!0),e},g6=(i,e)=>{const t=[!1,!1,!1,!1];for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},gs;const CM=1e3;let no=gs=class extends ie{static async onDefine(){[gs.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),ec(je().getLanguage(),je().getRegion(),je().getScript())])}get _hoursConfiguration(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return m6(t?t.type:"hour0_23")}get _zeroPaddedHours(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return!(t.digits&&t.digits===1)}get _neededComponents(){const e=this.getFormat().aFormatArray;return g6(e,this._hoursConfiguration)}get _hasHoursComponent(){return this._neededComponents[0]}get _hasMinutesComponent(){return this._neededComponents[1]}get _hasSecondsComponent(){return this._neededComponents[2]}get _hasPeriodsComponent(){return this._neededComponents[3]}get dateValue(){return this.value?this.getFormat().parse(this.value,void 0,void 0):new Date}get validDateValue(){return this.value!==void 0&&this.isValid(this.value)?this.dateValue:new Date}get periodsArray(){return this.getFormat().aDayPeriodsAbbrev.map(t=>t.toUpperCase())}get _hours(){let e;const t=this.validDateValue;return this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()>this._hoursConfiguration.maxHour?e=t.getHours()-12:this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()=this._hoursConfiguration.maxHour?this.periodsArray[1]:this.periodsArray[0]:e=t.getHours()>this._hoursConfiguration.maxHour||t.getHours()===this._hoursConfiguration.minHour?this.periodsArray[1]:this.periodsArray[0],e}get _formatPattern(){const e=this.formatPattern,t=!!e.match(/H/i),o=!e||!t,r=kr(je());return o?r.getCombinedDateTimePattern("medium","medium",void 0):e}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hoursLabel(){return gs.i18nBundle.getText(mv)}get minutesLabel(){return gs.i18nBundle.getText(gv)}get secondsLabel(){return gs.i18nBundle.getText(bv)}get clockDialAriaLabel(){return gs.i18nBundle.getText(G4)}setValue(e){const t=this.formatValue(e);this.isValid(t)&&(this.value=this.normalizeValue(t),this.fireEvent("change",{value:this.value,valid:!0}))}isValid(e){return e===""||this.getFormat().parse(e,void 0,void 0)}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,void 0,void 0))}getFormat(){let e;return this._isPattern?e=to.getDateInstance({calendarType:this._calendarType,pattern:this._formatPattern}):e=to.getDateInstance({calendarType:this._calendarType,style:this._formatPattern}),e}formatValue(e){return this.getFormat().format(e)}_componentKey(e){return e}_indexFromName(e){return this._componentMap[this._componentKey(e)]}_getNameFromId(e){const t=e.split("_");return t.length?t[t.length-1]:void 0}_getIndexFromId(e){const t=this._getNameFromId(e);return t?this._indexFromName(t):0}_hoursChange(e){this._hoursConfiguration.isTwelveHoursFormat&&(e=this._shiftHours(e));const t=this.validDateValue;t.setHours(e),this.setValue(t)}_minutesChange(e){const t=this.validDateValue;t.setMinutes(e),this.setValue(t)}_secondsChange(e){const t=this.validDateValue;t.setSeconds(e),this.setValue(t)}_buttonAmPm(){var e;return this._hasPeriodsComponent?(e=this.shadowRoot)==null?void 0:e.querySelector(`#${this._id}_AmPm`):void 0}_createPeriodComponent(){this._hasPeriodsComponent&&this.periodsArray.forEach(e=>{this._periods.push({label:e,pressed:this._period===e})})}_periodChange(e){const t=e.target;if(t){const o=t.textContent;this._calculatePeriodChange(o)}}_calculatePeriodChange(e){const t=this.validDateValue;e===this._periods[0].label&&t.getHours()>=12&&t.setHours(t.getHours()-12),e===this._periods[1].label&&t.getHours()<12&&t.setHours(t.getHours()+12),this.setValue(t)}_shiftHours(e){return this._period===this.periodsArray[0]?e=e===12?0:e:this._period===this.periodsArray[1]&&(e=e===12?e:e+12),e}_resetCooldown(e){this._typeCooldownId&&clearTimeout(this._typeCooldownId),e&&this._startCooldown()}_startCooldown(){this._typeCooldownId=setTimeout(()=>{this._keyboardBuffer="",this._typeCooldownId=void 0,this._exactMatch&&(this._setExactMatch(),this._exactMatch=void 0)},CM)}_setExactMatch(){}};Ur([A({defaultValue:void 0})],no.prototype,"value",void 0);Ur([A()],no.prototype,"formatPattern",void 0);Ur([A({validator:ae,defaultValue:0,noAttribute:!0})],no.prototype,"_activeIndex",void 0);Ur([A({type:cn})],no.prototype,"_calendarType",void 0);Ur([A({type:Object,multiple:!0})],no.prototype,"_entities",void 0);Ur([A({type:Object})],no.prototype,"_componentMap",void 0);Ur([A({type:Object,multiple:!0})],no.prototype,"_periods",void 0);Ur([A({validator:ae,noAttribute:!0})],no.prototype,"_typeCooldownId",void 0);Ur([A({validator:ae,noAttribute:!0})],no.prototype,"_exactMatch",void 0);Ur([A({defaultValue:"",noAttribute:!0})],no.prototype,"_keyboardBuffer",void 0);no=gs=Ur([K({tag:"ui5-time-picker-internals"}),q("change",{detail:{value:{type:String},valid:{type:Boolean}}})],no);no.define();const Nc=no;function IM(i,e,t){return w``}function SM(i,e,t,o,r){return w`
    ${o.item?kM.call(this,i,e,t,o,r):$M.call(this,i,e,t,o,r)}
    `}function kM(i,e,t,o,r){return w`${a(o.item)}${o.innerItem?EM.call(this,i,e,t,o,r):void 0}`}function EM(i,e,t,o,r){return w`${a(o.innerItem)}`}function $M(i,e,t,o,r){return w`${this.hideFractions?void 0:AM.call(this,i,e,t,o,r)}`}function AM(i,e,t,o,r){return w``}function xM(i,e,t){return w`
    ${a(this._selectedItem.item)}
    ${a(this._selectedItem.innerItem)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const DM={packageName:"@ui5/webcomponents",fileName:"themes/TimePickerClock.css.ts",content:`.ui5-tp-clock{position:relative;width:auto;padding:.5625rem;outline:none;display:none}.ui5-tp-clock-active{display:block}.ui5-tp-clock-dial{position:relative;width:auto;display:block;border-radius:100%;background-color:var(--sapLegend_WorkingBackground);text-align:center;z-index:1}.ui5-tp-clock-dial:before{content:attr(data-label);display:flex;align-items:center;justify-content:center;position:absolute;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor);inset:2.75rem;border-radius:100%;z-index:2}.ui5-tp-clock-dial:after{content:"";display:block;padding-bottom:100%}.ui5-tp-clock-inner .ui5-tp-clock-dial:before{background-color:var(--sapLegend_WorkingBackground)}.ui5-tp-clock-cover{position:absolute;inset:.5625rem;border-radius:100%;z-index:10;touch-action:none}.ui5-tp-clock-item{position:absolute;top:0;left:50%;display:inline-block;width:2.75rem;height:100%;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui5-tp-clock-item.ui5-tp-clock-marker{z-index:4}.ui5-tp-clock-dot{display:block;box-sizing:border-box;width:.25rem;height:.3125rem;margin:0 auto .25rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-mid-dot{display:block;box-sizing:border-box;width:.125rem;height:.1875rem;margin:0 auto .375rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-marker{box-sizing:border-box;width:.25rem;height:.5625rem;margin:0 auto;border-radius:100%;background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)}.ui5-tp-clock-number{box-sizing:border-box;display:inline-block;width:2.75rem;height:2.75rem;border-radius:100%;line-height:2.75rem;text-align:center;vertical-align:top;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}.ui5-tp-clock-number.ui5-tp-clock-number-hover:not(.ui5-tp-clock-selected){background-color:var(--sapList_Hover_Background)}.ui5-tp-clock-selected{color:var(--sapButton_Selected_TextColor);background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)} +`};var yt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};const PM=200,OM=100,m0=6,tp="ui5-tp-clock-number",ip="ui5-tp-clock-number-hover",g0="ui5-tp-clock-selected",BM="ui5-tp-clock-mid-dot";let at=class extends ie{constructor(){super(),this._fnOnMouseOutUp=()=>{this._mouseOrTouchDown=!1}}get classes(){return{clock:{"ui5-tp-clock":!0,"ui5-tp-clock-inner":this.showInnerCircle,"ui5-tp-clock-active":this.active}}}onEnterDOM(){document.addEventListener("mouseup",this._fnOnMouseOutUp,!1)}onExitDOM(){document.removeEventListener("mouseup",this._fnOnMouseOutUp,!1)}onBeforeRendering(){this._prepareClockItems();const e=this._fixReplacementValue(this.selectedValue);this._updateSelectedValueObject(e)}_fixReplacementValue(e){let t=e;const o=this.itemMax*(this.showInnerCircle?2:1);return t===0&&(t=o),t===o&&this.lastItemReplacement!==-1&&(t=this.lastItemReplacement),t}_updateSelectedValueObject(e){if(e===-1){this._selectedItem={showMarker:!1};return}const t=e>=this.itemMin&&e<=this.itemMax||!this.showInnerCircle&&e===this.lastItemReplacement,o=(e>=this.itemMin+this.itemMax&&e<=this.itemMax*2||e===this.lastItemReplacement)&&this.showInnerCircle,r=360/(this.itemMax-this.itemMin+1),n=this.lastItemReplacement===-1||!this.prependZero?e.toString():e.toString().padStart(2,"0");let s=t||o?e*r:void 0;s!==void 0&&(s%=360),this._selectedItem={angle:s,item:t?e.toString():"",innerItem:o?n:"",showMarker:t||o,itemClasses:tp+(t?` ${g0}`:""),innerItemClasses:tp+(o?` ${g0}`:""),outerStyles:{transform:`translate(-50%) rotate(${s||0}deg)`},innerStyles:{transform:`rotate(-${s||0}deg)`}}}_prepareClockItems(){const e=[];let t=this.displayStep,o,r,n;for(this._items=[],n=this.itemMin;n<=this.itemMax;n++)e.push({item:n.toString(),innerItem:this.showInnerCircle?(n+this.itemMax).toString():void 0});this.lastItemReplacement!==-1&&(this.showInnerCircle&&this.prependZero?e[e.length-1].innerItem=this.lastItemReplacement.toString().padStart(2,"0"):e[e.length-1].item=this.lastItemReplacement.toString());const s=360/m0/e.length;for(this.valueStep*s>t&&(t=this.valueStep*s),n=1;n<=60;n++)r=n/s-1,o=n%t!==0?{}:e[r],o.angle=n*m0,o.outerStyles={transform:`translate(-50%) rotate(${n*6}deg)`},o.innerStyles={transform:`rotate(-${n*6}deg)`},this._items.push(o)}_getClockCoverContainerDomRef(){const e=this.getDomRef();return e&&e.querySelector(".ui5-tp-clock-cover")}_getMaxValue(){return this.showInnerCircle?this.itemMax*2:this.itemMax}_outerHeight(e){if(!e)return 0;const t=window.getComputedStyle(e);return e.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom)}_hoveredId(e){e===this._getMaxValue()&&this.lastItemReplacement!==-1&&(e=this.lastItemReplacement);const t=this.showInnerCircle&&e===this.lastItemReplacement&&this.prependZero?e.toString().padStart(2,"0"):e.toString();return`#${this._id}-${t}`}_getStringValue(e){return this.prependZero?e.toString().padStart(2,"0"):e.toString()}_calculateDimensions(){const e=this.getDomRef(),t=window.pageXOffset||document.documentElement.scrollLeft,o=window.pageYOffset||document.documentElement.scrollTop;if(!e)return;const r=this.getDomRef(),n=r.querySelector(`.${BM}`),s=r.querySelector(`.${tp}`),l=Math.round(e.offsetHeight/2),I=this._outerHeight(n),y=this._outerHeight(s),C=e.getBoundingClientRect();this._dimensionParameters={radius:l,centerX:l,centerY:l,dotHeight:I,numberHeight:y,outerMax:l,outerMin:l-y,innerMax:l-y-1,innerMin:l-y*2-1,offsetX:C.left+t,offsetY:C.top+o}}_calculatePosition(e,t){const o=e-this._dimensionParameters.offsetX+1-this._dimensionParameters.radius,r=t-this._dimensionParameters.offsetY+1-this._dimensionParameters.radius,n=o>=0?0:180,s=Math.atan(r/o)*180/Math.PI+90+n,l=360/this.itemMax*this.valueStep,I=Math.sqrt(o*o+r*r),y=I<=this._dimensionParameters.outerMax&&I>(this.showInnerCircle?this._dimensionParameters.outerMin:this._dimensionParameters.innerMin),C=this.showInnerCircle&&I<=this._dimensionParameters.innerMax&&I>this._dimensionParameters.innerMin,b=I<=this._dimensionParameters.outerMax&&I>this._dimensionParameters.outerMin,v=C;let g=Math.round((s===0?360:s)/l)*l;g===0&&(g=360),C||y?(this._selectedValue=g/l*this.valueStep,C&&(this._selectedValue+=this.itemMax)):this._selectedValue=-1,this._hoveredValue=v||b?this._selectedValue:-1,this._selectedValue===this._getMaxValue()&&this.lastItemReplacement!==-1&&(this._selectedValue=this.lastItemReplacement)}_changeValueAnimation(e,t=!1){const o=this.itemMax*(this.showInnerCircle?2:1);let r=this._movSelectedValue,n=e,s=1,l,I,y;t?this._setSelectedValue(e):(l=Math.abs(r-n),I=o-l,rr?e-r:e;e===t&&(this._animationInProgress=!1),this._setSelectedValue(l),e!==t?(e+=o,setTimeout(()=>{this._selectNextNumber(e,t,o,r,n,s)},s)):setTimeout(()=>{this.fireEvent("change",{value:n,stringValue:this._getStringValue(n),finalChange:!0})},OM)}_modifyValue(e){let t=this.selectedValue;const o=this.lastItemReplacement,r=this.itemMin,n=this.itemMax*(this.showInnerCircle?2:1);let s=this.valueStep,l;t%s!==0&&(l=e?Math.ceil(t/s)*s:Math.floor(t/s)*s,s=Math.abs(t-l)),t===o&&(t=n),e?(t+=s,t>n&&(t-=n)):(t-=s,t1&&this._hoveredValue!==-1&&(this._hoveredValue=Math.round(this._hoveredValue/this.displayStep)*this.displayStep),!this.disabled&&this._hoveredValue!==this._prevHoveredValue&&(t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.remove(ip),this._prevHoveredValue=this._hoveredValue,t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.add(ip)))}_onTouchEnd(e){this._mouseOrTouchDown&&(this._mouseOrTouchDown=!1,e.preventDefault(),!(this.disabled||this._selectedValue===-1)&&(this._cancelTouchOut||this._changeValueAnimation(this._selectedValue)))}_onMouseWheel(e){const t=e.detail?e.detail>0:e.deltaY>0||e.deltaX>0;e.preventDefault(),this._mouseOrTouchDown||this._modifyValue(t)}_onMouseOut(){const e=this.getDomRef().querySelector(this._hoveredId(this._hoveredValue));e&&e.classList.remove(ip),this._hoveredValue=-1,this._prevHoveredValue=-1}};yt([A({type:Boolean})],at.prototype,"disabled",void 0);yt([A({type:Boolean})],at.prototype,"active",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"itemMin",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"itemMax",void 0);yt([A({type:Boolean})],at.prototype,"showInnerCircle",void 0);yt([A({type:String,defaultValue:void 0})],at.prototype,"label",void 0);yt([A({type:Boolean})],at.prototype,"hideFractions",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"lastItemReplacement",void 0);yt([A({type:Boolean})],at.prototype,"prependZero",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"selectedValue",void 0);yt([A({validator:ae,defaultValue:5})],at.prototype,"displayStep",void 0);yt([A({validator:ae,defaultValue:1})],at.prototype,"valueStep",void 0);yt([A({type:Object,multiple:!0})],at.prototype,"_items",void 0);yt([A({type:Object})],at.prototype,"_selectedItem",void 0);yt([A({type:Object})],at.prototype,"_dimensionParameters",void 0);yt([A({type:Boolean,noAttribute:!0})],at.prototype,"_mouseOrTouchDown",void 0);yt([A({type:Boolean,noAttribute:!0})],at.prototype,"_cancelTouchOut",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_selectedValue",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_movSelectedValue",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_hoveredValue",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_prevHoveredValue",void 0);yt([A({type:Boolean,noAttribute:!0})],at.prototype,"_animationInProgress",void 0);at=yt([K({tag:"ui5-time-picker-clock",renderer:de,styles:DM,template:IM}),q("change",{detail:{value:{type:ae},stringValue:{type:String},finalChange:{type:Boolean}}})],at);at.define();const RM=at;function LM(i,e,t){return w` `}function NM(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:w``}function MM(i,e,t){return w`${a(this.buttonTypeText)}`}var rd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ua=class extends od{_onclick(){}};rd([A({validator:ae,defaultValue:-1})],Ua.prototype,"valueMin",void 0);rd([A({validator:ae,defaultValue:-1})],Ua.prototype,"valueMax",void 0);rd([A({validator:ae,defaultValue:-1})],Ua.prototype,"valueNow",void 0);rd([A()],Ua.prototype,"valueText",void 0);Ua=rd([K({tag:"ui5-toggle-spin-button",renderer:de,styles:[Ne.styles,od.styles],template:LM})],Ua);Ua.define();const FM=Ua;function VM(i,e,t){return w`
    ${X(this._entities,(o,r)=>o._id||r,(o,r)=>zM.call(this,i,e,t,o,r))}${this._periods.length?HM.call(this,i,e,t):void 0}
    `}function zM(i,e,t,o,r){return t?w`${o.hasSeparator?b0.call(this,i,e,t,o,r):void 0}<${D("ui5-toggle-spin-button",e,t)} id="${a(this._id)}_button_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .valueMin="${a(o.attributes.min)}" .valueMax="${a(o.attributes.max)}" .valueNow="${a(o.value)}" .valueText="${a(o.textValue)}" .accessibleName="${a(o.label)}" .pressed="${a(o.active)}" ?focused="${o.focused}" @focusin="${this._buttonFocusIn}">${a(o.stringValue)}`:w`${o.hasSeparator?b0.call(this,i,e,t,o,r):void 0}${a(o.stringValue)}`}function b0(i,e,t,o,r){return w`:`}function HM(i,e,t){return t?w`<${D("ui5-segmented-button",e,t)} id="${a(this._id)}_AmPm" @click=${this._periodChange} @focusin=${this._amPmFocusIn} @focusout=${this._amPmFocusOut}>${X(this._periods,(o,r)=>o._id||r,(o,r)=>y0.call(this,i,e,t,o,r))}`:w`${X(this._periods,(o,r)=>o._id||r,(o,r)=>y0.call(this,i,e,t,o,r))}`}function y0(i,e,t,o,r){return t?w`<${D("ui5-segmented-button-item",e,t)} ?pressed=${o.pressed}>${a(o.label)}`:w`${a(o.label)}`}function UM(i,e,t,o,r){return t?w`<${D("ui5-time-picker-clock",e,t)} id="${a(this._id)}_clock_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .active="${a(o.active)}" .label="${a(o.label)}" .itemMin="${a(o.itemMin)}" .itemMax="${a(o.itemMax)}" .selectedValue="${a(o.value)}" .displayStep="${a(o.displayStep)}" .valueStep="${a(o.attributes.step)}" .lastItemReplacement="${a(o.lastItemReplacement)}" .showInnerCircle="${a(o.showInnerCircle)}" .prependZero="${a(o.prependZero)}" @ui5-change=${a(this._clockChange)}>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const qM={packageName:"@ui5/webcomponents",fileName:"themes/TimeSelectionClocks.css.ts",content:`.ui5-time-picker-tsc-container{margin:0 auto;box-sizing:border-box;width:100%;padding:1rem;text-align:center}.ui5-time-picker-tsc-container:focus{outline:none}.ui5-time-picker-tsc-buttons{display:flex;justify-content:center;align-items:center;padding-bottom:1rem;width:100%}.ui5-time-picker-tsc-buttons span[separator]{min-width:.5rem;padding:0 .125rem;text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-time-picker-tsc-clocks{display:block;text-align:center;width:100%;touch-action:none} +`};var rh=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Gs=class extends Nc{onBeforeRendering(){this._createComponents()}_buttonComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_button_${o}`):void 0}_clockComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_clock_${o}`):void 0}_clocksFocusIn(e){const t=e.target;this._focused=!0,t.id===this._id&&this._switchClock(this._activeIndex)}_clocksFocusOut(){this._focused=!1}_buttonFocusIn(e){const t=e.target,o=this._getNameFromId(t.id);o&&this._switchTo(o)}_amPmFocusIn(){this._amPmFocused=!0}_amPmFocusOut(){this._amPmFocused=!1}_onkeyup(e){le(e)&&(this._spacePressed=!1)}_onkeydown(e){let t;const o=e.target&&e.target.tagName.toLowerCase().indexOf("segmented")===-1;if(Ie(e))this.fireEvent("close-picker");else if(le(e)&&o&&!this._spacePressed)e.preventDefault(),this._spacePressed=!0,this._keyboardBuffer="",this._resetCooldown(!0),this._switchNextClock(!0);else if((Xe(e)||qe(e))&&!r_(e)&&!Yf(e))t=this._clockComponent(this._activeIndex),t&&!t.disabled&&!this._amPmFocused&&t._modifyValue(Xe(e)),e.preventDefault();else if(Li(e)||eo(e))t=this._clockComponent("hours"),t&&!t.disabled&&(this._switchTo("hours"),t._modifyValue(Li(e))),e.preventDefault();else if(Al(e)||Uu(e))t=this._clockComponent("minutes"),t&&!t.disabled&&(this._switchTo("minutes"),t._modifyValue(Al(e))),e.preventDefault();else if(cu(e)||R_(e))t=this._clockComponent("seconds"),t&&!t.disabled&&(this._switchTo("seconds"),t._modifyValue(cu(e))),e.preventDefault();else if(Ah(e)||z2(e)){const r=this._buttonAmPm();if(r){r.items[0].pressed=Ah(e),r.items[1].pressed=z2(e);const n=Ah(e)?r.items[0].textContent:r.items[1].textContent;n&&this._calculatePeriodChange(n)}e.preventDefault()}else U9(e)?(this._keyboardBuffer="",this._exactMatch=void 0,this._resetCooldown(!0),this._switchNextClock(!0)):Gy(e)&&this._entities[this._activeIndex]&&(this._exactMatch=void 0,this._resetCooldown(!0),this._numbersInput(e))}_numbersInput(e){const t=e.key,o=this._keyboardBuffer+t,r=parseInt(o),n=this._entities[this._activeIndex];let s=this._clockComponent(this._activeIndex);!n||!n.attributes||(r>n.attributes.max?(s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),this._switchNextClock(),this._keyboardBuffer=t,s=this._clockComponent(this._activeIndex),s&&s._setSelectedValue(parseInt(t)),this._resetCooldown(!0)):(this._keyboardBuffer=o,s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),(this._keyboardBuffer.length===2||parseInt(`${this._keyboardBuffer}0`)>n.attributes.max)&&(this._resetCooldown(this._keyboardBuffer.length!==2),this._keyboardBuffer="",this._switchNextClock())))}_focusFirstButton(){this._activeIndex=0,this._buttonComponent(0).focus()}_setExactMatch(){const e=this._clockComponent(this._activeIndex);e&&this._exactMatch!==void 0&&e._setSelectedValue(this._exactMatch)}_createComponents(){const e={hours:parseInt(this._hours),minutes:parseInt(this._minutes),seconds:parseInt(this._seconds)};this._entities=[],this._periods=[],this._componentMap={hours:-1,minutes:-1,seconds:-1},this._hasHoursComponent&&(this._componentMap.hours=this._entities.length,this._entities.push({label:this.hoursLabel,entity:"hours",itemMin:1,itemMax:12,value:e.hours,stringValue:this._hours,textValue:`${e.hours} ${this.hoursLabel}`,displayStep:1,lastItemReplacement:this._hoursConfiguration.isTwelveHoursFormat?-1:0,showInnerCircle:!this._hoursConfiguration.isTwelveHoursFormat,prependZero:this._zeroPaddedHours,hasSeparator:this._entities.length>0,active:!1,attributes:{min:this._hoursConfiguration.minHour,max:this._hoursConfiguration.maxHour,step:1}})),this._hasMinutesComponent&&(this._componentMap.minutes=this._entities.length,this._entities.push({label:this.minutesLabel,entity:"minutes",itemMin:1,itemMax:60,value:e.minutes,stringValue:this._minutes,textValue:`${e.minutes} ${this.minutesLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._hasSecondsComponent&&(this._componentMap.seconds=this._entities.length,this._entities.push({label:this.secondsLabel,entity:"seconds",itemMin:1,itemMax:60,value:e.seconds,stringValue:this._seconds,textValue:`${e.seconds} ${this.secondsLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._entities[this._activeIndex].active=!0,this._entities[this._activeIndex].focused=this._focused&&!this._amPmFocused,this._createPeriodComponent()}_switchTo(e){const t=this._componentKey(e);this._componentMap[t]!==void 0&&this._switchClock(this._componentMap[t])}_switchClock(e){const t=this._buttonComponent(e);this._entities.length&&e=this._entities.length&&(t=e?0:this._entities.length-1);while(r&&r.disabled&&t!==o&&(e||t${this.showHeader?w0.call(this,i,e,t):void 0}
    <${D("ui5-calendar",e,t)} class="ui5-dt-cal ${j(this.classes.dateTimeView)}" id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}">${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>T0.call(this,i,e,t,o,r))}${this.phone?void 0:C0.call(this,i,e,t)}${this.showTimeView?I0.call(this,i,e,t):void 0}
    ${this.showFooter?S0.call(this,i,e,t):void 0} `:w`${this.showHeader?w0.call(this,i,e,t):void 0}
    ${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>T0.call(this,i,e,t,o,r))}${this.phone?void 0:C0.call(this,i,e,t)}${this.showTimeView?I0.call(this,i,e,t):void 0}
    ${this.showFooter?S0.call(this,i,e,t):void 0}
    `}function w0(i,e,t){return w`${this.phone?jM.call(this,i,e,t):void 0}`}function jM(i,e,t){return t?w`
    <${D("ui5-segmented-button",e,t)} class="ui5-dt-picker-toggle-button"><${D("ui5-toggle-button",e,t)} key="Date" ?pressed="${this.showDateView}" @click="${this._dateTimeSwitchChange}">${a(this.btnDateLabel)}<${D("ui5-toggle-button",e,t)} key="Time" ?pressed="${this.showTimeView}" @click="${this._dateTimeSwitchChange}">${a(this.btnTimeLabel)}
    `:w`
    ${a(this.btnDateLabel)}${a(this.btnTimeLabel)}
    `}function T0(i,e,t,o,r){return t?w`<${D("ui5-date",e,t)} value="${a(o)}">`:w``}function C0(i,e,t){return w``}function I0(i,e,t){return t?w`<${D("ui5-time-selection-clocks",e,t)} id="${a(this._id)}-time-sel" class="ui5-dt-time ${j(this.classes.dateTimeView)}" format-pattern="${a(this._formatPattern)}" value="${a(this._timeSelectionValue)}" @ui5-change="${a(this.onTimeSelectionChange)}" ._calendarType="${a(this._primaryCalendarType)}">`:w``}function S0(i,e,t){return t?w``:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const GM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePicker.css.ts",content:`:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{min-width:inherit;color:inherit;background-color:inherit} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const YM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePickerPopover.css.ts",content:`.ui5-dt-picker-content{display:flex;flex-direction:row;height:var(--_ui5-v1-22-1-rc-0_datetime_picker_height);min-width:var(--_ui5-v1-22-1-rc-0_datetime_picker_width);box-sizing:border-box;justify-content:center}.ui5-dt-picker-toggle-button{width:8rem}.ui5-dt-cal{width:auto;box-sizing:border-box}.ui5-dt-time{width:100%;min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_width);box-sizing:border-box}.ui5-dt-cal.ui5-dt-cal--hidden,.ui5-dt-time.ui5-dt-time--hidden{display:none}.ui5-dt-picker-header{display:flex;justify-content:center;width:100%;margin-top:1rem;box-sizing:border-box}.ui5-dt-picker-separator{height:calc(100% - 2rem);width:0px;margin-top:1rem;margin-bottom:1rem;border-left:1px solid var(--sapGroup_ContentBorderColor);box-sizing:border-box}.ui5-dt-picker-footer{display:flex;justify-content:flex-end;align-items:center;height:2.75rem;width:100%}.ui5-dt-picker-footer.ui5-dt-picker-footer-time-hidden{padding:0}.ui5-dt-picker-action{margin:.25rem}#ok.ui5-dt-picker-action{width:4rem}.ui5-dt-picker-content--phone.ui5-dt-picker-content{min-width:20rem;height:calc(100% - 4rem)}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-time-selection-clocks]{height:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width);width:auto}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-calendar]{margin-bottom:var(--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom)}.ui5-dt-picker-content--phone .ui5-dt-cal{width:100%}.ui5-dt-picker-content--phone .ui5-dt-time{min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width)} +`};var nh=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},bs;const XM=640;let Rs=bs=class extends wu{constructor(){super(),this._handleResizeBound=this._handleResize.bind(this)}onResponsivePopoverAfterClose(){super.onResponsivePopoverAfterClose(),this._showTimeView=!1,this._previewValues={}}onEnterDOM(){Ce.register(document.body,this._handleResizeBound)}onExitDOM(){Ce.deregister(document.body,this._handleResizeBound)}async openPicker(){await super.openPicker(),this._previewValues={...this._previewValues,timeSelectionValue:this.value||this.getFormat().format(new Date)}}get classes(){return{picker:{"ui5-dt-picker-content--phone":this.phone},dateTimeView:{"ui5-dt-cal--hidden":this.phone&&this.showTimeView,"ui5-dt-time--hidden":this.phone&&this.showDateView},footer:{"ui5-dt-picker-footer-time-hidden":this.phone&&this.showTimeView||this.phone&&this.showDateView}}}get _formatPattern(){const e=!!this.formatPattern.match(/H/i),t=!this.formatPattern||!e,o=kr(je());return t?o.getCombinedDateTimePattern("medium","medium",this._primaryCalendarType):this.formatPattern}get _calendarTimestamp(){return this._previewValues.calendarTimestamp?this._previewValues.calendarTimestamp:super._calendarTimestamp}get _calendarSelectedDates(){return this._previewValues.calendarValue?[this._previewValues.calendarValue]:super._calendarSelectedDates}get _timeSelectionValue(){return this._previewValues.timeSelectionValue?this._previewValues.timeSelectionValue:this.value}get openIconName(){return"date-time"}get btnOKLabel(){return bs.i18nBundle.getText(yv)}get btnCancelLabel(){return bs.i18nBundle.getText(wv)}get btnDateLabel(){return bs.i18nBundle.getText(Z4)}get btnTimeLabel(){return bs.i18nBundle.getText(Q4)}get showFooter(){return!0}get showDateView(){return this.phone?!this._showTimeView:!0}get showTimeView(){return this.phone?this._showTimeView:!0}get phone(){return super.phone||this._phoneMode}get dateAriaDescription(){return bs.i18nBundle.getText(z3)}get _shouldHideHeader(){return!0}onSelectedDatesChange(e){e.preventDefault();const t=e.path?e.path[1]:e.composedPath()[1];this._previewValues={...this._previewValues,calendarTimestamp:e.detail.timestamp,calendarValue:e.detail.values[0],timeSelectionValue:t.lastChild.value}}onTimeSelectionChange(e){this._previewValues={...this._previewValues,timeSelectionValue:e.detail.value}}_handleResize(){const t=document.body.offsetWidth<=XM;(t&&!this._phoneMode||!t&&this._phoneMode)&&(this._phoneMode=t)}get _submitDisabled(){return!this._calendarSelectedDates||!this._calendarSelectedDates.length}_submitClick(){const e=this.getSelectedDateTime(),t=this.getFormat().format(e);this.value!==t&&this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}_cancelClick(){this.closePicker()}_dateTimeSwitchChange(e){const t=e.target;this._showTimeView=t.getAttribute("key")==="Time"}_modifyDateValue(e,t,o){if(!this.dateValue)return;const n=bu(Oe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate).toLocalJSDate();n.setHours(this.dateValue.getHours()),n.setMinutes(this.dateValue.getMinutes()),n.setSeconds(this.dateValue.getSeconds());const s=this.formatValue(n);this._updateValueAndFireEvents(s,!0,["change","value-changed"])}async getPicker(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}getSelectedDateTime(){const e=this.getFormat().parse(this._calendarSelectedDates[0]),t=this.getFormat().parse(this._timeSelectionValue);return t&&(e.setHours(t.getHours()),e.setMinutes(t.getMinutes()),e.setSeconds(t.getSeconds())),e}get _calendarPickersMode(){return Xo.DAY_MONTH_YEAR}};nh([A({type:Boolean,noAttribute:!0})],Rs.prototype,"_showTimeView",void 0);nh([A({type:Boolean})],Rs.prototype,"_phoneMode",void 0);nh([A({type:Object})],Rs.prototype,"_previewValues",void 0);Rs=bs=nh([K({tag:"ui5-datetime-picker",staticAreaTemplate:WM,styles:[Rs.styles,GM],staticAreaStyles:[wu.staticAreaStyles,YM],dependencies:[...wu.dependencies,_6,Ne,od,oh,b6]})],Rs);Rs.define();function KM(i,e,t){return w`
    ${this.hideInput?void 0:ZM.call(this,i,e,t)}
    ${this._keepInputInShadowDOM?QM.call(this,i,e,t):JM.call(this,i,e,t)}
    `}function ZM(i,e,t){return t?w`<${D("ui5-input",e,t)} value="${a(this.value)}" value-state="${a(this.valueState)}" placeholder="${a(this.placeholder)}" ?disabled="${this.disabled}" tabindex="-1" class="ui5-file-uploader-input">`:w``}function QM(i,e,t){return w``}function JM(i,e,t){return w``}function eF(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    ${this._valueStateMessageInputIcon?k0.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?E0.call(this,i,e,t):$0.call(this,i,e,t)}
    `:w`
    ${this._valueStateMessageInputIcon?k0.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?E0.call(this,i,e,t):$0.call(this,i,e,t)}
    `}function k0(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">`:w``}function E0(i,e,t){return w`${a(this.valueStateText)}`}function $0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>tF.call(this,i,e,t,o,r))}`}function tF(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iF={packageName:"@ui5/webcomponents",fileName:"themes/FileUploader.css.ts",content:`:host{vertical-align:middle}:host{display:inline-block}.ui5-file-uploader-root{position:relative}.ui5-file-uploader-root input[type=file]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.ui5-file-uploader-root input[type=file]:not([disabled]){cursor:pointer}.ui5-file-uploader-mask{display:flex;align-items:center}.ui5-file-uploader-mask [ui5-input]{margin-right:.25rem}:host([value-state="None"]:not([disabled]):hover) [ui5-input],:host(:not([value-state]):not([disabled]):hover) [ui5-input]{border:var(--_ui5-v1-22-1-rc-0_file_uploader_hover_border);background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Error"]:not([disabled]):hover) [ui5-input]{background-color:var(--_ui5-v1-22-1-rc-0_file_uploader_value_state_error_hover_background_color);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Warning"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}:host(:not([disabled]):active) [ui5-button]{background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor);text-shadow:none} +`};var Ho=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Qr;let qi=Qr=class extends ie{static get formAssociated(){return!0}constructor(){super(),this._internals=this.attachInternals&&this.attachInternals()}_onmouseover(){this.content.forEach(e=>{e.classList.add("ui5_hovered")})}_onmouseout(){this.content.forEach(e=>{e.classList.remove("ui5_hovered")})}_onclick(e){Ko(e)==="button"&&this._input.click()}_onkeydown(e){Ie(e)&&(this._input.click(),e.preventDefault())}_onkeyup(e){le(e)&&(this._input.click(),e.preventDefault())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get files(){return this._input?this._input.files:Qr._emptyFilesList}onBeforeRendering(){this._enableFormSupport()}onAfterRendering(){this.value||(this._input.value=""),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover)}_enableFormSupport(){const e=ze("FormSupport");e?this._canUseNativeFormSupport?this._setFormValue():e.syncNativeFileInput(this,(t,o)=>{o.disabled=!!t.disabled},this._onChange.bind(this)):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onChange(e){const t=e.target.files;this._updateValue(t),this.fireEvent("change",{files:t})}_updateValue(e){this.value=Array.from(e||[]).reduce((t,o)=>`${t}"${o.name}" `,"")}_setFormValue(){const e=new FormData;if(this.files)for(let t=0;te.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this.hideInput}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}get styles(){return{popoverHeader:{width:`${this.ui5Input?this.ui5Input.offsetWidth:0}px`}}}get ui5Input(){return this.shadowRoot.querySelector(".ui5-file-uploader-input")}static async onDefine(){Qr.i18nBundle=await fe("@ui5/webcomponents")}};Ho([A()],qi.prototype,"accept",void 0);Ho([A({type:Boolean})],qi.prototype,"hideInput",void 0);Ho([A({type:Boolean})],qi.prototype,"disabled",void 0);Ho([A({type:Boolean})],qi.prototype,"multiple",void 0);Ho([A()],qi.prototype,"name",void 0);Ho([A()],qi.prototype,"placeholder",void 0);Ho([A()],qi.prototype,"value",void 0);Ho([A({type:W,defaultValue:W.None})],qi.prototype,"valueState",void 0);Ho([A({type:Boolean})],qi.prototype,"focused",void 0);Ho([Z({type:HTMLElement,default:!0})],qi.prototype,"content",void 0);Ho([Z()],qi.prototype,"valueStateMessage",void 0);Ho([Z()],qi.prototype,"formSupport",void 0);qi=Qr=Ho([K({tag:"ui5-file-uploader",languageAware:!0,renderer:de,styles:iF,template:KM,staticAreaTemplate:eF,staticAreaStyles:[Vr,Za],dependencies:[xr,Vi,Be]}),q("change",{detail:{files:{type:FileList}}})],qi);qi.define();function oF(i,e,t){return t?w`
    ${a(this._tokensCountText)}<${D("ui5-tokenizer",e,t)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} .valueState=${a(this.valueState)} ?expanded="${this.expandedTokenizer}" show-more @keydown="${this._onTokenizerKeydown}" @ui5-show-more-items-press=${a(this.showMorePress)} @ui5-token-delete=${a(this.tokenDelete)} @focusout="${this._tokenizerFocusOut}">
    ${this.shouldDisplayDefaultValueStateMessage?A0.call(this,i,e,t):x0.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?D0.call(this,i,e,t):void 0}${this.icon.length?P0.call(this,i,e,t):void 0}
    ${Gn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?O0.call(this,i,e,t):void 0}${this.showSuggestions?B0.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?R0.call(this,i,e,t):void 0}${this.hasValueState?L0.call(this,i,e,t):void 0}
    `:w`
    ${a(this._tokensCountText)}
    ${this.shouldDisplayDefaultValueStateMessage?A0.call(this,i,e,t):x0.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?D0.call(this,i,e,t):void 0}${this.icon.length?P0.call(this,i,e,t):void 0}
    ${Gn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?O0.call(this,i,e,t):void 0}${this.showSuggestions?B0.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?R0.call(this,i,e,t):void 0}${this.hasValueState?L0.call(this,i,e,t):void 0}
    `}function A0(i,e,t){return w`${a(this.valueStateText)}`}function x0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>rF.call(this,i,e,t,o,r))}`}function rF(i,e,t,o,r){return w`${a(o)}`}function D0(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function P0(i,e,t){return w`
    `}function O0(i,e,t){return t?w`<${D("ui5-icon",e,t)} @click=${this.valueHelpPress} @mousedown=${this.valueHelpMouseDown} @mouseup=${this.valueHelpMouseUp} input-icon name="value-help">`:w``}function B0(i,e,t){return w`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function R0(i,e,t){return w`${a(this.accInfo.input.ariaDescription)}`}function L0(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const nF={packageName:"@ui5/webcomponents",fileName:"themes/MultiInput.css.ts",content:`[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}.ui5-multi-input-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-input-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-input-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-input-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} +`},aF="sys-cancel",y6="M512 256q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256t20.5-100 55-81.5T157 20t99-20q53 0 100 20t81.5 54.5T492 156t20 100zm-32 0q0-47-17.5-87.5t-48-71-71.5-48T256 32t-87 18-71.5 48.5-48 71T32 256q0 47 17.5 88t48 71 71.5 47.5 87 17.5q47 0 88-17.5t71-47.5 47.5-71 17.5-88zm-186-7q-5 3-1 9l89 89q9 8 0 17l-16 17q-8 4-9 4t-9-4l-89-89q-1-2-4-2-4 0-5 2l-88 89q-6 4-9 4-1 0-9-4l-16-17q-8-9 0-17l88-89q5-5 0-9l-88-89q-8-9 0-17l16-17q4-4 9-4t9 4l88 89q2 2 5 2 2 0 4-2l89-89q4-4 9-4t9 4l16 17q9 8 0 17z",sF=!1,lF="SAP-icons-v4",cF="@ui5/webcomponents-icons";ee(aF,{pathData:y6,ltr:sF,collection:lF,packageName:cF});const uF="sys-cancel",w6="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 461q42 0 79.5-16t65.5-44 44-65.5 16-79.5-16-79.5-44-65.5-65.5-44T256 51t-79.5 16-65.5 44-44 65.5T51 256t16 79.5 44 65.5 65.5 44 79.5 16zm70-301q11 0 18.5 7.5T352 186t-7 18l-53 52 53 52q7 7 7 18t-7.5 18.5T326 352q-10 0-18-8l-52-52-52 52q-8 8-18 8-11 0-18.5-7.5T160 326q0-10 8-18l52-52-52-52q-8-8-8-18 0-11 7.5-18.5T186 160t18 7l52 53 52-53q7-7 18-7z",dF=!1,_F="SAP-icons-v5",hF="@ui5/webcomponents-icons";ee(uF,{pathData:w6,ltr:dF,collection:_F,packageName:hF});Se();function pF(i,e,t){return w`
    ${a(this.text)}${this.readonly?void 0:fF.call(this,i,e,t)}
    `}function fF(i,e,t){return w`
    ${this.closeIcon.length?vF.call(this,i,e,t):mF.call(this,i,e,t)}
    `}function vF(i,e,t){return w``}function mF(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.iconURI)}" accessible-name="${a(this.tokenDeletableText)}" show-tooltip @click="${this._delete}">`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const gF={packageName:"@ui5/webcomponents",fileName:"themes/Token.css.ts",content:`:host{display:inline-block;background:var(--_ui5-v1-22-1-rc-0_token_background);border:var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_border_radius);color:var(--_ui5-v1-22-1-rc-0_token_text_color);height:var(--_ui5-v1-22-1-rc-0_token_height);box-sizing:border-box}:host(:not([single-token])){margin-inline-end:var(--_ui5-v1-22-1-rc-0_token_right_margin)}:host([overflows]){display:none}:host(:not([readonly]):hover){background:var(--sapButton_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_hover_border_color)}:host([selected]:not([readonly])){color:var(--sapButton_Selected_TextColor)}:host([selected]:not([readonly])){background:var(--sapButton_Selected_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_Selected_BorderColor)}:host([selected]:not([readonly])) .ui5-token--wrapper{border-bottom:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius)}:host([selected]:not([readonly]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_selected_hover_border_color)}:host([readonly]){background:var(--_ui5-v1-22-1-rc-0_token_readonly_background);border-color:var(--sapField_ReadOnly_BorderColor);color:var(--_ui5-v1-22-1-rc-0_token_readonly_color)}:host([readonly]) .ui5-token--wrapper{padding:var(--_ui5-v1-22-1-rc-0_token_readonly_padding)}:host([selected]) .ui5-token--wrapper:focus{outline:var(--_ui5-v1-22-1-rc-0_token_selected_focus_outline)}:host([selected]:not([readonly])) .ui5-token--text,:host([selected]:not([readonly])) .ui5-token--icon{top:var(--_ui5-v1-22-1-rc-0_token_text_icon_top);position:relative}:host([focused][selected]:not([readonly]):not(:hover)){background:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor);border:var(--_ui5-v1-22-1-rc-0_token_focused_selected_border)}.ui5-token--wrapper{display:flex;align-items:center;height:100%;width:100%;cursor:default;padding-inline-start:var(--_ui5-v1-22-1-rc-0_token_left_padding);box-sizing:border-box;font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);user-select:none}.ui5-token--wrapper{position:relative}:host([selected]) .ui5-token--wrapper{font-family:var(--_ui5-v1-22-1-rc-0_token_selected_text_font_family)}.ui5-token--wrapper:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_token_outline_offset);outline:var(--_ui5-v1-22-1-rc-0_token_focus_outline)}.ui5-token--wrapper:focus:after{content:var(--ui5-v1-22-1-rc-0_token_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_focus_outline_border_radius);top:var(--_ui5-v1-22-1-rc-0_token_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_token_focus_offset);left:var(--_ui5-v1-22-1-rc-0_token_focus_offset);right:var(--_ui5-v1-22-1-rc-0_token_focus_offset)}:host([focused][selected]:not([readonly])) .ui5-token--wrapper:focus:after{bottom:var(--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom)}.ui5-token--text{white-space:nowrap}.ui5-token--icon{display:flex}:host([selected]) .ui5-token--icon>[ui5-icon],:host([selected]) ::slotted([ui5-icon]){color:var(--sapButton_Selected_TextColor)}.ui5-token--icon>[ui5-icon],::slotted([ui5-icon]){color:inherit;cursor:pointer;width:var(--_ui5-v1-22-1-rc-0_token_icon_size);height:var(--_ui5-v1-22-1-rc-0_token_icon_size);padding:var(--_ui5-v1-22-1-rc-0_token_icon_padding);color:var(--sapContent_IconColor)}:host([single-token]){max-width:100%}:host([single-token]) .ui5-token--wrapper{max-width:100%}:host([single-token]) .ui5-token--text{overflow:hidden;text-overflow:ellipsis;max-width:100%} +`};var kn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Wd;let Ro=Wd=class extends ie{_handleSelect(){this.toBeDeleted||(this.selected=!this.selected,this.fireEvent("select"))}_focusin(){this.focused=!0}_focusout(){this.focused=!this.focused}_delete(){this.toBeDeleted=!0,this.fireEvent("delete")}_keydown(e){const t=Hu(e),o=$l(e);!this.readonly&&(t||o)&&(e.preventDefault(),this.fireEvent("delete",{backSpace:t,delete:o})),(le(e)||Gf(e))&&(e.preventDefault(),this._handleSelect())}onBeforeRendering(){this.toBeDeleted=!1}get tokenDeletableText(){return Wd.i18nBundle.getText(J4)}get iconURI(){return Ga().includes("sap_belize")?"sys-cancel":"decline"}get textDom(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-token--text")}get isTruncatable(){return this.textDom?Math.ceil(this.textDom.getBoundingClientRect().width)${a(this.tokenizerLabel)}
    ${X(this.tokens,(o,r)=>o._id||r,(o,r)=>yF.call(this,i,e,t,o,r))}
    ${this.showNMore?wF.call(this,i,e,t):void 0}`}function yF(i,e,t,o,r){return w``}function wF(i,e,t){return w`${a(this._nMoreText)}`}function TF(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} tokenizer-popover="true" style=${Y(this.styles.popover)} class=${j(this.classes.popover)} ?content-only-on-desktop="${this.noValueStatePopover}" hide-arrow placement-type="Bottom" horizontal-align="Left" @before-close=${this.handleBeforeClose} @before-open="${this.handleBeforeOpen}">${this._isPhone?void 0:N0.call(this,i,e,t)}${this._isPhone?F0.call(this,i,e,t):void 0}<${D("ui5-list",e,t)} class="ui5-tokenizer-list" mode="Delete" @ui5-item-delete=${a(this.itemDelete)}>${X(this._tokens,(o,r)=>o._id||r,(o,r)=>H0.call(this,i,e,t,o,r))}${this._isPhone?U0.call(this,i,e,t):void 0}`:w`${this._isPhone?void 0:N0.call(this,i,e,t)}${this._isPhone?F0.call(this,i,e,t):void 0}${X(this._tokens,(o,r)=>o._id||r,(o,r)=>H0.call(this,i,e,t,o,r))}${this._isPhone?U0.call(this,i,e,t):void 0}`}function N0(i,e,t){return w`
    ${this.noValueStatePopover?void 0:CF.call(this,i,e,t)}
    `}function CF(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>M0.call(this,i,e,t,o,r))}
    `:w`
    ${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>M0.call(this,i,e,t,o,r))}
    `}function M0(i,e,t,o,r){return w`${a(o)}`}function F0(i,e,t){return t?w`
    <${D("ui5-title",e,t)} level="H5" class="ui5-responsive-popover-header-text">${a(this.morePopoverTitle)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closeMorePopover}">
    ${this.noValueStatePopover?void 0:V0.call(this,i,e,t)}`:w`
    ${a(this.morePopoverTitle)}
    ${this.noValueStatePopover?void 0:V0.call(this,i,e,t)}`}function V0(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>z0.call(this,i,e,t,o,r))}
    `:w`
    ${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>z0.call(this,i,e,t,o,r))}
    `}function z0(i,e,t,o,r){return w`${a(o)}`}function H0(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .tokenRef=${a(o)} wrapping-type="Normal">${a(o.text)}`:w`${a(o.text)}`}function U0(i,e,t){return t?w``:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const IF={packageName:"@ui5/webcomponents",fileName:"themes/Tokenizer.css.ts",content:`.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:1px solid black;height:2.25rem}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;overflow-x:scroll;box-sizing:border-box;font-family:"72override",var(--sapFontFamily)}.ui5-tokenizer-no-padding{padding:0}.ui5-tokenizer-root.ui5-tokenizer-nmore--wrapper{overflow:hidden}.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-v1-22-1-rc-0_tokenizer_padding);height:100%;box-sizing:border-box}: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:.25rem;cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5-v1-22-1-rc-0_tokenizer_n_more_text_color)} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const SF={packageName:"@ui5/webcomponents",fileName:"themes/TokenizerPopover.css.ts",content:`[ui5-responsive-popover]::part(header),[ui5-responsive-popover]::part(content){padding:0}#ui5-tokenizer-dialog-confirm-btn{height:100%;min-width:4rem}[ui5-responsive-popover]{margin-top:var(--_ui5-v1-22-1-rc-0_tokenizer-popover_offset);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_tokenizer_padding))} +`};var dr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Jr,Ml;(function(i){i.cut="cut",i.copy="copy"})(Ml||(Ml={}));let Wi=Jr=class extends ie{_handleResize(){this._nMoreCount=this.overflownTokens.length}constructor(){super(),this._resizeHandler=this._handleResize.bind(this),this._itemNav=new $i(this,{currentIndex:-1,getItemsCallback:this._getVisibleTokens.bind(this)}),this._scrollEnablement=new Av(this)}onBeforeRendering(){this._tokensCount=this._getTokens().length,this._tokens.forEach(e=>{e.singleToken=this._tokens.length===1}),this._tokens.length||this.closeMorePopover()}onEnterDOM(){Ce.register(this.contentDom,this._resizeHandler)}onExitDOM(){Ce.deregister(this.contentDom,this._resizeHandler)}async _openMorePopoverAndFireEvent(){this.preventPopoverOpen||await this.openMorePopover(),this.fireEvent("show-more-items-press")}async openMorePopover(){(await this.getPopover()).showAt(this.morePopoverOpener||this)}_getTokens(){return this.getSlottedNodes("tokens")}get _tokens(){return this.getSlottedNodes("tokens")}_onmousedown(e){if(e.target.hasAttribute("ui5-token")){const t=e.target;t.toBeDeleted||this._itemNav.setCurrentItem(t)}}onTokenSelect(){const e=this._getTokens();e.length===1&&e[0].isTruncatable&&(e[0].selected?this.openMorePopover():this.closeMorePopover())}_getVisibleTokens(){return this.disabled?[]:this._tokens.filter((e,t)=>tthis.deleteToken(o,e.detail.backSpace)):this.deleteToken(t,e.detail.backSpace)}_tokenClickDelete(e,t){const o=this._getVisibleTokens(),r=e.target,n=t?o.indexOf(t):o.indexOf(r),s=n===o.length-1?n-1:n+1,l=o[s];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:t||r})}_handleCurrentItemAfterDeletion(e){e&&!ue()&&(this._itemNav.setCurrentItem(e),setTimeout(()=>{e.focus()},0))}deleteToken(e,t){const o=this._getVisibleTokens(),r=o.indexOf(e);let n=r===o.length-1?r-1:r+1;const s=o.filter(I=>!I.selected);t?n=r===0?r+1:r-1:n=r===o.length-1?r-1:r+1;let l=o[n];if(s.length>1)for(;l&&l.selected;)l=t?o[--n]:o[++n];else l=s[0];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:e})}async itemDelete(e){const t=e.detail.item.tokenRef;if(this._getTokens().length===1&&this._getTokens()[0].isTruncatable){const o=await this.getPopover();o.addEventListener("ui5-after-close",()=>{this.fireEvent("token-delete",{ref:t})},{once:!0}),o.close()}else this.fireEvent("token-delete",{ref:t})}handleBeforeClose(){ue()&&this._getTokens().forEach(e=>{e.selected=!1})}handleBeforeOpen(){this.fireEvent("before-more-popover-open")}_onkeydown(e){if(Oa(e)&&e.preventDefault(),le(e)||Gf(e))return e.preventDefault(),this._handleTokenSelection(e,!1);vp(e)&&this._handleHomeShift(e),mp(e)&&this._handleEndShift(e),this._handleItemNavigation(e,this._tokens)}_handleItemNavigation(e,t){const o=!!(e.metaKey||e.ctrlKey),r=e.target;if(Cl(e)||Os(e)||Vn(e)||Fn(e))return this._handleArrowCtrl(e,r,t,Os(e)||Vn(e));if(fp(e)||n_(e)||ln(e)||Sr(e)||B9(e)||L2(e))return e.preventDefault(),this._handleArrowShift(r,t,n_(e)||L2(e)||Sr(e));if(Wt(e)||ki(e)||tc(e)||Ns(e))return e.preventDefault(),this._handleHome(t,ki(e)||Ns(e));if(o&&e.key.toLowerCase()==="a")return e.preventDefault(),this._toggleTokenSelection(t);if(Ct(e)||_t(e)||Xe(e)||qe(e)){const n=this._calcNextTokenIndex(this._tokens.find(s=>s.focused),t,_t(e)||qe(e));this._scrollToToken(t[n])}}_handleHome(e,t){if(!e||!e.length)return-1;const o=t?e.length-1:0;e[o].focus(),this._itemNav.setCurrentItem(e[o])}_handleHomeShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s<=r).forEach(n=>{n.selected=!0}),t[0].focus(),this._itemNav.setCurrentItem(t[0])}_handleEndShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s>=r).forEach(n=>{n.selected=!0}),t[t.length-1].focus(),this._itemNav.setCurrentItem(t[t.length-1])}_calcNextTokenIndex(e,t,o){if(!t.length)return-1;const r=t.indexOf(e);let n=o?r+1:r-1;return n>=t.length&&(n=t.length-1),n<0&&(n=0),n}_handleArrowCtrl(e,t,o,r){const n=this._calcNextTokenIndex(t,o,r);e.preventDefault(),n!==-1&&(setTimeout(()=>{o[n].focus()},0),this._scrollToToken(o[n]),this._itemNav.setCurrentItem(o[n]))}_handleArrowShift(e,t,o){const r=t.indexOf(e),n=o?r+1:r-1;n===-1||n===t.length||(e.selected=!0,t[n].selected=!0,setTimeout(()=>{t[n].focus()},0),this._scrollToToken(t[n]),this._itemNav.setCurrentItem(t[n]))}_click(e){this._handleTokenSelection(e)}_toggleTokenSelection(e){if(!e||!e.length)return;const t=e.every(o=>o.selected);e.forEach(o=>{o.selected=!t})}_handleTokenSelection(e,t=!0){const o=e.target;o.hasAttribute("ui5-token")&&(t?this._tokens:[]).forEach(n=>{n!==o&&(n.selected=!1)})}_fillClipboard(e,t){const o=t.filter(n=>n.selected).map(n=>n.text).join(`\r +`),r=n=>{n.clipboardData&&n.clipboardData.setData("text/plain",o),n.preventDefault()};document.addEventListener(e,r),document.execCommand(e),document.removeEventListener(e,r)}scrollToStart(){this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(0,0)}scrollToEnd(){const e=this.expandedContentDom&&(this.effectiveDir!=="rtl"?this.expandedContentDom.scrollWidth:-this.expandedContentDom.scrollWidth);this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(e,0,5,10)}_scrollToToken(e){if(!this.expandedContentDom)return;const t=e.getBoundingClientRect(),o=this.expandedContentDom.getBoundingClientRect();t.lefto.right&&this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft+(t.right-o.right+5),0)}async closeMorePopover(){(await this.getPopover()).close(!1,!1,!0)}get _nMoreText(){if(this._nMoreCount)return this._getVisibleTokens().length?Jr.i18nBundle.getText(m4,this._nMoreCount):Jr.i18nBundle.getText(n8,this._nMoreCount)}get showNMore(){return!this.expanded&&this.showMore&&!!this.overflownTokens.length}get contentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer--content")}get expandedContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-expanded--content")}get narrowContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-nmore--content")}get tokenizerLabel(){return Jr.i18nBundle.getText(o8)}get morePopoverTitle(){return Jr.i18nBundle.getText(r8)}get overflownTokens(){return this.contentDom?(this._getTokens().forEach(e=>{e.overflows=!1}),this._getTokens().filter(e=>{const t=this.contentDom.getBoundingClientRect(),o=e.getBoundingClientRect(),r=Number(o.right.toFixed(2)),n=Number(t.right.toFixed(2)),s=Number(o.left.toFixed(2)),l=Number(t.left.toFixed(2));return e.overflows=!this.expanded&&(sn),e.overflows})):[]}get noValueStatePopover(){return this.valueState===W.None||this.valueState===W.Success}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get _valueStateMessageIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get _isPhone(){return ue()}get _selectedTokens(){return this._getTokens().filter(e=>e.selected)}get classes(){return{wrapper:{"ui5-tokenizer-root":!0,"ui5-tokenizer-nmore--wrapper":this.showMore,"ui5-tokenizer-no-padding":!this._getTokens().length},content:{"ui5-tokenizer--content":!0,"ui5-tokenizer-expanded--content":!this.showNMore,"ui5-tokenizer-nmore--content":this.showNMore},popover:{"ui5-popover-with-value-state-header-phone":this._isPhone&&!this.noValueStatePopover,"ui5-popover-with-value-state-header":!this._isPhone&&!this.noValueStatePopover},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}get styles(){return{popover:{"min-width":this.popoverMinWidth?`${this.popoverMinWidth}px`:""},popoverValueStateMessage:{width:this.popoverMinWidth&&!ue()?`${this.popoverMinWidth}px`:"100%","min-height":"2rem"},popoverHeader:{"min-height":"2rem"},popoverHeaderTitle:{"justify-content":"left"}}}_tokensCountText(){const e=this._getTokens().length;return e===0?Jr.i18nBundle.getText(e8):e===1?Jr.i18nBundle.getText(t8):Jr.i18nBundle.getText(i8,e)}_focusLastToken(){if(this.tokens.length===0)return;const e=this.tokens[this.tokens.length-1];e.focus(),this._itemNav.setCurrentItem(e)}static async onDefine(){Jr.i18nBundle=await fe("@ui5/webcomponents")}async getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}};dr([A({type:Boolean})],Wi.prototype,"showMore",void 0);dr([A({type:Boolean})],Wi.prototype,"disabled",void 0);dr([A({type:Boolean})],Wi.prototype,"preventPopoverOpen",void 0);dr([A({type:Boolean})],Wi.prototype,"expanded",void 0);dr([A({type:Object})],Wi.prototype,"morePopoverOpener",void 0);dr([A({validator:ae})],Wi.prototype,"popoverMinWidth",void 0);dr([A({type:W,defaultValue:W.None})],Wi.prototype,"valueState",void 0);dr([A({validator:ae})],Wi.prototype,"_nMoreCount",void 0);dr([A({validator:ae})],Wi.prototype,"_tokensCount",void 0);dr([Z({type:HTMLElement,default:!0,individualSlots:!0})],Wi.prototype,"tokens",void 0);dr([Z()],Wi.prototype,"valueStateMessage",void 0);Wi=Jr=dr([K({tag:"ui5-tokenizer",languageAware:!0,renderer:de,template:bF,styles:IF,staticAreaStyles:[Vr,Za,Q_,SF],staticAreaTemplate:TF,dependencies:[fo,vo,ta,_c,Ne]}),q("token-delete",{detail:{ref:{type:HTMLElement}}}),q("show-more-items-press",{detail:{ref:{type:HTMLElement}}}),q("before-more-popover-open")],Wi);Wi.define();const C6=Wi,kF="value-help",I6="M470 41q10 9 10 23v192q0 12-10 22t-22 10H256q-14 0-23-10-9-9-9-22V64q0-14 9-23t23-9h192q13 0 22 9zm-22 23H256v192h192V64zm-96 256h32v128q0 14-9 23t-23 9H64q-12 0-23-9-9-9-9-23V160q0-14 9-23t23-9h128v32H64v288h288V320z",EF=!1,$F="SAP-icons-v4",AF="@ui5/webcomponents-icons";ee(kF,{pathData:I6,ltr:EF,collection:$F,packageName:AF});const xF="value-help",S6="M422 32q24 0 41 17t17 41v204q0 24-17 41t-41 17h-12q-11 0-18.5-7.5T384 326t7.5-18 18.5-7h12q7 0 7-7V90q0-7-7-7H218q-7 0-7 7v12q0 11-7 18.5t-18 7.5-18.5-7.5T160 102V90q0-24 17-41t41-17h204zM294 160q24 0 41 17t17 41v204q0 24-17 41t-41 17H90q-24 0-41-17t-17-41V218q0-24 17-41t41-17h204zm7 58q0-7-7-7H90q-7 0-7 7v204q0 7 7 7h204q7 0 7-7V218z",DF=!1,PF="SAP-icons-v5",OF="@ui5/webcomponents-icons";ee(xF,{pathData:S6,ltr:DF,collection:PF,packageName:OF});Se();var nd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},$1;let Ys=$1=class extends xr{constructor(){super(),this._skipOpenSuggestions=!1,this._valueHelpIconPressed=!1}valueHelpPress(){this.closePopover(),this.fireEvent("value-help-trigger")}showMorePress(){this.expandedTokenizer=!1,this.focus()}tokenDelete(e){const t=e.detail.ref,o=this.tokens.filter(n=>n.selected),r=this.tokens.length-1===0||this.tokens.length===o.length;if(!this._readonly){if(t){this.fireEvent("token-delete",{token:t}),r&&this.focus();return}o.indexOf(t)===-1&&o.push(t),o.forEach(n=>{this.fireEvent("token-delete",{token:n})})}}valueHelpMouseDown(e){const t=e.target;this.closePopover(),this.tokenizer.closeMorePopover(),this._valueHelpIconPressed=!0,t.focus()}_tokenizerFocusOut(e){const t=e.relatedTarget===this.tokenizer.staticAreaItem;!this.contains(e.relatedTarget)&&!t&&(this.tokenizer._tokens.forEach(o=>{o.selected=!1}),this.tokenizer.scrollToStart()),e.relatedTarget===this.nativeInput&&this.tokenizer.closeMorePopover()}valueHelpMouseUp(){setTimeout(()=>{this._valueHelpIconPressed=!1},0)}innerFocusIn(){this.expandedTokenizer=!0,this.focused=!0,this.tokenizer.scrollToEnd(),this.tokenizer._getTokens().forEach(e=>{e.selected=!1})}_onkeydown(e){super._onkeydown(e);const t=e.target,o=Wt(e)&&t.selectionStart===0,r=e.metaKey||e.ctrlKey,n=this.tokens;if(o)return this._skipOpenSuggestions=!0,this._focusFirstToken(e);if(Ct(e)||Hu(e))return this._skipOpenSuggestions=!0,this._handleLeft(e);this._skipOpenSuggestions=!1,zn(e)&&this.valueHelpPress(),r&&e.key.toLowerCase()==="i"&&n.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_onTokenizerKeydown(e){const t=Os(e),o=!!(e.metaKey||e.ctrlKey),r=this.tokens;if(_t(e)||ki(e)||t){e.preventDefault();const n=this.tokens.length-1;if(e.target===this.tokens[n]&&this.tokens[n]===document.activeElement)setTimeout(()=>{this.focus()},0);else if(t)return e.preventDefault(),this.tokenizer._handleArrowCtrl(e,e.target,this.tokens,!0)}if(o&&["c","x"].includes(e.key.toLowerCase())){e.preventDefault();const n=e.key.toLowerCase()==="x",s=r.filter(l=>l.selected);if(n){const l=this.tokenizer._fillClipboard(Ml.cut,s);return s.forEach(I=>{this.fireEvent("token-delete",{token:I})}),this.focus(),l}return this.tokenizer._fillClipboard(Ml.copy,s)}o&&e.key.toLowerCase()==="i"&&r.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_handleLeft(e){const t=this.getDomRef().querySelector("input").selectionStart,o=this.tokens,r=o.length&&o[o.length-1];t===0&&r&&(e.preventDefault(),r.focus(),this.tokenizer._itemNav.setCurrentItem(r))}_focusFirstToken(e){const t=this.tokens,o=t.length&&t[0];o&&(e.preventDefault(),o.focus(),this.tokenizer._itemNav.setCurrentItem(o))}_onfocusout(e){super._onfocusout(e);const t=e.relatedTarget,o=this.contains(t),r=this.shadowRoot.contains(t);!o&&!r&&(this.expandedTokenizer=!1,this.tokenizer._itemNav._currentIndex=-1)}async _onfocusin(e){const t=await this.getInputDOMRef();e.target===t&&await super._onfocusin(e)}lastItemDeleted(){setTimeout(()=>{this.focus()},0)}onBeforeRendering(){super.onBeforeRendering(),this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`),this.tokenizerAvailable=this.tokens&&this.tokens.length>0}get iconsCount(){return super.iconsCount+(this.showValueHelpIcon?1:0)}get tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}get _tokensCountText(){if(this.tokenizer)return this.tokenizer._tokensCountText()}get _tokensCountTextId(){return`${this._id}-hiddenText-nMore`}get _placeholder(){return this.tokenizer&&this.tokenizer._tokens.length?"":this.placeholder}get accInfo(){const e=`${this._tokensCountTextId} ${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{...super.accInfo.input,ariaRoledescription:this.ariaRoleDescription,ariaDescribedBy:e}}}get ariaRoleDescription(){return $1.i18nBundle.getText(v4)}get morePopoverOpener(){return this.tokens.length===1&&this.tokens[0].isTruncatable?this.tokens[0]:this}};nd([A({type:Boolean})],Ys.prototype,"showValueHelpIcon",void 0);nd([A({type:Boolean})],Ys.prototype,"expandedTokenizer",void 0);nd([A({type:Boolean})],Ys.prototype,"tokenizerAvailable",void 0);nd([Z()],Ys.prototype,"tokens",void 0);Ys=$1=nd([K({tag:"ui5-multi-input",renderer:de,template:oF,styles:[xr.styles,nF],dependencies:[...xr.dependencies,C6,T6,Be]}),q("value-help-trigger"),q("token-delete",{detail:{token:{type:HTMLElement}}})],Ys);Ys.define();function BF(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-menu-rp" class="ui5-menu-rp" horizontal-align="Left" placement-type=${a(this.placementType)} vertical-align=${a(this.verticalAlign)} hide-arrow allow-target-overlap ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)}>${this.isPhone?q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?j0.call(this,i,e,t):Z0.call(this,i,e,t)}
    `:w`${this.isPhone?q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?j0.call(this,i,e,t):Z0.call(this,i,e,t)}
    `}function q0(i,e,t){return t?w`
    ${this.isSubMenuOpened?W0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${D("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:w`
    ${this.isSubMenuOpened?W0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function W0(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:w``}function j0(i,e,t){return t?w`<${D("ui5-list",e,t)} id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" accessible-role="menu" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>G0.call(this,i,e,t,o,r))}`:w`${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>G0.call(this,i,e,t,o,r))}`}function G0(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="menuitem" .additionalText="${a(o.item._additionalText)}" ._ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>
    ${o.item.hasDummyIcon?Y0.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?X0.call(this,i,e,t,o,r):K0.call(this,i,e,t,o,r)}
    `:w`
    ${o.item.hasDummyIcon?Y0.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?X0.call(this,i,e,t,o,r):K0.call(this,i,e,t,o,r)}
    `}function Y0(i,e,t,o,r){return w`
    `}function X0(i,e,t,o,r){return t?w`
    <${D("ui5-icon",e,t)} part="subicon" name="slim-arrow-right" class="ui5-menu-item-icon-end">
    `:w`
    `}function K0(i,e,t,o,r){return w`${o.item._siblingsWithChildren?RF.call(this,i,e,t,o,r):void 0}`}function RF(i,e,t,o,r){return w`
    `}function Z0(i,e,t){return w`${this.busy?LF.call(this,i,e,t):void 0}`}function LF(i,e,t){return t?w`<${D("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const k6={packageName:"@ui5/webcomponents",fileName:"themes/Menu.css.ts",content:`.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v1-22-1-rc-0_menu_popover_border_radius);max-width:20rem}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item-no-icon-end{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item[additional-text] .ui5-menu-item-no-icon-end{display:none}.ui5-menu-item-dummy-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.5rem;pointer-events:none}.ui5-menu-item-submenu-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v1-22-1-rc-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem}.ui5-menu-dialog-title>div{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-item::part(title){font-size:var(--sapFontSize);padding-top:.125rem}.ui5-menu-item[icon]:not([is-phone])::part(title),.ui5-menu-item[is-phone]:not([icon=""])::part(title){padding-top:0}.ui5-menu-item:not([is-phone])::part(native-li){padding:var(--_ui5-v1-22-1-rc-0_menu_item_padding)}.ui5-menu-item[starts-section]{border-top:1px solid var(--sapGroup_ContentBorderColor)}.ui5-menu-item[active] .ui5-menu-item-icon-end{color:var(--sapList_Active_TextColor)}.ui5-menu-item[focused]:not([active]){background-color:var(--sapList_Hover_Background)}.ui5-menu-rp[sub-menu]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset)}.ui5-menu-rp[sub-menu][actual-placement-type=Left]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset)}.ui5-menu-item::part(additional-text){margin-inline-start:var(--_ui5-v1-22-1-rc-0_menu_item_additional_text_start_margin);color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ui5-menu-item-text:has(.ui5-menu-item-submenu-icon){padding-inline-end:1rem} +`};var mo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Mc;const NF=300,MF=400;let gi=Mc=class extends ie{static async onDefine(){Mc.i18nBundle=await fe("@ui5/webcomponents")}get itemsWithChildren(){return!!this._currentItems.filter(e=>e.item.items.length).length}get itemsWithIcon(){return!!this._currentItems.filter(e=>e.item.icon!=="").length}get isRtl(){return this.effectiveDir==="rtl"}get placementType(){const e=this.isRtl?"Left":"Right";return this._isSubMenu?e:"Bottom"}get verticalAlign(){return this._isSubMenu?"Top":"Bottom"}get labelBack(){return Mc.i18nBundle.getText(g8)}get labelClose(){return Mc.i18nBundle.getText(b8)}get isPhone(){return ue()}get isSubMenuOpened(){return!!this._parentMenuItem}get menuHeaderTextPhone(){return this._parentMenuItem?this._parentMenuItem.text:this.headerText}onBeforeRendering(){!ue()&&this._prepareCurrentItems(this.items);const e=this.itemsWithChildren,t=this.itemsWithIcon;this._currentItems.forEach(o=>{o.item._siblingsWithChildren=e,o.item._siblingsWithIcon=t;const r=o.item._subMenu,n=o.item;if(r&&r.busy){r.innerHTML="";const s=this._clonedItemsFragment(n);r.appendChild(s)}r&&(r.busy=o.item.busy,r.busyDelay=o.item.busyDelay)})}onAfterRendering(){if(this.opener)if(this.open){const e=this.getOpener();e&&this.showAt(e)}else this.close()}async showAt(e){ue()&&(this._prepareCurrentItems(this.items),this._parentItemsStack=[]),this._isSubMenu||(this._parentMenuItem=void 0);const t=await this._createPopover();t.initialFocus="";for(let o=0;o({item:t,position:o+1,ariaHasPopup:t.hasSubmenu?"menu":void 0}))}_createSubMenu(e,t){const o=this.constructor,r=document.createElement(o.getMetadata().getTag());r._isSubMenu=!0,r.setAttribute("id",`submenu-${t}`),r._parentMenuItem=e,r.busy=e.busy,r.busyDelay=e.busyDelay;const n=this._clonedItemsFragment(e);r.appendChild(n),this.staticAreaItem.shadowRoot.querySelector(".ui5-menu-submenus").appendChild(r),e._subMenu=r}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;othis._closeSubMenuPopover(e._subMenu),0))}_closeSubMenuPopover(e,t=!1){if(e){const o=e._parentMenuItem;(t||!o._preventSubMenuClose)&&(e.close(),e.remove(),o._subMenu=void 0,this._openedSubMenuItem=void 0,this._subMenuOpenerId="")}}_prepareSubMenuDesktopTablet(e,t,o){(o!==this._subMenuOpenerId||e&&e.hasSubmenu)&&this._closeItemSubMenu(this._openedSubMenuItem,!0),e&&e.hasSubmenu&&(this._createSubMenu(e,o),this._openItemSubMenu(e,t,o)),this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_prepareSubMenuPhone(e){this._prepareCurrentItems(e.items),this._parentMenuItem=e,this._parentItemsStack.push(e)}_startOpenTimeout(e,t,o){this._clearTimeout(),this._timeout=setTimeout(()=>{this._prepareSubMenuDesktopTablet(e,t,o)},NF)}_startCloseTimeout(e){this._clearTimeout(),this._timeout=setTimeout(()=>{this._closeItemSubMenu(e)},MF)}_clearTimeout(){this._timeout&&clearTimeout(this._timeout)}_itemMouseOver(e){if(Qo()){const t=e.target,o=t.associatedItem,r=t.getAttribute("id");t.focus(),this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_busyMouseOver(){this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_itemMouseOut(e){if(Qo()){const o=e.target.associatedItem;this._clearTimeout(),o&&o.hasSubmenu&&o._subMenu&&(o._preventSubMenuClose=!1,this._startCloseTimeout(o))}}_itemKeyDown(e){const t=this.isRtl?_t(e):Ct(e),o=this.isRtl?Ct(e):_t(e);if(Ie(e)&&e.preventDefault(),o){const r=e.target,n=r.associatedItem,s=r.getAttribute("id");n.hasSubmenu&&this._prepareSubMenuDesktopTablet(n,r,s)}else t&&this._isSubMenu&&this._parentMenuItem&&this._parentMenuItem.parentElement._closeItemSubMenu(this._parentMenuItem,!0)}_itemClick(e){const t=e.detail.item,o=t.associatedItem,r=t.getAttribute("id");if(o.hasSubmenu)ue()?this._prepareSubMenuPhone(o):Ql()&&this._prepareSubMenuDesktopTablet(o,t,r);else if(!this._isSubMenu)ue()&&(this._parentMenuItem=void 0),!this.fireEvent("item-click",{item:o,text:o.text},!0,!1)||this._popover.close();else{const n=this._findMainMenu(o);if(!!n.fireEvent("item-click",{item:o,text:o.text},!0,!1)){let l=o,I=l.parentElement;do l._preventSubMenuClose=!1,this._closeItemSubMenu(l),I=l.parentElement,l=I._parentMenuItem;while(I._parentMenuItem);n._popover.close()}}}_findMainMenu(e){let t=e.parentElement;for(;t._parentMenuItem;)t=t._parentMenuItem.parentElement;return t}_beforePopoverOpen(e){!this.fireEvent("before-open",{},!0,!1)&&(this.open=!1,e.preventDefault())}_afterPopoverOpen(){this.open=!0,this.fireEvent("after-open",{},!1,!1)}_beforePopoverClose(e){if(!this.fireEvent("before-close",{escPressed:e.detail.escPressed},!0,!1)){this.open=!0,e.preventDefault();return}this._openedSubMenuItem&&(this._openedSubMenuItem._preventSubMenuClose=!1,this._closeItemSubMenu(this._openedSubMenuItem))}_afterPopoverClose(){this.open=!1,this.fireEvent("after-close",{},!1,!1)}};mo([A()],gi.prototype,"headerText",void 0);mo([A({type:Boolean})],gi.prototype,"open",void 0);mo([A({type:Boolean})],gi.prototype,"busy",void 0);mo([A({validator:ae,defaultValue:1e3})],gi.prototype,"busyDelay",void 0);mo([A({validator:j_,defaultValue:""})],gi.prototype,"opener",void 0);mo([A({type:Boolean,noAttribute:!0})],gi.prototype,"_isSubMenu",void 0);mo([A()],gi.prototype,"_subMenuOpenerId",void 0);mo([A({type:Object,multiple:!0})],gi.prototype,"_currentItems",void 0);mo([A({type:Object,multiple:!0})],gi.prototype,"_parentItemsStack",void 0);mo([A({type:Object,defaultValue:void 0})],gi.prototype,"_popover",void 0);mo([A({type:Object,defaultValue:void 0})],gi.prototype,"_parentMenuItem",void 0);mo([A({type:Object,defaultValue:void 0})],gi.prototype,"_openedSubMenuItem",void 0);mo([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],gi.prototype,"items",void 0);gi=Mc=mo([K({tag:"ui5-menu",renderer:de,staticAreaStyles:k6,staticAreaTemplate:BF,dependencies:[fo,Ne,vo,ta,Be,tl]}),q("item-click",{detail:{item:{type:HTMLElement},text:{type:String}}}),q("before-open",{detail:{item:{type:HTMLElement}}}),q("after-open"),q("before-close",{detail:{escPressed:{type:Boolean}}}),q("after-close")],gi);gi.define();const FF=gi;var go=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let bi=class extends ie{get hasSubmenu(){return!!(this.items.length||this.busy)}get hasDummyIcon(){return this._siblingsWithIcon&&!this.icon}get subMenuOpened(){return!!this._subMenu}get _additionalText(){return this.hasSubmenu?"":this.additionalText}get ariaLabelledByText(){return`${this.text} ${this.accessibleName}`.trim()}};go([A()],bi.prototype,"text",void 0);go([A()],bi.prototype,"additionalText",void 0);go([A()],bi.prototype,"icon",void 0);go([A({type:Boolean})],bi.prototype,"startsSection",void 0);go([A({type:Boolean})],bi.prototype,"disabled",void 0);go([A({type:Boolean})],bi.prototype,"busy",void 0);go([A({validator:ae,defaultValue:1e3})],bi.prototype,"busyDelay",void 0);go([A()],bi.prototype,"accessibleName",void 0);go([A({type:Boolean,noAttribute:!0})],bi.prototype,"_siblingsWithChildren",void 0);go([A({type:Boolean,noAttribute:!0})],bi.prototype,"_siblingsWithIcon",void 0);go([A({type:Boolean,noAttribute:!0})],bi.prototype,"_preventSubMenuClose",void 0);go([A({type:Object,defaultValue:void 0})],bi.prototype,"_subMenu",void 0);go([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],bi.prototype,"items",void 0);bi=go([K("ui5-menu-item")],bi);bi.define();const VF=bi;function zF(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-navigation-menu-rp" class="ui5-menu-rp ui5-navigation-menu" vertical-align="Center" ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)} accessible-name-ref="${a(this._id)}-navigationMenuPopoverText">${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?Q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?em.call(this,i,e,t):lm.call(this,i,e,t)}
    `:w`${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?Q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?em.call(this,i,e,t):lm.call(this,i,e,t)}
    `}function Q0(i,e,t){return t?w`
    ${this.isSubMenuOpened?J0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${D("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:w`
    ${this.isSubMenuOpened?J0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function J0(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:w``}function em(i,e,t){return t?w`<${D("ui5-list",e,t)} accessible-role="tree" id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>tm.call(this,i,e,t,o,r))}`:w`${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>tm.call(this,i,e,t,o,r))}`}function tm(i,e,t,o,r){return w`${o.item.href?HF.call(this,i,e,t,o,r):qF.call(this,i,e,t,o,r)}`}function HF(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .associatedItem="${a(o.item)}" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="none" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown} class="ui5-menu-item ui5-navigation-menu-item">${o.item.hasDummyIcon?im.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?om.call(this,i,e,t,o,r):rm.call(this,i,e,t,o,r)}`:w`${o.item.hasDummyIcon?im.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?om.call(this,i,e,t,o,r):rm.call(this,i,e,t,o,r)}`}function im(i,e,t,o,r){return w`
    `}function om(i,e,t,o,r){return t?w`<${D("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:w``}function rm(i,e,t,o,r){return w`${o.item._siblingsWithChildren?UF.call(this,i,e,t,o,r):void 0}`}function UF(i,e,t,o,r){return w`
    `}function qF(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item ui5-navigation-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="treeitem" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>${o.item.hasDummyIcon?nm.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?am.call(this,i,e,t,o,r):sm.call(this,i,e,t,o,r)}`:w`${o.item.hasDummyIcon?nm.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?am.call(this,i,e,t,o,r):sm.call(this,i,e,t,o,r)}`}function nm(i,e,t,o,r){return w`
    `}function am(i,e,t,o,r){return t?w`<${D("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:w``}function sm(i,e,t,o,r){return w`${o.item._siblingsWithChildren?WF.call(this,i,e,t,o,r):void 0}`}function WF(i,e,t,o,r){return w`
    `}function lm(i,e,t){return w`${this.busy?jF.call(this,i,e,t):void 0}`}function jF(i,e,t){return t?w`<${D("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const GF={packageName:"@ui5/webcomponents",fileName:"themes/NavigationMenu.css.ts",content:`.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-navigation-menu .ui5-navigation-menu-main{padding:var(--_ui5-v1-22-1-rc-0_side_navigation_parent_popup_padding)}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li){padding-left:.5rem;width:auto}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li):after{border-radius:.375rem;inset:0}.ui5-navigation-menu .ui5-navigation-menu-item{display:flex;align-items:center;width:100%;box-sizing:border-box;position:relative;height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);min-height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);border-radius:.375rem;transition:var(--_ui5-v1-22-1-rc-0_side_navigation_item_transition);color:var(--sapList_TextColor);font-weight:700;font-size:var(--sapFontSize);border-bottom:none}.ui5-navigation-menu .ui5-navigation-menu-item a{display:flex;align-items:center;text-decoration:none;color:var(--sapList_TextColor)}.ui5-navigation-menu[sub-menu] .ui5-navigation-menu-item{font-weight:400}.ui5-menu-rp.ui5-navigation-menu{box-shadow:var(--_ui5-v1-22-1-rc-0_side_navigation_popup_box_shadow);width:auto;min-width:10rem;height:auto;background:var(--sapGroup_ContentBackground);border:none;border-radius:.75rem}.ui5-navigation-menu .ui5-navigation-menu-item .ui5-menu-item-icon-end{position:relative;inset-inline-end:auto;width:.75rem;height:.75rem;color:var(--sapList_TextColor)}.ui5-navigation-menu .ui5-navigation-menu-item::part(icon){color:var(--sapList_TextColor);min-width:1rem;min-height:1rem}.ui5-navigation-menu .ui5-menu-item[focused]:not([active]){background:none} +`};var E6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},A1;let Iu=A1=class extends FF{_itemMouseOver(e){if(Qo()){const t=e.target;let o=t.associatedItem;const r=t.getAttribute("id");if(!o){const n=t.parentElement;t.parentElement&&(o=n.associatedItem)}this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Su=class extends VF{};Nv([A()],Su.prototype,"href",void 0);Nv([A()],Su.prototype,"target",void 0);Su=Nv([K("ui5-navigation-menu-item")],Su);Su.define();const $6=i=>{let e,t,o,r,n,s,l,I,y,C,b,v;const g=Ev({beforeStart:()=>{i.style.display="block",e=getComputedStyle(i),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=i.style.overflow,I=i.style.paddingTop,y=i.style.paddingBottom,C=i.style.marginTop,b=i.style.marginBottom,v=i.style.height,i.style.overflow="hidden",i.style.paddingTop="0",i.style.paddingBottom="0",i.style.marginTop="0",i.style.marginBottom="0",i.style.height="0"},duration:$v,element:i,advance:p=>{i.style.display="block",i.style.paddingTop=`${t*p}px`,i.style.paddingBottom=`${o*p}px`,i.style.marginTop=`${r*p}px`,i.style.marginBottom=`${n*p}px`,i.style.height=`${s*p}px`}});return g.promise().then(()=>{i.style.overflow=l,i.style.paddingTop=I,i.style.paddingBottom=y,i.style.marginTop=C,i.style.marginBottom=b,i.style.height=v}),g},A6=i=>{let e,t,o,r,n,s,l,I,y,C,b,v;const g=Ev({beforeStart:()=>{const p=i;e=getComputedStyle(p),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=p.style.overflow,I=p.style.paddingTop,y=p.style.paddingBottom,C=p.style.marginTop,b=p.style.marginBottom,v=p.style.height,p.style.overflow="hidden"},duration:$v,element:i,advance:p=>{i.style.paddingTop=`${t-t*p}px`,i.style.paddingBottom=`${o-o*p}px`,i.style.marginTop=`${r-r*p}px`,i.style.marginBottom=`${n-n*p}px`,i.style.height=`${s-s*p}px`}});return g.promise().then(p=>{p instanceof Error||(i.style.overflow=l,i.style.paddingTop=I,i.style.paddingBottom=y,i.style.marginTop=C,i.style.marginBottom=b,i.style.height=v,i.style.display="none")}),g};var x1;(function(i){i.Complementary="Complementary",i.Form="Form",i.Region="Region"})(x1||(x1={}));const cm=x1;function XF(i,e,t){return w`
    ${this.hasHeaderOrHeaderText?KF.call(this,i,e,t):void 0}
    `}function KF(i,e,t){return w`
    ${this.fixed?void 0:ZF.call(this,i,e,t)}${this._hasHeader?eV.call(this,i,e,t):tV.call(this,i,e,t)}
    `}function ZF(i,e,t){return w`
    ${this._hasHeader?QF.call(this,i,e,t):JF.call(this,i,e,t)}
    `}function QF(i,e,t){return t?w`<${D("ui5-button",e,t)} design="Transparent" class="ui5-panel-header-button ui5-panel-header-button-with-icon" @click="${this._toggleButtonClick}" .accessibilityAttributes=${a(this.accInfo.button.accessibilityAttributes)} tooltip="${a(this.accInfo.button.title)}" accessible-name="${a(this.accInfo.button.ariaLabelButton)}">
    <${D("ui5-icon",e,t)} class="ui5-panel-header-icon ${j(this.classes.headerBtn)}" name="slim-arrow-right">
    `:w`
    `}function JF(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-panel-header-button ui5-panel-header-icon ${j(this.classes.headerBtn)}" name="slim-arrow-right" show-tooltip accessible-name="${a(this.toggleButtonTitle)}">`:w``}function eV(i,e,t){return w``}function tV(i,e,t){return w`
    ${a(this.headerText)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iV={packageName:"@ui5/webcomponents",fileName:"themes/Panel.css.ts",content:`.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}:host{font-family:"72override",var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v1-22-1-rc-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v1-22-1-rc-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v1-22-1-rc-0_panel_header_padding_right);font-family:"72override",var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v1-22-1-rc-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v1-22-1-rc-0_panel_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);top:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);left:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);right:var(--_ui5-v1-22-1-rc-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v1-22-1-rc-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v1-22-1-rc-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v1-22-1-rc-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v1-22-1-rc-0_panel_button_root_width);height:var(--_ui5-v1-22-1-rc-0_panel_button_root_height);padding:var(--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v1-22-1-rc-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column} +`};var bo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},jd;let Ai=jd=class extends ie{onBeforeRendering(){this._animationRunning||(this._contentExpanded=!this.collapsed),this._hasHeader=!!this.header.length}shouldToggle(e){return this.header.length?e.classList.contains("ui5-panel-header-button"):!0}shouldNotAnimate(){return this.noAnimation||Ra()===Un.None}_headerClick(e){this.shouldToggle(e.target)&&this._toggleOpen()}_toggleButtonClick(e){e.x===0&&e.y===0&&e.stopImmediatePropagation()}_headerKeyDown(e){this.shouldToggle(e.target)&&(Ie(e)&&e.preventDefault(),le(e)&&e.preventDefault())}_headerKeyUp(e){this.shouldToggle(e.target)&&(Ie(e)&&this._toggleOpen(),le(e)&&this._toggleOpen())}_toggleOpen(){if(this.fixed)return;if(this.collapsed=!this.collapsed,this.shouldNotAnimate()){this.fireEvent("toggle");return}this._animationRunning=!0;const e=this.getDomRef().querySelectorAll(".ui5-panel-content"),t=[];[].forEach.call(e,o=>{this.collapsed?t.push(A6(o).promise()):t.push($6(o).promise())}),Promise.all(t).then(()=>{this._animationRunning=!1,this._contentExpanded=!this.collapsed,this.fireEvent("toggle")})}_headerOnTarget(e){return e.classList.contains("sapMPanelWrappingDiv")}get classes(){return{headerBtn:{"ui5-panel-header-button-animated":!this.shouldNotAnimate()},stickyHeaderClass:{"ui5-panel-heading-wrapper-sticky":this.stickyHeader}}}get toggleButtonTitle(){return jd.i18nBundle.getText(g4)}get expanded(){return!this.collapsed}get accRole(){return this.accessibleRole.toLowerCase()}get effectiveAccessibleName(){return typeof this.accessibleName=="string"&&this.accessibleName.length?this.accessibleName:void 0}get accInfo(){return{button:{accessibilityAttributes:{expanded:this.expanded},title:this.toggleButtonTitle,ariaLabelButton:!this.nonFocusableButton&&this.useAccessibleNameForToggleButton?this.effectiveAccessibleName:void 0},ariaExpanded:this.nonFixedInternalHeader?this.expanded:void 0,ariaControls:this.nonFixedInternalHeader?`${this._id}-content`:void 0,ariaLabelledby:this.nonFocusableButton?this.ariaLabelledbyReference:void 0,role:this.nonFixedInternalHeader?"button":void 0}}get ariaLabelledbyReference(){return this.nonFocusableButton&&this.headerText&&!this.fixed?`${this._id}-header-title`:void 0}get fixedPanelAriaLabelledbyReference(){return this.fixed&&!this.effectiveAccessibleName?`${this._id}-header-title`:void 0}get headerAriaLevel(){return this.headerLevel.slice(1)}get headerTabIndex(){return this.header.length||this.fixed?"-1":"0"}get headingWrapperAriaLevel(){return this._hasHeader?void 0:this.headerAriaLevel}get headingWrapperRole(){return this._hasHeader?void 0:"heading"}get nonFixedInternalHeader(){return!this._hasHeader&&!this.fixed}get hasHeaderOrHeaderText(){return this._hasHeader||this.headerText}get nonFocusableButton(){return!this.header.length}get styles(){return{content:{display:this._contentExpanded?"block":"none"}}}static async onDefine(){jd.i18nBundle=await fe("@ui5/webcomponents")}};bo([A()],Ai.prototype,"headerText",void 0);bo([A({type:Boolean})],Ai.prototype,"fixed",void 0);bo([A({type:Boolean})],Ai.prototype,"collapsed",void 0);bo([A({type:Boolean})],Ai.prototype,"noAnimation",void 0);bo([A({type:cm,defaultValue:cm.Form})],Ai.prototype,"accessibleRole",void 0);bo([A({type:Ol,defaultValue:Ol.H2})],Ai.prototype,"headerLevel",void 0);bo([A()],Ai.prototype,"accessibleName",void 0);bo([A({type:Boolean})],Ai.prototype,"stickyHeader",void 0);bo([A({type:Boolean})],Ai.prototype,"useAccessibleNameForToggleButton",void 0);bo([A({type:Boolean})],Ai.prototype,"_hasHeader",void 0);bo([A({type:Boolean,noAttribute:!0})],Ai.prototype,"_contentExpanded",void 0);bo([A({type:Boolean,noAttribute:!0})],Ai.prototype,"_animationRunning",void 0);bo([Z()],Ai.prototype,"header",void 0);Ai=jd=bo([K({tag:"ui5-panel",fastNavigation:!0,languageAware:!0,renderer:de,template:XF,styles:iV,dependencies:[Ne,Be]}),q("toggle")],Ai);Ai.define();const oV=500,Id=new Map,hs=new Map,rV=i=>{const e=i.host,t=i.propName,o=e[t];let r;if(o===void 0||o==="")r=void 0;else if(o instanceof HTMLElement)r=o;else{const l=e.getRootNode();r=l.getElementById&&l.getElementById(o)||void 0}const n=`${e._id}-${t}`,s=Id.get(n);if(!r){if(s&&(i.onDisconnect&&i.onDisconnect(s),Id.delete(n)),typeof o=="string"&&o&&!hs.has(n)){const l=setInterval(()=>{const I=e.getRootNode();I.getElementById&&I.getElementById(o)&&(clearInterval(hs.get(n)),hs.delete(n),Pf(e))},oV);hs.set(n,l)}return}return hs.has(n)&&(clearInterval(hs.get(n)),hs.delete(n)),s!==r&&(s&&i.onDisconnect&&i.onDisconnect(s),i.onConnect&&i.onConnect(r),Id.set(n,r)),Id.get(n)};var ra=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let tr=class extends ie{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};ra([A({type:Boolean})],tr.prototype,"selected",void 0);ra([A({type:Boolean})],tr.prototype,"disabled",void 0);ra([A()],tr.prototype,"title",void 0);ra([A({defaultValue:null})],tr.prototype,"icon",void 0);ra([A()],tr.prototype,"value",void 0);ra([A()],tr.prototype,"additionalText",void 0);ra([A({type:Boolean})],tr.prototype,"focused",void 0);ra([Z({type:Node,default:!0,invalidateOnChildChange:!0})],tr.prototype,"text",void 0);tr=ra([K("ui5-option")],tr);tr.define();const x6=tr;function nV(i,e,t){return w`
    ${this.selectedOptionIcon?aV.call(this,i,e,t):void 0}
    ${this.hasCustomLabel?sV.call(this,i,e,t):lV.call(this,i,e,t)}
    ${this.readonly?void 0:cV.call(this,i,e,t)}${this.hasValueState?uV.call(this,i,e,t):void 0}
    `}function aV(i,e,t){return t?w`<${D("ui5-icon",e,t)} aria-hidden="true" class="ui5-select-option-icon" name="${a(this.selectedOptionIcon)}">`:w``}function sV(i,e,t){return w``}function lV(i,e,t){return w`${a(this._text)}`}function cV(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="slim-arrow-down" input-icon ?pressed="${this._iconPressed}">`:w``}function uV(i,e,t){return w`${a(this.valueStateText)}`}function dV(i,e,t){return w`${this.options?_V.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?gV.call(this,i,e,t):void 0}`}function _V(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} hide-arrow _disable-initial-focus placement-type="Bottom" class="ui5-select-popover ${j(this.classes.popover)}" horizontal-align="Left" @ui5-after-open="${a(this._afterOpen)}" @ui5-before-open="${a(this._beforeOpen)}" @ui5-after-close="${a(this._afterClose)}" @keydown="${this._onkeydown}" style=${Y(this.styles.responsivePopover)}>${this._isPhone?um.call(this,i,e,t):void 0}${this._isPhone?void 0:_m.call(this,i,e,t)}<${D("ui5-list",e,t)} mode="SingleSelectAuto" separators="None" @mousedown="${this._itemMousedown}" @ui5-item-click="${a(this._handleItemPress)}">${X(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>fm.call(this,i,e,t,o,r))}`:w`${this._isPhone?um.call(this,i,e,t):void 0}${this._isPhone?void 0:_m.call(this,i,e,t)}${X(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>fm.call(this,i,e,t,o,r))}`}function um(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._toggleRespPopover}">
    ${this.hasValueStateText?dm.call(this,i,e,t):void 0}
    `:w`
    ${a(this._headerTitleText)}
    ${this.hasValueStateText?dm.call(this,i,e,t):void 0}
    `}function dm(i,e,t){return w`
    ${this.shouldDisplayDefaultValueStateMessage?hV.call(this,i,e,t):pV.call(this,i,e,t)}
    `}function hV(i,e,t){return w`${a(this.valueStateText)}`}function pV(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>fV.call(this,i,e,t,o,r))}`}function fV(i,e,t,o,r){return w`${a(o)}`}function _m(i,e,t){return w`${this.hasValueStateText?vV.call(this,i,e,t):void 0}`}function vV(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?hm.call(this,i,e,t):pm.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?hm.call(this,i,e,t):pm.call(this,i,e,t)}
    `}function hm(i,e,t){return w`${a(this.valueStateText)}`}function pm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>mV.call(this,i,e,t,o,r))}`}function mV(i,e,t,o,r){return w`${a(o)}`}function fm(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} id="${a(o.id)}-li" icon="${a(o.icon)}" ?selected="${o.selected}" ?focused="${o._focused}" title="${a(o.title)}" additional-text="${a(o.additionalText)}" ?aria-selected="${o.selected}" data-ui5-stable="${a(o.stableDomRef)}">${a(o.textContent)}`:w`${a(o.textContent)}`}function gV(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?vm.call(this,i,e,t):mm.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?vm.call(this,i,e,t):mm.call(this,i,e,t)}
    `}function vm(i,e,t){return w`${a(this.valueStateText)}`}function mm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>bV.call(this,i,e,t,o,r))}`}function bV(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const yV={packageName:"@ui5/webcomponents",fileName:"themes/Select.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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-select-root{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v1-22-1-rc-0_select_label_color);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const wV={packageName:"@ui5/webcomponents",fileName:"themes/SelectPopover.css.ts",content:`.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover [ui5-li]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)} +`};var Qt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Qi;let St=Qi=class extends ie{constructor(){super(),this._syncedOptions=[],this._selectedIndexBeforeOpen=-1,this._escapePressed=!1,this._lastSelectedOption=null,this._typedChars="",this._onMenuClick=this.onMenuClick.bind(this),this._onMenuClose=this.onMenuClose.bind(this),this._onMenuOpen=this.onMenuOpen.bind(this),this._onMenuBeforeOpen=this.onMenuBeforeOpen.bind(this),this._onMenuChange=this.onMenuChange.bind(this),this._attachMenuListeners=this.attachMenuListeners.bind(this),this._detachMenuListeners=this.detachMenuListeners.bind(this),this._upgradeProperty("value")}onBeforeRendering(){const e=this._getSelectMenu();e?(e.value=this.value,e.selectId=this.__id):this._syncSelection(),this._enableFormSupport(),this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`)}onAfterRendering(){this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this._isPickerOpen&&(this._listWidth||(this._listWidth=this.responsivePopover.offsetWidth)),this._attachRealDomRefs()}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get _isPickerOpen(){const e=this._getSelectMenu();return e?e.open:!!this.responsivePopover&&this.responsivePopover.opened}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}set value(e){const t=this._getSelectMenu();Array.from(t?t.children:this.children).filter(r=>!r.getAttribute("disabled")).forEach(r=>{r.selected=(r.getAttribute("value")||r.textContent)===e})}get value(){var e,t;return((e=this.selectedOption)==null?void 0:e.value)||((t=this.selectedOption)==null?void 0:t.textContent)||""}get selectedOption(){return this.selectOptions.find(e=>e.selected)}onMenuClick(e){const t=e.detail.optionIndex;this._handleSelectionChange(t)}onMenuBeforeOpen(){this._beforeOpen()}onMenuOpen(){this._afterOpen()}onMenuClose(){this._afterClose()}onMenuChange(e){this._text=e.detail.text,this._selectedIndex=e.detail.selectedIndex}_toggleSelectMenu(){const e=this._getSelectMenu();e&&(e.open?e.close():e.showAt(this,this.offsetWidth))}onExitDOM(){const e=this._getSelectMenu();e&&this._detachMenuListeners(e)}async _toggleRespPopover(){if(this.disabled||this.readonly)return;if(this._iconPressed=!0,this._getSelectMenu()){this._toggleSelectMenu();return}this.responsivePopover=await this._respPopover(),this._isPickerOpen?this.responsivePopover.close():this.responsivePopover.showAt(this)}async _attachRealDomRefs(){this.responsivePopover=await this._respPopover(),this.options.forEach(e=>{e._getRealDomRef=()=>this.responsivePopover.querySelector(`*[data-ui5-stable=${e.stableDomRef}]`)})}_syncSelection(){let e=-1,t=-1;const o=this._filteredItems,r=o.map((n,s)=>(n.selected&&(e=s),t===-1&&(t=s),n.selected=!1,n.focused=!1,{selected:!1,focused:!1,icon:n.icon,value:n.value,textContent:n.textContent,title:n.title,additionalText:n.additionalText,id:n._id,stableDomRef:n.stableDomRef}));e>-1?(r[e].selected=!0,r[e].focused=!0,o[e].selected=!0,o[e].focused=!0,this._text=r[e].textContent,this._selectedIndex=e):(this._text="",this._selectedIndex=-1,r[t]&&(r[t].selected=!0,r[t].focused=!0,o[t].selected=!0,o[t].focused=!0,this._selectedIndex=t,this._text=o[t].textContent)),this._syncedOptions=r}_getSelectMenu(){return rV({host:this,propName:"menu",onConnect:this._attachMenuListeners,onDisconnect:this._detachMenuListeners})}attachMenuListeners(e){e.addEventListener("ui5-after-close",this._onMenuClose),e.addEventListener("ui5-after-open",this._onMenuOpen),e.addEventListener("ui5-before-open",this._onMenuBeforeOpen),e.addEventListener("ui5-option-click",this._onMenuClick),e.addEventListener("ui5-menu-change",this._onMenuChange)}detachMenuListeners(e){e.removeEventListener("ui5-after-close",this._onMenuClose),e.removeEventListener("ui5-after-open",this._onMenuOpen),e.removeEventListener("ui5-before-open",this._onMenuBeforeOpen),e.removeEventListener("ui5-option-click",this._onMenuClick),e.removeEventListener("ui5-menu-change",this._onMenuChange)}_enableFormSupport(){const e=ze("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.disabled=!!t.disabled,o.value=r.value}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onkeydown(e){if((Pt(e)||Mi(e))&&this._isPickerOpen){const o=this._getSelectMenu();o?o.close(!1,!1,!0):this.responsivePopover.close()}else zn(e)?(e.preventDefault(),this._toggleRespPopover()):le(e)?e.preventDefault():Ni(e)&&this._isPickerOpen?this._escapePressed=!0:Wt(e)?this._handleHomeKey(e):ki(e)?this._handleEndKey(e):Ie(e)?this._handleSelectionChange():(Xe(e)||qe(e))&&this._handleArrowNavigation(e)}_handleKeyboardNavigation(e){if(Ie(e)||this.readonly)return;const t=e.key.toLowerCase();this._typedChars+=t;const o=/^(.)\1+$/i.test(this._typedChars)?t:this._typedChars;clearTimeout(this._typingTimeoutID),this._typingTimeoutID=setTimeout(()=>{this._typedChars="",this._typingTimeoutID=-1},1e3),this._selectTypedItem(o)}_selectTypedItem(e){const t=this._selectedIndex,o=this._searchNextItemByText(e);if(o){const r=this.selectOptions.indexOf(o);this._changeSelectedItem(this._selectedIndex,r),t!==this._selectedIndex&&this.itemSelectionAnnounce()}}_searchNextItemByText(e){let t=this.selectOptions.slice(0);const o=t.splice(this._selectedIndex+1,t.length-this._selectedIndex),r=t.splice(0,t.length-1);return t=o.concat(r),t.find(n=>(n.displayText||n.textContent||"").toLowerCase().startsWith(e))}_handleHomeKey(e){e.preventDefault(),!this.readonly&&this._changeSelectedItem(this._selectedIndex,0)}_handleEndKey(e){if(e.preventDefault(),this.readonly)return;const t=this.selectOptions.length-1;this._changeSelectedItem(this._selectedIndex,t)}_onkeyup(e){le(e)&&(this._isPickerOpen?this._handleSelectionChange():this._toggleRespPopover())}_getSelectedItemIndex(e){return this.selectOptions.findIndex(t=>`${t._id}-li`===e.id)}_select(e){this.selectOptions[this._selectedIndex].selected=!1,this._selectedIndex!==e&&this.fireEvent("live-change",{selectedOption:this.selectOptions[e]}),this._selectedIndex=e,this.selectOptions[e].selected=!0}_handleItemPress(e){const t=e.detail.item,o=this._getSelectedItemIndex(t);this._handleSelectionChange(o)}_itemMousedown(e){e.preventDefault()}_onclick(){this.getFocusDomRef().focus(),this._toggleRespPopover()}_handleSelectionChange(e=this._selectedIndex){this._select(e),this._toggleRespPopover()}_scrollSelectedItem(){var e;if(this._isPickerOpen){const t=(e=this._currentlySelectedOption)==null?void 0:e.getDomRef();t&&t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}_handleArrowNavigation(e){if(e.preventDefault(),this.readonly)return;let t=-1;const o=this._selectedIndex;qe(e)?t=this._getNextOptionIndex():t=this._getPreviousOptionIndex(),this._changeSelectedItem(this._selectedIndex,t),o!==this._selectedIndex&&(this.itemSelectionAnnounce(),this._scrollSelectedItem())}_changeSelectedItem(e,t){const o=this.selectOptions,r=o[e];r.selected=!1,r.focused=!1;const n=o[t];n.selected=!0,n.focused=!0,this._selectedIndex=t,this.fireEvent("live-change",{selectedOption:n}),this._isPickerOpen||this._fireChangeEvent(n)}_getNextOptionIndex(){const e=this._getSelectMenu();return e?this._selectedIndex===e.options.length-1?this._selectedIndex:this._selectedIndex+1:this._selectedIndex===this.options.length-1?this._selectedIndex:this._selectedIndex+1}_getPreviousOptionIndex(){return this._selectedIndex===0?this._selectedIndex:this._selectedIndex-1}_beforeOpen(){this._selectedIndexBeforeOpen=this._selectedIndex,this._lastSelectedOption=this.selectOptions[this._selectedIndex]}_afterOpen(){this.opened=!0,this.fireEvent("open"),this.itemSelectionAnnounce(),this._scrollSelectedItem()}_afterClose(){this.opened=!1,this._iconPressed=!1,this._listWidth=0,this._escapePressed?(this._select(this._selectedIndexBeforeOpen),this._escapePressed=!1):this._lastSelectedOption!==this.selectOptions[this._selectedIndex]&&(this._fireChangeEvent(this.selectOptions[this._selectedIndex]),this._lastSelectedOption=this.selectOptions[this._selectedIndex]),this.fireEvent("close")}get selectOptions(){const e=this._getSelectMenu();return e?e.options:this._filteredItems}get hasCustomLabel(){return!!this.label.length}_fireChangeEvent(e){const t=!this.fireEvent("change",{selectedOption:e},!0);this.selectedItem=e.textContent,this.fireEvent("selected-item-changed"),t&&(this.selectedItem=this._lastSelectedOption.textContent,this._select(this._selectedIndexBeforeOpen))}get valueStateTextMappings(){return{[W.Success]:Qi.i18nBundle.getText(In),[W.Information]:Qi.i18nBundle.getText(Jn),[W.Error]:Qi.i18nBundle.getText(Tn),[W.Warning]:Qi.i18nBundle.getText(Cn)}}get valueStateTypeMappings(){return{[W.Success]:Qi.i18nBundle.getText(ac),[W.Information]:Qi.i18nBundle.getText(sc),[W.Error]:Qi.i18nBundle.getText(rc),[W.Warning]:Qi.i18nBundle.getText(nc)}}get valueStateText(){let e;return this.shouldDisplayDefaultValueStateMessage?e=this.valueStateDefaultText:e=this.valueStateMessageText.map(t=>t.textContent).join(" "),`${this.valueStateTypeText} ${e}`}get valueStateDefaultText(){return this.valueState!==W.None?this.valueStateTextMappings[this.valueState]:""}get valueStateTypeText(){return this.valueState!==W.None?this.valueStateTypeMappings[this.valueState]:""}get hasValueState(){return this.valueState!==W.None}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:void 0}get isDisabled(){return this.disabled||void 0}get _headerTitleText(){return Qi.i18nBundle.getText(oc)}get _currentlySelectedOption(){return this.selectOptions[this._selectedIndex]}get _effectiveTabIndex(){return this.disabled||this.responsivePopover&&this.responsivePopover.opened?"-1":"0"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get iconsCount(){return this.selectedOptionIcon?2:1}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{popoverHeader:{"max-width":`${this.offsetWidth}px`},responsivePopoverHeader:{display:this._filteredItems.length&&this._listWidth===0?"none":"inline-block",width:`${this._filteredItems.length?this._listWidth:this.offsetWidth}px`},responsivePopover:{"min-width":`${this.offsetWidth}px`}}}get ariaLabelText(){return Kt(this)}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessageText.length&&this.hasValueStateText}get hasValueStateText(){return this.hasValueState&&this.valueState!==W.Success}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this._iconPressed&&!this._isPickerOpen&&!this._isPhone}get _ariaRoleDescription(){return Qi.i18nBundle.getText(G3)}get _isPhone(){return ue()}get _filteredItems(){return this.options.filter(e=>!e.disabled)}itemSelectionAnnounce(){let e;const t=this.selectOptions.length,o=Qi.i18nBundle.getText(V_,this._selectedIndex+1,t);this.focused&&this._currentlySelectedOption&&(e=`${this._currentlySelectedOption.textContent} ${this._isPickerOpen?o:""}`,Xc(e,Bs.Polite))}async openValueStatePopover(){this.valueStatePopover=await this._getPopover(),this.valueStatePopover&&this.valueStatePopover.showAt(this)}closeValueStatePopover(){this.valueStatePopover&&this.valueStatePopover.close()}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}get selectedOptionIcon(){return this.selectedOption&&this.selectedOption.icon}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}static async onDefine(){Qi.i18nBundle=await fe("@ui5/webcomponents")}};Qt([A({validator:j_})],St.prototype,"menu",void 0);Qt([A({type:Boolean})],St.prototype,"disabled",void 0);Qt([A()],St.prototype,"name",void 0);Qt([A({type:W,defaultValue:W.None})],St.prototype,"valueState",void 0);Qt([A({type:Boolean})],St.prototype,"required",void 0);Qt([A({type:Boolean})],St.prototype,"readonly",void 0);Qt([A()],St.prototype,"accessibleName",void 0);Qt([A()],St.prototype,"accessibleNameRef",void 0);Qt([A({type:String,noAttribute:!0})],St.prototype,"_text",void 0);Qt([A({type:Boolean,noAttribute:!0})],St.prototype,"_iconPressed",void 0);Qt([A({type:Boolean})],St.prototype,"opened",void 0);Qt([A({validator:ae,defaultValue:0,noAttribute:!0})],St.prototype,"_listWidth",void 0);Qt([A({type:Boolean})],St.prototype,"focused",void 0);Qt([A({validator:ae,defaultValue:-1,noAttribute:!0})],St.prototype,"_selectedIndex",void 0);Qt([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],St.prototype,"options",void 0);Qt([Z()],St.prototype,"formSupport",void 0);Qt([Z()],St.prototype,"valueStateMessage",void 0);Qt([Z()],St.prototype,"label",void 0);St=Qi=Qt([K({tag:"ui5-select",languageAware:!0,renderer:de,template:nV,staticAreaTemplate:dV,styles:yV,staticAreaStyles:[Vr,Za,wV],dependencies:[x6,ea,fo,Vi,vo,ta,Be,Ne]}),q("change",{detail:{selectedOption:{type:HTMLElement}}}),q("live-change",{detail:{selectedOption:{type:HTMLElement}}}),q("open"),q("close")],St);St.define();const TV=St;function CV(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} class="ui5-select-menu" placement-type="Bottom" horizontal-align="Left" @ui5-after-open="${a(this._onAfterOpen)}" @ui5-after-close="${a(this._onAfterClose)}" @ui5-before-open="${a(this._onBeforeOpen)}" hide-arrow _disable-initial-focus style=${Y(this.styles.responsivePopover)}>${this._isPhone?gm.call(this,i,e,t):void 0}${this._isPhone?void 0:ym.call(this,i,e,t)}<${D("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOptionClick)}">`:w`${this._isPhone?gm.call(this,i,e,t):void 0}${this._isPhone?void 0:ym.call(this,i,e,t)}`}function gm(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._onCloseBtnClick}">
    ${this.hasValueState?bm.call(this,i,e,t):void 0}
    `:w`
    ${a(this._headerTitleText)}
    ${this.hasValueState?bm.call(this,i,e,t):void 0}
    `}function bm(i,e,t){return w`
    ${this.hasValueStateSlot?IV.call(this,i,e,t):kV.call(this,i,e,t)}
    `}function IV(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>SV.call(this,i,e,t,o,r))}`}function SV(i,e,t,o,r){return w`${a(o)}`}function kV(i,e,t){return w`${a(this.valueStateText)}`}function ym(i,e,t){return w`${this.hasValueState?EV.call(this,i,e,t):void 0}`}function EV(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.hasValueStateSlot?wm.call(this,i,e,t):Tm.call(this,i,e,t)}
    `:w`
    ${this.hasValueStateSlot?wm.call(this,i,e,t):Tm.call(this,i,e,t)}
    `}function wm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>$V.call(this,i,e,t,o,r))}`}function $V(i,e,t,o,r){return w`${a(o)}`}function Tm(i,e,t){return w`${a(this.valueStateText)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const AV={packageName:"@ui5/webcomponents",fileName:"themes/SelectMenu.css.ts",content:`.ui5-select-menu::part(content),.ui5-select-menu::part(header){padding:0}.ui5-select-menu [ui5-li-custom]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-menu [ui5-li-custom]::part(native-li){padding:0}.ui5-select-menu [ui5-icon]{color:var(--sapList_TextColor)} +`};var na=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Pr=class extends ie{constructor(){super(),this.valueStateMessageText=[]}showAt(e,t){this.selectWidth=t,this.respPopover.open=!0,this.respPopover.opener=e,this.hasValueState=!!e.hasValueState,this.hasValueStateSlot=e.valueStateMessageText.length>0,this.valueStateText=e.valueStateText,this.valueStateMessageText=e.valueStateMessageText,this.valueState=e.valueState,this._headerTitleText=e._headerTitleText}close(e=!1,t=!1,o=!1){this.respPopover.close(e,t,o)}onBeforeRendering(){this._syncSelection()}_syncSelection(){let e=-1,t=-1,o,r;const n=this.options;if(n.forEach((s,l)=>(s.selected&&(e=l),t===-1&&(t=l),s.selected=!1,s.focused=!1,s)),e>-1){const s=n[e];s.selected=!0,s.focused=!0,o=s.displayText||String(s.textContent),r=e}else{o="",r=-1;const s=n[t];s&&(s.selected=!0,s.focused=!0,r=t,o=s.displayText||String(s.textContent))}this.fireEvent("menu-change",{text:o,selectedIndex:r})}_onOptionClick(e){const t=e.detail.item,o=this.options.findIndex(r=>t.__id===r.__id);this.fireEvent("option-click",{option:t,optionIndex:o})}_onBeforeOpen(){this.fireEvent("before-open")}_onAfterOpen(){this.fireEvent("after-open")}_onAfterClose(){this.fireEvent("after-close")}_onCloseBtnClick(){this.close()}get open(){var e;return!!((e=this.respPopover)!=null&&e.open)}get respPopover(){return this.shadowRoot.querySelector(".ui5-select-menu")}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{valueStatePopover:{width:`${this.selectWidth}px`},responsivePopover:{"min-width":`${this.selectWidth}px`}}}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get _isPhone(){return ue()}};na([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],Pr.prototype,"options",void 0);na([A({validator:ae})],Pr.prototype,"selectWidth",void 0);na([A({type:Boolean})],Pr.prototype,"hasValueState",void 0);na([A({type:Boolean})],Pr.prototype,"hasValueStateSlot",void 0);na([A({type:W,defaultValue:W.None})],Pr.prototype,"valueState",void 0);na([A()],Pr.prototype,"valueStateText",void 0);na([A({type:String,noAttribute:!0})],Pr.prototype,"value",void 0);na([A({type:String,noAttribute:!0})],Pr.prototype,"selectId",void 0);Pr=na([K({tag:"ui5-select-menu",renderer:de,styles:[AV,Za,Vr],template:CV,dependencies:[fo,vo,Ne]}),q("option-click",{detail:{option:{type:HTMLElement},optionIndex:{type:ae}}}),q("before-open"),q("after-open"),q("after-close"),q("menu-change",{detail:{text:{type:String},selectedIndex:{type:ae}}})],Pr);Pr.define();function D6(i,e,t){return w`
  • ${this.placeSelectionElementBefore?xV.call(this,i,e,t):void 0}
    ${this.typeDetail?LV.call(this,i,e,t):void 0}${this.typeNavigation?NV.call(this,i,e,t):void 0}${this.navigated?MV.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?FV.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function xV(i,e,t){return w`${this.modeSingleSelect?DV.call(this,i,e,t):void 0}${this.modeMultiSelect?PV.call(this,i,e,t):void 0}${this.renderDeleteButton?OV.call(this,i,e,t):void 0}`}function DV(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function PV(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function OV(i,e,t){return w`
    ${this.hasDeleteButtonSlot?BV.call(this,i,e,t):RV.call(this,i,e,t)}
    `}function BV(i,e,t){return w``}function RV(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}function LV(i,e,t){return t?w`
    <${D("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:w`
    `}function NV(i,e,t){return t?w`<${D("ui5-icon",e,t)} name ="slim-arrow-right">`:w``}function MV(i,e,t){return w`
    `}function FV(i,e,t){return w`${this.modeSingleSelect?VV.call(this,i,e,t):void 0}${this.modeMultiSelect?zV.call(this,i,e,t):void 0}${this.renderDeleteButton?HV.call(this,i,e,t):void 0}`}function VV(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function zV(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function HV(i,e,t){return w`
    ${this.hasDeleteButtonSlot?UV.call(this,i,e,t):qV.call(this,i,e,t)}
    `}function UV(i,e,t){return w``}function qV(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const WV={packageName:"@ui5/webcomponents",fileName:"themes/CustomListItem.css.ts",content:`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_custom_list_item_rb_min_width)} +`};var P6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ku=class extends un{_onkeydown(e){!(Pt(e)||Mi(e))&&!this.focused||super._onkeydown(e)}_onkeyup(e){!(Pt(e)||Mi(e))&&!this.focused||super._onkeyup(e)}get classes(){const e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}};P6([A()],ku.prototype,"accessibleName",void 0);ku=P6([K({tag:"ui5-li-custom",template:D6,styles:[un.styles,WV]})],ku);ku.define();const Mv=ku;var Ja=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let _n=class extends Mv{get stableDomRef(){return""}get _accInfo(){const e={ariaSelected:this.selected};return{...super._accInfo,...e}}};Ja([A()],_n.prototype,"displayText",void 0);Ja([A({type:Boolean})],_n.prototype,"disabled",void 0);Ja([A()],_n.prototype,"value",void 0);Ja([A({type:qt,defaultValue:qt.Active})],_n.prototype,"type",void 0);Ja([A({type:Object})],_n.prototype,"accessibilityAttributes",void 0);Ja([A({type:Boolean})],_n.prototype,"navigated",void 0);Ja([Z()],_n.prototype,"deleteButton",void 0);_n=Ja([K({tag:"ui5-select-menu-option",renderer:de,styles:Mv.styles,template:D6,dependencies:[]})],_n);_n.define();function jV(i,e,t){return t?w`
    <${D("ui5-button",e,t)} class="ui5-split-text-button" design="${a(this.design)}" dir=${a(this.effectiveDir)} icon="${a(this._textButtonIcon)}" tabindex="-1" ?disabled="${this.disabled}" ?active="${this._textButtonActive}" @click="${this._handleMouseClick}" @touchstart=${this._textButtonPress} @mousedown=${this._textButtonPress} @mouseup=${this._textButtonRelease} @focusin=${this._textButtonFocusIn} @focusout=${this._onFocusOut}>${this.isTextButton?Cm.call(this,i,e,t):void 0}<${D("ui5-button",e,t)} dir=${a(this.effectiveDir)} class="ui5-split-arrow-button" design="${a(this.design)}" icon="slim-arrow-down" tabindex="-1" ?disabled="${this.disabled}" ?active="${this.effectiveActiveArrowButton}" aria-expanded="${a(this.accessibilityInfo.ariaExpanded)}" aria-haspopup="${a(this.accessibilityInfo.ariaHaspopup)}" @click="${this._handleArrowButtonAction}" @mousedown=${this._arrowButtonPress} @mouseup=${this._arrowButtonRelease} @focusin=${this._setTabIndexValue} @ui5-_active-state-change=${a(this._onArrowButtonActiveStateChange)}>${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `:w`
    ${this.isTextButton?Cm.call(this,i,e,t):void 0}${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `}function Cm(i,e,t){return w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const GV={packageName:"@ui5/webcomponents",fileName:"themes/SplitButton.css.ts",content:`: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-flex;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_button_border_radius);background-color:var(--sapButton_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_default_box_shadow)}:host([active-arrow-button][design="Negative"]) .ui5-split-arrow-button,:host([design="Negative"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Reject_Selected_Background);border:.0625rem solid var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([active-arrow-button][design="Positive"]) .ui5-split-arrow-button,:host([design="Positive"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Accept_Selected_Background);border:.0625rem solid var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([active-arrow-button][design="Attention"]) .ui5-split-arrow-button,:host([design="Attention"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Attention_Selected_Background);border:.0625rem solid var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([active-arrow-button][design="Emphasized"]) .ui5-split-arrow-button,:host([design="Emphasized"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Emphasized_Active_Background);border:.0625rem solid var(--sapButton_Emphasized_Active_BorderColor)}:host([active-arrow-button][design="Transparent"]) .ui5-split-arrow-button,:host([active-arrow-button]) .ui5-split-arrow-button,:host([design="Transparent"]) .ui5-split-arrow-button[active],:host([design="Default"]) .ui5-split-arrow-button[active],.ui5-split-arrow-button[active],.ui5-split-arrow-button[active]:hover{background-color:var(--sapButton_Active_Background);border:.0625rem solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([disabled]:not([hidden])){pointer-events:none}:host([design="Positive"]:not([hidden])){background-color:var(--sapButton_Accept_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_positive_box_shadow)}:host([design="Negative"]:not([hidden])){background-color:var(--sapButton_Reject_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_negative_box_shadow)}:host([design="Attention"]:not([hidden])){background-color:var(--sapButton_Attention_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_attention_box_shadow)}:host([design="Emphasized"]:not([hidden])){background-color:var(--sapButton_Emphasized_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_emphasized_box_shadow)}:host([design="Transparent"]:not([hidden])){background-color:var(--sapButton_Lite_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_box_shadow)}:host([design="Transparent"][disabled]:not([hidden])){background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_disabled_background)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_box_shadow)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button:not(:hover),:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-text-button:not(:hover){color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_color)}:host([focused]) .ui5-split-button-root{outline:0}:host([focused]) .ui5-split-button-root:after{content:"";position:absolute;box-sizing:border-box;inset:.125rem;border:var(--_ui5-v1-22-1-rc-0_split_button_focused_border);pointer-events:none;border-radius:var(--_ui5-v1-22-1-rc-0_split_button_focused_border_radius)}:host([design="Emphasized"][focused]) .ui5-split-button-root:after{border-color:var(--sapContent_ContrastFocusColor)}.ui5-split-button-root{display:inline-flex;position:relative;width:inherit}.ui5-split-button-root:focus,.ui5-split-text-button:focus,.ui5-split-arrow-button:focus{outline:0}.ui5-split-text-button{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-width:.0625rem;border-inline-end-width:var(--_ui5-v1-22-1-rc-0_split_button_text_button_right_border_width);border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);vertical-align:top;flex-grow:1}.ui5-split-text-button:hover{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border_right)}.ui5-split-text-button[design=Emphasized]{border:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border);border-width:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border_width)}.ui5-split-text-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background)}.ui5-split-text-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_right)}.ui5-split-text-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_right)}.ui5-split-text-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_right)}.ui5-split-text-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_right)}.ui5-split-text-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border-color:var(--sapButton_Emphasized_Active_BorderColor)}.ui5-split-text-button[active][design=Negative]{background-color:var(--sapButton_Reject_Selected_Background);color:var(--sapButton_Reject_Active_TextColor);border-color:var(--sapButton_Reject_Active_BorderColor)}.ui5-split-text-button[active][design=Positive]{background-color:var(--sapButton_Accept_Selected_Background);color:var(--sapButton_Accept_Active_TextColor);border-color:var(--sapButton_Accept_Active_BorderColor)}.ui5-split-text-button[active][design=Attention]{background-color:var(--sapButton_Attention_Selected_Background);color:var(--sapButton_Attention_Active_TextColor);border-color:var(--sapButton_Attention_Active_BorderColor)}.ui5-split-text-button[active][design=Default],.ui5-split-text-button[active][design=Transparent]{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor);border-color:var(--sapButton_Active_BorderColor)}.ui5-split-text-button[active]{outline:0}.ui5-split-arrow-button{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);width:2.25rem;border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);position:relative;border-width:.0625rem;overflow:visible}.ui5-split-arrow-button:hover{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_hover_border)}.ui5-split-arrow-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border);box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow, none)}[dir=rtl].ui5-split-arrow-button[design=Emphasized]:hover{box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow_rtl, none)}.ui5-split-arrow-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_positive_hover_border)}.ui5-split-arrow-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_negative_hover_border)}.ui5-split-arrow-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_attention_hover_border)}.ui5-split-arrow-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_transparent_hover_border)}.ui5-split-arrow-button:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;width:.0625rem;background-color:var(--sapButton_TextColor);inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height)}.ui5-split-arrow-button[design=Emphasized]:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);inset-inline-end:0;height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height);width:.0625rem}.ui5-split-text-button:hover+.ui5-split-arrow-button:before,.ui5-split-arrow-button:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display)}.ui5-split-arrow-button[design=Emphasized]:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display_emphasized)}.ui5-split-arrow-button[design=Transparent]:before{background-color:var(--sapButton_Lite_TextColor)}.ui5-split-arrow-button[design=Emphasized]:before{background-color:var(--sapButton_Emphasized_TextColor)}.ui5-split-arrow-button[design=Positive]:before{background-color:var(--sapButton_Accept_TextColor)}.ui5-split-arrow-button[design=Negative]:before{background-color:var(--sapButton_Reject_TextColor)}.ui5-split-arrow-button[design=Attention]:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color_default)}.ui5-split-arrow-button[focused]::part(button):after{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[focused]::part(button):after{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[active][design=Emphasized]{color:var(--sapButton_Emphasized_Active_TextColor);background-color:var(--sapButton_Emphasized_Active_Background)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button,.ui5-split-arrow-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border)}:host([design="Transparent"][active-arrow-button]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button{color:var(--sapButton_Active_TextColor)}:host([active-arrow-button]) .ui5-split-arrow-button{border:.0625rem solid var(--sapButton_Lite_Active_BorderColor)}:host([active-arrow-button]) .ui5-split-arrow-button:before,.ui5-split-arrow-button[active]:before,.ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--sapButton_TextColor)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Emphasized"]) .ui5-split-arrow-button[active]:before,:host([design="Emphasized"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_emphasized_separator_color)}:host([design="Positive"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Positive"]) .ui5-split-arrow-button[active]:before,:host([design="Positive"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_positive_separator_color)}:host([design="Negative"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Negative"]) .ui5-split-arrow-button[active]:before,:host([design="Negative"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_negative_separator_color)}:host([design="Attention"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Attention"]) .ui5-split-arrow-button[active]:before,:host([design="Attention"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color)} +`};var Pi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ys;let si=ys=class extends ie{static async onDefine(){ys.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super(),this._isDefaultActionPressed=!1,this._isKeyDownOperation=!1;const e=()=>{this._textButtonActive=!0,this.focused=!1,this._tabIndex="-1"};this._textButtonPress={handleEvent:e,passive:!0}}_manageFocus(e){[this.textButton,this.arrowButton,this].forEach(o=>{o.focused=o===e})}onBeforeRendering(){this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this.disabled&&(this._tabIndex="-1")}_handleMouseClick(e){const t=e.target;this._manageFocus(t),this._fireClick(e)}_onFocusOut(e){this.disabled||Ko(e)||(this._shiftOrEscapePressed=!1,this._setTabIndexValue(),this._manageFocus())}_onFocusIn(e){this.disabled||Ko(e)||(this._shiftOrEscapePressed=!1,this._manageFocus(this))}_textButtonFocusIn(e){e==null||e.stopPropagation(),this._manageFocus(this.textButton),this._setTabIndexValue()}_onKeyDown(e){this._isKeyDownOperation=!0,this._isArrowKeyAction(e)?(this._handleArrowButtonAction(e),this._activeArrowButton=!0):this._isDefaultAction(e)&&(this._handleDefaultAction(e),this._isDefaultActionPressed=!0),this._spacePressed&&this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._isDefaultActionPressed&&(Pt(e)||Mi(e))&&(this._activeArrowButton=!1,this._textButtonActive=!1),this._tabIndex="-1"}_onKeyUp(e){this._isKeyDownOperation=!1,this._isArrowKeyAction(e)?(e.preventDefault(),this._activeArrowButton=!1,this._textButtonActive=!1):this._isDefaultAction(e)&&(this._isDefaultActionPressed=!1,this._textButtonActive=!1,le(e)&&(e.preventDefault(),e.stopPropagation(),this._fireClick(),this._spacePressed=!1,this._textButtonActive=!1)),this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._tabIndex="-1"}_fireClick(e){e==null||e.stopPropagation(),this._shiftOrEscapePressed||this.fireEvent("click"),this._shiftOrEscapePressed=!1}_fireArrowClick(e){e==null||e.stopPropagation(),this.fireEvent("arrow-click")}_textButtonRelease(){this._textButtonActive=!1,this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this._tabIndex="-1"}_arrowButtonPress(e){e.preventDefault(),this.arrowButton.focus(),this._tabIndex="-1"}_arrowButtonRelease(e){e.preventDefault(),this._tabIndex="-1"}_setTabIndexValue(){var e,t;this._tabIndex=this.disabled?"-1":"0",this._tabIndex==="-1"&&((e=this.textButton)!=null&&e.focused||(t=this.arrowButton)!=null&&t.focused)&&(this._tabIndex="0")}_onArrowButtonActiveStateChange(e){this.activeArrowButton&&e.preventDefault()}_isArrowKeyAction(e){return qe(e)||Xe(e)||Yf(e)||r_(e)||L_(e)}_isDefaultAction(e){return le(e)||Ie(e)}_isShiftOrEscape(e){return Ni(e)||H9(e)}_handleArrowButtonAction(e){e.preventDefault(),this._fireArrowClick(e),le(e)&&(this._spacePressed=!0)}_handleDefaultAction(e){var o;e.preventDefault();const t=le(e);this.focused||(o=this.textButton)!=null&&o.focused?(this._textButtonActive=!0,this._fireClick(),t&&(this._spacePressed=!0)):this.arrowButton&&this.arrowButton.focused&&(this._activeArrowButton=!0,this._fireArrowClick(),t&&(this._spacePressed=!0,this._textButtonActive=!1))}_handleShiftOrEscapePressed(){this._shiftOrEscapePressed=!0,this._textButtonActive=!1,this._isKeyDownOperation=!1}get effectiveActiveArrowButton(){return this.activeArrowButton||this._activeArrowButton}get textButtonAccText(){return this.textContent}get isTextButton(){return!!this.textContent}get textButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-text-button")}get arrowButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-arrow-button")}get accessibilityInfo(){return{ariaExpanded:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaExpanded,ariaHaspopup:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaHaspopup,description:ys.i18nBundle.getText(Op),keyboardHint:ys.i18nBundle.getText(Bp)}}get ariaLabelText(){return[ys.i18nBundle.getText(Op),ys.i18nBundle.getText(Bp)].join(" ")}};Pi([A()],si.prototype,"icon",void 0);Pi([A()],si.prototype,"activeIcon",void 0);Pi([A({type:Boolean})],si.prototype,"activeArrowButton",void 0);Pi([A({type:Jo,defaultValue:Jo.Default})],si.prototype,"design",void 0);Pi([A({type:Boolean})],si.prototype,"disabled",void 0);Pi([A({defaultValue:void 0})],si.prototype,"accessibleName",void 0);Pi([A({type:Boolean})],si.prototype,"focused",void 0);Pi([A({type:Object})],si.prototype,"_splitButtonAccInfo",void 0);Pi([A({defaultValue:"0",noAttribute:!0})],si.prototype,"_tabIndex",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_spacePressed",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_shiftOrEscapePressed",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_textButtonActive",void 0);Pi([A({noAttribute:!0})],si.prototype,"_textButtonIcon",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_activeArrowButton",void 0);Pi([Z({type:Node,default:!0})],si.prototype,"text",void 0);si=ys=Pi([K({tag:"ui5-split-button",renderer:de,styles:GV,template:jV,dependencies:[Ne]}),q("click"),q("arrow-click")],si);si.define();function YV(i,e,t){return t?w`
    ${this.readonly?void 0:Im.call(this,i,e,t)}<${D("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-step-input-input" placeholder="${a(this.placeholder)}" type="${a(this.type)}" value="${a(this._valuePrecisioned)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" ._nativeInputAttributes="${a(this.inputAttributes)}" @ui5-change="${a(this._onInputChange)}" @focusout="${this._onInputFocusOut}" @focusin="${this._onInputFocusIn}">${this.valueStateMessage.length?Sm.call(this,i,e,t):void 0}${this.readonly?void 0:km.call(this,i,e,t)}
    `:w`
    ${this.readonly?void 0:Im.call(this,i,e,t)}${this.valueStateMessage.length?Sm.call(this,i,e,t):void 0}${this.readonly?void 0:km.call(this,i,e,t)}
    `}function Im(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} id="${a(this._id)}-dec" name="${a(this.decIconName)}" tabindex="-1" accessible-name="${a(this.decIconTitle)}" @click="${this._decValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._decSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._decIconClickable}">
    `:w`
    `}function Sm(i,e,t){return w``}function km(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} id="${a(this._id)}-inc" name="${a(this.incIconName)}" tabindex="-1" accessible-name="${a(this.incIconTitle)}" @click="${this._incValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._incSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._incIconClickable}">
    `:w`
    `}const XV="less",O6="M464 224q16 0 16 16v32q0 16-16 16H48q-6 0-11-4.5T32 272v-32q0-7 5-11.5t11-4.5h416z",KV=!1,ZV="SAP-icons-v4",QV="@ui5/webcomponents-icons";ee(XV,{pathData:O6,ltr:KV,collection:ZV,packageName:QV});const JV="less",B6="M454 275H58q-11 0-18.5-7T32 250t7.5-18.5T58 224h396q11 0 18.5 7.5T480 250t-7.5 18-18.5 7z",ez=!1,tz="SAP-icons-v5",iz="@ui5/webcomponents-icons";ee(JV,{pathData:B6,ltr:ez,collection:tz,packageName:iz});Se();const oz="add",R6="M32 240q0-7 5-11.5t11-4.5h176V48q0-7 5-11.5t11-4.5h32q16 0 16 16v176h176q16 0 16 16v32q0 16-16 16H288v176q0 16-16 16h-32q-6 0-11-4.5t-5-11.5V288H48q-6 0-11-4.5T32 272v-32z",rz=!1,nz=eT,az="SAP-icons-v4",sz="@ui5/webcomponents-icons";ee(oz,{pathData:R6,ltr:rz,accData:nz,collection:az,packageName:sz});const lz="add",L6="M454 230q11 0 18.5 7.5T480 256t-7.5 18.5T454 282H282v172q0 11-7.5 18.5T256 480t-18.5-7.5T230 454V282H58q-11 0-18.5-7.5T32 256t7.5-18.5T58 230h172V58q0-11 7.5-18.5T256 32t18.5 7.5T282 58v172h172z",cz=!1,uz=eT,dz="SAP-icons-v5",_z="@ui5/webcomponents-icons";ee(lz,{pathData:L6,ltr:cz,accData:uz,collection:dz,packageName:_z});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const hz={packageName:"@ui5/webcomponents",fileName:"themes/StepInput.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;width:100%;line-height:normal;letter-spacing:normal;word-spacing:normal}:host{--ui5-v1-22-1-rc-0_input_focus_pseudo_element_content: none;color:var(--sapField_TextColor);background-color:var(--sapField_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style);border-radius:var(--sapField_BorderCornerRadius);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_input_height);position:relative;min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);text-align:right}:host .ui5-step-input-input{text-align:inherit}:host(:not([value-state]):not([readonly]):not([disabled])){box-shadow:none}:host(:not([value-state]):not([readonly]):not([disabled]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_step_input_border_color_hover);border:var(--_ui5-v1-22-1-rc-0_step_input_border_hover)}:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover){background-color:var(--sapField_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style_hover);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InformationShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Error"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):hover),:host([value-state="Error"]:not([readonly]):not([disabled]):hover),:host([value-state="Information"]:not([readonly]):not([disabled]):hover),:host([value-state="Warning"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0-step_input_button_state_hover_background_color)}:host(:not([value-state]):not([readonly]):not([disabled])[focused]),:host([value-state="None"]:not([readonly]):not([disabled])[focused]),:host([value-state="Success"]:not([readonly]):not([disabled])[focused]),:host([value-state="Error"]:not([readonly]):not([disabled])[focused]),:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),:host([value-state="Warning"]:not([readonly]):not([disabled])[focused]){background-color:var(--sapField_Focus_Background)}:host([value-state="Success"]:not([readonly]):not([disabled])):after,:host([value-state="Error"]:not([readonly]):not([disabled])):after,:host([value-state="None"]:not([readonly]):not([disabled])):after,:host([value-state="Information"]:not([readonly]):not([disabled])):after,:host([value-state="Warning"]:not([readonly]):not([disabled])):after{position:absolute;content:"";inset:-1px;outline:none;pointer-events:none;border-radius:var(--sapField_BorderCornerRadius);border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style);z-index:1;border-width:0px}:host([value-state="Information"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InformationColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state="Warning"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_WarningColor);border-width:2px}:host([value-state="Success"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_SuccessColor);border-width:1px}:host([value-state="Error"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InvalidColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state]):after{border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input{background-color:var(--_ui5-v1-22-1-rc-0_input_input_background_color)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input:hover{background-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_background_color)}:host([value-state]:not([value-state="None"]) .ui5-step-input-input[focused]){outline:none}:host .ui5-step-input-input{width:100%;color:inherit;background-color:inherit;border:var(--_ui5-v1-22-1-rc-0_step_input_input_border);box-sizing:border-box;vertical-align:top;margin-top:var(--_ui5-v1-22-1-rc-0_step_input_input_margin_top);min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);padding-inline-start:var(--_ui5-v1-22-1-rc-0_step_input_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_step_input_padding);position:relative;outline:none;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[readonly]{padding:0}:host .ui5-step-input-input:hover,:host .ui5-step-input-input[focused]{box-shadow:none}:host .ui5-step-input-root{white-space:nowrap;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[text-align=left]{text-align:left}:host .ui5-step-input-input[text-align=center]{text-align:center}:host .ui5-step-input-input[text-align=right]{text-align:right}:host .ui5-step-icon{position:absolute;display:var(--_ui5-v1-22-1-rc-0_step_input_button_display);height:2rem;height:100%;background-color:var(--_ui5-v1-22-1-rc-0_step_input_button_background_color);z-index:0}:host .ui5-step-icon[focused]{border:none;outline:none}:host .ui5-step-icon.ui5-step-dec{left:var(--_ui5-v1-22-1-rc-0_step_input_button_left);z-index:1}:host .ui5-step-icon.ui5-step-inc{right:var(--_ui5-v1-22-1-rc-0_step_input_button_right)}:host .ui5-step-icon *:not([clickable]),:host .ui5-step-icon *:not([clickable]):active,:host .ui5-step-icon *:not([clickable]):hover{opacity:.5;background-color:transparent;color:var(--sapContent_IconColor)}:host .ui5-step-icon :not([clickable]) *:hover,:host .ui5-step-icon :not([clickable]) *:active{background-color:var(--sapField_Background);color:var(--sapContent_IconColor)}:host .ui5-step-input-input[focused]:after{position:absolute;content:"";border:var(--_ui5-v1-22-1-rc-0_step_input_input_border_focused_after);top:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);right:0;bottom:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);border-radius:var(--_ui5-v1-22-1-rc-0_step_input_input_border_radius_focused_after);left:0;outline:none;pointer-events:none;z-index:1}:host .ui5-step-input-input[focused]{outline:none}:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_information_border_color_focused_after)}:host([value-state="Warning"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_warning_border_color_focused_after)}:host([value-state="Success"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_success_border_color_focused_after)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_border_color_focused_after)}:host .ui5-step-input-input::-webkit-outer-spin-button,:host .ui5-step-input-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host([disabled]) .ui5-step-icon{background-color:var(--_ui5-v1-22-1-rc-0_step_input_disabled_button_background)}:host([disabled]) .ui5-step-icon [ui5-icon]{color:var(--sapField_ReadOnly_BorderColor)} +`};var st=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Fc;const pz=500,fz=.8,Em=50,vz=120;let et=Fc=class extends ie{static async onDefine(){Fc.i18nBundle=await fe("@ui5/webcomponents")}get type(){return Rl.Number}get decIconTitle(){return Fc.i18nBundle.getText(v8)}get decIconName(){return"less"}get incIconTitle(){return Fc.i18nBundle.getText(m8)}get incIconName(){return"add"}get _decIconClickable(){return!this._decIconDisabled&&!this.readonly&&!this.disabled}get _incIconClickable(){return!this._incIconDisabled&&!this.readonly&&!this.disabled}get _isFocused(){return this.focused}get _valuePrecisioned(){return this.value.toFixed(this.valuePrecision)}get accInfo(){return{ariaRequired:this.required,ariaLabel:Kt(this)}}get inputAttributes(){return{min:this.min===void 0?void 0:this.min,max:this.max===void 0?void 0:this.max,step:this.step}}onBeforeRendering(){this._setButtonState(),this._previousValue===void 0&&(this._previousValue=this.value);const e=ze("FormSupport");e?e.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get input(){return this.shadowRoot.querySelector("[ui5-input]")}get inputOuter(){return this.shadowRoot.querySelector(".ui5-step-input-input")}_onButtonFocusOut(){setTimeout(()=>{this._inputFocused||this.inputOuter.removeAttribute("focused")},0)}_onInputFocusIn(){this._inputFocused=!0,this.value!==this._previousValue&&(this._previousValue=this.value)}_onInputFocusOut(){this._inputFocused=!1,this._onInputChange()}_setButtonState(){this._decIconDisabled=this.min!==void 0&&this.value<=this.min,this._incIconDisabled=this.max!==void 0&&this.value>=this.max}_validate(){this._initialValueState===void 0&&(this._initialValueState=this.valueState),this._updateValueState()}_updateValueState(){const e=!(this.min!==void 0&&this.valuethis.max),t=this.valueState;this.valueState=e?W.None:W.Error,!this.fireEvent("value-state-change",{valueState:this.valueState,valid:e},!0)&&(this.valueState=t)}_preciseValue(e){const t=10**this.valuePrecision;return Math.round(e*t)/t}_fireChangeEvent(){this._previousValue!==this.value&&(this._previousValue=this.value,this.fireEvent("change",{value:this.value}))}_modifyValue(e,t=!1){let o;this.value=this._preciseValue(parseFloat(this.input.value)),o=this.value+e,this.min!==void 0&&othis.max&&(o=this.max),o=this._preciseValue(o),o!==this.value&&(this.value=o,this._validate(),this._setButtonState(),this.focused=!0,this.inputOuter.setAttribute("focused",""),t?this._fireChangeEvent():this.input.focus())}_incValue(e){this._incIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(this.step,!0),this._previousValue=this.value)}_decValue(e){this._decIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(-this.step,!0),this._previousValue=this.value)}_onInputChange(){this.input.value===""&&(this.input.value=this.min||0);const e=this._preciseValue(parseFloat(this.input.value));(this.value!==this._previousValue||this.value!==e)&&(this.value=e,this._validate(),this._setButtonState(),this._fireChangeEvent())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}_onkeydown(e){let t=!0;if(!(this.disabled||this.readonly)){if(Ie(e)){this._onInputChange();return}Xe(e)?this._modifyValue(this.step):qe(e)?this._modifyValue(-this.step):Ni(e)?(this.value=this._previousValue,this.input.value=this.value.toFixed(this.valuePrecision)):this.max!==void 0&&(Al(e)||R9(e))?this._modifyValue(this.max-this.value):this.min!==void 0&&(Uu(e)||L9(e))?this._modifyValue(this.min-this.value):!Fn(e)&&!Vn(e)&&!ln(e)&&!Sr(e)&&(t=!1),t&&e.preventDefault()}}_decSpin(){this._decIconDisabled||this._spinValue(!1,!0)}_incSpin(){this._incIconDisabled||this._spinValue(!0,!0)}_calcWaitTimeout(){return this._speed*=fz,this._waitTimeout=this._waitTimeout-this._speed{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}_resetSpinOut(){this._btnDown&&(this._resetSpin(),this._fireChangeEvent())}};st([A({validator:Zt,defaultValue:0})],et.prototype,"value",void 0);st([A({validator:Zt})],et.prototype,"min",void 0);st([A({validator:Zt})],et.prototype,"max",void 0);st([A({validator:Zt,defaultValue:1})],et.prototype,"step",void 0);st([A({type:W,defaultValue:W.None})],et.prototype,"valueState",void 0);st([A({type:Boolean})],et.prototype,"required",void 0);st([A({type:Boolean})],et.prototype,"disabled",void 0);st([A({type:Boolean})],et.prototype,"readonly",void 0);st([A({defaultValue:void 0})],et.prototype,"placeholder",void 0);st([A()],et.prototype,"name",void 0);st([A({validator:ae,defaultValue:0})],et.prototype,"valuePrecision",void 0);st([A()],et.prototype,"accessibleName",void 0);st([A({defaultValue:""})],et.prototype,"accessibleNameRef",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_decIconDisabled",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_incIconDisabled",void 0);st([A({type:Boolean})],et.prototype,"focused",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_inputFocused",void 0);st([A({validator:Zt,noAttribute:!0})],et.prototype,"_previousValue",void 0);st([A({validator:Zt,noAttribute:!0})],et.prototype,"_waitTimeout",void 0);st([A({validator:Zt,noAttribute:!0})],et.prototype,"_speed",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_btnDown",void 0);st([A({validator:ae,noAttribute:!0})],et.prototype,"_spinTimeoutId",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_spinStarted",void 0);st([Z()],et.prototype,"valueStateMessage",void 0);st([Z()],et.prototype,"formSupport",void 0);et=Fc=st([K({tag:"ui5-step-input",renderer:de,styles:hz,template:YV,dependencies:[Be,xr]}),q("change"),q("value-state-change",{detail:{valueState:{type:String},valid:{type:Boolean}}})],et);et.define();function mz(i,e,t){return t?w`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?$m.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?Am.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?xm.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:w`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?$m.call(this,i,e,t):void 0}
    ${this.showTooltip?Am.call(this,i,e,t):void 0}
    ${this.showTooltip?xm.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function $m(i,e,t){return w`${this.showTickmarks?gz.call(this,i,e,t):void 0}`}function gz(i,e,t){return w`
      ${X(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>bz.call(this,i,e,t,o,r))}
    ${this.labelInterval?Tz.call(this,i,e,t):void 0}`}function bz(i,e,t,o,r){return w`${o?yz.call(this,i,e,t,o,r):wz.call(this,i,e,t,o,r)}`}function yz(i,e,t,o,r){return w`
  • `}function wz(i,e,t,o,r){return w`
  • `}function Tz(i,e,t){return w`
      ${X(this._labels,(o,r)=>o._id||r,(o,r)=>Cz.call(this,i,e,t,o,r))}
    `}function Cz(i,e,t,o,r){return w`
  • ${a(o)}
  • `}function Am(i,e,t){return w`
    ${a(this.tooltipStartValue)}
    `}function xm(i,e,t){return w`
    ${a(this.tooltipEndValue)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Iz={packageName:"@ui5/webcomponents",fileName:"themes/RangeSlider.css.ts",content:`:host([ui5-range-slider]) .ui5-slider-progress-container:before{background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_background)}.ui5-slider-root:hover:active .ui5-slider-handle:not(:focus){background:var(--sapSlider_RangeHandleBackground)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus){background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_active_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);box-shadow:none}:host([range-pressed]) .ui5-slider-handle [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-root:not(.ui5-slider-root-phone):focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background_focus)}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus [slider-icon]{display:none}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-progress:focus:before{display:var(--_ui5-v1-22-1-rc-0_range_slider_legacy_progress_focus_display);content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_width);border:var(--_ui5-v1-22-1-rc-0_slider_progress_outline);border-radius:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_radius);top:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset);height:var(--_ui5-v1-22-1-rc-0_slider_outer_height);box-sizing:border-box;left:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset_left)}.ui5-slider-progress{position:relative}.ui5-slider-progress:focus:after{border:.125rem solid var(--sapContent_FocusColor);border-radius:.5rem;content:"";display:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_display);position:absolute;top:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top);left:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left);padding:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_padding);width:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width);height:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height);box-sizing:border-box}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_bg)}.ui5-slider-root:hover .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_icon_display)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_active_handle_icon_display)} +`};var ah=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ia;let Fl=Ia=class extends an{constructor(){super(),this._isPressInCurrentRange=!1,this._handeIsPressed=!1,this._reversedValues=!1,this._stateStorage.startValue=void 0,this._stateStorage.endValue=void 0}get tooltipStartValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.startValue.toFixed(t)}get tooltipEndValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.endValue.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return Ia.i18nBundle.getText(b4)}get _ariaHandlesText(){const e=this.effectiveDir==="rtl",t=this._areValuesReversed(),o={};return e&&!t||!e&&t?(o.startHandleText=Ia.i18nBundle.getText(Pp),o.endHandleText=Ia.i18nBundle.getText(Dp)):(o.startHandleText=Ia.i18nBundle.getText(Dp),o.endHandleText=Ia.i18nBundle.getText(Pp)),o}get _ariaValueNow(){return Math.abs(this.endValue-this.startValue)}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))}syncUIAndState(){if(this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","startValue","endValue")){this.storePropertyState("min","max");const e=an.clipValue(this.startValue,this._effectiveMin,this._effectiveMax);this.startValue=e,this.updateStateStorageAndFireInputEvent("startValue"),this.storePropertyState("startValue");const t=an.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.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._setAffectedValue(void 0),this._startValueInitial=void 0,this._endValueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.HIDDEN)}_onkeyup(){super._onkeyup(),this._setAffectedValue(void 0),(this.startValue!==this._startValueAtBeginningOfAction||this.endValue!==this._endValueAtBeginningOfAction)&&this.fireEvent("change"),this._startValueAtBeginningOfAction=void 0,this._endValueAtBeginningOfAction=void 0}_handleActionKeyPress(e){if(this._startValueAtBeginningOfAction=this.startValue,this._endValueAtBeginningOfAction=this.endValue,Ni(e)){this.update(void 0,this._startValueInitial,this._endValueInitial);return}this._setAffectedValueByFocusedElement();const t=this._effectiveMin,o=this._effectiveMax,r=this._valueAffected;if((ki(e)||Wt(e))&&!r){this._homeEndForSelectedRange(e,Wt(e)?"startValue":"endValue",t,o);return}const n=this._handleActionKeyPressBase(e,r);if(!n)return;const s=this.constructor;if(r&&!this._isPressInCurrentRange){const l=this[r],I=s.clipValue(n+l,t,o);this.update(r,I,void 0)}else if(n<0&&this.startValue>t||n>0&&this.endValue=n.left&&e<=n.right,I=e>=s.left&&e<=s.right;(I||l)&&(this._handeIsPressed=!0),(I||t>this.endValue)&&this._setAffectedValue("endValue"),(l||t=this._startValueAtBeginningOfAction&&t<=this._endValueAtBeginningOfAction;this._setIsPressInCurrentRange(this._valueAffected||this._handeIsPressed?!1:y)}_setAffectedValue(e){this._valueAffected=e,this._areValuesReversed()&&this._setValuesAreReversed()}_setIsPressInCurrentRange(e){this._isPressInCurrentRange=e}focusInnerElement(){const e=this._areValuesReversed(),t=this._valueAffected;(this._isPressInCurrentRange||!t)&&this._progressBar.focus(),(t==="startValue"&&!e||t==="endValue"&&e)&&this._startHandle.focus(),(t==="endValue"&&!e||t==="startValue"&&e)&&this._endHandle.focus()}_calculateRangeOffset(e,t){if(this._initialPageXPosition===e)return[this.startValue,this.endValue];const o=this._effectiveMin,r=this._effectiveMax,n=this.endValue-this.startValue;let s=this._calculateStartValueByOffset(e,t);return s=this.constructor.clipValue(s,o,r-n),[s,s+n]}_calculateStartValueByOffset(e,t){const o=this._effectiveMin,r=this._effectiveMax,n=this._effectiveStep,s=this.getBoundingClientRect();let l,I,y;const C=this.constructor;return e>this._initialPageXPosition?(y=e-this._initialPageXPosition,I=t+y,l=C.computedValueFromPageX(I,o,r,s,this.directionStart),l=C.getSteppedValue(l,n,o)):(y=this._initialPageXPosition-e,I=t-y,l=C.computedValueFromPageX(I,o,r,s,this.directionStart),l=C.getSteppedValue(l,n,o)),l}_updateHandlesAndRange(e){const t=this._effectiveMax,o=this._effectiveMin,r=this.getStoredPropertyState("startValue")||0,n=this.getStoredPropertyState("endValue")||0,s=this._valueAffected;s==="startValue"?(this._selectedRange=(n-e)/(t-o),this._firstHandlePositionFromStart=(e-o)/(t-o)*100):s==="endValue"?(this._selectedRange=(e-r)/(t-o),this._secondHandlePositionFromStart=(e-o)/(t-o)*100):(this._selectedRange=(this.endValue-this.startValue)/(t-o),this._firstHandlePositionFromStart=(this.startValue-o)/(t-o)*100,this._secondHandlePositionFromStart=(this.endValue-o)/(t-o)*100)}_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,n=this._effectiveMin+o*this.step<=this.endValue;t.push(r&&n)}return t}get _startHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--start")}get _endHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--end")}get _progressBar(){return this.shadowRoot.querySelector(".ui5-slider-progress")}get _ariaLabelledByStartHandleRefs(){return[`${this._id}-accName`,`${this._id}-startHandleDesc`].join(" ").trim()}get _ariaLabelledByEndHandleRefs(){return[`${this._id}-accName`,`${this._id}-endHandleDesc`].join(" ").trim()}get _ariaLabelledByProgressBarRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}get styles(){return{progress:{width:`${this._selectedRange*100}%`,"transform-origin":`${this.directionStart} top`,[this.directionStart]:`${this._firstHandlePositionFromStart}%`},startHandle:{[this.directionStart]:`${this._firstHandlePositionFromStart}%`},endHandle:{[this.directionStart]:`${this._secondHandlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}static async onDefine(){Ia.i18nBundle=await fe("@ui5/webcomponents")}};ah([A({validator:Zt,defaultValue:0})],Fl.prototype,"startValue",void 0);ah([A({validator:Zt,defaultValue:100})],Fl.prototype,"endValue",void 0);ah([A({type:Boolean})],Fl.prototype,"rangePressed",void 0);Fl=Ia=ah([K({tag:"ui5-range-slider",languageAware:!0,template:mz,dependencies:[Be],styles:[an.styles,Iz]})],Fl);Fl.define();var D1;(function(i){i.Textual="Textual",i.Graphical="Graphical"})(D1||(D1={}));const P1=D1;function Sz(i,e,t){return t?w`
    ${this.graphical?Dm.call(this,i,e,t):Pm.call(this,i,e,t)}<${D("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-handle-icon">
    `:w`
    ${this.graphical?Dm.call(this,i,e,t):Pm.call(this,i,e,t)}
    `}function Dm(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="accept" class="ui5-switch-icon-on"><${D("ui5-icon",e,t)} name="decline" class="ui5-switch-icon-off">`:w``}function Pm(i,e,t){return w`${this.hasNoLabel?kz.call(this,i,e,t):Ez.call(this,i,e,t)}`}function kz(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-on"><${D("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-off">`:w``}function Ez(i,e,t){return w`${a(this._textOn)}${a(this._textOff)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const $z={packageName:"@ui5/webcomponents",fileName:"themes/Switch.css.ts",content:`.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(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_width);height:var(--_ui5-v1-22-1-rc-0_switch_height);min-width:var(--_ui5-v1-22-1-rc-0_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-v1-22-1-rc-0-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5-v1-22-1-rc-0_switch_with_label_width);height:var(--_ui5-v1-22-1-rc-0_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5-v1-22-1-rc-0_switch_track_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_width);border:var(--_ui5-v1-22-1-rc-0-switch-track-border);border-radius:var(--_ui5-v1-22-1-rc-0_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5-v1-22-1-rc-0_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-v1-22-1-rc-0-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_handle_width);height:var(--_ui5-v1-22-1-rc-0_switch_handle_height);border:var(--_ui5-v1-22-1-rc-0_switch_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_handle_with_label_width)}.ui5-switch-handle-icon{display:var(--_ui5-v1-22-1-rc-0-switch-handle-icon-display);transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}:host([checked]) .ui5-switch-handle-icon{color:var(--_ui5-v1-22-1-rc-0-switch_track-on-background)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5-v1-22-1-rc-0_switch_text_z_index);min-width:var(--_ui5-v1-22-1-rc-0_switch_text_min_width);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);font-family:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-desktop.ui5-switch-root:focus:after{content:"";position:absolute;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_root_outline_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_root_outline_right);top:var(--_ui5-v1-22-1-rc-0_switch_root_outline_top);bottom:var(--_ui5-v1-22-1-rc-0_switch_root_outline_bottom);border:var(--_ui5-v1-22-1-rc-0_switch_focus_outline);border-radius:var(--_ui5-v1-22-1-rc-0_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition);outline:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off{visibility:var(--_ui5-v1-22-1-rc-0_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on{visibility:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_inactive_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height);display:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_width)}:host([active]) .ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var( --_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0-switch_track-on-active-background)}.ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right_alternate)}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_rtl_transform_with_label)}[dir=rtl].ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_switch_rtl_transform)} +`};var _r=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},O1;let ao=O1=class extends ie{onBeforeRendering(){this._enableFormSupport()}_enableFormSupport(){const e=ze("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.checked=!!r.checked,o.disabled=!!r.disabled,o.value=r.checked?"on":""}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get sapNextIcon(){return this.checked?"accept":"less"}_onclick(){this.toggle()}_onkeydown(e){le(e)&&e.preventDefault(),Ie(e)&&this._onclick()}_onkeyup(e){le(e)&&this._onclick()}toggle(){if(!this.disabled){this.checked=!this.checked;const e=!this.fireEvent("change",null,!0),t=!this.fireEvent("value-changed",null,!0);(e||t)&&(this.checked=!this.checked)}}get graphical(){return this.design===P1.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 effectiveTabIndex(){return this.disabled?void 0:"0"}get classes(){const e=this.graphical||this.textOn||this.textOff;return{main:{"ui5-switch-desktop":Qo(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!e}}}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get accessibilityOnText(){return this._textOn}get accessibilityOffText(){return this._textOff}get hiddenText(){return this.checked?this.accessibilityOnText:this.accessibilityOffText}get ariaLabelText(){return[Kt(this),this.hiddenText].join(" ").trim()}static async onDefine(){O1.i18nBundle=await fe("@ui5/webcomponents")}};_r([A({type:P1,defaultValue:P1.Textual})],ao.prototype,"design",void 0);_r([A({type:Boolean})],ao.prototype,"checked",void 0);_r([A({type:Boolean})],ao.prototype,"disabled",void 0);_r([A()],ao.prototype,"textOn",void 0);_r([A()],ao.prototype,"textOff",void 0);_r([A()],ao.prototype,"accessibleName",void 0);_r([A({defaultValue:""})],ao.prototype,"accessibleNameRef",void 0);_r([A()],ao.prototype,"tooltip",void 0);_r([A({type:Boolean})],ao.prototype,"required",void 0);_r([A()],ao.prototype,"name",void 0);_r([Z()],ao.prototype,"formSupport",void 0);ao=O1=_r([K({tag:"ui5-switch",languageAware:!0,styles:$z,renderer:de,template:Sz,dependencies:[Be]}),q("change")],ao);ao.define();var B1;(function(i){i.Information="Information",i.Positive="Positive",i.Negative="Negative",i.Warning="Warning"})(B1||(B1={}));const Om=B1;function Az(i,e,t){return w`
    ${this.hideIcon?void 0:xz.call(this,i,e,t)}${a(this.hiddenText)}${this.hideCloseButton?void 0:Oz.call(this,i,e,t)}
    `}function xz(i,e,t){return w``}function Dz(i,e,t){return w``}function Pz(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.standardIconName)}" class="ui5-message-strip-icon">`:w``}function Oz(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="decline" design="Transparent" class="ui5-message-strip-close-button" tooltip="${a(this._closeButtonText)}" @click=${this._closeClick}>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Bz={packageName:"@ui5/webcomponents",fileName:"themes/MessageStrip.css.ts",content:`.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;width:100%}.ui5-message-strip-root{width:100%;height:100%;display:flex;border-radius:var(--sapPopover_BorderCornerRadius);padding:var(--_ui5-v1-22-1-rc-0_message_strip_padding);border-width:var(--_ui5-v1-22-1-rc-0_message_strip_border_width);border-style:solid;box-sizing:border-box;position:relative}.ui5-message-strip-root-hide-icon{padding-inline:var(--_ui5-v1-22-1-rc-0_message_strip_padding_inline_no_icon);padding-block:var(--_ui5-v1-22-1-rc-0_message_strip_padding_block_no_icon)}.ui5-message-strip-root-hide-close-button{padding-inline-end:1rem}.ui5-message-strip-root--info{background-color:var(--sapInformationBackground);border-color:var(--sapMessage_InformationBorderColor);color:var(--sapTextColor)}.ui5-message-strip-root--info .ui5-message-strip-icon{color:var(--sapInformativeElementColor)}.ui5-message-strip-root--positive{background-color:var(--sapSuccessBackground);border-color:var(--sapMessage_SuccessBorderColor)}.ui5-message-strip-root--positive .ui5-message-strip-icon{color:var(--sapPositiveElementColor)}.ui5-message-strip-root--negative{background-color:var(--sapErrorBackground);border-color:var(--sapMessage_ErrorBorderColor)}.ui5-message-strip-root--negative .ui5-message-strip-icon{color:var(--sapNegativeElementColor)}.ui5-message-strip-root--warning{background-color:var(--sapWarningBackground);border-color:var(--sapMessage_WarningBorderColor)}.ui5-message-strip-root--warning .ui5-message-strip-icon{color:var(--sapCriticalElementColor)}.ui5-message-strip-icon-wrapper{position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_icon_top);inset-inline-start:.75rem;box-sizing:border-box}.ui5-message-strip-text{width:100%;color:var(--sapTextColor);line-height:1.2;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-message-strip-close-button{height:1.625rem;min-height:1.625rem;position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_top);inset-inline-end:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_right)} +`};var ad=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ws,R1;(function(i){i.Information="ui5-message-strip-root--info",i.Positive="ui5-message-strip-root--positive",i.Negative="ui5-message-strip-root--negative",i.Warning="ui5-message-strip-root--warning"})(R1||(R1={}));var L1;(function(i){i.Information="information",i.Positive="sys-enter-2",i.Negative="error",i.Warning="alert"})(L1||(L1={}));let Xs=ws=class extends ie{_closeClick(){this.fireEvent("close")}static async onDefine(){ws.i18nBundle=await fe("@ui5/webcomponents")}static designAnnouncementMappings(){const e=t=>ws.i18nBundle.getText(t);return{Information:e(_4),Positive:e(d4),Negative:e(c4),Warning:e(u4)}}get hiddenText(){return`${ws.designAnnouncementMappings()[this.design]} ${this.hideCloseButton?"":this._closableText}`}get _closeButtonText(){return ws.i18nBundle.getText(s4)}get _closableText(){return ws.i18nBundle.getText(l4)}get classes(){return{root:{"ui5-message-strip-root":!0,"ui5-message-strip-root-hide-icon":this.hideIcon,"ui5-message-strip-root-hide-close-button":this.hideCloseButton,[this.designClasses]:!0}}}get iconProvided(){return this.icon.length>0}get standardIconName(){return L1[this.design]}get designClasses(){return R1[this.design]}};ad([A({type:Om,defaultValue:Om.Information})],Xs.prototype,"design",void 0);ad([A({type:Boolean})],Xs.prototype,"hideIcon",void 0);ad([A({type:Boolean})],Xs.prototype,"hideCloseButton",void 0);ad([Z()],Xs.prototype,"icon",void 0);Xs=ws=ad([K({tag:"ui5-message-strip",languageAware:!0,renderer:de,template:Az,styles:Bz,dependencies:[Be,Ne]}),q("close")],Xs);Xs.define();const Rz="multiselect-all",N6="M92 472l80-97 20 19L92 512l-60-59 20-20zm80-285l20 19L92 323l-60-59 20-19 40 38zm0-187l20 19L92 137 32 78l20-21 40 40zm292 65q16 0 16 16 0 6-4.5 11T464 97H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 191q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 192q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191z",Lz=!0,Nz="SAP-icons-v4",Mz="@ui5/webcomponents-icons";ee(Rz,{pathData:N6,ltr:Lz,collection:Nz,packageName:Mz});const Fz="multiselect-all",M6="M198 0q11 0 18.5 7.5T224 26q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 57q10 0 19 9l27 30 75-87q8-9 19-9zm84 96q-11 0-18.5-7.5T256 70t7.5-18 18.5-7h172q11 0 18.5 7t7.5 18-7.5 18.5T454 96H282zm-84 80q11 0 18.5 7.5T224 202q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 233q10 0 19 9l27 30 75-87q8-9 19-9zm256 48q11 0 18.5 7.5T480 250t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 224h172zM198 352q11 0 18.5 7.5T224 378q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 409q10 0 19 9l27 30 75-87q8-9 19-9zm256 64q11 0 18.5 7.5T480 442t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 416h172z",Vz=!0,zz="SAP-icons-v5",Hz="@ui5/webcomponents-icons";ee(Fz,{pathData:M6,ltr:Vz,collection:zz,packageName:Hz});Se();var F6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Eu=class extends e6{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};F6([A({type:Boolean})],Eu.prototype,"selected",void 0);Eu=F6([K("ui5-mcb-item")],Eu);Eu.define();const V6=Eu;var z6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let $u=class extends ie{get isGroupItem(){return!0}get selected(){return!1}get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};z6([A()],$u.prototype,"text",void 0);$u=z6([K("ui5-mcb-group-item")],$u);$u.define();const Uz=$u;function qz(i,e,t){return t?w`
    ${a(this._tokensCountText)}${this.hasValueState?Bm.call(this,i,e,t):void 0}<${D("ui5-tokenizer",e,t)} slot="_beginContent" show-more prevent-popover-open class="ui5-multi-combobox-tokenizer" ?disabled="${this.disabled}" @ui5-show-more-items-press="${a(this._showFilteredItems)}" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} @ui5-token-delete="${a(this._tokenDelete)}" @ui5-before-more-popover-open="${a(this.handleBeforeTokenizerPopoverOpen)}" @focusout="${this._tokenizerFocusOut}" @focusin="${this._tokenizerFocusIn}" @click=${this._click} @paste=${this._handlePaste} @keydown="${this._onTokenizerKeydown}" ?expanded="${this._tokenizerExpanded}">${X(this.items,(o,r)=>o._id||r,(o,r)=>Rm.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?Lm.call(this,i,e,t):void 0}${this.icon?Nm.call(this,i,e,t):void 0}${this.readonly?void 0:Mm.call(this,i,e,t)}
    `:w`
    ${a(this._tokensCountText)}${this.hasValueState?Bm.call(this,i,e,t):void 0}${X(this.items,(o,r)=>o._id||r,(o,r)=>Rm.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?Lm.call(this,i,e,t):void 0}${this.icon?Nm.call(this,i,e,t):void 0}${this.readonly?void 0:Mm.call(this,i,e,t)}
    `}function Bm(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}function Rm(i,e,t,o,r){return w`${o.selected?Wz.call(this,i,e,t,o,r):void 0}`}function Wz(i,e,t,o,r){return t?w`<${D("ui5-token",e,t)} ?readonly="${this.readonly}" class="ui5-multi-combobox-token" data-ui5-id="${a(o._id)}" part="token-${r}" text="${a(o.text)}">`:w``}function Lm(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function Nm(i,e,t){return w``}function Mm(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="slim-arrow-down" input-icon slot="icon" tabindex="-1" @click="${this.togglePopoverByDropdownIcon}" @mousedown="${this._onIconMousedown}" @focusin="${this._forwardFocusToInner}" ?pressed="${this.open}" accessible-name="${a(this._iconAccessibleNameText)}">`:w``}function jz(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} placement-type="Bottom" horizontal-align="Left" class="${j(this.classes.popover)}" hide-arrow _disable-initial-focus style="${Y(this.styles.suggestionsPopover)}" @ui5-selection-change=${a(this._listSelectionChange)} @ui5-after-close=${a(this._afterClosePicker)} @ui5-before-open=${a(this._beforeOpen)} @ui5-after-open=${a(this._afterOpenPicker)}>${this._isPhone?Fm.call(this,i,e,t):void 0}${this._isPhone?void 0:Wm.call(this,i,e,t)}${this.filterSelected?Ym.call(this,i,e,t):Km.call(this,i,e,t)}${this._isPhone?Qm.call(this,i,e,t):void 0}${this.hasValueStateMessage?Jm.call(this,i,e,t):void 0} `:w`${this._isPhone?Fm.call(this,i,e,t):void 0}${this._isPhone?void 0:Wm.call(this,i,e,t)}${this.filterSelected?Ym.call(this,i,e,t):Km.call(this,i,e,t)}${this._isPhone?Qm.call(this,i,e,t):void 0}${this.hasValueStateMessage?Jm.call(this,i,e,t):void 0} `}function Fm(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.handleCancel}">
    <${D("ui5-input",e,t)} @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._mobileInputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this._dialogInputValueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Vm.call(this,i,e,t,o,r))}<${D("ui5-toggle-button",e,t)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${this._showAllItemsButtonPressed} @click="${this.filterSelectedItems}" accessible-name="${a(this._showSelectedButtonAccessibleNameText)}">
    ${this.hasValueStateMessage?zm.call(this,i,e,t):void 0}${this.showSelectAll?qm.call(this,i,e,t):void 0}`:w`
    ${a(this._headerTitleText)}
    ${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Vm.call(this,i,e,t,o,r))}
    ${this.hasValueStateMessage?zm.call(this,i,e,t):void 0}${this.showSelectAll?qm.call(this,i,e,t):void 0}`}function Vm(i,e,t,o,r){return t?w`<${D("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:w``}function zm(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?Hm.call(this,i,e,t):Um.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?Hm.call(this,i,e,t):Um.call(this,i,e,t)}
    `}function Hm(i,e,t){return w`${a(this.valueStateDefaultText)}`}function Um(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>Gz.call(this,i,e,t,o,r))}`}function Gz(i,e,t,o,r){return w`${a(o)}`}function qm(i,e,t){return t?w`
    <${D("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:w`
    `}function Wm(i,e,t){return w`${this.hasValueStateMessage?Yz.call(this,i,e,t):void 0}${this.showSelectAll?Kz.call(this,i,e,t):void 0}`}function Yz(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?jm.call(this,i,e,t):Gm.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?jm.call(this,i,e,t):Gm.call(this,i,e,t)}
    `}function jm(i,e,t){return w`${a(this.valueStateDefaultText)}`}function Gm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>Xz.call(this,i,e,t,o,r))}`}function Xz(i,e,t,o,r){return w`${a(o)}`}function Kz(i,e,t){return t?w`
    <${D("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:w`
    `}function Ym(i,e,t){return t?w`<${D("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${X(this.selectedItems,(o,r)=>o._id||r,(o,r)=>Xm.call(this,i,e,t,o,r))}`:w`${X(this.selectedItems,(o,r)=>o._id||r,(o,r)=>Xm.call(this,i,e,t,o,r))}`}function Xm(i,e,t,o,r){return w`${o.isGroupItem?Zz.call(this,i,e,t,o,r):Qz.call(this,i,e,t,o,r)}`}function Zz(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function Qz(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function Km(i,e,t){return t?w`<${D("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Zm.call(this,i,e,t,o,r))}`:w`${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Zm.call(this,i,e,t,o,r))}`}function Zm(i,e,t,o,r){return w`${o.isGroupItem?Jz.call(this,i,e,t,o,r):eH.call(this,i,e,t,o,r)}`}function Jz(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function eH(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function Qm(i,e,t){return t?w``:w``}function Jm(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?eg.call(this,i,e,t):tg.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?eg.call(this,i,e,t):tg.call(this,i,e,t)}
    `}function eg(i,e,t){return w`${a(this.valueStateDefaultText)}`}function tg(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>tH.call(this,i,e,t,o,r))}`}function tH(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iH={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBox.css.ts",content:`:host{vertical-align:middle}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.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{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}:host(:not([hidden])){display:inline-block}.ui5-multi-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-multi-combobox-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-combobox-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-combobox-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-combobox-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} +`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const oH={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBoxPopover.css.ts",content:`.ui5-suggestions-popover .ui5-multi-combobox-all-items-list{--_ui5-v1-22-1-rc-0_checkbox_width_height: var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-mcb-select-all-header{width:100%;height:44px;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);display:flex;align-items:center;font-family:"72override",var(--sapFontFamily);position:sticky;top:0;z-index:2;background:var(--sapToolbar_Background)}.ui5-mcb-select-all-checkbox{width:100%;font-family:var(--sapFontBoldFamily)}.ui5-mcb-select-all-checkbox::part(root):focus:before{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:0;inset:0 2px}.ui5-mcb-select-all-checkbox::part(label){font-family:var(--sapFontBoldFamily)} +`};var He=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},At;let Me=At=class extends ie{constructor(){super(),this._filteredItems=[],this._previouslySelectedItems=[],this.selectedValues=[],this._itemsBeforeOpen=[],this._inputLastValue="",this._deleting=!1,this._validationTimeout=null,this._handleResizeBound=this._handleResize.bind(this),this.valueBeforeAutoComplete="",this._lastValue=this.getAttribute("value")||"",this.currentItemIdx=-1,this.FormSupport=void 0}onEnterDOM(){Ce.register(this,this._handleResizeBound)}onExitDOM(){Ce.deregister(this,this._handleResizeBound)}_handleResize(){this._inputWidth=this.offsetWidth}_handleMobileInput(e){const o=e.target.value;!this.allowCustomValues&&!this._filterItems(o).length?this._dialogInputValueState=W.Error:this._dialogInputValueState=this.valueState,this.value=o,this._shouldFilterItems=!0,this.valueBeforeAutoComplete=o,this.fireEvent("input")}_inputChange(){!this._clearingValue&&this._lastValue!==this.value&&(this._lastValue=this.value,this.fireEvent("change"))}async _mobileInputChange(e){this._inputChange.call(this);const{value:t}=e.target,o=this.items.find(s=>s.text===t);if(!o)return;const r=o==null?void 0:o.selected;this.fireSelectionChange()||(o.selected=!r,(await this._getResponsivePopover()).close(),this.value="")}togglePopover(){var e;this._tokenizer.closeMorePopover(),(e=this.allItemsPopover)==null||e.toggle(this)}togglePopoverByDropdownIcon(){var e;this._shouldFilterItems=!1,(e=this.allItemsPopover)==null||e.toggle(this),this._tokenizer.closeMorePopover()}_showFilteredItems(){this.filterSelected=!0,this._showMorePressed=!0,this.togglePopover()}filterSelectedItems(e){this.filterSelected=e.target.pressed;const t=this._filteredItems.filter(o=>o.selected);this.selectedItems=this.items.filter((o,r,n)=>At._groupItemFilter(o,++r,n,t)||t.indexOf(o)!==-1)}get open(){return this._open}get _showAllItemsButtonPressed(){return this.filterSelected}get _inputDom(){return this.shadowRoot.querySelector("#ui5-multi-combobox-input")}_inputLiveChange(e){var s,l;const t=e.target,o=t.value,r=this._filterItems(o),n=this.valueState;if(this._shouldFilterItems=!0,this.filterSelected&&(this.filterSelected=!1),this._validationTimeout)if(this._filterItems(o).length)this.valueState=this._effectiveValueState,this._validationTimeout=null;else{t.value=this._inputLastValue;return}if(this._effectiveValueState=this.valueState,!r.length&&o&&!this.allowCustomValues){const I=this.valueBeforeAutoComplete||this._inputLastValue;t.value=I,this.value=I,this.valueState=W.Error,this._shouldAutocomplete=!1,this._resetValueState(n);return}this._inputLastValue=t.value,this.value=t.value,this._filteredItems=r,ue()||(r.length===0?(s=this.allItemsPopover)==null||s.close():(l=this.allItemsPopover)==null||l.showAt(this)),this.fireEvent("input")}_tokenDelete(e){this._previouslySelectedItems=this._getSelectedItems();const t=e.detail.ref,o=this.items.find(n=>n._id===t.getAttribute("data-ui5-id"));o.selected=!1,this._deleting=!0,this._preventTokenizerToggle=!0,this.focus(),this.fireSelectionChange()&&this._revertSelection()}get _getPlaceholder(){return this._getSelectedItems().length?"":this.placeholder}_handleArrowLeft(){const e=this._inputDom,t=e.selectionStart||0,o=(e.selectionEnd||0)-t>0;t===0&&!o&&this._tokenizer._focusLastToken()}_tokenizerFocusOut(e){this._tokenizerFocused=!1;const t=this._tokenizer.tokens.length,o=this._selectedTokensCount,r=t-1===0&&this._deleting,n=o===t&&this._deleting,s=e.relatedTarget,l=this.staticAreaItem===s,I=this._inputDom===s,y=e.relatedTarget===this._tokenizer.staticAreaItem;!(s!=null&&s.hasAttribute("ui5-token"))&&!l&&!I&&!y&&(this._tokenizer.tokens.forEach(C=>{C.selected=!1}),this._tokenizer.expanded=this._preventTokenizerToggle?this._tokenizer.expanded:!1),(n||r)&&setTimeout(()=>{ue()||this._inputDom.focus(),this._deleting=!1},0)}_tokenizerFocusIn(){this._tokenizerFocused=!0,this.focused=!1}_onkeydown(e){var r;const t=Vn(e),o=e.metaKey||e.ctrlKey;if(zn(e)&&!this.disabled){this._handleShow(e);return}if(Sr(e)||ln(e)){e.preventDefault();return}if(Xe(e)||qe(e)||Fn(e)||t){this._handleArrowNavigation(e,t);return}if(t&&!((r=this.allItemsPopover)!=null&&r.opened)&&setTimeout(()=>this._inputDom.setSelectionRange(0,this._inputDom.value.length),0),Cl(e)||Os(e)){this._handleArrowCtrl(e);return}if(M2(e)){this._handleInsertPaste();return}o&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover()),Oa(e)&&e.preventDefault(),(e.key==="ArrowLeft"||e.key==="Show"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Backspace"||e.key==="Escape"||e.key==="Home"||e.key==="End"||e.key==="Tab"||e.key==="ArrowDown"||e.key==="Enter")&&this[`_handle${e.key}`](e),this._shouldAutocomplete=!this.noTypeahead&&!(Hu(e)||$l(e)||Ni(e)||Ie(e))}_handlePaste(e){if(e.preventDefault(),this.readonly||!e.clipboardData)return;const t=e.clipboardData.getData("text/plain");t&&this._createTokenFromText(t)}async _handleInsertPaste(){if(this.readonly||my())return;const e=await navigator.clipboard.readText();e&&this._createTokenFromText(e)}_createTokenFromText(e){const t=e.split(/\r\n|\r|\n|\t/g).filter(r=>!!r),o=this.items.filter(r=>t.indexOf(r.text)>-1&&!r.selected);t.length>1?(this._previouslySelectedItems=this._getSelectedItems(),o.forEach(r=>{r.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection()})):(this.value=e,this.fireEvent("input"))}_handleShow(e){const t=this.items,o=this._getSelectedItems()[0],r=this._tokenizer.tokens.find(l=>l.focused),n=this.value,s=this.items.find(l=>l.text.localeCompare(n,void 0,{sensitivity:"base"})===0);if(e.preventDefault(),!this.readonly){if(this._isOpenedByKeyboard=!0,this._shouldFilterItems=!1,this._filteredItems=this.items,this.togglePopover(),!r&&s){this._itemToFocus=s;return}o&&!r?this._itemToFocus=o:r&&e.target===r?this._itemToFocus=t.find(l=>l.text===r.text):this._itemToFocus=t[0]}}_handlePageUp(e){e.preventDefault()}_handlePageDown(e){e.preventDefault()}_handleBackspace(e){e.target.value===""&&(e.preventDefault(),this._tokenizer._focusLastToken())}_handleEscape(){const e=this._innerInput;(e.selectionEnd||0)-(e.selectionStart||0)>0&&(this.value=this.valueBeforeAutoComplete),(!this.allowCustomValues||!this.open&&this.allowCustomValues)&&(this.value=this._lastValue)}_handleHome(e){this._isFocusInside&&e.target.selectionStart===0&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this._tokenizer.tokens[0].focus())}_handleEnd(e){const t=this._tokenizer.tokens,o=t.length-1;e.target===t[o]&&t[o]===this.shadowRoot.activeElement&&(e.preventDefault(),this._inputDom.focus())}_handleTab(){var e;(e=this.allItemsPopover)==null||e.close()}_handleSelectAll(){const e=this._filteredItems,t=e.every(r=>r.selected);this._previouslySelectedItems=e.filter(r=>r.selected).map(r=>r),e.forEach(r=>{r.selected=!t}),this.fireSelectionChange()&&this._revertSelection()}async _onListHeaderKeydown(e){var n;const t=qe(e),o=Xe(e),r=e.target.classList.contains("ui5-mcb-select-all-checkbox");if(Pt(e)||Mi(e)){this._onItemTab();return}if(e.preventDefault(),t||Vn(e)){if(this.showSelectAll&&!r)return(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();this._handleArrowDown()}if(o||Fn(e)){if(e.target===this.valueStateHeader||!this.valueStateHeader)return this._shouldAutocomplete=!0,this._inputDom.focus();this.showSelectAll&&r&&((n=this.valueStateHeader)==null||n.focus())}}_handleSelectAllCheckboxClick(e){var t;this.filterSelected?(this._previouslySelectedItems=this._getSelectedItems(),(t=this.selectedItems)==null||t.forEach(r=>{r.selected=e.target.checked}),e.target.checked||(this.filterSelected=!1),this.fireSelectionChange()&&this._revertSelection()):(this._handleSelectAll(),this.filterSelected=!1)}async _onItemKeydown(e){var r,n,s,l,I,y,C,b,v,g,p,d,c;const t=((r=this.list)==null?void 0:r.items[0])===e.target,o=Xe(e)||Fn(e);if(this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),Pt(e)||Mi(e)){this._onItemTab();return}if(tc(e)&&((n=this.list)==null||n._itemNavigation._handleHome(),(l=this.list)==null||l.items[(s=this.list)==null?void 0:s._itemNavigation._currentIndex].focus()),Ns(e)&&((I=this.list)==null||I._itemNavigation._handleEnd(),(C=this.list)==null||C.items[(y=this.list)==null?void 0:y._itemNavigation._currentIndex].focus()),e.preventDefault(),Sr(e)||ln(e)){this._handleItemRangeSelection(e);return}if(Fn(e)&&!t&&((b=this.list)==null||b._itemNavigation._handleUp(),(g=this.list)==null||g.items[(v=this.list)==null?void 0:v._itemNavigation._currentIndex].focus()),Vn(e)&&((p=this.list)==null||p._itemNavigation._handleDown(),(c=this.list)==null||c.items[(d=this.list)==null?void 0:d._itemNavigation._currentIndex].focus()),zn(e)&&this.togglePopover(),Wy(e)){this._handleSelectAll();return}t&&o&&(this.showSelectAll?(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus():this.valueStateHeader?this.valueStateHeader.focus():(this._inputDom.focus(),this._shouldAutocomplete=!0))}_handleArrowCtrl(e){const t=this._inputDom,o=Cl(e);o&&t.selectionStart===0&&t.selectionEnd===0&&e.preventDefault(),o&&(t.selectionEnd||0)-(t.selectionStart||0)>0&&t.setSelectionRange(0,0)}_onItemTab(){var e;this._inputDom.focus(),(e=this.allItemsPopover)==null||e.close()}async _handleArrowNavigation(e,t){var s;const o=t||qe(e),r=this.items.length,n=(s=this.allItemsPopover)==null?void 0:s.opened;if(e.preventDefault(),this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),o&&n){if(this.valueStateHeader){this.value=this.valueBeforeAutoComplete||this.value,this.valueStateHeader.focus();return}if(this.showSelectAll){(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();return}}o&&r&&this._handleArrowDown(),!o&&!n&&!this.readonly&&this._navigateToPrevItem()}async _handleArrowDown(){var o,r,n;const e=(o=this.allItemsPopover)==null?void 0:o.opened,t=(r=this.list)==null?void 0:r.items[0];e?(t&&((n=this.list)==null||n._itemNavigation.setCurrentItem(t)),this.value=this.valueBeforeAutoComplete||this.value,await Mt(),t==null||t.focus()):this.readonly||this._navigateToNextItem()}_handleItemRangeSelection(e){var I;const t=this.items,o=(I=this.list)==null?void 0:I.items,r=Number(o==null?void 0:o.indexOf(e.target)),n=r+1,s=r-1;this._previouslySelectedItems=this._getSelectedItems(),Sr(e)&&t[n]&&(t[n].selected=t[r].selected,t[n].focus()),ln(e)&&t[s]&&(t[s].selected=t[r].selected,t[s].focus()),this.fireSelectionChange()&&this._revertSelection()}_navigateToNextItem(){const e=this.items,t=e.length,o=this.currentItemIdx;if(o>-1&&e[o].text!==this.value&&(this.currentItemIdx=-1),o>=t-1)return;let r=this.items[++this.currentItemIdx];for(;this.currentItemIdx0&&(o.selected||o.isGroupItem);)o=this.items[--this.currentItemIdx];if(o){if(o.selected||o.isGroupItem){this.currentItemIdx=t;return}this.value=o.text,this._innerInput.value=o.text,this._innerInput.setSelectionRange(0,o.text.length)}}_handleEnter(){var n;const e=this.value.toLowerCase(),t=this.items.find(s=>s.text.toLowerCase()===e&&!s.isGroupItem),o=this.valueState,r=this._innerInput;if(this.FormSupport&&this.FormSupport.triggerFormSubmit(this),t){if(t.selected){if(this._validationTimeout)return;this.valueState=W.Error,this._performingSelectionTwice=!0,this._resetValueState(o,()=>{this._performingSelectionTwice=!1})}else this._previouslySelectedItems=this._getSelectedItems(),t.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection();r.setSelectionRange(t.text.length,t.text.length),(n=this.allItemsPopover)==null||n.close()}}_resetValueState(e,t){this._validationTimeout=setTimeout(()=>{this._effectiveValueState=this.valueState,this.valueState=e,this._validationTimeout=null,t&&t()},2e3)}_onTokenizerKeydown(e){const t=!!(e.metaKey||e.ctrlKey);if(_t(e)){const o=this._tokenizer.tokens.length-this._tokenizer.overflownTokens.length-1;e.target===this._tokenizer.tokens[o]&&setTimeout(()=>{this._inputDom.focus()},0)}if(t&&["c","x"].includes(e.key.toLowerCase())||N2(e)||N9(e)){e.preventDefault();const o=e.key.toLowerCase()==="x"||N2(e),r=this._tokenizer.tokens.filter(n=>n.selected);if(o){const n=this._tokenizer._fillClipboard(Ml.cut,r);return r.forEach(s=>{this._tokenizer.deleteToken(s)}),this.focus(),n}return this._tokenizer._fillClipboard(Ml.copy,r)}M2(e)&&this._handleInsertPaste(),Wt(e)&&this._handleHome(e),ki(e)&&this._handleEnd(e),zn(e)&&!this.readonly&&!this.disabled&&(this._preventTokenizerToggle=!0,this._handleShow(e)),t&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover())}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(KT[this.filter]||xv)(e,t,"text");return this.items.filter((r,n,s)=>At._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_afterOpenPicker(){var e,t;this._toggle(),!ue()&&!this._isOpenedByKeyboard?this._innerInput.focus():this._isOpenedByKeyboard?(e=this._itemToFocus)==null||e.focus():(t=this.allItemsPopover)==null||t.focus(),this._previouslySelectedItems=this._getSelectedItems(),this._isOpenedByKeyboard=!1}_toggle(){this._open=!this._open,this.fireEvent("open-change")}_getSelectedItems(){return this.selectedValues=this.items.filter(e=>e.selected),this.selectedValues}_listSelectionChange(e){var r;let t;ue()||(this._previouslySelectedItems=this._getSelectedItems()),this.syncItems(e.target.items),ue()||(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection()));const o={key:e.detail.key};!e.detail.selectedItems.length&&this.filterSelected&&(this.filterSelected=!1),!e.detail.selectionComponentPressed&&!le(o)&&!Gf(o)&&((r=this.allItemsPopover)==null||r.close(),this.value="",ue()&&(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection())),this.fireEvent("input")),this.value=this.valueBeforeAutoComplete||""}syncItems(e){e.forEach(t=>{this.items.forEach(o=>{o._id===t.getAttribute("data-ui5-token-id")&&(o.selected=t.selected)})})}fireSelectionChange(){const e=!this.fireEvent("selection-change",{items:this._getSelectedItems()},!0);return this.fireEvent("value-changed"),e}async _getRespPopover(){const e=await this.getStaticAreaItemDomRef();this.allItemsPopover=e.querySelector(".ui5-multi-combobox-all-items-responsive-popover")}async _getList(){const e=await this.getStaticAreaItemDomRef();return this.list=e.querySelector(".ui5-multi-combobox-all-items-list"),this.list}_click(){var e;ue()&&!this.readonly&&!this._showMorePressed&&!this._deleting&&((e=this.allItemsPopover)==null||e.showAt(this)),this._showMorePressed=!1}async handleBeforeTokenizerPopoverOpen(){const e=this._tokenizer.tokens,t=e.length===1&&e[0].isTruncatable,o=await this._getResponsivePopover();t&&(o==null||o.close(!1,!1,!0))}_afterClosePicker(){ue()&&(this._dialogInputValueState=this.valueState,this.blur()),this._toggle(),this._iconPressed=!1,this._preventTokenizerToggle=!1,this.filterSelected=!1}_beforeOpen(){if(this._itemsBeforeOpen=this.items.map(e=>({ref:e,selected:e.selected})),this._valueBeforeOpen=this.value,this._dialogInputValueState=this.valueState,this._innerInput.value=this.value,this.filterSelected){const e=this._filteredItems.filter(t=>t.selected);this.selectedItems=this.items.filter((t,o,r)=>At._groupItemFilter(t,++o,r,e)||e.indexOf(t)!==-1)}}_handleTypeAhead(e,t){if(!e)return;const o=e.text,r=this._innerInput;t=t||"",this.value=o,r.value=o,r.setSelectionRange(t.length,o.length),this._shouldAutocomplete=!1}_getFirstMatchingItem(e){if(!this.items.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.isGroupItem&&!o.selected);if(t.length)return t[0]}_startsWithMatchingItems(e){return Z_(e,this.items,"text")}_revertSelection(){this._filteredItems.forEach(e=>{e.selected=this._previouslySelectedItems.includes(e)})}onBeforeRendering(){const e=this._innerInput,t=e&&(e.selectionEnd||0)-(e.selectionStart||0),o=e&&e.value;if(this.open&&this._getList().then(r=>{var l,I;const n=(l=r==null?void 0:r.querySelectorAll("[ui5-li][selected]"))==null?void 0:l.length,s=(I=r==null?void 0:r.querySelectorAll("[ui5-li]"))==null?void 0:I.length;this._allSelected=n===s}),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.FormSupport=ze("FormSupport"),this._inputLastValue=o,e&&!e.value&&(this.valueBeforeAutoComplete="",this._filteredItems=this.items),this.items.forEach(r=>{r._getRealDomRef=()=>this.allItemsPopover.querySelector(`*[data-ui5-stable=${r.stableDomRef}]`)}),this.tokenizerAvailable=this._getSelectedItems().length>0,this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`),!(!e||!o)){if(this._shouldAutocomplete&&!Lf()&&!t){const r=this._getFirstMatchingItem(o);this.valueBeforeAutoComplete=o,r&&this._handleTypeAhead(r,o)}this._shouldFilterItems?this._filteredItems=this._filterItems(this._shouldAutocomplete||t?this.valueBeforeAutoComplete:o):this._filteredItems=this.items}}async onAfterRendering(){await this._getRespPopover(),await this._getList(),this.toggle(this.shouldDisplayOnlyValueStateMessage),this.storeResponsivePopoverWidth(),this._deleting=!1,this._tokenizer._handleResize()}get _isPhone(){return ue()}_onIconMousedown(){this._iconPressed=!0}_clear(){this.value="",this._inputDom.value="",this.fireEvent("input"),this._isPhone||this.focus()}_iconMouseDown(){this._clearingValue=!0}storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=this.list.offsetWidth)}toggle(e){e&&!this.open?this.openPopover():this.closePopover()}handleCancel(){this._itemsBeforeOpen.forEach(e=>{e.ref instanceof V6&&(e.ref.selected=e.selected)}),this.togglePopover(),this.value=this._valueBeforeOpen}handleOK(){ue()&&this.fireSelectionChange()&&this._revertSelection(),this.allowCustomValues||(this.value=""),this.togglePopover()}async openPopover(){var e;(e=await this._getPopover())==null||e.showAt(this)}_forwardFocusToInner(){this._innerInput.focus()}get morePopoverOpener(){var t;const e=(t=this._tokenizer)==null?void 0:t.tokens;return(e==null?void 0:e.length)===1&&e[0].isTruncatable?e[0]:this}async closePopover(){var e;(e=await this._getPopover())==null||e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}async _getResponsivePopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}async _setValueStateHeader(){const e=await this._getResponsivePopover();this.valueStateHeader=e.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root")}get _tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}inputFocusIn(e){var t;!ue()||this.readonly?(this.focused=!0,this._tokenizer.expanded=!0):this._innerInput.blur(),this._clearingValue=!1,!ue()&&(((t=e.relatedTarget)==null?void 0:t.tagName)!=="UI5-STATIC-AREA-ITEM"||!e.relatedTarget)&&this._innerInput.setSelectionRange(0,this.value.length),this._tokenizer.tokens.forEach(o=>{o.selected=!1}),this.valueBeforeAutoComplete=""}inputFocusOut(e){!this.shadowRoot.contains(e.relatedTarget)&&!this._deleting&&!this._clearingValue&&(this.focused=!1,this._lastValue!==this.value&&this._inputChange(),this._tokenizer.expanded=this.open,!ue()&&!this.allowCustomValues&&this.staticAreaItem!==e.relatedTarget&&(this.value=""))}get editable(){return!this.readonly}get _isFocusInside(){return!ue()&&(this.focused||this._tokenizerFocused)}get selectedItemsListMode(){return this.readonly?"None":"MultiSelect"}get _listItemsType(){return this.readonly?"Inactive":"Active"}get hasValueState(){return this.valueState!==W.None||this._dialogInputValueState!==W.None}get hasValueStateMessage(){const e=ue()?this._dialogInputValueState:this.valueState;return this.hasValueState&&e!==W.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return;let e="";return this.valueState!==W.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){const e=ue()?this._dialogInputValueState:this.valueState;return e===W.None?"":this._performingSelectionTwice?At.i18nBundle.getText(f4):this.valueStateTextMappings[e]}get valueStateTextId(){return this.hasValueState?"ui5-multi-combobox-valueStateDesc":void 0}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get ariaLabelText(){return Kt(this)}get _valueStateMessageIcon(){const e=ue()&&this.open?this._dialogInputValueState:this.valueState;return e===W.None?"":{[W.Error]:"error",[W.Warning]:"alert",[W.Success]:"sys-enter-2",[W.Information]:"information"}[e]}get _tokensCountText(){if(this._tokenizer)return this._tokenizer._tokensCountText()}get _tokensCountTextId(){return"ui5-multi-combobox-hiddenText-nMore"}get _selectedTokensCount(){return this._tokenizer.tokens.filter(e=>e.selected).length}get ariaDescribedByText(){return this.valueStateTextId?`${this._tokensCountTextId} ${this.valueStateTextId}`:`${this._tokensCountTextId}`}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get shouldDisplayOnlyValueStateMessage(){return this.focused&&!this.readonly&&this.hasValueStateMessage&&!this._iconPressed}get valueStateTypeMappings(){return{[W.Success]:At.i18nBundle.getText(ac),[W.Information]:At.i18nBundle.getText(sc),[W.Error]:At.i18nBundle.getText(rc),[W.Warning]:At.i18nBundle.getText(nc)}}get valueStateTextMappings(){return{[W.Success]:At.i18nBundle.getText(In),[W.Error]:At.i18nBundle.getText(Tn),[W.Warning]:At.i18nBundle.getText(Cn),[W.Information]:At.i18nBundle.getText(Jn)}}get _innerInput(){var e;return ue()&&(e=this.allItemsPopover)!=null&&e.opened?this.allItemsPopover.querySelector("ui5-input").shadowRoot.querySelector("input"):this._inputDom}get _headerTitleText(){return At.i18nBundle.getText(oc)}get _iconAccessibleNameText(){return At.i18nBundle.getText(dv)}get _showSelectedButtonAccessibleNameText(){return At.i18nBundle.getText(Y3)}get _dialogOkButton(){return At.i18nBundle.getText(h4)}get _tokenizerExpanded(){var o;if(ue()||this.readonly)return!1;if(this._preventTokenizerToggle)return this._tokenizer.expanded;const e=(o=this._tokenizer)==null?void 0:o.expanded;return this.focused||this.open||e}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}get clearIconAccessibleName(){return At.i18nBundle.getText(F_)}get selectAllCheckboxLabel(){const e=this.items.filter(o=>!o.isGroupItem),t=e.filter(o=>o.selected);return At.i18nBundle.getText(K3,t.length,e.length)}get classes(){return{popover:{"ui5-multi-combobox-all-items-responsive-popover":!0,"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateMessage,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateMessage},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===W.Success||this._dialogInputValueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error||this._dialogInputValueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning||this._dialogInputValueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information||this._dialogInputValueState===W.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverValueStateMessage:{width:`${this._listWidth||0}px`,display:this._listWidth===0?"none":"inline-block"},popoverHeader:{"max-width":ue()?"100%":`${this._inputWidth}px`},suggestionsPopover:{"min-width":`${this._inputWidth}px`,"max-width":this._inputWidth/e>40?`${this._inputWidth}px`:"40rem"}}}static async onDefine(){At.i18nBundle=await fe("@ui5/webcomponents")}};He([A()],Me.prototype,"value",void 0);He([A({type:Boolean})],Me.prototype,"noTypeahead",void 0);He([A()],Me.prototype,"placeholder",void 0);He([A({type:Boolean})],Me.prototype,"allowCustomValues",void 0);He([A({type:Boolean})],Me.prototype,"disabled",void 0);He([A({type:W,defaultValue:W.None})],Me.prototype,"valueState",void 0);He([A({type:Boolean})],Me.prototype,"readonly",void 0);He([A({type:Boolean})],Me.prototype,"required",void 0);He([A({type:m_,defaultValue:m_.StartsWithPerTerm})],Me.prototype,"filter",void 0);He([A({type:Boolean})],Me.prototype,"showClearIcon",void 0);He([A()],Me.prototype,"accessibleName",void 0);He([A()],Me.prototype,"accessibleNameRef",void 0);He([A({type:Boolean})],Me.prototype,"showSelectAll",void 0);He([A({type:W,defaultValue:W.None})],Me.prototype,"_effectiveValueState",void 0);He([A({type:Boolean})],Me.prototype,"_open",void 0);He([A()],Me.prototype,"_valueBeforeOpen",void 0);He([A({type:Object,noAttribute:!0,multiple:!0})],Me.prototype,"_filteredItems",void 0);He([A({type:Object,noAttribute:!0,multiple:!0})],Me.prototype,"_previouslySelectedItems",void 0);He([A({type:Boolean})],Me.prototype,"filterSelected",void 0);He([A({type:Boolean})],Me.prototype,"focused",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_tokenizerFocused",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_iconPressed",void 0);He([A({validator:ae,noAttribute:!0})],Me.prototype,"_inputWidth",void 0);He([A({validator:ae,noAttribute:!0,defaultValue:0})],Me.prototype,"_listWidth",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_performingSelectionTwice",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_allSelected",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_effectiveShowClearIcon",void 0);He([A({type:W,defaultValue:W.None})],Me.prototype,"_dialogInputValueState",void 0);He([A({type:Boolean})],Me.prototype,"tokenizerAvailable",void 0);He([Z({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],Me.prototype,"items",void 0);He([Z()],Me.prototype,"icon",void 0);He([Z()],Me.prototype,"valueStateMessage",void 0);Me=At=He([K({tag:"ui5-multi-combobox",languageAware:!0,renderer:de,template:qz,staticAreaTemplate:jz,styles:iH,staticAreaStyles:[Vr,Za,Q_,oH],dependencies:[V6,Uz,C6,T6,Be,fo,Vi,vo,ta,id,od,Ne,Zu]}),q("change"),q("input"),q("open-change"),q("selection-change",{detail:{items:{type:Array}}})],Me);Me.define();function rH(i,e,t){return w`
    ${this.showValueInRemainingBar?void 0:nH.call(this,i,e,t)}
    ${this.showValueInRemainingBar?uH.call(this,i,e,t):void 0}
    `}function nH(i,e,t){return w`${this.showIcon?aH.call(this,i,e,t):void 0}${this.hideValue?void 0:sH.call(this,i,e,t)}`}function aH(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:w``}function sH(i,e,t){return w`${this.displayValue?lH.call(this,i,e,t):cH.call(this,i,e,t)}`}function lH(i,e,t){return w`${a(this.displayValue)}`}function cH(i,e,t){return w`${a(this.validatedValue)}% `}function uH(i,e,t){return w`${this.showIcon?dH.call(this,i,e,t):void 0}${this.hideValue?void 0:_H.call(this,i,e,t)}`}function dH(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:w``}function _H(i,e,t){return w`${this.displayValue?hH.call(this,i,e,t):pH.call(this,i,e,t)}`}function hH(i,e,t){return w`${a(this.displayValue)}`}function pH(i,e,t){return w`${a(this.validatedValue)}% `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const fH={packageName:"@ui5/webcomponents",fileName:"themes/ProgressIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;min-height:var(_ui5_progress_indicator_host_min_height);min-width:4rem;width:100%;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_height);overflow:hidden;box-sizing:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_box_sizing);padding:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding_end)}.ui5-progress-indicator-root{display:flex;align-items:center;background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_none);border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_border_radius);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_overflow);min-height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_min_height);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_height);width:100%;font-size:var(--sapProgress_FontSize);font-family:"72override",var(--sapFontFamily);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_position);box-sizing:border-box}.ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none);justify-content:flex-end;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_height);display:flex;align-items:center;flex-direction:row;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_color);transition-property:width;transition-timing-function:linear;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_max);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_progress_indicator_border);border-radius:.5rem}.ui5-progress-indicator-remaining-bar{justify-content:flex-start;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_width);height:100%;display:flex;align-items:center;flex-direction:row;flex-grow:1;flex-basis:0;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_border);border-inline-start:none;border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius);box-sizing:border-box;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_color);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_overflow);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_position)}.ui5-progress-indicator-value{margin:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_margin);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;position:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_position);top:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_top_position);inset-inline-start:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_left_position)}.ui5-progress-indicator-icon{margin-inline-start:.375rem;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);display:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_visibility);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_position);inset-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_right_position)}:host([value-state="Error"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_icon_color)}:host([value-state="Warning"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_icon_color)}:host([value-state="Success"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_icon_color)}:host([value-state="Information"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_icon_color)}:host([value-state="Error"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_border_color)}:host([value-state="Warning"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_border_color)}:host([value-state="Success"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_border_color)}:host([value-state="Information"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_border_color)}:host([value-state="Error"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_error)}:host([value-state="Warning"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_warning)}:host([value-state="Success"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_success)}:host([value-state="Information"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_information)}:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_error)}:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_warning)}:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_success)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_information)}:host([disabled]) .ui5-progress-indicator-root{opacity:.4}.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-v1-22-1-rc-0_progress_indicator_side_points_visibility);background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none)}.ui5-progress-indicator-remaining-bar:before{left:.0625rem}.ui5-progress-indicator-remaining-bar:after{right:.0625rem}: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)}: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)}: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)}: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)} +`};var il=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ts;let hn=Ts=class extends ie{constructor(){super(),this._previousValue=0,this._transitionDuration=0}onBeforeRendering(){this._transitionDuration=Math.abs(this._previousValue-this.validatedValue)*20,this._previousValue=this.validatedValue}valueStateTextMappings(){return{Error:Ts.i18nBundle.getText(Tn),Warning:Ts.i18nBundle.getText(Cn),Success:Ts.i18nBundle.getText(In),Information:Ts.i18nBundle.getText(Jn)}}valueStateIconMappings(){return{Error:"status-negative",Warning:"status-critical",Success:"status-positive",Information:"information"}}get styles(){return{bar:{width:`${this.validatedValue}%`,"transition-duration":this.shouldAnimate?`${this._transitionDuration}ms`:"none"}}}get classes(){return{root:{"ui5-progress-indicator-max-value":this.validatedValue===100,"ui5-progress-indicator-min-value":this.validatedValue===0}}}get validatedValue(){return this.value<0?0:this.value>100?100:this.value}get showValueInRemainingBar(){return this.value<=50}get shouldAnimate(){return Ra()!==Un.None}get valueStateText(){const e=`${this.validatedValue}%`,t=this.valueStateTextMappings()[this.valueState];return t?`${e} ${t}`:e}get showIcon(){return this.valueState!==W.None}get valueStateIcon(){return this.valueStateIconMappings()[this.valueState]}get _ariaDisabled(){return this.disabled||void 0}static async onDefine(){Ts.i18nBundle=await fe("@ui5/webcomponents")}};il([A()],hn.prototype,"accessibleName",void 0);il([A({type:Boolean})],hn.prototype,"disabled",void 0);il([A({type:Boolean})],hn.prototype,"hideValue",void 0);il([A({validator:ae,defaultValue:0})],hn.prototype,"value",void 0);il([A({defaultValue:null})],hn.prototype,"displayValue",void 0);il([A({type:W,defaultValue:W.None})],hn.prototype,"valueState",void 0);hn=Ts=il([K({tag:"ui5-progress-indicator",renderer:de,styles:fH,template:rH,dependencies:[Be]})],hn);hn.define();const vH=hn;function mH(i,e,t){return w`
    `}function gH(i,e,t,o,r){return w`${o.selected?bH.call(this,i,e,t,o,r):yH.call(this,i,e,t,o,r)}`}function bH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:w`
  • `}function yH(i,e,t,o,r){return w`${o.halfStar?wH.call(this,i,e,t,o,r):TH.call(this,i,e,t,o,r)}`}function wH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
    <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite" class="ui5-rating-indicator-half-icon">
  • `:w`
  • `}function TH(i,e,t,o,r){return w`${this.readonly?CH.call(this,i,e,t,o,r):IH.call(this,i,e,t,o,r)}`}function CH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:w`
  • `}function IH(i,e,t,o,r){return w`${this.disabled?SH.call(this,i,e,t,o,r):kH.call(this,i,e,t,o,r)}`}function SH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:w`
  • `}function kH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
  • `:w`
  • `}const EH="favorite",H6="M378.36 297.834q-5.996 3.998-2.998 8.995l71.96 193.892q1.999 4.997-2.499 8.995t-9.494.999l-174.903-123.93q-4.997-3-8.995 0L76.53 510.714q-4.997 2.998-9.495-1t-2.499-8.994l71.96-193.892q2-5.997-2.998-8.995L3.569 205.885q-4.997-2.998-2.998-8.495t6.996-5.497h165.908q4.997 0 7.995-4.997L248.433 4.997Q250.432 0 255.929 0t7.495 4.997l66.963 181.899q1.999 4.997 7.996 4.997H503.29q5.996 0 7.995 5.497t-2.998 8.495z",$H=!1,AH="SAP-icons-v4",xH="@ui5/webcomponents-icons";ee(EH,{pathData:H6,ltr:$H,collection:AH,packageName:xH});const DH="favorite",U6="M0 198q0-9 6.5-16t15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 16q0 11-7 18L399 328l26 154q1 2 1 5 0 10-7.5 17.5T400 512q-6 0-12-3l-132-74-132 74q-4 3-12 3-11 0-18.5-7.5T86 487q0-2 .5-2.5t.5-2.5l26-154L7 216q-7-7-7-18z",PH=!1,OH="SAP-icons-v5",BH="@ui5/webcomponents-icons";ee(DH,{pathData:U6,ltr:PH,collection:OH,packageName:BH});Se();const RH="unfavorite",q6="M8.569 191.946h164.954q5.998 0 7.998-4.998l66.981-181.95Q250.502 0 256.5 0q4.998 0 6.998 4.999l66.981 181.949q2 4.998 7.998 4.998h165.954q4.998 0 6.998 5.499t-3 8.498l-129.963 91.974q-4 2.999-3 8.997l71.98 193.946q2 4.999-1 7.998t-6.997 3q-3 0-4-1L260.5 386.891q-1-1-4-1-3.998 0-4.998 1L76.551 510.857q-1 1-4 1-3.999 0-6.998-2.999t-1-7.998l71.98-193.946q2-5.998-2.999-8.997L3.57 205.943q-4.998-3-2.999-8.498t7.998-5.499zm143.96 79.978q10.997 7.998 14.996 20.494t-1 25.493l-44.987 121.966L233.506 360.9q9.997-6.998 22.994-6.998 11.996 0 21.994 5.999l111.968 79.977-44.987-121.966q-4.999-12.996-1-25.493t14.996-20.494l68.98-47.986h-89.974q-26.992 0-37.99-25.993L256.5 76.979l-44.988 120.966q-10.997 25.993-37.989 25.993H84.548z",LH=!1,NH="SAP-icons-v4",MH="@ui5/webcomponents-icons";ee(RH,{pathData:q6,ltr:LH,collection:NH,packageName:MH});const FH="unfavorite",W6="M400 510q-7 0-12-3l-132-74-131 74q-6 3-13 3-11 0-18.5-7T86 485q0-2 .5-2.5t.5-1.5l26-155L7 214q-7-7-7-17t6.5-17 15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 17q0 11-7 17L399 326l26 155q1 1 1 4 0 11-7.5 18t-18.5 7zM256 379q7 0 13 3l97 54-20-114q0-7 1-12t6-10l81-85-112-16q-13-1-20-15l-46-99-46 99q-5 13-19 15L78 215l81 85q5 5 6 10t1 12l-20 114 98-54q5-3 12-3z",VH=!1,zH="SAP-icons-v5",HH="@ui5/webcomponents-icons";ee(FH,{pathData:W6,ltr:VH,collection:zH,packageName:HH});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const UH={packageName:"@ui5/webcomponents",fileName:"themes/RatingIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;font-size:24px;margin:var(--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:.4;cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .ui5-rating-indicator-item-unsel,:host([readonly]) .ui5-rating-indicator-item-unsel{padding-inline:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing);width:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:.9}:host([_focused]){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5-v1-22-1-rc-0_rating_indicator_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_rating_indicator_border_radius)}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.ui5-rating-indicator-root{outline:none;position:relative}.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-v1-22-1-rc-0_rating_indicator_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_item_height)}.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,.ui5-rating-indicator-item.ui5-rating-indicator-item-half{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-item [ui5-icon].ui5-rating-indicator-half-icon{position:absolute;inset-inline-start:50%;color:var(--sapContent_RatedColor)}.ui5-rating-indicator-half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden} +`};var qr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},hl;let Lo=hl=class extends ie{static async onDefine(){hl.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this.calcState()}calcState(){this._stars=[];for(let e=1;e2&&t<8?o=!0:t<=2?r=Math.floor(this.value):t>=8&&(r=Math.ceil(this.value)),this._stars.push({selected:e<=r,index:e,halfStar:o})}}_onclick(e){const t=e.target;if(!(t instanceof HTMLElement)||this.disabled||this.readonly)return;const o=t.getAttribute("data-ui5-value");o!==null&&(this.value=parseInt(o),this.value===1&&this._liveValue===1&&(this.value=0),this._liveValue!==this.value&&(this.fireEvent("change"),this._liveValue=this.value))}_onkeydown(e){if(this.disabled||this.readonly)return;const t=qe(e)||Ct(e),o=_t(e)||Xe(e),r=le(e)||Ie(e),n=Wt(e),s=ki(e),l=e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105;if(t||o||r||n||s||l){if(e.preventDefault(),t&&this.value>0)this.value=Math.round(this.value-1);else if(o&&this.valuethis.max?0:I}else if(n)this.value=0;else if(s)this.value=this.max;else if(l){const I=parseInt(e.key);this.value=I>this.max?this.max:I}this.fireEvent("change")}}_onfocusin(){this.disabled||(this._focused=!0,this._liveValue=this.value)}_onfocusout(){this._focused=!1}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled?"-1":e||"0"}get ratingTooltip(){return this.tooltip||this.defaultTooltip}get defaultTooltip(){return hl.i18nBundle.getText(y4)}get _ariaRoleDescription(){return hl.i18nBundle.getText(w4)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabel(){return Kt(this)}get _ariaDescription(){return this.required?hl.i18nBundle.getText(T4):void 0}get ariaReadonly(){return this.readonly?"true":void 0}};qr([A({validator:Zt,defaultValue:0})],Lo.prototype,"value",void 0);qr([A({validator:ae,defaultValue:5})],Lo.prototype,"max",void 0);qr([A({type:Boolean})],Lo.prototype,"disabled",void 0);qr([A({type:Boolean})],Lo.prototype,"readonly",void 0);qr([A()],Lo.prototype,"accessibleName",void 0);qr([A({defaultValue:""})],Lo.prototype,"accessibleNameRef",void 0);qr([A({type:Boolean})],Lo.prototype,"required",void 0);qr([A()],Lo.prototype,"tooltip",void 0);qr([A({type:Object,multiple:!0})],Lo.prototype,"_stars",void 0);qr([A({type:Boolean})],Lo.prototype,"_focused",void 0);Lo=hl=qr([K({tag:"ui5-rating-indicator",languageAware:!0,renderer:de,styles:UH,template:mH,dependencies:[Be]}),q("change")],Lo);Lo.define();const qH="slim-arrow-up",j6="M261.5 197q-6-6-11 0l-160 160q-5 5-11.5 5t-11.5-5-5-11.5 5-11.5l166-165q9-9 22-9t23 9l165 165q5 5 5 11t-5 11q-12 12-23 0z",WH=!1,jH="SAP-icons-v4",GH="@ui5/webcomponents-icons";ee(qH,{pathData:j6,ltr:WH,collection:jH,packageName:GH});const YH="slim-arrow-up",G6="M96 326q0-10 7-17l135-141q6-8 18-8 11 0 19 8l134 141q7 7 7 17 0 11-7.5 18.5T390 352q-10 0-18-8L256 223 140 344q-8 8-18 8-11 0-18.5-7.5T96 326z",XH=!1,KH="SAP-icons-v5",ZH="@ui5/webcomponents-icons";ee(YH,{pathData:G6,ltr:XH,collection:KH,packageName:ZH});Se();var N1;(function(i){i.Top="Top",i.Bottom="Bottom"})(N1||(N1={}));const M1=N1;var F1;(function(i){i.Default="Default",i.Positive="Positive",i.Negative="Negative",i.Critical="Critical",i.Neutral="Neutral"})(F1||(F1={}));const fi=F1;var V1;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(V1||(V1={}));const T_=V1;var z1;(function(i){i.Inline="Inline",i.Standard="Standard"})(z1||(z1={}));const C_=z1;var H1;(function(i){i.End="End",i.StartAndEnd="StartAndEnd"})(H1||(H1={}));const U1=H1;function QH(i,e,t){return w`
    ${this.tabsAtTheBottom?JH.call(this,i,e,t):void 0}
    ${X(this.items,(o,r)=>o._id||r,(o,r)=>oU.call(this,i,e,t,o,r))}
    ${this.tabsAtTheBottom?void 0:aU.call(this,i,e,t)}${this.hasSubTabs?lU.call(this,i,e,t):void 0}
    `}function JH(i,e,t){return w`
    ${X(this.items,(o,r)=>o._id||r,(o,r)=>eU.call(this,i,e,t,o,r))}
    `}function eU(i,e,t,o,r){return w``}function tU(i,e,t){return w``}function iU(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-start" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._startOverflowText)}`:w`${a(this._startOverflowText)}`}function oU(i,e,t,o,r){return w`${a(o.stripPresentation)}`}function rU(i,e,t){return w``}function nU(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-end" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._endOverflowText)}`:w`${a(this._endOverflowText)}`}function aU(i,e,t){return w`
    ${X(this.items,(o,r)=>o._id||r,(o,r)=>sU.call(this,i,e,t,o,r))}
    `}function sU(i,e,t,o,r){return w``}function lU(i,e,t){return w`${a(this.accInvisibleText)}`}function cU(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop hide-arrow _hide-header class="ui5-tab-container-responsive-popover"><${D("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOverflowListItemClick)}">${X(this._overflowItems,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}`:w`${X(this._overflowItems,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}`}function ig(i,e,t,o,r){return w`${a(o.overflowPresentation)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const uU={packageName:"@ui5/webcomponents",fileName:"themes/TabContainer.css.ts",content:`.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;width:100%;container-type:inline-size}.ui5-tc-root{display:flex;flex-direction:column;width:100%;height:100%;font-family:"72override",var(--sapFontFamily);font-size:1rem}.ui5-tc__header{position:relative;display:flex;align-items:center;background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background);height:var(--_ui5-v1-22-1-rc-0_tc_header_height);box-shadow:var(--_ui5-v1-22-1-rc-0_tc_header_box_shadow);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__header{border-top:var(--_ui5-v1-22-1-rc-0_tc_header_border_bottom)}:host([header-background-design="Transparent"]) .ui5-tc__header{background-color:transparent}:host([header-background-design="Translucent"]) .ui5-tc__header{background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background_translucent)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only)}.ui5-tc-root.ui5-tc--textOnly.ui5-tc--withAdditionalText.ui5-tc--standardTabLayout .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_with_additional_text)}.ui5-tc__tabStrip{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative;white-space:nowrap}.ui5-tc__separator:focus{outline:none}.ui5-tc__overflow{flex:0 0 0}.ui5-tc__overflow.ui5-tc__overflow--end{padding-inline-start:.188rem;margin-inline-end:1rem}.ui5-tc__overflow.ui5-tc__overflow--start{margin-inline-start:1rem}.ui5-tc__overflow[hidden]{display:none}.ui5-tc__overflow>[ui5-button]{border-radius:.75rem;height:1.5rem}.ui5-tc__overflow>[ui5-button]:not([active]){color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button]:not([active]):hover{color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button][focused]{outline-offset:.125rem;--_ui5-v1-22-1-rc-0_button_focused_border: none;outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__content{height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only))}.ui5-tc__content{position:relative;display:flex;height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height));background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background);border-bottom:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__content{border-top:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom)}:host([content-background-design="Transparent"]) .ui5-tc__content{background-color:transparent}:host([content-background-design="Translucent"]) .ui5-tc__content{background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background_translucent)}.ui5-tc__content--collapsed{display:none}.ui5-tc--transparent .ui5-tc__content{background-color:transparent}.ui5-tc__contentItem{max-height:100%;display:flex;flex-grow:1;overflow:auto}.ui5-tc__contentItem[hidden]{display:none}.ui5-tc__header{padding:0}.ui5-tc__content{padding:1rem}@container (min-width: 600px){.ui5-tc__header{padding:0 1rem}.ui5-tc__content{padding:1rem 2rem}}@container (min-width: 1440px){.ui5-tc__header{padding:0 2rem}.ui5-tc__content{padding:1rem 3rem}} +`};var Jt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Bn;const Y6=[],X6=[],dU=5;let kt=Bn=class extends ie{static registerTabStyles(e){Y6.push(e)}static registerStaticAreaTabStyles(e){X6.push(e)}constructor(){super(),this._handleResizeBound=this._handleResize.bind(this),this._itemNavigation=new $i(this,{getItemsCallback:()=>this._getFocusableRefs(),skipItemsSize:dU})}onBeforeRendering(){if(this._allItemsAndSubItems=this._getAllSubItems(this.items),!this._allItemsAndSubItems.length)return;const e=this._allItemsAndSubItems.filter(t=>t.selected);e.length?(this._selectedTab.forcedSelected=!1,this._selectedTab=e[0]):(this._selectedTab=this._allItemsAndSubItems[0],this._selectedTab.forcedSelected=!0),this._setItemsPrivateProperties(this.items),this._animationRunning||(this._contentCollapsed=this.collapsed),this.showOverflow&&console.warn('The "show-overflow" property is deprecated and will be removed in a future release.')}onAfterRendering(){if(this.items.length&&(this._setItemsForStrip(),!this.shadowRoot.contains(document.activeElement))){const e=this._getRootTab(this._selectedTab);this._itemNavigation.setCurrentItem(e)}}onEnterDOM(){Ce.register(this._getHeader(),this._handleResizeBound)}onExitDOM(){Ce.deregister(this._getHeader(),this._handleResizeBound)}_handleResize(){this.responsivePopover&&this.responsivePopover.opened&&this.responsivePopover.close(),this._width=this.offsetWidth}_setItemsPrivateProperties(e){e.filter(o=>(o.getElementInStrip=()=>this.getDomRef().querySelector(`[id="${o._id}"]`),!o.isSeparator)).forEach((o,r,n)=>{o.isInline=this.tabLayout===C_.Inline,o.forcedMixedMode=this.mixedMode,o.forcedPosinset=r+1,o.forcedSetsize=n.length,o.realTabReference=this._selectedTab,o.isTopLevelTab=e.some(s=>s===o),q1(e,s=>{s.realTabReference=o.realTabReference})})}_onHeaderFocusin(e){const t=Sd(e.target);t&&this._itemNavigation.setCurrentItem(t.realTabReference)}async _onTabStripClick(e){const t=Sd(e.target);if(!(!t||t.realTabReference.disabled)){if(e.stopPropagation(),e.preventDefault(),e.target.hasAttribute("ui5-button")){this._onTabExpandButtonClick(e);return}if(!t.realTabReference.hasOwnContent&&t.realTabReference.tabs.length){this._overflowItems=t.realTabReference.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t.realTabReference.getTabInStripDomRef());return}this._onHeaderItemSelect(t)}}async _onTabExpandButtonClick(e){e.stopPropagation(),e.preventDefault();let t=e.target,o=t.tab;if(o&&o.focus(),e.type==="keydown"&&!e.target.realTabReference.isSingleClickArea&&(t=e.target.querySelectorAll(".ui5-tab-expand-button")[0],o=e.target.realTabReference),!o){this._onHeaderItemSelect(t.parentElement);return}this._overflowItems=o.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.isOpen()?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t)}_setPopoverInitialFocus(){const t=this._getSelectedTabInOverflow()||this._getFirstFocusableItemInOverflow();this.responsivePopover.initialFocus=`${t.realTabReference._id}-li`}_getSelectedTabInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.realTabReference&&e.realTabReference.selected)}_getFirstFocusableItemInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.classList.contains("ui5-tab-overflow-item"))}_onTabStripKeyDown(e){const t=Sd(e.target);!t||t.realTabReference.disabled||(Ie(e)&&(t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t)),le(e)&&e.preventDefault(),(qe(e)||Xe(e))&&(t.realTabReference.requiresExpandButton&&this._onTabExpandButtonClick(e),t.realTabReference.isSingleClickArea&&this._onTabStripClick(e)))}_onTabStripKeyUp(e){const t=Sd(e.target);!t||t.realTabReference.disabled||le(e)&&(e.preventDefault(),t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t))}_onHeaderItemSelect(e){e.hasAttribute("disabled")||this._onItemSelect(e.id)}async _onOverflowListItemClick(e){e.preventDefault(),this._onItemSelect(e.detail.item.id.slice(0,-3)),this.responsivePopover.close(),await Mt(),this._getRootTab(this._selectedTab).getTabInStripDomRef().focus()}get allItems(){return this._getAllSubItems(this.items)}_getAllSubItems(e,t=[],o=1){return e.forEach(r=>{(r.hasAttribute("ui5-tab")||r.hasAttribute("ui5-tab-separator"))&&(r.forcedLevel=o,t.push(r),r.subTabs&&this._getAllSubItems(r.subTabs,t,o+1))}),t}_onItemSelect(e){const t=this._selectedTab,o=this._allItemsAndSubItems.findIndex(s=>s.__id===e),r=this._allItemsAndSubItems[o];this.selectTab(r,o)&&(this._allItemsAndSubItems.forEach((s,l)=>{const I=o===l;s.selected=I,s.forcedSelected&&(s.forcedSelected=!1)}),!this.fixed&&(this.shouldAnimate?this.toggleAnimated(r,t):this.toggle(r,t)))}async toggleAnimated(e,t){const o=this.shadowRoot.querySelector(".ui5-tc__content");let r=null;this._animationRunning=!0,e===t?(this.collapsed=!this.collapsed,r=this.collapsed?this.slideContentUp(o):this.slideContentDown(o)):(r=this.collapsed?this.slideContentDown(o):Promise.resolve(),this.collapsed=!1),await r,this._contentCollapsed=this.collapsed,this._animationRunning=!1}toggle(e,t){e===t?this.collapsed=!this.collapsed:this.collapsed=!1}selectTab(e,t){return this.fireEvent("tab-select",{tab:e,tabIndex:t},!0)?(this._selectedTab=e,!0):!1}slideContentDown(e){return $6(e).promise()}slideContentUp(e){return A6(e).promise()}async _onOverflowClick(e){if(e.target.classList.contains("ui5-tc__overflow"))return;const o=e.currentTarget.classList.contains("ui5-tc__overflow--end"),r=o?"end-overflow":"start-overflow";this._overflowItems=this.items.filter(s=>{const l=s.getTabInStripDomRef();return l&&l.hasAttribute(r)}),this._addStyleIndent(this._overflowItems);let n;o?n=this.overflowButton[0]||this._getEndOverflowBtnDOM():n=this.startOverflowButton[0]||this._getStartOverflowBtnDOM(),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():(this._setPopoverInitialFocus(),this.responsivePopover.showAt(n))}_addStyleIndent(e){const t=this._getAllSubItems(e).filter(o=>!o.isSeparator).some(o=>o.design!==fi.Default&&o.design!==fi.Neutral);q1(e,o=>{let r=o.forcedLevel-1;o.isSeparator&&(r+=1),o.forcedStyle={[Po("--_ui5-tab-indentation-level")]:r,[Po("--_ui5-tab-extra-indent")]:t?1:null}})}async _onOverflowKeyDown(e){const t=e.currentTarget,o=t.classList.contains("ui5-tc__overflow--end"),r=t.classList.contains("ui5-tc__overflow--start");(qe(e)||r&&Ct(e)||o&&_t(e))&&(e.stopPropagation(),e.preventDefault(),await this._onOverflowClick(e))}_setItemsForStrip(){const e=this._getTabStrip();let t=0;if(!this._selectedTab)return;const o=this.items.map(n=>n.getTabInStripDomRef());this._getStartOverflow().setAttribute("hidden",""),this._getEndOverflow().setAttribute("hidden","");for(let n=0;n{t+=this._getItemWidth(n)}),e.offsetWidth=0;C--)e[C].setAttribute("hidden",""),e[C].setAttribute("start-overflow","");return}this._getStartOverflow().removeAttribute("hidden"),this._getEndOverflow().removeAttribute("hidden"),t=this._getTabStrip().offsetWidth,I=this._findFirstVisibleItem(e,t,n.width,n.index-1),y=this._findLastVisibleItem(e,t,n.width,I);for(let C=I-1;C>=0;C--)e[C].setAttribute("hidden",""),e[C].setAttribute("start-overflow","");for(let C=y+1;C=0;s--)r+=this._getItemWidth(t[s]);let n=e=t.length)return!1;let r=0;for(let s=o.index;s=0;s--){const l=this._getItemWidth(e[s]);if(to.getTabInStripDomRef()).forEach(o=>{o.hasAttribute("start-overflow")&&e++,o.hasAttribute("end-overflow")&&t++}),this._startOverflowText=`+${e}`,this._endOverflowText=`+${t}`}_getFocusableRefs(){if(!this.getDomRef())return[];const e=[];return this._getStartOverflow().hasAttribute("hidden")||e.push(this.startOverflowButton[0]||this._getStartOverflowBtnDOM()),this._getTabs().forEach(t=>{const o=t.getTabInStripDomRef();o&&!o.hasAttribute("hidden")&&e.push(t)}),this._getEndOverflow().hasAttribute("hidden")||e.push(this.overflowButton[0]||this._getEndOverflowBtnDOM()),e}_getHeader(){return this.shadowRoot.querySelector(`#${this._id}-header`)}_getTabs(){return this.items.filter(e=>!e.isSeparator)}get hasSubTabs(){const e=this._getTabs();for(let t=0;t0)return!0;return!1}_getTabStrip(){return this.shadowRoot.querySelector(`#${this._id}-tabStrip`)}_getStartOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--start")}_getEndOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--end")}_getStartOverflowBtnDOM(){return this._getStartOverflow().querySelector("[ui5-button]")}_getEndOverflowBtnDOM(){return this._getEndOverflow().querySelector("[ui5-button]")}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector(`#${this._id}-overflowMenu`)}async _closeRespPopover(){this.responsivePopover=await this._respPopover(),this.responsivePopover.close()}get classes(){return{root:{"ui5-tc-root":!0,"ui5-tc--textOnly":this.textOnly,"ui5-tc--withAdditionalText":this.withAdditionalText,"ui5-tc--standardTabLayout":this.standardTabLayout},header:{"ui5-tc__header":!0},tabStrip:{"ui5-tc__tabStrip":!0},separator:{"ui5-tc__separator":!0},content:{"ui5-tc__content":!0,"ui5-tc__content--collapsed":this._contentCollapsed}}}get mixedMode(){return this.items.some(e=>e.icon)&&this.items.some(e=>e.text)}get textOnly(){return this.items.every(e=>!e.icon)}get withAdditionalText(){return this.items.some(e=>!!e.additionalText)}get standardTabLayout(){return this.tabLayout===C_.Standard}get previousIconACCName(){return Bn.i18nBundle.getText(V4)}get nextIconACCName(){return Bn.i18nBundle.getText(F4)}get overflowMenuTitle(){return Bn.i18nBundle.getText(z4)}get tabsAtTheBottom(){return this.tabsPlacement===M1.Bottom}get overflowMenuIcon(){return this.tabsAtTheBottom?"slim-arrow-up":"slim-arrow-down"}get overflowButtonText(){return Bn.i18nBundle.getText(vv)}get popoverCancelButtonText(){return Bn.i18nBundle.getText(H4)}get accInvisibleText(){return Bn.i18nBundle.getText(U4)}get tablistAriaDescribedById(){return this.hasSubTabs?`${this._id}-invisibleText`:void 0}get shouldAnimate(){return Ra()!==Un.None}static async onDefine(){Bn.i18nBundle=await fe("@ui5/webcomponents")}};Jt([A({type:Boolean})],kt.prototype,"fixed",void 0);Jt([A({type:Boolean})],kt.prototype,"collapsed",void 0);Jt([A({type:Boolean})],kt.prototype,"showOverflow",void 0);Jt([A({type:C_,defaultValue:C_.Standard})],kt.prototype,"tabLayout",void 0);Jt([A({type:U1,defaultValue:U1.End})],kt.prototype,"tabsOverflowMode",void 0);Jt([A({type:T_,defaultValue:T_.Solid})],kt.prototype,"headerBackgroundDesign",void 0);Jt([A({type:T_,defaultValue:T_.Solid})],kt.prototype,"contentBackgroundDesign",void 0);Jt([A({type:M1,defaultValue:M1.Top})],kt.prototype,"tabsPlacement",void 0);Jt([A({type:Object})],kt.prototype,"_selectedTab",void 0);Jt([A({type:Boolean,noAttribute:!0})],kt.prototype,"_animationRunning",void 0);Jt([A({type:Boolean,noAttribute:!0})],kt.prototype,"_contentCollapsed",void 0);Jt([A({noAttribute:!0,defaultValue:"0"})],kt.prototype,"_startOverflowText",void 0);Jt([A({noAttribute:!0,defaultValue:"More"})],kt.prototype,"_endOverflowText",void 0);Jt([A({type:Object,multiple:!0})],kt.prototype,"_overflowItems",void 0);Jt([A({validator:ae,noAttribute:!0})],kt.prototype,"_width",void 0);Jt([Z({default:!0,type:HTMLElement,individualSlots:!0,invalidateOnChildChange:{properties:!0,slots:!1}})],kt.prototype,"items",void 0);Jt([Z()],kt.prototype,"overflowButton",void 0);Jt([Z()],kt.prototype,"startOverflowButton",void 0);kt=Bn=Jt([K({tag:"ui5-tabcontainer",languageAware:!0,fastNavigation:!0,styles:[Y6,uU],staticAreaStyles:[Vr,X6],renderer:de,template:QH,staticAreaTemplate:cU,dependencies:[Ne,Be,vo,fo]}),q("tab-select",{detail:{tab:{type:HTMLElement},tabIndex:{type:Number}}})],kt);const _U=i=>i.localName==="div"&&i.getAttribute("role")==="tab",Sd=i=>{for(;i;){if(_U(i))return i;i=i.parentElement}return!1},q1=(i,e)=>{[...i].forEach(t=>{e(t),t.subTabs&&q1(t.subTabs,e)})};kt.define();const sh=kt;function hU(i,e,t){return w`
    ${X(this.tabs,(o,r)=>o._id||r,(o,r)=>pU.call(this,i,e,t,o,r))}
    `}function pU(i,e,t,o,r){return w``}function fU(i,e,t){return w``}function iO(i,e,t){return c`
    `}function oO(i,e,t){return c`
    ${a(this.titleText)}
    `}function rO(i,e,t){return c`
    ${a(this.status)}
    `}function nO(i,e,t){return c`
    ${a(this.subtitleText)}
    `}function aO(i,e,t){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const sO={packageName:"@ui5/webcomponents",fileName:"themes/CardHeader.css.ts",content:`.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-card-header{position:relative;display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_card_header_padding);outline:none}:host([subtitleText]) .ui5-card-header{align-items:flex-start}.ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-within:before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus):before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header-focusable-element{outline:none}.ui5-card-header-focusable-element{display:inherit;align-items:inherit;flex:1}.ui5-card-header.ui5-card-header--interactive:hover{cursor:pointer;background:var(--_ui5-v1-22-1-rc-0_card_header_hover_bg)}.ui5-card-header.ui5-card-header--active,.ui5-card-header.ui5-card-header--interactive:active{background:var(--_ui5-v1-22-1-rc-0_card_header_active_bg)}.ui5-card-header .ui5-card-header-text{flex:1;pointer-events:none}.ui5-card-header-first-line{display:flex;flex-flow:row;justify-content:space-between}.ui5-card-header-status{flex:none}.ui5-card-header .ui5-card-header-avatar{height:3rem;width:3rem;display:flex;align-items:center;justify-content:center;margin-inline-end:.75rem;pointer-events:none;align-self:flex-start}::slotted([ui5-icon]){width:1.5rem;height:1.5rem;color:var(--sapTile_IconColor)}::slotted(img[slot="avatar"]){width:100%;height:100%;border-radius:50%}.ui5-card-header .ui5-card-header-status{display:inline-block;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTile_TextColor);text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;margin-inline-start:1rem;margin-block-start:.125rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{font-family:var(--_ui5-v1-22-1-rc-0_card_header_title_font_family);font-size:var(--_ui5-v1-22-1-rc-0_card_header_title_font_size);font-weight:var(--_ui5-v1-22-1-rc-0_card_header_title_font_weight);color:var(--sapTile_TitleTextColor);max-height:3.5rem;align-self:flex-end}.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapTile_TextColor);margin-top:var(--_ui5-v1-22-1-rc-0_card_header_subtitle_margin_top);max-height:2.1rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title,.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{text-align:start;text-overflow:ellipsis;white-space:normal;word-wrap:break-word;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-width:100%}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{-webkit-line-clamp:3}.ui5-card-header-action{display:flex;padding-inline-start:1rem;align-self:flex-start} -`};var Kr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ua;let Mo=Ua=class extends j{get classes(){return{root:{"ui5-card-header":!0,"ui5-card-header--interactive":this.interactive,"ui5-card-header--active":this.interactive&&this._headerActive,"ui5-card-header-ff":p1()}}}get _root(){return this.shadowRoot.querySelector(".ui5-card-header")}get ariaRoleDescription(){return this.interactive?Ua.i18nBundle.getText(Q5):Ua.i18nBundle.getText(Z5)}get ariaRoleFocusableElement(){return this.interactive?"button":null}get ariaCardAvatarLabel(){return Ua.i18nBundle.getText(Fp)}get ariaLabelledBy(){const e=[];return this.titleText&&e.push(`${this._id}-title`),this.subtitleText&&e.push(`${this._id}-subtitle`),this.status&&e.push(`${this._id}-status`),this.hasAvatar&&e.push(`${this._id}-avatar`),e.length!==0?e.join(" "):void 0}get hasAvatar(){return!!this.avatar.length}get hasAction(){return!!this.action.length}static async onDefine(){Ua.i18nBundle=await oe("@ui5/webcomponents")}_actionsFocusin(){this._root.classList.add("ui5-card-header-hide-focus")}_actionsFocusout(){this._root.classList.remove("ui5-card-header-hide-focus")}_click(e){e.stopImmediatePropagation(),this.interactive&&this._root.contains(e.target)&&this.fireEvent("click")}_keydown(e){if(!this.interactive||!this._root.contains(e.target))return;const t=de(e),o=te(e);if(this._headerActive=t||o,t){this.fireEvent("click");return}o&&e.preventDefault()}_keyup(e){if(!this.interactive||!this._root.contains(e.target))return;const t=te(e);this._headerActive=!1,t&&this.fireEvent("click")}};Kr([u()],Mo.prototype,"titleText",void 0);Kr([u()],Mo.prototype,"subtitleText",void 0);Kr([u()],Mo.prototype,"status",void 0);Kr([u({type:Boolean})],Mo.prototype,"interactive",void 0);Kr([u({validator:z,defaultValue:3})],Mo.prototype,"_ariaLevel",void 0);Kr([u({type:Boolean,noAttribute:!0})],Mo.prototype,"_headerActive",void 0);Kr([F()],Mo.prototype,"avatar",void 0);Kr([F()],Mo.prototype,"action",void 0);Mo=Ua=Kr([B({tag:"ui5-card-header",languageAware:!0,renderer:ee,template:tO,styles:sO}),$("click")],Mo);Mo.define();const Cr=new WeakMap;class kl{static get tasks(){return Cr}static enqueue(e,t){Cr.has(e)||Cr.set(e,[]),Cr.get(e).push(t)}static run(e,t){return Cr.has(e)||Cr.set(e,[]),t().then(()=>{const o=Cr.get(e);if(o.length>0)return kl.run(e,o.shift());Cr.delete(e)})}static push(e,t){Cr.get(e)?kl.enqueue(e,t):kl.run(e,t)}}const nv=i=>{let e=null,t=!1,o,r,n;const s=new Promise((l,_)=>{n=p=>{e=e||p;const v=p-e,f=i.duration-v;if(v<=i.duration){const g=1-f/i.duration;i.advance(g),t||(o=requestAnimationFrame(n))}else i.advance(1),l()},r=()=>{t=!0,cancelAnimationFrame(o),_(new Error("animation stopped"))}}).catch(l=>l);return kl.push(i.element,()=>(typeof i.beforeStart=="function"&&i.beforeStart(),requestAnimationFrame(n),new Promise(l=>{s.then(()=>l())}))),{promise:()=>s,stop:()=>r}},av=400,lO=(i,e,t)=>{let o,r;return nv({beforeStart:()=>{o=i.scrollLeft,r=i.scrollTop},duration:av,element:i,advance:n=>{i.scrollLeft=o+n*e,i.scrollTop=r+n*t}})},cO="scroll",uO=Cl()?"touchend":"mouseup";class sv extends ur{constructor(e){super(),this.supportsTouch=Cl(),this.containerComponent=e,this.mouseMove=this.ontouchmove.bind(this),this.mouseUp=this.ontouchend.bind(this),this.touchStart=this.ontouchstart.bind(this),this.supportsTouch=Cl(),this.cachedValue={dragX:0,dragY:0},this.startX=0,this.startY=0,this.supportsTouch?(e.addEventListener("touchstart",this.touchStart,{passive:!0}),e.addEventListener("touchmove",this.mouseMove,{passive:!0}),e.addEventListener("touchend",this.mouseUp,{passive:!0})):e.addEventListener("mousedown",this.touchStart,{passive:!0})}set scrollContainer(e){this._container=e}get scrollContainer(){return this._container}async scrollTo(e,t,o=0,r=0){let n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0;for(;!n&&o>0;)await new Promise(s=>{setTimeout(()=>{n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0,o--,s()},r)});this._container.scrollLeft=e,this._container.scrollTop=t}move(e,t,o){if(o){this._container.scrollLeft+=e,this._container.scrollTop+=t;return}if(this._container)return lO(this._container,e,t)}getScrollLeft(){return this._container.scrollLeft}getScrollTop(){return this._container.scrollTop}_isTouchInside(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]);const o=this._container.getBoundingClientRect(),r=this.supportsTouch?t.clientX:e.x,n=this.supportsTouch?t.clientY:e.y;return r>=o.left&&r<=o.right&&n>=o.top&&n<=o.bottom}ontouchstart(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]),t?(this.startX=t.pageX,this.startY=t.pageY):(document.addEventListener("mouseup",this.mouseUp,{passive:!0}),document.addEventListener("mousemove",this.mouseMove,{passive:!0})),t&&(this._prevDragX=t.pageX,this._prevDragY=t.pageY),e instanceof MouseEvent&&(this._prevDragX=e.x,this._prevDragY=e.y),this._canScroll=this._isTouchInside(e)}ontouchmove(e){if(!this._canScroll)return;const t=this._container,o=this.supportsTouch?e.touches[0]:null,r=this.supportsTouch?o.pageX:e.x,n=this.supportsTouch?o.pageY:e.y;t.scrollLeft+=this._prevDragX-r,t.scrollTop+=this._prevDragY-n,this.fireEvent(cO,{isLeft:r>this._prevDragX,isRight:rthis._prevDragX}),this._prevDragX=o,this._prevDragY=r,this.supportsTouch||(document.removeEventListener("mousemove",this.mouseMove),document.removeEventListener("mouseup",this.mouseUp))}}var gh;(function(i){i.Content="Content",i.Navigation="Navigation"})(gh||(gh={}));const rr=gh;var bh;(function(i){i.Default="Default",i.Numeric="Numeric"})(bh||(bh={}));const yh=bh;var wh;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(wh||(wh={}));const Bu=wh;var kh;(function(i){i.Solid="Solid",i.None="None"})(kh||(kh={}));const jf=kh;function dO(i,e,t){return c` `}function _O(i,e,t,o,r){return c``}function hO(i,e,t){return t?c``:c``}function pO(i,e,t){return c`
    ${this.showArrows.navigation?vO.call(this,i,e,t):void 0}${this.showArrows.navigation?yO.call(this,i,e,t):void 0}
    `}function vO(i,e,t){return t?c`<${d("ui5-button",e,t)} arrow-back tooltip="${a(this.previousPageText)}" class="ui5-carousel-navigation-button ${T(this.classes.navPrevButton)}" icon="slim-arrow-left" tabindex="-1" @click=${this._navButtonClick}>`:c``}function fO(i,e,t){return c`${this.isPageTypeDots?mO.call(this,i,e,t):bO.call(this,i,e,t)}`}function mO(i,e,t){return c`${E(this.dots,(o,r)=>o._id||r,(o,r)=>gO.call(this,i,e,t,o,r))}`}function gO(i,e,t,o,r){return c``}function bO(i,e,t){return c``}function yO(i,e,t){return t?c`<${d("ui5-button",e,t)} arrow-forward tooltip="${a(this.nextPageText)}" class="ui5-carousel-navigation-button ${T(this.classes.navNextButton)}" icon="slim-arrow-right" tabindex="-1" @click=${this._navButtonClick}>`:c``}const wO="slim-arrow-left",Ow="M351.5 421q12 12 0 23-5 5-11 5t-11-5l-166-165q-9-10-9-23t9-23l165-164q5-5 11.5-5t11.5 5 5 11-5 11l-159 159q-6 6 0 12z",kO=!1,$O="SAP-icons-v4",TO="@ui5/webcomponents-icons";Y(wO,{pathData:Ow,ltr:kO,collection:$O,packageName:TO});const xO="slim-arrow-left",Rw="M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z",SO=!1,IO="SAP-icons-v5",CO="@ui5/webcomponents-icons";Y(xO,{pathData:Rw,ltr:SO,collection:IO,packageName:CO});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const AO={packageName:"@ui5/webcomponents",fileName:"themes/Carousel.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{width:100%;min-width:15.5rem;height:100%}.ui5-carousel-root:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-carousel-root{height:inherit;position:relative;display:flex;flex-direction:column;align-items:center;background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-background-solid{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_solid)}.ui5-carousel-background-transparent{background:transparent}.ui5-carousel-viewport{width:100%;height:inherit;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:1px;flex:1;min-height:0}.ui5-carousel-viewport.ui5-carousel-viewport--single{align-items:center}.ui5-carousel-content{height:100%;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;transition:transform .5s cubic-bezier(.46,0,.44,1);will-change:transform}.ui5-carousel-content.ui5-carousel-content-no-animation{transition:none}.ui5-carousel-content.ui5-carousel-content-has-navigation{height:calc(100% - 1rem)}.ui5-carousel-item{height:100%;display:flex;align-items:center;justify-content:center;padding:0 .75rem;box-sizing:border-box;transition:opacity .5s linear;will-change:opacity}.ui5-carousel-item--hidden{opacity:0}.ui5-carousel-navigation-arrows{width:100%;padding:0 .5rem;position:absolute;top:calc(50% - var(--ui5-v1-22-1-rc-0_carousel_button_size) / 2);left:0;display:flex;justify-content:space-between;box-sizing:border-box;pointer-events:none}.ui5-carousel-navigation-arrows>[ui5-button]{pointer-events:all}.ui5-carousel-navigation-wrapper{width:100%;height:2.75rem;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box}.ui5-carousel-navigation-wrapper-bg-solid{background:var(--sapPageFooter_Background)}.ui5-carousel-navigation-wrapper-bg-translucent{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-navigation-wrapper-bg-transparent{background:transparent}.ui5-carousel-navigation-wrapper-border-solid{border-top:var(--sapElement_BorderWidth) solid var(--sapList_BorderColor)}.ui5-carousel-navigation-wrapper.ui5-carousel-navigation-with-buttons{height:3.5rem}.ui5-carousel-navigation-button{width:var(--ui5-v1-22-1-rc-0_carousel_button_size);height:var(--ui5-v1-22-1-rc-0_carousel_button_size);border-radius:50%;box-shadow:none;cursor:pointer;outline-offset:.1rem;--_ui5-v1-22-1-rc-0_button_focused_border_radius: 50%}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button{box-shadow:var(--sapContent_Shadow1)}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button:active{box-shadow:var(--ui5-v1-22-1-rc-0_carousel_navigation_button_active_box_shadow)}.ui5-carousel-navigation-button--hidden{visibility:hidden;padding:0}.ui5-carousel-navigation{width:9rem;height:2rem;display:flex;justify-content:center;align-items:center}.ui5-carousel-navigation-dot{box-sizing:border-box;width:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);height:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);margin:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_margin);border-radius:50%;background-color:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_border);transition:background-color .1s ease-in}.ui5-carousel-navigation-dot[active]{width:.5rem;height:.5rem;margin:0 .25rem;background-color:var(--ui5-v1-22-1-rc-0_carousel_active_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_active_dot_border)}.ui5-carousel-navigation-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapPageFooter_TextColor);white-space:nowrap;overflow:hidden;text-align:center;text-overflow:ellipsis} -`};var oi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},_n;let Ct=_n=class extends j{static get pageTypeLimit(){return 9}constructor(){super(),this._scrollEnablement=new sv(this),this._scrollEnablement.attachEvent("touchend",e=>{this._updateScrolling(e)}),this._onResizeBound=this._onResize.bind(this),this._resizing=!1,this._lastFocusedElements=[],this._orderOfLastFocusedPages=[]}onBeforeRendering(){this.arrowsPlacement===rr.Navigation&&(this._visibleNavigationArrows=!0),this.validateSelectedIndex()}onAfterRendering(){this._scrollEnablement.scrollContainer=this.getDomRef(),this._resizing=!1}onEnterDOM(){Pe.register(this,this._onResizeBound)}onExitDOM(){Pe.deregister(this,this._onResizeBound)}validateSelectedIndex(){this.isIndexInRange(this._selectedIndex)||(this._selectedIndex=0)}_onResize(){const e=this.effectiveItemsPerPage;this._resizing=!0,this._width=this.offsetWidth,this._itemWidth=Math.floor(this._width/this.effectiveItemsPerPage),this.effectiveItemsPerPage!==e&&this._selectedIndex>this.pagesCount-1&&(this._selectedIndex=this.pagesCount-1,this.fireEvent("navigate",{selectedIndex:this._selectedIndex}))}_updateScrolling(e){e&&(e.isLeft?this.navigateLeft():e.isRight&&this.navigateRight())}async _onkeydown(e){if(V1(e)){this._handleF7Key(e);return}e.target===this.getDomRef()&&(ft(e)||De(e)?(this.navigateLeft(),await Bi(),this.getDomRef().focus()):(it(e)||Le(e))&&(this.navigateRight(),await Bi(),this.getDomRef().focus()))}_onfocusin(e){const t=e.target;if(t===this.getDomRef())return;let o=-1;for(let n=0;nthis.pagesCount-1)if(this.cyclic)this._selectedIndex=0;else return;else++this._selectedIndex;e!==this._selectedIndex&&this.fireEvent("navigate",{selectedIndex:this._selectedIndex})}_navButtonClick(e){e.target.hasAttribute("arrow-forward")?this.navigateRight():this.navigateLeft(),this.focus()}navigateTo(e){this._resizing=!1,this._selectedIndex=e}get items(){return this.content.map((e,t)=>{const o=this.isItemInViewport(t);return{id:`${this._id}-carousel-item-${t+1}`,item:e,tabIndex:o?"0":"-1",posinset:`${t+1}`,setsize:`${this.content.length}`,styles:{width:`${this._itemWidth||0}px`},classes:o?"":"ui5-carousel-item--hidden"}})}get effectiveItemsPerPage(){return this._width?this._width<=640?this.itemsPerPageS:this._width<=1024?this.itemsPerPageM:this.itemsPerPageL:this.itemsPerPageL}isItemInViewport(e){return e>=this._selectedIndex&&e<=this._selectedIndex+this.effectiveItemsPerPage-1}isIndexInRange(e){return e>=0&&e<=this.pagesCount-1}get renderNavigation(){return this.hasManyPages?this.arrowsPlacement===rr.Navigation&&!this.hideNavigationArrows?!0:!this.hidePageIndicator:!1}get hasManyPages(){return this.pagesCount>1}get styles(){const e=this._itemWidth||0;return{content:{transform:`translateX(${this._isRTL?"":"-"}${this._selectedIndex*e}px`}}}get classes(){return{viewport:{"ui5-carousel-viewport":!0,"ui5-carousel-viewport--single":this.pagesCount===1},content:{"ui5-carousel-content":!0,"ui5-carousel-content-no-animation":this.suppressAnimation,"ui5-carousel-content-has-navigation":this.renderNavigation,"ui5-carousel-content-has-navigation-and-buttons":this.renderNavigation&&this.arrowsPlacement===rr.Navigation&&!this.hideNavigationArrows},navigation:{"ui5-carousel-navigation-wrapper":!0,"ui5-carousel-navigation-with-buttons":this.renderNavigation&&this.arrowsPlacement===rr.Navigation&&!this.hideNavigationArrows,[`ui5-carousel-navigation-wrapper-bg-${this.pageIndicatorBackgroundDesign.toLowerCase()}`]:!0,[`ui5-carousel-navigation-wrapper-border-${this.pageIndicatorBorderDesign.toLowerCase()}`]:!0},navPrevButton:{"ui5-carousel-navigation-button--hidden":!this.hasPrev},navNextButton:{"ui5-carousel-navigation-button--hidden":!this.hasNext}}}get pagesCount(){const e=this.content.length;return e>this.effectiveItemsPerPage?e-this.effectiveItemsPerPage+1:1}get isPageTypeDots(){return this.pageIndicatorStyle===yh.Numeric?!1:this.pagesCount<_n.pageTypeLimit}get dots(){const e=[],t=this.pagesCount;for(let o=0;o=0}get hasNext(){return this.cyclic||this._selectedIndex+1<=this.pagesCount-1}get suppressAnimation(){return this._resizing||cc()===bs.None}get _isRTL(){return this.effectiveDir==="rtl"}get selectedIndexToShow(){return this._isRTL?this.pagesCount-(this.pagesCount-this._selectedIndex)+1:this._selectedIndex+1}get ofText(){return _n.i18nBundle.getText(g2)}get ariaActiveDescendant(){return this.content.length?`${this._id}-carousel-item-${this._selectedIndex+1}`:void 0}get nextPageText(){return _n.i18nBundle.getText(w2)}get previousPageText(){return _n.i18nBundle.getText(y2)}get visibleItemsIndices(){const e=[];return this.items.forEach((t,o)=>{this.isItemInViewport(o)&&e.push(o)}),e}static async onDefine(){_n.i18nBundle=await oe("@ui5/webcomponents")}};oi([u({type:Boolean})],Ct.prototype,"cyclic",void 0);oi([u({validator:z,defaultValue:1})],Ct.prototype,"itemsPerPageS",void 0);oi([u({validator:z,defaultValue:1})],Ct.prototype,"itemsPerPageM",void 0);oi([u({validator:z,defaultValue:1})],Ct.prototype,"itemsPerPageL",void 0);oi([u({type:Boolean})],Ct.prototype,"hideNavigationArrows",void 0);oi([u({type:Boolean})],Ct.prototype,"hidePageIndicator",void 0);oi([u({type:yh,defaultValue:yh.Default})],Ct.prototype,"pageIndicatorStyle",void 0);oi([u({type:Bu,defaultValue:Bu.Translucent})],Ct.prototype,"backgroundDesign",void 0);oi([u({type:Bu,defaultValue:Bu.Solid})],Ct.prototype,"pageIndicatorBackgroundDesign",void 0);oi([u({type:jf,defaultValue:jf.Solid})],Ct.prototype,"pageIndicatorBorderDesign",void 0);oi([u({validator:z,defaultValue:0})],Ct.prototype,"_selectedIndex",void 0);oi([u({type:rr,defaultValue:rr.Content})],Ct.prototype,"arrowsPlacement",void 0);oi([u({validator:z})],Ct.prototype,"_width",void 0);oi([u({validator:z})],Ct.prototype,"_itemWidth",void 0);oi([u({type:Boolean,noAttribute:!0})],Ct.prototype,"_visibleNavigationArrows",void 0);oi([F({default:!0,type:HTMLElement,individualSlots:!0})],Ct.prototype,"content",void 0);Ct=_n=oi([B({tag:"ui5-carousel",languageAware:!0,fastNavigation:!0,renderer:ee,styles:AO,template:dO,dependencies:[Fe,Os]}),$("navigate",{detail:{selectedIndex:{type:z}}})],Ct);Ct.define();class yc extends _c{static isValid(e){return/^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\(\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*(,\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|rgba\((\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){3}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|hsl\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*(,\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|hsla\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*,(\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){2}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|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|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|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|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(e)}}function BO(i,e,t){return c`
    ${this.showDefaultColor?EO.call(this,i,e,t):void 0}
    ${E(this.displayedColors,(o,r)=>o._id||r,(o,r)=>DO.call(this,i,e,t,o,r))}
    ${this._showMoreColors?PO.call(this,i,e,t):void 0}${this.showRecentColors?OO.call(this,i,e,t):void 0}
    `}function EO(i,e,t){return t?c`
    <${d("ui5-button",e,t)} class="ui5-cp-default-color-button" design="Transparent" @click=${this._onDefaultColorClick} @keydown=${this._onDefaultColorKeyDown}>${a(this.colorPaletteDefaultColorText)}
    `:c`
    ${a(this.colorPaletteDefaultColorText)}
    `}function DO(i,e,t,o,r){return c``}function PO(i,e,t){return t?c`
    <${d("ui5-button",e,t)} design="Transparent" class="ui5-cp-more-colors" @click="${this._openMoreColorsDialog}" @keydown=${this._onMoreColorsKeyDown}>${a(this.colorPaletteMoreColorsText)}
    `:c`
    ${a(this.colorPaletteMoreColorsText)}
    `}function OO(i,e,t){return c`
    ${E(this.recentColors,(o,r)=>o._id||r,(o,r)=>RO.call(this,i,e,t,o,r))}
    `}function RO(i,e,t,o,r){return t?c`<${d("ui5-color-palette-item",e,t)} value="${a(o)}">`:c``}function LO(i,e,t){return t?c`<${d("ui5-dialog",e,t)} header-text="${a(this.moreColorsFeature.colorPaletteDialogTitle)}">
    <${d("ui5-color-picker",e,t)}>
    `:c`
    `}function MO(i,e,t){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const NO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteItem.css.ts",content:`:host(:not([hidden])){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-outer-border-radius);display:inline-block;margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-margin);box-sizing:border-box}:host(:not([_disabled]):hover){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-outer-border-radius)}:host(:not([hidden])[phone]){height:2.75rem;width:2.75rem;border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:.25rem;display:inline-block;margin:.375rem}.ui5-cp-item{position:relative;box-sizing:border-box;border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-inner-border-radius);width:100%;height:100%}:host(:not([_disabled]):not([phone]):hover) .ui5-cp-item{border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius)}:host(:not([_disabled])[phone]) .ui5-cp-item{border-radius:.1875rem}.ui5-cp-item:hover:not(:focus){border:1px solid var(--sapGroup_ContentBackground);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius);box-sizing:border-box}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus{outline:none}:host(:not([_disabled]):not([phone]):focus) .ui5-cp-item{pointer-events:none}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled])) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none} -`};var Ls=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},iu;let Wr=iu=class extends j{static async onDefine(){iu.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._disabled=!this.value,this.phone=G()}get colorLabel(){return iu.i18nBundle.getText(T2)}get styles(){return{root:{"background-color":this.value}}}};Ls([u({validator:yc})],Wr.prototype,"value",void 0);Ls([u({defaultValue:"-1",noAttribute:!0})],Wr.prototype,"forcedTabIndex",void 0);Ls([u({validator:z})],Wr.prototype,"index",void 0);Ls([u({type:Boolean})],Wr.prototype,"phone",void 0);Ls([u({type:Boolean})],Wr.prototype,"_disabled",void 0);Wr=iu=Ls([B({tag:"ui5-color-palette-item",renderer:ee,styles:NO,template:MO})],Wr);Wr.define();const FO=Wr;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const zO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalette.css.ts",content:`:host(:not([hidden])){display:inline-block}:host(:not([hidden])[popup-mode]){width:100%}.ui5-cp-root{display:flex;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone,.ui5-cp-separator,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-more-colors-wrapper,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-default-color-button-wrapper,.ui5-cp-recent-colors-wrapper{width:100%}.ui5-cp-root.ui5-cp-root-phone .ui5-cp-item-container{width:18.5rem;max-width:19.5rem;max-height:13rem;padding:.375rem .625rem}.ui5-cp-recent-colors-wrapper{display:flex;align-items:center;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone{display:flex;align-items:center}.ui5-cp-item-container{display:flex;max-width:var(--_ui5-v1-22-1-rc-0_color-palette-row-width);flex-flow:wrap;max-height:var(--_ui5-v1-22-1-rc-0_color-palette-row-height);overflow:hidden;padding:var(--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding)}.ui5-cp-more-colors,.ui5-cp-default-color-button{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);text-align:center;border:none}.ui5-cp-more-colors-wrapper,.ui5-cp-default-color-button-wrapper{display:flex;flex-direction:column}.ui5-cp-separator{height:.0625rem;background:var(--sapToolbar_SeparatorColor)}.ui5-cp-default-color-button,.ui5-cp-more-colors{padding:.0625rem} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const VO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteStaticArea.css.ts",content:`.ui5-cp-dialog-content{display:flex;justify-content:center;align-items:center;margin:1rem 0}.ui5-cp-dialog-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 1rem}.ui5-cp-dialog-footer [ui5-button]:first-child{margin-right:1rem} -`};var Dn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Wa;let No=Wa=class extends j{static async onDefine(){const e=Se("ColorPaletteMoreColors");[Wa.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}constructor(){super(),this._itemNavigation=new _r(this,{getItemsCallback:()=>this.displayedColors,rowSize:this.rowSize,behavior:na.Cyclic}),this._itemNavigationRecentColors=new _r(this,{getItemsCallback:()=>this.recentColorsElements,rowSize:this.rowSize,behavior:na.Static}),this._recentColors=[]}onBeforeRendering(){if(this.displayedColors.forEach((e,t)=>{e.index=t+1}),this.showMoreColors){const e=Se("ColorPaletteMoreColors");if(e)this.moreColorsFeature=new e;else throw new Error('You have to import "@ui5/webcomponents/dist/features/ColorPaletteMoreColors.js" module to use the more-colors functionality.')}}onAfterRendering(){this.popupMode&&(this.showDefaultColor?this.focusFirstFocusableElement():this.focusFirstDisplayColorElement())}selectColor(e){e.value&&(e.focus(),this.displayedColors.includes(e)&&this._itemNavigation.setCurrentItem(e),this._setColor(e.value))}_setColor(e){this._selectedColor=e,this._recentColors[0]!==this._selectedColor&&(this._recentColors.includes(this._selectedColor)?this._recentColors.unshift(this._recentColors.splice(this._recentColors.indexOf(this._selectedColor),1)[0]):this._recentColors.unshift(this._selectedColor)),this.fireEvent("item-click",{color:this._selectedColor})}_onclick(e){const t=e.target;t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onkeyup(e){const t=e.target;te(e)&&t.hasAttribute("ui5-color-palette-item")&&(e.preventDefault(),this.selectColor(t))}_onkeydown(e){const t=e.target;de(e)&&t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onDefaultColorKeyDown(e){if(It(e)&&this.popupMode&&(e.preventDefault(),this._onDefaultColorClick()),De(e))e.stopPropagation(),this.focusColorElement(this.colorPaletteNavigationElements[1],this._itemNavigation);else if(Le(e)){e.stopPropagation();const t=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(this.hasRecentColors)this.focusColorElement(t,this._itemNavigationRecentColors);else if(this.showMoreColors)t.focus();else{const o=this.displayedColors.length%this.rowSize*this.rowSize;this.focusColorElement(this.displayedColors[o],this._itemNavigation)}}}_onMoreColorsKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements.indexOf(t),r=this.displayedColors.length%this.rowSize*this.rowSize;Le(e)?(e.stopPropagation(),this.focusColorElement(this.displayedColors[r],this._itemNavigation)):De(e)&&(e.stopPropagation(),this.hasRecentColors?this.focusColorElement(this.colorPaletteNavigationElements[o+1],this._itemNavigationRecentColors):this.showDefaultColor?this.firstFocusableElement.focus():this.focusColorElement(this.displayedColors[0],this._itemNavigation))}_onColorContainerKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(It(e)&&this.popupMode&&(e.preventDefault(),this.selectColor(t)),Le(e)&&t===this.displayedColors[0]&&this.colorPaletteNavigationElements.length>1)e.stopPropagation(),this.showDefaultColor?this.firstFocusableElement.focus():!this.showDefaultColor&&this.hasRecentColors?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&o.focus();else if(De(e)&&t===this.displayedColors[this.displayedColors.length-1]&&this.colorPaletteNavigationElements.length>1){e.stopPropagation();const r=this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors||!this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors;this.showDefaultColor&&this.showMoreColors?this.colorPaletteNavigationElements[2].focus():this.showDefaultColor&&!this.showMoreColors&&(!this.showRecentColors||!this.recentColors[0])?this.firstFocusableElement.focus():r?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&this.colorPaletteNavigationElements[1].focus()}}_onRecentColorsContainerKeyDown(e){if(Le(e)){if(this.showMoreColors){const t=this.showDefaultColor?2:1;this.colorPaletteNavigationElements[t].focus()}else if(!this.showMoreColors&&this.colorPaletteNavigationElements.length>1){const t=this.displayedColors.length%this.rowSize*this.rowSize;e.stopPropagation(),this.focusColorElement(this.displayedColors[t],this._itemNavigation)}}else De(e)&&(this.showDefaultColor?this.firstFocusableElement.focus():(e.stopPropagation(),this.focusColorElement(this.displayedColors[0],this._itemNavigation)))}focusColorElement(e,t){t.setCurrentItem(e),t._focusCurrentItem()}focusFirstDisplayColorElement(){this.focusColorElement(this.displayedColors[0],this._itemNavigation)}focusFirstFocusableElement(){this.firstFocusableElement.focus()}get firstFocusableElement(){return this.colorPaletteNavigationElements[0]}async _chooseCustomColor(){const e=await this.getColorPicker();this._setColor(e.color),this._closeDialog()}async _closeDialog(){(await this._getDialog()).close()}async _openMoreColorsDialog(){(await this._getDialog()).show()}_onDefaultColorClick(){this.defaultColor&&this._setColor(this.defaultColor)}get selectedColor(){return this._selectedColor}get displayedColors(){return this.getSlottedNodes("colors").filter(t=>t.value).slice(0,15)}get colorContainerLabel(){return Wa.i18nBundle.getText(k2)}get colorPaletteMoreColorsText(){return Wa.i18nBundle.getText(I2)}get colorPaletteDefaultColorText(){return Wa.i18nBundle.getText(C2)}get _showMoreColors(){return this.showMoreColors&&this.moreColorsFeature}get rowSize(){return 5}get hasRecentColors(){return this.showRecentColors&&this.recentColors[0]}get recentColors(){for(this._recentColors.length>this.rowSize&&(this._recentColors=this._recentColors.slice(0,this.rowSize));this._recentColors.lengtht.value!==""):[]}get colorPaletteNavigationElements(){const e=[],t=this.shadowRoot.querySelector(".ui5-cp-root");return this.showDefaultColor&&e.push(t.querySelector(".ui5-cp-default-color-button")),e.push(this.displayedColors[0]),this.showMoreColors&&e.push(t.querySelector(".ui5-cp-more-colors")),this.showRecentColors&&this.recentColorsElements.length&&e.push(this.recentColorsElements[0]),e}get classes(){return{colorPaletteRoot:{"ui5-cp-root":!0,"ui5-cp-root-phone":G()}}}async _getDialog(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-dialog]")}async getColorPicker(){return(await this._getDialog()).content[0].querySelector("[ui5-color-picker]")}};Dn([u({type:Boolean})],No.prototype,"showRecentColors",void 0);Dn([u({type:Boolean})],No.prototype,"showMoreColors",void 0);Dn([u({type:Boolean})],No.prototype,"showDefaultColor",void 0);Dn([u({validator:yc})],No.prototype,"defaultColor",void 0);Dn([u({validator:yc})],No.prototype,"_selectedColor",void 0);Dn([u({type:Boolean})],No.prototype,"popupMode",void 0);Dn([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0,individualSlots:!0})],No.prototype,"colors",void 0);No=Wa=Dn([B({tag:"ui5-color-palette",renderer:ee,template:BO,staticAreaTemplate:LO,styles:zO,staticAreaStyles:VO,get dependencies(){const i=Se("ColorPaletteMoreColors");return[FO,Fe].concat(i?i.dependencies:[])}}),$("item-click",{detail:{color:{type:String}}})],No);No.define();const HO=No;function UO(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} hide-arrow content-only-on-desktop placement-type="Bottom" ?open="${this._open}" .opener="${a(this.opener)}" @ui5-after-close="${a(this.onAfterClose)}">
    <${d("ui5-title",e,t)} class="ui5-cp-title">${a(this._colorPaletteTitle)}
    <${d("ui5-color-palette",e,t)} ?show-more-colors="${this.showMoreColors}" ?show-recent-colors="${this.showRecentColors}" ?show-default-color="${this.showDefaultColor}" default-color="${a(this.defaultColor)}" popup-mode @ui5-item-click="${a(this.onSelectedColor)}">${E(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>Gf.call(this,i,e,t,o,r))}
    `:c`
    ${a(this._colorPaletteTitle)}
    ${E(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>Gf.call(this,i,e,t,o,r))}
    `}function Gf(i,e,t,o,r){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const WO={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalettePopover.css.ts",content:`.ui5-cp-header{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);display:flex;align-items:center}.ui5-cp-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 0}[ui5-responsive-popover]::part(content){padding:0}[ui5-title],[ui5-button]{margin-bottom:1rem}.ui5-cp-item-container{padding:.3125rem .6875rem} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const Wo={packageName:"@ui5/webcomponents",fileName:"themes/ResponsivePopoverCommon.css.ts",content:`.input-root-phone{flex:1;position:relative;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color);border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}.input-root-phone [value-state=Error] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Success] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Warning] [input-icon][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-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}.input-root-phone[value-state=Error] [inner-input],.input-root-phone[value-state=Warning] [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style)}.input-root-phone[value-state=Error] [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}.input-root-phone[value-state=Error]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Error]:not([readonly]):not([disabled]),.input-root-phone[value-state=Warning]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}.input-root-phone[value-state=Warning]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Success]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width)}.input-root-phone[value-state=Success]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Success]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_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:calc(100% - var(--_ui5-v1-22-1-rc-0_button_base_min_width))}.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;padding:.25rem 0;width:100%}.ui5-responsive-popover-close-btn{position:absolute;right:1rem} -`};var Pn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ol;let pr=ol=class extends j{static async onDefine(){ol.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}get responsivePopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}get respPopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}showAt(e){console.warn("The method 'showAt' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.open=!0,this.opener=e}openPopover(e){console.warn("The method 'openPopover' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.showAt(e)}closePopover(){this.open=!1}onAfterClose(){this.closePopover(),this.fireEvent("close")}onSelectedColor(e){this.closePopover(),this.fireEvent("item-click",e.detail)}isOpen(){return this.open}get colorPaletteColors(){return this.getSlottedNodes("colors")}get _colorPaletteTitle(){return ol.i18nBundle.getText($2)}get _cancelButtonLabel(){return ol.i18nBundle.getText(zp)}get _open(){return this.open||void 0}};Pn([u({type:Boolean})],pr.prototype,"showRecentColors",void 0);Pn([u({type:Boolean})],pr.prototype,"showMoreColors",void 0);Pn([u({type:Boolean})],pr.prototype,"showDefaultColor",void 0);Pn([u({validator:yc})],pr.prototype,"defaultColor",void 0);Pn([u({type:Boolean})],pr.prototype,"open",void 0);Pn([u({validator:id})],pr.prototype,"opener",void 0);Pn([F({default:!0,type:HTMLElement,individualSlots:!0})],pr.prototype,"colors",void 0);pr=ol=Pn([B({tag:"ui5-color-palette-popover",renderer:ee,styles:[Wo,WO],template:UO,dependencies:[wo,Fe,rv,HO]}),$("item-click",{detail:{color:{type:String}}}),$("close")],pr);pr.define();class Ti extends _c{static isValid(e){return Number(e)===e}static attributeToProperty(e){return parseFloat(e)}}/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const Lw=Symbol.for(""),qO=i=>{if((i==null?void 0:i.r)===Lw)return i==null?void 0:i._$litStatic$},jO=i=>({_$litStatic$:i,r:Lw}),Yf=new Map,Mw=i=>(e,...t)=>{const o=t.length;let r,n;const s=[],l=[];let _,p=0,v=!1;for(;pi.startsWith("rgba")?XO(i):i.startsWith("rgb")?ZO(i):(i.indexOf("#")===0&&(i.length===4?i=`${i[1]}${i[1]}${i[2]}${i[2]}${i[3]}${i[3]}`:i=i.slice(1,i.length)),Kf.has(i)&&(i=Kf.get(i)),Nw(i)),XO=i=>{const e=i.indexOf("("),t=[];for(let o=0;o{const e=i.indexOf("("),t=i.indexOf(")"),o=[];for(let r=0;r{let e=i.s*100,t=i.l*100,o,r,n;e>100?e=1:e<0?e=0:e/=100,t>100?t=1:t<0?t=0:t/=100;const s=i.h,l=e*(1-Math.abs(2*t-1)),_=255*(t-.5*l),p=l*(1-Math.abs(s/60%2-1)),v=Math.floor(s/60),f=_+255*p,g=_+255*l;switch(v){case 0:o=g,r=f,n=_;break;case 1:o=f,r=g,n=_;break;case 2:o=_,r=g,n=f;break;case 3:o=_,r=f,n=g;break;case 4:o=f,r=_,n=g;break;case 5:o=g,r=_,n=f;break;default:o=0,r=0,n=0;break}return{r:Math.round(o),g:Math.round(r),b:Math.round(n)}},Nw=i=>({r:parseInt(i.substr(0,2),16),g:parseInt(i.substr(2,2),16),b:parseInt(i.substr(4,2),16)}),QO=i=>{const e=i.r/255,t=i.g/255,o=i.b/255,r=Math.max(e,t,o),n=Math.min(e,t,o),s=r-n;let l=0,_;s===0?l=0:r===e?l=60*((t-o)/s%6):r===t?l=60*((o-e)/s+2):r===o&&(l=60*((e-t)/s+4));const p=(r+n)/2;return s===0?_=0:_=s/(1-Math.abs(2*p-1)),{h:l,s:_,l:p}};function JO(i,e,t){return t?c`
    <${d("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-hue-slider" min="0" max="1530" value="${a(this._hue)}" accessible-name="${a(this.hueSliderLabel)}" @ui5-input="${a(this._handleHueInput)}"><${d("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-alpha-slider" min="0" max="1" step="0.01" value="${a(this._alpha)}" accessible-name="${a(this.alphaSliderLabel)}" @ui5-input="${a(this._handleAlphaInput)}">
    <${d("ui5-label",e,t)}>Hex<${d("ui5-input",e,t)} class="ui5-color-picker-hex-input" value="${a(this.hex)}" @keydown="${this._onkeydown}" accessible-name="${a(this.hexInputLabel)}" @ui5-change="${a(this._handleHEXChange)}" value-state="${a(this.hexInputErrorState)}">
    <${d("ui5-input",e,t)} id="red" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.redInputLabel)}" value="${a(this._color.r)}"><${d("ui5-label",e,t)}>R
    <${d("ui5-input",e,t)} id="green" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.greenInputLabel)}" value="${a(this._color.g)}"><${d("ui5-label",e,t)}>G
    <${d("ui5-input",e,t)} id="blue" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.blueInputLabel)}" value="${a(this._color.b)}"><${d("ui5-label",e,t)}>B
    <${d("ui5-input",e,t)} id="alpha" disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-rgb-input" value="${a(this._alpha)}" accessible-name="${a(this.alphaInputLabel)}" @ui5-input="${a(this._handleAlphaInput)}" @ui5-change="${a(this._handleAlphaChange)}"><${d("ui5-label",e,t)}>A
    `:c`
    Hex
    R
    G
    B
    A
    `}const eR=i=>{let e=0;return(i.selectionStart||i.selectionStart===0)&&(e=i.selectionDirection==="backward"?i.selectionStart:i.selectionEnd),e},tR=(i,e)=>{i.selectionStart?(i.focus(),i.setSelectionRange(e,e)):i.focus()},iR="not-editable",Fw="M443 104q5 7 5 12 0 6-5 11L118 453q-4 4-8 4L0 480l22-110q0-5 4-9L352 36q4-4 11-4t11 4zm-121 99l-46-45L52 381l46 46zm87-88l-46-44-64 64 45 45zm71 204l-63 64-65-64-33 32 66 63-66 66 33 32 65-66 63 66 32-32-66-66 66-63z",oR=!1,rR="SAP-icons-v4",nR="@ui5/webcomponents-icons";Y(iR,{pathData:Fw,ltr:oR,collection:rR,packageName:nR});const aR="not-editable",zw="M504 94q7 7 7 18t-7 18L130 505q-9 7-18 7H26q-11 0-18.5-7.5T0 486v-86q0-10 8-18L381 7q9-7 18-7 11 0 18 7zm-55 18l-50-50-50 50 50 50zm-86 86l-50-50L62 400l50 50zm142 270q7 7 7 18t-7.5 18.5T486 512t-18-7l-37-38-38 38q-7 7-18 7t-18.5-7.5T349 486q0-10 8-18l38-37-38-38q-8-8-8-18 0-11 7.5-18.5T375 349q10 0 18 8l38 37 37-37q8-8 18-8 11 0 18.5 7.5T512 375t-7 18l-38 38z",sR=!1,lR="SAP-icons-v5",cR="@ui5/webcomponents-icons";Y(aR,{pathData:zw,ltr:sR,collection:lR,packageName:cR});we();var $h;(function(i){i.Text="Text",i.Email="Email",i.Number="Number",i.Password="Password",i.Tel="Tel",i.URL="URL"})($h||($h={}));const us=$h;function uR(i,e,t){return c`
    ${this._effectiveShowClearIcon?dR.call(this,i,e,t):void 0}${this.icon.length?_R.call(this,i,e,t):void 0}
    ${wn(this._valueStateInputIcon)}
    ${this.showSuggestions?hR.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?pR.call(this,i,e,t):void 0}${this.hasValueState?vR.call(this,i,e,t):void 0}
    `}function dR(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function _R(i,e,t){return c`
    `}function hR(i,e,t){return c`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function pR(i,e,t){return c`${a(this.accInfo.input.ariaDescription)}`}function vR(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}function fR(i,e,t){return c`${this.showSuggestions?mR.call(this,i,e,t):void 0}${this.hasValueStateMessage?$R.call(this,i,e,t):void 0} `}function mR(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} class="${T(this.classes.popover)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Left" style="${S(this.styles.suggestionsPopover)}" @ui5-after-open="${a(this._afterOpenPopover)}" @ui5-after-close="${a(this._afterClosePopover)}" @ui5-scroll="${a(this._scroll)}">${this._isPhone?Zf.call(this,i,e,t):void 0}${this._isPhone?void 0:tm.call(this,i,e,t)}<${d("ui5-list",e,t)} separators="${a(this.suggestionSeparators)}" @mousedown="${this.onItemMouseDown}" mode="SingleSelect">${E(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>rm.call(this,i,e,t,o,r))}${this._isPhone?am.call(this,i,e,t):void 0}`:c`${this._isPhone?Zf.call(this,i,e,t):void 0}${this._isPhone?void 0:tm.call(this,i,e,t)}${E(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>rm.call(this,i,e,t,o,r))}${this._isPhone?am.call(this,i,e,t):void 0}`}function Zf(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${d("ui5-input",e,t)} class="ui5-input-inner-phone" type="${a(this.inputType)}" .value="${a(this.value)}" ?show-clear-icon=${this.showClearIcon} placeholder="${a(this.placeholder)}" @ui5-input="${a(this._handleInput)}" @ui5-change="${a(this._handleChange)}">
    ${this.hasValueStateMessage?Qf.call(this,i,e,t):void 0}`:c`
    ${a(this._headerTitleText)}
    ${this.hasValueStateMessage?Qf.call(this,i,e,t):void 0}`}function Qf(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?Jf.call(this,i,e,t):em.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?Jf.call(this,i,e,t):em.call(this,i,e,t)}
    `}function Jf(i,e,t){return c`${a(this.valueStateText)}`}function em(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>gR.call(this,i,e,t,o,r))}`}function gR(i,e,t,o,r){return c`${a(o)}`}function tm(i,e,t){return c`${this.hasValueStateMessage?bR.call(this,i,e,t):void 0}`}function bR(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?im.call(this,i,e,t):om.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?im.call(this,i,e,t):om.call(this,i,e,t)}
    `}function im(i,e,t){return c`${a(this.valueStateText)}`}function om(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>yR.call(this,i,e,t,o,r))}`}function yR(i,e,t,o,r){return c`${a(o)}`}function rm(i,e,t,o,r){return c`${o.groupItem?wR.call(this,i,e,t,o,r):kR.call(this,i,e,t,o,r)}`}function wR(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} data-ui5-key="${a(o.key)}">${wn(o.text)}`:c`${wn(o.text)}`}function kR(i,e,t,o,r){return t?c`<${d("ui5-li-suggestion-item",e,t)} wrapping-type="Normal" image="${a(o.image)}" icon="${a(o.icon)}" additional-text="${a(o.additionalText)}" type="${a(o.type)}" additional-text-state="${a(o.additionalTextState)}" data-ui5-key="${a(o.key)}">${wn(o.text)}${o.description?nm.call(this,i,e,t,o,r):void 0}`:c`${wn(o.text)}${o.description?nm.call(this,i,e,t,o,r):void 0}`}function nm(i,e,t,o,r){return c`${wn(o.description)}`}function am(i,e,t){return t?c``:c``}function $R(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?sm.call(this,i,e,t):lm.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?sm.call(this,i,e,t):lm.call(this,i,e,t)}
    `}function sm(i,e,t){return c`${a(this.valueStateText)}`}function lm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>TR.call(this,i,e,t,o,r))}`}function TR(i,e,t,o,r){return c`${a(o)}`}const xR=/[[\]{}()*+?.\\^$|]/g,SR=i=>i.replace(xR,"\\$&"),lv=(i,e,t)=>{const o=new RegExp(`(^|\\s)${SR(i.toLowerCase())}.*`,"g");return e.filter(r=>{const n=r[t];return o.lastIndex=0,o.test(n.toLowerCase())})},ld=(i,e,t)=>e.filter(o=>o[t].toLowerCase().startsWith(i.toLowerCase())),IR=(i,e,t)=>e.filter(o=>o[t].toLowerCase().includes(i.toLowerCase())),CR=(i,e)=>e,Vw=Object.freeze(Object.defineProperty({__proto__:null,Contains:IR,None:CR,StartsWith:ld,StartsWithPerTerm:lv},Symbol.toStringTag,{value:"Module"}));b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const AR={packageName:"@ui5/webcomponents",fileName:"themes/Input.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const On={packageName:"@ui5/webcomponents",fileName:"themes/ValueStateMessage.css.ts",content:`.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_width);height:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_height);display:var(--_ui5-v1-22-1-rc-0_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_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:"72override",var(--sapFontFamily);height:auto;padding:var(--_ui5-v1-22-1-rc-0_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v1-22-1-rc-0_value_state_message_border);line-height:var(--_ui5-v1-22-1-rc-0_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:2rem}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v1-22-1-rc-0_value_state_header_padding);border:var(--_ui5-v1-22-1-rc-0_value_state_header_border);border-bottom:var(--_ui5-v1-22-1-rc-0_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[focused],.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0}.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-v1-22-1-rc-0_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v1-22-1-rc-0_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} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const cd={packageName:"@ui5/webcomponents",fileName:"themes/Suggestions.css.ts",content:`.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}.ui5-suggestions-popover [ui5-li]::part(icon),.ui5-suggestions-popover [ui5-li-suggestion-item]::part(icon){color:var(--sapList_TextColor)}.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} -`};var $e=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Kt,fn;(function(i){i.CHANGE="change",i.INPUT="input",i.SUGGESTION_ITEM_SELECT="suggestion-item-select"})(fn||(fn={}));var Eu;(function(i){i.ACTION_ENTER="enter",i.ACTION_USER_INPUT="input"})(Eu||(Eu={}));let ye=Kt=class extends j{constructor(){super(),this.hasSuggestionItemSelected=!1,this.valueBeforeItemSelection="",this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,this.previousValue="",this.firstRendering=!0,this.typedInValue="",this.lastConfirmedValue="",this.isTyping=!1,this.suggestionObjects=[],this._handleResizeBound=this._handleResize.bind(this),this._keepInnerValue=!1,this._focusedAfterClear=!1}onEnterDOM(){Pe.register(this,this._handleResizeBound),cA(this,this._updateAssociatedLabelsTexts.bind(this))}onExitDOM(){Pe.deregister(this,this._handleResizeBound),uA(this)}onBeforeRendering(){this._keepInnerValue||(this._innerValue=this.value),this.showSuggestions&&(this.enableSuggestions(),this.suggestionObjects=this.Suggestions.defaultSlotProperties(this.typedInValue)),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`),this.FormSupport=Se("FormSupport");const e=!!this.suggestionItems.length,t=!!this.value,o=this.shadowRoot.querySelector("input")===ks();this._isPhone?this.open=this.openOnMobile:this._forceOpen?this.open=!0:this.open=t&&e&&o&&this.isTyping,this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";');const r=this.value,n=this.getInputDOMRefSync();if(!n||!r)return;const s=n.selectionEnd-n.selectionStart;if(this._shouldAutocomplete&&!hp()&&!s&&!this._isKeyNavigation){const l=this._getFirstMatchingItem(r);l&&this._handleTypeAhead(l)}}async onAfterRendering(){const e=this.getInputDOMRefSync();this.Suggestions&&this.showSuggestions&&(this.Suggestions.toggle(this.open,{preventFocusRestore:!0}),this._listWidth=await this.Suggestions._getListWidth()),this.shouldDisplayOnlyValueStateMessage?this.openPopover():this.closePopover(),this._performTextSelection&&(e.value!==this._innerValue&&(e.value=this._innerValue),this.typedInValue.length&&this.value.length&&e.setSelectionRange(this.typedInValue.length,this.value.length)),this._performTextSelection=!1}_onkeydown(e){if(this._isKeyNavigation=!0,this._shouldAutocomplete=!this.noTypeahead&&!(sc(e)||rs(e)||Zi(e)),Le(e))return this._handleUp(e);if(De(e))return this._handleDown(e);if(te(e))return this._handleSpace(e);if(It(e))return this._handleTab();if(de(e))return this._handleEnter(e);if(pi(e))return this._handlePageUp(e);if(Ci(e))return this._handlePageDown(e);if(St(e))return this._handleHome(e);if(si(e))return this._handleEnd(e);if(Zi(e))return this._handleEscape();this.showSuggestions&&this._clearPopoverFocusAndSelection(),this._keyDown=!0,this._isKeyNavigation=!1}_onkeyup(e){rs(e)&&(this.value=e.target.value),this._keyDown=!1}_handleUp(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onUp(e)}_handleDown(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onDown(e)}_handleSpace(e){this.Suggestions&&this.Suggestions.onSpace(e)}_handleTab(){this.Suggestions&&this.previousValue!==this.value&&this.Suggestions.onTab()}_handleEnter(e){const t=!!(this.Suggestions&&this.Suggestions.onEnter(e)),o=this.getInputDOMRefSync(),r=this.suggestionItems.find(n=>n.text&&n.text===this.value||n.textContent===this.value);if(r){const n=r.text?r.text:r.textContent||"";o.setSelectionRange(n.length,n.length),t||(this.selectSuggestion(r,!0),this.open=!1)}if(this._isPhone&&!this.suggestionItems.length&&!this.isTypeNumber&&o.setSelectionRange(this.value.length,this.value.length),!t){this.lastConfirmedValue=this.value,this.FormSupport&&this.FormSupport.triggerFormSubmit(this);return}this.focused=!0}_handlePageUp(e){this._isSuggestionsFocused?this.Suggestions.onPageUp(e):e.preventDefault()}_handlePageDown(e){this._isSuggestionsFocused?this.Suggestions.onPageDown(e):e.preventDefault()}_handleHome(e){this._isSuggestionsFocused&&this.Suggestions.onHome(e)}_handleEnd(e){this._isSuggestionsFocused&&this.Suggestions.onEnd(e)}_handleEscape(){const t=this.showSuggestions&&!!this.Suggestions&&this.open,o=this.getInputDOMRefSync(),r=o.selectionEnd-o.selectionStart>0;if(this.isTyping=!1,!t){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue;return}if(t&&this.Suggestions._isItemOnTarget()){this.value=this.typedInValue||this.valueBeforeItemPreview,this.suggestionSelectionCancelled=!0,this.focused=!0;return}r&&(this.value=this.typedInValue),this._isValueStateFocused&&(this._isValueStateFocused=!1,this.focused=!0)}async _onfocusin(e){await this.getInputDOMRef(),this.focused=!0,this._focusedAfterClear||(this.previousValue=this.value),this.valueBeforeItemPreview=this.value,this._inputIconFocused=!!e.target&&e.target===this.querySelector("[ui5-icon]"),this._focusedAfterClear=!1}innerFocusIn(){}_onfocusout(e){const t=e.relatedTarget,o=this.Suggestions&&t&&t.shadowRoot&&t.shadowRoot.contains(this.Suggestions.responsivePopover),r=t&&t.shadowRoot&&t.shadowRoot.querySelector(".ui5-valuestatemessage-root");if(this._keepInnerValue=!1,this.showClearIcon&&!this._effectiveShowClearIcon&&(this._clearIconClicked=!1,this._handleChange()),o||r){e.stopImmediatePropagation();return}t&&t.classList.contains(this._id)||(this.open=!1,this._clearPopoverFocusAndSelection(),this._clearIconClicked||(this.previousValue=""),this.lastConfirmedValue="",this.focused=!1,this.isTyping=!1,this._forceOpen=!1)}_clearPopoverFocusAndSelection(){!this.showSuggestions||!this.Suggestions||(this._isValueStateFocused=!1,this.hasSuggestionItemSelected=!1,this.Suggestions._deselectItems(),this.Suggestions._clearItemFocus())}_click(){G()&&!this.readonly&&this.Suggestions&&(this.blur(),this.openOnMobile=!0)}_handleChange(){if(this._clearIconClicked){this._clearIconClicked=!1;return}this.previousValue!==this.getInputDOMRefSync().value&&(this.fireEvent(fn.CHANGE),this.previousValue=this.value,this.typedInValue=this.value)}_clear(){this.value="",this.fireEvent(fn.INPUT),this._isPhone||(this.focus(),this._focusedAfterClear=!0)}_iconMouseDown(){this._clearIconClicked=!0}_scroll(e){this.fireEvent("suggestion-scroll",{scrollTop:e.detail.scrollTop,scrollContainer:e.detail.targetRef})}_handleInput(e){const t=this.getInputDOMRefSync(),o=this.value&&this.isTypeNumber&&!t.value,r=e.inputType||e.detail.inputType||"";this._keepInnerValue=!1;const n=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];if(this._shouldAutocomplete=!n.includes(r)&&!this.noTypeahead,this.suggestionSelectionCancelled=!1,e instanceof InputEvent){const s=this.isTypeNumber&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward")&&!e.target.value.includes(".")&&this.value.includes("."),l=o&&e.data==="e",_=o&&this.value.startsWith("-")&&this.value.length===2&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward");(s||l||_)&&(this.value=e.target.value,this._keepInnerValue=!0)}e.target===t&&(this.focused=!0,e.stopImmediatePropagation()),this.fireEventByAction(Eu.ACTION_ENTER,e),this.hasSuggestionItemSelected=!1,this._isValueStateFocused=!1,this.Suggestions&&this.Suggestions.updateSelectedItemPosition(-1),this.isTyping=!0}_startsWithMatchingItems(e){const t=this.suggestionItems[0].text?"text":"textContent";return ld(e,this.suggestionItems,t)}_getFirstMatchingItem(e){if(!this.suggestionItems.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.groupItem);if(t.length)return t[0]}_handleTypeAhead(e){const t=e.text?e.text:e.textContent||"";this._innerValue=t,this.value=t,this._performTextSelection=!0,this._shouldAutocomplete=!1}_handleResize(){this._inputWidth=this.offsetWidth}_updateAssociatedLabelsTexts(){this._associatedLabelsTexts=Uy(this),this._accessibleLabelsRefTexts=zy(this)}_closeRespPopover(){this.Suggestions.close(!0)}async _afterOpenPopover(){G()&&(await this.getInputDOMRef()).focus()}_afterClosePopover(){this.announceSelectedItem(),G()&&(this.blur(),this.focused=!1),this.openOnMobile=!1,this.open=!1,this._forceOpen=!1,this.hasSuggestionItemSelected&&this.focus()}isValueStateOpened(){return!!this._isPopoverOpen}async openPopover(){const e=await this._getPopover();e&&(this._isPopoverOpen=!0,e.showAt(this))}async closePopover(){const e=await this._getPopover();e&&e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}openPicker(){!this.suggestionItems.length||this.disabled||this.readonly||(this._forceOpen=!0)}enableSuggestions(){if(this.Suggestions)return;const e=Se("InputSuggestions");if(e)this.Suggestions=new e(this,"suggestionItems",!0,!1);else throw new Error('You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions')}selectSuggestion(e,t){var w;if(e.groupItem)return;const o=this.typedInValue||this.value,r=e.text||e.textContent||"",n=t?this.valueBeforeItemSelection!==r:o!==r;this.hasSuggestionItemSelected=!0;const s=this.value,l=this.valueBeforeItemSelection,_=this.lastConfirmedValue,p=this._performTextSelection,v=this.typedInValue,f=this.previousValue;n&&(this.value=r,this.valueBeforeItemSelection=r,this.lastConfirmedValue=r,this._performTextSelection=!0,this.fireEvent(fn.CHANGE),G()&&this.fireEvent(fn.INPUT),this.typedInValue=this.value,this.previousValue=this.value),this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,!this.fireEvent(fn.SUGGESTION_ITEM_SELECT,{item:e},!0)&&((w=this.Suggestions)==null||w._clearSelectedSuggestionAndAccInfo(),this.hasSuggestionItemSelected=!1,this.suggestionSelectionCancelled=!0,n&&(r===this.value&&(this.value=s),this.valueBeforeItemSelection=l,this.lastConfirmedValue=_,this._performTextSelection=p,this.typedInValue=v,this.previousValue=f)),this.isTyping=!1,this.openOnMobile=!1,this._forceOpen=!1}previewSuggestion(e){this.valueBeforeItemSelection=this.value,this.updateValueOnPreview(e),this.announceSelectedItem(),this._previewItem=e}updateValueOnPreview(e){const o=e.type==="Inactive"||e.groupItem?this.valueBeforeItemPreview:e.effectiveTitle||e.textContent||"";this.value=o,this._performTextSelection=!0}get previewItem(){return this._previewItem?this.getSuggestionByListItem(this._previewItem):null}async fireEventByAction(e,t){if(this.disabled||this.readonly)return;const o=await this.getInputValue(),r=e===Eu.ACTION_ENTER;this.value=o,this.typedInValue=o,this.valueBeforeItemPreview=o,r&&(this.fireEvent(fn.INPUT,{inputType:t.inputType}),this.fireEvent("value-changed"))}async getInputValue(){return this.getDomRef()?(await this.getInputDOMRef()).value:""}async getInputDOMRef(){return G()&&this.Suggestions?(await this.Suggestions._getSuggestionPopover(),this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone")):this.nativeInput}getInputDOMRefSync(){return G()&&this.Suggestions&&this.Suggestions.responsivePopover?this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input"):this.nativeInput}get nativeInput(){const e=this.getDomRef();return e?e.querySelector("input"):null}get nativeInputWidth(){return this.nativeInput?this.nativeInput.offsetWidth:0}getLabelableElementId(){return this.getInputId()}getSuggestionByListItem(e){const t=parseInt(e.getAttribute("data-ui5-key"));return this.suggestionItems[t]}isSuggestionsScrollable(){return this.Suggestions?this.Suggestions._isScrollable():Promise.resolve(!1)}getInputId(){return`${this._id}-inner`}onItemMouseOver(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseover",{item:o,targetRef:t})}onItemMouseOut(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseout",{item:o,targetRef:t})}onItemMouseDown(e){e.preventDefault()}onItemSelected(e,t){this.selectSuggestion(e,t)}onItemPreviewed(e){this.previewSuggestion(e),this.fireEvent("suggestion-item-preview",{item:this.getSuggestionByListItem(e),targetRef:e})}get valueStateTypeMappings(){return{Success:Kt.i18nBundle.getText(As),Information:Kt.i18nBundle.getText(Bs),Error:Kt.i18nBundle.getText(Is),Warning:Kt.i18nBundle.getText(Cs)}}valueStateTextMappings(){return{Success:Kt.i18nBundle.getText($r),Information:Kt.i18nBundle.getText(Yr),Error:Kt.i18nBundle.getText(wr),Warning:Kt.i18nBundle.getText(kr)}}announceSelectedItem(){const e=this.shadowRoot.querySelector(`[id="${this._id}-selectionText"]`);e.textContent=this.itemSelectionAnnounce}get _readonly(){return this.readonly&&!this.disabled}get _headerTitleText(){return Kt.i18nBundle.getText(Ss)}get clearIconAccessibleName(){return Kt.i18nBundle.getText(Zu)}get inputType(){return this.type.toLowerCase()}get isTypeNumber(){return this.type===us.Number}get suggestionsTextId(){return this.showSuggestions?`${this._id}-suggestionsText`:""}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:""}get accInfo(){const e=this.showSuggestions?"true":void 0,t=this.showSuggestions?"list":void 0,o=this._inputAccInfo.ariaDescribedBy?`${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim():`${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{ariaRoledescription:this._inputAccInfo&&(this._inputAccInfo.ariaRoledescription||void 0),ariaDescribedBy:o||void 0,ariaInvalid:this.valueState===y.Error?"true":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._inputAccInfo&&this._inputAccInfo.ariaDescription,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!==y.None?this.valueStateTypeMappings[this.valueState]:"";return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get itemSelectionAnnounce(){return this.Suggestions?this.Suggestions.itemSelectionAnnounce:""}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===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{"max-width":this._inputWidth?`${this._inputWidth}px`:""},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:this._listWidth?`${this._listWidth}px`:""},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 valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayOnlyValueStateMessage(){return this.hasValueStateMessage&&!this.readonly&&!this.open&&this.focused}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get hasValueState(){return this.valueState!==y.None}get hasValueStateMessage(){return this.hasValueState&&this.valueState!==y.Success&&(!this._inputIconFocused||!!(this._isPhone&&this.Suggestions))}get valueStateText(){return this.valueState!==y.None?this.valueStateTextMappings()[this.valueState]:void 0}get suggestionsText(){return Kt.i18nBundle.getText(j2)}get availableSuggestionsCount(){if(this.showSuggestions&&(this.value||this.Suggestions.isOpened())){const e=this.suggestionObjects.filter(t=>!t.groupItem);switch(e.length){case 0:return Kt.i18nBundle.getText(X2);case 1:return Kt.i18nBundle.getText(Y2);default:return Kt.i18nBundle.getText(K2,e.length)}}}get step(){return this.isTypeNumber?"any":void 0}get _isPhone(){return G()}get _isSuggestionsFocused(){return!this.focused&&this.Suggestions&&this.Suggestions.isOpened()}get _placeholder(){return this.placeholder}get _valueStateInputIcon(){const e={Error:'',Warning:'',Success:'',Information:''};return this.valueState!==y.None?` - - ${e[this.valueState]}; - - `:""}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}getCaretPosition(){return eR(this.nativeInput)}setCaretPosition(e){tR(this.nativeInput,e)}removeFractionalPart(e){return e.includes(".")?e.slice(0,e.indexOf(".")):e.includes(",")?e.slice(0,e.indexOf(",")):e}static async onDefine(){const e=Se("InputSuggestions");[Kt.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}};$e([u({type:Boolean})],ye.prototype,"disabled",void 0);$e([u({type:Boolean})],ye.prototype,"highlight",void 0);$e([u()],ye.prototype,"placeholder",void 0);$e([u({type:Boolean})],ye.prototype,"readonly",void 0);$e([u({type:Boolean})],ye.prototype,"required",void 0);$e([u({type:Boolean})],ye.prototype,"noTypeahead",void 0);$e([u({type:us,defaultValue:us.Text})],ye.prototype,"type",void 0);$e([u()],ye.prototype,"value",void 0);$e([u({noAttribute:!0})],ye.prototype,"_innerValue",void 0);$e([u({type:y,defaultValue:y.None})],ye.prototype,"valueState",void 0);$e([u()],ye.prototype,"name",void 0);$e([u({type:Boolean})],ye.prototype,"showSuggestions",void 0);$e([u({validator:z})],ye.prototype,"maxlength",void 0);$e([u()],ye.prototype,"accessibleName",void 0);$e([u({defaultValue:""})],ye.prototype,"accessibleNameRef",void 0);$e([u({type:Boolean})],ye.prototype,"showClearIcon",void 0);$e([u({type:Boolean})],ye.prototype,"_effectiveShowClearIcon",void 0);$e([u({type:Boolean})],ye.prototype,"focused",void 0);$e([u({type:Boolean})],ye.prototype,"openOnMobile",void 0);$e([u({type:Boolean})],ye.prototype,"open",void 0);$e([u({type:Boolean})],ye.prototype,"_forceOpen",void 0);$e([u({type:Boolean})],ye.prototype,"_isValueStateFocused",void 0);$e([u({type:Object,noAttribute:!0})],ye.prototype,"_inputAccInfo",void 0);$e([u({type:Object,noAttribute:!0})],ye.prototype,"_nativeInputAttributes",void 0);$e([u({validator:z})],ye.prototype,"_inputWidth",void 0);$e([u({validator:z})],ye.prototype,"_listWidth",void 0);$e([u({type:Boolean,noAttribute:!0})],ye.prototype,"_isPopoverOpen",void 0);$e([u({type:Boolean,noAttribute:!0})],ye.prototype,"_inputIconFocused",void 0);$e([u({type:String,noAttribute:!0,defaultValue:void 0})],ye.prototype,"_associatedLabelsTexts",void 0);$e([u({type:String,noAttribute:!0,defaultValue:void 0})],ye.prototype,"_accessibleLabelsRefTexts",void 0);$e([F({type:HTMLElement,default:!0})],ye.prototype,"suggestionItems",void 0);$e([F()],ye.prototype,"icon",void 0);$e([F()],ye.prototype,"formSupport",void 0);$e([F({type:HTMLElement,invalidateOnChildChange:!0,cloned:!0})],ye.prototype,"valueStateMessage",void 0);ye=Kt=$e([B({tag:"ui5-input",languageAware:!0,renderer:ee,template:uR,staticAreaTemplate:fR,styles:AR,staticAreaStyles:[Wo,On,cd],get dependencies(){const i=Se("InputSuggestions");return[fo,Ie].concat(i?i.dependencies:[])}}),$("change"),$("input"),$("suggestion-item-select",{detail:{item:{type:HTMLElement}}}),$("suggestion-item-preview",{detail:{item:{type:HTMLElement},targetRef:{type:HTMLElement}}}),$("suggestion-scroll",{detail:{scrollTop:{type:z},scrollContainer:{type:HTMLElement}}})],ye);ye.define();const vr=ye,BR="direction-arrows",Hw="M507 244q5 5 5 12 0 6-5 11L394 379q-5 5-12 5-6 0-11-5t-5-11V144q0-12 10-15 2-1 6-1 8 0 12 4zM135 129q10 3 10 15v224q0 6-4.5 11t-11.5 5q-6 0-11-5L5 267q-5-5-5-11 0-7 5-12l113-112q4-4 11-4 4 0 6 1z",ER=!1,DR="SAP-icons-v4",PR="@ui5/webcomponents-icons";Y(BR,{pathData:Hw,ltr:ER,collection:DR,packageName:PR});const OR="direction-arrows",Uw="M135 128q11 0 18 7.5t7 18.5v204q0 11-8 18.5t-18 7.5-17-7L8 275q-8-8-8-19t8-19l109-102q7-7 18-7zm369 109q8 8 8 19t-8 19L395 377q-7 7-17 7t-18-7.5-8-18.5V154q0-12 8-19t19-7q9 0 16 7z",RR=!1,LR="SAP-icons-v5",MR="@ui5/webcomponents-icons";Y(OR,{pathData:Uw,ltr:RR,collection:LR,packageName:MR});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const NR={packageName:"@ui5/webcomponents",fileName:"themes/SliderBase.css.ts",content:`.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([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_slider_disabled_opacity);cursor:default;pointer-events:none}:host{box-sizing:border-box;cursor:pointer;vertical-align:top;width:100%}:host(:not([hidden])){display:inline-block}.ui5-slider-root{box-sizing:border-box;height:3.3125rem;outline:none;padding:var(--_ui5-v1-22-1-rc-0_slider_padding);touch-action:none}.ui5-slider-inner{background-repeat:no-repeat;position:relative;min-width:var(--_ui5-v1-22-1-rc-0_slider_inner_min_width);height:100%}.ui5-slider-progress-container{width:100%;background:var(--_ui5-v1-22-1-rc-0_slider_progress_container_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_inner_height);position:relative;box-sizing:var(--_ui5-v1-22-1-rc-0_slider_progress_box_sizing);top:var(--_ui5-v1-22-1-rc-0_slider_progress_container_top)}.ui5-slider-progress-container:before,.ui5-slider-progress-container:after{display:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_display);content:"";position:absolute;border-radius:50%;width:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);height:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);top:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_top)}.ui5-slider-progress-container:before{inset-inline-start:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_before_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_before_border)}.ui5-slider-progress-container:after{inset-inline-end:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_after_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_after_border)}.ui5-slider-progress{background:var(--_ui5-v1-22-1-rc-0_slider_progress_background);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_progress_height);position:relative;outline:none;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_slider_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_active_progress_top)}.ui5-slider-tickmarks{list-style:none;padding:0;margin:0;top:var(--_ui5-v1-22-1-rc-0_slider_tickmark_top);display:flex;box-sizing:border-box;width:100%;justify-content:space-between;position:absolute;z-index:1}.ui5-slider-tickmarks li{height:var(--_ui5-v1-22-1-rc-0_slider_tickmark_height);border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_bg)}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_slider_handle_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2);top:var(--_ui5-v1-22-1-rc-0_slider_handle_top);position:absolute;outline:none;height:var(--_ui5-v1-22-1-rc-0_slider_handle_height);width:var(--_ui5-v1-22-1-rc-0_slider_handle_width);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_handle_box_sizing);display:flex;justify-content:center;align-items:center;z-index:2}[slider-icon]{display:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_display);color:var(--sapContent_Selected_ForegroundColor);width:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size);height:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size)}.ui5-slider-root .ui5-slider-handle:focus [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_border)}.ui5-slider-root:focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-handle:focus{outline:var(--_ui5-v1-22-1-rc-0_slider_handle_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_slider_handle_outline_offset);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);background:var(--_ui5-v1-22-1-rc-0_slider_handle_background_focus)}.ui5-slider-handle.ui5-slider-handle--start:focus,.ui5-slider-handle--end:focus{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-root:focus:hover .ui5-slider-handle,.ui5-slider-handle:focus:hover{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-tooltip{display:flex;justify-content:center;align-items:center;visibility:hidden;pointer-events:none;line-height:1rem;position:absolute;left:50%;transform:translate(-50%);bottom:var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom);background:var(--_ui5-v1-22-1-rc-0_slider_tooltip_background);border:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_slider_tooltip_box_shadow);font-size:var(--_ui5-v1-22-1-rc-0_slider_tooltip_fontsize);color:var(--_ui5-v1-22-1-rc-0_slider_tooltip_color);height:var(--_ui5-v1-22-1-rc-0_slider_tooltip_height);min-width:var(--_ui5-v1-22-1-rc-0_slider_tooltip_min_width);padding:var(--_ui5-v1-22-1-rc-0_slider_tooltip_padding);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_box)}.ui5-slider-tooltip-value{position:relative;display:flex;justify-content:center;align-items:center}.ui5-slider-labels{position:absolute;top:1.25rem;margin:0;padding:0;white-space:nowrap}.ui5-slider-labels li{position:relative;list-style:none;padding-top:.3125rem;height:1rem;margin:0;text-align:center;display:inline-block;color:var(--_ui5-v1-22-1-rc-0_slider_label_color);font-size:var(--_ui5-v1-22-1-rc-0_slider_label_fontsize);padding-top:0;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;vertical-align:top}.ui5-slider-hidden-labels li:not(:first-child):not(:last-child){visibility:hidden}.ui5-slider-handle:focus .ui5-slider-tooltip{bottom:var(--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance)}.ui5-slider-tickmarks li.ui5-slider-tickmark-in-range{border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_in_range_bg)}:host([show-tickmarks]) .ui5-slider-progress{height:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_height);border:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_top)}:host([show-tickmarks]) .ui5-slider-progress-container{top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_container_top)}.ui5-slider-handle:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_visibility);width:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);height:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);border:var(--sapContent_FocusWidth) dotted var(--sapContent_FocusColor);position:absolute;border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);pointer-events:none} -`};var $o=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ao;let Pi=Ao=class extends j{constructor(){super(),this.notResized=!1,this._isUserInteraction=!1,this._isInnerElementFocusing=!1,this._labelWidth=0,this._resizeHandler=this._handleResize.bind(this),this._moveHandler=this._handleMove.bind(this),this._upHandler=this._handleUp.bind(this),this._stateStorage={step:void 0,min:void 0,max:void 0,labelInterval:void 0};const e=t=>{this._onmousedown(t)};this._ontouchstart={handleEvent:e,passive:!0}}_handleMove(e){}_handleUp(){}_onmousedown(e){}_handleActionKeyPress(e){}static get ACTION_KEYS(){return[ft,it,Le,De,Ja,_a,Lr,Mr,of,rf,St,si,pi,Ci,Zi]}static get MIN_SPACE_BETWEEN_TICKMARKS(){return 8}static get TOOLTIP_VISIBILITY(){return{VISIBLE:"visible",HIDDEN:"hidden"}}static get render(){return ee}static get styles(){return NR}get classes(){return{root:{"ui5-slider-root-phone":G()},labelContainer:{"ui5-slider-hidden-labels":this._labelsOverlapping}}}onEnterDOM(){Pe.register(this,this._resizeHandler)}onExitDOM(){Pe.deregister(this,this._resizeHandler)}onAfterRendering(){this.notResized&&this._resizeHandler()}_onmouseover(){this.showTooltip&&(this._tooltipVisibility=Ao.TOOLTIP_VISIBILITY.VISIBLE)}_onmouseout(){this.showTooltip&&!this.shadowRoot.activeElement&&(this._tooltipVisibility=Ao.TOOLTIP_VISIBILITY.HIDDEN)}_onkeydown(e){this.disabled||this._effectiveStep===0||Ao._isActionKey(e)&&(e.preventDefault(),this._isUserInteraction=!0,this._handleActionKeyPress(e))}_onkeyup(){this.disabled||(this._isUserInteraction=!1)}_preserveFocus(e){this._isInnerElementFocusing=e}_isFocusing(){return this._isInnerElementFocusing}_preventFocusOut(){this.focusInnerElement()}focusInnerElement(){this.focus()}_handleResize(){if(!this.showTickmarks||(this.notResized=!1,this._spaceBetweenTickmarks()o.scrollWidth>o.clientWidth)}handleDownBase(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.getBoundingClientRect(),n=this.directionStart,s=this._effectiveStep,l=Ao.getValueFromInteraction(e,s,t,o,r,n);return this._isUserInteraction=!0,window.addEventListener("mouseup",this._upHandler),window.addEventListener("touchend",this._upHandler),Cl()&&e instanceof TouchEvent?window.addEventListener("touchmove",this._moveHandler):window.addEventListener("mousemove",this._moveHandler),this._handleFocusOnMouseDown(e),l}_handleFocusOnMouseDown(e){const t=this.shadowRoot.activeElement;(!t||t!==e.target)&&(this._preserveFocus(!0),this.focusInnerElement())}handleUpBase(){window.removeEventListener("mouseup",this._upHandler),window.removeEventListener("touchend",this._upHandler),window.removeEventListener("mousemove",this._moveHandler),window.removeEventListener("touchmove",this._moveHandler),this._isUserInteraction=!1,this._preserveFocus(!1)}updateStateStorageAndFireInputEvent(e){this.storePropertyState(e),this._isUserInteraction&&this.fireEvent("input")}static _isActionKey(e){return this.ACTION_KEYS.some(t=>t(e))}static clipValue(e,t,o){return e=Math.min(Math.max(e,t),o),e}static getValueFromInteraction(e,t,o,r,n,s){const l=this.getPageXValueFromEvent(e),_=this.computedValueFromPageX(l,o,r,n,s),p=this.getSteppedValue(_,t,o);return this.clipValue(p,o,r)}static getSteppedValue(e,t,o){const r=Math.abs((e-o)%t);if(t===0||r===0)return e;e=r*2>=t?e+t-r:e-r;const n=Ao._getDecimalPrecisionOfNumber(t);return Number(e.toFixed(n))}static getPageXValueFromEvent(e){return Cl()&&e instanceof TouchEvent?e.targetTouches&&e.targetTouches.length>0?e.targetTouches[0].pageX:0:e.pageX}static computedValueFromPageX(e,t,o,r,n){const l=(n==="left"?e-r[n]:r[n]-e)/r.width;return t+l*(o-t)}static _getDecimalPrecisionOfNumber(e){if(Number.isInteger(e))return 0;const t=String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return!t||t.length<2?0:Math.max(0,(t[1]?t[1].length:0)-(t[2]?Number(t[2]):0))}isCurrentStateOutdated(){return Object.entries(this._stateStorage).some(([e,t])=>this[e]!==t)}getStoredPropertyState(e){return this._stateStorage[e]}isPropertyUpdated(...e){return e.some(t=>this.getStoredPropertyState(t)!==this[t])}storePropertyState(...e){e.forEach(t=>{this._stateStorage[t]=this[t]})}get directionStart(){return this.effectiveDir==="rtl"?"right":"left"}_createLabels(){if(!this.labelInterval||!this.showTickmarks)return;const e=this.labelInterval,t=this._effectiveStep,o=(this._effectiveMax-this._effectiveMin)/(t*e);if(o===this._oldNumberOfLabels&&this._oldMin===this._effectiveMin&&this._oldMax===this._effectiveMax)return;this._oldMin=this._effectiveMin,this._oldMax=this._effectiveMax,this._oldNumberOfLabels=o,this._labelWidth=100/o,this._labelValues=[];const r=Ao._getDecimalPrecisionOfNumber(t);for(let n=0;n<=o;n++){const s=(n*t*e+this._effectiveMin).toFixed(r);this._labelValues.push(s)}}_handleActionKeyPressBase(e,t){const o=Ao._isIncreaseValueAction(e),r=Ao._isBigStepAction(e),n=this[t],s=this._effectiveMin,l=this._effectiveMax;let _=this.effectiveDir==="rtl"?-this._effectiveStep:this._effectiveStep;return _=r&&(l-s)/_>10?(l-s)/10:_,si(e)?l-n:St(e)?(n-s)*-1:o?_:_*-1}static _isDecreaseValueAction(e){return De(e)||Mr(e)||ft(e)||Ja(e)||rf(e)||Ci(e)}static _isIncreaseValueAction(e){return Le(e)||Lr(e)||it(e)||_a(e)||of(e)||pi(e)}static _isBigStepAction(e){return Mr(e)||Lr(e)||Ja(e)||_a(e)||pi(e)||Ci(e)}get _tickmarksCount(){return(this._effectiveMax-this._effectiveMin)/this._effectiveStep}_spaceBetweenTickmarks(){return this.getBoundingClientRect().width/this._tickmarksCount}_validateStep(e){e===0&&console.warn("The 'step' property must be a positive float number"),e<0&&console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"),Number.isNaN(e)&&console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1")}get _labels(){return this._labelValues||[]}get _effectiveStep(){let e=this.step;return e<0&&(e=Math.abs(e)),Number.isNaN(e)&&(e=1),e}get _effectiveMin(){return Math.min(this.min,this.max)}get _effectiveMax(){return Math.max(this.min,this.max)}get _tabIndex(){return this.disabled?"-1":"0"}get _ariaLabelledByHandleRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}};$o([u({validator:Ti,defaultValue:0})],Pi.prototype,"min",void 0);$o([u({validator:Ti,defaultValue:100})],Pi.prototype,"max",void 0);$o([u({validator:Ti,defaultValue:1})],Pi.prototype,"step",void 0);$o([u({validator:z,defaultValue:0})],Pi.prototype,"labelInterval",void 0);$o([u({type:Boolean})],Pi.prototype,"showTickmarks",void 0);$o([u({type:Boolean})],Pi.prototype,"showTooltip",void 0);$o([u({type:Boolean})],Pi.prototype,"disabled",void 0);$o([u()],Pi.prototype,"accessibleName",void 0);$o([u({defaultValue:"hidden"})],Pi.prototype,"_tooltipVisibility",void 0);$o([u({type:Boolean})],Pi.prototype,"_labelsOverlapping",void 0);$o([u({type:Boolean})],Pi.prototype,"_hiddenTickmarks",void 0);Pi=Ao=$o([$("change"),$("input")],Pi);const sr=Pi;function FR(i,e,t){return t?c`
    ${this.step?cm.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} name="direction-arrows" part="icon-slider" slider-icon>${this.showTooltip?um.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:c`
    ${this.step?cm.call(this,i,e,t):void 0}
    ${this.showTooltip?um.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function cm(i,e,t){return c`${this.showTickmarks?zR.call(this,i,e,t):void 0}`}function zR(i,e,t){return c`
      ${E(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>VR.call(this,i,e,t,o,r))}
    ${this.labelInterval?WR.call(this,i,e,t):void 0}`}function VR(i,e,t,o,r){return c`${o?HR.call(this,i,e,t,o,r):UR.call(this,i,e,t,o,r)}`}function HR(i,e,t,o,r){return c`
  • `}function UR(i,e,t,o,r){return c`
  • `}function WR(i,e,t){return c`
      ${E(this._labels,(o,r)=>o._id||r,(o,r)=>qR.call(this,i,e,t,o,r))}
    `}function qR(i,e,t,o,r){return c`
  • ${a(o)}
  • `}function um(i,e,t){return c`
    ${a(this.tooltipValue)}
    `}var Ww=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ou;let Fl=ou=class extends sr{constructor(){super(),this._progressPercentage=0,this._handlePositionFromStart=0,this._stateStorage.value=void 0}onBeforeRendering(){this.isCurrentStateOutdated()&&(this.notResized=!0,this.syncUIAndState(),this._updateHandleAndProgress(this.value))}syncUIAndState(){this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","value")&&(this.storePropertyState("min","max"),this.value=sr.clipValue(this.value,this._effectiveMin,this._effectiveMax),this.updateStateStorageAndFireInputEvent("value"),this.storePropertyState("value")),this.labelInterval&&this.showTickmarks&&this._createLabels(),this.isPropertyUpdated("labelInterval")&&this.storePropertyState("labelInterval")}_onmousedown(e){if(this.disabled||this.step===0)return;const t=this.handleDownBase(e);this._valueOnInteractionStart=this.value,this._valueInitial===void 0&&(this._valueInitial=this.value);const o=this.constructor;this._isHandlePressed(o.getPageXValueFromEvent(e))||(this._updateHandleAndProgress(t),this.value=t,this.updateStateStorageAndFireInputEvent("value"))}_onfocusin(){this._valueInitial===void 0&&(this._valueInitial=this.value),this.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._valueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.HIDDEN)}_handleMove(e){if(e.preventDefault(),this.disabled||this._effectiveStep===0)return;const o=this.constructor.getValueFromInteraction(e,this._effectiveStep,this._effectiveMin,this._effectiveMax,this.getBoundingClientRect(),this.directionStart);this._updateHandleAndProgress(o),this.value=o,this.updateStateStorageAndFireInputEvent("value")}_handleUp(){this._valueOnInteractionStart!==this.value&&this.fireEvent("change"),this.handleUpBase(),this._valueOnInteractionStart=void 0}_isHandlePressed(e){const t=this._sliderHandle.getBoundingClientRect();return e>=t.left&&e<=t.right}_updateHandleAndProgress(e){const t=this._effectiveMax,o=this._effectiveMin;this._progressPercentage=(e-o)/(t-o),this._handlePositionFromStart=this._progressPercentage*100}_handleActionKeyPress(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.value,n=this.constructor,s=Zi(e)?this._valueInitial:n.clipValue(this._handleActionKeyPressBase(e,"value")+r,t,o);s!==r&&(this._updateHandleAndProgress(s),this.value=s,this.updateStateStorageAndFireInputEvent("value"))}get styles(){return{progress:{transform:`scaleX(${this._progressPercentage})`,"transform-origin":`${this.directionStart} top`},handle:{[this.directionStart]:`${this._handlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}get _sliderHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle")}get tooltipValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.value.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return ou.i18nBundle.getText(T0)}static async onDefine(){ou.i18nBundle=await oe("@ui5/webcomponents")}get tickmarksObject(){const e=this._tickmarksCount,t=[];if(this._hiddenTickmarks)return[!0,!1];for(let o=0;o<=e;o++)t.push(this._effectiveMin+o*this.step<=this.value);return t}};Ww([u({validator:Ti,defaultValue:0})],Fl.prototype,"value",void 0);Fl=ou=Ww([B({tag:"ui5-slider",languageAware:!0,template:FR,dependencies:[Ie]})],Fl);Fl.define();const jR=Fl;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const GR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPicker.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-color-picker-root{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.ui5-color-picker-main-color{width:16rem;height:16rem;position:relative;margin-bottom:1.5rem;border:1px solid var(--sapContent_ForegroundBorderColor);background-size:100%;background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0)),-webkit-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0)),-moz-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:linear-gradient(left,#000,#0000),linear-gradient(top,#fff0,#fff);background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-webkit-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-moz-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:linear-gradient(left,#000,#0000,#fff),linear-gradient(top,#80808000,gray);user-select:none;-moz-user-select:none}.ui5-color-picker-circle{position:absolute;box-sizing:border-box;width:13px;height:13px;border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_outer_border);border-radius:.6875rem;pointer-events:none}.ui5-color-picker-circle:after{content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);height:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_border);border-radius:.9375rem;pointer-events:none}.ui5-color-picker-sliders-wrapper{width:calc(100% - 11px);margin-left:-10px}[ui5-slider]{--_ui5-v1-22-1-rc-0_slider_active_progress_border: none;--_ui5-v1-22-1-rc-0_slider_progress_box_sizing: content-box}[ui5-slider]::part(handle){width:.9375rem;height:1.5rem;background:transparent;margin-left:-2px;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top);box-sizing:border-box}[ui5-slider]::part(handle):after{content:"";border:2px solid #fff;display:block;height:1.25rem;border-radius:1rem;width:100%;box-sizing:border-box}[ui5-slider]::part(root-container){padding:1rem 0}[ui5-slider]::part(progress-container){width:calc(100% + 11px);height:18px;position:absolute;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top);border-radius:0;border:1px solid var(--sapField_BorderColor)}[ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-size:100%;background-image:-webkit-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(left,red,#ff0,#0f0,#0ff,#00f,#f0f,red);background-color:none}[ui5-slider].ui5-color-picker-alpha-slider::part(progress-container){background-image:-webkit-linear-gradient(left,rgba(65,120,13,0),var(--ui5-v1-22-1-rc-0_Color_Picker_Progress_Container_Color)),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}[ui5-slider]::part(progress-bar){background:transparent}.ui5-color-picker-current-color{width:100%;display:flex;justify-content:space-around;align-items:center}.ui5-color-picker-colors-wrapper{display:flex;flex-wrap:nowrap;height:1.5rem;border:1px solid var(--sapField_BorderColor)}.ui5-color-picker-white,.ui5-color-picker-color{width:3.1rem;background:#fff;display:block}.ui5-color-picker-color{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}.ui5-color-picker-color-inner{width:100%;height:100%}.ui5-color-picker-hex-input-wrapper{display:flex;align-items:center;flex-wrap:nowrap}.ui5-color-picker-hex-input{width:4.5rem;min-width:4.5rem;margin-left:.2rem}.ui5-color-picker-rgb-wrapper{display:flex;justify-content:space-around;width:100%}.ui5-color-picker-rgb{display:flex;flex-direction:column;align-items:center;margin-top:1rem}.ui5-color-picker-rgb-input{width:2.5rem;min-width:2.5rem;text-align:center}.ui5-color-picker-hue-slider::part(progress-container):before,.ui5-color-picker-alpha-slider::part(progress-container):before,.ui5-color-picker-hue-slider::part(progress-container):after,.ui5-color-picker-alpha-slider::part(progress-container):after,[ui5-slider].ui5-color-picker-hue-slider::part(icon-slider),[ui5-slider].ui5-color-picker-alpha-slider::part(icon-slider){display:none}.ui5-color-picker-alpha-slider::part(handle),.ui5-color-picker-hue-slider::part(handle){box-shadow:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_box_shadow);border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_border)}.ui5-color-picker-alpha-slider::part(handle):hover,.ui5-color-picker-hue-slider::part(handle):hover{border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_hover)}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{outline:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_focus);outline-offset:.0625rem}.ui5-color-picker-alpha-slider::part(handle):focus:before,.ui5-color-picker-hue-slider::part(handle):focus:before{content:"";border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_inline_focus);display:block;height:1.625rem;border-radius:1rem;width:1.05rem;box-sizing:border-box;position:absolute;inset:-3px -3px 2px}.ui5-color-picker-alpha-slider::part(handle):before,.ui5-color-picker-hue-slider::part(handle):before{display:none}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_focus_margin_top)}[dir=rtl] [ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-image:-webkit-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}[dir=rtl] .ui5-color-picker-alpha-slider::part(handle),[dir=rtl] .ui5-color-picker-hue-slider::part(handle){--_ui5-v1-22-1-rc-0_slider_handle_margin_left: 0}[dir=rtl] .ui5-color-picker-sliders-wrapper{margin-left:10px} -`};var qo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},tr;const rn=6.5;let Oi=tr=class extends j{static async onDefine(){tr.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super(),this._selectedCoordinates={x:256-rn,y:256-rn},this._mainColor={r:255,g:0,b:0},this.selectedHue=0,this.mouseDown=!1,this.mouseIn=!1}onBeforeRendering(){this._color=KO(this.color);const e=`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, 1)`;this._setHex(),this._setValues(),this.style.setProperty(Qi("--ui5_Color_Picker_Progress_Container_Color"),e)}_handleMouseDown(e){this.mouseDown=!0,this.mouseIn=!0,this._changeSelectedColor(e.offsetX,e.offsetY)}_handleMouseUp(){this.mouseDown=!1}_handleMouseOut(e){if(!this.mouseIn||!this.mouseDown)return;const t=e.target,o=t.offsetHeight,r=t.offsetWidth,n=e.offsetX<=0,s=e.offsetY<=0,l=e.offsetY>=t.offsetHeight,_=e.offsetX>=t.offsetWidth;let p,v;n?p=0:_?p=r:p=e.offsetX,s?v=0:l?v=o:v=e.offsetY,this._changeSelectedColor(p,v),this.mouseIn=!1,this.mouseDown=!1}_handleMouseMove(e){!this.mouseDown||!this.mouseIn||this._changeSelectedColor(e.offsetX,e.offsetY)}_handleAlphaInput(e){const t=e.target.value;this._alpha=parseFloat(t),this._setColor(this._color)}_handleHueInput(e){this.selectedHue=e.target.value,this._hue=this.selectedHue,this._setMainColor(this._hue),this._isHueValueChanged=!0;const t=this._selectedCoordinates.x+rn,o=this._selectedCoordinates.y+rn,r=this._calculateColorFromCoordinates(t,o);r&&this._setColor(Xf(r))}_handleHEXChange(e){const t=new RegExp("^[<0-9 abcdef]+$"),o=e.target;let r=o.value.toLowerCase();r.length===3&&(r=`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`);const n=r.length===6&&t.test(r);n&&o.value!==r&&(this._wrongHEX=!1,o.value=r),r!==this.hex&&(this.hex=r,n?(this._wrongHEX=!1,this._setColor(Nw(this.hex))):this._wrongHEX=!0)}_handleRGBInputsChange(e){const t=e.target,o=parseInt(t.value)||0;let r;switch(t.id){case"red":r={...this._color,r:o};break;case"green":r={...this._color,g:o};break;case"blue":r={...this._color,b:o};break;default:r={...this._color}}this._setColor(r)}_setMainColor(e){e<=255?this._mainColor={r:255,g:e,b:0}:e<=510?this._mainColor={r:255-(e-255),g:255,b:0}:e<=765?this._mainColor={r:0,g:255,b:e-510}:e<=1020?this._mainColor={r:0,g:765-(e-255),b:255}:e<=1275?this._mainColor={r:e-1020,g:0,b:255}:this._mainColor={r:255,g:0,b:1275-(e-255)}}_handleAlphaChange(){this._alpha=this._alpha<0?0:this._alpha,this._alpha=this._alpha>1?1:this._alpha}_changeSelectedColor(e,t){this._selectedCoordinates={x:e-rn,y:t-rn},this._isSelectedColorChanged=!0;const o=this._calculateColorFromCoordinates(e,t);o&&this._setColor(Xf(o))}_onkeydown(e){de(e)&&this._handleHEXChange(e)}_calculateColorFromCoordinates(e,t){const o=this._hue/4.251,r=1-+(Math.round(parseFloat(t/256+"e+2"))+"e-2"),n=+(Math.round(parseFloat(e/256+"e+2"))+"e-2");if(!(!r||!n))return{h:o,s:r,l:n}}_setColor(e={r:0,g:0,b:0}){this.color=`rgba(${e.r}, ${e.g}, ${e.b}, ${this._alpha})`,this._wrongHEX=!this.isValidRGBColor(e),this.fireEvent("change")}isValidRGBColor(e){return e.r>=0&&e.r<=255&&e.g>=0&&e.g<=255&&e.b>=0&&e.b<=255}_setHex(){let e=this._color.r.toString(16),t=this._color.g.toString(16),o=this._color.b.toString(16);e.length===1&&(e=`0${e}`),t.length===1&&(t=`0${t}`),o.length===1&&(o=`0${o}`),this.hex=e+t+o}_setValues(){const e=QO(this._color);this._selectedCoordinates={x:Math.round(e.l*100)*2.56-rn,y:256-Math.round(e.s*100)*2.56-rn},this._isSelectedColorChanged?this._isSelectedColorChanged=!1:this._isHueValueChanged?(this._isHueValueChanged=!1,this._hue=this.selectedHue?this.selectedHue:this._hue):this._hue=Math.round(e.h*4.25),this._setMainColor(this._hue)}get hueSliderLabel(){return tr.i18nBundle.getText(B2)}get alphaSliderLabel(){return tr.i18nBundle.getText(A2)}get hexInputLabel(){return tr.i18nBundle.getText(E2)}get redInputLabel(){return tr.i18nBundle.getText(D2)}get greenInputLabel(){return tr.i18nBundle.getText(P2)}get blueInputLabel(){return tr.i18nBundle.getText(O2)}get alphaInputLabel(){return tr.i18nBundle.getText(R2)}get inputsDisabled(){return this._wrongHEX?!0:void 0}get hexInputErrorState(){return this._wrongHEX?"Error":void 0}get styles(){return{mainColor:{"background-color":`rgb(${this._mainColor.r}, ${this._mainColor.g}, ${this._mainColor.b})`},circle:{left:`${this._selectedCoordinates.x}px`,top:`${this._selectedCoordinates.y}px`},colorSpan:{"background-color":`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, ${this._alpha})`}}}};qo([u({validator:yc,defaultValue:"rgba(255, 255, 255, 1)"})],Oi.prototype,"color",void 0);qo([u({defaultValue:"ffffff",noAttribute:!0})],Oi.prototype,"hex",void 0);qo([u({type:Object})],Oi.prototype,"_mainColor",void 0);qo([u({type:Object})],Oi.prototype,"_color",void 0);qo([u({type:Object})],Oi.prototype,"_selectedCoordinates",void 0);qo([u({validator:Ti,defaultValue:1})],Oi.prototype,"_alpha",void 0);qo([u({validator:z,defaultValue:0})],Oi.prototype,"_hue",void 0);qo([u({type:Boolean})],Oi.prototype,"_isSelectedColorChanged",void 0);qo([u({type:Boolean})],Oi.prototype,"_isHueValueChanged",void 0);qo([u({type:Boolean})],Oi.prototype,"_wrongHEX",void 0);Oi=tr=qo([B({tag:"ui5-color-picker",renderer:ee,styles:GR,template:JO,dependencies:[vr,jR,Os]}),$("change")],Oi);Oi.define();const YR=Oi;function KR(i,e,t){return c`
    ${this.hasValueState?XR.call(this,i,e,t):void 0}${this._effectiveShowClearIcon?ZR.call(this,i,e,t):void 0}${this.icon?QR.call(this,i,e,t):void 0}${this.readonly?void 0:JR.call(this,i,e,t)}
    `}function XR(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}function ZR(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function QR(i,e,t){return c``}function JR(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="slim-arrow-down" slot="icon" tabindex="-1" input-icon ?pressed="${this._iconPressed}" @click="${this._arrowClick}" accessible-name="${a(this._iconAccessibleNameText)}">`:c``}function eL(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} class="${T(this.classes.popover)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${S(this.styles.suggestionsPopover)}" @ui5-after-open=${a(this._afterOpenPopover)} @ui5-after-close=${a(this._afterClosePopover)}><${d("ui5-busy-indicator",e,t)} ?active=${this.loading} size="Medium" class="ui5-combobox-busy">${this._isPhone?dm.call(this,i,e,t):void 0}${this._isPhone?void 0:fm.call(this,i,e,t)}<${d("ui5-list",e,t)} class="ui5-combobox-items-list" separators="None" @ui5-item-click=${a(this._selectItem)} @ui5-item-focused=${a(this._onItemFocus)} @mousedown=${this._itemMousedown} mode="SingleSelect">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>bm.call(this,i,e,t,o,r))}${this._isPhone?ym.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?wm.call(this,i,e,t):void 0} `:c`${this._isPhone?dm.call(this,i,e,t):void 0}${this._isPhone?void 0:fm.call(this,i,e,t)}${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>bm.call(this,i,e,t,o,r))}${this._isPhone?ym.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?wm.call(this,i,e,t):void 0} `}function dm(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${d("ui5-input",e,t)} .value="${a(this.value)}" @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._inputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this.valueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>_m.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?hm.call(this,i,e,t):void 0}`:c`
    ${a(this._headerTitleText)}
    ${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>_m.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?hm.call(this,i,e,t):void 0}`}function _m(i,e,t,o,r){return t?c`<${d("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:c``}function hm(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?pm.call(this,i,e,t):vm.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?pm.call(this,i,e,t):vm.call(this,i,e,t)}
    `}function pm(i,e,t){return c`${a(this.valueStateDefaultText)}`}function vm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>tL.call(this,i,e,t,o,r))}`}function tL(i,e,t,o,r){return c`${a(o)}`}function fm(i,e,t){return c`${this.hasValueStateText?iL.call(this,i,e,t):void 0}`}function iL(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?mm.call(this,i,e,t):gm.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?mm.call(this,i,e,t):gm.call(this,i,e,t)}
    `}function mm(i,e,t){return c`${a(this.valueStateDefaultText)}`}function gm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>oL.call(this,i,e,t,o,r))}`}function oL(i,e,t,o,r){return c`${a(o)}`}function bm(i,e,t,o,r){return c`${o.isGroupItem?rL.call(this,i,e,t,o,r):nL.call(this,i,e,t,o,r)}`}function rL(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} ?focused=${o.focused}>${a(o.text)}`:c`${a(o.text)}`}function nL(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} type="Active" wrapping-type="Normal" additional-text=${a(o.additionalText)} group-name=${a(o.groupName)} ._tabIndex=${a(o.itemTabIndex)} .mappedItem=${a(o)} ?selected=${o.selected} ?focused=${o.focused}>${a(o.text)}`:c`${a(o.text)}`}function ym(i,e,t){return t?c``:c``}function wm(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}" placement-type="Bottom">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?km.call(this,i,e,t):$m.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?km.call(this,i,e,t):$m.call(this,i,e,t)}
    `}function km(i,e,t){return c`${a(this.valueStateDefaultText)}`}function $m(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>aL.call(this,i,e,t,o,r))}`}function aL(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const sL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBox.css.ts",content:`: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-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.ui5-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const lL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBoxPopover.css.ts",content:`.ui5-combobox-busy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:42;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:all}.ui5-combobox-busy:not([active]){display:none} -`};var wc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Sn=class extends j{get isGroupItem(){return!1}};wc([u()],Sn.prototype,"text",void 0);wc([u()],Sn.prototype,"additionalText",void 0);wc([u({type:Boolean})],Sn.prototype,"focused",void 0);wc([u({type:Boolean})],Sn.prototype,"selected",void 0);Sn=wc([B("ui5-cb-item")],Sn);Sn.define();const qw=Sn;var cv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ds=class extends j{get isGroupItem(){return!0}};cv([u()],ds.prototype,"text",void 0);cv([u({type:Boolean})],ds.prototype,"focused",void 0);ds=cv([B("ui5-cb-group-item")],ds);ds.define();const cL=ds;function uL(i,e,t){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const dL={packageName:"@ui5/webcomponents",fileName:"themes/GroupHeaderListItem.css.ts",content:`.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-v1-22-1-rc-0_group_header_list_item_height);background:var(--ui5-v1-22-1-rc-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}.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)} -`};var jw=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ru;let zl=ru=class extends nd{get groupItem(){return!0}get groupHeaderText(){return ru.i18nBundle.getText(U2)}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}static async onDefine(){ru.i18nBundle=await oe("@ui5/webcomponents")}};jw([u()],zl.prototype,"accessibleName",void 0);zl=ru=jw([B({tag:"ui5-li-groupheader",languageAware:!0,template:uL,styles:[nd.styles,dL]})],zl);zl.define();const ud=zl;var Th;(function(i){i.StartsWithPerTerm="StartsWithPerTerm",i.StartsWith="StartsWith",i.Contains="Contains",i.None="None"})(Th||(Th={}));const Du=Th;function _L(i,e,t){return c`
  • ${this.placeSelectionElementBefore?hL.call(this,i,e,t):void 0}
    ${this.hasImageContent?bL.call(this,i,e,t):yL.call(this,i,e,t)}${this.displayIconBegin?kL.call(this,i,e,t):void 0}
    ${this.hasTitle?$L.call(this,i,e,t):void 0}${this.hasDescription?TL.call(this,i,e,t):void 0}${this.typeActive?void 0:CL.call(this,i,e,t)}
    ${this.hasDescription?void 0:AL.call(this,i,e,t)}
    ${this.displayIconEnd?EL.call(this,i,e,t):void 0}${this.typeDetail?DL.call(this,i,e,t):void 0}${this.typeNavigation?PL.call(this,i,e,t):void 0}${this.navigated?OL.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?RL.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function hL(i,e,t){return c`${this.modeSingleSelect?pL.call(this,i,e,t):void 0}${this.modeMultiSelect?vL.call(this,i,e,t):void 0}${this.renderDeleteButton?fL.call(this,i,e,t):void 0}`}function pL(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function vL(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function fL(i,e,t){return c`
    ${this.hasDeleteButtonSlot?mL.call(this,i,e,t):gL.call(this,i,e,t)}
    `}function mL(i,e,t){return c``}function gL(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}function bL(i,e,t){return c`
    `}function yL(i,e,t){return c`${this.displayImage?wL.call(this,i,e,t):void 0}`}function wL(i,e,t){return t?c`<${d("ui5-avatar",e,t)} shape="Square" class="ui5-li-img">`:c``}function kL(i,e,t){return t?c`<${d("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:c``}function $L(i,e,t){return c``}function TL(i,e,t){return c`
    ${this.richDescription.length?xL.call(this,i,e,t):SL.call(this,i,e,t)}${this.additionalText?IL.call(this,i,e,t):void 0}
    `}function xL(i,e,t){return c``}function SL(i,e,t){return c`${a(this.description)}`}function IL(i,e,t){return c`${a(this.additionalText)}`}function CL(i,e,t){return c`${a(this.type)}`}function AL(i,e,t){return c`${this.additionalText?BL.call(this,i,e,t):void 0}`}function BL(i,e,t){return c`${a(this.additionalText)}`}function EL(i,e,t){return t?c`<${d("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:c``}function DL(i,e,t){return t?c`
    <${d("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:c`
    `}function PL(i,e,t){return t?c`<${d("ui5-icon",e,t)} name ="slim-arrow-right">`:c``}function OL(i,e,t){return c`
    `}function RL(i,e,t){return c`${this.modeSingleSelect?LL.call(this,i,e,t):void 0}${this.modeMultiSelect?ML.call(this,i,e,t):void 0}${this.renderDeleteButton?NL.call(this,i,e,t):void 0}`}function LL(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function ML(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function NL(i,e,t){return c`
    ${this.hasDeleteButtonSlot?FL.call(this,i,e,t):zL.call(this,i,e,t)}
    `}function FL(i,e,t){return c``}function zL(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}var uv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let _s=class extends Ra{onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!this.titleText.length}get effectiveTitle(){return this.titleText.filter(e=>e.nodeType!==Node.COMMENT_NODE).map(e=>e.textContent).join("")}get hasDescription(){return this.richDescription.length||this.description}get groupItem(){return!1}};uv([F({type:HTMLElement})],_s.prototype,"richDescription",void 0);uv([F({type:Node,default:!0})],_s.prototype,"titleText",void 0);_s=uv([B({tag:"ui5-li-suggestion-item",template:_L})],_s);_s.define();const Gw=_s;var Xr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let mo=class extends j{get groupItem(){return!1}};Xr([u()],mo.prototype,"text",void 0);Xr([u({type:Ft,defaultValue:Ft.Active})],mo.prototype,"type",void 0);Xr([u()],mo.prototype,"description",void 0);Xr([u()],mo.prototype,"icon",void 0);Xr([u({type:Boolean})],mo.prototype,"iconEnd",void 0);Xr([u()],mo.prototype,"image",void 0);Xr([u()],mo.prototype,"additionalText",void 0);Xr([u({type:y,defaultValue:y.None})],mo.prototype,"additionalTextState",void 0);mo=Xr([B({tag:"ui5-suggestion-item",dependencies:[Gw]})],mo);mo.define();const Yw=mo;var ot=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Xt;const zc=10;var xh;(function(i){i.Error="error",i.Warning="alert",i.Success="sys-enter-2",i.Information="information"})(xh||(xh={}));let Ye=Xt=class extends j{constructor(){super(),this._filteredItems=[],this._initialRendering=!0,this._itemFocused=!1,this._autocomplete=!1,this._isKeyNavigation=!1,this._lastValue=this.getAttribute("value")||"",this._selectionPerformed=!1,this._selectedItemText="",this._userTypedValue=""}onBeforeRendering(){const e=this.valueStatePopover;this.FormSupport=Se("FormSupport"),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,(this._initialRendering||this.filter==="None")&&(this._filteredItems=this.items),this.open&&!this._isKeyNavigation&&(this._filteredItems=this._filterItems(this.filterValue)),!this._initialRendering&&document.activeElement===this&&!this._filteredItems.length&&(e==null||e.close()),this._selectMatchingItem(),this._initialRendering=!1,this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`)}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}async onAfterRendering(){const e=await this._getPicker();await this.shouldClosePopover()&&!G()&&(e.close(!1,!1,!0),this._clearFocus(),this._itemFocused=!1),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this.storeResponsivePopoverWidth(),G()&&(this.value=this.inner.value,this._selectMatchingItem())}async shouldClosePopover(){return(await this._getPicker()).opened&&!this.focused&&!this._itemFocused&&!this._isValueStateFocused}_focusin(e){this.focused=!0,this._autocomplete=!1,!G()&&e.target.setSelectionRange(0,this.value.length)}_focusout(e){var s;const t=e.relatedTarget,o=(s=t==null?void 0:t.shadowRoot)==null?void 0:s.querySelector(".ui5-valuestatemessage-root"),r=this.shadowRoot.querySelector(".ui5-input-clear-icon-wrapper"),n=r===t||(r==null?void 0:r.contains(t));if(!(this._effectiveShowClearIcon&&n)){if(this._fireChangeEvent(),o){e.stopImmediatePropagation();return}!this.shadowRoot.contains(t)&&this.staticAreaItem!==e.relatedTarget&&(this.focused=!1,!G()&&this._closeRespPopover(e))}}_afterOpenPopover(){this._iconPressed=!0,this.inner.focus()}_afterClosePopover(){this._iconPressed=!1,this._filteredItems=this.items,this.filterValue="",G()&&this.blur(),this._selectionPerformed&&(this._lastValue=this.value,this._selectionPerformed=!1)}async _toggleRespPopover(){(await this._getPicker()).opened?this._closeRespPopover():this._openRespPopover()}async storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=(await this._getPicker()).offsetWidth)}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}async openValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.showAt(this)}async closeValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.close()}async _getValueStatePopover(){const t=(await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover");return this.valueStatePopover=t,t}_resetFilter(){this._userTypedValue="",this.inner.setSelectionRange(0,this.value.length),this._filteredItems=this._filterItems(""),this._selectMatchingItem()}_arrowClick(){this.inner.focus(),this._resetFilter(),G()&&this.value&&!this._lastValue&&(this._lastValue=this.value),this._toggleRespPopover()}_handleMobileInput(e){const{target:t}=e;this.filterValue=t.value,this.value=t.value,this.fireEvent("input")}_input(e){const{value:t}=e.target,o=this.shouldAutocomplete(e);if(e.target===this.inner&&(e.stopImmediatePropagation(),this.focused=!0,this._isValueStateFocused=!1),this._filteredItems=this._filterItems(t),this.value=t,this.filterValue=t,this._clearFocus(),o&&!hp()){const r=this._getFirstMatchingItem(t);r&&this._applyAtomicValueAndSelection(r,t,!0),t!==""&&r&&!r.selected&&!r.isGroupItem&&this.fireEvent("selection-change",{item:r})}this.fireEvent("input"),!G()&&(!this._filteredItems.length||t===""?this._closeRespPopover():this._openRespPopover())}shouldAutocomplete(e){const t=e.inputType,o=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];return!this.noTypeahead&&!o.includes(t)}_startsWithMatchingItems(e){return ld(e,this._filteredItems,"text")}_clearFocus(){this._filteredItems.map(e=>(e.focused=!1,e))}handleNavKeyPress(e){if(this.focused&&(St(e)||si(e))&&this.value)return;const t=this.open,o=this._filteredItems.find(n=>t?n.focused:n.selected),r=o?this._filteredItems.indexOf(o):-1;e.preventDefault(),!(this.focused&&t&&(Le(e)||pi(e)||Ci(e)))&&(this._filteredItems.length-1===r&&De(e)||(this._isKeyNavigation=!0,(e.key==="ArrowDown"||e.key==="ArrowUp"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Home"||e.key==="End")&&this[`_handle${e.key}`](e,r)))}_handleItemNavigation(e,t,o){const r=this.open,n=this._filteredItems[t],s=o?this._filteredItems[t+1]:this._filteredItems[t-1],l=n&&n.isGroupItem;if(!r&&(l&&!s||!l&&!n)||(this._clearFocus(),r?(this._itemFocused=!0,this.value=l?"":n.text,this.focused=!1,n.focused=!0):(this.focused=!0,this.value=l?s.text:n.text,n.focused=!1),this._isValueStateFocused=!1,this._announceSelectedItem(t),this._scrollToItem(t,o),l&&r))return;const _=this._getFirstMatchingItem(this.value);_&&this._applyAtomicValueAndSelection(_,this.open?this._userTypedValue:"",!0),_&&!_.selected&&this.fireEvent("selection-change",{item:_}),this.fireEvent("input"),this._fireChangeEvent()}_handleArrowDown(e,t){const o=this.open;if(this.focused&&t===-1&&this.hasValueStateText&&o){this._isValueStateFocused=!0,this._announceValueStateText(),this.focused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,++t,!0)}_handleArrowUp(e,t){const o=this.open;if(t===0&&!this.hasValueStateText){this._clearFocus(),this.focused=!0,this._itemFocused=!1;return}if(t===0&&this.hasValueStateText&&o){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText(),this._filteredItems[0].selected=!1;return}if(this._isValueStateFocused){this.focused=!0,this._isValueStateFocused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,--t,!1)}_handlePageUp(e,t){const o=t-zc>-1;t=o?t-zc:0;const r=this._filteredItems[t].isGroupItem&&!this.open;if(!o&&this.hasValueStateText&&this.open){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText();return}this._handleItemNavigation(e,t,r)}_handlePageDown(e,t){const o=this._filteredItems.length;t=t+zcn.focused);this._fireChangeEvent(),o!=null&&o.opened&&!(r!=null&&r.isGroupItem)?(this._closeRespPopover(),this.focused=!0):this.FormSupport&&this.FormSupport.triggerFormSubmit(this)}if(Zi(e)&&(this.focused=!0,this.value=this.open?this.value:this._lastValue,this._isValueStateFocused=!1),(It(e)||Ei(e))&&this.open&&this._closeRespPopover(),Nr(e)&&!this.readonly&&!this.disabled){e.preventDefault(),this._resetFilter(),this._toggleRespPopover();const r=this._filteredItems.find(n=>n.selected);r&&this.open?(this._itemFocused=!0,r.focused=!0,this.focused=!1):this.open&&this._filteredItems.length?this._handleItemNavigation(e,0,!0):this.focused=!0}}_click(){G()&&!this.readonly&&this._openRespPopover()}_closeRespPopover(e){const t=this.responsivePopover;e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&this._selectedItemText&&(this.value=this._selectedItemText,this.filterValue=this._selectedItemText),e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&(this.value=this._lastValue||"",this.filterValue=this._lastValue||""),G()&&this._fireChangeEvent(),this._isValueStateFocused=!1,this._clearFocus(),t==null||t.close()}async _openRespPopover(){(await this._getPicker()).showAt(this,!0)}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(Vw[this.filter]||lv)(e,t,"text");return this.items.filter((r,n,s)=>Xt._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_getFirstMatchingItem(e){const t=this.items.find(r=>r.focused===!0);if(t!=null&&t.isGroupItem){this.value=this.filterValue;return}const o=this._startsWithMatchingItems(e).filter(r=>!r.isGroupItem);if(o.length)return o[0]}_applyAtomicValueAndSelection(e,t,o){const r=e&&e.text||"";this.inner.value=r,o&&this.inner.setSelectionRange(t.length,r.length),this.value=r}_selectMatchingItem(){const e=this.items.find(r=>r.focused),t=e&&e.isGroupItem,o=this._filteredItems.find(r=>!r.isGroupItem&&r.text===this.value&&!t);this._filteredItems=this._filteredItems.map(r=>(r.selected=r===o,r))}_fireChangeEvent(){this.value!==this._lastValue&&(this.fireEvent("change"),this._lastValue=this.value)}_inputChange(e){e.preventDefault()}_itemMousedown(e){e.preventDefault()}_selectItem(e){const t=e.detail.item;this._selectedItemText=t.mappedItem.text,this._selectionPerformed=!0;const o=this.value===this._selectedItemText,r=this.value.toLowerCase()===this.filterValue.toLowerCase();if(o&&r)return this._fireChangeEvent(),this._closeRespPopover();this.value=this._selectedItemText,t.mappedItem.selected||this.fireEvent("selection-change",{item:t.mappedItem}),this._filteredItems.map(n=>(n.selected=n===t.mappedItem&&!n.isGroupItem,n)),this._fireChangeEvent(),this._closeRespPopover(),this.inner.setSelectionRange(this.value.length,this.value.length)}_onItemFocus(){this._itemFocused=!0}_announceSelectedItem(e){const t=this._filteredItems[e],o=this._filteredItems.filter(_=>!_.isGroupItem),r=t.additionalText||"",n=t==null?void 0:t.isGroupItem,s=Xt.i18nBundle.getText(Qu,o.indexOf(t)+1,o.length),l=Xt.i18nBundle.getText(Wp);gl(n?`${l} ${t.text}`:`${r} ${s}`.trim(),ha.Polite)}_clear(){const e=this.items.find(t=>t.selected);(e==null?void 0:e.text)===this.value&&this.fireEvent("change"),this.value="",this.fireEvent("input"),this._isPhone?(this._lastValue="",this.fireEvent("change")):this.focus()}async _scrollToItem(e,t){const o=await this._getPicker(),r=o.querySelector(".ui5-combobox-items-list"),n=r==null?void 0:r.items[e];if(n){const s=o.getBoundingClientRect(),l=n.getBoundingClientRect();l.top>=s.top&&l.bottom<=s.bottom||n.scrollIntoView({behavior:"instant",block:t?"end":"start",inline:"nearest"})}}_announceValueStateText(){const e=this.shouldDisplayDefaultValueStateMessage?this.valueStateDefaultText:this.valueStateMessageText.map(t=>t.textContent).join(" ");e&&gl(e,ha.Polite)}get _headerTitleText(){return Xt.i18nBundle.getText(Ss)}get _iconAccessibleNameText(){return Xt.i18nBundle.getText(Vp)}get inner(){return G()?this.responsivePopover.querySelector("[ui5-input]").shadowRoot.querySelector("input"):this.shadowRoot.querySelector("[inner-input]")}async _getPicker(){const t=(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]");return this.responsivePopover=t,t}get hasValueState(){return this.valueState!==y.None}get hasValueStateText(){return this.hasValueState&&this.valueState!==y.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return"";let e="";return this.valueState!==y.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){if(this.valueState!==y.None)return this.valueStateTextMappings[this.valueState]}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get valueStateTextMappings(){return{[y.Success]:Xt.i18nBundle.getText($r),[y.Error]:Xt.i18nBundle.getText(wr),[y.Warning]:Xt.i18nBundle.getText(kr),[y.Information]:Xt.i18nBundle.getText(Yr)}}get valueStateTypeMappings(){return{[y.Success]:Xt.i18nBundle.getText(As),[y.Information]:Xt.i18nBundle.getText(Bs),[y.Error]:Xt.i18nBundle.getText(Is),[y.Warning]:Xt.i18nBundle.getText(Cs)}}get shouldOpenValueStateMessagePopover(){return this.focused&&!this.readonly&&this.hasValueStateText&&!this._iconPressed&&!this.open&&!this._isPhone}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?Nt.Left:Nt.Right}get _valueStateMessageIcon(){return this.valueState!==y.None?xh[this.valueState]:""}get open(){var e;return((e=this==null?void 0:this.responsivePopover)==null?void 0:e.opened)||!1}get _isPhone(){return G()}get itemTabIndex(){}get ariaLabelText(){return Wt(this)}get clearIconAccessibleName(){return Xt.i18nBundle.getText(Zu)}static async onDefine(){Xt.i18nBundle=await oe("@ui5/webcomponents")}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{width:`${this.offsetWidth}px`},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:`${this._listWidth||""}px`},suggestionsPopover:{"min-width":`${this.offsetWidth||0}px`,"max-width":this.offsetWidth/e>40?`${this.offsetWidth}px`:"40rem"}}}get classes(){return{popover:{"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateText,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateText},popoverValueState:{"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}};ot([u()],Ye.prototype,"value",void 0);ot([u({type:Boolean})],Ye.prototype,"noTypeahead",void 0);ot([u()],Ye.prototype,"filterValue",void 0);ot([u()],Ye.prototype,"placeholder",void 0);ot([u({type:Boolean})],Ye.prototype,"disabled",void 0);ot([u({type:y,defaultValue:y.None})],Ye.prototype,"valueState",void 0);ot([u({type:Boolean})],Ye.prototype,"readonly",void 0);ot([u({type:Boolean})],Ye.prototype,"required",void 0);ot([u({type:Boolean})],Ye.prototype,"loading",void 0);ot([u({type:Du,defaultValue:Du.StartsWithPerTerm})],Ye.prototype,"filter",void 0);ot([u({type:Boolean})],Ye.prototype,"showClearIcon",void 0);ot([u({type:Boolean})],Ye.prototype,"focused",void 0);ot([u({type:Boolean})],Ye.prototype,"_isValueStateFocused",void 0);ot([u()],Ye.prototype,"accessibleName",void 0);ot([u()],Ye.prototype,"accessibleNameRef",void 0);ot([u({type:Boolean,noAttribute:!0})],Ye.prototype,"_iconPressed",void 0);ot([u({type:Object,noAttribute:!0,multiple:!0})],Ye.prototype,"_filteredItems",void 0);ot([u({validator:z,noAttribute:!0})],Ye.prototype,"_listWidth",void 0);ot([u({type:Boolean,noAttribute:!0})],Ye.prototype,"_effectiveShowClearIcon",void 0);ot([F({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],Ye.prototype,"items",void 0);ot([F()],Ye.prototype,"valueStateMessage",void 0);ot([F()],Ye.prototype,"icon",void 0);Ye=Xt=ot([B({tag:"ui5-combobox",languageAware:!0,renderer:ee,styles:sL,staticAreaStyles:[Wo,On,lL,cd],template:KR,staticAreaTemplate:eL,dependencies:[qw,Ie,wo,xr,ad,Fe,Ra,ud,fo,cL,vr,Yw]}),$("change"),$("input"),$("selection-change",{detail:{item:{type:HTMLElement}}})],Ye);Ye.define();/*! - * OpenUI5 - * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */var VL=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,HL=function(i,e){return ue(typeof i=="string"||i instanceof String,"pattern must be string"),(arguments.length>2||e!=null&&!Array.isArray(e))&&(e=Array.prototype.slice.call(arguments,1)),e=e||[],i.replace(VL,function(t,o,r,n,s){if(o)return"'";if(r)return r.replace(/''/g,"'");if(n)return String(e[parseInt(n)]);throw new Error("formatMessage: pattern syntax error at pos. "+s)})};/*! - * OpenUI5 - * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */var W=function(){throw new Error},Xi={DATE:"date",TIME:"time",DATETIME:"datetime",DATETIME_WITH_TIMEZONE:"datetimeWithTimezone"},s_={},Kw=function(i){if(typeof i!="string"&&!(i instanceof String)&&i!=null)throw new TypeError("The given timezone must be a string.")};W.oDateInfo={type:Xi.DATE,oDefaultFormatOptions:{style:"medium",relativeScale:"day",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd"},{pattern:"yyyyMMdd",strictParsing:!0}],bShortFallbackFormatOptions:!0,bPatternFallbackWithoutDelimiter:!0,getPattern:function(i,e,t){return i.getDatePattern(e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0},aRelativeScales:["year","month","week","day"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date"]};W.oDateTimeInfo={type:Xi.DATETIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd'T'HH:mm:ss"},{pattern:"yyyyMMdd HHmmss"}],getPattern:function(i,e,t){var o=e.indexOf("/");return o>0?i.getCombinedDateTimePattern(e.substr(0,o),e.substr(o+1),t):i.getCombinedDateTimePattern(e,e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["year","month","week","day","hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date","DayPeriod","Hours","Minutes","Seconds"]};W._getDateTimeWithTimezoneInfo=function(i){var e=i.showDate===void 0||i.showDate,t=i.showTime===void 0||i.showTime,o=i.showTimezone===void 0||i.showTimezone,r=W.oDateTimeInfo;return e&&!t?r=W.oDateInfo:!e&&t&&(r=W.oTimeInfo),Object.assign({},r,{type:Xi.DATETIME_WITH_TIMEZONE,getTimezonePattern:function(n){return!e&&!t&&o?"VV":o?n+" VV":n},getPattern:function(n,s,l){if(!e&&!t&&o)return"VV";if(!o)return r.getPattern(n,s,l);var _=r.getPattern(n,s,l);return n.applyTimezonePattern(_)}})};W.oTimeInfo={type:Xi.TIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"HH:mm:ss"},{pattern:"HHmmss"}],getPattern:function(i,e,t){return i.getTimePattern(e,t)},oRequiredParts:{text:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["DayPeriod","Hours","Minutes","Seconds"]};W.getInstance=function(i,e){return this.getDateInstance(i,e)};W.getDateInstance=function(i,e){return this.createInstance(i,e,this.oDateInfo)};W.getDateTimeInstance=function(i,e){return this.createInstance(i,e,this.oDateTimeInfo)};W.getDateTimeWithTimezoneInstance=function(i,e){if(i&&!(i instanceof as)&&(function(){if(i=Object.assign({},i),typeof i.showTimezone=="string"){var t=i.showTimezone;i.showDate===void 0&&i.showTime===void 0&&(t==="Hide"?i.showTimezone=!1:t==="Only"&&(i.showDate=!1,i.showTime=!1)),i.showTimezone=t!=="Hide"}}(),i.showDate===!1&&i.showTime===!1&&i.showTimezone===!1))throw new TypeError("Invalid Configuration. One of the following format options must be true: showDate, showTime or showTimezone.");return this.createInstance(i,e,W._getDateTimeWithTimezoneInfo(i||{}))};W.getTimeInstance=function(i,e){return this.createInstance(i,e,this.oTimeInfo)};W.createInstance=function(i,e,t,o){var r,n,s;if(n=Object.create(this.prototype),i instanceof as&&(e=i,i=void 0),e||(e=tt.getFormatSettings().getFormatLocale()),n.oLocale=e,n.oLocaleData=pt.getInstance(e),n.oFormatOptions=es({},t.oDefaultFormatOptions,i),t.type===Xi.DATETIME_WITH_TIMEZONE?(n.oFormatOptions.interval=!1,n.oFormatOptions.singleIntervalValue=!1,n.oFormatOptions.UTC=!1):(n.oFormatOptions.showTimezone=void 0,n.oFormatOptions.showDate=void 0,n.oFormatOptions.showTime=void 0),n.type=t.type,n.oFormatOptions.calendarType||(n.oFormatOptions.calendarType=tt.getCalendarType()),n.oFormatOptions.firstDayOfWeek===void 0&&n.oFormatOptions.minimalDaysInFirstWeek!==void 0||n.oFormatOptions.firstDayOfWeek!==void 0&&n.oFormatOptions.minimalDaysInFirstWeek===void 0)throw new TypeError("Format options firstDayOfWeek and minimalDaysInFirstWeek need both to be set, but only one was provided.");if(n.oFormatOptions.calendarWeekNumbering&&!Object.values(at).includes(n.oFormatOptions.calendarWeekNumbering))throw new TypeError("Illegal format option calendarWeekNumbering: '"+n.oFormatOptions.calendarWeekNumbering+"'");if(n.oFormatOptions.pattern||(n.oFormatOptions.format?n.oFormatOptions.pattern=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType):n.oFormatOptions.pattern=t.getPattern(n.oLocaleData,n.oFormatOptions.style,n.oFormatOptions.calendarType)),n.oFormatOptions.interval){var l,_=n.oFormatOptions.intervalDelimiter;n.oFormatOptions.format?(n.intervalPatterns=n.oLocaleData.getCustomIntervalPattern(n.oFormatOptions.format,null,n.oFormatOptions.calendarType),typeof n.intervalPatterns=="string"&&(n.intervalPatterns=[n.intervalPatterns]),l=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType),n.intervalPatterns.push(l)):(l=n.oFormatOptions.pattern,n.intervalPatterns=[n.oLocaleData.getCombinedIntervalPattern(n.oFormatOptions.pattern,n.oFormatOptions.calendarType),n.oFormatOptions.pattern]),n.intervalPatterns.push(n.oFormatOptions.pattern+" - "+n.oFormatOptions.pattern),_&&(_=_.replace(/'/g,"''"),_="'"+_+"'",n.intervalPatterns.unshift(l+_+l)),n.intervalPatterns=Array.from(new Set(n.intervalPatterns))}return o||(r=t.aFallbackFormatOptions,t.bShortFallbackFormatOptions&&(s=t.getPattern(n.oLocaleData,"short"),r=r.concat(W._createFallbackOptionsWithoutDelimiter(s))),n.oFormatOptions.pattern&&t.bPatternFallbackWithoutDelimiter&&(r=W._createFallbackOptionsWithoutDelimiter(n.oFormatOptions.pattern).concat(r)),r=r.reduce(function(p,v){var f=Object.keys(v),g=p.some(function(w){return Object.keys(w).length===f.length&&f.every(function(A){return w[A]===v[A]})});return g||p.push(v),p},[]),n.aFallbackFormats=W._createFallbackFormat(r,n.oFormatOptions.calendarType,e,t,n.oFormatOptions)),n.oRequiredParts=t.oRequiredParts,n.aRelativeScales=t.aRelativeScales,n.aRelativeParseScales=t.aRelativeParseScales,n.aIntervalCompareFields=t.aIntervalCompareFields,n.init(),n};W.prototype.init=function(){var i=this.oFormatOptions.calendarType;this.aMonthsAbbrev=this.oLocaleData._getMonthsWithAlternatives("abbreviated",i),this.aMonthsWide=this.oLocaleData.getMonths("wide",i),this.aMonthsNarrow=this.oLocaleData.getMonths("narrow",i),this.aMonthsAbbrevSt=this.oLocaleData._getMonthsStandAloneWithAlternatives("abbreviated",i),this.aMonthsWideSt=this.oLocaleData.getMonthsStandAlone("wide",i),this.aMonthsNarrowSt=this.oLocaleData.getMonthsStandAlone("narrow",i),this.aDaysAbbrev=this.oLocaleData.getDays("abbreviated",i),this.aDaysWide=this.oLocaleData.getDays("wide",i),this.aDaysNarrow=this.oLocaleData.getDays("narrow",i),this.aDaysShort=this.oLocaleData.getDays("short",i),this.aDaysAbbrevSt=this.oLocaleData.getDaysStandAlone("abbreviated",i),this.aDaysWideSt=this.oLocaleData.getDaysStandAlone("wide",i),this.aDaysNarrowSt=this.oLocaleData.getDaysStandAlone("narrow",i),this.aDaysShortSt=this.oLocaleData.getDaysStandAlone("short",i),this.aQuartersAbbrev=this.oLocaleData.getQuarters("abbreviated",i),this.aQuartersWide=this.oLocaleData.getQuarters("wide",i),this.aQuartersNarrow=this.oLocaleData.getQuarters("narrow",i),this.aQuartersAbbrevSt=this.oLocaleData.getQuartersStandAlone("abbreviated",i),this.aQuartersWideSt=this.oLocaleData.getQuartersStandAlone("wide",i),this.aQuartersNarrowSt=this.oLocaleData.getQuartersStandAlone("narrow",i),this.aErasNarrow=this.oLocaleData.getEras("narrow",i),this.aErasAbbrev=this.oLocaleData.getEras("abbreviated",i),this.aErasWide=this.oLocaleData.getEras("wide",i),this.aDayPeriodsAbbrev=this.oLocaleData.getDayPeriods("abbreviated",i),this.aDayPeriodsNarrow=this.oLocaleData.getDayPeriods("narrow",i),this.aDayPeriodsWide=this.oLocaleData.getDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrev=this.oLocaleData.getFlexibleDayPeriods("abbreviated",i),this.oFlexibleDayPeriodsNarrow=this.oLocaleData.getFlexibleDayPeriods("narrow",i),this.oFlexibleDayPeriodsWide=this.oLocaleData.getFlexibleDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrevSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("abbreviated",i),this.oFlexibleDayPeriodsNarrowSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("narrow",i),this.oFlexibleDayPeriodsWideSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("wide",i),this.aFormatArray=this.parseCldrDatePattern(this.oFormatOptions.pattern),this.sAllowedCharacters=this.getAllowedCharacters(this.aFormatArray)};W._createFallbackFormat=function(i,e,t,o,r){return i.map(function(n){var s=Object.assign({},n);return s.showDate=r.showDate,s.showTime=r.showTime,s.showTimezone=r.showTimezone,typeof o.getTimezonePattern=="function"&&s.pattern&&(s.pattern=o.getTimezonePattern(s.pattern)),r.interval&&(s.interval=!0),s.calendarType=e,W.createInstance(s,t,o,!0)})};W._createFallbackOptionsWithoutDelimiter=function(i){var e=/[^dMyGU]/g,t={regex:/d+/g,replace:"dd"},o={regex:/M+/g,replace:"MM"},r={regex:/[yU]+/g,replace:["yyyy","yy"]};return i=i.replace(e,""),i=i.replace(t.regex,t.replace),i=i.replace(o.regex,o.replace),r.replace.map(function(n){return{pattern:i.replace(r.regex,n),strictParsing:!0}})};var se={isNumber:function(i){return i>=48&&i<=57},findNumbers:function(i,e){for(var t=0;t{(Array.isArray(n)?n:[n]).forEach(l=>{l.length>r&&this.startsWithIgnoreCase(i,l,t)&&(o=s,r=l.length)})}),{index:o,length:r}},parseTZ:function(i,e){var t=0,o=i.charAt(0)==="+"?-1:1,r;if(i[0]==="Z")return{length:1,tzDiff:0};t++,r=this.findNumbers(i.substr(t),2);var n=parseInt(r);t+=2,e&&t++,r=this.findNumbers(i.substr(t),2);var s=0;return r&&(t+=2,s=parseInt(r)),{length:t,tzDiff:(s+60*n)*60*o}},checkValid:function(i,e,t){return!(i in t.oRequiredParts&&e)}};W._oParseHelper=se;W._createPatternSymbol=function(i){var e=typeof i.isNumeric=="function"&&i.isNumeric||function(){return i.isNumeric||!1};return{name:i.name,format:i.format||function(){return""},parse:i.parse||function(){return{}},isNumeric:e}};W.prototype.oSymbols={"":W._createPatternSymbol({name:"text",format:function(i,e){return i.value},parse:function(i,e,t,o){var r,n=!0,s=0,l=0,_="-~‐‑‒–—﹘﹣-~";const p=W._normalize(e.value);for(;l2&&(n=n.substr(n.length-2)),s!==Ae.Japanese&&i.digits===1&&r<100&&(n=n.padStart(4,"0")),n.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=se.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var _=parseInt(n);if(l!==Ae.Japanese&&n.length<=2){var p=ie.getInstance(le.getInstance(),l),v=p.getUTCFullYear(),f=Math.floor(v/100),g=f*100+_-v;g<-70?_+=(f+1)*100:g<30?_+=f*100:_+=(f-1)*100}return{length:n.length,valid:se.checkValid(e.type,s,t),year:_}},isNumeric:!0}),Y:W._createPatternSymbol({name:"weekYear",format:function(i,e,t,o){var r=e.getUTCWeek(o.oLocale,Pu(o.oFormatOptions)),n=r.year,s=String(n),l=o.oFormatOptions.calendarType;return i.digits===2&&s.length>2&&(s=s.substr(s.length-2)),l!==Ae.Japanese&&i.digits===1&&n<100&&(s=s.padStart(4,"0")),s.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=se.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var _=parseInt(n),p=_;if(l!==Ae.Japanese&&n.length<=2){var v=ie.getInstance(le.getInstance(),l),f=v.getUTCFullYear(),g=Math.floor(f/100),w=g*100+p-f;w<-70?p+=(g+1)*100:w<30?p+=g*100:p+=(g-1)*100}return{length:n.length,valid:se.checkValid(e.type,s,t),year:_,weekYear:p}},isNumeric:!0}),M:W._createPatternSymbol({name:"month",format:function(i,e,t,o){var r=e.getUTCMonth();if(i.digits===3){const n=o.aMonthsAbbrev[r];return Array.isArray(n)?n[0]:n}else return i.digits===4?o.aMonthsWide[r]:i.digits>4?o.aMonthsNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=se.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=se.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{month:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{month:r,length:n?n.length:0,valid:l}},isNumeric:function(i){return i<3}}),L:W._createPatternSymbol({name:"monthStandalone",format:function(i,e,t,o){var r=e.getUTCMonth();if(i.digits===3){const n=o.aMonthsAbbrevSt[r];return Array.isArray(n)?n[0]:n}else return i.digits===4?o.aMonthsWideSt[r]:i.digits>4?o.aMonthsNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=se.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=se.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{month:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{month:r,length:n?n.length:0,valid:l}},isNumeric:function(i){return i<3}}),w:W._createPatternSymbol({name:"weekInYear",format:function(i,e,t,o){var r=e.getUTCWeek(o.oLocale,Pu(o.oFormatOptions)),n=r.week,s=String(n+1);return i.digits<3?s=s.padStart(i.digits,"0"):s=o.oLocaleData.getCalendarWeek(i.digits===3?"narrow":"wide",s.padStart(2,"0")),s},parse:function(i,e,t,o){var r,n,s,l,_=0;if(e.digits<3)r=se.findNumbers(i,2),_=r.length,l=parseInt(r)-1,n=!r||o.exactLength&&_<2,s=se.checkValid(e.type,n,t);else{r=t.oLocaleData.getCalendarWeek(e.digits===3?"narrow":"wide"),r=r.replace("{0}","([0-9]+)");var p=new RegExp(r),v=p.exec(i);v?(_=v[0].length,l=parseInt(v[v.length-1])-1):s=se.checkValid(e.type,!0,t)}return{length:_,valid:s,week:l}},isNumeric:function(i){return i<3}}),W:W._createPatternSymbol({name:"weekInMonth"}),D:W._createPatternSymbol({name:"dayInYear"}),d:W._createPatternSymbol({name:"day",format:function(i,e){var t=e.getUTCDate();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,s=se.checkValid(e.type,n,t),l=parseInt(r);return o.strict&&(l>31||l<1)&&(s=!1),{day:l,length:r.length,valid:s}},isNumeric:!0}),Q:W._createPatternSymbol({name:"quarter",format:function(i,e,t,o){var r=e.getUTCQuarter();return i.digits===3?o.aQuartersAbbrev[r]:i.digits===4?o.aQuartersWide[r]:i.digits>4?o.aQuartersNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=se.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{quarter:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{length:r?r.length:0,quarter:s,valid:l}},isNumeric:function(i){return i<3}}),q:W._createPatternSymbol({name:"quarterStandalone",format:function(i,e,t,o){var r=e.getUTCQuarter();return i.digits===3?o.aQuartersAbbrevSt[r]:i.digits===4?o.aQuartersWideSt[r]:i.digits>4?o.aQuartersNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,_=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=se.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var p=0;p<_.length;p++){var v=_[p],f=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId);if(f.index!==-1)return{quarter:f.index,length:f.length}}l=se.checkValid(e.type,!0,t)}return{length:r?r.length:0,quarter:s,valid:l}},isNumeric:function(i){return i<3}}),F:W._createPatternSymbol({name:"dayOfWeekInMonth"}),E:W._createPatternSymbol({name:"dayNameInWeek",format:function(i,e,t,o){var r=e.getUTCDay();return i.digits<4?o.aDaysAbbrev[r]:i.digits===4?o.aDaysWide[r]:i.digits===5?o.aDaysNarrow[r]:o.aDaysShort[r]},parse:function(i,e,t,o){for(var r=[t.aDaysWide,t.aDaysWideSt,t.aDaysAbbrev,t.aDaysAbbrevSt,t.aDaysShort,t.aDaysShortSt,t.aDaysNarrow,t.aDaysNarrowSt],n=0;nW._normalize(w)),s&&(v=v.map(g)),l=se.findEntry(i,v,t.oLocaleData.sCLDRLocaleId),l.index!==-1)return{pm:l.index===1,length:s?p[0].length:l.length};return{valid:!1}}}),B:W._createPatternSymbol({name:"flexibleDayPeriod",format:function(i,e,t,o){var r=o.aFormatArray.some(function(s){return"hHKk".includes(s.symbol)}),n=o.oLocaleData.getFlexibleDayPeriodOfTime(e.getUTCHours(),e.getUTCMinutes());return r?i.digits<=3?o.oFlexibleDayPeriodsAbbrev[n]:i.digits===4?o.oFlexibleDayPeriodsWide[n]:o.oFlexibleDayPeriodsNarrow[n]:i.digits<=3?o.oFlexibleDayPeriodsAbbrevSt[n]:i.digits===4?o.oFlexibleDayPeriodsWideSt[n]:o.oFlexibleDayPeriodsNarrowSt[n]},parse:function(i,e,t,o){var r,n,s,l=t.aFormatArray.some(function(p){return"hHKk".includes(p.symbol)}),_=[t.oFlexibleDayPeriodsWide,t.oFlexibleDayPeriodsAbbrev,t.oFlexibleDayPeriodsNarrow];if(l){for(r=0;r<_.length;r++)if(s=_[r],n=se.findEntry(i,Object.values(s),t.oLocaleData.sCLDRLocaleId),n.index!==-1)return{flexDayPeriod:Object.keys(s)[n.index],length:n.length}}return{valid:!1}}}),H:W._createPatternSymbol({name:"hour0_23",format:function(i,e){var t=e.getUTCHours();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return o.strict&&n>23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),k:W._createPatternSymbol({name:"hour1_24",format:function(i,e){var t=e.getUTCHours(),o=t===0?"24":String(t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return n===24&&(n=0),o.strict&&n>23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),K:W._createPatternSymbol({name:"hour0_11",format:function(i,e){var t=e.getUTCHours(),o=String(t>11?t-12:t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return o.strict&&n>11&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),h:W._createPatternSymbol({name:"hour1_12",format:function(i,e){var t=e.getUTCHours(),o;return t>12?o=String(t-12):t===0?o="12":o=String(t),o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=o.dateValue.pm,n=se.findNumbers(i,Math.max(e.digits,2)),s=parseInt(n),l=n===""||o.exactLength&&n.length<2,_=se.checkValid(e.type,l,t);return s===12&&(s=0,r=r===void 0?!0:r),o.strict&&s>11&&(_=!1),{hour:s,length:n.length,pm:r,valid:_}},isNumeric:!0}),m:W._createPatternSymbol({name:"minute",format:function(i,e){var t=e.getUTCMinutes();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=se.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=se.checkValid(e.type,s,t);return o.strict&&n>59&&(l=!1),{length:r.length,minute:n,valid:l}},isNumeric:!0}),s:W._createPatternSymbol({name:"second",format:function(i,e){var t=e.getUTCSeconds();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Math.max(e.digits,2),n=se.findNumbers(i,r),s=n===""||o.exactLength&&n.length59&&(_=!1),{length:n.length,second:l,valid:_}},isNumeric:!0}),S:W._createPatternSymbol({name:"fractionalsecond",format:function(i,e){var t=e.getUTCMilliseconds(),o=String(t),r=o.padStart(3,"0");return r=r.substr(0,i.digits),r=r.padEnd(i.digits,"0"),r},parse:function(i,e,t,o){var r=se.findNumbers(i,e.digits),n=r.length,s=o.exactLength&&n3&&e.getTimezoneLong&&e.getTimezoneLong())return e.getTimezoneLong();if(e.getTimezoneShort&&e.getTimezoneShort())return e.getTimezoneShort();var n=Me.calculateOffset(e,r),s="GMT",l=Math.abs(n/60),_=n>0,p=Math.floor(l/60),v=Math.floor(l%60);return!t&&l!==0?(s+=_?"-":"+",s+=String(p).padStart(2,"0"),s+=":",s+=String(v).padStart(2,"0")):s+="Z",s},parse:function(i,e,t,o){var r=0,n,s=i.substring(0,3);if(s==="GMT"||s==="UTC")r=3;else if(i.substring(0,2)==="UT")r=2;else if(i.charAt(0)==="Z")r=1,n=0;else return{error:"cannot be parsed correctly by sap.ui.core.format.DateFormat: The given timezone is not supported!"};if(i.charAt(0)!=="Z"){var l=se.parseTZ(i.substr(r),!0);r+=l.length,n=l.tzDiff}return{length:r,tzDiff:n}}}),Z:W._createPatternSymbol({name:"timezoneRFC822",format:function(i,e,t,o,r){var n=Me.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,_=Math.floor(s/60),p=Math.floor(s%60),v="";return t||(v+=l?"-":"+",v+=String(_).padStart(2,"0"),v+=String(p).padStart(2,"0")),v},parse:function(i,e,t,o){return se.parseTZ(i,!1)}}),X:W._createPatternSymbol({name:"timezoneISO8601",format:function(i,e,t,o,r){var n=Me.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,_=Math.floor(s/60),p=Math.floor(s%60),v="";return!t&&s!==0?(v+=l?"-":"+",v+=String(_).padStart(2,"0"),(i.digits>1||p>0)&&((i.digits===3||i.digits===5)&&(v+=":"),v+=String(p).padStart(2,"0"))):v+="Z",v},parse:function(i,e,t,o){return i.charAt(0)==="Z"?{length:1,tzDiff:0}:se.parseTZ(i,e.digits===3||e.digits===5)}}),V:W._createPatternSymbol({name:"timezoneID",format:function(i,e,t,o,r){return!t&&i.digits===2?o.oLocaleData.getTimezoneTranslations()[r]||r:""},parse:function(i,e,t,o,r){var n={timezone:"",length:0};if(e.digits===2){var s=t.oLocaleData.getTimezoneTranslations();if(i===s[r])return{timezone:r,length:i.length};var l=Object.values(s),_=se.findEntry(i,l,t.oLocaleData.sCLDRLocaleId);if(_.index!==-1)return{timezone:Object.keys(s)[_.index],length:_.length};for(var p="",v=i.length;v>0;v-=1)if(p=i.slice(0,v),Me.isValidTimezone(p)){n.timezone=p,n.length=p.length;break}}return n}})};W.prototype._format=function(i,e,t){if(this.oFormatOptions.relative){var o=this.formatRelative(i,e,this.oFormatOptions.relativeRange,t);if(o)return o}for(var r=this.oFormatOptions.calendarType,n=ie.getInstance(i,r),s=[],l,_,p,v=0;ve.getTime())}function Ih(i){return i&&typeof i.getTime=="function"&&!isNaN(i.getTime())}W.prototype.parse=function(i,e,t){var o=this.oFormatOptions.showDate===void 0||this.oFormatOptions.showDate,r=this.oFormatOptions.showTime===void 0||this.oFormatOptions.showTime;if(this.type===Xi.DATETIME_WITH_TIMEZONE&&(o&&!r||!o&&r))throw new TypeError("The input can only be parsed back to date if both date and time are supplied.");var n;e===void 0&&this.type!==Xi.DATETIME_WITH_TIMEZONE&&(e=this.oFormatOptions.UTC);var s=e;if(this.type===Xi.DATETIME_WITH_TIMEZONE&&(n=e,e=!1,Kw(n),n&&!Me.isValidTimezone(n)))return et.error("The given timezone isn't valid."),null;i=i==null?"":String(i).trim(),i=W._normalize(i);var l,_=this.oFormatOptions.calendarType;if(n=n||tt.getTimezone(),t===void 0&&(t=this.oFormatOptions.strictParsing),_===Ae.Japanese&&this.oLocale.getLanguage()==="ja"&&(i=i.replace(/元年/g,"1年")),this.oFormatOptions.interval){var f=this._parseInterval(i,_,e,t,n),g,w;if(f&&f.length===2){var A=Tm(f[0],f[1]),L=Tm(f[1],f[0]);if(g=l_(A,_,e,t,n,this.oFormatOptions,this.oLocale),w=l_(L,_,e,t,n,this.oFormatOptions,this.oLocale),g&&w){if(this.oFormatOptions.singleIntervalValue&&g.getTime()===w.getTime())return[g,null];var X=WL(g,w);return t&&!X?(et.error("StrictParsing: Invalid date range. The given end date is before the start date."),[null,null]):[g,w]}}}else{var p=this.parseRelative(i,e);if(p)return p;if(l=this._parse(i,this.aFormatArray,e,t,n),(l.index===0||l.indext[1])?null:(l=this.oLocaleData.getRelativePattern(p,n,s>0,this.oFormatOptions.relativeStyle),HL(l,[Math.abs(n)]))};W.prototype._mRanges={second:[-60,60],minute:[-60,60],hour:[-24,24],day:[-6,6],week:[-4,4],month:[-12,12],year:[-10,10]};W.prototype._mScales={second:1,minute:60,hour:3600,day:86400,week:604800,month:2592e3,quarter:7776e3,year:31536e3};W.prototype._getScale=function(i,e){var t,o;i=Math.abs(i);for(var r=0;r=this._mScales[o]){t=o;break}return t||(t=e[e.length-1]),t};function qL(i,e,t,o){var r=Math.abs(i.getUTCMonth()-e.getUTCMonth());if(t==="week"&&r===2)return"month";if(t==="week"&&r===1){if(i.getUTCDate()===e.getUTCDate()||o<0&&i.getUTCDate()0&&i.getUTCDate()>e.getUTCDate())return"month"}else if(t==="month"&&r===1&&(o>0&&i.getUTCDate()e.getUTCDate()))return"week";return t}function Jo(i,e){for(var t,o=["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],r=new Date(i.getTime()),n=e;ne.valueOf()}isSameOrBefore(e){return Xs(e),this.valueOf()<=e.valueOf()}isSameOrAfter(e){return Xs(e),this.valueOf()>=e.valueOf()}isSame(e){return Xs(e),this.valueOf()===e.valueOf()}toLocalJSDate(){const e=Dr.getInstance(this._oUDate.getTime());return e.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),e.setHours(0,0,0,0),e}toUTCJSDate(){const e=Dr.getInstance(this._oUDate.getTime());return e.setUTCHours(0,0,0,0),e}toString(){return`${this._oUDate.sCalendarType}: ${this.getYear()}/${this.getMonth()+1}/${this.getDate()}`}valueOf(){return this._oUDate.getTime()}static fromLocalJSDate(e,t){function o(r){return r&&Object.prototype.toString.call(r)==="[object Date]"&&!isNaN(r)}if(!o(e))throw new Error(`Date parameter must be a JavaScript Date object: [${e}].`);return new nu(e.getFullYear(),e.getMonth(),e.getDate(),t)}static fromTimestamp(e,t){const o=new nu(0,0,1);let r;try{r=mn.getInstance(Dr.getInstance(e),t)}catch{r=new Date(NaN)}return o._oUDate=r,o}};function xm(i,e){return e?mn.getInstance(Sm(i),e):new mn(Sm(i).getTime())}function Sm(i){const e=new Date(Date.UTC(0,0,1));return e.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),e}function Xs(i){if(!(i instanceof pe))throw new Error(`Invalid calendar date: [${i}]. Expected: CalendarDate`)}function qn(i,e){if(i===void 0||i===1/0||isNaN(i))throw e}const Vl=(i,e,t,o=!0,r,n)=>{const s=new pe(i);switch(t){case"day":s.setDate(i.getDate()+e);break;case"month":if(o){s.setMonth(i.getMonth()+e);const l=e===-1&&s.getMonth()===i.getMonth(),_=e===1&&s.getMonth()-i.getMonth()>1;(l||_)&&s.setDate(0)}else e===1&&s.setMonth(s.getMonth()+1,1),e===-1&&s.setDate(0);break;case"year":s.setYear(i.getYear()+e),s.getMonth()!==i.getMonth()&&s.setDate(0);break}return r&&s.isBefore(r)?new pe(r):n&&s.isAfter(n)?new pe(n):s},ZL=i=>(i||(i=new Date().getTime()),(i-i%(24*60*60*1e3))/1e3),dv=i=>pe.fromLocalJSDate(Dr.getInstance(),i).valueOf()/1e3;var Ch;(function(i){i.DAY_MONTH_YEAR="DAY_MONTH_YEAR",i.MONTH_YEAR="MONTH_YEAR",i.YEAR="YEAR"})(Ch||(Ch={}));const ho=Ch,QL="appointment-2",Xw="M32 481V65q0-14 9.5-23T64 33h64V1h32v32h192V1h32v32h64q14 0 23 9t9 23v416q0 14-9 23t-23 9H64q-13 0-22.5-9T32 481zm416 0V129H64v352h384zM256 193q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM128 321q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm256-128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm0 128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm-128 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM96 225q0-14 9-23t23-9 23 9 9 23-9 23-23 9-23-9-9-23zM384 97V65h-32v32h32zM128 65v32h32V65h-32z",JL=!1,e3="SAP-icons-v4",t3="@ui5/webcomponents-icons";Y(QL,{pathData:Xw,ltr:JL,collection:e3,packageName:t3});const i3="appointment-2",Zw="M403 64q32 0 54.5 22.5T480 141v294q0 32-22.5 54.5T403 512H109q-32 0-54.5-22.5T32 435V141q0-32 22.5-54.5T109 64h25V26q0-11 7.5-18.5T160 0t18.5 7.5T186 26v38h140V26q0-11 7.5-18.5T352 0t18.5 7.5T378 26v38h25zm-294 51q-11 0-18.5 7.5T83 141v64h346v-64q0-11-7.5-18.5T403 115h-25v19q0 11-7.5 18.5T352 160t-18.5-7.5T326 134v-19H186v19q0 11-7.5 18.5T160 160t-18.5-7.5T134 134v-19h-25zm294 346q11 0 18.5-7.5T429 435V256H83v179q0 11 7.5 18.5T109 461h294zM160 320q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9z",o3=!1,r3="SAP-icons-v5",n3="@ui5/webcomponents-icons";Y(i3,{pathData:Zw,ltr:o3,collection:r3,packageName:n3});we();const c_=new Map,Lo=i=>(c_.has(i)||c_.set(i,new N5(i)),c_.get(i)),is=new Map,a3=i=>{const e=`min ${i}`;if(!is.has(e)){const t=new pe(1,0,1,i);t.setYear(1),t.setMonth(0),t.setDate(1),is.set(e,t)}return is.get(e)},Qw=i=>{const e=`max ${i}`;if(!is.has(e)){const t=new pe(1,0,1,i);t.setYear(9999),t.setMonth(11);const o=new pe(t,i);o.setDate(1),o.setMonth(o.getMonth()+1,0),t.setDate(o.getDate()),is.set(e,t)}return is.get(e)};var Ms=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ah;let In=Ah=class extends j{constructor(){super()}get _primaryCalendarType(){const e=Lo(Ee());return this.primaryCalendarType||u5()||e.getPreferredCalendarType()}get _secondaryCalendarType(){return this.secondaryCalendarType||IS()}get _minDate(){let e;return this.minDate&&(e=this._getMinMaxCalendarDateFromString(this.minDate)),e||a3(this._primaryCalendarType)}get _maxDate(){let e;return this.maxDate&&(e=this._getMinMaxCalendarDateFromString(this.maxDate)),e||Qw(this._primaryCalendarType)}get _formatPattern(){return this.formatPattern||"medium"}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}_getMinMaxCalendarDateFromString(e){if(this.getFormat().parse(e))return this._getCalendarDateFromString(e);const t=this.getISOFormat().parse(e);if(t)return pe.fromLocalJSDate(t,this._primaryCalendarType)}_getCalendarDateFromString(e){const t=this.getFormat().parse(e);if(t)return pe.fromLocalJSDate(t,this._primaryCalendarType)}_getTimeStampFromString(e){const t=this._getCalendarDateFromString(e);if(t)return t.toUTCJSDate().valueOf()}_getStringFromTimestamp(e){const t=new Date(e);return this.getFormat().format(t,!0)}getFormat(){return this._isPattern?Ai.getDateInstance({strictParsing:!0,pattern:this._formatPattern,calendarType:this._primaryCalendarType}):Ai.getDateInstance({strictParsing:!0,style:this._formatPattern,calendarType:this._primaryCalendarType})}getISOFormat(){return this._isoFormatInstance||(this._isoFormatInstance=Ai.getDateInstance({strictParsing:!0,pattern:"YYYY-MM-dd",calendarType:this._primaryCalendarType})),this._isoFormatInstance}static async onDefine(){[Ah.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),$s(Ee().getLanguage(),Ee().getRegion(),Ee().getScript())])}};Ms([u({type:dr})],In.prototype,"primaryCalendarType",void 0);Ms([u({type:dr})],In.prototype,"secondaryCalendarType",void 0);Ms([u()],In.prototype,"formatPattern",void 0);Ms([u()],In.prototype,"minDate",void 0);Ms([u()],In.prototype,"maxDate",void 0);In=Ah=Ms([B({languageAware:!0,renderer:ee})],In);const Jw=In,s3=i=>{const e=new pe(i);return e.setDate(1),e.setMonth(e.getMonth()+1),e.setDate(0),e.getDate()},$l=(i,e,t,o)=>{let r=pe.fromLocalJSDate(Dr.getInstance(t*1e3),i),n=pe.fromLocalJSDate(Dr.getInstance(t*1e3),i);return r.setDate(1),o&&(r.setMonth(0),n.setMonth(11)),n.setDate(s3(n)),r=new pe(r,e),n=new pe(n,e),{firstDate:r,lastDate:n}},ek=(i,e,t)=>{const o=Lo(Ee()),r=o.getIntervalPattern(""),n=o.getMonthsStandAlone("abbreviated",t),s=o.getMonthsStandAlone("wide",t);return i===e?{text:o.getMonths("abbreviated",t)[i],textInfo:o.getMonths("wide",t)[i]}:{text:r.replace(/\{0\}/,n[i]).replace(/\{1\}/,n[e]),textInfo:r.replace(/\{0\}/,s[i]).replace(/\{1\}/,s[e])}};var tk=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Hl=class extends j{};tk([u()],Hl.prototype,"value",void 0);Hl=tk([B("ui5-date")],Hl);Hl.define();const _v=Hl;var ik=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ou=class extends Jw{get _minTimestamp(){return this._minDate.valueOf()/1e3}get _maxTimestamp(){return this._maxDate.valueOf()/1e3}get _timestamp(){let e=this.timestamp!==void 0?this.timestamp:dv(this._primaryCalendarType);return this._maxTimestamp&&this._maxTimestampe&&(e=this._minTimestamp),e}get _localDate(){return new Date(this._timestamp*1e3)}get _calendarDate(){return pe.fromTimestamp(this._localDate.getTime(),this._primaryCalendarType)}_safelySetTimestamp(e){const t=this._minDate.valueOf()/1e3,o=this._maxDate.valueOf()/1e3;eo&&(e=o),this.timestamp=e}_safelyModifyTimestampBy(e,t,o){const r=Vl(this._calendarDate,e,t,o);this._safelySetTimestamp(r.valueOf()/1e3)}_getTimestampFromDom(e){const t=e.getAttribute("data-sap-timestamp");return parseInt(t)}};ik([u({validator:z})],Ou.prototype,"timestamp",void 0);Ou=ik([B()],Ou);const dd=Ou;function l3(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-left">
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?Im.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?Cm.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-right">
    `:c`
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?Im.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?Cm.call(this,i,e,t):void 0}
    `}function Im(i,e,t){return c`${a(this._secondMonthButtonText)}`}function Cm(i,e,t){return c`${a(this._yearButtonTextSecType)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const c3={packageName:"@ui5/webcomponents",fileName:"themes/CalendarHeader.css.ts",content:`:host{display:block;width:100%;height:100%}.ui5-calheader-root{display:flex;height:100%;padding:var(--_ui5-v1-22-1-rc-0_calendar_header_padding);box-sizing:border-box}.ui5-calheader-arrowbtn{display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width);background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);cursor:pointer;overflow:hidden;white-space:nowrap;padding:0;font-size:var(--sapFontSize);user-select:none}.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:hover,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:active,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:focus,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled{opacity:.4;cursor:default;outline:none;background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor)}[hidden].ui5-calheader-arrowbtn.ui5-calheader-middlebtn{display:none}.ui5-calheader-arrowbtn:focus{outline:none}.ui5-calheader-arrowbtn:hover{background-color:var(--sapButton_Hover_Background);color:var(--sapButton_Lite_TextColor);box-shadow:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_box_shadow)}.ui5-calheader-arrowbtn:active{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor)}.ui5-calheader-arrowbtn,.ui5-calheader-middlebtn{border:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border_radius);display:flex;background-color:var(--sapButton_Lite_Background);border-color:var(--sapButton_Lite_BorderColor)}.ui5-calheader-middlebtn{flex-direction:column;align-items:center;justify-content:center}.ui5-calheader-arrowbtn:not(:active) .ui5-calheader-btn-sectext{color:var(--sapNeutralElementColor);font-size:var(--sapFontSmallSize)}.ui5-calheader-arrowicon{color:currentColor;pointer-events:none}.ui5-calheader-midcontainer{display:flex;justify-content:space-around;flex:1 1 auto;padding:0 .5rem}.ui5-calheader-midcontainer .ui5-calheader-middlebtn:first-child{margin-inline-end:.5rem}.ui5-calheader-middlebtn{font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_width);flex:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_flex);position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-calheader-middlebtn:focus{border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border_radius);outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_outline);outline-offset:-.125rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_background)}.ui5-calheader-middlebtn:focus:active{outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_outline);outline-offset:-.0625rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_background)}.ui5-calheader-middlebtn:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_display);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_width);height:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_height);border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_border);position:absolute;top:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_top_offset);left:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_left_offset)}.ui5-calheader-middlebtn:focus:active:after{border-color:var(--sapContent_ContrastFocusColor)} -`};var To=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},rl;let gi=rl=class extends j{static async onDefine(){rl.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._prevButtonText=rl.i18nBundle.getText(sy),this._nextButtonText=rl.i18nBundle.getText(ay),this.hasSecondaryCalendarType&&(this._secondMonthButtonText=this.buttonTextForSecondaryCalendarType.monthButtonText,this._secondYearButtonText=this.buttonTextForSecondaryCalendarType.yearButtonText)}onPrevButtonClick(e){if(this.isPrevButtonDisabled){e.preventDefault();return}this.fireEvent("previous-press",e),e.preventDefault()}onNextButtonClick(e){if(this.isNextButtonDisabled){e.preventDefault();return}this.fireEvent("next-press",e),e.preventDefault()}onMonthButtonClick(e){this.fireEvent("show-month-press",e)}onMonthButtonKeyDown(e){te(e)&&e.preventDefault(),de(e)&&this.fireEvent("show-month-press",e)}onMonthButtonKeyUp(e){te(e)&&(e.preventDefault(),this.fireEvent("show-month-press",e))}onYearButtonClick(e){this.fireEvent("show-year-press",e)}onYearButtonKeyDown(e){te(e)&&e.preventDefault(),de(e)&&this.fireEvent("show-year-press",e)}onYearButtonKeyUp(e){te(e)&&(e.preventDefault(),this.fireEvent("show-year-press",e))}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}get classes(){return{prevButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isPrevButtonDisabled},nextButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isNextButtonDisabled}}}get accInfo(){return{ariaLabelMonthButton:this.hasSecondaryCalendarType?`${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.monthButtonInfo}`:`${this._monthButtonText}`}}};To([u({validator:z})],gi.prototype,"timestamp",void 0);To([u({type:dr})],gi.prototype,"primaryCalendarType",void 0);To([u({type:dr})],gi.prototype,"secondaryCalendarType",void 0);To([u({type:Object})],gi.prototype,"buttonTextForSecondaryCalendarType",void 0);To([u({type:Boolean})],gi.prototype,"isNextButtonDisabled",void 0);To([u({type:Boolean})],gi.prototype,"isPrevButtonDisabled",void 0);To([u({type:Boolean})],gi.prototype,"isMonthButtonHidden",void 0);To([u()],gi.prototype,"_monthButtonText",void 0);To([u()],gi.prototype,"_yearButtonText",void 0);To([u()],gi.prototype,"_yearButtonTextSecType",void 0);To([u({type:Boolean})],gi.prototype,"isYearButtonHidden",void 0);gi=rl=To([B({tag:"ui5-calendar-header",languageAware:!0,renderer:ee,template:l3,styles:c3,dependencies:[Ie]}),$("next-press"),$("previous-press"),$("show-month-press"),$("show-year-press")],gi);gi.define();const u3=gi,d3=(i,e,t,o,r)=>{let n=0,s=0;const l=Number.isInteger(i)?i:r.getFirstDayOfWeek();if(o&&o.getLanguage()==="en"&&o.getRegion()==="US"){const _=new mn(e.getTime());_.setUTCFullYear(t,0,1),s=_.getUTCDay();const p=new mn(e.getTime());p.setUTCDate(p.getUTCDate()-p.getUTCDay()+s),n=Math.round((p.getTime()-_.getTime())/864e5/7)+1}else{const _=new mn(e.getTime());_.setUTCDate(_.getUTCDate()-l),s=_.getUTCDay(),_.setUTCDate(_.getUTCDate()-s+4);const p=new mn(_.getTime());p.setUTCMonth(0,1),s=p.getUTCDay();let v=0;s>4&&(v=7);const f=new mn(p.getTime());f.setUTCDate(1-s+4+v),n=Math.round((_.getTime()-f.getTime())/864e5/7)+1}return n};var Bh;(function(i){i.Single="Single",i.Multiple="Multiple",i.Range="Range"})(Bh||(Bh={}));const Po=Bh;function _3(i,e,t){return c`
    ${E(this._dayNames,(o,r)=>o._id||r,(o,r)=>h3.call(this,i,e,t,o,r))}
    ${E(this._weeks,(o,r)=>o._id||r,(o,r)=>p3.call(this,i,e,t,o,r))}
    `}function h3(i,e,t,o,r){return c`
    ${a(o.ultraShortName)}
    `}function p3(i,e,t,o,r){return c`${o.length?v3.call(this,i,e,t,o,r):w3.call(this,i,e,t,o,r)}`}function v3(i,e,t,o,r){return c`
    ${E(o,(n,s)=>n._id||s,(n,s)=>f3.call(this,i,e,t,n,s))}
    `}function f3(i,e,t,o,r){return c`${o.timestamp?m3.call(this,i,e,t,o,r):b3.call(this,i,e,t,o,r)}`}function m3(i,e,t,o,r){return c`
    ${a(o.day)}${o._isSecondaryCalendarType?g3.call(this,i,e,t,o,r):void 0}
    `}function g3(i,e,t,o,r){return c`${a(o.secondDay)}`}function b3(i,e,t,o,r){return c`${o.isHidden?void 0:y3.call(this,i,e,t,o,r)}`}function y3(i,e,t,o,r){return c`
    ${a(o.weekNum)}
    `}function w3(i,e,t,o,r){return c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const k3={packageName:"@ui5/webcomponents",fileName:"themes/DayPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{height:100%;width:100%}:host([hide-week-numbers]) .ui5-dp-content{flex-basis:100%}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item{flex-direction:column;justify-content:var(--_ui5-v1-22-1-rc-0_day_picker_item_justify_content)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daytext{height:1.575rem;padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daysectext{font-size:.625rem;height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding:0 .375rem .375rem 50%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-item{width:var(--_ui5-v1-22-1-rc-0_day_picker_item_width);height:var(--_ui5-v1-22-1-rc-0_day_picker_item_height);margin-top:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);margin-right:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);font-family:"72override",var(--sapFontFamily);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-weekname{color:var(--_ui5-v1-22-1-rc-0_daypicker_weekname_color)}.ui5-dp-weeks-row{display:flex}.ui5-dp-content{display:flex;flex-basis:87.5%;flex-direction:column;font-family:"72override",var(--sapFontFamily)}.ui5-dp-days-names-container{display:flex;height:var(--_ui5-v1-22-1-rc-0_daypicker_daynames_container_height)}.ui5-dp-weeknumber-container{padding-top:var(--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top);flex-basis:12.5%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-weekname-container,.ui5-dp-item{display:flex;flex-grow:1;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);outline:none;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-dp-item{position:relative;color:var(--sapTextColor);background:var(--sapLegend_WorkingBackground);font-size:var(--sapFontSize);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item:hover{background:var(--sapList_Hover_Background)}.ui5-dp-daytext{display:flex;width:100%;height:100%;justify-content:center;align-items:center;box-sizing:border-box}.ui5-dp-dayname{color:var(--_ui5-v1-22-1-rc-0_daypicker_dayname_color);height:100%}.ui5-dp-item.ui5-dp-item--weeekend{background:var(--sapLegend_NonWorkingBackground)}.ui5-dp-item.ui5-dp-item--disabled{pointer-events:none;opacity:.5}.ui5-dp-item.ui5-dp-item--weeekend:hover{background:var(--sapList_Hover_Background);filter:var(--_ui5-v1-22-1-rc-0_daypicker_item_weeekend_filter)}.ui5-dp-item.ui5-dp-item--othermonth{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_color);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_background_color);border-color:transparent}.ui5-dp-item.ui5-dp-item--othermonth:hover,.ui5-dp-item.ui5-dp-item--weeekend.ui5-dp-item--othermonth:hover{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_hover_color);background:var(--sapList_Hover_Background)}.ui5-dp-item:focus:after{content:"";border:var(--_ui5-v1-22-1-rc-0_daypicker_item_not_selected_focus_border);position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_no_selected_inset);outline:none;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_focus_after)}.ui5-dp-item.ui5-dp-item--now:before{position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_not_selected_inset);border:.125rem solid var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_color);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected{box-shadow:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_box_shadow)}.ui5-dp-item.ui5-dp-item--selected{background:var(--sapContent_Selected_Background)}.ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{position:absolute;inset:0;border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_border);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_background);color:var(--sapContent_Selected_TextColor);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_border);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected:hover .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_daytext_hover_background);color:var(--sapContent_Selected_TextColor)}.ui5-dp-item.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_radius_focus_after);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_focus_after);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_radius_focus);border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_focus);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected:hover{background:var( --_ui5-v1-22-1-rc-0_daypicker_item_selected_hover);color:var(--sapContent_ContrastTextColor)}.ui5-dp-item.ui5-dp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_color);border-width:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_width)}.ui5-dp-items-container{outline:none}.ui5-dp-item.ui5-dp-item--selected-between .ui5-dp-daytext,.ui5-dp-item[hovered] .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_daypicker_item_select_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);background-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_background);color:var(--sapTextColor);font-weight:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_font)}.ui5-dp-item.ui5-dp-item--selected-between.ui5-dp-item--now:not(.ui5-dp-item--selected) .ui5-dp-daytext:after{content:"";position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_inset);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border_radius)}.ui5-dp-item.ui5-dp-item--selected-between,.ui5-dp-item[hovered]{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_border);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_background)}.ui5-dp-item.ui5-dp-item--selected-between:hover{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_hover_background)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--selected-between:focus:after{border-color:var(--sapContent_FocusColor)}.ui5-dp-items-container>:first-child{justify-content:flex-end}.ui5-dp-emptyweek{height:var(--_ui5-v1-22-1-rc-0_day_picker_empty_height)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype:focus:after{outline-offset:-.1875rem;border-radius:var(--_ui5-v1-22-1-rc-0-dp-item_withsecondtype_border)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now.ui5-dp-item--withsecondtype .ui5-dp-daysectext,.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext{border:none;outline:none}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{border-width:.125rem}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height);padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daysectext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding-top:0;border-radius:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_border_radios)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_focus_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_select_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:focus:after{border-width:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_width);inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext:not(.ui5-dp-daysectext):before{content:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_day_text_content);position:absolute;inset:.3125rem;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected__secondary_type_text_outline)} -`};var Rn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},nl;const Am=(i,e,t)=>i>Math.min(e,t)&&if.valueOf(),me=l.isSame(_),xe=l.getDay()===t,K=be?`${n} `:"",I=me?`${s} `:"",C=g?g.getDate():"",P=g?g.getYear():"",M=r.length>0?r[g.getMonth()]:"",V=this.hasSecondaryCalendarType?`${I}${K}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}; ${M} ${C}, ${P}`:`${I}${K}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}`,U={timestamp:L.toString(),focusRef:ce,_tabIndex:ce?"0":"-1",selected:k,day:l.getDate(),secondDay:this.hasSecondaryCalendarType?g.getDate():void 0,_isSecondaryCalendarType:this.hasSecondaryCalendarType,classes:`ui5-dp-item ui5-dp-wday${X}`,ariaLabel:V,ariaSelected:k?"true":"false",ariaDisabled:h?"true":void 0,disabled:Te};xe&&(U.classes+=" ui5-dp-firstday"),k&&(U.classes+=" ui5-dp-item--selected"),D&&(U.classes+=" ui5-dp-item--selected-between"),me&&(U.classes+=" ui5-dp-item--now"),h&&(U.classes+=" ui5-dp-item--othermonth"),be&&(U.classes+=" ui5-dp-item--weeekend"),Te&&(U.classes+=" ui5-dp-item--disabled"),this.hasSecondaryCalendarType&&(U.classes+=" ui5-dp-item--withsecondtype"),w.push(U),X===jn-1&&w.unshift({weekNum:d3(B_(),l.toUTCJSDate(),l.getYear(),Ee(),e),isHidden:this.shouldHideWeekNumbers}),w.length===jn+1&&(this._weeks.push(w),w=[]),l.setDate(l.getDate()+1),this.hasSecondaryCalendarType&&g&&g.setDate(g.getDate()+1)}}_buildDayNames(e){if(this._hidden)return;let t;const o=e.getDays("wide",this._primaryCalendarType);let r=e.getDays("abbreviated",this._primaryCalendarType),n;this.namesTooLong(r)&&(r=e.getDays("narrow",this._primaryCalendarType)),this._dayNames=[],this._dayNames.push({classes:"ui5-dp-dayname",name:nl.i18nBundle.getText(ly)});for(let s=0;sjn-1&&(t-=jn),n={name:o[t],ultraShortName:r[t],classes:"ui5-dp-dayname"},this._dayNames.push(n);this._dayNames[1].classes+=" ui5-dp-firstday",this.shouldHideWeekNumbers&&this._dayNames.shift()}namesTooLong(e){return e.some(t=>t.length>3)}onAfterRendering(){this._autoFocus&&!this._hidden&&this.focus();const e=this.shadowRoot.querySelector("[data-sap-focus-ref]");e&&document.activeElement!==e&&e.focus()}_onfocusin(){this._autoFocus=!0}_onfocusout(){this._autoFocus=!1}_isDaySelected(e){return this.selectionMode===Po.Single?e===this.selectedDates[0]:this.selectedDates.includes(e)}_isDayInsideSelectionRange(e){return this.selectionMode!==Po.Range||!this.selectedDates.length?!1:this.selectedDates.length===1&&this._secondTimestamp?Am(e,this.selectedDates[0],this._secondTimestamp):Am(e,this.selectedDates[0],this.selectedDates[1])}_selectDate(e,t){const o=e.target;if(!this._isDayPressed(o))return;const r=this._getTimestampFromDom(o);this._safelySetTimestamp(r),this._updateSecondTimestamp(),this.selectionMode===Po.Single?this.selectedDates=[r]:this.selectionMode===Po.Multiple?this.selectedDates.length>0&&t?this._multipleSelection(r):this._toggleTimestampInSelection(r):this.selectedDates=this.selectedDates.length===1?[...this.selectedDates,r]:[r],this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_selectWeek(){this._weeks.forEach(e=>{const t=e;t.findIndex(r=>{const n=pe.fromTimestamp(parseInt(r.timestamp)*1e3);return n.getMonth()===this._calendarDate.getMonth()&&n.getDate()===this._calendarDate.getDate()})!==-1&&(t.some(n=>n.timestamp&&!this.selectedDates.includes(parseInt(n.timestamp)))?t.filter(n=>n.timestamp).forEach(n=>{this._addTimestampToSelection(parseInt(n.timestamp))}):t.filter(n=>n.timestamp).forEach(n=>{this._removeTimestampFromSelection(parseInt(n.timestamp))}))}),this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_toggleTimestampInSelection(e){this.selectedDates.includes(e)?this._removeTimestampFromSelection(e):this._addTimestampToSelection(e)}_addTimestampToSelection(e){this.selectedDates.includes(e)||(this.selectedDates=[...this.selectedDates,e])}_removeTimestampFromSelection(e){this.selectedDates=this.selectedDates.filter(t=>t!==e)}_multipleSelection(e){const t=Math.min(...this.selectedDates),o=Math.max(...this.selectedDates);let r,n,s=!1;if(e=t&&e<=o){const p=Math.abs(e-t),v=Math.abs(e-o);p{const o=t;if(o.findIndex(n=>{const s=pe.fromTimestamp(parseInt(n.timestamp)*1e3);return s.getMonth()===this._calendarDate.getMonth()&&s.getDate()===this._calendarDate.getDate()})!==-1){const n=e?1:7;this._setTimestamp(parseInt(o[n].timestamp))}})}_hasPreviousPage(){return!(this._calendarDate.getMonth()===this._minDate.getMonth()&&this._calendarDate.getYear()===this._minDate.getYear())}_hasNextPage(){return!(this._calendarDate.getMonth()===this._maxDate.getMonth()&&this._calendarDate.getYear()===this._maxDate.getYear())}_showPreviousPage(){this._modifyTimestampBy(-1,"month",!1)}_showNextPage(){this._modifyTimestampBy(1,"month",!1)}_modifyTimestampBy(e,t,o){this._safelyModifyTimestampBy(e,t,o),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_setTimestamp(e){this._safelySetTimestamp(e),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_updateSecondTimestamp(){this.selectionMode===Po.Range&&(this.selectedDates.length===1||this.selectedDates.length===2)&&(this._secondTimestamp=this.timestamp)}get shouldHideWeekNumbers(){return this._primaryCalendarType!==dr.Gregorian?!0:this.hideWeekNumbers}get classes(){return{root:{"ui5-dp-root":!0,"ui5-dp-twocalendartypes":this.hasSecondaryCalendarType}}}_isWeekend(e){const t=Lo(Ee()),o=e.getDay(),r=t.getWeekendStart(),n=t.getWeekendEnd();return o>=r&&o<=n||n=r||o<=n)}_isDayPressed(e){const t=e.parentNode;return e.className.indexOf("ui5-dp-item")>-1||t&&t.classList&&t.classList.contains("ui5-dp-item")}_getSecondaryDay(e){return new pe(e,this.secondaryCalendarType)}_getFirstDay(){let e;const t=this._getFirstDayOfWeek(),o=new pe(this._calendarDate,this._primaryCalendarType);return o.setDate(1),e=o.getDay()-t,e<0&&(e=7+e),e>0&&o.setDate(1-e),o}_getFirstDayOfWeek(){const e=Lo(Ee()),t=B_();return Number.isInteger(t)?t:e.getFirstDayOfWeek()}get styles(){return{wrapper:{display:this._hidden?"none":"flex","justify-content":"center"},main:{width:"100%"}}}get ariaRoledescription(){return this.hasSecondaryCalendarType?`${this._primaryCalendarType} calendar with secondary ${this.secondaryCalendarType} calendar`:`${this._primaryCalendarType} calendar`}};Rn([u({validator:z,multiple:!0,compareValues:!0})],Fo.prototype,"selectedDates",void 0);Rn([u({type:Po,defaultValue:Po.Single})],Fo.prototype,"selectionMode",void 0);Rn([u({type:Boolean})],Fo.prototype,"hideWeekNumbers",void 0);Rn([u({type:Object,multiple:!0})],Fo.prototype,"_weeks",void 0);Rn([u({type:Object,multiple:!0})],Fo.prototype,"_dayNames",void 0);Rn([u({type:Boolean,noAttribute:!0})],Fo.prototype,"_hidden",void 0);Rn([u()],Fo.prototype,"_secondTimestamp",void 0);Fo=nl=Rn([B({tag:"ui5-daypicker",styles:k3,template:_3}),$("change"),$("navigate")],Fo);Fo.define();const $3=Fo;function T3(i,e,t){return c`
    ${E(this._months,(o,r)=>o._id||r,(o,r)=>x3.call(this,i,e,t,o,r))}
    `}function x3(i,e,t,o,r){return c`
    ${E(o,(n,s)=>n._id||s,(n,s)=>S3.call(this,i,e,t,n,s))}
    `}function S3(i,e,t,o,r){return c`
    ${a(o.name)}${o.nameInSecType?I3.call(this,i,e,t,o,r):void 0}
    `}function I3(i,e,t,o,r){return c`${a(o.nameInSecType)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const C3={packageName:"@ui5/webcomponents",fileName:"themes/MonthPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-mp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-mp-item{display:flex;flex-direction:column;width:calc(33.333% - .125rem);height:var(--_ui5-v1-22-1-rc-0_month_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;margin:var(--_ui5-v1-22-1-rc-0_monthpicker_item_margin);box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border_radius)}.ui5-dp-monthsectext{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-mp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-mp-item.ui5-mp-item--selected,.ui5-mp-item.ui5-mp-item--selected .ui5-dp-monthsectext{box-shadow:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_box_shadow);font-weight:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_font_wieght);background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_text_color)}.ui5-mp-item.ui5-mp-item--disabled{pointer-events:none;opacity:.5}.ui5-mp-item.ui5-mp-item--selected:focus{background-color:var(--sapContent_Selected_Background)}.ui5-mp-item.ui5-mp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border)}.ui5-mp-item.ui5-mp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_hover_color)}.ui5-mp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_button_focused_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border_radius)}.ui5-mp-quarter{display:flex;justify-content:center;align-items:center;width:100%} -`};var _d=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},au;const Zs=12,za=3;let xa=au=class extends dd{static async onDefine(){au.i18nBundle=await oe("@ui5/webcomponents")}get roleDescription(){return au.i18nBundle.getText(dy)}onBeforeRendering(){this._buildMonths()}onAfterRendering(){this._hidden||this.focus()}_buildMonths(){if(this._hidden)return;const t=Lo(Ee()).getMonthsStandAlone("wide",this._primaryCalendarType),o=[],r=this._calendarDate,n=this._minDate,s=this._maxDate,l=new pe(r,this._primaryCalendarType);let _;for(let p=0;p<12;p++){l.setMonth(p),_=l.valueOf()/1e3;const v=this.selectedDates.some(L=>{const X=pe.fromTimestamp(L*1e3,this._primaryCalendarType);return X.getYear()===l.getYear()&&X.getMonth()===l.getMonth()}),f=l.getMonth()===r.getMonth(),g=this._isOutOfSelectableRange(l,n,s),w={timestamp:_.toString(),focusRef:f,_tabIndex:f?"0":"-1",selected:v,ariaSelected:v?"true":"false",name:t[p],nameInSecType:this.hasSecondaryCalendarType&&this._getDisplayedSecondaryMonthText(_).text,disabled:g,classes:"ui5-mp-item"};v&&(w.classes+=" ui5-mp-item--selected"),g&&(w.classes+=" ui5-mp-item--disabled");const A=Math.floor(p/za);o[A]?o[A].push(w):o[A]=[w]}this._months=o}_getDisplayedSecondaryMonthText(e){const t=$l(this._primaryCalendarType,this.secondaryCalendarType,e);return ek(t.firstDate.getMonth(),t.lastDate.getMonth(),this.secondaryCalendarType)}_onkeydown(e){let t=!0;de(e)?this._selectMonth(e):te(e)?e.preventDefault():ft(e)?this._modifyTimestampBy(-1):it(e)?this._modifyTimestampBy(1):Le(e)?this._modifyTimestampBy(-za):De(e)?this._modifyTimestampBy(za):pi(e)?this._modifyTimestampBy(-Zs):Ci(e)?this._modifyTimestampBy(Zs):St(e)||si(e)?this._onHomeOrEnd(St(e)):Ts(e)?this._setTimestamp(parseInt(this._months[0][0].timestamp)):ma(e)?this._setTimestamp(parseInt(this._months[Zs/za-1][za-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._months.forEach(t=>{if(t.findIndex(r=>pe.fromTimestamp(parseInt(r.timestamp)*1e3).getMonth()===this._calendarDate.getMonth())!==-1){const r=e?0:za-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e,t){this._safelyModifyTimestampBy(e,"month",t),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){te(e)&&this._selectMonth(e)}_selectMonth(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-mp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._calendarDate.getYear()!==this._minDate.getYear()}_hasNextPage(){return this._calendarDate.getYear()!==this._maxDate.getYear()}_showPreviousPage(){this._modifyTimestampBy(-Zs,!0)}_showNextPage(){this._modifyTimestampBy(Zs,!0)}_isOutOfSelectableRange(e,t,o){const r=e.getMonth(),n=e.getYear(),s=t.getYear(),l=t.getMonth(),_=o.getYear(),p=o.getMonth();return n_||n===_&&r>p}};_d([u({validator:z,multiple:!0,compareValues:!0})],xa.prototype,"selectedDates",void 0);_d([u({type:Object,multiple:!0})],xa.prototype,"_months",void 0);_d([u({type:Boolean,noAttribute:!0})],xa.prototype,"_hidden",void 0);xa=au=_d([B({tag:"ui5-monthpicker",template:T3,styles:C3}),$("change"),$("navigate")],xa);xa.define();const A3=xa;function B3(i,e,t){return c`
    ${E(this._years,(o,r)=>o._id||r,(o,r)=>E3.call(this,i,e,t,o,r))}
    `}function E3(i,e,t,o,r){return c`
    ${E(o,(n,s)=>n._id||s,(n,s)=>D3.call(this,i,e,t,n,s))}
    `}function D3(i,e,t,o,r){return c`
    ${a(o.year)}${o.yearInSecType?P3.call(this,i,e,t,o,r):void 0}
    `}function P3(i,e,t,o,r){return c`${a(o.yearInSecType)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const O3={packageName:"@ui5/webcomponents",fileName:"themes/YearPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-yp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-yp-interval-container{display:flex;justify-content:center;align-items:center;width:100%}.ui5-yp-item{display:flex;margin:var(--_ui5-v1-22-1-rc-0_yearpicker_item_margin);width:calc(25% - .125rem);height:var(--_ui5-v1-22-1-rc-0_year_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border_radius)}.ui5-yp-item-secondary-type{flex-direction:column;width:calc(50% - .125rem)}.ui5-yp-item-sec-type{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-yp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-yp-item.ui5-yp-item--selected,.ui5-yp-item.ui5-yp-item--selected .ui5-yp-item-sec-type{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_text_color);box-shadow:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_box_shadow);font-weight:700}.ui5-yp-item.ui5-yp-item--disabled{pointer-events:none;opacity:.5}.ui5-yp-item.ui5-yp-item--selected:focus{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_focus)}.ui5-yp-item.ui5-yp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border)}.ui5-yp-item.ui5-yp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_hover_color)}.ui5-yp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border_radius);outline:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_outline)} -`};var hd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},su;let Sa=su=class extends dd{static async onDefine(){su.i18nBundle=await oe("@ui5/webcomponents")}get roleDescription(){return su.i18nBundle.getText(_y)}onBeforeRendering(){this._buildYears()}_getPageSize(){return this.hasSecondaryCalendarType?8:20}_getRowSize(){return this.hasSecondaryCalendarType?2:4}_buildYears(){if(this._hidden)return;const e=this._getPageSize(),t=Ee(),o=Ai.getDateInstance({format:"y",calendarType:this._primaryCalendarType},t),r=Ai.getDateInstance({format:"y",calendarType:this.secondaryCalendarType},t);this._calculateFirstYear(),this._lastYear=this._firstYear+e-1;const n=this._calendarDate,s=this._minDate,l=this._maxDate,_=new pe(n,this._primaryCalendarType);let p,v;_.setYear(this._firstYear);const f=[];let g;for(let w=0;wpe.fromTimestamp(D*1e3,this._primaryCalendarType).getYear()===_.getYear()),L=_.getYear()===n.getYear(),X=_.getYear()l.getYear();this.hasSecondaryCalendarType&&(p=$l(this._primaryCalendarType,this.secondaryCalendarType,g,!0),v=p.firstDate.getYear()===p.lastDate.getYear()?`${r.format(p.firstDate.toLocalJSDate(),!0)}`:`${r.format(p.firstDate.toLocalJSDate(),!0)} - ${r.format(p.lastDate.toLocalJSDate(),!0)}`);const ce={timestamp:g.toString(),_tabIndex:L?"0":"-1",focusRef:L,selected:A,ariaSelected:A?"true":"false",year:o.format(_.toLocalJSDate()),yearInSecType:v,disabled:X,classes:"ui5-yp-item"};A&&(ce.classes+=" ui5-yp-item--selected"),X&&(ce.classes+=" ui5-yp-item--disabled"),this.hasSecondaryCalendarType&&(ce.classes+=" ui5-yp-item-secondary-type");const k=Math.floor(w/this._getRowSize());f[k]?f[k].push(ce):f[k]=[ce],_.setYear(_.getYear()+1)}this._years=f}_calculateFirstYear(){const e=this._getPageSize(),t=Qw(this._primaryCalendarType).getYear(),o=this._calendarDate.getYear();this._firstYear||(this._firstYear=o-e/2),o=this._firstYear+e&&(this._firstYear+=e),Math.abs(this._firstYear-o)>=e&&(this._firstYear=o-e/2),this._firstYear=Math.max(this._firstYear,this._minDate.getYear()),this._firstYear=Math.min(this._firstYear,this._maxDate.getYear()),this._firstYear>t-e+1&&(this._firstYear=t-e+1)}onAfterRendering(){this._hidden||this.focus()}_onkeydown(e){let t=!0;const o=this._getPageSize(),r=this._getRowSize();de(e)?this._selectYear(e):te(e)?e.preventDefault():ft(e)?this._modifyTimestampBy(-1):it(e)?this._modifyTimestampBy(1):Le(e)?this._modifyTimestampBy(-r):De(e)?this._modifyTimestampBy(r):pi(e)?this._modifyTimestampBy(-o):Ci(e)?this._modifyTimestampBy(o):St(e)||si(e)?this._onHomeOrEnd(St(e)):Ts(e)?this._setTimestamp(parseInt(this._years[0][0].timestamp)):ma(e)?this._setTimestamp(parseInt(this._years[o/r-1][r-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._years.forEach(t=>{if(t.findIndex(r=>pe.fromTimestamp(parseInt(r.timestamp)*1e3).getYear()===this._calendarDate.getYear())!==-1){const r=e?0:this._getRowSize()-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e){this._safelyModifyTimestampBy(e,"year"),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){te(e)&&this._selectYear(e)}_selectYear(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-yp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._firstYear>this._minDate.getYear()}_hasNextPage(){return this._firstYear+this._getPageSize()-1
    <${d("ui5-daypicker",e,t)} id="${a(this._id)}-daypicker" ?hidden="${this._isDayPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isDayPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .selectionMode="${a(this.selectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" ?hide-week-numbers="${this.hideWeekNumbers}" @ui5-change="${a(this.onSelectedDatesChange)}" @ui5-navigate="${a(this.onNavigate)}"><${d("ui5-monthpicker",e,t)} id="${a(this._id)}-MP" ?hidden="${this._isMonthPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isMonthPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedMonthChange)}" @ui5-navigate="${a(this.onNavigate)}"><${d("ui5-yearpicker",e,t)} id="${a(this._id)}-YP" ?hidden="${this._isYearPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isYearPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedYearChange)}" @ui5-navigate="${a(this.onNavigate)}">
    <${d("ui5-calendar-header",e,t)} id="${a(this._id)}-head" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .buttonTextForSecondaryCalendarType="${a(this.secondaryCalendarTypeButtonText)}" timestamp="${a(this._timestamp)}" .isPrevButtonDisabled="${a(this._previousButtonDisabled)}" .isNextButtonDisabled="${a(this._nextButtonDisabled)}" .isMonthButtonHidden="${a(this._isHeaderMonthButtonHidden)}" ._monthButtonText="${a(this._headerMonthButtonText)}" ._yearButtonText="${a(this._headerYearButtonText)}" ._yearButtonTextSecType="${a(this._headerYearButtonTextSecType)}" @ui5-previous-press="${a(this.onHeaderPreviousPress)}" @ui5-next-press="${a(this.onHeaderNextPress)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}">`:c`
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const M3={packageName:"@ui5/webcomponents",fileName:"themes/Calendar.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-cal-root{background:var(--sapList_Background);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_calendar_height);width:var(--_ui5-v1-22-1-rc-0_calendar_width);padding:var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding) var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) 0;display:flex;flex-direction:column-reverse;justify-content:flex-end}.ui5-cal-root [ui5-calendar-header]{height:var(--_ui5-v1-22-1-rc-0_calendar_header_height);font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily)}.ui5-cal-root .ui5-cal-content{padding:0 var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding)} -`};var jo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ri=class extends dd{get _selectedDatesTimestamps(){return this.dates.map(e=>{const t=e.value;return t&&!!this.getFormat().parse(t)?this._getTimeStampFromString(t)/1e3:void 0}).filter(e=>!!e)}constructor(){super(),this._valueIsProcessed=!1}_setSelectedDates(e){const t=e.map(r=>this.getFormat().format(new Date(r*1e3),!0)),o=[...this.dates].map(r=>r.value);this.dates.filter(r=>!t.includes(r.value)).forEach(r=>{this.removeChild(r)}),t.filter(r=>!o.includes(r)).forEach(r=>{const n=document.createElement(_v.getMetadata().getTag());n.value=r,this.appendChild(n)})}_normalizeCurrentPicker(){this._currentPicker==="day"&&this._pickersMode!==ho.DAY_MONTH_YEAR&&(this._currentPicker="month"),this._currentPicker==="month"&&this._pickersMode===ho.YEAR&&(this._currentPicker="year")}onBeforeRendering(){this._normalizeCurrentPicker(),this._valueIsProcessed||(this._selectedDatesTimestamps&&(this.timestamp=this._selectedDatesTimestamps[0]),this._valueIsProcessed=!0)}async onAfterRendering(){await Bi(),this._previousButtonDisabled=!this._currentPickerDOM._hasPreviousPage(),this._nextButtonDisabled=!this._currentPickerDOM._hasNextPage();const e=Ai.getDateInstance({format:"y",calendarType:this.primaryCalendarType}),t=Lo(Ee());if(this._headerMonthButtonText=t.getMonthsStandAlone("wide",this.primaryCalendarType)[this._calendarDate.getMonth()],this._currentPicker==="year"){const o=new pe(this._calendarDate,this._primaryCalendarType),r=new pe(this._calendarDate,this._primaryCalendarType);o.setYear(this._currentPickerDOM._firstYear),r.setYear(this._currentPickerDOM._lastYear),this._headerYearButtonText=`${e.format(o.toLocalJSDate(),!0)} - ${e.format(r.toLocalJSDate(),!0)}`}else this._headerYearButtonText=String(e.format(this._localDate,!0));this._secondaryCalendarType&&this._setSecondaryCalendarTypeButtonText()}onInvalidation(e){e.reason==="childchange"&&(this._valueIsProcessed=!1)}onHeaderShowMonthPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="month",this.fireEvent("show-month-press",e)}onHeaderShowYearPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="year",this.fireEvent("show-year-press",e)}get _currentPickerDOM(){return this.shadowRoot.querySelector(`[ui5-${this._currentPicker}picker]`)}onHeaderPreviousPress(){this._currentPickerDOM._showPreviousPage()}onHeaderNextPress(){this._currentPickerDOM._showNextPage()}_setSecondaryCalendarTypeButtonText(){const e=Ai.getDateInstance({format:"y",calendarType:this._secondaryCalendarType});if(this._currentPicker==="year"){const t=new pe(this._calendarDate,this._primaryCalendarType),o=new pe(this._calendarDate,this._primaryCalendarType);t.setYear(this._currentPickerDOM._firstYear),o.setYear(this._currentPickerDOM._lastYear);const r=$l(this.primaryCalendarType,this._secondaryCalendarType,t.valueOf()/1e3,!0).firstDate,n=$l(this.primaryCalendarType,this._secondaryCalendarType,o.valueOf()/1e3,!0).lastDate;this._headerYearButtonTextSecType=`${e.format(r.toLocalJSDate(),!0)} - ${e.format(n.toLocalJSDate(),!0)}`}else this._headerYearButtonTextSecType=String(e.format(this._localDate,!0))}get secondaryCalendarTypeButtonText(){if(!this.hasSecondaryCalendarType)return;const e=new Date(this._timestamp*1e3),t=Ai.getDateInstance({format:"y",calendarType:this._secondaryCalendarType}),o=$l(this._primaryCalendarType,this._secondaryCalendarType,this._timestamp),r=ek(o.firstDate.getMonth(),o.lastDate.getMonth(),this._secondaryCalendarType);return{yearButtonText:t.format(e,!0),monthButtonText:r.text,monthButtonInfo:r.textInfo}}get _isHeaderMonthButtonHidden(){return this._currentPicker==="month"||this._currentPicker==="year"}get _isDayPickerHidden(){return this._currentPicker!=="day"}get _isMonthPickerHidden(){return this._currentPicker!=="month"}get _isYearPickerHidden(){return this._currentPicker!=="year"}_fireEventAndUpdateSelectedDates(e){const t=e.map(r=>{const n=pe.fromTimestamp(r*1e3,this._primaryCalendarType);return this.getFormat().format(n.toUTCJSDate(),!0)});!this.fireEvent("selected-dates-change",{timestamp:this.timestamp,dates:[...e],values:t},!0)||this._setSelectedDates(e)}onSelectedDatesChange(e){this.timestamp=e.detail.timestamp,this._fireEventAndUpdateSelectedDates(e.detail.dates)}onSelectedMonthChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===ho.DAY_MONTH_YEAR?this._currentPicker="day":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onSelectedYearChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===ho.DAY_MONTH_YEAR?this._currentPicker="day":this._pickersMode===ho.MONTH_YEAR?this._currentPicker="month":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onNavigate(e){this.timestamp=e.detail.timestamp}_onkeydown(e){Yu(e)&&this._currentPicker!=="month"&&(this._currentPicker="month"),xx(e)&&this._currentPicker!=="year"&&(this._currentPicker="year")}get selectedDates(){return this._selectedDatesTimestamps}set selectedDates(e){this._setSelectedDates(e)}};jo([u({type:Po,defaultValue:Po.Single})],Ri.prototype,"selectionMode",void 0);jo([u({type:Boolean})],Ri.prototype,"hideWeekNumbers",void 0);jo([u({defaultValue:"day"})],Ri.prototype,"_currentPicker",void 0);jo([u({type:Boolean})],Ri.prototype,"_previousButtonDisabled",void 0);jo([u({type:Boolean})],Ri.prototype,"_nextButtonDisabled",void 0);jo([u()],Ri.prototype,"_headerMonthButtonText",void 0);jo([u()],Ri.prototype,"_headerYearButtonText",void 0);jo([u()],Ri.prototype,"_headerYearButtonTextSecType",void 0);jo([u({type:ho,defaultValue:ho.DAY_MONTH_YEAR,noAttribute:!0})],Ri.prototype,"_pickersMode",void 0);jo([F({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],Ri.prototype,"dates",void 0);Ri=jo([B({tag:"ui5-calendar",fastNavigation:!0,template:L3,styles:M3,dependencies:[_v,u3,$3,A3,R3]}),$("selected-dates-change",{detail:{dates:{type:Array},values:{type:Array},timestamp:{type:Number}}}),$("show-month-press"),$("show-year-press")],Ri);Ri.define();const ok=Ri;function N3(i,e,t){return t?c`
    <${d("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-date-picker-input" placeholder="${a(this._placeholder)}" type="${a(this.type)}" value="${a(this.value)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" @ui5-change="${a(this._onInputChange)}" @ui5-input="${a(this._onInputInput)}" @ui5-submit="${a(this._onInputSubmit)}" @keydown="${this._onkeydown}">${this.valueStateMessage.length?Bm.call(this,i,e,t):void 0}${this.readonly?void 0:Em.call(this,i,e,t)}
    `:c`
    ${this.valueStateMessage.length?Bm.call(this,i,e,t):void 0}${this.readonly?void 0:Em.call(this,i,e,t)}
    `}function Bm(i,e,t){return c``}function Em(i,e,t){return t?c`<${d("ui5-icon",e,t)} slot="icon" name="${a(this.openIconName)}" tabindex="-1" accessible-name="${a(this.openIconTitle)}" accessible-role="button" aria-hidden="${a(this._ariaHidden)}" show-tooltip @click="${this.togglePicker}" input-icon ?pressed="${this._isPickerOpen}">`:c``}function F3(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader?Dm.call(this,i,e,t):void 0}<${d("ui5-calendar",e,t)} id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}" ._pickersMode="${a(this._calendarPickersMode)}">${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>Pm.call(this,i,e,t,o,r))}${this.showFooter?Om.call(this,i,e,t):void 0} `:c`${this.showHeader?Dm.call(this,i,e,t):void 0}${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>Pm.call(this,i,e,t,o,r))}${this.showFooter?Om.call(this,i,e,t):void 0} `}function Dm(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closePicker}">
    `:c`
    ${a(this._headerTitleText)}
    `}function Pm(i,e,t,o,r){return t?c`<${d("ui5-date",e,t)} value="${a(o)}">`:c``}function Om(i,e,t){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const z3={packageName:"@ui5/webcomponents",fileName:"themes/DatePicker.css.ts",content:`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;line-height:normal;letter-spacing:normal;word-spacing:normal;height:var(--_ui5-v1-22-1-rc-0_input_height);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + var(--_ui5-v1-22-1-rc-0_input_icon_width));color:var(--sapField_TextColor);background-color:var(--sapField_Background);border-radius:var(--_ui5-v1-22-1-rc-0-datepicker_border_radius);margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0}:host(:not([disabled]):not([readonly]):active){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}:host(:not([disabled]):not([readonly]):hover){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}.ui5-date-picker-root{border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-date-picker-input{width:100%;min-width:12.5625rem;color:inherit;background-color:inherit;border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;margin:inherit}:host(:not([disabled]):not([readonly])) .ui5-date-picker-input[focused]{background-color:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const V3={packageName:"@ui5/webcomponents",fileName:"themes/DatePickerPopover.css.ts",content:`[ui5-calendar]{width:100%;display:flex;justify-content:center}[ui5-responsive-popover]::part(content){padding:0} -`};var di=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},al;let At=al=class extends Jw{onResponsivePopoverAfterClose(){var e;this._isPickerOpen=!1,G()?this.blur():(e=this._getInput())==null||e.focus()}onBeforeRendering(){this.FormSupport=Se("FormSupport"),["minDate","maxDate"].forEach(e=>{const t=this[e];this.isValid(t)||console.warn(`Invalid value for property "${e}": ${t} is not compatible with the configured format pattern: "${this._displayFormat}"`)}),this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'),this.value=this.normalizeValue(this.value)||this.value,this.liveValue=this.value}get _calendarSelectionMode(){return"Single"}get _calendarTimestamp(){if(this.value&&this.dateValueUTC&&this._checkValueValidity(this.value)){const e=this.dateValueUTC.getTime();return ZL(e)}return dv(this._primaryCalendarType)}get _calendarSelectedDates(){return this.value&&this._checkValueValidity(this.value)?[this.value]:[]}_onkeydown(e){Nr(e)&&(e.preventDefault(),this.isOpen()?Yu(e)||this._toggleAndFocusInput():this._toggleAndFocusInput()),this._getInput().isEqualNode(e.target)&&this.isOpen()&&(It(e)||Ei(e)||xp(e)||Sp(e))&&this.closePicker(),!this.isOpen()&&(de(e)?this.FormSupport&&this.FormSupport.triggerFormSubmit(this):El(e)?(e.preventDefault(),this._modifyDateValue(1,"year")):ns(e)?(e.preventDefault(),this._modifyDateValue(1,"month")):pi(e)?(e.preventDefault(),this._modifyDateValue(1,"day")):Gu(e)?(e.preventDefault(),this._modifyDateValue(-1,"year")):lc(e)?(e.preventDefault(),this._modifyDateValue(-1,"month")):Ci(e)&&(e.preventDefault(),this._modifyDateValue(-1,"day")))}_modifyDateValue(e,t,o){if(!this.dateValue)return;const r=Vl(pe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate),n=this.formatValue(r.toUTCJSDate());this._updateValueAndFireEvents(n,!0,["change","value-changed"])}_updateValueAndFireEvents(e,t,o,r=!0){const n=this._checkValueValidity(e);n&&t&&(e=this.normalizeValue(e));let s=!0;this.liveValue=e;const l=this.value;if(r&&(this._getInput().value=e,this.value=e,this._updateValueState()),o.forEach(_=>{this.fireEvent(_,{value:e,valid:n},!0)||(s=!1)}),!s&&r){if(this.value!==l&&this.value!==this._getInput().value)return;this._getInput().value=l,this.value=l}}_updateValueState(){const e=this._checkValueValidity(this.value),t=this.valueState;this.valueState=e?y.None:y.Error,!this.fireEvent("value-state-change",{valueState:this.valueState,valid:e},!0)&&(this.valueState=t)}_toggleAndFocusInput(){this.togglePicker(),this._getInput().focus()}_getInput(){return this.shadowRoot.querySelector("[ui5-input]")}_onInputSubmit(){}_onInputChange(e){this._updateValueAndFireEvents(e.target.value,!0,["change","value-changed"])}_onInputInput(e){this._updateValueAndFireEvents(e.target.value,!1,["input"],!1)}_checkValueValidity(e){return e===""?!0:this.isValid(e)&&this.isInValidRange(e)}_click(e){G()&&(this.responsivePopover.showAt(this),e.preventDefault())}isValid(e){return e===""||e===void 0?!0:!!this.getFormat().parse(e)}isInValidRange(e){if(e===""||e===void 0)return!0;const t=this._getCalendarDateFromString(e);return!t||!this._minDate||!this._maxDate?!1:t.valueOf()>=this._minDate.valueOf()&&t.valueOf()<=this._maxDate.valueOf()}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,!0),!0)}get _displayFormat(){return this.getFormat().oFormatOptions.pattern}get _placeholder(){return this.placeholder!==void 0?this.placeholder:this._displayFormat}get _headerTitleText(){return al.i18nBundle.getText(Ss)}get phone(){return G()}get showHeader(){return this.phone}get showFooter(){return this.phone}get accInfo(){return{ariaRoledescription:this.dateAriaDescription,ariaHasPopup:tv.Grid.toLowerCase(),ariaAutoComplete:"none",ariaRequired:this.required,ariaLabel:Wt(this)}}get openIconTitle(){return al.i18nBundle.getText(L2)}get openIconName(){return"appointment-2"}get dateAriaDescription(){return al.i18nBundle.getText(M2)}get _shouldHideHeader(){return!1}get _ariaHidden(){return vo()}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}_canOpenPicker(){return!this.disabled&&!this.readonly}get _calendarPickersMode(){const t=this.getFormat().aFormatArray.map(o=>o.type.toLowerCase());return t.includes("day")?ho.DAY_MONTH_YEAR:t.includes("month")||t.includes("monthstandalone")?ho.MONTH_YEAR:ho.YEAR}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values&&e.detail.values[0];this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}onHeaderShowMonthPress(){this._calendarCurrentPicker="month"}onHeaderShowYearPress(){this._calendarCurrentPicker="year"}formatValue(e){return this.getFormat().format(e)}closePicker(){this.responsivePopover.close()}async openPicker(){this._isPickerOpen=!0,this._calendarCurrentPicker="day",this.responsivePopover=await this._respPopover(),this.responsivePopover.showAt(this)}togglePicker(){this.isOpen()?this.closePicker():this._canOpenPicker()&&this.openPicker()}isOpen(){return!!this._isPickerOpen}get dateValue(){return this.liveValue?this.getFormat().parse(this.liveValue):this.getFormat().parse(this.value)}get dateValueUTC(){return this.liveValue?this.getFormat().parse(this.liveValue,!0):this.getFormat().parse(this.value)}get styles(){return{main:{width:"100%"}}}get type(){return us.Text}};di([u()],At.prototype,"value",void 0);di([u({type:y,defaultValue:y.None})],At.prototype,"valueState",void 0);di([u({type:Boolean})],At.prototype,"required",void 0);di([u({type:Boolean})],At.prototype,"disabled",void 0);di([u({type:Boolean})],At.prototype,"readonly",void 0);di([u({defaultValue:void 0})],At.prototype,"placeholder",void 0);di([u()],At.prototype,"name",void 0);di([u({type:Boolean})],At.prototype,"hideWeekNumbers",void 0);di([u()],At.prototype,"accessibleName",void 0);di([u({defaultValue:""})],At.prototype,"accessibleNameRef",void 0);di([u({type:Boolean,noAttribute:!0})],At.prototype,"_isPickerOpen",void 0);di([u({type:Object})],At.prototype,"_respPopoverConfig",void 0);di([u({defaultValue:"day"})],At.prototype,"_calendarCurrentPicker",void 0);di([F({type:HTMLElement})],At.prototype,"valueStateMessage",void 0);di([F({type:HTMLElement})],At.prototype,"formSupport",void 0);At=al=di([B({tag:"ui5-date-picker",languageAware:!0,template:N3,staticAreaTemplate:F3,styles:z3,staticAreaStyles:[Wo,V3],dependencies:[Ie,wo,ok,_v,vr,Fe]}),$("change",{detail:{value:{type:String},valid:{type:Boolean}}}),$("input",{detail:{value:{type:String},valid:{type:Boolean}}}),$("value-state-change",{detail:{valueState:{type:String},valid:{type:Boolean}}})],At);At.define();const Ul=At;b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const H3={packageName:"@ui5/webcomponents",fileName:"themes/DateRangePicker.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{width:100%;min-width:inherit;color:inherit;background-color:inherit} -`};var pv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Eh;let Wl=Eh=class extends Ul{constructor(){super(),this._prevDelimiter=null}get dateValue(){return null}get dateValueUTC(){return null}get _startDateTimestamp(){return this._extractFirstTimestamp(this.value)}get _endDateTimestamp(){return this._extractLastTimestamp(this.value)}get _tempTimestamp(){return this._tempValue&&this.getFormat().parse(this._tempValue,!0).getTime()/1e3}get _calendarSelectionMode(){return"Range"}get _calendarTimestamp(){return this._tempTimestamp||this._startDateTimestamp||dv(this._primaryCalendarType)}get _calendarSelectedDates(){return this._tempValue?[this._tempValue]:this.value&&this._checkValueValidity(this.value)?this._splitValueByDelimiter(this.value):[]}get startDateValue(){return pe.fromTimestamp(this._startDateTimestamp*1e3).toLocalJSDate()}get endDateValue(){return pe.fromTimestamp(this._endDateTimestamp*1e3).toLocalJSDate()}get _placeholder(){return this.placeholder!==void 0?this.placeholder:`${this._displayFormat} ${this._effectiveDelimiter} ${this._displayFormat}`}get dateAriaDescription(){return Eh.i18nBundle.getText(F2)}async _onInputSubmit(){const e=this._getInput(),t=e.getCaretPosition();await Bi(),e.setCaretPosition(t)}onResponsivePopoverAfterClose(){this._tempValue="",super.onResponsivePopoverAfterClose()}isValid(e){const t=this._splitValueByDelimiter(e);return t.length<=2&&t.every(o=>super.isValid(o))}isInValidRange(e){return this._splitValueByDelimiter(e).every(t=>super.isInValidRange(t))}normalizeValue(e){const t=this._extractFirstTimestamp(e),o=this._extractLastTimestamp(e);return t&&o&&t>o?this._buildValue(o,t):this._buildValue(t,o)}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values;if(t.length===0)return;if(t.length===1){this._tempValue=t[0];return}const o=this._buildValue(e.detail.dates[0],e.detail.dates[1]);this._updateValueAndFireEvents(o,!0,["change","value-changed"]),this.closePicker()}async _modifyDateValue(e,t,o){if(!this._endDateTimestamp)return super._modifyDateValue(e,t,o);const r=this._getInput();let n=r.getCaretPosition(),s;if(n<=this.value.indexOf(this._effectiveDelimiter)){const _=Vl(pe.fromTimestamp(this._startDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;_>this._endDateTimestamp&&(n+=Math.ceil(this.value.length/2)),s=this._buildValue(_,this._endDateTimestamp)}else{const _=Vl(pe.fromTimestamp(this._endDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;s=this._buildValue(this._startDateTimestamp,_),_${this.icon?Q3.call(this,i,e,t):void 0}${this.hasButtonType?J3.call(this,i,e,t):void 0} `}function Q3(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:c``}function J3(i,e,t){return c`${a(this.buttonTypeText)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const eM={packageName:"@ui5/webcomponents",fileName:"themes/ToggleButton.css.ts",content:`:host(:not([hidden])){display:inline-block}:host([design="Emphasized"]:not([pressed])){text-shadow:var(--_ui5-v1-22-1-rc-0_toggle_button_emphasized_text_shadow)}:host([pressed]),:host([design="Default"][pressed]),:host([design="Transparent"][pressed]),:host([design="Emphasized"][pressed]){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor);text-shadow:none}:host([pressed]:hover),:host([pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Default"][pressed]:hover),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Transparent"][pressed]:hover),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Emphasized"][pressed]:hover),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([active][focused]),:host([design="Default"][active][focused]),:host([design="Transparent"][active][focused]),:host([design="Emphasized"][active][focused]){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Negative"][pressed]){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][active][focused]){background:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Negative"][pressed][active]:hover),:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Positive"][pressed]){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][active][focused]){background:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:hover),:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Attention"][pressed]){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][active][focused]){background:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Attention"][pressed][active]:hover),:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)} -`};var ak=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ql=class extends Fe{_onclick(){this.pressed=!this.pressed,zr()&&this.getDomRef().focus()}_onkeyup(e){if(Qa(e)){e.preventDefault();return}super._onkeyup(e)}};ak([u({type:Boolean})],ql.prototype,"pressed",void 0);ql=ak([B({tag:"ui5-toggle-button",template:Z3,styles:[Fe.styles,eM]})],ql);ql.define();const kc=ql;function tM(i,e,t){return c`
  • ${this.icon?iM.call(this,i,e,t):void 0}
  • `}function iM(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:c``}var Ns=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Dh;let qr=Dh=class extends kc{get ariaDescription(){return Dh.i18nBundle.getText($0)}};Ns([u({type:hr,defaultValue:hr.Default})],qr.prototype,"design",void 0);Ns([u({type:Boolean})],qr.prototype,"iconEnd",void 0);Ns([u({type:Boolean})],qr.prototype,"submits",void 0);Ns([u({validator:z,defaultValue:0})],qr.prototype,"posInSet",void 0);Ns([u({validator:z,defaultValue:0})],qr.prototype,"sizeOfSet",void 0);qr=Dh=Ns([B({tag:"ui5-segmented-button-item",template:tM,dependencies:[Ie]})],qr);qr.define();const oM=qr;var Ph;(function(i){i.SingleSelect="SingleSelect",i.MultiSelect="MultiSelect"})(Ph||(Ph={}));const Ru=Ph;function rM(i,e,t){return c`
      ${a(this.ariaDescribedBy)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const nM={packageName:"@ui5/webcomponents",fileName:"themes/SegmentedButton.css.ts",content:`: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;min-width:calc(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count) * 2.5rem)}.ui5-segmented-button-root{width:inherit;display:grid;grid-template-columns:repeat(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count),minmax(2.5rem,1fr));margin:0;padding:0;background-color:var(--sapButton_Background);border-radius:var(--sapButton_BorderCornerRadius);box-shadow:inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item]){border-radius:var(--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_radius);border-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_border_color);background-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_background_color);height:var(--_ui5-v1-22-1-rc-0_button_base_height);min-width:2.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:initial}::slotted([ui5-segmented-button-item]:hover){z-index:2;box-shadow:var(--_ui5-v1-22-1-rc-0_segmented_btn_hover_box_shadow);border-color:var(--sapButton_Hover_BorderColor);background-color:var(--sapButton_Hover_Background)}::slotted([ui5-segmented-button-item][pressed]),::slotted([ui5-segmented-button-item][active]){border-color:var(--sapButton_Selected_BorderColor);background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item][pressed]:hover){border-color:var(--sapButton_Selected_Hover_BorderColor);background-color:var(--sapButton_Selected_Hover_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item]:last-child){border-start-end-radius:var(--sapButton_BorderCornerRadius);border-end-end-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:first-child){border-start-start-radius:var(--sapButton_BorderCornerRadius);border-end-start-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:not(:first-child)){border-left-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left);border-right-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right)}::slotted([ui5-segmented-button-item][active]:not([active]):hover){border-color:var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item][active]:hover){border-color:var(--sapButton_Selected_BorderColor)} -`};var pd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},sl;let Ia=sl=class extends j{static async onDefine(){sl.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super(),this._itemNavigation=new _r(this,{getItemsCallback:()=>this.getSlottedNodes("items")}),this.hasPreviouslyFocusedItem=!1}onBeforeRendering(){const e=this.getSlottedNodes("items");e.forEach((t,o,r)=>{t.posInSet=o+1,t.sizeOfSet=r.length}),this.normalizeSelection(),this.style.setProperty(Qi("--_ui5_segmented_btn_items_count"),`${e.length}`)}normalizeSelection(){if(this.items.length)switch(this.mode){case Ru.SingleSelect:{const e=this.selectedItems,t=this._selectedItem?e.indexOf(this._selectedItem):-1;this._selectedItem&&e.length>1&&e.splice(t,1);const o=e.pop()||this.items[0];this._applySingleSelection(o);break}}}_selectItem(e){const t=e.target,o=t.hasAttribute("ui5-segmented-button-item");if(!(t.disabled||t===this.getDomRef()||!o)){switch(this.mode){case Ru.MultiSelect:e instanceof KeyboardEvent&&(t.pressed=!t.pressed);break;default:this._applySingleSelection(t)}return this.fireEvent("selection-change",{selectedItem:t,selectedItems:this.selectedItems}),this._itemNavigation.setCurrentItem(t),t.focus(),this}}_applySingleSelection(e){this.items.forEach(t=>{t.pressed=!1}),e.pressed=!0,this._selectedItem=e}_onclick(e){this._selectItem(e)}_onkeydown(e){de(e)?this._selectItem(e):te(e)&&e.preventDefault()}_onkeyup(e){te(e)&&this._selectItem(e)}_onmousedown(e){const t=e.target;t.hasAttribute("ui5-segmented-button-item")&&(t.focus(),this._itemNavigation.setCurrentItem(t),this.hasPreviouslyFocusedItem=!0)}_onfocusin(e){if(this.hasPreviouslyFocusedItem){this._itemNavigation.setCurrentItem(e.target);return}this.selectedItems.length&&(this.selectedItems[0].focus(),this._itemNavigation.setCurrentItem(this.selectedItems[0]),this.hasPreviouslyFocusedItem=!0)}get selectedItem(){return this._selectedItem}get selectedItems(){return this.items.filter(e=>e.pressed)}get ariaDescribedBy(){return sl.i18nBundle.getText(k0)}get ariaDescription(){return sl.i18nBundle.getText(w0)}};pd([u({defaultValue:void 0})],Ia.prototype,"accessibleName",void 0);pd([u({type:Ru,defaultValue:Ru.SingleSelect})],Ia.prototype,"mode",void 0);pd([F({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],Ia.prototype,"items",void 0);Ia=sl=pd([B({tag:"ui5-segmented-button",languageAware:!0,renderer:ee,template:rM,styles:nM,dependencies:[oM]}),$("selection-change",{detail:{selectedItem:{type:HTMLElement},selectedItems:{type:Array}}})],Ia);Ia.define();const vv=Ia,Lu=(i,e=1)=>{const t=[];for(let o=0;o{let t=[];if(i.isTwelveHoursFormat?t=Lu(e||12,1):t=Lu(e||24,1),i.minHour===1)for(let o=0;oLu(i||60,e),lM=(i,e)=>Lu(i||60,e),sk=i=>{const e={minHour:0,maxHour:0,isTwelveHoursFormat:!1};return i==="hour0_23"?(e.minHour=0,e.maxHour=23,e.isTwelveHoursFormat=!1):i==="hour1_24"?(e.minHour=1,e.maxHour=24,e.isTwelveHoursFormat=!1):i==="hour0_11"?(e.minHour=0,e.maxHour=11,e.isTwelveHoursFormat=!0):i==="hour1_12"&&(e.minHour=1,e.maxHour=12,e.isTwelveHoursFormat=!0),e},lk=(i,e)=>{const t=[!1,!1,!1,!1];for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Qn;const cM=1e3;let Li=Qn=class extends j{static async onDefine(){[Qn.i18nBundle]=await Promise.all([oe("@ui5/webcomponents"),$s(Ee().getLanguage(),Ee().getRegion(),Ee().getScript())])}get _hoursConfiguration(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return sk(t?t.type:"hour0_23")}get _zeroPaddedHours(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return!(t.digits&&t.digits===1)}get _neededComponents(){const e=this.getFormat().aFormatArray;return lk(e,this._hoursConfiguration)}get _hasHoursComponent(){return this._neededComponents[0]}get _hasMinutesComponent(){return this._neededComponents[1]}get _hasSecondsComponent(){return this._neededComponents[2]}get _hasPeriodsComponent(){return this._neededComponents[3]}get dateValue(){return this.value?this.getFormat().parse(this.value,void 0,void 0):new Date}get validDateValue(){return this.value!==void 0&&this.isValid(this.value)?this.dateValue:new Date}get periodsArray(){return this.getFormat().aDayPeriodsAbbrev.map(t=>t.toUpperCase())}get _hours(){let e;const t=this.validDateValue;return this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()>this._hoursConfiguration.maxHour?e=t.getHours()-12:this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()=this._hoursConfiguration.maxHour?this.periodsArray[1]:this.periodsArray[0]:e=t.getHours()>this._hoursConfiguration.maxHour||t.getHours()===this._hoursConfiguration.minHour?this.periodsArray[1]:this.periodsArray[0],e}get _formatPattern(){const e=this.formatPattern,t=!!e.match(/H/i),o=!e||!t,r=Lo(Ee());return o?r.getCombinedDateTimePattern("medium","medium",void 0):e}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hoursLabel(){return Qn.i18nBundle.getText(Gp)}get minutesLabel(){return Qn.i18nBundle.getText(Yp)}get secondsLabel(){return Qn.i18nBundle.getText(Kp)}get clockDialAriaLabel(){return Qn.i18nBundle.getText(W0)}setValue(e){const t=this.formatValue(e);this.isValid(t)&&(this.value=this.normalizeValue(t),this.fireEvent("change",{value:this.value,valid:!0}))}isValid(e){return e===""||this.getFormat().parse(e,void 0,void 0)}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,void 0,void 0))}getFormat(){let e;return this._isPattern?e=Ai.getDateInstance({calendarType:this._calendarType,pattern:this._formatPattern}):e=Ai.getDateInstance({calendarType:this._calendarType,style:this._formatPattern}),e}formatValue(e){return this.getFormat().format(e)}_componentKey(e){return e}_indexFromName(e){return this._componentMap[this._componentKey(e)]}_getNameFromId(e){const t=e.split("_");return t.length?t[t.length-1]:void 0}_getIndexFromId(e){const t=this._getNameFromId(e);return t?this._indexFromName(t):0}_hoursChange(e){this._hoursConfiguration.isTwelveHoursFormat&&(e=this._shiftHours(e));const t=this.validDateValue;t.setHours(e),this.setValue(t)}_minutesChange(e){const t=this.validDateValue;t.setMinutes(e),this.setValue(t)}_secondsChange(e){const t=this.validDateValue;t.setSeconds(e),this.setValue(t)}_buttonAmPm(){var e;return this._hasPeriodsComponent?(e=this.shadowRoot)==null?void 0:e.querySelector(`#${this._id}_AmPm`):void 0}_createPeriodComponent(){this._hasPeriodsComponent&&this.periodsArray.forEach(e=>{this._periods.push({label:e,pressed:this._period===e})})}_periodChange(e){const t=e.target;if(t){const o=t.textContent;this._calculatePeriodChange(o)}}_calculatePeriodChange(e){const t=this.validDateValue;e===this._periods[0].label&&t.getHours()>=12&&t.setHours(t.getHours()-12),e===this._periods[1].label&&t.getHours()<12&&t.setHours(t.getHours()+12),this.setValue(t)}_shiftHours(e){return this._period===this.periodsArray[0]?e=e===12?0:e:this._period===this.periodsArray[1]&&(e=e===12?e:e+12),e}_resetCooldown(e){this._typeCooldownId&&clearTimeout(this._typeCooldownId),e&&this._startCooldown()}_startCooldown(){this._typeCooldownId=setTimeout(()=>{this._keyboardBuffer="",this._typeCooldownId=void 0,this._exactMatch&&(this._setExactMatch(),this._exactMatch=void 0)},cM)}_setExactMatch(){}};Go([u({defaultValue:void 0})],Li.prototype,"value",void 0);Go([u()],Li.prototype,"formatPattern",void 0);Go([u({validator:z,defaultValue:0,noAttribute:!0})],Li.prototype,"_activeIndex",void 0);Go([u({type:dr})],Li.prototype,"_calendarType",void 0);Go([u({type:Object,multiple:!0})],Li.prototype,"_entities",void 0);Go([u({type:Object})],Li.prototype,"_componentMap",void 0);Go([u({type:Object,multiple:!0})],Li.prototype,"_periods",void 0);Go([u({validator:z,noAttribute:!0})],Li.prototype,"_typeCooldownId",void 0);Go([u({validator:z,noAttribute:!0})],Li.prototype,"_exactMatch",void 0);Go([u({defaultValue:"",noAttribute:!0})],Li.prototype,"_keyboardBuffer",void 0);Li=Qn=Go([B({tag:"ui5-time-picker-internals"}),$("change",{detail:{value:{type:String},valid:{type:Boolean}}})],Li);Li.define();const ll=Li;function uM(i,e,t){return c``}function dM(i,e,t,o,r){return c`
    ${o.item?_M.call(this,i,e,t,o,r):pM.call(this,i,e,t,o,r)}
    `}function _M(i,e,t,o,r){return c`${a(o.item)}${o.innerItem?hM.call(this,i,e,t,o,r):void 0}`}function hM(i,e,t,o,r){return c`${a(o.innerItem)}`}function pM(i,e,t,o,r){return c`${this.hideFractions?void 0:vM.call(this,i,e,t,o,r)}`}function vM(i,e,t,o,r){return c``}function fM(i,e,t){return c`
    ${a(this._selectedItem.item)}
    ${a(this._selectedItem.innerItem)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const mM={packageName:"@ui5/webcomponents",fileName:"themes/TimePickerClock.css.ts",content:`.ui5-tp-clock{position:relative;width:auto;padding:.5625rem;outline:none;display:none}.ui5-tp-clock-active{display:block}.ui5-tp-clock-dial{position:relative;width:auto;display:block;border-radius:100%;background-color:var(--sapLegend_WorkingBackground);text-align:center;z-index:1}.ui5-tp-clock-dial:before{content:attr(data-label);display:flex;align-items:center;justify-content:center;position:absolute;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor);inset:2.75rem;border-radius:100%;z-index:2}.ui5-tp-clock-dial:after{content:"";display:block;padding-bottom:100%}.ui5-tp-clock-inner .ui5-tp-clock-dial:before{background-color:var(--sapLegend_WorkingBackground)}.ui5-tp-clock-cover{position:absolute;inset:.5625rem;border-radius:100%;z-index:10;touch-action:none}.ui5-tp-clock-item{position:absolute;top:0;left:50%;display:inline-block;width:2.75rem;height:100%;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui5-tp-clock-item.ui5-tp-clock-marker{z-index:4}.ui5-tp-clock-dot{display:block;box-sizing:border-box;width:.25rem;height:.3125rem;margin:0 auto .25rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-mid-dot{display:block;box-sizing:border-box;width:.125rem;height:.1875rem;margin:0 auto .375rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-marker{box-sizing:border-box;width:.25rem;height:.5625rem;margin:0 auto;border-radius:100%;background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)}.ui5-tp-clock-number{box-sizing:border-box;display:inline-block;width:2.75rem;height:2.75rem;border-radius:100%;line-height:2.75rem;text-align:center;vertical-align:top;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}.ui5-tp-clock-number.ui5-tp-clock-number-hover:not(.ui5-tp-clock-selected){background-color:var(--sapList_Hover_Background)}.ui5-tp-clock-selected{color:var(--sapButton_Selected_TextColor);background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)} -`};var rt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};const gM=200,bM=100,Rm=6,u_="ui5-tp-clock-number",d_="ui5-tp-clock-number-hover",Lm="ui5-tp-clock-selected",yM="ui5-tp-clock-mid-dot";let qe=class extends j{constructor(){super(),this._fnOnMouseOutUp=()=>{this._mouseOrTouchDown=!1}}get classes(){return{clock:{"ui5-tp-clock":!0,"ui5-tp-clock-inner":this.showInnerCircle,"ui5-tp-clock-active":this.active}}}onEnterDOM(){document.addEventListener("mouseup",this._fnOnMouseOutUp,!1)}onExitDOM(){document.removeEventListener("mouseup",this._fnOnMouseOutUp,!1)}onBeforeRendering(){this._prepareClockItems();const e=this._fixReplacementValue(this.selectedValue);this._updateSelectedValueObject(e)}_fixReplacementValue(e){let t=e;const o=this.itemMax*(this.showInnerCircle?2:1);return t===0&&(t=o),t===o&&this.lastItemReplacement!==-1&&(t=this.lastItemReplacement),t}_updateSelectedValueObject(e){if(e===-1){this._selectedItem={showMarker:!1};return}const t=e>=this.itemMin&&e<=this.itemMax||!this.showInnerCircle&&e===this.lastItemReplacement,o=(e>=this.itemMin+this.itemMax&&e<=this.itemMax*2||e===this.lastItemReplacement)&&this.showInnerCircle,r=360/(this.itemMax-this.itemMin+1),n=this.lastItemReplacement===-1||!this.prependZero?e.toString():e.toString().padStart(2,"0");let s=t||o?e*r:void 0;s!==void 0&&(s%=360),this._selectedItem={angle:s,item:t?e.toString():"",innerItem:o?n:"",showMarker:t||o,itemClasses:u_+(t?` ${Lm}`:""),innerItemClasses:u_+(o?` ${Lm}`:""),outerStyles:{transform:`translate(-50%) rotate(${s||0}deg)`},innerStyles:{transform:`rotate(-${s||0}deg)`}}}_prepareClockItems(){const e=[];let t=this.displayStep,o,r,n;for(this._items=[],n=this.itemMin;n<=this.itemMax;n++)e.push({item:n.toString(),innerItem:this.showInnerCircle?(n+this.itemMax).toString():void 0});this.lastItemReplacement!==-1&&(this.showInnerCircle&&this.prependZero?e[e.length-1].innerItem=this.lastItemReplacement.toString().padStart(2,"0"):e[e.length-1].item=this.lastItemReplacement.toString());const s=360/Rm/e.length;for(this.valueStep*s>t&&(t=this.valueStep*s),n=1;n<=60;n++)r=n/s-1,o=n%t!==0?{}:e[r],o.angle=n*Rm,o.outerStyles={transform:`translate(-50%) rotate(${n*6}deg)`},o.innerStyles={transform:`rotate(-${n*6}deg)`},this._items.push(o)}_getClockCoverContainerDomRef(){const e=this.getDomRef();return e&&e.querySelector(".ui5-tp-clock-cover")}_getMaxValue(){return this.showInnerCircle?this.itemMax*2:this.itemMax}_outerHeight(e){if(!e)return 0;const t=window.getComputedStyle(e);return e.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom)}_hoveredId(e){e===this._getMaxValue()&&this.lastItemReplacement!==-1&&(e=this.lastItemReplacement);const t=this.showInnerCircle&&e===this.lastItemReplacement&&this.prependZero?e.toString().padStart(2,"0"):e.toString();return`#${this._id}-${t}`}_getStringValue(e){return this.prependZero?e.toString().padStart(2,"0"):e.toString()}_calculateDimensions(){const e=this.getDomRef(),t=window.pageXOffset||document.documentElement.scrollLeft,o=window.pageYOffset||document.documentElement.scrollTop;if(!e)return;const r=this.getDomRef(),n=r.querySelector(`.${yM}`),s=r.querySelector(`.${u_}`),l=Math.round(e.offsetHeight/2),_=this._outerHeight(n),p=this._outerHeight(s),v=e.getBoundingClientRect();this._dimensionParameters={radius:l,centerX:l,centerY:l,dotHeight:_,numberHeight:p,outerMax:l,outerMin:l-p,innerMax:l-p-1,innerMin:l-p*2-1,offsetX:v.left+t,offsetY:v.top+o}}_calculatePosition(e,t){const o=e-this._dimensionParameters.offsetX+1-this._dimensionParameters.radius,r=t-this._dimensionParameters.offsetY+1-this._dimensionParameters.radius,n=o>=0?0:180,s=Math.atan(r/o)*180/Math.PI+90+n,l=360/this.itemMax*this.valueStep,_=Math.sqrt(o*o+r*r),p=_<=this._dimensionParameters.outerMax&&_>(this.showInnerCircle?this._dimensionParameters.outerMin:this._dimensionParameters.innerMin),v=this.showInnerCircle&&_<=this._dimensionParameters.innerMax&&_>this._dimensionParameters.innerMin,f=_<=this._dimensionParameters.outerMax&&_>this._dimensionParameters.outerMin,g=v;let w=Math.round((s===0?360:s)/l)*l;w===0&&(w=360),v||p?(this._selectedValue=w/l*this.valueStep,v&&(this._selectedValue+=this.itemMax)):this._selectedValue=-1,this._hoveredValue=g||f?this._selectedValue:-1,this._selectedValue===this._getMaxValue()&&this.lastItemReplacement!==-1&&(this._selectedValue=this.lastItemReplacement)}_changeValueAnimation(e,t=!1){const o=this.itemMax*(this.showInnerCircle?2:1);let r=this._movSelectedValue,n=e,s=1,l,_,p;t?this._setSelectedValue(e):(l=Math.abs(r-n),_=o-l,rr?e-r:e;e===t&&(this._animationInProgress=!1),this._setSelectedValue(l),e!==t?(e+=o,setTimeout(()=>{this._selectNextNumber(e,t,o,r,n,s)},s)):setTimeout(()=>{this.fireEvent("change",{value:n,stringValue:this._getStringValue(n),finalChange:!0})},bM)}_modifyValue(e){let t=this.selectedValue;const o=this.lastItemReplacement,r=this.itemMin,n=this.itemMax*(this.showInnerCircle?2:1);let s=this.valueStep,l;t%s!==0&&(l=e?Math.ceil(t/s)*s:Math.floor(t/s)*s,s=Math.abs(t-l)),t===o&&(t=n),e?(t+=s,t>n&&(t-=n)):(t-=s,t1&&this._hoveredValue!==-1&&(this._hoveredValue=Math.round(this._hoveredValue/this.displayStep)*this.displayStep),!this.disabled&&this._hoveredValue!==this._prevHoveredValue&&(t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.remove(d_),this._prevHoveredValue=this._hoveredValue,t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.add(d_)))}_onTouchEnd(e){this._mouseOrTouchDown&&(this._mouseOrTouchDown=!1,e.preventDefault(),!(this.disabled||this._selectedValue===-1)&&(this._cancelTouchOut||this._changeValueAnimation(this._selectedValue)))}_onMouseWheel(e){const t=e.detail?e.detail>0:e.deltaY>0||e.deltaX>0;e.preventDefault(),this._mouseOrTouchDown||this._modifyValue(t)}_onMouseOut(){const e=this.getDomRef().querySelector(this._hoveredId(this._hoveredValue));e&&e.classList.remove(d_),this._hoveredValue=-1,this._prevHoveredValue=-1}};rt([u({type:Boolean})],qe.prototype,"disabled",void 0);rt([u({type:Boolean})],qe.prototype,"active",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"itemMin",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"itemMax",void 0);rt([u({type:Boolean})],qe.prototype,"showInnerCircle",void 0);rt([u({type:String,defaultValue:void 0})],qe.prototype,"label",void 0);rt([u({type:Boolean})],qe.prototype,"hideFractions",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"lastItemReplacement",void 0);rt([u({type:Boolean})],qe.prototype,"prependZero",void 0);rt([u({validator:z,defaultValue:-1})],qe.prototype,"selectedValue",void 0);rt([u({validator:z,defaultValue:5})],qe.prototype,"displayStep",void 0);rt([u({validator:z,defaultValue:1})],qe.prototype,"valueStep",void 0);rt([u({type:Object,multiple:!0})],qe.prototype,"_items",void 0);rt([u({type:Object})],qe.prototype,"_selectedItem",void 0);rt([u({type:Object})],qe.prototype,"_dimensionParameters",void 0);rt([u({type:Boolean,noAttribute:!0})],qe.prototype,"_mouseOrTouchDown",void 0);rt([u({type:Boolean,noAttribute:!0})],qe.prototype,"_cancelTouchOut",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_selectedValue",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_movSelectedValue",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_hoveredValue",void 0);rt([u({validator:z,defaultValue:-1,noAttribute:!0})],qe.prototype,"_prevHoveredValue",void 0);rt([u({type:Boolean,noAttribute:!0})],qe.prototype,"_animationInProgress",void 0);qe=rt([B({tag:"ui5-time-picker-clock",renderer:ee,styles:mM,template:uM}),$("change",{detail:{value:{type:z},stringValue:{type:String},finalChange:{type:Boolean}}})],qe);qe.define();const wM=qe;function kM(i,e,t){return c` `}function $M(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:c``}function TM(i,e,t){return c`${a(this.buttonTypeText)}`}var $c=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Cn=class extends kc{_onclick(){}};$c([u({validator:z,defaultValue:-1})],Cn.prototype,"valueMin",void 0);$c([u({validator:z,defaultValue:-1})],Cn.prototype,"valueMax",void 0);$c([u({validator:z,defaultValue:-1})],Cn.prototype,"valueNow",void 0);$c([u()],Cn.prototype,"valueText",void 0);Cn=$c([B({tag:"ui5-toggle-spin-button",renderer:ee,styles:[Fe.styles,kc.styles],template:kM})],Cn);Cn.define();const xM=Cn;function SM(i,e,t){return c`
    ${E(this._entities,(o,r)=>o._id||r,(o,r)=>IM.call(this,i,e,t,o,r))}${this._periods.length?CM.call(this,i,e,t):void 0}
    `}function IM(i,e,t,o,r){return t?c`${o.hasSeparator?Mm.call(this,i,e,t,o,r):void 0}<${d("ui5-toggle-spin-button",e,t)} id="${a(this._id)}_button_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .valueMin="${a(o.attributes.min)}" .valueMax="${a(o.attributes.max)}" .valueNow="${a(o.value)}" .valueText="${a(o.textValue)}" .accessibleName="${a(o.label)}" .pressed="${a(o.active)}" ?focused="${o.focused}" @focusin="${this._buttonFocusIn}">${a(o.stringValue)}`:c`${o.hasSeparator?Mm.call(this,i,e,t,o,r):void 0}${a(o.stringValue)}`}function Mm(i,e,t,o,r){return c`:`}function CM(i,e,t){return t?c`<${d("ui5-segmented-button",e,t)} id="${a(this._id)}_AmPm" @click=${this._periodChange} @focusin=${this._amPmFocusIn} @focusout=${this._amPmFocusOut}>${E(this._periods,(o,r)=>o._id||r,(o,r)=>Nm.call(this,i,e,t,o,r))}`:c`${E(this._periods,(o,r)=>o._id||r,(o,r)=>Nm.call(this,i,e,t,o,r))}`}function Nm(i,e,t,o,r){return t?c`<${d("ui5-segmented-button-item",e,t)} ?pressed=${o.pressed}>${a(o.label)}`:c`${a(o.label)}`}function AM(i,e,t,o,r){return t?c`<${d("ui5-time-picker-clock",e,t)} id="${a(this._id)}_clock_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .active="${a(o.active)}" .label="${a(o.label)}" .itemMin="${a(o.itemMin)}" .itemMax="${a(o.itemMax)}" .selectedValue="${a(o.value)}" .displayStep="${a(o.displayStep)}" .valueStep="${a(o.attributes.step)}" .lastItemReplacement="${a(o.lastItemReplacement)}" .showInnerCircle="${a(o.showInnerCircle)}" .prependZero="${a(o.prependZero)}" @ui5-change=${a(this._clockChange)}>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const BM={packageName:"@ui5/webcomponents",fileName:"themes/TimeSelectionClocks.css.ts",content:`.ui5-time-picker-tsc-container{margin:0 auto;box-sizing:border-box;width:100%;padding:1rem;text-align:center}.ui5-time-picker-tsc-container:focus{outline:none}.ui5-time-picker-tsc-buttons{display:flex;justify-content:center;align-items:center;padding-bottom:1rem;width:100%}.ui5-time-picker-tsc-buttons span[separator]{min-width:.5rem;padding:0 .125rem;text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-time-picker-tsc-clocks{display:block;text-align:center;width:100%;touch-action:none} -`};var vd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ca=class extends ll{onBeforeRendering(){this._createComponents()}_buttonComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_button_${o}`):void 0}_clockComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_clock_${o}`):void 0}_clocksFocusIn(e){const t=e.target;this._focused=!0,t.id===this._id&&this._switchClock(this._activeIndex)}_clocksFocusOut(){this._focused=!1}_buttonFocusIn(e){const t=e.target,o=this._getNameFromId(t.id);o&&this._switchTo(o)}_amPmFocusIn(){this._amPmFocused=!0}_amPmFocusOut(){this._amPmFocused=!1}_onkeyup(e){te(e)&&(this._spacePressed=!1)}_onkeydown(e){let t;const o=e.target&&e.target.tagName.toLowerCase().indexOf("segmented")===-1;if(de(e))this.fireEvent("close-picker");else if(te(e)&&o&&!this._spacePressed)e.preventDefault(),this._spacePressed=!0,this._keyboardBuffer="",this._resetCooldown(!0),this._switchNextClock(!0);else if((Le(e)||De(e))&&!gu(e)&&!Tp(e))t=this._clockComponent(this._activeIndex),t&&!t.disabled&&!this._amPmFocused&&t._modifyValue(Le(e)),e.preventDefault();else if(pi(e)||Ci(e))t=this._clockComponent("hours"),t&&!t.disabled&&(this._switchTo("hours"),t._modifyValue(pi(e))),e.preventDefault();else if(ns(e)||lc(e))t=this._clockComponent("minutes"),t&&!t.disabled&&(this._switchTo("minutes"),t._modifyValue(ns(e))),e.preventDefault();else if(El(e)||Gu(e))t=this._clockComponent("seconds"),t&&!t.disabled&&(this._switchTo("seconds"),t._modifyValue(El(e))),e.preventDefault();else if(Nd(e)||nf(e)){const r=this._buttonAmPm();if(r){r.items[0].pressed=Nd(e),r.items[1].pressed=nf(e);const n=Nd(e)?r.items[0].textContent:r.items[1].textContent;n&&this._calculatePeriodChange(n)}e.preventDefault()}else Cx(e)?(this._keyboardBuffer="",this._exactMatch=void 0,this._resetCooldown(!0),this._switchNextClock(!0)):W1(e)&&this._entities[this._activeIndex]&&(this._exactMatch=void 0,this._resetCooldown(!0),this._numbersInput(e))}_numbersInput(e){const t=e.key,o=this._keyboardBuffer+t,r=parseInt(o),n=this._entities[this._activeIndex];let s=this._clockComponent(this._activeIndex);!n||!n.attributes||(r>n.attributes.max?(s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),this._switchNextClock(),this._keyboardBuffer=t,s=this._clockComponent(this._activeIndex),s&&s._setSelectedValue(parseInt(t)),this._resetCooldown(!0)):(this._keyboardBuffer=o,s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),(this._keyboardBuffer.length===2||parseInt(`${this._keyboardBuffer}0`)>n.attributes.max)&&(this._resetCooldown(this._keyboardBuffer.length!==2),this._keyboardBuffer="",this._switchNextClock())))}_focusFirstButton(){this._activeIndex=0,this._buttonComponent(0).focus()}_setExactMatch(){const e=this._clockComponent(this._activeIndex);e&&this._exactMatch!==void 0&&e._setSelectedValue(this._exactMatch)}_createComponents(){const e={hours:parseInt(this._hours),minutes:parseInt(this._minutes),seconds:parseInt(this._seconds)};this._entities=[],this._periods=[],this._componentMap={hours:-1,minutes:-1,seconds:-1},this._hasHoursComponent&&(this._componentMap.hours=this._entities.length,this._entities.push({label:this.hoursLabel,entity:"hours",itemMin:1,itemMax:12,value:e.hours,stringValue:this._hours,textValue:`${e.hours} ${this.hoursLabel}`,displayStep:1,lastItemReplacement:this._hoursConfiguration.isTwelveHoursFormat?-1:0,showInnerCircle:!this._hoursConfiguration.isTwelveHoursFormat,prependZero:this._zeroPaddedHours,hasSeparator:this._entities.length>0,active:!1,attributes:{min:this._hoursConfiguration.minHour,max:this._hoursConfiguration.maxHour,step:1}})),this._hasMinutesComponent&&(this._componentMap.minutes=this._entities.length,this._entities.push({label:this.minutesLabel,entity:"minutes",itemMin:1,itemMax:60,value:e.minutes,stringValue:this._minutes,textValue:`${e.minutes} ${this.minutesLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._hasSecondsComponent&&(this._componentMap.seconds=this._entities.length,this._entities.push({label:this.secondsLabel,entity:"seconds",itemMin:1,itemMax:60,value:e.seconds,stringValue:this._seconds,textValue:`${e.seconds} ${this.secondsLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._entities[this._activeIndex].active=!0,this._entities[this._activeIndex].focused=this._focused&&!this._amPmFocused,this._createPeriodComponent()}_switchTo(e){const t=this._componentKey(e);this._componentMap[t]!==void 0&&this._switchClock(this._componentMap[t])}_switchClock(e){const t=this._buttonComponent(e);this._entities.length&&e=this._entities.length&&(t=e?0:this._entities.length-1);while(r&&r.disabled&&t!==o&&(e||t${this.showHeader?Fm.call(this,i,e,t):void 0}
    <${d("ui5-calendar",e,t)} class="ui5-dt-cal ${T(this.classes.dateTimeView)}" id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}">${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>zm.call(this,i,e,t,o,r))}${this.phone?void 0:Vm.call(this,i,e,t)}${this.showTimeView?Hm.call(this,i,e,t):void 0}
    ${this.showFooter?Um.call(this,i,e,t):void 0} `:c`${this.showHeader?Fm.call(this,i,e,t):void 0}
    ${E(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>zm.call(this,i,e,t,o,r))}${this.phone?void 0:Vm.call(this,i,e,t)}${this.showTimeView?Hm.call(this,i,e,t):void 0}
    ${this.showFooter?Um.call(this,i,e,t):void 0}
    `}function Fm(i,e,t){return c`${this.phone?DM.call(this,i,e,t):void 0}`}function DM(i,e,t){return t?c`
    <${d("ui5-segmented-button",e,t)} class="ui5-dt-picker-toggle-button"><${d("ui5-toggle-button",e,t)} key="Date" ?pressed="${this.showDateView}" @click="${this._dateTimeSwitchChange}">${a(this.btnDateLabel)}<${d("ui5-toggle-button",e,t)} key="Time" ?pressed="${this.showTimeView}" @click="${this._dateTimeSwitchChange}">${a(this.btnTimeLabel)}
    `:c`
    ${a(this.btnDateLabel)}${a(this.btnTimeLabel)}
    `}function zm(i,e,t,o,r){return t?c`<${d("ui5-date",e,t)} value="${a(o)}">`:c``}function Vm(i,e,t){return c``}function Hm(i,e,t){return t?c`<${d("ui5-time-selection-clocks",e,t)} id="${a(this._id)}-time-sel" class="ui5-dt-time ${T(this.classes.dateTimeView)}" format-pattern="${a(this._formatPattern)}" value="${a(this._timeSelectionValue)}" @ui5-change="${a(this.onTimeSelectionChange)}" ._calendarType="${a(this._primaryCalendarType)}">`:c``}function Um(i,e,t){return t?c``:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const PM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePicker.css.ts",content:`:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{min-width:inherit;color:inherit;background-color:inherit} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const OM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePickerPopover.css.ts",content:`.ui5-dt-picker-content{display:flex;flex-direction:row;height:var(--_ui5-v1-22-1-rc-0_datetime_picker_height);min-width:var(--_ui5-v1-22-1-rc-0_datetime_picker_width);box-sizing:border-box;justify-content:center}.ui5-dt-picker-toggle-button{width:8rem}.ui5-dt-cal{width:auto;box-sizing:border-box}.ui5-dt-time{width:100%;min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_width);box-sizing:border-box}.ui5-dt-cal.ui5-dt-cal--hidden,.ui5-dt-time.ui5-dt-time--hidden{display:none}.ui5-dt-picker-header{display:flex;justify-content:center;width:100%;margin-top:1rem;box-sizing:border-box}.ui5-dt-picker-separator{height:calc(100% - 2rem);width:0px;margin-top:1rem;margin-bottom:1rem;border-left:1px solid var(--sapGroup_ContentBorderColor);box-sizing:border-box}.ui5-dt-picker-footer{display:flex;justify-content:flex-end;align-items:center;height:2.75rem;width:100%}.ui5-dt-picker-footer.ui5-dt-picker-footer-time-hidden{padding:0}.ui5-dt-picker-action{margin:.25rem}#ok.ui5-dt-picker-action{width:4rem}.ui5-dt-picker-content--phone.ui5-dt-picker-content{min-width:20rem;height:calc(100% - 4rem)}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-time-selection-clocks]{height:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width);width:auto}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-calendar]{margin-bottom:var(--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom)}.ui5-dt-picker-content--phone .ui5-dt-cal{width:100%}.ui5-dt-picker-content--phone .ui5-dt-time{min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width)} -`};var fd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Jn;const RM=640;let va=Jn=class extends Ul{constructor(){super(),this._handleResizeBound=this._handleResize.bind(this)}onResponsivePopoverAfterClose(){super.onResponsivePopoverAfterClose(),this._showTimeView=!1,this._previewValues={}}onEnterDOM(){Pe.register(document.body,this._handleResizeBound)}onExitDOM(){Pe.deregister(document.body,this._handleResizeBound)}async openPicker(){await super.openPicker(),this._previewValues={...this._previewValues,timeSelectionValue:this.value||this.getFormat().format(new Date)}}get classes(){return{picker:{"ui5-dt-picker-content--phone":this.phone},dateTimeView:{"ui5-dt-cal--hidden":this.phone&&this.showTimeView,"ui5-dt-time--hidden":this.phone&&this.showDateView},footer:{"ui5-dt-picker-footer-time-hidden":this.phone&&this.showTimeView||this.phone&&this.showDateView}}}get _formatPattern(){const e=!!this.formatPattern.match(/H/i),t=!this.formatPattern||!e,o=Lo(Ee());return t?o.getCombinedDateTimePattern("medium","medium",this._primaryCalendarType):this.formatPattern}get _calendarTimestamp(){return this._previewValues.calendarTimestamp?this._previewValues.calendarTimestamp:super._calendarTimestamp}get _calendarSelectedDates(){return this._previewValues.calendarValue?[this._previewValues.calendarValue]:super._calendarSelectedDates}get _timeSelectionValue(){return this._previewValues.timeSelectionValue?this._previewValues.timeSelectionValue:this.value}get openIconName(){return"date-time"}get btnOKLabel(){return Jn.i18nBundle.getText(Xp)}get btnCancelLabel(){return Jn.i18nBundle.getText(Zp)}get btnDateLabel(){return Jn.i18nBundle.getText(Y0)}get btnTimeLabel(){return Jn.i18nBundle.getText(K0)}get showFooter(){return!0}get showDateView(){return this.phone?!this._showTimeView:!0}get showTimeView(){return this.phone?this._showTimeView:!0}get phone(){return super.phone||this._phoneMode}get dateAriaDescription(){return Jn.i18nBundle.getText(N2)}get _shouldHideHeader(){return!0}onSelectedDatesChange(e){e.preventDefault();const t=e.path?e.path[1]:e.composedPath()[1];this._previewValues={...this._previewValues,calendarTimestamp:e.detail.timestamp,calendarValue:e.detail.values[0],timeSelectionValue:t.lastChild.value}}onTimeSelectionChange(e){this._previewValues={...this._previewValues,timeSelectionValue:e.detail.value}}_handleResize(){const t=document.body.offsetWidth<=RM;(t&&!this._phoneMode||!t&&this._phoneMode)&&(this._phoneMode=t)}get _submitDisabled(){return!this._calendarSelectedDates||!this._calendarSelectedDates.length}_submitClick(){const e=this.getSelectedDateTime(),t=this.getFormat().format(e);this.value!==t&&this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}_cancelClick(){this.closePicker()}_dateTimeSwitchChange(e){const t=e.target;this._showTimeView=t.getAttribute("key")==="Time"}_modifyDateValue(e,t,o){if(!this.dateValue)return;const n=Vl(pe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate).toLocalJSDate();n.setHours(this.dateValue.getHours()),n.setMinutes(this.dateValue.getMinutes()),n.setSeconds(this.dateValue.getSeconds());const s=this.formatValue(n);this._updateValueAndFireEvents(s,!0,["change","value-changed"])}async getPicker(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}getSelectedDateTime(){const e=this.getFormat().parse(this._calendarSelectedDates[0]),t=this.getFormat().parse(this._timeSelectionValue);return t&&(e.setHours(t.getHours()),e.setMinutes(t.getMinutes()),e.setSeconds(t.getSeconds())),e}get _calendarPickersMode(){return ho.DAY_MONTH_YEAR}};fd([u({type:Boolean,noAttribute:!0})],va.prototype,"_showTimeView",void 0);fd([u({type:Boolean})],va.prototype,"_phoneMode",void 0);fd([u({type:Object})],va.prototype,"_previewValues",void 0);va=Jn=fd([B({tag:"ui5-datetime-picker",staticAreaTemplate:EM,styles:[va.styles,PM],staticAreaStyles:[Ul.staticAreaStyles,OM],dependencies:[...Ul.dependencies,ok,Fe,kc,vv,ck]})],va);va.define();function LM(i,e,t){return c`
    ${this.hideInput?void 0:MM.call(this,i,e,t)}
    ${this._keepInputInShadowDOM?NM.call(this,i,e,t):FM.call(this,i,e,t)}
    `}function MM(i,e,t){return t?c`<${d("ui5-input",e,t)} value="${a(this.value)}" value-state="${a(this.valueState)}" placeholder="${a(this.placeholder)}" ?disabled="${this.disabled}" tabindex="-1" class="ui5-file-uploader-input">`:c``}function NM(i,e,t){return c``}function FM(i,e,t){return c``}function zM(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    ${this._valueStateMessageInputIcon?Wm.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?qm.call(this,i,e,t):jm.call(this,i,e,t)}
    `:c`
    ${this._valueStateMessageInputIcon?Wm.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?qm.call(this,i,e,t):jm.call(this,i,e,t)}
    `}function Wm(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">`:c``}function qm(i,e,t){return c`${a(this.valueStateText)}`}function jm(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>VM.call(this,i,e,t,o,r))}`}function VM(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const HM={packageName:"@ui5/webcomponents",fileName:"themes/FileUploader.css.ts",content:`:host{vertical-align:middle}:host{display:inline-block}.ui5-file-uploader-root{position:relative}.ui5-file-uploader-root input[type=file]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.ui5-file-uploader-root input[type=file]:not([disabled]){cursor:pointer}.ui5-file-uploader-mask{display:flex;align-items:center}.ui5-file-uploader-mask [ui5-input]{margin-right:.25rem}:host([value-state="None"]:not([disabled]):hover) [ui5-input],:host(:not([value-state]):not([disabled]):hover) [ui5-input]{border:var(--_ui5-v1-22-1-rc-0_file_uploader_hover_border);background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Error"]:not([disabled]):hover) [ui5-input]{background-color:var(--_ui5-v1-22-1-rc-0_file_uploader_value_state_error_hover_background_color);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Warning"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}:host(:not([disabled]):active) [ui5-button]{background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor);text-shadow:none} -`};var lo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ir;let bi=ir=class extends j{static get formAssociated(){return!0}constructor(){super(),this._internals=this.attachInternals&&this.attachInternals()}_onmouseover(){this.content.forEach(e=>{e.classList.add("ui5_hovered")})}_onmouseout(){this.content.forEach(e=>{e.classList.remove("ui5_hovered")})}_onclick(e){pa(e)==="button"&&this._input.click()}_onkeydown(e){de(e)&&(this._input.click(),e.preventDefault())}_onkeyup(e){te(e)&&(this._input.click(),e.preventDefault())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get files(){return this._input?this._input.files:ir._emptyFilesList}onBeforeRendering(){this._enableFormSupport()}onAfterRendering(){this.value||(this._input.value=""),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover)}_enableFormSupport(){const e=Se("FormSupport");e?this._canUseNativeFormSupport?this._setFormValue():e.syncNativeFileInput(this,(t,o)=>{o.disabled=!!t.disabled},this._onChange.bind(this)):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onChange(e){const t=e.target.files;this._updateValue(t),this.fireEvent("change",{files:t})}_updateValue(e){this.value=Array.from(e||[]).reduce((t,o)=>`${t}"${o.name}" `,"")}_setFormValue(){const e=new FormData;if(this.files)for(let t=0;te.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this.hideInput}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}get styles(){return{popoverHeader:{width:`${this.ui5Input?this.ui5Input.offsetWidth:0}px`}}}get ui5Input(){return this.shadowRoot.querySelector(".ui5-file-uploader-input")}static async onDefine(){ir.i18nBundle=await oe("@ui5/webcomponents")}};lo([u()],bi.prototype,"accept",void 0);lo([u({type:Boolean})],bi.prototype,"hideInput",void 0);lo([u({type:Boolean})],bi.prototype,"disabled",void 0);lo([u({type:Boolean})],bi.prototype,"multiple",void 0);lo([u()],bi.prototype,"name",void 0);lo([u()],bi.prototype,"placeholder",void 0);lo([u()],bi.prototype,"value",void 0);lo([u({type:y,defaultValue:y.None})],bi.prototype,"valueState",void 0);lo([u({type:Boolean})],bi.prototype,"focused",void 0);lo([F({type:HTMLElement,default:!0})],bi.prototype,"content",void 0);lo([F()],bi.prototype,"valueStateMessage",void 0);lo([F()],bi.prototype,"formSupport",void 0);bi=ir=lo([B({tag:"ui5-file-uploader",languageAware:!0,renderer:ee,styles:HM,template:LM,staticAreaTemplate:zM,staticAreaStyles:[Wo,On],dependencies:[vr,fo,Ie]}),$("change",{detail:{files:{type:FileList}}})],bi);bi.define();function UM(i,e,t){return t?c`
    ${a(this._tokensCountText)}<${d("ui5-tokenizer",e,t)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} .valueState=${a(this.valueState)} ?expanded="${this.expandedTokenizer}" show-more @keydown="${this._onTokenizerKeydown}" @ui5-show-more-items-press=${a(this.showMorePress)} @ui5-token-delete=${a(this.tokenDelete)} @focusout="${this._tokenizerFocusOut}">
    ${this.shouldDisplayDefaultValueStateMessage?Gm.call(this,i,e,t):Ym.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?Km.call(this,i,e,t):void 0}${this.icon.length?Xm.call(this,i,e,t):void 0}
    ${wn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?Zm.call(this,i,e,t):void 0}${this.showSuggestions?Qm.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?Jm.call(this,i,e,t):void 0}${this.hasValueState?eg.call(this,i,e,t):void 0}
    `:c`
    ${a(this._tokensCountText)}
    ${this.shouldDisplayDefaultValueStateMessage?Gm.call(this,i,e,t):Ym.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?Km.call(this,i,e,t):void 0}${this.icon.length?Xm.call(this,i,e,t):void 0}
    ${wn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?Zm.call(this,i,e,t):void 0}${this.showSuggestions?Qm.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?Jm.call(this,i,e,t):void 0}${this.hasValueState?eg.call(this,i,e,t):void 0}
    `}function Gm(i,e,t){return c`${a(this.valueStateText)}`}function Ym(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>WM.call(this,i,e,t,o,r))}`}function WM(i,e,t,o,r){return c`${a(o)}`}function Km(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function Xm(i,e,t){return c`
    `}function Zm(i,e,t){return t?c`<${d("ui5-icon",e,t)} @click=${this.valueHelpPress} @mousedown=${this.valueHelpMouseDown} @mouseup=${this.valueHelpMouseUp} input-icon name="value-help">`:c``}function Qm(i,e,t){return c`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function Jm(i,e,t){return c`${a(this.accInfo.input.ariaDescription)}`}function eg(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const qM={packageName:"@ui5/webcomponents",fileName:"themes/MultiInput.css.ts",content:`[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}.ui5-multi-input-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-input-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-input-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-input-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} -`},jM="sys-cancel",uk="M512 256q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256t20.5-100 55-81.5T157 20t99-20q53 0 100 20t81.5 54.5T492 156t20 100zm-32 0q0-47-17.5-87.5t-48-71-71.5-48T256 32t-87 18-71.5 48.5-48 71T32 256q0 47 17.5 88t48 71 71.5 47.5 87 17.5q47 0 88-17.5t71-47.5 47.5-71 17.5-88zm-186-7q-5 3-1 9l89 89q9 8 0 17l-16 17q-8 4-9 4t-9-4l-89-89q-1-2-4-2-4 0-5 2l-88 89q-6 4-9 4-1 0-9-4l-16-17q-8-9 0-17l88-89q5-5 0-9l-88-89q-8-9 0-17l16-17q4-4 9-4t9 4l88 89q2 2 5 2 2 0 4-2l89-89q4-4 9-4t9 4l16 17q9 8 0 17z",GM=!1,YM="SAP-icons-v4",KM="@ui5/webcomponents-icons";Y(jM,{pathData:uk,ltr:GM,collection:YM,packageName:KM});const XM="sys-cancel",dk="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 461q42 0 79.5-16t65.5-44 44-65.5 16-79.5-16-79.5-44-65.5-65.5-44T256 51t-79.5 16-65.5 44-44 65.5T51 256t16 79.5 44 65.5 65.5 44 79.5 16zm70-301q11 0 18.5 7.5T352 186t-7 18l-53 52 53 52q7 7 7 18t-7.5 18.5T326 352q-10 0-18-8l-52-52-52 52q-8 8-18 8-11 0-18.5-7.5T160 326q0-10 8-18l52-52-52-52q-8-8-8-18 0-11 7.5-18.5T186 160t18 7l52 53 52-53q7-7 18-7z",ZM=!1,QM="SAP-icons-v5",JM="@ui5/webcomponents-icons";Y(XM,{pathData:dk,ltr:ZM,collection:QM,packageName:JM});we();function eN(i,e,t){return c`
    ${a(this.text)}${this.readonly?void 0:tN.call(this,i,e,t)}
    `}function tN(i,e,t){return c`
    ${this.closeIcon.length?iN.call(this,i,e,t):oN.call(this,i,e,t)}
    `}function iN(i,e,t){return c``}function oN(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.iconURI)}" accessible-name="${a(this.tokenDeletableText)}" show-tooltip @click="${this._delete}">`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const rN={packageName:"@ui5/webcomponents",fileName:"themes/Token.css.ts",content:`:host{display:inline-block;background:var(--_ui5-v1-22-1-rc-0_token_background);border:var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_border_radius);color:var(--_ui5-v1-22-1-rc-0_token_text_color);height:var(--_ui5-v1-22-1-rc-0_token_height);box-sizing:border-box}:host(:not([single-token])){margin-inline-end:var(--_ui5-v1-22-1-rc-0_token_right_margin)}:host([overflows]){display:none}:host(:not([readonly]):hover){background:var(--sapButton_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_hover_border_color)}:host([selected]:not([readonly])){color:var(--sapButton_Selected_TextColor)}:host([selected]:not([readonly])){background:var(--sapButton_Selected_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_Selected_BorderColor)}:host([selected]:not([readonly])) .ui5-token--wrapper{border-bottom:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius)}:host([selected]:not([readonly]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_selected_hover_border_color)}:host([readonly]){background:var(--_ui5-v1-22-1-rc-0_token_readonly_background);border-color:var(--sapField_ReadOnly_BorderColor);color:var(--_ui5-v1-22-1-rc-0_token_readonly_color)}:host([readonly]) .ui5-token--wrapper{padding:var(--_ui5-v1-22-1-rc-0_token_readonly_padding)}:host([selected]) .ui5-token--wrapper:focus{outline:var(--_ui5-v1-22-1-rc-0_token_selected_focus_outline)}:host([selected]:not([readonly])) .ui5-token--text,:host([selected]:not([readonly])) .ui5-token--icon{top:var(--_ui5-v1-22-1-rc-0_token_text_icon_top);position:relative}:host([focused][selected]:not([readonly]):not(:hover)){background:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor);border:var(--_ui5-v1-22-1-rc-0_token_focused_selected_border)}.ui5-token--wrapper{display:flex;align-items:center;height:100%;width:100%;cursor:default;padding-inline-start:var(--_ui5-v1-22-1-rc-0_token_left_padding);box-sizing:border-box;font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);user-select:none}.ui5-token--wrapper{position:relative}:host([selected]) .ui5-token--wrapper{font-family:var(--_ui5-v1-22-1-rc-0_token_selected_text_font_family)}.ui5-token--wrapper:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_token_outline_offset);outline:var(--_ui5-v1-22-1-rc-0_token_focus_outline)}.ui5-token--wrapper:focus:after{content:var(--ui5-v1-22-1-rc-0_token_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_focus_outline_border_radius);top:var(--_ui5-v1-22-1-rc-0_token_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_token_focus_offset);left:var(--_ui5-v1-22-1-rc-0_token_focus_offset);right:var(--_ui5-v1-22-1-rc-0_token_focus_offset)}:host([focused][selected]:not([readonly])) .ui5-token--wrapper:focus:after{bottom:var(--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom)}.ui5-token--text{white-space:nowrap}.ui5-token--icon{display:flex}:host([selected]) .ui5-token--icon>[ui5-icon],:host([selected]) ::slotted([ui5-icon]){color:var(--sapButton_Selected_TextColor)}.ui5-token--icon>[ui5-icon],::slotted([ui5-icon]){color:inherit;cursor:pointer;width:var(--_ui5-v1-22-1-rc-0_token_icon_size);height:var(--_ui5-v1-22-1-rc-0_token_icon_size);padding:var(--_ui5-v1-22-1-rc-0_token_icon_padding);color:var(--sapContent_IconColor)}:host([single-token]){max-width:100%}:host([single-token]) .ui5-token--wrapper{max-width:100%}:host([single-token]) .ui5-token--text{overflow:hidden;text-overflow:ellipsis;max-width:100%} -`};var Sr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},lu;let to=lu=class extends j{_handleSelect(){this.toBeDeleted||(this.selected=!this.selected,this.fireEvent("select"))}_focusin(){this.focused=!0}_focusout(){this.focused=!this.focused}_delete(){this.toBeDeleted=!0,this.fireEvent("delete")}_keydown(e){const t=sc(e),o=rs(e);!this.readonly&&(t||o)&&(e.preventDefault(),this.fireEvent("delete",{backSpace:t,delete:o})),(te(e)||$p(e))&&(e.preventDefault(),this._handleSelect())}onBeforeRendering(){this.toBeDeleted=!1}get tokenDeletableText(){return lu.i18nBundle.getText(X0)}get iconURI(){return Pa().includes("sap_belize")?"sys-cancel":"decline"}get textDom(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-token--text")}get isTruncatable(){return this.textDom?Math.ceil(this.textDom.getBoundingClientRect().width)${a(this.tokenizerLabel)}
    ${E(this.tokens,(o,r)=>o._id||r,(o,r)=>aN.call(this,i,e,t,o,r))}
    ${this.showNMore?sN.call(this,i,e,t):void 0}`}function aN(i,e,t,o,r){return c``}function sN(i,e,t){return c`${a(this._nMoreText)}`}function lN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} tokenizer-popover="true" style=${S(this.styles.popover)} class=${T(this.classes.popover)} ?content-only-on-desktop="${this.noValueStatePopover}" hide-arrow placement-type="Bottom" horizontal-align="Left" @before-close=${this.handleBeforeClose} @before-open="${this.handleBeforeOpen}">${this._isPhone?void 0:tg.call(this,i,e,t)}${this._isPhone?og.call(this,i,e,t):void 0}<${d("ui5-list",e,t)} class="ui5-tokenizer-list" mode="Delete" @ui5-item-delete=${a(this.itemDelete)}>${E(this._tokens,(o,r)=>o._id||r,(o,r)=>ag.call(this,i,e,t,o,r))}${this._isPhone?sg.call(this,i,e,t):void 0}`:c`${this._isPhone?void 0:tg.call(this,i,e,t)}${this._isPhone?og.call(this,i,e,t):void 0}${E(this._tokens,(o,r)=>o._id||r,(o,r)=>ag.call(this,i,e,t,o,r))}${this._isPhone?sg.call(this,i,e,t):void 0}`}function tg(i,e,t){return c`
    ${this.noValueStatePopover?void 0:cN.call(this,i,e,t)}
    `}function cN(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}
    `:c`
    ${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}
    `}function ig(i,e,t,o,r){return c`${a(o)}`}function og(i,e,t){return t?c`
    <${d("ui5-title",e,t)} level="H5" class="ui5-responsive-popover-header-text">${a(this.morePopoverTitle)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closeMorePopover}">
    ${this.noValueStatePopover?void 0:rg.call(this,i,e,t)}`:c`
    ${a(this.morePopoverTitle)}
    ${this.noValueStatePopover?void 0:rg.call(this,i,e,t)}`}function rg(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ng.call(this,i,e,t,o,r))}
    `:c`
    ${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>ng.call(this,i,e,t,o,r))}
    `}function ng(i,e,t,o,r){return c`${a(o)}`}function ag(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .tokenRef=${a(o)} wrapping-type="Normal">${a(o.text)}`:c`${a(o.text)}`}function sg(i,e,t){return t?c``:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const uN={packageName:"@ui5/webcomponents",fileName:"themes/Tokenizer.css.ts",content:`.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:1px solid black;height:2.25rem}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;overflow-x:scroll;box-sizing:border-box;font-family:"72override",var(--sapFontFamily)}.ui5-tokenizer-no-padding{padding:0}.ui5-tokenizer-root.ui5-tokenizer-nmore--wrapper{overflow:hidden}.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-v1-22-1-rc-0_tokenizer_padding);height:100%;box-sizing:border-box}: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:.25rem;cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5-v1-22-1-rc-0_tokenizer_n_more_text_color)} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const dN={packageName:"@ui5/webcomponents",fileName:"themes/TokenizerPopover.css.ts",content:`[ui5-responsive-popover]::part(header),[ui5-responsive-popover]::part(content){padding:0}#ui5-tokenizer-dialog-confirm-btn{height:100%;min-width:4rem}[ui5-responsive-popover]{margin-top:var(--_ui5-v1-22-1-rc-0_tokenizer-popover_offset);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_tokenizer_padding))} -`};var xo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},or,hs;(function(i){i.cut="cut",i.copy="copy"})(hs||(hs={}));let yi=or=class extends j{_handleResize(){this._nMoreCount=this.overflownTokens.length}constructor(){super(),this._resizeHandler=this._handleResize.bind(this),this._itemNav=new _r(this,{currentIndex:-1,getItemsCallback:this._getVisibleTokens.bind(this)}),this._scrollEnablement=new sv(this)}onBeforeRendering(){this._tokensCount=this._getTokens().length,this._tokens.forEach(e=>{e.singleToken=this._tokens.length===1}),this._tokens.length||this.closeMorePopover()}onEnterDOM(){Pe.register(this.contentDom,this._resizeHandler)}onExitDOM(){Pe.deregister(this.contentDom,this._resizeHandler)}async _openMorePopoverAndFireEvent(){this.preventPopoverOpen||await this.openMorePopover(),this.fireEvent("show-more-items-press")}async openMorePopover(){(await this.getPopover()).showAt(this.morePopoverOpener||this)}_getTokens(){return this.getSlottedNodes("tokens")}get _tokens(){return this.getSlottedNodes("tokens")}_onmousedown(e){if(e.target.hasAttribute("ui5-token")){const t=e.target;t.toBeDeleted||this._itemNav.setCurrentItem(t)}}onTokenSelect(){const e=this._getTokens();e.length===1&&e[0].isTruncatable&&(e[0].selected?this.openMorePopover():this.closeMorePopover())}_getVisibleTokens(){return this.disabled?[]:this._tokens.filter((e,t)=>tthis.deleteToken(o,e.detail.backSpace)):this.deleteToken(t,e.detail.backSpace)}_tokenClickDelete(e,t){const o=this._getVisibleTokens(),r=e.target,n=t?o.indexOf(t):o.indexOf(r),s=n===o.length-1?n-1:n+1,l=o[s];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:t||r})}_handleCurrentItemAfterDeletion(e){e&&!G()&&(this._itemNav.setCurrentItem(e),setTimeout(()=>{e.focus()},0))}deleteToken(e,t){const o=this._getVisibleTokens(),r=o.indexOf(e);let n=r===o.length-1?r-1:r+1;const s=o.filter(_=>!_.selected);t?n=r===0?r+1:r-1:n=r===o.length-1?r-1:r+1;let l=o[n];if(s.length>1)for(;l&&l.selected;)l=t?o[--n]:o[++n];else l=s[0];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:e})}async itemDelete(e){const t=e.detail.item.tokenRef;if(this._getTokens().length===1&&this._getTokens()[0].isTruncatable){const o=await this.getPopover();o.addEventListener("ui5-after-close",()=>{this.fireEvent("token-delete",{ref:t})},{once:!0}),o.close()}else this.fireEvent("token-delete",{ref:t})}handleBeforeClose(){G()&&this._getTokens().forEach(e=>{e.selected=!1})}handleBeforeOpen(){this.fireEvent("before-more-popover-open")}_onkeydown(e){if(Qa(e)&&e.preventDefault(),te(e)||$p(e))return e.preventDefault(),this._handleTokenSelection(e,!1);w_(e)&&this._handleHomeShift(e),k_(e)&&this._handleEndShift(e),this._handleItemNavigation(e,this._tokens)}_handleItemNavigation(e,t){const o=!!(e.metaKey||e.ctrlKey),r=e.target;if(Ja(e)||_a(e)||Mr(e)||Lr(e))return this._handleArrowCtrl(e,r,t,_a(e)||Mr(e));if(y_(e)||bu(e)||cr(e)||Ro(e)||bx(e)||Jv(e))return e.preventDefault(),this._handleArrowShift(r,t,bu(e)||Jv(e)||Ro(e));if(St(e)||si(e)||Ts(e)||ma(e))return e.preventDefault(),this._handleHome(t,si(e)||ma(e));if(o&&e.key.toLowerCase()==="a")return e.preventDefault(),this._toggleTokenSelection(t);if(ft(e)||it(e)||Le(e)||De(e)){const n=this._calcNextTokenIndex(this._tokens.find(s=>s.focused),t,it(e)||De(e));this._scrollToToken(t[n])}}_handleHome(e,t){if(!e||!e.length)return-1;const o=t?e.length-1:0;e[o].focus(),this._itemNav.setCurrentItem(e[o])}_handleHomeShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s<=r).forEach(n=>{n.selected=!0}),t[0].focus(),this._itemNav.setCurrentItem(t[0])}_handleEndShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s>=r).forEach(n=>{n.selected=!0}),t[t.length-1].focus(),this._itemNav.setCurrentItem(t[t.length-1])}_calcNextTokenIndex(e,t,o){if(!t.length)return-1;const r=t.indexOf(e);let n=o?r+1:r-1;return n>=t.length&&(n=t.length-1),n<0&&(n=0),n}_handleArrowCtrl(e,t,o,r){const n=this._calcNextTokenIndex(t,o,r);e.preventDefault(),n!==-1&&(setTimeout(()=>{o[n].focus()},0),this._scrollToToken(o[n]),this._itemNav.setCurrentItem(o[n]))}_handleArrowShift(e,t,o){const r=t.indexOf(e),n=o?r+1:r-1;n===-1||n===t.length||(e.selected=!0,t[n].selected=!0,setTimeout(()=>{t[n].focus()},0),this._scrollToToken(t[n]),this._itemNav.setCurrentItem(t[n]))}_click(e){this._handleTokenSelection(e)}_toggleTokenSelection(e){if(!e||!e.length)return;const t=e.every(o=>o.selected);e.forEach(o=>{o.selected=!t})}_handleTokenSelection(e,t=!0){const o=e.target;o.hasAttribute("ui5-token")&&(t?this._tokens:[]).forEach(n=>{n!==o&&(n.selected=!1)})}_fillClipboard(e,t){const o=t.filter(n=>n.selected).map(n=>n.text).join(`\r -`),r=n=>{n.clipboardData&&n.clipboardData.setData("text/plain",o),n.preventDefault()};document.addEventListener(e,r),document.execCommand(e),document.removeEventListener(e,r)}scrollToStart(){this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(0,0)}scrollToEnd(){const e=this.expandedContentDom&&(this.effectiveDir!=="rtl"?this.expandedContentDom.scrollWidth:-this.expandedContentDom.scrollWidth);this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(e,0,5,10)}_scrollToToken(e){if(!this.expandedContentDom)return;const t=e.getBoundingClientRect(),o=this.expandedContentDom.getBoundingClientRect();t.lefto.right&&this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft+(t.right-o.right+5),0)}async closeMorePopover(){(await this.getPopover()).close(!1,!1,!0)}get _nMoreText(){if(this._nMoreCount)return this._getVisibleTokens().length?or.i18nBundle.getText(p0,this._nMoreCount):or.i18nBundle.getText(iy,this._nMoreCount)}get showNMore(){return!this.expanded&&this.showMore&&!!this.overflownTokens.length}get contentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer--content")}get expandedContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-expanded--content")}get narrowContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-nmore--content")}get tokenizerLabel(){return or.i18nBundle.getText(ey)}get morePopoverTitle(){return or.i18nBundle.getText(ty)}get overflownTokens(){return this.contentDom?(this._getTokens().forEach(e=>{e.overflows=!1}),this._getTokens().filter(e=>{const t=this.contentDom.getBoundingClientRect(),o=e.getBoundingClientRect(),r=Number(o.right.toFixed(2)),n=Number(t.right.toFixed(2)),s=Number(o.left.toFixed(2)),l=Number(t.left.toFixed(2));return e.overflows=!this.expanded&&(sn),e.overflows})):[]}get noValueStatePopover(){return this.valueState===y.None||this.valueState===y.Success}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get _valueStateMessageIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get _isPhone(){return G()}get _selectedTokens(){return this._getTokens().filter(e=>e.selected)}get classes(){return{wrapper:{"ui5-tokenizer-root":!0,"ui5-tokenizer-nmore--wrapper":this.showMore,"ui5-tokenizer-no-padding":!this._getTokens().length},content:{"ui5-tokenizer--content":!0,"ui5-tokenizer-expanded--content":!this.showNMore,"ui5-tokenizer-nmore--content":this.showNMore},popover:{"ui5-popover-with-value-state-header-phone":this._isPhone&&!this.noValueStatePopover,"ui5-popover-with-value-state-header":!this._isPhone&&!this.noValueStatePopover},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information}}}get styles(){return{popover:{"min-width":this.popoverMinWidth?`${this.popoverMinWidth}px`:""},popoverValueStateMessage:{width:this.popoverMinWidth&&!G()?`${this.popoverMinWidth}px`:"100%","min-height":"2rem"},popoverHeader:{"min-height":"2rem"},popoverHeaderTitle:{"justify-content":"left"}}}_tokensCountText(){const e=this._getTokens().length;return e===0?or.i18nBundle.getText(Z0):e===1?or.i18nBundle.getText(Q0):or.i18nBundle.getText(J0,e)}_focusLastToken(){if(this.tokens.length===0)return;const e=this.tokens[this.tokens.length-1];e.focus(),this._itemNav.setCurrentItem(e)}static async onDefine(){or.i18nBundle=await oe("@ui5/webcomponents")}async getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}};xo([u({type:Boolean})],yi.prototype,"showMore",void 0);xo([u({type:Boolean})],yi.prototype,"disabled",void 0);xo([u({type:Boolean})],yi.prototype,"preventPopoverOpen",void 0);xo([u({type:Boolean})],yi.prototype,"expanded",void 0);xo([u({type:Object})],yi.prototype,"morePopoverOpener",void 0);xo([u({validator:z})],yi.prototype,"popoverMinWidth",void 0);xo([u({type:y,defaultValue:y.None})],yi.prototype,"valueState",void 0);xo([u({validator:z})],yi.prototype,"_nMoreCount",void 0);xo([u({validator:z})],yi.prototype,"_tokensCount",void 0);xo([F({type:HTMLElement,default:!0,individualSlots:!0})],yi.prototype,"tokens",void 0);xo([F()],yi.prototype,"valueStateMessage",void 0);yi=or=xo([B({tag:"ui5-tokenizer",languageAware:!0,renderer:ee,template:nN,styles:uN,staticAreaStyles:[Wo,On,cd,dN],staticAreaTemplate:lN,dependencies:[wo,xr,Ra,rv,Fe]}),$("token-delete",{detail:{ref:{type:HTMLElement}}}),$("show-more-items-press",{detail:{ref:{type:HTMLElement}}}),$("before-more-popover-open")],yi);yi.define();const hk=yi,_N="value-help",pk="M470 41q10 9 10 23v192q0 12-10 22t-22 10H256q-14 0-23-10-9-9-9-22V64q0-14 9-23t23-9h192q13 0 22 9zm-22 23H256v192h192V64zm-96 256h32v128q0 14-9 23t-23 9H64q-12 0-23-9-9-9-9-23V160q0-14 9-23t23-9h128v32H64v288h288V320z",hN=!1,pN="SAP-icons-v4",vN="@ui5/webcomponents-icons";Y(_N,{pathData:pk,ltr:hN,collection:pN,packageName:vN});const fN="value-help",vk="M422 32q24 0 41 17t17 41v204q0 24-17 41t-41 17h-12q-11 0-18.5-7.5T384 326t7.5-18 18.5-7h12q7 0 7-7V90q0-7-7-7H218q-7 0-7 7v12q0 11-7 18.5t-18 7.5-18.5-7.5T160 102V90q0-24 17-41t41-17h204zM294 160q24 0 41 17t17 41v204q0 24-17 41t-41 17H90q-24 0-41-17t-17-41V218q0-24 17-41t41-17h204zm7 58q0-7-7-7H90q-7 0-7 7v204q0 7 7 7h204q7 0 7-7V218z",mN=!1,gN="SAP-icons-v5",bN="@ui5/webcomponents-icons";Y(fN,{pathData:vk,ltr:mN,collection:gN,packageName:bN});we();var Tc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Oh;let Aa=Oh=class extends vr{constructor(){super(),this._skipOpenSuggestions=!1,this._valueHelpIconPressed=!1}valueHelpPress(){this.closePopover(),this.fireEvent("value-help-trigger")}showMorePress(){this.expandedTokenizer=!1,this.focus()}tokenDelete(e){const t=e.detail.ref,o=this.tokens.filter(n=>n.selected),r=this.tokens.length-1===0||this.tokens.length===o.length;if(!this._readonly){if(t){this.fireEvent("token-delete",{token:t}),r&&this.focus();return}o.indexOf(t)===-1&&o.push(t),o.forEach(n=>{this.fireEvent("token-delete",{token:n})})}}valueHelpMouseDown(e){const t=e.target;this.closePopover(),this.tokenizer.closeMorePopover(),this._valueHelpIconPressed=!0,t.focus()}_tokenizerFocusOut(e){const t=e.relatedTarget===this.tokenizer.staticAreaItem;!this.contains(e.relatedTarget)&&!t&&(this.tokenizer._tokens.forEach(o=>{o.selected=!1}),this.tokenizer.scrollToStart()),e.relatedTarget===this.nativeInput&&this.tokenizer.closeMorePopover()}valueHelpMouseUp(){setTimeout(()=>{this._valueHelpIconPressed=!1},0)}innerFocusIn(){this.expandedTokenizer=!0,this.focused=!0,this.tokenizer.scrollToEnd(),this.tokenizer._getTokens().forEach(e=>{e.selected=!1})}_onkeydown(e){super._onkeydown(e);const t=e.target,o=St(e)&&t.selectionStart===0,r=e.metaKey||e.ctrlKey,n=this.tokens;if(o)return this._skipOpenSuggestions=!0,this._focusFirstToken(e);if(ft(e)||sc(e))return this._skipOpenSuggestions=!0,this._handleLeft(e);this._skipOpenSuggestions=!1,Nr(e)&&this.valueHelpPress(),r&&e.key.toLowerCase()==="i"&&n.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_onTokenizerKeydown(e){const t=_a(e),o=!!(e.metaKey||e.ctrlKey),r=this.tokens;if(it(e)||si(e)||t){e.preventDefault();const n=this.tokens.length-1;if(e.target===this.tokens[n]&&this.tokens[n]===document.activeElement)setTimeout(()=>{this.focus()},0);else if(t)return e.preventDefault(),this.tokenizer._handleArrowCtrl(e,e.target,this.tokens,!0)}if(o&&["c","x"].includes(e.key.toLowerCase())){e.preventDefault();const n=e.key.toLowerCase()==="x",s=r.filter(l=>l.selected);if(n){const l=this.tokenizer._fillClipboard(hs.cut,s);return s.forEach(_=>{this.fireEvent("token-delete",{token:_})}),this.focus(),l}return this.tokenizer._fillClipboard(hs.copy,s)}o&&e.key.toLowerCase()==="i"&&r.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_handleLeft(e){const t=this.getDomRef().querySelector("input").selectionStart,o=this.tokens,r=o.length&&o[o.length-1];t===0&&r&&(e.preventDefault(),r.focus(),this.tokenizer._itemNav.setCurrentItem(r))}_focusFirstToken(e){const t=this.tokens,o=t.length&&t[0];o&&(e.preventDefault(),o.focus(),this.tokenizer._itemNav.setCurrentItem(o))}_onfocusout(e){super._onfocusout(e);const t=e.relatedTarget,o=this.contains(t),r=this.shadowRoot.contains(t);!o&&!r&&(this.expandedTokenizer=!1,this.tokenizer._itemNav._currentIndex=-1)}async _onfocusin(e){const t=await this.getInputDOMRef();e.target===t&&await super._onfocusin(e)}lastItemDeleted(){setTimeout(()=>{this.focus()},0)}onBeforeRendering(){super.onBeforeRendering(),this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`),this.tokenizerAvailable=this.tokens&&this.tokens.length>0}get iconsCount(){return super.iconsCount+(this.showValueHelpIcon?1:0)}get tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}get _tokensCountText(){if(this.tokenizer)return this.tokenizer._tokensCountText()}get _tokensCountTextId(){return`${this._id}-hiddenText-nMore`}get _placeholder(){return this.tokenizer&&this.tokenizer._tokens.length?"":this.placeholder}get accInfo(){const e=`${this._tokensCountTextId} ${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{...super.accInfo.input,ariaRoledescription:this.ariaRoleDescription,ariaDescribedBy:e}}}get ariaRoleDescription(){return Oh.i18nBundle.getText(h0)}get morePopoverOpener(){return this.tokens.length===1&&this.tokens[0].isTruncatable?this.tokens[0]:this}};Tc([u({type:Boolean})],Aa.prototype,"showValueHelpIcon",void 0);Tc([u({type:Boolean})],Aa.prototype,"expandedTokenizer",void 0);Tc([u({type:Boolean})],Aa.prototype,"tokenizerAvailable",void 0);Tc([F()],Aa.prototype,"tokens",void 0);Aa=Oh=Tc([B({tag:"ui5-multi-input",renderer:ee,template:UM,styles:[vr.styles,qM],dependencies:[...vr.dependencies,hk,_k,Ie]}),$("value-help-trigger"),$("token-delete",{detail:{token:{type:HTMLElement}}})],Aa);Aa.define();function yN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-menu-rp" class="ui5-menu-rp" horizontal-align="Left" placement-type=${a(this.placementType)} vertical-align=${a(this.verticalAlign)} hide-arrow allow-target-overlap ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)}>${this.isPhone?lg.call(this,i,e,t):void 0}
    ${this._currentItems.length?ug.call(this,i,e,t):vg.call(this,i,e,t)}
    `:c`${this.isPhone?lg.call(this,i,e,t):void 0}
    ${this._currentItems.length?ug.call(this,i,e,t):vg.call(this,i,e,t)}
    `}function lg(i,e,t){return t?c`
    ${this.isSubMenuOpened?cg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${d("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:c`
    ${this.isSubMenuOpened?cg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function cg(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:c``}function ug(i,e,t){return t?c`<${d("ui5-list",e,t)} id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" accessible-role="menu" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>dg.call(this,i,e,t,o,r))}`:c`${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>dg.call(this,i,e,t,o,r))}`}function dg(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="menuitem" .additionalText="${a(o.item._additionalText)}" ._ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>
    ${o.item.hasDummyIcon?_g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?hg.call(this,i,e,t,o,r):pg.call(this,i,e,t,o,r)}
    `:c`
    ${o.item.hasDummyIcon?_g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?hg.call(this,i,e,t,o,r):pg.call(this,i,e,t,o,r)}
    `}function _g(i,e,t,o,r){return c`
    `}function hg(i,e,t,o,r){return t?c`
    <${d("ui5-icon",e,t)} part="subicon" name="slim-arrow-right" class="ui5-menu-item-icon-end">
    `:c`
    `}function pg(i,e,t,o,r){return c`${o.item._siblingsWithChildren?wN.call(this,i,e,t,o,r):void 0}`}function wN(i,e,t,o,r){return c`
    `}function vg(i,e,t){return c`${this.busy?kN.call(this,i,e,t):void 0}`}function kN(i,e,t){return t?c`<${d("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const fk={packageName:"@ui5/webcomponents",fileName:"themes/Menu.css.ts",content:`.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v1-22-1-rc-0_menu_popover_border_radius);max-width:20rem}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item-no-icon-end{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item[additional-text] .ui5-menu-item-no-icon-end{display:none}.ui5-menu-item-dummy-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.5rem;pointer-events:none}.ui5-menu-item-submenu-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v1-22-1-rc-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem}.ui5-menu-dialog-title>div{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-item::part(title){font-size:var(--sapFontSize);padding-top:.125rem}.ui5-menu-item[icon]:not([is-phone])::part(title),.ui5-menu-item[is-phone]:not([icon=""])::part(title){padding-top:0}.ui5-menu-item:not([is-phone])::part(native-li){padding:var(--_ui5-v1-22-1-rc-0_menu_item_padding)}.ui5-menu-item[starts-section]{border-top:1px solid var(--sapGroup_ContentBorderColor)}.ui5-menu-item[active] .ui5-menu-item-icon-end{color:var(--sapList_Active_TextColor)}.ui5-menu-item[focused]:not([active]){background-color:var(--sapList_Hover_Background)}.ui5-menu-rp[sub-menu]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset)}.ui5-menu-rp[sub-menu][actual-placement-type=Left]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset)}.ui5-menu-item::part(additional-text){margin-inline-start:var(--_ui5-v1-22-1-rc-0_menu_item_additional_text_start_margin);color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ui5-menu-item-text:has(.ui5-menu-item-submenu-icon){padding-inline-end:1rem} -`};var Vi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},cl;const $N=300,TN=400;let ti=cl=class extends j{static async onDefine(){cl.i18nBundle=await oe("@ui5/webcomponents")}get itemsWithChildren(){return!!this._currentItems.filter(e=>e.item.items.length).length}get itemsWithIcon(){return!!this._currentItems.filter(e=>e.item.icon!=="").length}get isRtl(){return this.effectiveDir==="rtl"}get placementType(){const e=this.isRtl?"Left":"Right";return this._isSubMenu?e:"Bottom"}get verticalAlign(){return this._isSubMenu?"Top":"Bottom"}get labelBack(){return cl.i18nBundle.getText(vy)}get labelClose(){return cl.i18nBundle.getText(fy)}get isPhone(){return G()}get isSubMenuOpened(){return!!this._parentMenuItem}get menuHeaderTextPhone(){return this._parentMenuItem?this._parentMenuItem.text:this.headerText}onBeforeRendering(){!G()&&this._prepareCurrentItems(this.items);const e=this.itemsWithChildren,t=this.itemsWithIcon;this._currentItems.forEach(o=>{o.item._siblingsWithChildren=e,o.item._siblingsWithIcon=t;const r=o.item._subMenu,n=o.item;if(r&&r.busy){r.innerHTML="";const s=this._clonedItemsFragment(n);r.appendChild(s)}r&&(r.busy=o.item.busy,r.busyDelay=o.item.busyDelay)})}onAfterRendering(){if(this.opener)if(this.open){const e=this.getOpener();e&&this.showAt(e)}else this.close()}async showAt(e){G()&&(this._prepareCurrentItems(this.items),this._parentItemsStack=[]),this._isSubMenu||(this._parentMenuItem=void 0);const t=await this._createPopover();t.initialFocus="";for(let o=0;o({item:t,position:o+1,ariaHasPopup:t.hasSubmenu?"menu":void 0}))}_createSubMenu(e,t){const o=this.constructor,r=document.createElement(o.getMetadata().getTag());r._isSubMenu=!0,r.setAttribute("id",`submenu-${t}`),r._parentMenuItem=e,r.busy=e.busy,r.busyDelay=e.busyDelay;const n=this._clonedItemsFragment(e);r.appendChild(n),this.staticAreaItem.shadowRoot.querySelector(".ui5-menu-submenus").appendChild(r),e._subMenu=r}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;othis._closeSubMenuPopover(e._subMenu),0))}_closeSubMenuPopover(e,t=!1){if(e){const o=e._parentMenuItem;(t||!o._preventSubMenuClose)&&(e.close(),e.remove(),o._subMenu=void 0,this._openedSubMenuItem=void 0,this._subMenuOpenerId="")}}_prepareSubMenuDesktopTablet(e,t,o){(o!==this._subMenuOpenerId||e&&e.hasSubmenu)&&this._closeItemSubMenu(this._openedSubMenuItem,!0),e&&e.hasSubmenu&&(this._createSubMenu(e,o),this._openItemSubMenu(e,t,o)),this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_prepareSubMenuPhone(e){this._prepareCurrentItems(e.items),this._parentMenuItem=e,this._parentItemsStack.push(e)}_startOpenTimeout(e,t,o){this._clearTimeout(),this._timeout=setTimeout(()=>{this._prepareSubMenuDesktopTablet(e,t,o)},$N)}_startCloseTimeout(e){this._clearTimeout(),this._timeout=setTimeout(()=>{this._closeItemSubMenu(e)},TN)}_clearTimeout(){this._timeout&&clearTimeout(this._timeout)}_itemMouseOver(e){if(vo()){const t=e.target,o=t.associatedItem,r=t.getAttribute("id");t.focus(),this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_busyMouseOver(){this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_itemMouseOut(e){if(vo()){const o=e.target.associatedItem;this._clearTimeout(),o&&o.hasSubmenu&&o._subMenu&&(o._preventSubMenuClose=!1,this._startCloseTimeout(o))}}_itemKeyDown(e){const t=this.isRtl?it(e):ft(e),o=this.isRtl?ft(e):it(e);if(de(e)&&e.preventDefault(),o){const r=e.target,n=r.associatedItem,s=r.getAttribute("id");n.hasSubmenu&&this._prepareSubMenuDesktopTablet(n,r,s)}else t&&this._isSubMenu&&this._parentMenuItem&&this._parentMenuItem.parentElement._closeItemSubMenu(this._parentMenuItem,!0)}_itemClick(e){const t=e.detail.item,o=t.associatedItem,r=t.getAttribute("id");if(o.hasSubmenu)G()?this._prepareSubMenuPhone(o):rc()&&this._prepareSubMenuDesktopTablet(o,t,r);else if(!this._isSubMenu)G()&&(this._parentMenuItem=void 0),!this.fireEvent("item-click",{item:o,text:o.text},!0,!1)||this._popover.close();else{const n=this._findMainMenu(o);if(!!n.fireEvent("item-click",{item:o,text:o.text},!0,!1)){let l=o,_=l.parentElement;do l._preventSubMenuClose=!1,this._closeItemSubMenu(l),_=l.parentElement,l=_._parentMenuItem;while(_._parentMenuItem);n._popover.close()}}}_findMainMenu(e){let t=e.parentElement;for(;t._parentMenuItem;)t=t._parentMenuItem.parentElement;return t}_beforePopoverOpen(e){!this.fireEvent("before-open",{},!0,!1)&&(this.open=!1,e.preventDefault())}_afterPopoverOpen(){this.open=!0,this.fireEvent("after-open",{},!1,!1)}_beforePopoverClose(e){if(!this.fireEvent("before-close",{escPressed:e.detail.escPressed},!0,!1)){this.open=!0,e.preventDefault();return}this._openedSubMenuItem&&(this._openedSubMenuItem._preventSubMenuClose=!1,this._closeItemSubMenu(this._openedSubMenuItem))}_afterPopoverClose(){this.open=!1,this.fireEvent("after-close",{},!1,!1)}};Vi([u()],ti.prototype,"headerText",void 0);Vi([u({type:Boolean})],ti.prototype,"open",void 0);Vi([u({type:Boolean})],ti.prototype,"busy",void 0);Vi([u({validator:z,defaultValue:1e3})],ti.prototype,"busyDelay",void 0);Vi([u({validator:id,defaultValue:""})],ti.prototype,"opener",void 0);Vi([u({type:Boolean,noAttribute:!0})],ti.prototype,"_isSubMenu",void 0);Vi([u()],ti.prototype,"_subMenuOpenerId",void 0);Vi([u({type:Object,multiple:!0})],ti.prototype,"_currentItems",void 0);Vi([u({type:Object,multiple:!0})],ti.prototype,"_parentItemsStack",void 0);Vi([u({type:Object,defaultValue:void 0})],ti.prototype,"_popover",void 0);Vi([u({type:Object,defaultValue:void 0})],ti.prototype,"_parentMenuItem",void 0);Vi([u({type:Object,defaultValue:void 0})],ti.prototype,"_openedSubMenuItem",void 0);Vi([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],ti.prototype,"items",void 0);ti=cl=Vi([B({tag:"ui5-menu",renderer:ee,staticAreaStyles:fk,staticAreaTemplate:yN,dependencies:[wo,Fe,xr,Ra,Ie,ad]}),$("item-click",{detail:{item:{type:HTMLElement},text:{type:String}}}),$("before-open",{detail:{item:{type:HTMLElement}}}),$("after-open"),$("before-close",{detail:{escPressed:{type:Boolean}}}),$("after-close")],ti);ti.define();const xN=ti;var Hi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ii=class extends j{get hasSubmenu(){return!!(this.items.length||this.busy)}get hasDummyIcon(){return this._siblingsWithIcon&&!this.icon}get subMenuOpened(){return!!this._subMenu}get _additionalText(){return this.hasSubmenu?"":this.additionalText}get ariaLabelledByText(){return`${this.text} ${this.accessibleName}`.trim()}};Hi([u()],ii.prototype,"text",void 0);Hi([u()],ii.prototype,"additionalText",void 0);Hi([u()],ii.prototype,"icon",void 0);Hi([u({type:Boolean})],ii.prototype,"startsSection",void 0);Hi([u({type:Boolean})],ii.prototype,"disabled",void 0);Hi([u({type:Boolean})],ii.prototype,"busy",void 0);Hi([u({validator:z,defaultValue:1e3})],ii.prototype,"busyDelay",void 0);Hi([u()],ii.prototype,"accessibleName",void 0);Hi([u({type:Boolean,noAttribute:!0})],ii.prototype,"_siblingsWithChildren",void 0);Hi([u({type:Boolean,noAttribute:!0})],ii.prototype,"_siblingsWithIcon",void 0);Hi([u({type:Boolean,noAttribute:!0})],ii.prototype,"_preventSubMenuClose",void 0);Hi([u({type:Object,defaultValue:void 0})],ii.prototype,"_subMenu",void 0);Hi([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],ii.prototype,"items",void 0);ii=Hi([B("ui5-menu-item")],ii);ii.define();const SN=ii;function IN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-navigation-menu-rp" class="ui5-menu-rp ui5-navigation-menu" vertical-align="Center" ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)} accessible-name-ref="${a(this._id)}-navigationMenuPopoverText">${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?fg.call(this,i,e,t):void 0}
    ${this._currentItems.length?gg.call(this,i,e,t):Sg.call(this,i,e,t)}
    `:c`${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?fg.call(this,i,e,t):void 0}
    ${this._currentItems.length?gg.call(this,i,e,t):Sg.call(this,i,e,t)}
    `}function fg(i,e,t){return t?c`
    ${this.isSubMenuOpened?mg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${d("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:c`
    ${this.isSubMenuOpened?mg.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function mg(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:c``}function gg(i,e,t){return t?c`<${d("ui5-list",e,t)} accessible-role="tree" id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>bg.call(this,i,e,t,o,r))}`:c`${E(this._currentItems,(o,r)=>o._id||r,(o,r)=>bg.call(this,i,e,t,o,r))}`}function bg(i,e,t,o,r){return c`${o.item.href?CN.call(this,i,e,t,o,r):BN.call(this,i,e,t,o,r)}`}function CN(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .associatedItem="${a(o.item)}" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="none" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown} class="ui5-menu-item ui5-navigation-menu-item">${o.item.hasDummyIcon?yg.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?wg.call(this,i,e,t,o,r):kg.call(this,i,e,t,o,r)}`:c`${o.item.hasDummyIcon?yg.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?wg.call(this,i,e,t,o,r):kg.call(this,i,e,t,o,r)}`}function yg(i,e,t,o,r){return c`
    `}function wg(i,e,t,o,r){return t?c`<${d("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:c``}function kg(i,e,t,o,r){return c`${o.item._siblingsWithChildren?AN.call(this,i,e,t,o,r):void 0}`}function AN(i,e,t,o,r){return c`
    `}function BN(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item ui5-navigation-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="treeitem" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>${o.item.hasDummyIcon?$g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?Tg.call(this,i,e,t,o,r):xg.call(this,i,e,t,o,r)}`:c`${o.item.hasDummyIcon?$g.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?Tg.call(this,i,e,t,o,r):xg.call(this,i,e,t,o,r)}`}function $g(i,e,t,o,r){return c`
    `}function Tg(i,e,t,o,r){return t?c`<${d("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:c``}function xg(i,e,t,o,r){return c`${o.item._siblingsWithChildren?EN.call(this,i,e,t,o,r):void 0}`}function EN(i,e,t,o,r){return c`
    `}function Sg(i,e,t){return c`${this.busy?DN.call(this,i,e,t):void 0}`}function DN(i,e,t){return t?c`<${d("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const PN={packageName:"@ui5/webcomponents",fileName:"themes/NavigationMenu.css.ts",content:`.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-navigation-menu .ui5-navigation-menu-main{padding:var(--_ui5-v1-22-1-rc-0_side_navigation_parent_popup_padding)}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li){padding-left:.5rem;width:auto}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li):after{border-radius:.375rem;inset:0}.ui5-navigation-menu .ui5-navigation-menu-item{display:flex;align-items:center;width:100%;box-sizing:border-box;position:relative;height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);min-height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);border-radius:.375rem;transition:var(--_ui5-v1-22-1-rc-0_side_navigation_item_transition);color:var(--sapList_TextColor);font-weight:700;font-size:var(--sapFontSize);border-bottom:none}.ui5-navigation-menu .ui5-navigation-menu-item a{display:flex;align-items:center;text-decoration:none;color:var(--sapList_TextColor)}.ui5-navigation-menu[sub-menu] .ui5-navigation-menu-item{font-weight:400}.ui5-menu-rp.ui5-navigation-menu{box-shadow:var(--_ui5-v1-22-1-rc-0_side_navigation_popup_box_shadow);width:auto;min-width:10rem;height:auto;background:var(--sapGroup_ContentBackground);border:none;border-radius:.75rem}.ui5-navigation-menu .ui5-navigation-menu-item .ui5-menu-item-icon-end{position:relative;inset-inline-end:auto;width:.75rem;height:.75rem;color:var(--sapList_TextColor)}.ui5-navigation-menu .ui5-navigation-menu-item::part(icon){color:var(--sapList_TextColor);min-width:1rem;min-height:1rem}.ui5-navigation-menu .ui5-menu-item[focused]:not([active]){background:none} -`};var mk=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Rh;let Mu=Rh=class extends xN{_itemMouseOver(e){if(vo()){const t=e.target;let o=t.associatedItem;const r=t.getAttribute("id");if(!o){const n=t.parentElement;t.parentElement&&(o=n.associatedItem)}this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let jl=class extends SN{};fv([u()],jl.prototype,"href",void 0);fv([u()],jl.prototype,"target",void 0);jl=fv([B("ui5-navigation-menu-item")],jl);jl.define();const gk=i=>{let e,t,o,r,n,s,l,_,p,v,f,g;const w=nv({beforeStart:()=>{i.style.display="block",e=getComputedStyle(i),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=i.style.overflow,_=i.style.paddingTop,p=i.style.paddingBottom,v=i.style.marginTop,f=i.style.marginBottom,g=i.style.height,i.style.overflow="hidden",i.style.paddingTop="0",i.style.paddingBottom="0",i.style.marginTop="0",i.style.marginBottom="0",i.style.height="0"},duration:av,element:i,advance:A=>{i.style.display="block",i.style.paddingTop=`${t*A}px`,i.style.paddingBottom=`${o*A}px`,i.style.marginTop=`${r*A}px`,i.style.marginBottom=`${n*A}px`,i.style.height=`${s*A}px`}});return w.promise().then(()=>{i.style.overflow=l,i.style.paddingTop=_,i.style.paddingBottom=p,i.style.marginTop=v,i.style.marginBottom=f,i.style.height=g}),w},bk=i=>{let e,t,o,r,n,s,l,_,p,v,f,g;const w=nv({beforeStart:()=>{const A=i;e=getComputedStyle(A),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=A.style.overflow,_=A.style.paddingTop,p=A.style.paddingBottom,v=A.style.marginTop,f=A.style.marginBottom,g=A.style.height,A.style.overflow="hidden"},duration:av,element:i,advance:A=>{i.style.paddingTop=`${t-t*A}px`,i.style.paddingBottom=`${o-o*A}px`,i.style.marginTop=`${r-r*A}px`,i.style.marginBottom=`${n-n*A}px`,i.style.height=`${s-s*A}px`}});return w.promise().then(A=>{A instanceof Error||(i.style.overflow=l,i.style.paddingTop=_,i.style.paddingBottom=p,i.style.marginTop=v,i.style.marginBottom=f,i.style.height=g,i.style.display="none")}),w};var Lh;(function(i){i.Complementary="Complementary",i.Form="Form",i.Region="Region"})(Lh||(Lh={}));const Ig=Lh;function ON(i,e,t){return c`
    ${this.hasHeaderOrHeaderText?RN.call(this,i,e,t):void 0}
    `}function RN(i,e,t){return c`
    ${this.fixed?void 0:LN.call(this,i,e,t)}${this._hasHeader?FN.call(this,i,e,t):zN.call(this,i,e,t)}
    `}function LN(i,e,t){return c`
    ${this._hasHeader?MN.call(this,i,e,t):NN.call(this,i,e,t)}
    `}function MN(i,e,t){return t?c`<${d("ui5-button",e,t)} design="Transparent" class="ui5-panel-header-button ui5-panel-header-button-with-icon" @click="${this._toggleButtonClick}" .accessibilityAttributes=${a(this.accInfo.button.accessibilityAttributes)} tooltip="${a(this.accInfo.button.title)}" accessible-name="${a(this.accInfo.button.ariaLabelButton)}">
    <${d("ui5-icon",e,t)} class="ui5-panel-header-icon ${T(this.classes.headerBtn)}" name="slim-arrow-right">
    `:c`
    `}function NN(i,e,t){return t?c`<${d("ui5-icon",e,t)} class="ui5-panel-header-button ui5-panel-header-icon ${T(this.classes.headerBtn)}" name="slim-arrow-right" show-tooltip accessible-name="${a(this.toggleButtonTitle)}">`:c``}function FN(i,e,t){return c``}function zN(i,e,t){return c`
    ${a(this.headerText)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const VN={packageName:"@ui5/webcomponents",fileName:"themes/Panel.css.ts",content:`.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}:host{font-family:"72override",var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v1-22-1-rc-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v1-22-1-rc-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v1-22-1-rc-0_panel_header_padding_right);font-family:"72override",var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v1-22-1-rc-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v1-22-1-rc-0_panel_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);top:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);left:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);right:var(--_ui5-v1-22-1-rc-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v1-22-1-rc-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v1-22-1-rc-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v1-22-1-rc-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v1-22-1-rc-0_panel_button_root_width);height:var(--_ui5-v1-22-1-rc-0_panel_button_root_height);padding:var(--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v1-22-1-rc-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column} -`};var Ui=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},cu;let ci=cu=class extends j{onBeforeRendering(){this._animationRunning||(this._contentExpanded=!this.collapsed),this._hasHeader=!!this.header.length}shouldToggle(e){return this.header.length?e.classList.contains("ui5-panel-header-button"):!0}shouldNotAnimate(){return this.noAnimation||cc()===bs.None}_headerClick(e){this.shouldToggle(e.target)&&this._toggleOpen()}_toggleButtonClick(e){e.x===0&&e.y===0&&e.stopImmediatePropagation()}_headerKeyDown(e){this.shouldToggle(e.target)&&(de(e)&&e.preventDefault(),te(e)&&e.preventDefault())}_headerKeyUp(e){this.shouldToggle(e.target)&&(de(e)&&this._toggleOpen(),te(e)&&this._toggleOpen())}_toggleOpen(){if(this.fixed)return;if(this.collapsed=!this.collapsed,this.shouldNotAnimate()){this.fireEvent("toggle");return}this._animationRunning=!0;const e=this.getDomRef().querySelectorAll(".ui5-panel-content"),t=[];[].forEach.call(e,o=>{this.collapsed?t.push(bk(o).promise()):t.push(gk(o).promise())}),Promise.all(t).then(()=>{this._animationRunning=!1,this._contentExpanded=!this.collapsed,this.fireEvent("toggle")})}_headerOnTarget(e){return e.classList.contains("sapMPanelWrappingDiv")}get classes(){return{headerBtn:{"ui5-panel-header-button-animated":!this.shouldNotAnimate()},stickyHeaderClass:{"ui5-panel-heading-wrapper-sticky":this.stickyHeader}}}get toggleButtonTitle(){return cu.i18nBundle.getText(v0)}get expanded(){return!this.collapsed}get accRole(){return this.accessibleRole.toLowerCase()}get effectiveAccessibleName(){return typeof this.accessibleName=="string"&&this.accessibleName.length?this.accessibleName:void 0}get accInfo(){return{button:{accessibilityAttributes:{expanded:this.expanded},title:this.toggleButtonTitle,ariaLabelButton:!this.nonFocusableButton&&this.useAccessibleNameForToggleButton?this.effectiveAccessibleName:void 0},ariaExpanded:this.nonFixedInternalHeader?this.expanded:void 0,ariaControls:this.nonFixedInternalHeader?`${this._id}-content`:void 0,ariaLabelledby:this.nonFocusableButton?this.ariaLabelledbyReference:void 0,role:this.nonFixedInternalHeader?"button":void 0}}get ariaLabelledbyReference(){return this.nonFocusableButton&&this.headerText&&!this.fixed?`${this._id}-header-title`:void 0}get fixedPanelAriaLabelledbyReference(){return this.fixed&&!this.effectiveAccessibleName?`${this._id}-header-title`:void 0}get headerAriaLevel(){return this.headerLevel.slice(1)}get headerTabIndex(){return this.header.length||this.fixed?"-1":"0"}get headingWrapperAriaLevel(){return this._hasHeader?void 0:this.headerAriaLevel}get headingWrapperRole(){return this._hasHeader?void 0:"heading"}get nonFixedInternalHeader(){return!this._hasHeader&&!this.fixed}get hasHeaderOrHeaderText(){return this._hasHeader||this.headerText}get nonFocusableButton(){return!this.header.length}get styles(){return{content:{display:this._contentExpanded?"block":"none"}}}static async onDefine(){cu.i18nBundle=await oe("@ui5/webcomponents")}};Ui([u()],ci.prototype,"headerText",void 0);Ui([u({type:Boolean})],ci.prototype,"fixed",void 0);Ui([u({type:Boolean})],ci.prototype,"collapsed",void 0);Ui([u({type:Boolean})],ci.prototype,"noAnimation",void 0);Ui([u({type:Ig,defaultValue:Ig.Form})],ci.prototype,"accessibleRole",void 0);Ui([u({type:Iu,defaultValue:Iu.H2})],ci.prototype,"headerLevel",void 0);Ui([u()],ci.prototype,"accessibleName",void 0);Ui([u({type:Boolean})],ci.prototype,"stickyHeader",void 0);Ui([u({type:Boolean})],ci.prototype,"useAccessibleNameForToggleButton",void 0);Ui([u({type:Boolean})],ci.prototype,"_hasHeader",void 0);Ui([u({type:Boolean,noAttribute:!0})],ci.prototype,"_contentExpanded",void 0);Ui([u({type:Boolean,noAttribute:!0})],ci.prototype,"_animationRunning",void 0);Ui([F()],ci.prototype,"header",void 0);ci=cu=Ui([B({tag:"ui5-panel",fastNavigation:!0,languageAware:!0,renderer:ee,template:ON,styles:VN,dependencies:[Fe,Ie]}),$("toggle")],ci);ci.define();const HN=500,Vc=new Map,Gn=new Map,UN=i=>{const e=i.host,t=i.propName,o=e[t];let r;if(o===void 0||o==="")r=void 0;else if(o instanceof HTMLElement)r=o;else{const l=e.getRootNode();r=l.getElementById&&l.getElementById(o)||void 0}const n=`${e._id}-${t}`,s=Vc.get(n);if(!r){if(s&&(i.onDisconnect&&i.onDisconnect(s),Vc.delete(n)),typeof o=="string"&&o&&!Gn.has(n)){const l=setInterval(()=>{const _=e.getRootNode();_.getElementById&&_.getElementById(o)&&(clearInterval(Gn.get(n)),Gn.delete(n),cp(e))},HN);Gn.set(n,l)}return}return Gn.has(n)&&(clearInterval(Gn.get(n)),Gn.delete(n)),s!==r&&(s&&i.onDisconnect&&i.onDisconnect(s),i.onConnect&&i.onConnect(r),Vc.set(n,r)),Vc.get(n)};var Zr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let go=class extends j{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};Zr([u({type:Boolean})],go.prototype,"selected",void 0);Zr([u({type:Boolean})],go.prototype,"disabled",void 0);Zr([u()],go.prototype,"title",void 0);Zr([u({defaultValue:null})],go.prototype,"icon",void 0);Zr([u()],go.prototype,"value",void 0);Zr([u()],go.prototype,"additionalText",void 0);Zr([u({type:Boolean})],go.prototype,"focused",void 0);Zr([F({type:Node,default:!0,invalidateOnChildChange:!0})],go.prototype,"text",void 0);go=Zr([B("ui5-option")],go);go.define();const yk=go;function WN(i,e,t){return c`
    ${this.selectedOptionIcon?qN.call(this,i,e,t):void 0}
    ${this.hasCustomLabel?jN.call(this,i,e,t):GN.call(this,i,e,t)}
    ${this.readonly?void 0:YN.call(this,i,e,t)}${this.hasValueState?KN.call(this,i,e,t):void 0}
    `}function qN(i,e,t){return t?c`<${d("ui5-icon",e,t)} aria-hidden="true" class="ui5-select-option-icon" name="${a(this.selectedOptionIcon)}">`:c``}function jN(i,e,t){return c``}function GN(i,e,t){return c`${a(this._text)}`}function YN(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="slim-arrow-down" input-icon ?pressed="${this._iconPressed}">`:c``}function KN(i,e,t){return c`${a(this.valueStateText)}`}function XN(i,e,t){return c`${this.options?ZN.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?o4.call(this,i,e,t):void 0}`}function ZN(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} hide-arrow _disable-initial-focus placement-type="Bottom" class="ui5-select-popover ${T(this.classes.popover)}" horizontal-align="Left" @ui5-after-open="${a(this._afterOpen)}" @ui5-before-open="${a(this._beforeOpen)}" @ui5-after-close="${a(this._afterClose)}" @keydown="${this._onkeydown}" style=${S(this.styles.responsivePopover)}>${this._isPhone?Cg.call(this,i,e,t):void 0}${this._isPhone?void 0:Bg.call(this,i,e,t)}<${d("ui5-list",e,t)} mode="SingleSelectAuto" separators="None" @mousedown="${this._itemMousedown}" @ui5-item-click="${a(this._handleItemPress)}">${E(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>Pg.call(this,i,e,t,o,r))}`:c`${this._isPhone?Cg.call(this,i,e,t):void 0}${this._isPhone?void 0:Bg.call(this,i,e,t)}${E(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>Pg.call(this,i,e,t,o,r))}`}function Cg(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._toggleRespPopover}">
    ${this.hasValueStateText?Ag.call(this,i,e,t):void 0}
    `:c`
    ${a(this._headerTitleText)}
    ${this.hasValueStateText?Ag.call(this,i,e,t):void 0}
    `}function Ag(i,e,t){return c`
    ${this.shouldDisplayDefaultValueStateMessage?QN.call(this,i,e,t):JN.call(this,i,e,t)}
    `}function QN(i,e,t){return c`${a(this.valueStateText)}`}function JN(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>e4.call(this,i,e,t,o,r))}`}function e4(i,e,t,o,r){return c`${a(o)}`}function Bg(i,e,t){return c`${this.hasValueStateText?t4.call(this,i,e,t):void 0}`}function t4(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?Eg.call(this,i,e,t):Dg.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?Eg.call(this,i,e,t):Dg.call(this,i,e,t)}
    `}function Eg(i,e,t){return c`${a(this.valueStateText)}`}function Dg(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>i4.call(this,i,e,t,o,r))}`}function i4(i,e,t,o,r){return c`${a(o)}`}function Pg(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} id="${a(o.id)}-li" icon="${a(o.icon)}" ?selected="${o.selected}" ?focused="${o._focused}" title="${a(o.title)}" additional-text="${a(o.additionalText)}" ?aria-selected="${o.selected}" data-ui5-stable="${a(o.stableDomRef)}">${a(o.textContent)}`:c`${a(o.textContent)}`}function o4(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?Og.call(this,i,e,t):Rg.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?Og.call(this,i,e,t):Rg.call(this,i,e,t)}
    `}function Og(i,e,t){return c`${a(this.valueStateText)}`}function Rg(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>r4.call(this,i,e,t,o,r))}`}function r4(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const n4={packageName:"@ui5/webcomponents",fileName:"themes/Select.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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-select-root{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v1-22-1-rc-0_select_label_color);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const a4={packageName:"@ui5/webcomponents",fileName:"themes/SelectPopover.css.ts",content:`.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover [ui5-li]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)} -`};var Pt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Si;let lt=Si=class extends j{constructor(){super(),this._syncedOptions=[],this._selectedIndexBeforeOpen=-1,this._escapePressed=!1,this._lastSelectedOption=null,this._typedChars="",this._onMenuClick=this.onMenuClick.bind(this),this._onMenuClose=this.onMenuClose.bind(this),this._onMenuOpen=this.onMenuOpen.bind(this),this._onMenuBeforeOpen=this.onMenuBeforeOpen.bind(this),this._onMenuChange=this.onMenuChange.bind(this),this._attachMenuListeners=this.attachMenuListeners.bind(this),this._detachMenuListeners=this.detachMenuListeners.bind(this),this._upgradeProperty("value")}onBeforeRendering(){const e=this._getSelectMenu();e?(e.value=this.value,e.selectId=this.__id):this._syncSelection(),this._enableFormSupport(),this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`)}onAfterRendering(){this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this._isPickerOpen&&(this._listWidth||(this._listWidth=this.responsivePopover.offsetWidth)),this._attachRealDomRefs()}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get _isPickerOpen(){const e=this._getSelectMenu();return e?e.open:!!this.responsivePopover&&this.responsivePopover.opened}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}set value(e){const t=this._getSelectMenu();Array.from(t?t.children:this.children).filter(r=>!r.getAttribute("disabled")).forEach(r=>{r.selected=(r.getAttribute("value")||r.textContent)===e})}get value(){var e,t;return((e=this.selectedOption)==null?void 0:e.value)||((t=this.selectedOption)==null?void 0:t.textContent)||""}get selectedOption(){return this.selectOptions.find(e=>e.selected)}onMenuClick(e){const t=e.detail.optionIndex;this._handleSelectionChange(t)}onMenuBeforeOpen(){this._beforeOpen()}onMenuOpen(){this._afterOpen()}onMenuClose(){this._afterClose()}onMenuChange(e){this._text=e.detail.text,this._selectedIndex=e.detail.selectedIndex}_toggleSelectMenu(){const e=this._getSelectMenu();e&&(e.open?e.close():e.showAt(this,this.offsetWidth))}onExitDOM(){const e=this._getSelectMenu();e&&this._detachMenuListeners(e)}async _toggleRespPopover(){if(this.disabled||this.readonly)return;if(this._iconPressed=!0,this._getSelectMenu()){this._toggleSelectMenu();return}this.responsivePopover=await this._respPopover(),this._isPickerOpen?this.responsivePopover.close():this.responsivePopover.showAt(this)}async _attachRealDomRefs(){this.responsivePopover=await this._respPopover(),this.options.forEach(e=>{e._getRealDomRef=()=>this.responsivePopover.querySelector(`*[data-ui5-stable=${e.stableDomRef}]`)})}_syncSelection(){let e=-1,t=-1;const o=this._filteredItems,r=o.map((n,s)=>(n.selected&&(e=s),t===-1&&(t=s),n.selected=!1,n.focused=!1,{selected:!1,focused:!1,icon:n.icon,value:n.value,textContent:n.textContent,title:n.title,additionalText:n.additionalText,id:n._id,stableDomRef:n.stableDomRef}));e>-1?(r[e].selected=!0,r[e].focused=!0,o[e].selected=!0,o[e].focused=!0,this._text=r[e].textContent,this._selectedIndex=e):(this._text="",this._selectedIndex=-1,r[t]&&(r[t].selected=!0,r[t].focused=!0,o[t].selected=!0,o[t].focused=!0,this._selectedIndex=t,this._text=o[t].textContent)),this._syncedOptions=r}_getSelectMenu(){return UN({host:this,propName:"menu",onConnect:this._attachMenuListeners,onDisconnect:this._detachMenuListeners})}attachMenuListeners(e){e.addEventListener("ui5-after-close",this._onMenuClose),e.addEventListener("ui5-after-open",this._onMenuOpen),e.addEventListener("ui5-before-open",this._onMenuBeforeOpen),e.addEventListener("ui5-option-click",this._onMenuClick),e.addEventListener("ui5-menu-change",this._onMenuChange)}detachMenuListeners(e){e.removeEventListener("ui5-after-close",this._onMenuClose),e.removeEventListener("ui5-after-open",this._onMenuOpen),e.removeEventListener("ui5-before-open",this._onMenuBeforeOpen),e.removeEventListener("ui5-option-click",this._onMenuClick),e.removeEventListener("ui5-menu-change",this._onMenuChange)}_enableFormSupport(){const e=Se("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.disabled=!!t.disabled,o.value=r.value}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onkeydown(e){if((It(e)||Ei(e))&&this._isPickerOpen){const o=this._getSelectMenu();o?o.close(!1,!1,!0):this.responsivePopover.close()}else Nr(e)?(e.preventDefault(),this._toggleRespPopover()):te(e)?e.preventDefault():Zi(e)&&this._isPickerOpen?this._escapePressed=!0:St(e)?this._handleHomeKey(e):si(e)?this._handleEndKey(e):de(e)?this._handleSelectionChange():(Le(e)||De(e))&&this._handleArrowNavigation(e)}_handleKeyboardNavigation(e){if(de(e)||this.readonly)return;const t=e.key.toLowerCase();this._typedChars+=t;const o=/^(.)\1+$/i.test(this._typedChars)?t:this._typedChars;clearTimeout(this._typingTimeoutID),this._typingTimeoutID=setTimeout(()=>{this._typedChars="",this._typingTimeoutID=-1},1e3),this._selectTypedItem(o)}_selectTypedItem(e){const t=this._selectedIndex,o=this._searchNextItemByText(e);if(o){const r=this.selectOptions.indexOf(o);this._changeSelectedItem(this._selectedIndex,r),t!==this._selectedIndex&&this.itemSelectionAnnounce()}}_searchNextItemByText(e){let t=this.selectOptions.slice(0);const o=t.splice(this._selectedIndex+1,t.length-this._selectedIndex),r=t.splice(0,t.length-1);return t=o.concat(r),t.find(n=>(n.displayText||n.textContent||"").toLowerCase().startsWith(e))}_handleHomeKey(e){e.preventDefault(),!this.readonly&&this._changeSelectedItem(this._selectedIndex,0)}_handleEndKey(e){if(e.preventDefault(),this.readonly)return;const t=this.selectOptions.length-1;this._changeSelectedItem(this._selectedIndex,t)}_onkeyup(e){te(e)&&(this._isPickerOpen?this._handleSelectionChange():this._toggleRespPopover())}_getSelectedItemIndex(e){return this.selectOptions.findIndex(t=>`${t._id}-li`===e.id)}_select(e){this.selectOptions[this._selectedIndex].selected=!1,this._selectedIndex!==e&&this.fireEvent("live-change",{selectedOption:this.selectOptions[e]}),this._selectedIndex=e,this.selectOptions[e].selected=!0}_handleItemPress(e){const t=e.detail.item,o=this._getSelectedItemIndex(t);this._handleSelectionChange(o)}_itemMousedown(e){e.preventDefault()}_onclick(){this.getFocusDomRef().focus(),this._toggleRespPopover()}_handleSelectionChange(e=this._selectedIndex){this._select(e),this._toggleRespPopover()}_scrollSelectedItem(){var e;if(this._isPickerOpen){const t=(e=this._currentlySelectedOption)==null?void 0:e.getDomRef();t&&t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}_handleArrowNavigation(e){if(e.preventDefault(),this.readonly)return;let t=-1;const o=this._selectedIndex;De(e)?t=this._getNextOptionIndex():t=this._getPreviousOptionIndex(),this._changeSelectedItem(this._selectedIndex,t),o!==this._selectedIndex&&(this.itemSelectionAnnounce(),this._scrollSelectedItem())}_changeSelectedItem(e,t){const o=this.selectOptions,r=o[e];r.selected=!1,r.focused=!1;const n=o[t];n.selected=!0,n.focused=!0,this._selectedIndex=t,this.fireEvent("live-change",{selectedOption:n}),this._isPickerOpen||this._fireChangeEvent(n)}_getNextOptionIndex(){const e=this._getSelectMenu();return e?this._selectedIndex===e.options.length-1?this._selectedIndex:this._selectedIndex+1:this._selectedIndex===this.options.length-1?this._selectedIndex:this._selectedIndex+1}_getPreviousOptionIndex(){return this._selectedIndex===0?this._selectedIndex:this._selectedIndex-1}_beforeOpen(){this._selectedIndexBeforeOpen=this._selectedIndex,this._lastSelectedOption=this.selectOptions[this._selectedIndex]}_afterOpen(){this.opened=!0,this.fireEvent("open"),this.itemSelectionAnnounce(),this._scrollSelectedItem()}_afterClose(){this.opened=!1,this._iconPressed=!1,this._listWidth=0,this._escapePressed?(this._select(this._selectedIndexBeforeOpen),this._escapePressed=!1):this._lastSelectedOption!==this.selectOptions[this._selectedIndex]&&(this._fireChangeEvent(this.selectOptions[this._selectedIndex]),this._lastSelectedOption=this.selectOptions[this._selectedIndex]),this.fireEvent("close")}get selectOptions(){const e=this._getSelectMenu();return e?e.options:this._filteredItems}get hasCustomLabel(){return!!this.label.length}_fireChangeEvent(e){const t=!this.fireEvent("change",{selectedOption:e},!0);this.selectedItem=e.textContent,this.fireEvent("selected-item-changed"),t&&(this.selectedItem=this._lastSelectedOption.textContent,this._select(this._selectedIndexBeforeOpen))}get valueStateTextMappings(){return{[y.Success]:Si.i18nBundle.getText($r),[y.Information]:Si.i18nBundle.getText(Yr),[y.Error]:Si.i18nBundle.getText(wr),[y.Warning]:Si.i18nBundle.getText(kr)}}get valueStateTypeMappings(){return{[y.Success]:Si.i18nBundle.getText(As),[y.Information]:Si.i18nBundle.getText(Bs),[y.Error]:Si.i18nBundle.getText(Is),[y.Warning]:Si.i18nBundle.getText(Cs)}}get valueStateText(){let e;return this.shouldDisplayDefaultValueStateMessage?e=this.valueStateDefaultText:e=this.valueStateMessageText.map(t=>t.textContent).join(" "),`${this.valueStateTypeText} ${e}`}get valueStateDefaultText(){return this.valueState!==y.None?this.valueStateTextMappings[this.valueState]:""}get valueStateTypeText(){return this.valueState!==y.None?this.valueStateTypeMappings[this.valueState]:""}get hasValueState(){return this.valueState!==y.None}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:void 0}get isDisabled(){return this.disabled||void 0}get _headerTitleText(){return Si.i18nBundle.getText(Ss)}get _currentlySelectedOption(){return this.selectOptions[this._selectedIndex]}get _effectiveTabIndex(){return this.disabled||this.responsivePopover&&this.responsivePopover.opened?"-1":"0"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get iconsCount(){return this.selectedOptionIcon?2:1}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{popoverHeader:{"max-width":`${this.offsetWidth}px`},responsivePopoverHeader:{display:this._filteredItems.length&&this._listWidth===0?"none":"inline-block",width:`${this._filteredItems.length?this._listWidth:this.offsetWidth}px`},responsivePopover:{"min-width":`${this.offsetWidth}px`}}}get ariaLabelText(){return Wt(this)}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessageText.length&&this.hasValueStateText}get hasValueStateText(){return this.hasValueState&&this.valueState!==y.Success}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this._iconPressed&&!this._isPickerOpen&&!this._isPhone}get _ariaRoleDescription(){return Si.i18nBundle.getText(W2)}get _isPhone(){return G()}get _filteredItems(){return this.options.filter(e=>!e.disabled)}itemSelectionAnnounce(){let e;const t=this.selectOptions.length,o=Si.i18nBundle.getText(Qu,this._selectedIndex+1,t);this.focused&&this._currentlySelectedOption&&(e=`${this._currentlySelectedOption.textContent} ${this._isPickerOpen?o:""}`,gl(e,ha.Polite))}async openValueStatePopover(){this.valueStatePopover=await this._getPopover(),this.valueStatePopover&&this.valueStatePopover.showAt(this)}closeValueStatePopover(){this.valueStatePopover&&this.valueStatePopover.close()}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}get selectedOptionIcon(){return this.selectedOption&&this.selectedOption.icon}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}static async onDefine(){Si.i18nBundle=await oe("@ui5/webcomponents")}};Pt([u({validator:id})],lt.prototype,"menu",void 0);Pt([u({type:Boolean})],lt.prototype,"disabled",void 0);Pt([u()],lt.prototype,"name",void 0);Pt([u({type:y,defaultValue:y.None})],lt.prototype,"valueState",void 0);Pt([u({type:Boolean})],lt.prototype,"required",void 0);Pt([u({type:Boolean})],lt.prototype,"readonly",void 0);Pt([u()],lt.prototype,"accessibleName",void 0);Pt([u()],lt.prototype,"accessibleNameRef",void 0);Pt([u({type:String,noAttribute:!0})],lt.prototype,"_text",void 0);Pt([u({type:Boolean,noAttribute:!0})],lt.prototype,"_iconPressed",void 0);Pt([u({type:Boolean})],lt.prototype,"opened",void 0);Pt([u({validator:z,defaultValue:0,noAttribute:!0})],lt.prototype,"_listWidth",void 0);Pt([u({type:Boolean})],lt.prototype,"focused",void 0);Pt([u({validator:z,defaultValue:-1,noAttribute:!0})],lt.prototype,"_selectedIndex",void 0);Pt([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],lt.prototype,"options",void 0);Pt([F()],lt.prototype,"formSupport",void 0);Pt([F()],lt.prototype,"valueStateMessage",void 0);Pt([F()],lt.prototype,"label",void 0);lt=Si=Pt([B({tag:"ui5-select",languageAware:!0,renderer:ee,template:WN,staticAreaTemplate:XN,styles:n4,staticAreaStyles:[Wo,On,a4],dependencies:[yk,Os,wo,fo,xr,Ra,Ie,Fe]}),$("change",{detail:{selectedOption:{type:HTMLElement}}}),$("live-change",{detail:{selectedOption:{type:HTMLElement}}}),$("open"),$("close")],lt);lt.define();const s4=lt;function l4(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} class="ui5-select-menu" placement-type="Bottom" horizontal-align="Left" @ui5-after-open="${a(this._onAfterOpen)}" @ui5-after-close="${a(this._onAfterClose)}" @ui5-before-open="${a(this._onBeforeOpen)}" hide-arrow _disable-initial-focus style=${S(this.styles.responsivePopover)}>${this._isPhone?Lg.call(this,i,e,t):void 0}${this._isPhone?void 0:Ng.call(this,i,e,t)}<${d("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOptionClick)}">`:c`${this._isPhone?Lg.call(this,i,e,t):void 0}${this._isPhone?void 0:Ng.call(this,i,e,t)}`}function Lg(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._onCloseBtnClick}">
    ${this.hasValueState?Mg.call(this,i,e,t):void 0}
    `:c`
    ${a(this._headerTitleText)}
    ${this.hasValueState?Mg.call(this,i,e,t):void 0}
    `}function Mg(i,e,t){return c`
    ${this.hasValueStateSlot?c4.call(this,i,e,t):d4.call(this,i,e,t)}
    `}function c4(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>u4.call(this,i,e,t,o,r))}`}function u4(i,e,t,o,r){return c`${a(o)}`}function d4(i,e,t){return c`${a(this.valueStateText)}`}function Ng(i,e,t){return c`${this.hasValueState?_4.call(this,i,e,t):void 0}`}function _4(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.hasValueStateSlot?Fg.call(this,i,e,t):zg.call(this,i,e,t)}
    `:c`
    ${this.hasValueStateSlot?Fg.call(this,i,e,t):zg.call(this,i,e,t)}
    `}function Fg(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>h4.call(this,i,e,t,o,r))}`}function h4(i,e,t,o,r){return c`${a(o)}`}function zg(i,e,t){return c`${a(this.valueStateText)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const p4={packageName:"@ui5/webcomponents",fileName:"themes/SelectMenu.css.ts",content:`.ui5-select-menu::part(content),.ui5-select-menu::part(header){padding:0}.ui5-select-menu [ui5-li-custom]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-menu [ui5-li-custom]::part(native-li){padding:0}.ui5-select-menu [ui5-icon]{color:var(--sapList_TextColor)} -`};var Qr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let zo=class extends j{constructor(){super(),this.valueStateMessageText=[]}showAt(e,t){this.selectWidth=t,this.respPopover.open=!0,this.respPopover.opener=e,this.hasValueState=!!e.hasValueState,this.hasValueStateSlot=e.valueStateMessageText.length>0,this.valueStateText=e.valueStateText,this.valueStateMessageText=e.valueStateMessageText,this.valueState=e.valueState,this._headerTitleText=e._headerTitleText}close(e=!1,t=!1,o=!1){this.respPopover.close(e,t,o)}onBeforeRendering(){this._syncSelection()}_syncSelection(){let e=-1,t=-1,o,r;const n=this.options;if(n.forEach((s,l)=>(s.selected&&(e=l),t===-1&&(t=l),s.selected=!1,s.focused=!1,s)),e>-1){const s=n[e];s.selected=!0,s.focused=!0,o=s.displayText||String(s.textContent),r=e}else{o="",r=-1;const s=n[t];s&&(s.selected=!0,s.focused=!0,r=t,o=s.displayText||String(s.textContent))}this.fireEvent("menu-change",{text:o,selectedIndex:r})}_onOptionClick(e){const t=e.detail.item,o=this.options.findIndex(r=>t.__id===r.__id);this.fireEvent("option-click",{option:t,optionIndex:o})}_onBeforeOpen(){this.fireEvent("before-open")}_onAfterOpen(){this.fireEvent("after-open")}_onAfterClose(){this.fireEvent("after-close")}_onCloseBtnClick(){this.close()}get open(){var e;return!!((e=this.respPopover)!=null&&e.open)}get respPopover(){return this.shadowRoot.querySelector(".ui5-select-menu")}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{valueStatePopover:{width:`${this.selectWidth}px`},responsivePopover:{"min-width":`${this.selectWidth}px`}}}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==y.None?e[this.valueState]:""}get _isPhone(){return G()}};Qr([F({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],zo.prototype,"options",void 0);Qr([u({validator:z})],zo.prototype,"selectWidth",void 0);Qr([u({type:Boolean})],zo.prototype,"hasValueState",void 0);Qr([u({type:Boolean})],zo.prototype,"hasValueStateSlot",void 0);Qr([u({type:y,defaultValue:y.None})],zo.prototype,"valueState",void 0);Qr([u()],zo.prototype,"valueStateText",void 0);Qr([u({type:String,noAttribute:!0})],zo.prototype,"value",void 0);Qr([u({type:String,noAttribute:!0})],zo.prototype,"selectId",void 0);zo=Qr([B({tag:"ui5-select-menu",renderer:ee,styles:[p4,On,Wo],template:l4,dependencies:[wo,xr,Fe]}),$("option-click",{detail:{option:{type:HTMLElement},optionIndex:{type:z}}}),$("before-open"),$("after-open"),$("after-close"),$("menu-change",{detail:{text:{type:String},selectedIndex:{type:z}}})],zo);zo.define();function wk(i,e,t){return c`
  • ${this.placeSelectionElementBefore?v4.call(this,i,e,t):void 0}
    ${this.typeDetail?w4.call(this,i,e,t):void 0}${this.typeNavigation?k4.call(this,i,e,t):void 0}${this.navigated?$4.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?T4.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function v4(i,e,t){return c`${this.modeSingleSelect?f4.call(this,i,e,t):void 0}${this.modeMultiSelect?m4.call(this,i,e,t):void 0}${this.renderDeleteButton?g4.call(this,i,e,t):void 0}`}function f4(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function m4(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function g4(i,e,t){return c`
    ${this.hasDeleteButtonSlot?b4.call(this,i,e,t):y4.call(this,i,e,t)}
    `}function b4(i,e,t){return c``}function y4(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}function w4(i,e,t){return t?c`
    <${d("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:c`
    `}function k4(i,e,t){return t?c`<${d("ui5-icon",e,t)} name ="slim-arrow-right">`:c``}function $4(i,e,t){return c`
    `}function T4(i,e,t){return c`${this.modeSingleSelect?x4.call(this,i,e,t):void 0}${this.modeMultiSelect?S4.call(this,i,e,t):void 0}${this.renderDeleteButton?I4.call(this,i,e,t):void 0}`}function x4(i,e,t){return t?c`<${d("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:c``}function S4(i,e,t){return t?c`<${d("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:c``}function I4(i,e,t){return c`
    ${this.hasDeleteButtonSlot?C4.call(this,i,e,t):A4.call(this,i,e,t)}
    `}function C4(i,e,t){return c``}function A4(i,e,t){return t?c`<${d("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const B4={packageName:"@ui5/webcomponents",fileName:"themes/CustomListItem.css.ts",content:`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_custom_list_item_rb_min_width)} -`};var kk=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Gl=class extends ka{_onkeydown(e){!(It(e)||Ei(e))&&!this.focused||super._onkeydown(e)}_onkeyup(e){!(It(e)||Ei(e))&&!this.focused||super._onkeyup(e)}get classes(){const e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}};kk([u()],Gl.prototype,"accessibleName",void 0);Gl=kk([B({tag:"ui5-li-custom",template:wk,styles:[ka.styles,B4]})],Gl);Gl.define();const mv=Gl;var Ln=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let fr=class extends mv{get stableDomRef(){return""}get _accInfo(){const e={ariaSelected:this.selected};return{...super._accInfo,...e}}};Ln([u()],fr.prototype,"displayText",void 0);Ln([u({type:Boolean})],fr.prototype,"disabled",void 0);Ln([u()],fr.prototype,"value",void 0);Ln([u({type:Ft,defaultValue:Ft.Active})],fr.prototype,"type",void 0);Ln([u({type:Object})],fr.prototype,"accessibilityAttributes",void 0);Ln([u({type:Boolean})],fr.prototype,"navigated",void 0);Ln([F()],fr.prototype,"deleteButton",void 0);fr=Ln([B({tag:"ui5-select-menu-option",renderer:ee,styles:mv.styles,template:wk,dependencies:[]})],fr);fr.define();function E4(i,e,t){return t?c`
    <${d("ui5-button",e,t)} class="ui5-split-text-button" design="${a(this.design)}" dir=${a(this.effectiveDir)} icon="${a(this._textButtonIcon)}" tabindex="-1" ?disabled="${this.disabled}" ?active="${this._textButtonActive}" @click="${this._handleMouseClick}" @touchstart=${this._textButtonPress} @mousedown=${this._textButtonPress} @mouseup=${this._textButtonRelease} @focusin=${this._textButtonFocusIn} @focusout=${this._onFocusOut}>${this.isTextButton?Vg.call(this,i,e,t):void 0}<${d("ui5-button",e,t)} dir=${a(this.effectiveDir)} class="ui5-split-arrow-button" design="${a(this.design)}" icon="slim-arrow-down" tabindex="-1" ?disabled="${this.disabled}" ?active="${this.effectiveActiveArrowButton}" aria-expanded="${a(this.accessibilityInfo.ariaExpanded)}" aria-haspopup="${a(this.accessibilityInfo.ariaHaspopup)}" @click="${this._handleArrowButtonAction}" @mousedown=${this._arrowButtonPress} @mouseup=${this._arrowButtonRelease} @focusin=${this._setTabIndexValue} @ui5-_active-state-change=${a(this._onArrowButtonActiveStateChange)}>${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `:c`
    ${this.isTextButton?Vg.call(this,i,e,t):void 0}${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `}function Vg(i,e,t){return c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const D4={packageName:"@ui5/webcomponents",fileName:"themes/SplitButton.css.ts",content:`: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-flex;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_button_border_radius);background-color:var(--sapButton_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_default_box_shadow)}:host([active-arrow-button][design="Negative"]) .ui5-split-arrow-button,:host([design="Negative"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Reject_Selected_Background);border:.0625rem solid var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([active-arrow-button][design="Positive"]) .ui5-split-arrow-button,:host([design="Positive"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Accept_Selected_Background);border:.0625rem solid var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([active-arrow-button][design="Attention"]) .ui5-split-arrow-button,:host([design="Attention"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Attention_Selected_Background);border:.0625rem solid var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([active-arrow-button][design="Emphasized"]) .ui5-split-arrow-button,:host([design="Emphasized"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Emphasized_Active_Background);border:.0625rem solid var(--sapButton_Emphasized_Active_BorderColor)}:host([active-arrow-button][design="Transparent"]) .ui5-split-arrow-button,:host([active-arrow-button]) .ui5-split-arrow-button,:host([design="Transparent"]) .ui5-split-arrow-button[active],:host([design="Default"]) .ui5-split-arrow-button[active],.ui5-split-arrow-button[active],.ui5-split-arrow-button[active]:hover{background-color:var(--sapButton_Active_Background);border:.0625rem solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([disabled]:not([hidden])){pointer-events:none}:host([design="Positive"]:not([hidden])){background-color:var(--sapButton_Accept_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_positive_box_shadow)}:host([design="Negative"]:not([hidden])){background-color:var(--sapButton_Reject_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_negative_box_shadow)}:host([design="Attention"]:not([hidden])){background-color:var(--sapButton_Attention_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_attention_box_shadow)}:host([design="Emphasized"]:not([hidden])){background-color:var(--sapButton_Emphasized_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_emphasized_box_shadow)}:host([design="Transparent"]:not([hidden])){background-color:var(--sapButton_Lite_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_box_shadow)}:host([design="Transparent"][disabled]:not([hidden])){background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_disabled_background)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_box_shadow)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button:not(:hover),:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-text-button:not(:hover){color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_color)}:host([focused]) .ui5-split-button-root{outline:0}:host([focused]) .ui5-split-button-root:after{content:"";position:absolute;box-sizing:border-box;inset:.125rem;border:var(--_ui5-v1-22-1-rc-0_split_button_focused_border);pointer-events:none;border-radius:var(--_ui5-v1-22-1-rc-0_split_button_focused_border_radius)}:host([design="Emphasized"][focused]) .ui5-split-button-root:after{border-color:var(--sapContent_ContrastFocusColor)}.ui5-split-button-root{display:inline-flex;position:relative;width:inherit}.ui5-split-button-root:focus,.ui5-split-text-button:focus,.ui5-split-arrow-button:focus{outline:0}.ui5-split-text-button{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-width:.0625rem;border-inline-end-width:var(--_ui5-v1-22-1-rc-0_split_button_text_button_right_border_width);border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);vertical-align:top;flex-grow:1}.ui5-split-text-button:hover{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border_right)}.ui5-split-text-button[design=Emphasized]{border:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border);border-width:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border_width)}.ui5-split-text-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background)}.ui5-split-text-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_right)}.ui5-split-text-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_right)}.ui5-split-text-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_right)}.ui5-split-text-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_right)}.ui5-split-text-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border-color:var(--sapButton_Emphasized_Active_BorderColor)}.ui5-split-text-button[active][design=Negative]{background-color:var(--sapButton_Reject_Selected_Background);color:var(--sapButton_Reject_Active_TextColor);border-color:var(--sapButton_Reject_Active_BorderColor)}.ui5-split-text-button[active][design=Positive]{background-color:var(--sapButton_Accept_Selected_Background);color:var(--sapButton_Accept_Active_TextColor);border-color:var(--sapButton_Accept_Active_BorderColor)}.ui5-split-text-button[active][design=Attention]{background-color:var(--sapButton_Attention_Selected_Background);color:var(--sapButton_Attention_Active_TextColor);border-color:var(--sapButton_Attention_Active_BorderColor)}.ui5-split-text-button[active][design=Default],.ui5-split-text-button[active][design=Transparent]{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor);border-color:var(--sapButton_Active_BorderColor)}.ui5-split-text-button[active]{outline:0}.ui5-split-arrow-button{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);width:2.25rem;border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);position:relative;border-width:.0625rem;overflow:visible}.ui5-split-arrow-button:hover{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_hover_border)}.ui5-split-arrow-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border);box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow, none)}[dir=rtl].ui5-split-arrow-button[design=Emphasized]:hover{box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow_rtl, none)}.ui5-split-arrow-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_positive_hover_border)}.ui5-split-arrow-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_negative_hover_border)}.ui5-split-arrow-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_attention_hover_border)}.ui5-split-arrow-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_transparent_hover_border)}.ui5-split-arrow-button:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;width:.0625rem;background-color:var(--sapButton_TextColor);inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height)}.ui5-split-arrow-button[design=Emphasized]:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);inset-inline-end:0;height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height);width:.0625rem}.ui5-split-text-button:hover+.ui5-split-arrow-button:before,.ui5-split-arrow-button:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display)}.ui5-split-arrow-button[design=Emphasized]:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display_emphasized)}.ui5-split-arrow-button[design=Transparent]:before{background-color:var(--sapButton_Lite_TextColor)}.ui5-split-arrow-button[design=Emphasized]:before{background-color:var(--sapButton_Emphasized_TextColor)}.ui5-split-arrow-button[design=Positive]:before{background-color:var(--sapButton_Accept_TextColor)}.ui5-split-arrow-button[design=Negative]:before{background-color:var(--sapButton_Reject_TextColor)}.ui5-split-arrow-button[design=Attention]:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color_default)}.ui5-split-arrow-button[focused]::part(button):after{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[focused]::part(button):after{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[active][design=Emphasized]{color:var(--sapButton_Emphasized_Active_TextColor);background-color:var(--sapButton_Emphasized_Active_Background)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button,.ui5-split-arrow-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border)}:host([design="Transparent"][active-arrow-button]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button{color:var(--sapButton_Active_TextColor)}:host([active-arrow-button]) .ui5-split-arrow-button{border:.0625rem solid var(--sapButton_Lite_Active_BorderColor)}:host([active-arrow-button]) .ui5-split-arrow-button:before,.ui5-split-arrow-button[active]:before,.ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--sapButton_TextColor)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Emphasized"]) .ui5-split-arrow-button[active]:before,:host([design="Emphasized"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_emphasized_separator_color)}:host([design="Positive"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Positive"]) .ui5-split-arrow-button[active]:before,:host([design="Positive"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_positive_separator_color)}:host([design="Negative"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Negative"]) .ui5-split-arrow-button[active]:before,:host([design="Negative"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_negative_separator_color)}:host([design="Attention"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Attention"]) .ui5-split-arrow-button[active]:before,:host([design="Attention"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color)} -`};var _i=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ea;let Ut=ea=class extends j{static async onDefine(){ea.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super(),this._isDefaultActionPressed=!1,this._isKeyDownOperation=!1;const e=()=>{this._textButtonActive=!0,this.focused=!1,this._tabIndex="-1"};this._textButtonPress={handleEvent:e,passive:!0}}_manageFocus(e){[this.textButton,this.arrowButton,this].forEach(o=>{o.focused=o===e})}onBeforeRendering(){this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this.disabled&&(this._tabIndex="-1")}_handleMouseClick(e){const t=e.target;this._manageFocus(t),this._fireClick(e)}_onFocusOut(e){this.disabled||pa(e)||(this._shiftOrEscapePressed=!1,this._setTabIndexValue(),this._manageFocus())}_onFocusIn(e){this.disabled||pa(e)||(this._shiftOrEscapePressed=!1,this._manageFocus(this))}_textButtonFocusIn(e){e==null||e.stopPropagation(),this._manageFocus(this.textButton),this._setTabIndexValue()}_onKeyDown(e){this._isKeyDownOperation=!0,this._isArrowKeyAction(e)?(this._handleArrowButtonAction(e),this._activeArrowButton=!0):this._isDefaultAction(e)&&(this._handleDefaultAction(e),this._isDefaultActionPressed=!0),this._spacePressed&&this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._isDefaultActionPressed&&(It(e)||Ei(e))&&(this._activeArrowButton=!1,this._textButtonActive=!1),this._tabIndex="-1"}_onKeyUp(e){this._isKeyDownOperation=!1,this._isArrowKeyAction(e)?(e.preventDefault(),this._activeArrowButton=!1,this._textButtonActive=!1):this._isDefaultAction(e)&&(this._isDefaultActionPressed=!1,this._textButtonActive=!1,te(e)&&(e.preventDefault(),e.stopPropagation(),this._fireClick(),this._spacePressed=!1,this._textButtonActive=!1)),this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._tabIndex="-1"}_fireClick(e){e==null||e.stopPropagation(),this._shiftOrEscapePressed||this.fireEvent("click"),this._shiftOrEscapePressed=!1}_fireArrowClick(e){e==null||e.stopPropagation(),this.fireEvent("arrow-click")}_textButtonRelease(){this._textButtonActive=!1,this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this._tabIndex="-1"}_arrowButtonPress(e){e.preventDefault(),this.arrowButton.focus(),this._tabIndex="-1"}_arrowButtonRelease(e){e.preventDefault(),this._tabIndex="-1"}_setTabIndexValue(){var e,t;this._tabIndex=this.disabled?"-1":"0",this._tabIndex==="-1"&&((e=this.textButton)!=null&&e.focused||(t=this.arrowButton)!=null&&t.focused)&&(this._tabIndex="0")}_onArrowButtonActiveStateChange(e){this.activeArrowButton&&e.preventDefault()}_isArrowKeyAction(e){return De(e)||Le(e)||Tp(e)||gu(e)||Yu(e)}_isDefaultAction(e){return te(e)||de(e)}_isShiftOrEscape(e){return Zi(e)||Ix(e)}_handleArrowButtonAction(e){e.preventDefault(),this._fireArrowClick(e),te(e)&&(this._spacePressed=!0)}_handleDefaultAction(e){var o;e.preventDefault();const t=te(e);this.focused||(o=this.textButton)!=null&&o.focused?(this._textButtonActive=!0,this._fireClick(),t&&(this._spacePressed=!0)):this.arrowButton&&this.arrowButton.focused&&(this._activeArrowButton=!0,this._fireArrowClick(),t&&(this._spacePressed=!0,this._textButtonActive=!1))}_handleShiftOrEscapePressed(){this._shiftOrEscapePressed=!0,this._textButtonActive=!1,this._isKeyDownOperation=!1}get effectiveActiveArrowButton(){return this.activeArrowButton||this._activeArrowButton}get textButtonAccText(){return this.textContent}get isTextButton(){return!!this.textContent}get textButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-text-button")}get arrowButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-arrow-button")}get accessibilityInfo(){return{ariaExpanded:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaExpanded,ariaHaspopup:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaHaspopup,description:ea.i18nBundle.getText(F_),keyboardHint:ea.i18nBundle.getText(z_)}}get ariaLabelText(){return[ea.i18nBundle.getText(F_),ea.i18nBundle.getText(z_)].join(" ")}};_i([u()],Ut.prototype,"icon",void 0);_i([u()],Ut.prototype,"activeIcon",void 0);_i([u({type:Boolean})],Ut.prototype,"activeArrowButton",void 0);_i([u({type:hr,defaultValue:hr.Default})],Ut.prototype,"design",void 0);_i([u({type:Boolean})],Ut.prototype,"disabled",void 0);_i([u({defaultValue:void 0})],Ut.prototype,"accessibleName",void 0);_i([u({type:Boolean})],Ut.prototype,"focused",void 0);_i([u({type:Object})],Ut.prototype,"_splitButtonAccInfo",void 0);_i([u({defaultValue:"0",noAttribute:!0})],Ut.prototype,"_tabIndex",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_spacePressed",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_shiftOrEscapePressed",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_textButtonActive",void 0);_i([u({noAttribute:!0})],Ut.prototype,"_textButtonIcon",void 0);_i([u({type:Boolean,noAttribute:!0})],Ut.prototype,"_activeArrowButton",void 0);_i([F({type:Node,default:!0})],Ut.prototype,"text",void 0);Ut=ea=_i([B({tag:"ui5-split-button",renderer:ee,styles:D4,template:E4,dependencies:[Fe]}),$("click"),$("arrow-click")],Ut);Ut.define();function P4(i,e,t){return t?c`
    ${this.readonly?void 0:Hg.call(this,i,e,t)}<${d("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-step-input-input" placeholder="${a(this.placeholder)}" type="${a(this.type)}" value="${a(this._valuePrecisioned)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" ._nativeInputAttributes="${a(this.inputAttributes)}" @ui5-change="${a(this._onInputChange)}" @focusout="${this._onInputFocusOut}" @focusin="${this._onInputFocusIn}">${this.valueStateMessage.length?Ug.call(this,i,e,t):void 0}${this.readonly?void 0:Wg.call(this,i,e,t)}
    `:c`
    ${this.readonly?void 0:Hg.call(this,i,e,t)}${this.valueStateMessage.length?Ug.call(this,i,e,t):void 0}${this.readonly?void 0:Wg.call(this,i,e,t)}
    `}function Hg(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} id="${a(this._id)}-dec" name="${a(this.decIconName)}" tabindex="-1" accessible-name="${a(this.decIconTitle)}" @click="${this._decValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._decSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._decIconClickable}">
    `:c`
    `}function Ug(i,e,t){return c``}function Wg(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} id="${a(this._id)}-inc" name="${a(this.incIconName)}" tabindex="-1" accessible-name="${a(this.incIconTitle)}" @click="${this._incValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._incSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._incIconClickable}">
    `:c`
    `}const O4="less",$k="M464 224q16 0 16 16v32q0 16-16 16H48q-6 0-11-4.5T32 272v-32q0-7 5-11.5t11-4.5h416z",R4=!1,L4="SAP-icons-v4",M4="@ui5/webcomponents-icons";Y(O4,{pathData:$k,ltr:R4,collection:L4,packageName:M4});const N4="less",Tk="M454 275H58q-11 0-18.5-7T32 250t7.5-18.5T58 224h396q11 0 18.5 7.5T480 250t-7.5 18-18.5 7z",F4=!1,z4="SAP-icons-v5",V4="@ui5/webcomponents-icons";Y(N4,{pathData:Tk,ltr:F4,collection:z4,packageName:V4});we();const H4="add",xk="M32 240q0-7 5-11.5t11-4.5h176V48q0-7 5-11.5t11-4.5h32q16 0 16 16v176h176q16 0 16 16v32q0 16-16 16H288v176q0 16-16 16h-32q-6 0-11-4.5t-5-11.5V288H48q-6 0-11-4.5T32 272v-32z",U4=!1,W4=Zy,q4="SAP-icons-v4",j4="@ui5/webcomponents-icons";Y(H4,{pathData:xk,ltr:U4,accData:W4,collection:q4,packageName:j4});const G4="add",Sk="M454 230q11 0 18.5 7.5T480 256t-7.5 18.5T454 282H282v172q0 11-7.5 18.5T256 480t-18.5-7.5T230 454V282H58q-11 0-18.5-7.5T32 256t7.5-18.5T58 230h172V58q0-11 7.5-18.5T256 32t18.5 7.5T282 58v172h172z",Y4=!1,K4=Zy,X4="SAP-icons-v5",Z4="@ui5/webcomponents-icons";Y(G4,{pathData:Sk,ltr:Y4,accData:K4,collection:X4,packageName:Z4});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const Q4={packageName:"@ui5/webcomponents",fileName:"themes/StepInput.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;width:100%;line-height:normal;letter-spacing:normal;word-spacing:normal}:host{--ui5-v1-22-1-rc-0_input_focus_pseudo_element_content: none;color:var(--sapField_TextColor);background-color:var(--sapField_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style);border-radius:var(--sapField_BorderCornerRadius);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_input_height);position:relative;min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);text-align:right}:host .ui5-step-input-input{text-align:inherit}:host(:not([value-state]):not([readonly]):not([disabled])){box-shadow:none}:host(:not([value-state]):not([readonly]):not([disabled]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_step_input_border_color_hover);border:var(--_ui5-v1-22-1-rc-0_step_input_border_hover)}:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover){background-color:var(--sapField_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style_hover);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InformationShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Error"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):hover),:host([value-state="Error"]:not([readonly]):not([disabled]):hover),:host([value-state="Information"]:not([readonly]):not([disabled]):hover),:host([value-state="Warning"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0-step_input_button_state_hover_background_color)}:host(:not([value-state]):not([readonly]):not([disabled])[focused]),:host([value-state="None"]:not([readonly]):not([disabled])[focused]),:host([value-state="Success"]:not([readonly]):not([disabled])[focused]),:host([value-state="Error"]:not([readonly]):not([disabled])[focused]),:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),:host([value-state="Warning"]:not([readonly]):not([disabled])[focused]){background-color:var(--sapField_Focus_Background)}:host([value-state="Success"]:not([readonly]):not([disabled])):after,:host([value-state="Error"]:not([readonly]):not([disabled])):after,:host([value-state="None"]:not([readonly]):not([disabled])):after,:host([value-state="Information"]:not([readonly]):not([disabled])):after,:host([value-state="Warning"]:not([readonly]):not([disabled])):after{position:absolute;content:"";inset:-1px;outline:none;pointer-events:none;border-radius:var(--sapField_BorderCornerRadius);border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style);z-index:1;border-width:0px}:host([value-state="Information"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InformationColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state="Warning"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_WarningColor);border-width:2px}:host([value-state="Success"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_SuccessColor);border-width:1px}:host([value-state="Error"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InvalidColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state]):after{border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input{background-color:var(--_ui5-v1-22-1-rc-0_input_input_background_color)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input:hover{background-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_background_color)}:host([value-state]:not([value-state="None"]) .ui5-step-input-input[focused]){outline:none}:host .ui5-step-input-input{width:100%;color:inherit;background-color:inherit;border:var(--_ui5-v1-22-1-rc-0_step_input_input_border);box-sizing:border-box;vertical-align:top;margin-top:var(--_ui5-v1-22-1-rc-0_step_input_input_margin_top);min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);padding-inline-start:var(--_ui5-v1-22-1-rc-0_step_input_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_step_input_padding);position:relative;outline:none;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[readonly]{padding:0}:host .ui5-step-input-input:hover,:host .ui5-step-input-input[focused]{box-shadow:none}:host .ui5-step-input-root{white-space:nowrap;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[text-align=left]{text-align:left}:host .ui5-step-input-input[text-align=center]{text-align:center}:host .ui5-step-input-input[text-align=right]{text-align:right}:host .ui5-step-icon{position:absolute;display:var(--_ui5-v1-22-1-rc-0_step_input_button_display);height:2rem;height:100%;background-color:var(--_ui5-v1-22-1-rc-0_step_input_button_background_color);z-index:0}:host .ui5-step-icon[focused]{border:none;outline:none}:host .ui5-step-icon.ui5-step-dec{left:var(--_ui5-v1-22-1-rc-0_step_input_button_left);z-index:1}:host .ui5-step-icon.ui5-step-inc{right:var(--_ui5-v1-22-1-rc-0_step_input_button_right)}:host .ui5-step-icon *:not([clickable]),:host .ui5-step-icon *:not([clickable]):active,:host .ui5-step-icon *:not([clickable]):hover{opacity:.5;background-color:transparent;color:var(--sapContent_IconColor)}:host .ui5-step-icon :not([clickable]) *:hover,:host .ui5-step-icon :not([clickable]) *:active{background-color:var(--sapField_Background);color:var(--sapContent_IconColor)}:host .ui5-step-input-input[focused]:after{position:absolute;content:"";border:var(--_ui5-v1-22-1-rc-0_step_input_input_border_focused_after);top:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);right:0;bottom:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);border-radius:var(--_ui5-v1-22-1-rc-0_step_input_input_border_radius_focused_after);left:0;outline:none;pointer-events:none;z-index:1}:host .ui5-step-input-input[focused]{outline:none}:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_information_border_color_focused_after)}:host([value-state="Warning"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_warning_border_color_focused_after)}:host([value-state="Success"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_success_border_color_focused_after)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_border_color_focused_after)}:host .ui5-step-input-input::-webkit-outer-spin-button,:host .ui5-step-input-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host([disabled]) .ui5-step-icon{background-color:var(--_ui5-v1-22-1-rc-0_step_input_disabled_button_background)}:host([disabled]) .ui5-step-icon [ui5-icon]{color:var(--sapField_ReadOnly_BorderColor)} -`};var je=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ul;const J4=500,e8=.8,qg=50,t8=120;let He=ul=class extends j{static async onDefine(){ul.i18nBundle=await oe("@ui5/webcomponents")}get type(){return us.Number}get decIconTitle(){return ul.i18nBundle.getText(hy)}get decIconName(){return"less"}get incIconTitle(){return ul.i18nBundle.getText(py)}get incIconName(){return"add"}get _decIconClickable(){return!this._decIconDisabled&&!this.readonly&&!this.disabled}get _incIconClickable(){return!this._incIconDisabled&&!this.readonly&&!this.disabled}get _isFocused(){return this.focused}get _valuePrecisioned(){return this.value.toFixed(this.valuePrecision)}get accInfo(){return{ariaRequired:this.required,ariaLabel:Wt(this)}}get inputAttributes(){return{min:this.min===void 0?void 0:this.min,max:this.max===void 0?void 0:this.max,step:this.step}}onBeforeRendering(){this._setButtonState(),this._previousValue===void 0&&(this._previousValue=this.value);const e=Se("FormSupport");e?e.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get input(){return this.shadowRoot.querySelector("[ui5-input]")}get inputOuter(){return this.shadowRoot.querySelector(".ui5-step-input-input")}_onButtonFocusOut(){setTimeout(()=>{this._inputFocused||this.inputOuter.removeAttribute("focused")},0)}_onInputFocusIn(){this._inputFocused=!0,this.value!==this._previousValue&&(this._previousValue=this.value)}_onInputFocusOut(){this._inputFocused=!1,this._onInputChange()}_setButtonState(){this._decIconDisabled=this.min!==void 0&&this.value<=this.min,this._incIconDisabled=this.max!==void 0&&this.value>=this.max}_validate(){this._initialValueState===void 0&&(this._initialValueState=this.valueState),this.valueState=this.min!==void 0&&this.valuethis.max?y.Error:this._initialValueState}_preciseValue(e){const t=10**this.valuePrecision;return Math.round(e*t)/t}_fireChangeEvent(){this._previousValue!==this.value&&(this._previousValue=this.value,this.fireEvent("change",{value:this.value}))}_modifyValue(e,t=!1){let o;this.value=this._preciseValue(parseFloat(this.input.value)),o=this.value+e,this.min!==void 0&&othis.max&&(o=this.max),o=this._preciseValue(o),o!==this.value&&(this.value=o,this._validate(),this._setButtonState(),this.focused=!0,this.inputOuter.setAttribute("focused",""),t?this._fireChangeEvent():this.input.focus())}_incValue(e){this._incIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(this.step,!0),this._previousValue=this.value)}_decValue(e){this._decIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(-this.step,!0),this._previousValue=this.value)}_onInputChange(){this.input.value===""&&(this.input.value=this.min||0);const e=this._preciseValue(parseFloat(this.input.value));(this.value!==this._previousValue||this.value!==e)&&(this.value=e,this._validate(),this._setButtonState(),this._fireChangeEvent())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}_onkeydown(e){let t=!0;if(!(this.disabled||this.readonly)){if(de(e)){this._onInputChange();return}Le(e)?this._modifyValue(this.step):De(e)?this._modifyValue(-this.step):Zi(e)?(this.value=this._previousValue,this.input.value=this.value.toFixed(this.valuePrecision)):this.max!==void 0&&(ns(e)||yx(e))?this._modifyValue(this.max-this.value):this.min!==void 0&&(lc(e)||wx(e))?this._modifyValue(this.min-this.value):!Lr(e)&&!Mr(e)&&!cr(e)&&!Ro(e)&&(t=!1),t&&e.preventDefault()}}_decSpin(){this._decIconDisabled||this._spinValue(!1,!0)}_incSpin(){this._incIconDisabled||this._spinValue(!0,!0)}_calcWaitTimeout(){return this._speed*=e8,this._waitTimeout=this._waitTimeout-this._speed{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}_resetSpinOut(){this._btnDown&&(this._resetSpin(),this._fireChangeEvent())}};je([u({validator:Ti,defaultValue:0})],He.prototype,"value",void 0);je([u({validator:Ti})],He.prototype,"min",void 0);je([u({validator:Ti})],He.prototype,"max",void 0);je([u({validator:Ti,defaultValue:1})],He.prototype,"step",void 0);je([u({type:y,defaultValue:y.None})],He.prototype,"valueState",void 0);je([u({type:Boolean})],He.prototype,"required",void 0);je([u({type:Boolean})],He.prototype,"disabled",void 0);je([u({type:Boolean})],He.prototype,"readonly",void 0);je([u({defaultValue:void 0})],He.prototype,"placeholder",void 0);je([u()],He.prototype,"name",void 0);je([u({validator:z,defaultValue:0})],He.prototype,"valuePrecision",void 0);je([u()],He.prototype,"accessibleName",void 0);je([u({defaultValue:""})],He.prototype,"accessibleNameRef",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_decIconDisabled",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_incIconDisabled",void 0);je([u({type:Boolean})],He.prototype,"focused",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_inputFocused",void 0);je([u({validator:Ti,noAttribute:!0})],He.prototype,"_previousValue",void 0);je([u({validator:Ti,noAttribute:!0})],He.prototype,"_waitTimeout",void 0);je([u({validator:Ti,noAttribute:!0})],He.prototype,"_speed",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_btnDown",void 0);je([u({validator:z,noAttribute:!0})],He.prototype,"_spinTimeoutId",void 0);je([u({type:Boolean,noAttribute:!0})],He.prototype,"_spinStarted",void 0);je([F()],He.prototype,"valueStateMessage",void 0);je([F()],He.prototype,"formSupport",void 0);He=ul=je([B({tag:"ui5-step-input",renderer:ee,styles:Q4,template:P4,dependencies:[Ie,vr]}),$("change")],He);He.define();function i8(i,e,t){return t?c`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?jg.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?Gg.call(this,i,e,t):void 0}
    <${d("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?Yg.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:c`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?jg.call(this,i,e,t):void 0}
    ${this.showTooltip?Gg.call(this,i,e,t):void 0}
    ${this.showTooltip?Yg.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function jg(i,e,t){return c`${this.showTickmarks?o8.call(this,i,e,t):void 0}`}function o8(i,e,t){return c`
      ${E(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>r8.call(this,i,e,t,o,r))}
    ${this.labelInterval?s8.call(this,i,e,t):void 0}`}function r8(i,e,t,o,r){return c`${o?n8.call(this,i,e,t,o,r):a8.call(this,i,e,t,o,r)}`}function n8(i,e,t,o,r){return c`
  • `}function a8(i,e,t,o,r){return c`
  • `}function s8(i,e,t){return c`
      ${E(this._labels,(o,r)=>o._id||r,(o,r)=>l8.call(this,i,e,t,o,r))}
    `}function l8(i,e,t,o,r){return c`
  • ${a(o)}
  • `}function Gg(i,e,t){return c`
    ${a(this.tooltipStartValue)}
    `}function Yg(i,e,t){return c`
    ${a(this.tooltipEndValue)}
    `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const c8={packageName:"@ui5/webcomponents",fileName:"themes/RangeSlider.css.ts",content:`:host([ui5-range-slider]) .ui5-slider-progress-container:before{background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_background)}.ui5-slider-root:hover:active .ui5-slider-handle:not(:focus){background:var(--sapSlider_RangeHandleBackground)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus){background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_active_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);box-shadow:none}:host([range-pressed]) .ui5-slider-handle [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-root:not(.ui5-slider-root-phone):focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background_focus)}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus [slider-icon]{display:none}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-progress:focus:before{display:var(--_ui5-v1-22-1-rc-0_range_slider_legacy_progress_focus_display);content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_width);border:var(--_ui5-v1-22-1-rc-0_slider_progress_outline);border-radius:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_radius);top:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset);height:var(--_ui5-v1-22-1-rc-0_slider_outer_height);box-sizing:border-box;left:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset_left)}.ui5-slider-progress{position:relative}.ui5-slider-progress:focus:after{border:.125rem solid var(--sapContent_FocusColor);border-radius:.5rem;content:"";display:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_display);position:absolute;top:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top);left:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left);padding:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_padding);width:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width);height:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height);box-sizing:border-box}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_bg)}.ui5-slider-root:hover .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_icon_display)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_active_handle_icon_display)} -`};var md=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},hn;let ps=hn=class extends sr{constructor(){super(),this._isPressInCurrentRange=!1,this._handeIsPressed=!1,this._reversedValues=!1,this._stateStorage.startValue=void 0,this._stateStorage.endValue=void 0}get tooltipStartValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.startValue.toFixed(t)}get tooltipEndValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.endValue.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return hn.i18nBundle.getText(f0)}get _ariaHandlesText(){const e=this.effectiveDir==="rtl",t=this._areValuesReversed(),o={};return e&&!t||!e&&t?(o.startHandleText=hn.i18nBundle.getText(N_),o.endHandleText=hn.i18nBundle.getText(M_)):(o.startHandleText=hn.i18nBundle.getText(M_),o.endHandleText=hn.i18nBundle.getText(N_)),o}get _ariaValueNow(){return Math.abs(this.endValue-this.startValue)}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))}syncUIAndState(){if(this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","startValue","endValue")){this.storePropertyState("min","max");const e=sr.clipValue(this.startValue,this._effectiveMin,this._effectiveMax);this.startValue=e,this.updateStateStorageAndFireInputEvent("startValue"),this.storePropertyState("startValue");const t=sr.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.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._setAffectedValue(void 0),this._startValueInitial=void 0,this._endValueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=sr.TOOLTIP_VISIBILITY.HIDDEN)}_onkeyup(){super._onkeyup(),this._setAffectedValue(void 0),(this.startValue!==this._startValueAtBeginningOfAction||this.endValue!==this._endValueAtBeginningOfAction)&&this.fireEvent("change"),this._startValueAtBeginningOfAction=void 0,this._endValueAtBeginningOfAction=void 0}_handleActionKeyPress(e){if(this._startValueAtBeginningOfAction=this.startValue,this._endValueAtBeginningOfAction=this.endValue,Zi(e)){this.update(void 0,this._startValueInitial,this._endValueInitial);return}this._setAffectedValueByFocusedElement();const t=this._effectiveMin,o=this._effectiveMax,r=this._valueAffected;if((si(e)||St(e))&&!r){this._homeEndForSelectedRange(e,St(e)?"startValue":"endValue",t,o);return}const n=this._handleActionKeyPressBase(e,r);if(!n)return;const s=this.constructor;if(r&&!this._isPressInCurrentRange){const l=this[r],_=s.clipValue(n+l,t,o);this.update(r,_,void 0)}else if(n<0&&this.startValue>t||n>0&&this.endValue=n.left&&e<=n.right,_=e>=s.left&&e<=s.right;(_||l)&&(this._handeIsPressed=!0),(_||t>this.endValue)&&this._setAffectedValue("endValue"),(l||t=this._startValueAtBeginningOfAction&&t<=this._endValueAtBeginningOfAction;this._setIsPressInCurrentRange(this._valueAffected||this._handeIsPressed?!1:p)}_setAffectedValue(e){this._valueAffected=e,this._areValuesReversed()&&this._setValuesAreReversed()}_setIsPressInCurrentRange(e){this._isPressInCurrentRange=e}focusInnerElement(){const e=this._areValuesReversed(),t=this._valueAffected;(this._isPressInCurrentRange||!t)&&this._progressBar.focus(),(t==="startValue"&&!e||t==="endValue"&&e)&&this._startHandle.focus(),(t==="endValue"&&!e||t==="startValue"&&e)&&this._endHandle.focus()}_calculateRangeOffset(e,t){if(this._initialPageXPosition===e)return[this.startValue,this.endValue];const o=this._effectiveMin,r=this._effectiveMax,n=this.endValue-this.startValue;let s=this._calculateStartValueByOffset(e,t);return s=this.constructor.clipValue(s,o,r-n),[s,s+n]}_calculateStartValueByOffset(e,t){const o=this._effectiveMin,r=this._effectiveMax,n=this._effectiveStep,s=this.getBoundingClientRect();let l,_,p;const v=this.constructor;return e>this._initialPageXPosition?(p=e-this._initialPageXPosition,_=t+p,l=v.computedValueFromPageX(_,o,r,s,this.directionStart),l=v.getSteppedValue(l,n,o)):(p=this._initialPageXPosition-e,_=t-p,l=v.computedValueFromPageX(_,o,r,s,this.directionStart),l=v.getSteppedValue(l,n,o)),l}_updateHandlesAndRange(e){const t=this._effectiveMax,o=this._effectiveMin,r=this.getStoredPropertyState("startValue")||0,n=this.getStoredPropertyState("endValue")||0,s=this._valueAffected;s==="startValue"?(this._selectedRange=(n-e)/(t-o),this._firstHandlePositionFromStart=(e-o)/(t-o)*100):s==="endValue"?(this._selectedRange=(e-r)/(t-o),this._secondHandlePositionFromStart=(e-o)/(t-o)*100):(this._selectedRange=(this.endValue-this.startValue)/(t-o),this._firstHandlePositionFromStart=(this.startValue-o)/(t-o)*100,this._secondHandlePositionFromStart=(this.endValue-o)/(t-o)*100)}_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,n=this._effectiveMin+o*this.step<=this.endValue;t.push(r&&n)}return t}get _startHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--start")}get _endHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--end")}get _progressBar(){return this.shadowRoot.querySelector(".ui5-slider-progress")}get _ariaLabelledByStartHandleRefs(){return[`${this._id}-accName`,`${this._id}-startHandleDesc`].join(" ").trim()}get _ariaLabelledByEndHandleRefs(){return[`${this._id}-accName`,`${this._id}-endHandleDesc`].join(" ").trim()}get _ariaLabelledByProgressBarRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}get styles(){return{progress:{width:`${this._selectedRange*100}%`,"transform-origin":`${this.directionStart} top`,[this.directionStart]:`${this._firstHandlePositionFromStart}%`},startHandle:{[this.directionStart]:`${this._firstHandlePositionFromStart}%`},endHandle:{[this.directionStart]:`${this._secondHandlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}static async onDefine(){hn.i18nBundle=await oe("@ui5/webcomponents")}};md([u({validator:Ti,defaultValue:0})],ps.prototype,"startValue",void 0);md([u({validator:Ti,defaultValue:100})],ps.prototype,"endValue",void 0);md([u({type:Boolean})],ps.prototype,"rangePressed",void 0);ps=hn=md([B({tag:"ui5-range-slider",languageAware:!0,template:i8,dependencies:[Ie],styles:[sr.styles,c8]})],ps);ps.define();var Mh;(function(i){i.Textual="Textual",i.Graphical="Graphical"})(Mh||(Mh={}));const Nh=Mh;function u8(i,e,t){return t?c`
    ${this.graphical?Kg.call(this,i,e,t):Xg.call(this,i,e,t)}<${d("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-handle-icon">
    `:c`
    ${this.graphical?Kg.call(this,i,e,t):Xg.call(this,i,e,t)}
    `}function Kg(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="accept" class="ui5-switch-icon-on"><${d("ui5-icon",e,t)} name="decline" class="ui5-switch-icon-off">`:c``}function Xg(i,e,t){return c`${this.hasNoLabel?d8.call(this,i,e,t):_8.call(this,i,e,t)}`}function d8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-on"><${d("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-off">`:c``}function _8(i,e,t){return c`${a(this._textOn)}${a(this._textOff)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const h8={packageName:"@ui5/webcomponents",fileName:"themes/Switch.css.ts",content:`.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(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_width);height:var(--_ui5-v1-22-1-rc-0_switch_height);min-width:var(--_ui5-v1-22-1-rc-0_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-v1-22-1-rc-0-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5-v1-22-1-rc-0_switch_with_label_width);height:var(--_ui5-v1-22-1-rc-0_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5-v1-22-1-rc-0_switch_track_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_width);border:var(--_ui5-v1-22-1-rc-0-switch-track-border);border-radius:var(--_ui5-v1-22-1-rc-0_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5-v1-22-1-rc-0_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-v1-22-1-rc-0-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_handle_width);height:var(--_ui5-v1-22-1-rc-0_switch_handle_height);border:var(--_ui5-v1-22-1-rc-0_switch_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_handle_with_label_width)}.ui5-switch-handle-icon{display:var(--_ui5-v1-22-1-rc-0-switch-handle-icon-display);transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}:host([checked]) .ui5-switch-handle-icon{color:var(--_ui5-v1-22-1-rc-0-switch_track-on-background)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5-v1-22-1-rc-0_switch_text_z_index);min-width:var(--_ui5-v1-22-1-rc-0_switch_text_min_width);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);font-family:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-desktop.ui5-switch-root:focus:after{content:"";position:absolute;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_root_outline_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_root_outline_right);top:var(--_ui5-v1-22-1-rc-0_switch_root_outline_top);bottom:var(--_ui5-v1-22-1-rc-0_switch_root_outline_bottom);border:var(--_ui5-v1-22-1-rc-0_switch_focus_outline);border-radius:var(--_ui5-v1-22-1-rc-0_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition);outline:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off{visibility:var(--_ui5-v1-22-1-rc-0_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on{visibility:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_inactive_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height);display:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_width)}:host([active]) .ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var( --_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0-switch_track-on-active-background)}.ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right_alternate)}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_rtl_transform_with_label)}[dir=rtl].ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_switch_rtl_transform)} -`};var So=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Fh;let Mi=Fh=class extends j{onBeforeRendering(){this._enableFormSupport()}_enableFormSupport(){const e=Se("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.checked=!!r.checked,o.disabled=!!r.disabled,o.value=r.checked?"on":""}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get sapNextIcon(){return this.checked?"accept":"less"}_onclick(){this.toggle()}_onkeydown(e){te(e)&&e.preventDefault(),de(e)&&this._onclick()}_onkeyup(e){te(e)&&this._onclick()}toggle(){if(!this.disabled){this.checked=!this.checked;const e=!this.fireEvent("change",null,!0),t=!this.fireEvent("value-changed",null,!0);(e||t)&&(this.checked=!this.checked)}}get graphical(){return this.design===Nh.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 effectiveTabIndex(){return this.disabled?void 0:"0"}get classes(){const e=this.graphical||this.textOn||this.textOff;return{main:{"ui5-switch-desktop":vo(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!e}}}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get accessibilityOnText(){return this._textOn}get accessibilityOffText(){return this._textOff}get hiddenText(){return this.checked?this.accessibilityOnText:this.accessibilityOffText}get ariaLabelText(){return[Wt(this),this.hiddenText].join(" ").trim()}static async onDefine(){Fh.i18nBundle=await oe("@ui5/webcomponents")}};So([u({type:Nh,defaultValue:Nh.Textual})],Mi.prototype,"design",void 0);So([u({type:Boolean})],Mi.prototype,"checked",void 0);So([u({type:Boolean})],Mi.prototype,"disabled",void 0);So([u()],Mi.prototype,"textOn",void 0);So([u()],Mi.prototype,"textOff",void 0);So([u()],Mi.prototype,"accessibleName",void 0);So([u({defaultValue:""})],Mi.prototype,"accessibleNameRef",void 0);So([u()],Mi.prototype,"tooltip",void 0);So([u({type:Boolean})],Mi.prototype,"required",void 0);So([u()],Mi.prototype,"name",void 0);So([F()],Mi.prototype,"formSupport",void 0);Mi=Fh=So([B({tag:"ui5-switch",languageAware:!0,styles:h8,renderer:ee,template:u8,dependencies:[Ie]}),$("change")],Mi);Mi.define();var zh;(function(i){i.Information="Information",i.Positive="Positive",i.Negative="Negative",i.Warning="Warning"})(zh||(zh={}));const Zg=zh;function p8(i,e,t){return c`
    ${this.hideIcon?void 0:v8.call(this,i,e,t)}${a(this.hiddenText)}${this.hideCloseButton?void 0:g8.call(this,i,e,t)}
    `}function v8(i,e,t){return c``}function f8(i,e,t){return c``}function m8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.standardIconName)}" class="ui5-message-strip-icon">`:c``}function g8(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="decline" design="Transparent" class="ui5-message-strip-close-button" tooltip="${a(this._closeButtonText)}" @click=${this._closeClick}>`:c``}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const b8={packageName:"@ui5/webcomponents",fileName:"themes/MessageStrip.css.ts",content:`.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;width:100%}.ui5-message-strip-root{width:100%;height:100%;display:flex;border-radius:var(--sapPopover_BorderCornerRadius);padding:var(--_ui5-v1-22-1-rc-0_message_strip_padding);border-width:var(--_ui5-v1-22-1-rc-0_message_strip_border_width);border-style:solid;box-sizing:border-box;position:relative}.ui5-message-strip-root-hide-icon{padding-inline:var(--_ui5-v1-22-1-rc-0_message_strip_padding_inline_no_icon);padding-block:var(--_ui5-v1-22-1-rc-0_message_strip_padding_block_no_icon)}.ui5-message-strip-root-hide-close-button{padding-inline-end:1rem}.ui5-message-strip-root--info{background-color:var(--sapInformationBackground);border-color:var(--sapMessage_InformationBorderColor);color:var(--sapTextColor)}.ui5-message-strip-root--info .ui5-message-strip-icon{color:var(--sapInformativeElementColor)}.ui5-message-strip-root--positive{background-color:var(--sapSuccessBackground);border-color:var(--sapMessage_SuccessBorderColor)}.ui5-message-strip-root--positive .ui5-message-strip-icon{color:var(--sapPositiveElementColor)}.ui5-message-strip-root--negative{background-color:var(--sapErrorBackground);border-color:var(--sapMessage_ErrorBorderColor)}.ui5-message-strip-root--negative .ui5-message-strip-icon{color:var(--sapNegativeElementColor)}.ui5-message-strip-root--warning{background-color:var(--sapWarningBackground);border-color:var(--sapMessage_WarningBorderColor)}.ui5-message-strip-root--warning .ui5-message-strip-icon{color:var(--sapCriticalElementColor)}.ui5-message-strip-icon-wrapper{position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_icon_top);inset-inline-start:.75rem;box-sizing:border-box}.ui5-message-strip-text{width:100%;color:var(--sapTextColor);line-height:1.2;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-message-strip-close-button{height:1.625rem;min-height:1.625rem;position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_top);inset-inline-end:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_right)} -`};var xc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ta,Vh;(function(i){i.Information="ui5-message-strip-root--info",i.Positive="ui5-message-strip-root--positive",i.Negative="ui5-message-strip-root--negative",i.Warning="ui5-message-strip-root--warning"})(Vh||(Vh={}));var Hh;(function(i){i.Information="information",i.Positive="sys-enter-2",i.Negative="error",i.Warning="alert"})(Hh||(Hh={}));let Ba=ta=class extends j{_closeClick(){this.fireEvent("close")}static async onDefine(){ta.i18nBundle=await oe("@ui5/webcomponents")}static designAnnouncementMappings(){const e=t=>ta.i18nBundle.getText(t);return{Information:e(c0),Positive:e(l0),Negative:e(a0),Warning:e(s0)}}get hiddenText(){return`${ta.designAnnouncementMappings()[this.design]} ${this.hideCloseButton?"":this._closableText}`}get _closeButtonText(){return ta.i18nBundle.getText(r0)}get _closableText(){return ta.i18nBundle.getText(n0)}get classes(){return{root:{"ui5-message-strip-root":!0,"ui5-message-strip-root-hide-icon":this.hideIcon,"ui5-message-strip-root-hide-close-button":this.hideCloseButton,[this.designClasses]:!0}}}get iconProvided(){return this.icon.length>0}get standardIconName(){return Hh[this.design]}get designClasses(){return Vh[this.design]}};xc([u({type:Zg,defaultValue:Zg.Information})],Ba.prototype,"design",void 0);xc([u({type:Boolean})],Ba.prototype,"hideIcon",void 0);xc([u({type:Boolean})],Ba.prototype,"hideCloseButton",void 0);xc([F()],Ba.prototype,"icon",void 0);Ba=ta=xc([B({tag:"ui5-message-strip",languageAware:!0,renderer:ee,template:p8,styles:b8,dependencies:[Ie,Fe]}),$("close")],Ba);Ba.define();const y8="multiselect-all",Ik="M92 472l80-97 20 19L92 512l-60-59 20-20zm80-285l20 19L92 323l-60-59 20-19 40 38zm0-187l20 19L92 137 32 78l20-21 40 40zm292 65q16 0 16 16 0 6-4.5 11T464 97H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 191q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 192q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191z",w8=!0,k8="SAP-icons-v4",$8="@ui5/webcomponents-icons";Y(y8,{pathData:Ik,ltr:w8,collection:k8,packageName:$8});const T8="multiselect-all",Ck="M198 0q11 0 18.5 7.5T224 26q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 57q10 0 19 9l27 30 75-87q8-9 19-9zm84 96q-11 0-18.5-7.5T256 70t7.5-18 18.5-7h172q11 0 18.5 7t7.5 18-7.5 18.5T454 96H282zm-84 80q11 0 18.5 7.5T224 202q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 233q10 0 19 9l27 30 75-87q8-9 19-9zm256 48q11 0 18.5 7.5T480 250t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 224h172zM198 352q11 0 18.5 7.5T224 378q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 409q10 0 19 9l27 30 75-87q8-9 19-9zm256 64q11 0 18.5 7.5T480 442t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 416h172z",x8=!0,S8="SAP-icons-v5",I8="@ui5/webcomponents-icons";Y(T8,{pathData:Ck,ltr:x8,collection:S8,packageName:I8});we();var Ak=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Yl=class extends qw{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};Ak([u({type:Boolean})],Yl.prototype,"selected",void 0);Yl=Ak([B("ui5-mcb-item")],Yl);Yl.define();const Bk=Yl;var Ek=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Kl=class extends j{get isGroupItem(){return!0}get selected(){return!1}get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};Ek([u()],Kl.prototype,"text",void 0);Kl=Ek([B("ui5-mcb-group-item")],Kl);Kl.define();const C8=Kl;function A8(i,e,t){return t?c`
    ${a(this._tokensCountText)}${this.hasValueState?Qg.call(this,i,e,t):void 0}<${d("ui5-tokenizer",e,t)} slot="_beginContent" show-more prevent-popover-open class="ui5-multi-combobox-tokenizer" ?disabled="${this.disabled}" @ui5-show-more-items-press="${a(this._showFilteredItems)}" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} @ui5-token-delete="${a(this._tokenDelete)}" @ui5-before-more-popover-open="${a(this.handleBeforeTokenizerPopoverOpen)}" @focusout="${this._tokenizerFocusOut}" @focusin="${this._tokenizerFocusIn}" @click=${this._click} @paste=${this._handlePaste} @keydown="${this._onTokenizerKeydown}" ?expanded="${this._tokenizerExpanded}">${E(this.items,(o,r)=>o._id||r,(o,r)=>Jg.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?eb.call(this,i,e,t):void 0}${this.icon?tb.call(this,i,e,t):void 0}${this.readonly?void 0:ib.call(this,i,e,t)}
    `:c`
    ${a(this._tokensCountText)}${this.hasValueState?Qg.call(this,i,e,t):void 0}${E(this.items,(o,r)=>o._id||r,(o,r)=>Jg.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?eb.call(this,i,e,t):void 0}${this.icon?tb.call(this,i,e,t):void 0}${this.readonly?void 0:ib.call(this,i,e,t)}
    `}function Qg(i,e,t){return c`${a(this.ariaValueStateHiddenText)}`}function Jg(i,e,t,o,r){return c`${o.selected?B8.call(this,i,e,t,o,r):void 0}`}function B8(i,e,t,o,r){return t?c`<${d("ui5-token",e,t)} ?readonly="${this.readonly}" class="ui5-multi-combobox-token" data-ui5-id="${a(o._id)}" part="token-${r}" text="${a(o.text)}">`:c``}function eb(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:c`
    `}function tb(i,e,t){return c``}function ib(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="slim-arrow-down" input-icon slot="icon" tabindex="-1" @click="${this.togglePopoverByDropdownIcon}" @mousedown="${this._onIconMousedown}" @focusin="${this._forwardFocusToInner}" ?pressed="${this.open}" accessible-name="${a(this._iconAccessibleNameText)}">`:c``}function E8(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} placement-type="Bottom" horizontal-align="Left" class="${T(this.classes.popover)}" hide-arrow _disable-initial-focus style="${S(this.styles.suggestionsPopover)}" @ui5-selection-change=${a(this._listSelectionChange)} @ui5-after-close=${a(this._afterClosePicker)} @ui5-before-open=${a(this._beforeOpen)} @ui5-after-open=${a(this._afterOpenPicker)}>${this._isPhone?ob.call(this,i,e,t):void 0}${this._isPhone?void 0:cb.call(this,i,e,t)}${this.filterSelected?_b.call(this,i,e,t):pb.call(this,i,e,t)}${this._isPhone?fb.call(this,i,e,t):void 0}${this.hasValueStateMessage?mb.call(this,i,e,t):void 0} `:c`${this._isPhone?ob.call(this,i,e,t):void 0}${this._isPhone?void 0:cb.call(this,i,e,t)}${this.filterSelected?_b.call(this,i,e,t):pb.call(this,i,e,t)}${this._isPhone?fb.call(this,i,e,t):void 0}${this.hasValueStateMessage?mb.call(this,i,e,t):void 0} `}function ob(i,e,t){return t?c`
    ${a(this._headerTitleText)}<${d("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.handleCancel}">
    <${d("ui5-input",e,t)} @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._mobileInputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this._dialogInputValueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>rb.call(this,i,e,t,o,r))}<${d("ui5-toggle-button",e,t)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${this._showAllItemsButtonPressed} @click="${this.filterSelectedItems}" accessible-name="${a(this._showSelectedButtonAccessibleNameText)}">
    ${this.hasValueStateMessage?nb.call(this,i,e,t):void 0}${this.showSelectAll?lb.call(this,i,e,t):void 0}`:c`
    ${a(this._headerTitleText)}
    ${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>rb.call(this,i,e,t,o,r))}
    ${this.hasValueStateMessage?nb.call(this,i,e,t):void 0}${this.showSelectAll?lb.call(this,i,e,t):void 0}`}function rb(i,e,t,o,r){return t?c`<${d("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:c``}function nb(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?ab.call(this,i,e,t):sb.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?ab.call(this,i,e,t):sb.call(this,i,e,t)}
    `}function ab(i,e,t){return c`${a(this.valueStateDefaultText)}`}function sb(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>D8.call(this,i,e,t,o,r))}`}function D8(i,e,t,o,r){return c`${a(o)}`}function lb(i,e,t){return t?c`
    <${d("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:c`
    `}function cb(i,e,t){return c`${this.hasValueStateMessage?P8.call(this,i,e,t):void 0}${this.showSelectAll?R8.call(this,i,e,t):void 0}`}function P8(i,e,t){return t?c`
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?ub.call(this,i,e,t):db.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?ub.call(this,i,e,t):db.call(this,i,e,t)}
    `}function ub(i,e,t){return c`${a(this.valueStateDefaultText)}`}function db(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>O8.call(this,i,e,t,o,r))}`}function O8(i,e,t,o,r){return c`${a(o)}`}function R8(i,e,t){return t?c`
    <${d("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:c`
    `}function _b(i,e,t){return t?c`<${d("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${E(this.selectedItems,(o,r)=>o._id||r,(o,r)=>hb.call(this,i,e,t,o,r))}`:c`${E(this.selectedItems,(o,r)=>o._id||r,(o,r)=>hb.call(this,i,e,t,o,r))}`}function hb(i,e,t,o,r){return c`${o.isGroupItem?L8.call(this,i,e,t,o,r):M8.call(this,i,e,t,o,r)}`}function L8(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function M8(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function pb(i,e,t){return t?c`<${d("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>vb.call(this,i,e,t,o,r))}`:c`${E(this._filteredItems,(o,r)=>o._id||r,(o,r)=>vb.call(this,i,e,t,o,r))}`}function vb(i,e,t,o,r){return c`${o.isGroupItem?N8.call(this,i,e,t,o,r):F8.call(this,i,e,t,o,r)}`}function N8(i,e,t,o,r){return t?c`<${d("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function F8(i,e,t,o,r){return t?c`<${d("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:c`${a(o.text)}`}function fb(i,e,t){return t?c``:c``}function mb(i,e,t){return t?c`<${d("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${d("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?gb.call(this,i,e,t):bb.call(this,i,e,t)}
    `:c`
    ${this.shouldDisplayDefaultValueStateMessage?gb.call(this,i,e,t):bb.call(this,i,e,t)}
    `}function gb(i,e,t){return c`${a(this.valueStateDefaultText)}`}function bb(i,e,t){return c`${E(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>z8.call(this,i,e,t,o,r))}`}function z8(i,e,t,o,r){return c`${a(o)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const V8={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBox.css.ts",content:`:host{vertical-align:middle}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.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{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}:host(:not([hidden])){display:inline-block}.ui5-multi-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-multi-combobox-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-combobox-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-combobox-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-combobox-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} -`};b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const H8={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBoxPopover.css.ts",content:`.ui5-suggestions-popover .ui5-multi-combobox-all-items-list{--_ui5-v1-22-1-rc-0_checkbox_width_height: var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-mcb-select-all-header{width:100%;height:44px;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);display:flex;align-items:center;font-family:"72override",var(--sapFontFamily);position:sticky;top:0;z-index:2;background:var(--sapToolbar_Background)}.ui5-mcb-select-all-checkbox{width:100%;font-family:var(--sapFontBoldFamily)}.ui5-mcb-select-all-checkbox::part(root):focus:before{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:0;inset:0 2px}.ui5-mcb-select-all-checkbox::part(label){font-family:var(--sapFontBoldFamily)} -`};var Ce=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ht;let ke=ht=class extends j{constructor(){super(),this._filteredItems=[],this._previouslySelectedItems=[],this.selectedValues=[],this._itemsBeforeOpen=[],this._inputLastValue="",this._deleting=!1,this._validationTimeout=null,this._handleResizeBound=this._handleResize.bind(this),this.valueBeforeAutoComplete="",this._lastValue=this.getAttribute("value")||"",this.currentItemIdx=-1,this.FormSupport=void 0}onEnterDOM(){Pe.register(this,this._handleResizeBound)}onExitDOM(){Pe.deregister(this,this._handleResizeBound)}_handleResize(){this._inputWidth=this.offsetWidth}_handleMobileInput(e){const o=e.target.value;!this.allowCustomValues&&!this._filterItems(o).length?this._dialogInputValueState=y.Error:this._dialogInputValueState=this.valueState,this.value=o,this._shouldFilterItems=!0,this.valueBeforeAutoComplete=o,this.fireEvent("input")}_inputChange(){!this._clearingValue&&this._lastValue!==this.value&&(this._lastValue=this.value,this.fireEvent("change"))}async _mobileInputChange(e){this._inputChange.call(this);const{value:t}=e.target,o=this.items.find(s=>s.text===t);if(!o)return;const r=o==null?void 0:o.selected;this.fireSelectionChange()||(o.selected=!r,(await this._getResponsivePopover()).close(),this.value="")}togglePopover(){var e;this._tokenizer.closeMorePopover(),(e=this.allItemsPopover)==null||e.toggle(this)}togglePopoverByDropdownIcon(){var e;this._shouldFilterItems=!1,(e=this.allItemsPopover)==null||e.toggle(this),this._tokenizer.closeMorePopover()}_showFilteredItems(){this.filterSelected=!0,this._showMorePressed=!0,this.togglePopover()}filterSelectedItems(e){this.filterSelected=e.target.pressed;const t=this._filteredItems.filter(o=>o.selected);this.selectedItems=this.items.filter((o,r,n)=>ht._groupItemFilter(o,++r,n,t)||t.indexOf(o)!==-1)}get open(){return this._open}get _showAllItemsButtonPressed(){return this.filterSelected}get _inputDom(){return this.shadowRoot.querySelector("#ui5-multi-combobox-input")}_inputLiveChange(e){var s,l;const t=e.target,o=t.value,r=this._filterItems(o),n=this.valueState;if(this._shouldFilterItems=!0,this.filterSelected&&(this.filterSelected=!1),this._validationTimeout)if(this._filterItems(o).length)this.valueState=this._effectiveValueState,this._validationTimeout=null;else{t.value=this._inputLastValue;return}if(this._effectiveValueState=this.valueState,!r.length&&o&&!this.allowCustomValues){const _=this.valueBeforeAutoComplete||this._inputLastValue;t.value=_,this.value=_,this.valueState=y.Error,this._shouldAutocomplete=!1,this._resetValueState(n);return}this._inputLastValue=t.value,this.value=t.value,this._filteredItems=r,G()||(r.length===0?(s=this.allItemsPopover)==null||s.close():(l=this.allItemsPopover)==null||l.showAt(this)),this.fireEvent("input")}_tokenDelete(e){this._previouslySelectedItems=this._getSelectedItems();const t=e.detail.ref,o=this.items.find(n=>n._id===t.getAttribute("data-ui5-id"));o.selected=!1,this._deleting=!0,this._preventTokenizerToggle=!0,this.focus(),this.fireSelectionChange()&&this._revertSelection()}get _getPlaceholder(){return this._getSelectedItems().length?"":this.placeholder}_handleArrowLeft(){const e=this._inputDom,t=e.selectionStart||0,o=(e.selectionEnd||0)-t>0;t===0&&!o&&this._tokenizer._focusLastToken()}_tokenizerFocusOut(e){this._tokenizerFocused=!1;const t=this._tokenizer.tokens.length,o=this._selectedTokensCount,r=t-1===0&&this._deleting,n=o===t&&this._deleting,s=e.relatedTarget,l=this.staticAreaItem===s,_=this._inputDom===s,p=e.relatedTarget===this._tokenizer.staticAreaItem;!(s!=null&&s.hasAttribute("ui5-token"))&&!l&&!_&&!p&&(this._tokenizer.tokens.forEach(v=>{v.selected=!1}),this._tokenizer.expanded=this._preventTokenizerToggle?this._tokenizer.expanded:!1),(n||r)&&setTimeout(()=>{G()||this._inputDom.focus(),this._deleting=!1},0)}_tokenizerFocusIn(){this._tokenizerFocused=!0,this.focused=!1}_onkeydown(e){var r;const t=Mr(e),o=e.metaKey||e.ctrlKey;if(Nr(e)&&!this.disabled){this._handleShow(e);return}if(Ro(e)||cr(e)){e.preventDefault();return}if(Le(e)||De(e)||Lr(e)||t){this._handleArrowNavigation(e,t);return}if(t&&!((r=this.allItemsPopover)!=null&&r.opened)&&setTimeout(()=>this._inputDom.setSelectionRange(0,this._inputDom.value.length),0),Ja(e)||_a(e)){this._handleArrowCtrl(e);return}if(tf(e)){this._handleInsertPaste();return}o&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover()),Qa(e)&&e.preventDefault(),(e.key==="ArrowLeft"||e.key==="Show"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Backspace"||e.key==="Escape"||e.key==="Home"||e.key==="End"||e.key==="Tab"||e.key==="ArrowDown"||e.key==="Enter")&&this[`_handle${e.key}`](e),this._shouldAutocomplete=!this.noTypeahead&&!(sc(e)||rs(e)||Zi(e)||de(e))}_handlePaste(e){if(e.preventDefault(),this.readonly||!e.clipboardData)return;const t=e.clipboardData.getData("text/plain");t&&this._createTokenFromText(t)}async _handleInsertPaste(){if(this.readonly||p1())return;const e=await navigator.clipboard.readText();e&&this._createTokenFromText(e)}_createTokenFromText(e){const t=e.split(/\r\n|\r|\n|\t/g).filter(r=>!!r),o=this.items.filter(r=>t.indexOf(r.text)>-1&&!r.selected);t.length>1?(this._previouslySelectedItems=this._getSelectedItems(),o.forEach(r=>{r.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection()})):(this.value=e,this.fireEvent("input"))}_handleShow(e){const t=this.items,o=this._getSelectedItems()[0],r=this._tokenizer.tokens.find(l=>l.focused),n=this.value,s=this.items.find(l=>l.text.localeCompare(n,void 0,{sensitivity:"base"})===0);if(e.preventDefault(),!this.readonly){if(this._isOpenedByKeyboard=!0,this._shouldFilterItems=!1,this._filteredItems=this.items,this.togglePopover(),!r&&s){this._itemToFocus=s;return}o&&!r?this._itemToFocus=o:r&&e.target===r?this._itemToFocus=t.find(l=>l.text===r.text):this._itemToFocus=t[0]}}_handlePageUp(e){e.preventDefault()}_handlePageDown(e){e.preventDefault()}_handleBackspace(e){e.target.value===""&&(e.preventDefault(),this._tokenizer._focusLastToken())}_handleEscape(){const e=this._innerInput;(e.selectionEnd||0)-(e.selectionStart||0)>0&&(this.value=this.valueBeforeAutoComplete),(!this.allowCustomValues||!this.open&&this.allowCustomValues)&&(this.value=this._lastValue)}_handleHome(e){this._isFocusInside&&e.target.selectionStart===0&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this._tokenizer.tokens[0].focus())}_handleEnd(e){const t=this._tokenizer.tokens,o=t.length-1;e.target===t[o]&&t[o]===this.shadowRoot.activeElement&&(e.preventDefault(),this._inputDom.focus())}_handleTab(){var e;(e=this.allItemsPopover)==null||e.close()}_handleSelectAll(){const e=this._filteredItems,t=e.every(r=>r.selected);this._previouslySelectedItems=e.filter(r=>r.selected).map(r=>r),e.forEach(r=>{r.selected=!t}),this.fireSelectionChange()&&this._revertSelection()}async _onListHeaderKeydown(e){var n;const t=De(e),o=Le(e),r=e.target.classList.contains("ui5-mcb-select-all-checkbox");if(It(e)||Ei(e)){this._onItemTab();return}if(e.preventDefault(),t||Mr(e)){if(this.showSelectAll&&!r)return(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();this._handleArrowDown()}if(o||Lr(e)){if(e.target===this.valueStateHeader||!this.valueStateHeader)return this._shouldAutocomplete=!0,this._inputDom.focus();this.showSelectAll&&r&&((n=this.valueStateHeader)==null||n.focus())}}_handleSelectAllCheckboxClick(e){var t;this.filterSelected?(this._previouslySelectedItems=this._getSelectedItems(),(t=this.selectedItems)==null||t.forEach(r=>{r.selected=e.target.checked}),e.target.checked||(this.filterSelected=!1),this.fireSelectionChange()&&this._revertSelection()):(this._handleSelectAll(),this.filterSelected=!1)}async _onItemKeydown(e){var r,n,s,l,_,p,v,f,g,w,A,L,X;const t=((r=this.list)==null?void 0:r.items[0])===e.target,o=Le(e)||Lr(e);if(this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),It(e)||Ei(e)){this._onItemTab();return}if(Ts(e)&&((n=this.list)==null||n._itemNavigation._handleHome(),(l=this.list)==null||l.items[(s=this.list)==null?void 0:s._itemNavigation._currentIndex].focus()),ma(e)&&((_=this.list)==null||_._itemNavigation._handleEnd(),(v=this.list)==null||v.items[(p=this.list)==null?void 0:p._itemNavigation._currentIndex].focus()),e.preventDefault(),Ro(e)||cr(e)){this._handleItemRangeSelection(e);return}if(Lr(e)&&!t&&((f=this.list)==null||f._itemNavigation._handleUp(),(w=this.list)==null||w.items[(g=this.list)==null?void 0:g._itemNavigation._currentIndex].focus()),Mr(e)&&((A=this.list)==null||A._itemNavigation._handleDown(),(X=this.list)==null||X.items[(L=this.list)==null?void 0:L._itemNavigation._currentIndex].focus()),Nr(e)&&this.togglePopover(),H1(e)){this._handleSelectAll();return}t&&o&&(this.showSelectAll?(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus():this.valueStateHeader?this.valueStateHeader.focus():(this._inputDom.focus(),this._shouldAutocomplete=!0))}_handleArrowCtrl(e){const t=this._inputDom,o=Ja(e);o&&t.selectionStart===0&&t.selectionEnd===0&&e.preventDefault(),o&&(t.selectionEnd||0)-(t.selectionStart||0)>0&&t.setSelectionRange(0,0)}_onItemTab(){var e;this._inputDom.focus(),(e=this.allItemsPopover)==null||e.close()}async _handleArrowNavigation(e,t){var s;const o=t||De(e),r=this.items.length,n=(s=this.allItemsPopover)==null?void 0:s.opened;if(e.preventDefault(),this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),o&&n){if(this.valueStateHeader){this.value=this.valueBeforeAutoComplete||this.value,this.valueStateHeader.focus();return}if(this.showSelectAll){(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();return}}o&&r&&this._handleArrowDown(),!o&&!n&&!this.readonly&&this._navigateToPrevItem()}async _handleArrowDown(){var o,r,n;const e=(o=this.allItemsPopover)==null?void 0:o.opened,t=(r=this.list)==null?void 0:r.items[0];e?(t&&((n=this.list)==null||n._itemNavigation.setCurrentItem(t)),this.value=this.valueBeforeAutoComplete||this.value,await Bi(),t==null||t.focus()):this.readonly||this._navigateToNextItem()}_handleItemRangeSelection(e){var _;const t=this.items,o=(_=this.list)==null?void 0:_.items,r=Number(o==null?void 0:o.indexOf(e.target)),n=r+1,s=r-1;this._previouslySelectedItems=this._getSelectedItems(),Ro(e)&&t[n]&&(t[n].selected=t[r].selected,t[n].focus()),cr(e)&&t[s]&&(t[s].selected=t[r].selected,t[s].focus()),this.fireSelectionChange()&&this._revertSelection()}_navigateToNextItem(){const e=this.items,t=e.length,o=this.currentItemIdx;if(o>-1&&e[o].text!==this.value&&(this.currentItemIdx=-1),o>=t-1)return;let r=this.items[++this.currentItemIdx];for(;this.currentItemIdx0&&(o.selected||o.isGroupItem);)o=this.items[--this.currentItemIdx];if(o){if(o.selected||o.isGroupItem){this.currentItemIdx=t;return}this.value=o.text,this._innerInput.value=o.text,this._innerInput.setSelectionRange(0,o.text.length)}}_handleEnter(){var n;const e=this.value.toLowerCase(),t=this.items.find(s=>s.text.toLowerCase()===e&&!s.isGroupItem),o=this.valueState,r=this._innerInput;if(this.FormSupport&&this.FormSupport.triggerFormSubmit(this),t){if(t.selected){if(this._validationTimeout)return;this.valueState=y.Error,this._performingSelectionTwice=!0,this._resetValueState(o,()=>{this._performingSelectionTwice=!1})}else this._previouslySelectedItems=this._getSelectedItems(),t.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection();r.setSelectionRange(t.text.length,t.text.length),(n=this.allItemsPopover)==null||n.close()}}_resetValueState(e,t){this._validationTimeout=setTimeout(()=>{this._effectiveValueState=this.valueState,this.valueState=e,this._validationTimeout=null,t&&t()},2e3)}_onTokenizerKeydown(e){const t=!!(e.metaKey||e.ctrlKey);if(it(e)){const o=this._tokenizer.tokens.length-this._tokenizer.overflownTokens.length-1;e.target===this._tokenizer.tokens[o]&&setTimeout(()=>{this._inputDom.focus()},0)}if(t&&["c","x"].includes(e.key.toLowerCase())||ef(e)||kx(e)){e.preventDefault();const o=e.key.toLowerCase()==="x"||ef(e),r=this._tokenizer.tokens.filter(n=>n.selected);if(o){const n=this._tokenizer._fillClipboard(hs.cut,r);return r.forEach(s=>{this._tokenizer.deleteToken(s)}),this.focus(),n}return this._tokenizer._fillClipboard(hs.copy,r)}tf(e)&&this._handleInsertPaste(),St(e)&&this._handleHome(e),si(e)&&this._handleEnd(e),Nr(e)&&!this.readonly&&!this.disabled&&(this._preventTokenizerToggle=!0,this._handleShow(e)),t&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover())}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(Vw[this.filter]||lv)(e,t,"text");return this.items.filter((r,n,s)=>ht._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_afterOpenPicker(){var e,t;this._toggle(),!G()&&!this._isOpenedByKeyboard?this._innerInput.focus():this._isOpenedByKeyboard?(e=this._itemToFocus)==null||e.focus():(t=this.allItemsPopover)==null||t.focus(),this._previouslySelectedItems=this._getSelectedItems(),this._isOpenedByKeyboard=!1}_toggle(){this._open=!this._open,this.fireEvent("open-change")}_getSelectedItems(){return this.selectedValues=this.items.filter(e=>e.selected),this.selectedValues}_listSelectionChange(e){var r;let t;G()||(this._previouslySelectedItems=this._getSelectedItems()),this.syncItems(e.target.items),G()||(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection()));const o={key:e.detail.key};!e.detail.selectedItems.length&&this.filterSelected&&(this.filterSelected=!1),!e.detail.selectionComponentPressed&&!te(o)&&!$p(o)&&((r=this.allItemsPopover)==null||r.close(),this.value="",G()&&(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection())),this.fireEvent("input")),this.value=this.valueBeforeAutoComplete||""}syncItems(e){e.forEach(t=>{this.items.forEach(o=>{o._id===t.getAttribute("data-ui5-token-id")&&(o.selected=t.selected)})})}fireSelectionChange(){const e=!this.fireEvent("selection-change",{items:this._getSelectedItems()},!0);return this.fireEvent("value-changed"),e}async _getRespPopover(){const e=await this.getStaticAreaItemDomRef();this.allItemsPopover=e.querySelector(".ui5-multi-combobox-all-items-responsive-popover")}async _getList(){const e=await this.getStaticAreaItemDomRef();return this.list=e.querySelector(".ui5-multi-combobox-all-items-list"),this.list}_click(){var e;G()&&!this.readonly&&!this._showMorePressed&&!this._deleting&&((e=this.allItemsPopover)==null||e.showAt(this)),this._showMorePressed=!1}async handleBeforeTokenizerPopoverOpen(){const e=this._tokenizer.tokens,t=e.length===1&&e[0].isTruncatable,o=await this._getResponsivePopover();t&&(o==null||o.close(!1,!1,!0))}_afterClosePicker(){G()&&(this._dialogInputValueState=this.valueState,this.blur()),this._toggle(),this._iconPressed=!1,this._preventTokenizerToggle=!1,this.filterSelected=!1}_beforeOpen(){if(this._itemsBeforeOpen=this.items.map(e=>({ref:e,selected:e.selected})),this._valueBeforeOpen=this.value,this._dialogInputValueState=this.valueState,this._innerInput.value=this.value,this.filterSelected){const e=this._filteredItems.filter(t=>t.selected);this.selectedItems=this.items.filter((t,o,r)=>ht._groupItemFilter(t,++o,r,e)||e.indexOf(t)!==-1)}}_handleTypeAhead(e,t){if(!e)return;const o=e.text,r=this._innerInput;t=t||"",this.value=o,r.value=o,r.setSelectionRange(t.length,o.length),this._shouldAutocomplete=!1}_getFirstMatchingItem(e){if(!this.items.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.isGroupItem&&!o.selected);if(t.length)return t[0]}_startsWithMatchingItems(e){return ld(e,this.items,"text")}_revertSelection(){this._filteredItems.forEach(e=>{e.selected=this._previouslySelectedItems.includes(e)})}onBeforeRendering(){const e=this._innerInput,t=e&&(e.selectionEnd||0)-(e.selectionStart||0),o=e&&e.value;if(this.open&&this._getList().then(r=>{var l,_;const n=(l=r==null?void 0:r.querySelectorAll("[ui5-li][selected]"))==null?void 0:l.length,s=(_=r==null?void 0:r.querySelectorAll("[ui5-li]"))==null?void 0:_.length;this._allSelected=n===s}),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.FormSupport=Se("FormSupport"),this._inputLastValue=o,e&&!e.value&&(this.valueBeforeAutoComplete="",this._filteredItems=this.items),this.items.forEach(r=>{r._getRealDomRef=()=>this.allItemsPopover.querySelector(`*[data-ui5-stable=${r.stableDomRef}]`)}),this.tokenizerAvailable=this._getSelectedItems().length>0,this.style.setProperty(Qi("--_ui5-input-icons-count"),`${this.iconsCount}`),!(!e||!o)){if(this._shouldAutocomplete&&!hp()&&!t){const r=this._getFirstMatchingItem(o);this.valueBeforeAutoComplete=o,r&&this._handleTypeAhead(r,o)}this._shouldFilterItems?this._filteredItems=this._filterItems(this._shouldAutocomplete||t?this.valueBeforeAutoComplete:o):this._filteredItems=this.items}}async onAfterRendering(){await this._getRespPopover(),await this._getList(),this.toggle(this.shouldDisplayOnlyValueStateMessage),this.storeResponsivePopoverWidth(),this._deleting=!1,this._tokenizer._handleResize()}get _isPhone(){return G()}_onIconMousedown(){this._iconPressed=!0}_clear(){this.value="",this._inputDom.value="",this.fireEvent("input"),this._isPhone||this.focus()}_iconMouseDown(){this._clearingValue=!0}storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=this.list.offsetWidth)}toggle(e){e&&!this.open?this.openPopover():this.closePopover()}handleCancel(){this._itemsBeforeOpen.forEach(e=>{e.ref instanceof Bk&&(e.ref.selected=e.selected)}),this.togglePopover(),this.value=this._valueBeforeOpen}handleOK(){G()&&this.fireSelectionChange()&&this._revertSelection(),this.allowCustomValues||(this.value=""),this.togglePopover()}async openPopover(){var e;(e=await this._getPopover())==null||e.showAt(this)}_forwardFocusToInner(){this._innerInput.focus()}get morePopoverOpener(){var t;const e=(t=this._tokenizer)==null?void 0:t.tokens;return(e==null?void 0:e.length)===1&&e[0].isTruncatable?e[0]:this}async closePopover(){var e;(e=await this._getPopover())==null||e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}async _getResponsivePopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}async _setValueStateHeader(){const e=await this._getResponsivePopover();this.valueStateHeader=e.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root")}get _tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}inputFocusIn(e){var t;!G()||this.readonly?(this.focused=!0,this._tokenizer.expanded=!0):this._innerInput.blur(),this._clearingValue=!1,!G()&&(((t=e.relatedTarget)==null?void 0:t.tagName)!=="UI5-STATIC-AREA-ITEM"||!e.relatedTarget)&&this._innerInput.setSelectionRange(0,this.value.length),this._tokenizer.tokens.forEach(o=>{o.selected=!1}),this.valueBeforeAutoComplete=""}inputFocusOut(e){!this.shadowRoot.contains(e.relatedTarget)&&!this._deleting&&!this._clearingValue&&(this.focused=!1,this._lastValue!==this.value&&this._inputChange(),this._tokenizer.expanded=this.open,!G()&&!this.allowCustomValues&&this.staticAreaItem!==e.relatedTarget&&(this.value=""))}get editable(){return!this.readonly}get _isFocusInside(){return!G()&&(this.focused||this._tokenizerFocused)}get selectedItemsListMode(){return this.readonly?"None":"MultiSelect"}get _listItemsType(){return this.readonly?"Inactive":"Active"}get hasValueState(){return this.valueState!==y.None||this._dialogInputValueState!==y.None}get hasValueStateMessage(){const e=G()?this._dialogInputValueState:this.valueState;return this.hasValueState&&e!==y.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return;let e="";return this.valueState!==y.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){const e=G()?this._dialogInputValueState:this.valueState;return e===y.None?"":this._performingSelectionTwice?ht.i18nBundle.getText(_0):this.valueStateTextMappings[e]}get valueStateTextId(){return this.hasValueState?"ui5-multi-combobox-valueStateDesc":void 0}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get ariaLabelText(){return Wt(this)}get _valueStateMessageIcon(){const e=G()&&this.open?this._dialogInputValueState:this.valueState;return e===y.None?"":{[y.Error]:"error",[y.Warning]:"alert",[y.Success]:"sys-enter-2",[y.Information]:"information"}[e]}get _tokensCountText(){if(this._tokenizer)return this._tokenizer._tokensCountText()}get _tokensCountTextId(){return"ui5-multi-combobox-hiddenText-nMore"}get _selectedTokensCount(){return this._tokenizer.tokens.filter(e=>e.selected).length}get ariaDescribedByText(){return this.valueStateTextId?`${this._tokensCountTextId} ${this.valueStateTextId}`:`${this._tokensCountTextId}`}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get shouldDisplayOnlyValueStateMessage(){return this.focused&&!this.readonly&&this.hasValueStateMessage&&!this._iconPressed}get valueStateTypeMappings(){return{[y.Success]:ht.i18nBundle.getText(As),[y.Information]:ht.i18nBundle.getText(Bs),[y.Error]:ht.i18nBundle.getText(Is),[y.Warning]:ht.i18nBundle.getText(Cs)}}get valueStateTextMappings(){return{[y.Success]:ht.i18nBundle.getText($r),[y.Error]:ht.i18nBundle.getText(wr),[y.Warning]:ht.i18nBundle.getText(kr),[y.Information]:ht.i18nBundle.getText(Yr)}}get _innerInput(){var e;return G()&&(e=this.allItemsPopover)!=null&&e.opened?this.allItemsPopover.querySelector("ui5-input").shadowRoot.querySelector("input"):this._inputDom}get _headerTitleText(){return ht.i18nBundle.getText(Ss)}get _iconAccessibleNameText(){return ht.i18nBundle.getText(Vp)}get _showSelectedButtonAccessibleNameText(){return ht.i18nBundle.getText(q2)}get _dialogOkButton(){return ht.i18nBundle.getText(u0)}get _tokenizerExpanded(){var o;if(G()||this.readonly)return!1;if(this._preventTokenizerToggle)return this._tokenizer.expanded;const e=(o=this._tokenizer)==null?void 0:o.expanded;return this.focused||this.open||e}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}get clearIconAccessibleName(){return ht.i18nBundle.getText(Zu)}get selectAllCheckboxLabel(){const e=this.items.filter(o=>!o.isGroupItem),t=e.filter(o=>o.selected);return ht.i18nBundle.getText(G2,t.length,e.length)}get classes(){return{popover:{"ui5-multi-combobox-all-items-responsive-popover":!0,"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateMessage,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateMessage},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===y.Success||this._dialogInputValueState===y.Success,"ui5-valuestatemessage--error":this.valueState===y.Error||this._dialogInputValueState===y.Error,"ui5-valuestatemessage--warning":this.valueState===y.Warning||this._dialogInputValueState===y.Warning,"ui5-valuestatemessage--information":this.valueState===y.Information||this._dialogInputValueState===y.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverValueStateMessage:{width:`${this._listWidth||0}px`,display:this._listWidth===0?"none":"inline-block"},popoverHeader:{"max-width":G()?"100%":`${this._inputWidth}px`},suggestionsPopover:{"min-width":`${this._inputWidth}px`,"max-width":this._inputWidth/e>40?`${this._inputWidth}px`:"40rem"}}}static async onDefine(){ht.i18nBundle=await oe("@ui5/webcomponents")}};Ce([u()],ke.prototype,"value",void 0);Ce([u({type:Boolean})],ke.prototype,"noTypeahead",void 0);Ce([u()],ke.prototype,"placeholder",void 0);Ce([u({type:Boolean})],ke.prototype,"allowCustomValues",void 0);Ce([u({type:Boolean})],ke.prototype,"disabled",void 0);Ce([u({type:y,defaultValue:y.None})],ke.prototype,"valueState",void 0);Ce([u({type:Boolean})],ke.prototype,"readonly",void 0);Ce([u({type:Boolean})],ke.prototype,"required",void 0);Ce([u({type:Du,defaultValue:Du.StartsWithPerTerm})],ke.prototype,"filter",void 0);Ce([u({type:Boolean})],ke.prototype,"showClearIcon",void 0);Ce([u()],ke.prototype,"accessibleName",void 0);Ce([u()],ke.prototype,"accessibleNameRef",void 0);Ce([u({type:Boolean})],ke.prototype,"showSelectAll",void 0);Ce([u({type:y,defaultValue:y.None})],ke.prototype,"_effectiveValueState",void 0);Ce([u({type:Boolean})],ke.prototype,"_open",void 0);Ce([u()],ke.prototype,"_valueBeforeOpen",void 0);Ce([u({type:Object,noAttribute:!0,multiple:!0})],ke.prototype,"_filteredItems",void 0);Ce([u({type:Object,noAttribute:!0,multiple:!0})],ke.prototype,"_previouslySelectedItems",void 0);Ce([u({type:Boolean})],ke.prototype,"filterSelected",void 0);Ce([u({type:Boolean})],ke.prototype,"focused",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_tokenizerFocused",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_iconPressed",void 0);Ce([u({validator:z,noAttribute:!0})],ke.prototype,"_inputWidth",void 0);Ce([u({validator:z,noAttribute:!0,defaultValue:0})],ke.prototype,"_listWidth",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_performingSelectionTwice",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_allSelected",void 0);Ce([u({type:Boolean,noAttribute:!0})],ke.prototype,"_effectiveShowClearIcon",void 0);Ce([u({type:y,defaultValue:y.None})],ke.prototype,"_dialogInputValueState",void 0);Ce([u({type:Boolean})],ke.prototype,"tokenizerAvailable",void 0);Ce([F({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ke.prototype,"items",void 0);Ce([F()],ke.prototype,"icon",void 0);Ce([F()],ke.prototype,"valueStateMessage",void 0);ke=ht=Ce([B({tag:"ui5-multi-combobox",languageAware:!0,renderer:ee,template:A8,staticAreaTemplate:E8,styles:V8,staticAreaStyles:[Wo,On,cd,H8],dependencies:[Bk,C8,hk,_k,Ie,wo,fo,xr,Ra,ud,kc,Fe,mc]}),$("change"),$("input"),$("open-change"),$("selection-change",{detail:{items:{type:Array}}})],ke);ke.define();function U8(i,e,t){return c`
    ${this.showValueInRemainingBar?void 0:W8.call(this,i,e,t)}
    ${this.showValueInRemainingBar?K8.call(this,i,e,t):void 0}
    `}function W8(i,e,t){return c`${this.showIcon?q8.call(this,i,e,t):void 0}${this.hideValue?void 0:j8.call(this,i,e,t)}`}function q8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:c``}function j8(i,e,t){return c`${this.displayValue?G8.call(this,i,e,t):Y8.call(this,i,e,t)}`}function G8(i,e,t){return c`${a(this.displayValue)}`}function Y8(i,e,t){return c`${a(this.validatedValue)}% `}function K8(i,e,t){return c`${this.showIcon?X8.call(this,i,e,t):void 0}${this.hideValue?void 0:Z8.call(this,i,e,t)}`}function X8(i,e,t){return t?c`<${d("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:c``}function Z8(i,e,t){return c`${this.displayValue?Q8.call(this,i,e,t):J8.call(this,i,e,t)}`}function Q8(i,e,t){return c`${a(this.displayValue)}`}function J8(i,e,t){return c`${a(this.validatedValue)}% `}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const e7={packageName:"@ui5/webcomponents",fileName:"themes/ProgressIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;min-height:var(_ui5_progress_indicator_host_min_height);min-width:4rem;width:100%;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_height);overflow:hidden;box-sizing:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_box_sizing);padding:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding_end)}.ui5-progress-indicator-root{display:flex;align-items:center;background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_none);border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_border_radius);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_overflow);min-height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_min_height);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_height);width:100%;font-size:var(--sapProgress_FontSize);font-family:"72override",var(--sapFontFamily);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_position);box-sizing:border-box}.ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none);justify-content:flex-end;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_height);display:flex;align-items:center;flex-direction:row;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_color);transition-property:width;transition-timing-function:linear;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_max);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_progress_indicator_border);border-radius:.5rem}.ui5-progress-indicator-remaining-bar{justify-content:flex-start;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_width);height:100%;display:flex;align-items:center;flex-direction:row;flex-grow:1;flex-basis:0;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_border);border-inline-start:none;border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius);box-sizing:border-box;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_color);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_overflow);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_position)}.ui5-progress-indicator-value{margin:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_margin);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;position:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_position);top:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_top_position);inset-inline-start:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_left_position)}.ui5-progress-indicator-icon{margin-inline-start:.375rem;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);display:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_visibility);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_position);inset-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_right_position)}:host([value-state="Error"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_icon_color)}:host([value-state="Warning"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_icon_color)}:host([value-state="Success"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_icon_color)}:host([value-state="Information"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_icon_color)}:host([value-state="Error"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_border_color)}:host([value-state="Warning"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_border_color)}:host([value-state="Success"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_border_color)}:host([value-state="Information"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_border_color)}:host([value-state="Error"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_error)}:host([value-state="Warning"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_warning)}:host([value-state="Success"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_success)}:host([value-state="Information"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_information)}:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_error)}:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_warning)}:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_success)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_information)}:host([disabled]) .ui5-progress-indicator-root{opacity:.4}.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-v1-22-1-rc-0_progress_indicator_side_points_visibility);background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none)}.ui5-progress-indicator-remaining-bar:before{left:.0625rem}.ui5-progress-indicator-remaining-bar:after{right:.0625rem}: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)}: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)}: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)}: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)} -`};var La=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ia;let jr=ia=class extends j{constructor(){super(),this._previousValue=0,this._transitionDuration=0}onBeforeRendering(){this._transitionDuration=Math.abs(this._previousValue-this.validatedValue)*20,this._previousValue=this.validatedValue}valueStateTextMappings(){return{Error:ia.i18nBundle.getText(wr),Warning:ia.i18nBundle.getText(kr),Success:ia.i18nBundle.getText($r),Information:ia.i18nBundle.getText(Yr)}}valueStateIconMappings(){return{Error:"status-negative",Warning:"status-critical",Success:"status-positive",Information:"information"}}get styles(){return{bar:{width:`${this.validatedValue}%`,"transition-duration":this.shouldAnimate?`${this._transitionDuration}ms`:"none"}}}get classes(){return{root:{"ui5-progress-indicator-max-value":this.validatedValue===100,"ui5-progress-indicator-min-value":this.validatedValue===0}}}get validatedValue(){return this.value<0?0:this.value>100?100:this.value}get showValueInRemainingBar(){return this.value<=50}get shouldAnimate(){return cc()!==bs.None}get valueStateText(){const e=`${this.validatedValue}%`,t=this.valueStateTextMappings()[this.valueState];return t?`${e} ${t}`:e}get showIcon(){return this.valueState!==y.None}get valueStateIcon(){return this.valueStateIconMappings()[this.valueState]}get _ariaDisabled(){return this.disabled||void 0}static async onDefine(){ia.i18nBundle=await oe("@ui5/webcomponents")}};La([u()],jr.prototype,"accessibleName",void 0);La([u({type:Boolean})],jr.prototype,"disabled",void 0);La([u({type:Boolean})],jr.prototype,"hideValue",void 0);La([u({validator:z,defaultValue:0})],jr.prototype,"value",void 0);La([u({defaultValue:null})],jr.prototype,"displayValue",void 0);La([u({type:y,defaultValue:y.None})],jr.prototype,"valueState",void 0);jr=ia=La([B({tag:"ui5-progress-indicator",renderer:ee,styles:e7,template:U8,dependencies:[Ie]})],jr);jr.define();function t7(i,e,t){return c`
    `}function i7(i,e,t,o,r){return c`${o.selected?o7.call(this,i,e,t,o,r):r7.call(this,i,e,t,o,r)}`}function o7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:c`
  • `}function r7(i,e,t,o,r){return c`${o.halfStar?n7.call(this,i,e,t,o,r):a7.call(this,i,e,t,o,r)}`}function n7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
    <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite" class="ui5-rating-indicator-half-icon">
  • `:c`
  • `}function a7(i,e,t,o,r){return c`${this.readonly?s7.call(this,i,e,t,o,r):l7.call(this,i,e,t,o,r)}`}function s7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:c`
  • `}function l7(i,e,t,o,r){return c`${this.disabled?c7.call(this,i,e,t,o,r):u7.call(this,i,e,t,o,r)}`}function c7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:c`
  • `}function u7(i,e,t,o,r){return t?c`
  • <${d("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
  • `:c`
  • `}const d7="favorite",Dk="M378.36 297.834q-5.996 3.998-2.998 8.995l71.96 193.892q1.999 4.997-2.499 8.995t-9.494.999l-174.903-123.93q-4.997-3-8.995 0L76.53 510.714q-4.997 2.998-9.495-1t-2.499-8.994l71.96-193.892q2-5.997-2.998-8.995L3.569 205.885q-4.997-2.998-2.998-8.495t6.996-5.497h165.908q4.997 0 7.995-4.997L248.433 4.997Q250.432 0 255.929 0t7.495 4.997l66.963 181.899q1.999 4.997 7.996 4.997H503.29q5.996 0 7.995 5.497t-2.998 8.495z",_7=!1,h7="SAP-icons-v4",p7="@ui5/webcomponents-icons";Y(d7,{pathData:Dk,ltr:_7,collection:h7,packageName:p7});const v7="favorite",Pk="M0 198q0-9 6.5-16t15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 16q0 11-7 18L399 328l26 154q1 2 1 5 0 10-7.5 17.5T400 512q-6 0-12-3l-132-74-132 74q-4 3-12 3-11 0-18.5-7.5T86 487q0-2 .5-2.5t.5-2.5l26-154L7 216q-7-7-7-18z",f7=!1,m7="SAP-icons-v5",g7="@ui5/webcomponents-icons";Y(v7,{pathData:Pk,ltr:f7,collection:m7,packageName:g7});we();const b7="unfavorite",Ok="M8.569 191.946h164.954q5.998 0 7.998-4.998l66.981-181.95Q250.502 0 256.5 0q4.998 0 6.998 4.999l66.981 181.949q2 4.998 7.998 4.998h165.954q4.998 0 6.998 5.499t-3 8.498l-129.963 91.974q-4 2.999-3 8.997l71.98 193.946q2 4.999-1 7.998t-6.997 3q-3 0-4-1L260.5 386.891q-1-1-4-1-3.998 0-4.998 1L76.551 510.857q-1 1-4 1-3.999 0-6.998-2.999t-1-7.998l71.98-193.946q2-5.998-2.999-8.997L3.57 205.943q-4.998-3-2.999-8.498t7.998-5.499zm143.96 79.978q10.997 7.998 14.996 20.494t-1 25.493l-44.987 121.966L233.506 360.9q9.997-6.998 22.994-6.998 11.996 0 21.994 5.999l111.968 79.977-44.987-121.966q-4.999-12.996-1-25.493t14.996-20.494l68.98-47.986h-89.974q-26.992 0-37.99-25.993L256.5 76.979l-44.988 120.966q-10.997 25.993-37.989 25.993H84.548z",y7=!1,w7="SAP-icons-v4",k7="@ui5/webcomponents-icons";Y(b7,{pathData:Ok,ltr:y7,collection:w7,packageName:k7});const $7="unfavorite",Rk="M400 510q-7 0-12-3l-132-74-131 74q-6 3-13 3-11 0-18.5-7T86 485q0-2 .5-2.5t.5-1.5l26-155L7 214q-7-7-7-17t6.5-17 15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 17q0 11-7 17L399 326l26 155q1 1 1 4 0 11-7.5 18t-18.5 7zM256 379q7 0 13 3l97 54-20-114q0-7 1-12t6-10l81-85-112-16q-13-1-20-15l-46-99-46 99q-5 13-19 15L78 215l81 85q5 5 6 10t1 12l-20 114 98-54q5-3 12-3z",T7=!1,x7="SAP-icons-v5",S7="@ui5/webcomponents-icons";Y($7,{pathData:Rk,ltr:T7,collection:x7,packageName:S7});we();b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const I7={packageName:"@ui5/webcomponents",fileName:"themes/RatingIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;font-size:24px;margin:var(--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:.4;cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .ui5-rating-indicator-item-unsel,:host([readonly]) .ui5-rating-indicator-item-unsel{padding-inline:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing);width:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:.9}:host([_focused]){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5-v1-22-1-rc-0_rating_indicator_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_rating_indicator_border_radius)}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.ui5-rating-indicator-root{outline:none;position:relative}.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-v1-22-1-rc-0_rating_indicator_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_item_height)}.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,.ui5-rating-indicator-item.ui5-rating-indicator-item-half{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-item [ui5-icon].ui5-rating-indicator-half-icon{position:absolute;inset-inline-start:50%;color:var(--sapContent_RatedColor)}.ui5-rating-indicator-half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden} -`};var Yo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},qa;let io=qa=class extends j{static async onDefine(){qa.i18nBundle=await oe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this.calcState()}calcState(){this._stars=[];for(let e=1;e2&&t<8?o=!0:t<=2?r=Math.floor(this.value):t>=8&&(r=Math.ceil(this.value)),this._stars.push({selected:e<=r,index:e,halfStar:o})}}_onclick(e){const t=e.target;if(!(t instanceof HTMLElement)||this.disabled||this.readonly)return;const o=t.getAttribute("data-ui5-value");o!==null&&(this.value=parseInt(o),this.value===1&&this._liveValue===1&&(this.value=0),this._liveValue!==this.value&&(this.fireEvent("change"),this._liveValue=this.value))}_onkeydown(e){if(this.disabled||this.readonly)return;const t=De(e)||ft(e),o=it(e)||Le(e),r=te(e)||de(e),n=St(e),s=si(e),l=e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105;if(t||o||r||n||s||l){if(e.preventDefault(),t&&this.value>0)this.value=Math.round(this.value-1);else if(o&&this.valuethis.max?0:_}else if(n)this.value=0;else if(s)this.value=this.max;else if(l){const _=parseInt(e.key);this.value=_>this.max?this.max:_}this.fireEvent("change")}}_onfocusin(){this.disabled||(this._focused=!0,this._liveValue=this.value)}_onfocusout(){this._focused=!1}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled?"-1":e||"0"}get ratingTooltip(){return this.tooltip||this.defaultTooltip}get defaultTooltip(){return qa.i18nBundle.getText(m0)}get _ariaRoleDescription(){return qa.i18nBundle.getText(g0)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabel(){return Wt(this)}get _ariaDescription(){return this.required?qa.i18nBundle.getText(b0):void 0}get ariaReadonly(){return this.readonly?"true":void 0}};Yo([u({validator:Ti,defaultValue:0})],io.prototype,"value",void 0);Yo([u({validator:z,defaultValue:5})],io.prototype,"max",void 0);Yo([u({type:Boolean})],io.prototype,"disabled",void 0);Yo([u({type:Boolean})],io.prototype,"readonly",void 0);Yo([u()],io.prototype,"accessibleName",void 0);Yo([u({defaultValue:""})],io.prototype,"accessibleNameRef",void 0);Yo([u({type:Boolean})],io.prototype,"required",void 0);Yo([u()],io.prototype,"tooltip",void 0);Yo([u({type:Object,multiple:!0})],io.prototype,"_stars",void 0);Yo([u({type:Boolean})],io.prototype,"_focused",void 0);io=qa=Yo([B({tag:"ui5-rating-indicator",languageAware:!0,renderer:ee,styles:I7,template:t7,dependencies:[Ie]}),$("change")],io);io.define();const C7="slim-arrow-up",Lk="M261.5 197q-6-6-11 0l-160 160q-5 5-11.5 5t-11.5-5-5-11.5 5-11.5l166-165q9-9 22-9t23 9l165 165q5 5 5 11t-5 11q-12 12-23 0z",A7=!1,B7="SAP-icons-v4",E7="@ui5/webcomponents-icons";Y(C7,{pathData:Lk,ltr:A7,collection:B7,packageName:E7});const D7="slim-arrow-up",Mk="M96 326q0-10 7-17l135-141q6-8 18-8 11 0 19 8l134 141q7 7 7 17 0 11-7.5 18.5T390 352q-10 0-18-8L256 223 140 344q-8 8-18 8-11 0-18.5-7.5T96 326z",P7=!1,O7="SAP-icons-v5",R7="@ui5/webcomponents-icons";Y(D7,{pathData:Mk,ltr:P7,collection:O7,packageName:R7});we();var Uh;(function(i){i.Top="Top",i.Bottom="Bottom"})(Uh||(Uh={}));const Wh=Uh;var qh;(function(i){i.Default="Default",i.Positive="Positive",i.Negative="Negative",i.Critical="Critical",i.Neutral="Neutral"})(qh||(qh={}));const Qt=qh;var jh;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(jh||(jh={}));const Nu=jh;var Gh;(function(i){i.Inline="Inline",i.Standard="Standard"})(Gh||(Gh={}));const Fu=Gh;var Yh;(function(i){i.End="End",i.StartAndEnd="StartAndEnd"})(Yh||(Yh={}));const Kh=Yh;function L7(i,e,t){return c`
    ${this.tabsAtTheBottom?M7.call(this,i,e,t):void 0}
    ${E(this.items,(o,r)=>o._id||r,(o,r)=>V7.call(this,i,e,t,o,r))}
    ${this.tabsAtTheBottom?void 0:W7.call(this,i,e,t)}${this.hasSubTabs?j7.call(this,i,e,t):void 0}
    `}function M7(i,e,t){return c`
    ${E(this.items,(o,r)=>o._id||r,(o,r)=>N7.call(this,i,e,t,o,r))}
    `}function N7(i,e,t,o,r){return c``}function F7(i,e,t){return c``}function z7(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-start" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._startOverflowText)}`:c`${a(this._startOverflowText)}`}function V7(i,e,t,o,r){return c`${a(o.stripPresentation)}`}function H7(i,e,t){return c``}function U7(i,e,t){return t?c`<${d("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-end" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._endOverflowText)}`:c`${a(this._endOverflowText)}`}function W7(i,e,t){return c`
    ${E(this.items,(o,r)=>o._id||r,(o,r)=>q7.call(this,i,e,t,o,r))}
    `}function q7(i,e,t,o,r){return c``}function j7(i,e,t){return c`${a(this.accInvisibleText)}`}function G7(i,e,t){return t?c`<${d("ui5-responsive-popover",e,t)} id="${a(this._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop hide-arrow _hide-header class="ui5-tab-container-responsive-popover"><${d("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOverflowListItemClick)}">${E(this._overflowItems,(o,r)=>o._id||r,(o,r)=>yb.call(this,i,e,t,o,r))}`:c`${E(this._overflowItems,(o,r)=>o._id||r,(o,r)=>yb.call(this,i,e,t,o,r))}`}function yb(i,e,t,o,r){return c`${a(o.overflowPresentation)}`}b("@ui5/webcomponents-theming","sap_horizon",async()=>O);b("@ui5/webcomponents","sap_horizon",async()=>R);const Y7={packageName:"@ui5/webcomponents",fileName:"themes/TabContainer.css.ts",content:`.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;width:100%;container-type:inline-size}.ui5-tc-root{display:flex;flex-direction:column;width:100%;height:100%;font-family:"72override",var(--sapFontFamily);font-size:1rem}.ui5-tc__header{position:relative;display:flex;align-items:center;background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background);height:var(--_ui5-v1-22-1-rc-0_tc_header_height);box-shadow:var(--_ui5-v1-22-1-rc-0_tc_header_box_shadow);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__header{border-top:var(--_ui5-v1-22-1-rc-0_tc_header_border_bottom)}:host([header-background-design="Transparent"]) .ui5-tc__header{background-color:transparent}:host([header-background-design="Translucent"]) .ui5-tc__header{background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background_translucent)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only)}.ui5-tc-root.ui5-tc--textOnly.ui5-tc--withAdditionalText.ui5-tc--standardTabLayout .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_with_additional_text)}.ui5-tc__tabStrip{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative;white-space:nowrap}.ui5-tc__separator:focus{outline:none}.ui5-tc__overflow{flex:0 0 0}.ui5-tc__overflow.ui5-tc__overflow--end{padding-inline-start:.188rem;margin-inline-end:1rem}.ui5-tc__overflow.ui5-tc__overflow--start{margin-inline-start:1rem}.ui5-tc__overflow[hidden]{display:none}.ui5-tc__overflow>[ui5-button]{border-radius:.75rem;height:1.5rem}.ui5-tc__overflow>[ui5-button]:not([active]){color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button]:not([active]):hover{color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button][focused]{outline-offset:.125rem;--_ui5-v1-22-1-rc-0_button_focused_border: none;outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__content{height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only))}.ui5-tc__content{position:relative;display:flex;height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height));background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background);border-bottom:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__content{border-top:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom)}:host([content-background-design="Transparent"]) .ui5-tc__content{background-color:transparent}:host([content-background-design="Translucent"]) .ui5-tc__content{background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background_translucent)}.ui5-tc__content--collapsed{display:none}.ui5-tc--transparent .ui5-tc__content{background-color:transparent}.ui5-tc__contentItem{max-height:100%;display:flex;flex-grow:1;overflow:auto}.ui5-tc__contentItem[hidden]{display:none}.ui5-tc__header{padding:0}.ui5-tc__content{padding:1rem}@container (min-width: 600px){.ui5-tc__header{padding:0 1rem}.ui5-tc__content{padding:1rem 2rem}}@container (min-width: 1440px){.ui5-tc__header{padding:0 2rem}.ui5-tc__content{padding:1rem 3rem}} -`};var Ot=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Br;const Nk=[],Fk=[],K7=5;let ct=Br=class extends j{static registerTabStyles(e){Nk.push(e)}static registerStaticAreaTabStyles(e){Fk.push(e)}constructor(){super(),this._handleResizeBound=this._handleResize.bind(this),this._itemNavigation=new _r(this,{getItemsCallback:()=>this._getFocusableRefs(),skipItemsSize:K7})}onBeforeRendering(){if(this._allItemsAndSubItems=this._getAllSubItems(this.items),!this._allItemsAndSubItems.length)return;const e=this._allItemsAndSubItems.filter(t=>t.selected);e.length?(this._selectedTab.forcedSelected=!1,this._selectedTab=e[0]):(this._selectedTab=this._allItemsAndSubItems[0],this._selectedTab.forcedSelected=!0),this._setItemsPrivateProperties(this.items),this._animationRunning||(this._contentCollapsed=this.collapsed),this.showOverflow&&console.warn('The "show-overflow" property is deprecated and will be removed in a future release.')}onAfterRendering(){if(this.items.length&&(this._setItemsForStrip(),!this.shadowRoot.contains(document.activeElement))){const e=this._getRootTab(this._selectedTab);this._itemNavigation.setCurrentItem(e)}}onEnterDOM(){Pe.register(this._getHeader(),this._handleResizeBound)}onExitDOM(){Pe.deregister(this._getHeader(),this._handleResizeBound)}_handleResize(){this.responsivePopover&&this.responsivePopover.opened&&this.responsivePopover.close(),this._width=this.offsetWidth}_setItemsPrivateProperties(e){e.filter(o=>(o.getElementInStrip=()=>this.getDomRef().querySelector(`[id="${o._id}"]`),!o.isSeparator)).forEach((o,r,n)=>{o.isInline=this.tabLayout===Fu.Inline,o.forcedMixedMode=this.mixedMode,o.forcedPosinset=r+1,o.forcedSetsize=n.length,o.realTabReference=this._selectedTab,o.isTopLevelTab=e.some(s=>s===o),Xh(e,s=>{s.realTabReference=o.realTabReference})})}_onHeaderFocusin(e){const t=Hc(e.target);t&&this._itemNavigation.setCurrentItem(t.realTabReference)}async _onTabStripClick(e){const t=Hc(e.target);if(!(!t||t.realTabReference.disabled)){if(e.stopPropagation(),e.preventDefault(),e.target.hasAttribute("ui5-button")){this._onTabExpandButtonClick(e);return}if(!t.realTabReference.hasOwnContent&&t.realTabReference.tabs.length){this._overflowItems=t.realTabReference.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t.realTabReference.getTabInStripDomRef());return}this._onHeaderItemSelect(t)}}async _onTabExpandButtonClick(e){e.stopPropagation(),e.preventDefault();let t=e.target,o=t.tab;if(o&&o.focus(),e.type==="keydown"&&!e.target.realTabReference.isSingleClickArea&&(t=e.target.querySelectorAll(".ui5-tab-expand-button")[0],o=e.target.realTabReference),!o){this._onHeaderItemSelect(t.parentElement);return}this._overflowItems=o.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.isOpen()?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t)}_setPopoverInitialFocus(){const t=this._getSelectedTabInOverflow()||this._getFirstFocusableItemInOverflow();this.responsivePopover.initialFocus=`${t.realTabReference._id}-li`}_getSelectedTabInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.realTabReference&&e.realTabReference.selected)}_getFirstFocusableItemInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.classList.contains("ui5-tab-overflow-item"))}_onTabStripKeyDown(e){const t=Hc(e.target);!t||t.realTabReference.disabled||(de(e)&&(t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t)),te(e)&&e.preventDefault(),(De(e)||Le(e))&&(t.realTabReference.requiresExpandButton&&this._onTabExpandButtonClick(e),t.realTabReference.isSingleClickArea&&this._onTabStripClick(e)))}_onTabStripKeyUp(e){const t=Hc(e.target);!t||t.realTabReference.disabled||te(e)&&(e.preventDefault(),t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t))}_onHeaderItemSelect(e){e.hasAttribute("disabled")||this._onItemSelect(e.id)}async _onOverflowListItemClick(e){e.preventDefault(),this._onItemSelect(e.detail.item.id.slice(0,-3)),this.responsivePopover.close(),await Bi(),this._getRootTab(this._selectedTab).getTabInStripDomRef().focus()}get allItems(){return this._getAllSubItems(this.items)}_getAllSubItems(e,t=[],o=1){return e.forEach(r=>{(r.hasAttribute("ui5-tab")||r.hasAttribute("ui5-tab-separator"))&&(r.forcedLevel=o,t.push(r),r.subTabs&&this._getAllSubItems(r.subTabs,t,o+1))}),t}_onItemSelect(e){const t=this._selectedTab,o=this._allItemsAndSubItems.findIndex(s=>s.__id===e),r=this._allItemsAndSubItems[o];this.selectTab(r,o)&&(this._allItemsAndSubItems.forEach((s,l)=>{const _=o===l;s.selected=_,s.forcedSelected&&(s.forcedSelected=!1)}),!this.fixed&&(this.shouldAnimate?this.toggleAnimated(r,t):this.toggle(r,t)))}async toggleAnimated(e,t){const o=this.shadowRoot.querySelector(".ui5-tc__content");let r=null;this._animationRunning=!0,e===t?(this.collapsed=!this.collapsed,r=this.collapsed?this.slideContentUp(o):this.slideContentDown(o)):(r=this.collapsed?this.slideContentDown(o):Promise.resolve(),this.collapsed=!1),await r,this._contentCollapsed=this.collapsed,this._animationRunning=!1}toggle(e,t){e===t?this.collapsed=!this.collapsed:this.collapsed=!1}selectTab(e,t){return this.fireEvent("tab-select",{tab:e,tabIndex:t},!0)?(this._selectedTab=e,!0):!1}slideContentDown(e){return gk(e).promise()}slideContentUp(e){return bk(e).promise()}async _onOverflowClick(e){if(e.target.classList.contains("ui5-tc__overflow"))return;const o=e.currentTarget.classList.contains("ui5-tc__overflow--end"),r=o?"end-overflow":"start-overflow";this._overflowItems=this.items.filter(s=>{const l=s.getTabInStripDomRef();return l&&l.hasAttribute(r)}),this._addStyleIndent(this._overflowItems);let n;o?n=this.overflowButton[0]||this._getEndOverflowBtnDOM():n=this.startOverflowButton[0]||this._getStartOverflowBtnDOM(),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():(this._setPopoverInitialFocus(),this.responsivePopover.showAt(n))}_addStyleIndent(e){const t=this._getAllSubItems(e).filter(o=>!o.isSeparator).some(o=>o.design!==Qt.Default&&o.design!==Qt.Neutral);Xh(e,o=>{let r=o.forcedLevel-1;o.isSeparator&&(r+=1),o.forcedStyle={[Qi("--_ui5-tab-indentation-level")]:r,[Qi("--_ui5-tab-extra-indent")]:t?1:null}})}async _onOverflowKeyDown(e){const t=e.currentTarget,o=t.classList.contains("ui5-tc__overflow--end"),r=t.classList.contains("ui5-tc__overflow--start");(De(e)||r&&ft(e)||o&&it(e))&&(e.stopPropagation(),e.preventDefault(),await this._onOverflowClick(e))}_setItemsForStrip(){const e=this._getTabStrip();let t=0;if(!this._selectedTab)return;const o=this.items.map(n=>n.getTabInStripDomRef());this._getStartOverflow().setAttribute("hidden",""),this._getEndOverflow().setAttribute("hidden","");for(let n=0;n{t+=this._getItemWidth(n)}),e.offsetWidth=0;v--)e[v].setAttribute("hidden",""),e[v].setAttribute("start-overflow","");return}this._getStartOverflow().removeAttribute("hidden"),this._getEndOverflow().removeAttribute("hidden"),t=this._getTabStrip().offsetWidth,_=this._findFirstVisibleItem(e,t,n.width,n.index-1),p=this._findLastVisibleItem(e,t,n.width,_);for(let v=_-1;v>=0;v--)e[v].setAttribute("hidden",""),e[v].setAttribute("start-overflow","");for(let v=p+1;v=0;s--)r+=this._getItemWidth(t[s]);let n=e=t.length)return!1;let r=0;for(let s=o.index;s=0;s--){const l=this._getItemWidth(e[s]);if(to.getTabInStripDomRef()).forEach(o=>{o.hasAttribute("start-overflow")&&e++,o.hasAttribute("end-overflow")&&t++}),this._startOverflowText=`+${e}`,this._endOverflowText=`+${t}`}_getFocusableRefs(){if(!this.getDomRef())return[];const e=[];return this._getStartOverflow().hasAttribute("hidden")||e.push(this.startOverflowButton[0]||this._getStartOverflowBtnDOM()),this._getTabs().forEach(t=>{const o=t.getTabInStripDomRef();o&&!o.hasAttribute("hidden")&&e.push(t)}),this._getEndOverflow().hasAttribute("hidden")||e.push(this.overflowButton[0]||this._getEndOverflowBtnDOM()),e}_getHeader(){return this.shadowRoot.querySelector(`#${this._id}-header`)}_getTabs(){return this.items.filter(e=>!e.isSeparator)}get hasSubTabs(){const e=this._getTabs();for(let t=0;t0)return!0;return!1}_getTabStrip(){return this.shadowRoot.querySelector(`#${this._id}-tabStrip`)}_getStartOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--start")}_getEndOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--end")}_getStartOverflowBtnDOM(){return this._getStartOverflow().querySelector("[ui5-button]")}_getEndOverflowBtnDOM(){return this._getEndOverflow().querySelector("[ui5-button]")}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector(`#${this._id}-overflowMenu`)}async _closeRespPopover(){this.responsivePopover=await this._respPopover(),this.responsivePopover.close()}get classes(){return{root:{"ui5-tc-root":!0,"ui5-tc--textOnly":this.textOnly,"ui5-tc--withAdditionalText":this.withAdditionalText,"ui5-tc--standardTabLayout":this.standardTabLayout},header:{"ui5-tc__header":!0},tabStrip:{"ui5-tc__tabStrip":!0},separator:{"ui5-tc__separator":!0},content:{"ui5-tc__content":!0,"ui5-tc__content--collapsed":this._contentCollapsed}}}get mixedMode(){return this.items.some(e=>e.icon)&&this.items.some(e=>e.text)}get textOnly(){return this.items.every(e=>!e.icon)}get withAdditionalText(){return this.items.some(e=>!!e.additionalText)}get standardTabLayout(){return this.tabLayout===Fu.Standard}get previousIconACCName(){return Br.i18nBundle.getText(M0)}get nextIconACCName(){return Br.i18nBundle.getText(L0)}get overflowMenuTitle(){return Br.i18nBundle.getText(N0)}get tabsAtTheBottom(){return this.tabsPlacement===Wh.Bottom}get overflowMenuIcon(){return this.tabsAtTheBottom?"slim-arrow-up":"slim-arrow-down"}get overflowButtonText(){return Br.i18nBundle.getText(jp)}get popoverCancelButtonText(){return Br.i18nBundle.getText(F0)}get accInvisibleText(){return Br.i18nBundle.getText(z0)}get tablistAriaDescribedById(){return this.hasSubTabs?`${this._id}-invisibleText`:void 0}get shouldAnimate(){return cc()!==bs.None}static async onDefine(){Br.i18nBundle=await oe("@ui5/webcomponents")}};Ot([u({type:Boolean})],ct.prototype,"fixed",void 0);Ot([u({type:Boolean})],ct.prototype,"collapsed",void 0);Ot([u({type:Boolean})],ct.prototype,"showOverflow",void 0);Ot([u({type:Fu,defaultValue:Fu.Standard})],ct.prototype,"tabLayout",void 0);Ot([u({type:Kh,defaultValue:Kh.End})],ct.prototype,"tabsOverflowMode",void 0);Ot([u({type:Nu,defaultValue:Nu.Solid})],ct.prototype,"headerBackgroundDesign",void 0);Ot([u({type:Nu,defaultValue:Nu.Solid})],ct.prototype,"contentBackgroundDesign",void 0);Ot([u({type:Wh,defaultValue:Wh.Top})],ct.prototype,"tabsPlacement",void 0);Ot([u({type:Object})],ct.prototype,"_selectedTab",void 0);Ot([u({type:Boolean,noAttribute:!0})],ct.prototype,"_animationRunning",void 0);Ot([u({type:Boolean,noAttribute:!0})],ct.prototype,"_contentCollapsed",void 0);Ot([u({noAttribute:!0,defaultValue:"0"})],ct.prototype,"_startOverflowText",void 0);Ot([u({noAttribute:!0,defaultValue:"More"})],ct.prototype,"_endOverflowText",void 0);Ot([u({type:Object,multiple:!0})],ct.prototype,"_overflowItems",void 0);Ot([u({validator:z,noAttribute:!0})],ct.prototype,"_width",void 0);Ot([F({default:!0,type:HTMLElement,individualSlots:!0,invalidateOnChildChange:{properties:!0,slots:!1}})],ct.prototype,"items",void 0);Ot([F()],ct.prototype,"overflowButton",void 0);Ot([F()],ct.prototype,"startOverflowButton",void 0);ct=Br=Ot([B({tag:"ui5-tabcontainer",languageAware:!0,fastNavigation:!0,styles:[Nk,Y7],staticAreaStyles:[Wo,Fk],renderer:ee,template:L7,staticAreaTemplate:G7,dependencies:[Fe,Ie,xr,wo]}),$("tab-select",{detail:{tab:{type:HTMLElement},tabIndex:{type:Number}}})],ct);const X7=i=>i.localName==="div"&&i.getAttribute("role")==="tab",Hc=i=>{for(;i;){if(X7(i))return i;i=i.parentElement}return!1},Xh=(i,e)=>{[...i].forEach(t=>{e(t),t.subTabs&&Xh(t.subTabs,e)})};ct.define();const gd=ct;function Z7(i,e,t){return c`
    ${E(this.tabs,(o,r)=>o._id||r,(o,r)=>Q7.call(this,i,e,t,o,r))}
    `}function Q7(i,e,t,o,r){return c``}function J7(i,e,t){return c``}function vB(i,e,t){return w`
    `}function mB(i,e,t){return w`
    ${a(this.titleText)}
    `}function gB(i,e,t){return w`
    ${a(this.status)}
    `}function bB(i,e,t){return w`
    ${a(this.subtitleText)}
    `}function yB(i,e,t){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const wB={packageName:"@ui5/webcomponents",fileName:"themes/CardHeader.css.ts",content:`.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-card-header{position:relative;display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_card_header_padding);outline:none}:host([subtitleText]) .ui5-card-header{align-items:flex-start}.ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-within:before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus):before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header-focusable-element{outline:none}.ui5-card-header-focusable-element{display:inherit;align-items:inherit;flex:1}.ui5-card-header.ui5-card-header--interactive:hover{cursor:pointer;background:var(--_ui5-v1-22-1-rc-0_card_header_hover_bg)}.ui5-card-header.ui5-card-header--active,.ui5-card-header.ui5-card-header--interactive:active{background:var(--_ui5-v1-22-1-rc-0_card_header_active_bg)}.ui5-card-header .ui5-card-header-text{flex:1;pointer-events:none}.ui5-card-header-first-line{display:flex;flex-flow:row;justify-content:space-between}.ui5-card-header-status{flex:none}.ui5-card-header .ui5-card-header-avatar{height:3rem;width:3rem;display:flex;align-items:center;justify-content:center;margin-inline-end:.75rem;pointer-events:none;align-self:flex-start}::slotted([ui5-icon]){width:1.5rem;height:1.5rem;color:var(--sapTile_IconColor)}::slotted(img[slot="avatar"]){width:100%;height:100%;border-radius:50%}.ui5-card-header .ui5-card-header-status{display:inline-block;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTile_TextColor);text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;margin-inline-start:1rem;margin-block-start:.125rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{font-family:var(--_ui5-v1-22-1-rc-0_card_header_title_font_family);font-size:var(--_ui5-v1-22-1-rc-0_card_header_title_font_size);font-weight:var(--_ui5-v1-22-1-rc-0_card_header_title_font_weight);color:var(--sapTile_TitleTextColor);max-height:3.5rem;align-self:flex-end}.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapTile_TextColor);margin-top:var(--_ui5-v1-22-1-rc-0_card_header_subtitle_margin_top);max-height:2.1rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title,.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{text-align:start;text-overflow:ellipsis;white-space:normal;word-wrap:break-word;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-width:100%}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{-webkit-line-clamp:3}.ui5-card-header-action{display:flex;padding-inline-start:1rem;align-self:flex-start} -`};var ia=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},dl;let $r=dl=class extends ie{get classes(){return{root:{"ui5-card-header":!0,"ui5-card-header--interactive":this.interactive,"ui5-card-header--active":this.interactive&&this._headerActive,"ui5-card-header-ff":my()}}}get _root(){return this.shadowRoot.querySelector(".ui5-card-header")}get ariaRoleDescription(){return this.interactive?dl.i18nBundle.getText(t3):dl.i18nBundle.getText(e3)}get ariaRoleFocusableElement(){return this.interactive?"button":null}get ariaCardAvatarLabel(){return dl.i18nBundle.getText(cv)}get ariaLabelledBy(){const e=[];return this.titleText&&e.push(`${this._id}-title`),this.subtitleText&&e.push(`${this._id}-subtitle`),this.status&&e.push(`${this._id}-status`),this.hasAvatar&&e.push(`${this._id}-avatar`),e.length!==0?e.join(" "):void 0}get hasAvatar(){return!!this.avatar.length}get hasAction(){return!!this.action.length}static async onDefine(){dl.i18nBundle=await fe("@ui5/webcomponents")}_actionsFocusin(){this._root.classList.add("ui5-card-header-hide-focus")}_actionsFocusout(){this._root.classList.remove("ui5-card-header-hide-focus")}_click(e){e.stopImmediatePropagation(),this.interactive&&this._root.contains(e.target)&&this.fireEvent("click")}_keydown(e){if(!this.interactive||!this._root.contains(e.target))return;const t=Ie(e),o=le(e);if(this._headerActive=t||o,t){this.fireEvent("click");return}o&&e.preventDefault()}_keyup(e){if(!this.interactive||!this._root.contains(e.target))return;const t=le(e);this._headerActive=!1,t&&this.fireEvent("click")}};ia([A()],$r.prototype,"titleText",void 0);ia([A()],$r.prototype,"subtitleText",void 0);ia([A()],$r.prototype,"status",void 0);ia([A({type:Boolean})],$r.prototype,"interactive",void 0);ia([A({validator:ae,defaultValue:3})],$r.prototype,"_ariaLevel",void 0);ia([A({type:Boolean,noAttribute:!0})],$r.prototype,"_headerActive",void 0);ia([Z()],$r.prototype,"avatar",void 0);ia([Z()],$r.prototype,"action",void 0);$r=dl=ia([K({tag:"ui5-card-header",languageAware:!0,renderer:de,template:fB,styles:wB}),q("click")],$r);$r.define();const Pn=new WeakMap;class Jc{static get tasks(){return Pn}static enqueue(e,t){Pn.has(e)||Pn.set(e,[]),Pn.get(e).push(t)}static run(e,t){return Pn.has(e)||Pn.set(e,[]),t().then(()=>{const o=Pn.get(e);if(o.length>0)return Jc.run(e,o.shift());Pn.delete(e)})}static push(e,t){Pn.get(e)?Jc.enqueue(e,t):Jc.run(e,t)}}const Ev=i=>{let e=null,t=!1,o,r,n;const s=new Promise((l,I)=>{n=y=>{e=e||y;const C=y-e,b=i.duration-C;if(C<=i.duration){const v=1-b/i.duration;i.advance(v),t||(o=requestAnimationFrame(n))}else i.advance(1),l()},r=()=>{t=!0,cancelAnimationFrame(o),I(new Error("animation stopped"))}}).catch(l=>l);return Jc.push(i.element,()=>(typeof i.beforeStart=="function"&&i.beforeStart(),requestAnimationFrame(n),new Promise(l=>{s.then(()=>l())}))),{promise:()=>s,stop:()=>r}},$v=400,TB=(i,e,t)=>{let o,r;return Ev({beforeStart:()=>{o=i.scrollLeft,r=i.scrollTop},duration:$v,element:i,advance:n=>{i.scrollLeft=o+n*e,i.scrollTop=r+n*t}})},CB="scroll",IB=au()?"touchend":"mouseup";class Av extends Er{constructor(e){super(),this.supportsTouch=au(),this.containerComponent=e,this.mouseMove=this.ontouchmove.bind(this),this.mouseUp=this.ontouchend.bind(this),this.touchStart=this.ontouchstart.bind(this),this.supportsTouch=au(),this.cachedValue={dragX:0,dragY:0},this.startX=0,this.startY=0,this.supportsTouch?(e.addEventListener("touchstart",this.touchStart,{passive:!0}),e.addEventListener("touchmove",this.mouseMove,{passive:!0}),e.addEventListener("touchend",this.mouseUp,{passive:!0})):e.addEventListener("mousedown",this.touchStart,{passive:!0})}set scrollContainer(e){this._container=e}get scrollContainer(){return this._container}async scrollTo(e,t,o=0,r=0){let n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0;for(;!n&&o>0;)await new Promise(s=>{setTimeout(()=>{n=this.scrollContainer.clientHeight>0&&this.scrollContainer.clientWidth>0,o--,s()},r)});this._container.scrollLeft=e,this._container.scrollTop=t}move(e,t,o){if(o){this._container.scrollLeft+=e,this._container.scrollTop+=t;return}if(this._container)return TB(this._container,e,t)}getScrollLeft(){return this._container.scrollLeft}getScrollTop(){return this._container.scrollTop}_isTouchInside(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]);const o=this._container.getBoundingClientRect(),r=this.supportsTouch?t.clientX:e.x,n=this.supportsTouch?t.clientY:e.y;return r>=o.left&&r<=o.right&&n>=o.top&&n<=o.bottom}ontouchstart(e){let t=null;this.supportsTouch&&e instanceof TouchEvent&&(t=e.touches[0]),t?(this.startX=t.pageX,this.startY=t.pageY):(document.addEventListener("mouseup",this.mouseUp,{passive:!0}),document.addEventListener("mousemove",this.mouseMove,{passive:!0})),t&&(this._prevDragX=t.pageX,this._prevDragY=t.pageY),e instanceof MouseEvent&&(this._prevDragX=e.x,this._prevDragY=e.y),this._canScroll=this._isTouchInside(e)}ontouchmove(e){if(!this._canScroll)return;const t=this._container,o=this.supportsTouch?e.touches[0]:null,r=this.supportsTouch?o.pageX:e.x,n=this.supportsTouch?o.pageY:e.y;t.scrollLeft+=this._prevDragX-r,t.scrollTop+=this._prevDragY-n,this.fireEvent(CB,{isLeft:r>this._prevDragX,isRight:rthis._prevDragX}),this._prevDragX=o,this._prevDragY=r,this.supportsTouch||(document.removeEventListener("mousemove",this.mouseMove),document.removeEventListener("mouseup",this.mouseUp))}}var _1;(function(i){i.Content="Content",i.Navigation="Navigation"})(_1||(_1={}));const tn=_1;var h1;(function(i){i.Default="Default",i.Numeric="Numeric"})(h1||(h1={}));const p1=h1;var f1;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(f1||(f1={}));const f_=f1;var v1;(function(i){i.Solid="Solid",i.None="None"})(v1||(v1={}));const $5=v1;function SB(i,e,t){return w` `}function kB(i,e,t,o,r){return w``}function EB(i,e,t){return t?w``:w``}function $B(i,e,t){return w`
    ${this.showArrows.navigation?AB.call(this,i,e,t):void 0}${this.showArrows.navigation?BB.call(this,i,e,t):void 0}
    `}function AB(i,e,t){return t?w`<${D("ui5-button",e,t)} arrow-back tooltip="${a(this.previousPageText)}" class="ui5-carousel-navigation-button ${j(this.classes.navPrevButton)}" icon="slim-arrow-left" tabindex="-1" @click=${this._navButtonClick}>`:w``}function xB(i,e,t){return w`${this.isPageTypeDots?DB.call(this,i,e,t):OB.call(this,i,e,t)}`}function DB(i,e,t){return w`${X(this.dots,(o,r)=>o._id||r,(o,r)=>PB.call(this,i,e,t,o,r))}`}function PB(i,e,t,o,r){return w``}function OB(i,e,t){return w``}function BB(i,e,t){return t?w`<${D("ui5-button",e,t)} arrow-forward tooltip="${a(this.nextPageText)}" class="ui5-carousel-navigation-button ${j(this.classes.navNextButton)}" icon="slim-arrow-right" tabindex="-1" @click=${this._navButtonClick}>`:w``}const RB="slim-arrow-left",UT="M351.5 421q12 12 0 23-5 5-11 5t-11-5l-166-165q-9-10-9-23t9-23l165-164q5-5 11.5-5t11.5 5 5 11-5 11l-159 159q-6 6 0 12z",LB=!1,NB="SAP-icons-v4",MB="@ui5/webcomponents-icons";ee(RB,{pathData:UT,ltr:LB,collection:NB,packageName:MB});const FB="slim-arrow-left",qT="M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z",VB=!1,zB="SAP-icons-v5",HB="@ui5/webcomponents-icons";ee(FB,{pathData:qT,ltr:VB,collection:zB,packageName:HB});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const UB={packageName:"@ui5/webcomponents",fileName:"themes/Carousel.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{width:100%;min-width:15.5rem;height:100%}.ui5-carousel-root:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-carousel-root{height:inherit;position:relative;display:flex;flex-direction:column;align-items:center;background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-background-solid{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_solid)}.ui5-carousel-background-transparent{background:transparent}.ui5-carousel-viewport{width:100%;height:inherit;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:1px;flex:1;min-height:0}.ui5-carousel-viewport.ui5-carousel-viewport--single{align-items:center}.ui5-carousel-content{height:100%;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;transition:transform .5s cubic-bezier(.46,0,.44,1);will-change:transform}.ui5-carousel-content.ui5-carousel-content-no-animation{transition:none}.ui5-carousel-content.ui5-carousel-content-has-navigation{height:calc(100% - 1rem)}.ui5-carousel-item{height:100%;display:flex;align-items:center;justify-content:center;padding:0 .75rem;box-sizing:border-box;transition:opacity .5s linear;will-change:opacity}.ui5-carousel-item--hidden{opacity:0}.ui5-carousel-navigation-arrows{width:100%;padding:0 .5rem;position:absolute;top:calc(50% - var(--ui5-v1-22-1-rc-0_carousel_button_size) / 2);left:0;display:flex;justify-content:space-between;box-sizing:border-box;pointer-events:none}.ui5-carousel-navigation-arrows>[ui5-button]{pointer-events:all}.ui5-carousel-navigation-wrapper{width:100%;height:2.75rem;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box}.ui5-carousel-navigation-wrapper-bg-solid{background:var(--sapPageFooter_Background)}.ui5-carousel-navigation-wrapper-bg-translucent{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-navigation-wrapper-bg-transparent{background:transparent}.ui5-carousel-navigation-wrapper-border-solid{border-top:var(--sapElement_BorderWidth) solid var(--sapList_BorderColor)}.ui5-carousel-navigation-wrapper.ui5-carousel-navigation-with-buttons{height:3.5rem}.ui5-carousel-navigation-button{width:var(--ui5-v1-22-1-rc-0_carousel_button_size);height:var(--ui5-v1-22-1-rc-0_carousel_button_size);border-radius:50%;box-shadow:none;cursor:pointer;outline-offset:.1rem;--_ui5-v1-22-1-rc-0_button_focused_border_radius: 50%}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button{box-shadow:var(--sapContent_Shadow1)}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button:active{box-shadow:var(--ui5-v1-22-1-rc-0_carousel_navigation_button_active_box_shadow)}.ui5-carousel-navigation-button--hidden{visibility:hidden;padding:0}.ui5-carousel-navigation{width:9rem;height:2rem;display:flex;justify-content:center;align-items:center}.ui5-carousel-navigation-dot{box-sizing:border-box;width:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);height:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);margin:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_margin);border-radius:50%;background-color:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_border);transition:background-color .1s ease-in}.ui5-carousel-navigation-dot[active]{width:.5rem;height:.5rem;margin:0 .25rem;background-color:var(--ui5-v1-22-1-rc-0_carousel_active_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_active_dot_border)}.ui5-carousel-navigation-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapPageFooter_TextColor);white-space:nowrap;overflow:hidden;text-align:center;text-overflow:ellipsis} -`};var Ti=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ca;let Ft=Ca=class extends ie{static get pageTypeLimit(){return 9}constructor(){super(),this._scrollEnablement=new Av(this),this._scrollEnablement.attachEvent("touchend",e=>{this._updateScrolling(e)}),this._onResizeBound=this._onResize.bind(this),this._resizing=!1,this._lastFocusedElements=[],this._orderOfLastFocusedPages=[]}onBeforeRendering(){this.arrowsPlacement===tn.Navigation&&(this._visibleNavigationArrows=!0),this.validateSelectedIndex()}onAfterRendering(){this._scrollEnablement.scrollContainer=this.getDomRef(),this._resizing=!1}onEnterDOM(){Ce.register(this,this._onResizeBound)}onExitDOM(){Ce.deregister(this,this._onResizeBound)}validateSelectedIndex(){this.isIndexInRange(this._selectedIndex)||(this._selectedIndex=0)}_onResize(){const e=this.effectiveItemsPerPage;this._resizing=!0,this._width=this.offsetWidth,this._itemWidth=Math.floor(this._width/this.effectiveItemsPerPage),this.effectiveItemsPerPage!==e&&this._selectedIndex>this.pagesCount-1&&(this._selectedIndex=this.pagesCount-1,this.fireEvent("navigate",{selectedIndex:this._selectedIndex}))}_updateScrolling(e){e&&(e.isLeft?this.navigateLeft():e.isRight&&this.navigateRight())}async _onkeydown(e){if(qy(e)){this._handleF7Key(e);return}e.target===this.getDomRef()&&(Ct(e)||qe(e)?(this.navigateLeft(),await Mt(),this.getDomRef().focus()):(_t(e)||Xe(e))&&(this.navigateRight(),await Mt(),this.getDomRef().focus()))}_onfocusin(e){const t=e.target;if(t===this.getDomRef())return;let o=-1;for(let n=0;nthis.pagesCount-1)if(this.cyclic)this._selectedIndex=0;else return;else++this._selectedIndex;e!==this._selectedIndex&&this.fireEvent("navigate",{selectedIndex:this._selectedIndex})}_navButtonClick(e){e.target.hasAttribute("arrow-forward")?this.navigateRight():this.navigateLeft(),this.focus()}navigateTo(e){this._resizing=!1,this._selectedIndex=e}get items(){return this.content.map((e,t)=>{const o=this.isItemInViewport(t);return{id:`${this._id}-carousel-item-${t+1}`,item:e,tabIndex:o?"0":"-1",posinset:`${t+1}`,setsize:`${this.content.length}`,styles:{width:`${this._itemWidth||0}px`},classes:o?"":"ui5-carousel-item--hidden"}})}get effectiveItemsPerPage(){return this._width?this._width<=640?this.itemsPerPageS:this._width<=1024?this.itemsPerPageM:this.itemsPerPageL:this.itemsPerPageL}isItemInViewport(e){return e>=this._selectedIndex&&e<=this._selectedIndex+this.effectiveItemsPerPage-1}isIndexInRange(e){return e>=0&&e<=this.pagesCount-1}get renderNavigation(){return this.hasManyPages?this.arrowsPlacement===tn.Navigation&&!this.hideNavigationArrows?!0:!this.hidePageIndicator:!1}get hasManyPages(){return this.pagesCount>1}get styles(){const e=this._itemWidth||0;return{content:{transform:`translateX(${this._isRTL?"":"-"}${this._selectedIndex*e}px`}}}get classes(){return{viewport:{"ui5-carousel-viewport":!0,"ui5-carousel-viewport--single":this.pagesCount===1},content:{"ui5-carousel-content":!0,"ui5-carousel-content-no-animation":this.suppressAnimation,"ui5-carousel-content-has-navigation":this.renderNavigation,"ui5-carousel-content-has-navigation-and-buttons":this.renderNavigation&&this.arrowsPlacement===tn.Navigation&&!this.hideNavigationArrows},navigation:{"ui5-carousel-navigation-wrapper":!0,"ui5-carousel-navigation-with-buttons":this.renderNavigation&&this.arrowsPlacement===tn.Navigation&&!this.hideNavigationArrows,[`ui5-carousel-navigation-wrapper-bg-${this.pageIndicatorBackgroundDesign.toLowerCase()}`]:!0,[`ui5-carousel-navigation-wrapper-border-${this.pageIndicatorBorderDesign.toLowerCase()}`]:!0},navPrevButton:{"ui5-carousel-navigation-button--hidden":!this.hasPrev},navNextButton:{"ui5-carousel-navigation-button--hidden":!this.hasNext}}}get pagesCount(){const e=this.content.length;return e>this.effectiveItemsPerPage?e-this.effectiveItemsPerPage+1:1}get isPageTypeDots(){return this.pageIndicatorStyle===p1.Numeric?!1:this.pagesCount=0}get hasNext(){return this.cyclic||this._selectedIndex+1<=this.pagesCount-1}get suppressAnimation(){return this._resizing||Ra()===Un.None}get _isRTL(){return this.effectiveDir==="rtl"}get selectedIndexToShow(){return this._isRTL?this.pagesCount-(this.pagesCount-this._selectedIndex)+1:this._selectedIndex+1}get ofText(){return Ca.i18nBundle.getText(w3)}get ariaActiveDescendant(){return this.content.length?`${this._id}-carousel-item-${this._selectedIndex+1}`:void 0}get nextPageText(){return Ca.i18nBundle.getText(I3)}get previousPageText(){return Ca.i18nBundle.getText(C3)}get visibleItemsIndices(){const e=[];return this.items.forEach((t,o)=>{this.isItemInViewport(o)&&e.push(o)}),e}static async onDefine(){Ca.i18nBundle=await fe("@ui5/webcomponents")}};Ti([A({type:Boolean})],Ft.prototype,"cyclic",void 0);Ti([A({validator:ae,defaultValue:1})],Ft.prototype,"itemsPerPageS",void 0);Ti([A({validator:ae,defaultValue:1})],Ft.prototype,"itemsPerPageM",void 0);Ti([A({validator:ae,defaultValue:1})],Ft.prototype,"itemsPerPageL",void 0);Ti([A({type:Boolean})],Ft.prototype,"hideNavigationArrows",void 0);Ti([A({type:Boolean})],Ft.prototype,"hidePageIndicator",void 0);Ti([A({type:p1,defaultValue:p1.Default})],Ft.prototype,"pageIndicatorStyle",void 0);Ti([A({type:f_,defaultValue:f_.Translucent})],Ft.prototype,"backgroundDesign",void 0);Ti([A({type:f_,defaultValue:f_.Solid})],Ft.prototype,"pageIndicatorBackgroundDesign",void 0);Ti([A({type:$5,defaultValue:$5.Solid})],Ft.prototype,"pageIndicatorBorderDesign",void 0);Ti([A({validator:ae,defaultValue:0})],Ft.prototype,"_selectedIndex",void 0);Ti([A({type:tn,defaultValue:tn.Content})],Ft.prototype,"arrowsPlacement",void 0);Ti([A({validator:ae})],Ft.prototype,"_width",void 0);Ti([A({validator:ae})],Ft.prototype,"_itemWidth",void 0);Ti([A({type:Boolean,noAttribute:!0})],Ft.prototype,"_visibleNavigationArrows",void 0);Ti([Z({default:!0,type:HTMLElement,individualSlots:!0})],Ft.prototype,"content",void 0);Ft=Ca=Ti([K({tag:"ui5-carousel",languageAware:!0,fastNavigation:!0,renderer:de,styles:UB,template:SB,dependencies:[Ne,ea]}),q("navigate",{detail:{selectedIndex:{type:ae}}})],Ft);Ft.define();const qB=Ft;class ed extends Wu{static isValid(e){return/^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\(\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*(,\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|rgba\((\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){3}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|hsl\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*(,\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|hsla\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*,(\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){2}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|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|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|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|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(e)}}function WB(i,e,t){return w`
    ${this.showDefaultColor?jB.call(this,i,e,t):void 0}
    ${X(this.displayedColors,(o,r)=>o._id||r,(o,r)=>GB.call(this,i,e,t,o,r))}
    ${this._showMoreColors?YB.call(this,i,e,t):void 0}${this.showRecentColors?XB.call(this,i,e,t):void 0}
    `}function jB(i,e,t){return t?w`
    <${D("ui5-button",e,t)} class="ui5-cp-default-color-button" design="Transparent" @click=${this._onDefaultColorClick} @keydown=${this._onDefaultColorKeyDown}>${a(this.colorPaletteDefaultColorText)}
    `:w`
    ${a(this.colorPaletteDefaultColorText)}
    `}function GB(i,e,t,o,r){return w``}function YB(i,e,t){return t?w`
    <${D("ui5-button",e,t)} design="Transparent" class="ui5-cp-more-colors" @click="${this._openMoreColorsDialog}" @keydown=${this._onMoreColorsKeyDown}>${a(this.colorPaletteMoreColorsText)}
    `:w`
    ${a(this.colorPaletteMoreColorsText)}
    `}function XB(i,e,t){return w`
    ${X(this.recentColors,(o,r)=>o._id||r,(o,r)=>KB.call(this,i,e,t,o,r))}
    `}function KB(i,e,t,o,r){return t?w`<${D("ui5-color-palette-item",e,t)} value="${a(o)}">`:w``}function ZB(i,e,t){return t?w`<${D("ui5-dialog",e,t)} header-text="${a(this.moreColorsFeature.colorPaletteDialogTitle)}">
    <${D("ui5-color-picker",e,t)}>
    `:w`
    `}function QB(i,e,t){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const JB={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteItem.css.ts",content:`:host(:not([hidden])){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-outer-border-radius);display:inline-block;margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-margin);box-sizing:border-box}:host(:not([_disabled]):hover){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-outer-border-radius)}:host(:not([hidden])[phone]){height:2.75rem;width:2.75rem;border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:.25rem;display:inline-block;margin:.375rem}.ui5-cp-item{position:relative;box-sizing:border-box;border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-inner-border-radius);width:100%;height:100%}:host(:not([_disabled]):not([phone]):hover) .ui5-cp-item{border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius)}:host(:not([_disabled])[phone]) .ui5-cp-item{border-radius:.1875rem}.ui5-cp-item:hover:not(:focus){border:1px solid var(--sapGroup_ContentBackground);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius);box-sizing:border-box}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus{outline:none}:host(:not([_disabled]):not([phone]):focus) .ui5-cp-item{pointer-events:none}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled])) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none} -`};var fc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Fd;let Xn=Fd=class extends ie{static async onDefine(){Fd.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._disabled=!this.value,this.phone=ue()}get colorLabel(){return Fd.i18nBundle.getText(E3)}get styles(){return{root:{"background-color":this.value}}}};fc([A({validator:ed})],Xn.prototype,"value",void 0);fc([A({defaultValue:"-1",noAttribute:!0})],Xn.prototype,"forcedTabIndex",void 0);fc([A({validator:ae})],Xn.prototype,"index",void 0);fc([A({type:Boolean})],Xn.prototype,"phone",void 0);fc([A({type:Boolean})],Xn.prototype,"_disabled",void 0);Xn=Fd=fc([K({tag:"ui5-color-palette-item",renderer:de,styles:JB,template:QB})],Xn);Xn.define();const eR=Xn;V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const tR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalette.css.ts",content:`:host(:not([hidden])){display:inline-block}:host(:not([hidden])[popup-mode]){width:100%}.ui5-cp-root{display:flex;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone,.ui5-cp-separator,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-more-colors-wrapper,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-default-color-button-wrapper,.ui5-cp-recent-colors-wrapper{width:100%}.ui5-cp-root.ui5-cp-root-phone .ui5-cp-item-container{width:18.5rem;max-width:19.5rem;max-height:13rem;padding:.375rem .625rem}.ui5-cp-recent-colors-wrapper{display:flex;align-items:center;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone{display:flex;align-items:center}.ui5-cp-item-container{display:flex;max-width:var(--_ui5-v1-22-1-rc-0_color-palette-row-width);flex-flow:wrap;max-height:var(--_ui5-v1-22-1-rc-0_color-palette-row-height);overflow:hidden;padding:var(--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding)}.ui5-cp-more-colors,.ui5-cp-default-color-button{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);text-align:center;border:none}.ui5-cp-more-colors-wrapper,.ui5-cp-default-color-button-wrapper{display:flex;flex-direction:column}.ui5-cp-separator{height:.0625rem;background:var(--sapToolbar_SeparatorColor)}.ui5-cp-default-color-button,.ui5-cp-more-colors{padding:.0625rem} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPaletteStaticArea.css.ts",content:`.ui5-cp-dialog-content{display:flex;justify-content:center;align-items:center;margin:1rem 0}.ui5-cp-dialog-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 1rem}.ui5-cp-dialog-footer [ui5-button]:first-child{margin-right:1rem} -`};var Xa=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},_l;let Ar=_l=class extends ie{static async onDefine(){const e=ze("ColorPaletteMoreColors");[_l.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}constructor(){super(),this._itemNavigation=new $i(this,{getItemsCallback:()=>this.displayedColors,rowSize:this.rowSize,behavior:Ss.Cyclic}),this._itemNavigationRecentColors=new $i(this,{getItemsCallback:()=>this.recentColorsElements,rowSize:this.rowSize,behavior:Ss.Static}),this._recentColors=[]}onBeforeRendering(){if(this.displayedColors.forEach((e,t)=>{e.index=t+1}),this.showMoreColors){const e=ze("ColorPaletteMoreColors");if(e)this.moreColorsFeature=new e;else throw new Error('You have to import "@ui5/webcomponents/dist/features/ColorPaletteMoreColors.js" module to use the more-colors functionality.')}}onAfterRendering(){this.popupMode&&(this.showDefaultColor?this.focusFirstFocusableElement():this.focusFirstDisplayColorElement())}selectColor(e){e.value&&(e.focus(),this.displayedColors.includes(e)&&this._itemNavigation.setCurrentItem(e),this._setColor(e.value))}_setColor(e){this._selectedColor=e,this._recentColors[0]!==this._selectedColor&&(this._recentColors.includes(this._selectedColor)?this._recentColors.unshift(this._recentColors.splice(this._recentColors.indexOf(this._selectedColor),1)[0]):this._recentColors.unshift(this._selectedColor)),this.fireEvent("item-click",{color:this._selectedColor})}_onclick(e){const t=e.target;t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onkeyup(e){const t=e.target;le(e)&&t.hasAttribute("ui5-color-palette-item")&&(e.preventDefault(),this.selectColor(t))}_onkeydown(e){const t=e.target;Ie(e)&&t.hasAttribute("ui5-color-palette-item")&&this.selectColor(t)}_onDefaultColorKeyDown(e){if(Pt(e)&&this.popupMode&&(e.preventDefault(),this._onDefaultColorClick()),qe(e))e.stopPropagation(),this.focusColorElement(this.colorPaletteNavigationElements[1],this._itemNavigation);else if(Xe(e)){e.stopPropagation();const t=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(this.hasRecentColors)this.focusColorElement(t,this._itemNavigationRecentColors);else if(this.showMoreColors)t.focus();else{const o=this.displayedColors.length%this.rowSize*this.rowSize;this.focusColorElement(this.displayedColors[o],this._itemNavigation)}}}_onMoreColorsKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements.indexOf(t),r=this.displayedColors.length%this.rowSize*this.rowSize;Xe(e)?(e.stopPropagation(),this.focusColorElement(this.displayedColors[r],this._itemNavigation)):qe(e)&&(e.stopPropagation(),this.hasRecentColors?this.focusColorElement(this.colorPaletteNavigationElements[o+1],this._itemNavigationRecentColors):this.showDefaultColor?this.firstFocusableElement.focus():this.focusColorElement(this.displayedColors[0],this._itemNavigation))}_onColorContainerKeyDown(e){const t=e.target,o=this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length-1];if(Pt(e)&&this.popupMode&&(e.preventDefault(),this.selectColor(t)),Xe(e)&&t===this.displayedColors[0]&&this.colorPaletteNavigationElements.length>1)e.stopPropagation(),this.showDefaultColor?this.firstFocusableElement.focus():!this.showDefaultColor&&this.hasRecentColors?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&o.focus();else if(qe(e)&&t===this.displayedColors[this.displayedColors.length-1]&&this.colorPaletteNavigationElements.length>1){e.stopPropagation();const r=this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors||!this.showDefaultColor&&!this.showMoreColors&&this.hasRecentColors;this.showDefaultColor&&this.showMoreColors?this.colorPaletteNavigationElements[2].focus():this.showDefaultColor&&!this.showMoreColors&&(!this.showRecentColors||!this.recentColors[0])?this.firstFocusableElement.focus():r?this.focusColorElement(o,this._itemNavigationRecentColors):!this.showDefaultColor&&this.showMoreColors&&this.colorPaletteNavigationElements[1].focus()}}_onRecentColorsContainerKeyDown(e){if(Xe(e)){if(this.showMoreColors){const t=this.showDefaultColor?2:1;this.colorPaletteNavigationElements[t].focus()}else if(!this.showMoreColors&&this.colorPaletteNavigationElements.length>1){const t=this.displayedColors.length%this.rowSize*this.rowSize;e.stopPropagation(),this.focusColorElement(this.displayedColors[t],this._itemNavigation)}}else qe(e)&&(this.showDefaultColor?this.firstFocusableElement.focus():(e.stopPropagation(),this.focusColorElement(this.displayedColors[0],this._itemNavigation)))}focusColorElement(e,t){t.setCurrentItem(e),t._focusCurrentItem()}focusFirstDisplayColorElement(){this.focusColorElement(this.displayedColors[0],this._itemNavigation)}focusFirstFocusableElement(){this.firstFocusableElement.focus()}get firstFocusableElement(){return this.colorPaletteNavigationElements[0]}async _chooseCustomColor(){const e=await this.getColorPicker();this._setColor(e.color),this._closeDialog()}async _closeDialog(){(await this._getDialog()).close()}async _openMoreColorsDialog(){(await this._getDialog()).show()}_onDefaultColorClick(){this.defaultColor&&this._setColor(this.defaultColor)}get selectedColor(){return this._selectedColor}get displayedColors(){return this.getSlottedNodes("colors").filter(t=>t.value).slice(0,15)}get colorContainerLabel(){return _l.i18nBundle.getText(S3)}get colorPaletteMoreColorsText(){return _l.i18nBundle.getText(x3)}get colorPaletteDefaultColorText(){return _l.i18nBundle.getText(D3)}get _showMoreColors(){return this.showMoreColors&&this.moreColorsFeature}get rowSize(){return 5}get hasRecentColors(){return this.showRecentColors&&this.recentColors[0]}get recentColors(){for(this._recentColors.length>this.rowSize&&(this._recentColors=this._recentColors.slice(0,this.rowSize));this._recentColors.lengtht.value!==""):[]}get colorPaletteNavigationElements(){const e=[],t=this.shadowRoot.querySelector(".ui5-cp-root");return this.showDefaultColor&&e.push(t.querySelector(".ui5-cp-default-color-button")),e.push(this.displayedColors[0]),this.showMoreColors&&e.push(t.querySelector(".ui5-cp-more-colors")),this.showRecentColors&&this.recentColorsElements.length&&e.push(this.recentColorsElements[0]),e}get classes(){return{colorPaletteRoot:{"ui5-cp-root":!0,"ui5-cp-root-phone":ue()}}}async _getDialog(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-dialog]")}async getColorPicker(){return(await this._getDialog()).content[0].querySelector("[ui5-color-picker]")}};Xa([A({type:Boolean})],Ar.prototype,"showRecentColors",void 0);Xa([A({type:Boolean})],Ar.prototype,"showMoreColors",void 0);Xa([A({type:Boolean})],Ar.prototype,"showDefaultColor",void 0);Xa([A({validator:ed})],Ar.prototype,"defaultColor",void 0);Xa([A({validator:ed})],Ar.prototype,"_selectedColor",void 0);Xa([A({type:Boolean})],Ar.prototype,"popupMode",void 0);Xa([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0,individualSlots:!0})],Ar.prototype,"colors",void 0);Ar=_l=Xa([K({tag:"ui5-color-palette",renderer:de,template:WB,staticAreaTemplate:ZB,styles:tR,staticAreaStyles:iR,get dependencies(){const i=ze("ColorPaletteMoreColors");return[eR,Ne].concat(i?i.dependencies:[])}}),q("item-click",{detail:{color:{type:String}}})],Ar);Ar.define();const oR=Ar;function rR(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} hide-arrow content-only-on-desktop placement-type="Bottom" ?open="${this._open}" .opener="${a(this.opener)}" @ui5-after-close="${a(this.onAfterClose)}">
    <${D("ui5-title",e,t)} class="ui5-cp-title">${a(this._colorPaletteTitle)}
    <${D("ui5-color-palette",e,t)} ?show-more-colors="${this.showMoreColors}" ?show-recent-colors="${this.showRecentColors}" ?show-default-color="${this.showDefaultColor}" default-color="${a(this.defaultColor)}" popup-mode @ui5-item-click="${a(this.onSelectedColor)}">${X(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>A5.call(this,i,e,t,o,r))}
    `:w`
    ${a(this._colorPaletteTitle)}
    ${X(this.colorPaletteColors,(o,r)=>o._id||r,(o,r)=>A5.call(this,i,e,t,o,r))}
    `}function A5(i,e,t,o,r){return w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const nR={packageName:"@ui5/webcomponents",fileName:"themes/ColorPalettePopover.css.ts",content:`.ui5-cp-header{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);display:flex;align-items:center}.ui5-cp-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 0}[ui5-responsive-popover]::part(content){padding:0}[ui5-title],[ui5-button]{margin-bottom:1rem}.ui5-cp-item-container{padding:.3125rem .6875rem} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Vr={packageName:"@ui5/webcomponents",fileName:"themes/ResponsivePopoverCommon.css.ts",content:`.input-root-phone{flex:1;position:relative;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color);border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}.input-root-phone [value-state=Error] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Success] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Warning] [input-icon][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-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}.input-root-phone[value-state=Error] [inner-input],.input-root-phone[value-state=Warning] [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style)}.input-root-phone[value-state=Error] [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}.input-root-phone[value-state=Error]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Error]:not([readonly]):not([disabled]),.input-root-phone[value-state=Warning]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}.input-root-phone[value-state=Warning]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Success]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width)}.input-root-phone[value-state=Success]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Success]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_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:calc(100% - var(--_ui5-v1-22-1-rc-0_button_base_min_width))}.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;padding:.25rem 0;width:100%}.ui5-responsive-popover-close-btn{position:absolute;right:1rem} -`};var Ka=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Pc;let dn=Pc=class extends ie{static async onDefine(){Pc.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}get responsivePopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}get respPopover(){return this.shadowRoot.querySelector("[ui5-responsive-popover]")}showAt(e){console.warn("The method 'showAt' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.open=!0,this.opener=e}openPopover(e){console.warn("The method 'openPopover' is deprecated and will be removed in future, use 'open' and 'opener' props instead."),this.showAt(e)}closePopover(){this.open=!1}onAfterClose(){this.closePopover(),this.fireEvent("close")}onSelectedColor(e){this.closePopover(),this.fireEvent("item-click",e.detail)}isOpen(){return this.open}get colorPaletteColors(){return this.getSlottedNodes("colors")}get _colorPaletteTitle(){return Pc.i18nBundle.getText(k3)}get _cancelButtonLabel(){return Pc.i18nBundle.getText(uv)}get _open(){return this.open||void 0}};Ka([A({type:Boolean})],dn.prototype,"showRecentColors",void 0);Ka([A({type:Boolean})],dn.prototype,"showMoreColors",void 0);Ka([A({type:Boolean})],dn.prototype,"showDefaultColor",void 0);Ka([A({validator:ed})],dn.prototype,"defaultColor",void 0);Ka([A({type:Boolean})],dn.prototype,"open",void 0);Ka([A({validator:j_})],dn.prototype,"opener",void 0);Ka([Z({default:!0,type:HTMLElement,individualSlots:!0})],dn.prototype,"colors",void 0);dn=Pc=Ka([K({tag:"ui5-color-palette-popover",renderer:de,styles:[Vr,nR],template:rR,dependencies:[fo,Ne,_c,oR]}),q("item-click",{detail:{color:{type:String}}}),q("close")],dn);dn.define();class Zt extends Wu{static isValid(e){return Number(e)===e}static attributeToProperty(e){return parseFloat(e)}}/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */const WT=Symbol.for(""),aR=i=>{if((i==null?void 0:i.r)===WT)return i==null?void 0:i._$litStatic$},sR=i=>({_$litStatic$:i,r:WT}),x5=new Map,jT=i=>(e,...t)=>{const o=t.length;let r,n;const s=[],l=[];let I,y=0,C=!1;for(;yi.startsWith("rgba")?dR(i):i.startsWith("rgb")?_R(i):(i.indexOf("#")===0&&(i.length===4?i=`${i[1]}${i[1]}${i[2]}${i[2]}${i[3]}${i[3]}`:i=i.slice(1,i.length)),D5.has(i)&&(i=D5.get(i)),GT(i)),dR=i=>{const e=i.indexOf("("),t=[];for(let o=0;o{const e=i.indexOf("("),t=i.indexOf(")"),o=[];for(let r=0;r{let e=i.s*100,t=i.l*100,o,r,n;e>100?e=1:e<0?e=0:e/=100,t>100?t=1:t<0?t=0:t/=100;const s=i.h,l=e*(1-Math.abs(2*t-1)),I=255*(t-.5*l),y=l*(1-Math.abs(s/60%2-1)),C=Math.floor(s/60),b=I+255*y,v=I+255*l;switch(C){case 0:o=v,r=b,n=I;break;case 1:o=b,r=v,n=I;break;case 2:o=I,r=v,n=b;break;case 3:o=I,r=b,n=v;break;case 4:o=b,r=I,n=v;break;case 5:o=v,r=I,n=b;break;default:o=0,r=0,n=0;break}return{r:Math.round(o),g:Math.round(r),b:Math.round(n)}},GT=i=>({r:parseInt(i.substr(0,2),16),g:parseInt(i.substr(2,2),16),b:parseInt(i.substr(4,2),16)}),hR=i=>{const e=i.r/255,t=i.g/255,o=i.b/255,r=Math.max(e,t,o),n=Math.min(e,t,o),s=r-n;let l=0,I;s===0?l=0:r===e?l=60*((t-o)/s%6):r===t?l=60*((o-e)/s+2):r===o&&(l=60*((e-t)/s+4));const y=(r+n)/2;return s===0?I=0:I=s/(1-Math.abs(2*y-1)),{h:l,s:I,l:y}};function pR(i,e,t){return t?w`
    <${D("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-hue-slider" min="0" max="1530" value="${a(this._hue)}" accessible-name="${a(this.hueSliderLabel)}" @ui5-input="${a(this._handleHueInput)}"><${D("ui5-slider",e,t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-alpha-slider" min="0" max="1" step="0.01" value="${a(this._alpha)}" accessible-name="${a(this.alphaSliderLabel)}" @ui5-input="${a(this._handleAlphaInput)}">
    <${D("ui5-label",e,t)}>Hex<${D("ui5-input",e,t)} class="ui5-color-picker-hex-input" value="${a(this.hex)}" @keydown="${this._onkeydown}" accessible-name="${a(this.hexInputLabel)}" @ui5-change="${a(this._handleHEXChange)}" value-state="${a(this.hexInputErrorState)}">
    <${D("ui5-input",e,t)} id="red" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.redInputLabel)}" value="${a(this._color.r)}"><${D("ui5-label",e,t)}>R
    <${D("ui5-input",e,t)} id="green" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.greenInputLabel)}" value="${a(this._color.g)}"><${D("ui5-label",e,t)}>G
    <${D("ui5-input",e,t)} id="blue" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.blueInputLabel)}" value="${a(this._color.b)}"><${D("ui5-label",e,t)}>B
    <${D("ui5-input",e,t)} id="alpha" disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-rgb-input" value="${a(this._alpha)}" accessible-name="${a(this.alphaInputLabel)}" @ui5-input="${a(this._handleAlphaInput)}" @ui5-change="${a(this._handleAlphaChange)}"><${D("ui5-label",e,t)}>A
    `:w`
    Hex
    R
    G
    B
    A
    `}const fR=i=>{let e=0;return(i.selectionStart||i.selectionStart===0)&&(e=i.selectionDirection==="backward"?i.selectionStart:i.selectionEnd),e},vR=(i,e)=>{i.selectionStart?(i.focus(),i.setSelectionRange(e,e)):i.focus()},mR="not-editable",YT="M443 104q5 7 5 12 0 6-5 11L118 453q-4 4-8 4L0 480l22-110q0-5 4-9L352 36q4-4 11-4t11 4zm-121 99l-46-45L52 381l46 46zm87-88l-46-44-64 64 45 45zm71 204l-63 64-65-64-33 32 66 63-66 66 33 32 65-66 63 66 32-32-66-66 66-63z",gR=!1,bR="SAP-icons-v4",yR="@ui5/webcomponents-icons";ee(mR,{pathData:YT,ltr:gR,collection:bR,packageName:yR});const wR="not-editable",XT="M504 94q7 7 7 18t-7 18L130 505q-9 7-18 7H26q-11 0-18.5-7.5T0 486v-86q0-10 8-18L381 7q9-7 18-7 11 0 18 7zm-55 18l-50-50-50 50 50 50zm-86 86l-50-50L62 400l50 50zm142 270q7 7 7 18t-7.5 18.5T486 512t-18-7l-37-38-38 38q-7 7-18 7t-18.5-7.5T349 486q0-10 8-18l38-37-38-38q-8-8-8-18 0-11 7.5-18.5T375 349q10 0 18 8l38 37 37-37q8-8 18-8 11 0 18.5 7.5T512 375t-7 18l-38 38z",TR=!1,CR="SAP-icons-v5",IR="@ui5/webcomponents-icons";ee(wR,{pathData:XT,ltr:TR,collection:CR,packageName:IR});Se();var m1;(function(i){i.Text="Text",i.Email="Email",i.Number="Number",i.Password="Password",i.Tel="Tel",i.URL="URL"})(m1||(m1={}));const Rl=m1;function SR(i,e,t){return w`
    ${this._effectiveShowClearIcon?kR.call(this,i,e,t):void 0}${this.icon.length?ER.call(this,i,e,t):void 0}
    ${Gn(this._valueStateInputIcon)}
    ${this.showSuggestions?$R.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?AR.call(this,i,e,t):void 0}${this.hasValueState?xR.call(this,i,e,t):void 0}
    `}function kR(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function ER(i,e,t){return w`
    `}function $R(i,e,t){return w`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function AR(i,e,t){return w`${a(this.accInfo.input.ariaDescription)}`}function xR(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}function DR(i,e,t){return w`${this.showSuggestions?PR.call(this,i,e,t):void 0}${this.hasValueStateMessage?MR.call(this,i,e,t):void 0} `}function PR(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} class="${j(this.classes.popover)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Left" style="${Y(this.styles.suggestionsPopover)}" @ui5-after-open="${a(this._afterOpenPopover)}" @ui5-after-close="${a(this._afterClosePopover)}" @ui5-scroll="${a(this._scroll)}">${this._isPhone?O5.call(this,i,e,t):void 0}${this._isPhone?void 0:N5.call(this,i,e,t)}<${D("ui5-list",e,t)} separators="${a(this.suggestionSeparators)}" @mousedown="${this.onItemMouseDown}" mode="SingleSelect">${X(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>V5.call(this,i,e,t,o,r))}${this._isPhone?H5.call(this,i,e,t):void 0}`:w`${this._isPhone?O5.call(this,i,e,t):void 0}${this._isPhone?void 0:N5.call(this,i,e,t)}${X(this.suggestionObjects,(o,r)=>o._id||r,(o,r)=>V5.call(this,i,e,t,o,r))}${this._isPhone?H5.call(this,i,e,t):void 0}`}function O5(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${D("ui5-input",e,t)} class="ui5-input-inner-phone" type="${a(this.inputType)}" .value="${a(this.value)}" ?show-clear-icon=${this.showClearIcon} placeholder="${a(this.placeholder)}" @ui5-input="${a(this._handleInput)}" @ui5-change="${a(this._handleChange)}">
    ${this.hasValueStateMessage?B5.call(this,i,e,t):void 0}`:w`
    ${a(this._headerTitleText)}
    ${this.hasValueStateMessage?B5.call(this,i,e,t):void 0}`}function B5(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?R5.call(this,i,e,t):L5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?R5.call(this,i,e,t):L5.call(this,i,e,t)}
    `}function R5(i,e,t){return w`${a(this.valueStateText)}`}function L5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>OR.call(this,i,e,t,o,r))}`}function OR(i,e,t,o,r){return w`${a(o)}`}function N5(i,e,t){return w`${this.hasValueStateMessage?BR.call(this,i,e,t):void 0}`}function BR(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?M5.call(this,i,e,t):F5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?M5.call(this,i,e,t):F5.call(this,i,e,t)}
    `}function M5(i,e,t){return w`${a(this.valueStateText)}`}function F5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>RR.call(this,i,e,t,o,r))}`}function RR(i,e,t,o,r){return w`${a(o)}`}function V5(i,e,t,o,r){return w`${o.groupItem?LR.call(this,i,e,t,o,r):NR.call(this,i,e,t,o,r)}`}function LR(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} data-ui5-key="${a(o.key)}">${Gn(o.text)}`:w`${Gn(o.text)}`}function NR(i,e,t,o,r){return t?w`<${D("ui5-li-suggestion-item",e,t)} wrapping-type="Normal" image="${a(o.image)}" icon="${a(o.icon)}" additional-text="${a(o.additionalText)}" type="${a(o.type)}" additional-text-state="${a(o.additionalTextState)}" data-ui5-key="${a(o.key)}">${Gn(o.text)}${o.description?z5.call(this,i,e,t,o,r):void 0}`:w`${Gn(o.text)}${o.description?z5.call(this,i,e,t,o,r):void 0}`}function z5(i,e,t,o,r){return w`${Gn(o.description)}`}function H5(i,e,t){return t?w``:w``}function MR(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?U5.call(this,i,e,t):q5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?U5.call(this,i,e,t):q5.call(this,i,e,t)}
    `}function U5(i,e,t){return w`${a(this.valueStateText)}`}function q5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>FR.call(this,i,e,t,o,r))}`}function FR(i,e,t,o,r){return w`${a(o)}`}const VR=/[[\]{}()*+?.\\^$|]/g,zR=i=>i.replace(VR,"\\$&"),xv=(i,e,t)=>{const o=new RegExp(`(^|\\s)${zR(i.toLowerCase())}.*`,"g");return e.filter(r=>{const n=r[t];return o.lastIndex=0,o.test(n.toLowerCase())})},Z_=(i,e,t)=>e.filter(o=>o[t].toLowerCase().startsWith(i.toLowerCase())),HR=(i,e,t)=>e.filter(o=>o[t].toLowerCase().includes(i.toLowerCase())),UR=(i,e)=>e,KT=Object.freeze(Object.defineProperty({__proto__:null,Contains:HR,None:UR,StartsWith:Z_,StartsWithPerTerm:xv},Symbol.toStringTag,{value:"Module"}));V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const qR={packageName:"@ui5/webcomponents",fileName:"themes/Input.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Za={packageName:"@ui5/webcomponents",fileName:"themes/ValueStateMessage.css.ts",content:`.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_width);height:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_height);display:var(--_ui5-v1-22-1-rc-0_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_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:"72override",var(--sapFontFamily);height:auto;padding:var(--_ui5-v1-22-1-rc-0_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v1-22-1-rc-0_value_state_message_border);line-height:var(--_ui5-v1-22-1-rc-0_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:2rem}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v1-22-1-rc-0_value_state_header_padding);border:var(--_ui5-v1-22-1-rc-0_value_state_header_border);border-bottom:var(--_ui5-v1-22-1-rc-0_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[focused],.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0}.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-v1-22-1-rc-0_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v1-22-1-rc-0_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} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Q_={packageName:"@ui5/webcomponents",fileName:"themes/Suggestions.css.ts",content:`.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}.ui5-suggestions-popover [ui5-li]::part(icon),.ui5-suggestions-popover [ui5-li-suggestion-item]::part(icon){color:var(--sapList_TextColor)}.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} -`};var Fe=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},_i,$a;(function(i){i.CHANGE="change",i.INPUT="input",i.SUGGESTION_ITEM_SELECT="suggestion-item-select"})($a||($a={}));var v_;(function(i){i.ACTION_ENTER="enter",i.ACTION_USER_INPUT="input"})(v_||(v_={}));let Le=_i=class extends ie{constructor(){super(),this.hasSuggestionItemSelected=!1,this.valueBeforeItemSelection="",this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,this.previousValue="",this.firstRendering=!0,this.typedInValue="",this.lastConfirmedValue="",this.isTyping=!1,this.suggestionObjects=[],this._handleResizeBound=this._handleResize.bind(this),this._keepInnerValue=!1,this._focusedAfterClear=!1}onEnterDOM(){Ce.register(this,this._handleResizeBound),IA(this,this._updateAssociatedLabelsTexts.bind(this))}onExitDOM(){Ce.deregister(this,this._handleResizeBound),SA(this)}onBeforeRendering(){this._keepInnerValue||(this._innerValue=this.value),this.showSuggestions&&(this.enableSuggestions(),this.suggestionObjects=this.Suggestions.defaultSlotProperties(this.typedInValue)),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`),this.FormSupport=ze("FormSupport");const e=!!this.suggestionItems.length,t=!!this.value,o=this.shadowRoot.querySelector("input")===Jl();this._isPhone?this.open=this.openOnMobile:this._forceOpen?this.open=!0:this.open=t&&e&&o&&this.isTyping,this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";');const r=this.value,n=this.getInputDOMRefSync();if(!n||!r)return;const s=n.selectionEnd-n.selectionStart;if(this._shouldAutocomplete&&!Lf()&&!s&&!this._isKeyNavigation){const l=this._getFirstMatchingItem(r);l&&this._handleTypeAhead(l)}}async onAfterRendering(){const e=this.getInputDOMRefSync();this.Suggestions&&this.showSuggestions&&(this.Suggestions.toggle(this.open,{preventFocusRestore:!0}),this._listWidth=await this.Suggestions._getListWidth()),this.shouldDisplayOnlyValueStateMessage?this.openPopover():this.closePopover(),this._performTextSelection&&(e.value!==this._innerValue&&(e.value=this._innerValue),this.typedInValue.length&&this.value.length&&e.setSelectionRange(this.typedInValue.length,this.value.length)),this._performTextSelection=!1}_onkeydown(e){if(this._isKeyNavigation=!0,this._shouldAutocomplete=!this.noTypeahead&&!(Hu(e)||$l(e)||Ni(e)),Xe(e))return this._handleUp(e);if(qe(e))return this._handleDown(e);if(le(e))return this._handleSpace(e);if(Pt(e))return this._handleTab();if(Ie(e))return this._handleEnter(e);if(Li(e))return this._handlePageUp(e);if(eo(e))return this._handlePageDown(e);if(Wt(e))return this._handleHome(e);if(ki(e))return this._handleEnd(e);if(Ni(e))return this._handleEscape();this.showSuggestions&&this._clearPopoverFocusAndSelection(),this._keyDown=!0,this._isKeyNavigation=!1}_onkeyup(e){$l(e)&&(this.value=e.target.value),this._keyDown=!1}_handleUp(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onUp(e)}_handleDown(e){this.Suggestions&&this.Suggestions.isOpened()&&this.Suggestions.onDown(e)}_handleSpace(e){this.Suggestions&&this.Suggestions.onSpace(e)}_handleTab(){this.Suggestions&&this.previousValue!==this.value&&this.Suggestions.onTab()}_handleEnter(e){const t=!!(this.Suggestions&&this.Suggestions.onEnter(e)),o=this.getInputDOMRefSync(),r=this.suggestionItems.find(n=>n.text&&n.text===this.value||n.textContent===this.value);if(r){const n=r.text?r.text:r.textContent||"";o.setSelectionRange(n.length,n.length),t||(this.selectSuggestion(r,!0),this.open=!1)}if(this._isPhone&&!this.suggestionItems.length&&!this.isTypeNumber&&o.setSelectionRange(this.value.length,this.value.length),!t){this.lastConfirmedValue=this.value,this.FormSupport&&this.FormSupport.triggerFormSubmit(this);return}this.focused=!0}_handlePageUp(e){this._isSuggestionsFocused?this.Suggestions.onPageUp(e):e.preventDefault()}_handlePageDown(e){this._isSuggestionsFocused?this.Suggestions.onPageDown(e):e.preventDefault()}_handleHome(e){this._isSuggestionsFocused&&this.Suggestions.onHome(e)}_handleEnd(e){this._isSuggestionsFocused&&this.Suggestions.onEnd(e)}_handleEscape(){const t=this.showSuggestions&&!!this.Suggestions&&this.open,o=this.getInputDOMRefSync(),r=o.selectionEnd-o.selectionStart>0;if(this.isTyping=!1,!t){this.value=this.lastConfirmedValue?this.lastConfirmedValue:this.previousValue;return}if(t&&this.Suggestions._isItemOnTarget()){this.value=this.typedInValue||this.valueBeforeItemPreview,this.suggestionSelectionCancelled=!0,this.focused=!0;return}r&&(this.value=this.typedInValue),this._isValueStateFocused&&(this._isValueStateFocused=!1,this.focused=!0)}async _onfocusin(e){await this.getInputDOMRef(),this.focused=!0,this._focusedAfterClear||(this.previousValue=this.value),this.valueBeforeItemPreview=this.value,this._inputIconFocused=!!e.target&&e.target===this.querySelector("[ui5-icon]"),this._focusedAfterClear=!1}innerFocusIn(){}_onfocusout(e){const t=e.relatedTarget,o=this.Suggestions&&t&&t.shadowRoot&&t.shadowRoot.contains(this.Suggestions.responsivePopover),r=t&&t.shadowRoot&&t.shadowRoot.querySelector(".ui5-valuestatemessage-root");if(this._keepInnerValue=!1,this.showClearIcon&&!this._effectiveShowClearIcon&&(this._clearIconClicked=!1,this._handleChange()),o||r){e.stopImmediatePropagation();return}t&&t.classList.contains(this._id)||(this.open=!1,this._clearPopoverFocusAndSelection(),this._clearIconClicked||(this.previousValue=""),this.lastConfirmedValue="",this.focused=!1,this.isTyping=!1,this._forceOpen=!1)}_clearPopoverFocusAndSelection(){!this.showSuggestions||!this.Suggestions||(this._isValueStateFocused=!1,this.hasSuggestionItemSelected=!1,this.Suggestions._deselectItems(),this.Suggestions._clearItemFocus())}_click(){ue()&&!this.readonly&&this.Suggestions&&(this.blur(),this.openOnMobile=!0)}_handleChange(){if(this._clearIconClicked){this._clearIconClicked=!1;return}this.previousValue!==this.getInputDOMRefSync().value&&(this.fireEvent($a.CHANGE),this.previousValue=this.value,this.typedInValue=this.value)}_clear(){this.value="",this.fireEvent($a.INPUT),this._isPhone||(this.focus(),this._focusedAfterClear=!0)}_iconMouseDown(){this._clearIconClicked=!0}_scroll(e){this.fireEvent("suggestion-scroll",{scrollTop:e.detail.scrollTop,scrollContainer:e.detail.targetRef})}_handleInput(e){const t=this.getInputDOMRefSync(),o=this.value&&this.isTypeNumber&&!t.value,r=e.inputType||e.detail.inputType||"";this._keepInnerValue=!1;const n=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];if(this._shouldAutocomplete=!n.includes(r)&&!this.noTypeahead,this.suggestionSelectionCancelled=!1,e instanceof InputEvent){const s=this.isTypeNumber&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward")&&!e.target.value.includes(".")&&this.value.includes("."),l=o&&e.data==="e",I=o&&this.value.startsWith("-")&&this.value.length===2&&(e.inputType==="deleteContentForward"||e.inputType==="deleteContentBackward");(s||l||I)&&(this.value=e.target.value,this._keepInnerValue=!0)}e.target===t&&(this.focused=!0,e.stopImmediatePropagation()),this.fireEventByAction(v_.ACTION_ENTER,e),this.hasSuggestionItemSelected=!1,this._isValueStateFocused=!1,this.Suggestions&&this.Suggestions.updateSelectedItemPosition(-1),this.isTyping=!0}_startsWithMatchingItems(e){const t=this.suggestionItems[0].text?"text":"textContent";return Z_(e,this.suggestionItems,t)}_getFirstMatchingItem(e){if(!this.suggestionItems.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.groupItem);if(t.length)return t[0]}_handleTypeAhead(e){const t=e.text?e.text:e.textContent||"";this._innerValue=t,this.value=t,this._performTextSelection=!0,this._shouldAutocomplete=!1}_handleResize(){this._inputWidth=this.offsetWidth}_updateAssociatedLabelsTexts(){this._associatedLabelsTexts=j8(this),this._accessibleLabelsRefTexts=U8(this)}_closeRespPopover(){this.Suggestions.close(!0)}async _afterOpenPopover(){ue()&&(await this.getInputDOMRef()).focus()}_afterClosePopover(){this.announceSelectedItem(),ue()&&(this.blur(),this.focused=!1),this.openOnMobile=!1,this.open=!1,this._forceOpen=!1,this.hasSuggestionItemSelected&&this.focus()}isValueStateOpened(){return!!this._isPopoverOpen}async openPopover(){const e=await this._getPopover();e&&(this._isPopoverOpen=!0,e.showAt(this))}async closePopover(){const e=await this._getPopover();e&&e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}openPicker(){!this.suggestionItems.length||this.disabled||this.readonly||(this._forceOpen=!0)}enableSuggestions(){if(this.Suggestions)return;const e=ze("InputSuggestions");if(e)this.Suggestions=new e(this,"suggestionItems",!0,!1);else throw new Error('You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions')}selectSuggestion(e,t){var g;if(e.groupItem)return;const o=this.typedInValue||this.value,r=e.text||e.textContent||"",n=t?this.valueBeforeItemSelection!==r:o!==r;this.hasSuggestionItemSelected=!0;const s=this.value,l=this.valueBeforeItemSelection,I=this.lastConfirmedValue,y=this._performTextSelection,C=this.typedInValue,b=this.previousValue;n&&(this.value=r,this.valueBeforeItemSelection=r,this.lastConfirmedValue=r,this._performTextSelection=!0,this.fireEvent($a.CHANGE),ue()&&this.fireEvent($a.INPUT),this.typedInValue=this.value,this.previousValue=this.value),this.valueBeforeItemPreview="",this.suggestionSelectionCancelled=!1,!this.fireEvent($a.SUGGESTION_ITEM_SELECT,{item:e},!0)&&((g=this.Suggestions)==null||g._clearSelectedSuggestionAndAccInfo(),this.hasSuggestionItemSelected=!1,this.suggestionSelectionCancelled=!0,n&&(r===this.value&&(this.value=s),this.valueBeforeItemSelection=l,this.lastConfirmedValue=I,this._performTextSelection=y,this.typedInValue=C,this.previousValue=b)),this.isTyping=!1,this.openOnMobile=!1,this._forceOpen=!1}previewSuggestion(e){this.valueBeforeItemSelection=this.value,this.updateValueOnPreview(e),this.announceSelectedItem(),this._previewItem=e}updateValueOnPreview(e){const o=e.type==="Inactive"||e.groupItem?this.valueBeforeItemPreview:e.effectiveTitle||e.textContent||"";this.value=o,this._performTextSelection=!0}get previewItem(){return this._previewItem?this.getSuggestionByListItem(this._previewItem):null}async fireEventByAction(e,t){if(this.disabled||this.readonly)return;const o=await this.getInputValue(),r=e===v_.ACTION_ENTER;this.value=o,this.typedInValue=o,this.valueBeforeItemPreview=o,r&&(this.fireEvent($a.INPUT,{inputType:t.inputType}),this.fireEvent("value-changed"))}async getInputValue(){return this.getDomRef()?(await this.getInputDOMRef()).value:""}async getInputDOMRef(){return ue()&&this.Suggestions?(await this.Suggestions._getSuggestionPopover(),this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone")):this.nativeInput}getInputDOMRefSync(){return ue()&&this.Suggestions&&this.Suggestions.responsivePopover?this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input"):this.nativeInput}get nativeInput(){const e=this.getDomRef();return e?e.querySelector("input"):null}get nativeInputWidth(){return this.nativeInput?this.nativeInput.offsetWidth:0}getLabelableElementId(){return this.getInputId()}getSuggestionByListItem(e){const t=parseInt(e.getAttribute("data-ui5-key"));return this.suggestionItems[t]}isSuggestionsScrollable(){return this.Suggestions?this.Suggestions._isScrollable():Promise.resolve(!1)}getInputId(){return`${this._id}-inner`}onItemMouseOver(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseover",{item:o,targetRef:t})}onItemMouseOut(e){const t=e.target,o=this.getSuggestionByListItem(t);o&&o.fireEvent("mouseout",{item:o,targetRef:t})}onItemMouseDown(e){e.preventDefault()}onItemSelected(e,t){this.selectSuggestion(e,t)}onItemPreviewed(e){this.previewSuggestion(e),this.fireEvent("suggestion-item-preview",{item:this.getSuggestionByListItem(e),targetRef:e})}get valueStateTypeMappings(){return{Success:_i.i18nBundle.getText(ac),Information:_i.i18nBundle.getText(sc),Error:_i.i18nBundle.getText(rc),Warning:_i.i18nBundle.getText(nc)}}valueStateTextMappings(){return{Success:_i.i18nBundle.getText(In),Information:_i.i18nBundle.getText(Jn),Error:_i.i18nBundle.getText(Tn),Warning:_i.i18nBundle.getText(Cn)}}announceSelectedItem(){const e=this.shadowRoot.querySelector(`[id="${this._id}-selectionText"]`);e.textContent=this.itemSelectionAnnounce}get _readonly(){return this.readonly&&!this.disabled}get _headerTitleText(){return _i.i18nBundle.getText(oc)}get clearIconAccessibleName(){return _i.i18nBundle.getText(F_)}get inputType(){return this.type.toLowerCase()}get isTypeNumber(){return this.type===Rl.Number}get suggestionsTextId(){return this.showSuggestions?`${this._id}-suggestionsText`:""}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:""}get accInfo(){const e=this.showSuggestions?"true":void 0,t=this.showSuggestions?"list":void 0,o=this._inputAccInfo.ariaDescribedBy?`${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim():`${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{ariaRoledescription:this._inputAccInfo&&(this._inputAccInfo.ariaRoledescription||void 0),ariaDescribedBy:o||void 0,ariaInvalid:this.valueState===W.Error?"true":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._inputAccInfo&&this._inputAccInfo.ariaDescription,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!==W.None?this.valueStateTypeMappings[this.valueState]:"";return this.shouldDisplayDefaultValueStateMessage?this.valueStateText?`${e} ${this.valueStateText}`:e:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get itemSelectionAnnounce(){return this.Suggestions?this.Suggestions.itemSelectionAnnounce:""}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===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{"max-width":this._inputWidth?`${this._inputWidth}px`:""},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:this._listWidth?`${this._listWidth}px`:""},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 valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayOnlyValueStateMessage(){return this.hasValueStateMessage&&!this.readonly&&!this.open&&this.focused}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get hasValueState(){return this.valueState!==W.None}get hasValueStateMessage(){return this.hasValueState&&this.valueState!==W.Success&&(!this._inputIconFocused||!!(this._isPhone&&this.Suggestions))}get valueStateText(){return this.valueState!==W.None?this.valueStateTextMappings()[this.valueState]:void 0}get suggestionsText(){return _i.i18nBundle.getText(X3)}get availableSuggestionsCount(){if(this.showSuggestions&&(this.value||this.Suggestions.isOpened())){const e=this.suggestionObjects.filter(t=>!t.groupItem);switch(e.length){case 0:return _i.i18nBundle.getText(J3);case 1:return _i.i18nBundle.getText(Z3);default:return _i.i18nBundle.getText(Q3,e.length)}}}get step(){return this.isTypeNumber?"any":void 0}get _isPhone(){return ue()}get _isSuggestionsFocused(){return!this.focused&&this.Suggestions&&this.Suggestions.isOpened()}get _placeholder(){return this.placeholder}get _valueStateInputIcon(){const e={Error:'',Warning:'',Success:'',Information:''};return this.valueState!==W.None?` - - ${e[this.valueState]}; - - `:""}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}getCaretPosition(){return fR(this.nativeInput)}setCaretPosition(e){vR(this.nativeInput,e)}removeFractionalPart(e){return e.includes(".")?e.slice(0,e.indexOf(".")):e.includes(",")?e.slice(0,e.indexOf(",")):e}static async onDefine(){const e=ze("InputSuggestions");[_i.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),e?e.init():Promise.resolve()])}};Fe([A({type:Boolean})],Le.prototype,"disabled",void 0);Fe([A({type:Boolean})],Le.prototype,"highlight",void 0);Fe([A()],Le.prototype,"placeholder",void 0);Fe([A({type:Boolean})],Le.prototype,"readonly",void 0);Fe([A({type:Boolean})],Le.prototype,"required",void 0);Fe([A({type:Boolean})],Le.prototype,"noTypeahead",void 0);Fe([A({type:Rl,defaultValue:Rl.Text})],Le.prototype,"type",void 0);Fe([A()],Le.prototype,"value",void 0);Fe([A({noAttribute:!0})],Le.prototype,"_innerValue",void 0);Fe([A({type:W,defaultValue:W.None})],Le.prototype,"valueState",void 0);Fe([A()],Le.prototype,"name",void 0);Fe([A({type:Boolean})],Le.prototype,"showSuggestions",void 0);Fe([A({validator:ae})],Le.prototype,"maxlength",void 0);Fe([A()],Le.prototype,"accessibleName",void 0);Fe([A({defaultValue:""})],Le.prototype,"accessibleNameRef",void 0);Fe([A({type:Boolean})],Le.prototype,"showClearIcon",void 0);Fe([A({type:Boolean})],Le.prototype,"_effectiveShowClearIcon",void 0);Fe([A({type:Boolean})],Le.prototype,"focused",void 0);Fe([A({type:Boolean})],Le.prototype,"openOnMobile",void 0);Fe([A({type:Boolean})],Le.prototype,"open",void 0);Fe([A({type:Boolean})],Le.prototype,"_forceOpen",void 0);Fe([A({type:Boolean})],Le.prototype,"_isValueStateFocused",void 0);Fe([A({type:Object,noAttribute:!0})],Le.prototype,"_inputAccInfo",void 0);Fe([A({type:Object,noAttribute:!0})],Le.prototype,"_nativeInputAttributes",void 0);Fe([A({validator:ae})],Le.prototype,"_inputWidth",void 0);Fe([A({validator:ae})],Le.prototype,"_listWidth",void 0);Fe([A({type:Boolean,noAttribute:!0})],Le.prototype,"_isPopoverOpen",void 0);Fe([A({type:Boolean,noAttribute:!0})],Le.prototype,"_inputIconFocused",void 0);Fe([A({type:String,noAttribute:!0,defaultValue:void 0})],Le.prototype,"_associatedLabelsTexts",void 0);Fe([A({type:String,noAttribute:!0,defaultValue:void 0})],Le.prototype,"_accessibleLabelsRefTexts",void 0);Fe([Z({type:HTMLElement,default:!0})],Le.prototype,"suggestionItems",void 0);Fe([Z()],Le.prototype,"icon",void 0);Fe([Z()],Le.prototype,"formSupport",void 0);Fe([Z({type:HTMLElement,invalidateOnChildChange:!0,cloned:!0})],Le.prototype,"valueStateMessage",void 0);Le=_i=Fe([K({tag:"ui5-input",languageAware:!0,renderer:de,template:SR,staticAreaTemplate:DR,styles:qR,staticAreaStyles:[Vr,Za,Q_],get dependencies(){const i=ze("InputSuggestions");return[Vi,Be].concat(i?i.dependencies:[])}}),q("change"),q("input"),q("suggestion-item-select",{detail:{item:{type:HTMLElement}}}),q("suggestion-item-preview",{detail:{item:{type:HTMLElement},targetRef:{type:HTMLElement}}}),q("suggestion-scroll",{detail:{scrollTop:{type:ae},scrollContainer:{type:HTMLElement}}})],Le);Le.define();const xr=Le,WR="direction-arrows",ZT="M507 244q5 5 5 12 0 6-5 11L394 379q-5 5-12 5-6 0-11-5t-5-11V144q0-12 10-15 2-1 6-1 8 0 12 4zM135 129q10 3 10 15v224q0 6-4.5 11t-11.5 5q-6 0-11-5L5 267q-5-5-5-11 0-7 5-12l113-112q4-4 11-4 4 0 6 1z",jR=!1,GR="SAP-icons-v4",YR="@ui5/webcomponents-icons";ee(WR,{pathData:ZT,ltr:jR,collection:GR,packageName:YR});const XR="direction-arrows",QT="M135 128q11 0 18 7.5t7 18.5v204q0 11-8 18.5t-18 7.5-17-7L8 275q-8-8-8-19t8-19l109-102q7-7 18-7zm369 109q8 8 8 19t-8 19L395 377q-7 7-17 7t-18-7.5-8-18.5V154q0-12 8-19t19-7q9 0 16 7z",KR=!1,ZR="SAP-icons-v5",QR="@ui5/webcomponents-icons";ee(XR,{pathData:QT,ltr:KR,collection:ZR,packageName:QR});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const JR={packageName:"@ui5/webcomponents",fileName:"themes/SliderBase.css.ts",content:`.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([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_slider_disabled_opacity);cursor:default;pointer-events:none}:host{box-sizing:border-box;cursor:pointer;vertical-align:top;width:100%}:host(:not([hidden])){display:inline-block}.ui5-slider-root{box-sizing:border-box;height:3.3125rem;outline:none;padding:var(--_ui5-v1-22-1-rc-0_slider_padding);touch-action:none}.ui5-slider-inner{background-repeat:no-repeat;position:relative;min-width:var(--_ui5-v1-22-1-rc-0_slider_inner_min_width);height:100%}.ui5-slider-progress-container{width:100%;background:var(--_ui5-v1-22-1-rc-0_slider_progress_container_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_inner_height);position:relative;box-sizing:var(--_ui5-v1-22-1-rc-0_slider_progress_box_sizing);top:var(--_ui5-v1-22-1-rc-0_slider_progress_container_top)}.ui5-slider-progress-container:before,.ui5-slider-progress-container:after{display:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_display);content:"";position:absolute;border-radius:50%;width:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);height:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);top:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_top)}.ui5-slider-progress-container:before{inset-inline-start:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_before_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_before_border)}.ui5-slider-progress-container:after{inset-inline-end:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_after_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_after_border)}.ui5-slider-progress{background:var(--_ui5-v1-22-1-rc-0_slider_progress_background);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_progress_height);position:relative;outline:none;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_slider_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_active_progress_top)}.ui5-slider-tickmarks{list-style:none;padding:0;margin:0;top:var(--_ui5-v1-22-1-rc-0_slider_tickmark_top);display:flex;box-sizing:border-box;width:100%;justify-content:space-between;position:absolute;z-index:1}.ui5-slider-tickmarks li{height:var(--_ui5-v1-22-1-rc-0_slider_tickmark_height);border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_bg)}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_slider_handle_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2);top:var(--_ui5-v1-22-1-rc-0_slider_handle_top);position:absolute;outline:none;height:var(--_ui5-v1-22-1-rc-0_slider_handle_height);width:var(--_ui5-v1-22-1-rc-0_slider_handle_width);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_handle_box_sizing);display:flex;justify-content:center;align-items:center;z-index:2}[slider-icon]{display:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_display);color:var(--sapContent_Selected_ForegroundColor);width:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size);height:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size)}.ui5-slider-root .ui5-slider-handle:focus [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_border)}.ui5-slider-root:focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-handle:focus{outline:var(--_ui5-v1-22-1-rc-0_slider_handle_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_slider_handle_outline_offset);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);background:var(--_ui5-v1-22-1-rc-0_slider_handle_background_focus)}.ui5-slider-handle.ui5-slider-handle--start:focus,.ui5-slider-handle--end:focus{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-root:focus:hover .ui5-slider-handle,.ui5-slider-handle:focus:hover{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-tooltip{display:flex;justify-content:center;align-items:center;visibility:hidden;pointer-events:none;line-height:1rem;position:absolute;left:50%;transform:translate(-50%);bottom:var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom);background:var(--_ui5-v1-22-1-rc-0_slider_tooltip_background);border:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_slider_tooltip_box_shadow);font-size:var(--_ui5-v1-22-1-rc-0_slider_tooltip_fontsize);color:var(--_ui5-v1-22-1-rc-0_slider_tooltip_color);height:var(--_ui5-v1-22-1-rc-0_slider_tooltip_height);min-width:var(--_ui5-v1-22-1-rc-0_slider_tooltip_min_width);padding:var(--_ui5-v1-22-1-rc-0_slider_tooltip_padding);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_box)}.ui5-slider-tooltip-value{position:relative;display:flex;justify-content:center;align-items:center}.ui5-slider-labels{position:absolute;top:1.25rem;margin:0;padding:0;white-space:nowrap}.ui5-slider-labels li{position:relative;list-style:none;padding-top:.3125rem;height:1rem;margin:0;text-align:center;display:inline-block;color:var(--_ui5-v1-22-1-rc-0_slider_label_color);font-size:var(--_ui5-v1-22-1-rc-0_slider_label_fontsize);padding-top:0;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;vertical-align:top}.ui5-slider-hidden-labels li:not(:first-child):not(:last-child){visibility:hidden}.ui5-slider-handle:focus .ui5-slider-tooltip{bottom:var(--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance)}.ui5-slider-tickmarks li.ui5-slider-tickmark-in-range{border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_in_range_bg)}:host([show-tickmarks]) .ui5-slider-progress{height:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_height);border:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_top)}:host([show-tickmarks]) .ui5-slider-progress-container{top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_container_top)}.ui5-slider-handle:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_visibility);width:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);height:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);border:var(--sapContent_FocusWidth) dotted var(--sapContent_FocusColor);position:absolute;border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);pointer-events:none} -`};var cr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},mr;let io=mr=class extends ie{constructor(){super(),this.notResized=!1,this._isUserInteraction=!1,this._isInnerElementFocusing=!1,this._labelWidth=0,this._resizeHandler=this._handleResize.bind(this),this._moveHandler=this._handleMove.bind(this),this._upHandler=this._handleUp.bind(this),this._stateStorage={step:void 0,min:void 0,max:void 0,labelInterval:void 0};const e=t=>{this._onmousedown(t)};this._ontouchstart={handleEvent:e,passive:!0}}_handleMove(e){}_handleUp(){}_onmousedown(e){}_handleActionKeyPress(e){}static get ACTION_KEYS(){return[Ct,_t,Xe,qe,Cl,Os,Fn,Vn,F2,V2,Wt,ki,Li,eo,Ni]}static get MIN_SPACE_BETWEEN_TICKMARKS(){return 8}static get TOOLTIP_VISIBILITY(){return{VISIBLE:"visible",HIDDEN:"hidden"}}static get render(){return de}static get styles(){return JR}get classes(){return{root:{"ui5-slider-root-phone":ue()},labelContainer:{"ui5-slider-hidden-labels":this._labelsOverlapping}}}onEnterDOM(){Ce.register(this,this._resizeHandler)}onExitDOM(){Ce.deregister(this,this._resizeHandler)}onAfterRendering(){this.notResized&&this._resizeHandler()}_onmouseover(){this.showTooltip&&(this._tooltipVisibility=mr.TOOLTIP_VISIBILITY.VISIBLE)}_onmouseout(){this.showTooltip&&!this.shadowRoot.activeElement&&(this._tooltipVisibility=mr.TOOLTIP_VISIBILITY.HIDDEN)}_onkeydown(e){this.disabled||this._effectiveStep===0||mr._isActionKey(e)&&(e.preventDefault(),this._isUserInteraction=!0,this._handleActionKeyPress(e))}_onkeyup(){this.disabled||(this._isUserInteraction=!1)}_preserveFocus(e){this._isInnerElementFocusing=e}_isFocusing(){return this._isInnerElementFocusing}_preventFocusOut(){this.focusInnerElement()}focusInnerElement(){this.focus()}_handleResize(){if(!this.showTickmarks||(this.notResized=!1,this._spaceBetweenTickmarks()o.scrollWidth>o.clientWidth)}handleDownBase(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.getBoundingClientRect(),n=this.directionStart,s=this._effectiveStep,l=mr.getValueFromInteraction(e,s,t,o,r,n);return this._isUserInteraction=!0,window.addEventListener("mouseup",this._upHandler),window.addEventListener("touchend",this._upHandler),au()&&e instanceof TouchEvent?window.addEventListener("touchmove",this._moveHandler):window.addEventListener("mousemove",this._moveHandler),this._handleFocusOnMouseDown(e),l}_handleFocusOnMouseDown(e){const t=this.shadowRoot.activeElement;(!t||t!==e.target)&&(this._preserveFocus(!0),this.focusInnerElement())}handleUpBase(){window.removeEventListener("mouseup",this._upHandler),window.removeEventListener("touchend",this._upHandler),window.removeEventListener("mousemove",this._moveHandler),window.removeEventListener("touchmove",this._moveHandler),this._isUserInteraction=!1,this._preserveFocus(!1)}updateStateStorageAndFireInputEvent(e){this.storePropertyState(e),this._isUserInteraction&&this.fireEvent("input")}static _isActionKey(e){return this.ACTION_KEYS.some(t=>t(e))}static clipValue(e,t,o){return e=Math.min(Math.max(e,t),o),e}static getValueFromInteraction(e,t,o,r,n,s){const l=this.getPageXValueFromEvent(e),I=this.computedValueFromPageX(l,o,r,n,s),y=this.getSteppedValue(I,t,o);return this.clipValue(y,o,r)}static getSteppedValue(e,t,o){const r=Math.abs((e-o)%t);if(t===0||r===0)return e;e=r*2>=t?e+t-r:e-r;const n=mr._getDecimalPrecisionOfNumber(t);return Number(e.toFixed(n))}static getPageXValueFromEvent(e){return au()&&e instanceof TouchEvent?e.targetTouches&&e.targetTouches.length>0?e.targetTouches[0].pageX:0:e.pageX}static computedValueFromPageX(e,t,o,r,n){const l=(n==="left"?e-r[n]:r[n]-e)/r.width;return t+l*(o-t)}static _getDecimalPrecisionOfNumber(e){if(Number.isInteger(e))return 0;const t=String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return!t||t.length<2?0:Math.max(0,(t[1]?t[1].length:0)-(t[2]?Number(t[2]):0))}isCurrentStateOutdated(){return Object.entries(this._stateStorage).some(([e,t])=>this[e]!==t)}getStoredPropertyState(e){return this._stateStorage[e]}isPropertyUpdated(...e){return e.some(t=>this.getStoredPropertyState(t)!==this[t])}storePropertyState(...e){e.forEach(t=>{this._stateStorage[t]=this[t]})}get directionStart(){return this.effectiveDir==="rtl"?"right":"left"}_createLabels(){if(!this.labelInterval||!this.showTickmarks)return;const e=this.labelInterval,t=this._effectiveStep,o=(this._effectiveMax-this._effectiveMin)/(t*e);if(o===this._oldNumberOfLabels&&this._oldMin===this._effectiveMin&&this._oldMax===this._effectiveMax)return;this._oldMin=this._effectiveMin,this._oldMax=this._effectiveMax,this._oldNumberOfLabels=o,this._labelWidth=100/o,this._labelValues=[];const r=mr._getDecimalPrecisionOfNumber(t);for(let n=0;n<=o;n++){const s=(n*t*e+this._effectiveMin).toFixed(r);this._labelValues.push(s)}}_handleActionKeyPressBase(e,t){const o=mr._isIncreaseValueAction(e),r=mr._isBigStepAction(e),n=this[t],s=this._effectiveMin,l=this._effectiveMax;let I=this.effectiveDir==="rtl"?-this._effectiveStep:this._effectiveStep;return I=r&&(l-s)/I>10?(l-s)/10:I,ki(e)?l-n:Wt(e)?(n-s)*-1:o?I:I*-1}static _isDecreaseValueAction(e){return qe(e)||Vn(e)||Ct(e)||Cl(e)||V2(e)||eo(e)}static _isIncreaseValueAction(e){return Xe(e)||Fn(e)||_t(e)||Os(e)||F2(e)||Li(e)}static _isBigStepAction(e){return Vn(e)||Fn(e)||Cl(e)||Os(e)||Li(e)||eo(e)}get _tickmarksCount(){return(this._effectiveMax-this._effectiveMin)/this._effectiveStep}_spaceBetweenTickmarks(){return this.getBoundingClientRect().width/this._tickmarksCount}_validateStep(e){e===0&&console.warn("The 'step' property must be a positive float number"),e<0&&console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"),Number.isNaN(e)&&console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1")}get _labels(){return this._labelValues||[]}get _effectiveStep(){let e=this.step;return e<0&&(e=Math.abs(e)),Number.isNaN(e)&&(e=1),e}get _effectiveMin(){return Math.min(this.min,this.max)}get _effectiveMax(){return Math.max(this.min,this.max)}get _tabIndex(){return this.disabled?"-1":"0"}get _ariaLabelledByHandleRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}};cr([A({validator:Zt,defaultValue:0})],io.prototype,"min",void 0);cr([A({validator:Zt,defaultValue:100})],io.prototype,"max",void 0);cr([A({validator:Zt,defaultValue:1})],io.prototype,"step",void 0);cr([A({validator:ae,defaultValue:0})],io.prototype,"labelInterval",void 0);cr([A({type:Boolean})],io.prototype,"showTickmarks",void 0);cr([A({type:Boolean})],io.prototype,"showTooltip",void 0);cr([A({type:Boolean})],io.prototype,"disabled",void 0);cr([A()],io.prototype,"accessibleName",void 0);cr([A({defaultValue:"hidden"})],io.prototype,"_tooltipVisibility",void 0);cr([A({type:Boolean})],io.prototype,"_labelsOverlapping",void 0);cr([A({type:Boolean})],io.prototype,"_hiddenTickmarks",void 0);io=mr=cr([q("change"),q("input")],io);const an=io;function eL(i,e,t){return t?w`
    ${this.step?W5.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} name="direction-arrows" part="icon-slider" slider-icon>${this.showTooltip?j5.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:w`
    ${this.step?W5.call(this,i,e,t):void 0}
    ${this.showTooltip?j5.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function W5(i,e,t){return w`${this.showTickmarks?tL.call(this,i,e,t):void 0}`}function tL(i,e,t){return w`
      ${X(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>iL.call(this,i,e,t,o,r))}
    ${this.labelInterval?nL.call(this,i,e,t):void 0}`}function iL(i,e,t,o,r){return w`${o?oL.call(this,i,e,t,o,r):rL.call(this,i,e,t,o,r)}`}function oL(i,e,t,o,r){return w`
  • `}function rL(i,e,t,o,r){return w`
  • `}function nL(i,e,t){return w`
      ${X(this._labels,(o,r)=>o._id||r,(o,r)=>aL.call(this,i,e,t,o,r))}
    `}function aL(i,e,t,o,r){return w`
  • ${a(o)}
  • `}function j5(i,e,t){return w`
    ${a(this.tooltipValue)}
    `}var JT=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Vd;let mu=Vd=class extends an{constructor(){super(),this._progressPercentage=0,this._handlePositionFromStart=0,this._stateStorage.value=void 0}onBeforeRendering(){this.isCurrentStateOutdated()&&(this.notResized=!0,this.syncUIAndState(),this._updateHandleAndProgress(this.value))}syncUIAndState(){this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","value")&&(this.storePropertyState("min","max"),this.value=an.clipValue(this.value,this._effectiveMin,this._effectiveMax),this.updateStateStorageAndFireInputEvent("value"),this.storePropertyState("value")),this.labelInterval&&this.showTickmarks&&this._createLabels(),this.isPropertyUpdated("labelInterval")&&this.storePropertyState("labelInterval")}_onmousedown(e){if(this.disabled||this.step===0)return;const t=this.handleDownBase(e);this._valueOnInteractionStart=this.value,this._valueInitial===void 0&&(this._valueInitial=this.value);const o=this.constructor;this._isHandlePressed(o.getPageXValueFromEvent(e))||(this._updateHandleAndProgress(t),this.value=t,this.updateStateStorageAndFireInputEvent("value"))}_onfocusin(){this._valueInitial===void 0&&(this._valueInitial=this.value),this.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._valueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.HIDDEN)}_handleMove(e){if(e.preventDefault(),this.disabled||this._effectiveStep===0)return;const o=this.constructor.getValueFromInteraction(e,this._effectiveStep,this._effectiveMin,this._effectiveMax,this.getBoundingClientRect(),this.directionStart);this._updateHandleAndProgress(o),this.value=o,this.updateStateStorageAndFireInputEvent("value")}_handleUp(){this._valueOnInteractionStart!==this.value&&this.fireEvent("change"),this.handleUpBase(),this._valueOnInteractionStart=void 0}_isHandlePressed(e){const t=this._sliderHandle.getBoundingClientRect();return e>=t.left&&e<=t.right}_updateHandleAndProgress(e){const t=this._effectiveMax,o=this._effectiveMin;this._progressPercentage=(e-o)/(t-o),this._handlePositionFromStart=this._progressPercentage*100}_handleActionKeyPress(e){const t=this._effectiveMin,o=this._effectiveMax,r=this.value,n=this.constructor,s=Ni(e)?this._valueInitial:n.clipValue(this._handleActionKeyPressBase(e,"value")+r,t,o);s!==r&&(this._updateHandleAndProgress(s),this.value=s,this.updateStateStorageAndFireInputEvent("value"))}get styles(){return{progress:{transform:`scaleX(${this._progressPercentage})`,"transform-origin":`${this.directionStart} top`},handle:{[this.directionStart]:`${this._handlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}get _sliderHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle")}get tooltipValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.value.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return Vd.i18nBundle.getText(E4)}static async onDefine(){Vd.i18nBundle=await fe("@ui5/webcomponents")}get tickmarksObject(){const e=this._tickmarksCount,t=[];if(this._hiddenTickmarks)return[!0,!1];for(let o=0;o<=e;o++)t.push(this._effectiveMin+o*this.step<=this.value);return t}};JT([A({validator:Zt,defaultValue:0})],mu.prototype,"value",void 0);mu=Vd=JT([K({tag:"ui5-slider",languageAware:!0,template:eL,dependencies:[Be]})],mu);mu.define();const sL=mu;V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const lL={packageName:"@ui5/webcomponents",fileName:"themes/ColorPicker.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-color-picker-root{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.ui5-color-picker-main-color{width:16rem;height:16rem;position:relative;margin-bottom:1.5rem;border:1px solid var(--sapContent_ForegroundBorderColor);background-size:100%;background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0)),-webkit-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0)),-moz-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:linear-gradient(left,#000,#0000),linear-gradient(top,#fff0,#fff);background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-webkit-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-moz-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:linear-gradient(left,#000,#0000,#fff),linear-gradient(top,#80808000,gray);user-select:none;-moz-user-select:none}.ui5-color-picker-circle{position:absolute;box-sizing:border-box;width:13px;height:13px;border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_outer_border);border-radius:.6875rem;pointer-events:none}.ui5-color-picker-circle:after{content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);height:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_border);border-radius:.9375rem;pointer-events:none}.ui5-color-picker-sliders-wrapper{width:calc(100% - 11px);margin-left:-10px}[ui5-slider]{--_ui5-v1-22-1-rc-0_slider_active_progress_border: none;--_ui5-v1-22-1-rc-0_slider_progress_box_sizing: content-box}[ui5-slider]::part(handle){width:.9375rem;height:1.5rem;background:transparent;margin-left:-2px;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top);box-sizing:border-box}[ui5-slider]::part(handle):after{content:"";border:2px solid #fff;display:block;height:1.25rem;border-radius:1rem;width:100%;box-sizing:border-box}[ui5-slider]::part(root-container){padding:1rem 0}[ui5-slider]::part(progress-container){width:calc(100% + 11px);height:18px;position:absolute;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top);border-radius:0;border:1px solid var(--sapField_BorderColor)}[ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-size:100%;background-image:-webkit-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(left,red,#ff0,#0f0,#0ff,#00f,#f0f,red);background-color:none}[ui5-slider].ui5-color-picker-alpha-slider::part(progress-container){background-image:-webkit-linear-gradient(left,rgba(65,120,13,0),var(--ui5-v1-22-1-rc-0_Color_Picker_Progress_Container_Color)),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}[ui5-slider]::part(progress-bar){background:transparent}.ui5-color-picker-current-color{width:100%;display:flex;justify-content:space-around;align-items:center}.ui5-color-picker-colors-wrapper{display:flex;flex-wrap:nowrap;height:1.5rem;border:1px solid var(--sapField_BorderColor)}.ui5-color-picker-white,.ui5-color-picker-color{width:3.1rem;background:#fff;display:block}.ui5-color-picker-color{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}.ui5-color-picker-color-inner{width:100%;height:100%}.ui5-color-picker-hex-input-wrapper{display:flex;align-items:center;flex-wrap:nowrap}.ui5-color-picker-hex-input{width:4.5rem;min-width:4.5rem;margin-left:.2rem}.ui5-color-picker-rgb-wrapper{display:flex;justify-content:space-around;width:100%}.ui5-color-picker-rgb{display:flex;flex-direction:column;align-items:center;margin-top:1rem}.ui5-color-picker-rgb-input{width:2.5rem;min-width:2.5rem;text-align:center}.ui5-color-picker-hue-slider::part(progress-container):before,.ui5-color-picker-alpha-slider::part(progress-container):before,.ui5-color-picker-hue-slider::part(progress-container):after,.ui5-color-picker-alpha-slider::part(progress-container):after,[ui5-slider].ui5-color-picker-hue-slider::part(icon-slider),[ui5-slider].ui5-color-picker-alpha-slider::part(icon-slider){display:none}.ui5-color-picker-alpha-slider::part(handle),.ui5-color-picker-hue-slider::part(handle){box-shadow:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_box_shadow);border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_border)}.ui5-color-picker-alpha-slider::part(handle):hover,.ui5-color-picker-hue-slider::part(handle):hover{border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_hover)}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{outline:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_focus);outline-offset:.0625rem}.ui5-color-picker-alpha-slider::part(handle):focus:before,.ui5-color-picker-hue-slider::part(handle):focus:before{content:"";border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_inline_focus);display:block;height:1.625rem;border-radius:1rem;width:1.05rem;box-sizing:border-box;position:absolute;inset:-3px -3px 2px}.ui5-color-picker-alpha-slider::part(handle):before,.ui5-color-picker-hue-slider::part(handle):before{display:none}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_focus_margin_top)}[dir=rtl] [ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-image:-webkit-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}[dir=rtl] .ui5-color-picker-alpha-slider::part(handle),[dir=rtl] .ui5-color-picker-hue-slider::part(handle){--_ui5-v1-22-1-rc-0_slider_handle_margin_left: 0}[dir=rtl] .ui5-color-picker-sliders-wrapper{margin-left:10px} -`};var zr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Zr;const fa=6.5;let oo=Zr=class extends ie{static async onDefine(){Zr.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super(),this._selectedCoordinates={x:256-fa,y:256-fa},this._mainColor={r:255,g:0,b:0},this.selectedHue=0,this.mouseDown=!1,this.mouseIn=!1}onBeforeRendering(){this._color=uR(this.color);const e=`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, 1)`;this._setHex(),this._setValues(),this.style.setProperty(Po("--ui5_Color_Picker_Progress_Container_Color"),e)}_handleMouseDown(e){this.mouseDown=!0,this.mouseIn=!0,this._changeSelectedColor(e.offsetX,e.offsetY)}_handleMouseUp(){this.mouseDown=!1}_handleMouseOut(e){if(!this.mouseIn||!this.mouseDown)return;const t=e.target,o=t.offsetHeight,r=t.offsetWidth,n=e.offsetX<=0,s=e.offsetY<=0,l=e.offsetY>=t.offsetHeight,I=e.offsetX>=t.offsetWidth;let y,C;n?y=0:I?y=r:y=e.offsetX,s?C=0:l?C=o:C=e.offsetY,this._changeSelectedColor(y,C),this.mouseIn=!1,this.mouseDown=!1}_handleMouseMove(e){!this.mouseDown||!this.mouseIn||this._changeSelectedColor(e.offsetX,e.offsetY)}_handleAlphaInput(e){const t=e.target.value;this._alpha=parseFloat(t),this._setColor(this._color)}_handleHueInput(e){this.selectedHue=e.target.value,this._hue=this.selectedHue,this._setMainColor(this._hue),this._isHueValueChanged=!0;const t=this._selectedCoordinates.x+fa,o=this._selectedCoordinates.y+fa,r=this._calculateColorFromCoordinates(t,o);r&&this._setColor(P5(r))}_handleHEXChange(e){const t=new RegExp("^[<0-9 abcdef]+$"),o=e.target;let r=o.value.toLowerCase();r.length===3&&(r=`${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`);const n=r.length===6&&t.test(r);n&&o.value!==r&&(this._wrongHEX=!1,o.value=r),r!==this.hex&&(this.hex=r,n?(this._wrongHEX=!1,this._setColor(GT(this.hex))):this._wrongHEX=!0)}_handleRGBInputsChange(e){const t=e.target,o=parseInt(t.value)||0;let r;switch(t.id){case"red":r={...this._color,r:o};break;case"green":r={...this._color,g:o};break;case"blue":r={...this._color,b:o};break;default:r={...this._color}}this._setColor(r)}_setMainColor(e){e<=255?this._mainColor={r:255,g:e,b:0}:e<=510?this._mainColor={r:255-(e-255),g:255,b:0}:e<=765?this._mainColor={r:0,g:255,b:e-510}:e<=1020?this._mainColor={r:0,g:765-(e-255),b:255}:e<=1275?this._mainColor={r:e-1020,g:0,b:255}:this._mainColor={r:255,g:0,b:1275-(e-255)}}_handleAlphaChange(){this._alpha=this._alpha<0?0:this._alpha,this._alpha=this._alpha>1?1:this._alpha}_changeSelectedColor(e,t){this._selectedCoordinates={x:e-fa,y:t-fa},this._isSelectedColorChanged=!0;const o=this._calculateColorFromCoordinates(e,t);o&&this._setColor(P5(o))}_onkeydown(e){Ie(e)&&this._handleHEXChange(e)}_calculateColorFromCoordinates(e,t){const o=this._hue/4.251,r=1-+(Math.round(parseFloat(t/256+"e+2"))+"e-2"),n=+(Math.round(parseFloat(e/256+"e+2"))+"e-2");if(!(!r||!n))return{h:o,s:r,l:n}}_setColor(e={r:0,g:0,b:0}){this.color=`rgba(${e.r}, ${e.g}, ${e.b}, ${this._alpha})`,this._wrongHEX=!this.isValidRGBColor(e),this.fireEvent("change")}isValidRGBColor(e){return e.r>=0&&e.r<=255&&e.g>=0&&e.g<=255&&e.b>=0&&e.b<=255}_setHex(){let e=this._color.r.toString(16),t=this._color.g.toString(16),o=this._color.b.toString(16);e.length===1&&(e=`0${e}`),t.length===1&&(t=`0${t}`),o.length===1&&(o=`0${o}`),this.hex=e+t+o}_setValues(){const e=hR(this._color);this._selectedCoordinates={x:Math.round(e.l*100)*2.56-fa,y:256-Math.round(e.s*100)*2.56-fa},this._isSelectedColorChanged?this._isSelectedColorChanged=!1:this._isHueValueChanged?(this._isHueValueChanged=!1,this._hue=this.selectedHue?this.selectedHue:this._hue):this._hue=Math.round(e.h*4.25),this._setMainColor(this._hue)}get hueSliderLabel(){return Zr.i18nBundle.getText(O3)}get alphaSliderLabel(){return Zr.i18nBundle.getText(P3)}get hexInputLabel(){return Zr.i18nBundle.getText(B3)}get redInputLabel(){return Zr.i18nBundle.getText(R3)}get greenInputLabel(){return Zr.i18nBundle.getText(L3)}get blueInputLabel(){return Zr.i18nBundle.getText(N3)}get alphaInputLabel(){return Zr.i18nBundle.getText(M3)}get inputsDisabled(){return this._wrongHEX?!0:void 0}get hexInputErrorState(){return this._wrongHEX?"Error":void 0}get styles(){return{mainColor:{"background-color":`rgb(${this._mainColor.r}, ${this._mainColor.g}, ${this._mainColor.b})`},circle:{left:`${this._selectedCoordinates.x}px`,top:`${this._selectedCoordinates.y}px`},colorSpan:{"background-color":`rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, ${this._alpha})`}}}};zr([A({validator:ed,defaultValue:"rgba(255, 255, 255, 1)"})],oo.prototype,"color",void 0);zr([A({defaultValue:"ffffff",noAttribute:!0})],oo.prototype,"hex",void 0);zr([A({type:Object})],oo.prototype,"_mainColor",void 0);zr([A({type:Object})],oo.prototype,"_color",void 0);zr([A({type:Object})],oo.prototype,"_selectedCoordinates",void 0);zr([A({validator:Zt,defaultValue:1})],oo.prototype,"_alpha",void 0);zr([A({validator:ae,defaultValue:0})],oo.prototype,"_hue",void 0);zr([A({type:Boolean})],oo.prototype,"_isSelectedColorChanged",void 0);zr([A({type:Boolean})],oo.prototype,"_isHueValueChanged",void 0);zr([A({type:Boolean})],oo.prototype,"_wrongHEX",void 0);oo=Zr=zr([K({tag:"ui5-color-picker",renderer:de,styles:lL,template:pR,dependencies:[xr,sL,ea]}),q("change")],oo);oo.define();const cL=oo;function uL(i,e,t){return w`
    ${this.hasValueState?dL.call(this,i,e,t):void 0}${this._effectiveShowClearIcon?_L.call(this,i,e,t):void 0}${this.icon?hL.call(this,i,e,t):void 0}${this.readonly?void 0:pL.call(this,i,e,t)}
    `}function dL(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}function _L(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function hL(i,e,t){return w``}function pL(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="slim-arrow-down" slot="icon" tabindex="-1" input-icon ?pressed="${this._iconPressed}" @click="${this._arrowClick}" accessible-name="${a(this._iconAccessibleNameText)}">`:w``}function fL(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} class="${j(this.classes.popover)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${Y(this.styles.suggestionsPopover)}" @ui5-after-open=${a(this._afterOpenPopover)} @ui5-after-close=${a(this._afterClosePopover)}><${D("ui5-busy-indicator",e,t)} ?active=${this.loading} size="Medium" class="ui5-combobox-busy">${this._isPhone?G5.call(this,i,e,t):void 0}${this._isPhone?void 0:Q5.call(this,i,e,t)}<${D("ui5-list",e,t)} class="ui5-combobox-items-list" separators="None" @ui5-item-click=${a(this._selectItem)} @ui5-item-focused=${a(this._onItemFocus)} @mousedown=${this._itemMousedown} mode="SingleSelect">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>t0.call(this,i,e,t,o,r))}${this._isPhone?i0.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?o0.call(this,i,e,t):void 0} `:w`${this._isPhone?G5.call(this,i,e,t):void 0}${this._isPhone?void 0:Q5.call(this,i,e,t)}${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>t0.call(this,i,e,t,o,r))}${this._isPhone?i0.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?o0.call(this,i,e,t):void 0} `}function G5(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${D("ui5-input",e,t)} .value="${a(this.value)}" @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._inputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this.valueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Y5.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?X5.call(this,i,e,t):void 0}`:w`
    ${a(this._headerTitleText)}
    ${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Y5.call(this,i,e,t,o,r))}
    ${this.hasValueStateText?X5.call(this,i,e,t):void 0}`}function Y5(i,e,t,o,r){return t?w`<${D("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:w``}function X5(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?K5.call(this,i,e,t):Z5.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?K5.call(this,i,e,t):Z5.call(this,i,e,t)}
    `}function K5(i,e,t){return w`${a(this.valueStateDefaultText)}`}function Z5(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>vL.call(this,i,e,t,o,r))}`}function vL(i,e,t,o,r){return w`${a(o)}`}function Q5(i,e,t){return w`${this.hasValueStateText?mL.call(this,i,e,t):void 0}`}function mL(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?J5.call(this,i,e,t):e0.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?J5.call(this,i,e,t):e0.call(this,i,e,t)}
    `}function J5(i,e,t){return w`${a(this.valueStateDefaultText)}`}function e0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>gL.call(this,i,e,t,o,r))}`}function gL(i,e,t,o,r){return w`${a(o)}`}function t0(i,e,t,o,r){return w`${o.isGroupItem?bL.call(this,i,e,t,o,r):yL.call(this,i,e,t,o,r)}`}function bL(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} ?focused=${o.focused}>${a(o.text)}`:w`${a(o.text)}`}function yL(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} type="Active" wrapping-type="Normal" additional-text=${a(o.additionalText)} group-name=${a(o.groupName)} ._tabIndex=${a(o.itemTabIndex)} .mappedItem=${a(o)} ?selected=${o.selected} ?focused=${o.focused}>${a(o.text)}`:w`${a(o.text)}`}function i0(i,e,t){return t?w``:w``}function o0(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}" placement-type="Bottom">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?r0.call(this,i,e,t):n0.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?r0.call(this,i,e,t):n0.call(this,i,e,t)}
    `}function r0(i,e,t){return w`${a(this.valueStateDefaultText)}`}function n0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>wL.call(this,i,e,t,o,r))}`}function wL(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const TL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBox.css.ts",content:`: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-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.ui5-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const CL={packageName:"@ui5/webcomponents",fileName:"themes/ComboBoxPopover.css.ts",content:`.ui5-combobox-busy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:42;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:all}.ui5-combobox-busy:not([active]){display:none} -`};var td=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let za=class extends ie{get isGroupItem(){return!1}};td([A()],za.prototype,"text",void 0);td([A()],za.prototype,"additionalText",void 0);td([A({type:Boolean})],za.prototype,"focused",void 0);td([A({type:Boolean})],za.prototype,"selected",void 0);za=td([K("ui5-cb-item")],za);za.define();const e6=za;var Dv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ll=class extends ie{get isGroupItem(){return!0}};Dv([A()],Ll.prototype,"text",void 0);Dv([A({type:Boolean})],Ll.prototype,"focused",void 0);Ll=Dv([K("ui5-cb-group-item")],Ll);Ll.define();const IL=Ll;function SL(i,e,t){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const kL={packageName:"@ui5/webcomponents",fileName:"themes/GroupHeaderListItem.css.ts",content:`.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-v1-22-1-rc-0_group_header_list_item_height);background:var(--ui5-v1-22-1-rc-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}.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)} -`};var t6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},zd;let gu=zd=class extends Xu{get groupItem(){return!0}get groupHeaderText(){return zd.i18nBundle.getText(j3)}get ariaLabelText(){return[this.textContent,this.accessibleName].filter(Boolean).join(" ")}static async onDefine(){zd.i18nBundle=await fe("@ui5/webcomponents")}};t6([A()],gu.prototype,"accessibleName",void 0);gu=zd=t6([K({tag:"ui5-li-groupheader",languageAware:!0,template:SL,styles:[Xu.styles,kL]})],gu);gu.define();const id=gu;var g1;(function(i){i.StartsWithPerTerm="StartsWithPerTerm",i.StartsWith="StartsWith",i.Contains="Contains",i.None="None"})(g1||(g1={}));const m_=g1;function EL(i,e,t){return w`
  • ${this.placeSelectionElementBefore?$L.call(this,i,e,t):void 0}
    ${this.hasImageContent?BL.call(this,i,e,t):RL.call(this,i,e,t)}${this.displayIconBegin?NL.call(this,i,e,t):void 0}
    ${this.hasTitle?ML.call(this,i,e,t):void 0}${this.hasDescription?FL.call(this,i,e,t):void 0}${this.typeActive?void 0:UL.call(this,i,e,t)}
    ${this.hasDescription?void 0:qL.call(this,i,e,t)}
    ${this.displayIconEnd?jL.call(this,i,e,t):void 0}${this.typeDetail?GL.call(this,i,e,t):void 0}${this.typeNavigation?YL.call(this,i,e,t):void 0}${this.navigated?XL.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?KL.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function $L(i,e,t){return w`${this.modeSingleSelect?AL.call(this,i,e,t):void 0}${this.modeMultiSelect?xL.call(this,i,e,t):void 0}${this.renderDeleteButton?DL.call(this,i,e,t):void 0}`}function AL(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function xL(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function DL(i,e,t){return w`
    ${this.hasDeleteButtonSlot?PL.call(this,i,e,t):OL.call(this,i,e,t)}
    `}function PL(i,e,t){return w``}function OL(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}function BL(i,e,t){return w`
    `}function RL(i,e,t){return w`${this.displayImage?LL.call(this,i,e,t):void 0}`}function LL(i,e,t){return t?w`<${D("ui5-avatar",e,t)} shape="Square" class="ui5-li-img">`:w``}function NL(i,e,t){return t?w`<${D("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:w``}function ML(i,e,t){return w``}function FL(i,e,t){return w`
    ${this.richDescription.length?VL.call(this,i,e,t):zL.call(this,i,e,t)}${this.additionalText?HL.call(this,i,e,t):void 0}
    `}function VL(i,e,t){return w``}function zL(i,e,t){return w`${a(this.description)}`}function HL(i,e,t){return w`${a(this.additionalText)}`}function UL(i,e,t){return w`${a(this.type)}`}function qL(i,e,t){return w`${this.additionalText?WL.call(this,i,e,t):void 0}`}function WL(i,e,t){return w`${a(this.additionalText)}`}function jL(i,e,t){return t?w`<${D("ui5-icon",e,t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">`:w``}function GL(i,e,t){return t?w`
    <${D("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:w`
    `}function YL(i,e,t){return t?w`<${D("ui5-icon",e,t)} name ="slim-arrow-right">`:w``}function XL(i,e,t){return w`
    `}function KL(i,e,t){return w`${this.modeSingleSelect?ZL.call(this,i,e,t):void 0}${this.modeMultiSelect?QL.call(this,i,e,t):void 0}${this.renderDeleteButton?JL.call(this,i,e,t):void 0}`}function ZL(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function QL(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function JL(i,e,t){return w`
    ${this.hasDeleteButtonSlot?eN.call(this,i,e,t):tN.call(this,i,e,t)}
    `}function eN(i,e,t){return w``}function tN(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}var Pv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Nl=class extends ta{onBeforeRendering(){super.onBeforeRendering(),this.hasTitle=!!this.titleText.length}get effectiveTitle(){return this.titleText.filter(e=>e.nodeType!==Node.COMMENT_NODE).map(e=>e.textContent).join("")}get hasDescription(){return this.richDescription.length||this.description}get groupItem(){return!1}};Pv([Z({type:HTMLElement})],Nl.prototype,"richDescription",void 0);Pv([Z({type:Node,default:!0})],Nl.prototype,"titleText",void 0);Nl=Pv([K({tag:"ui5-li-suggestion-item",template:EL})],Nl);Nl.define();const i6=Nl;var oa=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let er=class extends ie{get groupItem(){return!1}};oa([A()],er.prototype,"text",void 0);oa([A({type:qt,defaultValue:qt.Active})],er.prototype,"type",void 0);oa([A()],er.prototype,"description",void 0);oa([A()],er.prototype,"icon",void 0);oa([A({type:Boolean})],er.prototype,"iconEnd",void 0);oa([A()],er.prototype,"image",void 0);oa([A()],er.prototype,"additionalText",void 0);oa([A({type:W,defaultValue:W.None})],er.prototype,"additionalTextState",void 0);er=oa([K({tag:"ui5-suggestion-item",dependencies:[i6]})],er);er.define();const o6=er;var bt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},hi;const Cd=10;var b1;(function(i){i.Error="error",i.Warning="alert",i.Success="sys-enter-2",i.Information="information"})(b1||(b1={}));let ct=hi=class extends ie{constructor(){super(),this._filteredItems=[],this._initialRendering=!0,this._itemFocused=!1,this._autocomplete=!1,this._isKeyNavigation=!1,this._lastValue=this.getAttribute("value")||"",this._selectionPerformed=!1,this._selectedItemText="",this._userTypedValue=""}onBeforeRendering(){const e=this.valueStatePopover;this.FormSupport=ze("FormSupport"),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,(this._initialRendering||this.filter==="None")&&(this._filteredItems=this.items),this.open&&!this._isKeyNavigation&&(this._filteredItems=this._filterItems(this.filterValue)),!this._initialRendering&&document.activeElement===this&&!this._filteredItems.length&&(e==null||e.close()),this._selectMatchingItem(),this._initialRendering=!1,this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`)}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}async onAfterRendering(){const e=await this._getPicker();await this.shouldClosePopover()&&!ue()&&(e.close(!1,!1,!0),this._clearFocus(),this._itemFocused=!1),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this.storeResponsivePopoverWidth(),ue()&&(this.value=this.inner.value,this._selectMatchingItem())}async shouldClosePopover(){return(await this._getPicker()).opened&&!this.focused&&!this._itemFocused&&!this._isValueStateFocused}_focusin(e){this.focused=!0,this._autocomplete=!1,!ue()&&e.target.setSelectionRange(0,this.value.length)}_focusout(e){var s;const t=e.relatedTarget,o=(s=t==null?void 0:t.shadowRoot)==null?void 0:s.querySelector(".ui5-valuestatemessage-root"),r=this.shadowRoot.querySelector(".ui5-input-clear-icon-wrapper"),n=r===t||(r==null?void 0:r.contains(t));if(!(this._effectiveShowClearIcon&&n)){if(this._fireChangeEvent(),o){e.stopImmediatePropagation();return}!this.shadowRoot.contains(t)&&this.staticAreaItem!==e.relatedTarget&&(this.focused=!1,!ue()&&this._closeRespPopover(e))}}_afterOpenPopover(){this._iconPressed=!0,this.inner.focus()}_afterClosePopover(){this._iconPressed=!1,this._filteredItems=this.items,this.filterValue="",ue()&&this.blur(),this._selectionPerformed&&(this._lastValue=this.value,this._selectionPerformed=!1)}async _toggleRespPopover(){(await this._getPicker()).opened?this._closeRespPopover():this._openRespPopover()}async storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=(await this._getPicker()).offsetWidth)}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}async openValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.showAt(this)}async closeValueStatePopover(){var e;(e=await this._getValueStatePopover())==null||e.close()}async _getValueStatePopover(){const t=(await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover");return this.valueStatePopover=t,t}_resetFilter(){this._userTypedValue="",this.inner.setSelectionRange(0,this.value.length),this._filteredItems=this._filterItems(""),this._selectMatchingItem()}_arrowClick(){this.inner.focus(),this._resetFilter(),ue()&&this.value&&!this._lastValue&&(this._lastValue=this.value),this._toggleRespPopover()}_handleMobileInput(e){const{target:t}=e;this.filterValue=t.value,this.value=t.value,this.fireEvent("input")}_input(e){const{value:t}=e.target,o=this.shouldAutocomplete(e);if(e.target===this.inner&&(e.stopImmediatePropagation(),this.focused=!0,this._isValueStateFocused=!1),this._filteredItems=this._filterItems(t),this.value=t,this.filterValue=t,this._clearFocus(),o&&!Lf()){const r=this._getFirstMatchingItem(t);r&&this._applyAtomicValueAndSelection(r,t,!0),t!==""&&r&&!r.selected&&!r.isGroupItem&&this.fireEvent("selection-change",{item:r})}this.fireEvent("input"),!ue()&&(!this._filteredItems.length||t===""?this._closeRespPopover():this._openRespPopover())}shouldAutocomplete(e){const t=e.inputType,o=["deleteWordBackward","deleteWordForward","deleteSoftLineBackward","deleteSoftLineForward","deleteEntireSoftLine","deleteHardLineBackward","deleteHardLineForward","deleteByDrag","deleteByCut","deleteContent","deleteContentBackward","deleteContentForward","historyUndo"];return!this.noTypeahead&&!o.includes(t)}_startsWithMatchingItems(e){return Z_(e,this._filteredItems,"text")}_clearFocus(){this._filteredItems.map(e=>(e.focused=!1,e))}handleNavKeyPress(e){if(this.focused&&(Wt(e)||ki(e))&&this.value)return;const t=this.open,o=this._filteredItems.find(n=>t?n.focused:n.selected),r=o?this._filteredItems.indexOf(o):-1;e.preventDefault(),!(this.focused&&t&&(Xe(e)||Li(e)||eo(e)))&&(this._filteredItems.length-1===r&&qe(e)||(this._isKeyNavigation=!0,(e.key==="ArrowDown"||e.key==="ArrowUp"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Home"||e.key==="End")&&this[`_handle${e.key}`](e,r)))}_handleItemNavigation(e,t,o){const r=this.open,n=this._filteredItems[t],s=o?this._filteredItems[t+1]:this._filteredItems[t-1],l=n&&n.isGroupItem;if(!r&&(l&&!s||!l&&!n)||(this._clearFocus(),r?(this._itemFocused=!0,this.value=l?"":n.text,this.focused=!1,n.focused=!0):(this.focused=!0,this.value=l?s.text:n.text,n.focused=!1),this._isValueStateFocused=!1,this._announceSelectedItem(t),this._scrollToItem(t,o),l&&r))return;const I=this._getFirstMatchingItem(this.value);I&&this._applyAtomicValueAndSelection(I,this.open?this._userTypedValue:"",!0),I&&!I.selected&&this.fireEvent("selection-change",{item:I}),this.fireEvent("input"),this._fireChangeEvent()}_handleArrowDown(e,t){const o=this.open;if(this.focused&&t===-1&&this.hasValueStateText&&o){this._isValueStateFocused=!0,this._announceValueStateText(),this.focused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,++t,!0)}_handleArrowUp(e,t){const o=this.open;if(t===0&&!this.hasValueStateText){this._clearFocus(),this.focused=!0,this._itemFocused=!1;return}if(t===0&&this.hasValueStateText&&o){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText(),this._filteredItems[0].selected=!1;return}if(this._isValueStateFocused){this.focused=!0,this._isValueStateFocused=!1;return}t=!o&&this.hasValueState&&t===-1?0:t,this._handleItemNavigation(e,--t,!1)}_handlePageUp(e,t){const o=t-Cd>-1;t=o?t-Cd:0;const r=this._filteredItems[t].isGroupItem&&!this.open;if(!o&&this.hasValueStateText&&this.open){this._clearFocus(),this._itemFocused=!1,this._isValueStateFocused=!0,this._announceValueStateText();return}this._handleItemNavigation(e,t,r)}_handlePageDown(e,t){const o=this._filteredItems.length;t=t+Cdn.focused);this._fireChangeEvent(),o!=null&&o.opened&&!(r!=null&&r.isGroupItem)?(this._closeRespPopover(),this.focused=!0):this.FormSupport&&this.FormSupport.triggerFormSubmit(this)}if(Ni(e)&&(this.focused=!0,this.value=this.open?this.value:this._lastValue,this._isValueStateFocused=!1),(Pt(e)||Mi(e))&&this.open&&this._closeRespPopover(),zn(e)&&!this.readonly&&!this.disabled){e.preventDefault(),this._resetFilter(),this._toggleRespPopover();const r=this._filteredItems.find(n=>n.selected);r&&this.open?(this._itemFocused=!0,r.focused=!0,this.focused=!1):this.open&&this._filteredItems.length?this._handleItemNavigation(e,0,!0):this.focused=!0}}_click(){ue()&&!this.readonly&&this._openRespPopover()}_closeRespPopover(e){const t=this.responsivePopover;e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&this._selectedItemText&&(this.value=this._selectedItemText,this.filterValue=this._selectedItemText),e&&e.target.classList.contains("ui5-responsive-popover-close-btn")&&(this.value=this._lastValue||"",this.filterValue=this._lastValue||""),ue()&&this._fireChangeEvent(),this._isValueStateFocused=!1,this._clearFocus(),t==null||t.close()}async _openRespPopover(){(await this._getPicker()).showAt(this,!0)}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(KT[this.filter]||xv)(e,t,"text");return this.items.filter((r,n,s)=>hi._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_getFirstMatchingItem(e){const t=this.items.find(r=>r.focused===!0);if(t!=null&&t.isGroupItem){this.value=this.filterValue;return}const o=this._startsWithMatchingItems(e).filter(r=>!r.isGroupItem);if(o.length)return o[0]}_applyAtomicValueAndSelection(e,t,o){const r=e&&e.text||"";this.inner.value=r,o&&this.inner.setSelectionRange(t.length,r.length),this.value=r}_selectMatchingItem(){const e=this.items.find(r=>r.focused),t=e&&e.isGroupItem,o=this._filteredItems.find(r=>!r.isGroupItem&&r.text===this.value&&!t);this._filteredItems=this._filteredItems.map(r=>(r.selected=r===o,r))}_fireChangeEvent(){this.value!==this._lastValue&&(this.fireEvent("change"),this._lastValue=this.value)}_inputChange(e){e.preventDefault()}_itemMousedown(e){e.preventDefault()}_selectItem(e){const t=e.detail.item;this._selectedItemText=t.mappedItem.text,this._selectionPerformed=!0;const o=this.value===this._selectedItemText,r=this.value.toLowerCase()===this.filterValue.toLowerCase();if(o&&r)return this._fireChangeEvent(),this._closeRespPopover();this.value=this._selectedItemText,t.mappedItem.selected||this.fireEvent("selection-change",{item:t.mappedItem}),this._filteredItems.map(n=>(n.selected=n===t.mappedItem&&!n.isGroupItem,n)),this._fireChangeEvent(),this._closeRespPopover(),this.inner.setSelectionRange(this.value.length,this.value.length)}_onItemFocus(){this._itemFocused=!0}_announceSelectedItem(e){const t=this._filteredItems[e],o=this._filteredItems.filter(I=>!I.isGroupItem),r=t.additionalText||"",n=t==null?void 0:t.isGroupItem,s=hi.i18nBundle.getText(V_,o.indexOf(t)+1,o.length),l=hi.i18nBundle.getText(pv);Xc(n?`${l} ${t.text}`:`${r} ${s}`.trim(),Bs.Polite)}_clear(){const e=this.items.find(t=>t.selected);(e==null?void 0:e.text)===this.value&&this.fireEvent("change"),this.value="",this.fireEvent("input"),this._isPhone?(this._lastValue="",this.fireEvent("change")):this.focus()}async _scrollToItem(e,t){const o=await this._getPicker(),r=o.querySelector(".ui5-combobox-items-list"),n=r==null?void 0:r.items[e];if(n){const s=o.getBoundingClientRect(),l=n.getBoundingClientRect();l.top>=s.top&&l.bottom<=s.bottom||n.scrollIntoView({behavior:"instant",block:t?"end":"start",inline:"nearest"})}}_announceValueStateText(){const e=this.shouldDisplayDefaultValueStateMessage?this.valueStateDefaultText:this.valueStateMessageText.map(t=>t.textContent).join(" ");e&&Xc(e,Bs.Polite)}get _headerTitleText(){return hi.i18nBundle.getText(oc)}get _iconAccessibleNameText(){return hi.i18nBundle.getText(dv)}get inner(){return ue()?this.responsivePopover.querySelector("[ui5-input]").shadowRoot.querySelector("input"):this.shadowRoot.querySelector("[inner-input]")}async _getPicker(){const t=(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]");return this.responsivePopover=t,t}get hasValueState(){return this.valueState!==W.None}get hasValueStateText(){return this.hasValueState&&this.valueState!==W.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return"";let e="";return this.valueState!==W.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){if(this.valueState!==W.None)return this.valueStateTextMappings[this.valueState]}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get valueStateTextMappings(){return{[W.Success]:hi.i18nBundle.getText(In),[W.Error]:hi.i18nBundle.getText(Tn),[W.Warning]:hi.i18nBundle.getText(Cn),[W.Information]:hi.i18nBundle.getText(Jn)}}get valueStateTypeMappings(){return{[W.Success]:hi.i18nBundle.getText(ac),[W.Information]:hi.i18nBundle.getText(sc),[W.Error]:hi.i18nBundle.getText(rc),[W.Warning]:hi.i18nBundle.getText(nc)}}get shouldOpenValueStateMessagePopover(){return this.focused&&!this.readonly&&this.hasValueStateText&&!this._iconPressed&&!this.open&&!this._isPhone}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?ii.Left:ii.Right}get _valueStateMessageIcon(){return this.valueState!==W.None?b1[this.valueState]:""}get open(){var e;return((e=this==null?void 0:this.responsivePopover)==null?void 0:e.opened)||!1}get _isPhone(){return ue()}get itemTabIndex(){}get ariaLabelText(){return Kt(this)}get clearIconAccessibleName(){return hi.i18nBundle.getText(F_)}static async onDefine(){hi.i18nBundle=await fe("@ui5/webcomponents")}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverHeader:{width:`${this.offsetWidth}px`},suggestionPopoverHeader:{display:this._listWidth===0?"none":"inline-block",width:`${this._listWidth||""}px`},suggestionsPopover:{"min-width":`${this.offsetWidth||0}px`,"max-width":this.offsetWidth/e>40?`${this.offsetWidth}px`:"40rem"}}}get classes(){return{popover:{"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateText,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateText},popoverValueState:{"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}};bt([A()],ct.prototype,"value",void 0);bt([A({type:Boolean})],ct.prototype,"noTypeahead",void 0);bt([A()],ct.prototype,"filterValue",void 0);bt([A()],ct.prototype,"placeholder",void 0);bt([A({type:Boolean})],ct.prototype,"disabled",void 0);bt([A({type:W,defaultValue:W.None})],ct.prototype,"valueState",void 0);bt([A({type:Boolean})],ct.prototype,"readonly",void 0);bt([A({type:Boolean})],ct.prototype,"required",void 0);bt([A({type:Boolean})],ct.prototype,"loading",void 0);bt([A({type:m_,defaultValue:m_.StartsWithPerTerm})],ct.prototype,"filter",void 0);bt([A({type:Boolean})],ct.prototype,"showClearIcon",void 0);bt([A({type:Boolean})],ct.prototype,"focused",void 0);bt([A({type:Boolean})],ct.prototype,"_isValueStateFocused",void 0);bt([A()],ct.prototype,"accessibleName",void 0);bt([A()],ct.prototype,"accessibleNameRef",void 0);bt([A({type:Boolean,noAttribute:!0})],ct.prototype,"_iconPressed",void 0);bt([A({type:Object,noAttribute:!0,multiple:!0})],ct.prototype,"_filteredItems",void 0);bt([A({validator:ae,noAttribute:!0})],ct.prototype,"_listWidth",void 0);bt([A({type:Boolean,noAttribute:!0})],ct.prototype,"_effectiveShowClearIcon",void 0);bt([Z({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],ct.prototype,"items",void 0);bt([Z()],ct.prototype,"valueStateMessage",void 0);bt([Z()],ct.prototype,"icon",void 0);ct=hi=bt([K({tag:"ui5-combobox",languageAware:!0,renderer:de,styles:TL,staticAreaStyles:[Vr,Za,CL,Q_],template:uL,staticAreaTemplate:fL,dependencies:[e6,Be,fo,vo,tl,Ne,ta,id,Vi,IL,xr,o6]}),q("change"),q("input"),q("selection-change",{detail:{item:{type:HTMLElement}}})],ct);ct.define();/*! - * OpenUI5 - * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */var iN=/('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g,oN=function(i,e){return De(typeof i=="string"||i instanceof String,"pattern must be string"),(arguments.length>2||e!=null&&!Array.isArray(e))&&(e=Array.prototype.slice.call(arguments,1)),e=e||[],i.replace(iN,function(t,o,r,n,s){if(o)return"'";if(r)return r.replace(/''/g,"'");if(n)return String(e[parseInt(n)]);throw new Error("formatMessage: pattern syntax error at pos. "+s)})};/*! - * OpenUI5 - * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */var _e=function(){throw new Error},xo={DATE:"date",TIME:"time",DATETIME:"datetime",DATETIME_WITH_TIMEZONE:"datetimeWithTimezone"},Qh={},r6=function(i){if(typeof i!="string"&&!(i instanceof String)&&i!=null)throw new TypeError("The given timezone must be a string.")};_e.oDateInfo={type:xo.DATE,oDefaultFormatOptions:{style:"medium",relativeScale:"day",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd"},{pattern:"yyyyMMdd",strictParsing:!0}],bShortFallbackFormatOptions:!0,bPatternFallbackWithoutDelimiter:!0,getPattern:function(i,e,t){return i.getDatePattern(e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0},aRelativeScales:["year","month","week","day"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date"]};_e.oDateTimeInfo={type:xo.DATETIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"yyyy-MM-dd'T'HH:mm:ss"},{pattern:"yyyyMMdd HHmmss"}],getPattern:function(i,e,t){var o=e.indexOf("/");return o>0?i.getCombinedDateTimePattern(e.substr(0,o),e.substr(o+1),t):i.getCombinedDateTimePattern(e,e,t)},oRequiredParts:{text:!0,year:!0,weekYear:!0,month:!0,day:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["year","month","week","day","hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["Era","FullYear","Quarter","Month","Week","Date","DayPeriod","Hours","Minutes","Seconds"]};_e._getDateTimeWithTimezoneInfo=function(i){var e=i.showDate===void 0||i.showDate,t=i.showTime===void 0||i.showTime,o=i.showTimezone===void 0||i.showTimezone,r=_e.oDateTimeInfo;return e&&!t?r=_e.oDateInfo:!e&&t&&(r=_e.oTimeInfo),Object.assign({},r,{type:xo.DATETIME_WITH_TIMEZONE,getTimezonePattern:function(n){return!e&&!t&&o?"VV":o?n+" VV":n},getPattern:function(n,s,l){if(!e&&!t&&o)return"VV";if(!o)return r.getPattern(n,s,l);var I=r.getPattern(n,s,l);return n.applyTimezonePattern(I)}})};_e.oTimeInfo={type:xo.TIME,oDefaultFormatOptions:{style:"medium",relativeScale:"auto",relativeStyle:"wide"},aFallbackFormatOptions:[{style:"short"},{style:"medium"},{pattern:"HH:mm:ss"},{pattern:"HHmmss"}],getPattern:function(i,e,t){return i.getTimePattern(e,t)},oRequiredParts:{text:!0,hour0_23:!0,hour1_24:!0,hour0_11:!0,hour1_12:!0},aRelativeScales:["hour","minute","second"],aRelativeParseScales:["year","quarter","month","week","day","hour","minute","second"],aIntervalCompareFields:["DayPeriod","Hours","Minutes","Seconds"]};_e.getInstance=function(i,e){return this.getDateInstance(i,e)};_e.getDateInstance=function(i,e){return this.createInstance(i,e,this.oDateInfo)};_e.getDateTimeInstance=function(i,e){return this.createInstance(i,e,this.oDateTimeInfo)};_e.getDateTimeWithTimezoneInstance=function(i,e){if(i&&!(i instanceof xl)&&(function(){if(i=Object.assign({},i),typeof i.showTimezone=="string"){var t=i.showTimezone;i.showDate===void 0&&i.showTime===void 0&&(t==="Hide"?i.showTimezone=!1:t==="Only"&&(i.showDate=!1,i.showTime=!1)),i.showTimezone=t!=="Hide"}}(),i.showDate===!1&&i.showTime===!1&&i.showTimezone===!1))throw new TypeError("Invalid Configuration. One of the following format options must be true: showDate, showTime or showTimezone.");return this.createInstance(i,e,_e._getDateTimeWithTimezoneInfo(i||{}))};_e.getTimeInstance=function(i,e){return this.createInstance(i,e,this.oTimeInfo)};_e.createInstance=function(i,e,t,o){var r,n,s;if(n=Object.create(this.prototype),i instanceof xl&&(e=i,i=void 0),e||(e=gt.getFormatSettings().getFormatLocale()),n.oLocale=e,n.oLocaleData=xt.getInstance(e),n.oFormatOptions=Il({},t.oDefaultFormatOptions,i),t.type===xo.DATETIME_WITH_TIMEZONE?(n.oFormatOptions.interval=!1,n.oFormatOptions.singleIntervalValue=!1,n.oFormatOptions.UTC=!1):(n.oFormatOptions.showTimezone=void 0,n.oFormatOptions.showDate=void 0,n.oFormatOptions.showTime=void 0),n.type=t.type,n.oFormatOptions.calendarType||(n.oFormatOptions.calendarType=gt.getCalendarType()),n.oFormatOptions.firstDayOfWeek===void 0&&n.oFormatOptions.minimalDaysInFirstWeek!==void 0||n.oFormatOptions.firstDayOfWeek!==void 0&&n.oFormatOptions.minimalDaysInFirstWeek===void 0)throw new TypeError("Format options firstDayOfWeek and minimalDaysInFirstWeek need both to be set, but only one was provided.");if(n.oFormatOptions.calendarWeekNumbering&&!Object.values(Tt).includes(n.oFormatOptions.calendarWeekNumbering))throw new TypeError("Illegal format option calendarWeekNumbering: '"+n.oFormatOptions.calendarWeekNumbering+"'");if(n.oFormatOptions.pattern||(n.oFormatOptions.format?n.oFormatOptions.pattern=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType):n.oFormatOptions.pattern=t.getPattern(n.oLocaleData,n.oFormatOptions.style,n.oFormatOptions.calendarType)),n.oFormatOptions.interval){var l,I=n.oFormatOptions.intervalDelimiter;n.oFormatOptions.format?(n.intervalPatterns=n.oLocaleData.getCustomIntervalPattern(n.oFormatOptions.format,null,n.oFormatOptions.calendarType),typeof n.intervalPatterns=="string"&&(n.intervalPatterns=[n.intervalPatterns]),l=n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format,n.oFormatOptions.calendarType),n.intervalPatterns.push(l)):(l=n.oFormatOptions.pattern,n.intervalPatterns=[n.oLocaleData.getCombinedIntervalPattern(n.oFormatOptions.pattern,n.oFormatOptions.calendarType),n.oFormatOptions.pattern]),n.intervalPatterns.push(n.oFormatOptions.pattern+" - "+n.oFormatOptions.pattern),I&&(I=I.replace(/'/g,"''"),I="'"+I+"'",n.intervalPatterns.unshift(l+I+l)),n.intervalPatterns=Array.from(new Set(n.intervalPatterns))}return o||(r=t.aFallbackFormatOptions,t.bShortFallbackFormatOptions&&(s=t.getPattern(n.oLocaleData,"short"),r=r.concat(_e._createFallbackOptionsWithoutDelimiter(s))),n.oFormatOptions.pattern&&t.bPatternFallbackWithoutDelimiter&&(r=_e._createFallbackOptionsWithoutDelimiter(n.oFormatOptions.pattern).concat(r)),r=r.reduce(function(y,C){var b=Object.keys(C),v=y.some(function(g){return Object.keys(g).length===b.length&&b.every(function(p){return g[p]===C[p]})});return v||y.push(C),y},[]),n.aFallbackFormats=_e._createFallbackFormat(r,n.oFormatOptions.calendarType,e,t,n.oFormatOptions)),n.oRequiredParts=t.oRequiredParts,n.aRelativeScales=t.aRelativeScales,n.aRelativeParseScales=t.aRelativeParseScales,n.aIntervalCompareFields=t.aIntervalCompareFields,n.init(),n};_e.prototype.init=function(){var i=this.oFormatOptions.calendarType;this.aMonthsAbbrev=this.oLocaleData._getMonthsWithAlternatives("abbreviated",i),this.aMonthsWide=this.oLocaleData.getMonths("wide",i),this.aMonthsNarrow=this.oLocaleData.getMonths("narrow",i),this.aMonthsAbbrevSt=this.oLocaleData._getMonthsStandAloneWithAlternatives("abbreviated",i),this.aMonthsWideSt=this.oLocaleData.getMonthsStandAlone("wide",i),this.aMonthsNarrowSt=this.oLocaleData.getMonthsStandAlone("narrow",i),this.aDaysAbbrev=this.oLocaleData.getDays("abbreviated",i),this.aDaysWide=this.oLocaleData.getDays("wide",i),this.aDaysNarrow=this.oLocaleData.getDays("narrow",i),this.aDaysShort=this.oLocaleData.getDays("short",i),this.aDaysAbbrevSt=this.oLocaleData.getDaysStandAlone("abbreviated",i),this.aDaysWideSt=this.oLocaleData.getDaysStandAlone("wide",i),this.aDaysNarrowSt=this.oLocaleData.getDaysStandAlone("narrow",i),this.aDaysShortSt=this.oLocaleData.getDaysStandAlone("short",i),this.aQuartersAbbrev=this.oLocaleData.getQuarters("abbreviated",i),this.aQuartersWide=this.oLocaleData.getQuarters("wide",i),this.aQuartersNarrow=this.oLocaleData.getQuarters("narrow",i),this.aQuartersAbbrevSt=this.oLocaleData.getQuartersStandAlone("abbreviated",i),this.aQuartersWideSt=this.oLocaleData.getQuartersStandAlone("wide",i),this.aQuartersNarrowSt=this.oLocaleData.getQuartersStandAlone("narrow",i),this.aErasNarrow=this.oLocaleData.getEras("narrow",i),this.aErasAbbrev=this.oLocaleData.getEras("abbreviated",i),this.aErasWide=this.oLocaleData.getEras("wide",i),this.aDayPeriodsAbbrev=this.oLocaleData.getDayPeriods("abbreviated",i),this.aDayPeriodsNarrow=this.oLocaleData.getDayPeriods("narrow",i),this.aDayPeriodsWide=this.oLocaleData.getDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrev=this.oLocaleData.getFlexibleDayPeriods("abbreviated",i),this.oFlexibleDayPeriodsNarrow=this.oLocaleData.getFlexibleDayPeriods("narrow",i),this.oFlexibleDayPeriodsWide=this.oLocaleData.getFlexibleDayPeriods("wide",i),this.oFlexibleDayPeriodsAbbrevSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("abbreviated",i),this.oFlexibleDayPeriodsNarrowSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("narrow",i),this.oFlexibleDayPeriodsWideSt=this.oLocaleData.getFlexibleDayPeriodsStandAlone("wide",i),this.aFormatArray=this.parseCldrDatePattern(this.oFormatOptions.pattern),this.sAllowedCharacters=this.getAllowedCharacters(this.aFormatArray)};_e._createFallbackFormat=function(i,e,t,o,r){return i.map(function(n){var s=Object.assign({},n);return s.showDate=r.showDate,s.showTime=r.showTime,s.showTimezone=r.showTimezone,typeof o.getTimezonePattern=="function"&&s.pattern&&(s.pattern=o.getTimezonePattern(s.pattern)),r.interval&&(s.interval=!0),s.calendarType=e,_e.createInstance(s,t,o,!0)})};_e._createFallbackOptionsWithoutDelimiter=function(i){var e=/[^dMyGU]/g,t={regex:/d+/g,replace:"dd"},o={regex:/M+/g,replace:"MM"},r={regex:/[yU]+/g,replace:["yyyy","yy"]};return i=i.replace(e,""),i=i.replace(t.regex,t.replace),i=i.replace(o.regex,o.replace),r.replace.map(function(n){return{pattern:i.replace(r.regex,n),strictParsing:!0}})};var Ee={isNumber:function(i){return i>=48&&i<=57},findNumbers:function(i,e){for(var t=0;t{(Array.isArray(n)?n:[n]).forEach(l=>{l.length>r&&this.startsWithIgnoreCase(i,l,t)&&(o=s,r=l.length)})}),{index:o,length:r}},parseTZ:function(i,e){var t=0,o=i.charAt(0)==="+"?-1:1,r;if(i[0]==="Z")return{length:1,tzDiff:0};t++,r=this.findNumbers(i.substr(t),2);var n=parseInt(r);t+=2,e&&t++,r=this.findNumbers(i.substr(t),2);var s=0;return r&&(t+=2,s=parseInt(r)),{length:t,tzDiff:(s+60*n)*60*o}},checkValid:function(i,e,t){return!(i in t.oRequiredParts&&e)}};_e._oParseHelper=Ee;_e._createPatternSymbol=function(i){var e=typeof i.isNumeric=="function"&&i.isNumeric||function(){return i.isNumeric||!1};return{name:i.name,format:i.format||function(){return""},parse:i.parse||function(){return{}},isNumeric:e}};_e.prototype.oSymbols={"":_e._createPatternSymbol({name:"text",format:function(i,e){return i.value},parse:function(i,e,t,o){var r,n=!0,s=0,l=0,I="-~‐‑‒–—﹘﹣-~";const y=_e._normalize(e.value);for(;l2&&(n=n.substr(n.length-2)),s!==Ue.Japanese&&i.digits===1&&r<100&&(n=n.padStart(4,"0")),n.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=Ee.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var I=parseInt(n);if(l!==Ue.Japanese&&n.length<=2){var y=we.getInstance($e.getInstance(),l),C=y.getUTCFullYear(),b=Math.floor(C/100),v=b*100+I-C;v<-70?I+=(b+1)*100:v<30?I+=b*100:I+=(b-1)*100}return{length:n.length,valid:Ee.checkValid(e.type,s,t),year:I}},isNumeric:!0}),Y:_e._createPatternSymbol({name:"weekYear",format:function(i,e,t,o){var r=e.getUTCWeek(o.oLocale,g_(o.oFormatOptions)),n=r.year,s=String(n),l=o.oFormatOptions.calendarType;return i.digits===2&&s.length>2&&(s=s.substr(s.length-2)),l!==Ue.Japanese&&i.digits===1&&n<100&&(s=s.padStart(4,"0")),s.padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l=t.oFormatOptions.calendarType;e.digits===1?r=4:e.digits===2?r=2:r=e.digits,n=Ee.findNumbers(i,r),s=n===""||o.exactLength&&n.length!==r;var I=parseInt(n),y=I;if(l!==Ue.Japanese&&n.length<=2){var C=we.getInstance($e.getInstance(),l),b=C.getUTCFullYear(),v=Math.floor(b/100),g=v*100+y-b;g<-70?y+=(v+1)*100:g<30?y+=v*100:y+=(v-1)*100}return{length:n.length,valid:Ee.checkValid(e.type,s,t),year:I,weekYear:y}},isNumeric:!0}),M:_e._createPatternSymbol({name:"month",format:function(i,e,t,o){var r=e.getUTCMonth();if(i.digits===3){const n=o.aMonthsAbbrev[r];return Array.isArray(n)?n[0]:n}else return i.digits===4?o.aMonthsWide[r]:i.digits>4?o.aMonthsNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=Ee.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=Ee.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var y=0;y4?o.aMonthsNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aMonthsWide,t.aMonthsWideSt,t.aMonthsAbbrev,t.aMonthsAbbrevSt,t.aMonthsNarrow,t.aMonthsNarrowSt];if(e.digits<3)n=Ee.findNumbers(i,Math.max(e.digits,2)),s=n===""||o.exactLength&&n.length<2,l=Ee.checkValid(e.type,s,t),r=parseInt(n)-1,o.strict&&(r>11||r<0)&&(l=!1);else{for(var y=0;y31||l<1)&&(s=!1),{day:l,length:r.length,valid:s}},isNumeric:!0}),Q:_e._createPatternSymbol({name:"quarter",format:function(i,e,t,o){var r=e.getUTCQuarter();return i.digits===3?o.aQuartersAbbrev[r]:i.digits===4?o.aQuartersWide[r]:i.digits>4?o.aQuartersNarrow[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=Ee.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var y=0;y4?o.aQuartersNarrowSt[r]:String(r+1).padStart(i.digits,"0")},parse:function(i,e,t,o){var r,n,s,l,I=[t.aQuartersWide,t.aQuartersWideSt,t.aQuartersAbbrev,t.aQuartersAbbrevSt,t.aQuartersNarrow,t.aQuartersNarrowSt];if(e.digits<3)r=Ee.findNumbers(i,Math.max(e.digits,2)),n=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,n,t),s=parseInt(r)-1,o.strict&&s>3&&(l=!1);else{for(var y=0;y_e._normalize(g)),s&&(C=C.map(v)),l=Ee.findEntry(i,C,t.oLocaleData.sCLDRLocaleId),l.index!==-1)return{pm:l.index===1,length:s?y[0].length:l.length};return{valid:!1}}}),B:_e._createPatternSymbol({name:"flexibleDayPeriod",format:function(i,e,t,o){var r=o.aFormatArray.some(function(s){return"hHKk".includes(s.symbol)}),n=o.oLocaleData.getFlexibleDayPeriodOfTime(e.getUTCHours(),e.getUTCMinutes());return r?i.digits<=3?o.oFlexibleDayPeriodsAbbrev[n]:i.digits===4?o.oFlexibleDayPeriodsWide[n]:o.oFlexibleDayPeriodsNarrow[n]:i.digits<=3?o.oFlexibleDayPeriodsAbbrevSt[n]:i.digits===4?o.oFlexibleDayPeriodsWideSt[n]:o.oFlexibleDayPeriodsNarrowSt[n]},parse:function(i,e,t,o){var r,n,s,l=t.aFormatArray.some(function(y){return"hHKk".includes(y.symbol)}),I=[t.oFlexibleDayPeriodsWide,t.oFlexibleDayPeriodsAbbrev,t.oFlexibleDayPeriodsNarrow];if(l){for(r=0;r23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),k:_e._createPatternSymbol({name:"hour1_24",format:function(i,e){var t=e.getUTCHours(),o=t===0?"24":String(t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Ee.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,s,t);return n===24&&(n=0),o.strict&&n>23&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),K:_e._createPatternSymbol({name:"hour0_11",format:function(i,e){var t=e.getUTCHours(),o=String(t>11?t-12:t);return o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Ee.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,s,t);return o.strict&&n>11&&(l=!1),{hour:n,length:r.length,valid:l}},isNumeric:!0}),h:_e._createPatternSymbol({name:"hour1_12",format:function(i,e){var t=e.getUTCHours(),o;return t>12?o=String(t-12):t===0?o="12":o=String(t),o.padStart(i.digits,"0")},parse:function(i,e,t,o){var r=o.dateValue.pm,n=Ee.findNumbers(i,Math.max(e.digits,2)),s=parseInt(n),l=n===""||o.exactLength&&n.length<2,I=Ee.checkValid(e.type,l,t);return s===12&&(s=0,r=r===void 0?!0:r),o.strict&&s>11&&(I=!1),{hour:s,length:n.length,pm:r,valid:I}},isNumeric:!0}),m:_e._createPatternSymbol({name:"minute",format:function(i,e){var t=e.getUTCMinutes();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Ee.findNumbers(i,Math.max(e.digits,2)),n=parseInt(r),s=r===""||o.exactLength&&r.length<2,l=Ee.checkValid(e.type,s,t);return o.strict&&n>59&&(l=!1),{length:r.length,minute:n,valid:l}},isNumeric:!0}),s:_e._createPatternSymbol({name:"second",format:function(i,e){var t=e.getUTCSeconds();return String(t).padStart(i.digits,"0")},parse:function(i,e,t,o){var r=Math.max(e.digits,2),n=Ee.findNumbers(i,r),s=n===""||o.exactLength&&n.length59&&(I=!1),{length:n.length,second:l,valid:I}},isNumeric:!0}),S:_e._createPatternSymbol({name:"fractionalsecond",format:function(i,e){var t=e.getUTCMilliseconds(),o=String(t),r=o.padStart(3,"0");return r=r.substr(0,i.digits),r=r.padEnd(i.digits,"0"),r},parse:function(i,e,t,o){var r=Ee.findNumbers(i,e.digits),n=r.length,s=o.exactLength&&n3&&e.getTimezoneLong&&e.getTimezoneLong())return e.getTimezoneLong();if(e.getTimezoneShort&&e.getTimezoneShort())return e.getTimezoneShort();var n=Ke.calculateOffset(e,r),s="GMT",l=Math.abs(n/60),I=n>0,y=Math.floor(l/60),C=Math.floor(l%60);return!t&&l!==0?(s+=I?"-":"+",s+=String(y).padStart(2,"0"),s+=":",s+=String(C).padStart(2,"0")):s+="Z",s},parse:function(i,e,t,o){var r=0,n,s=i.substring(0,3);if(s==="GMT"||s==="UTC")r=3;else if(i.substring(0,2)==="UT")r=2;else if(i.charAt(0)==="Z")r=1,n=0;else return{error:"cannot be parsed correctly by sap.ui.core.format.DateFormat: The given timezone is not supported!"};if(i.charAt(0)!=="Z"){var l=Ee.parseTZ(i.substr(r),!0);r+=l.length,n=l.tzDiff}return{length:r,tzDiff:n}}}),Z:_e._createPatternSymbol({name:"timezoneRFC822",format:function(i,e,t,o,r){var n=Ke.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,I=Math.floor(s/60),y=Math.floor(s%60),C="";return t||(C+=l?"-":"+",C+=String(I).padStart(2,"0"),C+=String(y).padStart(2,"0")),C},parse:function(i,e,t,o){return Ee.parseTZ(i,!1)}}),X:_e._createPatternSymbol({name:"timezoneISO8601",format:function(i,e,t,o,r){var n=Ke.calculateOffset(e,r),s=Math.abs(n/60),l=n>0,I=Math.floor(s/60),y=Math.floor(s%60),C="";return!t&&s!==0?(C+=l?"-":"+",C+=String(I).padStart(2,"0"),(i.digits>1||y>0)&&((i.digits===3||i.digits===5)&&(C+=":"),C+=String(y).padStart(2,"0"))):C+="Z",C},parse:function(i,e,t,o){return i.charAt(0)==="Z"?{length:1,tzDiff:0}:Ee.parseTZ(i,e.digits===3||e.digits===5)}}),V:_e._createPatternSymbol({name:"timezoneID",format:function(i,e,t,o,r){return!t&&i.digits===2?o.oLocaleData.getTimezoneTranslations()[r]||r:""},parse:function(i,e,t,o,r){var n={timezone:"",length:0};if(e.digits===2){var s=t.oLocaleData.getTimezoneTranslations();if(i===s[r])return{timezone:r,length:i.length};var l=Object.values(s),I=Ee.findEntry(i,l,t.oLocaleData.sCLDRLocaleId);if(I.index!==-1)return{timezone:Object.keys(s)[I.index],length:I.length};for(var y="",C=i.length;C>0;C-=1)if(y=i.slice(0,C),Ke.isValidTimezone(y)){n.timezone=y,n.length=y.length;break}}return n}})};_e.prototype._format=function(i,e,t){if(this.oFormatOptions.relative){var o=this.formatRelative(i,e,this.oFormatOptions.relativeRange,t);if(o)return o}for(var r=this.oFormatOptions.calendarType,n=we.getInstance(i,r),s=[],l,I,y,C=0;Ce.getTime())}function w1(i){return i&&typeof i.getTime=="function"&&!isNaN(i.getTime())}_e.prototype.parse=function(i,e,t){var o=this.oFormatOptions.showDate===void 0||this.oFormatOptions.showDate,r=this.oFormatOptions.showTime===void 0||this.oFormatOptions.showTime;if(this.type===xo.DATETIME_WITH_TIMEZONE&&(o&&!r||!o&&r))throw new TypeError("The input can only be parsed back to date if both date and time are supplied.");var n;e===void 0&&this.type!==xo.DATETIME_WITH_TIMEZONE&&(e=this.oFormatOptions.UTC);var s=e;if(this.type===xo.DATETIME_WITH_TIMEZONE&&(n=e,e=!1,r6(n),n&&!Ke.isValidTimezone(n)))return mt.error("The given timezone isn't valid."),null;i=i==null?"":String(i).trim(),i=_e._normalize(i);var l,I=this.oFormatOptions.calendarType;if(n=n||gt.getTimezone(),t===void 0&&(t=this.oFormatOptions.strictParsing),I===Ue.Japanese&&this.oLocale.getLanguage()==="ja"&&(i=i.replace(/元年/g,"1年")),this.oFormatOptions.interval){var b=this._parseInterval(i,I,e,t,n),v,g;if(b&&b.length===2){var p=a0(b[0],b[1]),d=a0(b[1],b[0]);if(v=Jh(p,I,e,t,n,this.oFormatOptions,this.oLocale),g=Jh(d,I,e,t,n,this.oFormatOptions,this.oLocale),v&&g){if(this.oFormatOptions.singleIntervalValue&&v.getTime()===g.getTime())return[v,null];var c=nN(v,g);return t&&!c?(mt.error("StrictParsing: Invalid date range. The given end date is before the start date."),[null,null]):[v,g]}}}else{var y=this.parseRelative(i,e);if(y)return y;if(l=this._parse(i,this.aFormatArray,e,t,n),(l.index===0||l.indext[1])?null:(l=this.oLocaleData.getRelativePattern(y,n,s>0,this.oFormatOptions.relativeStyle),oN(l,[Math.abs(n)]))};_e.prototype._mRanges={second:[-60,60],minute:[-60,60],hour:[-24,24],day:[-6,6],week:[-4,4],month:[-12,12],year:[-10,10]};_e.prototype._mScales={second:1,minute:60,hour:3600,day:86400,week:604800,month:2592e3,quarter:7776e3,year:31536e3};_e.prototype._getScale=function(i,e){var t,o;i=Math.abs(i);for(var r=0;r=this._mScales[o]){t=o;break}return t||(t=e[e.length-1]),t};function aN(i,e,t,o){var r=Math.abs(i.getUTCMonth()-e.getUTCMonth());if(t==="week"&&r===2)return"month";if(t==="week"&&r===1){if(i.getUTCDate()===e.getUTCDate()||o<0&&i.getUTCDate()0&&i.getUTCDate()>e.getUTCDate())return"month"}else if(t==="month"&&r===1&&(o>0&&i.getUTCDate()e.getUTCDate()))return"week";return t}function Xr(i,e){for(var t,o=["FullYear","Month","Date","Hours","Minutes","Seconds","Milliseconds"],r=new Date(i.getTime()),n=e;ne.valueOf()}isSameOrBefore(e){return Sc(e),this.valueOf()<=e.valueOf()}isSameOrAfter(e){return Sc(e),this.valueOf()>=e.valueOf()}isSame(e){return Sc(e),this.valueOf()===e.valueOf()}toLocalJSDate(){const e=Ln.getInstance(this._oUDate.getTime());return e.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),e.setHours(0,0,0,0),e}toUTCJSDate(){const e=Ln.getInstance(this._oUDate.getTime());return e.setUTCHours(0,0,0,0),e}toString(){return`${this._oUDate.sCalendarType}: ${this.getYear()}/${this.getMonth()+1}/${this.getDate()}`}valueOf(){return this._oUDate.getTime()}static fromLocalJSDate(e,t){function o(r){return r&&Object.prototype.toString.call(r)==="[object Date]"&&!isNaN(r)}if(!o(e))throw new Error(`Date parameter must be a JavaScript Date object: [${e}].`);return new Hd(e.getFullYear(),e.getMonth(),e.getDate(),t)}static fromTimestamp(e,t){const o=new Hd(0,0,1);let r;try{r=xa.getInstance(Ln.getInstance(e),t)}catch{r=new Date(NaN)}return o._oUDate=r,o}};function s0(i,e){return e?xa.getInstance(l0(i),e):new xa(l0(i).getTime())}function l0(i){const e=new Date(Date.UTC(0,0,1));return e.setUTCFullYear(i.getFullYear(),i.getMonth(),i.getDate()),e}function Sc(i){if(!(i instanceof Oe))throw new Error(`Invalid calendar date: [${i}]. Expected: CalendarDate`)}function ds(i,e){if(i===void 0||i===1/0||isNaN(i))throw e}const bu=(i,e,t,o=!0,r,n)=>{const s=new Oe(i);switch(t){case"day":s.setDate(i.getDate()+e);break;case"month":if(o){s.setMonth(i.getMonth()+e);const l=e===-1&&s.getMonth()===i.getMonth(),I=e===1&&s.getMonth()-i.getMonth()>1;(l||I)&&s.setDate(0)}else e===1&&s.setMonth(s.getMonth()+1,1),e===-1&&s.setDate(0);break;case"year":s.setYear(i.getYear()+e),s.getMonth()!==i.getMonth()&&s.setDate(0);break}return r&&s.isBefore(r)?new Oe(r):n&&s.isAfter(n)?new Oe(n):s},_N=i=>(i||(i=new Date().getTime()),(i-i%(24*60*60*1e3))/1e3),Ov=i=>Oe.fromLocalJSDate(Ln.getInstance(),i).valueOf()/1e3;var T1;(function(i){i.DAY_MONTH_YEAR="DAY_MONTH_YEAR",i.MONTH_YEAR="MONTH_YEAR",i.YEAR="YEAR"})(T1||(T1={}));const Xo=T1,hN="appointment-2",n6="M32 481V65q0-14 9.5-23T64 33h64V1h32v32h192V1h32v32h64q14 0 23 9t9 23v416q0 14-9 23t-23 9H64q-13 0-22.5-9T32 481zm416 0V129H64v352h384zM256 193q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM128 321q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm256-128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm0 128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm-128 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM96 225q0-14 9-23t23-9 23 9 9 23-9 23-23 9-23-9-9-23zM384 97V65h-32v32h32zM128 65v32h32V65h-32z",pN=!1,fN="SAP-icons-v4",vN="@ui5/webcomponents-icons";ee(hN,{pathData:n6,ltr:pN,collection:fN,packageName:vN});const mN="appointment-2",a6="M403 64q32 0 54.5 22.5T480 141v294q0 32-22.5 54.5T403 512H109q-32 0-54.5-22.5T32 435V141q0-32 22.5-54.5T109 64h25V26q0-11 7.5-18.5T160 0t18.5 7.5T186 26v38h140V26q0-11 7.5-18.5T352 0t18.5 7.5T378 26v38h25zm-294 51q-11 0-18.5 7.5T83 141v64h346v-64q0-11-7.5-18.5T403 115h-25v19q0 11-7.5 18.5T352 160t-18.5-7.5T326 134v-19H186v19q0 11-7.5 18.5T160 160t-18.5-7.5T134 134v-19h-25zm294 346q11 0 18.5-7.5T429 435V256H83v179q0 11 7.5 18.5T109 461h294zM160 320q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9z",gN=!1,bN="SAP-icons-v5",yN="@ui5/webcomponents-icons";ee(mN,{pathData:a6,ltr:gN,collection:bN,packageName:yN});Se();const ep=new Map,kr=i=>(ep.has(i)||ep.set(i,new zw(i)),ep.get(i)),kl=new Map,wN=i=>{const e=`min ${i}`;if(!kl.has(e)){const t=new Oe(1,0,1,i);t.setYear(1),t.setMonth(0),t.setDate(1),kl.set(e,t)}return kl.get(e)},s6=i=>{const e=`max ${i}`;if(!kl.has(e)){const t=new Oe(1,0,1,i);t.setYear(9999),t.setMonth(11);const o=new Oe(t,i);o.setDate(1),o.setMonth(o.getMonth()+1,0),t.setDate(o.getDate()),kl.set(e,t)}return kl.get(e)};var vc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},C1;let Ha=C1=class extends ie{constructor(){super()}get _primaryCalendarType(){const e=kr(je());return this.primaryCalendarType||hw()||e.getPreferredCalendarType()}get _secondaryCalendarType(){return this.secondaryCalendarType||Hk()}get _minDate(){let e;return this.minDate&&(e=this._getMinMaxCalendarDateFromString(this.minDate)),e||wN(this._primaryCalendarType)}get _maxDate(){let e;return this.maxDate&&(e=this._getMinMaxCalendarDateFromString(this.maxDate)),e||s6(this._primaryCalendarType)}get _formatPattern(){return this.formatPattern||"medium"}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}_getMinMaxCalendarDateFromString(e){if(this.getFormat().parse(e))return this._getCalendarDateFromString(e);const t=this.getISOFormat().parse(e);if(t)return Oe.fromLocalJSDate(t,this._primaryCalendarType)}_getCalendarDateFromString(e){const t=this.getFormat().parse(e);if(t)return Oe.fromLocalJSDate(t,this._primaryCalendarType)}_getTimeStampFromString(e){const t=this._getCalendarDateFromString(e);if(t)return t.toUTCJSDate().valueOf()}_getStringFromTimestamp(e){const t=new Date(e);return this.getFormat().format(t,!0)}getFormat(){return this._isPattern?to.getDateInstance({strictParsing:!0,pattern:this._formatPattern,calendarType:this._primaryCalendarType}):to.getDateInstance({strictParsing:!0,style:this._formatPattern,calendarType:this._primaryCalendarType})}getISOFormat(){return this._isoFormatInstance||(this._isoFormatInstance=to.getDateInstance({strictParsing:!0,pattern:"YYYY-MM-dd",calendarType:this._primaryCalendarType})),this._isoFormatInstance}static async onDefine(){[C1.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),ec(je().getLanguage(),je().getRegion(),je().getScript())])}};vc([A({type:cn})],Ha.prototype,"primaryCalendarType",void 0);vc([A({type:cn})],Ha.prototype,"secondaryCalendarType",void 0);vc([A()],Ha.prototype,"formatPattern",void 0);vc([A()],Ha.prototype,"minDate",void 0);vc([A()],Ha.prototype,"maxDate",void 0);Ha=C1=vc([K({languageAware:!0,renderer:de})],Ha);const l6=Ha,TN=i=>{const e=new Oe(i);return e.setDate(1),e.setMonth(e.getMonth()+1),e.setDate(0),e.getDate()},eu=(i,e,t,o)=>{let r=Oe.fromLocalJSDate(Ln.getInstance(t*1e3),i),n=Oe.fromLocalJSDate(Ln.getInstance(t*1e3),i);return r.setDate(1),o&&(r.setMonth(0),n.setMonth(11)),n.setDate(TN(n)),r=new Oe(r,e),n=new Oe(n,e),{firstDate:r,lastDate:n}},c6=(i,e,t)=>{const o=kr(je()),r=o.getIntervalPattern(""),n=o.getMonthsStandAlone("abbreviated",t),s=o.getMonthsStandAlone("wide",t);return i===e?{text:o.getMonths("abbreviated",t)[i],textInfo:o.getMonths("wide",t)[i]}:{text:r.replace(/\{0\}/,n[i]).replace(/\{1\}/,n[e]),textInfo:r.replace(/\{0\}/,s[i]).replace(/\{1\}/,s[e])}};var u6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let yu=class extends ie{};u6([A()],yu.prototype,"value",void 0);yu=u6([K("ui5-date")],yu);yu.define();const Bv=yu;var d6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let b_=class extends l6{get _minTimestamp(){return this._minDate.valueOf()/1e3}get _maxTimestamp(){return this._maxDate.valueOf()/1e3}get _timestamp(){let e=this.timestamp!==void 0?this.timestamp:Ov(this._primaryCalendarType);return this._maxTimestamp&&this._maxTimestampe&&(e=this._minTimestamp),e}get _localDate(){return new Date(this._timestamp*1e3)}get _calendarDate(){return Oe.fromTimestamp(this._localDate.getTime(),this._primaryCalendarType)}_safelySetTimestamp(e){const t=this._minDate.valueOf()/1e3,o=this._maxDate.valueOf()/1e3;eo&&(e=o),this.timestamp=e}_safelyModifyTimestampBy(e,t,o){const r=bu(this._calendarDate,e,t,o);this._safelySetTimestamp(r.valueOf()/1e3)}_getTimestampFromDom(e){const t=e.getAttribute("data-sap-timestamp");return parseInt(t)}};d6([A({validator:ae})],b_.prototype,"timestamp",void 0);b_=d6([K()],b_);const J_=b_;function CN(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-left">
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?c0.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?u0.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} class="ui5-calheader-arrowicon" name="slim-arrow-right">
    `:w`
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType?c0.call(this,i,e,t):void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType?u0.call(this,i,e,t):void 0}
    `}function c0(i,e,t){return w`${a(this._secondMonthButtonText)}`}function u0(i,e,t){return w`${a(this._yearButtonTextSecType)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const IN={packageName:"@ui5/webcomponents",fileName:"themes/CalendarHeader.css.ts",content:`:host{display:block;width:100%;height:100%}.ui5-calheader-root{display:flex;height:100%;padding:var(--_ui5-v1-22-1-rc-0_calendar_header_padding);box-sizing:border-box}.ui5-calheader-arrowbtn{display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width);background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);cursor:pointer;overflow:hidden;white-space:nowrap;padding:0;font-size:var(--sapFontSize);user-select:none}.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:hover,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:active,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:focus,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled{opacity:.4;cursor:default;outline:none;background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor)}[hidden].ui5-calheader-arrowbtn.ui5-calheader-middlebtn{display:none}.ui5-calheader-arrowbtn:focus{outline:none}.ui5-calheader-arrowbtn:hover{background-color:var(--sapButton_Hover_Background);color:var(--sapButton_Lite_TextColor);box-shadow:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_box_shadow)}.ui5-calheader-arrowbtn:active{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor)}.ui5-calheader-arrowbtn,.ui5-calheader-middlebtn{border:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border_radius);display:flex;background-color:var(--sapButton_Lite_Background);border-color:var(--sapButton_Lite_BorderColor)}.ui5-calheader-middlebtn{flex-direction:column;align-items:center;justify-content:center}.ui5-calheader-arrowbtn:not(:active) .ui5-calheader-btn-sectext{color:var(--sapNeutralElementColor);font-size:var(--sapFontSmallSize)}.ui5-calheader-arrowicon{color:currentColor;pointer-events:none}.ui5-calheader-midcontainer{display:flex;justify-content:space-around;flex:1 1 auto;padding:0 .5rem}.ui5-calheader-midcontainer .ui5-calheader-middlebtn:first-child{margin-inline-end:.5rem}.ui5-calheader-middlebtn{font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_width);flex:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_flex);position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-calheader-middlebtn:focus{border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border_radius);outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_outline);outline-offset:-.125rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_background)}.ui5-calheader-middlebtn:focus:active{outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_outline);outline-offset:-.0625rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_background)}.ui5-calheader-middlebtn:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_display);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_width);height:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_height);border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_border);position:absolute;top:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_top_offset);left:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_left_offset)}.ui5-calheader-middlebtn:focus:active:after{border-color:var(--sapContent_ContrastFocusColor)} -`};var ur=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Oc;let Ui=Oc=class extends ie{static async onDefine(){Oc.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this._prevButtonText=Oc.i18nBundle.getText(u8),this._nextButtonText=Oc.i18nBundle.getText(c8),this.hasSecondaryCalendarType&&(this._secondMonthButtonText=this.buttonTextForSecondaryCalendarType.monthButtonText,this._secondYearButtonText=this.buttonTextForSecondaryCalendarType.yearButtonText)}onPrevButtonClick(e){if(this.isPrevButtonDisabled){e.preventDefault();return}this.fireEvent("previous-press",e),e.preventDefault()}onNextButtonClick(e){if(this.isNextButtonDisabled){e.preventDefault();return}this.fireEvent("next-press",e),e.preventDefault()}onMonthButtonClick(e){this.fireEvent("show-month-press",e)}onMonthButtonKeyDown(e){le(e)&&e.preventDefault(),Ie(e)&&this.fireEvent("show-month-press",e)}onMonthButtonKeyUp(e){le(e)&&(e.preventDefault(),this.fireEvent("show-month-press",e))}onYearButtonClick(e){this.fireEvent("show-year-press",e)}onYearButtonKeyDown(e){le(e)&&e.preventDefault(),Ie(e)&&this.fireEvent("show-year-press",e)}onYearButtonKeyUp(e){le(e)&&(e.preventDefault(),this.fireEvent("show-year-press",e))}get hasSecondaryCalendarType(){return!!this.secondaryCalendarType&&this.secondaryCalendarType!==this.primaryCalendarType}get classes(){return{prevButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isPrevButtonDisabled},nextButton:{"ui5-calheader-arrowbtn":!0,"ui5-calheader-arrowbtn-disabled":this.isNextButtonDisabled}}}get accInfo(){return{ariaLabelMonthButton:this.hasSecondaryCalendarType?`${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.monthButtonInfo}`:`${this._monthButtonText}`}}};ur([A({validator:ae})],Ui.prototype,"timestamp",void 0);ur([A({type:cn})],Ui.prototype,"primaryCalendarType",void 0);ur([A({type:cn})],Ui.prototype,"secondaryCalendarType",void 0);ur([A({type:Object})],Ui.prototype,"buttonTextForSecondaryCalendarType",void 0);ur([A({type:Boolean})],Ui.prototype,"isNextButtonDisabled",void 0);ur([A({type:Boolean})],Ui.prototype,"isPrevButtonDisabled",void 0);ur([A({type:Boolean})],Ui.prototype,"isMonthButtonHidden",void 0);ur([A()],Ui.prototype,"_monthButtonText",void 0);ur([A()],Ui.prototype,"_yearButtonText",void 0);ur([A()],Ui.prototype,"_yearButtonTextSecType",void 0);ur([A({type:Boolean})],Ui.prototype,"isYearButtonHidden",void 0);Ui=Oc=ur([K({tag:"ui5-calendar-header",languageAware:!0,renderer:de,template:CN,styles:IN,dependencies:[Be]}),q("next-press"),q("previous-press"),q("show-month-press"),q("show-year-press")],Ui);Ui.define();const SN=Ui,kN=(i,e,t,o,r)=>{let n=0,s=0;const l=Number.isInteger(i)?i:r.getFirstDayOfWeek();if(o&&o.getLanguage()==="en"&&o.getRegion()==="US"){const I=new xa(e.getTime());I.setUTCFullYear(t,0,1),s=I.getUTCDay();const y=new xa(e.getTime());y.setUTCDate(y.getUTCDate()-y.getUTCDay()+s),n=Math.round((y.getTime()-I.getTime())/864e5/7)+1}else{const I=new xa(e.getTime());I.setUTCDate(I.getUTCDate()-l),s=I.getUTCDay(),I.setUTCDate(I.getUTCDate()-s+4);const y=new xa(I.getTime());y.setUTCMonth(0,1),s=y.getUTCDay();let C=0;s>4&&(C=7);const b=new xa(y.getTime());b.setUTCDate(1-s+4+C),n=Math.round((I.getTime()-b.getTime())/864e5/7)+1}return n};var I1;(function(i){i.Single="Single",i.Multiple="Multiple",i.Range="Range"})(I1||(I1={}));const Cr=I1;function EN(i,e,t){return w`
    ${X(this._dayNames,(o,r)=>o._id||r,(o,r)=>$N.call(this,i,e,t,o,r))}
    ${X(this._weeks,(o,r)=>o._id||r,(o,r)=>AN.call(this,i,e,t,o,r))}
    `}function $N(i,e,t,o,r){return w`
    ${a(o.ultraShortName)}
    `}function AN(i,e,t,o,r){return w`${o.length?xN.call(this,i,e,t,o,r):LN.call(this,i,e,t,o,r)}`}function xN(i,e,t,o,r){return w`
    ${X(o,(n,s)=>n._id||s,(n,s)=>DN.call(this,i,e,t,n,s))}
    `}function DN(i,e,t,o,r){return w`${o.timestamp?PN.call(this,i,e,t,o,r):BN.call(this,i,e,t,o,r)}`}function PN(i,e,t,o,r){return w`
    ${a(o.day)}${o._isSecondaryCalendarType?ON.call(this,i,e,t,o,r):void 0}
    `}function ON(i,e,t,o,r){return w`${a(o.secondDay)}`}function BN(i,e,t,o,r){return w`${o.isHidden?void 0:RN.call(this,i,e,t,o,r)}`}function RN(i,e,t,o,r){return w`
    ${a(o.weekNum)}
    `}function LN(i,e,t,o,r){return w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const NN={packageName:"@ui5/webcomponents",fileName:"themes/DayPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{height:100%;width:100%}:host([hide-week-numbers]) .ui5-dp-content{flex-basis:100%}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item{flex-direction:column;justify-content:var(--_ui5-v1-22-1-rc-0_day_picker_item_justify_content)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daytext{height:1.575rem;padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daysectext{font-size:.625rem;height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding:0 .375rem .375rem 50%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-item{width:var(--_ui5-v1-22-1-rc-0_day_picker_item_width);height:var(--_ui5-v1-22-1-rc-0_day_picker_item_height);margin-top:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);margin-right:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);font-family:"72override",var(--sapFontFamily);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-weekname{color:var(--_ui5-v1-22-1-rc-0_daypicker_weekname_color)}.ui5-dp-weeks-row{display:flex}.ui5-dp-content{display:flex;flex-basis:87.5%;flex-direction:column;font-family:"72override",var(--sapFontFamily)}.ui5-dp-days-names-container{display:flex;height:var(--_ui5-v1-22-1-rc-0_daypicker_daynames_container_height)}.ui5-dp-weeknumber-container{padding-top:var(--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top);flex-basis:12.5%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-weekname-container,.ui5-dp-item{display:flex;flex-grow:1;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);outline:none;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-dp-item{position:relative;color:var(--sapTextColor);background:var(--sapLegend_WorkingBackground);font-size:var(--sapFontSize);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item:hover{background:var(--sapList_Hover_Background)}.ui5-dp-daytext{display:flex;width:100%;height:100%;justify-content:center;align-items:center;box-sizing:border-box}.ui5-dp-dayname{color:var(--_ui5-v1-22-1-rc-0_daypicker_dayname_color);height:100%}.ui5-dp-item.ui5-dp-item--weeekend{background:var(--sapLegend_NonWorkingBackground)}.ui5-dp-item.ui5-dp-item--disabled{pointer-events:none;opacity:.5}.ui5-dp-item.ui5-dp-item--weeekend:hover{background:var(--sapList_Hover_Background);filter:var(--_ui5-v1-22-1-rc-0_daypicker_item_weeekend_filter)}.ui5-dp-item.ui5-dp-item--othermonth{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_color);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_background_color);border-color:transparent}.ui5-dp-item.ui5-dp-item--othermonth:hover,.ui5-dp-item.ui5-dp-item--weeekend.ui5-dp-item--othermonth:hover{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_hover_color);background:var(--sapList_Hover_Background)}.ui5-dp-item:focus:after{content:"";border:var(--_ui5-v1-22-1-rc-0_daypicker_item_not_selected_focus_border);position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_no_selected_inset);outline:none;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_focus_after)}.ui5-dp-item.ui5-dp-item--now:before{position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_not_selected_inset);border:.125rem solid var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_color);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected{box-shadow:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_box_shadow)}.ui5-dp-item.ui5-dp-item--selected{background:var(--sapContent_Selected_Background)}.ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{position:absolute;inset:0;border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_border);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_background);color:var(--sapContent_Selected_TextColor);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_border);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected:hover .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_daytext_hover_background);color:var(--sapContent_Selected_TextColor)}.ui5-dp-item.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_radius_focus_after);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_focus_after);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_radius_focus);border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_focus);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected:hover{background:var( --_ui5-v1-22-1-rc-0_daypicker_item_selected_hover);color:var(--sapContent_ContrastTextColor)}.ui5-dp-item.ui5-dp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_color);border-width:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_width)}.ui5-dp-items-container{outline:none}.ui5-dp-item.ui5-dp-item--selected-between .ui5-dp-daytext,.ui5-dp-item[hovered] .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_daypicker_item_select_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);background-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_background);color:var(--sapTextColor);font-weight:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_font)}.ui5-dp-item.ui5-dp-item--selected-between.ui5-dp-item--now:not(.ui5-dp-item--selected) .ui5-dp-daytext:after{content:"";position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_inset);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border_radius)}.ui5-dp-item.ui5-dp-item--selected-between,.ui5-dp-item[hovered]{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_border);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_background)}.ui5-dp-item.ui5-dp-item--selected-between:hover{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_hover_background)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--selected-between:focus:after{border-color:var(--sapContent_FocusColor)}.ui5-dp-items-container>:first-child{justify-content:flex-end}.ui5-dp-emptyweek{height:var(--_ui5-v1-22-1-rc-0_day_picker_empty_height)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype:focus:after{outline-offset:-.1875rem;border-radius:var(--_ui5-v1-22-1-rc-0-dp-item_withsecondtype_border)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now.ui5-dp-item--withsecondtype .ui5-dp-daysectext,.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext{border:none;outline:none}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{border-width:.125rem}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height);padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daysectext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding-top:0;border-radius:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_border_radios)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_focus_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_select_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:focus:after{border-width:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_width);inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext:not(.ui5-dp-daysectext):before{content:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_day_text_content);position:absolute;inset:.3125rem;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected__secondary_type_text_outline)} -`};var Qa=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Bc;const d0=(i,e,t)=>i>Math.min(e,t)&&ib.valueOf(),k=l.isSame(I),x=l.getDay()===t,E=m?`${n} `:"",$=k?`${s} `:"",P=v?v.getDate():"",O=v?v.getYear():"",B=r.length>0?r[v.getMonth()]:"",R=this.hasSecondaryCalendarType?`${$}${E}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}; ${B} ${P}, ${O}`:`${$}${E}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}`,L={timestamp:d.toString(),focusRef:_,_tabIndex:_?"0":"-1",selected:h,day:l.getDate(),secondDay:this.hasSecondaryCalendarType?v.getDate():void 0,_isSecondaryCalendarType:this.hasSecondaryCalendarType,classes:`ui5-dp-item ui5-dp-wday${c}`,ariaLabel:R,ariaSelected:h?"true":"false",ariaDisabled:u?"true":void 0,disabled:T};x&&(L.classes+=" ui5-dp-firstday"),h&&(L.classes+=" ui5-dp-item--selected"),f&&(L.classes+=" ui5-dp-item--selected-between"),k&&(L.classes+=" ui5-dp-item--now"),u&&(L.classes+=" ui5-dp-item--othermonth"),m&&(L.classes+=" ui5-dp-item--weeekend"),T&&(L.classes+=" ui5-dp-item--disabled"),this.hasSecondaryCalendarType&&(L.classes+=" ui5-dp-item--withsecondtype"),g.push(L),c===_s-1&&g.unshift({weekNum:kN(Ip(),l.toUTCJSDate(),l.getYear(),je(),e),isHidden:this.shouldHideWeekNumbers}),g.length===_s+1&&(this._weeks.push(g),g=[]),l.setDate(l.getDate()+1),this.hasSecondaryCalendarType&&v&&v.setDate(v.getDate()+1)}}_buildDayNames(e){if(this._hidden)return;let t;const o=e.getDays("wide",this._primaryCalendarType);let r=e.getDays("abbreviated",this._primaryCalendarType),n;this.namesTooLong(r)&&(r=e.getDays("narrow",this._primaryCalendarType)),this._dayNames=[],this._dayNames.push({classes:"ui5-dp-dayname",name:Bc.i18nBundle.getText(d8)});for(let s=0;s<_s;s++)t=s+this._getFirstDayOfWeek(),t>_s-1&&(t-=_s),n={name:o[t],ultraShortName:r[t],classes:"ui5-dp-dayname"},this._dayNames.push(n);this._dayNames[1].classes+=" ui5-dp-firstday",this.shouldHideWeekNumbers&&this._dayNames.shift()}namesTooLong(e){return e.some(t=>t.length>3)}onAfterRendering(){this._autoFocus&&!this._hidden&&this.focus();const e=this.shadowRoot.querySelector("[data-sap-focus-ref]");e&&document.activeElement!==e&&e.focus()}_onfocusin(){this._autoFocus=!0}_onfocusout(){this._autoFocus=!1}_isDaySelected(e){return this.selectionMode===Cr.Single?e===this.selectedDates[0]:this.selectedDates.includes(e)}_isDayInsideSelectionRange(e){return this.selectionMode!==Cr.Range||!this.selectedDates.length?!1:this.selectedDates.length===1&&this._secondTimestamp?d0(e,this.selectedDates[0],this._secondTimestamp):d0(e,this.selectedDates[0],this.selectedDates[1])}_selectDate(e,t){const o=e.target;if(!this._isDayPressed(o))return;const r=this._getTimestampFromDom(o);this._safelySetTimestamp(r),this._updateSecondTimestamp(),this.selectionMode===Cr.Single?this.selectedDates=[r]:this.selectionMode===Cr.Multiple?this.selectedDates.length>0&&t?this._multipleSelection(r):this._toggleTimestampInSelection(r):this.selectedDates=this.selectedDates.length===1?[...this.selectedDates,r]:[r],this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_selectWeek(){this._weeks.forEach(e=>{const t=e;t.findIndex(r=>{const n=Oe.fromTimestamp(parseInt(r.timestamp)*1e3);return n.getMonth()===this._calendarDate.getMonth()&&n.getDate()===this._calendarDate.getDate()})!==-1&&(t.some(n=>n.timestamp&&!this.selectedDates.includes(parseInt(n.timestamp)))?t.filter(n=>n.timestamp).forEach(n=>{this._addTimestampToSelection(parseInt(n.timestamp))}):t.filter(n=>n.timestamp).forEach(n=>{this._removeTimestampFromSelection(parseInt(n.timestamp))}))}),this.fireEvent("change",{timestamp:this.timestamp,dates:this.selectedDates})}_toggleTimestampInSelection(e){this.selectedDates.includes(e)?this._removeTimestampFromSelection(e):this._addTimestampToSelection(e)}_addTimestampToSelection(e){this.selectedDates.includes(e)||(this.selectedDates=[...this.selectedDates,e])}_removeTimestampFromSelection(e){this.selectedDates=this.selectedDates.filter(t=>t!==e)}_multipleSelection(e){const t=Math.min(...this.selectedDates),o=Math.max(...this.selectedDates);let r,n,s=!1;if(e=t&&e<=o){const y=Math.abs(e-t),C=Math.abs(e-o);y{const o=t;if(o.findIndex(n=>{const s=Oe.fromTimestamp(parseInt(n.timestamp)*1e3);return s.getMonth()===this._calendarDate.getMonth()&&s.getDate()===this._calendarDate.getDate()})!==-1){const n=e?1:7;this._setTimestamp(parseInt(o[n].timestamp))}})}_hasPreviousPage(){return!(this._calendarDate.getMonth()===this._minDate.getMonth()&&this._calendarDate.getYear()===this._minDate.getYear())}_hasNextPage(){return!(this._calendarDate.getMonth()===this._maxDate.getMonth()&&this._calendarDate.getYear()===this._maxDate.getYear())}_showPreviousPage(){this._modifyTimestampBy(-1,"month",!1)}_showNextPage(){this._modifyTimestampBy(1,"month",!1)}_modifyTimestampBy(e,t,o){this._safelyModifyTimestampBy(e,t,o),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_setTimestamp(e){this._safelySetTimestamp(e),this._updateSecondTimestamp(),this.fireEvent("navigate",{timestamp:this.timestamp})}_updateSecondTimestamp(){this.selectionMode===Cr.Range&&(this.selectedDates.length===1||this.selectedDates.length===2)&&(this._secondTimestamp=this.timestamp)}get shouldHideWeekNumbers(){return this._primaryCalendarType!==cn.Gregorian?!0:this.hideWeekNumbers}get classes(){return{root:{"ui5-dp-root":!0,"ui5-dp-twocalendartypes":this.hasSecondaryCalendarType}}}_isWeekend(e){const t=kr(je()),o=e.getDay(),r=t.getWeekendStart(),n=t.getWeekendEnd();return o>=r&&o<=n||n=r||o<=n)}_isDayPressed(e){const t=e.parentNode;return e.className.indexOf("ui5-dp-item")>-1||t&&t.classList&&t.classList.contains("ui5-dp-item")}_getSecondaryDay(e){return new Oe(e,this.secondaryCalendarType)}_getFirstDay(){let e;const t=this._getFirstDayOfWeek(),o=new Oe(this._calendarDate,this._primaryCalendarType);return o.setDate(1),e=o.getDay()-t,e<0&&(e=7+e),e>0&&o.setDate(1-e),o}_getFirstDayOfWeek(){const e=kr(je()),t=Ip();return Number.isInteger(t)?t:e.getFirstDayOfWeek()}get styles(){return{wrapper:{display:this._hidden?"none":"flex","justify-content":"center"},main:{width:"100%"}}}get ariaRoledescription(){return this.hasSecondaryCalendarType?`${this._primaryCalendarType} calendar with secondary ${this.secondaryCalendarType} calendar`:`${this._primaryCalendarType} calendar`}};Qa([A({validator:ae,multiple:!0,compareValues:!0})],Dr.prototype,"selectedDates",void 0);Qa([A({type:Cr,defaultValue:Cr.Single})],Dr.prototype,"selectionMode",void 0);Qa([A({type:Boolean})],Dr.prototype,"hideWeekNumbers",void 0);Qa([A({type:Object,multiple:!0})],Dr.prototype,"_weeks",void 0);Qa([A({type:Object,multiple:!0})],Dr.prototype,"_dayNames",void 0);Qa([A({type:Boolean,noAttribute:!0})],Dr.prototype,"_hidden",void 0);Qa([A()],Dr.prototype,"_secondTimestamp",void 0);Dr=Bc=Qa([K({tag:"ui5-daypicker",styles:NN,template:EN}),q("change"),q("navigate")],Dr);Dr.define();const MN=Dr;function FN(i,e,t){return w`
    ${X(this._months,(o,r)=>o._id||r,(o,r)=>VN.call(this,i,e,t,o,r))}
    `}function VN(i,e,t,o,r){return w`
    ${X(o,(n,s)=>n._id||s,(n,s)=>zN.call(this,i,e,t,n,s))}
    `}function zN(i,e,t,o,r){return w`
    ${a(o.name)}${o.nameInSecType?HN.call(this,i,e,t,o,r):void 0}
    `}function HN(i,e,t,o,r){return w`${a(o.nameInSecType)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const UN={packageName:"@ui5/webcomponents",fileName:"themes/MonthPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-mp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-mp-item{display:flex;flex-direction:column;width:calc(33.333% - .125rem);height:var(--_ui5-v1-22-1-rc-0_month_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;margin:var(--_ui5-v1-22-1-rc-0_monthpicker_item_margin);box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border_radius)}.ui5-dp-monthsectext{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-mp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-mp-item.ui5-mp-item--selected,.ui5-mp-item.ui5-mp-item--selected .ui5-dp-monthsectext{box-shadow:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_box_shadow);font-weight:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_font_wieght);background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_text_color)}.ui5-mp-item.ui5-mp-item--disabled{pointer-events:none;opacity:.5}.ui5-mp-item.ui5-mp-item--selected:focus{background-color:var(--sapContent_Selected_Background)}.ui5-mp-item.ui5-mp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border)}.ui5-mp-item.ui5-mp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_hover_color)}.ui5-mp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_button_focused_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border_radius)}.ui5-mp-quarter{display:flex;justify-content:center;align-items:center;width:100%} -`};var eh=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ud;const kc=12,ll=3;let qs=Ud=class extends J_{static async onDefine(){Ud.i18nBundle=await fe("@ui5/webcomponents")}get roleDescription(){return Ud.i18nBundle.getText(p8)}onBeforeRendering(){this._buildMonths()}onAfterRendering(){this._hidden||this.focus()}_buildMonths(){if(this._hidden)return;const t=kr(je()).getMonthsStandAlone("wide",this._primaryCalendarType),o=[],r=this._calendarDate,n=this._minDate,s=this._maxDate,l=new Oe(r,this._primaryCalendarType);let I;for(let y=0;y<12;y++){l.setMonth(y),I=l.valueOf()/1e3;const C=this.selectedDates.some(d=>{const c=Oe.fromTimestamp(d*1e3,this._primaryCalendarType);return c.getYear()===l.getYear()&&c.getMonth()===l.getMonth()}),b=l.getMonth()===r.getMonth(),v=this._isOutOfSelectableRange(l,n,s),g={timestamp:I.toString(),focusRef:b,_tabIndex:b?"0":"-1",selected:C,ariaSelected:C?"true":"false",name:t[y],nameInSecType:this.hasSecondaryCalendarType&&this._getDisplayedSecondaryMonthText(I).text,disabled:v,classes:"ui5-mp-item"};C&&(g.classes+=" ui5-mp-item--selected"),v&&(g.classes+=" ui5-mp-item--disabled");const p=Math.floor(y/ll);o[p]?o[p].push(g):o[p]=[g]}this._months=o}_getDisplayedSecondaryMonthText(e){const t=eu(this._primaryCalendarType,this.secondaryCalendarType,e);return c6(t.firstDate.getMonth(),t.lastDate.getMonth(),this.secondaryCalendarType)}_onkeydown(e){let t=!0;Ie(e)?this._selectMonth(e):le(e)?e.preventDefault():Ct(e)?this._modifyTimestampBy(-1):_t(e)?this._modifyTimestampBy(1):Xe(e)?this._modifyTimestampBy(-ll):qe(e)?this._modifyTimestampBy(ll):Li(e)?this._modifyTimestampBy(-kc):eo(e)?this._modifyTimestampBy(kc):Wt(e)||ki(e)?this._onHomeOrEnd(Wt(e)):tc(e)?this._setTimestamp(parseInt(this._months[0][0].timestamp)):Ns(e)?this._setTimestamp(parseInt(this._months[kc/ll-1][ll-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._months.forEach(t=>{if(t.findIndex(r=>Oe.fromTimestamp(parseInt(r.timestamp)*1e3).getMonth()===this._calendarDate.getMonth())!==-1){const r=e?0:ll-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e,t){this._safelyModifyTimestampBy(e,"month",t),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){le(e)&&this._selectMonth(e)}_selectMonth(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-mp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._calendarDate.getYear()!==this._minDate.getYear()}_hasNextPage(){return this._calendarDate.getYear()!==this._maxDate.getYear()}_showPreviousPage(){this._modifyTimestampBy(-kc,!0)}_showNextPage(){this._modifyTimestampBy(kc,!0)}_isOutOfSelectableRange(e,t,o){const r=e.getMonth(),n=e.getYear(),s=t.getYear(),l=t.getMonth(),I=o.getYear(),y=o.getMonth();return nI||n===I&&r>y}};eh([A({validator:ae,multiple:!0,compareValues:!0})],qs.prototype,"selectedDates",void 0);eh([A({type:Object,multiple:!0})],qs.prototype,"_months",void 0);eh([A({type:Boolean,noAttribute:!0})],qs.prototype,"_hidden",void 0);qs=Ud=eh([K({tag:"ui5-monthpicker",template:FN,styles:UN}),q("change"),q("navigate")],qs);qs.define();const qN=qs;function WN(i,e,t){return w`
    ${X(this._years,(o,r)=>o._id||r,(o,r)=>jN.call(this,i,e,t,o,r))}
    `}function jN(i,e,t,o,r){return w`
    ${X(o,(n,s)=>n._id||s,(n,s)=>GN.call(this,i,e,t,n,s))}
    `}function GN(i,e,t,o,r){return w`
    ${a(o.year)}${o.yearInSecType?YN.call(this,i,e,t,o,r):void 0}
    `}function YN(i,e,t,o,r){return w`${a(o.yearInSecType)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const XN={packageName:"@ui5/webcomponents",fileName:"themes/YearPicker.css.ts",content:`:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-yp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-yp-interval-container{display:flex;justify-content:center;align-items:center;width:100%}.ui5-yp-item{display:flex;margin:var(--_ui5-v1-22-1-rc-0_yearpicker_item_margin);width:calc(25% - .125rem);height:var(--_ui5-v1-22-1-rc-0_year_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border_radius)}.ui5-yp-item-secondary-type{flex-direction:column;width:calc(50% - .125rem)}.ui5-yp-item-sec-type{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-yp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-yp-item.ui5-yp-item--selected,.ui5-yp-item.ui5-yp-item--selected .ui5-yp-item-sec-type{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_text_color);box-shadow:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_box_shadow);font-weight:700}.ui5-yp-item.ui5-yp-item--disabled{pointer-events:none;opacity:.5}.ui5-yp-item.ui5-yp-item--selected:focus{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_focus)}.ui5-yp-item.ui5-yp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border)}.ui5-yp-item.ui5-yp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_hover_color)}.ui5-yp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border_radius);outline:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_outline)} -`};var th=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},qd;let Ws=qd=class extends J_{static async onDefine(){qd.i18nBundle=await fe("@ui5/webcomponents")}get roleDescription(){return qd.i18nBundle.getText(f8)}onBeforeRendering(){this._buildYears()}_getPageSize(){return this.hasSecondaryCalendarType?8:20}_getRowSize(){return this.hasSecondaryCalendarType?2:4}_buildYears(){if(this._hidden)return;const e=this._getPageSize(),t=je(),o=to.getDateInstance({format:"y",calendarType:this._primaryCalendarType},t),r=to.getDateInstance({format:"y",calendarType:this.secondaryCalendarType},t);this._calculateFirstYear(),this._lastYear=this._firstYear+e-1;const n=this._calendarDate,s=this._minDate,l=this._maxDate,I=new Oe(n,this._primaryCalendarType);let y,C;I.setYear(this._firstYear);const b=[];let v;for(let g=0;gOe.fromTimestamp(f*1e3,this._primaryCalendarType).getYear()===I.getYear()),d=I.getYear()===n.getYear(),c=I.getYear()l.getYear();this.hasSecondaryCalendarType&&(y=eu(this._primaryCalendarType,this.secondaryCalendarType,v,!0),C=y.firstDate.getYear()===y.lastDate.getYear()?`${r.format(y.firstDate.toLocalJSDate(),!0)}`:`${r.format(y.firstDate.toLocalJSDate(),!0)} - ${r.format(y.lastDate.toLocalJSDate(),!0)}`);const _={timestamp:v.toString(),_tabIndex:d?"0":"-1",focusRef:d,selected:p,ariaSelected:p?"true":"false",year:o.format(I.toLocalJSDate()),yearInSecType:C,disabled:c,classes:"ui5-yp-item"};p&&(_.classes+=" ui5-yp-item--selected"),c&&(_.classes+=" ui5-yp-item--disabled"),this.hasSecondaryCalendarType&&(_.classes+=" ui5-yp-item-secondary-type");const h=Math.floor(g/this._getRowSize());b[h]?b[h].push(_):b[h]=[_],I.setYear(I.getYear()+1)}this._years=b}_calculateFirstYear(){const e=this._getPageSize(),t=s6(this._primaryCalendarType).getYear(),o=this._calendarDate.getYear();this._firstYear||(this._firstYear=o-e/2),o=this._firstYear+e&&(this._firstYear+=e),Math.abs(this._firstYear-o)>=e&&(this._firstYear=o-e/2),this._firstYear=Math.max(this._firstYear,this._minDate.getYear()),this._firstYear=Math.min(this._firstYear,this._maxDate.getYear()),this._firstYear>t-e+1&&(this._firstYear=t-e+1)}onAfterRendering(){this._hidden||this.focus()}_onkeydown(e){let t=!0;const o=this._getPageSize(),r=this._getRowSize();Ie(e)?this._selectYear(e):le(e)?e.preventDefault():Ct(e)?this._modifyTimestampBy(-1):_t(e)?this._modifyTimestampBy(1):Xe(e)?this._modifyTimestampBy(-r):qe(e)?this._modifyTimestampBy(r):Li(e)?this._modifyTimestampBy(-o):eo(e)?this._modifyTimestampBy(o):Wt(e)||ki(e)?this._onHomeOrEnd(Wt(e)):tc(e)?this._setTimestamp(parseInt(this._years[0][0].timestamp)):Ns(e)?this._setTimestamp(parseInt(this._years[o/r-1][r-1].timestamp)):t=!1,t&&e.preventDefault()}_onHomeOrEnd(e){this._years.forEach(t=>{if(t.findIndex(r=>Oe.fromTimestamp(parseInt(r.timestamp)*1e3).getYear()===this._calendarDate.getYear())!==-1){const r=e?0:this._getRowSize()-1;this._setTimestamp(parseInt(t[r].timestamp))}})}_setTimestamp(e){this._safelySetTimestamp(e),this.fireEvent("navigate",{timestamp:this.timestamp})}_modifyTimestampBy(e){this._safelyModifyTimestampBy(e,"year"),this.fireEvent("navigate",{timestamp:this.timestamp})}_onkeyup(e){le(e)&&this._selectYear(e)}_selectYear(e){e.preventDefault();const t=e.target;if(t.className.indexOf("ui5-yp-item")>-1){const o=this._getTimestampFromDom(t);this._safelySetTimestamp(o),this.fireEvent("change",{timestamp:this.timestamp})}}_hasPreviousPage(){return this._firstYear>this._minDate.getYear()}_hasNextPage(){return this._firstYear+this._getPageSize()-1
    <${D("ui5-daypicker",e,t)} id="${a(this._id)}-daypicker" ?hidden="${this._isDayPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isDayPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .selectionMode="${a(this.selectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" ?hide-week-numbers="${this.hideWeekNumbers}" @ui5-change="${a(this.onSelectedDatesChange)}" @ui5-navigate="${a(this.onNavigate)}"><${D("ui5-monthpicker",e,t)} id="${a(this._id)}-MP" ?hidden="${this._isMonthPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isMonthPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedMonthChange)}" @ui5-navigate="${a(this.onNavigate)}"><${D("ui5-yearpicker",e,t)} id="${a(this._id)}-YP" ?hidden="${this._isYearPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isYearPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedYearChange)}" @ui5-navigate="${a(this.onNavigate)}">
    <${D("ui5-calendar-header",e,t)} id="${a(this._id)}-head" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .buttonTextForSecondaryCalendarType="${a(this.secondaryCalendarTypeButtonText)}" timestamp="${a(this._timestamp)}" .isPrevButtonDisabled="${a(this._previousButtonDisabled)}" .isNextButtonDisabled="${a(this._nextButtonDisabled)}" .isMonthButtonHidden="${a(this._isHeaderMonthButtonHidden)}" ._monthButtonText="${a(this._headerMonthButtonText)}" ._yearButtonText="${a(this._headerYearButtonText)}" ._yearButtonTextSecType="${a(this._headerYearButtonTextSecType)}" @ui5-previous-press="${a(this.onHeaderPreviousPress)}" @ui5-next-press="${a(this.onHeaderNextPress)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}">`:w`
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const QN={packageName:"@ui5/webcomponents",fileName:"themes/Calendar.css.ts",content:`:host(:not([hidden])){display:inline-block}.ui5-cal-root{background:var(--sapList_Background);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_calendar_height);width:var(--_ui5-v1-22-1-rc-0_calendar_width);padding:var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding) var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) 0;display:flex;flex-direction:column-reverse;justify-content:flex-end}.ui5-cal-root [ui5-calendar-header]{height:var(--_ui5-v1-22-1-rc-0_calendar_header_height);font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily)}.ui5-cal-root .ui5-cal-content{padding:0 var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding)} -`};var Hr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ro=class extends J_{get _selectedDatesTimestamps(){return this.dates.map(e=>{const t=e.value;return t&&!!this.getFormat().parse(t)?this._getTimeStampFromString(t)/1e3:void 0}).filter(e=>!!e)}constructor(){super(),this._valueIsProcessed=!1}_setSelectedDates(e){const t=e.map(r=>this.getFormat().format(new Date(r*1e3),!0)),o=[...this.dates].map(r=>r.value);this.dates.filter(r=>!t.includes(r.value)).forEach(r=>{this.removeChild(r)}),t.filter(r=>!o.includes(r)).forEach(r=>{const n=document.createElement(Bv.getMetadata().getTag());n.value=r,this.appendChild(n)})}_normalizeCurrentPicker(){this._currentPicker==="day"&&this._pickersMode!==Xo.DAY_MONTH_YEAR&&(this._currentPicker="month"),this._currentPicker==="month"&&this._pickersMode===Xo.YEAR&&(this._currentPicker="year")}onBeforeRendering(){this._normalizeCurrentPicker(),this._valueIsProcessed||(this._selectedDatesTimestamps&&(this.timestamp=this._selectedDatesTimestamps[0]),this._valueIsProcessed=!0)}async onAfterRendering(){await Mt(),this._previousButtonDisabled=!this._currentPickerDOM._hasPreviousPage(),this._nextButtonDisabled=!this._currentPickerDOM._hasNextPage();const e=to.getDateInstance({format:"y",calendarType:this.primaryCalendarType}),t=kr(je());if(this._headerMonthButtonText=t.getMonthsStandAlone("wide",this.primaryCalendarType)[this._calendarDate.getMonth()],this._currentPicker==="year"){const o=new Oe(this._calendarDate,this._primaryCalendarType),r=new Oe(this._calendarDate,this._primaryCalendarType);o.setYear(this._currentPickerDOM._firstYear),r.setYear(this._currentPickerDOM._lastYear),this._headerYearButtonText=`${e.format(o.toLocalJSDate(),!0)} - ${e.format(r.toLocalJSDate(),!0)}`}else this._headerYearButtonText=String(e.format(this._localDate,!0));this._secondaryCalendarType&&this._setSecondaryCalendarTypeButtonText()}onInvalidation(e){e.reason==="childchange"&&(this._valueIsProcessed=!1)}onHeaderShowMonthPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="month",this.fireEvent("show-month-press",e)}onHeaderShowYearPress(e){this._currentPickerDOM._autoFocus=!1,this._currentPicker="year",this.fireEvent("show-year-press",e)}get _currentPickerDOM(){return this.shadowRoot.querySelector(`[ui5-${this._currentPicker}picker]`)}onHeaderPreviousPress(){this._currentPickerDOM._showPreviousPage()}onHeaderNextPress(){this._currentPickerDOM._showNextPage()}_setSecondaryCalendarTypeButtonText(){const e=to.getDateInstance({format:"y",calendarType:this._secondaryCalendarType});if(this._currentPicker==="year"){const t=new Oe(this._calendarDate,this._primaryCalendarType),o=new Oe(this._calendarDate,this._primaryCalendarType);t.setYear(this._currentPickerDOM._firstYear),o.setYear(this._currentPickerDOM._lastYear);const r=eu(this.primaryCalendarType,this._secondaryCalendarType,t.valueOf()/1e3,!0).firstDate,n=eu(this.primaryCalendarType,this._secondaryCalendarType,o.valueOf()/1e3,!0).lastDate;this._headerYearButtonTextSecType=`${e.format(r.toLocalJSDate(),!0)} - ${e.format(n.toLocalJSDate(),!0)}`}else this._headerYearButtonTextSecType=String(e.format(this._localDate,!0))}get secondaryCalendarTypeButtonText(){if(!this.hasSecondaryCalendarType)return;const e=new Date(this._timestamp*1e3),t=to.getDateInstance({format:"y",calendarType:this._secondaryCalendarType}),o=eu(this._primaryCalendarType,this._secondaryCalendarType,this._timestamp),r=c6(o.firstDate.getMonth(),o.lastDate.getMonth(),this._secondaryCalendarType);return{yearButtonText:t.format(e,!0),monthButtonText:r.text,monthButtonInfo:r.textInfo}}get _isHeaderMonthButtonHidden(){return this._currentPicker==="month"||this._currentPicker==="year"}get _isDayPickerHidden(){return this._currentPicker!=="day"}get _isMonthPickerHidden(){return this._currentPicker!=="month"}get _isYearPickerHidden(){return this._currentPicker!=="year"}_fireEventAndUpdateSelectedDates(e){const t=e.map(r=>{const n=Oe.fromTimestamp(r*1e3,this._primaryCalendarType);return this.getFormat().format(n.toUTCJSDate(),!0)});!this.fireEvent("selected-dates-change",{timestamp:this.timestamp,dates:[...e],values:t},!0)||this._setSelectedDates(e)}onSelectedDatesChange(e){this.timestamp=e.detail.timestamp,this._fireEventAndUpdateSelectedDates(e.detail.dates)}onSelectedMonthChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===Xo.DAY_MONTH_YEAR?this._currentPicker="day":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onSelectedYearChange(e){this.timestamp=e.detail.timestamp,this._pickersMode===Xo.DAY_MONTH_YEAR?this._currentPicker="day":this._pickersMode===Xo.MONTH_YEAR?this._currentPicker="month":this._fireEventAndUpdateSelectedDates([this.timestamp]),this._currentPickerDOM._autoFocus=!0}onNavigate(e){this.timestamp=e.detail.timestamp}_onkeydown(e){L_(e)&&this._currentPicker!=="month"&&(this._currentPicker="month"),V9(e)&&this._currentPicker!=="year"&&(this._currentPicker="year")}get selectedDates(){return this._selectedDatesTimestamps}set selectedDates(e){this._setSelectedDates(e)}};Hr([A({type:Cr,defaultValue:Cr.Single})],ro.prototype,"selectionMode",void 0);Hr([A({type:Boolean})],ro.prototype,"hideWeekNumbers",void 0);Hr([A({defaultValue:"day"})],ro.prototype,"_currentPicker",void 0);Hr([A({type:Boolean})],ro.prototype,"_previousButtonDisabled",void 0);Hr([A({type:Boolean})],ro.prototype,"_nextButtonDisabled",void 0);Hr([A()],ro.prototype,"_headerMonthButtonText",void 0);Hr([A()],ro.prototype,"_headerYearButtonText",void 0);Hr([A()],ro.prototype,"_headerYearButtonTextSecType",void 0);Hr([A({type:Xo,defaultValue:Xo.DAY_MONTH_YEAR,noAttribute:!0})],ro.prototype,"_pickersMode",void 0);Hr([Z({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],ro.prototype,"dates",void 0);ro=Hr([K({tag:"ui5-calendar",fastNavigation:!0,template:ZN,styles:QN,dependencies:[Bv,SN,MN,qN,KN]}),q("selected-dates-change",{detail:{dates:{type:Array},values:{type:Array},timestamp:{type:Number}}}),q("show-month-press"),q("show-year-press")],ro);ro.define();const _6=ro;function JN(i,e,t){return t?w`
    <${D("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-date-picker-input" placeholder="${a(this._placeholder)}" type="${a(this.type)}" value="${a(this.value)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" @ui5-change="${a(this._onInputChange)}" @ui5-input="${a(this._onInputInput)}" @ui5-submit="${a(this._onInputSubmit)}" @keydown="${this._onkeydown}">${this.valueStateMessage.length?_0.call(this,i,e,t):void 0}${this.readonly?void 0:h0.call(this,i,e,t)}
    `:w`
    ${this.valueStateMessage.length?_0.call(this,i,e,t):void 0}${this.readonly?void 0:h0.call(this,i,e,t)}
    `}function _0(i,e,t){return w``}function h0(i,e,t){return t?w`<${D("ui5-icon",e,t)} slot="icon" name="${a(this.openIconName)}" tabindex="-1" accessible-name="${a(this.openIconTitle)}" accessible-role="button" aria-hidden="${a(this._ariaHidden)}" show-tooltip @click="${this.togglePicker}" input-icon ?pressed="${this._isPickerOpen}">`:w``}function eM(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader?p0.call(this,i,e,t):void 0}<${D("ui5-calendar",e,t)} id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}" ._pickersMode="${a(this._calendarPickersMode)}">${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>f0.call(this,i,e,t,o,r))}${this.showFooter?v0.call(this,i,e,t):void 0} `:w`${this.showHeader?p0.call(this,i,e,t):void 0}${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>f0.call(this,i,e,t,o,r))}${this.showFooter?v0.call(this,i,e,t):void 0} `}function p0(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closePicker}">
    `:w`
    ${a(this._headerTitleText)}
    `}function f0(i,e,t,o,r){return t?w`<${D("ui5-date",e,t)} value="${a(o)}">`:w``}function v0(i,e,t){return w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const tM={packageName:"@ui5/webcomponents",fileName:"themes/DatePicker.css.ts",content:`.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;line-height:normal;letter-spacing:normal;word-spacing:normal;height:var(--_ui5-v1-22-1-rc-0_input_height);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + var(--_ui5-v1-22-1-rc-0_input_icon_width));color:var(--sapField_TextColor);background-color:var(--sapField_Background);border-radius:var(--_ui5-v1-22-1-rc-0-datepicker_border_radius);margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0}:host(:not([disabled]):not([readonly]):active){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}:host(:not([disabled]):not([readonly]):hover){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}.ui5-date-picker-root{border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-date-picker-input{width:100%;min-width:12.5625rem;color:inherit;background-color:inherit;border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;margin:inherit}:host(:not([disabled]):not([readonly])) .ui5-date-picker-input[focused]{background-color:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iM={packageName:"@ui5/webcomponents",fileName:"themes/DatePickerPopover.css.ts",content:`[ui5-calendar]{width:100%;display:flex;justify-content:center}[ui5-responsive-popover]::part(content){padding:0} -`};var Di=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Rc;let jt=Rc=class extends l6{onResponsivePopoverAfterClose(){var e;this._isPickerOpen=!1,ue()?this.blur():(e=this._getInput())==null||e.focus()}onBeforeRendering(){this.FormSupport=ze("FormSupport"),["minDate","maxDate"].forEach(e=>{const t=this[e];this.isValid(t)||console.warn(`Invalid value for property "${e}": ${t} is not compatible with the configured format pattern: "${this._displayFormat}"`)}),this.FormSupport?this.FormSupport.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'),this.value=this.normalizeValue(this.value)||this.value,this.liveValue=this.value}get _calendarSelectionMode(){return"Single"}get _calendarTimestamp(){if(this.value&&this.dateValueUTC&&this._checkValueValidity(this.value)){const e=this.dateValueUTC.getTime();return _N(e)}return Ov(this._primaryCalendarType)}get _calendarSelectedDates(){return this.value&&this._checkValueValidity(this.value)?[this.value]:[]}_onkeydown(e){zn(e)&&(e.preventDefault(),this.isOpen()?L_(e)||this._toggleAndFocusInput():this._toggleAndFocusInput()),this._getInput().isEqualNode(e.target)&&this.isOpen()&&(Pt(e)||Mi(e)||Xf(e)||Kf(e))&&this.closePicker(),!this.isOpen()&&(Ie(e)?this.FormSupport&&this.FormSupport.triggerFormSubmit(this):cu(e)?(e.preventDefault(),this._modifyDateValue(1,"year")):Al(e)?(e.preventDefault(),this._modifyDateValue(1,"month")):Li(e)?(e.preventDefault(),this._modifyDateValue(1,"day")):R_(e)?(e.preventDefault(),this._modifyDateValue(-1,"year")):Uu(e)?(e.preventDefault(),this._modifyDateValue(-1,"month")):eo(e)&&(e.preventDefault(),this._modifyDateValue(-1,"day")))}_modifyDateValue(e,t,o){if(!this.dateValue)return;const r=bu(Oe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate),n=this.formatValue(r.toUTCJSDate());this._updateValueAndFireEvents(n,!0,["change","value-changed"])}_updateValueAndFireEvents(e,t,o,r=!0){const n=this._checkValueValidity(e);n&&t&&(e=this.normalizeValue(e));let s=!0;this.liveValue=e;const l=this.value;if(r&&(this._getInput().value=e,this.value=e,this._updateValueState()),o.forEach(I=>{this.fireEvent(I,{value:e,valid:n},!0)||(s=!1)}),!s&&r){if(this.value!==l&&this.value!==this._getInput().value)return;this._getInput().value=l,this.value=l}}_updateValueState(){const e=this._checkValueValidity(this.value),t=this.valueState;this.valueState=e?W.None:W.Error,!this.fireEvent("value-state-change",{valueState:this.valueState,valid:e},!0)&&(this.valueState=t)}_toggleAndFocusInput(){this.togglePicker(),this._getInput().focus()}_getInput(){return this.shadowRoot.querySelector("[ui5-input]")}_onInputSubmit(){}_onInputChange(e){this._updateValueAndFireEvents(e.target.value,!0,["change","value-changed"])}_onInputInput(e){this._updateValueAndFireEvents(e.target.value,!1,["input"],!1)}_checkValueValidity(e){return e===""?!0:this.isValid(e)&&this.isInValidRange(e)}_click(e){ue()&&(this.responsivePopover.showAt(this),e.preventDefault())}isValid(e){return e===""||e===void 0?!0:!!this.getFormat().parse(e)}isInValidRange(e){if(e===""||e===void 0)return!0;const t=this._getCalendarDateFromString(e);return!t||!this._minDate||!this._maxDate?!1:t.valueOf()>=this._minDate.valueOf()&&t.valueOf()<=this._maxDate.valueOf()}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,!0),!0)}get _displayFormat(){return this.getFormat().oFormatOptions.pattern}get _placeholder(){return this.placeholder!==void 0?this.placeholder:this._displayFormat}get _headerTitleText(){return Rc.i18nBundle.getText(oc)}get phone(){return ue()}get showHeader(){return this.phone}get showFooter(){return this.phone}get accInfo(){return{ariaRoledescription:this.dateAriaDescription,ariaHasPopup:q_.Grid.toLowerCase(),ariaAutoComplete:"none",ariaRequired:this.required,ariaLabel:Kt(this)}}get openIconTitle(){return Rc.i18nBundle.getText(F3)}get openIconName(){return"appointment-2"}get dateAriaDescription(){return Rc.i18nBundle.getText(V3)}get _shouldHideHeader(){return!1}get _ariaHidden(){return Qo()}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}_canOpenPicker(){return!this.disabled&&!this.readonly}get _calendarPickersMode(){const t=this.getFormat().aFormatArray.map(o=>o.type.toLowerCase());return t.includes("day")?Xo.DAY_MONTH_YEAR:t.includes("month")||t.includes("monthstandalone")?Xo.MONTH_YEAR:Xo.YEAR}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values&&e.detail.values[0];this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}onHeaderShowMonthPress(){this._calendarCurrentPicker="month"}onHeaderShowYearPress(){this._calendarCurrentPicker="year"}formatValue(e){return this.getFormat().format(e)}closePicker(){this.responsivePopover.close()}async openPicker(){this._isPickerOpen=!0,this._calendarCurrentPicker="day",this.responsivePopover=await this._respPopover(),this.responsivePopover.showAt(this)}togglePicker(){this.isOpen()?this.closePicker():this._canOpenPicker()&&this.openPicker()}isOpen(){return!!this._isPickerOpen}get dateValue(){return this.liveValue?this.getFormat().parse(this.liveValue):this.getFormat().parse(this.value)}get dateValueUTC(){return this.liveValue?this.getFormat().parse(this.liveValue,!0):this.getFormat().parse(this.value)}get styles(){return{main:{width:"100%"}}}get type(){return Rl.Text}};Di([A()],jt.prototype,"value",void 0);Di([A({type:W,defaultValue:W.None})],jt.prototype,"valueState",void 0);Di([A({type:Boolean})],jt.prototype,"required",void 0);Di([A({type:Boolean})],jt.prototype,"disabled",void 0);Di([A({type:Boolean})],jt.prototype,"readonly",void 0);Di([A({defaultValue:void 0})],jt.prototype,"placeholder",void 0);Di([A()],jt.prototype,"name",void 0);Di([A({type:Boolean})],jt.prototype,"hideWeekNumbers",void 0);Di([A()],jt.prototype,"accessibleName",void 0);Di([A({defaultValue:""})],jt.prototype,"accessibleNameRef",void 0);Di([A({type:Boolean,noAttribute:!0})],jt.prototype,"_isPickerOpen",void 0);Di([A({type:Object})],jt.prototype,"_respPopoverConfig",void 0);Di([A({defaultValue:"day"})],jt.prototype,"_calendarCurrentPicker",void 0);Di([Z({type:HTMLElement})],jt.prototype,"valueStateMessage",void 0);Di([Z({type:HTMLElement})],jt.prototype,"formSupport",void 0);jt=Rc=Di([K({tag:"ui5-date-picker",languageAware:!0,template:JN,staticAreaTemplate:eM,styles:tM,staticAreaStyles:[Vr,iM],dependencies:[Be,fo,_6,Bv,xr,Ne]}),q("change",{detail:{value:{type:String},valid:{type:Boolean}}}),q("input",{detail:{value:{type:String},valid:{type:Boolean}}}),q("value-state-change",{detail:{valueState:{type:String},valid:{type:Boolean}}})],jt);jt.define();const wu=jt;V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const oM={packageName:"@ui5/webcomponents",fileName:"themes/DateRangePicker.css.ts",content:`:host(:not([hidden])){display:inline-block}:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{width:100%;min-width:inherit;color:inherit;background-color:inherit} -`};var Lv=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},S1;let Tu=S1=class extends wu{constructor(){super(),this._prevDelimiter=null}get dateValue(){return null}get dateValueUTC(){return null}get _startDateTimestamp(){return this._extractFirstTimestamp(this.value)}get _endDateTimestamp(){return this._extractLastTimestamp(this.value)}get _tempTimestamp(){return this._tempValue&&this.getFormat().parse(this._tempValue,!0).getTime()/1e3}get _calendarSelectionMode(){return"Range"}get _calendarTimestamp(){return this._tempTimestamp||this._startDateTimestamp||Ov(this._primaryCalendarType)}get _calendarSelectedDates(){return this._tempValue?[this._tempValue]:this.value&&this._checkValueValidity(this.value)?this._splitValueByDelimiter(this.value):[]}get startDateValue(){return Oe.fromTimestamp(this._startDateTimestamp*1e3).toLocalJSDate()}get endDateValue(){return Oe.fromTimestamp(this._endDateTimestamp*1e3).toLocalJSDate()}get _placeholder(){return this.placeholder!==void 0?this.placeholder:`${this._displayFormat} ${this._effectiveDelimiter} ${this._displayFormat}`}get dateAriaDescription(){return S1.i18nBundle.getText(H3)}async _onInputSubmit(){const e=this._getInput(),t=e.getCaretPosition();await Mt(),e.setCaretPosition(t)}onResponsivePopoverAfterClose(){this._tempValue="",super.onResponsivePopoverAfterClose()}isValid(e){const t=this._splitValueByDelimiter(e);return t.length<=2&&t.every(o=>super.isValid(o))}isInValidRange(e){return this._splitValueByDelimiter(e).every(t=>super.isInValidRange(t))}normalizeValue(e){const t=this._extractFirstTimestamp(e),o=this._extractLastTimestamp(e);return t&&o&&t>o?this._buildValue(o,t):this._buildValue(t,o)}onSelectedDatesChange(e){e.preventDefault();const t=e.detail.values;if(t.length===0)return;if(t.length===1){this._tempValue=t[0];return}const o=this._buildValue(e.detail.dates[0],e.detail.dates[1]);this._updateValueAndFireEvents(o,!0,["change","value-changed"]),this.closePicker()}async _modifyDateValue(e,t,o){if(!this._endDateTimestamp)return super._modifyDateValue(e,t,o);const r=this._getInput();let n=r.getCaretPosition(),s;if(n<=this.value.indexOf(this._effectiveDelimiter)){const I=bu(Oe.fromTimestamp(this._startDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;I>this._endDateTimestamp&&(n+=Math.ceil(this.value.length/2)),s=this._buildValue(I,this._endDateTimestamp)}else{const I=bu(Oe.fromTimestamp(this._endDateTimestamp*1e3),e,t,o,this._minDate,this._maxDate).valueOf()/1e3;s=this._buildValue(this._startDateTimestamp,I),I${this.icon?hM.call(this,i,e,t):void 0}${this.hasButtonType?pM.call(this,i,e,t):void 0} `}function hM(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:w``}function pM(i,e,t){return w`${a(this.buttonTypeText)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const fM={packageName:"@ui5/webcomponents",fileName:"themes/ToggleButton.css.ts",content:`:host(:not([hidden])){display:inline-block}:host([design="Emphasized"]:not([pressed])){text-shadow:var(--_ui5-v1-22-1-rc-0_toggle_button_emphasized_text_shadow)}:host([pressed]),:host([design="Default"][pressed]),:host([design="Transparent"][pressed]),:host([design="Emphasized"][pressed]){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor);text-shadow:none}:host([pressed]:hover),:host([pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Default"][pressed]:hover),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Transparent"][pressed]:hover),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Emphasized"][pressed]:hover),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([active][focused]),:host([design="Default"][active][focused]),:host([design="Transparent"][active][focused]),:host([design="Emphasized"][active][focused]){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Negative"][pressed]){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][active][focused]){background:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Negative"][pressed][active]:hover),:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Positive"][pressed]){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][active][focused]){background:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:hover),:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Attention"][pressed]){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][active][focused]){background:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Attention"][pressed][active]:hover),:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)} -`};var f6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Cu=class extends Ne{_onclick(){this.pressed=!this.pressed,qn()&&this.getDomRef().focus()}_onkeyup(e){if(Oa(e)){e.preventDefault();return}super._onkeyup(e)}};f6([A({type:Boolean})],Cu.prototype,"pressed",void 0);Cu=f6([K({tag:"ui5-toggle-button",template:_M,styles:[Ne.styles,fM]})],Cu);Cu.define();const od=Cu;function vM(i,e,t){return w`
  • ${this.icon?mM.call(this,i,e,t):void 0}
  • `}function mM(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:w``}var mc=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},k1;let Kn=k1=class extends od{get ariaDescription(){return k1.i18nBundle.getText(k4)}};mc([A({type:Jo,defaultValue:Jo.Default})],Kn.prototype,"design",void 0);mc([A({type:Boolean})],Kn.prototype,"iconEnd",void 0);mc([A({type:Boolean})],Kn.prototype,"submits",void 0);mc([A({validator:ae,defaultValue:0})],Kn.prototype,"posInSet",void 0);mc([A({validator:ae,defaultValue:0})],Kn.prototype,"sizeOfSet",void 0);Kn=k1=mc([K({tag:"ui5-segmented-button-item",template:vM,dependencies:[Be]})],Kn);Kn.define();const v6=Kn;var E1;(function(i){i.SingleSelect="SingleSelect",i.MultiSelect="MultiSelect"})(E1||(E1={}));const y_=E1;function gM(i,e,t){return w`
      ${a(this.ariaDescribedBy)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const bM={packageName:"@ui5/webcomponents",fileName:"themes/SegmentedButton.css.ts",content:`: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;min-width:calc(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count) * 2.5rem)}.ui5-segmented-button-root{width:inherit;display:grid;grid-template-columns:repeat(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count),minmax(2.5rem,1fr));margin:0;padding:0;background-color:var(--sapButton_Background);border-radius:var(--sapButton_BorderCornerRadius);box-shadow:inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item]){border-radius:var(--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_radius);border-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_border_color);background-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_background_color);height:var(--_ui5-v1-22-1-rc-0_button_base_height);min-width:2.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:initial}::slotted([ui5-segmented-button-item]:hover){z-index:2;box-shadow:var(--_ui5-v1-22-1-rc-0_segmented_btn_hover_box_shadow);border-color:var(--sapButton_Hover_BorderColor);background-color:var(--sapButton_Hover_Background)}::slotted([ui5-segmented-button-item][pressed]),::slotted([ui5-segmented-button-item][active]){border-color:var(--sapButton_Selected_BorderColor);background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item][pressed]:hover){border-color:var(--sapButton_Selected_Hover_BorderColor);background-color:var(--sapButton_Selected_Hover_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item]:last-child){border-start-end-radius:var(--sapButton_BorderCornerRadius);border-end-end-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:first-child){border-start-start-radius:var(--sapButton_BorderCornerRadius);border-end-start-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:not(:first-child)){border-left-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left);border-right-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right)}::slotted([ui5-segmented-button-item][active]:not([active]):hover){border-color:var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item][active]:hover){border-color:var(--sapButton_Selected_BorderColor)} -`};var ih=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Lc;let js=Lc=class extends ie{static async onDefine(){Lc.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super(),this._itemNavigation=new $i(this,{getItemsCallback:()=>this.getSlottedNodes("items")}),this.hasPreviouslyFocusedItem=!1}onBeforeRendering(){const e=this.getSlottedNodes("items");e.forEach((t,o,r)=>{t.posInSet=o+1,t.sizeOfSet=r.length}),this.normalizeSelection(),this.style.setProperty(Po("--_ui5_segmented_btn_items_count"),`${e.length}`)}normalizeSelection(){if(this.items.length)switch(this.mode){case y_.SingleSelect:{const e=this.selectedItems,t=this._selectedItem?e.indexOf(this._selectedItem):-1;this._selectedItem&&e.length>1&&e.splice(t,1);const o=e.pop()||this.items[0];this._applySingleSelection(o);break}}}_selectItem(e){const t=e.target,o=t.hasAttribute("ui5-segmented-button-item");if(!(t.disabled||t===this.getDomRef()||!o)){switch(this.mode){case y_.MultiSelect:e instanceof KeyboardEvent&&(t.pressed=!t.pressed);break;default:this._applySingleSelection(t)}return this.fireEvent("selection-change",{selectedItem:t,selectedItems:this.selectedItems}),this._itemNavigation.setCurrentItem(t),t.focus(),this}}_applySingleSelection(e){this.items.forEach(t=>{t.pressed=!1}),e.pressed=!0,this._selectedItem=e}_onclick(e){this._selectItem(e)}_onkeydown(e){Ie(e)?this._selectItem(e):le(e)&&e.preventDefault()}_onkeyup(e){le(e)&&this._selectItem(e)}_onmousedown(e){const t=e.target;t.hasAttribute("ui5-segmented-button-item")&&(t.focus(),this._itemNavigation.setCurrentItem(t),this.hasPreviouslyFocusedItem=!0)}_onfocusin(e){if(this.hasPreviouslyFocusedItem){this._itemNavigation.setCurrentItem(e.target);return}this.selectedItems.length&&(this.selectedItems[0].focus(),this._itemNavigation.setCurrentItem(this.selectedItems[0]),this.hasPreviouslyFocusedItem=!0)}get selectedItem(){return this._selectedItem}get selectedItems(){return this.items.filter(e=>e.pressed)}get ariaDescribedBy(){return Lc.i18nBundle.getText(S4)}get ariaDescription(){return Lc.i18nBundle.getText(I4)}};ih([A({defaultValue:void 0})],js.prototype,"accessibleName",void 0);ih([A({type:y_,defaultValue:y_.SingleSelect})],js.prototype,"mode",void 0);ih([Z({type:HTMLElement,invalidateOnChildChange:!0,default:!0})],js.prototype,"items",void 0);js=Lc=ih([K({tag:"ui5-segmented-button",languageAware:!0,renderer:de,template:gM,styles:bM,dependencies:[v6]}),q("selection-change",{detail:{selectedItem:{type:HTMLElement},selectedItems:{type:Array}}})],js);js.define();const oh=js,w_=(i,e=1)=>{const t=[];for(let o=0;o{let t=[];if(i.isTwelveHoursFormat?t=w_(e||12,1):t=w_(e||24,1),i.minHour===1)for(let o=0;ow_(i||60,e),TM=(i,e)=>w_(i||60,e),m6=i=>{const e={minHour:0,maxHour:0,isTwelveHoursFormat:!1};return i==="hour0_23"?(e.minHour=0,e.maxHour=23,e.isTwelveHoursFormat=!1):i==="hour1_24"?(e.minHour=1,e.maxHour=24,e.isTwelveHoursFormat=!1):i==="hour0_11"?(e.minHour=0,e.maxHour=11,e.isTwelveHoursFormat=!0):i==="hour1_12"&&(e.minHour=1,e.maxHour=12,e.isTwelveHoursFormat=!0),e},g6=(i,e)=>{const t=[!1,!1,!1,!1];for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},gs;const CM=1e3;let no=gs=class extends ie{static async onDefine(){[gs.i18nBundle]=await Promise.all([fe("@ui5/webcomponents"),ec(je().getLanguage(),je().getRegion(),je().getScript())])}get _hoursConfiguration(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return m6(t?t.type:"hour0_23")}get _zeroPaddedHours(){const t=this.getFormat().aFormatArray.find(o=>o.type.startsWith("hour"));return!(t.digits&&t.digits===1)}get _neededComponents(){const e=this.getFormat().aFormatArray;return g6(e,this._hoursConfiguration)}get _hasHoursComponent(){return this._neededComponents[0]}get _hasMinutesComponent(){return this._neededComponents[1]}get _hasSecondsComponent(){return this._neededComponents[2]}get _hasPeriodsComponent(){return this._neededComponents[3]}get dateValue(){return this.value?this.getFormat().parse(this.value,void 0,void 0):new Date}get validDateValue(){return this.value!==void 0&&this.isValid(this.value)?this.dateValue:new Date}get periodsArray(){return this.getFormat().aDayPeriodsAbbrev.map(t=>t.toUpperCase())}get _hours(){let e;const t=this.validDateValue;return this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()>this._hoursConfiguration.maxHour?e=t.getHours()-12:this._hoursConfiguration.isTwelveHoursFormat&&t.getHours()=this._hoursConfiguration.maxHour?this.periodsArray[1]:this.periodsArray[0]:e=t.getHours()>this._hoursConfiguration.maxHour||t.getHours()===this._hoursConfiguration.minHour?this.periodsArray[1]:this.periodsArray[0],e}get _formatPattern(){const e=this.formatPattern,t=!!e.match(/H/i),o=!e||!t,r=kr(je());return o?r.getCombinedDateTimePattern("medium","medium",void 0):e}get _isPattern(){return this._formatPattern!=="medium"&&this._formatPattern!=="short"&&this._formatPattern!=="long"}get hoursLabel(){return gs.i18nBundle.getText(mv)}get minutesLabel(){return gs.i18nBundle.getText(gv)}get secondsLabel(){return gs.i18nBundle.getText(bv)}get clockDialAriaLabel(){return gs.i18nBundle.getText(G4)}setValue(e){const t=this.formatValue(e);this.isValid(t)&&(this.value=this.normalizeValue(t),this.fireEvent("change",{value:this.value,valid:!0}))}isValid(e){return e===""||this.getFormat().parse(e,void 0,void 0)}normalizeValue(e){return e===""?e:this.getFormat().format(this.getFormat().parse(e,void 0,void 0))}getFormat(){let e;return this._isPattern?e=to.getDateInstance({calendarType:this._calendarType,pattern:this._formatPattern}):e=to.getDateInstance({calendarType:this._calendarType,style:this._formatPattern}),e}formatValue(e){return this.getFormat().format(e)}_componentKey(e){return e}_indexFromName(e){return this._componentMap[this._componentKey(e)]}_getNameFromId(e){const t=e.split("_");return t.length?t[t.length-1]:void 0}_getIndexFromId(e){const t=this._getNameFromId(e);return t?this._indexFromName(t):0}_hoursChange(e){this._hoursConfiguration.isTwelveHoursFormat&&(e=this._shiftHours(e));const t=this.validDateValue;t.setHours(e),this.setValue(t)}_minutesChange(e){const t=this.validDateValue;t.setMinutes(e),this.setValue(t)}_secondsChange(e){const t=this.validDateValue;t.setSeconds(e),this.setValue(t)}_buttonAmPm(){var e;return this._hasPeriodsComponent?(e=this.shadowRoot)==null?void 0:e.querySelector(`#${this._id}_AmPm`):void 0}_createPeriodComponent(){this._hasPeriodsComponent&&this.periodsArray.forEach(e=>{this._periods.push({label:e,pressed:this._period===e})})}_periodChange(e){const t=e.target;if(t){const o=t.textContent;this._calculatePeriodChange(o)}}_calculatePeriodChange(e){const t=this.validDateValue;e===this._periods[0].label&&t.getHours()>=12&&t.setHours(t.getHours()-12),e===this._periods[1].label&&t.getHours()<12&&t.setHours(t.getHours()+12),this.setValue(t)}_shiftHours(e){return this._period===this.periodsArray[0]?e=e===12?0:e:this._period===this.periodsArray[1]&&(e=e===12?e:e+12),e}_resetCooldown(e){this._typeCooldownId&&clearTimeout(this._typeCooldownId),e&&this._startCooldown()}_startCooldown(){this._typeCooldownId=setTimeout(()=>{this._keyboardBuffer="",this._typeCooldownId=void 0,this._exactMatch&&(this._setExactMatch(),this._exactMatch=void 0)},CM)}_setExactMatch(){}};Ur([A({defaultValue:void 0})],no.prototype,"value",void 0);Ur([A()],no.prototype,"formatPattern",void 0);Ur([A({validator:ae,defaultValue:0,noAttribute:!0})],no.prototype,"_activeIndex",void 0);Ur([A({type:cn})],no.prototype,"_calendarType",void 0);Ur([A({type:Object,multiple:!0})],no.prototype,"_entities",void 0);Ur([A({type:Object})],no.prototype,"_componentMap",void 0);Ur([A({type:Object,multiple:!0})],no.prototype,"_periods",void 0);Ur([A({validator:ae,noAttribute:!0})],no.prototype,"_typeCooldownId",void 0);Ur([A({validator:ae,noAttribute:!0})],no.prototype,"_exactMatch",void 0);Ur([A({defaultValue:"",noAttribute:!0})],no.prototype,"_keyboardBuffer",void 0);no=gs=Ur([K({tag:"ui5-time-picker-internals"}),q("change",{detail:{value:{type:String},valid:{type:Boolean}}})],no);no.define();const Nc=no;function IM(i,e,t){return w``}function SM(i,e,t,o,r){return w`
    ${o.item?kM.call(this,i,e,t,o,r):$M.call(this,i,e,t,o,r)}
    `}function kM(i,e,t,o,r){return w`${a(o.item)}${o.innerItem?EM.call(this,i,e,t,o,r):void 0}`}function EM(i,e,t,o,r){return w`${a(o.innerItem)}`}function $M(i,e,t,o,r){return w`${this.hideFractions?void 0:AM.call(this,i,e,t,o,r)}`}function AM(i,e,t,o,r){return w``}function xM(i,e,t){return w`
    ${a(this._selectedItem.item)}
    ${a(this._selectedItem.innerItem)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const DM={packageName:"@ui5/webcomponents",fileName:"themes/TimePickerClock.css.ts",content:`.ui5-tp-clock{position:relative;width:auto;padding:.5625rem;outline:none;display:none}.ui5-tp-clock-active{display:block}.ui5-tp-clock-dial{position:relative;width:auto;display:block;border-radius:100%;background-color:var(--sapLegend_WorkingBackground);text-align:center;z-index:1}.ui5-tp-clock-dial:before{content:attr(data-label);display:flex;align-items:center;justify-content:center;position:absolute;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor);inset:2.75rem;border-radius:100%;z-index:2}.ui5-tp-clock-dial:after{content:"";display:block;padding-bottom:100%}.ui5-tp-clock-inner .ui5-tp-clock-dial:before{background-color:var(--sapLegend_WorkingBackground)}.ui5-tp-clock-cover{position:absolute;inset:.5625rem;border-radius:100%;z-index:10;touch-action:none}.ui5-tp-clock-item{position:absolute;top:0;left:50%;display:inline-block;width:2.75rem;height:100%;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui5-tp-clock-item.ui5-tp-clock-marker{z-index:4}.ui5-tp-clock-dot{display:block;box-sizing:border-box;width:.25rem;height:.3125rem;margin:0 auto .25rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-mid-dot{display:block;box-sizing:border-box;width:.125rem;height:.1875rem;margin:0 auto .375rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-marker{box-sizing:border-box;width:.25rem;height:.5625rem;margin:0 auto;border-radius:100%;background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)}.ui5-tp-clock-number{box-sizing:border-box;display:inline-block;width:2.75rem;height:2.75rem;border-radius:100%;line-height:2.75rem;text-align:center;vertical-align:top;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}.ui5-tp-clock-number.ui5-tp-clock-number-hover:not(.ui5-tp-clock-selected){background-color:var(--sapList_Hover_Background)}.ui5-tp-clock-selected{color:var(--sapButton_Selected_TextColor);background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)} -`};var yt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};const PM=200,OM=100,m0=6,tp="ui5-tp-clock-number",ip="ui5-tp-clock-number-hover",g0="ui5-tp-clock-selected",BM="ui5-tp-clock-mid-dot";let at=class extends ie{constructor(){super(),this._fnOnMouseOutUp=()=>{this._mouseOrTouchDown=!1}}get classes(){return{clock:{"ui5-tp-clock":!0,"ui5-tp-clock-inner":this.showInnerCircle,"ui5-tp-clock-active":this.active}}}onEnterDOM(){document.addEventListener("mouseup",this._fnOnMouseOutUp,!1)}onExitDOM(){document.removeEventListener("mouseup",this._fnOnMouseOutUp,!1)}onBeforeRendering(){this._prepareClockItems();const e=this._fixReplacementValue(this.selectedValue);this._updateSelectedValueObject(e)}_fixReplacementValue(e){let t=e;const o=this.itemMax*(this.showInnerCircle?2:1);return t===0&&(t=o),t===o&&this.lastItemReplacement!==-1&&(t=this.lastItemReplacement),t}_updateSelectedValueObject(e){if(e===-1){this._selectedItem={showMarker:!1};return}const t=e>=this.itemMin&&e<=this.itemMax||!this.showInnerCircle&&e===this.lastItemReplacement,o=(e>=this.itemMin+this.itemMax&&e<=this.itemMax*2||e===this.lastItemReplacement)&&this.showInnerCircle,r=360/(this.itemMax-this.itemMin+1),n=this.lastItemReplacement===-1||!this.prependZero?e.toString():e.toString().padStart(2,"0");let s=t||o?e*r:void 0;s!==void 0&&(s%=360),this._selectedItem={angle:s,item:t?e.toString():"",innerItem:o?n:"",showMarker:t||o,itemClasses:tp+(t?` ${g0}`:""),innerItemClasses:tp+(o?` ${g0}`:""),outerStyles:{transform:`translate(-50%) rotate(${s||0}deg)`},innerStyles:{transform:`rotate(-${s||0}deg)`}}}_prepareClockItems(){const e=[];let t=this.displayStep,o,r,n;for(this._items=[],n=this.itemMin;n<=this.itemMax;n++)e.push({item:n.toString(),innerItem:this.showInnerCircle?(n+this.itemMax).toString():void 0});this.lastItemReplacement!==-1&&(this.showInnerCircle&&this.prependZero?e[e.length-1].innerItem=this.lastItemReplacement.toString().padStart(2,"0"):e[e.length-1].item=this.lastItemReplacement.toString());const s=360/m0/e.length;for(this.valueStep*s>t&&(t=this.valueStep*s),n=1;n<=60;n++)r=n/s-1,o=n%t!==0?{}:e[r],o.angle=n*m0,o.outerStyles={transform:`translate(-50%) rotate(${n*6}deg)`},o.innerStyles={transform:`rotate(-${n*6}deg)`},this._items.push(o)}_getClockCoverContainerDomRef(){const e=this.getDomRef();return e&&e.querySelector(".ui5-tp-clock-cover")}_getMaxValue(){return this.showInnerCircle?this.itemMax*2:this.itemMax}_outerHeight(e){if(!e)return 0;const t=window.getComputedStyle(e);return e.offsetHeight+parseInt(t.marginTop)+parseInt(t.marginBottom)}_hoveredId(e){e===this._getMaxValue()&&this.lastItemReplacement!==-1&&(e=this.lastItemReplacement);const t=this.showInnerCircle&&e===this.lastItemReplacement&&this.prependZero?e.toString().padStart(2,"0"):e.toString();return`#${this._id}-${t}`}_getStringValue(e){return this.prependZero?e.toString().padStart(2,"0"):e.toString()}_calculateDimensions(){const e=this.getDomRef(),t=window.pageXOffset||document.documentElement.scrollLeft,o=window.pageYOffset||document.documentElement.scrollTop;if(!e)return;const r=this.getDomRef(),n=r.querySelector(`.${BM}`),s=r.querySelector(`.${tp}`),l=Math.round(e.offsetHeight/2),I=this._outerHeight(n),y=this._outerHeight(s),C=e.getBoundingClientRect();this._dimensionParameters={radius:l,centerX:l,centerY:l,dotHeight:I,numberHeight:y,outerMax:l,outerMin:l-y,innerMax:l-y-1,innerMin:l-y*2-1,offsetX:C.left+t,offsetY:C.top+o}}_calculatePosition(e,t){const o=e-this._dimensionParameters.offsetX+1-this._dimensionParameters.radius,r=t-this._dimensionParameters.offsetY+1-this._dimensionParameters.radius,n=o>=0?0:180,s=Math.atan(r/o)*180/Math.PI+90+n,l=360/this.itemMax*this.valueStep,I=Math.sqrt(o*o+r*r),y=I<=this._dimensionParameters.outerMax&&I>(this.showInnerCircle?this._dimensionParameters.outerMin:this._dimensionParameters.innerMin),C=this.showInnerCircle&&I<=this._dimensionParameters.innerMax&&I>this._dimensionParameters.innerMin,b=I<=this._dimensionParameters.outerMax&&I>this._dimensionParameters.outerMin,v=C;let g=Math.round((s===0?360:s)/l)*l;g===0&&(g=360),C||y?(this._selectedValue=g/l*this.valueStep,C&&(this._selectedValue+=this.itemMax)):this._selectedValue=-1,this._hoveredValue=v||b?this._selectedValue:-1,this._selectedValue===this._getMaxValue()&&this.lastItemReplacement!==-1&&(this._selectedValue=this.lastItemReplacement)}_changeValueAnimation(e,t=!1){const o=this.itemMax*(this.showInnerCircle?2:1);let r=this._movSelectedValue,n=e,s=1,l,I,y;t?this._setSelectedValue(e):(l=Math.abs(r-n),I=o-l,rr?e-r:e;e===t&&(this._animationInProgress=!1),this._setSelectedValue(l),e!==t?(e+=o,setTimeout(()=>{this._selectNextNumber(e,t,o,r,n,s)},s)):setTimeout(()=>{this.fireEvent("change",{value:n,stringValue:this._getStringValue(n),finalChange:!0})},OM)}_modifyValue(e){let t=this.selectedValue;const o=this.lastItemReplacement,r=this.itemMin,n=this.itemMax*(this.showInnerCircle?2:1);let s=this.valueStep,l;t%s!==0&&(l=e?Math.ceil(t/s)*s:Math.floor(t/s)*s,s=Math.abs(t-l)),t===o&&(t=n),e?(t+=s,t>n&&(t-=n)):(t-=s,t1&&this._hoveredValue!==-1&&(this._hoveredValue=Math.round(this._hoveredValue/this.displayStep)*this.displayStep),!this.disabled&&this._hoveredValue!==this._prevHoveredValue&&(t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.remove(ip),this._prevHoveredValue=this._hoveredValue,t=o.querySelector(this._hoveredId(this._prevHoveredValue)),t&&t.classList.add(ip)))}_onTouchEnd(e){this._mouseOrTouchDown&&(this._mouseOrTouchDown=!1,e.preventDefault(),!(this.disabled||this._selectedValue===-1)&&(this._cancelTouchOut||this._changeValueAnimation(this._selectedValue)))}_onMouseWheel(e){const t=e.detail?e.detail>0:e.deltaY>0||e.deltaX>0;e.preventDefault(),this._mouseOrTouchDown||this._modifyValue(t)}_onMouseOut(){const e=this.getDomRef().querySelector(this._hoveredId(this._hoveredValue));e&&e.classList.remove(ip),this._hoveredValue=-1,this._prevHoveredValue=-1}};yt([A({type:Boolean})],at.prototype,"disabled",void 0);yt([A({type:Boolean})],at.prototype,"active",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"itemMin",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"itemMax",void 0);yt([A({type:Boolean})],at.prototype,"showInnerCircle",void 0);yt([A({type:String,defaultValue:void 0})],at.prototype,"label",void 0);yt([A({type:Boolean})],at.prototype,"hideFractions",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"lastItemReplacement",void 0);yt([A({type:Boolean})],at.prototype,"prependZero",void 0);yt([A({validator:ae,defaultValue:-1})],at.prototype,"selectedValue",void 0);yt([A({validator:ae,defaultValue:5})],at.prototype,"displayStep",void 0);yt([A({validator:ae,defaultValue:1})],at.prototype,"valueStep",void 0);yt([A({type:Object,multiple:!0})],at.prototype,"_items",void 0);yt([A({type:Object})],at.prototype,"_selectedItem",void 0);yt([A({type:Object})],at.prototype,"_dimensionParameters",void 0);yt([A({type:Boolean,noAttribute:!0})],at.prototype,"_mouseOrTouchDown",void 0);yt([A({type:Boolean,noAttribute:!0})],at.prototype,"_cancelTouchOut",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_selectedValue",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_movSelectedValue",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_hoveredValue",void 0);yt([A({validator:ae,defaultValue:-1,noAttribute:!0})],at.prototype,"_prevHoveredValue",void 0);yt([A({type:Boolean,noAttribute:!0})],at.prototype,"_animationInProgress",void 0);at=yt([K({tag:"ui5-time-picker-clock",renderer:de,styles:DM,template:IM}),q("change",{detail:{value:{type:ae},stringValue:{type:String},finalChange:{type:Boolean}}})],at);at.define();const RM=at;function LM(i,e,t){return w` `}function NM(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>`:w``}function MM(i,e,t){return w`${a(this.buttonTypeText)}`}var rd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Ua=class extends od{_onclick(){}};rd([A({validator:ae,defaultValue:-1})],Ua.prototype,"valueMin",void 0);rd([A({validator:ae,defaultValue:-1})],Ua.prototype,"valueMax",void 0);rd([A({validator:ae,defaultValue:-1})],Ua.prototype,"valueNow",void 0);rd([A()],Ua.prototype,"valueText",void 0);Ua=rd([K({tag:"ui5-toggle-spin-button",renderer:de,styles:[Ne.styles,od.styles],template:LM})],Ua);Ua.define();const FM=Ua;function VM(i,e,t){return w`
    ${X(this._entities,(o,r)=>o._id||r,(o,r)=>zM.call(this,i,e,t,o,r))}${this._periods.length?HM.call(this,i,e,t):void 0}
    `}function zM(i,e,t,o,r){return t?w`${o.hasSeparator?b0.call(this,i,e,t,o,r):void 0}<${D("ui5-toggle-spin-button",e,t)} id="${a(this._id)}_button_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .valueMin="${a(o.attributes.min)}" .valueMax="${a(o.attributes.max)}" .valueNow="${a(o.value)}" .valueText="${a(o.textValue)}" .accessibleName="${a(o.label)}" .pressed="${a(o.active)}" ?focused="${o.focused}" @focusin="${this._buttonFocusIn}">${a(o.stringValue)}`:w`${o.hasSeparator?b0.call(this,i,e,t,o,r):void 0}${a(o.stringValue)}`}function b0(i,e,t,o,r){return w`:`}function HM(i,e,t){return t?w`<${D("ui5-segmented-button",e,t)} id="${a(this._id)}_AmPm" @click=${this._periodChange} @focusin=${this._amPmFocusIn} @focusout=${this._amPmFocusOut}>${X(this._periods,(o,r)=>o._id||r,(o,r)=>y0.call(this,i,e,t,o,r))}`:w`${X(this._periods,(o,r)=>o._id||r,(o,r)=>y0.call(this,i,e,t,o,r))}`}function y0(i,e,t,o,r){return t?w`<${D("ui5-segmented-button-item",e,t)} ?pressed=${o.pressed}>${a(o.label)}`:w`${a(o.label)}`}function UM(i,e,t,o,r){return t?w`<${D("ui5-time-picker-clock",e,t)} id="${a(this._id)}_clock_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .active="${a(o.active)}" .label="${a(o.label)}" .itemMin="${a(o.itemMin)}" .itemMax="${a(o.itemMax)}" .selectedValue="${a(o.value)}" .displayStep="${a(o.displayStep)}" .valueStep="${a(o.attributes.step)}" .lastItemReplacement="${a(o.lastItemReplacement)}" .showInnerCircle="${a(o.showInnerCircle)}" .prependZero="${a(o.prependZero)}" @ui5-change=${a(this._clockChange)}>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const qM={packageName:"@ui5/webcomponents",fileName:"themes/TimeSelectionClocks.css.ts",content:`.ui5-time-picker-tsc-container{margin:0 auto;box-sizing:border-box;width:100%;padding:1rem;text-align:center}.ui5-time-picker-tsc-container:focus{outline:none}.ui5-time-picker-tsc-buttons{display:flex;justify-content:center;align-items:center;padding-bottom:1rem;width:100%}.ui5-time-picker-tsc-buttons span[separator]{min-width:.5rem;padding:0 .125rem;text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-time-picker-tsc-clocks{display:block;text-align:center;width:100%;touch-action:none} -`};var rh=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Gs=class extends Nc{onBeforeRendering(){this._createComponents()}_buttonComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_button_${o}`):void 0}_clockComponent(e){var r;const t=typeof e=="string"?this._indexFromName(e):e,o=this._entities[t].entity;return o?(r=this.shadowRoot)==null?void 0:r.querySelector(`#${this._id}_clock_${o}`):void 0}_clocksFocusIn(e){const t=e.target;this._focused=!0,t.id===this._id&&this._switchClock(this._activeIndex)}_clocksFocusOut(){this._focused=!1}_buttonFocusIn(e){const t=e.target,o=this._getNameFromId(t.id);o&&this._switchTo(o)}_amPmFocusIn(){this._amPmFocused=!0}_amPmFocusOut(){this._amPmFocused=!1}_onkeyup(e){le(e)&&(this._spacePressed=!1)}_onkeydown(e){let t;const o=e.target&&e.target.tagName.toLowerCase().indexOf("segmented")===-1;if(Ie(e))this.fireEvent("close-picker");else if(le(e)&&o&&!this._spacePressed)e.preventDefault(),this._spacePressed=!0,this._keyboardBuffer="",this._resetCooldown(!0),this._switchNextClock(!0);else if((Xe(e)||qe(e))&&!r_(e)&&!Yf(e))t=this._clockComponent(this._activeIndex),t&&!t.disabled&&!this._amPmFocused&&t._modifyValue(Xe(e)),e.preventDefault();else if(Li(e)||eo(e))t=this._clockComponent("hours"),t&&!t.disabled&&(this._switchTo("hours"),t._modifyValue(Li(e))),e.preventDefault();else if(Al(e)||Uu(e))t=this._clockComponent("minutes"),t&&!t.disabled&&(this._switchTo("minutes"),t._modifyValue(Al(e))),e.preventDefault();else if(cu(e)||R_(e))t=this._clockComponent("seconds"),t&&!t.disabled&&(this._switchTo("seconds"),t._modifyValue(cu(e))),e.preventDefault();else if(Ah(e)||z2(e)){const r=this._buttonAmPm();if(r){r.items[0].pressed=Ah(e),r.items[1].pressed=z2(e);const n=Ah(e)?r.items[0].textContent:r.items[1].textContent;n&&this._calculatePeriodChange(n)}e.preventDefault()}else U9(e)?(this._keyboardBuffer="",this._exactMatch=void 0,this._resetCooldown(!0),this._switchNextClock(!0)):Gy(e)&&this._entities[this._activeIndex]&&(this._exactMatch=void 0,this._resetCooldown(!0),this._numbersInput(e))}_numbersInput(e){const t=e.key,o=this._keyboardBuffer+t,r=parseInt(o),n=this._entities[this._activeIndex];let s=this._clockComponent(this._activeIndex);!n||!n.attributes||(r>n.attributes.max?(s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),this._switchNextClock(),this._keyboardBuffer=t,s=this._clockComponent(this._activeIndex),s&&s._setSelectedValue(parseInt(t)),this._resetCooldown(!0)):(this._keyboardBuffer=o,s&&s._setSelectedValue(parseInt(this._keyboardBuffer)),(this._keyboardBuffer.length===2||parseInt(`${this._keyboardBuffer}0`)>n.attributes.max)&&(this._resetCooldown(this._keyboardBuffer.length!==2),this._keyboardBuffer="",this._switchNextClock())))}_focusFirstButton(){this._activeIndex=0,this._buttonComponent(0).focus()}_setExactMatch(){const e=this._clockComponent(this._activeIndex);e&&this._exactMatch!==void 0&&e._setSelectedValue(this._exactMatch)}_createComponents(){const e={hours:parseInt(this._hours),minutes:parseInt(this._minutes),seconds:parseInt(this._seconds)};this._entities=[],this._periods=[],this._componentMap={hours:-1,minutes:-1,seconds:-1},this._hasHoursComponent&&(this._componentMap.hours=this._entities.length,this._entities.push({label:this.hoursLabel,entity:"hours",itemMin:1,itemMax:12,value:e.hours,stringValue:this._hours,textValue:`${e.hours} ${this.hoursLabel}`,displayStep:1,lastItemReplacement:this._hoursConfiguration.isTwelveHoursFormat?-1:0,showInnerCircle:!this._hoursConfiguration.isTwelveHoursFormat,prependZero:this._zeroPaddedHours,hasSeparator:this._entities.length>0,active:!1,attributes:{min:this._hoursConfiguration.minHour,max:this._hoursConfiguration.maxHour,step:1}})),this._hasMinutesComponent&&(this._componentMap.minutes=this._entities.length,this._entities.push({label:this.minutesLabel,entity:"minutes",itemMin:1,itemMax:60,value:e.minutes,stringValue:this._minutes,textValue:`${e.minutes} ${this.minutesLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._hasSecondsComponent&&(this._componentMap.seconds=this._entities.length,this._entities.push({label:this.secondsLabel,entity:"seconds",itemMin:1,itemMax:60,value:e.seconds,stringValue:this._seconds,textValue:`${e.seconds} ${this.secondsLabel}`,displayStep:5,lastItemReplacement:0,showInnerCircle:!1,prependZero:!1,hasSeparator:this._entities.length>0,active:!1,attributes:{min:0,max:59,step:1}})),this._entities[this._activeIndex].active=!0,this._entities[this._activeIndex].focused=this._focused&&!this._amPmFocused,this._createPeriodComponent()}_switchTo(e){const t=this._componentKey(e);this._componentMap[t]!==void 0&&this._switchClock(this._componentMap[t])}_switchClock(e){const t=this._buttonComponent(e);this._entities.length&&e=this._entities.length&&(t=e?0:this._entities.length-1);while(r&&r.disabled&&t!==o&&(e||t${this.showHeader?w0.call(this,i,e,t):void 0}
    <${D("ui5-calendar",e,t)} class="ui5-dt-cal ${j(this.classes.dateTimeView)}" id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}">${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>T0.call(this,i,e,t,o,r))}${this.phone?void 0:C0.call(this,i,e,t)}${this.showTimeView?I0.call(this,i,e,t):void 0}
    ${this.showFooter?S0.call(this,i,e,t):void 0} `:w`${this.showHeader?w0.call(this,i,e,t):void 0}
    ${X(this._calendarSelectedDates,(o,r)=>o._id||r,(o,r)=>T0.call(this,i,e,t,o,r))}${this.phone?void 0:C0.call(this,i,e,t)}${this.showTimeView?I0.call(this,i,e,t):void 0}
    ${this.showFooter?S0.call(this,i,e,t):void 0}
    `}function w0(i,e,t){return w`${this.phone?jM.call(this,i,e,t):void 0}`}function jM(i,e,t){return t?w`
    <${D("ui5-segmented-button",e,t)} class="ui5-dt-picker-toggle-button"><${D("ui5-toggle-button",e,t)} key="Date" ?pressed="${this.showDateView}" @click="${this._dateTimeSwitchChange}">${a(this.btnDateLabel)}<${D("ui5-toggle-button",e,t)} key="Time" ?pressed="${this.showTimeView}" @click="${this._dateTimeSwitchChange}">${a(this.btnTimeLabel)}
    `:w`
    ${a(this.btnDateLabel)}${a(this.btnTimeLabel)}
    `}function T0(i,e,t,o,r){return t?w`<${D("ui5-date",e,t)} value="${a(o)}">`:w``}function C0(i,e,t){return w``}function I0(i,e,t){return t?w`<${D("ui5-time-selection-clocks",e,t)} id="${a(this._id)}-time-sel" class="ui5-dt-time ${j(this.classes.dateTimeView)}" format-pattern="${a(this._formatPattern)}" value="${a(this._timeSelectionValue)}" @ui5-change="${a(this.onTimeSelectionChange)}" ._calendarType="${a(this._primaryCalendarType)}">`:w``}function S0(i,e,t){return t?w``:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const GM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePicker.css.ts",content:`:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{min-width:inherit;color:inherit;background-color:inherit} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const YM={packageName:"@ui5/webcomponents",fileName:"themes/DateTimePickerPopover.css.ts",content:`.ui5-dt-picker-content{display:flex;flex-direction:row;height:var(--_ui5-v1-22-1-rc-0_datetime_picker_height);min-width:var(--_ui5-v1-22-1-rc-0_datetime_picker_width);box-sizing:border-box;justify-content:center}.ui5-dt-picker-toggle-button{width:8rem}.ui5-dt-cal{width:auto;box-sizing:border-box}.ui5-dt-time{width:100%;min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_width);box-sizing:border-box}.ui5-dt-cal.ui5-dt-cal--hidden,.ui5-dt-time.ui5-dt-time--hidden{display:none}.ui5-dt-picker-header{display:flex;justify-content:center;width:100%;margin-top:1rem;box-sizing:border-box}.ui5-dt-picker-separator{height:calc(100% - 2rem);width:0px;margin-top:1rem;margin-bottom:1rem;border-left:1px solid var(--sapGroup_ContentBorderColor);box-sizing:border-box}.ui5-dt-picker-footer{display:flex;justify-content:flex-end;align-items:center;height:2.75rem;width:100%}.ui5-dt-picker-footer.ui5-dt-picker-footer-time-hidden{padding:0}.ui5-dt-picker-action{margin:.25rem}#ok.ui5-dt-picker-action{width:4rem}.ui5-dt-picker-content--phone.ui5-dt-picker-content{min-width:20rem;height:calc(100% - 4rem)}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-time-selection-clocks]{height:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width);width:auto}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-calendar]{margin-bottom:var(--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom)}.ui5-dt-picker-content--phone .ui5-dt-cal{width:100%}.ui5-dt-picker-content--phone .ui5-dt-time{min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width)} -`};var nh=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},bs;const XM=640;let Rs=bs=class extends wu{constructor(){super(),this._handleResizeBound=this._handleResize.bind(this)}onResponsivePopoverAfterClose(){super.onResponsivePopoverAfterClose(),this._showTimeView=!1,this._previewValues={}}onEnterDOM(){Ce.register(document.body,this._handleResizeBound)}onExitDOM(){Ce.deregister(document.body,this._handleResizeBound)}async openPicker(){await super.openPicker(),this._previewValues={...this._previewValues,timeSelectionValue:this.value||this.getFormat().format(new Date)}}get classes(){return{picker:{"ui5-dt-picker-content--phone":this.phone},dateTimeView:{"ui5-dt-cal--hidden":this.phone&&this.showTimeView,"ui5-dt-time--hidden":this.phone&&this.showDateView},footer:{"ui5-dt-picker-footer-time-hidden":this.phone&&this.showTimeView||this.phone&&this.showDateView}}}get _formatPattern(){const e=!!this.formatPattern.match(/H/i),t=!this.formatPattern||!e,o=kr(je());return t?o.getCombinedDateTimePattern("medium","medium",this._primaryCalendarType):this.formatPattern}get _calendarTimestamp(){return this._previewValues.calendarTimestamp?this._previewValues.calendarTimestamp:super._calendarTimestamp}get _calendarSelectedDates(){return this._previewValues.calendarValue?[this._previewValues.calendarValue]:super._calendarSelectedDates}get _timeSelectionValue(){return this._previewValues.timeSelectionValue?this._previewValues.timeSelectionValue:this.value}get openIconName(){return"date-time"}get btnOKLabel(){return bs.i18nBundle.getText(yv)}get btnCancelLabel(){return bs.i18nBundle.getText(wv)}get btnDateLabel(){return bs.i18nBundle.getText(Z4)}get btnTimeLabel(){return bs.i18nBundle.getText(Q4)}get showFooter(){return!0}get showDateView(){return this.phone?!this._showTimeView:!0}get showTimeView(){return this.phone?this._showTimeView:!0}get phone(){return super.phone||this._phoneMode}get dateAriaDescription(){return bs.i18nBundle.getText(z3)}get _shouldHideHeader(){return!0}onSelectedDatesChange(e){e.preventDefault();const t=e.path?e.path[1]:e.composedPath()[1];this._previewValues={...this._previewValues,calendarTimestamp:e.detail.timestamp,calendarValue:e.detail.values[0],timeSelectionValue:t.lastChild.value}}onTimeSelectionChange(e){this._previewValues={...this._previewValues,timeSelectionValue:e.detail.value}}_handleResize(){const t=document.body.offsetWidth<=XM;(t&&!this._phoneMode||!t&&this._phoneMode)&&(this._phoneMode=t)}get _submitDisabled(){return!this._calendarSelectedDates||!this._calendarSelectedDates.length}_submitClick(){const e=this.getSelectedDateTime(),t=this.getFormat().format(e);this.value!==t&&this._updateValueAndFireEvents(t,!0,["change","value-changed"]),this.closePicker()}_cancelClick(){this.closePicker()}_dateTimeSwitchChange(e){const t=e.target;this._showTimeView=t.getAttribute("key")==="Time"}_modifyDateValue(e,t,o){if(!this.dateValue)return;const n=bu(Oe.fromLocalJSDate(this.dateValue),e,t,o,this._minDate,this._maxDate).toLocalJSDate();n.setHours(this.dateValue.getHours()),n.setMinutes(this.dateValue.getMinutes()),n.setSeconds(this.dateValue.getSeconds());const s=this.formatValue(n);this._updateValueAndFireEvents(s,!0,["change","value-changed"])}async getPicker(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}getSelectedDateTime(){const e=this.getFormat().parse(this._calendarSelectedDates[0]),t=this.getFormat().parse(this._timeSelectionValue);return t&&(e.setHours(t.getHours()),e.setMinutes(t.getMinutes()),e.setSeconds(t.getSeconds())),e}get _calendarPickersMode(){return Xo.DAY_MONTH_YEAR}};nh([A({type:Boolean,noAttribute:!0})],Rs.prototype,"_showTimeView",void 0);nh([A({type:Boolean})],Rs.prototype,"_phoneMode",void 0);nh([A({type:Object})],Rs.prototype,"_previewValues",void 0);Rs=bs=nh([K({tag:"ui5-datetime-picker",staticAreaTemplate:WM,styles:[Rs.styles,GM],staticAreaStyles:[wu.staticAreaStyles,YM],dependencies:[...wu.dependencies,_6,Ne,od,oh,b6]})],Rs);Rs.define();function KM(i,e,t){return w`
    ${this.hideInput?void 0:ZM.call(this,i,e,t)}
    ${this._keepInputInShadowDOM?QM.call(this,i,e,t):JM.call(this,i,e,t)}
    `}function ZM(i,e,t){return t?w`<${D("ui5-input",e,t)} value="${a(this.value)}" value-state="${a(this.valueState)}" placeholder="${a(this.placeholder)}" ?disabled="${this.disabled}" tabindex="-1" class="ui5-file-uploader-input">`:w``}function QM(i,e,t){return w``}function JM(i,e,t){return w``}function eF(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    ${this._valueStateMessageInputIcon?k0.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?E0.call(this,i,e,t):$0.call(this,i,e,t)}
    `:w`
    ${this._valueStateMessageInputIcon?k0.call(this,i,e,t):void 0}${this.shouldDisplayDefaultValueStateMessage?E0.call(this,i,e,t):$0.call(this,i,e,t)}
    `}function k0(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">`:w``}function E0(i,e,t){return w`${a(this.valueStateText)}`}function $0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>tF.call(this,i,e,t,o,r))}`}function tF(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iF={packageName:"@ui5/webcomponents",fileName:"themes/FileUploader.css.ts",content:`:host{vertical-align:middle}:host{display:inline-block}.ui5-file-uploader-root{position:relative}.ui5-file-uploader-root input[type=file]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.ui5-file-uploader-root input[type=file]:not([disabled]){cursor:pointer}.ui5-file-uploader-mask{display:flex;align-items:center}.ui5-file-uploader-mask [ui5-input]{margin-right:.25rem}:host([value-state="None"]:not([disabled]):hover) [ui5-input],:host(:not([value-state]):not([disabled]):hover) [ui5-input]{border:var(--_ui5-v1-22-1-rc-0_file_uploader_hover_border);background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Error"]:not([disabled]):hover) [ui5-input]{background-color:var(--_ui5-v1-22-1-rc-0_file_uploader_value_state_error_hover_background_color);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Warning"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}:host(:not([disabled]):active) [ui5-button]{background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor);text-shadow:none} -`};var Ho=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Qr;let qi=Qr=class extends ie{static get formAssociated(){return!0}constructor(){super(),this._internals=this.attachInternals&&this.attachInternals()}_onmouseover(){this.content.forEach(e=>{e.classList.add("ui5_hovered")})}_onmouseout(){this.content.forEach(e=>{e.classList.remove("ui5_hovered")})}_onclick(e){Ko(e)==="button"&&this._input.click()}_onkeydown(e){Ie(e)&&(this._input.click(),e.preventDefault())}_onkeyup(e){le(e)&&(this._input.click(),e.preventDefault())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get files(){return this._input?this._input.files:Qr._emptyFilesList}onBeforeRendering(){this._enableFormSupport()}onAfterRendering(){this.value||(this._input.value=""),this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover)}_enableFormSupport(){const e=ze("FormSupport");e?this._canUseNativeFormSupport?this._setFormValue():e.syncNativeFileInput(this,(t,o)=>{o.disabled=!!t.disabled},this._onChange.bind(this)):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onChange(e){const t=e.target.files;this._updateValue(t),this.fireEvent("change",{files:t})}_updateValue(e){this.value=Array.from(e||[]).reduce((t,o)=>`${t}"${o.name}" `,"")}_setFormValue(){const e=new FormData;if(this.files)for(let t=0;te.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateText}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this.hideInput}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}get styles(){return{popoverHeader:{width:`${this.ui5Input?this.ui5Input.offsetWidth:0}px`}}}get ui5Input(){return this.shadowRoot.querySelector(".ui5-file-uploader-input")}static async onDefine(){Qr.i18nBundle=await fe("@ui5/webcomponents")}};Ho([A()],qi.prototype,"accept",void 0);Ho([A({type:Boolean})],qi.prototype,"hideInput",void 0);Ho([A({type:Boolean})],qi.prototype,"disabled",void 0);Ho([A({type:Boolean})],qi.prototype,"multiple",void 0);Ho([A()],qi.prototype,"name",void 0);Ho([A()],qi.prototype,"placeholder",void 0);Ho([A()],qi.prototype,"value",void 0);Ho([A({type:W,defaultValue:W.None})],qi.prototype,"valueState",void 0);Ho([A({type:Boolean})],qi.prototype,"focused",void 0);Ho([Z({type:HTMLElement,default:!0})],qi.prototype,"content",void 0);Ho([Z()],qi.prototype,"valueStateMessage",void 0);Ho([Z()],qi.prototype,"formSupport",void 0);qi=Qr=Ho([K({tag:"ui5-file-uploader",languageAware:!0,renderer:de,styles:iF,template:KM,staticAreaTemplate:eF,staticAreaStyles:[Vr,Za],dependencies:[xr,Vi,Be]}),q("change",{detail:{files:{type:FileList}}})],qi);qi.define();function oF(i,e,t){return t?w`
    ${a(this._tokensCountText)}<${D("ui5-tokenizer",e,t)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} .valueState=${a(this.valueState)} ?expanded="${this.expandedTokenizer}" show-more @keydown="${this._onTokenizerKeydown}" @ui5-show-more-items-press=${a(this.showMorePress)} @ui5-token-delete=${a(this.tokenDelete)} @focusout="${this._tokenizerFocusOut}">
    ${this.shouldDisplayDefaultValueStateMessage?A0.call(this,i,e,t):x0.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?D0.call(this,i,e,t):void 0}${this.icon.length?P0.call(this,i,e,t):void 0}
    ${Gn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?O0.call(this,i,e,t):void 0}${this.showSuggestions?B0.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?R0.call(this,i,e,t):void 0}${this.hasValueState?L0.call(this,i,e,t):void 0}
    `:w`
    ${a(this._tokensCountText)}
    ${this.shouldDisplayDefaultValueStateMessage?A0.call(this,i,e,t):x0.call(this,i,e,t)}
    ${this._effectiveShowClearIcon?D0.call(this,i,e,t):void 0}${this.icon.length?P0.call(this,i,e,t):void 0}
    ${Gn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon?O0.call(this,i,e,t):void 0}${this.showSuggestions?B0.call(this,i,e,t):void 0}${this.accInfo.input.ariaDescription?R0.call(this,i,e,t):void 0}${this.hasValueState?L0.call(this,i,e,t):void 0}
    `}function A0(i,e,t){return w`${a(this.valueStateText)}`}function x0(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>rF.call(this,i,e,t,o,r))}`}function rF(i,e,t,o,r){return w`${a(o)}`}function D0(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function P0(i,e,t){return w`
    `}function O0(i,e,t){return t?w`<${D("ui5-icon",e,t)} @click=${this.valueHelpPress} @mousedown=${this.valueHelpMouseDown} @mouseup=${this.valueHelpMouseUp} input-icon name="value-help">`:w``}function B0(i,e,t){return w`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`}function R0(i,e,t){return w`${a(this.accInfo.input.ariaDescription)}`}function L0(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const nF={packageName:"@ui5/webcomponents",fileName:"themes/MultiInput.css.ts",content:`[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}.ui5-multi-input-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-input-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-input-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-input-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} -`},aF="sys-cancel",y6="M512 256q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256t20.5-100 55-81.5T157 20t99-20q53 0 100 20t81.5 54.5T492 156t20 100zm-32 0q0-47-17.5-87.5t-48-71-71.5-48T256 32t-87 18-71.5 48.5-48 71T32 256q0 47 17.5 88t48 71 71.5 47.5 87 17.5q47 0 88-17.5t71-47.5 47.5-71 17.5-88zm-186-7q-5 3-1 9l89 89q9 8 0 17l-16 17q-8 4-9 4t-9-4l-89-89q-1-2-4-2-4 0-5 2l-88 89q-6 4-9 4-1 0-9-4l-16-17q-8-9 0-17l88-89q5-5 0-9l-88-89q-8-9 0-17l16-17q4-4 9-4t9 4l88 89q2 2 5 2 2 0 4-2l89-89q4-4 9-4t9 4l16 17q9 8 0 17z",sF=!1,lF="SAP-icons-v4",cF="@ui5/webcomponents-icons";ee(aF,{pathData:y6,ltr:sF,collection:lF,packageName:cF});const uF="sys-cancel",w6="M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 461q42 0 79.5-16t65.5-44 44-65.5 16-79.5-16-79.5-44-65.5-65.5-44T256 51t-79.5 16-65.5 44-44 65.5T51 256t16 79.5 44 65.5 65.5 44 79.5 16zm70-301q11 0 18.5 7.5T352 186t-7 18l-53 52 53 52q7 7 7 18t-7.5 18.5T326 352q-10 0-18-8l-52-52-52 52q-8 8-18 8-11 0-18.5-7.5T160 326q0-10 8-18l52-52-52-52q-8-8-8-18 0-11 7.5-18.5T186 160t18 7l52 53 52-53q7-7 18-7z",dF=!1,_F="SAP-icons-v5",hF="@ui5/webcomponents-icons";ee(uF,{pathData:w6,ltr:dF,collection:_F,packageName:hF});Se();function pF(i,e,t){return w`
    ${a(this.text)}${this.readonly?void 0:fF.call(this,i,e,t)}
    `}function fF(i,e,t){return w`
    ${this.closeIcon.length?vF.call(this,i,e,t):mF.call(this,i,e,t)}
    `}function vF(i,e,t){return w``}function mF(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.iconURI)}" accessible-name="${a(this.tokenDeletableText)}" show-tooltip @click="${this._delete}">`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const gF={packageName:"@ui5/webcomponents",fileName:"themes/Token.css.ts",content:`:host{display:inline-block;background:var(--_ui5-v1-22-1-rc-0_token_background);border:var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_border_radius);color:var(--_ui5-v1-22-1-rc-0_token_text_color);height:var(--_ui5-v1-22-1-rc-0_token_height);box-sizing:border-box}:host(:not([single-token])){margin-inline-end:var(--_ui5-v1-22-1-rc-0_token_right_margin)}:host([overflows]){display:none}:host(:not([readonly]):hover){background:var(--sapButton_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_hover_border_color)}:host([selected]:not([readonly])){color:var(--sapButton_Selected_TextColor)}:host([selected]:not([readonly])){background:var(--sapButton_Selected_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_Selected_BorderColor)}:host([selected]:not([readonly])) .ui5-token--wrapper{border-bottom:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius)}:host([selected]:not([readonly]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_selected_hover_border_color)}:host([readonly]){background:var(--_ui5-v1-22-1-rc-0_token_readonly_background);border-color:var(--sapField_ReadOnly_BorderColor);color:var(--_ui5-v1-22-1-rc-0_token_readonly_color)}:host([readonly]) .ui5-token--wrapper{padding:var(--_ui5-v1-22-1-rc-0_token_readonly_padding)}:host([selected]) .ui5-token--wrapper:focus{outline:var(--_ui5-v1-22-1-rc-0_token_selected_focus_outline)}:host([selected]:not([readonly])) .ui5-token--text,:host([selected]:not([readonly])) .ui5-token--icon{top:var(--_ui5-v1-22-1-rc-0_token_text_icon_top);position:relative}:host([focused][selected]:not([readonly]):not(:hover)){background:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor);border:var(--_ui5-v1-22-1-rc-0_token_focused_selected_border)}.ui5-token--wrapper{display:flex;align-items:center;height:100%;width:100%;cursor:default;padding-inline-start:var(--_ui5-v1-22-1-rc-0_token_left_padding);box-sizing:border-box;font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);user-select:none}.ui5-token--wrapper{position:relative}:host([selected]) .ui5-token--wrapper{font-family:var(--_ui5-v1-22-1-rc-0_token_selected_text_font_family)}.ui5-token--wrapper:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_token_outline_offset);outline:var(--_ui5-v1-22-1-rc-0_token_focus_outline)}.ui5-token--wrapper:focus:after{content:var(--ui5-v1-22-1-rc-0_token_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_focus_outline_border_radius);top:var(--_ui5-v1-22-1-rc-0_token_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_token_focus_offset);left:var(--_ui5-v1-22-1-rc-0_token_focus_offset);right:var(--_ui5-v1-22-1-rc-0_token_focus_offset)}:host([focused][selected]:not([readonly])) .ui5-token--wrapper:focus:after{bottom:var(--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom)}.ui5-token--text{white-space:nowrap}.ui5-token--icon{display:flex}:host([selected]) .ui5-token--icon>[ui5-icon],:host([selected]) ::slotted([ui5-icon]){color:var(--sapButton_Selected_TextColor)}.ui5-token--icon>[ui5-icon],::slotted([ui5-icon]){color:inherit;cursor:pointer;width:var(--_ui5-v1-22-1-rc-0_token_icon_size);height:var(--_ui5-v1-22-1-rc-0_token_icon_size);padding:var(--_ui5-v1-22-1-rc-0_token_icon_padding);color:var(--sapContent_IconColor)}:host([single-token]){max-width:100%}:host([single-token]) .ui5-token--wrapper{max-width:100%}:host([single-token]) .ui5-token--text{overflow:hidden;text-overflow:ellipsis;max-width:100%} -`};var kn=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Wd;let Ro=Wd=class extends ie{_handleSelect(){this.toBeDeleted||(this.selected=!this.selected,this.fireEvent("select"))}_focusin(){this.focused=!0}_focusout(){this.focused=!this.focused}_delete(){this.toBeDeleted=!0,this.fireEvent("delete")}_keydown(e){const t=Hu(e),o=$l(e);!this.readonly&&(t||o)&&(e.preventDefault(),this.fireEvent("delete",{backSpace:t,delete:o})),(le(e)||Gf(e))&&(e.preventDefault(),this._handleSelect())}onBeforeRendering(){this.toBeDeleted=!1}get tokenDeletableText(){return Wd.i18nBundle.getText(J4)}get iconURI(){return Ga().includes("sap_belize")?"sys-cancel":"decline"}get textDom(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-token--text")}get isTruncatable(){return this.textDom?Math.ceil(this.textDom.getBoundingClientRect().width)${a(this.tokenizerLabel)}
    ${X(this.tokens,(o,r)=>o._id||r,(o,r)=>yF.call(this,i,e,t,o,r))}
    ${this.showNMore?wF.call(this,i,e,t):void 0}`}function yF(i,e,t,o,r){return w``}function wF(i,e,t){return w`${a(this._nMoreText)}`}function TF(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} tokenizer-popover="true" style=${Y(this.styles.popover)} class=${j(this.classes.popover)} ?content-only-on-desktop="${this.noValueStatePopover}" hide-arrow placement-type="Bottom" horizontal-align="Left" @before-close=${this.handleBeforeClose} @before-open="${this.handleBeforeOpen}">${this._isPhone?void 0:N0.call(this,i,e,t)}${this._isPhone?F0.call(this,i,e,t):void 0}<${D("ui5-list",e,t)} class="ui5-tokenizer-list" mode="Delete" @ui5-item-delete=${a(this.itemDelete)}>${X(this._tokens,(o,r)=>o._id||r,(o,r)=>H0.call(this,i,e,t,o,r))}${this._isPhone?U0.call(this,i,e,t):void 0}`:w`${this._isPhone?void 0:N0.call(this,i,e,t)}${this._isPhone?F0.call(this,i,e,t):void 0}${X(this._tokens,(o,r)=>o._id||r,(o,r)=>H0.call(this,i,e,t,o,r))}${this._isPhone?U0.call(this,i,e,t):void 0}`}function N0(i,e,t){return w`
    ${this.noValueStatePopover?void 0:CF.call(this,i,e,t)}
    `}function CF(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>M0.call(this,i,e,t,o,r))}
    `:w`
    ${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>M0.call(this,i,e,t,o,r))}
    `}function M0(i,e,t,o,r){return w`${a(o)}`}function F0(i,e,t){return t?w`
    <${D("ui5-title",e,t)} level="H5" class="ui5-responsive-popover-header-text">${a(this.morePopoverTitle)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closeMorePopover}">
    ${this.noValueStatePopover?void 0:V0.call(this,i,e,t)}`:w`
    ${a(this.morePopoverTitle)}
    ${this.noValueStatePopover?void 0:V0.call(this,i,e,t)}`}function V0(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>z0.call(this,i,e,t,o,r))}
    `:w`
    ${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>z0.call(this,i,e,t,o,r))}
    `}function z0(i,e,t,o,r){return w`${a(o)}`}function H0(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .tokenRef=${a(o)} wrapping-type="Normal">${a(o.text)}`:w`${a(o.text)}`}function U0(i,e,t){return t?w``:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const IF={packageName:"@ui5/webcomponents",fileName:"themes/Tokenizer.css.ts",content:`.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:1px solid black;height:2.25rem}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;overflow-x:scroll;box-sizing:border-box;font-family:"72override",var(--sapFontFamily)}.ui5-tokenizer-no-padding{padding:0}.ui5-tokenizer-root.ui5-tokenizer-nmore--wrapper{overflow:hidden}.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-v1-22-1-rc-0_tokenizer_padding);height:100%;box-sizing:border-box}: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:.25rem;cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5-v1-22-1-rc-0_tokenizer_n_more_text_color)} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const SF={packageName:"@ui5/webcomponents",fileName:"themes/TokenizerPopover.css.ts",content:`[ui5-responsive-popover]::part(header),[ui5-responsive-popover]::part(content){padding:0}#ui5-tokenizer-dialog-confirm-btn{height:100%;min-width:4rem}[ui5-responsive-popover]{margin-top:var(--_ui5-v1-22-1-rc-0_tokenizer-popover_offset);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_tokenizer_padding))} -`};var dr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Jr,Ml;(function(i){i.cut="cut",i.copy="copy"})(Ml||(Ml={}));let Wi=Jr=class extends ie{_handleResize(){this._nMoreCount=this.overflownTokens.length}constructor(){super(),this._resizeHandler=this._handleResize.bind(this),this._itemNav=new $i(this,{currentIndex:-1,getItemsCallback:this._getVisibleTokens.bind(this)}),this._scrollEnablement=new Av(this)}onBeforeRendering(){this._tokensCount=this._getTokens().length,this._tokens.forEach(e=>{e.singleToken=this._tokens.length===1}),this._tokens.length||this.closeMorePopover()}onEnterDOM(){Ce.register(this.contentDom,this._resizeHandler)}onExitDOM(){Ce.deregister(this.contentDom,this._resizeHandler)}async _openMorePopoverAndFireEvent(){this.preventPopoverOpen||await this.openMorePopover(),this.fireEvent("show-more-items-press")}async openMorePopover(){(await this.getPopover()).showAt(this.morePopoverOpener||this)}_getTokens(){return this.getSlottedNodes("tokens")}get _tokens(){return this.getSlottedNodes("tokens")}_onmousedown(e){if(e.target.hasAttribute("ui5-token")){const t=e.target;t.toBeDeleted||this._itemNav.setCurrentItem(t)}}onTokenSelect(){const e=this._getTokens();e.length===1&&e[0].isTruncatable&&(e[0].selected?this.openMorePopover():this.closeMorePopover())}_getVisibleTokens(){return this.disabled?[]:this._tokens.filter((e,t)=>tthis.deleteToken(o,e.detail.backSpace)):this.deleteToken(t,e.detail.backSpace)}_tokenClickDelete(e,t){const o=this._getVisibleTokens(),r=e.target,n=t?o.indexOf(t):o.indexOf(r),s=n===o.length-1?n-1:n+1,l=o[s];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:t||r})}_handleCurrentItemAfterDeletion(e){e&&!ue()&&(this._itemNav.setCurrentItem(e),setTimeout(()=>{e.focus()},0))}deleteToken(e,t){const o=this._getVisibleTokens(),r=o.indexOf(e);let n=r===o.length-1?r-1:r+1;const s=o.filter(I=>!I.selected);t?n=r===0?r+1:r-1:n=r===o.length-1?r-1:r+1;let l=o[n];if(s.length>1)for(;l&&l.selected;)l=t?o[--n]:o[++n];else l=s[0];this._handleCurrentItemAfterDeletion(l),this.fireEvent("token-delete",{ref:e})}async itemDelete(e){const t=e.detail.item.tokenRef;if(this._getTokens().length===1&&this._getTokens()[0].isTruncatable){const o=await this.getPopover();o.addEventListener("ui5-after-close",()=>{this.fireEvent("token-delete",{ref:t})},{once:!0}),o.close()}else this.fireEvent("token-delete",{ref:t})}handleBeforeClose(){ue()&&this._getTokens().forEach(e=>{e.selected=!1})}handleBeforeOpen(){this.fireEvent("before-more-popover-open")}_onkeydown(e){if(Oa(e)&&e.preventDefault(),le(e)||Gf(e))return e.preventDefault(),this._handleTokenSelection(e,!1);vp(e)&&this._handleHomeShift(e),mp(e)&&this._handleEndShift(e),this._handleItemNavigation(e,this._tokens)}_handleItemNavigation(e,t){const o=!!(e.metaKey||e.ctrlKey),r=e.target;if(Cl(e)||Os(e)||Vn(e)||Fn(e))return this._handleArrowCtrl(e,r,t,Os(e)||Vn(e));if(fp(e)||n_(e)||ln(e)||Sr(e)||B9(e)||L2(e))return e.preventDefault(),this._handleArrowShift(r,t,n_(e)||L2(e)||Sr(e));if(Wt(e)||ki(e)||tc(e)||Ns(e))return e.preventDefault(),this._handleHome(t,ki(e)||Ns(e));if(o&&e.key.toLowerCase()==="a")return e.preventDefault(),this._toggleTokenSelection(t);if(Ct(e)||_t(e)||Xe(e)||qe(e)){const n=this._calcNextTokenIndex(this._tokens.find(s=>s.focused),t,_t(e)||qe(e));this._scrollToToken(t[n])}}_handleHome(e,t){if(!e||!e.length)return-1;const o=t?e.length-1:0;e[o].focus(),this._itemNav.setCurrentItem(e[o])}_handleHomeShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s<=r).forEach(n=>{n.selected=!0}),t[0].focus(),this._itemNav.setCurrentItem(t[0])}_handleEndShift(e){const t=this.tokens,o=e.target,r=t.indexOf(o);t.filter((n,s)=>s>=r).forEach(n=>{n.selected=!0}),t[t.length-1].focus(),this._itemNav.setCurrentItem(t[t.length-1])}_calcNextTokenIndex(e,t,o){if(!t.length)return-1;const r=t.indexOf(e);let n=o?r+1:r-1;return n>=t.length&&(n=t.length-1),n<0&&(n=0),n}_handleArrowCtrl(e,t,o,r){const n=this._calcNextTokenIndex(t,o,r);e.preventDefault(),n!==-1&&(setTimeout(()=>{o[n].focus()},0),this._scrollToToken(o[n]),this._itemNav.setCurrentItem(o[n]))}_handleArrowShift(e,t,o){const r=t.indexOf(e),n=o?r+1:r-1;n===-1||n===t.length||(e.selected=!0,t[n].selected=!0,setTimeout(()=>{t[n].focus()},0),this._scrollToToken(t[n]),this._itemNav.setCurrentItem(t[n]))}_click(e){this._handleTokenSelection(e)}_toggleTokenSelection(e){if(!e||!e.length)return;const t=e.every(o=>o.selected);e.forEach(o=>{o.selected=!t})}_handleTokenSelection(e,t=!0){const o=e.target;o.hasAttribute("ui5-token")&&(t?this._tokens:[]).forEach(n=>{n!==o&&(n.selected=!1)})}_fillClipboard(e,t){const o=t.filter(n=>n.selected).map(n=>n.text).join(`\r -`),r=n=>{n.clipboardData&&n.clipboardData.setData("text/plain",o),n.preventDefault()};document.addEventListener(e,r),document.execCommand(e),document.removeEventListener(e,r)}scrollToStart(){this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(0,0)}scrollToEnd(){const e=this.expandedContentDom&&(this.effectiveDir!=="rtl"?this.expandedContentDom.scrollWidth:-this.expandedContentDom.scrollWidth);this._scrollEnablement.scrollContainer&&this._scrollEnablement.scrollTo(e,0,5,10)}_scrollToToken(e){if(!this.expandedContentDom)return;const t=e.getBoundingClientRect(),o=this.expandedContentDom.getBoundingClientRect();t.lefto.right&&this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft+(t.right-o.right+5),0)}async closeMorePopover(){(await this.getPopover()).close(!1,!1,!0)}get _nMoreText(){if(this._nMoreCount)return this._getVisibleTokens().length?Jr.i18nBundle.getText(m4,this._nMoreCount):Jr.i18nBundle.getText(n8,this._nMoreCount)}get showNMore(){return!this.expanded&&this.showMore&&!!this.overflownTokens.length}get contentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer--content")}get expandedContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-expanded--content")}get narrowContentDom(){return this.shadowRoot.querySelector(".ui5-tokenizer-nmore--content")}get tokenizerLabel(){return Jr.i18nBundle.getText(o8)}get morePopoverTitle(){return Jr.i18nBundle.getText(r8)}get overflownTokens(){return this.contentDom?(this._getTokens().forEach(e=>{e.overflows=!1}),this._getTokens().filter(e=>{const t=this.contentDom.getBoundingClientRect(),o=e.getBoundingClientRect(),r=Number(o.right.toFixed(2)),n=Number(t.right.toFixed(2)),s=Number(o.left.toFixed(2)),l=Number(t.left.toFixed(2));return e.overflows=!this.expanded&&(sn),e.overflows})):[]}get noValueStatePopover(){return this.valueState===W.None||this.valueState===W.Success}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get _valueStateMessageIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get _isPhone(){return ue()}get _selectedTokens(){return this._getTokens().filter(e=>e.selected)}get classes(){return{wrapper:{"ui5-tokenizer-root":!0,"ui5-tokenizer-nmore--wrapper":this.showMore,"ui5-tokenizer-no-padding":!this._getTokens().length},content:{"ui5-tokenizer--content":!0,"ui5-tokenizer-expanded--content":!this.showNMore,"ui5-tokenizer-nmore--content":this.showNMore},popover:{"ui5-popover-with-value-state-header-phone":this._isPhone&&!this.noValueStatePopover,"ui5-popover-with-value-state-header":!this._isPhone&&!this.noValueStatePopover},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information}}}get styles(){return{popover:{"min-width":this.popoverMinWidth?`${this.popoverMinWidth}px`:""},popoverValueStateMessage:{width:this.popoverMinWidth&&!ue()?`${this.popoverMinWidth}px`:"100%","min-height":"2rem"},popoverHeader:{"min-height":"2rem"},popoverHeaderTitle:{"justify-content":"left"}}}_tokensCountText(){const e=this._getTokens().length;return e===0?Jr.i18nBundle.getText(e8):e===1?Jr.i18nBundle.getText(t8):Jr.i18nBundle.getText(i8,e)}_focusLastToken(){if(this.tokens.length===0)return;const e=this.tokens[this.tokens.length-1];e.focus(),this._itemNav.setCurrentItem(e)}static async onDefine(){Jr.i18nBundle=await fe("@ui5/webcomponents")}async getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}};dr([A({type:Boolean})],Wi.prototype,"showMore",void 0);dr([A({type:Boolean})],Wi.prototype,"disabled",void 0);dr([A({type:Boolean})],Wi.prototype,"preventPopoverOpen",void 0);dr([A({type:Boolean})],Wi.prototype,"expanded",void 0);dr([A({type:Object})],Wi.prototype,"morePopoverOpener",void 0);dr([A({validator:ae})],Wi.prototype,"popoverMinWidth",void 0);dr([A({type:W,defaultValue:W.None})],Wi.prototype,"valueState",void 0);dr([A({validator:ae})],Wi.prototype,"_nMoreCount",void 0);dr([A({validator:ae})],Wi.prototype,"_tokensCount",void 0);dr([Z({type:HTMLElement,default:!0,individualSlots:!0})],Wi.prototype,"tokens",void 0);dr([Z()],Wi.prototype,"valueStateMessage",void 0);Wi=Jr=dr([K({tag:"ui5-tokenizer",languageAware:!0,renderer:de,template:bF,styles:IF,staticAreaStyles:[Vr,Za,Q_,SF],staticAreaTemplate:TF,dependencies:[fo,vo,ta,_c,Ne]}),q("token-delete",{detail:{ref:{type:HTMLElement}}}),q("show-more-items-press",{detail:{ref:{type:HTMLElement}}}),q("before-more-popover-open")],Wi);Wi.define();const C6=Wi,kF="value-help",I6="M470 41q10 9 10 23v192q0 12-10 22t-22 10H256q-14 0-23-10-9-9-9-22V64q0-14 9-23t23-9h192q13 0 22 9zm-22 23H256v192h192V64zm-96 256h32v128q0 14-9 23t-23 9H64q-12 0-23-9-9-9-9-23V160q0-14 9-23t23-9h128v32H64v288h288V320z",EF=!1,$F="SAP-icons-v4",AF="@ui5/webcomponents-icons";ee(kF,{pathData:I6,ltr:EF,collection:$F,packageName:AF});const xF="value-help",S6="M422 32q24 0 41 17t17 41v204q0 24-17 41t-41 17h-12q-11 0-18.5-7.5T384 326t7.5-18 18.5-7h12q7 0 7-7V90q0-7-7-7H218q-7 0-7 7v12q0 11-7 18.5t-18 7.5-18.5-7.5T160 102V90q0-24 17-41t41-17h204zM294 160q24 0 41 17t17 41v204q0 24-17 41t-41 17H90q-24 0-41-17t-17-41V218q0-24 17-41t41-17h204zm7 58q0-7-7-7H90q-7 0-7 7v204q0 7 7 7h204q7 0 7-7V218z",DF=!1,PF="SAP-icons-v5",OF="@ui5/webcomponents-icons";ee(xF,{pathData:S6,ltr:DF,collection:PF,packageName:OF});Se();var nd=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},$1;let Ys=$1=class extends xr{constructor(){super(),this._skipOpenSuggestions=!1,this._valueHelpIconPressed=!1}valueHelpPress(){this.closePopover(),this.fireEvent("value-help-trigger")}showMorePress(){this.expandedTokenizer=!1,this.focus()}tokenDelete(e){const t=e.detail.ref,o=this.tokens.filter(n=>n.selected),r=this.tokens.length-1===0||this.tokens.length===o.length;if(!this._readonly){if(t){this.fireEvent("token-delete",{token:t}),r&&this.focus();return}o.indexOf(t)===-1&&o.push(t),o.forEach(n=>{this.fireEvent("token-delete",{token:n})})}}valueHelpMouseDown(e){const t=e.target;this.closePopover(),this.tokenizer.closeMorePopover(),this._valueHelpIconPressed=!0,t.focus()}_tokenizerFocusOut(e){const t=e.relatedTarget===this.tokenizer.staticAreaItem;!this.contains(e.relatedTarget)&&!t&&(this.tokenizer._tokens.forEach(o=>{o.selected=!1}),this.tokenizer.scrollToStart()),e.relatedTarget===this.nativeInput&&this.tokenizer.closeMorePopover()}valueHelpMouseUp(){setTimeout(()=>{this._valueHelpIconPressed=!1},0)}innerFocusIn(){this.expandedTokenizer=!0,this.focused=!0,this.tokenizer.scrollToEnd(),this.tokenizer._getTokens().forEach(e=>{e.selected=!1})}_onkeydown(e){super._onkeydown(e);const t=e.target,o=Wt(e)&&t.selectionStart===0,r=e.metaKey||e.ctrlKey,n=this.tokens;if(o)return this._skipOpenSuggestions=!0,this._focusFirstToken(e);if(Ct(e)||Hu(e))return this._skipOpenSuggestions=!0,this._handleLeft(e);this._skipOpenSuggestions=!1,zn(e)&&this.valueHelpPress(),r&&e.key.toLowerCase()==="i"&&n.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_onTokenizerKeydown(e){const t=Os(e),o=!!(e.metaKey||e.ctrlKey),r=this.tokens;if(_t(e)||ki(e)||t){e.preventDefault();const n=this.tokens.length-1;if(e.target===this.tokens[n]&&this.tokens[n]===document.activeElement)setTimeout(()=>{this.focus()},0);else if(t)return e.preventDefault(),this.tokenizer._handleArrowCtrl(e,e.target,this.tokens,!0)}if(o&&["c","x"].includes(e.key.toLowerCase())){e.preventDefault();const n=e.key.toLowerCase()==="x",s=r.filter(l=>l.selected);if(n){const l=this.tokenizer._fillClipboard(Ml.cut,s);return s.forEach(I=>{this.fireEvent("token-delete",{token:I})}),this.focus(),l}return this.tokenizer._fillClipboard(Ml.copy,s)}o&&e.key.toLowerCase()==="i"&&r.length>0&&(e.preventDefault(),this.tokenizer.openMorePopover())}_handleLeft(e){const t=this.getDomRef().querySelector("input").selectionStart,o=this.tokens,r=o.length&&o[o.length-1];t===0&&r&&(e.preventDefault(),r.focus(),this.tokenizer._itemNav.setCurrentItem(r))}_focusFirstToken(e){const t=this.tokens,o=t.length&&t[0];o&&(e.preventDefault(),o.focus(),this.tokenizer._itemNav.setCurrentItem(o))}_onfocusout(e){super._onfocusout(e);const t=e.relatedTarget,o=this.contains(t),r=this.shadowRoot.contains(t);!o&&!r&&(this.expandedTokenizer=!1,this.tokenizer._itemNav._currentIndex=-1)}async _onfocusin(e){const t=await this.getInputDOMRef();e.target===t&&await super._onfocusin(e)}lastItemDeleted(){setTimeout(()=>{this.focus()},0)}onBeforeRendering(){super.onBeforeRendering(),this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`),this.tokenizerAvailable=this.tokens&&this.tokens.length>0}get iconsCount(){return super.iconsCount+(this.showValueHelpIcon?1:0)}get tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}get _tokensCountText(){if(this.tokenizer)return this.tokenizer._tokensCountText()}get _tokensCountTextId(){return`${this._id}-hiddenText-nMore`}get _placeholder(){return this.tokenizer&&this.tokenizer._tokens.length?"":this.placeholder}get accInfo(){const e=`${this._tokensCountTextId} ${this.suggestionsTextId} ${this.valueStateTextId}`.trim();return{input:{...super.accInfo.input,ariaRoledescription:this.ariaRoleDescription,ariaDescribedBy:e}}}get ariaRoleDescription(){return $1.i18nBundle.getText(v4)}get morePopoverOpener(){return this.tokens.length===1&&this.tokens[0].isTruncatable?this.tokens[0]:this}};nd([A({type:Boolean})],Ys.prototype,"showValueHelpIcon",void 0);nd([A({type:Boolean})],Ys.prototype,"expandedTokenizer",void 0);nd([A({type:Boolean})],Ys.prototype,"tokenizerAvailable",void 0);nd([Z()],Ys.prototype,"tokens",void 0);Ys=$1=nd([K({tag:"ui5-multi-input",renderer:de,template:oF,styles:[xr.styles,nF],dependencies:[...xr.dependencies,C6,T6,Be]}),q("value-help-trigger"),q("token-delete",{detail:{token:{type:HTMLElement}}})],Ys);Ys.define();function BF(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-menu-rp" class="ui5-menu-rp" horizontal-align="Left" placement-type=${a(this.placementType)} vertical-align=${a(this.verticalAlign)} hide-arrow allow-target-overlap ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)}>${this.isPhone?q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?j0.call(this,i,e,t):Z0.call(this,i,e,t)}
    `:w`${this.isPhone?q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?j0.call(this,i,e,t):Z0.call(this,i,e,t)}
    `}function q0(i,e,t){return t?w`
    ${this.isSubMenuOpened?W0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${D("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:w`
    ${this.isSubMenuOpened?W0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function W0(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:w``}function j0(i,e,t){return t?w`<${D("ui5-list",e,t)} id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" accessible-role="menu" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>G0.call(this,i,e,t,o,r))}`:w`${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>G0.call(this,i,e,t,o,r))}`}function G0(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="menuitem" .additionalText="${a(o.item._additionalText)}" ._ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>
    ${o.item.hasDummyIcon?Y0.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?X0.call(this,i,e,t,o,r):K0.call(this,i,e,t,o,r)}
    `:w`
    ${o.item.hasDummyIcon?Y0.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?X0.call(this,i,e,t,o,r):K0.call(this,i,e,t,o,r)}
    `}function Y0(i,e,t,o,r){return w`
    `}function X0(i,e,t,o,r){return t?w`
    <${D("ui5-icon",e,t)} part="subicon" name="slim-arrow-right" class="ui5-menu-item-icon-end">
    `:w`
    `}function K0(i,e,t,o,r){return w`${o.item._siblingsWithChildren?RF.call(this,i,e,t,o,r):void 0}`}function RF(i,e,t,o,r){return w`
    `}function Z0(i,e,t){return w`${this.busy?LF.call(this,i,e,t):void 0}`}function LF(i,e,t){return t?w`<${D("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const k6={packageName:"@ui5/webcomponents",fileName:"themes/Menu.css.ts",content:`.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v1-22-1-rc-0_menu_popover_border_radius);max-width:20rem}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item-no-icon-end{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item[additional-text] .ui5-menu-item-no-icon-end{display:none}.ui5-menu-item-dummy-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.5rem;pointer-events:none}.ui5-menu-item-submenu-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v1-22-1-rc-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem}.ui5-menu-dialog-title>div{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-item::part(title){font-size:var(--sapFontSize);padding-top:.125rem}.ui5-menu-item[icon]:not([is-phone])::part(title),.ui5-menu-item[is-phone]:not([icon=""])::part(title){padding-top:0}.ui5-menu-item:not([is-phone])::part(native-li){padding:var(--_ui5-v1-22-1-rc-0_menu_item_padding)}.ui5-menu-item[starts-section]{border-top:1px solid var(--sapGroup_ContentBorderColor)}.ui5-menu-item[active] .ui5-menu-item-icon-end{color:var(--sapList_Active_TextColor)}.ui5-menu-item[focused]:not([active]){background-color:var(--sapList_Hover_Background)}.ui5-menu-rp[sub-menu]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset)}.ui5-menu-rp[sub-menu][actual-placement-type=Left]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset)}.ui5-menu-item::part(additional-text){margin-inline-start:var(--_ui5-v1-22-1-rc-0_menu_item_additional_text_start_margin);color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ui5-menu-item-text:has(.ui5-menu-item-submenu-icon){padding-inline-end:1rem} -`};var mo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Mc;const NF=300,MF=400;let gi=Mc=class extends ie{static async onDefine(){Mc.i18nBundle=await fe("@ui5/webcomponents")}get itemsWithChildren(){return!!this._currentItems.filter(e=>e.item.items.length).length}get itemsWithIcon(){return!!this._currentItems.filter(e=>e.item.icon!=="").length}get isRtl(){return this.effectiveDir==="rtl"}get placementType(){const e=this.isRtl?"Left":"Right";return this._isSubMenu?e:"Bottom"}get verticalAlign(){return this._isSubMenu?"Top":"Bottom"}get labelBack(){return Mc.i18nBundle.getText(g8)}get labelClose(){return Mc.i18nBundle.getText(b8)}get isPhone(){return ue()}get isSubMenuOpened(){return!!this._parentMenuItem}get menuHeaderTextPhone(){return this._parentMenuItem?this._parentMenuItem.text:this.headerText}onBeforeRendering(){!ue()&&this._prepareCurrentItems(this.items);const e=this.itemsWithChildren,t=this.itemsWithIcon;this._currentItems.forEach(o=>{o.item._siblingsWithChildren=e,o.item._siblingsWithIcon=t;const r=o.item._subMenu,n=o.item;if(r&&r.busy){r.innerHTML="";const s=this._clonedItemsFragment(n);r.appendChild(s)}r&&(r.busy=o.item.busy,r.busyDelay=o.item.busyDelay)})}onAfterRendering(){if(this.opener)if(this.open){const e=this.getOpener();e&&this.showAt(e)}else this.close()}async showAt(e){ue()&&(this._prepareCurrentItems(this.items),this._parentItemsStack=[]),this._isSubMenu||(this._parentMenuItem=void 0);const t=await this._createPopover();t.initialFocus="";for(let o=0;o({item:t,position:o+1,ariaHasPopup:t.hasSubmenu?"menu":void 0}))}_createSubMenu(e,t){const o=this.constructor,r=document.createElement(o.getMetadata().getTag());r._isSubMenu=!0,r.setAttribute("id",`submenu-${t}`),r._parentMenuItem=e,r.busy=e.busy,r.busyDelay=e.busyDelay;const n=this._clonedItemsFragment(e);r.appendChild(n),this.staticAreaItem.shadowRoot.querySelector(".ui5-menu-submenus").appendChild(r),e._subMenu=r}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;othis._closeSubMenuPopover(e._subMenu),0))}_closeSubMenuPopover(e,t=!1){if(e){const o=e._parentMenuItem;(t||!o._preventSubMenuClose)&&(e.close(),e.remove(),o._subMenu=void 0,this._openedSubMenuItem=void 0,this._subMenuOpenerId="")}}_prepareSubMenuDesktopTablet(e,t,o){(o!==this._subMenuOpenerId||e&&e.hasSubmenu)&&this._closeItemSubMenu(this._openedSubMenuItem,!0),e&&e.hasSubmenu&&(this._createSubMenu(e,o),this._openItemSubMenu(e,t,o)),this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_prepareSubMenuPhone(e){this._prepareCurrentItems(e.items),this._parentMenuItem=e,this._parentItemsStack.push(e)}_startOpenTimeout(e,t,o){this._clearTimeout(),this._timeout=setTimeout(()=>{this._prepareSubMenuDesktopTablet(e,t,o)},NF)}_startCloseTimeout(e){this._clearTimeout(),this._timeout=setTimeout(()=>{this._closeItemSubMenu(e)},MF)}_clearTimeout(){this._timeout&&clearTimeout(this._timeout)}_itemMouseOver(e){if(Qo()){const t=e.target,o=t.associatedItem,r=t.getAttribute("id");t.focus(),this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_busyMouseOver(){this._parentMenuItem&&(this._parentMenuItem._preventSubMenuClose=!0)}_itemMouseOut(e){if(Qo()){const o=e.target.associatedItem;this._clearTimeout(),o&&o.hasSubmenu&&o._subMenu&&(o._preventSubMenuClose=!1,this._startCloseTimeout(o))}}_itemKeyDown(e){const t=this.isRtl?_t(e):Ct(e),o=this.isRtl?Ct(e):_t(e);if(Ie(e)&&e.preventDefault(),o){const r=e.target,n=r.associatedItem,s=r.getAttribute("id");n.hasSubmenu&&this._prepareSubMenuDesktopTablet(n,r,s)}else t&&this._isSubMenu&&this._parentMenuItem&&this._parentMenuItem.parentElement._closeItemSubMenu(this._parentMenuItem,!0)}_itemClick(e){const t=e.detail.item,o=t.associatedItem,r=t.getAttribute("id");if(o.hasSubmenu)ue()?this._prepareSubMenuPhone(o):Ql()&&this._prepareSubMenuDesktopTablet(o,t,r);else if(!this._isSubMenu)ue()&&(this._parentMenuItem=void 0),!this.fireEvent("item-click",{item:o,text:o.text},!0,!1)||this._popover.close();else{const n=this._findMainMenu(o);if(!!n.fireEvent("item-click",{item:o,text:o.text},!0,!1)){let l=o,I=l.parentElement;do l._preventSubMenuClose=!1,this._closeItemSubMenu(l),I=l.parentElement,l=I._parentMenuItem;while(I._parentMenuItem);n._popover.close()}}}_findMainMenu(e){let t=e.parentElement;for(;t._parentMenuItem;)t=t._parentMenuItem.parentElement;return t}_beforePopoverOpen(e){!this.fireEvent("before-open",{},!0,!1)&&(this.open=!1,e.preventDefault())}_afterPopoverOpen(){this.open=!0,this.fireEvent("after-open",{},!1,!1)}_beforePopoverClose(e){if(!this.fireEvent("before-close",{escPressed:e.detail.escPressed},!0,!1)){this.open=!0,e.preventDefault();return}this._openedSubMenuItem&&(this._openedSubMenuItem._preventSubMenuClose=!1,this._closeItemSubMenu(this._openedSubMenuItem))}_afterPopoverClose(){this.open=!1,this.fireEvent("after-close",{},!1,!1)}};mo([A()],gi.prototype,"headerText",void 0);mo([A({type:Boolean})],gi.prototype,"open",void 0);mo([A({type:Boolean})],gi.prototype,"busy",void 0);mo([A({validator:ae,defaultValue:1e3})],gi.prototype,"busyDelay",void 0);mo([A({validator:j_,defaultValue:""})],gi.prototype,"opener",void 0);mo([A({type:Boolean,noAttribute:!0})],gi.prototype,"_isSubMenu",void 0);mo([A()],gi.prototype,"_subMenuOpenerId",void 0);mo([A({type:Object,multiple:!0})],gi.prototype,"_currentItems",void 0);mo([A({type:Object,multiple:!0})],gi.prototype,"_parentItemsStack",void 0);mo([A({type:Object,defaultValue:void 0})],gi.prototype,"_popover",void 0);mo([A({type:Object,defaultValue:void 0})],gi.prototype,"_parentMenuItem",void 0);mo([A({type:Object,defaultValue:void 0})],gi.prototype,"_openedSubMenuItem",void 0);mo([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],gi.prototype,"items",void 0);gi=Mc=mo([K({tag:"ui5-menu",renderer:de,staticAreaStyles:k6,staticAreaTemplate:BF,dependencies:[fo,Ne,vo,ta,Be,tl]}),q("item-click",{detail:{item:{type:HTMLElement},text:{type:String}}}),q("before-open",{detail:{item:{type:HTMLElement}}}),q("after-open"),q("before-close",{detail:{escPressed:{type:Boolean}}}),q("after-close")],gi);gi.define();const FF=gi;var go=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let bi=class extends ie{get hasSubmenu(){return!!(this.items.length||this.busy)}get hasDummyIcon(){return this._siblingsWithIcon&&!this.icon}get subMenuOpened(){return!!this._subMenu}get _additionalText(){return this.hasSubmenu?"":this.additionalText}get ariaLabelledByText(){return`${this.text} ${this.accessibleName}`.trim()}};go([A()],bi.prototype,"text",void 0);go([A()],bi.prototype,"additionalText",void 0);go([A()],bi.prototype,"icon",void 0);go([A({type:Boolean})],bi.prototype,"startsSection",void 0);go([A({type:Boolean})],bi.prototype,"disabled",void 0);go([A({type:Boolean})],bi.prototype,"busy",void 0);go([A({validator:ae,defaultValue:1e3})],bi.prototype,"busyDelay",void 0);go([A()],bi.prototype,"accessibleName",void 0);go([A({type:Boolean,noAttribute:!0})],bi.prototype,"_siblingsWithChildren",void 0);go([A({type:Boolean,noAttribute:!0})],bi.prototype,"_siblingsWithIcon",void 0);go([A({type:Boolean,noAttribute:!0})],bi.prototype,"_preventSubMenuClose",void 0);go([A({type:Object,defaultValue:void 0})],bi.prototype,"_subMenu",void 0);go([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],bi.prototype,"items",void 0);bi=go([K("ui5-menu-item")],bi);bi.define();const VF=bi;function zF(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-navigation-menu-rp" class="ui5-menu-rp ui5-navigation-menu" vertical-align="Center" ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)} accessible-name-ref="${a(this._id)}-navigationMenuPopoverText">${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?Q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?em.call(this,i,e,t):lm.call(this,i,e,t)}
    `:w`${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone?Q0.call(this,i,e,t):void 0}
    ${this._currentItems.length?em.call(this,i,e,t):lm.call(this,i,e,t)}
    `}function Q0(i,e,t){return t?w`
    ${this.isSubMenuOpened?J0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    <${D("ui5-button",e,t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    `:w`
    ${this.isSubMenuOpened?J0.call(this,i,e,t):void 0}
    ${a(this.menuHeaderTextPhone)}
    `}function J0(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>`:w``}function em(i,e,t){return t?w`<${D("ui5-list",e,t)} accessible-role="tree" id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>tm.call(this,i,e,t,o,r))}`:w`${X(this._currentItems,(o,r)=>o._id||r,(o,r)=>tm.call(this,i,e,t,o,r))}`}function tm(i,e,t,o,r){return w`${o.item.href?HF.call(this,i,e,t,o,r):qF.call(this,i,e,t,o,r)}`}function HF(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .associatedItem="${a(o.item)}" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="none" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown} class="ui5-menu-item ui5-navigation-menu-item">${o.item.hasDummyIcon?im.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?om.call(this,i,e,t,o,r):rm.call(this,i,e,t,o,r)}`:w`${o.item.hasDummyIcon?im.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?om.call(this,i,e,t,o,r):rm.call(this,i,e,t,o,r)}`}function im(i,e,t,o,r){return w`
    `}function om(i,e,t,o,r){return t?w`<${D("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:w``}function rm(i,e,t,o,r){return w`${o.item._siblingsWithChildren?UF.call(this,i,e,t,o,r):void 0}`}function UF(i,e,t,o,r){return w`
    `}function qF(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} .associatedItem="${a(o.item)}" class="ui5-menu-item ui5-navigation-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="treeitem" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>${o.item.hasDummyIcon?nm.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?am.call(this,i,e,t,o,r):sm.call(this,i,e,t,o,r)}`:w`${o.item.hasDummyIcon?nm.call(this,i,e,t,o,r):void 0}${a(o.item.text)}${o.item.hasSubmenu?am.call(this,i,e,t,o,r):sm.call(this,i,e,t,o,r)}`}function nm(i,e,t,o,r){return w`
    `}function am(i,e,t,o,r){return t?w`<${D("ui5-icon",e,t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">`:w``}function sm(i,e,t,o,r){return w`${o.item._siblingsWithChildren?WF.call(this,i,e,t,o,r):void 0}`}function WF(i,e,t,o,r){return w`
    `}function lm(i,e,t){return w`${this.busy?jF.call(this,i,e,t):void 0}`}function jF(i,e,t){return t?w`<${D("ui5-busy-indicator",e,t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const GF={packageName:"@ui5/webcomponents",fileName:"themes/NavigationMenu.css.ts",content:`.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-navigation-menu .ui5-navigation-menu-main{padding:var(--_ui5-v1-22-1-rc-0_side_navigation_parent_popup_padding)}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li){padding-left:.5rem;width:auto}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li):after{border-radius:.375rem;inset:0}.ui5-navigation-menu .ui5-navigation-menu-item{display:flex;align-items:center;width:100%;box-sizing:border-box;position:relative;height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);min-height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);border-radius:.375rem;transition:var(--_ui5-v1-22-1-rc-0_side_navigation_item_transition);color:var(--sapList_TextColor);font-weight:700;font-size:var(--sapFontSize);border-bottom:none}.ui5-navigation-menu .ui5-navigation-menu-item a{display:flex;align-items:center;text-decoration:none;color:var(--sapList_TextColor)}.ui5-navigation-menu[sub-menu] .ui5-navigation-menu-item{font-weight:400}.ui5-menu-rp.ui5-navigation-menu{box-shadow:var(--_ui5-v1-22-1-rc-0_side_navigation_popup_box_shadow);width:auto;min-width:10rem;height:auto;background:var(--sapGroup_ContentBackground);border:none;border-radius:.75rem}.ui5-navigation-menu .ui5-navigation-menu-item .ui5-menu-item-icon-end{position:relative;inset-inline-end:auto;width:.75rem;height:.75rem;color:var(--sapList_TextColor)}.ui5-navigation-menu .ui5-navigation-menu-item::part(icon){color:var(--sapList_TextColor);min-width:1rem;min-height:1rem}.ui5-navigation-menu .ui5-menu-item[focused]:not([active]){background:none} -`};var E6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},A1;let Iu=A1=class extends FF{_itemMouseOver(e){if(Qo()){const t=e.target;let o=t.associatedItem;const r=t.getAttribute("id");if(!o){const n=t.parentElement;t.parentElement&&(o=n.associatedItem)}this._clearTimeout(),this._startOpenTimeout(o,t,r)}}_clonedItemsFragment(e){const t=document.createDocumentFragment();for(let o=0;o=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Su=class extends VF{};Nv([A()],Su.prototype,"href",void 0);Nv([A()],Su.prototype,"target",void 0);Su=Nv([K("ui5-navigation-menu-item")],Su);Su.define();const $6=i=>{let e,t,o,r,n,s,l,I,y,C,b,v;const g=Ev({beforeStart:()=>{i.style.display="block",e=getComputedStyle(i),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=i.style.overflow,I=i.style.paddingTop,y=i.style.paddingBottom,C=i.style.marginTop,b=i.style.marginBottom,v=i.style.height,i.style.overflow="hidden",i.style.paddingTop="0",i.style.paddingBottom="0",i.style.marginTop="0",i.style.marginBottom="0",i.style.height="0"},duration:$v,element:i,advance:p=>{i.style.display="block",i.style.paddingTop=`${t*p}px`,i.style.paddingBottom=`${o*p}px`,i.style.marginTop=`${r*p}px`,i.style.marginBottom=`${n*p}px`,i.style.height=`${s*p}px`}});return g.promise().then(()=>{i.style.overflow=l,i.style.paddingTop=I,i.style.paddingBottom=y,i.style.marginTop=C,i.style.marginBottom=b,i.style.height=v}),g},A6=i=>{let e,t,o,r,n,s,l,I,y,C,b,v;const g=Ev({beforeStart:()=>{const p=i;e=getComputedStyle(p),t=parseFloat(e.paddingTop),o=parseFloat(e.paddingBottom),r=parseFloat(e.marginTop),n=parseFloat(e.marginBottom),s=parseFloat(e.height),l=p.style.overflow,I=p.style.paddingTop,y=p.style.paddingBottom,C=p.style.marginTop,b=p.style.marginBottom,v=p.style.height,p.style.overflow="hidden"},duration:$v,element:i,advance:p=>{i.style.paddingTop=`${t-t*p}px`,i.style.paddingBottom=`${o-o*p}px`,i.style.marginTop=`${r-r*p}px`,i.style.marginBottom=`${n-n*p}px`,i.style.height=`${s-s*p}px`}});return g.promise().then(p=>{p instanceof Error||(i.style.overflow=l,i.style.paddingTop=I,i.style.paddingBottom=y,i.style.marginTop=C,i.style.marginBottom=b,i.style.height=v,i.style.display="none")}),g};var x1;(function(i){i.Complementary="Complementary",i.Form="Form",i.Region="Region"})(x1||(x1={}));const cm=x1;function XF(i,e,t){return w`
    ${this.hasHeaderOrHeaderText?KF.call(this,i,e,t):void 0}
    `}function KF(i,e,t){return w`
    ${this.fixed?void 0:ZF.call(this,i,e,t)}${this._hasHeader?eV.call(this,i,e,t):tV.call(this,i,e,t)}
    `}function ZF(i,e,t){return w`
    ${this._hasHeader?QF.call(this,i,e,t):JF.call(this,i,e,t)}
    `}function QF(i,e,t){return t?w`<${D("ui5-button",e,t)} design="Transparent" class="ui5-panel-header-button ui5-panel-header-button-with-icon" @click="${this._toggleButtonClick}" .accessibilityAttributes=${a(this.accInfo.button.accessibilityAttributes)} tooltip="${a(this.accInfo.button.title)}" accessible-name="${a(this.accInfo.button.ariaLabelButton)}">
    <${D("ui5-icon",e,t)} class="ui5-panel-header-icon ${j(this.classes.headerBtn)}" name="slim-arrow-right">
    `:w`
    `}function JF(i,e,t){return t?w`<${D("ui5-icon",e,t)} class="ui5-panel-header-button ui5-panel-header-icon ${j(this.classes.headerBtn)}" name="slim-arrow-right" show-tooltip accessible-name="${a(this.toggleButtonTitle)}">`:w``}function eV(i,e,t){return w``}function tV(i,e,t){return w`
    ${a(this.headerText)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iV={packageName:"@ui5/webcomponents",fileName:"themes/Panel.css.ts",content:`.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}:host{font-family:"72override",var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v1-22-1-rc-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v1-22-1-rc-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v1-22-1-rc-0_panel_header_padding_right);font-family:"72override",var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v1-22-1-rc-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v1-22-1-rc-0_panel_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);top:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);left:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);right:var(--_ui5-v1-22-1-rc-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v1-22-1-rc-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v1-22-1-rc-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v1-22-1-rc-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v1-22-1-rc-0_panel_button_root_width);height:var(--_ui5-v1-22-1-rc-0_panel_button_root_height);padding:var(--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v1-22-1-rc-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column} -`};var bo=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},jd;let Ai=jd=class extends ie{onBeforeRendering(){this._animationRunning||(this._contentExpanded=!this.collapsed),this._hasHeader=!!this.header.length}shouldToggle(e){return this.header.length?e.classList.contains("ui5-panel-header-button"):!0}shouldNotAnimate(){return this.noAnimation||Ra()===Un.None}_headerClick(e){this.shouldToggle(e.target)&&this._toggleOpen()}_toggleButtonClick(e){e.x===0&&e.y===0&&e.stopImmediatePropagation()}_headerKeyDown(e){this.shouldToggle(e.target)&&(Ie(e)&&e.preventDefault(),le(e)&&e.preventDefault())}_headerKeyUp(e){this.shouldToggle(e.target)&&(Ie(e)&&this._toggleOpen(),le(e)&&this._toggleOpen())}_toggleOpen(){if(this.fixed)return;if(this.collapsed=!this.collapsed,this.shouldNotAnimate()){this.fireEvent("toggle");return}this._animationRunning=!0;const e=this.getDomRef().querySelectorAll(".ui5-panel-content"),t=[];[].forEach.call(e,o=>{this.collapsed?t.push(A6(o).promise()):t.push($6(o).promise())}),Promise.all(t).then(()=>{this._animationRunning=!1,this._contentExpanded=!this.collapsed,this.fireEvent("toggle")})}_headerOnTarget(e){return e.classList.contains("sapMPanelWrappingDiv")}get classes(){return{headerBtn:{"ui5-panel-header-button-animated":!this.shouldNotAnimate()},stickyHeaderClass:{"ui5-panel-heading-wrapper-sticky":this.stickyHeader}}}get toggleButtonTitle(){return jd.i18nBundle.getText(g4)}get expanded(){return!this.collapsed}get accRole(){return this.accessibleRole.toLowerCase()}get effectiveAccessibleName(){return typeof this.accessibleName=="string"&&this.accessibleName.length?this.accessibleName:void 0}get accInfo(){return{button:{accessibilityAttributes:{expanded:this.expanded},title:this.toggleButtonTitle,ariaLabelButton:!this.nonFocusableButton&&this.useAccessibleNameForToggleButton?this.effectiveAccessibleName:void 0},ariaExpanded:this.nonFixedInternalHeader?this.expanded:void 0,ariaControls:this.nonFixedInternalHeader?`${this._id}-content`:void 0,ariaLabelledby:this.nonFocusableButton?this.ariaLabelledbyReference:void 0,role:this.nonFixedInternalHeader?"button":void 0}}get ariaLabelledbyReference(){return this.nonFocusableButton&&this.headerText&&!this.fixed?`${this._id}-header-title`:void 0}get fixedPanelAriaLabelledbyReference(){return this.fixed&&!this.effectiveAccessibleName?`${this._id}-header-title`:void 0}get headerAriaLevel(){return this.headerLevel.slice(1)}get headerTabIndex(){return this.header.length||this.fixed?"-1":"0"}get headingWrapperAriaLevel(){return this._hasHeader?void 0:this.headerAriaLevel}get headingWrapperRole(){return this._hasHeader?void 0:"heading"}get nonFixedInternalHeader(){return!this._hasHeader&&!this.fixed}get hasHeaderOrHeaderText(){return this._hasHeader||this.headerText}get nonFocusableButton(){return!this.header.length}get styles(){return{content:{display:this._contentExpanded?"block":"none"}}}static async onDefine(){jd.i18nBundle=await fe("@ui5/webcomponents")}};bo([A()],Ai.prototype,"headerText",void 0);bo([A({type:Boolean})],Ai.prototype,"fixed",void 0);bo([A({type:Boolean})],Ai.prototype,"collapsed",void 0);bo([A({type:Boolean})],Ai.prototype,"noAnimation",void 0);bo([A({type:cm,defaultValue:cm.Form})],Ai.prototype,"accessibleRole",void 0);bo([A({type:Ol,defaultValue:Ol.H2})],Ai.prototype,"headerLevel",void 0);bo([A()],Ai.prototype,"accessibleName",void 0);bo([A({type:Boolean})],Ai.prototype,"stickyHeader",void 0);bo([A({type:Boolean})],Ai.prototype,"useAccessibleNameForToggleButton",void 0);bo([A({type:Boolean})],Ai.prototype,"_hasHeader",void 0);bo([A({type:Boolean,noAttribute:!0})],Ai.prototype,"_contentExpanded",void 0);bo([A({type:Boolean,noAttribute:!0})],Ai.prototype,"_animationRunning",void 0);bo([Z()],Ai.prototype,"header",void 0);Ai=jd=bo([K({tag:"ui5-panel",fastNavigation:!0,languageAware:!0,renderer:de,template:XF,styles:iV,dependencies:[Ne,Be]}),q("toggle")],Ai);Ai.define();const oV=500,Id=new Map,hs=new Map,rV=i=>{const e=i.host,t=i.propName,o=e[t];let r;if(o===void 0||o==="")r=void 0;else if(o instanceof HTMLElement)r=o;else{const l=e.getRootNode();r=l.getElementById&&l.getElementById(o)||void 0}const n=`${e._id}-${t}`,s=Id.get(n);if(!r){if(s&&(i.onDisconnect&&i.onDisconnect(s),Id.delete(n)),typeof o=="string"&&o&&!hs.has(n)){const l=setInterval(()=>{const I=e.getRootNode();I.getElementById&&I.getElementById(o)&&(clearInterval(hs.get(n)),hs.delete(n),Pf(e))},oV);hs.set(n,l)}return}return hs.has(n)&&(clearInterval(hs.get(n)),hs.delete(n)),s!==r&&(s&&i.onDisconnect&&i.onDisconnect(s),i.onConnect&&i.onConnect(r),Id.set(n,r)),Id.get(n)};var ra=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let tr=class extends ie{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};ra([A({type:Boolean})],tr.prototype,"selected",void 0);ra([A({type:Boolean})],tr.prototype,"disabled",void 0);ra([A()],tr.prototype,"title",void 0);ra([A({defaultValue:null})],tr.prototype,"icon",void 0);ra([A()],tr.prototype,"value",void 0);ra([A()],tr.prototype,"additionalText",void 0);ra([A({type:Boolean})],tr.prototype,"focused",void 0);ra([Z({type:Node,default:!0,invalidateOnChildChange:!0})],tr.prototype,"text",void 0);tr=ra([K("ui5-option")],tr);tr.define();const x6=tr;function nV(i,e,t){return w`
    ${this.selectedOptionIcon?aV.call(this,i,e,t):void 0}
    ${this.hasCustomLabel?sV.call(this,i,e,t):lV.call(this,i,e,t)}
    ${this.readonly?void 0:cV.call(this,i,e,t)}${this.hasValueState?uV.call(this,i,e,t):void 0}
    `}function aV(i,e,t){return t?w`<${D("ui5-icon",e,t)} aria-hidden="true" class="ui5-select-option-icon" name="${a(this.selectedOptionIcon)}">`:w``}function sV(i,e,t){return w``}function lV(i,e,t){return w`${a(this._text)}`}function cV(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="slim-arrow-down" input-icon ?pressed="${this._iconPressed}">`:w``}function uV(i,e,t){return w`${a(this.valueStateText)}`}function dV(i,e,t){return w`${this.options?_V.call(this,i,e,t):void 0}${this.shouldOpenValueStateMessagePopover?gV.call(this,i,e,t):void 0}`}function _V(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} hide-arrow _disable-initial-focus placement-type="Bottom" class="ui5-select-popover ${j(this.classes.popover)}" horizontal-align="Left" @ui5-after-open="${a(this._afterOpen)}" @ui5-before-open="${a(this._beforeOpen)}" @ui5-after-close="${a(this._afterClose)}" @keydown="${this._onkeydown}" style=${Y(this.styles.responsivePopover)}>${this._isPhone?um.call(this,i,e,t):void 0}${this._isPhone?void 0:_m.call(this,i,e,t)}<${D("ui5-list",e,t)} mode="SingleSelectAuto" separators="None" @mousedown="${this._itemMousedown}" @ui5-item-click="${a(this._handleItemPress)}">${X(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>fm.call(this,i,e,t,o,r))}`:w`${this._isPhone?um.call(this,i,e,t):void 0}${this._isPhone?void 0:_m.call(this,i,e,t)}${X(this._syncedOptions,(o,r)=>o._id||r,(o,r)=>fm.call(this,i,e,t,o,r))}`}function um(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._toggleRespPopover}">
    ${this.hasValueStateText?dm.call(this,i,e,t):void 0}
    `:w`
    ${a(this._headerTitleText)}
    ${this.hasValueStateText?dm.call(this,i,e,t):void 0}
    `}function dm(i,e,t){return w`
    ${this.shouldDisplayDefaultValueStateMessage?hV.call(this,i,e,t):pV.call(this,i,e,t)}
    `}function hV(i,e,t){return w`${a(this.valueStateText)}`}function pV(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>fV.call(this,i,e,t,o,r))}`}function fV(i,e,t,o,r){return w`${a(o)}`}function _m(i,e,t){return w`${this.hasValueStateText?vV.call(this,i,e,t):void 0}`}function vV(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?hm.call(this,i,e,t):pm.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?hm.call(this,i,e,t):pm.call(this,i,e,t)}
    `}function hm(i,e,t){return w`${a(this.valueStateText)}`}function pm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>mV.call(this,i,e,t,o,r))}`}function mV(i,e,t,o,r){return w`${a(o)}`}function fm(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} id="${a(o.id)}-li" icon="${a(o.icon)}" ?selected="${o.selected}" ?focused="${o._focused}" title="${a(o.title)}" additional-text="${a(o.additionalText)}" ?aria-selected="${o.selected}" data-ui5-stable="${a(o.stableDomRef)}">${a(o.textContent)}`:w`${a(o.textContent)}`}function gV(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage?vm.call(this,i,e,t):mm.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?vm.call(this,i,e,t):mm.call(this,i,e,t)}
    `}function vm(i,e,t){return w`${a(this.valueStateText)}`}function mm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>bV.call(this,i,e,t,o,r))}`}function bV(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const yV={packageName:"@ui5/webcomponents",fileName:"themes/Select.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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-select-root{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v1-22-1-rc-0_select_label_color);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const wV={packageName:"@ui5/webcomponents",fileName:"themes/SelectPopover.css.ts",content:`.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover [ui5-li]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)} -`};var Qt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Qi;let St=Qi=class extends ie{constructor(){super(),this._syncedOptions=[],this._selectedIndexBeforeOpen=-1,this._escapePressed=!1,this._lastSelectedOption=null,this._typedChars="",this._onMenuClick=this.onMenuClick.bind(this),this._onMenuClose=this.onMenuClose.bind(this),this._onMenuOpen=this.onMenuOpen.bind(this),this._onMenuBeforeOpen=this.onMenuBeforeOpen.bind(this),this._onMenuChange=this.onMenuChange.bind(this),this._attachMenuListeners=this.attachMenuListeners.bind(this),this._detachMenuListeners=this.detachMenuListeners.bind(this),this._upgradeProperty("value")}onBeforeRendering(){const e=this._getSelectMenu();e?(e.value=this.value,e.selectId=this.__id):this._syncSelection(),this._enableFormSupport(),this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`)}onAfterRendering(){this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover),this._isPickerOpen&&(this._listWidth||(this._listWidth=this.responsivePopover.offsetWidth)),this._attachRealDomRefs()}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}get _isPickerOpen(){const e=this._getSelectMenu();return e?e.open:!!this.responsivePopover&&this.responsivePopover.opened}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}set value(e){const t=this._getSelectMenu();Array.from(t?t.children:this.children).filter(r=>!r.getAttribute("disabled")).forEach(r=>{r.selected=(r.getAttribute("value")||r.textContent)===e})}get value(){var e,t;return((e=this.selectedOption)==null?void 0:e.value)||((t=this.selectedOption)==null?void 0:t.textContent)||""}get selectedOption(){return this.selectOptions.find(e=>e.selected)}onMenuClick(e){const t=e.detail.optionIndex;this._handleSelectionChange(t)}onMenuBeforeOpen(){this._beforeOpen()}onMenuOpen(){this._afterOpen()}onMenuClose(){this._afterClose()}onMenuChange(e){this._text=e.detail.text,this._selectedIndex=e.detail.selectedIndex}_toggleSelectMenu(){const e=this._getSelectMenu();e&&(e.open?e.close():e.showAt(this,this.offsetWidth))}onExitDOM(){const e=this._getSelectMenu();e&&this._detachMenuListeners(e)}async _toggleRespPopover(){if(this.disabled||this.readonly)return;if(this._iconPressed=!0,this._getSelectMenu()){this._toggleSelectMenu();return}this.responsivePopover=await this._respPopover(),this._isPickerOpen?this.responsivePopover.close():this.responsivePopover.showAt(this)}async _attachRealDomRefs(){this.responsivePopover=await this._respPopover(),this.options.forEach(e=>{e._getRealDomRef=()=>this.responsivePopover.querySelector(`*[data-ui5-stable=${e.stableDomRef}]`)})}_syncSelection(){let e=-1,t=-1;const o=this._filteredItems,r=o.map((n,s)=>(n.selected&&(e=s),t===-1&&(t=s),n.selected=!1,n.focused=!1,{selected:!1,focused:!1,icon:n.icon,value:n.value,textContent:n.textContent,title:n.title,additionalText:n.additionalText,id:n._id,stableDomRef:n.stableDomRef}));e>-1?(r[e].selected=!0,r[e].focused=!0,o[e].selected=!0,o[e].focused=!0,this._text=r[e].textContent,this._selectedIndex=e):(this._text="",this._selectedIndex=-1,r[t]&&(r[t].selected=!0,r[t].focused=!0,o[t].selected=!0,o[t].focused=!0,this._selectedIndex=t,this._text=o[t].textContent)),this._syncedOptions=r}_getSelectMenu(){return rV({host:this,propName:"menu",onConnect:this._attachMenuListeners,onDisconnect:this._detachMenuListeners})}attachMenuListeners(e){e.addEventListener("ui5-after-close",this._onMenuClose),e.addEventListener("ui5-after-open",this._onMenuOpen),e.addEventListener("ui5-before-open",this._onMenuBeforeOpen),e.addEventListener("ui5-option-click",this._onMenuClick),e.addEventListener("ui5-menu-change",this._onMenuChange)}detachMenuListeners(e){e.removeEventListener("ui5-after-close",this._onMenuClose),e.removeEventListener("ui5-after-open",this._onMenuOpen),e.removeEventListener("ui5-before-open",this._onMenuBeforeOpen),e.removeEventListener("ui5-option-click",this._onMenuClick),e.removeEventListener("ui5-menu-change",this._onMenuChange)}_enableFormSupport(){const e=ze("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.disabled=!!t.disabled,o.value=r.value}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}_onkeydown(e){if((Pt(e)||Mi(e))&&this._isPickerOpen){const o=this._getSelectMenu();o?o.close(!1,!1,!0):this.responsivePopover.close()}else zn(e)?(e.preventDefault(),this._toggleRespPopover()):le(e)?e.preventDefault():Ni(e)&&this._isPickerOpen?this._escapePressed=!0:Wt(e)?this._handleHomeKey(e):ki(e)?this._handleEndKey(e):Ie(e)?this._handleSelectionChange():(Xe(e)||qe(e))&&this._handleArrowNavigation(e)}_handleKeyboardNavigation(e){if(Ie(e)||this.readonly)return;const t=e.key.toLowerCase();this._typedChars+=t;const o=/^(.)\1+$/i.test(this._typedChars)?t:this._typedChars;clearTimeout(this._typingTimeoutID),this._typingTimeoutID=setTimeout(()=>{this._typedChars="",this._typingTimeoutID=-1},1e3),this._selectTypedItem(o)}_selectTypedItem(e){const t=this._selectedIndex,o=this._searchNextItemByText(e);if(o){const r=this.selectOptions.indexOf(o);this._changeSelectedItem(this._selectedIndex,r),t!==this._selectedIndex&&this.itemSelectionAnnounce()}}_searchNextItemByText(e){let t=this.selectOptions.slice(0);const o=t.splice(this._selectedIndex+1,t.length-this._selectedIndex),r=t.splice(0,t.length-1);return t=o.concat(r),t.find(n=>(n.displayText||n.textContent||"").toLowerCase().startsWith(e))}_handleHomeKey(e){e.preventDefault(),!this.readonly&&this._changeSelectedItem(this._selectedIndex,0)}_handleEndKey(e){if(e.preventDefault(),this.readonly)return;const t=this.selectOptions.length-1;this._changeSelectedItem(this._selectedIndex,t)}_onkeyup(e){le(e)&&(this._isPickerOpen?this._handleSelectionChange():this._toggleRespPopover())}_getSelectedItemIndex(e){return this.selectOptions.findIndex(t=>`${t._id}-li`===e.id)}_select(e){this.selectOptions[this._selectedIndex].selected=!1,this._selectedIndex!==e&&this.fireEvent("live-change",{selectedOption:this.selectOptions[e]}),this._selectedIndex=e,this.selectOptions[e].selected=!0}_handleItemPress(e){const t=e.detail.item,o=this._getSelectedItemIndex(t);this._handleSelectionChange(o)}_itemMousedown(e){e.preventDefault()}_onclick(){this.getFocusDomRef().focus(),this._toggleRespPopover()}_handleSelectionChange(e=this._selectedIndex){this._select(e),this._toggleRespPopover()}_scrollSelectedItem(){var e;if(this._isPickerOpen){const t=(e=this._currentlySelectedOption)==null?void 0:e.getDomRef();t&&t.scrollIntoView({behavior:"auto",block:"nearest",inline:"nearest"})}}_handleArrowNavigation(e){if(e.preventDefault(),this.readonly)return;let t=-1;const o=this._selectedIndex;qe(e)?t=this._getNextOptionIndex():t=this._getPreviousOptionIndex(),this._changeSelectedItem(this._selectedIndex,t),o!==this._selectedIndex&&(this.itemSelectionAnnounce(),this._scrollSelectedItem())}_changeSelectedItem(e,t){const o=this.selectOptions,r=o[e];r.selected=!1,r.focused=!1;const n=o[t];n.selected=!0,n.focused=!0,this._selectedIndex=t,this.fireEvent("live-change",{selectedOption:n}),this._isPickerOpen||this._fireChangeEvent(n)}_getNextOptionIndex(){const e=this._getSelectMenu();return e?this._selectedIndex===e.options.length-1?this._selectedIndex:this._selectedIndex+1:this._selectedIndex===this.options.length-1?this._selectedIndex:this._selectedIndex+1}_getPreviousOptionIndex(){return this._selectedIndex===0?this._selectedIndex:this._selectedIndex-1}_beforeOpen(){this._selectedIndexBeforeOpen=this._selectedIndex,this._lastSelectedOption=this.selectOptions[this._selectedIndex]}_afterOpen(){this.opened=!0,this.fireEvent("open"),this.itemSelectionAnnounce(),this._scrollSelectedItem()}_afterClose(){this.opened=!1,this._iconPressed=!1,this._listWidth=0,this._escapePressed?(this._select(this._selectedIndexBeforeOpen),this._escapePressed=!1):this._lastSelectedOption!==this.selectOptions[this._selectedIndex]&&(this._fireChangeEvent(this.selectOptions[this._selectedIndex]),this._lastSelectedOption=this.selectOptions[this._selectedIndex]),this.fireEvent("close")}get selectOptions(){const e=this._getSelectMenu();return e?e.options:this._filteredItems}get hasCustomLabel(){return!!this.label.length}_fireChangeEvent(e){const t=!this.fireEvent("change",{selectedOption:e},!0);this.selectedItem=e.textContent,this.fireEvent("selected-item-changed"),t&&(this.selectedItem=this._lastSelectedOption.textContent,this._select(this._selectedIndexBeforeOpen))}get valueStateTextMappings(){return{[W.Success]:Qi.i18nBundle.getText(In),[W.Information]:Qi.i18nBundle.getText(Jn),[W.Error]:Qi.i18nBundle.getText(Tn),[W.Warning]:Qi.i18nBundle.getText(Cn)}}get valueStateTypeMappings(){return{[W.Success]:Qi.i18nBundle.getText(ac),[W.Information]:Qi.i18nBundle.getText(sc),[W.Error]:Qi.i18nBundle.getText(rc),[W.Warning]:Qi.i18nBundle.getText(nc)}}get valueStateText(){let e;return this.shouldDisplayDefaultValueStateMessage?e=this.valueStateDefaultText:e=this.valueStateMessageText.map(t=>t.textContent).join(" "),`${this.valueStateTypeText} ${e}`}get valueStateDefaultText(){return this.valueState!==W.None?this.valueStateTextMappings[this.valueState]:""}get valueStateTypeText(){return this.valueState!==W.None?this.valueStateTypeMappings[this.valueState]:""}get hasValueState(){return this.valueState!==W.None}get valueStateTextId(){return this.hasValueState?`${this._id}-valueStateDesc`:void 0}get isDisabled(){return this.disabled||void 0}get _headerTitleText(){return Qi.i18nBundle.getText(oc)}get _currentlySelectedOption(){return this.selectOptions[this._selectedIndex]}get _effectiveTabIndex(){return this.disabled||this.responsivePopover&&this.responsivePopover.opened?"-1":"0"}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get iconsCount(){return this.selectedOptionIcon?2:1}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{popoverHeader:{"max-width":`${this.offsetWidth}px`},responsivePopoverHeader:{display:this._filteredItems.length&&this._listWidth===0?"none":"inline-block",width:`${this._filteredItems.length?this._listWidth:this.offsetWidth}px`},responsivePopover:{"min-width":`${this.offsetWidth}px`}}}get ariaLabelText(){return Kt(this)}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessageText.length&&this.hasValueStateText}get hasValueStateText(){return this.hasValueState&&this.valueState!==W.Success}get shouldOpenValueStateMessagePopover(){return this.focused&&this.hasValueStateText&&!this._iconPressed&&!this._isPickerOpen&&!this._isPhone}get _ariaRoleDescription(){return Qi.i18nBundle.getText(G3)}get _isPhone(){return ue()}get _filteredItems(){return this.options.filter(e=>!e.disabled)}itemSelectionAnnounce(){let e;const t=this.selectOptions.length,o=Qi.i18nBundle.getText(V_,this._selectedIndex+1,t);this.focused&&this._currentlySelectedOption&&(e=`${this._currentlySelectedOption.textContent} ${this._isPickerOpen?o:""}`,Xc(e,Bs.Polite))}async openValueStatePopover(){this.valueStatePopover=await this._getPopover(),this.valueStatePopover&&this.valueStatePopover.showAt(this)}closeValueStatePopover(){this.valueStatePopover&&this.valueStatePopover.close()}toggleValueStatePopover(e){e?this.openValueStatePopover():this.closeValueStatePopover()}get selectedOptionIcon(){return this.selectedOption&&this.selectedOption.icon}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}static async onDefine(){Qi.i18nBundle=await fe("@ui5/webcomponents")}};Qt([A({validator:j_})],St.prototype,"menu",void 0);Qt([A({type:Boolean})],St.prototype,"disabled",void 0);Qt([A()],St.prototype,"name",void 0);Qt([A({type:W,defaultValue:W.None})],St.prototype,"valueState",void 0);Qt([A({type:Boolean})],St.prototype,"required",void 0);Qt([A({type:Boolean})],St.prototype,"readonly",void 0);Qt([A()],St.prototype,"accessibleName",void 0);Qt([A()],St.prototype,"accessibleNameRef",void 0);Qt([A({type:String,noAttribute:!0})],St.prototype,"_text",void 0);Qt([A({type:Boolean,noAttribute:!0})],St.prototype,"_iconPressed",void 0);Qt([A({type:Boolean})],St.prototype,"opened",void 0);Qt([A({validator:ae,defaultValue:0,noAttribute:!0})],St.prototype,"_listWidth",void 0);Qt([A({type:Boolean})],St.prototype,"focused",void 0);Qt([A({validator:ae,defaultValue:-1,noAttribute:!0})],St.prototype,"_selectedIndex",void 0);Qt([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],St.prototype,"options",void 0);Qt([Z()],St.prototype,"formSupport",void 0);Qt([Z()],St.prototype,"valueStateMessage",void 0);Qt([Z()],St.prototype,"label",void 0);St=Qi=Qt([K({tag:"ui5-select",languageAware:!0,renderer:de,template:nV,staticAreaTemplate:dV,styles:yV,staticAreaStyles:[Vr,Za,wV],dependencies:[x6,ea,fo,Vi,vo,ta,Be,Ne]}),q("change",{detail:{selectedOption:{type:HTMLElement}}}),q("live-change",{detail:{selectedOption:{type:HTMLElement}}}),q("open"),q("close")],St);St.define();const TV=St;function CV(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} class="ui5-select-menu" placement-type="Bottom" horizontal-align="Left" @ui5-after-open="${a(this._onAfterOpen)}" @ui5-after-close="${a(this._onAfterClose)}" @ui5-before-open="${a(this._onBeforeOpen)}" hide-arrow _disable-initial-focus style=${Y(this.styles.responsivePopover)}>${this._isPhone?gm.call(this,i,e,t):void 0}${this._isPhone?void 0:ym.call(this,i,e,t)}<${D("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOptionClick)}">`:w`${this._isPhone?gm.call(this,i,e,t):void 0}${this._isPhone?void 0:ym.call(this,i,e,t)}`}function gm(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._onCloseBtnClick}">
    ${this.hasValueState?bm.call(this,i,e,t):void 0}
    `:w`
    ${a(this._headerTitleText)}
    ${this.hasValueState?bm.call(this,i,e,t):void 0}
    `}function bm(i,e,t){return w`
    ${this.hasValueStateSlot?IV.call(this,i,e,t):kV.call(this,i,e,t)}
    `}function IV(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>SV.call(this,i,e,t,o,r))}`}function SV(i,e,t,o,r){return w`${a(o)}`}function kV(i,e,t){return w`${a(this.valueStateText)}`}function ym(i,e,t){return w`${this.hasValueState?EV.call(this,i,e,t):void 0}`}function EV(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.hasValueStateSlot?wm.call(this,i,e,t):Tm.call(this,i,e,t)}
    `:w`
    ${this.hasValueStateSlot?wm.call(this,i,e,t):Tm.call(this,i,e,t)}
    `}function wm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>$V.call(this,i,e,t,o,r))}`}function $V(i,e,t,o,r){return w`${a(o)}`}function Tm(i,e,t){return w`${a(this.valueStateText)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const AV={packageName:"@ui5/webcomponents",fileName:"themes/SelectMenu.css.ts",content:`.ui5-select-menu::part(content),.ui5-select-menu::part(header){padding:0}.ui5-select-menu [ui5-li-custom]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-menu [ui5-li-custom]::part(native-li){padding:0}.ui5-select-menu [ui5-icon]{color:var(--sapList_TextColor)} -`};var na=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Pr=class extends ie{constructor(){super(),this.valueStateMessageText=[]}showAt(e,t){this.selectWidth=t,this.respPopover.open=!0,this.respPopover.opener=e,this.hasValueState=!!e.hasValueState,this.hasValueStateSlot=e.valueStateMessageText.length>0,this.valueStateText=e.valueStateText,this.valueStateMessageText=e.valueStateMessageText,this.valueState=e.valueState,this._headerTitleText=e._headerTitleText}close(e=!1,t=!1,o=!1){this.respPopover.close(e,t,o)}onBeforeRendering(){this._syncSelection()}_syncSelection(){let e=-1,t=-1,o,r;const n=this.options;if(n.forEach((s,l)=>(s.selected&&(e=l),t===-1&&(t=l),s.selected=!1,s.focused=!1,s)),e>-1){const s=n[e];s.selected=!0,s.focused=!0,o=s.displayText||String(s.textContent),r=e}else{o="",r=-1;const s=n[t];s&&(s.selected=!0,s.focused=!0,r=t,o=s.displayText||String(s.textContent))}this.fireEvent("menu-change",{text:o,selectedIndex:r})}_onOptionClick(e){const t=e.detail.item,o=this.options.findIndex(r=>t.__id===r.__id);this.fireEvent("option-click",{option:t,optionIndex:o})}_onBeforeOpen(){this.fireEvent("before-open")}_onAfterOpen(){this.fireEvent("after-open")}_onAfterClose(){this.fireEvent("after-close")}_onCloseBtnClick(){this.close()}get open(){var e;return!!((e=this.respPopover)!=null&&e.open)}get respPopover(){return this.shadowRoot.querySelector(".ui5-select-menu")}get classes(){return{popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage--success":this.valueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information},popover:{"ui5-select-popover-valuestate":this.hasValueState}}}get styles(){return{valueStatePopover:{width:`${this.selectWidth}px`},responsivePopover:{"min-width":`${this.selectWidth}px`}}}get _valueStateMessageInputIcon(){const e={Error:"error",Warning:"alert",Success:"sys-enter-2",Information:"information"};return this.valueState!==W.None?e[this.valueState]:""}get _isPhone(){return ue()}};na([Z({default:!0,type:HTMLElement,invalidateOnChildChange:!0})],Pr.prototype,"options",void 0);na([A({validator:ae})],Pr.prototype,"selectWidth",void 0);na([A({type:Boolean})],Pr.prototype,"hasValueState",void 0);na([A({type:Boolean})],Pr.prototype,"hasValueStateSlot",void 0);na([A({type:W,defaultValue:W.None})],Pr.prototype,"valueState",void 0);na([A()],Pr.prototype,"valueStateText",void 0);na([A({type:String,noAttribute:!0})],Pr.prototype,"value",void 0);na([A({type:String,noAttribute:!0})],Pr.prototype,"selectId",void 0);Pr=na([K({tag:"ui5-select-menu",renderer:de,styles:[AV,Za,Vr],template:CV,dependencies:[fo,vo,Ne]}),q("option-click",{detail:{option:{type:HTMLElement},optionIndex:{type:ae}}}),q("before-open"),q("after-open"),q("after-close"),q("menu-change",{detail:{text:{type:String},selectedIndex:{type:ae}}})],Pr);Pr.define();function D6(i,e,t){return w`
  • ${this.placeSelectionElementBefore?xV.call(this,i,e,t):void 0}
    ${this.typeDetail?LV.call(this,i,e,t):void 0}${this.typeNavigation?NV.call(this,i,e,t):void 0}${this.navigated?MV.call(this,i,e,t):void 0}${this.placeSelectionElementAfter?FV.call(this,i,e,t):void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `}function xV(i,e,t){return w`${this.modeSingleSelect?DV.call(this,i,e,t):void 0}${this.modeMultiSelect?PV.call(this,i,e,t):void 0}${this.renderDeleteButton?OV.call(this,i,e,t):void 0}`}function DV(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function PV(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function OV(i,e,t){return w`
    ${this.hasDeleteButtonSlot?BV.call(this,i,e,t):RV.call(this,i,e,t)}
    `}function BV(i,e,t){return w``}function RV(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}function LV(i,e,t){return t?w`
    <${D("ui5-button",e,t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    `:w`
    `}function NV(i,e,t){return t?w`<${D("ui5-icon",e,t)} name ="slim-arrow-right">`:w``}function MV(i,e,t){return w`
    `}function FV(i,e,t){return w`${this.modeSingleSelect?VV.call(this,i,e,t):void 0}${this.modeMultiSelect?zV.call(this,i,e,t):void 0}${this.renderDeleteButton?HV.call(this,i,e,t):void 0}`}function VV(i,e,t){return t?w`<${D("ui5-radio-button",e,t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">`:w``}function zV(i,e,t){return t?w`<${D("ui5-checkbox",e,t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">`:w``}function HV(i,e,t){return w`
    ${this.hasDeleteButtonSlot?UV.call(this,i,e,t):qV.call(this,i,e,t)}
    `}function UV(i,e,t){return w``}function qV(i,e,t){return t?w`<${D("ui5-button",e,t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const WV={packageName:"@ui5/webcomponents",fileName:"themes/CustomListItem.css.ts",content:`:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_custom_list_item_rb_min_width)} -`};var P6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let ku=class extends un{_onkeydown(e){!(Pt(e)||Mi(e))&&!this.focused||super._onkeydown(e)}_onkeyup(e){!(Pt(e)||Mi(e))&&!this.focused||super._onkeyup(e)}get classes(){const e=super.classes;return e.main["ui5-custom-li-root"]=!0,e}};P6([A()],ku.prototype,"accessibleName",void 0);ku=P6([K({tag:"ui5-li-custom",template:D6,styles:[un.styles,WV]})],ku);ku.define();const Mv=ku;var Ja=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let _n=class extends Mv{get stableDomRef(){return""}get _accInfo(){const e={ariaSelected:this.selected};return{...super._accInfo,...e}}};Ja([A()],_n.prototype,"displayText",void 0);Ja([A({type:Boolean})],_n.prototype,"disabled",void 0);Ja([A()],_n.prototype,"value",void 0);Ja([A({type:qt,defaultValue:qt.Active})],_n.prototype,"type",void 0);Ja([A({type:Object})],_n.prototype,"accessibilityAttributes",void 0);Ja([A({type:Boolean})],_n.prototype,"navigated",void 0);Ja([Z()],_n.prototype,"deleteButton",void 0);_n=Ja([K({tag:"ui5-select-menu-option",renderer:de,styles:Mv.styles,template:D6,dependencies:[]})],_n);_n.define();function jV(i,e,t){return t?w`
    <${D("ui5-button",e,t)} class="ui5-split-text-button" design="${a(this.design)}" dir=${a(this.effectiveDir)} icon="${a(this._textButtonIcon)}" tabindex="-1" ?disabled="${this.disabled}" ?active="${this._textButtonActive}" @click="${this._handleMouseClick}" @touchstart=${this._textButtonPress} @mousedown=${this._textButtonPress} @mouseup=${this._textButtonRelease} @focusin=${this._textButtonFocusIn} @focusout=${this._onFocusOut}>${this.isTextButton?Cm.call(this,i,e,t):void 0}<${D("ui5-button",e,t)} dir=${a(this.effectiveDir)} class="ui5-split-arrow-button" design="${a(this.design)}" icon="slim-arrow-down" tabindex="-1" ?disabled="${this.disabled}" ?active="${this.effectiveActiveArrowButton}" aria-expanded="${a(this.accessibilityInfo.ariaExpanded)}" aria-haspopup="${a(this.accessibilityInfo.ariaHaspopup)}" @click="${this._handleArrowButtonAction}" @mousedown=${this._arrowButtonPress} @mouseup=${this._arrowButtonRelease} @focusin=${this._setTabIndexValue} @ui5-_active-state-change=${a(this._onArrowButtonActiveStateChange)}>${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `:w`
    ${this.isTextButton?Cm.call(this,i,e,t):void 0}${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `}function Cm(i,e,t){return w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const GV={packageName:"@ui5/webcomponents",fileName:"themes/SplitButton.css.ts",content:`: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-flex;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_button_border_radius);background-color:var(--sapButton_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_default_box_shadow)}:host([active-arrow-button][design="Negative"]) .ui5-split-arrow-button,:host([design="Negative"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Reject_Selected_Background);border:.0625rem solid var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([active-arrow-button][design="Positive"]) .ui5-split-arrow-button,:host([design="Positive"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Accept_Selected_Background);border:.0625rem solid var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([active-arrow-button][design="Attention"]) .ui5-split-arrow-button,:host([design="Attention"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Attention_Selected_Background);border:.0625rem solid var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([active-arrow-button][design="Emphasized"]) .ui5-split-arrow-button,:host([design="Emphasized"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Emphasized_Active_Background);border:.0625rem solid var(--sapButton_Emphasized_Active_BorderColor)}:host([active-arrow-button][design="Transparent"]) .ui5-split-arrow-button,:host([active-arrow-button]) .ui5-split-arrow-button,:host([design="Transparent"]) .ui5-split-arrow-button[active],:host([design="Default"]) .ui5-split-arrow-button[active],.ui5-split-arrow-button[active],.ui5-split-arrow-button[active]:hover{background-color:var(--sapButton_Active_Background);border:.0625rem solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([disabled]:not([hidden])){pointer-events:none}:host([design="Positive"]:not([hidden])){background-color:var(--sapButton_Accept_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_positive_box_shadow)}:host([design="Negative"]:not([hidden])){background-color:var(--sapButton_Reject_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_negative_box_shadow)}:host([design="Attention"]:not([hidden])){background-color:var(--sapButton_Attention_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_attention_box_shadow)}:host([design="Emphasized"]:not([hidden])){background-color:var(--sapButton_Emphasized_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_emphasized_box_shadow)}:host([design="Transparent"]:not([hidden])){background-color:var(--sapButton_Lite_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_box_shadow)}:host([design="Transparent"][disabled]:not([hidden])){background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_disabled_background)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_box_shadow)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button:not(:hover),:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-text-button:not(:hover){color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_color)}:host([focused]) .ui5-split-button-root{outline:0}:host([focused]) .ui5-split-button-root:after{content:"";position:absolute;box-sizing:border-box;inset:.125rem;border:var(--_ui5-v1-22-1-rc-0_split_button_focused_border);pointer-events:none;border-radius:var(--_ui5-v1-22-1-rc-0_split_button_focused_border_radius)}:host([design="Emphasized"][focused]) .ui5-split-button-root:after{border-color:var(--sapContent_ContrastFocusColor)}.ui5-split-button-root{display:inline-flex;position:relative;width:inherit}.ui5-split-button-root:focus,.ui5-split-text-button:focus,.ui5-split-arrow-button:focus{outline:0}.ui5-split-text-button{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-width:.0625rem;border-inline-end-width:var(--_ui5-v1-22-1-rc-0_split_button_text_button_right_border_width);border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);vertical-align:top;flex-grow:1}.ui5-split-text-button:hover{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border_right)}.ui5-split-text-button[design=Emphasized]{border:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border);border-width:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border_width)}.ui5-split-text-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background)}.ui5-split-text-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_right)}.ui5-split-text-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_right)}.ui5-split-text-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_right)}.ui5-split-text-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_right)}.ui5-split-text-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border-color:var(--sapButton_Emphasized_Active_BorderColor)}.ui5-split-text-button[active][design=Negative]{background-color:var(--sapButton_Reject_Selected_Background);color:var(--sapButton_Reject_Active_TextColor);border-color:var(--sapButton_Reject_Active_BorderColor)}.ui5-split-text-button[active][design=Positive]{background-color:var(--sapButton_Accept_Selected_Background);color:var(--sapButton_Accept_Active_TextColor);border-color:var(--sapButton_Accept_Active_BorderColor)}.ui5-split-text-button[active][design=Attention]{background-color:var(--sapButton_Attention_Selected_Background);color:var(--sapButton_Attention_Active_TextColor);border-color:var(--sapButton_Attention_Active_BorderColor)}.ui5-split-text-button[active][design=Default],.ui5-split-text-button[active][design=Transparent]{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor);border-color:var(--sapButton_Active_BorderColor)}.ui5-split-text-button[active]{outline:0}.ui5-split-arrow-button{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);width:2.25rem;border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);position:relative;border-width:.0625rem;overflow:visible}.ui5-split-arrow-button:hover{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_hover_border)}.ui5-split-arrow-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border);box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow, none)}[dir=rtl].ui5-split-arrow-button[design=Emphasized]:hover{box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow_rtl, none)}.ui5-split-arrow-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_positive_hover_border)}.ui5-split-arrow-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_negative_hover_border)}.ui5-split-arrow-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_attention_hover_border)}.ui5-split-arrow-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_transparent_hover_border)}.ui5-split-arrow-button:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;width:.0625rem;background-color:var(--sapButton_TextColor);inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height)}.ui5-split-arrow-button[design=Emphasized]:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);inset-inline-end:0;height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height);width:.0625rem}.ui5-split-text-button:hover+.ui5-split-arrow-button:before,.ui5-split-arrow-button:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display)}.ui5-split-arrow-button[design=Emphasized]:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display_emphasized)}.ui5-split-arrow-button[design=Transparent]:before{background-color:var(--sapButton_Lite_TextColor)}.ui5-split-arrow-button[design=Emphasized]:before{background-color:var(--sapButton_Emphasized_TextColor)}.ui5-split-arrow-button[design=Positive]:before{background-color:var(--sapButton_Accept_TextColor)}.ui5-split-arrow-button[design=Negative]:before{background-color:var(--sapButton_Reject_TextColor)}.ui5-split-arrow-button[design=Attention]:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color_default)}.ui5-split-arrow-button[focused]::part(button):after{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[focused]::part(button):after{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[active][design=Emphasized]{color:var(--sapButton_Emphasized_Active_TextColor);background-color:var(--sapButton_Emphasized_Active_Background)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button,.ui5-split-arrow-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border)}:host([design="Transparent"][active-arrow-button]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button{color:var(--sapButton_Active_TextColor)}:host([active-arrow-button]) .ui5-split-arrow-button{border:.0625rem solid var(--sapButton_Lite_Active_BorderColor)}:host([active-arrow-button]) .ui5-split-arrow-button:before,.ui5-split-arrow-button[active]:before,.ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--sapButton_TextColor)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Emphasized"]) .ui5-split-arrow-button[active]:before,:host([design="Emphasized"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_emphasized_separator_color)}:host([design="Positive"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Positive"]) .ui5-split-arrow-button[active]:before,:host([design="Positive"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_positive_separator_color)}:host([design="Negative"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Negative"]) .ui5-split-arrow-button[active]:before,:host([design="Negative"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_negative_separator_color)}:host([design="Attention"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Attention"]) .ui5-split-arrow-button[active]:before,:host([design="Attention"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color)} -`};var Pi=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ys;let si=ys=class extends ie{static async onDefine(){ys.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super(),this._isDefaultActionPressed=!1,this._isKeyDownOperation=!1;const e=()=>{this._textButtonActive=!0,this.focused=!1,this._tabIndex="-1"};this._textButtonPress={handleEvent:e,passive:!0}}_manageFocus(e){[this.textButton,this.arrowButton,this].forEach(o=>{o.focused=o===e})}onBeforeRendering(){this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this.disabled&&(this._tabIndex="-1")}_handleMouseClick(e){const t=e.target;this._manageFocus(t),this._fireClick(e)}_onFocusOut(e){this.disabled||Ko(e)||(this._shiftOrEscapePressed=!1,this._setTabIndexValue(),this._manageFocus())}_onFocusIn(e){this.disabled||Ko(e)||(this._shiftOrEscapePressed=!1,this._manageFocus(this))}_textButtonFocusIn(e){e==null||e.stopPropagation(),this._manageFocus(this.textButton),this._setTabIndexValue()}_onKeyDown(e){this._isKeyDownOperation=!0,this._isArrowKeyAction(e)?(this._handleArrowButtonAction(e),this._activeArrowButton=!0):this._isDefaultAction(e)&&(this._handleDefaultAction(e),this._isDefaultActionPressed=!0),this._spacePressed&&this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._isDefaultActionPressed&&(Pt(e)||Mi(e))&&(this._activeArrowButton=!1,this._textButtonActive=!1),this._tabIndex="-1"}_onKeyUp(e){this._isKeyDownOperation=!1,this._isArrowKeyAction(e)?(e.preventDefault(),this._activeArrowButton=!1,this._textButtonActive=!1):this._isDefaultAction(e)&&(this._isDefaultActionPressed=!1,this._textButtonActive=!1,le(e)&&(e.preventDefault(),e.stopPropagation(),this._fireClick(),this._spacePressed=!1,this._textButtonActive=!1)),this._isShiftOrEscape(e)&&this._handleShiftOrEscapePressed(),this._tabIndex="-1"}_fireClick(e){e==null||e.stopPropagation(),this._shiftOrEscapePressed||this.fireEvent("click"),this._shiftOrEscapePressed=!1}_fireArrowClick(e){e==null||e.stopPropagation(),this.fireEvent("arrow-click")}_textButtonRelease(){this._textButtonActive=!1,this._textButtonIcon=this.textButton&&this.activeIcon!==""&&this._textButtonActive&&!this._shiftOrEscapePressed?this.activeIcon:this.icon,this._tabIndex="-1"}_arrowButtonPress(e){e.preventDefault(),this.arrowButton.focus(),this._tabIndex="-1"}_arrowButtonRelease(e){e.preventDefault(),this._tabIndex="-1"}_setTabIndexValue(){var e,t;this._tabIndex=this.disabled?"-1":"0",this._tabIndex==="-1"&&((e=this.textButton)!=null&&e.focused||(t=this.arrowButton)!=null&&t.focused)&&(this._tabIndex="0")}_onArrowButtonActiveStateChange(e){this.activeArrowButton&&e.preventDefault()}_isArrowKeyAction(e){return qe(e)||Xe(e)||Yf(e)||r_(e)||L_(e)}_isDefaultAction(e){return le(e)||Ie(e)}_isShiftOrEscape(e){return Ni(e)||H9(e)}_handleArrowButtonAction(e){e.preventDefault(),this._fireArrowClick(e),le(e)&&(this._spacePressed=!0)}_handleDefaultAction(e){var o;e.preventDefault();const t=le(e);this.focused||(o=this.textButton)!=null&&o.focused?(this._textButtonActive=!0,this._fireClick(),t&&(this._spacePressed=!0)):this.arrowButton&&this.arrowButton.focused&&(this._activeArrowButton=!0,this._fireArrowClick(),t&&(this._spacePressed=!0,this._textButtonActive=!1))}_handleShiftOrEscapePressed(){this._shiftOrEscapePressed=!0,this._textButtonActive=!1,this._isKeyDownOperation=!1}get effectiveActiveArrowButton(){return this.activeArrowButton||this._activeArrowButton}get textButtonAccText(){return this.textContent}get isTextButton(){return!!this.textContent}get textButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-text-button")}get arrowButton(){var e;return(e=this.getDomRef())==null?void 0:e.querySelector(".ui5-split-arrow-button")}get accessibilityInfo(){return{ariaExpanded:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaExpanded,ariaHaspopup:this._splitButtonAccInfo&&this._splitButtonAccInfo.ariaHaspopup,description:ys.i18nBundle.getText(Op),keyboardHint:ys.i18nBundle.getText(Bp)}}get ariaLabelText(){return[ys.i18nBundle.getText(Op),ys.i18nBundle.getText(Bp)].join(" ")}};Pi([A()],si.prototype,"icon",void 0);Pi([A()],si.prototype,"activeIcon",void 0);Pi([A({type:Boolean})],si.prototype,"activeArrowButton",void 0);Pi([A({type:Jo,defaultValue:Jo.Default})],si.prototype,"design",void 0);Pi([A({type:Boolean})],si.prototype,"disabled",void 0);Pi([A({defaultValue:void 0})],si.prototype,"accessibleName",void 0);Pi([A({type:Boolean})],si.prototype,"focused",void 0);Pi([A({type:Object})],si.prototype,"_splitButtonAccInfo",void 0);Pi([A({defaultValue:"0",noAttribute:!0})],si.prototype,"_tabIndex",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_spacePressed",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_shiftOrEscapePressed",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_textButtonActive",void 0);Pi([A({noAttribute:!0})],si.prototype,"_textButtonIcon",void 0);Pi([A({type:Boolean,noAttribute:!0})],si.prototype,"_activeArrowButton",void 0);Pi([Z({type:Node,default:!0})],si.prototype,"text",void 0);si=ys=Pi([K({tag:"ui5-split-button",renderer:de,styles:GV,template:jV,dependencies:[Ne]}),q("click"),q("arrow-click")],si);si.define();function YV(i,e,t){return t?w`
    ${this.readonly?void 0:Im.call(this,i,e,t)}<${D("ui5-input",e,t)} id="${a(this._id)}-inner" class="ui5-step-input-input" placeholder="${a(this.placeholder)}" type="${a(this.type)}" value="${a(this._valuePrecisioned)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" ._nativeInputAttributes="${a(this.inputAttributes)}" @ui5-change="${a(this._onInputChange)}" @focusout="${this._onInputFocusOut}" @focusin="${this._onInputFocusIn}">${this.valueStateMessage.length?Sm.call(this,i,e,t):void 0}${this.readonly?void 0:km.call(this,i,e,t)}
    `:w`
    ${this.readonly?void 0:Im.call(this,i,e,t)}${this.valueStateMessage.length?Sm.call(this,i,e,t):void 0}${this.readonly?void 0:km.call(this,i,e,t)}
    `}function Im(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} id="${a(this._id)}-dec" name="${a(this.decIconName)}" tabindex="-1" accessible-name="${a(this.decIconTitle)}" @click="${this._decValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._decSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._decIconClickable}">
    `:w`
    `}function Sm(i,e,t){return w``}function km(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} id="${a(this._id)}-inc" name="${a(this.incIconName)}" tabindex="-1" accessible-name="${a(this.incIconTitle)}" @click="${this._incValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._incSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._incIconClickable}">
    `:w`
    `}const XV="less",O6="M464 224q16 0 16 16v32q0 16-16 16H48q-6 0-11-4.5T32 272v-32q0-7 5-11.5t11-4.5h416z",KV=!1,ZV="SAP-icons-v4",QV="@ui5/webcomponents-icons";ee(XV,{pathData:O6,ltr:KV,collection:ZV,packageName:QV});const JV="less",B6="M454 275H58q-11 0-18.5-7T32 250t7.5-18.5T58 224h396q11 0 18.5 7.5T480 250t-7.5 18-18.5 7z",ez=!1,tz="SAP-icons-v5",iz="@ui5/webcomponents-icons";ee(JV,{pathData:B6,ltr:ez,collection:tz,packageName:iz});Se();const oz="add",R6="M32 240q0-7 5-11.5t11-4.5h176V48q0-7 5-11.5t11-4.5h32q16 0 16 16v176h176q16 0 16 16v32q0 16-16 16H288v176q0 16-16 16h-32q-6 0-11-4.5t-5-11.5V288H48q-6 0-11-4.5T32 272v-32z",rz=!1,nz=eT,az="SAP-icons-v4",sz="@ui5/webcomponents-icons";ee(oz,{pathData:R6,ltr:rz,accData:nz,collection:az,packageName:sz});const lz="add",L6="M454 230q11 0 18.5 7.5T480 256t-7.5 18.5T454 282H282v172q0 11-7.5 18.5T256 480t-18.5-7.5T230 454V282H58q-11 0-18.5-7.5T32 256t7.5-18.5T58 230h172V58q0-11 7.5-18.5T256 32t18.5 7.5T282 58v172h172z",cz=!1,uz=eT,dz="SAP-icons-v5",_z="@ui5/webcomponents-icons";ee(lz,{pathData:L6,ltr:cz,accData:uz,collection:dz,packageName:_z});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const hz={packageName:"@ui5/webcomponents",fileName:"themes/StepInput.css.ts",content:`: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;width:100%;line-height:normal;letter-spacing:normal;word-spacing:normal}:host{--ui5-v1-22-1-rc-0_input_focus_pseudo_element_content: none;color:var(--sapField_TextColor);background-color:var(--sapField_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style);border-radius:var(--sapField_BorderCornerRadius);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_input_height);position:relative;min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);text-align:right}:host .ui5-step-input-input{text-align:inherit}:host(:not([value-state]):not([readonly]):not([disabled])){box-shadow:none}:host(:not([value-state]):not([readonly]):not([disabled]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_step_input_border_color_hover);border:var(--_ui5-v1-22-1-rc-0_step_input_border_hover)}:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover){background-color:var(--sapField_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style_hover);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InformationShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Error"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):hover),:host([value-state="Error"]:not([readonly]):not([disabled]):hover),:host([value-state="Information"]:not([readonly]):not([disabled]):hover),:host([value-state="Warning"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0-step_input_button_state_hover_background_color)}:host(:not([value-state]):not([readonly]):not([disabled])[focused]),:host([value-state="None"]:not([readonly]):not([disabled])[focused]),:host([value-state="Success"]:not([readonly]):not([disabled])[focused]),:host([value-state="Error"]:not([readonly]):not([disabled])[focused]),:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),:host([value-state="Warning"]:not([readonly]):not([disabled])[focused]){background-color:var(--sapField_Focus_Background)}:host([value-state="Success"]:not([readonly]):not([disabled])):after,:host([value-state="Error"]:not([readonly]):not([disabled])):after,:host([value-state="None"]:not([readonly]):not([disabled])):after,:host([value-state="Information"]:not([readonly]):not([disabled])):after,:host([value-state="Warning"]:not([readonly]):not([disabled])):after{position:absolute;content:"";inset:-1px;outline:none;pointer-events:none;border-radius:var(--sapField_BorderCornerRadius);border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style);z-index:1;border-width:0px}:host([value-state="Information"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InformationColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state="Warning"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_WarningColor);border-width:2px}:host([value-state="Success"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_SuccessColor);border-width:1px}:host([value-state="Error"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InvalidColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state]):after{border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input{background-color:var(--_ui5-v1-22-1-rc-0_input_input_background_color)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input:hover{background-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_background_color)}:host([value-state]:not([value-state="None"]) .ui5-step-input-input[focused]){outline:none}:host .ui5-step-input-input{width:100%;color:inherit;background-color:inherit;border:var(--_ui5-v1-22-1-rc-0_step_input_input_border);box-sizing:border-box;vertical-align:top;margin-top:var(--_ui5-v1-22-1-rc-0_step_input_input_margin_top);min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);padding-inline-start:var(--_ui5-v1-22-1-rc-0_step_input_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_step_input_padding);position:relative;outline:none;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[readonly]{padding:0}:host .ui5-step-input-input:hover,:host .ui5-step-input-input[focused]{box-shadow:none}:host .ui5-step-input-root{white-space:nowrap;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[text-align=left]{text-align:left}:host .ui5-step-input-input[text-align=center]{text-align:center}:host .ui5-step-input-input[text-align=right]{text-align:right}:host .ui5-step-icon{position:absolute;display:var(--_ui5-v1-22-1-rc-0_step_input_button_display);height:2rem;height:100%;background-color:var(--_ui5-v1-22-1-rc-0_step_input_button_background_color);z-index:0}:host .ui5-step-icon[focused]{border:none;outline:none}:host .ui5-step-icon.ui5-step-dec{left:var(--_ui5-v1-22-1-rc-0_step_input_button_left);z-index:1}:host .ui5-step-icon.ui5-step-inc{right:var(--_ui5-v1-22-1-rc-0_step_input_button_right)}:host .ui5-step-icon *:not([clickable]),:host .ui5-step-icon *:not([clickable]):active,:host .ui5-step-icon *:not([clickable]):hover{opacity:.5;background-color:transparent;color:var(--sapContent_IconColor)}:host .ui5-step-icon :not([clickable]) *:hover,:host .ui5-step-icon :not([clickable]) *:active{background-color:var(--sapField_Background);color:var(--sapContent_IconColor)}:host .ui5-step-input-input[focused]:after{position:absolute;content:"";border:var(--_ui5-v1-22-1-rc-0_step_input_input_border_focused_after);top:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);right:0;bottom:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);border-radius:var(--_ui5-v1-22-1-rc-0_step_input_input_border_radius_focused_after);left:0;outline:none;pointer-events:none;z-index:1}:host .ui5-step-input-input[focused]{outline:none}:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_information_border_color_focused_after)}:host([value-state="Warning"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_warning_border_color_focused_after)}:host([value-state="Success"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_success_border_color_focused_after)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_border_color_focused_after)}:host .ui5-step-input-input::-webkit-outer-spin-button,:host .ui5-step-input-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host([disabled]) .ui5-step-icon{background-color:var(--_ui5-v1-22-1-rc-0_step_input_disabled_button_background)}:host([disabled]) .ui5-step-icon [ui5-icon]{color:var(--sapField_ReadOnly_BorderColor)} -`};var st=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Fc;const pz=500,fz=.8,Em=50,vz=120;let et=Fc=class extends ie{static async onDefine(){Fc.i18nBundle=await fe("@ui5/webcomponents")}get type(){return Rl.Number}get decIconTitle(){return Fc.i18nBundle.getText(v8)}get decIconName(){return"less"}get incIconTitle(){return Fc.i18nBundle.getText(m8)}get incIconName(){return"add"}get _decIconClickable(){return!this._decIconDisabled&&!this.readonly&&!this.disabled}get _incIconClickable(){return!this._incIconDisabled&&!this.readonly&&!this.disabled}get _isFocused(){return this.focused}get _valuePrecisioned(){return this.value.toFixed(this.valuePrecision)}get accInfo(){return{ariaRequired:this.required,ariaLabel:Kt(this)}}get inputAttributes(){return{min:this.min===void 0?void 0:this.min,max:this.max===void 0?void 0:this.max,step:this.step}}onBeforeRendering(){this._setButtonState(),this._previousValue===void 0&&(this._previousValue=this.value);const e=ze("FormSupport");e?e.syncNativeHiddenInput(this):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get input(){return this.shadowRoot.querySelector("[ui5-input]")}get inputOuter(){return this.shadowRoot.querySelector(".ui5-step-input-input")}_onButtonFocusOut(){setTimeout(()=>{this._inputFocused||this.inputOuter.removeAttribute("focused")},0)}_onInputFocusIn(){this._inputFocused=!0,this.value!==this._previousValue&&(this._previousValue=this.value)}_onInputFocusOut(){this._inputFocused=!1,this._onInputChange()}_setButtonState(){this._decIconDisabled=this.min!==void 0&&this.value<=this.min,this._incIconDisabled=this.max!==void 0&&this.value>=this.max}_validate(){this._initialValueState===void 0&&(this._initialValueState=this.valueState),this.valueState=this.min!==void 0&&this.valuethis.max?W.Error:this._initialValueState}_preciseValue(e){const t=10**this.valuePrecision;return Math.round(e*t)/t}_fireChangeEvent(){this._previousValue!==this.value&&(this._previousValue=this.value,this.fireEvent("change",{value:this.value}))}_modifyValue(e,t=!1){let o;this.value=this._preciseValue(parseFloat(this.input.value)),o=this.value+e,this.min!==void 0&&othis.max&&(o=this.max),o=this._preciseValue(o),o!==this.value&&(this.value=o,this._validate(),this._setButtonState(),this.focused=!0,this.inputOuter.setAttribute("focused",""),t?this._fireChangeEvent():this.input.focus())}_incValue(e){this._incIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(this.step,!0),this._previousValue=this.value)}_decValue(e){this._decIconClickable&&e.isTrusted&&!this.disabled&&!this.readonly&&(this._modifyValue(-this.step,!0),this._previousValue=this.value)}_onInputChange(){this.input.value===""&&(this.input.value=this.min||0);const e=this._preciseValue(parseFloat(this.input.value));(this.value!==this._previousValue||this.value!==e)&&(this.value=e,this._validate(),this._setButtonState(),this._fireChangeEvent())}_onfocusin(){this.focused=!0}_onfocusout(){this.focused=!1}_onkeydown(e){let t=!0;if(!(this.disabled||this.readonly)){if(Ie(e)){this._onInputChange();return}Xe(e)?this._modifyValue(this.step):qe(e)?this._modifyValue(-this.step):Ni(e)?(this.value=this._previousValue,this.input.value=this.value.toFixed(this.valuePrecision)):this.max!==void 0&&(Al(e)||R9(e))?this._modifyValue(this.max-this.value):this.min!==void 0&&(Uu(e)||L9(e))?this._modifyValue(this.min-this.value):!Fn(e)&&!Vn(e)&&!ln(e)&&!Sr(e)&&(t=!1),t&&e.preventDefault()}}_decSpin(){this._decIconDisabled||this._spinValue(!1,!0)}_incSpin(){this._incIconDisabled||this._spinValue(!0,!0)}_calcWaitTimeout(){return this._speed*=fz,this._waitTimeout=this._waitTimeout-this._speed{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}_resetSpinOut(){this._btnDown&&(this._resetSpin(),this._fireChangeEvent())}};st([A({validator:Zt,defaultValue:0})],et.prototype,"value",void 0);st([A({validator:Zt})],et.prototype,"min",void 0);st([A({validator:Zt})],et.prototype,"max",void 0);st([A({validator:Zt,defaultValue:1})],et.prototype,"step",void 0);st([A({type:W,defaultValue:W.None})],et.prototype,"valueState",void 0);st([A({type:Boolean})],et.prototype,"required",void 0);st([A({type:Boolean})],et.prototype,"disabled",void 0);st([A({type:Boolean})],et.prototype,"readonly",void 0);st([A({defaultValue:void 0})],et.prototype,"placeholder",void 0);st([A()],et.prototype,"name",void 0);st([A({validator:ae,defaultValue:0})],et.prototype,"valuePrecision",void 0);st([A()],et.prototype,"accessibleName",void 0);st([A({defaultValue:""})],et.prototype,"accessibleNameRef",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_decIconDisabled",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_incIconDisabled",void 0);st([A({type:Boolean})],et.prototype,"focused",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_inputFocused",void 0);st([A({validator:Zt,noAttribute:!0})],et.prototype,"_previousValue",void 0);st([A({validator:Zt,noAttribute:!0})],et.prototype,"_waitTimeout",void 0);st([A({validator:Zt,noAttribute:!0})],et.prototype,"_speed",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_btnDown",void 0);st([A({validator:ae,noAttribute:!0})],et.prototype,"_spinTimeoutId",void 0);st([A({type:Boolean,noAttribute:!0})],et.prototype,"_spinStarted",void 0);st([Z()],et.prototype,"valueStateMessage",void 0);st([Z()],et.prototype,"formSupport",void 0);et=Fc=st([K({tag:"ui5-step-input",renderer:de,styles:hz,template:YV,dependencies:[Be,xr]}),q("change")],et);et.define();function mz(i,e,t){return t?w`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?$m.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?Am.call(this,i,e,t):void 0}
    <${D("ui5-icon",e,t)} name="direction-arrows" slider-icon>${this.showTooltip?xm.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `:w`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step?$m.call(this,i,e,t):void 0}
    ${this.showTooltip?Am.call(this,i,e,t):void 0}
    ${this.showTooltip?xm.call(this,i,e,t):void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `}function $m(i,e,t){return w`${this.showTickmarks?gz.call(this,i,e,t):void 0}`}function gz(i,e,t){return w`
      ${X(this.tickmarksObject,(o,r)=>o._id||r,(o,r)=>bz.call(this,i,e,t,o,r))}
    ${this.labelInterval?Tz.call(this,i,e,t):void 0}`}function bz(i,e,t,o,r){return w`${o?yz.call(this,i,e,t,o,r):wz.call(this,i,e,t,o,r)}`}function yz(i,e,t,o,r){return w`
  • `}function wz(i,e,t,o,r){return w`
  • `}function Tz(i,e,t){return w`
      ${X(this._labels,(o,r)=>o._id||r,(o,r)=>Cz.call(this,i,e,t,o,r))}
    `}function Cz(i,e,t,o,r){return w`
  • ${a(o)}
  • `}function Am(i,e,t){return w`
    ${a(this.tooltipStartValue)}
    `}function xm(i,e,t){return w`
    ${a(this.tooltipEndValue)}
    `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Iz={packageName:"@ui5/webcomponents",fileName:"themes/RangeSlider.css.ts",content:`:host([ui5-range-slider]) .ui5-slider-progress-container:before{background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_background)}.ui5-slider-root:hover:active .ui5-slider-handle:not(:focus){background:var(--sapSlider_RangeHandleBackground)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus){background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_active_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);box-shadow:none}:host([range-pressed]) .ui5-slider-handle [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-root:not(.ui5-slider-root-phone):focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background_focus)}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus [slider-icon]{display:none}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-progress:focus:before{display:var(--_ui5-v1-22-1-rc-0_range_slider_legacy_progress_focus_display);content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_width);border:var(--_ui5-v1-22-1-rc-0_slider_progress_outline);border-radius:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_radius);top:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset);height:var(--_ui5-v1-22-1-rc-0_slider_outer_height);box-sizing:border-box;left:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset_left)}.ui5-slider-progress{position:relative}.ui5-slider-progress:focus:after{border:.125rem solid var(--sapContent_FocusColor);border-radius:.5rem;content:"";display:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_display);position:absolute;top:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top);left:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left);padding:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_padding);width:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width);height:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height);box-sizing:border-box}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_bg)}.ui5-slider-root:hover .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_icon_display)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_active_handle_icon_display)} -`};var ah=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ia;let Fl=Ia=class extends an{constructor(){super(),this._isPressInCurrentRange=!1,this._handeIsPressed=!1,this._reversedValues=!1,this._stateStorage.startValue=void 0,this._stateStorage.endValue=void 0}get tooltipStartValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.startValue.toFixed(t)}get tooltipEndValue(){const t=this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep);return this.endValue.toFixed(t)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabelledByText(){return Ia.i18nBundle.getText(b4)}get _ariaHandlesText(){const e=this.effectiveDir==="rtl",t=this._areValuesReversed(),o={};return e&&!t||!e&&t?(o.startHandleText=Ia.i18nBundle.getText(Pp),o.endHandleText=Ia.i18nBundle.getText(Dp)):(o.startHandleText=Ia.i18nBundle.getText(Dp),o.endHandleText=Ia.i18nBundle.getText(Pp)),o}get _ariaValueNow(){return Math.abs(this.endValue-this.startValue)}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))}syncUIAndState(){if(this.isPropertyUpdated("step")&&(this._validateStep(this.step),this.storePropertyState("step")),this.isPropertyUpdated("min","max","startValue","endValue")){this.storePropertyState("min","max");const e=an.clipValue(this.startValue,this._effectiveMin,this._effectiveMax);this.startValue=e,this.updateStateStorageAndFireInputEvent("startValue"),this.storePropertyState("startValue");const t=an.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.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.VISIBLE)}_onfocusout(){if(this._isFocusing()){this._preventFocusOut();return}this._setAffectedValue(void 0),this._startValueInitial=void 0,this._endValueInitial=void 0,this.showTooltip&&(this._tooltipVisibility=an.TOOLTIP_VISIBILITY.HIDDEN)}_onkeyup(){super._onkeyup(),this._setAffectedValue(void 0),(this.startValue!==this._startValueAtBeginningOfAction||this.endValue!==this._endValueAtBeginningOfAction)&&this.fireEvent("change"),this._startValueAtBeginningOfAction=void 0,this._endValueAtBeginningOfAction=void 0}_handleActionKeyPress(e){if(this._startValueAtBeginningOfAction=this.startValue,this._endValueAtBeginningOfAction=this.endValue,Ni(e)){this.update(void 0,this._startValueInitial,this._endValueInitial);return}this._setAffectedValueByFocusedElement();const t=this._effectiveMin,o=this._effectiveMax,r=this._valueAffected;if((ki(e)||Wt(e))&&!r){this._homeEndForSelectedRange(e,Wt(e)?"startValue":"endValue",t,o);return}const n=this._handleActionKeyPressBase(e,r);if(!n)return;const s=this.constructor;if(r&&!this._isPressInCurrentRange){const l=this[r],I=s.clipValue(n+l,t,o);this.update(r,I,void 0)}else if(n<0&&this.startValue>t||n>0&&this.endValue=n.left&&e<=n.right,I=e>=s.left&&e<=s.right;(I||l)&&(this._handeIsPressed=!0),(I||t>this.endValue)&&this._setAffectedValue("endValue"),(l||t=this._startValueAtBeginningOfAction&&t<=this._endValueAtBeginningOfAction;this._setIsPressInCurrentRange(this._valueAffected||this._handeIsPressed?!1:y)}_setAffectedValue(e){this._valueAffected=e,this._areValuesReversed()&&this._setValuesAreReversed()}_setIsPressInCurrentRange(e){this._isPressInCurrentRange=e}focusInnerElement(){const e=this._areValuesReversed(),t=this._valueAffected;(this._isPressInCurrentRange||!t)&&this._progressBar.focus(),(t==="startValue"&&!e||t==="endValue"&&e)&&this._startHandle.focus(),(t==="endValue"&&!e||t==="startValue"&&e)&&this._endHandle.focus()}_calculateRangeOffset(e,t){if(this._initialPageXPosition===e)return[this.startValue,this.endValue];const o=this._effectiveMin,r=this._effectiveMax,n=this.endValue-this.startValue;let s=this._calculateStartValueByOffset(e,t);return s=this.constructor.clipValue(s,o,r-n),[s,s+n]}_calculateStartValueByOffset(e,t){const o=this._effectiveMin,r=this._effectiveMax,n=this._effectiveStep,s=this.getBoundingClientRect();let l,I,y;const C=this.constructor;return e>this._initialPageXPosition?(y=e-this._initialPageXPosition,I=t+y,l=C.computedValueFromPageX(I,o,r,s,this.directionStart),l=C.getSteppedValue(l,n,o)):(y=this._initialPageXPosition-e,I=t-y,l=C.computedValueFromPageX(I,o,r,s,this.directionStart),l=C.getSteppedValue(l,n,o)),l}_updateHandlesAndRange(e){const t=this._effectiveMax,o=this._effectiveMin,r=this.getStoredPropertyState("startValue")||0,n=this.getStoredPropertyState("endValue")||0,s=this._valueAffected;s==="startValue"?(this._selectedRange=(n-e)/(t-o),this._firstHandlePositionFromStart=(e-o)/(t-o)*100):s==="endValue"?(this._selectedRange=(e-r)/(t-o),this._secondHandlePositionFromStart=(e-o)/(t-o)*100):(this._selectedRange=(this.endValue-this.startValue)/(t-o),this._firstHandlePositionFromStart=(this.startValue-o)/(t-o)*100,this._secondHandlePositionFromStart=(this.endValue-o)/(t-o)*100)}_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,n=this._effectiveMin+o*this.step<=this.endValue;t.push(r&&n)}return t}get _startHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--start")}get _endHandle(){return this.shadowRoot.querySelector(".ui5-slider-handle--end")}get _progressBar(){return this.shadowRoot.querySelector(".ui5-slider-progress")}get _ariaLabelledByStartHandleRefs(){return[`${this._id}-accName`,`${this._id}-startHandleDesc`].join(" ").trim()}get _ariaLabelledByEndHandleRefs(){return[`${this._id}-accName`,`${this._id}-endHandleDesc`].join(" ").trim()}get _ariaLabelledByProgressBarRefs(){return[`${this._id}-accName`,`${this._id}-sliderDesc`].join(" ").trim()}get styles(){return{progress:{width:`${this._selectedRange*100}%`,"transform-origin":`${this.directionStart} top`,[this.directionStart]:`${this._firstHandlePositionFromStart}%`},startHandle:{[this.directionStart]:`${this._firstHandlePositionFromStart}%`},endHandle:{[this.directionStart]:`${this._secondHandlePositionFromStart}%`},label:{width:`${this._labelWidth}%`},labelContainer:{width:"100%",[this.directionStart]:`-${this._labelWidth/2}%`},tooltip:{visibility:`${this._tooltipVisibility}`}}}static async onDefine(){Ia.i18nBundle=await fe("@ui5/webcomponents")}};ah([A({validator:Zt,defaultValue:0})],Fl.prototype,"startValue",void 0);ah([A({validator:Zt,defaultValue:100})],Fl.prototype,"endValue",void 0);ah([A({type:Boolean})],Fl.prototype,"rangePressed",void 0);Fl=Ia=ah([K({tag:"ui5-range-slider",languageAware:!0,template:mz,dependencies:[Be],styles:[an.styles,Iz]})],Fl);Fl.define();var D1;(function(i){i.Textual="Textual",i.Graphical="Graphical"})(D1||(D1={}));const P1=D1;function Sz(i,e,t){return t?w`
    ${this.graphical?Dm.call(this,i,e,t):Pm.call(this,i,e,t)}<${D("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-handle-icon">
    `:w`
    ${this.graphical?Dm.call(this,i,e,t):Pm.call(this,i,e,t)}
    `}function Dm(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="accept" class="ui5-switch-icon-on"><${D("ui5-icon",e,t)} name="decline" class="ui5-switch-icon-off">`:w``}function Pm(i,e,t){return w`${this.hasNoLabel?kz.call(this,i,e,t):Ez.call(this,i,e,t)}`}function kz(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-on"><${D("ui5-icon",e,t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-off">`:w``}function Ez(i,e,t){return w`${a(this._textOn)}${a(this._textOff)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const $z={packageName:"@ui5/webcomponents",fileName:"themes/Switch.css.ts",content:`.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(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_width);height:var(--_ui5-v1-22-1-rc-0_switch_height);min-width:var(--_ui5-v1-22-1-rc-0_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-v1-22-1-rc-0-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5-v1-22-1-rc-0_switch_with_label_width);height:var(--_ui5-v1-22-1-rc-0_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5-v1-22-1-rc-0_switch_track_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_width);border:var(--_ui5-v1-22-1-rc-0-switch-track-border);border-radius:var(--_ui5-v1-22-1-rc-0_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5-v1-22-1-rc-0_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-v1-22-1-rc-0-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_handle_width);height:var(--_ui5-v1-22-1-rc-0_switch_handle_height);border:var(--_ui5-v1-22-1-rc-0_switch_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_handle_with_label_width)}.ui5-switch-handle-icon{display:var(--_ui5-v1-22-1-rc-0-switch-handle-icon-display);transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}:host([checked]) .ui5-switch-handle-icon{color:var(--_ui5-v1-22-1-rc-0-switch_track-on-background)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5-v1-22-1-rc-0_switch_text_z_index);min-width:var(--_ui5-v1-22-1-rc-0_switch_text_min_width);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);font-family:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-desktop.ui5-switch-root:focus:after{content:"";position:absolute;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_root_outline_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_root_outline_right);top:var(--_ui5-v1-22-1-rc-0_switch_root_outline_top);bottom:var(--_ui5-v1-22-1-rc-0_switch_root_outline_bottom);border:var(--_ui5-v1-22-1-rc-0_switch_focus_outline);border-radius:var(--_ui5-v1-22-1-rc-0_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition);outline:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off{visibility:var(--_ui5-v1-22-1-rc-0_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on{visibility:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_inactive_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height);display:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_width)}:host([active]) .ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var( --_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0-switch_track-on-active-background)}.ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right_alternate)}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_rtl_transform_with_label)}[dir=rtl].ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_switch_rtl_transform)} -`};var _r=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},O1;let ao=O1=class extends ie{onBeforeRendering(){this._enableFormSupport()}_enableFormSupport(){const e=ze("FormSupport");e?e.syncNativeHiddenInput(this,(t,o)=>{const r=t;o.checked=!!r.checked,o.disabled=!!r.disabled,o.value=r.checked?"on":""}):this.name&&console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";')}get sapNextIcon(){return this.checked?"accept":"less"}_onclick(){this.toggle()}_onkeydown(e){le(e)&&e.preventDefault(),Ie(e)&&this._onclick()}_onkeyup(e){le(e)&&this._onclick()}toggle(){if(!this.disabled){this.checked=!this.checked;const e=!this.fireEvent("change",null,!0),t=!this.fireEvent("value-changed",null,!0);(e||t)&&(this.checked=!this.checked)}}get graphical(){return this.design===P1.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 effectiveTabIndex(){return this.disabled?void 0:"0"}get classes(){const e=this.graphical||this.textOn||this.textOff;return{main:{"ui5-switch-desktop":Qo(),"ui5-switch--disabled":this.disabled,"ui5-switch--checked":this.checked,"ui5-switch--semantic":this.graphical,"ui5-switch--no-label":!e}}}get effectiveAriaDisabled(){return this.disabled?"true":void 0}get accessibilityOnText(){return this._textOn}get accessibilityOffText(){return this._textOff}get hiddenText(){return this.checked?this.accessibilityOnText:this.accessibilityOffText}get ariaLabelText(){return[Kt(this),this.hiddenText].join(" ").trim()}static async onDefine(){O1.i18nBundle=await fe("@ui5/webcomponents")}};_r([A({type:P1,defaultValue:P1.Textual})],ao.prototype,"design",void 0);_r([A({type:Boolean})],ao.prototype,"checked",void 0);_r([A({type:Boolean})],ao.prototype,"disabled",void 0);_r([A()],ao.prototype,"textOn",void 0);_r([A()],ao.prototype,"textOff",void 0);_r([A()],ao.prototype,"accessibleName",void 0);_r([A({defaultValue:""})],ao.prototype,"accessibleNameRef",void 0);_r([A()],ao.prototype,"tooltip",void 0);_r([A({type:Boolean})],ao.prototype,"required",void 0);_r([A()],ao.prototype,"name",void 0);_r([Z()],ao.prototype,"formSupport",void 0);ao=O1=_r([K({tag:"ui5-switch",languageAware:!0,styles:$z,renderer:de,template:Sz,dependencies:[Be]}),q("change")],ao);ao.define();var B1;(function(i){i.Information="Information",i.Positive="Positive",i.Negative="Negative",i.Warning="Warning"})(B1||(B1={}));const Om=B1;function Az(i,e,t){return w`
    ${this.hideIcon?void 0:xz.call(this,i,e,t)}${a(this.hiddenText)}${this.hideCloseButton?void 0:Oz.call(this,i,e,t)}
    `}function xz(i,e,t){return w``}function Dz(i,e,t){return w``}function Pz(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.standardIconName)}" class="ui5-message-strip-icon">`:w``}function Oz(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="decline" design="Transparent" class="ui5-message-strip-close-button" tooltip="${a(this._closeButtonText)}" @click=${this._closeClick}>`:w``}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const Bz={packageName:"@ui5/webcomponents",fileName:"themes/MessageStrip.css.ts",content:`.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;width:100%}.ui5-message-strip-root{width:100%;height:100%;display:flex;border-radius:var(--sapPopover_BorderCornerRadius);padding:var(--_ui5-v1-22-1-rc-0_message_strip_padding);border-width:var(--_ui5-v1-22-1-rc-0_message_strip_border_width);border-style:solid;box-sizing:border-box;position:relative}.ui5-message-strip-root-hide-icon{padding-inline:var(--_ui5-v1-22-1-rc-0_message_strip_padding_inline_no_icon);padding-block:var(--_ui5-v1-22-1-rc-0_message_strip_padding_block_no_icon)}.ui5-message-strip-root-hide-close-button{padding-inline-end:1rem}.ui5-message-strip-root--info{background-color:var(--sapInformationBackground);border-color:var(--sapMessage_InformationBorderColor);color:var(--sapTextColor)}.ui5-message-strip-root--info .ui5-message-strip-icon{color:var(--sapInformativeElementColor)}.ui5-message-strip-root--positive{background-color:var(--sapSuccessBackground);border-color:var(--sapMessage_SuccessBorderColor)}.ui5-message-strip-root--positive .ui5-message-strip-icon{color:var(--sapPositiveElementColor)}.ui5-message-strip-root--negative{background-color:var(--sapErrorBackground);border-color:var(--sapMessage_ErrorBorderColor)}.ui5-message-strip-root--negative .ui5-message-strip-icon{color:var(--sapNegativeElementColor)}.ui5-message-strip-root--warning{background-color:var(--sapWarningBackground);border-color:var(--sapMessage_WarningBorderColor)}.ui5-message-strip-root--warning .ui5-message-strip-icon{color:var(--sapCriticalElementColor)}.ui5-message-strip-icon-wrapper{position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_icon_top);inset-inline-start:.75rem;box-sizing:border-box}.ui5-message-strip-text{width:100%;color:var(--sapTextColor);line-height:1.2;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-message-strip-close-button{height:1.625rem;min-height:1.625rem;position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_top);inset-inline-end:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_right)} -`};var ad=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},ws,R1;(function(i){i.Information="ui5-message-strip-root--info",i.Positive="ui5-message-strip-root--positive",i.Negative="ui5-message-strip-root--negative",i.Warning="ui5-message-strip-root--warning"})(R1||(R1={}));var L1;(function(i){i.Information="information",i.Positive="sys-enter-2",i.Negative="error",i.Warning="alert"})(L1||(L1={}));let Xs=ws=class extends ie{_closeClick(){this.fireEvent("close")}static async onDefine(){ws.i18nBundle=await fe("@ui5/webcomponents")}static designAnnouncementMappings(){const e=t=>ws.i18nBundle.getText(t);return{Information:e(_4),Positive:e(d4),Negative:e(c4),Warning:e(u4)}}get hiddenText(){return`${ws.designAnnouncementMappings()[this.design]} ${this.hideCloseButton?"":this._closableText}`}get _closeButtonText(){return ws.i18nBundle.getText(s4)}get _closableText(){return ws.i18nBundle.getText(l4)}get classes(){return{root:{"ui5-message-strip-root":!0,"ui5-message-strip-root-hide-icon":this.hideIcon,"ui5-message-strip-root-hide-close-button":this.hideCloseButton,[this.designClasses]:!0}}}get iconProvided(){return this.icon.length>0}get standardIconName(){return L1[this.design]}get designClasses(){return R1[this.design]}};ad([A({type:Om,defaultValue:Om.Information})],Xs.prototype,"design",void 0);ad([A({type:Boolean})],Xs.prototype,"hideIcon",void 0);ad([A({type:Boolean})],Xs.prototype,"hideCloseButton",void 0);ad([Z()],Xs.prototype,"icon",void 0);Xs=ws=ad([K({tag:"ui5-message-strip",languageAware:!0,renderer:de,template:Az,styles:Bz,dependencies:[Be,Ne]}),q("close")],Xs);Xs.define();const Rz="multiselect-all",N6="M92 472l80-97 20 19L92 512l-60-59 20-20zm80-285l20 19L92 323l-60-59 20-19 40 38zm0-187l20 19L92 137 32 78l20-21 40 40zm292 65q16 0 16 16 0 6-4.5 11T464 97H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 191q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 192q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191z",Lz=!0,Nz="SAP-icons-v4",Mz="@ui5/webcomponents-icons";ee(Rz,{pathData:N6,ltr:Lz,collection:Nz,packageName:Mz});const Fz="multiselect-all",M6="M198 0q11 0 18.5 7.5T224 26q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 57q10 0 19 9l27 30 75-87q8-9 19-9zm84 96q-11 0-18.5-7.5T256 70t7.5-18 18.5-7h172q11 0 18.5 7t7.5 18-7.5 18.5T454 96H282zm-84 80q11 0 18.5 7.5T224 202q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 233q10 0 19 9l27 30 75-87q8-9 19-9zm256 48q11 0 18.5 7.5T480 250t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 224h172zM198 352q11 0 18.5 7.5T224 378q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 409q10 0 19 9l27 30 75-87q8-9 19-9zm256 64q11 0 18.5 7.5T480 442t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 416h172z",Vz=!0,zz="SAP-icons-v5",Hz="@ui5/webcomponents-icons";ee(Fz,{pathData:M6,ltr:Vz,collection:zz,packageName:Hz});Se();var F6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let Eu=class extends e6{get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};F6([A({type:Boolean})],Eu.prototype,"selected",void 0);Eu=F6([K("ui5-mcb-item")],Eu);Eu.define();const V6=Eu;var z6=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n};let $u=class extends ie{get isGroupItem(){return!0}get selected(){return!1}get stableDomRef(){return this.getAttribute("stable-dom-ref")||`${this._id}-stable-dom-ref`}};z6([A()],$u.prototype,"text",void 0);$u=z6([K("ui5-mcb-group-item")],$u);$u.define();const Uz=$u;function qz(i,e,t){return t?w`
    ${a(this._tokensCountText)}${this.hasValueState?Bm.call(this,i,e,t):void 0}<${D("ui5-tokenizer",e,t)} slot="_beginContent" show-more prevent-popover-open class="ui5-multi-combobox-tokenizer" ?disabled="${this.disabled}" @ui5-show-more-items-press="${a(this._showFilteredItems)}" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} @ui5-token-delete="${a(this._tokenDelete)}" @ui5-before-more-popover-open="${a(this.handleBeforeTokenizerPopoverOpen)}" @focusout="${this._tokenizerFocusOut}" @focusin="${this._tokenizerFocusIn}" @click=${this._click} @paste=${this._handlePaste} @keydown="${this._onTokenizerKeydown}" ?expanded="${this._tokenizerExpanded}">${X(this.items,(o,r)=>o._id||r,(o,r)=>Rm.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?Lm.call(this,i,e,t):void 0}${this.icon?Nm.call(this,i,e,t):void 0}${this.readonly?void 0:Mm.call(this,i,e,t)}
    `:w`
    ${a(this._tokensCountText)}${this.hasValueState?Bm.call(this,i,e,t):void 0}${X(this.items,(o,r)=>o._id||r,(o,r)=>Rm.call(this,i,e,t,o,r))}${this._effectiveShowClearIcon?Lm.call(this,i,e,t):void 0}${this.icon?Nm.call(this,i,e,t):void 0}${this.readonly?void 0:Mm.call(this,i,e,t)}
    `}function Bm(i,e,t){return w`${a(this.ariaValueStateHiddenText)}`}function Rm(i,e,t,o,r){return w`${o.selected?Wz.call(this,i,e,t,o,r):void 0}`}function Wz(i,e,t,o,r){return t?w`<${D("ui5-token",e,t)} ?readonly="${this.readonly}" class="ui5-multi-combobox-token" data-ui5-id="${a(o._id)}" part="token-${r}" text="${a(o.text)}">`:w``}function Lm(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    `:w`
    `}function Nm(i,e,t){return w``}function Mm(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="slim-arrow-down" input-icon slot="icon" tabindex="-1" @click="${this.togglePopoverByDropdownIcon}" @mousedown="${this._onIconMousedown}" @focusin="${this._forwardFocusToInner}" ?pressed="${this.open}" accessible-name="${a(this._iconAccessibleNameText)}">`:w``}function jz(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} placement-type="Bottom" horizontal-align="Left" class="${j(this.classes.popover)}" hide-arrow _disable-initial-focus style="${Y(this.styles.suggestionsPopover)}" @ui5-selection-change=${a(this._listSelectionChange)} @ui5-after-close=${a(this._afterClosePicker)} @ui5-before-open=${a(this._beforeOpen)} @ui5-after-open=${a(this._afterOpenPicker)}>${this._isPhone?Fm.call(this,i,e,t):void 0}${this._isPhone?void 0:Wm.call(this,i,e,t)}${this.filterSelected?Ym.call(this,i,e,t):Km.call(this,i,e,t)}${this._isPhone?Qm.call(this,i,e,t):void 0}${this.hasValueStateMessage?Jm.call(this,i,e,t):void 0} `:w`${this._isPhone?Fm.call(this,i,e,t):void 0}${this._isPhone?void 0:Wm.call(this,i,e,t)}${this.filterSelected?Ym.call(this,i,e,t):Km.call(this,i,e,t)}${this._isPhone?Qm.call(this,i,e,t):void 0}${this.hasValueStateMessage?Jm.call(this,i,e,t):void 0} `}function Fm(i,e,t){return t?w`
    ${a(this._headerTitleText)}<${D("ui5-button",e,t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.handleCancel}">
    <${D("ui5-input",e,t)} @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._mobileInputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this._dialogInputValueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Vm.call(this,i,e,t,o,r))}<${D("ui5-toggle-button",e,t)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${this._showAllItemsButtonPressed} @click="${this.filterSelectedItems}" accessible-name="${a(this._showSelectedButtonAccessibleNameText)}">
    ${this.hasValueStateMessage?zm.call(this,i,e,t):void 0}${this.showSelectAll?qm.call(this,i,e,t):void 0}`:w`
    ${a(this._headerTitleText)}
    ${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Vm.call(this,i,e,t,o,r))}
    ${this.hasValueStateMessage?zm.call(this,i,e,t):void 0}${this.showSelectAll?qm.call(this,i,e,t):void 0}`}function Vm(i,e,t,o,r){return t?w`<${D("ui5-suggestion-item",e,t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">`:w``}function zm(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?Hm.call(this,i,e,t):Um.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?Hm.call(this,i,e,t):Um.call(this,i,e,t)}
    `}function Hm(i,e,t){return w`${a(this.valueStateDefaultText)}`}function Um(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>Gz.call(this,i,e,t,o,r))}`}function Gz(i,e,t,o,r){return w`${a(o)}`}function qm(i,e,t){return t?w`
    <${D("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:w`
    `}function Wm(i,e,t){return w`${this.hasValueStateMessage?Yz.call(this,i,e,t):void 0}${this.showSelectAll?Kz.call(this,i,e,t):void 0}`}function Yz(i,e,t){return t?w`
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?jm.call(this,i,e,t):Gm.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?jm.call(this,i,e,t):Gm.call(this,i,e,t)}
    `}function jm(i,e,t){return w`${a(this.valueStateDefaultText)}`}function Gm(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>Xz.call(this,i,e,t,o,r))}`}function Xz(i,e,t,o,r){return w`${a(o)}`}function Kz(i,e,t){return t?w`
    <${D("ui5-checkbox",e,t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    `:w`
    `}function Ym(i,e,t){return t?w`<${D("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${X(this.selectedItems,(o,r)=>o._id||r,(o,r)=>Xm.call(this,i,e,t,o,r))}`:w`${X(this.selectedItems,(o,r)=>o._id||r,(o,r)=>Xm.call(this,i,e,t,o,r))}`}function Xm(i,e,t,o,r){return w`${o.isGroupItem?Zz.call(this,i,e,t,o,r):Qz.call(this,i,e,t,o,r)}`}function Zz(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function Qz(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function Km(i,e,t){return t?w`<${D("ui5-list",e,t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Zm.call(this,i,e,t,o,r))}`:w`${X(this._filteredItems,(o,r)=>o._id||r,(o,r)=>Zm.call(this,i,e,t,o,r))}`}function Zm(i,e,t,o,r){return w`${o.isGroupItem?Jz.call(this,i,e,t,o,r):eH.call(this,i,e,t,o,r)}`}function Jz(i,e,t,o,r){return t?w`<${D("ui5-li-groupheader",e,t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function eH(i,e,t,o,r){return t?w`<${D("ui5-li",e,t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}`:w`${a(o.text)}`}function Qm(i,e,t){return t?w``:w``}function Jm(i,e,t){return t?w`<${D("ui5-popover",e,t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${D("ui5-icon",e,t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage?eg.call(this,i,e,t):tg.call(this,i,e,t)}
    `:w`
    ${this.shouldDisplayDefaultValueStateMessage?eg.call(this,i,e,t):tg.call(this,i,e,t)}
    `}function eg(i,e,t){return w`${a(this.valueStateDefaultText)}`}function tg(i,e,t){return w`${X(this.valueStateMessageText,(o,r)=>o._id||r,(o,r)=>tH.call(this,i,e,t,o,r))}`}function tH(i,e,t,o,r){return w`${a(o)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const iH={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBox.css.ts",content:`:host{vertical-align:middle}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.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{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}:host(:not([hidden])){display:inline-block}.ui5-multi-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-multi-combobox-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-combobox-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-combobox-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-combobox-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} -`};V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const oH={packageName:"@ui5/webcomponents",fileName:"themes/MultiComboBoxPopover.css.ts",content:`.ui5-suggestions-popover .ui5-multi-combobox-all-items-list{--_ui5-v1-22-1-rc-0_checkbox_width_height: var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-mcb-select-all-header{width:100%;height:44px;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);display:flex;align-items:center;font-family:"72override",var(--sapFontFamily);position:sticky;top:0;z-index:2;background:var(--sapToolbar_Background)}.ui5-mcb-select-all-checkbox{width:100%;font-family:var(--sapFontBoldFamily)}.ui5-mcb-select-all-checkbox::part(root):focus:before{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:0;inset:0 2px}.ui5-mcb-select-all-checkbox::part(label){font-family:var(--sapFontBoldFamily)} -`};var He=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},At;let Me=At=class extends ie{constructor(){super(),this._filteredItems=[],this._previouslySelectedItems=[],this.selectedValues=[],this._itemsBeforeOpen=[],this._inputLastValue="",this._deleting=!1,this._validationTimeout=null,this._handleResizeBound=this._handleResize.bind(this),this.valueBeforeAutoComplete="",this._lastValue=this.getAttribute("value")||"",this.currentItemIdx=-1,this.FormSupport=void 0}onEnterDOM(){Ce.register(this,this._handleResizeBound)}onExitDOM(){Ce.deregister(this,this._handleResizeBound)}_handleResize(){this._inputWidth=this.offsetWidth}_handleMobileInput(e){const o=e.target.value;!this.allowCustomValues&&!this._filterItems(o).length?this._dialogInputValueState=W.Error:this._dialogInputValueState=this.valueState,this.value=o,this._shouldFilterItems=!0,this.valueBeforeAutoComplete=o,this.fireEvent("input")}_inputChange(){!this._clearingValue&&this._lastValue!==this.value&&(this._lastValue=this.value,this.fireEvent("change"))}async _mobileInputChange(e){this._inputChange.call(this);const{value:t}=e.target,o=this.items.find(s=>s.text===t);if(!o)return;const r=o==null?void 0:o.selected;this.fireSelectionChange()||(o.selected=!r,(await this._getResponsivePopover()).close(),this.value="")}togglePopover(){var e;this._tokenizer.closeMorePopover(),(e=this.allItemsPopover)==null||e.toggle(this)}togglePopoverByDropdownIcon(){var e;this._shouldFilterItems=!1,(e=this.allItemsPopover)==null||e.toggle(this),this._tokenizer.closeMorePopover()}_showFilteredItems(){this.filterSelected=!0,this._showMorePressed=!0,this.togglePopover()}filterSelectedItems(e){this.filterSelected=e.target.pressed;const t=this._filteredItems.filter(o=>o.selected);this.selectedItems=this.items.filter((o,r,n)=>At._groupItemFilter(o,++r,n,t)||t.indexOf(o)!==-1)}get open(){return this._open}get _showAllItemsButtonPressed(){return this.filterSelected}get _inputDom(){return this.shadowRoot.querySelector("#ui5-multi-combobox-input")}_inputLiveChange(e){var s,l;const t=e.target,o=t.value,r=this._filterItems(o),n=this.valueState;if(this._shouldFilterItems=!0,this.filterSelected&&(this.filterSelected=!1),this._validationTimeout)if(this._filterItems(o).length)this.valueState=this._effectiveValueState,this._validationTimeout=null;else{t.value=this._inputLastValue;return}if(this._effectiveValueState=this.valueState,!r.length&&o&&!this.allowCustomValues){const I=this.valueBeforeAutoComplete||this._inputLastValue;t.value=I,this.value=I,this.valueState=W.Error,this._shouldAutocomplete=!1,this._resetValueState(n);return}this._inputLastValue=t.value,this.value=t.value,this._filteredItems=r,ue()||(r.length===0?(s=this.allItemsPopover)==null||s.close():(l=this.allItemsPopover)==null||l.showAt(this)),this.fireEvent("input")}_tokenDelete(e){this._previouslySelectedItems=this._getSelectedItems();const t=e.detail.ref,o=this.items.find(n=>n._id===t.getAttribute("data-ui5-id"));o.selected=!1,this._deleting=!0,this._preventTokenizerToggle=!0,this.focus(),this.fireSelectionChange()&&this._revertSelection()}get _getPlaceholder(){return this._getSelectedItems().length?"":this.placeholder}_handleArrowLeft(){const e=this._inputDom,t=e.selectionStart||0,o=(e.selectionEnd||0)-t>0;t===0&&!o&&this._tokenizer._focusLastToken()}_tokenizerFocusOut(e){this._tokenizerFocused=!1;const t=this._tokenizer.tokens.length,o=this._selectedTokensCount,r=t-1===0&&this._deleting,n=o===t&&this._deleting,s=e.relatedTarget,l=this.staticAreaItem===s,I=this._inputDom===s,y=e.relatedTarget===this._tokenizer.staticAreaItem;!(s!=null&&s.hasAttribute("ui5-token"))&&!l&&!I&&!y&&(this._tokenizer.tokens.forEach(C=>{C.selected=!1}),this._tokenizer.expanded=this._preventTokenizerToggle?this._tokenizer.expanded:!1),(n||r)&&setTimeout(()=>{ue()||this._inputDom.focus(),this._deleting=!1},0)}_tokenizerFocusIn(){this._tokenizerFocused=!0,this.focused=!1}_onkeydown(e){var r;const t=Vn(e),o=e.metaKey||e.ctrlKey;if(zn(e)&&!this.disabled){this._handleShow(e);return}if(Sr(e)||ln(e)){e.preventDefault();return}if(Xe(e)||qe(e)||Fn(e)||t){this._handleArrowNavigation(e,t);return}if(t&&!((r=this.allItemsPopover)!=null&&r.opened)&&setTimeout(()=>this._inputDom.setSelectionRange(0,this._inputDom.value.length),0),Cl(e)||Os(e)){this._handleArrowCtrl(e);return}if(M2(e)){this._handleInsertPaste();return}o&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover()),Oa(e)&&e.preventDefault(),(e.key==="ArrowLeft"||e.key==="Show"||e.key==="PageUp"||e.key==="PageDown"||e.key==="Backspace"||e.key==="Escape"||e.key==="Home"||e.key==="End"||e.key==="Tab"||e.key==="ArrowDown"||e.key==="Enter")&&this[`_handle${e.key}`](e),this._shouldAutocomplete=!this.noTypeahead&&!(Hu(e)||$l(e)||Ni(e)||Ie(e))}_handlePaste(e){if(e.preventDefault(),this.readonly||!e.clipboardData)return;const t=e.clipboardData.getData("text/plain");t&&this._createTokenFromText(t)}async _handleInsertPaste(){if(this.readonly||my())return;const e=await navigator.clipboard.readText();e&&this._createTokenFromText(e)}_createTokenFromText(e){const t=e.split(/\r\n|\r|\n|\t/g).filter(r=>!!r),o=this.items.filter(r=>t.indexOf(r.text)>-1&&!r.selected);t.length>1?(this._previouslySelectedItems=this._getSelectedItems(),o.forEach(r=>{r.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection()})):(this.value=e,this.fireEvent("input"))}_handleShow(e){const t=this.items,o=this._getSelectedItems()[0],r=this._tokenizer.tokens.find(l=>l.focused),n=this.value,s=this.items.find(l=>l.text.localeCompare(n,void 0,{sensitivity:"base"})===0);if(e.preventDefault(),!this.readonly){if(this._isOpenedByKeyboard=!0,this._shouldFilterItems=!1,this._filteredItems=this.items,this.togglePopover(),!r&&s){this._itemToFocus=s;return}o&&!r?this._itemToFocus=o:r&&e.target===r?this._itemToFocus=t.find(l=>l.text===r.text):this._itemToFocus=t[0]}}_handlePageUp(e){e.preventDefault()}_handlePageDown(e){e.preventDefault()}_handleBackspace(e){e.target.value===""&&(e.preventDefault(),this._tokenizer._focusLastToken())}_handleEscape(){const e=this._innerInput;(e.selectionEnd||0)-(e.selectionStart||0)>0&&(this.value=this.valueBeforeAutoComplete),(!this.allowCustomValues||!this.open&&this.allowCustomValues)&&(this.value=this._lastValue)}_handleHome(e){this._isFocusInside&&e.target.selectionStart===0&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this._tokenizer.tokens[0].focus())}_handleEnd(e){const t=this._tokenizer.tokens,o=t.length-1;e.target===t[o]&&t[o]===this.shadowRoot.activeElement&&(e.preventDefault(),this._inputDom.focus())}_handleTab(){var e;(e=this.allItemsPopover)==null||e.close()}_handleSelectAll(){const e=this._filteredItems,t=e.every(r=>r.selected);this._previouslySelectedItems=e.filter(r=>r.selected).map(r=>r),e.forEach(r=>{r.selected=!t}),this.fireSelectionChange()&&this._revertSelection()}async _onListHeaderKeydown(e){var n;const t=qe(e),o=Xe(e),r=e.target.classList.contains("ui5-mcb-select-all-checkbox");if(Pt(e)||Mi(e)){this._onItemTab();return}if(e.preventDefault(),t||Vn(e)){if(this.showSelectAll&&!r)return(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();this._handleArrowDown()}if(o||Fn(e)){if(e.target===this.valueStateHeader||!this.valueStateHeader)return this._shouldAutocomplete=!0,this._inputDom.focus();this.showSelectAll&&r&&((n=this.valueStateHeader)==null||n.focus())}}_handleSelectAllCheckboxClick(e){var t;this.filterSelected?(this._previouslySelectedItems=this._getSelectedItems(),(t=this.selectedItems)==null||t.forEach(r=>{r.selected=e.target.checked}),e.target.checked||(this.filterSelected=!1),this.fireSelectionChange()&&this._revertSelection()):(this._handleSelectAll(),this.filterSelected=!1)}async _onItemKeydown(e){var r,n,s,l,I,y,C,b,v,g,p,d,c;const t=((r=this.list)==null?void 0:r.items[0])===e.target,o=Xe(e)||Fn(e);if(this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),Pt(e)||Mi(e)){this._onItemTab();return}if(tc(e)&&((n=this.list)==null||n._itemNavigation._handleHome(),(l=this.list)==null||l.items[(s=this.list)==null?void 0:s._itemNavigation._currentIndex].focus()),Ns(e)&&((I=this.list)==null||I._itemNavigation._handleEnd(),(C=this.list)==null||C.items[(y=this.list)==null?void 0:y._itemNavigation._currentIndex].focus()),e.preventDefault(),Sr(e)||ln(e)){this._handleItemRangeSelection(e);return}if(Fn(e)&&!t&&((b=this.list)==null||b._itemNavigation._handleUp(),(g=this.list)==null||g.items[(v=this.list)==null?void 0:v._itemNavigation._currentIndex].focus()),Vn(e)&&((p=this.list)==null||p._itemNavigation._handleDown(),(c=this.list)==null||c.items[(d=this.list)==null?void 0:d._itemNavigation._currentIndex].focus()),zn(e)&&this.togglePopover(),Wy(e)){this._handleSelectAll();return}t&&o&&(this.showSelectAll?(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus():this.valueStateHeader?this.valueStateHeader.focus():(this._inputDom.focus(),this._shouldAutocomplete=!0))}_handleArrowCtrl(e){const t=this._inputDom,o=Cl(e);o&&t.selectionStart===0&&t.selectionEnd===0&&e.preventDefault(),o&&(t.selectionEnd||0)-(t.selectionStart||0)>0&&t.setSelectionRange(0,0)}_onItemTab(){var e;this._inputDom.focus(),(e=this.allItemsPopover)==null||e.close()}async _handleArrowNavigation(e,t){var s;const o=t||qe(e),r=this.items.length,n=(s=this.allItemsPopover)==null?void 0:s.opened;if(e.preventDefault(),this.hasValueStateMessage&&!this.valueStateHeader&&await this._setValueStateHeader(),o&&n){if(this.valueStateHeader){this.value=this.valueBeforeAutoComplete||this.value,this.valueStateHeader.focus();return}if(this.showSelectAll){(await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus();return}}o&&r&&this._handleArrowDown(),!o&&!n&&!this.readonly&&this._navigateToPrevItem()}async _handleArrowDown(){var o,r,n;const e=(o=this.allItemsPopover)==null?void 0:o.opened,t=(r=this.list)==null?void 0:r.items[0];e?(t&&((n=this.list)==null||n._itemNavigation.setCurrentItem(t)),this.value=this.valueBeforeAutoComplete||this.value,await Mt(),t==null||t.focus()):this.readonly||this._navigateToNextItem()}_handleItemRangeSelection(e){var I;const t=this.items,o=(I=this.list)==null?void 0:I.items,r=Number(o==null?void 0:o.indexOf(e.target)),n=r+1,s=r-1;this._previouslySelectedItems=this._getSelectedItems(),Sr(e)&&t[n]&&(t[n].selected=t[r].selected,t[n].focus()),ln(e)&&t[s]&&(t[s].selected=t[r].selected,t[s].focus()),this.fireSelectionChange()&&this._revertSelection()}_navigateToNextItem(){const e=this.items,t=e.length,o=this.currentItemIdx;if(o>-1&&e[o].text!==this.value&&(this.currentItemIdx=-1),o>=t-1)return;let r=this.items[++this.currentItemIdx];for(;this.currentItemIdx0&&(o.selected||o.isGroupItem);)o=this.items[--this.currentItemIdx];if(o){if(o.selected||o.isGroupItem){this.currentItemIdx=t;return}this.value=o.text,this._innerInput.value=o.text,this._innerInput.setSelectionRange(0,o.text.length)}}_handleEnter(){var n;const e=this.value.toLowerCase(),t=this.items.find(s=>s.text.toLowerCase()===e&&!s.isGroupItem),o=this.valueState,r=this._innerInput;if(this.FormSupport&&this.FormSupport.triggerFormSubmit(this),t){if(t.selected){if(this._validationTimeout)return;this.valueState=W.Error,this._performingSelectionTwice=!0,this._resetValueState(o,()=>{this._performingSelectionTwice=!1})}else this._previouslySelectedItems=this._getSelectedItems(),t.selected=!0,this.value="",this.fireSelectionChange()&&this._revertSelection();r.setSelectionRange(t.text.length,t.text.length),(n=this.allItemsPopover)==null||n.close()}}_resetValueState(e,t){this._validationTimeout=setTimeout(()=>{this._effectiveValueState=this.valueState,this.valueState=e,this._validationTimeout=null,t&&t()},2e3)}_onTokenizerKeydown(e){const t=!!(e.metaKey||e.ctrlKey);if(_t(e)){const o=this._tokenizer.tokens.length-this._tokenizer.overflownTokens.length-1;e.target===this._tokenizer.tokens[o]&&setTimeout(()=>{this._inputDom.focus()},0)}if(t&&["c","x"].includes(e.key.toLowerCase())||N2(e)||N9(e)){e.preventDefault();const o=e.key.toLowerCase()==="x"||N2(e),r=this._tokenizer.tokens.filter(n=>n.selected);if(o){const n=this._tokenizer._fillClipboard(Ml.cut,r);return r.forEach(s=>{this._tokenizer.deleteToken(s)}),this.focus(),n}return this._tokenizer._fillClipboard(Ml.copy,r)}M2(e)&&this._handleInsertPaste(),Wt(e)&&this._handleHome(e),ki(e)&&this._handleEnd(e),zn(e)&&!this.readonly&&!this.disabled&&(this._preventTokenizerToggle=!0,this._handleShow(e)),t&&e.key.toLowerCase()==="i"&&this._tokenizer.tokens.length>0&&(e.preventDefault(),this.togglePopover())}_filterItems(e){const t=this.items.filter(r=>!r.isGroupItem),o=(KT[this.filter]||xv)(e,t,"text");return this.items.filter((r,n,s)=>At._groupItemFilter(r,++n,s,o)||o.indexOf(r)!==-1)}static _groupItemFilter(e,t,o,r){if(e.isGroupItem){let n;for(;o[t]&&!o[t].isGroupItem&&!n;)n=r.indexOf(o[t])!==-1,t++;return n}}_afterOpenPicker(){var e,t;this._toggle(),!ue()&&!this._isOpenedByKeyboard?this._innerInput.focus():this._isOpenedByKeyboard?(e=this._itemToFocus)==null||e.focus():(t=this.allItemsPopover)==null||t.focus(),this._previouslySelectedItems=this._getSelectedItems(),this._isOpenedByKeyboard=!1}_toggle(){this._open=!this._open,this.fireEvent("open-change")}_getSelectedItems(){return this.selectedValues=this.items.filter(e=>e.selected),this.selectedValues}_listSelectionChange(e){var r;let t;ue()||(this._previouslySelectedItems=this._getSelectedItems()),this.syncItems(e.target.items),ue()||(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection()));const o={key:e.detail.key};!e.detail.selectedItems.length&&this.filterSelected&&(this.filterSelected=!1),!e.detail.selectionComponentPressed&&!le(o)&&!Gf(o)&&((r=this.allItemsPopover)==null||r.close(),this.value="",ue()&&(t=this.fireSelectionChange(),t&&(e.preventDefault(),this._revertSelection())),this.fireEvent("input")),this.value=this.valueBeforeAutoComplete||""}syncItems(e){e.forEach(t=>{this.items.forEach(o=>{o._id===t.getAttribute("data-ui5-token-id")&&(o.selected=t.selected)})})}fireSelectionChange(){const e=!this.fireEvent("selection-change",{items:this._getSelectedItems()},!0);return this.fireEvent("value-changed"),e}async _getRespPopover(){const e=await this.getStaticAreaItemDomRef();this.allItemsPopover=e.querySelector(".ui5-multi-combobox-all-items-responsive-popover")}async _getList(){const e=await this.getStaticAreaItemDomRef();return this.list=e.querySelector(".ui5-multi-combobox-all-items-list"),this.list}_click(){var e;ue()&&!this.readonly&&!this._showMorePressed&&!this._deleting&&((e=this.allItemsPopover)==null||e.showAt(this)),this._showMorePressed=!1}async handleBeforeTokenizerPopoverOpen(){const e=this._tokenizer.tokens,t=e.length===1&&e[0].isTruncatable,o=await this._getResponsivePopover();t&&(o==null||o.close(!1,!1,!0))}_afterClosePicker(){ue()&&(this._dialogInputValueState=this.valueState,this.blur()),this._toggle(),this._iconPressed=!1,this._preventTokenizerToggle=!1,this.filterSelected=!1}_beforeOpen(){if(this._itemsBeforeOpen=this.items.map(e=>({ref:e,selected:e.selected})),this._valueBeforeOpen=this.value,this._dialogInputValueState=this.valueState,this._innerInput.value=this.value,this.filterSelected){const e=this._filteredItems.filter(t=>t.selected);this.selectedItems=this.items.filter((t,o,r)=>At._groupItemFilter(t,++o,r,e)||e.indexOf(t)!==-1)}}_handleTypeAhead(e,t){if(!e)return;const o=e.text,r=this._innerInput;t=t||"",this.value=o,r.value=o,r.setSelectionRange(t.length,o.length),this._shouldAutocomplete=!1}_getFirstMatchingItem(e){if(!this.items.length)return;const t=this._startsWithMatchingItems(e).filter(o=>!o.isGroupItem&&!o.selected);if(t.length)return t[0]}_startsWithMatchingItems(e){return Z_(e,this.items,"text")}_revertSelection(){this._filteredItems.forEach(e=>{e.selected=this._previouslySelectedItems.includes(e)})}onBeforeRendering(){const e=this._innerInput,t=e&&(e.selectionEnd||0)-(e.selectionStart||0),o=e&&e.value;if(this.open&&this._getList().then(r=>{var l,I;const n=(l=r==null?void 0:r.querySelectorAll("[ui5-li][selected]"))==null?void 0:l.length,s=(I=r==null?void 0:r.querySelectorAll("[ui5-li]"))==null?void 0:I.length;this._allSelected=n===s}),this._effectiveShowClearIcon=this.showClearIcon&&!!this.value&&!this.readonly&&!this.disabled,this.FormSupport=ze("FormSupport"),this._inputLastValue=o,e&&!e.value&&(this.valueBeforeAutoComplete="",this._filteredItems=this.items),this.items.forEach(r=>{r._getRealDomRef=()=>this.allItemsPopover.querySelector(`*[data-ui5-stable=${r.stableDomRef}]`)}),this.tokenizerAvailable=this._getSelectedItems().length>0,this.style.setProperty(Po("--_ui5-input-icons-count"),`${this.iconsCount}`),!(!e||!o)){if(this._shouldAutocomplete&&!Lf()&&!t){const r=this._getFirstMatchingItem(o);this.valueBeforeAutoComplete=o,r&&this._handleTypeAhead(r,o)}this._shouldFilterItems?this._filteredItems=this._filterItems(this._shouldAutocomplete||t?this.valueBeforeAutoComplete:o):this._filteredItems=this.items}}async onAfterRendering(){await this._getRespPopover(),await this._getList(),this.toggle(this.shouldDisplayOnlyValueStateMessage),this.storeResponsivePopoverWidth(),this._deleting=!1,this._tokenizer._handleResize()}get _isPhone(){return ue()}_onIconMousedown(){this._iconPressed=!0}_clear(){this.value="",this._inputDom.value="",this.fireEvent("input"),this._isPhone||this.focus()}_iconMouseDown(){this._clearingValue=!0}storeResponsivePopoverWidth(){this.open&&!this._listWidth&&(this._listWidth=this.list.offsetWidth)}toggle(e){e&&!this.open?this.openPopover():this.closePopover()}handleCancel(){this._itemsBeforeOpen.forEach(e=>{e.ref instanceof V6&&(e.ref.selected=e.selected)}),this.togglePopover(),this.value=this._valueBeforeOpen}handleOK(){ue()&&this.fireSelectionChange()&&this._revertSelection(),this.allowCustomValues||(this.value=""),this.togglePopover()}async openPopover(){var e;(e=await this._getPopover())==null||e.showAt(this)}_forwardFocusToInner(){this._innerInput.focus()}get morePopoverOpener(){var t;const e=(t=this._tokenizer)==null?void 0:t.tokens;return(e==null?void 0:e.length)===1&&e[0].isTruncatable?e[0]:this}async closePopover(){var e;(e=await this._getPopover())==null||e.close()}async _getPopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]")}async _getResponsivePopover(){return(await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]")}async _setValueStateHeader(){const e=await this._getResponsivePopover();this.valueStateHeader=e.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root")}get _tokenizer(){return this.shadowRoot.querySelector("[ui5-tokenizer]")}inputFocusIn(e){var t;!ue()||this.readonly?(this.focused=!0,this._tokenizer.expanded=!0):this._innerInput.blur(),this._clearingValue=!1,!ue()&&(((t=e.relatedTarget)==null?void 0:t.tagName)!=="UI5-STATIC-AREA-ITEM"||!e.relatedTarget)&&this._innerInput.setSelectionRange(0,this.value.length),this._tokenizer.tokens.forEach(o=>{o.selected=!1}),this.valueBeforeAutoComplete=""}inputFocusOut(e){!this.shadowRoot.contains(e.relatedTarget)&&!this._deleting&&!this._clearingValue&&(this.focused=!1,this._lastValue!==this.value&&this._inputChange(),this._tokenizer.expanded=this.open,!ue()&&!this.allowCustomValues&&this.staticAreaItem!==e.relatedTarget&&(this.value=""))}get editable(){return!this.readonly}get _isFocusInside(){return!ue()&&(this.focused||this._tokenizerFocused)}get selectedItemsListMode(){return this.readonly?"None":"MultiSelect"}get _listItemsType(){return this.readonly?"Inactive":"Active"}get hasValueState(){return this.valueState!==W.None||this._dialogInputValueState!==W.None}get hasValueStateMessage(){const e=ue()?this._dialogInputValueState:this.valueState;return this.hasValueState&&e!==W.Success}get ariaValueStateHiddenText(){if(!this.hasValueState)return;let e="";return this.valueState!==W.None&&(e=this.valueStateTypeMappings[this.valueState]),this.shouldDisplayDefaultValueStateMessage?`${e} ${this.valueStateDefaultText||""}`:`${e}`.concat(" ",this.valueStateMessageText.map(t=>t.textContent).join(" "))}get valueStateDefaultText(){const e=ue()?this._dialogInputValueState:this.valueState;return e===W.None?"":this._performingSelectionTwice?At.i18nBundle.getText(f4):this.valueStateTextMappings[e]}get valueStateTextId(){return this.hasValueState?"ui5-multi-combobox-valueStateDesc":void 0}get valueStateMessageText(){return this.getSlottedNodes("valueStateMessage").map(e=>e.cloneNode(!0))}get ariaLabelText(){return Kt(this)}get _valueStateMessageIcon(){const e=ue()&&this.open?this._dialogInputValueState:this.valueState;return e===W.None?"":{[W.Error]:"error",[W.Warning]:"alert",[W.Success]:"sys-enter-2",[W.Information]:"information"}[e]}get _tokensCountText(){if(this._tokenizer)return this._tokenizer._tokensCountText()}get _tokensCountTextId(){return"ui5-multi-combobox-hiddenText-nMore"}get _selectedTokensCount(){return this._tokenizer.tokens.filter(e=>e.selected).length}get ariaDescribedByText(){return this.valueStateTextId?`${this._tokensCountTextId} ${this.valueStateTextId}`:`${this._tokensCountTextId}`}get shouldDisplayDefaultValueStateMessage(){return!this.valueStateMessage.length&&this.hasValueStateMessage}get shouldDisplayOnlyValueStateMessage(){return this.focused&&!this.readonly&&this.hasValueStateMessage&&!this._iconPressed}get valueStateTypeMappings(){return{[W.Success]:At.i18nBundle.getText(ac),[W.Information]:At.i18nBundle.getText(sc),[W.Error]:At.i18nBundle.getText(rc),[W.Warning]:At.i18nBundle.getText(nc)}}get valueStateTextMappings(){return{[W.Success]:At.i18nBundle.getText(In),[W.Error]:At.i18nBundle.getText(Tn),[W.Warning]:At.i18nBundle.getText(Cn),[W.Information]:At.i18nBundle.getText(Jn)}}get _innerInput(){var e;return ue()&&(e=this.allItemsPopover)!=null&&e.opened?this.allItemsPopover.querySelector("ui5-input").shadowRoot.querySelector("input"):this._inputDom}get _headerTitleText(){return At.i18nBundle.getText(oc)}get _iconAccessibleNameText(){return At.i18nBundle.getText(dv)}get _showSelectedButtonAccessibleNameText(){return At.i18nBundle.getText(Y3)}get _dialogOkButton(){return At.i18nBundle.getText(h4)}get _tokenizerExpanded(){var o;if(ue()||this.readonly)return!1;if(this._preventTokenizerToggle)return this._tokenizer.expanded;const e=(o=this._tokenizer)==null?void 0:o.expanded;return this.focused||this.open||e}get _valueStatePopoverHorizontalAlign(){return this.effectiveDir!=="rtl"?"Left":"Right"}get iconsCount(){var r;const e=((r=this.icon)==null?void 0:r.length)||0,t=Number(this._effectiveShowClearIcon)??0,o=this.readonly?0:1;return e+t+o}get clearIconAccessibleName(){return At.i18nBundle.getText(F_)}get selectAllCheckboxLabel(){const e=this.items.filter(o=>!o.isGroupItem),t=e.filter(o=>o.selected);return At.i18nBundle.getText(K3,t.length,e.length)}get classes(){return{popover:{"ui5-multi-combobox-all-items-responsive-popover":!0,"ui5-suggestions-popover":!0,"ui5-popover-with-value-state-header-phone":this._isPhone&&this.hasValueStateMessage,"ui5-popover-with-value-state-header":!this._isPhone&&this.hasValueStateMessage},popoverValueState:{"ui5-valuestatemessage-root":!0,"ui5-valuestatemessage-header":!0,"ui5-valuestatemessage--success":this.valueState===W.Success||this._dialogInputValueState===W.Success,"ui5-valuestatemessage--error":this.valueState===W.Error||this._dialogInputValueState===W.Error,"ui5-valuestatemessage--warning":this.valueState===W.Warning||this._dialogInputValueState===W.Warning,"ui5-valuestatemessage--information":this.valueState===W.Information||this._dialogInputValueState===W.Information}}}get styles(){const e=parseInt(getComputedStyle(document.documentElement).fontSize);return{popoverValueStateMessage:{width:`${this._listWidth||0}px`,display:this._listWidth===0?"none":"inline-block"},popoverHeader:{"max-width":ue()?"100%":`${this._inputWidth}px`},suggestionsPopover:{"min-width":`${this._inputWidth}px`,"max-width":this._inputWidth/e>40?`${this._inputWidth}px`:"40rem"}}}static async onDefine(){At.i18nBundle=await fe("@ui5/webcomponents")}};He([A()],Me.prototype,"value",void 0);He([A({type:Boolean})],Me.prototype,"noTypeahead",void 0);He([A()],Me.prototype,"placeholder",void 0);He([A({type:Boolean})],Me.prototype,"allowCustomValues",void 0);He([A({type:Boolean})],Me.prototype,"disabled",void 0);He([A({type:W,defaultValue:W.None})],Me.prototype,"valueState",void 0);He([A({type:Boolean})],Me.prototype,"readonly",void 0);He([A({type:Boolean})],Me.prototype,"required",void 0);He([A({type:m_,defaultValue:m_.StartsWithPerTerm})],Me.prototype,"filter",void 0);He([A({type:Boolean})],Me.prototype,"showClearIcon",void 0);He([A()],Me.prototype,"accessibleName",void 0);He([A()],Me.prototype,"accessibleNameRef",void 0);He([A({type:Boolean})],Me.prototype,"showSelectAll",void 0);He([A({type:W,defaultValue:W.None})],Me.prototype,"_effectiveValueState",void 0);He([A({type:Boolean})],Me.prototype,"_open",void 0);He([A()],Me.prototype,"_valueBeforeOpen",void 0);He([A({type:Object,noAttribute:!0,multiple:!0})],Me.prototype,"_filteredItems",void 0);He([A({type:Object,noAttribute:!0,multiple:!0})],Me.prototype,"_previouslySelectedItems",void 0);He([A({type:Boolean})],Me.prototype,"filterSelected",void 0);He([A({type:Boolean})],Me.prototype,"focused",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_tokenizerFocused",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_iconPressed",void 0);He([A({validator:ae,noAttribute:!0})],Me.prototype,"_inputWidth",void 0);He([A({validator:ae,noAttribute:!0,defaultValue:0})],Me.prototype,"_listWidth",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_performingSelectionTwice",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_allSelected",void 0);He([A({type:Boolean,noAttribute:!0})],Me.prototype,"_effectiveShowClearIcon",void 0);He([A({type:W,defaultValue:W.None})],Me.prototype,"_dialogInputValueState",void 0);He([A({type:Boolean})],Me.prototype,"tokenizerAvailable",void 0);He([Z({type:HTMLElement,default:!0,invalidateOnChildChange:!0})],Me.prototype,"items",void 0);He([Z()],Me.prototype,"icon",void 0);He([Z()],Me.prototype,"valueStateMessage",void 0);Me=At=He([K({tag:"ui5-multi-combobox",languageAware:!0,renderer:de,template:qz,staticAreaTemplate:jz,styles:iH,staticAreaStyles:[Vr,Za,Q_,oH],dependencies:[V6,Uz,C6,T6,Be,fo,Vi,vo,ta,id,od,Ne,Zu]}),q("change"),q("input"),q("open-change"),q("selection-change",{detail:{items:{type:Array}}})],Me);Me.define();function rH(i,e,t){return w`
    ${this.showValueInRemainingBar?void 0:nH.call(this,i,e,t)}
    ${this.showValueInRemainingBar?uH.call(this,i,e,t):void 0}
    `}function nH(i,e,t){return w`${this.showIcon?aH.call(this,i,e,t):void 0}${this.hideValue?void 0:sH.call(this,i,e,t)}`}function aH(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:w``}function sH(i,e,t){return w`${this.displayValue?lH.call(this,i,e,t):cH.call(this,i,e,t)}`}function lH(i,e,t){return w`${a(this.displayValue)}`}function cH(i,e,t){return w`${a(this.validatedValue)}% `}function uH(i,e,t){return w`${this.showIcon?dH.call(this,i,e,t):void 0}${this.hideValue?void 0:_H.call(this,i,e,t)}`}function dH(i,e,t){return t?w`<${D("ui5-icon",e,t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">`:w``}function _H(i,e,t){return w`${this.displayValue?hH.call(this,i,e,t):pH.call(this,i,e,t)}`}function hH(i,e,t){return w`${a(this.displayValue)}`}function pH(i,e,t){return w`${a(this.validatedValue)}% `}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const fH={packageName:"@ui5/webcomponents",fileName:"themes/ProgressIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;min-height:var(_ui5_progress_indicator_host_min_height);min-width:4rem;width:100%;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_height);overflow:hidden;box-sizing:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_box_sizing);padding:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding_end)}.ui5-progress-indicator-root{display:flex;align-items:center;background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_none);border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_border_radius);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_overflow);min-height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_min_height);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_height);width:100%;font-size:var(--sapProgress_FontSize);font-family:"72override",var(--sapFontFamily);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_position);box-sizing:border-box}.ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none);justify-content:flex-end;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_height);display:flex;align-items:center;flex-direction:row;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_color);transition-property:width;transition-timing-function:linear;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_max);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_progress_indicator_border);border-radius:.5rem}.ui5-progress-indicator-remaining-bar{justify-content:flex-start;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_width);height:100%;display:flex;align-items:center;flex-direction:row;flex-grow:1;flex-basis:0;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_border);border-inline-start:none;border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius);box-sizing:border-box;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_color);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_overflow);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_position)}.ui5-progress-indicator-value{margin:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_margin);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;position:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_position);top:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_top_position);inset-inline-start:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_left_position)}.ui5-progress-indicator-icon{margin-inline-start:.375rem;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);display:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_visibility);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_position);inset-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_right_position)}:host([value-state="Error"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_icon_color)}:host([value-state="Warning"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_icon_color)}:host([value-state="Success"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_icon_color)}:host([value-state="Information"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_icon_color)}:host([value-state="Error"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_border_color)}:host([value-state="Warning"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_border_color)}:host([value-state="Success"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_border_color)}:host([value-state="Information"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_border_color)}:host([value-state="Error"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_error)}:host([value-state="Warning"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_warning)}:host([value-state="Success"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_success)}:host([value-state="Information"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_information)}:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_error)}:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_warning)}:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_success)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_information)}:host([disabled]) .ui5-progress-indicator-root{opacity:.4}.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-v1-22-1-rc-0_progress_indicator_side_points_visibility);background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none)}.ui5-progress-indicator-remaining-bar:before{left:.0625rem}.ui5-progress-indicator-remaining-bar:after{right:.0625rem}: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)}: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)}: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)}: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)} -`};var il=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Ts;let hn=Ts=class extends ie{constructor(){super(),this._previousValue=0,this._transitionDuration=0}onBeforeRendering(){this._transitionDuration=Math.abs(this._previousValue-this.validatedValue)*20,this._previousValue=this.validatedValue}valueStateTextMappings(){return{Error:Ts.i18nBundle.getText(Tn),Warning:Ts.i18nBundle.getText(Cn),Success:Ts.i18nBundle.getText(In),Information:Ts.i18nBundle.getText(Jn)}}valueStateIconMappings(){return{Error:"status-negative",Warning:"status-critical",Success:"status-positive",Information:"information"}}get styles(){return{bar:{width:`${this.validatedValue}%`,"transition-duration":this.shouldAnimate?`${this._transitionDuration}ms`:"none"}}}get classes(){return{root:{"ui5-progress-indicator-max-value":this.validatedValue===100,"ui5-progress-indicator-min-value":this.validatedValue===0}}}get validatedValue(){return this.value<0?0:this.value>100?100:this.value}get showValueInRemainingBar(){return this.value<=50}get shouldAnimate(){return Ra()!==Un.None}get valueStateText(){const e=`${this.validatedValue}%`,t=this.valueStateTextMappings()[this.valueState];return t?`${e} ${t}`:e}get showIcon(){return this.valueState!==W.None}get valueStateIcon(){return this.valueStateIconMappings()[this.valueState]}get _ariaDisabled(){return this.disabled||void 0}static async onDefine(){Ts.i18nBundle=await fe("@ui5/webcomponents")}};il([A()],hn.prototype,"accessibleName",void 0);il([A({type:Boolean})],hn.prototype,"disabled",void 0);il([A({type:Boolean})],hn.prototype,"hideValue",void 0);il([A({validator:ae,defaultValue:0})],hn.prototype,"value",void 0);il([A({defaultValue:null})],hn.prototype,"displayValue",void 0);il([A({type:W,defaultValue:W.None})],hn.prototype,"valueState",void 0);hn=Ts=il([K({tag:"ui5-progress-indicator",renderer:de,styles:fH,template:rH,dependencies:[Be]})],hn);hn.define();const vH=hn;function mH(i,e,t){return w`
    `}function gH(i,e,t,o,r){return w`${o.selected?bH.call(this,i,e,t,o,r):yH.call(this,i,e,t,o,r)}`}function bH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:w`
  • `}function yH(i,e,t,o,r){return w`${o.halfStar?wH.call(this,i,e,t,o,r):TH.call(this,i,e,t,o,r)}`}function wH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
    <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite" class="ui5-rating-indicator-half-icon">
  • `:w`
  • `}function TH(i,e,t,o,r){return w`${this.readonly?CH.call(this,i,e,t,o,r):IH.call(this,i,e,t,o,r)}`}function CH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:w`
  • `}function IH(i,e,t,o,r){return w`${this.disabled?SH.call(this,i,e,t,o,r):kH.call(this,i,e,t,o,r)}`}function SH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="favorite">
  • `:w`
  • `}function kH(i,e,t,o,r){return t?w`
  • <${D("ui5-icon",e,t)} data-ui5-value="${a(o.index)}" name="unfavorite">
  • `:w`
  • `}const EH="favorite",H6="M378.36 297.834q-5.996 3.998-2.998 8.995l71.96 193.892q1.999 4.997-2.499 8.995t-9.494.999l-174.903-123.93q-4.997-3-8.995 0L76.53 510.714q-4.997 2.998-9.495-1t-2.499-8.994l71.96-193.892q2-5.997-2.998-8.995L3.569 205.885q-4.997-2.998-2.998-8.495t6.996-5.497h165.908q4.997 0 7.995-4.997L248.433 4.997Q250.432 0 255.929 0t7.495 4.997l66.963 181.899q1.999 4.997 7.996 4.997H503.29q5.996 0 7.995 5.497t-2.998 8.495z",$H=!1,AH="SAP-icons-v4",xH="@ui5/webcomponents-icons";ee(EH,{pathData:H6,ltr:$H,collection:AH,packageName:xH});const DH="favorite",U6="M0 198q0-9 6.5-16t15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 16q0 11-7 18L399 328l26 154q1 2 1 5 0 10-7.5 17.5T400 512q-6 0-12-3l-132-74-132 74q-4 3-12 3-11 0-18.5-7.5T86 487q0-2 .5-2.5t.5-2.5l26-154L7 216q-7-7-7-18z",PH=!1,OH="SAP-icons-v5",BH="@ui5/webcomponents-icons";ee(DH,{pathData:U6,ltr:PH,collection:OH,packageName:BH});Se();const RH="unfavorite",q6="M8.569 191.946h164.954q5.998 0 7.998-4.998l66.981-181.95Q250.502 0 256.5 0q4.998 0 6.998 4.999l66.981 181.949q2 4.998 7.998 4.998h165.954q4.998 0 6.998 5.499t-3 8.498l-129.963 91.974q-4 2.999-3 8.997l71.98 193.946q2 4.999-1 7.998t-6.997 3q-3 0-4-1L260.5 386.891q-1-1-4-1-3.998 0-4.998 1L76.551 510.857q-1 1-4 1-3.999 0-6.998-2.999t-1-7.998l71.98-193.946q2-5.998-2.999-8.997L3.57 205.943q-4.998-3-2.999-8.498t7.998-5.499zm143.96 79.978q10.997 7.998 14.996 20.494t-1 25.493l-44.987 121.966L233.506 360.9q9.997-6.998 22.994-6.998 11.996 0 21.994 5.999l111.968 79.977-44.987-121.966q-4.999-12.996-1-25.493t14.996-20.494l68.98-47.986h-89.974q-26.992 0-37.99-25.993L256.5 76.979l-44.988 120.966q-10.997 25.993-37.989 25.993H84.548z",LH=!1,NH="SAP-icons-v4",MH="@ui5/webcomponents-icons";ee(RH,{pathData:q6,ltr:LH,collection:NH,packageName:MH});const FH="unfavorite",W6="M400 510q-7 0-12-3l-132-74-131 74q-6 3-13 3-11 0-18.5-7T86 485q0-2 .5-2.5t.5-1.5l26-155L7 214q-7-7-7-17t6.5-17 15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 17q0 11-7 17L399 326l26 155q1 1 1 4 0 11-7.5 18t-18.5 7zM256 379q7 0 13 3l97 54-20-114q0-7 1-12t6-10l81-85-112-16q-13-1-20-15l-46-99-46 99q-5 13-19 15L78 215l81 85q5 5 6 10t1 12l-20 114 98-54q5-3 12-3z",VH=!1,zH="SAP-icons-v5",HH="@ui5/webcomponents-icons";ee(FH,{pathData:W6,ltr:VH,collection:zH,packageName:HH});Se();V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const UH={packageName:"@ui5/webcomponents",fileName:"themes/RatingIndicator.css.ts",content:`:host(:not([hidden])){display:inline-block;font-size:24px;margin:var(--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:.4;cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .ui5-rating-indicator-item-unsel,:host([readonly]) .ui5-rating-indicator-item-unsel{padding-inline:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing);width:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:.9}:host([_focused]){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5-v1-22-1-rc-0_rating_indicator_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_rating_indicator_border_radius)}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.ui5-rating-indicator-root{outline:none;position:relative}.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-v1-22-1-rc-0_rating_indicator_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_item_height)}.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,.ui5-rating-indicator-item.ui5-rating-indicator-item-half{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-item [ui5-icon].ui5-rating-indicator-half-icon{position:absolute;inset-inline-start:50%;color:var(--sapContent_RatedColor)}.ui5-rating-indicator-half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden} -`};var qr=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},hl;let Lo=hl=class extends ie{static async onDefine(){hl.i18nBundle=await fe("@ui5/webcomponents")}constructor(){super()}onBeforeRendering(){this.calcState()}calcState(){this._stars=[];for(let e=1;e2&&t<8?o=!0:t<=2?r=Math.floor(this.value):t>=8&&(r=Math.ceil(this.value)),this._stars.push({selected:e<=r,index:e,halfStar:o})}}_onclick(e){const t=e.target;if(!(t instanceof HTMLElement)||this.disabled||this.readonly)return;const o=t.getAttribute("data-ui5-value");o!==null&&(this.value=parseInt(o),this.value===1&&this._liveValue===1&&(this.value=0),this._liveValue!==this.value&&(this.fireEvent("change"),this._liveValue=this.value))}_onkeydown(e){if(this.disabled||this.readonly)return;const t=qe(e)||Ct(e),o=_t(e)||Xe(e),r=le(e)||Ie(e),n=Wt(e),s=ki(e),l=e.keyCode>=48&&e.keyCode<=57||e.keyCode>=96&&e.keyCode<=105;if(t||o||r||n||s||l){if(e.preventDefault(),t&&this.value>0)this.value=Math.round(this.value-1);else if(o&&this.valuethis.max?0:I}else if(n)this.value=0;else if(s)this.value=this.max;else if(l){const I=parseInt(e.key);this.value=I>this.max?this.max:I}this.fireEvent("change")}}_onfocusin(){this.disabled||(this._focused=!0,this._liveValue=this.value)}_onfocusout(){this._focused=!1}get effectiveTabIndex(){const e=this.getAttribute("tabindex");return this.disabled?"-1":e||"0"}get ratingTooltip(){return this.tooltip||this.defaultTooltip}get defaultTooltip(){return hl.i18nBundle.getText(y4)}get _ariaRoleDescription(){return hl.i18nBundle.getText(w4)}get _ariaDisabled(){return this.disabled||void 0}get _ariaLabel(){return Kt(this)}get _ariaDescription(){return this.required?hl.i18nBundle.getText(T4):void 0}get ariaReadonly(){return this.readonly?"true":void 0}};qr([A({validator:Zt,defaultValue:0})],Lo.prototype,"value",void 0);qr([A({validator:ae,defaultValue:5})],Lo.prototype,"max",void 0);qr([A({type:Boolean})],Lo.prototype,"disabled",void 0);qr([A({type:Boolean})],Lo.prototype,"readonly",void 0);qr([A()],Lo.prototype,"accessibleName",void 0);qr([A({defaultValue:""})],Lo.prototype,"accessibleNameRef",void 0);qr([A({type:Boolean})],Lo.prototype,"required",void 0);qr([A()],Lo.prototype,"tooltip",void 0);qr([A({type:Object,multiple:!0})],Lo.prototype,"_stars",void 0);qr([A({type:Boolean})],Lo.prototype,"_focused",void 0);Lo=hl=qr([K({tag:"ui5-rating-indicator",languageAware:!0,renderer:de,styles:UH,template:mH,dependencies:[Be]}),q("change")],Lo);Lo.define();const qH="slim-arrow-up",j6="M261.5 197q-6-6-11 0l-160 160q-5 5-11.5 5t-11.5-5-5-11.5 5-11.5l166-165q9-9 22-9t23 9l165 165q5 5 5 11t-5 11q-12 12-23 0z",WH=!1,jH="SAP-icons-v4",GH="@ui5/webcomponents-icons";ee(qH,{pathData:j6,ltr:WH,collection:jH,packageName:GH});const YH="slim-arrow-up",G6="M96 326q0-10 7-17l135-141q6-8 18-8 11 0 19 8l134 141q7 7 7 17 0 11-7.5 18.5T390 352q-10 0-18-8L256 223 140 344q-8 8-18 8-11 0-18.5-7.5T96 326z",XH=!1,KH="SAP-icons-v5",ZH="@ui5/webcomponents-icons";ee(YH,{pathData:G6,ltr:XH,collection:KH,packageName:ZH});Se();var N1;(function(i){i.Top="Top",i.Bottom="Bottom"})(N1||(N1={}));const M1=N1;var F1;(function(i){i.Default="Default",i.Positive="Positive",i.Negative="Negative",i.Critical="Critical",i.Neutral="Neutral"})(F1||(F1={}));const fi=F1;var V1;(function(i){i.Solid="Solid",i.Transparent="Transparent",i.Translucent="Translucent"})(V1||(V1={}));const T_=V1;var z1;(function(i){i.Inline="Inline",i.Standard="Standard"})(z1||(z1={}));const C_=z1;var H1;(function(i){i.End="End",i.StartAndEnd="StartAndEnd"})(H1||(H1={}));const U1=H1;function QH(i,e,t){return w`
    ${this.tabsAtTheBottom?JH.call(this,i,e,t):void 0}
    ${X(this.items,(o,r)=>o._id||r,(o,r)=>oU.call(this,i,e,t,o,r))}
    ${this.tabsAtTheBottom?void 0:aU.call(this,i,e,t)}${this.hasSubTabs?lU.call(this,i,e,t):void 0}
    `}function JH(i,e,t){return w`
    ${X(this.items,(o,r)=>o._id||r,(o,r)=>eU.call(this,i,e,t,o,r))}
    `}function eU(i,e,t,o,r){return w``}function tU(i,e,t){return w``}function iU(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-start" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._startOverflowText)}`:w`${a(this._startOverflowText)}`}function oU(i,e,t,o,r){return w`${a(o.stripPresentation)}`}function rU(i,e,t){return w``}function nU(i,e,t){return t?w`<${D("ui5-button",e,t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-end" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._endOverflowText)}`:w`${a(this._endOverflowText)}`}function aU(i,e,t){return w`
    ${X(this.items,(o,r)=>o._id||r,(o,r)=>sU.call(this,i,e,t,o,r))}
    `}function sU(i,e,t,o,r){return w``}function lU(i,e,t){return w`${a(this.accInvisibleText)}`}function cU(i,e,t){return t?w`<${D("ui5-responsive-popover",e,t)} id="${a(this._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop hide-arrow _hide-header class="ui5-tab-container-responsive-popover"><${D("ui5-list",e,t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOverflowListItemClick)}">${X(this._overflowItems,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}`:w`${X(this._overflowItems,(o,r)=>o._id||r,(o,r)=>ig.call(this,i,e,t,o,r))}`}function ig(i,e,t,o,r){return w`${a(o.overflowPresentation)}`}V("@ui5/webcomponents-theming","sap_horizon",async()=>Q);V("@ui5/webcomponents","sap_horizon",async()=>oe);const uU={packageName:"@ui5/webcomponents",fileName:"themes/TabContainer.css.ts",content:`.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;width:100%;container-type:inline-size}.ui5-tc-root{display:flex;flex-direction:column;width:100%;height:100%;font-family:"72override",var(--sapFontFamily);font-size:1rem}.ui5-tc__header{position:relative;display:flex;align-items:center;background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background);height:var(--_ui5-v1-22-1-rc-0_tc_header_height);box-shadow:var(--_ui5-v1-22-1-rc-0_tc_header_box_shadow);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__header{border-top:var(--_ui5-v1-22-1-rc-0_tc_header_border_bottom)}:host([header-background-design="Transparent"]) .ui5-tc__header{background-color:transparent}:host([header-background-design="Translucent"]) .ui5-tc__header{background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background_translucent)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only)}.ui5-tc-root.ui5-tc--textOnly.ui5-tc--withAdditionalText.ui5-tc--standardTabLayout .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_with_additional_text)}.ui5-tc__tabStrip{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative;white-space:nowrap}.ui5-tc__separator:focus{outline:none}.ui5-tc__overflow{flex:0 0 0}.ui5-tc__overflow.ui5-tc__overflow--end{padding-inline-start:.188rem;margin-inline-end:1rem}.ui5-tc__overflow.ui5-tc__overflow--start{margin-inline-start:1rem}.ui5-tc__overflow[hidden]{display:none}.ui5-tc__overflow>[ui5-button]{border-radius:.75rem;height:1.5rem}.ui5-tc__overflow>[ui5-button]:not([active]){color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button]:not([active]):hover{color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button][focused]{outline-offset:.125rem;--_ui5-v1-22-1-rc-0_button_focused_border: none;outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__content{height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only))}.ui5-tc__content{position:relative;display:flex;height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height));background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background);border-bottom:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__content{border-top:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom)}:host([content-background-design="Transparent"]) .ui5-tc__content{background-color:transparent}:host([content-background-design="Translucent"]) .ui5-tc__content{background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background_translucent)}.ui5-tc__content--collapsed{display:none}.ui5-tc--transparent .ui5-tc__content{background-color:transparent}.ui5-tc__contentItem{max-height:100%;display:flex;flex-grow:1;overflow:auto}.ui5-tc__contentItem[hidden]{display:none}.ui5-tc__header{padding:0}.ui5-tc__content{padding:1rem}@container (min-width: 600px){.ui5-tc__header{padding:0 1rem}.ui5-tc__content{padding:1rem 2rem}}@container (min-width: 1440px){.ui5-tc__header{padding:0 2rem}.ui5-tc__content{padding:1rem 3rem}} -`};var Jt=globalThis&&globalThis.__decorate||function(i,e,t,o){var r=arguments.length,n=r<3?e:o===null?o=Object.getOwnPropertyDescriptor(e,t):o,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(i,e,t,o);else for(var l=i.length-1;l>=0;l--)(s=i[l])&&(n=(r<3?s(n):r>3?s(e,t,n):s(e,t))||n);return r>3&&n&&Object.defineProperty(e,t,n),n},Bn;const Y6=[],X6=[],dU=5;let kt=Bn=class extends ie{static registerTabStyles(e){Y6.push(e)}static registerStaticAreaTabStyles(e){X6.push(e)}constructor(){super(),this._handleResizeBound=this._handleResize.bind(this),this._itemNavigation=new $i(this,{getItemsCallback:()=>this._getFocusableRefs(),skipItemsSize:dU})}onBeforeRendering(){if(this._allItemsAndSubItems=this._getAllSubItems(this.items),!this._allItemsAndSubItems.length)return;const e=this._allItemsAndSubItems.filter(t=>t.selected);e.length?(this._selectedTab.forcedSelected=!1,this._selectedTab=e[0]):(this._selectedTab=this._allItemsAndSubItems[0],this._selectedTab.forcedSelected=!0),this._setItemsPrivateProperties(this.items),this._animationRunning||(this._contentCollapsed=this.collapsed),this.showOverflow&&console.warn('The "show-overflow" property is deprecated and will be removed in a future release.')}onAfterRendering(){if(this.items.length&&(this._setItemsForStrip(),!this.shadowRoot.contains(document.activeElement))){const e=this._getRootTab(this._selectedTab);this._itemNavigation.setCurrentItem(e)}}onEnterDOM(){Ce.register(this._getHeader(),this._handleResizeBound)}onExitDOM(){Ce.deregister(this._getHeader(),this._handleResizeBound)}_handleResize(){this.responsivePopover&&this.responsivePopover.opened&&this.responsivePopover.close(),this._width=this.offsetWidth}_setItemsPrivateProperties(e){e.filter(o=>(o.getElementInStrip=()=>this.getDomRef().querySelector(`[id="${o._id}"]`),!o.isSeparator)).forEach((o,r,n)=>{o.isInline=this.tabLayout===C_.Inline,o.forcedMixedMode=this.mixedMode,o.forcedPosinset=r+1,o.forcedSetsize=n.length,o.realTabReference=this._selectedTab,o.isTopLevelTab=e.some(s=>s===o),q1(e,s=>{s.realTabReference=o.realTabReference})})}_onHeaderFocusin(e){const t=Sd(e.target);t&&this._itemNavigation.setCurrentItem(t.realTabReference)}async _onTabStripClick(e){const t=Sd(e.target);if(!(!t||t.realTabReference.disabled)){if(e.stopPropagation(),e.preventDefault(),e.target.hasAttribute("ui5-button")){this._onTabExpandButtonClick(e);return}if(!t.realTabReference.hasOwnContent&&t.realTabReference.tabs.length){this._overflowItems=t.realTabReference.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t.realTabReference.getTabInStripDomRef());return}this._onHeaderItemSelect(t)}}async _onTabExpandButtonClick(e){e.stopPropagation(),e.preventDefault();let t=e.target,o=t.tab;if(o&&o.focus(),e.type==="keydown"&&!e.target.realTabReference.isSingleClickArea&&(t=e.target.querySelectorAll(".ui5-tab-expand-button")[0],o=e.target.realTabReference),!o){this._onHeaderItemSelect(t.parentElement);return}this._overflowItems=o.subTabs,this._addStyleIndent(this._overflowItems),this.responsivePopover=await this._respPopover(),this.responsivePopover.isOpen()?this.responsivePopover.close():this._setPopoverInitialFocus(),this.responsivePopover.showAt(t)}_setPopoverInitialFocus(){const t=this._getSelectedTabInOverflow()||this._getFirstFocusableItemInOverflow();this.responsivePopover.initialFocus=`${t.realTabReference._id}-li`}_getSelectedTabInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.realTabReference&&e.realTabReference.selected)}_getFirstFocusableItemInOverflow(){return this.responsivePopover.content[0].items.find(e=>e.classList.contains("ui5-tab-overflow-item"))}_onTabStripKeyDown(e){const t=Sd(e.target);!t||t.realTabReference.disabled||(Ie(e)&&(t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t)),le(e)&&e.preventDefault(),(qe(e)||Xe(e))&&(t.realTabReference.requiresExpandButton&&this._onTabExpandButtonClick(e),t.realTabReference.isSingleClickArea&&this._onTabStripClick(e)))}_onTabStripKeyUp(e){const t=Sd(e.target);!t||t.realTabReference.disabled||le(e)&&(e.preventDefault(),t.realTabReference.isSingleClickArea?this._onTabStripClick(e):this._onHeaderItemSelect(t))}_onHeaderItemSelect(e){e.hasAttribute("disabled")||this._onItemSelect(e.id)}async _onOverflowListItemClick(e){e.preventDefault(),this._onItemSelect(e.detail.item.id.slice(0,-3)),this.responsivePopover.close(),await Mt(),this._getRootTab(this._selectedTab).getTabInStripDomRef().focus()}get allItems(){return this._getAllSubItems(this.items)}_getAllSubItems(e,t=[],o=1){return e.forEach(r=>{(r.hasAttribute("ui5-tab")||r.hasAttribute("ui5-tab-separator"))&&(r.forcedLevel=o,t.push(r),r.subTabs&&this._getAllSubItems(r.subTabs,t,o+1))}),t}_onItemSelect(e){const t=this._selectedTab,o=this._allItemsAndSubItems.findIndex(s=>s.__id===e),r=this._allItemsAndSubItems[o];this.selectTab(r,o)&&(this._allItemsAndSubItems.forEach((s,l)=>{const I=o===l;s.selected=I,s.forcedSelected&&(s.forcedSelected=!1)}),!this.fixed&&(this.shouldAnimate?this.toggleAnimated(r,t):this.toggle(r,t)))}async toggleAnimated(e,t){const o=this.shadowRoot.querySelector(".ui5-tc__content");let r=null;this._animationRunning=!0,e===t?(this.collapsed=!this.collapsed,r=this.collapsed?this.slideContentUp(o):this.slideContentDown(o)):(r=this.collapsed?this.slideContentDown(o):Promise.resolve(),this.collapsed=!1),await r,this._contentCollapsed=this.collapsed,this._animationRunning=!1}toggle(e,t){e===t?this.collapsed=!this.collapsed:this.collapsed=!1}selectTab(e,t){return this.fireEvent("tab-select",{tab:e,tabIndex:t},!0)?(this._selectedTab=e,!0):!1}slideContentDown(e){return $6(e).promise()}slideContentUp(e){return A6(e).promise()}async _onOverflowClick(e){if(e.target.classList.contains("ui5-tc__overflow"))return;const o=e.currentTarget.classList.contains("ui5-tc__overflow--end"),r=o?"end-overflow":"start-overflow";this._overflowItems=this.items.filter(s=>{const l=s.getTabInStripDomRef();return l&&l.hasAttribute(r)}),this._addStyleIndent(this._overflowItems);let n;o?n=this.overflowButton[0]||this._getEndOverflowBtnDOM():n=this.startOverflowButton[0]||this._getStartOverflowBtnDOM(),this.responsivePopover=await this._respPopover(),this.responsivePopover.opened?this.responsivePopover.close():(this._setPopoverInitialFocus(),this.responsivePopover.showAt(n))}_addStyleIndent(e){const t=this._getAllSubItems(e).filter(o=>!o.isSeparator).some(o=>o.design!==fi.Default&&o.design!==fi.Neutral);q1(e,o=>{let r=o.forcedLevel-1;o.isSeparator&&(r+=1),o.forcedStyle={[Po("--_ui5-tab-indentation-level")]:r,[Po("--_ui5-tab-extra-indent")]:t?1:null}})}async _onOverflowKeyDown(e){const t=e.currentTarget,o=t.classList.contains("ui5-tc__overflow--end"),r=t.classList.contains("ui5-tc__overflow--start");(qe(e)||r&&Ct(e)||o&&_t(e))&&(e.stopPropagation(),e.preventDefault(),await this._onOverflowClick(e))}_setItemsForStrip(){const e=this._getTabStrip();let t=0;if(!this._selectedTab)return;const o=this.items.map(n=>n.getTabInStripDomRef());this._getStartOverflow().setAttribute("hidden",""),this._getEndOverflow().setAttribute("hidden","");for(let n=0;n{t+=this._getItemWidth(n)}),e.offsetWidth=0;C--)e[C].setAttribute("hidden",""),e[C].setAttribute("start-overflow","");return}this._getStartOverflow().removeAttribute("hidden"),this._getEndOverflow().removeAttribute("hidden"),t=this._getTabStrip().offsetWidth,I=this._findFirstVisibleItem(e,t,n.width,n.index-1),y=this._findLastVisibleItem(e,t,n.width,I);for(let C=I-1;C>=0;C--)e[C].setAttribute("hidden",""),e[C].setAttribute("start-overflow","");for(let C=y+1;C=0;s--)r+=this._getItemWidth(t[s]);let n=e=t.length)return!1;let r=0;for(let s=o.index;s=0;s--){const l=this._getItemWidth(e[s]);if(to.getTabInStripDomRef()).forEach(o=>{o.hasAttribute("start-overflow")&&e++,o.hasAttribute("end-overflow")&&t++}),this._startOverflowText=`+${e}`,this._endOverflowText=`+${t}`}_getFocusableRefs(){if(!this.getDomRef())return[];const e=[];return this._getStartOverflow().hasAttribute("hidden")||e.push(this.startOverflowButton[0]||this._getStartOverflowBtnDOM()),this._getTabs().forEach(t=>{const o=t.getTabInStripDomRef();o&&!o.hasAttribute("hidden")&&e.push(t)}),this._getEndOverflow().hasAttribute("hidden")||e.push(this.overflowButton[0]||this._getEndOverflowBtnDOM()),e}_getHeader(){return this.shadowRoot.querySelector(`#${this._id}-header`)}_getTabs(){return this.items.filter(e=>!e.isSeparator)}get hasSubTabs(){const e=this._getTabs();for(let t=0;t0)return!0;return!1}_getTabStrip(){return this.shadowRoot.querySelector(`#${this._id}-tabStrip`)}_getStartOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--start")}_getEndOverflow(){return this.shadowRoot.querySelector(".ui5-tc__overflow--end")}_getStartOverflowBtnDOM(){return this._getStartOverflow().querySelector("[ui5-button]")}_getEndOverflowBtnDOM(){return this._getEndOverflow().querySelector("[ui5-button]")}async _respPopover(){return(await this.getStaticAreaItemDomRef()).querySelector(`#${this._id}-overflowMenu`)}async _closeRespPopover(){this.responsivePopover=await this._respPopover(),this.responsivePopover.close()}get classes(){return{root:{"ui5-tc-root":!0,"ui5-tc--textOnly":this.textOnly,"ui5-tc--withAdditionalText":this.withAdditionalText,"ui5-tc--standardTabLayout":this.standardTabLayout},header:{"ui5-tc__header":!0},tabStrip:{"ui5-tc__tabStrip":!0},separator:{"ui5-tc__separator":!0},content:{"ui5-tc__content":!0,"ui5-tc__content--collapsed":this._contentCollapsed}}}get mixedMode(){return this.items.some(e=>e.icon)&&this.items.some(e=>e.text)}get textOnly(){return this.items.every(e=>!e.icon)}get withAdditionalText(){return this.items.some(e=>!!e.additionalText)}get standardTabLayout(){return this.tabLayout===C_.Standard}get previousIconACCName(){return Bn.i18nBundle.getText(V4)}get nextIconACCName(){return Bn.i18nBundle.getText(F4)}get overflowMenuTitle(){return Bn.i18nBundle.getText(z4)}get tabsAtTheBottom(){return this.tabsPlacement===M1.Bottom}get overflowMenuIcon(){return this.tabsAtTheBottom?"slim-arrow-up":"slim-arrow-down"}get overflowButtonText(){return Bn.i18nBundle.getText(vv)}get popoverCancelButtonText(){return Bn.i18nBundle.getText(H4)}get accInvisibleText(){return Bn.i18nBundle.getText(U4)}get tablistAriaDescribedById(){return this.hasSubTabs?`${this._id}-invisibleText`:void 0}get shouldAnimate(){return Ra()!==Un.None}static async onDefine(){Bn.i18nBundle=await fe("@ui5/webcomponents")}};Jt([A({type:Boolean})],kt.prototype,"fixed",void 0);Jt([A({type:Boolean})],kt.prototype,"collapsed",void 0);Jt([A({type:Boolean})],kt.prototype,"showOverflow",void 0);Jt([A({type:C_,defaultValue:C_.Standard})],kt.prototype,"tabLayout",void 0);Jt([A({type:U1,defaultValue:U1.End})],kt.prototype,"tabsOverflowMode",void 0);Jt([A({type:T_,defaultValue:T_.Solid})],kt.prototype,"headerBackgroundDesign",void 0);Jt([A({type:T_,defaultValue:T_.Solid})],kt.prototype,"contentBackgroundDesign",void 0);Jt([A({type:M1,defaultValue:M1.Top})],kt.prototype,"tabsPlacement",void 0);Jt([A({type:Object})],kt.prototype,"_selectedTab",void 0);Jt([A({type:Boolean,noAttribute:!0})],kt.prototype,"_animationRunning",void 0);Jt([A({type:Boolean,noAttribute:!0})],kt.prototype,"_contentCollapsed",void 0);Jt([A({noAttribute:!0,defaultValue:"0"})],kt.prototype,"_startOverflowText",void 0);Jt([A({noAttribute:!0,defaultValue:"More"})],kt.prototype,"_endOverflowText",void 0);Jt([A({type:Object,multiple:!0})],kt.prototype,"_overflowItems",void 0);Jt([A({validator:ae,noAttribute:!0})],kt.prototype,"_width",void 0);Jt([Z({default:!0,type:HTMLElement,individualSlots:!0,invalidateOnChildChange:{properties:!0,slots:!1}})],kt.prototype,"items",void 0);Jt([Z()],kt.prototype,"overflowButton",void 0);Jt([Z()],kt.prototype,"startOverflowButton",void 0);kt=Bn=Jt([K({tag:"ui5-tabcontainer",languageAware:!0,fastNavigation:!0,styles:[Y6,uU],staticAreaStyles:[Vr,X6],renderer:de,template:QH,staticAreaTemplate:cU,dependencies:[Ne,Be,vo,fo]}),q("tab-select",{detail:{tab:{type:HTMLElement},tabIndex:{type:Number}}})],kt);const _U=i=>i.localName==="div"&&i.getAttribute("role")==="tab",Sd=i=>{for(;i;){if(_U(i))return i;i=i.parentElement}return!1},q1=(i,e)=>{[...i].forEach(t=>{e(t),t.subTabs&&q1(t.subTabs,e)})};kt.define();const sh=kt;function hU(i,e,t){return w`
    ${X(this.tabs,(o,r)=>o._id||r,(o,r)=>pU.call(this,i,e,t,o,r))}
    `}function pU(i,e,t,o,r){return w``}function fU(i,e,t){return w``; -} -function dO(i, e, t) { - return y`
    `; -} -function hO(i, e, t) { - return y`
    ${a(this.titleText)}
    `; -} -function _O(i, e, t) { - return y`
    ${a(this.status)}
    `; -} -function pO(i, e, t) { - return y`
    ${a(this.subtitleText)}
    `; -} -function fO(i, e, t) { - return y`
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const vO = { packageName: "@ui5/webcomponents", fileName: "themes/CardHeader.css.ts", content: `.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-card-header{position:relative;display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_card_header_padding);outline:none}:host([subtitleText]) .ui5-card-header{align-items:flex-start}.ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-within:before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus):before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header-focusable-element{outline:none}.ui5-card-header-focusable-element{display:inherit;align-items:inherit;flex:1}.ui5-card-header.ui5-card-header--interactive:hover{cursor:pointer;background:var(--_ui5-v1-22-1-rc-0_card_header_hover_bg)}.ui5-card-header.ui5-card-header--active,.ui5-card-header.ui5-card-header--interactive:active{background:var(--_ui5-v1-22-1-rc-0_card_header_active_bg)}.ui5-card-header .ui5-card-header-text{flex:1;pointer-events:none}.ui5-card-header-first-line{display:flex;flex-flow:row;justify-content:space-between}.ui5-card-header-status{flex:none}.ui5-card-header .ui5-card-header-avatar{height:3rem;width:3rem;display:flex;align-items:center;justify-content:center;margin-inline-end:.75rem;pointer-events:none;align-self:flex-start}::slotted([ui5-icon]){width:1.5rem;height:1.5rem;color:var(--sapTile_IconColor)}::slotted(img[slot="avatar"]){width:100%;height:100%;border-radius:50%}.ui5-card-header .ui5-card-header-status{display:inline-block;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTile_TextColor);text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;margin-inline-start:1rem;margin-block-start:.125rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{font-family:var(--_ui5-v1-22-1-rc-0_card_header_title_font_family);font-size:var(--_ui5-v1-22-1-rc-0_card_header_title_font_size);font-weight:var(--_ui5-v1-22-1-rc-0_card_header_title_font_weight);color:var(--sapTile_TitleTextColor);max-height:3.5rem;align-self:flex-end}.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapTile_TextColor);margin-top:var(--_ui5-v1-22-1-rc-0_card_header_subtitle_margin_top);max-height:2.1rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title,.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{text-align:start;text-overflow:ellipsis;white-space:normal;word-wrap:break-word;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-width:100%}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{-webkit-line-clamp:3}.ui5-card-header-action{display:flex;padding-inline-start:1rem;align-self:flex-start} -` }; -var ta = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, ul; -let $r = ul = class extends te { - get classes() { - return { - root: { - "ui5-card-header": !0, - "ui5-card-header--interactive": this.interactive, - "ui5-card-header--active": this.interactive && this._headerActive, - "ui5-card-header-ff": py() - } - }; - } - get _root() { - return this.shadowRoot.querySelector(".ui5-card-header"); - } - get ariaRoleDescription() { - return this.interactive ? ul.i18nBundle.getText(Qw) : ul.i18nBundle.getText(Zw); - } - get ariaRoleFocusableElement() { - return this.interactive ? "button" : null; - } - get ariaCardAvatarLabel() { - return ul.i18nBundle.getText(lv); - } - get ariaLabelledBy() { - const e = []; - return this.titleText && e.push(`${this._id}-title`), this.subtitleText && e.push(`${this._id}-subtitle`), this.status && e.push(`${this._id}-status`), this.hasAvatar && e.push(`${this._id}-avatar`), e.length !== 0 ? e.join(" ") : void 0; - } - get hasAvatar() { - return !!this.avatar.length; - } - get hasAction() { - return !!this.action.length; - } - static async onDefine() { - ul.i18nBundle = await pe("@ui5/webcomponents"); - } - _actionsFocusin() { - this._root.classList.add("ui5-card-header-hide-focus"); - } - _actionsFocusout() { - this._root.classList.remove("ui5-card-header-hide-focus"); - } - _click(e) { - e.stopImmediatePropagation(), this.interactive && this._root.contains(e.target) && this.fireEvent("click"); - } - _keydown(e) { - if (!this.interactive || !this._root.contains(e.target)) - return; - const t = Se(e), o = se(e); - if (this._headerActive = t || o, t) { - this.fireEvent("click"); - return; - } - o && e.preventDefault(); - } - _keyup(e) { - if (!this.interactive || !this._root.contains(e.target)) - return; - const t = se(e); - this._headerActive = !1, t && this.fireEvent("click"); - } -}; -ta([ - x() -], $r.prototype, "titleText", void 0); -ta([ - x() -], $r.prototype, "subtitleText", void 0); -ta([ - x() -], $r.prototype, "status", void 0); -ta([ - x({ type: Boolean }) -], $r.prototype, "interactive", void 0); -ta([ - x({ validator: ne, defaultValue: 3 }) -], $r.prototype, "_ariaLevel", void 0); -ta([ - x({ type: Boolean, noAttribute: !0 }) -], $r.prototype, "_headerActive", void 0); -ta([ - K() -], $r.prototype, "avatar", void 0); -ta([ - K() -], $r.prototype, "action", void 0); -$r = ul = ta([ - X({ - tag: "ui5-card-header", - languageAware: !0, - renderer: ue, - template: uO, - styles: vO - }), - U("click") -], $r); -$r.define(); -const Bn = /* @__PURE__ */ new WeakMap(); -class Qc { - static get tasks() { - return Bn; - } - static enqueue(e, t) { - Bn.has(e) || Bn.set(e, []), Bn.get(e).push(t); - } - static run(e, t) { - return Bn.has(e) || Bn.set(e, []), t().then(() => { - const o = Bn.get(e); - if (o.length > 0) - return Qc.run(e, o.shift()); - Bn.delete(e); - }); - } - static push(e, t) { - Bn.get(e) ? Qc.enqueue(e, t) : Qc.run(e, t); - } -} -const kv = (i) => { - let e = null, t = !1, o, r, n; - const s = new Promise((l, T) => { - n = (w) => { - e = e || w; - const S = w - e, b = i.duration - S; - if (S <= i.duration) { - const v = 1 - b / i.duration; - i.advance(v), t || (o = requestAnimationFrame(n)); - } else - i.advance(1), l(); - }, r = () => { - t = !0, cancelAnimationFrame(o), T(new Error("animation stopped")); - }; - }).catch((l) => l); - return Qc.push(i.element, () => (typeof i.beforeStart == "function" && i.beforeStart(), requestAnimationFrame(n), new Promise((l) => { - s.then(() => l()); - }))), { - promise: () => s, - stop: () => r - }; -}, $v = 400, mO = (i, e, t) => { - let o, r; - return kv({ - beforeStart: () => { - o = i.scrollLeft, r = i.scrollTop; - }, - duration: $v, - element: i, - advance: (n) => { - i.scrollLeft = o + n * e, i.scrollTop = r + n * t; - } - }); -}, gO = "scroll", bO = nu() ? "touchend" : "mouseup"; -class xv extends kr { - constructor(e) { - super(), this.supportsTouch = nu(), this.containerComponent = e, this.mouseMove = this.ontouchmove.bind(this), this.mouseUp = this.ontouchend.bind(this), this.touchStart = this.ontouchstart.bind(this), this.supportsTouch = nu(), this.cachedValue = { dragX: 0, dragY: 0 }, this.startX = 0, this.startY = 0, this.supportsTouch ? (e.addEventListener("touchstart", this.touchStart, { passive: !0 }), e.addEventListener("touchmove", this.mouseMove, { passive: !0 }), e.addEventListener("touchend", this.mouseUp, { passive: !0 })) : e.addEventListener("mousedown", this.touchStart, { passive: !0 }); - } - set scrollContainer(e) { - this._container = e; - } - get scrollContainer() { - return this._container; - } - /** - * Scrolls the container to the left/top position, retrying retryCount times, if the container is not yet painted - * - * @param left - * @param top - * @param retryCount - * @param retryInterval - * @returns {Promise} resolved when scrolled successfully - */ - async scrollTo(e, t, o = 0, r = 0) { - let n = this.scrollContainer.clientHeight > 0 && this.scrollContainer.clientWidth > 0; - for (; !n && o > 0; ) - await new Promise((s) => { - setTimeout(() => { - n = this.scrollContainer.clientHeight > 0 && this.scrollContainer.clientWidth > 0, o--, s(); - }, r); - }); - this._container.scrollLeft = e, this._container.scrollTop = t; - } - move(e, t, o) { - if (o) { - this._container.scrollLeft += e, this._container.scrollTop += t; - return; - } - if (this._container) - return mO(this._container, e, t); - } - getScrollLeft() { - return this._container.scrollLeft; - } - getScrollTop() { - return this._container.scrollTop; - } - _isTouchInside(e) { - let t = null; - this.supportsTouch && e instanceof TouchEvent && (t = e.touches[0]); - const o = this._container.getBoundingClientRect(), r = this.supportsTouch ? t.clientX : e.x, n = this.supportsTouch ? t.clientY : e.y; - return r >= o.left && r <= o.right && n >= o.top && n <= o.bottom; - } - ontouchstart(e) { - let t = null; - this.supportsTouch && e instanceof TouchEvent && (t = e.touches[0]), t ? (this.startX = t.pageX, this.startY = t.pageY) : (document.addEventListener("mouseup", this.mouseUp, { passive: !0 }), document.addEventListener("mousemove", this.mouseMove, { passive: !0 })), t && (this._prevDragX = t.pageX, this._prevDragY = t.pageY), e instanceof MouseEvent && (this._prevDragX = e.x, this._prevDragY = e.y), this._canScroll = this._isTouchInside(e); - } - ontouchmove(e) { - if (!this._canScroll) - return; - const t = this._container, o = this.supportsTouch ? e.touches[0] : null, r = this.supportsTouch ? o.pageX : e.x, n = this.supportsTouch ? o.pageY : e.y; - t.scrollLeft += this._prevDragX - r, t.scrollTop += this._prevDragY - n, this.fireEvent(gO, { - isLeft: r > this._prevDragX, - isRight: r < this._prevDragX - }), this.cachedValue.dragX = this._prevDragX, this.cachedValue.dragY = this._prevDragY, this._prevDragX = r, this._prevDragY = n; - } - ontouchend(e) { - if (this.supportsTouch) { - const l = Math.abs(e.changedTouches[0].pageX - this.startX), T = Math.abs(e.changedTouches[0].pageY - this.startY); - if (l < 10 && T < 10) - return; - } - if (!this._canScroll) - return; - const t = this._container, o = this.supportsTouch ? e.changedTouches[0].pageX : e.x, r = this.supportsTouch ? e.changedTouches[0].pageY : e.y; - t.scrollLeft += this._prevDragX - o, t.scrollTop += this._prevDragY - r; - const s = o === this._prevDragX ? this.cachedValue.dragX : o; - this.fireEvent(bO, { - isLeft: s < this._prevDragX, - isRight: s > this._prevDragX - }), this._prevDragX = o, this._prevDragY = r, this.supportsTouch || (document.removeEventListener("mousemove", this.mouseMove), document.removeEventListener("mouseup", this.mouseUp)); - } -} -var d1; -(function(i) { - i.Content = "Content", i.Navigation = "Navigation"; -})(d1 || (d1 = {})); -const en = d1; -var h1; -(function(i) { - i.Default = "Default", i.Numeric = "Numeric"; -})(h1 || (h1 = {})); -const _1 = h1; -var p1; -(function(i) { - i.Solid = "Solid", i.Transparent = "Transparent", i.Translucent = "Translucent"; -})(p1 || (p1 = {})); -const ph = p1; -var f1; -(function(i) { - i.Solid = "Solid", i.None = "None"; -})(f1 || (f1 = {})); -const k5 = f1; -function yO(i, e, t) { - return y` `; -} -function wO(i, e, t, o, r) { - return y``; -} -function CO(i, e, t) { - return t ? y`` : y``; -} -function SO(i, e, t) { - return y`
    ${this.showArrows.navigation ? TO.call(this, i, e, t) : void 0}${this.showArrows.navigation ? AO.call(this, i, e, t) : void 0}
    `; -} -function TO(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} arrow-back tooltip="${a(this.previousPageText)}" class="ui5-carousel-navigation-button ${W(this.classes.navPrevButton)}" icon="slim-arrow-left" tabindex="-1" @click=${this._navButtonClick}>` : y``; -} -function IO(i, e, t) { - return y`${this.isPageTypeDots ? kO.call(this, i, e, t) : xO.call(this, i, e, t)}`; -} -function kO(i, e, t) { - return y`${Y(this.dots, (o, r) => o._id || r, (o, r) => $O.call(this, i, e, t, o, r))}`; -} -function $O(i, e, t, o, r) { - return y``; -} -function xO(i, e, t) { - return y``; -} -function AO(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} arrow-forward tooltip="${a(this.nextPageText)}" class="ui5-carousel-navigation-button ${W(this.classes.navNextButton)}" icon="slim-arrow-right" tabindex="-1" @click=${this._navButtonClick}>` : y``; -} -const EO = "slim-arrow-left", z6 = "M351.5 421q12 12 0 23-5 5-11 5t-11-5l-166-165q-9-10-9-23t9-23l165-164q5-5 11.5-5t11.5 5 5 11-5 11l-159 159q-6 6 0 12z", BO = !1, DO = "SAP-icons-v4", PO = "@ui5/webcomponents-icons"; -J(EO, { pathData: z6, ltr: BO, collection: DO, packageName: PO }); -const OO = "slim-arrow-left", H6 = "M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z", RO = !1, NO = "SAP-icons-v5", MO = "@ui5/webcomponents-icons"; -J(OO, { pathData: H6, ltr: RO, collection: NO, packageName: MO }); -Te(); -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const LO = { packageName: "@ui5/webcomponents", fileName: "themes/Carousel.css.ts", content: `:host(:not([hidden])){display:inline-block}:host{width:100%;min-width:15.5rem;height:100%}.ui5-carousel-root:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-carousel-root{height:inherit;position:relative;display:flex;flex-direction:column;align-items:center;background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-background-solid{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_solid)}.ui5-carousel-background-transparent{background:transparent}.ui5-carousel-viewport{width:100%;height:inherit;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:1px;flex:1;min-height:0}.ui5-carousel-viewport.ui5-carousel-viewport--single{align-items:center}.ui5-carousel-content{height:100%;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;transition:transform .5s cubic-bezier(.46,0,.44,1);will-change:transform}.ui5-carousel-content.ui5-carousel-content-no-animation{transition:none}.ui5-carousel-content.ui5-carousel-content-has-navigation{height:calc(100% - 1rem)}.ui5-carousel-item{height:100%;display:flex;align-items:center;justify-content:center;padding:0 .75rem;box-sizing:border-box;transition:opacity .5s linear;will-change:opacity}.ui5-carousel-item--hidden{opacity:0}.ui5-carousel-navigation-arrows{width:100%;padding:0 .5rem;position:absolute;top:calc(50% - var(--ui5-v1-22-1-rc-0_carousel_button_size) / 2);left:0;display:flex;justify-content:space-between;box-sizing:border-box;pointer-events:none}.ui5-carousel-navigation-arrows>[ui5-button]{pointer-events:all}.ui5-carousel-navigation-wrapper{width:100%;height:2.75rem;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box}.ui5-carousel-navigation-wrapper-bg-solid{background:var(--sapPageFooter_Background)}.ui5-carousel-navigation-wrapper-bg-translucent{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-navigation-wrapper-bg-transparent{background:transparent}.ui5-carousel-navigation-wrapper-border-solid{border-top:var(--sapElement_BorderWidth) solid var(--sapList_BorderColor)}.ui5-carousel-navigation-wrapper.ui5-carousel-navigation-with-buttons{height:3.5rem}.ui5-carousel-navigation-button{width:var(--ui5-v1-22-1-rc-0_carousel_button_size);height:var(--ui5-v1-22-1-rc-0_carousel_button_size);border-radius:50%;box-shadow:none;cursor:pointer;outline-offset:.1rem;--_ui5-v1-22-1-rc-0_button_focused_border_radius: 50%}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button{box-shadow:var(--sapContent_Shadow1)}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button:active{box-shadow:var(--ui5-v1-22-1-rc-0_carousel_navigation_button_active_box_shadow)}.ui5-carousel-navigation-button--hidden{visibility:hidden;padding:0}.ui5-carousel-navigation{width:9rem;height:2rem;display:flex;justify-content:center;align-items:center}.ui5-carousel-navigation-dot{box-sizing:border-box;width:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);height:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);margin:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_margin);border-radius:50%;background-color:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_border);transition:background-color .1s ease-in}.ui5-carousel-navigation-dot[active]{width:.5rem;height:.5rem;margin:0 .25rem;background-color:var(--ui5-v1-22-1-rc-0_carousel_active_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_active_dot_border)}.ui5-carousel-navigation-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapPageFooter_TextColor);white-space:nowrap;overflow:hidden;text-align:center;text-overflow:ellipsis} -` }; -var wi = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Ca; -let Lt = Ca = class extends te { - static get pageTypeLimit() { - return 9; - } - constructor() { - super(), this._scrollEnablement = new xv(this), this._scrollEnablement.attachEvent("touchend", (e) => { - this._updateScrolling(e); - }), this._onResizeBound = this._onResize.bind(this), this._resizing = !1, this._lastFocusedElements = [], this._orderOfLastFocusedPages = []; - } - onBeforeRendering() { - this.arrowsPlacement === en.Navigation && (this._visibleNavigationArrows = !0), this.validateSelectedIndex(); - } - onAfterRendering() { - this._scrollEnablement.scrollContainer = this.getDomRef(), this._resizing = !1; - } - onEnterDOM() { - Ce.register(this, this._onResizeBound); - } - onExitDOM() { - Ce.deregister(this, this._onResizeBound); - } - validateSelectedIndex() { - this.isIndexInRange(this._selectedIndex) || (this._selectedIndex = 0); - } - _onResize() { - const e = this.effectiveItemsPerPage; - this._resizing = !0, this._width = this.offsetWidth, this._itemWidth = Math.floor(this._width / this.effectiveItemsPerPage), this.effectiveItemsPerPage !== e && this._selectedIndex > this.pagesCount - 1 && (this._selectedIndex = this.pagesCount - 1, this.fireEvent("navigate", { selectedIndex: this._selectedIndex })); - } - _updateScrolling(e) { - e && (e.isLeft ? this.navigateLeft() : e.isRight && this.navigateRight()); - } - async _onkeydown(e) { - if (Hy(e)) { - this._handleF7Key(e); - return; - } - e.target === this.getDomRef() && (Ct(e) || Ue(e) ? (this.navigateLeft(), await Mt(), this.getDomRef().focus()) : (dt(e) || Ye(e)) && (this.navigateRight(), await Mt(), this.getDomRef().focus())); - } - _onfocusin(e) { - const t = e.target; - if (t === this.getDomRef()) - return; - let o = -1; - for (let n = 0; n < this.content.length; n++) - if (this.content[n].contains(t)) { - o = n; - break; - } - if (o === -1) - return; - this._lastFocusedElements[o] = t; - const r = this._orderOfLastFocusedPages.indexOf(o); - r === -1 ? this._orderOfLastFocusedPages.unshift(o) : this._orderOfLastFocusedPages.splice(0, 0, this._orderOfLastFocusedPages.splice(r, 1)[0]); - } - _onmouseout() { - this.arrowsPlacement === en.Content && (this._visibleNavigationArrows = !1); - } - _onmouseover() { - this.arrowsPlacement === en.Content && (this._visibleNavigationArrows = !0); - } - _handleF7Key(e) { - const t = this._lastFocusedElements[this._getLastFocusedActivePageIndex]; - e.target === this.getDomRef() && t ? t.focus() : this.getDomRef().focus(); - } - get _backgroundDesign() { - return this.backgroundDesign.toLowerCase(); - } - get _getLastFocusedActivePageIndex() { - for (let e = 0; e < this._orderOfLastFocusedPages.length; e++) { - const t = this._orderOfLastFocusedPages[e]; - if (this.isItemInViewport(t)) - return t; - } - return this._selectedIndex; - } - navigateLeft() { - this._resizing = !1; - const e = this._selectedIndex; - this._selectedIndex - 1 < 0 ? this.cyclic && (this._selectedIndex = this.pagesCount - 1) : --this._selectedIndex, e !== this._selectedIndex && this.fireEvent("navigate", { selectedIndex: this._selectedIndex }); - } - navigateRight() { - this._resizing = !1; - const e = this._selectedIndex; - if (this._selectedIndex + 1 > this.pagesCount - 1) - if (this.cyclic) - this._selectedIndex = 0; - else - return; - else - ++this._selectedIndex; - e !== this._selectedIndex && this.fireEvent("navigate", { selectedIndex: this._selectedIndex }); - } - _navButtonClick(e) { - e.target.hasAttribute("arrow-forward") ? this.navigateRight() : this.navigateLeft(), this.focus(); - } - /** - * Changes the currently displayed page. - * @param itemIndex The index of the target page - * @since 1.0.0-rc.15 - * @public - */ - navigateTo(e) { - this._resizing = !1, this._selectedIndex = e; - } - /** - * Assuming that all items have the same width - * @private - */ - get items() { - return this.content.map((e, t) => { - const o = this.isItemInViewport(t); - return { - id: `${this._id}-carousel-item-${t + 1}`, - item: e, - tabIndex: o ? "0" : "-1", - posinset: `${t + 1}`, - setsize: `${this.content.length}`, - styles: { - width: `${this._itemWidth || 0}px` - }, - classes: o ? "" : "ui5-carousel-item--hidden" - }; - }); - } - get effectiveItemsPerPage() { - return this._width ? this._width <= 640 ? this.itemsPerPageS : this._width <= 1024 ? this.itemsPerPageM : this.itemsPerPageL : this.itemsPerPageL; - } - isItemInViewport(e) { - return e >= this._selectedIndex && e <= this._selectedIndex + this.effectiveItemsPerPage - 1; - } - isIndexInRange(e) { - return e >= 0 && e <= this.pagesCount - 1; - } - /** - * @private - */ - get renderNavigation() { - return this.hasManyPages ? this.arrowsPlacement === en.Navigation && !this.hideNavigationArrows ? !0 : !this.hidePageIndicator : !1; - } - get hasManyPages() { - return this.pagesCount > 1; - } - get styles() { - const e = this._itemWidth || 0; - return { - content: { - transform: `translateX(${this._isRTL ? "" : "-"}${this._selectedIndex * e}px` - } - }; - } - get classes() { - return { - viewport: { - "ui5-carousel-viewport": !0, - "ui5-carousel-viewport--single": this.pagesCount === 1 - }, - content: { - "ui5-carousel-content": !0, - "ui5-carousel-content-no-animation": this.suppressAnimation, - "ui5-carousel-content-has-navigation": this.renderNavigation, - "ui5-carousel-content-has-navigation-and-buttons": this.renderNavigation && this.arrowsPlacement === en.Navigation && !this.hideNavigationArrows - }, - navigation: { - "ui5-carousel-navigation-wrapper": !0, - "ui5-carousel-navigation-with-buttons": this.renderNavigation && this.arrowsPlacement === en.Navigation && !this.hideNavigationArrows, - [`ui5-carousel-navigation-wrapper-bg-${this.pageIndicatorBackgroundDesign.toLowerCase()}`]: !0, - [`ui5-carousel-navigation-wrapper-border-${this.pageIndicatorBorderDesign.toLowerCase()}`]: !0 - }, - navPrevButton: { - "ui5-carousel-navigation-button--hidden": !this.hasPrev - }, - navNextButton: { - "ui5-carousel-navigation-button--hidden": !this.hasNext - } - }; - } - get pagesCount() { - const e = this.content.length; - return e > this.effectiveItemsPerPage ? e - this.effectiveItemsPerPage + 1 : 1; - } - get isPageTypeDots() { - return this.pageIndicatorStyle === _1.Numeric ? !1 : this.pagesCount < Ca.pageTypeLimit; - } - get dots() { - const e = [], t = this.pagesCount; - for (let o = 0; o < t; o++) - e.push({ - active: o === this._selectedIndex, - ariaLabel: Ca.i18nBundle.getText(b3, o + 1, t) - }); - return e; - } - get showArrows() { - const e = this._visibleNavigationArrows && this.hasManyPages && Zo(); - return { - content: !this.hideNavigationArrows && e && this.arrowsPlacement === en.Content, - navigation: !this.hideNavigationArrows && e && this.arrowsPlacement === en.Navigation - }; - } - get hasPrev() { - return this.cyclic || this._selectedIndex - 1 >= 0; - } - get hasNext() { - return this.cyclic || this._selectedIndex + 1 <= this.pagesCount - 1; - } - get suppressAnimation() { - return this._resizing || Oa() === Vn.None; - } - get _isRTL() { - return this.effectiveDir === "rtl"; - } - get selectedIndexToShow() { - return this._isRTL ? this.pagesCount - (this.pagesCount - this._selectedIndex) + 1 : this._selectedIndex + 1; - } - get ofText() { - return Ca.i18nBundle.getText(g3); - } - get ariaActiveDescendant() { - return this.content.length ? `${this._id}-carousel-item-${this._selectedIndex + 1}` : void 0; - } - get nextPageText() { - return Ca.i18nBundle.getText(w3); - } - get previousPageText() { - return Ca.i18nBundle.getText(y3); - } - /** - * The indices of the currently visible items of the component. - * @public - * @since 1.0.0-rc.15 - * @default [] - */ - get visibleItemsIndices() { - const e = []; - return this.items.forEach((t, o) => { - this.isItemInViewport(o) && e.push(o); - }), e; - } - static async onDefine() { - Ca.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -wi([ - x({ type: Boolean }) -], Lt.prototype, "cyclic", void 0); -wi([ - x({ validator: ne, defaultValue: 1 }) -], Lt.prototype, "itemsPerPageS", void 0); -wi([ - x({ validator: ne, defaultValue: 1 }) -], Lt.prototype, "itemsPerPageM", void 0); -wi([ - x({ validator: ne, defaultValue: 1 }) -], Lt.prototype, "itemsPerPageL", void 0); -wi([ - x({ type: Boolean }) -], Lt.prototype, "hideNavigationArrows", void 0); -wi([ - x({ type: Boolean }) -], Lt.prototype, "hidePageIndicator", void 0); -wi([ - x({ type: _1, defaultValue: _1.Default }) -], Lt.prototype, "pageIndicatorStyle", void 0); -wi([ - x({ type: ph, defaultValue: ph.Translucent }) -], Lt.prototype, "backgroundDesign", void 0); -wi([ - x({ type: ph, defaultValue: ph.Solid }) -], Lt.prototype, "pageIndicatorBackgroundDesign", void 0); -wi([ - x({ type: k5, defaultValue: k5.Solid }) -], Lt.prototype, "pageIndicatorBorderDesign", void 0); -wi([ - x({ validator: ne, defaultValue: 0 }) -], Lt.prototype, "_selectedIndex", void 0); -wi([ - x({ type: en, defaultValue: en.Content }) -], Lt.prototype, "arrowsPlacement", void 0); -wi([ - x({ validator: ne }) -], Lt.prototype, "_width", void 0); -wi([ - x({ validator: ne }) -], Lt.prototype, "_itemWidth", void 0); -wi([ - x({ type: Boolean, noAttribute: !0 }) -], Lt.prototype, "_visibleNavigationArrows", void 0); -wi([ - K({ default: !0, type: HTMLElement, individualSlots: !0 }) -], Lt.prototype, "content", void 0); -Lt = Ca = wi([ - X({ - tag: "ui5-carousel", - languageAware: !0, - fastNavigation: !0, - renderer: ue, - styles: LO, - template: yO, - dependencies: [ - Ne, - Jn - ] - }), - U("navigate", { - detail: { - /** - * @public - */ - selectedIndex: { type: ne } - } - }) -], Lt); -Lt.define(); -const FO = Lt; -class Ju extends qu { - static isValid(e) { - return /^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\(\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*(,\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|rgba\((\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){3}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|hsl\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*(,\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|hsla\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*,(\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){2}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|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|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|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|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(e); - } -} -function zO(i, e, t) { - return y`
    ${this.showDefaultColor ? HO.call(this, i, e, t) : void 0}
    ${Y(this.displayedColors, (o, r) => o._id || r, (o, r) => VO.call(this, i, e, t, o, r))}
    ${this._showMoreColors ? UO.call(this, i, e, t) : void 0}${this.showRecentColors ? qO.call(this, i, e, t) : void 0}
    `; -} -function HO(i, e, t) { - return t ? y`
    <${E("ui5-button", e, t)} class="ui5-cp-default-color-button" design="Transparent" @click=${this._onDefaultColorClick} @keydown=${this._onDefaultColorKeyDown}>${a(this.colorPaletteDefaultColorText)}
    ` : y`
    ${a(this.colorPaletteDefaultColorText)}
    `; -} -function VO(i, e, t, o, r) { - return y``; -} -function UO(i, e, t) { - return t ? y`
    <${E("ui5-button", e, t)} design="Transparent" class="ui5-cp-more-colors" @click="${this._openMoreColorsDialog}" @keydown=${this._onMoreColorsKeyDown}>${a(this.colorPaletteMoreColorsText)}
    ` : y`
    ${a(this.colorPaletteMoreColorsText)}
    `; -} -function qO(i, e, t) { - return y`
    ${Y(this.recentColors, (o, r) => o._id || r, (o, r) => WO.call(this, i, e, t, o, r))}
    `; -} -function WO(i, e, t, o, r) { - return t ? y`<${E("ui5-color-palette-item", e, t)} value="${a(o)}">` : y``; -} -function jO(i, e, t) { - return t ? y`<${E("ui5-dialog", e, t)} header-text="${a(this.moreColorsFeature.colorPaletteDialogTitle)}">
    <${E("ui5-color-picker", e, t)}>
    ` : y`
    `; -} -function GO(i, e, t) { - return y`
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const YO = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPaletteItem.css.ts", content: `:host(:not([hidden])){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-outer-border-radius);display:inline-block;margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-margin);box-sizing:border-box}:host(:not([_disabled]):hover){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-outer-border-radius)}:host(:not([hidden])[phone]){height:2.75rem;width:2.75rem;border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:.25rem;display:inline-block;margin:.375rem}.ui5-cp-item{position:relative;box-sizing:border-box;border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-inner-border-radius);width:100%;height:100%}:host(:not([_disabled]):not([phone]):hover) .ui5-cp-item{border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius)}:host(:not([_disabled])[phone]) .ui5-cp-item{border-radius:.1875rem}.ui5-cp-item:hover:not(:focus){border:1px solid var(--sapGroup_ContentBackground);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius);box-sizing:border-box}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus{outline:none}:host(:not([_disabled]):not([phone]):focus) .ui5-cp-item{pointer-events:none}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled])) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none} -` }; -var pc = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Ld; -let Yn = Ld = class extends te { - static async onDefine() { - Ld.i18nBundle = await pe("@ui5/webcomponents"); - } - constructor() { - super(); - } - onBeforeRendering() { - this._disabled = !this.value, this.phone = ce(); - } - get colorLabel() { - return Ld.i18nBundle.getText(T3); - } - get styles() { - return { - root: { - "background-color": this.value - } - }; - } -}; -pc([ - x({ validator: Ju }) -], Yn.prototype, "value", void 0); -pc([ - x({ defaultValue: "-1", noAttribute: !0 }) -], Yn.prototype, "forcedTabIndex", void 0); -pc([ - x({ validator: ne }) -], Yn.prototype, "index", void 0); -pc([ - x({ type: Boolean }) -], Yn.prototype, "phone", void 0); -pc([ - x({ type: Boolean }) -], Yn.prototype, "_disabled", void 0); -Yn = Ld = pc([ - X({ - tag: "ui5-color-palette-item", - renderer: ue, - styles: YO, - template: GO - }) -], Yn); -Yn.define(); -const XO = Yn; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const KO = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPalette.css.ts", content: `:host(:not([hidden])){display:inline-block}:host(:not([hidden])[popup-mode]){width:100%}.ui5-cp-root{display:flex;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone,.ui5-cp-separator,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-more-colors-wrapper,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-default-color-button-wrapper,.ui5-cp-recent-colors-wrapper{width:100%}.ui5-cp-root.ui5-cp-root-phone .ui5-cp-item-container{width:18.5rem;max-width:19.5rem;max-height:13rem;padding:.375rem .625rem}.ui5-cp-recent-colors-wrapper{display:flex;align-items:center;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone{display:flex;align-items:center}.ui5-cp-item-container{display:flex;max-width:var(--_ui5-v1-22-1-rc-0_color-palette-row-width);flex-flow:wrap;max-height:var(--_ui5-v1-22-1-rc-0_color-palette-row-height);overflow:hidden;padding:var(--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding)}.ui5-cp-more-colors,.ui5-cp-default-color-button{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);text-align:center;border:none}.ui5-cp-more-colors-wrapper,.ui5-cp-default-color-button-wrapper{display:flex;flex-direction:column}.ui5-cp-separator{height:.0625rem;background:var(--sapToolbar_SeparatorColor)}.ui5-cp-default-color-button,.ui5-cp-more-colors{padding:.0625rem} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const ZO = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPaletteStaticArea.css.ts", content: `.ui5-cp-dialog-content{display:flex;justify-content:center;align-items:center;margin:1rem 0}.ui5-cp-dialog-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 1rem}.ui5-cp-dialog-footer [ui5-button]:first-child{margin-right:1rem} -` }; -var Ya = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, dl; -let xr = dl = class extends te { - static async onDefine() { - const e = ze("ColorPaletteMoreColors"); - [dl.i18nBundle] = await Promise.all([ - pe("@ui5/webcomponents"), - e ? e.init() : Promise.resolve() - ]); - } - constructor() { - super(), this._itemNavigation = new $i(this, { - getItemsCallback: () => this.displayedColors, - rowSize: this.rowSize, - behavior: Ts.Cyclic - }), this._itemNavigationRecentColors = new $i(this, { - getItemsCallback: () => this.recentColorsElements, - rowSize: this.rowSize, - behavior: Ts.Static - }), this._recentColors = []; - } - onBeforeRendering() { - if (this.displayedColors.forEach((e, t) => { - e.index = t + 1; - }), this.showMoreColors) { - const e = ze("ColorPaletteMoreColors"); - if (e) - this.moreColorsFeature = new e(); - else - throw new Error('You have to import "@ui5/webcomponents/dist/features/ColorPaletteMoreColors.js" module to use the more-colors functionality.'); - } - } - onAfterRendering() { - this.popupMode && (this.showDefaultColor ? this.focusFirstFocusableElement() : this.focusFirstDisplayColorElement()); - } - selectColor(e) { - e.value && (e.focus(), this.displayedColors.includes(e) && this._itemNavigation.setCurrentItem(e), this._setColor(e.value)); - } - _setColor(e) { - this._selectedColor = e, this._recentColors[0] !== this._selectedColor && (this._recentColors.includes(this._selectedColor) ? this._recentColors.unshift(this._recentColors.splice(this._recentColors.indexOf(this._selectedColor), 1)[0]) : this._recentColors.unshift(this._selectedColor)), this.fireEvent("item-click", { - color: this._selectedColor - }); - } - _onclick(e) { - const t = e.target; - t.hasAttribute("ui5-color-palette-item") && this.selectColor(t); - } - _onkeyup(e) { - const t = e.target; - se(e) && t.hasAttribute("ui5-color-palette-item") && (e.preventDefault(), this.selectColor(t)); - } - _onkeydown(e) { - const t = e.target; - Se(e) && t.hasAttribute("ui5-color-palette-item") && this.selectColor(t); - } - _onDefaultColorKeyDown(e) { - if (Bt(e) && this.popupMode && (e.preventDefault(), this._onDefaultColorClick()), Ue(e)) - e.stopPropagation(), this.focusColorElement(this.colorPaletteNavigationElements[1], this._itemNavigation); - else if (Ye(e)) { - e.stopPropagation(); - const t = this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length - 1]; - if (this.hasRecentColors) - this.focusColorElement(t, this._itemNavigationRecentColors); - else if (this.showMoreColors) - t.focus(); - else { - const o = this.displayedColors.length % this.rowSize * this.rowSize; - this.focusColorElement(this.displayedColors[o], this._itemNavigation); - } - } - } - _onMoreColorsKeyDown(e) { - const t = e.target, o = this.colorPaletteNavigationElements.indexOf(t), r = this.displayedColors.length % this.rowSize * this.rowSize; - Ye(e) ? (e.stopPropagation(), this.focusColorElement(this.displayedColors[r], this._itemNavigation)) : Ue(e) && (e.stopPropagation(), this.hasRecentColors ? this.focusColorElement(this.colorPaletteNavigationElements[o + 1], this._itemNavigationRecentColors) : this.showDefaultColor ? this.firstFocusableElement.focus() : this.focusColorElement(this.displayedColors[0], this._itemNavigation)); - } - _onColorContainerKeyDown(e) { - const t = e.target, o = this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length - 1]; - if (Bt(e) && this.popupMode && (e.preventDefault(), this.selectColor(t)), Ye(e) && t === this.displayedColors[0] && this.colorPaletteNavigationElements.length > 1) - e.stopPropagation(), this.showDefaultColor ? this.firstFocusableElement.focus() : !this.showDefaultColor && this.hasRecentColors ? this.focusColorElement(o, this._itemNavigationRecentColors) : !this.showDefaultColor && this.showMoreColors && o.focus(); - else if (Ue(e) && t === this.displayedColors[this.displayedColors.length - 1] && this.colorPaletteNavigationElements.length > 1) { - e.stopPropagation(); - const r = this.showDefaultColor && !this.showMoreColors && this.hasRecentColors || !this.showDefaultColor && !this.showMoreColors && this.hasRecentColors; - this.showDefaultColor && this.showMoreColors ? this.colorPaletteNavigationElements[2].focus() : this.showDefaultColor && !this.showMoreColors && (!this.showRecentColors || !this.recentColors[0]) ? this.firstFocusableElement.focus() : r ? this.focusColorElement(o, this._itemNavigationRecentColors) : !this.showDefaultColor && this.showMoreColors && this.colorPaletteNavigationElements[1].focus(); - } - } - _onRecentColorsContainerKeyDown(e) { - if (Ye(e)) { - if (this.showMoreColors) { - const t = this.showDefaultColor ? 2 : 1; - this.colorPaletteNavigationElements[t].focus(); - } else if (!this.showMoreColors && this.colorPaletteNavigationElements.length > 1) { - const t = this.displayedColors.length % this.rowSize * this.rowSize; - e.stopPropagation(), this.focusColorElement(this.displayedColors[t], this._itemNavigation); - } - } else - Ue(e) && (this.showDefaultColor ? this.firstFocusableElement.focus() : (e.stopPropagation(), this.focusColorElement(this.displayedColors[0], this._itemNavigation))); - } - focusColorElement(e, t) { - t.setCurrentItem(e), t._focusCurrentItem(); - } - focusFirstDisplayColorElement() { - this.focusColorElement(this.displayedColors[0], this._itemNavigation); - } - focusFirstFocusableElement() { - this.firstFocusableElement.focus(); - } - get firstFocusableElement() { - return this.colorPaletteNavigationElements[0]; - } - async _chooseCustomColor() { - const e = await this.getColorPicker(); - this._setColor(e.color), this._closeDialog(); - } - async _closeDialog() { - (await this._getDialog()).close(); - } - async _openMoreColorsDialog() { - (await this._getDialog()).show(); - } - _onDefaultColorClick() { - this.defaultColor && this._setColor(this.defaultColor); - } - /** - * Returns the selected color. - */ - get selectedColor() { - return this._selectedColor; - } - get displayedColors() { - return this.getSlottedNodes("colors").filter((t) => t.value).slice(0, 15); - } - get colorContainerLabel() { - return dl.i18nBundle.getText(C3); - } - get colorPaletteMoreColorsText() { - return dl.i18nBundle.getText($3); - } - get colorPaletteDefaultColorText() { - return dl.i18nBundle.getText(x3); - } - get _showMoreColors() { - return this.showMoreColors && this.moreColorsFeature; - } - get rowSize() { - return 5; - } - get hasRecentColors() { - return this.showRecentColors && this.recentColors[0]; - } - get recentColors() { - for (this._recentColors.length > this.rowSize && (this._recentColors = this._recentColors.slice(0, this.rowSize)); this._recentColors.length < this.rowSize; ) - this._recentColors.push(""); - return this._recentColors; - } - get recentColorsElements() { - const e = this.getDomRef(); - return e ? Array.from(e.querySelectorAll(".ui5-cp-recent-colors-wrapper [ui5-color-palette-item]")).filter((t) => t.value !== "") : []; - } - get colorPaletteNavigationElements() { - const e = [], t = this.shadowRoot.querySelector(".ui5-cp-root"); - return this.showDefaultColor && e.push(t.querySelector(".ui5-cp-default-color-button")), e.push(this.displayedColors[0]), this.showMoreColors && e.push(t.querySelector(".ui5-cp-more-colors")), this.showRecentColors && this.recentColorsElements.length && e.push(this.recentColorsElements[0]), e; - } - get classes() { - return { - colorPaletteRoot: { - "ui5-cp-root": !0, - "ui5-cp-root-phone": ce() - } - }; - } - async _getDialog() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-dialog]"); - } - async getColorPicker() { - return (await this._getDialog()).content[0].querySelector("[ui5-color-picker]"); - } -}; -Ya([ - x({ type: Boolean }) -], xr.prototype, "showRecentColors", void 0); -Ya([ - x({ type: Boolean }) -], xr.prototype, "showMoreColors", void 0); -Ya([ - x({ type: Boolean }) -], xr.prototype, "showDefaultColor", void 0); -Ya([ - x({ validator: Ju }) -], xr.prototype, "defaultColor", void 0); -Ya([ - x({ validator: Ju }) -], xr.prototype, "_selectedColor", void 0); -Ya([ - x({ type: Boolean }) -], xr.prototype, "popupMode", void 0); -Ya([ - K({ - default: !0, - type: HTMLElement, - invalidateOnChildChange: !0, - individualSlots: !0 - }) -], xr.prototype, "colors", void 0); -xr = dl = Ya([ - X({ - tag: "ui5-color-palette", - renderer: ue, - template: zO, - staticAreaTemplate: jO, - styles: KO, - staticAreaStyles: ZO, - get dependencies() { - const i = ze("ColorPaletteMoreColors"); - return [XO, Ne].concat(i ? i.dependencies : []); - } - }), - U("item-click", { - detail: { - /** - * @public - */ - color: { - type: String - } - } - }) -], xr); -xr.define(); -const QO = xr; -function JO(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} hide-arrow content-only-on-desktop placement-type="Bottom" ?open="${this._open}" .opener="${a(this.opener)}" @ui5-after-close="${a(this.onAfterClose)}">
    <${E("ui5-title", e, t)} class="ui5-cp-title">${a(this._colorPaletteTitle)}
    <${E("ui5-color-palette", e, t)} ?show-more-colors="${this.showMoreColors}" ?show-recent-colors="${this.showRecentColors}" ?show-default-color="${this.showDefaultColor}" default-color="${a(this.defaultColor)}" popup-mode @ui5-item-click="${a(this.onSelectedColor)}">${Y(this.colorPaletteColors, (o, r) => o._id || r, (o, r) => $5.call(this, i, e, t, o, r))}
    ` : y`
    ${a(this._colorPaletteTitle)}
    ${Y(this.colorPaletteColors, (o, r) => o._id || r, (o, r) => $5.call(this, i, e, t, o, r))}
    `; -} -function $5(i, e, t, o, r) { - return y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const eR = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPalettePopover.css.ts", content: `.ui5-cp-header{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);display:flex;align-items:center}.ui5-cp-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 0}[ui5-responsive-popover]::part(content){padding:0}[ui5-title],[ui5-button]{margin-bottom:1rem}.ui5-cp-item-container{padding:.3125rem .6875rem} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const Fr = { packageName: "@ui5/webcomponents", fileName: "themes/ResponsivePopoverCommon.css.ts", content: `.input-root-phone{flex:1;position:relative;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color);border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}.input-root-phone [value-state=Error] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Success] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Warning] [input-icon][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-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}.input-root-phone[value-state=Error] [inner-input],.input-root-phone[value-state=Warning] [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style)}.input-root-phone[value-state=Error] [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}.input-root-phone[value-state=Error]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Error]:not([readonly]):not([disabled]),.input-root-phone[value-state=Warning]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}.input-root-phone[value-state=Warning]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Success]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width)}.input-root-phone[value-state=Success]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Success]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_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:calc(100% - var(--_ui5-v1-22-1-rc-0_button_base_min_width))}.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;padding:.25rem 0;width:100%}.ui5-responsive-popover-close-btn{position:absolute;right:1rem} -` }; -var Xa = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Bc; -let un = Bc = class extends te { - static async onDefine() { - Bc.i18nBundle = await pe("@ui5/webcomponents"); - } - constructor() { - super(); - } - get responsivePopover() { - return this.shadowRoot.querySelector("[ui5-responsive-popover]"); - } - get respPopover() { - return this.shadowRoot.querySelector("[ui5-responsive-popover]"); - } - /** - * Shows the ColorPalettePopover. - * - * @param opener the element that the popover is shown at - * @public - * @deprecated The method is deprecated in favour of open and opener properties. - * @since 1.1.1 - */ - showAt(e) { - console.warn("The method 'showAt' is deprecated and will be removed in future, use 'open' and 'opener' props instead."), this.open = !0, this.opener = e; - } - /** - * Shows the ColorPalettePopover. - * - * @param opener the element that the popover is shown at - * @public - * @since 1.0.0-rc.16 - * @deprecated The method is deprecated in favour of open and opener properties. - */ - openPopover(e) { - console.warn("The method 'openPopover' is deprecated and will be removed in future, use 'open' and 'opener' props instead."), this.showAt(e); - } - closePopover() { - this.open = !1; - } - onAfterClose() { - this.closePopover(), this.fireEvent("close"); - } - onSelectedColor(e) { - this.closePopover(), this.fireEvent("item-click", e.detail); - } - /** - * Returns if the component is opened. - * - * @protected - * @since 1.0.0-rc.16 - */ - isOpen() { - return this.open; - } - get colorPaletteColors() { - return this.getSlottedNodes("colors"); - } - get _colorPaletteTitle() { - return Bc.i18nBundle.getText(S3); - } - get _cancelButtonLabel() { - return Bc.i18nBundle.getText(cv); - } - get _open() { - return this.open || void 0; - } -}; -Xa([ - x({ type: Boolean }) -], un.prototype, "showRecentColors", void 0); -Xa([ - x({ type: Boolean }) -], un.prototype, "showMoreColors", void 0); -Xa([ - x({ type: Boolean }) -], un.prototype, "showDefaultColor", void 0); -Xa([ - x({ validator: Ju }) -], un.prototype, "defaultColor", void 0); -Xa([ - x({ type: Boolean }) -], un.prototype, "open", void 0); -Xa([ - x({ validator: Wh }) -], un.prototype, "opener", void 0); -Xa([ - K({ default: !0, type: HTMLElement, individualSlots: !0 }) -], un.prototype, "colors", void 0); -un = Bc = Xa([ - X({ - tag: "ui5-color-palette-popover", - renderer: ue, - styles: [Fr, eR], - template: JO, - dependencies: [ - po, - Ne, - dc, - QO - ] - }), - U("item-click", { - detail: { - /** - * @public - */ - color: { - type: String - } - } - }), - U("close") -], un); -un.define(); -class Kt extends qu { - static isValid(e) { - return Number(e) === e; - } - static attributeToProperty(e) { - return parseFloat(e); - } -} -/** - * @license - * Copyright 2020 Google LLC - * SPDX-License-Identifier: BSD-3-Clause - */ -const V6 = Symbol.for(""), tR = (i) => { - if ((i == null ? void 0 : i.r) === V6) - return i == null ? void 0 : i._$litStatic$; -}, iR = (i) => ({ _$litStatic$: i, r: V6 }), x5 = /* @__PURE__ */ new Map(), U6 = (i) => (e, ...t) => { - const o = t.length; - let r, n; - const s = [], l = []; - let T, w = 0, S = !1; - for (; w < o; ) { - for (T = e[w]; w < o && (n = t[w], (r = tR(n)) !== void 0); ) - T += r + e[++w], S = !0; - w !== o && l.push(n), s.push(T), w++; - } - if (w === o && s.push(e[o]), S) { - const b = s.join("$$lit$$"); - (e = x5.get(b)) === void 0 && (s.raw = s, x5.set(b, e = s)), t = l; - } - return i(e, ...t); -}, oR = U6($8), rR = U6(x8); -class Xh { -} -Xh.html = oR; -Xh.svg = rR; -Xh.unsafeStatic = iR; -Wa("LitStatic", Xh); -const A5 = /* @__PURE__ */ new Map([ - ["aliceblue", "f0f8ff"], - ["antiquewhite", "faebd7"], - ["aqua", "00ffff"], - ["aquamarine", "7fffd4"], - ["azure", "f0ffff"], - ["beige", "f5f5dc"], - ["bisque", "ffe4c4"], - ["black", "000000"], - ["blanchedalmond", "ffebcd"], - ["blue", "0000ff"], - ["blueviolet", "8a2be2"], - ["brown", "a52a2a"], - ["burlywood", "deb887"], - ["cadetblue", "5f9ea0"], - ["chartreuse", "7fff00"], - ["chocolate", "d2691e"], - ["coral", "ff7f50"], - ["cornflowerblue", "6495ed"], - ["cornsilk", "fff8dc"], - ["crimson", "dc143c"], - ["cyan", "00ffff"], - ["darkblue", "00008b"], - ["darkcyan", "008b8b"], - ["darkgoldenrod", "b8860b"], - ["darkgray", "a9a9a9"], - ["darkgrey", "a9a9a9"], - ["darkgreen", "006400"], - ["darkkhaki", "bdb76b"], - ["darkmagenta", "8b008b"], - ["darkolivegreen", "556b2f"], - ["darkorange", "ff8c00"], - ["darkorchid", "9932cc"], - ["darkred", "8b0000"], - ["darksalmon", "e9967a"], - ["darkseagreen", "8fbc8f"], - ["darkslateblue", "483d8b"], - ["darkslategray", "2f4f4f"], - ["darkslategrey", "2f4f4f"], - ["darkturquoise", "00ced1"], - ["darkviolet", "9400d3"], - ["deeppink", "ff1493"], - ["deepskyblue", "00bfff"], - ["dimgray", "696969"], - ["dimgrey", "696969"], - ["dodgerblue", "1e90ff"], - ["firebrick", "b22222"], - ["floralwhite", "fffaf0"], - ["forestgreen", "228b22"], - ["fuchsia", "ff00ff"], - ["gainsboro", "dcdcdc"], - ["ghostwhite", "f8f8ff"], - ["gold", "ffd700"], - ["goldenrod", "daa520"], - ["gray", "808080"], - ["grey", "808080"], - ["green", "008000"], - ["greenyellow", "adff2f"], - ["honeydew", "f0fff0"], - ["hotpink", "ff69b4"], - ["indianred", "cd5c5c"], - ["indigo", "4b0082"], - ["ivory", "fffff0"], - ["khaki", "f0e68c"], - ["lavender", "e6e6fa"], - ["lavenderblush", "fff0f5"], - ["lawngreen", "7cfc00"], - ["lemonchiffon", "fffacd"], - ["lightblue", "add8e6"], - ["lightcoral", "f08080"], - ["lightcyan", "e0ffff"], - ["lightgoldenrodyellow", "fafad2"], - ["lightgray", "d3d3d3"], - ["lightgrey", "d3d3d3"], - ["lightgreen", "90ee90"], - ["lightpink", "ffb6c1"], - ["lightsalmon", "ffa07a"], - ["lightseagreen", "20b2aa"], - ["lightskyblue", "87cefa"], - ["lightslategray", "778899"], - ["lightslategrey", "778899"], - ["lightsteelblue", "b0c4de"], - ["lightyellow", "ffffe0"], - ["lime", "00ff00"], - ["limegreen", "32cd32"], - ["linen", "faf0e6"], - ["magenta", "ff00ff"], - ["maroon", "800000"], - ["mediumaquamarine", "66cdaa"], - ["mediumblue", "0000cd"], - ["mediumorchid", "ba55d3"], - ["mediumpurple", "9370db"], - ["mediumseagreen", "3cb371"], - ["mediumslateblue", "7b68ee"], - ["mediumspringgreen", "00fa9a"], - ["mediumturquoise", "48d1cc"], - ["mediumvioletred", "c71585"], - ["midnightblue", "191970"], - ["mintcream", "f5fffa"], - ["mistyrose", "ffe4e1"], - ["moccasin", "ffe4b5"], - ["navajowhite", "ffdead"], - ["navy", "000080"], - ["oldlace", "fdf5e6"], - ["olive", "808000"], - ["olivedrab", "6b8e23"], - ["orange", "ffa500"], - ["orangered", "ff4500"], - ["orchid", "da70d6"], - ["palegoldenrod", "eee8aa"], - ["palegreen", "98fb98"], - ["paleturquoise", "afeeee"], - ["palevioletred", "db7093"], - ["papayawhip", "ffefd5"], - ["peachpuff", "ffdab9"], - ["peru", "cd853f"], - ["pink", "ffc0cb"], - ["plum", "dda0dd"], - ["powderblue", "b0e0e6"], - ["purple", "800080"], - ["red", "ff0000"], - ["rosybrown", "bc8f8f"], - ["royalblue", "4169e1"], - ["saddlebrown", "8b4513"], - ["salmon", "fa8072"], - ["sandybrown", "f4a460"], - ["seagreen", "2e8b57"], - ["seashell", "fff5ee"], - ["sienna", "a0522d"], - ["silver", "c0c0c0"], - ["skyblue", "87ceeb"], - ["slateblue", "6a5acd"], - ["slategray", "708090"], - ["slategrey", "708090"], - ["snow", "fffafa"], - ["springgreen", "00ff7f"], - ["steelblue", "4682b4"], - ["tan", "d2b48c"], - ["teal", "008080"], - ["thistle", "d8bfd8"], - ["tomato", "ff6347"], - ["turquoise", "40e0d0"], - ["violet", "ee82ee"], - ["wheat", "f5deb3"], - ["white", "ffffff"], - ["whitesmoke", "f5f5f5"], - ["yellow", "ffff00"], - ["yellowgreen", "9acd32"], - ["transparent", "00000000"] -]), nR = (i) => i.startsWith("rgba") ? aR(i) : i.startsWith("rgb") ? sR(i) : (i.indexOf("#") === 0 && (i.length === 4 ? i = `${i[1]}${i[1]}${i[2]}${i[2]}${i[3]}${i[3]}` : i = i.slice(1, i.length)), A5.has(i) && (i = A5.get(i)), q6(i)), aR = (i) => { - const e = i.indexOf("("), t = []; - for (let o = 0; o < i.length; o++) - i[o] === "," && t.push(o); - return { - r: parseInt(i.slice(e + 1, t[0]).trim()), - g: parseInt(i.slice(t[0] + 1, t[1]).trim()), - b: parseInt(i.slice(t[1] + 1, t[2]).trim()) - }; -}, sR = (i) => { - const e = i.indexOf("("), t = i.indexOf(")"), o = []; - for (let r = 0; r < i.length; r++) - i[r] === "," && o.push(r); - return { - r: parseInt(i.slice(e + 1, o[0]).trim()), - g: parseInt(i.slice(o[0] + 1, o[1]).trim()), - b: parseInt(i.slice(o[1] + 1, t).trim()) - }; -}, E5 = (i) => { - let e = i.s * 100, t = i.l * 100, o, r, n; - e > 100 ? e = 1 : e < 0 ? e = 0 : e /= 100, t > 100 ? t = 1 : t < 0 ? t = 0 : t /= 100; - const s = i.h, l = e * (1 - Math.abs(2 * t - 1)), T = 255 * (t - 0.5 * l), w = l * (1 - Math.abs(s / 60 % 2 - 1)), S = Math.floor(s / 60), b = T + 255 * w, v = T + 255 * l; - switch (S) { - case 0: - o = v, r = b, n = T; - break; - case 1: - o = b, r = v, n = T; - break; - case 2: - o = T, r = v, n = b; - break; - case 3: - o = T, r = b, n = v; - break; - case 4: - o = b, r = T, n = v; - break; - case 5: - o = v, r = T, n = b; - break; - default: - o = 0, r = 0, n = 0; - break; - } - return { - r: Math.round(o), - g: Math.round(r), - b: Math.round(n) - }; -}, q6 = (i) => ({ - r: parseInt(i.substr(0, 2), 16), - g: parseInt(i.substr(2, 2), 16), - b: parseInt(i.substr(4, 2), 16) -}), lR = (i) => { - const e = i.r / 255, t = i.g / 255, o = i.b / 255, r = Math.max(e, t, o), n = Math.min(e, t, o), s = r - n; - let l = 0, T; - s === 0 ? l = 0 : r === e ? l = 60 * ((t - o) / s % 6) : r === t ? l = 60 * ((o - e) / s + 2) : r === o && (l = 60 * ((e - t) / s + 4)); - const w = (r + n) / 2; - return s === 0 ? T = 0 : T = s / (1 - Math.abs(2 * w - 1)), { - h: l, - s: T, - l: w - }; -}; -function cR(i, e, t) { - return t ? y`
    <${E("ui5-slider", e, t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-hue-slider" min="0" max="1530" value="${a(this._hue)}" accessible-name="${a(this.hueSliderLabel)}" @ui5-input="${a(this._handleHueInput)}"><${E("ui5-slider", e, t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-alpha-slider" min="0" max="1" step="0.01" value="${a(this._alpha)}" accessible-name="${a(this.alphaSliderLabel)}" @ui5-input="${a(this._handleAlphaInput)}">
    <${E("ui5-label", e, t)}>Hex<${E("ui5-input", e, t)} class="ui5-color-picker-hex-input" value="${a(this.hex)}" @keydown="${this._onkeydown}" accessible-name="${a(this.hexInputLabel)}" @ui5-change="${a(this._handleHEXChange)}" value-state="${a(this.hexInputErrorState)}">
    <${E("ui5-input", e, t)} id="red" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.redInputLabel)}" value="${a(this._color.r)}"><${E("ui5-label", e, t)}>R
    <${E("ui5-input", e, t)} id="green" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.greenInputLabel)}" value="${a(this._color.g)}"><${E("ui5-label", e, t)}>G
    <${E("ui5-input", e, t)} id="blue" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.blueInputLabel)}" value="${a(this._color.b)}"><${E("ui5-label", e, t)}>B
    <${E("ui5-input", e, t)} id="alpha" disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-rgb-input" value="${a(this._alpha)}" accessible-name="${a(this.alphaInputLabel)}" @ui5-input="${a(this._handleAlphaInput)}" @ui5-change="${a(this._handleAlphaChange)}"><${E("ui5-label", e, t)}>A
    ` : y`
    Hex
    R
    G
    B
    A
    `; -} -const uR = (i) => { - let e = 0; - return (i.selectionStart || i.selectionStart === 0) && (e = i.selectionDirection === "backward" ? i.selectionStart : i.selectionEnd), e; -}, dR = (i, e) => { - i.selectionStart ? (i.focus(), i.setSelectionRange(e, e)) : i.focus(); -}, hR = "not-editable", W6 = "M443 104q5 7 5 12 0 6-5 11L118 453q-4 4-8 4L0 480l22-110q0-5 4-9L352 36q4-4 11-4t11 4zm-121 99l-46-45L52 381l46 46zm87-88l-46-44-64 64 45 45zm71 204l-63 64-65-64-33 32 66 63-66 66 33 32 65-66 63 66 32-32-66-66 66-63z", _R = !1, pR = "SAP-icons-v4", fR = "@ui5/webcomponents-icons"; -J(hR, { pathData: W6, ltr: _R, collection: pR, packageName: fR }); -const vR = "not-editable", j6 = "M504 94q7 7 7 18t-7 18L130 505q-9 7-18 7H26q-11 0-18.5-7.5T0 486v-86q0-10 8-18L381 7q9-7 18-7 11 0 18 7zm-55 18l-50-50-50 50 50 50zm-86 86l-50-50L62 400l50 50zm142 270q7 7 7 18t-7.5 18.5T486 512t-18-7l-37-38-38 38q-7 7-18 7t-18.5-7.5T349 486q0-10 8-18l38-37-38-38q-8-8-8-18 0-11 7.5-18.5T375 349q10 0 18 8l38 37 37-37q8-8 18-8 11 0 18.5 7.5T512 375t-7 18l-38 38z", mR = !1, gR = "SAP-icons-v5", bR = "@ui5/webcomponents-icons"; -J(vR, { pathData: j6, ltr: mR, collection: gR, packageName: bR }); -Te(); -var v1; -(function(i) { - i.Text = "Text", i.Email = "Email", i.Number = "Number", i.Password = "Password", i.Tel = "Tel", i.URL = "URL"; -})(v1 || (v1 = {})); -const Ol = v1; -function yR(i, e, t) { - return y`
    ${this._effectiveShowClearIcon ? wR.call(this, i, e, t) : void 0}${this.icon.length ? CR.call(this, i, e, t) : void 0}
    ${jn(this._valueStateInputIcon)}
    ${this.showSuggestions ? SR.call(this, i, e, t) : void 0}${this.accInfo.input.ariaDescription ? TR.call(this, i, e, t) : void 0}${this.hasValueState ? IR.call(this, i, e, t) : void 0}
    `; -} -function wR(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; -} -function CR(i, e, t) { - return y`
    `; -} -function SR(i, e, t) { - return y`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`; -} -function TR(i, e, t) { - return y`${a(this.accInfo.input.ariaDescription)}`; -} -function IR(i, e, t) { - return y`${a(this.ariaValueStateHiddenText)}`; -} -function kR(i, e, t) { - return y`${this.showSuggestions ? $R.call(this, i, e, t) : void 0}${this.hasValueStateMessage ? PR.call(this, i, e, t) : void 0} `; -} -function $R(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} class="${W(this.classes.popover)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Left" style="${G(this.styles.suggestionsPopover)}" @ui5-after-open="${a(this._afterOpenPopover)}" @ui5-after-close="${a(this._afterClosePopover)}" @ui5-scroll="${a(this._scroll)}">${this._isPhone ? B5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : R5.call(this, i, e, t)}<${E("ui5-list", e, t)} separators="${a(this.suggestionSeparators)}" @mousedown="${this.onItemMouseDown}" mode="SingleSelect">${Y(this.suggestionObjects, (o, r) => o._id || r, (o, r) => L5.call(this, i, e, t, o, r))}${this._isPhone ? z5.call(this, i, e, t) : void 0}` : y`${this._isPhone ? B5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : R5.call(this, i, e, t)}${Y(this.suggestionObjects, (o, r) => o._id || r, (o, r) => L5.call(this, i, e, t, o, r))}${this._isPhone ? z5.call(this, i, e, t) : void 0}`; -} -function B5(i, e, t) { - return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${E("ui5-input", e, t)} class="ui5-input-inner-phone" type="${a(this.inputType)}" .value="${a(this.value)}" ?show-clear-icon=${this.showClearIcon} placeholder="${a(this.placeholder)}" @ui5-input="${a(this._handleInput)}" @ui5-change="${a(this._handleChange)}">
    ${this.hasValueStateMessage ? D5.call(this, i, e, t) : void 0}` : y`
    ${a(this._headerTitleText)}
    ${this.hasValueStateMessage ? D5.call(this, i, e, t) : void 0}`; -} -function D5(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? P5.call(this, i, e, t) : O5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? P5.call(this, i, e, t) : O5.call(this, i, e, t)}
    `; -} -function P5(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function O5(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => xR.call(this, i, e, t, o, r))}`; -} -function xR(i, e, t, o, r) { - return y`${a(o)}`; -} -function R5(i, e, t) { - return y`${this.hasValueStateMessage ? AR.call(this, i, e, t) : void 0}`; -} -function AR(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? N5.call(this, i, e, t) : M5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? N5.call(this, i, e, t) : M5.call(this, i, e, t)}
    `; -} -function N5(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function M5(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => ER.call(this, i, e, t, o, r))}`; -} -function ER(i, e, t, o, r) { - return y`${a(o)}`; -} -function L5(i, e, t, o, r) { - return y`${o.groupItem ? BR.call(this, i, e, t, o, r) : DR.call(this, i, e, t, o, r)}`; -} -function BR(i, e, t, o, r) { - return t ? y`<${E("ui5-li-groupheader", e, t)} data-ui5-key="${a(o.key)}">${jn(o.text)}` : y`${jn(o.text)}`; -} -function DR(i, e, t, o, r) { - return t ? y`<${E("ui5-li-suggestion-item", e, t)} wrapping-type="Normal" image="${a(o.image)}" icon="${a(o.icon)}" additional-text="${a(o.additionalText)}" type="${a(o.type)}" additional-text-state="${a(o.additionalTextState)}" data-ui5-key="${a(o.key)}">${jn(o.text)}${o.description ? F5.call(this, i, e, t, o, r) : void 0}` : y`${jn(o.text)}${o.description ? F5.call(this, i, e, t, o, r) : void 0}`; -} -function F5(i, e, t, o, r) { - return y`${jn(o.description)}`; -} -function z5(i, e, t) { - return t ? y`` : y``; -} -function PR(i, e, t) { - return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? H5.call(this, i, e, t) : V5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? H5.call(this, i, e, t) : V5.call(this, i, e, t)}
    `; -} -function H5(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function V5(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => OR.call(this, i, e, t, o, r))}`; -} -function OR(i, e, t, o, r) { - return y`${a(o)}`; -} -const RR = /[[\]{}()*+?.\\^$|]/g, NR = (i) => i.replace(RR, "\\$&"), Av = (i, e, t) => { - const o = new RegExp(`(^|\\s)${NR(i.toLowerCase())}.*`, "g"); - return e.filter((r) => { - const n = r[t]; - return o.lastIndex = 0, o.test(n.toLowerCase()); - }); -}, Kh = (i, e, t) => e.filter((o) => o[t].toLowerCase().startsWith(i.toLowerCase())), MR = (i, e, t) => e.filter((o) => o[t].toLowerCase().includes(i.toLowerCase())), LR = (i, e) => e, G6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ - __proto__: null, - Contains: MR, - None: LR, - StartsWith: Kh, - StartsWithPerTerm: Av -}, Symbol.toStringTag, { value: "Module" })); -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const FR = { packageName: "@ui5/webcomponents", fileName: "themes/Input.css.ts", content: `: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const Ka = { packageName: "@ui5/webcomponents", fileName: "themes/ValueStateMessage.css.ts", content: `.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_width);height:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_height);display:var(--_ui5-v1-22-1-rc-0_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_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:"72override",var(--sapFontFamily);height:auto;padding:var(--_ui5-v1-22-1-rc-0_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v1-22-1-rc-0_value_state_message_border);line-height:var(--_ui5-v1-22-1-rc-0_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:2rem}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v1-22-1-rc-0_value_state_header_padding);border:var(--_ui5-v1-22-1-rc-0_value_state_header_border);border-bottom:var(--_ui5-v1-22-1-rc-0_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[focused],.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0}.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-v1-22-1-rc-0_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v1-22-1-rc-0_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} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const Zh = { packageName: "@ui5/webcomponents", fileName: "themes/Suggestions.css.ts", content: `.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}.ui5-suggestions-popover [ui5-li]::part(icon),.ui5-suggestions-popover [ui5-li-suggestion-item]::part(icon){color:var(--sapList_TextColor)}.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} -` }; -var Le = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, di, $a; -(function(i) { - i.CHANGE = "change", i.INPUT = "input", i.SUGGESTION_ITEM_SELECT = "suggestion-item-select"; -})($a || ($a = {})); -var fh; -(function(i) { - i.ACTION_ENTER = "enter", i.ACTION_USER_INPUT = "input"; -})(fh || (fh = {})); -let Re = di = class extends te { - constructor() { - super(), this.hasSuggestionItemSelected = !1, this.valueBeforeItemSelection = "", this.valueBeforeItemPreview = "", this.suggestionSelectionCancelled = !1, this.previousValue = "", this.firstRendering = !0, this.typedInValue = "", this.lastConfirmedValue = "", this.isTyping = !1, this.suggestionObjects = [], this._handleResizeBound = this._handleResize.bind(this), this._keepInnerValue = !1, this._focusedAfterClear = !1; - } - onEnterDOM() { - Ce.register(this, this._handleResizeBound), bA(this, this._updateAssociatedLabelsTexts.bind(this)); - } - onExitDOM() { - Ce.deregister(this, this._handleResizeBound), yA(this); - } - onBeforeRendering() { - this._keepInnerValue || (this._innerValue = this.value), this.showSuggestions && (this.enableSuggestions(), this.suggestionObjects = this.Suggestions.defaultSlotProperties(this.typedInValue)), this._effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled, this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`), this.FormSupport = ze("FormSupport"); - const e = !!this.suggestionItems.length, t = !!this.value, o = this.shadowRoot.querySelector("input") === Ql(); - this._isPhone ? this.open = this.openOnMobile : this._forceOpen ? this.open = !0 : this.open = t && e && o && this.isTyping, this.FormSupport ? this.FormSupport.syncNativeHiddenInput(this) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); - const r = this.value, n = this.getInputDOMRefSync(); - if (!n || !r) - return; - const s = n.selectionEnd - n.selectionStart; - if (this._shouldAutocomplete && !Rf() && !s && !this._isKeyNavigation) { - const l = this._getFirstMatchingItem(r); - l && this._handleTypeAhead(l); - } - } - async onAfterRendering() { - const e = this.getInputDOMRefSync(); - this.Suggestions && this.showSuggestions && (this.Suggestions.toggle(this.open, { - preventFocusRestore: !0 - }), this._listWidth = await this.Suggestions._getListWidth()), this.shouldDisplayOnlyValueStateMessage ? this.openPopover() : this.closePopover(), this._performTextSelection && (e.value !== this._innerValue && (e.value = this._innerValue), this.typedInValue.length && this.value.length && e.setSelectionRange(this.typedInValue.length, this.value.length)), this._performTextSelection = !1; - } - _onkeydown(e) { - if (this._isKeyNavigation = !0, this._shouldAutocomplete = !this.noTypeahead && !(Hu(e) || $l(e) || Ni(e)), Ye(e)) - return this._handleUp(e); - if (Ue(e)) - return this._handleDown(e); - if (se(e)) - return this._handleSpace(e); - if (Bt(e)) - return this._handleTab(); - if (Se(e)) - return this._handleEnter(e); - if (Ri(e)) - return this._handlePageUp(e); - if (Ji(e)) - return this._handlePageDown(e); - if (qt(e)) - return this._handleHome(e); - if (Ii(e)) - return this._handleEnd(e); - if (Ni(e)) - return this._handleEscape(); - this.showSuggestions && this._clearPopoverFocusAndSelection(), this._keyDown = !0, this._isKeyNavigation = !1; - } - _onkeyup(e) { - $l(e) && (this.value = e.target.value), this._keyDown = !1; - } - _handleUp(e) { - this.Suggestions && this.Suggestions.isOpened() && this.Suggestions.onUp(e); - } - _handleDown(e) { - this.Suggestions && this.Suggestions.isOpened() && this.Suggestions.onDown(e); - } - _handleSpace(e) { - this.Suggestions && this.Suggestions.onSpace(e); - } - _handleTab() { - this.Suggestions && this.previousValue !== this.value && this.Suggestions.onTab(); - } - _handleEnter(e) { - const t = !!(this.Suggestions && this.Suggestions.onEnter(e)), o = this.getInputDOMRefSync(), r = this.suggestionItems.find((n) => n.text && n.text === this.value || n.textContent === this.value); - if (r) { - const n = r.text ? r.text : r.textContent || ""; - o.setSelectionRange(n.length, n.length), t || (this.selectSuggestion(r, !0), this.open = !1); - } - if (this._isPhone && !this.suggestionItems.length && !this.isTypeNumber && o.setSelectionRange(this.value.length, this.value.length), !t) { - this.lastConfirmedValue = this.value, this.FormSupport && this.FormSupport.triggerFormSubmit(this); - return; - } - this.focused = !0; - } - _handlePageUp(e) { - this._isSuggestionsFocused ? this.Suggestions.onPageUp(e) : e.preventDefault(); - } - _handlePageDown(e) { - this._isSuggestionsFocused ? this.Suggestions.onPageDown(e) : e.preventDefault(); - } - _handleHome(e) { - this._isSuggestionsFocused && this.Suggestions.onHome(e); - } - _handleEnd(e) { - this._isSuggestionsFocused && this.Suggestions.onEnd(e); - } - _handleEscape() { - const t = this.showSuggestions && !!this.Suggestions && this.open, o = this.getInputDOMRefSync(), r = o.selectionEnd - o.selectionStart > 0; - if (this.isTyping = !1, !t) { - this.value = this.lastConfirmedValue ? this.lastConfirmedValue : this.previousValue; - return; - } - if (t && this.Suggestions._isItemOnTarget()) { - this.value = this.typedInValue || this.valueBeforeItemPreview, this.suggestionSelectionCancelled = !0, this.focused = !0; - return; - } - r && (this.value = this.typedInValue), this._isValueStateFocused && (this._isValueStateFocused = !1, this.focused = !0); - } - async _onfocusin(e) { - await this.getInputDOMRef(), this.focused = !0, this._focusedAfterClear || (this.previousValue = this.value), this.valueBeforeItemPreview = this.value, this._inputIconFocused = !!e.target && e.target === this.querySelector("[ui5-icon]"), this._focusedAfterClear = !1; - } - /** - * Called on "focusin" of the native input HTML Element. - * Note: implemented in MultiInput, but used in the Input template. - */ - innerFocusIn() { - } - _onfocusout(e) { - const t = e.relatedTarget, o = this.Suggestions && t && t.shadowRoot && t.shadowRoot.contains(this.Suggestions.responsivePopover), r = t && t.shadowRoot && t.shadowRoot.querySelector(".ui5-valuestatemessage-root"); - if (this._keepInnerValue = !1, this.showClearIcon && !this._effectiveShowClearIcon && (this._clearIconClicked = !1, this._handleChange()), o || r) { - e.stopImmediatePropagation(); - return; - } - t && t.classList.contains(this._id) || (this.open = !1, this._clearPopoverFocusAndSelection(), this._clearIconClicked || (this.previousValue = ""), this.lastConfirmedValue = "", this.focused = !1, this.isTyping = !1, this._forceOpen = !1); - } - _clearPopoverFocusAndSelection() { - !this.showSuggestions || !this.Suggestions || (this._isValueStateFocused = !1, this.hasSuggestionItemSelected = !1, this.Suggestions._deselectItems(), this.Suggestions._clearItemFocus()); - } - _click() { - ce() && !this.readonly && this.Suggestions && (this.blur(), this.openOnMobile = !0); - } - _handleChange() { - if (this._clearIconClicked) { - this._clearIconClicked = !1; - return; - } - this.previousValue !== this.getInputDOMRefSync().value && (this.fireEvent($a.CHANGE), this.previousValue = this.value, this.typedInValue = this.value); - } - _clear() { - this.value = "", this.fireEvent($a.INPUT), this._isPhone || (this.focus(), this._focusedAfterClear = !0); - } - _iconMouseDown() { - this._clearIconClicked = !0; - } - _scroll(e) { - this.fireEvent("suggestion-scroll", { - scrollTop: e.detail.scrollTop, - scrollContainer: e.detail.targetRef - }); - } - _handleInput(e) { - const t = this.getInputDOMRefSync(), o = this.value && this.isTypeNumber && !t.value, r = e.inputType || e.detail.inputType || ""; - this._keepInnerValue = !1; - const n = [ - "deleteWordBackward", - "deleteWordForward", - "deleteSoftLineBackward", - "deleteSoftLineForward", - "deleteEntireSoftLine", - "deleteHardLineBackward", - "deleteHardLineForward", - "deleteByDrag", - "deleteByCut", - "deleteContent", - "deleteContentBackward", - "deleteContentForward", - "historyUndo" - ]; - if (this._shouldAutocomplete = !n.includes(r) && !this.noTypeahead, this.suggestionSelectionCancelled = !1, e instanceof InputEvent) { - const s = this.isTypeNumber && (e.inputType === "deleteContentForward" || e.inputType === "deleteContentBackward") && !e.target.value.includes(".") && this.value.includes("."), l = o && e.data === "e", T = o && this.value.startsWith("-") && this.value.length === 2 && (e.inputType === "deleteContentForward" || e.inputType === "deleteContentBackward"); - (s || l || T) && (this.value = e.target.value, this._keepInnerValue = !0); - } - e.target === t && (this.focused = !0, e.stopImmediatePropagation()), this.fireEventByAction(fh.ACTION_ENTER, e), this.hasSuggestionItemSelected = !1, this._isValueStateFocused = !1, this.Suggestions && this.Suggestions.updateSelectedItemPosition(-1), this.isTyping = !0; - } - _startsWithMatchingItems(e) { - const t = this.suggestionItems[0].text ? "text" : "textContent"; - return Kh(e, this.suggestionItems, t); - } - _getFirstMatchingItem(e) { - if (!this.suggestionItems.length) - return; - const t = this._startsWithMatchingItems(e).filter((o) => !o.groupItem); - if (t.length) - return t[0]; - } - _handleTypeAhead(e) { - const t = e.text ? e.text : e.textContent || ""; - this._innerValue = t, this.value = t, this._performTextSelection = !0, this._shouldAutocomplete = !1; - } - _handleResize() { - this._inputWidth = this.offsetWidth; - } - _updateAssociatedLabelsTexts() { - this._associatedLabelsTexts = U8(this), this._accessibleLabelsRefTexts = z8(this); - } - _closeRespPopover() { - this.Suggestions.close(!0); - } - async _afterOpenPopover() { - ce() && (await this.getInputDOMRef()).focus(); - } - _afterClosePopover() { - this.announceSelectedItem(), ce() && (this.blur(), this.focused = !1), this.openOnMobile = !1, this.open = !1, this._forceOpen = !1, this.hasSuggestionItemSelected && this.focus(); - } - /** - * Checks if the value state popover is open. - */ - isValueStateOpened() { - return !!this._isPopoverOpen; - } - async openPopover() { - const e = await this._getPopover(); - e && (this._isPopoverOpen = !0, e.showAt(this)); - } - async closePopover() { - const e = await this._getPopover(); - e && e.close(); - } - async _getPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]"); - } - /** - * Manually opens the suggestions popover, assuming suggestions are enabled. Items must be preloaded for it to open. - * @public - * @since 1.3.0 - */ - openPicker() { - !this.suggestionItems.length || this.disabled || this.readonly || (this._forceOpen = !0); - } - enableSuggestions() { - if (this.Suggestions) - return; - const e = ze("InputSuggestions"); - if (e) - this.Suggestions = new e(this, "suggestionItems", !0, !1); - else - throw new Error('You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions'); - } - selectSuggestion(e, t) { - var g; - if (e.groupItem) - return; - const o = this.typedInValue || this.value, r = e.text || e.textContent || "", n = t ? this.valueBeforeItemSelection !== r : o !== r; - this.hasSuggestionItemSelected = !0; - const s = this.value, l = this.valueBeforeItemSelection, T = this.lastConfirmedValue, w = this._performTextSelection, S = this.typedInValue, b = this.previousValue; - n && (this.value = r, this.valueBeforeItemSelection = r, this.lastConfirmedValue = r, this._performTextSelection = !0, this.fireEvent($a.CHANGE), ce() && this.fireEvent($a.INPUT), this.typedInValue = this.value, this.previousValue = this.value), this.valueBeforeItemPreview = "", this.suggestionSelectionCancelled = !1, !this.fireEvent($a.SUGGESTION_ITEM_SELECT, { item: e }, !0) && ((g = this.Suggestions) == null || g._clearSelectedSuggestionAndAccInfo(), this.hasSuggestionItemSelected = !1, this.suggestionSelectionCancelled = !0, n && (r === this.value && (this.value = s), this.valueBeforeItemSelection = l, this.lastConfirmedValue = T, this._performTextSelection = w, this.typedInValue = S, this.previousValue = b)), this.isTyping = !1, this.openOnMobile = !1, this._forceOpen = !1; - } - previewSuggestion(e) { - this.valueBeforeItemSelection = this.value, this.updateValueOnPreview(e), this.announceSelectedItem(), this._previewItem = e; - } - /** - * Updates the input value on item preview. - * @param item The item that is on preview - */ - updateValueOnPreview(e) { - const o = e.type === "Inactive" || e.groupItem ? this.valueBeforeItemPreview : e.effectiveTitle || e.textContent || ""; - this.value = o, this._performTextSelection = !0; - } - /** - * The suggestion item on preview. - * @default null - * @public - */ - get previewItem() { - return this._previewItem ? this.getSuggestionByListItem(this._previewItem) : null; - } - async fireEventByAction(e, t) { - if (this.disabled || this.readonly) - return; - const o = await this.getInputValue(), r = e === fh.ACTION_ENTER; - this.value = o, this.typedInValue = o, this.valueBeforeItemPreview = o, r && (this.fireEvent($a.INPUT, { inputType: t.inputType }), this.fireEvent("value-changed")); - } - async getInputValue() { - return this.getDomRef() ? (await this.getInputDOMRef()).value : ""; - } - async getInputDOMRef() { - return ce() && this.Suggestions ? (await this.Suggestions._getSuggestionPopover(), this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone")) : this.nativeInput; - } - getInputDOMRefSync() { - return ce() && this.Suggestions && this.Suggestions.responsivePopover ? this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input") : this.nativeInput; - } - /** - * Returns a reference to the native input element - * @protected - */ - get nativeInput() { - const e = this.getDomRef(); - return e ? e.querySelector("input") : null; - } - get nativeInputWidth() { - return this.nativeInput ? this.nativeInput.offsetWidth : 0; - } - getLabelableElementId() { - return this.getInputId(); - } - getSuggestionByListItem(e) { - const t = parseInt(e.getAttribute("data-ui5-key")); - return this.suggestionItems[t]; - } - /** - * Returns if the suggestions popover is scrollable. - * The method returns Promise that resolves to true, - * if the popup is scrollable and false otherwise. - */ - isSuggestionsScrollable() { - return this.Suggestions ? this.Suggestions._isScrollable() : Promise.resolve(!1); - } - getInputId() { - return `${this._id}-inner`; - } - /* Suggestions interface */ - onItemMouseOver(e) { - const t = e.target, o = this.getSuggestionByListItem(t); - o && o.fireEvent("mouseover", { - item: o, - targetRef: t - }); - } - onItemMouseOut(e) { - const t = e.target, o = this.getSuggestionByListItem(t); - o && o.fireEvent("mouseout", { - item: o, - targetRef: t - }); - } - onItemMouseDown(e) { - e.preventDefault(); - } - onItemSelected(e, t) { - this.selectSuggestion(e, t); - } - onItemPreviewed(e) { - this.previewSuggestion(e), this.fireEvent("suggestion-item-preview", { - item: this.getSuggestionByListItem(e), - targetRef: e - }); - } - get valueStateTypeMappings() { - return { - Success: di.i18nBundle.getText(nc), - Information: di.i18nBundle.getText(ac), - Error: di.i18nBundle.getText(oc), - Warning: di.i18nBundle.getText(rc) - }; - } - valueStateTextMappings() { - return { - Success: di.i18nBundle.getText(Sn), - Information: di.i18nBundle.getText(Qn), - Error: di.i18nBundle.getText(wn), - Warning: di.i18nBundle.getText(Cn) - }; - } - announceSelectedItem() { - const e = this.shadowRoot.querySelector(`[id="${this._id}-selectionText"]`); - e.textContent = this.itemSelectionAnnounce; - } - get _readonly() { - return this.readonly && !this.disabled; - } - get _headerTitleText() { - return di.i18nBundle.getText(ic); - } - get clearIconAccessibleName() { - return di.i18nBundle.getText(Lh); - } - get inputType() { - return this.type.toLowerCase(); - } - get isTypeNumber() { - return this.type === Ol.Number; - } - get suggestionsTextId() { - return this.showSuggestions ? `${this._id}-suggestionsText` : ""; - } - get valueStateTextId() { - return this.hasValueState ? `${this._id}-valueStateDesc` : ""; - } - get accInfo() { - const e = this.showSuggestions ? "true" : void 0, t = this.showSuggestions ? "list" : void 0, o = this._inputAccInfo.ariaDescribedBy ? `${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim() : `${this.suggestionsTextId} ${this.valueStateTextId}`.trim(); - return { - input: { - ariaRoledescription: this._inputAccInfo && (this._inputAccInfo.ariaRoledescription || void 0), - ariaDescribedBy: o || void 0, - ariaInvalid: this.valueState === q.Error ? "true" : 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._inputAccInfo && this._inputAccInfo.ariaDescription, - 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 !== q.None ? this.valueStateTypeMappings[this.valueState] : ""; - return this.shouldDisplayDefaultValueStateMessage ? this.valueStateText ? `${e} ${this.valueStateText}` : e : `${e}`.concat(" ", this.valueStateMessageText.map((t) => t.textContent).join(" ")); - } - get itemSelectionAnnounce() { - return this.Suggestions ? this.Suggestions.itemSelectionAnnounce : ""; - } - 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 === q.Success, - "ui5-valuestatemessage--error": this.valueState === q.Error, - "ui5-valuestatemessage--warning": this.valueState === q.Warning, - "ui5-valuestatemessage--information": this.valueState === q.Information - } - }; - } - get styles() { - const e = parseInt(getComputedStyle(document.documentElement).fontSize); - return { - popoverHeader: { - "max-width": this._inputWidth ? `${this._inputWidth}px` : "" - }, - suggestionPopoverHeader: { - display: this._listWidth === 0 ? "none" : "inline-block", - width: this._listWidth ? `${this._listWidth}px` : "" - }, - 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 valueStateMessageText() { - return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); - } - get shouldDisplayOnlyValueStateMessage() { - return this.hasValueStateMessage && !this.readonly && !this.open && this.focused; - } - get shouldDisplayDefaultValueStateMessage() { - return !this.valueStateMessage.length && this.hasValueStateMessage; - } - get hasValueState() { - return this.valueState !== q.None; - } - get hasValueStateMessage() { - return this.hasValueState && this.valueState !== q.Success && (!this._inputIconFocused || !!(this._isPhone && this.Suggestions)); - } - get valueStateText() { - return this.valueState !== q.None ? this.valueStateTextMappings()[this.valueState] : void 0; - } - get suggestionsText() { - return di.i18nBundle.getText(j3); - } - get availableSuggestionsCount() { - if (this.showSuggestions && (this.value || this.Suggestions.isOpened())) { - const e = this.suggestionObjects.filter((t) => !t.groupItem); - switch (e.length) { - case 0: - return di.i18nBundle.getText(K3); - case 1: - return di.i18nBundle.getText(Y3); - default: - return di.i18nBundle.getText(X3, e.length); - } - } - } - get step() { - return this.isTypeNumber ? "any" : void 0; - } - get _isPhone() { - return ce(); - } - get _isSuggestionsFocused() { - return !this.focused && this.Suggestions && this.Suggestions.isOpened(); - } - /** - * Returns the placeholder value. - * @protected - */ - get _placeholder() { - return this.placeholder; - } - /** - * This method is relevant for sap_horizon theme only - */ - get _valueStateInputIcon() { - const e = { - Error: '', - Warning: '', - Success: '', - Information: '' - }; - return this.valueState !== q.None ? ` - - ${e[this.valueState]}; - - ` : ""; - } - get _valueStatePopoverHorizontalAlign() { - return this.effectiveDir !== "rtl" ? "Left" : "Right"; - } - /** - * This method is relevant for sap_horizon theme only - */ - get _valueStateMessageInputIcon() { - const e = { - Error: "error", - Warning: "alert", - Success: "sys-enter-2", - Information: "information" - }; - return this.valueState !== q.None ? e[this.valueState] : ""; - } - /** - * Returns the caret position inside the native input - * @protected - */ - getCaretPosition() { - return uR(this.nativeInput); - } - /** - * Sets the caret to a certain position inside the native input - * @protected - */ - setCaretPosition(e) { - dR(this.nativeInput, e); - } - /** - * Removes the fractional part of floating-point number. - * @param value the numeric value of Input of type "Number" - */ - removeFractionalPart(e) { - return e.includes(".") ? e.slice(0, e.indexOf(".")) : e.includes(",") ? e.slice(0, e.indexOf(",")) : e; - } - static async onDefine() { - const e = ze("InputSuggestions"); - [di.i18nBundle] = await Promise.all([ - pe("@ui5/webcomponents"), - e ? e.init() : Promise.resolve() - ]); - } -}; -Le([ - x({ type: Boolean }) -], Re.prototype, "disabled", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "highlight", void 0); -Le([ - x() -], Re.prototype, "placeholder", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "readonly", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "required", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "noTypeahead", void 0); -Le([ - x({ type: Ol, defaultValue: Ol.Text }) -], Re.prototype, "type", void 0); -Le([ - x() -], Re.prototype, "value", void 0); -Le([ - x({ noAttribute: !0 }) -], Re.prototype, "_innerValue", void 0); -Le([ - x({ type: q, defaultValue: q.None }) -], Re.prototype, "valueState", void 0); -Le([ - x() -], Re.prototype, "name", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "showSuggestions", void 0); -Le([ - x({ validator: ne }) -], Re.prototype, "maxlength", void 0); -Le([ - x() -], Re.prototype, "accessibleName", void 0); -Le([ - x({ defaultValue: "" }) -], Re.prototype, "accessibleNameRef", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "showClearIcon", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "_effectiveShowClearIcon", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "focused", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "openOnMobile", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "open", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "_forceOpen", void 0); -Le([ - x({ type: Boolean }) -], Re.prototype, "_isValueStateFocused", void 0); -Le([ - x({ type: Object, noAttribute: !0 }) -], Re.prototype, "_inputAccInfo", void 0); -Le([ - x({ type: Object, noAttribute: !0 }) -], Re.prototype, "_nativeInputAttributes", void 0); -Le([ - x({ validator: ne }) -], Re.prototype, "_inputWidth", void 0); -Le([ - x({ validator: ne }) -], Re.prototype, "_listWidth", void 0); -Le([ - x({ type: Boolean, noAttribute: !0 }) -], Re.prototype, "_isPopoverOpen", void 0); -Le([ - x({ type: Boolean, noAttribute: !0 }) -], Re.prototype, "_inputIconFocused", void 0); -Le([ - x({ type: String, noAttribute: !0, defaultValue: void 0 }) -], Re.prototype, "_associatedLabelsTexts", void 0); -Le([ - x({ type: String, noAttribute: !0, defaultValue: void 0 }) -], Re.prototype, "_accessibleLabelsRefTexts", void 0); -Le([ - K({ type: HTMLElement, default: !0 }) -], Re.prototype, "suggestionItems", void 0); -Le([ - K() -], Re.prototype, "icon", void 0); -Le([ - K() -], Re.prototype, "formSupport", void 0); -Le([ - K({ - type: HTMLElement, - invalidateOnChildChange: !0, - cloned: !0 - }) -], Re.prototype, "valueStateMessage", void 0); -Re = di = Le([ - X({ - tag: "ui5-input", - languageAware: !0, - renderer: ue, - template: yR, - staticAreaTemplate: kR, - styles: FR, - staticAreaStyles: [Fr, Ka, Zh], - get dependencies() { - const i = ze("InputSuggestions"); - return [Fi, Pe].concat(i ? i.dependencies : []); - } - }), - U("change"), - U("input"), - U("suggestion-item-select", { - detail: { - /** - * @public - */ - item: { type: HTMLElement } - } - }), - U("suggestion-item-preview", { - detail: { - /** - * @public - */ - item: { type: HTMLElement }, - /** - * @public - */ - targetRef: { type: HTMLElement } - } - }), - U("suggestion-scroll", { - detail: { - /** - * @public - */ - scrollTop: { type: ne }, - /** - * @public - */ - scrollContainer: { type: HTMLElement } - } - }) -], Re); -Re.define(); -const Ar = Re, zR = "direction-arrows", Y6 = "M507 244q5 5 5 12 0 6-5 11L394 379q-5 5-12 5-6 0-11-5t-5-11V144q0-12 10-15 2-1 6-1 8 0 12 4zM135 129q10 3 10 15v224q0 6-4.5 11t-11.5 5q-6 0-11-5L5 267q-5-5-5-11 0-7 5-12l113-112q4-4 11-4 4 0 6 1z", HR = !1, VR = "SAP-icons-v4", UR = "@ui5/webcomponents-icons"; -J(zR, { pathData: Y6, ltr: HR, collection: VR, packageName: UR }); -const qR = "direction-arrows", X6 = "M135 128q11 0 18 7.5t7 18.5v204q0 11-8 18.5t-18 7.5-17-7L8 275q-8-8-8-19t8-19l109-102q7-7 18-7zm369 109q8 8 8 19t-8 19L395 377q-7 7-17 7t-18-7.5-8-18.5V154q0-12 8-19t19-7q9 0 16 7z", WR = !1, jR = "SAP-icons-v5", GR = "@ui5/webcomponents-icons"; -J(qR, { pathData: X6, ltr: WR, collection: jR, packageName: GR }); -Te(); -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const YR = { packageName: "@ui5/webcomponents", fileName: "themes/SliderBase.css.ts", content: `.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([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_slider_disabled_opacity);cursor:default;pointer-events:none}:host{box-sizing:border-box;cursor:pointer;vertical-align:top;width:100%}:host(:not([hidden])){display:inline-block}.ui5-slider-root{box-sizing:border-box;height:3.3125rem;outline:none;padding:var(--_ui5-v1-22-1-rc-0_slider_padding);touch-action:none}.ui5-slider-inner{background-repeat:no-repeat;position:relative;min-width:var(--_ui5-v1-22-1-rc-0_slider_inner_min_width);height:100%}.ui5-slider-progress-container{width:100%;background:var(--_ui5-v1-22-1-rc-0_slider_progress_container_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_inner_height);position:relative;box-sizing:var(--_ui5-v1-22-1-rc-0_slider_progress_box_sizing);top:var(--_ui5-v1-22-1-rc-0_slider_progress_container_top)}.ui5-slider-progress-container:before,.ui5-slider-progress-container:after{display:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_display);content:"";position:absolute;border-radius:50%;width:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);height:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);top:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_top)}.ui5-slider-progress-container:before{inset-inline-start:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_before_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_before_border)}.ui5-slider-progress-container:after{inset-inline-end:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_after_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_after_border)}.ui5-slider-progress{background:var(--_ui5-v1-22-1-rc-0_slider_progress_background);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_progress_height);position:relative;outline:none;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_slider_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_active_progress_top)}.ui5-slider-tickmarks{list-style:none;padding:0;margin:0;top:var(--_ui5-v1-22-1-rc-0_slider_tickmark_top);display:flex;box-sizing:border-box;width:100%;justify-content:space-between;position:absolute;z-index:1}.ui5-slider-tickmarks li{height:var(--_ui5-v1-22-1-rc-0_slider_tickmark_height);border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_bg)}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_slider_handle_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2);top:var(--_ui5-v1-22-1-rc-0_slider_handle_top);position:absolute;outline:none;height:var(--_ui5-v1-22-1-rc-0_slider_handle_height);width:var(--_ui5-v1-22-1-rc-0_slider_handle_width);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_handle_box_sizing);display:flex;justify-content:center;align-items:center;z-index:2}[slider-icon]{display:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_display);color:var(--sapContent_Selected_ForegroundColor);width:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size);height:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size)}.ui5-slider-root .ui5-slider-handle:focus [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_border)}.ui5-slider-root:focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-handle:focus{outline:var(--_ui5-v1-22-1-rc-0_slider_handle_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_slider_handle_outline_offset);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);background:var(--_ui5-v1-22-1-rc-0_slider_handle_background_focus)}.ui5-slider-handle.ui5-slider-handle--start:focus,.ui5-slider-handle--end:focus{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-root:focus:hover .ui5-slider-handle,.ui5-slider-handle:focus:hover{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-tooltip{display:flex;justify-content:center;align-items:center;visibility:hidden;pointer-events:none;line-height:1rem;position:absolute;left:50%;transform:translate(-50%);bottom:var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom);background:var(--_ui5-v1-22-1-rc-0_slider_tooltip_background);border:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_slider_tooltip_box_shadow);font-size:var(--_ui5-v1-22-1-rc-0_slider_tooltip_fontsize);color:var(--_ui5-v1-22-1-rc-0_slider_tooltip_color);height:var(--_ui5-v1-22-1-rc-0_slider_tooltip_height);min-width:var(--_ui5-v1-22-1-rc-0_slider_tooltip_min_width);padding:var(--_ui5-v1-22-1-rc-0_slider_tooltip_padding);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_box)}.ui5-slider-tooltip-value{position:relative;display:flex;justify-content:center;align-items:center}.ui5-slider-labels{position:absolute;top:1.25rem;margin:0;padding:0;white-space:nowrap}.ui5-slider-labels li{position:relative;list-style:none;padding-top:.3125rem;height:1rem;margin:0;text-align:center;display:inline-block;color:var(--_ui5-v1-22-1-rc-0_slider_label_color);font-size:var(--_ui5-v1-22-1-rc-0_slider_label_fontsize);padding-top:0;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;vertical-align:top}.ui5-slider-hidden-labels li:not(:first-child):not(:last-child){visibility:hidden}.ui5-slider-handle:focus .ui5-slider-tooltip{bottom:var(--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance)}.ui5-slider-tickmarks li.ui5-slider-tickmark-in-range{border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_in_range_bg)}:host([show-tickmarks]) .ui5-slider-progress{height:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_height);border:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_top)}:host([show-tickmarks]) .ui5-slider-progress-container{top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_container_top)}.ui5-slider-handle:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_visibility);width:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);height:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);border:var(--sapContent_FocusWidth) dotted var(--sapContent_FocusColor);position:absolute;border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);pointer-events:none} -` }; -var lr = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, vr; -let to = vr = /** - * @class - * - *

    Overview

    - * - * @constructor - * @extends UI5Element - * @public - */ -class extends te { - constructor() { - super(), this.notResized = !1, this._isUserInteraction = !1, this._isInnerElementFocusing = !1, this._labelWidth = 0, this._resizeHandler = this._handleResize.bind(this), this._moveHandler = this._handleMove.bind(this), this._upHandler = this._handleUp.bind(this), this._stateStorage = { - step: void 0, - min: void 0, - max: void 0, - labelInterval: void 0 - }; - const e = (t) => { - this._onmousedown(t); - }; - this._ontouchstart = { - handleEvent: e, - passive: !0 - }; - } - _handleMove(e) { - } - // eslint-disable-line - _handleUp() { - } - _onmousedown(e) { - } - // eslint-disable-line - _handleActionKeyPress(e) { - } - // eslint-disable-line - static get ACTION_KEYS() { - return [ - Ct, - dt, - Ye, - Ue, - Cl, - Ds, - Ln, - Fn, - M2, - L2, - qt, - Ii, - Ri, - Ji, - Ni - ]; - } - static get MIN_SPACE_BETWEEN_TICKMARKS() { - return 8; - } - static get TOOLTIP_VISIBILITY() { - return { - VISIBLE: "visible", - HIDDEN: "hidden" - }; - } - static get render() { - return ue; - } - static get styles() { - return YR; - } - get classes() { - return { - root: { - "ui5-slider-root-phone": ce() - }, - labelContainer: { - "ui5-slider-hidden-labels": this._labelsOverlapping - } - }; - } - onEnterDOM() { - Ce.register(this, this._resizeHandler); - } - onExitDOM() { - Ce.deregister(this, this._resizeHandler); - } - onAfterRendering() { - this.notResized && this._resizeHandler(); - } - /** Shows the tooltip(s) if the showTooltip property is set to true - * - * @private - */ - _onmouseover() { - this.showTooltip && (this._tooltipVisibility = vr.TOOLTIP_VISIBILITY.VISIBLE); - } - /** - * Hides the tooltip(s) if the showTooltip property is set to true - * - * @private - */ - _onmouseout() { - this.showTooltip && !this.shadowRoot.activeElement && (this._tooltipVisibility = vr.TOOLTIP_VISIBILITY.HIDDEN); - } - _onkeydown(e) { - this.disabled || this._effectiveStep === 0 || vr._isActionKey(e) && (e.preventDefault(), this._isUserInteraction = !0, this._handleActionKeyPress(e)); - } - _onkeyup() { - this.disabled || (this._isUserInteraction = !1); - } - /** - * Flags if an inner element is currently being focused - * - * @private - */ - _preserveFocus(e) { - this._isInnerElementFocusing = e; - } - /** - * Return if an inside element within the component is currently being focused - * - * @private - */ - _isFocusing() { - return this._isInnerElementFocusing; - } - /** - * Prevent focus out when inner element within the component is currently being in process of focusing in. - * - * @private - */ - _preventFocusOut() { - this.focusInnerElement(); - } - /** - * Manages the focus between the component's inner elements - * @protected - */ - focusInnerElement() { - this.focus(); - } - /** - * Handle the responsiveness of the Slider's UI elements when resizing - * - * @private - */ - _handleResize() { - if (!this.showTickmarks || (this.notResized = !1, this._spaceBetweenTickmarks() < vr.MIN_SPACE_BETWEEN_TICKMARKS ? (this._hiddenTickmarks = !0, this._labelsOverlapping = !0) : this._hiddenTickmarks = !1, this.labelInterval <= 0 || this._hiddenTickmarks)) - return; - const t = this.shadowRoot.querySelectorAll(".ui5-slider-labels li"); - this._labelsOverlapping = [...t].some((o) => o.scrollWidth > o.clientWidth); - } - /** - * Called when the user starts interacting with the slider. - * After a down event on the slider root, listen for move events on window, so the slider value - * is updated even if the user drags the pointer outside the slider root. - * - * @protected - */ - handleDownBase(e) { - const t = this._effectiveMin, o = this._effectiveMax, r = this.getBoundingClientRect(), n = this.directionStart, s = this._effectiveStep, l = vr.getValueFromInteraction(e, s, t, o, r, n); - return this._isUserInteraction = !0, window.addEventListener("mouseup", this._upHandler), window.addEventListener("touchend", this._upHandler), nu() && e instanceof TouchEvent ? window.addEventListener("touchmove", this._moveHandler) : window.addEventListener("mousemove", this._moveHandler), this._handleFocusOnMouseDown(e), l; - } - /** - * Forward the focus to an inner inner part within the component on press - * - * @private - */ - _handleFocusOnMouseDown(e) { - const t = this.shadowRoot.activeElement; - (!t || t !== e.target) && (this._preserveFocus(!0), this.focusInnerElement()); - } - /** - * Called when the user finish interacting with the slider - * Fires an change event indicating a final value change, after user interaction is finished. - * - * @protected - */ - handleUpBase() { - window.removeEventListener("mouseup", this._upHandler), window.removeEventListener("touchend", this._upHandler), window.removeEventListener("mousemove", this._moveHandler), window.removeEventListener("touchmove", this._moveHandler), this._isUserInteraction = !1, this._preserveFocus(!1); - } - /** - * Updates state storage for the value-related property - * Fires an input event indicating a value change via interaction that is not yet finished. - * - * @protected - */ - updateStateStorageAndFireInputEvent(e) { - this.storePropertyState(e), this._isUserInteraction && this.fireEvent("input"); - } - /** - * Goes through the key shortcuts available for the component and returns 'true' if the event is triggered by one. - * - * @private - */ - static _isActionKey(e) { - return this.ACTION_KEYS.some((t) => t(e)); - } - /** - * Locks the given value between min and max boundaries based on slider properties - * - * @protected - */ - static clipValue(e, t, o) { - return e = Math.min(Math.max(e, t), o), e; - } - /** - * Sets the slider value from an event - * - * @protected - */ - static getValueFromInteraction(e, t, o, r, n, s) { - const l = this.getPageXValueFromEvent(e), T = this.computedValueFromPageX(l, o, r, n, s), w = this.getSteppedValue(T, t, o); - return this.clipValue(w, o, r); - } - /** - * "Stepify" the raw value - calculate the new value depending on the specified step property - * - * @protected - */ - static getSteppedValue(e, t, o) { - const r = Math.abs((e - o) % t); - if (t === 0 || r === 0) - return e; - e = r * 2 >= t ? e + t - r : e - r; - const n = vr._getDecimalPrecisionOfNumber(t); - return Number(e.toFixed(n)); - } - /** - * Gets pageX value from event on user interaction with the Slider - * - * @protected - */ - static getPageXValueFromEvent(e) { - return nu() && e instanceof TouchEvent ? e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches[0].pageX : 0 : e.pageX; - } - /** - * Computes the new value (in %) from the pageX position of the cursor. - * Returns the value rounded to a precision of at most 2 digits after decimal point. - * - * @protected - */ - static computedValueFromPageX(e, t, o, r, n) { - const l = (n === "left" ? e - r[n] : r[n] - e) / r.width; - return t + l * (o - t); - } - /** - * Calculates the precision (decimal places) of a number, returns 0 if integer - * Handles scientific notation cases. - * @private - */ - static _getDecimalPrecisionOfNumber(e) { - if (Number.isInteger(e)) - return 0; - const t = String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/); - return !t || t.length < 2 ? 0 : Math.max(0, (t[1] ? t[1].length : 0) - (t[2] ? Number(t[2]) : 0)); - } - /** - * In order to always keep the visual UI representation and the internal - * state in sync, the component has a 'state storage' that is updated when the - * current state is changed due to a user action. - * - * Check if the previously saved state is outdated. That would mean - * a property has been changed programmatically because the previous state - * is always updated in the interaction handlers. - * - * Will return true if any of the properties is not equal to its previously - * stored value. - * - * @protected - */ - isCurrentStateOutdated() { - return Object.entries(this._stateStorage).some(([e, t]) => this[e] !== t); - } - /** - * Returns the last stored value of a property - * - * @protected - */ - getStoredPropertyState(e) { - return this._stateStorage[e]; - } - /** - * Check if one or more properties have been updated compared to their last - * saved values in the state storage. - * - * @protected - */ - isPropertyUpdated(...e) { - return e.some((t) => this.getStoredPropertyState(t) !== this[t]); - } - /** - * Updates the previously saved in the _stateStorage values of one or more properties. - * - * @protected - */ - storePropertyState(...e) { - e.forEach((t) => { - this._stateStorage[t] = this[t]; - }); - } - /** - * Returns the start side of a direction - left for LTR, right for RTL - */ - get directionStart() { - return this.effectiveDir === "rtl" ? "right" : "left"; - } - /** - * Calculates the labels amount, width and text and creates them - * - * @private - */ - _createLabels() { - if (!this.labelInterval || !this.showTickmarks) - return; - const e = this.labelInterval, t = this._effectiveStep, o = (this._effectiveMax - this._effectiveMin) / (t * e); - if (o === this._oldNumberOfLabels && this._oldMin === this._effectiveMin && this._oldMax === this._effectiveMax) - return; - this._oldMin = this._effectiveMin, this._oldMax = this._effectiveMax, this._oldNumberOfLabels = o, this._labelWidth = 100 / o, this._labelValues = []; - const r = vr._getDecimalPrecisionOfNumber(t); - for (let n = 0; n <= o; n++) { - const s = (n * t * e + this._effectiveMin).toFixed(r); - this._labelValues.push(s); - } - } - _handleActionKeyPressBase(e, t) { - const o = vr._isIncreaseValueAction(e), r = vr._isBigStepAction(e), n = this[t], s = this._effectiveMin, l = this._effectiveMax; - let T = this.effectiveDir === "rtl" ? -this._effectiveStep : this._effectiveStep; - return T = r && (l - s) / T > 10 ? (l - s) / 10 : T, Ii(e) ? l - n : qt(e) ? (n - s) * -1 : o ? T : T * -1; - } - static _isDecreaseValueAction(e) { - return Ue(e) || Fn(e) || Ct(e) || Cl(e) || L2(e) || Ji(e); - } - static _isIncreaseValueAction(e) { - return Ye(e) || Ln(e) || dt(e) || Ds(e) || M2(e) || Ri(e); - } - static _isBigStepAction(e) { - return Fn(e) || Ln(e) || Cl(e) || Ds(e) || Ri(e) || Ji(e); - } - get _tickmarksCount() { - return (this._effectiveMax - this._effectiveMin) / this._effectiveStep; - } - /** - * Calculates space between tickmarks - * - * @private - */ - _spaceBetweenTickmarks() { - return this.getBoundingClientRect().width / this._tickmarksCount; - } - /** - * Notify in case of a invalid step value type - * - * @private - */ - _validateStep(e) { - e === 0 && console.warn("The 'step' property must be a positive float number"), e < 0 && console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"), Number.isNaN(e) && console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1"); - } - get _labels() { - return this._labelValues || []; - } - /** - * Normalizes a new step property value. - * If tickmarks are enabled recreates them according to it. - * - * @private - */ - get _effectiveStep() { - let e = this.step; - return e < 0 && (e = Math.abs(e)), Number.isNaN(e) && (e = 1), e; - } - get _effectiveMin() { - return Math.min(this.min, this.max); - } - get _effectiveMax() { - return Math.max(this.min, this.max); - } - get _tabIndex() { - return this.disabled ? "-1" : "0"; - } - get _ariaLabelledByHandleRefs() { - return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim(); - } -}; -lr([ - x({ validator: Kt, defaultValue: 0 }) -], to.prototype, "min", void 0); -lr([ - x({ validator: Kt, defaultValue: 100 }) -], to.prototype, "max", void 0); -lr([ - x({ validator: Kt, defaultValue: 1 }) -], to.prototype, "step", void 0); -lr([ - x({ validator: ne, defaultValue: 0 }) -], to.prototype, "labelInterval", void 0); -lr([ - x({ type: Boolean }) -], to.prototype, "showTickmarks", void 0); -lr([ - x({ type: Boolean }) -], to.prototype, "showTooltip", void 0); -lr([ - x({ type: Boolean }) -], to.prototype, "disabled", void 0); -lr([ - x() -], to.prototype, "accessibleName", void 0); -lr([ - x({ defaultValue: "hidden" }) -], to.prototype, "_tooltipVisibility", void 0); -lr([ - x({ type: Boolean }) -], to.prototype, "_labelsOverlapping", void 0); -lr([ - x({ type: Boolean }) -], to.prototype, "_hiddenTickmarks", void 0); -to = vr = lr([ - U("change"), - U("input") - /** - * @class - * - *

    Overview

    - * - * @constructor - * @extends UI5Element - * @public - */ -], to); -const nn = to; -function XR(i, e, t) { - return t ? y`
    ${this.step ? U5.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} name="direction-arrows" part="icon-slider" slider-icon>${this.showTooltip ? q5.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    ` : y`
    ${this.step ? U5.call(this, i, e, t) : void 0}
    ${this.showTooltip ? q5.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `; -} -function U5(i, e, t) { - return y`${this.showTickmarks ? KR.call(this, i, e, t) : void 0}`; -} -function KR(i, e, t) { - return y`
      ${Y(this.tickmarksObject, (o, r) => o._id || r, (o, r) => ZR.call(this, i, e, t, o, r))}
    ${this.labelInterval ? eN.call(this, i, e, t) : void 0}`; -} -function ZR(i, e, t, o, r) { - return y`${o ? QR.call(this, i, e, t, o, r) : JR.call(this, i, e, t, o, r)}`; -} -function QR(i, e, t, o, r) { - return y`
  • `; -} -function JR(i, e, t, o, r) { - return y`
  • `; -} -function eN(i, e, t) { - return y`
      ${Y(this._labels, (o, r) => o._id || r, (o, r) => tN.call(this, i, e, t, o, r))}
    `; -} -function tN(i, e, t, o, r) { - return y`
  • ${a(o)}
  • `; -} -function q5(i, e, t) { - return y`
    ${a(this.tooltipValue)}
    `; -} -var K6 = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Fd; -let vu = Fd = class extends nn { - constructor() { - super(), this._progressPercentage = 0, this._handlePositionFromStart = 0, this._stateStorage.value = void 0; - } - /** - * - * Check if the previously saved state is outdated. That would mean - * either it is the initial rendering or that a property has been changed - * programmatically - because the previous state is always updated in - * the interaction handlers. - * - * Normalize current properties, update the previously stored state. - * Update the visual UI representation of the Slider. - * - */ - onBeforeRendering() { - this.isCurrentStateOutdated() && (this.notResized = !0, this.syncUIAndState(), this._updateHandleAndProgress(this.value)); - } - syncUIAndState() { - this.isPropertyUpdated("step") && (this._validateStep(this.step), this.storePropertyState("step")), this.isPropertyUpdated("min", "max", "value") && (this.storePropertyState("min", "max"), this.value = nn.clipValue(this.value, this._effectiveMin, this._effectiveMax), this.updateStateStorageAndFireInputEvent("value"), this.storePropertyState("value")), this.labelInterval && this.showTickmarks && this._createLabels(), this.isPropertyUpdated("labelInterval") && this.storePropertyState("labelInterval"); - } - /** - * Called when the user starts interacting with the slider - * - * @private - */ - _onmousedown(e) { - if (this.disabled || this.step === 0) - return; - const t = this.handleDownBase(e); - this._valueOnInteractionStart = this.value, this._valueInitial === void 0 && (this._valueInitial = this.value); - const o = this.constructor; - this._isHandlePressed(o.getPageXValueFromEvent(e)) || (this._updateHandleAndProgress(t), this.value = t, this.updateStateStorageAndFireInputEvent("value")); - } - _onfocusin() { - this._valueInitial === void 0 && (this._valueInitial = this.value), this.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.VISIBLE); - } - _onfocusout() { - if (this._isFocusing()) { - this._preventFocusOut(); - return; - } - this._valueInitial = void 0, this.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.HIDDEN); - } - /** - * Called when the user moves the slider - * - * @private - */ - _handleMove(e) { - if (e.preventDefault(), this.disabled || this._effectiveStep === 0) - return; - const o = this.constructor.getValueFromInteraction(e, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart); - this._updateHandleAndProgress(o), this.value = o, this.updateStateStorageAndFireInputEvent("value"); - } - /** Called when the user finish interacting with the slider - * - * @private - */ - _handleUp() { - this._valueOnInteractionStart !== this.value && this.fireEvent("change"), this.handleUpBase(), this._valueOnInteractionStart = void 0; - } - /** Determines if the press is over the handle - * - * @private - */ - _isHandlePressed(e) { - const t = this._sliderHandle.getBoundingClientRect(); - return e >= t.left && e <= t.right; - } - /** Updates the UI representation of the progress bar and handle position - * - * @private - */ - _updateHandleAndProgress(e) { - const t = this._effectiveMax, o = this._effectiveMin; - this._progressPercentage = (e - o) / (t - o), this._handlePositionFromStart = this._progressPercentage * 100; - } - _handleActionKeyPress(e) { - const t = this._effectiveMin, o = this._effectiveMax, r = this.value, n = this.constructor, s = Ni(e) ? this._valueInitial : n.clipValue(this._handleActionKeyPressBase(e, "value") + r, t, o); - s !== r && (this._updateHandleAndProgress(s), this.value = s, this.updateStateStorageAndFireInputEvent("value")); - } - get styles() { - return { - progress: { - transform: `scaleX(${this._progressPercentage})`, - "transform-origin": `${this.directionStart} top` - }, - handle: { - [this.directionStart]: `${this._handlePositionFromStart}%` - }, - label: { - width: `${this._labelWidth}%` - }, - labelContainer: { - width: "100%", - [this.directionStart]: `-${this._labelWidth / 2}%` - }, - tooltip: { - visibility: `${this._tooltipVisibility}` - } - }; - } - get _sliderHandle() { - return this.shadowRoot.querySelector(".ui5-slider-handle"); - } - get tooltipValue() { - const t = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep); - return this.value.toFixed(t); - } - get _ariaDisabled() { - return this.disabled || void 0; - } - get _ariaLabelledByText() { - return Fd.i18nBundle.getText(T4); - } - static async onDefine() { - Fd.i18nBundle = await pe("@ui5/webcomponents"); - } - get tickmarksObject() { - const e = this._tickmarksCount, t = []; - if (this._hiddenTickmarks) - return [!0, !1]; - for (let o = 0; o <= e; o++) - t.push(this._effectiveMin + o * this.step <= this.value); - return t; - } -}; -K6([ - x({ validator: Kt, defaultValue: 0 }) -], vu.prototype, "value", void 0); -vu = Fd = K6([ - X({ - tag: "ui5-slider", - languageAware: !0, - template: XR, - dependencies: [Pe] - }) -], vu); -vu.define(); -const iN = vu; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const oN = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPicker.css.ts", content: `:host(:not([hidden])){display:inline-block}.ui5-color-picker-root{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.ui5-color-picker-main-color{width:16rem;height:16rem;position:relative;margin-bottom:1.5rem;border:1px solid var(--sapContent_ForegroundBorderColor);background-size:100%;background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0)),-webkit-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0)),-moz-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:linear-gradient(left,#000,#0000),linear-gradient(top,#fff0,#fff);background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-webkit-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-moz-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:linear-gradient(left,#000,#0000,#fff),linear-gradient(top,#80808000,gray);user-select:none;-moz-user-select:none}.ui5-color-picker-circle{position:absolute;box-sizing:border-box;width:13px;height:13px;border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_outer_border);border-radius:.6875rem;pointer-events:none}.ui5-color-picker-circle:after{content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);height:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_border);border-radius:.9375rem;pointer-events:none}.ui5-color-picker-sliders-wrapper{width:calc(100% - 11px);margin-left:-10px}[ui5-slider]{--_ui5-v1-22-1-rc-0_slider_active_progress_border: none;--_ui5-v1-22-1-rc-0_slider_progress_box_sizing: content-box}[ui5-slider]::part(handle){width:.9375rem;height:1.5rem;background:transparent;margin-left:-2px;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top);box-sizing:border-box}[ui5-slider]::part(handle):after{content:"";border:2px solid #fff;display:block;height:1.25rem;border-radius:1rem;width:100%;box-sizing:border-box}[ui5-slider]::part(root-container){padding:1rem 0}[ui5-slider]::part(progress-container){width:calc(100% + 11px);height:18px;position:absolute;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top);border-radius:0;border:1px solid var(--sapField_BorderColor)}[ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-size:100%;background-image:-webkit-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(left,red,#ff0,#0f0,#0ff,#00f,#f0f,red);background-color:none}[ui5-slider].ui5-color-picker-alpha-slider::part(progress-container){background-image:-webkit-linear-gradient(left,rgba(65,120,13,0),var(--ui5-v1-22-1-rc-0_Color_Picker_Progress_Container_Color)),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}[ui5-slider]::part(progress-bar){background:transparent}.ui5-color-picker-current-color{width:100%;display:flex;justify-content:space-around;align-items:center}.ui5-color-picker-colors-wrapper{display:flex;flex-wrap:nowrap;height:1.5rem;border:1px solid var(--sapField_BorderColor)}.ui5-color-picker-white,.ui5-color-picker-color{width:3.1rem;background:#fff;display:block}.ui5-color-picker-color{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}.ui5-color-picker-color-inner{width:100%;height:100%}.ui5-color-picker-hex-input-wrapper{display:flex;align-items:center;flex-wrap:nowrap}.ui5-color-picker-hex-input{width:4.5rem;min-width:4.5rem;margin-left:.2rem}.ui5-color-picker-rgb-wrapper{display:flex;justify-content:space-around;width:100%}.ui5-color-picker-rgb{display:flex;flex-direction:column;align-items:center;margin-top:1rem}.ui5-color-picker-rgb-input{width:2.5rem;min-width:2.5rem;text-align:center}.ui5-color-picker-hue-slider::part(progress-container):before,.ui5-color-picker-alpha-slider::part(progress-container):before,.ui5-color-picker-hue-slider::part(progress-container):after,.ui5-color-picker-alpha-slider::part(progress-container):after,[ui5-slider].ui5-color-picker-hue-slider::part(icon-slider),[ui5-slider].ui5-color-picker-alpha-slider::part(icon-slider){display:none}.ui5-color-picker-alpha-slider::part(handle),.ui5-color-picker-hue-slider::part(handle){box-shadow:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_box_shadow);border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_border)}.ui5-color-picker-alpha-slider::part(handle):hover,.ui5-color-picker-hue-slider::part(handle):hover{border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_hover)}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{outline:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_focus);outline-offset:.0625rem}.ui5-color-picker-alpha-slider::part(handle):focus:before,.ui5-color-picker-hue-slider::part(handle):focus:before{content:"";border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_inline_focus);display:block;height:1.625rem;border-radius:1rem;width:1.05rem;box-sizing:border-box;position:absolute;inset:-3px -3px 2px}.ui5-color-picker-alpha-slider::part(handle):before,.ui5-color-picker-hue-slider::part(handle):before{display:none}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_focus_margin_top)}[dir=rtl] [ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-image:-webkit-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}[dir=rtl] .ui5-color-picker-alpha-slider::part(handle),[dir=rtl] .ui5-color-picker-hue-slider::part(handle){--_ui5-v1-22-1-rc-0_slider_handle_margin_left: 0}[dir=rtl] .ui5-color-picker-sliders-wrapper{margin-left:10px} -` }; -var zr = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Kr; -const pa = 6.5; -let io = Kr = class extends te { - static async onDefine() { - Kr.i18nBundle = await pe("@ui5/webcomponents"); - } - constructor() { - super(), this._selectedCoordinates = { - x: 256 - pa, - y: 256 - pa - }, this._mainColor = { - r: 255, - g: 0, - b: 0 - }, this.selectedHue = 0, this.mouseDown = !1, this.mouseIn = !1; - } - onBeforeRendering() { - this._color = nR(this.color); - const e = `rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, 1)`; - this._setHex(), this._setValues(), this.style.setProperty(Bo("--ui5_Color_Picker_Progress_Container_Color"), e); - } - _handleMouseDown(e) { - this.mouseDown = !0, this.mouseIn = !0, this._changeSelectedColor(e.offsetX, e.offsetY); - } - _handleMouseUp() { - this.mouseDown = !1; - } - _handleMouseOut(e) { - if (!this.mouseIn || !this.mouseDown) - return; - const t = e.target, o = t.offsetHeight, r = t.offsetWidth, n = e.offsetX <= 0, s = e.offsetY <= 0, l = e.offsetY >= t.offsetHeight, T = e.offsetX >= t.offsetWidth; - let w, S; - n ? w = 0 : T ? w = r : w = e.offsetX, s ? S = 0 : l ? S = o : S = e.offsetY, this._changeSelectedColor(w, S), this.mouseIn = !1, this.mouseDown = !1; - } - _handleMouseMove(e) { - !this.mouseDown || !this.mouseIn || this._changeSelectedColor(e.offsetX, e.offsetY); - } - _handleAlphaInput(e) { - const t = e.target.value; - this._alpha = parseFloat(t), this._setColor(this._color); - } - _handleHueInput(e) { - this.selectedHue = e.target.value, this._hue = this.selectedHue, this._setMainColor(this._hue), this._isHueValueChanged = !0; - const t = this._selectedCoordinates.x + pa, o = this._selectedCoordinates.y + pa, r = this._calculateColorFromCoordinates(t, o); - r && this._setColor(E5(r)); - } - _handleHEXChange(e) { - const t = new RegExp("^[<0-9 abcdef]+$"), o = e.target; - let r = o.value.toLowerCase(); - r.length === 3 && (r = `${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`); - const n = r.length === 6 && t.test(r); - n && o.value !== r && (this._wrongHEX = !1, o.value = r), r !== this.hex && (this.hex = r, n ? (this._wrongHEX = !1, this._setColor(q6(this.hex))) : this._wrongHEX = !0); - } - _handleRGBInputsChange(e) { - const t = e.target, o = parseInt(t.value) || 0; - let r; - switch (t.id) { - case "red": - r = { ...this._color, r: o }; - break; - case "green": - r = { ...this._color, g: o }; - break; - case "blue": - r = { ...this._color, b: o }; - break; - default: - r = { ...this._color }; - } - this._setColor(r); - } - _setMainColor(e) { - e <= 255 ? this._mainColor = { - r: 255, - g: e, - b: 0 - } : e <= 510 ? this._mainColor = { - r: 255 - (e - 255), - g: 255, - b: 0 - } : e <= 765 ? this._mainColor = { - r: 0, - g: 255, - b: e - 510 - } : e <= 1020 ? this._mainColor = { - r: 0, - g: 765 - (e - 255), - b: 255 - } : e <= 1275 ? this._mainColor = { - r: e - 1020, - g: 0, - b: 255 - } : this._mainColor = { - r: 255, - g: 0, - b: 1275 - (e - 255) - }; - } - _handleAlphaChange() { - this._alpha = this._alpha < 0 ? 0 : this._alpha, this._alpha = this._alpha > 1 ? 1 : this._alpha; - } - _changeSelectedColor(e, t) { - this._selectedCoordinates = { - x: e - pa, - y: t - pa - // Center the coordinates, because of the height of the circle - }, this._isSelectedColorChanged = !0; - const o = this._calculateColorFromCoordinates(e, t); - o && this._setColor(E5(o)); - } - _onkeydown(e) { - Se(e) && this._handleHEXChange(e); - } - _calculateColorFromCoordinates(e, t) { - const o = this._hue / 4.251, r = 1 - +(Math.round(parseFloat(t / 256 + "e+2")) + "e-2"), n = +(Math.round(parseFloat(e / 256 + "e+2")) + "e-2"); - if (!(!r || !n)) - return { - h: o, - s: r, - l: n - }; - } - _setColor(e = { r: 0, g: 0, b: 0 }) { - this.color = `rgba(${e.r}, ${e.g}, ${e.b}, ${this._alpha})`, this._wrongHEX = !this.isValidRGBColor(e), this.fireEvent("change"); - } - isValidRGBColor(e) { - return e.r >= 0 && e.r <= 255 && e.g >= 0 && e.g <= 255 && e.b >= 0 && e.b <= 255; - } - _setHex() { - let e = this._color.r.toString(16), t = this._color.g.toString(16), o = this._color.b.toString(16); - e.length === 1 && (e = `0${e}`), t.length === 1 && (t = `0${t}`), o.length === 1 && (o = `0${o}`), this.hex = e + t + o; - } - _setValues() { - const e = lR(this._color); - this._selectedCoordinates = { - x: Math.round(e.l * 100) * 2.56 - pa, - y: 256 - Math.round(e.s * 100) * 2.56 - pa - // Center the coordinates, because of the height of the circle - }, this._isSelectedColorChanged ? this._isSelectedColorChanged = !1 : this._isHueValueChanged ? (this._isHueValueChanged = !1, this._hue = this.selectedHue ? this.selectedHue : this._hue) : this._hue = Math.round(e.h * 4.25), this._setMainColor(this._hue); - } - get hueSliderLabel() { - return Kr.i18nBundle.getText(E3); - } - get alphaSliderLabel() { - return Kr.i18nBundle.getText(A3); - } - get hexInputLabel() { - return Kr.i18nBundle.getText(B3); - } - get redInputLabel() { - return Kr.i18nBundle.getText(D3); - } - get greenInputLabel() { - return Kr.i18nBundle.getText(P3); - } - get blueInputLabel() { - return Kr.i18nBundle.getText(O3); - } - get alphaInputLabel() { - return Kr.i18nBundle.getText(R3); - } - get inputsDisabled() { - return this._wrongHEX ? !0 : void 0; - } - get hexInputErrorState() { - return this._wrongHEX ? "Error" : void 0; - } - get styles() { - return { - mainColor: { - "background-color": `rgb(${this._mainColor.r}, ${this._mainColor.g}, ${this._mainColor.b})` - }, - circle: { - left: `${this._selectedCoordinates.x}px`, - top: `${this._selectedCoordinates.y}px` - }, - colorSpan: { - "background-color": `rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, ${this._alpha})` - } - }; - } -}; -zr([ - x({ validator: Ju, defaultValue: "rgba(255, 255, 255, 1)" }) -], io.prototype, "color", void 0); -zr([ - x({ defaultValue: "ffffff", noAttribute: !0 }) -], io.prototype, "hex", void 0); -zr([ - x({ type: Object }) -], io.prototype, "_mainColor", void 0); -zr([ - x({ type: Object }) -], io.prototype, "_color", void 0); -zr([ - x({ type: Object }) -], io.prototype, "_selectedCoordinates", void 0); -zr([ - x({ validator: Kt, defaultValue: 1 }) -], io.prototype, "_alpha", void 0); -zr([ - x({ validator: ne, defaultValue: 0 }) -], io.prototype, "_hue", void 0); -zr([ - x({ type: Boolean }) -], io.prototype, "_isSelectedColorChanged", void 0); -zr([ - x({ type: Boolean }) -], io.prototype, "_isHueValueChanged", void 0); -zr([ - x({ type: Boolean }) -], io.prototype, "_wrongHEX", void 0); -io = Kr = zr([ - X({ - tag: "ui5-color-picker", - renderer: ue, - styles: oN, - template: cR, - dependencies: [ - Ar, - iN, - Jn - ] - }), - U("change") -], io); -io.define(); -const rN = io; -function nN(i, e, t) { - return y`
    ${this.hasValueState ? aN.call(this, i, e, t) : void 0}${this._effectiveShowClearIcon ? sN.call(this, i, e, t) : void 0}${this.icon ? lN.call(this, i, e, t) : void 0}${this.readonly ? void 0 : cN.call(this, i, e, t)}
    `; -} -function aN(i, e, t) { - return y`${a(this.ariaValueStateHiddenText)}`; -} -function sN(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; -} -function lN(i, e, t) { - return y``; -} -function cN(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="slim-arrow-down" slot="icon" tabindex="-1" input-icon ?pressed="${this._iconPressed}" @click="${this._arrowClick}" accessible-name="${a(this._iconAccessibleNameText)}">` : y``; -} -function uN(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} class="${W(this.classes.popover)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${G(this.styles.suggestionsPopover)}" @ui5-after-open=${a(this._afterOpenPopover)} @ui5-after-close=${a(this._afterClosePopover)}><${E("ui5-busy-indicator", e, t)} ?active=${this.loading} size="Medium" class="ui5-combobox-busy">${this._isPhone ? W5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : K5.call(this, i, e, t)}<${E("ui5-list", e, t)} class="ui5-combobox-items-list" separators="None" @ui5-item-click=${a(this._selectItem)} @ui5-item-focused=${a(this._onItemFocus)} @mousedown=${this._itemMousedown} mode="SingleSelect">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => J5.call(this, i, e, t, o, r))}${this._isPhone ? em.call(this, i, e, t) : void 0}${this.shouldOpenValueStateMessagePopover ? tm.call(this, i, e, t) : void 0} ` : y`${this._isPhone ? W5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : K5.call(this, i, e, t)}${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => J5.call(this, i, e, t, o, r))}${this._isPhone ? em.call(this, i, e, t) : void 0}${this.shouldOpenValueStateMessagePopover ? tm.call(this, i, e, t) : void 0} `; -} -function W5(i, e, t) { - return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${E("ui5-input", e, t)} .value="${a(this.value)}" @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._inputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this.valueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => j5.call(this, i, e, t, o, r))}
    ${this.hasValueStateText ? G5.call(this, i, e, t) : void 0}` : y`
    ${a(this._headerTitleText)}
    ${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => j5.call(this, i, e, t, o, r))}
    ${this.hasValueStateText ? G5.call(this, i, e, t) : void 0}`; -} -function j5(i, e, t, o, r) { - return t ? y`<${E("ui5-suggestion-item", e, t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">` : y``; -} -function G5(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? Y5.call(this, i, e, t) : X5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? Y5.call(this, i, e, t) : X5.call(this, i, e, t)}
    `; -} -function Y5(i, e, t) { - return y`${a(this.valueStateDefaultText)}`; -} -function X5(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => dN.call(this, i, e, t, o, r))}`; -} -function dN(i, e, t, o, r) { - return y`${a(o)}`; -} -function K5(i, e, t) { - return y`${this.hasValueStateText ? hN.call(this, i, e, t) : void 0}`; -} -function hN(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? Z5.call(this, i, e, t) : Q5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? Z5.call(this, i, e, t) : Q5.call(this, i, e, t)}
    `; -} -function Z5(i, e, t) { - return y`${a(this.valueStateDefaultText)}`; -} -function Q5(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => _N.call(this, i, e, t, o, r))}`; -} -function _N(i, e, t, o, r) { - return y`${a(o)}`; -} -function J5(i, e, t, o, r) { - return y`${o.isGroupItem ? pN.call(this, i, e, t, o, r) : fN.call(this, i, e, t, o, r)}`; -} -function pN(i, e, t, o, r) { - return t ? y`<${E("ui5-li-groupheader", e, t)} ?focused=${o.focused}>${a(o.text)}` : y`${a(o.text)}`; -} -function fN(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} type="Active" wrapping-type="Normal" additional-text=${a(o.additionalText)} group-name=${a(o.groupName)} ._tabIndex=${a(o.itemTabIndex)} .mappedItem=${a(o)} ?selected=${o.selected} ?focused=${o.focused}>${a(o.text)}` : y`${a(o.text)}`; -} -function em(i, e, t) { - return t ? y`` : y``; -} -function tm(i, e, t) { - return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}" placement-type="Bottom">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? im.call(this, i, e, t) : om.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? im.call(this, i, e, t) : om.call(this, i, e, t)}
    `; -} -function im(i, e, t) { - return y`${a(this.valueStateDefaultText)}`; -} -function om(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => vN.call(this, i, e, t, o, r))}`; -} -function vN(i, e, t, o, r) { - return y`${a(o)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const mN = { packageName: "@ui5/webcomponents", fileName: "themes/ComboBox.css.ts", content: `: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-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.ui5-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const gN = { packageName: "@ui5/webcomponents", fileName: "themes/ComboBoxPopover.css.ts", content: `.ui5-combobox-busy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:42;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:all}.ui5-combobox-busy:not([active]){display:none} -` }; -var ed = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let za = class extends te { - /** - * Used to avoid tag name checks - * @protected - */ - get isGroupItem() { - return !1; - } -}; -ed([ - x() -], za.prototype, "text", void 0); -ed([ - x() -], za.prototype, "additionalText", void 0); -ed([ - x({ type: Boolean }) -], za.prototype, "focused", void 0); -ed([ - x({ type: Boolean }) -], za.prototype, "selected", void 0); -za = ed([ - X("ui5-cb-item") -], za); -za.define(); -const Z6 = za; -var Ev = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Rl = class extends te { - /** - * Used to avoid tag name checks - * @protected - */ - get isGroupItem() { - return !0; - } -}; -Ev([ - x() -], Rl.prototype, "text", void 0); -Ev([ - x({ type: Boolean }) -], Rl.prototype, "focused", void 0); -Rl = Ev([ - X("ui5-cb-group-item") -], Rl); -Rl.define(); -const bN = Rl; -function yN(i, e, t) { - return y`
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const wN = { packageName: "@ui5/webcomponents", fileName: "themes/GroupHeaderListItem.css.ts", content: `.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-v1-22-1-rc-0_group_header_list_item_height);background:var(--ui5-v1-22-1-rc-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}.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)} -` }; -var Q6 = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, zd; -let mu = zd = class extends Yu { - get groupItem() { - return !0; - } - get groupHeaderText() { - return zd.i18nBundle.getText(U3); - } - get ariaLabelText() { - return [this.textContent, this.accessibleName].filter(Boolean).join(" "); - } - static async onDefine() { - zd.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -Q6([ - x() -], mu.prototype, "accessibleName", void 0); -mu = zd = Q6([ - X({ - tag: "ui5-li-groupheader", - languageAware: !0, - template: yN, - styles: [Yu.styles, wN] - }) -], mu); -mu.define(); -const td = mu; -var m1; -(function(i) { - i.StartsWithPerTerm = "StartsWithPerTerm", i.StartsWith = "StartsWith", i.Contains = "Contains", i.None = "None"; -})(m1 || (m1 = {})); -const vh = m1; -function CN(i, e, t) { - return y`
  • ${this.placeSelectionElementBefore ? SN.call(this, i, e, t) : void 0}
    ${this.hasImageContent ? AN.call(this, i, e, t) : EN.call(this, i, e, t)}${this.displayIconBegin ? DN.call(this, i, e, t) : void 0}
    ${this.hasTitle ? PN.call(this, i, e, t) : void 0}${this.hasDescription ? ON.call(this, i, e, t) : void 0}${this.typeActive ? void 0 : LN.call(this, i, e, t)}
    ${this.hasDescription ? void 0 : FN.call(this, i, e, t)}
    ${this.displayIconEnd ? HN.call(this, i, e, t) : void 0}${this.typeDetail ? VN.call(this, i, e, t) : void 0}${this.typeNavigation ? UN.call(this, i, e, t) : void 0}${this.navigated ? qN.call(this, i, e, t) : void 0}${this.placeSelectionElementAfter ? WN.call(this, i, e, t) : void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `; -} -function SN(i, e, t) { - return y`${this.modeSingleSelect ? TN.call(this, i, e, t) : void 0}${this.modeMultiSelect ? IN.call(this, i, e, t) : void 0}${this.renderDeleteButton ? kN.call(this, i, e, t) : void 0}`; -} -function TN(i, e, t) { - return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; -} -function IN(i, e, t) { - return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; -} -function kN(i, e, t) { - return y`
    ${this.hasDeleteButtonSlot ? $N.call(this, i, e, t) : xN.call(this, i, e, t)}
    `; -} -function $N(i, e, t) { - return y``; -} -function xN(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; -} -function AN(i, e, t) { - return y`
    `; -} -function EN(i, e, t) { - return y`${this.displayImage ? BN.call(this, i, e, t) : void 0}`; -} -function BN(i, e, t) { - return t ? y`<${E("ui5-avatar", e, t)} shape="Square" class="ui5-li-img">` : y``; -} -function DN(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">` : y``; -} -function PN(i, e, t) { - return y``; -} -function ON(i, e, t) { - return y`
    ${this.richDescription.length ? RN.call(this, i, e, t) : NN.call(this, i, e, t)}${this.additionalText ? MN.call(this, i, e, t) : void 0}
    `; -} -function RN(i, e, t) { - return y``; -} -function NN(i, e, t) { - return y`${a(this.description)}`; -} -function MN(i, e, t) { - return y`${a(this.additionalText)}`; -} -function LN(i, e, t) { - return y`${a(this.type)}`; -} -function FN(i, e, t) { - return y`${this.additionalText ? zN.call(this, i, e, t) : void 0}`; -} -function zN(i, e, t) { - return y`${a(this.additionalText)}`; -} -function HN(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">` : y``; -} -function VN(i, e, t) { - return t ? y`
    <${E("ui5-button", e, t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    ` : y`
    `; -} -function UN(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name ="slim-arrow-right">` : y``; -} -function qN(i, e, t) { - return y`
    `; -} -function WN(i, e, t) { - return y`${this.modeSingleSelect ? jN.call(this, i, e, t) : void 0}${this.modeMultiSelect ? GN.call(this, i, e, t) : void 0}${this.renderDeleteButton ? YN.call(this, i, e, t) : void 0}`; -} -function jN(i, e, t) { - return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; -} -function GN(i, e, t) { - return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; -} -function YN(i, e, t) { - return y`
    ${this.hasDeleteButtonSlot ? XN.call(this, i, e, t) : KN.call(this, i, e, t)}
    `; -} -function XN(i, e, t) { - return y``; -} -function KN(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; -} -var Bv = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Nl = class extends ea { - onBeforeRendering() { - super.onBeforeRendering(), this.hasTitle = !!this.titleText.length; - } - get effectiveTitle() { - return this.titleText.filter((e) => e.nodeType !== Node.COMMENT_NODE).map((e) => e.textContent).join(""); - } - get hasDescription() { - return this.richDescription.length || this.description; - } - get groupItem() { - return !1; - } -}; -Bv([ - K({ type: HTMLElement }) -], Nl.prototype, "richDescription", void 0); -Bv([ - K({ type: Node, default: !0 }) -], Nl.prototype, "titleText", void 0); -Nl = Bv([ - X({ - tag: "ui5-li-suggestion-item", - template: CN - }) -], Nl); -Nl.define(); -const J6 = Nl; -var ia = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Jo = class extends te { - get groupItem() { - return !1; - } -}; -ia([ - x() -], Jo.prototype, "text", void 0); -ia([ - x({ type: Ut, defaultValue: Ut.Active }) -], Jo.prototype, "type", void 0); -ia([ - x() -], Jo.prototype, "description", void 0); -ia([ - x() -], Jo.prototype, "icon", void 0); -ia([ - x({ type: Boolean }) -], Jo.prototype, "iconEnd", void 0); -ia([ - x() -], Jo.prototype, "image", void 0); -ia([ - x() -], Jo.prototype, "additionalText", void 0); -ia([ - x({ type: q, defaultValue: q.None }) -], Jo.prototype, "additionalTextState", void 0); -Jo = ia([ - X({ - tag: "ui5-suggestion-item", - dependencies: [J6] - }) -], Jo); -Jo.define(); -const eC = Jo; -var gt = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, hi; -const Cd = 10; -var g1; -(function(i) { - i.Error = "error", i.Warning = "alert", i.Success = "sys-enter-2", i.Information = "information"; -})(g1 || (g1 = {})); -let lt = hi = class extends te { - constructor() { - super(), this._filteredItems = [], this._initialRendering = !0, this._itemFocused = !1, this._autocomplete = !1, this._isKeyNavigation = !1, this._lastValue = this.getAttribute("value") || "", this._selectionPerformed = !1, this._selectedItemText = "", this._userTypedValue = ""; - } - onBeforeRendering() { - const e = this.valueStatePopover; - this.FormSupport = ze("FormSupport"), this._effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled, (this._initialRendering || this.filter === "None") && (this._filteredItems = this.items), this.open && !this._isKeyNavigation && (this._filteredItems = this._filterItems(this.filterValue)), !this._initialRendering && document.activeElement === this && !this._filteredItems.length && (e == null || e.close()), this._selectMatchingItem(), this._initialRendering = !1, this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`); - } - get iconsCount() { - var r; - const e = ((r = this.icon) == null ? void 0 : r.length) || 0, t = Number(this._effectiveShowClearIcon) ?? 0, o = this.readonly ? 0 : 1; - return e + t + o; - } - async onAfterRendering() { - const e = await this._getPicker(); - await this.shouldClosePopover() && !ce() && (e.close(!1, !1, !0), this._clearFocus(), this._itemFocused = !1), this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover), this.storeResponsivePopoverWidth(), ce() && (this.value = this.inner.value, this._selectMatchingItem()); - } - async shouldClosePopover() { - return (await this._getPicker()).opened && !this.focused && !this._itemFocused && !this._isValueStateFocused; - } - _focusin(e) { - this.focused = !0, this._autocomplete = !1, !ce() && e.target.setSelectionRange(0, this.value.length); - } - _focusout(e) { - var s; - const t = e.relatedTarget, o = (s = t == null ? void 0 : t.shadowRoot) == null ? void 0 : s.querySelector(".ui5-valuestatemessage-root"), r = this.shadowRoot.querySelector(".ui5-input-clear-icon-wrapper"), n = r === t || (r == null ? void 0 : r.contains(t)); - if (!(this._effectiveShowClearIcon && n)) { - if (this._fireChangeEvent(), o) { - e.stopImmediatePropagation(); - return; - } - !this.shadowRoot.contains(t) && this.staticAreaItem !== e.relatedTarget && (this.focused = !1, !ce() && this._closeRespPopover(e)); - } - } - _afterOpenPopover() { - this._iconPressed = !0, this.inner.focus(); - } - _afterClosePopover() { - this._iconPressed = !1, this._filteredItems = this.items, this.filterValue = "", ce() && this.blur(), this._selectionPerformed && (this._lastValue = this.value, this._selectionPerformed = !1); - } - async _toggleRespPopover() { - (await this._getPicker()).opened ? this._closeRespPopover() : this._openRespPopover(); - } - async storeResponsivePopoverWidth() { - this.open && !this._listWidth && (this._listWidth = (await this._getPicker()).offsetWidth); - } - toggleValueStatePopover(e) { - e ? this.openValueStatePopover() : this.closeValueStatePopover(); - } - async openValueStatePopover() { - var e; - (e = await this._getValueStatePopover()) == null || e.showAt(this); - } - async closeValueStatePopover() { - var e; - (e = await this._getValueStatePopover()) == null || e.close(); - } - async _getValueStatePopover() { - const t = (await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover"); - return this.valueStatePopover = t, t; - } - _resetFilter() { - this._userTypedValue = "", this.inner.setSelectionRange(0, this.value.length), this._filteredItems = this._filterItems(""), this._selectMatchingItem(); - } - _arrowClick() { - this.inner.focus(), this._resetFilter(), ce() && this.value && !this._lastValue && (this._lastValue = this.value), this._toggleRespPopover(); - } - _handleMobileInput(e) { - const { target: t } = e; - this.filterValue = t.value, this.value = t.value, this.fireEvent("input"); - } - _input(e) { - const { value: t } = e.target, o = this.shouldAutocomplete(e); - if (e.target === this.inner && (e.stopImmediatePropagation(), this.focused = !0, this._isValueStateFocused = !1), this._filteredItems = this._filterItems(t), this.value = t, this.filterValue = t, this._clearFocus(), o && !Rf()) { - const r = this._getFirstMatchingItem(t); - r && this._applyAtomicValueAndSelection(r, t, !0), t !== "" && r && !r.selected && !r.isGroupItem && this.fireEvent("selection-change", { - item: r - }); - } - this.fireEvent("input"), !ce() && (!this._filteredItems.length || t === "" ? this._closeRespPopover() : this._openRespPopover()); - } - shouldAutocomplete(e) { - const t = e.inputType, o = [ - "deleteWordBackward", - "deleteWordForward", - "deleteSoftLineBackward", - "deleteSoftLineForward", - "deleteEntireSoftLine", - "deleteHardLineBackward", - "deleteHardLineForward", - "deleteByDrag", - "deleteByCut", - "deleteContent", - "deleteContentBackward", - "deleteContentForward", - "historyUndo" - ]; - return !this.noTypeahead && !o.includes(t); - } - _startsWithMatchingItems(e) { - return Kh(e, this._filteredItems, "text"); - } - _clearFocus() { - this._filteredItems.map((e) => (e.focused = !1, e)); - } - handleNavKeyPress(e) { - if (this.focused && (qt(e) || Ii(e)) && this.value) - return; - const t = this.open, o = this._filteredItems.find((n) => t ? n.focused : n.selected), r = o ? this._filteredItems.indexOf(o) : -1; - e.preventDefault(), !(this.focused && t && (Ye(e) || Ri(e) || Ji(e))) && (this._filteredItems.length - 1 === r && Ue(e) || (this._isKeyNavigation = !0, (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "PageUp" || e.key === "PageDown" || e.key === "Home" || e.key === "End") && this[`_handle${e.key}`](e, r))); - } - _handleItemNavigation(e, t, o) { - const r = this.open, n = this._filteredItems[t], s = o ? this._filteredItems[t + 1] : this._filteredItems[t - 1], l = n && n.isGroupItem; - if (!r && (l && !s || !l && !n) || (this._clearFocus(), r ? (this._itemFocused = !0, this.value = l ? "" : n.text, this.focused = !1, n.focused = !0) : (this.focused = !0, this.value = l ? s.text : n.text, n.focused = !1), this._isValueStateFocused = !1, this._announceSelectedItem(t), this._scrollToItem(t, o), l && r)) - return; - const T = this._getFirstMatchingItem(this.value); - T && this._applyAtomicValueAndSelection(T, this.open ? this._userTypedValue : "", !0), T && !T.selected && this.fireEvent("selection-change", { - item: T - }), this.fireEvent("input"), this._fireChangeEvent(); - } - _handleArrowDown(e, t) { - const o = this.open; - if (this.focused && t === -1 && this.hasValueStateText && o) { - this._isValueStateFocused = !0, this._announceValueStateText(), this.focused = !1; - return; - } - t = !o && this.hasValueState && t === -1 ? 0 : t, this._handleItemNavigation( - e, - ++t, - !0 - /* isForward */ - ); - } - _handleArrowUp(e, t) { - const o = this.open; - if (t === 0 && !this.hasValueStateText) { - this._clearFocus(), this.focused = !0, this._itemFocused = !1; - return; - } - if (t === 0 && this.hasValueStateText && o) { - this._clearFocus(), this._itemFocused = !1, this._isValueStateFocused = !0, this._announceValueStateText(), this._filteredItems[0].selected = !1; - return; - } - if (this._isValueStateFocused) { - this.focused = !0, this._isValueStateFocused = !1; - return; - } - t = !o && this.hasValueState && t === -1 ? 0 : t, this._handleItemNavigation( - e, - --t, - !1 - /* isForward */ - ); - } - _handlePageUp(e, t) { - const o = t - Cd > -1; - t = o ? t - Cd : 0; - const r = this._filteredItems[t].isGroupItem && !this.open; - if (!o && this.hasValueStateText && this.open) { - this._clearFocus(), this._itemFocused = !1, this._isValueStateFocused = !0, this._announceValueStateText(); - return; - } - this._handleItemNavigation(e, t, r); - } - _handlePageDown(e, t) { - const o = this._filteredItems.length; - t = t + Cd < o ? t + Cd : o - 1; - const n = this._filteredItems[t].isGroupItem && !this.open; - this._handleItemNavigation(e, t, n); - } - _handleHome(e) { - const t = this._filteredItems[0].isGroupItem && !this.open; - if (this.hasValueStateText && this.open) { - this._clearFocus(), this._itemFocused = !1, this._isValueStateFocused = !0, this._announceValueStateText(); - return; - } - this._handleItemNavigation(e, 0, t); - } - _handleEnd(e) { - this._handleItemNavigation( - e, - this._filteredItems.length - 1, - !0 - /* isForward */ - ); - } - _keyup() { - this._userTypedValue = this.value.substring(0, this.inner.selectionStart || 0); - } - _keydown(e) { - const t = Ue(e) || Ye(e) || Ri(e) || Ji(e) || qt(e) || Ii(e), o = this.responsivePopover; - if (this._autocomplete = !(Hu(e) || $l(e)), this._isKeyNavigation = !1, t && !this.readonly && this._filteredItems.length && this.handleNavKeyPress(e), Se(e)) { - const r = this._filteredItems.find((n) => n.focused); - this._fireChangeEvent(), o != null && o.opened && !(r != null && r.isGroupItem) ? (this._closeRespPopover(), this.focused = !0) : this.FormSupport && this.FormSupport.triggerFormSubmit(this); - } - if (Ni(e) && (this.focused = !0, this.value = this.open ? this.value : this._lastValue, this._isValueStateFocused = !1), (Bt(e) || Mi(e)) && this.open && this._closeRespPopover(), zn(e) && !this.readonly && !this.disabled) { - e.preventDefault(), this._resetFilter(), this._toggleRespPopover(); - const r = this._filteredItems.find((n) => n.selected); - r && this.open ? (this._itemFocused = !0, r.focused = !0, this.focused = !1) : this.open && this._filteredItems.length ? this._handleItemNavigation( - e, - 0, - !0 - /* isForward */ - ) : this.focused = !0; - } - } - _click() { - ce() && !this.readonly && this._openRespPopover(); - } - _closeRespPopover(e) { - const t = this.responsivePopover; - e && e.target.classList.contains("ui5-responsive-popover-close-btn") && this._selectedItemText && (this.value = this._selectedItemText, this.filterValue = this._selectedItemText), e && e.target.classList.contains("ui5-responsive-popover-close-btn") && (this.value = this._lastValue || "", this.filterValue = this._lastValue || ""), ce() && this._fireChangeEvent(), this._isValueStateFocused = !1, this._clearFocus(), t == null || t.close(); - } - async _openRespPopover() { - (await this._getPicker()).showAt(this, !0); - } - _filterItems(e) { - const t = this.items.filter((r) => !r.isGroupItem), o = (G6[this.filter] || Av)(e, t, "text"); - return this.items.filter((r, n, s) => hi._groupItemFilter(r, ++n, s, o) || o.indexOf(r) !== -1); - } - /** - * Returns true if the group header should be shown (if there is a filtered suggestion item for this group item) - * - * @private - */ - static _groupItemFilter(e, t, o, r) { - if (e.isGroupItem) { - let n; - for (; o[t] && !o[t].isGroupItem && !n; ) - n = r.indexOf(o[t]) !== -1, t++; - return n; - } - } - _getFirstMatchingItem(e) { - const t = this.items.find((r) => r.focused === !0); - if (t != null && t.isGroupItem) { - this.value = this.filterValue; - return; - } - const o = this._startsWithMatchingItems(e).filter((r) => !r.isGroupItem); - if (o.length) - return o[0]; - } - _applyAtomicValueAndSelection(e, t, o) { - const r = e && e.text || ""; - this.inner.value = r, o && this.inner.setSelectionRange(t.length, r.length), this.value = r; - } - _selectMatchingItem() { - const e = this.items.find((r) => r.focused), t = e && e.isGroupItem, o = this._filteredItems.find((r) => !r.isGroupItem && r.text === this.value && !t); - this._filteredItems = this._filteredItems.map((r) => (r.selected = r === o, r)); - } - _fireChangeEvent() { - this.value !== this._lastValue && (this.fireEvent("change"), this._lastValue = this.value); - } - _inputChange(e) { - e.preventDefault(); - } - _itemMousedown(e) { - e.preventDefault(); - } - _selectItem(e) { - const t = e.detail.item; - this._selectedItemText = t.mappedItem.text, this._selectionPerformed = !0; - const o = this.value === this._selectedItemText, r = this.value.toLowerCase() === this.filterValue.toLowerCase(); - if (o && r) - return this._fireChangeEvent(), this._closeRespPopover(); - this.value = this._selectedItemText, t.mappedItem.selected || this.fireEvent("selection-change", { - item: t.mappedItem - }), this._filteredItems.map((n) => (n.selected = n === t.mappedItem && !n.isGroupItem, n)), this._fireChangeEvent(), this._closeRespPopover(), this.inner.setSelectionRange(this.value.length, this.value.length); - } - _onItemFocus() { - this._itemFocused = !0; - } - _announceSelectedItem(e) { - const t = this._filteredItems[e], o = this._filteredItems.filter((T) => !T.isGroupItem), r = t.additionalText || "", n = t == null ? void 0 : t.isGroupItem, s = hi.i18nBundle.getText(Fh, o.indexOf(t) + 1, o.length), l = hi.i18nBundle.getText(_v); - Yc(n ? `${l} ${t.text}` : `${r} ${s}`.trim(), Ps.Polite); - } - _clear() { - const e = this.items.find((t) => t.selected); - (e == null ? void 0 : e.text) === this.value && this.fireEvent("change"), this.value = "", this.fireEvent("input"), this._isPhone ? (this._lastValue = "", this.fireEvent("change")) : this.focus(); - } - async _scrollToItem(e, t) { - const o = await this._getPicker(), r = o.querySelector(".ui5-combobox-items-list"), n = r == null ? void 0 : r.items[e]; - if (n) { - const s = o.getBoundingClientRect(), l = n.getBoundingClientRect(); - l.top >= s.top && l.bottom <= s.bottom || n.scrollIntoView({ behavior: "instant", block: t ? "end" : "start", inline: "nearest" }); - } - } - _announceValueStateText() { - const e = this.shouldDisplayDefaultValueStateMessage ? this.valueStateDefaultText : this.valueStateMessageText.map((t) => t.textContent).join(" "); - e && Yc(e, Ps.Polite); - } - get _headerTitleText() { - return hi.i18nBundle.getText(ic); - } - get _iconAccessibleNameText() { - return hi.i18nBundle.getText(uv); - } - get inner() { - return ce() ? this.responsivePopover.querySelector("[ui5-input]").shadowRoot.querySelector("input") : this.shadowRoot.querySelector("[inner-input]"); - } - async _getPicker() { - const t = (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); - return this.responsivePopover = t, t; - } - get hasValueState() { - return this.valueState !== q.None; - } - get hasValueStateText() { - return this.hasValueState && this.valueState !== q.Success; - } - get ariaValueStateHiddenText() { - if (!this.hasValueState) - return ""; - let e = ""; - return this.valueState !== q.None && (e = this.valueStateTypeMappings[this.valueState]), this.shouldDisplayDefaultValueStateMessage ? `${e} ${this.valueStateDefaultText || ""}` : `${e}`.concat(" ", this.valueStateMessageText.map((t) => t.textContent).join(" ")); - } - get valueStateDefaultText() { - if (this.valueState !== q.None) - return this.valueStateTextMappings[this.valueState]; - } - get valueStateMessageText() { - return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); - } - get valueStateTextMappings() { - return { - [q.Success]: hi.i18nBundle.getText(Sn), - [q.Error]: hi.i18nBundle.getText(wn), - [q.Warning]: hi.i18nBundle.getText(Cn), - [q.Information]: hi.i18nBundle.getText(Qn) - }; - } - get valueStateTypeMappings() { - return { - [q.Success]: hi.i18nBundle.getText(nc), - [q.Information]: hi.i18nBundle.getText(ac), - [q.Error]: hi.i18nBundle.getText(oc), - [q.Warning]: hi.i18nBundle.getText(rc) - }; - } - get shouldOpenValueStateMessagePopover() { - return this.focused && !this.readonly && this.hasValueStateText && !this._iconPressed && !this.open && !this._isPhone; - } - get shouldDisplayDefaultValueStateMessage() { - return !this.valueStateMessage.length && this.hasValueStateText; - } - get _valueStatePopoverHorizontalAlign() { - return this.effectiveDir !== "rtl" ? ti.Left : ti.Right; - } - /** - * This method is relevant for sap_horizon theme only - */ - get _valueStateMessageIcon() { - return this.valueState !== q.None ? g1[this.valueState] : ""; - } - get open() { - var e; - return ((e = this == null ? void 0 : this.responsivePopover) == null ? void 0 : e.opened) || !1; - } - get _isPhone() { - return ce(); - } - get itemTabIndex() { - } - get ariaLabelText() { - return Xt(this); - } - get clearIconAccessibleName() { - return hi.i18nBundle.getText(Lh); - } - static async onDefine() { - hi.i18nBundle = await pe("@ui5/webcomponents"); - } - get styles() { - const e = parseInt(getComputedStyle(document.documentElement).fontSize); - return { - popoverHeader: { - width: `${this.offsetWidth}px` - }, - suggestionPopoverHeader: { - display: this._listWidth === 0 ? "none" : "inline-block", - width: `${this._listWidth || ""}px` - }, - suggestionsPopover: { - "min-width": `${this.offsetWidth || 0}px`, - "max-width": this.offsetWidth / e > 40 ? `${this.offsetWidth}px` : "40rem" - } - }; - } - get classes() { - return { - popover: { - "ui5-suggestions-popover": !0, - "ui5-popover-with-value-state-header-phone": this._isPhone && this.hasValueStateText, - "ui5-popover-with-value-state-header": !this._isPhone && this.hasValueStateText - }, - popoverValueState: { - "ui5-valuestatemessage-header": !0, - "ui5-valuestatemessage-root": !0, - "ui5-valuestatemessage--success": this.valueState === q.Success, - "ui5-valuestatemessage--error": this.valueState === q.Error, - "ui5-valuestatemessage--warning": this.valueState === q.Warning, - "ui5-valuestatemessage--information": this.valueState === q.Information - } - }; - } -}; -gt([ - x() -], lt.prototype, "value", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "noTypeahead", void 0); -gt([ - x() -], lt.prototype, "filterValue", void 0); -gt([ - x() -], lt.prototype, "placeholder", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "disabled", void 0); -gt([ - x({ type: q, defaultValue: q.None }) -], lt.prototype, "valueState", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "readonly", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "required", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "loading", void 0); -gt([ - x({ type: vh, defaultValue: vh.StartsWithPerTerm }) -], lt.prototype, "filter", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "showClearIcon", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "focused", void 0); -gt([ - x({ type: Boolean }) -], lt.prototype, "_isValueStateFocused", void 0); -gt([ - x() -], lt.prototype, "accessibleName", void 0); -gt([ - x() -], lt.prototype, "accessibleNameRef", void 0); -gt([ - x({ type: Boolean, noAttribute: !0 }) -], lt.prototype, "_iconPressed", void 0); -gt([ - x({ type: Object, noAttribute: !0, multiple: !0 }) -], lt.prototype, "_filteredItems", void 0); -gt([ - x({ validator: ne, noAttribute: !0 }) -], lt.prototype, "_listWidth", void 0); -gt([ - x({ type: Boolean, noAttribute: !0 }) -], lt.prototype, "_effectiveShowClearIcon", void 0); -gt([ - K({ type: HTMLElement, default: !0, invalidateOnChildChange: !0 }) -], lt.prototype, "items", void 0); -gt([ - K() -], lt.prototype, "valueStateMessage", void 0); -gt([ - K() -], lt.prototype, "icon", void 0); -lt = hi = gt([ - X({ - tag: "ui5-combobox", - languageAware: !0, - renderer: ue, - styles: mN, - staticAreaStyles: [ - Fr, - Ka, - gN, - Zh - ], - template: nN, - staticAreaTemplate: uN, - dependencies: [ - Z6, - Pe, - po, - fo, - el, - Ne, - ea, - td, - Fi, - bN, - Ar, - eC - ] - }), - U("change"), - U("input"), - U("selection-change", { - detail: { - /** - * @public - */ - item: { type: HTMLElement } - } - }) -], lt); -lt.define(); -/*! - * OpenUI5 - * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */ -var ZN = /('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g, QN = function(i, e) { - return Ee(typeof i == "string" || i instanceof String, "pattern must be string"), (arguments.length > 2 || e != null && !Array.isArray(e)) && (e = Array.prototype.slice.call(arguments, 1)), e = e || [], i.replace(ZN, function(t, o, r, n, s) { - if (o) - return "'"; - if (r) - return r.replace(/''/g, "'"); - if (n) - return String(e[parseInt(n)]); - throw new Error("formatMessage: pattern syntax error at pos. " + s); - }); -}; -/*! - * OpenUI5 - * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */ -var de = function() { - throw new Error(); -}, Ao = { - DATE: "date", - TIME: "time", - DATETIME: "datetime", - DATETIME_WITH_TIMEZONE: "datetimeWithTimezone" -}, Z_ = {}, tC = function(i) { - if (typeof i != "string" && !(i instanceof String) && i != null) - throw new TypeError("The given timezone must be a string."); -}; -de.oDateInfo = { - type: Ao.DATE, - oDefaultFormatOptions: { - style: "medium", - relativeScale: "day", - relativeStyle: "wide" - }, - aFallbackFormatOptions: [{ - style: "short" - }, { - style: "medium" - }, { - pattern: "yyyy-MM-dd" - }, { - pattern: "yyyyMMdd", - strictParsing: !0 - }], - bShortFallbackFormatOptions: !0, - bPatternFallbackWithoutDelimiter: !0, - getPattern: function(i, e, t) { - return i.getDatePattern(e, t); - }, - oRequiredParts: { - text: !0, - year: !0, - weekYear: !0, - month: !0, - day: !0 - }, - aRelativeScales: ["year", "month", "week", "day"], - aRelativeParseScales: ["year", "quarter", "month", "week", "day", "hour", "minute", "second"], - aIntervalCompareFields: ["Era", "FullYear", "Quarter", "Month", "Week", "Date"] -}; -de.oDateTimeInfo = { - type: Ao.DATETIME, - oDefaultFormatOptions: { - style: "medium", - relativeScale: "auto", - relativeStyle: "wide" - }, - aFallbackFormatOptions: [{ - style: "short" - }, { - style: "medium" - }, { - pattern: "yyyy-MM-dd'T'HH:mm:ss" - }, { - pattern: "yyyyMMdd HHmmss" - }], - getPattern: function(i, e, t) { - var o = e.indexOf("/"); - return o > 0 ? i.getCombinedDateTimePattern(e.substr(0, o), e.substr(o + 1), t) : i.getCombinedDateTimePattern(e, e, t); - }, - oRequiredParts: { - text: !0, - year: !0, - weekYear: !0, - month: !0, - day: !0, - hour0_23: !0, - hour1_24: !0, - hour0_11: !0, - hour1_12: !0 - }, - aRelativeScales: ["year", "month", "week", "day", "hour", "minute", "second"], - aRelativeParseScales: ["year", "quarter", "month", "week", "day", "hour", "minute", "second"], - aIntervalCompareFields: ["Era", "FullYear", "Quarter", "Month", "Week", "Date", "DayPeriod", "Hours", "Minutes", "Seconds"] -}; -de._getDateTimeWithTimezoneInfo = function(i) { - var e = i.showDate === void 0 || i.showDate, t = i.showTime === void 0 || i.showTime, o = i.showTimezone === void 0 || i.showTimezone, r = de.oDateTimeInfo; - return e && !t ? r = de.oDateInfo : !e && t && (r = de.oTimeInfo), Object.assign({}, r, { - type: Ao.DATETIME_WITH_TIMEZONE, - // This function is used to transform the pattern of the fallbackFormatOptions to a timezone pattern. - getTimezonePattern: function(n) { - return !e && !t && o ? "VV" : o ? n + " VV" : n; - }, - getPattern: function(n, s, l) { - if (!e && !t && o) - return "VV"; - if (!o) - return r.getPattern(n, s, l); - var T = r.getPattern(n, s, l); - return n.applyTimezonePattern(T); - } - }); -}; -de.oTimeInfo = { - type: Ao.TIME, - oDefaultFormatOptions: { - style: "medium", - relativeScale: "auto", - relativeStyle: "wide" - }, - aFallbackFormatOptions: [{ - style: "short" - }, { - style: "medium" - }, { - pattern: "HH:mm:ss" - }, { - pattern: "HHmmss" - }], - getPattern: function(i, e, t) { - return i.getTimePattern(e, t); - }, - oRequiredParts: { - text: !0, - hour0_23: !0, - hour1_24: !0, - hour0_11: !0, - hour1_12: !0 - }, - aRelativeScales: ["hour", "minute", "second"], - aRelativeParseScales: ["year", "quarter", "month", "week", "day", "hour", "minute", "second"], - aIntervalCompareFields: ["DayPeriod", "Hours", "Minutes", "Seconds"] -}; -de.getInstance = function(i, e) { - return this.getDateInstance(i, e); -}; -de.getDateInstance = function(i, e) { - return this.createInstance(i, e, this.oDateInfo); -}; -de.getDateTimeInstance = function(i, e) { - return this.createInstance(i, e, this.oDateTimeInfo); -}; -de.getDateTimeWithTimezoneInstance = function(i, e) { - if (i && !(i instanceof Al) && (function() { - if (i = Object.assign({}, i), typeof i.showTimezone == "string") { - var t = i.showTimezone; - i.showDate === void 0 && i.showTime === void 0 && (t === "Hide" ? i.showTimezone = !1 : t === "Only" && (i.showDate = !1, i.showTime = !1)), i.showTimezone = t !== "Hide"; - } - }(), i.showDate === !1 && i.showTime === !1 && i.showTimezone === !1)) - throw new TypeError("Invalid Configuration. One of the following format options must be true: showDate, showTime or showTimezone."); - return this.createInstance(i, e, de._getDateTimeWithTimezoneInfo(i || {})); -}; -de.getTimeInstance = function(i, e) { - return this.createInstance(i, e, this.oTimeInfo); -}; -de.createInstance = function(i, e, t, o) { - var r, n, s; - if (n = Object.create(this.prototype), i instanceof Al && (e = i, i = void 0), e || (e = mt.getFormatSettings().getFormatLocale()), n.oLocale = e, n.oLocaleData = At.getInstance(e), n.oFormatOptions = Sl({}, t.oDefaultFormatOptions, i), t.type === Ao.DATETIME_WITH_TIMEZONE ? (n.oFormatOptions.interval = !1, n.oFormatOptions.singleIntervalValue = !1, n.oFormatOptions.UTC = !1) : (n.oFormatOptions.showTimezone = void 0, n.oFormatOptions.showDate = void 0, n.oFormatOptions.showTime = void 0), n.type = t.type, n.oFormatOptions.calendarType || (n.oFormatOptions.calendarType = mt.getCalendarType()), n.oFormatOptions.firstDayOfWeek === void 0 && n.oFormatOptions.minimalDaysInFirstWeek !== void 0 || n.oFormatOptions.firstDayOfWeek !== void 0 && n.oFormatOptions.minimalDaysInFirstWeek === void 0) - throw new TypeError("Format options firstDayOfWeek and minimalDaysInFirstWeek need both to be set, but only one was provided."); - if (n.oFormatOptions.calendarWeekNumbering && !Object.values(wt).includes(n.oFormatOptions.calendarWeekNumbering)) - throw new TypeError("Illegal format option calendarWeekNumbering: '" + n.oFormatOptions.calendarWeekNumbering + "'"); - if (n.oFormatOptions.pattern || (n.oFormatOptions.format ? n.oFormatOptions.pattern = n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format, n.oFormatOptions.calendarType) : n.oFormatOptions.pattern = t.getPattern(n.oLocaleData, n.oFormatOptions.style, n.oFormatOptions.calendarType)), n.oFormatOptions.interval) { - var l, T = n.oFormatOptions.intervalDelimiter; - n.oFormatOptions.format ? (n.intervalPatterns = n.oLocaleData.getCustomIntervalPattern(n.oFormatOptions.format, null, n.oFormatOptions.calendarType), typeof n.intervalPatterns == "string" && (n.intervalPatterns = [n.intervalPatterns]), l = n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format, n.oFormatOptions.calendarType), n.intervalPatterns.push(l)) : (l = n.oFormatOptions.pattern, n.intervalPatterns = [ - // when 'format' option is not set, generate the combined interval pattern - n.oLocaleData.getCombinedIntervalPattern(n.oFormatOptions.pattern, n.oFormatOptions.calendarType), - // Put the single date pattern into the array in case the date interval is formatted as a single date - n.oFormatOptions.pattern - ]), n.intervalPatterns.push(n.oFormatOptions.pattern + " - " + n.oFormatOptions.pattern), T && (T = T.replace(/'/g, "''"), T = "'" + T + "'", n.intervalPatterns.unshift(l + T + l)), n.intervalPatterns = Array.from(new Set(n.intervalPatterns)); - } - return o || (r = t.aFallbackFormatOptions, t.bShortFallbackFormatOptions && (s = t.getPattern(n.oLocaleData, "short"), r = r.concat(de._createFallbackOptionsWithoutDelimiter(s))), n.oFormatOptions.pattern && t.bPatternFallbackWithoutDelimiter && (r = de._createFallbackOptionsWithoutDelimiter(n.oFormatOptions.pattern).concat(r)), r = r.reduce(function(w, S) { - var b = Object.keys(S), v = w.some(function(g) { - return Object.keys(g).length === b.length && b.every(function(p) { - return g[p] === S[p]; - }); - }); - return v || w.push(S), w; - }, []), n.aFallbackFormats = de._createFallbackFormat(r, n.oFormatOptions.calendarType, e, t, n.oFormatOptions)), n.oRequiredParts = t.oRequiredParts, n.aRelativeScales = t.aRelativeScales, n.aRelativeParseScales = t.aRelativeParseScales, n.aIntervalCompareFields = t.aIntervalCompareFields, n.init(), n; -}; -de.prototype.init = function() { - var i = this.oFormatOptions.calendarType; - this.aMonthsAbbrev = this.oLocaleData._getMonthsWithAlternatives("abbreviated", i), this.aMonthsWide = this.oLocaleData.getMonths("wide", i), this.aMonthsNarrow = this.oLocaleData.getMonths("narrow", i), this.aMonthsAbbrevSt = this.oLocaleData._getMonthsStandAloneWithAlternatives("abbreviated", i), this.aMonthsWideSt = this.oLocaleData.getMonthsStandAlone("wide", i), this.aMonthsNarrowSt = this.oLocaleData.getMonthsStandAlone("narrow", i), this.aDaysAbbrev = this.oLocaleData.getDays("abbreviated", i), this.aDaysWide = this.oLocaleData.getDays("wide", i), this.aDaysNarrow = this.oLocaleData.getDays("narrow", i), this.aDaysShort = this.oLocaleData.getDays("short", i), this.aDaysAbbrevSt = this.oLocaleData.getDaysStandAlone("abbreviated", i), this.aDaysWideSt = this.oLocaleData.getDaysStandAlone("wide", i), this.aDaysNarrowSt = this.oLocaleData.getDaysStandAlone("narrow", i), this.aDaysShortSt = this.oLocaleData.getDaysStandAlone("short", i), this.aQuartersAbbrev = this.oLocaleData.getQuarters("abbreviated", i), this.aQuartersWide = this.oLocaleData.getQuarters("wide", i), this.aQuartersNarrow = this.oLocaleData.getQuarters("narrow", i), this.aQuartersAbbrevSt = this.oLocaleData.getQuartersStandAlone("abbreviated", i), this.aQuartersWideSt = this.oLocaleData.getQuartersStandAlone("wide", i), this.aQuartersNarrowSt = this.oLocaleData.getQuartersStandAlone("narrow", i), this.aErasNarrow = this.oLocaleData.getEras("narrow", i), this.aErasAbbrev = this.oLocaleData.getEras("abbreviated", i), this.aErasWide = this.oLocaleData.getEras("wide", i), this.aDayPeriodsAbbrev = this.oLocaleData.getDayPeriods("abbreviated", i), this.aDayPeriodsNarrow = this.oLocaleData.getDayPeriods("narrow", i), this.aDayPeriodsWide = this.oLocaleData.getDayPeriods("wide", i), this.oFlexibleDayPeriodsAbbrev = this.oLocaleData.getFlexibleDayPeriods("abbreviated", i), this.oFlexibleDayPeriodsNarrow = this.oLocaleData.getFlexibleDayPeriods("narrow", i), this.oFlexibleDayPeriodsWide = this.oLocaleData.getFlexibleDayPeriods("wide", i), this.oFlexibleDayPeriodsAbbrevSt = this.oLocaleData.getFlexibleDayPeriodsStandAlone("abbreviated", i), this.oFlexibleDayPeriodsNarrowSt = this.oLocaleData.getFlexibleDayPeriodsStandAlone("narrow", i), this.oFlexibleDayPeriodsWideSt = this.oLocaleData.getFlexibleDayPeriodsStandAlone("wide", i), this.aFormatArray = this.parseCldrDatePattern(this.oFormatOptions.pattern), this.sAllowedCharacters = this.getAllowedCharacters(this.aFormatArray); -}; -de._createFallbackFormat = function(i, e, t, o, r) { - return i.map(function(n) { - var s = Object.assign({}, n); - return s.showDate = r.showDate, s.showTime = r.showTime, s.showTimezone = r.showTimezone, typeof o.getTimezonePattern == "function" && s.pattern && (s.pattern = o.getTimezonePattern(s.pattern)), r.interval && (s.interval = !0), s.calendarType = e, de.createInstance(s, t, o, !0); - }); -}; -de._createFallbackOptionsWithoutDelimiter = function(i) { - var e = /[^dMyGU]/g, t = { - regex: /d+/g, - replace: "dd" - }, o = { - regex: /M+/g, - replace: "MM" - }, r = { - regex: /[yU]+/g, - replace: ["yyyy", "yy"] - }; - return i = i.replace(e, ""), i = i.replace(t.regex, t.replace), i = i.replace(o.regex, o.replace), r.replace.map(function(n) { - return { - pattern: i.replace(r.regex, n), - strictParsing: !0 - }; - }); -}; -var ke = { - isNumber: function(i) { - return i >= 48 && i <= 57; - }, - findNumbers: function(i, e) { - for (var t = 0; t < e && this.isNumber(i.charCodeAt(t)); ) - t++; - return i.substr(0, t); - }, - /** - * Returns if the given string starts with another given string ignoring the case. - * - * Takes the locale into account to ensure the characters are interpreted the right way. - * - * First, an exact case check is performed to remain backward compatible, then a case-insensitive check - * based on the locale is done. - * - * When during the case conversion the length of the string changes we cannot safely match - * it and return false. - * - * @param {string} sValue the value to check, e.g. "März 2013" - * @param {string} sSubstring the string to compare it with, e.g. "MÄRZ" - * @param {string} sLocale the locale, e.g. "de-DE" - * @returns {boolean} true if the given string sValue starts with sSubstring - * @private - */ - startsWithIgnoreCase: function(i, e, t) { - if (i.startsWith(e)) - return !0; - try { - var o = e.toLocaleUpperCase(t), r = i.toLocaleUpperCase(t); - return o.length !== e.length || r.length !== i.length ? !1 : r.startsWith(o); - } catch { - return !1; - } - }, - /** - * Finds the longest matching entry for which the following applies: - * * sValue starts with the found entry - * - * The index of the finding in aList and the length of the match is returned. - * The case is ignored and the given locale is used for the string comparison. - * - * @example - * findEntry("MÄRZ 2013", ["Januar", "Februar", "März", "April", ...], "de-DE"); - * // {length: 4, index: 2} - * @example - * findEntry("Sep 2013", [..., "Aug", ["Sept", "Sep"], "Oct", ...], "en-GB"); - * // {length: 3, index: 8} - * - * @param {string} sValue the input value, e.g. "MÄRZ 2013" - * @param {string[]|Array} aList - * The list of values to check, e.g. ["Januar", "Februar", "März", "April", ...]; the list may contain also - * arrays of strings containing alternatives, e.g. [..., "Aug", ["Sept", "Sep"], "Oct", ...] - * @param {string} sLocale the locale which is used for the string comparison, e.g. "de-DE" - * @returns {{length: number, index: number}} the length of the match in sValue, the index in the list of values - * e.g. length: 4, index: 2 ("MÄRZ") - * @private - */ - findEntry: function(i, e, t) { - let o = -1, r = 0; - return e.forEach((n, s) => { - (Array.isArray(n) ? n : [n]).forEach((l) => { - l.length > r && this.startsWithIgnoreCase(i, l, t) && (o = s, r = l.length); - }); - }), { - index: o, - length: r - }; - }, - /** - * Parses a given timezone - * - * @param {string} sValue String to parse, e.g. "-0800", "-08:00", "-08" - * @param {boolean} bColonSeparated Whether or not the values are colon separated, e.g. "-08:00" - * @returns {{tzDiff: number, length: number}} Object containing the timezone difference in seconds and the length of the parsed segment - */ - parseTZ: function(i, e) { - var t = 0, o = i.charAt(0) === "+" ? -1 : 1, r; - if (i[0] === "Z") - return { - length: 1, - tzDiff: 0 - }; - t++, r = this.findNumbers(i.substr(t), 2); - var n = parseInt(r); - t += 2, e && t++, r = this.findNumbers(i.substr(t), 2); - var s = 0; - return r && (t += 2, s = parseInt(r)), { - length: t, - tzDiff: (s + 60 * n) * 60 * o - }; - }, - /** - * Returns false if the given pattern symbol name is required and the value for that part is - * invalid, otherwise true is returned. - * - * @param {string} sSymbolName - * A unique pattern symbol name - * @param {boolean} bPartInvalid - * Whether the value for the given pattern symbol name is invalid - * @param {sap.ui.core.format.DateFormat} oFormat - * The DateFormat instance - * @returns {boolean} - * false if the given pattern symbol name is required and the value for that part is invalid, - * otherwise true - */ - checkValid: function(i, e, t) { - return !(i in t.oRequiredParts && e); - } -}; -de._oParseHelper = ke; -de._createPatternSymbol = function(i) { - var e = typeof i.isNumeric == "function" && i.isNumeric || function() { - return i.isNumeric || !1; - }; - return { - name: i.name, - /** - * Formatter for a pattern symbol. - * - * @param {Object} oField - * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {sap.ui.core.date.UniversalDate} oDate - * The date object to format - * @param {boolean} bUTC - * Whether the UTC option is set - * @param {sap.ui.core.format.DateFormat} oFormat - * The DateFormat instance - * @returns {string} - * The formatted date information for this date pattern part - */ - format: i.format || function() { - return ""; - }, - /** - * Parser for a pattern symbol. - * - * @param {string} sValue - * The given input - * @param {Object} oPart - * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {sap.ui.core.format.DateFormat} oFormat - * The DateFormat instance - * @param {object} oConfig - * The configuration object for parsing the value - * @param {object} oConfig.dateValue - * The already parsed date fields - * @param {boolean} oConfig.exactLength - * Whether parsing with the exact length specified by {@link DateFormat#parseCldrDatePattern} is needed - * @param {object[]} oConfig.formatArray - * The complete format array as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {int} oConfig.index - * The current index in the format array - * @param {boolean} oConfig.strict - * Whether to disallow overflows for component values of a date (see - * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date). - * Note that the corresponding checks are just for number ranges which are possible at max - * without overflow; the check for day does not consider the month and year to compute the maximum - * number of days allowed. - * @param {string} sTimezone - * The IANA timezone ID - * @returns {object} - * The parsed date information for this date pattern part; could contain the property valid - * set to false if parsing was not successful - */ - parse: i.parse || function() { - return {}; - }, - /** - * Evaluates whether this symbol has a numeric representation. - * - * @param {int} [iDigits] The number of repetitions of the pattern symbol, e.g. 3 for "aaa" - * @returns {boolean} Whether this symbol has a numeric representation - */ - isNumeric: e - }; -}; -de.prototype.oSymbols = { - "": de._createPatternSymbol({ - name: "text", - format: function(i, e) { - return i.value; - }, - parse: function(i, e, t, o) { - var r, n = !0, s = 0, l = 0, T = "-~‐‑‒–—﹘﹣-~"; - const w = de._normalize(e.value); - for (; l < w.length; l++) { - if (r = w.charAt(l), r === " ") - for (; i.charAt(s) === " "; ) - s++; - else - T.includes(r) ? (T.includes(i.charAt(s)) || (n = !1), s++) : (i.charAt(s) !== r && (n = !1), s++); - if (!n) - break; - } - if (n) - return { - length: s - }; - var S = !1; - return o.index < o.formatArray.length - 1 && (S = o.formatArray[o.index + 1].type in t.oRequiredParts), { - valid: ke.checkValid(e.type, S, t) - }; - } - }), - G: de._createPatternSymbol({ - name: "era", - format: function(i, e, t, o) { - var r = e.getUTCEra(); - return i.digits <= 3 ? o.aErasAbbrev[r] : i.digits === 4 ? o.aErasWide[r] : o.aErasNarrow[r]; - }, - parse: function(i, e, t, o) { - for (var r = [t.aErasWide, t.aErasAbbrev, t.aErasNarrow], n = 0; n < r.length; n++) { - var s = r[n], l = ke.findEntry(i, s, t.oLocaleData.sCLDRLocaleId); - if (l.index !== -1) - return { - era: l.index, - length: l.length - }; - } - return { - era: t.aErasWide.length - 1, - valid: ke.checkValid(e.type, !0, t) - }; - } - }), - y: de._createPatternSymbol({ - name: "year", - format: function(i, e, t, o) { - var r = e.getUTCFullYear(), n = String(r), s = o.oFormatOptions.calendarType; - return i.digits === 2 && n.length > 2 && (n = n.substr(n.length - 2)), s !== Ve.Japanese && i.digits === 1 && r < 100 && (n = n.padStart(4, "0")), n.padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r, n, s, l = t.oFormatOptions.calendarType; - e.digits === 1 ? r = 4 : e.digits === 2 ? r = 2 : r = e.digits, n = ke.findNumbers(i, r), s = n === "" || o.exactLength && n.length !== r; - var T = parseInt(n); - if (l !== Ve.Japanese && n.length <= 2) { - var w = ye.getInstance($e.getInstance(), l), S = w.getUTCFullYear(), b = Math.floor(S / 100), v = b * 100 + T - S; - v < -70 ? T += (b + 1) * 100 : v < 30 ? T += b * 100 : T += (b - 1) * 100; - } - return { - length: n.length, - valid: ke.checkValid(e.type, s, t), - year: T - }; - }, - isNumeric: !0 - }), - Y: de._createPatternSymbol({ - name: "weekYear", - format: function(i, e, t, o) { - var r = e.getUTCWeek(o.oLocale, mh(o.oFormatOptions)), n = r.year, s = String(n), l = o.oFormatOptions.calendarType; - return i.digits === 2 && s.length > 2 && (s = s.substr(s.length - 2)), l !== Ve.Japanese && i.digits === 1 && n < 100 && (s = s.padStart(4, "0")), s.padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r, n, s, l = t.oFormatOptions.calendarType; - e.digits === 1 ? r = 4 : e.digits === 2 ? r = 2 : r = e.digits, n = ke.findNumbers(i, r), s = n === "" || o.exactLength && n.length !== r; - var T = parseInt(n), w = T; - if (l !== Ve.Japanese && n.length <= 2) { - var S = ye.getInstance($e.getInstance(), l), b = S.getUTCFullYear(), v = Math.floor(b / 100), g = v * 100 + w - b; - g < -70 ? w += (v + 1) * 100 : g < 30 ? w += v * 100 : w += (v - 1) * 100; - } - return { - length: n.length, - valid: ke.checkValid(e.type, s, t), - year: T, - weekYear: w - }; - }, - isNumeric: !0 - }), - M: de._createPatternSymbol({ - name: "month", - format: function(i, e, t, o) { - var r = e.getUTCMonth(); - if (i.digits === 3) { - const n = o.aMonthsAbbrev[r]; - return Array.isArray(n) ? n[0] : n; - } else - return i.digits === 4 ? o.aMonthsWide[r] : i.digits > 4 ? o.aMonthsNarrow[r] : String(r + 1).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r, n, s, l, T = [t.aMonthsWide, t.aMonthsWideSt, t.aMonthsAbbrev, t.aMonthsAbbrevSt, t.aMonthsNarrow, t.aMonthsNarrowSt]; - if (e.digits < 3) - n = ke.findNumbers(i, Math.max(e.digits, 2)), s = n === "" || o.exactLength && n.length < 2, l = ke.checkValid(e.type, s, t), r = parseInt(n) - 1, o.strict && (r > 11 || r < 0) && (l = !1); - else { - for (var w = 0; w < T.length; w++) { - var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); - if (b.index !== -1) - return { - month: b.index, - length: b.length - }; - } - l = ke.checkValid(e.type, !0, t); - } - return { - month: r, - length: n ? n.length : 0, - valid: l - }; - }, - isNumeric: function(i) { - return i < 3; - } - }), - L: de._createPatternSymbol({ - name: "monthStandalone", - format: function(i, e, t, o) { - var r = e.getUTCMonth(); - if (i.digits === 3) { - const n = o.aMonthsAbbrevSt[r]; - return Array.isArray(n) ? n[0] : n; - } else - return i.digits === 4 ? o.aMonthsWideSt[r] : i.digits > 4 ? o.aMonthsNarrowSt[r] : String(r + 1).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r, n, s, l, T = [t.aMonthsWide, t.aMonthsWideSt, t.aMonthsAbbrev, t.aMonthsAbbrevSt, t.aMonthsNarrow, t.aMonthsNarrowSt]; - if (e.digits < 3) - n = ke.findNumbers(i, Math.max(e.digits, 2)), s = n === "" || o.exactLength && n.length < 2, l = ke.checkValid(e.type, s, t), r = parseInt(n) - 1, o.strict && (r > 11 || r < 0) && (l = !1); - else { - for (var w = 0; w < T.length; w++) { - var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); - if (b.index !== -1) - return { - month: b.index, - length: b.length - }; - } - l = ke.checkValid(e.type, !0, t); - } - return { - month: r, - length: n ? n.length : 0, - valid: l - }; - }, - isNumeric: function(i) { - return i < 3; - } - }), - w: de._createPatternSymbol({ - name: "weekInYear", - format: function(i, e, t, o) { - var r = e.getUTCWeek(o.oLocale, mh(o.oFormatOptions)), n = r.week, s = String(n + 1); - return i.digits < 3 ? s = s.padStart(i.digits, "0") : s = o.oLocaleData.getCalendarWeek(i.digits === 3 ? "narrow" : "wide", s.padStart(2, "0")), s; - }, - parse: function(i, e, t, o) { - var r, n, s, l, T = 0; - if (e.digits < 3) - r = ke.findNumbers(i, 2), T = r.length, l = parseInt(r) - 1, n = !r || o.exactLength && T < 2, s = ke.checkValid(e.type, n, t); - else { - r = t.oLocaleData.getCalendarWeek(e.digits === 3 ? "narrow" : "wide"), r = r.replace("{0}", "([0-9]+)"); - var w = new RegExp(r), S = w.exec(i); - S ? (T = S[0].length, l = parseInt(S[S.length - 1]) - 1) : s = ke.checkValid(e.type, !0, t); - } - return { - length: T, - valid: s, - week: l - }; - }, - isNumeric: function(i) { - return i < 3; - } - }), - W: de._createPatternSymbol({ - name: "weekInMonth" - }), - D: de._createPatternSymbol({ - name: "dayInYear" - }), - d: de._createPatternSymbol({ - name: "day", - format: function(i, e) { - var t = e.getUTCDate(); - return String(t).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = r === "" || o.exactLength && r.length < 2, s = ke.checkValid(e.type, n, t), l = parseInt(r); - return o.strict && (l > 31 || l < 1) && (s = !1), { - day: l, - length: r.length, - valid: s - }; - }, - isNumeric: !0 - }), - Q: de._createPatternSymbol({ - name: "quarter", - format: function(i, e, t, o) { - var r = e.getUTCQuarter(); - return i.digits === 3 ? o.aQuartersAbbrev[r] : i.digits === 4 ? o.aQuartersWide[r] : i.digits > 4 ? o.aQuartersNarrow[r] : String(r + 1).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r, n, s, l, T = [t.aQuartersWide, t.aQuartersWideSt, t.aQuartersAbbrev, t.aQuartersAbbrevSt, t.aQuartersNarrow, t.aQuartersNarrowSt]; - if (e.digits < 3) - r = ke.findNumbers(i, Math.max(e.digits, 2)), n = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, n, t), s = parseInt(r) - 1, o.strict && s > 3 && (l = !1); - else { - for (var w = 0; w < T.length; w++) { - var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); - if (b.index !== -1) - return { - quarter: b.index, - length: b.length - }; - } - l = ke.checkValid(e.type, !0, t); - } - return { - length: r ? r.length : 0, - quarter: s, - valid: l - }; - }, - isNumeric: function(i) { - return i < 3; - } - }), - q: de._createPatternSymbol({ - name: "quarterStandalone", - format: function(i, e, t, o) { - var r = e.getUTCQuarter(); - return i.digits === 3 ? o.aQuartersAbbrevSt[r] : i.digits === 4 ? o.aQuartersWideSt[r] : i.digits > 4 ? o.aQuartersNarrowSt[r] : String(r + 1).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r, n, s, l, T = [t.aQuartersWide, t.aQuartersWideSt, t.aQuartersAbbrev, t.aQuartersAbbrevSt, t.aQuartersNarrow, t.aQuartersNarrowSt]; - if (e.digits < 3) - r = ke.findNumbers(i, Math.max(e.digits, 2)), n = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, n, t), s = parseInt(r) - 1, o.strict && s > 3 && (l = !1); - else { - for (var w = 0; w < T.length; w++) { - var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); - if (b.index !== -1) - return { - quarter: b.index, - length: b.length - }; - } - l = ke.checkValid(e.type, !0, t); - } - return { - length: r ? r.length : 0, - quarter: s, - valid: l - }; - }, - isNumeric: function(i) { - return i < 3; - } - }), - F: de._createPatternSymbol({ - name: "dayOfWeekInMonth" - }), - E: de._createPatternSymbol({ - name: "dayNameInWeek", - //Day of week name, format style. - format: function(i, e, t, o) { - var r = e.getUTCDay(); - return i.digits < 4 ? o.aDaysAbbrev[r] : i.digits === 4 ? o.aDaysWide[r] : i.digits === 5 ? o.aDaysNarrow[r] : o.aDaysShort[r]; - }, - parse: function(i, e, t, o) { - for (var r = [t.aDaysWide, t.aDaysWideSt, t.aDaysAbbrev, t.aDaysAbbrevSt, t.aDaysShort, t.aDaysShortSt, t.aDaysNarrow, t.aDaysNarrowSt], n = 0; n < r.length; n++) { - var s = r[n], l = ke.findEntry(i, s, t.oLocaleData.sCLDRLocaleId); - if (l.index !== -1) - return { - // gets translated to dayOfWeek where the day of week is relative to the week - dayOfWeek: l.index, - length: l.length - }; - } - } - }), - c: de._createPatternSymbol({ - name: "dayNameInWeekStandalone", - format: function(i, e, t, o) { - var r = e.getUTCDay(); - return i.digits < 4 ? o.aDaysAbbrevSt[r] : i.digits === 4 ? o.aDaysWideSt[r] : i.digits === 5 ? o.aDaysNarrowSt[r] : o.aDaysShortSt[r]; - }, - parse: function(i, e, t, o) { - for (var r = [t.aDaysWide, t.aDaysWideSt, t.aDaysAbbrev, t.aDaysAbbrevSt, t.aDaysShort, t.aDaysShortSt, t.aDaysNarrow, t.aDaysNarrowSt], n = 0; n < r.length; n++) { - var s = r[n], l = ke.findEntry(i, s, t.oLocaleData.sCLDRLocaleId); - if (l.index !== -1) - return { - day: l.index, - length: l.length - }; - } - } - }), - // day number of week (depends on locale's first day of week) - // e.g. Thursday - // "de": 4 (firstDay: 1) - // "en": 5 (firstDay: 0) - // "ar": 6 (firstDay: 6) - u: de._createPatternSymbol({ - name: "dayNumberOfWeek", - format: function(i, e, t, o) { - var r = e.getUTCDay(); - return o._adaptDayOfWeek(r); - }, - parse: function(i, e, t, o) { - var r = ke.findNumbers(i, e.digits), n = o.exactLength && r.length !== e.digits; - return { - dayNumberOfWeek: parseInt(r), - length: r.length, - valid: ke.checkValid(e.type, n, t) - }; - }, - isNumeric: !0 - }), - a: de._createPatternSymbol({ - name: "amPmMarker", - /** - * Formats the day period. - * - * @param {Object} oField - * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {number} oField.digits - * The number of repetitions of the pattern symbol, e.g. 3 for "aaa" - * @param {string} oField.symbol - * The pattern symbol "a" - * @param {string} oField.type - * The symbol name "amPmMarker" - * @param {sap.ui.core.date.UniversalDate} oDate - * The date to format - * @param {boolean} [bUTC] - * Whether the UTC option is set; not used - * @param {sap.ui.core.format.DateFormat} oFormat - * The DateFormat instance - * @returns {string} - * The formatted day period, e.g. "AM" for symbol "a" - */ - format: function(i, e, t, o) { - var r = e.getUTCDayPeriod(); - return i.digits <= 3 ? o.aDayPeriodsAbbrev[r] : i.digits === 4 ? o.aDayPeriodsWide[r] : o.aDayPeriodsNarrow[r]; - }, - /** - * Parses the day period from a given input string. - * - * @param {string} sValue - * The given input, e.g. "am 13:37" - * @param {Object} oPart - * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {number} oPart.digits - * The number of repetitions of the pattern symbol, e.g. 3 for "aaa" - * @param {string} oPart.symbol - * The pattern symbol "a" - * @param {string} oPart.type - * The symbol name "amPmMarker" - * @param {sap.ui.core.format.DateFormat} oFormat - * The DateFormat instance - * @param {Object} [oConfig] - * The configuration object for parsing the value - * @param {object[]} [oConfig.formatArray] - * The complete format array as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {object} [oConfig.dateValue] - * The already parsed date fields - * @param {number} [oConfig.index] - * The index in the format array - * @param {boolean} [oConfig.strict] - * Whether to use the strict option - * @param {string} [sTimezone] - * The IANA timezone ID - * @returns {{length : number, pm : boolean}|{}} - * An object with the length of the match and the parsed pm - * value; or an object with property valid false if it could not be - * parsed correctly - */ - parse: function(i, e, t, o, r) { - var n, s, l, T, w, S, b = [t.aDayPeriodsWide, t.aDayPeriodsAbbrev, t.aDayPeriodsNarrow]; - n = /[aApP](?:\.)?[\x20\xA0]?[mM](?:\.)?/, w = i.match(n), s = w && w.index === 0; - function v(g) { - return g.replace(/[\x20\xA0]/g, "").replace(/\./g, ""); - } - for (s && (i = v(i)), T = 0; T < b.length; T += 1) - if (S = b[T].map((g) => de._normalize(g)), s && (S = S.map(v)), l = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId), l.index !== -1) - return { - pm: l.index === 1, - // am/pm alternative may include an additional dot, e.g. "am." - // therefore the length for the am/pm alternative is the length of the - // match - length: s ? w[0].length : l.length - }; - return { - valid: !1 - }; - } - }), - B: de._createPatternSymbol({ - name: "flexibleDayPeriod", - /** - * Formats the flexible day period. - * - * @param {Object} oField - * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {int} oField.digits - * The number of repetitions of the pattern symbol, e.g. 3 for "BBB" - * @param {sap.ui.core.date.UniversalDate} oDate - * The date object to format - * @param {boolean} bUTC - * Whether the UTC option is set; not used - * @param {sap.ui.core.format.DateFormat} oFormat - * The DateFormat instance - * @returns {string} - * The selected day period e.g. "in the afternoon" for the according style width - * "abbreviated", "narrow" or "wide" - */ - format: function(i, e, t, o) { - var r = o.aFormatArray.some(function(s) { - return "hHKk".includes(s.symbol); - }), n = o.oLocaleData.getFlexibleDayPeriodOfTime(e.getUTCHours(), e.getUTCMinutes()); - return r ? i.digits <= 3 ? o.oFlexibleDayPeriodsAbbrev[n] : i.digits === 4 ? o.oFlexibleDayPeriodsWide[n] : o.oFlexibleDayPeriodsNarrow[n] : i.digits <= 3 ? o.oFlexibleDayPeriodsAbbrevSt[n] : i.digits === 4 ? o.oFlexibleDayPeriodsWideSt[n] : o.oFlexibleDayPeriodsNarrowSt[n]; - }, - /** - * Parses the flexible day period from a given input string. - * - * @param {string} sValue - * The given input, e.g. "in the afternoon 01:37" - * @param {Object} oPart - * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} - * @param {sap.ui.core.format.DateFormat} oFormat - * The DateFormat instance - * @param {object} oConfig - * The configuration object for parsing the value - * @returns {{flexDayPeriod: string, length: number}|{valid: boolean}} - * An object with the parsed flexDayPeriod and the length - * value of the match; otherwise, an object with property valid - * false if it could not be parsed correctly or in case it is attempted - * to parse a string with a stand-alone format - */ - parse: function(i, e, t, o) { - var r, n, s, l = t.aFormatArray.some(function(w) { - return "hHKk".includes(w.symbol); - }), T = [t.oFlexibleDayPeriodsWide, t.oFlexibleDayPeriodsAbbrev, t.oFlexibleDayPeriodsNarrow]; - if (l) { - for (r = 0; r < T.length; r++) - if (s = T[r], n = ke.findEntry(i, Object.values(s), t.oLocaleData.sCLDRLocaleId), n.index !== -1) - return { - flexDayPeriod: Object.keys(s)[n.index], - length: n.length - }; - } - return { - valid: !1 - }; - } - }), - H: de._createPatternSymbol({ - name: "hour0_23", - format: function(i, e) { - var t = e.getUTCHours(); - return String(t).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); - return o.strict && n > 23 && (l = !1), { - hour: n, - length: r.length, - valid: l - }; - }, - isNumeric: !0 - }), - k: de._createPatternSymbol({ - name: "hour1_24", - format: function(i, e) { - var t = e.getUTCHours(), o = t === 0 ? "24" : String(t); - return o.padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); - return n === 24 && (n = 0), o.strict && n > 23 && (l = !1), { - hour: n, - length: r.length, - valid: l - }; - }, - isNumeric: !0 - }), - K: de._createPatternSymbol({ - name: "hour0_11", - format: function(i, e) { - var t = e.getUTCHours(), o = String(t > 11 ? t - 12 : t); - return o.padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); - return o.strict && n > 11 && (l = !1), { - hour: n, - length: r.length, - valid: l - }; - }, - isNumeric: !0 - }), - h: de._createPatternSymbol({ - name: "hour1_12", - format: function(i, e) { - var t = e.getUTCHours(), o; - return t > 12 ? o = String(t - 12) : t === 0 ? o = "12" : o = String(t), o.padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r = o.dateValue.pm, n = ke.findNumbers(i, Math.max(e.digits, 2)), s = parseInt(n), l = n === "" || o.exactLength && n.length < 2, T = ke.checkValid(e.type, l, t); - return s === 12 && (s = 0, r = r === void 0 ? !0 : r), o.strict && s > 11 && (T = !1), { - hour: s, - length: n.length, - pm: r, - valid: T - }; - }, - isNumeric: !0 - }), - m: de._createPatternSymbol({ - name: "minute", - format: function(i, e) { - var t = e.getUTCMinutes(); - return String(t).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); - return o.strict && n > 59 && (l = !1), { - length: r.length, - minute: n, - valid: l - }; - }, - isNumeric: !0 - }), - s: de._createPatternSymbol({ - name: "second", - format: function(i, e) { - var t = e.getUTCSeconds(); - return String(t).padStart(i.digits, "0"); - }, - parse: function(i, e, t, o) { - var r = Math.max(e.digits, 2), n = ke.findNumbers(i, r), s = n === "" || o.exactLength && n.length < r, l = parseInt(n), T = ke.checkValid(e.type, s, t); - return o.strict && l > 59 && (T = !1), { - length: n.length, - second: l, - valid: T - }; - }, - isNumeric: !0 - }), - S: de._createPatternSymbol({ - name: "fractionalsecond", - format: function(i, e) { - var t = e.getUTCMilliseconds(), o = String(t), r = o.padStart(3, "0"); - return r = r.substr(0, i.digits), r = r.padEnd(i.digits, "0"), r; - }, - parse: function(i, e, t, o) { - var r = ke.findNumbers(i, e.digits), n = r.length, s = o.exactLength && n < e.digits; - r = r.substr(0, 3), r = r.padEnd(3, "0"); - var l = parseInt(r); - return { - length: n, - millisecond: l, - valid: ke.checkValid(e.type, s, t) - }; - }, - isNumeric: !0 - }), - z: de._createPatternSymbol({ - name: "timezoneGeneral", - format: function(i, e, t, o, r) { - if (i.digits > 3 && e.getTimezoneLong && e.getTimezoneLong()) - return e.getTimezoneLong(); - if (e.getTimezoneShort && e.getTimezoneShort()) - return e.getTimezoneShort(); - var n = Xe.calculateOffset(e, r), s = "GMT", l = Math.abs(n / 60), T = n > 0, w = Math.floor(l / 60), S = Math.floor(l % 60); - return !t && l !== 0 ? (s += T ? "-" : "+", s += String(w).padStart(2, "0"), s += ":", s += String(S).padStart(2, "0")) : s += "Z", s; - }, - parse: function(i, e, t, o) { - var r = 0, n, s = i.substring(0, 3); - if (s === "GMT" || s === "UTC") - r = 3; - else if (i.substring(0, 2) === "UT") - r = 2; - else if (i.charAt(0) === "Z") - r = 1, n = 0; - else - return { - error: "cannot be parsed correctly by sap.ui.core.format.DateFormat: The given timezone is not supported!" - }; - if (i.charAt(0) !== "Z") { - var l = ke.parseTZ(i.substr(r), !0); - r += l.length, n = l.tzDiff; - } - return { - length: r, - tzDiff: n - }; - } - }), - Z: de._createPatternSymbol({ - name: "timezoneRFC822", - format: function(i, e, t, o, r) { - var n = Xe.calculateOffset(e, r), s = Math.abs(n / 60), l = n > 0, T = Math.floor(s / 60), w = Math.floor(s % 60), S = ""; - return t || (S += l ? "-" : "+", S += String(T).padStart(2, "0"), S += String(w).padStart(2, "0")), S; - }, - parse: function(i, e, t, o) { - return ke.parseTZ(i, !1); - } - }), - X: de._createPatternSymbol({ - name: "timezoneISO8601", - format: function(i, e, t, o, r) { - var n = Xe.calculateOffset(e, r), s = Math.abs(n / 60), l = n > 0, T = Math.floor(s / 60), w = Math.floor(s % 60), S = ""; - return !t && s !== 0 ? (S += l ? "-" : "+", S += String(T).padStart(2, "0"), (i.digits > 1 || w > 0) && ((i.digits === 3 || i.digits === 5) && (S += ":"), S += String(w).padStart(2, "0"))) : S += "Z", S; - }, - parse: function(i, e, t, o) { - return i.charAt(0) === "Z" ? { - length: 1, - tzDiff: 0 - } : ke.parseTZ(i, e.digits === 3 || e.digits === 5); - } - }), - V: de._createPatternSymbol({ - name: "timezoneID", - format: function(i, e, t, o, r) { - return !t && i.digits === 2 ? o.oLocaleData.getTimezoneTranslations()[r] || r : ""; - }, - parse: function(i, e, t, o, r) { - var n = { - timezone: "", - length: 0 - }; - if (e.digits === 2) { - var s = t.oLocaleData.getTimezoneTranslations(); - if (i === s[r]) - return { - timezone: r, - length: i.length - }; - var l = Object.values(s), T = ke.findEntry(i, l, t.oLocaleData.sCLDRLocaleId); - if (T.index !== -1) - return { - timezone: Object.keys(s)[T.index], - length: T.length - }; - for (var w = "", S = i.length; S > 0; S -= 1) - if (w = i.slice(0, S), Xe.isValidTimezone(w)) { - n.timezone = w, n.length = w.length; - break; - } - } - return n; - } - }) -}; -de.prototype._format = function(i, e, t) { - if (this.oFormatOptions.relative) { - var o = this.formatRelative(i, e, this.oFormatOptions.relativeRange, t); - if (o) - return o; - } - for (var r = this.oFormatOptions.calendarType, n = ye.getInstance(i, r), s = [], l, T, w, S = 0; S < this.aFormatArray.length; S++) - l = this.aFormatArray[S], w = l.symbol || "", s.push(this.oSymbols[w].format(l, n, e, this, t)); - return T = s.join(""), T; -}; -de.prototype.format = function(i, e) { - var t; - if (this.type === Ao.DATETIME_WITH_TIMEZONE && (t = e, e = !1, tC(t), t && !Xe.isValidTimezone(t))) - return vt.error("The given timezone isn't valid."), ""; - var o = this.oFormatOptions.calendarType, r; - if (e === void 0 && (e = this.oFormatOptions.UTC), t = t || mt.getTimezone(), Array.isArray(i)) { - if (!this.oFormatOptions.interval) - return vt.error("Non-interval DateFormat can't format more than one date instance."), ""; - if (i.length !== 2) - return vt.error("Interval DateFormat can only format with 2 date instances but " + i.length + " is given."), ""; - if (i = i.map(function(n) { - return b1(n, t, e); - }), this.oFormatOptions.singleIntervalValue) { - if (i[0] === null) - return vt.error("First date instance which is passed to the interval DateFormat shouldn't be null."), ""; - i[1] === null && (r = this._format(i[0], e, t)); - } - if (r === void 0) { - if (!i.every(y1)) - return vt.error("At least one date instance which is passed to the interval DateFormat isn't valid."), ""; - r = this._formatInterval(i, e); - } - } else { - if (!y1(i)) - return this.type === Ao.DATETIME_WITH_TIMEZONE && this.oFormatOptions.pattern.includes("VV") ? this.oLocaleData.getTimezoneTranslations()[t] || t : (vt.error("The given date instance isn't valid."), ""); - if (this.oFormatOptions.interval) - return vt.error("Interval DateFormat expects an array with two dates for the first argument but only one date is given."), ""; - i = b1(i, t, e), r = this._format(i, e, t); - } - return o === Ve.Japanese && this.oLocale.getLanguage() === "ja" && (r = r.replace(/(^|[^\d])1年/g, "$1元年")), r; -}; -de.prototype._useCustomIntervalDelimiter = function(i) { - var e; - return this.oFormatOptions.intervalDelimiter ? this.oFormatOptions.format ? (e = this.oLocaleData._parseSkeletonFormat(this.oFormatOptions.format), e.some(function(t) { - return i[t.group]; - })) : !0 : !1; -}; -de.prototype._formatInterval = function(i, e) { - var t, o, r, n, s = [], l = this.oFormatOptions.calendarType, T = [], w = ye.getInstance(i[0], l), S = ye.getInstance(i[1], l), b = this._getDiffFields([w, S]); - if (!b) - return this._format(i[0], e); - this._useCustomIntervalDelimiter(b) ? r = this.intervalPatterns[0] : this.oFormatOptions.format ? r = this.oLocaleData.getCustomIntervalPattern(this.oFormatOptions.format, b, l) : r = this.oLocaleData.getCombinedIntervalPattern(this.oFormatOptions.pattern, l), T = this.parseCldrDatePattern(r), t = w; - for (var v = 0; v < T.length; v++) - o = T[v], n = o.symbol || "", o.repeat && (t = S), s.push(this.oSymbols[n].format(o, t, e, this)); - return s.join(""); -}; -var JN = { - Era: "Era", - FullYear: "Year", - Quarter: "Quarter", - Month: "Month", - Week: "Week", - Date: "Day", - DayPeriod: "DayPeriod", - Hours: "Hour", - Minutes: "Minute", - Seconds: "Second" -}; -de.prototype._getDiffFields = function(i) { - var e = !1, t = {}; - return this.aIntervalCompareFields.forEach(function(o) { - var r = "getUTC", n = r + o, s = JN[o], l = i[0][n].apply(i[0]), T = i[1][n].apply(i[1]); - ah(l, T) || (e = !0, t[s] = !0); - }), e ? t : null; -}; -de.prototype._parse = function(i, e, t, o, r) { - var n, s, l, T, w, S, b, v = { - valid: !0, - lastTimezonePatternSymbol: "" - }, g = 0, p = { - formatArray: e, - dateValue: v, - strict: o - }, d = this; - function c(f) { - return d.oSymbols[f.symbol || ""]; - } - function h(f) { - return !!f && c(f).isNumeric(f.digits); - } - for (var _ = 0; _ < e.length && (b = i.substr(g), l = e[_], w = e[_ - 1], s = e[_ + 1], p.index = _, p.exactLength = h(l) && (h(w) || h(s)), S = c(l).parse(b, l, this, p, r) || {}, (S.tzDiff !== void 0 || S.timezone) && (S.lastTimezonePatternSymbol = l.symbol), v = Sl(v, S), S.valid !== !1); _++) - g += S.length || 0; - return v.index = g, T = v.pm, v.flexDayPeriod && v.hour * 60 + (v.minute || 0) < 720 && (n = this.oLocaleData.getFlexibleDayPeriodOfTime(v.hour + 12, v.minute || 0), T = v.flexDayPeriod === n), T && (v.hour += 12), v.dayNumberOfWeek === void 0 && v.dayOfWeek !== void 0 && (v.dayNumberOfWeek = this._adaptDayOfWeek(v.dayOfWeek)), v.quarter !== void 0 && v.month === void 0 && v.day === void 0 && (v.month = 3 * v.quarter, v.day = 1), v; -}; -de.prototype._parseInterval = function(i, e, t, o, r) { - var n, s, l; - return this.intervalPatterns.some((function(T) { - var w = this.parseCldrDatePattern(T); - s = void 0; - for (var S = 0; S < w.length; S++) - if (w[S].repeat) { - s = S; - break; - } - if (s === void 0) - return l = this._parse(i, w, t, o, r), (l.index === 0 || l.index < i.length) && (l.valid = !1), l.valid === !1 ? void 0 : (n = [l, l], !0); - if (n = [], l = this._parse(i, w.slice(0, s), t, o, r), l.valid === !1) - return; - n.push(l); - var b = l.index; - return l = this._parse(i.substring(b), w.slice(s), t, o, r), (l.index === 0 || l.index + b < i.length) && (l.valid = !1), l.valid === !1 ? void 0 : (n.push(l), !0); - }).bind(this)), n; -}; -function mh(i) { - if (i.calendarWeekNumbering) - return i.calendarWeekNumbering; - if (i.firstDayOfWeek !== void 0 && i.minimalDaysInFirstWeek !== void 0) - return { - firstDayOfWeek: i.firstDayOfWeek, - minimalDaysInFirstWeek: i.minimalDaysInFirstWeek - }; -} -var b1 = function(i, e, t) { - return !t && y1(i) ? Xe.convertToTimezone(i, e) : i; -}, Q_ = function(i, e, t, o, r, n, s) { - if (!i.valid) - return null; - var l, T = typeof i.year == "number" ? i.year : 1970; - return l = ye.getInstance(/* @__PURE__ */ new Date(0), e), l.setUTCEra(i.era || ye.getCurrentEra(e)), l.setUTCFullYear(T), l.setUTCMonth(i.month || 0), l.setUTCDate(i.day || 1), l.setUTCHours(i.hour || 0), l.setUTCMinutes(i.minute || 0), l.setUTCSeconds(i.second || 0), l.setUTCMilliseconds(i.millisecond || 0), o && (i.day || 1) !== l.getUTCDate() ? null : (i.week !== void 0 && (i.month === void 0 || i.day === void 0) && (l.setUTCWeek({ - year: i.weekYear || i.year, - week: i.week - }, s, mh(n)), i.dayNumberOfWeek !== void 0 && l.setUTCDate(l.getUTCDate() + i.dayNumberOfWeek - 1)), l = l.getJSDate(), !t && (i.lastTimezonePatternSymbol === "V" && i.timezone || i.tzDiff === void 0) && (i.timezone && (r = i.timezone), r && (i.tzDiff = Xe.calculateOffset(l, r))), i.tzDiff && l.setUTCSeconds(l.getUTCSeconds() + i.tzDiff), l); -}; -function rm(i, e) { - if (i === e) - return i; - var t = {}; - return Object.keys(i).forEach(function(o) { - t[o] = i[o]; - }), Object.keys(e).forEach(function(o) { - t.hasOwnProperty(o) || (t[o] = e[o]); - }), t; -} -function eM(i, e) { - return !(i.getTime() > e.getTime()); -} -function y1(i) { - return i && typeof i.getTime == "function" && !isNaN(i.getTime()); -} -de.prototype.parse = function(i, e, t) { - var o = this.oFormatOptions.showDate === void 0 || this.oFormatOptions.showDate, r = this.oFormatOptions.showTime === void 0 || this.oFormatOptions.showTime; - if (this.type === Ao.DATETIME_WITH_TIMEZONE && (o && !r || !o && r)) - throw new TypeError("The input can only be parsed back to date if both date and time are supplied."); - var n; - e === void 0 && this.type !== Ao.DATETIME_WITH_TIMEZONE && (e = this.oFormatOptions.UTC); - var s = e; - if (this.type === Ao.DATETIME_WITH_TIMEZONE && (n = e, e = !1, tC(n), n && !Xe.isValidTimezone(n))) - return vt.error("The given timezone isn't valid."), null; - i = i == null ? "" : String(i).trim(), i = de._normalize(i); - var l, T = this.oFormatOptions.calendarType; - if (n = n || mt.getTimezone(), t === void 0 && (t = this.oFormatOptions.strictParsing), T === Ve.Japanese && this.oLocale.getLanguage() === "ja" && (i = i.replace(/元年/g, "1年")), this.oFormatOptions.interval) { - var b = this._parseInterval(i, T, e, t, n), v, g; - if (b && b.length === 2) { - var p = rm(b[0], b[1]), d = rm(b[1], b[0]); - if (v = Q_(p, T, e, t, n, this.oFormatOptions, this.oLocale), g = Q_(d, T, e, t, n, this.oFormatOptions, this.oLocale), v && g) { - if (this.oFormatOptions.singleIntervalValue && v.getTime() === g.getTime()) - return [v, null]; - var c = eM(v, g); - return t && !c ? (vt.error("StrictParsing: Invalid date range. The given end date is before the start date."), [null, null]) : [v, g]; - } - } - } else { - var w = this.parseRelative(i, e); - if (w) - return w; - if (l = this._parse(i, this.aFormatArray, e, t, n), (l.index === 0 || l.index < i.length) && (l.valid = !1), w = Q_(l, T, e, t, n, this.oFormatOptions, this.oLocale), w) { - if (this.type === Ao.DATETIME_WITH_TIMEZONE) { - var S = this.oFormatOptions.showTimezone === void 0 || this.oFormatOptions.showTimezone; - return !S && o && r ? [w, void 0] : S && !o && !r ? [void 0, l.timezone] : [w, l.timezone || void 0]; - } - return w; - } - } - if (this.aFallbackFormats) { - var h; - return this.aFallbackFormats.every(function(_) { - return h = _.parse(i, s, t), Array.isArray(h) ? _.type === Ao.DATETIME_WITH_TIMEZONE ? !1 : !(h[0] && h[1]) : !h; - }), h; - } - return this.oFormatOptions.interval ? [null, null] : null; -}; -de.prototype.parseCldrDatePattern = function(i) { - if (Z_[i]) - return Z_[i]; - var e = [], t, o = !1, r = null, n = "", s = "", l = {}, T = !1; - for (t = 0; t < i.length; t++) { - var w = i.charAt(t), S, b, v; - if (o) { - if (w === "'") - if (b = i.charAt(t - 1), v = i.charAt(t - 2), S = i.charAt(t + 1), b === "'" && v !== "'") - o = !1; - else if (S === "'") - t += 1; - else { - o = !1; - continue; - } - n === "text" ? r.value += w : (r = { - type: "text", - value: w - }, e.push(r), n = "text"); - } else - w === "'" ? o = !0 : this.oSymbols[w] ? (s = this.oSymbols[w].name, n === s ? r.digits++ : (r = { - type: s, - symbol: w, - digits: 1 - }, e.push(r), n = s, T || (l[s] ? (r.repeat = !0, T = !0) : l[s] = !0))) : n === "text" ? r.value += w : (r = { - type: "text", - value: w - }, e.push(r), n = "text"); - } - return Z_[i] = e, e; -}; -de.prototype.parseRelative = function(i, e) { - var t, o, r, n, s; - if (!i) - return null; - t = this.oLocaleData.getRelativePatterns(this.aRelativeParseScales, this.oFormatOptions.relativeStyle); - for (var l = 0; l < t.length; l++) - if (o = t[l], r = new RegExp("^\\s*" + o.pattern.replace(/\{0\}/, "(\\d+)") + "\\s*$", "i"), n = r.exec(i), n) - return o.value !== void 0 ? T(o.value, o.scale) : (s = parseInt(n[1]), T(s * o.sign, o.scale)); - function T(w, S) { - var b = $e.getInstance(); - if (e) - switch (b.setUTCFullYear(b.getFullYear(), b.getMonth(), b.getDate()), b.setUTCHours(b.getHours(), b.getMinutes(), b.getSeconds(), b.getMilliseconds()), S) { - case "second": - b.setUTCSeconds(b.getUTCSeconds() + w); - break; - case "minute": - b.setUTCMinutes(b.getUTCMinutes() + w); - break; - case "hour": - b.setUTCHours(b.getUTCHours() + w); - break; - case "day": - b.setUTCDate(b.getUTCDate() + w); - break; - case "week": - b.setUTCDate(b.getUTCDate() + w * 7); - break; - case "month": - b.setUTCMonth(b.getUTCMonth() + w); - break; - case "quarter": - b.setUTCMonth(b.getUTCMonth() + w * 3); - break; - case "year": - b.setUTCFullYear(b.getUTCFullYear() + w); - break; - } - else - switch (S) { - case "second": - b.setSeconds(b.getSeconds() + w); - break; - case "minute": - b.setMinutes(b.getMinutes() + w); - break; - case "hour": - b.setHours(b.getHours() + w); - break; - case "day": - b.setDate(b.getDate() + w); - break; - case "week": - b.setDate(b.getDate() + w * 7); - break; - case "month": - b.setMonth(b.getMonth() + w); - break; - case "quarter": - b.setMonth(b.getMonth() + w * 3); - break; - case "year": - b.setFullYear(b.getFullYear() + w); - break; - } - return b; - } -}; -de.prototype.formatRelative = function(i, e, t, o) { - var r, n, s, l, T = b1(/* @__PURE__ */ new Date(), o), w = this.oFormatOptions.relativeScale || "day"; - return s = (i.getTime() - T.getTime()) / 1e3, this.oFormatOptions.relativeScale === "auto" && (w = this._getScale(s, this.aRelativeScales), w = tM(i, T, w, s)), t || (t = this._mRanges[w]), (w === "year" || w === "month" || w === "day") && (T = new Date(Date.UTC(T.getUTCFullYear(), T.getUTCMonth(), T.getUTCDate())), r = /* @__PURE__ */ new Date(0), r.setUTCFullYear(i.getUTCFullYear(), i.getUTCMonth(), i.getUTCDate()), i = r), n = this._getDifference(w, [T, i]), this.oFormatOptions.relativeScale !== "auto" && (n < t[0] || n > t[1]) ? null : (l = this.oLocaleData.getRelativePattern(w, n, s > 0, this.oFormatOptions.relativeStyle), QN(l, [Math.abs(n)])); -}; -de.prototype._mRanges = { - second: [-60, 60], - minute: [-60, 60], - hour: [-24, 24], - day: [-6, 6], - week: [-4, 4], - month: [-12, 12], - year: [-10, 10] -}; -de.prototype._mScales = { - second: 1, - // 1 - minute: 60, - // 60 - hour: 3600, - // 60*60 - day: 86400, - // 60*60*24 1 day - week: 604800, - // 60*60*24*7 7 days - month: 2592e3, - // 60*60*24*30 30 days - quarter: 7776e3, - // 60*60*24*30*3 90 days - year: 31536e3 - // 60*60*24*365 365 days -}; -de.prototype._getScale = function(i, e) { - var t, o; - i = Math.abs(i); - for (var r = 0; r < e.length; r++) - if (o = e[r], i >= this._mScales[o]) { - t = o; - break; - } - return t || (t = e[e.length - 1]), t; -}; -function tM(i, e, t, o) { - var r = Math.abs(i.getUTCMonth() - e.getUTCMonth()); - if (t === "week" && r === 2) - return "month"; - if (t === "week" && r === 1) { - if (i.getUTCDate() === e.getUTCDate() || o < 0 && i.getUTCDate() < e.getUTCDate() || o > 0 && i.getUTCDate() > e.getUTCDate()) - return "month"; - } else if (t === "month" && r === 1 && (o > 0 && i.getUTCDate() < e.getUTCDate() || o < 0 && i.getUTCDate() > e.getUTCDate())) - return "week"; - return t; -} -function Yr(i, e) { - for (var t, o = ["FullYear", "Month", "Date", "Hours", "Minutes", "Seconds", "Milliseconds"], r = new Date(i.getTime()), n = e; n < o.length; n++) - t = "setUTC" + o[e], r[t].apply(r, [0]); - return r; -} -var iM = { - year: function(i, e) { - return e.getUTCFullYear() - i.getUTCFullYear(); - }, - month: function(i, e) { - return e.getUTCMonth() - i.getUTCMonth() + this.year(i, e) * 12; - }, - week: function(i, e, t) { - var o = t._adaptDayOfWeek(i.getUTCDay()), r = t._adaptDayOfWeek(e.getUTCDay()); - return i = Yr(i, 3), e = Yr(e, 3), (e.getTime() - i.getTime() - (r - o) * t._mScales.day * 1e3) / (t._mScales.week * 1e3); - }, - day: function(i, e, t) { - return i = Yr(i, 3), e = Yr(e, 3), (e.getTime() - i.getTime()) / (t._mScales.day * 1e3); - }, - hour: function(i, e, t) { - return i = Yr(i, 4), e = Yr(e, 4), (e.getTime() - i.getTime()) / (t._mScales.hour * 1e3); - }, - minute: function(i, e, t) { - return i = Yr(i, 5), e = Yr(e, 5), (e.getTime() - i.getTime()) / (t._mScales.minute * 1e3); - }, - second: function(i, e, t) { - return i = Yr(i, 6), e = Yr(e, 6), (e.getTime() - i.getTime()) / (t._mScales.second * 1e3); - } -}; -de.prototype._adaptDayOfWeek = function(i) { - var e = mh(this.oFormatOptions), t; - typeof e == "object" ? t = e.firstDayOfWeek : t = tv.getWeekConfigurationValues(e, this.oLocale).firstDayOfWeek; - var o = i - (t - 1); - return o <= 0 && (o += 7), o; -}; -de.prototype._getDifference = function(i, e) { - var t = e[0], o = e[1]; - return Math.round(iM[i](t, o, this)); -}; -de.prototype.getAllowedCharacters = function(i) { - if (this.oFormatOptions.relative) - return ""; - for (var e = "", t = !1, o = !1, r, n = 0; n < i.length; n++) - switch (r = i[n], r.type) { - case "text": - e.indexOf(r.value) < 0 && (e += r.value); - break; - case "day": - case "year": - case "weekYear": - case "dayNumberOfWeek": - case "weekInYear": - case "hour0_23": - case "hour1_24": - case "hour0_11": - case "hour1_12": - case "minute": - case "second": - case "fractionalsecond": - t || (e += "0123456789", t = !0); - break; - case "month": - case "monthStandalone": - r.digits < 3 ? t || (e += "0123456789", t = !0) : o = !0; - break; - default: - o = !0; - break; - } - return o && (e = ""), e; -}; -de.prototype.getPlaceholderText = function() { - var i = _w.getLibraryResourceBundle(); - return i.getText("date.placeholder", [this.format.apply(this, this.getSampleValue())]); -}; -de.prototype.getSampleValue = function() { - var i, e = $e.getInstance().getFullYear(), t = this.oFormatOptions.UTC; - function o(r, n, s, l, T, w, S) { - return t ? $e.getInstance(Date.UTC(r, n, s, l, T, w, S)) : $e.getInstance(r, n, s, l, T, w, S); - } - return i = o(e, 11, 31, 23, 59, 58, 123), this.type === Ao.DATETIME_WITH_TIMEZONE ? [i, mt.getTimezone()] : this.oFormatOptions.interval ? [[o(e, 11, 22, 9, 12, 34, 567), i]] : [i]; -}; -const oM = /[\u200e\u200f\u202a\u202b\u202c]/g, rM = /\s/g; -de._normalize = function(i) { - return i.replace(oM, "").replace(rM, " "); -}; -const nM = de; -class eo extends nM { -} -const aM = $e; -class Rn extends aM { -} -const Aa = ye; -let De = class Hd { - constructor(e, t, o, r) { - let n = arguments, s, l, T; - switch (n.length) { - case 0: - return l = Rn.getInstance(), this.constructor(l.getFullYear(), l.getMonth(), l.getDate()); - case 1: - case 2: - if (!(n[0] instanceof Hd)) - throw new Error("Invalid arguments: the first argument must be of type CalendarDate."); - T = n[1] ? n[1] : n[0]._oUDate.sCalendarType, s = Rn.getInstance(n[0].valueOf()), s.setFullYear(s.getUTCFullYear(), s.getUTCMonth(), s.getUTCDate()), s.setHours(s.getUTCHours(), s.getUTCMinutes(), s.getUTCSeconds(), s.getUTCMilliseconds()), this._oUDate = nm(s, T); - break; - case 3: - case 4: - us(n[0], `Invalid year: ${n[0]}`), us(n[1], `Invalid month: ${n[1]}`), us(n[2], `Invalid date: ${n[2]}`), s = Rn.getInstance(0, 0, 1), s.setFullYear(n[0], n[1], n[2]), n[3] && (T = n[3]), this._oUDate = nm(s, T); - break; - default: - throw new Error(`Invalid arguments. Accepted arguments are: 1) oCalendarDate, (optional)calendarTypeor 2) year, month, date, (optional) calendarType${n}`); - } - } - getYear() { - return this._oUDate.getUTCFullYear(); - } - setYear(e) { - return us(e, `Invalid year: ${e}`), this._oUDate.setUTCFullYear(e), this; - } - getMonth() { - return this._oUDate.getUTCMonth(); - } - /** - * Sets the given month as ordinal month of the year. - * @param {int} month An integer between 0 and 11, representing the months January through December( or their - * equivalent month names for the given calendar). - * If the specified value is is outside of the expected range, this method attempts to update the date information - * accordingly. For example, if 12 is given as a month, the year will be incremented by 1, and 1 will be used for month. - * @param {int} [date] An integer between 1 and 31, representing the day of the month, but other values are allowed. - * 0 will result in the previous month's last day. - * -1 will result in the day before the previous month's last day. - * 32 will result in: - * - first day of the next month if the current month has 31 days. - * - second day of the next month if the current month has 30 days. - * Other value will result in adding or subtracting days according to the given value. - * @returns {sap.ui.unified.calendar.CalendarDate} this for method chaining. - */ - setMonth(e, t) { - return us(e, `Invalid month: ${e}`), t || t === 0 ? (us(t, `Invalid date: ${t}`), this._oUDate.setUTCMonth(e, t)) : this._oUDate.setUTCMonth(e), this; - } - getDate() { - return this._oUDate.getUTCDate(); - } - setDate(e) { - return us(e, `Invalid date: ${e}`), this._oUDate.setUTCDate(e), this; - } - getDay() { - return this._oUDate.getUTCDay(); - } - getCalendarType() { - return this._oUDate.sCalendarType; - } - isBefore(e) { - return Tc(e), this.valueOf() < e.valueOf(); - } - isAfter(e) { - return Tc(e), this.valueOf() > e.valueOf(); - } - isSameOrBefore(e) { - return Tc(e), this.valueOf() <= e.valueOf(); - } - isSameOrAfter(e) { - return Tc(e), this.valueOf() >= e.valueOf(); - } - isSame(e) { - return Tc(e), this.valueOf() === e.valueOf(); - } - toLocalJSDate() { - const e = Rn.getInstance(this._oUDate.getTime()); - return e.setFullYear(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), e.setHours(0, 0, 0, 0), e; - } - toUTCJSDate() { - const e = Rn.getInstance(this._oUDate.getTime()); - return e.setUTCHours(0, 0, 0, 0), e; - } - toString() { - return `${this._oUDate.sCalendarType}: ${this.getYear()}/${this.getMonth() + 1}/${this.getDate()}`; - } - valueOf() { - return this._oUDate.getTime(); - } - static fromLocalJSDate(e, t) { - function o(r) { - return r && Object.prototype.toString.call(r) === "[object Date]" && !isNaN(r); - } - if (!o(e)) - throw new Error(`Date parameter must be a JavaScript Date object: [${e}].`); - return new Hd(e.getFullYear(), e.getMonth(), e.getDate(), t); - } - static fromTimestamp(e, t) { - const o = new Hd(0, 0, 1); - let r; - try { - r = Aa.getInstance(Rn.getInstance(e), t); - } catch { - r = /* @__PURE__ */ new Date(NaN); - } - return o._oUDate = r, o; - } -}; -function nm(i, e) { - return e ? Aa.getInstance(am(i), e) : new Aa(am(i).getTime()); -} -function am(i) { - const e = new Date(Date.UTC(0, 0, 1)); - return e.setUTCFullYear(i.getFullYear(), i.getMonth(), i.getDate()), e; -} -function Tc(i) { - if (!(i instanceof De)) - throw new Error(`Invalid calendar date: [${i}]. Expected: CalendarDate`); -} -function us(i, e) { - if (i === void 0 || i === 1 / 0 || isNaN(i)) - throw e; -} -const gu = (i, e, t, o = !0, r, n) => { - const s = new De(i); - switch (t) { - case "day": - s.setDate(i.getDate() + e); - break; - case "month": - if (o) { - s.setMonth(i.getMonth() + e); - const l = e === -1 && s.getMonth() === i.getMonth(), T = e === 1 && s.getMonth() - i.getMonth() > 1; - (l || T) && s.setDate(0); - } else - e === 1 && s.setMonth(s.getMonth() + 1, 1), e === -1 && s.setDate(0); - break; - case "year": - s.setYear(i.getYear() + e), s.getMonth() !== i.getMonth() && s.setDate(0); - break; - } - return r && s.isBefore(r) ? new De(r) : n && s.isAfter(n) ? new De(n) : s; -}, sM = (i) => (i || (i = (/* @__PURE__ */ new Date()).getTime()), (i - i % (24 * 60 * 60 * 1e3)) / 1e3), Dv = (i) => De.fromLocalJSDate(Rn.getInstance(), i).valueOf() / 1e3; -var w1; -(function(i) { - i.DAY_MONTH_YEAR = "DAY_MONTH_YEAR", i.MONTH_YEAR = "MONTH_YEAR", i.YEAR = "YEAR"; -})(w1 || (w1 = {})); -const Yo = w1, lM = "appointment-2", iC = "M32 481V65q0-14 9.5-23T64 33h64V1h32v32h192V1h32v32h64q14 0 23 9t9 23v416q0 14-9 23t-23 9H64q-13 0-22.5-9T32 481zm416 0V129H64v352h384zM256 193q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM128 321q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm256-128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm0 128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm-128 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM96 225q0-14 9-23t23-9 23 9 9 23-9 23-23 9-23-9-9-23zM384 97V65h-32v32h32zM128 65v32h32V65h-32z", cM = !1, uM = "SAP-icons-v4", dM = "@ui5/webcomponents-icons"; -J(lM, { pathData: iC, ltr: cM, collection: uM, packageName: dM }); -const hM = "appointment-2", oC = "M403 64q32 0 54.5 22.5T480 141v294q0 32-22.5 54.5T403 512H109q-32 0-54.5-22.5T32 435V141q0-32 22.5-54.5T109 64h25V26q0-11 7.5-18.5T160 0t18.5 7.5T186 26v38h140V26q0-11 7.5-18.5T352 0t18.5 7.5T378 26v38h25zm-294 51q-11 0-18.5 7.5T83 141v64h346v-64q0-11-7.5-18.5T403 115h-25v19q0 11-7.5 18.5T352 160t-18.5-7.5T326 134v-19H186v19q0 11-7.5 18.5T160 160t-18.5-7.5T134 134v-19h-25zm294 346q11 0 18.5-7.5T429 435V256H83v179q0 11 7.5 18.5T109 461h294zM160 320q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9z", _M = !1, pM = "SAP-icons-v5", fM = "@ui5/webcomponents-icons"; -J(hM, { pathData: oC, ltr: _M, collection: pM, packageName: fM }); -Te(); -const J_ = /* @__PURE__ */ new Map(), Ir = (i) => (J_.has(i) || J_.set(i, new Lw(i)), J_.get(i)), Il = /* @__PURE__ */ new Map(), vM = (i) => { - const e = `min ${i}`; - if (!Il.has(e)) { - const t = new De(1, 0, 1, i); - t.setYear(1), t.setMonth(0), t.setDate(1), Il.set(e, t); - } - return Il.get(e); -}, rC = (i) => { - const e = `max ${i}`; - if (!Il.has(e)) { - const t = new De(1, 0, 1, i); - t.setYear(9999), t.setMonth(11); - const o = new De(t, i); - o.setDate(1), o.setMonth(o.getMonth() + 1, 0), t.setDate(o.getDate()), Il.set(e, t); - } - return Il.get(e); -}; -var fc = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, C1; -let Ha = C1 = class extends te { - constructor() { - super(); - } - get _primaryCalendarType() { - const e = Ir(We()); - return this.primaryCalendarType || uw() || e.getPreferredCalendarType(); - } - get _secondaryCalendarType() { - return this.secondaryCalendarType || Mk(); - } - get _minDate() { - let e; - return this.minDate && (e = this._getMinMaxCalendarDateFromString(this.minDate)), e || vM(this._primaryCalendarType); - } - get _maxDate() { - let e; - return this.maxDate && (e = this._getMinMaxCalendarDateFromString(this.maxDate)), e || rC(this._primaryCalendarType); - } - get _formatPattern() { - return this.formatPattern || "medium"; - } - get _isPattern() { - return this._formatPattern !== "medium" && this._formatPattern !== "short" && this._formatPattern !== "long"; - } - get hasSecondaryCalendarType() { - return !!this.secondaryCalendarType && this.secondaryCalendarType !== this.primaryCalendarType; - } - _getMinMaxCalendarDateFromString(e) { - if (this.getFormat().parse(e)) - return this._getCalendarDateFromString(e); - const t = this.getISOFormat().parse(e); - if (t) - return De.fromLocalJSDate(t, this._primaryCalendarType); - } - _getCalendarDateFromString(e) { - const t = this.getFormat().parse(e); - if (t) - return De.fromLocalJSDate(t, this._primaryCalendarType); - } - _getTimeStampFromString(e) { - const t = this._getCalendarDateFromString(e); - if (t) - return t.toUTCJSDate().valueOf(); - } - _getStringFromTimestamp(e) { - const t = new Date(e); - return this.getFormat().format(t, !0); - } - getFormat() { - return this._isPattern ? eo.getDateInstance({ - strictParsing: !0, - pattern: this._formatPattern, - calendarType: this._primaryCalendarType - }) : eo.getDateInstance({ - strictParsing: !0, - style: this._formatPattern, - calendarType: this._primaryCalendarType - }); - } - getISOFormat() { - return this._isoFormatInstance || (this._isoFormatInstance = eo.getDateInstance({ - strictParsing: !0, - pattern: "YYYY-MM-dd", - calendarType: this._primaryCalendarType - })), this._isoFormatInstance; - } - static async onDefine() { - [C1.i18nBundle] = await Promise.all([ - pe("@ui5/webcomponents"), - Jl(We().getLanguage(), We().getRegion(), We().getScript()) - ]); - } -}; -fc([ - x({ type: ln }) -], Ha.prototype, "primaryCalendarType", void 0); -fc([ - x({ type: ln }) -], Ha.prototype, "secondaryCalendarType", void 0); -fc([ - x() -], Ha.prototype, "formatPattern", void 0); -fc([ - x() -], Ha.prototype, "minDate", void 0); -fc([ - x() -], Ha.prototype, "maxDate", void 0); -Ha = C1 = fc([ - X({ - languageAware: !0, - renderer: ue - }) -], Ha); -const nC = Ha, mM = (i) => { - const e = new De(i); - return e.setDate(1), e.setMonth(e.getMonth() + 1), e.setDate(0), e.getDate(); -}, Jc = (i, e, t, o) => { - let r = De.fromLocalJSDate(Rn.getInstance(t * 1e3), i), n = De.fromLocalJSDate(Rn.getInstance(t * 1e3), i); - return r.setDate(1), o && (r.setMonth(0), n.setMonth(11)), n.setDate(mM(n)), r = new De(r, e), n = new De(n, e), { firstDate: r, lastDate: n }; -}, aC = (i, e, t) => { - const o = Ir(We()), r = o.getIntervalPattern(""), n = o.getMonthsStandAlone("abbreviated", t), s = o.getMonthsStandAlone("wide", t); - return i === e ? { - text: o.getMonths("abbreviated", t)[i], - textInfo: o.getMonths("wide", t)[i] - } : { - text: r.replace(/\{0\}/, n[i]).replace(/\{1\}/, n[e]), - textInfo: r.replace(/\{0\}/, s[i]).replace(/\{1\}/, s[e]) - }; -}; -var sC = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let bu = class extends te { -}; -sC([ - x() -], bu.prototype, "value", void 0); -bu = sC([ - X("ui5-date") -], bu); -bu.define(); -const Pv = bu; -var lC = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let gh = class extends nC { - get _minTimestamp() { - return this._minDate.valueOf() / 1e3; - } - get _maxTimestamp() { - return this._maxDate.valueOf() / 1e3; - } - /** - * Returns the effective timestamp to be used by the respective calendar part - * @protected - */ - get _timestamp() { - let e = this.timestamp !== void 0 ? this.timestamp : Dv(this._primaryCalendarType); - return this._maxTimestamp && this._maxTimestamp < e ? e = this._maxTimestamp : this._minTimestamp && this._minTimestamp > e && (e = this._minTimestamp), e; - } - get _localDate() { - return new Date(this._timestamp * 1e3); - } - /** - * Returns a CalendarDate instance, representing the _timestamp getter - this date is central to all components' rendering logic - * @protected - */ - get _calendarDate() { - return De.fromTimestamp(this._localDate.getTime(), this._primaryCalendarType); - } - /** - * Change a timestamp and enforce limits - * - * @param timestamp - * @protected - */ - _safelySetTimestamp(e) { - const t = this._minDate.valueOf() / 1e3, o = this._maxDate.valueOf() / 1e3; - e < t && (e = t), e > o && (e = o), this.timestamp = e; - } - /** - * Modify a timestamp by a certain amount of days/months/years and enforce limits - * @param amount - * @param unit - * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) - * @protected - */ - _safelyModifyTimestampBy(e, t, o) { - const r = gu(this._calendarDate, e, t, o); - this._safelySetTimestamp(r.valueOf() / 1e3); - } - _getTimestampFromDom(e) { - const t = e.getAttribute("data-sap-timestamp"); - return parseInt(t); - } -}; -lC([ - x({ validator: ne }) -], gh.prototype, "timestamp", void 0); -gh = lC([ - X() -], gh); -const Qh = gh; -function gM(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-calheader-arrowicon" name="slim-arrow-left">
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType ? sm.call(this, i, e, t) : void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType ? lm.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} class="ui5-calheader-arrowicon" name="slim-arrow-right">
    ` : y`
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType ? sm.call(this, i, e, t) : void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType ? lm.call(this, i, e, t) : void 0}
    `; -} -function sm(i, e, t) { - return y`${a(this._secondMonthButtonText)}`; -} -function lm(i, e, t) { - return y`${a(this._yearButtonTextSecType)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const bM = { packageName: "@ui5/webcomponents", fileName: "themes/CalendarHeader.css.ts", content: `:host{display:block;width:100%;height:100%}.ui5-calheader-root{display:flex;height:100%;padding:var(--_ui5-v1-22-1-rc-0_calendar_header_padding);box-sizing:border-box}.ui5-calheader-arrowbtn{display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width);background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);cursor:pointer;overflow:hidden;white-space:nowrap;padding:0;font-size:var(--sapFontSize);user-select:none}.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:hover,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:active,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:focus,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled{opacity:.4;cursor:default;outline:none;background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor)}[hidden].ui5-calheader-arrowbtn.ui5-calheader-middlebtn{display:none}.ui5-calheader-arrowbtn:focus{outline:none}.ui5-calheader-arrowbtn:hover{background-color:var(--sapButton_Hover_Background);color:var(--sapButton_Lite_TextColor);box-shadow:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_box_shadow)}.ui5-calheader-arrowbtn:active{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor)}.ui5-calheader-arrowbtn,.ui5-calheader-middlebtn{border:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border_radius);display:flex;background-color:var(--sapButton_Lite_Background);border-color:var(--sapButton_Lite_BorderColor)}.ui5-calheader-middlebtn{flex-direction:column;align-items:center;justify-content:center}.ui5-calheader-arrowbtn:not(:active) .ui5-calheader-btn-sectext{color:var(--sapNeutralElementColor);font-size:var(--sapFontSmallSize)}.ui5-calheader-arrowicon{color:currentColor;pointer-events:none}.ui5-calheader-midcontainer{display:flex;justify-content:space-around;flex:1 1 auto;padding:0 .5rem}.ui5-calheader-midcontainer .ui5-calheader-middlebtn:first-child{margin-inline-end:.5rem}.ui5-calheader-middlebtn{font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_width);flex:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_flex);position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-calheader-middlebtn:focus{border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border_radius);outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_outline);outline-offset:-.125rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_background)}.ui5-calheader-middlebtn:focus:active{outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_outline);outline-offset:-.0625rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_background)}.ui5-calheader-middlebtn:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_display);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_width);height:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_height);border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_border);position:absolute;top:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_top_offset);left:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_left_offset)}.ui5-calheader-middlebtn:focus:active:after{border-color:var(--sapContent_ContrastFocusColor)} -` }; -var cr = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Dc; -let Vi = Dc = class extends te { - static async onDefine() { - Dc.i18nBundle = await pe("@ui5/webcomponents"); - } - constructor() { - super(); - } - onBeforeRendering() { - this._prevButtonText = Dc.i18nBundle.getText(s8), this._nextButtonText = Dc.i18nBundle.getText(a8), this.hasSecondaryCalendarType && (this._secondMonthButtonText = this.buttonTextForSecondaryCalendarType.monthButtonText, this._secondYearButtonText = this.buttonTextForSecondaryCalendarType.yearButtonText); - } - onPrevButtonClick(e) { - if (this.isPrevButtonDisabled) { - e.preventDefault(); - return; - } - this.fireEvent("previous-press", e), e.preventDefault(); - } - onNextButtonClick(e) { - if (this.isNextButtonDisabled) { - e.preventDefault(); - return; - } - this.fireEvent("next-press", e), e.preventDefault(); - } - onMonthButtonClick(e) { - this.fireEvent("show-month-press", e); - } - onMonthButtonKeyDown(e) { - se(e) && e.preventDefault(), Se(e) && this.fireEvent("show-month-press", e); - } - onMonthButtonKeyUp(e) { - se(e) && (e.preventDefault(), this.fireEvent("show-month-press", e)); - } - onYearButtonClick(e) { - this.fireEvent("show-year-press", e); - } - onYearButtonKeyDown(e) { - se(e) && e.preventDefault(), Se(e) && this.fireEvent("show-year-press", e); - } - onYearButtonKeyUp(e) { - se(e) && (e.preventDefault(), this.fireEvent("show-year-press", e)); - } - get hasSecondaryCalendarType() { - return !!this.secondaryCalendarType && this.secondaryCalendarType !== this.primaryCalendarType; - } - get classes() { - return { - prevButton: { - "ui5-calheader-arrowbtn": !0, - "ui5-calheader-arrowbtn-disabled": this.isPrevButtonDisabled - }, - nextButton: { - "ui5-calheader-arrowbtn": !0, - "ui5-calheader-arrowbtn-disabled": this.isNextButtonDisabled - } - }; - } - get accInfo() { - return { - ariaLabelMonthButton: this.hasSecondaryCalendarType ? `${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.monthButtonInfo}` : `${this._monthButtonText}` - }; - } -}; -cr([ - x({ validator: ne }) -], Vi.prototype, "timestamp", void 0); -cr([ - x({ type: ln }) -], Vi.prototype, "primaryCalendarType", void 0); -cr([ - x({ type: ln }) -], Vi.prototype, "secondaryCalendarType", void 0); -cr([ - x({ type: Object }) -], Vi.prototype, "buttonTextForSecondaryCalendarType", void 0); -cr([ - x({ type: Boolean }) -], Vi.prototype, "isNextButtonDisabled", void 0); -cr([ - x({ type: Boolean }) -], Vi.prototype, "isPrevButtonDisabled", void 0); -cr([ - x({ type: Boolean }) -], Vi.prototype, "isMonthButtonHidden", void 0); -cr([ - x() -], Vi.prototype, "_monthButtonText", void 0); -cr([ - x() -], Vi.prototype, "_yearButtonText", void 0); -cr([ - x() -], Vi.prototype, "_yearButtonTextSecType", void 0); -cr([ - x({ type: Boolean }) -], Vi.prototype, "isYearButtonHidden", void 0); -Vi = Dc = cr([ - X({ - tag: "ui5-calendar-header", - languageAware: !0, - renderer: ue, - template: gM, - styles: bM, - dependencies: [Pe] - }), - U("next-press"), - U("previous-press"), - U("show-month-press"), - U("show-year-press") -], Vi); -Vi.define(); -const yM = Vi, wM = (i, e, t, o, r) => { - let n = 0, s = 0; - const l = Number.isInteger(i) ? i : r.getFirstDayOfWeek(); - if (o && o.getLanguage() === "en" && o.getRegion() === "US") { - const T = new Aa(e.getTime()); - T.setUTCFullYear(t, 0, 1), s = T.getUTCDay(); - const w = new Aa(e.getTime()); - w.setUTCDate(w.getUTCDate() - w.getUTCDay() + s), n = Math.round((w.getTime() - T.getTime()) / 864e5 / 7) + 1; - } else { - const T = new Aa(e.getTime()); - T.setUTCDate(T.getUTCDate() - l), s = T.getUTCDay(), T.setUTCDate(T.getUTCDate() - s + 4); - const w = new Aa(T.getTime()); - w.setUTCMonth(0, 1), s = w.getUTCDay(); - let S = 0; - s > 4 && (S = 7); - const b = new Aa(w.getTime()); - b.setUTCDate(1 - s + 4 + S), n = Math.round((T.getTime() - b.getTime()) / 864e5 / 7) + 1; - } - return n; -}; -var S1; -(function(i) { - i.Single = "Single", i.Multiple = "Multiple", i.Range = "Range"; -})(S1 || (S1 = {})); -const Cr = S1; -function CM(i, e, t) { - return y`
    ${Y(this._dayNames, (o, r) => o._id || r, (o, r) => SM.call(this, i, e, t, o, r))}
    ${Y(this._weeks, (o, r) => o._id || r, (o, r) => TM.call(this, i, e, t, o, r))}
    `; -} -function SM(i, e, t, o, r) { - return y`
    ${a(o.ultraShortName)}
    `; -} -function TM(i, e, t, o, r) { - return y`${o.length ? IM.call(this, i, e, t, o, r) : BM.call(this, i, e, t, o, r)}`; -} -function IM(i, e, t, o, r) { - return y`
    ${Y(o, (n, s) => n._id || s, (n, s) => kM.call(this, i, e, t, n, s))}
    `; -} -function kM(i, e, t, o, r) { - return y`${o.timestamp ? $M.call(this, i, e, t, o, r) : AM.call(this, i, e, t, o, r)}`; -} -function $M(i, e, t, o, r) { - return y`
    ${a(o.day)}${o._isSecondaryCalendarType ? xM.call(this, i, e, t, o, r) : void 0}
    `; -} -function xM(i, e, t, o, r) { - return y`${a(o.secondDay)}`; -} -function AM(i, e, t, o, r) { - return y`${o.isHidden ? void 0 : EM.call(this, i, e, t, o, r)}`; -} -function EM(i, e, t, o, r) { - return y`
    ${a(o.weekNum)}
    `; -} -function BM(i, e, t, o, r) { - return y`
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const DM = { packageName: "@ui5/webcomponents", fileName: "themes/DayPicker.css.ts", content: `:host(:not([hidden])){display:block}:host{height:100%;width:100%}:host([hide-week-numbers]) .ui5-dp-content{flex-basis:100%}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item{flex-direction:column;justify-content:var(--_ui5-v1-22-1-rc-0_day_picker_item_justify_content)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daytext{height:1.575rem;padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daysectext{font-size:.625rem;height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding:0 .375rem .375rem 50%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-item{width:var(--_ui5-v1-22-1-rc-0_day_picker_item_width);height:var(--_ui5-v1-22-1-rc-0_day_picker_item_height);margin-top:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);margin-right:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);font-family:"72override",var(--sapFontFamily);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-weekname{color:var(--_ui5-v1-22-1-rc-0_daypicker_weekname_color)}.ui5-dp-weeks-row{display:flex}.ui5-dp-content{display:flex;flex-basis:87.5%;flex-direction:column;font-family:"72override",var(--sapFontFamily)}.ui5-dp-days-names-container{display:flex;height:var(--_ui5-v1-22-1-rc-0_daypicker_daynames_container_height)}.ui5-dp-weeknumber-container{padding-top:var(--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top);flex-basis:12.5%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-weekname-container,.ui5-dp-item{display:flex;flex-grow:1;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);outline:none;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-dp-item{position:relative;color:var(--sapTextColor);background:var(--sapLegend_WorkingBackground);font-size:var(--sapFontSize);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item:hover{background:var(--sapList_Hover_Background)}.ui5-dp-daytext{display:flex;width:100%;height:100%;justify-content:center;align-items:center;box-sizing:border-box}.ui5-dp-dayname{color:var(--_ui5-v1-22-1-rc-0_daypicker_dayname_color);height:100%}.ui5-dp-item.ui5-dp-item--weeekend{background:var(--sapLegend_NonWorkingBackground)}.ui5-dp-item.ui5-dp-item--disabled{pointer-events:none;opacity:.5}.ui5-dp-item.ui5-dp-item--weeekend:hover{background:var(--sapList_Hover_Background);filter:var(--_ui5-v1-22-1-rc-0_daypicker_item_weeekend_filter)}.ui5-dp-item.ui5-dp-item--othermonth{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_color);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_background_color);border-color:transparent}.ui5-dp-item.ui5-dp-item--othermonth:hover,.ui5-dp-item.ui5-dp-item--weeekend.ui5-dp-item--othermonth:hover{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_hover_color);background:var(--sapList_Hover_Background)}.ui5-dp-item:focus:after{content:"";border:var(--_ui5-v1-22-1-rc-0_daypicker_item_not_selected_focus_border);position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_no_selected_inset);outline:none;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_focus_after)}.ui5-dp-item.ui5-dp-item--now:before{position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_not_selected_inset);border:.125rem solid var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_color);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected{box-shadow:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_box_shadow)}.ui5-dp-item.ui5-dp-item--selected{background:var(--sapContent_Selected_Background)}.ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{position:absolute;inset:0;border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_border);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_background);color:var(--sapContent_Selected_TextColor);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_border);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected:hover .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_daytext_hover_background);color:var(--sapContent_Selected_TextColor)}.ui5-dp-item.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_radius_focus_after);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_focus_after);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_radius_focus);border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_focus);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected:hover{background:var( --_ui5-v1-22-1-rc-0_daypicker_item_selected_hover);color:var(--sapContent_ContrastTextColor)}.ui5-dp-item.ui5-dp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_color);border-width:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_width)}.ui5-dp-items-container{outline:none}.ui5-dp-item.ui5-dp-item--selected-between .ui5-dp-daytext,.ui5-dp-item[hovered] .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_daypicker_item_select_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);background-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_background);color:var(--sapTextColor);font-weight:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_font)}.ui5-dp-item.ui5-dp-item--selected-between.ui5-dp-item--now:not(.ui5-dp-item--selected) .ui5-dp-daytext:after{content:"";position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_inset);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border_radius)}.ui5-dp-item.ui5-dp-item--selected-between,.ui5-dp-item[hovered]{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_border);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_background)}.ui5-dp-item.ui5-dp-item--selected-between:hover{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_hover_background)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--selected-between:focus:after{border-color:var(--sapContent_FocusColor)}.ui5-dp-items-container>:first-child{justify-content:flex-end}.ui5-dp-emptyweek{height:var(--_ui5-v1-22-1-rc-0_day_picker_empty_height)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype:focus:after{outline-offset:-.1875rem;border-radius:var(--_ui5-v1-22-1-rc-0-dp-item_withsecondtype_border)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now.ui5-dp-item--withsecondtype .ui5-dp-daysectext,.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext{border:none;outline:none}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{border-width:.125rem}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height);padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daysectext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding-top:0;border-radius:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_border_radios)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_focus_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_select_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:focus:after{border-width:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_width);inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext:not(.ui5-dp-daysectext):before{content:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_day_text_content);position:absolute;inset:.3125rem;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected__secondary_type_text_outline)} -` }; -var Za = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Pc; -const cm = (i, e, t) => i > Math.min(e, t) && i < Math.max(e, t), ds = 7; -let Er = Pc = class extends Qh { - onBeforeRendering() { - const e = Ir(We()); - this._buildWeeks(e), this._buildDayNames(e); - } - /** - * Builds the "_weeks" object that represents the month. - * - * @param localeData - * @private - */ - _buildWeeks(e) { - if (this._hidden) - return; - this._weeks = []; - const t = this._getFirstDayOfWeek(), o = e.getMonths("wide", this._primaryCalendarType), r = this.hasSecondaryCalendarType ? e.getMonths("wide", this.secondaryCalendarType) : [], n = Pc.i18nBundle.getText(c8), s = Pc.i18nBundle.getText(u8), l = this._getFirstDay(), T = De.fromLocalJSDate(/* @__PURE__ */ new Date(), this._primaryCalendarType), w = this._calendarDate, S = this._minDate, b = this._maxDate, v = this.hasSecondaryCalendarType ? this._getSecondaryDay(l) : void 0; - let g = []; - for (let p = 0; p < ds * 6; p++) { - const d = l.valueOf() / 1e3; - let c = l.getDay() - t; - c < 0 && (c += ds); - const h = l.getMonth() === w.getMonth() && l.getDate() === w.getDate(), _ = this._isDaySelected(d), f = this._isDayInsideSelectionRange(d), u = l.getMonth() !== w.getMonth(), m = this._isWeekend(l), C = l.valueOf() < S.valueOf() || l.valueOf() > b.valueOf(), I = l.isSame(T), A = l.getDay() === t, k = m ? `${n} ` : "", $ = I ? `${s} ` : "", B = v ? v.getDate() : "", D = v ? v.getYear() : "", P = r.length > 0 ? r[v.getMonth()] : "", O = this.hasSecondaryCalendarType ? `${$}${k}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}; ${P} ${B}, ${D}` : `${$}${k}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}`, R = { - timestamp: d.toString(), - focusRef: h, - _tabIndex: h ? "0" : "-1", - selected: _, - day: l.getDate(), - secondDay: this.hasSecondaryCalendarType ? v.getDate() : void 0, - _isSecondaryCalendarType: this.hasSecondaryCalendarType, - classes: `ui5-dp-item ui5-dp-wday${c}`, - ariaLabel: O, - ariaSelected: _ ? "true" : "false", - ariaDisabled: u ? "true" : void 0, - disabled: C - }; - A && (R.classes += " ui5-dp-firstday"), _ && (R.classes += " ui5-dp-item--selected"), f && (R.classes += " ui5-dp-item--selected-between"), I && (R.classes += " ui5-dp-item--now"), u && (R.classes += " ui5-dp-item--othermonth"), m && (R.classes += " ui5-dp-item--weeekend"), C && (R.classes += " ui5-dp-item--disabled"), this.hasSecondaryCalendarType && (R.classes += " ui5-dp-item--withsecondtype"), g.push(R), c === ds - 1 && g.unshift({ - weekNum: wM(Sp(), l.toUTCJSDate(), l.getYear(), We(), e), - isHidden: this.shouldHideWeekNumbers - }), g.length === ds + 1 && (this._weeks.push(g), g = []), l.setDate(l.getDate() + 1), this.hasSecondaryCalendarType && v && v.setDate(v.getDate() + 1); - } - } - /** - * Builds the dayNames object (header of the month). - * - * @param localeData - * @private - */ - _buildDayNames(e) { - if (this._hidden) - return; - let t; - const o = e.getDays("wide", this._primaryCalendarType); - let r = e.getDays("abbreviated", this._primaryCalendarType), n; - this.namesTooLong(r) && (r = e.getDays("narrow", this._primaryCalendarType)), this._dayNames = [], this._dayNames.push({ - classes: "ui5-dp-dayname", - name: Pc.i18nBundle.getText(l8) - }); - for (let s = 0; s < ds; s++) - t = s + this._getFirstDayOfWeek(), t > ds - 1 && (t -= ds), n = { - name: o[t], - ultraShortName: r[t], - classes: "ui5-dp-dayname" - }, this._dayNames.push(n); - this._dayNames[1].classes += " ui5-dp-firstday", this.shouldHideWeekNumbers && this._dayNames.shift(); - } - /** - * Tells if any of the days is more than 4 characters(too long to render). - * - * @param dayNames - * @private - */ - namesTooLong(e) { - return e.some((t) => t.length > 3); - } - onAfterRendering() { - this._autoFocus && !this._hidden && this.focus(); - const e = this.shadowRoot.querySelector("[data-sap-focus-ref]"); - e && document.activeElement !== e && e.focus(); - } - _onfocusin() { - this._autoFocus = !0; - } - _onfocusout() { - this._autoFocus = !1; - } - /** - * Tells if the day is selected (dark blue). - * - * @param timestamp - * @private - */ - _isDaySelected(e) { - return this.selectionMode === Cr.Single ? e === this.selectedDates[0] : this.selectedDates.includes(e); - } - /** - * Tells if the day is inside a selection range (light blue). - * - * @param timestamp - * @private - */ - _isDayInsideSelectionRange(e) { - return this.selectionMode !== Cr.Range || !this.selectedDates.length ? !1 : this.selectedDates.length === 1 && this._secondTimestamp ? cm(e, this.selectedDates[0], this._secondTimestamp) : cm(e, this.selectedDates[0], this.selectedDates[1]); - } - /** - * Selects/deselects a day. - * - * @param e - * @param isShift true if the user did Click+Shift or Enter+Shift (but not Space+Shift) - * @private - */ - _selectDate(e, t) { - const o = e.target; - if (!this._isDayPressed(o)) - return; - const r = this._getTimestampFromDom(o); - this._safelySetTimestamp(r), this._updateSecondTimestamp(), this.selectionMode === Cr.Single ? this.selectedDates = [r] : this.selectionMode === Cr.Multiple ? this.selectedDates.length > 0 && t ? this._multipleSelection(r) : this._toggleTimestampInSelection(r) : this.selectedDates = this.selectedDates.length === 1 ? [...this.selectedDates, r] : [r], this.fireEvent("change", { - timestamp: this.timestamp, - dates: this.selectedDates - }); - } - /** - * Selects/deselects the whole row (week). - * - * @private - */ - _selectWeek() { - this._weeks.forEach((e) => { - const t = e; - t.findIndex((r) => { - const n = De.fromTimestamp(parseInt(r.timestamp) * 1e3); - return n.getMonth() === this._calendarDate.getMonth() && n.getDate() === this._calendarDate.getDate(); - }) !== -1 && (t.some((n) => n.timestamp && !this.selectedDates.includes(parseInt(n.timestamp))) ? t.filter((n) => n.timestamp).forEach((n) => { - this._addTimestampToSelection(parseInt(n.timestamp)); - }) : t.filter((n) => n.timestamp).forEach((n) => { - this._removeTimestampFromSelection(parseInt(n.timestamp)); - })); - }), this.fireEvent("change", { - timestamp: this.timestamp, - dates: this.selectedDates - }); - } - _toggleTimestampInSelection(e) { - this.selectedDates.includes(e) ? this._removeTimestampFromSelection(e) : this._addTimestampToSelection(e); - } - _addTimestampToSelection(e) { - this.selectedDates.includes(e) || (this.selectedDates = [...this.selectedDates, e]); - } - _removeTimestampFromSelection(e) { - this.selectedDates = this.selectedDates.filter((t) => t !== e); - } - /** - * Called when at least one day is selected and the user presses "Shift". - * - * @param timestamp - * @private - */ - _multipleSelection(e) { - const t = Math.min(...this.selectedDates), o = Math.max(...this.selectedDates); - let r, n, s = !1; - if (e < t) - r = e, n = t; - else if (e >= t && e <= o) { - const w = Math.abs(e - t), S = Math.abs(e - o); - w < S ? (r = e, n = o) : (r = t, n = e), s = !0; - } else - r = o, n = e; - const l = De.fromTimestamp(r * 1e3), T = De.fromTimestamp(n * 1e3); - for (; l.valueOf() <= T.valueOf(); ) - this[s ? "_toggleTimestampInSelection" : "_addTimestampToSelection"](l.valueOf() / 1e3), l.setDate(l.getDate() + 1); - } - /** - * Set the hovered day as the "_secondTimestamp". - * - * @param e - * @private - */ - _onmouseover(e) { - const o = e.target.closest(".ui5-dp-item"); - o && this.selectionMode === Cr.Range && this.selectedDates.length === 1 && (this._secondTimestamp = this._getTimestampFromDom(o)); - } - _onkeydown(e) { - let t = !0; - if (Se(e) || P2(e)) - this._selectDate(e, P2(e)); - else if (se(e) || Da(e)) - e.preventDefault(); - else if (Ct(e)) - this._modifyTimestampBy(-1, "day", !1); - else if (dt(e)) - this._modifyTimestampBy(1, "day", !1); - else if (Ye(e)) - this._modifyTimestampBy(-7, "day", !1); - else if (Ue(e)) - this._modifyTimestampBy(7, "day", !1); - else if (Ri(e)) - this._modifyTimestampBy(-1, "month"); - else if (Ji(e)) - this._modifyTimestampBy(1, "month"); - else if (xl(e) || PI(e)) - this._modifyTimestampBy(-1, "year"); - else if (Vu(e) || OI(e)) - this._modifyTimestampBy(1, "year"); - else if (lu(e)) - this._modifyTimestampBy(-10, "year"); - else if (Oh(e)) - this._modifyTimestampBy(10, "year"); - else if (qt(e) || Ii(e)) - this._onHomeOrEnd(qt(e)); - else if (ec(e)) { - const o = new De(this._calendarDate, this._primaryCalendarType); - o.setDate(1), this._setTimestamp(o.valueOf() / 1e3); - } else if (Ns(e)) { - const o = new De(this._calendarDate, this._primaryCalendarType); - o.setMonth(o.getMonth() + 1), o.setDate(0), this._setTimestamp(o.valueOf() / 1e3); - } else - t = !1; - t && e.preventDefault(); - } - _onkeyup(e) { - se(e) || Da(e) && this.selectionMode !== Cr.Multiple ? this._selectDate(e, !1) : Da(e) && this._selectWeek(); - } - /** - * Click is the same as "Enter". - * Note: "Click+Shift" has the same effect as "Enter+Shift". - * - * @param e - * @private - */ - _onclick(e) { - this._selectDate(e, e.shiftKey); - } - /** - * Called upon "Home" or "End" - moves the focus to the first or last item in the row. - * - * @param homePressed - * @private - */ - _onHomeOrEnd(e) { - this._weeks.forEach((t) => { - const o = t; - if (o.findIndex((n) => { - const s = De.fromTimestamp(parseInt(n.timestamp) * 1e3); - return s.getMonth() === this._calendarDate.getMonth() && s.getDate() === this._calendarDate.getDate(); - }) !== -1) { - const n = e ? 1 : 7; - this._setTimestamp(parseInt(o[n].timestamp)); - } - }); - } - /** - * Called by the Calendar component. - * - * @protected - */ - _hasPreviousPage() { - return !(this._calendarDate.getMonth() === this._minDate.getMonth() && this._calendarDate.getYear() === this._minDate.getYear()); - } - /** - * Called by the Calendar component. - * - * @protected - */ - _hasNextPage() { - return !(this._calendarDate.getMonth() === this._maxDate.getMonth() && this._calendarDate.getYear() === this._maxDate.getYear()); - } - /** - * Called by the Calendar component. - * - * @protected - */ - _showPreviousPage() { - this._modifyTimestampBy(-1, "month", !1); - } - /** - * Called by the Calendar component. - * - * @protected - */ - _showNextPage() { - this._modifyTimestampBy(1, "month", !1); - } - /** - * Modifies the timestamp by a certain amount of days/months/years. - * - * @param amount - * @param unit - * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) - * @private - */ - _modifyTimestampBy(e, t, o) { - this._safelyModifyTimestampBy(e, t, o), this._updateSecondTimestamp(), this.fireEvent("navigate", { timestamp: this.timestamp }); - } - /** - * Sets the timestamp to an absolute value. - * - * @param value - * @private - */ - _setTimestamp(e) { - this._safelySetTimestamp(e), this._updateSecondTimestamp(), this.fireEvent("navigate", { timestamp: this.timestamp }); - } - /** - * During range selection, when the user is navigating with the keyboard, - * the currently focused day is considered the "second day". - * - * @private - */ - _updateSecondTimestamp() { - this.selectionMode === Cr.Range && (this.selectedDates.length === 1 || this.selectedDates.length === 2) && (this._secondTimestamp = this.timestamp); - } - get shouldHideWeekNumbers() { - return this._primaryCalendarType !== ln.Gregorian ? !0 : this.hideWeekNumbers; - } - get classes() { - return { - root: { - "ui5-dp-root": !0, - "ui5-dp-twocalendartypes": this.hasSecondaryCalendarType - } - }; - } - _isWeekend(e) { - const t = Ir(We()), o = e.getDay(), r = t.getWeekendStart(), n = t.getWeekendEnd(); - return o >= r && o <= n || n < r && (o >= r || o <= n); - } - _isDayPressed(e) { - const t = e.parentNode; - return e.className.indexOf("ui5-dp-item") > -1 || t && t.classList && t.classList.contains("ui5-dp-item"); - } - _getSecondaryDay(e) { - return new De(e, this.secondaryCalendarType); - } - _getFirstDay() { - let e; - const t = this._getFirstDayOfWeek(), o = new De(this._calendarDate, this._primaryCalendarType); - return o.setDate(1), e = o.getDay() - t, e < 0 && (e = 7 + e), e > 0 && o.setDate(1 - e), o; - } - _getFirstDayOfWeek() { - const e = Ir(We()), t = Sp(); - return Number.isInteger(t) ? t : e.getFirstDayOfWeek(); - } - get styles() { - return { - wrapper: { - display: this._hidden ? "none" : "flex", - "justify-content": "center" - }, - main: { - width: "100%" - } - }; - } - get ariaRoledescription() { - return this.hasSecondaryCalendarType ? `${this._primaryCalendarType} calendar with secondary ${this.secondaryCalendarType} calendar` : `${this._primaryCalendarType} calendar`; - } -}; -Za([ - x({ - validator: ne, - multiple: !0, - compareValues: !0 - }) -], Er.prototype, "selectedDates", void 0); -Za([ - x({ type: Cr, defaultValue: Cr.Single }) -], Er.prototype, "selectionMode", void 0); -Za([ - x({ type: Boolean }) -], Er.prototype, "hideWeekNumbers", void 0); -Za([ - x({ - type: Object, - multiple: !0 - }) -], Er.prototype, "_weeks", void 0); -Za([ - x({ - type: Object, - multiple: !0 - }) -], Er.prototype, "_dayNames", void 0); -Za([ - x({ type: Boolean, noAttribute: !0 }) -], Er.prototype, "_hidden", void 0); -Za([ - x() -], Er.prototype, "_secondTimestamp", void 0); -Er = Pc = Za([ - X({ - tag: "ui5-daypicker", - styles: DM, - template: CM - }), - U("change"), - U("navigate") -], Er); -Er.define(); -const PM = Er; -function OM(i, e, t) { - return y`
    ${Y(this._months, (o, r) => o._id || r, (o, r) => RM.call(this, i, e, t, o, r))}
    `; -} -function RM(i, e, t, o, r) { - return y`
    ${Y(o, (n, s) => n._id || s, (n, s) => NM.call(this, i, e, t, n, s))}
    `; -} -function NM(i, e, t, o, r) { - return y`
    ${a(o.name)}${o.nameInSecType ? MM.call(this, i, e, t, o, r) : void 0}
    `; -} -function MM(i, e, t, o, r) { - return y`${a(o.nameInSecType)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const LM = { packageName: "@ui5/webcomponents", fileName: "themes/MonthPicker.css.ts", content: `:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-mp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-mp-item{display:flex;flex-direction:column;width:calc(33.333% - .125rem);height:var(--_ui5-v1-22-1-rc-0_month_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;margin:var(--_ui5-v1-22-1-rc-0_monthpicker_item_margin);box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border_radius)}.ui5-dp-monthsectext{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-mp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-mp-item.ui5-mp-item--selected,.ui5-mp-item.ui5-mp-item--selected .ui5-dp-monthsectext{box-shadow:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_box_shadow);font-weight:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_font_wieght);background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_text_color)}.ui5-mp-item.ui5-mp-item--disabled{pointer-events:none;opacity:.5}.ui5-mp-item.ui5-mp-item--selected:focus{background-color:var(--sapContent_Selected_Background)}.ui5-mp-item.ui5-mp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border)}.ui5-mp-item.ui5-mp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_hover_color)}.ui5-mp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_button_focused_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border_radius)}.ui5-mp-quarter{display:flex;justify-content:center;align-items:center;width:100%} -` }; -var Jh = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Vd; -const Ic = 12, sl = 3; -let Us = Vd = class extends Qh { - static async onDefine() { - Vd.i18nBundle = await pe("@ui5/webcomponents"); - } - get roleDescription() { - return Vd.i18nBundle.getText(d8); - } - onBeforeRendering() { - this._buildMonths(); - } - onAfterRendering() { - this._hidden || this.focus(); - } - _buildMonths() { - if (this._hidden) - return; - const t = Ir(We()).getMonthsStandAlone("wide", this._primaryCalendarType), o = [], r = this._calendarDate, n = this._minDate, s = this._maxDate, l = new De(r, this._primaryCalendarType); - let T; - for (let w = 0; w < 12; w++) { - l.setMonth(w), T = l.valueOf() / 1e3; - const S = this.selectedDates.some((d) => { - const c = De.fromTimestamp(d * 1e3, this._primaryCalendarType); - return c.getYear() === l.getYear() && c.getMonth() === l.getMonth(); - }), b = l.getMonth() === r.getMonth(), v = this._isOutOfSelectableRange(l, n, s), g = { - timestamp: T.toString(), - focusRef: b, - _tabIndex: b ? "0" : "-1", - selected: S, - ariaSelected: S ? "true" : "false", - name: t[w], - nameInSecType: this.hasSecondaryCalendarType && this._getDisplayedSecondaryMonthText(T).text, - disabled: v, - classes: "ui5-mp-item" - }; - S && (g.classes += " ui5-mp-item--selected"), v && (g.classes += " ui5-mp-item--disabled"); - const p = Math.floor(w / sl); - o[p] ? o[p].push(g) : o[p] = [g]; - } - this._months = o; - } - _getDisplayedSecondaryMonthText(e) { - const t = Jc(this._primaryCalendarType, this.secondaryCalendarType, e); - return aC(t.firstDate.getMonth(), t.lastDate.getMonth(), this.secondaryCalendarType); - } - _onkeydown(e) { - let t = !0; - Se(e) ? this._selectMonth(e) : se(e) ? e.preventDefault() : Ct(e) ? this._modifyTimestampBy(-1) : dt(e) ? this._modifyTimestampBy(1) : Ye(e) ? this._modifyTimestampBy(-sl) : Ue(e) ? this._modifyTimestampBy(sl) : Ri(e) ? this._modifyTimestampBy(-Ic) : Ji(e) ? this._modifyTimestampBy(Ic) : qt(e) || Ii(e) ? this._onHomeOrEnd(qt(e)) : ec(e) ? this._setTimestamp(parseInt(this._months[0][0].timestamp)) : Ns(e) ? this._setTimestamp(parseInt(this._months[Ic / sl - 1][sl - 1].timestamp)) : t = !1, t && e.preventDefault(); - } - _onHomeOrEnd(e) { - this._months.forEach((t) => { - if (t.findIndex((r) => De.fromTimestamp(parseInt(r.timestamp) * 1e3).getMonth() === this._calendarDate.getMonth()) !== -1) { - const r = e ? 0 : sl - 1; - this._setTimestamp(parseInt(t[r].timestamp)); - } - }); - } - /** - * Sets the timestamp to an absolute value. - * @param value - * @private - */ - _setTimestamp(e) { - this._safelySetTimestamp(e), this.fireEvent("navigate", { timestamp: this.timestamp }); - } - /** - * Modifies timestamp by a given amount of months and, - * if necessary, loads the prev/next page. - * @param amount - * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) - * @private - */ - _modifyTimestampBy(e, t) { - this._safelyModifyTimestampBy(e, "month", t), this.fireEvent("navigate", { timestamp: this.timestamp }); - } - _onkeyup(e) { - se(e) && this._selectMonth(e); - } - /** - * Selects a month, when the user clicks or presses "Enter" or "Space". - * @param e - * @private - */ - _selectMonth(e) { - e.preventDefault(); - const t = e.target; - if (t.className.indexOf("ui5-mp-item") > -1) { - const o = this._getTimestampFromDom(t); - this._safelySetTimestamp(o), this.fireEvent("change", { timestamp: this.timestamp }); - } - } - /** - * Called by the Calendar component. - * @protected - */ - _hasPreviousPage() { - return this._calendarDate.getYear() !== this._minDate.getYear(); - } - /** - * Called by the Calendar component. - * @protected - */ - _hasNextPage() { - return this._calendarDate.getYear() !== this._maxDate.getYear(); - } - /** - * Called by Calendar.js. - * Note: when the user presses the "<" button in the calendar header (same as "PageUp") - * @protected - */ - _showPreviousPage() { - this._modifyTimestampBy(-Ic, !0); - } - /** - * Called by Calendar.js - * Note: when the user presses the ">" button in the calendar header (same as "PageDown") - * @protected - */ - _showNextPage() { - this._modifyTimestampBy(Ic, !0); - } - _isOutOfSelectableRange(e, t, o) { - const r = e.getMonth(), n = e.getYear(), s = t.getYear(), l = t.getMonth(), T = o.getYear(), w = o.getMonth(); - return n < s || n === s && r < l || n > T || n === T && r > w; - } -}; -Jh([ - x({ - validator: ne, - multiple: !0, - compareValues: !0 - }) -], Us.prototype, "selectedDates", void 0); -Jh([ - x({ type: Object, multiple: !0 }) -], Us.prototype, "_months", void 0); -Jh([ - x({ type: Boolean, noAttribute: !0 }) -], Us.prototype, "_hidden", void 0); -Us = Vd = Jh([ - X({ - tag: "ui5-monthpicker", - template: OM, - styles: LM - }), - U("change"), - U("navigate") -], Us); -Us.define(); -const FM = Us; -function zM(i, e, t) { - return y`
    ${Y(this._years, (o, r) => o._id || r, (o, r) => HM.call(this, i, e, t, o, r))}
    `; -} -function HM(i, e, t, o, r) { - return y`
    ${Y(o, (n, s) => n._id || s, (n, s) => VM.call(this, i, e, t, n, s))}
    `; -} -function VM(i, e, t, o, r) { - return y`
    ${a(o.year)}${o.yearInSecType ? UM.call(this, i, e, t, o, r) : void 0}
    `; -} -function UM(i, e, t, o, r) { - return y`${a(o.yearInSecType)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const qM = { packageName: "@ui5/webcomponents", fileName: "themes/YearPicker.css.ts", content: `:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-yp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-yp-interval-container{display:flex;justify-content:center;align-items:center;width:100%}.ui5-yp-item{display:flex;margin:var(--_ui5-v1-22-1-rc-0_yearpicker_item_margin);width:calc(25% - .125rem);height:var(--_ui5-v1-22-1-rc-0_year_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border_radius)}.ui5-yp-item-secondary-type{flex-direction:column;width:calc(50% - .125rem)}.ui5-yp-item-sec-type{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-yp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-yp-item.ui5-yp-item--selected,.ui5-yp-item.ui5-yp-item--selected .ui5-yp-item-sec-type{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_text_color);box-shadow:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_box_shadow);font-weight:700}.ui5-yp-item.ui5-yp-item--disabled{pointer-events:none;opacity:.5}.ui5-yp-item.ui5-yp-item--selected:focus{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_focus)}.ui5-yp-item.ui5-yp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border)}.ui5-yp-item.ui5-yp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_hover_color)}.ui5-yp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border_radius);outline:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_outline)} -` }; -var e_ = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Ud; -let qs = Ud = class extends Qh { - static async onDefine() { - Ud.i18nBundle = await pe("@ui5/webcomponents"); - } - get roleDescription() { - return Ud.i18nBundle.getText(h8); - } - onBeforeRendering() { - this._buildYears(); - } - _getPageSize() { - return this.hasSecondaryCalendarType ? 8 : 20; - } - _getRowSize() { - return this.hasSecondaryCalendarType ? 2 : 4; - } - _buildYears() { - if (this._hidden) - return; - const e = this._getPageSize(), t = We(), o = eo.getDateInstance({ format: "y", calendarType: this._primaryCalendarType }, t), r = eo.getDateInstance({ format: "y", calendarType: this.secondaryCalendarType }, t); - this._calculateFirstYear(), this._lastYear = this._firstYear + e - 1; - const n = this._calendarDate, s = this._minDate, l = this._maxDate, T = new De(n, this._primaryCalendarType); - let w, S; - T.setYear(this._firstYear); - const b = []; - let v; - for (let g = 0; g < e; g++) { - v = T.valueOf() / 1e3; - const p = this.selectedDates.some((f) => De.fromTimestamp(f * 1e3, this._primaryCalendarType).getYear() === T.getYear()), d = T.getYear() === n.getYear(), c = T.getYear() < s.getYear() || T.getYear() > l.getYear(); - this.hasSecondaryCalendarType && (w = Jc(this._primaryCalendarType, this.secondaryCalendarType, v, !0), S = w.firstDate.getYear() === w.lastDate.getYear() ? `${r.format(w.firstDate.toLocalJSDate(), !0)}` : `${r.format(w.firstDate.toLocalJSDate(), !0)} - ${r.format(w.lastDate.toLocalJSDate(), !0)}`); - const h = { - timestamp: v.toString(), - _tabIndex: d ? "0" : "-1", - focusRef: d, - selected: p, - ariaSelected: p ? "true" : "false", - year: o.format(T.toLocalJSDate()), - yearInSecType: S, - disabled: c, - classes: "ui5-yp-item" - }; - p && (h.classes += " ui5-yp-item--selected"), c && (h.classes += " ui5-yp-item--disabled"), this.hasSecondaryCalendarType && (h.classes += " ui5-yp-item-secondary-type"); - const _ = Math.floor(g / this._getRowSize()); - b[_] ? b[_].push(h) : b[_] = [h], T.setYear(T.getYear() + 1); - } - this._years = b; - } - _calculateFirstYear() { - const e = this._getPageSize(), t = rC(this._primaryCalendarType).getYear(), o = this._calendarDate.getYear(); - this._firstYear || (this._firstYear = o - e / 2), o < this._firstYear ? this._firstYear -= e : o >= this._firstYear + e && (this._firstYear += e), Math.abs(this._firstYear - o) >= e && (this._firstYear = o - e / 2), this._firstYear = Math.max(this._firstYear, this._minDate.getYear()), this._firstYear = Math.min(this._firstYear, this._maxDate.getYear()), this._firstYear > t - e + 1 && (this._firstYear = t - e + 1); - } - onAfterRendering() { - this._hidden || this.focus(); - } - _onkeydown(e) { - let t = !0; - const o = this._getPageSize(), r = this._getRowSize(); - Se(e) ? this._selectYear(e) : se(e) ? e.preventDefault() : Ct(e) ? this._modifyTimestampBy(-1) : dt(e) ? this._modifyTimestampBy(1) : Ye(e) ? this._modifyTimestampBy(-r) : Ue(e) ? this._modifyTimestampBy(r) : Ri(e) ? this._modifyTimestampBy(-o) : Ji(e) ? this._modifyTimestampBy(o) : qt(e) || Ii(e) ? this._onHomeOrEnd(qt(e)) : ec(e) ? this._setTimestamp(parseInt(this._years[0][0].timestamp)) : Ns(e) ? this._setTimestamp(parseInt(this._years[o / r - 1][r - 1].timestamp)) : t = !1, t && e.preventDefault(); - } - _onHomeOrEnd(e) { - this._years.forEach((t) => { - if (t.findIndex((r) => De.fromTimestamp(parseInt(r.timestamp) * 1e3).getYear() === this._calendarDate.getYear()) !== -1) { - const r = e ? 0 : this._getRowSize() - 1; - this._setTimestamp(parseInt(t[r].timestamp)); - } - }); - } - /** - * Sets the timestamp to an absolute value. - * - * @param value - * @private - */ - _setTimestamp(e) { - this._safelySetTimestamp(e), this.fireEvent("navigate", { timestamp: this.timestamp }); - } - /** - * Modifies timestamp by a given amount of years and, if necessary, loads the prev/next page. - * - * @param amount - * @private - */ - _modifyTimestampBy(e) { - this._safelyModifyTimestampBy(e, "year"), this.fireEvent("navigate", { timestamp: this.timestamp }); - } - _onkeyup(e) { - se(e) && this._selectYear(e); - } - /** - * User clicked with the mouser or pressed Enter/Space - * - * @param e - * @private - */ - _selectYear(e) { - e.preventDefault(); - const t = e.target; - if (t.className.indexOf("ui5-yp-item") > -1) { - const o = this._getTimestampFromDom(t); - this._safelySetTimestamp(o), this.fireEvent("change", { timestamp: this.timestamp }); - } - } - /** - * Called by the Calendar component. - * - * @protected - */ - _hasPreviousPage() { - return this._firstYear > this._minDate.getYear(); - } - /** - * Called by the Calendar component. - * - * @protected - */ - _hasNextPage() { - return this._firstYear + this._getPageSize() - 1 < this._maxDate.getYear(); - } - /** - * Called by the Calendar component. - * Note: when the user presses the "<" button in the calendar header (same as "PageUp") - * - * @protected - */ - _showPreviousPage() { - const e = this._getPageSize(); - this._modifyTimestampBy(-e); - } - /** - * Called by the Calendar component. - * Note: when the user presses the ">" button in the calendar header (same as "PageDown") - * - * @protected - */ - _showNextPage() { - this._modifyTimestampBy(this._getPageSize()); - } -}; -e_([ - x({ - validator: ne, - multiple: !0, - compareValues: !0 - }) -], qs.prototype, "selectedDates", void 0); -e_([ - x({ type: Object, multiple: !0 }) -], qs.prototype, "_years", void 0); -e_([ - x({ type: Boolean, noAttribute: !0 }) -], qs.prototype, "_hidden", void 0); -qs = Ud = e_([ - X({ - tag: "ui5-yearpicker", - styles: qM, - template: zM - }), - U("change"), - U("navigate") -], qs); -qs.define(); -const WM = qs; -/*! - * OpenUI5 - * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. - * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. - */ -var Ov = ye.extend( - "sap.ui.core.date.Gregorian", - /** @lends sap.ui.core.date.Gregorian.prototype */ - { - constructor: function() { - this.oDate = this.createDate(Date, arguments), this.sCalendarType = Ve.Gregorian; - } - } -); -Ov.UTC = function() { - return Date.UTC.apply(Date, arguments); -}; -Ov.now = function() { - return Date.now(); -}; -tc.set(Ve.Gregorian, Ov); -function jM(i, e, t) { - return t ? y`
    <${E("ui5-daypicker", e, t)} id="${a(this._id)}-daypicker" ?hidden="${this._isDayPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isDayPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .selectionMode="${a(this.selectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" ?hide-week-numbers="${this.hideWeekNumbers}" @ui5-change="${a(this.onSelectedDatesChange)}" @ui5-navigate="${a(this.onNavigate)}"><${E("ui5-monthpicker", e, t)} id="${a(this._id)}-MP" ?hidden="${this._isMonthPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isMonthPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedMonthChange)}" @ui5-navigate="${a(this.onNavigate)}"><${E("ui5-yearpicker", e, t)} id="${a(this._id)}-YP" ?hidden="${this._isYearPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isYearPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedYearChange)}" @ui5-navigate="${a(this.onNavigate)}">
    <${E("ui5-calendar-header", e, t)} id="${a(this._id)}-head" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .buttonTextForSecondaryCalendarType="${a(this.secondaryCalendarTypeButtonText)}" timestamp="${a(this._timestamp)}" .isPrevButtonDisabled="${a(this._previousButtonDisabled)}" .isNextButtonDisabled="${a(this._nextButtonDisabled)}" .isMonthButtonHidden="${a(this._isHeaderMonthButtonHidden)}" ._monthButtonText="${a(this._headerMonthButtonText)}" ._yearButtonText="${a(this._headerYearButtonText)}" ._yearButtonTextSecType="${a(this._headerYearButtonTextSecType)}" @ui5-previous-press="${a(this.onHeaderPreviousPress)}" @ui5-next-press="${a(this.onHeaderNextPress)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}">
    ` : y`
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const GM = { packageName: "@ui5/webcomponents", fileName: "themes/Calendar.css.ts", content: `:host(:not([hidden])){display:inline-block}.ui5-cal-root{background:var(--sapList_Background);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_calendar_height);width:var(--_ui5-v1-22-1-rc-0_calendar_width);padding:var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding) var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) 0;display:flex;flex-direction:column-reverse;justify-content:flex-end}.ui5-cal-root [ui5-calendar-header]{height:var(--_ui5-v1-22-1-rc-0_calendar_header_height);font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily)}.ui5-cal-root .ui5-cal-content{padding:0 var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding)} -` }; -var Hr = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let oo = class extends Qh { - /** - * @private - */ - get _selectedDatesTimestamps() { - return this.dates.map((e) => { - const t = e.value; - return t && !!this.getFormat().parse(t) ? this._getTimeStampFromString(t) / 1e3 : void 0; - }).filter((e) => !!e); - } - constructor() { - super(), this._valueIsProcessed = !1; - } - /** - * @private - */ - _setSelectedDates(e) { - const t = e.map((r) => this.getFormat().format(new Date(r * 1e3), !0)), o = [...this.dates].map((r) => r.value); - this.dates.filter((r) => !t.includes(r.value)).forEach((r) => { - this.removeChild(r); - }), t.filter((r) => !o.includes(r)).forEach((r) => { - const n = document.createElement(Pv.getMetadata().getTag()); - n.value = r, this.appendChild(n); - }); - } - /** - * Makes sure that _currentPicker is always set to a value, allowed by _pickersMode - */ - _normalizeCurrentPicker() { - this._currentPicker === "day" && this._pickersMode !== Yo.DAY_MONTH_YEAR && (this._currentPicker = "month"), this._currentPicker === "month" && this._pickersMode === Yo.YEAR && (this._currentPicker = "year"); - } - onBeforeRendering() { - this._normalizeCurrentPicker(), this._valueIsProcessed || (this._selectedDatesTimestamps && (this.timestamp = this._selectedDatesTimestamps[0]), this._valueIsProcessed = !0); - } - async onAfterRendering() { - await Mt(), this._previousButtonDisabled = !this._currentPickerDOM._hasPreviousPage(), this._nextButtonDisabled = !this._currentPickerDOM._hasNextPage(); - const e = eo.getDateInstance({ format: "y", calendarType: this.primaryCalendarType }), t = Ir(We()); - if (this._headerMonthButtonText = t.getMonthsStandAlone("wide", this.primaryCalendarType)[this._calendarDate.getMonth()], this._currentPicker === "year") { - const o = new De(this._calendarDate, this._primaryCalendarType), r = new De(this._calendarDate, this._primaryCalendarType); - o.setYear(this._currentPickerDOM._firstYear), r.setYear(this._currentPickerDOM._lastYear), this._headerYearButtonText = `${e.format(o.toLocalJSDate(), !0)} - ${e.format(r.toLocalJSDate(), !0)}`; - } else - this._headerYearButtonText = String(e.format(this._localDate, !0)); - this._secondaryCalendarType && this._setSecondaryCalendarTypeButtonText(); - } - onInvalidation(e) { - e.reason === "childchange" && (this._valueIsProcessed = !1); - } - /** - * The user clicked the "month" button in the header - */ - onHeaderShowMonthPress(e) { - this._currentPickerDOM._autoFocus = !1, this._currentPicker = "month", this.fireEvent("show-month-press", e); - } - /** - * The user clicked the "year" button in the header - */ - onHeaderShowYearPress(e) { - this._currentPickerDOM._autoFocus = !1, this._currentPicker = "year", this.fireEvent("show-year-press", e); - } - get _currentPickerDOM() { - return this.shadowRoot.querySelector(`[ui5-${this._currentPicker}picker]`); - } - /** - * The year clicked the "Previous" button in the header - */ - onHeaderPreviousPress() { - this._currentPickerDOM._showPreviousPage(); - } - /** - * The year clicked the "Next" button in the header - */ - onHeaderNextPress() { - this._currentPickerDOM._showNextPage(); - } - _setSecondaryCalendarTypeButtonText() { - const e = eo.getDateInstance({ format: "y", calendarType: this._secondaryCalendarType }); - if (this._currentPicker === "year") { - const t = new De(this._calendarDate, this._primaryCalendarType), o = new De(this._calendarDate, this._primaryCalendarType); - t.setYear(this._currentPickerDOM._firstYear), o.setYear(this._currentPickerDOM._lastYear); - const r = Jc(this.primaryCalendarType, this._secondaryCalendarType, t.valueOf() / 1e3, !0).firstDate, n = Jc(this.primaryCalendarType, this._secondaryCalendarType, o.valueOf() / 1e3, !0).lastDate; - this._headerYearButtonTextSecType = `${e.format(r.toLocalJSDate(), !0)} - ${e.format(n.toLocalJSDate(), !0)}`; - } else - this._headerYearButtonTextSecType = String(e.format(this._localDate, !0)); - } - get secondaryCalendarTypeButtonText() { - if (!this.hasSecondaryCalendarType) - return; - const e = new Date(this._timestamp * 1e3), t = eo.getDateInstance({ format: "y", calendarType: this._secondaryCalendarType }), o = Jc(this._primaryCalendarType, this._secondaryCalendarType, this._timestamp), r = aC(o.firstDate.getMonth(), o.lastDate.getMonth(), this._secondaryCalendarType); - return { - yearButtonText: t.format(e, !0), - monthButtonText: r.text, - monthButtonInfo: r.textInfo - }; - } - /** - * The month button is hidden when the month picker or year picker is shown - * @private - */ - get _isHeaderMonthButtonHidden() { - return this._currentPicker === "month" || this._currentPicker === "year"; - } - get _isDayPickerHidden() { - return this._currentPicker !== "day"; - } - get _isMonthPickerHidden() { - return this._currentPicker !== "month"; - } - get _isYearPickerHidden() { - return this._currentPicker !== "year"; - } - _fireEventAndUpdateSelectedDates(e) { - const t = e.map((r) => { - const n = De.fromTimestamp(r * 1e3, this._primaryCalendarType); - return this.getFormat().format(n.toUTCJSDate(), !0); - }); - !this.fireEvent("selected-dates-change", { timestamp: this.timestamp, dates: [...e], values: t }, !0) || this._setSelectedDates(e); - } - onSelectedDatesChange(e) { - this.timestamp = e.detail.timestamp, this._fireEventAndUpdateSelectedDates(e.detail.dates); - } - onSelectedMonthChange(e) { - this.timestamp = e.detail.timestamp, this._pickersMode === Yo.DAY_MONTH_YEAR ? this._currentPicker = "day" : this._fireEventAndUpdateSelectedDates([this.timestamp]), this._currentPickerDOM._autoFocus = !0; - } - onSelectedYearChange(e) { - this.timestamp = e.detail.timestamp, this._pickersMode === Yo.DAY_MONTH_YEAR ? this._currentPicker = "day" : this._pickersMode === Yo.MONTH_YEAR ? this._currentPicker = "month" : this._fireEventAndUpdateSelectedDates([this.timestamp]), this._currentPickerDOM._autoFocus = !0; - } - onNavigate(e) { - this.timestamp = e.detail.timestamp; - } - _onkeydown(e) { - Rh(e) && this._currentPicker !== "month" && (this._currentPicker = "month"), RI(e) && this._currentPicker !== "year" && (this._currentPicker = "year"); - } - /** - * Returns an array of UTC timestamps, representing the selected dates. - * @protected - * @deprecated - */ - get selectedDates() { - return this._selectedDatesTimestamps; - } - /** - * Creates instances of ui5-date inside this ui5-calendar with values, equal to the provided UTC timestamps - * @protected - * @deprecated - * @param selectedDates Array of UTC timestamps - */ - set selectedDates(e) { - this._setSelectedDates(e); - } -}; -Hr([ - x({ - type: Cr, - defaultValue: Cr.Single - }) -], oo.prototype, "selectionMode", void 0); -Hr([ - x({ type: Boolean }) -], oo.prototype, "hideWeekNumbers", void 0); -Hr([ - x({ defaultValue: "day" }) -], oo.prototype, "_currentPicker", void 0); -Hr([ - x({ type: Boolean }) -], oo.prototype, "_previousButtonDisabled", void 0); -Hr([ - x({ type: Boolean }) -], oo.prototype, "_nextButtonDisabled", void 0); -Hr([ - x() -], oo.prototype, "_headerMonthButtonText", void 0); -Hr([ - x() -], oo.prototype, "_headerYearButtonText", void 0); -Hr([ - x() -], oo.prototype, "_headerYearButtonTextSecType", void 0); -Hr([ - x({ type: Yo, defaultValue: Yo.DAY_MONTH_YEAR, noAttribute: !0 }) -], oo.prototype, "_pickersMode", void 0); -Hr([ - K({ type: HTMLElement, invalidateOnChildChange: !0, default: !0 }) -], oo.prototype, "dates", void 0); -oo = Hr([ - X({ - tag: "ui5-calendar", - fastNavigation: !0, - template: jM, - styles: GM, - dependencies: [ - Pv, - yM, - PM, - FM, - WM - ] - }), - U("selected-dates-change", { - detail: { - /** - * @public - */ - dates: { type: Array }, - /** - * @public - */ - values: { type: Array }, - timestamp: { type: Number } - } - }), - U("show-month-press"), - U("show-year-press") -], oo); -oo.define(); -const cC = oo; -function YM(i, e, t) { - return t ? y`
    <${E("ui5-input", e, t)} id="${a(this._id)}-inner" class="ui5-date-picker-input" placeholder="${a(this._placeholder)}" type="${a(this.type)}" value="${a(this.value)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" @ui5-change="${a(this._onInputChange)}" @ui5-input="${a(this._onInputInput)}" @ui5-submit="${a(this._onInputSubmit)}" @keydown="${this._onkeydown}">${this.valueStateMessage.length ? um.call(this, i, e, t) : void 0}${this.readonly ? void 0 : dm.call(this, i, e, t)}
    ` : y`
    ${this.valueStateMessage.length ? um.call(this, i, e, t) : void 0}${this.readonly ? void 0 : dm.call(this, i, e, t)}
    `; -} -function um(i, e, t) { - return y``; -} -function dm(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} slot="icon" name="${a(this.openIconName)}" tabindex="-1" accessible-name="${a(this.openIconTitle)}" accessible-role="button" aria-hidden="${a(this._ariaHidden)}" show-tooltip @click="${this.togglePicker}" input-icon ?pressed="${this._isPickerOpen}">` : y``; -} -function XM(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader ? hm.call(this, i, e, t) : void 0}<${E("ui5-calendar", e, t)} id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}" ._pickersMode="${a(this._calendarPickersMode)}">${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => _m.call(this, i, e, t, o, r))}${this.showFooter ? pm.call(this, i, e, t) : void 0} ` : y`${this.showHeader ? hm.call(this, i, e, t) : void 0}${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => _m.call(this, i, e, t, o, r))}${this.showFooter ? pm.call(this, i, e, t) : void 0} `; -} -function hm(i, e, t) { - return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closePicker}">
    ` : y`
    ${a(this._headerTitleText)}
    `; -} -function _m(i, e, t, o, r) { - return t ? y`<${E("ui5-date", e, t)} value="${a(o)}">` : y``; -} -function pm(i, e, t) { - return y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const KM = { packageName: "@ui5/webcomponents", fileName: "themes/DatePicker.css.ts", content: `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;line-height:normal;letter-spacing:normal;word-spacing:normal;height:var(--_ui5-v1-22-1-rc-0_input_height);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + var(--_ui5-v1-22-1-rc-0_input_icon_width));color:var(--sapField_TextColor);background-color:var(--sapField_Background);border-radius:var(--_ui5-v1-22-1-rc-0-datepicker_border_radius);margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0}:host(:not([disabled]):not([readonly]):active){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}:host(:not([disabled]):not([readonly]):hover){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}.ui5-date-picker-root{border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-date-picker-input{width:100%;min-width:12.5625rem;color:inherit;background-color:inherit;border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;margin:inherit}:host(:not([disabled]):not([readonly])) .ui5-date-picker-input[focused]{background-color:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const ZM = { packageName: "@ui5/webcomponents", fileName: "themes/DatePickerPopover.css.ts", content: `[ui5-calendar]{width:100%;display:flex;justify-content:center}[ui5-responsive-popover]::part(content){padding:0} -` }; -var Ei = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Oc; -let Wt = Oc = class extends nC { - /** - * @protected - */ - onResponsivePopoverAfterClose() { - var e; - this._isPickerOpen = !1, ce() ? this.blur() : (e = this._getInput()) == null || e.focus(); - } - onBeforeRendering() { - this.FormSupport = ze("FormSupport"), ["minDate", "maxDate"].forEach((e) => { - const t = this[e]; - this.isValid(t) || console.warn(`Invalid value for property "${e}": ${t} is not compatible with the configured format pattern: "${this._displayFormat}"`); - }), this.FormSupport ? this.FormSupport.syncNativeHiddenInput(this) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'), this.value = this.normalizeValue(this.value) || this.value, this.liveValue = this.value; - } - /** - * Override in derivatives to change calendar selection mode - * - * @protected - */ - get _calendarSelectionMode() { - return "Single"; - } - /** - * Used to provide a timestamp to the Calendar (to focus it to a relevant date when open) based on the component's state - * Override in derivatives to provide the calendar a timestamp based on their properties - * By default focus the calendar on the selected date if set, or the current day otherwise - * - * @protected - */ - get _calendarTimestamp() { - if (this.value && this.dateValueUTC && this._checkValueValidity(this.value)) { - const e = this.dateValueUTC.getTime(); - return sM(e); - } - return Dv(this._primaryCalendarType); - } - /** - * Used to provide selectedDates to the calendar based on the component's state - * Override in derivatives to provide different rules for setting the calendar's selected dates - * - * @protected - */ - get _calendarSelectedDates() { - return this.value && this._checkValueValidity(this.value) ? [this.value] : []; - } - _onkeydown(e) { - zn(e) && (e.preventDefault(), this.isOpen() ? Rh(e) || this._toggleAndFocusInput() : this._toggleAndFocusInput()), this._getInput().isEqualNode(e.target) && this.isOpen() && (Bt(e) || Mi(e) || Yf(e) || Xf(e)) && this.closePicker(), !this.isOpen() && (Se(e) ? this.FormSupport && this.FormSupport.triggerFormSubmit(this) : lu(e) ? (e.preventDefault(), this._modifyDateValue(1, "year")) : xl(e) ? (e.preventDefault(), this._modifyDateValue(1, "month")) : Ri(e) ? (e.preventDefault(), this._modifyDateValue(1, "day")) : Oh(e) ? (e.preventDefault(), this._modifyDateValue(-1, "year")) : Vu(e) ? (e.preventDefault(), this._modifyDateValue(-1, "month")) : Ji(e) && (e.preventDefault(), this._modifyDateValue(-1, "day"))); - } - /** - * @param amount - * @param unit - * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) - * @protected - */ - _modifyDateValue(e, t, o) { - if (!this.dateValue) - return; - const r = gu(De.fromLocalJSDate(this.dateValue), e, t, o, this._minDate, this._maxDate), n = this.formatValue(r.toUTCJSDate()); - this._updateValueAndFireEvents(n, !0, ["change", "value-changed"]); - } - _updateValueAndFireEvents(e, t, o, r = !0) { - const n = this._checkValueValidity(e); - n && t && (e = this.normalizeValue(e)); - let s = !0; - this.liveValue = e; - const l = this.value; - if (r && (this._getInput().value = e, this.value = e, this._updateValueState()), o.forEach((T) => { - this.fireEvent(T, { value: e, valid: n }, !0) || (s = !1); - }), !s && r) { - if (this.value !== l && this.value !== this._getInput().value) - return; - this._getInput().value = l, this.value = l; - } - } - _updateValueState() { - const e = this._checkValueValidity(this.value), t = this.valueState; - this.valueState = e ? q.None : q.Error, !this.fireEvent("value-state-change", { valueState: this.valueState, valid: e }, !0) && (this.valueState = t); - } - _toggleAndFocusInput() { - this.togglePicker(), this._getInput().focus(); - } - _getInput() { - return this.shadowRoot.querySelector("[ui5-input]"); - } - /** - * The ui5-input "submit" event handler - fire change event when the user presses enter - * - * @protected - */ - _onInputSubmit() { - } - /** - * The ui5-input "change" event handler - fire change event when the user focuses out of the input - * - * @protected - */ - _onInputChange(e) { - this._updateValueAndFireEvents(e.target.value, !0, ["change", "value-changed"]); - } - /** - * The ui5-input "input" event handler - fire input even when the user types - * - * @protected - */ - _onInputInput(e) { - this._updateValueAndFireEvents(e.target.value, !1, ["input"], !1); - } - /** - * Checks if the provided value is valid and within valid range. - * - * @protected - * @param value - */ - _checkValueValidity(e) { - return e === "" ? !0 : this.isValid(e) && this.isInValidRange(e); - } - _click(e) { - ce() && (this.responsivePopover.showAt(this), e.preventDefault()); - } - /** - * Checks if a value is valid against the current date format of the DatePicker. - * - * @public - * @param value A value to be tested against the current date format - */ - isValid(e) { - return e === "" || e === void 0 ? !0 : !!this.getFormat().parse(e); - } - /** - * Checks if a date is between the minimum and maximum date. - * - * @public - * @param value A value to be checked - */ - isInValidRange(e) { - if (e === "" || e === void 0) - return !0; - const t = this._getCalendarDateFromString(e); - return !t || !this._minDate || !this._maxDate ? !1 : t.valueOf() >= this._minDate.valueOf() && t.valueOf() <= this._maxDate.valueOf(); - } - /** - * The parser understands many formats, but we need one format - * - * @protected - */ - normalizeValue(e) { - return e === "" ? e : this.getFormat().format(this.getFormat().parse(e, !0), !0); - } - get _displayFormat() { - return this.getFormat().oFormatOptions.pattern; - } - /** - * @protected - */ - get _placeholder() { - return this.placeholder !== void 0 ? this.placeholder : this._displayFormat; - } - get _headerTitleText() { - return Oc.i18nBundle.getText(ic); - } - get phone() { - return ce(); - } - get showHeader() { - return this.phone; - } - get showFooter() { - return this.phone; - } - get accInfo() { - return { - ariaRoledescription: this.dateAriaDescription, - ariaHasPopup: Uh.Grid.toLowerCase(), - ariaAutoComplete: "none", - ariaRequired: this.required, - ariaLabel: Xt(this) - }; - } - get openIconTitle() { - return Oc.i18nBundle.getText(N3); - } - get openIconName() { - return "appointment-2"; - } - get dateAriaDescription() { - return Oc.i18nBundle.getText(M3); - } - /** - * Defines whether the dialog on mobile should have header - * - * @private - */ - get _shouldHideHeader() { - return !1; - } - /** - * Defines whether the value help icon is hidden - * - * @private - */ - get _ariaHidden() { - return Zo(); - } - async _respPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); - } - _canOpenPicker() { - return !this.disabled && !this.readonly; - } - get _calendarPickersMode() { - const t = this.getFormat().aFormatArray.map((o) => o.type.toLowerCase()); - return t.includes("day") ? Yo.DAY_MONTH_YEAR : t.includes("month") || t.includes("monthstandalone") ? Yo.MONTH_YEAR : Yo.YEAR; - } - /** - * The user selected a new date in the calendar - * - * @param e - * @protected - */ - onSelectedDatesChange(e) { - e.preventDefault(); - const t = e.detail.values && e.detail.values[0]; - this._updateValueAndFireEvents(t, !0, ["change", "value-changed"]), this.closePicker(); - } - /** - * The user clicked the "month" button in the header - */ - onHeaderShowMonthPress() { - this._calendarCurrentPicker = "month"; - } - /** - * The user clicked the "year" button in the header - */ - onHeaderShowYearPress() { - this._calendarCurrentPicker = "year"; - } - /** - * Formats a Java Script date object into a string representing a locale date - * according to the formatPattern property of the DatePicker instance - * - * @public - * @param date A Java Script date object to be formatted as string - * @returns The date as string - */ - formatValue(e) { - return this.getFormat().format(e); - } - /** - * Closes the picker. - * - * @public - */ - closePicker() { - this.responsivePopover.close(); - } - /** - * Opens the picker. - * - * @public - * @returns Resolves when the picker is open - */ - async openPicker() { - this._isPickerOpen = !0, this._calendarCurrentPicker = "day", this.responsivePopover = await this._respPopover(), this.responsivePopover.showAt(this); - } - togglePicker() { - this.isOpen() ? this.closePicker() : this._canOpenPicker() && this.openPicker(); - } - /** - * Checks if the picker is open. - * - * @public - * @returns true if the picker is open, false otherwise - */ - isOpen() { - return !!this._isPickerOpen; - } - /** - * Currently selected date represented as a Local JavaScript Date instance. - * - * @public - * @default null - */ - get dateValue() { - return this.liveValue ? this.getFormat().parse(this.liveValue) : this.getFormat().parse(this.value); - } - get dateValueUTC() { - return this.liveValue ? this.getFormat().parse(this.liveValue, !0) : this.getFormat().parse(this.value); - } - get styles() { - return { - main: { - width: "100%" - } - }; - } - get type() { - return Ol.Text; - } -}; -Ei([ - x() -], Wt.prototype, "value", void 0); -Ei([ - x({ type: q, defaultValue: q.None }) -], Wt.prototype, "valueState", void 0); -Ei([ - x({ type: Boolean }) -], Wt.prototype, "required", void 0); -Ei([ - x({ type: Boolean }) -], Wt.prototype, "disabled", void 0); -Ei([ - x({ type: Boolean }) -], Wt.prototype, "readonly", void 0); -Ei([ - x({ defaultValue: void 0 }) -], Wt.prototype, "placeholder", void 0); -Ei([ - x() -], Wt.prototype, "name", void 0); -Ei([ - x({ type: Boolean }) -], Wt.prototype, "hideWeekNumbers", void 0); -Ei([ - x() -], Wt.prototype, "accessibleName", void 0); -Ei([ - x({ defaultValue: "" }) -], Wt.prototype, "accessibleNameRef", void 0); -Ei([ - x({ type: Boolean, noAttribute: !0 }) -], Wt.prototype, "_isPickerOpen", void 0); -Ei([ - x({ type: Object }) -], Wt.prototype, "_respPopoverConfig", void 0); -Ei([ - x({ defaultValue: "day" }) -], Wt.prototype, "_calendarCurrentPicker", void 0); -Ei([ - K({ type: HTMLElement }) -], Wt.prototype, "valueStateMessage", void 0); -Ei([ - K({ type: HTMLElement }) -], Wt.prototype, "formSupport", void 0); -Wt = Oc = Ei([ - X({ - tag: "ui5-date-picker", - languageAware: !0, - template: YM, - staticAreaTemplate: XM, - styles: KM, - staticAreaStyles: [ - Fr, - ZM - ], - dependencies: [ - Pe, - po, - cC, - Pv, - Ar, - Ne - ] - }), - U("change", { - detail: { - /** - * @public - */ - value: { - type: String - }, - /** - * @public - */ - valid: { - type: Boolean - } - } - }), - U("input", { - detail: { - /** - * @public - */ - value: { - type: String - }, - /** - * @public - */ - valid: { - type: Boolean - } - } - }), - U("value-state-change", { - detail: { - /** - * @public - */ - valueState: { - type: String - }, - /** - * @public - */ - valid: { - type: Boolean - } - } - }) -], Wt); -Wt.define(); -const yu = Wt; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const QM = { packageName: "@ui5/webcomponents", fileName: "themes/DateRangePicker.css.ts", content: `:host(:not([hidden])){display:inline-block}:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{width:100%;min-width:inherit;color:inherit;background-color:inherit} -` }; -var Rv = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, T1; -let wu = T1 = class extends yu { - constructor() { - super(), this._prevDelimiter = null; - } - /** - * Note: The getter method is inherited and not supported. If called it will return an empty value. - * - * @public - * @default null - */ - get dateValue() { - return null; - } - /** - * Note: The getter method is inherited and not supported. If called it will return an empty value. - * - * @public - * @default null - */ - get dateValueUTC() { - return null; - } - get _startDateTimestamp() { - return this._extractFirstTimestamp(this.value); - } - get _endDateTimestamp() { - return this._extractLastTimestamp(this.value); - } - get _tempTimestamp() { - return this._tempValue && this.getFormat().parse(this._tempValue, !0).getTime() / 1e3; - } - /** - * Required by DatePicker.js - * @override - */ - get _calendarSelectionMode() { - return "Range"; - } - /** - * Required by DatePicker.js - set the calendar focus on the first selected date (or today if not set) - * @override - */ - get _calendarTimestamp() { - return this._tempTimestamp || this._startDateTimestamp || Dv(this._primaryCalendarType); - } - /** - * Required by DatePicker.js - * @override - */ - get _calendarSelectedDates() { - return this._tempValue ? [this._tempValue] : this.value && this._checkValueValidity(this.value) ? this._splitValueByDelimiter(this.value) : []; - } - /** - * Returns the start date of the currently selected range as JavaScript Date instance. - * - * @public - * @default null - */ - get startDateValue() { - return De.fromTimestamp(this._startDateTimestamp * 1e3).toLocalJSDate(); - } - /** - * Returns the end date of the currently selected range as JavaScript Date instance. - * - * @public - * @default null - */ - get endDateValue() { - return De.fromTimestamp(this._endDateTimestamp * 1e3).toLocalJSDate(); - } - /** - * @override - */ - get _placeholder() { - return this.placeholder !== void 0 ? this.placeholder : `${this._displayFormat} ${this._effectiveDelimiter} ${this._displayFormat}`; - } - get dateAriaDescription() { - return T1.i18nBundle.getText(F3); - } - /** - * @override - */ - async _onInputSubmit() { - const e = this._getInput(), t = e.getCaretPosition(); - await Mt(), e.setCaretPosition(t); - } - /** - * @override - */ - onResponsivePopoverAfterClose() { - this._tempValue = "", super.onResponsivePopoverAfterClose(); - } - /** - * @override - */ - isValid(e) { - const t = this._splitValueByDelimiter(e); - return t.length <= 2 && t.every((o) => super.isValid(o)); - } - /** - * @override - */ - isInValidRange(e) { - return this._splitValueByDelimiter(e).every((t) => super.isInValidRange(t)); - } - /** - * Extract both dates as timestamps, flip if necessary, and build (which will use the desired format so we enforce the format too) - * @override - */ - normalizeValue(e) { - const t = this._extractFirstTimestamp(e), o = this._extractLastTimestamp(e); - return t && o && t > o ? this._buildValue(o, t) : this._buildValue(t, o); - } - /** - * @override - */ - onSelectedDatesChange(e) { - e.preventDefault(); - const t = e.detail.values; - if (t.length === 0) - return; - if (t.length === 1) { - this._tempValue = t[0]; - return; - } - const o = this._buildValue(e.detail.dates[0], e.detail.dates[1]); - this._updateValueAndFireEvents(o, !0, ["change", "value-changed"]), this.closePicker(); - } - /** - * @override - */ - async _modifyDateValue(e, t, o) { - if (!this._endDateTimestamp) - return super._modifyDateValue(e, t, o); - const r = this._getInput(); - let n = r.getCaretPosition(), s; - if (n <= this.value.indexOf(this._effectiveDelimiter)) { - const T = gu(De.fromTimestamp(this._startDateTimestamp * 1e3), e, t, o, this._minDate, this._maxDate).valueOf() / 1e3; - T > this._endDateTimestamp && (n += Math.ceil(this.value.length / 2)), s = this._buildValue(T, this._endDateTimestamp); - } else { - const T = gu(De.fromTimestamp(this._endDateTimestamp * 1e3), e, t, o, this._minDate, this._maxDate).valueOf() / 1e3; - s = this._buildValue(this._startDateTimestamp, T), T < this._startDateTimestamp && (n -= Math.ceil(this.value.length / 2)); - } - this._updateValueAndFireEvents(s, !0, ["change", "value-changed"]), await Mt(), r.setCaretPosition(n); - } - get _effectiveDelimiter() { - const e = this.constructor; - return this.delimiter || e.getMetadata().getProperties().delimiter.defaultValue; - } - _splitValueByDelimiter(e) { - const t = [], o = e.split(this._prevDelimiter || this._effectiveDelimiter); - return this.getFormat().parse(e) ? (t[0] = o.join(this._effectiveDelimiter), t[1] = "") : (t[0] = o.slice(0, o.length / 2).join(this._effectiveDelimiter), t[1] = o.slice(o.length / 2).join(this._effectiveDelimiter)), t; - } - /** - * Returns a UTC timestamp, representing the first date in the value string or undefined if the value is empty - * @private - */ - _extractFirstTimestamp(e) { - if (!e || !this._checkValueValidity(e)) - return; - const t = this._splitValueByDelimiter(e); - return this.getFormat().parse(t[0], !0).getTime() / 1e3; - } - /** - * Returns a UTC timestamp, representing the last date in the value string or undefined if the value is empty or there is just one date - * @private - */ - _extractLastTimestamp(e) { - if (!e || !this._checkValueValidity(e)) - return; - const t = this._splitValueByDelimiter(e); - if (t[1]) - return this.getFormat().parse(t[1], !0).getTime() / 1e3; - } - /** - * Builds a string value out of two UTC timestamps - this method is the counterpart to _extractFirstTimestamp/_extractLastTimestamp - * @private - */ - _buildValue(e, t) { - if (this._prevDelimiter = this._effectiveDelimiter, e) { - const o = this._getStringFromTimestamp(e * 1e3); - if (!t) - return o; - const r = this._getStringFromTimestamp(t * 1e3); - return `${o} ${this._effectiveDelimiter} ${r}`; - } - return ""; - } - /** - * @override - */ - get _calendarPickersMode() { - return Yo.DAY_MONTH_YEAR; - } -}; -Rv([ - x({ defaultValue: "-" }) -], wu.prototype, "delimiter", void 0); -Rv([ - x() -], wu.prototype, "_tempValue", void 0); -wu = T1 = Rv([ - X({ - tag: "ui5-daterange-picker", - styles: [yu.styles, QM] - }) -], wu); -wu.define(); -const JM = "date-time", uC = "M352 192q33 0 62 12.5t51 34.5 34.5 51 12.5 62-12.5 62-34.5 51-51 34.5-62 12.5-62-12.5-51-34.5-34.5-51-12.5-62 12.5-62 34.5-51 51-34.5 62-12.5zM32 32h64V0h32v32h192V0h32v32h64q14 0 23 9t9 23v96h-32v-32H32v352h128v32H32q-14 0-23-9t-9-23V64q0-14 9-23t23-9zm192 320q0 27 10 50t27.5 40.5T302 470t50 10 50-10 40.5-27.5T470 402t10-50-10-50-27.5-40.5T402 234t-50-10-50 10-40.5 27.5T234 302t-10 50zm127-64q16 0 16 16v48h49q16 0 16 16 0 6-4.5 11t-11.5 5h-65q-7 0-11.5-5t-4.5-11v-64q0-16 16-16zm1-192V64h-32v32h32zM96 64v32h32V64H96z", eL = !0, tL = "SAP-icons-v4", iL = "@ui5/webcomponents-icons"; -J(JM, { pathData: uC, ltr: eL, collection: tL, packageName: iL }); -const oL = "date-time", dC = "M83 243v147q0 17 11 28t28 11h4q11 0 18.5 7t7.5 18-7.5 18.5T126 480h-4q-38 0-64-26t-26-64V154q0-38 26-64t64-26h6V26q0-11 7.5-18.5T154 0t18 7.5 7 18.5v38h122V26q0-11 7-18.5T326 0t18.5 7.5T352 26v38h6q38 0 64 26t26 64v4q0 11-7.5 18.5T422 184t-18-7.5-7-18.5v-4q0-17-11-28t-28-11h-6v19q0 11-7.5 18.5T326 160t-18-7.5-7-18.5v-19H179v19q0 11-7 18.5t-18 7.5-18.5-7.5T128 134v-19h-6q-17 0-28 11t-11 28v38h51q11 0 18.5 7.5T160 218t-7.5 18-18.5 7H83zm237-51q33 0 62 12.5t51 34.5 34.5 51 12.5 62-12.5 62-34.5 51-51 34.5-62 12.5-62-12.5-51-34.5-34.5-51-12.5-62 12.5-62 34.5-51 51-34.5 62-12.5zm0 269q23 0 42.5-8.5T397 429t23.5-35 8.5-42q0-23-8.5-42.5T397 275t-34.5-23.5T320 243q-22 0-42 8.5T243 275t-23.5 34.5T211 352q0 22 8.5 42t23.5 35 35 23.5 42 8.5zm55-90q9 7 9 19 0 11-7.5 18.5T358 416q-8 0-16-6l-45-39q-9-8-9-19v-46q0-11 7.5-18.5T314 280t18 7.5 7 18.5v34z", rL = !0, nL = "SAP-icons-v5", aL = "@ui5/webcomponents-icons"; -J(oL, { pathData: dC, ltr: rL, collection: nL, packageName: aL }); -Te(); -function sL(i, e, t) { - return y` `; -} -function lL(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>` : y``; -} -function cL(i, e, t) { - return y`${a(this.buttonTypeText)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const uL = { packageName: "@ui5/webcomponents", fileName: "themes/ToggleButton.css.ts", content: `:host(:not([hidden])){display:inline-block}:host([design="Emphasized"]:not([pressed])){text-shadow:var(--_ui5-v1-22-1-rc-0_toggle_button_emphasized_text_shadow)}:host([pressed]),:host([design="Default"][pressed]),:host([design="Transparent"][pressed]),:host([design="Emphasized"][pressed]){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor);text-shadow:none}:host([pressed]:hover),:host([pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Default"][pressed]:hover),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Transparent"][pressed]:hover),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Emphasized"][pressed]:hover),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([active][focused]),:host([design="Default"][active][focused]),:host([design="Transparent"][active][focused]),:host([design="Emphasized"][active][focused]){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Negative"][pressed]){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][active][focused]){background:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Negative"][pressed][active]:hover),:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Positive"][pressed]){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][active][focused]){background:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:hover),:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Attention"][pressed]){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][active][focused]){background:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Attention"][pressed][active]:hover),:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)} -` }; -var hC = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Cu = class extends Ne { - _onclick() { - this.pressed = !this.pressed, Un() && this.getDomRef().focus(); - } - _onkeyup(e) { - if (Da(e)) { - e.preventDefault(); - return; - } - super._onkeyup(e); - } -}; -hC([ - x({ type: Boolean }) -], Cu.prototype, "pressed", void 0); -Cu = hC([ - X({ - tag: "ui5-toggle-button", - template: sL, - styles: [Ne.styles, uL] - }) -], Cu); -Cu.define(); -const id = Cu; -function dL(i, e, t) { - return y`
  • ${this.icon ? hL.call(this, i, e, t) : void 0}
  • `; -} -function hL(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} class="ui5-button-icon" name="${a(this.icon)}" part="icon" ?show-tooltip=${this.showIconTooltip}>` : y``; -} -var vc = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, I1; -let Xn = I1 = class extends id { - get ariaDescription() { - return I1.i18nBundle.getText(S4); - } -}; -vc([ - x({ type: Qo, defaultValue: Qo.Default }) -], Xn.prototype, "design", void 0); -vc([ - x({ type: Boolean }) -], Xn.prototype, "iconEnd", void 0); -vc([ - x({ type: Boolean }) -], Xn.prototype, "submits", void 0); -vc([ - x({ validator: ne, defaultValue: 0 }) -], Xn.prototype, "posInSet", void 0); -vc([ - x({ validator: ne, defaultValue: 0 }) -], Xn.prototype, "sizeOfSet", void 0); -Xn = I1 = vc([ - X({ - tag: "ui5-segmented-button-item", - template: dL, - dependencies: [Pe] - }) -], Xn); -Xn.define(); -const _C = Xn; -var k1; -(function(i) { - i.SingleSelect = "SingleSelect", i.MultiSelect = "MultiSelect"; -})(k1 || (k1 = {})); -const bh = k1; -function _L(i, e, t) { - return y`
      ${a(this.ariaDescribedBy)}
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const pL = { packageName: "@ui5/webcomponents", fileName: "themes/SegmentedButton.css.ts", content: `: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;min-width:calc(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count) * 2.5rem)}.ui5-segmented-button-root{width:inherit;display:grid;grid-template-columns:repeat(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count),minmax(2.5rem,1fr));margin:0;padding:0;background-color:var(--sapButton_Background);border-radius:var(--sapButton_BorderCornerRadius);box-shadow:inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item]){border-radius:var(--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_radius);border-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_border_color);background-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_background_color);height:var(--_ui5-v1-22-1-rc-0_button_base_height);min-width:2.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:initial}::slotted([ui5-segmented-button-item]:hover){z-index:2;box-shadow:var(--_ui5-v1-22-1-rc-0_segmented_btn_hover_box_shadow);border-color:var(--sapButton_Hover_BorderColor);background-color:var(--sapButton_Hover_Background)}::slotted([ui5-segmented-button-item][pressed]),::slotted([ui5-segmented-button-item][active]){border-color:var(--sapButton_Selected_BorderColor);background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item][pressed]:hover){border-color:var(--sapButton_Selected_Hover_BorderColor);background-color:var(--sapButton_Selected_Hover_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item]:last-child){border-start-end-radius:var(--sapButton_BorderCornerRadius);border-end-end-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:first-child){border-start-start-radius:var(--sapButton_BorderCornerRadius);border-end-start-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:not(:first-child)){border-left-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left);border-right-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right)}::slotted([ui5-segmented-button-item][active]:not([active]):hover){border-color:var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item][active]:hover){border-color:var(--sapButton_Selected_BorderColor)} -` }; -var t_ = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Rc; -let Ws = Rc = class extends te { - static async onDefine() { - Rc.i18nBundle = await pe("@ui5/webcomponents"); - } - constructor() { - super(), this._itemNavigation = new $i(this, { - getItemsCallback: () => this.getSlottedNodes("items") - }), this.hasPreviouslyFocusedItem = !1; - } - onBeforeRendering() { - const e = this.getSlottedNodes("items"); - e.forEach((t, o, r) => { - t.posInSet = o + 1, t.sizeOfSet = r.length; - }), this.normalizeSelection(), this.style.setProperty(Bo("--_ui5_segmented_btn_items_count"), `${e.length}`); - } - normalizeSelection() { - if (this.items.length) - switch (this.mode) { - case bh.SingleSelect: { - const e = this.selectedItems, t = this._selectedItem ? e.indexOf(this._selectedItem) : -1; - this._selectedItem && e.length > 1 && e.splice(t, 1); - const o = e.pop() || this.items[0]; - this._applySingleSelection(o); - break; - } - } - } - _selectItem(e) { - const t = e.target, o = t.hasAttribute("ui5-segmented-button-item"); - if (!(t.disabled || t === this.getDomRef() || !o)) { - switch (this.mode) { - case bh.MultiSelect: - e instanceof KeyboardEvent && (t.pressed = !t.pressed); - break; - default: - this._applySingleSelection(t); - } - return this.fireEvent("selection-change", { - selectedItem: t, - selectedItems: this.selectedItems - }), this._itemNavigation.setCurrentItem(t), t.focus(), this; - } - } - _applySingleSelection(e) { - this.items.forEach((t) => { - t.pressed = !1; - }), e.pressed = !0, this._selectedItem = e; - } - _onclick(e) { - this._selectItem(e); - } - _onkeydown(e) { - Se(e) ? this._selectItem(e) : se(e) && e.preventDefault(); - } - _onkeyup(e) { - se(e) && this._selectItem(e); - } - _onmousedown(e) { - const t = e.target; - t.hasAttribute("ui5-segmented-button-item") && (t.focus(), this._itemNavigation.setCurrentItem(t), this.hasPreviouslyFocusedItem = !0); - } - _onfocusin(e) { - if (this.hasPreviouslyFocusedItem) { - this._itemNavigation.setCurrentItem(e.target); - return; - } - this.selectedItems.length && (this.selectedItems[0].focus(), this._itemNavigation.setCurrentItem(this.selectedItems[0]), this.hasPreviouslyFocusedItem = !0); - } - /** - * Currently selected item. - * - * @deprecated since 1.14.0. This method will be removed in the next major release. - * Please use the selectedItems property instead. - * @public - * @default undefined - */ - get selectedItem() { - return this._selectedItem; - } - /** - * Returns an array of the currently selected items. - * @since 1.14.0 - * @public - * @default [] - */ - get selectedItems() { - return this.items.filter((e) => e.pressed); - } - get ariaDescribedBy() { - return Rc.i18nBundle.getText(C4); - } - get ariaDescription() { - return Rc.i18nBundle.getText(w4); - } -}; -t_([ - x({ defaultValue: void 0 }) -], Ws.prototype, "accessibleName", void 0); -t_([ - x({ type: bh, defaultValue: bh.SingleSelect }) -], Ws.prototype, "mode", void 0); -t_([ - K({ type: HTMLElement, invalidateOnChildChange: !0, default: !0 }) -], Ws.prototype, "items", void 0); -Ws = Rc = t_([ - X({ - tag: "ui5-segmented-button", - languageAware: !0, - renderer: ue, - template: _L, - styles: pL, - dependencies: [_C] - }), - U("selection-change", { - detail: { - /** - * @public - * @deprecated deprecated since 1.14.0 and will be removed in the next major release, use the selectedItems parameter instead. - */ - selectedItem: { type: HTMLElement }, - /** - * @public - * @since 1.14.0 - */ - selectedItems: { type: Array } - } - }) -], Ws); -Ws.define(); -const i_ = Ws, yh = (i, e = 1) => { - const t = []; - for (let o = 0; o < i; o++) - if (o % e === 0) { - let r = o.toString(); - r.length === 1 && (r = `0${r}`), t.push(r); - } - return t; -}, fL = (i, e) => { - let t = []; - if (i.isTwelveHoursFormat ? t = yh(e || 12, 1) : t = yh(e || 24, 1), i.minHour === 1) - for (let o = 0; o < t.length; o++) { - const r = parseInt(t[o]) + 1; - r.toString().length === 1 ? t[o] = `0${r.toString()}` : t[o] = r.toString(); - } - return t; -}, vL = (i, e) => yh(i || 60, e), mL = (i, e) => yh(i || 60, e), pC = (i) => { - const e = { - minHour: 0, - maxHour: 0, - isTwelveHoursFormat: !1 - }; - return i === "hour0_23" ? (e.minHour = 0, e.maxHour = 23, e.isTwelveHoursFormat = !1) : i === "hour1_24" ? (e.minHour = 1, e.maxHour = 24, e.isTwelveHoursFormat = !1) : i === "hour0_11" ? (e.minHour = 0, e.maxHour = 11, e.isTwelveHoursFormat = !0) : i === "hour1_12" && (e.minHour = 1, e.maxHour = 12, e.isTwelveHoursFormat = !0), e; -}, fC = (i, e) => { - const t = [!1, !1, !1, !1]; - for (let o = 0; o < i.length; o++) - e.maxHour !== 0 && (t[0] = !0), e.maxHour !== 0 && e.isTwelveHoursFormat && (t[0] = !0), i[o].type === "minute" && (t[1] = !0), i[o].type === "second" && (t[2] = !0), i[o].type === "amPmMarker" && (t[3] = !0); - return t; -}; -var Vr = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, ms; -const gL = 1e3; -let ro = ms = class extends te { - static async onDefine() { - [ms.i18nBundle] = await Promise.all([ - pe("@ui5/webcomponents"), - Jl(We().getLanguage(), We().getRegion(), We().getScript()) - ]); - } - get _hoursConfiguration() { - const t = this.getFormat().aFormatArray.find((o) => o.type.startsWith("hour")); - return pC(t ? t.type : "hour0_23"); - } - get _zeroPaddedHours() { - const t = this.getFormat().aFormatArray.find((o) => o.type.startsWith("hour")); - return !(t.digits && t.digits === 1); - } - get _neededComponents() { - const e = this.getFormat().aFormatArray; - return fC(e, this._hoursConfiguration); - } - get _hasHoursComponent() { - return this._neededComponents[0]; - } - get _hasMinutesComponent() { - return this._neededComponents[1]; - } - get _hasSecondsComponent() { - return this._neededComponents[2]; - } - get _hasPeriodsComponent() { - return this._neededComponents[3]; - } - get dateValue() { - return this.value ? this.getFormat().parse(this.value, void 0, void 0) : /* @__PURE__ */ new Date(); - } - get validDateValue() { - return this.value !== void 0 && this.isValid(this.value) ? this.dateValue : /* @__PURE__ */ new Date(); - } - get periodsArray() { - return this.getFormat().aDayPeriodsAbbrev.map((t) => t.toUpperCase()); - } - get _hours() { - let e; - const t = this.validDateValue; - return this._hoursConfiguration.isTwelveHoursFormat && t.getHours() > this._hoursConfiguration.maxHour ? e = t.getHours() - 12 : this._hoursConfiguration.isTwelveHoursFormat && t.getHours() < this._hoursConfiguration.minHour ? e = t.getHours() + 12 : e = t.getHours(), e.toString().length === 1 && this._zeroPaddedHours && (e = `0${e}`), e.toString(); - } - get _minutes() { - const e = this.validDateValue.getMinutes().toString(); - return e.length === 1 ? `0${e}` : e; - } - get _seconds() { - const e = this.validDateValue.getSeconds().toString(); - return e.length === 1 ? `0${e}` : e; - } - get _period() { - let e; - const t = this.validDateValue; - if (this._hoursConfiguration.isTwelveHoursFormat) - return this._hoursConfiguration.minHour === 1 ? e = t.getHours() >= this._hoursConfiguration.maxHour ? this.periodsArray[1] : this.periodsArray[0] : e = t.getHours() > this._hoursConfiguration.maxHour || t.getHours() === this._hoursConfiguration.minHour ? this.periodsArray[1] : this.periodsArray[0], e; - } - get _formatPattern() { - const e = this.formatPattern, t = !!e.match(/H/i), o = !e || !t, r = Ir(We()); - return o ? r.getCombinedDateTimePattern("medium", "medium", void 0) : e; - } - get _isPattern() { - return this._formatPattern !== "medium" && this._formatPattern !== "short" && this._formatPattern !== "long"; - } - get hoursLabel() { - return ms.i18nBundle.getText(vv); - } - get minutesLabel() { - return ms.i18nBundle.getText(mv); - } - get secondsLabel() { - return ms.i18nBundle.getText(gv); - } - get clockDialAriaLabel() { - return ms.i18nBundle.getText(q4); - } - setValue(e) { - const t = this.formatValue(e); - this.isValid(t) && (this.value = this.normalizeValue(t), this.fireEvent("change", { value: this.value, valid: !0 })); - } - isValid(e) { - return e === "" || this.getFormat().parse(e, void 0, void 0); - } - normalizeValue(e) { - return e === "" ? e : this.getFormat().format(this.getFormat().parse(e, void 0, void 0)); - } - getFormat() { - let e; - return this._isPattern ? e = eo.getDateInstance({ - calendarType: this._calendarType, - pattern: this._formatPattern - }) : e = eo.getDateInstance({ - calendarType: this._calendarType, - style: this._formatPattern - }), e; - } - formatValue(e) { - return this.getFormat().format(e); - } - _componentKey(e) { - return e; - } - _indexFromName(e) { - return this._componentMap[this._componentKey(e)]; - } - /** - * Returns name of the clock or button from the id of the event target. - * - * @returns name of the clock/button - */ - _getNameFromId(e) { - const t = e.split("_"); - return t.length ? t[t.length - 1] : void 0; - } - /** - * Returns index of the clock or button from the id of the event target. - * - * @returns index of the clock/button - */ - _getIndexFromId(e) { - const t = this._getNameFromId(e); - return t ? this._indexFromName(t) : 0; - } - /** - * Changes hours value. - * - * @param hours new hours value - */ - _hoursChange(e) { - this._hoursConfiguration.isTwelveHoursFormat && (e = this._shiftHours(e)); - const t = this.validDateValue; - t.setHours(e), this.setValue(t); - } - /** - * Changes minutes value. - * - * @param minutes new minutes value - */ - _minutesChange(e) { - const t = this.validDateValue; - t.setMinutes(e), this.setValue(t); - } - /** - * Changes seconds value. - * - * @param seconds new seconds value - */ - _secondsChange(e) { - const t = this.validDateValue; - t.setSeconds(e), this.setValue(t); - } - _buttonAmPm() { - var e; - return this._hasPeriodsComponent ? (e = this.shadowRoot) == null ? void 0 : e.querySelector(`#${this._id}_AmPm`) : void 0; - } - _createPeriodComponent() { - this._hasPeriodsComponent && this.periodsArray.forEach((e) => { - this._periods.push({ - label: e, - pressed: this._period === e - }); - }); - } - _periodChange(e) { - const t = e.target; - if (t) { - const o = t.textContent; - this._calculatePeriodChange(o); - } - } - _calculatePeriodChange(e) { - const t = this.validDateValue; - e === this._periods[0].label && t.getHours() >= 12 && t.setHours(t.getHours() - 12), e === this._periods[1].label && t.getHours() < 12 && t.setHours(t.getHours() + 12), this.setValue(t); - } - /** - * Shifts hours value with +/- 12 depending on hour value and day period. - * - * @param hours current hours - * @returns shifted hours - */ - _shiftHours(e) { - return this._period === this.periodsArray[0] ? e = e === 12 ? 0 : e : this._period === this.periodsArray[1] && (e = e === 12 ? e : e + 12), e; - } - /** - * Clears the currently existing cooldown period and starts new one if requested. - * - * @param startNewCooldown whether to start new cooldown period after clearing previous one - */ - _resetCooldown(e) { - this._typeCooldownId && clearTimeout(this._typeCooldownId), e && this._startCooldown(); - } - /** - * Starts new cooldown period. - */ - _startCooldown() { - this._typeCooldownId = setTimeout(() => { - this._keyboardBuffer = "", this._typeCooldownId = void 0, this._exactMatch && (this._setExactMatch(), this._exactMatch = void 0); - }, gL); - } - /** - * Sets the exact match value. Override if necessary. - */ - _setExactMatch() { - } -}; -Vr([ - x({ defaultValue: void 0 }) -], ro.prototype, "value", void 0); -Vr([ - x() -], ro.prototype, "formatPattern", void 0); -Vr([ - x({ validator: ne, defaultValue: 0, noAttribute: !0 }) -], ro.prototype, "_activeIndex", void 0); -Vr([ - x({ type: ln }) -], ro.prototype, "_calendarType", void 0); -Vr([ - x({ type: Object, multiple: !0 }) -], ro.prototype, "_entities", void 0); -Vr([ - x({ type: Object }) -], ro.prototype, "_componentMap", void 0); -Vr([ - x({ type: Object, multiple: !0 }) -], ro.prototype, "_periods", void 0); -Vr([ - x({ validator: ne, noAttribute: !0 }) -], ro.prototype, "_typeCooldownId", void 0); -Vr([ - x({ validator: ne, noAttribute: !0 }) -], ro.prototype, "_exactMatch", void 0); -Vr([ - x({ defaultValue: "", noAttribute: !0 }) -], ro.prototype, "_keyboardBuffer", void 0); -ro = ms = Vr([ - X({ - tag: "ui5-time-picker-internals" - }), - U("change", { - detail: { - value: { type: String }, - valid: { type: Boolean } - } - }) -], ro); -ro.define(); -const Nc = ro; -function bL(i, e, t) { - return y``; -} -function yL(i, e, t, o, r) { - return y`
    ${o.item ? wL.call(this, i, e, t, o, r) : SL.call(this, i, e, t, o, r)}
    `; -} -function wL(i, e, t, o, r) { - return y`${a(o.item)}${o.innerItem ? CL.call(this, i, e, t, o, r) : void 0}`; -} -function CL(i, e, t, o, r) { - return y`${a(o.innerItem)}`; -} -function SL(i, e, t, o, r) { - return y`${this.hideFractions ? void 0 : TL.call(this, i, e, t, o, r)}`; -} -function TL(i, e, t, o, r) { - return y``; -} -function IL(i, e, t) { - return y`
    ${a(this._selectedItem.item)}
    ${a(this._selectedItem.innerItem)}
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const kL = { packageName: "@ui5/webcomponents", fileName: "themes/TimePickerClock.css.ts", content: `.ui5-tp-clock{position:relative;width:auto;padding:.5625rem;outline:none;display:none}.ui5-tp-clock-active{display:block}.ui5-tp-clock-dial{position:relative;width:auto;display:block;border-radius:100%;background-color:var(--sapLegend_WorkingBackground);text-align:center;z-index:1}.ui5-tp-clock-dial:before{content:attr(data-label);display:flex;align-items:center;justify-content:center;position:absolute;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor);inset:2.75rem;border-radius:100%;z-index:2}.ui5-tp-clock-dial:after{content:"";display:block;padding-bottom:100%}.ui5-tp-clock-inner .ui5-tp-clock-dial:before{background-color:var(--sapLegend_WorkingBackground)}.ui5-tp-clock-cover{position:absolute;inset:.5625rem;border-radius:100%;z-index:10;touch-action:none}.ui5-tp-clock-item{position:absolute;top:0;left:50%;display:inline-block;width:2.75rem;height:100%;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui5-tp-clock-item.ui5-tp-clock-marker{z-index:4}.ui5-tp-clock-dot{display:block;box-sizing:border-box;width:.25rem;height:.3125rem;margin:0 auto .25rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-mid-dot{display:block;box-sizing:border-box;width:.125rem;height:.1875rem;margin:0 auto .375rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-marker{box-sizing:border-box;width:.25rem;height:.5625rem;margin:0 auto;border-radius:100%;background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)}.ui5-tp-clock-number{box-sizing:border-box;display:inline-block;width:2.75rem;height:2.75rem;border-radius:100%;line-height:2.75rem;text-align:center;vertical-align:top;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}.ui5-tp-clock-number.ui5-tp-clock-number-hover:not(.ui5-tp-clock-selected){background-color:var(--sapList_Hover_Background)}.ui5-tp-clock-selected{color:var(--sapButton_Selected_TextColor);background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)} -` }; -var bt = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -const $L = 200, xL = 100, fm = 6, ep = "ui5-tp-clock-number", tp = "ui5-tp-clock-number-hover", vm = "ui5-tp-clock-selected", AL = "ui5-tp-clock-mid-dot"; -let nt = class extends te { - constructor() { - super(), this._fnOnMouseOutUp = () => { - this._mouseOrTouchDown = !1; - }; - } - get classes() { - return { - clock: { - "ui5-tp-clock": !0, - "ui5-tp-clock-inner": this.showInnerCircle, - "ui5-tp-clock-active": this.active - } - }; - } - onEnterDOM() { - document.addEventListener("mouseup", this._fnOnMouseOutUp, !1); - } - onExitDOM() { - document.removeEventListener("mouseup", this._fnOnMouseOutUp, !1); - } - onBeforeRendering() { - this._prepareClockItems(); - const e = this._fixReplacementValue(this.selectedValue); - this._updateSelectedValueObject(e); - } - /** - * Returns the real value of the passed clock item, if the replacement must be done, returns the replaced value. - * - * @param value The value of the clock item - * @returns The real/replaced value - */ - _fixReplacementValue(e) { - let t = e; - const o = this.itemMax * (this.showInnerCircle ? 2 : 1); - return t === 0 && (t = o), t === o && this.lastItemReplacement !== -1 && (t = this.lastItemReplacement), t; - } - /** - * Updates internal selected value object constructed for rendering purposes. - * - * @param value currently selected value. - */ - _updateSelectedValueObject(e) { - if (e === -1) { - this._selectedItem = { - showMarker: !1 - }; - return; - } - const t = e >= this.itemMin && e <= this.itemMax || !this.showInnerCircle && e === this.lastItemReplacement, o = (e >= this.itemMin + this.itemMax && e <= this.itemMax * 2 || e === this.lastItemReplacement) && this.showInnerCircle, r = 360 / (this.itemMax - this.itemMin + 1), n = this.lastItemReplacement === -1 || !this.prependZero ? e.toString() : e.toString().padStart(2, "0"); - let s = t || o ? e * r : void 0; - s !== void 0 && (s %= 360), this._selectedItem = { - angle: s, - item: t ? e.toString() : "", - innerItem: o ? n : "", - showMarker: t || o, - itemClasses: ep + (t ? ` ${vm}` : ""), - innerItemClasses: ep + (o ? ` ${vm}` : ""), - outerStyles: { - transform: `translate(-50%) rotate(${s || 0}deg)` - }, - innerStyles: { - transform: `rotate(-${s || 0}deg)` - } - }; - } - /** - * Prepares clock items objects according to current clock settings. Item objects are used for rendering purposes. - */ - _prepareClockItems() { - const e = []; - let t = this.displayStep, o, r, n; - for (this._items = [], n = this.itemMin; n <= this.itemMax; n++) - e.push({ - item: n.toString(), - innerItem: this.showInnerCircle ? (n + this.itemMax).toString() : void 0 - }); - this.lastItemReplacement !== -1 && (this.showInnerCircle && this.prependZero ? e[e.length - 1].innerItem = this.lastItemReplacement.toString().padStart(2, "0") : e[e.length - 1].item = this.lastItemReplacement.toString()); - const s = 360 / fm / e.length; - for (this.valueStep * s > t && (t = this.valueStep * s), n = 1; n <= 60; n++) - r = n / s - 1, o = n % t !== 0 ? {} : e[r], o.angle = n * fm, o.outerStyles = { - transform: `translate(-50%) rotate(${n * 6}deg)` - }, o.innerStyles = { - transform: `rotate(-${n * 6}deg)` - }, this._items.push(o); - } - /** - * Returns the DOM Reference of the clock cover element - * - * @returns the DOM Reference - */ - _getClockCoverContainerDomRef() { - const e = this.getDomRef(); - return e && e.querySelector(".ui5-tp-clock-cover"); - } - /** - * Returns the real max value of clock items, taking in count if there is inner circle or not. - * - * @returns max value - */ - _getMaxValue() { - return this.showInnerCircle ? this.itemMax * 2 : this.itemMax; - } - /** - * Calculates the outer height of a HTML element. - * - * @param element The element which outer height to be calculated - * @returns Outer height of the passed HTML element - */ - _outerHeight(e) { - if (!e) - return 0; - const t = window.getComputedStyle(e); - return e.offsetHeight + parseInt(t.marginTop) + parseInt(t.marginBottom); - } - /** - * Returns the Id of the DOM element of the clock item that display specific value. - * - * @param value The value of the clock item - * @returns Id of the clock item element - */ - _hoveredId(e) { - e === this._getMaxValue() && this.lastItemReplacement !== -1 && (e = this.lastItemReplacement); - const t = this.showInnerCircle && e === this.lastItemReplacement && this.prependZero ? e.toString().padStart(2, "0") : e.toString(); - return `#${this._id}-${t}`; - } - /** - * Returns provided value as string. Padding with additional zero is applied if necessary. - * - * @param value The value that should be returned as string - * @returns The value as string - */ - _getStringValue(e) { - return this.prependZero ? e.toString().padStart(2, "0") : e.toString(); - } - /** - * Calculates dimension variables necessary for determining of item selection. - * - * @returns Dimensions object - */ - _calculateDimensions() { - const e = this.getDomRef(), t = window.pageXOffset || document.documentElement.scrollLeft, o = window.pageYOffset || document.documentElement.scrollTop; - if (!e) - return; - const r = this.getDomRef(), n = r.querySelector(`.${AL}`), s = r.querySelector(`.${ep}`), l = Math.round(e.offsetHeight / 2), T = this._outerHeight(n), w = this._outerHeight(s), S = e.getBoundingClientRect(); - this._dimensionParameters = { - radius: l, - centerX: l, - centerY: l, - dotHeight: T, - numberHeight: w, - outerMax: l, - outerMin: l - w, - innerMax: l - w - 1, - innerMin: l - w * 2 - 1, - offsetX: S.left + t, - offsetY: S.top + o - }; - } - /** - * Calculates selected and hovered values based on click/touch position. - * - * @param x X position of click/touch returned by the event - * @param y Y position of click/touch returned by the event - */ - _calculatePosition(e, t) { - const o = e - this._dimensionParameters.offsetX + 1 - this._dimensionParameters.radius, r = t - this._dimensionParameters.offsetY + 1 - this._dimensionParameters.radius, n = o >= 0 ? 0 : 180, s = Math.atan(r / o) * 180 / Math.PI + 90 + n, l = 360 / this.itemMax * this.valueStep, T = Math.sqrt(o * o + r * r), w = T <= this._dimensionParameters.outerMax && T > (this.showInnerCircle ? this._dimensionParameters.outerMin : this._dimensionParameters.innerMin), S = this.showInnerCircle && T <= this._dimensionParameters.innerMax && T > this._dimensionParameters.innerMin, b = T <= this._dimensionParameters.outerMax && T > this._dimensionParameters.outerMin, v = S; - let g = Math.round((s === 0 ? 360 : s) / l) * l; - g === 0 && (g = 360), S || w ? (this._selectedValue = g / l * this.valueStep, S && (this._selectedValue += this.itemMax)) : this._selectedValue = -1, this._hoveredValue = v || b ? this._selectedValue : -1, this._selectedValue === this._getMaxValue() && this.lastItemReplacement !== -1 && (this._selectedValue = this.lastItemReplacement); - } - /** - * Does the animation between the old and the new value of the clock. Can be skipped with setting the second parameter to true. - * - * @param newValue the new value that must be set - * @param skipAnimation whether to skip the animation - */ - _changeValueAnimation(e, t = !1) { - const o = this.itemMax * (this.showInnerCircle ? 2 : 1); - let r = this._movSelectedValue, n = e, s = 1, l, T, w; - t ? this._setSelectedValue(e) : (l = Math.abs(r - n), T = o - l, r < n ? T < l && (r += o, s = -1) : T < l ? n += o : s = -1, w = r === n ? 0 : Math.ceil($L / Math.abs(r - n)), this._animationInProgress = !0, this._selectNextNumber(r, n, s, o, e, w)); - } - /** - * Does the animation step between old and new selected values. - * - * @param firstSelected first/current value to move from - * @param lastSelected last value to move to - * @param direction direction of the animation - * @param maxValue max clock value - * @param newValue new value - * @param delay delay of the single step - */ - _selectNextNumber(e, t, o, r, n, s) { - const l = e > r ? e - r : e; - e === t && (this._animationInProgress = !1), this._setSelectedValue(l), e !== t ? (e += o, setTimeout(() => { - this._selectNextNumber(e, t, o, r, n, s); - }, s)) : setTimeout(() => { - this.fireEvent("change", { - value: n, - stringValue: this._getStringValue(n), - finalChange: !0 - }); - }, xL); - } - /** - * Mousewheel handler. Increases/decreases value of the clock. - * - * @param increase whether to increase or decrease the value - */ - _modifyValue(e) { - let t = this.selectedValue; - const o = this.lastItemReplacement, r = this.itemMin, n = this.itemMax * (this.showInnerCircle ? 2 : 1); - let s = this.valueStep, l; - t % s !== 0 && (l = e ? Math.ceil(t / s) * s : Math.floor(t / s) * s, s = Math.abs(t - l)), t === o && (t = n), e ? (t += s, t > n && (t -= n)) : (t -= s, t < r && (t = n)), this._setSelectedValue(t); - } - /** - * Sets new selected value, fires change event and updates selected value object used for rendering purposes. - * - * @param value - */ - _setSelectedValue(e) { - const t = this._fixReplacementValue(e); - this.selectedValue = t, this.fireEvent("change", { - value: t, - stringValue: this._getStringValue(t), - finalChange: !1 - }), this._updateSelectedValueObject(t); - } - /** - * TouchStart/MouseDown event handler. - * - * @param evt Event object - */ - _onTouchStart(e) { - if (this._cancelTouchOut = !1, this.disabled || this._mouseOrTouchDown) - return; - const t = e.type === "touchstart" ? e.touches[0].pageX : e.pageX, o = e.type === "touchstart" ? e.touches[0].pageY : e.pageY; - this._movSelectedValue = this.selectedValue, this._calculateDimensions(), this._calculatePosition(t, o), this._mouseOrTouchDown = !0; - } - /** - * TouchMove/MouseMove event handler. - * - * @param evt Event object - */ - _onTouchMove(e) { - let t; - const o = this.getDomRef(); - if (e.preventDefault(), this._mouseOrTouchDown) { - const r = e.type === "touchmove" ? e.touches[0].pageX : e.pageX, n = e.type === "touchmove" ? e.touches[0].pageY : e.pageY; - this._calculatePosition(r, n), !this.disabled && this._selectedValue !== -1 && this._selectedValue !== this._movSelectedValue && (this._setSelectedValue(this._selectedValue), this._movSelectedValue = 0 + this._selectedValue); - } else - e.type === "mousemove" && (this._dimensionParameters.radius || this._calculateDimensions(), this._calculatePosition(e.pageX, e.pageY), this.displayStep > 1 && this._hoveredValue !== -1 && (this._hoveredValue = Math.round(this._hoveredValue / this.displayStep) * this.displayStep), !this.disabled && this._hoveredValue !== this._prevHoveredValue && (t = o.querySelector(this._hoveredId(this._prevHoveredValue)), t && t.classList.remove(tp), this._prevHoveredValue = this._hoveredValue, t = o.querySelector(this._hoveredId(this._prevHoveredValue)), t && t.classList.add(tp))); - } - /** - * TouchEnd/MouseUp event handler. - * - * @param evt Event object - */ - _onTouchEnd(e) { - this._mouseOrTouchDown && (this._mouseOrTouchDown = !1, e.preventDefault(), !(this.disabled || this._selectedValue === -1) && (this._cancelTouchOut || this._changeValueAnimation(this._selectedValue))); - } - /** - * Mouse Wheel event handler. - * - * @param evt Event object - */ - _onMouseWheel(e) { - const t = e.detail ? e.detail > 0 : e.deltaY > 0 || e.deltaX > 0; - e.preventDefault(), this._mouseOrTouchDown || this._modifyValue(t); - } - /** - * MouseOut event handler. - */ - _onMouseOut() { - const e = this.getDomRef().querySelector(this._hoveredId(this._hoveredValue)); - e && e.classList.remove(tp), this._hoveredValue = -1, this._prevHoveredValue = -1; - } -}; -bt([ - x({ type: Boolean }) -], nt.prototype, "disabled", void 0); -bt([ - x({ type: Boolean }) -], nt.prototype, "active", void 0); -bt([ - x({ validator: ne, defaultValue: -1 }) -], nt.prototype, "itemMin", void 0); -bt([ - x({ validator: ne, defaultValue: -1 }) -], nt.prototype, "itemMax", void 0); -bt([ - x({ type: Boolean }) -], nt.prototype, "showInnerCircle", void 0); -bt([ - x({ type: String, defaultValue: void 0 }) -], nt.prototype, "label", void 0); -bt([ - x({ type: Boolean }) -], nt.prototype, "hideFractions", void 0); -bt([ - x({ validator: ne, defaultValue: -1 }) -], nt.prototype, "lastItemReplacement", void 0); -bt([ - x({ type: Boolean }) -], nt.prototype, "prependZero", void 0); -bt([ - x({ validator: ne, defaultValue: -1 }) -], nt.prototype, "selectedValue", void 0); -bt([ - x({ validator: ne, defaultValue: 5 }) -], nt.prototype, "displayStep", void 0); -bt([ - x({ validator: ne, defaultValue: 1 }) -], nt.prototype, "valueStep", void 0); -bt([ - x({ type: Object, multiple: !0 }) -], nt.prototype, "_items", void 0); -bt([ - x({ type: Object }) -], nt.prototype, "_selectedItem", void 0); -bt([ - x({ type: Object }) -], nt.prototype, "_dimensionParameters", void 0); -bt([ - x({ type: Boolean, noAttribute: !0 }) -], nt.prototype, "_mouseOrTouchDown", void 0); -bt([ - x({ type: Boolean, noAttribute: !0 }) -], nt.prototype, "_cancelTouchOut", void 0); -bt([ - x({ validator: ne, defaultValue: -1, noAttribute: !0 }) -], nt.prototype, "_selectedValue", void 0); -bt([ - x({ validator: ne, defaultValue: -1, noAttribute: !0 }) -], nt.prototype, "_movSelectedValue", void 0); -bt([ - x({ validator: ne, defaultValue: -1, noAttribute: !0 }) -], nt.prototype, "_hoveredValue", void 0); -bt([ - x({ validator: ne, defaultValue: -1, noAttribute: !0 }) -], nt.prototype, "_prevHoveredValue", void 0); -bt([ - x({ type: Boolean, noAttribute: !0 }) -], nt.prototype, "_animationInProgress", void 0); -nt = bt([ - X({ - tag: "ui5-time-picker-clock", - renderer: ue, - styles: kL, - template: bL - }), - U("change", { - detail: { - /** - * @public - */ - value: { type: ne }, - /** - * @public - */ - stringValue: { type: String }, - /** - * @public - */ - finalChange: { type: Boolean } - } - }) -], nt); -nt.define(); -const EL = nt; -function BL(i, e, t) { - return y` `; -} -function DL(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>` : y``; -} -function PL(i, e, t) { - return y`${a(this.buttonTypeText)}`; -} -var od = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Va = class extends id { - /** - * Override of the handler in order to prevent button toggle functionality - */ - _onclick() { - } -}; -od([ - x({ validator: ne, defaultValue: -1 }) -], Va.prototype, "valueMin", void 0); -od([ - x({ validator: ne, defaultValue: -1 }) -], Va.prototype, "valueMax", void 0); -od([ - x({ validator: ne, defaultValue: -1 }) -], Va.prototype, "valueNow", void 0); -od([ - x() -], Va.prototype, "valueText", void 0); -Va = od([ - X({ - tag: "ui5-toggle-spin-button", - renderer: ue, - styles: [Ne.styles, id.styles], - template: BL - }) -], Va); -Va.define(); -const OL = Va; -function RL(i, e, t) { - return y`
    ${Y(this._entities, (o, r) => o._id || r, (o, r) => NL.call(this, i, e, t, o, r))}${this._periods.length ? ML.call(this, i, e, t) : void 0}
    `; -} -function NL(i, e, t, o, r) { - return t ? y`${o.hasSeparator ? mm.call(this, i, e, t, o, r) : void 0}<${E("ui5-toggle-spin-button", e, t)} id="${a(this._id)}_button_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .valueMin="${a(o.attributes.min)}" .valueMax="${a(o.attributes.max)}" .valueNow="${a(o.value)}" .valueText="${a(o.textValue)}" .accessibleName="${a(o.label)}" .pressed="${a(o.active)}" ?focused="${o.focused}" @focusin="${this._buttonFocusIn}">${a(o.stringValue)}` : y`${o.hasSeparator ? mm.call(this, i, e, t, o, r) : void 0}${a(o.stringValue)}`; -} -function mm(i, e, t, o, r) { - return y`:`; -} -function ML(i, e, t) { - return t ? y`<${E("ui5-segmented-button", e, t)} id="${a(this._id)}_AmPm" @click=${this._periodChange} @focusin=${this._amPmFocusIn} @focusout=${this._amPmFocusOut}>${Y(this._periods, (o, r) => o._id || r, (o, r) => gm.call(this, i, e, t, o, r))}` : y`${Y(this._periods, (o, r) => o._id || r, (o, r) => gm.call(this, i, e, t, o, r))}`; -} -function gm(i, e, t, o, r) { - return t ? y`<${E("ui5-segmented-button-item", e, t)} ?pressed=${o.pressed}>${a(o.label)}` : y`${a(o.label)}`; -} -function LL(i, e, t, o, r) { - return t ? y`<${E("ui5-time-picker-clock", e, t)} id="${a(this._id)}_clock_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .active="${a(o.active)}" .label="${a(o.label)}" .itemMin="${a(o.itemMin)}" .itemMax="${a(o.itemMax)}" .selectedValue="${a(o.value)}" .displayStep="${a(o.displayStep)}" .valueStep="${a(o.attributes.step)}" .lastItemReplacement="${a(o.lastItemReplacement)}" .showInnerCircle="${a(o.showInnerCircle)}" .prependZero="${a(o.prependZero)}" @ui5-change=${a(this._clockChange)}>` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const FL = { packageName: "@ui5/webcomponents", fileName: "themes/TimeSelectionClocks.css.ts", content: `.ui5-time-picker-tsc-container{margin:0 auto;box-sizing:border-box;width:100%;padding:1rem;text-align:center}.ui5-time-picker-tsc-container:focus{outline:none}.ui5-time-picker-tsc-buttons{display:flex;justify-content:center;align-items:center;padding-bottom:1rem;width:100%}.ui5-time-picker-tsc-buttons span[separator]{min-width:.5rem;padding:0 .125rem;text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-time-picker-tsc-clocks{display:block;text-align:center;width:100%;touch-action:none} -` }; -var o_ = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let js = class extends Nc { - onBeforeRendering() { - this._createComponents(); - } - /** - * Returns ToggleSpinButton component by index or name. - * - * @param indexOrName the index or name of the component - * @returns component (if exists) or undefined - */ - _buttonComponent(e) { - var r; - const t = typeof e == "string" ? this._indexFromName(e) : e, o = this._entities[t].entity; - return o ? (r = this.shadowRoot) == null ? void 0 : r.querySelector(`#${this._id}_button_${o}`) : void 0; - } - /** - * Returns TimePickerClock component by index or name. - * - * @param indexOrName the index or name of the component - * @returns component (if exists) or undefined - */ - _clockComponent(e) { - var r; - const t = typeof e == "string" ? this._indexFromName(e) : e, o = this._entities[t].entity; - return o ? (r = this.shadowRoot) == null ? void 0 : r.querySelector(`#${this._id}_clock_${o}`) : void 0; - } - /** - * TimePickerClocks focusin event handler. Focuses the active button and switches to active clock. - * - * @param evt Event object - */ - _clocksFocusIn(e) { - const t = e.target; - this._focused = !0, t.id === this._id && this._switchClock(this._activeIndex); - } - _clocksFocusOut() { - this._focused = !1; - } - /** - * ToggleSpinButton focusin event handler.Switches to clock which button is being focused. - * - * @param evt Event object - */ - _buttonFocusIn(e) { - const t = e.target, o = this._getNameFromId(t.id); - o && this._switchTo(o); - } - /** - * AM/PM segmented button focusin event handler. - */ - _amPmFocusIn() { - this._amPmFocused = !0; - } - /** - * AM/PM segmented button focusout event handler. - */ - _amPmFocusOut() { - this._amPmFocused = !1; - } - /** - * keyup event handler. - * - * @param evt Event object - */ - _onkeyup(e) { - se(e) && (this._spacePressed = !1); - } - /** - * keydown event handler. - * - * @param evt Event object - */ - _onkeydown(e) { - let t; - const o = e.target && e.target.tagName.toLowerCase().indexOf("segmented") === -1; - if (Se(e)) - this.fireEvent("close-picker"); - else if (se(e) && o && !this._spacePressed) - e.preventDefault(), this._spacePressed = !0, this._keyboardBuffer = "", this._resetCooldown(!0), this._switchNextClock(!0); - else if ((Ye(e) || Ue(e)) && !oh(e) && !Gf(e)) - t = this._clockComponent(this._activeIndex), t && !t.disabled && !this._amPmFocused && t._modifyValue(Ye(e)), e.preventDefault(); - else if (Ri(e) || Ji(e)) - t = this._clockComponent("hours"), t && !t.disabled && (this._switchTo("hours"), t._modifyValue(Ri(e))), e.preventDefault(); - else if (xl(e) || Vu(e)) - t = this._clockComponent("minutes"), t && !t.disabled && (this._switchTo("minutes"), t._modifyValue(xl(e))), e.preventDefault(); - else if (lu(e) || Oh(e)) - t = this._clockComponent("seconds"), t && !t.disabled && (this._switchTo("seconds"), t._modifyValue(lu(e))), e.preventDefault(); - else if (x_(e) || F2(e)) { - const r = this._buttonAmPm(); - if (r) { - r.items[0].pressed = x_(e), r.items[1].pressed = F2(e); - const n = x_(e) ? r.items[0].textContent : r.items[1].textContent; - n && this._calculatePeriodChange(n); - } - e.preventDefault(); - } else - LI(e) ? (this._keyboardBuffer = "", this._exactMatch = void 0, this._resetCooldown(!0), this._switchNextClock(!0)) : qy(e) && this._entities[this._activeIndex] && (this._exactMatch = void 0, this._resetCooldown(!0), this._numbersInput(e)); - } - /** - * Handles direct numbers entry. - * - * @param evt Event object - */ - _numbersInput(e) { - const t = e.key, o = this._keyboardBuffer + t, r = parseInt(o), n = this._entities[this._activeIndex]; - let s = this._clockComponent(this._activeIndex); - !n || !n.attributes || (r > n.attributes.max ? (s && s._setSelectedValue(parseInt(this._keyboardBuffer)), this._switchNextClock(), this._keyboardBuffer = t, s = this._clockComponent(this._activeIndex), s && s._setSelectedValue(parseInt(t)), this._resetCooldown(!0)) : (this._keyboardBuffer = o, s && s._setSelectedValue(parseInt(this._keyboardBuffer)), (this._keyboardBuffer.length === 2 || parseInt(`${this._keyboardBuffer}0`) > n.attributes.max) && (this._resetCooldown(this._keyboardBuffer.length !== 2), this._keyboardBuffer = "", this._switchNextClock()))); - } - /** - * Focuses the first available button. - */ - _focusFirstButton() { - this._activeIndex = 0, this._buttonComponent(0).focus(); - } - /** - * Sets the exact match value. Must be overriden. - */ - _setExactMatch() { - const e = this._clockComponent(this._activeIndex); - e && this._exactMatch !== void 0 && e._setSelectedValue(this._exactMatch); - } - /** - * Creates clock and button components according to the display format pattern. - */ - _createComponents() { - const e = { - hours: parseInt(this._hours), - minutes: parseInt(this._minutes), - seconds: parseInt(this._seconds) - }; - this._entities = [], this._periods = [], this._componentMap = { - hours: -1, - minutes: -1, - seconds: -1 - }, this._hasHoursComponent && (this._componentMap.hours = this._entities.length, this._entities.push({ - label: this.hoursLabel, - entity: "hours", - itemMin: 1, - itemMax: 12, - value: e.hours, - stringValue: this._hours, - textValue: `${e.hours} ${this.hoursLabel}`, - displayStep: 1, - lastItemReplacement: this._hoursConfiguration.isTwelveHoursFormat ? -1 : 0, - showInnerCircle: !this._hoursConfiguration.isTwelveHoursFormat, - prependZero: this._zeroPaddedHours, - hasSeparator: this._entities.length > 0, - active: !1, - attributes: { - min: this._hoursConfiguration.minHour, - max: this._hoursConfiguration.maxHour, - step: 1 - } - })), this._hasMinutesComponent && (this._componentMap.minutes = this._entities.length, this._entities.push({ - label: this.minutesLabel, - entity: "minutes", - itemMin: 1, - itemMax: 60, - value: e.minutes, - stringValue: this._minutes, - textValue: `${e.minutes} ${this.minutesLabel}`, - displayStep: 5, - lastItemReplacement: 0, - showInnerCircle: !1, - prependZero: !1, - hasSeparator: this._entities.length > 0, - active: !1, - attributes: { - min: 0, - max: 59, - step: 1 - } - })), this._hasSecondsComponent && (this._componentMap.seconds = this._entities.length, this._entities.push({ - label: this.secondsLabel, - entity: "seconds", - itemMin: 1, - itemMax: 60, - value: e.seconds, - stringValue: this._seconds, - textValue: `${e.seconds} ${this.secondsLabel}`, - displayStep: 5, - lastItemReplacement: 0, - showInnerCircle: !1, - prependZero: !1, - hasSeparator: this._entities.length > 0, - active: !1, - attributes: { - min: 0, - max: 59, - step: 1 - } - })), this._entities[this._activeIndex].active = !0, this._entities[this._activeIndex].focused = this._focused && !this._amPmFocused, this._createPeriodComponent(); - } - /** - * Switches to the specific clock by name. - * - * @param clockName the name of the clock - */ - _switchTo(e) { - const t = this._componentKey(e); - this._componentMap[t] !== void 0 && this._switchClock(this._componentMap[t]); - } - /** - * Switches to the specific clock by its index in _clocks property. - * - * @param clockIndex the index of the clock - */ - _switchClock(e) { - const t = this._buttonComponent(e); - this._entities.length && e < this._entities.length && t && (this._entities[this._activeIndex].active = !1, this._entities[this._activeIndex].focused = !1, this._activeIndex = e, this._entities[this._activeIndex].active = !0, this._entities[this._activeIndex].focused = this._focused && !this._amPmFocused, t.focus()); - } - /** - * Switches to the next available clock. - * - * @param wrapAround whether to switch to the first clock if there are no next clock - */ - _switchNextClock(e = !1) { - let t = this._activeIndex; - const o = t, r = this._clockComponent(t); - do - t++, t >= this._entities.length && (t = e ? 0 : this._entities.length - 1); - while (r && r.disabled && t !== o && (e || t < this._entities.length - 1)); - const n = this._clockComponent(t); - t !== o && n && !n.disabled && this._switchClock(t); - } - /** - * Clock 'change' event handler. - * - * @param evt Event object - */ - _clockChange(e) { - const t = this._getIndexFromId(e.target.id), o = e.detail.stringValue, r = e.detail.value, n = this._buttonComponent(t); - if (n) { - switch (this._entities[t].stringValue = o, this._entities[t].value = r, this._entities = JSON.parse(JSON.stringify(this._entities)), t) { - case this._componentMap.hours: - this._hoursChange(r); - break; - case this._componentMap.minutes: - this._minutesChange(r); - break; - case this._componentMap.seconds: - this._secondsChange(r); - break; - } - e.detail.finalChange && (this._activeIndex < this._entities.length - 1 ? this._switchNextClock() : n.focus()); - } - } -}; -o_([ - x({ type: Boolean, noAttribute: !0 }) -], js.prototype, "_spacePressed", void 0); -o_([ - x({ type: Boolean, noAttribute: !0 }) -], js.prototype, "_focused", void 0); -o_([ - x({ type: Boolean, noAttribute: !0 }) -], js.prototype, "_amPmFocused", void 0); -js = o_([ - U("close-picker"), - X({ - tag: "ui5-time-selection-clocks", - renderer: ue, - styles: FL, - template: RL, - dependencies: [ - EL, - OL, - i_ - ] - }) -], js); -js.define(); -const vC = js; -function zL(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader ? bm.call(this, i, e, t) : void 0}
    <${E("ui5-calendar", e, t)} class="ui5-dt-cal ${W(this.classes.dateTimeView)}" id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}">${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => ym.call(this, i, e, t, o, r))}${this.phone ? void 0 : wm.call(this, i, e, t)}${this.showTimeView ? Cm.call(this, i, e, t) : void 0}
    ${this.showFooter ? Sm.call(this, i, e, t) : void 0} ` : y`${this.showHeader ? bm.call(this, i, e, t) : void 0}
    ${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => ym.call(this, i, e, t, o, r))}${this.phone ? void 0 : wm.call(this, i, e, t)}${this.showTimeView ? Cm.call(this, i, e, t) : void 0}
    ${this.showFooter ? Sm.call(this, i, e, t) : void 0}
    `; -} -function bm(i, e, t) { - return y`${this.phone ? HL.call(this, i, e, t) : void 0}`; -} -function HL(i, e, t) { - return t ? y`
    <${E("ui5-segmented-button", e, t)} class="ui5-dt-picker-toggle-button"><${E("ui5-toggle-button", e, t)} key="Date" ?pressed="${this.showDateView}" @click="${this._dateTimeSwitchChange}">${a(this.btnDateLabel)}<${E("ui5-toggle-button", e, t)} key="Time" ?pressed="${this.showTimeView}" @click="${this._dateTimeSwitchChange}">${a(this.btnTimeLabel)}
    ` : y`
    ${a(this.btnDateLabel)}${a(this.btnTimeLabel)}
    `; -} -function ym(i, e, t, o, r) { - return t ? y`<${E("ui5-date", e, t)} value="${a(o)}">` : y``; -} -function wm(i, e, t) { - return y``; -} -function Cm(i, e, t) { - return t ? y`<${E("ui5-time-selection-clocks", e, t)} id="${a(this._id)}-time-sel" class="ui5-dt-time ${W(this.classes.dateTimeView)}" format-pattern="${a(this._formatPattern)}" value="${a(this._timeSelectionValue)}" @ui5-change="${a(this.onTimeSelectionChange)}" ._calendarType="${a(this._primaryCalendarType)}">` : y``; -} -function Sm(i, e, t) { - return t ? y`` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const VL = { packageName: "@ui5/webcomponents", fileName: "themes/DateTimePicker.css.ts", content: `:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{min-width:inherit;color:inherit;background-color:inherit} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const UL = { packageName: "@ui5/webcomponents", fileName: "themes/DateTimePickerPopover.css.ts", content: `.ui5-dt-picker-content{display:flex;flex-direction:row;height:var(--_ui5-v1-22-1-rc-0_datetime_picker_height);min-width:var(--_ui5-v1-22-1-rc-0_datetime_picker_width);box-sizing:border-box;justify-content:center}.ui5-dt-picker-toggle-button{width:8rem}.ui5-dt-cal{width:auto;box-sizing:border-box}.ui5-dt-time{width:100%;min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_width);box-sizing:border-box}.ui5-dt-cal.ui5-dt-cal--hidden,.ui5-dt-time.ui5-dt-time--hidden{display:none}.ui5-dt-picker-header{display:flex;justify-content:center;width:100%;margin-top:1rem;box-sizing:border-box}.ui5-dt-picker-separator{height:calc(100% - 2rem);width:0px;margin-top:1rem;margin-bottom:1rem;border-left:1px solid var(--sapGroup_ContentBorderColor);box-sizing:border-box}.ui5-dt-picker-footer{display:flex;justify-content:flex-end;align-items:center;height:2.75rem;width:100%}.ui5-dt-picker-footer.ui5-dt-picker-footer-time-hidden{padding:0}.ui5-dt-picker-action{margin:.25rem}#ok.ui5-dt-picker-action{width:4rem}.ui5-dt-picker-content--phone.ui5-dt-picker-content{min-width:20rem;height:calc(100% - 4rem)}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-time-selection-clocks]{height:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width);width:auto}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-calendar]{margin-bottom:var(--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom)}.ui5-dt-picker-content--phone .ui5-dt-cal{width:100%}.ui5-dt-picker-content--phone .ui5-dt-time{min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width)} -` }; -var r_ = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, gs; -const qL = 640; -let Os = gs = class extends yu { - constructor() { - super(), this._handleResizeBound = this._handleResize.bind(this); - } - /** - * @override - */ - onResponsivePopoverAfterClose() { - super.onResponsivePopoverAfterClose(), this._showTimeView = !1, this._previewValues = {}; - } - /** - * LIFECYCLE METHODS - */ - onEnterDOM() { - Ce.register(document.body, this._handleResizeBound); - } - onExitDOM() { - Ce.deregister(document.body, this._handleResizeBound); - } - /** - * PUBLIC METHODS - */ - /** - * Opens the picker. - * - * @public - */ - async openPicker() { - await super.openPicker(), this._previewValues = { - ...this._previewValues, - timeSelectionValue: this.value || this.getFormat().format(/* @__PURE__ */ new Date()) - }; - } - /** - * Read-only getters - */ - get classes() { - return { - picker: { - "ui5-dt-picker-content--phone": this.phone - }, - dateTimeView: { - "ui5-dt-cal--hidden": this.phone && this.showTimeView, - "ui5-dt-time--hidden": this.phone && this.showDateView - }, - footer: { - "ui5-dt-picker-footer-time-hidden": this.phone && this.showTimeView || this.phone && this.showDateView - } - }; - } - get _formatPattern() { - const e = !!this.formatPattern.match(/H/i), t = !this.formatPattern || !e, o = Ir(We()); - return t ? o.getCombinedDateTimePattern("medium", "medium", this._primaryCalendarType) : this.formatPattern; - } - get _calendarTimestamp() { - return this._previewValues.calendarTimestamp ? this._previewValues.calendarTimestamp : super._calendarTimestamp; - } - get _calendarSelectedDates() { - return this._previewValues.calendarValue ? [this._previewValues.calendarValue] : super._calendarSelectedDates; - } - get _timeSelectionValue() { - return this._previewValues.timeSelectionValue ? this._previewValues.timeSelectionValue : this.value; - } - get openIconName() { - return "date-time"; - } - get btnOKLabel() { - return gs.i18nBundle.getText(bv); - } - get btnCancelLabel() { - return gs.i18nBundle.getText(yv); - } - get btnDateLabel() { - return gs.i18nBundle.getText(Y4); - } - get btnTimeLabel() { - return gs.i18nBundle.getText(X4); - } - get showFooter() { - return !0; - } - get showDateView() { - return this.phone ? !this._showTimeView : !0; - } - get showTimeView() { - return this.phone ? this._showTimeView : !0; - } - get phone() { - return super.phone || this._phoneMode; - } - get dateAriaDescription() { - return gs.i18nBundle.getText(L3); - } - /** - * Defines whether the dialog on mobile should have header - * - * @private - */ - get _shouldHideHeader() { - return !0; - } - /** - * EVENT HANDLERS - */ - /** - * @override - */ - onSelectedDatesChange(e) { - e.preventDefault(); - const t = e.path ? e.path[1] : e.composedPath()[1]; - this._previewValues = { - ...this._previewValues, - calendarTimestamp: e.detail.timestamp, - calendarValue: e.detail.values[0], - timeSelectionValue: t.lastChild.value - }; - } - onTimeSelectionChange(e) { - this._previewValues = { - ...this._previewValues, - timeSelectionValue: e.detail.value - }; - } - /** - * Handles document resize to switch between phoneMode and normal appearance. - */ - _handleResize() { - const t = document.body.offsetWidth <= qL; - (t && !this._phoneMode || !t && this._phoneMode) && (this._phoneMode = t); - } - get _submitDisabled() { - return !this._calendarSelectedDates || !this._calendarSelectedDates.length; - } - /** - * Handles clicking on the submit button, within the picker`s footer. - */ - _submitClick() { - const e = this.getSelectedDateTime(), t = this.getFormat().format(e); - this.value !== t && this._updateValueAndFireEvents(t, !0, ["change", "value-changed"]), this.closePicker(); - } - /** - * Handles clicking on the cancel button, within the picker`s footer, - * that would disregard the user selection. - */ - _cancelClick() { - this.closePicker(); - } - /** - * Handles the date/time switch available in phoneMode to switch - * between the date and time views. - * - * @param e - */ - _dateTimeSwitchChange(e) { - const t = e.target; - this._showTimeView = t.getAttribute("key") === "Time"; - } - /** - * @override - */ - _modifyDateValue(e, t, o) { - if (!this.dateValue) - return; - const n = gu(De.fromLocalJSDate(this.dateValue), e, t, o, this._minDate, this._maxDate).toLocalJSDate(); - n.setHours(this.dateValue.getHours()), n.setMinutes(this.dateValue.getMinutes()), n.setSeconds(this.dateValue.getSeconds()); - const s = this.formatValue(n); - this._updateValueAndFireEvents(s, !0, ["change", "value-changed"]); - } - async getPicker() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); - } - getSelectedDateTime() { - const e = this.getFormat().parse(this._calendarSelectedDates[0]), t = this.getFormat().parse(this._timeSelectionValue); - return t && (e.setHours(t.getHours()), e.setMinutes(t.getMinutes()), e.setSeconds(t.getSeconds())), e; - } - /** - * @override - */ - get _calendarPickersMode() { - return Yo.DAY_MONTH_YEAR; - } -}; -r_([ - x({ type: Boolean, noAttribute: !0 }) -], Os.prototype, "_showTimeView", void 0); -r_([ - x({ type: Boolean }) -], Os.prototype, "_phoneMode", void 0); -r_([ - x({ type: Object }) -], Os.prototype, "_previewValues", void 0); -Os = gs = r_([ - X({ - tag: "ui5-datetime-picker", - staticAreaTemplate: zL, - styles: [ - Os.styles, - VL - ], - staticAreaStyles: [ - yu.staticAreaStyles, - UL - ], - dependencies: [ - ...yu.dependencies, - cC, - Ne, - id, - i_, - vC - ] - }) -], Os); -Os.define(); -function WL(i, e, t) { - return y`
    ${this.hideInput ? void 0 : jL.call(this, i, e, t)}
    ${this._keepInputInShadowDOM ? GL.call(this, i, e, t) : YL.call(this, i, e, t)}
    `; -} -function jL(i, e, t) { - return t ? y`<${E("ui5-input", e, t)} value="${a(this.value)}" value-state="${a(this.valueState)}" placeholder="${a(this.placeholder)}" ?disabled="${this.disabled}" tabindex="-1" class="ui5-file-uploader-input">` : y``; -} -function GL(i, e, t) { - return y``; -} -function YL(i, e, t) { - return y``; -} -function XL(i, e, t) { - return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    ${this._valueStateMessageInputIcon ? Tm.call(this, i, e, t) : void 0}${this.shouldDisplayDefaultValueStateMessage ? Im.call(this, i, e, t) : km.call(this, i, e, t)}
    ` : y`
    ${this._valueStateMessageInputIcon ? Tm.call(this, i, e, t) : void 0}${this.shouldDisplayDefaultValueStateMessage ? Im.call(this, i, e, t) : km.call(this, i, e, t)}
    `; -} -function Tm(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">` : y``; -} -function Im(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function km(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => KL.call(this, i, e, t, o, r))}`; -} -function KL(i, e, t, o, r) { - return y`${a(o)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const ZL = { packageName: "@ui5/webcomponents", fileName: "themes/FileUploader.css.ts", content: `:host{vertical-align:middle}:host{display:inline-block}.ui5-file-uploader-root{position:relative}.ui5-file-uploader-root input[type=file]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.ui5-file-uploader-root input[type=file]:not([disabled]){cursor:pointer}.ui5-file-uploader-mask{display:flex;align-items:center}.ui5-file-uploader-mask [ui5-input]{margin-right:.25rem}:host([value-state="None"]:not([disabled]):hover) [ui5-input],:host(:not([value-state]):not([disabled]):hover) [ui5-input]{border:var(--_ui5-v1-22-1-rc-0_file_uploader_hover_border);background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Error"]:not([disabled]):hover) [ui5-input]{background-color:var(--_ui5-v1-22-1-rc-0_file_uploader_value_state_error_hover_background_color);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Warning"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}:host(:not([disabled]):active) [ui5-button]{background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor);text-shadow:none} -` }; -var Ho = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Zr; -let Ui = Zr = class extends te { - static get formAssociated() { - return !0; - } - constructor() { - super(), this._internals = this.attachInternals && this.attachInternals(); - } - _onmouseover() { - this.content.forEach((e) => { - e.classList.add("ui5_hovered"); - }); - } - _onmouseout() { - this.content.forEach((e) => { - e.classList.remove("ui5_hovered"); - }); - } - _onclick(e) { - Xo(e) === "button" && this._input.click(); - } - _onkeydown(e) { - Se(e) && (this._input.click(), e.preventDefault()); - } - _onkeyup(e) { - se(e) && (this._input.click(), e.preventDefault()); - } - _onfocusin() { - this.focused = !0; - } - _onfocusout() { - this.focused = !1; - } - /** - * FileList of all selected files. - * - * @public - * @default null - */ - get files() { - return this._input ? this._input.files : Zr._emptyFilesList; - } - onBeforeRendering() { - this._enableFormSupport(); - } - onAfterRendering() { - this.value || (this._input.value = ""), this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover); - } - _enableFormSupport() { - const e = ze("FormSupport"); - e ? this._canUseNativeFormSupport ? this._setFormValue() : e.syncNativeFileInput(this, (t, o) => { - o.disabled = !!t.disabled; - }, this._onChange.bind(this)) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); - } - _onChange(e) { - const t = e.target.files; - this._updateValue(t), this.fireEvent("change", { - files: t - }); - } - _updateValue(e) { - this.value = Array.from(e || []).reduce((t, o) => `${t}"${o.name}" `, ""); - } - _setFormValue() { - const e = new FormData(); - if (this.files) - for (let t = 0; t < this.files.length; t++) - e.append(this.name, this.files[t]); - this._internals.setFormValue(e); - } - toggleValueStatePopover(e) { - e ? this.openValueStatePopover() : this.closeValueStatePopover(); - } - async openValueStatePopover() { - const e = await this._getPopover(); - e && e.showAt(this); - } - async closeValueStatePopover() { - const e = await this._getPopover(); - e && e.close(); - } - async _getPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover"); - } - /** - * in case when the component is not placed in the DOM, return empty FileList, like native input would do - * @private - */ - static get _emptyFilesList() { - return this.emptyInput || (this.emptyInput = document.createElement("input"), this.emptyInput.type = "file"), this.emptyInput.files; - } - get browseText() { - return Zr.i18nBundle.getText(H3); - } - get titleText() { - return Zr.i18nBundle.getText(V3); - } - get _canUseNativeFormSupport() { - return !!(this._internals && this._internals.setFormValue); - } - get _keepInputInShadowDOM() { - return this._canUseNativeFormSupport || !this.name; - } - get _input() { - return this.shadowRoot.querySelector("input[type=file]") || this.querySelector("input[type=file][data-ui5-form-support]"); - } - get valueStateTextMappings() { - return { - Success: Zr.i18nBundle.getText(Sn), - Information: Zr.i18nBundle.getText(Qn), - Error: Zr.i18nBundle.getText(wn), - Warning: Zr.i18nBundle.getText(Cn) - }; - } - get valueStateText() { - return this.valueStateTextMappings[this.valueState]; - } - get hasValueState() { - return this.valueState !== q.None; - } - get hasValueStateText() { - return this.hasValueState && this.valueState !== q.Success; - } - get valueStateMessageText() { - return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); - } - get shouldDisplayDefaultValueStateMessage() { - return !this.valueStateMessage.length && this.hasValueStateText; - } - get shouldOpenValueStateMessagePopover() { - return this.focused && this.hasValueStateText && !this.hideInput; - } - /** - * This method is relevant for sap_horizon theme only - */ - get _valueStateMessageInputIcon() { - const e = { - Error: "error", - Warning: "alert", - Success: "sys-enter-2", - Information: "information" - }; - return this.valueState !== q.None ? e[this.valueState] : ""; - } - get classes() { - return { - popoverValueState: { - "ui5-valuestatemessage-root": !0, - "ui5-valuestatemessage--success": this.valueState === q.Success, - "ui5-valuestatemessage--error": this.valueState === q.Error, - "ui5-valuestatemessage--warning": this.valueState === q.Warning, - "ui5-valuestatemessage--information": this.valueState === q.Information - } - }; - } - get styles() { - return { - popoverHeader: { - width: `${this.ui5Input ? this.ui5Input.offsetWidth : 0}px` - } - }; - } - get ui5Input() { - return this.shadowRoot.querySelector(".ui5-file-uploader-input"); - } - static async onDefine() { - Zr.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -Ho([ - x() -], Ui.prototype, "accept", void 0); -Ho([ - x({ type: Boolean }) -], Ui.prototype, "hideInput", void 0); -Ho([ - x({ type: Boolean }) -], Ui.prototype, "disabled", void 0); -Ho([ - x({ type: Boolean }) -], Ui.prototype, "multiple", void 0); -Ho([ - x() -], Ui.prototype, "name", void 0); -Ho([ - x() -], Ui.prototype, "placeholder", void 0); -Ho([ - x() -], Ui.prototype, "value", void 0); -Ho([ - x({ type: q, defaultValue: q.None }) -], Ui.prototype, "valueState", void 0); -Ho([ - x({ type: Boolean }) -], Ui.prototype, "focused", void 0); -Ho([ - K({ type: HTMLElement, default: !0 }) -], Ui.prototype, "content", void 0); -Ho([ - K() -], Ui.prototype, "valueStateMessage", void 0); -Ho([ - K() -], Ui.prototype, "formSupport", void 0); -Ui = Zr = Ho([ - X({ - tag: "ui5-file-uploader", - languageAware: !0, - renderer: ue, - styles: ZL, - template: WL, - staticAreaTemplate: XL, - staticAreaStyles: [Fr, Ka], - dependencies: [ - Ar, - Fi, - Pe - ] - }), - U("change", { - detail: { - /** - * @public - */ - files: { type: FileList } - } - }) -], Ui); -Ui.define(); -function QL(i, e, t) { - return t ? y`
    ${a(this._tokensCountText)}<${E("ui5-tokenizer", e, t)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} .valueState=${a(this.valueState)} ?expanded="${this.expandedTokenizer}" show-more @keydown="${this._onTokenizerKeydown}" @ui5-show-more-items-press=${a(this.showMorePress)} @ui5-token-delete=${a(this.tokenDelete)} @focusout="${this._tokenizerFocusOut}">
    ${this.shouldDisplayDefaultValueStateMessage ? $m.call(this, i, e, t) : xm.call(this, i, e, t)}
    ${this._effectiveShowClearIcon ? Am.call(this, i, e, t) : void 0}${this.icon.length ? Em.call(this, i, e, t) : void 0}
    ${jn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon ? Bm.call(this, i, e, t) : void 0}${this.showSuggestions ? Dm.call(this, i, e, t) : void 0}${this.accInfo.input.ariaDescription ? Pm.call(this, i, e, t) : void 0}${this.hasValueState ? Om.call(this, i, e, t) : void 0}
    ` : y`
    ${a(this._tokensCountText)}
    ${this.shouldDisplayDefaultValueStateMessage ? $m.call(this, i, e, t) : xm.call(this, i, e, t)}
    ${this._effectiveShowClearIcon ? Am.call(this, i, e, t) : void 0}${this.icon.length ? Em.call(this, i, e, t) : void 0}
    ${jn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon ? Bm.call(this, i, e, t) : void 0}${this.showSuggestions ? Dm.call(this, i, e, t) : void 0}${this.accInfo.input.ariaDescription ? Pm.call(this, i, e, t) : void 0}${this.hasValueState ? Om.call(this, i, e, t) : void 0}
    `; -} -function $m(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function xm(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => JL.call(this, i, e, t, o, r))}`; -} -function JL(i, e, t, o, r) { - return y`${a(o)}`; -} -function Am(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; -} -function Em(i, e, t) { - return y`
    `; -} -function Bm(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} @click=${this.valueHelpPress} @mousedown=${this.valueHelpMouseDown} @mouseup=${this.valueHelpMouseUp} input-icon name="value-help">` : y``; -} -function Dm(i, e, t) { - return y`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`; -} -function Pm(i, e, t) { - return y`${a(this.accInfo.input.ariaDescription)}`; -} -function Om(i, e, t) { - return y`${a(this.ariaValueStateHiddenText)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const eF = { packageName: "@ui5/webcomponents", fileName: "themes/MultiInput.css.ts", content: `[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}.ui5-multi-input-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-input-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-input-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-input-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} -` }, tF = "sys-cancel", mC = "M512 256q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256t20.5-100 55-81.5T157 20t99-20q53 0 100 20t81.5 54.5T492 156t20 100zm-32 0q0-47-17.5-87.5t-48-71-71.5-48T256 32t-87 18-71.5 48.5-48 71T32 256q0 47 17.5 88t48 71 71.5 47.5 87 17.5q47 0 88-17.5t71-47.5 47.5-71 17.5-88zm-186-7q-5 3-1 9l89 89q9 8 0 17l-16 17q-8 4-9 4t-9-4l-89-89q-1-2-4-2-4 0-5 2l-88 89q-6 4-9 4-1 0-9-4l-16-17q-8-9 0-17l88-89q5-5 0-9l-88-89q-8-9 0-17l16-17q4-4 9-4t9 4l88 89q2 2 5 2 2 0 4-2l89-89q4-4 9-4t9 4l16 17q9 8 0 17z", iF = !1, oF = "SAP-icons-v4", rF = "@ui5/webcomponents-icons"; -J(tF, { pathData: mC, ltr: iF, collection: oF, packageName: rF }); -const nF = "sys-cancel", gC = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 461q42 0 79.5-16t65.5-44 44-65.5 16-79.5-16-79.5-44-65.5-65.5-44T256 51t-79.5 16-65.5 44-44 65.5T51 256t16 79.5 44 65.5 65.5 44 79.5 16zm70-301q11 0 18.5 7.5T352 186t-7 18l-53 52 53 52q7 7 7 18t-7.5 18.5T326 352q-10 0-18-8l-52-52-52 52q-8 8-18 8-11 0-18.5-7.5T160 326q0-10 8-18l52-52-52-52q-8-8-8-18 0-11 7.5-18.5T186 160t18 7l52 53 52-53q7-7 18-7z", aF = !1, sF = "SAP-icons-v5", lF = "@ui5/webcomponents-icons"; -J(nF, { pathData: gC, ltr: aF, collection: sF, packageName: lF }); -Te(); -function cF(i, e, t) { - return y`
    ${a(this.text)}${this.readonly ? void 0 : uF.call(this, i, e, t)}
    `; -} -function uF(i, e, t) { - return y`
    ${this.closeIcon.length ? dF.call(this, i, e, t) : hF.call(this, i, e, t)}
    `; -} -function dF(i, e, t) { - return y``; -} -function hF(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="${a(this.iconURI)}" accessible-name="${a(this.tokenDeletableText)}" show-tooltip @click="${this._delete}">` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const _F = { packageName: "@ui5/webcomponents", fileName: "themes/Token.css.ts", content: `:host{display:inline-block;background:var(--_ui5-v1-22-1-rc-0_token_background);border:var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_border_radius);color:var(--_ui5-v1-22-1-rc-0_token_text_color);height:var(--_ui5-v1-22-1-rc-0_token_height);box-sizing:border-box}:host(:not([single-token])){margin-inline-end:var(--_ui5-v1-22-1-rc-0_token_right_margin)}:host([overflows]){display:none}:host(:not([readonly]):hover){background:var(--sapButton_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_hover_border_color)}:host([selected]:not([readonly])){color:var(--sapButton_Selected_TextColor)}:host([selected]:not([readonly])){background:var(--sapButton_Selected_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_Selected_BorderColor)}:host([selected]:not([readonly])) .ui5-token--wrapper{border-bottom:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius)}:host([selected]:not([readonly]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_selected_hover_border_color)}:host([readonly]){background:var(--_ui5-v1-22-1-rc-0_token_readonly_background);border-color:var(--sapField_ReadOnly_BorderColor);color:var(--_ui5-v1-22-1-rc-0_token_readonly_color)}:host([readonly]) .ui5-token--wrapper{padding:var(--_ui5-v1-22-1-rc-0_token_readonly_padding)}:host([selected]) .ui5-token--wrapper:focus{outline:var(--_ui5-v1-22-1-rc-0_token_selected_focus_outline)}:host([selected]:not([readonly])) .ui5-token--text,:host([selected]:not([readonly])) .ui5-token--icon{top:var(--_ui5-v1-22-1-rc-0_token_text_icon_top);position:relative}:host([focused][selected]:not([readonly]):not(:hover)){background:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor);border:var(--_ui5-v1-22-1-rc-0_token_focused_selected_border)}.ui5-token--wrapper{display:flex;align-items:center;height:100%;width:100%;cursor:default;padding-inline-start:var(--_ui5-v1-22-1-rc-0_token_left_padding);box-sizing:border-box;font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);user-select:none}.ui5-token--wrapper{position:relative}:host([selected]) .ui5-token--wrapper{font-family:var(--_ui5-v1-22-1-rc-0_token_selected_text_font_family)}.ui5-token--wrapper:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_token_outline_offset);outline:var(--_ui5-v1-22-1-rc-0_token_focus_outline)}.ui5-token--wrapper:focus:after{content:var(--ui5-v1-22-1-rc-0_token_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_focus_outline_border_radius);top:var(--_ui5-v1-22-1-rc-0_token_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_token_focus_offset);left:var(--_ui5-v1-22-1-rc-0_token_focus_offset);right:var(--_ui5-v1-22-1-rc-0_token_focus_offset)}:host([focused][selected]:not([readonly])) .ui5-token--wrapper:focus:after{bottom:var(--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom)}.ui5-token--text{white-space:nowrap}.ui5-token--icon{display:flex}:host([selected]) .ui5-token--icon>[ui5-icon],:host([selected]) ::slotted([ui5-icon]){color:var(--sapButton_Selected_TextColor)}.ui5-token--icon>[ui5-icon],::slotted([ui5-icon]){color:inherit;cursor:pointer;width:var(--_ui5-v1-22-1-rc-0_token_icon_size);height:var(--_ui5-v1-22-1-rc-0_token_icon_size);padding:var(--_ui5-v1-22-1-rc-0_token_icon_padding);color:var(--sapContent_IconColor)}:host([single-token]){max-width:100%}:host([single-token]) .ui5-token--wrapper{max-width:100%}:host([single-token]) .ui5-token--text{overflow:hidden;text-overflow:ellipsis;max-width:100%} -` }; -var In = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, qd; -let Oo = qd = class extends te { - _handleSelect() { - this.toBeDeleted || (this.selected = !this.selected, this.fireEvent("select")); - } - _focusin() { - this.focused = !0; - } - _focusout() { - this.focused = !this.focused; - } - _delete() { - this.toBeDeleted = !0, this.fireEvent("delete"); - } - _keydown(e) { - const t = Hu(e), o = $l(e); - !this.readonly && (t || o) && (e.preventDefault(), this.fireEvent("delete", { - backSpace: t, - delete: o - })), (se(e) || jf(e)) && (e.preventDefault(), this._handleSelect()); - } - onBeforeRendering() { - this.toBeDeleted = !1; - } - get tokenDeletableText() { - return qd.i18nBundle.getText(K4); - } - get iconURI() { - return ja().includes("sap_belize") ? "sys-cancel" : "decline"; - } - get textDom() { - var e; - return (e = this.getDomRef()) == null ? void 0 : e.querySelector(".ui5-token--text"); - } - get isTruncatable() { - return this.textDom ? Math.ceil(this.textDom.getBoundingClientRect().width) < Math.ceil(this.textDom.scrollWidth) : !1; - } - static async onDefine() { - qd.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -In([ - x() -], Oo.prototype, "text", void 0); -In([ - x({ type: Boolean }) -], Oo.prototype, "readonly", void 0); -In([ - x({ type: Boolean }) -], Oo.prototype, "selected", void 0); -In([ - x({ type: Boolean }) -], Oo.prototype, "overflows", void 0); -In([ - x({ type: Boolean }) -], Oo.prototype, "singleToken", void 0); -In([ - x({ type: Boolean }) -], Oo.prototype, "focused", void 0); -In([ - x({ type: Boolean }) -], Oo.prototype, "toBeDeleted", void 0); -In([ - x({ defaultValue: "-1", noAttribute: !0 }) -], Oo.prototype, "forcedTabIndex", void 0); -In([ - K() -], Oo.prototype, "closeIcon", void 0); -Oo = qd = In([ - X({ - tag: "ui5-token", - languageAware: !0, - renderer: ue, - template: cF, - styles: _F, - dependencies: [Pe] - }), - U("select"), - U("delete", { - detail: { - backSpace: { type: Boolean }, - delete: { type: Boolean } - } - }) -], Oo); -Oo.define(); -const bC = Oo; -function pF(i, e, t) { - return y`
    ${a(this.tokenizerLabel)}
    ${Y(this.tokens, (o, r) => o._id || r, (o, r) => fF.call(this, i, e, t, o, r))}
    ${this.showNMore ? vF.call(this, i, e, t) : void 0}
    `; -} -function fF(i, e, t, o, r) { - return y``; -} -function vF(i, e, t) { - return y`${a(this._nMoreText)}`; -} -function mF(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} tokenizer-popover="true" style=${G(this.styles.popover)} class=${W(this.classes.popover)} ?content-only-on-desktop="${this.noValueStatePopover}" hide-arrow placement-type="Bottom" horizontal-align="Left" @before-close=${this.handleBeforeClose} @before-open="${this.handleBeforeOpen}">${this._isPhone ? void 0 : Rm.call(this, i, e, t)}${this._isPhone ? Mm.call(this, i, e, t) : void 0}<${E("ui5-list", e, t)} class="ui5-tokenizer-list" mode="Delete" @ui5-item-delete=${a(this.itemDelete)}>${Y(this._tokens, (o, r) => o._id || r, (o, r) => zm.call(this, i, e, t, o, r))}${this._isPhone ? Hm.call(this, i, e, t) : void 0}` : y`${this._isPhone ? void 0 : Rm.call(this, i, e, t)}${this._isPhone ? Mm.call(this, i, e, t) : void 0}${Y(this._tokens, (o, r) => o._id || r, (o, r) => zm.call(this, i, e, t, o, r))}${this._isPhone ? Hm.call(this, i, e, t) : void 0}`; -} -function Rm(i, e, t) { - return y`
    ${this.noValueStatePopover ? void 0 : gF.call(this, i, e, t)}
    `; -} -function gF(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Nm.call(this, i, e, t, o, r))}
    ` : y`
    ${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Nm.call(this, i, e, t, o, r))}
    `; -} -function Nm(i, e, t, o, r) { - return y`${a(o)}`; -} -function Mm(i, e, t) { - return t ? y`
    <${E("ui5-title", e, t)} level="H5" class="ui5-responsive-popover-header-text">${a(this.morePopoverTitle)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closeMorePopover}">
    ${this.noValueStatePopover ? void 0 : Lm.call(this, i, e, t)}` : y`
    ${a(this.morePopoverTitle)}
    ${this.noValueStatePopover ? void 0 : Lm.call(this, i, e, t)}`; -} -function Lm(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Fm.call(this, i, e, t, o, r))}
    ` : y`
    ${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Fm.call(this, i, e, t, o, r))}
    `; -} -function Fm(i, e, t, o, r) { - return y`${a(o)}`; -} -function zm(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} .tokenRef=${a(o)} wrapping-type="Normal">${a(o.text)}` : y`${a(o.text)}`; -} -function Hm(i, e, t) { - return t ? y`` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const bF = { packageName: "@ui5/webcomponents", fileName: "themes/Tokenizer.css.ts", content: `.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:1px solid black;height:2.25rem}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;overflow-x:scroll;box-sizing:border-box;font-family:"72override",var(--sapFontFamily)}.ui5-tokenizer-no-padding{padding:0}.ui5-tokenizer-root.ui5-tokenizer-nmore--wrapper{overflow:hidden}.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-v1-22-1-rc-0_tokenizer_padding);height:100%;box-sizing:border-box}: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:.25rem;cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5-v1-22-1-rc-0_tokenizer_n_more_text_color)} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const yF = { packageName: "@ui5/webcomponents", fileName: "themes/TokenizerPopover.css.ts", content: `[ui5-responsive-popover]::part(header),[ui5-responsive-popover]::part(content){padding:0}#ui5-tokenizer-dialog-confirm-btn{height:100%;min-width:4rem}[ui5-responsive-popover]{margin-top:var(--_ui5-v1-22-1-rc-0_tokenizer-popover_offset);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_tokenizer_padding))} -` }; -var ur = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Qr, Ml; -(function(i) { - i.cut = "cut", i.copy = "copy"; -})(Ml || (Ml = {})); -let qi = Qr = class extends te { - _handleResize() { - this._nMoreCount = this.overflownTokens.length; - } - constructor() { - super(), this._resizeHandler = this._handleResize.bind(this), this._itemNav = new $i(this, { - currentIndex: -1, - getItemsCallback: this._getVisibleTokens.bind(this) - }), this._scrollEnablement = new xv(this); - } - onBeforeRendering() { - this._tokensCount = this._getTokens().length, this._tokens.forEach((e) => { - e.singleToken = this._tokens.length === 1; - }), this._tokens.length || this.closeMorePopover(); - } - onEnterDOM() { - Ce.register(this.contentDom, this._resizeHandler); - } - onExitDOM() { - Ce.deregister(this.contentDom, this._resizeHandler); - } - async _openMorePopoverAndFireEvent() { - this.preventPopoverOpen || await this.openMorePopover(), this.fireEvent("show-more-items-press"); - } - async openMorePopover() { - (await this.getPopover()).showAt(this.morePopoverOpener || this); - } - _getTokens() { - return this.getSlottedNodes("tokens"); - } - get _tokens() { - return this.getSlottedNodes("tokens"); - } - _onmousedown(e) { - if (e.target.hasAttribute("ui5-token")) { - const t = e.target; - t.toBeDeleted || this._itemNav.setCurrentItem(t); - } - } - onTokenSelect() { - const e = this._getTokens(); - e.length === 1 && e[0].isTruncatable && (e[0].selected ? this.openMorePopover() : this.closeMorePopover()); - } - _getVisibleTokens() { - return this.disabled ? [] : this._tokens.filter((e, t) => t < this._tokens.length - this._nMoreCount); - } - async onAfterRendering() { - this._nMoreCount = this.overflownTokens.length, this._getTokens().length || (await this.getPopover()).close(), this._scrollEnablement.scrollContainer = this.expanded || !this.narrowContentDom ? this.expandedContentDom : this.narrowContentDom, this.expanded && (this._expandedScrollWidth = this.expandedContentDom.scrollWidth, this.scrollToEnd()), this.expanded || this.scrollToStart(); - } - _delete(e) { - const t = e.target; - if (!e.detail) { - this._tokenClickDelete(e, t), this._getTokens().length && this.closeMorePopover(); - return; - } - this._selectedTokens.length ? this._selectedTokens.forEach((o) => this.deleteToken(o, e.detail.backSpace)) : this.deleteToken(t, e.detail.backSpace); - } - _tokenClickDelete(e, t) { - const o = this._getVisibleTokens(), r = e.target, n = t ? o.indexOf(t) : o.indexOf(r), s = n === o.length - 1 ? n - 1 : n + 1, l = o[s]; - this._handleCurrentItemAfterDeletion(l), this.fireEvent("token-delete", { ref: t || r }); - } - _handleCurrentItemAfterDeletion(e) { - e && !ce() && (this._itemNav.setCurrentItem(e), setTimeout(() => { - e.focus(); - }, 0)); - } - /** - * Removes a token from the Tokenizer. - * This method should only be used by ui5-multi-combobox and ui5-multi-input - * - * @protected - * @param token Token to be focused. - * @param forwardFocusToPrevious Indicates whether the focus will be forwarded to previous or next token after deletion. - */ - deleteToken(e, t) { - const o = this._getVisibleTokens(), r = o.indexOf(e); - let n = r === o.length - 1 ? r - 1 : r + 1; - const s = o.filter((T) => !T.selected); - t ? n = r === 0 ? r + 1 : r - 1 : n = r === o.length - 1 ? r - 1 : r + 1; - let l = o[n]; - if (s.length > 1) - for (; l && l.selected; ) - l = t ? o[--n] : o[++n]; - else - l = s[0]; - this._handleCurrentItemAfterDeletion(l), this.fireEvent("token-delete", { ref: e }); - } - async itemDelete(e) { - const t = e.detail.item.tokenRef; - if (this._getTokens().length === 1 && this._getTokens()[0].isTruncatable) { - const o = await this.getPopover(); - o.addEventListener("ui5-after-close", () => { - this.fireEvent("token-delete", { ref: t }); - }, { - once: !0 - }), o.close(); - } else - this.fireEvent("token-delete", { ref: t }); - } - handleBeforeClose() { - ce() && this._getTokens().forEach((e) => { - e.selected = !1; - }); - } - handleBeforeOpen() { - this.fireEvent("before-more-popover-open"); - } - _onkeydown(e) { - if (Da(e) && e.preventDefault(), se(e) || jf(e)) - return e.preventDefault(), this._handleTokenSelection(e, !1); - fp(e) && this._handleHomeShift(e), vp(e) && this._handleEndShift(e), this._handleItemNavigation(e, this._tokens); - } - _handleItemNavigation(e, t) { - const o = !!(e.metaKey || e.ctrlKey), r = e.target; - if (Cl(e) || Ds(e) || Fn(e) || Ln(e)) - return this._handleArrowCtrl(e, r, t, Ds(e) || Fn(e)); - if (pp(e) || rh(e) || sn(e) || Tr(e) || AI(e) || O2(e)) - return e.preventDefault(), this._handleArrowShift(r, t, rh(e) || O2(e) || Tr(e)); - if (qt(e) || Ii(e) || ec(e) || Ns(e)) - return e.preventDefault(), this._handleHome(t, Ii(e) || Ns(e)); - if (o && e.key.toLowerCase() === "a") - return e.preventDefault(), this._toggleTokenSelection(t); - if (Ct(e) || dt(e) || Ye(e) || Ue(e)) { - const n = this._calcNextTokenIndex(this._tokens.find((s) => s.focused), t, dt(e) || Ue(e)); - this._scrollToToken(t[n]); - } - } - _handleHome(e, t) { - if (!e || !e.length) - return -1; - const o = t ? e.length - 1 : 0; - e[o].focus(), this._itemNav.setCurrentItem(e[o]); - } - _handleHomeShift(e) { - const t = this.tokens, o = e.target, r = t.indexOf(o); - t.filter((n, s) => s <= r).forEach((n) => { - n.selected = !0; - }), t[0].focus(), this._itemNav.setCurrentItem(t[0]); - } - _handleEndShift(e) { - const t = this.tokens, o = e.target, r = t.indexOf(o); - t.filter((n, s) => s >= r).forEach((n) => { - n.selected = !0; - }), t[t.length - 1].focus(), this._itemNav.setCurrentItem(t[t.length - 1]); - } - _calcNextTokenIndex(e, t, o) { - if (!t.length) - return -1; - const r = t.indexOf(e); - let n = o ? r + 1 : r - 1; - return n >= t.length && (n = t.length - 1), n < 0 && (n = 0), n; - } - _handleArrowCtrl(e, t, o, r) { - const n = this._calcNextTokenIndex(t, o, r); - e.preventDefault(), n !== -1 && (setTimeout(() => { - o[n].focus(); - }, 0), this._scrollToToken(o[n]), this._itemNav.setCurrentItem(o[n])); - } - _handleArrowShift(e, t, o) { - const r = t.indexOf(e), n = o ? r + 1 : r - 1; - n === -1 || n === t.length || (e.selected = !0, t[n].selected = !0, setTimeout(() => { - t[n].focus(); - }, 0), this._scrollToToken(t[n]), this._itemNav.setCurrentItem(t[n])); - } - _click(e) { - this._handleTokenSelection(e); - } - _toggleTokenSelection(e) { - if (!e || !e.length) - return; - const t = e.every((o) => o.selected); - e.forEach((o) => { - o.selected = !t; - }); - } - _handleTokenSelection(e, t = !0) { - const o = e.target; - o.hasAttribute("ui5-token") && (t ? this._tokens : []).forEach((n) => { - n !== o && (n.selected = !1); - }); - } - _fillClipboard(e, t) { - const o = t.filter((n) => n.selected).map((n) => n.text).join(`\r -`), r = (n) => { - n.clipboardData && n.clipboardData.setData("text/plain", o), n.preventDefault(); - }; - document.addEventListener(e, r), document.execCommand(e), document.removeEventListener(e, r); - } - /** - * Scrolls the container of the tokens to its beginning. - * This method is used by MultiInput and MultiComboBox. - * @private - */ - scrollToStart() { - this._scrollEnablement.scrollContainer && this._scrollEnablement.scrollTo(0, 0); - } - /** - * Scrolls the container of the tokens to its end when expanded. - * This method is used by MultiInput and MultiComboBox. - * @private - */ - scrollToEnd() { - const e = this.expandedContentDom && (this.effectiveDir !== "rtl" ? this.expandedContentDom.scrollWidth : -this.expandedContentDom.scrollWidth); - this._scrollEnablement.scrollContainer && this._scrollEnablement.scrollTo(e, 0, 5, 10); - } - /** - * Scrolls token to the visible area of the container. - * Adds 4 pixels to the scroll position to ensure padding and border visibility on both ends - * @private - */ - _scrollToToken(e) { - if (!this.expandedContentDom) - return; - const t = e.getBoundingClientRect(), o = this.expandedContentDom.getBoundingClientRect(); - t.left < o.left ? this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft - (o.left - t.left + 5), 0) : t.right > o.right && this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft + (t.right - o.right + 5), 0); - } - async closeMorePopover() { - (await this.getPopover()).close(!1, !1, !0); - } - get _nMoreText() { - if (this._nMoreCount) - return this._getVisibleTokens().length ? Qr.i18nBundle.getText(p4, this._nMoreCount) : Qr.i18nBundle.getText(i8, this._nMoreCount); - } - get showNMore() { - return !this.expanded && this.showMore && !!this.overflownTokens.length; - } - get contentDom() { - return this.shadowRoot.querySelector(".ui5-tokenizer--content"); - } - get expandedContentDom() { - return this.shadowRoot.querySelector(".ui5-tokenizer-expanded--content"); - } - get narrowContentDom() { - return this.shadowRoot.querySelector(".ui5-tokenizer-nmore--content"); - } - get tokenizerLabel() { - return Qr.i18nBundle.getText(e8); - } - get morePopoverTitle() { - return Qr.i18nBundle.getText(t8); - } - get overflownTokens() { - return this.contentDom ? (this._getTokens().forEach((e) => { - e.overflows = !1; - }), this._getTokens().filter((e) => { - const t = this.contentDom.getBoundingClientRect(), o = e.getBoundingClientRect(), r = Number(o.right.toFixed(2)), n = Number(t.right.toFixed(2)), s = Number(o.left.toFixed(2)), l = Number(t.left.toFixed(2)); - return e.overflows = !this.expanded && (s < l || r > n), e.overflows; - })) : []; - } - get noValueStatePopover() { - return this.valueState === q.None || this.valueState === q.Success; - } - get valueStateMessageText() { - return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); - } - /** - * This method is relevant for sap_horizon theme only - */ - get _valueStateMessageIcon() { - const e = { - Error: "error", - Warning: "alert", - Success: "sys-enter-2", - Information: "information" - }; - return this.valueState !== q.None ? e[this.valueState] : ""; - } - get _isPhone() { - return ce(); - } - get _selectedTokens() { - return this._getTokens().filter((e) => e.selected); - } - get classes() { - return { - wrapper: { - "ui5-tokenizer-root": !0, - "ui5-tokenizer-nmore--wrapper": this.showMore, - "ui5-tokenizer-no-padding": !this._getTokens().length - }, - content: { - "ui5-tokenizer--content": !0, - "ui5-tokenizer-expanded--content": !this.showNMore, - "ui5-tokenizer-nmore--content": this.showNMore - }, - popover: { - "ui5-popover-with-value-state-header-phone": this._isPhone && !this.noValueStatePopover, - "ui5-popover-with-value-state-header": !this._isPhone && !this.noValueStatePopover - }, - popoverValueState: { - "ui5-valuestatemessage-root": !0, - "ui5-valuestatemessage-header": !0, - "ui5-valuestatemessage--success": this.valueState === q.Success, - "ui5-valuestatemessage--error": this.valueState === q.Error, - "ui5-valuestatemessage--warning": this.valueState === q.Warning, - "ui5-valuestatemessage--information": this.valueState === q.Information - } - }; - } - get styles() { - return { - popover: { - "min-width": this.popoverMinWidth ? `${this.popoverMinWidth}px` : "" - }, - popoverValueStateMessage: { - width: this.popoverMinWidth && !ce() ? `${this.popoverMinWidth}px` : "100%", - "min-height": "2rem" - }, - popoverHeader: { - "min-height": "2rem" - }, - popoverHeaderTitle: { - "justify-content": "left" - } - }; - } - _tokensCountText() { - const e = this._getTokens().length; - return e === 0 ? Qr.i18nBundle.getText(Z4) : e === 1 ? Qr.i18nBundle.getText(Q4) : Qr.i18nBundle.getText(J4, e); - } - /** - * @protected - */ - _focusLastToken() { - if (this.tokens.length === 0) - return; - const e = this.tokens[this.tokens.length - 1]; - e.focus(), this._itemNav.setCurrentItem(e); - } - static async onDefine() { - Qr.i18nBundle = await pe("@ui5/webcomponents"); - } - async getPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); - } -}; -ur([ - x({ type: Boolean }) -], qi.prototype, "showMore", void 0); -ur([ - x({ type: Boolean }) -], qi.prototype, "disabled", void 0); -ur([ - x({ type: Boolean }) -], qi.prototype, "preventPopoverOpen", void 0); -ur([ - x({ type: Boolean }) -], qi.prototype, "expanded", void 0); -ur([ - x({ type: Object }) -], qi.prototype, "morePopoverOpener", void 0); -ur([ - x({ validator: ne }) -], qi.prototype, "popoverMinWidth", void 0); -ur([ - x({ type: q, defaultValue: q.None }) -], qi.prototype, "valueState", void 0); -ur([ - x({ validator: ne }) -], qi.prototype, "_nMoreCount", void 0); -ur([ - x({ validator: ne }) -], qi.prototype, "_tokensCount", void 0); -ur([ - K({ type: HTMLElement, default: !0, individualSlots: !0 }) -], qi.prototype, "tokens", void 0); -ur([ - K() -], qi.prototype, "valueStateMessage", void 0); -qi = Qr = ur([ - X({ - tag: "ui5-tokenizer", - languageAware: !0, - renderer: ue, - template: pF, - styles: bF, - staticAreaStyles: [ - Fr, - Ka, - Zh, - yF - ], - staticAreaTemplate: mF, - dependencies: [ - po, - fo, - ea, - dc, - Ne - ] - }), - U("token-delete", { - detail: { - ref: { type: HTMLElement } - } - }), - U("show-more-items-press", { - detail: { - ref: { type: HTMLElement } - } - }), - U("before-more-popover-open") -], qi); -qi.define(); -const yC = qi, wF = "value-help", wC = "M470 41q10 9 10 23v192q0 12-10 22t-22 10H256q-14 0-23-10-9-9-9-22V64q0-14 9-23t23-9h192q13 0 22 9zm-22 23H256v192h192V64zm-96 256h32v128q0 14-9 23t-23 9H64q-12 0-23-9-9-9-9-23V160q0-14 9-23t23-9h128v32H64v288h288V320z", CF = !1, SF = "SAP-icons-v4", TF = "@ui5/webcomponents-icons"; -J(wF, { pathData: wC, ltr: CF, collection: SF, packageName: TF }); -const IF = "value-help", CC = "M422 32q24 0 41 17t17 41v204q0 24-17 41t-41 17h-12q-11 0-18.5-7.5T384 326t7.5-18 18.5-7h12q7 0 7-7V90q0-7-7-7H218q-7 0-7 7v12q0 11-7 18.5t-18 7.5-18.5-7.5T160 102V90q0-24 17-41t41-17h204zM294 160q24 0 41 17t17 41v204q0 24-17 41t-41 17H90q-24 0-41-17t-17-41V218q0-24 17-41t41-17h204zm7 58q0-7-7-7H90q-7 0-7 7v204q0 7 7 7h204q7 0 7-7V218z", kF = !1, $F = "SAP-icons-v5", xF = "@ui5/webcomponents-icons"; -J(IF, { pathData: CC, ltr: kF, collection: $F, packageName: xF }); -Te(); -var rd = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, $1; -let Gs = $1 = class extends Ar { - constructor() { - super(), this._skipOpenSuggestions = !1, this._valueHelpIconPressed = !1; - } - valueHelpPress() { - this.closePopover(), this.fireEvent("value-help-trigger"); - } - showMorePress() { - this.expandedTokenizer = !1, this.focus(); - } - tokenDelete(e) { - const t = e.detail.ref, o = this.tokens.filter((n) => n.selected), r = this.tokens.length - 1 === 0 || this.tokens.length === o.length; - if (!this._readonly) { - if (t) { - this.fireEvent("token-delete", { token: t }), r && this.focus(); - return; - } - o.indexOf(t) === -1 && o.push(t), o.forEach((n) => { - this.fireEvent("token-delete", { token: n }); - }); - } - } - valueHelpMouseDown(e) { - const t = e.target; - this.closePopover(), this.tokenizer.closeMorePopover(), this._valueHelpIconPressed = !0, t.focus(); - } - _tokenizerFocusOut(e) { - const t = e.relatedTarget === this.tokenizer.staticAreaItem; - !this.contains(e.relatedTarget) && !t && (this.tokenizer._tokens.forEach((o) => { - o.selected = !1; - }), this.tokenizer.scrollToStart()), e.relatedTarget === this.nativeInput && this.tokenizer.closeMorePopover(); - } - valueHelpMouseUp() { - setTimeout(() => { - this._valueHelpIconPressed = !1; - }, 0); - } - innerFocusIn() { - this.expandedTokenizer = !0, this.focused = !0, this.tokenizer.scrollToEnd(), this.tokenizer._getTokens().forEach((e) => { - e.selected = !1; - }); - } - _onkeydown(e) { - super._onkeydown(e); - const t = e.target, o = qt(e) && t.selectionStart === 0, r = e.metaKey || e.ctrlKey, n = this.tokens; - if (o) - return this._skipOpenSuggestions = !0, this._focusFirstToken(e); - if (Ct(e) || Hu(e)) - return this._skipOpenSuggestions = !0, this._handleLeft(e); - this._skipOpenSuggestions = !1, zn(e) && this.valueHelpPress(), r && e.key.toLowerCase() === "i" && n.length > 0 && (e.preventDefault(), this.tokenizer.openMorePopover()); - } - _onTokenizerKeydown(e) { - const t = Ds(e), o = !!(e.metaKey || e.ctrlKey), r = this.tokens; - if (dt(e) || Ii(e) || t) { - e.preventDefault(); - const n = this.tokens.length - 1; - if (e.target === this.tokens[n] && this.tokens[n] === document.activeElement) - setTimeout(() => { - this.focus(); - }, 0); - else if (t) - return e.preventDefault(), this.tokenizer._handleArrowCtrl(e, e.target, this.tokens, !0); - } - if (o && ["c", "x"].includes(e.key.toLowerCase())) { - e.preventDefault(); - const n = e.key.toLowerCase() === "x", s = r.filter((l) => l.selected); - if (n) { - const l = this.tokenizer._fillClipboard(Ml.cut, s); - return s.forEach((T) => { - this.fireEvent("token-delete", { token: T }); - }), this.focus(), l; - } - return this.tokenizer._fillClipboard(Ml.copy, s); - } - o && e.key.toLowerCase() === "i" && r.length > 0 && (e.preventDefault(), this.tokenizer.openMorePopover()); - } - _handleLeft(e) { - const t = this.getDomRef().querySelector("input").selectionStart, o = this.tokens, r = o.length && o[o.length - 1]; - t === 0 && r && (e.preventDefault(), r.focus(), this.tokenizer._itemNav.setCurrentItem(r)); - } - _focusFirstToken(e) { - const t = this.tokens, o = t.length && t[0]; - o && (e.preventDefault(), o.focus(), this.tokenizer._itemNav.setCurrentItem(o)); - } - _onfocusout(e) { - super._onfocusout(e); - const t = e.relatedTarget, o = this.contains(t), r = this.shadowRoot.contains(t); - !o && !r && (this.expandedTokenizer = !1, this.tokenizer._itemNav._currentIndex = -1); - } - /** - * @override - */ - async _onfocusin(e) { - const t = await this.getInputDOMRef(); - e.target === t && await super._onfocusin(e); - } - lastItemDeleted() { - setTimeout(() => { - this.focus(); - }, 0); - } - onBeforeRendering() { - super.onBeforeRendering(), this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`), this.tokenizerAvailable = this.tokens && this.tokens.length > 0; - } - get iconsCount() { - return super.iconsCount + (this.showValueHelpIcon ? 1 : 0); - } - get tokenizer() { - return this.shadowRoot.querySelector("[ui5-tokenizer]"); - } - get _tokensCountText() { - if (this.tokenizer) - return this.tokenizer._tokensCountText(); - } - get _tokensCountTextId() { - return `${this._id}-hiddenText-nMore`; - } - /** - * Returns the placeholder value when there are no tokens. - * @protected - */ - get _placeholder() { - return this.tokenizer && this.tokenizer._tokens.length ? "" : this.placeholder; - } - get accInfo() { - const e = `${this._tokensCountTextId} ${this.suggestionsTextId} ${this.valueStateTextId}`.trim(); - return { - input: { - ...super.accInfo.input, - ariaRoledescription: this.ariaRoleDescription, - ariaDescribedBy: e - } - }; - } - get ariaRoleDescription() { - return $1.i18nBundle.getText(_4); - } - get morePopoverOpener() { - return this.tokens.length === 1 && this.tokens[0].isTruncatable ? this.tokens[0] : this; - } -}; -rd([ - x({ type: Boolean }) -], Gs.prototype, "showValueHelpIcon", void 0); -rd([ - x({ type: Boolean }) -], Gs.prototype, "expandedTokenizer", void 0); -rd([ - x({ type: Boolean }) -], Gs.prototype, "tokenizerAvailable", void 0); -rd([ - K() -], Gs.prototype, "tokens", void 0); -Gs = $1 = rd([ - X({ - tag: "ui5-multi-input", - renderer: ue, - template: QL, - styles: [Ar.styles, eF], - dependencies: [ - ...Ar.dependencies, - yC, - bC, - Pe - ] - }), - U("value-help-trigger"), - U("token-delete", { - detail: { - /** - * @public - */ - token: { type: HTMLElement } - } - }) -], Gs); -Gs.define(); -function AF(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-menu-rp" class="ui5-menu-rp" horizontal-align="Left" placement-type=${a(this.placementType)} vertical-align=${a(this.verticalAlign)} hide-arrow allow-target-overlap ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)}>${this.isPhone ? Vm.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? qm.call(this, i, e, t) : Xm.call(this, i, e, t)}
    ` : y`${this.isPhone ? Vm.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? qm.call(this, i, e, t) : Xm.call(this, i, e, t)}
    `; -} -function Vm(i, e, t) { - return t ? y`
    ${this.isSubMenuOpened ? Um.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    <${E("ui5-button", e, t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    ` : y`
    ${this.isSubMenuOpened ? Um.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    `; -} -function Um(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>` : y``; -} -function qm(i, e, t) { - return t ? y`<${E("ui5-list", e, t)} id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" accessible-role="menu" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Wm.call(this, i, e, t, o, r))}` : y`${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Wm.call(this, i, e, t, o, r))}`; -} -function Wm(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} .associatedItem="${a(o.item)}" class="ui5-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="menuitem" .additionalText="${a(o.item._additionalText)}" ._ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>
    ${o.item.hasDummyIcon ? jm.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? Gm.call(this, i, e, t, o, r) : Ym.call(this, i, e, t, o, r)}
    ` : y`
    ${o.item.hasDummyIcon ? jm.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? Gm.call(this, i, e, t, o, r) : Ym.call(this, i, e, t, o, r)}
    `; -} -function jm(i, e, t, o, r) { - return y`
    `; -} -function Gm(i, e, t, o, r) { - return t ? y`
    <${E("ui5-icon", e, t)} part="subicon" name="slim-arrow-right" class="ui5-menu-item-icon-end">
    ` : y`
    `; -} -function Ym(i, e, t, o, r) { - return y`${o.item._siblingsWithChildren ? EF.call(this, i, e, t, o, r) : void 0}`; -} -function EF(i, e, t, o, r) { - return y`
    `; -} -function Xm(i, e, t) { - return y`${this.busy ? BF.call(this, i, e, t) : void 0}`; -} -function BF(i, e, t) { - return t ? y`<${E("ui5-busy-indicator", e, t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const SC = { packageName: "@ui5/webcomponents", fileName: "themes/Menu.css.ts", content: `.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v1-22-1-rc-0_menu_popover_border_radius);max-width:20rem}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item-no-icon-end{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item[additional-text] .ui5-menu-item-no-icon-end{display:none}.ui5-menu-item-dummy-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.5rem;pointer-events:none}.ui5-menu-item-submenu-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v1-22-1-rc-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem}.ui5-menu-dialog-title>div{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-item::part(title){font-size:var(--sapFontSize);padding-top:.125rem}.ui5-menu-item[icon]:not([is-phone])::part(title),.ui5-menu-item[is-phone]:not([icon=""])::part(title){padding-top:0}.ui5-menu-item:not([is-phone])::part(native-li){padding:var(--_ui5-v1-22-1-rc-0_menu_item_padding)}.ui5-menu-item[starts-section]{border-top:1px solid var(--sapGroup_ContentBorderColor)}.ui5-menu-item[active] .ui5-menu-item-icon-end{color:var(--sapList_Active_TextColor)}.ui5-menu-item[focused]:not([active]){background-color:var(--sapList_Hover_Background)}.ui5-menu-rp[sub-menu]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset)}.ui5-menu-rp[sub-menu][actual-placement-type=Left]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset)}.ui5-menu-item::part(additional-text){margin-inline-start:var(--_ui5-v1-22-1-rc-0_menu_item_additional_text_start_margin);color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ui5-menu-item-text:has(.ui5-menu-item-submenu-icon){padding-inline-end:1rem} -` }; -var vo = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Mc; -const DF = 300, PF = 400; -let mi = Mc = class extends te { - static async onDefine() { - Mc.i18nBundle = await pe("@ui5/webcomponents"); - } - get itemsWithChildren() { - return !!this._currentItems.filter((e) => e.item.items.length).length; - } - get itemsWithIcon() { - return !!this._currentItems.filter((e) => e.item.icon !== "").length; - } - get isRtl() { - return this.effectiveDir === "rtl"; - } - get placementType() { - const e = this.isRtl ? "Left" : "Right"; - return this._isSubMenu ? e : "Bottom"; - } - get verticalAlign() { - return this._isSubMenu ? "Top" : "Bottom"; - } - get labelBack() { - return Mc.i18nBundle.getText(f8); - } - get labelClose() { - return Mc.i18nBundle.getText(v8); - } - get isPhone() { - return ce(); - } - get isSubMenuOpened() { - return !!this._parentMenuItem; - } - get menuHeaderTextPhone() { - return this._parentMenuItem ? this._parentMenuItem.text : this.headerText; - } - onBeforeRendering() { - !ce() && this._prepareCurrentItems(this.items); - const e = this.itemsWithChildren, t = this.itemsWithIcon; - this._currentItems.forEach((o) => { - o.item._siblingsWithChildren = e, o.item._siblingsWithIcon = t; - const r = o.item._subMenu, n = o.item; - if (r && r.busy) { - r.innerHTML = ""; - const s = this._clonedItemsFragment(n); - r.appendChild(s); - } - r && (r.busy = o.item.busy, r.busyDelay = o.item.busyDelay); - }); - } - onAfterRendering() { - if (this.opener) - if (this.open) { - const e = this.getOpener(); - e && this.showAt(e); - } else - this.close(); - } - /** - * Shows the Menu near the opener element. - * - * @param opener the element that the popover is shown at - * @public - */ - async showAt(e) { - ce() && (this._prepareCurrentItems(this.items), this._parentItemsStack = []), this._isSubMenu || (this._parentMenuItem = void 0); - const t = await this._createPopover(); - t.initialFocus = ""; - for (let o = 0; o < this._currentItems.length; o++) - if (!this._currentItems[o].item.disabled) { - t.initialFocus = `${this._id}-menu-item-${o}`; - break; - } - t.showAt(e); - } - /** - * Closes the Menu. - * - * @public - */ - close() { - this._popover && (ce() && (this._parentItemsStack = []), this._popover.close(), this._popover.resetFocus()); - } - async _createPopover() { - const e = await this.getStaticAreaItemDomRef(); - return this._popover = e.querySelector("[ui5-responsive-popover]"), this._popover; - } - getOpener() { - var t; - const e = this.getRootNode(); - return this.opener instanceof HTMLElement ? this.opener : (t = e == null ? void 0 : e.getElementById) == null ? void 0 : t.call(e, this.opener); - } - _navigateBack() { - const e = this._parentItemsStack.pop(); - if (this.focus(), e) { - const t = e.parentElement; - this._prepareCurrentItems(t.items), this._parentMenuItem = this._parentItemsStack.length ? this._parentItemsStack[this._parentItemsStack.length - 1] : void 0; - } - } - _prepareCurrentItems(e) { - this._currentItems = e.map((t, o) => ({ - item: t, - position: o + 1, - ariaHasPopup: t.hasSubmenu ? "menu" : void 0 - })); - } - _createSubMenu(e, t) { - const o = this.constructor, r = document.createElement(o.getMetadata().getTag()); - r._isSubMenu = !0, r.setAttribute("id", `submenu-${t}`), r._parentMenuItem = e, r.busy = e.busy, r.busyDelay = e.busyDelay; - const n = this._clonedItemsFragment(e); - r.appendChild(n), this.staticAreaItem.shadowRoot.querySelector(".ui5-menu-submenus").appendChild(r), e._subMenu = r; - } - _clonedItemsFragment(e) { - const t = document.createDocumentFragment(); - for (let o = 0; o < e.items.length; ++o) { - const r = e.items[o].cloneNode(!0); - t.appendChild(r); - } - return t; - } - _openItemSubMenu(e, t, o) { - this._findMainMenu(e).fireEvent("before-open", { - item: e - }, !1, !1), e._subMenu.showAt(t), e._preventSubMenuClose = !0, this._openedSubMenuItem = e, this._subMenuOpenerId = o; - } - _closeItemSubMenu(e, t = !1) { - e && (t ? (e._preventSubMenuClose = !1, this._closeSubMenuPopover(e._subMenu, !0)) : setTimeout(() => this._closeSubMenuPopover(e._subMenu), 0)); - } - _closeSubMenuPopover(e, t = !1) { - if (e) { - const o = e._parentMenuItem; - (t || !o._preventSubMenuClose) && (e.close(), e.remove(), o._subMenu = void 0, this._openedSubMenuItem = void 0, this._subMenuOpenerId = ""); - } - } - _prepareSubMenuDesktopTablet(e, t, o) { - (o !== this._subMenuOpenerId || e && e.hasSubmenu) && this._closeItemSubMenu(this._openedSubMenuItem, !0), e && e.hasSubmenu && (this._createSubMenu(e, o), this._openItemSubMenu(e, t, o)), this._parentMenuItem && (this._parentMenuItem._preventSubMenuClose = !0); - } - _prepareSubMenuPhone(e) { - this._prepareCurrentItems(e.items), this._parentMenuItem = e, this._parentItemsStack.push(e); - } - _startOpenTimeout(e, t, o) { - this._clearTimeout(), this._timeout = setTimeout(() => { - this._prepareSubMenuDesktopTablet(e, t, o); - }, DF); - } - _startCloseTimeout(e) { - this._clearTimeout(), this._timeout = setTimeout(() => { - this._closeItemSubMenu(e); - }, PF); - } - _clearTimeout() { - this._timeout && clearTimeout(this._timeout); - } - _itemMouseOver(e) { - if (Zo()) { - const t = e.target, o = t.associatedItem, r = t.getAttribute("id"); - t.focus(), this._clearTimeout(), this._startOpenTimeout(o, t, r); - } - } - _busyMouseOver() { - this._parentMenuItem && (this._parentMenuItem._preventSubMenuClose = !0); - } - _itemMouseOut(e) { - if (Zo()) { - const o = e.target.associatedItem; - this._clearTimeout(), o && o.hasSubmenu && o._subMenu && (o._preventSubMenuClose = !1, this._startCloseTimeout(o)); - } - } - _itemKeyDown(e) { - const t = this.isRtl ? dt(e) : Ct(e), o = this.isRtl ? Ct(e) : dt(e); - if (Se(e) && e.preventDefault(), o) { - const r = e.target, n = r.associatedItem, s = r.getAttribute("id"); - n.hasSubmenu && this._prepareSubMenuDesktopTablet(n, r, s); - } else - t && this._isSubMenu && this._parentMenuItem && this._parentMenuItem.parentElement._closeItemSubMenu(this._parentMenuItem, !0); - } - _itemClick(e) { - const t = e.detail.item, o = t.associatedItem, r = t.getAttribute("id"); - if (o.hasSubmenu) - ce() ? this._prepareSubMenuPhone(o) : Zl() && this._prepareSubMenuDesktopTablet(o, t, r); - else if (!this._isSubMenu) - ce() && (this._parentMenuItem = void 0), !this.fireEvent("item-click", { - item: o, - text: o.text - }, !0, !1) || this._popover.close(); - else { - const n = this._findMainMenu(o); - if (!!n.fireEvent("item-click", { - item: o, - text: o.text - }, !0, !1)) { - let l = o, T = l.parentElement; - do - l._preventSubMenuClose = !1, this._closeItemSubMenu(l), T = l.parentElement, l = T._parentMenuItem; - while (T._parentMenuItem); - n._popover.close(); - } - } - } - _findMainMenu(e) { - let t = e.parentElement; - for (; t._parentMenuItem; ) - t = t._parentMenuItem.parentElement; - return t; - } - _beforePopoverOpen(e) { - !this.fireEvent("before-open", {}, !0, !1) && (this.open = !1, e.preventDefault()); - } - _afterPopoverOpen() { - this.open = !0, this.fireEvent("after-open", {}, !1, !1); - } - _beforePopoverClose(e) { - if (!this.fireEvent("before-close", { escPressed: e.detail.escPressed }, !0, !1)) { - this.open = !0, e.preventDefault(); - return; - } - this._openedSubMenuItem && (this._openedSubMenuItem._preventSubMenuClose = !1, this._closeItemSubMenu(this._openedSubMenuItem)); - } - _afterPopoverClose() { - this.open = !1, this.fireEvent("after-close", {}, !1, !1); - } -}; -vo([ - x() -], mi.prototype, "headerText", void 0); -vo([ - x({ type: Boolean }) -], mi.prototype, "open", void 0); -vo([ - x({ type: Boolean }) -], mi.prototype, "busy", void 0); -vo([ - x({ validator: ne, defaultValue: 1e3 }) -], mi.prototype, "busyDelay", void 0); -vo([ - x({ validator: Wh, defaultValue: "" }) -], mi.prototype, "opener", void 0); -vo([ - x({ type: Boolean, noAttribute: !0 }) -], mi.prototype, "_isSubMenu", void 0); -vo([ - x() -], mi.prototype, "_subMenuOpenerId", void 0); -vo([ - x({ type: Object, multiple: !0 }) -], mi.prototype, "_currentItems", void 0); -vo([ - x({ type: Object, multiple: !0 }) -], mi.prototype, "_parentItemsStack", void 0); -vo([ - x({ type: Object, defaultValue: void 0 }) -], mi.prototype, "_popover", void 0); -vo([ - x({ type: Object, defaultValue: void 0 }) -], mi.prototype, "_parentMenuItem", void 0); -vo([ - x({ type: Object, defaultValue: void 0 }) -], mi.prototype, "_openedSubMenuItem", void 0); -vo([ - K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) -], mi.prototype, "items", void 0); -mi = Mc = vo([ - X({ - tag: "ui5-menu", - renderer: ue, - staticAreaStyles: SC, - staticAreaTemplate: AF, - dependencies: [ - po, - Ne, - fo, - ea, - Pe, - el - ] - }), - U("item-click", { - detail: { - /** - * @public - */ - item: { - type: HTMLElement - }, - /** - * @public - */ - text: { - type: String - } - } - }), - U("before-open", { - detail: { - /** - * @public - */ - item: { - type: HTMLElement - } - } - }), - U("after-open"), - U("before-close", { - detail: { - /** - * @public - */ - escPressed: { - type: Boolean - } - } - }), - U("after-close") -], mi); -mi.define(); -const OF = mi; -var mo = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let gi = class extends te { - get hasSubmenu() { - return !!(this.items.length || this.busy); - } - get hasDummyIcon() { - return this._siblingsWithIcon && !this.icon; - } - get subMenuOpened() { - return !!this._subMenu; - } - get _additionalText() { - return this.hasSubmenu ? "" : this.additionalText; - } - get ariaLabelledByText() { - return `${this.text} ${this.accessibleName}`.trim(); - } -}; -mo([ - x() -], gi.prototype, "text", void 0); -mo([ - x() -], gi.prototype, "additionalText", void 0); -mo([ - x() -], gi.prototype, "icon", void 0); -mo([ - x({ type: Boolean }) -], gi.prototype, "startsSection", void 0); -mo([ - x({ type: Boolean }) -], gi.prototype, "disabled", void 0); -mo([ - x({ type: Boolean }) -], gi.prototype, "busy", void 0); -mo([ - x({ validator: ne, defaultValue: 1e3 }) -], gi.prototype, "busyDelay", void 0); -mo([ - x() -], gi.prototype, "accessibleName", void 0); -mo([ - x({ type: Boolean, noAttribute: !0 }) -], gi.prototype, "_siblingsWithChildren", void 0); -mo([ - x({ type: Boolean, noAttribute: !0 }) -], gi.prototype, "_siblingsWithIcon", void 0); -mo([ - x({ type: Boolean, noAttribute: !0 }) -], gi.prototype, "_preventSubMenuClose", void 0); -mo([ - x({ type: Object, defaultValue: void 0 }) -], gi.prototype, "_subMenu", void 0); -mo([ - K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) -], gi.prototype, "items", void 0); -gi = mo([ - X("ui5-menu-item") -], gi); -gi.define(); -const RF = gi; -function NF(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-navigation-menu-rp" class="ui5-menu-rp ui5-navigation-menu" vertical-align="Center" ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)} accessible-name-ref="${a(this._id)}-navigationMenuPopoverText">${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone ? Km.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? Qm.call(this, i, e, t) : ag.call(this, i, e, t)}
    ` : y`${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone ? Km.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? Qm.call(this, i, e, t) : ag.call(this, i, e, t)}
    `; -} -function Km(i, e, t) { - return t ? y`
    ${this.isSubMenuOpened ? Zm.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    <${E("ui5-button", e, t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    ` : y`
    ${this.isSubMenuOpened ? Zm.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    `; -} -function Zm(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>` : y``; -} -function Qm(i, e, t) { - return t ? y`<${E("ui5-list", e, t)} accessible-role="tree" id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Jm.call(this, i, e, t, o, r))}` : y`${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Jm.call(this, i, e, t, o, r))}`; -} -function Jm(i, e, t, o, r) { - return y`${o.item.href ? MF.call(this, i, e, t, o, r) : FF.call(this, i, e, t, o, r)}`; -} -function MF(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} .associatedItem="${a(o.item)}" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="none" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown} class="ui5-menu-item ui5-navigation-menu-item">${o.item.hasDummyIcon ? eg.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? tg.call(this, i, e, t, o, r) : ig.call(this, i, e, t, o, r)}` : y`${o.item.hasDummyIcon ? eg.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? tg.call(this, i, e, t, o, r) : ig.call(this, i, e, t, o, r)}`; -} -function eg(i, e, t, o, r) { - return y`
    `; -} -function tg(i, e, t, o, r) { - return t ? y`<${E("ui5-icon", e, t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">` : y``; -} -function ig(i, e, t, o, r) { - return y`${o.item._siblingsWithChildren ? LF.call(this, i, e, t, o, r) : void 0}`; -} -function LF(i, e, t, o, r) { - return y`
    `; -} -function FF(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} .associatedItem="${a(o.item)}" class="ui5-menu-item ui5-navigation-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="treeitem" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>${o.item.hasDummyIcon ? og.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? rg.call(this, i, e, t, o, r) : ng.call(this, i, e, t, o, r)}` : y`${o.item.hasDummyIcon ? og.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? rg.call(this, i, e, t, o, r) : ng.call(this, i, e, t, o, r)}`; -} -function og(i, e, t, o, r) { - return y`
    `; -} -function rg(i, e, t, o, r) { - return t ? y`<${E("ui5-icon", e, t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">` : y``; -} -function ng(i, e, t, o, r) { - return y`${o.item._siblingsWithChildren ? zF.call(this, i, e, t, o, r) : void 0}`; -} -function zF(i, e, t, o, r) { - return y`
    `; -} -function ag(i, e, t) { - return y`${this.busy ? HF.call(this, i, e, t) : void 0}`; -} -function HF(i, e, t) { - return t ? y`<${E("ui5-busy-indicator", e, t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const VF = { packageName: "@ui5/webcomponents", fileName: "themes/NavigationMenu.css.ts", content: `.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-navigation-menu .ui5-navigation-menu-main{padding:var(--_ui5-v1-22-1-rc-0_side_navigation_parent_popup_padding)}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li){padding-left:.5rem;width:auto}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li):after{border-radius:.375rem;inset:0}.ui5-navigation-menu .ui5-navigation-menu-item{display:flex;align-items:center;width:100%;box-sizing:border-box;position:relative;height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);min-height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);border-radius:.375rem;transition:var(--_ui5-v1-22-1-rc-0_side_navigation_item_transition);color:var(--sapList_TextColor);font-weight:700;font-size:var(--sapFontSize);border-bottom:none}.ui5-navigation-menu .ui5-navigation-menu-item a{display:flex;align-items:center;text-decoration:none;color:var(--sapList_TextColor)}.ui5-navigation-menu[sub-menu] .ui5-navigation-menu-item{font-weight:400}.ui5-menu-rp.ui5-navigation-menu{box-shadow:var(--_ui5-v1-22-1-rc-0_side_navigation_popup_box_shadow);width:auto;min-width:10rem;height:auto;background:var(--sapGroup_ContentBackground);border:none;border-radius:.75rem}.ui5-navigation-menu .ui5-navigation-menu-item .ui5-menu-item-icon-end{position:relative;inset-inline-end:auto;width:.75rem;height:.75rem;color:var(--sapList_TextColor)}.ui5-navigation-menu .ui5-navigation-menu-item::part(icon){color:var(--sapList_TextColor);min-width:1rem;min-height:1rem}.ui5-navigation-menu .ui5-menu-item[focused]:not([active]){background:none} -` }; -var TC = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, x1; -let Su = x1 = class extends OF { - _itemMouseOver(e) { - if (Zo()) { - const t = e.target; - let o = t.associatedItem; - const r = t.getAttribute("id"); - if (!o) { - const n = t.parentElement; - t.parentElement && (o = n.associatedItem); - } - this._clearTimeout(), this._startOpenTimeout(o, t, r); - } - } - _clonedItemsFragment(e) { - const t = document.createDocumentFragment(); - for (let o = 0; o < e.items.length; ++o) { - const r = e.items[o], n = e.items[o].cloneNode(!0); - r.associatedItem && (n.associatedItem = r.associatedItem), t.appendChild(n); - } - return t; - } - _itemClick(e) { - const t = e.detail.item, o = t.associatedItem, r = t.getAttribute("id"), n = this._findMainMenu(o); - if (!!n.fireEvent("item-click", { - item: o, - text: o.text - }, !0, !1)) { - let l = o, T = l.parentElement; - do - l._preventSubMenuClose = !1, this._closeItemSubMenu(l), T = l.parentElement, l = T._parentMenuItem; - while (T._parentMenuItem); - n._popover.close(); - } - ce() ? this._prepareSubMenuPhone(o) : Zl() && this._prepareSubMenuDesktopTablet(o, t, r); - } - get accSideNavigationPopoverHiddenText() { - return x1.i18nBundle.getText(m8); - } -}; -TC([ - K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) -], Su.prototype, "items", void 0); -Su = x1 = TC([ - X({ - tag: "ui5-navigation-menu", - renderer: ue, - staticAreaStyles: [SC, VF], - staticAreaTemplate: NF - }) -], Su); -Su.define(); -const UF = Su; -var Nv = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Tu = class extends RF { -}; -Nv([ - x() -], Tu.prototype, "href", void 0); -Nv([ - x() -], Tu.prototype, "target", void 0); -Tu = Nv([ - X("ui5-navigation-menu-item") -], Tu); -Tu.define(); -const IC = (i) => { - let e, t, o, r, n, s, l, T, w, S, b, v; - const g = kv({ - beforeStart: () => { - i.style.display = "block", e = getComputedStyle(i), t = parseFloat(e.paddingTop), o = parseFloat(e.paddingBottom), r = parseFloat(e.marginTop), n = parseFloat(e.marginBottom), s = parseFloat(e.height), l = i.style.overflow, T = i.style.paddingTop, w = i.style.paddingBottom, S = i.style.marginTop, b = i.style.marginBottom, v = i.style.height, i.style.overflow = "hidden", i.style.paddingTop = "0", i.style.paddingBottom = "0", i.style.marginTop = "0", i.style.marginBottom = "0", i.style.height = "0"; - }, - duration: $v, - element: i, - advance: (p) => { - i.style.display = "block", i.style.paddingTop = `${t * p}px`, i.style.paddingBottom = `${o * p}px`, i.style.marginTop = `${r * p}px`, i.style.marginBottom = `${n * p}px`, i.style.height = `${s * p}px`; - } - }); - return g.promise().then(() => { - i.style.overflow = l, i.style.paddingTop = T, i.style.paddingBottom = w, i.style.marginTop = S, i.style.marginBottom = b, i.style.height = v; - }), g; -}, kC = (i) => { - let e, t, o, r, n, s, l, T, w, S, b, v; - const g = kv({ - beforeStart: () => { - const p = i; - e = getComputedStyle(p), t = parseFloat(e.paddingTop), o = parseFloat(e.paddingBottom), r = parseFloat(e.marginTop), n = parseFloat(e.marginBottom), s = parseFloat(e.height), l = p.style.overflow, T = p.style.paddingTop, w = p.style.paddingBottom, S = p.style.marginTop, b = p.style.marginBottom, v = p.style.height, p.style.overflow = "hidden"; - }, - duration: $v, - element: i, - advance: (p) => { - i.style.paddingTop = `${t - t * p}px`, i.style.paddingBottom = `${o - o * p}px`, i.style.marginTop = `${r - r * p}px`, i.style.marginBottom = `${n - n * p}px`, i.style.height = `${s - s * p}px`; - } - }); - return g.promise().then((p) => { - p instanceof Error || (i.style.overflow = l, i.style.paddingTop = T, i.style.paddingBottom = w, i.style.marginTop = S, i.style.marginBottom = b, i.style.height = v, i.style.display = "none"); - }), g; -}; -var A1; -(function(i) { - i.Complementary = "Complementary", i.Form = "Form", i.Region = "Region"; -})(A1 || (A1 = {})); -const sg = A1; -function qF(i, e, t) { - return y`
    ${this.hasHeaderOrHeaderText ? WF.call(this, i, e, t) : void 0}
    `; -} -function WF(i, e, t) { - return y`
    ${this.fixed ? void 0 : jF.call(this, i, e, t)}${this._hasHeader ? XF.call(this, i, e, t) : KF.call(this, i, e, t)}
    `; -} -function jF(i, e, t) { - return y`
    ${this._hasHeader ? GF.call(this, i, e, t) : YF.call(this, i, e, t)}
    `; -} -function GF(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} design="Transparent" class="ui5-panel-header-button ui5-panel-header-button-with-icon" @click="${this._toggleButtonClick}" .accessibilityAttributes=${a(this.accInfo.button.accessibilityAttributes)} tooltip="${a(this.accInfo.button.title)}" accessible-name="${a(this.accInfo.button.ariaLabelButton)}">
    <${E("ui5-icon", e, t)} class="ui5-panel-header-icon ${W(this.classes.headerBtn)}" name="slim-arrow-right">
    ` : y`
    `; -} -function YF(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} class="ui5-panel-header-button ui5-panel-header-icon ${W(this.classes.headerBtn)}" name="slim-arrow-right" show-tooltip accessible-name="${a(this.toggleButtonTitle)}">` : y``; -} -function XF(i, e, t) { - return y``; -} -function KF(i, e, t) { - return y`
    ${a(this.headerText)}
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const ZF = { packageName: "@ui5/webcomponents", fileName: "themes/Panel.css.ts", content: `.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}:host{font-family:"72override",var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v1-22-1-rc-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v1-22-1-rc-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v1-22-1-rc-0_panel_header_padding_right);font-family:"72override",var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v1-22-1-rc-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v1-22-1-rc-0_panel_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);top:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);left:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);right:var(--_ui5-v1-22-1-rc-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v1-22-1-rc-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v1-22-1-rc-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v1-22-1-rc-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v1-22-1-rc-0_panel_button_root_width);height:var(--_ui5-v1-22-1-rc-0_panel_button_root_height);padding:var(--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v1-22-1-rc-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column} -` }; -var go = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Wd; -let xi = Wd = class extends te { - onBeforeRendering() { - this._animationRunning || (this._contentExpanded = !this.collapsed), this._hasHeader = !!this.header.length; - } - shouldToggle(e) { - return this.header.length ? e.classList.contains("ui5-panel-header-button") : !0; - } - shouldNotAnimate() { - return this.noAnimation || Oa() === Vn.None; - } - _headerClick(e) { - this.shouldToggle(e.target) && this._toggleOpen(); - } - _toggleButtonClick(e) { - e.x === 0 && e.y === 0 && e.stopImmediatePropagation(); - } - _headerKeyDown(e) { - this.shouldToggle(e.target) && (Se(e) && e.preventDefault(), se(e) && e.preventDefault()); - } - _headerKeyUp(e) { - this.shouldToggle(e.target) && (Se(e) && this._toggleOpen(), se(e) && this._toggleOpen()); - } - _toggleOpen() { - if (this.fixed) - return; - if (this.collapsed = !this.collapsed, this.shouldNotAnimate()) { - this.fireEvent("toggle"); - return; - } - this._animationRunning = !0; - const e = this.getDomRef().querySelectorAll(".ui5-panel-content"), t = []; - [].forEach.call(e, (o) => { - this.collapsed ? t.push(kC(o).promise()) : t.push(IC(o).promise()); - }), Promise.all(t).then(() => { - this._animationRunning = !1, this._contentExpanded = !this.collapsed, this.fireEvent("toggle"); - }); - } - _headerOnTarget(e) { - return e.classList.contains("sapMPanelWrappingDiv"); - } - get classes() { - return { - headerBtn: { - "ui5-panel-header-button-animated": !this.shouldNotAnimate() - }, - stickyHeaderClass: { - "ui5-panel-heading-wrapper-sticky": this.stickyHeader - } - }; - } - get toggleButtonTitle() { - return Wd.i18nBundle.getText(f4); - } - get expanded() { - return !this.collapsed; - } - get accRole() { - return this.accessibleRole.toLowerCase(); - } - get effectiveAccessibleName() { - return typeof this.accessibleName == "string" && this.accessibleName.length ? this.accessibleName : void 0; - } - get accInfo() { - return { - button: { - accessibilityAttributes: { - expanded: this.expanded - }, - title: this.toggleButtonTitle, - ariaLabelButton: !this.nonFocusableButton && this.useAccessibleNameForToggleButton ? this.effectiveAccessibleName : void 0 - }, - ariaExpanded: this.nonFixedInternalHeader ? this.expanded : void 0, - ariaControls: this.nonFixedInternalHeader ? `${this._id}-content` : void 0, - ariaLabelledby: this.nonFocusableButton ? this.ariaLabelledbyReference : void 0, - role: this.nonFixedInternalHeader ? "button" : void 0 - }; - } - get ariaLabelledbyReference() { - return this.nonFocusableButton && this.headerText && !this.fixed ? `${this._id}-header-title` : void 0; - } - get fixedPanelAriaLabelledbyReference() { - return this.fixed && !this.effectiveAccessibleName ? `${this._id}-header-title` : void 0; - } - get headerAriaLevel() { - return this.headerLevel.slice(1); - } - get headerTabIndex() { - return this.header.length || this.fixed ? "-1" : "0"; - } - get headingWrapperAriaLevel() { - return this._hasHeader ? void 0 : this.headerAriaLevel; - } - get headingWrapperRole() { - return this._hasHeader ? void 0 : "heading"; - } - get nonFixedInternalHeader() { - return !this._hasHeader && !this.fixed; - } - get hasHeaderOrHeaderText() { - return this._hasHeader || this.headerText; - } - get nonFocusableButton() { - return !this.header.length; - } - get styles() { - return { - content: { - display: this._contentExpanded ? "block" : "none" - } - }; - } - static async onDefine() { - Wd.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -go([ - x() -], xi.prototype, "headerText", void 0); -go([ - x({ type: Boolean }) -], xi.prototype, "fixed", void 0); -go([ - x({ type: Boolean }) -], xi.prototype, "collapsed", void 0); -go([ - x({ type: Boolean }) -], xi.prototype, "noAnimation", void 0); -go([ - x({ type: sg, defaultValue: sg.Form }) -], xi.prototype, "accessibleRole", void 0); -go([ - x({ type: Dl, defaultValue: Dl.H2 }) -], xi.prototype, "headerLevel", void 0); -go([ - x() -], xi.prototype, "accessibleName", void 0); -go([ - x({ type: Boolean }) -], xi.prototype, "stickyHeader", void 0); -go([ - x({ type: Boolean }) -], xi.prototype, "useAccessibleNameForToggleButton", void 0); -go([ - x({ type: Boolean }) -], xi.prototype, "_hasHeader", void 0); -go([ - x({ type: Boolean, noAttribute: !0 }) -], xi.prototype, "_contentExpanded", void 0); -go([ - x({ type: Boolean, noAttribute: !0 }) -], xi.prototype, "_animationRunning", void 0); -go([ - K() -], xi.prototype, "header", void 0); -xi = Wd = go([ - X({ - tag: "ui5-panel", - fastNavigation: !0, - languageAware: !0, - renderer: ue, - template: qF, - styles: ZF, - dependencies: [Ne, Pe] - }), - U("toggle") -], xi); -xi.define(); -const QF = 500, Sd = /* @__PURE__ */ new Map(), hs = /* @__PURE__ */ new Map(), JF = (i) => { - const e = i.host, t = i.propName, o = e[t]; - let r; - if (o === void 0 || o === "") - r = void 0; - else if (o instanceof HTMLElement) - r = o; - else { - const l = e.getRootNode(); - r = l.getElementById && l.getElementById(o) || void 0; - } - const n = `${e._id}-${t}`, s = Sd.get(n); - if (!r) { - if (s && (i.onDisconnect && i.onDisconnect(s), Sd.delete(n)), typeof o == "string" && o && !hs.has(n)) { - const l = setInterval(() => { - const T = e.getRootNode(); - T.getElementById && T.getElementById(o) && (clearInterval(hs.get(n)), hs.delete(n), Bf(e)); - }, QF); - hs.set(n, l); - } - return; - } - return hs.has(n) && (clearInterval(hs.get(n)), hs.delete(n)), s !== r && (s && i.onDisconnect && i.onDisconnect(s), i.onConnect && i.onConnect(r), Sd.set(n, r)), Sd.get(n); -}; -var oa = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let er = class extends te { - get stableDomRef() { - return this.getAttribute("stable-dom-ref") || `${this._id}-stable-dom-ref`; - } -}; -oa([ - x({ type: Boolean }) -], er.prototype, "selected", void 0); -oa([ - x({ type: Boolean }) -], er.prototype, "disabled", void 0); -oa([ - x() -], er.prototype, "title", void 0); -oa([ - x({ defaultValue: null }) -], er.prototype, "icon", void 0); -oa([ - x() -], er.prototype, "value", void 0); -oa([ - x() -], er.prototype, "additionalText", void 0); -oa([ - x({ type: Boolean }) -], er.prototype, "focused", void 0); -oa([ - K({ type: Node, default: !0, invalidateOnChildChange: !0 }) -], er.prototype, "text", void 0); -er = oa([ - X("ui5-option") -], er); -er.define(); -const $C = er; -function ez(i, e, t) { - return y`
    ${this.selectedOptionIcon ? tz.call(this, i, e, t) : void 0}
    ${this.hasCustomLabel ? iz.call(this, i, e, t) : oz.call(this, i, e, t)}
    ${this.readonly ? void 0 : rz.call(this, i, e, t)}${this.hasValueState ? nz.call(this, i, e, t) : void 0}
    `; -} -function tz(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} aria-hidden="true" class="ui5-select-option-icon" name="${a(this.selectedOptionIcon)}">` : y``; -} -function iz(i, e, t) { - return y``; -} -function oz(i, e, t) { - return y`${a(this._text)}`; -} -function rz(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="slim-arrow-down" input-icon ?pressed="${this._iconPressed}">` : y``; -} -function nz(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function az(i, e, t) { - return y`${this.options ? sz.call(this, i, e, t) : void 0}${this.shouldOpenValueStateMessagePopover ? _z.call(this, i, e, t) : void 0}`; -} -function sz(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} hide-arrow _disable-initial-focus placement-type="Bottom" class="ui5-select-popover ${W(this.classes.popover)}" horizontal-align="Left" @ui5-after-open="${a(this._afterOpen)}" @ui5-before-open="${a(this._beforeOpen)}" @ui5-after-close="${a(this._afterClose)}" @keydown="${this._onkeydown}" style=${G(this.styles.responsivePopover)}>${this._isPhone ? lg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : ug.call(this, i, e, t)}<${E("ui5-list", e, t)} mode="SingleSelectAuto" separators="None" @mousedown="${this._itemMousedown}" @ui5-item-click="${a(this._handleItemPress)}">${Y(this._syncedOptions, (o, r) => o._id || r, (o, r) => _g.call(this, i, e, t, o, r))}` : y`${this._isPhone ? lg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : ug.call(this, i, e, t)}${Y(this._syncedOptions, (o, r) => o._id || r, (o, r) => _g.call(this, i, e, t, o, r))}`; -} -function lg(i, e, t) { - return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._toggleRespPopover}">
    ${this.hasValueStateText ? cg.call(this, i, e, t) : void 0}
    ` : y`
    ${a(this._headerTitleText)}
    ${this.hasValueStateText ? cg.call(this, i, e, t) : void 0}
    `; -} -function cg(i, e, t) { - return y`
    ${this.shouldDisplayDefaultValueStateMessage ? lz.call(this, i, e, t) : cz.call(this, i, e, t)}
    `; -} -function lz(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function cz(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => uz.call(this, i, e, t, o, r))}`; -} -function uz(i, e, t, o, r) { - return y`${a(o)}`; -} -function ug(i, e, t) { - return y`${this.hasValueStateText ? dz.call(this, i, e, t) : void 0}`; -} -function dz(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? dg.call(this, i, e, t) : hg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? dg.call(this, i, e, t) : hg.call(this, i, e, t)}
    `; -} -function dg(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function hg(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => hz.call(this, i, e, t, o, r))}`; -} -function hz(i, e, t, o, r) { - return y`${a(o)}`; -} -function _g(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} id="${a(o.id)}-li" icon="${a(o.icon)}" ?selected="${o.selected}" ?focused="${o._focused}" title="${a(o.title)}" additional-text="${a(o.additionalText)}" ?aria-selected="${o.selected}" data-ui5-stable="${a(o.stableDomRef)}">${a(o.textContent)}` : y`${a(o.textContent)}`; -} -function _z(i, e, t) { - return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? pg.call(this, i, e, t) : fg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? pg.call(this, i, e, t) : fg.call(this, i, e, t)}
    `; -} -function pg(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function fg(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => pz.call(this, i, e, t, o, r))}`; -} -function pz(i, e, t, o, r) { - return y`${a(o)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const fz = { packageName: "@ui5/webcomponents", fileName: "themes/Select.css.ts", content: `: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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-select-root{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v1-22-1-rc-0_select_label_color);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const vz = { packageName: "@ui5/webcomponents", fileName: "themes/SelectPopover.css.ts", content: `.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover [ui5-li]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)} -` }; -var Zt = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Zi; -let Tt = Zi = class extends te { - constructor() { - super(), this._syncedOptions = [], this._selectedIndexBeforeOpen = -1, this._escapePressed = !1, this._lastSelectedOption = null, this._typedChars = "", this._onMenuClick = this.onMenuClick.bind(this), this._onMenuClose = this.onMenuClose.bind(this), this._onMenuOpen = this.onMenuOpen.bind(this), this._onMenuBeforeOpen = this.onMenuBeforeOpen.bind(this), this._onMenuChange = this.onMenuChange.bind(this), this._attachMenuListeners = this.attachMenuListeners.bind(this), this._detachMenuListeners = this.detachMenuListeners.bind(this), this._upgradeProperty("value"); - } - onBeforeRendering() { - const e = this._getSelectMenu(); - e ? (e.value = this.value, e.selectId = this.__id) : this._syncSelection(), this._enableFormSupport(), this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`); - } - onAfterRendering() { - this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover), this._isPickerOpen && (this._listWidth || (this._listWidth = this.responsivePopover.offsetWidth)), this._attachRealDomRefs(); - } - _onfocusin() { - this.focused = !0; - } - _onfocusout() { - this.focused = !1; - } - get _isPickerOpen() { - const e = this._getSelectMenu(); - return e ? e.open : !!this.responsivePopover && this.responsivePopover.opened; - } - async _respPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); - } - /** - * Defines the value of the component: - *
    - * - when get - returns the value of the component, e.g. the value property of the selected option or its text content. - *
    - * - when set - selects the option with matching value property or text content. - *

    - * Note: If the given value does not match any existing option, - * the first option will get selected. - * - * @public - * @default "" - * @since 1.20.0 - * @formProperty - * @formEvents change liveChange - */ - set value(e) { - const t = this._getSelectMenu(); - Array.from(t ? t.children : this.children).filter((r) => !r.getAttribute("disabled")).forEach((r) => { - r.selected = (r.getAttribute("value") || r.textContent) === e; - }); - } - get value() { - var e, t; - return ((e = this.selectedOption) == null ? void 0 : e.value) || ((t = this.selectedOption) == null ? void 0 : t.textContent) || ""; - } - /** - * Currently selected ui5-option element. - * @public - * @default undefined - */ - get selectedOption() { - return this.selectOptions.find((e) => e.selected); - } - onMenuClick(e) { - const t = e.detail.optionIndex; - this._handleSelectionChange(t); - } - onMenuBeforeOpen() { - this._beforeOpen(); - } - onMenuOpen() { - this._afterOpen(); - } - onMenuClose() { - this._afterClose(); - } - onMenuChange(e) { - this._text = e.detail.text, this._selectedIndex = e.detail.selectedIndex; - } - _toggleSelectMenu() { - const e = this._getSelectMenu(); - e && (e.open ? e.close() : e.showAt(this, this.offsetWidth)); - } - onExitDOM() { - const e = this._getSelectMenu(); - e && this._detachMenuListeners(e); - } - async _toggleRespPopover() { - if (this.disabled || this.readonly) - return; - if (this._iconPressed = !0, this._getSelectMenu()) { - this._toggleSelectMenu(); - return; - } - this.responsivePopover = await this._respPopover(), this._isPickerOpen ? this.responsivePopover.close() : this.responsivePopover.showAt(this); - } - async _attachRealDomRefs() { - this.responsivePopover = await this._respPopover(), this.options.forEach((e) => { - e._getRealDomRef = () => this.responsivePopover.querySelector(`*[data-ui5-stable=${e.stableDomRef}]`); - }); - } - _syncSelection() { - let e = -1, t = -1; - const o = this._filteredItems, r = o.map((n, s) => (n.selected && (e = s), t === -1 && (t = s), n.selected = !1, n.focused = !1, { - selected: !1, - focused: !1, - icon: n.icon, - value: n.value, - textContent: n.textContent, - title: n.title, - additionalText: n.additionalText, - id: n._id, - stableDomRef: n.stableDomRef - })); - e > -1 ? (r[e].selected = !0, r[e].focused = !0, o[e].selected = !0, o[e].focused = !0, this._text = r[e].textContent, this._selectedIndex = e) : (this._text = "", this._selectedIndex = -1, r[t] && (r[t].selected = !0, r[t].focused = !0, o[t].selected = !0, o[t].focused = !0, this._selectedIndex = t, this._text = o[t].textContent)), this._syncedOptions = r; - } - _getSelectMenu() { - return JF({ - host: this, - propName: "menu", - onConnect: this._attachMenuListeners, - onDisconnect: this._detachMenuListeners - }); - } - attachMenuListeners(e) { - e.addEventListener("ui5-after-close", this._onMenuClose), e.addEventListener("ui5-after-open", this._onMenuOpen), e.addEventListener("ui5-before-open", this._onMenuBeforeOpen), e.addEventListener("ui5-option-click", this._onMenuClick), e.addEventListener("ui5-menu-change", this._onMenuChange); - } - detachMenuListeners(e) { - e.removeEventListener("ui5-after-close", this._onMenuClose), e.removeEventListener("ui5-after-open", this._onMenuOpen), e.removeEventListener("ui5-before-open", this._onMenuBeforeOpen), e.removeEventListener("ui5-option-click", this._onMenuClick), e.removeEventListener("ui5-menu-change", this._onMenuChange); - } - _enableFormSupport() { - const e = ze("FormSupport"); - e ? e.syncNativeHiddenInput(this, (t, o) => { - const r = t; - o.disabled = !!t.disabled, o.value = r.value; - }) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); - } - _onkeydown(e) { - if ((Bt(e) || Mi(e)) && this._isPickerOpen) { - const o = this._getSelectMenu(); - o ? o.close( - !1, - !1, - !0 - /* preventFocusRestore */ - ) : this.responsivePopover.close(); - } else - zn(e) ? (e.preventDefault(), this._toggleRespPopover()) : se(e) ? e.preventDefault() : Ni(e) && this._isPickerOpen ? this._escapePressed = !0 : qt(e) ? this._handleHomeKey(e) : Ii(e) ? this._handleEndKey(e) : Se(e) ? this._handleSelectionChange() : (Ye(e) || Ue(e)) && this._handleArrowNavigation(e); - } - _handleKeyboardNavigation(e) { - if (Se(e) || this.readonly) - return; - const t = e.key.toLowerCase(); - this._typedChars += t; - const o = /^(.)\1+$/i.test(this._typedChars) ? t : this._typedChars; - clearTimeout(this._typingTimeoutID), this._typingTimeoutID = setTimeout(() => { - this._typedChars = "", this._typingTimeoutID = -1; - }, 1e3), this._selectTypedItem(o); - } - _selectTypedItem(e) { - const t = this._selectedIndex, o = this._searchNextItemByText(e); - if (o) { - const r = this.selectOptions.indexOf(o); - this._changeSelectedItem(this._selectedIndex, r), t !== this._selectedIndex && this.itemSelectionAnnounce(); - } - } - _searchNextItemByText(e) { - let t = this.selectOptions.slice(0); - const o = t.splice(this._selectedIndex + 1, t.length - this._selectedIndex), r = t.splice(0, t.length - 1); - return t = o.concat(r), t.find((n) => (n.displayText || n.textContent || "").toLowerCase().startsWith(e)); - } - _handleHomeKey(e) { - e.preventDefault(), !this.readonly && this._changeSelectedItem(this._selectedIndex, 0); - } - _handleEndKey(e) { - if (e.preventDefault(), this.readonly) - return; - const t = this.selectOptions.length - 1; - this._changeSelectedItem(this._selectedIndex, t); - } - _onkeyup(e) { - se(e) && (this._isPickerOpen ? this._handleSelectionChange() : this._toggleRespPopover()); - } - _getSelectedItemIndex(e) { - return this.selectOptions.findIndex((t) => `${t._id}-li` === e.id); - } - _select(e) { - this.selectOptions[this._selectedIndex].selected = !1, this._selectedIndex !== e && this.fireEvent("live-change", { selectedOption: this.selectOptions[e] }), this._selectedIndex = e, this.selectOptions[e].selected = !0; - } - /** - * The user clicked on an item from the list - * @private - */ - _handleItemPress(e) { - const t = e.detail.item, o = this._getSelectedItemIndex(t); - this._handleSelectionChange(o); - } - _itemMousedown(e) { - e.preventDefault(); - } - _onclick() { - this.getFocusDomRef().focus(), this._toggleRespPopover(); - } - /** - * The user selected an item with Enter or Space - * @private - */ - _handleSelectionChange(e = this._selectedIndex) { - this._select(e), this._toggleRespPopover(); - } - _scrollSelectedItem() { - var e; - if (this._isPickerOpen) { - const t = (e = this._currentlySelectedOption) == null ? void 0 : e.getDomRef(); - t && t.scrollIntoView({ - behavior: "auto", - block: "nearest", - inline: "nearest" - }); - } - } - _handleArrowNavigation(e) { - if (e.preventDefault(), this.readonly) - return; - let t = -1; - const o = this._selectedIndex; - Ue(e) ? t = this._getNextOptionIndex() : t = this._getPreviousOptionIndex(), this._changeSelectedItem(this._selectedIndex, t), o !== this._selectedIndex && (this.itemSelectionAnnounce(), this._scrollSelectedItem()); - } - _changeSelectedItem(e, t) { - const o = this.selectOptions, r = o[e]; - r.selected = !1, r.focused = !1; - const n = o[t]; - n.selected = !0, n.focused = !0, this._selectedIndex = t, this.fireEvent("live-change", { selectedOption: n }), this._isPickerOpen || this._fireChangeEvent(n); - } - _getNextOptionIndex() { - const e = this._getSelectMenu(); - return e ? this._selectedIndex === e.options.length - 1 ? this._selectedIndex : this._selectedIndex + 1 : this._selectedIndex === this.options.length - 1 ? this._selectedIndex : this._selectedIndex + 1; - } - _getPreviousOptionIndex() { - return this._selectedIndex === 0 ? this._selectedIndex : this._selectedIndex - 1; - } - _beforeOpen() { - this._selectedIndexBeforeOpen = this._selectedIndex, this._lastSelectedOption = this.selectOptions[this._selectedIndex]; - } - _afterOpen() { - this.opened = !0, this.fireEvent("open"), this.itemSelectionAnnounce(), this._scrollSelectedItem(); - } - _afterClose() { - this.opened = !1, this._iconPressed = !1, this._listWidth = 0, this._escapePressed ? (this._select(this._selectedIndexBeforeOpen), this._escapePressed = !1) : this._lastSelectedOption !== this.selectOptions[this._selectedIndex] && (this._fireChangeEvent(this.selectOptions[this._selectedIndex]), this._lastSelectedOption = this.selectOptions[this._selectedIndex]), this.fireEvent("close"); - } - get selectOptions() { - const e = this._getSelectMenu(); - return e ? e.options : this._filteredItems; - } - get hasCustomLabel() { - return !!this.label.length; - } - _fireChangeEvent(e) { - const t = !this.fireEvent("change", { selectedOption: e }, !0); - this.selectedItem = e.textContent, this.fireEvent("selected-item-changed"), t && (this.selectedItem = this._lastSelectedOption.textContent, this._select(this._selectedIndexBeforeOpen)); - } - get valueStateTextMappings() { - return { - [q.Success]: Zi.i18nBundle.getText(Sn), - [q.Information]: Zi.i18nBundle.getText(Qn), - [q.Error]: Zi.i18nBundle.getText(wn), - [q.Warning]: Zi.i18nBundle.getText(Cn) - }; - } - get valueStateTypeMappings() { - return { - [q.Success]: Zi.i18nBundle.getText(nc), - [q.Information]: Zi.i18nBundle.getText(ac), - [q.Error]: Zi.i18nBundle.getText(oc), - [q.Warning]: Zi.i18nBundle.getText(rc) - }; - } - get valueStateText() { - let e; - return this.shouldDisplayDefaultValueStateMessage ? e = this.valueStateDefaultText : e = this.valueStateMessageText.map((t) => t.textContent).join(" "), `${this.valueStateTypeText} ${e}`; - } - get valueStateDefaultText() { - return this.valueState !== q.None ? this.valueStateTextMappings[this.valueState] : ""; - } - get valueStateTypeText() { - return this.valueState !== q.None ? this.valueStateTypeMappings[this.valueState] : ""; - } - get hasValueState() { - return this.valueState !== q.None; - } - get valueStateTextId() { - return this.hasValueState ? `${this._id}-valueStateDesc` : void 0; - } - get isDisabled() { - return this.disabled || void 0; - } - get _headerTitleText() { - return Zi.i18nBundle.getText(ic); - } - get _currentlySelectedOption() { - return this.selectOptions[this._selectedIndex]; - } - get _effectiveTabIndex() { - return this.disabled || this.responsivePopover && this.responsivePopover.opened ? "-1" : "0"; - } - /** - * This method is relevant for sap_horizon theme only - */ - get _valueStateMessageInputIcon() { - const e = { - Error: "error", - Warning: "alert", - Success: "sys-enter-2", - Information: "information" - }; - return this.valueState !== q.None ? e[this.valueState] : ""; - } - get iconsCount() { - return this.selectedOptionIcon ? 2 : 1; - } - get classes() { - return { - popoverValueState: { - "ui5-valuestatemessage-root": !0, - "ui5-valuestatemessage--success": this.valueState === q.Success, - "ui5-valuestatemessage--error": this.valueState === q.Error, - "ui5-valuestatemessage--warning": this.valueState === q.Warning, - "ui5-valuestatemessage--information": this.valueState === q.Information - }, - popover: { - "ui5-select-popover-valuestate": this.hasValueState - } - }; - } - get styles() { - return { - popoverHeader: { - "max-width": `${this.offsetWidth}px` - }, - responsivePopoverHeader: { - display: this._filteredItems.length && this._listWidth === 0 ? "none" : "inline-block", - width: `${this._filteredItems.length ? this._listWidth : this.offsetWidth}px` - }, - responsivePopover: { - "min-width": `${this.offsetWidth}px` - } - }; - } - get ariaLabelText() { - return Xt(this); - } - get valueStateMessageText() { - return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); - } - get shouldDisplayDefaultValueStateMessage() { - return !this.valueStateMessageText.length && this.hasValueStateText; - } - get hasValueStateText() { - return this.hasValueState && this.valueState !== q.Success; - } - get shouldOpenValueStateMessagePopover() { - return this.focused && this.hasValueStateText && !this._iconPressed && !this._isPickerOpen && !this._isPhone; - } - get _ariaRoleDescription() { - return Zi.i18nBundle.getText(q3); - } - get _isPhone() { - return ce(); - } - get _filteredItems() { - return this.options.filter((e) => !e.disabled); - } - itemSelectionAnnounce() { - let e; - const t = this.selectOptions.length, o = Zi.i18nBundle.getText(Fh, this._selectedIndex + 1, t); - this.focused && this._currentlySelectedOption && (e = `${this._currentlySelectedOption.textContent} ${this._isPickerOpen ? o : ""}`, Yc(e, Ps.Polite)); - } - async openValueStatePopover() { - this.valueStatePopover = await this._getPopover(), this.valueStatePopover && this.valueStatePopover.showAt(this); - } - closeValueStatePopover() { - this.valueStatePopover && this.valueStatePopover.close(); - } - toggleValueStatePopover(e) { - e ? this.openValueStatePopover() : this.closeValueStatePopover(); - } - get selectedOptionIcon() { - return this.selectedOption && this.selectedOption.icon; - } - async _getPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]"); - } - static async onDefine() { - Zi.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -Zt([ - x({ validator: Wh }) -], Tt.prototype, "menu", void 0); -Zt([ - x({ type: Boolean }) -], Tt.prototype, "disabled", void 0); -Zt([ - x() -], Tt.prototype, "name", void 0); -Zt([ - x({ type: q, defaultValue: q.None }) -], Tt.prototype, "valueState", void 0); -Zt([ - x({ type: Boolean }) -], Tt.prototype, "required", void 0); -Zt([ - x({ type: Boolean }) -], Tt.prototype, "readonly", void 0); -Zt([ - x() -], Tt.prototype, "accessibleName", void 0); -Zt([ - x() -], Tt.prototype, "accessibleNameRef", void 0); -Zt([ - x({ type: String, noAttribute: !0 }) -], Tt.prototype, "_text", void 0); -Zt([ - x({ type: Boolean, noAttribute: !0 }) -], Tt.prototype, "_iconPressed", void 0); -Zt([ - x({ type: Boolean }) -], Tt.prototype, "opened", void 0); -Zt([ - x({ validator: ne, defaultValue: 0, noAttribute: !0 }) -], Tt.prototype, "_listWidth", void 0); -Zt([ - x({ type: Boolean }) -], Tt.prototype, "focused", void 0); -Zt([ - x({ validator: ne, defaultValue: -1, noAttribute: !0 }) -], Tt.prototype, "_selectedIndex", void 0); -Zt([ - K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) -], Tt.prototype, "options", void 0); -Zt([ - K() -], Tt.prototype, "formSupport", void 0); -Zt([ - K() -], Tt.prototype, "valueStateMessage", void 0); -Zt([ - K() -], Tt.prototype, "label", void 0); -Tt = Zi = Zt([ - X({ - tag: "ui5-select", - languageAware: !0, - renderer: ue, - template: ez, - staticAreaTemplate: az, - styles: fz, - staticAreaStyles: [ - Fr, - Ka, - vz - ], - dependencies: [ - $C, - Jn, - po, - Fi, - fo, - ea, - Pe, - Ne - ] - }), - U("change", { - detail: { - /** - * @public - */ - selectedOption: { type: HTMLElement } - } - }), - U("live-change", { - detail: { - /** - * @public - */ - selectedOption: { type: HTMLElement } - } - }), - U("open"), - U("close") -], Tt); -Tt.define(); -const mz = Tt; -function gz(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} class="ui5-select-menu" placement-type="Bottom" horizontal-align="Left" @ui5-after-open="${a(this._onAfterOpen)}" @ui5-after-close="${a(this._onAfterClose)}" @ui5-before-open="${a(this._onBeforeOpen)}" hide-arrow _disable-initial-focus style=${G(this.styles.responsivePopover)}>${this._isPhone ? vg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : gg.call(this, i, e, t)}<${E("ui5-list", e, t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOptionClick)}">` : y`${this._isPhone ? vg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : gg.call(this, i, e, t)}`; -} -function vg(i, e, t) { - return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._onCloseBtnClick}">
    ${this.hasValueState ? mg.call(this, i, e, t) : void 0}
    ` : y`
    ${a(this._headerTitleText)}
    ${this.hasValueState ? mg.call(this, i, e, t) : void 0}
    `; -} -function mg(i, e, t) { - return y`
    ${this.hasValueStateSlot ? bz.call(this, i, e, t) : wz.call(this, i, e, t)}
    `; -} -function bz(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => yz.call(this, i, e, t, o, r))}`; -} -function yz(i, e, t, o, r) { - return y`${a(o)}`; -} -function wz(i, e, t) { - return y`${a(this.valueStateText)}`; -} -function gg(i, e, t) { - return y`${this.hasValueState ? Cz.call(this, i, e, t) : void 0}`; -} -function Cz(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.hasValueStateSlot ? bg.call(this, i, e, t) : yg.call(this, i, e, t)}
    ` : y`
    ${this.hasValueStateSlot ? bg.call(this, i, e, t) : yg.call(this, i, e, t)}
    `; -} -function bg(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Sz.call(this, i, e, t, o, r))}`; -} -function Sz(i, e, t, o, r) { - return y`${a(o)}`; -} -function yg(i, e, t) { - return y`${a(this.valueStateText)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const Tz = { packageName: "@ui5/webcomponents", fileName: "themes/SelectMenu.css.ts", content: `.ui5-select-menu::part(content),.ui5-select-menu::part(header){padding:0}.ui5-select-menu [ui5-li-custom]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-menu [ui5-li-custom]::part(native-li){padding:0}.ui5-select-menu [ui5-icon]{color:var(--sapList_TextColor)} -` }; -var ra = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Br = class extends te { - constructor() { - super(), this.valueStateMessageText = []; - } - /** - * Shows the dropdown at the given element. - */ - showAt(e, t) { - this.selectWidth = t, this.respPopover.open = !0, this.respPopover.opener = e, this.hasValueState = !!e.hasValueState, this.hasValueStateSlot = e.valueStateMessageText.length > 0, this.valueStateText = e.valueStateText, this.valueStateMessageText = e.valueStateMessageText, this.valueState = e.valueState, this._headerTitleText = e._headerTitleText; - } - /** - * Closes the dropdown. - */ - close(e = !1, t = !1, o = !1) { - this.respPopover.close(e, t, o); - } - onBeforeRendering() { - this._syncSelection(); - } - _syncSelection() { - let e = -1, t = -1, o, r; - const n = this.options; - if (n.forEach((s, l) => (s.selected && (e = l), t === -1 && (t = l), s.selected = !1, s.focused = !1, s)), e > -1) { - const s = n[e]; - s.selected = !0, s.focused = !0, o = s.displayText || String(s.textContent), r = e; - } else { - o = "", r = -1; - const s = n[t]; - s && (s.selected = !0, s.focused = !0, r = t, o = s.displayText || String(s.textContent)); - } - this.fireEvent("menu-change", { - text: o, - selectedIndex: r - }); - } - _onOptionClick(e) { - const t = e.detail.item, o = this.options.findIndex((r) => t.__id === r.__id); - this.fireEvent("option-click", { - option: t, - optionIndex: o - }); - } - _onBeforeOpen() { - this.fireEvent("before-open"); - } - _onAfterOpen() { - this.fireEvent("after-open"); - } - _onAfterClose() { - this.fireEvent("after-close"); - } - _onCloseBtnClick() { - this.close(); - } - get open() { - var e; - return !!((e = this.respPopover) != null && e.open); - } - get respPopover() { - return this.shadowRoot.querySelector(".ui5-select-menu"); - } - get classes() { - return { - popoverValueState: { - "ui5-valuestatemessage-root": !0, - "ui5-valuestatemessage--success": this.valueState === q.Success, - "ui5-valuestatemessage--error": this.valueState === q.Error, - "ui5-valuestatemessage--warning": this.valueState === q.Warning, - "ui5-valuestatemessage--information": this.valueState === q.Information - }, - popover: { - "ui5-select-popover-valuestate": this.hasValueState - } - }; - } - get styles() { - return { - valueStatePopover: { - width: `${this.selectWidth}px` - }, - responsivePopover: { - "min-width": `${this.selectWidth}px` - } - }; - } - get _valueStateMessageInputIcon() { - const e = { - Error: "error", - Warning: "alert", - Success: "sys-enter-2", - Information: "information" - }; - return this.valueState !== q.None ? e[this.valueState] : ""; - } - get _isPhone() { - return ce(); - } -}; -ra([ - K({ - default: !0, - type: HTMLElement, - invalidateOnChildChange: !0 - }) -], Br.prototype, "options", void 0); -ra([ - x({ validator: ne }) -], Br.prototype, "selectWidth", void 0); -ra([ - x({ type: Boolean }) -], Br.prototype, "hasValueState", void 0); -ra([ - x({ type: Boolean }) -], Br.prototype, "hasValueStateSlot", void 0); -ra([ - x({ type: q, defaultValue: q.None }) -], Br.prototype, "valueState", void 0); -ra([ - x() -], Br.prototype, "valueStateText", void 0); -ra([ - x({ type: String, noAttribute: !0 }) -], Br.prototype, "value", void 0); -ra([ - x({ type: String, noAttribute: !0 }) -], Br.prototype, "selectId", void 0); -Br = ra([ - X({ - tag: "ui5-select-menu", - renderer: ue, - styles: [Tz, Ka, Fr], - template: gz, - dependencies: [ - po, - fo, - Ne - ] - }), - U("option-click", { - detail: { - option: { type: HTMLElement }, - optionIndex: { type: ne } - } - }), - U("before-open"), - U("after-open"), - U("after-close"), - U("menu-change", { - detail: { - text: { type: String }, - selectedIndex: { type: ne } - } - }) -], Br); -Br.define(); -function xC(i, e, t) { - return y`
  • ${this.placeSelectionElementBefore ? Iz.call(this, i, e, t) : void 0}
    ${this.typeDetail ? Bz.call(this, i, e, t) : void 0}${this.typeNavigation ? Dz.call(this, i, e, t) : void 0}${this.navigated ? Pz.call(this, i, e, t) : void 0}${this.placeSelectionElementAfter ? Oz.call(this, i, e, t) : void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `; -} -function Iz(i, e, t) { - return y`${this.modeSingleSelect ? kz.call(this, i, e, t) : void 0}${this.modeMultiSelect ? $z.call(this, i, e, t) : void 0}${this.renderDeleteButton ? xz.call(this, i, e, t) : void 0}`; -} -function kz(i, e, t) { - return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; -} -function $z(i, e, t) { - return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; -} -function xz(i, e, t) { - return y`
    ${this.hasDeleteButtonSlot ? Az.call(this, i, e, t) : Ez.call(this, i, e, t)}
    `; -} -function Az(i, e, t) { - return y``; -} -function Ez(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; -} -function Bz(i, e, t) { - return t ? y`
    <${E("ui5-button", e, t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    ` : y`
    `; -} -function Dz(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name ="slim-arrow-right">` : y``; -} -function Pz(i, e, t) { - return y`
    `; -} -function Oz(i, e, t) { - return y`${this.modeSingleSelect ? Rz.call(this, i, e, t) : void 0}${this.modeMultiSelect ? Nz.call(this, i, e, t) : void 0}${this.renderDeleteButton ? Mz.call(this, i, e, t) : void 0}`; -} -function Rz(i, e, t) { - return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; -} -function Nz(i, e, t) { - return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; -} -function Mz(i, e, t) { - return y`
    ${this.hasDeleteButtonSlot ? Lz.call(this, i, e, t) : Fz.call(this, i, e, t)}
    `; -} -function Lz(i, e, t) { - return y``; -} -function Fz(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const zz = { packageName: "@ui5/webcomponents", fileName: "themes/CustomListItem.css.ts", content: `:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_custom_list_item_rb_min_width)} -` }; -var AC = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let Iu = class extends cn { - _onkeydown(e) { - !(Bt(e) || Mi(e)) && !this.focused || super._onkeydown(e); - } - _onkeyup(e) { - !(Bt(e) || Mi(e)) && !this.focused || super._onkeyup(e); - } - get classes() { - const e = super.classes; - return e.main["ui5-custom-li-root"] = !0, e; - } -}; -AC([ - x() -], Iu.prototype, "accessibleName", void 0); -Iu = AC([ - X({ - tag: "ui5-li-custom", - template: xC, - styles: [cn.styles, zz] - }) -], Iu); -Iu.define(); -const Mv = Iu; -var Qa = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let dn = class extends Mv { - get stableDomRef() { - return ""; - } - get _accInfo() { - const e = { - ariaSelected: this.selected - }; - return { ...super._accInfo, ...e }; - } -}; -Qa([ - x() -], dn.prototype, "displayText", void 0); -Qa([ - x({ type: Boolean }) -], dn.prototype, "disabled", void 0); -Qa([ - x() -], dn.prototype, "value", void 0); -Qa([ - x({ type: Ut, defaultValue: Ut.Active }) -], dn.prototype, "type", void 0); -Qa([ - x({ type: Object }) -], dn.prototype, "accessibilityAttributes", void 0); -Qa([ - x({ type: Boolean }) -], dn.prototype, "navigated", void 0); -Qa([ - K() -], dn.prototype, "deleteButton", void 0); -dn = Qa([ - X({ - tag: "ui5-select-menu-option", - renderer: ue, - styles: Mv.styles, - template: xC, - dependencies: [] - }) -], dn); -dn.define(); -function Hz(i, e, t) { - return t ? y`
    <${E("ui5-button", e, t)} class="ui5-split-text-button" design="${a(this.design)}" dir=${a(this.effectiveDir)} icon="${a(this._textButtonIcon)}" tabindex="-1" ?disabled="${this.disabled}" ?active="${this._textButtonActive}" @click="${this._handleMouseClick}" @touchstart=${this._textButtonPress} @mousedown=${this._textButtonPress} @mouseup=${this._textButtonRelease} @focusin=${this._textButtonFocusIn} @focusout=${this._onFocusOut}>${this.isTextButton ? wg.call(this, i, e, t) : void 0}<${E("ui5-button", e, t)} dir=${a(this.effectiveDir)} class="ui5-split-arrow-button" design="${a(this.design)}" icon="slim-arrow-down" tabindex="-1" ?disabled="${this.disabled}" ?active="${this.effectiveActiveArrowButton}" aria-expanded="${a(this.accessibilityInfo.ariaExpanded)}" aria-haspopup="${a(this.accessibilityInfo.ariaHaspopup)}" @click="${this._handleArrowButtonAction}" @mousedown=${this._arrowButtonPress} @mouseup=${this._arrowButtonRelease} @focusin=${this._setTabIndexValue} @ui5-_active-state-change=${a(this._onArrowButtonActiveStateChange)}>${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    ` : y`
    ${this.isTextButton ? wg.call(this, i, e, t) : void 0}${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `; -} -function wg(i, e, t) { - return y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const Vz = { packageName: "@ui5/webcomponents", fileName: "themes/SplitButton.css.ts", content: `: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-flex;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_button_border_radius);background-color:var(--sapButton_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_default_box_shadow)}:host([active-arrow-button][design="Negative"]) .ui5-split-arrow-button,:host([design="Negative"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Reject_Selected_Background);border:.0625rem solid var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([active-arrow-button][design="Positive"]) .ui5-split-arrow-button,:host([design="Positive"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Accept_Selected_Background);border:.0625rem solid var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([active-arrow-button][design="Attention"]) .ui5-split-arrow-button,:host([design="Attention"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Attention_Selected_Background);border:.0625rem solid var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([active-arrow-button][design="Emphasized"]) .ui5-split-arrow-button,:host([design="Emphasized"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Emphasized_Active_Background);border:.0625rem solid var(--sapButton_Emphasized_Active_BorderColor)}:host([active-arrow-button][design="Transparent"]) .ui5-split-arrow-button,:host([active-arrow-button]) .ui5-split-arrow-button,:host([design="Transparent"]) .ui5-split-arrow-button[active],:host([design="Default"]) .ui5-split-arrow-button[active],.ui5-split-arrow-button[active],.ui5-split-arrow-button[active]:hover{background-color:var(--sapButton_Active_Background);border:.0625rem solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([disabled]:not([hidden])){pointer-events:none}:host([design="Positive"]:not([hidden])){background-color:var(--sapButton_Accept_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_positive_box_shadow)}:host([design="Negative"]:not([hidden])){background-color:var(--sapButton_Reject_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_negative_box_shadow)}:host([design="Attention"]:not([hidden])){background-color:var(--sapButton_Attention_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_attention_box_shadow)}:host([design="Emphasized"]:not([hidden])){background-color:var(--sapButton_Emphasized_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_emphasized_box_shadow)}:host([design="Transparent"]:not([hidden])){background-color:var(--sapButton_Lite_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_box_shadow)}:host([design="Transparent"][disabled]:not([hidden])){background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_disabled_background)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_box_shadow)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button:not(:hover),:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-text-button:not(:hover){color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_color)}:host([focused]) .ui5-split-button-root{outline:0}:host([focused]) .ui5-split-button-root:after{content:"";position:absolute;box-sizing:border-box;inset:.125rem;border:var(--_ui5-v1-22-1-rc-0_split_button_focused_border);pointer-events:none;border-radius:var(--_ui5-v1-22-1-rc-0_split_button_focused_border_radius)}:host([design="Emphasized"][focused]) .ui5-split-button-root:after{border-color:var(--sapContent_ContrastFocusColor)}.ui5-split-button-root{display:inline-flex;position:relative;width:inherit}.ui5-split-button-root:focus,.ui5-split-text-button:focus,.ui5-split-arrow-button:focus{outline:0}.ui5-split-text-button{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-width:.0625rem;border-inline-end-width:var(--_ui5-v1-22-1-rc-0_split_button_text_button_right_border_width);border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);vertical-align:top;flex-grow:1}.ui5-split-text-button:hover{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border_right)}.ui5-split-text-button[design=Emphasized]{border:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border);border-width:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border_width)}.ui5-split-text-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background)}.ui5-split-text-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_right)}.ui5-split-text-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_right)}.ui5-split-text-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_right)}.ui5-split-text-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_right)}.ui5-split-text-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border-color:var(--sapButton_Emphasized_Active_BorderColor)}.ui5-split-text-button[active][design=Negative]{background-color:var(--sapButton_Reject_Selected_Background);color:var(--sapButton_Reject_Active_TextColor);border-color:var(--sapButton_Reject_Active_BorderColor)}.ui5-split-text-button[active][design=Positive]{background-color:var(--sapButton_Accept_Selected_Background);color:var(--sapButton_Accept_Active_TextColor);border-color:var(--sapButton_Accept_Active_BorderColor)}.ui5-split-text-button[active][design=Attention]{background-color:var(--sapButton_Attention_Selected_Background);color:var(--sapButton_Attention_Active_TextColor);border-color:var(--sapButton_Attention_Active_BorderColor)}.ui5-split-text-button[active][design=Default],.ui5-split-text-button[active][design=Transparent]{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor);border-color:var(--sapButton_Active_BorderColor)}.ui5-split-text-button[active]{outline:0}.ui5-split-arrow-button{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);width:2.25rem;border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);position:relative;border-width:.0625rem;overflow:visible}.ui5-split-arrow-button:hover{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_hover_border)}.ui5-split-arrow-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border);box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow, none)}[dir=rtl].ui5-split-arrow-button[design=Emphasized]:hover{box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow_rtl, none)}.ui5-split-arrow-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_positive_hover_border)}.ui5-split-arrow-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_negative_hover_border)}.ui5-split-arrow-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_attention_hover_border)}.ui5-split-arrow-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_transparent_hover_border)}.ui5-split-arrow-button:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;width:.0625rem;background-color:var(--sapButton_TextColor);inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height)}.ui5-split-arrow-button[design=Emphasized]:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);inset-inline-end:0;height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height);width:.0625rem}.ui5-split-text-button:hover+.ui5-split-arrow-button:before,.ui5-split-arrow-button:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display)}.ui5-split-arrow-button[design=Emphasized]:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display_emphasized)}.ui5-split-arrow-button[design=Transparent]:before{background-color:var(--sapButton_Lite_TextColor)}.ui5-split-arrow-button[design=Emphasized]:before{background-color:var(--sapButton_Emphasized_TextColor)}.ui5-split-arrow-button[design=Positive]:before{background-color:var(--sapButton_Accept_TextColor)}.ui5-split-arrow-button[design=Negative]:before{background-color:var(--sapButton_Reject_TextColor)}.ui5-split-arrow-button[design=Attention]:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color_default)}.ui5-split-arrow-button[focused]::part(button):after{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[focused]::part(button):after{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[active][design=Emphasized]{color:var(--sapButton_Emphasized_Active_TextColor);background-color:var(--sapButton_Emphasized_Active_Background)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button,.ui5-split-arrow-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border)}:host([design="Transparent"][active-arrow-button]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button{color:var(--sapButton_Active_TextColor)}:host([active-arrow-button]) .ui5-split-arrow-button{border:.0625rem solid var(--sapButton_Lite_Active_BorderColor)}:host([active-arrow-button]) .ui5-split-arrow-button:before,.ui5-split-arrow-button[active]:before,.ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--sapButton_TextColor)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Emphasized"]) .ui5-split-arrow-button[active]:before,:host([design="Emphasized"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_emphasized_separator_color)}:host([design="Positive"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Positive"]) .ui5-split-arrow-button[active]:before,:host([design="Positive"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_positive_separator_color)}:host([design="Negative"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Negative"]) .ui5-split-arrow-button[active]:before,:host([design="Negative"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_negative_separator_color)}:host([design="Attention"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Attention"]) .ui5-split-arrow-button[active]:before,:host([design="Attention"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color)} -` }; -var Bi = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, bs; -let ai = bs = class extends te { - static async onDefine() { - bs.i18nBundle = await pe("@ui5/webcomponents"); - } - constructor() { - super(), this._isDefaultActionPressed = !1, this._isKeyDownOperation = !1; - const e = () => { - this._textButtonActive = !0, this.focused = !1, this._tabIndex = "-1"; - }; - this._textButtonPress = { - handleEvent: e, - passive: !0 - }; - } - /** - * Function that makes sure the focus is properly managed. - * @private - */ - _manageFocus(e) { - [this.textButton, this.arrowButton, this].forEach((o) => { - o.focused = o === e; - }); - } - onBeforeRendering() { - this._textButtonIcon = this.textButton && this.activeIcon !== "" && this._textButtonActive && !this._shiftOrEscapePressed ? this.activeIcon : this.icon, this.disabled && (this._tabIndex = "-1"); - } - _handleMouseClick(e) { - const t = e.target; - this._manageFocus(t), this._fireClick(e); - } - _onFocusOut(e) { - this.disabled || Xo(e) || (this._shiftOrEscapePressed = !1, this._setTabIndexValue(), this._manageFocus()); - } - _onFocusIn(e) { - this.disabled || Xo(e) || (this._shiftOrEscapePressed = !1, this._manageFocus(this)); - } - _textButtonFocusIn(e) { - e == null || e.stopPropagation(), this._manageFocus(this.textButton), this._setTabIndexValue(); - } - _onKeyDown(e) { - this._isKeyDownOperation = !0, this._isArrowKeyAction(e) ? (this._handleArrowButtonAction(e), this._activeArrowButton = !0) : this._isDefaultAction(e) && (this._handleDefaultAction(e), this._isDefaultActionPressed = !0), this._spacePressed && this._isShiftOrEscape(e) && this._handleShiftOrEscapePressed(), this._isDefaultActionPressed && (Bt(e) || Mi(e)) && (this._activeArrowButton = !1, this._textButtonActive = !1), this._tabIndex = "-1"; - } - _onKeyUp(e) { - this._isKeyDownOperation = !1, this._isArrowKeyAction(e) ? (e.preventDefault(), this._activeArrowButton = !1, this._textButtonActive = !1) : this._isDefaultAction(e) && (this._isDefaultActionPressed = !1, this._textButtonActive = !1, se(e) && (e.preventDefault(), e.stopPropagation(), this._fireClick(), this._spacePressed = !1, this._textButtonActive = !1)), this._isShiftOrEscape(e) && this._handleShiftOrEscapePressed(), this._tabIndex = "-1"; - } - _fireClick(e) { - e == null || e.stopPropagation(), this._shiftOrEscapePressed || this.fireEvent("click"), this._shiftOrEscapePressed = !1; - } - _fireArrowClick(e) { - e == null || e.stopPropagation(), this.fireEvent("arrow-click"); - } - _textButtonRelease() { - this._textButtonActive = !1, this._textButtonIcon = this.textButton && this.activeIcon !== "" && this._textButtonActive && !this._shiftOrEscapePressed ? this.activeIcon : this.icon, this._tabIndex = "-1"; - } - _arrowButtonPress(e) { - e.preventDefault(), this.arrowButton.focus(), this._tabIndex = "-1"; - } - _arrowButtonRelease(e) { - e.preventDefault(), this._tabIndex = "-1"; - } - _setTabIndexValue() { - var e, t; - this._tabIndex = this.disabled ? "-1" : "0", this._tabIndex === "-1" && ((e = this.textButton) != null && e.focused || (t = this.arrowButton) != null && t.focused) && (this._tabIndex = "0"); - } - _onArrowButtonActiveStateChange(e) { - this.activeArrowButton && e.preventDefault(); - } - /** - * Checks if the pressed key is an arrow key. - * - * @param e - keyboard event - * @private - */ - _isArrowKeyAction(e) { - return Ue(e) || Ye(e) || Gf(e) || oh(e) || Rh(e); - } - /** - * Checks if the pressed key is a default action key (Space or Enter). - * - * @param e - keyboard event - * @private - */ - _isDefaultAction(e) { - return se(e) || Se(e); - } - /** - * Checks if the pressed key is an escape key or shift key. - * - * @param e - keyboard event - * @private - */ - _isShiftOrEscape(e) { - return Ni(e) || MI(e); - } - /** - * Handles the click event and the focus on the arrow button. - * @param e - keyboard event - * @private - */ - _handleArrowButtonAction(e) { - e.preventDefault(), this._fireArrowClick(e), se(e) && (this._spacePressed = !0); - } - /** - * Handles the default action and the active state of the respective button. - * @param e - keyboard event - * @private - */ - _handleDefaultAction(e) { - var o; - e.preventDefault(); - const t = se(e); - this.focused || (o = this.textButton) != null && o.focused ? (this._textButtonActive = !0, this._fireClick(), t && (this._spacePressed = !0)) : this.arrowButton && this.arrowButton.focused && (this._activeArrowButton = !0, this._fireArrowClick(), t && (this._spacePressed = !0, this._textButtonActive = !1)); - } - _handleShiftOrEscapePressed() { - this._shiftOrEscapePressed = !0, this._textButtonActive = !1, this._isKeyDownOperation = !1; - } - get effectiveActiveArrowButton() { - return this.activeArrowButton || this._activeArrowButton; - } - get textButtonAccText() { - return this.textContent; - } - get isTextButton() { - return !!this.textContent; - } - get textButton() { - var e; - return (e = this.getDomRef()) == null ? void 0 : e.querySelector(".ui5-split-text-button"); - } - get arrowButton() { - var e; - return (e = this.getDomRef()) == null ? void 0 : e.querySelector(".ui5-split-arrow-button"); - } - get accessibilityInfo() { - return { - // affects arrow button - ariaExpanded: this._splitButtonAccInfo && this._splitButtonAccInfo.ariaExpanded, - ariaHaspopup: this._splitButtonAccInfo && this._splitButtonAccInfo.ariaHaspopup, - // affects root element - description: bs.i18nBundle.getText(Dp), - keyboardHint: bs.i18nBundle.getText(Pp) - }; - } - get ariaLabelText() { - return [bs.i18nBundle.getText(Dp), bs.i18nBundle.getText(Pp)].join(" "); - } -}; -Bi([ - x() -], ai.prototype, "icon", void 0); -Bi([ - x() -], ai.prototype, "activeIcon", void 0); -Bi([ - x({ type: Boolean }) -], ai.prototype, "activeArrowButton", void 0); -Bi([ - x({ type: Qo, defaultValue: Qo.Default }) -], ai.prototype, "design", void 0); -Bi([ - x({ type: Boolean }) -], ai.prototype, "disabled", void 0); -Bi([ - x({ defaultValue: void 0 }) -], ai.prototype, "accessibleName", void 0); -Bi([ - x({ type: Boolean }) -], ai.prototype, "focused", void 0); -Bi([ - x({ type: Object }) -], ai.prototype, "_splitButtonAccInfo", void 0); -Bi([ - x({ defaultValue: "0", noAttribute: !0 }) -], ai.prototype, "_tabIndex", void 0); -Bi([ - x({ type: Boolean, noAttribute: !0 }) -], ai.prototype, "_spacePressed", void 0); -Bi([ - x({ type: Boolean, noAttribute: !0 }) -], ai.prototype, "_shiftOrEscapePressed", void 0); -Bi([ - x({ type: Boolean, noAttribute: !0 }) -], ai.prototype, "_textButtonActive", void 0); -Bi([ - x({ noAttribute: !0 }) -], ai.prototype, "_textButtonIcon", void 0); -Bi([ - x({ type: Boolean, noAttribute: !0 }) -], ai.prototype, "_activeArrowButton", void 0); -Bi([ - K({ type: Node, default: !0 }) -], ai.prototype, "text", void 0); -ai = bs = Bi([ - X({ - tag: "ui5-split-button", - renderer: ue, - styles: Vz, - template: Hz, - dependencies: [Ne] - }), - U("click"), - U("arrow-click") -], ai); -ai.define(); -function Uz(i, e, t) { - return t ? y`
    ${this.readonly ? void 0 : Cg.call(this, i, e, t)}<${E("ui5-input", e, t)} id="${a(this._id)}-inner" class="ui5-step-input-input" placeholder="${a(this.placeholder)}" type="${a(this.type)}" value="${a(this._valuePrecisioned)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" ._nativeInputAttributes="${a(this.inputAttributes)}" @ui5-change="${a(this._onInputChange)}" @focusout="${this._onInputFocusOut}" @focusin="${this._onInputFocusIn}">${this.valueStateMessage.length ? Sg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Tg.call(this, i, e, t)}
    ` : y`
    ${this.readonly ? void 0 : Cg.call(this, i, e, t)}${this.valueStateMessage.length ? Sg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Tg.call(this, i, e, t)}
    `; -} -function Cg(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} id="${a(this._id)}-dec" name="${a(this.decIconName)}" tabindex="-1" accessible-name="${a(this.decIconTitle)}" @click="${this._decValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._decSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._decIconClickable}">
    ` : y`
    `; -} -function Sg(i, e, t) { - return y``; -} -function Tg(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} id="${a(this._id)}-inc" name="${a(this.incIconName)}" tabindex="-1" accessible-name="${a(this.incIconTitle)}" @click="${this._incValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._incSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._incIconClickable}">
    ` : y`
    `; -} -const qz = "less", EC = "M464 224q16 0 16 16v32q0 16-16 16H48q-6 0-11-4.5T32 272v-32q0-7 5-11.5t11-4.5h416z", Wz = !1, jz = "SAP-icons-v4", Gz = "@ui5/webcomponents-icons"; -J(qz, { pathData: EC, ltr: Wz, collection: jz, packageName: Gz }); -const Yz = "less", BC = "M454 275H58q-11 0-18.5-7T32 250t7.5-18.5T58 224h396q11 0 18.5 7.5T480 250t-7.5 18-18.5 7z", Xz = !1, Kz = "SAP-icons-v5", Zz = "@ui5/webcomponents-icons"; -J(Yz, { pathData: BC, ltr: Xz, collection: Kz, packageName: Zz }); -Te(); -const Qz = "add", DC = "M32 240q0-7 5-11.5t11-4.5h176V48q0-7 5-11.5t11-4.5h32q16 0 16 16v176h176q16 0 16 16v32q0 16-16 16H288v176q0 16-16 16h-32q-6 0-11-4.5t-5-11.5V288H48q-6 0-11-4.5T32 272v-32z", Jz = !1, eH = Z8, tH = "SAP-icons-v4", iH = "@ui5/webcomponents-icons"; -J(Qz, { pathData: DC, ltr: Jz, accData: eH, collection: tH, packageName: iH }); -const oH = "add", PC = "M454 230q11 0 18.5 7.5T480 256t-7.5 18.5T454 282H282v172q0 11-7.5 18.5T256 480t-18.5-7.5T230 454V282H58q-11 0-18.5-7.5T32 256t7.5-18.5T58 230h172V58q0-11 7.5-18.5T256 32t18.5 7.5T282 58v172h172z", rH = !1, nH = Z8, aH = "SAP-icons-v5", sH = "@ui5/webcomponents-icons"; -J(oH, { pathData: PC, ltr: rH, accData: nH, collection: aH, packageName: sH }); -Te(); -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const lH = { packageName: "@ui5/webcomponents", fileName: "themes/StepInput.css.ts", content: `: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;width:100%;line-height:normal;letter-spacing:normal;word-spacing:normal}:host{--ui5-v1-22-1-rc-0_input_focus_pseudo_element_content: none;color:var(--sapField_TextColor);background-color:var(--sapField_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style);border-radius:var(--sapField_BorderCornerRadius);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_input_height);position:relative;min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);text-align:right}:host .ui5-step-input-input{text-align:inherit}:host(:not([value-state]):not([readonly]):not([disabled])){box-shadow:none}:host(:not([value-state]):not([readonly]):not([disabled]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_step_input_border_color_hover);border:var(--_ui5-v1-22-1-rc-0_step_input_border_hover)}:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover){background-color:var(--sapField_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style_hover);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InformationShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Error"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):hover),:host([value-state="Error"]:not([readonly]):not([disabled]):hover),:host([value-state="Information"]:not([readonly]):not([disabled]):hover),:host([value-state="Warning"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0-step_input_button_state_hover_background_color)}:host(:not([value-state]):not([readonly]):not([disabled])[focused]),:host([value-state="None"]:not([readonly]):not([disabled])[focused]),:host([value-state="Success"]:not([readonly]):not([disabled])[focused]),:host([value-state="Error"]:not([readonly]):not([disabled])[focused]),:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),:host([value-state="Warning"]:not([readonly]):not([disabled])[focused]){background-color:var(--sapField_Focus_Background)}:host([value-state="Success"]:not([readonly]):not([disabled])):after,:host([value-state="Error"]:not([readonly]):not([disabled])):after,:host([value-state="None"]:not([readonly]):not([disabled])):after,:host([value-state="Information"]:not([readonly]):not([disabled])):after,:host([value-state="Warning"]:not([readonly]):not([disabled])):after{position:absolute;content:"";inset:-1px;outline:none;pointer-events:none;border-radius:var(--sapField_BorderCornerRadius);border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style);z-index:1;border-width:0px}:host([value-state="Information"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InformationColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state="Warning"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_WarningColor);border-width:2px}:host([value-state="Success"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_SuccessColor);border-width:1px}:host([value-state="Error"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InvalidColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state]):after{border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input{background-color:var(--_ui5-v1-22-1-rc-0_input_input_background_color)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input:hover{background-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_background_color)}:host([value-state]:not([value-state="None"]) .ui5-step-input-input[focused]){outline:none}:host .ui5-step-input-input{width:100%;color:inherit;background-color:inherit;border:var(--_ui5-v1-22-1-rc-0_step_input_input_border);box-sizing:border-box;vertical-align:top;margin-top:var(--_ui5-v1-22-1-rc-0_step_input_input_margin_top);min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);padding-inline-start:var(--_ui5-v1-22-1-rc-0_step_input_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_step_input_padding);position:relative;outline:none;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[readonly]{padding:0}:host .ui5-step-input-input:hover,:host .ui5-step-input-input[focused]{box-shadow:none}:host .ui5-step-input-root{white-space:nowrap;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[text-align=left]{text-align:left}:host .ui5-step-input-input[text-align=center]{text-align:center}:host .ui5-step-input-input[text-align=right]{text-align:right}:host .ui5-step-icon{position:absolute;display:var(--_ui5-v1-22-1-rc-0_step_input_button_display);height:2rem;height:100%;background-color:var(--_ui5-v1-22-1-rc-0_step_input_button_background_color);z-index:0}:host .ui5-step-icon[focused]{border:none;outline:none}:host .ui5-step-icon.ui5-step-dec{left:var(--_ui5-v1-22-1-rc-0_step_input_button_left);z-index:1}:host .ui5-step-icon.ui5-step-inc{right:var(--_ui5-v1-22-1-rc-0_step_input_button_right)}:host .ui5-step-icon *:not([clickable]),:host .ui5-step-icon *:not([clickable]):active,:host .ui5-step-icon *:not([clickable]):hover{opacity:.5;background-color:transparent;color:var(--sapContent_IconColor)}:host .ui5-step-icon :not([clickable]) *:hover,:host .ui5-step-icon :not([clickable]) *:active{background-color:var(--sapField_Background);color:var(--sapContent_IconColor)}:host .ui5-step-input-input[focused]:after{position:absolute;content:"";border:var(--_ui5-v1-22-1-rc-0_step_input_input_border_focused_after);top:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);right:0;bottom:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);border-radius:var(--_ui5-v1-22-1-rc-0_step_input_input_border_radius_focused_after);left:0;outline:none;pointer-events:none;z-index:1}:host .ui5-step-input-input[focused]{outline:none}:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_information_border_color_focused_after)}:host([value-state="Warning"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_warning_border_color_focused_after)}:host([value-state="Success"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_success_border_color_focused_after)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_border_color_focused_after)}:host .ui5-step-input-input::-webkit-outer-spin-button,:host .ui5-step-input-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host([disabled]) .ui5-step-icon{background-color:var(--_ui5-v1-22-1-rc-0_step_input_disabled_button_background)}:host([disabled]) .ui5-step-icon [ui5-icon]{color:var(--sapField_ReadOnly_BorderColor)} -` }; -var at = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Lc; -const cH = 500, uH = 0.8, Ig = 50, dH = 120; -let Je = Lc = class extends te { - static async onDefine() { - Lc.i18nBundle = await pe("@ui5/webcomponents"); - } - get type() { - return Ol.Number; - } - // icons-related - get decIconTitle() { - return Lc.i18nBundle.getText(_8); - } - get decIconName() { - return "less"; - } - get incIconTitle() { - return Lc.i18nBundle.getText(p8); - } - get incIconName() { - return "add"; - } - get _decIconClickable() { - return !this._decIconDisabled && !this.readonly && !this.disabled; - } - get _incIconClickable() { - return !this._incIconDisabled && !this.readonly && !this.disabled; - } - get _isFocused() { - return this.focused; - } - get _valuePrecisioned() { - return this.value.toFixed(this.valuePrecision); - } - get accInfo() { - return { - ariaRequired: this.required, - ariaLabel: Xt(this) - }; - } - get inputAttributes() { - return { - min: this.min === void 0 ? void 0 : this.min, - max: this.max === void 0 ? void 0 : this.max, - step: this.step - }; - } - onBeforeRendering() { - this._setButtonState(), this._previousValue === void 0 && (this._previousValue = this.value); - const e = ze("FormSupport"); - e ? e.syncNativeHiddenInput(this) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); - } - get input() { - return this.shadowRoot.querySelector("[ui5-input]"); - } - get inputOuter() { - return this.shadowRoot.querySelector(".ui5-step-input-input"); - } - _onButtonFocusOut() { - setTimeout(() => { - this._inputFocused || this.inputOuter.removeAttribute("focused"); - }, 0); - } - _onInputFocusIn() { - this._inputFocused = !0, this.value !== this._previousValue && (this._previousValue = this.value); - } - _onInputFocusOut() { - this._inputFocused = !1, this._onInputChange(); - } - _setButtonState() { - this._decIconDisabled = this.min !== void 0 && this.value <= this.min, this._incIconDisabled = this.max !== void 0 && this.value >= this.max; - } - _validate() { - this._initialValueState === void 0 && (this._initialValueState = this.valueState), this.valueState = this.min !== void 0 && this.value < this.min || this.max !== void 0 && this.value > this.max ? q.Error : this._initialValueState; - } - _preciseValue(e) { - const t = 10 ** this.valuePrecision; - return Math.round(e * t) / t; - } - _fireChangeEvent() { - this._previousValue !== this.value && (this._previousValue = this.value, this.fireEvent("change", { value: this.value })); - } - /** - * Value modifier - modifies the value of the component, validates the new value and enables/disables increment and - * decrement buttons according to the value and min/max values (if set). Fires change event when requested - * - * @private - * @param modifier modifies the value of the component with the given modifier (positive or negative) - * @param fireChangeEvent if true, fires change event when the value is changed - */ - _modifyValue(e, t = !1) { - let o; - this.value = this._preciseValue(parseFloat(this.input.value)), o = this.value + e, this.min !== void 0 && o < this.min && (o = this.min), this.max !== void 0 && o > this.max && (o = this.max), o = this._preciseValue(o), o !== this.value && (this.value = o, this._validate(), this._setButtonState(), this.focused = !0, this.inputOuter.setAttribute("focused", ""), t ? this._fireChangeEvent() : this.input.focus()); - } - _incValue(e) { - this._incIconClickable && e.isTrusted && !this.disabled && !this.readonly && (this._modifyValue(this.step, !0), this._previousValue = this.value); - } - _decValue(e) { - this._decIconClickable && e.isTrusted && !this.disabled && !this.readonly && (this._modifyValue(-this.step, !0), this._previousValue = this.value); - } - _onInputChange() { - this.input.value === "" && (this.input.value = this.min || 0); - const e = this._preciseValue(parseFloat(this.input.value)); - (this.value !== this._previousValue || this.value !== e) && (this.value = e, this._validate(), this._setButtonState(), this._fireChangeEvent()); - } - _onfocusin() { - this.focused = !0; - } - _onfocusout() { - this.focused = !1; - } - _onkeydown(e) { - let t = !0; - if (!(this.disabled || this.readonly)) { - if (Se(e)) { - this._onInputChange(); - return; - } - Ye(e) ? this._modifyValue(this.step) : Ue(e) ? this._modifyValue(-this.step) : Ni(e) ? (this.value = this._previousValue, this.input.value = this.value.toFixed(this.valuePrecision)) : this.max !== void 0 && (xl(e) || EI(e)) ? this._modifyValue(this.max - this.value) : this.min !== void 0 && (Vu(e) || BI(e)) ? this._modifyValue(this.min - this.value) : !Ln(e) && !Fn(e) && !sn(e) && !Tr(e) && (t = !1), t && e.preventDefault(); - } - } - _decSpin() { - this._decIconDisabled || this._spinValue(!1, !0); - } - _incSpin() { - this._incIconDisabled || this._spinValue(!0, !0); - } - /** - * Calculates the time which should be waited until _spinValue function is called. - */ - _calcWaitTimeout() { - return this._speed *= uH, this._waitTimeout = this._waitTimeout - this._speed < Ig ? Ig : this._waitTimeout - this._speed, this._waitTimeout; - } - /** - * Called when the increment or decrement button is pressed and held to set new value. - * @private - * @param increment - is this the increment button or not so the values should be spin accordingly up or down - * @param resetVariables - whether to reset the spin-related variables or not - */ - _spinValue(e, t = !1) { - t && (this._waitTimeout = cH, this._speed = dH, 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()); - } - /** - * Resets spin process - */ - _resetSpin() { - clearTimeout(this._spinTimeoutId), this._btnDown = !1, this._spinStarted = !1; - } - /** - * Resets spin process when mouse outs + or - buttons - */ - _resetSpinOut() { - this._btnDown && (this._resetSpin(), this._fireChangeEvent()); - } -}; -at([ - x({ validator: Kt, defaultValue: 0 }) -], Je.prototype, "value", void 0); -at([ - x({ validator: Kt }) -], Je.prototype, "min", void 0); -at([ - x({ validator: Kt }) -], Je.prototype, "max", void 0); -at([ - x({ validator: Kt, defaultValue: 1 }) -], Je.prototype, "step", void 0); -at([ - x({ type: q, defaultValue: q.None }) -], Je.prototype, "valueState", void 0); -at([ - x({ type: Boolean }) -], Je.prototype, "required", void 0); -at([ - x({ type: Boolean }) -], Je.prototype, "disabled", void 0); -at([ - x({ type: Boolean }) -], Je.prototype, "readonly", void 0); -at([ - x({ defaultValue: void 0 }) -], Je.prototype, "placeholder", void 0); -at([ - x() -], Je.prototype, "name", void 0); -at([ - x({ validator: ne, defaultValue: 0 }) -], Je.prototype, "valuePrecision", void 0); -at([ - x() -], Je.prototype, "accessibleName", void 0); -at([ - x({ defaultValue: "" }) -], Je.prototype, "accessibleNameRef", void 0); -at([ - x({ type: Boolean, noAttribute: !0 }) -], Je.prototype, "_decIconDisabled", void 0); -at([ - x({ type: Boolean, noAttribute: !0 }) -], Je.prototype, "_incIconDisabled", void 0); -at([ - x({ type: Boolean }) -], Je.prototype, "focused", void 0); -at([ - x({ type: Boolean, noAttribute: !0 }) -], Je.prototype, "_inputFocused", void 0); -at([ - x({ validator: Kt, noAttribute: !0 }) -], Je.prototype, "_previousValue", void 0); -at([ - x({ validator: Kt, noAttribute: !0 }) -], Je.prototype, "_waitTimeout", void 0); -at([ - x({ validator: Kt, noAttribute: !0 }) -], Je.prototype, "_speed", void 0); -at([ - x({ type: Boolean, noAttribute: !0 }) -], Je.prototype, "_btnDown", void 0); -at([ - x({ validator: ne, noAttribute: !0 }) -], Je.prototype, "_spinTimeoutId", void 0); -at([ - x({ type: Boolean, noAttribute: !0 }) -], Je.prototype, "_spinStarted", void 0); -at([ - K() -], Je.prototype, "valueStateMessage", void 0); -at([ - K() -], Je.prototype, "formSupport", void 0); -Je = Lc = at([ - X({ - tag: "ui5-step-input", - renderer: ue, - styles: lH, - template: Uz, - dependencies: [ - Pe, - Ar - ] - }), - U("change") -], Je); -Je.define(); -function hH(i, e, t) { - return t ? y`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step ? kg.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} name="direction-arrows" slider-icon>${this.showTooltip ? $g.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} name="direction-arrows" slider-icon>${this.showTooltip ? xg.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    ` : y`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step ? kg.call(this, i, e, t) : void 0}
    ${this.showTooltip ? $g.call(this, i, e, t) : void 0}
    ${this.showTooltip ? xg.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `; -} -function kg(i, e, t) { - return y`${this.showTickmarks ? _H.call(this, i, e, t) : void 0}`; -} -function _H(i, e, t) { - return y`
      ${Y(this.tickmarksObject, (o, r) => o._id || r, (o, r) => pH.call(this, i, e, t, o, r))}
    ${this.labelInterval ? mH.call(this, i, e, t) : void 0}`; -} -function pH(i, e, t, o, r) { - return y`${o ? fH.call(this, i, e, t, o, r) : vH.call(this, i, e, t, o, r)}`; -} -function fH(i, e, t, o, r) { - return y`
  • `; -} -function vH(i, e, t, o, r) { - return y`
  • `; -} -function mH(i, e, t) { - return y`
      ${Y(this._labels, (o, r) => o._id || r, (o, r) => gH.call(this, i, e, t, o, r))}
    `; -} -function gH(i, e, t, o, r) { - return y`
  • ${a(o)}
  • `; -} -function $g(i, e, t) { - return y`
    ${a(this.tooltipStartValue)}
    `; -} -function xg(i, e, t) { - return y`
    ${a(this.tooltipEndValue)}
    `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const bH = { packageName: "@ui5/webcomponents", fileName: "themes/RangeSlider.css.ts", content: `:host([ui5-range-slider]) .ui5-slider-progress-container:before{background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_background)}.ui5-slider-root:hover:active .ui5-slider-handle:not(:focus){background:var(--sapSlider_RangeHandleBackground)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus){background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_active_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);box-shadow:none}:host([range-pressed]) .ui5-slider-handle [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-root:not(.ui5-slider-root-phone):focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background_focus)}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus [slider-icon]{display:none}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-progress:focus:before{display:var(--_ui5-v1-22-1-rc-0_range_slider_legacy_progress_focus_display);content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_width);border:var(--_ui5-v1-22-1-rc-0_slider_progress_outline);border-radius:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_radius);top:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset);height:var(--_ui5-v1-22-1-rc-0_slider_outer_height);box-sizing:border-box;left:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset_left)}.ui5-slider-progress{position:relative}.ui5-slider-progress:focus:after{border:.125rem solid var(--sapContent_FocusColor);border-radius:.5rem;content:"";display:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_display);position:absolute;top:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top);left:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left);padding:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_padding);width:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width);height:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height);box-sizing:border-box}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_bg)}.ui5-slider-root:hover .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_icon_display)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_active_handle_icon_display)} -` }; -var n_ = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Sa; -let Ll = Sa = class extends nn { - constructor() { - super(), this._isPressInCurrentRange = !1, this._handeIsPressed = !1, this._reversedValues = !1, this._stateStorage.startValue = void 0, this._stateStorage.endValue = void 0; - } - get tooltipStartValue() { - const t = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep); - return this.startValue.toFixed(t); - } - get tooltipEndValue() { - const t = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep); - return this.endValue.toFixed(t); - } - get _ariaDisabled() { - return this.disabled || void 0; - } - get _ariaLabelledByText() { - return Sa.i18nBundle.getText(v4); - } - get _ariaHandlesText() { - const e = this.effectiveDir === "rtl", t = this._areValuesReversed(), o = {}; - return e && !t || !e && t ? (o.startHandleText = Sa.i18nBundle.getText(Bp), o.endHandleText = Sa.i18nBundle.getText(Ep)) : (o.startHandleText = Sa.i18nBundle.getText(Ep), o.endHandleText = Sa.i18nBundle.getText(Bp)), o; - } - get _ariaValueNow() { - return Math.abs(this.endValue - this.startValue); - } - /** - * Check if the previously saved state is outdated. That would mean - * either it is the initial rendering or that a property has been changed - * programmatically - because the previous state is always updated in - * the interaction handlers. - * - * Normalize current properties, update the previously stored state. - * Update the visual UI representation of the 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)); - } - syncUIAndState() { - if (this.isPropertyUpdated("step") && (this._validateStep(this.step), this.storePropertyState("step")), this.isPropertyUpdated("min", "max", "startValue", "endValue")) { - this.storePropertyState("min", "max"); - const e = nn.clipValue(this.startValue, this._effectiveMin, this._effectiveMax); - this.startValue = e, this.updateStateStorageAndFireInputEvent("startValue"), this.storePropertyState("startValue"); - const t = nn.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.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.VISIBLE); - } - /** - * Handles focus out event of the focusable components inner elements. - * Prevent focusout when the focus is getting initially set within the slider before the - * slider customElement itself is finished focusing. - * - * Prevents the focus from leaving the Range Slider when the focus is managed between - * its inner elements in result of user interactions. - * - * Resets the stored Range Slider's initial values saved when it was first focused - * - * @private - */ - _onfocusout() { - if (this._isFocusing()) { - this._preventFocusOut(); - return; - } - this._setAffectedValue(void 0), this._startValueInitial = void 0, this._endValueInitial = void 0, this.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.HIDDEN); - } - /** - * Handles keyup logic. If one of the handles came across the other - * swap the start and end values. Reset the affected value by the finished - * user interaction. - * - * @private - */ - _onkeyup() { - super._onkeyup(), this._setAffectedValue(void 0), (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) && this.fireEvent("change"), this._startValueAtBeginningOfAction = void 0, this._endValueAtBeginningOfAction = void 0; - } - _handleActionKeyPress(e) { - if (this._startValueAtBeginningOfAction = this.startValue, this._endValueAtBeginningOfAction = this.endValue, Ni(e)) { - this.update(void 0, this._startValueInitial, this._endValueInitial); - return; - } - this._setAffectedValueByFocusedElement(); - const t = this._effectiveMin, o = this._effectiveMax, r = this._valueAffected; - if ((Ii(e) || qt(e)) && !r) { - this._homeEndForSelectedRange(e, qt(e) ? "startValue" : "endValue", t, o); - return; - } - const n = this._handleActionKeyPressBase(e, r); - if (!n) - return; - const s = this.constructor; - if (r && !this._isPressInCurrentRange) { - const l = this[r], T = s.clipValue(n + l, t, o); - this.update(r, T, void 0); - } else if (n < 0 && this.startValue > t || n > 0 && this.endValue < o) { - const l = s.clipValue(n + this.startValue, t, o), T = s.clipValue(n + this.endValue, t, o); - this.update(r, l, T); - } - } - /** - * Determines affected value (start/end) depending on the currently - * active inner element within the Range Slider - used in the keyboard handling. - * - * @private - */ - _setAffectedValueByFocusedElement() { - this.shadowRoot.activeElement === this._startHandle && this._setAffectedValue("startValue"), this.shadowRoot.activeElement === this._endHandle && this._setAffectedValue("endValue"), this.shadowRoot.activeElement === this._progressBar && this._setAffectedValue(void 0), this._setIsPressInCurrentRange(!this._valueAffected); - } - /** - * Calculates the start and end values when the 'Home" or 'End' keys - * are pressed on the selected range bar. - * - * @private - */ - _homeEndForSelectedRange(e, t, o, r) { - const n = this._handleActionKeyPressBase(e, t), s = this.constructor, l = s.clipValue(n + this.startValue, o, r), T = s.clipValue(n + this.endValue, o, r); - this.update(void 0, l, T); - } - /** - * Update values, stored inner state and the visual UI representation of the component. - * If no specific type of value property is passed - the range is selected - update both handles, - * otherwise update the handle corresponding to the affected by the user interacton value prop. - * - * @private - */ - update(e, t, o) { - if (!e) - this.startValue = t, this.updateStateStorageAndFireInputEvent("startValue"), this.endValue = o, this.updateStateStorageAndFireInputEvent("endValue"), this._updateHandlesAndRange(0); - else { - const r = o && e === "endValue" ? o : t; - this._updateHandlesAndRange(r || 0), e === "startValue" && (this.startValue = r, this.updateStateStorageAndFireInputEvent("startValue")), e === "endValue" && (this.endValue = r, this.updateStateStorageAndFireInputEvent("endValue")); - } - } - /** - * Called when the user starts interacting with the slider - * - * @private - */ - _onmousedown(e) { - if (this.disabled || this._effectiveStep === 0) - return; - const t = this.handleDownBase(e); - if (this._saveInteractionStartData(e, t), this.rangePressed = this._isPressInCurrentRange, this._isPressInCurrentRange || this._handeIsPressed) { - this._handeIsPressed = !1; - return; - } - this.update(this._valueAffected, t, void 0); - } - /** - * Determines and saves needed values from the start of the interaction: - * - * Is the value calculated is within the currently selected range; - * Initial pageX position of the start handle affected by the interaction; - * Initial pageX value of the pressed postion; - * Affected value property by the action; - * - * @private - */ - _saveInteractionStartData(e, t) { - const o = this.shadowRoot.querySelector(".ui5-slider-progress").getBoundingClientRect(); - this._startValueAtBeginningOfAction = this.startValue, this._endValueAtBeginningOfAction = this.endValue; - const r = this.constructor; - this._initialPageXPosition = r.getPageXValueFromEvent(e), this._pressTargetAndAffectedValue(this._initialPageXPosition, t), this._initialStartHandlePageX = this.directionStart === "left" ? o.left : o.right; - } - /** - * Called when the user moves the slider - * - * @private - */ - _handleMove(e) { - if (e.preventDefault(), !(this.disabled || this._effectiveStep === 0)) { - if (!this._isPressInCurrentRange) { - this._updateValueOnHandleDrag(e); - return; - } - this._updateValueOnRangeDrag(e); - } - } - /** - * Updates UI and state when dragging a single Range Slider handle - * - * @private - */ - _updateValueOnHandleDrag(e) { - const o = this.constructor.getValueFromInteraction(e, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart); - this.update(this._valueAffected, o, void 0); - } - /** - * Updates UI and state when dragging of the whole selected range - * - * @private - */ - _updateValueOnRangeDrag(e) { - const o = this.constructor.getPageXValueFromEvent(e), r = this._calculateRangeOffset(o, this._initialStartHandlePageX); - this._setAffectedValue(void 0), this.update(void 0, r[0], r[1]); - } - _handleUp() { - this._setAffectedValueByFocusedElement(), this._setAffectedValue(void 0), (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) && this.fireEvent("change"), this._setIsPressInCurrentRange(!1), this.handleUpBase(), this.rangePressed = !1, this._startValueAtBeginningOfAction = void 0, this._endValueAtBeginningOfAction = void 0; - } - /** - * Determines where the press occured and which values of the Range Slider - * handles should be updated on further interaction. - * - * If the press is not in the selected range or over one of the Range Slider handles - * determines which one from the value/endValue properties has to be updated - * after the user action (based on closest handle). - * - * Set flags if the press is over a handle or in the selected range, - * in such cases no values are changed on interaction start, but could be - * updated later when dragging. - * - * @private - */ - _pressTargetAndAffectedValue(e, t) { - const o = this.shadowRoot.querySelector(".ui5-slider-handle--start"), r = this.shadowRoot.querySelector(".ui5-slider-handle--end"), n = o.getBoundingClientRect(), s = r.getBoundingClientRect(), l = e >= n.left && e <= n.right, T = e >= s.left && e <= s.right; - (T || l) && (this._handeIsPressed = !0), (T || t > this.endValue) && this._setAffectedValue("endValue"), (l || t < this.startValue) && this._setAffectedValue("startValue"); - const w = this._startValueAtBeginningOfAction !== void 0 && this._endValueAtBeginningOfAction !== void 0 && t >= this._startValueAtBeginningOfAction && t <= this._endValueAtBeginningOfAction; - this._setIsPressInCurrentRange(this._valueAffected || this._handeIsPressed ? !1 : w); - } - /** - * Sets the value property (start/end) that will get updated - * by a user action depending on that user action's characteristics - * - mouse press position - cursor coordinates relative to the start/end handles - * - selected inner element via a keyboard navigation - * - * @param affectedValue The value that will get modified by the interaction - * @private - */ - _setAffectedValue(e) { - this._valueAffected = e, this._areValuesReversed() && this._setValuesAreReversed(); - } - /** - * Flag if press action is made on the currently selected range of values - * - * @param isPressInCurrentRange Did the current press action occur in the current range (between the two handles) - * @private - */ - _setIsPressInCurrentRange(e) { - this._isPressInCurrentRange = e; - } - /** - * Manage the focus between the focusable inner elements within the component. - * - * On initial focusin or if the whole range is affected by the user interaction - * set the focus on the progress selection, otherwise on one of the Range Slider - * handles based on the determined affected value by the user action. - * - * If one of the handles came across the other one in result of a user action - * switch the focus between them to keep it visually consistent. - * - * Note: - * In some cases this function is going to get called twice on one user action. - * - * 1. When the focus is initially set to an inner element it is done in the very beginning, - * of an interaction - on 'mousedown' and 'keydown' events. The focus of the host custom element - * is still not being received, causining an immediate focusout that we prevent by - * calling this function once again. - * - * 2. When the focused is manually switched from one inner element to another. - * The focusout handler is one and the same for all focusable parts within the - * Range Slider and when is called it checks if it should keep the focus within - * the component and which part of it should get focused if that is the case. - * - * @protected - */ - focusInnerElement() { - const e = this._areValuesReversed(), t = this._valueAffected; - (this._isPressInCurrentRange || !t) && this._progressBar.focus(), (t === "startValue" && !e || t === "endValue" && e) && this._startHandle.focus(), (t === "endValue" && !e || t === "startValue" && e) && this._endHandle.focus(); - } - /** - * Calculates startValue/endValue properties when the whole range is moved. - * - * Uses the change of the position of the start handle and adds the initially - * selected range to it, to determine the whole range offset. - * - * @param currentPageXPos The current horizontal position of the cursor/touch - * @param initialStartHandlePageXPos The initial horizontal position of the start handle - * - * @private - */ - _calculateRangeOffset(e, t) { - if (this._initialPageXPosition === e) - return [this.startValue, this.endValue]; - const o = this._effectiveMin, r = this._effectiveMax, n = this.endValue - this.startValue; - let s = this._calculateStartValueByOffset(e, t); - return s = this.constructor.clipValue(s, o, r - n), [s, s + n]; - } - /** - * Computes the new value based on the difference of the current cursor location from the - * start of the interaction. - * - * @param currentPageXPos The current horizontal position of the cursor/touch - * @param initialStartHandlePageXPos The initial horizontal position of the start handle - * - * @private - */ - _calculateStartValueByOffset(e, t) { - const o = this._effectiveMin, r = this._effectiveMax, n = this._effectiveStep, s = this.getBoundingClientRect(); - let l, T, w; - const S = this.constructor; - return e > this._initialPageXPosition ? (w = e - this._initialPageXPosition, T = t + w, l = S.computedValueFromPageX(T, o, r, s, this.directionStart), l = S.getSteppedValue(l, n, o)) : (w = this._initialPageXPosition - e, T = t - w, l = S.computedValueFromPageX(T, o, r, s, this.directionStart), l = S.getSteppedValue(l, n, o)), l; - } - /** - * Updates the visual representation of the component by calculating - * the styles of the handles and the range selection based on the new state. - * - * @private - */ - _updateHandlesAndRange(e) { - const t = this._effectiveMax, o = this._effectiveMin, r = this.getStoredPropertyState("startValue") || 0, n = this.getStoredPropertyState("endValue") || 0, s = this._valueAffected; - s === "startValue" ? (this._selectedRange = (n - e) / (t - o), this._firstHandlePositionFromStart = (e - o) / (t - o) * 100) : s === "endValue" ? (this._selectedRange = (e - r) / (t - o), this._secondHandlePositionFromStart = (e - o) / (t - o) * 100) : (this._selectedRange = (this.endValue - this.startValue) / (t - o), this._firstHandlePositionFromStart = (this.startValue - o) / (t - o) * 100, this._secondHandlePositionFromStart = (this.endValue - o) / (t - o) * 100); - } - /** - * Swaps the start and end values of the handles if one came accros the other: - * - If the start value is greater than the endValue swap them and their handles - * - If the endValue become less than the start value swap them and their handles - * - * Switches the focus to the opposite of the currently focused handle. - * - * Note: Only the property values are reversed, the DOM elements of the handles - * corresponding to them are never switched. - * - * @private - */ - _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.focusInnerElement(), this.syncUIAndState(); - } - } - /** - * Flag that we have swapped the values of the 'start' and 'end' properties, - * to correctly switch the focus within the component from one handle to another - * when the swapping is finished. As we only swap property values and not - * the handle elements themselves, we must also swap their focus. - * - * @private - */ - _setValuesAreReversed() { - this._reversedValues = !this._reversedValues; - } - _areValuesReversed() { - return this._reversedValues; - } - get tickmarksObject() { - const e = this._tickmarksCount, t = []; - if (this._hiddenTickmarks) - return [!1, !1]; - for (let o = 0; o <= e; o++) { - const r = this._effectiveMin + o * this.step >= this.startValue, n = this._effectiveMin + o * this.step <= this.endValue; - t.push(r && n); - } - return t; - } - get _startHandle() { - return this.shadowRoot.querySelector(".ui5-slider-handle--start"); - } - get _endHandle() { - return this.shadowRoot.querySelector(".ui5-slider-handle--end"); - } - get _progressBar() { - return this.shadowRoot.querySelector(".ui5-slider-progress"); - } - get _ariaLabelledByStartHandleRefs() { - return [`${this._id}-accName`, `${this._id}-startHandleDesc`].join(" ").trim(); - } - get _ariaLabelledByEndHandleRefs() { - return [`${this._id}-accName`, `${this._id}-endHandleDesc`].join(" ").trim(); - } - get _ariaLabelledByProgressBarRefs() { - return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim(); - } - get styles() { - return { - progress: { - width: `${this._selectedRange * 100}%`, - "transform-origin": `${this.directionStart} top`, - [this.directionStart]: `${this._firstHandlePositionFromStart}%` - }, - startHandle: { - [this.directionStart]: `${this._firstHandlePositionFromStart}%` - }, - endHandle: { - [this.directionStart]: `${this._secondHandlePositionFromStart}%` - }, - label: { - width: `${this._labelWidth}%` - }, - labelContainer: { - width: "100%", - [this.directionStart]: `-${this._labelWidth / 2}%` - }, - tooltip: { - visibility: `${this._tooltipVisibility}` - } - }; - } - static async onDefine() { - Sa.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -n_([ - x({ validator: Kt, defaultValue: 0 }) -], Ll.prototype, "startValue", void 0); -n_([ - x({ validator: Kt, defaultValue: 100 }) -], Ll.prototype, "endValue", void 0); -n_([ - x({ type: Boolean }) -], Ll.prototype, "rangePressed", void 0); -Ll = Sa = n_([ - X({ - tag: "ui5-range-slider", - languageAware: !0, - template: hH, - dependencies: [Pe], - styles: [nn.styles, bH] - }) -], Ll); -Ll.define(); -var E1; -(function(i) { - i.Textual = "Textual", i.Graphical = "Graphical"; -})(E1 || (E1 = {})); -const B1 = E1; -function yH(i, e, t) { - return t ? y`
    ${this.graphical ? Ag.call(this, i, e, t) : Eg.call(this, i, e, t)}<${E("ui5-icon", e, t)} name="${a(this.sapNextIcon)}" class="ui5-switch-handle-icon">
    ` : y`
    ${this.graphical ? Ag.call(this, i, e, t) : Eg.call(this, i, e, t)}
    `; -} -function Ag(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="accept" class="ui5-switch-icon-on"><${E("ui5-icon", e, t)} name="decline" class="ui5-switch-icon-off">` : y``; -} -function Eg(i, e, t) { - return y`${this.hasNoLabel ? wH.call(this, i, e, t) : CH.call(this, i, e, t)}`; -} -function wH(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-on"><${E("ui5-icon", e, t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-off">` : y``; -} -function CH(i, e, t) { - return y`${a(this._textOn)}${a(this._textOff)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const SH = { packageName: "@ui5/webcomponents", fileName: "themes/Switch.css.ts", content: `.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(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_width);height:var(--_ui5-v1-22-1-rc-0_switch_height);min-width:var(--_ui5-v1-22-1-rc-0_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-v1-22-1-rc-0-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5-v1-22-1-rc-0_switch_with_label_width);height:var(--_ui5-v1-22-1-rc-0_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5-v1-22-1-rc-0_switch_track_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_width);border:var(--_ui5-v1-22-1-rc-0-switch-track-border);border-radius:var(--_ui5-v1-22-1-rc-0_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5-v1-22-1-rc-0_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-v1-22-1-rc-0-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_handle_width);height:var(--_ui5-v1-22-1-rc-0_switch_handle_height);border:var(--_ui5-v1-22-1-rc-0_switch_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_handle_with_label_width)}.ui5-switch-handle-icon{display:var(--_ui5-v1-22-1-rc-0-switch-handle-icon-display);transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}:host([checked]) .ui5-switch-handle-icon{color:var(--_ui5-v1-22-1-rc-0-switch_track-on-background)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5-v1-22-1-rc-0_switch_text_z_index);min-width:var(--_ui5-v1-22-1-rc-0_switch_text_min_width);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);font-family:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-desktop.ui5-switch-root:focus:after{content:"";position:absolute;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_root_outline_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_root_outline_right);top:var(--_ui5-v1-22-1-rc-0_switch_root_outline_top);bottom:var(--_ui5-v1-22-1-rc-0_switch_root_outline_bottom);border:var(--_ui5-v1-22-1-rc-0_switch_focus_outline);border-radius:var(--_ui5-v1-22-1-rc-0_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition);outline:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off{visibility:var(--_ui5-v1-22-1-rc-0_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on{visibility:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_inactive_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height);display:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_width)}:host([active]) .ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var( --_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0-switch_track-on-active-background)}.ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right_alternate)}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_rtl_transform_with_label)}[dir=rtl].ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_switch_rtl_transform)} -` }; -var dr = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, D1; -let no = D1 = class extends te { - onBeforeRendering() { - this._enableFormSupport(); - } - _enableFormSupport() { - const e = ze("FormSupport"); - e ? e.syncNativeHiddenInput(this, (t, o) => { - const r = t; - o.checked = !!r.checked, o.disabled = !!r.disabled, o.value = r.checked ? "on" : ""; - }) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); - } - get sapNextIcon() { - return this.checked ? "accept" : "less"; - } - _onclick() { - this.toggle(); - } - _onkeydown(e) { - se(e) && e.preventDefault(), Se(e) && this._onclick(); - } - _onkeyup(e) { - se(e) && this._onclick(); - } - toggle() { - if (!this.disabled) { - this.checked = !this.checked; - const e = !this.fireEvent("change", null, !0), t = !this.fireEvent("value-changed", null, !0); - (e || t) && (this.checked = !this.checked); - } - } - get graphical() { - return this.design === B1.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 effectiveTabIndex() { - return this.disabled ? void 0 : "0"; - } - get classes() { - const e = this.graphical || this.textOn || this.textOff; - return { - main: { - "ui5-switch-desktop": Zo(), - "ui5-switch--disabled": this.disabled, - "ui5-switch--checked": this.checked, - "ui5-switch--semantic": this.graphical, - "ui5-switch--no-label": !e - } - }; - } - get effectiveAriaDisabled() { - return this.disabled ? "true" : void 0; - } - get accessibilityOnText() { - return this._textOn; - } - get accessibilityOffText() { - return this._textOff; - } - get hiddenText() { - return this.checked ? this.accessibilityOnText : this.accessibilityOffText; - } - get ariaLabelText() { - return [Xt(this), this.hiddenText].join(" ").trim(); - } - static async onDefine() { - D1.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -dr([ - x({ type: B1, defaultValue: B1.Textual }) -], no.prototype, "design", void 0); -dr([ - x({ type: Boolean }) -], no.prototype, "checked", void 0); -dr([ - x({ type: Boolean }) -], no.prototype, "disabled", void 0); -dr([ - x() -], no.prototype, "textOn", void 0); -dr([ - x() -], no.prototype, "textOff", void 0); -dr([ - x() -], no.prototype, "accessibleName", void 0); -dr([ - x({ defaultValue: "" }) -], no.prototype, "accessibleNameRef", void 0); -dr([ - x() -], no.prototype, "tooltip", void 0); -dr([ - x({ type: Boolean }) -], no.prototype, "required", void 0); -dr([ - x() -], no.prototype, "name", void 0); -dr([ - K() -], no.prototype, "formSupport", void 0); -no = D1 = dr([ - X({ - tag: "ui5-switch", - languageAware: !0, - styles: SH, - renderer: ue, - template: yH, - dependencies: [Pe] - }), - U("change") -], no); -no.define(); -var P1; -(function(i) { - i.Information = "Information", i.Positive = "Positive", i.Negative = "Negative", i.Warning = "Warning"; -})(P1 || (P1 = {})); -const Bg = P1; -function TH(i, e, t) { - return y`
    ${this.hideIcon ? void 0 : IH.call(this, i, e, t)}${a(this.hiddenText)}${this.hideCloseButton ? void 0 : xH.call(this, i, e, t)}
    `; -} -function IH(i, e, t) { - return y``; -} -function kH(i, e, t) { - return y``; -} -function $H(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="${a(this.standardIconName)}" class="ui5-message-strip-icon">` : y``; -} -function xH(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} icon="decline" design="Transparent" class="ui5-message-strip-close-button" tooltip="${a(this._closeButtonText)}" @click=${this._closeClick}>` : y``; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const AH = { packageName: "@ui5/webcomponents", fileName: "themes/MessageStrip.css.ts", content: `.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;width:100%}.ui5-message-strip-root{width:100%;height:100%;display:flex;border-radius:var(--sapPopover_BorderCornerRadius);padding:var(--_ui5-v1-22-1-rc-0_message_strip_padding);border-width:var(--_ui5-v1-22-1-rc-0_message_strip_border_width);border-style:solid;box-sizing:border-box;position:relative}.ui5-message-strip-root-hide-icon{padding-inline:var(--_ui5-v1-22-1-rc-0_message_strip_padding_inline_no_icon);padding-block:var(--_ui5-v1-22-1-rc-0_message_strip_padding_block_no_icon)}.ui5-message-strip-root-hide-close-button{padding-inline-end:1rem}.ui5-message-strip-root--info{background-color:var(--sapInformationBackground);border-color:var(--sapMessage_InformationBorderColor);color:var(--sapTextColor)}.ui5-message-strip-root--info .ui5-message-strip-icon{color:var(--sapInformativeElementColor)}.ui5-message-strip-root--positive{background-color:var(--sapSuccessBackground);border-color:var(--sapMessage_SuccessBorderColor)}.ui5-message-strip-root--positive .ui5-message-strip-icon{color:var(--sapPositiveElementColor)}.ui5-message-strip-root--negative{background-color:var(--sapErrorBackground);border-color:var(--sapMessage_ErrorBorderColor)}.ui5-message-strip-root--negative .ui5-message-strip-icon{color:var(--sapNegativeElementColor)}.ui5-message-strip-root--warning{background-color:var(--sapWarningBackground);border-color:var(--sapMessage_WarningBorderColor)}.ui5-message-strip-root--warning .ui5-message-strip-icon{color:var(--sapCriticalElementColor)}.ui5-message-strip-icon-wrapper{position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_icon_top);inset-inline-start:.75rem;box-sizing:border-box}.ui5-message-strip-text{width:100%;color:var(--sapTextColor);line-height:1.2;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-message-strip-close-button{height:1.625rem;min-height:1.625rem;position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_top);inset-inline-end:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_right)} -` }; -var nd = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, ys, O1; -(function(i) { - i.Information = "ui5-message-strip-root--info", i.Positive = "ui5-message-strip-root--positive", i.Negative = "ui5-message-strip-root--negative", i.Warning = "ui5-message-strip-root--warning"; -})(O1 || (O1 = {})); -var R1; -(function(i) { - i.Information = "information", i.Positive = "sys-enter-2", i.Negative = "error", i.Warning = "alert"; -})(R1 || (R1 = {})); -let Ys = ys = class extends te { - _closeClick() { - this.fireEvent("close"); - } - static async onDefine() { - ys.i18nBundle = await pe("@ui5/webcomponents"); - } - static designAnnouncementMappings() { - const e = (t) => ys.i18nBundle.getText(t); - return { - Information: e(c4), - Positive: e(l4), - Negative: e(a4), - Warning: e(s4) - }; - } - get hiddenText() { - return `${ys.designAnnouncementMappings()[this.design]} ${this.hideCloseButton ? "" : this._closableText}`; - } - get _closeButtonText() { - return ys.i18nBundle.getText(r4); - } - get _closableText() { - return ys.i18nBundle.getText(n4); - } - get classes() { - return { - root: { - "ui5-message-strip-root": !0, - "ui5-message-strip-root-hide-icon": this.hideIcon, - "ui5-message-strip-root-hide-close-button": this.hideCloseButton, - [this.designClasses]: !0 - } - }; - } - get iconProvided() { - return this.icon.length > 0; - } - get standardIconName() { - return R1[this.design]; - } - get designClasses() { - return O1[this.design]; - } -}; -nd([ - x({ - type: Bg, - defaultValue: Bg.Information - }) -], Ys.prototype, "design", void 0); -nd([ - x({ type: Boolean }) -], Ys.prototype, "hideIcon", void 0); -nd([ - x({ type: Boolean }) -], Ys.prototype, "hideCloseButton", void 0); -nd([ - K() -], Ys.prototype, "icon", void 0); -Ys = ys = nd([ - X({ - tag: "ui5-message-strip", - languageAware: !0, - renderer: ue, - template: TH, - styles: AH, - dependencies: [Pe, Ne] - }), - U("close") -], Ys); -Ys.define(); -const EH = "multiselect-all", OC = "M92 472l80-97 20 19L92 512l-60-59 20-20zm80-285l20 19L92 323l-60-59 20-19 40 38zm0-187l20 19L92 137 32 78l20-21 40 40zm292 65q16 0 16 16 0 6-4.5 11T464 97H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 191q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 192q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191z", BH = !0, DH = "SAP-icons-v4", PH = "@ui5/webcomponents-icons"; -J(EH, { pathData: OC, ltr: BH, collection: DH, packageName: PH }); -const OH = "multiselect-all", RC = "M198 0q11 0 18.5 7.5T224 26q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 57q10 0 19 9l27 30 75-87q8-9 19-9zm84 96q-11 0-18.5-7.5T256 70t7.5-18 18.5-7h172q11 0 18.5 7t7.5 18-7.5 18.5T454 96H282zm-84 80q11 0 18.5 7.5T224 202q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 233q10 0 19 9l27 30 75-87q8-9 19-9zm256 48q11 0 18.5 7.5T480 250t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 224h172zM198 352q11 0 18.5 7.5T224 378q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 409q10 0 19 9l27 30 75-87q8-9 19-9zm256 64q11 0 18.5 7.5T480 442t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 416h172z", RH = !0, NH = "SAP-icons-v5", MH = "@ui5/webcomponents-icons"; -J(OH, { pathData: RC, ltr: RH, collection: NH, packageName: MH }); -Te(); -var NC = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let ku = class extends Z6 { - get stableDomRef() { - return this.getAttribute("stable-dom-ref") || `${this._id}-stable-dom-ref`; - } -}; -NC([ - x({ type: Boolean }) -], ku.prototype, "selected", void 0); -ku = NC([ - X("ui5-mcb-item") -], ku); -ku.define(); -const MC = ku; -var LC = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}; -let $u = class extends te { - /** - * Used to avoid tag name checks - * @protected - */ - get isGroupItem() { - return !0; - } - get selected() { - return !1; - } - get stableDomRef() { - return this.getAttribute("stable-dom-ref") || `${this._id}-stable-dom-ref`; - } -}; -LC([ - x() -], $u.prototype, "text", void 0); -$u = LC([ - X("ui5-mcb-group-item") -], $u); -$u.define(); -const LH = $u; -function FH(i, e, t) { - return t ? y`
    ${a(this._tokensCountText)}${this.hasValueState ? Dg.call(this, i, e, t) : void 0}<${E("ui5-tokenizer", e, t)} slot="_beginContent" show-more prevent-popover-open class="ui5-multi-combobox-tokenizer" ?disabled="${this.disabled}" @ui5-show-more-items-press="${a(this._showFilteredItems)}" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} @ui5-token-delete="${a(this._tokenDelete)}" @ui5-before-more-popover-open="${a(this.handleBeforeTokenizerPopoverOpen)}" @focusout="${this._tokenizerFocusOut}" @focusin="${this._tokenizerFocusIn}" @click=${this._click} @paste=${this._handlePaste} @keydown="${this._onTokenizerKeydown}" ?expanded="${this._tokenizerExpanded}">${Y(this.items, (o, r) => o._id || r, (o, r) => Pg.call(this, i, e, t, o, r))}${this._effectiveShowClearIcon ? Og.call(this, i, e, t) : void 0}${this.icon ? Rg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Ng.call(this, i, e, t)}
    ` : y`
    ${a(this._tokensCountText)}${this.hasValueState ? Dg.call(this, i, e, t) : void 0}${Y(this.items, (o, r) => o._id || r, (o, r) => Pg.call(this, i, e, t, o, r))}${this._effectiveShowClearIcon ? Og.call(this, i, e, t) : void 0}${this.icon ? Rg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Ng.call(this, i, e, t)}
    `; -} -function Dg(i, e, t) { - return y`${a(this.ariaValueStateHiddenText)}`; -} -function Pg(i, e, t, o, r) { - return y`${o.selected ? zH.call(this, i, e, t, o, r) : void 0}`; -} -function zH(i, e, t, o, r) { - return t ? y`<${E("ui5-token", e, t)} ?readonly="${this.readonly}" class="ui5-multi-combobox-token" data-ui5-id="${a(o._id)}" part="token-${r}" text="${a(o.text)}">` : y``; -} -function Og(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; -} -function Rg(i, e, t) { - return y``; -} -function Ng(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="slim-arrow-down" input-icon slot="icon" tabindex="-1" @click="${this.togglePopoverByDropdownIcon}" @mousedown="${this._onIconMousedown}" @focusin="${this._forwardFocusToInner}" ?pressed="${this.open}" accessible-name="${a(this._iconAccessibleNameText)}">` : y``; -} -function HH(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} placement-type="Bottom" horizontal-align="Left" class="${W(this.classes.popover)}" hide-arrow _disable-initial-focus style="${G(this.styles.suggestionsPopover)}" @ui5-selection-change=${a(this._listSelectionChange)} @ui5-after-close=${a(this._afterClosePicker)} @ui5-before-open=${a(this._beforeOpen)} @ui5-after-open=${a(this._afterOpenPicker)}>${this._isPhone ? Mg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : Ug.call(this, i, e, t)}${this.filterSelected ? jg.call(this, i, e, t) : Yg.call(this, i, e, t)}${this._isPhone ? Kg.call(this, i, e, t) : void 0}${this.hasValueStateMessage ? Zg.call(this, i, e, t) : void 0} ` : y`${this._isPhone ? Mg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : Ug.call(this, i, e, t)}${this.filterSelected ? jg.call(this, i, e, t) : Yg.call(this, i, e, t)}${this._isPhone ? Kg.call(this, i, e, t) : void 0}${this.hasValueStateMessage ? Zg.call(this, i, e, t) : void 0} `; -} -function Mg(i, e, t) { - return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.handleCancel}">
    <${E("ui5-input", e, t)} @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._mobileInputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this._dialogInputValueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Lg.call(this, i, e, t, o, r))}<${E("ui5-toggle-button", e, t)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${this._showAllItemsButtonPressed} @click="${this.filterSelectedItems}" accessible-name="${a(this._showSelectedButtonAccessibleNameText)}">
    ${this.hasValueStateMessage ? Fg.call(this, i, e, t) : void 0}${this.showSelectAll ? Vg.call(this, i, e, t) : void 0}` : y`
    ${a(this._headerTitleText)}
    ${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Lg.call(this, i, e, t, o, r))}
    ${this.hasValueStateMessage ? Fg.call(this, i, e, t) : void 0}${this.showSelectAll ? Vg.call(this, i, e, t) : void 0}`; -} -function Lg(i, e, t, o, r) { - return t ? y`<${E("ui5-suggestion-item", e, t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">` : y``; -} -function Fg(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? zg.call(this, i, e, t) : Hg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? zg.call(this, i, e, t) : Hg.call(this, i, e, t)}
    `; -} -function zg(i, e, t) { - return y`${a(this.valueStateDefaultText)}`; -} -function Hg(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => VH.call(this, i, e, t, o, r))}`; -} -function VH(i, e, t, o, r) { - return y`${a(o)}`; -} -function Vg(i, e, t) { - return t ? y`
    <${E("ui5-checkbox", e, t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    ` : y`
    `; -} -function Ug(i, e, t) { - return y`${this.hasValueStateMessage ? UH.call(this, i, e, t) : void 0}${this.showSelectAll ? WH.call(this, i, e, t) : void 0}`; -} -function UH(i, e, t) { - return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? qg.call(this, i, e, t) : Wg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? qg.call(this, i, e, t) : Wg.call(this, i, e, t)}
    `; -} -function qg(i, e, t) { - return y`${a(this.valueStateDefaultText)}`; -} -function Wg(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => qH.call(this, i, e, t, o, r))}`; -} -function qH(i, e, t, o, r) { - return y`${a(o)}`; -} -function WH(i, e, t) { - return t ? y`
    <${E("ui5-checkbox", e, t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    ` : y`
    `; -} -function jg(i, e, t) { - return t ? y`<${E("ui5-list", e, t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${Y(this.selectedItems, (o, r) => o._id || r, (o, r) => Gg.call(this, i, e, t, o, r))}` : y`${Y(this.selectedItems, (o, r) => o._id || r, (o, r) => Gg.call(this, i, e, t, o, r))}`; -} -function Gg(i, e, t, o, r) { - return y`${o.isGroupItem ? jH.call(this, i, e, t, o, r) : GH.call(this, i, e, t, o, r)}`; -} -function jH(i, e, t, o, r) { - return t ? y`<${E("ui5-li-groupheader", e, t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; -} -function GH(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; -} -function Yg(i, e, t) { - return t ? y`<${E("ui5-list", e, t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Xg.call(this, i, e, t, o, r))}` : y`${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Xg.call(this, i, e, t, o, r))}`; -} -function Xg(i, e, t, o, r) { - return y`${o.isGroupItem ? YH.call(this, i, e, t, o, r) : XH.call(this, i, e, t, o, r)}`; -} -function YH(i, e, t, o, r) { - return t ? y`<${E("ui5-li-groupheader", e, t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; -} -function XH(i, e, t, o, r) { - return t ? y`<${E("ui5-li", e, t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; -} -function Kg(i, e, t) { - return t ? y`` : y``; -} -function Zg(i, e, t) { - return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? Qg.call(this, i, e, t) : Jg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? Qg.call(this, i, e, t) : Jg.call(this, i, e, t)}
    `; -} -function Qg(i, e, t) { - return y`${a(this.valueStateDefaultText)}`; -} -function Jg(i, e, t) { - return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => KH.call(this, i, e, t, o, r))}`; -} -function KH(i, e, t, o, r) { - return y`${a(o)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const ZH = { packageName: "@ui5/webcomponents", fileName: "themes/MultiComboBox.css.ts", content: `:host{vertical-align:middle}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.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{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}:host(:not([hidden])){display:inline-block}.ui5-multi-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-multi-combobox-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-combobox-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-combobox-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-combobox-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} -` }; -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const QH = { packageName: "@ui5/webcomponents", fileName: "themes/MultiComboBoxPopover.css.ts", content: `.ui5-suggestions-popover .ui5-multi-combobox-all-items-list{--_ui5-v1-22-1-rc-0_checkbox_width_height: var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-mcb-select-all-header{width:100%;height:44px;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);display:flex;align-items:center;font-family:"72override",var(--sapFontFamily);position:sticky;top:0;z-index:2;background:var(--sapToolbar_Background)}.ui5-mcb-select-all-checkbox{width:100%;font-family:var(--sapFontBoldFamily)}.ui5-mcb-select-all-checkbox::part(root):focus:before{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:0;inset:0 2px}.ui5-mcb-select-all-checkbox::part(label){font-family:var(--sapFontBoldFamily)} -` }; -var He = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, xt; -let Me = xt = class extends te { - constructor() { - super(), this._filteredItems = [], this._previouslySelectedItems = [], this.selectedValues = [], this._itemsBeforeOpen = [], this._inputLastValue = "", this._deleting = !1, this._validationTimeout = null, this._handleResizeBound = this._handleResize.bind(this), this.valueBeforeAutoComplete = "", this._lastValue = this.getAttribute("value") || "", this.currentItemIdx = -1, this.FormSupport = void 0; - } - onEnterDOM() { - Ce.register(this, this._handleResizeBound); - } - onExitDOM() { - Ce.deregister(this, this._handleResizeBound); - } - _handleResize() { - this._inputWidth = this.offsetWidth; - } - _handleMobileInput(e) { - const o = e.target.value; - !this.allowCustomValues && !this._filterItems(o).length ? this._dialogInputValueState = q.Error : this._dialogInputValueState = this.valueState, this.value = o, this._shouldFilterItems = !0, this.valueBeforeAutoComplete = o, this.fireEvent("input"); - } - _inputChange() { - !this._clearingValue && this._lastValue !== this.value && (this._lastValue = this.value, this.fireEvent("change")); - } - async _mobileInputChange(e) { - this._inputChange.call(this); - const { value: t } = e.target, o = this.items.find((s) => s.text === t); - if (!o) - return; - const r = o == null ? void 0 : o.selected; - this.fireSelectionChange() || (o.selected = !r, (await this._getResponsivePopover()).close(), this.value = ""); - } - togglePopover() { - var e; - this._tokenizer.closeMorePopover(), (e = this.allItemsPopover) == null || e.toggle(this); - } - togglePopoverByDropdownIcon() { - var e; - this._shouldFilterItems = !1, (e = this.allItemsPopover) == null || e.toggle(this), this._tokenizer.closeMorePopover(); - } - _showFilteredItems() { - this.filterSelected = !0, this._showMorePressed = !0, this.togglePopover(); - } - filterSelectedItems(e) { - this.filterSelected = e.target.pressed; - const t = this._filteredItems.filter((o) => o.selected); - this.selectedItems = this.items.filter((o, r, n) => xt._groupItemFilter(o, ++r, n, t) || t.indexOf(o) !== -1); - } - /** - * Indicates whether the dropdown is open. True if the dropdown is open, false otherwise. - * - * @default false - * @public - */ - get open() { - return this._open; - } - get _showAllItemsButtonPressed() { - return this.filterSelected; - } - get _inputDom() { - return this.shadowRoot.querySelector("#ui5-multi-combobox-input"); - } - _inputLiveChange(e) { - var s, l; - const t = e.target, o = t.value, r = this._filterItems(o), n = this.valueState; - if (this._shouldFilterItems = !0, this.filterSelected && (this.filterSelected = !1), this._validationTimeout) - if (this._filterItems(o).length) - this.valueState = this._effectiveValueState, this._validationTimeout = null; - else { - t.value = this._inputLastValue; - return; - } - if (this._effectiveValueState = this.valueState, !r.length && o && !this.allowCustomValues) { - const T = this.valueBeforeAutoComplete || this._inputLastValue; - t.value = T, this.value = T, this.valueState = q.Error, this._shouldAutocomplete = !1, this._resetValueState(n); - return; - } - this._inputLastValue = t.value, this.value = t.value, this._filteredItems = r, ce() || (r.length === 0 ? (s = this.allItemsPopover) == null || s.close() : (l = this.allItemsPopover) == null || l.showAt(this)), this.fireEvent("input"); - } - _tokenDelete(e) { - this._previouslySelectedItems = this._getSelectedItems(); - const t = e.detail.ref, o = this.items.find((n) => n._id === t.getAttribute("data-ui5-id")); - o.selected = !1, this._deleting = !0, this._preventTokenizerToggle = !0, this.focus(), this.fireSelectionChange() && this._revertSelection(); - } - get _getPlaceholder() { - return this._getSelectedItems().length ? "" : this.placeholder; - } - _handleArrowLeft() { - const e = this._inputDom, t = e.selectionStart || 0, o = (e.selectionEnd || 0) - t > 0; - t === 0 && !o && this._tokenizer._focusLastToken(); - } - _tokenizerFocusOut(e) { - this._tokenizerFocused = !1; - const t = this._tokenizer.tokens.length, o = this._selectedTokensCount, r = t - 1 === 0 && this._deleting, n = o === t && this._deleting, s = e.relatedTarget, l = this.staticAreaItem === s, T = this._inputDom === s, w = e.relatedTarget === this._tokenizer.staticAreaItem; - !(s != null && s.hasAttribute("ui5-token")) && !l && !T && !w && (this._tokenizer.tokens.forEach((S) => { - S.selected = !1; - }), this._tokenizer.expanded = this._preventTokenizerToggle ? this._tokenizer.expanded : !1), (n || r) && setTimeout(() => { - ce() || this._inputDom.focus(), this._deleting = !1; - }, 0); - } - _tokenizerFocusIn() { - this._tokenizerFocused = !0, this.focused = !1; - } - _onkeydown(e) { - var r; - const t = Fn(e), o = e.metaKey || e.ctrlKey; - if (zn(e) && !this.disabled) { - this._handleShow(e); - return; - } - if (Tr(e) || sn(e)) { - e.preventDefault(); - return; - } - if (Ye(e) || Ue(e) || Ln(e) || t) { - this._handleArrowNavigation(e, t); - return; - } - if (t && !((r = this.allItemsPopover) != null && r.opened) && setTimeout(() => this._inputDom.setSelectionRange(0, this._inputDom.value.length), 0), Cl(e) || Ds(e)) { - this._handleArrowCtrl(e); - return; - } - if (N2(e)) { - this._handleInsertPaste(); - return; - } - o && e.key.toLowerCase() === "i" && this._tokenizer.tokens.length > 0 && (e.preventDefault(), this.togglePopover()), Da(e) && e.preventDefault(), (e.key === "ArrowLeft" || e.key === "Show" || e.key === "PageUp" || e.key === "PageDown" || e.key === "Backspace" || e.key === "Escape" || e.key === "Home" || e.key === "End" || e.key === "Tab" || e.key === "ArrowDown" || e.key === "Enter") && this[`_handle${e.key}`](e), this._shouldAutocomplete = !this.noTypeahead && !(Hu(e) || $l(e) || Ni(e) || Se(e)); - } - _handlePaste(e) { - if (e.preventDefault(), this.readonly || !e.clipboardData) - return; - const t = e.clipboardData.getData("text/plain"); - t && this._createTokenFromText(t); - } - async _handleInsertPaste() { - if (this.readonly || py()) - return; - const e = await navigator.clipboard.readText(); - e && this._createTokenFromText(e); - } - _createTokenFromText(e) { - const t = e.split(/\r\n|\r|\n|\t/g).filter((r) => !!r), o = this.items.filter((r) => t.indexOf(r.text) > -1 && !r.selected); - t.length > 1 ? (this._previouslySelectedItems = this._getSelectedItems(), o.forEach((r) => { - r.selected = !0, this.value = "", this.fireSelectionChange() && this._revertSelection(); - })) : (this.value = e, this.fireEvent("input")); - } - _handleShow(e) { - const t = this.items, o = this._getSelectedItems()[0], r = this._tokenizer.tokens.find((l) => l.focused), n = this.value, s = this.items.find((l) => l.text.localeCompare(n, void 0, { sensitivity: "base" }) === 0); - if (e.preventDefault(), !this.readonly) { - if (this._isOpenedByKeyboard = !0, this._shouldFilterItems = !1, this._filteredItems = this.items, this.togglePopover(), !r && s) { - this._itemToFocus = s; - return; - } - o && !r ? this._itemToFocus = o : r && e.target === r ? this._itemToFocus = t.find((l) => l.text === r.text) : this._itemToFocus = t[0]; - } - } - _handlePageUp(e) { - e.preventDefault(); - } - _handlePageDown(e) { - e.preventDefault(); - } - _handleBackspace(e) { - e.target.value === "" && (e.preventDefault(), this._tokenizer._focusLastToken()); - } - _handleEscape() { - const e = this._innerInput; - (e.selectionEnd || 0) - (e.selectionStart || 0) > 0 && (this.value = this.valueBeforeAutoComplete), (!this.allowCustomValues || !this.open && this.allowCustomValues) && (this.value = this._lastValue); - } - _handleHome(e) { - this._isFocusInside && e.target.selectionStart === 0 && this._tokenizer.tokens.length > 0 && (e.preventDefault(), this._tokenizer.tokens[0].focus()); - } - _handleEnd(e) { - const t = this._tokenizer.tokens, o = t.length - 1; - e.target === t[o] && t[o] === this.shadowRoot.activeElement && (e.preventDefault(), this._inputDom.focus()); - } - _handleTab() { - var e; - (e = this.allItemsPopover) == null || e.close(); - } - _handleSelectAll() { - const e = this._filteredItems, t = e.every((r) => r.selected); - this._previouslySelectedItems = e.filter((r) => r.selected).map((r) => r), e.forEach((r) => { - r.selected = !t; - }), this.fireSelectionChange() && this._revertSelection(); - } - async _onListHeaderKeydown(e) { - var n; - const t = Ue(e), o = Ye(e), r = e.target.classList.contains("ui5-mcb-select-all-checkbox"); - if (Bt(e) || Mi(e)) { - this._onItemTab(); - return; - } - if (e.preventDefault(), t || Fn(e)) { - if (this.showSelectAll && !r) - return (await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus(); - this._handleArrowDown(); - } - if (o || Ln(e)) { - if (e.target === this.valueStateHeader || !this.valueStateHeader) - return this._shouldAutocomplete = !0, this._inputDom.focus(); - this.showSelectAll && r && ((n = this.valueStateHeader) == null || n.focus()); - } - } - _handleSelectAllCheckboxClick(e) { - var t; - this.filterSelected ? (this._previouslySelectedItems = this._getSelectedItems(), (t = this.selectedItems) == null || t.forEach((r) => { - r.selected = e.target.checked; - }), e.target.checked || (this.filterSelected = !1), this.fireSelectionChange() && this._revertSelection()) : (this._handleSelectAll(), this.filterSelected = !1); - } - async _onItemKeydown(e) { - var r, n, s, l, T, w, S, b, v, g, p, d, c; - const t = ((r = this.list) == null ? void 0 : r.items[0]) === e.target, o = Ye(e) || Ln(e); - if (this.hasValueStateMessage && !this.valueStateHeader && await this._setValueStateHeader(), Bt(e) || Mi(e)) { - this._onItemTab(); - return; - } - if (ec(e) && ((n = this.list) == null || n._itemNavigation._handleHome(), (l = this.list) == null || l.items[(s = this.list) == null ? void 0 : s._itemNavigation._currentIndex].focus()), Ns(e) && ((T = this.list) == null || T._itemNavigation._handleEnd(), (S = this.list) == null || S.items[(w = this.list) == null ? void 0 : w._itemNavigation._currentIndex].focus()), e.preventDefault(), Tr(e) || sn(e)) { - this._handleItemRangeSelection(e); - return; - } - if (Ln(e) && !t && ((b = this.list) == null || b._itemNavigation._handleUp(), (g = this.list) == null || g.items[(v = this.list) == null ? void 0 : v._itemNavigation._currentIndex].focus()), Fn(e) && ((p = this.list) == null || p._itemNavigation._handleDown(), (c = this.list) == null || c.items[(d = this.list) == null ? void 0 : d._itemNavigation._currentIndex].focus()), zn(e) && this.togglePopover(), Vy(e)) { - this._handleSelectAll(); - return; - } - t && o && (this.showSelectAll ? (await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus() : this.valueStateHeader ? this.valueStateHeader.focus() : (this._inputDom.focus(), this._shouldAutocomplete = !0)); - } - _handleArrowCtrl(e) { - const t = this._inputDom, o = Cl(e); - o && t.selectionStart === 0 && t.selectionEnd === 0 && e.preventDefault(), o && (t.selectionEnd || 0) - (t.selectionStart || 0) > 0 && t.setSelectionRange(0, 0); - } - _onItemTab() { - var e; - this._inputDom.focus(), (e = this.allItemsPopover) == null || e.close(); - } - async _handleArrowNavigation(e, t) { - var s; - const o = t || Ue(e), r = this.items.length, n = (s = this.allItemsPopover) == null ? void 0 : s.opened; - if (e.preventDefault(), this.hasValueStateMessage && !this.valueStateHeader && await this._setValueStateHeader(), o && n) { - if (this.valueStateHeader) { - this.value = this.valueBeforeAutoComplete || this.value, this.valueStateHeader.focus(); - return; - } - if (this.showSelectAll) { - (await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus(); - return; - } - } - o && r && this._handleArrowDown(), !o && !n && !this.readonly && this._navigateToPrevItem(); - } - async _handleArrowDown() { - var o, r, n; - const e = (o = this.allItemsPopover) == null ? void 0 : o.opened, t = (r = this.list) == null ? void 0 : r.items[0]; - e ? (t && ((n = this.list) == null || n._itemNavigation.setCurrentItem(t)), this.value = this.valueBeforeAutoComplete || this.value, await Mt(), t == null || t.focus()) : this.readonly || this._navigateToNextItem(); - } - _handleItemRangeSelection(e) { - var T; - const t = this.items, o = (T = this.list) == null ? void 0 : T.items, r = Number(o == null ? void 0 : o.indexOf(e.target)), n = r + 1, s = r - 1; - this._previouslySelectedItems = this._getSelectedItems(), Tr(e) && t[n] && (t[n].selected = t[r].selected, t[n].focus()), sn(e) && t[s] && (t[s].selected = t[r].selected, t[s].focus()), this.fireSelectionChange() && this._revertSelection(); - } - _navigateToNextItem() { - const e = this.items, t = e.length, o = this.currentItemIdx; - if (o > -1 && e[o].text !== this.value && (this.currentItemIdx = -1), o >= t - 1) - return; - let r = this.items[++this.currentItemIdx]; - for (; this.currentItemIdx < t - 1 && r.selected || r.isGroupItem; ) - r = this.items[++this.currentItemIdx]; - if (r.selected === !0 || r.isGroupItem) { - this.currentItemIdx = o; - return; - } - this.value = r.text, this._innerInput.value = r.text, this._innerInput.setSelectionRange(0, r.text.length); - } - _navigateToPrevItem() { - const e = this.items; - let t = this.currentItemIdx; - if ((!this.value && t !== -1 || t !== -1 && this.value && this.value !== e[t].text) && (t = -1), t === -1 && (this.currentItemIdx = e.length), t === 0) { - this.currentItemIdx = 0; - return; - } - let o = this.items[--this.currentItemIdx]; - for (; o && this.currentItemIdx > 0 && (o.selected || o.isGroupItem); ) - o = this.items[--this.currentItemIdx]; - if (o) { - if (o.selected || o.isGroupItem) { - this.currentItemIdx = t; - return; - } - this.value = o.text, this._innerInput.value = o.text, this._innerInput.setSelectionRange(0, o.text.length); - } - } - _handleEnter() { - var n; - const e = this.value.toLowerCase(), t = this.items.find((s) => s.text.toLowerCase() === e && !s.isGroupItem), o = this.valueState, r = this._innerInput; - if (this.FormSupport && this.FormSupport.triggerFormSubmit(this), t) { - if (t.selected) { - if (this._validationTimeout) - return; - this.valueState = q.Error, this._performingSelectionTwice = !0, this._resetValueState(o, () => { - this._performingSelectionTwice = !1; - }); - } else - this._previouslySelectedItems = this._getSelectedItems(), t.selected = !0, this.value = "", this.fireSelectionChange() && this._revertSelection(); - r.setSelectionRange(t.text.length, t.text.length), (n = this.allItemsPopover) == null || n.close(); - } - } - _resetValueState(e, t) { - this._validationTimeout = setTimeout(() => { - this._effectiveValueState = this.valueState, this.valueState = e, this._validationTimeout = null, t && t(); - }, 2e3); - } - _onTokenizerKeydown(e) { - const t = !!(e.metaKey || e.ctrlKey); - if (dt(e)) { - const o = this._tokenizer.tokens.length - this._tokenizer.overflownTokens.length - 1; - e.target === this._tokenizer.tokens[o] && setTimeout(() => { - this._inputDom.focus(); - }, 0); - } - if (t && ["c", "x"].includes(e.key.toLowerCase()) || R2(e) || DI(e)) { - e.preventDefault(); - const o = e.key.toLowerCase() === "x" || R2(e), r = this._tokenizer.tokens.filter((n) => n.selected); - if (o) { - const n = this._tokenizer._fillClipboard(Ml.cut, r); - return r.forEach((s) => { - this._tokenizer.deleteToken(s); - }), this.focus(), n; - } - return this._tokenizer._fillClipboard(Ml.copy, r); - } - N2(e) && this._handleInsertPaste(), qt(e) && this._handleHome(e), Ii(e) && this._handleEnd(e), zn(e) && !this.readonly && !this.disabled && (this._preventTokenizerToggle = !0, this._handleShow(e)), t && e.key.toLowerCase() === "i" && this._tokenizer.tokens.length > 0 && (e.preventDefault(), this.togglePopover()); - } - _filterItems(e) { - const t = this.items.filter((r) => !r.isGroupItem), o = (G6[this.filter] || Av)(e, t, "text"); - return this.items.filter((r, n, s) => xt._groupItemFilter(r, ++n, s, o) || o.indexOf(r) !== -1); - } - /** - * Returns true if the group header should be shown (if there is a filtered suggestion item for this group item) - * - * @private - */ - static _groupItemFilter(e, t, o, r) { - if (e.isGroupItem) { - let n; - for (; o[t] && !o[t].isGroupItem && !n; ) - n = r.indexOf(o[t]) !== -1, t++; - return n; - } - } - _afterOpenPicker() { - var e, t; - this._toggle(), !ce() && !this._isOpenedByKeyboard ? this._innerInput.focus() : this._isOpenedByKeyboard ? (e = this._itemToFocus) == null || e.focus() : (t = this.allItemsPopover) == null || t.focus(), this._previouslySelectedItems = this._getSelectedItems(), this._isOpenedByKeyboard = !1; - } - _toggle() { - this._open = !this._open, this.fireEvent("open-change"); - } - _getSelectedItems() { - return this.selectedValues = this.items.filter((e) => e.selected), this.selectedValues; - } - _listSelectionChange(e) { - var r; - let t; - ce() || (this._previouslySelectedItems = this._getSelectedItems()), this.syncItems(e.target.items), ce() || (t = this.fireSelectionChange(), t && (e.preventDefault(), this._revertSelection())); - const o = { key: e.detail.key }; - !e.detail.selectedItems.length && this.filterSelected && (this.filterSelected = !1), !e.detail.selectionComponentPressed && !se(o) && !jf(o) && ((r = this.allItemsPopover) == null || r.close(), this.value = "", ce() && (t = this.fireSelectionChange(), t && (e.preventDefault(), this._revertSelection())), this.fireEvent("input")), this.value = this.valueBeforeAutoComplete || ""; - } - syncItems(e) { - e.forEach((t) => { - this.items.forEach((o) => { - o._id === t.getAttribute("data-ui5-token-id") && (o.selected = t.selected); - }); - }); - } - fireSelectionChange() { - const e = !this.fireEvent("selection-change", { - items: this._getSelectedItems() - }, !0); - return this.fireEvent("value-changed"), e; - } - async _getRespPopover() { - const e = await this.getStaticAreaItemDomRef(); - this.allItemsPopover = e.querySelector(".ui5-multi-combobox-all-items-responsive-popover"); - } - async _getList() { - const e = await this.getStaticAreaItemDomRef(); - return this.list = e.querySelector(".ui5-multi-combobox-all-items-list"), this.list; - } - _click() { - var e; - ce() && !this.readonly && !this._showMorePressed && !this._deleting && ((e = this.allItemsPopover) == null || e.showAt(this)), this._showMorePressed = !1; - } - async handleBeforeTokenizerPopoverOpen() { - const e = this._tokenizer.tokens, t = e.length === 1 && e[0].isTruncatable, o = await this._getResponsivePopover(); - t && (o == null || o.close(!1, !1, !0)); - } - _afterClosePicker() { - ce() && (this._dialogInputValueState = this.valueState, this.blur()), this._toggle(), this._iconPressed = !1, this._preventTokenizerToggle = !1, this.filterSelected = !1; - } - _beforeOpen() { - if (this._itemsBeforeOpen = this.items.map((e) => ({ - ref: e, - selected: e.selected - })), this._valueBeforeOpen = this.value, this._dialogInputValueState = this.valueState, this._innerInput.value = this.value, this.filterSelected) { - const e = this._filteredItems.filter((t) => t.selected); - this.selectedItems = this.items.filter((t, o, r) => xt._groupItemFilter(t, ++o, r, e) || e.indexOf(t) !== -1); - } - } - _handleTypeAhead(e, t) { - if (!e) - return; - const o = e.text, r = this._innerInput; - t = t || "", this.value = o, r.value = o, r.setSelectionRange(t.length, o.length), this._shouldAutocomplete = !1; - } - _getFirstMatchingItem(e) { - if (!this.items.length) - return; - const t = this._startsWithMatchingItems(e).filter((o) => !o.isGroupItem && !o.selected); - if (t.length) - return t[0]; - } - _startsWithMatchingItems(e) { - return Kh(e, this.items, "text"); - } - _revertSelection() { - this._filteredItems.forEach((e) => { - e.selected = this._previouslySelectedItems.includes(e); - }); - } - onBeforeRendering() { - const e = this._innerInput, t = e && (e.selectionEnd || 0) - (e.selectionStart || 0), o = e && e.value; - if (this.open && this._getList().then((r) => { - var l, T; - const n = (l = r == null ? void 0 : r.querySelectorAll("[ui5-li][selected]")) == null ? void 0 : l.length, s = (T = r == null ? void 0 : r.querySelectorAll("[ui5-li]")) == null ? void 0 : T.length; - this._allSelected = n === s; - }), this._effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled, this.FormSupport = ze("FormSupport"), this._inputLastValue = o, e && !e.value && (this.valueBeforeAutoComplete = "", this._filteredItems = this.items), this.items.forEach((r) => { - r._getRealDomRef = () => this.allItemsPopover.querySelector(`*[data-ui5-stable=${r.stableDomRef}]`); - }), this.tokenizerAvailable = this._getSelectedItems().length > 0, this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`), !(!e || !o)) { - if (this._shouldAutocomplete && !Rf() && !t) { - const r = this._getFirstMatchingItem(o); - this.valueBeforeAutoComplete = o, r && this._handleTypeAhead(r, o); - } - this._shouldFilterItems ? this._filteredItems = this._filterItems(this._shouldAutocomplete || t ? this.valueBeforeAutoComplete : o) : this._filteredItems = this.items; - } - } - async onAfterRendering() { - await this._getRespPopover(), await this._getList(), this.toggle(this.shouldDisplayOnlyValueStateMessage), this.storeResponsivePopoverWidth(), this._deleting = !1, this._tokenizer._handleResize(); - } - get _isPhone() { - return ce(); - } - _onIconMousedown() { - this._iconPressed = !0; - } - _clear() { - this.value = "", this._inputDom.value = "", this.fireEvent("input"), this._isPhone || this.focus(); - } - _iconMouseDown() { - this._clearingValue = !0; - } - storeResponsivePopoverWidth() { - this.open && !this._listWidth && (this._listWidth = this.list.offsetWidth); - } - toggle(e) { - e && !this.open ? this.openPopover() : this.closePopover(); - } - handleCancel() { - this._itemsBeforeOpen.forEach((e) => { - e.ref instanceof MC && (e.ref.selected = e.selected); - }), this.togglePopover(), this.value = this._valueBeforeOpen; - } - handleOK() { - ce() && this.fireSelectionChange() && this._revertSelection(), this.allowCustomValues || (this.value = ""), this.togglePopover(); - } - async openPopover() { - var e; - (e = await this._getPopover()) == null || e.showAt(this); - } - _forwardFocusToInner() { - this._innerInput.focus(); - } - get morePopoverOpener() { - var t; - const e = (t = this._tokenizer) == null ? void 0 : t.tokens; - return (e == null ? void 0 : e.length) === 1 && e[0].isTruncatable ? e[0] : this; - } - async closePopover() { - var e; - (e = await this._getPopover()) == null || e.close(); - } - async _getPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]"); - } - async _getResponsivePopover() { - return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); - } - async _setValueStateHeader() { - const e = await this._getResponsivePopover(); - this.valueStateHeader = e.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root"); - } - get _tokenizer() { - return this.shadowRoot.querySelector("[ui5-tokenizer]"); - } - inputFocusIn(e) { - var t; - !ce() || this.readonly ? (this.focused = !0, this._tokenizer.expanded = !0) : this._innerInput.blur(), this._clearingValue = !1, !ce() && (((t = e.relatedTarget) == null ? void 0 : t.tagName) !== "UI5-STATIC-AREA-ITEM" || !e.relatedTarget) && this._innerInput.setSelectionRange(0, this.value.length), this._tokenizer.tokens.forEach((o) => { - o.selected = !1; - }), this.valueBeforeAutoComplete = ""; - } - inputFocusOut(e) { - !this.shadowRoot.contains(e.relatedTarget) && !this._deleting && !this._clearingValue && (this.focused = !1, this._lastValue !== this.value && this._inputChange(), this._tokenizer.expanded = this.open, !ce() && !this.allowCustomValues && this.staticAreaItem !== e.relatedTarget && (this.value = "")); - } - get editable() { - return !this.readonly; - } - get _isFocusInside() { - return !ce() && (this.focused || this._tokenizerFocused); - } - get selectedItemsListMode() { - return this.readonly ? "None" : "MultiSelect"; - } - get _listItemsType() { - return this.readonly ? "Inactive" : "Active"; - } - get hasValueState() { - return this.valueState !== q.None || this._dialogInputValueState !== q.None; - } - get hasValueStateMessage() { - const e = ce() ? this._dialogInputValueState : this.valueState; - return this.hasValueState && e !== q.Success; - } - get ariaValueStateHiddenText() { - if (!this.hasValueState) - return; - let e = ""; - return this.valueState !== q.None && (e = this.valueStateTypeMappings[this.valueState]), this.shouldDisplayDefaultValueStateMessage ? `${e} ${this.valueStateDefaultText || ""}` : `${e}`.concat(" ", this.valueStateMessageText.map((t) => t.textContent).join(" ")); - } - get valueStateDefaultText() { - const e = ce() ? this._dialogInputValueState : this.valueState; - return e === q.None ? "" : this._performingSelectionTwice ? xt.i18nBundle.getText(h4) : this.valueStateTextMappings[e]; - } - get valueStateTextId() { - return this.hasValueState ? "ui5-multi-combobox-valueStateDesc" : void 0; - } - get valueStateMessageText() { - return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); - } - get ariaLabelText() { - return Xt(this); - } - /** - * This method is relevant for sap_horizon theme only - */ - get _valueStateMessageIcon() { - const e = ce() && this.open ? this._dialogInputValueState : this.valueState; - return e === q.None ? "" : { - [q.Error]: "error", - [q.Warning]: "alert", - [q.Success]: "sys-enter-2", - [q.Information]: "information" - }[e]; - } - get _tokensCountText() { - if (this._tokenizer) - return this._tokenizer._tokensCountText(); - } - get _tokensCountTextId() { - return "ui5-multi-combobox-hiddenText-nMore"; - } - get _selectedTokensCount() { - return this._tokenizer.tokens.filter((e) => e.selected).length; - } - get ariaDescribedByText() { - return this.valueStateTextId ? `${this._tokensCountTextId} ${this.valueStateTextId}` : `${this._tokensCountTextId}`; - } - get shouldDisplayDefaultValueStateMessage() { - return !this.valueStateMessage.length && this.hasValueStateMessage; - } - get shouldDisplayOnlyValueStateMessage() { - return this.focused && !this.readonly && this.hasValueStateMessage && !this._iconPressed; - } - get valueStateTypeMappings() { - return { - [q.Success]: xt.i18nBundle.getText(nc), - [q.Information]: xt.i18nBundle.getText(ac), - [q.Error]: xt.i18nBundle.getText(oc), - [q.Warning]: xt.i18nBundle.getText(rc) - }; - } - get valueStateTextMappings() { - return { - [q.Success]: xt.i18nBundle.getText(Sn), - [q.Error]: xt.i18nBundle.getText(wn), - [q.Warning]: xt.i18nBundle.getText(Cn), - [q.Information]: xt.i18nBundle.getText(Qn) - }; - } - get _innerInput() { - var e; - return ce() && (e = this.allItemsPopover) != null && e.opened ? this.allItemsPopover.querySelector("ui5-input").shadowRoot.querySelector("input") : this._inputDom; - } - get _headerTitleText() { - return xt.i18nBundle.getText(ic); - } - get _iconAccessibleNameText() { - return xt.i18nBundle.getText(uv); - } - get _showSelectedButtonAccessibleNameText() { - return xt.i18nBundle.getText(W3); - } - get _dialogOkButton() { - return xt.i18nBundle.getText(u4); - } - get _tokenizerExpanded() { - var o; - if (ce() || this.readonly) - return !1; - if (this._preventTokenizerToggle) - return this._tokenizer.expanded; - const e = (o = this._tokenizer) == null ? void 0 : o.expanded; - return this.focused || this.open || e; - } - get _valueStatePopoverHorizontalAlign() { - return this.effectiveDir !== "rtl" ? "Left" : "Right"; - } - get iconsCount() { - var r; - const e = ((r = this.icon) == null ? void 0 : r.length) || 0, t = Number(this._effectiveShowClearIcon) ?? 0, o = this.readonly ? 0 : 1; - return e + t + o; - } - get clearIconAccessibleName() { - return xt.i18nBundle.getText(Lh); - } - get selectAllCheckboxLabel() { - const e = this.items.filter((o) => !o.isGroupItem), t = e.filter((o) => o.selected); - return xt.i18nBundle.getText(G3, t.length, e.length); - } - get classes() { - return { - popover: { - "ui5-multi-combobox-all-items-responsive-popover": !0, - "ui5-suggestions-popover": !0, - "ui5-popover-with-value-state-header-phone": this._isPhone && this.hasValueStateMessage, - "ui5-popover-with-value-state-header": !this._isPhone && this.hasValueStateMessage - }, - popoverValueState: { - "ui5-valuestatemessage-root": !0, - "ui5-valuestatemessage-header": !0, - "ui5-valuestatemessage--success": this.valueState === q.Success || this._dialogInputValueState === q.Success, - "ui5-valuestatemessage--error": this.valueState === q.Error || this._dialogInputValueState === q.Error, - "ui5-valuestatemessage--warning": this.valueState === q.Warning || this._dialogInputValueState === q.Warning, - "ui5-valuestatemessage--information": this.valueState === q.Information || this._dialogInputValueState === q.Information - } - }; - } - get styles() { - const e = parseInt(getComputedStyle(document.documentElement).fontSize); - return { - popoverValueStateMessage: { - width: `${this._listWidth || 0}px`, - display: this._listWidth === 0 ? "none" : "inline-block" - }, - popoverHeader: { - "max-width": ce() ? "100%" : `${this._inputWidth}px` - }, - suggestionsPopover: { - "min-width": `${this._inputWidth}px`, - "max-width": this._inputWidth / e > 40 ? `${this._inputWidth}px` : "40rem" - } - }; - } - static async onDefine() { - xt.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -He([ - x() -], Me.prototype, "value", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "noTypeahead", void 0); -He([ - x() -], Me.prototype, "placeholder", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "allowCustomValues", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "disabled", void 0); -He([ - x({ type: q, defaultValue: q.None }) -], Me.prototype, "valueState", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "readonly", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "required", void 0); -He([ - x({ type: vh, defaultValue: vh.StartsWithPerTerm }) -], Me.prototype, "filter", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "showClearIcon", void 0); -He([ - x() -], Me.prototype, "accessibleName", void 0); -He([ - x() -], Me.prototype, "accessibleNameRef", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "showSelectAll", void 0); -He([ - x({ type: q, defaultValue: q.None }) -], Me.prototype, "_effectiveValueState", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "_open", void 0); -He([ - x() -], Me.prototype, "_valueBeforeOpen", void 0); -He([ - x({ type: Object, noAttribute: !0, multiple: !0 }) -], Me.prototype, "_filteredItems", void 0); -He([ - x({ type: Object, noAttribute: !0, multiple: !0 }) -], Me.prototype, "_previouslySelectedItems", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "filterSelected", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "focused", void 0); -He([ - x({ type: Boolean, noAttribute: !0 }) -], Me.prototype, "_tokenizerFocused", void 0); -He([ - x({ type: Boolean, noAttribute: !0 }) -], Me.prototype, "_iconPressed", void 0); -He([ - x({ validator: ne, noAttribute: !0 }) -], Me.prototype, "_inputWidth", void 0); -He([ - x({ validator: ne, noAttribute: !0, defaultValue: 0 }) -], Me.prototype, "_listWidth", void 0); -He([ - x({ type: Boolean, noAttribute: !0 }) -], Me.prototype, "_performingSelectionTwice", void 0); -He([ - x({ type: Boolean, noAttribute: !0 }) -], Me.prototype, "_allSelected", void 0); -He([ - x({ type: Boolean, noAttribute: !0 }) -], Me.prototype, "_effectiveShowClearIcon", void 0); -He([ - x({ type: q, defaultValue: q.None }) -], Me.prototype, "_dialogInputValueState", void 0); -He([ - x({ type: Boolean }) -], Me.prototype, "tokenizerAvailable", void 0); -He([ - K({ type: HTMLElement, default: !0, invalidateOnChildChange: !0 }) -], Me.prototype, "items", void 0); -He([ - K() -], Me.prototype, "icon", void 0); -He([ - K() -], Me.prototype, "valueStateMessage", void 0); -Me = xt = He([ - X({ - tag: "ui5-multi-combobox", - languageAware: !0, - renderer: ue, - template: FH, - staticAreaTemplate: HH, - styles: ZH, - staticAreaStyles: [Fr, Ka, Zh, QH], - dependencies: [ - MC, - LH, - yC, - bC, - Pe, - po, - Fi, - fo, - ea, - td, - id, - Ne, - Ku - ] - }), - U("change"), - U("input"), - U("open-change"), - U("selection-change", { - detail: { - /** - * @public - */ - items: { type: Array } - } - }) -], Me); -Me.define(); -function JH(i, e, t) { - return y`
    ${this.showValueInRemainingBar ? void 0 : eV.call(this, i, e, t)}
    ${this.showValueInRemainingBar ? nV.call(this, i, e, t) : void 0}
    `; -} -function eV(i, e, t) { - return y`${this.showIcon ? tV.call(this, i, e, t) : void 0}${this.hideValue ? void 0 : iV.call(this, i, e, t)}`; -} -function tV(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">` : y``; -} -function iV(i, e, t) { - return y`${this.displayValue ? oV.call(this, i, e, t) : rV.call(this, i, e, t)}`; -} -function oV(i, e, t) { - return y`${a(this.displayValue)}`; -} -function rV(i, e, t) { - return y`${a(this.validatedValue)}% `; -} -function nV(i, e, t) { - return y`${this.showIcon ? aV.call(this, i, e, t) : void 0}${this.hideValue ? void 0 : sV.call(this, i, e, t)}`; -} -function aV(i, e, t) { - return t ? y`<${E("ui5-icon", e, t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">` : y``; -} -function sV(i, e, t) { - return y`${this.displayValue ? lV.call(this, i, e, t) : cV.call(this, i, e, t)}`; -} -function lV(i, e, t) { - return y`${a(this.displayValue)}`; -} -function cV(i, e, t) { - return y`${a(this.validatedValue)}% `; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const uV = { packageName: "@ui5/webcomponents", fileName: "themes/ProgressIndicator.css.ts", content: `:host(:not([hidden])){display:inline-block;min-height:var(_ui5_progress_indicator_host_min_height);min-width:4rem;width:100%;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_height);overflow:hidden;box-sizing:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_box_sizing);padding:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding_end)}.ui5-progress-indicator-root{display:flex;align-items:center;background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_none);border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_border_radius);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_overflow);min-height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_min_height);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_height);width:100%;font-size:var(--sapProgress_FontSize);font-family:"72override",var(--sapFontFamily);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_position);box-sizing:border-box}.ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none);justify-content:flex-end;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_height);display:flex;align-items:center;flex-direction:row;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_color);transition-property:width;transition-timing-function:linear;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_max);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_progress_indicator_border);border-radius:.5rem}.ui5-progress-indicator-remaining-bar{justify-content:flex-start;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_width);height:100%;display:flex;align-items:center;flex-direction:row;flex-grow:1;flex-basis:0;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_border);border-inline-start:none;border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius);box-sizing:border-box;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_color);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_overflow);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_position)}.ui5-progress-indicator-value{margin:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_margin);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;position:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_position);top:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_top_position);inset-inline-start:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_left_position)}.ui5-progress-indicator-icon{margin-inline-start:.375rem;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);display:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_visibility);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_position);inset-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_right_position)}:host([value-state="Error"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_icon_color)}:host([value-state="Warning"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_icon_color)}:host([value-state="Success"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_icon_color)}:host([value-state="Information"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_icon_color)}:host([value-state="Error"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_border_color)}:host([value-state="Warning"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_border_color)}:host([value-state="Success"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_border_color)}:host([value-state="Information"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_border_color)}:host([value-state="Error"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_error)}:host([value-state="Warning"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_warning)}:host([value-state="Success"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_success)}:host([value-state="Information"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_information)}:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_error)}:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_warning)}:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_success)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_information)}:host([disabled]) .ui5-progress-indicator-root{opacity:.4}.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-v1-22-1-rc-0_progress_indicator_side_points_visibility);background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none)}.ui5-progress-indicator-remaining-bar:before{left:.0625rem}.ui5-progress-indicator-remaining-bar:after{right:.0625rem}: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)}: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)}: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)}: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)} -` }; -var tl = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, ws; -let hn = ws = class extends te { - constructor() { - super(), this._previousValue = 0, this._transitionDuration = 0; - } - onBeforeRendering() { - this._transitionDuration = Math.abs(this._previousValue - this.validatedValue) * 20, this._previousValue = this.validatedValue; - } - valueStateTextMappings() { - return { - Error: ws.i18nBundle.getText(wn), - Warning: ws.i18nBundle.getText(Cn), - Success: ws.i18nBundle.getText(Sn), - Information: ws.i18nBundle.getText(Qn) - }; - } - valueStateIconMappings() { - return { - Error: "status-negative", - Warning: "status-critical", - Success: "status-positive", - Information: "information" - }; - } - get styles() { - return { - bar: { - width: `${this.validatedValue}%`, - "transition-duration": this.shouldAnimate ? `${this._transitionDuration}ms` : "none" - } - }; - } - get classes() { - return { - root: { - "ui5-progress-indicator-max-value": this.validatedValue === 100, - "ui5-progress-indicator-min-value": this.validatedValue === 0 - } - }; - } - get validatedValue() { - return this.value < 0 ? 0 : this.value > 100 ? 100 : this.value; - } - get showValueInRemainingBar() { - return this.value <= 50; - } - get shouldAnimate() { - return Oa() !== Vn.None; - } - get valueStateText() { - const e = `${this.validatedValue}%`, t = this.valueStateTextMappings()[this.valueState]; - return t ? `${e} ${t}` : e; - } - get showIcon() { - return this.valueState !== q.None; - } - get valueStateIcon() { - return this.valueStateIconMappings()[this.valueState]; - } - get _ariaDisabled() { - return this.disabled || void 0; - } - static async onDefine() { - ws.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -tl([ - x() -], hn.prototype, "accessibleName", void 0); -tl([ - x({ type: Boolean }) -], hn.prototype, "disabled", void 0); -tl([ - x({ type: Boolean }) -], hn.prototype, "hideValue", void 0); -tl([ - x({ validator: ne, defaultValue: 0 }) -], hn.prototype, "value", void 0); -tl([ - x({ defaultValue: null }) -], hn.prototype, "displayValue", void 0); -tl([ - x({ type: q, defaultValue: q.None }) -], hn.prototype, "valueState", void 0); -hn = ws = tl([ - X({ - tag: "ui5-progress-indicator", - renderer: ue, - styles: uV, - template: JH, - dependencies: [Pe] - }) -], hn); -hn.define(); -const dV = hn; -function hV(i, e, t) { - return y`
    `; -} -function _V(i, e, t, o, r) { - return y`${o.selected ? pV.call(this, i, e, t, o, r) : fV.call(this, i, e, t, o, r)}`; -} -function pV(i, e, t, o, r) { - return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite">
  • ` : y`
  • `; -} -function fV(i, e, t, o, r) { - return y`${o.halfStar ? vV.call(this, i, e, t, o, r) : mV.call(this, i, e, t, o, r)}`; -} -function vV(i, e, t, o, r) { - return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="unfavorite">
    <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite" class="ui5-rating-indicator-half-icon">
  • ` : y`
  • `; -} -function mV(i, e, t, o, r) { - return y`${this.readonly ? gV.call(this, i, e, t, o, r) : bV.call(this, i, e, t, o, r)}`; -} -function gV(i, e, t, o, r) { - return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite">
  • ` : y`
  • `; -} -function bV(i, e, t, o, r) { - return y`${this.disabled ? yV.call(this, i, e, t, o, r) : wV.call(this, i, e, t, o, r)}`; -} -function yV(i, e, t, o, r) { - return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite">
  • ` : y`
  • `; -} -function wV(i, e, t, o, r) { - return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="unfavorite">
  • ` : y`
  • `; -} -const CV = "favorite", FC = "M378.36 297.834q-5.996 3.998-2.998 8.995l71.96 193.892q1.999 4.997-2.499 8.995t-9.494.999l-174.903-123.93q-4.997-3-8.995 0L76.53 510.714q-4.997 2.998-9.495-1t-2.499-8.994l71.96-193.892q2-5.997-2.998-8.995L3.569 205.885q-4.997-2.998-2.998-8.495t6.996-5.497h165.908q4.997 0 7.995-4.997L248.433 4.997Q250.432 0 255.929 0t7.495 4.997l66.963 181.899q1.999 4.997 7.996 4.997H503.29q5.996 0 7.995 5.497t-2.998 8.495z", SV = !1, TV = "SAP-icons-v4", IV = "@ui5/webcomponents-icons"; -J(CV, { pathData: FC, ltr: SV, collection: TV, packageName: IV }); -const kV = "favorite", zC = "M0 198q0-9 6.5-16t15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 16q0 11-7 18L399 328l26 154q1 2 1 5 0 10-7.5 17.5T400 512q-6 0-12-3l-132-74-132 74q-4 3-12 3-11 0-18.5-7.5T86 487q0-2 .5-2.5t.5-2.5l26-154L7 216q-7-7-7-18z", $V = !1, xV = "SAP-icons-v5", AV = "@ui5/webcomponents-icons"; -J(kV, { pathData: zC, ltr: $V, collection: xV, packageName: AV }); -Te(); -const EV = "unfavorite", HC = "M8.569 191.946h164.954q5.998 0 7.998-4.998l66.981-181.95Q250.502 0 256.5 0q4.998 0 6.998 4.999l66.981 181.949q2 4.998 7.998 4.998h165.954q4.998 0 6.998 5.499t-3 8.498l-129.963 91.974q-4 2.999-3 8.997l71.98 193.946q2 4.999-1 7.998t-6.997 3q-3 0-4-1L260.5 386.891q-1-1-4-1-3.998 0-4.998 1L76.551 510.857q-1 1-4 1-3.999 0-6.998-2.999t-1-7.998l71.98-193.946q2-5.998-2.999-8.997L3.57 205.943q-4.998-3-2.999-8.498t7.998-5.499zm143.96 79.978q10.997 7.998 14.996 20.494t-1 25.493l-44.987 121.966L233.506 360.9q9.997-6.998 22.994-6.998 11.996 0 21.994 5.999l111.968 79.977-44.987-121.966q-4.999-12.996-1-25.493t14.996-20.494l68.98-47.986h-89.974q-26.992 0-37.99-25.993L256.5 76.979l-44.988 120.966q-10.997 25.993-37.989 25.993H84.548z", BV = !1, DV = "SAP-icons-v4", PV = "@ui5/webcomponents-icons"; -J(EV, { pathData: HC, ltr: BV, collection: DV, packageName: PV }); -const OV = "unfavorite", VC = "M400 510q-7 0-12-3l-132-74-131 74q-6 3-13 3-11 0-18.5-7T86 485q0-2 .5-2.5t.5-1.5l26-155L7 214q-7-7-7-17t6.5-17 15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 17q0 11-7 17L399 326l26 155q1 1 1 4 0 11-7.5 18t-18.5 7zM256 379q7 0 13 3l97 54-20-114q0-7 1-12t6-10l81-85-112-16q-13-1-20-15l-46-99-46 99q-5 13-19 15L78 215l81 85q5 5 6 10t1 12l-20 114 98-54q5-3 12-3z", RV = !1, NV = "SAP-icons-v5", MV = "@ui5/webcomponents-icons"; -J(OV, { pathData: VC, ltr: RV, collection: NV, packageName: MV }); -Te(); -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const LV = { packageName: "@ui5/webcomponents", fileName: "themes/RatingIndicator.css.ts", content: `:host(:not([hidden])){display:inline-block;font-size:24px;margin:var(--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:.4;cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .ui5-rating-indicator-item-unsel,:host([readonly]) .ui5-rating-indicator-item-unsel{padding-inline:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing);width:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:.9}:host([_focused]){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5-v1-22-1-rc-0_rating_indicator_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_rating_indicator_border_radius)}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.ui5-rating-indicator-root{outline:none;position:relative}.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-v1-22-1-rc-0_rating_indicator_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_item_height)}.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,.ui5-rating-indicator-item.ui5-rating-indicator-item-half{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-item [ui5-icon].ui5-rating-indicator-half-icon{position:absolute;inset-inline-start:50%;color:var(--sapContent_RatedColor)}.ui5-rating-indicator-half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden} -` }; -var Ur = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, hl; -let Ro = hl = class extends te { - static async onDefine() { - hl.i18nBundle = await pe("@ui5/webcomponents"); - } - constructor() { - super(); - } - 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 o = !1, r = this.value; - Math.floor(this.value) + 1 === e && t > 2 && t < 8 ? o = !0 : t <= 2 ? r = Math.floor(this.value) : t >= 8 && (r = Math.ceil(this.value)), this._stars.push({ - selected: e <= r, - index: e, - halfStar: o - }); - } - } - _onclick(e) { - const t = e.target; - if (!(t instanceof HTMLElement) || this.disabled || this.readonly) - return; - const o = t.getAttribute("data-ui5-value"); - o !== null && (this.value = parseInt(o), this.value === 1 && this._liveValue === 1 && (this.value = 0), this._liveValue !== this.value && (this.fireEvent("change"), this._liveValue = this.value)); - } - _onkeydown(e) { - if (this.disabled || this.readonly) - return; - const t = Ue(e) || Ct(e), o = dt(e) || Ye(e), r = se(e) || Se(e), n = qt(e), s = Ii(e), l = e.keyCode >= 48 && e.keyCode <= 57 || e.keyCode >= 96 && e.keyCode <= 105; - if (t || o || r || n || s || l) { - if (e.preventDefault(), t && this.value > 0) - this.value = Math.round(this.value - 1); - else if (o && this.value < this.max) - this.value = Math.round(this.value + 1); - else if (r) { - const T = Math.round(this.value + 1); - this.value = T > this.max ? 0 : T; - } else if (n) - this.value = 0; - else if (s) - this.value = this.max; - else if (l) { - const T = parseInt(e.key); - this.value = T > this.max ? this.max : T; - } - this.fireEvent("change"); - } - } - _onfocusin() { - this.disabled || (this._focused = !0, this._liveValue = this.value); - } - _onfocusout() { - this._focused = !1; - } - get effectiveTabIndex() { - const e = this.getAttribute("tabindex"); - return this.disabled ? "-1" : e || "0"; - } - get ratingTooltip() { - return this.tooltip || this.defaultTooltip; - } - get defaultTooltip() { - return hl.i18nBundle.getText(m4); - } - get _ariaRoleDescription() { - return hl.i18nBundle.getText(g4); - } - get _ariaDisabled() { - return this.disabled || void 0; - } - get _ariaLabel() { - return Xt(this); - } - get _ariaDescription() { - return this.required ? hl.i18nBundle.getText(b4) : void 0; - } - get ariaReadonly() { - return this.readonly ? "true" : void 0; - } -}; -Ur([ - x({ validator: Kt, defaultValue: 0 }) -], Ro.prototype, "value", void 0); -Ur([ - x({ validator: ne, defaultValue: 5 }) -], Ro.prototype, "max", void 0); -Ur([ - x({ type: Boolean }) -], Ro.prototype, "disabled", void 0); -Ur([ - x({ type: Boolean }) -], Ro.prototype, "readonly", void 0); -Ur([ - x() -], Ro.prototype, "accessibleName", void 0); -Ur([ - x({ defaultValue: "" }) -], Ro.prototype, "accessibleNameRef", void 0); -Ur([ - x({ type: Boolean }) -], Ro.prototype, "required", void 0); -Ur([ - x() -], Ro.prototype, "tooltip", void 0); -Ur([ - x({ type: Object, multiple: !0 }) -], Ro.prototype, "_stars", void 0); -Ur([ - x({ type: Boolean }) -], Ro.prototype, "_focused", void 0); -Ro = hl = Ur([ - X({ - tag: "ui5-rating-indicator", - languageAware: !0, - renderer: ue, - styles: LV, - template: hV, - dependencies: [Pe] - }), - U("change") -], Ro); -Ro.define(); -const FV = "slim-arrow-up", UC = "M261.5 197q-6-6-11 0l-160 160q-5 5-11.5 5t-11.5-5-5-11.5 5-11.5l166-165q9-9 22-9t23 9l165 165q5 5 5 11t-5 11q-12 12-23 0z", zV = !1, HV = "SAP-icons-v4", VV = "@ui5/webcomponents-icons"; -J(FV, { pathData: UC, ltr: zV, collection: HV, packageName: VV }); -const UV = "slim-arrow-up", qC = "M96 326q0-10 7-17l135-141q6-8 18-8 11 0 19 8l134 141q7 7 7 17 0 11-7.5 18.5T390 352q-10 0-18-8L256 223 140 344q-8 8-18 8-11 0-18.5-7.5T96 326z", qV = !1, WV = "SAP-icons-v5", jV = "@ui5/webcomponents-icons"; -J(UV, { pathData: qC, ltr: qV, collection: WV, packageName: jV }); -Te(); -var N1; -(function(i) { - i.Top = "Top", i.Bottom = "Bottom"; -})(N1 || (N1 = {})); -const M1 = N1; -var L1; -(function(i) { - i.Default = "Default", i.Positive = "Positive", i.Negative = "Negative", i.Critical = "Critical", i.Neutral = "Neutral"; -})(L1 || (L1 = {})); -const pi = L1; -var F1; -(function(i) { - i.Solid = "Solid", i.Transparent = "Transparent", i.Translucent = "Translucent"; -})(F1 || (F1 = {})); -const wh = F1; -var z1; -(function(i) { - i.Inline = "Inline", i.Standard = "Standard"; -})(z1 || (z1 = {})); -const Ch = z1; -var H1; -(function(i) { - i.End = "End", i.StartAndEnd = "StartAndEnd"; -})(H1 || (H1 = {})); -const V1 = H1; -function GV(i, e, t) { - return y`
    ${this.tabsAtTheBottom ? YV.call(this, i, e, t) : void 0}
    ${Y(this.items, (o, r) => o._id || r, (o, r) => QV.call(this, i, e, t, o, r))}
    ${this.tabsAtTheBottom ? void 0 : tU.call(this, i, e, t)}${this.hasSubTabs ? oU.call(this, i, e, t) : void 0}
    `; -} -function YV(i, e, t) { - return y`
    ${Y(this.items, (o, r) => o._id || r, (o, r) => XV.call(this, i, e, t, o, r))}
    `; -} -function XV(i, e, t, o, r) { - return y``; -} -function KV(i, e, t) { - return y``; -} -function ZV(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-start" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._startOverflowText)}` : y`${a(this._startOverflowText)}`; -} -function QV(i, e, t, o, r) { - return y`${a(o.stripPresentation)}`; -} -function JV(i, e, t) { - return y``; -} -function eU(i, e, t) { - return t ? y`<${E("ui5-button", e, t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-end" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._endOverflowText)}` : y`${a(this._endOverflowText)}`; -} -function tU(i, e, t) { - return y`
    ${Y(this.items, (o, r) => o._id || r, (o, r) => iU.call(this, i, e, t, o, r))}
    `; -} -function iU(i, e, t, o, r) { - return y``; -} -function oU(i, e, t) { - return y`${a(this.accInvisibleText)}`; -} -function rU(i, e, t) { - return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop hide-arrow _hide-header class="ui5-tab-container-responsive-popover"><${E("ui5-list", e, t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOverflowListItemClick)}">${Y(this._overflowItems, (o, r) => o._id || r, (o, r) => e0.call(this, i, e, t, o, r))}` : y`${Y(this._overflowItems, (o, r) => o._id || r, (o, r) => e0.call(this, i, e, t, o, r))}`; -} -function e0(i, e, t, o, r) { - return y`${a(o.overflowPresentation)}`; -} -F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); -F("@ui5/webcomponents", "sap_horizon", async () => ie); -const nU = { packageName: "@ui5/webcomponents", fileName: "themes/TabContainer.css.ts", content: `.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;width:100%;container-type:inline-size}.ui5-tc-root{display:flex;flex-direction:column;width:100%;height:100%;font-family:"72override",var(--sapFontFamily);font-size:1rem}.ui5-tc__header{position:relative;display:flex;align-items:center;background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background);height:var(--_ui5-v1-22-1-rc-0_tc_header_height);box-shadow:var(--_ui5-v1-22-1-rc-0_tc_header_box_shadow);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__header{border-top:var(--_ui5-v1-22-1-rc-0_tc_header_border_bottom)}:host([header-background-design="Transparent"]) .ui5-tc__header{background-color:transparent}:host([header-background-design="Translucent"]) .ui5-tc__header{background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background_translucent)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only)}.ui5-tc-root.ui5-tc--textOnly.ui5-tc--withAdditionalText.ui5-tc--standardTabLayout .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_with_additional_text)}.ui5-tc__tabStrip{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative;white-space:nowrap}.ui5-tc__separator:focus{outline:none}.ui5-tc__overflow{flex:0 0 0}.ui5-tc__overflow.ui5-tc__overflow--end{padding-inline-start:.188rem;margin-inline-end:1rem}.ui5-tc__overflow.ui5-tc__overflow--start{margin-inline-start:1rem}.ui5-tc__overflow[hidden]{display:none}.ui5-tc__overflow>[ui5-button]{border-radius:.75rem;height:1.5rem}.ui5-tc__overflow>[ui5-button]:not([active]){color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button]:not([active]):hover{color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button][focused]{outline-offset:.125rem;--_ui5-v1-22-1-rc-0_button_focused_border: none;outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__content{height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only))}.ui5-tc__content{position:relative;display:flex;height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height));background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background);border-bottom:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__content{border-top:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom)}:host([content-background-design="Transparent"]) .ui5-tc__content{background-color:transparent}:host([content-background-design="Translucent"]) .ui5-tc__content{background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background_translucent)}.ui5-tc__content--collapsed{display:none}.ui5-tc--transparent .ui5-tc__content{background-color:transparent}.ui5-tc__contentItem{max-height:100%;display:flex;flex-grow:1;overflow:auto}.ui5-tc__contentItem[hidden]{display:none}.ui5-tc__header{padding:0}.ui5-tc__content{padding:1rem}@container (min-width: 600px){.ui5-tc__header{padding:0 1rem}.ui5-tc__content{padding:1rem 2rem}}@container (min-width: 1440px){.ui5-tc__header{padding:0 2rem}.ui5-tc__content{padding:1rem 3rem}} -` }; -var Qt = globalThis && globalThis.__decorate || function(i, e, t, o) { - var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - n = Reflect.decorate(i, e, t, o); - else - for (var l = i.length - 1; l >= 0; l--) - (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); - return r > 3 && n && Object.defineProperty(e, t, n), n; -}, Pn; -const WC = [], jC = [], aU = 5; -let It = Pn = class extends te { - static registerTabStyles(e) { - WC.push(e); - } - static registerStaticAreaTabStyles(e) { - jC.push(e); - } - constructor() { - super(), this._handleResizeBound = this._handleResize.bind(this), this._itemNavigation = new $i(this, { - getItemsCallback: () => this._getFocusableRefs(), - skipItemsSize: aU - }); - } - onBeforeRendering() { - if (this._allItemsAndSubItems = this._getAllSubItems(this.items), !this._allItemsAndSubItems.length) - return; - const e = this._allItemsAndSubItems.filter((t) => t.selected); - e.length ? (this._selectedTab.forcedSelected = !1, this._selectedTab = e[0]) : (this._selectedTab = this._allItemsAndSubItems[0], this._selectedTab.forcedSelected = !0), this._setItemsPrivateProperties(this.items), this._animationRunning || (this._contentCollapsed = this.collapsed), this.showOverflow && console.warn('The "show-overflow" property is deprecated and will be removed in a future release.'); - } - onAfterRendering() { - if (this.items.length && (this._setItemsForStrip(), !this.shadowRoot.contains(document.activeElement))) { - const e = this._getRootTab(this._selectedTab); - this._itemNavigation.setCurrentItem(e); - } - } - onEnterDOM() { - Ce.register(this._getHeader(), this._handleResizeBound); - } - onExitDOM() { - Ce.deregister(this._getHeader(), this._handleResizeBound); - } - _handleResize() { - this.responsivePopover && this.responsivePopover.opened && this.responsivePopover.close(), this._width = this.offsetWidth; - } - _setItemsPrivateProperties(e) { - e.filter((o) => (o.getElementInStrip = () => this.getDomRef().querySelector(`[id="${o._id}"]`), !o.isSeparator)).forEach((o, r, n) => { - o.isInline = this.tabLayout === Ch.Inline, o.forcedMixedMode = this.mixedMode, o.forcedPosinset = r + 1, o.forcedSetsize = n.length, o.realTabReference = this._selectedTab, o.isTopLevelTab = e.some((s) => s === o), U1(e, (s) => { - s.realTabReference = o.realTabReference; - }); - }); - } - _onHeaderFocusin(e) { - const t = Td(e.target); - t && this._itemNavigation.setCurrentItem(t.realTabReference); - } - async _onTabStripClick(e) { - const t = Td(e.target); - if (!(!t || t.realTabReference.disabled)) { - if (e.stopPropagation(), e.preventDefault(), e.target.hasAttribute("ui5-button")) { - this._onTabExpandButtonClick(e); - return; - } - if (!t.realTabReference.hasOwnContent && t.realTabReference.tabs.length) { - this._overflowItems = t.realTabReference.subTabs, this._addStyleIndent(this._overflowItems), this.responsivePopover = await this._respPopover(), this.responsivePopover.opened ? this.responsivePopover.close() : this._setPopoverInitialFocus(), this.responsivePopover.showAt(t.realTabReference.getTabInStripDomRef()); - return; - } - this._onHeaderItemSelect(t); - } - } - async _onTabExpandButtonClick(e) { - e.stopPropagation(), e.preventDefault(); - let t = e.target, o = t.tab; - if (o && o.focus(), e.type === "keydown" && !e.target.realTabReference.isSingleClickArea && (t = e.target.querySelectorAll(".ui5-tab-expand-button")[0], o = e.target.realTabReference), !o) { - this._onHeaderItemSelect(t.parentElement); - return; - } - this._overflowItems = o.subTabs, this._addStyleIndent(this._overflowItems), this.responsivePopover = await this._respPopover(), this.responsivePopover.isOpen() ? this.responsivePopover.close() : this._setPopoverInitialFocus(), this.responsivePopover.showAt(t); - } - _setPopoverInitialFocus() { - const t = this._getSelectedTabInOverflow() || this._getFirstFocusableItemInOverflow(); - this.responsivePopover.initialFocus = `${t.realTabReference._id}-li`; - } - _getSelectedTabInOverflow() { - return this.responsivePopover.content[0].items.find((e) => e.realTabReference && e.realTabReference.selected); - } - _getFirstFocusableItemInOverflow() { - return this.responsivePopover.content[0].items.find((e) => e.classList.contains("ui5-tab-overflow-item")); - } - _onTabStripKeyDown(e) { - const t = Td(e.target); - !t || t.realTabReference.disabled || (Se(e) && (t.realTabReference.isSingleClickArea ? this._onTabStripClick(e) : this._onHeaderItemSelect(t)), se(e) && e.preventDefault(), (Ue(e) || Ye(e)) && (t.realTabReference.requiresExpandButton && this._onTabExpandButtonClick(e), t.realTabReference.isSingleClickArea && this._onTabStripClick(e))); - } - _onTabStripKeyUp(e) { - const t = Td(e.target); - !t || t.realTabReference.disabled || se(e) && (e.preventDefault(), t.realTabReference.isSingleClickArea ? this._onTabStripClick(e) : this._onHeaderItemSelect(t)); - } - _onHeaderItemSelect(e) { - e.hasAttribute("disabled") || this._onItemSelect(e.id); - } - async _onOverflowListItemClick(e) { - e.preventDefault(), this._onItemSelect(e.detail.item.id.slice(0, -3)), this.responsivePopover.close(), await Mt(), this._getRootTab(this._selectedTab).getTabInStripDomRef().focus(); - } - /** - * Returns all slotted tabs and their subTabs in a flattened array. - * The order of tabs is depth-first. For example, given the following slotted elements: - *
    
    -   * 	<ui5-tabcontainer>
    -   * 		<ui5-tab id="First" text="First">
    -   * 			...
    -   * 			<ui5-tab slot="subTabs" id="Nested" text="Nested">...</ui5-tab>
    -   * 		</ui5-tab>
    -   * 		<ui5-tab id="Second" text="Second">...</ui5-tab>
    -   * 		<ui5-tab-separator id="sep"></ui5-tab-separator>
    -   * 		<ui5-tab id="Third" text="Third">...</ui5-tab>
    -   * 	</ui5-tabcontainer>
    -   * 
    - * Calling allItems on this TabContainer will return the instances in the following order: - * [ ui5-tab#First, ui5-tab#Nested, ui5-tab#Second, ui5-tab-separator#sep, ui5-tab#Third ] - * @public - * @default [] - */ - get allItems() { - return this._getAllSubItems(this.items); - } - _getAllSubItems(e, t = [], o = 1) { - return e.forEach((r) => { - (r.hasAttribute("ui5-tab") || r.hasAttribute("ui5-tab-separator")) && (r.forcedLevel = o, t.push(r), r.subTabs && this._getAllSubItems(r.subTabs, t, o + 1)); - }), t; - } - _onItemSelect(e) { - const t = this._selectedTab, o = this._allItemsAndSubItems.findIndex((s) => s.__id === e), r = this._allItemsAndSubItems[o]; - this.selectTab(r, o) && (this._allItemsAndSubItems.forEach((s, l) => { - const T = o === l; - s.selected = T, s.forcedSelected && (s.forcedSelected = !1); - }), !this.fixed && (this.shouldAnimate ? this.toggleAnimated(r, t) : this.toggle(r, t))); - } - async toggleAnimated(e, t) { - const o = this.shadowRoot.querySelector(".ui5-tc__content"); - let r = null; - this._animationRunning = !0, e === t ? (this.collapsed = !this.collapsed, r = this.collapsed ? this.slideContentUp(o) : this.slideContentDown(o)) : (r = this.collapsed ? this.slideContentDown(o) : Promise.resolve(), this.collapsed = !1), await r, this._contentCollapsed = this.collapsed, this._animationRunning = !1; - } - toggle(e, t) { - e === t ? this.collapsed = !this.collapsed : this.collapsed = !1; - } - /** - * Fires the tab-select event and changes the internal reference for the currently selected tab. - * If the event is prevented, the current tab is not changed. - * @private - * - * @param selectedTab selected tab instance - * @param selectedTabIndex selected tab index for an array containing all tabs and sub tabs. Note: Use the method allTabs to get this array. - * @returns true if the tab selection is successful, false if it was prevented - */ - selectTab(e, t) { - return this.fireEvent("tab-select", { tab: e, tabIndex: t }, !0) ? (this._selectedTab = e, !0) : !1; - } - slideContentDown(e) { - return IC(e).promise(); - } - slideContentUp(e) { - return kC(e).promise(); - } - async _onOverflowClick(e) { - if (e.target.classList.contains("ui5-tc__overflow")) - return; - const o = e.currentTarget.classList.contains("ui5-tc__overflow--end"), r = o ? "end-overflow" : "start-overflow"; - this._overflowItems = this.items.filter((s) => { - const l = s.getTabInStripDomRef(); - return l && l.hasAttribute(r); - }), this._addStyleIndent(this._overflowItems); - let n; - o ? n = this.overflowButton[0] || this._getEndOverflowBtnDOM() : n = this.startOverflowButton[0] || this._getStartOverflowBtnDOM(), this.responsivePopover = await this._respPopover(), this.responsivePopover.opened ? this.responsivePopover.close() : (this._setPopoverInitialFocus(), this.responsivePopover.showAt(n)); - } - _addStyleIndent(e) { - const t = this._getAllSubItems(e).filter((o) => !o.isSeparator).some((o) => o.design !== pi.Default && o.design !== pi.Neutral); - U1(e, (o) => { - let r = o.forcedLevel - 1; - o.isSeparator && (r += 1), o.forcedStyle = { - [Bo("--_ui5-tab-indentation-level")]: r, - [Bo("--_ui5-tab-extra-indent")]: t ? 1 : null - }; - }); - } - async _onOverflowKeyDown(e) { - const t = e.currentTarget, o = t.classList.contains("ui5-tc__overflow--end"), r = t.classList.contains("ui5-tc__overflow--start"); - (Ue(e) || r && Ct(e) || o && dt(e)) && (e.stopPropagation(), e.preventDefault(), await this._onOverflowClick(e)); - } - _setItemsForStrip() { - const e = this._getTabStrip(); - let t = 0; - if (!this._selectedTab) - return; - const o = this.items.map((n) => n.getTabInStripDomRef()); - this._getStartOverflow().setAttribute("hidden", ""), this._getEndOverflow().setAttribute("hidden", ""); - for (let n = 0; n < o.length; n++) - o[n].removeAttribute("hidden"), o[n].removeAttribute("start-overflow"), o[n].removeAttribute("end-overflow"); - o.forEach((n) => { - t += this._getItemWidth(n); - }), e.offsetWidth < t && (this.isModeStartAndEnd ? (this._updateStartAndEndOverflow(o), this._updateOverflowCounters()) : this._updateEndOverflow(o)); - } - _getRootTab(e) { - for (; e.hasAttribute("ui5-tab") && !e.parentElement.hasAttribute("ui5-tabcontainer"); ) - e = e.parentElement; - return e; - } - _updateEndOverflow(e) { - this._getEndOverflow().removeAttribute("hidden"); - const o = this._getRootTab(this._selectedTab).getTabInStripDomRef(), r = this._getTabStrip().offsetWidth, n = this._getSelectedItemIndexAndWidth(e, o), s = this._findLastVisibleItem(e, r, n.width); - for (let l = s + 1; l < e.length; l++) - e[l].setAttribute("hidden", ""), e[l].setAttribute("end-overflow", ""); - this._endOverflowText = this.overflowButtonText; - } - _updateStartAndEndOverflow(e) { - let t = this._getTabStrip().offsetWidth; - const r = this._getRootTab(this._selectedTab).getTabInStripDomRef(), n = this._getSelectedItemIndexAndWidth(e, r), s = this._hasStartOverflow(t, e, n), l = this._hasEndOverflow(t, e, n); - let T, w; - if (!s) { - this._getEndOverflow().removeAttribute("hidden"), t = this._getTabStrip().offsetWidth, w = this._findLastVisibleItem(e, t, n.width); - for (let S = w + 1; S < e.length; S++) - e[S].setAttribute("hidden", ""), e[S].setAttribute("end-overflow", ""); - return; - } - if (!l) { - this._getStartOverflow().removeAttribute("hidden"), t = this._getTabStrip().offsetWidth, T = this._findFirstVisibleItem(e, t, n.width); - for (let S = T - 1; S >= 0; S--) - e[S].setAttribute("hidden", ""), e[S].setAttribute("start-overflow", ""); - return; - } - this._getStartOverflow().removeAttribute("hidden"), this._getEndOverflow().removeAttribute("hidden"), t = this._getTabStrip().offsetWidth, T = this._findFirstVisibleItem(e, t, n.width, n.index - 1), w = this._findLastVisibleItem(e, t, n.width, T); - for (let S = T - 1; S >= 0; S--) - e[S].setAttribute("hidden", ""), e[S].setAttribute("start-overflow", ""); - for (let S = w + 1; S < e.length; S++) - e[S].setAttribute("hidden", ""), e[S].setAttribute("end-overflow", ""); - } - _hasStartOverflow(e, t, o) { - if (o.index === 0) - return !1; - let r = 0; - for (let s = o.index - 1; s >= 0; s--) - r += this._getItemWidth(t[s]); - let n = e < r + o.width; - return n || (this._getEndOverflow().removeAttribute("hidden"), e = this._getTabStrip().offsetWidth, n = e < r + o.width, this._getEndOverflow().setAttribute("hidden", "")), n; - } - _hasEndOverflow(e, t, o) { - if (o.index >= t.length) - return !1; - let r = 0; - for (let s = o.index; s < t.length; s++) - r += this._getItemWidth(t[s]); - let n = e < r + o.width; - return n || (this._getStartOverflow().removeAttribute("hidden"), e = this._getTabStrip().offsetWidth, n = e < r + o.width, this._getStartOverflow().setAttribute("hidden", "")), n; - } - _getItemWidth(e) { - const t = window.getComputedStyle(e), o = Number.parseInt(t.marginLeft) + Number.parseInt(t.marginRight); - return e.offsetWidth + o; - } - _getSelectedItemIndexAndWidth(e, t) { - let o = e.indexOf(t), r = t.offsetWidth, n; - return e[o - 1] && e[o - 1].isSeparator && (n = e[o - 1], r += this._getItemWidth(n)), e.splice(o, 1), n && (e.splice(o - 1, 1), o--), { - index: o, - width: r - }; - } - _findFirstVisibleItem(e, t, o, r) { - r === void 0 && (r = e.length - 1); - let n = r + 1; - for (let s = r; s >= 0; s--) { - const l = this._getItemWidth(e[s]); - if (t < o + l) - break; - o += l, n = s; - } - return n; - } - _findLastVisibleItem(e, t, o, r = 0) { - let n = r - 1, s = r; - for (; s < e.length; s++) { - const T = this._getItemWidth(e[s]); - if (t < o + T) - break; - o += T, n = s; - } - const l = e[s - 1]; - return l && l.isSeparator && (n -= 1), n; - } - get isModeStartAndEnd() { - return this.tabsOverflowMode === V1.StartAndEnd; - } - _updateOverflowCounters() { - let e = 0, t = 0; - this._getTabs().map((o) => o.getTabInStripDomRef()).forEach((o) => { - o.hasAttribute("start-overflow") && e++, o.hasAttribute("end-overflow") && t++; - }), this._startOverflowText = `+${e}`, this._endOverflowText = `+${t}`; - } - _getFocusableRefs() { - if (!this.getDomRef()) - return []; - const e = []; - return this._getStartOverflow().hasAttribute("hidden") || e.push(this.startOverflowButton[0] || this._getStartOverflowBtnDOM()), this._getTabs().forEach((t) => { - const o = t.getTabInStripDomRef(); - o && !o.hasAttribute("hidden") && e.push(t); - }), this._getEndOverflow().hasAttribute("hidden") || e.push(this.overflowButton[0] || this._getEndOverflowBtnDOM()), e; - } - _getHeader() { - return this.shadowRoot.querySelector(`#${this._id}-header`); - } - _getTabs() { - return this.items.filter((e) => !e.isSeparator); - } - get hasSubTabs() { - const e = this._getTabs(); - for (let t = 0; t < e.length; t++) - if (e[t].subTabs.length > 0) - return !0; - return !1; - } - _getTabStrip() { - return this.shadowRoot.querySelector(`#${this._id}-tabStrip`); - } - _getStartOverflow() { - return this.shadowRoot.querySelector(".ui5-tc__overflow--start"); - } - _getEndOverflow() { - return this.shadowRoot.querySelector(".ui5-tc__overflow--end"); - } - _getStartOverflowBtnDOM() { - return this._getStartOverflow().querySelector("[ui5-button]"); - } - _getEndOverflowBtnDOM() { - return this._getEndOverflow().querySelector("[ui5-button]"); - } - async _respPopover() { - return (await this.getStaticAreaItemDomRef()).querySelector(`#${this._id}-overflowMenu`); - } - async _closeRespPopover() { - this.responsivePopover = await this._respPopover(), this.responsivePopover.close(); - } - get classes() { - return { - root: { - "ui5-tc-root": !0, - "ui5-tc--textOnly": this.textOnly, - "ui5-tc--withAdditionalText": this.withAdditionalText, - "ui5-tc--standardTabLayout": this.standardTabLayout - }, - header: { - "ui5-tc__header": !0 - }, - tabStrip: { - "ui5-tc__tabStrip": !0 - }, - separator: { - "ui5-tc__separator": !0 - }, - content: { - "ui5-tc__content": !0, - "ui5-tc__content--collapsed": this._contentCollapsed - } - }; - } - get mixedMode() { - return this.items.some((e) => e.icon) && this.items.some((e) => e.text); - } - get textOnly() { - return this.items.every((e) => !e.icon); - } - get withAdditionalText() { - return this.items.some((e) => !!e.additionalText); - } - get standardTabLayout() { - return this.tabLayout === Ch.Standard; - } - get previousIconACCName() { - return Pn.i18nBundle.getText(M4); - } - get nextIconACCName() { - return Pn.i18nBundle.getText(N4); - } - get overflowMenuTitle() { - return Pn.i18nBundle.getText(L4); - } - get tabsAtTheBottom() { - return this.tabsPlacement === M1.Bottom; - } - get overflowMenuIcon() { - return this.tabsAtTheBottom ? "slim-arrow-up" : "slim-arrow-down"; - } - get overflowButtonText() { - return Pn.i18nBundle.getText(fv); - } - get popoverCancelButtonText() { - return Pn.i18nBundle.getText(F4); - } - get accInvisibleText() { - return Pn.i18nBundle.getText(z4); - } - get tablistAriaDescribedById() { - return this.hasSubTabs ? `${this._id}-invisibleText` : void 0; - } - get shouldAnimate() { - return Oa() !== Vn.None; - } - static async onDefine() { - Pn.i18nBundle = await pe("@ui5/webcomponents"); - } -}; -Qt([ - x({ type: Boolean }) -], It.prototype, "fixed", void 0); -Qt([ - x({ type: Boolean }) -], It.prototype, "collapsed", void 0); -Qt([ - x({ type: Boolean }) -], It.prototype, "showOverflow", void 0); -Qt([ - x({ type: Ch, defaultValue: Ch.Standard }) -], It.prototype, "tabLayout", void 0); -Qt([ - x({ type: V1, defaultValue: V1.End }) -], It.prototype, "tabsOverflowMode", void 0); -Qt([ - x({ type: wh, defaultValue: wh.Solid }) -], It.prototype, "headerBackgroundDesign", void 0); -Qt([ - x({ type: wh, defaultValue: wh.Solid }) -], It.prototype, "contentBackgroundDesign", void 0); -Qt([ - x({ type: M1, defaultValue: M1.Top }) -], It.prototype, "tabsPlacement", void 0); -Qt([ - x({ type: Object }) -], It.prototype, "_selectedTab", void 0); -Qt([ - x({ type: Boolean, noAttribute: !0 }) -], It.prototype, "_animationRunning", void 0); -Qt([ - x({ type: Boolean, noAttribute: !0 }) -], It.prototype, "_contentCollapsed", void 0); -Qt([ - x({ noAttribute: !0, defaultValue: "0" }) -], It.prototype, "_startOverflowText", void 0); -Qt([ - x({ noAttribute: !0, defaultValue: "More" }) -], It.prototype, "_endOverflowText", void 0); -Qt([ - x({ type: Object, multiple: !0 }) -], It.prototype, "_overflowItems", void 0); -Qt([ - x({ validator: ne, noAttribute: !0 }) -], It.prototype, "_width", void 0); -Qt([ - K({ - default: !0, - type: HTMLElement, - individualSlots: !0, - invalidateOnChildChange: { - properties: !0, - slots: !1 - } - }) -], It.prototype, "items", void 0); -Qt([ - K() -], It.prototype, "overflowButton", void 0); -Qt([ - K() -], It.prototype, "startOverflowButton", void 0); -It = Pn = Qt([ - X({ - tag: "ui5-tabcontainer", - languageAware: !0, - fastNavigation: !0, - styles: [WC, nU], - staticAreaStyles: [Fr, jC], - renderer: ue, - template: GV, - staticAreaTemplate: rU, - dependencies: [ - Ne, - Pe, - fo, - po - ] - }), - U("tab-select", { - detail: { - /** - * @public - */ - tab: { type: HTMLElement }, - /** - * @public - */ - tabIndex: { type: Number } - } - }) -], It); -const sU = (i) => i.localName === "div" && i.getAttribute("role") === "tab", Td = (i) => { - for (; i; ) { - if (sU(i)) - return i; - i = i.parentElement; - } - return !1; -}, U1 = (i, e) => { - [...i].forEach((t) => { - e(t), t.subTabs && U1(t.subTabs, e); - }); -}; -It.define(); -const a_ = It; -function lU(i, e, t) { - return y`
    ${Y(this.tabs, (o, r) => o._id || r, (o, r) => cU.call(this, i, e, t, o, r))}
    `; -} -function cU(i, e, t, o, r) { - return y``; -} -function uU(i, e, t) { - return y``; +} +function dO(i, e, t) { + return y`
    `; +} +function hO(i, e, t) { + return y`
    ${a(this.titleText)}
    `; +} +function _O(i, e, t) { + return y`
    ${a(this.status)}
    `; +} +function pO(i, e, t) { + return y`
    ${a(this.subtitleText)}
    `; +} +function fO(i, e, t) { + return y`
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const vO = { packageName: "@ui5/webcomponents", fileName: "themes/CardHeader.css.ts", content: `.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-card-header{position:relative;display:flex;align-items:center;padding:var(--_ui5-v1-22-1-rc-0_card_header_padding);outline:none}:host([subtitleText]) .ui5-card-header{align-items:flex-start}.ui5-card-header.ui5-card-header-ff:not(.ui5-card-header-hide-focus):focus-within:before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header:not(.ui5-card-header-ff):not(.ui5-card-header-hide-focus):has(.ui5-card-header-focusable-element:focus):before{outline:none;content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_card_header_focus_border);pointer-events:none;top:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);left:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);right:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_card_header_focus_offset);border-top-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-top-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_radius);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_card_header_focus_bottom_radius)}.ui5-card-header-focusable-element{outline:none}.ui5-card-header-focusable-element{display:inherit;align-items:inherit;flex:1}.ui5-card-header.ui5-card-header--interactive:hover{cursor:pointer;background:var(--_ui5-v1-22-1-rc-0_card_header_hover_bg)}.ui5-card-header.ui5-card-header--active,.ui5-card-header.ui5-card-header--interactive:active{background:var(--_ui5-v1-22-1-rc-0_card_header_active_bg)}.ui5-card-header .ui5-card-header-text{flex:1;pointer-events:none}.ui5-card-header-first-line{display:flex;flex-flow:row;justify-content:space-between}.ui5-card-header-status{flex:none}.ui5-card-header .ui5-card-header-avatar{height:3rem;width:3rem;display:flex;align-items:center;justify-content:center;margin-inline-end:.75rem;pointer-events:none;align-self:flex-start}::slotted([ui5-icon]){width:1.5rem;height:1.5rem;color:var(--sapTile_IconColor)}::slotted(img[slot="avatar"]){width:100%;height:100%;border-radius:50%}.ui5-card-header .ui5-card-header-status{display:inline-block;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSmallSize);color:var(--sapTile_TextColor);text-align:left;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;vertical-align:middle;margin-inline-start:1rem;margin-block-start:.125rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{font-family:var(--_ui5-v1-22-1-rc-0_card_header_title_font_family);font-size:var(--_ui5-v1-22-1-rc-0_card_header_title_font_size);font-weight:var(--_ui5-v1-22-1-rc-0_card_header_title_font_weight);color:var(--sapTile_TitleTextColor);max-height:3.5rem;align-self:flex-end}.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapTile_TextColor);margin-top:var(--_ui5-v1-22-1-rc-0_card_header_subtitle_margin_top);max-height:2.1rem}.ui5-card-header .ui5-card-header-text .ui5-card-header-title,.ui5-card-header .ui5-card-header-text .ui5-card-header-subtitle{text-align:start;text-overflow:ellipsis;white-space:normal;word-wrap:break-word;overflow:hidden;-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;max-width:100%}.ui5-card-header .ui5-card-header-text .ui5-card-header-title{-webkit-line-clamp:3}.ui5-card-header-action{display:flex;padding-inline-start:1rem;align-self:flex-start} +` }; +var ta = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, ul; +let $r = ul = class extends te { + get classes() { + return { + root: { + "ui5-card-header": !0, + "ui5-card-header--interactive": this.interactive, + "ui5-card-header--active": this.interactive && this._headerActive, + "ui5-card-header-ff": py() + } + }; + } + get _root() { + return this.shadowRoot.querySelector(".ui5-card-header"); + } + get ariaRoleDescription() { + return this.interactive ? ul.i18nBundle.getText(Qw) : ul.i18nBundle.getText(Zw); + } + get ariaRoleFocusableElement() { + return this.interactive ? "button" : null; + } + get ariaCardAvatarLabel() { + return ul.i18nBundle.getText(lv); + } + get ariaLabelledBy() { + const e = []; + return this.titleText && e.push(`${this._id}-title`), this.subtitleText && e.push(`${this._id}-subtitle`), this.status && e.push(`${this._id}-status`), this.hasAvatar && e.push(`${this._id}-avatar`), e.length !== 0 ? e.join(" ") : void 0; + } + get hasAvatar() { + return !!this.avatar.length; + } + get hasAction() { + return !!this.action.length; + } + static async onDefine() { + ul.i18nBundle = await pe("@ui5/webcomponents"); + } + _actionsFocusin() { + this._root.classList.add("ui5-card-header-hide-focus"); + } + _actionsFocusout() { + this._root.classList.remove("ui5-card-header-hide-focus"); + } + _click(e) { + e.stopImmediatePropagation(), this.interactive && this._root.contains(e.target) && this.fireEvent("click"); + } + _keydown(e) { + if (!this.interactive || !this._root.contains(e.target)) + return; + const t = Se(e), o = se(e); + if (this._headerActive = t || o, t) { + this.fireEvent("click"); + return; + } + o && e.preventDefault(); + } + _keyup(e) { + if (!this.interactive || !this._root.contains(e.target)) + return; + const t = se(e); + this._headerActive = !1, t && this.fireEvent("click"); + } +}; +ta([ + x() +], $r.prototype, "titleText", void 0); +ta([ + x() +], $r.prototype, "subtitleText", void 0); +ta([ + x() +], $r.prototype, "status", void 0); +ta([ + x({ type: Boolean }) +], $r.prototype, "interactive", void 0); +ta([ + x({ validator: ne, defaultValue: 3 }) +], $r.prototype, "_ariaLevel", void 0); +ta([ + x({ type: Boolean, noAttribute: !0 }) +], $r.prototype, "_headerActive", void 0); +ta([ + K() +], $r.prototype, "avatar", void 0); +ta([ + K() +], $r.prototype, "action", void 0); +$r = ul = ta([ + X({ + tag: "ui5-card-header", + languageAware: !0, + renderer: ue, + template: uO, + styles: vO + }), + U("click") +], $r); +$r.define(); +const Bn = /* @__PURE__ */ new WeakMap(); +class Qc { + static get tasks() { + return Bn; + } + static enqueue(e, t) { + Bn.has(e) || Bn.set(e, []), Bn.get(e).push(t); + } + static run(e, t) { + return Bn.has(e) || Bn.set(e, []), t().then(() => { + const o = Bn.get(e); + if (o.length > 0) + return Qc.run(e, o.shift()); + Bn.delete(e); + }); + } + static push(e, t) { + Bn.get(e) ? Qc.enqueue(e, t) : Qc.run(e, t); + } +} +const kv = (i) => { + let e = null, t = !1, o, r, n; + const s = new Promise((l, T) => { + n = (w) => { + e = e || w; + const S = w - e, b = i.duration - S; + if (S <= i.duration) { + const v = 1 - b / i.duration; + i.advance(v), t || (o = requestAnimationFrame(n)); + } else + i.advance(1), l(); + }, r = () => { + t = !0, cancelAnimationFrame(o), T(new Error("animation stopped")); + }; + }).catch((l) => l); + return Qc.push(i.element, () => (typeof i.beforeStart == "function" && i.beforeStart(), requestAnimationFrame(n), new Promise((l) => { + s.then(() => l()); + }))), { + promise: () => s, + stop: () => r + }; +}, $v = 400, mO = (i, e, t) => { + let o, r; + return kv({ + beforeStart: () => { + o = i.scrollLeft, r = i.scrollTop; + }, + duration: $v, + element: i, + advance: (n) => { + i.scrollLeft = o + n * e, i.scrollTop = r + n * t; + } + }); +}, gO = "scroll", bO = nu() ? "touchend" : "mouseup"; +class xv extends kr { + constructor(e) { + super(), this.supportsTouch = nu(), this.containerComponent = e, this.mouseMove = this.ontouchmove.bind(this), this.mouseUp = this.ontouchend.bind(this), this.touchStart = this.ontouchstart.bind(this), this.supportsTouch = nu(), this.cachedValue = { dragX: 0, dragY: 0 }, this.startX = 0, this.startY = 0, this.supportsTouch ? (e.addEventListener("touchstart", this.touchStart, { passive: !0 }), e.addEventListener("touchmove", this.mouseMove, { passive: !0 }), e.addEventListener("touchend", this.mouseUp, { passive: !0 })) : e.addEventListener("mousedown", this.touchStart, { passive: !0 }); + } + set scrollContainer(e) { + this._container = e; + } + get scrollContainer() { + return this._container; + } + /** + * Scrolls the container to the left/top position, retrying retryCount times, if the container is not yet painted + * + * @param left + * @param top + * @param retryCount + * @param retryInterval + * @returns {Promise} resolved when scrolled successfully + */ + async scrollTo(e, t, o = 0, r = 0) { + let n = this.scrollContainer.clientHeight > 0 && this.scrollContainer.clientWidth > 0; + for (; !n && o > 0; ) + await new Promise((s) => { + setTimeout(() => { + n = this.scrollContainer.clientHeight > 0 && this.scrollContainer.clientWidth > 0, o--, s(); + }, r); + }); + this._container.scrollLeft = e, this._container.scrollTop = t; + } + move(e, t, o) { + if (o) { + this._container.scrollLeft += e, this._container.scrollTop += t; + return; + } + if (this._container) + return mO(this._container, e, t); + } + getScrollLeft() { + return this._container.scrollLeft; + } + getScrollTop() { + return this._container.scrollTop; + } + _isTouchInside(e) { + let t = null; + this.supportsTouch && e instanceof TouchEvent && (t = e.touches[0]); + const o = this._container.getBoundingClientRect(), r = this.supportsTouch ? t.clientX : e.x, n = this.supportsTouch ? t.clientY : e.y; + return r >= o.left && r <= o.right && n >= o.top && n <= o.bottom; + } + ontouchstart(e) { + let t = null; + this.supportsTouch && e instanceof TouchEvent && (t = e.touches[0]), t ? (this.startX = t.pageX, this.startY = t.pageY) : (document.addEventListener("mouseup", this.mouseUp, { passive: !0 }), document.addEventListener("mousemove", this.mouseMove, { passive: !0 })), t && (this._prevDragX = t.pageX, this._prevDragY = t.pageY), e instanceof MouseEvent && (this._prevDragX = e.x, this._prevDragY = e.y), this._canScroll = this._isTouchInside(e); + } + ontouchmove(e) { + if (!this._canScroll) + return; + const t = this._container, o = this.supportsTouch ? e.touches[0] : null, r = this.supportsTouch ? o.pageX : e.x, n = this.supportsTouch ? o.pageY : e.y; + t.scrollLeft += this._prevDragX - r, t.scrollTop += this._prevDragY - n, this.fireEvent(gO, { + isLeft: r > this._prevDragX, + isRight: r < this._prevDragX + }), this.cachedValue.dragX = this._prevDragX, this.cachedValue.dragY = this._prevDragY, this._prevDragX = r, this._prevDragY = n; + } + ontouchend(e) { + if (this.supportsTouch) { + const l = Math.abs(e.changedTouches[0].pageX - this.startX), T = Math.abs(e.changedTouches[0].pageY - this.startY); + if (l < 10 && T < 10) + return; + } + if (!this._canScroll) + return; + const t = this._container, o = this.supportsTouch ? e.changedTouches[0].pageX : e.x, r = this.supportsTouch ? e.changedTouches[0].pageY : e.y; + t.scrollLeft += this._prevDragX - o, t.scrollTop += this._prevDragY - r; + const s = o === this._prevDragX ? this.cachedValue.dragX : o; + this.fireEvent(bO, { + isLeft: s < this._prevDragX, + isRight: s > this._prevDragX + }), this._prevDragX = o, this._prevDragY = r, this.supportsTouch || (document.removeEventListener("mousemove", this.mouseMove), document.removeEventListener("mouseup", this.mouseUp)); + } +} +var d1; +(function(i) { + i.Content = "Content", i.Navigation = "Navigation"; +})(d1 || (d1 = {})); +const en = d1; +var h1; +(function(i) { + i.Default = "Default", i.Numeric = "Numeric"; +})(h1 || (h1 = {})); +const _1 = h1; +var p1; +(function(i) { + i.Solid = "Solid", i.Transparent = "Transparent", i.Translucent = "Translucent"; +})(p1 || (p1 = {})); +const ph = p1; +var f1; +(function(i) { + i.Solid = "Solid", i.None = "None"; +})(f1 || (f1 = {})); +const k5 = f1; +function yO(i, e, t) { + return y` `; +} +function wO(i, e, t, o, r) { + return y``; +} +function CO(i, e, t) { + return t ? y`` : y``; +} +function SO(i, e, t) { + return y`
    ${this.showArrows.navigation ? TO.call(this, i, e, t) : void 0}${this.showArrows.navigation ? AO.call(this, i, e, t) : void 0}
    `; +} +function TO(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} arrow-back tooltip="${a(this.previousPageText)}" class="ui5-carousel-navigation-button ${W(this.classes.navPrevButton)}" icon="slim-arrow-left" tabindex="-1" @click=${this._navButtonClick}>` : y``; +} +function IO(i, e, t) { + return y`${this.isPageTypeDots ? kO.call(this, i, e, t) : xO.call(this, i, e, t)}`; +} +function kO(i, e, t) { + return y`${Y(this.dots, (o, r) => o._id || r, (o, r) => $O.call(this, i, e, t, o, r))}`; +} +function $O(i, e, t, o, r) { + return y``; +} +function xO(i, e, t) { + return y``; +} +function AO(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} arrow-forward tooltip="${a(this.nextPageText)}" class="ui5-carousel-navigation-button ${W(this.classes.navNextButton)}" icon="slim-arrow-right" tabindex="-1" @click=${this._navButtonClick}>` : y``; +} +const EO = "slim-arrow-left", z6 = "M351.5 421q12 12 0 23-5 5-11 5t-11-5l-166-165q-9-10-9-23t9-23l165-164q5-5 11.5-5t11.5 5 5 11-5 11l-159 159q-6 6 0 12z", BO = !1, DO = "SAP-icons-v4", PO = "@ui5/webcomponents-icons"; +J(EO, { pathData: z6, ltr: BO, collection: DO, packageName: PO }); +const OO = "slim-arrow-left", H6 = "M326 96q11 0 18.5 7.5T352 122q0 10-8 18L223 256l121 116q8 8 8 18 0 11-7.5 18.5T326 416q-10 0-17-7L168 274q-8-6-8-18 0-11 8-19l141-134q7-7 17-7z", RO = !1, NO = "SAP-icons-v5", MO = "@ui5/webcomponents-icons"; +J(OO, { pathData: H6, ltr: RO, collection: NO, packageName: MO }); +Te(); +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const LO = { packageName: "@ui5/webcomponents", fileName: "themes/Carousel.css.ts", content: `:host(:not([hidden])){display:inline-block}:host{width:100%;min-width:15.5rem;height:100%}.ui5-carousel-root:focus{outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-carousel-root{height:inherit;position:relative;display:flex;flex-direction:column;align-items:center;background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-background-solid{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_solid)}.ui5-carousel-background-transparent{background:transparent}.ui5-carousel-viewport{width:100%;height:inherit;position:relative;display:flex;flex-direction:column;align-items:flex-start;overflow:hidden;padding:1px;flex:1;min-height:0}.ui5-carousel-viewport.ui5-carousel-viewport--single{align-items:center}.ui5-carousel-content{height:100%;position:relative;display:flex;flex-direction:row;flex-wrap:nowrap;transition:transform .5s cubic-bezier(.46,0,.44,1);will-change:transform}.ui5-carousel-content.ui5-carousel-content-no-animation{transition:none}.ui5-carousel-content.ui5-carousel-content-has-navigation{height:calc(100% - 1rem)}.ui5-carousel-item{height:100%;display:flex;align-items:center;justify-content:center;padding:0 .75rem;box-sizing:border-box;transition:opacity .5s linear;will-change:opacity}.ui5-carousel-item--hidden{opacity:0}.ui5-carousel-navigation-arrows{width:100%;padding:0 .5rem;position:absolute;top:calc(50% - var(--ui5-v1-22-1-rc-0_carousel_button_size) / 2);left:0;display:flex;justify-content:space-between;box-sizing:border-box;pointer-events:none}.ui5-carousel-navigation-arrows>[ui5-button]{pointer-events:all}.ui5-carousel-navigation-wrapper{width:100%;height:2.75rem;display:flex;flex-wrap:nowrap;justify-content:center;align-items:center;box-sizing:border-box}.ui5-carousel-navigation-wrapper-bg-solid{background:var(--sapPageFooter_Background)}.ui5-carousel-navigation-wrapper-bg-translucent{background:var(--ui5-v1-22-1-rc-0_carousel_background_color_translucent)}.ui5-carousel-navigation-wrapper-bg-transparent{background:transparent}.ui5-carousel-navigation-wrapper-border-solid{border-top:var(--sapElement_BorderWidth) solid var(--sapList_BorderColor)}.ui5-carousel-navigation-wrapper.ui5-carousel-navigation-with-buttons{height:3.5rem}.ui5-carousel-navigation-button{width:var(--ui5-v1-22-1-rc-0_carousel_button_size);height:var(--ui5-v1-22-1-rc-0_carousel_button_size);border-radius:50%;box-shadow:none;cursor:pointer;outline-offset:.1rem;--_ui5-v1-22-1-rc-0_button_focused_border_radius: 50%}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button{box-shadow:var(--sapContent_Shadow1)}.ui5-carousel-navigation-arrows .ui5-carousel-navigation-button:active{box-shadow:var(--ui5-v1-22-1-rc-0_carousel_navigation_button_active_box_shadow)}.ui5-carousel-navigation-button--hidden{visibility:hidden;padding:0}.ui5-carousel-navigation{width:9rem;height:2rem;display:flex;justify-content:center;align-items:center}.ui5-carousel-navigation-dot{box-sizing:border-box;width:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);height:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_size);margin:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_margin);border-radius:50%;background-color:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_inactive_dot_border);transition:background-color .1s ease-in}.ui5-carousel-navigation-dot[active]{width:.5rem;height:.5rem;margin:0 .25rem;background-color:var(--ui5-v1-22-1-rc-0_carousel_active_dot_background);border:var(--ui5-v1-22-1-rc-0_carousel_active_dot_border)}.ui5-carousel-navigation-text{font-family:var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400;color:var(--sapPageFooter_TextColor);white-space:nowrap;overflow:hidden;text-align:center;text-overflow:ellipsis} +` }; +var wi = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Ca; +let Lt = Ca = class extends te { + static get pageTypeLimit() { + return 9; + } + constructor() { + super(), this._scrollEnablement = new xv(this), this._scrollEnablement.attachEvent("touchend", (e) => { + this._updateScrolling(e); + }), this._onResizeBound = this._onResize.bind(this), this._resizing = !1, this._lastFocusedElements = [], this._orderOfLastFocusedPages = []; + } + onBeforeRendering() { + this.arrowsPlacement === en.Navigation && (this._visibleNavigationArrows = !0), this.validateSelectedIndex(); + } + onAfterRendering() { + this._scrollEnablement.scrollContainer = this.getDomRef(), this._resizing = !1; + } + onEnterDOM() { + Ce.register(this, this._onResizeBound); + } + onExitDOM() { + Ce.deregister(this, this._onResizeBound); + } + validateSelectedIndex() { + this.isIndexInRange(this._selectedIndex) || (this._selectedIndex = 0); + } + _onResize() { + const e = this.effectiveItemsPerPage; + this._resizing = !0, this._width = this.offsetWidth, this._itemWidth = Math.floor(this._width / this.effectiveItemsPerPage), this.effectiveItemsPerPage !== e && this._selectedIndex > this.pagesCount - 1 && (this._selectedIndex = this.pagesCount - 1, this.fireEvent("navigate", { selectedIndex: this._selectedIndex })); + } + _updateScrolling(e) { + e && (e.isLeft ? this.navigateLeft() : e.isRight && this.navigateRight()); + } + async _onkeydown(e) { + if (Hy(e)) { + this._handleF7Key(e); + return; + } + e.target === this.getDomRef() && (Ct(e) || Ue(e) ? (this.navigateLeft(), await Mt(), this.getDomRef().focus()) : (dt(e) || Ye(e)) && (this.navigateRight(), await Mt(), this.getDomRef().focus())); + } + _onfocusin(e) { + const t = e.target; + if (t === this.getDomRef()) + return; + let o = -1; + for (let n = 0; n < this.content.length; n++) + if (this.content[n].contains(t)) { + o = n; + break; + } + if (o === -1) + return; + this._lastFocusedElements[o] = t; + const r = this._orderOfLastFocusedPages.indexOf(o); + r === -1 ? this._orderOfLastFocusedPages.unshift(o) : this._orderOfLastFocusedPages.splice(0, 0, this._orderOfLastFocusedPages.splice(r, 1)[0]); + } + _onmouseout() { + this.arrowsPlacement === en.Content && (this._visibleNavigationArrows = !1); + } + _onmouseover() { + this.arrowsPlacement === en.Content && (this._visibleNavigationArrows = !0); + } + _handleF7Key(e) { + const t = this._lastFocusedElements[this._getLastFocusedActivePageIndex]; + e.target === this.getDomRef() && t ? t.focus() : this.getDomRef().focus(); + } + get _backgroundDesign() { + return this.backgroundDesign.toLowerCase(); + } + get _getLastFocusedActivePageIndex() { + for (let e = 0; e < this._orderOfLastFocusedPages.length; e++) { + const t = this._orderOfLastFocusedPages[e]; + if (this.isItemInViewport(t)) + return t; + } + return this._selectedIndex; + } + navigateLeft() { + this._resizing = !1; + const e = this._selectedIndex; + this._selectedIndex - 1 < 0 ? this.cyclic && (this._selectedIndex = this.pagesCount - 1) : --this._selectedIndex, e !== this._selectedIndex && this.fireEvent("navigate", { selectedIndex: this._selectedIndex }); + } + navigateRight() { + this._resizing = !1; + const e = this._selectedIndex; + if (this._selectedIndex + 1 > this.pagesCount - 1) + if (this.cyclic) + this._selectedIndex = 0; + else + return; + else + ++this._selectedIndex; + e !== this._selectedIndex && this.fireEvent("navigate", { selectedIndex: this._selectedIndex }); + } + _navButtonClick(e) { + e.target.hasAttribute("arrow-forward") ? this.navigateRight() : this.navigateLeft(), this.focus(); + } + /** + * Changes the currently displayed page. + * @param itemIndex The index of the target page + * @since 1.0.0-rc.15 + * @public + */ + navigateTo(e) { + this._resizing = !1, this._selectedIndex = e; + } + /** + * Assuming that all items have the same width + * @private + */ + get items() { + return this.content.map((e, t) => { + const o = this.isItemInViewport(t); + return { + id: `${this._id}-carousel-item-${t + 1}`, + item: e, + tabIndex: o ? "0" : "-1", + posinset: `${t + 1}`, + setsize: `${this.content.length}`, + styles: { + width: `${this._itemWidth || 0}px` + }, + classes: o ? "" : "ui5-carousel-item--hidden" + }; + }); + } + get effectiveItemsPerPage() { + return this._width ? this._width <= 640 ? this.itemsPerPageS : this._width <= 1024 ? this.itemsPerPageM : this.itemsPerPageL : this.itemsPerPageL; + } + isItemInViewport(e) { + return e >= this._selectedIndex && e <= this._selectedIndex + this.effectiveItemsPerPage - 1; + } + isIndexInRange(e) { + return e >= 0 && e <= this.pagesCount - 1; + } + /** + * @private + */ + get renderNavigation() { + return this.hasManyPages ? this.arrowsPlacement === en.Navigation && !this.hideNavigationArrows ? !0 : !this.hidePageIndicator : !1; + } + get hasManyPages() { + return this.pagesCount > 1; + } + get styles() { + const e = this._itemWidth || 0; + return { + content: { + transform: `translateX(${this._isRTL ? "" : "-"}${this._selectedIndex * e}px` + } + }; + } + get classes() { + return { + viewport: { + "ui5-carousel-viewport": !0, + "ui5-carousel-viewport--single": this.pagesCount === 1 + }, + content: { + "ui5-carousel-content": !0, + "ui5-carousel-content-no-animation": this.suppressAnimation, + "ui5-carousel-content-has-navigation": this.renderNavigation, + "ui5-carousel-content-has-navigation-and-buttons": this.renderNavigation && this.arrowsPlacement === en.Navigation && !this.hideNavigationArrows + }, + navigation: { + "ui5-carousel-navigation-wrapper": !0, + "ui5-carousel-navigation-with-buttons": this.renderNavigation && this.arrowsPlacement === en.Navigation && !this.hideNavigationArrows, + [`ui5-carousel-navigation-wrapper-bg-${this.pageIndicatorBackgroundDesign.toLowerCase()}`]: !0, + [`ui5-carousel-navigation-wrapper-border-${this.pageIndicatorBorderDesign.toLowerCase()}`]: !0 + }, + navPrevButton: { + "ui5-carousel-navigation-button--hidden": !this.hasPrev + }, + navNextButton: { + "ui5-carousel-navigation-button--hidden": !this.hasNext + } + }; + } + get pagesCount() { + const e = this.content.length; + return e > this.effectiveItemsPerPage ? e - this.effectiveItemsPerPage + 1 : 1; + } + get isPageTypeDots() { + return this.pageIndicatorStyle === _1.Numeric ? !1 : this.pagesCount < Ca.pageTypeLimit; + } + get dots() { + const e = [], t = this.pagesCount; + for (let o = 0; o < t; o++) + e.push({ + active: o === this._selectedIndex, + ariaLabel: Ca.i18nBundle.getText(b3, o + 1, t) + }); + return e; + } + get showArrows() { + const e = this._visibleNavigationArrows && this.hasManyPages && Zo(); + return { + content: !this.hideNavigationArrows && e && this.arrowsPlacement === en.Content, + navigation: !this.hideNavigationArrows && e && this.arrowsPlacement === en.Navigation + }; + } + get hasPrev() { + return this.cyclic || this._selectedIndex - 1 >= 0; + } + get hasNext() { + return this.cyclic || this._selectedIndex + 1 <= this.pagesCount - 1; + } + get suppressAnimation() { + return this._resizing || Oa() === Vn.None; + } + get _isRTL() { + return this.effectiveDir === "rtl"; + } + get selectedIndexToShow() { + return this._isRTL ? this.pagesCount - (this.pagesCount - this._selectedIndex) + 1 : this._selectedIndex + 1; + } + get ofText() { + return Ca.i18nBundle.getText(g3); + } + get ariaActiveDescendant() { + return this.content.length ? `${this._id}-carousel-item-${this._selectedIndex + 1}` : void 0; + } + get nextPageText() { + return Ca.i18nBundle.getText(w3); + } + get previousPageText() { + return Ca.i18nBundle.getText(y3); + } + /** + * The indices of the currently visible items of the component. + * @public + * @since 1.0.0-rc.15 + * @default [] + */ + get visibleItemsIndices() { + const e = []; + return this.items.forEach((t, o) => { + this.isItemInViewport(o) && e.push(o); + }), e; + } + static async onDefine() { + Ca.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +wi([ + x({ type: Boolean }) +], Lt.prototype, "cyclic", void 0); +wi([ + x({ validator: ne, defaultValue: 1 }) +], Lt.prototype, "itemsPerPageS", void 0); +wi([ + x({ validator: ne, defaultValue: 1 }) +], Lt.prototype, "itemsPerPageM", void 0); +wi([ + x({ validator: ne, defaultValue: 1 }) +], Lt.prototype, "itemsPerPageL", void 0); +wi([ + x({ type: Boolean }) +], Lt.prototype, "hideNavigationArrows", void 0); +wi([ + x({ type: Boolean }) +], Lt.prototype, "hidePageIndicator", void 0); +wi([ + x({ type: _1, defaultValue: _1.Default }) +], Lt.prototype, "pageIndicatorStyle", void 0); +wi([ + x({ type: ph, defaultValue: ph.Translucent }) +], Lt.prototype, "backgroundDesign", void 0); +wi([ + x({ type: ph, defaultValue: ph.Solid }) +], Lt.prototype, "pageIndicatorBackgroundDesign", void 0); +wi([ + x({ type: k5, defaultValue: k5.Solid }) +], Lt.prototype, "pageIndicatorBorderDesign", void 0); +wi([ + x({ validator: ne, defaultValue: 0 }) +], Lt.prototype, "_selectedIndex", void 0); +wi([ + x({ type: en, defaultValue: en.Content }) +], Lt.prototype, "arrowsPlacement", void 0); +wi([ + x({ validator: ne }) +], Lt.prototype, "_width", void 0); +wi([ + x({ validator: ne }) +], Lt.prototype, "_itemWidth", void 0); +wi([ + x({ type: Boolean, noAttribute: !0 }) +], Lt.prototype, "_visibleNavigationArrows", void 0); +wi([ + K({ default: !0, type: HTMLElement, individualSlots: !0 }) +], Lt.prototype, "content", void 0); +Lt = Ca = wi([ + X({ + tag: "ui5-carousel", + languageAware: !0, + fastNavigation: !0, + renderer: ue, + styles: LO, + template: yO, + dependencies: [ + Ne, + Jn + ] + }), + U("navigate", { + detail: { + /** + * @public + */ + selectedIndex: { type: ne } + } + }) +], Lt); +Lt.define(); +const FO = Lt; +class Ju extends qu { + static isValid(e) { + return /^(#([0-9a-fA-F]{3}|[0-9a-fA-F]{6})|rgb\(\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*(,\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|rgba\((\s*((1?[0-9]?[0-9]|2([0-4][0-9]|5[0-5]))|([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){3}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|hsl\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*(,\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*){2}\)|hsla\(\s*([0-2]?[0-9]?[0-9]|3([0-5][0-9]|60))\s*,(\s*(([0-9]?[0-9](\.[0-9]+)?|100(\.0+)?)%)\s*,){2}\s*(0(\.[0-9]+)?|1(\.0+)?)\s*\)|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|darkgrey|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkslategrey|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dimgrey|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|grey|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgray|lightgrey|lightgreen|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightslategrey|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|silverskyblue|slateblue|slategray|slategrey|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen|transparent|inherit|)$/.test(e); + } +} +function zO(i, e, t) { + return y`
    ${this.showDefaultColor ? HO.call(this, i, e, t) : void 0}
    ${Y(this.displayedColors, (o, r) => o._id || r, (o, r) => VO.call(this, i, e, t, o, r))}
    ${this._showMoreColors ? UO.call(this, i, e, t) : void 0}${this.showRecentColors ? qO.call(this, i, e, t) : void 0}
    `; +} +function HO(i, e, t) { + return t ? y`
    <${E("ui5-button", e, t)} class="ui5-cp-default-color-button" design="Transparent" @click=${this._onDefaultColorClick} @keydown=${this._onDefaultColorKeyDown}>${a(this.colorPaletteDefaultColorText)}
    ` : y`
    ${a(this.colorPaletteDefaultColorText)}
    `; +} +function VO(i, e, t, o, r) { + return y``; +} +function UO(i, e, t) { + return t ? y`
    <${E("ui5-button", e, t)} design="Transparent" class="ui5-cp-more-colors" @click="${this._openMoreColorsDialog}" @keydown=${this._onMoreColorsKeyDown}>${a(this.colorPaletteMoreColorsText)}
    ` : y`
    ${a(this.colorPaletteMoreColorsText)}
    `; +} +function qO(i, e, t) { + return y`
    ${Y(this.recentColors, (o, r) => o._id || r, (o, r) => WO.call(this, i, e, t, o, r))}
    `; +} +function WO(i, e, t, o, r) { + return t ? y`<${E("ui5-color-palette-item", e, t)} value="${a(o)}">` : y``; +} +function jO(i, e, t) { + return t ? y`<${E("ui5-dialog", e, t)} header-text="${a(this.moreColorsFeature.colorPaletteDialogTitle)}">
    <${E("ui5-color-picker", e, t)}>
    ` : y`
    `; +} +function GO(i, e, t) { + return y`
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const YO = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPaletteItem.css.ts", content: `:host(:not([hidden])){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-height);border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-outer-border-radius);display:inline-block;margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-margin);box-sizing:border-box}:host(:not([_disabled]):hover){height:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);width:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-height);margin:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-margin);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-outer-border-radius)}:host(:not([hidden])[phone]){height:2.75rem;width:2.75rem;border:1px solid var(--sapContent_ForegroundBorderColor);border-radius:.25rem;display:inline-block;margin:.375rem}.ui5-cp-item{position:relative;box-sizing:border-box;border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-inner-border-radius);width:100%;height:100%}:host(:not([_disabled]):not([phone]):hover) .ui5-cp-item{border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius)}:host(:not([_disabled])[phone]) .ui5-cp-item{border-radius:.1875rem}.ui5-cp-item:hover:not(:focus){border:1px solid var(--sapGroup_ContentBackground);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-hover-inner-border-radius);box-sizing:border-box}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus{outline:none}:host(:not([_disabled]):not([phone]):focus) .ui5-cp-item{pointer-events:none}:host(:not([_disabled]):not([phone])) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled])) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):before{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-before-focus-border-radius);pointer-events:none}:host(:not([_disabled]):not([phone]):hover:focus) .ui5-cp-item:focus:not(:hover):after{content:"";box-sizing:border-box;position:absolute;left:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);top:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);right:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);bottom:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-hover-offset);border:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-color);border-radius:var(--_ui5-v1-22-1-rc-0_color-palette-item-after-focus-border-radius);pointer-events:none} +` }; +var pc = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Ld; +let Yn = Ld = class extends te { + static async onDefine() { + Ld.i18nBundle = await pe("@ui5/webcomponents"); + } + constructor() { + super(); + } + onBeforeRendering() { + this._disabled = !this.value, this.phone = ce(); + } + get colorLabel() { + return Ld.i18nBundle.getText(T3); + } + get styles() { + return { + root: { + "background-color": this.value + } + }; + } +}; +pc([ + x({ validator: Ju }) +], Yn.prototype, "value", void 0); +pc([ + x({ defaultValue: "-1", noAttribute: !0 }) +], Yn.prototype, "forcedTabIndex", void 0); +pc([ + x({ validator: ne }) +], Yn.prototype, "index", void 0); +pc([ + x({ type: Boolean }) +], Yn.prototype, "phone", void 0); +pc([ + x({ type: Boolean }) +], Yn.prototype, "_disabled", void 0); +Yn = Ld = pc([ + X({ + tag: "ui5-color-palette-item", + renderer: ue, + styles: YO, + template: GO + }) +], Yn); +Yn.define(); +const XO = Yn; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const KO = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPalette.css.ts", content: `:host(:not([hidden])){display:inline-block}:host(:not([hidden])[popup-mode]){width:100%}.ui5-cp-root{display:flex;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone,.ui5-cp-separator,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-more-colors-wrapper,.ui5-cp-root.ui5-cp-root-phone .ui5-cp-default-color-button-wrapper,.ui5-cp-recent-colors-wrapper{width:100%}.ui5-cp-root.ui5-cp-root-phone .ui5-cp-item-container{width:18.5rem;max-width:19.5rem;max-height:13rem;padding:.375rem .625rem}.ui5-cp-recent-colors-wrapper{display:flex;align-items:center;flex-direction:column}.ui5-cp-root.ui5-cp-root-phone{display:flex;align-items:center}.ui5-cp-item-container{display:flex;max-width:var(--_ui5-v1-22-1-rc-0_color-palette-row-width);flex-flow:wrap;max-height:var(--_ui5-v1-22-1-rc-0_color-palette-row-height);overflow:hidden;padding:var(--_ui5-v1-22-1-rc-0_color-palette-swatch-container-padding)}.ui5-cp-more-colors,.ui5-cp-default-color-button{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);text-align:center;border:none}.ui5-cp-more-colors-wrapper,.ui5-cp-default-color-button-wrapper{display:flex;flex-direction:column}.ui5-cp-separator{height:.0625rem;background:var(--sapToolbar_SeparatorColor)}.ui5-cp-default-color-button,.ui5-cp-more-colors{padding:.0625rem} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const ZO = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPaletteStaticArea.css.ts", content: `.ui5-cp-dialog-content{display:flex;justify-content:center;align-items:center;margin:1rem 0}.ui5-cp-dialog-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 1rem}.ui5-cp-dialog-footer [ui5-button]:first-child{margin-right:1rem} +` }; +var Ya = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, dl; +let xr = dl = class extends te { + static async onDefine() { + const e = ze("ColorPaletteMoreColors"); + [dl.i18nBundle] = await Promise.all([ + pe("@ui5/webcomponents"), + e ? e.init() : Promise.resolve() + ]); + } + constructor() { + super(), this._itemNavigation = new $i(this, { + getItemsCallback: () => this.displayedColors, + rowSize: this.rowSize, + behavior: Ts.Cyclic + }), this._itemNavigationRecentColors = new $i(this, { + getItemsCallback: () => this.recentColorsElements, + rowSize: this.rowSize, + behavior: Ts.Static + }), this._recentColors = []; + } + onBeforeRendering() { + if (this.displayedColors.forEach((e, t) => { + e.index = t + 1; + }), this.showMoreColors) { + const e = ze("ColorPaletteMoreColors"); + if (e) + this.moreColorsFeature = new e(); + else + throw new Error('You have to import "@ui5/webcomponents/dist/features/ColorPaletteMoreColors.js" module to use the more-colors functionality.'); + } + } + onAfterRendering() { + this.popupMode && (this.showDefaultColor ? this.focusFirstFocusableElement() : this.focusFirstDisplayColorElement()); + } + selectColor(e) { + e.value && (e.focus(), this.displayedColors.includes(e) && this._itemNavigation.setCurrentItem(e), this._setColor(e.value)); + } + _setColor(e) { + this._selectedColor = e, this._recentColors[0] !== this._selectedColor && (this._recentColors.includes(this._selectedColor) ? this._recentColors.unshift(this._recentColors.splice(this._recentColors.indexOf(this._selectedColor), 1)[0]) : this._recentColors.unshift(this._selectedColor)), this.fireEvent("item-click", { + color: this._selectedColor + }); + } + _onclick(e) { + const t = e.target; + t.hasAttribute("ui5-color-palette-item") && this.selectColor(t); + } + _onkeyup(e) { + const t = e.target; + se(e) && t.hasAttribute("ui5-color-palette-item") && (e.preventDefault(), this.selectColor(t)); + } + _onkeydown(e) { + const t = e.target; + Se(e) && t.hasAttribute("ui5-color-palette-item") && this.selectColor(t); + } + _onDefaultColorKeyDown(e) { + if (Bt(e) && this.popupMode && (e.preventDefault(), this._onDefaultColorClick()), Ue(e)) + e.stopPropagation(), this.focusColorElement(this.colorPaletteNavigationElements[1], this._itemNavigation); + else if (Ye(e)) { + e.stopPropagation(); + const t = this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length - 1]; + if (this.hasRecentColors) + this.focusColorElement(t, this._itemNavigationRecentColors); + else if (this.showMoreColors) + t.focus(); + else { + const o = this.displayedColors.length % this.rowSize * this.rowSize; + this.focusColorElement(this.displayedColors[o], this._itemNavigation); + } + } + } + _onMoreColorsKeyDown(e) { + const t = e.target, o = this.colorPaletteNavigationElements.indexOf(t), r = this.displayedColors.length % this.rowSize * this.rowSize; + Ye(e) ? (e.stopPropagation(), this.focusColorElement(this.displayedColors[r], this._itemNavigation)) : Ue(e) && (e.stopPropagation(), this.hasRecentColors ? this.focusColorElement(this.colorPaletteNavigationElements[o + 1], this._itemNavigationRecentColors) : this.showDefaultColor ? this.firstFocusableElement.focus() : this.focusColorElement(this.displayedColors[0], this._itemNavigation)); + } + _onColorContainerKeyDown(e) { + const t = e.target, o = this.colorPaletteNavigationElements[this.colorPaletteNavigationElements.length - 1]; + if (Bt(e) && this.popupMode && (e.preventDefault(), this.selectColor(t)), Ye(e) && t === this.displayedColors[0] && this.colorPaletteNavigationElements.length > 1) + e.stopPropagation(), this.showDefaultColor ? this.firstFocusableElement.focus() : !this.showDefaultColor && this.hasRecentColors ? this.focusColorElement(o, this._itemNavigationRecentColors) : !this.showDefaultColor && this.showMoreColors && o.focus(); + else if (Ue(e) && t === this.displayedColors[this.displayedColors.length - 1] && this.colorPaletteNavigationElements.length > 1) { + e.stopPropagation(); + const r = this.showDefaultColor && !this.showMoreColors && this.hasRecentColors || !this.showDefaultColor && !this.showMoreColors && this.hasRecentColors; + this.showDefaultColor && this.showMoreColors ? this.colorPaletteNavigationElements[2].focus() : this.showDefaultColor && !this.showMoreColors && (!this.showRecentColors || !this.recentColors[0]) ? this.firstFocusableElement.focus() : r ? this.focusColorElement(o, this._itemNavigationRecentColors) : !this.showDefaultColor && this.showMoreColors && this.colorPaletteNavigationElements[1].focus(); + } + } + _onRecentColorsContainerKeyDown(e) { + if (Ye(e)) { + if (this.showMoreColors) { + const t = this.showDefaultColor ? 2 : 1; + this.colorPaletteNavigationElements[t].focus(); + } else if (!this.showMoreColors && this.colorPaletteNavigationElements.length > 1) { + const t = this.displayedColors.length % this.rowSize * this.rowSize; + e.stopPropagation(), this.focusColorElement(this.displayedColors[t], this._itemNavigation); + } + } else + Ue(e) && (this.showDefaultColor ? this.firstFocusableElement.focus() : (e.stopPropagation(), this.focusColorElement(this.displayedColors[0], this._itemNavigation))); + } + focusColorElement(e, t) { + t.setCurrentItem(e), t._focusCurrentItem(); + } + focusFirstDisplayColorElement() { + this.focusColorElement(this.displayedColors[0], this._itemNavigation); + } + focusFirstFocusableElement() { + this.firstFocusableElement.focus(); + } + get firstFocusableElement() { + return this.colorPaletteNavigationElements[0]; + } + async _chooseCustomColor() { + const e = await this.getColorPicker(); + this._setColor(e.color), this._closeDialog(); + } + async _closeDialog() { + (await this._getDialog()).close(); + } + async _openMoreColorsDialog() { + (await this._getDialog()).show(); + } + _onDefaultColorClick() { + this.defaultColor && this._setColor(this.defaultColor); + } + /** + * Returns the selected color. + */ + get selectedColor() { + return this._selectedColor; + } + get displayedColors() { + return this.getSlottedNodes("colors").filter((t) => t.value).slice(0, 15); + } + get colorContainerLabel() { + return dl.i18nBundle.getText(C3); + } + get colorPaletteMoreColorsText() { + return dl.i18nBundle.getText($3); + } + get colorPaletteDefaultColorText() { + return dl.i18nBundle.getText(x3); + } + get _showMoreColors() { + return this.showMoreColors && this.moreColorsFeature; + } + get rowSize() { + return 5; + } + get hasRecentColors() { + return this.showRecentColors && this.recentColors[0]; + } + get recentColors() { + for (this._recentColors.length > this.rowSize && (this._recentColors = this._recentColors.slice(0, this.rowSize)); this._recentColors.length < this.rowSize; ) + this._recentColors.push(""); + return this._recentColors; + } + get recentColorsElements() { + const e = this.getDomRef(); + return e ? Array.from(e.querySelectorAll(".ui5-cp-recent-colors-wrapper [ui5-color-palette-item]")).filter((t) => t.value !== "") : []; + } + get colorPaletteNavigationElements() { + const e = [], t = this.shadowRoot.querySelector(".ui5-cp-root"); + return this.showDefaultColor && e.push(t.querySelector(".ui5-cp-default-color-button")), e.push(this.displayedColors[0]), this.showMoreColors && e.push(t.querySelector(".ui5-cp-more-colors")), this.showRecentColors && this.recentColorsElements.length && e.push(this.recentColorsElements[0]), e; + } + get classes() { + return { + colorPaletteRoot: { + "ui5-cp-root": !0, + "ui5-cp-root-phone": ce() + } + }; + } + async _getDialog() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-dialog]"); + } + async getColorPicker() { + return (await this._getDialog()).content[0].querySelector("[ui5-color-picker]"); + } +}; +Ya([ + x({ type: Boolean }) +], xr.prototype, "showRecentColors", void 0); +Ya([ + x({ type: Boolean }) +], xr.prototype, "showMoreColors", void 0); +Ya([ + x({ type: Boolean }) +], xr.prototype, "showDefaultColor", void 0); +Ya([ + x({ validator: Ju }) +], xr.prototype, "defaultColor", void 0); +Ya([ + x({ validator: Ju }) +], xr.prototype, "_selectedColor", void 0); +Ya([ + x({ type: Boolean }) +], xr.prototype, "popupMode", void 0); +Ya([ + K({ + default: !0, + type: HTMLElement, + invalidateOnChildChange: !0, + individualSlots: !0 + }) +], xr.prototype, "colors", void 0); +xr = dl = Ya([ + X({ + tag: "ui5-color-palette", + renderer: ue, + template: zO, + staticAreaTemplate: jO, + styles: KO, + staticAreaStyles: ZO, + get dependencies() { + const i = ze("ColorPaletteMoreColors"); + return [XO, Ne].concat(i ? i.dependencies : []); + } + }), + U("item-click", { + detail: { + /** + * @public + */ + color: { + type: String + } + } + }) +], xr); +xr.define(); +const QO = xr; +function JO(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} hide-arrow content-only-on-desktop placement-type="Bottom" ?open="${this._open}" .opener="${a(this.opener)}" @ui5-after-close="${a(this.onAfterClose)}">
    <${E("ui5-title", e, t)} class="ui5-cp-title">${a(this._colorPaletteTitle)}
    <${E("ui5-color-palette", e, t)} ?show-more-colors="${this.showMoreColors}" ?show-recent-colors="${this.showRecentColors}" ?show-default-color="${this.showDefaultColor}" default-color="${a(this.defaultColor)}" popup-mode @ui5-item-click="${a(this.onSelectedColor)}">${Y(this.colorPaletteColors, (o, r) => o._id || r, (o, r) => $5.call(this, i, e, t, o, r))}
    ` : y`
    ${a(this._colorPaletteTitle)}
    ${Y(this.colorPaletteColors, (o, r) => o._id || r, (o, r) => $5.call(this, i, e, t, o, r))}
    `; +} +function $5(i, e, t, o, r) { + return y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const eR = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPalettePopover.css.ts", content: `.ui5-cp-header{width:100%;height:var(--_ui5-v1-22-1-rc-0_color-palette-button-height);display:flex;align-items:center}.ui5-cp-footer{width:100%;display:flex;justify-content:flex-end;margin:.1875rem 0}[ui5-responsive-popover]::part(content){padding:0}[ui5-title],[ui5-button]{margin-bottom:1rem}.ui5-cp-item-container{padding:.3125rem .6875rem} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const Fr = { packageName: "@ui5/webcomponents", fileName: "themes/ResponsivePopoverCommon.css.ts", content: `.input-root-phone{flex:1;position:relative;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color);border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}.input-root-phone [value-state=Error] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Success] [input-icon][data-ui5-compact-size],.input-root-phone [value-state=Warning] [input-icon][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-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}[inner-input]::selection,[inner-input]::-moz-selection{background:var(--sapSelectedColor);color:var(--sapContent_ContrastTextColor)}[inner-input]::-webkit-input-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}[inner-input]::-moz-placeholder{font-style:italic;color:var(--sapField_PlaceholderTextColor)}.input-root-phone[value-state]:not([value-state=None]){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}.input-root-phone[value-state=Error] [inner-input],.input-root-phone[value-state=Warning] [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style)}.input-root-phone[value-state=Error] [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}.input-root-phone[value-state=Error]:not([readonly]){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}.input-root-phone[value-state=Error]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}.input-root-phone[value-state=Error]:not([readonly]):not([disabled]),.input-root-phone[value-state=Warning]:not([readonly]):not([disabled]),.input-root-phone[value-state=Information]:not([readonly]):not([disabled]){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}.input-root-phone[value-state=Warning]:not([readonly]){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}.input-root-phone[value-state=Warning]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}.input-root-phone[value-state=Success]:not([readonly]){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width)}.input-root-phone[value-state=Success]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}.input-root-phone[value-state=Success]:not([readonly]):focus-within:before{border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}.input-root-phone[value-state=Information]:not([readonly]) [inner-input]:focus{background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_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:calc(100% - var(--_ui5-v1-22-1-rc-0_button_base_min_width))}.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;padding:.25rem 0;width:100%}.ui5-responsive-popover-close-btn{position:absolute;right:1rem} +` }; +var Xa = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Bc; +let un = Bc = class extends te { + static async onDefine() { + Bc.i18nBundle = await pe("@ui5/webcomponents"); + } + constructor() { + super(); + } + get responsivePopover() { + return this.shadowRoot.querySelector("[ui5-responsive-popover]"); + } + get respPopover() { + return this.shadowRoot.querySelector("[ui5-responsive-popover]"); + } + /** + * Shows the ColorPalettePopover. + * + * @param opener the element that the popover is shown at + * @public + * @deprecated The method is deprecated in favour of open and opener properties. + * @since 1.1.1 + */ + showAt(e) { + console.warn("The method 'showAt' is deprecated and will be removed in future, use 'open' and 'opener' props instead."), this.open = !0, this.opener = e; + } + /** + * Shows the ColorPalettePopover. + * + * @param opener the element that the popover is shown at + * @public + * @since 1.0.0-rc.16 + * @deprecated The method is deprecated in favour of open and opener properties. + */ + openPopover(e) { + console.warn("The method 'openPopover' is deprecated and will be removed in future, use 'open' and 'opener' props instead."), this.showAt(e); + } + closePopover() { + this.open = !1; + } + onAfterClose() { + this.closePopover(), this.fireEvent("close"); + } + onSelectedColor(e) { + this.closePopover(), this.fireEvent("item-click", e.detail); + } + /** + * Returns if the component is opened. + * + * @protected + * @since 1.0.0-rc.16 + */ + isOpen() { + return this.open; + } + get colorPaletteColors() { + return this.getSlottedNodes("colors"); + } + get _colorPaletteTitle() { + return Bc.i18nBundle.getText(S3); + } + get _cancelButtonLabel() { + return Bc.i18nBundle.getText(cv); + } + get _open() { + return this.open || void 0; + } +}; +Xa([ + x({ type: Boolean }) +], un.prototype, "showRecentColors", void 0); +Xa([ + x({ type: Boolean }) +], un.prototype, "showMoreColors", void 0); +Xa([ + x({ type: Boolean }) +], un.prototype, "showDefaultColor", void 0); +Xa([ + x({ validator: Ju }) +], un.prototype, "defaultColor", void 0); +Xa([ + x({ type: Boolean }) +], un.prototype, "open", void 0); +Xa([ + x({ validator: Wh }) +], un.prototype, "opener", void 0); +Xa([ + K({ default: !0, type: HTMLElement, individualSlots: !0 }) +], un.prototype, "colors", void 0); +un = Bc = Xa([ + X({ + tag: "ui5-color-palette-popover", + renderer: ue, + styles: [Fr, eR], + template: JO, + dependencies: [ + po, + Ne, + dc, + QO + ] + }), + U("item-click", { + detail: { + /** + * @public + */ + color: { + type: String + } + } + }), + U("close") +], un); +un.define(); +class Kt extends qu { + static isValid(e) { + return Number(e) === e; + } + static attributeToProperty(e) { + return parseFloat(e); + } +} +/** + * @license + * Copyright 2020 Google LLC + * SPDX-License-Identifier: BSD-3-Clause + */ +const V6 = Symbol.for(""), tR = (i) => { + if ((i == null ? void 0 : i.r) === V6) + return i == null ? void 0 : i._$litStatic$; +}, iR = (i) => ({ _$litStatic$: i, r: V6 }), x5 = /* @__PURE__ */ new Map(), U6 = (i) => (e, ...t) => { + const o = t.length; + let r, n; + const s = [], l = []; + let T, w = 0, S = !1; + for (; w < o; ) { + for (T = e[w]; w < o && (n = t[w], (r = tR(n)) !== void 0); ) + T += r + e[++w], S = !0; + w !== o && l.push(n), s.push(T), w++; + } + if (w === o && s.push(e[o]), S) { + const b = s.join("$$lit$$"); + (e = x5.get(b)) === void 0 && (s.raw = s, x5.set(b, e = s)), t = l; + } + return i(e, ...t); +}, oR = U6($8), rR = U6(x8); +class Xh { +} +Xh.html = oR; +Xh.svg = rR; +Xh.unsafeStatic = iR; +Wa("LitStatic", Xh); +const A5 = /* @__PURE__ */ new Map([ + ["aliceblue", "f0f8ff"], + ["antiquewhite", "faebd7"], + ["aqua", "00ffff"], + ["aquamarine", "7fffd4"], + ["azure", "f0ffff"], + ["beige", "f5f5dc"], + ["bisque", "ffe4c4"], + ["black", "000000"], + ["blanchedalmond", "ffebcd"], + ["blue", "0000ff"], + ["blueviolet", "8a2be2"], + ["brown", "a52a2a"], + ["burlywood", "deb887"], + ["cadetblue", "5f9ea0"], + ["chartreuse", "7fff00"], + ["chocolate", "d2691e"], + ["coral", "ff7f50"], + ["cornflowerblue", "6495ed"], + ["cornsilk", "fff8dc"], + ["crimson", "dc143c"], + ["cyan", "00ffff"], + ["darkblue", "00008b"], + ["darkcyan", "008b8b"], + ["darkgoldenrod", "b8860b"], + ["darkgray", "a9a9a9"], + ["darkgrey", "a9a9a9"], + ["darkgreen", "006400"], + ["darkkhaki", "bdb76b"], + ["darkmagenta", "8b008b"], + ["darkolivegreen", "556b2f"], + ["darkorange", "ff8c00"], + ["darkorchid", "9932cc"], + ["darkred", "8b0000"], + ["darksalmon", "e9967a"], + ["darkseagreen", "8fbc8f"], + ["darkslateblue", "483d8b"], + ["darkslategray", "2f4f4f"], + ["darkslategrey", "2f4f4f"], + ["darkturquoise", "00ced1"], + ["darkviolet", "9400d3"], + ["deeppink", "ff1493"], + ["deepskyblue", "00bfff"], + ["dimgray", "696969"], + ["dimgrey", "696969"], + ["dodgerblue", "1e90ff"], + ["firebrick", "b22222"], + ["floralwhite", "fffaf0"], + ["forestgreen", "228b22"], + ["fuchsia", "ff00ff"], + ["gainsboro", "dcdcdc"], + ["ghostwhite", "f8f8ff"], + ["gold", "ffd700"], + ["goldenrod", "daa520"], + ["gray", "808080"], + ["grey", "808080"], + ["green", "008000"], + ["greenyellow", "adff2f"], + ["honeydew", "f0fff0"], + ["hotpink", "ff69b4"], + ["indianred", "cd5c5c"], + ["indigo", "4b0082"], + ["ivory", "fffff0"], + ["khaki", "f0e68c"], + ["lavender", "e6e6fa"], + ["lavenderblush", "fff0f5"], + ["lawngreen", "7cfc00"], + ["lemonchiffon", "fffacd"], + ["lightblue", "add8e6"], + ["lightcoral", "f08080"], + ["lightcyan", "e0ffff"], + ["lightgoldenrodyellow", "fafad2"], + ["lightgray", "d3d3d3"], + ["lightgrey", "d3d3d3"], + ["lightgreen", "90ee90"], + ["lightpink", "ffb6c1"], + ["lightsalmon", "ffa07a"], + ["lightseagreen", "20b2aa"], + ["lightskyblue", "87cefa"], + ["lightslategray", "778899"], + ["lightslategrey", "778899"], + ["lightsteelblue", "b0c4de"], + ["lightyellow", "ffffe0"], + ["lime", "00ff00"], + ["limegreen", "32cd32"], + ["linen", "faf0e6"], + ["magenta", "ff00ff"], + ["maroon", "800000"], + ["mediumaquamarine", "66cdaa"], + ["mediumblue", "0000cd"], + ["mediumorchid", "ba55d3"], + ["mediumpurple", "9370db"], + ["mediumseagreen", "3cb371"], + ["mediumslateblue", "7b68ee"], + ["mediumspringgreen", "00fa9a"], + ["mediumturquoise", "48d1cc"], + ["mediumvioletred", "c71585"], + ["midnightblue", "191970"], + ["mintcream", "f5fffa"], + ["mistyrose", "ffe4e1"], + ["moccasin", "ffe4b5"], + ["navajowhite", "ffdead"], + ["navy", "000080"], + ["oldlace", "fdf5e6"], + ["olive", "808000"], + ["olivedrab", "6b8e23"], + ["orange", "ffa500"], + ["orangered", "ff4500"], + ["orchid", "da70d6"], + ["palegoldenrod", "eee8aa"], + ["palegreen", "98fb98"], + ["paleturquoise", "afeeee"], + ["palevioletred", "db7093"], + ["papayawhip", "ffefd5"], + ["peachpuff", "ffdab9"], + ["peru", "cd853f"], + ["pink", "ffc0cb"], + ["plum", "dda0dd"], + ["powderblue", "b0e0e6"], + ["purple", "800080"], + ["red", "ff0000"], + ["rosybrown", "bc8f8f"], + ["royalblue", "4169e1"], + ["saddlebrown", "8b4513"], + ["salmon", "fa8072"], + ["sandybrown", "f4a460"], + ["seagreen", "2e8b57"], + ["seashell", "fff5ee"], + ["sienna", "a0522d"], + ["silver", "c0c0c0"], + ["skyblue", "87ceeb"], + ["slateblue", "6a5acd"], + ["slategray", "708090"], + ["slategrey", "708090"], + ["snow", "fffafa"], + ["springgreen", "00ff7f"], + ["steelblue", "4682b4"], + ["tan", "d2b48c"], + ["teal", "008080"], + ["thistle", "d8bfd8"], + ["tomato", "ff6347"], + ["turquoise", "40e0d0"], + ["violet", "ee82ee"], + ["wheat", "f5deb3"], + ["white", "ffffff"], + ["whitesmoke", "f5f5f5"], + ["yellow", "ffff00"], + ["yellowgreen", "9acd32"], + ["transparent", "00000000"] +]), nR = (i) => i.startsWith("rgba") ? aR(i) : i.startsWith("rgb") ? sR(i) : (i.indexOf("#") === 0 && (i.length === 4 ? i = `${i[1]}${i[1]}${i[2]}${i[2]}${i[3]}${i[3]}` : i = i.slice(1, i.length)), A5.has(i) && (i = A5.get(i)), q6(i)), aR = (i) => { + const e = i.indexOf("("), t = []; + for (let o = 0; o < i.length; o++) + i[o] === "," && t.push(o); + return { + r: parseInt(i.slice(e + 1, t[0]).trim()), + g: parseInt(i.slice(t[0] + 1, t[1]).trim()), + b: parseInt(i.slice(t[1] + 1, t[2]).trim()) + }; +}, sR = (i) => { + const e = i.indexOf("("), t = i.indexOf(")"), o = []; + for (let r = 0; r < i.length; r++) + i[r] === "," && o.push(r); + return { + r: parseInt(i.slice(e + 1, o[0]).trim()), + g: parseInt(i.slice(o[0] + 1, o[1]).trim()), + b: parseInt(i.slice(o[1] + 1, t).trim()) + }; +}, E5 = (i) => { + let e = i.s * 100, t = i.l * 100, o, r, n; + e > 100 ? e = 1 : e < 0 ? e = 0 : e /= 100, t > 100 ? t = 1 : t < 0 ? t = 0 : t /= 100; + const s = i.h, l = e * (1 - Math.abs(2 * t - 1)), T = 255 * (t - 0.5 * l), w = l * (1 - Math.abs(s / 60 % 2 - 1)), S = Math.floor(s / 60), b = T + 255 * w, v = T + 255 * l; + switch (S) { + case 0: + o = v, r = b, n = T; + break; + case 1: + o = b, r = v, n = T; + break; + case 2: + o = T, r = v, n = b; + break; + case 3: + o = T, r = b, n = v; + break; + case 4: + o = b, r = T, n = v; + break; + case 5: + o = v, r = T, n = b; + break; + default: + o = 0, r = 0, n = 0; + break; + } + return { + r: Math.round(o), + g: Math.round(r), + b: Math.round(n) + }; +}, q6 = (i) => ({ + r: parseInt(i.substr(0, 2), 16), + g: parseInt(i.substr(2, 2), 16), + b: parseInt(i.substr(4, 2), 16) +}), lR = (i) => { + const e = i.r / 255, t = i.g / 255, o = i.b / 255, r = Math.max(e, t, o), n = Math.min(e, t, o), s = r - n; + let l = 0, T; + s === 0 ? l = 0 : r === e ? l = 60 * ((t - o) / s % 6) : r === t ? l = 60 * ((o - e) / s + 2) : r === o && (l = 60 * ((e - t) / s + 4)); + const w = (r + n) / 2; + return s === 0 ? T = 0 : T = s / (1 - Math.abs(2 * w - 1)), { + h: l, + s: T, + l: w + }; +}; +function cR(i, e, t) { + return t ? y`
    <${E("ui5-slider", e, t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-hue-slider" min="0" max="1530" value="${a(this._hue)}" accessible-name="${a(this.hueSliderLabel)}" @ui5-input="${a(this._handleHueInput)}"><${E("ui5-slider", e, t)} disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-alpha-slider" min="0" max="1" step="0.01" value="${a(this._alpha)}" accessible-name="${a(this.alphaSliderLabel)}" @ui5-input="${a(this._handleAlphaInput)}">
    <${E("ui5-label", e, t)}>Hex<${E("ui5-input", e, t)} class="ui5-color-picker-hex-input" value="${a(this.hex)}" @keydown="${this._onkeydown}" accessible-name="${a(this.hexInputLabel)}" @ui5-change="${a(this._handleHEXChange)}" value-state="${a(this.hexInputErrorState)}">
    <${E("ui5-input", e, t)} id="red" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.redInputLabel)}" value="${a(this._color.r)}"><${E("ui5-label", e, t)}>R
    <${E("ui5-input", e, t)} id="green" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.greenInputLabel)}" value="${a(this._color.g)}"><${E("ui5-label", e, t)}>G
    <${E("ui5-input", e, t)} id="blue" class="ui5-color-picker-rgb-input" disabled="${a(this.inputsDisabled)}" accessible-name="${a(this.blueInputLabel)}" value="${a(this._color.b)}"><${E("ui5-label", e, t)}>B
    <${E("ui5-input", e, t)} id="alpha" disabled="${a(this.inputsDisabled)}" class="ui5-color-picker-rgb-input" value="${a(this._alpha)}" accessible-name="${a(this.alphaInputLabel)}" @ui5-input="${a(this._handleAlphaInput)}" @ui5-change="${a(this._handleAlphaChange)}"><${E("ui5-label", e, t)}>A
    ` : y`
    Hex
    R
    G
    B
    A
    `; +} +const uR = (i) => { + let e = 0; + return (i.selectionStart || i.selectionStart === 0) && (e = i.selectionDirection === "backward" ? i.selectionStart : i.selectionEnd), e; +}, dR = (i, e) => { + i.selectionStart ? (i.focus(), i.setSelectionRange(e, e)) : i.focus(); +}, hR = "not-editable", W6 = "M443 104q5 7 5 12 0 6-5 11L118 453q-4 4-8 4L0 480l22-110q0-5 4-9L352 36q4-4 11-4t11 4zm-121 99l-46-45L52 381l46 46zm87-88l-46-44-64 64 45 45zm71 204l-63 64-65-64-33 32 66 63-66 66 33 32 65-66 63 66 32-32-66-66 66-63z", _R = !1, pR = "SAP-icons-v4", fR = "@ui5/webcomponents-icons"; +J(hR, { pathData: W6, ltr: _R, collection: pR, packageName: fR }); +const vR = "not-editable", j6 = "M504 94q7 7 7 18t-7 18L130 505q-9 7-18 7H26q-11 0-18.5-7.5T0 486v-86q0-10 8-18L381 7q9-7 18-7 11 0 18 7zm-55 18l-50-50-50 50 50 50zm-86 86l-50-50L62 400l50 50zm142 270q7 7 7 18t-7.5 18.5T486 512t-18-7l-37-38-38 38q-7 7-18 7t-18.5-7.5T349 486q0-10 8-18l38-37-38-38q-8-8-8-18 0-11 7.5-18.5T375 349q10 0 18 8l38 37 37-37q8-8 18-8 11 0 18.5 7.5T512 375t-7 18l-38 38z", mR = !1, gR = "SAP-icons-v5", bR = "@ui5/webcomponents-icons"; +J(vR, { pathData: j6, ltr: mR, collection: gR, packageName: bR }); +Te(); +var v1; +(function(i) { + i.Text = "Text", i.Email = "Email", i.Number = "Number", i.Password = "Password", i.Tel = "Tel", i.URL = "URL"; +})(v1 || (v1 = {})); +const Ol = v1; +function yR(i, e, t) { + return y`
    ${this._effectiveShowClearIcon ? wR.call(this, i, e, t) : void 0}${this.icon.length ? CR.call(this, i, e, t) : void 0}
    ${jn(this._valueStateInputIcon)}
    ${this.showSuggestions ? SR.call(this, i, e, t) : void 0}${this.accInfo.input.ariaDescription ? TR.call(this, i, e, t) : void 0}${this.hasValueState ? IR.call(this, i, e, t) : void 0}
    `; +} +function wR(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; +} +function CR(i, e, t) { + return y`
    `; +} +function SR(i, e, t) { + return y`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`; +} +function TR(i, e, t) { + return y`${a(this.accInfo.input.ariaDescription)}`; +} +function IR(i, e, t) { + return y`${a(this.ariaValueStateHiddenText)}`; +} +function kR(i, e, t) { + return y`${this.showSuggestions ? $R.call(this, i, e, t) : void 0}${this.hasValueStateMessage ? PR.call(this, i, e, t) : void 0} `; +} +function $R(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} class="${W(this.classes.popover)}" hide-arrow _disable-initial-focus placement-type="Bottom" horizontal-align="Left" style="${G(this.styles.suggestionsPopover)}" @ui5-after-open="${a(this._afterOpenPopover)}" @ui5-after-close="${a(this._afterClosePopover)}" @ui5-scroll="${a(this._scroll)}">${this._isPhone ? B5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : R5.call(this, i, e, t)}<${E("ui5-list", e, t)} separators="${a(this.suggestionSeparators)}" @mousedown="${this.onItemMouseDown}" mode="SingleSelect">${Y(this.suggestionObjects, (o, r) => o._id || r, (o, r) => L5.call(this, i, e, t, o, r))}${this._isPhone ? z5.call(this, i, e, t) : void 0}` : y`${this._isPhone ? B5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : R5.call(this, i, e, t)}${Y(this.suggestionObjects, (o, r) => o._id || r, (o, r) => L5.call(this, i, e, t, o, r))}${this._isPhone ? z5.call(this, i, e, t) : void 0}`; +} +function B5(i, e, t) { + return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${E("ui5-input", e, t)} class="ui5-input-inner-phone" type="${a(this.inputType)}" .value="${a(this.value)}" ?show-clear-icon=${this.showClearIcon} placeholder="${a(this.placeholder)}" @ui5-input="${a(this._handleInput)}" @ui5-change="${a(this._handleChange)}">
    ${this.hasValueStateMessage ? D5.call(this, i, e, t) : void 0}` : y`
    ${a(this._headerTitleText)}
    ${this.hasValueStateMessage ? D5.call(this, i, e, t) : void 0}`; +} +function D5(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? P5.call(this, i, e, t) : O5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? P5.call(this, i, e, t) : O5.call(this, i, e, t)}
    `; +} +function P5(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function O5(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => xR.call(this, i, e, t, o, r))}`; +} +function xR(i, e, t, o, r) { + return y`${a(o)}`; +} +function R5(i, e, t) { + return y`${this.hasValueStateMessage ? AR.call(this, i, e, t) : void 0}`; +} +function AR(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? N5.call(this, i, e, t) : M5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? N5.call(this, i, e, t) : M5.call(this, i, e, t)}
    `; +} +function N5(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function M5(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => ER.call(this, i, e, t, o, r))}`; +} +function ER(i, e, t, o, r) { + return y`${a(o)}`; +} +function L5(i, e, t, o, r) { + return y`${o.groupItem ? BR.call(this, i, e, t, o, r) : DR.call(this, i, e, t, o, r)}`; +} +function BR(i, e, t, o, r) { + return t ? y`<${E("ui5-li-groupheader", e, t)} data-ui5-key="${a(o.key)}">${jn(o.text)}` : y`${jn(o.text)}`; +} +function DR(i, e, t, o, r) { + return t ? y`<${E("ui5-li-suggestion-item", e, t)} wrapping-type="Normal" image="${a(o.image)}" icon="${a(o.icon)}" additional-text="${a(o.additionalText)}" type="${a(o.type)}" additional-text-state="${a(o.additionalTextState)}" data-ui5-key="${a(o.key)}">${jn(o.text)}${o.description ? F5.call(this, i, e, t, o, r) : void 0}` : y`${jn(o.text)}${o.description ? F5.call(this, i, e, t, o, r) : void 0}`; +} +function F5(i, e, t, o, r) { + return y`${jn(o.description)}`; +} +function z5(i, e, t) { + return t ? y`` : y``; +} +function PR(i, e, t) { + return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? H5.call(this, i, e, t) : V5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? H5.call(this, i, e, t) : V5.call(this, i, e, t)}
    `; +} +function H5(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function V5(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => OR.call(this, i, e, t, o, r))}`; +} +function OR(i, e, t, o, r) { + return y`${a(o)}`; +} +const RR = /[[\]{}()*+?.\\^$|]/g, NR = (i) => i.replace(RR, "\\$&"), Av = (i, e, t) => { + const o = new RegExp(`(^|\\s)${NR(i.toLowerCase())}.*`, "g"); + return e.filter((r) => { + const n = r[t]; + return o.lastIndex = 0, o.test(n.toLowerCase()); + }); +}, Kh = (i, e, t) => e.filter((o) => o[t].toLowerCase().startsWith(i.toLowerCase())), MR = (i, e, t) => e.filter((o) => o[t].toLowerCase().includes(i.toLowerCase())), LR = (i, e) => e, G6 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({ + __proto__: null, + Contains: MR, + None: LR, + StartsWith: Kh, + StartsWithPerTerm: Av +}, Symbol.toStringTag, { value: "Module" })); +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const FR = { packageName: "@ui5/webcomponents", fileName: "themes/Input.css.ts", content: `: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const Ka = { packageName: "@ui5/webcomponents", fileName: "themes/ValueStateMessage.css.ts", content: `.ui5-valuestatemessage-popover{border-radius:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_message_popover_box_shadow)}.ui5-input-value-state-message-icon{width:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_width);height:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_height);display:var(--_ui5-v1-22-1-rc-0_input_value_state_icon_display);position:absolute;padding-right:.375rem}.ui5-valuestatemessage-root .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_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:"72override",var(--sapFontFamily);height:auto;padding:var(--_ui5-v1-22-1-rc-0_value_state_message_padding);overflow:hidden;text-overflow:ellipsis;min-width:6.25rem;border:var(--_ui5-v1-22-1-rc-0_value_state_message_border);line-height:var(--_ui5-v1-22-1-rc-0_value_state_message_line_height)}[ui5-responsive-popover] .ui5-valuestatemessage-header,[ui5-popover] .ui5-valuestatemessage-header{min-height:2rem}[ui5-responsive-popover] .ui5-valuestatemessage-header{padding:var(--_ui5-v1-22-1-rc-0_value_state_header_padding);border:var(--_ui5-v1-22-1-rc-0_value_state_header_border);border-bottom:var(--_ui5-v1-22-1-rc-0_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[focused],.ui5-responsive-popover-header:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_value_state_message_padding_phone);width:100%}.ui5-popover-with-value-state-header-phone .ui5-input-value-state-message-icon{left:var(--_ui5-v1-22-1-rc-0_value_state_message_icon_offset_phone)}.ui5-popover-with-value-state-header-phone .ui5-valuestatemessage-header{position:relative;flex:none;top:0;left:0}.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-v1-22-1-rc-0_value_state_header_box_shadow_error)}[ui5-responsive-popover] .ui5-valuestatemessage--information{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_information)}[ui5-responsive-popover] .ui5-valuestatemessage--success{box-shadow:var(--_ui5-v1-22-1-rc-0_value_state_header_box_shadow_success)}[ui5-responsive-popover] .ui5-valuestatemessage--warning{box-shadow:var(--_ui5-v1-22-1-rc-0_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} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const Zh = { packageName: "@ui5/webcomponents", fileName: "themes/Suggestions.css.ts", content: `.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}.ui5-suggestions-popover [ui5-li]::part(icon),.ui5-suggestions-popover [ui5-li-suggestion-item]::part(icon){color:var(--sapList_TextColor)}.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} +` }; +var Le = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, di, $a; +(function(i) { + i.CHANGE = "change", i.INPUT = "input", i.SUGGESTION_ITEM_SELECT = "suggestion-item-select"; +})($a || ($a = {})); +var fh; +(function(i) { + i.ACTION_ENTER = "enter", i.ACTION_USER_INPUT = "input"; +})(fh || (fh = {})); +let Re = di = class extends te { + constructor() { + super(), this.hasSuggestionItemSelected = !1, this.valueBeforeItemSelection = "", this.valueBeforeItemPreview = "", this.suggestionSelectionCancelled = !1, this.previousValue = "", this.firstRendering = !0, this.typedInValue = "", this.lastConfirmedValue = "", this.isTyping = !1, this.suggestionObjects = [], this._handleResizeBound = this._handleResize.bind(this), this._keepInnerValue = !1, this._focusedAfterClear = !1; + } + onEnterDOM() { + Ce.register(this, this._handleResizeBound), bA(this, this._updateAssociatedLabelsTexts.bind(this)); + } + onExitDOM() { + Ce.deregister(this, this._handleResizeBound), yA(this); + } + onBeforeRendering() { + this._keepInnerValue || (this._innerValue = this.value), this.showSuggestions && (this.enableSuggestions(), this.suggestionObjects = this.Suggestions.defaultSlotProperties(this.typedInValue)), this._effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled, this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`), this.FormSupport = ze("FormSupport"); + const e = !!this.suggestionItems.length, t = !!this.value, o = this.shadowRoot.querySelector("input") === Ql(); + this._isPhone ? this.open = this.openOnMobile : this._forceOpen ? this.open = !0 : this.open = t && e && o && this.isTyping, this.FormSupport ? this.FormSupport.syncNativeHiddenInput(this) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); + const r = this.value, n = this.getInputDOMRefSync(); + if (!n || !r) + return; + const s = n.selectionEnd - n.selectionStart; + if (this._shouldAutocomplete && !Rf() && !s && !this._isKeyNavigation) { + const l = this._getFirstMatchingItem(r); + l && this._handleTypeAhead(l); + } + } + async onAfterRendering() { + const e = this.getInputDOMRefSync(); + this.Suggestions && this.showSuggestions && (this.Suggestions.toggle(this.open, { + preventFocusRestore: !0 + }), this._listWidth = await this.Suggestions._getListWidth()), this.shouldDisplayOnlyValueStateMessage ? this.openPopover() : this.closePopover(), this._performTextSelection && (e.value !== this._innerValue && (e.value = this._innerValue), this.typedInValue.length && this.value.length && e.setSelectionRange(this.typedInValue.length, this.value.length)), this._performTextSelection = !1; + } + _onkeydown(e) { + if (this._isKeyNavigation = !0, this._shouldAutocomplete = !this.noTypeahead && !(Hu(e) || $l(e) || Ni(e)), Ye(e)) + return this._handleUp(e); + if (Ue(e)) + return this._handleDown(e); + if (se(e)) + return this._handleSpace(e); + if (Bt(e)) + return this._handleTab(); + if (Se(e)) + return this._handleEnter(e); + if (Ri(e)) + return this._handlePageUp(e); + if (Ji(e)) + return this._handlePageDown(e); + if (qt(e)) + return this._handleHome(e); + if (Ii(e)) + return this._handleEnd(e); + if (Ni(e)) + return this._handleEscape(); + this.showSuggestions && this._clearPopoverFocusAndSelection(), this._keyDown = !0, this._isKeyNavigation = !1; + } + _onkeyup(e) { + $l(e) && (this.value = e.target.value), this._keyDown = !1; + } + _handleUp(e) { + this.Suggestions && this.Suggestions.isOpened() && this.Suggestions.onUp(e); + } + _handleDown(e) { + this.Suggestions && this.Suggestions.isOpened() && this.Suggestions.onDown(e); + } + _handleSpace(e) { + this.Suggestions && this.Suggestions.onSpace(e); + } + _handleTab() { + this.Suggestions && this.previousValue !== this.value && this.Suggestions.onTab(); + } + _handleEnter(e) { + const t = !!(this.Suggestions && this.Suggestions.onEnter(e)), o = this.getInputDOMRefSync(), r = this.suggestionItems.find((n) => n.text && n.text === this.value || n.textContent === this.value); + if (r) { + const n = r.text ? r.text : r.textContent || ""; + o.setSelectionRange(n.length, n.length), t || (this.selectSuggestion(r, !0), this.open = !1); + } + if (this._isPhone && !this.suggestionItems.length && !this.isTypeNumber && o.setSelectionRange(this.value.length, this.value.length), !t) { + this.lastConfirmedValue = this.value, this.FormSupport && this.FormSupport.triggerFormSubmit(this); + return; + } + this.focused = !0; + } + _handlePageUp(e) { + this._isSuggestionsFocused ? this.Suggestions.onPageUp(e) : e.preventDefault(); + } + _handlePageDown(e) { + this._isSuggestionsFocused ? this.Suggestions.onPageDown(e) : e.preventDefault(); + } + _handleHome(e) { + this._isSuggestionsFocused && this.Suggestions.onHome(e); + } + _handleEnd(e) { + this._isSuggestionsFocused && this.Suggestions.onEnd(e); + } + _handleEscape() { + const t = this.showSuggestions && !!this.Suggestions && this.open, o = this.getInputDOMRefSync(), r = o.selectionEnd - o.selectionStart > 0; + if (this.isTyping = !1, !t) { + this.value = this.lastConfirmedValue ? this.lastConfirmedValue : this.previousValue; + return; + } + if (t && this.Suggestions._isItemOnTarget()) { + this.value = this.typedInValue || this.valueBeforeItemPreview, this.suggestionSelectionCancelled = !0, this.focused = !0; + return; + } + r && (this.value = this.typedInValue), this._isValueStateFocused && (this._isValueStateFocused = !1, this.focused = !0); + } + async _onfocusin(e) { + await this.getInputDOMRef(), this.focused = !0, this._focusedAfterClear || (this.previousValue = this.value), this.valueBeforeItemPreview = this.value, this._inputIconFocused = !!e.target && e.target === this.querySelector("[ui5-icon]"), this._focusedAfterClear = !1; + } + /** + * Called on "focusin" of the native input HTML Element. + * Note: implemented in MultiInput, but used in the Input template. + */ + innerFocusIn() { + } + _onfocusout(e) { + const t = e.relatedTarget, o = this.Suggestions && t && t.shadowRoot && t.shadowRoot.contains(this.Suggestions.responsivePopover), r = t && t.shadowRoot && t.shadowRoot.querySelector(".ui5-valuestatemessage-root"); + if (this._keepInnerValue = !1, this.showClearIcon && !this._effectiveShowClearIcon && (this._clearIconClicked = !1, this._handleChange()), o || r) { + e.stopImmediatePropagation(); + return; + } + t && t.classList.contains(this._id) || (this.open = !1, this._clearPopoverFocusAndSelection(), this._clearIconClicked || (this.previousValue = ""), this.lastConfirmedValue = "", this.focused = !1, this.isTyping = !1, this._forceOpen = !1); + } + _clearPopoverFocusAndSelection() { + !this.showSuggestions || !this.Suggestions || (this._isValueStateFocused = !1, this.hasSuggestionItemSelected = !1, this.Suggestions._deselectItems(), this.Suggestions._clearItemFocus()); + } + _click() { + ce() && !this.readonly && this.Suggestions && (this.blur(), this.openOnMobile = !0); + } + _handleChange() { + if (this._clearIconClicked) { + this._clearIconClicked = !1; + return; + } + this.previousValue !== this.getInputDOMRefSync().value && (this.fireEvent($a.CHANGE), this.previousValue = this.value, this.typedInValue = this.value); + } + _clear() { + this.value = "", this.fireEvent($a.INPUT), this._isPhone || (this.focus(), this._focusedAfterClear = !0); + } + _iconMouseDown() { + this._clearIconClicked = !0; + } + _scroll(e) { + this.fireEvent("suggestion-scroll", { + scrollTop: e.detail.scrollTop, + scrollContainer: e.detail.targetRef + }); + } + _handleInput(e) { + const t = this.getInputDOMRefSync(), o = this.value && this.isTypeNumber && !t.value, r = e.inputType || e.detail.inputType || ""; + this._keepInnerValue = !1; + const n = [ + "deleteWordBackward", + "deleteWordForward", + "deleteSoftLineBackward", + "deleteSoftLineForward", + "deleteEntireSoftLine", + "deleteHardLineBackward", + "deleteHardLineForward", + "deleteByDrag", + "deleteByCut", + "deleteContent", + "deleteContentBackward", + "deleteContentForward", + "historyUndo" + ]; + if (this._shouldAutocomplete = !n.includes(r) && !this.noTypeahead, this.suggestionSelectionCancelled = !1, e instanceof InputEvent) { + const s = this.isTypeNumber && (e.inputType === "deleteContentForward" || e.inputType === "deleteContentBackward") && !e.target.value.includes(".") && this.value.includes("."), l = o && e.data === "e", T = o && this.value.startsWith("-") && this.value.length === 2 && (e.inputType === "deleteContentForward" || e.inputType === "deleteContentBackward"); + (s || l || T) && (this.value = e.target.value, this._keepInnerValue = !0); + } + e.target === t && (this.focused = !0, e.stopImmediatePropagation()), this.fireEventByAction(fh.ACTION_ENTER, e), this.hasSuggestionItemSelected = !1, this._isValueStateFocused = !1, this.Suggestions && this.Suggestions.updateSelectedItemPosition(-1), this.isTyping = !0; + } + _startsWithMatchingItems(e) { + const t = this.suggestionItems[0].text ? "text" : "textContent"; + return Kh(e, this.suggestionItems, t); + } + _getFirstMatchingItem(e) { + if (!this.suggestionItems.length) + return; + const t = this._startsWithMatchingItems(e).filter((o) => !o.groupItem); + if (t.length) + return t[0]; + } + _handleTypeAhead(e) { + const t = e.text ? e.text : e.textContent || ""; + this._innerValue = t, this.value = t, this._performTextSelection = !0, this._shouldAutocomplete = !1; + } + _handleResize() { + this._inputWidth = this.offsetWidth; + } + _updateAssociatedLabelsTexts() { + this._associatedLabelsTexts = U8(this), this._accessibleLabelsRefTexts = z8(this); + } + _closeRespPopover() { + this.Suggestions.close(!0); + } + async _afterOpenPopover() { + ce() && (await this.getInputDOMRef()).focus(); + } + _afterClosePopover() { + this.announceSelectedItem(), ce() && (this.blur(), this.focused = !1), this.openOnMobile = !1, this.open = !1, this._forceOpen = !1, this.hasSuggestionItemSelected && this.focus(); + } + /** + * Checks if the value state popover is open. + */ + isValueStateOpened() { + return !!this._isPopoverOpen; + } + async openPopover() { + const e = await this._getPopover(); + e && (this._isPopoverOpen = !0, e.showAt(this)); + } + async closePopover() { + const e = await this._getPopover(); + e && e.close(); + } + async _getPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]"); + } + /** + * Manually opens the suggestions popover, assuming suggestions are enabled. Items must be preloaded for it to open. + * @public + * @since 1.3.0 + */ + openPicker() { + !this.suggestionItems.length || this.disabled || this.readonly || (this._forceOpen = !0); + } + enableSuggestions() { + if (this.Suggestions) + return; + const e = ze("InputSuggestions"); + if (e) + this.Suggestions = new e(this, "suggestionItems", !0, !1); + else + throw new Error('You have to import "@ui5/webcomponents/dist/features/InputSuggestions.js" module to use ui5-input suggestions'); + } + selectSuggestion(e, t) { + var g; + if (e.groupItem) + return; + const o = this.typedInValue || this.value, r = e.text || e.textContent || "", n = t ? this.valueBeforeItemSelection !== r : o !== r; + this.hasSuggestionItemSelected = !0; + const s = this.value, l = this.valueBeforeItemSelection, T = this.lastConfirmedValue, w = this._performTextSelection, S = this.typedInValue, b = this.previousValue; + n && (this.value = r, this.valueBeforeItemSelection = r, this.lastConfirmedValue = r, this._performTextSelection = !0, this.fireEvent($a.CHANGE), ce() && this.fireEvent($a.INPUT), this.typedInValue = this.value, this.previousValue = this.value), this.valueBeforeItemPreview = "", this.suggestionSelectionCancelled = !1, !this.fireEvent($a.SUGGESTION_ITEM_SELECT, { item: e }, !0) && ((g = this.Suggestions) == null || g._clearSelectedSuggestionAndAccInfo(), this.hasSuggestionItemSelected = !1, this.suggestionSelectionCancelled = !0, n && (r === this.value && (this.value = s), this.valueBeforeItemSelection = l, this.lastConfirmedValue = T, this._performTextSelection = w, this.typedInValue = S, this.previousValue = b)), this.isTyping = !1, this.openOnMobile = !1, this._forceOpen = !1; + } + previewSuggestion(e) { + this.valueBeforeItemSelection = this.value, this.updateValueOnPreview(e), this.announceSelectedItem(), this._previewItem = e; + } + /** + * Updates the input value on item preview. + * @param item The item that is on preview + */ + updateValueOnPreview(e) { + const o = e.type === "Inactive" || e.groupItem ? this.valueBeforeItemPreview : e.effectiveTitle || e.textContent || ""; + this.value = o, this._performTextSelection = !0; + } + /** + * The suggestion item on preview. + * @default null + * @public + */ + get previewItem() { + return this._previewItem ? this.getSuggestionByListItem(this._previewItem) : null; + } + async fireEventByAction(e, t) { + if (this.disabled || this.readonly) + return; + const o = await this.getInputValue(), r = e === fh.ACTION_ENTER; + this.value = o, this.typedInValue = o, this.valueBeforeItemPreview = o, r && (this.fireEvent($a.INPUT, { inputType: t.inputType }), this.fireEvent("value-changed")); + } + async getInputValue() { + return this.getDomRef() ? (await this.getInputDOMRef()).value : ""; + } + async getInputDOMRef() { + return ce() && this.Suggestions ? (await this.Suggestions._getSuggestionPopover(), this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone")) : this.nativeInput; + } + getInputDOMRefSync() { + return ce() && this.Suggestions && this.Suggestions.responsivePopover ? this.Suggestions.responsivePopover.querySelector(".ui5-input-inner-phone").shadowRoot.querySelector("input") : this.nativeInput; + } + /** + * Returns a reference to the native input element + * @protected + */ + get nativeInput() { + const e = this.getDomRef(); + return e ? e.querySelector("input") : null; + } + get nativeInputWidth() { + return this.nativeInput ? this.nativeInput.offsetWidth : 0; + } + getLabelableElementId() { + return this.getInputId(); + } + getSuggestionByListItem(e) { + const t = parseInt(e.getAttribute("data-ui5-key")); + return this.suggestionItems[t]; + } + /** + * Returns if the suggestions popover is scrollable. + * The method returns Promise that resolves to true, + * if the popup is scrollable and false otherwise. + */ + isSuggestionsScrollable() { + return this.Suggestions ? this.Suggestions._isScrollable() : Promise.resolve(!1); + } + getInputId() { + return `${this._id}-inner`; + } + /* Suggestions interface */ + onItemMouseOver(e) { + const t = e.target, o = this.getSuggestionByListItem(t); + o && o.fireEvent("mouseover", { + item: o, + targetRef: t + }); + } + onItemMouseOut(e) { + const t = e.target, o = this.getSuggestionByListItem(t); + o && o.fireEvent("mouseout", { + item: o, + targetRef: t + }); + } + onItemMouseDown(e) { + e.preventDefault(); + } + onItemSelected(e, t) { + this.selectSuggestion(e, t); + } + onItemPreviewed(e) { + this.previewSuggestion(e), this.fireEvent("suggestion-item-preview", { + item: this.getSuggestionByListItem(e), + targetRef: e + }); + } + get valueStateTypeMappings() { + return { + Success: di.i18nBundle.getText(nc), + Information: di.i18nBundle.getText(ac), + Error: di.i18nBundle.getText(oc), + Warning: di.i18nBundle.getText(rc) + }; + } + valueStateTextMappings() { + return { + Success: di.i18nBundle.getText(Sn), + Information: di.i18nBundle.getText(Qn), + Error: di.i18nBundle.getText(wn), + Warning: di.i18nBundle.getText(Cn) + }; + } + announceSelectedItem() { + const e = this.shadowRoot.querySelector(`[id="${this._id}-selectionText"]`); + e.textContent = this.itemSelectionAnnounce; + } + get _readonly() { + return this.readonly && !this.disabled; + } + get _headerTitleText() { + return di.i18nBundle.getText(ic); + } + get clearIconAccessibleName() { + return di.i18nBundle.getText(Lh); + } + get inputType() { + return this.type.toLowerCase(); + } + get isTypeNumber() { + return this.type === Ol.Number; + } + get suggestionsTextId() { + return this.showSuggestions ? `${this._id}-suggestionsText` : ""; + } + get valueStateTextId() { + return this.hasValueState ? `${this._id}-valueStateDesc` : ""; + } + get accInfo() { + const e = this.showSuggestions ? "true" : void 0, t = this.showSuggestions ? "list" : void 0, o = this._inputAccInfo.ariaDescribedBy ? `${this.suggestionsTextId} ${this.valueStateTextId} ${this._inputAccInfo.ariaDescribedBy}`.trim() : `${this.suggestionsTextId} ${this.valueStateTextId}`.trim(); + return { + input: { + ariaRoledescription: this._inputAccInfo && (this._inputAccInfo.ariaRoledescription || void 0), + ariaDescribedBy: o || void 0, + ariaInvalid: this.valueState === q.Error ? "true" : 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._inputAccInfo && this._inputAccInfo.ariaDescription, + 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 !== q.None ? this.valueStateTypeMappings[this.valueState] : ""; + return this.shouldDisplayDefaultValueStateMessage ? this.valueStateText ? `${e} ${this.valueStateText}` : e : `${e}`.concat(" ", this.valueStateMessageText.map((t) => t.textContent).join(" ")); + } + get itemSelectionAnnounce() { + return this.Suggestions ? this.Suggestions.itemSelectionAnnounce : ""; + } + 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 === q.Success, + "ui5-valuestatemessage--error": this.valueState === q.Error, + "ui5-valuestatemessage--warning": this.valueState === q.Warning, + "ui5-valuestatemessage--information": this.valueState === q.Information + } + }; + } + get styles() { + const e = parseInt(getComputedStyle(document.documentElement).fontSize); + return { + popoverHeader: { + "max-width": this._inputWidth ? `${this._inputWidth}px` : "" + }, + suggestionPopoverHeader: { + display: this._listWidth === 0 ? "none" : "inline-block", + width: this._listWidth ? `${this._listWidth}px` : "" + }, + 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 valueStateMessageText() { + return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); + } + get shouldDisplayOnlyValueStateMessage() { + return this.hasValueStateMessage && !this.readonly && !this.open && this.focused; + } + get shouldDisplayDefaultValueStateMessage() { + return !this.valueStateMessage.length && this.hasValueStateMessage; + } + get hasValueState() { + return this.valueState !== q.None; + } + get hasValueStateMessage() { + return this.hasValueState && this.valueState !== q.Success && (!this._inputIconFocused || !!(this._isPhone && this.Suggestions)); + } + get valueStateText() { + return this.valueState !== q.None ? this.valueStateTextMappings()[this.valueState] : void 0; + } + get suggestionsText() { + return di.i18nBundle.getText(j3); + } + get availableSuggestionsCount() { + if (this.showSuggestions && (this.value || this.Suggestions.isOpened())) { + const e = this.suggestionObjects.filter((t) => !t.groupItem); + switch (e.length) { + case 0: + return di.i18nBundle.getText(K3); + case 1: + return di.i18nBundle.getText(Y3); + default: + return di.i18nBundle.getText(X3, e.length); + } + } + } + get step() { + return this.isTypeNumber ? "any" : void 0; + } + get _isPhone() { + return ce(); + } + get _isSuggestionsFocused() { + return !this.focused && this.Suggestions && this.Suggestions.isOpened(); + } + /** + * Returns the placeholder value. + * @protected + */ + get _placeholder() { + return this.placeholder; + } + /** + * This method is relevant for sap_horizon theme only + */ + get _valueStateInputIcon() { + const e = { + Error: '', + Warning: '', + Success: '', + Information: '' + }; + return this.valueState !== q.None ? ` + + ${e[this.valueState]}; + + ` : ""; + } + get _valueStatePopoverHorizontalAlign() { + return this.effectiveDir !== "rtl" ? "Left" : "Right"; + } + /** + * This method is relevant for sap_horizon theme only + */ + get _valueStateMessageInputIcon() { + const e = { + Error: "error", + Warning: "alert", + Success: "sys-enter-2", + Information: "information" + }; + return this.valueState !== q.None ? e[this.valueState] : ""; + } + /** + * Returns the caret position inside the native input + * @protected + */ + getCaretPosition() { + return uR(this.nativeInput); + } + /** + * Sets the caret to a certain position inside the native input + * @protected + */ + setCaretPosition(e) { + dR(this.nativeInput, e); + } + /** + * Removes the fractional part of floating-point number. + * @param value the numeric value of Input of type "Number" + */ + removeFractionalPart(e) { + return e.includes(".") ? e.slice(0, e.indexOf(".")) : e.includes(",") ? e.slice(0, e.indexOf(",")) : e; + } + static async onDefine() { + const e = ze("InputSuggestions"); + [di.i18nBundle] = await Promise.all([ + pe("@ui5/webcomponents"), + e ? e.init() : Promise.resolve() + ]); + } +}; +Le([ + x({ type: Boolean }) +], Re.prototype, "disabled", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "highlight", void 0); +Le([ + x() +], Re.prototype, "placeholder", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "readonly", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "required", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "noTypeahead", void 0); +Le([ + x({ type: Ol, defaultValue: Ol.Text }) +], Re.prototype, "type", void 0); +Le([ + x() +], Re.prototype, "value", void 0); +Le([ + x({ noAttribute: !0 }) +], Re.prototype, "_innerValue", void 0); +Le([ + x({ type: q, defaultValue: q.None }) +], Re.prototype, "valueState", void 0); +Le([ + x() +], Re.prototype, "name", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "showSuggestions", void 0); +Le([ + x({ validator: ne }) +], Re.prototype, "maxlength", void 0); +Le([ + x() +], Re.prototype, "accessibleName", void 0); +Le([ + x({ defaultValue: "" }) +], Re.prototype, "accessibleNameRef", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "showClearIcon", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "_effectiveShowClearIcon", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "focused", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "openOnMobile", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "open", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "_forceOpen", void 0); +Le([ + x({ type: Boolean }) +], Re.prototype, "_isValueStateFocused", void 0); +Le([ + x({ type: Object, noAttribute: !0 }) +], Re.prototype, "_inputAccInfo", void 0); +Le([ + x({ type: Object, noAttribute: !0 }) +], Re.prototype, "_nativeInputAttributes", void 0); +Le([ + x({ validator: ne }) +], Re.prototype, "_inputWidth", void 0); +Le([ + x({ validator: ne }) +], Re.prototype, "_listWidth", void 0); +Le([ + x({ type: Boolean, noAttribute: !0 }) +], Re.prototype, "_isPopoverOpen", void 0); +Le([ + x({ type: Boolean, noAttribute: !0 }) +], Re.prototype, "_inputIconFocused", void 0); +Le([ + x({ type: String, noAttribute: !0, defaultValue: void 0 }) +], Re.prototype, "_associatedLabelsTexts", void 0); +Le([ + x({ type: String, noAttribute: !0, defaultValue: void 0 }) +], Re.prototype, "_accessibleLabelsRefTexts", void 0); +Le([ + K({ type: HTMLElement, default: !0 }) +], Re.prototype, "suggestionItems", void 0); +Le([ + K() +], Re.prototype, "icon", void 0); +Le([ + K() +], Re.prototype, "formSupport", void 0); +Le([ + K({ + type: HTMLElement, + invalidateOnChildChange: !0, + cloned: !0 + }) +], Re.prototype, "valueStateMessage", void 0); +Re = di = Le([ + X({ + tag: "ui5-input", + languageAware: !0, + renderer: ue, + template: yR, + staticAreaTemplate: kR, + styles: FR, + staticAreaStyles: [Fr, Ka, Zh], + get dependencies() { + const i = ze("InputSuggestions"); + return [Fi, Pe].concat(i ? i.dependencies : []); + } + }), + U("change"), + U("input"), + U("suggestion-item-select", { + detail: { + /** + * @public + */ + item: { type: HTMLElement } + } + }), + U("suggestion-item-preview", { + detail: { + /** + * @public + */ + item: { type: HTMLElement }, + /** + * @public + */ + targetRef: { type: HTMLElement } + } + }), + U("suggestion-scroll", { + detail: { + /** + * @public + */ + scrollTop: { type: ne }, + /** + * @public + */ + scrollContainer: { type: HTMLElement } + } + }) +], Re); +Re.define(); +const Ar = Re, zR = "direction-arrows", Y6 = "M507 244q5 5 5 12 0 6-5 11L394 379q-5 5-12 5-6 0-11-5t-5-11V144q0-12 10-15 2-1 6-1 8 0 12 4zM135 129q10 3 10 15v224q0 6-4.5 11t-11.5 5q-6 0-11-5L5 267q-5-5-5-11 0-7 5-12l113-112q4-4 11-4 4 0 6 1z", HR = !1, VR = "SAP-icons-v4", UR = "@ui5/webcomponents-icons"; +J(zR, { pathData: Y6, ltr: HR, collection: VR, packageName: UR }); +const qR = "direction-arrows", X6 = "M135 128q11 0 18 7.5t7 18.5v204q0 11-8 18.5t-18 7.5-17-7L8 275q-8-8-8-19t8-19l109-102q7-7 18-7zm369 109q8 8 8 19t-8 19L395 377q-7 7-17 7t-18-7.5-8-18.5V154q0-12 8-19t19-7q9 0 16 7z", WR = !1, jR = "SAP-icons-v5", GR = "@ui5/webcomponents-icons"; +J(qR, { pathData: X6, ltr: WR, collection: jR, packageName: GR }); +Te(); +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const YR = { packageName: "@ui5/webcomponents", fileName: "themes/SliderBase.css.ts", content: `.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([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_slider_disabled_opacity);cursor:default;pointer-events:none}:host{box-sizing:border-box;cursor:pointer;vertical-align:top;width:100%}:host(:not([hidden])){display:inline-block}.ui5-slider-root{box-sizing:border-box;height:3.3125rem;outline:none;padding:var(--_ui5-v1-22-1-rc-0_slider_padding);touch-action:none}.ui5-slider-inner{background-repeat:no-repeat;position:relative;min-width:var(--_ui5-v1-22-1-rc-0_slider_inner_min_width);height:100%}.ui5-slider-progress-container{width:100%;background:var(--_ui5-v1-22-1-rc-0_slider_progress_container_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_inner_height);position:relative;box-sizing:var(--_ui5-v1-22-1-rc-0_slider_progress_box_sizing);top:var(--_ui5-v1-22-1-rc-0_slider_progress_container_top)}.ui5-slider-progress-container:before,.ui5-slider-progress-container:after{display:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_display);content:"";position:absolute;border-radius:50%;width:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);height:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_size);top:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_top)}.ui5-slider-progress-container:before{inset-inline-start:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_before_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_before_border)}.ui5-slider-progress-container:after{inset-inline-end:var(--_ui5-v1-22-1-rc-0_slider_start_end_point_left);background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_after_background);border:var(--_ui5-v1-22-1-rc-0_slider_progress_after_border)}.ui5-slider-progress{background:var(--_ui5-v1-22-1-rc-0_slider_progress_background);border-radius:var(--_ui5-v1-22-1-rc-0_slider_progress_border_radius);height:var(--_ui5-v1-22-1-rc-0_slider_progress_height);position:relative;outline:none;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_slider_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_active_progress_top)}.ui5-slider-tickmarks{list-style:none;padding:0;margin:0;top:var(--_ui5-v1-22-1-rc-0_slider_tickmark_top);display:flex;box-sizing:border-box;width:100%;justify-content:space-between;position:absolute;z-index:1}.ui5-slider-tickmarks li{height:var(--_ui5-v1-22-1-rc-0_slider_tickmark_height);border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_bg)}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_slider_handle_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_slider_handle_width) / 2);top:var(--_ui5-v1-22-1-rc-0_slider_handle_top);position:absolute;outline:none;height:var(--_ui5-v1-22-1-rc-0_slider_handle_height);width:var(--_ui5-v1-22-1-rc-0_slider_handle_width);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_handle_box_sizing);display:flex;justify-content:center;align-items:center;z-index:2}[slider-icon]{display:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_display);color:var(--sapContent_Selected_ForegroundColor);width:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size);height:var(--_ui5-v1-22-1-rc-0_slider_handle_icon_size)}.ui5-slider-root .ui5-slider-handle:focus [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_hover_border)}.ui5-slider-root:focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-handle:focus{outline:var(--_ui5-v1-22-1-rc-0_slider_handle_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_slider_handle_outline_offset);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);background:var(--_ui5-v1-22-1-rc-0_slider_handle_background_focus)}.ui5-slider-handle.ui5-slider-handle--start:focus,.ui5-slider-handle--end:focus{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-root:focus:hover .ui5-slider-handle,.ui5-slider-handle:focus:hover{border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border)}.ui5-slider-tooltip{display:flex;justify-content:center;align-items:center;visibility:hidden;pointer-events:none;line-height:1rem;position:absolute;left:50%;transform:translate(-50%);bottom:var(--_ui5-v1-22-1-rc-0_slider_tooltip_bottom);background:var(--_ui5-v1-22-1-rc-0_slider_tooltip_background);border:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border);border-radius:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_radius);box-shadow:var(--_ui5-v1-22-1-rc-0_slider_tooltip_box_shadow);font-size:var(--_ui5-v1-22-1-rc-0_slider_tooltip_fontsize);color:var(--_ui5-v1-22-1-rc-0_slider_tooltip_color);height:var(--_ui5-v1-22-1-rc-0_slider_tooltip_height);min-width:var(--_ui5-v1-22-1-rc-0_slider_tooltip_min_width);padding:var(--_ui5-v1-22-1-rc-0_slider_tooltip_padding);box-sizing:var(--_ui5-v1-22-1-rc-0_slider_tooltip_border_box)}.ui5-slider-tooltip-value{position:relative;display:flex;justify-content:center;align-items:center}.ui5-slider-labels{position:absolute;top:1.25rem;margin:0;padding:0;white-space:nowrap}.ui5-slider-labels li{position:relative;list-style:none;padding-top:.3125rem;height:1rem;margin:0;text-align:center;display:inline-block;color:var(--_ui5-v1-22-1-rc-0_slider_label_color);font-size:var(--_ui5-v1-22-1-rc-0_slider_label_fontsize);padding-top:0;box-sizing:border-box;display:inline-flex;justify-content:center;align-items:center;vertical-align:top}.ui5-slider-hidden-labels li:not(:first-child):not(:last-child){visibility:hidden}.ui5-slider-handle:focus .ui5-slider-tooltip{bottom:var(--_ui5-v1-22-1-rc-0_slider_handle_focused_tooltip_distance)}.ui5-slider-tickmarks li.ui5-slider-tickmark-in-range{border-inline-start:1px solid var(--_ui5-v1-22-1-rc-0_slider_tickmark_in_range_bg)}:host([show-tickmarks]) .ui5-slider-progress{height:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_height);border:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_border);left:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_left);top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_active_progress_top)}:host([show-tickmarks]) .ui5-slider-progress-container{top:var(--_ui5-v1-22-1-rc-0_slider_no_tickmarks_progress_container_top)}.ui5-slider-handle:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_visibility);width:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);height:calc(100% + (var(--sapContent_FocusWidth) * 2) + 2px);border:var(--sapContent_FocusWidth) dotted var(--sapContent_FocusColor);position:absolute;border-radius:var(--_ui5-v1-22-1-rc-0_slider_handle_border_radius);pointer-events:none} +` }; +var lr = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, vr; +let to = vr = /** + * @class + * + *

    Overview

    + * + * @constructor + * @extends UI5Element + * @public + */ +class extends te { + constructor() { + super(), this.notResized = !1, this._isUserInteraction = !1, this._isInnerElementFocusing = !1, this._labelWidth = 0, this._resizeHandler = this._handleResize.bind(this), this._moveHandler = this._handleMove.bind(this), this._upHandler = this._handleUp.bind(this), this._stateStorage = { + step: void 0, + min: void 0, + max: void 0, + labelInterval: void 0 + }; + const e = (t) => { + this._onmousedown(t); + }; + this._ontouchstart = { + handleEvent: e, + passive: !0 + }; + } + _handleMove(e) { + } + // eslint-disable-line + _handleUp() { + } + _onmousedown(e) { + } + // eslint-disable-line + _handleActionKeyPress(e) { + } + // eslint-disable-line + static get ACTION_KEYS() { + return [ + Ct, + dt, + Ye, + Ue, + Cl, + Ds, + Ln, + Fn, + M2, + L2, + qt, + Ii, + Ri, + Ji, + Ni + ]; + } + static get MIN_SPACE_BETWEEN_TICKMARKS() { + return 8; + } + static get TOOLTIP_VISIBILITY() { + return { + VISIBLE: "visible", + HIDDEN: "hidden" + }; + } + static get render() { + return ue; + } + static get styles() { + return YR; + } + get classes() { + return { + root: { + "ui5-slider-root-phone": ce() + }, + labelContainer: { + "ui5-slider-hidden-labels": this._labelsOverlapping + } + }; + } + onEnterDOM() { + Ce.register(this, this._resizeHandler); + } + onExitDOM() { + Ce.deregister(this, this._resizeHandler); + } + onAfterRendering() { + this.notResized && this._resizeHandler(); + } + /** Shows the tooltip(s) if the showTooltip property is set to true + * + * @private + */ + _onmouseover() { + this.showTooltip && (this._tooltipVisibility = vr.TOOLTIP_VISIBILITY.VISIBLE); + } + /** + * Hides the tooltip(s) if the showTooltip property is set to true + * + * @private + */ + _onmouseout() { + this.showTooltip && !this.shadowRoot.activeElement && (this._tooltipVisibility = vr.TOOLTIP_VISIBILITY.HIDDEN); + } + _onkeydown(e) { + this.disabled || this._effectiveStep === 0 || vr._isActionKey(e) && (e.preventDefault(), this._isUserInteraction = !0, this._handleActionKeyPress(e)); + } + _onkeyup() { + this.disabled || (this._isUserInteraction = !1); + } + /** + * Flags if an inner element is currently being focused + * + * @private + */ + _preserveFocus(e) { + this._isInnerElementFocusing = e; + } + /** + * Return if an inside element within the component is currently being focused + * + * @private + */ + _isFocusing() { + return this._isInnerElementFocusing; + } + /** + * Prevent focus out when inner element within the component is currently being in process of focusing in. + * + * @private + */ + _preventFocusOut() { + this.focusInnerElement(); + } + /** + * Manages the focus between the component's inner elements + * @protected + */ + focusInnerElement() { + this.focus(); + } + /** + * Handle the responsiveness of the Slider's UI elements when resizing + * + * @private + */ + _handleResize() { + if (!this.showTickmarks || (this.notResized = !1, this._spaceBetweenTickmarks() < vr.MIN_SPACE_BETWEEN_TICKMARKS ? (this._hiddenTickmarks = !0, this._labelsOverlapping = !0) : this._hiddenTickmarks = !1, this.labelInterval <= 0 || this._hiddenTickmarks)) + return; + const t = this.shadowRoot.querySelectorAll(".ui5-slider-labels li"); + this._labelsOverlapping = [...t].some((o) => o.scrollWidth > o.clientWidth); + } + /** + * Called when the user starts interacting with the slider. + * After a down event on the slider root, listen for move events on window, so the slider value + * is updated even if the user drags the pointer outside the slider root. + * + * @protected + */ + handleDownBase(e) { + const t = this._effectiveMin, o = this._effectiveMax, r = this.getBoundingClientRect(), n = this.directionStart, s = this._effectiveStep, l = vr.getValueFromInteraction(e, s, t, o, r, n); + return this._isUserInteraction = !0, window.addEventListener("mouseup", this._upHandler), window.addEventListener("touchend", this._upHandler), nu() && e instanceof TouchEvent ? window.addEventListener("touchmove", this._moveHandler) : window.addEventListener("mousemove", this._moveHandler), this._handleFocusOnMouseDown(e), l; + } + /** + * Forward the focus to an inner inner part within the component on press + * + * @private + */ + _handleFocusOnMouseDown(e) { + const t = this.shadowRoot.activeElement; + (!t || t !== e.target) && (this._preserveFocus(!0), this.focusInnerElement()); + } + /** + * Called when the user finish interacting with the slider + * Fires an change event indicating a final value change, after user interaction is finished. + * + * @protected + */ + handleUpBase() { + window.removeEventListener("mouseup", this._upHandler), window.removeEventListener("touchend", this._upHandler), window.removeEventListener("mousemove", this._moveHandler), window.removeEventListener("touchmove", this._moveHandler), this._isUserInteraction = !1, this._preserveFocus(!1); + } + /** + * Updates state storage for the value-related property + * Fires an input event indicating a value change via interaction that is not yet finished. + * + * @protected + */ + updateStateStorageAndFireInputEvent(e) { + this.storePropertyState(e), this._isUserInteraction && this.fireEvent("input"); + } + /** + * Goes through the key shortcuts available for the component and returns 'true' if the event is triggered by one. + * + * @private + */ + static _isActionKey(e) { + return this.ACTION_KEYS.some((t) => t(e)); + } + /** + * Locks the given value between min and max boundaries based on slider properties + * + * @protected + */ + static clipValue(e, t, o) { + return e = Math.min(Math.max(e, t), o), e; + } + /** + * Sets the slider value from an event + * + * @protected + */ + static getValueFromInteraction(e, t, o, r, n, s) { + const l = this.getPageXValueFromEvent(e), T = this.computedValueFromPageX(l, o, r, n, s), w = this.getSteppedValue(T, t, o); + return this.clipValue(w, o, r); + } + /** + * "Stepify" the raw value - calculate the new value depending on the specified step property + * + * @protected + */ + static getSteppedValue(e, t, o) { + const r = Math.abs((e - o) % t); + if (t === 0 || r === 0) + return e; + e = r * 2 >= t ? e + t - r : e - r; + const n = vr._getDecimalPrecisionOfNumber(t); + return Number(e.toFixed(n)); + } + /** + * Gets pageX value from event on user interaction with the Slider + * + * @protected + */ + static getPageXValueFromEvent(e) { + return nu() && e instanceof TouchEvent ? e.targetTouches && e.targetTouches.length > 0 ? e.targetTouches[0].pageX : 0 : e.pageX; + } + /** + * Computes the new value (in %) from the pageX position of the cursor. + * Returns the value rounded to a precision of at most 2 digits after decimal point. + * + * @protected + */ + static computedValueFromPageX(e, t, o, r, n) { + const l = (n === "left" ? e - r[n] : r[n] - e) / r.width; + return t + l * (o - t); + } + /** + * Calculates the precision (decimal places) of a number, returns 0 if integer + * Handles scientific notation cases. + * @private + */ + static _getDecimalPrecisionOfNumber(e) { + if (Number.isInteger(e)) + return 0; + const t = String(e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/); + return !t || t.length < 2 ? 0 : Math.max(0, (t[1] ? t[1].length : 0) - (t[2] ? Number(t[2]) : 0)); + } + /** + * In order to always keep the visual UI representation and the internal + * state in sync, the component has a 'state storage' that is updated when the + * current state is changed due to a user action. + * + * Check if the previously saved state is outdated. That would mean + * a property has been changed programmatically because the previous state + * is always updated in the interaction handlers. + * + * Will return true if any of the properties is not equal to its previously + * stored value. + * + * @protected + */ + isCurrentStateOutdated() { + return Object.entries(this._stateStorage).some(([e, t]) => this[e] !== t); + } + /** + * Returns the last stored value of a property + * + * @protected + */ + getStoredPropertyState(e) { + return this._stateStorage[e]; + } + /** + * Check if one or more properties have been updated compared to their last + * saved values in the state storage. + * + * @protected + */ + isPropertyUpdated(...e) { + return e.some((t) => this.getStoredPropertyState(t) !== this[t]); + } + /** + * Updates the previously saved in the _stateStorage values of one or more properties. + * + * @protected + */ + storePropertyState(...e) { + e.forEach((t) => { + this._stateStorage[t] = this[t]; + }); + } + /** + * Returns the start side of a direction - left for LTR, right for RTL + */ + get directionStart() { + return this.effectiveDir === "rtl" ? "right" : "left"; + } + /** + * Calculates the labels amount, width and text and creates them + * + * @private + */ + _createLabels() { + if (!this.labelInterval || !this.showTickmarks) + return; + const e = this.labelInterval, t = this._effectiveStep, o = (this._effectiveMax - this._effectiveMin) / (t * e); + if (o === this._oldNumberOfLabels && this._oldMin === this._effectiveMin && this._oldMax === this._effectiveMax) + return; + this._oldMin = this._effectiveMin, this._oldMax = this._effectiveMax, this._oldNumberOfLabels = o, this._labelWidth = 100 / o, this._labelValues = []; + const r = vr._getDecimalPrecisionOfNumber(t); + for (let n = 0; n <= o; n++) { + const s = (n * t * e + this._effectiveMin).toFixed(r); + this._labelValues.push(s); + } + } + _handleActionKeyPressBase(e, t) { + const o = vr._isIncreaseValueAction(e), r = vr._isBigStepAction(e), n = this[t], s = this._effectiveMin, l = this._effectiveMax; + let T = this.effectiveDir === "rtl" ? -this._effectiveStep : this._effectiveStep; + return T = r && (l - s) / T > 10 ? (l - s) / 10 : T, Ii(e) ? l - n : qt(e) ? (n - s) * -1 : o ? T : T * -1; + } + static _isDecreaseValueAction(e) { + return Ue(e) || Fn(e) || Ct(e) || Cl(e) || L2(e) || Ji(e); + } + static _isIncreaseValueAction(e) { + return Ye(e) || Ln(e) || dt(e) || Ds(e) || M2(e) || Ri(e); + } + static _isBigStepAction(e) { + return Fn(e) || Ln(e) || Cl(e) || Ds(e) || Ri(e) || Ji(e); + } + get _tickmarksCount() { + return (this._effectiveMax - this._effectiveMin) / this._effectiveStep; + } + /** + * Calculates space between tickmarks + * + * @private + */ + _spaceBetweenTickmarks() { + return this.getBoundingClientRect().width / this._tickmarksCount; + } + /** + * Notify in case of a invalid step value type + * + * @private + */ + _validateStep(e) { + e === 0 && console.warn("The 'step' property must be a positive float number"), e < 0 && console.warn("The 'step' property must be a positive float number. The provided negative number has been converted to its positve equivalent"), Number.isNaN(e) && console.warn("The 'step' property must be a positive float number. It has been set to its default value of 1"); + } + get _labels() { + return this._labelValues || []; + } + /** + * Normalizes a new step property value. + * If tickmarks are enabled recreates them according to it. + * + * @private + */ + get _effectiveStep() { + let e = this.step; + return e < 0 && (e = Math.abs(e)), Number.isNaN(e) && (e = 1), e; + } + get _effectiveMin() { + return Math.min(this.min, this.max); + } + get _effectiveMax() { + return Math.max(this.min, this.max); + } + get _tabIndex() { + return this.disabled ? "-1" : "0"; + } + get _ariaLabelledByHandleRefs() { + return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim(); + } +}; +lr([ + x({ validator: Kt, defaultValue: 0 }) +], to.prototype, "min", void 0); +lr([ + x({ validator: Kt, defaultValue: 100 }) +], to.prototype, "max", void 0); +lr([ + x({ validator: Kt, defaultValue: 1 }) +], to.prototype, "step", void 0); +lr([ + x({ validator: ne, defaultValue: 0 }) +], to.prototype, "labelInterval", void 0); +lr([ + x({ type: Boolean }) +], to.prototype, "showTickmarks", void 0); +lr([ + x({ type: Boolean }) +], to.prototype, "showTooltip", void 0); +lr([ + x({ type: Boolean }) +], to.prototype, "disabled", void 0); +lr([ + x() +], to.prototype, "accessibleName", void 0); +lr([ + x({ defaultValue: "hidden" }) +], to.prototype, "_tooltipVisibility", void 0); +lr([ + x({ type: Boolean }) +], to.prototype, "_labelsOverlapping", void 0); +lr([ + x({ type: Boolean }) +], to.prototype, "_hiddenTickmarks", void 0); +to = vr = lr([ + U("change"), + U("input") + /** + * @class + * + *

    Overview

    + * + * @constructor + * @extends UI5Element + * @public + */ +], to); +const nn = to; +function XR(i, e, t) { + return t ? y`
    ${this.step ? U5.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} name="direction-arrows" part="icon-slider" slider-icon>${this.showTooltip ? q5.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    ` : y`
    ${this.step ? U5.call(this, i, e, t) : void 0}
    ${this.showTooltip ? q5.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `; +} +function U5(i, e, t) { + return y`${this.showTickmarks ? KR.call(this, i, e, t) : void 0}`; +} +function KR(i, e, t) { + return y`
      ${Y(this.tickmarksObject, (o, r) => o._id || r, (o, r) => ZR.call(this, i, e, t, o, r))}
    ${this.labelInterval ? eN.call(this, i, e, t) : void 0}`; +} +function ZR(i, e, t, o, r) { + return y`${o ? QR.call(this, i, e, t, o, r) : JR.call(this, i, e, t, o, r)}`; +} +function QR(i, e, t, o, r) { + return y`
  • `; +} +function JR(i, e, t, o, r) { + return y`
  • `; +} +function eN(i, e, t) { + return y`
      ${Y(this._labels, (o, r) => o._id || r, (o, r) => tN.call(this, i, e, t, o, r))}
    `; +} +function tN(i, e, t, o, r) { + return y`
  • ${a(o)}
  • `; +} +function q5(i, e, t) { + return y`
    ${a(this.tooltipValue)}
    `; +} +var K6 = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Fd; +let vu = Fd = class extends nn { + constructor() { + super(), this._progressPercentage = 0, this._handlePositionFromStart = 0, this._stateStorage.value = void 0; + } + /** + * + * Check if the previously saved state is outdated. That would mean + * either it is the initial rendering or that a property has been changed + * programmatically - because the previous state is always updated in + * the interaction handlers. + * + * Normalize current properties, update the previously stored state. + * Update the visual UI representation of the Slider. + * + */ + onBeforeRendering() { + this.isCurrentStateOutdated() && (this.notResized = !0, this.syncUIAndState(), this._updateHandleAndProgress(this.value)); + } + syncUIAndState() { + this.isPropertyUpdated("step") && (this._validateStep(this.step), this.storePropertyState("step")), this.isPropertyUpdated("min", "max", "value") && (this.storePropertyState("min", "max"), this.value = nn.clipValue(this.value, this._effectiveMin, this._effectiveMax), this.updateStateStorageAndFireInputEvent("value"), this.storePropertyState("value")), this.labelInterval && this.showTickmarks && this._createLabels(), this.isPropertyUpdated("labelInterval") && this.storePropertyState("labelInterval"); + } + /** + * Called when the user starts interacting with the slider + * + * @private + */ + _onmousedown(e) { + if (this.disabled || this.step === 0) + return; + const t = this.handleDownBase(e); + this._valueOnInteractionStart = this.value, this._valueInitial === void 0 && (this._valueInitial = this.value); + const o = this.constructor; + this._isHandlePressed(o.getPageXValueFromEvent(e)) || (this._updateHandleAndProgress(t), this.value = t, this.updateStateStorageAndFireInputEvent("value")); + } + _onfocusin() { + this._valueInitial === void 0 && (this._valueInitial = this.value), this.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.VISIBLE); + } + _onfocusout() { + if (this._isFocusing()) { + this._preventFocusOut(); + return; + } + this._valueInitial = void 0, this.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.HIDDEN); + } + /** + * Called when the user moves the slider + * + * @private + */ + _handleMove(e) { + if (e.preventDefault(), this.disabled || this._effectiveStep === 0) + return; + const o = this.constructor.getValueFromInteraction(e, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart); + this._updateHandleAndProgress(o), this.value = o, this.updateStateStorageAndFireInputEvent("value"); + } + /** Called when the user finish interacting with the slider + * + * @private + */ + _handleUp() { + this._valueOnInteractionStart !== this.value && this.fireEvent("change"), this.handleUpBase(), this._valueOnInteractionStart = void 0; + } + /** Determines if the press is over the handle + * + * @private + */ + _isHandlePressed(e) { + const t = this._sliderHandle.getBoundingClientRect(); + return e >= t.left && e <= t.right; + } + /** Updates the UI representation of the progress bar and handle position + * + * @private + */ + _updateHandleAndProgress(e) { + const t = this._effectiveMax, o = this._effectiveMin; + this._progressPercentage = (e - o) / (t - o), this._handlePositionFromStart = this._progressPercentage * 100; + } + _handleActionKeyPress(e) { + const t = this._effectiveMin, o = this._effectiveMax, r = this.value, n = this.constructor, s = Ni(e) ? this._valueInitial : n.clipValue(this._handleActionKeyPressBase(e, "value") + r, t, o); + s !== r && (this._updateHandleAndProgress(s), this.value = s, this.updateStateStorageAndFireInputEvent("value")); + } + get styles() { + return { + progress: { + transform: `scaleX(${this._progressPercentage})`, + "transform-origin": `${this.directionStart} top` + }, + handle: { + [this.directionStart]: `${this._handlePositionFromStart}%` + }, + label: { + width: `${this._labelWidth}%` + }, + labelContainer: { + width: "100%", + [this.directionStart]: `-${this._labelWidth / 2}%` + }, + tooltip: { + visibility: `${this._tooltipVisibility}` + } + }; + } + get _sliderHandle() { + return this.shadowRoot.querySelector(".ui5-slider-handle"); + } + get tooltipValue() { + const t = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep); + return this.value.toFixed(t); + } + get _ariaDisabled() { + return this.disabled || void 0; + } + get _ariaLabelledByText() { + return Fd.i18nBundle.getText(T4); + } + static async onDefine() { + Fd.i18nBundle = await pe("@ui5/webcomponents"); + } + get tickmarksObject() { + const e = this._tickmarksCount, t = []; + if (this._hiddenTickmarks) + return [!0, !1]; + for (let o = 0; o <= e; o++) + t.push(this._effectiveMin + o * this.step <= this.value); + return t; + } +}; +K6([ + x({ validator: Kt, defaultValue: 0 }) +], vu.prototype, "value", void 0); +vu = Fd = K6([ + X({ + tag: "ui5-slider", + languageAware: !0, + template: XR, + dependencies: [Pe] + }) +], vu); +vu.define(); +const iN = vu; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const oN = { packageName: "@ui5/webcomponents", fileName: "themes/ColorPicker.css.ts", content: `:host(:not([hidden])){display:inline-block}.ui5-color-picker-root{width:100%;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center}.ui5-color-picker-main-color{width:16rem;height:16rem;position:relative;margin-bottom:1.5rem;border:1px solid var(--sapContent_ForegroundBorderColor);background-size:100%;background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0)),-webkit-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0)),-moz-linear-gradient(top,rgba(255,255,255,0),#fff);background-image:linear-gradient(left,#000,#0000),linear-gradient(top,#fff0,#fff);background-image:-webkit-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-webkit-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:-moz-linear-gradient(left,#000,rgba(0,0,0,0),#fff),-moz-linear-gradient(top,rgba(128,128,128,0),#808080);background-image:linear-gradient(left,#000,#0000,#fff),linear-gradient(top,#80808000,gray);user-select:none;-moz-user-select:none}.ui5-color-picker-circle{position:absolute;box-sizing:border-box;width:13px;height:13px;border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_outer_border);border-radius:.6875rem;pointer-events:none}.ui5-color-picker-circle:after{content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);height:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_circle_size);border:var(--_ui5-v1-22-1-rc-0_color_picker_circle_inner_border);border-radius:.9375rem;pointer-events:none}.ui5-color-picker-sliders-wrapper{width:calc(100% - 11px);margin-left:-10px}[ui5-slider]{--_ui5-v1-22-1-rc-0_slider_active_progress_border: none;--_ui5-v1-22-1-rc-0_slider_progress_box_sizing: content-box}[ui5-slider]::part(handle){width:.9375rem;height:1.5rem;background:transparent;margin-left:-2px;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_margin_top);box-sizing:border-box}[ui5-slider]::part(handle):after{content:"";border:2px solid #fff;display:block;height:1.25rem;border-radius:1rem;width:100%;box-sizing:border-box}[ui5-slider]::part(root-container){padding:1rem 0}[ui5-slider]::part(progress-container){width:calc(100% + 11px);height:18px;position:absolute;margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_container_margin_top);border-radius:0;border:1px solid var(--sapField_BorderColor)}[ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-size:100%;background-image:-webkit-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(left,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(left,red,#ff0,#0f0,#0ff,#00f,#f0f,red);background-color:none}[ui5-slider].ui5-color-picker-alpha-slider::part(progress-container){background-image:-webkit-linear-gradient(left,rgba(65,120,13,0),var(--ui5-v1-22-1-rc-0_Color_Picker_Progress_Container_Color)),url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}[ui5-slider]::part(progress-bar){background:transparent}.ui5-color-picker-current-color{width:100%;display:flex;justify-content:space-around;align-items:center}.ui5-color-picker-colors-wrapper{display:flex;flex-wrap:nowrap;height:1.5rem;border:1px solid var(--sapField_BorderColor)}.ui5-color-picker-white,.ui5-color-picker-color{width:3.1rem;background:#fff;display:block}.ui5-color-picker-color{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAIAAAF1V2h8AAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMByH/w/qQplcAYCEAcB0kThLCIAUAEB6jkKmAEBGAYCdmCZTAKAEAGDLY2LjAFAtAGAnf+bTAICd+Jl7AQBblCEVAaCRACATZYhEAGg7AKzPVopFAFgwABRmS8Q5ANgtADBJV2ZIALC3AMDOEAuyAAgMADBRiIUpAAR7AGDIIyN4AISZABRG8lc88SuuEOcqAAB4mbI8uSQ5RYFbCC1xB1dXLh4ozkkXKxQ2YQJhmkAuwnmZGTKBNA/g88wAAKCRFRHgg/P9eM4Ors7ONo62Dl8t6r8G/yJiYuP+5c+rcEAAAOF0ftH+LC+zGoA7BoBt/qIl7gRoXgugdfeLZrIPQLUAoOnaV/Nw+H48PEWhkLnZ2eXk5NhKxEJbYcpXff5nwl/AV/1s+X48/Pf14L7iJIEyXYFHBPjgwsz0TKUcz5IJhGLc5o9H/LcL//wd0yLESWK5WCoU41EScY5EmozzMqUiiUKSKcUl0v9k4t8s+wM+3zUAsGo+AXuRLahdYwP2SycQWHTA4vcAAPK7b8HUKAgDgGiD4c93/+8//UegJQCAZkmScQAAXkQkLlTKsz/HCAAARKCBKrBBG/TBGCzABhzBBdzBC/xgNoRCJMTCQhBCCmSAHHJgKayCQiiGzbAdKmAv1EAdNMBRaIaTcA4uwlW4Dj1wD/phCJ7BKLyBCQRByAgTYSHaiAFiilgjjggXmYX4IcFIBBKLJCDJiBRRIkuRNUgxUopUIFVIHfI9cgI5h1xGupE7yAAygvyGvEcxlIGyUT3UDLVDuag3GoRGogvQZHQxmo8WoJvQcrQaPYw2oefQq2gP2o8+Q8cwwOgYBzPEbDAuxsNCsTgsCZNjy7EirAyrxhqwVqwDu4n1Y8+xdwQSgUXACTYEd0IgYR5BSFhMWE7YSKggHCQ0EdoJNwkDhFHCJyKTqEu0JroR+cQYYjIxh1hILCPWEo8TLxB7iEPENyQSiUMyJ7mQAkmxpFTSEtJG0m5SI+ksqZs0SBojk8naZGuyBzmULCAryIXkneTD5DPkG+Qh8lsKnWJAcaT4U+IoUspqShnlEOU05QZlmDJBVaOaUt2ooVQRNY9aQq2htlKvUYeoEzR1mjnNgxZJS6WtopXTGmgXaPdpr+h0uhHdlR5Ol9BX0svpR+iX6AP0dwwNhhWDx4hnKBmbGAcYZxl3GK+YTKYZ04sZx1QwNzHrmOeZD5lvVVgqtip8FZHKCpVKlSaVGyovVKmqpqreqgtV81XLVI+pXlN9rkZVM1PjqQnUlqtVqp1Q61MbU2epO6iHqmeob1Q/pH5Z/YkGWcNMw09DpFGgsV/jvMYgC2MZs3gsIWsNq4Z1gTXEJrHN2Xx2KruY/R27iz2qqaE5QzNKM1ezUvOUZj8H45hx+Jx0TgnnKKeX836K3hTvKeIpG6Y0TLkxZVxrqpaXllirSKtRq0frvTau7aedpr1Fu1n7gQ5Bx0onXCdHZ4/OBZ3nU9lT3acKpxZNPTr1ri6qa6UbobtEd79up+6Ynr5egJ5Mb6feeb3n+hx9L/1U/W36p/VHDFgGswwkBtsMzhg8xTVxbzwdL8fb8VFDXcNAQ6VhlWGX4YSRudE8o9VGjUYPjGnGXOMk423GbcajJgYmISZLTepN7ppSTbmmKaY7TDtMx83MzaLN1pk1mz0x1zLnm+eb15vft2BaeFostqi2uGVJsuRaplnutrxuhVo5WaVYVVpds0atna0l1rutu6cRp7lOk06rntZnw7Dxtsm2qbcZsOXYBtuutm22fWFnYhdnt8Wuw+6TvZN9un2N/T0HDYfZDqsdWh1+c7RyFDpWOt6azpzuP33F9JbpL2dYzxDP2DPjthPLKcRpnVOb00dnF2e5c4PziIuJS4LLLpc+Lpsbxt3IveRKdPVxXeF60vWdm7Obwu2o26/uNu5p7ofcn8w0nymeWTNz0MPIQ+BR5dE/C5+VMGvfrH5PQ0+BZ7XnIy9jL5FXrdewt6V3qvdh7xc+9j5yn+M+4zw33jLeWV/MN8C3yLfLT8Nvnl+F30N/I/9k/3r/0QCngCUBZwOJgUGBWwL7+Hp8Ib+OPzrbZfay2e1BjKC5QRVBj4KtguXBrSFoyOyQrSH355jOkc5pDoVQfujW0Adh5mGLw34MJ4WHhVeGP45wiFga0TGXNXfR3ENz30T6RJZE3ptnMU85ry1KNSo+qi5qPNo3ujS6P8YuZlnM1VidWElsSxw5LiquNm5svt/87fOH4p3iC+N7F5gvyF1weaHOwvSFpxapLhIsOpZATIhOOJTwQRAqqBaMJfITdyWOCnnCHcJnIi/RNtGI2ENcKh5O8kgqTXqS7JG8NXkkxTOlLOW5hCepkLxMDUzdmzqeFpp2IG0yPTq9MYOSkZBxQqohTZO2Z+pn5mZ2y6xlhbL+xW6Lty8elQfJa7OQrAVZLQq2QqboVFoo1yoHsmdlV2a/zYnKOZarnivN7cyzytuQN5zvn//tEsIS4ZK2pYZLVy0dWOa9rGo5sjxxedsK4xUFK4ZWBqw8uIq2Km3VT6vtV5eufr0mek1rgV7ByoLBtQFr6wtVCuWFfevc1+1dT1gvWd+1YfqGnRs+FYmKrhTbF5cVf9go3HjlG4dvyr+Z3JS0qavEuWTPZtJm6ebeLZ5bDpaql+aXDm4N2dq0Dd9WtO319kXbL5fNKNu7g7ZDuaO/PLi8ZafJzs07P1SkVPRU+lQ27tLdtWHX+G7R7ht7vPY07NXbW7z3/T7JvttVAVVN1WbVZftJ+7P3P66Jqun4lvttXa1ObXHtxwPSA/0HIw6217nU1R3SPVRSj9Yr60cOxx++/p3vdy0NNg1VjZzG4iNwRHnk6fcJ3/ceDTradox7rOEH0x92HWcdL2pCmvKaRptTmvtbYlu6T8w+0dbq3nr8R9sfD5w0PFl5SvNUyWna6YLTk2fyz4ydlZ19fi753GDborZ752PO32oPb++6EHTh0kX/i+c7vDvOXPK4dPKy2+UTV7hXmq86X23qdOo8/pPTT8e7nLuarrlca7nuer21e2b36RueN87d9L158Rb/1tWeOT3dvfN6b/fF9/XfFt1+cif9zsu72Xcn7q28T7xf9EDtQdlD3YfVP1v+3Njv3H9qwHeg89HcR/cGhYPP/pH1jw9DBY+Zj8uGDYbrnjg+OTniP3L96fynQ89kzyaeF/6i/suuFxYvfvjV69fO0ZjRoZfyl5O/bXyl/erA6xmv28bCxh6+yXgzMV70VvvtwXfcdx3vo98PT+R8IH8o/2j5sfVT0Kf7kxmTk/8EA5jz/GMzLdsAAAAEZ0FNQQAAsY58+1GTAAAAIGNIUk0AAHolAACAgwAA+f8AAIDpAAB1MAAA6mAAADqYAAAXb5JfxUYAAACTSURBVHjaYjhz5sz///8Z/v//f+bMGQAAAAD//2I4c+YM4////wEAAAD//2I8c+YMAwODsbExAAAA//9igMgzMUAARBkAAAD//4JKQ1UwMDD+//8fwj979iwDAwMAAAD//0LSzsDAwMAA0w0D6HyofohmLPIAAAAA//9C2IdsK07jsJsOB3BriNJNQBoAAAD//wMA+ew3HIMTh5IAAAAASUVORK5CYII=)}.ui5-color-picker-color-inner{width:100%;height:100%}.ui5-color-picker-hex-input-wrapper{display:flex;align-items:center;flex-wrap:nowrap}.ui5-color-picker-hex-input{width:4.5rem;min-width:4.5rem;margin-left:.2rem}.ui5-color-picker-rgb-wrapper{display:flex;justify-content:space-around;width:100%}.ui5-color-picker-rgb{display:flex;flex-direction:column;align-items:center;margin-top:1rem}.ui5-color-picker-rgb-input{width:2.5rem;min-width:2.5rem;text-align:center}.ui5-color-picker-hue-slider::part(progress-container):before,.ui5-color-picker-alpha-slider::part(progress-container):before,.ui5-color-picker-hue-slider::part(progress-container):after,.ui5-color-picker-alpha-slider::part(progress-container):after,[ui5-slider].ui5-color-picker-hue-slider::part(icon-slider),[ui5-slider].ui5-color-picker-alpha-slider::part(icon-slider){display:none}.ui5-color-picker-alpha-slider::part(handle),.ui5-color-picker-hue-slider::part(handle){box-shadow:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_box_shadow);border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_border)}.ui5-color-picker-alpha-slider::part(handle):hover,.ui5-color-picker-hue-slider::part(handle):hover{border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_hover)}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{outline:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_outline_focus);outline-offset:.0625rem}.ui5-color-picker-alpha-slider::part(handle):focus:before,.ui5-color-picker-hue-slider::part(handle):focus:before{content:"";border:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_inline_focus);display:block;height:1.625rem;border-radius:1rem;width:1.05rem;box-sizing:border-box;position:absolute;inset:-3px -3px 2px}.ui5-color-picker-alpha-slider::part(handle):before,.ui5-color-picker-hue-slider::part(handle):before{display:none}.ui5-color-picker-alpha-slider::part(handle):focus,.ui5-color-picker-hue-slider::part(handle):focus{margin-top:var(--_ui5-v1-22-1-rc-0_color_picker_slider_handle_focus_margin_top)}[dir=rtl] [ui5-slider].ui5-color-picker-hue-slider::part(progress-container){background-image:-webkit-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:-moz-linear-gradient(right,#f00,#ff0,#0f0,#0ff,#00f,#f0f,#f00);background-image:linear-gradient(right,red,#ff0,#0f0,#0ff,#00f,#f0f,red)}[dir=rtl] .ui5-color-picker-alpha-slider::part(handle),[dir=rtl] .ui5-color-picker-hue-slider::part(handle){--_ui5-v1-22-1-rc-0_slider_handle_margin_left: 0}[dir=rtl] .ui5-color-picker-sliders-wrapper{margin-left:10px} +` }; +var zr = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Kr; +const pa = 6.5; +let io = Kr = class extends te { + static async onDefine() { + Kr.i18nBundle = await pe("@ui5/webcomponents"); + } + constructor() { + super(), this._selectedCoordinates = { + x: 256 - pa, + y: 256 - pa + }, this._mainColor = { + r: 255, + g: 0, + b: 0 + }, this.selectedHue = 0, this.mouseDown = !1, this.mouseIn = !1; + } + onBeforeRendering() { + this._color = nR(this.color); + const e = `rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, 1)`; + this._setHex(), this._setValues(), this.style.setProperty(Bo("--ui5_Color_Picker_Progress_Container_Color"), e); + } + _handleMouseDown(e) { + this.mouseDown = !0, this.mouseIn = !0, this._changeSelectedColor(e.offsetX, e.offsetY); + } + _handleMouseUp() { + this.mouseDown = !1; + } + _handleMouseOut(e) { + if (!this.mouseIn || !this.mouseDown) + return; + const t = e.target, o = t.offsetHeight, r = t.offsetWidth, n = e.offsetX <= 0, s = e.offsetY <= 0, l = e.offsetY >= t.offsetHeight, T = e.offsetX >= t.offsetWidth; + let w, S; + n ? w = 0 : T ? w = r : w = e.offsetX, s ? S = 0 : l ? S = o : S = e.offsetY, this._changeSelectedColor(w, S), this.mouseIn = !1, this.mouseDown = !1; + } + _handleMouseMove(e) { + !this.mouseDown || !this.mouseIn || this._changeSelectedColor(e.offsetX, e.offsetY); + } + _handleAlphaInput(e) { + const t = e.target.value; + this._alpha = parseFloat(t), this._setColor(this._color); + } + _handleHueInput(e) { + this.selectedHue = e.target.value, this._hue = this.selectedHue, this._setMainColor(this._hue), this._isHueValueChanged = !0; + const t = this._selectedCoordinates.x + pa, o = this._selectedCoordinates.y + pa, r = this._calculateColorFromCoordinates(t, o); + r && this._setColor(E5(r)); + } + _handleHEXChange(e) { + const t = new RegExp("^[<0-9 abcdef]+$"), o = e.target; + let r = o.value.toLowerCase(); + r.length === 3 && (r = `${r[0]}${r[0]}${r[1]}${r[1]}${r[2]}${r[2]}`); + const n = r.length === 6 && t.test(r); + n && o.value !== r && (this._wrongHEX = !1, o.value = r), r !== this.hex && (this.hex = r, n ? (this._wrongHEX = !1, this._setColor(q6(this.hex))) : this._wrongHEX = !0); + } + _handleRGBInputsChange(e) { + const t = e.target, o = parseInt(t.value) || 0; + let r; + switch (t.id) { + case "red": + r = { ...this._color, r: o }; + break; + case "green": + r = { ...this._color, g: o }; + break; + case "blue": + r = { ...this._color, b: o }; + break; + default: + r = { ...this._color }; + } + this._setColor(r); + } + _setMainColor(e) { + e <= 255 ? this._mainColor = { + r: 255, + g: e, + b: 0 + } : e <= 510 ? this._mainColor = { + r: 255 - (e - 255), + g: 255, + b: 0 + } : e <= 765 ? this._mainColor = { + r: 0, + g: 255, + b: e - 510 + } : e <= 1020 ? this._mainColor = { + r: 0, + g: 765 - (e - 255), + b: 255 + } : e <= 1275 ? this._mainColor = { + r: e - 1020, + g: 0, + b: 255 + } : this._mainColor = { + r: 255, + g: 0, + b: 1275 - (e - 255) + }; + } + _handleAlphaChange() { + this._alpha = this._alpha < 0 ? 0 : this._alpha, this._alpha = this._alpha > 1 ? 1 : this._alpha; + } + _changeSelectedColor(e, t) { + this._selectedCoordinates = { + x: e - pa, + y: t - pa + // Center the coordinates, because of the height of the circle + }, this._isSelectedColorChanged = !0; + const o = this._calculateColorFromCoordinates(e, t); + o && this._setColor(E5(o)); + } + _onkeydown(e) { + Se(e) && this._handleHEXChange(e); + } + _calculateColorFromCoordinates(e, t) { + const o = this._hue / 4.251, r = 1 - +(Math.round(parseFloat(t / 256 + "e+2")) + "e-2"), n = +(Math.round(parseFloat(e / 256 + "e+2")) + "e-2"); + if (!(!r || !n)) + return { + h: o, + s: r, + l: n + }; + } + _setColor(e = { r: 0, g: 0, b: 0 }) { + this.color = `rgba(${e.r}, ${e.g}, ${e.b}, ${this._alpha})`, this._wrongHEX = !this.isValidRGBColor(e), this.fireEvent("change"); + } + isValidRGBColor(e) { + return e.r >= 0 && e.r <= 255 && e.g >= 0 && e.g <= 255 && e.b >= 0 && e.b <= 255; + } + _setHex() { + let e = this._color.r.toString(16), t = this._color.g.toString(16), o = this._color.b.toString(16); + e.length === 1 && (e = `0${e}`), t.length === 1 && (t = `0${t}`), o.length === 1 && (o = `0${o}`), this.hex = e + t + o; + } + _setValues() { + const e = lR(this._color); + this._selectedCoordinates = { + x: Math.round(e.l * 100) * 2.56 - pa, + y: 256 - Math.round(e.s * 100) * 2.56 - pa + // Center the coordinates, because of the height of the circle + }, this._isSelectedColorChanged ? this._isSelectedColorChanged = !1 : this._isHueValueChanged ? (this._isHueValueChanged = !1, this._hue = this.selectedHue ? this.selectedHue : this._hue) : this._hue = Math.round(e.h * 4.25), this._setMainColor(this._hue); + } + get hueSliderLabel() { + return Kr.i18nBundle.getText(E3); + } + get alphaSliderLabel() { + return Kr.i18nBundle.getText(A3); + } + get hexInputLabel() { + return Kr.i18nBundle.getText(B3); + } + get redInputLabel() { + return Kr.i18nBundle.getText(D3); + } + get greenInputLabel() { + return Kr.i18nBundle.getText(P3); + } + get blueInputLabel() { + return Kr.i18nBundle.getText(O3); + } + get alphaInputLabel() { + return Kr.i18nBundle.getText(R3); + } + get inputsDisabled() { + return this._wrongHEX ? !0 : void 0; + } + get hexInputErrorState() { + return this._wrongHEX ? "Error" : void 0; + } + get styles() { + return { + mainColor: { + "background-color": `rgb(${this._mainColor.r}, ${this._mainColor.g}, ${this._mainColor.b})` + }, + circle: { + left: `${this._selectedCoordinates.x}px`, + top: `${this._selectedCoordinates.y}px` + }, + colorSpan: { + "background-color": `rgba(${this._color.r}, ${this._color.g}, ${this._color.b}, ${this._alpha})` + } + }; + } +}; +zr([ + x({ validator: Ju, defaultValue: "rgba(255, 255, 255, 1)" }) +], io.prototype, "color", void 0); +zr([ + x({ defaultValue: "ffffff", noAttribute: !0 }) +], io.prototype, "hex", void 0); +zr([ + x({ type: Object }) +], io.prototype, "_mainColor", void 0); +zr([ + x({ type: Object }) +], io.prototype, "_color", void 0); +zr([ + x({ type: Object }) +], io.prototype, "_selectedCoordinates", void 0); +zr([ + x({ validator: Kt, defaultValue: 1 }) +], io.prototype, "_alpha", void 0); +zr([ + x({ validator: ne, defaultValue: 0 }) +], io.prototype, "_hue", void 0); +zr([ + x({ type: Boolean }) +], io.prototype, "_isSelectedColorChanged", void 0); +zr([ + x({ type: Boolean }) +], io.prototype, "_isHueValueChanged", void 0); +zr([ + x({ type: Boolean }) +], io.prototype, "_wrongHEX", void 0); +io = Kr = zr([ + X({ + tag: "ui5-color-picker", + renderer: ue, + styles: oN, + template: cR, + dependencies: [ + Ar, + iN, + Jn + ] + }), + U("change") +], io); +io.define(); +const rN = io; +function nN(i, e, t) { + return y`
    ${this.hasValueState ? aN.call(this, i, e, t) : void 0}${this._effectiveShowClearIcon ? sN.call(this, i, e, t) : void 0}${this.icon ? lN.call(this, i, e, t) : void 0}${this.readonly ? void 0 : cN.call(this, i, e, t)}
    `; +} +function aN(i, e, t) { + return y`${a(this.ariaValueStateHiddenText)}`; +} +function sN(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; +} +function lN(i, e, t) { + return y``; +} +function cN(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="slim-arrow-down" slot="icon" tabindex="-1" input-icon ?pressed="${this._iconPressed}" @click="${this._arrowClick}" accessible-name="${a(this._iconAccessibleNameText)}">` : y``; +} +function uN(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} class="${W(this.classes.popover)}" hide-arrow placement-type="Bottom" horizontal-align="Left" style="${G(this.styles.suggestionsPopover)}" @ui5-after-open=${a(this._afterOpenPopover)} @ui5-after-close=${a(this._afterClosePopover)}><${E("ui5-busy-indicator", e, t)} ?active=${this.loading} size="Medium" class="ui5-combobox-busy">${this._isPhone ? W5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : K5.call(this, i, e, t)}<${E("ui5-list", e, t)} class="ui5-combobox-items-list" separators="None" @ui5-item-click=${a(this._selectItem)} @ui5-item-focused=${a(this._onItemFocus)} @mousedown=${this._itemMousedown} mode="SingleSelect">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => J5.call(this, i, e, t, o, r))}${this._isPhone ? em.call(this, i, e, t) : void 0}${this.shouldOpenValueStateMessagePopover ? tm.call(this, i, e, t) : void 0} ` : y`${this._isPhone ? W5.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : K5.call(this, i, e, t)}${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => J5.call(this, i, e, t, o, r))}${this._isPhone ? em.call(this, i, e, t) : void 0}${this.shouldOpenValueStateMessagePopover ? tm.call(this, i, e, t) : void 0} `; +} +function W5(i, e, t) { + return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._closeRespPopover}">
    <${E("ui5-input", e, t)} .value="${a(this.value)}" @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._inputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this.valueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => j5.call(this, i, e, t, o, r))}
    ${this.hasValueStateText ? G5.call(this, i, e, t) : void 0}` : y`
    ${a(this._headerTitleText)}
    ${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => j5.call(this, i, e, t, o, r))}
    ${this.hasValueStateText ? G5.call(this, i, e, t) : void 0}`; +} +function j5(i, e, t, o, r) { + return t ? y`<${E("ui5-suggestion-item", e, t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">` : y``; +} +function G5(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? Y5.call(this, i, e, t) : X5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? Y5.call(this, i, e, t) : X5.call(this, i, e, t)}
    `; +} +function Y5(i, e, t) { + return y`${a(this.valueStateDefaultText)}`; +} +function X5(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => dN.call(this, i, e, t, o, r))}`; +} +function dN(i, e, t, o, r) { + return y`${a(o)}`; +} +function K5(i, e, t) { + return y`${this.hasValueStateText ? hN.call(this, i, e, t) : void 0}`; +} +function hN(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? Z5.call(this, i, e, t) : Q5.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? Z5.call(this, i, e, t) : Q5.call(this, i, e, t)}
    `; +} +function Z5(i, e, t) { + return y`${a(this.valueStateDefaultText)}`; +} +function Q5(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => _N.call(this, i, e, t, o, r))}`; +} +function _N(i, e, t, o, r) { + return y`${a(o)}`; +} +function J5(i, e, t, o, r) { + return y`${o.isGroupItem ? pN.call(this, i, e, t, o, r) : fN.call(this, i, e, t, o, r)}`; +} +function pN(i, e, t, o, r) { + return t ? y`<${E("ui5-li-groupheader", e, t)} ?focused=${o.focused}>${a(o.text)}` : y`${a(o.text)}`; +} +function fN(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} type="Active" wrapping-type="Normal" additional-text=${a(o.additionalText)} group-name=${a(o.groupName)} ._tabIndex=${a(o.itemTabIndex)} .mappedItem=${a(o)} ?selected=${o.selected} ?focused=${o.focused}>${a(o.text)}` : y`${a(o.text)}`; +} +function em(i, e, t) { + return t ? y`` : y``; +} +function tm(i, e, t) { + return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}" placement-type="Bottom">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? im.call(this, i, e, t) : om.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? im.call(this, i, e, t) : om.call(this, i, e, t)}
    `; +} +function im(i, e, t) { + return y`${a(this.valueStateDefaultText)}`; +} +function om(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => vN.call(this, i, e, t, o, r))}`; +} +function vN(i, e, t, o, r) { + return y`${a(o)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const mN = { packageName: "@ui5/webcomponents", fileName: "themes/ComboBox.css.ts", content: `: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-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.ui5-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const gN = { packageName: "@ui5/webcomponents", fileName: "themes/ComboBoxPopover.css.ts", content: `.ui5-combobox-busy{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:42;width:100%;height:100%;display:flex;justify-content:center;align-items:center;pointer-events:all}.ui5-combobox-busy:not([active]){display:none} +` }; +var ed = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let za = class extends te { + /** + * Used to avoid tag name checks + * @protected + */ + get isGroupItem() { + return !1; + } +}; +ed([ + x() +], za.prototype, "text", void 0); +ed([ + x() +], za.prototype, "additionalText", void 0); +ed([ + x({ type: Boolean }) +], za.prototype, "focused", void 0); +ed([ + x({ type: Boolean }) +], za.prototype, "selected", void 0); +za = ed([ + X("ui5-cb-item") +], za); +za.define(); +const Z6 = za; +var Ev = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Rl = class extends te { + /** + * Used to avoid tag name checks + * @protected + */ + get isGroupItem() { + return !0; + } +}; +Ev([ + x() +], Rl.prototype, "text", void 0); +Ev([ + x({ type: Boolean }) +], Rl.prototype, "focused", void 0); +Rl = Ev([ + X("ui5-cb-group-item") +], Rl); +Rl.define(); +const bN = Rl; +function yN(i, e, t) { + return y`
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const wN = { packageName: "@ui5/webcomponents", fileName: "themes/GroupHeaderListItem.css.ts", content: `.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-v1-22-1-rc-0_group_header_list_item_height);background:var(--ui5-v1-22-1-rc-0-group-header-listitem-background-color);color:var(--sapList_TableGroupHeaderTextColor)}:host([has-border]){border-bottom:var(--sapList_BorderWidth) solid var(--sapList_GroupHeaderBorderColor)}.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)} +` }; +var Q6 = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, zd; +let mu = zd = class extends Yu { + get groupItem() { + return !0; + } + get groupHeaderText() { + return zd.i18nBundle.getText(U3); + } + get ariaLabelText() { + return [this.textContent, this.accessibleName].filter(Boolean).join(" "); + } + static async onDefine() { + zd.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +Q6([ + x() +], mu.prototype, "accessibleName", void 0); +mu = zd = Q6([ + X({ + tag: "ui5-li-groupheader", + languageAware: !0, + template: yN, + styles: [Yu.styles, wN] + }) +], mu); +mu.define(); +const td = mu; +var m1; +(function(i) { + i.StartsWithPerTerm = "StartsWithPerTerm", i.StartsWith = "StartsWith", i.Contains = "Contains", i.None = "None"; +})(m1 || (m1 = {})); +const vh = m1; +function CN(i, e, t) { + return y`
  • ${this.placeSelectionElementBefore ? SN.call(this, i, e, t) : void 0}
    ${this.hasImageContent ? AN.call(this, i, e, t) : EN.call(this, i, e, t)}${this.displayIconBegin ? DN.call(this, i, e, t) : void 0}
    ${this.hasTitle ? PN.call(this, i, e, t) : void 0}${this.hasDescription ? ON.call(this, i, e, t) : void 0}${this.typeActive ? void 0 : LN.call(this, i, e, t)}
    ${this.hasDescription ? void 0 : FN.call(this, i, e, t)}
    ${this.displayIconEnd ? HN.call(this, i, e, t) : void 0}${this.typeDetail ? VN.call(this, i, e, t) : void 0}${this.typeNavigation ? UN.call(this, i, e, t) : void 0}${this.navigated ? qN.call(this, i, e, t) : void 0}${this.placeSelectionElementAfter ? WN.call(this, i, e, t) : void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `; +} +function SN(i, e, t) { + return y`${this.modeSingleSelect ? TN.call(this, i, e, t) : void 0}${this.modeMultiSelect ? IN.call(this, i, e, t) : void 0}${this.renderDeleteButton ? kN.call(this, i, e, t) : void 0}`; +} +function TN(i, e, t) { + return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; +} +function IN(i, e, t) { + return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; +} +function kN(i, e, t) { + return y`
    ${this.hasDeleteButtonSlot ? $N.call(this, i, e, t) : xN.call(this, i, e, t)}
    `; +} +function $N(i, e, t) { + return y``; +} +function xN(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; +} +function AN(i, e, t) { + return y`
    `; +} +function EN(i, e, t) { + return y`${this.displayImage ? BN.call(this, i, e, t) : void 0}`; +} +function BN(i, e, t) { + return t ? y`<${E("ui5-avatar", e, t)} shape="Square" class="ui5-li-img">` : y``; +} +function DN(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">` : y``; +} +function PN(i, e, t) { + return y``; +} +function ON(i, e, t) { + return y`
    ${this.richDescription.length ? RN.call(this, i, e, t) : NN.call(this, i, e, t)}${this.additionalText ? MN.call(this, i, e, t) : void 0}
    `; +} +function RN(i, e, t) { + return y``; +} +function NN(i, e, t) { + return y`${a(this.description)}`; +} +function MN(i, e, t) { + return y`${a(this.additionalText)}`; +} +function LN(i, e, t) { + return y`${a(this.type)}`; +} +function FN(i, e, t) { + return y`${this.additionalText ? zN.call(this, i, e, t) : void 0}`; +} +function zN(i, e, t) { + return y`${a(this.additionalText)}`; +} +function HN(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} part="icon" name="${a(this.icon)}" class="ui5-li-icon" accessible-role="presentation" aria-hidden="true">` : y``; +} +function VN(i, e, t) { + return t ? y`
    <${E("ui5-button", e, t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    ` : y`
    `; +} +function UN(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name ="slim-arrow-right">` : y``; +} +function qN(i, e, t) { + return y`
    `; +} +function WN(i, e, t) { + return y`${this.modeSingleSelect ? jN.call(this, i, e, t) : void 0}${this.modeMultiSelect ? GN.call(this, i, e, t) : void 0}${this.renderDeleteButton ? YN.call(this, i, e, t) : void 0}`; +} +function jN(i, e, t) { + return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; +} +function GN(i, e, t) { + return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; +} +function YN(i, e, t) { + return y`
    ${this.hasDeleteButtonSlot ? XN.call(this, i, e, t) : KN.call(this, i, e, t)}
    `; +} +function XN(i, e, t) { + return y``; +} +function KN(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; +} +var Bv = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Nl = class extends ea { + onBeforeRendering() { + super.onBeforeRendering(), this.hasTitle = !!this.titleText.length; + } + get effectiveTitle() { + return this.titleText.filter((e) => e.nodeType !== Node.COMMENT_NODE).map((e) => e.textContent).join(""); + } + get hasDescription() { + return this.richDescription.length || this.description; + } + get groupItem() { + return !1; + } +}; +Bv([ + K({ type: HTMLElement }) +], Nl.prototype, "richDescription", void 0); +Bv([ + K({ type: Node, default: !0 }) +], Nl.prototype, "titleText", void 0); +Nl = Bv([ + X({ + tag: "ui5-li-suggestion-item", + template: CN + }) +], Nl); +Nl.define(); +const J6 = Nl; +var ia = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Jo = class extends te { + get groupItem() { + return !1; + } +}; +ia([ + x() +], Jo.prototype, "text", void 0); +ia([ + x({ type: Ut, defaultValue: Ut.Active }) +], Jo.prototype, "type", void 0); +ia([ + x() +], Jo.prototype, "description", void 0); +ia([ + x() +], Jo.prototype, "icon", void 0); +ia([ + x({ type: Boolean }) +], Jo.prototype, "iconEnd", void 0); +ia([ + x() +], Jo.prototype, "image", void 0); +ia([ + x() +], Jo.prototype, "additionalText", void 0); +ia([ + x({ type: q, defaultValue: q.None }) +], Jo.prototype, "additionalTextState", void 0); +Jo = ia([ + X({ + tag: "ui5-suggestion-item", + dependencies: [J6] + }) +], Jo); +Jo.define(); +const eC = Jo; +var gt = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, hi; +const Cd = 10; +var g1; +(function(i) { + i.Error = "error", i.Warning = "alert", i.Success = "sys-enter-2", i.Information = "information"; +})(g1 || (g1 = {})); +let lt = hi = class extends te { + constructor() { + super(), this._filteredItems = [], this._initialRendering = !0, this._itemFocused = !1, this._autocomplete = !1, this._isKeyNavigation = !1, this._lastValue = this.getAttribute("value") || "", this._selectionPerformed = !1, this._selectedItemText = "", this._userTypedValue = ""; + } + onBeforeRendering() { + const e = this.valueStatePopover; + this.FormSupport = ze("FormSupport"), this._effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled, (this._initialRendering || this.filter === "None") && (this._filteredItems = this.items), this.open && !this._isKeyNavigation && (this._filteredItems = this._filterItems(this.filterValue)), !this._initialRendering && document.activeElement === this && !this._filteredItems.length && (e == null || e.close()), this._selectMatchingItem(), this._initialRendering = !1, this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`); + } + get iconsCount() { + var r; + const e = ((r = this.icon) == null ? void 0 : r.length) || 0, t = Number(this._effectiveShowClearIcon) ?? 0, o = this.readonly ? 0 : 1; + return e + t + o; + } + async onAfterRendering() { + const e = await this._getPicker(); + await this.shouldClosePopover() && !ce() && (e.close(!1, !1, !0), this._clearFocus(), this._itemFocused = !1), this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover), this.storeResponsivePopoverWidth(), ce() && (this.value = this.inner.value, this._selectMatchingItem()); + } + async shouldClosePopover() { + return (await this._getPicker()).opened && !this.focused && !this._itemFocused && !this._isValueStateFocused; + } + _focusin(e) { + this.focused = !0, this._autocomplete = !1, !ce() && e.target.setSelectionRange(0, this.value.length); + } + _focusout(e) { + var s; + const t = e.relatedTarget, o = (s = t == null ? void 0 : t.shadowRoot) == null ? void 0 : s.querySelector(".ui5-valuestatemessage-root"), r = this.shadowRoot.querySelector(".ui5-input-clear-icon-wrapper"), n = r === t || (r == null ? void 0 : r.contains(t)); + if (!(this._effectiveShowClearIcon && n)) { + if (this._fireChangeEvent(), o) { + e.stopImmediatePropagation(); + return; + } + !this.shadowRoot.contains(t) && this.staticAreaItem !== e.relatedTarget && (this.focused = !1, !ce() && this._closeRespPopover(e)); + } + } + _afterOpenPopover() { + this._iconPressed = !0, this.inner.focus(); + } + _afterClosePopover() { + this._iconPressed = !1, this._filteredItems = this.items, this.filterValue = "", ce() && this.blur(), this._selectionPerformed && (this._lastValue = this.value, this._selectionPerformed = !1); + } + async _toggleRespPopover() { + (await this._getPicker()).opened ? this._closeRespPopover() : this._openRespPopover(); + } + async storeResponsivePopoverWidth() { + this.open && !this._listWidth && (this._listWidth = (await this._getPicker()).offsetWidth); + } + toggleValueStatePopover(e) { + e ? this.openValueStatePopover() : this.closeValueStatePopover(); + } + async openValueStatePopover() { + var e; + (e = await this._getValueStatePopover()) == null || e.showAt(this); + } + async closeValueStatePopover() { + var e; + (e = await this._getValueStatePopover()) == null || e.close(); + } + async _getValueStatePopover() { + const t = (await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover"); + return this.valueStatePopover = t, t; + } + _resetFilter() { + this._userTypedValue = "", this.inner.setSelectionRange(0, this.value.length), this._filteredItems = this._filterItems(""), this._selectMatchingItem(); + } + _arrowClick() { + this.inner.focus(), this._resetFilter(), ce() && this.value && !this._lastValue && (this._lastValue = this.value), this._toggleRespPopover(); + } + _handleMobileInput(e) { + const { target: t } = e; + this.filterValue = t.value, this.value = t.value, this.fireEvent("input"); + } + _input(e) { + const { value: t } = e.target, o = this.shouldAutocomplete(e); + if (e.target === this.inner && (e.stopImmediatePropagation(), this.focused = !0, this._isValueStateFocused = !1), this._filteredItems = this._filterItems(t), this.value = t, this.filterValue = t, this._clearFocus(), o && !Rf()) { + const r = this._getFirstMatchingItem(t); + r && this._applyAtomicValueAndSelection(r, t, !0), t !== "" && r && !r.selected && !r.isGroupItem && this.fireEvent("selection-change", { + item: r + }); + } + this.fireEvent("input"), !ce() && (!this._filteredItems.length || t === "" ? this._closeRespPopover() : this._openRespPopover()); + } + shouldAutocomplete(e) { + const t = e.inputType, o = [ + "deleteWordBackward", + "deleteWordForward", + "deleteSoftLineBackward", + "deleteSoftLineForward", + "deleteEntireSoftLine", + "deleteHardLineBackward", + "deleteHardLineForward", + "deleteByDrag", + "deleteByCut", + "deleteContent", + "deleteContentBackward", + "deleteContentForward", + "historyUndo" + ]; + return !this.noTypeahead && !o.includes(t); + } + _startsWithMatchingItems(e) { + return Kh(e, this._filteredItems, "text"); + } + _clearFocus() { + this._filteredItems.map((e) => (e.focused = !1, e)); + } + handleNavKeyPress(e) { + if (this.focused && (qt(e) || Ii(e)) && this.value) + return; + const t = this.open, o = this._filteredItems.find((n) => t ? n.focused : n.selected), r = o ? this._filteredItems.indexOf(o) : -1; + e.preventDefault(), !(this.focused && t && (Ye(e) || Ri(e) || Ji(e))) && (this._filteredItems.length - 1 === r && Ue(e) || (this._isKeyNavigation = !0, (e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "PageUp" || e.key === "PageDown" || e.key === "Home" || e.key === "End") && this[`_handle${e.key}`](e, r))); + } + _handleItemNavigation(e, t, o) { + const r = this.open, n = this._filteredItems[t], s = o ? this._filteredItems[t + 1] : this._filteredItems[t - 1], l = n && n.isGroupItem; + if (!r && (l && !s || !l && !n) || (this._clearFocus(), r ? (this._itemFocused = !0, this.value = l ? "" : n.text, this.focused = !1, n.focused = !0) : (this.focused = !0, this.value = l ? s.text : n.text, n.focused = !1), this._isValueStateFocused = !1, this._announceSelectedItem(t), this._scrollToItem(t, o), l && r)) + return; + const T = this._getFirstMatchingItem(this.value); + T && this._applyAtomicValueAndSelection(T, this.open ? this._userTypedValue : "", !0), T && !T.selected && this.fireEvent("selection-change", { + item: T + }), this.fireEvent("input"), this._fireChangeEvent(); + } + _handleArrowDown(e, t) { + const o = this.open; + if (this.focused && t === -1 && this.hasValueStateText && o) { + this._isValueStateFocused = !0, this._announceValueStateText(), this.focused = !1; + return; + } + t = !o && this.hasValueState && t === -1 ? 0 : t, this._handleItemNavigation( + e, + ++t, + !0 + /* isForward */ + ); + } + _handleArrowUp(e, t) { + const o = this.open; + if (t === 0 && !this.hasValueStateText) { + this._clearFocus(), this.focused = !0, this._itemFocused = !1; + return; + } + if (t === 0 && this.hasValueStateText && o) { + this._clearFocus(), this._itemFocused = !1, this._isValueStateFocused = !0, this._announceValueStateText(), this._filteredItems[0].selected = !1; + return; + } + if (this._isValueStateFocused) { + this.focused = !0, this._isValueStateFocused = !1; + return; + } + t = !o && this.hasValueState && t === -1 ? 0 : t, this._handleItemNavigation( + e, + --t, + !1 + /* isForward */ + ); + } + _handlePageUp(e, t) { + const o = t - Cd > -1; + t = o ? t - Cd : 0; + const r = this._filteredItems[t].isGroupItem && !this.open; + if (!o && this.hasValueStateText && this.open) { + this._clearFocus(), this._itemFocused = !1, this._isValueStateFocused = !0, this._announceValueStateText(); + return; + } + this._handleItemNavigation(e, t, r); + } + _handlePageDown(e, t) { + const o = this._filteredItems.length; + t = t + Cd < o ? t + Cd : o - 1; + const n = this._filteredItems[t].isGroupItem && !this.open; + this._handleItemNavigation(e, t, n); + } + _handleHome(e) { + const t = this._filteredItems[0].isGroupItem && !this.open; + if (this.hasValueStateText && this.open) { + this._clearFocus(), this._itemFocused = !1, this._isValueStateFocused = !0, this._announceValueStateText(); + return; + } + this._handleItemNavigation(e, 0, t); + } + _handleEnd(e) { + this._handleItemNavigation( + e, + this._filteredItems.length - 1, + !0 + /* isForward */ + ); + } + _keyup() { + this._userTypedValue = this.value.substring(0, this.inner.selectionStart || 0); + } + _keydown(e) { + const t = Ue(e) || Ye(e) || Ri(e) || Ji(e) || qt(e) || Ii(e), o = this.responsivePopover; + if (this._autocomplete = !(Hu(e) || $l(e)), this._isKeyNavigation = !1, t && !this.readonly && this._filteredItems.length && this.handleNavKeyPress(e), Se(e)) { + const r = this._filteredItems.find((n) => n.focused); + this._fireChangeEvent(), o != null && o.opened && !(r != null && r.isGroupItem) ? (this._closeRespPopover(), this.focused = !0) : this.FormSupport && this.FormSupport.triggerFormSubmit(this); + } + if (Ni(e) && (this.focused = !0, this.value = this.open ? this.value : this._lastValue, this._isValueStateFocused = !1), (Bt(e) || Mi(e)) && this.open && this._closeRespPopover(), zn(e) && !this.readonly && !this.disabled) { + e.preventDefault(), this._resetFilter(), this._toggleRespPopover(); + const r = this._filteredItems.find((n) => n.selected); + r && this.open ? (this._itemFocused = !0, r.focused = !0, this.focused = !1) : this.open && this._filteredItems.length ? this._handleItemNavigation( + e, + 0, + !0 + /* isForward */ + ) : this.focused = !0; + } + } + _click() { + ce() && !this.readonly && this._openRespPopover(); + } + _closeRespPopover(e) { + const t = this.responsivePopover; + e && e.target.classList.contains("ui5-responsive-popover-close-btn") && this._selectedItemText && (this.value = this._selectedItemText, this.filterValue = this._selectedItemText), e && e.target.classList.contains("ui5-responsive-popover-close-btn") && (this.value = this._lastValue || "", this.filterValue = this._lastValue || ""), ce() && this._fireChangeEvent(), this._isValueStateFocused = !1, this._clearFocus(), t == null || t.close(); + } + async _openRespPopover() { + (await this._getPicker()).showAt(this, !0); + } + _filterItems(e) { + const t = this.items.filter((r) => !r.isGroupItem), o = (G6[this.filter] || Av)(e, t, "text"); + return this.items.filter((r, n, s) => hi._groupItemFilter(r, ++n, s, o) || o.indexOf(r) !== -1); + } + /** + * Returns true if the group header should be shown (if there is a filtered suggestion item for this group item) + * + * @private + */ + static _groupItemFilter(e, t, o, r) { + if (e.isGroupItem) { + let n; + for (; o[t] && !o[t].isGroupItem && !n; ) + n = r.indexOf(o[t]) !== -1, t++; + return n; + } + } + _getFirstMatchingItem(e) { + const t = this.items.find((r) => r.focused === !0); + if (t != null && t.isGroupItem) { + this.value = this.filterValue; + return; + } + const o = this._startsWithMatchingItems(e).filter((r) => !r.isGroupItem); + if (o.length) + return o[0]; + } + _applyAtomicValueAndSelection(e, t, o) { + const r = e && e.text || ""; + this.inner.value = r, o && this.inner.setSelectionRange(t.length, r.length), this.value = r; + } + _selectMatchingItem() { + const e = this.items.find((r) => r.focused), t = e && e.isGroupItem, o = this._filteredItems.find((r) => !r.isGroupItem && r.text === this.value && !t); + this._filteredItems = this._filteredItems.map((r) => (r.selected = r === o, r)); + } + _fireChangeEvent() { + this.value !== this._lastValue && (this.fireEvent("change"), this._lastValue = this.value); + } + _inputChange(e) { + e.preventDefault(); + } + _itemMousedown(e) { + e.preventDefault(); + } + _selectItem(e) { + const t = e.detail.item; + this._selectedItemText = t.mappedItem.text, this._selectionPerformed = !0; + const o = this.value === this._selectedItemText, r = this.value.toLowerCase() === this.filterValue.toLowerCase(); + if (o && r) + return this._fireChangeEvent(), this._closeRespPopover(); + this.value = this._selectedItemText, t.mappedItem.selected || this.fireEvent("selection-change", { + item: t.mappedItem + }), this._filteredItems.map((n) => (n.selected = n === t.mappedItem && !n.isGroupItem, n)), this._fireChangeEvent(), this._closeRespPopover(), this.inner.setSelectionRange(this.value.length, this.value.length); + } + _onItemFocus() { + this._itemFocused = !0; + } + _announceSelectedItem(e) { + const t = this._filteredItems[e], o = this._filteredItems.filter((T) => !T.isGroupItem), r = t.additionalText || "", n = t == null ? void 0 : t.isGroupItem, s = hi.i18nBundle.getText(Fh, o.indexOf(t) + 1, o.length), l = hi.i18nBundle.getText(_v); + Yc(n ? `${l} ${t.text}` : `${r} ${s}`.trim(), Ps.Polite); + } + _clear() { + const e = this.items.find((t) => t.selected); + (e == null ? void 0 : e.text) === this.value && this.fireEvent("change"), this.value = "", this.fireEvent("input"), this._isPhone ? (this._lastValue = "", this.fireEvent("change")) : this.focus(); + } + async _scrollToItem(e, t) { + const o = await this._getPicker(), r = o.querySelector(".ui5-combobox-items-list"), n = r == null ? void 0 : r.items[e]; + if (n) { + const s = o.getBoundingClientRect(), l = n.getBoundingClientRect(); + l.top >= s.top && l.bottom <= s.bottom || n.scrollIntoView({ behavior: "instant", block: t ? "end" : "start", inline: "nearest" }); + } + } + _announceValueStateText() { + const e = this.shouldDisplayDefaultValueStateMessage ? this.valueStateDefaultText : this.valueStateMessageText.map((t) => t.textContent).join(" "); + e && Yc(e, Ps.Polite); + } + get _headerTitleText() { + return hi.i18nBundle.getText(ic); + } + get _iconAccessibleNameText() { + return hi.i18nBundle.getText(uv); + } + get inner() { + return ce() ? this.responsivePopover.querySelector("[ui5-input]").shadowRoot.querySelector("input") : this.shadowRoot.querySelector("[inner-input]"); + } + async _getPicker() { + const t = (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); + return this.responsivePopover = t, t; + } + get hasValueState() { + return this.valueState !== q.None; + } + get hasValueStateText() { + return this.hasValueState && this.valueState !== q.Success; + } + get ariaValueStateHiddenText() { + if (!this.hasValueState) + return ""; + let e = ""; + return this.valueState !== q.None && (e = this.valueStateTypeMappings[this.valueState]), this.shouldDisplayDefaultValueStateMessage ? `${e} ${this.valueStateDefaultText || ""}` : `${e}`.concat(" ", this.valueStateMessageText.map((t) => t.textContent).join(" ")); + } + get valueStateDefaultText() { + if (this.valueState !== q.None) + return this.valueStateTextMappings[this.valueState]; + } + get valueStateMessageText() { + return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); + } + get valueStateTextMappings() { + return { + [q.Success]: hi.i18nBundle.getText(Sn), + [q.Error]: hi.i18nBundle.getText(wn), + [q.Warning]: hi.i18nBundle.getText(Cn), + [q.Information]: hi.i18nBundle.getText(Qn) + }; + } + get valueStateTypeMappings() { + return { + [q.Success]: hi.i18nBundle.getText(nc), + [q.Information]: hi.i18nBundle.getText(ac), + [q.Error]: hi.i18nBundle.getText(oc), + [q.Warning]: hi.i18nBundle.getText(rc) + }; + } + get shouldOpenValueStateMessagePopover() { + return this.focused && !this.readonly && this.hasValueStateText && !this._iconPressed && !this.open && !this._isPhone; + } + get shouldDisplayDefaultValueStateMessage() { + return !this.valueStateMessage.length && this.hasValueStateText; + } + get _valueStatePopoverHorizontalAlign() { + return this.effectiveDir !== "rtl" ? ti.Left : ti.Right; + } + /** + * This method is relevant for sap_horizon theme only + */ + get _valueStateMessageIcon() { + return this.valueState !== q.None ? g1[this.valueState] : ""; + } + get open() { + var e; + return ((e = this == null ? void 0 : this.responsivePopover) == null ? void 0 : e.opened) || !1; + } + get _isPhone() { + return ce(); + } + get itemTabIndex() { + } + get ariaLabelText() { + return Xt(this); + } + get clearIconAccessibleName() { + return hi.i18nBundle.getText(Lh); + } + static async onDefine() { + hi.i18nBundle = await pe("@ui5/webcomponents"); + } + get styles() { + const e = parseInt(getComputedStyle(document.documentElement).fontSize); + return { + popoverHeader: { + width: `${this.offsetWidth}px` + }, + suggestionPopoverHeader: { + display: this._listWidth === 0 ? "none" : "inline-block", + width: `${this._listWidth || ""}px` + }, + suggestionsPopover: { + "min-width": `${this.offsetWidth || 0}px`, + "max-width": this.offsetWidth / e > 40 ? `${this.offsetWidth}px` : "40rem" + } + }; + } + get classes() { + return { + popover: { + "ui5-suggestions-popover": !0, + "ui5-popover-with-value-state-header-phone": this._isPhone && this.hasValueStateText, + "ui5-popover-with-value-state-header": !this._isPhone && this.hasValueStateText + }, + popoverValueState: { + "ui5-valuestatemessage-header": !0, + "ui5-valuestatemessage-root": !0, + "ui5-valuestatemessage--success": this.valueState === q.Success, + "ui5-valuestatemessage--error": this.valueState === q.Error, + "ui5-valuestatemessage--warning": this.valueState === q.Warning, + "ui5-valuestatemessage--information": this.valueState === q.Information + } + }; + } +}; +gt([ + x() +], lt.prototype, "value", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "noTypeahead", void 0); +gt([ + x() +], lt.prototype, "filterValue", void 0); +gt([ + x() +], lt.prototype, "placeholder", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "disabled", void 0); +gt([ + x({ type: q, defaultValue: q.None }) +], lt.prototype, "valueState", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "readonly", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "required", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "loading", void 0); +gt([ + x({ type: vh, defaultValue: vh.StartsWithPerTerm }) +], lt.prototype, "filter", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "showClearIcon", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "focused", void 0); +gt([ + x({ type: Boolean }) +], lt.prototype, "_isValueStateFocused", void 0); +gt([ + x() +], lt.prototype, "accessibleName", void 0); +gt([ + x() +], lt.prototype, "accessibleNameRef", void 0); +gt([ + x({ type: Boolean, noAttribute: !0 }) +], lt.prototype, "_iconPressed", void 0); +gt([ + x({ type: Object, noAttribute: !0, multiple: !0 }) +], lt.prototype, "_filteredItems", void 0); +gt([ + x({ validator: ne, noAttribute: !0 }) +], lt.prototype, "_listWidth", void 0); +gt([ + x({ type: Boolean, noAttribute: !0 }) +], lt.prototype, "_effectiveShowClearIcon", void 0); +gt([ + K({ type: HTMLElement, default: !0, invalidateOnChildChange: !0 }) +], lt.prototype, "items", void 0); +gt([ + K() +], lt.prototype, "valueStateMessage", void 0); +gt([ + K() +], lt.prototype, "icon", void 0); +lt = hi = gt([ + X({ + tag: "ui5-combobox", + languageAware: !0, + renderer: ue, + styles: mN, + staticAreaStyles: [ + Fr, + Ka, + gN, + Zh + ], + template: nN, + staticAreaTemplate: uN, + dependencies: [ + Z6, + Pe, + po, + fo, + el, + Ne, + ea, + td, + Fi, + bN, + Ar, + eC + ] + }), + U("change"), + U("input"), + U("selection-change", { + detail: { + /** + * @public + */ + item: { type: HTMLElement } + } + }) +], lt); +lt.define(); +/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */ +var ZN = /('')|'([^']+(?:''[^']*)*)(?:'|$)|\{([0-9]+(?:\s*,[^{}]*)?)\}|[{}]/g, QN = function(i, e) { + return Ee(typeof i == "string" || i instanceof String, "pattern must be string"), (arguments.length > 2 || e != null && !Array.isArray(e)) && (e = Array.prototype.slice.call(arguments, 1)), e = e || [], i.replace(ZN, function(t, o, r, n, s) { + if (o) + return "'"; + if (r) + return r.replace(/''/g, "'"); + if (n) + return String(e[parseInt(n)]); + throw new Error("formatMessage: pattern syntax error at pos. " + s); + }); +}; +/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */ +var de = function() { + throw new Error(); +}, Ao = { + DATE: "date", + TIME: "time", + DATETIME: "datetime", + DATETIME_WITH_TIMEZONE: "datetimeWithTimezone" +}, Z_ = {}, tC = function(i) { + if (typeof i != "string" && !(i instanceof String) && i != null) + throw new TypeError("The given timezone must be a string."); +}; +de.oDateInfo = { + type: Ao.DATE, + oDefaultFormatOptions: { + style: "medium", + relativeScale: "day", + relativeStyle: "wide" + }, + aFallbackFormatOptions: [{ + style: "short" + }, { + style: "medium" + }, { + pattern: "yyyy-MM-dd" + }, { + pattern: "yyyyMMdd", + strictParsing: !0 + }], + bShortFallbackFormatOptions: !0, + bPatternFallbackWithoutDelimiter: !0, + getPattern: function(i, e, t) { + return i.getDatePattern(e, t); + }, + oRequiredParts: { + text: !0, + year: !0, + weekYear: !0, + month: !0, + day: !0 + }, + aRelativeScales: ["year", "month", "week", "day"], + aRelativeParseScales: ["year", "quarter", "month", "week", "day", "hour", "minute", "second"], + aIntervalCompareFields: ["Era", "FullYear", "Quarter", "Month", "Week", "Date"] +}; +de.oDateTimeInfo = { + type: Ao.DATETIME, + oDefaultFormatOptions: { + style: "medium", + relativeScale: "auto", + relativeStyle: "wide" + }, + aFallbackFormatOptions: [{ + style: "short" + }, { + style: "medium" + }, { + pattern: "yyyy-MM-dd'T'HH:mm:ss" + }, { + pattern: "yyyyMMdd HHmmss" + }], + getPattern: function(i, e, t) { + var o = e.indexOf("/"); + return o > 0 ? i.getCombinedDateTimePattern(e.substr(0, o), e.substr(o + 1), t) : i.getCombinedDateTimePattern(e, e, t); + }, + oRequiredParts: { + text: !0, + year: !0, + weekYear: !0, + month: !0, + day: !0, + hour0_23: !0, + hour1_24: !0, + hour0_11: !0, + hour1_12: !0 + }, + aRelativeScales: ["year", "month", "week", "day", "hour", "minute", "second"], + aRelativeParseScales: ["year", "quarter", "month", "week", "day", "hour", "minute", "second"], + aIntervalCompareFields: ["Era", "FullYear", "Quarter", "Month", "Week", "Date", "DayPeriod", "Hours", "Minutes", "Seconds"] +}; +de._getDateTimeWithTimezoneInfo = function(i) { + var e = i.showDate === void 0 || i.showDate, t = i.showTime === void 0 || i.showTime, o = i.showTimezone === void 0 || i.showTimezone, r = de.oDateTimeInfo; + return e && !t ? r = de.oDateInfo : !e && t && (r = de.oTimeInfo), Object.assign({}, r, { + type: Ao.DATETIME_WITH_TIMEZONE, + // This function is used to transform the pattern of the fallbackFormatOptions to a timezone pattern. + getTimezonePattern: function(n) { + return !e && !t && o ? "VV" : o ? n + " VV" : n; + }, + getPattern: function(n, s, l) { + if (!e && !t && o) + return "VV"; + if (!o) + return r.getPattern(n, s, l); + var T = r.getPattern(n, s, l); + return n.applyTimezonePattern(T); + } + }); +}; +de.oTimeInfo = { + type: Ao.TIME, + oDefaultFormatOptions: { + style: "medium", + relativeScale: "auto", + relativeStyle: "wide" + }, + aFallbackFormatOptions: [{ + style: "short" + }, { + style: "medium" + }, { + pattern: "HH:mm:ss" + }, { + pattern: "HHmmss" + }], + getPattern: function(i, e, t) { + return i.getTimePattern(e, t); + }, + oRequiredParts: { + text: !0, + hour0_23: !0, + hour1_24: !0, + hour0_11: !0, + hour1_12: !0 + }, + aRelativeScales: ["hour", "minute", "second"], + aRelativeParseScales: ["year", "quarter", "month", "week", "day", "hour", "minute", "second"], + aIntervalCompareFields: ["DayPeriod", "Hours", "Minutes", "Seconds"] +}; +de.getInstance = function(i, e) { + return this.getDateInstance(i, e); +}; +de.getDateInstance = function(i, e) { + return this.createInstance(i, e, this.oDateInfo); +}; +de.getDateTimeInstance = function(i, e) { + return this.createInstance(i, e, this.oDateTimeInfo); +}; +de.getDateTimeWithTimezoneInstance = function(i, e) { + if (i && !(i instanceof Al) && (function() { + if (i = Object.assign({}, i), typeof i.showTimezone == "string") { + var t = i.showTimezone; + i.showDate === void 0 && i.showTime === void 0 && (t === "Hide" ? i.showTimezone = !1 : t === "Only" && (i.showDate = !1, i.showTime = !1)), i.showTimezone = t !== "Hide"; + } + }(), i.showDate === !1 && i.showTime === !1 && i.showTimezone === !1)) + throw new TypeError("Invalid Configuration. One of the following format options must be true: showDate, showTime or showTimezone."); + return this.createInstance(i, e, de._getDateTimeWithTimezoneInfo(i || {})); +}; +de.getTimeInstance = function(i, e) { + return this.createInstance(i, e, this.oTimeInfo); +}; +de.createInstance = function(i, e, t, o) { + var r, n, s; + if (n = Object.create(this.prototype), i instanceof Al && (e = i, i = void 0), e || (e = mt.getFormatSettings().getFormatLocale()), n.oLocale = e, n.oLocaleData = At.getInstance(e), n.oFormatOptions = Sl({}, t.oDefaultFormatOptions, i), t.type === Ao.DATETIME_WITH_TIMEZONE ? (n.oFormatOptions.interval = !1, n.oFormatOptions.singleIntervalValue = !1, n.oFormatOptions.UTC = !1) : (n.oFormatOptions.showTimezone = void 0, n.oFormatOptions.showDate = void 0, n.oFormatOptions.showTime = void 0), n.type = t.type, n.oFormatOptions.calendarType || (n.oFormatOptions.calendarType = mt.getCalendarType()), n.oFormatOptions.firstDayOfWeek === void 0 && n.oFormatOptions.minimalDaysInFirstWeek !== void 0 || n.oFormatOptions.firstDayOfWeek !== void 0 && n.oFormatOptions.minimalDaysInFirstWeek === void 0) + throw new TypeError("Format options firstDayOfWeek and minimalDaysInFirstWeek need both to be set, but only one was provided."); + if (n.oFormatOptions.calendarWeekNumbering && !Object.values(wt).includes(n.oFormatOptions.calendarWeekNumbering)) + throw new TypeError("Illegal format option calendarWeekNumbering: '" + n.oFormatOptions.calendarWeekNumbering + "'"); + if (n.oFormatOptions.pattern || (n.oFormatOptions.format ? n.oFormatOptions.pattern = n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format, n.oFormatOptions.calendarType) : n.oFormatOptions.pattern = t.getPattern(n.oLocaleData, n.oFormatOptions.style, n.oFormatOptions.calendarType)), n.oFormatOptions.interval) { + var l, T = n.oFormatOptions.intervalDelimiter; + n.oFormatOptions.format ? (n.intervalPatterns = n.oLocaleData.getCustomIntervalPattern(n.oFormatOptions.format, null, n.oFormatOptions.calendarType), typeof n.intervalPatterns == "string" && (n.intervalPatterns = [n.intervalPatterns]), l = n.oLocaleData.getCustomDateTimePattern(n.oFormatOptions.format, n.oFormatOptions.calendarType), n.intervalPatterns.push(l)) : (l = n.oFormatOptions.pattern, n.intervalPatterns = [ + // when 'format' option is not set, generate the combined interval pattern + n.oLocaleData.getCombinedIntervalPattern(n.oFormatOptions.pattern, n.oFormatOptions.calendarType), + // Put the single date pattern into the array in case the date interval is formatted as a single date + n.oFormatOptions.pattern + ]), n.intervalPatterns.push(n.oFormatOptions.pattern + " - " + n.oFormatOptions.pattern), T && (T = T.replace(/'/g, "''"), T = "'" + T + "'", n.intervalPatterns.unshift(l + T + l)), n.intervalPatterns = Array.from(new Set(n.intervalPatterns)); + } + return o || (r = t.aFallbackFormatOptions, t.bShortFallbackFormatOptions && (s = t.getPattern(n.oLocaleData, "short"), r = r.concat(de._createFallbackOptionsWithoutDelimiter(s))), n.oFormatOptions.pattern && t.bPatternFallbackWithoutDelimiter && (r = de._createFallbackOptionsWithoutDelimiter(n.oFormatOptions.pattern).concat(r)), r = r.reduce(function(w, S) { + var b = Object.keys(S), v = w.some(function(g) { + return Object.keys(g).length === b.length && b.every(function(p) { + return g[p] === S[p]; + }); + }); + return v || w.push(S), w; + }, []), n.aFallbackFormats = de._createFallbackFormat(r, n.oFormatOptions.calendarType, e, t, n.oFormatOptions)), n.oRequiredParts = t.oRequiredParts, n.aRelativeScales = t.aRelativeScales, n.aRelativeParseScales = t.aRelativeParseScales, n.aIntervalCompareFields = t.aIntervalCompareFields, n.init(), n; +}; +de.prototype.init = function() { + var i = this.oFormatOptions.calendarType; + this.aMonthsAbbrev = this.oLocaleData._getMonthsWithAlternatives("abbreviated", i), this.aMonthsWide = this.oLocaleData.getMonths("wide", i), this.aMonthsNarrow = this.oLocaleData.getMonths("narrow", i), this.aMonthsAbbrevSt = this.oLocaleData._getMonthsStandAloneWithAlternatives("abbreviated", i), this.aMonthsWideSt = this.oLocaleData.getMonthsStandAlone("wide", i), this.aMonthsNarrowSt = this.oLocaleData.getMonthsStandAlone("narrow", i), this.aDaysAbbrev = this.oLocaleData.getDays("abbreviated", i), this.aDaysWide = this.oLocaleData.getDays("wide", i), this.aDaysNarrow = this.oLocaleData.getDays("narrow", i), this.aDaysShort = this.oLocaleData.getDays("short", i), this.aDaysAbbrevSt = this.oLocaleData.getDaysStandAlone("abbreviated", i), this.aDaysWideSt = this.oLocaleData.getDaysStandAlone("wide", i), this.aDaysNarrowSt = this.oLocaleData.getDaysStandAlone("narrow", i), this.aDaysShortSt = this.oLocaleData.getDaysStandAlone("short", i), this.aQuartersAbbrev = this.oLocaleData.getQuarters("abbreviated", i), this.aQuartersWide = this.oLocaleData.getQuarters("wide", i), this.aQuartersNarrow = this.oLocaleData.getQuarters("narrow", i), this.aQuartersAbbrevSt = this.oLocaleData.getQuartersStandAlone("abbreviated", i), this.aQuartersWideSt = this.oLocaleData.getQuartersStandAlone("wide", i), this.aQuartersNarrowSt = this.oLocaleData.getQuartersStandAlone("narrow", i), this.aErasNarrow = this.oLocaleData.getEras("narrow", i), this.aErasAbbrev = this.oLocaleData.getEras("abbreviated", i), this.aErasWide = this.oLocaleData.getEras("wide", i), this.aDayPeriodsAbbrev = this.oLocaleData.getDayPeriods("abbreviated", i), this.aDayPeriodsNarrow = this.oLocaleData.getDayPeriods("narrow", i), this.aDayPeriodsWide = this.oLocaleData.getDayPeriods("wide", i), this.oFlexibleDayPeriodsAbbrev = this.oLocaleData.getFlexibleDayPeriods("abbreviated", i), this.oFlexibleDayPeriodsNarrow = this.oLocaleData.getFlexibleDayPeriods("narrow", i), this.oFlexibleDayPeriodsWide = this.oLocaleData.getFlexibleDayPeriods("wide", i), this.oFlexibleDayPeriodsAbbrevSt = this.oLocaleData.getFlexibleDayPeriodsStandAlone("abbreviated", i), this.oFlexibleDayPeriodsNarrowSt = this.oLocaleData.getFlexibleDayPeriodsStandAlone("narrow", i), this.oFlexibleDayPeriodsWideSt = this.oLocaleData.getFlexibleDayPeriodsStandAlone("wide", i), this.aFormatArray = this.parseCldrDatePattern(this.oFormatOptions.pattern), this.sAllowedCharacters = this.getAllowedCharacters(this.aFormatArray); +}; +de._createFallbackFormat = function(i, e, t, o, r) { + return i.map(function(n) { + var s = Object.assign({}, n); + return s.showDate = r.showDate, s.showTime = r.showTime, s.showTimezone = r.showTimezone, typeof o.getTimezonePattern == "function" && s.pattern && (s.pattern = o.getTimezonePattern(s.pattern)), r.interval && (s.interval = !0), s.calendarType = e, de.createInstance(s, t, o, !0); + }); +}; +de._createFallbackOptionsWithoutDelimiter = function(i) { + var e = /[^dMyGU]/g, t = { + regex: /d+/g, + replace: "dd" + }, o = { + regex: /M+/g, + replace: "MM" + }, r = { + regex: /[yU]+/g, + replace: ["yyyy", "yy"] + }; + return i = i.replace(e, ""), i = i.replace(t.regex, t.replace), i = i.replace(o.regex, o.replace), r.replace.map(function(n) { + return { + pattern: i.replace(r.regex, n), + strictParsing: !0 + }; + }); +}; +var ke = { + isNumber: function(i) { + return i >= 48 && i <= 57; + }, + findNumbers: function(i, e) { + for (var t = 0; t < e && this.isNumber(i.charCodeAt(t)); ) + t++; + return i.substr(0, t); + }, + /** + * Returns if the given string starts with another given string ignoring the case. + * + * Takes the locale into account to ensure the characters are interpreted the right way. + * + * First, an exact case check is performed to remain backward compatible, then a case-insensitive check + * based on the locale is done. + * + * When during the case conversion the length of the string changes we cannot safely match + * it and return false. + * + * @param {string} sValue the value to check, e.g. "März 2013" + * @param {string} sSubstring the string to compare it with, e.g. "MÄRZ" + * @param {string} sLocale the locale, e.g. "de-DE" + * @returns {boolean} true if the given string sValue starts with sSubstring + * @private + */ + startsWithIgnoreCase: function(i, e, t) { + if (i.startsWith(e)) + return !0; + try { + var o = e.toLocaleUpperCase(t), r = i.toLocaleUpperCase(t); + return o.length !== e.length || r.length !== i.length ? !1 : r.startsWith(o); + } catch { + return !1; + } + }, + /** + * Finds the longest matching entry for which the following applies: + * * sValue starts with the found entry + * + * The index of the finding in aList and the length of the match is returned. + * The case is ignored and the given locale is used for the string comparison. + * + * @example + * findEntry("MÄRZ 2013", ["Januar", "Februar", "März", "April", ...], "de-DE"); + * // {length: 4, index: 2} + * @example + * findEntry("Sep 2013", [..., "Aug", ["Sept", "Sep"], "Oct", ...], "en-GB"); + * // {length: 3, index: 8} + * + * @param {string} sValue the input value, e.g. "MÄRZ 2013" + * @param {string[]|Array} aList + * The list of values to check, e.g. ["Januar", "Februar", "März", "April", ...]; the list may contain also + * arrays of strings containing alternatives, e.g. [..., "Aug", ["Sept", "Sep"], "Oct", ...] + * @param {string} sLocale the locale which is used for the string comparison, e.g. "de-DE" + * @returns {{length: number, index: number}} the length of the match in sValue, the index in the list of values + * e.g. length: 4, index: 2 ("MÄRZ") + * @private + */ + findEntry: function(i, e, t) { + let o = -1, r = 0; + return e.forEach((n, s) => { + (Array.isArray(n) ? n : [n]).forEach((l) => { + l.length > r && this.startsWithIgnoreCase(i, l, t) && (o = s, r = l.length); + }); + }), { + index: o, + length: r + }; + }, + /** + * Parses a given timezone + * + * @param {string} sValue String to parse, e.g. "-0800", "-08:00", "-08" + * @param {boolean} bColonSeparated Whether or not the values are colon separated, e.g. "-08:00" + * @returns {{tzDiff: number, length: number}} Object containing the timezone difference in seconds and the length of the parsed segment + */ + parseTZ: function(i, e) { + var t = 0, o = i.charAt(0) === "+" ? -1 : 1, r; + if (i[0] === "Z") + return { + length: 1, + tzDiff: 0 + }; + t++, r = this.findNumbers(i.substr(t), 2); + var n = parseInt(r); + t += 2, e && t++, r = this.findNumbers(i.substr(t), 2); + var s = 0; + return r && (t += 2, s = parseInt(r)), { + length: t, + tzDiff: (s + 60 * n) * 60 * o + }; + }, + /** + * Returns false if the given pattern symbol name is required and the value for that part is + * invalid, otherwise true is returned. + * + * @param {string} sSymbolName + * A unique pattern symbol name + * @param {boolean} bPartInvalid + * Whether the value for the given pattern symbol name is invalid + * @param {sap.ui.core.format.DateFormat} oFormat + * The DateFormat instance + * @returns {boolean} + * false if the given pattern symbol name is required and the value for that part is invalid, + * otherwise true + */ + checkValid: function(i, e, t) { + return !(i in t.oRequiredParts && e); + } +}; +de._oParseHelper = ke; +de._createPatternSymbol = function(i) { + var e = typeof i.isNumeric == "function" && i.isNumeric || function() { + return i.isNumeric || !1; + }; + return { + name: i.name, + /** + * Formatter for a pattern symbol. + * + * @param {Object} oField + * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {sap.ui.core.date.UniversalDate} oDate + * The date object to format + * @param {boolean} bUTC + * Whether the UTC option is set + * @param {sap.ui.core.format.DateFormat} oFormat + * The DateFormat instance + * @returns {string} + * The formatted date information for this date pattern part + */ + format: i.format || function() { + return ""; + }, + /** + * Parser for a pattern symbol. + * + * @param {string} sValue + * The given input + * @param {Object} oPart + * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {sap.ui.core.format.DateFormat} oFormat + * The DateFormat instance + * @param {object} oConfig + * The configuration object for parsing the value + * @param {object} oConfig.dateValue + * The already parsed date fields + * @param {boolean} oConfig.exactLength + * Whether parsing with the exact length specified by {@link DateFormat#parseCldrDatePattern} is needed + * @param {object[]} oConfig.formatArray + * The complete format array as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {int} oConfig.index + * The current index in the format array + * @param {boolean} oConfig.strict + * Whether to disallow overflows for component values of a date (see + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/Date). + * Note that the corresponding checks are just for number ranges which are possible at max + * without overflow; the check for day does not consider the month and year to compute the maximum + * number of days allowed. + * @param {string} sTimezone + * The IANA timezone ID + * @returns {object} + * The parsed date information for this date pattern part; could contain the property valid + * set to false if parsing was not successful + */ + parse: i.parse || function() { + return {}; + }, + /** + * Evaluates whether this symbol has a numeric representation. + * + * @param {int} [iDigits] The number of repetitions of the pattern symbol, e.g. 3 for "aaa" + * @returns {boolean} Whether this symbol has a numeric representation + */ + isNumeric: e + }; +}; +de.prototype.oSymbols = { + "": de._createPatternSymbol({ + name: "text", + format: function(i, e) { + return i.value; + }, + parse: function(i, e, t, o) { + var r, n = !0, s = 0, l = 0, T = "-~‐‑‒–—﹘﹣-~"; + const w = de._normalize(e.value); + for (; l < w.length; l++) { + if (r = w.charAt(l), r === " ") + for (; i.charAt(s) === " "; ) + s++; + else + T.includes(r) ? (T.includes(i.charAt(s)) || (n = !1), s++) : (i.charAt(s) !== r && (n = !1), s++); + if (!n) + break; + } + if (n) + return { + length: s + }; + var S = !1; + return o.index < o.formatArray.length - 1 && (S = o.formatArray[o.index + 1].type in t.oRequiredParts), { + valid: ke.checkValid(e.type, S, t) + }; + } + }), + G: de._createPatternSymbol({ + name: "era", + format: function(i, e, t, o) { + var r = e.getUTCEra(); + return i.digits <= 3 ? o.aErasAbbrev[r] : i.digits === 4 ? o.aErasWide[r] : o.aErasNarrow[r]; + }, + parse: function(i, e, t, o) { + for (var r = [t.aErasWide, t.aErasAbbrev, t.aErasNarrow], n = 0; n < r.length; n++) { + var s = r[n], l = ke.findEntry(i, s, t.oLocaleData.sCLDRLocaleId); + if (l.index !== -1) + return { + era: l.index, + length: l.length + }; + } + return { + era: t.aErasWide.length - 1, + valid: ke.checkValid(e.type, !0, t) + }; + } + }), + y: de._createPatternSymbol({ + name: "year", + format: function(i, e, t, o) { + var r = e.getUTCFullYear(), n = String(r), s = o.oFormatOptions.calendarType; + return i.digits === 2 && n.length > 2 && (n = n.substr(n.length - 2)), s !== Ve.Japanese && i.digits === 1 && r < 100 && (n = n.padStart(4, "0")), n.padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r, n, s, l = t.oFormatOptions.calendarType; + e.digits === 1 ? r = 4 : e.digits === 2 ? r = 2 : r = e.digits, n = ke.findNumbers(i, r), s = n === "" || o.exactLength && n.length !== r; + var T = parseInt(n); + if (l !== Ve.Japanese && n.length <= 2) { + var w = ye.getInstance($e.getInstance(), l), S = w.getUTCFullYear(), b = Math.floor(S / 100), v = b * 100 + T - S; + v < -70 ? T += (b + 1) * 100 : v < 30 ? T += b * 100 : T += (b - 1) * 100; + } + return { + length: n.length, + valid: ke.checkValid(e.type, s, t), + year: T + }; + }, + isNumeric: !0 + }), + Y: de._createPatternSymbol({ + name: "weekYear", + format: function(i, e, t, o) { + var r = e.getUTCWeek(o.oLocale, mh(o.oFormatOptions)), n = r.year, s = String(n), l = o.oFormatOptions.calendarType; + return i.digits === 2 && s.length > 2 && (s = s.substr(s.length - 2)), l !== Ve.Japanese && i.digits === 1 && n < 100 && (s = s.padStart(4, "0")), s.padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r, n, s, l = t.oFormatOptions.calendarType; + e.digits === 1 ? r = 4 : e.digits === 2 ? r = 2 : r = e.digits, n = ke.findNumbers(i, r), s = n === "" || o.exactLength && n.length !== r; + var T = parseInt(n), w = T; + if (l !== Ve.Japanese && n.length <= 2) { + var S = ye.getInstance($e.getInstance(), l), b = S.getUTCFullYear(), v = Math.floor(b / 100), g = v * 100 + w - b; + g < -70 ? w += (v + 1) * 100 : g < 30 ? w += v * 100 : w += (v - 1) * 100; + } + return { + length: n.length, + valid: ke.checkValid(e.type, s, t), + year: T, + weekYear: w + }; + }, + isNumeric: !0 + }), + M: de._createPatternSymbol({ + name: "month", + format: function(i, e, t, o) { + var r = e.getUTCMonth(); + if (i.digits === 3) { + const n = o.aMonthsAbbrev[r]; + return Array.isArray(n) ? n[0] : n; + } else + return i.digits === 4 ? o.aMonthsWide[r] : i.digits > 4 ? o.aMonthsNarrow[r] : String(r + 1).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r, n, s, l, T = [t.aMonthsWide, t.aMonthsWideSt, t.aMonthsAbbrev, t.aMonthsAbbrevSt, t.aMonthsNarrow, t.aMonthsNarrowSt]; + if (e.digits < 3) + n = ke.findNumbers(i, Math.max(e.digits, 2)), s = n === "" || o.exactLength && n.length < 2, l = ke.checkValid(e.type, s, t), r = parseInt(n) - 1, o.strict && (r > 11 || r < 0) && (l = !1); + else { + for (var w = 0; w < T.length; w++) { + var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); + if (b.index !== -1) + return { + month: b.index, + length: b.length + }; + } + l = ke.checkValid(e.type, !0, t); + } + return { + month: r, + length: n ? n.length : 0, + valid: l + }; + }, + isNumeric: function(i) { + return i < 3; + } + }), + L: de._createPatternSymbol({ + name: "monthStandalone", + format: function(i, e, t, o) { + var r = e.getUTCMonth(); + if (i.digits === 3) { + const n = o.aMonthsAbbrevSt[r]; + return Array.isArray(n) ? n[0] : n; + } else + return i.digits === 4 ? o.aMonthsWideSt[r] : i.digits > 4 ? o.aMonthsNarrowSt[r] : String(r + 1).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r, n, s, l, T = [t.aMonthsWide, t.aMonthsWideSt, t.aMonthsAbbrev, t.aMonthsAbbrevSt, t.aMonthsNarrow, t.aMonthsNarrowSt]; + if (e.digits < 3) + n = ke.findNumbers(i, Math.max(e.digits, 2)), s = n === "" || o.exactLength && n.length < 2, l = ke.checkValid(e.type, s, t), r = parseInt(n) - 1, o.strict && (r > 11 || r < 0) && (l = !1); + else { + for (var w = 0; w < T.length; w++) { + var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); + if (b.index !== -1) + return { + month: b.index, + length: b.length + }; + } + l = ke.checkValid(e.type, !0, t); + } + return { + month: r, + length: n ? n.length : 0, + valid: l + }; + }, + isNumeric: function(i) { + return i < 3; + } + }), + w: de._createPatternSymbol({ + name: "weekInYear", + format: function(i, e, t, o) { + var r = e.getUTCWeek(o.oLocale, mh(o.oFormatOptions)), n = r.week, s = String(n + 1); + return i.digits < 3 ? s = s.padStart(i.digits, "0") : s = o.oLocaleData.getCalendarWeek(i.digits === 3 ? "narrow" : "wide", s.padStart(2, "0")), s; + }, + parse: function(i, e, t, o) { + var r, n, s, l, T = 0; + if (e.digits < 3) + r = ke.findNumbers(i, 2), T = r.length, l = parseInt(r) - 1, n = !r || o.exactLength && T < 2, s = ke.checkValid(e.type, n, t); + else { + r = t.oLocaleData.getCalendarWeek(e.digits === 3 ? "narrow" : "wide"), r = r.replace("{0}", "([0-9]+)"); + var w = new RegExp(r), S = w.exec(i); + S ? (T = S[0].length, l = parseInt(S[S.length - 1]) - 1) : s = ke.checkValid(e.type, !0, t); + } + return { + length: T, + valid: s, + week: l + }; + }, + isNumeric: function(i) { + return i < 3; + } + }), + W: de._createPatternSymbol({ + name: "weekInMonth" + }), + D: de._createPatternSymbol({ + name: "dayInYear" + }), + d: de._createPatternSymbol({ + name: "day", + format: function(i, e) { + var t = e.getUTCDate(); + return String(t).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = r === "" || o.exactLength && r.length < 2, s = ke.checkValid(e.type, n, t), l = parseInt(r); + return o.strict && (l > 31 || l < 1) && (s = !1), { + day: l, + length: r.length, + valid: s + }; + }, + isNumeric: !0 + }), + Q: de._createPatternSymbol({ + name: "quarter", + format: function(i, e, t, o) { + var r = e.getUTCQuarter(); + return i.digits === 3 ? o.aQuartersAbbrev[r] : i.digits === 4 ? o.aQuartersWide[r] : i.digits > 4 ? o.aQuartersNarrow[r] : String(r + 1).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r, n, s, l, T = [t.aQuartersWide, t.aQuartersWideSt, t.aQuartersAbbrev, t.aQuartersAbbrevSt, t.aQuartersNarrow, t.aQuartersNarrowSt]; + if (e.digits < 3) + r = ke.findNumbers(i, Math.max(e.digits, 2)), n = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, n, t), s = parseInt(r) - 1, o.strict && s > 3 && (l = !1); + else { + for (var w = 0; w < T.length; w++) { + var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); + if (b.index !== -1) + return { + quarter: b.index, + length: b.length + }; + } + l = ke.checkValid(e.type, !0, t); + } + return { + length: r ? r.length : 0, + quarter: s, + valid: l + }; + }, + isNumeric: function(i) { + return i < 3; + } + }), + q: de._createPatternSymbol({ + name: "quarterStandalone", + format: function(i, e, t, o) { + var r = e.getUTCQuarter(); + return i.digits === 3 ? o.aQuartersAbbrevSt[r] : i.digits === 4 ? o.aQuartersWideSt[r] : i.digits > 4 ? o.aQuartersNarrowSt[r] : String(r + 1).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r, n, s, l, T = [t.aQuartersWide, t.aQuartersWideSt, t.aQuartersAbbrev, t.aQuartersAbbrevSt, t.aQuartersNarrow, t.aQuartersNarrowSt]; + if (e.digits < 3) + r = ke.findNumbers(i, Math.max(e.digits, 2)), n = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, n, t), s = parseInt(r) - 1, o.strict && s > 3 && (l = !1); + else { + for (var w = 0; w < T.length; w++) { + var S = T[w], b = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId); + if (b.index !== -1) + return { + quarter: b.index, + length: b.length + }; + } + l = ke.checkValid(e.type, !0, t); + } + return { + length: r ? r.length : 0, + quarter: s, + valid: l + }; + }, + isNumeric: function(i) { + return i < 3; + } + }), + F: de._createPatternSymbol({ + name: "dayOfWeekInMonth" + }), + E: de._createPatternSymbol({ + name: "dayNameInWeek", + //Day of week name, format style. + format: function(i, e, t, o) { + var r = e.getUTCDay(); + return i.digits < 4 ? o.aDaysAbbrev[r] : i.digits === 4 ? o.aDaysWide[r] : i.digits === 5 ? o.aDaysNarrow[r] : o.aDaysShort[r]; + }, + parse: function(i, e, t, o) { + for (var r = [t.aDaysWide, t.aDaysWideSt, t.aDaysAbbrev, t.aDaysAbbrevSt, t.aDaysShort, t.aDaysShortSt, t.aDaysNarrow, t.aDaysNarrowSt], n = 0; n < r.length; n++) { + var s = r[n], l = ke.findEntry(i, s, t.oLocaleData.sCLDRLocaleId); + if (l.index !== -1) + return { + // gets translated to dayOfWeek where the day of week is relative to the week + dayOfWeek: l.index, + length: l.length + }; + } + } + }), + c: de._createPatternSymbol({ + name: "dayNameInWeekStandalone", + format: function(i, e, t, o) { + var r = e.getUTCDay(); + return i.digits < 4 ? o.aDaysAbbrevSt[r] : i.digits === 4 ? o.aDaysWideSt[r] : i.digits === 5 ? o.aDaysNarrowSt[r] : o.aDaysShortSt[r]; + }, + parse: function(i, e, t, o) { + for (var r = [t.aDaysWide, t.aDaysWideSt, t.aDaysAbbrev, t.aDaysAbbrevSt, t.aDaysShort, t.aDaysShortSt, t.aDaysNarrow, t.aDaysNarrowSt], n = 0; n < r.length; n++) { + var s = r[n], l = ke.findEntry(i, s, t.oLocaleData.sCLDRLocaleId); + if (l.index !== -1) + return { + day: l.index, + length: l.length + }; + } + } + }), + // day number of week (depends on locale's first day of week) + // e.g. Thursday + // "de": 4 (firstDay: 1) + // "en": 5 (firstDay: 0) + // "ar": 6 (firstDay: 6) + u: de._createPatternSymbol({ + name: "dayNumberOfWeek", + format: function(i, e, t, o) { + var r = e.getUTCDay(); + return o._adaptDayOfWeek(r); + }, + parse: function(i, e, t, o) { + var r = ke.findNumbers(i, e.digits), n = o.exactLength && r.length !== e.digits; + return { + dayNumberOfWeek: parseInt(r), + length: r.length, + valid: ke.checkValid(e.type, n, t) + }; + }, + isNumeric: !0 + }), + a: de._createPatternSymbol({ + name: "amPmMarker", + /** + * Formats the day period. + * + * @param {Object} oField + * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {number} oField.digits + * The number of repetitions of the pattern symbol, e.g. 3 for "aaa" + * @param {string} oField.symbol + * The pattern symbol "a" + * @param {string} oField.type + * The symbol name "amPmMarker" + * @param {sap.ui.core.date.UniversalDate} oDate + * The date to format + * @param {boolean} [bUTC] + * Whether the UTC option is set; not used + * @param {sap.ui.core.format.DateFormat} oFormat + * The DateFormat instance + * @returns {string} + * The formatted day period, e.g. "AM" for symbol "a" + */ + format: function(i, e, t, o) { + var r = e.getUTCDayPeriod(); + return i.digits <= 3 ? o.aDayPeriodsAbbrev[r] : i.digits === 4 ? o.aDayPeriodsWide[r] : o.aDayPeriodsNarrow[r]; + }, + /** + * Parses the day period from a given input string. + * + * @param {string} sValue + * The given input, e.g. "am 13:37" + * @param {Object} oPart + * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {number} oPart.digits + * The number of repetitions of the pattern symbol, e.g. 3 for "aaa" + * @param {string} oPart.symbol + * The pattern symbol "a" + * @param {string} oPart.type + * The symbol name "amPmMarker" + * @param {sap.ui.core.format.DateFormat} oFormat + * The DateFormat instance + * @param {Object} [oConfig] + * The configuration object for parsing the value + * @param {object[]} [oConfig.formatArray] + * The complete format array as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {object} [oConfig.dateValue] + * The already parsed date fields + * @param {number} [oConfig.index] + * The index in the format array + * @param {boolean} [oConfig.strict] + * Whether to use the strict option + * @param {string} [sTimezone] + * The IANA timezone ID + * @returns {{length : number, pm : boolean}|{}} + * An object with the length of the match and the parsed pm + * value; or an object with property valid false if it could not be + * parsed correctly + */ + parse: function(i, e, t, o, r) { + var n, s, l, T, w, S, b = [t.aDayPeriodsWide, t.aDayPeriodsAbbrev, t.aDayPeriodsNarrow]; + n = /[aApP](?:\.)?[\x20\xA0]?[mM](?:\.)?/, w = i.match(n), s = w && w.index === 0; + function v(g) { + return g.replace(/[\x20\xA0]/g, "").replace(/\./g, ""); + } + for (s && (i = v(i)), T = 0; T < b.length; T += 1) + if (S = b[T].map((g) => de._normalize(g)), s && (S = S.map(v)), l = ke.findEntry(i, S, t.oLocaleData.sCLDRLocaleId), l.index !== -1) + return { + pm: l.index === 1, + // am/pm alternative may include an additional dot, e.g. "am." + // therefore the length for the am/pm alternative is the length of the + // match + length: s ? w[0].length : l.length + }; + return { + valid: !1 + }; + } + }), + B: de._createPatternSymbol({ + name: "flexibleDayPeriod", + /** + * Formats the flexible day period. + * + * @param {Object} oField + * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {int} oField.digits + * The number of repetitions of the pattern symbol, e.g. 3 for "BBB" + * @param {sap.ui.core.date.UniversalDate} oDate + * The date object to format + * @param {boolean} bUTC + * Whether the UTC option is set; not used + * @param {sap.ui.core.format.DateFormat} oFormat + * The DateFormat instance + * @returns {string} + * The selected day period e.g. "in the afternoon" for the according style width + * "abbreviated", "narrow" or "wide" + */ + format: function(i, e, t, o) { + var r = o.aFormatArray.some(function(s) { + return "hHKk".includes(s.symbol); + }), n = o.oLocaleData.getFlexibleDayPeriodOfTime(e.getUTCHours(), e.getUTCMinutes()); + return r ? i.digits <= 3 ? o.oFlexibleDayPeriodsAbbrev[n] : i.digits === 4 ? o.oFlexibleDayPeriodsWide[n] : o.oFlexibleDayPeriodsNarrow[n] : i.digits <= 3 ? o.oFlexibleDayPeriodsAbbrevSt[n] : i.digits === 4 ? o.oFlexibleDayPeriodsWideSt[n] : o.oFlexibleDayPeriodsNarrowSt[n]; + }, + /** + * Parses the flexible day period from a given input string. + * + * @param {string} sValue + * The given input, e.g. "in the afternoon 01:37" + * @param {Object} oPart + * The date pattern field as parsed by {@link DateFormat#parseCldrDatePattern} + * @param {sap.ui.core.format.DateFormat} oFormat + * The DateFormat instance + * @param {object} oConfig + * The configuration object for parsing the value + * @returns {{flexDayPeriod: string, length: number}|{valid: boolean}} + * An object with the parsed flexDayPeriod and the length + * value of the match; otherwise, an object with property valid + * false if it could not be parsed correctly or in case it is attempted + * to parse a string with a stand-alone format + */ + parse: function(i, e, t, o) { + var r, n, s, l = t.aFormatArray.some(function(w) { + return "hHKk".includes(w.symbol); + }), T = [t.oFlexibleDayPeriodsWide, t.oFlexibleDayPeriodsAbbrev, t.oFlexibleDayPeriodsNarrow]; + if (l) { + for (r = 0; r < T.length; r++) + if (s = T[r], n = ke.findEntry(i, Object.values(s), t.oLocaleData.sCLDRLocaleId), n.index !== -1) + return { + flexDayPeriod: Object.keys(s)[n.index], + length: n.length + }; + } + return { + valid: !1 + }; + } + }), + H: de._createPatternSymbol({ + name: "hour0_23", + format: function(i, e) { + var t = e.getUTCHours(); + return String(t).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); + return o.strict && n > 23 && (l = !1), { + hour: n, + length: r.length, + valid: l + }; + }, + isNumeric: !0 + }), + k: de._createPatternSymbol({ + name: "hour1_24", + format: function(i, e) { + var t = e.getUTCHours(), o = t === 0 ? "24" : String(t); + return o.padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); + return n === 24 && (n = 0), o.strict && n > 23 && (l = !1), { + hour: n, + length: r.length, + valid: l + }; + }, + isNumeric: !0 + }), + K: de._createPatternSymbol({ + name: "hour0_11", + format: function(i, e) { + var t = e.getUTCHours(), o = String(t > 11 ? t - 12 : t); + return o.padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); + return o.strict && n > 11 && (l = !1), { + hour: n, + length: r.length, + valid: l + }; + }, + isNumeric: !0 + }), + h: de._createPatternSymbol({ + name: "hour1_12", + format: function(i, e) { + var t = e.getUTCHours(), o; + return t > 12 ? o = String(t - 12) : t === 0 ? o = "12" : o = String(t), o.padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r = o.dateValue.pm, n = ke.findNumbers(i, Math.max(e.digits, 2)), s = parseInt(n), l = n === "" || o.exactLength && n.length < 2, T = ke.checkValid(e.type, l, t); + return s === 12 && (s = 0, r = r === void 0 ? !0 : r), o.strict && s > 11 && (T = !1), { + hour: s, + length: n.length, + pm: r, + valid: T + }; + }, + isNumeric: !0 + }), + m: de._createPatternSymbol({ + name: "minute", + format: function(i, e) { + var t = e.getUTCMinutes(); + return String(t).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r = ke.findNumbers(i, Math.max(e.digits, 2)), n = parseInt(r), s = r === "" || o.exactLength && r.length < 2, l = ke.checkValid(e.type, s, t); + return o.strict && n > 59 && (l = !1), { + length: r.length, + minute: n, + valid: l + }; + }, + isNumeric: !0 + }), + s: de._createPatternSymbol({ + name: "second", + format: function(i, e) { + var t = e.getUTCSeconds(); + return String(t).padStart(i.digits, "0"); + }, + parse: function(i, e, t, o) { + var r = Math.max(e.digits, 2), n = ke.findNumbers(i, r), s = n === "" || o.exactLength && n.length < r, l = parseInt(n), T = ke.checkValid(e.type, s, t); + return o.strict && l > 59 && (T = !1), { + length: n.length, + second: l, + valid: T + }; + }, + isNumeric: !0 + }), + S: de._createPatternSymbol({ + name: "fractionalsecond", + format: function(i, e) { + var t = e.getUTCMilliseconds(), o = String(t), r = o.padStart(3, "0"); + return r = r.substr(0, i.digits), r = r.padEnd(i.digits, "0"), r; + }, + parse: function(i, e, t, o) { + var r = ke.findNumbers(i, e.digits), n = r.length, s = o.exactLength && n < e.digits; + r = r.substr(0, 3), r = r.padEnd(3, "0"); + var l = parseInt(r); + return { + length: n, + millisecond: l, + valid: ke.checkValid(e.type, s, t) + }; + }, + isNumeric: !0 + }), + z: de._createPatternSymbol({ + name: "timezoneGeneral", + format: function(i, e, t, o, r) { + if (i.digits > 3 && e.getTimezoneLong && e.getTimezoneLong()) + return e.getTimezoneLong(); + if (e.getTimezoneShort && e.getTimezoneShort()) + return e.getTimezoneShort(); + var n = Xe.calculateOffset(e, r), s = "GMT", l = Math.abs(n / 60), T = n > 0, w = Math.floor(l / 60), S = Math.floor(l % 60); + return !t && l !== 0 ? (s += T ? "-" : "+", s += String(w).padStart(2, "0"), s += ":", s += String(S).padStart(2, "0")) : s += "Z", s; + }, + parse: function(i, e, t, o) { + var r = 0, n, s = i.substring(0, 3); + if (s === "GMT" || s === "UTC") + r = 3; + else if (i.substring(0, 2) === "UT") + r = 2; + else if (i.charAt(0) === "Z") + r = 1, n = 0; + else + return { + error: "cannot be parsed correctly by sap.ui.core.format.DateFormat: The given timezone is not supported!" + }; + if (i.charAt(0) !== "Z") { + var l = ke.parseTZ(i.substr(r), !0); + r += l.length, n = l.tzDiff; + } + return { + length: r, + tzDiff: n + }; + } + }), + Z: de._createPatternSymbol({ + name: "timezoneRFC822", + format: function(i, e, t, o, r) { + var n = Xe.calculateOffset(e, r), s = Math.abs(n / 60), l = n > 0, T = Math.floor(s / 60), w = Math.floor(s % 60), S = ""; + return t || (S += l ? "-" : "+", S += String(T).padStart(2, "0"), S += String(w).padStart(2, "0")), S; + }, + parse: function(i, e, t, o) { + return ke.parseTZ(i, !1); + } + }), + X: de._createPatternSymbol({ + name: "timezoneISO8601", + format: function(i, e, t, o, r) { + var n = Xe.calculateOffset(e, r), s = Math.abs(n / 60), l = n > 0, T = Math.floor(s / 60), w = Math.floor(s % 60), S = ""; + return !t && s !== 0 ? (S += l ? "-" : "+", S += String(T).padStart(2, "0"), (i.digits > 1 || w > 0) && ((i.digits === 3 || i.digits === 5) && (S += ":"), S += String(w).padStart(2, "0"))) : S += "Z", S; + }, + parse: function(i, e, t, o) { + return i.charAt(0) === "Z" ? { + length: 1, + tzDiff: 0 + } : ke.parseTZ(i, e.digits === 3 || e.digits === 5); + } + }), + V: de._createPatternSymbol({ + name: "timezoneID", + format: function(i, e, t, o, r) { + return !t && i.digits === 2 ? o.oLocaleData.getTimezoneTranslations()[r] || r : ""; + }, + parse: function(i, e, t, o, r) { + var n = { + timezone: "", + length: 0 + }; + if (e.digits === 2) { + var s = t.oLocaleData.getTimezoneTranslations(); + if (i === s[r]) + return { + timezone: r, + length: i.length + }; + var l = Object.values(s), T = ke.findEntry(i, l, t.oLocaleData.sCLDRLocaleId); + if (T.index !== -1) + return { + timezone: Object.keys(s)[T.index], + length: T.length + }; + for (var w = "", S = i.length; S > 0; S -= 1) + if (w = i.slice(0, S), Xe.isValidTimezone(w)) { + n.timezone = w, n.length = w.length; + break; + } + } + return n; + } + }) +}; +de.prototype._format = function(i, e, t) { + if (this.oFormatOptions.relative) { + var o = this.formatRelative(i, e, this.oFormatOptions.relativeRange, t); + if (o) + return o; + } + for (var r = this.oFormatOptions.calendarType, n = ye.getInstance(i, r), s = [], l, T, w, S = 0; S < this.aFormatArray.length; S++) + l = this.aFormatArray[S], w = l.symbol || "", s.push(this.oSymbols[w].format(l, n, e, this, t)); + return T = s.join(""), T; +}; +de.prototype.format = function(i, e) { + var t; + if (this.type === Ao.DATETIME_WITH_TIMEZONE && (t = e, e = !1, tC(t), t && !Xe.isValidTimezone(t))) + return vt.error("The given timezone isn't valid."), ""; + var o = this.oFormatOptions.calendarType, r; + if (e === void 0 && (e = this.oFormatOptions.UTC), t = t || mt.getTimezone(), Array.isArray(i)) { + if (!this.oFormatOptions.interval) + return vt.error("Non-interval DateFormat can't format more than one date instance."), ""; + if (i.length !== 2) + return vt.error("Interval DateFormat can only format with 2 date instances but " + i.length + " is given."), ""; + if (i = i.map(function(n) { + return b1(n, t, e); + }), this.oFormatOptions.singleIntervalValue) { + if (i[0] === null) + return vt.error("First date instance which is passed to the interval DateFormat shouldn't be null."), ""; + i[1] === null && (r = this._format(i[0], e, t)); + } + if (r === void 0) { + if (!i.every(y1)) + return vt.error("At least one date instance which is passed to the interval DateFormat isn't valid."), ""; + r = this._formatInterval(i, e); + } + } else { + if (!y1(i)) + return this.type === Ao.DATETIME_WITH_TIMEZONE && this.oFormatOptions.pattern.includes("VV") ? this.oLocaleData.getTimezoneTranslations()[t] || t : (vt.error("The given date instance isn't valid."), ""); + if (this.oFormatOptions.interval) + return vt.error("Interval DateFormat expects an array with two dates for the first argument but only one date is given."), ""; + i = b1(i, t, e), r = this._format(i, e, t); + } + return o === Ve.Japanese && this.oLocale.getLanguage() === "ja" && (r = r.replace(/(^|[^\d])1年/g, "$1元年")), r; +}; +de.prototype._useCustomIntervalDelimiter = function(i) { + var e; + return this.oFormatOptions.intervalDelimiter ? this.oFormatOptions.format ? (e = this.oLocaleData._parseSkeletonFormat(this.oFormatOptions.format), e.some(function(t) { + return i[t.group]; + })) : !0 : !1; +}; +de.prototype._formatInterval = function(i, e) { + var t, o, r, n, s = [], l = this.oFormatOptions.calendarType, T = [], w = ye.getInstance(i[0], l), S = ye.getInstance(i[1], l), b = this._getDiffFields([w, S]); + if (!b) + return this._format(i[0], e); + this._useCustomIntervalDelimiter(b) ? r = this.intervalPatterns[0] : this.oFormatOptions.format ? r = this.oLocaleData.getCustomIntervalPattern(this.oFormatOptions.format, b, l) : r = this.oLocaleData.getCombinedIntervalPattern(this.oFormatOptions.pattern, l), T = this.parseCldrDatePattern(r), t = w; + for (var v = 0; v < T.length; v++) + o = T[v], n = o.symbol || "", o.repeat && (t = S), s.push(this.oSymbols[n].format(o, t, e, this)); + return s.join(""); +}; +var JN = { + Era: "Era", + FullYear: "Year", + Quarter: "Quarter", + Month: "Month", + Week: "Week", + Date: "Day", + DayPeriod: "DayPeriod", + Hours: "Hour", + Minutes: "Minute", + Seconds: "Second" +}; +de.prototype._getDiffFields = function(i) { + var e = !1, t = {}; + return this.aIntervalCompareFields.forEach(function(o) { + var r = "getUTC", n = r + o, s = JN[o], l = i[0][n].apply(i[0]), T = i[1][n].apply(i[1]); + ah(l, T) || (e = !0, t[s] = !0); + }), e ? t : null; +}; +de.prototype._parse = function(i, e, t, o, r) { + var n, s, l, T, w, S, b, v = { + valid: !0, + lastTimezonePatternSymbol: "" + }, g = 0, p = { + formatArray: e, + dateValue: v, + strict: o + }, d = this; + function c(f) { + return d.oSymbols[f.symbol || ""]; + } + function h(f) { + return !!f && c(f).isNumeric(f.digits); + } + for (var _ = 0; _ < e.length && (b = i.substr(g), l = e[_], w = e[_ - 1], s = e[_ + 1], p.index = _, p.exactLength = h(l) && (h(w) || h(s)), S = c(l).parse(b, l, this, p, r) || {}, (S.tzDiff !== void 0 || S.timezone) && (S.lastTimezonePatternSymbol = l.symbol), v = Sl(v, S), S.valid !== !1); _++) + g += S.length || 0; + return v.index = g, T = v.pm, v.flexDayPeriod && v.hour * 60 + (v.minute || 0) < 720 && (n = this.oLocaleData.getFlexibleDayPeriodOfTime(v.hour + 12, v.minute || 0), T = v.flexDayPeriod === n), T && (v.hour += 12), v.dayNumberOfWeek === void 0 && v.dayOfWeek !== void 0 && (v.dayNumberOfWeek = this._adaptDayOfWeek(v.dayOfWeek)), v.quarter !== void 0 && v.month === void 0 && v.day === void 0 && (v.month = 3 * v.quarter, v.day = 1), v; +}; +de.prototype._parseInterval = function(i, e, t, o, r) { + var n, s, l; + return this.intervalPatterns.some((function(T) { + var w = this.parseCldrDatePattern(T); + s = void 0; + for (var S = 0; S < w.length; S++) + if (w[S].repeat) { + s = S; + break; + } + if (s === void 0) + return l = this._parse(i, w, t, o, r), (l.index === 0 || l.index < i.length) && (l.valid = !1), l.valid === !1 ? void 0 : (n = [l, l], !0); + if (n = [], l = this._parse(i, w.slice(0, s), t, o, r), l.valid === !1) + return; + n.push(l); + var b = l.index; + return l = this._parse(i.substring(b), w.slice(s), t, o, r), (l.index === 0 || l.index + b < i.length) && (l.valid = !1), l.valid === !1 ? void 0 : (n.push(l), !0); + }).bind(this)), n; +}; +function mh(i) { + if (i.calendarWeekNumbering) + return i.calendarWeekNumbering; + if (i.firstDayOfWeek !== void 0 && i.minimalDaysInFirstWeek !== void 0) + return { + firstDayOfWeek: i.firstDayOfWeek, + minimalDaysInFirstWeek: i.minimalDaysInFirstWeek + }; +} +var b1 = function(i, e, t) { + return !t && y1(i) ? Xe.convertToTimezone(i, e) : i; +}, Q_ = function(i, e, t, o, r, n, s) { + if (!i.valid) + return null; + var l, T = typeof i.year == "number" ? i.year : 1970; + return l = ye.getInstance(/* @__PURE__ */ new Date(0), e), l.setUTCEra(i.era || ye.getCurrentEra(e)), l.setUTCFullYear(T), l.setUTCMonth(i.month || 0), l.setUTCDate(i.day || 1), l.setUTCHours(i.hour || 0), l.setUTCMinutes(i.minute || 0), l.setUTCSeconds(i.second || 0), l.setUTCMilliseconds(i.millisecond || 0), o && (i.day || 1) !== l.getUTCDate() ? null : (i.week !== void 0 && (i.month === void 0 || i.day === void 0) && (l.setUTCWeek({ + year: i.weekYear || i.year, + week: i.week + }, s, mh(n)), i.dayNumberOfWeek !== void 0 && l.setUTCDate(l.getUTCDate() + i.dayNumberOfWeek - 1)), l = l.getJSDate(), !t && (i.lastTimezonePatternSymbol === "V" && i.timezone || i.tzDiff === void 0) && (i.timezone && (r = i.timezone), r && (i.tzDiff = Xe.calculateOffset(l, r))), i.tzDiff && l.setUTCSeconds(l.getUTCSeconds() + i.tzDiff), l); +}; +function rm(i, e) { + if (i === e) + return i; + var t = {}; + return Object.keys(i).forEach(function(o) { + t[o] = i[o]; + }), Object.keys(e).forEach(function(o) { + t.hasOwnProperty(o) || (t[o] = e[o]); + }), t; +} +function eM(i, e) { + return !(i.getTime() > e.getTime()); +} +function y1(i) { + return i && typeof i.getTime == "function" && !isNaN(i.getTime()); +} +de.prototype.parse = function(i, e, t) { + var o = this.oFormatOptions.showDate === void 0 || this.oFormatOptions.showDate, r = this.oFormatOptions.showTime === void 0 || this.oFormatOptions.showTime; + if (this.type === Ao.DATETIME_WITH_TIMEZONE && (o && !r || !o && r)) + throw new TypeError("The input can only be parsed back to date if both date and time are supplied."); + var n; + e === void 0 && this.type !== Ao.DATETIME_WITH_TIMEZONE && (e = this.oFormatOptions.UTC); + var s = e; + if (this.type === Ao.DATETIME_WITH_TIMEZONE && (n = e, e = !1, tC(n), n && !Xe.isValidTimezone(n))) + return vt.error("The given timezone isn't valid."), null; + i = i == null ? "" : String(i).trim(), i = de._normalize(i); + var l, T = this.oFormatOptions.calendarType; + if (n = n || mt.getTimezone(), t === void 0 && (t = this.oFormatOptions.strictParsing), T === Ve.Japanese && this.oLocale.getLanguage() === "ja" && (i = i.replace(/元年/g, "1年")), this.oFormatOptions.interval) { + var b = this._parseInterval(i, T, e, t, n), v, g; + if (b && b.length === 2) { + var p = rm(b[0], b[1]), d = rm(b[1], b[0]); + if (v = Q_(p, T, e, t, n, this.oFormatOptions, this.oLocale), g = Q_(d, T, e, t, n, this.oFormatOptions, this.oLocale), v && g) { + if (this.oFormatOptions.singleIntervalValue && v.getTime() === g.getTime()) + return [v, null]; + var c = eM(v, g); + return t && !c ? (vt.error("StrictParsing: Invalid date range. The given end date is before the start date."), [null, null]) : [v, g]; + } + } + } else { + var w = this.parseRelative(i, e); + if (w) + return w; + if (l = this._parse(i, this.aFormatArray, e, t, n), (l.index === 0 || l.index < i.length) && (l.valid = !1), w = Q_(l, T, e, t, n, this.oFormatOptions, this.oLocale), w) { + if (this.type === Ao.DATETIME_WITH_TIMEZONE) { + var S = this.oFormatOptions.showTimezone === void 0 || this.oFormatOptions.showTimezone; + return !S && o && r ? [w, void 0] : S && !o && !r ? [void 0, l.timezone] : [w, l.timezone || void 0]; + } + return w; + } + } + if (this.aFallbackFormats) { + var h; + return this.aFallbackFormats.every(function(_) { + return h = _.parse(i, s, t), Array.isArray(h) ? _.type === Ao.DATETIME_WITH_TIMEZONE ? !1 : !(h[0] && h[1]) : !h; + }), h; + } + return this.oFormatOptions.interval ? [null, null] : null; +}; +de.prototype.parseCldrDatePattern = function(i) { + if (Z_[i]) + return Z_[i]; + var e = [], t, o = !1, r = null, n = "", s = "", l = {}, T = !1; + for (t = 0; t < i.length; t++) { + var w = i.charAt(t), S, b, v; + if (o) { + if (w === "'") + if (b = i.charAt(t - 1), v = i.charAt(t - 2), S = i.charAt(t + 1), b === "'" && v !== "'") + o = !1; + else if (S === "'") + t += 1; + else { + o = !1; + continue; + } + n === "text" ? r.value += w : (r = { + type: "text", + value: w + }, e.push(r), n = "text"); + } else + w === "'" ? o = !0 : this.oSymbols[w] ? (s = this.oSymbols[w].name, n === s ? r.digits++ : (r = { + type: s, + symbol: w, + digits: 1 + }, e.push(r), n = s, T || (l[s] ? (r.repeat = !0, T = !0) : l[s] = !0))) : n === "text" ? r.value += w : (r = { + type: "text", + value: w + }, e.push(r), n = "text"); + } + return Z_[i] = e, e; +}; +de.prototype.parseRelative = function(i, e) { + var t, o, r, n, s; + if (!i) + return null; + t = this.oLocaleData.getRelativePatterns(this.aRelativeParseScales, this.oFormatOptions.relativeStyle); + for (var l = 0; l < t.length; l++) + if (o = t[l], r = new RegExp("^\\s*" + o.pattern.replace(/\{0\}/, "(\\d+)") + "\\s*$", "i"), n = r.exec(i), n) + return o.value !== void 0 ? T(o.value, o.scale) : (s = parseInt(n[1]), T(s * o.sign, o.scale)); + function T(w, S) { + var b = $e.getInstance(); + if (e) + switch (b.setUTCFullYear(b.getFullYear(), b.getMonth(), b.getDate()), b.setUTCHours(b.getHours(), b.getMinutes(), b.getSeconds(), b.getMilliseconds()), S) { + case "second": + b.setUTCSeconds(b.getUTCSeconds() + w); + break; + case "minute": + b.setUTCMinutes(b.getUTCMinutes() + w); + break; + case "hour": + b.setUTCHours(b.getUTCHours() + w); + break; + case "day": + b.setUTCDate(b.getUTCDate() + w); + break; + case "week": + b.setUTCDate(b.getUTCDate() + w * 7); + break; + case "month": + b.setUTCMonth(b.getUTCMonth() + w); + break; + case "quarter": + b.setUTCMonth(b.getUTCMonth() + w * 3); + break; + case "year": + b.setUTCFullYear(b.getUTCFullYear() + w); + break; + } + else + switch (S) { + case "second": + b.setSeconds(b.getSeconds() + w); + break; + case "minute": + b.setMinutes(b.getMinutes() + w); + break; + case "hour": + b.setHours(b.getHours() + w); + break; + case "day": + b.setDate(b.getDate() + w); + break; + case "week": + b.setDate(b.getDate() + w * 7); + break; + case "month": + b.setMonth(b.getMonth() + w); + break; + case "quarter": + b.setMonth(b.getMonth() + w * 3); + break; + case "year": + b.setFullYear(b.getFullYear() + w); + break; + } + return b; + } +}; +de.prototype.formatRelative = function(i, e, t, o) { + var r, n, s, l, T = b1(/* @__PURE__ */ new Date(), o), w = this.oFormatOptions.relativeScale || "day"; + return s = (i.getTime() - T.getTime()) / 1e3, this.oFormatOptions.relativeScale === "auto" && (w = this._getScale(s, this.aRelativeScales), w = tM(i, T, w, s)), t || (t = this._mRanges[w]), (w === "year" || w === "month" || w === "day") && (T = new Date(Date.UTC(T.getUTCFullYear(), T.getUTCMonth(), T.getUTCDate())), r = /* @__PURE__ */ new Date(0), r.setUTCFullYear(i.getUTCFullYear(), i.getUTCMonth(), i.getUTCDate()), i = r), n = this._getDifference(w, [T, i]), this.oFormatOptions.relativeScale !== "auto" && (n < t[0] || n > t[1]) ? null : (l = this.oLocaleData.getRelativePattern(w, n, s > 0, this.oFormatOptions.relativeStyle), QN(l, [Math.abs(n)])); +}; +de.prototype._mRanges = { + second: [-60, 60], + minute: [-60, 60], + hour: [-24, 24], + day: [-6, 6], + week: [-4, 4], + month: [-12, 12], + year: [-10, 10] +}; +de.prototype._mScales = { + second: 1, + // 1 + minute: 60, + // 60 + hour: 3600, + // 60*60 + day: 86400, + // 60*60*24 1 day + week: 604800, + // 60*60*24*7 7 days + month: 2592e3, + // 60*60*24*30 30 days + quarter: 7776e3, + // 60*60*24*30*3 90 days + year: 31536e3 + // 60*60*24*365 365 days +}; +de.prototype._getScale = function(i, e) { + var t, o; + i = Math.abs(i); + for (var r = 0; r < e.length; r++) + if (o = e[r], i >= this._mScales[o]) { + t = o; + break; + } + return t || (t = e[e.length - 1]), t; +}; +function tM(i, e, t, o) { + var r = Math.abs(i.getUTCMonth() - e.getUTCMonth()); + if (t === "week" && r === 2) + return "month"; + if (t === "week" && r === 1) { + if (i.getUTCDate() === e.getUTCDate() || o < 0 && i.getUTCDate() < e.getUTCDate() || o > 0 && i.getUTCDate() > e.getUTCDate()) + return "month"; + } else if (t === "month" && r === 1 && (o > 0 && i.getUTCDate() < e.getUTCDate() || o < 0 && i.getUTCDate() > e.getUTCDate())) + return "week"; + return t; +} +function Yr(i, e) { + for (var t, o = ["FullYear", "Month", "Date", "Hours", "Minutes", "Seconds", "Milliseconds"], r = new Date(i.getTime()), n = e; n < o.length; n++) + t = "setUTC" + o[e], r[t].apply(r, [0]); + return r; +} +var iM = { + year: function(i, e) { + return e.getUTCFullYear() - i.getUTCFullYear(); + }, + month: function(i, e) { + return e.getUTCMonth() - i.getUTCMonth() + this.year(i, e) * 12; + }, + week: function(i, e, t) { + var o = t._adaptDayOfWeek(i.getUTCDay()), r = t._adaptDayOfWeek(e.getUTCDay()); + return i = Yr(i, 3), e = Yr(e, 3), (e.getTime() - i.getTime() - (r - o) * t._mScales.day * 1e3) / (t._mScales.week * 1e3); + }, + day: function(i, e, t) { + return i = Yr(i, 3), e = Yr(e, 3), (e.getTime() - i.getTime()) / (t._mScales.day * 1e3); + }, + hour: function(i, e, t) { + return i = Yr(i, 4), e = Yr(e, 4), (e.getTime() - i.getTime()) / (t._mScales.hour * 1e3); + }, + minute: function(i, e, t) { + return i = Yr(i, 5), e = Yr(e, 5), (e.getTime() - i.getTime()) / (t._mScales.minute * 1e3); + }, + second: function(i, e, t) { + return i = Yr(i, 6), e = Yr(e, 6), (e.getTime() - i.getTime()) / (t._mScales.second * 1e3); + } +}; +de.prototype._adaptDayOfWeek = function(i) { + var e = mh(this.oFormatOptions), t; + typeof e == "object" ? t = e.firstDayOfWeek : t = tv.getWeekConfigurationValues(e, this.oLocale).firstDayOfWeek; + var o = i - (t - 1); + return o <= 0 && (o += 7), o; +}; +de.prototype._getDifference = function(i, e) { + var t = e[0], o = e[1]; + return Math.round(iM[i](t, o, this)); +}; +de.prototype.getAllowedCharacters = function(i) { + if (this.oFormatOptions.relative) + return ""; + for (var e = "", t = !1, o = !1, r, n = 0; n < i.length; n++) + switch (r = i[n], r.type) { + case "text": + e.indexOf(r.value) < 0 && (e += r.value); + break; + case "day": + case "year": + case "weekYear": + case "dayNumberOfWeek": + case "weekInYear": + case "hour0_23": + case "hour1_24": + case "hour0_11": + case "hour1_12": + case "minute": + case "second": + case "fractionalsecond": + t || (e += "0123456789", t = !0); + break; + case "month": + case "monthStandalone": + r.digits < 3 ? t || (e += "0123456789", t = !0) : o = !0; + break; + default: + o = !0; + break; + } + return o && (e = ""), e; +}; +de.prototype.getPlaceholderText = function() { + var i = _w.getLibraryResourceBundle(); + return i.getText("date.placeholder", [this.format.apply(this, this.getSampleValue())]); +}; +de.prototype.getSampleValue = function() { + var i, e = $e.getInstance().getFullYear(), t = this.oFormatOptions.UTC; + function o(r, n, s, l, T, w, S) { + return t ? $e.getInstance(Date.UTC(r, n, s, l, T, w, S)) : $e.getInstance(r, n, s, l, T, w, S); + } + return i = o(e, 11, 31, 23, 59, 58, 123), this.type === Ao.DATETIME_WITH_TIMEZONE ? [i, mt.getTimezone()] : this.oFormatOptions.interval ? [[o(e, 11, 22, 9, 12, 34, 567), i]] : [i]; +}; +const oM = /[\u200e\u200f\u202a\u202b\u202c]/g, rM = /\s/g; +de._normalize = function(i) { + return i.replace(oM, "").replace(rM, " "); +}; +const nM = de; +class eo extends nM { +} +const aM = $e; +class Rn extends aM { +} +const Aa = ye; +let De = class Hd { + constructor(e, t, o, r) { + let n = arguments, s, l, T; + switch (n.length) { + case 0: + return l = Rn.getInstance(), this.constructor(l.getFullYear(), l.getMonth(), l.getDate()); + case 1: + case 2: + if (!(n[0] instanceof Hd)) + throw new Error("Invalid arguments: the first argument must be of type CalendarDate."); + T = n[1] ? n[1] : n[0]._oUDate.sCalendarType, s = Rn.getInstance(n[0].valueOf()), s.setFullYear(s.getUTCFullYear(), s.getUTCMonth(), s.getUTCDate()), s.setHours(s.getUTCHours(), s.getUTCMinutes(), s.getUTCSeconds(), s.getUTCMilliseconds()), this._oUDate = nm(s, T); + break; + case 3: + case 4: + us(n[0], `Invalid year: ${n[0]}`), us(n[1], `Invalid month: ${n[1]}`), us(n[2], `Invalid date: ${n[2]}`), s = Rn.getInstance(0, 0, 1), s.setFullYear(n[0], n[1], n[2]), n[3] && (T = n[3]), this._oUDate = nm(s, T); + break; + default: + throw new Error(`Invalid arguments. Accepted arguments are: 1) oCalendarDate, (optional)calendarTypeor 2) year, month, date, (optional) calendarType${n}`); + } + } + getYear() { + return this._oUDate.getUTCFullYear(); + } + setYear(e) { + return us(e, `Invalid year: ${e}`), this._oUDate.setUTCFullYear(e), this; + } + getMonth() { + return this._oUDate.getUTCMonth(); + } + /** + * Sets the given month as ordinal month of the year. + * @param {int} month An integer between 0 and 11, representing the months January through December( or their + * equivalent month names for the given calendar). + * If the specified value is is outside of the expected range, this method attempts to update the date information + * accordingly. For example, if 12 is given as a month, the year will be incremented by 1, and 1 will be used for month. + * @param {int} [date] An integer between 1 and 31, representing the day of the month, but other values are allowed. + * 0 will result in the previous month's last day. + * -1 will result in the day before the previous month's last day. + * 32 will result in: + * - first day of the next month if the current month has 31 days. + * - second day of the next month if the current month has 30 days. + * Other value will result in adding or subtracting days according to the given value. + * @returns {sap.ui.unified.calendar.CalendarDate} this for method chaining. + */ + setMonth(e, t) { + return us(e, `Invalid month: ${e}`), t || t === 0 ? (us(t, `Invalid date: ${t}`), this._oUDate.setUTCMonth(e, t)) : this._oUDate.setUTCMonth(e), this; + } + getDate() { + return this._oUDate.getUTCDate(); + } + setDate(e) { + return us(e, `Invalid date: ${e}`), this._oUDate.setUTCDate(e), this; + } + getDay() { + return this._oUDate.getUTCDay(); + } + getCalendarType() { + return this._oUDate.sCalendarType; + } + isBefore(e) { + return Tc(e), this.valueOf() < e.valueOf(); + } + isAfter(e) { + return Tc(e), this.valueOf() > e.valueOf(); + } + isSameOrBefore(e) { + return Tc(e), this.valueOf() <= e.valueOf(); + } + isSameOrAfter(e) { + return Tc(e), this.valueOf() >= e.valueOf(); + } + isSame(e) { + return Tc(e), this.valueOf() === e.valueOf(); + } + toLocalJSDate() { + const e = Rn.getInstance(this._oUDate.getTime()); + return e.setFullYear(e.getUTCFullYear(), e.getUTCMonth(), e.getUTCDate()), e.setHours(0, 0, 0, 0), e; + } + toUTCJSDate() { + const e = Rn.getInstance(this._oUDate.getTime()); + return e.setUTCHours(0, 0, 0, 0), e; + } + toString() { + return `${this._oUDate.sCalendarType}: ${this.getYear()}/${this.getMonth() + 1}/${this.getDate()}`; + } + valueOf() { + return this._oUDate.getTime(); + } + static fromLocalJSDate(e, t) { + function o(r) { + return r && Object.prototype.toString.call(r) === "[object Date]" && !isNaN(r); + } + if (!o(e)) + throw new Error(`Date parameter must be a JavaScript Date object: [${e}].`); + return new Hd(e.getFullYear(), e.getMonth(), e.getDate(), t); + } + static fromTimestamp(e, t) { + const o = new Hd(0, 0, 1); + let r; + try { + r = Aa.getInstance(Rn.getInstance(e), t); + } catch { + r = /* @__PURE__ */ new Date(NaN); + } + return o._oUDate = r, o; + } +}; +function nm(i, e) { + return e ? Aa.getInstance(am(i), e) : new Aa(am(i).getTime()); +} +function am(i) { + const e = new Date(Date.UTC(0, 0, 1)); + return e.setUTCFullYear(i.getFullYear(), i.getMonth(), i.getDate()), e; +} +function Tc(i) { + if (!(i instanceof De)) + throw new Error(`Invalid calendar date: [${i}]. Expected: CalendarDate`); +} +function us(i, e) { + if (i === void 0 || i === 1 / 0 || isNaN(i)) + throw e; +} +const gu = (i, e, t, o = !0, r, n) => { + const s = new De(i); + switch (t) { + case "day": + s.setDate(i.getDate() + e); + break; + case "month": + if (o) { + s.setMonth(i.getMonth() + e); + const l = e === -1 && s.getMonth() === i.getMonth(), T = e === 1 && s.getMonth() - i.getMonth() > 1; + (l || T) && s.setDate(0); + } else + e === 1 && s.setMonth(s.getMonth() + 1, 1), e === -1 && s.setDate(0); + break; + case "year": + s.setYear(i.getYear() + e), s.getMonth() !== i.getMonth() && s.setDate(0); + break; + } + return r && s.isBefore(r) ? new De(r) : n && s.isAfter(n) ? new De(n) : s; +}, sM = (i) => (i || (i = (/* @__PURE__ */ new Date()).getTime()), (i - i % (24 * 60 * 60 * 1e3)) / 1e3), Dv = (i) => De.fromLocalJSDate(Rn.getInstance(), i).valueOf() / 1e3; +var w1; +(function(i) { + i.DAY_MONTH_YEAR = "DAY_MONTH_YEAR", i.MONTH_YEAR = "MONTH_YEAR", i.YEAR = "YEAR"; +})(w1 || (w1 = {})); +const Yo = w1, lM = "appointment-2", iC = "M32 481V65q0-14 9.5-23T64 33h64V1h32v32h192V1h32v32h64q14 0 23 9t9 23v416q0 14-9 23t-23 9H64q-13 0-22.5-9T32 481zm416 0V129H64v352h384zM256 193q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM128 321q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm256-128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm0 128q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm-128 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zM96 225q0-14 9-23t23-9 23 9 9 23-9 23-23 9-23-9-9-23zM384 97V65h-32v32h32zM128 65v32h32V65h-32z", cM = !1, uM = "SAP-icons-v4", dM = "@ui5/webcomponents-icons"; +J(lM, { pathData: iC, ltr: cM, collection: uM, packageName: dM }); +const hM = "appointment-2", oC = "M403 64q32 0 54.5 22.5T480 141v294q0 32-22.5 54.5T403 512H109q-32 0-54.5-22.5T32 435V141q0-32 22.5-54.5T109 64h25V26q0-11 7.5-18.5T160 0t18.5 7.5T186 26v38h140V26q0-11 7.5-18.5T352 0t18.5 7.5T378 26v38h25zm-294 51q-11 0-18.5 7.5T83 141v64h346v-64q0-11-7.5-18.5T403 115h-25v19q0 11-7.5 18.5T352 160t-18.5-7.5T326 134v-19H186v19q0 11-7.5 18.5T160 160t-18.5-7.5T134 134v-19h-25zm294 346q11 0 18.5-7.5T429 435V256H83v179q0 11 7.5 18.5T109 461h294zM160 320q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9zm96 0q14 0 23 9t9 23-9 23-23 9-23-9-9-23 9-23 23-9z", _M = !1, pM = "SAP-icons-v5", fM = "@ui5/webcomponents-icons"; +J(hM, { pathData: oC, ltr: _M, collection: pM, packageName: fM }); +Te(); +const J_ = /* @__PURE__ */ new Map(), Ir = (i) => (J_.has(i) || J_.set(i, new Lw(i)), J_.get(i)), Il = /* @__PURE__ */ new Map(), vM = (i) => { + const e = `min ${i}`; + if (!Il.has(e)) { + const t = new De(1, 0, 1, i); + t.setYear(1), t.setMonth(0), t.setDate(1), Il.set(e, t); + } + return Il.get(e); +}, rC = (i) => { + const e = `max ${i}`; + if (!Il.has(e)) { + const t = new De(1, 0, 1, i); + t.setYear(9999), t.setMonth(11); + const o = new De(t, i); + o.setDate(1), o.setMonth(o.getMonth() + 1, 0), t.setDate(o.getDate()), Il.set(e, t); + } + return Il.get(e); +}; +var fc = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, C1; +let Ha = C1 = class extends te { + constructor() { + super(); + } + get _primaryCalendarType() { + const e = Ir(We()); + return this.primaryCalendarType || uw() || e.getPreferredCalendarType(); + } + get _secondaryCalendarType() { + return this.secondaryCalendarType || Mk(); + } + get _minDate() { + let e; + return this.minDate && (e = this._getMinMaxCalendarDateFromString(this.minDate)), e || vM(this._primaryCalendarType); + } + get _maxDate() { + let e; + return this.maxDate && (e = this._getMinMaxCalendarDateFromString(this.maxDate)), e || rC(this._primaryCalendarType); + } + get _formatPattern() { + return this.formatPattern || "medium"; + } + get _isPattern() { + return this._formatPattern !== "medium" && this._formatPattern !== "short" && this._formatPattern !== "long"; + } + get hasSecondaryCalendarType() { + return !!this.secondaryCalendarType && this.secondaryCalendarType !== this.primaryCalendarType; + } + _getMinMaxCalendarDateFromString(e) { + if (this.getFormat().parse(e)) + return this._getCalendarDateFromString(e); + const t = this.getISOFormat().parse(e); + if (t) + return De.fromLocalJSDate(t, this._primaryCalendarType); + } + _getCalendarDateFromString(e) { + const t = this.getFormat().parse(e); + if (t) + return De.fromLocalJSDate(t, this._primaryCalendarType); + } + _getTimeStampFromString(e) { + const t = this._getCalendarDateFromString(e); + if (t) + return t.toUTCJSDate().valueOf(); + } + _getStringFromTimestamp(e) { + const t = new Date(e); + return this.getFormat().format(t, !0); + } + getFormat() { + return this._isPattern ? eo.getDateInstance({ + strictParsing: !0, + pattern: this._formatPattern, + calendarType: this._primaryCalendarType + }) : eo.getDateInstance({ + strictParsing: !0, + style: this._formatPattern, + calendarType: this._primaryCalendarType + }); + } + getISOFormat() { + return this._isoFormatInstance || (this._isoFormatInstance = eo.getDateInstance({ + strictParsing: !0, + pattern: "YYYY-MM-dd", + calendarType: this._primaryCalendarType + })), this._isoFormatInstance; + } + static async onDefine() { + [C1.i18nBundle] = await Promise.all([ + pe("@ui5/webcomponents"), + Jl(We().getLanguage(), We().getRegion(), We().getScript()) + ]); + } +}; +fc([ + x({ type: ln }) +], Ha.prototype, "primaryCalendarType", void 0); +fc([ + x({ type: ln }) +], Ha.prototype, "secondaryCalendarType", void 0); +fc([ + x() +], Ha.prototype, "formatPattern", void 0); +fc([ + x() +], Ha.prototype, "minDate", void 0); +fc([ + x() +], Ha.prototype, "maxDate", void 0); +Ha = C1 = fc([ + X({ + languageAware: !0, + renderer: ue + }) +], Ha); +const nC = Ha, mM = (i) => { + const e = new De(i); + return e.setDate(1), e.setMonth(e.getMonth() + 1), e.setDate(0), e.getDate(); +}, Jc = (i, e, t, o) => { + let r = De.fromLocalJSDate(Rn.getInstance(t * 1e3), i), n = De.fromLocalJSDate(Rn.getInstance(t * 1e3), i); + return r.setDate(1), o && (r.setMonth(0), n.setMonth(11)), n.setDate(mM(n)), r = new De(r, e), n = new De(n, e), { firstDate: r, lastDate: n }; +}, aC = (i, e, t) => { + const o = Ir(We()), r = o.getIntervalPattern(""), n = o.getMonthsStandAlone("abbreviated", t), s = o.getMonthsStandAlone("wide", t); + return i === e ? { + text: o.getMonths("abbreviated", t)[i], + textInfo: o.getMonths("wide", t)[i] + } : { + text: r.replace(/\{0\}/, n[i]).replace(/\{1\}/, n[e]), + textInfo: r.replace(/\{0\}/, s[i]).replace(/\{1\}/, s[e]) + }; +}; +var sC = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let bu = class extends te { +}; +sC([ + x() +], bu.prototype, "value", void 0); +bu = sC([ + X("ui5-date") +], bu); +bu.define(); +const Pv = bu; +var lC = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let gh = class extends nC { + get _minTimestamp() { + return this._minDate.valueOf() / 1e3; + } + get _maxTimestamp() { + return this._maxDate.valueOf() / 1e3; + } + /** + * Returns the effective timestamp to be used by the respective calendar part + * @protected + */ + get _timestamp() { + let e = this.timestamp !== void 0 ? this.timestamp : Dv(this._primaryCalendarType); + return this._maxTimestamp && this._maxTimestamp < e ? e = this._maxTimestamp : this._minTimestamp && this._minTimestamp > e && (e = this._minTimestamp), e; + } + get _localDate() { + return new Date(this._timestamp * 1e3); + } + /** + * Returns a CalendarDate instance, representing the _timestamp getter - this date is central to all components' rendering logic + * @protected + */ + get _calendarDate() { + return De.fromTimestamp(this._localDate.getTime(), this._primaryCalendarType); + } + /** + * Change a timestamp and enforce limits + * + * @param timestamp + * @protected + */ + _safelySetTimestamp(e) { + const t = this._minDate.valueOf() / 1e3, o = this._maxDate.valueOf() / 1e3; + e < t && (e = t), e > o && (e = o), this.timestamp = e; + } + /** + * Modify a timestamp by a certain amount of days/months/years and enforce limits + * @param amount + * @param unit + * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) + * @protected + */ + _safelyModifyTimestampBy(e, t, o) { + const r = gu(this._calendarDate, e, t, o); + this._safelySetTimestamp(r.valueOf() / 1e3); + } + _getTimestampFromDom(e) { + const t = e.getAttribute("data-sap-timestamp"); + return parseInt(t); + } +}; +lC([ + x({ validator: ne }) +], gh.prototype, "timestamp", void 0); +gh = lC([ + X() +], gh); +const Qh = gh; +function gM(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-calheader-arrowicon" name="slim-arrow-left">
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType ? sm.call(this, i, e, t) : void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType ? lm.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} class="ui5-calheader-arrowicon" name="slim-arrow-right">
    ` : y`
    ${a(this._monthButtonText)}${this.hasSecondaryCalendarType ? sm.call(this, i, e, t) : void 0}
    ${a(this._yearButtonText)}${this.hasSecondaryCalendarType ? lm.call(this, i, e, t) : void 0}
    `; +} +function sm(i, e, t) { + return y`${a(this._secondMonthButtonText)}`; +} +function lm(i, e, t) { + return y`${a(this._yearButtonTextSecType)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const bM = { packageName: "@ui5/webcomponents", fileName: "themes/CalendarHeader.css.ts", content: `:host{display:block;width:100%;height:100%}.ui5-calheader-root{display:flex;height:100%;padding:var(--_ui5-v1-22-1-rc-0_calendar_header_padding);box-sizing:border-box}.ui5-calheader-arrowbtn{display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_width);background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor);cursor:pointer;overflow:hidden;white-space:nowrap;padding:0;font-size:var(--sapFontSize);user-select:none}.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:hover,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:active,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled:focus,.ui5-calheader-arrowbtn.ui5-calheader-arrowbtn-disabled{opacity:.4;cursor:default;outline:none;background-color:var(--sapButton_Lite_Background);color:var(--sapButton_Lite_TextColor)}[hidden].ui5-calheader-arrowbtn.ui5-calheader-middlebtn{display:none}.ui5-calheader-arrowbtn:focus{outline:none}.ui5-calheader-arrowbtn:hover{background-color:var(--sapButton_Hover_Background);color:var(--sapButton_Lite_TextColor);box-shadow:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_box_shadow)}.ui5-calheader-arrowbtn:active{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor)}.ui5-calheader-arrowbtn,.ui5-calheader-middlebtn{border:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_arrow_button_border_radius);display:flex;background-color:var(--sapButton_Lite_Background);border-color:var(--sapButton_Lite_BorderColor)}.ui5-calheader-middlebtn{flex-direction:column;align-items:center;justify-content:center}.ui5-calheader-arrowbtn:not(:active) .ui5-calheader-btn-sectext{color:var(--sapNeutralElementColor);font-size:var(--sapFontSmallSize)}.ui5-calheader-arrowicon{color:currentColor;pointer-events:none}.ui5-calheader-midcontainer{display:flex;justify-content:space-around;flex:1 1 auto;padding:0 .5rem}.ui5-calheader-midcontainer .ui5-calheader-middlebtn:first-child{margin-inline-end:.5rem}.ui5-calheader-middlebtn{font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_width);flex:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_flex);position:relative;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-calheader-middlebtn:focus{border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_border_radius);outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_outline);outline-offset:-.125rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_background)}.ui5-calheader-middlebtn:focus:active{outline:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_outline);outline-offset:-.0625rem;background:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_active_background)}.ui5-calheader-middlebtn:focus:after{content:"";display:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_display);width:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_width);height:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_height);border:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_border);position:absolute;top:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_top_offset);left:var(--_ui5-v1-22-1-rc-0_calendar_header_middle_button_focus_after_left_offset)}.ui5-calheader-middlebtn:focus:active:after{border-color:var(--sapContent_ContrastFocusColor)} +` }; +var cr = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Dc; +let Vi = Dc = class extends te { + static async onDefine() { + Dc.i18nBundle = await pe("@ui5/webcomponents"); + } + constructor() { + super(); + } + onBeforeRendering() { + this._prevButtonText = Dc.i18nBundle.getText(s8), this._nextButtonText = Dc.i18nBundle.getText(a8), this.hasSecondaryCalendarType && (this._secondMonthButtonText = this.buttonTextForSecondaryCalendarType.monthButtonText, this._secondYearButtonText = this.buttonTextForSecondaryCalendarType.yearButtonText); + } + onPrevButtonClick(e) { + if (this.isPrevButtonDisabled) { + e.preventDefault(); + return; + } + this.fireEvent("previous-press", e), e.preventDefault(); + } + onNextButtonClick(e) { + if (this.isNextButtonDisabled) { + e.preventDefault(); + return; + } + this.fireEvent("next-press", e), e.preventDefault(); + } + onMonthButtonClick(e) { + this.fireEvent("show-month-press", e); + } + onMonthButtonKeyDown(e) { + se(e) && e.preventDefault(), Se(e) && this.fireEvent("show-month-press", e); + } + onMonthButtonKeyUp(e) { + se(e) && (e.preventDefault(), this.fireEvent("show-month-press", e)); + } + onYearButtonClick(e) { + this.fireEvent("show-year-press", e); + } + onYearButtonKeyDown(e) { + se(e) && e.preventDefault(), Se(e) && this.fireEvent("show-year-press", e); + } + onYearButtonKeyUp(e) { + se(e) && (e.preventDefault(), this.fireEvent("show-year-press", e)); + } + get hasSecondaryCalendarType() { + return !!this.secondaryCalendarType && this.secondaryCalendarType !== this.primaryCalendarType; + } + get classes() { + return { + prevButton: { + "ui5-calheader-arrowbtn": !0, + "ui5-calheader-arrowbtn-disabled": this.isPrevButtonDisabled + }, + nextButton: { + "ui5-calheader-arrowbtn": !0, + "ui5-calheader-arrowbtn-disabled": this.isNextButtonDisabled + } + }; + } + get accInfo() { + return { + ariaLabelMonthButton: this.hasSecondaryCalendarType ? `${this._monthButtonText}, ${this.buttonTextForSecondaryCalendarType.monthButtonInfo}` : `${this._monthButtonText}` + }; + } +}; +cr([ + x({ validator: ne }) +], Vi.prototype, "timestamp", void 0); +cr([ + x({ type: ln }) +], Vi.prototype, "primaryCalendarType", void 0); +cr([ + x({ type: ln }) +], Vi.prototype, "secondaryCalendarType", void 0); +cr([ + x({ type: Object }) +], Vi.prototype, "buttonTextForSecondaryCalendarType", void 0); +cr([ + x({ type: Boolean }) +], Vi.prototype, "isNextButtonDisabled", void 0); +cr([ + x({ type: Boolean }) +], Vi.prototype, "isPrevButtonDisabled", void 0); +cr([ + x({ type: Boolean }) +], Vi.prototype, "isMonthButtonHidden", void 0); +cr([ + x() +], Vi.prototype, "_monthButtonText", void 0); +cr([ + x() +], Vi.prototype, "_yearButtonText", void 0); +cr([ + x() +], Vi.prototype, "_yearButtonTextSecType", void 0); +cr([ + x({ type: Boolean }) +], Vi.prototype, "isYearButtonHidden", void 0); +Vi = Dc = cr([ + X({ + tag: "ui5-calendar-header", + languageAware: !0, + renderer: ue, + template: gM, + styles: bM, + dependencies: [Pe] + }), + U("next-press"), + U("previous-press"), + U("show-month-press"), + U("show-year-press") +], Vi); +Vi.define(); +const yM = Vi, wM = (i, e, t, o, r) => { + let n = 0, s = 0; + const l = Number.isInteger(i) ? i : r.getFirstDayOfWeek(); + if (o && o.getLanguage() === "en" && o.getRegion() === "US") { + const T = new Aa(e.getTime()); + T.setUTCFullYear(t, 0, 1), s = T.getUTCDay(); + const w = new Aa(e.getTime()); + w.setUTCDate(w.getUTCDate() - w.getUTCDay() + s), n = Math.round((w.getTime() - T.getTime()) / 864e5 / 7) + 1; + } else { + const T = new Aa(e.getTime()); + T.setUTCDate(T.getUTCDate() - l), s = T.getUTCDay(), T.setUTCDate(T.getUTCDate() - s + 4); + const w = new Aa(T.getTime()); + w.setUTCMonth(0, 1), s = w.getUTCDay(); + let S = 0; + s > 4 && (S = 7); + const b = new Aa(w.getTime()); + b.setUTCDate(1 - s + 4 + S), n = Math.round((T.getTime() - b.getTime()) / 864e5 / 7) + 1; + } + return n; +}; +var S1; +(function(i) { + i.Single = "Single", i.Multiple = "Multiple", i.Range = "Range"; +})(S1 || (S1 = {})); +const Cr = S1; +function CM(i, e, t) { + return y`
    ${Y(this._dayNames, (o, r) => o._id || r, (o, r) => SM.call(this, i, e, t, o, r))}
    ${Y(this._weeks, (o, r) => o._id || r, (o, r) => TM.call(this, i, e, t, o, r))}
    `; +} +function SM(i, e, t, o, r) { + return y`
    ${a(o.ultraShortName)}
    `; +} +function TM(i, e, t, o, r) { + return y`${o.length ? IM.call(this, i, e, t, o, r) : BM.call(this, i, e, t, o, r)}`; +} +function IM(i, e, t, o, r) { + return y`
    ${Y(o, (n, s) => n._id || s, (n, s) => kM.call(this, i, e, t, n, s))}
    `; +} +function kM(i, e, t, o, r) { + return y`${o.timestamp ? $M.call(this, i, e, t, o, r) : AM.call(this, i, e, t, o, r)}`; +} +function $M(i, e, t, o, r) { + return y`
    ${a(o.day)}${o._isSecondaryCalendarType ? xM.call(this, i, e, t, o, r) : void 0}
    `; +} +function xM(i, e, t, o, r) { + return y`${a(o.secondDay)}`; +} +function AM(i, e, t, o, r) { + return y`${o.isHidden ? void 0 : EM.call(this, i, e, t, o, r)}`; +} +function EM(i, e, t, o, r) { + return y`
    ${a(o.weekNum)}
    `; +} +function BM(i, e, t, o, r) { + return y`
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const DM = { packageName: "@ui5/webcomponents", fileName: "themes/DayPicker.css.ts", content: `:host(:not([hidden])){display:block}:host{height:100%;width:100%}:host([hide-week-numbers]) .ui5-dp-content{flex-basis:100%}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item{flex-direction:column;justify-content:var(--_ui5-v1-22-1-rc-0_day_picker_item_justify_content)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daytext{height:1.575rem;padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-daysectext{font-size:.625rem;height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding:0 .375rem .375rem 50%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-item{width:var(--_ui5-v1-22-1-rc-0_day_picker_item_width);height:var(--_ui5-v1-22-1-rc-0_day_picker_item_height);margin-top:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);margin-right:var(--_ui5-v1-22-1-rc-0_daypicker_item_margin);font-family:"72override",var(--sapFontFamily);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-weekname{color:var(--_ui5-v1-22-1-rc-0_daypicker_weekname_color)}.ui5-dp-weeks-row{display:flex}.ui5-dp-content{display:flex;flex-basis:87.5%;flex-direction:column;font-family:"72override",var(--sapFontFamily)}.ui5-dp-days-names-container{display:flex;height:var(--_ui5-v1-22-1-rc-0_daypicker_daynames_container_height)}.ui5-dp-weeknumber-container{padding-top:var(--_ui5-v1-22-1-rc-0_daypicker_weeknumbers_container_padding_top);flex-basis:12.5%}.ui5-dp-weekname,.ui5-dp-dayname,.ui5-dp-weekname-container,.ui5-dp-item{display:flex;flex-grow:1;justify-content:center;align-items:center;font-size:var(--sapFontSmallSize);outline:none;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none}.ui5-dp-item{position:relative;color:var(--sapTextColor);background:var(--sapLegend_WorkingBackground);font-size:var(--sapFontSize);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item:hover{background:var(--sapList_Hover_Background)}.ui5-dp-daytext{display:flex;width:100%;height:100%;justify-content:center;align-items:center;box-sizing:border-box}.ui5-dp-dayname{color:var(--_ui5-v1-22-1-rc-0_daypicker_dayname_color);height:100%}.ui5-dp-item.ui5-dp-item--weeekend{background:var(--sapLegend_NonWorkingBackground)}.ui5-dp-item.ui5-dp-item--disabled{pointer-events:none;opacity:.5}.ui5-dp-item.ui5-dp-item--weeekend:hover{background:var(--sapList_Hover_Background);filter:var(--_ui5-v1-22-1-rc-0_daypicker_item_weeekend_filter)}.ui5-dp-item.ui5-dp-item--othermonth{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_color);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_background_color);border-color:transparent}.ui5-dp-item.ui5-dp-item--othermonth:hover,.ui5-dp-item.ui5-dp-item--weeekend.ui5-dp-item--othermonth:hover{color:var(--_ui5-v1-22-1-rc-0_daypicker_item_othermonth_hover_color);background:var(--sapList_Hover_Background)}.ui5-dp-item:focus:after{content:"";border:var(--_ui5-v1-22-1-rc-0_daypicker_item_not_selected_focus_border);position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_no_selected_inset);outline:none;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_focus_after)}.ui5-dp-item.ui5-dp-item--now:before{position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_not_selected_inset);border:.125rem solid var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_color);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected{box-shadow:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_box_shadow)}.ui5-dp-item.ui5-dp-item--selected{background:var(--sapContent_Selected_Background)}.ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{position:absolute;inset:0;border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_border);content:"";border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_outline);outline-offset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius_item);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_background);color:var(--sapContent_Selected_TextColor);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_border);font-family:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_text_font)}.ui5-dp-item.ui5-dp-item--selected:hover .ui5-dp-daytext{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_daytext_hover_background);color:var(--sapContent_Selected_TextColor)}.ui5-dp-item.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_radius_focus_after);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_border_focus_after);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_radius_focus);border:var(--_ui5-v1-22-1-rc-0_day_picker_item_selected_now_border_focus);position:absolute;content:"";width:auto;height:auto}.ui5-dp-item.ui5-dp-item--selected:hover{background:var( --_ui5-v1-22-1-rc-0_daypicker_item_selected_hover);color:var(--sapContent_ContrastTextColor)}.ui5-dp-item.ui5-dp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_color);border-width:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_focus_width)}.ui5-dp-items-container{outline:none}.ui5-dp-item.ui5-dp-item--selected-between .ui5-dp-daytext,.ui5-dp-item[hovered] .ui5-dp-daytext{border:var(--_ui5-v1-22-1-rc-0_daypicker_item_select_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_border_radius);background-color:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_background);color:var(--sapTextColor);font-weight:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_text_font)}.ui5-dp-item.ui5-dp-item--selected-between.ui5-dp-item--now:not(.ui5-dp-item--selected) .ui5-dp-daytext:after{content:"";position:absolute;inset:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_inset);border:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_now_selected_between_border_radius)}.ui5-dp-item.ui5-dp-item--selected-between,.ui5-dp-item[hovered]{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_border);background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_background)}.ui5-dp-item.ui5-dp-item--selected-between:hover{background:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected_between_hover_background)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--selected-between:focus:after{border-color:var(--sapContent_FocusColor)}.ui5-dp-items-container>:first-child{justify-content:flex-end}.ui5-dp-emptyweek{height:var(--_ui5-v1-22-1-rc-0_day_picker_empty_height)}.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype:focus:after{outline-offset:-.1875rem;border-radius:var(--_ui5-v1-22-1-rc-0-dp-item_withsecondtype_border)}.ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now.ui5-dp-item--withsecondtype .ui5-dp-daysectext,.ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext{border:none;outline:none}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:not(.ui5-dp-item.ui5-dp-item--now) .ui5-dp-daytext:after{border-width:.125rem}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_primary_text_height);padding-top:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_now_text_padding_top)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now .ui5-dp-daysectext{height:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_height);padding-top:0;border-radius:var(--_ui5-v1-22-1-rc-0_dp_two_calendar_item_secondary_text_border_radios)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item.ui5-dp-item--now .ui5-dp-daytext{border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item:focus:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_selected_focus_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_no_select_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected:focus:after{border-width:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_width);inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_selected_border_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_border_focus_border_radius)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--selected.ui5-dp-item--now:after{inset:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_inset);border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus)}.ui5-dp-root.ui5-dp-twocalendartypes .ui5-dp-item.ui5-dp-item--now.ui5-dp-item--selected.ui5-dp-item--withsecondtype .ui5-dp-daytext:not(.ui5-dp-daysectext):before{content:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_now_day_text_content);position:absolute;inset:.3125rem;border-radius:var(--_ui5-v1-22-1-rc-0_daypicker_two_calendar_item_selected_now_border_radius_focus);outline:var(--_ui5-v1-22-1-rc-0_daypicker_item_selected__secondary_type_text_outline)} +` }; +var Za = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Pc; +const cm = (i, e, t) => i > Math.min(e, t) && i < Math.max(e, t), ds = 7; +let Er = Pc = class extends Qh { + onBeforeRendering() { + const e = Ir(We()); + this._buildWeeks(e), this._buildDayNames(e); + } + /** + * Builds the "_weeks" object that represents the month. + * + * @param localeData + * @private + */ + _buildWeeks(e) { + if (this._hidden) + return; + this._weeks = []; + const t = this._getFirstDayOfWeek(), o = e.getMonths("wide", this._primaryCalendarType), r = this.hasSecondaryCalendarType ? e.getMonths("wide", this.secondaryCalendarType) : [], n = Pc.i18nBundle.getText(c8), s = Pc.i18nBundle.getText(u8), l = this._getFirstDay(), T = De.fromLocalJSDate(/* @__PURE__ */ new Date(), this._primaryCalendarType), w = this._calendarDate, S = this._minDate, b = this._maxDate, v = this.hasSecondaryCalendarType ? this._getSecondaryDay(l) : void 0; + let g = []; + for (let p = 0; p < ds * 6; p++) { + const d = l.valueOf() / 1e3; + let c = l.getDay() - t; + c < 0 && (c += ds); + const h = l.getMonth() === w.getMonth() && l.getDate() === w.getDate(), _ = this._isDaySelected(d), f = this._isDayInsideSelectionRange(d), u = l.getMonth() !== w.getMonth(), m = this._isWeekend(l), C = l.valueOf() < S.valueOf() || l.valueOf() > b.valueOf(), I = l.isSame(T), A = l.getDay() === t, k = m ? `${n} ` : "", $ = I ? `${s} ` : "", B = v ? v.getDate() : "", D = v ? v.getYear() : "", P = r.length > 0 ? r[v.getMonth()] : "", O = this.hasSecondaryCalendarType ? `${$}${k}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}; ${P} ${B}, ${D}` : `${$}${k}${o[l.getMonth()]} ${l.getDate()}, ${l.getYear()}`, R = { + timestamp: d.toString(), + focusRef: h, + _tabIndex: h ? "0" : "-1", + selected: _, + day: l.getDate(), + secondDay: this.hasSecondaryCalendarType ? v.getDate() : void 0, + _isSecondaryCalendarType: this.hasSecondaryCalendarType, + classes: `ui5-dp-item ui5-dp-wday${c}`, + ariaLabel: O, + ariaSelected: _ ? "true" : "false", + ariaDisabled: u ? "true" : void 0, + disabled: C + }; + A && (R.classes += " ui5-dp-firstday"), _ && (R.classes += " ui5-dp-item--selected"), f && (R.classes += " ui5-dp-item--selected-between"), I && (R.classes += " ui5-dp-item--now"), u && (R.classes += " ui5-dp-item--othermonth"), m && (R.classes += " ui5-dp-item--weeekend"), C && (R.classes += " ui5-dp-item--disabled"), this.hasSecondaryCalendarType && (R.classes += " ui5-dp-item--withsecondtype"), g.push(R), c === ds - 1 && g.unshift({ + weekNum: wM(Sp(), l.toUTCJSDate(), l.getYear(), We(), e), + isHidden: this.shouldHideWeekNumbers + }), g.length === ds + 1 && (this._weeks.push(g), g = []), l.setDate(l.getDate() + 1), this.hasSecondaryCalendarType && v && v.setDate(v.getDate() + 1); + } + } + /** + * Builds the dayNames object (header of the month). + * + * @param localeData + * @private + */ + _buildDayNames(e) { + if (this._hidden) + return; + let t; + const o = e.getDays("wide", this._primaryCalendarType); + let r = e.getDays("abbreviated", this._primaryCalendarType), n; + this.namesTooLong(r) && (r = e.getDays("narrow", this._primaryCalendarType)), this._dayNames = [], this._dayNames.push({ + classes: "ui5-dp-dayname", + name: Pc.i18nBundle.getText(l8) + }); + for (let s = 0; s < ds; s++) + t = s + this._getFirstDayOfWeek(), t > ds - 1 && (t -= ds), n = { + name: o[t], + ultraShortName: r[t], + classes: "ui5-dp-dayname" + }, this._dayNames.push(n); + this._dayNames[1].classes += " ui5-dp-firstday", this.shouldHideWeekNumbers && this._dayNames.shift(); + } + /** + * Tells if any of the days is more than 4 characters(too long to render). + * + * @param dayNames + * @private + */ + namesTooLong(e) { + return e.some((t) => t.length > 3); + } + onAfterRendering() { + this._autoFocus && !this._hidden && this.focus(); + const e = this.shadowRoot.querySelector("[data-sap-focus-ref]"); + e && document.activeElement !== e && e.focus(); + } + _onfocusin() { + this._autoFocus = !0; + } + _onfocusout() { + this._autoFocus = !1; + } + /** + * Tells if the day is selected (dark blue). + * + * @param timestamp + * @private + */ + _isDaySelected(e) { + return this.selectionMode === Cr.Single ? e === this.selectedDates[0] : this.selectedDates.includes(e); + } + /** + * Tells if the day is inside a selection range (light blue). + * + * @param timestamp + * @private + */ + _isDayInsideSelectionRange(e) { + return this.selectionMode !== Cr.Range || !this.selectedDates.length ? !1 : this.selectedDates.length === 1 && this._secondTimestamp ? cm(e, this.selectedDates[0], this._secondTimestamp) : cm(e, this.selectedDates[0], this.selectedDates[1]); + } + /** + * Selects/deselects a day. + * + * @param e + * @param isShift true if the user did Click+Shift or Enter+Shift (but not Space+Shift) + * @private + */ + _selectDate(e, t) { + const o = e.target; + if (!this._isDayPressed(o)) + return; + const r = this._getTimestampFromDom(o); + this._safelySetTimestamp(r), this._updateSecondTimestamp(), this.selectionMode === Cr.Single ? this.selectedDates = [r] : this.selectionMode === Cr.Multiple ? this.selectedDates.length > 0 && t ? this._multipleSelection(r) : this._toggleTimestampInSelection(r) : this.selectedDates = this.selectedDates.length === 1 ? [...this.selectedDates, r] : [r], this.fireEvent("change", { + timestamp: this.timestamp, + dates: this.selectedDates + }); + } + /** + * Selects/deselects the whole row (week). + * + * @private + */ + _selectWeek() { + this._weeks.forEach((e) => { + const t = e; + t.findIndex((r) => { + const n = De.fromTimestamp(parseInt(r.timestamp) * 1e3); + return n.getMonth() === this._calendarDate.getMonth() && n.getDate() === this._calendarDate.getDate(); + }) !== -1 && (t.some((n) => n.timestamp && !this.selectedDates.includes(parseInt(n.timestamp))) ? t.filter((n) => n.timestamp).forEach((n) => { + this._addTimestampToSelection(parseInt(n.timestamp)); + }) : t.filter((n) => n.timestamp).forEach((n) => { + this._removeTimestampFromSelection(parseInt(n.timestamp)); + })); + }), this.fireEvent("change", { + timestamp: this.timestamp, + dates: this.selectedDates + }); + } + _toggleTimestampInSelection(e) { + this.selectedDates.includes(e) ? this._removeTimestampFromSelection(e) : this._addTimestampToSelection(e); + } + _addTimestampToSelection(e) { + this.selectedDates.includes(e) || (this.selectedDates = [...this.selectedDates, e]); + } + _removeTimestampFromSelection(e) { + this.selectedDates = this.selectedDates.filter((t) => t !== e); + } + /** + * Called when at least one day is selected and the user presses "Shift". + * + * @param timestamp + * @private + */ + _multipleSelection(e) { + const t = Math.min(...this.selectedDates), o = Math.max(...this.selectedDates); + let r, n, s = !1; + if (e < t) + r = e, n = t; + else if (e >= t && e <= o) { + const w = Math.abs(e - t), S = Math.abs(e - o); + w < S ? (r = e, n = o) : (r = t, n = e), s = !0; + } else + r = o, n = e; + const l = De.fromTimestamp(r * 1e3), T = De.fromTimestamp(n * 1e3); + for (; l.valueOf() <= T.valueOf(); ) + this[s ? "_toggleTimestampInSelection" : "_addTimestampToSelection"](l.valueOf() / 1e3), l.setDate(l.getDate() + 1); + } + /** + * Set the hovered day as the "_secondTimestamp". + * + * @param e + * @private + */ + _onmouseover(e) { + const o = e.target.closest(".ui5-dp-item"); + o && this.selectionMode === Cr.Range && this.selectedDates.length === 1 && (this._secondTimestamp = this._getTimestampFromDom(o)); + } + _onkeydown(e) { + let t = !0; + if (Se(e) || P2(e)) + this._selectDate(e, P2(e)); + else if (se(e) || Da(e)) + e.preventDefault(); + else if (Ct(e)) + this._modifyTimestampBy(-1, "day", !1); + else if (dt(e)) + this._modifyTimestampBy(1, "day", !1); + else if (Ye(e)) + this._modifyTimestampBy(-7, "day", !1); + else if (Ue(e)) + this._modifyTimestampBy(7, "day", !1); + else if (Ri(e)) + this._modifyTimestampBy(-1, "month"); + else if (Ji(e)) + this._modifyTimestampBy(1, "month"); + else if (xl(e) || PI(e)) + this._modifyTimestampBy(-1, "year"); + else if (Vu(e) || OI(e)) + this._modifyTimestampBy(1, "year"); + else if (lu(e)) + this._modifyTimestampBy(-10, "year"); + else if (Oh(e)) + this._modifyTimestampBy(10, "year"); + else if (qt(e) || Ii(e)) + this._onHomeOrEnd(qt(e)); + else if (ec(e)) { + const o = new De(this._calendarDate, this._primaryCalendarType); + o.setDate(1), this._setTimestamp(o.valueOf() / 1e3); + } else if (Ns(e)) { + const o = new De(this._calendarDate, this._primaryCalendarType); + o.setMonth(o.getMonth() + 1), o.setDate(0), this._setTimestamp(o.valueOf() / 1e3); + } else + t = !1; + t && e.preventDefault(); + } + _onkeyup(e) { + se(e) || Da(e) && this.selectionMode !== Cr.Multiple ? this._selectDate(e, !1) : Da(e) && this._selectWeek(); + } + /** + * Click is the same as "Enter". + * Note: "Click+Shift" has the same effect as "Enter+Shift". + * + * @param e + * @private + */ + _onclick(e) { + this._selectDate(e, e.shiftKey); + } + /** + * Called upon "Home" or "End" - moves the focus to the first or last item in the row. + * + * @param homePressed + * @private + */ + _onHomeOrEnd(e) { + this._weeks.forEach((t) => { + const o = t; + if (o.findIndex((n) => { + const s = De.fromTimestamp(parseInt(n.timestamp) * 1e3); + return s.getMonth() === this._calendarDate.getMonth() && s.getDate() === this._calendarDate.getDate(); + }) !== -1) { + const n = e ? 1 : 7; + this._setTimestamp(parseInt(o[n].timestamp)); + } + }); + } + /** + * Called by the Calendar component. + * + * @protected + */ + _hasPreviousPage() { + return !(this._calendarDate.getMonth() === this._minDate.getMonth() && this._calendarDate.getYear() === this._minDate.getYear()); + } + /** + * Called by the Calendar component. + * + * @protected + */ + _hasNextPage() { + return !(this._calendarDate.getMonth() === this._maxDate.getMonth() && this._calendarDate.getYear() === this._maxDate.getYear()); + } + /** + * Called by the Calendar component. + * + * @protected + */ + _showPreviousPage() { + this._modifyTimestampBy(-1, "month", !1); + } + /** + * Called by the Calendar component. + * + * @protected + */ + _showNextPage() { + this._modifyTimestampBy(1, "month", !1); + } + /** + * Modifies the timestamp by a certain amount of days/months/years. + * + * @param amount + * @param unit + * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) + * @private + */ + _modifyTimestampBy(e, t, o) { + this._safelyModifyTimestampBy(e, t, o), this._updateSecondTimestamp(), this.fireEvent("navigate", { timestamp: this.timestamp }); + } + /** + * Sets the timestamp to an absolute value. + * + * @param value + * @private + */ + _setTimestamp(e) { + this._safelySetTimestamp(e), this._updateSecondTimestamp(), this.fireEvent("navigate", { timestamp: this.timestamp }); + } + /** + * During range selection, when the user is navigating with the keyboard, + * the currently focused day is considered the "second day". + * + * @private + */ + _updateSecondTimestamp() { + this.selectionMode === Cr.Range && (this.selectedDates.length === 1 || this.selectedDates.length === 2) && (this._secondTimestamp = this.timestamp); + } + get shouldHideWeekNumbers() { + return this._primaryCalendarType !== ln.Gregorian ? !0 : this.hideWeekNumbers; + } + get classes() { + return { + root: { + "ui5-dp-root": !0, + "ui5-dp-twocalendartypes": this.hasSecondaryCalendarType + } + }; + } + _isWeekend(e) { + const t = Ir(We()), o = e.getDay(), r = t.getWeekendStart(), n = t.getWeekendEnd(); + return o >= r && o <= n || n < r && (o >= r || o <= n); + } + _isDayPressed(e) { + const t = e.parentNode; + return e.className.indexOf("ui5-dp-item") > -1 || t && t.classList && t.classList.contains("ui5-dp-item"); + } + _getSecondaryDay(e) { + return new De(e, this.secondaryCalendarType); + } + _getFirstDay() { + let e; + const t = this._getFirstDayOfWeek(), o = new De(this._calendarDate, this._primaryCalendarType); + return o.setDate(1), e = o.getDay() - t, e < 0 && (e = 7 + e), e > 0 && o.setDate(1 - e), o; + } + _getFirstDayOfWeek() { + const e = Ir(We()), t = Sp(); + return Number.isInteger(t) ? t : e.getFirstDayOfWeek(); + } + get styles() { + return { + wrapper: { + display: this._hidden ? "none" : "flex", + "justify-content": "center" + }, + main: { + width: "100%" + } + }; + } + get ariaRoledescription() { + return this.hasSecondaryCalendarType ? `${this._primaryCalendarType} calendar with secondary ${this.secondaryCalendarType} calendar` : `${this._primaryCalendarType} calendar`; + } +}; +Za([ + x({ + validator: ne, + multiple: !0, + compareValues: !0 + }) +], Er.prototype, "selectedDates", void 0); +Za([ + x({ type: Cr, defaultValue: Cr.Single }) +], Er.prototype, "selectionMode", void 0); +Za([ + x({ type: Boolean }) +], Er.prototype, "hideWeekNumbers", void 0); +Za([ + x({ + type: Object, + multiple: !0 + }) +], Er.prototype, "_weeks", void 0); +Za([ + x({ + type: Object, + multiple: !0 + }) +], Er.prototype, "_dayNames", void 0); +Za([ + x({ type: Boolean, noAttribute: !0 }) +], Er.prototype, "_hidden", void 0); +Za([ + x() +], Er.prototype, "_secondTimestamp", void 0); +Er = Pc = Za([ + X({ + tag: "ui5-daypicker", + styles: DM, + template: CM + }), + U("change"), + U("navigate") +], Er); +Er.define(); +const PM = Er; +function OM(i, e, t) { + return y`
    ${Y(this._months, (o, r) => o._id || r, (o, r) => RM.call(this, i, e, t, o, r))}
    `; +} +function RM(i, e, t, o, r) { + return y`
    ${Y(o, (n, s) => n._id || s, (n, s) => NM.call(this, i, e, t, n, s))}
    `; +} +function NM(i, e, t, o, r) { + return y`
    ${a(o.name)}${o.nameInSecType ? MM.call(this, i, e, t, o, r) : void 0}
    `; +} +function MM(i, e, t, o, r) { + return y`${a(o.nameInSecType)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const LM = { packageName: "@ui5/webcomponents", fileName: "themes/MonthPicker.css.ts", content: `:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-mp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-mp-item{display:flex;flex-direction:column;width:calc(33.333% - .125rem);height:var(--_ui5-v1-22-1-rc-0_month_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;margin:var(--_ui5-v1-22-1-rc-0_monthpicker_item_margin);box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_border_radius)}.ui5-dp-monthsectext{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-mp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-mp-item.ui5-mp-item--selected,.ui5-mp-item.ui5-mp-item--selected .ui5-dp-monthsectext{box-shadow:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_box_shadow);font-weight:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_font_wieght);background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_text_color)}.ui5-mp-item.ui5-mp-item--disabled{pointer-events:none;opacity:.5}.ui5-mp-item.ui5-mp-item--selected:focus{background-color:var(--sapContent_Selected_Background)}.ui5-mp-item.ui5-mp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border)}.ui5-mp-item.ui5-mp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_monthpicker_item_selected_hover_color)}.ui5-mp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_button_focused_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_monthpicker_item_focus_after_border_radius)}.ui5-mp-quarter{display:flex;justify-content:center;align-items:center;width:100%} +` }; +var Jh = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Vd; +const Ic = 12, sl = 3; +let Us = Vd = class extends Qh { + static async onDefine() { + Vd.i18nBundle = await pe("@ui5/webcomponents"); + } + get roleDescription() { + return Vd.i18nBundle.getText(d8); + } + onBeforeRendering() { + this._buildMonths(); + } + onAfterRendering() { + this._hidden || this.focus(); + } + _buildMonths() { + if (this._hidden) + return; + const t = Ir(We()).getMonthsStandAlone("wide", this._primaryCalendarType), o = [], r = this._calendarDate, n = this._minDate, s = this._maxDate, l = new De(r, this._primaryCalendarType); + let T; + for (let w = 0; w < 12; w++) { + l.setMonth(w), T = l.valueOf() / 1e3; + const S = this.selectedDates.some((d) => { + const c = De.fromTimestamp(d * 1e3, this._primaryCalendarType); + return c.getYear() === l.getYear() && c.getMonth() === l.getMonth(); + }), b = l.getMonth() === r.getMonth(), v = this._isOutOfSelectableRange(l, n, s), g = { + timestamp: T.toString(), + focusRef: b, + _tabIndex: b ? "0" : "-1", + selected: S, + ariaSelected: S ? "true" : "false", + name: t[w], + nameInSecType: this.hasSecondaryCalendarType && this._getDisplayedSecondaryMonthText(T).text, + disabled: v, + classes: "ui5-mp-item" + }; + S && (g.classes += " ui5-mp-item--selected"), v && (g.classes += " ui5-mp-item--disabled"); + const p = Math.floor(w / sl); + o[p] ? o[p].push(g) : o[p] = [g]; + } + this._months = o; + } + _getDisplayedSecondaryMonthText(e) { + const t = Jc(this._primaryCalendarType, this.secondaryCalendarType, e); + return aC(t.firstDate.getMonth(), t.lastDate.getMonth(), this.secondaryCalendarType); + } + _onkeydown(e) { + let t = !0; + Se(e) ? this._selectMonth(e) : se(e) ? e.preventDefault() : Ct(e) ? this._modifyTimestampBy(-1) : dt(e) ? this._modifyTimestampBy(1) : Ye(e) ? this._modifyTimestampBy(-sl) : Ue(e) ? this._modifyTimestampBy(sl) : Ri(e) ? this._modifyTimestampBy(-Ic) : Ji(e) ? this._modifyTimestampBy(Ic) : qt(e) || Ii(e) ? this._onHomeOrEnd(qt(e)) : ec(e) ? this._setTimestamp(parseInt(this._months[0][0].timestamp)) : Ns(e) ? this._setTimestamp(parseInt(this._months[Ic / sl - 1][sl - 1].timestamp)) : t = !1, t && e.preventDefault(); + } + _onHomeOrEnd(e) { + this._months.forEach((t) => { + if (t.findIndex((r) => De.fromTimestamp(parseInt(r.timestamp) * 1e3).getMonth() === this._calendarDate.getMonth()) !== -1) { + const r = e ? 0 : sl - 1; + this._setTimestamp(parseInt(t[r].timestamp)); + } + }); + } + /** + * Sets the timestamp to an absolute value. + * @param value + * @private + */ + _setTimestamp(e) { + this._safelySetTimestamp(e), this.fireEvent("navigate", { timestamp: this.timestamp }); + } + /** + * Modifies timestamp by a given amount of months and, + * if necessary, loads the prev/next page. + * @param amount + * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) + * @private + */ + _modifyTimestampBy(e, t) { + this._safelyModifyTimestampBy(e, "month", t), this.fireEvent("navigate", { timestamp: this.timestamp }); + } + _onkeyup(e) { + se(e) && this._selectMonth(e); + } + /** + * Selects a month, when the user clicks or presses "Enter" or "Space". + * @param e + * @private + */ + _selectMonth(e) { + e.preventDefault(); + const t = e.target; + if (t.className.indexOf("ui5-mp-item") > -1) { + const o = this._getTimestampFromDom(t); + this._safelySetTimestamp(o), this.fireEvent("change", { timestamp: this.timestamp }); + } + } + /** + * Called by the Calendar component. + * @protected + */ + _hasPreviousPage() { + return this._calendarDate.getYear() !== this._minDate.getYear(); + } + /** + * Called by the Calendar component. + * @protected + */ + _hasNextPage() { + return this._calendarDate.getYear() !== this._maxDate.getYear(); + } + /** + * Called by Calendar.js. + * Note: when the user presses the "<" button in the calendar header (same as "PageUp") + * @protected + */ + _showPreviousPage() { + this._modifyTimestampBy(-Ic, !0); + } + /** + * Called by Calendar.js + * Note: when the user presses the ">" button in the calendar header (same as "PageDown") + * @protected + */ + _showNextPage() { + this._modifyTimestampBy(Ic, !0); + } + _isOutOfSelectableRange(e, t, o) { + const r = e.getMonth(), n = e.getYear(), s = t.getYear(), l = t.getMonth(), T = o.getYear(), w = o.getMonth(); + return n < s || n === s && r < l || n > T || n === T && r > w; + } +}; +Jh([ + x({ + validator: ne, + multiple: !0, + compareValues: !0 + }) +], Us.prototype, "selectedDates", void 0); +Jh([ + x({ type: Object, multiple: !0 }) +], Us.prototype, "_months", void 0); +Jh([ + x({ type: Boolean, noAttribute: !0 }) +], Us.prototype, "_hidden", void 0); +Us = Vd = Jh([ + X({ + tag: "ui5-monthpicker", + template: OM, + styles: LM + }), + U("change"), + U("navigate") +], Us); +Us.define(); +const FM = Us; +function zM(i, e, t) { + return y`
    ${Y(this._years, (o, r) => o._id || r, (o, r) => HM.call(this, i, e, t, o, r))}
    `; +} +function HM(i, e, t, o, r) { + return y`
    ${Y(o, (n, s) => n._id || s, (n, s) => VM.call(this, i, e, t, n, s))}
    `; +} +function VM(i, e, t, o, r) { + return y`
    ${a(o.year)}${o.yearInSecType ? UM.call(this, i, e, t, o, r) : void 0}
    `; +} +function UM(i, e, t, o, r) { + return y`${a(o.yearInSecType)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const qM = { packageName: "@ui5/webcomponents", fileName: "themes/YearPicker.css.ts", content: `:host(:not([hidden])){display:block}:host{width:100%;height:100%}.ui5-yp-root{padding:2rem 0 1rem;display:flex;flex-direction:column;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);justify-content:center;align-items:center}.ui5-yp-interval-container{display:flex;justify-content:center;align-items:center;width:100%}.ui5-yp-item{display:flex;margin:var(--_ui5-v1-22-1-rc-0_yearpicker_item_margin);width:calc(25% - .125rem);height:var(--_ui5-v1-22-1-rc-0_year_picker_item_height);color:var(--sapButton_Lite_TextColor);background-color:var(--sapLegend_WorkingBackground);align-items:center;justify-content:center;box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;user-select:none;cursor:default;outline:none;position:relative;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border);border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_border_radius)}.ui5-yp-item-secondary-type{flex-direction:column;width:calc(50% - .125rem)}.ui5-yp-item-sec-type{font-size:.75rem;color:var(--sapNeutralElementColor)}.ui5-yp-item:hover{background-color:var(--sapList_Hover_Background)}.ui5-yp-item.ui5-yp-item--selected,.ui5-yp-item.ui5-yp-item--selected .ui5-yp-item-sec-type{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_background_color);color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_text_color);box-shadow:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_box_shadow);font-weight:700}.ui5-yp-item.ui5-yp-item--disabled{pointer-events:none;opacity:.5}.ui5-yp-item.ui5-yp-item--selected:focus{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_focus)}.ui5-yp-item.ui5-yp-item--selected:focus:after{border-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border)}.ui5-yp-item.ui5-yp-item--selected:hover{background-color:var(--_ui5-v1-22-1-rc-0_yearpicker_item_selected_hover_color)}.ui5-yp-item:focus:after{content:"";position:absolute;border:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border);inset:0;border-radius:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_border_radius);outline:var(--_ui5-v1-22-1-rc-0_yearpicker_item_focus_after_outline)} +` }; +var e_ = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Ud; +let qs = Ud = class extends Qh { + static async onDefine() { + Ud.i18nBundle = await pe("@ui5/webcomponents"); + } + get roleDescription() { + return Ud.i18nBundle.getText(h8); + } + onBeforeRendering() { + this._buildYears(); + } + _getPageSize() { + return this.hasSecondaryCalendarType ? 8 : 20; + } + _getRowSize() { + return this.hasSecondaryCalendarType ? 2 : 4; + } + _buildYears() { + if (this._hidden) + return; + const e = this._getPageSize(), t = We(), o = eo.getDateInstance({ format: "y", calendarType: this._primaryCalendarType }, t), r = eo.getDateInstance({ format: "y", calendarType: this.secondaryCalendarType }, t); + this._calculateFirstYear(), this._lastYear = this._firstYear + e - 1; + const n = this._calendarDate, s = this._minDate, l = this._maxDate, T = new De(n, this._primaryCalendarType); + let w, S; + T.setYear(this._firstYear); + const b = []; + let v; + for (let g = 0; g < e; g++) { + v = T.valueOf() / 1e3; + const p = this.selectedDates.some((f) => De.fromTimestamp(f * 1e3, this._primaryCalendarType).getYear() === T.getYear()), d = T.getYear() === n.getYear(), c = T.getYear() < s.getYear() || T.getYear() > l.getYear(); + this.hasSecondaryCalendarType && (w = Jc(this._primaryCalendarType, this.secondaryCalendarType, v, !0), S = w.firstDate.getYear() === w.lastDate.getYear() ? `${r.format(w.firstDate.toLocalJSDate(), !0)}` : `${r.format(w.firstDate.toLocalJSDate(), !0)} - ${r.format(w.lastDate.toLocalJSDate(), !0)}`); + const h = { + timestamp: v.toString(), + _tabIndex: d ? "0" : "-1", + focusRef: d, + selected: p, + ariaSelected: p ? "true" : "false", + year: o.format(T.toLocalJSDate()), + yearInSecType: S, + disabled: c, + classes: "ui5-yp-item" + }; + p && (h.classes += " ui5-yp-item--selected"), c && (h.classes += " ui5-yp-item--disabled"), this.hasSecondaryCalendarType && (h.classes += " ui5-yp-item-secondary-type"); + const _ = Math.floor(g / this._getRowSize()); + b[_] ? b[_].push(h) : b[_] = [h], T.setYear(T.getYear() + 1); + } + this._years = b; + } + _calculateFirstYear() { + const e = this._getPageSize(), t = rC(this._primaryCalendarType).getYear(), o = this._calendarDate.getYear(); + this._firstYear || (this._firstYear = o - e / 2), o < this._firstYear ? this._firstYear -= e : o >= this._firstYear + e && (this._firstYear += e), Math.abs(this._firstYear - o) >= e && (this._firstYear = o - e / 2), this._firstYear = Math.max(this._firstYear, this._minDate.getYear()), this._firstYear = Math.min(this._firstYear, this._maxDate.getYear()), this._firstYear > t - e + 1 && (this._firstYear = t - e + 1); + } + onAfterRendering() { + this._hidden || this.focus(); + } + _onkeydown(e) { + let t = !0; + const o = this._getPageSize(), r = this._getRowSize(); + Se(e) ? this._selectYear(e) : se(e) ? e.preventDefault() : Ct(e) ? this._modifyTimestampBy(-1) : dt(e) ? this._modifyTimestampBy(1) : Ye(e) ? this._modifyTimestampBy(-r) : Ue(e) ? this._modifyTimestampBy(r) : Ri(e) ? this._modifyTimestampBy(-o) : Ji(e) ? this._modifyTimestampBy(o) : qt(e) || Ii(e) ? this._onHomeOrEnd(qt(e)) : ec(e) ? this._setTimestamp(parseInt(this._years[0][0].timestamp)) : Ns(e) ? this._setTimestamp(parseInt(this._years[o / r - 1][r - 1].timestamp)) : t = !1, t && e.preventDefault(); + } + _onHomeOrEnd(e) { + this._years.forEach((t) => { + if (t.findIndex((r) => De.fromTimestamp(parseInt(r.timestamp) * 1e3).getYear() === this._calendarDate.getYear()) !== -1) { + const r = e ? 0 : this._getRowSize() - 1; + this._setTimestamp(parseInt(t[r].timestamp)); + } + }); + } + /** + * Sets the timestamp to an absolute value. + * + * @param value + * @private + */ + _setTimestamp(e) { + this._safelySetTimestamp(e), this.fireEvent("navigate", { timestamp: this.timestamp }); + } + /** + * Modifies timestamp by a given amount of years and, if necessary, loads the prev/next page. + * + * @param amount + * @private + */ + _modifyTimestampBy(e) { + this._safelyModifyTimestampBy(e, "year"), this.fireEvent("navigate", { timestamp: this.timestamp }); + } + _onkeyup(e) { + se(e) && this._selectYear(e); + } + /** + * User clicked with the mouser or pressed Enter/Space + * + * @param e + * @private + */ + _selectYear(e) { + e.preventDefault(); + const t = e.target; + if (t.className.indexOf("ui5-yp-item") > -1) { + const o = this._getTimestampFromDom(t); + this._safelySetTimestamp(o), this.fireEvent("change", { timestamp: this.timestamp }); + } + } + /** + * Called by the Calendar component. + * + * @protected + */ + _hasPreviousPage() { + return this._firstYear > this._minDate.getYear(); + } + /** + * Called by the Calendar component. + * + * @protected + */ + _hasNextPage() { + return this._firstYear + this._getPageSize() - 1 < this._maxDate.getYear(); + } + /** + * Called by the Calendar component. + * Note: when the user presses the "<" button in the calendar header (same as "PageUp") + * + * @protected + */ + _showPreviousPage() { + const e = this._getPageSize(); + this._modifyTimestampBy(-e); + } + /** + * Called by the Calendar component. + * Note: when the user presses the ">" button in the calendar header (same as "PageDown") + * + * @protected + */ + _showNextPage() { + this._modifyTimestampBy(this._getPageSize()); + } +}; +e_([ + x({ + validator: ne, + multiple: !0, + compareValues: !0 + }) +], qs.prototype, "selectedDates", void 0); +e_([ + x({ type: Object, multiple: !0 }) +], qs.prototype, "_years", void 0); +e_([ + x({ type: Boolean, noAttribute: !0 }) +], qs.prototype, "_hidden", void 0); +qs = Ud = e_([ + X({ + tag: "ui5-yearpicker", + styles: qM, + template: zM + }), + U("change"), + U("navigate") +], qs); +qs.define(); +const WM = qs; +/*! + * OpenUI5 + * (c) Copyright 2009-2024 SAP SE or an SAP affiliate company. + * Licensed under the Apache License, Version 2.0 - see LICENSE.txt. + */ +var Ov = ye.extend( + "sap.ui.core.date.Gregorian", + /** @lends sap.ui.core.date.Gregorian.prototype */ + { + constructor: function() { + this.oDate = this.createDate(Date, arguments), this.sCalendarType = Ve.Gregorian; + } + } +); +Ov.UTC = function() { + return Date.UTC.apply(Date, arguments); +}; +Ov.now = function() { + return Date.now(); +}; +tc.set(Ve.Gregorian, Ov); +function jM(i, e, t) { + return t ? y`
    <${E("ui5-daypicker", e, t)} id="${a(this._id)}-daypicker" ?hidden="${this._isDayPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isDayPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .selectionMode="${a(this.selectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" ?hide-week-numbers="${this.hideWeekNumbers}" @ui5-change="${a(this.onSelectedDatesChange)}" @ui5-navigate="${a(this.onNavigate)}"><${E("ui5-monthpicker", e, t)} id="${a(this._id)}-MP" ?hidden="${this._isMonthPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isMonthPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedMonthChange)}" @ui5-navigate="${a(this.onNavigate)}"><${E("ui5-yearpicker", e, t)} id="${a(this._id)}-YP" ?hidden="${this._isYearPickerHidden}" format-pattern="${a(this._formatPattern)}" .selectedDates="${a(this._selectedDatesTimestamps)}" ._hidden="${a(this._isYearPickerHidden)}" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" timestamp="${a(this._timestamp)}" @ui5-change="${a(this.onSelectedYearChange)}" @ui5-navigate="${a(this.onNavigate)}">
    <${E("ui5-calendar-header", e, t)} id="${a(this._id)}-head" .primaryCalendarType="${a(this._primaryCalendarType)}" .secondaryCalendarType="${a(this._secondaryCalendarType)}" .buttonTextForSecondaryCalendarType="${a(this.secondaryCalendarTypeButtonText)}" timestamp="${a(this._timestamp)}" .isPrevButtonDisabled="${a(this._previousButtonDisabled)}" .isNextButtonDisabled="${a(this._nextButtonDisabled)}" .isMonthButtonHidden="${a(this._isHeaderMonthButtonHidden)}" ._monthButtonText="${a(this._headerMonthButtonText)}" ._yearButtonText="${a(this._headerYearButtonText)}" ._yearButtonTextSecType="${a(this._headerYearButtonTextSecType)}" @ui5-previous-press="${a(this.onHeaderPreviousPress)}" @ui5-next-press="${a(this.onHeaderNextPress)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}">
    ` : y`
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const GM = { packageName: "@ui5/webcomponents", fileName: "themes/Calendar.css.ts", content: `:host(:not([hidden])){display:inline-block}.ui5-cal-root{background:var(--sapList_Background);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_calendar_height);width:var(--_ui5-v1-22-1-rc-0_calendar_width);padding:var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding) var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) 0;display:flex;flex-direction:column-reverse;justify-content:flex-end}.ui5-cal-root [ui5-calendar-header]{height:var(--_ui5-v1-22-1-rc-0_calendar_header_height);font-family:var(--_ui5-v1-22-1-rc-0_button_fontFamily)}.ui5-cal-root .ui5-cal-content{padding:0 var(--_ui5-v1-22-1-rc-0_calendar_left_right_padding) var(--_ui5-v1-22-1-rc-0_calendar_top_bottom_padding)} +` }; +var Hr = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let oo = class extends Qh { + /** + * @private + */ + get _selectedDatesTimestamps() { + return this.dates.map((e) => { + const t = e.value; + return t && !!this.getFormat().parse(t) ? this._getTimeStampFromString(t) / 1e3 : void 0; + }).filter((e) => !!e); + } + constructor() { + super(), this._valueIsProcessed = !1; + } + /** + * @private + */ + _setSelectedDates(e) { + const t = e.map((r) => this.getFormat().format(new Date(r * 1e3), !0)), o = [...this.dates].map((r) => r.value); + this.dates.filter((r) => !t.includes(r.value)).forEach((r) => { + this.removeChild(r); + }), t.filter((r) => !o.includes(r)).forEach((r) => { + const n = document.createElement(Pv.getMetadata().getTag()); + n.value = r, this.appendChild(n); + }); + } + /** + * Makes sure that _currentPicker is always set to a value, allowed by _pickersMode + */ + _normalizeCurrentPicker() { + this._currentPicker === "day" && this._pickersMode !== Yo.DAY_MONTH_YEAR && (this._currentPicker = "month"), this._currentPicker === "month" && this._pickersMode === Yo.YEAR && (this._currentPicker = "year"); + } + onBeforeRendering() { + this._normalizeCurrentPicker(), this._valueIsProcessed || (this._selectedDatesTimestamps && (this.timestamp = this._selectedDatesTimestamps[0]), this._valueIsProcessed = !0); + } + async onAfterRendering() { + await Mt(), this._previousButtonDisabled = !this._currentPickerDOM._hasPreviousPage(), this._nextButtonDisabled = !this._currentPickerDOM._hasNextPage(); + const e = eo.getDateInstance({ format: "y", calendarType: this.primaryCalendarType }), t = Ir(We()); + if (this._headerMonthButtonText = t.getMonthsStandAlone("wide", this.primaryCalendarType)[this._calendarDate.getMonth()], this._currentPicker === "year") { + const o = new De(this._calendarDate, this._primaryCalendarType), r = new De(this._calendarDate, this._primaryCalendarType); + o.setYear(this._currentPickerDOM._firstYear), r.setYear(this._currentPickerDOM._lastYear), this._headerYearButtonText = `${e.format(o.toLocalJSDate(), !0)} - ${e.format(r.toLocalJSDate(), !0)}`; + } else + this._headerYearButtonText = String(e.format(this._localDate, !0)); + this._secondaryCalendarType && this._setSecondaryCalendarTypeButtonText(); + } + onInvalidation(e) { + e.reason === "childchange" && (this._valueIsProcessed = !1); + } + /** + * The user clicked the "month" button in the header + */ + onHeaderShowMonthPress(e) { + this._currentPickerDOM._autoFocus = !1, this._currentPicker = "month", this.fireEvent("show-month-press", e); + } + /** + * The user clicked the "year" button in the header + */ + onHeaderShowYearPress(e) { + this._currentPickerDOM._autoFocus = !1, this._currentPicker = "year", this.fireEvent("show-year-press", e); + } + get _currentPickerDOM() { + return this.shadowRoot.querySelector(`[ui5-${this._currentPicker}picker]`); + } + /** + * The year clicked the "Previous" button in the header + */ + onHeaderPreviousPress() { + this._currentPickerDOM._showPreviousPage(); + } + /** + * The year clicked the "Next" button in the header + */ + onHeaderNextPress() { + this._currentPickerDOM._showNextPage(); + } + _setSecondaryCalendarTypeButtonText() { + const e = eo.getDateInstance({ format: "y", calendarType: this._secondaryCalendarType }); + if (this._currentPicker === "year") { + const t = new De(this._calendarDate, this._primaryCalendarType), o = new De(this._calendarDate, this._primaryCalendarType); + t.setYear(this._currentPickerDOM._firstYear), o.setYear(this._currentPickerDOM._lastYear); + const r = Jc(this.primaryCalendarType, this._secondaryCalendarType, t.valueOf() / 1e3, !0).firstDate, n = Jc(this.primaryCalendarType, this._secondaryCalendarType, o.valueOf() / 1e3, !0).lastDate; + this._headerYearButtonTextSecType = `${e.format(r.toLocalJSDate(), !0)} - ${e.format(n.toLocalJSDate(), !0)}`; + } else + this._headerYearButtonTextSecType = String(e.format(this._localDate, !0)); + } + get secondaryCalendarTypeButtonText() { + if (!this.hasSecondaryCalendarType) + return; + const e = new Date(this._timestamp * 1e3), t = eo.getDateInstance({ format: "y", calendarType: this._secondaryCalendarType }), o = Jc(this._primaryCalendarType, this._secondaryCalendarType, this._timestamp), r = aC(o.firstDate.getMonth(), o.lastDate.getMonth(), this._secondaryCalendarType); + return { + yearButtonText: t.format(e, !0), + monthButtonText: r.text, + monthButtonInfo: r.textInfo + }; + } + /** + * The month button is hidden when the month picker or year picker is shown + * @private + */ + get _isHeaderMonthButtonHidden() { + return this._currentPicker === "month" || this._currentPicker === "year"; + } + get _isDayPickerHidden() { + return this._currentPicker !== "day"; + } + get _isMonthPickerHidden() { + return this._currentPicker !== "month"; + } + get _isYearPickerHidden() { + return this._currentPicker !== "year"; + } + _fireEventAndUpdateSelectedDates(e) { + const t = e.map((r) => { + const n = De.fromTimestamp(r * 1e3, this._primaryCalendarType); + return this.getFormat().format(n.toUTCJSDate(), !0); + }); + !this.fireEvent("selected-dates-change", { timestamp: this.timestamp, dates: [...e], values: t }, !0) || this._setSelectedDates(e); + } + onSelectedDatesChange(e) { + this.timestamp = e.detail.timestamp, this._fireEventAndUpdateSelectedDates(e.detail.dates); + } + onSelectedMonthChange(e) { + this.timestamp = e.detail.timestamp, this._pickersMode === Yo.DAY_MONTH_YEAR ? this._currentPicker = "day" : this._fireEventAndUpdateSelectedDates([this.timestamp]), this._currentPickerDOM._autoFocus = !0; + } + onSelectedYearChange(e) { + this.timestamp = e.detail.timestamp, this._pickersMode === Yo.DAY_MONTH_YEAR ? this._currentPicker = "day" : this._pickersMode === Yo.MONTH_YEAR ? this._currentPicker = "month" : this._fireEventAndUpdateSelectedDates([this.timestamp]), this._currentPickerDOM._autoFocus = !0; + } + onNavigate(e) { + this.timestamp = e.detail.timestamp; + } + _onkeydown(e) { + Rh(e) && this._currentPicker !== "month" && (this._currentPicker = "month"), RI(e) && this._currentPicker !== "year" && (this._currentPicker = "year"); + } + /** + * Returns an array of UTC timestamps, representing the selected dates. + * @protected + * @deprecated + */ + get selectedDates() { + return this._selectedDatesTimestamps; + } + /** + * Creates instances of ui5-date inside this ui5-calendar with values, equal to the provided UTC timestamps + * @protected + * @deprecated + * @param selectedDates Array of UTC timestamps + */ + set selectedDates(e) { + this._setSelectedDates(e); + } +}; +Hr([ + x({ + type: Cr, + defaultValue: Cr.Single + }) +], oo.prototype, "selectionMode", void 0); +Hr([ + x({ type: Boolean }) +], oo.prototype, "hideWeekNumbers", void 0); +Hr([ + x({ defaultValue: "day" }) +], oo.prototype, "_currentPicker", void 0); +Hr([ + x({ type: Boolean }) +], oo.prototype, "_previousButtonDisabled", void 0); +Hr([ + x({ type: Boolean }) +], oo.prototype, "_nextButtonDisabled", void 0); +Hr([ + x() +], oo.prototype, "_headerMonthButtonText", void 0); +Hr([ + x() +], oo.prototype, "_headerYearButtonText", void 0); +Hr([ + x() +], oo.prototype, "_headerYearButtonTextSecType", void 0); +Hr([ + x({ type: Yo, defaultValue: Yo.DAY_MONTH_YEAR, noAttribute: !0 }) +], oo.prototype, "_pickersMode", void 0); +Hr([ + K({ type: HTMLElement, invalidateOnChildChange: !0, default: !0 }) +], oo.prototype, "dates", void 0); +oo = Hr([ + X({ + tag: "ui5-calendar", + fastNavigation: !0, + template: jM, + styles: GM, + dependencies: [ + Pv, + yM, + PM, + FM, + WM + ] + }), + U("selected-dates-change", { + detail: { + /** + * @public + */ + dates: { type: Array }, + /** + * @public + */ + values: { type: Array }, + timestamp: { type: Number } + } + }), + U("show-month-press"), + U("show-year-press") +], oo); +oo.define(); +const cC = oo; +function YM(i, e, t) { + return t ? y`
    <${E("ui5-input", e, t)} id="${a(this._id)}-inner" class="ui5-date-picker-input" placeholder="${a(this._placeholder)}" type="${a(this.type)}" value="${a(this.value)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" @ui5-change="${a(this._onInputChange)}" @ui5-input="${a(this._onInputInput)}" @ui5-submit="${a(this._onInputSubmit)}" @keydown="${this._onkeydown}">${this.valueStateMessage.length ? um.call(this, i, e, t) : void 0}${this.readonly ? void 0 : dm.call(this, i, e, t)}
    ` : y`
    ${this.valueStateMessage.length ? um.call(this, i, e, t) : void 0}${this.readonly ? void 0 : dm.call(this, i, e, t)}
    `; +} +function um(i, e, t) { + return y``; +} +function dm(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} slot="icon" name="${a(this.openIconName)}" tabindex="-1" accessible-name="${a(this.openIconTitle)}" accessible-role="button" aria-hidden="${a(this._ariaHidden)}" show-tooltip @click="${this.togglePicker}" input-icon ?pressed="${this._isPickerOpen}">` : y``; +} +function XM(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader ? hm.call(this, i, e, t) : void 0}<${E("ui5-calendar", e, t)} id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}" ._pickersMode="${a(this._calendarPickersMode)}">${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => _m.call(this, i, e, t, o, r))}${this.showFooter ? pm.call(this, i, e, t) : void 0} ` : y`${this.showHeader ? hm.call(this, i, e, t) : void 0}${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => _m.call(this, i, e, t, o, r))}${this.showFooter ? pm.call(this, i, e, t) : void 0} `; +} +function hm(i, e, t) { + return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closePicker}">
    ` : y`
    ${a(this._headerTitleText)}
    `; +} +function _m(i, e, t, o, r) { + return t ? y`<${E("ui5-date", e, t)} value="${a(o)}">` : y``; +} +function pm(i, e, t) { + return y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const KM = { packageName: "@ui5/webcomponents", fileName: "themes/DatePicker.css.ts", content: `.ui5-hidden-text{position:absolute;clip:rect(1px,1px,1px,1px);user-select:none;left:-1000px;top:-1000px;pointer-events:none;font-size:0}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;line-height:normal;letter-spacing:normal;word-spacing:normal;height:var(--_ui5-v1-22-1-rc-0_input_height);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + var(--_ui5-v1-22-1-rc-0_input_icon_width));color:var(--sapField_TextColor);background-color:var(--sapField_Background);border-radius:var(--_ui5-v1-22-1-rc-0-datepicker_border_radius);margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0}:host(:not([disabled]):not([readonly]):active){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}:host(:not([disabled]):not([readonly]):hover){background:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)}.ui5-date-picker-root{border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-date-picker-input{width:100%;min-width:12.5625rem;color:inherit;background-color:inherit;border-radius:inherit;height:inherit;line-height:inherit;letter-spacing:inherit;word-spacing:inherit;margin:inherit}:host(:not([disabled]):not([readonly])) .ui5-date-picker-input[focused]{background-color:var(--_ui5-v1-22-1-rc-0-datepicker-hover-background)} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const ZM = { packageName: "@ui5/webcomponents", fileName: "themes/DatePickerPopover.css.ts", content: `[ui5-calendar]{width:100%;display:flex;justify-content:center}[ui5-responsive-popover]::part(content){padding:0} +` }; +var Ei = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Oc; +let Wt = Oc = class extends nC { + /** + * @protected + */ + onResponsivePopoverAfterClose() { + var e; + this._isPickerOpen = !1, ce() ? this.blur() : (e = this._getInput()) == null || e.focus(); + } + onBeforeRendering() { + this.FormSupport = ze("FormSupport"), ["minDate", "maxDate"].forEach((e) => { + const t = this[e]; + this.isValid(t) || console.warn(`Invalid value for property "${e}": ${t} is not compatible with the configured format pattern: "${this._displayFormat}"`); + }), this.FormSupport ? this.FormSupport.syncNativeHiddenInput(this) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'), this.value = this.normalizeValue(this.value) || this.value, this.liveValue = this.value; + } + /** + * Override in derivatives to change calendar selection mode + * + * @protected + */ + get _calendarSelectionMode() { + return "Single"; + } + /** + * Used to provide a timestamp to the Calendar (to focus it to a relevant date when open) based on the component's state + * Override in derivatives to provide the calendar a timestamp based on their properties + * By default focus the calendar on the selected date if set, or the current day otherwise + * + * @protected + */ + get _calendarTimestamp() { + if (this.value && this.dateValueUTC && this._checkValueValidity(this.value)) { + const e = this.dateValueUTC.getTime(); + return sM(e); + } + return Dv(this._primaryCalendarType); + } + /** + * Used to provide selectedDates to the calendar based on the component's state + * Override in derivatives to provide different rules for setting the calendar's selected dates + * + * @protected + */ + get _calendarSelectedDates() { + return this.value && this._checkValueValidity(this.value) ? [this.value] : []; + } + _onkeydown(e) { + zn(e) && (e.preventDefault(), this.isOpen() ? Rh(e) || this._toggleAndFocusInput() : this._toggleAndFocusInput()), this._getInput().isEqualNode(e.target) && this.isOpen() && (Bt(e) || Mi(e) || Yf(e) || Xf(e)) && this.closePicker(), !this.isOpen() && (Se(e) ? this.FormSupport && this.FormSupport.triggerFormSubmit(this) : lu(e) ? (e.preventDefault(), this._modifyDateValue(1, "year")) : xl(e) ? (e.preventDefault(), this._modifyDateValue(1, "month")) : Ri(e) ? (e.preventDefault(), this._modifyDateValue(1, "day")) : Oh(e) ? (e.preventDefault(), this._modifyDateValue(-1, "year")) : Vu(e) ? (e.preventDefault(), this._modifyDateValue(-1, "month")) : Ji(e) && (e.preventDefault(), this._modifyDateValue(-1, "day"))); + } + /** + * @param amount + * @param unit + * @param preserveDate whether to preserve the day of the month (f.e. 15th of March + 1 month = 15th of April) + * @protected + */ + _modifyDateValue(e, t, o) { + if (!this.dateValue) + return; + const r = gu(De.fromLocalJSDate(this.dateValue), e, t, o, this._minDate, this._maxDate), n = this.formatValue(r.toUTCJSDate()); + this._updateValueAndFireEvents(n, !0, ["change", "value-changed"]); + } + _updateValueAndFireEvents(e, t, o, r = !0) { + const n = this._checkValueValidity(e); + n && t && (e = this.normalizeValue(e)); + let s = !0; + this.liveValue = e; + const l = this.value; + if (r && (this._getInput().value = e, this.value = e, this._updateValueState()), o.forEach((T) => { + this.fireEvent(T, { value: e, valid: n }, !0) || (s = !1); + }), !s && r) { + if (this.value !== l && this.value !== this._getInput().value) + return; + this._getInput().value = l, this.value = l; + } + } + _updateValueState() { + const e = this._checkValueValidity(this.value), t = this.valueState; + this.valueState = e ? q.None : q.Error, !this.fireEvent("value-state-change", { valueState: this.valueState, valid: e }, !0) && (this.valueState = t); + } + _toggleAndFocusInput() { + this.togglePicker(), this._getInput().focus(); + } + _getInput() { + return this.shadowRoot.querySelector("[ui5-input]"); + } + /** + * The ui5-input "submit" event handler - fire change event when the user presses enter + * + * @protected + */ + _onInputSubmit() { + } + /** + * The ui5-input "change" event handler - fire change event when the user focuses out of the input + * + * @protected + */ + _onInputChange(e) { + this._updateValueAndFireEvents(e.target.value, !0, ["change", "value-changed"]); + } + /** + * The ui5-input "input" event handler - fire input even when the user types + * + * @protected + */ + _onInputInput(e) { + this._updateValueAndFireEvents(e.target.value, !1, ["input"], !1); + } + /** + * Checks if the provided value is valid and within valid range. + * + * @protected + * @param value + */ + _checkValueValidity(e) { + return e === "" ? !0 : this.isValid(e) && this.isInValidRange(e); + } + _click(e) { + ce() && (this.responsivePopover.showAt(this), e.preventDefault()); + } + /** + * Checks if a value is valid against the current date format of the DatePicker. + * + * @public + * @param value A value to be tested against the current date format + */ + isValid(e) { + return e === "" || e === void 0 ? !0 : !!this.getFormat().parse(e); + } + /** + * Checks if a date is between the minimum and maximum date. + * + * @public + * @param value A value to be checked + */ + isInValidRange(e) { + if (e === "" || e === void 0) + return !0; + const t = this._getCalendarDateFromString(e); + return !t || !this._minDate || !this._maxDate ? !1 : t.valueOf() >= this._minDate.valueOf() && t.valueOf() <= this._maxDate.valueOf(); + } + /** + * The parser understands many formats, but we need one format + * + * @protected + */ + normalizeValue(e) { + return e === "" ? e : this.getFormat().format(this.getFormat().parse(e, !0), !0); + } + get _displayFormat() { + return this.getFormat().oFormatOptions.pattern; + } + /** + * @protected + */ + get _placeholder() { + return this.placeholder !== void 0 ? this.placeholder : this._displayFormat; + } + get _headerTitleText() { + return Oc.i18nBundle.getText(ic); + } + get phone() { + return ce(); + } + get showHeader() { + return this.phone; + } + get showFooter() { + return this.phone; + } + get accInfo() { + return { + ariaRoledescription: this.dateAriaDescription, + ariaHasPopup: Uh.Grid.toLowerCase(), + ariaAutoComplete: "none", + ariaRequired: this.required, + ariaLabel: Xt(this) + }; + } + get openIconTitle() { + return Oc.i18nBundle.getText(N3); + } + get openIconName() { + return "appointment-2"; + } + get dateAriaDescription() { + return Oc.i18nBundle.getText(M3); + } + /** + * Defines whether the dialog on mobile should have header + * + * @private + */ + get _shouldHideHeader() { + return !1; + } + /** + * Defines whether the value help icon is hidden + * + * @private + */ + get _ariaHidden() { + return Zo(); + } + async _respPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); + } + _canOpenPicker() { + return !this.disabled && !this.readonly; + } + get _calendarPickersMode() { + const t = this.getFormat().aFormatArray.map((o) => o.type.toLowerCase()); + return t.includes("day") ? Yo.DAY_MONTH_YEAR : t.includes("month") || t.includes("monthstandalone") ? Yo.MONTH_YEAR : Yo.YEAR; + } + /** + * The user selected a new date in the calendar + * + * @param e + * @protected + */ + onSelectedDatesChange(e) { + e.preventDefault(); + const t = e.detail.values && e.detail.values[0]; + this._updateValueAndFireEvents(t, !0, ["change", "value-changed"]), this.closePicker(); + } + /** + * The user clicked the "month" button in the header + */ + onHeaderShowMonthPress() { + this._calendarCurrentPicker = "month"; + } + /** + * The user clicked the "year" button in the header + */ + onHeaderShowYearPress() { + this._calendarCurrentPicker = "year"; + } + /** + * Formats a Java Script date object into a string representing a locale date + * according to the formatPattern property of the DatePicker instance + * + * @public + * @param date A Java Script date object to be formatted as string + * @returns The date as string + */ + formatValue(e) { + return this.getFormat().format(e); + } + /** + * Closes the picker. + * + * @public + */ + closePicker() { + this.responsivePopover.close(); + } + /** + * Opens the picker. + * + * @public + * @returns Resolves when the picker is open + */ + async openPicker() { + this._isPickerOpen = !0, this._calendarCurrentPicker = "day", this.responsivePopover = await this._respPopover(), this.responsivePopover.showAt(this); + } + togglePicker() { + this.isOpen() ? this.closePicker() : this._canOpenPicker() && this.openPicker(); + } + /** + * Checks if the picker is open. + * + * @public + * @returns true if the picker is open, false otherwise + */ + isOpen() { + return !!this._isPickerOpen; + } + /** + * Currently selected date represented as a Local JavaScript Date instance. + * + * @public + * @default null + */ + get dateValue() { + return this.liveValue ? this.getFormat().parse(this.liveValue) : this.getFormat().parse(this.value); + } + get dateValueUTC() { + return this.liveValue ? this.getFormat().parse(this.liveValue, !0) : this.getFormat().parse(this.value); + } + get styles() { + return { + main: { + width: "100%" + } + }; + } + get type() { + return Ol.Text; + } +}; +Ei([ + x() +], Wt.prototype, "value", void 0); +Ei([ + x({ type: q, defaultValue: q.None }) +], Wt.prototype, "valueState", void 0); +Ei([ + x({ type: Boolean }) +], Wt.prototype, "required", void 0); +Ei([ + x({ type: Boolean }) +], Wt.prototype, "disabled", void 0); +Ei([ + x({ type: Boolean }) +], Wt.prototype, "readonly", void 0); +Ei([ + x({ defaultValue: void 0 }) +], Wt.prototype, "placeholder", void 0); +Ei([ + x() +], Wt.prototype, "name", void 0); +Ei([ + x({ type: Boolean }) +], Wt.prototype, "hideWeekNumbers", void 0); +Ei([ + x() +], Wt.prototype, "accessibleName", void 0); +Ei([ + x({ defaultValue: "" }) +], Wt.prototype, "accessibleNameRef", void 0); +Ei([ + x({ type: Boolean, noAttribute: !0 }) +], Wt.prototype, "_isPickerOpen", void 0); +Ei([ + x({ type: Object }) +], Wt.prototype, "_respPopoverConfig", void 0); +Ei([ + x({ defaultValue: "day" }) +], Wt.prototype, "_calendarCurrentPicker", void 0); +Ei([ + K({ type: HTMLElement }) +], Wt.prototype, "valueStateMessage", void 0); +Ei([ + K({ type: HTMLElement }) +], Wt.prototype, "formSupport", void 0); +Wt = Oc = Ei([ + X({ + tag: "ui5-date-picker", + languageAware: !0, + template: YM, + staticAreaTemplate: XM, + styles: KM, + staticAreaStyles: [ + Fr, + ZM + ], + dependencies: [ + Pe, + po, + cC, + Pv, + Ar, + Ne + ] + }), + U("change", { + detail: { + /** + * @public + */ + value: { + type: String + }, + /** + * @public + */ + valid: { + type: Boolean + } + } + }), + U("input", { + detail: { + /** + * @public + */ + value: { + type: String + }, + /** + * @public + */ + valid: { + type: Boolean + } + } + }), + U("value-state-change", { + detail: { + /** + * @public + */ + valueState: { + type: String + }, + /** + * @public + */ + valid: { + type: Boolean + } + } + }) +], Wt); +Wt.define(); +const yu = Wt; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const QM = { packageName: "@ui5/webcomponents", fileName: "themes/DateRangePicker.css.ts", content: `:host(:not([hidden])){display:inline-block}:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{width:100%;min-width:inherit;color:inherit;background-color:inherit} +` }; +var Rv = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, T1; +let wu = T1 = class extends yu { + constructor() { + super(), this._prevDelimiter = null; + } + /** + * Note: The getter method is inherited and not supported. If called it will return an empty value. + * + * @public + * @default null + */ + get dateValue() { + return null; + } + /** + * Note: The getter method is inherited and not supported. If called it will return an empty value. + * + * @public + * @default null + */ + get dateValueUTC() { + return null; + } + get _startDateTimestamp() { + return this._extractFirstTimestamp(this.value); + } + get _endDateTimestamp() { + return this._extractLastTimestamp(this.value); + } + get _tempTimestamp() { + return this._tempValue && this.getFormat().parse(this._tempValue, !0).getTime() / 1e3; + } + /** + * Required by DatePicker.js + * @override + */ + get _calendarSelectionMode() { + return "Range"; + } + /** + * Required by DatePicker.js - set the calendar focus on the first selected date (or today if not set) + * @override + */ + get _calendarTimestamp() { + return this._tempTimestamp || this._startDateTimestamp || Dv(this._primaryCalendarType); + } + /** + * Required by DatePicker.js + * @override + */ + get _calendarSelectedDates() { + return this._tempValue ? [this._tempValue] : this.value && this._checkValueValidity(this.value) ? this._splitValueByDelimiter(this.value) : []; + } + /** + * Returns the start date of the currently selected range as JavaScript Date instance. + * + * @public + * @default null + */ + get startDateValue() { + return De.fromTimestamp(this._startDateTimestamp * 1e3).toLocalJSDate(); + } + /** + * Returns the end date of the currently selected range as JavaScript Date instance. + * + * @public + * @default null + */ + get endDateValue() { + return De.fromTimestamp(this._endDateTimestamp * 1e3).toLocalJSDate(); + } + /** + * @override + */ + get _placeholder() { + return this.placeholder !== void 0 ? this.placeholder : `${this._displayFormat} ${this._effectiveDelimiter} ${this._displayFormat}`; + } + get dateAriaDescription() { + return T1.i18nBundle.getText(F3); + } + /** + * @override + */ + async _onInputSubmit() { + const e = this._getInput(), t = e.getCaretPosition(); + await Mt(), e.setCaretPosition(t); + } + /** + * @override + */ + onResponsivePopoverAfterClose() { + this._tempValue = "", super.onResponsivePopoverAfterClose(); + } + /** + * @override + */ + isValid(e) { + const t = this._splitValueByDelimiter(e); + return t.length <= 2 && t.every((o) => super.isValid(o)); + } + /** + * @override + */ + isInValidRange(e) { + return this._splitValueByDelimiter(e).every((t) => super.isInValidRange(t)); + } + /** + * Extract both dates as timestamps, flip if necessary, and build (which will use the desired format so we enforce the format too) + * @override + */ + normalizeValue(e) { + const t = this._extractFirstTimestamp(e), o = this._extractLastTimestamp(e); + return t && o && t > o ? this._buildValue(o, t) : this._buildValue(t, o); + } + /** + * @override + */ + onSelectedDatesChange(e) { + e.preventDefault(); + const t = e.detail.values; + if (t.length === 0) + return; + if (t.length === 1) { + this._tempValue = t[0]; + return; + } + const o = this._buildValue(e.detail.dates[0], e.detail.dates[1]); + this._updateValueAndFireEvents(o, !0, ["change", "value-changed"]), this.closePicker(); + } + /** + * @override + */ + async _modifyDateValue(e, t, o) { + if (!this._endDateTimestamp) + return super._modifyDateValue(e, t, o); + const r = this._getInput(); + let n = r.getCaretPosition(), s; + if (n <= this.value.indexOf(this._effectiveDelimiter)) { + const T = gu(De.fromTimestamp(this._startDateTimestamp * 1e3), e, t, o, this._minDate, this._maxDate).valueOf() / 1e3; + T > this._endDateTimestamp && (n += Math.ceil(this.value.length / 2)), s = this._buildValue(T, this._endDateTimestamp); + } else { + const T = gu(De.fromTimestamp(this._endDateTimestamp * 1e3), e, t, o, this._minDate, this._maxDate).valueOf() / 1e3; + s = this._buildValue(this._startDateTimestamp, T), T < this._startDateTimestamp && (n -= Math.ceil(this.value.length / 2)); + } + this._updateValueAndFireEvents(s, !0, ["change", "value-changed"]), await Mt(), r.setCaretPosition(n); + } + get _effectiveDelimiter() { + const e = this.constructor; + return this.delimiter || e.getMetadata().getProperties().delimiter.defaultValue; + } + _splitValueByDelimiter(e) { + const t = [], o = e.split(this._prevDelimiter || this._effectiveDelimiter); + return this.getFormat().parse(e) ? (t[0] = o.join(this._effectiveDelimiter), t[1] = "") : (t[0] = o.slice(0, o.length / 2).join(this._effectiveDelimiter), t[1] = o.slice(o.length / 2).join(this._effectiveDelimiter)), t; + } + /** + * Returns a UTC timestamp, representing the first date in the value string or undefined if the value is empty + * @private + */ + _extractFirstTimestamp(e) { + if (!e || !this._checkValueValidity(e)) + return; + const t = this._splitValueByDelimiter(e); + return this.getFormat().parse(t[0], !0).getTime() / 1e3; + } + /** + * Returns a UTC timestamp, representing the last date in the value string or undefined if the value is empty or there is just one date + * @private + */ + _extractLastTimestamp(e) { + if (!e || !this._checkValueValidity(e)) + return; + const t = this._splitValueByDelimiter(e); + if (t[1]) + return this.getFormat().parse(t[1], !0).getTime() / 1e3; + } + /** + * Builds a string value out of two UTC timestamps - this method is the counterpart to _extractFirstTimestamp/_extractLastTimestamp + * @private + */ + _buildValue(e, t) { + if (this._prevDelimiter = this._effectiveDelimiter, e) { + const o = this._getStringFromTimestamp(e * 1e3); + if (!t) + return o; + const r = this._getStringFromTimestamp(t * 1e3); + return `${o} ${this._effectiveDelimiter} ${r}`; + } + return ""; + } + /** + * @override + */ + get _calendarPickersMode() { + return Yo.DAY_MONTH_YEAR; + } +}; +Rv([ + x({ defaultValue: "-" }) +], wu.prototype, "delimiter", void 0); +Rv([ + x() +], wu.prototype, "_tempValue", void 0); +wu = T1 = Rv([ + X({ + tag: "ui5-daterange-picker", + styles: [yu.styles, QM] + }) +], wu); +wu.define(); +const JM = "date-time", uC = "M352 192q33 0 62 12.5t51 34.5 34.5 51 12.5 62-12.5 62-34.5 51-51 34.5-62 12.5-62-12.5-51-34.5-34.5-51-12.5-62 12.5-62 34.5-51 51-34.5 62-12.5zM32 32h64V0h32v32h192V0h32v32h64q14 0 23 9t9 23v96h-32v-32H32v352h128v32H32q-14 0-23-9t-9-23V64q0-14 9-23t23-9zm192 320q0 27 10 50t27.5 40.5T302 470t50 10 50-10 40.5-27.5T470 402t10-50-10-50-27.5-40.5T402 234t-50-10-50 10-40.5 27.5T234 302t-10 50zm127-64q16 0 16 16v48h49q16 0 16 16 0 6-4.5 11t-11.5 5h-65q-7 0-11.5-5t-4.5-11v-64q0-16 16-16zm1-192V64h-32v32h32zM96 64v32h32V64H96z", eL = !0, tL = "SAP-icons-v4", iL = "@ui5/webcomponents-icons"; +J(JM, { pathData: uC, ltr: eL, collection: tL, packageName: iL }); +const oL = "date-time", dC = "M83 243v147q0 17 11 28t28 11h4q11 0 18.5 7t7.5 18-7.5 18.5T126 480h-4q-38 0-64-26t-26-64V154q0-38 26-64t64-26h6V26q0-11 7.5-18.5T154 0t18 7.5 7 18.5v38h122V26q0-11 7-18.5T326 0t18.5 7.5T352 26v38h6q38 0 64 26t26 64v4q0 11-7.5 18.5T422 184t-18-7.5-7-18.5v-4q0-17-11-28t-28-11h-6v19q0 11-7.5 18.5T326 160t-18-7.5-7-18.5v-19H179v19q0 11-7 18.5t-18 7.5-18.5-7.5T128 134v-19h-6q-17 0-28 11t-11 28v38h51q11 0 18.5 7.5T160 218t-7.5 18-18.5 7H83zm237-51q33 0 62 12.5t51 34.5 34.5 51 12.5 62-12.5 62-34.5 51-51 34.5-62 12.5-62-12.5-51-34.5-34.5-51-12.5-62 12.5-62 34.5-51 51-34.5 62-12.5zm0 269q23 0 42.5-8.5T397 429t23.5-35 8.5-42q0-23-8.5-42.5T397 275t-34.5-23.5T320 243q-22 0-42 8.5T243 275t-23.5 34.5T211 352q0 22 8.5 42t23.5 35 35 23.5 42 8.5zm55-90q9 7 9 19 0 11-7.5 18.5T358 416q-8 0-16-6l-45-39q-9-8-9-19v-46q0-11 7.5-18.5T314 280t18 7.5 7 18.5v34z", rL = !0, nL = "SAP-icons-v5", aL = "@ui5/webcomponents-icons"; +J(oL, { pathData: dC, ltr: rL, collection: nL, packageName: aL }); +Te(); +function sL(i, e, t) { + return y` `; +} +function lL(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>` : y``; +} +function cL(i, e, t) { + return y`${a(this.buttonTypeText)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const uL = { packageName: "@ui5/webcomponents", fileName: "themes/ToggleButton.css.ts", content: `:host(:not([hidden])){display:inline-block}:host([design="Emphasized"]:not([pressed])){text-shadow:var(--_ui5-v1-22-1-rc-0_toggle_button_emphasized_text_shadow)}:host([pressed]),:host([design="Default"][pressed]),:host([design="Transparent"][pressed]),:host([design="Emphasized"][pressed]){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor);text-shadow:none}:host([pressed]:hover),:host([pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Default"][pressed]:hover),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Transparent"][pressed]:hover),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover),:host([design="Emphasized"][pressed]:hover),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--sapButton_Selected_Hover_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([active][focused]),:host([design="Default"][active][focused]),:host([design="Transparent"][active][focused]),:host([design="Emphasized"][active][focused]){background:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Default"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Transparent"][pressed]:not([active]):not([non-interactive]):not([_is-touch])),:host([design="Emphasized"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Selected_Background);border-color:var(--sapButton_Selected_BorderColor);color:var(--sapButton_Selected_TextColor)}:host([design="Negative"][pressed]){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][active][focused]){background:var(--sapButton_Reject_Active_Background);border-color:var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([design="Negative"][pressed][active]:hover),:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Reject_Selected_Hover_Background);border-color:var(--sapButton_Reject_Selected_Hover_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Negative"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Reject_Selected_Background);border-color:var(--sapButton_Reject_Selected_BorderColor);color:var(--sapButton_Reject_Selected_TextColor)}:host([design="Positive"][pressed]){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][active][focused]){background:var(--sapButton_Accept_Active_Background);border-color:var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed][active]:hover),:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Accept_Selected_Hover_Background);border-color:var(--sapButton_Accept_Selected_Hover_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Positive"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Accept_Selected_Background);border-color:var(--sapButton_Accept_Selected_BorderColor);color:var(--sapButton_Accept_Selected_TextColor)}:host([design="Attention"][pressed]){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][active][focused]){background:var(--sapButton_Attention_Active_Background);border-color:var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([design="Attention"][pressed][active]:hover),:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch]):hover){background:var(--sapButton_Attention_Selected_Hover_Background);border-color:var(--sapButton_Attention_Selected_Hover_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)}:host([design="Attention"][pressed]:not([active]):not([non-interactive]):not([_is-touch])){background:var(--sapButton_Attention_Selected_Background);border-color:var(--sapButton_Attention_Selected_BorderColor);color:var(--sapButton_Attention_Selected_TextColor)} +` }; +var hC = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Cu = class extends Ne { + _onclick() { + this.pressed = !this.pressed, Un() && this.getDomRef().focus(); + } + _onkeyup(e) { + if (Da(e)) { + e.preventDefault(); + return; + } + super._onkeyup(e); + } +}; +hC([ + x({ type: Boolean }) +], Cu.prototype, "pressed", void 0); +Cu = hC([ + X({ + tag: "ui5-toggle-button", + template: sL, + styles: [Ne.styles, uL] + }) +], Cu); +Cu.define(); +const id = Cu; +function dL(i, e, t) { + return y`
  • ${this.icon ? hL.call(this, i, e, t) : void 0}
  • `; +} +function hL(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} class="ui5-button-icon" name="${a(this.icon)}" part="icon" ?show-tooltip=${this.showIconTooltip}>` : y``; +} +var vc = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, I1; +let Xn = I1 = class extends id { + get ariaDescription() { + return I1.i18nBundle.getText(S4); + } +}; +vc([ + x({ type: Qo, defaultValue: Qo.Default }) +], Xn.prototype, "design", void 0); +vc([ + x({ type: Boolean }) +], Xn.prototype, "iconEnd", void 0); +vc([ + x({ type: Boolean }) +], Xn.prototype, "submits", void 0); +vc([ + x({ validator: ne, defaultValue: 0 }) +], Xn.prototype, "posInSet", void 0); +vc([ + x({ validator: ne, defaultValue: 0 }) +], Xn.prototype, "sizeOfSet", void 0); +Xn = I1 = vc([ + X({ + tag: "ui5-segmented-button-item", + template: dL, + dependencies: [Pe] + }) +], Xn); +Xn.define(); +const _C = Xn; +var k1; +(function(i) { + i.SingleSelect = "SingleSelect", i.MultiSelect = "MultiSelect"; +})(k1 || (k1 = {})); +const bh = k1; +function _L(i, e, t) { + return y`
      ${a(this.ariaDescribedBy)}
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const pL = { packageName: "@ui5/webcomponents", fileName: "themes/SegmentedButton.css.ts", content: `: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;min-width:calc(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count) * 2.5rem)}.ui5-segmented-button-root{width:inherit;display:grid;grid-template-columns:repeat(var(--_ui5-v1-22-1-rc-0_segmented_btn_items_count),minmax(2.5rem,1fr));margin:0;padding:0;background-color:var(--sapButton_Background);border-radius:var(--sapButton_BorderCornerRadius);box-shadow:inset 0 0 0 var(--sapButton_BorderWidth) var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item]){border-radius:var(--_ui5-v1-22-1-rc-0_segmented_btn_inner_border_radius);border-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_border_color);background-color:var(--_ui5-v1-22-1-rc-0_segmented_btn_background_color);height:var(--_ui5-v1-22-1-rc-0_button_base_height);min-width:2.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;z-index:initial}::slotted([ui5-segmented-button-item]:hover){z-index:2;box-shadow:var(--_ui5-v1-22-1-rc-0_segmented_btn_hover_box_shadow);border-color:var(--sapButton_Hover_BorderColor);background-color:var(--sapButton_Hover_Background)}::slotted([ui5-segmented-button-item][pressed]),::slotted([ui5-segmented-button-item][active]){border-color:var(--sapButton_Selected_BorderColor);background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item][pressed]:hover){border-color:var(--sapButton_Selected_Hover_BorderColor);background-color:var(--sapButton_Selected_Hover_Background);color:var(--sapButton_Selected_TextColor)}::slotted([ui5-segmented-button-item]:last-child){border-start-end-radius:var(--sapButton_BorderCornerRadius);border-end-end-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:first-child){border-start-start-radius:var(--sapButton_BorderCornerRadius);border-end-start-radius:var(--sapButton_BorderCornerRadius)}::slotted([ui5-segmented-button-item]:not(:first-child)){border-left-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_left);border-right-width:var(--_ui5-v1-22-1-rc-0_segmented_btn_item_border_right)}::slotted([ui5-segmented-button-item][active]:not([active]):hover){border-color:var(--sapButton_BorderColor)}::slotted([ui5-segmented-button-item][active]:hover){border-color:var(--sapButton_Selected_BorderColor)} +` }; +var t_ = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Rc; +let Ws = Rc = class extends te { + static async onDefine() { + Rc.i18nBundle = await pe("@ui5/webcomponents"); + } + constructor() { + super(), this._itemNavigation = new $i(this, { + getItemsCallback: () => this.getSlottedNodes("items") + }), this.hasPreviouslyFocusedItem = !1; + } + onBeforeRendering() { + const e = this.getSlottedNodes("items"); + e.forEach((t, o, r) => { + t.posInSet = o + 1, t.sizeOfSet = r.length; + }), this.normalizeSelection(), this.style.setProperty(Bo("--_ui5_segmented_btn_items_count"), `${e.length}`); + } + normalizeSelection() { + if (this.items.length) + switch (this.mode) { + case bh.SingleSelect: { + const e = this.selectedItems, t = this._selectedItem ? e.indexOf(this._selectedItem) : -1; + this._selectedItem && e.length > 1 && e.splice(t, 1); + const o = e.pop() || this.items[0]; + this._applySingleSelection(o); + break; + } + } + } + _selectItem(e) { + const t = e.target, o = t.hasAttribute("ui5-segmented-button-item"); + if (!(t.disabled || t === this.getDomRef() || !o)) { + switch (this.mode) { + case bh.MultiSelect: + e instanceof KeyboardEvent && (t.pressed = !t.pressed); + break; + default: + this._applySingleSelection(t); + } + return this.fireEvent("selection-change", { + selectedItem: t, + selectedItems: this.selectedItems + }), this._itemNavigation.setCurrentItem(t), t.focus(), this; + } + } + _applySingleSelection(e) { + this.items.forEach((t) => { + t.pressed = !1; + }), e.pressed = !0, this._selectedItem = e; + } + _onclick(e) { + this._selectItem(e); + } + _onkeydown(e) { + Se(e) ? this._selectItem(e) : se(e) && e.preventDefault(); + } + _onkeyup(e) { + se(e) && this._selectItem(e); + } + _onmousedown(e) { + const t = e.target; + t.hasAttribute("ui5-segmented-button-item") && (t.focus(), this._itemNavigation.setCurrentItem(t), this.hasPreviouslyFocusedItem = !0); + } + _onfocusin(e) { + if (this.hasPreviouslyFocusedItem) { + this._itemNavigation.setCurrentItem(e.target); + return; + } + this.selectedItems.length && (this.selectedItems[0].focus(), this._itemNavigation.setCurrentItem(this.selectedItems[0]), this.hasPreviouslyFocusedItem = !0); + } + /** + * Currently selected item. + * + * @deprecated since 1.14.0. This method will be removed in the next major release. + * Please use the selectedItems property instead. + * @public + * @default undefined + */ + get selectedItem() { + return this._selectedItem; + } + /** + * Returns an array of the currently selected items. + * @since 1.14.0 + * @public + * @default [] + */ + get selectedItems() { + return this.items.filter((e) => e.pressed); + } + get ariaDescribedBy() { + return Rc.i18nBundle.getText(C4); + } + get ariaDescription() { + return Rc.i18nBundle.getText(w4); + } +}; +t_([ + x({ defaultValue: void 0 }) +], Ws.prototype, "accessibleName", void 0); +t_([ + x({ type: bh, defaultValue: bh.SingleSelect }) +], Ws.prototype, "mode", void 0); +t_([ + K({ type: HTMLElement, invalidateOnChildChange: !0, default: !0 }) +], Ws.prototype, "items", void 0); +Ws = Rc = t_([ + X({ + tag: "ui5-segmented-button", + languageAware: !0, + renderer: ue, + template: _L, + styles: pL, + dependencies: [_C] + }), + U("selection-change", { + detail: { + /** + * @public + * @deprecated deprecated since 1.14.0 and will be removed in the next major release, use the selectedItems parameter instead. + */ + selectedItem: { type: HTMLElement }, + /** + * @public + * @since 1.14.0 + */ + selectedItems: { type: Array } + } + }) +], Ws); +Ws.define(); +const i_ = Ws, yh = (i, e = 1) => { + const t = []; + for (let o = 0; o < i; o++) + if (o % e === 0) { + let r = o.toString(); + r.length === 1 && (r = `0${r}`), t.push(r); + } + return t; +}, fL = (i, e) => { + let t = []; + if (i.isTwelveHoursFormat ? t = yh(e || 12, 1) : t = yh(e || 24, 1), i.minHour === 1) + for (let o = 0; o < t.length; o++) { + const r = parseInt(t[o]) + 1; + r.toString().length === 1 ? t[o] = `0${r.toString()}` : t[o] = r.toString(); + } + return t; +}, vL = (i, e) => yh(i || 60, e), mL = (i, e) => yh(i || 60, e), pC = (i) => { + const e = { + minHour: 0, + maxHour: 0, + isTwelveHoursFormat: !1 + }; + return i === "hour0_23" ? (e.minHour = 0, e.maxHour = 23, e.isTwelveHoursFormat = !1) : i === "hour1_24" ? (e.minHour = 1, e.maxHour = 24, e.isTwelveHoursFormat = !1) : i === "hour0_11" ? (e.minHour = 0, e.maxHour = 11, e.isTwelveHoursFormat = !0) : i === "hour1_12" && (e.minHour = 1, e.maxHour = 12, e.isTwelveHoursFormat = !0), e; +}, fC = (i, e) => { + const t = [!1, !1, !1, !1]; + for (let o = 0; o < i.length; o++) + e.maxHour !== 0 && (t[0] = !0), e.maxHour !== 0 && e.isTwelveHoursFormat && (t[0] = !0), i[o].type === "minute" && (t[1] = !0), i[o].type === "second" && (t[2] = !0), i[o].type === "amPmMarker" && (t[3] = !0); + return t; +}; +var Vr = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, ms; +const gL = 1e3; +let ro = ms = class extends te { + static async onDefine() { + [ms.i18nBundle] = await Promise.all([ + pe("@ui5/webcomponents"), + Jl(We().getLanguage(), We().getRegion(), We().getScript()) + ]); + } + get _hoursConfiguration() { + const t = this.getFormat().aFormatArray.find((o) => o.type.startsWith("hour")); + return pC(t ? t.type : "hour0_23"); + } + get _zeroPaddedHours() { + const t = this.getFormat().aFormatArray.find((o) => o.type.startsWith("hour")); + return !(t.digits && t.digits === 1); + } + get _neededComponents() { + const e = this.getFormat().aFormatArray; + return fC(e, this._hoursConfiguration); + } + get _hasHoursComponent() { + return this._neededComponents[0]; + } + get _hasMinutesComponent() { + return this._neededComponents[1]; + } + get _hasSecondsComponent() { + return this._neededComponents[2]; + } + get _hasPeriodsComponent() { + return this._neededComponents[3]; + } + get dateValue() { + return this.value ? this.getFormat().parse(this.value, void 0, void 0) : /* @__PURE__ */ new Date(); + } + get validDateValue() { + return this.value !== void 0 && this.isValid(this.value) ? this.dateValue : /* @__PURE__ */ new Date(); + } + get periodsArray() { + return this.getFormat().aDayPeriodsAbbrev.map((t) => t.toUpperCase()); + } + get _hours() { + let e; + const t = this.validDateValue; + return this._hoursConfiguration.isTwelveHoursFormat && t.getHours() > this._hoursConfiguration.maxHour ? e = t.getHours() - 12 : this._hoursConfiguration.isTwelveHoursFormat && t.getHours() < this._hoursConfiguration.minHour ? e = t.getHours() + 12 : e = t.getHours(), e.toString().length === 1 && this._zeroPaddedHours && (e = `0${e}`), e.toString(); + } + get _minutes() { + const e = this.validDateValue.getMinutes().toString(); + return e.length === 1 ? `0${e}` : e; + } + get _seconds() { + const e = this.validDateValue.getSeconds().toString(); + return e.length === 1 ? `0${e}` : e; + } + get _period() { + let e; + const t = this.validDateValue; + if (this._hoursConfiguration.isTwelveHoursFormat) + return this._hoursConfiguration.minHour === 1 ? e = t.getHours() >= this._hoursConfiguration.maxHour ? this.periodsArray[1] : this.periodsArray[0] : e = t.getHours() > this._hoursConfiguration.maxHour || t.getHours() === this._hoursConfiguration.minHour ? this.periodsArray[1] : this.periodsArray[0], e; + } + get _formatPattern() { + const e = this.formatPattern, t = !!e.match(/H/i), o = !e || !t, r = Ir(We()); + return o ? r.getCombinedDateTimePattern("medium", "medium", void 0) : e; + } + get _isPattern() { + return this._formatPattern !== "medium" && this._formatPattern !== "short" && this._formatPattern !== "long"; + } + get hoursLabel() { + return ms.i18nBundle.getText(vv); + } + get minutesLabel() { + return ms.i18nBundle.getText(mv); + } + get secondsLabel() { + return ms.i18nBundle.getText(gv); + } + get clockDialAriaLabel() { + return ms.i18nBundle.getText(q4); + } + setValue(e) { + const t = this.formatValue(e); + this.isValid(t) && (this.value = this.normalizeValue(t), this.fireEvent("change", { value: this.value, valid: !0 })); + } + isValid(e) { + return e === "" || this.getFormat().parse(e, void 0, void 0); + } + normalizeValue(e) { + return e === "" ? e : this.getFormat().format(this.getFormat().parse(e, void 0, void 0)); + } + getFormat() { + let e; + return this._isPattern ? e = eo.getDateInstance({ + calendarType: this._calendarType, + pattern: this._formatPattern + }) : e = eo.getDateInstance({ + calendarType: this._calendarType, + style: this._formatPattern + }), e; + } + formatValue(e) { + return this.getFormat().format(e); + } + _componentKey(e) { + return e; + } + _indexFromName(e) { + return this._componentMap[this._componentKey(e)]; + } + /** + * Returns name of the clock or button from the id of the event target. + * + * @returns name of the clock/button + */ + _getNameFromId(e) { + const t = e.split("_"); + return t.length ? t[t.length - 1] : void 0; + } + /** + * Returns index of the clock or button from the id of the event target. + * + * @returns index of the clock/button + */ + _getIndexFromId(e) { + const t = this._getNameFromId(e); + return t ? this._indexFromName(t) : 0; + } + /** + * Changes hours value. + * + * @param hours new hours value + */ + _hoursChange(e) { + this._hoursConfiguration.isTwelveHoursFormat && (e = this._shiftHours(e)); + const t = this.validDateValue; + t.setHours(e), this.setValue(t); + } + /** + * Changes minutes value. + * + * @param minutes new minutes value + */ + _minutesChange(e) { + const t = this.validDateValue; + t.setMinutes(e), this.setValue(t); + } + /** + * Changes seconds value. + * + * @param seconds new seconds value + */ + _secondsChange(e) { + const t = this.validDateValue; + t.setSeconds(e), this.setValue(t); + } + _buttonAmPm() { + var e; + return this._hasPeriodsComponent ? (e = this.shadowRoot) == null ? void 0 : e.querySelector(`#${this._id}_AmPm`) : void 0; + } + _createPeriodComponent() { + this._hasPeriodsComponent && this.periodsArray.forEach((e) => { + this._periods.push({ + label: e, + pressed: this._period === e + }); + }); + } + _periodChange(e) { + const t = e.target; + if (t) { + const o = t.textContent; + this._calculatePeriodChange(o); + } + } + _calculatePeriodChange(e) { + const t = this.validDateValue; + e === this._periods[0].label && t.getHours() >= 12 && t.setHours(t.getHours() - 12), e === this._periods[1].label && t.getHours() < 12 && t.setHours(t.getHours() + 12), this.setValue(t); + } + /** + * Shifts hours value with +/- 12 depending on hour value and day period. + * + * @param hours current hours + * @returns shifted hours + */ + _shiftHours(e) { + return this._period === this.periodsArray[0] ? e = e === 12 ? 0 : e : this._period === this.periodsArray[1] && (e = e === 12 ? e : e + 12), e; + } + /** + * Clears the currently existing cooldown period and starts new one if requested. + * + * @param startNewCooldown whether to start new cooldown period after clearing previous one + */ + _resetCooldown(e) { + this._typeCooldownId && clearTimeout(this._typeCooldownId), e && this._startCooldown(); + } + /** + * Starts new cooldown period. + */ + _startCooldown() { + this._typeCooldownId = setTimeout(() => { + this._keyboardBuffer = "", this._typeCooldownId = void 0, this._exactMatch && (this._setExactMatch(), this._exactMatch = void 0); + }, gL); + } + /** + * Sets the exact match value. Override if necessary. + */ + _setExactMatch() { + } +}; +Vr([ + x({ defaultValue: void 0 }) +], ro.prototype, "value", void 0); +Vr([ + x() +], ro.prototype, "formatPattern", void 0); +Vr([ + x({ validator: ne, defaultValue: 0, noAttribute: !0 }) +], ro.prototype, "_activeIndex", void 0); +Vr([ + x({ type: ln }) +], ro.prototype, "_calendarType", void 0); +Vr([ + x({ type: Object, multiple: !0 }) +], ro.prototype, "_entities", void 0); +Vr([ + x({ type: Object }) +], ro.prototype, "_componentMap", void 0); +Vr([ + x({ type: Object, multiple: !0 }) +], ro.prototype, "_periods", void 0); +Vr([ + x({ validator: ne, noAttribute: !0 }) +], ro.prototype, "_typeCooldownId", void 0); +Vr([ + x({ validator: ne, noAttribute: !0 }) +], ro.prototype, "_exactMatch", void 0); +Vr([ + x({ defaultValue: "", noAttribute: !0 }) +], ro.prototype, "_keyboardBuffer", void 0); +ro = ms = Vr([ + X({ + tag: "ui5-time-picker-internals" + }), + U("change", { + detail: { + value: { type: String }, + valid: { type: Boolean } + } + }) +], ro); +ro.define(); +const Nc = ro; +function bL(i, e, t) { + return y``; +} +function yL(i, e, t, o, r) { + return y`
    ${o.item ? wL.call(this, i, e, t, o, r) : SL.call(this, i, e, t, o, r)}
    `; +} +function wL(i, e, t, o, r) { + return y`${a(o.item)}${o.innerItem ? CL.call(this, i, e, t, o, r) : void 0}`; +} +function CL(i, e, t, o, r) { + return y`${a(o.innerItem)}`; +} +function SL(i, e, t, o, r) { + return y`${this.hideFractions ? void 0 : TL.call(this, i, e, t, o, r)}`; +} +function TL(i, e, t, o, r) { + return y``; +} +function IL(i, e, t) { + return y`
    ${a(this._selectedItem.item)}
    ${a(this._selectedItem.innerItem)}
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const kL = { packageName: "@ui5/webcomponents", fileName: "themes/TimePickerClock.css.ts", content: `.ui5-tp-clock{position:relative;width:auto;padding:.5625rem;outline:none;display:none}.ui5-tp-clock-active{display:block}.ui5-tp-clock-dial{position:relative;width:auto;display:block;border-radius:100%;background-color:var(--sapLegend_WorkingBackground);text-align:center;z-index:1}.ui5-tp-clock-dial:before{content:attr(data-label);display:flex;align-items:center;justify-content:center;position:absolute;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor);inset:2.75rem;border-radius:100%;z-index:2}.ui5-tp-clock-dial:after{content:"";display:block;padding-bottom:100%}.ui5-tp-clock-inner .ui5-tp-clock-dial:before{background-color:var(--sapLegend_WorkingBackground)}.ui5-tp-clock-cover{position:absolute;inset:.5625rem;border-radius:100%;z-index:10;touch-action:none}.ui5-tp-clock-item{position:absolute;top:0;left:50%;display:inline-block;width:2.75rem;height:100%;z-index:3;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ui5-tp-clock-item.ui5-tp-clock-marker{z-index:4}.ui5-tp-clock-dot{display:block;box-sizing:border-box;width:.25rem;height:.3125rem;margin:0 auto .25rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-mid-dot{display:block;box-sizing:border-box;width:.125rem;height:.1875rem;margin:0 auto .375rem;border-radius:100%;background-color:var(--sapField_BorderColor)}.ui5-tp-clock-marker{box-sizing:border-box;width:.25rem;height:.5625rem;margin:0 auto;border-radius:100%;background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)}.ui5-tp-clock-number{box-sizing:border-box;display:inline-block;width:2.75rem;height:2.75rem;border-radius:100%;line-height:2.75rem;text-align:center;vertical-align:top;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapTextColor)}.ui5-tp-clock-number.ui5-tp-clock-number-hover:not(.ui5-tp-clock-selected){background-color:var(--sapList_Hover_Background)}.ui5-tp-clock-selected{color:var(--sapButton_Selected_TextColor);background-color:var(--sapButton_Selected_Background);border:.0625rem solid var(--sapButton_Selected_BorderColor)} +` }; +var bt = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +const $L = 200, xL = 100, fm = 6, ep = "ui5-tp-clock-number", tp = "ui5-tp-clock-number-hover", vm = "ui5-tp-clock-selected", AL = "ui5-tp-clock-mid-dot"; +let nt = class extends te { + constructor() { + super(), this._fnOnMouseOutUp = () => { + this._mouseOrTouchDown = !1; + }; + } + get classes() { + return { + clock: { + "ui5-tp-clock": !0, + "ui5-tp-clock-inner": this.showInnerCircle, + "ui5-tp-clock-active": this.active + } + }; + } + onEnterDOM() { + document.addEventListener("mouseup", this._fnOnMouseOutUp, !1); + } + onExitDOM() { + document.removeEventListener("mouseup", this._fnOnMouseOutUp, !1); + } + onBeforeRendering() { + this._prepareClockItems(); + const e = this._fixReplacementValue(this.selectedValue); + this._updateSelectedValueObject(e); + } + /** + * Returns the real value of the passed clock item, if the replacement must be done, returns the replaced value. + * + * @param value The value of the clock item + * @returns The real/replaced value + */ + _fixReplacementValue(e) { + let t = e; + const o = this.itemMax * (this.showInnerCircle ? 2 : 1); + return t === 0 && (t = o), t === o && this.lastItemReplacement !== -1 && (t = this.lastItemReplacement), t; + } + /** + * Updates internal selected value object constructed for rendering purposes. + * + * @param value currently selected value. + */ + _updateSelectedValueObject(e) { + if (e === -1) { + this._selectedItem = { + showMarker: !1 + }; + return; + } + const t = e >= this.itemMin && e <= this.itemMax || !this.showInnerCircle && e === this.lastItemReplacement, o = (e >= this.itemMin + this.itemMax && e <= this.itemMax * 2 || e === this.lastItemReplacement) && this.showInnerCircle, r = 360 / (this.itemMax - this.itemMin + 1), n = this.lastItemReplacement === -1 || !this.prependZero ? e.toString() : e.toString().padStart(2, "0"); + let s = t || o ? e * r : void 0; + s !== void 0 && (s %= 360), this._selectedItem = { + angle: s, + item: t ? e.toString() : "", + innerItem: o ? n : "", + showMarker: t || o, + itemClasses: ep + (t ? ` ${vm}` : ""), + innerItemClasses: ep + (o ? ` ${vm}` : ""), + outerStyles: { + transform: `translate(-50%) rotate(${s || 0}deg)` + }, + innerStyles: { + transform: `rotate(-${s || 0}deg)` + } + }; + } + /** + * Prepares clock items objects according to current clock settings. Item objects are used for rendering purposes. + */ + _prepareClockItems() { + const e = []; + let t = this.displayStep, o, r, n; + for (this._items = [], n = this.itemMin; n <= this.itemMax; n++) + e.push({ + item: n.toString(), + innerItem: this.showInnerCircle ? (n + this.itemMax).toString() : void 0 + }); + this.lastItemReplacement !== -1 && (this.showInnerCircle && this.prependZero ? e[e.length - 1].innerItem = this.lastItemReplacement.toString().padStart(2, "0") : e[e.length - 1].item = this.lastItemReplacement.toString()); + const s = 360 / fm / e.length; + for (this.valueStep * s > t && (t = this.valueStep * s), n = 1; n <= 60; n++) + r = n / s - 1, o = n % t !== 0 ? {} : e[r], o.angle = n * fm, o.outerStyles = { + transform: `translate(-50%) rotate(${n * 6}deg)` + }, o.innerStyles = { + transform: `rotate(-${n * 6}deg)` + }, this._items.push(o); + } + /** + * Returns the DOM Reference of the clock cover element + * + * @returns the DOM Reference + */ + _getClockCoverContainerDomRef() { + const e = this.getDomRef(); + return e && e.querySelector(".ui5-tp-clock-cover"); + } + /** + * Returns the real max value of clock items, taking in count if there is inner circle or not. + * + * @returns max value + */ + _getMaxValue() { + return this.showInnerCircle ? this.itemMax * 2 : this.itemMax; + } + /** + * Calculates the outer height of a HTML element. + * + * @param element The element which outer height to be calculated + * @returns Outer height of the passed HTML element + */ + _outerHeight(e) { + if (!e) + return 0; + const t = window.getComputedStyle(e); + return e.offsetHeight + parseInt(t.marginTop) + parseInt(t.marginBottom); + } + /** + * Returns the Id of the DOM element of the clock item that display specific value. + * + * @param value The value of the clock item + * @returns Id of the clock item element + */ + _hoveredId(e) { + e === this._getMaxValue() && this.lastItemReplacement !== -1 && (e = this.lastItemReplacement); + const t = this.showInnerCircle && e === this.lastItemReplacement && this.prependZero ? e.toString().padStart(2, "0") : e.toString(); + return `#${this._id}-${t}`; + } + /** + * Returns provided value as string. Padding with additional zero is applied if necessary. + * + * @param value The value that should be returned as string + * @returns The value as string + */ + _getStringValue(e) { + return this.prependZero ? e.toString().padStart(2, "0") : e.toString(); + } + /** + * Calculates dimension variables necessary for determining of item selection. + * + * @returns Dimensions object + */ + _calculateDimensions() { + const e = this.getDomRef(), t = window.pageXOffset || document.documentElement.scrollLeft, o = window.pageYOffset || document.documentElement.scrollTop; + if (!e) + return; + const r = this.getDomRef(), n = r.querySelector(`.${AL}`), s = r.querySelector(`.${ep}`), l = Math.round(e.offsetHeight / 2), T = this._outerHeight(n), w = this._outerHeight(s), S = e.getBoundingClientRect(); + this._dimensionParameters = { + radius: l, + centerX: l, + centerY: l, + dotHeight: T, + numberHeight: w, + outerMax: l, + outerMin: l - w, + innerMax: l - w - 1, + innerMin: l - w * 2 - 1, + offsetX: S.left + t, + offsetY: S.top + o + }; + } + /** + * Calculates selected and hovered values based on click/touch position. + * + * @param x X position of click/touch returned by the event + * @param y Y position of click/touch returned by the event + */ + _calculatePosition(e, t) { + const o = e - this._dimensionParameters.offsetX + 1 - this._dimensionParameters.radius, r = t - this._dimensionParameters.offsetY + 1 - this._dimensionParameters.radius, n = o >= 0 ? 0 : 180, s = Math.atan(r / o) * 180 / Math.PI + 90 + n, l = 360 / this.itemMax * this.valueStep, T = Math.sqrt(o * o + r * r), w = T <= this._dimensionParameters.outerMax && T > (this.showInnerCircle ? this._dimensionParameters.outerMin : this._dimensionParameters.innerMin), S = this.showInnerCircle && T <= this._dimensionParameters.innerMax && T > this._dimensionParameters.innerMin, b = T <= this._dimensionParameters.outerMax && T > this._dimensionParameters.outerMin, v = S; + let g = Math.round((s === 0 ? 360 : s) / l) * l; + g === 0 && (g = 360), S || w ? (this._selectedValue = g / l * this.valueStep, S && (this._selectedValue += this.itemMax)) : this._selectedValue = -1, this._hoveredValue = v || b ? this._selectedValue : -1, this._selectedValue === this._getMaxValue() && this.lastItemReplacement !== -1 && (this._selectedValue = this.lastItemReplacement); + } + /** + * Does the animation between the old and the new value of the clock. Can be skipped with setting the second parameter to true. + * + * @param newValue the new value that must be set + * @param skipAnimation whether to skip the animation + */ + _changeValueAnimation(e, t = !1) { + const o = this.itemMax * (this.showInnerCircle ? 2 : 1); + let r = this._movSelectedValue, n = e, s = 1, l, T, w; + t ? this._setSelectedValue(e) : (l = Math.abs(r - n), T = o - l, r < n ? T < l && (r += o, s = -1) : T < l ? n += o : s = -1, w = r === n ? 0 : Math.ceil($L / Math.abs(r - n)), this._animationInProgress = !0, this._selectNextNumber(r, n, s, o, e, w)); + } + /** + * Does the animation step between old and new selected values. + * + * @param firstSelected first/current value to move from + * @param lastSelected last value to move to + * @param direction direction of the animation + * @param maxValue max clock value + * @param newValue new value + * @param delay delay of the single step + */ + _selectNextNumber(e, t, o, r, n, s) { + const l = e > r ? e - r : e; + e === t && (this._animationInProgress = !1), this._setSelectedValue(l), e !== t ? (e += o, setTimeout(() => { + this._selectNextNumber(e, t, o, r, n, s); + }, s)) : setTimeout(() => { + this.fireEvent("change", { + value: n, + stringValue: this._getStringValue(n), + finalChange: !0 + }); + }, xL); + } + /** + * Mousewheel handler. Increases/decreases value of the clock. + * + * @param increase whether to increase or decrease the value + */ + _modifyValue(e) { + let t = this.selectedValue; + const o = this.lastItemReplacement, r = this.itemMin, n = this.itemMax * (this.showInnerCircle ? 2 : 1); + let s = this.valueStep, l; + t % s !== 0 && (l = e ? Math.ceil(t / s) * s : Math.floor(t / s) * s, s = Math.abs(t - l)), t === o && (t = n), e ? (t += s, t > n && (t -= n)) : (t -= s, t < r && (t = n)), this._setSelectedValue(t); + } + /** + * Sets new selected value, fires change event and updates selected value object used for rendering purposes. + * + * @param value + */ + _setSelectedValue(e) { + const t = this._fixReplacementValue(e); + this.selectedValue = t, this.fireEvent("change", { + value: t, + stringValue: this._getStringValue(t), + finalChange: !1 + }), this._updateSelectedValueObject(t); + } + /** + * TouchStart/MouseDown event handler. + * + * @param evt Event object + */ + _onTouchStart(e) { + if (this._cancelTouchOut = !1, this.disabled || this._mouseOrTouchDown) + return; + const t = e.type === "touchstart" ? e.touches[0].pageX : e.pageX, o = e.type === "touchstart" ? e.touches[0].pageY : e.pageY; + this._movSelectedValue = this.selectedValue, this._calculateDimensions(), this._calculatePosition(t, o), this._mouseOrTouchDown = !0; + } + /** + * TouchMove/MouseMove event handler. + * + * @param evt Event object + */ + _onTouchMove(e) { + let t; + const o = this.getDomRef(); + if (e.preventDefault(), this._mouseOrTouchDown) { + const r = e.type === "touchmove" ? e.touches[0].pageX : e.pageX, n = e.type === "touchmove" ? e.touches[0].pageY : e.pageY; + this._calculatePosition(r, n), !this.disabled && this._selectedValue !== -1 && this._selectedValue !== this._movSelectedValue && (this._setSelectedValue(this._selectedValue), this._movSelectedValue = 0 + this._selectedValue); + } else + e.type === "mousemove" && (this._dimensionParameters.radius || this._calculateDimensions(), this._calculatePosition(e.pageX, e.pageY), this.displayStep > 1 && this._hoveredValue !== -1 && (this._hoveredValue = Math.round(this._hoveredValue / this.displayStep) * this.displayStep), !this.disabled && this._hoveredValue !== this._prevHoveredValue && (t = o.querySelector(this._hoveredId(this._prevHoveredValue)), t && t.classList.remove(tp), this._prevHoveredValue = this._hoveredValue, t = o.querySelector(this._hoveredId(this._prevHoveredValue)), t && t.classList.add(tp))); + } + /** + * TouchEnd/MouseUp event handler. + * + * @param evt Event object + */ + _onTouchEnd(e) { + this._mouseOrTouchDown && (this._mouseOrTouchDown = !1, e.preventDefault(), !(this.disabled || this._selectedValue === -1) && (this._cancelTouchOut || this._changeValueAnimation(this._selectedValue))); + } + /** + * Mouse Wheel event handler. + * + * @param evt Event object + */ + _onMouseWheel(e) { + const t = e.detail ? e.detail > 0 : e.deltaY > 0 || e.deltaX > 0; + e.preventDefault(), this._mouseOrTouchDown || this._modifyValue(t); + } + /** + * MouseOut event handler. + */ + _onMouseOut() { + const e = this.getDomRef().querySelector(this._hoveredId(this._hoveredValue)); + e && e.classList.remove(tp), this._hoveredValue = -1, this._prevHoveredValue = -1; + } +}; +bt([ + x({ type: Boolean }) +], nt.prototype, "disabled", void 0); +bt([ + x({ type: Boolean }) +], nt.prototype, "active", void 0); +bt([ + x({ validator: ne, defaultValue: -1 }) +], nt.prototype, "itemMin", void 0); +bt([ + x({ validator: ne, defaultValue: -1 }) +], nt.prototype, "itemMax", void 0); +bt([ + x({ type: Boolean }) +], nt.prototype, "showInnerCircle", void 0); +bt([ + x({ type: String, defaultValue: void 0 }) +], nt.prototype, "label", void 0); +bt([ + x({ type: Boolean }) +], nt.prototype, "hideFractions", void 0); +bt([ + x({ validator: ne, defaultValue: -1 }) +], nt.prototype, "lastItemReplacement", void 0); +bt([ + x({ type: Boolean }) +], nt.prototype, "prependZero", void 0); +bt([ + x({ validator: ne, defaultValue: -1 }) +], nt.prototype, "selectedValue", void 0); +bt([ + x({ validator: ne, defaultValue: 5 }) +], nt.prototype, "displayStep", void 0); +bt([ + x({ validator: ne, defaultValue: 1 }) +], nt.prototype, "valueStep", void 0); +bt([ + x({ type: Object, multiple: !0 }) +], nt.prototype, "_items", void 0); +bt([ + x({ type: Object }) +], nt.prototype, "_selectedItem", void 0); +bt([ + x({ type: Object }) +], nt.prototype, "_dimensionParameters", void 0); +bt([ + x({ type: Boolean, noAttribute: !0 }) +], nt.prototype, "_mouseOrTouchDown", void 0); +bt([ + x({ type: Boolean, noAttribute: !0 }) +], nt.prototype, "_cancelTouchOut", void 0); +bt([ + x({ validator: ne, defaultValue: -1, noAttribute: !0 }) +], nt.prototype, "_selectedValue", void 0); +bt([ + x({ validator: ne, defaultValue: -1, noAttribute: !0 }) +], nt.prototype, "_movSelectedValue", void 0); +bt([ + x({ validator: ne, defaultValue: -1, noAttribute: !0 }) +], nt.prototype, "_hoveredValue", void 0); +bt([ + x({ validator: ne, defaultValue: -1, noAttribute: !0 }) +], nt.prototype, "_prevHoveredValue", void 0); +bt([ + x({ type: Boolean, noAttribute: !0 }) +], nt.prototype, "_animationInProgress", void 0); +nt = bt([ + X({ + tag: "ui5-time-picker-clock", + renderer: ue, + styles: kL, + template: bL + }), + U("change", { + detail: { + /** + * @public + */ + value: { type: ne }, + /** + * @public + */ + stringValue: { type: String }, + /** + * @public + */ + finalChange: { type: Boolean } + } + }) +], nt); +nt.define(); +const EL = nt; +function BL(i, e, t) { + return y` `; +} +function DL(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} class="ui5-button-icon" name="${a(this.icon)}" accessible-role="${a(this.iconRole)}" part="icon" ?show-tooltip=${this.showIconTooltip}>` : y``; +} +function PL(i, e, t) { + return y`${a(this.buttonTypeText)}`; +} +var od = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Va = class extends id { + /** + * Override of the handler in order to prevent button toggle functionality + */ + _onclick() { + } +}; +od([ + x({ validator: ne, defaultValue: -1 }) +], Va.prototype, "valueMin", void 0); +od([ + x({ validator: ne, defaultValue: -1 }) +], Va.prototype, "valueMax", void 0); +od([ + x({ validator: ne, defaultValue: -1 }) +], Va.prototype, "valueNow", void 0); +od([ + x() +], Va.prototype, "valueText", void 0); +Va = od([ + X({ + tag: "ui5-toggle-spin-button", + renderer: ue, + styles: [Ne.styles, id.styles], + template: BL + }) +], Va); +Va.define(); +const OL = Va; +function RL(i, e, t) { + return y`
    ${Y(this._entities, (o, r) => o._id || r, (o, r) => NL.call(this, i, e, t, o, r))}${this._periods.length ? ML.call(this, i, e, t) : void 0}
    `; +} +function NL(i, e, t, o, r) { + return t ? y`${o.hasSeparator ? mm.call(this, i, e, t, o, r) : void 0}<${E("ui5-toggle-spin-button", e, t)} id="${a(this._id)}_button_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .valueMin="${a(o.attributes.min)}" .valueMax="${a(o.attributes.max)}" .valueNow="${a(o.value)}" .valueText="${a(o.textValue)}" .accessibleName="${a(o.label)}" .pressed="${a(o.active)}" ?focused="${o.focused}" @focusin="${this._buttonFocusIn}">${a(o.stringValue)}` : y`${o.hasSeparator ? mm.call(this, i, e, t, o, r) : void 0}${a(o.stringValue)}`; +} +function mm(i, e, t, o, r) { + return y`:`; +} +function ML(i, e, t) { + return t ? y`<${E("ui5-segmented-button", e, t)} id="${a(this._id)}_AmPm" @click=${this._periodChange} @focusin=${this._amPmFocusIn} @focusout=${this._amPmFocusOut}>${Y(this._periods, (o, r) => o._id || r, (o, r) => gm.call(this, i, e, t, o, r))}` : y`${Y(this._periods, (o, r) => o._id || r, (o, r) => gm.call(this, i, e, t, o, r))}`; +} +function gm(i, e, t, o, r) { + return t ? y`<${E("ui5-segmented-button-item", e, t)} ?pressed=${o.pressed}>${a(o.label)}` : y`${a(o.label)}`; +} +function LL(i, e, t, o, r) { + return t ? y`<${E("ui5-time-picker-clock", e, t)} id="${a(this._id)}_clock_${a(o.entity)}" data-sap-clock="${a(o.entity)}" .active="${a(o.active)}" .label="${a(o.label)}" .itemMin="${a(o.itemMin)}" .itemMax="${a(o.itemMax)}" .selectedValue="${a(o.value)}" .displayStep="${a(o.displayStep)}" .valueStep="${a(o.attributes.step)}" .lastItemReplacement="${a(o.lastItemReplacement)}" .showInnerCircle="${a(o.showInnerCircle)}" .prependZero="${a(o.prependZero)}" @ui5-change=${a(this._clockChange)}>` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const FL = { packageName: "@ui5/webcomponents", fileName: "themes/TimeSelectionClocks.css.ts", content: `.ui5-time-picker-tsc-container{margin:0 auto;box-sizing:border-box;width:100%;padding:1rem;text-align:center}.ui5-time-picker-tsc-container:focus{outline:none}.ui5-time-picker-tsc-buttons{display:flex;justify-content:center;align-items:center;padding-bottom:1rem;width:100%}.ui5-time-picker-tsc-buttons span[separator]{min-width:.5rem;padding:0 .125rem;text-align:center;font-family:var(--sapFontFamily);font-size:var(--sapFontSize);color:var(--sapContent_LabelColor)}.ui5-time-picker-tsc-clocks{display:block;text-align:center;width:100%;touch-action:none} +` }; +var o_ = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let js = class extends Nc { + onBeforeRendering() { + this._createComponents(); + } + /** + * Returns ToggleSpinButton component by index or name. + * + * @param indexOrName the index or name of the component + * @returns component (if exists) or undefined + */ + _buttonComponent(e) { + var r; + const t = typeof e == "string" ? this._indexFromName(e) : e, o = this._entities[t].entity; + return o ? (r = this.shadowRoot) == null ? void 0 : r.querySelector(`#${this._id}_button_${o}`) : void 0; + } + /** + * Returns TimePickerClock component by index or name. + * + * @param indexOrName the index or name of the component + * @returns component (if exists) or undefined + */ + _clockComponent(e) { + var r; + const t = typeof e == "string" ? this._indexFromName(e) : e, o = this._entities[t].entity; + return o ? (r = this.shadowRoot) == null ? void 0 : r.querySelector(`#${this._id}_clock_${o}`) : void 0; + } + /** + * TimePickerClocks focusin event handler. Focuses the active button and switches to active clock. + * + * @param evt Event object + */ + _clocksFocusIn(e) { + const t = e.target; + this._focused = !0, t.id === this._id && this._switchClock(this._activeIndex); + } + _clocksFocusOut() { + this._focused = !1; + } + /** + * ToggleSpinButton focusin event handler.Switches to clock which button is being focused. + * + * @param evt Event object + */ + _buttonFocusIn(e) { + const t = e.target, o = this._getNameFromId(t.id); + o && this._switchTo(o); + } + /** + * AM/PM segmented button focusin event handler. + */ + _amPmFocusIn() { + this._amPmFocused = !0; + } + /** + * AM/PM segmented button focusout event handler. + */ + _amPmFocusOut() { + this._amPmFocused = !1; + } + /** + * keyup event handler. + * + * @param evt Event object + */ + _onkeyup(e) { + se(e) && (this._spacePressed = !1); + } + /** + * keydown event handler. + * + * @param evt Event object + */ + _onkeydown(e) { + let t; + const o = e.target && e.target.tagName.toLowerCase().indexOf("segmented") === -1; + if (Se(e)) + this.fireEvent("close-picker"); + else if (se(e) && o && !this._spacePressed) + e.preventDefault(), this._spacePressed = !0, this._keyboardBuffer = "", this._resetCooldown(!0), this._switchNextClock(!0); + else if ((Ye(e) || Ue(e)) && !oh(e) && !Gf(e)) + t = this._clockComponent(this._activeIndex), t && !t.disabled && !this._amPmFocused && t._modifyValue(Ye(e)), e.preventDefault(); + else if (Ri(e) || Ji(e)) + t = this._clockComponent("hours"), t && !t.disabled && (this._switchTo("hours"), t._modifyValue(Ri(e))), e.preventDefault(); + else if (xl(e) || Vu(e)) + t = this._clockComponent("minutes"), t && !t.disabled && (this._switchTo("minutes"), t._modifyValue(xl(e))), e.preventDefault(); + else if (lu(e) || Oh(e)) + t = this._clockComponent("seconds"), t && !t.disabled && (this._switchTo("seconds"), t._modifyValue(lu(e))), e.preventDefault(); + else if (x_(e) || F2(e)) { + const r = this._buttonAmPm(); + if (r) { + r.items[0].pressed = x_(e), r.items[1].pressed = F2(e); + const n = x_(e) ? r.items[0].textContent : r.items[1].textContent; + n && this._calculatePeriodChange(n); + } + e.preventDefault(); + } else + LI(e) ? (this._keyboardBuffer = "", this._exactMatch = void 0, this._resetCooldown(!0), this._switchNextClock(!0)) : qy(e) && this._entities[this._activeIndex] && (this._exactMatch = void 0, this._resetCooldown(!0), this._numbersInput(e)); + } + /** + * Handles direct numbers entry. + * + * @param evt Event object + */ + _numbersInput(e) { + const t = e.key, o = this._keyboardBuffer + t, r = parseInt(o), n = this._entities[this._activeIndex]; + let s = this._clockComponent(this._activeIndex); + !n || !n.attributes || (r > n.attributes.max ? (s && s._setSelectedValue(parseInt(this._keyboardBuffer)), this._switchNextClock(), this._keyboardBuffer = t, s = this._clockComponent(this._activeIndex), s && s._setSelectedValue(parseInt(t)), this._resetCooldown(!0)) : (this._keyboardBuffer = o, s && s._setSelectedValue(parseInt(this._keyboardBuffer)), (this._keyboardBuffer.length === 2 || parseInt(`${this._keyboardBuffer}0`) > n.attributes.max) && (this._resetCooldown(this._keyboardBuffer.length !== 2), this._keyboardBuffer = "", this._switchNextClock()))); + } + /** + * Focuses the first available button. + */ + _focusFirstButton() { + this._activeIndex = 0, this._buttonComponent(0).focus(); + } + /** + * Sets the exact match value. Must be overriden. + */ + _setExactMatch() { + const e = this._clockComponent(this._activeIndex); + e && this._exactMatch !== void 0 && e._setSelectedValue(this._exactMatch); + } + /** + * Creates clock and button components according to the display format pattern. + */ + _createComponents() { + const e = { + hours: parseInt(this._hours), + minutes: parseInt(this._minutes), + seconds: parseInt(this._seconds) + }; + this._entities = [], this._periods = [], this._componentMap = { + hours: -1, + minutes: -1, + seconds: -1 + }, this._hasHoursComponent && (this._componentMap.hours = this._entities.length, this._entities.push({ + label: this.hoursLabel, + entity: "hours", + itemMin: 1, + itemMax: 12, + value: e.hours, + stringValue: this._hours, + textValue: `${e.hours} ${this.hoursLabel}`, + displayStep: 1, + lastItemReplacement: this._hoursConfiguration.isTwelveHoursFormat ? -1 : 0, + showInnerCircle: !this._hoursConfiguration.isTwelveHoursFormat, + prependZero: this._zeroPaddedHours, + hasSeparator: this._entities.length > 0, + active: !1, + attributes: { + min: this._hoursConfiguration.minHour, + max: this._hoursConfiguration.maxHour, + step: 1 + } + })), this._hasMinutesComponent && (this._componentMap.minutes = this._entities.length, this._entities.push({ + label: this.minutesLabel, + entity: "minutes", + itemMin: 1, + itemMax: 60, + value: e.minutes, + stringValue: this._minutes, + textValue: `${e.minutes} ${this.minutesLabel}`, + displayStep: 5, + lastItemReplacement: 0, + showInnerCircle: !1, + prependZero: !1, + hasSeparator: this._entities.length > 0, + active: !1, + attributes: { + min: 0, + max: 59, + step: 1 + } + })), this._hasSecondsComponent && (this._componentMap.seconds = this._entities.length, this._entities.push({ + label: this.secondsLabel, + entity: "seconds", + itemMin: 1, + itemMax: 60, + value: e.seconds, + stringValue: this._seconds, + textValue: `${e.seconds} ${this.secondsLabel}`, + displayStep: 5, + lastItemReplacement: 0, + showInnerCircle: !1, + prependZero: !1, + hasSeparator: this._entities.length > 0, + active: !1, + attributes: { + min: 0, + max: 59, + step: 1 + } + })), this._entities[this._activeIndex].active = !0, this._entities[this._activeIndex].focused = this._focused && !this._amPmFocused, this._createPeriodComponent(); + } + /** + * Switches to the specific clock by name. + * + * @param clockName the name of the clock + */ + _switchTo(e) { + const t = this._componentKey(e); + this._componentMap[t] !== void 0 && this._switchClock(this._componentMap[t]); + } + /** + * Switches to the specific clock by its index in _clocks property. + * + * @param clockIndex the index of the clock + */ + _switchClock(e) { + const t = this._buttonComponent(e); + this._entities.length && e < this._entities.length && t && (this._entities[this._activeIndex].active = !1, this._entities[this._activeIndex].focused = !1, this._activeIndex = e, this._entities[this._activeIndex].active = !0, this._entities[this._activeIndex].focused = this._focused && !this._amPmFocused, t.focus()); + } + /** + * Switches to the next available clock. + * + * @param wrapAround whether to switch to the first clock if there are no next clock + */ + _switchNextClock(e = !1) { + let t = this._activeIndex; + const o = t, r = this._clockComponent(t); + do + t++, t >= this._entities.length && (t = e ? 0 : this._entities.length - 1); + while (r && r.disabled && t !== o && (e || t < this._entities.length - 1)); + const n = this._clockComponent(t); + t !== o && n && !n.disabled && this._switchClock(t); + } + /** + * Clock 'change' event handler. + * + * @param evt Event object + */ + _clockChange(e) { + const t = this._getIndexFromId(e.target.id), o = e.detail.stringValue, r = e.detail.value, n = this._buttonComponent(t); + if (n) { + switch (this._entities[t].stringValue = o, this._entities[t].value = r, this._entities = JSON.parse(JSON.stringify(this._entities)), t) { + case this._componentMap.hours: + this._hoursChange(r); + break; + case this._componentMap.minutes: + this._minutesChange(r); + break; + case this._componentMap.seconds: + this._secondsChange(r); + break; + } + e.detail.finalChange && (this._activeIndex < this._entities.length - 1 ? this._switchNextClock() : n.focus()); + } + } +}; +o_([ + x({ type: Boolean, noAttribute: !0 }) +], js.prototype, "_spacePressed", void 0); +o_([ + x({ type: Boolean, noAttribute: !0 }) +], js.prototype, "_focused", void 0); +o_([ + x({ type: Boolean, noAttribute: !0 }) +], js.prototype, "_amPmFocused", void 0); +js = o_([ + U("close-picker"), + X({ + tag: "ui5-time-selection-clocks", + renderer: ue, + styles: FL, + template: RL, + dependencies: [ + EL, + OL, + i_ + ] + }) +], js); +js.define(); +const vC = js; +function zL(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-responsive-popover" allow-target-overlap placement-type="Bottom" horizontal-align="Left" hide-arrow ?_hide-header=${a(this._shouldHideHeader)} @keydown="${this._onkeydown}" @ui5-after-close="${a(this.onResponsivePopoverAfterClose)}">${this.showHeader ? bm.call(this, i, e, t) : void 0}
    <${E("ui5-calendar", e, t)} class="ui5-dt-cal ${W(this.classes.dateTimeView)}" id="${a(this._id)}-calendar" primary-calendar-type="${a(this._primaryCalendarType)}" secondary-calendar-type="${a(this.secondaryCalendarType)}" format-pattern="${a(this._formatPattern)}" timestamp="${a(this._calendarTimestamp)}" .selectionMode="${a(this._calendarSelectionMode)}" .minDate="${a(this.minDate)}" .maxDate="${a(this.maxDate)}" @ui5-selected-dates-change="${a(this.onSelectedDatesChange)}" @ui5-show-month-press="${a(this.onHeaderShowMonthPress)}" @ui5-show-year-press="${a(this.onHeaderShowYearPress)}" ?hide-week-numbers="${this.hideWeekNumbers}" ._currentPicker="${a(this._calendarCurrentPicker)}">${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => ym.call(this, i, e, t, o, r))}${this.phone ? void 0 : wm.call(this, i, e, t)}${this.showTimeView ? Cm.call(this, i, e, t) : void 0}
    ${this.showFooter ? Sm.call(this, i, e, t) : void 0} ` : y`${this.showHeader ? bm.call(this, i, e, t) : void 0}
    ${Y(this._calendarSelectedDates, (o, r) => o._id || r, (o, r) => ym.call(this, i, e, t, o, r))}${this.phone ? void 0 : wm.call(this, i, e, t)}${this.showTimeView ? Cm.call(this, i, e, t) : void 0}
    ${this.showFooter ? Sm.call(this, i, e, t) : void 0}
    `; +} +function bm(i, e, t) { + return y`${this.phone ? HL.call(this, i, e, t) : void 0}`; +} +function HL(i, e, t) { + return t ? y`
    <${E("ui5-segmented-button", e, t)} class="ui5-dt-picker-toggle-button"><${E("ui5-toggle-button", e, t)} key="Date" ?pressed="${this.showDateView}" @click="${this._dateTimeSwitchChange}">${a(this.btnDateLabel)}<${E("ui5-toggle-button", e, t)} key="Time" ?pressed="${this.showTimeView}" @click="${this._dateTimeSwitchChange}">${a(this.btnTimeLabel)}
    ` : y`
    ${a(this.btnDateLabel)}${a(this.btnTimeLabel)}
    `; +} +function ym(i, e, t, o, r) { + return t ? y`<${E("ui5-date", e, t)} value="${a(o)}">` : y``; +} +function wm(i, e, t) { + return y``; +} +function Cm(i, e, t) { + return t ? y`<${E("ui5-time-selection-clocks", e, t)} id="${a(this._id)}-time-sel" class="ui5-dt-time ${W(this.classes.dateTimeView)}" format-pattern="${a(this._formatPattern)}" value="${a(this._timeSelectionValue)}" @ui5-change="${a(this.onTimeSelectionChange)}" ._calendarType="${a(this._primaryCalendarType)}">` : y``; +} +function Sm(i, e, t) { + return t ? y`` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const VL = { packageName: "@ui5/webcomponents", fileName: "themes/DateTimePicker.css.ts", content: `:host{min-width:15rem;color:var(--sapField_TextColor);background-color:var(--sapField_Background)}:host .ui5-date-picker-input{min-width:inherit;color:inherit;background-color:inherit} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const UL = { packageName: "@ui5/webcomponents", fileName: "themes/DateTimePickerPopover.css.ts", content: `.ui5-dt-picker-content{display:flex;flex-direction:row;height:var(--_ui5-v1-22-1-rc-0_datetime_picker_height);min-width:var(--_ui5-v1-22-1-rc-0_datetime_picker_width);box-sizing:border-box;justify-content:center}.ui5-dt-picker-toggle-button{width:8rem}.ui5-dt-cal{width:auto;box-sizing:border-box}.ui5-dt-time{width:100%;min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_width);box-sizing:border-box}.ui5-dt-cal.ui5-dt-cal--hidden,.ui5-dt-time.ui5-dt-time--hidden{display:none}.ui5-dt-picker-header{display:flex;justify-content:center;width:100%;margin-top:1rem;box-sizing:border-box}.ui5-dt-picker-separator{height:calc(100% - 2rem);width:0px;margin-top:1rem;margin-bottom:1rem;border-left:1px solid var(--sapGroup_ContentBorderColor);box-sizing:border-box}.ui5-dt-picker-footer{display:flex;justify-content:flex-end;align-items:center;height:2.75rem;width:100%}.ui5-dt-picker-footer.ui5-dt-picker-footer-time-hidden{padding:0}.ui5-dt-picker-action{margin:.25rem}#ok.ui5-dt-picker-action{width:4rem}.ui5-dt-picker-content--phone.ui5-dt-picker-content{min-width:20rem;height:calc(100% - 4rem)}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-time-selection-clocks]{height:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_clocks_width);width:auto}.ui5-dt-picker-content--phone.ui5-dt-picker-content [ui5-calendar]{margin-bottom:var(--_ui5-v1-22-1-rc-0_datetime_dateview_phonemode_margin_bottom)}.ui5-dt-picker-content--phone .ui5-dt-cal{width:100%}.ui5-dt-picker-content--phone .ui5-dt-time{min-width:var(--_ui5-v1-22-1-rc-0_datetime_timeview_phonemode_width)} +` }; +var r_ = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, gs; +const qL = 640; +let Os = gs = class extends yu { + constructor() { + super(), this._handleResizeBound = this._handleResize.bind(this); + } + /** + * @override + */ + onResponsivePopoverAfterClose() { + super.onResponsivePopoverAfterClose(), this._showTimeView = !1, this._previewValues = {}; + } + /** + * LIFECYCLE METHODS + */ + onEnterDOM() { + Ce.register(document.body, this._handleResizeBound); + } + onExitDOM() { + Ce.deregister(document.body, this._handleResizeBound); + } + /** + * PUBLIC METHODS + */ + /** + * Opens the picker. + * + * @public + */ + async openPicker() { + await super.openPicker(), this._previewValues = { + ...this._previewValues, + timeSelectionValue: this.value || this.getFormat().format(/* @__PURE__ */ new Date()) + }; + } + /** + * Read-only getters + */ + get classes() { + return { + picker: { + "ui5-dt-picker-content--phone": this.phone + }, + dateTimeView: { + "ui5-dt-cal--hidden": this.phone && this.showTimeView, + "ui5-dt-time--hidden": this.phone && this.showDateView + }, + footer: { + "ui5-dt-picker-footer-time-hidden": this.phone && this.showTimeView || this.phone && this.showDateView + } + }; + } + get _formatPattern() { + const e = !!this.formatPattern.match(/H/i), t = !this.formatPattern || !e, o = Ir(We()); + return t ? o.getCombinedDateTimePattern("medium", "medium", this._primaryCalendarType) : this.formatPattern; + } + get _calendarTimestamp() { + return this._previewValues.calendarTimestamp ? this._previewValues.calendarTimestamp : super._calendarTimestamp; + } + get _calendarSelectedDates() { + return this._previewValues.calendarValue ? [this._previewValues.calendarValue] : super._calendarSelectedDates; + } + get _timeSelectionValue() { + return this._previewValues.timeSelectionValue ? this._previewValues.timeSelectionValue : this.value; + } + get openIconName() { + return "date-time"; + } + get btnOKLabel() { + return gs.i18nBundle.getText(bv); + } + get btnCancelLabel() { + return gs.i18nBundle.getText(yv); + } + get btnDateLabel() { + return gs.i18nBundle.getText(Y4); + } + get btnTimeLabel() { + return gs.i18nBundle.getText(X4); + } + get showFooter() { + return !0; + } + get showDateView() { + return this.phone ? !this._showTimeView : !0; + } + get showTimeView() { + return this.phone ? this._showTimeView : !0; + } + get phone() { + return super.phone || this._phoneMode; + } + get dateAriaDescription() { + return gs.i18nBundle.getText(L3); + } + /** + * Defines whether the dialog on mobile should have header + * + * @private + */ + get _shouldHideHeader() { + return !0; + } + /** + * EVENT HANDLERS + */ + /** + * @override + */ + onSelectedDatesChange(e) { + e.preventDefault(); + const t = e.path ? e.path[1] : e.composedPath()[1]; + this._previewValues = { + ...this._previewValues, + calendarTimestamp: e.detail.timestamp, + calendarValue: e.detail.values[0], + timeSelectionValue: t.lastChild.value + }; + } + onTimeSelectionChange(e) { + this._previewValues = { + ...this._previewValues, + timeSelectionValue: e.detail.value + }; + } + /** + * Handles document resize to switch between phoneMode and normal appearance. + */ + _handleResize() { + const t = document.body.offsetWidth <= qL; + (t && !this._phoneMode || !t && this._phoneMode) && (this._phoneMode = t); + } + get _submitDisabled() { + return !this._calendarSelectedDates || !this._calendarSelectedDates.length; + } + /** + * Handles clicking on the submit button, within the picker`s footer. + */ + _submitClick() { + const e = this.getSelectedDateTime(), t = this.getFormat().format(e); + this.value !== t && this._updateValueAndFireEvents(t, !0, ["change", "value-changed"]), this.closePicker(); + } + /** + * Handles clicking on the cancel button, within the picker`s footer, + * that would disregard the user selection. + */ + _cancelClick() { + this.closePicker(); + } + /** + * Handles the date/time switch available in phoneMode to switch + * between the date and time views. + * + * @param e + */ + _dateTimeSwitchChange(e) { + const t = e.target; + this._showTimeView = t.getAttribute("key") === "Time"; + } + /** + * @override + */ + _modifyDateValue(e, t, o) { + if (!this.dateValue) + return; + const n = gu(De.fromLocalJSDate(this.dateValue), e, t, o, this._minDate, this._maxDate).toLocalJSDate(); + n.setHours(this.dateValue.getHours()), n.setMinutes(this.dateValue.getMinutes()), n.setSeconds(this.dateValue.getSeconds()); + const s = this.formatValue(n); + this._updateValueAndFireEvents(s, !0, ["change", "value-changed"]); + } + async getPicker() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); + } + getSelectedDateTime() { + const e = this.getFormat().parse(this._calendarSelectedDates[0]), t = this.getFormat().parse(this._timeSelectionValue); + return t && (e.setHours(t.getHours()), e.setMinutes(t.getMinutes()), e.setSeconds(t.getSeconds())), e; + } + /** + * @override + */ + get _calendarPickersMode() { + return Yo.DAY_MONTH_YEAR; + } +}; +r_([ + x({ type: Boolean, noAttribute: !0 }) +], Os.prototype, "_showTimeView", void 0); +r_([ + x({ type: Boolean }) +], Os.prototype, "_phoneMode", void 0); +r_([ + x({ type: Object }) +], Os.prototype, "_previewValues", void 0); +Os = gs = r_([ + X({ + tag: "ui5-datetime-picker", + staticAreaTemplate: zL, + styles: [ + Os.styles, + VL + ], + staticAreaStyles: [ + yu.staticAreaStyles, + UL + ], + dependencies: [ + ...yu.dependencies, + cC, + Ne, + id, + i_, + vC + ] + }) +], Os); +Os.define(); +function WL(i, e, t) { + return y`
    ${this.hideInput ? void 0 : jL.call(this, i, e, t)}
    ${this._keepInputInShadowDOM ? GL.call(this, i, e, t) : YL.call(this, i, e, t)}
    `; +} +function jL(i, e, t) { + return t ? y`<${E("ui5-input", e, t)} value="${a(this.value)}" value-state="${a(this.valueState)}" placeholder="${a(this.placeholder)}" ?disabled="${this.disabled}" tabindex="-1" class="ui5-file-uploader-input">` : y``; +} +function GL(i, e, t) { + return y``; +} +function YL(i, e, t) { + return y``; +} +function XL(i, e, t) { + return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    ${this._valueStateMessageInputIcon ? Tm.call(this, i, e, t) : void 0}${this.shouldDisplayDefaultValueStateMessage ? Im.call(this, i, e, t) : km.call(this, i, e, t)}
    ` : y`
    ${this._valueStateMessageInputIcon ? Tm.call(this, i, e, t) : void 0}${this.shouldDisplayDefaultValueStateMessage ? Im.call(this, i, e, t) : km.call(this, i, e, t)}
    `; +} +function Tm(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">` : y``; +} +function Im(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function km(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => KL.call(this, i, e, t, o, r))}`; +} +function KL(i, e, t, o, r) { + return y`${a(o)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const ZL = { packageName: "@ui5/webcomponents", fileName: "themes/FileUploader.css.ts", content: `:host{vertical-align:middle}:host{display:inline-block}.ui5-file-uploader-root{position:relative}.ui5-file-uploader-root input[type=file]{opacity:0;position:absolute;top:0;left:0;height:100%;width:100%}.ui5-file-uploader-root input[type=file]:not([disabled]){cursor:pointer}.ui5-file-uploader-mask{display:flex;align-items:center}.ui5-file-uploader-mask [ui5-input]{margin-right:.25rem}:host([value-state="None"]:not([disabled]):hover) [ui5-input],:host(:not([value-state]):not([disabled]):hover) [ui5-input]{border:var(--_ui5-v1-22-1-rc-0_file_uploader_hover_border);background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Error"]:not([disabled]):hover) [ui5-input]{background-color:var(--_ui5-v1-22-1-rc-0_file_uploader_value_state_error_hover_background_color);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Warning"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([disabled]):hover) [ui5-input]{background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_InformationShadow)}:host(:not([disabled]):active) [ui5-button]{background-color:var(--sapButton_Active_Background);border-color:var(--sapButton_Active_BorderColor);color:var(--sapButton_Active_TextColor);text-shadow:none} +` }; +var Ho = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Zr; +let Ui = Zr = class extends te { + static get formAssociated() { + return !0; + } + constructor() { + super(), this._internals = this.attachInternals && this.attachInternals(); + } + _onmouseover() { + this.content.forEach((e) => { + e.classList.add("ui5_hovered"); + }); + } + _onmouseout() { + this.content.forEach((e) => { + e.classList.remove("ui5_hovered"); + }); + } + _onclick(e) { + Xo(e) === "button" && this._input.click(); + } + _onkeydown(e) { + Se(e) && (this._input.click(), e.preventDefault()); + } + _onkeyup(e) { + se(e) && (this._input.click(), e.preventDefault()); + } + _onfocusin() { + this.focused = !0; + } + _onfocusout() { + this.focused = !1; + } + /** + * FileList of all selected files. + * + * @public + * @default null + */ + get files() { + return this._input ? this._input.files : Zr._emptyFilesList; + } + onBeforeRendering() { + this._enableFormSupport(); + } + onAfterRendering() { + this.value || (this._input.value = ""), this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover); + } + _enableFormSupport() { + const e = ze("FormSupport"); + e ? this._canUseNativeFormSupport ? this._setFormValue() : e.syncNativeFileInput(this, (t, o) => { + o.disabled = !!t.disabled; + }, this._onChange.bind(this)) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); + } + _onChange(e) { + const t = e.target.files; + this._updateValue(t), this.fireEvent("change", { + files: t + }); + } + _updateValue(e) { + this.value = Array.from(e || []).reduce((t, o) => `${t}"${o.name}" `, ""); + } + _setFormValue() { + const e = new FormData(); + if (this.files) + for (let t = 0; t < this.files.length; t++) + e.append(this.name, this.files[t]); + this._internals.setFormValue(e); + } + toggleValueStatePopover(e) { + e ? this.openValueStatePopover() : this.closeValueStatePopover(); + } + async openValueStatePopover() { + const e = await this._getPopover(); + e && e.showAt(this); + } + async closeValueStatePopover() { + const e = await this._getPopover(); + e && e.close(); + } + async _getPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector(".ui5-valuestatemessage-popover"); + } + /** + * in case when the component is not placed in the DOM, return empty FileList, like native input would do + * @private + */ + static get _emptyFilesList() { + return this.emptyInput || (this.emptyInput = document.createElement("input"), this.emptyInput.type = "file"), this.emptyInput.files; + } + get browseText() { + return Zr.i18nBundle.getText(H3); + } + get titleText() { + return Zr.i18nBundle.getText(V3); + } + get _canUseNativeFormSupport() { + return !!(this._internals && this._internals.setFormValue); + } + get _keepInputInShadowDOM() { + return this._canUseNativeFormSupport || !this.name; + } + get _input() { + return this.shadowRoot.querySelector("input[type=file]") || this.querySelector("input[type=file][data-ui5-form-support]"); + } + get valueStateTextMappings() { + return { + Success: Zr.i18nBundle.getText(Sn), + Information: Zr.i18nBundle.getText(Qn), + Error: Zr.i18nBundle.getText(wn), + Warning: Zr.i18nBundle.getText(Cn) + }; + } + get valueStateText() { + return this.valueStateTextMappings[this.valueState]; + } + get hasValueState() { + return this.valueState !== q.None; + } + get hasValueStateText() { + return this.hasValueState && this.valueState !== q.Success; + } + get valueStateMessageText() { + return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); + } + get shouldDisplayDefaultValueStateMessage() { + return !this.valueStateMessage.length && this.hasValueStateText; + } + get shouldOpenValueStateMessagePopover() { + return this.focused && this.hasValueStateText && !this.hideInput; + } + /** + * This method is relevant for sap_horizon theme only + */ + get _valueStateMessageInputIcon() { + const e = { + Error: "error", + Warning: "alert", + Success: "sys-enter-2", + Information: "information" + }; + return this.valueState !== q.None ? e[this.valueState] : ""; + } + get classes() { + return { + popoverValueState: { + "ui5-valuestatemessage-root": !0, + "ui5-valuestatemessage--success": this.valueState === q.Success, + "ui5-valuestatemessage--error": this.valueState === q.Error, + "ui5-valuestatemessage--warning": this.valueState === q.Warning, + "ui5-valuestatemessage--information": this.valueState === q.Information + } + }; + } + get styles() { + return { + popoverHeader: { + width: `${this.ui5Input ? this.ui5Input.offsetWidth : 0}px` + } + }; + } + get ui5Input() { + return this.shadowRoot.querySelector(".ui5-file-uploader-input"); + } + static async onDefine() { + Zr.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +Ho([ + x() +], Ui.prototype, "accept", void 0); +Ho([ + x({ type: Boolean }) +], Ui.prototype, "hideInput", void 0); +Ho([ + x({ type: Boolean }) +], Ui.prototype, "disabled", void 0); +Ho([ + x({ type: Boolean }) +], Ui.prototype, "multiple", void 0); +Ho([ + x() +], Ui.prototype, "name", void 0); +Ho([ + x() +], Ui.prototype, "placeholder", void 0); +Ho([ + x() +], Ui.prototype, "value", void 0); +Ho([ + x({ type: q, defaultValue: q.None }) +], Ui.prototype, "valueState", void 0); +Ho([ + x({ type: Boolean }) +], Ui.prototype, "focused", void 0); +Ho([ + K({ type: HTMLElement, default: !0 }) +], Ui.prototype, "content", void 0); +Ho([ + K() +], Ui.prototype, "valueStateMessage", void 0); +Ho([ + K() +], Ui.prototype, "formSupport", void 0); +Ui = Zr = Ho([ + X({ + tag: "ui5-file-uploader", + languageAware: !0, + renderer: ue, + styles: ZL, + template: WL, + staticAreaTemplate: XL, + staticAreaStyles: [Fr, Ka], + dependencies: [ + Ar, + Fi, + Pe + ] + }), + U("change", { + detail: { + /** + * @public + */ + files: { type: FileList } + } + }) +], Ui); +Ui.define(); +function QL(i, e, t) { + return t ? y`
    ${a(this._tokensCountText)}<${E("ui5-tokenizer", e, t)} class="ui5-multi-input-tokenizer" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} .valueState=${a(this.valueState)} ?expanded="${this.expandedTokenizer}" show-more @keydown="${this._onTokenizerKeydown}" @ui5-show-more-items-press=${a(this.showMorePress)} @ui5-token-delete=${a(this.tokenDelete)} @focusout="${this._tokenizerFocusOut}">
    ${this.shouldDisplayDefaultValueStateMessage ? $m.call(this, i, e, t) : xm.call(this, i, e, t)}
    ${this._effectiveShowClearIcon ? Am.call(this, i, e, t) : void 0}${this.icon.length ? Em.call(this, i, e, t) : void 0}
    ${jn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon ? Bm.call(this, i, e, t) : void 0}${this.showSuggestions ? Dm.call(this, i, e, t) : void 0}${this.accInfo.input.ariaDescription ? Pm.call(this, i, e, t) : void 0}${this.hasValueState ? Om.call(this, i, e, t) : void 0}
    ` : y`
    ${a(this._tokensCountText)}
    ${this.shouldDisplayDefaultValueStateMessage ? $m.call(this, i, e, t) : xm.call(this, i, e, t)}
    ${this._effectiveShowClearIcon ? Am.call(this, i, e, t) : void 0}${this.icon.length ? Em.call(this, i, e, t) : void 0}
    ${jn(this._valueStateInputIcon)}
    ${this.showValueHelpIcon ? Bm.call(this, i, e, t) : void 0}${this.showSuggestions ? Dm.call(this, i, e, t) : void 0}${this.accInfo.input.ariaDescription ? Pm.call(this, i, e, t) : void 0}${this.hasValueState ? Om.call(this, i, e, t) : void 0}
    `; +} +function $m(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function xm(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => JL.call(this, i, e, t, o, r))}`; +} +function JL(i, e, t, o, r) { + return y`${a(o)}`; +} +function Am(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; +} +function Em(i, e, t) { + return y`
    `; +} +function Bm(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} @click=${this.valueHelpPress} @mousedown=${this.valueHelpMouseDown} @mouseup=${this.valueHelpMouseUp} input-icon name="value-help">` : y``; +} +function Dm(i, e, t) { + return y`${a(this.suggestionsText)}${a(this.availableSuggestionsCount)}`; +} +function Pm(i, e, t) { + return y`${a(this.accInfo.input.ariaDescription)}`; +} +function Om(i, e, t) { + return y`${a(this.ariaValueStateHiddenText)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const eF = { packageName: "@ui5/webcomponents", fileName: "themes/MultiInput.css.ts", content: `[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}.ui5-multi-input-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-input-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-input-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-input-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} +` }, tF = "sys-cancel", mC = "M512 256q0 54-20 100.5t-54.5 81T356 492t-100 20q-54 0-100.5-20t-81-55T20 355.5 0 256t20.5-100 55-81.5T157 20t99-20q53 0 100 20t81.5 54.5T492 156t20 100zm-32 0q0-47-17.5-87.5t-48-71-71.5-48T256 32t-87 18-71.5 48.5-48 71T32 256q0 47 17.5 88t48 71 71.5 47.5 87 17.5q47 0 88-17.5t71-47.5 47.5-71 17.5-88zm-186-7q-5 3-1 9l89 89q9 8 0 17l-16 17q-8 4-9 4t-9-4l-89-89q-1-2-4-2-4 0-5 2l-88 89q-6 4-9 4-1 0-9-4l-16-17q-8-9 0-17l88-89q5-5 0-9l-88-89q-8-9 0-17l16-17q4-4 9-4t9 4l88 89q2 2 5 2 2 0 4-2l89-89q4-4 9-4t9 4l16 17q9 8 0 17z", iF = !1, oF = "SAP-icons-v4", rF = "@ui5/webcomponents-icons"; +J(tF, { pathData: mC, ltr: iF, collection: oF, packageName: rF }); +const nF = "sys-cancel", gC = "M256 0q53 0 99.5 20T437 75t55 81.5 20 99.5-20 99.5-55 81.5-81.5 55-99.5 20-99.5-20T75 437t-55-81.5T0 256t20-99.5T75 75t81.5-55T256 0zm0 461q42 0 79.5-16t65.5-44 44-65.5 16-79.5-16-79.5-44-65.5-65.5-44T256 51t-79.5 16-65.5 44-44 65.5T51 256t16 79.5 44 65.5 65.5 44 79.5 16zm70-301q11 0 18.5 7.5T352 186t-7 18l-53 52 53 52q7 7 7 18t-7.5 18.5T326 352q-10 0-18-8l-52-52-52 52q-8 8-18 8-11 0-18.5-7.5T160 326q0-10 8-18l52-52-52-52q-8-8-8-18 0-11 7.5-18.5T186 160t18 7l52 53 52-53q7-7 18-7z", aF = !1, sF = "SAP-icons-v5", lF = "@ui5/webcomponents-icons"; +J(nF, { pathData: gC, ltr: aF, collection: sF, packageName: lF }); +Te(); +function cF(i, e, t) { + return y`
    ${a(this.text)}${this.readonly ? void 0 : uF.call(this, i, e, t)}
    `; +} +function uF(i, e, t) { + return y`
    ${this.closeIcon.length ? dF.call(this, i, e, t) : hF.call(this, i, e, t)}
    `; +} +function dF(i, e, t) { + return y``; +} +function hF(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="${a(this.iconURI)}" accessible-name="${a(this.tokenDeletableText)}" show-tooltip @click="${this._delete}">` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const _F = { packageName: "@ui5/webcomponents", fileName: "themes/Token.css.ts", content: `:host{display:inline-block;background:var(--_ui5-v1-22-1-rc-0_token_background);border:var(--sapButton_BorderWidth) solid var(--sapButton_TokenBorderColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_border_radius);color:var(--_ui5-v1-22-1-rc-0_token_text_color);height:var(--_ui5-v1-22-1-rc-0_token_height);box-sizing:border-box}:host(:not([single-token])){margin-inline-end:var(--_ui5-v1-22-1-rc-0_token_right_margin)}:host([overflows]){display:none}:host(:not([readonly]):hover){background:var(--sapButton_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_hover_border_color)}:host([selected]:not([readonly])){color:var(--sapButton_Selected_TextColor)}:host([selected]:not([readonly])){background:var(--sapButton_Selected_Background);border:var(--sapButton_BorderWidth) solid var(--sapButton_Selected_BorderColor)}:host([selected]:not([readonly])) .ui5-token--wrapper{border-bottom:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom);border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_token_selected_internal_border_bottom_radius)}:host([selected]:not([readonly]):hover){background:var(--sapButton_Selected_Hover_Background);border-color:var(--_ui5-v1-22-1-rc-0_token_selected_hover_border_color)}:host([readonly]){background:var(--_ui5-v1-22-1-rc-0_token_readonly_background);border-color:var(--sapField_ReadOnly_BorderColor);color:var(--_ui5-v1-22-1-rc-0_token_readonly_color)}:host([readonly]) .ui5-token--wrapper{padding:var(--_ui5-v1-22-1-rc-0_token_readonly_padding)}:host([selected]) .ui5-token--wrapper:focus{outline:var(--_ui5-v1-22-1-rc-0_token_selected_focus_outline)}:host([selected]:not([readonly])) .ui5-token--text,:host([selected]:not([readonly])) .ui5-token--icon{top:var(--_ui5-v1-22-1-rc-0_token_text_icon_top);position:relative}:host([focused][selected]:not([readonly]):not(:hover)){background:var(--sapButton_Selected_Background);color:var(--sapButton_Selected_TextColor);border:var(--_ui5-v1-22-1-rc-0_token_focused_selected_border)}.ui5-token--wrapper{display:flex;align-items:center;height:100%;width:100%;cursor:default;padding-inline-start:var(--_ui5-v1-22-1-rc-0_token_left_padding);box-sizing:border-box;font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);user-select:none}.ui5-token--wrapper{position:relative}:host([selected]) .ui5-token--wrapper{font-family:var(--_ui5-v1-22-1-rc-0_token_selected_text_font_family)}.ui5-token--wrapper:focus{outline-offset:var(--_ui5-v1-22-1-rc-0_token_outline_offset);outline:var(--_ui5-v1-22-1-rc-0_token_focus_outline)}.ui5-token--wrapper:focus:after{content:var(--ui5-v1-22-1-rc-0_token_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:var(--_ui5-v1-22-1-rc-0_token_focus_outline_border_radius);top:var(--_ui5-v1-22-1-rc-0_token_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_token_focus_offset);left:var(--_ui5-v1-22-1-rc-0_token_focus_offset);right:var(--_ui5-v1-22-1-rc-0_token_focus_offset)}:host([focused][selected]:not([readonly])) .ui5-token--wrapper:focus:after{bottom:var(--_ui5-v1-22-1-rc-0_token_selected_focused_offset_bottom)}.ui5-token--text{white-space:nowrap}.ui5-token--icon{display:flex}:host([selected]) .ui5-token--icon>[ui5-icon],:host([selected]) ::slotted([ui5-icon]){color:var(--sapButton_Selected_TextColor)}.ui5-token--icon>[ui5-icon],::slotted([ui5-icon]){color:inherit;cursor:pointer;width:var(--_ui5-v1-22-1-rc-0_token_icon_size);height:var(--_ui5-v1-22-1-rc-0_token_icon_size);padding:var(--_ui5-v1-22-1-rc-0_token_icon_padding);color:var(--sapContent_IconColor)}:host([single-token]){max-width:100%}:host([single-token]) .ui5-token--wrapper{max-width:100%}:host([single-token]) .ui5-token--text{overflow:hidden;text-overflow:ellipsis;max-width:100%} +` }; +var In = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, qd; +let Oo = qd = class extends te { + _handleSelect() { + this.toBeDeleted || (this.selected = !this.selected, this.fireEvent("select")); + } + _focusin() { + this.focused = !0; + } + _focusout() { + this.focused = !this.focused; + } + _delete() { + this.toBeDeleted = !0, this.fireEvent("delete"); + } + _keydown(e) { + const t = Hu(e), o = $l(e); + !this.readonly && (t || o) && (e.preventDefault(), this.fireEvent("delete", { + backSpace: t, + delete: o + })), (se(e) || jf(e)) && (e.preventDefault(), this._handleSelect()); + } + onBeforeRendering() { + this.toBeDeleted = !1; + } + get tokenDeletableText() { + return qd.i18nBundle.getText(K4); + } + get iconURI() { + return ja().includes("sap_belize") ? "sys-cancel" : "decline"; + } + get textDom() { + var e; + return (e = this.getDomRef()) == null ? void 0 : e.querySelector(".ui5-token--text"); + } + get isTruncatable() { + return this.textDom ? Math.ceil(this.textDom.getBoundingClientRect().width) < Math.ceil(this.textDom.scrollWidth) : !1; + } + static async onDefine() { + qd.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +In([ + x() +], Oo.prototype, "text", void 0); +In([ + x({ type: Boolean }) +], Oo.prototype, "readonly", void 0); +In([ + x({ type: Boolean }) +], Oo.prototype, "selected", void 0); +In([ + x({ type: Boolean }) +], Oo.prototype, "overflows", void 0); +In([ + x({ type: Boolean }) +], Oo.prototype, "singleToken", void 0); +In([ + x({ type: Boolean }) +], Oo.prototype, "focused", void 0); +In([ + x({ type: Boolean }) +], Oo.prototype, "toBeDeleted", void 0); +In([ + x({ defaultValue: "-1", noAttribute: !0 }) +], Oo.prototype, "forcedTabIndex", void 0); +In([ + K() +], Oo.prototype, "closeIcon", void 0); +Oo = qd = In([ + X({ + tag: "ui5-token", + languageAware: !0, + renderer: ue, + template: cF, + styles: _F, + dependencies: [Pe] + }), + U("select"), + U("delete", { + detail: { + backSpace: { type: Boolean }, + delete: { type: Boolean } + } + }) +], Oo); +Oo.define(); +const bC = Oo; +function pF(i, e, t) { + return y`
    ${a(this.tokenizerLabel)}
    ${Y(this.tokens, (o, r) => o._id || r, (o, r) => fF.call(this, i, e, t, o, r))}
    ${this.showNMore ? vF.call(this, i, e, t) : void 0}
    `; +} +function fF(i, e, t, o, r) { + return y``; +} +function vF(i, e, t) { + return y`${a(this._nMoreText)}`; +} +function mF(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} tokenizer-popover="true" style=${G(this.styles.popover)} class=${W(this.classes.popover)} ?content-only-on-desktop="${this.noValueStatePopover}" hide-arrow placement-type="Bottom" horizontal-align="Left" @before-close=${this.handleBeforeClose} @before-open="${this.handleBeforeOpen}">${this._isPhone ? void 0 : Rm.call(this, i, e, t)}${this._isPhone ? Mm.call(this, i, e, t) : void 0}<${E("ui5-list", e, t)} class="ui5-tokenizer-list" mode="Delete" @ui5-item-delete=${a(this.itemDelete)}>${Y(this._tokens, (o, r) => o._id || r, (o, r) => zm.call(this, i, e, t, o, r))}${this._isPhone ? Hm.call(this, i, e, t) : void 0}` : y`${this._isPhone ? void 0 : Rm.call(this, i, e, t)}${this._isPhone ? Mm.call(this, i, e, t) : void 0}${Y(this._tokens, (o, r) => o._id || r, (o, r) => zm.call(this, i, e, t, o, r))}${this._isPhone ? Hm.call(this, i, e, t) : void 0}`; +} +function Rm(i, e, t) { + return y`
    ${this.noValueStatePopover ? void 0 : gF.call(this, i, e, t)}
    `; +} +function gF(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Nm.call(this, i, e, t, o, r))}
    ` : y`
    ${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Nm.call(this, i, e, t, o, r))}
    `; +} +function Nm(i, e, t, o, r) { + return y`${a(o)}`; +} +function Mm(i, e, t) { + return t ? y`
    <${E("ui5-title", e, t)} level="H5" class="ui5-responsive-popover-header-text">${a(this.morePopoverTitle)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.closeMorePopover}">
    ${this.noValueStatePopover ? void 0 : Lm.call(this, i, e, t)}` : y`
    ${a(this.morePopoverTitle)}
    ${this.noValueStatePopover ? void 0 : Lm.call(this, i, e, t)}`; +} +function Lm(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Fm.call(this, i, e, t, o, r))}
    ` : y`
    ${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Fm.call(this, i, e, t, o, r))}
    `; +} +function Fm(i, e, t, o, r) { + return y`${a(o)}`; +} +function zm(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} .tokenRef=${a(o)} wrapping-type="Normal">${a(o.text)}` : y`${a(o.text)}`; +} +function Hm(i, e, t) { + return t ? y`` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const bF = { packageName: "@ui5/webcomponents", fileName: "themes/Tokenizer.css.ts", content: `.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:1px solid black;height:2.25rem}.ui5-tokenizer-root{height:100%;display:flex;align-items:center;overflow-x:scroll;box-sizing:border-box;font-family:"72override",var(--sapFontFamily)}.ui5-tokenizer-no-padding{padding:0}.ui5-tokenizer-root.ui5-tokenizer-nmore--wrapper{overflow:hidden}.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-v1-22-1-rc-0_tokenizer_padding);height:100%;box-sizing:border-box}: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:.25rem;cursor:pointer;white-space:nowrap;font-size:var(--sapFontSize);font-weight:400;color:var(--_ui5-v1-22-1-rc-0_tokenizer_n_more_text_color)} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const yF = { packageName: "@ui5/webcomponents", fileName: "themes/TokenizerPopover.css.ts", content: `[ui5-responsive-popover]::part(header),[ui5-responsive-popover]::part(content){padding:0}#ui5-tokenizer-dialog-confirm-btn{height:100%;min-width:4rem}[ui5-responsive-popover]{margin-top:var(--_ui5-v1-22-1-rc-0_tokenizer-popover_offset);margin-inline-start:calc(-1 * var(--_ui5-v1-22-1-rc-0_tokenizer_padding))} +` }; +var ur = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Qr, Ml; +(function(i) { + i.cut = "cut", i.copy = "copy"; +})(Ml || (Ml = {})); +let qi = Qr = class extends te { + _handleResize() { + this._nMoreCount = this.overflownTokens.length; + } + constructor() { + super(), this._resizeHandler = this._handleResize.bind(this), this._itemNav = new $i(this, { + currentIndex: -1, + getItemsCallback: this._getVisibleTokens.bind(this) + }), this._scrollEnablement = new xv(this); + } + onBeforeRendering() { + this._tokensCount = this._getTokens().length, this._tokens.forEach((e) => { + e.singleToken = this._tokens.length === 1; + }), this._tokens.length || this.closeMorePopover(); + } + onEnterDOM() { + Ce.register(this.contentDom, this._resizeHandler); + } + onExitDOM() { + Ce.deregister(this.contentDom, this._resizeHandler); + } + async _openMorePopoverAndFireEvent() { + this.preventPopoverOpen || await this.openMorePopover(), this.fireEvent("show-more-items-press"); + } + async openMorePopover() { + (await this.getPopover()).showAt(this.morePopoverOpener || this); + } + _getTokens() { + return this.getSlottedNodes("tokens"); + } + get _tokens() { + return this.getSlottedNodes("tokens"); + } + _onmousedown(e) { + if (e.target.hasAttribute("ui5-token")) { + const t = e.target; + t.toBeDeleted || this._itemNav.setCurrentItem(t); + } + } + onTokenSelect() { + const e = this._getTokens(); + e.length === 1 && e[0].isTruncatable && (e[0].selected ? this.openMorePopover() : this.closeMorePopover()); + } + _getVisibleTokens() { + return this.disabled ? [] : this._tokens.filter((e, t) => t < this._tokens.length - this._nMoreCount); + } + async onAfterRendering() { + this._nMoreCount = this.overflownTokens.length, this._getTokens().length || (await this.getPopover()).close(), this._scrollEnablement.scrollContainer = this.expanded || !this.narrowContentDom ? this.expandedContentDom : this.narrowContentDom, this.expanded && (this._expandedScrollWidth = this.expandedContentDom.scrollWidth, this.scrollToEnd()), this.expanded || this.scrollToStart(); + } + _delete(e) { + const t = e.target; + if (!e.detail) { + this._tokenClickDelete(e, t), this._getTokens().length && this.closeMorePopover(); + return; + } + this._selectedTokens.length ? this._selectedTokens.forEach((o) => this.deleteToken(o, e.detail.backSpace)) : this.deleteToken(t, e.detail.backSpace); + } + _tokenClickDelete(e, t) { + const o = this._getVisibleTokens(), r = e.target, n = t ? o.indexOf(t) : o.indexOf(r), s = n === o.length - 1 ? n - 1 : n + 1, l = o[s]; + this._handleCurrentItemAfterDeletion(l), this.fireEvent("token-delete", { ref: t || r }); + } + _handleCurrentItemAfterDeletion(e) { + e && !ce() && (this._itemNav.setCurrentItem(e), setTimeout(() => { + e.focus(); + }, 0)); + } + /** + * Removes a token from the Tokenizer. + * This method should only be used by ui5-multi-combobox and ui5-multi-input + * + * @protected + * @param token Token to be focused. + * @param forwardFocusToPrevious Indicates whether the focus will be forwarded to previous or next token after deletion. + */ + deleteToken(e, t) { + const o = this._getVisibleTokens(), r = o.indexOf(e); + let n = r === o.length - 1 ? r - 1 : r + 1; + const s = o.filter((T) => !T.selected); + t ? n = r === 0 ? r + 1 : r - 1 : n = r === o.length - 1 ? r - 1 : r + 1; + let l = o[n]; + if (s.length > 1) + for (; l && l.selected; ) + l = t ? o[--n] : o[++n]; + else + l = s[0]; + this._handleCurrentItemAfterDeletion(l), this.fireEvent("token-delete", { ref: e }); + } + async itemDelete(e) { + const t = e.detail.item.tokenRef; + if (this._getTokens().length === 1 && this._getTokens()[0].isTruncatable) { + const o = await this.getPopover(); + o.addEventListener("ui5-after-close", () => { + this.fireEvent("token-delete", { ref: t }); + }, { + once: !0 + }), o.close(); + } else + this.fireEvent("token-delete", { ref: t }); + } + handleBeforeClose() { + ce() && this._getTokens().forEach((e) => { + e.selected = !1; + }); + } + handleBeforeOpen() { + this.fireEvent("before-more-popover-open"); + } + _onkeydown(e) { + if (Da(e) && e.preventDefault(), se(e) || jf(e)) + return e.preventDefault(), this._handleTokenSelection(e, !1); + fp(e) && this._handleHomeShift(e), vp(e) && this._handleEndShift(e), this._handleItemNavigation(e, this._tokens); + } + _handleItemNavigation(e, t) { + const o = !!(e.metaKey || e.ctrlKey), r = e.target; + if (Cl(e) || Ds(e) || Fn(e) || Ln(e)) + return this._handleArrowCtrl(e, r, t, Ds(e) || Fn(e)); + if (pp(e) || rh(e) || sn(e) || Tr(e) || AI(e) || O2(e)) + return e.preventDefault(), this._handleArrowShift(r, t, rh(e) || O2(e) || Tr(e)); + if (qt(e) || Ii(e) || ec(e) || Ns(e)) + return e.preventDefault(), this._handleHome(t, Ii(e) || Ns(e)); + if (o && e.key.toLowerCase() === "a") + return e.preventDefault(), this._toggleTokenSelection(t); + if (Ct(e) || dt(e) || Ye(e) || Ue(e)) { + const n = this._calcNextTokenIndex(this._tokens.find((s) => s.focused), t, dt(e) || Ue(e)); + this._scrollToToken(t[n]); + } + } + _handleHome(e, t) { + if (!e || !e.length) + return -1; + const o = t ? e.length - 1 : 0; + e[o].focus(), this._itemNav.setCurrentItem(e[o]); + } + _handleHomeShift(e) { + const t = this.tokens, o = e.target, r = t.indexOf(o); + t.filter((n, s) => s <= r).forEach((n) => { + n.selected = !0; + }), t[0].focus(), this._itemNav.setCurrentItem(t[0]); + } + _handleEndShift(e) { + const t = this.tokens, o = e.target, r = t.indexOf(o); + t.filter((n, s) => s >= r).forEach((n) => { + n.selected = !0; + }), t[t.length - 1].focus(), this._itemNav.setCurrentItem(t[t.length - 1]); + } + _calcNextTokenIndex(e, t, o) { + if (!t.length) + return -1; + const r = t.indexOf(e); + let n = o ? r + 1 : r - 1; + return n >= t.length && (n = t.length - 1), n < 0 && (n = 0), n; + } + _handleArrowCtrl(e, t, o, r) { + const n = this._calcNextTokenIndex(t, o, r); + e.preventDefault(), n !== -1 && (setTimeout(() => { + o[n].focus(); + }, 0), this._scrollToToken(o[n]), this._itemNav.setCurrentItem(o[n])); + } + _handleArrowShift(e, t, o) { + const r = t.indexOf(e), n = o ? r + 1 : r - 1; + n === -1 || n === t.length || (e.selected = !0, t[n].selected = !0, setTimeout(() => { + t[n].focus(); + }, 0), this._scrollToToken(t[n]), this._itemNav.setCurrentItem(t[n])); + } + _click(e) { + this._handleTokenSelection(e); + } + _toggleTokenSelection(e) { + if (!e || !e.length) + return; + const t = e.every((o) => o.selected); + e.forEach((o) => { + o.selected = !t; + }); + } + _handleTokenSelection(e, t = !0) { + const o = e.target; + o.hasAttribute("ui5-token") && (t ? this._tokens : []).forEach((n) => { + n !== o && (n.selected = !1); + }); + } + _fillClipboard(e, t) { + const o = t.filter((n) => n.selected).map((n) => n.text).join(`\r +`), r = (n) => { + n.clipboardData && n.clipboardData.setData("text/plain", o), n.preventDefault(); + }; + document.addEventListener(e, r), document.execCommand(e), document.removeEventListener(e, r); + } + /** + * Scrolls the container of the tokens to its beginning. + * This method is used by MultiInput and MultiComboBox. + * @private + */ + scrollToStart() { + this._scrollEnablement.scrollContainer && this._scrollEnablement.scrollTo(0, 0); + } + /** + * Scrolls the container of the tokens to its end when expanded. + * This method is used by MultiInput and MultiComboBox. + * @private + */ + scrollToEnd() { + const e = this.expandedContentDom && (this.effectiveDir !== "rtl" ? this.expandedContentDom.scrollWidth : -this.expandedContentDom.scrollWidth); + this._scrollEnablement.scrollContainer && this._scrollEnablement.scrollTo(e, 0, 5, 10); + } + /** + * Scrolls token to the visible area of the container. + * Adds 4 pixels to the scroll position to ensure padding and border visibility on both ends + * @private + */ + _scrollToToken(e) { + if (!this.expandedContentDom) + return; + const t = e.getBoundingClientRect(), o = this.expandedContentDom.getBoundingClientRect(); + t.left < o.left ? this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft - (o.left - t.left + 5), 0) : t.right > o.right && this._scrollEnablement.scrollTo(this.expandedContentDom.scrollLeft + (t.right - o.right + 5), 0); + } + async closeMorePopover() { + (await this.getPopover()).close(!1, !1, !0); + } + get _nMoreText() { + if (this._nMoreCount) + return this._getVisibleTokens().length ? Qr.i18nBundle.getText(p4, this._nMoreCount) : Qr.i18nBundle.getText(i8, this._nMoreCount); + } + get showNMore() { + return !this.expanded && this.showMore && !!this.overflownTokens.length; + } + get contentDom() { + return this.shadowRoot.querySelector(".ui5-tokenizer--content"); + } + get expandedContentDom() { + return this.shadowRoot.querySelector(".ui5-tokenizer-expanded--content"); + } + get narrowContentDom() { + return this.shadowRoot.querySelector(".ui5-tokenizer-nmore--content"); + } + get tokenizerLabel() { + return Qr.i18nBundle.getText(e8); + } + get morePopoverTitle() { + return Qr.i18nBundle.getText(t8); + } + get overflownTokens() { + return this.contentDom ? (this._getTokens().forEach((e) => { + e.overflows = !1; + }), this._getTokens().filter((e) => { + const t = this.contentDom.getBoundingClientRect(), o = e.getBoundingClientRect(), r = Number(o.right.toFixed(2)), n = Number(t.right.toFixed(2)), s = Number(o.left.toFixed(2)), l = Number(t.left.toFixed(2)); + return e.overflows = !this.expanded && (s < l || r > n), e.overflows; + })) : []; + } + get noValueStatePopover() { + return this.valueState === q.None || this.valueState === q.Success; + } + get valueStateMessageText() { + return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); + } + /** + * This method is relevant for sap_horizon theme only + */ + get _valueStateMessageIcon() { + const e = { + Error: "error", + Warning: "alert", + Success: "sys-enter-2", + Information: "information" + }; + return this.valueState !== q.None ? e[this.valueState] : ""; + } + get _isPhone() { + return ce(); + } + get _selectedTokens() { + return this._getTokens().filter((e) => e.selected); + } + get classes() { + return { + wrapper: { + "ui5-tokenizer-root": !0, + "ui5-tokenizer-nmore--wrapper": this.showMore, + "ui5-tokenizer-no-padding": !this._getTokens().length + }, + content: { + "ui5-tokenizer--content": !0, + "ui5-tokenizer-expanded--content": !this.showNMore, + "ui5-tokenizer-nmore--content": this.showNMore + }, + popover: { + "ui5-popover-with-value-state-header-phone": this._isPhone && !this.noValueStatePopover, + "ui5-popover-with-value-state-header": !this._isPhone && !this.noValueStatePopover + }, + popoverValueState: { + "ui5-valuestatemessage-root": !0, + "ui5-valuestatemessage-header": !0, + "ui5-valuestatemessage--success": this.valueState === q.Success, + "ui5-valuestatemessage--error": this.valueState === q.Error, + "ui5-valuestatemessage--warning": this.valueState === q.Warning, + "ui5-valuestatemessage--information": this.valueState === q.Information + } + }; + } + get styles() { + return { + popover: { + "min-width": this.popoverMinWidth ? `${this.popoverMinWidth}px` : "" + }, + popoverValueStateMessage: { + width: this.popoverMinWidth && !ce() ? `${this.popoverMinWidth}px` : "100%", + "min-height": "2rem" + }, + popoverHeader: { + "min-height": "2rem" + }, + popoverHeaderTitle: { + "justify-content": "left" + } + }; + } + _tokensCountText() { + const e = this._getTokens().length; + return e === 0 ? Qr.i18nBundle.getText(Z4) : e === 1 ? Qr.i18nBundle.getText(Q4) : Qr.i18nBundle.getText(J4, e); + } + /** + * @protected + */ + _focusLastToken() { + if (this.tokens.length === 0) + return; + const e = this.tokens[this.tokens.length - 1]; + e.focus(), this._itemNav.setCurrentItem(e); + } + static async onDefine() { + Qr.i18nBundle = await pe("@ui5/webcomponents"); + } + async getPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); + } +}; +ur([ + x({ type: Boolean }) +], qi.prototype, "showMore", void 0); +ur([ + x({ type: Boolean }) +], qi.prototype, "disabled", void 0); +ur([ + x({ type: Boolean }) +], qi.prototype, "preventPopoverOpen", void 0); +ur([ + x({ type: Boolean }) +], qi.prototype, "expanded", void 0); +ur([ + x({ type: Object }) +], qi.prototype, "morePopoverOpener", void 0); +ur([ + x({ validator: ne }) +], qi.prototype, "popoverMinWidth", void 0); +ur([ + x({ type: q, defaultValue: q.None }) +], qi.prototype, "valueState", void 0); +ur([ + x({ validator: ne }) +], qi.prototype, "_nMoreCount", void 0); +ur([ + x({ validator: ne }) +], qi.prototype, "_tokensCount", void 0); +ur([ + K({ type: HTMLElement, default: !0, individualSlots: !0 }) +], qi.prototype, "tokens", void 0); +ur([ + K() +], qi.prototype, "valueStateMessage", void 0); +qi = Qr = ur([ + X({ + tag: "ui5-tokenizer", + languageAware: !0, + renderer: ue, + template: pF, + styles: bF, + staticAreaStyles: [ + Fr, + Ka, + Zh, + yF + ], + staticAreaTemplate: mF, + dependencies: [ + po, + fo, + ea, + dc, + Ne + ] + }), + U("token-delete", { + detail: { + ref: { type: HTMLElement } + } + }), + U("show-more-items-press", { + detail: { + ref: { type: HTMLElement } + } + }), + U("before-more-popover-open") +], qi); +qi.define(); +const yC = qi, wF = "value-help", wC = "M470 41q10 9 10 23v192q0 12-10 22t-22 10H256q-14 0-23-10-9-9-9-22V64q0-14 9-23t23-9h192q13 0 22 9zm-22 23H256v192h192V64zm-96 256h32v128q0 14-9 23t-23 9H64q-12 0-23-9-9-9-9-23V160q0-14 9-23t23-9h128v32H64v288h288V320z", CF = !1, SF = "SAP-icons-v4", TF = "@ui5/webcomponents-icons"; +J(wF, { pathData: wC, ltr: CF, collection: SF, packageName: TF }); +const IF = "value-help", CC = "M422 32q24 0 41 17t17 41v204q0 24-17 41t-41 17h-12q-11 0-18.5-7.5T384 326t7.5-18 18.5-7h12q7 0 7-7V90q0-7-7-7H218q-7 0-7 7v12q0 11-7 18.5t-18 7.5-18.5-7.5T160 102V90q0-24 17-41t41-17h204zM294 160q24 0 41 17t17 41v204q0 24-17 41t-41 17H90q-24 0-41-17t-17-41V218q0-24 17-41t41-17h204zm7 58q0-7-7-7H90q-7 0-7 7v204q0 7 7 7h204q7 0 7-7V218z", kF = !1, $F = "SAP-icons-v5", xF = "@ui5/webcomponents-icons"; +J(IF, { pathData: CC, ltr: kF, collection: $F, packageName: xF }); +Te(); +var rd = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, $1; +let Gs = $1 = class extends Ar { + constructor() { + super(), this._skipOpenSuggestions = !1, this._valueHelpIconPressed = !1; + } + valueHelpPress() { + this.closePopover(), this.fireEvent("value-help-trigger"); + } + showMorePress() { + this.expandedTokenizer = !1, this.focus(); + } + tokenDelete(e) { + const t = e.detail.ref, o = this.tokens.filter((n) => n.selected), r = this.tokens.length - 1 === 0 || this.tokens.length === o.length; + if (!this._readonly) { + if (t) { + this.fireEvent("token-delete", { token: t }), r && this.focus(); + return; + } + o.indexOf(t) === -1 && o.push(t), o.forEach((n) => { + this.fireEvent("token-delete", { token: n }); + }); + } + } + valueHelpMouseDown(e) { + const t = e.target; + this.closePopover(), this.tokenizer.closeMorePopover(), this._valueHelpIconPressed = !0, t.focus(); + } + _tokenizerFocusOut(e) { + const t = e.relatedTarget === this.tokenizer.staticAreaItem; + !this.contains(e.relatedTarget) && !t && (this.tokenizer._tokens.forEach((o) => { + o.selected = !1; + }), this.tokenizer.scrollToStart()), e.relatedTarget === this.nativeInput && this.tokenizer.closeMorePopover(); + } + valueHelpMouseUp() { + setTimeout(() => { + this._valueHelpIconPressed = !1; + }, 0); + } + innerFocusIn() { + this.expandedTokenizer = !0, this.focused = !0, this.tokenizer.scrollToEnd(), this.tokenizer._getTokens().forEach((e) => { + e.selected = !1; + }); + } + _onkeydown(e) { + super._onkeydown(e); + const t = e.target, o = qt(e) && t.selectionStart === 0, r = e.metaKey || e.ctrlKey, n = this.tokens; + if (o) + return this._skipOpenSuggestions = !0, this._focusFirstToken(e); + if (Ct(e) || Hu(e)) + return this._skipOpenSuggestions = !0, this._handleLeft(e); + this._skipOpenSuggestions = !1, zn(e) && this.valueHelpPress(), r && e.key.toLowerCase() === "i" && n.length > 0 && (e.preventDefault(), this.tokenizer.openMorePopover()); + } + _onTokenizerKeydown(e) { + const t = Ds(e), o = !!(e.metaKey || e.ctrlKey), r = this.tokens; + if (dt(e) || Ii(e) || t) { + e.preventDefault(); + const n = this.tokens.length - 1; + if (e.target === this.tokens[n] && this.tokens[n] === document.activeElement) + setTimeout(() => { + this.focus(); + }, 0); + else if (t) + return e.preventDefault(), this.tokenizer._handleArrowCtrl(e, e.target, this.tokens, !0); + } + if (o && ["c", "x"].includes(e.key.toLowerCase())) { + e.preventDefault(); + const n = e.key.toLowerCase() === "x", s = r.filter((l) => l.selected); + if (n) { + const l = this.tokenizer._fillClipboard(Ml.cut, s); + return s.forEach((T) => { + this.fireEvent("token-delete", { token: T }); + }), this.focus(), l; + } + return this.tokenizer._fillClipboard(Ml.copy, s); + } + o && e.key.toLowerCase() === "i" && r.length > 0 && (e.preventDefault(), this.tokenizer.openMorePopover()); + } + _handleLeft(e) { + const t = this.getDomRef().querySelector("input").selectionStart, o = this.tokens, r = o.length && o[o.length - 1]; + t === 0 && r && (e.preventDefault(), r.focus(), this.tokenizer._itemNav.setCurrentItem(r)); + } + _focusFirstToken(e) { + const t = this.tokens, o = t.length && t[0]; + o && (e.preventDefault(), o.focus(), this.tokenizer._itemNav.setCurrentItem(o)); + } + _onfocusout(e) { + super._onfocusout(e); + const t = e.relatedTarget, o = this.contains(t), r = this.shadowRoot.contains(t); + !o && !r && (this.expandedTokenizer = !1, this.tokenizer._itemNav._currentIndex = -1); + } + /** + * @override + */ + async _onfocusin(e) { + const t = await this.getInputDOMRef(); + e.target === t && await super._onfocusin(e); + } + lastItemDeleted() { + setTimeout(() => { + this.focus(); + }, 0); + } + onBeforeRendering() { + super.onBeforeRendering(), this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`), this.tokenizerAvailable = this.tokens && this.tokens.length > 0; + } + get iconsCount() { + return super.iconsCount + (this.showValueHelpIcon ? 1 : 0); + } + get tokenizer() { + return this.shadowRoot.querySelector("[ui5-tokenizer]"); + } + get _tokensCountText() { + if (this.tokenizer) + return this.tokenizer._tokensCountText(); + } + get _tokensCountTextId() { + return `${this._id}-hiddenText-nMore`; + } + /** + * Returns the placeholder value when there are no tokens. + * @protected + */ + get _placeholder() { + return this.tokenizer && this.tokenizer._tokens.length ? "" : this.placeholder; + } + get accInfo() { + const e = `${this._tokensCountTextId} ${this.suggestionsTextId} ${this.valueStateTextId}`.trim(); + return { + input: { + ...super.accInfo.input, + ariaRoledescription: this.ariaRoleDescription, + ariaDescribedBy: e + } + }; + } + get ariaRoleDescription() { + return $1.i18nBundle.getText(_4); + } + get morePopoverOpener() { + return this.tokens.length === 1 && this.tokens[0].isTruncatable ? this.tokens[0] : this; + } +}; +rd([ + x({ type: Boolean }) +], Gs.prototype, "showValueHelpIcon", void 0); +rd([ + x({ type: Boolean }) +], Gs.prototype, "expandedTokenizer", void 0); +rd([ + x({ type: Boolean }) +], Gs.prototype, "tokenizerAvailable", void 0); +rd([ + K() +], Gs.prototype, "tokens", void 0); +Gs = $1 = rd([ + X({ + tag: "ui5-multi-input", + renderer: ue, + template: QL, + styles: [Ar.styles, eF], + dependencies: [ + ...Ar.dependencies, + yC, + bC, + Pe + ] + }), + U("value-help-trigger"), + U("token-delete", { + detail: { + /** + * @public + */ + token: { type: HTMLElement } + } + }) +], Gs); +Gs.define(); +function AF(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-menu-rp" class="ui5-menu-rp" horizontal-align="Left" placement-type=${a(this.placementType)} vertical-align=${a(this.verticalAlign)} hide-arrow allow-target-overlap ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)}>${this.isPhone ? Vm.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? qm.call(this, i, e, t) : Xm.call(this, i, e, t)}
    ` : y`${this.isPhone ? Vm.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? qm.call(this, i, e, t) : Xm.call(this, i, e, t)}
    `; +} +function Vm(i, e, t) { + return t ? y`
    ${this.isSubMenuOpened ? Um.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    <${E("ui5-button", e, t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    ` : y`
    ${this.isSubMenuOpened ? Um.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    `; +} +function Um(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>` : y``; +} +function qm(i, e, t) { + return t ? y`<${E("ui5-list", e, t)} id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" accessible-role="menu" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Wm.call(this, i, e, t, o, r))}` : y`${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Wm.call(this, i, e, t, o, r))}`; +} +function Wm(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} .associatedItem="${a(o.item)}" class="ui5-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="menuitem" .additionalText="${a(o.item._additionalText)}" ._ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>
    ${o.item.hasDummyIcon ? jm.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? Gm.call(this, i, e, t, o, r) : Ym.call(this, i, e, t, o, r)}
    ` : y`
    ${o.item.hasDummyIcon ? jm.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? Gm.call(this, i, e, t, o, r) : Ym.call(this, i, e, t, o, r)}
    `; +} +function jm(i, e, t, o, r) { + return y`
    `; +} +function Gm(i, e, t, o, r) { + return t ? y`
    <${E("ui5-icon", e, t)} part="subicon" name="slim-arrow-right" class="ui5-menu-item-icon-end">
    ` : y`
    `; +} +function Ym(i, e, t, o, r) { + return y`${o.item._siblingsWithChildren ? EF.call(this, i, e, t, o, r) : void 0}`; +} +function EF(i, e, t, o, r) { + return y`
    `; +} +function Xm(i, e, t) { + return y`${this.busy ? BF.call(this, i, e, t) : void 0}`; +} +function BF(i, e, t) { + return t ? y`<${E("ui5-busy-indicator", e, t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const SC = { packageName: "@ui5/webcomponents", fileName: "themes/Menu.css.ts", content: `.ui5-menu-rp[ui5-responsive-popover]::part(header),.ui5-menu-rp[ui5-responsive-popover]::part(content),.ui5-menu-rp[ui5-responsive-popover]::part(footer){padding:0}.ui5-menu-rp[ui5-responsive-popover]{box-shadow:var(--sapContent_Shadow1);border-radius:var(--_ui5-v1-22-1-rc-0_menu_popover_border_radius);max-width:20rem}.ui5-menu-item-icon-end{display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;position:absolute;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item-no-icon-end{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-start:.5rem;pointer-events:none;inset-inline-end:var(--_ui5-v1-22-1-rc-0_menu_item_submenu_icon_right)}.ui5-menu-item[additional-text] .ui5-menu-item-no-icon-end{display:none}.ui5-menu-item-dummy-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;padding-inline-end:.5rem;pointer-events:none}.ui5-menu-item-submenu-icon{min-width:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);min-height:var(--_ui5-v1-22-1-rc-0_list_item_icon_size);display:inline-block;vertical-align:middle;pointer-events:none}.ui5-menu-busy-indicator{width:100%}.ui5-menu-dialog-header{display:flex;height:var(--_ui5-v1-22-1-rc-0-responsive_popover_header_height);align-items:center;justify-content:space-between;padding:0px 1rem;width:100%;overflow:hidden}.ui5-menu-dialog-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;width:calc(100% - 6.5rem);padding-right:1rem}.ui5-menu-dialog-title>div{display:inline-block;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-menu-back-button{margin-right:1rem}.ui5-menu-item::part(title){font-size:var(--sapFontSize);padding-top:.125rem}.ui5-menu-item[icon]:not([is-phone])::part(title),.ui5-menu-item[is-phone]:not([icon=""])::part(title){padding-top:0}.ui5-menu-item:not([is-phone])::part(native-li){padding:var(--_ui5-v1-22-1-rc-0_menu_item_padding)}.ui5-menu-item[starts-section]{border-top:1px solid var(--sapGroup_ContentBorderColor)}.ui5-menu-item[active] .ui5-menu-item-icon-end{color:var(--sapList_Active_TextColor)}.ui5-menu-item[focused]:not([active]){background-color:var(--sapList_Hover_Background)}.ui5-menu-rp[sub-menu]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_margin_offset)}.ui5-menu-rp[sub-menu][actual-placement-type=Left]{margin-top:.25rem;margin-inline:var(--_ui5-v1-22-1-rc-0_menu_submenu_placement_type_left_margin_offset)}.ui5-menu-item::part(additional-text){margin-inline-start:var(--_ui5-v1-22-1-rc-0_menu_item_additional_text_start_margin);color:var(--sapContent_LabelColor);min-width:max-content}.ui5-menu-item-text{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none}.ui5-menu-item-text:has(.ui5-menu-item-submenu-icon){padding-inline-end:1rem} +` }; +var vo = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Mc; +const DF = 300, PF = 400; +let mi = Mc = class extends te { + static async onDefine() { + Mc.i18nBundle = await pe("@ui5/webcomponents"); + } + get itemsWithChildren() { + return !!this._currentItems.filter((e) => e.item.items.length).length; + } + get itemsWithIcon() { + return !!this._currentItems.filter((e) => e.item.icon !== "").length; + } + get isRtl() { + return this.effectiveDir === "rtl"; + } + get placementType() { + const e = this.isRtl ? "Left" : "Right"; + return this._isSubMenu ? e : "Bottom"; + } + get verticalAlign() { + return this._isSubMenu ? "Top" : "Bottom"; + } + get labelBack() { + return Mc.i18nBundle.getText(f8); + } + get labelClose() { + return Mc.i18nBundle.getText(v8); + } + get isPhone() { + return ce(); + } + get isSubMenuOpened() { + return !!this._parentMenuItem; + } + get menuHeaderTextPhone() { + return this._parentMenuItem ? this._parentMenuItem.text : this.headerText; + } + onBeforeRendering() { + !ce() && this._prepareCurrentItems(this.items); + const e = this.itemsWithChildren, t = this.itemsWithIcon; + this._currentItems.forEach((o) => { + o.item._siblingsWithChildren = e, o.item._siblingsWithIcon = t; + const r = o.item._subMenu, n = o.item; + if (r && r.busy) { + r.innerHTML = ""; + const s = this._clonedItemsFragment(n); + r.appendChild(s); + } + r && (r.busy = o.item.busy, r.busyDelay = o.item.busyDelay); + }); + } + onAfterRendering() { + if (this.opener) + if (this.open) { + const e = this.getOpener(); + e && this.showAt(e); + } else + this.close(); + } + /** + * Shows the Menu near the opener element. + * + * @param opener the element that the popover is shown at + * @public + */ + async showAt(e) { + ce() && (this._prepareCurrentItems(this.items), this._parentItemsStack = []), this._isSubMenu || (this._parentMenuItem = void 0); + const t = await this._createPopover(); + t.initialFocus = ""; + for (let o = 0; o < this._currentItems.length; o++) + if (!this._currentItems[o].item.disabled) { + t.initialFocus = `${this._id}-menu-item-${o}`; + break; + } + t.showAt(e); + } + /** + * Closes the Menu. + * + * @public + */ + close() { + this._popover && (ce() && (this._parentItemsStack = []), this._popover.close(), this._popover.resetFocus()); + } + async _createPopover() { + const e = await this.getStaticAreaItemDomRef(); + return this._popover = e.querySelector("[ui5-responsive-popover]"), this._popover; + } + getOpener() { + var t; + const e = this.getRootNode(); + return this.opener instanceof HTMLElement ? this.opener : (t = e == null ? void 0 : e.getElementById) == null ? void 0 : t.call(e, this.opener); + } + _navigateBack() { + const e = this._parentItemsStack.pop(); + if (this.focus(), e) { + const t = e.parentElement; + this._prepareCurrentItems(t.items), this._parentMenuItem = this._parentItemsStack.length ? this._parentItemsStack[this._parentItemsStack.length - 1] : void 0; + } + } + _prepareCurrentItems(e) { + this._currentItems = e.map((t, o) => ({ + item: t, + position: o + 1, + ariaHasPopup: t.hasSubmenu ? "menu" : void 0 + })); + } + _createSubMenu(e, t) { + const o = this.constructor, r = document.createElement(o.getMetadata().getTag()); + r._isSubMenu = !0, r.setAttribute("id", `submenu-${t}`), r._parentMenuItem = e, r.busy = e.busy, r.busyDelay = e.busyDelay; + const n = this._clonedItemsFragment(e); + r.appendChild(n), this.staticAreaItem.shadowRoot.querySelector(".ui5-menu-submenus").appendChild(r), e._subMenu = r; + } + _clonedItemsFragment(e) { + const t = document.createDocumentFragment(); + for (let o = 0; o < e.items.length; ++o) { + const r = e.items[o].cloneNode(!0); + t.appendChild(r); + } + return t; + } + _openItemSubMenu(e, t, o) { + this._findMainMenu(e).fireEvent("before-open", { + item: e + }, !1, !1), e._subMenu.showAt(t), e._preventSubMenuClose = !0, this._openedSubMenuItem = e, this._subMenuOpenerId = o; + } + _closeItemSubMenu(e, t = !1) { + e && (t ? (e._preventSubMenuClose = !1, this._closeSubMenuPopover(e._subMenu, !0)) : setTimeout(() => this._closeSubMenuPopover(e._subMenu), 0)); + } + _closeSubMenuPopover(e, t = !1) { + if (e) { + const o = e._parentMenuItem; + (t || !o._preventSubMenuClose) && (e.close(), e.remove(), o._subMenu = void 0, this._openedSubMenuItem = void 0, this._subMenuOpenerId = ""); + } + } + _prepareSubMenuDesktopTablet(e, t, o) { + (o !== this._subMenuOpenerId || e && e.hasSubmenu) && this._closeItemSubMenu(this._openedSubMenuItem, !0), e && e.hasSubmenu && (this._createSubMenu(e, o), this._openItemSubMenu(e, t, o)), this._parentMenuItem && (this._parentMenuItem._preventSubMenuClose = !0); + } + _prepareSubMenuPhone(e) { + this._prepareCurrentItems(e.items), this._parentMenuItem = e, this._parentItemsStack.push(e); + } + _startOpenTimeout(e, t, o) { + this._clearTimeout(), this._timeout = setTimeout(() => { + this._prepareSubMenuDesktopTablet(e, t, o); + }, DF); + } + _startCloseTimeout(e) { + this._clearTimeout(), this._timeout = setTimeout(() => { + this._closeItemSubMenu(e); + }, PF); + } + _clearTimeout() { + this._timeout && clearTimeout(this._timeout); + } + _itemMouseOver(e) { + if (Zo()) { + const t = e.target, o = t.associatedItem, r = t.getAttribute("id"); + t.focus(), this._clearTimeout(), this._startOpenTimeout(o, t, r); + } + } + _busyMouseOver() { + this._parentMenuItem && (this._parentMenuItem._preventSubMenuClose = !0); + } + _itemMouseOut(e) { + if (Zo()) { + const o = e.target.associatedItem; + this._clearTimeout(), o && o.hasSubmenu && o._subMenu && (o._preventSubMenuClose = !1, this._startCloseTimeout(o)); + } + } + _itemKeyDown(e) { + const t = this.isRtl ? dt(e) : Ct(e), o = this.isRtl ? Ct(e) : dt(e); + if (Se(e) && e.preventDefault(), o) { + const r = e.target, n = r.associatedItem, s = r.getAttribute("id"); + n.hasSubmenu && this._prepareSubMenuDesktopTablet(n, r, s); + } else + t && this._isSubMenu && this._parentMenuItem && this._parentMenuItem.parentElement._closeItemSubMenu(this._parentMenuItem, !0); + } + _itemClick(e) { + const t = e.detail.item, o = t.associatedItem, r = t.getAttribute("id"); + if (o.hasSubmenu) + ce() ? this._prepareSubMenuPhone(o) : Zl() && this._prepareSubMenuDesktopTablet(o, t, r); + else if (!this._isSubMenu) + ce() && (this._parentMenuItem = void 0), !this.fireEvent("item-click", { + item: o, + text: o.text + }, !0, !1) || this._popover.close(); + else { + const n = this._findMainMenu(o); + if (!!n.fireEvent("item-click", { + item: o, + text: o.text + }, !0, !1)) { + let l = o, T = l.parentElement; + do + l._preventSubMenuClose = !1, this._closeItemSubMenu(l), T = l.parentElement, l = T._parentMenuItem; + while (T._parentMenuItem); + n._popover.close(); + } + } + } + _findMainMenu(e) { + let t = e.parentElement; + for (; t._parentMenuItem; ) + t = t._parentMenuItem.parentElement; + return t; + } + _beforePopoverOpen(e) { + !this.fireEvent("before-open", {}, !0, !1) && (this.open = !1, e.preventDefault()); + } + _afterPopoverOpen() { + this.open = !0, this.fireEvent("after-open", {}, !1, !1); + } + _beforePopoverClose(e) { + if (!this.fireEvent("before-close", { escPressed: e.detail.escPressed }, !0, !1)) { + this.open = !0, e.preventDefault(); + return; + } + this._openedSubMenuItem && (this._openedSubMenuItem._preventSubMenuClose = !1, this._closeItemSubMenu(this._openedSubMenuItem)); + } + _afterPopoverClose() { + this.open = !1, this.fireEvent("after-close", {}, !1, !1); + } +}; +vo([ + x() +], mi.prototype, "headerText", void 0); +vo([ + x({ type: Boolean }) +], mi.prototype, "open", void 0); +vo([ + x({ type: Boolean }) +], mi.prototype, "busy", void 0); +vo([ + x({ validator: ne, defaultValue: 1e3 }) +], mi.prototype, "busyDelay", void 0); +vo([ + x({ validator: Wh, defaultValue: "" }) +], mi.prototype, "opener", void 0); +vo([ + x({ type: Boolean, noAttribute: !0 }) +], mi.prototype, "_isSubMenu", void 0); +vo([ + x() +], mi.prototype, "_subMenuOpenerId", void 0); +vo([ + x({ type: Object, multiple: !0 }) +], mi.prototype, "_currentItems", void 0); +vo([ + x({ type: Object, multiple: !0 }) +], mi.prototype, "_parentItemsStack", void 0); +vo([ + x({ type: Object, defaultValue: void 0 }) +], mi.prototype, "_popover", void 0); +vo([ + x({ type: Object, defaultValue: void 0 }) +], mi.prototype, "_parentMenuItem", void 0); +vo([ + x({ type: Object, defaultValue: void 0 }) +], mi.prototype, "_openedSubMenuItem", void 0); +vo([ + K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) +], mi.prototype, "items", void 0); +mi = Mc = vo([ + X({ + tag: "ui5-menu", + renderer: ue, + staticAreaStyles: SC, + staticAreaTemplate: AF, + dependencies: [ + po, + Ne, + fo, + ea, + Pe, + el + ] + }), + U("item-click", { + detail: { + /** + * @public + */ + item: { + type: HTMLElement + }, + /** + * @public + */ + text: { + type: String + } + } + }), + U("before-open", { + detail: { + /** + * @public + */ + item: { + type: HTMLElement + } + } + }), + U("after-open"), + U("before-close", { + detail: { + /** + * @public + */ + escPressed: { + type: Boolean + } + } + }), + U("after-close") +], mi); +mi.define(); +const OF = mi; +var mo = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let gi = class extends te { + get hasSubmenu() { + return !!(this.items.length || this.busy); + } + get hasDummyIcon() { + return this._siblingsWithIcon && !this.icon; + } + get subMenuOpened() { + return !!this._subMenu; + } + get _additionalText() { + return this.hasSubmenu ? "" : this.additionalText; + } + get ariaLabelledByText() { + return `${this.text} ${this.accessibleName}`.trim(); + } +}; +mo([ + x() +], gi.prototype, "text", void 0); +mo([ + x() +], gi.prototype, "additionalText", void 0); +mo([ + x() +], gi.prototype, "icon", void 0); +mo([ + x({ type: Boolean }) +], gi.prototype, "startsSection", void 0); +mo([ + x({ type: Boolean }) +], gi.prototype, "disabled", void 0); +mo([ + x({ type: Boolean }) +], gi.prototype, "busy", void 0); +mo([ + x({ validator: ne, defaultValue: 1e3 }) +], gi.prototype, "busyDelay", void 0); +mo([ + x() +], gi.prototype, "accessibleName", void 0); +mo([ + x({ type: Boolean, noAttribute: !0 }) +], gi.prototype, "_siblingsWithChildren", void 0); +mo([ + x({ type: Boolean, noAttribute: !0 }) +], gi.prototype, "_siblingsWithIcon", void 0); +mo([ + x({ type: Boolean, noAttribute: !0 }) +], gi.prototype, "_preventSubMenuClose", void 0); +mo([ + x({ type: Object, defaultValue: void 0 }) +], gi.prototype, "_subMenu", void 0); +mo([ + K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) +], gi.prototype, "items", void 0); +gi = mo([ + X("ui5-menu-item") +], gi); +gi.define(); +const RF = gi; +function NF(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-navigation-menu-rp" class="ui5-menu-rp ui5-navigation-menu" vertical-align="Center" ?sub-menu=${this._isSubMenu} @ui5-before-open=${a(this._beforePopoverOpen)} @ui5-after-open=${a(this._afterPopoverOpen)} @ui5-before-close=${a(this._beforePopoverClose)} @ui5-after-close=${a(this._afterPopoverClose)} accessible-name-ref="${a(this._id)}-navigationMenuPopoverText">${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone ? Km.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? Qm.call(this, i, e, t) : ag.call(this, i, e, t)}
    ` : y`${a(this.accSideNavigationPopoverHiddenText)}${this.isPhone ? Km.call(this, i, e, t) : void 0}
    ${this._currentItems.length ? Qm.call(this, i, e, t) : ag.call(this, i, e, t)}
    `; +} +function Km(i, e, t) { + return t ? y`
    ${this.isSubMenuOpened ? Zm.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    <${E("ui5-button", e, t)} icon="decline" design="Transparent" aria-label="${a(this.labelClose)}" @click=${this.close}>
    ` : y`
    ${this.isSubMenuOpened ? Zm.call(this, i, e, t) : void 0}
    ${a(this.menuHeaderTextPhone)}
    `; +} +function Zm(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} icon="nav-back" class="ui5-menu-back-button" design="Transparent" aria-label="${a(this.labelBack)}" @click=${this._navigateBack}>` : y``; +} +function Qm(i, e, t) { + return t ? y`<${E("ui5-list", e, t)} accessible-role="tree" id="${a(this._id)}-menu-list" mode="None" ?busy="${this.busy}" busy-delay="${a(this.busyDelay)}" separators="None" @ui5-item-click=${a(this._itemClick)} @mouseover="${this._busyMouseOver}">${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Jm.call(this, i, e, t, o, r))}` : y`${Y(this._currentItems, (o, r) => o._id || r, (o, r) => Jm.call(this, i, e, t, o, r))}`; +} +function Jm(i, e, t, o, r) { + return y`${o.item.href ? MF.call(this, i, e, t, o, r) : FF.call(this, i, e, t, o, r)}`; +} +function MF(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} .associatedItem="${a(o.item)}" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="none" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown} class="ui5-menu-item ui5-navigation-menu-item">${o.item.hasDummyIcon ? eg.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? tg.call(this, i, e, t, o, r) : ig.call(this, i, e, t, o, r)}` : y`${o.item.hasDummyIcon ? eg.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? tg.call(this, i, e, t, o, r) : ig.call(this, i, e, t, o, r)}`; +} +function eg(i, e, t, o, r) { + return y`
    `; +} +function tg(i, e, t, o, r) { + return t ? y`<${E("ui5-icon", e, t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">` : y``; +} +function ig(i, e, t, o, r) { + return y`${o.item._siblingsWithChildren ? LF.call(this, i, e, t, o, r) : void 0}`; +} +function LF(i, e, t, o, r) { + return y`
    `; +} +function FF(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} .associatedItem="${a(o.item)}" class="ui5-menu-item ui5-navigation-menu-item" id="${a(this._id)}-menu-item-${r}" .icon="${a(o.item.icon)}" accessible-name=${a(o.item.ariaLabelledByText)} accessible-role="treeitem" .additionalText="${a(o.item._additionalText)}" .ariaHasPopup=${a(o.ariaHasPopup)} ?disabled=${o.item.disabled} ?starts-section=${o.item.startsSection} ?selected=${o.item.subMenuOpened} ?is-phone=${this.isPhone} @mouseover=${this._itemMouseOver} @mouseout=${this._itemMouseOut} @keydown=${this._itemKeyDown}>${o.item.hasDummyIcon ? og.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? rg.call(this, i, e, t, o, r) : ng.call(this, i, e, t, o, r)}` : y`${o.item.hasDummyIcon ? og.call(this, i, e, t, o, r) : void 0}${a(o.item.text)}${o.item.hasSubmenu ? rg.call(this, i, e, t, o, r) : ng.call(this, i, e, t, o, r)}`; +} +function og(i, e, t, o, r) { + return y`
    `; +} +function rg(i, e, t, o, r) { + return t ? y`<${E("ui5-icon", e, t)} part="icon" name="slim-arrow-right" class="ui5-menu-item-icon-end">` : y``; +} +function ng(i, e, t, o, r) { + return y`${o.item._siblingsWithChildren ? zF.call(this, i, e, t, o, r) : void 0}`; +} +function zF(i, e, t, o, r) { + return y`
    `; +} +function ag(i, e, t) { + return y`${this.busy ? HF.call(this, i, e, t) : void 0}`; +} +function HF(i, e, t) { + return t ? y`<${E("ui5-busy-indicator", e, t)} id="${a(this._id)}-menu-busy-indicator" delay="${a(this.busyDelay)}" class="ui5-menu-busy-indicator" @mouseover="${this._busyMouseOver}" active>` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const VF = { packageName: "@ui5/webcomponents", fileName: "themes/NavigationMenu.css.ts", content: `.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-navigation-menu .ui5-navigation-menu-main{padding:var(--_ui5-v1-22-1-rc-0_side_navigation_parent_popup_padding)}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li){padding-left:.5rem;width:auto}.ui5-navigation-menu .ui5-menu-item.ui5-navigation-menu-item::part(native-li):after{border-radius:.375rem;inset:0}.ui5-navigation-menu .ui5-navigation-menu-item{display:flex;align-items:center;width:100%;box-sizing:border-box;position:relative;height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);min-height:var(--_ui5-v1-22-1-rc-0_side_navigation_item_height);border-radius:.375rem;transition:var(--_ui5-v1-22-1-rc-0_side_navigation_item_transition);color:var(--sapList_TextColor);font-weight:700;font-size:var(--sapFontSize);border-bottom:none}.ui5-navigation-menu .ui5-navigation-menu-item a{display:flex;align-items:center;text-decoration:none;color:var(--sapList_TextColor)}.ui5-navigation-menu[sub-menu] .ui5-navigation-menu-item{font-weight:400}.ui5-menu-rp.ui5-navigation-menu{box-shadow:var(--_ui5-v1-22-1-rc-0_side_navigation_popup_box_shadow);width:auto;min-width:10rem;height:auto;background:var(--sapGroup_ContentBackground);border:none;border-radius:.75rem}.ui5-navigation-menu .ui5-navigation-menu-item .ui5-menu-item-icon-end{position:relative;inset-inline-end:auto;width:.75rem;height:.75rem;color:var(--sapList_TextColor)}.ui5-navigation-menu .ui5-navigation-menu-item::part(icon){color:var(--sapList_TextColor);min-width:1rem;min-height:1rem}.ui5-navigation-menu .ui5-menu-item[focused]:not([active]){background:none} +` }; +var TC = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, x1; +let Su = x1 = class extends OF { + _itemMouseOver(e) { + if (Zo()) { + const t = e.target; + let o = t.associatedItem; + const r = t.getAttribute("id"); + if (!o) { + const n = t.parentElement; + t.parentElement && (o = n.associatedItem); + } + this._clearTimeout(), this._startOpenTimeout(o, t, r); + } + } + _clonedItemsFragment(e) { + const t = document.createDocumentFragment(); + for (let o = 0; o < e.items.length; ++o) { + const r = e.items[o], n = e.items[o].cloneNode(!0); + r.associatedItem && (n.associatedItem = r.associatedItem), t.appendChild(n); + } + return t; + } + _itemClick(e) { + const t = e.detail.item, o = t.associatedItem, r = t.getAttribute("id"), n = this._findMainMenu(o); + if (!!n.fireEvent("item-click", { + item: o, + text: o.text + }, !0, !1)) { + let l = o, T = l.parentElement; + do + l._preventSubMenuClose = !1, this._closeItemSubMenu(l), T = l.parentElement, l = T._parentMenuItem; + while (T._parentMenuItem); + n._popover.close(); + } + ce() ? this._prepareSubMenuPhone(o) : Zl() && this._prepareSubMenuDesktopTablet(o, t, r); + } + get accSideNavigationPopoverHiddenText() { + return x1.i18nBundle.getText(m8); + } +}; +TC([ + K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) +], Su.prototype, "items", void 0); +Su = x1 = TC([ + X({ + tag: "ui5-navigation-menu", + renderer: ue, + staticAreaStyles: [SC, VF], + staticAreaTemplate: NF + }) +], Su); +Su.define(); +const UF = Su; +var Nv = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Tu = class extends RF { +}; +Nv([ + x() +], Tu.prototype, "href", void 0); +Nv([ + x() +], Tu.prototype, "target", void 0); +Tu = Nv([ + X("ui5-navigation-menu-item") +], Tu); +Tu.define(); +const IC = (i) => { + let e, t, o, r, n, s, l, T, w, S, b, v; + const g = kv({ + beforeStart: () => { + i.style.display = "block", e = getComputedStyle(i), t = parseFloat(e.paddingTop), o = parseFloat(e.paddingBottom), r = parseFloat(e.marginTop), n = parseFloat(e.marginBottom), s = parseFloat(e.height), l = i.style.overflow, T = i.style.paddingTop, w = i.style.paddingBottom, S = i.style.marginTop, b = i.style.marginBottom, v = i.style.height, i.style.overflow = "hidden", i.style.paddingTop = "0", i.style.paddingBottom = "0", i.style.marginTop = "0", i.style.marginBottom = "0", i.style.height = "0"; + }, + duration: $v, + element: i, + advance: (p) => { + i.style.display = "block", i.style.paddingTop = `${t * p}px`, i.style.paddingBottom = `${o * p}px`, i.style.marginTop = `${r * p}px`, i.style.marginBottom = `${n * p}px`, i.style.height = `${s * p}px`; + } + }); + return g.promise().then(() => { + i.style.overflow = l, i.style.paddingTop = T, i.style.paddingBottom = w, i.style.marginTop = S, i.style.marginBottom = b, i.style.height = v; + }), g; +}, kC = (i) => { + let e, t, o, r, n, s, l, T, w, S, b, v; + const g = kv({ + beforeStart: () => { + const p = i; + e = getComputedStyle(p), t = parseFloat(e.paddingTop), o = parseFloat(e.paddingBottom), r = parseFloat(e.marginTop), n = parseFloat(e.marginBottom), s = parseFloat(e.height), l = p.style.overflow, T = p.style.paddingTop, w = p.style.paddingBottom, S = p.style.marginTop, b = p.style.marginBottom, v = p.style.height, p.style.overflow = "hidden"; + }, + duration: $v, + element: i, + advance: (p) => { + i.style.paddingTop = `${t - t * p}px`, i.style.paddingBottom = `${o - o * p}px`, i.style.marginTop = `${r - r * p}px`, i.style.marginBottom = `${n - n * p}px`, i.style.height = `${s - s * p}px`; + } + }); + return g.promise().then((p) => { + p instanceof Error || (i.style.overflow = l, i.style.paddingTop = T, i.style.paddingBottom = w, i.style.marginTop = S, i.style.marginBottom = b, i.style.height = v, i.style.display = "none"); + }), g; +}; +var A1; +(function(i) { + i.Complementary = "Complementary", i.Form = "Form", i.Region = "Region"; +})(A1 || (A1 = {})); +const sg = A1; +function qF(i, e, t) { + return y`
    ${this.hasHeaderOrHeaderText ? WF.call(this, i, e, t) : void 0}
    `; +} +function WF(i, e, t) { + return y`
    ${this.fixed ? void 0 : jF.call(this, i, e, t)}${this._hasHeader ? XF.call(this, i, e, t) : KF.call(this, i, e, t)}
    `; +} +function jF(i, e, t) { + return y`
    ${this._hasHeader ? GF.call(this, i, e, t) : YF.call(this, i, e, t)}
    `; +} +function GF(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} design="Transparent" class="ui5-panel-header-button ui5-panel-header-button-with-icon" @click="${this._toggleButtonClick}" .accessibilityAttributes=${a(this.accInfo.button.accessibilityAttributes)} tooltip="${a(this.accInfo.button.title)}" accessible-name="${a(this.accInfo.button.ariaLabelButton)}">
    <${E("ui5-icon", e, t)} class="ui5-panel-header-icon ${W(this.classes.headerBtn)}" name="slim-arrow-right">
    ` : y`
    `; +} +function YF(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} class="ui5-panel-header-button ui5-panel-header-icon ${W(this.classes.headerBtn)}" name="slim-arrow-right" show-tooltip accessible-name="${a(this.toggleButtonTitle)}">` : y``; +} +function XF(i, e, t) { + return y``; +} +function KF(i, e, t) { + return y`
    ${a(this.headerText)}
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const ZF = { packageName: "@ui5/webcomponents", fileName: "themes/Panel.css.ts", content: `.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}:host{font-family:"72override",var(--sapFontFamily);background-color:var(--sapGroup_TitleBackground);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([collapsed])){border-bottom:var(--_ui5-v1-22-1-rc-0_panel_border_bottom)}:host([fixed]) .ui5-panel-header{padding-left:1rem}.ui5-panel-header{min-height:var(--_ui5-v1-22-1-rc-0_panel_header_height);width:100%;position:relative;display:flex;justify-content:flex-start;align-items:center;outline:none;box-sizing:border-box;padding-right:var(--_ui5-v1-22-1-rc-0_panel_header_padding_right);font-family:"72override",var(--sapFontHeaderFamily);font-size:var(--sapGroup_Title_FontSize);font-weight:400;color:var(--sapGroup_TitleTextColor)}.ui5-panel-header-icon{color:var(--_ui5-v1-22-1-rc-0_panel_icon_color)}.ui5-panel-header-button-animated{transition:transform .4s ease-out}:host(:not([_has-header]):not([fixed])) .ui5-panel-header{cursor:pointer}:host(:not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{content:"";position:absolute;pointer-events:none;z-index:2;border:var(--_ui5-v1-22-1-rc-0_panel_focus_border);border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);top:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);left:var(--_ui5-v1-22-1-rc-0_panel_focus_offset);right:var(--_ui5-v1-22-1-rc-0_panel_focus_offset)}:host(:not([collapsed]):not([_has-header]):not([fixed])) .ui5-panel-header:focus:after{border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius_expanded)}:host(:not([collapsed])) .ui5-panel-header-button:not(.ui5-panel-header-button-with-icon),:host(:not([collapsed])) .ui5-panel-header-icon-wrapper [ui5-icon]{transform:var(--_ui5-v1-22-1-rc-0_panel_toggle_btn_rotation)}:host([fixed]) .ui5-panel-header-title{width:100%}.ui5-panel-heading-wrapper.ui5-panel-heading-wrapper-sticky{position:sticky;top:0;background-color:var(--_ui5-v1-22-1-rc-0_panel_header_background_color);z-index:100;border-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}.ui5-panel-header-title{width:calc(100% - var(--_ui5-v1-22-1-rc-0_panel_button_root_width));overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui5-panel-content{padding:var(--_ui5-v1-22-1-rc-0_panel_content_padding);background-color:var(--sapGroup_ContentBackground);outline:none;border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);overflow:auto}.ui5-panel-header-button-root{display:flex;justify-content:center;align-items:center;flex-shrink:0;width:var(--_ui5-v1-22-1-rc-0_panel_button_root_width);height:var(--_ui5-v1-22-1-rc-0_panel_button_root_height);padding:var(--_ui5-v1-22-1-rc-0_panel_header_button_wrapper_padding);box-sizing:border-box}:host([fixed]:not([collapsed]):not([_has-header])) .ui5-panel-header,:host([collapsed]) .ui5-panel-header{border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor)}:host([collapsed]) .ui5-panel-header{border-bottom-left-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius);border-bottom-right-radius:var(--_ui5-v1-22-1-rc-0_panel_border_radius)}:host(:not([fixed]):not([collapsed])) .ui5-panel-header{border-bottom:var(--_ui5-v1-22-1-rc-0_panel_default_header_border)}[ui5-button].ui5-panel-header-button{display:flex;justify-content:center;align-items:center;min-width:initial;height:100%;width:100%}.ui5-panel-header-icon-wrapper{display:flex;justify-content:center;align-items:center}.ui5-panel-header-icon-wrapper,.ui5-panel-header-icon-wrapper .ui5-panel-header-icon{color:inherit}.ui5-panel-header-icon-wrapper,[ui5-button].ui5-panel-header-button-with-icon [ui5-icon]{pointer-events:none}.ui5-panel-root{height:100%;display:flex;flex-direction:column} +` }; +var go = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Wd; +let xi = Wd = class extends te { + onBeforeRendering() { + this._animationRunning || (this._contentExpanded = !this.collapsed), this._hasHeader = !!this.header.length; + } + shouldToggle(e) { + return this.header.length ? e.classList.contains("ui5-panel-header-button") : !0; + } + shouldNotAnimate() { + return this.noAnimation || Oa() === Vn.None; + } + _headerClick(e) { + this.shouldToggle(e.target) && this._toggleOpen(); + } + _toggleButtonClick(e) { + e.x === 0 && e.y === 0 && e.stopImmediatePropagation(); + } + _headerKeyDown(e) { + this.shouldToggle(e.target) && (Se(e) && e.preventDefault(), se(e) && e.preventDefault()); + } + _headerKeyUp(e) { + this.shouldToggle(e.target) && (Se(e) && this._toggleOpen(), se(e) && this._toggleOpen()); + } + _toggleOpen() { + if (this.fixed) + return; + if (this.collapsed = !this.collapsed, this.shouldNotAnimate()) { + this.fireEvent("toggle"); + return; + } + this._animationRunning = !0; + const e = this.getDomRef().querySelectorAll(".ui5-panel-content"), t = []; + [].forEach.call(e, (o) => { + this.collapsed ? t.push(kC(o).promise()) : t.push(IC(o).promise()); + }), Promise.all(t).then(() => { + this._animationRunning = !1, this._contentExpanded = !this.collapsed, this.fireEvent("toggle"); + }); + } + _headerOnTarget(e) { + return e.classList.contains("sapMPanelWrappingDiv"); + } + get classes() { + return { + headerBtn: { + "ui5-panel-header-button-animated": !this.shouldNotAnimate() + }, + stickyHeaderClass: { + "ui5-panel-heading-wrapper-sticky": this.stickyHeader + } + }; + } + get toggleButtonTitle() { + return Wd.i18nBundle.getText(f4); + } + get expanded() { + return !this.collapsed; + } + get accRole() { + return this.accessibleRole.toLowerCase(); + } + get effectiveAccessibleName() { + return typeof this.accessibleName == "string" && this.accessibleName.length ? this.accessibleName : void 0; + } + get accInfo() { + return { + button: { + accessibilityAttributes: { + expanded: this.expanded + }, + title: this.toggleButtonTitle, + ariaLabelButton: !this.nonFocusableButton && this.useAccessibleNameForToggleButton ? this.effectiveAccessibleName : void 0 + }, + ariaExpanded: this.nonFixedInternalHeader ? this.expanded : void 0, + ariaControls: this.nonFixedInternalHeader ? `${this._id}-content` : void 0, + ariaLabelledby: this.nonFocusableButton ? this.ariaLabelledbyReference : void 0, + role: this.nonFixedInternalHeader ? "button" : void 0 + }; + } + get ariaLabelledbyReference() { + return this.nonFocusableButton && this.headerText && !this.fixed ? `${this._id}-header-title` : void 0; + } + get fixedPanelAriaLabelledbyReference() { + return this.fixed && !this.effectiveAccessibleName ? `${this._id}-header-title` : void 0; + } + get headerAriaLevel() { + return this.headerLevel.slice(1); + } + get headerTabIndex() { + return this.header.length || this.fixed ? "-1" : "0"; + } + get headingWrapperAriaLevel() { + return this._hasHeader ? void 0 : this.headerAriaLevel; + } + get headingWrapperRole() { + return this._hasHeader ? void 0 : "heading"; + } + get nonFixedInternalHeader() { + return !this._hasHeader && !this.fixed; + } + get hasHeaderOrHeaderText() { + return this._hasHeader || this.headerText; + } + get nonFocusableButton() { + return !this.header.length; + } + get styles() { + return { + content: { + display: this._contentExpanded ? "block" : "none" + } + }; + } + static async onDefine() { + Wd.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +go([ + x() +], xi.prototype, "headerText", void 0); +go([ + x({ type: Boolean }) +], xi.prototype, "fixed", void 0); +go([ + x({ type: Boolean }) +], xi.prototype, "collapsed", void 0); +go([ + x({ type: Boolean }) +], xi.prototype, "noAnimation", void 0); +go([ + x({ type: sg, defaultValue: sg.Form }) +], xi.prototype, "accessibleRole", void 0); +go([ + x({ type: Dl, defaultValue: Dl.H2 }) +], xi.prototype, "headerLevel", void 0); +go([ + x() +], xi.prototype, "accessibleName", void 0); +go([ + x({ type: Boolean }) +], xi.prototype, "stickyHeader", void 0); +go([ + x({ type: Boolean }) +], xi.prototype, "useAccessibleNameForToggleButton", void 0); +go([ + x({ type: Boolean }) +], xi.prototype, "_hasHeader", void 0); +go([ + x({ type: Boolean, noAttribute: !0 }) +], xi.prototype, "_contentExpanded", void 0); +go([ + x({ type: Boolean, noAttribute: !0 }) +], xi.prototype, "_animationRunning", void 0); +go([ + K() +], xi.prototype, "header", void 0); +xi = Wd = go([ + X({ + tag: "ui5-panel", + fastNavigation: !0, + languageAware: !0, + renderer: ue, + template: qF, + styles: ZF, + dependencies: [Ne, Pe] + }), + U("toggle") +], xi); +xi.define(); +const QF = 500, Sd = /* @__PURE__ */ new Map(), hs = /* @__PURE__ */ new Map(), JF = (i) => { + const e = i.host, t = i.propName, o = e[t]; + let r; + if (o === void 0 || o === "") + r = void 0; + else if (o instanceof HTMLElement) + r = o; + else { + const l = e.getRootNode(); + r = l.getElementById && l.getElementById(o) || void 0; + } + const n = `${e._id}-${t}`, s = Sd.get(n); + if (!r) { + if (s && (i.onDisconnect && i.onDisconnect(s), Sd.delete(n)), typeof o == "string" && o && !hs.has(n)) { + const l = setInterval(() => { + const T = e.getRootNode(); + T.getElementById && T.getElementById(o) && (clearInterval(hs.get(n)), hs.delete(n), Bf(e)); + }, QF); + hs.set(n, l); + } + return; + } + return hs.has(n) && (clearInterval(hs.get(n)), hs.delete(n)), s !== r && (s && i.onDisconnect && i.onDisconnect(s), i.onConnect && i.onConnect(r), Sd.set(n, r)), Sd.get(n); +}; +var oa = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let er = class extends te { + get stableDomRef() { + return this.getAttribute("stable-dom-ref") || `${this._id}-stable-dom-ref`; + } +}; +oa([ + x({ type: Boolean }) +], er.prototype, "selected", void 0); +oa([ + x({ type: Boolean }) +], er.prototype, "disabled", void 0); +oa([ + x() +], er.prototype, "title", void 0); +oa([ + x({ defaultValue: null }) +], er.prototype, "icon", void 0); +oa([ + x() +], er.prototype, "value", void 0); +oa([ + x() +], er.prototype, "additionalText", void 0); +oa([ + x({ type: Boolean }) +], er.prototype, "focused", void 0); +oa([ + K({ type: Node, default: !0, invalidateOnChildChange: !0 }) +], er.prototype, "text", void 0); +er = oa([ + X("ui5-option") +], er); +er.define(); +const $C = er; +function ez(i, e, t) { + return y`
    ${this.selectedOptionIcon ? tz.call(this, i, e, t) : void 0}
    ${this.hasCustomLabel ? iz.call(this, i, e, t) : oz.call(this, i, e, t)}
    ${this.readonly ? void 0 : rz.call(this, i, e, t)}${this.hasValueState ? nz.call(this, i, e, t) : void 0}
    `; +} +function tz(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} aria-hidden="true" class="ui5-select-option-icon" name="${a(this.selectedOptionIcon)}">` : y``; +} +function iz(i, e, t) { + return y``; +} +function oz(i, e, t) { + return y`${a(this._text)}`; +} +function rz(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="slim-arrow-down" input-icon ?pressed="${this._iconPressed}">` : y``; +} +function nz(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function az(i, e, t) { + return y`${this.options ? sz.call(this, i, e, t) : void 0}${this.shouldOpenValueStateMessagePopover ? _z.call(this, i, e, t) : void 0}`; +} +function sz(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} hide-arrow _disable-initial-focus placement-type="Bottom" class="ui5-select-popover ${W(this.classes.popover)}" horizontal-align="Left" @ui5-after-open="${a(this._afterOpen)}" @ui5-before-open="${a(this._beforeOpen)}" @ui5-after-close="${a(this._afterClose)}" @keydown="${this._onkeydown}" style=${G(this.styles.responsivePopover)}>${this._isPhone ? lg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : ug.call(this, i, e, t)}<${E("ui5-list", e, t)} mode="SingleSelectAuto" separators="None" @mousedown="${this._itemMousedown}" @ui5-item-click="${a(this._handleItemPress)}">${Y(this._syncedOptions, (o, r) => o._id || r, (o, r) => _g.call(this, i, e, t, o, r))}` : y`${this._isPhone ? lg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : ug.call(this, i, e, t)}${Y(this._syncedOptions, (o, r) => o._id || r, (o, r) => _g.call(this, i, e, t, o, r))}`; +} +function lg(i, e, t) { + return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._toggleRespPopover}">
    ${this.hasValueStateText ? cg.call(this, i, e, t) : void 0}
    ` : y`
    ${a(this._headerTitleText)}
    ${this.hasValueStateText ? cg.call(this, i, e, t) : void 0}
    `; +} +function cg(i, e, t) { + return y`
    ${this.shouldDisplayDefaultValueStateMessage ? lz.call(this, i, e, t) : cz.call(this, i, e, t)}
    `; +} +function lz(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function cz(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => uz.call(this, i, e, t, o, r))}`; +} +function uz(i, e, t, o, r) { + return y`${a(o)}`; +} +function ug(i, e, t) { + return y`${this.hasValueStateText ? dz.call(this, i, e, t) : void 0}`; +} +function dz(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? dg.call(this, i, e, t) : hg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? dg.call(this, i, e, t) : hg.call(this, i, e, t)}
    `; +} +function dg(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function hg(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => hz.call(this, i, e, t, o, r))}`; +} +function hz(i, e, t, o, r) { + return y`${a(o)}`; +} +function _g(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} id="${a(o.id)}-li" icon="${a(o.icon)}" ?selected="${o.selected}" ?focused="${o._focused}" title="${a(o.title)}" additional-text="${a(o.additionalText)}" ?aria-selected="${o.selected}" data-ui5-stable="${a(o.stableDomRef)}">${a(o.textContent)}` : y`${a(o.textContent)}`; +} +function _z(i, e, t) { + return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="Left">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.shouldDisplayDefaultValueStateMessage ? pg.call(this, i, e, t) : fg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? pg.call(this, i, e, t) : fg.call(this, i, e, t)}
    `; +} +function pg(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function fg(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => pz.call(this, i, e, t, o, r))}`; +} +function pz(i, e, t, o, r) { + return y`${a(o)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const fz = { packageName: "@ui5/webcomponents", fileName: "themes/Select.css.ts", content: `: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host(:not([hidden])){display:inline-block}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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-v1-22-1-rc-0_input_inner_padding_with_icon)}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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-select-root{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));width:100%;height:100%;display:flex;outline:none;cursor:pointer;overflow:hidden;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-select-label-root{flex-shrink:1;flex-grow:1;align-self:center;min-width:1rem;padding-inline-start:.5rem;cursor:pointer;outline:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:var(--_ui5-v1-22-1-rc-0_select_label_color);font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize);font-weight:400}.ui5-select-option-icon{padding-inline-start:.5rem;color:var(--sapField_TextColor);align-self:center}:host(:not([disabled])){cursor:pointer} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const vz = { packageName: "@ui5/webcomponents", fileName: "themes/SelectPopover.css.ts", content: `.ui5-select-popover::part(content),.ui5-select-popover::part(header){padding:0}.ui5-select-popover [ui5-li]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-popover [ui5-li]::part(icon){color:var(--sapList_TextColor)} +` }; +var Zt = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Zi; +let Tt = Zi = class extends te { + constructor() { + super(), this._syncedOptions = [], this._selectedIndexBeforeOpen = -1, this._escapePressed = !1, this._lastSelectedOption = null, this._typedChars = "", this._onMenuClick = this.onMenuClick.bind(this), this._onMenuClose = this.onMenuClose.bind(this), this._onMenuOpen = this.onMenuOpen.bind(this), this._onMenuBeforeOpen = this.onMenuBeforeOpen.bind(this), this._onMenuChange = this.onMenuChange.bind(this), this._attachMenuListeners = this.attachMenuListeners.bind(this), this._detachMenuListeners = this.detachMenuListeners.bind(this), this._upgradeProperty("value"); + } + onBeforeRendering() { + const e = this._getSelectMenu(); + e ? (e.value = this.value, e.selectId = this.__id) : this._syncSelection(), this._enableFormSupport(), this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`); + } + onAfterRendering() { + this.toggleValueStatePopover(this.shouldOpenValueStateMessagePopover), this._isPickerOpen && (this._listWidth || (this._listWidth = this.responsivePopover.offsetWidth)), this._attachRealDomRefs(); + } + _onfocusin() { + this.focused = !0; + } + _onfocusout() { + this.focused = !1; + } + get _isPickerOpen() { + const e = this._getSelectMenu(); + return e ? e.open : !!this.responsivePopover && this.responsivePopover.opened; + } + async _respPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); + } + /** + * Defines the value of the component: + *
    + * - when get - returns the value of the component, e.g. the value property of the selected option or its text content. + *
    + * - when set - selects the option with matching value property or text content. + *

    + * Note: If the given value does not match any existing option, + * the first option will get selected. + * + * @public + * @default "" + * @since 1.20.0 + * @formProperty + * @formEvents change liveChange + */ + set value(e) { + const t = this._getSelectMenu(); + Array.from(t ? t.children : this.children).filter((r) => !r.getAttribute("disabled")).forEach((r) => { + r.selected = (r.getAttribute("value") || r.textContent) === e; + }); + } + get value() { + var e, t; + return ((e = this.selectedOption) == null ? void 0 : e.value) || ((t = this.selectedOption) == null ? void 0 : t.textContent) || ""; + } + /** + * Currently selected ui5-option element. + * @public + * @default undefined + */ + get selectedOption() { + return this.selectOptions.find((e) => e.selected); + } + onMenuClick(e) { + const t = e.detail.optionIndex; + this._handleSelectionChange(t); + } + onMenuBeforeOpen() { + this._beforeOpen(); + } + onMenuOpen() { + this._afterOpen(); + } + onMenuClose() { + this._afterClose(); + } + onMenuChange(e) { + this._text = e.detail.text, this._selectedIndex = e.detail.selectedIndex; + } + _toggleSelectMenu() { + const e = this._getSelectMenu(); + e && (e.open ? e.close() : e.showAt(this, this.offsetWidth)); + } + onExitDOM() { + const e = this._getSelectMenu(); + e && this._detachMenuListeners(e); + } + async _toggleRespPopover() { + if (this.disabled || this.readonly) + return; + if (this._iconPressed = !0, this._getSelectMenu()) { + this._toggleSelectMenu(); + return; + } + this.responsivePopover = await this._respPopover(), this._isPickerOpen ? this.responsivePopover.close() : this.responsivePopover.showAt(this); + } + async _attachRealDomRefs() { + this.responsivePopover = await this._respPopover(), this.options.forEach((e) => { + e._getRealDomRef = () => this.responsivePopover.querySelector(`*[data-ui5-stable=${e.stableDomRef}]`); + }); + } + _syncSelection() { + let e = -1, t = -1; + const o = this._filteredItems, r = o.map((n, s) => (n.selected && (e = s), t === -1 && (t = s), n.selected = !1, n.focused = !1, { + selected: !1, + focused: !1, + icon: n.icon, + value: n.value, + textContent: n.textContent, + title: n.title, + additionalText: n.additionalText, + id: n._id, + stableDomRef: n.stableDomRef + })); + e > -1 ? (r[e].selected = !0, r[e].focused = !0, o[e].selected = !0, o[e].focused = !0, this._text = r[e].textContent, this._selectedIndex = e) : (this._text = "", this._selectedIndex = -1, r[t] && (r[t].selected = !0, r[t].focused = !0, o[t].selected = !0, o[t].focused = !0, this._selectedIndex = t, this._text = o[t].textContent)), this._syncedOptions = r; + } + _getSelectMenu() { + return JF({ + host: this, + propName: "menu", + onConnect: this._attachMenuListeners, + onDisconnect: this._detachMenuListeners + }); + } + attachMenuListeners(e) { + e.addEventListener("ui5-after-close", this._onMenuClose), e.addEventListener("ui5-after-open", this._onMenuOpen), e.addEventListener("ui5-before-open", this._onMenuBeforeOpen), e.addEventListener("ui5-option-click", this._onMenuClick), e.addEventListener("ui5-menu-change", this._onMenuChange); + } + detachMenuListeners(e) { + e.removeEventListener("ui5-after-close", this._onMenuClose), e.removeEventListener("ui5-after-open", this._onMenuOpen), e.removeEventListener("ui5-before-open", this._onMenuBeforeOpen), e.removeEventListener("ui5-option-click", this._onMenuClick), e.removeEventListener("ui5-menu-change", this._onMenuChange); + } + _enableFormSupport() { + const e = ze("FormSupport"); + e ? e.syncNativeHiddenInput(this, (t, o) => { + const r = t; + o.disabled = !!t.disabled, o.value = r.value; + }) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); + } + _onkeydown(e) { + if ((Bt(e) || Mi(e)) && this._isPickerOpen) { + const o = this._getSelectMenu(); + o ? o.close( + !1, + !1, + !0 + /* preventFocusRestore */ + ) : this.responsivePopover.close(); + } else + zn(e) ? (e.preventDefault(), this._toggleRespPopover()) : se(e) ? e.preventDefault() : Ni(e) && this._isPickerOpen ? this._escapePressed = !0 : qt(e) ? this._handleHomeKey(e) : Ii(e) ? this._handleEndKey(e) : Se(e) ? this._handleSelectionChange() : (Ye(e) || Ue(e)) && this._handleArrowNavigation(e); + } + _handleKeyboardNavigation(e) { + if (Se(e) || this.readonly) + return; + const t = e.key.toLowerCase(); + this._typedChars += t; + const o = /^(.)\1+$/i.test(this._typedChars) ? t : this._typedChars; + clearTimeout(this._typingTimeoutID), this._typingTimeoutID = setTimeout(() => { + this._typedChars = "", this._typingTimeoutID = -1; + }, 1e3), this._selectTypedItem(o); + } + _selectTypedItem(e) { + const t = this._selectedIndex, o = this._searchNextItemByText(e); + if (o) { + const r = this.selectOptions.indexOf(o); + this._changeSelectedItem(this._selectedIndex, r), t !== this._selectedIndex && this.itemSelectionAnnounce(); + } + } + _searchNextItemByText(e) { + let t = this.selectOptions.slice(0); + const o = t.splice(this._selectedIndex + 1, t.length - this._selectedIndex), r = t.splice(0, t.length - 1); + return t = o.concat(r), t.find((n) => (n.displayText || n.textContent || "").toLowerCase().startsWith(e)); + } + _handleHomeKey(e) { + e.preventDefault(), !this.readonly && this._changeSelectedItem(this._selectedIndex, 0); + } + _handleEndKey(e) { + if (e.preventDefault(), this.readonly) + return; + const t = this.selectOptions.length - 1; + this._changeSelectedItem(this._selectedIndex, t); + } + _onkeyup(e) { + se(e) && (this._isPickerOpen ? this._handleSelectionChange() : this._toggleRespPopover()); + } + _getSelectedItemIndex(e) { + return this.selectOptions.findIndex((t) => `${t._id}-li` === e.id); + } + _select(e) { + this.selectOptions[this._selectedIndex].selected = !1, this._selectedIndex !== e && this.fireEvent("live-change", { selectedOption: this.selectOptions[e] }), this._selectedIndex = e, this.selectOptions[e].selected = !0; + } + /** + * The user clicked on an item from the list + * @private + */ + _handleItemPress(e) { + const t = e.detail.item, o = this._getSelectedItemIndex(t); + this._handleSelectionChange(o); + } + _itemMousedown(e) { + e.preventDefault(); + } + _onclick() { + this.getFocusDomRef().focus(), this._toggleRespPopover(); + } + /** + * The user selected an item with Enter or Space + * @private + */ + _handleSelectionChange(e = this._selectedIndex) { + this._select(e), this._toggleRespPopover(); + } + _scrollSelectedItem() { + var e; + if (this._isPickerOpen) { + const t = (e = this._currentlySelectedOption) == null ? void 0 : e.getDomRef(); + t && t.scrollIntoView({ + behavior: "auto", + block: "nearest", + inline: "nearest" + }); + } + } + _handleArrowNavigation(e) { + if (e.preventDefault(), this.readonly) + return; + let t = -1; + const o = this._selectedIndex; + Ue(e) ? t = this._getNextOptionIndex() : t = this._getPreviousOptionIndex(), this._changeSelectedItem(this._selectedIndex, t), o !== this._selectedIndex && (this.itemSelectionAnnounce(), this._scrollSelectedItem()); + } + _changeSelectedItem(e, t) { + const o = this.selectOptions, r = o[e]; + r.selected = !1, r.focused = !1; + const n = o[t]; + n.selected = !0, n.focused = !0, this._selectedIndex = t, this.fireEvent("live-change", { selectedOption: n }), this._isPickerOpen || this._fireChangeEvent(n); + } + _getNextOptionIndex() { + const e = this._getSelectMenu(); + return e ? this._selectedIndex === e.options.length - 1 ? this._selectedIndex : this._selectedIndex + 1 : this._selectedIndex === this.options.length - 1 ? this._selectedIndex : this._selectedIndex + 1; + } + _getPreviousOptionIndex() { + return this._selectedIndex === 0 ? this._selectedIndex : this._selectedIndex - 1; + } + _beforeOpen() { + this._selectedIndexBeforeOpen = this._selectedIndex, this._lastSelectedOption = this.selectOptions[this._selectedIndex]; + } + _afterOpen() { + this.opened = !0, this.fireEvent("open"), this.itemSelectionAnnounce(), this._scrollSelectedItem(); + } + _afterClose() { + this.opened = !1, this._iconPressed = !1, this._listWidth = 0, this._escapePressed ? (this._select(this._selectedIndexBeforeOpen), this._escapePressed = !1) : this._lastSelectedOption !== this.selectOptions[this._selectedIndex] && (this._fireChangeEvent(this.selectOptions[this._selectedIndex]), this._lastSelectedOption = this.selectOptions[this._selectedIndex]), this.fireEvent("close"); + } + get selectOptions() { + const e = this._getSelectMenu(); + return e ? e.options : this._filteredItems; + } + get hasCustomLabel() { + return !!this.label.length; + } + _fireChangeEvent(e) { + const t = !this.fireEvent("change", { selectedOption: e }, !0); + this.selectedItem = e.textContent, this.fireEvent("selected-item-changed"), t && (this.selectedItem = this._lastSelectedOption.textContent, this._select(this._selectedIndexBeforeOpen)); + } + get valueStateTextMappings() { + return { + [q.Success]: Zi.i18nBundle.getText(Sn), + [q.Information]: Zi.i18nBundle.getText(Qn), + [q.Error]: Zi.i18nBundle.getText(wn), + [q.Warning]: Zi.i18nBundle.getText(Cn) + }; + } + get valueStateTypeMappings() { + return { + [q.Success]: Zi.i18nBundle.getText(nc), + [q.Information]: Zi.i18nBundle.getText(ac), + [q.Error]: Zi.i18nBundle.getText(oc), + [q.Warning]: Zi.i18nBundle.getText(rc) + }; + } + get valueStateText() { + let e; + return this.shouldDisplayDefaultValueStateMessage ? e = this.valueStateDefaultText : e = this.valueStateMessageText.map((t) => t.textContent).join(" "), `${this.valueStateTypeText} ${e}`; + } + get valueStateDefaultText() { + return this.valueState !== q.None ? this.valueStateTextMappings[this.valueState] : ""; + } + get valueStateTypeText() { + return this.valueState !== q.None ? this.valueStateTypeMappings[this.valueState] : ""; + } + get hasValueState() { + return this.valueState !== q.None; + } + get valueStateTextId() { + return this.hasValueState ? `${this._id}-valueStateDesc` : void 0; + } + get isDisabled() { + return this.disabled || void 0; + } + get _headerTitleText() { + return Zi.i18nBundle.getText(ic); + } + get _currentlySelectedOption() { + return this.selectOptions[this._selectedIndex]; + } + get _effectiveTabIndex() { + return this.disabled || this.responsivePopover && this.responsivePopover.opened ? "-1" : "0"; + } + /** + * This method is relevant for sap_horizon theme only + */ + get _valueStateMessageInputIcon() { + const e = { + Error: "error", + Warning: "alert", + Success: "sys-enter-2", + Information: "information" + }; + return this.valueState !== q.None ? e[this.valueState] : ""; + } + get iconsCount() { + return this.selectedOptionIcon ? 2 : 1; + } + get classes() { + return { + popoverValueState: { + "ui5-valuestatemessage-root": !0, + "ui5-valuestatemessage--success": this.valueState === q.Success, + "ui5-valuestatemessage--error": this.valueState === q.Error, + "ui5-valuestatemessage--warning": this.valueState === q.Warning, + "ui5-valuestatemessage--information": this.valueState === q.Information + }, + popover: { + "ui5-select-popover-valuestate": this.hasValueState + } + }; + } + get styles() { + return { + popoverHeader: { + "max-width": `${this.offsetWidth}px` + }, + responsivePopoverHeader: { + display: this._filteredItems.length && this._listWidth === 0 ? "none" : "inline-block", + width: `${this._filteredItems.length ? this._listWidth : this.offsetWidth}px` + }, + responsivePopover: { + "min-width": `${this.offsetWidth}px` + } + }; + } + get ariaLabelText() { + return Xt(this); + } + get valueStateMessageText() { + return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); + } + get shouldDisplayDefaultValueStateMessage() { + return !this.valueStateMessageText.length && this.hasValueStateText; + } + get hasValueStateText() { + return this.hasValueState && this.valueState !== q.Success; + } + get shouldOpenValueStateMessagePopover() { + return this.focused && this.hasValueStateText && !this._iconPressed && !this._isPickerOpen && !this._isPhone; + } + get _ariaRoleDescription() { + return Zi.i18nBundle.getText(q3); + } + get _isPhone() { + return ce(); + } + get _filteredItems() { + return this.options.filter((e) => !e.disabled); + } + itemSelectionAnnounce() { + let e; + const t = this.selectOptions.length, o = Zi.i18nBundle.getText(Fh, this._selectedIndex + 1, t); + this.focused && this._currentlySelectedOption && (e = `${this._currentlySelectedOption.textContent} ${this._isPickerOpen ? o : ""}`, Yc(e, Ps.Polite)); + } + async openValueStatePopover() { + this.valueStatePopover = await this._getPopover(), this.valueStatePopover && this.valueStatePopover.showAt(this); + } + closeValueStatePopover() { + this.valueStatePopover && this.valueStatePopover.close(); + } + toggleValueStatePopover(e) { + e ? this.openValueStatePopover() : this.closeValueStatePopover(); + } + get selectedOptionIcon() { + return this.selectedOption && this.selectedOption.icon; + } + async _getPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]"); + } + static async onDefine() { + Zi.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +Zt([ + x({ validator: Wh }) +], Tt.prototype, "menu", void 0); +Zt([ + x({ type: Boolean }) +], Tt.prototype, "disabled", void 0); +Zt([ + x() +], Tt.prototype, "name", void 0); +Zt([ + x({ type: q, defaultValue: q.None }) +], Tt.prototype, "valueState", void 0); +Zt([ + x({ type: Boolean }) +], Tt.prototype, "required", void 0); +Zt([ + x({ type: Boolean }) +], Tt.prototype, "readonly", void 0); +Zt([ + x() +], Tt.prototype, "accessibleName", void 0); +Zt([ + x() +], Tt.prototype, "accessibleNameRef", void 0); +Zt([ + x({ type: String, noAttribute: !0 }) +], Tt.prototype, "_text", void 0); +Zt([ + x({ type: Boolean, noAttribute: !0 }) +], Tt.prototype, "_iconPressed", void 0); +Zt([ + x({ type: Boolean }) +], Tt.prototype, "opened", void 0); +Zt([ + x({ validator: ne, defaultValue: 0, noAttribute: !0 }) +], Tt.prototype, "_listWidth", void 0); +Zt([ + x({ type: Boolean }) +], Tt.prototype, "focused", void 0); +Zt([ + x({ validator: ne, defaultValue: -1, noAttribute: !0 }) +], Tt.prototype, "_selectedIndex", void 0); +Zt([ + K({ default: !0, type: HTMLElement, invalidateOnChildChange: !0 }) +], Tt.prototype, "options", void 0); +Zt([ + K() +], Tt.prototype, "formSupport", void 0); +Zt([ + K() +], Tt.prototype, "valueStateMessage", void 0); +Zt([ + K() +], Tt.prototype, "label", void 0); +Tt = Zi = Zt([ + X({ + tag: "ui5-select", + languageAware: !0, + renderer: ue, + template: ez, + staticAreaTemplate: az, + styles: fz, + staticAreaStyles: [ + Fr, + Ka, + vz + ], + dependencies: [ + $C, + Jn, + po, + Fi, + fo, + ea, + Pe, + Ne + ] + }), + U("change", { + detail: { + /** + * @public + */ + selectedOption: { type: HTMLElement } + } + }), + U("live-change", { + detail: { + /** + * @public + */ + selectedOption: { type: HTMLElement } + } + }), + U("open"), + U("close") +], Tt); +Tt.define(); +const mz = Tt; +function gz(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} class="ui5-select-menu" placement-type="Bottom" horizontal-align="Left" @ui5-after-open="${a(this._onAfterOpen)}" @ui5-after-close="${a(this._onAfterClose)}" @ui5-before-open="${a(this._onBeforeOpen)}" hide-arrow _disable-initial-focus style=${G(this.styles.responsivePopover)}>${this._isPhone ? vg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : gg.call(this, i, e, t)}<${E("ui5-list", e, t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOptionClick)}">` : y`${this._isPhone ? vg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : gg.call(this, i, e, t)}`; +} +function vg(i, e, t) { + return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this._onCloseBtnClick}">
    ${this.hasValueState ? mg.call(this, i, e, t) : void 0}
    ` : y`
    ${a(this._headerTitleText)}
    ${this.hasValueState ? mg.call(this, i, e, t) : void 0}
    `; +} +function mg(i, e, t) { + return y`
    ${this.hasValueStateSlot ? bz.call(this, i, e, t) : wz.call(this, i, e, t)}
    `; +} +function bz(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => yz.call(this, i, e, t, o, r))}`; +} +function yz(i, e, t, o, r) { + return y`${a(o)}`; +} +function wz(i, e, t) { + return y`${a(this.valueStateText)}`; +} +function gg(i, e, t) { + return y`${this.hasValueState ? Cz.call(this, i, e, t) : void 0}`; +} +function Cz(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageInputIcon)}">${this.hasValueStateSlot ? bg.call(this, i, e, t) : yg.call(this, i, e, t)}
    ` : y`
    ${this.hasValueStateSlot ? bg.call(this, i, e, t) : yg.call(this, i, e, t)}
    `; +} +function bg(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => Sz.call(this, i, e, t, o, r))}`; +} +function Sz(i, e, t, o, r) { + return y`${a(o)}`; +} +function yg(i, e, t) { + return y`${a(this.valueStateText)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const Tz = { packageName: "@ui5/webcomponents", fileName: "themes/SelectMenu.css.ts", content: `.ui5-select-menu::part(content),.ui5-select-menu::part(header){padding:0}.ui5-select-menu [ui5-li-custom]{height:var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-select-menu [ui5-li-custom]::part(native-li){padding:0}.ui5-select-menu [ui5-icon]{color:var(--sapList_TextColor)} +` }; +var ra = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Br = class extends te { + constructor() { + super(), this.valueStateMessageText = []; + } + /** + * Shows the dropdown at the given element. + */ + showAt(e, t) { + this.selectWidth = t, this.respPopover.open = !0, this.respPopover.opener = e, this.hasValueState = !!e.hasValueState, this.hasValueStateSlot = e.valueStateMessageText.length > 0, this.valueStateText = e.valueStateText, this.valueStateMessageText = e.valueStateMessageText, this.valueState = e.valueState, this._headerTitleText = e._headerTitleText; + } + /** + * Closes the dropdown. + */ + close(e = !1, t = !1, o = !1) { + this.respPopover.close(e, t, o); + } + onBeforeRendering() { + this._syncSelection(); + } + _syncSelection() { + let e = -1, t = -1, o, r; + const n = this.options; + if (n.forEach((s, l) => (s.selected && (e = l), t === -1 && (t = l), s.selected = !1, s.focused = !1, s)), e > -1) { + const s = n[e]; + s.selected = !0, s.focused = !0, o = s.displayText || String(s.textContent), r = e; + } else { + o = "", r = -1; + const s = n[t]; + s && (s.selected = !0, s.focused = !0, r = t, o = s.displayText || String(s.textContent)); + } + this.fireEvent("menu-change", { + text: o, + selectedIndex: r + }); + } + _onOptionClick(e) { + const t = e.detail.item, o = this.options.findIndex((r) => t.__id === r.__id); + this.fireEvent("option-click", { + option: t, + optionIndex: o + }); + } + _onBeforeOpen() { + this.fireEvent("before-open"); + } + _onAfterOpen() { + this.fireEvent("after-open"); + } + _onAfterClose() { + this.fireEvent("after-close"); + } + _onCloseBtnClick() { + this.close(); + } + get open() { + var e; + return !!((e = this.respPopover) != null && e.open); + } + get respPopover() { + return this.shadowRoot.querySelector(".ui5-select-menu"); + } + get classes() { + return { + popoverValueState: { + "ui5-valuestatemessage-root": !0, + "ui5-valuestatemessage--success": this.valueState === q.Success, + "ui5-valuestatemessage--error": this.valueState === q.Error, + "ui5-valuestatemessage--warning": this.valueState === q.Warning, + "ui5-valuestatemessage--information": this.valueState === q.Information + }, + popover: { + "ui5-select-popover-valuestate": this.hasValueState + } + }; + } + get styles() { + return { + valueStatePopover: { + width: `${this.selectWidth}px` + }, + responsivePopover: { + "min-width": `${this.selectWidth}px` + } + }; + } + get _valueStateMessageInputIcon() { + const e = { + Error: "error", + Warning: "alert", + Success: "sys-enter-2", + Information: "information" + }; + return this.valueState !== q.None ? e[this.valueState] : ""; + } + get _isPhone() { + return ce(); + } +}; +ra([ + K({ + default: !0, + type: HTMLElement, + invalidateOnChildChange: !0 + }) +], Br.prototype, "options", void 0); +ra([ + x({ validator: ne }) +], Br.prototype, "selectWidth", void 0); +ra([ + x({ type: Boolean }) +], Br.prototype, "hasValueState", void 0); +ra([ + x({ type: Boolean }) +], Br.prototype, "hasValueStateSlot", void 0); +ra([ + x({ type: q, defaultValue: q.None }) +], Br.prototype, "valueState", void 0); +ra([ + x() +], Br.prototype, "valueStateText", void 0); +ra([ + x({ type: String, noAttribute: !0 }) +], Br.prototype, "value", void 0); +ra([ + x({ type: String, noAttribute: !0 }) +], Br.prototype, "selectId", void 0); +Br = ra([ + X({ + tag: "ui5-select-menu", + renderer: ue, + styles: [Tz, Ka, Fr], + template: gz, + dependencies: [ + po, + fo, + Ne + ] + }), + U("option-click", { + detail: { + option: { type: HTMLElement }, + optionIndex: { type: ne } + } + }), + U("before-open"), + U("after-open"), + U("after-close"), + U("menu-change", { + detail: { + text: { type: String }, + selectedIndex: { type: ne } + } + }) +], Br); +Br.define(); +function xC(i, e, t) { + return y`
  • ${this.placeSelectionElementBefore ? Iz.call(this, i, e, t) : void 0}
    ${this.typeDetail ? Bz.call(this, i, e, t) : void 0}${this.typeNavigation ? Dz.call(this, i, e, t) : void 0}${this.navigated ? Pz.call(this, i, e, t) : void 0}${this.placeSelectionElementAfter ? Oz.call(this, i, e, t) : void 0}${a(this._accInfo.listItemAriaLabel)}${a(this.accessibleName)}${a(this._accInfo.ariaSelectedText)}
  • `; +} +function Iz(i, e, t) { + return y`${this.modeSingleSelect ? kz.call(this, i, e, t) : void 0}${this.modeMultiSelect ? $z.call(this, i, e, t) : void 0}${this.renderDeleteButton ? xz.call(this, i, e, t) : void 0}`; +} +function kz(i, e, t) { + return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; +} +function $z(i, e, t) { + return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; +} +function xz(i, e, t) { + return y`
    ${this.hasDeleteButtonSlot ? Az.call(this, i, e, t) : Ez.call(this, i, e, t)}
    `; +} +function Az(i, e, t) { + return y``; +} +function Ez(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; +} +function Bz(i, e, t) { + return t ? y`
    <${E("ui5-button", e, t)} part="detail-button" design="Transparent" icon="edit" @click="${this.onDetailClick}">
    ` : y`
    `; +} +function Dz(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name ="slim-arrow-right">` : y``; +} +function Pz(i, e, t) { + return y`
    `; +} +function Oz(i, e, t) { + return y`${this.modeSingleSelect ? Rz.call(this, i, e, t) : void 0}${this.modeMultiSelect ? Nz.call(this, i, e, t) : void 0}${this.renderDeleteButton ? Mz.call(this, i, e, t) : void 0}`; +} +function Rz(i, e, t) { + return t ? y`<${E("ui5-radio-button", e, t)} part="radio" ?disabled="${this.isInactive}" accessible-name="${a(this._accInfo.ariaLabelRadioButton)}" tabindex="-1" id="${a(this._id)}-singleSelectionElement" class="ui5-li-singlesel-radiobtn" ?checked="${this.selected}" @click="${this.onSingleSelectionComponentPress}">` : y``; +} +function Nz(i, e, t) { + return t ? y`<${E("ui5-checkbox", e, t)} part="checkbox" ?disabled="${this.isInactive}" ?indeterminate=${this.indeterminate} tabindex="-1" id="${a(this._id)}-multiSelectionElement" class="ui5-li-multisel-cb" ?checked="${this.selected}" accessible-name="${a(this._accInfo.ariaLabel)}" @click="${this.onMultiSelectionComponentPress}">` : y``; +} +function Mz(i, e, t) { + return y`
    ${this.hasDeleteButtonSlot ? Lz.call(this, i, e, t) : Fz.call(this, i, e, t)}
    `; +} +function Lz(i, e, t) { + return y``; +} +function Fz(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} part="delete-button" tabindex="-1" data-sap-no-tab-ref id="${a(this._id)}-deleteSelectionElement" design="Transparent" icon="decline" ?disabled="${this.disableDeleteButton}" @click="${this.onDelete}" tooltip="${a(this.deleteText)}">` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const zz = { packageName: "@ui5/webcomponents", fileName: "themes/CustomListItem.css.ts", content: `:host(:not([hidden])){display:block}:host{min-height:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_custom_list_item_rb_min_width)} +` }; +var AC = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let Iu = class extends cn { + _onkeydown(e) { + !(Bt(e) || Mi(e)) && !this.focused || super._onkeydown(e); + } + _onkeyup(e) { + !(Bt(e) || Mi(e)) && !this.focused || super._onkeyup(e); + } + get classes() { + const e = super.classes; + return e.main["ui5-custom-li-root"] = !0, e; + } +}; +AC([ + x() +], Iu.prototype, "accessibleName", void 0); +Iu = AC([ + X({ + tag: "ui5-li-custom", + template: xC, + styles: [cn.styles, zz] + }) +], Iu); +Iu.define(); +const Mv = Iu; +var Qa = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let dn = class extends Mv { + get stableDomRef() { + return ""; + } + get _accInfo() { + const e = { + ariaSelected: this.selected + }; + return { ...super._accInfo, ...e }; + } +}; +Qa([ + x() +], dn.prototype, "displayText", void 0); +Qa([ + x({ type: Boolean }) +], dn.prototype, "disabled", void 0); +Qa([ + x() +], dn.prototype, "value", void 0); +Qa([ + x({ type: Ut, defaultValue: Ut.Active }) +], dn.prototype, "type", void 0); +Qa([ + x({ type: Object }) +], dn.prototype, "accessibilityAttributes", void 0); +Qa([ + x({ type: Boolean }) +], dn.prototype, "navigated", void 0); +Qa([ + K() +], dn.prototype, "deleteButton", void 0); +dn = Qa([ + X({ + tag: "ui5-select-menu-option", + renderer: ue, + styles: Mv.styles, + template: xC, + dependencies: [] + }) +], dn); +dn.define(); +function Hz(i, e, t) { + return t ? y`
    <${E("ui5-button", e, t)} class="ui5-split-text-button" design="${a(this.design)}" dir=${a(this.effectiveDir)} icon="${a(this._textButtonIcon)}" tabindex="-1" ?disabled="${this.disabled}" ?active="${this._textButtonActive}" @click="${this._handleMouseClick}" @touchstart=${this._textButtonPress} @mousedown=${this._textButtonPress} @mouseup=${this._textButtonRelease} @focusin=${this._textButtonFocusIn} @focusout=${this._onFocusOut}>${this.isTextButton ? wg.call(this, i, e, t) : void 0}<${E("ui5-button", e, t)} dir=${a(this.effectiveDir)} class="ui5-split-arrow-button" design="${a(this.design)}" icon="slim-arrow-down" tabindex="-1" ?disabled="${this.disabled}" ?active="${this.effectiveActiveArrowButton}" aria-expanded="${a(this.accessibilityInfo.ariaExpanded)}" aria-haspopup="${a(this.accessibilityInfo.ariaHaspopup)}" @click="${this._handleArrowButtonAction}" @mousedown=${this._arrowButtonPress} @mouseup=${this._arrowButtonRelease} @focusin=${this._setTabIndexValue} @ui5-_active-state-change=${a(this._onArrowButtonActiveStateChange)}>${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    ` : y`
    ${this.isTextButton ? wg.call(this, i, e, t) : void 0}${a(this.accessibilityInfo.description)}${a(this.accessibilityInfo.keyboardHint)}${a(this.accessibleName)}${a(this.textButtonAccText)}
    `; +} +function wg(i, e, t) { + return y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const Vz = { packageName: "@ui5/webcomponents", fileName: "themes/SplitButton.css.ts", content: `: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-flex;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_button_border_radius);background-color:var(--sapButton_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_default_box_shadow)}:host([active-arrow-button][design="Negative"]) .ui5-split-arrow-button,:host([design="Negative"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Reject_Selected_Background);border:.0625rem solid var(--sapButton_Reject_Active_BorderColor);color:var(--sapButton_Reject_Active_TextColor)}:host([active-arrow-button][design="Positive"]) .ui5-split-arrow-button,:host([design="Positive"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Accept_Selected_Background);border:.0625rem solid var(--sapButton_Accept_Active_BorderColor);color:var(--sapButton_Accept_Active_TextColor)}:host([active-arrow-button][design="Attention"]) .ui5-split-arrow-button,:host([design="Attention"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Attention_Selected_Background);border:.0625rem solid var(--sapButton_Attention_Active_BorderColor);color:var(--sapButton_Attention_Active_TextColor)}:host([active-arrow-button][design="Emphasized"]) .ui5-split-arrow-button,:host([design="Emphasized"]) .ui5-split-arrow-button[active]{background-color:var(--sapButton_Emphasized_Active_Background);border:.0625rem solid var(--sapButton_Emphasized_Active_BorderColor)}:host([active-arrow-button][design="Transparent"]) .ui5-split-arrow-button,:host([active-arrow-button]) .ui5-split-arrow-button,:host([design="Transparent"]) .ui5-split-arrow-button[active],:host([design="Default"]) .ui5-split-arrow-button[active],.ui5-split-arrow-button[active],.ui5-split-arrow-button[active]:hover{background-color:var(--sapButton_Active_Background);border:.0625rem solid var(--sapButton_Lite_Active_BorderColor);color:var(--sapButton_Active_TextColor)}:host([disabled]:not([hidden])){pointer-events:none}:host([design="Positive"]:not([hidden])){background-color:var(--sapButton_Accept_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_positive_box_shadow)}:host([design="Negative"]:not([hidden])){background-color:var(--sapButton_Reject_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_negative_box_shadow)}:host([design="Attention"]:not([hidden])){background-color:var(--sapButton_Attention_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_attention_box_shadow)}:host([design="Emphasized"]:not([hidden])){background-color:var(--sapButton_Emphasized_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_emphasized_box_shadow)}:host([design="Transparent"]:not([hidden])){background-color:var(--sapButton_Lite_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_box_shadow)}:host([design="Transparent"][disabled]:not([hidden])){background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_disabled_background)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_background);box-shadow:var(--_ui5-v1-22-1-rc-0_split_button_host_transparent_hover_box_shadow)}:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button:not(:hover),:host([design="Transparent"]:not([hidden]):not([disabled]):hover) .ui5-split-text-button:not(:hover){color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_color)}:host([focused]) .ui5-split-button-root{outline:0}:host([focused]) .ui5-split-button-root:after{content:"";position:absolute;box-sizing:border-box;inset:.125rem;border:var(--_ui5-v1-22-1-rc-0_split_button_focused_border);pointer-events:none;border-radius:var(--_ui5-v1-22-1-rc-0_split_button_focused_border_radius)}:host([design="Emphasized"][focused]) .ui5-split-button-root:after{border-color:var(--sapContent_ContrastFocusColor)}.ui5-split-button-root{display:inline-flex;position:relative;width:inherit}.ui5-split-button-root:focus,.ui5-split-text-button:focus,.ui5-split-arrow-button:focus{outline:0}.ui5-split-text-button{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-width:.0625rem;border-inline-end-width:var(--_ui5-v1-22-1-rc-0_split_button_text_button_right_border_width);border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);vertical-align:top;flex-grow:1}.ui5-split-text-button:hover{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_hover_border_right)}.ui5-split-text-button[design=Emphasized]{border:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border);border-width:var(--_ui5-v1-22-1-rc-0_split_text_button_emphasized_border_width)}.ui5-split-text-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background)}.ui5-split-text-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_positive_hover_border_right)}.ui5-split-text-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_negative_hover_border_right)}.ui5-split-text-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_attention_hover_border_right)}.ui5-split-text-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border);border-inline-end:var(--_ui5-v1-22-1-rc-0_split_text_button_transparent_hover_border_right)}.ui5-split-text-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border-color:var(--sapButton_Emphasized_Active_BorderColor)}.ui5-split-text-button[active][design=Negative]{background-color:var(--sapButton_Reject_Selected_Background);color:var(--sapButton_Reject_Active_TextColor);border-color:var(--sapButton_Reject_Active_BorderColor)}.ui5-split-text-button[active][design=Positive]{background-color:var(--sapButton_Accept_Selected_Background);color:var(--sapButton_Accept_Active_TextColor);border-color:var(--sapButton_Accept_Active_BorderColor)}.ui5-split-text-button[active][design=Attention]{background-color:var(--sapButton_Attention_Selected_Background);color:var(--sapButton_Attention_Active_TextColor);border-color:var(--sapButton_Attention_Active_BorderColor)}.ui5-split-text-button[active][design=Default],.ui5-split-text-button[active][design=Transparent]{background-color:var(--sapButton_Active_Background);color:var(--sapButton_Active_TextColor);border-color:var(--sapButton_Active_BorderColor)}.ui5-split-text-button[active]{outline:0}.ui5-split-arrow-button{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);width:2.25rem;border-color:var(--_ui5-v1-22-1-rc-0_split_text_button_border_color);background-color:var(--_ui5-v1-22-1-rc-0_split_text_button_background_color);position:relative;border-width:.0625rem;overflow:visible}.ui5-split-arrow-button:hover{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_hover_border_radius);background-color:var(--sapButton_Hover_Background);box-shadow:none;border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_hover_border)}.ui5-split-arrow-button[design=Emphasized]:hover{background-color:var(--sapButton_Emphasized_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border);box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow, none)}[dir=rtl].ui5-split-arrow-button[design=Emphasized]:hover{box-shadow:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_box_shadow_rtl, none)}.ui5-split-arrow-button[design=Positive]:hover{background-color:var(--sapButton_Accept_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_positive_hover_border)}.ui5-split-arrow-button[design=Negative]:hover{background-color:var(--sapButton_Reject_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_negative_hover_border)}.ui5-split-arrow-button[design=Attention]:hover{background-color:var(--sapButton_Attention_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_attention_hover_border)}.ui5-split-arrow-button[design=Transparent]:hover{background-color:var(--_ui5-v1-22-1-rc-0_split_button_transparent_hover_background);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_transparent_hover_border)}.ui5-split-arrow-button:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;width:.0625rem;background-color:var(--sapButton_TextColor);inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height)}.ui5-split-arrow-button[design=Emphasized]:before{content:"";position:absolute;box-sizing:border-box;pointer-events:none;inset-inline-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_left);inset-block-start:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_top);inset-inline-end:0;height:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_height);width:.0625rem}.ui5-split-text-button:hover+.ui5-split-arrow-button:before,.ui5-split-arrow-button:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display)}.ui5-split-arrow-button[design=Emphasized]:hover:before{display:var(--_ui5-v1-22-1-rc-0_split_button_middle_separator_hover_display_emphasized)}.ui5-split-arrow-button[design=Transparent]:before{background-color:var(--sapButton_Lite_TextColor)}.ui5-split-arrow-button[design=Emphasized]:before{background-color:var(--sapButton_Emphasized_TextColor)}.ui5-split-arrow-button[design=Positive]:before{background-color:var(--sapButton_Accept_TextColor)}.ui5-split-arrow-button[design=Negative]:before{background-color:var(--sapButton_Reject_TextColor)}.ui5-split-arrow-button[design=Attention]:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color_default)}.ui5-split-arrow-button[focused]::part(button):after{border-start-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-start-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[focused]::part(button):after{border-start-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner);border-end-end-radius:var(--_ui5-v1-22-1-rc-0_split_button_inner_focused_border_radius_inner)}.ui5-split-text-button[active][design=Emphasized]{color:var(--sapButton_Emphasized_Active_TextColor);background-color:var(--sapButton_Emphasized_Active_Background)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button,.ui5-split-arrow-button[active][design=Emphasized]{background-color:var(--sapButton_Selected_Background);color:var(--sapButton_Emphasized_Active_TextColor);border:var(--_ui5-v1-22-1-rc-0_split_arrow_button_emphasized_hover_border)}:host([design="Transparent"][active-arrow-button]:not([hidden]):not([disabled]):hover) .ui5-split-arrow-button{color:var(--sapButton_Active_TextColor)}:host([active-arrow-button]) .ui5-split-arrow-button{border:.0625rem solid var(--sapButton_Lite_Active_BorderColor)}:host([active-arrow-button]) .ui5-split-arrow-button:before,.ui5-split-arrow-button[active]:before,.ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--sapButton_TextColor)}:host([design="Emphasized"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Emphasized"]) .ui5-split-arrow-button[active]:before,:host([design="Emphasized"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_emphasized_separator_color)}:host([design="Positive"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Positive"]) .ui5-split-arrow-button[active]:before,:host([design="Positive"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_positive_separator_color)}:host([design="Negative"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Negative"]) .ui5-split-arrow-button[active]:before,:host([design="Negative"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_negative_separator_color)}:host([design="Attention"][active-arrow-button]) .ui5-split-arrow-button:before,:host([design="Attention"]) .ui5-split-arrow-button[active]:before,:host([design="Attention"]) .ui5-split-text-button[active]+.ui5-split-arrow-button:before{background-color:var(--_ui5-v1-22-1-rc-0_split_button_attention_separator_color)} +` }; +var Bi = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, bs; +let ai = bs = class extends te { + static async onDefine() { + bs.i18nBundle = await pe("@ui5/webcomponents"); + } + constructor() { + super(), this._isDefaultActionPressed = !1, this._isKeyDownOperation = !1; + const e = () => { + this._textButtonActive = !0, this.focused = !1, this._tabIndex = "-1"; + }; + this._textButtonPress = { + handleEvent: e, + passive: !0 + }; + } + /** + * Function that makes sure the focus is properly managed. + * @private + */ + _manageFocus(e) { + [this.textButton, this.arrowButton, this].forEach((o) => { + o.focused = o === e; + }); + } + onBeforeRendering() { + this._textButtonIcon = this.textButton && this.activeIcon !== "" && this._textButtonActive && !this._shiftOrEscapePressed ? this.activeIcon : this.icon, this.disabled && (this._tabIndex = "-1"); + } + _handleMouseClick(e) { + const t = e.target; + this._manageFocus(t), this._fireClick(e); + } + _onFocusOut(e) { + this.disabled || Xo(e) || (this._shiftOrEscapePressed = !1, this._setTabIndexValue(), this._manageFocus()); + } + _onFocusIn(e) { + this.disabled || Xo(e) || (this._shiftOrEscapePressed = !1, this._manageFocus(this)); + } + _textButtonFocusIn(e) { + e == null || e.stopPropagation(), this._manageFocus(this.textButton), this._setTabIndexValue(); + } + _onKeyDown(e) { + this._isKeyDownOperation = !0, this._isArrowKeyAction(e) ? (this._handleArrowButtonAction(e), this._activeArrowButton = !0) : this._isDefaultAction(e) && (this._handleDefaultAction(e), this._isDefaultActionPressed = !0), this._spacePressed && this._isShiftOrEscape(e) && this._handleShiftOrEscapePressed(), this._isDefaultActionPressed && (Bt(e) || Mi(e)) && (this._activeArrowButton = !1, this._textButtonActive = !1), this._tabIndex = "-1"; + } + _onKeyUp(e) { + this._isKeyDownOperation = !1, this._isArrowKeyAction(e) ? (e.preventDefault(), this._activeArrowButton = !1, this._textButtonActive = !1) : this._isDefaultAction(e) && (this._isDefaultActionPressed = !1, this._textButtonActive = !1, se(e) && (e.preventDefault(), e.stopPropagation(), this._fireClick(), this._spacePressed = !1, this._textButtonActive = !1)), this._isShiftOrEscape(e) && this._handleShiftOrEscapePressed(), this._tabIndex = "-1"; + } + _fireClick(e) { + e == null || e.stopPropagation(), this._shiftOrEscapePressed || this.fireEvent("click"), this._shiftOrEscapePressed = !1; + } + _fireArrowClick(e) { + e == null || e.stopPropagation(), this.fireEvent("arrow-click"); + } + _textButtonRelease() { + this._textButtonActive = !1, this._textButtonIcon = this.textButton && this.activeIcon !== "" && this._textButtonActive && !this._shiftOrEscapePressed ? this.activeIcon : this.icon, this._tabIndex = "-1"; + } + _arrowButtonPress(e) { + e.preventDefault(), this.arrowButton.focus(), this._tabIndex = "-1"; + } + _arrowButtonRelease(e) { + e.preventDefault(), this._tabIndex = "-1"; + } + _setTabIndexValue() { + var e, t; + this._tabIndex = this.disabled ? "-1" : "0", this._tabIndex === "-1" && ((e = this.textButton) != null && e.focused || (t = this.arrowButton) != null && t.focused) && (this._tabIndex = "0"); + } + _onArrowButtonActiveStateChange(e) { + this.activeArrowButton && e.preventDefault(); + } + /** + * Checks if the pressed key is an arrow key. + * + * @param e - keyboard event + * @private + */ + _isArrowKeyAction(e) { + return Ue(e) || Ye(e) || Gf(e) || oh(e) || Rh(e); + } + /** + * Checks if the pressed key is a default action key (Space or Enter). + * + * @param e - keyboard event + * @private + */ + _isDefaultAction(e) { + return se(e) || Se(e); + } + /** + * Checks if the pressed key is an escape key or shift key. + * + * @param e - keyboard event + * @private + */ + _isShiftOrEscape(e) { + return Ni(e) || MI(e); + } + /** + * Handles the click event and the focus on the arrow button. + * @param e - keyboard event + * @private + */ + _handleArrowButtonAction(e) { + e.preventDefault(), this._fireArrowClick(e), se(e) && (this._spacePressed = !0); + } + /** + * Handles the default action and the active state of the respective button. + * @param e - keyboard event + * @private + */ + _handleDefaultAction(e) { + var o; + e.preventDefault(); + const t = se(e); + this.focused || (o = this.textButton) != null && o.focused ? (this._textButtonActive = !0, this._fireClick(), t && (this._spacePressed = !0)) : this.arrowButton && this.arrowButton.focused && (this._activeArrowButton = !0, this._fireArrowClick(), t && (this._spacePressed = !0, this._textButtonActive = !1)); + } + _handleShiftOrEscapePressed() { + this._shiftOrEscapePressed = !0, this._textButtonActive = !1, this._isKeyDownOperation = !1; + } + get effectiveActiveArrowButton() { + return this.activeArrowButton || this._activeArrowButton; + } + get textButtonAccText() { + return this.textContent; + } + get isTextButton() { + return !!this.textContent; + } + get textButton() { + var e; + return (e = this.getDomRef()) == null ? void 0 : e.querySelector(".ui5-split-text-button"); + } + get arrowButton() { + var e; + return (e = this.getDomRef()) == null ? void 0 : e.querySelector(".ui5-split-arrow-button"); + } + get accessibilityInfo() { + return { + // affects arrow button + ariaExpanded: this._splitButtonAccInfo && this._splitButtonAccInfo.ariaExpanded, + ariaHaspopup: this._splitButtonAccInfo && this._splitButtonAccInfo.ariaHaspopup, + // affects root element + description: bs.i18nBundle.getText(Dp), + keyboardHint: bs.i18nBundle.getText(Pp) + }; + } + get ariaLabelText() { + return [bs.i18nBundle.getText(Dp), bs.i18nBundle.getText(Pp)].join(" "); + } +}; +Bi([ + x() +], ai.prototype, "icon", void 0); +Bi([ + x() +], ai.prototype, "activeIcon", void 0); +Bi([ + x({ type: Boolean }) +], ai.prototype, "activeArrowButton", void 0); +Bi([ + x({ type: Qo, defaultValue: Qo.Default }) +], ai.prototype, "design", void 0); +Bi([ + x({ type: Boolean }) +], ai.prototype, "disabled", void 0); +Bi([ + x({ defaultValue: void 0 }) +], ai.prototype, "accessibleName", void 0); +Bi([ + x({ type: Boolean }) +], ai.prototype, "focused", void 0); +Bi([ + x({ type: Object }) +], ai.prototype, "_splitButtonAccInfo", void 0); +Bi([ + x({ defaultValue: "0", noAttribute: !0 }) +], ai.prototype, "_tabIndex", void 0); +Bi([ + x({ type: Boolean, noAttribute: !0 }) +], ai.prototype, "_spacePressed", void 0); +Bi([ + x({ type: Boolean, noAttribute: !0 }) +], ai.prototype, "_shiftOrEscapePressed", void 0); +Bi([ + x({ type: Boolean, noAttribute: !0 }) +], ai.prototype, "_textButtonActive", void 0); +Bi([ + x({ noAttribute: !0 }) +], ai.prototype, "_textButtonIcon", void 0); +Bi([ + x({ type: Boolean, noAttribute: !0 }) +], ai.prototype, "_activeArrowButton", void 0); +Bi([ + K({ type: Node, default: !0 }) +], ai.prototype, "text", void 0); +ai = bs = Bi([ + X({ + tag: "ui5-split-button", + renderer: ue, + styles: Vz, + template: Hz, + dependencies: [Ne] + }), + U("click"), + U("arrow-click") +], ai); +ai.define(); +function Uz(i, e, t) { + return t ? y`
    ${this.readonly ? void 0 : Cg.call(this, i, e, t)}<${E("ui5-input", e, t)} id="${a(this._id)}-inner" class="ui5-step-input-input" placeholder="${a(this.placeholder)}" type="${a(this.type)}" value="${a(this._valuePrecisioned)}" ?disabled="${this.disabled}" ?required="${this.required}" ?readonly="${this.readonly}" value-state="${a(this.valueState)}" data-sap-focus-ref ._inputAccInfo ="${a(this.accInfo)}" ._nativeInputAttributes="${a(this.inputAttributes)}" @ui5-change="${a(this._onInputChange)}" @focusout="${this._onInputFocusOut}" @focusin="${this._onInputFocusIn}">${this.valueStateMessage.length ? Sg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Tg.call(this, i, e, t)}
    ` : y`
    ${this.readonly ? void 0 : Cg.call(this, i, e, t)}${this.valueStateMessage.length ? Sg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Tg.call(this, i, e, t)}
    `; +} +function Cg(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} id="${a(this._id)}-dec" name="${a(this.decIconName)}" tabindex="-1" accessible-name="${a(this.decIconTitle)}" @click="${this._decValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._decSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._decIconClickable}">
    ` : y`
    `; +} +function Sg(i, e, t) { + return y``; +} +function Tg(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} id="${a(this._id)}-inc" name="${a(this.incIconName)}" tabindex="-1" accessible-name="${a(this.incIconTitle)}" @click="${this._incValue}" @focusout="${this._onButtonFocusOut}" @mousedown="${this._incSpin}" @mouseup="${this._resetSpin}" @mouseout="${this._resetSpinOut}" input-icon show-tooltip ?clickable="${this._incIconClickable}">
    ` : y`
    `; +} +const qz = "less", EC = "M464 224q16 0 16 16v32q0 16-16 16H48q-6 0-11-4.5T32 272v-32q0-7 5-11.5t11-4.5h416z", Wz = !1, jz = "SAP-icons-v4", Gz = "@ui5/webcomponents-icons"; +J(qz, { pathData: EC, ltr: Wz, collection: jz, packageName: Gz }); +const Yz = "less", BC = "M454 275H58q-11 0-18.5-7T32 250t7.5-18.5T58 224h396q11 0 18.5 7.5T480 250t-7.5 18-18.5 7z", Xz = !1, Kz = "SAP-icons-v5", Zz = "@ui5/webcomponents-icons"; +J(Yz, { pathData: BC, ltr: Xz, collection: Kz, packageName: Zz }); +Te(); +const Qz = "add", DC = "M32 240q0-7 5-11.5t11-4.5h176V48q0-7 5-11.5t11-4.5h32q16 0 16 16v176h176q16 0 16 16v32q0 16-16 16H288v176q0 16-16 16h-32q-6 0-11-4.5t-5-11.5V288H48q-6 0-11-4.5T32 272v-32z", Jz = !1, eH = Z8, tH = "SAP-icons-v4", iH = "@ui5/webcomponents-icons"; +J(Qz, { pathData: DC, ltr: Jz, accData: eH, collection: tH, packageName: iH }); +const oH = "add", PC = "M454 230q11 0 18.5 7.5T480 256t-7.5 18.5T454 282H282v172q0 11-7.5 18.5T256 480t-18.5-7.5T230 454V282H58q-11 0-18.5-7.5T32 256t7.5-18.5T58 230h172V58q0-11 7.5-18.5T256 32t18.5 7.5T282 58v172h172z", rH = !1, nH = Z8, aH = "SAP-icons-v5", sH = "@ui5/webcomponents-icons"; +J(oH, { pathData: PC, ltr: rH, accData: nH, collection: aH, packageName: sH }); +Te(); +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const lH = { packageName: "@ui5/webcomponents", fileName: "themes/StepInput.css.ts", content: `: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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_input_disabled_border_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled])){background:var(--sapField_InformationBackgroundStyle);background-color:var(--sapField_InformationBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host(:not([hidden])){display:inline-block;width:100%;line-height:normal;letter-spacing:normal;word-spacing:normal}:host{--ui5-v1-22-1-rc-0_input_focus_pseudo_element_content: none;color:var(--sapField_TextColor);background-color:var(--sapField_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style);border-radius:var(--sapField_BorderCornerRadius);box-sizing:border-box;height:var(--_ui5-v1-22-1-rc-0_input_height);position:relative;min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);text-align:right}:host .ui5-step-input-input{text-align:inherit}:host(:not([value-state]):not([readonly]):not([disabled])){box-shadow:none}:host(:not([value-state]):not([readonly]):not([disabled]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0_step_input_border_color_hover);border:var(--_ui5-v1-22-1-rc-0_step_input_border_hover)}:host(:not([value-state]):not([readonly]):not([disabled]):not([focused]):hover),:host([value-state="None"]:not([readonly]):not([disabled]):not([focused]):hover){background-color:var(--sapField_Hover_Background);border:var(--_ui5-v1-22-1-rc-0_step_input_border_style_hover);box-shadow:var(--sapField_Hover_Shadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_SuccessShadow)}:host([value-state="Information"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InformationShadow)}:host([value-state="Warning"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Error"]:not([readonly]):not([disabled]):not([focused]):hover){box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Success"]:not([readonly]):not([disabled]):hover),:host([value-state="Error"]:not([readonly]):not([disabled]):hover),:host([value-state="Information"]:not([readonly]):not([disabled]):hover),:host([value-state="Warning"]:not([readonly]):not([disabled]):hover){background-color:var(--_ui5-v1-22-1-rc-0-step_input_button_state_hover_background_color)}:host(:not([value-state]):not([readonly]):not([disabled])[focused]),:host([value-state="None"]:not([readonly]):not([disabled])[focused]),:host([value-state="Success"]:not([readonly]):not([disabled])[focused]),:host([value-state="Error"]:not([readonly]):not([disabled])[focused]),:host([value-state="Information"]:not([readonly]):not([disabled])[focused]),:host([value-state="Warning"]:not([readonly]):not([disabled])[focused]){background-color:var(--sapField_Focus_Background)}:host([value-state="Success"]:not([readonly]):not([disabled])):after,:host([value-state="Error"]:not([readonly]):not([disabled])):after,:host([value-state="None"]:not([readonly]):not([disabled])):after,:host([value-state="Information"]:not([readonly]):not([disabled])):after,:host([value-state="Warning"]:not([readonly]):not([disabled])):after{position:absolute;content:"";inset:-1px;outline:none;pointer-events:none;border-radius:var(--sapField_BorderCornerRadius);border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style);z-index:1;border-width:0px}:host([value-state="Information"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InformationColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state="Warning"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_WarningColor);border-width:2px}:host([value-state="Success"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_SuccessColor);border-width:1px}:host([value-state="Error"]:not([readonly]):not([disabled])):after{border-color:var(--sapField_InvalidColor);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width)}:host([value-state]):after{border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input{background-color:var(--_ui5-v1-22-1-rc-0_input_input_background_color)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input:hover{background-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_background_color)}:host([value-state]:not([value-state="None"]) .ui5-step-input-input[focused]){outline:none}:host .ui5-step-input-input{width:100%;color:inherit;background-color:inherit;border:var(--_ui5-v1-22-1-rc-0_step_input_input_border);box-sizing:border-box;vertical-align:top;margin-top:var(--_ui5-v1-22-1-rc-0_step_input_input_margin_top);min-width:var(--_ui5-v1-22-1-rc-0_step_input_min_width);padding-inline-start:var(--_ui5-v1-22-1-rc-0_step_input_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_step_input_padding);position:relative;outline:none;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[readonly]{padding:0}:host .ui5-step-input-input:hover,:host .ui5-step-input-input[focused]{box-shadow:none}:host .ui5-step-input-root{white-space:nowrap;line-height:inherit;letter-spacing:inherit;word-spacing:inherit}:host .ui5-step-input-input[text-align=left]{text-align:left}:host .ui5-step-input-input[text-align=center]{text-align:center}:host .ui5-step-input-input[text-align=right]{text-align:right}:host .ui5-step-icon{position:absolute;display:var(--_ui5-v1-22-1-rc-0_step_input_button_display);height:2rem;height:100%;background-color:var(--_ui5-v1-22-1-rc-0_step_input_button_background_color);z-index:0}:host .ui5-step-icon[focused]{border:none;outline:none}:host .ui5-step-icon.ui5-step-dec{left:var(--_ui5-v1-22-1-rc-0_step_input_button_left);z-index:1}:host .ui5-step-icon.ui5-step-inc{right:var(--_ui5-v1-22-1-rc-0_step_input_button_right)}:host .ui5-step-icon *:not([clickable]),:host .ui5-step-icon *:not([clickable]):active,:host .ui5-step-icon *:not([clickable]):hover{opacity:.5;background-color:transparent;color:var(--sapContent_IconColor)}:host .ui5-step-icon :not([clickable]) *:hover,:host .ui5-step-icon :not([clickable]) *:active{background-color:var(--sapField_Background);color:var(--sapContent_IconColor)}:host .ui5-step-input-input[focused]:after{position:absolute;content:"";border:var(--_ui5-v1-22-1-rc-0_step_input_input_border_focused_after);top:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);right:0;bottom:var(--_ui5-v1-22-1-rc-0_step_input_input_border_top_bottom_focused_after);border-radius:var(--_ui5-v1-22-1-rc-0_step_input_input_border_radius_focused_after);left:0;outline:none;pointer-events:none;z-index:1}:host .ui5-step-input-input[focused]{outline:none}:host([value-state="Information"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_information_border_color_focused_after)}:host([value-state="Warning"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_warning_border_color_focused_after)}:host([value-state="Success"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_success_border_color_focused_after)}:host([value-state="Error"]:not([readonly]):not([disabled])) .ui5-step-input-input[focused]:after{border-color:var(--_ui5-v1-22-1-rc-0_step_input_input_error_border_color_focused_after)}:host .ui5-step-input-input::-webkit-outer-spin-button,:host .ui5-step-input-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host([disabled]) .ui5-step-icon{background-color:var(--_ui5-v1-22-1-rc-0_step_input_disabled_button_background)}:host([disabled]) .ui5-step-icon [ui5-icon]{color:var(--sapField_ReadOnly_BorderColor)} +` }; +var at = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Lc; +const cH = 500, uH = 0.8, Ig = 50, dH = 120; +let Je = Lc = class extends te { + static async onDefine() { + Lc.i18nBundle = await pe("@ui5/webcomponents"); + } + get type() { + return Ol.Number; + } + // icons-related + get decIconTitle() { + return Lc.i18nBundle.getText(_8); + } + get decIconName() { + return "less"; + } + get incIconTitle() { + return Lc.i18nBundle.getText(p8); + } + get incIconName() { + return "add"; + } + get _decIconClickable() { + return !this._decIconDisabled && !this.readonly && !this.disabled; + } + get _incIconClickable() { + return !this._incIconDisabled && !this.readonly && !this.disabled; + } + get _isFocused() { + return this.focused; + } + get _valuePrecisioned() { + return this.value.toFixed(this.valuePrecision); + } + get accInfo() { + return { + ariaRequired: this.required, + ariaLabel: Xt(this) + }; + } + get inputAttributes() { + return { + min: this.min === void 0 ? void 0 : this.min, + max: this.max === void 0 ? void 0 : this.max, + step: this.step + }; + } + onBeforeRendering() { + this._setButtonState(), this._previousValue === void 0 && (this._previousValue = this.value); + const e = ze("FormSupport"); + e ? e.syncNativeHiddenInput(this) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); + } + get input() { + return this.shadowRoot.querySelector("[ui5-input]"); + } + get inputOuter() { + return this.shadowRoot.querySelector(".ui5-step-input-input"); + } + _onButtonFocusOut() { + setTimeout(() => { + this._inputFocused || this.inputOuter.removeAttribute("focused"); + }, 0); + } + _onInputFocusIn() { + this._inputFocused = !0, this.value !== this._previousValue && (this._previousValue = this.value); + } + _onInputFocusOut() { + this._inputFocused = !1, this._onInputChange(); + } + _setButtonState() { + this._decIconDisabled = this.min !== void 0 && this.value <= this.min, this._incIconDisabled = this.max !== void 0 && this.value >= this.max; + } + _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 ? q.None : q.Error, !this.fireEvent("value-state-change", { valueState: this.valueState, valid: e }, !0) && (this.valueState = t); + } + _preciseValue(e) { + const t = 10 ** this.valuePrecision; + return Math.round(e * t) / t; + } + _fireChangeEvent() { + this._previousValue !== this.value && (this._previousValue = this.value, this.fireEvent("change", { value: this.value })); + } + /** + * Value modifier - modifies the value of the component, validates the new value and enables/disables increment and + * decrement buttons according to the value and min/max values (if set). Fires change event when requested + * + * @private + * @param modifier modifies the value of the component with the given modifier (positive or negative) + * @param fireChangeEvent if true, fires change event when the value is changed + */ + _modifyValue(e, t = !1) { + let o; + this.value = this._preciseValue(parseFloat(this.input.value)), o = this.value + e, this.min !== void 0 && o < this.min && (o = this.min), this.max !== void 0 && o > this.max && (o = this.max), o = this._preciseValue(o), o !== this.value && (this.value = o, this._validate(), this._setButtonState(), this.focused = !0, this.inputOuter.setAttribute("focused", ""), t ? this._fireChangeEvent() : this.input.focus()); + } + _incValue(e) { + this._incIconClickable && e.isTrusted && !this.disabled && !this.readonly && (this._modifyValue(this.step, !0), this._previousValue = this.value); + } + _decValue(e) { + this._decIconClickable && e.isTrusted && !this.disabled && !this.readonly && (this._modifyValue(-this.step, !0), this._previousValue = this.value); + } + _onInputChange() { + this.input.value === "" && (this.input.value = this.min || 0); + const e = this._preciseValue(parseFloat(this.input.value)); + (this.value !== this._previousValue || this.value !== e) && (this.value = e, this._validate(), this._setButtonState(), this._fireChangeEvent()); + } + _onfocusin() { + this.focused = !0; + } + _onfocusout() { + this.focused = !1; + } + _onkeydown(e) { + let t = !0; + if (!(this.disabled || this.readonly)) { + if (Se(e)) { + this._onInputChange(); + return; + } + Ye(e) ? this._modifyValue(this.step) : Ue(e) ? this._modifyValue(-this.step) : Ni(e) ? (this.value = this._previousValue, this.input.value = this.value.toFixed(this.valuePrecision)) : this.max !== void 0 && (xl(e) || EI(e)) ? this._modifyValue(this.max - this.value) : this.min !== void 0 && (Vu(e) || BI(e)) ? this._modifyValue(this.min - this.value) : !Ln(e) && !Fn(e) && !sn(e) && !Tr(e) && (t = !1), t && e.preventDefault(); + } + } + _decSpin() { + this._decIconDisabled || this._spinValue(!1, !0); + } + _incSpin() { + this._incIconDisabled || this._spinValue(!0, !0); + } + /** + * Calculates the time which should be waited until _spinValue function is called. + */ + _calcWaitTimeout() { + return this._speed *= uH, this._waitTimeout = this._waitTimeout - this._speed < Ig ? Ig : this._waitTimeout - this._speed, this._waitTimeout; + } + /** + * Called when the increment or decrement button is pressed and held to set new value. + * @private + * @param increment - is this the increment button or not so the values should be spin accordingly up or down + * @param resetVariables - whether to reset the spin-related variables or not + */ + _spinValue(e, t = !1) { + t && (this._waitTimeout = cH, this._speed = dH, 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()); + } + /** + * Resets spin process + */ + _resetSpin() { + clearTimeout(this._spinTimeoutId), this._btnDown = !1, this._spinStarted = !1; + } + /** + * Resets spin process when mouse outs + or - buttons + */ + _resetSpinOut() { + this._btnDown && (this._resetSpin(), this._fireChangeEvent()); + } +}; +at([ + x({ validator: Kt, defaultValue: 0 }) +], Je.prototype, "value", void 0); +at([ + x({ validator: Kt }) +], Je.prototype, "min", void 0); +at([ + x({ validator: Kt }) +], Je.prototype, "max", void 0); +at([ + x({ validator: Kt, defaultValue: 1 }) +], Je.prototype, "step", void 0); +at([ + x({ type: q, defaultValue: q.None }) +], Je.prototype, "valueState", void 0); +at([ + x({ type: Boolean }) +], Je.prototype, "required", void 0); +at([ + x({ type: Boolean }) +], Je.prototype, "disabled", void 0); +at([ + x({ type: Boolean }) +], Je.prototype, "readonly", void 0); +at([ + x({ defaultValue: void 0 }) +], Je.prototype, "placeholder", void 0); +at([ + x() +], Je.prototype, "name", void 0); +at([ + x({ validator: ne, defaultValue: 0 }) +], Je.prototype, "valuePrecision", void 0); +at([ + x() +], Je.prototype, "accessibleName", void 0); +at([ + x({ defaultValue: "" }) +], Je.prototype, "accessibleNameRef", void 0); +at([ + x({ type: Boolean, noAttribute: !0 }) +], Je.prototype, "_decIconDisabled", void 0); +at([ + x({ type: Boolean, noAttribute: !0 }) +], Je.prototype, "_incIconDisabled", void 0); +at([ + x({ type: Boolean }) +], Je.prototype, "focused", void 0); +at([ + x({ type: Boolean, noAttribute: !0 }) +], Je.prototype, "_inputFocused", void 0); +at([ + x({ validator: Kt, noAttribute: !0 }) +], Je.prototype, "_previousValue", void 0); +at([ + x({ validator: Kt, noAttribute: !0 }) +], Je.prototype, "_waitTimeout", void 0); +at([ + x({ validator: Kt, noAttribute: !0 }) +], Je.prototype, "_speed", void 0); +at([ + x({ type: Boolean, noAttribute: !0 }) +], Je.prototype, "_btnDown", void 0); +at([ + x({ validator: ne, noAttribute: !0 }) +], Je.prototype, "_spinTimeoutId", void 0); +at([ + x({ type: Boolean, noAttribute: !0 }) +], Je.prototype, "_spinStarted", void 0); +at([ + K() +], Je.prototype, "valueStateMessage", void 0); +at([ + K() +], Je.prototype, "formSupport", void 0); +Je = Lc = at([ + X({ + tag: "ui5-step-input", + renderer: ue, + styles: lH, + template: Uz, + dependencies: [ + Pe, + Ar + ] + }), + U("change"), + U("value-state-change", { + detail: { + /** + * @public + */ + valueState: { + type: String + }, + /** + * @public + */ + valid: { + type: Boolean + } + } + }) +], Je); +Je.define(); +function hH(i, e, t) { + return t ? y`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step ? kg.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} name="direction-arrows" slider-icon>${this.showTooltip ? $g.call(this, i, e, t) : void 0}
    <${E("ui5-icon", e, t)} name="direction-arrows" slider-icon>${this.showTooltip ? xg.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    ` : y`
    ${a(this._ariaHandlesText.startHandleText)}${a(this._ariaHandlesText.endHandleText)}
    ${this.step ? kg.call(this, i, e, t) : void 0}
    ${this.showTooltip ? $g.call(this, i, e, t) : void 0}
    ${this.showTooltip ? xg.call(this, i, e, t) : void 0}
    ${a(this.accessibleName)}${a(this._ariaLabelledByText)}
    `; +} +function kg(i, e, t) { + return y`${this.showTickmarks ? _H.call(this, i, e, t) : void 0}`; +} +function _H(i, e, t) { + return y`
      ${Y(this.tickmarksObject, (o, r) => o._id || r, (o, r) => pH.call(this, i, e, t, o, r))}
    ${this.labelInterval ? mH.call(this, i, e, t) : void 0}`; +} +function pH(i, e, t, o, r) { + return y`${o ? fH.call(this, i, e, t, o, r) : vH.call(this, i, e, t, o, r)}`; +} +function fH(i, e, t, o, r) { + return y`
  • `; +} +function vH(i, e, t, o, r) { + return y`
  • `; +} +function mH(i, e, t) { + return y`
      ${Y(this._labels, (o, r) => o._id || r, (o, r) => gH.call(this, i, e, t, o, r))}
    `; +} +function gH(i, e, t, o, r) { + return y`
  • ${a(o)}
  • `; +} +function $g(i, e, t) { + return y`
    ${a(this.tooltipStartValue)}
    `; +} +function xg(i, e, t) { + return y`
    ${a(this.tooltipEndValue)}
    `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const bH = { packageName: "@ui5/webcomponents", fileName: "themes/RangeSlider.css.ts", content: `:host([ui5-range-slider]) .ui5-slider-progress-container:before{background-color:var(--_ui5-v1-22-1-rc-0_slider_progress_container_dot_background)}.ui5-slider-root:hover:active .ui5-slider-handle:not(:focus){background:var(--sapSlider_RangeHandleBackground)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus){background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_active_background);border:var(--_ui5-v1-22-1-rc-0_slider_handle_focus_border);box-shadow:none}:host([range-pressed]) .ui5-slider-handle [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_active_handle_icon_display)}.ui5-slider-root:not(.ui5-slider-root-phone):focus .ui5-slider-inner .ui5-slider-handle,.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background_focus)}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-inner .ui5-slider-handle:focus [slider-icon]{display:none}.ui5-slider-root:not(.ui5-slider-root-phone) .ui5-slider-progress:focus:before{display:var(--_ui5-v1-22-1-rc-0_range_slider_legacy_progress_focus_display);content:"";position:absolute;width:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_width);border:var(--_ui5-v1-22-1-rc-0_slider_progress_outline);border-radius:var(--_ui5-v1-22-1-rc-0_range_slider_focus_outline_radius);top:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset);height:var(--_ui5-v1-22-1-rc-0_slider_outer_height);box-sizing:border-box;left:var(--_ui5-v1-22-1-rc-0_slider_progress_outline_offset_left)}.ui5-slider-progress{position:relative}.ui5-slider-progress:focus:after{border:.125rem solid var(--sapContent_FocusColor);border-radius:.5rem;content:"";display:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_display);position:absolute;top:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_top);left:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_left);padding:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_padding);width:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_width);height:var(--_ui5-v1-22-1-rc-0_range_slider_progress_focus_height);box-sizing:border-box}.ui5-slider-handle{background:var(--_ui5-v1-22-1-rc-0_range_slider_handle_background)}.ui5-slider-progress-container:hover~.ui5-slider-handle:not(:focus),.ui5-slider-handle:hover{background:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_bg)}.ui5-slider-root:hover .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_hover_handle_icon_display)}:host([range-pressed]) .ui5-slider-root:active .ui5-slider-handle:not(:focus) [slider-icon]{display:var(--_ui5-v1-22-1-rc-0_range_slider_root_active_handle_icon_display)} +` }; +var n_ = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Sa; +let Ll = Sa = class extends nn { + constructor() { + super(), this._isPressInCurrentRange = !1, this._handeIsPressed = !1, this._reversedValues = !1, this._stateStorage.startValue = void 0, this._stateStorage.endValue = void 0; + } + get tooltipStartValue() { + const t = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep); + return this.startValue.toFixed(t); + } + get tooltipEndValue() { + const t = this.constructor._getDecimalPrecisionOfNumber(this._effectiveStep); + return this.endValue.toFixed(t); + } + get _ariaDisabled() { + return this.disabled || void 0; + } + get _ariaLabelledByText() { + return Sa.i18nBundle.getText(v4); + } + get _ariaHandlesText() { + const e = this.effectiveDir === "rtl", t = this._areValuesReversed(), o = {}; + return e && !t || !e && t ? (o.startHandleText = Sa.i18nBundle.getText(Bp), o.endHandleText = Sa.i18nBundle.getText(Ep)) : (o.startHandleText = Sa.i18nBundle.getText(Ep), o.endHandleText = Sa.i18nBundle.getText(Bp)), o; + } + get _ariaValueNow() { + return Math.abs(this.endValue - this.startValue); + } + /** + * Check if the previously saved state is outdated. That would mean + * either it is the initial rendering or that a property has been changed + * programmatically - because the previous state is always updated in + * the interaction handlers. + * + * Normalize current properties, update the previously stored state. + * Update the visual UI representation of the 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)); + } + syncUIAndState() { + if (this.isPropertyUpdated("step") && (this._validateStep(this.step), this.storePropertyState("step")), this.isPropertyUpdated("min", "max", "startValue", "endValue")) { + this.storePropertyState("min", "max"); + const e = nn.clipValue(this.startValue, this._effectiveMin, this._effectiveMax); + this.startValue = e, this.updateStateStorageAndFireInputEvent("startValue"), this.storePropertyState("startValue"); + const t = nn.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.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.VISIBLE); + } + /** + * Handles focus out event of the focusable components inner elements. + * Prevent focusout when the focus is getting initially set within the slider before the + * slider customElement itself is finished focusing. + * + * Prevents the focus from leaving the Range Slider when the focus is managed between + * its inner elements in result of user interactions. + * + * Resets the stored Range Slider's initial values saved when it was first focused + * + * @private + */ + _onfocusout() { + if (this._isFocusing()) { + this._preventFocusOut(); + return; + } + this._setAffectedValue(void 0), this._startValueInitial = void 0, this._endValueInitial = void 0, this.showTooltip && (this._tooltipVisibility = nn.TOOLTIP_VISIBILITY.HIDDEN); + } + /** + * Handles keyup logic. If one of the handles came across the other + * swap the start and end values. Reset the affected value by the finished + * user interaction. + * + * @private + */ + _onkeyup() { + super._onkeyup(), this._setAffectedValue(void 0), (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) && this.fireEvent("change"), this._startValueAtBeginningOfAction = void 0, this._endValueAtBeginningOfAction = void 0; + } + _handleActionKeyPress(e) { + if (this._startValueAtBeginningOfAction = this.startValue, this._endValueAtBeginningOfAction = this.endValue, Ni(e)) { + this.update(void 0, this._startValueInitial, this._endValueInitial); + return; + } + this._setAffectedValueByFocusedElement(); + const t = this._effectiveMin, o = this._effectiveMax, r = this._valueAffected; + if ((Ii(e) || qt(e)) && !r) { + this._homeEndForSelectedRange(e, qt(e) ? "startValue" : "endValue", t, o); + return; + } + const n = this._handleActionKeyPressBase(e, r); + if (!n) + return; + const s = this.constructor; + if (r && !this._isPressInCurrentRange) { + const l = this[r], T = s.clipValue(n + l, t, o); + this.update(r, T, void 0); + } else if (n < 0 && this.startValue > t || n > 0 && this.endValue < o) { + const l = s.clipValue(n + this.startValue, t, o), T = s.clipValue(n + this.endValue, t, o); + this.update(r, l, T); + } + } + /** + * Determines affected value (start/end) depending on the currently + * active inner element within the Range Slider - used in the keyboard handling. + * + * @private + */ + _setAffectedValueByFocusedElement() { + this.shadowRoot.activeElement === this._startHandle && this._setAffectedValue("startValue"), this.shadowRoot.activeElement === this._endHandle && this._setAffectedValue("endValue"), this.shadowRoot.activeElement === this._progressBar && this._setAffectedValue(void 0), this._setIsPressInCurrentRange(!this._valueAffected); + } + /** + * Calculates the start and end values when the 'Home" or 'End' keys + * are pressed on the selected range bar. + * + * @private + */ + _homeEndForSelectedRange(e, t, o, r) { + const n = this._handleActionKeyPressBase(e, t), s = this.constructor, l = s.clipValue(n + this.startValue, o, r), T = s.clipValue(n + this.endValue, o, r); + this.update(void 0, l, T); + } + /** + * Update values, stored inner state and the visual UI representation of the component. + * If no specific type of value property is passed - the range is selected - update both handles, + * otherwise update the handle corresponding to the affected by the user interacton value prop. + * + * @private + */ + update(e, t, o) { + if (!e) + this.startValue = t, this.updateStateStorageAndFireInputEvent("startValue"), this.endValue = o, this.updateStateStorageAndFireInputEvent("endValue"), this._updateHandlesAndRange(0); + else { + const r = o && e === "endValue" ? o : t; + this._updateHandlesAndRange(r || 0), e === "startValue" && (this.startValue = r, this.updateStateStorageAndFireInputEvent("startValue")), e === "endValue" && (this.endValue = r, this.updateStateStorageAndFireInputEvent("endValue")); + } + } + /** + * Called when the user starts interacting with the slider + * + * @private + */ + _onmousedown(e) { + if (this.disabled || this._effectiveStep === 0) + return; + const t = this.handleDownBase(e); + if (this._saveInteractionStartData(e, t), this.rangePressed = this._isPressInCurrentRange, this._isPressInCurrentRange || this._handeIsPressed) { + this._handeIsPressed = !1; + return; + } + this.update(this._valueAffected, t, void 0); + } + /** + * Determines and saves needed values from the start of the interaction: + * + * Is the value calculated is within the currently selected range; + * Initial pageX position of the start handle affected by the interaction; + * Initial pageX value of the pressed postion; + * Affected value property by the action; + * + * @private + */ + _saveInteractionStartData(e, t) { + const o = this.shadowRoot.querySelector(".ui5-slider-progress").getBoundingClientRect(); + this._startValueAtBeginningOfAction = this.startValue, this._endValueAtBeginningOfAction = this.endValue; + const r = this.constructor; + this._initialPageXPosition = r.getPageXValueFromEvent(e), this._pressTargetAndAffectedValue(this._initialPageXPosition, t), this._initialStartHandlePageX = this.directionStart === "left" ? o.left : o.right; + } + /** + * Called when the user moves the slider + * + * @private + */ + _handleMove(e) { + if (e.preventDefault(), !(this.disabled || this._effectiveStep === 0)) { + if (!this._isPressInCurrentRange) { + this._updateValueOnHandleDrag(e); + return; + } + this._updateValueOnRangeDrag(e); + } + } + /** + * Updates UI and state when dragging a single Range Slider handle + * + * @private + */ + _updateValueOnHandleDrag(e) { + const o = this.constructor.getValueFromInteraction(e, this._effectiveStep, this._effectiveMin, this._effectiveMax, this.getBoundingClientRect(), this.directionStart); + this.update(this._valueAffected, o, void 0); + } + /** + * Updates UI and state when dragging of the whole selected range + * + * @private + */ + _updateValueOnRangeDrag(e) { + const o = this.constructor.getPageXValueFromEvent(e), r = this._calculateRangeOffset(o, this._initialStartHandlePageX); + this._setAffectedValue(void 0), this.update(void 0, r[0], r[1]); + } + _handleUp() { + this._setAffectedValueByFocusedElement(), this._setAffectedValue(void 0), (this.startValue !== this._startValueAtBeginningOfAction || this.endValue !== this._endValueAtBeginningOfAction) && this.fireEvent("change"), this._setIsPressInCurrentRange(!1), this.handleUpBase(), this.rangePressed = !1, this._startValueAtBeginningOfAction = void 0, this._endValueAtBeginningOfAction = void 0; + } + /** + * Determines where the press occured and which values of the Range Slider + * handles should be updated on further interaction. + * + * If the press is not in the selected range or over one of the Range Slider handles + * determines which one from the value/endValue properties has to be updated + * after the user action (based on closest handle). + * + * Set flags if the press is over a handle or in the selected range, + * in such cases no values are changed on interaction start, but could be + * updated later when dragging. + * + * @private + */ + _pressTargetAndAffectedValue(e, t) { + const o = this.shadowRoot.querySelector(".ui5-slider-handle--start"), r = this.shadowRoot.querySelector(".ui5-slider-handle--end"), n = o.getBoundingClientRect(), s = r.getBoundingClientRect(), l = e >= n.left && e <= n.right, T = e >= s.left && e <= s.right; + (T || l) && (this._handeIsPressed = !0), (T || t > this.endValue) && this._setAffectedValue("endValue"), (l || t < this.startValue) && this._setAffectedValue("startValue"); + const w = this._startValueAtBeginningOfAction !== void 0 && this._endValueAtBeginningOfAction !== void 0 && t >= this._startValueAtBeginningOfAction && t <= this._endValueAtBeginningOfAction; + this._setIsPressInCurrentRange(this._valueAffected || this._handeIsPressed ? !1 : w); + } + /** + * Sets the value property (start/end) that will get updated + * by a user action depending on that user action's characteristics + * - mouse press position - cursor coordinates relative to the start/end handles + * - selected inner element via a keyboard navigation + * + * @param affectedValue The value that will get modified by the interaction + * @private + */ + _setAffectedValue(e) { + this._valueAffected = e, this._areValuesReversed() && this._setValuesAreReversed(); + } + /** + * Flag if press action is made on the currently selected range of values + * + * @param isPressInCurrentRange Did the current press action occur in the current range (between the two handles) + * @private + */ + _setIsPressInCurrentRange(e) { + this._isPressInCurrentRange = e; + } + /** + * Manage the focus between the focusable inner elements within the component. + * + * On initial focusin or if the whole range is affected by the user interaction + * set the focus on the progress selection, otherwise on one of the Range Slider + * handles based on the determined affected value by the user action. + * + * If one of the handles came across the other one in result of a user action + * switch the focus between them to keep it visually consistent. + * + * Note: + * In some cases this function is going to get called twice on one user action. + * + * 1. When the focus is initially set to an inner element it is done in the very beginning, + * of an interaction - on 'mousedown' and 'keydown' events. The focus of the host custom element + * is still not being received, causining an immediate focusout that we prevent by + * calling this function once again. + * + * 2. When the focused is manually switched from one inner element to another. + * The focusout handler is one and the same for all focusable parts within the + * Range Slider and when is called it checks if it should keep the focus within + * the component and which part of it should get focused if that is the case. + * + * @protected + */ + focusInnerElement() { + const e = this._areValuesReversed(), t = this._valueAffected; + (this._isPressInCurrentRange || !t) && this._progressBar.focus(), (t === "startValue" && !e || t === "endValue" && e) && this._startHandle.focus(), (t === "endValue" && !e || t === "startValue" && e) && this._endHandle.focus(); + } + /** + * Calculates startValue/endValue properties when the whole range is moved. + * + * Uses the change of the position of the start handle and adds the initially + * selected range to it, to determine the whole range offset. + * + * @param currentPageXPos The current horizontal position of the cursor/touch + * @param initialStartHandlePageXPos The initial horizontal position of the start handle + * + * @private + */ + _calculateRangeOffset(e, t) { + if (this._initialPageXPosition === e) + return [this.startValue, this.endValue]; + const o = this._effectiveMin, r = this._effectiveMax, n = this.endValue - this.startValue; + let s = this._calculateStartValueByOffset(e, t); + return s = this.constructor.clipValue(s, o, r - n), [s, s + n]; + } + /** + * Computes the new value based on the difference of the current cursor location from the + * start of the interaction. + * + * @param currentPageXPos The current horizontal position of the cursor/touch + * @param initialStartHandlePageXPos The initial horizontal position of the start handle + * + * @private + */ + _calculateStartValueByOffset(e, t) { + const o = this._effectiveMin, r = this._effectiveMax, n = this._effectiveStep, s = this.getBoundingClientRect(); + let l, T, w; + const S = this.constructor; + return e > this._initialPageXPosition ? (w = e - this._initialPageXPosition, T = t + w, l = S.computedValueFromPageX(T, o, r, s, this.directionStart), l = S.getSteppedValue(l, n, o)) : (w = this._initialPageXPosition - e, T = t - w, l = S.computedValueFromPageX(T, o, r, s, this.directionStart), l = S.getSteppedValue(l, n, o)), l; + } + /** + * Updates the visual representation of the component by calculating + * the styles of the handles and the range selection based on the new state. + * + * @private + */ + _updateHandlesAndRange(e) { + const t = this._effectiveMax, o = this._effectiveMin, r = this.getStoredPropertyState("startValue") || 0, n = this.getStoredPropertyState("endValue") || 0, s = this._valueAffected; + s === "startValue" ? (this._selectedRange = (n - e) / (t - o), this._firstHandlePositionFromStart = (e - o) / (t - o) * 100) : s === "endValue" ? (this._selectedRange = (e - r) / (t - o), this._secondHandlePositionFromStart = (e - o) / (t - o) * 100) : (this._selectedRange = (this.endValue - this.startValue) / (t - o), this._firstHandlePositionFromStart = (this.startValue - o) / (t - o) * 100, this._secondHandlePositionFromStart = (this.endValue - o) / (t - o) * 100); + } + /** + * Swaps the start and end values of the handles if one came accros the other: + * - If the start value is greater than the endValue swap them and their handles + * - If the endValue become less than the start value swap them and their handles + * + * Switches the focus to the opposite of the currently focused handle. + * + * Note: Only the property values are reversed, the DOM elements of the handles + * corresponding to them are never switched. + * + * @private + */ + _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.focusInnerElement(), this.syncUIAndState(); + } + } + /** + * Flag that we have swapped the values of the 'start' and 'end' properties, + * to correctly switch the focus within the component from one handle to another + * when the swapping is finished. As we only swap property values and not + * the handle elements themselves, we must also swap their focus. + * + * @private + */ + _setValuesAreReversed() { + this._reversedValues = !this._reversedValues; + } + _areValuesReversed() { + return this._reversedValues; + } + get tickmarksObject() { + const e = this._tickmarksCount, t = []; + if (this._hiddenTickmarks) + return [!1, !1]; + for (let o = 0; o <= e; o++) { + const r = this._effectiveMin + o * this.step >= this.startValue, n = this._effectiveMin + o * this.step <= this.endValue; + t.push(r && n); + } + return t; + } + get _startHandle() { + return this.shadowRoot.querySelector(".ui5-slider-handle--start"); + } + get _endHandle() { + return this.shadowRoot.querySelector(".ui5-slider-handle--end"); + } + get _progressBar() { + return this.shadowRoot.querySelector(".ui5-slider-progress"); + } + get _ariaLabelledByStartHandleRefs() { + return [`${this._id}-accName`, `${this._id}-startHandleDesc`].join(" ").trim(); + } + get _ariaLabelledByEndHandleRefs() { + return [`${this._id}-accName`, `${this._id}-endHandleDesc`].join(" ").trim(); + } + get _ariaLabelledByProgressBarRefs() { + return [`${this._id}-accName`, `${this._id}-sliderDesc`].join(" ").trim(); + } + get styles() { + return { + progress: { + width: `${this._selectedRange * 100}%`, + "transform-origin": `${this.directionStart} top`, + [this.directionStart]: `${this._firstHandlePositionFromStart}%` + }, + startHandle: { + [this.directionStart]: `${this._firstHandlePositionFromStart}%` + }, + endHandle: { + [this.directionStart]: `${this._secondHandlePositionFromStart}%` + }, + label: { + width: `${this._labelWidth}%` + }, + labelContainer: { + width: "100%", + [this.directionStart]: `-${this._labelWidth / 2}%` + }, + tooltip: { + visibility: `${this._tooltipVisibility}` + } + }; + } + static async onDefine() { + Sa.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +n_([ + x({ validator: Kt, defaultValue: 0 }) +], Ll.prototype, "startValue", void 0); +n_([ + x({ validator: Kt, defaultValue: 100 }) +], Ll.prototype, "endValue", void 0); +n_([ + x({ type: Boolean }) +], Ll.prototype, "rangePressed", void 0); +Ll = Sa = n_([ + X({ + tag: "ui5-range-slider", + languageAware: !0, + template: hH, + dependencies: [Pe], + styles: [nn.styles, bH] + }) +], Ll); +Ll.define(); +var E1; +(function(i) { + i.Textual = "Textual", i.Graphical = "Graphical"; +})(E1 || (E1 = {})); +const B1 = E1; +function yH(i, e, t) { + return t ? y`
    ${this.graphical ? Ag.call(this, i, e, t) : Eg.call(this, i, e, t)}<${E("ui5-icon", e, t)} name="${a(this.sapNextIcon)}" class="ui5-switch-handle-icon">
    ` : y`
    ${this.graphical ? Ag.call(this, i, e, t) : Eg.call(this, i, e, t)}
    `; +} +function Ag(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="accept" class="ui5-switch-icon-on"><${E("ui5-icon", e, t)} name="decline" class="ui5-switch-icon-off">` : y``; +} +function Eg(i, e, t) { + return y`${this.hasNoLabel ? wH.call(this, i, e, t) : CH.call(this, i, e, t)}`; +} +function wH(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-on"><${E("ui5-icon", e, t)} name="${a(this.sapNextIcon)}" class="ui5-switch-no-label-icon-off">` : y``; +} +function CH(i, e, t) { + return y`${a(this._textOn)}${a(this._textOff)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const SH = { packageName: "@ui5/webcomponents", fileName: "themes/Switch.css.ts", content: `.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(:not([hidden])){display:inline-block}.ui5-switch-root{position:relative;display:flex;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_width);height:var(--_ui5-v1-22-1-rc-0_switch_height);min-width:var(--_ui5-v1-22-1-rc-0_switch_min_width);cursor:pointer;outline:none;border-radius:var(--_ui5-v1-22-1-rc-0-switch-root-border-radius)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic){width:var(--_ui5-v1-22-1-rc-0_switch_with_label_width);height:var(--_ui5-v1-22-1-rc-0_switch_height)}.ui5-switch-root.ui5-switch--no-label{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0-switch-root-box-shadow)}.ui5-switch-track{display:flex;align-items:center;height:var(--_ui5-v1-22-1-rc-0_switch_track_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_width);border:var(--_ui5-v1-22-1-rc-0-switch-track-border);border-radius:var(--_ui5-v1-22-1-rc-0_switch_track_border_radius);box-sizing:border-box;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-track{height:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_track_with_label_width)}.ui5-switch-slider{position:relative;height:var(--_ui5-v1-22-1-rc-0_switch_height);width:100%;transition:transform .1s ease-in;transform-origin:top left}.ui5-switch-slider>*:not(.ui5-switch-handle){display:var(--_ui5-v1-22-1-rc-0-switch-slider-texts-display)}.ui5-switch-handle{position:absolute;display:flex;justify-content:center;align-items:center;width:var(--_ui5-v1-22-1-rc-0_switch_handle_width);height:var(--_ui5-v1-22-1-rc-0_switch_handle_height);border:var(--_ui5-v1-22-1-rc-0_switch_handle_border);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_with_label_height);width:var(--_ui5-v1-22-1-rc-0_switch_handle_with_label_width)}.ui5-switch-handle-icon{display:var(--_ui5-v1-22-1-rc-0-switch-handle-icon-display);transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition)}:host([checked]) .ui5-switch-handle-icon{color:var(--_ui5-v1-22-1-rc-0-switch_track-on-background)}.ui5-switch-text{display:flex;justify-content:center;position:absolute;z-index:var(--_ui5-v1-22-1-rc-0_switch_text_z_index);min-width:var(--_ui5-v1-22-1-rc-0_switch_text_min_width);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);font-family:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_switch_handle_left);top:50%;transform:translateY(-50%)}.ui5-switch-desktop.ui5-switch-root:focus:after{content:"";position:absolute;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_root_outline_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_root_outline_right);top:var(--_ui5-v1-22-1-rc-0_switch_root_outline_top);bottom:var(--_ui5-v1-22-1-rc-0_switch_root_outline_bottom);border:var(--_ui5-v1-22-1-rc-0_switch_focus_outline);border-radius:var(--_ui5-v1-22-1-rc-0_switch_root_after_boreder_radius);pointer-events:none;transition:var(--_ui5-v1-22-1-rc-0_switch_track_transition);outline:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_disabled_opacity);cursor:default}.ui5-switch-root.ui5-switch--checked .ui5-switch-text--off{visibility:var(--_ui5-v1-22-1-rc-0_switch_text_hidden)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-text--on{visibility:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_inactive_left);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right)}.ui5-switch-root.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-handle{background:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_handle_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_handle_semantic_hover_reject_border_color)}.ui5-switch-root.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_active_border_color)}.ui5-switch-root:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_active_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_hover_inactive_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_hover_inactive_border_color)}.ui5-switch-root.ui5-switch--semantic.ui5-switch--checked .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_accept_border_color)}.ui5-switch-root.ui5-switch--semantic:not(.ui5-switch--checked) .ui5-switch-track{background:var(--_ui5-v1-22-1-rc-0_switch_track_semantic_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_accept_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_track_semantic_hover_reject_background_color);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_transform_with_label)}.ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height);display:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_icon_width);height:var(--_ui5-v1-22-1-rc-0_switch_icon_height)}.ui5-switch-root .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_width)}.ui5-switch-root:not(.ui5-switch--no-label):not(.ui5-switch--semantic) .ui5-switch-text{font-family:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_family);font-size:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_font_size);width:var(--_ui5-v1-22-1-rc-0_switch_text_with_label_width)}:host([active]) .ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled) .ui5-switch-track{background:var( --_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0-switch_track-on-active-background)}.ui5-switch-desktop.ui5-switch-root:not(.ui5-switch--disabled):hover .ui5-switch-handle{box-shadow:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_text_semantic_reject_color)}.ui5-switch-root .ui5-switch-text--on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_active_left_alternate)}.ui5-switch-root .ui5-switch-text--off{color:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_color);overflow:var(--_ui5-v1-22-1-rc-0_switch_text_overflow);text-overflow:ellipsis;inset-inline-start:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_left_alternate);inset-inline-end:var(--_ui5-v1-22-1-rc-0_switch_text_inactive_right_alternate)}.ui5-switch-root .ui5-switch-no-label-icon-on,.ui5-switch-root .ui5-switch-icon-on{color:var(--_ui5-v1-22-1-rc-0_switch_text_active_color)}.ui5-switch-root .ui5-switch-no-label-icon-off,.ui5-switch-root .ui5-switch-icon-off{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_switch_rtl_transform_with_label)}[dir=rtl].ui5-switch-root.ui5-switch--checked .ui5-switch-slider{transform:var(--_ui5-v1-22-1-rc-0_switch_rtl_transform)} +` }; +var dr = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, D1; +let no = D1 = class extends te { + onBeforeRendering() { + this._enableFormSupport(); + } + _enableFormSupport() { + const e = ze("FormSupport"); + e ? e.syncNativeHiddenInput(this, (t, o) => { + const r = t; + o.checked = !!r.checked, o.disabled = !!r.disabled, o.value = r.checked ? "on" : ""; + }) : this.name && console.warn('In order for the "name" property to have effect, you should also: import "@ui5/webcomponents/dist/features/InputElementsFormSupport.js";'); + } + get sapNextIcon() { + return this.checked ? "accept" : "less"; + } + _onclick() { + this.toggle(); + } + _onkeydown(e) { + se(e) && e.preventDefault(), Se(e) && this._onclick(); + } + _onkeyup(e) { + se(e) && this._onclick(); + } + toggle() { + if (!this.disabled) { + this.checked = !this.checked; + const e = !this.fireEvent("change", null, !0), t = !this.fireEvent("value-changed", null, !0); + (e || t) && (this.checked = !this.checked); + } + } + get graphical() { + return this.design === B1.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 effectiveTabIndex() { + return this.disabled ? void 0 : "0"; + } + get classes() { + const e = this.graphical || this.textOn || this.textOff; + return { + main: { + "ui5-switch-desktop": Zo(), + "ui5-switch--disabled": this.disabled, + "ui5-switch--checked": this.checked, + "ui5-switch--semantic": this.graphical, + "ui5-switch--no-label": !e + } + }; + } + get effectiveAriaDisabled() { + return this.disabled ? "true" : void 0; + } + get accessibilityOnText() { + return this._textOn; + } + get accessibilityOffText() { + return this._textOff; + } + get hiddenText() { + return this.checked ? this.accessibilityOnText : this.accessibilityOffText; + } + get ariaLabelText() { + return [Xt(this), this.hiddenText].join(" ").trim(); + } + static async onDefine() { + D1.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +dr([ + x({ type: B1, defaultValue: B1.Textual }) +], no.prototype, "design", void 0); +dr([ + x({ type: Boolean }) +], no.prototype, "checked", void 0); +dr([ + x({ type: Boolean }) +], no.prototype, "disabled", void 0); +dr([ + x() +], no.prototype, "textOn", void 0); +dr([ + x() +], no.prototype, "textOff", void 0); +dr([ + x() +], no.prototype, "accessibleName", void 0); +dr([ + x({ defaultValue: "" }) +], no.prototype, "accessibleNameRef", void 0); +dr([ + x() +], no.prototype, "tooltip", void 0); +dr([ + x({ type: Boolean }) +], no.prototype, "required", void 0); +dr([ + x() +], no.prototype, "name", void 0); +dr([ + K() +], no.prototype, "formSupport", void 0); +no = D1 = dr([ + X({ + tag: "ui5-switch", + languageAware: !0, + styles: SH, + renderer: ue, + template: yH, + dependencies: [Pe] + }), + U("change") +], no); +no.define(); +var P1; +(function(i) { + i.Information = "Information", i.Positive = "Positive", i.Negative = "Negative", i.Warning = "Warning"; +})(P1 || (P1 = {})); +const Bg = P1; +function TH(i, e, t) { + return y`
    ${this.hideIcon ? void 0 : IH.call(this, i, e, t)}${a(this.hiddenText)}${this.hideCloseButton ? void 0 : xH.call(this, i, e, t)}
    `; +} +function IH(i, e, t) { + return y``; +} +function kH(i, e, t) { + return y``; +} +function $H(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="${a(this.standardIconName)}" class="ui5-message-strip-icon">` : y``; +} +function xH(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} icon="decline" design="Transparent" class="ui5-message-strip-close-button" tooltip="${a(this._closeButtonText)}" @click=${this._closeClick}>` : y``; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const AH = { packageName: "@ui5/webcomponents", fileName: "themes/MessageStrip.css.ts", content: `.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;width:100%}.ui5-message-strip-root{width:100%;height:100%;display:flex;border-radius:var(--sapPopover_BorderCornerRadius);padding:var(--_ui5-v1-22-1-rc-0_message_strip_padding);border-width:var(--_ui5-v1-22-1-rc-0_message_strip_border_width);border-style:solid;box-sizing:border-box;position:relative}.ui5-message-strip-root-hide-icon{padding-inline:var(--_ui5-v1-22-1-rc-0_message_strip_padding_inline_no_icon);padding-block:var(--_ui5-v1-22-1-rc-0_message_strip_padding_block_no_icon)}.ui5-message-strip-root-hide-close-button{padding-inline-end:1rem}.ui5-message-strip-root--info{background-color:var(--sapInformationBackground);border-color:var(--sapMessage_InformationBorderColor);color:var(--sapTextColor)}.ui5-message-strip-root--info .ui5-message-strip-icon{color:var(--sapInformativeElementColor)}.ui5-message-strip-root--positive{background-color:var(--sapSuccessBackground);border-color:var(--sapMessage_SuccessBorderColor)}.ui5-message-strip-root--positive .ui5-message-strip-icon{color:var(--sapPositiveElementColor)}.ui5-message-strip-root--negative{background-color:var(--sapErrorBackground);border-color:var(--sapMessage_ErrorBorderColor)}.ui5-message-strip-root--negative .ui5-message-strip-icon{color:var(--sapNegativeElementColor)}.ui5-message-strip-root--warning{background-color:var(--sapWarningBackground);border-color:var(--sapMessage_WarningBorderColor)}.ui5-message-strip-root--warning .ui5-message-strip-icon{color:var(--sapCriticalElementColor)}.ui5-message-strip-icon-wrapper{position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_icon_top);inset-inline-start:.75rem;box-sizing:border-box}.ui5-message-strip-text{width:100%;color:var(--sapTextColor);line-height:1.2;font-family:"72override",var(--sapFontFamily);font-size:var(--sapFontSize)}.ui5-message-strip-close-button{height:1.625rem;min-height:1.625rem;position:absolute;top:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_top);inset-inline-end:var(--_ui5-v1-22-1-rc-0_message_strip_close_button_right)} +` }; +var nd = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, ys, O1; +(function(i) { + i.Information = "ui5-message-strip-root--info", i.Positive = "ui5-message-strip-root--positive", i.Negative = "ui5-message-strip-root--negative", i.Warning = "ui5-message-strip-root--warning"; +})(O1 || (O1 = {})); +var R1; +(function(i) { + i.Information = "information", i.Positive = "sys-enter-2", i.Negative = "error", i.Warning = "alert"; +})(R1 || (R1 = {})); +let Ys = ys = class extends te { + _closeClick() { + this.fireEvent("close"); + } + static async onDefine() { + ys.i18nBundle = await pe("@ui5/webcomponents"); + } + static designAnnouncementMappings() { + const e = (t) => ys.i18nBundle.getText(t); + return { + Information: e(c4), + Positive: e(l4), + Negative: e(a4), + Warning: e(s4) + }; + } + get hiddenText() { + return `${ys.designAnnouncementMappings()[this.design]} ${this.hideCloseButton ? "" : this._closableText}`; + } + get _closeButtonText() { + return ys.i18nBundle.getText(r4); + } + get _closableText() { + return ys.i18nBundle.getText(n4); + } + get classes() { + return { + root: { + "ui5-message-strip-root": !0, + "ui5-message-strip-root-hide-icon": this.hideIcon, + "ui5-message-strip-root-hide-close-button": this.hideCloseButton, + [this.designClasses]: !0 + } + }; + } + get iconProvided() { + return this.icon.length > 0; + } + get standardIconName() { + return R1[this.design]; + } + get designClasses() { + return O1[this.design]; + } +}; +nd([ + x({ + type: Bg, + defaultValue: Bg.Information + }) +], Ys.prototype, "design", void 0); +nd([ + x({ type: Boolean }) +], Ys.prototype, "hideIcon", void 0); +nd([ + x({ type: Boolean }) +], Ys.prototype, "hideCloseButton", void 0); +nd([ + K() +], Ys.prototype, "icon", void 0); +Ys = ys = nd([ + X({ + tag: "ui5-message-strip", + languageAware: !0, + renderer: ue, + template: TH, + styles: AH, + dependencies: [Pe, Ne] + }), + U("close") +], Ys); +Ys.define(); +const EH = "multiselect-all", OC = "M92 472l80-97 20 19L92 512l-60-59 20-20zm80-285l20 19L92 323l-60-59 20-19 40 38zm0-187l20 19L92 137 32 78l20-21 40 40zm292 65q16 0 16 16 0 6-4.5 11T464 97H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 191q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191zm0 192q16 0 16 16 0 6-4.5 11t-11.5 5H273q-6 0-11-5t-5-11q0-7 5-11.5t11-4.5h191z", BH = !0, DH = "SAP-icons-v4", PH = "@ui5/webcomponents-icons"; +J(EH, { pathData: OC, ltr: BH, collection: DH, packageName: PH }); +const OH = "multiselect-all", RC = "M198 0q11 0 18.5 7.5T224 26q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 57q10 0 19 9l27 30 75-87q8-9 19-9zm84 96q-11 0-18.5-7.5T256 70t7.5-18 18.5-7h172q11 0 18.5 7t7.5 18-7.5 18.5T454 96H282zm-84 80q11 0 18.5 7.5T224 202q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 233q10 0 19 9l27 30 75-87q8-9 19-9zm256 48q11 0 18.5 7.5T480 250t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 224h172zM198 352q11 0 18.5 7.5T224 378q0 8-6 16l-94 109q-7 9-19 9-11 0-19-8l-47-52q-7-7-7-17 0-11 7.5-18.5T58 409q10 0 19 9l27 30 75-87q8-9 19-9zm256 64q11 0 18.5 7.5T480 442t-7.5 18-18.5 7H282q-11 0-18.5-7t-7.5-18 7.5-18.5T282 416h172z", RH = !0, NH = "SAP-icons-v5", MH = "@ui5/webcomponents-icons"; +J(OH, { pathData: RC, ltr: RH, collection: NH, packageName: MH }); +Te(); +var NC = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let ku = class extends Z6 { + get stableDomRef() { + return this.getAttribute("stable-dom-ref") || `${this._id}-stable-dom-ref`; + } +}; +NC([ + x({ type: Boolean }) +], ku.prototype, "selected", void 0); +ku = NC([ + X("ui5-mcb-item") +], ku); +ku.define(); +const MC = ku; +var LC = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}; +let $u = class extends te { + /** + * Used to avoid tag name checks + * @protected + */ + get isGroupItem() { + return !0; + } + get selected() { + return !1; + } + get stableDomRef() { + return this.getAttribute("stable-dom-ref") || `${this._id}-stable-dom-ref`; + } +}; +LC([ + x() +], $u.prototype, "text", void 0); +$u = LC([ + X("ui5-mcb-group-item") +], $u); +$u.define(); +const LH = $u; +function FH(i, e, t) { + return t ? y`
    ${a(this._tokensCountText)}${this.hasValueState ? Dg.call(this, i, e, t) : void 0}<${E("ui5-tokenizer", e, t)} slot="_beginContent" show-more prevent-popover-open class="ui5-multi-combobox-tokenizer" ?disabled="${this.disabled}" @ui5-show-more-items-press="${a(this._showFilteredItems)}" .morePopoverOpener=${a(this.morePopoverOpener)} .popoverMinWidth=${a(this._inputWidth)} @ui5-token-delete="${a(this._tokenDelete)}" @ui5-before-more-popover-open="${a(this.handleBeforeTokenizerPopoverOpen)}" @focusout="${this._tokenizerFocusOut}" @focusin="${this._tokenizerFocusIn}" @click=${this._click} @paste=${this._handlePaste} @keydown="${this._onTokenizerKeydown}" ?expanded="${this._tokenizerExpanded}">${Y(this.items, (o, r) => o._id || r, (o, r) => Pg.call(this, i, e, t, o, r))}${this._effectiveShowClearIcon ? Og.call(this, i, e, t) : void 0}${this.icon ? Rg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Ng.call(this, i, e, t)}
    ` : y`
    ${a(this._tokensCountText)}${this.hasValueState ? Dg.call(this, i, e, t) : void 0}${Y(this.items, (o, r) => o._id || r, (o, r) => Pg.call(this, i, e, t, o, r))}${this._effectiveShowClearIcon ? Og.call(this, i, e, t) : void 0}${this.icon ? Rg.call(this, i, e, t) : void 0}${this.readonly ? void 0 : Ng.call(this, i, e, t)}
    `; +} +function Dg(i, e, t) { + return y`${a(this.ariaValueStateHiddenText)}`; +} +function Pg(i, e, t, o, r) { + return y`${o.selected ? zH.call(this, i, e, t, o, r) : void 0}`; +} +function zH(i, e, t, o, r) { + return t ? y`<${E("ui5-token", e, t)} ?readonly="${this.readonly}" class="ui5-multi-combobox-token" data-ui5-id="${a(o._id)}" part="token-${r}" text="${a(o.text)}">` : y``; +} +function Og(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} tabindex="-1" class="ui5-input-clear-icon" name="decline" accessible-name="${a(this.clearIconAccessibleName)}">
    ` : y`
    `; +} +function Rg(i, e, t) { + return y``; +} +function Ng(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="slim-arrow-down" input-icon slot="icon" tabindex="-1" @click="${this.togglePopoverByDropdownIcon}" @mousedown="${this._onIconMousedown}" @focusin="${this._forwardFocusToInner}" ?pressed="${this.open}" accessible-name="${a(this._iconAccessibleNameText)}">` : y``; +} +function HH(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} placement-type="Bottom" horizontal-align="Left" class="${W(this.classes.popover)}" hide-arrow _disable-initial-focus style="${G(this.styles.suggestionsPopover)}" @ui5-selection-change=${a(this._listSelectionChange)} @ui5-after-close=${a(this._afterClosePicker)} @ui5-before-open=${a(this._beforeOpen)} @ui5-after-open=${a(this._afterOpenPicker)}>${this._isPhone ? Mg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : Ug.call(this, i, e, t)}${this.filterSelected ? jg.call(this, i, e, t) : Yg.call(this, i, e, t)}${this._isPhone ? Kg.call(this, i, e, t) : void 0}${this.hasValueStateMessage ? Zg.call(this, i, e, t) : void 0} ` : y`${this._isPhone ? Mg.call(this, i, e, t) : void 0}${this._isPhone ? void 0 : Ug.call(this, i, e, t)}${this.filterSelected ? jg.call(this, i, e, t) : Yg.call(this, i, e, t)}${this._isPhone ? Kg.call(this, i, e, t) : void 0}${this.hasValueStateMessage ? Zg.call(this, i, e, t) : void 0} `; +} +function Mg(i, e, t) { + return t ? y`
    ${a(this._headerTitleText)}<${E("ui5-button", e, t)} class="ui5-responsive-popover-close-btn" icon="decline" design="Transparent" @click="${this.handleCancel}">
    <${E("ui5-input", e, t)} @ui5-input="${a(this._handleMobileInput)}" @ui5-change="${a(this._mobileInputChange)}" placeholder="${a(this.placeholder)}" value-state="${a(this._dialogInputValueState)}" ?show-clear-icon="${this.showClearIcon}" ?no-typeahead="${this.noTypeahead}">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Lg.call(this, i, e, t, o, r))}<${E("ui5-toggle-button", e, t)} slot="header" class="ui5-multi-combobox-toggle-button" icon="multiselect-all" design="Transparent" ?pressed=${this._showAllItemsButtonPressed} @click="${this.filterSelectedItems}" accessible-name="${a(this._showSelectedButtonAccessibleNameText)}">
    ${this.hasValueStateMessage ? Fg.call(this, i, e, t) : void 0}${this.showSelectAll ? Vg.call(this, i, e, t) : void 0}` : y`
    ${a(this._headerTitleText)}
    ${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Lg.call(this, i, e, t, o, r))}
    ${this.hasValueStateMessage ? Fg.call(this, i, e, t) : void 0}${this.showSelectAll ? Vg.call(this, i, e, t) : void 0}`; +} +function Lg(i, e, t, o, r) { + return t ? y`<${E("ui5-suggestion-item", e, t)} text="${a(o.text)}" additional-text="${a(o.additionalText)}">` : y``; +} +function Fg(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? zg.call(this, i, e, t) : Hg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? zg.call(this, i, e, t) : Hg.call(this, i, e, t)}
    `; +} +function zg(i, e, t) { + return y`${a(this.valueStateDefaultText)}`; +} +function Hg(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => VH.call(this, i, e, t, o, r))}`; +} +function VH(i, e, t, o, r) { + return y`${a(o)}`; +} +function Vg(i, e, t) { + return t ? y`
    <${E("ui5-checkbox", e, t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    ` : y`
    `; +} +function Ug(i, e, t) { + return y`${this.hasValueStateMessage ? UH.call(this, i, e, t) : void 0}${this.showSelectAll ? WH.call(this, i, e, t) : void 0}`; +} +function UH(i, e, t) { + return t ? y`
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? qg.call(this, i, e, t) : Wg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? qg.call(this, i, e, t) : Wg.call(this, i, e, t)}
    `; +} +function qg(i, e, t) { + return y`${a(this.valueStateDefaultText)}`; +} +function Wg(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => qH.call(this, i, e, t, o, r))}`; +} +function qH(i, e, t, o, r) { + return y`${a(o)}`; +} +function WH(i, e, t) { + return t ? y`
    <${E("ui5-checkbox", e, t)} ?checked=${this._allSelected} class="ui5-mcb-select-all-checkbox" text="${a(this.selectAllCheckboxLabel)}" @ui5-change="${a(this._handleSelectAllCheckboxClick)}">
    ` : y`
    `; +} +function jg(i, e, t) { + return t ? y`<${E("ui5-list", e, t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${Y(this.selectedItems, (o, r) => o._id || r, (o, r) => Gg.call(this, i, e, t, o, r))}` : y`${Y(this.selectedItems, (o, r) => o._id || r, (o, r) => Gg.call(this, i, e, t, o, r))}`; +} +function Gg(i, e, t, o, r) { + return y`${o.isGroupItem ? jH.call(this, i, e, t, o, r) : GH.call(this, i, e, t, o, r)}`; +} +function jH(i, e, t, o, r) { + return t ? y`<${E("ui5-li-groupheader", e, t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; +} +function GH(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; +} +function Yg(i, e, t) { + return t ? y`<${E("ui5-list", e, t)} separators="None" mode="MultiSelect" class="ui5-multi-combobox-all-items-list">${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Xg.call(this, i, e, t, o, r))}` : y`${Y(this._filteredItems, (o, r) => o._id || r, (o, r) => Xg.call(this, i, e, t, o, r))}`; +} +function Xg(i, e, t, o, r) { + return y`${o.isGroupItem ? YH.call(this, i, e, t, o, r) : XH.call(this, i, e, t, o, r)}`; +} +function YH(i, e, t, o, r) { + return t ? y`<${E("ui5-li-groupheader", e, t)} data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; +} +function XH(i, e, t, o, r) { + return t ? y`<${E("ui5-li", e, t)} wrapping-type="Normal" type="${a(this._listItemsType)}" additional-text=${a(o.additionalText)} ?selected=${o.selected} data-ui5-token-id="${a(o._id)}" data-ui5-stable="${a(o.stableDomRef)}" @keydown="${this._onItemKeydown}">${a(o.text)}` : y`${a(o.text)}`; +} +function Kg(i, e, t) { + return t ? y`` : y``; +} +function Zg(i, e, t) { + return t ? y`<${E("ui5-popover", e, t)} skip-registry-update _disable-initial-focus prevent-focus-restore hide-arrow class="ui5-valuestatemessage-popover" placement-type="Bottom" horizontal-align="${a(this._valueStatePopoverHorizontalAlign)}">
    <${E("ui5-icon", e, t)} class="ui5-input-value-state-message-icon" name="${a(this._valueStateMessageIcon)}">${this.shouldDisplayDefaultValueStateMessage ? Qg.call(this, i, e, t) : Jg.call(this, i, e, t)}
    ` : y`
    ${this.shouldDisplayDefaultValueStateMessage ? Qg.call(this, i, e, t) : Jg.call(this, i, e, t)}
    `; +} +function Qg(i, e, t) { + return y`${a(this.valueStateDefaultText)}`; +} +function Jg(i, e, t) { + return y`${Y(this.valueStateMessageText, (o, r) => o._id || r, (o, r) => KH.call(this, i, e, t, o, r))}`; +} +function KH(i, e, t, o, r) { + return y`${a(o)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const ZH = { packageName: "@ui5/webcomponents", fileName: "themes/MultiComboBox.css.ts", content: `:host{vertical-align:middle}:host{width:var(--_ui5-v1-22-1-rc-0_input_width);min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)));margin:var(--_ui5-v1-22-1-rc-0_input_margin_top_bottom) 0;height:var(--_ui5-v1-22-1-rc-0_input_height);color:var(--sapField_TextColor);font-size:var(--sapFontSize);font-family:"72override",var(--sapFontFamily);font-style:normal;border:var(--_ui5-v1-22-1-rc-0-input-border);border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius);box-sizing:border-box;text-align:start;transition:var(--_ui5-v1-22-1-rc-0_input_transition);background:var(--sapField_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_background_color)}:host(:not([readonly])),:host([readonly][disabled]){box-shadow:var(--sapField_Shadow)}:host([focused]:not([opened])){border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_focus_pseudo_element_content);position:absolute;pointer-events:none;z-index:2;border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--_ui5-v1-22-1-rc-0_input_focus_outline_color);border-radius:var(--_ui5-v1-22-1-rc-0_input_focus_border_radius);top:var(--_ui5-v1-22-1-rc-0_input_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_focus_offset)}:host([focused][readonly]:not([opened])) .ui5-input-focusable-element:after{top:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);bottom:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);left:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);right:var(--_ui5-v1-22-1-rc-0_input_readonly_focus_offset);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_bottom_border_height);transition:var(--_ui5-v1-22-1-rc-0_input_transition);background-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius);overflow:hidden}:host([disabled]){opacity:var(--_ui5-v1-22-1-rc-0_input_disabled_opacity);cursor:default;pointer-events:none;background-color:var(--_ui5-v1-22-1-rc-0-input_disabled_background);border-color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_inner_padding);box-sizing:border-box;min-width:var(--_ui5-v1-22-1-rc-0_input_min_width);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}.ui5-input-value-state-icon{height:100%;display:var(--_ui5-v1-22-1-rc-0-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-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}[inner-input]::-moz-placeholder{font-weight:400;font-style:var(--_ui5-v1-22-1-rc-0_input_placeholder_style);color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color);padding-right:.125rem}:host([value-state="Error"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Error"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0-input_error_placeholder_color);font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-webkit-input-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Warning"]) [inner-input]::-moz-placeholder{font-weight:var(--_ui5-v1-22-1-rc-0_input_value_state_error_warning_placeholder_font_weight)}:host([value-state="Success"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Success"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-webkit-input-placeholder{color:var(--_ui5-v1-22-1-rc-0_input_placeholder_color)}:host([value-state="Information"]) [inner-input]::-moz-placeholder{color:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_border_radius)}:host([readonly]:not([disabled])){border-color:var(--_ui5-v1-22-1-rc-0_input_readonly_border_color);background:var(--sapField_ReadOnly_BackgroundStyle);background-color:var(--_ui5-v1-22-1-rc-0_input_readonly_background)}:host([value-state="None"]:not([readonly]):hover),:host(:not([value-state]):not([readonly]):hover){border:var(--_ui5-v1-22-1-rc-0_input_hover_border);border-color:var(--_ui5-v1-22-1-rc-0_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"])){border-width:var(--_ui5-v1-22-1-rc-0_input_state_border_width)}:host([value-state="Error"]) [inner-input],:host([value-state="Warning"]) [inner-input]{font-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_font_style);text-indent:var(--_ui5-v1-22-1-rc-0_input_error_warning_text_indent)}:host([value-state="Error"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_error_font_weight)}:host([value-state="Warning"]) [inner-input]{font-weight:var(--_ui5-v1-22-1-rc-0_input_warning_font_weight)}:host([value-state="Error"]:not([readonly]):not([disabled])){background:var(--sapField_InvalidBackgroundStyle);background-color:var(--sapField_InvalidBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_border_color);box-shadow:var(--sapField_InvalidShadow)}:host([value-state="Error"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_border_color)}:host([value-state="Error"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_error_focus_outline_color)}:host([value-state="Error"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0-input-value-state-error-border-botom-color)}:host([value-state="Error"]:not([readonly]):not([focused]):hover),:host([value-state="Error"]:not([readonly])[focused][opened]:hover){background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_error_hover_background);box-shadow:var(--sapField_Hover_InvalidShadow)}:host([value-state="Error"]:not([readonly]):not([disabled])),:host([value-state="Warning"]:not([readonly]):not([disabled])),:host([value-state="Information"]:not([readonly]):not([disabled])){border-style:var(--_ui5-v1-22-1-rc-0_input_error_warning_border_style)}:host([value-state="Warning"]:not([readonly]):not([disabled])){background:var(--sapField_WarningBackgroundStyle);background-color:var(--sapField_WarningBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_color);box-shadow:var(--sapField_WarningShadow)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_border_color)}:host([value-state="Warning"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_warning_focus_outline_color)}:host([value-state="Warning"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_warning_border_botom_color)}:host([value-state="Warning"]:not([readonly]):not([focused]):hover),:host([value-state="Warning"]:not([readonly])[focused][opened]:hover){background-color:var(--sapField_Hover_Background);box-shadow:var(--sapField_Hover_WarningShadow)}:host([value-state="Success"]:not([readonly]):not([disabled])){background:var(--sapField_SuccessBackgroundStyle);background-color:var(--sapField_SuccessBackground);border-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_width);box-shadow:var(--sapField_SuccessShadow)}:host([value-state="Success"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_border_color)}:host([value-state="Success"][focused]:not([opened]):not([readonly])) .ui5-input-focusable-element:after{border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_success_focus_outline_color)}:host([value-state="Success"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_input_value_state_success_border_botom_color)}:host([value-state="Success"]:not([readonly]):not([focused]):hover),:host([value-state="Success"]: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-v1-22-1-rc-0_input_value_state_information_border_color);border-width:var(--_ui5-v1-22-1-rc-0_input_information_border_width);box-shadow:var(--sapField_InformationShadow)}:host([value-state="Information"][focused]:not([opened]):not([readonly])){background-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_background);border-color:var(--_ui5-v1-22-1-rc-0_input_focused_value_state_information_border_color)}:host([value-state="Information"]:not([readonly])) .ui5-input-root:before{background-color:var(--_ui5-v1-22-1-rc-0_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)}.ui5-input-icon-root{min-width:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_input_custom_icon_padding);box-sizing:content-box!important}:host([value-state="Error"]) [input-icon],:host([value-state="Warning"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_icon_padding)}:host([value-state="Error"][focused]) [input-icon],:host([value-state="Warning"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_focused_icon_padding)}:host([value-state="Information"]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_icon_padding)}:host([value-state="Information"][focused]) [input-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_information_focused_icon_padding)}:host([value-state="Error"]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_icon_padding)}:host([value-state="Error"][focused]) ::slotted([input-icon][ui5-icon]),:host([value-state="Error"][focused]) ::slotted([ui5-icon][slot="icon"]),:host([value-state="Warning"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_error_warning_custom_focused_icon_padding)}:host([value-state="Information"]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_icon_padding)}:host([value-state="Information"][focused]) ::slotted([ui5-icon][slot="icon"]){padding:var(--_ui5-v1-22-1-rc-0_input_information_custom_focused_icon_padding)}:host([value-state="Error"]) [input-icon]:active,:host([value-state="Error"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_error_pressed_color)}:host([value-state="Error"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_error_icon_box_shadow)}:host([value-state="Warning"]) [input-icon]:active,:host([value-state="Warning"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_warning_pressed_color)}:host([value-state="Warning"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_warning_icon_box_shadow)}:host([value-state="Information"]) [input-icon]:active,:host([value-state="Information"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_information_pressed_color)}:host([value-state="Information"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_information_icon_box_shadow)}:host([value-state="Success"]) [input-icon]:active,:host([value-state="Success"]) [input-icon][pressed]{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow);color:var(--_ui5-v1-22-1-rc-0_input_icon_success_pressed_color)}:host([value-state="Success"]) [input-icon]:not([pressed]):not(:active):hover{box-shadow:var(--_ui5-v1-22-1-rc-0_input_success_icon_box_shadow)}.ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_height);padding:0;width:var(--_ui5-v1-22-1-rc-0_input_icon_width);min-width:var(--_ui5-v1-22-1-rc-0_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="Success"])) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_input_icon_wrapper_state_height);vertical-align:top}:host([value-state="Success"]) .ui5-input-clear-icon-wrapper{height:var(--_ui5-v1-22-1-rc-0_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}[input-icon]{color:var(--_ui5-v1-22-1-rc-0_input_icon_color);cursor:pointer;outline:none;padding:var(--_ui5-v1-22-1-rc-0_input_icon_padding);border-inline-start:var(--_ui5-v1-22-1-rc-0_input_icon_border);min-width:1rem;min-height:1rem;border-radius:var(--_ui5-v1-22-1-rc-0_input_icon_border_radius)}[input-icon][pressed]{background:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:active{background-color:var(--sapButton_Active_Background);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow);border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);color:var(--_ui5-v1-22-1-rc-0_input_icon_pressed_color)}[input-icon]:not([pressed]):not(:active):hover{background:var(--_ui5-v1-22-1-rc-0_input_icon_hover_bg);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}[input-icon]:hover{border-inline-start:var(--_ui5-v1-22-1-rc-0_select_hover_icon_left_border);box-shadow:var(--_ui5-v1-22-1-rc-0_input_icon_box_shadow)}.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{min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)))}:host([tokenizer-available]){min-width:calc(var(--_ui5-v1-22-1-rc-0_input_min_width) + (var(--_ui5-v1-22-1-rc-0-input-icons-count)*var(--_ui5-v1-22-1-rc-0_input_icon_width)) + var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width))}:host(:not([hidden])){display:inline-block}.ui5-multi-combobox-root{display:flex;overflow:hidden;width:100%;height:100%;border-radius:var(--_ui5-v1-22-1-rc-0_input_border_radius)}.ui5-multi-combobox-tokenizer{min-width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width);max-width:calc(100% - 3rem - var(--_ui5-v1-22-1-rc-0-input-icons-count) * var(--_ui5-v1-22-1-rc-0_input_icon_min_width));border:none;width:auto;height:100%}:host([readonly]) .ui5-multi-combobox-tokenizer::part(n-more-text){color:var(--sapLinkColor)}.ui5-multi-combobox-tokenizer::part(n-more-text){padding-inline-end:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_n_more_text)}[inner-input][inner-input-with-icon]{padding:var(--_ui5-v1-22-1-rc-0_input_inner_padding_with_icon)}:host([tokenizer-available]) [inner-input]{padding-inline-start:var(--_ui5-v1-22-1-rc-0_input_inner_space_to_tokenizer)}:host(:not([tokenizer-available])) .ui5-multi-combobox-tokenizer{--_ui5-v1-22-1-rc-0_input_tokenizer_min_width: 0px;width:var(--_ui5-v1-22-1-rc-0_input_tokenizer_min_width)} +` }; +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const QH = { packageName: "@ui5/webcomponents", fileName: "themes/MultiComboBoxPopover.css.ts", content: `.ui5-suggestions-popover .ui5-multi-combobox-all-items-list{--_ui5-v1-22-1-rc-0_checkbox_width_height: var(--_ui5-v1-22-1-rc-0_list_item_dropdown_base_height)}.ui5-mcb-select-all-header{width:100%;height:44px;border-bottom:.0625rem solid var(--sapGroup_TitleBorderColor);display:flex;align-items:center;font-family:"72override",var(--sapFontFamily);position:sticky;top:0;z-index:2;background:var(--sapToolbar_Background)}.ui5-mcb-select-all-checkbox{width:100%;font-family:var(--sapFontBoldFamily)}.ui5-mcb-select-all-checkbox::part(root):focus:before{border:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);border-radius:0;inset:0 2px}.ui5-mcb-select-all-checkbox::part(label){font-family:var(--sapFontBoldFamily)} +` }; +var He = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, xt; +let Me = xt = class extends te { + constructor() { + super(), this._filteredItems = [], this._previouslySelectedItems = [], this.selectedValues = [], this._itemsBeforeOpen = [], this._inputLastValue = "", this._deleting = !1, this._validationTimeout = null, this._handleResizeBound = this._handleResize.bind(this), this.valueBeforeAutoComplete = "", this._lastValue = this.getAttribute("value") || "", this.currentItemIdx = -1, this.FormSupport = void 0; + } + onEnterDOM() { + Ce.register(this, this._handleResizeBound); + } + onExitDOM() { + Ce.deregister(this, this._handleResizeBound); + } + _handleResize() { + this._inputWidth = this.offsetWidth; + } + _handleMobileInput(e) { + const o = e.target.value; + !this.allowCustomValues && !this._filterItems(o).length ? this._dialogInputValueState = q.Error : this._dialogInputValueState = this.valueState, this.value = o, this._shouldFilterItems = !0, this.valueBeforeAutoComplete = o, this.fireEvent("input"); + } + _inputChange() { + !this._clearingValue && this._lastValue !== this.value && (this._lastValue = this.value, this.fireEvent("change")); + } + async _mobileInputChange(e) { + this._inputChange.call(this); + const { value: t } = e.target, o = this.items.find((s) => s.text === t); + if (!o) + return; + const r = o == null ? void 0 : o.selected; + this.fireSelectionChange() || (o.selected = !r, (await this._getResponsivePopover()).close(), this.value = ""); + } + togglePopover() { + var e; + this._tokenizer.closeMorePopover(), (e = this.allItemsPopover) == null || e.toggle(this); + } + togglePopoverByDropdownIcon() { + var e; + this._shouldFilterItems = !1, (e = this.allItemsPopover) == null || e.toggle(this), this._tokenizer.closeMorePopover(); + } + _showFilteredItems() { + this.filterSelected = !0, this._showMorePressed = !0, this.togglePopover(); + } + filterSelectedItems(e) { + this.filterSelected = e.target.pressed; + const t = this._filteredItems.filter((o) => o.selected); + this.selectedItems = this.items.filter((o, r, n) => xt._groupItemFilter(o, ++r, n, t) || t.indexOf(o) !== -1); + } + /** + * Indicates whether the dropdown is open. True if the dropdown is open, false otherwise. + * + * @default false + * @public + */ + get open() { + return this._open; + } + get _showAllItemsButtonPressed() { + return this.filterSelected; + } + get _inputDom() { + return this.shadowRoot.querySelector("#ui5-multi-combobox-input"); + } + _inputLiveChange(e) { + var s, l; + const t = e.target, o = t.value, r = this._filterItems(o), n = this.valueState; + if (this._shouldFilterItems = !0, this.filterSelected && (this.filterSelected = !1), this._validationTimeout) + if (this._filterItems(o).length) + this.valueState = this._effectiveValueState, this._validationTimeout = null; + else { + t.value = this._inputLastValue; + return; + } + if (this._effectiveValueState = this.valueState, !r.length && o && !this.allowCustomValues) { + const T = this.valueBeforeAutoComplete || this._inputLastValue; + t.value = T, this.value = T, this.valueState = q.Error, this._shouldAutocomplete = !1, this._resetValueState(n); + return; + } + this._inputLastValue = t.value, this.value = t.value, this._filteredItems = r, ce() || (r.length === 0 ? (s = this.allItemsPopover) == null || s.close() : (l = this.allItemsPopover) == null || l.showAt(this)), this.fireEvent("input"); + } + _tokenDelete(e) { + this._previouslySelectedItems = this._getSelectedItems(); + const t = e.detail.ref, o = this.items.find((n) => n._id === t.getAttribute("data-ui5-id")); + o.selected = !1, this._deleting = !0, this._preventTokenizerToggle = !0, this.focus(), this.fireSelectionChange() && this._revertSelection(); + } + get _getPlaceholder() { + return this._getSelectedItems().length ? "" : this.placeholder; + } + _handleArrowLeft() { + const e = this._inputDom, t = e.selectionStart || 0, o = (e.selectionEnd || 0) - t > 0; + t === 0 && !o && this._tokenizer._focusLastToken(); + } + _tokenizerFocusOut(e) { + this._tokenizerFocused = !1; + const t = this._tokenizer.tokens.length, o = this._selectedTokensCount, r = t - 1 === 0 && this._deleting, n = o === t && this._deleting, s = e.relatedTarget, l = this.staticAreaItem === s, T = this._inputDom === s, w = e.relatedTarget === this._tokenizer.staticAreaItem; + !(s != null && s.hasAttribute("ui5-token")) && !l && !T && !w && (this._tokenizer.tokens.forEach((S) => { + S.selected = !1; + }), this._tokenizer.expanded = this._preventTokenizerToggle ? this._tokenizer.expanded : !1), (n || r) && setTimeout(() => { + ce() || this._inputDom.focus(), this._deleting = !1; + }, 0); + } + _tokenizerFocusIn() { + this._tokenizerFocused = !0, this.focused = !1; + } + _onkeydown(e) { + var r; + const t = Fn(e), o = e.metaKey || e.ctrlKey; + if (zn(e) && !this.disabled) { + this._handleShow(e); + return; + } + if (Tr(e) || sn(e)) { + e.preventDefault(); + return; + } + if (Ye(e) || Ue(e) || Ln(e) || t) { + this._handleArrowNavigation(e, t); + return; + } + if (t && !((r = this.allItemsPopover) != null && r.opened) && setTimeout(() => this._inputDom.setSelectionRange(0, this._inputDom.value.length), 0), Cl(e) || Ds(e)) { + this._handleArrowCtrl(e); + return; + } + if (N2(e)) { + this._handleInsertPaste(); + return; + } + o && e.key.toLowerCase() === "i" && this._tokenizer.tokens.length > 0 && (e.preventDefault(), this.togglePopover()), Da(e) && e.preventDefault(), (e.key === "ArrowLeft" || e.key === "Show" || e.key === "PageUp" || e.key === "PageDown" || e.key === "Backspace" || e.key === "Escape" || e.key === "Home" || e.key === "End" || e.key === "Tab" || e.key === "ArrowDown" || e.key === "Enter") && this[`_handle${e.key}`](e), this._shouldAutocomplete = !this.noTypeahead && !(Hu(e) || $l(e) || Ni(e) || Se(e)); + } + _handlePaste(e) { + if (e.preventDefault(), this.readonly || !e.clipboardData) + return; + const t = e.clipboardData.getData("text/plain"); + t && this._createTokenFromText(t); + } + async _handleInsertPaste() { + if (this.readonly || py()) + return; + const e = await navigator.clipboard.readText(); + e && this._createTokenFromText(e); + } + _createTokenFromText(e) { + const t = e.split(/\r\n|\r|\n|\t/g).filter((r) => !!r), o = this.items.filter((r) => t.indexOf(r.text) > -1 && !r.selected); + t.length > 1 ? (this._previouslySelectedItems = this._getSelectedItems(), o.forEach((r) => { + r.selected = !0, this.value = "", this.fireSelectionChange() && this._revertSelection(); + })) : (this.value = e, this.fireEvent("input")); + } + _handleShow(e) { + const t = this.items, o = this._getSelectedItems()[0], r = this._tokenizer.tokens.find((l) => l.focused), n = this.value, s = this.items.find((l) => l.text.localeCompare(n, void 0, { sensitivity: "base" }) === 0); + if (e.preventDefault(), !this.readonly) { + if (this._isOpenedByKeyboard = !0, this._shouldFilterItems = !1, this._filteredItems = this.items, this.togglePopover(), !r && s) { + this._itemToFocus = s; + return; + } + o && !r ? this._itemToFocus = o : r && e.target === r ? this._itemToFocus = t.find((l) => l.text === r.text) : this._itemToFocus = t[0]; + } + } + _handlePageUp(e) { + e.preventDefault(); + } + _handlePageDown(e) { + e.preventDefault(); + } + _handleBackspace(e) { + e.target.value === "" && (e.preventDefault(), this._tokenizer._focusLastToken()); + } + _handleEscape() { + const e = this._innerInput; + (e.selectionEnd || 0) - (e.selectionStart || 0) > 0 && (this.value = this.valueBeforeAutoComplete), (!this.allowCustomValues || !this.open && this.allowCustomValues) && (this.value = this._lastValue); + } + _handleHome(e) { + this._isFocusInside && e.target.selectionStart === 0 && this._tokenizer.tokens.length > 0 && (e.preventDefault(), this._tokenizer.tokens[0].focus()); + } + _handleEnd(e) { + const t = this._tokenizer.tokens, o = t.length - 1; + e.target === t[o] && t[o] === this.shadowRoot.activeElement && (e.preventDefault(), this._inputDom.focus()); + } + _handleTab() { + var e; + (e = this.allItemsPopover) == null || e.close(); + } + _handleSelectAll() { + const e = this._filteredItems, t = e.every((r) => r.selected); + this._previouslySelectedItems = e.filter((r) => r.selected).map((r) => r), e.forEach((r) => { + r.selected = !t; + }), this.fireSelectionChange() && this._revertSelection(); + } + async _onListHeaderKeydown(e) { + var n; + const t = Ue(e), o = Ye(e), r = e.target.classList.contains("ui5-mcb-select-all-checkbox"); + if (Bt(e) || Mi(e)) { + this._onItemTab(); + return; + } + if (e.preventDefault(), t || Fn(e)) { + if (this.showSelectAll && !r) + return (await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus(); + this._handleArrowDown(); + } + if (o || Ln(e)) { + if (e.target === this.valueStateHeader || !this.valueStateHeader) + return this._shouldAutocomplete = !0, this._inputDom.focus(); + this.showSelectAll && r && ((n = this.valueStateHeader) == null || n.focus()); + } + } + _handleSelectAllCheckboxClick(e) { + var t; + this.filterSelected ? (this._previouslySelectedItems = this._getSelectedItems(), (t = this.selectedItems) == null || t.forEach((r) => { + r.selected = e.target.checked; + }), e.target.checked || (this.filterSelected = !1), this.fireSelectionChange() && this._revertSelection()) : (this._handleSelectAll(), this.filterSelected = !1); + } + async _onItemKeydown(e) { + var r, n, s, l, T, w, S, b, v, g, p, d, c; + const t = ((r = this.list) == null ? void 0 : r.items[0]) === e.target, o = Ye(e) || Ln(e); + if (this.hasValueStateMessage && !this.valueStateHeader && await this._setValueStateHeader(), Bt(e) || Mi(e)) { + this._onItemTab(); + return; + } + if (ec(e) && ((n = this.list) == null || n._itemNavigation._handleHome(), (l = this.list) == null || l.items[(s = this.list) == null ? void 0 : s._itemNavigation._currentIndex].focus()), Ns(e) && ((T = this.list) == null || T._itemNavigation._handleEnd(), (S = this.list) == null || S.items[(w = this.list) == null ? void 0 : w._itemNavigation._currentIndex].focus()), e.preventDefault(), Tr(e) || sn(e)) { + this._handleItemRangeSelection(e); + return; + } + if (Ln(e) && !t && ((b = this.list) == null || b._itemNavigation._handleUp(), (g = this.list) == null || g.items[(v = this.list) == null ? void 0 : v._itemNavigation._currentIndex].focus()), Fn(e) && ((p = this.list) == null || p._itemNavigation._handleDown(), (c = this.list) == null || c.items[(d = this.list) == null ? void 0 : d._itemNavigation._currentIndex].focus()), zn(e) && this.togglePopover(), Vy(e)) { + this._handleSelectAll(); + return; + } + t && o && (this.showSelectAll ? (await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus() : this.valueStateHeader ? this.valueStateHeader.focus() : (this._inputDom.focus(), this._shouldAutocomplete = !0)); + } + _handleArrowCtrl(e) { + const t = this._inputDom, o = Cl(e); + o && t.selectionStart === 0 && t.selectionEnd === 0 && e.preventDefault(), o && (t.selectionEnd || 0) - (t.selectionStart || 0) > 0 && t.setSelectionRange(0, 0); + } + _onItemTab() { + var e; + this._inputDom.focus(), (e = this.allItemsPopover) == null || e.close(); + } + async _handleArrowNavigation(e, t) { + var s; + const o = t || Ue(e), r = this.items.length, n = (s = this.allItemsPopover) == null ? void 0 : s.opened; + if (e.preventDefault(), this.hasValueStateMessage && !this.valueStateHeader && await this._setValueStateHeader(), o && n) { + if (this.valueStateHeader) { + this.value = this.valueBeforeAutoComplete || this.value, this.valueStateHeader.focus(); + return; + } + if (this.showSelectAll) { + (await this._getResponsivePopover()).querySelector(".ui5-mcb-select-all-checkbox").focus(); + return; + } + } + o && r && this._handleArrowDown(), !o && !n && !this.readonly && this._navigateToPrevItem(); + } + async _handleArrowDown() { + var o, r, n; + const e = (o = this.allItemsPopover) == null ? void 0 : o.opened, t = (r = this.list) == null ? void 0 : r.items[0]; + e ? (t && ((n = this.list) == null || n._itemNavigation.setCurrentItem(t)), this.value = this.valueBeforeAutoComplete || this.value, await Mt(), t == null || t.focus()) : this.readonly || this._navigateToNextItem(); + } + _handleItemRangeSelection(e) { + var T; + const t = this.items, o = (T = this.list) == null ? void 0 : T.items, r = Number(o == null ? void 0 : o.indexOf(e.target)), n = r + 1, s = r - 1; + this._previouslySelectedItems = this._getSelectedItems(), Tr(e) && t[n] && (t[n].selected = t[r].selected, t[n].focus()), sn(e) && t[s] && (t[s].selected = t[r].selected, t[s].focus()), this.fireSelectionChange() && this._revertSelection(); + } + _navigateToNextItem() { + const e = this.items, t = e.length, o = this.currentItemIdx; + if (o > -1 && e[o].text !== this.value && (this.currentItemIdx = -1), o >= t - 1) + return; + let r = this.items[++this.currentItemIdx]; + for (; this.currentItemIdx < t - 1 && r.selected || r.isGroupItem; ) + r = this.items[++this.currentItemIdx]; + if (r.selected === !0 || r.isGroupItem) { + this.currentItemIdx = o; + return; + } + this.value = r.text, this._innerInput.value = r.text, this._innerInput.setSelectionRange(0, r.text.length); + } + _navigateToPrevItem() { + const e = this.items; + let t = this.currentItemIdx; + if ((!this.value && t !== -1 || t !== -1 && this.value && this.value !== e[t].text) && (t = -1), t === -1 && (this.currentItemIdx = e.length), t === 0) { + this.currentItemIdx = 0; + return; + } + let o = this.items[--this.currentItemIdx]; + for (; o && this.currentItemIdx > 0 && (o.selected || o.isGroupItem); ) + o = this.items[--this.currentItemIdx]; + if (o) { + if (o.selected || o.isGroupItem) { + this.currentItemIdx = t; + return; + } + this.value = o.text, this._innerInput.value = o.text, this._innerInput.setSelectionRange(0, o.text.length); + } + } + _handleEnter() { + var n; + const e = this.value.toLowerCase(), t = this.items.find((s) => s.text.toLowerCase() === e && !s.isGroupItem), o = this.valueState, r = this._innerInput; + if (this.FormSupport && this.FormSupport.triggerFormSubmit(this), t) { + if (t.selected) { + if (this._validationTimeout) + return; + this.valueState = q.Error, this._performingSelectionTwice = !0, this._resetValueState(o, () => { + this._performingSelectionTwice = !1; + }); + } else + this._previouslySelectedItems = this._getSelectedItems(), t.selected = !0, this.value = "", this.fireSelectionChange() && this._revertSelection(); + r.setSelectionRange(t.text.length, t.text.length), (n = this.allItemsPopover) == null || n.close(); + } + } + _resetValueState(e, t) { + this._validationTimeout = setTimeout(() => { + this._effectiveValueState = this.valueState, this.valueState = e, this._validationTimeout = null, t && t(); + }, 2e3); + } + _onTokenizerKeydown(e) { + const t = !!(e.metaKey || e.ctrlKey); + if (dt(e)) { + const o = this._tokenizer.tokens.length - this._tokenizer.overflownTokens.length - 1; + e.target === this._tokenizer.tokens[o] && setTimeout(() => { + this._inputDom.focus(); + }, 0); + } + if (t && ["c", "x"].includes(e.key.toLowerCase()) || R2(e) || DI(e)) { + e.preventDefault(); + const o = e.key.toLowerCase() === "x" || R2(e), r = this._tokenizer.tokens.filter((n) => n.selected); + if (o) { + const n = this._tokenizer._fillClipboard(Ml.cut, r); + return r.forEach((s) => { + this._tokenizer.deleteToken(s); + }), this.focus(), n; + } + return this._tokenizer._fillClipboard(Ml.copy, r); + } + N2(e) && this._handleInsertPaste(), qt(e) && this._handleHome(e), Ii(e) && this._handleEnd(e), zn(e) && !this.readonly && !this.disabled && (this._preventTokenizerToggle = !0, this._handleShow(e)), t && e.key.toLowerCase() === "i" && this._tokenizer.tokens.length > 0 && (e.preventDefault(), this.togglePopover()); + } + _filterItems(e) { + const t = this.items.filter((r) => !r.isGroupItem), o = (G6[this.filter] || Av)(e, t, "text"); + return this.items.filter((r, n, s) => xt._groupItemFilter(r, ++n, s, o) || o.indexOf(r) !== -1); + } + /** + * Returns true if the group header should be shown (if there is a filtered suggestion item for this group item) + * + * @private + */ + static _groupItemFilter(e, t, o, r) { + if (e.isGroupItem) { + let n; + for (; o[t] && !o[t].isGroupItem && !n; ) + n = r.indexOf(o[t]) !== -1, t++; + return n; + } + } + _afterOpenPicker() { + var e, t; + this._toggle(), !ce() && !this._isOpenedByKeyboard ? this._innerInput.focus() : this._isOpenedByKeyboard ? (e = this._itemToFocus) == null || e.focus() : (t = this.allItemsPopover) == null || t.focus(), this._previouslySelectedItems = this._getSelectedItems(), this._isOpenedByKeyboard = !1; + } + _toggle() { + this._open = !this._open, this.fireEvent("open-change"); + } + _getSelectedItems() { + return this.selectedValues = this.items.filter((e) => e.selected), this.selectedValues; + } + _listSelectionChange(e) { + var r; + let t; + ce() || (this._previouslySelectedItems = this._getSelectedItems()), this.syncItems(e.target.items), ce() || (t = this.fireSelectionChange(), t && (e.preventDefault(), this._revertSelection())); + const o = { key: e.detail.key }; + !e.detail.selectedItems.length && this.filterSelected && (this.filterSelected = !1), !e.detail.selectionComponentPressed && !se(o) && !jf(o) && ((r = this.allItemsPopover) == null || r.close(), this.value = "", ce() && (t = this.fireSelectionChange(), t && (e.preventDefault(), this._revertSelection())), this.fireEvent("input")), this.value = this.valueBeforeAutoComplete || ""; + } + syncItems(e) { + e.forEach((t) => { + this.items.forEach((o) => { + o._id === t.getAttribute("data-ui5-token-id") && (o.selected = t.selected); + }); + }); + } + fireSelectionChange() { + const e = !this.fireEvent("selection-change", { + items: this._getSelectedItems() + }, !0); + return this.fireEvent("value-changed"), e; + } + async _getRespPopover() { + const e = await this.getStaticAreaItemDomRef(); + this.allItemsPopover = e.querySelector(".ui5-multi-combobox-all-items-responsive-popover"); + } + async _getList() { + const e = await this.getStaticAreaItemDomRef(); + return this.list = e.querySelector(".ui5-multi-combobox-all-items-list"), this.list; + } + _click() { + var e; + ce() && !this.readonly && !this._showMorePressed && !this._deleting && ((e = this.allItemsPopover) == null || e.showAt(this)), this._showMorePressed = !1; + } + async handleBeforeTokenizerPopoverOpen() { + const e = this._tokenizer.tokens, t = e.length === 1 && e[0].isTruncatable, o = await this._getResponsivePopover(); + t && (o == null || o.close(!1, !1, !0)); + } + _afterClosePicker() { + ce() && (this._dialogInputValueState = this.valueState, this.blur()), this._toggle(), this._iconPressed = !1, this._preventTokenizerToggle = !1, this.filterSelected = !1; + } + _beforeOpen() { + if (this._itemsBeforeOpen = this.items.map((e) => ({ + ref: e, + selected: e.selected + })), this._valueBeforeOpen = this.value, this._dialogInputValueState = this.valueState, this._innerInput.value = this.value, this.filterSelected) { + const e = this._filteredItems.filter((t) => t.selected); + this.selectedItems = this.items.filter((t, o, r) => xt._groupItemFilter(t, ++o, r, e) || e.indexOf(t) !== -1); + } + } + _handleTypeAhead(e, t) { + if (!e) + return; + const o = e.text, r = this._innerInput; + t = t || "", this.value = o, r.value = o, r.setSelectionRange(t.length, o.length), this._shouldAutocomplete = !1; + } + _getFirstMatchingItem(e) { + if (!this.items.length) + return; + const t = this._startsWithMatchingItems(e).filter((o) => !o.isGroupItem && !o.selected); + if (t.length) + return t[0]; + } + _startsWithMatchingItems(e) { + return Kh(e, this.items, "text"); + } + _revertSelection() { + this._filteredItems.forEach((e) => { + e.selected = this._previouslySelectedItems.includes(e); + }); + } + onBeforeRendering() { + const e = this._innerInput, t = e && (e.selectionEnd || 0) - (e.selectionStart || 0), o = e && e.value; + if (this.open && this._getList().then((r) => { + var l, T; + const n = (l = r == null ? void 0 : r.querySelectorAll("[ui5-li][selected]")) == null ? void 0 : l.length, s = (T = r == null ? void 0 : r.querySelectorAll("[ui5-li]")) == null ? void 0 : T.length; + this._allSelected = n === s; + }), this._effectiveShowClearIcon = this.showClearIcon && !!this.value && !this.readonly && !this.disabled, this.FormSupport = ze("FormSupport"), this._inputLastValue = o, e && !e.value && (this.valueBeforeAutoComplete = "", this._filteredItems = this.items), this.items.forEach((r) => { + r._getRealDomRef = () => this.allItemsPopover.querySelector(`*[data-ui5-stable=${r.stableDomRef}]`); + }), this.tokenizerAvailable = this._getSelectedItems().length > 0, this.style.setProperty(Bo("--_ui5-input-icons-count"), `${this.iconsCount}`), !(!e || !o)) { + if (this._shouldAutocomplete && !Rf() && !t) { + const r = this._getFirstMatchingItem(o); + this.valueBeforeAutoComplete = o, r && this._handleTypeAhead(r, o); + } + this._shouldFilterItems ? this._filteredItems = this._filterItems(this._shouldAutocomplete || t ? this.valueBeforeAutoComplete : o) : this._filteredItems = this.items; + } + } + async onAfterRendering() { + await this._getRespPopover(), await this._getList(), this.toggle(this.shouldDisplayOnlyValueStateMessage), this.storeResponsivePopoverWidth(), this._deleting = !1, this._tokenizer._handleResize(); + } + get _isPhone() { + return ce(); + } + _onIconMousedown() { + this._iconPressed = !0; + } + _clear() { + this.value = "", this._inputDom.value = "", this.fireEvent("input"), this._isPhone || this.focus(); + } + _iconMouseDown() { + this._clearingValue = !0; + } + storeResponsivePopoverWidth() { + this.open && !this._listWidth && (this._listWidth = this.list.offsetWidth); + } + toggle(e) { + e && !this.open ? this.openPopover() : this.closePopover(); + } + handleCancel() { + this._itemsBeforeOpen.forEach((e) => { + e.ref instanceof MC && (e.ref.selected = e.selected); + }), this.togglePopover(), this.value = this._valueBeforeOpen; + } + handleOK() { + ce() && this.fireSelectionChange() && this._revertSelection(), this.allowCustomValues || (this.value = ""), this.togglePopover(); + } + async openPopover() { + var e; + (e = await this._getPopover()) == null || e.showAt(this); + } + _forwardFocusToInner() { + this._innerInput.focus(); + } + get morePopoverOpener() { + var t; + const e = (t = this._tokenizer) == null ? void 0 : t.tokens; + return (e == null ? void 0 : e.length) === 1 && e[0].isTruncatable ? e[0] : this; + } + async closePopover() { + var e; + (e = await this._getPopover()) == null || e.close(); + } + async _getPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-popover]"); + } + async _getResponsivePopover() { + return (await this.getStaticAreaItemDomRef()).querySelector("[ui5-responsive-popover]"); + } + async _setValueStateHeader() { + const e = await this._getResponsivePopover(); + this.valueStateHeader = e.querySelector("div.ui5-responsive-popover-header.ui5-valuestatemessage-root"); + } + get _tokenizer() { + return this.shadowRoot.querySelector("[ui5-tokenizer]"); + } + inputFocusIn(e) { + var t; + !ce() || this.readonly ? (this.focused = !0, this._tokenizer.expanded = !0) : this._innerInput.blur(), this._clearingValue = !1, !ce() && (((t = e.relatedTarget) == null ? void 0 : t.tagName) !== "UI5-STATIC-AREA-ITEM" || !e.relatedTarget) && this._innerInput.setSelectionRange(0, this.value.length), this._tokenizer.tokens.forEach((o) => { + o.selected = !1; + }), this.valueBeforeAutoComplete = ""; + } + inputFocusOut(e) { + !this.shadowRoot.contains(e.relatedTarget) && !this._deleting && !this._clearingValue && (this.focused = !1, this._lastValue !== this.value && this._inputChange(), this._tokenizer.expanded = this.open, !ce() && !this.allowCustomValues && this.staticAreaItem !== e.relatedTarget && (this.value = "")); + } + get editable() { + return !this.readonly; + } + get _isFocusInside() { + return !ce() && (this.focused || this._tokenizerFocused); + } + get selectedItemsListMode() { + return this.readonly ? "None" : "MultiSelect"; + } + get _listItemsType() { + return this.readonly ? "Inactive" : "Active"; + } + get hasValueState() { + return this.valueState !== q.None || this._dialogInputValueState !== q.None; + } + get hasValueStateMessage() { + const e = ce() ? this._dialogInputValueState : this.valueState; + return this.hasValueState && e !== q.Success; + } + get ariaValueStateHiddenText() { + if (!this.hasValueState) + return; + let e = ""; + return this.valueState !== q.None && (e = this.valueStateTypeMappings[this.valueState]), this.shouldDisplayDefaultValueStateMessage ? `${e} ${this.valueStateDefaultText || ""}` : `${e}`.concat(" ", this.valueStateMessageText.map((t) => t.textContent).join(" ")); + } + get valueStateDefaultText() { + const e = ce() ? this._dialogInputValueState : this.valueState; + return e === q.None ? "" : this._performingSelectionTwice ? xt.i18nBundle.getText(h4) : this.valueStateTextMappings[e]; + } + get valueStateTextId() { + return this.hasValueState ? "ui5-multi-combobox-valueStateDesc" : void 0; + } + get valueStateMessageText() { + return this.getSlottedNodes("valueStateMessage").map((e) => e.cloneNode(!0)); + } + get ariaLabelText() { + return Xt(this); + } + /** + * This method is relevant for sap_horizon theme only + */ + get _valueStateMessageIcon() { + const e = ce() && this.open ? this._dialogInputValueState : this.valueState; + return e === q.None ? "" : { + [q.Error]: "error", + [q.Warning]: "alert", + [q.Success]: "sys-enter-2", + [q.Information]: "information" + }[e]; + } + get _tokensCountText() { + if (this._tokenizer) + return this._tokenizer._tokensCountText(); + } + get _tokensCountTextId() { + return "ui5-multi-combobox-hiddenText-nMore"; + } + get _selectedTokensCount() { + return this._tokenizer.tokens.filter((e) => e.selected).length; + } + get ariaDescribedByText() { + return this.valueStateTextId ? `${this._tokensCountTextId} ${this.valueStateTextId}` : `${this._tokensCountTextId}`; + } + get shouldDisplayDefaultValueStateMessage() { + return !this.valueStateMessage.length && this.hasValueStateMessage; + } + get shouldDisplayOnlyValueStateMessage() { + return this.focused && !this.readonly && this.hasValueStateMessage && !this._iconPressed; + } + get valueStateTypeMappings() { + return { + [q.Success]: xt.i18nBundle.getText(nc), + [q.Information]: xt.i18nBundle.getText(ac), + [q.Error]: xt.i18nBundle.getText(oc), + [q.Warning]: xt.i18nBundle.getText(rc) + }; + } + get valueStateTextMappings() { + return { + [q.Success]: xt.i18nBundle.getText(Sn), + [q.Error]: xt.i18nBundle.getText(wn), + [q.Warning]: xt.i18nBundle.getText(Cn), + [q.Information]: xt.i18nBundle.getText(Qn) + }; + } + get _innerInput() { + var e; + return ce() && (e = this.allItemsPopover) != null && e.opened ? this.allItemsPopover.querySelector("ui5-input").shadowRoot.querySelector("input") : this._inputDom; + } + get _headerTitleText() { + return xt.i18nBundle.getText(ic); + } + get _iconAccessibleNameText() { + return xt.i18nBundle.getText(uv); + } + get _showSelectedButtonAccessibleNameText() { + return xt.i18nBundle.getText(W3); + } + get _dialogOkButton() { + return xt.i18nBundle.getText(u4); + } + get _tokenizerExpanded() { + var o; + if (ce() || this.readonly) + return !1; + if (this._preventTokenizerToggle) + return this._tokenizer.expanded; + const e = (o = this._tokenizer) == null ? void 0 : o.expanded; + return this.focused || this.open || e; + } + get _valueStatePopoverHorizontalAlign() { + return this.effectiveDir !== "rtl" ? "Left" : "Right"; + } + get iconsCount() { + var r; + const e = ((r = this.icon) == null ? void 0 : r.length) || 0, t = Number(this._effectiveShowClearIcon) ?? 0, o = this.readonly ? 0 : 1; + return e + t + o; + } + get clearIconAccessibleName() { + return xt.i18nBundle.getText(Lh); + } + get selectAllCheckboxLabel() { + const e = this.items.filter((o) => !o.isGroupItem), t = e.filter((o) => o.selected); + return xt.i18nBundle.getText(G3, t.length, e.length); + } + get classes() { + return { + popover: { + "ui5-multi-combobox-all-items-responsive-popover": !0, + "ui5-suggestions-popover": !0, + "ui5-popover-with-value-state-header-phone": this._isPhone && this.hasValueStateMessage, + "ui5-popover-with-value-state-header": !this._isPhone && this.hasValueStateMessage + }, + popoverValueState: { + "ui5-valuestatemessage-root": !0, + "ui5-valuestatemessage-header": !0, + "ui5-valuestatemessage--success": this.valueState === q.Success || this._dialogInputValueState === q.Success, + "ui5-valuestatemessage--error": this.valueState === q.Error || this._dialogInputValueState === q.Error, + "ui5-valuestatemessage--warning": this.valueState === q.Warning || this._dialogInputValueState === q.Warning, + "ui5-valuestatemessage--information": this.valueState === q.Information || this._dialogInputValueState === q.Information + } + }; + } + get styles() { + const e = parseInt(getComputedStyle(document.documentElement).fontSize); + return { + popoverValueStateMessage: { + width: `${this._listWidth || 0}px`, + display: this._listWidth === 0 ? "none" : "inline-block" + }, + popoverHeader: { + "max-width": ce() ? "100%" : `${this._inputWidth}px` + }, + suggestionsPopover: { + "min-width": `${this._inputWidth}px`, + "max-width": this._inputWidth / e > 40 ? `${this._inputWidth}px` : "40rem" + } + }; + } + static async onDefine() { + xt.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +He([ + x() +], Me.prototype, "value", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "noTypeahead", void 0); +He([ + x() +], Me.prototype, "placeholder", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "allowCustomValues", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "disabled", void 0); +He([ + x({ type: q, defaultValue: q.None }) +], Me.prototype, "valueState", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "readonly", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "required", void 0); +He([ + x({ type: vh, defaultValue: vh.StartsWithPerTerm }) +], Me.prototype, "filter", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "showClearIcon", void 0); +He([ + x() +], Me.prototype, "accessibleName", void 0); +He([ + x() +], Me.prototype, "accessibleNameRef", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "showSelectAll", void 0); +He([ + x({ type: q, defaultValue: q.None }) +], Me.prototype, "_effectiveValueState", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "_open", void 0); +He([ + x() +], Me.prototype, "_valueBeforeOpen", void 0); +He([ + x({ type: Object, noAttribute: !0, multiple: !0 }) +], Me.prototype, "_filteredItems", void 0); +He([ + x({ type: Object, noAttribute: !0, multiple: !0 }) +], Me.prototype, "_previouslySelectedItems", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "filterSelected", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "focused", void 0); +He([ + x({ type: Boolean, noAttribute: !0 }) +], Me.prototype, "_tokenizerFocused", void 0); +He([ + x({ type: Boolean, noAttribute: !0 }) +], Me.prototype, "_iconPressed", void 0); +He([ + x({ validator: ne, noAttribute: !0 }) +], Me.prototype, "_inputWidth", void 0); +He([ + x({ validator: ne, noAttribute: !0, defaultValue: 0 }) +], Me.prototype, "_listWidth", void 0); +He([ + x({ type: Boolean, noAttribute: !0 }) +], Me.prototype, "_performingSelectionTwice", void 0); +He([ + x({ type: Boolean, noAttribute: !0 }) +], Me.prototype, "_allSelected", void 0); +He([ + x({ type: Boolean, noAttribute: !0 }) +], Me.prototype, "_effectiveShowClearIcon", void 0); +He([ + x({ type: q, defaultValue: q.None }) +], Me.prototype, "_dialogInputValueState", void 0); +He([ + x({ type: Boolean }) +], Me.prototype, "tokenizerAvailable", void 0); +He([ + K({ type: HTMLElement, default: !0, invalidateOnChildChange: !0 }) +], Me.prototype, "items", void 0); +He([ + K() +], Me.prototype, "icon", void 0); +He([ + K() +], Me.prototype, "valueStateMessage", void 0); +Me = xt = He([ + X({ + tag: "ui5-multi-combobox", + languageAware: !0, + renderer: ue, + template: FH, + staticAreaTemplate: HH, + styles: ZH, + staticAreaStyles: [Fr, Ka, Zh, QH], + dependencies: [ + MC, + LH, + yC, + bC, + Pe, + po, + Fi, + fo, + ea, + td, + id, + Ne, + Ku + ] + }), + U("change"), + U("input"), + U("open-change"), + U("selection-change", { + detail: { + /** + * @public + */ + items: { type: Array } + } + }) +], Me); +Me.define(); +function JH(i, e, t) { + return y`
    ${this.showValueInRemainingBar ? void 0 : eV.call(this, i, e, t)}
    ${this.showValueInRemainingBar ? nV.call(this, i, e, t) : void 0}
    `; +} +function eV(i, e, t) { + return y`${this.showIcon ? tV.call(this, i, e, t) : void 0}${this.hideValue ? void 0 : iV.call(this, i, e, t)}`; +} +function tV(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">` : y``; +} +function iV(i, e, t) { + return y`${this.displayValue ? oV.call(this, i, e, t) : rV.call(this, i, e, t)}`; +} +function oV(i, e, t) { + return y`${a(this.displayValue)}`; +} +function rV(i, e, t) { + return y`${a(this.validatedValue)}% `; +} +function nV(i, e, t) { + return y`${this.showIcon ? aV.call(this, i, e, t) : void 0}${this.hideValue ? void 0 : sV.call(this, i, e, t)}`; +} +function aV(i, e, t) { + return t ? y`<${E("ui5-icon", e, t)} name="${a(this.valueStateIcon)}" class="ui5-progress-indicator-icon">` : y``; +} +function sV(i, e, t) { + return y`${this.displayValue ? lV.call(this, i, e, t) : cV.call(this, i, e, t)}`; +} +function lV(i, e, t) { + return y`${a(this.displayValue)}`; +} +function cV(i, e, t) { + return y`${a(this.validatedValue)}% `; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const uV = { packageName: "@ui5/webcomponents", fileName: "themes/ProgressIndicator.css.ts", content: `:host(:not([hidden])){display:inline-block;min-height:var(_ui5_progress_indicator_host_min_height);min-width:4rem;width:100%;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_height);overflow:hidden;box-sizing:var(--_ui5-v1-22-1-rc-0_progress_indicator_host_box_sizing);padding:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding);padding-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_padding_end)}.ui5-progress-indicator-root{display:flex;align-items:center;background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_none);border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_border_radius);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_overflow);min-height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_min_height);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_height);width:100%;font-size:var(--sapProgress_FontSize);font-family:"72override",var(--sapFontFamily);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_root_position);box-sizing:border-box}.ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none);justify-content:flex-end;height:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_height);display:flex;align-items:center;flex-direction:row;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_color);transition-property:width;transition-timing-function:linear;box-sizing:border-box;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_bar_border_max);border-radius:var(--_ui5-v1-22-1-rc-0_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-v1-22-1-rc-0_progress_indicator_border);border-radius:.5rem}.ui5-progress-indicator-remaining-bar{justify-content:flex-start;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_width);height:100%;display:flex;align-items:center;flex-direction:row;flex-grow:1;flex-basis:0;border:var(--_ui5-v1-22-1-rc-0_progress_indicator_border);border-inline-start:none;border-radius:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_border_radius);box-sizing:border-box;color:var(--_ui5-v1-22-1-rc-0_progress_indicator_color);overflow:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_overflow);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_remaining_bar_position)}.ui5-progress-indicator-value{margin:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_margin);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;position:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_position);top:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_top_position);inset-inline-start:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_left_position)}.ui5-progress-indicator-icon{margin-inline-start:.375rem;width:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);height:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_size);display:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_visibility);position:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_position);inset-inline-end:var(--_ui5-v1-22-1-rc-0_progress_indicator_icon_right_position)}:host([value-state="Error"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_icon_color)}:host([value-state="Warning"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_icon_color)}:host([value-state="Success"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_icon_color)}:host([value-state="Information"]) .ui5-progress-indicator-icon{color:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_icon_color)}:host([value-state="Error"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_error_border_color)}:host([value-state="Warning"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_warning_border_color)}:host([value-state="Success"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_success_border_color)}:host([value-state="Information"]) .ui5-progress-indicator-bar{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information);border:.0625rem solid var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_information_border_color)}:host([value-state="Error"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_error)}:host([value-state="Warning"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_warning)}:host([value-state="Success"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_success)}:host([value-state="Information"]) .ui5-progress-indicator-root{background:var(--_ui5-v1-22-1-rc-0_progress_indicator_background_information)}:host([value-state="Error"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_error)}:host([value-state="Warning"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_warning)}:host([value-state="Success"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_success)}:host([value-state="Information"]) .ui5-progress-indicator-remaining-bar{border-color:var(--_ui5-v1-22-1-rc-0_progress_indicator_border_color_information)}:host([disabled]) .ui5-progress-indicator-root{opacity:.4}.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-v1-22-1-rc-0_progress_indicator_side_points_visibility);background:var(--_ui5-v1-22-1-rc-0_progress_indicator_value_state_none)}.ui5-progress-indicator-remaining-bar:before{left:.0625rem}.ui5-progress-indicator-remaining-bar:after{right:.0625rem}: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)}: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)}: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)}: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)} +` }; +var tl = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, ws; +let hn = ws = class extends te { + constructor() { + super(), this._previousValue = 0, this._transitionDuration = 0; + } + onBeforeRendering() { + this._transitionDuration = Math.abs(this._previousValue - this.validatedValue) * 20, this._previousValue = this.validatedValue; + } + valueStateTextMappings() { + return { + Error: ws.i18nBundle.getText(wn), + Warning: ws.i18nBundle.getText(Cn), + Success: ws.i18nBundle.getText(Sn), + Information: ws.i18nBundle.getText(Qn) + }; + } + valueStateIconMappings() { + return { + Error: "status-negative", + Warning: "status-critical", + Success: "status-positive", + Information: "information" + }; + } + get styles() { + return { + bar: { + width: `${this.validatedValue}%`, + "transition-duration": this.shouldAnimate ? `${this._transitionDuration}ms` : "none" + } + }; + } + get classes() { + return { + root: { + "ui5-progress-indicator-max-value": this.validatedValue === 100, + "ui5-progress-indicator-min-value": this.validatedValue === 0 + } + }; + } + get validatedValue() { + return this.value < 0 ? 0 : this.value > 100 ? 100 : this.value; + } + get showValueInRemainingBar() { + return this.value <= 50; + } + get shouldAnimate() { + return Oa() !== Vn.None; + } + get valueStateText() { + const e = `${this.validatedValue}%`, t = this.valueStateTextMappings()[this.valueState]; + return t ? `${e} ${t}` : e; + } + get showIcon() { + return this.valueState !== q.None; + } + get valueStateIcon() { + return this.valueStateIconMappings()[this.valueState]; + } + get _ariaDisabled() { + return this.disabled || void 0; + } + static async onDefine() { + ws.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +tl([ + x() +], hn.prototype, "accessibleName", void 0); +tl([ + x({ type: Boolean }) +], hn.prototype, "disabled", void 0); +tl([ + x({ type: Boolean }) +], hn.prototype, "hideValue", void 0); +tl([ + x({ validator: ne, defaultValue: 0 }) +], hn.prototype, "value", void 0); +tl([ + x({ defaultValue: null }) +], hn.prototype, "displayValue", void 0); +tl([ + x({ type: q, defaultValue: q.None }) +], hn.prototype, "valueState", void 0); +hn = ws = tl([ + X({ + tag: "ui5-progress-indicator", + renderer: ue, + styles: uV, + template: JH, + dependencies: [Pe] + }) +], hn); +hn.define(); +const dV = hn; +function hV(i, e, t) { + return y`
    `; +} +function _V(i, e, t, o, r) { + return y`${o.selected ? pV.call(this, i, e, t, o, r) : fV.call(this, i, e, t, o, r)}`; +} +function pV(i, e, t, o, r) { + return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite">
  • ` : y`
  • `; +} +function fV(i, e, t, o, r) { + return y`${o.halfStar ? vV.call(this, i, e, t, o, r) : mV.call(this, i, e, t, o, r)}`; +} +function vV(i, e, t, o, r) { + return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="unfavorite">
    <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite" class="ui5-rating-indicator-half-icon">
  • ` : y`
  • `; +} +function mV(i, e, t, o, r) { + return y`${this.readonly ? gV.call(this, i, e, t, o, r) : bV.call(this, i, e, t, o, r)}`; +} +function gV(i, e, t, o, r) { + return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite">
  • ` : y`
  • `; +} +function bV(i, e, t, o, r) { + return y`${this.disabled ? yV.call(this, i, e, t, o, r) : wV.call(this, i, e, t, o, r)}`; +} +function yV(i, e, t, o, r) { + return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="favorite">
  • ` : y`
  • `; +} +function wV(i, e, t, o, r) { + return t ? y`
  • <${E("ui5-icon", e, t)} data-ui5-value="${a(o.index)}" name="unfavorite">
  • ` : y`
  • `; +} +const CV = "favorite", FC = "M378.36 297.834q-5.996 3.998-2.998 8.995l71.96 193.892q1.999 4.997-2.499 8.995t-9.494.999l-174.903-123.93q-4.997-3-8.995 0L76.53 510.714q-4.997 2.998-9.495-1t-2.499-8.994l71.96-193.892q2-5.997-2.998-8.995L3.569 205.885q-4.997-2.998-2.998-8.495t6.996-5.497h165.908q4.997 0 7.995-4.997L248.433 4.997Q250.432 0 255.929 0t7.495 4.997l66.963 181.899q1.999 4.997 7.996 4.997H503.29q5.996 0 7.995 5.497t-2.998 8.495z", SV = !1, TV = "SAP-icons-v4", IV = "@ui5/webcomponents-icons"; +J(CV, { pathData: FC, ltr: SV, collection: TV, packageName: IV }); +const kV = "favorite", zC = "M0 198q0-9 6.5-16t15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 16q0 11-7 18L399 328l26 154q1 2 1 5 0 10-7.5 17.5T400 512q-6 0-12-3l-132-74-132 74q-4 3-12 3-11 0-18.5-7.5T86 487q0-2 .5-2.5t.5-2.5l26-154L7 216q-7-7-7-18z", $V = !1, xV = "SAP-icons-v5", AV = "@ui5/webcomponents-icons"; +J(kV, { pathData: zC, ltr: $V, collection: xV, packageName: AV }); +Te(); +const EV = "unfavorite", HC = "M8.569 191.946h164.954q5.998 0 7.998-4.998l66.981-181.95Q250.502 0 256.5 0q4.998 0 6.998 4.999l66.981 181.949q2 4.998 7.998 4.998h165.954q4.998 0 6.998 5.499t-3 8.498l-129.963 91.974q-4 2.999-3 8.997l71.98 193.946q2 4.999-1 7.998t-6.997 3q-3 0-4-1L260.5 386.891q-1-1-4-1-3.998 0-4.998 1L76.551 510.857q-1 1-4 1-3.999 0-6.998-2.999t-1-7.998l71.98-193.946q2-5.998-2.999-8.997L3.57 205.943q-4.998-3-2.999-8.498t7.998-5.499zm143.96 79.978q10.997 7.998 14.996 20.494t-1 25.493l-44.987 121.966L233.506 360.9q9.997-6.998 22.994-6.998 11.996 0 21.994 5.999l111.968 79.977-44.987-121.966q-4.999-12.996-1-25.493t14.996-20.494l68.98-47.986h-89.974q-26.992 0-37.99-25.993L256.5 76.979l-44.988 120.966q-10.997 25.993-37.989 25.993H84.548z", BV = !1, DV = "SAP-icons-v4", PV = "@ui5/webcomponents-icons"; +J(EV, { pathData: HC, ltr: BV, collection: DV, packageName: PV }); +const OV = "unfavorite", VC = "M400 510q-7 0-12-3l-132-74-131 74q-6 3-13 3-11 0-18.5-7T86 485q0-2 .5-2.5t.5-1.5l26-155L7 214q-7-7-7-17t6.5-17 15.5-9l148-21 63-137q7-15 23-15t23 15l64 137 147 21q10 2 16 9t6 17q0 11-7 17L399 326l26 155q1 1 1 4 0 11-7.5 18t-18.5 7zM256 379q7 0 13 3l97 54-20-114q0-7 1-12t6-10l81-85-112-16q-13-1-20-15l-46-99-46 99q-5 13-19 15L78 215l81 85q5 5 6 10t1 12l-20 114 98-54q5-3 12-3z", RV = !1, NV = "SAP-icons-v5", MV = "@ui5/webcomponents-icons"; +J(OV, { pathData: VC, ltr: RV, collection: NV, packageName: MV }); +Te(); +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const LV = { packageName: "@ui5/webcomponents", fileName: "themes/RatingIndicator.css.ts", content: `:host(:not([hidden])){display:inline-block;font-size:24px;margin:var(--_ui5-v1-22-1-rc-0_rating_indicator_component_spacing);cursor:pointer}:host([disabled]){opacity:.4;cursor:initial;outline:none}:host([readonly]){cursor:initial}:host([disabled]) .ui5-rating-indicator-item-unsel,:host([readonly]) .ui5-rating-indicator-item-unsel{padding-inline:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_spacing);width:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_readonly_item_height)}:host(:not([readonly]):not([disabled])) .ui5-rating-indicator-root:hover{opacity:.9}:host([_focused]){outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor);outline-offset:var(--_ui5-v1-22-1-rc-0_rating_indicator_outline_offset);border-radius:var(--_ui5-v1-22-1-rc-0_rating_indicator_border_radius)}[ui5-icon]{display:flex;text-shadow:var(--sapContent_TextShadow)}.ui5-rating-indicator-root{outline:none;position:relative}.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-v1-22-1-rc-0_rating_indicator_item_width);height:var(--_ui5-v1-22-1-rc-0_rating_indicator_item_height)}.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,.ui5-rating-indicator-item.ui5-rating-indicator-item-half{color:var(--sapContent_UnratedColor)}.ui5-rating-indicator-item [ui5-icon].ui5-rating-indicator-half-icon{position:absolute;inset-inline-start:50%;color:var(--sapContent_RatedColor)}.ui5-rating-indicator-half-icon-wrapper{width:100%;height:100%;position:absolute;inset-inline-start:-50%;top:0;z-index:32;overflow:hidden} +` }; +var Ur = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, hl; +let Ro = hl = class extends te { + static async onDefine() { + hl.i18nBundle = await pe("@ui5/webcomponents"); + } + constructor() { + super(); + } + 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 o = !1, r = this.value; + Math.floor(this.value) + 1 === e && t > 2 && t < 8 ? o = !0 : t <= 2 ? r = Math.floor(this.value) : t >= 8 && (r = Math.ceil(this.value)), this._stars.push({ + selected: e <= r, + index: e, + halfStar: o + }); + } + } + _onclick(e) { + const t = e.target; + if (!(t instanceof HTMLElement) || this.disabled || this.readonly) + return; + const o = t.getAttribute("data-ui5-value"); + o !== null && (this.value = parseInt(o), this.value === 1 && this._liveValue === 1 && (this.value = 0), this._liveValue !== this.value && (this.fireEvent("change"), this._liveValue = this.value)); + } + _onkeydown(e) { + if (this.disabled || this.readonly) + return; + const t = Ue(e) || Ct(e), o = dt(e) || Ye(e), r = se(e) || Se(e), n = qt(e), s = Ii(e), l = e.keyCode >= 48 && e.keyCode <= 57 || e.keyCode >= 96 && e.keyCode <= 105; + if (t || o || r || n || s || l) { + if (e.preventDefault(), t && this.value > 0) + this.value = Math.round(this.value - 1); + else if (o && this.value < this.max) + this.value = Math.round(this.value + 1); + else if (r) { + const T = Math.round(this.value + 1); + this.value = T > this.max ? 0 : T; + } else if (n) + this.value = 0; + else if (s) + this.value = this.max; + else if (l) { + const T = parseInt(e.key); + this.value = T > this.max ? this.max : T; + } + this.fireEvent("change"); + } + } + _onfocusin() { + this.disabled || (this._focused = !0, this._liveValue = this.value); + } + _onfocusout() { + this._focused = !1; + } + get effectiveTabIndex() { + const e = this.getAttribute("tabindex"); + return this.disabled ? "-1" : e || "0"; + } + get ratingTooltip() { + return this.tooltip || this.defaultTooltip; + } + get defaultTooltip() { + return hl.i18nBundle.getText(m4); + } + get _ariaRoleDescription() { + return hl.i18nBundle.getText(g4); + } + get _ariaDisabled() { + return this.disabled || void 0; + } + get _ariaLabel() { + return Xt(this); + } + get _ariaDescription() { + return this.required ? hl.i18nBundle.getText(b4) : void 0; + } + get ariaReadonly() { + return this.readonly ? "true" : void 0; + } +}; +Ur([ + x({ validator: Kt, defaultValue: 0 }) +], Ro.prototype, "value", void 0); +Ur([ + x({ validator: ne, defaultValue: 5 }) +], Ro.prototype, "max", void 0); +Ur([ + x({ type: Boolean }) +], Ro.prototype, "disabled", void 0); +Ur([ + x({ type: Boolean }) +], Ro.prototype, "readonly", void 0); +Ur([ + x() +], Ro.prototype, "accessibleName", void 0); +Ur([ + x({ defaultValue: "" }) +], Ro.prototype, "accessibleNameRef", void 0); +Ur([ + x({ type: Boolean }) +], Ro.prototype, "required", void 0); +Ur([ + x() +], Ro.prototype, "tooltip", void 0); +Ur([ + x({ type: Object, multiple: !0 }) +], Ro.prototype, "_stars", void 0); +Ur([ + x({ type: Boolean }) +], Ro.prototype, "_focused", void 0); +Ro = hl = Ur([ + X({ + tag: "ui5-rating-indicator", + languageAware: !0, + renderer: ue, + styles: LV, + template: hV, + dependencies: [Pe] + }), + U("change") +], Ro); +Ro.define(); +const FV = "slim-arrow-up", UC = "M261.5 197q-6-6-11 0l-160 160q-5 5-11.5 5t-11.5-5-5-11.5 5-11.5l166-165q9-9 22-9t23 9l165 165q5 5 5 11t-5 11q-12 12-23 0z", zV = !1, HV = "SAP-icons-v4", VV = "@ui5/webcomponents-icons"; +J(FV, { pathData: UC, ltr: zV, collection: HV, packageName: VV }); +const UV = "slim-arrow-up", qC = "M96 326q0-10 7-17l135-141q6-8 18-8 11 0 19 8l134 141q7 7 7 17 0 11-7.5 18.5T390 352q-10 0-18-8L256 223 140 344q-8 8-18 8-11 0-18.5-7.5T96 326z", qV = !1, WV = "SAP-icons-v5", jV = "@ui5/webcomponents-icons"; +J(UV, { pathData: qC, ltr: qV, collection: WV, packageName: jV }); +Te(); +var N1; +(function(i) { + i.Top = "Top", i.Bottom = "Bottom"; +})(N1 || (N1 = {})); +const M1 = N1; +var L1; +(function(i) { + i.Default = "Default", i.Positive = "Positive", i.Negative = "Negative", i.Critical = "Critical", i.Neutral = "Neutral"; +})(L1 || (L1 = {})); +const pi = L1; +var F1; +(function(i) { + i.Solid = "Solid", i.Transparent = "Transparent", i.Translucent = "Translucent"; +})(F1 || (F1 = {})); +const wh = F1; +var z1; +(function(i) { + i.Inline = "Inline", i.Standard = "Standard"; +})(z1 || (z1 = {})); +const Ch = z1; +var H1; +(function(i) { + i.End = "End", i.StartAndEnd = "StartAndEnd"; +})(H1 || (H1 = {})); +const V1 = H1; +function GV(i, e, t) { + return y`
    ${this.tabsAtTheBottom ? YV.call(this, i, e, t) : void 0}
    ${Y(this.items, (o, r) => o._id || r, (o, r) => QV.call(this, i, e, t, o, r))}
    ${this.tabsAtTheBottom ? void 0 : tU.call(this, i, e, t)}${this.hasSubTabs ? oU.call(this, i, e, t) : void 0}
    `; +} +function YV(i, e, t) { + return y`
    ${Y(this.items, (o, r) => o._id || r, (o, r) => XV.call(this, i, e, t, o, r))}
    `; +} +function XV(i, e, t, o, r) { + return y``; +} +function KV(i, e, t) { + return y``; +} +function ZV(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-start" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._startOverflowText)}` : y`${a(this._startOverflowText)}`; +} +function QV(i, e, t, o, r) { + return y`${a(o.stripPresentation)}`; +} +function JV(i, e, t) { + return y``; +} +function eU(i, e, t) { + return t ? y`<${E("ui5-button", e, t)} icon="${a(this.overflowMenuIcon)}" data-ui5-stable="overflow-end" tabindex="-1" tooltip="${a(this.overflowMenuTitle)}" aria-haspopup="menu" icon-end>${a(this._endOverflowText)}` : y`${a(this._endOverflowText)}`; +} +function tU(i, e, t) { + return y`
    ${Y(this.items, (o, r) => o._id || r, (o, r) => iU.call(this, i, e, t, o, r))}
    `; +} +function iU(i, e, t, o, r) { + return y``; +} +function oU(i, e, t) { + return y`${a(this.accInvisibleText)}`; +} +function rU(i, e, t) { + return t ? y`<${E("ui5-responsive-popover", e, t)} id="${a(this._id)}-overflowMenu" horizontal-align="Right" placement-type="Bottom" content-only-on-desktop hide-arrow _hide-header class="ui5-tab-container-responsive-popover"><${E("ui5-list", e, t)} mode="SingleSelect" separators="None" @ui5-item-click="${a(this._onOverflowListItemClick)}">${Y(this._overflowItems, (o, r) => o._id || r, (o, r) => e0.call(this, i, e, t, o, r))}` : y`${Y(this._overflowItems, (o, r) => o._id || r, (o, r) => e0.call(this, i, e, t, o, r))}`; +} +function e0(i, e, t, o, r) { + return y`${a(o.overflowPresentation)}`; +} +F("@ui5/webcomponents-theming", "sap_horizon", async () => Z); +F("@ui5/webcomponents", "sap_horizon", async () => ie); +const nU = { packageName: "@ui5/webcomponents", fileName: "themes/TabContainer.css.ts", content: `.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;width:100%;container-type:inline-size}.ui5-tc-root{display:flex;flex-direction:column;width:100%;height:100%;font-family:"72override",var(--sapFontFamily);font-size:1rem}.ui5-tc__header{position:relative;display:flex;align-items:center;background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background);height:var(--_ui5-v1-22-1-rc-0_tc_header_height);box-shadow:var(--_ui5-v1-22-1-rc-0_tc_header_box_shadow);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__header{border-top:var(--_ui5-v1-22-1-rc-0_tc_header_border_bottom)}:host([header-background-design="Transparent"]) .ui5-tc__header{background-color:transparent}:host([header-background-design="Translucent"]) .ui5-tc__header{background-color:var(--_ui5-v1-22-1-rc-0_tc_header_background_translucent)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only)}.ui5-tc-root.ui5-tc--textOnly.ui5-tc--withAdditionalText.ui5-tc--standardTabLayout .ui5-tc__header{height:var(--_ui5-v1-22-1-rc-0_tc_header_height_text_with_additional_text)}.ui5-tc__tabStrip{flex:1;display:flex;overflow:hidden;box-sizing:border-box;position:relative;white-space:nowrap}.ui5-tc__separator:focus{outline:none}.ui5-tc__overflow{flex:0 0 0}.ui5-tc__overflow.ui5-tc__overflow--end{padding-inline-start:.188rem;margin-inline-end:1rem}.ui5-tc__overflow.ui5-tc__overflow--start{margin-inline-start:1rem}.ui5-tc__overflow[hidden]{display:none}.ui5-tc__overflow>[ui5-button]{border-radius:.75rem;height:1.5rem}.ui5-tc__overflow>[ui5-button]:not([active]){color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button]:not([active]):hover{color:var(--_ui5-v1-22-1-rc-0_tc_overflow_text_color)}.ui5-tc__overflow>[ui5-button][focused]{outline-offset:.125rem;--_ui5-v1-22-1-rc-0_button_focused_border: none;outline:var(--sapContent_FocusWidth) var(--sapContent_FocusStyle) var(--sapContent_FocusColor)}.ui5-tc-root.ui5-tc--textOnly .ui5-tc__content{height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height_text_only))}.ui5-tc__content{position:relative;display:flex;height:calc(100% - var(--_ui5-v1-22-1-rc-0_tc_header_height));background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background);border-bottom:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom);box-sizing:border-box}:host([tabs-placement="Bottom"]) .ui5-tc__content{border-top:var(--_ui5-v1-22-1-rc-0_tc_content_border_bottom)}:host([content-background-design="Transparent"]) .ui5-tc__content{background-color:transparent}:host([content-background-design="Translucent"]) .ui5-tc__content{background-color:var(--_ui5-v1-22-1-rc-0_tc_content_background_translucent)}.ui5-tc__content--collapsed{display:none}.ui5-tc--transparent .ui5-tc__content{background-color:transparent}.ui5-tc__contentItem{max-height:100%;display:flex;flex-grow:1;overflow:auto}.ui5-tc__contentItem[hidden]{display:none}.ui5-tc__header{padding:0}.ui5-tc__content{padding:1rem}@container (min-width: 600px){.ui5-tc__header{padding:0 1rem}.ui5-tc__content{padding:1rem 2rem}}@container (min-width: 1440px){.ui5-tc__header{padding:0 2rem}.ui5-tc__content{padding:1rem 3rem}} +` }; +var Qt = globalThis && globalThis.__decorate || function(i, e, t, o) { + var r = arguments.length, n = r < 3 ? e : o === null ? o = Object.getOwnPropertyDescriptor(e, t) : o, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + n = Reflect.decorate(i, e, t, o); + else + for (var l = i.length - 1; l >= 0; l--) + (s = i[l]) && (n = (r < 3 ? s(n) : r > 3 ? s(e, t, n) : s(e, t)) || n); + return r > 3 && n && Object.defineProperty(e, t, n), n; +}, Pn; +const WC = [], jC = [], aU = 5; +let It = Pn = class extends te { + static registerTabStyles(e) { + WC.push(e); + } + static registerStaticAreaTabStyles(e) { + jC.push(e); + } + constructor() { + super(), this._handleResizeBound = this._handleResize.bind(this), this._itemNavigation = new $i(this, { + getItemsCallback: () => this._getFocusableRefs(), + skipItemsSize: aU + }); + } + onBeforeRendering() { + if (this._allItemsAndSubItems = this._getAllSubItems(this.items), !this._allItemsAndSubItems.length) + return; + const e = this._allItemsAndSubItems.filter((t) => t.selected); + e.length ? (this._selectedTab.forcedSelected = !1, this._selectedTab = e[0]) : (this._selectedTab = this._allItemsAndSubItems[0], this._selectedTab.forcedSelected = !0), this._setItemsPrivateProperties(this.items), this._animationRunning || (this._contentCollapsed = this.collapsed), this.showOverflow && console.warn('The "show-overflow" property is deprecated and will be removed in a future release.'); + } + onAfterRendering() { + if (this.items.length && (this._setItemsForStrip(), !this.shadowRoot.contains(document.activeElement))) { + const e = this._getRootTab(this._selectedTab); + this._itemNavigation.setCurrentItem(e); + } + } + onEnterDOM() { + Ce.register(this._getHeader(), this._handleResizeBound); + } + onExitDOM() { + Ce.deregister(this._getHeader(), this._handleResizeBound); + } + _handleResize() { + this.responsivePopover && this.responsivePopover.opened && this.responsivePopover.close(), this._width = this.offsetWidth; + } + _setItemsPrivateProperties(e) { + e.filter((o) => (o.getElementInStrip = () => this.getDomRef().querySelector(`[id="${o._id}"]`), !o.isSeparator)).forEach((o, r, n) => { + o.isInline = this.tabLayout === Ch.Inline, o.forcedMixedMode = this.mixedMode, o.forcedPosinset = r + 1, o.forcedSetsize = n.length, o.realTabReference = this._selectedTab, o.isTopLevelTab = e.some((s) => s === o), U1(e, (s) => { + s.realTabReference = o.realTabReference; + }); + }); + } + _onHeaderFocusin(e) { + const t = Td(e.target); + t && this._itemNavigation.setCurrentItem(t.realTabReference); + } + async _onTabStripClick(e) { + const t = Td(e.target); + if (!(!t || t.realTabReference.disabled)) { + if (e.stopPropagation(), e.preventDefault(), e.target.hasAttribute("ui5-button")) { + this._onTabExpandButtonClick(e); + return; + } + if (!t.realTabReference.hasOwnContent && t.realTabReference.tabs.length) { + this._overflowItems = t.realTabReference.subTabs, this._addStyleIndent(this._overflowItems), this.responsivePopover = await this._respPopover(), this.responsivePopover.opened ? this.responsivePopover.close() : this._setPopoverInitialFocus(), this.responsivePopover.showAt(t.realTabReference.getTabInStripDomRef()); + return; + } + this._onHeaderItemSelect(t); + } + } + async _onTabExpandButtonClick(e) { + e.stopPropagation(), e.preventDefault(); + let t = e.target, o = t.tab; + if (o && o.focus(), e.type === "keydown" && !e.target.realTabReference.isSingleClickArea && (t = e.target.querySelectorAll(".ui5-tab-expand-button")[0], o = e.target.realTabReference), !o) { + this._onHeaderItemSelect(t.parentElement); + return; + } + this._overflowItems = o.subTabs, this._addStyleIndent(this._overflowItems), this.responsivePopover = await this._respPopover(), this.responsivePopover.isOpen() ? this.responsivePopover.close() : this._setPopoverInitialFocus(), this.responsivePopover.showAt(t); + } + _setPopoverInitialFocus() { + const t = this._getSelectedTabInOverflow() || this._getFirstFocusableItemInOverflow(); + this.responsivePopover.initialFocus = `${t.realTabReference._id}-li`; + } + _getSelectedTabInOverflow() { + return this.responsivePopover.content[0].items.find((e) => e.realTabReference && e.realTabReference.selected); + } + _getFirstFocusableItemInOverflow() { + return this.responsivePopover.content[0].items.find((e) => e.classList.contains("ui5-tab-overflow-item")); + } + _onTabStripKeyDown(e) { + const t = Td(e.target); + !t || t.realTabReference.disabled || (Se(e) && (t.realTabReference.isSingleClickArea ? this._onTabStripClick(e) : this._onHeaderItemSelect(t)), se(e) && e.preventDefault(), (Ue(e) || Ye(e)) && (t.realTabReference.requiresExpandButton && this._onTabExpandButtonClick(e), t.realTabReference.isSingleClickArea && this._onTabStripClick(e))); + } + _onTabStripKeyUp(e) { + const t = Td(e.target); + !t || t.realTabReference.disabled || se(e) && (e.preventDefault(), t.realTabReference.isSingleClickArea ? this._onTabStripClick(e) : this._onHeaderItemSelect(t)); + } + _onHeaderItemSelect(e) { + e.hasAttribute("disabled") || this._onItemSelect(e.id); + } + async _onOverflowListItemClick(e) { + e.preventDefault(), this._onItemSelect(e.detail.item.id.slice(0, -3)), this.responsivePopover.close(), await Mt(), this._getRootTab(this._selectedTab).getTabInStripDomRef().focus(); + } + /** + * Returns all slotted tabs and their subTabs in a flattened array. + * The order of tabs is depth-first. For example, given the following slotted elements: + *
    
    +   * 	<ui5-tabcontainer>
    +   * 		<ui5-tab id="First" text="First">
    +   * 			...
    +   * 			<ui5-tab slot="subTabs" id="Nested" text="Nested">...</ui5-tab>
    +   * 		</ui5-tab>
    +   * 		<ui5-tab id="Second" text="Second">...</ui5-tab>
    +   * 		<ui5-tab-separator id="sep"></ui5-tab-separator>
    +   * 		<ui5-tab id="Third" text="Third">...</ui5-tab>
    +   * 	</ui5-tabcontainer>
    +   * 
    + * Calling allItems on this TabContainer will return the instances in the following order: + * [ ui5-tab#First, ui5-tab#Nested, ui5-tab#Second, ui5-tab-separator#sep, ui5-tab#Third ] + * @public + * @default [] + */ + get allItems() { + return this._getAllSubItems(this.items); + } + _getAllSubItems(e, t = [], o = 1) { + return e.forEach((r) => { + (r.hasAttribute("ui5-tab") || r.hasAttribute("ui5-tab-separator")) && (r.forcedLevel = o, t.push(r), r.subTabs && this._getAllSubItems(r.subTabs, t, o + 1)); + }), t; + } + _onItemSelect(e) { + const t = this._selectedTab, o = this._allItemsAndSubItems.findIndex((s) => s.__id === e), r = this._allItemsAndSubItems[o]; + this.selectTab(r, o) && (this._allItemsAndSubItems.forEach((s, l) => { + const T = o === l; + s.selected = T, s.forcedSelected && (s.forcedSelected = !1); + }), !this.fixed && (this.shouldAnimate ? this.toggleAnimated(r, t) : this.toggle(r, t))); + } + async toggleAnimated(e, t) { + const o = this.shadowRoot.querySelector(".ui5-tc__content"); + let r = null; + this._animationRunning = !0, e === t ? (this.collapsed = !this.collapsed, r = this.collapsed ? this.slideContentUp(o) : this.slideContentDown(o)) : (r = this.collapsed ? this.slideContentDown(o) : Promise.resolve(), this.collapsed = !1), await r, this._contentCollapsed = this.collapsed, this._animationRunning = !1; + } + toggle(e, t) { + e === t ? this.collapsed = !this.collapsed : this.collapsed = !1; + } + /** + * Fires the tab-select event and changes the internal reference for the currently selected tab. + * If the event is prevented, the current tab is not changed. + * @private + * + * @param selectedTab selected tab instance + * @param selectedTabIndex selected tab index for an array containing all tabs and sub tabs. Note: Use the method allTabs to get this array. + * @returns true if the tab selection is successful, false if it was prevented + */ + selectTab(e, t) { + return this.fireEvent("tab-select", { tab: e, tabIndex: t }, !0) ? (this._selectedTab = e, !0) : !1; + } + slideContentDown(e) { + return IC(e).promise(); + } + slideContentUp(e) { + return kC(e).promise(); + } + async _onOverflowClick(e) { + if (e.target.classList.contains("ui5-tc__overflow")) + return; + const o = e.currentTarget.classList.contains("ui5-tc__overflow--end"), r = o ? "end-overflow" : "start-overflow"; + this._overflowItems = this.items.filter((s) => { + const l = s.getTabInStripDomRef(); + return l && l.hasAttribute(r); + }), this._addStyleIndent(this._overflowItems); + let n; + o ? n = this.overflowButton[0] || this._getEndOverflowBtnDOM() : n = this.startOverflowButton[0] || this._getStartOverflowBtnDOM(), this.responsivePopover = await this._respPopover(), this.responsivePopover.opened ? this.responsivePopover.close() : (this._setPopoverInitialFocus(), this.responsivePopover.showAt(n)); + } + _addStyleIndent(e) { + const t = this._getAllSubItems(e).filter((o) => !o.isSeparator).some((o) => o.design !== pi.Default && o.design !== pi.Neutral); + U1(e, (o) => { + let r = o.forcedLevel - 1; + o.isSeparator && (r += 1), o.forcedStyle = { + [Bo("--_ui5-tab-indentation-level")]: r, + [Bo("--_ui5-tab-extra-indent")]: t ? 1 : null + }; + }); + } + async _onOverflowKeyDown(e) { + const t = e.currentTarget, o = t.classList.contains("ui5-tc__overflow--end"), r = t.classList.contains("ui5-tc__overflow--start"); + (Ue(e) || r && Ct(e) || o && dt(e)) && (e.stopPropagation(), e.preventDefault(), await this._onOverflowClick(e)); + } + _setItemsForStrip() { + const e = this._getTabStrip(); + let t = 0; + if (!this._selectedTab) + return; + const o = this.items.map((n) => n.getTabInStripDomRef()); + this._getStartOverflow().setAttribute("hidden", ""), this._getEndOverflow().setAttribute("hidden", ""); + for (let n = 0; n < o.length; n++) + o[n].removeAttribute("hidden"), o[n].removeAttribute("start-overflow"), o[n].removeAttribute("end-overflow"); + o.forEach((n) => { + t += this._getItemWidth(n); + }), e.offsetWidth < t && (this.isModeStartAndEnd ? (this._updateStartAndEndOverflow(o), this._updateOverflowCounters()) : this._updateEndOverflow(o)); + } + _getRootTab(e) { + for (; e.hasAttribute("ui5-tab") && !e.parentElement.hasAttribute("ui5-tabcontainer"); ) + e = e.parentElement; + return e; + } + _updateEndOverflow(e) { + this._getEndOverflow().removeAttribute("hidden"); + const o = this._getRootTab(this._selectedTab).getTabInStripDomRef(), r = this._getTabStrip().offsetWidth, n = this._getSelectedItemIndexAndWidth(e, o), s = this._findLastVisibleItem(e, r, n.width); + for (let l = s + 1; l < e.length; l++) + e[l].setAttribute("hidden", ""), e[l].setAttribute("end-overflow", ""); + this._endOverflowText = this.overflowButtonText; + } + _updateStartAndEndOverflow(e) { + let t = this._getTabStrip().offsetWidth; + const r = this._getRootTab(this._selectedTab).getTabInStripDomRef(), n = this._getSelectedItemIndexAndWidth(e, r), s = this._hasStartOverflow(t, e, n), l = this._hasEndOverflow(t, e, n); + let T, w; + if (!s) { + this._getEndOverflow().removeAttribute("hidden"), t = this._getTabStrip().offsetWidth, w = this._findLastVisibleItem(e, t, n.width); + for (let S = w + 1; S < e.length; S++) + e[S].setAttribute("hidden", ""), e[S].setAttribute("end-overflow", ""); + return; + } + if (!l) { + this._getStartOverflow().removeAttribute("hidden"), t = this._getTabStrip().offsetWidth, T = this._findFirstVisibleItem(e, t, n.width); + for (let S = T - 1; S >= 0; S--) + e[S].setAttribute("hidden", ""), e[S].setAttribute("start-overflow", ""); + return; + } + this._getStartOverflow().removeAttribute("hidden"), this._getEndOverflow().removeAttribute("hidden"), t = this._getTabStrip().offsetWidth, T = this._findFirstVisibleItem(e, t, n.width, n.index - 1), w = this._findLastVisibleItem(e, t, n.width, T); + for (let S = T - 1; S >= 0; S--) + e[S].setAttribute("hidden", ""), e[S].setAttribute("start-overflow", ""); + for (let S = w + 1; S < e.length; S++) + e[S].setAttribute("hidden", ""), e[S].setAttribute("end-overflow", ""); + } + _hasStartOverflow(e, t, o) { + if (o.index === 0) + return !1; + let r = 0; + for (let s = o.index - 1; s >= 0; s--) + r += this._getItemWidth(t[s]); + let n = e < r + o.width; + return n || (this._getEndOverflow().removeAttribute("hidden"), e = this._getTabStrip().offsetWidth, n = e < r + o.width, this._getEndOverflow().setAttribute("hidden", "")), n; + } + _hasEndOverflow(e, t, o) { + if (o.index >= t.length) + return !1; + let r = 0; + for (let s = o.index; s < t.length; s++) + r += this._getItemWidth(t[s]); + let n = e < r + o.width; + return n || (this._getStartOverflow().removeAttribute("hidden"), e = this._getTabStrip().offsetWidth, n = e < r + o.width, this._getStartOverflow().setAttribute("hidden", "")), n; + } + _getItemWidth(e) { + const t = window.getComputedStyle(e), o = Number.parseInt(t.marginLeft) + Number.parseInt(t.marginRight); + return e.offsetWidth + o; + } + _getSelectedItemIndexAndWidth(e, t) { + let o = e.indexOf(t), r = t.offsetWidth, n; + return e[o - 1] && e[o - 1].isSeparator && (n = e[o - 1], r += this._getItemWidth(n)), e.splice(o, 1), n && (e.splice(o - 1, 1), o--), { + index: o, + width: r + }; + } + _findFirstVisibleItem(e, t, o, r) { + r === void 0 && (r = e.length - 1); + let n = r + 1; + for (let s = r; s >= 0; s--) { + const l = this._getItemWidth(e[s]); + if (t < o + l) + break; + o += l, n = s; + } + return n; + } + _findLastVisibleItem(e, t, o, r = 0) { + let n = r - 1, s = r; + for (; s < e.length; s++) { + const T = this._getItemWidth(e[s]); + if (t < o + T) + break; + o += T, n = s; + } + const l = e[s - 1]; + return l && l.isSeparator && (n -= 1), n; + } + get isModeStartAndEnd() { + return this.tabsOverflowMode === V1.StartAndEnd; + } + _updateOverflowCounters() { + let e = 0, t = 0; + this._getTabs().map((o) => o.getTabInStripDomRef()).forEach((o) => { + o.hasAttribute("start-overflow") && e++, o.hasAttribute("end-overflow") && t++; + }), this._startOverflowText = `+${e}`, this._endOverflowText = `+${t}`; + } + _getFocusableRefs() { + if (!this.getDomRef()) + return []; + const e = []; + return this._getStartOverflow().hasAttribute("hidden") || e.push(this.startOverflowButton[0] || this._getStartOverflowBtnDOM()), this._getTabs().forEach((t) => { + const o = t.getTabInStripDomRef(); + o && !o.hasAttribute("hidden") && e.push(t); + }), this._getEndOverflow().hasAttribute("hidden") || e.push(this.overflowButton[0] || this._getEndOverflowBtnDOM()), e; + } + _getHeader() { + return this.shadowRoot.querySelector(`#${this._id}-header`); + } + _getTabs() { + return this.items.filter((e) => !e.isSeparator); + } + get hasSubTabs() { + const e = this._getTabs(); + for (let t = 0; t < e.length; t++) + if (e[t].subTabs.length > 0) + return !0; + return !1; + } + _getTabStrip() { + return this.shadowRoot.querySelector(`#${this._id}-tabStrip`); + } + _getStartOverflow() { + return this.shadowRoot.querySelector(".ui5-tc__overflow--start"); + } + _getEndOverflow() { + return this.shadowRoot.querySelector(".ui5-tc__overflow--end"); + } + _getStartOverflowBtnDOM() { + return this._getStartOverflow().querySelector("[ui5-button]"); + } + _getEndOverflowBtnDOM() { + return this._getEndOverflow().querySelector("[ui5-button]"); + } + async _respPopover() { + return (await this.getStaticAreaItemDomRef()).querySelector(`#${this._id}-overflowMenu`); + } + async _closeRespPopover() { + this.responsivePopover = await this._respPopover(), this.responsivePopover.close(); + } + get classes() { + return { + root: { + "ui5-tc-root": !0, + "ui5-tc--textOnly": this.textOnly, + "ui5-tc--withAdditionalText": this.withAdditionalText, + "ui5-tc--standardTabLayout": this.standardTabLayout + }, + header: { + "ui5-tc__header": !0 + }, + tabStrip: { + "ui5-tc__tabStrip": !0 + }, + separator: { + "ui5-tc__separator": !0 + }, + content: { + "ui5-tc__content": !0, + "ui5-tc__content--collapsed": this._contentCollapsed + } + }; + } + get mixedMode() { + return this.items.some((e) => e.icon) && this.items.some((e) => e.text); + } + get textOnly() { + return this.items.every((e) => !e.icon); + } + get withAdditionalText() { + return this.items.some((e) => !!e.additionalText); + } + get standardTabLayout() { + return this.tabLayout === Ch.Standard; + } + get previousIconACCName() { + return Pn.i18nBundle.getText(M4); + } + get nextIconACCName() { + return Pn.i18nBundle.getText(N4); + } + get overflowMenuTitle() { + return Pn.i18nBundle.getText(L4); + } + get tabsAtTheBottom() { + return this.tabsPlacement === M1.Bottom; + } + get overflowMenuIcon() { + return this.tabsAtTheBottom ? "slim-arrow-up" : "slim-arrow-down"; + } + get overflowButtonText() { + return Pn.i18nBundle.getText(fv); + } + get popoverCancelButtonText() { + return Pn.i18nBundle.getText(F4); + } + get accInvisibleText() { + return Pn.i18nBundle.getText(z4); + } + get tablistAriaDescribedById() { + return this.hasSubTabs ? `${this._id}-invisibleText` : void 0; + } + get shouldAnimate() { + return Oa() !== Vn.None; + } + static async onDefine() { + Pn.i18nBundle = await pe("@ui5/webcomponents"); + } +}; +Qt([ + x({ type: Boolean }) +], It.prototype, "fixed", void 0); +Qt([ + x({ type: Boolean }) +], It.prototype, "collapsed", void 0); +Qt([ + x({ type: Boolean }) +], It.prototype, "showOverflow", void 0); +Qt([ + x({ type: Ch, defaultValue: Ch.Standard }) +], It.prototype, "tabLayout", void 0); +Qt([ + x({ type: V1, defaultValue: V1.End }) +], It.prototype, "tabsOverflowMode", void 0); +Qt([ + x({ type: wh, defaultValue: wh.Solid }) +], It.prototype, "headerBackgroundDesign", void 0); +Qt([ + x({ type: wh, defaultValue: wh.Solid }) +], It.prototype, "contentBackgroundDesign", void 0); +Qt([ + x({ type: M1, defaultValue: M1.Top }) +], It.prototype, "tabsPlacement", void 0); +Qt([ + x({ type: Object }) +], It.prototype, "_selectedTab", void 0); +Qt([ + x({ type: Boolean, noAttribute: !0 }) +], It.prototype, "_animationRunning", void 0); +Qt([ + x({ type: Boolean, noAttribute: !0 }) +], It.prototype, "_contentCollapsed", void 0); +Qt([ + x({ noAttribute: !0, defaultValue: "0" }) +], It.prototype, "_startOverflowText", void 0); +Qt([ + x({ noAttribute: !0, defaultValue: "More" }) +], It.prototype, "_endOverflowText", void 0); +Qt([ + x({ type: Object, multiple: !0 }) +], It.prototype, "_overflowItems", void 0); +Qt([ + x({ validator: ne, noAttribute: !0 }) +], It.prototype, "_width", void 0); +Qt([ + K({ + default: !0, + type: HTMLElement, + individualSlots: !0, + invalidateOnChildChange: { + properties: !0, + slots: !1 + } + }) +], It.prototype, "items", void 0); +Qt([ + K() +], It.prototype, "overflowButton", void 0); +Qt([ + K() +], It.prototype, "startOverflowButton", void 0); +It = Pn = Qt([ + X({ + tag: "ui5-tabcontainer", + languageAware: !0, + fastNavigation: !0, + styles: [WC, nU], + staticAreaStyles: [Fr, jC], + renderer: ue, + template: GV, + staticAreaTemplate: rU, + dependencies: [ + Ne, + Pe, + fo, + po + ] + }), + U("tab-select", { + detail: { + /** + * @public + */ + tab: { type: HTMLElement }, + /** + * @public + */ + tabIndex: { type: Number } + } + }) +], It); +const sU = (i) => i.localName === "div" && i.getAttribute("role") === "tab", Td = (i) => { + for (; i; ) { + if (sU(i)) + return i; + i = i.parentElement; + } + return !1; +}, U1 = (i, e) => { + [...i].forEach((t) => { + e(t), t.subTabs && U1(t.subTabs, e); + }); +}; +It.define(); +const a_ = It; +function lU(i, e, t) { + return y`
    ${Y(this.tabs, (o, r) => o._id || r, (o, r) => cU.call(this, i, e, t, o, r))}
    `; +} +function cU(i, e, t, o, r) { + return y``; +} +function uU(i, e, t) { + return y` +
    +

    StepInput with valueStateChange Prevented

    + +
    +

    StepInput with valueState=None

    'change' event result stepInputChange2.addEventListener('ui5-change', displayChange); + stepInputValueStateChange.addEventListener("value-state-change", function(e) { + e.preventDefault(); + }); diff --git a/nightly/playground/main/pages/Switch/index.html b/nightly/playground/main/pages/Switch/index.html index 3fd29fbfe01e..620636f66531 100644 --- a/nightly/playground/main/pages/Switch/index.html +++ b/nightly/playground/main/pages/Switch/index.html @@ -11,7 +11,7 @@ - + diff --git a/nightly/playground/main/pages/TabContainer/index.html b/nightly/playground/main/pages/TabContainer/index.html index 5d000cd98e9c..5deb5de4e203 100644 --- a/nightly/playground/main/pages/TabContainer/index.html +++ b/nightly/playground/main/pages/TabContainer/index.html @@ -14,7 +14,7 @@ - + diff --git a/nightly/playground/main/pages/Table-perf-pure/index.html b/nightly/playground/main/pages/Table-perf-pure/index.html index 439c1eed745a..726db5e41384 100644 --- a/nightly/playground/main/pages/Table-perf-pure/index.html +++ b/nightly/playground/main/pages/Table-perf-pure/index.html @@ -20,7 +20,7 @@ - + diff --git a/nightly/playground/main/pages/Table-perf/index.html b/nightly/playground/main/pages/Table-perf/index.html index f1000d56591e..835b0daf3433 100644 --- a/nightly/playground/main/pages/Table-perf/index.html +++ b/nightly/playground/main/pages/Table-perf/index.html @@ -20,7 +20,7 @@ - + diff --git a/nightly/playground/main/pages/Table/index.html b/nightly/playground/main/pages/Table/index.html index e3caa5b68b49..5f27e0e17cf9 100644 --- a/nightly/playground/main/pages/Table/index.html +++ b/nightly/playground/main/pages/Table/index.html @@ -19,7 +19,7 @@ - + diff --git a/nightly/playground/main/pages/Table2/index.html b/nightly/playground/main/pages/Table2/index.html index 3640e9cf0e0c..cd1381451a28 100644 --- a/nightly/playground/main/pages/Table2/index.html +++ b/nightly/playground/main/pages/Table2/index.html @@ -16,7 +16,7 @@ - + diff --git a/nightly/playground/main/pages/TableAllPopin/index.html b/nightly/playground/main/pages/TableAllPopin/index.html index ff660785d9c6..62a9d62ef93d 100644 --- a/nightly/playground/main/pages/TableAllPopin/index.html +++ b/nightly/playground/main/pages/TableAllPopin/index.html @@ -20,7 +20,7 @@ - + diff --git a/nightly/playground/main/pages/TableCustomStyling/index.html b/nightly/playground/main/pages/TableCustomStyling/index.html index 37aa3bc6c0d0..de60c927f84f 100644 --- a/nightly/playground/main/pages/TableCustomStyling/index.html +++ b/nightly/playground/main/pages/TableCustomStyling/index.html @@ -19,7 +19,7 @@ - + diff --git a/nightly/playground/main/pages/TableGrouping/index.html b/nightly/playground/main/pages/TableGrouping/index.html index ef95bcf8f4af..8c3ef51039c9 100644 --- a/nightly/playground/main/pages/TableGrouping/index.html +++ b/nightly/playground/main/pages/TableGrouping/index.html @@ -16,7 +16,7 @@ - + diff --git a/nightly/playground/main/pages/TableGrowingWithButton/index.html b/nightly/playground/main/pages/TableGrowingWithButton/index.html index 47dc07b9bb97..f71174e21ba9 100644 --- a/nightly/playground/main/pages/TableGrowingWithButton/index.html +++ b/nightly/playground/main/pages/TableGrowingWithButton/index.html @@ -10,7 +10,7 @@ - + diff --git a/nightly/playground/main/pages/TableGrowingWithScroll/index.html b/nightly/playground/main/pages/TableGrowingWithScroll/index.html index ada31896935f..588d5c2ca17c 100644 --- a/nightly/playground/main/pages/TableGrowingWithScroll/index.html +++ b/nightly/playground/main/pages/TableGrowingWithScroll/index.html @@ -10,7 +10,7 @@ - + diff --git a/nightly/playground/main/pages/TableSelection/index.html b/nightly/playground/main/pages/TableSelection/index.html index 65fbd76ad411..ec51fc856d19 100644 --- a/nightly/playground/main/pages/TableSelection/index.html +++ b/nightly/playground/main/pages/TableSelection/index.html @@ -16,7 +16,7 @@ - + diff --git a/nightly/playground/main/pages/TextArea/index.html b/nightly/playground/main/pages/TextArea/index.html index 0ed92508a30b..67ffa69747f4 100644 --- a/nightly/playground/main/pages/TextArea/index.html +++ b/nightly/playground/main/pages/TextArea/index.html @@ -23,7 +23,7 @@ - + diff --git a/nightly/playground/main/pages/TimePicker/index.html b/nightly/playground/main/pages/TimePicker/index.html index 74d561a55957..327aabcf482f 100644 --- a/nightly/playground/main/pages/TimePicker/index.html +++ b/nightly/playground/main/pages/TimePicker/index.html @@ -13,7 +13,7 @@ - + diff --git a/nightly/playground/main/pages/TimePickerClock/index.html b/nightly/playground/main/pages/TimePickerClock/index.html index bab5b54b087d..8aa2bee7b5cd 100644 --- a/nightly/playground/main/pages/TimePickerClock/index.html +++ b/nightly/playground/main/pages/TimePickerClock/index.html @@ -24,7 +24,7 @@ - + diff --git a/nightly/playground/main/pages/TimeSelection/index.html b/nightly/playground/main/pages/TimeSelection/index.html index 9de6ca595fdc..87c6949c937f 100644 --- a/nightly/playground/main/pages/TimeSelection/index.html +++ b/nightly/playground/main/pages/TimeSelection/index.html @@ -13,7 +13,7 @@ - + diff --git a/nightly/playground/main/pages/TimeSelectionClocks/index.html b/nightly/playground/main/pages/TimeSelectionClocks/index.html index cb27a5f6ee5d..694f6cd8154b 100644 --- a/nightly/playground/main/pages/TimeSelectionClocks/index.html +++ b/nightly/playground/main/pages/TimeSelectionClocks/index.html @@ -24,7 +24,7 @@ - + diff --git a/nightly/playground/main/pages/TimeSelectionInputs/index.html b/nightly/playground/main/pages/TimeSelectionInputs/index.html index d65b192e85a7..ea65be031b75 100644 --- a/nightly/playground/main/pages/TimeSelectionInputs/index.html +++ b/nightly/playground/main/pages/TimeSelectionInputs/index.html @@ -18,7 +18,7 @@ - + diff --git a/nightly/playground/main/pages/Title/index.html b/nightly/playground/main/pages/Title/index.html index 0721ff09b178..3b867e9acb92 100644 --- a/nightly/playground/main/pages/Title/index.html +++ b/nightly/playground/main/pages/Title/index.html @@ -13,7 +13,7 @@ - + diff --git a/nightly/playground/main/pages/Toast/index.html b/nightly/playground/main/pages/Toast/index.html index b03bef176c40..9ca3018cbcc2 100644 --- a/nightly/playground/main/pages/Toast/index.html +++ b/nightly/playground/main/pages/Toast/index.html @@ -11,7 +11,7 @@ - + diff --git a/nightly/playground/main/pages/ToggleButton/index.html b/nightly/playground/main/pages/ToggleButton/index.html index c3d4ff208e30..b3a20a8960de 100644 --- a/nightly/playground/main/pages/ToggleButton/index.html +++ b/nightly/playground/main/pages/ToggleButton/index.html @@ -23,7 +23,7 @@ - + diff --git a/nightly/playground/main/pages/Tokenizer/index.html b/nightly/playground/main/pages/Tokenizer/index.html index 4953e96f6309..483f97f0f133 100644 --- a/nightly/playground/main/pages/Tokenizer/index.html +++ b/nightly/playground/main/pages/Tokenizer/index.html @@ -15,7 +15,7 @@ - + diff --git a/nightly/playground/main/pages/Toolbar/index.html b/nightly/playground/main/pages/Toolbar/index.html index 086f50f09a7f..48d7ed854e4d 100644 --- a/nightly/playground/main/pages/Toolbar/index.html +++ b/nightly/playground/main/pages/Toolbar/index.html @@ -10,7 +10,7 @@ - + diff --git a/nightly/playground/main/pages/ToolbarButton/index.html b/nightly/playground/main/pages/ToolbarButton/index.html index ae2baf5139a0..f15e7d51a6ba 100644 --- a/nightly/playground/main/pages/ToolbarButton/index.html +++ b/nightly/playground/main/pages/ToolbarButton/index.html @@ -11,7 +11,7 @@ - + Add diff --git a/nightly/playground/main/pages/ToolbarSelect/index.html b/nightly/playground/main/pages/ToolbarSelect/index.html index 1ee74ab61664..6399ad6880bd 100644 --- a/nightly/playground/main/pages/ToolbarSelect/index.html +++ b/nightly/playground/main/pages/ToolbarSelect/index.html @@ -11,7 +11,7 @@ - + Add diff --git a/nightly/playground/main/pages/Tree/index.html b/nightly/playground/main/pages/Tree/index.html index 871ac88c878c..b7da3616e690 100644 --- a/nightly/playground/main/pages/Tree/index.html +++ b/nightly/playground/main/pages/Tree/index.html @@ -21,7 +21,7 @@ - + diff --git a/nightly/playground/main/pages/TreeDynamic/index.html b/nightly/playground/main/pages/TreeDynamic/index.html index 96fbc3e4f76d..cc9cf0a9292b 100644 --- a/nightly/playground/main/pages/TreeDynamic/index.html +++ b/nightly/playground/main/pages/TreeDynamic/index.html @@ -21,7 +21,7 @@ - + diff --git a/nightly/playground/main/pages/WheelSlider_Test_Page/index.html b/nightly/playground/main/pages/WheelSlider_Test_Page/index.html index 2fb4c828e777..204919ebe795 100644 --- a/nightly/playground/main/pages/WheelSlider_Test_Page/index.html +++ b/nightly/playground/main/pages/WheelSlider_Test_Page/index.html @@ -10,7 +10,7 @@ - + diff --git a/nightly/playground/main/pages/form/index.html b/nightly/playground/main/pages/form/index.html index ab4abf16944f..5cd3c36bca25 100644 --- a/nightly/playground/main/pages/form/index.html +++ b/nightly/playground/main/pages/form/index.html @@ -11,7 +11,7 @@ - + diff --git a/nightly/playground/main/pages/i18n-defaultLang/index.html b/nightly/playground/main/pages/i18n-defaultLang/index.html index e32f5d17ed1b..195090a7f4cd 100644 --- a/nightly/playground/main/pages/i18n-defaultLang/index.html +++ b/nightly/playground/main/pages/i18n-defaultLang/index.html @@ -17,7 +17,7 @@ - + diff --git a/nightly/playground/main/pages/i18n-demo/index.html b/nightly/playground/main/pages/i18n-demo/index.html index 38a1f931b891..37f324c6bfa8 100644 --- a/nightly/playground/main/pages/i18n-demo/index.html +++ b/nightly/playground/main/pages/i18n-demo/index.html @@ -13,7 +13,7 @@ - + diff --git a/nightly/playground/project.json b/nightly/playground/project.json index 5ab218d1f603..930513d3d63d 100644 --- a/nightly/playground/project.json +++ b/nightly/playground/project.json @@ -1 +1 @@ -{"generatedAt":1707398627020,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Lerna","packageManager":{"type":"yarn","version":"1.22.21"},"typescriptOptions":{"reactDocgen":"react-docgen"},"features":{"storyStoreV7":true,"buildStoriesJson":true},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","storybookVersion":"7.6.4","storybookVersionSpecifier":"^7.6.0","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"7.6.4"},"@storybook/web-components":{"version":"7.6.4"},"@storybook/web-components-vite":{"version":"7.6.4"},"storybook":{"version":"7.6.4"}},"addons":{"@storybook/addon-links":{"version":"7.6.4"},"@storybook/addon-essentials":{"options":{"docs":false},"version":"7.6.4"},"@whitespace/storybook-addon-html":{"version":"5.1.6"},"@storybook/addon-docs":{"version":"7.6.4"}}} +{"generatedAt":1707461028102,"hasCustomBabel":false,"hasCustomWebpack":false,"hasStaticDirs":true,"hasStorybookEslint":false,"refCount":0,"monorepo":"Lerna","packageManager":{"type":"yarn","version":"1.22.21"},"typescriptOptions":{"reactDocgen":"react-docgen"},"features":{"storyStoreV7":true,"buildStoriesJson":true},"preview":{"usesGlobals":true},"framework":{"name":"@storybook/web-components-vite","options":{}},"builder":"@storybook/builder-vite","renderer":"@storybook/web-components","storybookVersion":"7.6.4","storybookVersionSpecifier":"^7.6.0","language":"typescript","storybookPackages":{"@storybook/addon-actions":{"version":"7.6.4"},"@storybook/web-components":{"version":"7.6.4"},"@storybook/web-components-vite":{"version":"7.6.4"},"storybook":{"version":"7.6.4"}},"addons":{"@storybook/addon-links":{"version":"7.6.4"},"@storybook/addon-essentials":{"options":{"docs":false},"version":"7.6.4"},"@whitespace/storybook-addon-html":{"version":"5.1.6"},"@storybook/addon-docs":{"version":"7.6.4"}}} diff --git a/nightly/version.md b/nightly/version.md index 8abeaa4b5159..02a7a64d4efd 100644 --- a/nightly/version.md +++ b/nightly/version.md @@ -1,5 +1,8 @@ -commit c54d6f25f72b62d9e0f93023bfb726540ffedd21 -Author: Dobrin Dimchev -Date: Thu Feb 8 05:21:39 2024 -0800 +commit 8ab3ad160d27bec5f9a77a41f534f480ec6481d0 +Author: Tsanislav Gatev +Date: Fri Feb 9 08:41:33 2024 +0200 - docs(ui5-checkbox): correct displayOnly property showcase (#8262) + feat(ui5-step-input): add value-state-change event (#8225) + + fixes: #4791 + fixes: #5130