{"version":3,"sources":["webpack:///./node_modules/@oiz/stzh-components/dist/esm-es5/stzh-input-description-cc38e214.js","webpack:///./node_modules/@oiz/stzh-components/dist/esm-es5/translation-utils-2623783f.js","webpack:///./node_modules/@oiz/stzh-components/dist/esm-es5/stzh-input.entry.js","webpack:///./node_modules/@oiz/stzh-components/dist/esm-es5/utils-51148d9a.js"],"names":["StzhInputDescription","o","t","id","n","classPrefix","i","error","c","description","s","descriptionLong","r","descriptionLongUsed","e","moreInfoButtonLabel","class","concat","length","map","name","variant","type","slot","__awaiter","Promise","a","next","done","value","then","apply","__generator","label","sent","trys","ops","throw","return","Symbol","iterator","this","TypeError","call","pop","push","SUPPORTED_LANGUAGES","tc","split","trim","replace","toString","fetchTranslations","closest","lang","indexOf","getLocale","JSON","parse","sessionStorage","getItem","window","stzhComponents","version","cacheTranslations","match","Object","keys","assign","$globals","$locale","$code","$formats","fetch","pathTranslations","ok","json","setItem","stringify","console","h","p","u","inputCounter","StzhInput","stzhChange","stzhFocus","stzhBlur","focusedByInput","onClearClick","input","focus","emit","component","originalEvent","onInput","onRootFocus","setFocus","onFocus","FocusEvent","view","bubbles","cancelable","element","dispatchEvent","onBlur","localization","undefined","multiline","rows","step","min","max","showSpin","readonly","disabled","clearable","showMarker","minlength","maxlength","invalid","required","inputmode","autocomplete","noAutocomplete","size","a11yDescribedby","filled","prototype","valueWatcher","errorWatcher","_error","typeWatcher","includes","Error","renderTextarea","ref","inputId","renderInput","componentWillLoad","render","labels","tabindex","htmlFor","requiredFieldMarker","optionalFieldMarker","requiredFieldText","optionalFieldText","icon","onClick","a11yLabel","clearButtonLabel","defineProperty","get","enumerable","configurable","style","hasSlot","querySelector","Array","from","childNodes","some","nodeType","TEXT_NODE","textContent","ELEMENT_NODE","hasAttribute","setPropsIfNull","forEach","getAttribute","isStzhElement","tagName","toLowerCase","l","nativeCloneNodeFn","Node","cloneNode","cloneElement","appendChild","cloneWrappedStzhElement","children"],"mappings":"qGAAA,oDAEIA,EAAuB,S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AgB,CACvB,IAAIlK,EAAIiL,EAAatK,EAAEkK,IAAI,GAC3B5K,EAAEiL,YAAYlL,EAChB,CAIJ,OAAOC,CACT,CAEA,SAASkL,EAAwBtK,GAC/B,IAAIV,EACAF,EACAU,EAEJ,GAAI+J,EAAc7J,GAEhBZ,EADAE,EAAI8K,EAAapK,GAAG,GAEpBF,EAAIE,MACC,CAKL,IAHA,IAAIgK,EADJ1K,EAAIU,EAAEmK,YAEFhL,EAAIa,EAEqB,IAAtBb,EAAEoL,SAASnK,SAAiByJ,EAAc1K,EAAEoL,SAAS,KAAK,CAE/D,IAAI/K,GADJL,EAAIA,EAAEoL,SAAS,IACLJ,YACVH,EAAEK,YAAY7K,GACdwK,EAAIxK,CACN,CAEIqK,EAAc1K,EAAEoL,SAAS,KAC3BnL,EAAIgL,EAAajL,EAAEoL,SAAS,IAAI,GAChCzK,EAAIX,EAAEoL,SAAS,GACfP,EAAEK,YAAYjL,IAEdE,EAAI8K,EAAapK,GAAG,EAExB,CAEA,MAAO,CAACV,EAAGF,EAAGU,EAChB,C","file":"js/24-d1aa566d8f9e7237ae1c.chunk.js","sourcesContent":["import { h } from \"./index-319b7c49.js\";\n\nvar StzhInputDescription = function (o) {\n  var t = o.id,\n      n = o.classPrefix,\n      i = o.error,\n      c = o.description,\n      s = o.descriptionLong,\n      r = o.descriptionLongUsed,\n      e = o.moreInfoButtonLabel;\n  return h(\"div\", {\n    class: \"\".concat(n, \"__description-wrapper\"),\n    id: t\n  }, h(\"div\", {\n    class: \"\".concat(n, \"__error\")\n  }, i.length > 0 ? h(\"ul\", {\n    class: \"\".concat(n, \"__error-list\")\n  }, i.map(function (o) {\n    return h(\"li\", {\n      class: \"\".concat(n, \"__error-listitem\")\n    }, o);\n  })) : h(\"slot\", {\n    name: \"error\"\n  })), h(\"div\", {\n    class: \"\".concat(n, \"__description\")\n  }, h(\"div\", {\n    class: \"\".concat(n, \"__description-text\")\n  }, c ? c : h(\"slot\", {\n    name: \"description\"\n  })), r && h(\"div\", {\n    class: \"\".concat(n, \"__description-long\")\n  }, h(\"stzh-popover\", {\n    class: \"\".concat(n, \"__description-long-popover\"),\n    variant: \"tooltip\"\n  }, h(\"button\", {\n    class: \"\".concat(n, \"__description-long-button\"),\n    \"aria-label\": e,\n    type: \"button\"\n  }, h(\"stzh-icon\", {\n    class: \"\".concat(n, \"__description-long-icon\"),\n    name: \"info-help\"\n  })), h(\"div\", {\n    slot: \"label\"\n  }, c ? c : h(\"slot\", {\n    name: \"description\"\n  })), h(\"div\", {\n    slot: \"content\"\n  }, s ? s : h(\"slot\", {\n    name: \"description-long\"\n  }))))));\n};\n\nexport { StzhInputDescription as S };","var __awaiter = this && this.__awaiter || function (t, n, e, r) {\n  function o(t) {\n    return t instanceof e ? t : new e(function (n) {\n      n(t);\n    });\n  }\n\n  return new (e || (e = Promise))(function (e, a) {\n    function s(t) {\n      try {\n        c(r.next(t));\n      } catch (n) {\n        a(n);\n      }\n    }\n\n    function i(t) {\n      try {\n        c(r[\"throw\"](t));\n      } catch (n) {\n        a(n);\n      }\n    }\n\n    function c(t) {\n      t.done ? e(t.value) : o(t.value).then(s, i);\n    }\n\n    c((r = r.apply(t, n || [])).next());\n  });\n};\n\nvar __generator = this && this.__generator || function (t, n) {\n  var e = {\n    label: 0,\n    sent: function () {\n      if (a[0] & 1) throw a[1];\n      return a[1];\n    },\n    trys: [],\n    ops: []\n  },\n      r,\n      o,\n      a,\n      s;\n  return s = {\n    next: i(0),\n    throw: i(1),\n    return: i(2)\n  }, typeof Symbol === \"function\" && (s[Symbol.iterator] = function () {\n    return this;\n  }), s;\n\n  function i(t) {\n    return function (n) {\n      return c([t, n]);\n    };\n  }\n\n  function c(i) {\n    if (r) throw new TypeError(\"Generator is already executing.\");\n\n    while (s && (s = 0, i[0] && (e = 0)), e) try {\n      if (r = 1, o && (a = i[0] & 2 ? o[\"return\"] : i[0] ? o[\"throw\"] || ((a = o[\"return\"]) && a.call(o), 0) : o.next) && !(a = a.call(o, i[1])).done) return a;\n      if (o = 0, a) i = [i[0] & 2, a.value];\n\n      switch (i[0]) {\n        case 0:\n        case 1:\n          a = i;\n          break;\n\n        case 4:\n          e.label++;\n          return {\n            value: i[1],\n            done: false\n          };\n\n        case 5:\n          e.label++;\n          o = i[1];\n          i = [0];\n          continue;\n\n        case 7:\n          i = e.ops.pop();\n          e.trys.pop();\n          continue;\n\n        default:\n          if (!(a = e.trys, a = a.length > 0 && a[a.length - 1]) && (i[0] === 6 || i[0] === 2)) {\n            e = 0;\n            continue;\n          }\n\n          if (i[0] === 3 && (!a || i[1] > a[0] && i[1] < a[3])) {\n            e.label = i[1];\n            break;\n          }\n\n          if (i[0] === 6 && e.label < a[1]) {\n            e.label = a[1];\n            a = i;\n            break;\n          }\n\n          if (a && e.label < a[2]) {\n            e.label = a[2];\n            e.ops.push(i);\n            break;\n          }\n\n          if (a[2]) e.ops.pop();\n          e.trys.pop();\n          continue;\n      }\n\n      i = n.call(t, e);\n    } catch (c) {\n      i = [6, c];\n      o = 0;\n    } finally {\n      r = a = 0;\n    }\n\n    if (i[0] & 5) throw i[1];\n    return {\n      value: i[0] ? i[1] : void 0,\n      done: true\n    };\n  }\n};\n\nvar LANG_DE = \"de\";\nvar LANG_EN = \"en\";\nvar LANG_DEFAULT = LANG_DE;\nvar SUPPORTED_LANGUAGES = [LANG_DE, LANG_EN];\n\nfunction getLocale(t) {\n  var n = t.closest(\"[lang]\");\n  var e = n && n.lang.split(\"-\")[0];\n\n  if (SUPPORTED_LANGUAGES.indexOf(e) === -1 || !e) {\n    return LANG_DEFAULT;\n  } else {\n    return e;\n  }\n}\n\nfunction tc(t, n) {\n  if (!t) {\n    return \"\";\n  }\n\n  var e = t.split(\"|\");\n  var r = e[0].trim();\n\n  if (e.length === 3 && n === 1) {\n    r = e[1].trim();\n  } else if (e.length === 3 && n > 1) {\n    r = e[2].trim();\n  }\n\n  if (e.length === 2 && n !== 1) {\n    r = e[1].trim();\n  }\n\n  return r.replace(/\\{n\\}/gi, n.toString());\n}\n\nfunction fetchTranslations(t, n) {\n  return __awaiter(this, void 0, void 0, function () {\n    var e, r, o, a, s;\n    return __generator(this, function (i) {\n      switch (i.label) {\n        case 0:\n          e = getLocale(t);\n          r = JSON.parse(sessionStorage.getItem(\"stzhComponents.v\".concat(window.stzhComponents.version, \".i18n.\").concat(e)));\n\n          if (window.stzhComponents.cacheTranslations && window.stzhComponents.version.match(/-dev-snapshot/i) === null && r && Object.keys(r).length > 0) {\n            return [2, Object.assign(Object.assign({}, r[n] || {}), {\n              $globals: r.$globals,\n              $locale: r.$code,\n              $formats: r.$formats\n            })];\n          }\n\n          i.label = 1;\n\n        case 1:\n          i.trys.push([1, 5,, 6]);\n          return [4, fetch(\"\".concat(window.stzhComponents.pathTranslations, \"/\").concat(e, \".json\"))];\n\n        case 2:\n          o = i.sent();\n          if (!o.ok) return [3, 4];\n          return [4, o.json()];\n\n        case 3:\n          a = i.sent();\n          sessionStorage.setItem(\"stzhComponents.v\".concat(window.stzhComponents.version, \".i18n.\").concat(e), JSON.stringify(a));\n          return [2, Object.assign(Object.assign({}, a[n] || {}), {\n            $globals: a.$globals,\n            $locale: a.$code,\n            $formats: a.$formats\n          })];\n\n        case 4:\n          return [3, 6];\n\n        case 5:\n          s = i.sent();\n          console.error(\"Error loading locale: \".concat(e), s);\n          return [3, 6];\n\n        case 6:\n          return [2];\n      }\n    });\n  });\n}\n\nexport { fetchTranslations as f, tc as t };","var __awaiter = this && this.__awaiter || function (t, s, i, n) {\n  function e(t) {\n    return t instanceof i ? t : new i(function (s) {\n      s(t);\n    });\n  }\n\n  return new (i || (i = Promise))(function (i, h) {\n    function r(t) {\n      try {\n        p(n.next(t));\n      } catch (s) {\n        h(s);\n      }\n    }\n\n    function u(t) {\n      try {\n        p(n[\"throw\"](t));\n      } catch (s) {\n        h(s);\n      }\n    }\n\n    function p(t) {\n      t.done ? i(t.value) : e(t.value).then(r, u);\n    }\n\n    p((n = n.apply(t, s || [])).next());\n  });\n};\n\nvar __generator = this && this.__generator || function (t, s) {\n  var i = {\n    label: 0,\n    sent: function () {\n      if (h[0] & 1) throw h[1];\n      return h[1];\n    },\n    trys: [],\n    ops: []\n  },\n      n,\n      e,\n      h,\n      r;\n  return r = {\n    next: u(0),\n    throw: u(1),\n    return: u(2)\n  }, typeof Symbol === \"function\" && (r[Symbol.iterator] = function () {\n    return this;\n  }), r;\n\n  function u(t) {\n    return function (s) {\n      return p([t, s]);\n    };\n  }\n\n  function p(u) {\n    if (n) throw new TypeError(\"Generator is already executing.\");\n\n    while (r && (r = 0, u[0] && (i = 0)), i) try {\n      if (n = 1, e && (h = u[0] & 2 ? e[\"return\"] : u[0] ? e[\"throw\"] || ((h = e[\"return\"]) && h.call(e), 0) : e.next) && !(h = h.call(e, u[1])).done) return h;\n      if (e = 0, h) u = [u[0] & 2, h.value];\n\n      switch (u[0]) {\n        case 0:\n        case 1:\n          h = u;\n          break;\n\n        case 4:\n          i.label++;\n          return {\n            value: u[1],\n            done: false\n          };\n\n        case 5:\n          i.label++;\n          e = u[1];\n          u = [0];\n          continue;\n\n        case 7:\n          u = i.ops.pop();\n          i.trys.pop();\n          continue;\n\n        default:\n          if (!(h = i.trys, h = h.length > 0 && h[h.length - 1]) && (u[0] === 6 || u[0] === 2)) {\n            i = 0;\n            continue;\n          }\n\n          if (u[0] === 3 && (!h || u[1] > h[0] && u[1] < h[3])) {\n            i.label = u[1];\n            break;\n          }\n\n          if (u[0] === 6 && i.label < h[1]) {\n            i.label = h[1];\n            h = u;\n            break;\n          }\n\n          if (h && i.label < h[2]) {\n            i.label = h[2];\n            i.ops.push(u);\n            break;\n          }\n\n          if (h[2]) i.ops.pop();\n          i.trys.pop();\n          continue;\n      }\n\n      u = s.call(t, i);\n    } catch (p) {\n      u = [6, p];\n      e = 0;\n    } finally {\n      n = h = 0;\n    }\n\n    if (u[0] & 5) throw u[1];\n    return {\n      value: u[0] ? u[1] : void 0,\n      done: true\n    };\n  }\n};\n\nimport { r as registerInstance, e as createEvent, h, c as Host, g as getElement } from \"./index-319b7c49.js\";\nimport { h as hasSlot } from \"./utils-51148d9a.js\";\nimport { f as fetchTranslations } from \"./translation-utils-2623783f.js\";\nimport { S as StzhInputDescription } from \"./stzh-input-description-cc38e214.js\";\nvar stzhInputCss = '.sc-stzh-input-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-input-h{display:none}.sc-stzh-input-h *.sc-stzh-input,.sc-stzh-input-h *.sc-stzh-input::before,.sc-stzh-input-h *.sc-stzh-input::after{-webkit-box-sizing:border-box;box-sizing:border-box;text-underline-offset:var(--stzh-link-text-underline-offset);text-decoration-thickness:var(--stzh-link-text-decoration-thickness)}.sc-stzh-input-h{width:100%}.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right],.stzh-input__button-right.sc-stzh-input{position:absolute;top:0;right:0}.sc-stzh-input-h .sc-stzh-input-s>stzh-button[slot=button-right][variant=input],.sc-stzh-input-h .sc-stzh-input-s>[slot=button-right] stzh-button[variant=input],.stzh-input__button-right[variant=input].sc-stzh-input{--border-color:transparent;--hover-border-color:transparent}.stzh-input.sc-stzh-input{font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing)}.stzh-input__marker-symbol.sc-stzh-input{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal}.stzh-input__marker-text.sc-stzh-input{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-input__description-wrapper.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-direction:column-reverse;flex-direction:column-reverse}.stzh-input__error.sc-stzh-input,.stzh-input__description.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height);color:var(--stzh-base-color)}.stzh-input__error.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input__error-list.sc-stzh-input{list-style:none;margin:0;padding:0}.stzh-input__description.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-align:start;align-items:flex-start}.stzh-input__description-long.sc-stzh-input{margin-left:var(--stzh-space-xxsmall);margin-top:0.1875rem}.stzh-input__description-long-popover.sc-stzh-input{--width:auto;--max-width:27.3125rem}.stzh-input__description-long-popover[open].sc-stzh-input:not([open=false]) .stzh-input__description-long-button.sc-stzh-input{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input__description-long-button.sc-stzh-input{display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:inherit;padding:0;border:none;background-color:transparent;border-radius:0.5rem;cursor:pointer;-webkit-transition:color var(--stzh-base-transition-animation-speed);transition:color var(--stzh-base-transition-animation-speed);color:var(--stzh-base-lead-color)}.stzh-input__description-long-button.sc-stzh-input:hover{color:var(--stzh-color-primary, var(--stzh-color-zueriblue))}.stzh-input.sc-stzh-input stzh-icon.stzh-input__description-long-icon.sc-stzh-input{--size:var(--stzh-icon-size-xsmall)}.stzh-input--has-error.sc-stzh-input .stzh-input__error.sc-stzh-input,.stzh-input--has-description.sc-stzh-input .stzh-input__description.sc-stzh-input{margin-top:var(--stzh-space-xxsmall)}.stzh-input__field-wrapper.sc-stzh-input{position:relative;display:-ms-flexbox;display:flex}.stzh-input__input.sc-stzh-input{font-family:var(--stzh-font-family-regular);font-weight:var(--stzh-font-weight-regular);font-style:normal;font-size:var(--stzh-font-milli-font-size);line-height:var(--stzh-font-milli-text-line-height);letter-spacing:var(--stzh-font-curve---text-letter-spacing);border:0.0625rem solid var(--stzh-color-grey61);-webkit-transition-property:color, border-color;transition-property:color, border-color;-webkit-transition-duration:var(--stzh-base-transition-animation-speed);transition-duration:var(--stzh-base-transition-animation-speed);border-radius:var(--stzh-form-input-border-radius);padding:var(--stzh-space-xsmall) var(--stzh-space-medium);width:100%;color:var(--stzh-color-primary, var(--stzh-color-zueriblue));background:var(--stzh-color-white);-webkit-appearance:none;-moz-appearance:none;appearance:none}.stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input__input.sc-stzh-input:hover,.stzh-input__input.sc-stzh-input:focus{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));border-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__input.sc-stzh-input::-ms-clear{display:none}.stzh-input__input.sc-stzh-input:-webkit-autofill{-webkit-background-clip:text;background-clip:text}.stzh-input__input.sc-stzh-input:-moz-placeholder-shown{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:-ms-input-placeholder{text-overflow:ellipsis}.stzh-input__input.sc-stzh-input:placeholder-shown{text-overflow:ellipsis}.stzh-input__input[type=search].sc-stzh-input::-webkit-search-decoration,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-cancel-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-button,.stzh-input__input[type=search].sc-stzh-input::-webkit-search-results-decoration{-webkit-appearance:none}.stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-height)}.stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-height);resize:vertical}.stzh-input__label.sc-stzh-input{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);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--stzh-color-grey61);width:auto;position:absolute;top:calc(var(--stzh-form-input-height) / 2);left:calc(var(--stzh-space-medium) + 0.0625rem);max-width:calc(100% - var(--stzh-space-medium) * 2);-webkit-transform:translateY(-50%);transform:translateY(-50%);-webkit-transition:all var(--stzh-base-transition-animation-speed);transition:all var(--stzh-base-transition-animation-speed);pointer-events:none}.stzh-input__label.sc-stzh-input:empty{display:none}.stzh-input__label.sc-stzh-input::before{content:\"\";display:none;background:var(--stzh-color-white);position:absolute;width:100%;z-index:-1;left:0;top:50%;margin-top:-0.5px;height:0.125rem}.stzh-input__input.sc-stzh-input:hover+.stzh-input__label.sc-stzh-input,.stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark))}.stzh-input__button-right.sc-stzh-input{display:none}.stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--background-color:transparent;--border-color:transparent;--hover-color:var(--stzh-color-primary-hover, var(--stzh-color-zueribluedark));--hover-background-color:transparent;--hover-border-color:transparent}.stzh-input--is-clearable.stzh-input--is-filled.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.sc-stzh-input .stzh-input__button-right.sc-stzh-input{display:block}.stzh-input--type-search.sc-stzh-input:not(.stzh-input--is-filled) .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right.sc-stzh-input,.stzh-input--type-search.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right.sc-stzh-input{pointer-events:none}.stzh-input--is-filled.sc-stzh-input .stzh-input__button-right.is-search.sc-stzh-input{pointer-events:initial}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{display:block;top:0;left:calc(var(--stzh-space-medium) - var(--stzh-space-xxsmall));height:1.25rem;line-height:1.25rem;padding:0 var(--stzh-space-xxsmall);max-width:calc(100% - var(--stzh-space-small) * 2);pointer-events:all}.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input:not(:empty)::before{display:block}.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xsmall) + var(--stzh-form-input-height))}.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-height))}.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xxsmall) - var(--stzh-form-input-height))}.stzh-input--size-small.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input.sc-stzh-input{font-size:var(--stzh-font-micro-font-size);line-height:var(--stzh-font-micro-text-line-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--input.sc-stzh-input{height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__input--textarea.sc-stzh-input{min-height:var(--stzh-form-input-small-height)}.stzh-input--size-small.sc-stzh-input .stzh-input__label.sc-stzh-input{top:calc(var(--stzh-form-input-small-height) / 2)}.stzh-input--size-small.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{top:0}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__input.sc-stzh-input{padding-right:calc(var(--stzh-space-xxsmall) + var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - (var(--stzh-space-medium) + 0.0625rem) * 2 - var(--stzh-form-input-small-height))}.stzh-input--size-small.stzh-input--has-button-right.stzh-input.sc-stzh-input:not(.stzh-input--is-readonly):not(.stzh-input--is-disabled) .stzh-input__input.sc-stzh-input:focus+.stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--has-fixed-label.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-filled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--size-small.stzh-input--has-button-right.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input{max-width:calc(100% - var(--stzh-space-medium) - var(--stzh-space-xxsmall) - 0.0625rem + var(--stzh-space-xsmall) - var(--stzh-form-input-small-height))}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-outer-spin-button,.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input.sc-stzh-input::-webkit-inner-spin-button{-webkit-appearance:none;appearance:none;margin:0}.stzh-input.sc-stzh-input:not(.stzh-input--has-spin) .stzh-input__input[type=number].sc-stzh-input{-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input{border-color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-error)}.stzh-input--is-invalid.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-error)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input+.stzh-input__label.sc-stzh-input{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input{color:var(--stzh-color-grey61);border-color:transparent;background-color:var(--stzh-color-black8);cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-webkit-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input::-moz-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:-ms-input-placeholder{color:var(--stzh-color-grey61)}.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-readonly.sc-stzh-input .stzh-input__input.sc-stzh-input:focus,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:hover,.stzh-input--is-disabled.sc-stzh-input .stzh-input__input.sc-stzh-input:focus{border-color:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input{cursor:not-allowed}.stzh-input--is-readonly.sc-stzh-input .stzh-input__label.sc-stzh-input::before,.stzh-input--is-disabled.sc-stzh-input .stzh-input__label.sc-stzh-input::before{background:transparent}.stzh-input--is-readonly.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input],.stzh-input--is-disabled.sc-stzh-input .stzh-input__button-right[disabled].sc-stzh-input:not([disabled=false])[variant=input]{--color:var(--stzh-color-grey61);--hover-color:var(--stzh-color-grey61)}';\nvar inputCounter = 0;\n\nvar StzhInput = function () {\n  function t(t) {\n    var s = this;\n    registerInstance(this, t);\n    this.stzhChange = createEvent(this, \"stzhChange\", 7);\n    this.stzhFocus = createEvent(this, \"stzhFocus\", 7);\n    this.stzhBlur = createEvent(this, \"stzhBlur\", 7);\n    this.focusedByInput = false;\n\n    this.onClearClick = function (t) {\n      s.value = \"\";\n      s.input.focus();\n      s.stzhChange.emit({\n        component: \"stzh-input\",\n        originalEvent: t,\n        value: s.value\n      });\n    };\n\n    this.onInput = function (t) {\n      s.value = s.input.value;\n      s.stzhChange.emit({\n        component: \"stzh-input\",\n        originalEvent: t,\n        value: s.value\n      });\n    };\n\n    this.onRootFocus = function () {\n      if (!s.focusedByInput) {\n        s.setFocus();\n      }\n\n      s.focusedByInput = false;\n    };\n\n    this.onFocus = function (t) {\n      s.focusedByInput = true;\n      var i = new FocusEvent(\"focus\", {\n        view: window,\n        bubbles: false,\n        cancelable: false\n      });\n      s.element.dispatchEvent(i);\n      s.stzhFocus.emit({\n        component: \"stzh-input\",\n        originalEvent: t\n      });\n    };\n\n    this.onBlur = function (t) {\n      s.input.value = s.input.value;\n      var i = new FocusEvent(\"blur\", {\n        view: window,\n        bubbles: false,\n        cancelable: false\n      });\n      s.element.dispatchEvent(i);\n      s.stzhBlur.emit({\n        component: \"stzh-input\",\n        originalEvent: t\n      });\n    };\n\n    this.localization = undefined;\n    this.multiline = false;\n    this.rows = undefined;\n    this.type = \"text\";\n    this.step = 1;\n    this.min = undefined;\n    this.max = undefined;\n    this.showSpin = false;\n    this.readonly = false;\n    this.disabled = false;\n    this.clearable = false;\n    this.showMarker = false;\n    this.minlength = undefined;\n    this.maxlength = undefined;\n    this.name = undefined;\n    this.value = \"\";\n    this.description = undefined;\n    this.descriptionLong = undefined;\n    this.error = undefined;\n    this.invalid = false;\n    this.required = false;\n    this.inputmode = undefined;\n    this.autocomplete = \"on\";\n    this.noAutocomplete = false;\n    this.label = \"\";\n    this.size = \"default\";\n    this.a11yDescribedby = \"\";\n    this.filled = undefined;\n  }\n\n  t.prototype.setFocus = function () {\n    return __awaiter(this, void 0, void 0, function () {\n      return __generator(this, function (t) {\n        this.input.focus();\n        return [2];\n      });\n    });\n  };\n\n  t.prototype.valueWatcher = function (t) {\n    this.filled = t !== \"\";\n  };\n\n  t.prototype.errorWatcher = function (t) {\n    if (typeof t === \"string\") {\n      try {\n        this._error = JSON.parse(t);\n      } catch (s) {\n        if (t) {\n          this._error = [t];\n        } else {\n          this._error = [];\n        }\n      }\n    } else if (t) {\n      this._error = t;\n    } else {\n      this._error = [];\n    }\n\n    this.invalid = this._error.length > 0;\n  };\n\n  t.prototype.typeWatcher = function (t) {\n    var s = [\"text\", \"search\", \"password\", \"email\", \"url\", \"tel\", \"number\"];\n\n    if (!this.multiline && !s.includes(t)) {\n      throw new Error(\"Type \".concat(t, \" not supported\"));\n    }\n  };\n\n  t.prototype.renderTextarea = function () {\n    var t = this;\n    return h(\"textarea\", {\n      class: \"stzh-input__input stzh-input__input--textarea\",\n      ref: function (s) {\n        return t.input = s;\n      },\n      id: this.inputId,\n      name: this.name,\n      value: this.value,\n      rows: this.rows,\n      disabled: this.disabled,\n      readonly: this.readonly,\n      minlength: this.minlength,\n      maxlength: this.maxlength,\n      \"aria-describedby\": \"\".concat(this.inputId, \"-description \").concat(this.a11yDescribedby),\n      \"aria-required\": this.required ? \"true\" : \"false\",\n      \"aria-invalid\": this.invalid ? \"true\" : \"false\",\n      onInput: this.onInput,\n      onFocus: this.onFocus,\n      onBlur: this.onBlur\n    });\n  };\n\n  t.prototype.renderInput = function () {\n    var t = this;\n    return h(\"input\", {\n      class: \"stzh-input__input stzh-input__input--input\",\n      ref: function (s) {\n        return t.input = s;\n      },\n      id: this.inputId,\n      type: this.type,\n      name: this.name,\n      value: this.value,\n      min: this.min,\n      max: this.max,\n      step: this.step,\n      inputmode: this.inputmode,\n      disabled: this.disabled,\n      readonly: this.readonly,\n      minlength: this.minlength,\n      maxlength: this.maxlength,\n      autocomplete: this.noAutocomplete ? \"off\" : this.autocomplete,\n      \"aria-autocomplete\": this.noAutocomplete ? \"none\" : undefined,\n      \"aria-describedby\": \"\".concat(this.inputId, \"-description \").concat(this.a11yDescribedby),\n      \"aria-required\": this.required ? \"true\" : \"false\",\n      \"aria-invalid\": this.invalid ? \"true\" : \"false\",\n      onInput: this.onInput,\n      onFocus: this.onFocus,\n      onBlur: this.onBlur\n    });\n  };\n\n  t.prototype.componentWillLoad = function () {\n    return __awaiter(this, void 0, void 0, function () {\n      var t;\n      return __generator(this, function (s) {\n        switch (s.label) {\n          case 0:\n            this.inputId = \"stzh-input-\".concat(inputCounter++);\n            this.typeWatcher(this.type);\n            this.valueWatcher(this.value);\n            this.errorWatcher(this.error);\n            if (!!this.localization) return [3, 2];\n            t = this;\n            return [4, fetchTranslations(this.element, \"input\")];\n\n          case 1:\n            t.localization = s.sent();\n            s.label = 2;\n\n          case 2:\n            return [2];\n        }\n      });\n    });\n  };\n\n  t.prototype.render = function () {\n    var t;\n    var s;\n    var i = hasSlot(this.element, \"button-right\");\n    var n = hasSlot(this.element, \"description\") || !!this.description;\n    var e = hasSlot(this.element, \"description-long\") || !!this.descriptionLong;\n    var r = hasSlot(this.element, \"error\") || !!this.error;\n    var u = (t = {\n      \"stzh-input\": true,\n      \"stzh-input--has-button-right\": i || this.type === \"search\" || this.clearable && this.filled && !this.readonly && !this.disabled,\n      \"stzh-input--has-description\": n,\n      \"stzh-input--has-description-long\": e,\n      \"stzh-input--has-error\": r,\n      \"stzh-input--has-spin\": this.showSpin,\n      \"stzh-input--is-invalid\": this.invalid,\n      \"stzh-input--is-disabled\": this.disabled,\n      \"stzh-input--is-readonly\": this.readonly,\n      \"stzh-input--is-required\": this.required,\n      \"stzh-input--is-filled\": this.filled,\n      \"stzh-input--is-clearable\": this.clearable,\n      \"stzh-input--has-fixed-label\": ((s = window === null || window === void 0 ? void 0 : window.stzhComponents) === null || s === void 0 ? void 0 : s.labels) === \"fixed\"\n    }, t[\"stzh-input--size-\".concat(this.size)] = !!this.size, t[\"stzh-input--type-\".concat(this.type)] = !!this.type, t);\n    return h(Host, {\n      tabindex: this.disabled ? null : \"-1\",\n      onFocus: this.onRootFocus\n    }, h(\"div\", {\n      class: u\n    }, h(\"div\", {\n      class: \"stzh-input__field-wrapper\"\n    }, this.multiline ? this.renderTextarea() : this.renderInput(), h(\"label\", {\n      class: \"stzh-input__label\",\n      htmlFor: this.inputId\n    }, this.label ? this.label : h(\"slot\", null), this.showMarker && h(\"span\", {\n      class: \"stzh-input__marker\"\n    }, h(\"span\", {\n      class: \"stzh-input__marker-symbol\",\n      \"aria-hidden\": \"true\"\n    }, this.required ? this.localization.$globals.requiredFieldMarker : this.localization.$globals.optionalFieldMarker), h(\"span\", {\n      class: \"stzh-input__marker-text\"\n    }, this.required ? this.localization.$globals.requiredFieldText : this.localization.$globals.optionalFieldText))), this.clearable || this.type === \"search\" ? h(\"stzh-button\", {\n      class: \"stzh-input__button-right\",\n      icon: this.disabled || this.readonly || !this.filled ? \"search\" : \"close-circle\",\n      \"icon-only\": true,\n      variant: \"input\",\n      onClick: this.onClearClick,\n      disabled: this.disabled || this.readonly || !this.filled,\n      a11yLabel: this.localization.$globals.clearButtonLabel,\n      \"aria-controls\": this.inputId\n    }) : h(\"slot\", {\n      name: \"button-right\"\n    })), h(StzhInputDescription, {\n      classPrefix: \"stzh-input\",\n      id: \"\".concat(this.inputId, \"-description\"),\n      error: this._error,\n      description: this.description,\n      descriptionLong: this.descriptionLong,\n      descriptionLongUsed: e,\n      moreInfoButtonLabel: this.localization.$globals.moreInfoButtonLabel\n    })));\n  };\n\n  Object.defineProperty(t.prototype, \"element\", {\n    get: function () {\n      return getElement(this);\n    },\n    enumerable: false,\n    configurable: true\n  });\n  Object.defineProperty(t, \"watchers\", {\n    get: function () {\n      return {\n        value: [\"valueWatcher\"],\n        error: [\"errorWatcher\"],\n        type: [\"typeWatcher\"]\n      };\n    },\n    enumerable: false,\n    configurable: true\n  });\n  return t;\n}();\n\nStzhInput.style = stzhInputCss;\nexport { StzhInput as stzh_input };","function hasSlot(e, n) {\n  if (n) {\n    return e.querySelector('[slot=\"'.concat(n, '\"]')) !== null;\n  }\n\n  return Array.from(childNodes(e)).some(function (e) {\n    if (e.nodeType === e.TEXT_NODE && e.textContent.trim() !== \"\") {\n      return true;\n    }\n\n    if (e.nodeType === e.ELEMENT_NODE) {\n      var n = e;\n\n      if (!n.hasAttribute(\"slot\")) {\n        return true;\n      }\n    }\n\n    return false;\n  });\n}\n\nfunction setPropsIfNull(e, n) {\n  Object.keys(n).forEach(function (t) {\n    if (e.getAttribute(t) === null) {\n      e[t] = n[t];\n    }\n  });\n}\n\nfunction isStzhElement(e) {\n  if (!e || e.nodeType !== 1) {\n    return false;\n  }\n\n  return e.tagName.toLowerCase().indexOf(\"stzh-\") === 0;\n}\n\nfunction childNodes(e) {\n  var n = e.childNodes;\n\n  if (e[\"s-sc\"]) {\n    var t = [];\n\n    for (var r = 0; r < n.length; r++) {\n      var l = n[r][\"s-nr\"];\n\n      if (l) {\n        t.push(l);\n      }\n    }\n\n    return t;\n  }\n\n  return Array.from(n);\n}\n\nvar nativeCloneNodeFn = Node.prototype.cloneNode;\n\nfunction cloneElement(e, n) {\n  var t = nativeCloneNodeFn.call(e, false);\n  var r = childNodes(e);\n\n  if (n) {\n    for (var l = 0; l < r.length; l++) {\n      if (r[l].nodeType !== 2) {\n        var o = cloneElement(r[l], true);\n        t.appendChild(o);\n      }\n    }\n  }\n\n  return t;\n}\n\nfunction cloneWrappedStzhElement(e) {\n  var n;\n  var t;\n  var r;\n\n  if (isStzhElement(e)) {\n    n = cloneElement(e, true);\n    t = n;\n    r = e;\n  } else {\n    n = e.cloneNode();\n    var l = n;\n    var o = e;\n\n    while (o.children.length === 1 && !isStzhElement(o.children[0])) {\n      o = o.children[0];\n      var i = o.cloneNode();\n      l.appendChild(i);\n      l = i;\n    }\n\n    if (isStzhElement(o.children[0])) {\n      t = cloneElement(o.children[0], true);\n      r = o.children[0];\n      l.appendChild(t);\n    } else {\n      n = cloneElement(e, true);\n    }\n  }\n\n  return [n, t, r];\n}\n\nexport { cloneWrappedStzhElement as c, hasSlot as h, isStzhElement as i, setPropsIfNull as s };"],"sourceRoot":""}