@oiz/stzh-components 2.4.0-beta → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{_commonjsHelpers-dcc4cf71.js → _commonjsHelpers-bcc1208a.js} +0 -16
- package/dist/cjs/{app-globals-57922fc2.js → app-globals-8fbeeb92.js} +1 -1
- package/dist/cjs/{js.cookie-226c94ed.js → js.cookie-9c263d23.js} +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/stzh-badge_3.cjs.entry.js +9 -2
- package/dist/cjs/stzh-card_3.cjs.entry.js +18 -19
- package/dist/cjs/stzh-chart.cjs.entry.js +5998 -5171
- package/dist/cjs/stzh-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/stzh-components.cjs.js +2 -2
- package/dist/cjs/stzh-cspace.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datalist_2.cjs.entry.js +9 -2
- package/dist/cjs/stzh-datamessagelist-item.cjs.entry.js +1 -1
- package/dist/cjs/stzh-datatable.cjs.entry.js +1 -1
- package/dist/cjs/stzh-dropdown.cjs.entry.js +1 -1
- package/dist/cjs/stzh-ghettobox_2.cjs.entry.js +14 -3
- package/dist/cjs/stzh-invert.cjs.entry.js +1 -1
- package/dist/cjs/stzh-link.cjs.entry.js +9 -2
- package/dist/cjs/stzh-message.cjs.entry.js +2 -2
- package/dist/cjs/stzh-olmap.cjs.entry.js +1 -1
- package/dist/cjs/stzh-pagetitle-hero.cjs.entry.js +1 -1
- package/dist/cjs/stzh-portal-mitwirken.cjs.entry.js +1 -1
- package/dist/cjs/stzh-upload.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-linechip.cjs.entry.js +1 -1
- package/dist/cjs/stzh-vbz-ticker.cjs.entry.js +16 -11
- package/dist/collection/assets/i18n/de.json +2 -0
- package/dist/collection/assets/i18n/en.json +3 -1
- package/dist/collection/components/stzh-button/stzh-button.css +11 -0
- package/dist/collection/components/stzh-button/stzh-button.js +28 -1
- package/dist/collection/components/stzh-card/stzh-card.css +1 -1
- package/dist/collection/components/stzh-card/stzh-card.js +17 -18
- package/dist/collection/components/stzh-chart/stzh-chart.css +101 -54
- package/dist/collection/components/stzh-chart/stzh-chart.stories.js +1 -0
- package/dist/collection/components/stzh-chip/stzh-chip.css +2 -2
- package/dist/collection/components/stzh-cspace/stzh-cspace.css +36 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.css +11 -0
- package/dist/collection/components/stzh-datalist-item/stzh-datalist-item.js +28 -1
- package/dist/collection/components/stzh-datamessagelist-item/stzh-datamessagelist-item.css +10 -0
- package/dist/collection/components/stzh-input/stzh-input.stories.js +12 -12
- package/dist/collection/components/stzh-invert/stzh-invert.css +1 -1
- package/dist/collection/components/stzh-link/stzh-link.css +11 -0
- package/dist/collection/components/stzh-link/stzh-link.js +28 -1
- package/dist/collection/components/stzh-pagetitle-hero/stzh-pagetitle-hero.css +1 -1
- package/dist/collection/components/stzh-portal-mitwirken/stzh-portal-mitwirken.css +112 -6
- package/dist/collection/components/stzh-richtext/stzh-richtext.css +14 -3
- package/dist/collection/components/stzh-richtext/stzh-richtext.js +32 -0
- package/dist/collection/components/stzh-vbz-ticker/stzh-vbz-ticker.js +16 -11
- package/dist/components/_commonjsHelpers.js +1 -16
- package/dist/components/index.js +1 -1
- package/dist/components/stzh-button2.js +10 -2
- package/dist/components/stzh-card2.js +18 -19
- package/dist/components/stzh-chart.js +5995 -5168
- package/dist/components/stzh-chip2.js +1 -1
- package/dist/components/stzh-cspace.js +1 -1
- package/dist/components/stzh-datalist-item2.js +10 -2
- package/dist/components/stzh-datamessagelist-item.js +1 -1
- package/dist/components/stzh-invert.js +1 -1
- package/dist/components/stzh-link2.js +10 -2
- package/dist/components/stzh-pagetitle-hero.js +1 -1
- package/dist/components/stzh-portal-mitwirken.js +1 -1
- package/dist/components/stzh-richtext2.js +14 -1
- package/dist/components/stzh-upload.js +1 -1
- package/dist/components/stzh-vbz-ticker.js +16 -11
- package/dist/esm/{_commonjsHelpers-f9dc4873.js → _commonjsHelpers-ba3f0406.js} +1 -16
- package/dist/esm/{app-globals-b848652e.js → app-globals-f5264f95.js} +1 -1
- package/dist/esm/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
- package/dist/esm/loader.js +2 -2
- package/dist/esm/stzh-badge_3.entry.js +9 -2
- package/dist/esm/stzh-card_3.entry.js +18 -19
- package/dist/esm/stzh-chart.entry.js +5995 -5168
- package/dist/esm/stzh-chip_2.entry.js +1 -1
- package/dist/esm/stzh-components.js +2 -2
- package/dist/esm/stzh-cspace.entry.js +1 -1
- package/dist/esm/stzh-datalist_2.entry.js +9 -2
- package/dist/esm/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm/stzh-datatable.entry.js +1 -1
- package/dist/esm/stzh-dropdown.entry.js +1 -1
- package/dist/esm/stzh-ghettobox_2.entry.js +14 -3
- package/dist/esm/stzh-invert.entry.js +1 -1
- package/dist/esm/stzh-link.entry.js +9 -2
- package/dist/esm/stzh-message.entry.js +2 -2
- package/dist/esm/stzh-olmap.entry.js +1 -1
- package/dist/esm/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm/stzh-upload.entry.js +1 -1
- package/dist/esm/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm/stzh-vbz-ticker.entry.js +16 -11
- package/dist/esm-es5/_commonjsHelpers-ba3f0406.js +1 -0
- package/dist/esm-es5/app-globals-f5264f95.js +1 -0
- package/dist/esm-es5/{js.cookie-53735b72.js → js.cookie-28a40640.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/stzh-badge_3.entry.js +1 -1
- package/dist/esm-es5/stzh-card_3.entry.js +1 -1
- package/dist/esm-es5/stzh-chart.entry.js +3 -3
- package/dist/esm-es5/stzh-chip_2.entry.js +1 -1
- package/dist/esm-es5/stzh-components.js +1 -1
- package/dist/esm-es5/stzh-cspace.entry.js +1 -1
- package/dist/esm-es5/stzh-datalist_2.entry.js +1 -1
- package/dist/esm-es5/stzh-datamessagelist-item.entry.js +1 -1
- package/dist/esm-es5/stzh-datatable.entry.js +1 -1
- package/dist/esm-es5/stzh-dropdown.entry.js +1 -1
- package/dist/esm-es5/stzh-ghettobox_2.entry.js +1 -1
- package/dist/esm-es5/stzh-invert.entry.js +1 -1
- package/dist/esm-es5/stzh-link.entry.js +1 -1
- package/dist/esm-es5/stzh-message.entry.js +1 -1
- package/dist/esm-es5/stzh-olmap.entry.js +1 -1
- package/dist/esm-es5/stzh-pagetitle-hero.entry.js +1 -1
- package/dist/esm-es5/stzh-portal-mitwirken.entry.js +1 -1
- package/dist/esm-es5/stzh-upload.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-linechip.entry.js +1 -1
- package/dist/esm-es5/stzh-vbz-ticker.entry.js +1 -1
- package/dist/stzh-components/assets/i18n/de.json +2 -0
- package/dist/stzh-components/assets/i18n/en.json +3 -1
- package/dist/stzh-components/p-05e742b4.js +1 -0
- package/dist/stzh-components/p-09a6a4be.system.js +1 -0
- package/dist/stzh-components/{p-b9372a2a.entry.js → p-0ab2f949.entry.js} +1 -1
- package/dist/stzh-components/{p-ed783154.system.entry.js → p-216b89d7.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c8cc2563.system.entry.js → p-263fd0bb.system.entry.js} +1 -1
- package/dist/stzh-components/{p-e4a8f1bc.system.entry.js → p-2e40e63c.system.entry.js} +1 -1
- package/dist/stzh-components/{p-26889a91.entry.js → p-32ae64a3.entry.js} +1 -1
- package/dist/stzh-components/{p-4eee30ea.system.entry.js → p-340eedda.system.entry.js} +1 -1
- package/dist/stzh-components/p-3721f7b2.entry.js +1 -0
- package/dist/stzh-components/p-37de872c.system.entry.js +1 -0
- package/dist/stzh-components/p-3a73b8b5.system.js +1 -0
- package/dist/stzh-components/p-3e8ff66b.js +1 -0
- package/dist/stzh-components/{p-c2f909c1.system.entry.js → p-3fc51ad1.system.entry.js} +1 -1
- package/dist/stzh-components/p-4453449f.entry.js +1 -0
- package/dist/stzh-components/{p-d54ff4d4.system.entry.js → p-47175c6f.system.entry.js} +1 -1
- package/dist/stzh-components/p-5b85324c.entry.js +1 -0
- package/dist/stzh-components/{p-484a366f.system.js → p-5db542ae.system.js} +1 -1
- package/dist/stzh-components/p-62791751.entry.js +1 -0
- package/dist/stzh-components/p-660125e0.system.entry.js +1 -0
- package/dist/stzh-components/{p-65918f6f.system.js → p-6932ce19.system.js} +1 -1
- package/dist/stzh-components/{p-f3276ca5.system.entry.js → p-6a109ce9.system.entry.js} +1 -1
- package/dist/stzh-components/p-6c73f6ad.entry.js +1 -0
- package/dist/stzh-components/{p-02d51685.entry.js → p-6ee87986.entry.js} +1 -1
- package/dist/stzh-components/{p-d9ae09b5.entry.js → p-7bb82e56.entry.js} +1 -1
- package/dist/stzh-components/p-7d42654b.system.entry.js +1 -0
- package/dist/stzh-components/{p-b92734db.entry.js → p-7e9fa7f5.entry.js} +1 -1
- package/dist/stzh-components/p-8c141cae.system.entry.js +1 -0
- package/dist/stzh-components/p-907f59dd.entry.js +1 -0
- package/dist/stzh-components/{p-6adc5f0c.system.entry.js → p-95bfbf67.system.entry.js} +1 -1
- package/dist/stzh-components/{p-c9c7d88a.entry.js → p-a47e205f.entry.js} +1 -1
- package/dist/stzh-components/p-aa2c81e6.system.entry.js +3 -0
- package/dist/stzh-components/{p-89bd0d46.entry.js → p-aa4f87cc.entry.js} +1 -1
- package/dist/stzh-components/p-af9aac53.entry.js +3 -0
- package/dist/stzh-components/{p-24b8df26.js → p-b10682ee.js} +1 -1
- package/dist/stzh-components/p-b9b1b7cf.entry.js +1 -0
- package/dist/stzh-components/p-c9940c35.entry.js +1 -0
- package/dist/stzh-components/{p-7e4261ce.system.entry.js → p-d5514e5b.system.entry.js} +1 -1
- package/dist/stzh-components/{p-a32ae73a.system.entry.js → p-d5948025.system.entry.js} +1 -1
- package/dist/stzh-components/{p-2b67b0b3.system.entry.js → p-d95b44c6.system.entry.js} +1 -1
- package/dist/stzh-components/p-ddcec4e1.system.entry.js +1 -0
- package/dist/stzh-components/{p-444b2baf.entry.js → p-e085a0a0.entry.js} +1 -1
- package/dist/stzh-components/{p-d943e02c.system.entry.js → p-e09ac5e3.system.entry.js} +1 -1
- package/dist/stzh-components/p-e4aa12ba.system.entry.js +1 -0
- package/dist/stzh-components/{p-af67ea5e.entry.js → p-f4c0d928.entry.js} +1 -1
- package/dist/stzh-components/p-f725921a.entry.js +1 -0
- package/dist/stzh-components/stzh-components.css +1 -1
- package/dist/stzh-components/stzh-components.esm.js +1 -1
- package/dist/stzh-components/stzh-components.js +1 -1
- package/dist/types/components.d.ts +33 -1
- package/dist/types/utils/translation-utils.d.ts +2 -0
- package/dist/vscode-data.json +16 -16
- package/package.json +4 -4
- package/dist/esm-es5/_commonjsHelpers-f9dc4873.js +0 -1
- package/dist/esm-es5/app-globals-b848652e.js +0 -1
- package/dist/stzh-components/p-16c0b9ae.entry.js +0 -3
- package/dist/stzh-components/p-1d435dd8.system.entry.js +0 -1
- package/dist/stzh-components/p-1f74846f.entry.js +0 -1
- package/dist/stzh-components/p-29e9ad9f.system.entry.js +0 -1
- package/dist/stzh-components/p-30a9de85.system.entry.js +0 -1
- package/dist/stzh-components/p-4c60da30.entry.js +0 -1
- package/dist/stzh-components/p-532b4218.entry.js +0 -1
- package/dist/stzh-components/p-798ac79c.entry.js +0 -1
- package/dist/stzh-components/p-84a6e023.system.entry.js +0 -1
- package/dist/stzh-components/p-8caafed2.system.entry.js +0 -1
- package/dist/stzh-components/p-94662bed.system.js +0 -1
- package/dist/stzh-components/p-99b82949.entry.js +0 -1
- package/dist/stzh-components/p-9c90535a.system.js +0 -1
- package/dist/stzh-components/p-9de8b25b.entry.js +0 -1
- package/dist/stzh-components/p-a691fe87.js +0 -1
- package/dist/stzh-components/p-a6d4a8b1.js +0 -1
- package/dist/stzh-components/p-b04a9d0f.system.entry.js +0 -1
- package/dist/stzh-components/p-b422041d.entry.js +0 -1
- package/dist/stzh-components/p-cc722b35.system.entry.js +0 -3
- package/dist/stzh-components/p-db306e24.entry.js +0 -1
- package/dist/stzh-components/p-ee4b939a.entry.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
var __awaiter=this&&this.__awaiter||function(r,o,a,t){function n(r){return r instanceof a?r:new a((function(o){o(r)}))}return new(a||(a=Promise))((function(a,e){function b(r){try{g(t.next(r))}catch(o){e(o)}}function i(r){try{g(t["throw"](r))}catch(o){e(o)}}function g(r){r.done?a(r.value):n(r.value).then(b,i)}g((t=t.apply(r,o||[])).next())}))};var __generator=this&&this.__generator||function(r,o){var a={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},t,n,e,b;return b={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(b[Symbol.iterator]=function(){return this}),b;function i(r){return function(o){return g([r,o])}}function g(i){if(t)throw new TypeError("Generator is already executing.");while(b&&(b=0,i[0]&&(a=0)),a)try{if(t=1,n&&(e=i[0]&2?n["return"]:i[0]?n["throw"]||((e=n["return"])&&e.call(n),0):n.next)&&!(e=e.call(n,i[1])).done)return e;if(n=0,e)i=[i[0]&2,e.value];switch(i[0]){case 0:case 1:e=i;break;case 4:a.label++;return{value:i[1],done:false};case 5:a.label++;n=i[1];i=[0];continue;case 7:i=a.ops.pop();a.trys.pop();continue;default:if(!(e=a.trys,e=e.length>0&&e[e.length-1])&&(i[0]===6||i[0]===2)){a=0;continue}if(i[0]===3&&(!e||i[1]>e[0]&&i[1]<e[3])){a.label=i[1];break}if(i[0]===6&&a.label<e[1]){a.label=e[1];e=i;break}if(e&&a.label<e[2]){a.label=e[2];a.ops.push(i);break}if(e[2])a.ops.pop();a.trys.pop();continue}i=o.call(r,a)}catch(g){i=[6,g];n=0}finally{t=e=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js","./p-9c90535a.system.js"],(function(r){"use strict";var o,a,t,n,e,b,i;return{setters:[function(r){o=r.r;a=r.e;t=r.h;n=r.c;e=r.g},function(r){b=r.c;i=r.b}],execute:function(){var g=b((function(r,o){(function(o,a){r.exports=a()})(i,(function(){var r=/^\s+/;var o=/\s+$/;function a(r,o){r=r?r:"";o=o||{};if(r instanceof a){return r}if(!(this instanceof a)){return new a(r,o)}var n=t(r);this._originalInput=r,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=o.format||n.format;this._gradientType=o.gradientType;if(this._r<1)this._r=Math.round(this._r);if(this._g<1)this._g=Math.round(this._g);if(this._b<1)this._b=Math.round(this._b);this._ok=n.ok}a.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(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb();var o,a,t,n,e,b;o=r.r/255;a=r.g/255;t=r.b/255;if(o<=.03928)n=o/12.92;else n=Math.pow((o+.055)/1.055,2.4);if(a<=.03928)e=a/12.92;else e=Math.pow((a+.055)/1.055,2.4);if(t<=.03928)b=t/12.92;else b=Math.pow((t+.055)/1.055,2.4);return.2126*n+.7152*e+.0722*b},setAlpha:function(r){this._a=S(r);this._roundA=Math.round(100*this._a)/100;return this},toHsv:function(){var r=i(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=i(this._r,this._g,this._b);var o=Math.round(r.h*360),a=Math.round(r.s*100),t=Math.round(r.v*100);return this._a==1?"hsv("+o+", "+a+"%, "+t+"%)":"hsva("+o+", "+a+"%, "+t+"%, "+this._roundA+")"},toHsl:function(){var r=e(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=e(this._r,this._g,this._b);var o=Math.round(r.h*360),a=Math.round(r.s*100),t=Math.round(r.l*100);return this._a==1?"hsl("+o+", "+a+"%, "+t+"%)":"hsla("+o+", "+a+"%, "+t+"%, "+this._roundA+")"},toHex:function(r){return c(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return l(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(N(this._r,255)*100)+"%",g:Math.round(N(this._g,255)*100)+"%",b:Math.round(N(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(N(this._r,255)*100)+"%, "+Math.round(N(this._g,255)*100)+"%, "+Math.round(N(this._b,255)*100)+"%)":"rgba("+Math.round(N(this._r,255)*100)+"%, "+Math.round(N(this._g,255)*100)+"%, "+Math.round(N(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){if(this._a===0){return"transparent"}if(this._a<1){return false}return M[c(this._r,this._g,this._b,true)]||false},toFilter:function(r){var o="#"+u(this._r,this._g,this._b,this._a);var t=o;var n=this._gradientType?"GradientType = 1, ":"";if(r){var e=a(r);t="#"+u(e._r,e._g,e._b,e._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+o+",endColorstr="+t+")"},toString:function(r){var o=!!r;r=r||this._format;var a=false;var t=this._a<1&&this._a>=0;var n=!o&&t&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");if(n){if(r==="name"&&this._a===0){return this.toName()}return this.toRgbString()}if(r==="rgb"){a=this.toRgbString()}if(r==="prgb"){a=this.toPercentageRgbString()}if(r==="hex"||r==="hex6"){a=this.toHexString()}if(r==="hex3"){a=this.toHexString(true)}if(r==="hex4"){a=this.toHex8String(true)}if(r==="hex8"){a=this.toHex8String()}if(r==="name"){a=this.toName()}if(r==="hsl"){a=this.toHslString()}if(r==="hsv"){a=this.toHsvString()}return a||this.toHexString()},clone:function(){return a(this.toString())},_applyModification:function(r,o){var a=r.apply(null,[this].concat([].slice.call(o)));this._r=a._r;this._g=a._g;this._b=a._b;this.setAlpha(a._a);return this},lighten:function(){return this._applyModification(d,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(s,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(f,arguments)},spin:function(){return this._applyModification(p,arguments)},_applyCombination:function(r,o){return r.apply(null,[this].concat([].slice.call(o)))},analogous:function(){return this._applyCombination(y,arguments)},complement:function(){return this._applyCombination(m,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(z,arguments)},triad:function(){return this._applyCombination(_,[3])},tetrad:function(){return this._applyCombination(_,[4])}};a.fromRatio=function(r,o){if(typeof r=="object"){var t={};for(var n in r){if(r.hasOwnProperty(n)){if(n==="a"){t[n]=r[n]}else{t[n]=j(r[n])}}}r=t}return a(r,o)};function t(r){var o={r:0,g:0,b:0};var a=1;var t=null;var e=null;var i=null;var c=false;var l=false;if(typeof r=="string"){r=L(r)}if(typeof r=="object"){if(I(r.r)&&I(r.g)&&I(r.b)){o=n(r.r,r.g,r.b);c=true;l=String(r.r).substr(-1)==="%"?"prgb":"rgb"}else if(I(r.h)&&I(r.s)&&I(r.v)){t=j(r.s);e=j(r.v);o=g(r.h,t,e);c=true;l="hsv"}else if(I(r.h)&&I(r.s)&&I(r.l)){t=j(r.s);i=j(r.l);o=b(r.h,t,i);c=true;l="hsl"}if(r.hasOwnProperty("a")){a=r.a}}a=S(a);return{ok:c,format:r.format||l,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:a}}function n(r,o,a){return{r:N(r,255)*255,g:N(o,255)*255,b:N(a,255)*255}}function e(r,o,a){r=N(r,255);o=N(o,255);a=N(a,255);var t=Math.max(r,o,a),n=Math.min(r,o,a);var e,b,i=(t+n)/2;if(t==n){e=b=0}else{var g=t-n;b=i>.5?g/(2-t-n):g/(t+n);switch(t){case r:e=(o-a)/g+(o<a?6:0);break;case o:e=(a-r)/g+2;break;case a:e=(r-o)/g+4;break}e/=6}return{h:e,s:b,l:i}}function b(r,o,a){var t,n,e;r=N(r,360);o=N(o,100);a=N(a,100);function b(r,o,a){if(a<0)a+=1;if(a>1)a-=1;if(a<1/6)return r+(o-r)*6*a;if(a<1/2)return o;if(a<2/3)return r+(o-r)*(2/3-a)*6;return r}if(o===0){t=n=e=a}else{var i=a<.5?a*(1+o):a+o-a*o;var g=2*a-i;t=b(g,i,r+1/3);n=b(g,i,r);e=b(g,i,r-1/3)}return{r:t*255,g:n*255,b:e*255}}function i(r,o,a){r=N(r,255);o=N(o,255);a=N(a,255);var t=Math.max(r,o,a),n=Math.min(r,o,a);var e,b,i=t;var g=t-n;b=t===0?0:g/t;if(t==n){e=0}else{switch(t){case r:e=(o-a)/g+(o<a?6:0);break;case o:e=(a-r)/g+2;break;case a:e=(r-o)/g+4;break}e/=6}return{h:e,s:b,v:i}}function g(r,o,a){r=N(r,360)*6;o=N(o,100);a=N(a,100);var t=Math.floor(r),n=r-t,e=a*(1-o),b=a*(1-n*o),i=a*(1-(1-n)*o),g=t%6,c=[a,b,e,e,i,a][g],l=[i,a,a,b,e,e][g],u=[e,e,i,a,a,b][g];return{r:c*255,g:l*255,b:u*255}}function c(r,o,a,t){var n=[E(Math.round(r).toString(16)),E(Math.round(o).toString(16)),E(Math.round(a).toString(16))];if(t&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)){return n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)}return n.join("")}function l(r,o,a,t,n){var e=[E(Math.round(r).toString(16)),E(Math.round(o).toString(16)),E(Math.round(a).toString(16)),E(q(t))];if(n&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)&&e[3].charAt(0)==e[3].charAt(1)){return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0)+e[3].charAt(0)}return e.join("")}function u(r,o,a,t){var n=[E(q(t)),E(Math.round(r).toString(16)),E(Math.round(o).toString(16)),E(Math.round(a).toString(16))];return n.join("")}a.equals=function(r,o){if(!r||!o)return false;return a(r).toRgbString()==a(o).toRgbString()};a.random=function(){return a.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function s(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.s-=o/100;t.s=F(t.s);return a(t)}function h(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.s+=o/100;t.s=F(t.s);return a(t)}function f(r){return a(r).desaturate(100)}function d(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.l+=o/100;t.l=F(t.l);return a(t)}function v(r,o){o=o===0?0:o||10;var t=a(r).toRgb();t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(o/100))));t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(o/100))));t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(o/100))));return a(t)}function k(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.l-=o/100;t.l=F(t.l);return a(t)}function p(r,o){var t=a(r).toHsl();var n=(t.h+o)%360;t.h=n<0?360+n:n;return a(t)}function m(r){var o=a(r).toHsl();o.h=(o.h+180)%360;return a(o)}function _(r,o){if(isNaN(o)||o<=0){throw new Error("Argument to polyad must be a positive number")}var t=a(r).toHsl();var n=[a(r)];var e=360/o;for(var b=1;b<o;b++){n.push(a({h:(t.h+b*e)%360,s:t.s,l:t.l}))}return n}function z(r){var o=a(r).toHsl();var t=o.h;return[a(r),a({h:(t+72)%360,s:o.s,l:o.l}),a({h:(t+216)%360,s:o.s,l:o.l})]}function y(r,o,t){o=o||6;t=t||30;var n=a(r).toHsl();var e=360/t;var b=[a(r)];for(n.h=(n.h-(e*o>>1)+720)%360;--o;){n.h=(n.h+e)%360;b.push(a(n))}return b}function x(r,o){o=o||6;var t=a(r).toHsv();var n=t.h,e=t.s,b=t.v;var i=[];var g=1/o;while(o--){i.push(a({h:n,s:e,v:b}));b=(b+g)%1}return i}a.mix=function(r,o,t){t=t===0?0:t||50;var n=a(r).toRgb();var e=a(o).toRgb();var b=t/100;var i={r:(e.r-n.r)*b+n.r,g:(e.g-n.g)*b+n.g,b:(e.b-n.b)*b+n.b,a:(e.a-n.a)*b+n.a};return a(i)};a.readability=function(r,o){var t=a(r);var n=a(o);return(Math.max(t.getLuminance(),n.getLuminance())+.05)/(Math.min(t.getLuminance(),n.getLuminance())+.05)};a.isReadable=function(r,o,t){var n=a.readability(r,o);var e,b;b=false;e=T(t);switch(e.level+e.size){case"AAsmall":case"AAAlarge":b=n>=4.5;break;case"AAlarge":b=n>=3;break;case"AAAsmall":b=n>=7;break}return b};a.mostReadable=function(r,o,t){var n=null;var e=0;var b;var i,g,c;t=t||{};i=t.includeFallbackColors;g=t.level;c=t.size;for(var l=0;l<o.length;l++){b=a.readability(r,o[l]);if(b>e){e=b;n=a(o[l])}}if(a.isReadable(r,n,{level:g,size:c})||!i){return n}else{t.includeFallbackColors=false;return a.mostReadable(r,["#fff","#000"],t)}};var w=a.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"};var M=a.hexNames=A(w);function A(r){var o={};for(var a in r){if(r.hasOwnProperty(a)){o[r[a]]=a}}return o}function S(r){r=parseFloat(r);if(isNaN(r)||r<0||r>1){r=1}return r}function N(r,o){if(H(r))r="100%";var a=C(r);r=Math.min(o,Math.max(0,parseFloat(r)));if(a){r=parseInt(r*o,10)/100}if(Math.abs(r-o)<1e-6){return 1}return r%o/parseFloat(o)}function F(r){return Math.min(1,Math.max(0,r))}function R(r){return parseInt(r,16)}function H(r){return typeof r=="string"&&r.indexOf(".")!=-1&&parseFloat(r)===1}function C(r){return typeof r==="string"&&r.indexOf("%")!=-1}function E(r){return r.length==1?"0"+r:""+r}function j(r){if(r<=1){r=r*100+"%"}return r}function q(r){return Math.round(parseFloat(r)*255).toString(16)}function B(r){return R(r)/255}var P=function(){var r="[-\\+]?\\d+%?";var o="[-\\+]?\\d*\\.\\d+%?";var a="(?:"+o+")|(?:"+r+")";var t="[\\s|\\(]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")\\s*\\)?";var n="[\\s|\\(]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")\\s*\\)?";return{CSS_UNIT:new RegExp(a),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),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 I(r){return!!P.CSS_UNIT.exec(r)}function L(a){a=a.replace(r,"").replace(o,"").toLowerCase();var t=false;if(w[a]){a=w[a];t=true}else if(a=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var n;if(n=P.rgb.exec(a)){return{r:n[1],g:n[2],b:n[3]}}if(n=P.rgba.exec(a)){return{r:n[1],g:n[2],b:n[3],a:n[4]}}if(n=P.hsl.exec(a)){return{h:n[1],s:n[2],l:n[3]}}if(n=P.hsla.exec(a)){return{h:n[1],s:n[2],l:n[3],a:n[4]}}if(n=P.hsv.exec(a)){return{h:n[1],s:n[2],v:n[3]}}if(n=P.hsva.exec(a)){return{h:n[1],s:n[2],v:n[3],a:n[4]}}if(n=P.hex8.exec(a)){return{r:R(n[1]),g:R(n[2]),b:R(n[3]),a:B(n[4]),format:t?"name":"hex8"}}if(n=P.hex6.exec(a)){return{r:R(n[1]),g:R(n[2]),b:R(n[3]),format:t?"name":"hex"}}if(n=P.hex4.exec(a)){return{r:R(n[1]+""+n[1]),g:R(n[2]+""+n[2]),b:R(n[3]+""+n[3]),a:B(n[4]+""+n[4]),format:t?"name":"hex8"}}if(n=P.hex3.exec(a)){return{r:R(n[1]+""+n[1]),g:R(n[2]+""+n[2]),b:R(n[3]+""+n[3]),format:t?"name":"hex"}}return false}function T(r){var o,a;r=r||{level:"AA",size:"small"};o=(r.level||"AA").toUpperCase();a=(r.size||"small").toLowerCase();if(o!=="AA"&&o!=="AAA"){o="AA"}if(a!=="small"&&a!=="large"){a="small"}return{level:o,size:a}}return a}))}));var c={color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"};var l={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var u={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var s={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var h={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var f={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var d={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var v={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var k={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var p={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var m={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var _={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var z={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var y={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var x={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var w={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var M={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var A={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var S={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var N={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var F={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var R={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var H={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var C={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var E={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var j={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var q={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var B={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var P={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var I={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var L={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var T={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var O={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var $={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var D={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var U={color:"rgb(255, 255, 255)",background:"rgb(93, 165, 38)"};var G={color:"rgb(255, 255, 255)",background:"rgb(111, 132, 191)"};var V={color:"rgb(255, 255, 255)",background:"rgb(243, 96, 76)"};var X={color:"rgb(255, 255, 255)",background:"rgb(27, 136, 164)"};var J={color:"rgb(255, 255, 255)",background:"rgb(70, 51, 120)"};var K={color:"rgb(0, 0, 0)",background:"rgb(255, 162, 1)"};var Q={color:"rgb(255, 255, 255)",background:"rgb(47, 20, 97)"};var W={color:"rgb(255, 255, 255)",background:"rgb(35, 156, 54)"};var Y={color:"rgb(0, 0, 0)",background:"rgb(255, 177, 55)"};var Z={color:"rgb(255, 255, 255)",background:"rgb(130, 118, 170)"};var rr={color:"rgb(255, 255, 255)",background:"rgb(97, 55, 23)"};var or={color:"rgb(255, 255, 255)",background:"rgb(198, 165, 126)"};var ar={color:"rgb(255, 255, 255)",background:"rgb(130, 187, 162)"};var tr={color:"rgb(255, 255, 255)",background:"rgb(235, 60, 46)"};var nr={color:"rgb(255, 255, 255)",background:"rgb(245, 130, 32)"};var er={color:"rgb(255, 255, 255)",background:"rgb(240, 91, 148)"};var br={color:"rgb(255, 255, 255)",background:"rgb(121, 156, 205)"};var ir={color:"rgb(255, 255, 255)",background:"rgb(115, 178, 75)"};var gr={color:"rgb(255, 255, 255)",background:"rgb(148, 102, 68)"};var cr={color:"rgb(255, 255, 255)",background:"rgb(180, 30, 142)"};var lr={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:c,N:l,N1:u,N2:s,N4:h,N5:f,N6:d,N7:v,N8:k,N9:p,N10:m,N11:_,N12:z,N13:y,N14:x,N15:w,N16:M,N17:A,N18:S,N19:N,N30:F,N31:R,N32:H,N33:C,N34:E,N45:j,N72:q,N78:B,SN1:P,SN4:I,SN5:L,SN6:T,SN7:O,SN8:$,SN9:D,S2:U,S3:G,S4:V,S5:X,S6:J,S7:K,S8:Q,S9:W,S10:Y,S11:Z,S14:rr,S15:or,S16:ar,S18:tr,S19:nr,S20:er,S21:br,S23:ir,S24:gr,S25:cr};var ur='.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)}';var sr=r("stzh_vbz_linechip",function(){function r(r){var t=this;o(this,r);this.stzhFocus=a(this,"stzhFocus",7);this.stzhBlur=a(this,"stzhBlur",7);this.onFocus=function(r){var o=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});t.element.dispatchEvent(o);t.stzhFocus.emit({component:"stzh-vbz-linechip",originalEvent:r})};this.onBlur=function(r){var o=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});t.element.dispatchEvent(o);t.stzhBlur.emit({component:"stzh-vbz-linechip",originalEvent:r})};this.line=undefined;this.active=false;this.alert=false;this.global=false}r.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.chip.focus();return[2]}))}))};r.prototype.render=function(){var r;var o=this;var a=lr[this.line]||{};var e={color:this.global?"rgb(0, 0, 0)":a.color||"rgb(255, 255, 255)",background:this.global?"rgb(228, 105, 76)":a.background||"rgb(0, 0, 0)"};var b=g(e.background);var i=b.getBrightness()<50;var c=(r={"stzh-vbz-linechip":true,"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":i,"stzh-vbz-linechip--bg-white":e.background==="rgb(255, 255, 255)"},r["stzh-vbz-linechip--line-".concat(this.line)]=!!this.line,r);var l=a.comment||"";return t(n,null,t("button",{ref:function(r){return o.chip=r},class:c,style:e,title:l,onFocus:this.onFocus,onBlur:this.onBlur},this.global?t("stzh-icon",{name:"important-warning",class:"stzh-vbz-linechip__global-icon"}):t("div",{class:"stzh-vbz-linechip__text"},this.line),this.alert&&t("div",{class:"stzh-vbz-linechip__alert"},t("stzh-icon",{name:"warning-big",class:"stzh-vbz-linechip__alert-icon"}))))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return r}());sr.style=ur}}}));
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(r,o,a,t){function n(r){return r instanceof a?r:new a((function(o){o(r)}))}return new(a||(a=Promise))((function(a,e){function b(r){try{g(t.next(r))}catch(o){e(o)}}function i(r){try{g(t["throw"](r))}catch(o){e(o)}}function g(r){r.done?a(r.value):n(r.value).then(b,i)}g((t=t.apply(r,o||[])).next())}))};var __generator=this&&this.__generator||function(r,o){var a={label:0,sent:function(){if(e[0]&1)throw e[1];return e[1]},trys:[],ops:[]},t,n,e,b;return b={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(b[Symbol.iterator]=function(){return this}),b;function i(r){return function(o){return g([r,o])}}function g(i){if(t)throw new TypeError("Generator is already executing.");while(b&&(b=0,i[0]&&(a=0)),a)try{if(t=1,n&&(e=i[0]&2?n["return"]:i[0]?n["throw"]||((e=n["return"])&&e.call(n),0):n.next)&&!(e=e.call(n,i[1])).done)return e;if(n=0,e)i=[i[0]&2,e.value];switch(i[0]){case 0:case 1:e=i;break;case 4:a.label++;return{value:i[1],done:false};case 5:a.label++;n=i[1];i=[0];continue;case 7:i=a.ops.pop();a.trys.pop();continue;default:if(!(e=a.trys,e=e.length>0&&e[e.length-1])&&(i[0]===6||i[0]===2)){a=0;continue}if(i[0]===3&&(!e||i[1]>e[0]&&i[1]<e[3])){a.label=i[1];break}if(i[0]===6&&a.label<e[1]){a.label=e[1];e=i;break}if(e&&a.label<e[2]){a.label=e[2];a.ops.push(i);break}if(e[2])a.ops.pop();a.trys.pop();continue}i=o.call(r,a)}catch(g){i=[6,g];n=0}finally{t=e=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./p-36e72c1d.system.js","./p-3a73b8b5.system.js"],(function(r){"use strict";var o,a,t,n,e,b,i;return{setters:[function(r){o=r.r;a=r.e;t=r.h;n=r.c;e=r.g},function(r){b=r.c;i=r.a}],execute:function(){var g=b((function(r,o){(function(o,a){r.exports=a()})(i,(function(){var r=/^\s+/;var o=/\s+$/;function a(r,o){r=r?r:"";o=o||{};if(r instanceof a){return r}if(!(this instanceof a)){return new a(r,o)}var n=t(r);this._originalInput=r,this._r=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=Math.round(100*this._a)/100,this._format=o.format||n.format;this._gradientType=o.gradientType;if(this._r<1)this._r=Math.round(this._r);if(this._g<1)this._g=Math.round(this._g);if(this._b<1)this._b=Math.round(this._b);this._ok=n.ok}a.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(r.r*299+r.g*587+r.b*114)/1e3},getLuminance:function(){var r=this.toRgb();var o,a,t,n,e,b;o=r.r/255;a=r.g/255;t=r.b/255;if(o<=.03928)n=o/12.92;else n=Math.pow((o+.055)/1.055,2.4);if(a<=.03928)e=a/12.92;else e=Math.pow((a+.055)/1.055,2.4);if(t<=.03928)b=t/12.92;else b=Math.pow((t+.055)/1.055,2.4);return.2126*n+.7152*e+.0722*b},setAlpha:function(r){this._a=S(r);this._roundA=Math.round(100*this._a)/100;return this},toHsv:function(){var r=i(this._r,this._g,this._b);return{h:r.h*360,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=i(this._r,this._g,this._b);var o=Math.round(r.h*360),a=Math.round(r.s*100),t=Math.round(r.v*100);return this._a==1?"hsv("+o+", "+a+"%, "+t+"%)":"hsva("+o+", "+a+"%, "+t+"%, "+this._roundA+")"},toHsl:function(){var r=e(this._r,this._g,this._b);return{h:r.h*360,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=e(this._r,this._g,this._b);var o=Math.round(r.h*360),a=Math.round(r.s*100),t=Math.round(r.l*100);return this._a==1?"hsl("+o+", "+a+"%, "+t+"%)":"hsla("+o+", "+a+"%, "+t+"%, "+this._roundA+")"},toHex:function(r){return c(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return l(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(N(this._r,255)*100)+"%",g:Math.round(N(this._g,255)*100)+"%",b:Math.round(N(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+Math.round(N(this._r,255)*100)+"%, "+Math.round(N(this._g,255)*100)+"%, "+Math.round(N(this._b,255)*100)+"%)":"rgba("+Math.round(N(this._r,255)*100)+"%, "+Math.round(N(this._g,255)*100)+"%, "+Math.round(N(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){if(this._a===0){return"transparent"}if(this._a<1){return false}return M[c(this._r,this._g,this._b,true)]||false},toFilter:function(r){var o="#"+u(this._r,this._g,this._b,this._a);var t=o;var n=this._gradientType?"GradientType = 1, ":"";if(r){var e=a(r);t="#"+u(e._r,e._g,e._b,e._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+o+",endColorstr="+t+")"},toString:function(r){var o=!!r;r=r||this._format;var a=false;var t=this._a<1&&this._a>=0;var n=!o&&t&&(r==="hex"||r==="hex6"||r==="hex3"||r==="hex4"||r==="hex8"||r==="name");if(n){if(r==="name"&&this._a===0){return this.toName()}return this.toRgbString()}if(r==="rgb"){a=this.toRgbString()}if(r==="prgb"){a=this.toPercentageRgbString()}if(r==="hex"||r==="hex6"){a=this.toHexString()}if(r==="hex3"){a=this.toHexString(true)}if(r==="hex4"){a=this.toHex8String(true)}if(r==="hex8"){a=this.toHex8String()}if(r==="name"){a=this.toName()}if(r==="hsl"){a=this.toHslString()}if(r==="hsv"){a=this.toHsvString()}return a||this.toHexString()},clone:function(){return a(this.toString())},_applyModification:function(r,o){var a=r.apply(null,[this].concat([].slice.call(o)));this._r=a._r;this._g=a._g;this._b=a._b;this.setAlpha(a._a);return this},lighten:function(){return this._applyModification(d,arguments)},brighten:function(){return this._applyModification(v,arguments)},darken:function(){return this._applyModification(k,arguments)},desaturate:function(){return this._applyModification(s,arguments)},saturate:function(){return this._applyModification(h,arguments)},greyscale:function(){return this._applyModification(f,arguments)},spin:function(){return this._applyModification(p,arguments)},_applyCombination:function(r,o){return r.apply(null,[this].concat([].slice.call(o)))},analogous:function(){return this._applyCombination(y,arguments)},complement:function(){return this._applyCombination(m,arguments)},monochromatic:function(){return this._applyCombination(x,arguments)},splitcomplement:function(){return this._applyCombination(z,arguments)},triad:function(){return this._applyCombination(_,[3])},tetrad:function(){return this._applyCombination(_,[4])}};a.fromRatio=function(r,o){if(typeof r=="object"){var t={};for(var n in r){if(r.hasOwnProperty(n)){if(n==="a"){t[n]=r[n]}else{t[n]=j(r[n])}}}r=t}return a(r,o)};function t(r){var o={r:0,g:0,b:0};var a=1;var t=null;var e=null;var i=null;var c=false;var l=false;if(typeof r=="string"){r=L(r)}if(typeof r=="object"){if(I(r.r)&&I(r.g)&&I(r.b)){o=n(r.r,r.g,r.b);c=true;l=String(r.r).substr(-1)==="%"?"prgb":"rgb"}else if(I(r.h)&&I(r.s)&&I(r.v)){t=j(r.s);e=j(r.v);o=g(r.h,t,e);c=true;l="hsv"}else if(I(r.h)&&I(r.s)&&I(r.l)){t=j(r.s);i=j(r.l);o=b(r.h,t,i);c=true;l="hsl"}if(r.hasOwnProperty("a")){a=r.a}}a=S(a);return{ok:c,format:r.format||l,r:Math.min(255,Math.max(o.r,0)),g:Math.min(255,Math.max(o.g,0)),b:Math.min(255,Math.max(o.b,0)),a:a}}function n(r,o,a){return{r:N(r,255)*255,g:N(o,255)*255,b:N(a,255)*255}}function e(r,o,a){r=N(r,255);o=N(o,255);a=N(a,255);var t=Math.max(r,o,a),n=Math.min(r,o,a);var e,b,i=(t+n)/2;if(t==n){e=b=0}else{var g=t-n;b=i>.5?g/(2-t-n):g/(t+n);switch(t){case r:e=(o-a)/g+(o<a?6:0);break;case o:e=(a-r)/g+2;break;case a:e=(r-o)/g+4;break}e/=6}return{h:e,s:b,l:i}}function b(r,o,a){var t,n,e;r=N(r,360);o=N(o,100);a=N(a,100);function b(r,o,a){if(a<0)a+=1;if(a>1)a-=1;if(a<1/6)return r+(o-r)*6*a;if(a<1/2)return o;if(a<2/3)return r+(o-r)*(2/3-a)*6;return r}if(o===0){t=n=e=a}else{var i=a<.5?a*(1+o):a+o-a*o;var g=2*a-i;t=b(g,i,r+1/3);n=b(g,i,r);e=b(g,i,r-1/3)}return{r:t*255,g:n*255,b:e*255}}function i(r,o,a){r=N(r,255);o=N(o,255);a=N(a,255);var t=Math.max(r,o,a),n=Math.min(r,o,a);var e,b,i=t;var g=t-n;b=t===0?0:g/t;if(t==n){e=0}else{switch(t){case r:e=(o-a)/g+(o<a?6:0);break;case o:e=(a-r)/g+2;break;case a:e=(r-o)/g+4;break}e/=6}return{h:e,s:b,v:i}}function g(r,o,a){r=N(r,360)*6;o=N(o,100);a=N(a,100);var t=Math.floor(r),n=r-t,e=a*(1-o),b=a*(1-n*o),i=a*(1-(1-n)*o),g=t%6,c=[a,b,e,e,i,a][g],l=[i,a,a,b,e,e][g],u=[e,e,i,a,a,b][g];return{r:c*255,g:l*255,b:u*255}}function c(r,o,a,t){var n=[E(Math.round(r).toString(16)),E(Math.round(o).toString(16)),E(Math.round(a).toString(16))];if(t&&n[0].charAt(0)==n[0].charAt(1)&&n[1].charAt(0)==n[1].charAt(1)&&n[2].charAt(0)==n[2].charAt(1)){return n[0].charAt(0)+n[1].charAt(0)+n[2].charAt(0)}return n.join("")}function l(r,o,a,t,n){var e=[E(Math.round(r).toString(16)),E(Math.round(o).toString(16)),E(Math.round(a).toString(16)),E(q(t))];if(n&&e[0].charAt(0)==e[0].charAt(1)&&e[1].charAt(0)==e[1].charAt(1)&&e[2].charAt(0)==e[2].charAt(1)&&e[3].charAt(0)==e[3].charAt(1)){return e[0].charAt(0)+e[1].charAt(0)+e[2].charAt(0)+e[3].charAt(0)}return e.join("")}function u(r,o,a,t){var n=[E(q(t)),E(Math.round(r).toString(16)),E(Math.round(o).toString(16)),E(Math.round(a).toString(16))];return n.join("")}a.equals=function(r,o){if(!r||!o)return false;return a(r).toRgbString()==a(o).toRgbString()};a.random=function(){return a.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})};function s(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.s-=o/100;t.s=F(t.s);return a(t)}function h(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.s+=o/100;t.s=F(t.s);return a(t)}function f(r){return a(r).desaturate(100)}function d(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.l+=o/100;t.l=F(t.l);return a(t)}function v(r,o){o=o===0?0:o||10;var t=a(r).toRgb();t.r=Math.max(0,Math.min(255,t.r-Math.round(255*-(o/100))));t.g=Math.max(0,Math.min(255,t.g-Math.round(255*-(o/100))));t.b=Math.max(0,Math.min(255,t.b-Math.round(255*-(o/100))));return a(t)}function k(r,o){o=o===0?0:o||10;var t=a(r).toHsl();t.l-=o/100;t.l=F(t.l);return a(t)}function p(r,o){var t=a(r).toHsl();var n=(t.h+o)%360;t.h=n<0?360+n:n;return a(t)}function m(r){var o=a(r).toHsl();o.h=(o.h+180)%360;return a(o)}function _(r,o){if(isNaN(o)||o<=0){throw new Error("Argument to polyad must be a positive number")}var t=a(r).toHsl();var n=[a(r)];var e=360/o;for(var b=1;b<o;b++){n.push(a({h:(t.h+b*e)%360,s:t.s,l:t.l}))}return n}function z(r){var o=a(r).toHsl();var t=o.h;return[a(r),a({h:(t+72)%360,s:o.s,l:o.l}),a({h:(t+216)%360,s:o.s,l:o.l})]}function y(r,o,t){o=o||6;t=t||30;var n=a(r).toHsl();var e=360/t;var b=[a(r)];for(n.h=(n.h-(e*o>>1)+720)%360;--o;){n.h=(n.h+e)%360;b.push(a(n))}return b}function x(r,o){o=o||6;var t=a(r).toHsv();var n=t.h,e=t.s,b=t.v;var i=[];var g=1/o;while(o--){i.push(a({h:n,s:e,v:b}));b=(b+g)%1}return i}a.mix=function(r,o,t){t=t===0?0:t||50;var n=a(r).toRgb();var e=a(o).toRgb();var b=t/100;var i={r:(e.r-n.r)*b+n.r,g:(e.g-n.g)*b+n.g,b:(e.b-n.b)*b+n.b,a:(e.a-n.a)*b+n.a};return a(i)};a.readability=function(r,o){var t=a(r);var n=a(o);return(Math.max(t.getLuminance(),n.getLuminance())+.05)/(Math.min(t.getLuminance(),n.getLuminance())+.05)};a.isReadable=function(r,o,t){var n=a.readability(r,o);var e,b;b=false;e=T(t);switch(e.level+e.size){case"AAsmall":case"AAAlarge":b=n>=4.5;break;case"AAlarge":b=n>=3;break;case"AAAsmall":b=n>=7;break}return b};a.mostReadable=function(r,o,t){var n=null;var e=0;var b;var i,g,c;t=t||{};i=t.includeFallbackColors;g=t.level;c=t.size;for(var l=0;l<o.length;l++){b=a.readability(r,o[l]);if(b>e){e=b;n=a(o[l])}}if(a.isReadable(r,n,{level:g,size:c})||!i){return n}else{t.includeFallbackColors=false;return a.mostReadable(r,["#fff","#000"],t)}};var w=a.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"};var M=a.hexNames=A(w);function A(r){var o={};for(var a in r){if(r.hasOwnProperty(a)){o[r[a]]=a}}return o}function S(r){r=parseFloat(r);if(isNaN(r)||r<0||r>1){r=1}return r}function N(r,o){if(H(r))r="100%";var a=C(r);r=Math.min(o,Math.max(0,parseFloat(r)));if(a){r=parseInt(r*o,10)/100}if(Math.abs(r-o)<1e-6){return 1}return r%o/parseFloat(o)}function F(r){return Math.min(1,Math.max(0,r))}function R(r){return parseInt(r,16)}function H(r){return typeof r=="string"&&r.indexOf(".")!=-1&&parseFloat(r)===1}function C(r){return typeof r==="string"&&r.indexOf("%")!=-1}function E(r){return r.length==1?"0"+r:""+r}function j(r){if(r<=1){r=r*100+"%"}return r}function q(r){return Math.round(parseFloat(r)*255).toString(16)}function B(r){return R(r)/255}var P=function(){var r="[-\\+]?\\d+%?";var o="[-\\+]?\\d*\\.\\d+%?";var a="(?:"+o+")|(?:"+r+")";var t="[\\s|\\(]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")\\s*\\)?";var n="[\\s|\\(]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")[,|\\s]+("+a+")\\s*\\)?";return{CSS_UNIT:new RegExp(a),rgb:new RegExp("rgb"+t),rgba:new RegExp("rgba"+n),hsl:new RegExp("hsl"+t),hsla:new RegExp("hsla"+n),hsv:new RegExp("hsv"+t),hsva:new RegExp("hsva"+n),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 I(r){return!!P.CSS_UNIT.exec(r)}function L(a){a=a.replace(r,"").replace(o,"").toLowerCase();var t=false;if(w[a]){a=w[a];t=true}else if(a=="transparent"){return{r:0,g:0,b:0,a:0,format:"name"}}var n;if(n=P.rgb.exec(a)){return{r:n[1],g:n[2],b:n[3]}}if(n=P.rgba.exec(a)){return{r:n[1],g:n[2],b:n[3],a:n[4]}}if(n=P.hsl.exec(a)){return{h:n[1],s:n[2],l:n[3]}}if(n=P.hsla.exec(a)){return{h:n[1],s:n[2],l:n[3],a:n[4]}}if(n=P.hsv.exec(a)){return{h:n[1],s:n[2],v:n[3]}}if(n=P.hsva.exec(a)){return{h:n[1],s:n[2],v:n[3],a:n[4]}}if(n=P.hex8.exec(a)){return{r:R(n[1]),g:R(n[2]),b:R(n[3]),a:B(n[4]),format:t?"name":"hex8"}}if(n=P.hex6.exec(a)){return{r:R(n[1]),g:R(n[2]),b:R(n[3]),format:t?"name":"hex"}}if(n=P.hex4.exec(a)){return{r:R(n[1]+""+n[1]),g:R(n[2]+""+n[2]),b:R(n[3]+""+n[3]),a:B(n[4]+""+n[4]),format:t?"name":"hex8"}}if(n=P.hex3.exec(a)){return{r:R(n[1]+""+n[1]),g:R(n[2]+""+n[2]),b:R(n[3]+""+n[3]),format:t?"name":"hex"}}return false}function T(r){var o,a;r=r||{level:"AA",size:"small"};o=(r.level||"AA").toUpperCase();a=(r.size||"small").toLowerCase();if(o!=="AA"&&o!=="AAA"){o="AA"}if(a!=="small"&&a!=="large"){a="small"}return{level:o,size:a}}return a}))}));var c={color:"rgb(0, 0, 0)",background:"rgb(255, 255, 255)"};var l={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var u={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var s={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var h={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var f={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var d={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var v={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var k={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var p={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var m={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var _={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var z={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var y={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var x={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var w={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var M={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var A={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var S={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var N={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var F={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var R={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var H={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var C={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var E={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var j={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var q={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var B={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var P={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var I={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var L={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var T={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var O={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var $={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var D={color:"rgb(255, 241, 0)",background:"rgb(0, 0, 0)"};var U={color:"rgb(255, 255, 255)",background:"rgb(93, 165, 38)"};var G={color:"rgb(255, 255, 255)",background:"rgb(111, 132, 191)"};var V={color:"rgb(255, 255, 255)",background:"rgb(243, 96, 76)"};var X={color:"rgb(255, 255, 255)",background:"rgb(27, 136, 164)"};var J={color:"rgb(255, 255, 255)",background:"rgb(70, 51, 120)"};var K={color:"rgb(0, 0, 0)",background:"rgb(255, 162, 1)"};var Q={color:"rgb(255, 255, 255)",background:"rgb(47, 20, 97)"};var W={color:"rgb(255, 255, 255)",background:"rgb(35, 156, 54)"};var Y={color:"rgb(0, 0, 0)",background:"rgb(255, 177, 55)"};var Z={color:"rgb(255, 255, 255)",background:"rgb(130, 118, 170)"};var rr={color:"rgb(255, 255, 255)",background:"rgb(97, 55, 23)"};var or={color:"rgb(255, 255, 255)",background:"rgb(198, 165, 126)"};var ar={color:"rgb(255, 255, 255)",background:"rgb(130, 187, 162)"};var tr={color:"rgb(255, 255, 255)",background:"rgb(235, 60, 46)"};var nr={color:"rgb(255, 255, 255)",background:"rgb(245, 130, 32)"};var er={color:"rgb(255, 255, 255)",background:"rgb(240, 91, 148)"};var br={color:"rgb(255, 255, 255)",background:"rgb(121, 156, 205)"};var ir={color:"rgb(255, 255, 255)",background:"rgb(115, 178, 75)"};var gr={color:"rgb(255, 255, 255)",background:"rgb(148, 102, 68)"};var cr={color:"rgb(255, 255, 255)",background:"rgb(180, 30, 142)"};var lr={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:c,N:l,N1:u,N2:s,N4:h,N5:f,N6:d,N7:v,N8:k,N9:p,N10:m,N11:_,N12:z,N13:y,N14:x,N15:w,N16:M,N17:A,N18:S,N19:N,N30:F,N31:R,N32:H,N33:C,N34:E,N45:j,N72:q,N78:B,SN1:P,SN4:I,SN5:L,SN6:T,SN7:O,SN8:$,SN9:D,S2:U,S3:G,S4:V,S5:X,S6:J,S7:K,S8:Q,S9:W,S10:Y,S11:Z,S14:rr,S15:or,S16:ar,S18:tr,S19:nr,S20:er,S21:br,S23:ir,S24:gr,S25:cr};var ur='.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)}';var sr=r("stzh_vbz_linechip",function(){function r(r){var t=this;o(this,r);this.stzhFocus=a(this,"stzhFocus",7);this.stzhBlur=a(this,"stzhBlur",7);this.onFocus=function(r){var o=new FocusEvent("focus",{view:window,bubbles:false,cancelable:false});t.element.dispatchEvent(o);t.stzhFocus.emit({component:"stzh-vbz-linechip",originalEvent:r})};this.onBlur=function(r){var o=new FocusEvent("blur",{view:window,bubbles:false,cancelable:false});t.element.dispatchEvent(o);t.stzhBlur.emit({component:"stzh-vbz-linechip",originalEvent:r})};this.line=undefined;this.active=false;this.alert=false;this.global=false}r.prototype.setFocus=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(r){this.chip.focus();return[2]}))}))};r.prototype.render=function(){var r;var o=this;var a=lr[this.line]||{};var e={color:this.global?"rgb(0, 0, 0)":a.color||"rgb(255, 255, 255)",background:this.global?"rgb(228, 105, 76)":a.background||"rgb(0, 0, 0)"};var b=g(e.background);var i=b.getBrightness()<50;var c=(r={"stzh-vbz-linechip":true,"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":i,"stzh-vbz-linechip--bg-white":e.background==="rgb(255, 255, 255)"},r["stzh-vbz-linechip--line-".concat(this.line)]=!!this.line,r);var l=a.comment||"";return t(n,null,t("button",{ref:function(r){return o.chip=r},class:c,style:e,title:l,onFocus:this.onFocus,onBlur:this.onBlur},this.global?t("stzh-icon",{name:"important-warning",class:"stzh-vbz-linechip__global-icon"}):t("div",{class:"stzh-vbz-linechip__text"},this.line),this.alert&&t("div",{class:"stzh-vbz-linechip__alert"},t("stzh-icon",{name:"warning-big",class:"stzh-vbz-linechip__alert-icon"}))))};Object.defineProperty(r.prototype,"element",{get:function(){return e(this)},enumerable:false,configurable:true});return r}());sr.style=ur}}}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r,e as o,h as b,c as n,g as t}from"./p-99a3742a.js";import{c as g,a}from"./p-3e8ff66b.js";var c=g((function(r){r.exports=function(){const r=/^\s+/,o=/\s+$/;function b(n,t){if(t=t||{},(n=n||"")instanceof b)return n;if(!(this instanceof b))return new b(n,t);var g=function(b){var n={r:0,g:0,b:0},t=1,g=null,a=null,c=null,e=!1,i=!1;return"string"==typeof b&&(b=function(b){b=b.replace(r,"").replace(o,"").toLowerCase();var n,t=!1;if(z[b])b=z[b],t=!0;else if("transparent"==b)return{r:0,g:0,b:0,a:0,format:"name"};return(n=q.rgb.exec(b))?{r:n[1],g:n[2],b:n[3]}:(n=q.rgba.exec(b))?{r:n[1],g:n[2],b:n[3],a:n[4]}:(n=q.hsl.exec(b))?{h:n[1],s:n[2],l:n[3]}:(n=q.hsla.exec(b))?{h:n[1],s:n[2],l:n[3],a:n[4]}:(n=q.hsv.exec(b))?{h:n[1],s:n[2],v:n[3]}:(n=q.hsva.exec(b))?{h:n[1],s:n[2],v:n[3],a:n[4]}:(n=q.hex8.exec(b))?{r:x(n[1]),g:x(n[2]),b:x(n[3]),a:F(n[4]),format:t?"name":"hex8"}:(n=q.hex6.exec(b))?{r:x(n[1]),g:x(n[2]),b:x(n[3]),format:t?"name":"hex"}:(n=q.hex4.exec(b))?{r:x(n[1]+""+n[1]),g:x(n[2]+""+n[2]),b:x(n[3]+""+n[3]),a:F(n[4]+""+n[4]),format:t?"name":"hex8"}:!!(n=q.hex3.exec(b))&&{r:x(n[1]+""+n[1]),g:x(n[2]+""+n[2]),b:x(n[3]+""+n[3]),format:t?"name":"hex"}}(b)),"object"==typeof b&&(H(b.r)&&H(b.g)&&H(b.b)?(l=b.r,s=b.g,h=b.b,n={r:255*y(l,255),g:255*y(s,255),b:255*y(h,255)},e=!0,i="%"===String(b.r).substr(-1)?"prgb":"rgb"):H(b.h)&&H(b.s)&&H(b.v)?(g=A(b.s),a=A(b.v),n=function(r,o,b){r=6*y(r,360),o=y(o,100),b=y(b,100);var n=Math.floor(r),t=r-n,g=b*(1-o),a=b*(1-t*o),c=b*(1-(1-t)*o),e=n%6;return{r:255*[b,a,g,g,c,b][e],g:255*[c,b,b,a,g,g][e],b:255*[g,g,c,b,b,a][e]}}(b.h,g,a),e=!0,i="hsv"):H(b.h)&&H(b.s)&&H(b.l)&&(g=A(b.s),c=A(b.l),n=function(r,o,b){var n,t,g;function a(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=y(r,360),o=y(o,100),b=y(b,100),0===o)n=t=g=b;else{var c=b<.5?b*(1+o):b+o-b*o,e=2*b-c;n=a(e,c,r+1/3),t=a(e,c,r),g=a(e,c,r-1/3)}return{r:255*n,g:255*t,b:255*g}}(b.h,g,c),e=!0,i="hsl"),b.hasOwnProperty("a")&&(t=b.a)),t=M(t),{ok:e,format:b.format||i,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:t};var l,s,h}(n);this._originalInput=n,this._r=g.r,this._g=g.g,this._b=g.b,this._a=g.a,this._roundA=Math.round(100*this._a)/100,this._format=t.format||g.format,this._gradientType=t.gradientType,this._r<1&&(this._r=Math.round(this._r)),this._g<1&&(this._g=Math.round(this._g)),this._b<1&&(this._b=Math.round(this._b)),this._ok=g.ok}function n(r,o,b){r=y(r,255),o=y(o,255),b=y(b,255);var n,t,g=Math.max(r,o,b),a=Math.min(r,o,b),c=(g+a)/2;if(g==a)n=t=0;else{var e=g-a;switch(t=c>.5?e/(2-g-a):e/(g+a),g){case r:n=(o-b)/e+(o<b?6:0);break;case o:n=(b-r)/e+2;break;case b:n=(r-o)/e+4}n/=6}return{h:n,s:t,l:c}}function t(r,o,b){r=y(r,255),o=y(o,255),b=y(b,255);var n,t,g=Math.max(r,o,b),a=Math.min(r,o,b),c=g,e=g-a;if(t=0===g?0:e/g,g==a)n=0;else{switch(g){case r:n=(o-b)/e+(o<b?6:0);break;case o:n=(b-r)/e+2;break;case b:n=(r-o)/e+4}n/=6}return{h:n,s:t,v:c}}function g(r,o,b,n){var t=[N(Math.round(r).toString(16)),N(Math.round(o).toString(16)),N(Math.round(b).toString(16))];return n&&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[0].charAt(0)+t[1].charAt(0)+t[2].charAt(0):t.join("")}function a(r,o,b,n){return[N(S(n)),N(Math.round(r).toString(16)),N(Math.round(o).toString(16)),N(Math.round(b).toString(16))].join("")}function c(r,o){o=0===o?0:o||10;var n=b(r).toHsl();return n.s-=o/100,n.s=w(n.s),b(n)}function e(r,o){o=0===o?0:o||10;var n=b(r).toHsl();return n.s+=o/100,n.s=w(n.s),b(n)}function i(r){return b(r).desaturate(100)}function l(r,o){o=0===o?0:o||10;var n=b(r).toHsl();return n.l+=o/100,n.l=w(n.l),b(n)}function s(r,o){o=0===o?0:o||10;var n=b(r).toRgb();return n.r=Math.max(0,Math.min(255,n.r-Math.round(-o/100*255))),n.g=Math.max(0,Math.min(255,n.g-Math.round(-o/100*255))),n.b=Math.max(0,Math.min(255,n.b-Math.round(-o/100*255))),b(n)}function h(r,o){o=0===o?0:o||10;var n=b(r).toHsl();return n.l-=o/100,n.l=w(n.l),b(n)}function u(r,o){var n=b(r).toHsl(),t=(n.h+o)%360;return n.h=t<0?360+t:t,b(n)}function d(r){var o=b(r).toHsl();return o.h=(o.h+180)%360,b(o)}function f(r,o){if(isNaN(o)||o<=0)throw new Error("Argument to polyad must be a positive number");for(var n=b(r).toHsl(),t=[b(r)],g=360/o,a=1;a<o;a++)t.push(b({h:(n.h+a*g)%360,s:n.s,l:n.l}));return t}function k(r){var o=b(r).toHsl(),n=o.h;return[b(r),b({h:(n+72)%360,s:o.s,l:o.l}),b({h:(n+216)%360,s:o.s,l:o.l})]}function v(r,o,n){o=o||6,n=n||30;var t=b(r).toHsl(),g=360/n,a=[b(r)];for(t.h=(t.h-(g*o>>1)+720)%360;--o;)t.h=(t.h+g)%360,a.push(b(t));return a}function p(r,o){o=o||6;for(var n=b(r).toHsv(),t=n.h,g=n.s,a=n.v,c=[],e=1/o;o--;)c.push(b({h:t,s:g,v:a})),a=(a+e)%1;return c}b.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,o,b,n=this.toRgb();return o=n.g/255,b=n.b/255,.2126*((r=n.r/255)<=.03928?r/12.92:Math.pow((r+.055)/1.055,2.4))+.7152*(o<=.03928?o/12.92:Math.pow((o+.055)/1.055,2.4))+.0722*(b<=.03928?b/12.92:Math.pow((b+.055)/1.055,2.4))},setAlpha:function(r){return this._a=M(r),this._roundA=Math.round(100*this._a)/100,this},toHsv:function(){var r=t(this._r,this._g,this._b);return{h:360*r.h,s:r.s,v:r.v,a:this._a}},toHsvString:function(){var r=t(this._r,this._g,this._b),o=Math.round(360*r.h),b=Math.round(100*r.s),n=Math.round(100*r.v);return 1==this._a?"hsv("+o+", "+b+"%, "+n+"%)":"hsva("+o+", "+b+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var r=n(this._r,this._g,this._b);return{h:360*r.h,s:r.s,l:r.l,a:this._a}},toHslString:function(){var r=n(this._r,this._g,this._b),o=Math.round(360*r.h),b=Math.round(100*r.s),t=Math.round(100*r.l);return 1==this._a?"hsl("+o+", "+b+"%, "+t+"%)":"hsla("+o+", "+b+"%, "+t+"%, "+this._roundA+")"},toHex:function(r){return g(this._r,this._g,this._b,r)},toHexString:function(r){return"#"+this.toHex(r)},toHex8:function(r){return function(r,o,b,n,t){var g=[N(Math.round(r).toString(16)),N(Math.round(o).toString(16)),N(Math.round(b).toString(16)),N(S(n))];return t&&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[3].charAt(0)==g[3].charAt(1)?g[0].charAt(0)+g[1].charAt(0)+g[2].charAt(0)+g[3].charAt(0):g.join("")}(this._r,this._g,this._b,this._a,r)},toHex8String:function(r){return"#"+this.toHex8(r)},toRgb:function(){return{r:Math.round(this._r),g:Math.round(this._g),b:Math.round(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+")":"rgba("+Math.round(this._r)+", "+Math.round(this._g)+", "+Math.round(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:Math.round(100*y(this._r,255))+"%",g:Math.round(100*y(this._g,255))+"%",b:Math.round(100*y(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+Math.round(100*y(this._r,255))+"%, "+Math.round(100*y(this._g,255))+"%, "+Math.round(100*y(this._b,255))+"%)":"rgba("+Math.round(100*y(this._r,255))+"%, "+Math.round(100*y(this._g,255))+"%, "+Math.round(100*y(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(m[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(r){var o="#"+a(this._r,this._g,this._b,this._a),n=o,t=this._gradientType?"GradientType = 1, ":"";if(r){var g=b(r);n="#"+a(g._r,g._g,g._b,g._a)}return"progid:DXImageTransform.Microsoft.gradient("+t+"startColorstr="+o+",endColorstr="+n+")"},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 b(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(l,arguments)},brighten:function(){return this._applyModification(s,arguments)},darken:function(){return this._applyModification(h,arguments)},desaturate:function(){return this._applyModification(c,arguments)},saturate:function(){return this._applyModification(e,arguments)},greyscale:function(){return this._applyModification(i,arguments)},spin:function(){return this._applyModification(u,arguments)},_applyCombination:function(r,o){return r.apply(null,[this].concat([].slice.call(o)))},analogous:function(){return this._applyCombination(v,arguments)},complement:function(){return this._applyCombination(d,arguments)},monochromatic:function(){return this._applyCombination(p,arguments)},splitcomplement:function(){return this._applyCombination(k,arguments)},triad:function(){return this._applyCombination(f,[3])},tetrad:function(){return this._applyCombination(f,[4])}},b.fromRatio=function(r,o){if("object"==typeof r){var n={};for(var t in r)r.hasOwnProperty(t)&&(n[t]="a"===t?r[t]:A(r[t]));r=n}return b(r,o)},b.equals=function(r,o){return!(!r||!o)&&b(r).toRgbString()==b(o).toRgbString()},b.random=function(){return b.fromRatio({r:Math.random(),g:Math.random(),b:Math.random()})},b.mix=function(r,o,n){n=0===n?0:n||50;var t=b(r).toRgb(),g=b(o).toRgb(),a=n/100;return b({r:(g.r-t.r)*a+t.r,g:(g.g-t.g)*a+t.g,b:(g.b-t.b)*a+t.b,a:(g.a-t.a)*a+t.a})},b.readability=function(r,o){var n=b(r),t=b(o);return(Math.max(n.getLuminance(),t.getLuminance())+.05)/(Math.min(n.getLuminance(),t.getLuminance())+.05)},b.isReadable=function(r,o,n){var t,g,a,c,e,i=b.readability(r,o);switch(g=!1,(a=n,"AA"!==(c=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==c&&(c="AA"),"small"!==(e=(a.size||"small").toLowerCase())&&"large"!==e&&(e="small"),t={level:c,size:e}).level+t.size){case"AAsmall":case"AAAlarge":g=i>=4.5;break;case"AAlarge":g=i>=3;break;case"AAAsmall":g=i>=7}return g},b.mostReadable=function(r,o,n){var t,g,a,c,e=null,i=0;g=(n=n||{}).includeFallbackColors,a=n.level,c=n.size;for(var l=0;l<o.length;l++)(t=b.readability(r,o[l]))>i&&(i=t,e=b(o[l]));return b.isReadable(r,e,{level:a,size:c})||!g?e:(n.includeFallbackColors=!1,b.mostReadable(r,["#fff","#000"],n))};var z=b.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"},m=b.hexNames=function(r){var o={};for(var b in r)r.hasOwnProperty(b)&&(o[r[b]]=b);return o}(z);function M(r){return r=parseFloat(r),(isNaN(r)||r<0||r>1)&&(r=1),r}function y(r,o){(function(r){return"string"==typeof r&&-1!=r.indexOf(".")&&1===parseFloat(r)})(r)&&(r="100%");var b=function(r){return"string"==typeof r&&-1!=r.indexOf("%")}(r);return r=Math.min(o,Math.max(0,parseFloat(r))),b&&(r=parseInt(r*o,10)/100),Math.abs(r-o)<1e-6?1:r%o/parseFloat(o)}function w(r){return Math.min(1,Math.max(0,r))}function x(r){return parseInt(r,16)}function N(r){return 1==r.length?"0"+r:""+r}function A(r){return r<=1&&(r=100*r+"%"),r}function S(r){return Math.round(255*parseFloat(r)).toString(16)}function F(r){return x(r)/255}var _,E,R,q=(E="[\\s|\\(]+("+(_="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+_+")[,|\\s]+("+_+")\\s*\\)?",R="[\\s|\\(]+("+_+")[,|\\s]+("+_+")[,|\\s]+("+_+")[,|\\s]+("+_+")\\s*\\)?",{CSS_UNIT:new RegExp(_),rgb:new RegExp("rgb"+E),rgba:new RegExp("rgba"+R),hsl:new RegExp("hsl"+E),hsla:new RegExp("hsla"+R),hsv:new RegExp("hsv"+E),hsva:new RegExp("hsva"+R),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 H(r){return!!q.CSS_UNIT.exec(r)}return b}()}));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)"}},i=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)"},t=c(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":t,"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 t(this)}};i.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{i as stzh_vbz_linechip}
|
|
@@ -1 +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(m){if(a)throw new TypeError("Generator is already executing.");while(l&&(l=0,m[0]&&(s=0)),s)try{if(a=1,i&&(n=m[0]&2?i["return"]:m[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,m[1])).done)return n;if(i=0,n)m=[m[0]&2,n.value];switch(m[0]){case 0:case 1:n=m;break;case 4:s.label++;return{value:m[1],done:false};case 5:s.label++;i=m[1];m=[0];continue;case 7:m=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(m[0]===6||m[0]===2)){s=0;continue}if(m[0]===3&&(!n||m[1]>n[0]&&m[1]<n[3])){s.label=m[1];break}if(m[0]===6&&s.label<n[1]){s.label=n[1];n=m;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(m);break}if(n[2])s.ops.pop();s.trys.pop();continue}m=e.call(t,s)}catch(r){m=[6,r];i=0}finally{a=n=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:true}}};System.register(["./p-36e72c1d.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.e;a=t.h;i=t.c;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__vhidden.sc-stzh-datamessagelist-item{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-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.unread&&a("span",{class:"stzh-datamessagelist-item__vhidden"},this.localization.unread,","),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
|
+
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(m){if(a)throw new TypeError("Generator is already executing.");while(l&&(l=0,m[0]&&(s=0)),s)try{if(a=1,i&&(n=m[0]&2?i["return"]:m[0]?i["throw"]||((n=i["return"])&&n.call(i),0):i.next)&&!(n=n.call(i,m[1])).done)return n;if(i=0,n)m=[m[0]&2,n.value];switch(m[0]){case 0:case 1:n=m;break;case 4:s.label++;return{value:m[1],done:false};case 5:s.label++;i=m[1];m=[0];continue;case 7:m=s.ops.pop();s.trys.pop();continue;default:if(!(n=s.trys,n=n.length>0&&n[n.length-1])&&(m[0]===6||m[0]===2)){s=0;continue}if(m[0]===3&&(!n||m[1]>n[0]&&m[1]<n[3])){s.label=m[1];break}if(m[0]===6&&s.label<n[1]){s.label=n[1];n=m;break}if(n&&s.label<n[2]){s.label=n[2];s.ops.push(m);break}if(n[2])s.ops.pop();s.trys.pop();continue}m=e.call(t,s)}catch(r){m=[6,r];i=0}finally{a=n=0}if(m[0]&5)throw m[1];return{value:m[0]?m[1]:void 0,done:true}}};System.register(["./p-36e72c1d.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.e;a=t.h;i=t.c;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__vhidden.sc-stzh-datamessagelist-item{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-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)}}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__tags-wrapper.sc-stzh-datamessagelist-item{-ms-flex-negative:0;flex-shrink:0}}.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)}@media screen and (min-width: 1024px){.stzh-datamessagelist-item__tag.sc-stzh-datamessagelist-item{-ms-flex-negative:0;flex-shrink:0}}.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.unread&&a("span",{class:"stzh-datamessagelist-item__vhidden"},this.localization.unread,","),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}}}));
|