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,mBAAmB,4DAAW;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,8CAA8C;AACvE;AACA;AACA;AACA;AACA;AACA,0BAA0B,sBAAsB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,sBAAsB;AAC9C;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,4DAAC,CAAC,oDAAI,QAAQ,4DAAC,SAAS,yCAAyC,EAAE,4DAAC,SAAS,wHAAwH,GAAG,4DAAC;AACrN;AACA,yBAAyB;AACzB;AACA,IAAI;AACJ;AACA;;AAEA;AACA;AACA,IAAI,4DAAgB;AACpB,wBAAwB,4DAAW;AACnC;AACA;AACA;AACA;AACA;AACA;AACA,+CAA+C,WAAW;AAC1D;AACA,4BAA4B,kCAAkC;AAC9D;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,kCAAkC,iBAAiB;AACnD;AACA;AACA,kCAAkC,gBAAgB;AAClD;AACA;AACA,KAAK;AACL;AACA;AACA,YAAY,4DAAC,CAAC,oDAAI,GAAG,SAAS,kBAAkB,EAAE,EAAE,4DAAC;AACrD;AACA,yBAAyB;AACzB;AACA,IAAI;AACJ;;AAEA,6BAA6B,cAAc,GAAG,gCAAgC,eAAe,gBAAgB,gCAAgC,SAAS,mBAAmB,SAAS,aAAa,OAAO,aAAa,k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AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,kCAAkC;AACrD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,oCAAoC;AACpC;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA,2BAA2B,4DAAC,aAAa,aAAa;AACtD;AACA;AACA,2BAA2B,4DAAC,aAAa,eAAe;AACxD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA,gBAAgB,4DAAC,SAAS;AAC1B;AACA,SAAS,EAAE,EAAE,4DAAC,eAAe,iBAAiB;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,cAAc,4DAAC,SAAS;AACxB;AACA;AACA;AACA,SAAS,2BAA2B,8BAA8B,4DAAC,SAAS,gBAAgB,EAAE,4DAAC,iBAAiB;AAChH;AACA,SAAS;AACT;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,EAAE;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,qBAAqB,4DAAC,UAAU,iBAAiB;AACjD;AACA,kEAAkE;AAClE,iBAAiB;AACjB;AACA;AACA,eAAe;AACf;AACA;AACA,aAAa;AACb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,4DAAgB;AACpB,uBAAuB,4DAAW;AAClC,oCAAoC,4DAAW;AAC/C,mBAAmB,4DAAW;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL;AACA;AACA,KAAK;AACL,wBAAwB;AACxB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,4DAAC,CAAC,oDAAI,QAAQ,4DAAC,SAAS,2BAA2B,EAAE,4DAAC,SAAS,yCAAyC,EAAE,4DAAC,SAAS,qBAAqB,GAAG,4DAAC,SAAS,mBAAmB,EAAE,4DAAC,SAAS,oBAAoB,kBAAkB,4DAAC,SAAS,uBAAuB,8CAA8C,4DAAC,oBAAoB,iDAAiD,oCAAoC,4DAAC,SAAS,gBAAgB;AAC1b;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,mFAAmF,4DAAC,eAAe;AAC1G,6CAA6C;AAC7C;AACA,OAAO,EAAE;AACT;AACA,YAAY,QAAQ,4DAAU,OAAO;AACrC;AACA;;AAEA,0CAA0C,cAAc,gBAAgB,uBAAuB,aAAa,kBAAkB,qBAAqB,kBAAkB,YAAY,gBAAgB,8CAA8C,kBAAkB,cAAc,WAAW,gDAAgD,SAAS,UAAU;;AAE7V;AACA;AACA,IAAI,4DAAgB;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,6DAA6D,kBAAkB,wBAAwB;AACvG;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mCAAmC,6BAA6B;AAChE,SAAS;AACT,SAAS,8BAA8B;AACvC,UAAU,kCAAkC;AAC5C,KAAK;AACL;AACA;AACA;AACA;AACA;AACA,WAAW,YAAY,6BAA6B,KAAK;AACzD;AACA;AACA;AACA;AACA,WAAW;AACX,YAAY,kCAAkC;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf,aAAa;AACb;AACA,SAAS;AACT,OAAO;AACP,KAAK;AACL;AACA;AACA,YAAY,4DAAC,CAAC,oDAAI,GAAG,wBAAwB,EAAE,4DAAC,SAAS,8BAA8B;AACvF;AACA,YAAY,QAAQ,4DAAU,OAAO;AACrC;AACA;;AAEA,yBAAyB,aAAa,sBAAsB,qCAAqC,OAAO,qCAAqC,iBAAiB,kDAAkD,aAAa,kBAAkB,WAAW,aAAa,gBAAgB,aAAa,WAAW,kBAAkB,QAAQ,UAAU,YAAY,mBAAmB,sBAAsB,WAAW,oDAAoD,kBAAkB,2DAA2D,aAAa,mBAAmB,aAAa,aAAa,sBAAsB,8BAA8B,SAAS,qBAAqB,MAAM,YAAY,gBAAgB,2CAA2C;;AAE7uB;AACA;AACA,IAAI,4DAAgB;AACpB,sBAAsB,4DAAW;AACjC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,2FAA2F,SAAS,sBAAsB,SAAS,iBAAiB,YAAY;AAChK;AACA,qGAAqG,SAAS,sBAAsB,SAAS,iBAAiB,YAAY;AAC1K;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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CAAgC;;AAEtI;AACA;AACA,IAAI,4DAAgB;AACpB;AACA;AACA,YAAY,4DAAC,CAAC,oDAAI,QAAQ,4DAAC,eAAe,4DAAC;AAC3C;AACA;AACA;;AAEA,2BAA2B,qBAAqB,iBAAiB,aAAa,iCAAiC,qHAAqH,QAAQ,kBAAkB,qBAAqB,YAAY,WAAW,qCAAqC,kBAAkB,sBAAsB,2BAA2B,gBAAgB,aAAa,kBAAkB,QAAQ,SAAS,YAAY,WAAW,mBAAmB,iBAAiB,2BAA2B,gBAAgB,wCAAwC,wBAAwB,UAAU,yBAAyB,qCAAqC,+BAA+B,qCAAqC,MAAM,qBAAqB,iBAAiB,iBAAiB,gCAAgC,eAAe,YAAY,iBAAiB,YAAY,aAAa;;AAEt6B;AACA;AACA,IAAI,4DAAgB;AACpB,mBAAmB,4DAAW;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB,8CAA8C;AACvE;AACA;AACA;AACA;AACA;AACA,0BAA0B,sBAAsB;AAChD;AACA;AACA;AACA;AACA;AACA;AACA,wBAAwB,sBAAsB;AAC9C;AACA;AACA;AACA;AACA;AACA,gCAAgC;AAChC;AACA;AACA;AACA;AACA;AACA;AACA,OAAO;AACP;AACA;AACA;AACA;AACA;AACA,0BAA0B;AAC1B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B;AAC5B;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS;AACT;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,YAAY,4DAAC,CAAC,oDAAI,QAAQ,4DAAC,SAAS,yCAAyC,EAAE,4DAAC,SAAS,oHAAoH,GAAG,4DAAC,WAAW;AAC5N;AACA;AACA;AACA,OAAO,EAAE;AACT;AACA,yBAAyB;AACzB;AACA,IAAI;AACJ;AACA;;AAEirB","file":"0-es2015.js","sourcesContent":["import { r as registerInstance, h, H as Host, c as createEvent, g as getElement } from './index-fac5572a.js';\n\nconst cmBannerCss = \":host{display:block}.container{box-sizing:border-box;display:flex;align-items:center;height:56px;padding-left:60px;padding-right:25px;border-radius:3px;box-shadow:1px 2px 3px 0 rgba(0, 0, 0, 0.1);background-color:#fff6ea;background-image:url(\\\"data:image/svg+xml,%3Csvg width='24' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath d='M12.868.52l10.277 17.984A1 1 0 0122.277 20H1.723a1 1 0 01-.868-1.496L11.132.519a1 1 0 011.736 0z' fill='%23FFA533' fill-rule='nonzero'/%3E%3Cpath d='M13.5 14v3h-3v-3h3zm.75-9l-1.117 7.5h-2.241L9.75 5h4.5z' fill='%23FFF'/%3E%3C/g%3E%3C/svg%3E\\\");background-repeat:no-repeat;background-position:25px center}\";\n\nconst CmBanner = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.appearance = 'warning';\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"container\" }, h(\"div\", null, h(\"slot\", null)))));\n }\n};\nCmBanner.style = cmBannerCss;\n\nconst onThemeChange = async (callback, options = {}) => {\n var _a;\n if (window.commonUIContext) {\n if ((_a = options.runOnInit) !== null && _a !== void 0 ? _a : true) {\n callback(window.commonUIContext._getResolvedTheme());\n }\n }\n let context = document.querySelector('cm-context');\n if (context) {\n context.addEventListener('themeChanged', (event) => {\n callback(event.detail.theme);\n });\n }\n};\n\nconst cmButtonCss = \":host{display:inline-block;user-select:none}div{display:grid;transition:all 0.2s linear;height:35px;min-width:80px;position:relative;cursor:pointer;padding:0 20px 0 20px;border-radius:3px;font-family:var(--cm-font-text);font-size:14px;font-weight:700;line-height:35px;text-decoration:none;text-align:center;}div span{opacity:1;transition:all 0.2s linear;transition-delay:0.2s}div span.disabled{transition-delay:0s}div cm-loader{position:absolute;opacity:0;align-self:center;justify-self:center;transition:all 0.2s linear;transition-delay:0s;pointer-events:none}div.initialRender{transition:none}div:not(.link).loading span{opacity:0;transition-delay:0s}div:not(.link).loading cm-loader{opacity:1;transition-delay:0.2s}div.small{height:22px;line-height:22px;min-width:60px;font-size:13px;padding:0 10px 0 10px}div.disabled,div:not(.link).loading{pointer-events:none;cursor:default}div.disabled span{opacity:0.5}div:focus{outline:none}div.main{background-color:var(--cm-color-ui-light5);border:solid 1px var(--cm-color-ui-light3);color:var(--cm-color-ui-dark4);box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.08)}div.main:hover{background-color:var(--cm-color-button-light1);border:solid 1px var(--cm-color-button-light2)}div.main:focus{outline:none}div.main:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}div.main:active{background-color:var(--cm-color-ui-light3);border:solid 1px var(--cm-color-button-light3)}div.main.disabled,div.main.loading{background-color:var(--cm-color-button-light4);border:solid 1px var(--cm-color-ui-light3);box-shadow:unset}div.primary{background-color:var(--cm-color-blue-base);border:solid 1px var(--cm-color-button-blue3);color:var(--cm-color-ui-light4);box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.35)}div.primary:hover{background-color:var(--cm-color-button-blue3);border:solid 1px var(--cm-color-button-blue4)}div.primary:focus{outline:none}div.primary:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}div.primary:active{background-color:var(--cm-color-button-blue4);border:solid 1px var(--cm-color-button-blue5)}div.primary.disabled,div.primary.loading{background-color:var(--cm-color-button-blue2);border:solid 1px var(--cm-color-button-blue1);box-shadow:unset}div.secondary{background-color:var(--cm-color-button-light4);border:solid 1px var(--cm-color-ui-light3);color:var(--cm-color-ui-dark4);box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.08)}div.secondary:hover{background-color:var(--cm-color-button-light5);border:solid 1px var(--cm-color-ui-light3)}div.secondary:focus{outline:none}div.secondary:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}div.secondary:active{background-color:var(--cm-color-button-light6);border:solid 1px var(--cm-color-ui-light3)}div.secondary.disabled,div.secondary.loading{background-color:var(--cm-color-button-light4);border:solid 1px var(--cm-color-ui-light3);box-shadow:unset}div.danger{background-color:var(--cm-color-red-base);border:solid 1px var(--cm-color-button-red3);color:var(--cm-color-ui-light4);box-shadow:0px 2px 2px 0px rgba(0, 0, 0, 0.35)}div.danger:hover{background-color:var(--cm-color-button-red3);border:solid 1px var(--cm-color-button-red4)}div.danger:focus{outline:none}div.danger:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-danger), 0px 0px 0px 4px var(--cm-color-focus-outer-danger)}div.danger:active{background-color:var(--cm-color-button-red4);border:solid 1px var(--cm-color-button-red5)}div.danger.disabled,div.danger.loading{background-color:var(--cm-color-button-red2);border:solid 1px var(--cm-color-button-red1);box-shadow:unset}div.link{padding:0;height:unset;min-width:unset;line-height:unset;font-family:var(--cm-font-text);font-size:14px;font-weight:400;color:var(--cm-color-link)}div.link:hover{color:var(--cm-color-link-hover)}div.link:focus{outline:none}div.link:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}div.link:active{color:var(--cm-color-link-active)}div.link.disabled{opacity:0.5}div.link.Dark{color:var(--cm-color-link-dark)}div.link.Dark:hover{color:var(--cm-color-link-hover-dark)}div.link.Dark:active{color:var(--cm-color-link-active-dark)}\";\n\nconst CmButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmPress = createEvent(this, \"cmPress\", 7);\n this.appearance = 'main';\n this.label = '';\n this.size = 'normal';\n this.disabled = false;\n /**\n * The loading state displays a spinner and effectively disables the button to user input. Does not affect buttons with the `link` appearance.\n */\n this.loading = false;\n this.theme = 'Light';\n this.initialRender = true;\n }\n disabledHandler() {\n if (this.disabled && !this.initialRender) {\n this.el.shadowRoot.querySelector('span').classList.add('disabled');\n }\n }\n /**\n * Triggers the press event. Respects the disabled state unless forced.\n */\n async press(options = {}) {\n if ((!this.disabled &&\n (!this.loading ||\n (this.loading && this.appearance === 'link'))) ||\n options.forcePress) {\n this.cmPress.emit();\n }\n }\n handleClick() {\n if (!this.disabled &&\n (!this.loading || (this.loading && this.appearance === 'link'))) {\n this.press();\n }\n }\n handleKeyDown(event) {\n if (event.key === ' ' || event.key === 'Enter') {\n if (!this.disabled &&\n (!this.loading || (this.loading && this.appearance === 'link'))) {\n this.press();\n }\n }\n }\n componentWillLoad() {\n onThemeChange((theme) => {\n this.theme = theme;\n });\n }\n componentDidRender() {\n requestAnimationFrame(() => {\n this.initialRender = false;\n if (!this.disabled) {\n this.el.shadowRoot\n .querySelector('span')\n .classList.remove('disabled');\n }\n });\n }\n render() {\n let classes = {\n [this.appearance]: true,\n [this.theme]: true,\n [this.size]: true,\n initialRender: this.initialRender,\n disabled: this.disabled,\n loading: this.loading,\n };\n let tabIndex = 0;\n if (this.disabled) {\n tabIndex = -1;\n }\n return (h(Host, null, h(\"div\", { tabindex: tabIndex, class: classes, role: \"button\", \"aria-disabled\": this.disabled }, h(\"cm-loader\", { size: \"small\", color: this.appearance === 'danger' ||\n this.appearance === 'primary'\n ? 'light'\n : 'dark' }), h(\"span\", null, this.label))));\n }\n get el() { return getElement(this); }\n static get watchers() { return {\n \"disabled\": [\"disabledHandler\"]\n }; }\n};\nCmButton.style = cmButtonCss;\n\nconst cmCardCss = \":host{display:block}.container{display:grid;grid-auto-rows:minmax(24px, max-content) 1fr max-content;box-sizing:border-box;position:relative;padding:30px;padding-right:40px;border-radius:3px;box-shadow:0 2px 3px 0 rgba(0, 0, 0, 0.1);border:solid 1px var(--cm-color-ui-light5);background-color:var(--cm-color-ui-light4)}.container .content{padding-top:20px}.container .content.hasFooterContent{padding-bottom:20px}.container slot[name=header],.container slot[name=footer]{display:grid;grid-auto-flow:column;justify-items:start;align-content:center}#dismissButton{position:absolute;right:12px;top:12px}\";\n\nconst CmCard = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmDismissed = createEvent(this, \"cmDismissed\", 7);\n /**\n * Adds a Dismiss-Button to the Card, which fires the `cmDismissed` Event when pressed.\n */\n this.isDismissable = false;\n this.hasFooterContent = false;\n }\n componentDidRender() {\n requestAnimationFrame(() => {\n let footerSlot = this.element.shadowRoot.querySelector('slot[name=footer]');\n if (footerSlot) {\n this.hasFooterContent = footerSlot.assignedElements().length > 0;\n }\n });\n }\n componentDidLoad() {\n let footerSlot = this.element.shadowRoot.querySelector('slot[name=footer]');\n footerSlot.addEventListener('slotchange', () => {\n this.hasFooterContent = footerSlot.assignedElements().length > 0;\n });\n }\n render() {\n const contentClasses = {\n content: true,\n hasFooterContent: this.hasFooterContent,\n };\n return (h(Host, null, h(\"div\", { class: \"container\" }, h(\"slot\", { name: \"header\" }), h(\"div\", { class: contentClasses }, h(\"slot\", null)), h(\"slot\", { name: \"footer\" }), this.isDismissable ? (h(\"cm-icon-button\", { id: \"dismissButton\", icon: \"closeLarge\", onCmPress: () => {\n this.cmDismissed.emit();\n } })) : (''))));\n }\n get element() { return getElement(this); }\n};\nCmCard.style = cmCardCss;\n\nconst cmCheckboxCss = \":host{display:inline-block}.container{display:grid;grid-auto-flow:column;grid-auto-columns:max-content 1fr}.container:focus{outline:none}.container:focus-visible .checkbox{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}.container:not(.disabled):hover .checkbox{border-color:var(--cm-color-ui-light6)}.checkbox{position:relative;display:inline-block;height:18px;width:18px;background-color:var(--cm-color-ui-light4);border:1px solid var(--cm-color-ui-light3);border-radius:3px;vertical-align:bottom;transition:all 0.2s linear}.checkbox::before{content:\\\"\\\";position:absolute;top:0;left:0;bottom:0;right:0;background-image:url(\\\"data:image/svg+xml,%3Csvg width='14' height='12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.743 11.314L0 6.57l1.897-1.897 2.846 2.846L12.103.16 14 2.057z' fill='%233B3B3B' fill-rule='nonzero'/%3E%3C/svg%3E\\\");background-repeat:no-repeat;background-position:center center;opacity:0;transition:all 0.2s linear}.checkbox::after{content:\\\"\\\";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:10px;height:3px;background:#3b3b3b;opacity:0;transition:all 0.2s linear}.checkbox.indeterminate::after{opacity:0.6}.checkbox.indeterminate:hover::after{opacity:0.8}.checkbox.indeterminate:active::after{opacity:1}.checkbox.checked:not(.indeterminate)::before{opacity:0.6}.checkbox.checked:not(.indeterminate):hover::before{opacity:0.8}.checkbox.checked:not(.indeterminate):active::before{opacity:1}.checkbox.disabled{background:var(--cm-color-ui-light1);border-color:var(--cm-color-ui-light5)}.checkbox.disabled.indeterminate::after{opacity:0.5}.checkbox.disabled.checked:not(.indeterminate)::before{opacity:0.5}label{display:inline-block;padding-left:8px;user-select:none;font-family:var(--cm-font-text);font-size:14px;min-height:20px;line-height:20px}label:empty{display:none}\";\n\nconst CmCheckbox = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmInput = createEvent(this, \"cmInput\", 7);\n this.label = '';\n this.checked = false;\n this.indeterminate = false;\n this.disabled = false;\n /**\n * Enables `cmInput` Events being emitted when the checked attribute changes.\n */\n this.enableAttributeEmit = false;\n }\n checkedChangeHandler() {\n if (this.enableAttributeEmit) {\n this.cmInput.emit({ isChecked: this.checked, triggeredBy: 'API' });\n }\n }\n handleKeyDown(event) {\n if (event.key === ' ') {\n if (!this.disabled) {\n this.toggleCheck({ triggeredBy: 'User' });\n event.preventDefault();\n }\n }\n }\n handleClick() {\n if (!this.disabled) {\n this.toggleCheck({ triggeredBy: 'User' });\n }\n }\n /**\n * Toggles the checked state. Respects the disabled state, unless forced.\n */\n async toggleCheck(options = {}) {\n var _a;\n if (!this.disabled || options.forceToggle) {\n this.checked = !this.checked;\n this.cmInput.emit({\n isChecked: this.checked,\n triggeredBy: (_a = options.triggeredBy) !== null && _a !== void 0 ? _a : 'API',\n });\n }\n }\n /**\n * Sets the checked state to true. Respects the disabled state, unless forced.\n */\n async check(options = {}) {\n var _a;\n if (!this.disabled || options.forceCheck) {\n if (this.checked === false) {\n this.checked = true;\n this.cmInput.emit({\n isChecked: this.checked,\n triggeredBy: (_a = options.triggeredBy) !== null && _a !== void 0 ? _a : 'API',\n });\n }\n }\n }\n /**\n * Sets the checked state to false. Respects the disabled state, unless forced.\n */\n async uncheck(options = {}) {\n var _a;\n if (!this.disabled || options.forceUncheck) {\n if (this.checked === true) {\n this.checked = false;\n this.cmInput.emit({\n isChecked: this.checked,\n triggeredBy: (_a = options.triggeredBy) !== null && _a !== void 0 ? _a : 'API',\n });\n }\n }\n }\n render() {\n let checkboxClasses = {\n checkbox: true,\n indeterminate: this.indeterminate,\n checked: this.checked,\n disabled: this.disabled,\n };\n let tabIndex = 0;\n if (this.disabled) {\n tabIndex = -1;\n }\n return (h(Host, null, h(\"div\", { class: \"container\", tabindex: tabIndex }, h(\"div\", { class: checkboxClasses, ref: (element) => (this.checkbox = element), role: \"checkbox\", \"aria-disabled\": this.disabled }), h(\"label\", null, this.label))));\n }\n static get watchers() { return {\n \"checked\": [\"checkedChangeHandler\"]\n }; }\n};\nCmCheckbox.style = cmCheckboxCss;\n\nconst CmContext = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.themeChanged = createEvent(this, \"themeChanged\", 7);\n this.theme = 'Light';\n }\n themeChangeHandler() {\n if (this.theme !== 'Light' &&\n this.theme !== 'Dark' &&\n this.theme !== 'Automatic') {\n console.error(`Invalid theme property \"${this.theme}\" set on cm-context!`);\n }\n this.themeChanged.emit({ theme: this._getResolvedTheme() });\n }\n /**\n * Returns the actual theme, resolving \"Automatic\" to an actual value.\n */\n async getResolvedTheme() {\n return this._getResolvedTheme();\n }\n _getResolvedTheme() {\n let resolvedTheme;\n if (this.theme === 'Automatic') {\n if (window.matchMedia('(prefers-color-scheme: light)').matches) {\n resolvedTheme = 'Light';\n }\n else {\n resolvedTheme = 'Dark';\n }\n }\n else {\n resolvedTheme = this.theme;\n }\n return resolvedTheme;\n }\n componentWillLoad() {\n window.commonUIContext = this;\n window\n .matchMedia('(prefers-color-scheme: light)')\n .addEventListener('change', (event) => {\n if (this.theme === 'Automatic') {\n if (event.matches) {\n this.themeChanged.emit({ theme: 'Light' });\n }\n else {\n this.themeChanged.emit({ theme: 'Dark' });\n }\n }\n });\n }\n render() {\n return (h(Host, { style: { display: 'none' } }, h(\"slot\", null)));\n }\n static get watchers() { return {\n \"theme\": [\"themeChangeHandler\"]\n }; }\n};\n\nconst cmDatalistCss = \":host{display:block}h1{font-family:var(--cm-font-text);font-size:24px;font-weight:500;color:var(--cm-color-ui-light6);margin:0;margin-bottom:40px}h1:empty{display:none}.items{display:grid;position:relative;left:-20px;width:calc(100% + 40px)}\";\n\nconst CmDatalist = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.headline = '';\n /**\n * Sets the width of the label for all cm-datalist-item's inside this cm-datalist. Expected format is a valid CSS Grid Column value.\n */\n this.labelWidth = '250px';\n }\n componentDidLoad() {\n this.element.shadowRoot\n .querySelector('slot')\n .addEventListener('slotchange', () => {\n this.updateItemLabelWidth();\n });\n }\n updateItemLabelWidth() {\n let items = Array.from(this.element.querySelectorAll('cm-datalist-item'));\n for (let item of items) {\n item.labelWidth = this.labelWidth;\n }\n }\n render() {\n this.updateItemLabelWidth();\n return (h(Host, null, h(\"h1\", null, this.headline), h(\"div\", { class: \"items\" }, h(\"slot\", null))));\n }\n get element() { return getElement(this); }\n};\nCmDatalist.style = cmDatalistCss;\n\nconst cmDatalistItemCss = \"cm-datalist-item:not(:last-child){border-bottom:1px solid var(--cm-color-ui-light5)}.container{display:grid;gap:20px;height:40px;line-height:40px}.container .label{padding-left:20px;opacity:0.9;font-family:var(--cm-font-text);font-size:14px;font-weight:600;color:var(--cm-color-ui-dark4);text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.container .content{padding-right:40px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}\";\n\nconst CmDatalistItem = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.labelWidth = '250px';\n this.label = '';\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"container\", style: { gridTemplateColumns: `${this.labelWidth} 1fr` } }, h(\"span\", { class: \"label\" }, this.label), h(\"div\", { class: \"content\" }, h(\"slot\", null)))));\n }\n};\nCmDatalistItem.style = cmDatalistItemCss;\n\nconst cmDropdownCss = \":host{display:inline-grid;position:relative;z-index:998}.container{display:inline-grid;position:relative}.container:focus{outline:none}.trigger{display:grid;align-content:center}.trigger .button{display:inline-grid;user-select:none;transition:all 0.2s linear;height:35px;cursor:pointer;padding:0 20px 0 20px;border-radius:3px;font-family:var(--cm-font-text);font-size:14px;font-weight:700;line-height:35px;text-decoration:none;text-align:center;grid-auto-flow:column;grid-auto-columns:max-content max-content;gap:5px;align-items:center;}.trigger .button.main{background-color:var(--cm-color-ui-light5);border:solid 1px var(--cm-color-ui-light3);color:var(--cm-color-ui-dark4)}.trigger .button.main:hover{background-color:var(--cm-color-button-light1);border:solid 1px var(--cm-color-button-light2)}.trigger .button.main:focus{outline:none}.trigger .button.main:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}.trigger .button.main:active{background-color:var(--cm-color-ui-light3);border:solid 1px var(--cm-color-button-light3)}.trigger .button.main.disabled{background-color:var(--cm-color-button-light4);border:solid 1px var(--cm-color-ui-light3);color:rgba(var(--cm-color-ui-dark4-rgb), 0.5);box-shadow:unset}.trigger .button.primary{background-color:var(--cm-color-blue-base);border:solid 1px var(--cm-color-button-blue3);color:var(--cm-color-ui-light4)}.trigger .button.primary:hover{background-color:var(--cm-color-button-blue3);border:solid 1px var(--cm-color-button-blue4)}.trigger .button.primary:focus{outline:none}.trigger .button.primary:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}.trigger .button.primary:active{background-color:var(--cm-color-button-blue4);border:solid 1px var(--cm-color-button-blue5)}.trigger .button.primary.disabled{background-color:var(--cm-color-button-blue2);border:solid 1px var(--cm-color-button-blue1);color:rgba(var(--cm-color-ui-light4-rgb), 0.5);box-shadow:unset}.trigger .button.secondary{background-color:var(--cm-color-button-light4);border:solid 1px var(--cm-color-ui-light3);color:var(--cm-color-ui-dark4)}.trigger .button.secondary:hover{background-color:var(--cm-color-button-light5);border:solid 1px var(--cm-color-ui-light3)}.trigger .button.secondary:focus{outline:none}.trigger .button.secondary:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}.trigger .button.secondary:active{background-color:var(--cm-color-button-light6);border:solid 1px var(--cm-color-ui-light3)}.trigger .button.secondary.disabled{background-color:var(--cm-color-button-light4);border:solid 1px var(--cm-color-ui-light3);color:rgba(var(--cm-color-ui-dark4-rgb), 0.5);box-shadow:unset}.trigger .label{display:grid;grid-auto-flow:column;align-items:center;gap:8px;padding:5px 10px;padding-right:5px;border-radius:5px;cursor:pointer;user-select:none;transition:all 0.2s linear}.trigger .label:focus{outline:none}.trigger .label:hover,.trigger .label:focus-visible{background-color:rgba(var(--cm-color-ui-light5-rgb), 0.5)}.trigger .label .text{font-family:var(--cm-font-text);font-size:15px;font-weight:500;color:var(--cm-color-ui-light6)}.trigger .label cm-icon{transform:translateY(1px)}.flyout{display:grid;opacity:0;pointer-events:none;transition:opacity 150ms linear;z-index:100;position:fixed;padding:5px;border-radius:5px;overflow:hidden;box-shadow:0 1px 10px 0 rgba(0, 0, 0, 0.2);background:#fcfcfc;min-width:max-content;gap:5px}.flyout.open{opacity:1;pointer-events:initial}.flyout .optionGroup:not(:first-child){padding-top:5px;border-top:solid 1px var(--cm-color-ui-light5)}.flyout .optionGroup .title{font-family:var(--cm-font-text);font-size:11px;color:var(--cm-color-ui-light6)}.flyout .optionGroup>.title:not(:empty){padding:5px 15px 0px}.flyout .optionGroup .option{user-select:none;border-radius:3px;padding:8px 15px;font-family:var(--cm-font-text);font-size:14px;color:var(--cm-color-ui-dark4);transition:all 150ms linear}.flyout .optionGroup .option:not(.disabled){cursor:pointer}.flyout .optionGroup .option:hover{background:#f0f0f0}.flyout .optionGroup .option.isDangerous{color:#e30100}.flyout .optionGroup .option.isDisabled{opacity:0.5}.flyout .optionGroup .option>.title{padding-bottom:2px}\";\n\nconst CmDropdown = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.trigger = {\n type: 'button',\n label: '',\n appearance: 'main',\n };\n this.options = [];\n this.shouldStayOpen = false;\n this.isOpen = false;\n }\n triggerOption(option) {\n if (option.isDisabled) {\n return;\n }\n option.handler({\n preventDismissal: () => {\n this.shouldStayOpen = true;\n },\n });\n if (this.shouldStayOpen) {\n this.shouldStayOpen = false;\n }\n else {\n this.isOpen = false;\n setTimeout(() => {\n this.el.blur();\n }, 10);\n }\n }\n /**\n * Opens the Dropdown.\n */\n async open() {\n this.isOpen = true;\n }\n /**\n * Closes the Dropdown.\n */\n async close() {\n this.isOpen = false;\n }\n /**\n * Triggers an option, as if selected by the user. The Dropdown is _not_ required to be open for this to work.\n */\n async triggerOptionByIndex(optionGroupIndex, optionIndex) {\n this.triggerOption(this.options[optionGroupIndex].options[optionIndex]);\n }\n onBlur() {\n this.isOpen = false;\n }\n _renderOption(option) {\n var _a, _b;\n let optionClasses = {\n option: true,\n isDangerous: (_a = option.isDangerous) !== null && _a !== void 0 ? _a : false,\n isDisabled: (_b = option.isDisabled) !== null && _b !== void 0 ? _b : false,\n };\n return (h(\"div\", { class: optionClasses, onMouseDown: (event) => {\n event.preventDefault();\n }, onClick: () => {\n this.triggerOption(option);\n } }, h(\"div\", { class: \"title\" }, option.title), option.label));\n }\n render() {\n var _a;\n let flyoutClasses = {\n flyout: true,\n open: this.isOpen,\n };\n let trigger, flyout;\n if (this.trigger) {\n if (this.trigger.type === 'label') {\n trigger = (h(\"div\", { class: \"trigger\", onClick: () => {\n this.isOpen = !this.isOpen;\n }, onKeyDown: (event) => {\n if (event.key === ' ' || event.key === 'Enter') {\n this.isOpen = !this.isOpen;\n }\n } }, h(\"div\", { class: \"label\", tabindex: \"0\" }, h(\"div\", { class: \"text\" }, this.trigger.label), h(\"cm-icon\", { icon: \"down\" }))));\n }\n else if (this.trigger.type === 'icon') {\n trigger = (h(\"div\", { class: \"trigger\" }, h(\"cm-icon-button\", { icon: this.trigger.icon, onCmPress: () => {\n this.isOpen = !this.isOpen;\n } })));\n }\n else {\n let buttonClasses = {\n button: true,\n [this.trigger.appearance]: true,\n };\n let iconColor;\n if (this.trigger.appearance === 'primary') {\n iconColor = 'bright';\n }\n else {\n iconColor = 'dark';\n }\n trigger = (h(\"div\", { class: \"trigger\" }, h(\"div\", { tabindex: \"0\", class: buttonClasses, onClick: () => {\n this.isOpen = !this.isOpen;\n }, onKeyDown: (event) => {\n if (event.key === ' ' ||\n event.key === 'Enter') {\n this.isOpen = !this.isOpen;\n }\n } }, this.trigger.label, h(\"cm-icon\", { icon: \"down\", color: iconColor, ignoreTheme: true }))));\n }\n }\n else {\n console.error('[cm-dropdown] .trigger is not defined!');\n }\n let flyoutOffset = 0;\n if (this.trigger.type === 'icon') {\n flyoutOffset = 6;\n }\n let flyoutStyles = {\n top: `${this.el.getBoundingClientRect().bottom + 10 + flyoutOffset}px`,\n };\n let flyoutWidth = (_a = this.el.shadowRoot.querySelector('.flyout')) === null || _a === void 0 ? void 0 : _a.clientWidth;\n let right = document.documentElement.clientWidth -\n this.el.getBoundingClientRect().right -\n flyoutOffset;\n if (document.documentElement.clientWidth - right - flyoutWidth < 0) {\n flyoutStyles.left = `${this.el.getBoundingClientRect().left}px`;\n }\n else {\n flyoutStyles.right = `${right}px`;\n }\n flyout = (h(\"div\", { class: flyoutClasses, style: flyoutStyles }, this.options.map((option) => {\n return (h(\"div\", { class: \"optionGroup\" }, h(\"div\", { class: \"title\" }, option.title), option.options.map((option) => {\n return this._renderOption(option);\n })));\n })));\n return (h(Host, null, h(\"div\", { class: \"container\" }, trigger, flyout)));\n }\n get el() { return getElement(this); }\n};\nCmDropdown.style = cmDropdownCss;\n\nconst cmEntityListCss = \":host{display:block;overflow:hidden}.container{background:var(--cm-color-ui-light2);z-index:1;position:relative;max-height:100%;height:100%;display:grid;grid-auto-rows:max-content 1fr}.header{display:grid;gap:35px 0px;grid-template-areas:\\\"headline buttons\\\" \\\"columnHeaders columnHeaders\\\";background:var(--cm-color-ui-light2);position:relative}.header.entitiesAreScrolled{box-shadow:inset 0px -1px 0px var(--cm-color-ui-light5)}.header .headline{grid-area:headline;font-family:var(--cm-font-text);font-size:24px;font-weight:500;color:var(--cm-color-ui-light6)}.header .buttons{display:grid;grid-auto-flow:column;grid-area:buttons;align-items:center;justify-content:end;gap:10px}.header .buttons .search{transition:all 0.2s linear;display:grid;height:32px;min-width:32px;grid-auto-columns:32px;border-radius:16px;grid-auto-flow:column;align-items:center;justify-content:center;background-color:rgba(216, 220, 227, 0)}.header .buttons .search input{display:none}.header .buttons .search input::placeholder{font-style:italic;opacity:0.7}.header .buttons .search.open{grid-auto-columns:1fr 32px;justify-content:space-between;width:180px;background-color:rgba(216, 220, 227, 0.5)}.header .buttons .search.open input{display:unset;appearance:none;min-width:0px;border:none;background:transparent;outline:none;padding-left:12px;padding-right:6px;font-family:var(--cm-font-text);font-size:14px;color:var(--cm-color-ui-dark4)}.header .buttons .search cm-icon-button{justify-self:center}.header .buttons cm-button{justify-self:end}.header .columnHeaders{grid-area:columnHeaders;box-sizing:border-box;display:grid;padding:0px 20px 15px;gap:15px;min-height:35px;position:relative}.header .columnHeaders .loader{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;display:grid;padding-top:40px;justify-content:center;background-color:rgba(247, 248, 250, 0.7)}.header .columnHeaders cm-checkbox{transition:all 0.2s linear;opacity:0}.header .columnHeaders cm-checkbox.visible{opacity:1}.header .columnHeaders:hover cm-checkbox{opacity:1}.header .columnHeaders .columnHeader{box-sizing:border-box;display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0, max-content);gap:5px;align-items:center;font-family:var(--cm-font-text);font-size:14px;font-weight:400;color:var(--cm-color-ui-light6)}.header .columnHeaders .columnHeader:not(:empty){cursor:pointer}.header .columnHeaders .columnHeader span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.entities{position:relative;box-sizing:border-box;display:grid;grid-auto-rows:max-content;gap:15px;z-index:1;overflow-y:auto}.entities.scrollPadding:after{content:\\\"\\\";height:20px;display:inline-block}.entities .entity{box-sizing:border-box;display:grid;min-height:60px;padding:0px 20px;gap:15px;transition:background-color 0.2s linear, box-shadow 0.2s linear;background-color:var(--cm-color-ui-light4);border-radius:3px;border:solid 1px var(--cm-color-ui-light5);box-shadow:0 1px 4px 0 rgba(0, 0, 0, 0.1)}.entities .entity cm-dropdown{transition:all 0.2s linear;opacity:0}.entities .entity cm-checkbox{transition:all 0.2s linear;opacity:0}.entities .entity cm-checkbox.visible{opacity:1}.entities .entity.hasPress:hover{background-color:rgba(176, 186, 199, 0.15)}.entities .entity.selected{box-shadow:0px 0px 0px 2px var(--cm-color-blue-base), 0 1px 4px 0 rgba(0, 0, 0, 0.1);background-color:var(--cm-color-focus-inner-neutral)}.entities .entity.selected cm-checkbox{opacity:1}.entities .entity:hover cm-dropdown,.entities .entity:focus cm-dropdown,.entities .entity:focus-within cm-dropdown{opacity:1}.entities .entity:hover cm-checkbox,.entities .entity:focus cm-checkbox,.entities .entity:focus-within cm-checkbox{opacity:1}.entities .entity .cell{min-height:60px;box-sizing:border-box;display:grid;align-content:center;gap:10px;font-family:var(--cm-font-text);font-size:15px;font-weight:400;color:var(--cm-color-ui-light6)}.entities .entity .cell span{min-height:20px}.entities .loader{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;justify-content:center;align-content:center;background-color:rgba(247, 248, 250, 0.7)}\";\n\nconst CmEntityList = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.enableCreateButton = true;\n this.loading = false;\n this.headline = '';\n this.createButtonLabel = '';\n this.createHandler = () => { };\n this.columns = [];\n this.entities = [];\n this.groupOptions = [];\n this.addScrollPadding = false;\n this.selectedEntities = [];\n this.isSearchOpen = false;\n this.filter = '';\n this.entitiesAreScrolled = false;\n }\n componentDidUpdate() {\n var _a;\n (_a = this.element.shadowRoot.querySelector('#searchInput')) === null || _a === void 0 ? void 0 : _a.focus();\n }\n /**\n * Triggers an option of entity at the given index as if selected by the user, if available. Note that the entity index is based of the entity array and ignores all sorting.\n */\n async triggerEntityOption(options) {\n var _a;\n (_a = this.element.shadowRoot.querySelectorAll('.entity cm-dropdown')\n .item(options.entityIndex)) === null || _a === void 0 ? void 0 : _a.triggerOptionByIndex(options.optionGroupIndex, options.optionIndex);\n }\n /**\n * Triggers an option of the group-actions-dropdown as if selected by the user, if available. Needs selected entities to function.\n */\n async triggerGroupOption(optionGroupIndex, optionIndex) {\n var _a;\n (_a = this.element.shadowRoot.querySelector('.header cm-dropdown')) === null || _a === void 0 ? void 0 : _a.triggerOptionByIndex(optionGroupIndex, optionIndex);\n }\n /**\n * Selects all entities.\n */\n async selectAll() {\n this.selectedEntities = [...this.entities];\n }\n /**\n * De-selects all entities.\n */\n async deselectAll() {\n this.selectedEntities = [];\n }\n /**\n * Selects the entity at the given index. Note that the index is based of the entity array and ignores all sorting.\n */\n async selectIndex(index) {\n let targetEntity = this.entities[index];\n if (!this.selectedEntities.includes(targetEntity)) {\n this.selectedEntities = [...this.selectedEntities, targetEntity];\n }\n }\n /**\n * De-selects the entity at the given index. Note that the index is based of the entity array and ignores all sorting.\n */\n async deselectIndex(index) {\n let targetEntity = this.entities[index];\n if (this.selectedEntities.includes(targetEntity)) {\n let selectedEntityIndex = this.selectedEntities.indexOf(targetEntity);\n let newEntities = this.selectedEntities.slice(0);\n newEntities.splice(selectedEntityIndex, 1);\n this.selectedEntities = newEntities;\n }\n }\n render() {\n let loader, entities, columnHeaderIcon, groupDropdown, search;\n for (let i = 0; i < this.selectedEntities.length; i++) {\n let entity = this.selectedEntities[i];\n if (!this.entities.includes(entity)) {\n this.selectedEntities.splice(i, 1);\n i--;\n }\n }\n let gridTemplateColumns = '';\n if (this.groupOptions.length) {\n gridTemplateColumns = `25px ${this.columns\n .map((column) => column.width)\n .join(' ')}`;\n }\n else {\n gridTemplateColumns = this.columns\n .map((column) => column.width)\n .join(' ');\n }\n let sortedEntities = this.entities.slice(0);\n let sorting = null;\n if (this.userSelectedSorting) {\n sorting = this.userSelectedSorting;\n }\n else if (this.defaultSorting) {\n sorting = this.defaultSorting;\n }\n if (sorting !== null) {\n sortedEntities.sort((a, b) => {\n const leftValue = a.data[sorting.columnIndex];\n const rightValue = b.data[sorting.columnIndex];\n if (leftValue.type === 'text' && rightValue.type === 'text') {\n if (sorting.method === 'ascending') {\n return leftValue.content.localeCompare(rightValue.content);\n }\n else {\n return rightValue.content.localeCompare(leftValue.content);\n }\n }\n else {\n return 0;\n }\n });\n if (sorting.method === 'ascending') {\n columnHeaderIcon = h(\"cm-icon\", { icon: \"up\" });\n }\n else {\n columnHeaderIcon = h(\"cm-icon\", { icon: \"down\" });\n }\n }\n const createSortingToggle = (index) => {\n return () => {\n var _a, _b;\n if (((_a = this.userSelectedSorting) === null || _a === void 0 ? void 0 : _a.columnIndex) === index) {\n if (this.userSelectedSorting.method === 'ascending') {\n this.userSelectedSorting = {\n columnIndex: index,\n method: 'descending',\n };\n }\n else {\n this.userSelectedSorting = {\n columnIndex: index,\n method: 'ascending',\n };\n }\n }\n else if (((_b = this.defaultSorting) === null || _b === void 0 ? void 0 : _b.columnIndex) === index) {\n if (this.defaultSorting.method === 'ascending') {\n this.userSelectedSorting = {\n columnIndex: index,\n method: 'descending',\n };\n }\n else {\n this.userSelectedSorting = {\n columnIndex: index,\n method: 'ascending',\n };\n }\n }\n else {\n this.userSelectedSorting = {\n columnIndex: index,\n method: 'ascending',\n };\n }\n };\n };\n let filteredEntities = sortedEntities;\n if (this.filter.length) {\n filteredEntities = filteredEntities.filter((entity) => {\n for (let data of entity.data) {\n if (data.type === 'text') {\n if (data.content\n .toLocaleLowerCase()\n .includes(this.filter.toLocaleLowerCase())) {\n return true;\n }\n }\n }\n return false;\n });\n }\n if (this.loading) {\n loader = (h(\"div\", { class: \"loader\", style: {\n zIndex: (filteredEntities.length + 1).toString(),\n } }, h(\"cm-loader\", { size: \"normal\" })));\n }\n entities = filteredEntities.map((entity, index) => {\n let entityClasses = {\n entity: true,\n scrollPadding: this.addScrollPadding,\n selected: this.selectedEntities.includes(entity),\n hasPress: typeof entity.onPress === 'function',\n };\n return (h(\"div\", { class: entityClasses, style: {\n gridTemplateColumns: gridTemplateColumns,\n cursor: entity.onPress ? 'pointer' : 'default',\n zIndex: (filteredEntities.length - index).toString(),\n }, onClick: entity.onPress }, this.groupOptions.length ? (h(\"div\", { class: \"cell\" }, h(\"cm-checkbox\", { class: {\n visible: this.selectedEntities.length > 0,\n }, onClick: (event) => {\n event.preventDefault();\n event.stopPropagation();\n }, checked: this.selectedEntities.includes(entity), onCmInput: () => {\n if (this.selectedEntities.includes(entity)) {\n let index = this.selectedEntities.indexOf(entity);\n let newEntities = this.selectedEntities.slice(0);\n newEntities.splice(index, 1);\n this.selectedEntities = newEntities;\n }\n else {\n this.selectedEntities = [\n ...this.selectedEntities,\n entity,\n ];\n }\n } }))) : (''), entity.data.map((item, index) => {\n var _a, _b;\n let column = this.columns[index];\n let content;\n let itemCSS = {};\n let spanCSS = {};\n let ellipsis;\n if (column.ellipsis === undefined ||\n column.ellipsis == 'off') {\n ellipsis = 'off';\n }\n else {\n ellipsis = column.ellipsis;\n }\n if (item.type === 'text') {\n if (ellipsis === 'left') {\n spanCSS = {\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n direction: 'rtl',\n };\n }\n if (ellipsis === 'right') {\n spanCSS = {\n textOverflow: 'ellipsis',\n whiteSpace: 'nowrap',\n overflow: 'hidden',\n };\n }\n content = (h(\"span\", { style: spanCSS }, item.content));\n if (item.showCopyButton) {\n itemCSS = Object.assign(Object.assign(Object.assign({}, itemCSS), (ellipsis === 'off'\n ? { gridAutoColumns: 'max-content' }\n : {\n gridAutoColumns: 'minmax(0, min-content)',\n })), {\n gridAutoFlow: 'column',\n gap: '10px',\n });\n }\n }\n if (item.type === 'image') {\n content = h(\"img\", { src: item.src });\n }\n if (item.type === 'button') {\n itemCSS = { gridAutoColumns: 'max-content' };\n content = (h(\"cm-button\", { appearance: \"link\", label: item.label, onClick: (event) => {\n event.preventDefault();\n event.stopPropagation();\n }, onCmPress: item.onPress }));\n }\n if (item.type === 'contextMenu') {\n content = (h(\"cm-dropdown\", { onClick: (event) => {\n event.preventDefault();\n event.stopPropagation();\n }, trigger: {\n type: 'icon',\n icon: 'contextMenu',\n }, options: item.options }));\n }\n return (h(\"div\", { class: \"cell\", style: Object.assign(Object.assign({}, ((_b = (_a = this.columns[index]) === null || _a === void 0 ? void 0 : _a.overrideCSS) !== null && _b !== void 0 ? _b : {})), itemCSS) }, content, item.type === 'text' && item.showCopyButton ? (h(\"cm-icon-button\", { icon: \"copy\", onClick: (event) => {\n event.preventDefault();\n event.stopPropagation();\n }, onCmPress: () => {\n navigator.clipboard.writeText(item.content);\n } })) : ('')));\n })));\n });\n if (this.selectedEntities.length && this.groupOptions.length) {\n let label = '';\n if (this.selectedEntities.length === 1) {\n label = '1 item selected';\n }\n else {\n label = `${this.selectedEntities.length} items selected`;\n }\n groupDropdown = (h(\"cm-dropdown\", { trigger: {\n type: 'button',\n appearance: 'primary',\n label: label,\n }, options: this.groupOptions.map((optionGroup) => {\n optionGroup.options.map((option) => {\n let originalHandler = option.handler;\n option.handler = (event) => {\n if (!event.detail) {\n event.detail = {};\n }\n event.detail.selectedEntities =\n this.selectedEntities;\n originalHandler(event);\n };\n return option;\n });\n return optionGroup;\n }) }));\n }\n if (this.isSearchOpen) {\n search = (h(\"div\", { class: \"search open\" }, h(\"input\", { type: \"text\", id: \"searchInput\", placeholder: \"Search\", onInput: (event) => {\n var _a;\n this.filter = (_a = event.target) === null || _a === void 0 ? void 0 : _a.value;\n } }), h(\"cm-icon-button\", { icon: \"closeLarge\", onCmPress: () => {\n this.filter = '';\n this.isSearchOpen = false;\n } })));\n }\n else {\n search = (h(\"div\", { class: \"search\" }, h(\"cm-icon-button\", { icon: \"search\", onCmPress: () => {\n this.isSearchOpen = true;\n } })));\n }\n let headerClasses = {\n header: true,\n entitiesAreScrolled: this.entitiesAreScrolled,\n };\n return (h(Host, null, h(\"div\", { class: \"container\" }, h(\"div\", { class: headerClasses }, h(\"div\", { class: \"headline\" }, this.headline), h(\"div\", { class: \"buttons\" }, search, groupDropdown, h(\"cm-button\", { disabled: !this.enableCreateButton || this.loading, appearance: this.selectedEntities.length\n ? 'secondary'\n : 'primary', label: this.createButtonLabel, onCmPress: this.createHandler })), this.entities.length ? (h(\"div\", { class: \"columnHeaders\", style: {\n gridTemplateColumns: gridTemplateColumns,\n } }, this.groupOptions.length ? (h(\"cm-checkbox\", { class: {\n visible: this.selectedEntities.length >\n 0,\n }, checked: this.selectedEntities.length ===\n this.entities.length, onCmInput: (event) => {\n if (event.detail.isChecked) {\n this.selectedEntities = [\n ...this.entities,\n ];\n }\n else {\n this.selectedEntities = [];\n }\n } })) : (''), this.columns.map(({ name }, index) => {\n return (h(\"div\", { class: \"columnHeader\", onClick: name.length\n ? createSortingToggle(index)\n : () => { } }, h(\"span\", null, name), (sorting === null || sorting === void 0 ? void 0 : sorting.columnIndex) === index\n ? columnHeaderIcon\n : ''));\n }), this.loading ? h(\"div\", { class: \"loader\" }) : '')) : ('')), h(\"div\", { class: \"entities\", onScroll: (event) => {\n this.entitiesAreScrolled =\n event.target.scrollTop !== 0;\n } }, h(\"div\", { style: {\n display: this.entities.length || this.loading\n ? 'none'\n : 'grid',\n } }, h(\"slot\", { name: \"empty\" })), entities, loader))));\n }\n get element() { return getElement(this); }\n};\nCmEntityList.style = cmEntityListCss;\n\nconst cmFilterCss = \":host{display:inline-block}.container{display:flex;gap:6px;flex-wrap:wrap}.pill{display:grid;user-select:none;justify-content:center;align-items:center;height:22px;padding:0px 10px;border:solid 1px var(--cm-color-ui-light3);border-radius:11px;background-color:var(--cm-color-ui-light5);font-family:var(--cm-font-text);font-size:13px;color:rgba(69, 70, 78, 0.9);transition:all linear 200ms;white-space:nowrap}.pill:not(.disabled,.active):hover{border:solid 1px var(--cm-color-button-light2);background-color:var(--cm-color-button-light1);cursor:pointer}.pill:focus{outline:none}.pill:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}.pill.active{color:var(--cm-color-ui-light4);border:solid 1px var(--cm-color-focus-inner-neutral2);background-color:var(--cm-color-blue-base)}.pill.active:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}.pill.disabled{color:rgba(69, 70, 78, 0.5);border:solid 1px var(--cm-color-ui-light3);background-color:var(--cm-color-button-light4)}\";\n\nconst CmFilter = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmFilterSelected = createEvent(this, \"cmFilterSelected\", 7);\n this.filters = [];\n /**\n * The Index of the active filter.\n */\n this.activeFilterIndex = 0;\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"container\" }, this.filters.map((item, index) => {\n let tabindex;\n let classes = {\n pill: true,\n active: index === this.activeFilterIndex,\n disabled: item.disabled,\n };\n if (!item.title) {\n item.title = '';\n }\n if (!item.disabled) {\n tabindex = 0;\n }\n return (h(\"a\", { class: classes, tabindex: tabindex, onClick: () => {\n if (!item.disabled &&\n this.activeFilterIndex !== index) {\n this.activeFilterIndex = index;\n this.cmFilterSelected.emit({\n value: item.value,\n });\n }\n }, onKeyDown: (event) => {\n if (!item.disabled &&\n this.activeFilterIndex !== index &&\n event.key === ' ') {\n this.activeFilterIndex = index;\n this.cmFilterSelected.emit({\n value: item.value,\n });\n event.preventDefault();\n }\n }, title: item.title }, item.label));\n }))));\n }\n};\nCmFilter.style = cmFilterCss;\n\nconst cmFooterCss = \":host{display:block}.footer{height:38px;padding:0px 20px;line-height:38px;border-top:1px solid var(--cm-color-ui-light5);background-color:var(--cm-color-ui-light1);font-family:var(--cm-font-text);font-size:12px;font-weight:normal;text-align:right;color:rgba(var(--cm-color-ui-light6-rgb), 0.9)}\";\n\nconst CmFooter = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.text = '';\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"footer\" }, this.text)));\n }\n};\nCmFooter.style = cmFooterCss;\n\nconst cmHeaderCss = \":host{display:block}.header{display:flex;box-sizing:border-box;height:57px;padding:15px 20px;align-content:center;background-color:var(--cm-color-ui-light1);border-bottom:1px solid var(--cm-color-ui-light5)}.left{display:flex;justify-content:flex-start;align-items:center}.right{display:flex;justify-content:flex-end;align-items:center;margin-left:auto}\";\n\nconst CmHeader = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"header\" }, h(\"div\", { class: \"left\" }, h(\"slot\", { name: \"left\" })), h(\"div\", { class: \"right\" }, h(\"slot\", { name: \"right\" })))));\n }\n};\nCmHeader.style = cmHeaderCss;\n\nconst cmIconCss = \":host{display:inline-grid}\";\n\nconst colorMap = {\n bright: {\n Light: '--cm-color-ui-light4',\n Dark: '--cm-color-ui-dark4',\n },\n medium: {\n Light: '--cm-color-ui-light6',\n Dark: '--cm-color-ui-light3',\n },\n dark: {\n Light: '--cm-color-ui-dark4',\n Dark: '--cm-color-ui-light4',\n },\n success: {\n Light: '--cm-color-green-base',\n Dark: '--cm-color-green-base',\n },\n warning: {\n Light: '--cm-color-orange-base',\n Dark: '--cm-color-orange-base',\n },\n danger: {\n Light: '--cm-color-red-base',\n Dark: '--cm-color-red-base',\n },\n};\nconst CmIcon = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.color = 'dark';\n this.ignoreTheme = false;\n this.theme = 'Light';\n }\n componentWillLoad() {\n onThemeChange((theme) => {\n this.theme = theme;\n });\n }\n getVariableValue(name) {\n return getComputedStyle(document.documentElement)\n .getPropertyValue(name)\n .trim();\n }\n getResolvedColor() {\n let resolvedTheme = this.theme;\n if (this.ignoreTheme) {\n resolvedTheme = 'Light';\n }\n return colorMap[this.color][resolvedTheme];\n }\n getIconSVG() {\n let fill = this.getVariableValue(this.getResolvedColor());\n switch (this.icon) {\n case 'check':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M5.74339606 13.3137085L1 8.57031244l1.89735842-1.89735842 2.84603764 2.84603763 7.35924554-7.35924552L15 4.05710456z\" })));\n case 'close':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M13.65685425 3.75735931L9.41421356 8l4.24264069 4.24264069-1.41421356 1.41421356L8 9.41421356l-4.24264069 4.24264069-1.41421356-1.41421356L6.58578644 8 2.34314575 3.75735931l1.41421356-1.41421356L8 6.58578644l4.24264069-4.24264069 1.41421356 1.41421356z\" })));\n case 'closeLarge':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"20\", height: \"20\" }, h(\"path\", { fill: fill, d: \"M16.1282588 4.8145503l-5.18568546 5.1847426 5.18568545 5.1861568-.94280908.9428091L10 10.94186622 4.8145503 16.1282588l-.9428091-.94280908 5.18568546-5.18615682-5.18568545-5.1847426.94280908-.94280908L10 9.05671955l5.1854497-5.18497834.9428091.94280908z\" })));\n case 'contextMenu':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"20\", height: \"20\" }, h(\"path\", { fill: fill, d: \"M10 14.5c.82842712 0 1.5.6715729 1.5 1.5s-.67157288 1.5-1.5 1.5-1.5-.6715729-1.5-1.5.67157288-1.5 1.5-1.5zm0-6c.82842712 0 1.5.67157288 1.5 1.5s-.67157288 1.5-1.5 1.5-1.5-.67157288-1.5-1.5.67157288-1.5 1.5-1.5zm0-6c.82842712 0 1.5.67157288 1.5 1.5s-.67157288 1.5-1.5 1.5S8.5 4.82842712 8.5 4s.67157288-1.5 1.5-1.5z\" })));\n case 'copy':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"g\", { fill: fill }, h(\"path\", { d: \"M7.23076923 1L8.922 2.692l-4.22969231.00030769V12.8461538H4c-.55228475 0-1-.4477152-1-1V2c0-.55228475.44771525-1 1-1h3.23076923z\" }), h(\"path\", { d: \"M9.76923077 3.53846154l1.69123077 1.692h-.018l.865.874v-.028L14 7.76923077v6.61538463c0 .5522847-.4477152 1-1 1H6.53846154c-.55228475 0-1-.4477153-1-1V4.53846154c0-.55228475.44771525-1 1-1h3.23076923zm-.00076923 1.692l-2.53769231.00030769v8.46153847h5.07692308l-.00023077-5.92384616-2.53823077.00076923-.00076923-2.53876923z\" }))));\n case 'delete':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M13.5 3v1h-1v9c0 1.1045695-.8954305 2-2 2h-5c-1.1045695 0-2-.8954305-2-2V4h-1V3c0-.55228475.44771525-1 1-1h2c0-.55228475.44771525-1 1-1h3c.55228475 0 1 .44771525 1 1h2c.5522847 0 1 .44771525 1 1zm-8 1v8c0 .5522847.44771525 1 1 1h3c.55228475 0 1-.4477153 1-1V4h-5zm2 8h1-1zm-1-7h1v7h-1V5zm2 0h1v7h-1V5z\" })));\n case 'document':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M8 1l2 2h-.022L11 4.033V4l1.999 1.999L13 14c0 .5522847-.44771525 1-1 1H4c-.55228475 0-1-.4477153-1-1V2c0-.55228475.44771525-1 1-1h4zm0 2H5v10h6V6H8V3z\" })));\n case 'down':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M8.00017911 11.44956836L3.05043164 6.49982089 4.4646452 5.08560733l3.5355339 3.53553391 3.5355339-3.5355339 1.41421357 1.41421356-4.94974746 4.94974746z\" })));\n case 'edit':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M3 11l1.99792969 2.0035156-2.99324219 1.0007617L3 11zm9.8-10L15 3.20221356 6.2 12 4 9.79832288 12.8 1z\" })));\n case 'email':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"20\", height: \"20\" }, h(\"path\", { fill: fill, d: \"M2 5.00883682l7.63444351 6.28967368c.21047699.1723514.51330549.1723514.72378239 0l7.6373222-6.20512138v9.76070298c0 .3155146-.2557657.5712803-.5712803.5712803H2.57128033C2.25576569 15.4253724 2 15.1696067 2 14.8540921V5.00883682zM17.4242678 4c.0284184.00338075.0565021.0091046.0839832.01713808L9.99779079 10.1171548 2.57128033 4z\" })));\n case 'external':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M8 2v1.4H3.4v9.2h9.2V8.48515907H14V14H2V2h6zm6 0v5.20391037L12.203 5.205 8.70710678 8.70185425 7.29289322 7.28764069 10.863 3.716 9.32042868 2H14z\" })));\n case 'help':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"20\", height: \"20\" }, h(\"path\", { fill: fill, d: \"M10 0c5.5228475 0 10 4.4771525 10 10s-4.4771525 10-10 10S0 15.5228475 0 10 4.4771525 0 10 0zm.9914286 13.9890867H8.99297424v1.9984543h1.99845436v-1.9984543zm-.99925061-9.99222487c-2.2082904 0-3.99686183 1.78861826-3.99686183 3.99686182h1.99845433c0-1.09915691.89929743-1.99845433 1.99845433-1.99845433 1.09915688 0 1.99840748.89934426 1.99840748 1.99850117 0 1.99845433-2.99765806 1.74861827-2.99765806 4.99611241h1.99845436c0-2.2482436 2.9976581-2.4980328 2.9976581-4.99611241 0-2.2082904-1.7886183-3.99690866-3.99690871-3.99690866z\" })));\n case 'hide':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"g\", { fill: fill }, h(\"path\", { d: \"M8.0467033 6.79591837c-1.0230179 0-1.85439561.82345982-1.85439561 1.83673469s.83137771 1.8367347 1.85439561 1.8367347c1.0230179 0 1.8543956-.82345983 1.8543956-1.8367347s-.83140668-1.83673469-1.8543956-1.83673469z\" }), h(\"path\", { d: \"M8.0467033 3.85714286c-3.20305242 0-5.93844062 1.980225-7.0467033 4.7755102 1.10826268 2.79525536 3.84365088 4.77551024 7.0467033 4.77551024 3.2062354 0 5.9384406-1.98025488 7.0467033-4.77551024-1.1082627-2.7952852-3.8404679-4.7755102-7.0467033-4.7755102zm0 7.95916377c-1.76807941 0-3.20305242-1.42629566-3.20305242-3.18368342 0-1.75738775 1.43497301-3.18365357 3.20305242-3.18365357 1.7680794 0 3.2030524 1.42629567 3.2030524 3.18368342 0 1.75738776-1.434973 3.18365357-3.2030524 3.18365357z\" }), h(\"path\", { d: \"M2.2593456 12.43994848l9.28077648-9.19238815c.36713821-.36364166.95868705-.36364166 1.32582522 0 .36262971.35917607.36542942.94431527.00625331 1.30694499a.92378857.92378857 0 01-.0062533.0062533L3.5851708 13.75314678c-.36713819.36364164-.95868702.36364164-1.32582522 0-.3626297-.35917608-.3654294-.94431528-.00625331-1.30694497a.92379638.92379638 0 01.00625332-.00625333z\" }))));\n case 'information':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"20\", height: \"20\" }, h(\"path\", { fill: fill, d: \"M10 2c4.418278 0 8 3.581722 8 8s-3.581722 8-8 8-8-3.581722-8-8 3.581722-8 8-8zm1.41538462 7.1H8.03076923v.9h.61538462v3.6H8v.9h4v-.9h-.58461538V9.1zm-1.44-3.6c-.76347693 0-1.38461539.60561-1.38461539 1.35 0 .74439.62113846 1.35 1.38461539 1.35C10.73886154 8.2 11.36 7.59439 11.36 6.85c0-.74439-.62113846-1.35-1.38461538-1.35z\" })));\n case 'left':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M4.55043164 8.00017911l4.94974747-4.94974747 1.41421356 1.41421356-3.53553391 3.5355339 3.5355339 3.5355339-1.41421356 1.41421357-4.94974746-4.94974746z\" })));\n case 'minus':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M3 7h10v2H3z\" })));\n case 'plus':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M9 3v3.999L13 7v2H9v4H7V9H3V7h4V3h2z\" })));\n case 'right':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M11.44956836 7.99982089l-4.94974747 4.94974747-1.41421356-1.41421356 3.53553391-3.5355339-3.5355339-3.5355339L6.4998209 3.05007343l4.94974746 4.94974746z\" })));\n case 'search':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"20\", height: \"20\" }, h(\"path\", { fill: fill, d: \"M8.6008622 2c3.6455555 0 6.6008622 2.91053515 6.6008622 6.5008622 0 1.44371288-.4778551 2.77750755-1.2862933 3.8563433L18 16.3835568 16.3601272 18l-4.1284855-4.0691809c-1.04160891.6769012-2.28947413 1.0709053-3.6307795 1.0709053C4.95530667 15.0017244 2 12.0911892 2 8.5008622 2 4.91053515 4.95530667 2 8.6008622 2zm0 2C6.05987617 4 4 6.01510464 4 8.5008622c0 2.48575755 2.05987617 4.5008622 4.6008622 4.5008622 2.54098602 0 4.6008622-2.01510465 4.6008622-4.5008622C13.2017244 6.01510464 11.14184822 4 8.6008622 4z\" })));\n case 'show':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"g\", { fill: fill }, h(\"path\", { d: \"M8.0467033 6.37712288c-1.0230179 0-1.85439561.80618444-1.85439561 1.7982018 0 .99201735.83137771 1.79820179 1.85439561 1.79820179 1.0230179 0 1.8543956-.80618444 1.8543956-1.79820179 0-.99201736-.83140668-1.7982018-1.8543956-1.7982018z\" }), h(\"path\", { d: \"M8.0467033 3.5C4.84365088 3.5 2.10826268 5.43868182 1 8.17532468c1.10826268 2.73661363 3.84365088 4.67532467 7.0467033 4.67532467 3.2062354 0 5.9384406-1.93871104 7.0467033-4.67532467C13.9851439 5.43868182 11.2529387 3.5 8.0467033 3.5zm0 7.79218831c-1.76807941 0-3.20305242-1.39637337-3.20305242-3.11689286 0-1.72051948 1.43497301-3.11686363 3.20305242-3.11686363 1.7680794 0 3.2030524 1.39637337 3.2030524 3.11689286 0 1.72051948-1.434973 3.11686363-3.2030524 3.11686363z\" }))));\n case 'sort':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"20\", height: \"20\" }, h(\"path\", { fill: fill, d: \"M2 16h6v-2H2v2zM2 4v2h16V4H2zm0 7h11V9H2v2z\" })));\n case 'stop':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M5.42855151 12.2889629C6.17989881 12.7404026 7.0596333 13 8 13c2.76142375 0 5-2.23857625 5-5 0-.9403667-.2595974-1.82010119-.7110371-2.57144849L5.42855151 12.2889629zm-1.47589089-1.35253622l6.98376606-6.98376606C10.11192198 3.35343147 9.09723516 3 8 3 5.23857625 3 3 5.23857625 3 8c0 1.09723516.35343147 2.11192198.95266062 2.93642668zM8 15c-3.86599325 0-7-3.1340068-7-7 0-3.86599325 3.13400675-7 7-7 3.8659932 0 7 3.13400675 7 7 0 3.8659932-3.1340068 7-7 7z\" })));\n case 'up':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M7.99982089 4.55043164l4.94974747 4.94974747-1.41421356 1.41421356-3.5355339-3.53553391-3.5355339 3.5355339L3.05007343 9.5001791l4.94974746-4.94974746z\" })));\n case 'warning':\n return (h(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\" }, h(\"path\", { fill: fill, d: \"M8.49613894 2.1473213c.15503128.0885893.2835149.21707292.3721042.3721042l6.27682036 10.9844356c.2740099.4795174.1074132 1.0903721-.3721042 1.364382-.1510977.0863416-.322112.1317569-.496139.1317569H1.72317968c-.55228475 0-1-.4477153-1-1 0-.1740269.04541532-.3450412.13175686-.4961389L7.13175686 2.5194255c.27400997-.47951745.88486463-.64611418 1.36438208-.3721042zM9 11H7v2h2v-2zm.5-5.5h-3l.7610545 4.5h1.49397234L9.5 5.5z\" })));\n }\n }\n render() {\n return h(Host, null, this.getIconSVG());\n }\n};\nCmIcon.style = cmIconCss;\n\nconst cmIconButtonCss = \":host{display:inline-grid;user-select:none}div{display:grid;position:relative;transition:all 0.2s linear;height:20px;width:20px;cursor:pointer;z-index:1}div cm-icon{align-self:center;justify-self:center}div.disabled{pointer-events:none;cursor:default;opacity:0.5}div::before{content:\\\"\\\";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);height:32px;width:32px;border-radius:100%;background-color:rgba(var(--cm-color-ui-light5-rgb), 0);transition:all 0.2s linear;z-index:-1}div:focus{outline:none}div:hover::before{background-color:rgba(var(--cm-color-ui-light5-rgb), 0.5)}div:focus-visible::before{background-color:rgba(var(--cm-color-ui-light5-rgb), 0.5);box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}div:active::before{background-color:rgba(var(--cm-color-ui-light5-rgb), 1)}\";\n\nconst CmIconButton = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmPress = createEvent(this, \"cmPress\", 7);\n this.disabled = false;\n this.ignoreTheme = false;\n }\n /**\n * Triggers the press event. Respects the disabled state unless forced.\n */\n async press(options = {}) {\n if (!this.disabled || options.forcePress) {\n this.cmPress.emit();\n }\n }\n handleClick() {\n if (!this.disabled) {\n this.press();\n }\n }\n handleKeyDown(event) {\n if (event.key === ' ' || event.key === 'Enter') {\n if (!this.disabled) {\n this.press();\n }\n }\n }\n render() {\n let classes = {\n disabled: this.disabled,\n };\n let tabIndex = 0;\n if (this.disabled) {\n tabIndex = -1;\n }\n return (h(Host, null, h(\"div\", { tabindex: tabIndex, class: classes, role: \"button\", \"aria-disabled\": this.disabled, \"aria-label\": this.icon }, h(\"cm-icon\", { icon: this.icon, ignoreTheme: this.ignoreTheme }))));\n }\n get el() { return getElement(this); }\n};\nCmIconButton.style = cmIconButtonCss;\n\nconst cmLinkCss = \":host{display:inline}a{font-family:var(--cm-font-text);font-size:14px;font-weight:400;border-radius:3px;text-decoration:none;color:var(--cm-color-link)}a::after{content:\\\"\\\";display:inline-block;padding-left:5px;width:12px;height:12px;background-image:url(\\\"data:image/svg+xml,%3Csvg width='12px' height='12px' viewBox='0 0 12 12' version='1.1' xmlns='http://www.w3.org/2000/svg' %3E%3Cg stroke='none' stroke-width='1' fill='none' fill-rule='evenodd' %3E%3Cpath d='M6,0 L6,1.4 L1.4,1.4 L1.4,10.6 L10.6,10.6 L10.6,6.485 L12,6.485 L12,12 L0,12 L0,0 L6,0 Z M12,0 L12,5.204 L10.203,3.205 L6.707,6.702 L5.293,5.288 L8.863,1.716 L7.32,0 L12,0 Z' fill='%23346ac5' fill-rule='nonzero' %3E%3C/path%3E%3C/g%3E%3C/svg%3E\\\");background-position:right;background-repeat:no-repeat;transform:translateY(1px)}a:hover{color:var(--cm-color-link-hover)}a:focus{outline:none}a:focus-visible{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}a:active{color:var(--cm-color-link-active)}a.Dark{color:var(--cm-color-link-dark)}a.Dark:hover{color:var(--cm-color-link-hover-dark)}a.Dark:active{color:var(--cm-color-link-active-dark)}\";\n\nconst CmLink = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.href = '';\n this.label = '';\n this.openIn = 'newTab';\n this.theme = 'Light';\n }\n componentWillLoad() {\n onThemeChange((theme) => {\n this.theme = theme;\n });\n }\n render() {\n let classes = {\n [this.theme]: true,\n };\n let target = '';\n if (this.openIn === 'newTab') {\n target = '_blank';\n }\n return (h(Host, null, h(\"a\", { class: classes, target: target, href: this.href }, this.label)));\n }\n};\nCmLink.style = cmLinkCss;\n\nconst cmLoaderCss = \"@keyframes spinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}:host{display:inline-block}.spinner{box-sizing:content-box;border-radius:50%;border-style:solid}.spinner.normal{width:22px;height:22px;animation:spinner 0.8s linear infinite;border-width:4px}.spinner.small{width:10px;height:10px;border-width:2px;animation:spinner 0.7s linear infinite}.spinner.dark{border-color:var(--cm-color-ui-light6);border-bottom-color:transparent}.spinner.light{border-color:var(--cm-color-ui-light4);border-bottom-color:transparent}\";\n\nconst CmLoader = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.size = 'normal';\n this.color = 'dark';\n }\n render() {\n let classes = {\n spinner: true,\n [this.size]: true,\n [this.color]: true,\n };\n return (h(Host, null, h(\"div\", { class: classes })));\n }\n};\nCmLoader.style = cmLoaderCss;\n\nconst cmLogoCss = \":host{display:inline-block}.logo{width:26px;height:26px;background-image:url(\\\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg version='1.1' viewBox='0 0 26 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2362626E' fill-rule='nonzero'%3E%3Cpath d='m13 0c7.1797 0 13 5.8203 13 13 0 7.1797-5.8203 13-13 13-7.1797 0-13-5.8203-13-13 0-7.1797 5.8203-13 13-13zm2.9925 18.778h-5.9993v3.3902h5.9993v-3.3902zm-2.9925-14.946c-1.9751 0-2.9942 1.1645-3.0068 3.2128v6.6476l0.0036413 0.20697c0.067943 1.9028 1.0859 2.9915 2.9889 2.9915 1.9751 0 2.9917-1.1645 3.0068-3.2128v-1.6951h-1.9011v1.8271l-0.0046341 0.16453c-0.04616 0.78875-0.43443 1.074-1.0422 1.074-0.63398 0-1.0468-0.32456-1.0468-1.2385v-6.9158l0.0046342-0.16485c0.04616-0.79193 0.43443-1.1022 1.0422-1.088 0.63398 0 1.0468 0.35399 1.0468 1.268v1.3705h1.9011v-1.2352l-0.0036268-0.20872c-0.067677-1.9185-1.0819-3.0041-2.9889-3.0041z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A\\\")}\";\n\nconst CmLogo = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(Host, null, h(\"div\", { class: \"logo\" })));\n }\n};\nCmLogo.style = cmLogoCss;\n\nconst cmModalCss = \":host{display:block;position:fixed;z-index:1000}.container{display:grid;justify-content:center;position:fixed;top:0px;left:0px;right:0px;bottom:0px;background-color:rgba(0, 0, 0, 0.5);padding:110px 0px 60px;opacity:0;pointer-events:none;transition:all 0.2s linear}.container.open{opacity:1;pointer-events:unset}.container.open .window{transform:scale(1)}.container.center{align-items:center;padding-bottom:140px}.container.center .window{max-height:calc( \\t\\t\\t\\t100vh - 110px - 140px \\t\\t\\t)}.container.top{align-items:flex-start}.window{display:grid;box-sizing:border-box;width:636px;max-height:calc( \\t\\t100vh - 110px - 60px \\t);box-shadow:0 2px 2px 0 rgba(0, 0, 0, 0.5);border-radius:3px;overflow:hidden;border:solid 1px var(--cm-color-ui-light5);background-color:var(--cm-color-ui-light4);grid-template:\\\"header\\\" 57px \\\"content\\\" minmax(0, 1fr) \\\"buttons\\\" 65px;transform:scale(0.9);transition:all 0.2s linear}.window .header{display:grid;grid-area:header;box-sizing:border-box;padding:0px 20px;border-bottom:solid 1px var(--cm-color-ui-light5);background-color:var(--cm-color-ui-light2);align-items:center;grid-auto-flow:column}.window .header h1{justify-self:start;font-family:var(--cm-font-text);font-size:15px;font-weight:bold;color:var(--cm-color-ui-light6)}.window .header cm-icon-button{justify-self:end}.window .content{grid-area:content;box-sizing:border-box;padding:20px;overflow:auto}.window .buttons{display:grid;grid-area:buttons;box-sizing:border-box;border-top:solid 1px var(--cm-color-ui-light5);padding:0px 20px;gap:15px;justify-content:end;align-items:center;grid-auto-flow:column}\";\n\nconst CmModal = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.isOpen = false;\n this.confirmLoading = false;\n this.cancelDisabled = false;\n this.position = 'center';\n this.headline = '';\n this.confirmLabel = '';\n this.confirmAppearance = 'primary';\n this.confirmDisabled = false;\n this.cancelLabel = '';\n this.cancelAppearance = 'secondary';\n }\n handleKeyDown(event) {\n if (event.key === 'Escape') {\n this.cancel();\n }\n }\n /**\n * Opens the modal. Takes an optional handler for asynchronous confirm actions, which only trigger confirm if the returned Promise resolves successfully. While the Promise is unresolved, the Modal stays open and the ConfirmButton is in a loading state.\n */\n async open(preConfirmationHandler) {\n this.preConfirmationHandler = preConfirmationHandler;\n this.promise = new Promise((resolve) => {\n this.promiseResolver = resolve;\n });\n this.isOpen = true;\n this.el.focus();\n return this.promise;\n }\n /**\n * Triggers the 'confirm' action on the modal, if it is open.\n */\n async confirm() {\n if (this.isOpen) {\n if (this.preConfirmationHandler) {\n this.confirmLoading = true;\n this.cancelDisabled = true;\n this.preConfirmationHandler().then(() => {\n this.isOpen = false;\n this.promiseResolver('confirm');\n this.confirmLoading = false;\n this.cancelDisabled = false;\n }, () => {\n this.confirmLoading = false;\n this.cancelDisabled = false;\n });\n }\n else {\n this.isOpen = false;\n this.promiseResolver('confirm');\n }\n }\n return this.promise;\n }\n /**\n * Triggers the 'cancel' action on the modal, if it is open.\n */\n async cancel() {\n if (this.isOpen) {\n this.isOpen = false;\n this.promiseResolver('cancel');\n }\n return this.promise;\n }\n render() {\n let classes = {\n container: true,\n open: this.isOpen,\n [this.position]: true,\n };\n return (h(Host, { tabindex: \"0\" }, h(\"div\", { class: classes }, h(\"div\", { class: \"window\" }, h(\"div\", { class: \"header\" }, h(\"h1\", null, this.headline), h(\"cm-icon-button\", { disabled: this.cancelDisabled, icon: \"closeLarge\", onCmPress: () => this.cancel() })), h(\"div\", { class: \"content\" }, h(\"slot\", null)), h(\"div\", { class: \"buttons\" }, this.cancelLabel !== '' ? (h(\"cm-button\", { disabled: this.cancelDisabled, appearance: this.cancelAppearance, label: this.cancelLabel, onCmPress: () => this.cancel() })) : (''), h(\"cm-button\", { appearance: this.confirmAppearance, label: this.confirmLabel, loading: this.confirmLoading, disabled: this.confirmDisabled, onCmPress: () => this.confirm() }))))));\n }\n get el() { return getElement(this); }\n};\nCmModal.style = cmModalCss;\n\nconst cmNotificationCss = \":host{display:block;box-sizing:border-box}.shadowContainer{padding:10px}.container{display:grid;box-sizing:border-box;position:relative;grid-template-areas:\\\"icon content content content closeButton\\\";grid-template-columns:24px 1fr 1fr 70px 20px;grid-template-rows:max-content;column-gap:10px;row-gap:10px;align-items:center;background-color:var(--cm-color-ui-light1);font-family:var(--cm-font-text);color:rgba(var(--cm-color-ui-dark4-rgb), 0.9);padding:16px 16px 12px;width:330px;border-radius:5px;box-shadow:0 0.1px 0.3px rgba(var(--cm-color-black-base-rgb), 0.042), 0 0.1px 0.7px rgba(var(--cm-color-black-base-rgb), 0.061), 0 0.3px 1.3px rgba(var(--cm-color-black-base-rgb), 0.075), 0 0.4px 2.2px rgba(var(--cm-color-black-base-rgb), 0.089), 0 0.8px 4.2px rgba(var(--cm-color-black-base-rgb), 0.108), 0 2px 10px rgba(var(--cm-color-black-base-rgb), 0.15)}.container.hasTimeOrNavigationLabel{grid-template-areas:\\\"icon content content content closeButton\\\" \\\". navigationLabel navigationLabel date date\\\";grid-template-columns:24px 1fr 1fr 70px 20px;grid-template-rows:max-content max-content}.container.Dark{background-color:var(--cm-color-ui-dark5);color:var(--cm-color-white-base)}.container.Dark .content{color:var(--cm-color-white-base)}.container.Dark .icon.info{background-image:url('data:image/svg+xml,%3Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\"%3E%3Cdefs%3E%3Cfilter id=\\\"jer5mdwwsa\\\" width=\\\"105.3%25\\\" height=\\\"131.5%25\\\" x=\\\"-2.7%25\\\" y=\\\"-12%25\\\" filterUnits=\\\"objectBoundingBox\\\"%3E%3CfeOffset dy=\\\"2\\\" in=\\\"SourceAlpha\\\" result=\\\"shadowOffsetOuter1\\\"/%3E%3CfeGaussianBlur in=\\\"shadowOffsetOuter1\\\" result=\\\"shadowBlurOuter1\\\" stdDeviation=\\\"2.5\\\"/%3E%3CfeColorMatrix in=\\\"shadowBlurOuter1\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0\\\"/%3E%3C/filter%3E%3Crect id=\\\"su7xbi42qb\\\" width=\\\"320\\\" height=\\\"54\\\" x=\\\"0\\\" y=\\\"0\\\" rx=\\\"3\\\"/%3E%3C/defs%3E%3Cg fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"%3E%3Cpath fill=\\\"%23FFF\\\" d=\\\"M0 0H1597V1178H0z\\\" transform=\\\"translate(-543 -440)\\\"/%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cg fill-rule=\\\"nonzero\\\"%3E%3Cg transform=\\\"translate(-543 -440) translate(528 425)\\\"%3E%3Cuse fill=\\\"%23000\\\" filter=\\\"url(%23jer5mdwwsa)\\\" xlink:href=\\\"%23su7xbi42qb\\\"/%3E%3Cuse fill=\\\"%235B5E63\\\" xlink:href=\\\"%23su7xbi42qb\\\"/%3E%3C/g%3E%3C/g%3E%3Cg transform=\\\"translate(-543 -440) translate(528 425) translate(15 15)\\\"%3E%3Ccircle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"11\\\" fill=\\\"%23FFF\\\" fill-opacity=\\\".9\\\"/%3E%3Cpath fill=\\\"%235B5E63\\\" d=\\\"M13.77 10.9v5.5h.73v1.1h-5v-1.1h.808V12h-.77v-1.1h4.231zm-1.8-4.4c.954 0 1.73.74 1.73 1.65 0 .91-.776 1.65-1.73 1.65-.955 0-1.732-.74-1.732-1.65 0-.91.777-1.65 1.731-1.65z\\\"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A')}.container.Dark .icon.success{background-image:url('data:image/svg+xml,%3Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\"%3E%3Cdefs%3E%3Cfilter id=\\\"x6tau83poa\\\" width=\\\"105.3%25\\\" height=\\\"131.5%25\\\" x=\\\"-2.7%25\\\" y=\\\"-12%25\\\" filterUnits=\\\"objectBoundingBox\\\"%3E%3CfeOffset dy=\\\"2\\\" in=\\\"SourceAlpha\\\" result=\\\"shadowOffsetOuter1\\\"/%3E%3CfeGaussianBlur in=\\\"shadowOffsetOuter1\\\" result=\\\"shadowBlurOuter1\\\" stdDeviation=\\\"2.5\\\"/%3E%3CfeColorMatrix in=\\\"shadowBlurOuter1\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0\\\"/%3E%3C/filter%3E%3Crect id=\\\"lxzdrfgayb\\\" width=\\\"320\\\" height=\\\"54\\\" x=\\\"0\\\" y=\\\"0\\\" rx=\\\"3\\\"/%3E%3C/defs%3E%3Cg fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"%3E%3Cpath fill=\\\"%23FFF\\\" d=\\\"M0 0H1597V1178H0z\\\" transform=\\\"translate(-543 -312)\\\"/%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cg fill-rule=\\\"nonzero\\\"%3E%3Cg transform=\\\"translate(-543 -312) translate(528 297)\\\"%3E%3Cuse fill=\\\"%23000\\\" filter=\\\"url(%23x6tau83poa)\\\" xlink:href=\\\"%23lxzdrfgayb\\\"/%3E%3Cuse fill=\\\"%235B5E63\\\" xlink:href=\\\"%23lxzdrfgayb\\\"/%3E%3C/g%3E%3C/g%3E%3Cg transform=\\\"translate(-543 -312) translate(528 297) translate(15 15)\\\"%3E%3Ccircle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"11\\\" fill=\\\"%2310D070\\\"/%3E%3Cpath fill=\\\"%23FFF\\\" d=\\\"M9.743 18.314L5 13.57 6.897 11.673 9.743 14.519 17.103 7.16 19 9.057z\\\"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A')}.container.Dark .icon.error{background-image:url('data:image/svg+xml,%3Csvg xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\" width=\\\"24\\\" height=\\\"24\\\" viewBox=\\\"0 0 24 24\\\"%3E%3Cdefs%3E%3Cfilter id=\\\"6isxl983ca\\\" width=\\\"105.3%25\\\" height=\\\"131.5%25\\\" x=\\\"-2.7%25\\\" y=\\\"-12%25\\\" filterUnits=\\\"objectBoundingBox\\\"%3E%3CfeOffset dy=\\\"2\\\" in=\\\"SourceAlpha\\\" result=\\\"shadowOffsetOuter1\\\"/%3E%3CfeGaussianBlur in=\\\"shadowOffsetOuter1\\\" result=\\\"shadowBlurOuter1\\\" stdDeviation=\\\"2.5\\\"/%3E%3CfeColorMatrix in=\\\"shadowBlurOuter1\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0\\\"/%3E%3C/filter%3E%3Crect id=\\\"54e4un39nb\\\" width=\\\"320\\\" height=\\\"54\\\" x=\\\"0\\\" y=\\\"0\\\" rx=\\\"3\\\"/%3E%3C/defs%3E%3Cg fill=\\\"none\\\" fill-rule=\\\"evenodd\\\"%3E%3Cpath fill=\\\"%23FFF\\\" d=\\\"M0 0H1597V1178H0z\\\" transform=\\\"translate(-543 -192)\\\"/%3E%3Cg%3E%3Cg%3E%3Cg%3E%3Cg fill-rule=\\\"nonzero\\\"%3E%3Cg transform=\\\"translate(-543 -192) translate(528 177)\\\"%3E%3Cuse fill=\\\"%23000\\\" filter=\\\"url(%236isxl983ca)\\\" xlink:href=\\\"%2354e4un39nb\\\"/%3E%3Cuse fill=\\\"%235B5E63\\\" xlink:href=\\\"%2354e4un39nb\\\"/%3E%3C/g%3E%3C/g%3E%3Cg transform=\\\"translate(-543 -192) translate(528 177) translate(15 15)\\\"%3E%3Ccircle cx=\\\"12\\\" cy=\\\"12\\\" r=\\\"11\\\" fill=\\\"%23FF3D3D\\\"/%3E%3Cpath fill=\\\"%23FFF\\\" d=\\\"M13 5v6h6v2h-6v6h-2v-6H5v-2h6V5h2z\\\" transform=\\\"rotate(45 12 12)\\\"/%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A')}.container.Dark .date{color:rgba(var(--cm-color-white-base-rgb), 0.4)}.container .icon{grid-area:icon;width:24px;height:24px;align-self:flex-start}.container .icon.info{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24'%3E%3Cdefs%3E%3Cfilter id='a' width='105.3%25' height='131.5%25' x='-2.7%25' y='-12%25' filterUnits='objectBoundingBox'%3E%3CfeOffset dy='2' in='SourceAlpha' result='shadowOffsetOuter1'/%3E%3CfeGaussianBlur in='shadowOffsetOuter1' result='shadowBlurOuter1' stdDeviation='2.5'/%3E%3CfeColorMatrix in='shadowBlurOuter1' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect id='b' width='320' height='54' x='0' y='0' rx='3'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23FFF' d='M-73-437h1597V741H-73z'/%3E%3Cg transform='translate(-15 -15)' fill-rule='nonzero'%3E%3Cuse fill='%23000' filter='url(%23a)' xlink:href='%23b'/%3E%3Cuse fill='%23F2F3F5' xlink:href='%23b'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='11' fill='%2362626E'/%3E%3Cpath fill='%23FFF' d='M13.77 10.9v5.5h.73v1.1h-5v-1.1h.808V12h-.77v-1.1h4.231zm-1.8-4.4c.954 0 1.73.74 1.73 1.65 0 .91-.776 1.65-1.73 1.65-.955 0-1.732-.74-1.732-1.65 0-.91.777-1.65 1.731-1.65z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\\\")}.container .icon.error{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24'%3E%3Cdefs%3E%3Cfilter id='a' width='105.3%25' height='131.5%25' x='-2.7%25' y='-12%25' filterUnits='objectBoundingBox'%3E%3CfeOffset dy='2' in='SourceAlpha' result='shadowOffsetOuter1'/%3E%3CfeGaussianBlur in='shadowOffsetOuter1' result='shadowBlurOuter1' stdDeviation='2.5'/%3E%3CfeColorMatrix in='shadowBlurOuter1' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect id='b' width='320' height='54' x='0' y='0' rx='3'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23FFF' d='M-73-192h1597V986H-73z'/%3E%3Cg transform='translate(-15 -15)' fill-rule='nonzero'%3E%3Cuse fill='%23000' filter='url(%23a)' xlink:href='%23b'/%3E%3Cuse fill='%23F2F3F5' xlink:href='%23b'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='11' fill='%23FF3D3D'/%3E%3Cpath fill='%23FFF' d='M17.657 7.757L13.414 12l4.243 4.243-1.414 1.414L12 13.414l-4.243 4.243-1.414-1.414L10.586 12 6.343 7.757l1.414-1.414L12 10.586l4.243-4.243 1.414 1.414z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\\\")}.container .icon.success{background-image:url(\\\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='24' height='24'%3E%3Cdefs%3E%3Cfilter id='a' width='105.3%25' height='131.5%25' x='-2.7%25' y='-12%25' filterUnits='objectBoundingBox'%3E%3CfeOffset dy='2' in='SourceAlpha' result='shadowOffsetOuter1'/%3E%3CfeGaussianBlur in='shadowOffsetOuter1' result='shadowBlurOuter1' stdDeviation='2.5'/%3E%3CfeColorMatrix in='shadowBlurOuter1' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect id='b' width='320' height='54' x='0' y='0' rx='3'/%3E%3C/defs%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cpath fill='%23FFF' d='M-73-315h1597V863H-73z'/%3E%3Cg transform='translate(-15 -15)' fill-rule='nonzero'%3E%3Cuse fill='%23000' filter='url(%23a)' xlink:href='%23b'/%3E%3Cuse fill='%23F2F3F5' xlink:href='%23b'/%3E%3C/g%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='11' fill='%2310D070'/%3E%3Cpath fill='%23FFF' d='M9.743 18.314L5 13.57l1.897-1.897 2.846 2.846 7.36-7.359L19 9.057z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E\\\")}.container .content{grid-area:content;display:grid;grid-auto-flow:row;gap:4px;padding-top:2px}.container .content .headline{font-size:15px;font-weight:500;overflow-wrap:anywhere}.container .content .description{font-size:13px;overflow-wrap:anywhere}.container cm-icon-button{display:none;grid-area:closeButton;align-self:flex-start;transform:translateY(2px)}.container.isUserDismissable cm-icon-button{display:unset}.container .date{grid-area:date;font-size:13px;justify-self:flex-end;color:rgba(var(--cm-color-black-base-rgb), 0.4)}.container cm-button{grid-area:navigationLabel;justify-self:flex-start}\";\n\nconst CmNotification = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmDismissed = createEvent(this, \"cmDismissed\", 7);\n this.cmNotificationNavigation = createEvent(this, \"cmNotificationNavigation\", 7);\n this.didLoad = createEvent(this, \"didLoad\", 7);\n this.appearance = 'info';\n this.description = '';\n this.navigationLabel = '';\n this.userDismissable = true;\n this.showCreationTime = true;\n this.elapsedTime = 0;\n this.theme = 'Light';\n this._isBeingHovered = false;\n }\n /**\n * Dismisses the Notification.\n */\n async dismiss() {\n this.cmDismissed.emit();\n }\n /**\n * Returns the hover state. This is being used to halt Notification-Timeouts.\n */\n async isBeingHovered() {\n return this._isBeingHovered;\n }\n componentWillLoad() {\n onThemeChange((theme) => {\n this.theme = theme;\n });\n }\n componentDidLoad() {\n this.el.addEventListener('mouseenter', () => {\n this._isBeingHovered = true;\n });\n this.el.addEventListener('mouseleave', () => {\n this._isBeingHovered = false;\n });\n this.timer = setInterval(() => {\n this.elapsedTime += 1;\n }, 1000);\n this.didLoad.emit(); // Necessary for the notification container to access the correct clientHeight\n }\n disconnectedCallback() {\n clearInterval(this.timer);\n }\n render() {\n let containerClasses = {\n container: true,\n [this.theme]: true,\n isUserDismissable: this.userDismissable,\n hasDescription: this.description.length !== 0,\n hasTimeOrNavigationLabel: Boolean(this.showCreationTime || this.navigationLabel),\n };\n let iconClasses = {\n icon: true,\n [this.appearance]: true,\n };\n let timeDifferential = -Math.trunc(Math.abs(this.createdAt - Date.now()) / 1000);\n let timeDifferentialUnit;\n if (timeDifferential > -60) {\n timeDifferentialUnit = 'seconds';\n }\n else {\n timeDifferential = -Math.trunc(Math.abs(timeDifferential) / 60);\n timeDifferentialUnit = 'minutes';\n }\n return (h(Host, null, h(\"div\", { class: \"shadowContainer\" }, h(\"div\", { class: containerClasses, role: \"alert\" }, h(\"div\", { class: iconClasses }), h(\"div\", { class: \"content\" }, h(\"div\", { class: \"headline\" }, this.headline), h(\"div\", { class: \"description\" }, this.description)), this.userDismissable ? (h(\"cm-icon-button\", { icon: 'close', onCmPress: () => this.dismiss() })) : (''), this.showCreationTime ? (h(\"div\", { class: \"date\" }, timeDifferential > -10 &&\n timeDifferentialUnit == 'seconds'\n ? 'Just now'\n : new Intl.RelativeTimeFormat('en', {\n localeMatcher: 'best fit',\n numeric: 'always',\n style: 'long',\n }).format(timeDifferential, timeDifferentialUnit))) : (''), this.navigationLabel ? (h(\"cm-button\", { appearance: \"link\", label: this.navigationLabel, onCmPress: () => {\n this.cmNotificationNavigation.emit({});\n this.dismiss();\n } })) : ('')))));\n }\n get el() { return getElement(this); }\n};\nCmNotification.style = cmNotificationCss;\n\nconst cmNotificationContainerCss = \":host{display:block;overflow:hidden}#notificationContainer{display:grid;position:relative;grid-auto-flow:dense;align-content:end;width:350px;overflow:hidden}#notificationContainer cm-notification.hidden{position:absolute;bottom:1000px;z-index:-1}#notificationContainer cm-notification.collapse{height:0;padding:0}\";\n\nconst CmNotificationContainer = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.notificationQueue = [];\n this.notificationMap = new Map();\n this.visibleNotifications = [];\n this.durationStore = new Map();\n this.maxVisibleNotifications = 5;\n this.notificationDuration = 7000;\n }\n /**\n * Queues a Notification to be shown. The notification might be shown instantly, if there is space, or later, once space is available.\n */\n async enqueueNotification(notification) {\n let completeNotification = Object.assign(Object.assign({}, notification), { createdAt: Date.now() });\n if (this.maxVisibleNotifications <= this.visibleNotifications.length) {\n this.notificationQueue.push(completeNotification);\n }\n else {\n this.renderNewNotification(completeNotification);\n }\n return {\n hasBeenShown: () => {\n return !this.notificationQueue.includes(completeNotification);\n },\n remove: () => {\n if (this.notificationQueue.includes(completeNotification)) {\n this.notificationQueue = this.notificationQueue.filter((item) => item !== completeNotification);\n }\n else {\n let notificationElement = this.notificationMap.get(completeNotification);\n if (notificationElement) {\n notificationElement.dismiss();\n }\n }\n },\n };\n }\n componentDidLoad() {\n setInterval(() => {\n this.countTimerDown(100);\n }, 100);\n }\n async countTimerDown(expiredTime) {\n let entries = Array.from(this.durationStore.entries());\n for (let [key, value] of entries) {\n if (!document.hidden && !(await key.isBeingHovered())) {\n let newValue = value - expiredTime;\n if (newValue <= 0) {\n this.durationStore.delete(key);\n key.dismiss();\n }\n this.durationStore.set(key, newValue);\n }\n }\n }\n renderNewNotification(notification) {\n var _a;\n let notificationContainer = this.el.shadowRoot.querySelector('#notificationContainer');\n let newNotification = document.createElement('cm-notification');\n this.notificationMap.set(notification, newNotification);\n newNotification.headline = notification.headline;\n newNotification.description = notification.description;\n newNotification.appearance = notification.appearance;\n newNotification.userDismissable = notification.userDismissable;\n newNotification.showCreationTime = notification.showCreationTime;\n newNotification.createdAt = notification.createdAt;\n if (notification.navigation != null) {\n newNotification.navigationLabel = notification.navigation.label;\n newNotification.addEventListener('cmNotificationNavigation', notification.navigation.navigationHandler);\n }\n if (newNotification.userDismissable ||\n newNotification.userDismissable == null) {\n this.durationStore.set(newNotification, (_a = notification.duration) !== null && _a !== void 0 ? _a : this.notificationDuration);\n }\n newNotification.classList.add('hidden');\n notificationContainer.appendChild(newNotification);\n this.visibleNotifications.push(newNotification);\n newNotification.addEventListener('didLoad', () => {\n newNotification.classList.remove('hidden');\n notificationContainer.animate([\n {\n transform: `translateY(${newNotification.clientHeight}px)`,\n },\n { transform: 'translateY(0%)' },\n ], { duration: 150, easing: 'linear' });\n });\n newNotification.addEventListener('cmDismissed', () => {\n this.durationStore.delete(newNotification);\n requestAnimationFrame(() => {\n newNotification\n .animate([\n { height: `${newNotification.clientHeight}px` },\n {\n opacity: 0,\n height: 0,\n padding: 0,\n },\n ], { duration: 150, easing: 'linear' })\n .addEventListener('finish', () => {\n this.notificationMap.delete(notification);\n this.visibleNotifications =\n this.visibleNotifications.filter((item) => item !== newNotification);\n newNotification.remove();\n if (this.notificationQueue.length) {\n setTimeout(() => {\n requestAnimationFrame(() => {\n this.renderNewNotification(this.notificationQueue.shift());\n });\n }, 200);\n }\n });\n });\n });\n }\n render() {\n return (h(Host, { \"aria-live\": \"polite\" }, h(\"div\", { id: \"notificationContainer\" })));\n }\n get el() { return getElement(this); }\n};\nCmNotificationContainer.style = cmNotificationContainerCss;\n\nconst cmPageCss = \":host{display:flex;flex-direction:column;background:var(--cm-color-ui-light4)}header{background:var(--cm-color-ui-light1);padding:0px 65px;border-bottom:1px solid var(--cm-color-ui-light5)}header.empty{border-bottom:0px;height:0px;display:none}header .handles{display:flex;width:100%;position:relative;top:1px;left:-8px;height:30px;flex-direction:row}header .handles.empty{height:0px}header .handles cm-page-tab-handle:not(:last-child){margin-right:20px}header .handles cm-page-tab-handle:nth-child(1):last-child{display:none}header .headerSlot{height:105px;display:grid;grid-auto-flow:column;grid-auto-columns:max-content;gap:10px;align-content:center}.tabs{height:100%;overflow:hidden;background-color:var(--cm-color-ui-light2)}\";\n\nconst CmPage = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.tabChanged = createEvent(this, \"tabChanged\", 7);\n this.isHeaderEmpty = true;\n this.tabRefs = [];\n this.labelToTabMap = {};\n this.labelToHandleMap = {};\n this.labels = [];\n }\n activeTitleWatchHandler(newValue, oldValue) {\n this.parseTabList();\n if (!this.labels.includes(newValue)) {\n console.error(`Active label not found! Refusing to update. Requested activeLabel: '${newValue}' Old activeLabel: '${oldValue}' All labels: '${this.labels}'`);\n if (!this.labels.includes(oldValue)) {\n console.error(`Old label is not there anymore. Refusing to revert. Requested activeLabel: '${newValue}' Old activeLabel: '${oldValue}' All labels: '${this.labels}'`);\n }\n else {\n this.activeLabel = oldValue;\n }\n }\n else {\n this.tabChanged.emit({\n label: newValue,\n tab: this.labelToTabMap[newValue],\n handle: this.labelToHandleMap[newValue],\n });\n }\n }\n tabModifiedEventHandler() {\n this.parseTabList();\n }\n userSelectedTabHandler(event) {\n const label = event.detail.label;\n this.switchToTab(label);\n }\n /**\n * Returns the currently active tab, handle, and title.\n */\n async getActiveState() {\n return {\n label: this.activeLabel,\n tab: this.labelToTabMap[this.activeLabel],\n handle: this.labelToHandleMap[this.activeLabel],\n };\n }\n /**\n * Switches to a tab based on their label.\n * @param label Title of the target tab.\n */\n async switchToTab(label) {\n this.activeLabel = label;\n }\n /**\n * Switches to a tab based on their index.\n * @param index Index of the target tab.\n */\n async switchToTabIndex(index) {\n const label = this.labels[index];\n return this.switchToTab(label);\n }\n onChildrenChange() {\n this.parseTabList();\n }\n parseTabList() {\n this.tabRefs = Array.from(this.root.querySelectorAll('cm-page-tab'));\n this.labels = this.tabRefs.map((tabRef) => tabRef.label);\n this.labelToTabMap = {};\n this.tabRefs.forEach((tabRef) => {\n this.labelToTabMap[tabRef.label] = tabRef;\n });\n }\n componentDidRender() {\n requestAnimationFrame(() => {\n let headerSlot = this.root.shadowRoot.querySelector('slot[name=header]');\n if (headerSlot) {\n this.isHeaderEmpty = headerSlot.assignedElements().length === 0;\n }\n });\n }\n componentDidLoad() {\n const observer = new MutationObserver(this.onChildrenChange.bind(this));\n const options = {\n childList: true,\n };\n observer.observe(this.root, options);\n let headerSlot = this.root.shadowRoot.querySelector('slot[name=header]');\n headerSlot.addEventListener('slotchange', () => {\n this.isHeaderEmpty = headerSlot.assignedElements().length === 0;\n });\n }\n async componentWillRender() {\n this.parseTabList();\n if (!this.labels.includes(this.activeLabel) && this.labels.length > 0) {\n await this.switchToTabIndex(0);\n }\n this.tabRefs.forEach((tabRef) => {\n tabRef.active = false;\n });\n if (this.labelToTabMap.hasOwnProperty(this.activeLabel)) {\n this.labelToTabMap[this.activeLabel].active = true;\n }\n this.labelToHandleMap = {};\n }\n render() {\n let handlesClasses = { handles: true, empty: this.tabRefs.length < 2 };\n let headerClasses = {\n empty: this.isHeaderEmpty && handlesClasses.empty,\n };\n return (h(Host, null, h(\"header\", { class: headerClasses }, h(\"div\", { class: \"headerSlot\" }, h(\"slot\", { name: \"header\" })), h(\"div\", { class: handlesClasses }, this.tabRefs.map((tab) => {\n return (h(\"cm-page-tab-handle\", { key: tab.label, label: tab.label, active: this.activeLabel === tab.label, ref: (elem) => (this.labelToHandleMap[tab.label] =\n elem) }));\n }))), h(\"div\", { class: \"tabs\" }, h(\"slot\", null))));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"activeLabel\": [\"activeTitleWatchHandler\"]\n }; }\n};\nCmPage.style = cmPageCss;\n\nconst cmPageTabCss = \":host{display:none;padding:40px 65px 0px}:host([active]){display:grid;height:100%;overflow:hidden}\";\n\nconst CmPageTab = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.tabModified = createEvent(this, \"tabModified\", 7);\n this.defaultActive = false;\n this.active = this.defaultActive;\n }\n labelWatchHandler() {\n this.tabModified.emit();\n }\n activeWatchHandler(newValue) {\n if (newValue === null || newValue === undefined) {\n this.active = this.defaultActive;\n }\n }\n componentWillRender() {\n this.activeWatchHandler(this.active);\n }\n render() {\n return (h(Host, { role: \"tabpanel\", id: this.label, \"aria-expanded\": this.active, \"aria-hidden\": !this.active }, h(\"slot\", null)));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"label\": [\"labelWatchHandler\"],\n \"active\": [\"activeWatchHandler\"]\n }; }\n};\nCmPageTab.style = cmPageTabCss;\n\nconst cmPageTabHandleCss = \"span{display:grid;position:relative;cursor:pointer;box-sizing:border-box;height:30px;font-family:var(--cm-font-text);font-size:15px;text-align:center;align-content:center;color:var(--cm-color-ui-light6);padding:4px 8px;border-bottom:2px solid transparent;transition:0.2s all linear;white-space:nowrap}span:hover{border-bottom:2px solid rgba(var(--cm-color-ui-light6-rgb), 0.6)}span:focus{outline:none}span:focus-visible{border-radius:3px;box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}span::after{content:attr(data-label);display:grid;transition:0.2s all linear;position:absolute;top:0px;bottom:0px;left:0%;right:0%;align-content:center;color:var(--cm-color-ui-dark4);font-weight:500;opacity:0}span.active{color:transparent;pointer-events:none;cursor:default;transition:0.2s all linear;border-bottom:2px solid var(--cm-color-ui-dark4)}span.active::after{opacity:1}\";\n\nconst CmPageTabHandle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.userSelectedTab = createEvent(this, \"userSelectedTab\", 7);\n this.defaultActive = false;\n this.active = this.defaultActive;\n }\n activeWatchHandler(newValue) {\n if (newValue === null || newValue === undefined) {\n this.active = this.defaultActive;\n }\n }\n clickEventHandler(event) {\n this.userSelectedTab.emit({\n originalEvent: event,\n handle: this.root,\n label: this.label,\n });\n }\n handleKeyDown(event) {\n if (event.key === ' ' || event.key === 'Enter') {\n this.userSelectedTab.emit({\n originalEvent: event,\n handle: this.root,\n label: this.label,\n });\n }\n }\n componentWillRender() {\n this.activeWatchHandler(this.active);\n }\n render() {\n let classes = { active: this.active };\n return (h(Host, null, h(\"span\", { class: classes, \"data-label\": this.label, ref: (element) => (this.span = element), tabindex: \"0\", role: \"tab\", \"aria-controls\": this.label, \"aria-selected\": this.active }, this.label)));\n }\n get root() { return getElement(this); }\n static get watchers() { return {\n \"active\": [\"activeWatchHandler\"]\n }; }\n};\nCmPageTabHandle.style = cmPageTabHandleCss;\n\nconst cmSelectCss = \"div{display:inline-block;position:relative}div::before{pointer-events:none;content:\\\"\\\";position:absolute;right:10px;top:50%;transform:translateY(-50%);background-image:url(\\\"data:image/svg+xml,%3Csvg width='10' height='7' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.95 6.9L0 1.95 1.414.536 4.95 4.07 8.485.536 9.9 1.95 4.95 6.9z' fill='%233B3B3B' fill-rule='evenodd'/%3E%3C/svg%3E\\\");background-repeat:no-repeat;width:10px;height:7px;transition:0.2s all linear;opacity:0.6}div.disabled{pointer-events:none}div.disabled::before{opacity:0.5}div.disabled select{color:var(--cm-color-ui-light3)}div:hover::before{opacity:0.8}div:active::before{opacity:1}select{-moz-appearance:none;-webkit-appearance:none;appearance:none;box-sizing:border-box;height:30px;background:var(--cm-color-ui-light4);border:1px solid var(--cm-color-ui-light3);border-radius:3px;padding:5px 30px 5px 10px;color:var(--cm-color-ui-dark4);font-family:var(--cm-font-text);font-size:14px;transition:0.2s all linear}select:focus{outline:none;box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}select:hover{background:var(--cm-color-ui-light2);border-color:var(--cm-color-ui-light3)}select:active{background:var(--cm-color-ui-light1)}\";\n\nconst CmSelect = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmInput = createEvent(this, \"cmInput\", 7);\n this.disabled = false;\n this.options = [];\n }\n /**\n * Selects an option based on the passed index. Respects the disabled state unless forced.\n */\n async selectOptionByIndex(options) {\n if (!this.disabled || options.forceSelection) {\n let select = this.element.shadowRoot.querySelector('select');\n select.selectedIndex = options.selectedIndex;\n }\n }\n inputHandler(event) {\n let select = event.target;\n this.cmInput.emit({\n newValue: select.options[select.selectedIndex].value,\n });\n }\n render() {\n let classes = {\n disabled: this.disabled,\n };\n let renderedOptions = [];\n for (let option of this.options) {\n renderedOptions.push(h(\"option\", { value: option.value }, option.label));\n }\n return (h(Host, null, h(\"div\", { class: classes }, h(\"select\", { onInput: this.inputHandler.bind(this) }, renderedOptions))));\n }\n get element() { return getElement(this); }\n};\nCmSelect.style = cmSelectCss;\n\nconst cmTextCss = \"span{display:inline;font-family:var(--cm-font-text);font-size:14px;font-weight:400;color:var(--cm-color-ui-light6)}\";\n\nconst CmText = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n }\n render() {\n return (h(Host, null, h(\"span\", null, h(\"slot\", null))));\n }\n};\nCmText.style = cmTextCss;\n\nconst cmToggleCss = \":host{display:inline-block}.container:focus{outline:none}.container:focus-visible .toggle{box-shadow:0px 0px 0px 1px var(--cm-color-focus-inner-neutral2), 0px 0px 0px 4px var(--cm-color-focus-outer-neutral)}.toggle{position:relative;display:inline-block;height:18px;width:30px;background:var(--cm-color-ui-light3);border-radius:9px;vertical-align:bottom;transition:all 0.2s linear}.toggle::before{content:\\\"\\\";position:absolute;top:3px;left:3px;height:12px;width:12px;border-radius:12px;background:white;transition:all 0.2s linear}.toggle.checked{background:var(--cm-color-button-blue4)}.toggle.checked::before{left:15px}.toggle.checked.disabled{background:var(--cm-color-blue-base)}.toggle:not(.checked).disabled{background:var(--cm-color-ui-light5)}label{display:inline-block;padding-left:8px;user-select:none;font-family:var(--cm-font-text);font-size:14px;height:20px;line-height:20px}label:empty{display:none}\";\n\nconst CmToggle = class {\n constructor(hostRef) {\n registerInstance(this, hostRef);\n this.cmInput = createEvent(this, \"cmInput\", 7);\n this.label = '';\n this.checked = false;\n this.disabled = false;\n /**\n * Enables `cmInput` Events being emitted when the checked attribute changes.\n */\n this.enableAttributeEmit = false;\n }\n checkedChangeHandler() {\n if (this.enableAttributeEmit) {\n this.cmInput.emit({ isChecked: this.checked, triggeredBy: 'API' });\n }\n }\n handleKeyDown(event) {\n if (event.key === ' ') {\n if (!this.disabled) {\n this.toggleCheck({ triggeredBy: 'User' });\n event.preventDefault();\n }\n }\n }\n handleClick() {\n if (!this.disabled) {\n this.toggleCheck({ triggeredBy: 'User' });\n }\n }\n /**\n * Toggles the checked state. Respects the disabled state, unless forced.\n */\n async toggleCheck(options = {}) {\n var _a;\n if (!this.disabled || options.forceToggle) {\n this.checked = !this.checked;\n this.cmInput.emit({\n isChecked: this.checked,\n triggeredBy: (_a = options.triggeredBy) !== null && _a !== void 0 ? _a : 'API',\n });\n }\n }\n /**\n * Sets the checked state to true. Respects the disabled state, unless forced.\n */\n async check(options = {}) {\n var _a;\n if (!this.disabled || options.forceCheck) {\n if (this.checked === false) {\n this.checked = true;\n this.cmInput.emit({\n isChecked: this.checked,\n triggeredBy: (_a = options.triggeredBy) !== null && _a !== void 0 ? _a : 'API',\n });\n }\n }\n }\n /**\n * Sets the checked state to false. Respects the disabled state, unless forced.\n */\n async uncheck(options = {}) {\n var _a;\n if (!this.disabled || options.forceUncheck) {\n if (this.checked === true) {\n this.checked = false;\n this.cmInput.emit({\n isChecked: this.checked,\n triggeredBy: (_a = options.triggeredBy) !== null && _a !== void 0 ? _a : 'API',\n });\n }\n }\n }\n render() {\n let toggleClasses = {\n toggle: true,\n checked: this.checked,\n disabled: this.disabled,\n };\n let tabIndex = 0;\n if (this.disabled) {\n tabIndex = -1;\n }\n return (h(Host, null, h(\"div\", { class: \"container\", tabindex: tabIndex }, h(\"div\", { class: toggleClasses, ref: (element) => (this.toggle = element), role: \"checkbox\", \"aria-disabled\": this.disabled }), h(\"label\", { onClick: () => {\n if (!this.disabled) {\n this.toggle.focus();\n }\n } }, this.label))));\n }\n static get watchers() { return {\n \"checked\": [\"checkedChangeHandler\"]\n }; }\n};\nCmToggle.style = cmToggleCss;\n\nexport { CmBanner as cm_banner, CmButton as cm_button, CmCard as cm_card, CmCheckbox as cm_checkbox, CmContext as cm_context, CmDatalist as cm_datalist, CmDatalistItem as cm_datalist_item, CmDropdown as cm_dropdown, CmEntityList as cm_entity_list, CmFilter as cm_filter, CmFooter as cm_footer, CmHeader as cm_header, CmIcon as cm_icon, CmIconButton as cm_icon_button, CmLink as cm_link, CmLoader as cm_loader, CmLogo as cm_logo, CmModal as cm_modal, CmNotification as cm_notification, CmNotificationContainer as cm_notification_container, CmPage as cm_page, CmPageTab as cm_page_tab, CmPageTabHandle as cm_page_tab_handle, CmSelect as cm_select, CmText as cm_text, CmToggle as cm_toggle };\n"],"sourceRoot":"webpack:///"}