@oiz/stzh-components 2.1.0-alpha → 2.1.0-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/dist/cjs/{app-globals-e1f4f1d9.js → app-globals-07890ee7.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/stzh-checkbox.cjs.entry.js +2 -2
  4. package/dist/cjs/stzh-components.cjs.js +2 -2
  5. package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +2 -2
  6. package/dist/cjs/stzh-footer.cjs.entry.js +1 -1
  7. package/dist/cjs/stzh-header.cjs.entry.js +1 -1
  8. package/dist/cjs/stzh-icon-sprite.cjs.entry.js +1 -1
  9. package/dist/cjs/stzh-list-item.cjs.entry.js +1 -1
  10. package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
  11. package/dist/cjs/stzh-pagebottom.cjs.entry.js +32 -0
  12. package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
  13. package/dist/cjs/stzh-share.cjs.entry.js +113 -0
  14. package/dist/cjs/stzh-upload.cjs.entry.js +53 -35
  15. package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +11 -3
  16. package/dist/collection/assets/i18n/de.json +10 -0
  17. package/dist/collection/assets/i18n/en.json +10 -0
  18. package/dist/collection/collection-manifest.json +2 -0
  19. package/dist/collection/components/stzh-checkbox/assets/check.svg +1 -1
  20. package/dist/collection/components/stzh-checkbox/stzh-checkbox.css +0 -3
  21. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +0 -11
  22. package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.js +1 -1
  23. package/dist/collection/components/stzh-footer/stzh-footer.js +2 -2
  24. package/dist/collection/components/stzh-header/stzh-header.js +2 -2
  25. package/dist/collection/components/stzh-icon-sprite/stzh-icon-sprite.css +5 -1
  26. package/dist/collection/components/stzh-list-item/assets/checkmark.svg +1 -1
  27. package/dist/collection/components/stzh-olmap/stzh-olmap.js +2 -2
  28. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.css +150 -0
  29. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.js +151 -0
  30. package/dist/collection/components/stzh-pagebottom/stzh-pagebottom.stories.js +44 -0
  31. package/dist/collection/components/stzh-pagetitle/stzh-pagetitle.stories.js +3 -3
  32. package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +0 -1
  33. package/dist/collection/components/stzh-radiogroup/stzh-radiogroup.js +1 -1
  34. package/dist/collection/components/stzh-share/stzh-share.css +146 -0
  35. package/dist/collection/components/stzh-share/stzh-share.js +184 -0
  36. package/dist/collection/components/stzh-share/stzh-share.localization.js +1 -0
  37. package/dist/collection/components/stzh-share/stzh-share.stories.js +33 -0
  38. package/dist/collection/components/stzh-upload/stzh-upload.css +23 -7
  39. package/dist/collection/components/stzh-upload/stzh-upload.js +71 -35
  40. package/dist/collection/components/stzh-upload/stzh-upload.stories.js +3 -3
  41. package/dist/collection/components/stzh-vbz-linechip/stzh-vbz-linechip.js +1 -1
  42. package/dist/components/index.d.ts +2 -0
  43. package/dist/components/index.js +3 -1
  44. package/dist/components/stzh-checkbox.js +2 -2
  45. package/dist/components/stzh-datamessagelist-item.js +14 -8
  46. package/dist/components/stzh-footer.js +1 -1
  47. package/dist/components/stzh-header.js +1 -1
  48. package/dist/components/stzh-icon-sprite.js +1 -1
  49. package/dist/components/stzh-list-item.js +1 -1
  50. package/dist/components/stzh-olmap.js +1 -1
  51. package/dist/components/stzh-pagebottom.d.ts +11 -0
  52. package/dist/components/stzh-pagebottom.js +70 -0
  53. package/dist/components/stzh-portal-mitwirken.js +1 -1
  54. package/dist/components/stzh-share.d.ts +11 -0
  55. package/dist/components/stzh-share.js +6 -0
  56. package/dist/components/stzh-share2.js +139 -0
  57. package/dist/components/stzh-upload.js +54 -35
  58. package/dist/components/stzh-vbz-linechip2.js +11 -3
  59. package/dist/esm/{app-globals-453acbdb.js → app-globals-acc57d0e.js} +1 -1
  60. package/dist/esm/loader.js +2 -2
  61. package/dist/esm/stzh-checkbox.entry.js +2 -2
  62. package/dist/esm/stzh-components.js +2 -2
  63. package/dist/esm/stzh-datamessagelist-item.entry.js +2 -2
  64. package/dist/esm/stzh-footer.entry.js +1 -1
  65. package/dist/esm/stzh-header.entry.js +1 -1
  66. package/dist/esm/stzh-icon-sprite.entry.js +1 -1
  67. package/dist/esm/stzh-list-item.entry.js +1 -1
  68. package/dist/esm/stzh-olmap.entry.js +1 -1
  69. package/dist/esm/stzh-pagebottom.entry.js +28 -0
  70. package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
  71. package/dist/esm/stzh-share.entry.js +109 -0
  72. package/dist/esm/stzh-upload.entry.js +53 -35
  73. package/dist/esm/stzh-vbz-linechip.entry.js +11 -3
  74. package/dist/esm-es5/app-globals-acc57d0e.js +1 -0
  75. package/dist/esm-es5/loader.js +1 -1
  76. package/dist/esm-es5/stzh-checkbox.entry.js +1 -1
  77. package/dist/esm-es5/stzh-components.js +1 -1
  78. package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
  79. package/dist/esm-es5/stzh-footer.entry.js +1 -1
  80. package/dist/esm-es5/stzh-header.entry.js +1 -1
  81. package/dist/esm-es5/stzh-icon-sprite.entry.js +1 -1
  82. package/dist/esm-es5/stzh-list-item.entry.js +1 -1
  83. package/dist/esm-es5/stzh-olmap.entry.js +1 -1
  84. package/dist/esm-es5/stzh-pagebottom.entry.js +1 -0
  85. package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
  86. package/dist/esm-es5/stzh-share.entry.js +1 -0
  87. package/dist/esm-es5/stzh-upload.entry.js +1 -1
  88. package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
  89. package/dist/stzh-components/assets/i18n/de.json +10 -0
  90. package/dist/stzh-components/assets/i18n/en.json +10 -0
  91. package/dist/stzh-components/p-07fc857b.system.entry.js +1 -0
  92. package/dist/stzh-components/p-10c36281.entry.js +1 -0
  93. package/dist/stzh-components/{p-b491bcd7.system.entry.js → p-14e457c6.system.entry.js} +1 -1
  94. package/dist/stzh-components/p-1663fc49.system.entry.js +1 -0
  95. package/dist/stzh-components/{p-6b5f447c.system.entry.js → p-23e9b6c7.system.entry.js} +1 -1
  96. package/dist/stzh-components/{p-1399b2d7.entry.js → p-241f060e.entry.js} +1 -1
  97. package/dist/stzh-components/{p-eb3425a1.system.entry.js → p-2c8d491a.system.entry.js} +1 -1
  98. package/dist/stzh-components/p-3a0f37bd.entry.js +1 -0
  99. package/dist/stzh-components/p-470ccde5.system.entry.js +1 -0
  100. package/dist/stzh-components/{p-648e03bc.entry.js → p-4c93ffbe.entry.js} +1 -1
  101. package/dist/stzh-components/p-51c75fba.system.entry.js +1 -0
  102. package/dist/stzh-components/p-5623c1a3.entry.js +1 -0
  103. package/dist/stzh-components/{p-020379d7.system.entry.js → p-6c3d7756.system.entry.js} +1 -1
  104. package/dist/stzh-components/p-7909f56b.entry.js +1 -0
  105. package/dist/stzh-components/p-79f27d21.entry.js +1 -0
  106. package/dist/stzh-components/p-8e5f4ef6.system.entry.js +1 -0
  107. package/dist/stzh-components/p-9084f0c1.entry.js +1 -0
  108. package/dist/stzh-components/p-948acea1.js +1 -0
  109. package/dist/stzh-components/p-9af41730.system.js +1 -0
  110. package/dist/stzh-components/p-b0e514c7.entry.js +1 -0
  111. package/dist/stzh-components/{p-bb8f71a4.entry.js → p-b367d4e3.entry.js} +1 -1
  112. package/dist/stzh-components/p-b54ed1f9.entry.js +1 -0
  113. package/dist/stzh-components/p-b71a1607.system.js +1 -0
  114. package/dist/stzh-components/p-c777032f.system.entry.js +1 -0
  115. package/dist/stzh-components/{p-6f7a7f7a.entry.js → p-d2c97cbc.entry.js} +1 -1
  116. package/dist/stzh-components/{p-e56d7b16.system.entry.js → p-fa6427bf.system.entry.js} +1 -1
  117. package/dist/stzh-components/{p-641126a8.system.entry.js → p-fb150554.system.entry.js} +1 -1
  118. package/dist/stzh-components/stzh-components.css +1 -1
  119. package/dist/stzh-components/stzh-components.esm.js +1 -1
  120. package/dist/stzh-components/stzh-components.js +1 -1
  121. package/dist/types/components/stzh-share/stzh-share.localization.d.ts +10 -0
  122. package/dist/types/components/stzh-upload/stzh-upload.localization.d.ts +1 -0
  123. package/dist/types/components.d.ts +110 -3
  124. package/dist/types/index.d.ts +2 -1
  125. package/dist/vscode-data.json +63 -3
  126. package/package.json +1 -1
  127. package/dist/esm-es5/app-globals-453acbdb.js +0 -1
  128. package/dist/stzh-components/p-08714718.system.entry.js +0 -1
  129. package/dist/stzh-components/p-0e474d1a.system.entry.js +0 -1
  130. package/dist/stzh-components/p-2bf021f2.js +0 -1
  131. package/dist/stzh-components/p-2c891eee.entry.js +0 -1
  132. package/dist/stzh-components/p-3623b3a5.system.js +0 -1
  133. package/dist/stzh-components/p-554fb3ac.system.js +0 -1
  134. package/dist/stzh-components/p-6b2282cd.system.entry.js +0 -1
  135. package/dist/stzh-components/p-6c76e51d.entry.js +0 -1
  136. package/dist/stzh-components/p-6cbdbd06.entry.js +0 -1
  137. package/dist/stzh-components/p-90941379.system.entry.js +0 -1
  138. package/dist/stzh-components/p-9d58c713.entry.js +0 -1
  139. package/dist/stzh-components/p-a4a4370d.entry.js +0 -1
  140. package/dist/stzh-components/p-c7c3735a.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{r as c,c as s,h as e,g as t}from"./p-7a4c6adb.js";import{h}from"./p-1f57d28e.js";import{f as o}from"./p-25a09313.js";import{S as r}from"./p-8347b91f.js";let i=0;const n=class{constructor(e){c(this,e),this.stzhChange=s(this,"stzhChange",7),this.stzhFocus=s(this,"stzhFocus",7),this.stzhBlur=s(this,"stzhBlur",7),this.onInput=c=>{this.checked=this.input.checked,this.stzhChange.emit({component:"stzh-checkbox",originalEvent:c,value:this.value,checked:this.checked})},this.onFocus=c=>{const s=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhFocus.emit({component:"stzh-checkbox",originalEvent:c})},this.onBlur=c=>{const s=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(s),this.stzhBlur.emit({component:"stzh-checkbox",originalEvent:c})},this.localization=void 0,this.disabled=!1,this.name="",this.value="",this.invalid=!1,this.required=!1,this.checked=!1,this.label="",this.description=void 0,this.descriptionLong=void 0,this.showMarker=!1,this.error=void 0,this.a11yDescribedby=""}async setFocus(){this.input.focus()}errorWatcher(c){if("string"==typeof c)try{this._error=JSON.parse(c)}catch(s){this._error=c?[c]:[]}else this._error=c||[];this.invalid=this._error.length>0}async componentWillLoad(){this.inputId="stzh-checkbox-"+i++,this.errorWatcher(this.error),this.localization||(this.localization=await o(this.element,"checkbox"))}render(){const c=h(this.element,"description")||!!this.description,s=h(this.element,"description-long")||!!this.descriptionLong,t=h(this.element,"error")||!!this.error;return e("div",{class:{"stzh-checkbox":!0,"stzh-checkbox--has-description":c,"stzh-checkbox--has-description-long":s,"stzh-checkbox--has-error":t,"stzh-checkbox--is-required":this.required,"stzh-checkbox--is-invalid":this.invalid,"stzh-checkbox--is-disabled":this.disabled}},e("label",{class:"stzh-checkbox__field-wrapper"},e("input",{class:"stzh-checkbox__input",ref:c=>this.input=c,type:"checkbox",id:this.inputId,name:this.name,value:this.value,disabled:this.disabled,"aria-describedby":`${this.inputId}-description ${this.a11yDescribedby}`,"aria-required":this.required?"true":"false","aria-invalid":this.invalid?"true":"false",checked:this.checked,onInput:this.onInput,onFocus:this.onFocus,onBlur:this.onBlur}),e("div",{class:"stzh-checkbox__mark"},e("div",{class:"stzh-checkbox__check",innerHTML:'<svg width="16" height="16" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M2 11.3333L9 18.6667L22 5.33334" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" vector-effect="non-scaling-stroke" />\n</svg>\n'})),e("div",{class:"stzh-checkbox__label"},this.label?this.label:e("slot",null),this.showMarker&&e("span",{class:"stzh-checkbox__marker"},e("span",{class:"stzh-checkbox__marker-symbol","aria-hidden":"true"},this.required?this.localization.$globals.requiredFieldMarker:this.localization.$globals.optionalFieldMarker),e("span",{class:"stzh-checkbox__marker-text"},this.required?this.localization.$globals.requiredFieldText:this.localization.$globals.optionalFieldText)))),e(r,{classPrefix:"stzh-checkbox",id:`${this.inputId}-description`,error:this._error,description:this.description,descriptionLong:this.descriptionLong,descriptionLongUsed:s,moreInfoButtonLabel:this.localization.$globals.moreInfoButtonLabel}))}get element(){return t(this)}static get watchers(){return{error:["errorWatcher"]}}};n.style=".sc-stzh-checkbox-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-checkbox-h{display:none}.sc-stzh-checkbox-h *.sc-stzh-checkbox,.sc-stzh-checkbox-h *.sc-stzh-checkbox::before,.sc-stzh-checkbox-h *.sc-stzh-checkbox::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-checkbox-h{display:inline-block;border-radius:var(--stzh-form-input-border-radius)}.sc-stzh-checkbox-h .sc-stzh-checkbox-s>stzh-text{--color:inherit}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-checkbox__marker-text.sc-stzh-checkbox{border:0;clip:rect(0 0 0 0);-webkit-clip-path:inset(100%);clip-path:inset(100%);width:0.0625rem;height:0.0625rem;overflow:hidden;padding:0;position:absolute}.stzh-checkbox__description-wrapper.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox__description.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-checkbox__error.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox__error-list.sc-stzh-checkbox{list-style:none;margin:0;padding:0}.stzh-checkbox__description.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-checkbox__description-long.sc-stzh-checkbox{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-checkbox__description-long-popover.sc-stzh-checkbox{--width:auto;--max-width:27.3125rem}.stzh-checkbox__description-long-popover[open].sc-stzh-checkbox:not([open=false]) .stzh-checkbox__description-long-button.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__description-long-button.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-checkbox__description-long-button.sc-stzh-checkbox:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox stzh-icon.stzh-checkbox__description-long-icon.sc-stzh-checkbox{--size:var(--stzh-icon-size-xsmall)}.stzh-checkbox--has-error.sc-stzh-checkbox .stzh-checkbox__error.sc-stzh-checkbox,.stzh-checkbox--has-description.sc-stzh-checkbox .stzh-checkbox__description.sc-stzh-checkbox{margin-top:var(--stzh-space-xxsmall)}.stzh-checkbox__field-wrapper.sc-stzh-checkbox{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);position:relative;display:-ms-flexbox;display:flex;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer}.stzh-checkbox__input.sc-stzh-checkbox{position:absolute;top:0;left:0;width:100%;height:100%;margin:0;z-index:-1;opacity:0;pointer-events:none}.stzh-checkbox__mark.sc-stzh-checkbox{border:0.0625rem solid var(--stzh-color-grey61);background-color:var(--stzh-color-white);width:1.5rem;height:1.5rem;-ms-flex-negative:0;flex-shrink:0;border-radius:var(--stzh-form-input-border-radius);display:-ms-inline-flexbox;display:inline-flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-transition:border-color var(--stzh-base-transition-animation-speed);transition:border-color var(--stzh-base-transition-animation-speed)}.stzh-checkbox__check.sc-stzh-checkbox{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:center;justify-content:center;opacity:0;color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__label.sc-stzh-checkbox{display:inline-block;color:var(--stzh-base-color);-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);margin-left:var(--stzh-space-small);line-height:1.5rem}.stzh-checkbox__label.sc-stzh-checkbox:empty{display:none}.stzh-checkbox__marker-symbol.sc-stzh-checkbox{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__label.sc-stzh-checkbox{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox.sc-stzh-checkbox:hover .stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:focus:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:hover~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked:focus~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-checkbox__input.sc-stzh-checkbox:focus~.stzh-checkbox__mark.sc-stzh-checkbox,.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-checkbox__input.sc-stzh-checkbox:checked~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{opacity:1}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-error)}.stzh-checkbox--is-invalid.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-error)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__field-wrapper.sc-stzh-checkbox{cursor:not-allowed}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__label.sc-stzh-checkbox,.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox .stzh-checkbox__check.sc-stzh-checkbox{color:var(--stzh-color-grey61)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__input.sc-stzh-checkbox~.stzh-checkbox__mark.sc-stzh-checkbox{border-color:var(--stzh-color-grey5)}.stzh-checkbox--is-disabled.sc-stzh-checkbox .stzh-checkbox__mark.sc-stzh-checkbox{background-color:var(--stzh-color-grey5)}";export{n as stzh_checkbox}
@@ -0,0 +1 @@
1
+ System.register([],(function(t){"use strict";return{execute:function(){var e="@oiz/stzh-components";var n="2.1.0-beta";var o=e.substring(e.indexOf("/")+1);function s(){window.addEventListener("appload",(function(t){var e=document.querySelector("[autofocus]");if(e&&t.detail.namespace===o&&e.tagName.toLowerCase().indexOf("stzh-")===0&&"setFocus"in e){e.setFocus()}}))}function i(){var t={threshold:1};var e=function(t){t.forEach((function(t){var e=0;if(t.intersectionRatio<1){e=window.innerWidth-document.body.clientWidth}document.documentElement.style.setProperty("--stzh-scrollbar-width",e+"px")}))};var n=new IntersectionObserver(e,t);n.observe(document.body)}function r(){window.stzhComponents=Object.assign({version:n,labels:"fixed",cacheTranslations:true,pathTranslations:"/",formats:{}},window.stzhComponents||{});s();i()}var a=t("g",r)}}}));
@@ -0,0 +1 @@
1
+ var __awaiter=this&&this.__awaiter||function(t,e,s,a){function i(t){return t instanceof s?t:new s((function(e){e(t)}))}return new(s||(s=Promise))((function(s,n){function l(t){try{r(a.next(t))}catch(e){n(e)}}function m(t){try{r(a["throw"](t))}catch(e){n(e)}}function r(t){t.done?s(t.value):i(t.value).then(l,m)}r((a=a.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var s={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},a,i,n,l;return l={next:m(0),throw:m(1),return:m(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function m(t){return function(e){return r([t,e])}}function r(l){if(a)throw new TypeError("Generator is already executing.");while(s)try{if(a=1,i&&(n=l[0]&2?i["return"]:l[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,l[1])).done)return n;if(i=0,n)l=[l[0]&2,n.value];switch(l[0]){case 0:case 1:n=l;break;case 4:s.label++;return{value:l[1],done:false};case 5:s.label++;i=l[1];l=[0];continue;case 7:l=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(l[0]===6||l[0]===2)){s=0;continue}if(l[0]===3&&(!n||l[1]>n[0]&&l[1]<n[3])){s.label=l[1];break}if(l[0]===6&&s.label<n[1]){s.label=n[1];n=l;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(l);break}if(n[2])s.ops.pop();s.trys.pop();continue}l=e.call(t,s)}catch(m){l=[6,m];i=0}finally{a=n=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:true}}};System.register(["./p-609bf766.system.js","./p-a408bfba.system.js"],(function(t){"use strict";var e,s,a,i,n,l;return{setters:[function(t){e=t.r;s=t.c;a=t.h;i=t.a;n=t.g},function(t){l=t.f}],execute:function(){var m='.sc-stzh-datamessagelist-item-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-datamessagelist-item-h{display:none}.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::before,.sc-stzh-datamessagelist-item-h *.sc-stzh-datamessagelist-item::after{-webkit-box-sizing:border-box;box-sizing:border-box}.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xlarge);padding-right:var(--stzh-space-medium);display:-ms-flexbox;display:flex;position:relative;padding:var(--stzh-space-medium);background-color:var(--stzh-color-white)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxlarge)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-left:var(--stzh-space-xxxlarge)}}@media screen and (min-width: 1024px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-large)}}@media screen and (min-width: 1260px){.stzh-datamessagelist-item.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xlarge)}}.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-positive:1;flex-grow:1}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__content.sc-stzh-datamessagelist-item{-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center}}.stzh-datamessagelist-item__text.sc-stzh-datamessagelist-item{-ms-flex-positive:1;flex-grow:1}.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-curve-h4-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-h4-default-heading-line-height, var(--stzh-font-milli-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-default-heading-letter-spacing);color:var(--stzh-base-lead-color);margin:0}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__heading.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-h4-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-h4-medium-heading-line-height, var(--stzh-font-centi-heading-line-height));letter-spacing:var(--stzh-font-curve-h4-medium-heading-letter-spacing)}}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:inherit;text-decoration:none;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-button-border-radius)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed)}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::after{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%}.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{background-color:var(--stzh-color-primary4)}.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-default-font-size, var(--stzh-font-milli-font-size));line-height:var(--stzh-font-curve-p1-default-text-line-height, var(--stzh-font-milli-text-line-height));letter-spacing:var(--stzh-font-curve-p1-default-text-letter-spacing);color:var(--stzh-base-lead-color)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__description.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-p1-medium-font-size, var(--stzh-font-centi-font-size));line-height:var(--stzh-font-curve-p1-medium-text-line-height, var(--stzh-font-centi-text-line-height));letter-spacing:var(--stzh-font-curve-p1-medium-text-letter-spacing)}}.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-small)}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-xxsmall)}}.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-default-font-size, var(--stzh-font-nano-font-size));line-height:var(--stzh-font-curve-caption-default-text-line-height, var(--stzh-font-nano-text-line-height));display:table;list-style:none;margin:0;padding:0}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{font-size:var(--stzh-font-curve-caption-medium-font-size, var(--stzh-font-micro-font-size));line-height:var(--stzh-font-curve-caption-medium-text-line-height, var(--stzh-font-micro-text-line-height))}}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:0 calc(var(--stzh-space-xsmall) / -1)}}.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:table-row}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;margin:0 var(--stzh-space-xsmall)}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:table-cell}@media screen and (min-width: 600px){.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{display:inline-block}}.stzh-datamessagelist-item__meta-item-label.sc-stzh-datamessagelist-item{padding-right:var(--stzh-space-xsmall)}.stzh-datamessagelist-item__meta-item-value.sc-stzh-datamessagelist-item{color:var(--stzh-color-black)}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item{width:10rem}.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__status.sc-stzh-datamessagelist-item,.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{margin-top:0;margin-left:var(--stzh-space-xxlarge)}}.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:calc(var(--stzh-space-xxsmall) / -1)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__tags.sc-stzh-datamessagelist-item{-ms-flex-wrap:nowrap;flex-wrap:nowrap}}.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{margin:var(--stzh-space-xxsmall)}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-pack:start;justify-content:flex-start;-ms-flex-align:center;align-items:center}.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-medium)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__actions.sc-stzh-datamessagelist-item:not(:empty){margin-left:var(--stzh-space-xxlarge);-ms-flex-pack:center;justify-content:center}}.stzh-datamessagelist-item__action-popover.sc-stzh-datamessagelist-item{--width:auto;--min-width:12.5rem}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover,.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item::before{border-left:0.3125rem solid var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:hover::before,.stzh-datamessagelist-item--is-unread.sc-stzh-datamessagelist-item .stzh-datamessagelist-item__heading-link.sc-stzh-datamessagelist-item:focus::before{border-left-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}';var r=t("stzh_datamessagelist_item",function(){function t(t){var a=this;e(this,t);this.stzhClick=s(this,"stzhClick",7);this.stzhActionClick=s(this,"stzhActionClick",7);this.actionClick=function(t,e){a.stzhActionClick.emit({component:"stzh-datamessagelist-item",action:t,originalEvent:e})};this.itemClick=function(t){a.stzhClick.emit({component:"stzh-datamessagelist-item",originalEvent:t})};this.localization=undefined;this.heading="";this.unread=false;this.href="";this.description="";this.externalHref="";this.loadingStatus=undefined;this.meta=undefined;this.actions=undefined;this.tags=undefined}t.prototype.loadingStatusWatcher=function(t){if(typeof t==="string"){this._loadingStatus=JSON.parse(t)}else{this._loadingStatus=t}};t.prototype.metaWatcher=function(t){if(typeof t==="string"){this._meta=JSON.parse(t)}else{this._meta=t}};t.prototype.actionsWatcher=function(t){if(typeof t==="string"){this._actions=JSON.parse(t)}else{this._actions=t}};t.prototype.tagsWatcher=function(t){if(typeof t==="string"){this._tags=JSON.parse(t)}else{this._tags=t}};t.prototype.componentWillLoad=function(){return __awaiter(this,void 0,void 0,(function(){var t;return __generator(this,(function(e){switch(e.label){case 0:this.loadingStatusWatcher(this.loadingStatus);this.metaWatcher(this.meta);this.actionsWatcher(this.actions);this.tagsWatcher(this.tags);if(!!this.localization)return[3,2];t=this;return[4,l(this.element,"datamessagelist-item")];case 1:t.localization=e.sent();e.label=2;case 2:return[2]}}))}))};t.prototype.render=function(){var t=this;var e={"stzh-datamessagelist-item":true,"stzh-datamessagelist-item--is-unread":this.unread};return a(i,{role:"listitem"},a("article",{class:e},a("div",{class:"stzh-datamessagelist-item__content"},a("div",{class:"stzh-datamessagelist-item__text"},a("h3",{class:"stzh-datamessagelist-item__heading"},a("a",{class:"stzh-datamessagelist-item__heading-link",href:this.href,onClick:this.itemClick},this.heading)),this.description&&a("div",{class:"stzh-datamessagelist-item__description"},a("stzh-clamp",{lines:2,linesMedium:1},this.description)),this._meta&&this._meta.length>0&&a("div",{class:"stzh-datamessagelist-item__meta-wrapper"},a("ul",{class:"stzh-datamessagelist-item__meta"},this._meta.map((function(t){return a("li",{class:"stzh-datamessagelist-item__meta-item"},a("span",{class:"stzh-datamessagelist-item__meta-item-label"},t.label),a("span",{class:"stzh-datamessagelist-item__meta-item-value"},t.value))}))))),this._loadingStatus&&a("stzh-status",{class:"stzh-datamessagelist-item__status",label:this._loadingStatus.label,percent:this._loadingStatus.percent,type:this._loadingStatus.type,withLoadingbar:true}),this._tags&&this._tags.length>0&&a("div",{class:"stzh-datamessagelist-item__tags-wrapper"},a("div",{class:"stzh-datamessagelist-item__tags"},this._tags.map((function(t){return a("stzh-chip",{class:"stzh-datamessagelist-item__tag",variant:"tag",size:"small",type:t.type,icon:t.icon,label:t.label})}))))),a("div",{class:"stzh-datamessagelist-item__actions"},this.externalHref&&a("stzh-button",{href:this.externalHref,variant:"tertiary",icon:"external-link",size:"tiny",iconOnly:true}),this._actions&&this._actions.length>0&&a("stzh-popover",{label:this.localization.actionsPopoverLabel,placement:"bottom-end",class:"stzh-datamessagelist-item__action-popover"},a("stzh-button",{variant:"tertiary",size:"tiny",icon:"more-horizontal",iconOnly:true}),a("stzh-menu",{slot:"content"},this._actions.map((function(e){return a("stzh-menu-item",{icon:e.icon,badge:e.badge,onClick:function(s){t.actionClick(e,s)}},e.label)})))))))};Object.defineProperty(t.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{loadingStatus:["loadingStatusWatcher"],meta:["metaWatcher"],actions:["actionsWatcher"],tags:["tagsWatcher"]}},enumerable:false,configurable:true});return t}());r.style=m}}}));
@@ -1 +1 @@
1
- import{r,c as o,h as b,a as n,g}from"./p-7a4c6adb.js";import{c}from"./p-3e8ff66b.js";var t=c((function(r){!function(o){var b=/^\s+/,n=/\s+$/,g=0,c=o.round,t=o.min,e=o.max,a=o.random;function i(r,a){if(a=a||{},(r=r||"")instanceof i)return r;if(!(this instanceof i))return new i(r,a);var l=function(r){var g,c,a={r:0,g:0,b:0},i=1,l=null,s=null,u=null,h=!1,d=!1;return"string"==typeof r&&(r=function(r){r=r.replace(b,"").replace(n,"").toLowerCase();var o,g=!1;if(F[r])r=F[r],g=!0;else if("transparent"==r)return{r:0,g:0,b:0,a:0,format:"name"};return(o=P.rgb.exec(r))?{r:o[1],g:o[2],b:o[3]}:(o=P.rgba.exec(r))?{r:o[1],g:o[2],b:o[3],a:o[4]}:(o=P.hsl.exec(r))?{h:o[1],s:o[2],l:o[3]}:(o=P.hsla.exec(r))?{h:o[1],s:o[2],l:o[3],a:o[4]}:(o=P.hsv.exec(r))?{h:o[1],s:o[2],v:o[3]}:(o=P.hsva.exec(r))?{h:o[1],s:o[2],v:o[3],a:o[4]}:(o=P.hex8.exec(r))?{r:H(o[1]),g:H(o[2]),b:H(o[3]),a:C(o[4]),format:g?"name":"hex8"}:(o=P.hex6.exec(r))?{r:H(o[1]),g:H(o[2]),b:H(o[3]),format:g?"name":"hex"}:(o=P.hex4.exec(r))?{r:H(o[1]+""+o[1]),g:H(o[2]+""+o[2]),b:H(o[3]+""+o[3]),a:C(o[4]+""+o[4]),format:g?"name":"hex8"}:!!(o=P.hex3.exec(r))&&{r:H(o[1]+""+o[1]),g:H(o[2]+""+o[2]),b:H(o[3]+""+o[3]),format:g?"name":"hex"}}(r)),"object"==typeof r&&(T(r.r)&&T(r.g)&&T(r.b)?(g=r.g,c=r.b,a={r:255*R(r.r,255),g:255*R(g,255),b:255*R(c,255)},h=!0,d="%"===String(r.r).substr(-1)?"prgb":"rgb"):T(r.h)&&T(r.s)&&T(r.v)?(l=$(r.s),s=$(r.v),a=function(r,b,n){r=6*R(r,360),b=R(b,100),n=R(n,100);var g=o.floor(r),c=r-g,t=n*(1-b),e=n*(1-c*b),a=n*(1-(1-c)*b),i=g%6;return{r:255*[n,e,t,t,a,n][i],g:255*[a,n,n,e,t,t][i],b:255*[t,t,a,n,n,e][i]}}(r.h,l,s),h=!0,d="hsv"):T(r.h)&&T(r.s)&&T(r.l)&&(l=$(r.s),u=$(r.l),a=function(r,o,b){var n,g,c;function t(r,o,b){return b<0&&(b+=1),b>1&&(b-=1),b<1/6?r+6*(o-r)*b:b<.5?o:b<2/3?r+(o-r)*(2/3-b)*6:r}if(r=R(r,360),o=R(o,100),b=R(b,100),0===o)n=g=c=b;else{var e=b<.5?b*(1+o):b+o-b*o,a=2*b-e;n=t(a,e,r+1/3),g=t(a,e,r),c=t(a,e,r-1/3)}return{r:255*n,g:255*g,b:255*c}}(r.h,l,u),h=!0,d="hsl"),r.hasOwnProperty("a")&&(i=r.a)),i=E(i),{ok:h,format:r.format||d,r:t(255,e(a.r,0)),g:t(255,e(a.g,0)),b:t(255,e(a.b,0)),a:i}}(r);this._originalInput=r,this._r=l.r,this._g=l.g,this._b=l.b,this._a=l.a,this._roundA=c(100*this._a)/100,this._format=a.format||l.format,this._gradientType=a.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=l.ok,this._tc_id=g++}function l(r,o,b){r=R(r,255),o=R(o,255),b=R(b,255);var n,g,c=e(r,o,b),a=t(r,o,b),i=(c+a)/2;if(c==a)n=g=0;else{var l=c-a;switch(g=i>.5?l/(2-c-a):l/(c+a),c){case r:n=(o-b)/l+(o<b?6:0);break;case o:n=(b-r)/l+2;break;case b:n=(r-o)/l+4}n/=6}return{h:n,s:g,l:i}}function s(r,o,b){r=R(r,255),o=R(o,255),b=R(b,255);var n,g,c=e(r,o,b),a=t(r,o,b),i=c,l=c-a;if(g=0===c?0:l/c,c==a)n=0;else{switch(c){case r:n=(o-b)/l+(o<b?6:0);break;case o:n=(b-r)/l+2;break;case b:n=(r-o)/l+4}n/=6}return{h:n,s:g,v:i}}function u(r,o,b,n){var g=[j(c(r).toString(16)),j(c(o).toString(16)),j(c(b).toString(16))];return n&&g[0].charAt(0)==g[0].charAt(1)&&g[1].charAt(0)==g[1].charAt(1)&&g[2].charAt(0)==g[2].charAt(1)?g[0].charAt(0)+g[1].charAt(0)+g[2].charAt(0):g.join("")}function h(r,o,b,n){return[j(I(n)),j(c(r).toString(16)),j(c(o).toString(16)),j(c(b).toString(16))].join("")}function d(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.s-=o/100,b.s=q(b.s),i(b)}function f(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.s+=o/100,b.s=q(b.s),i(b)}function k(r){return i(r).desaturate(100)}function v(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.l+=o/100,b.l=q(b.l),i(b)}function p(r,o){o=0===o?0:o||10;var b=i(r).toRgb();return b.r=e(0,t(255,b.r-c(-o/100*255))),b.g=e(0,t(255,b.g-c(-o/100*255))),b.b=e(0,t(255,b.b-c(-o/100*255))),i(b)}function z(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.l-=o/100,b.l=q(b.l),i(b)}function m(r,o){var b=i(r).toHsl(),n=(b.h+o)%360;return b.h=n<0?360+n:n,i(b)}function y(r){var o=i(r).toHsl();return o.h=(o.h+180)%360,i(o)}function w(r){var o=i(r).toHsl(),b=o.h;return[i(r),i({h:(b+120)%360,s:o.s,l:o.l}),i({h:(b+240)%360,s:o.s,l:o.l})]}function x(r){var o=i(r).toHsl(),b=o.h;return[i(r),i({h:(b+90)%360,s:o.s,l:o.l}),i({h:(b+180)%360,s:o.s,l:o.l}),i({h:(b+270)%360,s:o.s,l:o.l})]}function N(r){var o=i(r).toHsl(),b=o.h;return[i(r),i({h:(b+72)%360,s:o.s,l:o.l}),i({h:(b+216)%360,s:o.s,l:o.l})]}function S(r,o,b){o=o||6,b=b||30;var n=i(r).toHsl(),g=360/b,c=[i(r)];for(n.h=(n.h-(g*o>>1)+720)%360;--o;)n.h=(n.h+g)%360,c.push(i(n));return c}function A(r,o){o=o||6;for(var b=i(r).toHsv(),n=b.h,g=b.s,c=b.v,t=[],e=1/o;o--;)t.push(i({h:n,s:g,v:c})),c=(c+e)%1;return t}i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(299*r.r+587*r.g+114*r.b)/1e3},getLuminance:function(){var r,b,n,g=this.toRgb();return b=g.g/255,n=g.b/255,.2126*((r=g.r/255)<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))+.7152*(b<=.03928?b/12.92:o.pow((b+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(r){return this._a=E(r),this._roundA=c(100*this._a)/100,this},toHsv:function(){var r=s(this._r,this._g,this._b);return{h:360*r.h,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=s(this._r,this._g,this._b),o=c(360*r.h),b=c(100*r.s),n=c(100*r.v);return 1==this._a?"hsv("+o+", "+b+"%, "+n+"%)":"hsva("+o+", "+b+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var r=l(this._r,this._g,this._b);return{h:360*r.h,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=l(this._r,this._g,this._b),o=c(360*r.h),b=c(100*r.s),n=c(100*r.l);return 1==this._a?"hsl("+o+", "+b+"%, "+n+"%)":"hsla("+o+", "+b+"%, "+n+"%, "+this._roundA+")"},toHex:function(r){return u(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return function(r,o,b,n,g){var t=[j(c(r).toString(16)),j(c(o).toString(16)),j(c(b).toString(16)),j(I(n))];return g&&t[0].charAt(0)==t[0].charAt(1)&&t[1].charAt(0)==t[1].charAt(1)&&t[2].charAt(0)==t[2].charAt(1)&&t[3].charAt(0)==t[3].charAt(1)?t[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0)+t[3].charAt(0):t.join("")}(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*R(this._r,255))+"%",g:c(100*R(this._g,255))+"%",b:c(100*R(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*R(this._r,255))+"%, "+c(100*R(this._g,255))+"%, "+c(100*R(this._b,255))+"%)":"rgba("+c(100*R(this._r,255))+"%, "+c(100*R(this._g,255))+"%, "+c(100*R(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(_[u(this._r,this._g,this._b,!0)]||!1)},toFilter:function(r){var o="#"+h(this._r,this._g,this._b,this._a),b=o,n=this._gradientType?"GradientType = 1, ":"";if(r){var g=i(r);b="#"+h(g._r,g._g,g._b,g._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+o+",endColorstr="+b+")"},toString:function(r){var o=!!r;r=r||this._format;var b=!1;return o||!(this._a<1&&this._a>=0)||"hex"!==r&&"hex6"!==r&&"hex3"!==r&&"hex4"!==r&&"hex8"!==r&&"name"!==r?("rgb"===r&&(b=this.toRgbString()),"prgb"===r&&(b=this.toPercentageRgbString()),"hex"!==r&&"hex6"!==r||(b=this.toHexString()),"hex3"===r&&(b=this.toHexString(!0)),"hex4"===r&&(b=this.toHex8String(!0)),"hex8"===r&&(b=this.toHex8String()),"name"===r&&(b=this.toName()),"hsl"===r&&(b=this.toHslString()),"hsv"===r&&(b=this.toHsvString()),b||this.toHexString()):"name"===r&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(r,o){var b=r.apply(null,[this].concat([].slice.call(o)));return this._r=b._r,this._g=b._g,this._b=b._b,this.setAlpha(b._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(p,arguments)},darken:function(){return this._applyModification(z,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(f,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(m,arguments)},_applyCombination:function(r,o){return r.apply(null,[this].concat([].slice.call(o)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(y,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(N,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},i.fromRatio=function(r,o){if("object"==typeof r){var b={};for(var n in r)r.hasOwnProperty(n)&&(b[n]="a"===n?r[n]:$(r[n]));r=b}return i(r,o)},i.equals=function(r,o){return!(!r||!o)&&i(r).toRgbString()==i(o).toRgbString()},i.random=function(){return i.fromRatio({r:a(),g:a(),b:a()})},i.mix=function(r,o,b){b=0===b?0:b||50;var n=i(r).toRgb(),g=i(o).toRgb(),c=b/100;return i({r:(g.r-n.r)*c+n.r,g:(g.g-n.g)*c+n.g,b:(g.b-n.b)*c+n.b,a:(g.a-n.a)*c+n.a})},i.readability=function(r,b){var n=i(r),g=i(b);return(o.max(n.getLuminance(),g.getLuminance())+.05)/(o.min(n.getLuminance(),g.getLuminance())+.05)},i.isReadable=function(r,o,b){var n,g,c,t,e,a=i.readability(r,o);switch(g=!1,(c=b,"AA"!==(t=((c=c||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(e=(c.size||"small").toLowerCase())&&"large"!==e&&(e="small"),n={level:t,size:e}).level+n.size){case"AAsmall":case"AAAlarge":g=a>=4.5;break;case"AAlarge":g=a>=3;break;case"AAAsmall":g=a>=7}return g},i.mostReadable=function(r,o,b){var n,g,c,t,e=null,a=0;g=(b=b||{}).includeFallbackColors,c=b.level,t=b.size;for(var l=0;l<o.length;l++)(n=i.readability(r,o[l]))>a&&(a=n,e=i(o[l]));return i.isReadable(r,e,{level:c,size:t})||!g?e:(b.includeFallbackColors=!1,i.mostReadable(r,["#fff","#000"],b))};var F=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},_=i.hexNames=function(r){var o={};for(var b in r)r.hasOwnProperty(b)&&(o[r[b]]=b);return o}(F);function E(r){return r=parseFloat(r),(isNaN(r)||r<0||r>1)&&(r=1),r}function R(r,b){(function(r){return"string"==typeof r&&-1!=r.indexOf(".")&&1===parseFloat(r)})(r)&&(r="100%");var n=function(r){return"string"==typeof r&&-1!=r.indexOf("%")}(r);return r=t(b,e(0,parseFloat(r))),n&&(r=parseInt(r*b,10)/100),o.abs(r-b)<1e-6?1:r%b/parseFloat(b)}function q(r){return t(1,e(0,r))}function H(r){return parseInt(r,16)}function j(r){return 1==r.length?"0"+r:""+r}function $(r){return r<=1&&(r=100*r+"%"),r}function I(r){return o.round(255*parseFloat(r)).toString(16)}function C(r){return H(r)/255}var B,D,M,P=(D="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",M="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+M),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+M),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+M),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function T(r){return!!P.CSS_UNIT.exec(r)}r.exports?r.exports=i:window.tinycolor=i}(Math)}));const e={2:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},3:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},4:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},5:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},6:{color:"rgb(255, 255, 255)",background:"rgb(202, 125, 60)"},7:{color:"rgb(255, 255, 255)",background:"rgb(0, 0, 0)"},8:{color:"rgb(0, 0, 0)",background:"rgb(138, 181, 31)"},9:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},10:{color:"rgb(255, 255, 255)",background:"rgb(225, 36, 114)"},11:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},12:{color:"rgb(0, 0, 0)",background:"rgb(94, 179, 219)"},13:{color:"rgb(0, 0, 0)",background:"rgb(255, 193, 0)"},14:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},15:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},16:{color:"rgb(255, 255, 255)",background:"rgb(16, 55, 82)"},17:{color:"rgb(255, 255, 255)",background:"rgb(142, 34, 77)"},19:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},21:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},23:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)",comment:"Seilbahn Rigiblick"},24:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)",comment:"Polybahn"},25:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)",comment:"Dolderbahn"},29:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},31:{color:"rgb(255, 255, 255)",background:"rgb(165, 162, 198)"},32:{color:"rgb(0, 0, 0)",background:"rgb(204, 178, 209)"},33:{color:"rgb(0, 0, 0)",background:"rgb(218, 214, 156)"},34:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},35:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},36:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},37:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},38:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},39:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},40:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},45:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},46:{color:"rgb(0, 0, 0)",background:"rgb(193, 213, 159)"},54:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},61:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},62:{color:"rgb(0, 0, 0)",background:"rgb(202, 192, 182)"},63:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},64:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},66:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},67:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},69:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},70:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},72:{color:"rgb(0, 0, 0)",background:"rgb(198, 166, 147)"},73:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},75:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},76:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},77:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},78:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},79:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},80:{color:"rgb(0, 0, 0)",background:"rgb(203, 207, 179)"},83:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},89:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},91:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},94:{color:"rgb(255, 255, 255)",background:"rgb(169, 163, 155)"},95:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},99:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},151:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},152:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},153:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},156:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},161:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},162:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},163:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},165:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},184:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},185:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},200:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},201:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},215:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},220:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},235:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},236:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},245:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},301:{color:"rgb(0, 0, 0)",background:"rgb(138, 181, 31)"},302:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},303:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},304:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},305:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},306:{color:"rgb(0, 0, 0)",background:"rgb(255, 193, 0)"},307:{color:"rgb(255, 255, 255)",background:"rgb(202, 125, 60)"},308:{color:"rgb(255, 255, 255)",background:"rgb(225, 36, 114)"},309:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},311:{color:"rgb(255, 255, 255)",background:"rgb(255, 93, 85)"},314:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},315:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},321:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},323:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},325:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},350:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},444:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},445:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},701:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},702:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},703:{color:"rgb(0, 0, 0)",background:"rgb(255, 193, 0)"},704:{color:"rgb(255, 255, 255)",background:"rgb(142, 34, 77)"},705:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},720:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},721:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},725:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},726:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},727:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},742:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},743:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},744:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},745:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},747:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},748:{color:"rgb(255, 255, 255)",background:"rgb(225, 36, 114)"},751:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},752:{color:"rgb(0, 0, 0)",background:"rgb(138, 181, 31)"},753:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},754:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},759:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},760:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},765:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},768:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},781:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},786:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},787:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},910:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},912:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},916:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},917:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},918:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},919:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},E:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},N:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N1:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N2:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N4:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N5:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N6:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N7:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N8:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N9:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N10:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N11:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N12:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N13:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N14:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N15:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N16:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N17:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N18:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N19:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N30:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N31:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N32:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N33:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N34:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N45:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N72:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N78:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN1:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN4:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN5:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN6:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN7:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN8:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN9:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},S2:{color:"rgb(255, 255, 255)",background:"rgb(93, 165, 38)"},S3:{color:"rgb(255, 255, 255)",background:"rgb(111, 132, 191)"},S4:{color:"rgb(255, 255, 255)",background:"rgb(243, 96, 76)"},S5:{color:"rgb(255, 255, 255)",background:"rgb(27, 136, 164)"},S6:{color:"rgb(255, 255, 255)",background:"rgb(70, 51, 120)"},S7:{color:"rgb(0, 0, 0)",background:"rgb(255, 162, 1)"},S8:{color:"rgb(255, 255, 255)",background:"rgb(47, 20, 97)"},S9:{color:"rgb(255, 255, 255)",background:"rgb(35, 156, 54)"},S10:{color:"rgb(0, 0, 0)",background:"rgb(255, 177, 55)"},S11:{color:"rgb(255, 255, 255)",background:"rgb(130, 118, 170)"},S14:{color:"rgb(255, 255, 255)",background:"rgb(97, 55, 23)"},S15:{color:"rgb(255, 255, 255)",background:"rgb(198, 165, 126)"},S16:{color:"rgb(255, 255, 255)",background:"rgb(130, 187, 162)"},S18:{color:"rgb(255, 255, 255)",background:"rgb(235, 60, 46)"},S19:{color:"rgb(255, 255, 255)",background:"rgb(245, 130, 32)"},S20:{color:"rgb(255, 255, 255)",background:"rgb(240, 91, 148)"},S21:{color:"rgb(255, 255, 255)",background:"rgb(121, 156, 205)"},S23:{color:"rgb(255, 255, 255)",background:"rgb(115, 178, 75)"},S24:{color:"rgb(255, 255, 255)",background:"rgb(148, 102, 68)"},S25:{color:"rgb(255, 255, 255)",background:"rgb(180, 30, 142)"}},a=class{constructor(b){r(this,b),this.stzhFocus=o(this,"stzhFocus",7),this.stzhBlur=o(this,"stzhBlur",7),this.onFocus=r=>{const o=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(o),this.stzhFocus.emit({component:"stzh-vbz-linechip",originalEvent:r})},this.onBlur=r=>{const o=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(o),this.stzhBlur.emit({component:"stzh-vbz-linechip",originalEvent:r})},this.line=void 0,this.active=!1,this.alert=!1,this.global=!1}async setFocus(){this.chip.focus()}render(){const r=e[this.line]||{},o={color:this.global?"rgb(0, 0, 0)":r.color||"rgb(255, 255, 255)",background:this.global?"rgb(228, 105, 76)":r.background||"rgb(0, 0, 0)"},g=t(o.background).getBrightness()<50;return b(n,null,b("button",{ref:r=>this.chip=r,class:{"stzh-vbz-linechip":!0,"stzh-vbz-linechip--is-global":this.global,"stzh-vbz-linechip--is-alert":this.alert,"stzh-vbz-linechip--is-active":this.active,"stzh-vbz-linechip--is-dark":g,"stzh-vbz-linechip--bg-white":"rgb(255, 255, 255)"===o.background,[`stzh-vbz-linechip--line-${this.line}`]:!!this.line},style:o,title:r.comment||"",onFocus:this.onFocus,onBlur:this.onBlur},this.global?b("stzh-icon",{name:"important-warning",class:"stzh-vbz-linechip__global-icon"}):b("div",{class:"stzh-vbz-linechip__text"},this.line),this.alert&&b("div",{class:"stzh-vbz-linechip__alert"},b("stzh-icon",{name:"warning-big",class:"stzh-vbz-linechip__alert-icon"}))))}get element(){return g(this)}};a.style='.sc-stzh-vbz-linechip-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-linechip-h{display:none}.sc-stzh-vbz-linechip-h *.sc-stzh-vbz-linechip,.sc-stzh-vbz-linechip-h *.sc-stzh-vbz-linechip::before,.sc-stzh-vbz-linechip-h *.sc-stzh-vbz-linechip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-vbz-linechip-h{border-radius:var(--stzh-button-border-radius)}.stzh-vbz-linechip.sc-stzh-vbz-linechip{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);position:relative;border:none;margin:0;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--stzh-button-border-radius);width:2.5rem;height:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.stzh-vbz-linechip.sc-stzh-vbz-linechip::before{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);background-color:var(--stzh-color-black16);border-radius:var(--stzh-button-border-radius)}.stzh-vbz-linechip__text.sc-stzh-vbz-linechip{position:relative}.stzh-vbz-linechip__global-icon.sc-stzh-vbz-linechip{--size:var(--stzh-icon-size-xxsmall)}.stzh-vbz-linechip__alert.sc-stzh-vbz-linechip{position:absolute;top:-0.3125rem;right:-0.3125rem;color:var(--stzh-color-error);background-color:var(--stzh-color-white);border-radius:100%;display:-ms-flexbox;display:flex}.stzh-vbz-linechip__alert-icon.sc-stzh-vbz-linechip{--size:var(--stzh-icon-size-xsmall)}.stzh-vbz-linechip.sc-stzh-vbz-linechip:hover::before,.stzh-vbz-linechip.sc-stzh-vbz-linechip:focus::before,.stzh-vbz-linechip--is-active.sc-stzh-vbz-linechip::before{opacity:1}.stzh-vbz-linechip--is-dark.sc-stzh-vbz-linechip::before{background-color:var(--stzh-color-white16)}.stzh-vbz-linechip--bg-white.sc-stzh-vbz-linechip{border:0.0625rem solid var(--stzh-color-black)}';export{a as stzh_vbz_linechip}
1
+ import{r,c as o,h as b,a as n,g}from"./p-7a4c6adb.js";import{c}from"./p-3e8ff66b.js";var t=c((function(r){!function(o){var b=/^\s+/,n=/\s+$/,g=0,c=o.round,t=o.min,e=o.max,a=o.random;function i(r,a){if(a=a||{},(r=r||"")instanceof i)return r;if(!(this instanceof i))return new i(r,a);var l=function(r){var g,c,a={r:0,g:0,b:0},i=1,l=null,s=null,u=null,h=!1,d=!1;return"string"==typeof r&&(r=function(r){r=r.replace(b,"").replace(n,"").toLowerCase();var o,g=!1;if(F[r])r=F[r],g=!0;else if("transparent"==r)return{r:0,g:0,b:0,a:0,format:"name"};return(o=P.rgb.exec(r))?{r:o[1],g:o[2],b:o[3]}:(o=P.rgba.exec(r))?{r:o[1],g:o[2],b:o[3],a:o[4]}:(o=P.hsl.exec(r))?{h:o[1],s:o[2],l:o[3]}:(o=P.hsla.exec(r))?{h:o[1],s:o[2],l:o[3],a:o[4]}:(o=P.hsv.exec(r))?{h:o[1],s:o[2],v:o[3]}:(o=P.hsva.exec(r))?{h:o[1],s:o[2],v:o[3],a:o[4]}:(o=P.hex8.exec(r))?{r:H(o[1]),g:H(o[2]),b:H(o[3]),a:C(o[4]),format:g?"name":"hex8"}:(o=P.hex6.exec(r))?{r:H(o[1]),g:H(o[2]),b:H(o[3]),format:g?"name":"hex"}:(o=P.hex4.exec(r))?{r:H(o[1]+""+o[1]),g:H(o[2]+""+o[2]),b:H(o[3]+""+o[3]),a:C(o[4]+""+o[4]),format:g?"name":"hex8"}:!!(o=P.hex3.exec(r))&&{r:H(o[1]+""+o[1]),g:H(o[2]+""+o[2]),b:H(o[3]+""+o[3]),format:g?"name":"hex"}}(r)),"object"==typeof r&&(T(r.r)&&T(r.g)&&T(r.b)?(g=r.g,c=r.b,a={r:255*R(r.r,255),g:255*R(g,255),b:255*R(c,255)},h=!0,d="%"===String(r.r).substr(-1)?"prgb":"rgb"):T(r.h)&&T(r.s)&&T(r.v)?(l=$(r.s),s=$(r.v),a=function(r,b,n){r=6*R(r,360),b=R(b,100),n=R(n,100);var g=o.floor(r),c=r-g,t=n*(1-b),e=n*(1-c*b),a=n*(1-(1-c)*b),i=g%6;return{r:255*[n,e,t,t,a,n][i],g:255*[a,n,n,e,t,t][i],b:255*[t,t,a,n,n,e][i]}}(r.h,l,s),h=!0,d="hsv"):T(r.h)&&T(r.s)&&T(r.l)&&(l=$(r.s),u=$(r.l),a=function(r,o,b){var n,g,c;function t(r,o,b){return b<0&&(b+=1),b>1&&(b-=1),b<1/6?r+6*(o-r)*b:b<.5?o:b<2/3?r+(o-r)*(2/3-b)*6:r}if(r=R(r,360),o=R(o,100),b=R(b,100),0===o)n=g=c=b;else{var e=b<.5?b*(1+o):b+o-b*o,a=2*b-e;n=t(a,e,r+1/3),g=t(a,e,r),c=t(a,e,r-1/3)}return{r:255*n,g:255*g,b:255*c}}(r.h,l,u),h=!0,d="hsl"),r.hasOwnProperty("a")&&(i=r.a)),i=E(i),{ok:h,format:r.format||d,r:t(255,e(a.r,0)),g:t(255,e(a.g,0)),b:t(255,e(a.b,0)),a:i}}(r);this._originalInput=r,this._r=l.r,this._g=l.g,this._b=l.b,this._a=l.a,this._roundA=c(100*this._a)/100,this._format=a.format||l.format,this._gradientType=a.gradientType,this._r<1&&(this._r=c(this._r)),this._g<1&&(this._g=c(this._g)),this._b<1&&(this._b=c(this._b)),this._ok=l.ok,this._tc_id=g++}function l(r,o,b){r=R(r,255),o=R(o,255),b=R(b,255);var n,g,c=e(r,o,b),a=t(r,o,b),i=(c+a)/2;if(c==a)n=g=0;else{var l=c-a;switch(g=i>.5?l/(2-c-a):l/(c+a),c){case r:n=(o-b)/l+(o<b?6:0);break;case o:n=(b-r)/l+2;break;case b:n=(r-o)/l+4}n/=6}return{h:n,s:g,l:i}}function s(r,o,b){r=R(r,255),o=R(o,255),b=R(b,255);var n,g,c=e(r,o,b),a=t(r,o,b),i=c,l=c-a;if(g=0===c?0:l/c,c==a)n=0;else{switch(c){case r:n=(o-b)/l+(o<b?6:0);break;case o:n=(b-r)/l+2;break;case b:n=(r-o)/l+4}n/=6}return{h:n,s:g,v:i}}function u(r,o,b,n){var g=[j(c(r).toString(16)),j(c(o).toString(16)),j(c(b).toString(16))];return n&&g[0].charAt(0)==g[0].charAt(1)&&g[1].charAt(0)==g[1].charAt(1)&&g[2].charAt(0)==g[2].charAt(1)?g[0].charAt(0)+g[1].charAt(0)+g[2].charAt(0):g.join("")}function h(r,o,b,n){return[j(I(n)),j(c(r).toString(16)),j(c(o).toString(16)),j(c(b).toString(16))].join("")}function d(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.s-=o/100,b.s=q(b.s),i(b)}function f(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.s+=o/100,b.s=q(b.s),i(b)}function k(r){return i(r).desaturate(100)}function v(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.l+=o/100,b.l=q(b.l),i(b)}function p(r,o){o=0===o?0:o||10;var b=i(r).toRgb();return b.r=e(0,t(255,b.r-c(-o/100*255))),b.g=e(0,t(255,b.g-c(-o/100*255))),b.b=e(0,t(255,b.b-c(-o/100*255))),i(b)}function z(r,o){o=0===o?0:o||10;var b=i(r).toHsl();return b.l-=o/100,b.l=q(b.l),i(b)}function m(r,o){var b=i(r).toHsl(),n=(b.h+o)%360;return b.h=n<0?360+n:n,i(b)}function y(r){var o=i(r).toHsl();return o.h=(o.h+180)%360,i(o)}function w(r){var o=i(r).toHsl(),b=o.h;return[i(r),i({h:(b+120)%360,s:o.s,l:o.l}),i({h:(b+240)%360,s:o.s,l:o.l})]}function x(r){var o=i(r).toHsl(),b=o.h;return[i(r),i({h:(b+90)%360,s:o.s,l:o.l}),i({h:(b+180)%360,s:o.s,l:o.l}),i({h:(b+270)%360,s:o.s,l:o.l})]}function N(r){var o=i(r).toHsl(),b=o.h;return[i(r),i({h:(b+72)%360,s:o.s,l:o.l}),i({h:(b+216)%360,s:o.s,l:o.l})]}function S(r,o,b){o=o||6,b=b||30;var n=i(r).toHsl(),g=360/b,c=[i(r)];for(n.h=(n.h-(g*o>>1)+720)%360;--o;)n.h=(n.h+g)%360,c.push(i(n));return c}function A(r,o){o=o||6;for(var b=i(r).toHsv(),n=b.h,g=b.s,c=b.v,t=[],e=1/o;o--;)t.push(i({h:n,s:g,v:c})),c=(c+e)%1;return t}i.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var r=this.toRgb();return(299*r.r+587*r.g+114*r.b)/1e3},getLuminance:function(){var r,b,n,g=this.toRgb();return b=g.g/255,n=g.b/255,.2126*((r=g.r/255)<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))+.7152*(b<=.03928?b/12.92:o.pow((b+.055)/1.055,2.4))+.0722*(n<=.03928?n/12.92:o.pow((n+.055)/1.055,2.4))},setAlpha:function(r){return this._a=E(r),this._roundA=c(100*this._a)/100,this},toHsv:function(){var r=s(this._r,this._g,this._b);return{h:360*r.h,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=s(this._r,this._g,this._b),o=c(360*r.h),b=c(100*r.s),n=c(100*r.v);return 1==this._a?"hsv("+o+", "+b+"%, "+n+"%)":"hsva("+o+", "+b+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var r=l(this._r,this._g,this._b);return{h:360*r.h,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=l(this._r,this._g,this._b),o=c(360*r.h),b=c(100*r.s),n=c(100*r.l);return 1==this._a?"hsl("+o+", "+b+"%, "+n+"%)":"hsla("+o+", "+b+"%, "+n+"%, "+this._roundA+")"},toHex:function(r){return u(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return function(r,o,b,n,g){var t=[j(c(r).toString(16)),j(c(o).toString(16)),j(c(b).toString(16)),j(I(n))];return g&&t[0].charAt(0)==t[0].charAt(1)&&t[1].charAt(0)==t[1].charAt(1)&&t[2].charAt(0)==t[2].charAt(1)&&t[3].charAt(0)==t[3].charAt(1)?t[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0)+t[3].charAt(0):t.join("")}(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:c(this._r),g:c(this._g),b:c(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+c(this._r)+", "+c(this._g)+", "+c(this._b)+")":"rgba("+c(this._r)+", "+c(this._g)+", "+c(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:c(100*R(this._r,255))+"%",g:c(100*R(this._g,255))+"%",b:c(100*R(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+c(100*R(this._r,255))+"%, "+c(100*R(this._g,255))+"%, "+c(100*R(this._b,255))+"%)":"rgba("+c(100*R(this._r,255))+"%, "+c(100*R(this._g,255))+"%, "+c(100*R(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(_[u(this._r,this._g,this._b,!0)]||!1)},toFilter:function(r){var o="#"+h(this._r,this._g,this._b,this._a),b=o,n=this._gradientType?"GradientType = 1, ":"";if(r){var g=i(r);b="#"+h(g._r,g._g,g._b,g._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+o+",endColorstr="+b+")"},toString:function(r){var o=!!r;r=r||this._format;var b=!1;return o||!(this._a<1&&this._a>=0)||"hex"!==r&&"hex6"!==r&&"hex3"!==r&&"hex4"!==r&&"hex8"!==r&&"name"!==r?("rgb"===r&&(b=this.toRgbString()),"prgb"===r&&(b=this.toPercentageRgbString()),"hex"!==r&&"hex6"!==r||(b=this.toHexString()),"hex3"===r&&(b=this.toHexString(!0)),"hex4"===r&&(b=this.toHex8String(!0)),"hex8"===r&&(b=this.toHex8String()),"name"===r&&(b=this.toName()),"hsl"===r&&(b=this.toHslString()),"hsv"===r&&(b=this.toHsvString()),b||this.toHexString()):"name"===r&&0===this._a?this.toName():this.toRgbString()},clone:function(){return i(this.toString())},_applyModification:function(r,o){var b=r.apply(null,[this].concat([].slice.call(o)));return this._r=b._r,this._g=b._g,this._b=b._b,this.setAlpha(b._a),this},lighten:function(){return this._applyModification(v,arguments)},brighten:function(){return this._applyModification(p,arguments)},darken:function(){return this._applyModification(z,arguments)},desaturate:function(){return this._applyModification(d,arguments)},saturate:function(){return this._applyModification(f,arguments)},greyscale:function(){return this._applyModification(k,arguments)},spin:function(){return this._applyModification(m,arguments)},_applyCombination:function(r,o){return r.apply(null,[this].concat([].slice.call(o)))},analogous:function(){return this._applyCombination(S,arguments)},complement:function(){return this._applyCombination(y,arguments)},monochromatic:function(){return this._applyCombination(A,arguments)},splitcomplement:function(){return this._applyCombination(N,arguments)},triad:function(){return this._applyCombination(w,arguments)},tetrad:function(){return this._applyCombination(x,arguments)}},i.fromRatio=function(r,o){if("object"==typeof r){var b={};for(var n in r)r.hasOwnProperty(n)&&(b[n]="a"===n?r[n]:$(r[n]));r=b}return i(r,o)},i.equals=function(r,o){return!(!r||!o)&&i(r).toRgbString()==i(o).toRgbString()},i.random=function(){return i.fromRatio({r:a(),g:a(),b:a()})},i.mix=function(r,o,b){b=0===b?0:b||50;var n=i(r).toRgb(),g=i(o).toRgb(),c=b/100;return i({r:(g.r-n.r)*c+n.r,g:(g.g-n.g)*c+n.g,b:(g.b-n.b)*c+n.b,a:(g.a-n.a)*c+n.a})},i.readability=function(r,b){var n=i(r),g=i(b);return(o.max(n.getLuminance(),g.getLuminance())+.05)/(o.min(n.getLuminance(),g.getLuminance())+.05)},i.isReadable=function(r,o,b){var n,g,c,t,e,a=i.readability(r,o);switch(g=!1,(c=b,"AA"!==(t=((c=c||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==t&&(t="AA"),"small"!==(e=(c.size||"small").toLowerCase())&&"large"!==e&&(e="small"),n={level:t,size:e}).level+n.size){case"AAsmall":case"AAAlarge":g=a>=4.5;break;case"AAlarge":g=a>=3;break;case"AAAsmall":g=a>=7}return g},i.mostReadable=function(r,o,b){var n,g,c,t,e=null,a=0;g=(b=b||{}).includeFallbackColors,c=b.level,t=b.size;for(var l=0;l<o.length;l++)(n=i.readability(r,o[l]))>a&&(a=n,e=i(o[l]));return i.isReadable(r,e,{level:c,size:t})||!g?e:(b.includeFallbackColors=!1,i.mostReadable(r,["#fff","#000"],b))};var F=i.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},_=i.hexNames=function(r){var o={};for(var b in r)r.hasOwnProperty(b)&&(o[r[b]]=b);return o}(F);function E(r){return r=parseFloat(r),(isNaN(r)||r<0||r>1)&&(r=1),r}function R(r,b){(function(r){return"string"==typeof r&&-1!=r.indexOf(".")&&1===parseFloat(r)})(r)&&(r="100%");var n=function(r){return"string"==typeof r&&-1!=r.indexOf("%")}(r);return r=t(b,e(0,parseFloat(r))),n&&(r=parseInt(r*b,10)/100),o.abs(r-b)<1e-6?1:r%b/parseFloat(b)}function q(r){return t(1,e(0,r))}function H(r){return parseInt(r,16)}function j(r){return 1==r.length?"0"+r:""+r}function $(r){return r<=1&&(r=100*r+"%"),r}function I(r){return o.round(255*parseFloat(r)).toString(16)}function C(r){return H(r)/255}var B,D,M,P=(D="[\\s|\\(]+("+(B="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",M="[\\s|\\(]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")[,|\\s]+("+B+")\\s*\\)?",{CSS_UNIT:new RegExp(B),rgb:new RegExp("rgb"+D),rgba:new RegExp("rgba"+M),hsl:new RegExp("hsl"+D),hsla:new RegExp("hsla"+M),hsv:new RegExp("hsv"+D),hsva:new RegExp("hsva"+M),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function T(r){return!!P.CSS_UNIT.exec(r)}r.exports?r.exports=i:window.tinycolor=i}(Math)}));const e={2:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},3:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},4:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},5:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},6:{color:"rgb(255, 255, 255)",background:"rgb(202, 125, 60)"},7:{color:"rgb(255, 255, 255)",background:"rgb(0, 0, 0)"},8:{color:"rgb(0, 0, 0)",background:"rgb(138, 181, 31)"},9:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},10:{color:"rgb(255, 255, 255)",background:"rgb(225, 36, 114)"},11:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},12:{color:"rgb(0, 0, 0)",background:"rgb(94, 179, 219)"},13:{color:"rgb(0, 0, 0)",background:"rgb(255, 193, 0)"},14:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},15:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},16:{color:"rgb(255, 255, 255)",background:"rgb(16, 55, 82)"},17:{color:"rgb(255, 255, 255)",background:"rgb(142, 34, 77)"},19:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},20:{color:"rgb(255, 255, 255)",background:"rgb(142, 34, 77)"},21:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},23:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)",comment:"Seilbahn Rigiblick"},24:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)",comment:"Polybahn"},25:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)",comment:"Dolderbahn"},29:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},31:{color:"rgb(255, 255, 255)",background:"rgb(165, 162, 198)"},32:{color:"rgb(0, 0, 0)",background:"rgb(204, 178, 209)"},33:{color:"rgb(0, 0, 0)",background:"rgb(218, 214, 156)"},34:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},35:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},36:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},37:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},38:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},39:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},40:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},45:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},46:{color:"rgb(0, 0, 0)",background:"rgb(193, 213, 159)"},54:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},61:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},62:{color:"rgb(0, 0, 0)",background:"rgb(202, 192, 182)"},63:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},64:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},66:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},67:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},69:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},70:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},72:{color:"rgb(0, 0, 0)",background:"rgb(198, 166, 147)"},73:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},75:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},76:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},77:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},78:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},79:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},80:{color:"rgb(0, 0, 0)",background:"rgb(203, 207, 179)"},83:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},89:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},91:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},94:{color:"rgb(255, 255, 255)",background:"rgb(169, 163, 155)"},95:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},99:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},151:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},152:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},153:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},156:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},161:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},162:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},163:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},165:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},184:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},185:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},200:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},201:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},215:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},220:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},235:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},236:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},245:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},301:{color:"rgb(0, 0, 0)",background:"rgb(138, 181, 31)"},302:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},303:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},304:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},305:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},306:{color:"rgb(0, 0, 0)",background:"rgb(255, 193, 0)"},307:{color:"rgb(255, 255, 255)",background:"rgb(202, 125, 60)"},308:{color:"rgb(255, 255, 255)",background:"rgb(225, 36, 114)"},309:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},311:{color:"rgb(255, 255, 255)",background:"rgb(255, 93, 85)"},314:{color:"rgb(0, 0, 0)",background:"rgb(255, 93, 85)"},315:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},317:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},321:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},323:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},325:{color:"rgb(255, 255, 255)",background:"rgb(225, 36, 114)"},350:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},444:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},445:{color:"rgb(0, 0, 0)",background:"rgb(255, 204, 0)"},701:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},702:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},703:{color:"rgb(0, 0, 0)",background:"rgb(255, 193, 0)"},704:{color:"rgb(255, 255, 255)",background:"rgb(142, 34, 77)"},705:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},720:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},721:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},725:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},726:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},727:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},742:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},743:{color:"rgb(255, 255, 255)",background:"rgb(226, 10, 22)"},744:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},745:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},747:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},748:{color:"rgb(255, 255, 255)",background:"rgb(225, 36, 114)"},751:{color:"rgb(255, 255, 255)",background:"rgb(17, 41, 111)"},752:{color:"rgb(0, 0, 0)",background:"rgb(138, 181, 31)"},753:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},754:{color:"rgb(255, 255, 255)",background:"rgb(115, 69, 34)"},759:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},760:{color:"rgb(255, 255, 255)",background:"rgb(0, 137, 47)"},765:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},768:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},781:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},786:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},787:{color:"rgb(255, 255, 255)",background:"rgb(0, 141, 197)"},910:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},912:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},916:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},917:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},918:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},919:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},E:{color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"},N:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N1:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N2:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N4:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N5:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N6:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N7:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N8:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N9:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N10:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N11:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N12:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N13:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N14:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N15:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N16:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N17:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N18:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N19:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N30:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N31:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N32:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N33:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N34:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N45:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N72:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},N78:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN1:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN4:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN5:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN6:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN7:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN8:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},SN9:{color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"},S2:{color:"rgb(255, 255, 255)",background:"rgb(93, 165, 38)"},S3:{color:"rgb(255, 255, 255)",background:"rgb(111, 132, 191)"},S4:{color:"rgb(255, 255, 255)",background:"rgb(243, 96, 76)"},S5:{color:"rgb(255, 255, 255)",background:"rgb(27, 136, 164)"},S6:{color:"rgb(255, 255, 255)",background:"rgb(70, 51, 120)"},S7:{color:"rgb(0, 0, 0)",background:"rgb(255, 162, 1)"},S8:{color:"rgb(255, 255, 255)",background:"rgb(47, 20, 97)"},S9:{color:"rgb(255, 255, 255)",background:"rgb(35, 156, 54)"},S10:{color:"rgb(0, 0, 0)",background:"rgb(255, 177, 55)"},S11:{color:"rgb(255, 255, 255)",background:"rgb(130, 118, 170)"},S14:{color:"rgb(255, 255, 255)",background:"rgb(97, 55, 23)"},S15:{color:"rgb(255, 255, 255)",background:"rgb(198, 165, 126)"},S16:{color:"rgb(255, 255, 255)",background:"rgb(130, 187, 162)"},S18:{color:"rgb(255, 255, 255)",background:"rgb(235, 60, 46)"},S19:{color:"rgb(255, 255, 255)",background:"rgb(245, 130, 32)"},S20:{color:"rgb(255, 255, 255)",background:"rgb(240, 91, 148)"},S21:{color:"rgb(255, 255, 255)",background:"rgb(121, 156, 205)"},S23:{color:"rgb(255, 255, 255)",background:"rgb(115, 178, 75)"},S24:{color:"rgb(255, 255, 255)",background:"rgb(148, 102, 68)"},S25:{color:"rgb(255, 255, 255)",background:"rgb(180, 30, 142)"}},a=class{constructor(b){r(this,b),this.stzhFocus=o(this,"stzhFocus",7),this.stzhBlur=o(this,"stzhBlur",7),this.onFocus=r=>{const o=new FocusEvent("focus",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(o),this.stzhFocus.emit({component:"stzh-vbz-linechip",originalEvent:r})},this.onBlur=r=>{const o=new FocusEvent("blur",{view:window,bubbles:!1,cancelable:!1});this.element.dispatchEvent(o),this.stzhBlur.emit({component:"stzh-vbz-linechip",originalEvent:r})},this.line=void 0,this.active=!1,this.alert=!1,this.global=!1}async setFocus(){this.chip.focus()}render(){const r=e[this.line]||{},o={color:this.global?"rgb(0, 0, 0)":r.color||"rgb(255, 255, 255)",background:this.global?"rgb(228, 105, 76)":r.background||"rgb(0, 0, 0)"},g=t(o.background).getBrightness()<50;return b(n,null,b("button",{ref:r=>this.chip=r,class:{"stzh-vbz-linechip":!0,"stzh-vbz-linechip--is-global":this.global,"stzh-vbz-linechip--is-alert":this.alert,"stzh-vbz-linechip--is-active":this.active,"stzh-vbz-linechip--is-dark":g,"stzh-vbz-linechip--bg-white":"rgb(255, 255, 255)"===o.background,[`stzh-vbz-linechip--line-${this.line}`]:!!this.line},style:o,title:r.comment||"",onFocus:this.onFocus,onBlur:this.onBlur},this.global?b("stzh-icon",{name:"important-warning",class:"stzh-vbz-linechip__global-icon"}):b("div",{class:"stzh-vbz-linechip__text"},this.line),this.alert&&b("div",{class:"stzh-vbz-linechip__alert"},b("stzh-icon",{name:"warning-big",class:"stzh-vbz-linechip__alert-icon"}))))}get element(){return g(this)}};a.style='.sc-stzh-vbz-linechip-h{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;color:var(--stzh-base-color);-webkit-box-sizing:border-box;box-sizing:border-box;display:block}[hidden].sc-stzh-vbz-linechip-h{display:none}.sc-stzh-vbz-linechip-h *.sc-stzh-vbz-linechip,.sc-stzh-vbz-linechip-h *.sc-stzh-vbz-linechip::before,.sc-stzh-vbz-linechip-h *.sc-stzh-vbz-linechip::after{-webkit-box-sizing:border-box;box-sizing:border-box}.sc-stzh-vbz-linechip-h{border-radius:var(--stzh-button-border-radius)}.stzh-vbz-linechip.sc-stzh-vbz-linechip{font-family:var(--stzh-font-family-heavy);font-weight:var(--stzh-font-weight-heavy);font-style:normal;font-size:var(--stzh-font-nano-font-size);line-height:var(--stzh-font-nano-text-line-height);position:relative;border:none;margin:0;padding:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;border-radius:var(--stzh-button-border-radius);width:2.5rem;height:1.5rem;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center}.stzh-vbz-linechip.sc-stzh-vbz-linechip::before{content:"";display:block;position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;-webkit-transition:opacity var(--stzh-base-transition-animation-speed);transition:opacity var(--stzh-base-transition-animation-speed);background-color:var(--stzh-color-black16);border-radius:var(--stzh-button-border-radius)}.stzh-vbz-linechip__text.sc-stzh-vbz-linechip{position:relative}.stzh-vbz-linechip__global-icon.sc-stzh-vbz-linechip{--size:var(--stzh-icon-size-xxsmall)}.stzh-vbz-linechip__alert.sc-stzh-vbz-linechip{position:absolute;top:-0.3125rem;right:-0.3125rem;color:var(--stzh-color-error);background-color:var(--stzh-color-white);border-radius:100%;display:-ms-flexbox;display:flex}.stzh-vbz-linechip__alert-icon.sc-stzh-vbz-linechip{--size:var(--stzh-icon-size-xsmall)}.stzh-vbz-linechip.sc-stzh-vbz-linechip:hover::before,.stzh-vbz-linechip.sc-stzh-vbz-linechip:focus::before,.stzh-vbz-linechip--is-active.sc-stzh-vbz-linechip::before{opacity:1}.stzh-vbz-linechip--is-dark.sc-stzh-vbz-linechip::before{background-color:var(--stzh-color-white16)}.stzh-vbz-linechip--bg-white.sc-stzh-vbz-linechip{border:0.0625rem solid var(--stzh-color-black)}';export{a as stzh_vbz_linechip}