"use strict";(()=>{(self.webpackChunktalk=self.webpackChunktalk||[]).push([["defaultVendors-node_modules_nextcloud_capabilities_dist_index_mjs-node_modules_nextcloud_vue_-e09394"],{41354:(f,d,t)=>{t.d(d,{A:()=>r});var l=t(71354),u=t.n(l),o=t(76314),s=t.n(o),n=s()(u());n.push([f.id,`/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/*
* Ensure proper alignment of the vue material icons
*/
.material-design-icon[data-v-e4fac465] {
  display: flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
}
.input-field[data-v-e4fac465] {
  --input-border-radius: var(--border-radius-element, var(--border-radius-large));
  --input-padding-start: var(--border-radius-large);
  --input-padding-end: var(--border-radius-large);
  position: relative;
  width: 100%;
  margin-block-start: 6px;
}
.input-field--disabled[data-v-e4fac465] {
  opacity: 0.4;
  filter: saturate(0.4);
}
.input-field--label-outside[data-v-e4fac465] {
  margin-block-start: 0;
}
.input-field--leading-icon[data-v-e4fac465] {
  --input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline));
}
.input-field--trailing-icon[data-v-e4fac465] {
  --input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline));
}
.input-field--pill[data-v-e4fac465] {
  --input-border-radius: var(--border-radius-pill);
}
.input-field__main-wrapper[data-v-e4fac465] {
  height: var(--default-clickable-area);
  position: relative;
}
.input-field__input[data-v-e4fac465] {
  --input-border-width-offset: calc(var(--border-width-input-focused, 2px) - var(--border-width-input, 2px));
  background-color: var(--color-main-background);
  color: var(--color-main-text);
  border: var(--border-width-input, 2px) solid var(--color-border-maxcontrast);
  border-radius: var(--input-border-radius);
  cursor: pointer;
  -webkit-appearance: textfield !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
  font-size: var(--default-font-size);
  text-overflow: ellipsis;
  height: calc(var(--default-clickable-area) - 2 * var(--input-border-width-offset)) !important;
  width: 100%;
  padding-inline: calc(var(--input-padding-start) + var(--input-border-width-offset)) calc(var(--input-padding-end) + var(--input-border-width-offset));
  padding-block: var(--input-border-width-offset);
}
.input-field__input[data-v-e4fac465]::placeholder {
  color: var(--color-text-maxcontrast);
}
.input-field__input[data-v-e4fac465]:active:not([disabled]), .input-field__input[data-v-e4fac465]:hover:not([disabled]), .input-field__input[data-v-e4fac465]:focus:not([disabled]) {
  border-color: var(--color-main-text);
  border-width: var(--border-width-input-focused, 2px);
  box-shadow: 0 0 0 2px var(--color-main-background) !important;
  --input-border-width-offset: 0px;
}
.input-field__input:focus + .input-field__label[data-v-e4fac465], .input-field__input:hover:not(:placeholder-shown) + .input-field__label[data-v-e4fac465] {
  color: var(--color-main-text);
}
.input-field__input[data-v-e4fac465]:focus {
  cursor: text;
}
.input-field__input[data-v-e4fac465]:disabled {
  cursor: default;
}
.input-field__input[data-v-e4fac465]:focus-visible {
  box-shadow: unset !important;
}
.input-field__input--success[data-v-e4fac465] {
  border-color: var(--color-success) !important;
}
.input-field__input--success[data-v-e4fac465]:focus-visible {
  box-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.input-field__input--error[data-v-e4fac465], .input-field__input[data-v-e4fac465]:invalid {
  border-color: var(--color-error) !important;
}
.input-field__input--error[data-v-e4fac465]:focus-visible, .input-field__input[data-v-e4fac465]:invalid:focus-visible {
  box-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.input-field:not(.input-field--label-outside) .input-field__input[data-v-e4fac465]:not(:focus)::placeholder {
  opacity: 0;
}
.input-field__label[data-v-e4fac465] {
  --input-label-font-size: var(--default-font-size);
  position: absolute;
  margin-inline: var(--input-padding-start) var(--input-padding-end);
  max-width: fit-content;
  font-size: var(--input-label-font-size);
  inset-block-start: calc((var(--default-clickable-area) - 1lh) / 2);
  inset-inline: var(--border-width-input-focused, 2px);
  color: var(--color-text-maxcontrast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick), background-color var(--animation-quick) var(--animation-slow);
}
.input-field__input:focus + .input-field__label[data-v-e4fac465], .input-field__input:not(:placeholder-shown) + .input-field__label[data-v-e4fac465] {
  --input-label-font-size: 13px;
  line-height: 1.5;
  inset-block-start: calc(-1.5 * var(--input-label-font-size) / 2);
  font-weight: 500;
  border-radius: var(--default-grid-baseline) var(--default-grid-baseline) 0 0;
  background-color: var(--color-main-background);
  padding-inline: var(--default-grid-baseline);
  margin-inline: calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));
  transition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick);
}
.input-field__icon[data-v-e4fac465] {
  position: absolute;
  height: var(--default-clickable-area);
  width: var(--default-clickable-area);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  inset-block-end: 0;
}
.input-field__icon--leading[data-v-e4fac465] {
  inset-inline-start: 0px;
}
.input-field__icon--trailing[data-v-e4fac465] {
  inset-inline-end: 0px;
}
.input-field__trailing-button[data-v-e4fac465] {
  --button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;
  --button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px));
}
.input-field__trailing-button.button-vue[data-v-e4fac465] {
  position: absolute;
  top: var(--border-width-input-focused, 2px);
  inset-inline-end: var(--border-width-input-focused, 2px);
}
.input-field__trailing-button.button-vue[data-v-e4fac465]:focus-visible {
  box-shadow: none !important;
}
.input-field__helper-text-message[data-v-e4fac465] {
  padding-block: 4px;
  padding-inline: var(--border-radius-large);
  display: flex;
  align-items: center;
  color: var(--color-text-maxcontrast);
}
.input-field__helper-text-message__icon[data-v-e4fac465] {
  margin-inline-end: 8px;
}
.input-field__helper-text-message--error[data-v-e4fac465] {
  color: var(--color-error-text);
}
.input-field__helper-text-message--success[data-v-e4fac465] {
  color: var(--color-success-text);
}`,"",{version:3,sources:["webpack://./node_modules/@nextcloud/vue/dist/assets/NcInputField-CUsdr7lV.css"],names:[],mappings:"AAAA;;;EAGE;AACF;;;EAGE;AACF;;CAEC;AACD;EACE,aAAa;EACb,kBAAkB;EAClB,oBAAoB;EACpB,mBAAmB;EACnB,uBAAuB;AACzB;AACA;EACE,+EAA+E;EAC/E,iDAAiD;EACjD,+CAA+C;EAC/C,kBAAkB;EAClB,WAAW;EACX,uBAAuB;AACzB;AACA;EACE,YAAY;EACZ,qBAAqB;AACvB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,yFAAyF;AAC3F;AACA;EACE,uFAAuF;AACzF;AACA;EACE,gDAAgD;AAClD;AACA;EACE,qCAAqC;EACrC,kBAAkB;AACpB;AACA;EACE,0GAA0G;EAC1G,8CAA8C;EAC9C,6BAA6B;EAC7B,4EAA4E;EAC5E,yCAAyC;EACzC,eAAe;EACf,wCAAwC;EACxC,qCAAqC;EACrC,gCAAgC;EAChC,mCAAmC;EACnC,uBAAuB;EACvB,6FAA6F;EAC7F,WAAW;EACX,qJAAqJ;EACrJ,+CAA+C;AACjD;AACA;EACE,oCAAoC;AACtC;AACA;EACE,oCAAoC;EACpC,oDAAoD;EACpD,6DAA6D;EAC7D,gCAAgC;AAClC;AACA;EACE,6BAA6B;AAC/B;AACA;EACE,YAAY;AACd;AACA;EACE,eAAe;AACjB;AACA;EACE,4BAA4B;AAC9B;AACA;EACE,6CAA6C;AAC/C;AACA;EACE,iIAAiI;AACnI;AACA;EACE,2CAA2C;AAC7C;AACA;EACE,iIAAiI;AACnI;AACA;EACE,UAAU;AACZ;AACA;EACE,iDAAiD;EACjD,kBAAkB;EAClB,kEAAkE;EAClE,sBAAsB;EACtB,uCAAuC;EACvC,kEAAkE;EAClE,oDAAoD;EACpD,oCAAoC;EACpC,mBAAmB;EACnB,gBAAgB;EAChB,uBAAuB;EACvB,oBAAoB;EACpB,kNAAkN;AACpN;AACA;EACE,6BAA6B;EAC7B,gBAAgB;EAChB,gEAAgE;EAChE,gBAAgB;EAChB,4EAA4E;EAC5E,8CAA8C;EAC9C,4CAA4C;EAC5C,4IAA4I;EAC5I,mJAAmJ;AACrJ;AACA;EACE,kBAAkB;EAClB,qCAAqC;EACrC,oCAAoC;EACpC,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,YAAY;EACZ,kBAAkB;AACpB;AACA;EACE,uBAAuB;AACzB;AACA;EACE,qBAAqB;AACvB;AACA;EACE,0GAA0G;EAC1G,0FAA0F;AAC5F;AACA;EACE,kBAAkB;EAClB,2CAA2C;EAC3C,wDAAwD;AAC1D;AACA;EACE,2BAA2B;AAC7B;AACA;EACE,kBAAkB;EAClB,0CAA0C;EAC1C,aAAa;EACb,mBAAmB;EACnB,oCAAoC;AACtC;AACA;EACE,sBAAsB;AACxB;AACA;EACE,8BAA8B;AAChC;AACA;EACE,gCAAgC;AAClC",sourcesContent:[`/**
 * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/**
 * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
/*
* Ensure proper alignment of the vue material icons
*/
.material-design-icon[data-v-e4fac465] {
  display: flex;
  align-self: center;
  justify-self: center;
  align-items: center;
  justify-content: center;
}
.input-field[data-v-e4fac465] {
  --input-border-radius: var(--border-radius-element, var(--border-radius-large));
  --input-padding-start: var(--border-radius-large);
  --input-padding-end: var(--border-radius-large);
  position: relative;
  width: 100%;
  margin-block-start: 6px;
}
.input-field--disabled[data-v-e4fac465] {
  opacity: 0.4;
  filter: saturate(0.4);
}
.input-field--label-outside[data-v-e4fac465] {
  margin-block-start: 0;
}
.input-field--leading-icon[data-v-e4fac465] {
  --input-padding-start: calc(var(--default-clickable-area) - var(--default-grid-baseline));
}
.input-field--trailing-icon[data-v-e4fac465] {
  --input-padding-end: calc(var(--default-clickable-area) - var(--default-grid-baseline));
}
.input-field--pill[data-v-e4fac465] {
  --input-border-radius: var(--border-radius-pill);
}
.input-field__main-wrapper[data-v-e4fac465] {
  height: var(--default-clickable-area);
  position: relative;
}
.input-field__input[data-v-e4fac465] {
  --input-border-width-offset: calc(var(--border-width-input-focused, 2px) - var(--border-width-input, 2px));
  background-color: var(--color-main-background);
  color: var(--color-main-text);
  border: var(--border-width-input, 2px) solid var(--color-border-maxcontrast);
  border-radius: var(--input-border-radius);
  cursor: pointer;
  -webkit-appearance: textfield !important;
  -moz-appearance: textfield !important;
  appearance: textfield !important;
  font-size: var(--default-font-size);
  text-overflow: ellipsis;
  height: calc(var(--default-clickable-area) - 2 * var(--input-border-width-offset)) !important;
  width: 100%;
  padding-inline: calc(var(--input-padding-start) + var(--input-border-width-offset)) calc(var(--input-padding-end) + var(--input-border-width-offset));
  padding-block: var(--input-border-width-offset);
}
.input-field__input[data-v-e4fac465]::placeholder {
  color: var(--color-text-maxcontrast);
}
.input-field__input[data-v-e4fac465]:active:not([disabled]), .input-field__input[data-v-e4fac465]:hover:not([disabled]), .input-field__input[data-v-e4fac465]:focus:not([disabled]) {
  border-color: var(--color-main-text);
  border-width: var(--border-width-input-focused, 2px);
  box-shadow: 0 0 0 2px var(--color-main-background) !important;
  --input-border-width-offset: 0px;
}
.input-field__input:focus + .input-field__label[data-v-e4fac465], .input-field__input:hover:not(:placeholder-shown) + .input-field__label[data-v-e4fac465] {
  color: var(--color-main-text);
}
.input-field__input[data-v-e4fac465]:focus {
  cursor: text;
}
.input-field__input[data-v-e4fac465]:disabled {
  cursor: default;
}
.input-field__input[data-v-e4fac465]:focus-visible {
  box-shadow: unset !important;
}
.input-field__input--success[data-v-e4fac465] {
  border-color: var(--color-success) !important;
}
.input-field__input--success[data-v-e4fac465]:focus-visible {
  box-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.input-field__input--error[data-v-e4fac465], .input-field__input[data-v-e4fac465]:invalid {
  border-color: var(--color-error) !important;
}
.input-field__input--error[data-v-e4fac465]:focus-visible, .input-field__input[data-v-e4fac465]:invalid:focus-visible {
  box-shadow: rgb(248, 250, 252) 0px 0px 0px 2px, var(--color-primary-element) 0px 0px 0px 4px, rgba(0, 0, 0, 0.05) 0px 1px 2px 0px;
}
.input-field:not(.input-field--label-outside) .input-field__input[data-v-e4fac465]:not(:focus)::placeholder {
  opacity: 0;
}
.input-field__label[data-v-e4fac465] {
  --input-label-font-size: var(--default-font-size);
  position: absolute;
  margin-inline: var(--input-padding-start) var(--input-padding-end);
  max-width: fit-content;
  font-size: var(--input-label-font-size);
  inset-block-start: calc((var(--default-clickable-area) - 1lh) / 2);
  inset-inline: var(--border-width-input-focused, 2px);
  color: var(--color-text-maxcontrast);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick), background-color var(--animation-quick) var(--animation-slow);
}
.input-field__input:focus + .input-field__label[data-v-e4fac465], .input-field__input:not(:placeholder-shown) + .input-field__label[data-v-e4fac465] {
  --input-label-font-size: 13px;
  line-height: 1.5;
  inset-block-start: calc(-1.5 * var(--input-label-font-size) / 2);
  font-weight: 500;
  border-radius: var(--default-grid-baseline) var(--default-grid-baseline) 0 0;
  background-color: var(--color-main-background);
  padding-inline: var(--default-grid-baseline);
  margin-inline: calc(var(--input-padding-start) - var(--default-grid-baseline)) calc(var(--input-padding-end) - var(--default-grid-baseline));
  transition: height var(--animation-quick), inset-block-start var(--animation-quick), font-size var(--animation-quick), color var(--animation-quick);
}
.input-field__icon[data-v-e4fac465] {
  position: absolute;
  height: var(--default-clickable-area);
  width: var(--default-clickable-area);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.7;
  inset-block-end: 0;
}
.input-field__icon--leading[data-v-e4fac465] {
  inset-inline-start: 0px;
}
.input-field__icon--trailing[data-v-e4fac465] {
  inset-inline-end: 0px;
}
.input-field__trailing-button[data-v-e4fac465] {
  --button-size: calc(var(--default-clickable-area) - 2 * var(--border-width-input-focused, 2px)) !important;
  --button-radius: calc(var(--input-border-radius) - var(--border-width-input-focused, 2px));
}
.input-field__trailing-button.button-vue[data-v-e4fac465] {
  position: absolute;
  top: var(--border-width-input-focused, 2px);
  inset-inline-end: var(--border-width-input-focused, 2px);
}
.input-field__trailing-button.button-vue[data-v-e4fac465]:focus-visible {
  box-shadow: none !important;
}
.input-field__helper-text-message[data-v-e4fac465] {
  padding-block: 4px;
  padding-inline: var(--border-radius-large);
  display: flex;
  align-items: center;
  color: var(--color-text-maxcontrast);
}
.input-field__helper-text-message__icon[data-v-e4fac465] {
  margin-inline-end: 8px;
}
.input-field__helper-text-message--error[data-v-e4fac465] {
  color: var(--color-error-text);
}
.input-field__helper-text-message--success[data-v-e4fac465] {
  color: var(--color-success-text);
}`],sourceRoot:""}]);const r=n},87485:(f,d,t)=>{t.d(d,{F:()=>u});var l=t(32981);function u(){try{return(0,l.C)("core","capabilities")}catch{return console.debug("Could not find capabilities initial state fall back to _oc_capabilities"),"_oc_capabilities"in window?window._oc_capabilities:{}}}},32981:(f,d,t)=>{t.d(d,{C:()=>l});function l(u,o,s){const n=document.querySelector(`#initial-state-${u}-${o}`);if(n===null){if(s!==void 0)return s;throw new Error(`Could not find initial state ${o} of ${u}`)}try{return JSON.parse(atob(n.value))}catch{throw new Error(`Could not parse initial state ${o} of ${u}`)}}},39911:(f,d,t)=>{t.d(d,{A:()=>r});var l=t(51431);const u={name:"AlertCircleOutlineIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var o=function(){var i=this,c=i._self._c;return c("span",i._b({staticClass:"material-design-icon alert-circle-outline-icon",attrs:{"aria-hidden":i.title?null:"true","aria-label":i.title,role:"img"},on:{click:function(v){return i.$emit("click",v)}}},"span",i.$attrs,!1),[c("svg",{staticClass:"material-design-icon__svg",attrs:{fill:i.fillColor,width:i.size,height:i.size,viewBox:"0 0 24 24"}},[c("path",{attrs:{d:"M11,15H13V17H11V15M11,7H13V13H11V7M12,2C6.47,2 2,6.5 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20Z"}},[i.title?c("title",[i._v(i._s(i.title))]):i._e()])])])},s=[],n=(0,l.n)(u,o,s,!1,null,null);const r=n.exports},81124:(f,d,t)=>{t.d(d,{A:()=>r});var l=t(51431);const u={name:"ArrowRightIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var o=function(){var i=this,c=i._self._c;return c("span",i._b({staticClass:"material-design-icon arrow-right-icon",attrs:{"aria-hidden":i.title?null:"true","aria-label":i.title,role:"img"},on:{click:function(v){return i.$emit("click",v)}}},"span",i.$attrs,!1),[c("svg",{staticClass:"material-design-icon__svg",attrs:{fill:i.fillColor,width:i.size,height:i.size,viewBox:"0 0 24 24"}},[c("path",{attrs:{d:"M4,11V13H16L10.5,18.5L11.92,19.92L19.84,12L11.92,4.08L10.5,5.5L16,11H4Z"}},[i.title?c("title",[i._v(i._s(i.title))]):i._e()])])])},s=[],n=(0,l.n)(u,o,s,!1,null,null);const r=n.exports},25763:(f,d,t)=>{t.d(d,{C:()=>r});var l=t(51431);const u={name:"CheckIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var o=function(){var i=this,c=i._self._c;return c("span",i._b({staticClass:"material-design-icon check-icon",attrs:{"aria-hidden":i.title?null:"true","aria-label":i.title,role:"img"},on:{click:function(v){return i.$emit("click",v)}}},"span",i.$attrs,!1),[c("svg",{staticClass:"material-design-icon__svg",attrs:{fill:i.fillColor,width:i.size,height:i.size,viewBox:"0 0 24 24"}},[c("path",{attrs:{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}},[i.title?c("title",[i._v(i._s(i.title))]):i._e()])])])},s=[],n=(0,l.n)(u,o,s,!1,null,null);const r=n.exports},37899:(f,d,t)=>{t.d(d,{N:()=>T});var l=t(85072),u=t.n(l),o=t(97825),s=t.n(o),n=t(77659),r=t.n(n),m=t(55056),i=t.n(m),c=t(10540),v=t.n(c),g=t(41113),E=t.n(g),h=t(41354),C={};C.styleTagTransform=E(),C.setAttributes=i(),C.insert=r().bind(null,"head"),C.domAPI=s(),C.insertStyleElement=v();var k=u()(h.A,C);const w=h.A&&h.A.locals?h.A.locals:void 0;var x=t(70995),b=t(86241),a=t(39911),_=t(25763),B=t(39841),y=t(51431);const D={name:"NcInputField",components:{NcButton:x.A,AlertCircle:a.A,Check:_.C},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{value:{type:[String,Number],default:void 0},modelValue:{type:[String,Number],default:void 0},type:{type:String,default:"text",validator:p=>["text","password","email","tel","url","search","number"].includes(p)},label:{type:String,default:void 0},labelOutside:{type:Boolean,default:!1},placeholder:{type:String,default:void 0},showTrailingButton:{type:Boolean,default:!1},trailingButtonLabel:{type:String,default:""},success:{type:Boolean,default:!1},error:{type:Boolean,default:!1},helperText:{type:String,default:""},disabled:{type:Boolean,default:!1},pill:{type:Boolean,default:!1},inputClass:{type:[Object,String],default:""}},emits:["update:value","update:modelValue","update:model-value","trailing-button-click"],setup(){return{model:(0,B.u)("value","update:value",!0)}},computed:{computedId(){return this.$attrs.id&&this.$attrs.id!==""?this.$attrs.id:this.inputName},inputName(){return"input"+(0,b.G)()},hasLeadingIcon(){return this.$slots.default},hasTrailingIcon(){return this.success},hasPlaceholder(){return this.placeholder!==""&&this.placeholder!==void 0},computedPlaceholder(){return this.hasPlaceholder?this.placeholder:this.label},isValidLabel(){const p=this.label||this.labelOutside;return p||console.warn("You need to add a label to the NcInputField component. Either use the prop label or use an external one, as per the example in the documentation."),p},ariaDescribedby(){const p=[];return this.helperText.length>0&&p.push(`${this.inputName}-helper-text`),this.$attrs["aria-describedby"]&&p.push(this.$attrs["aria-describedby"]),p.join(" ")||null}},methods:{focus(){this.$refs.input.focus()},select(){this.$refs.input.select()},handleInput(p){const e=this.type==="number"&&typeof this.model=="number"?parseFloat(p.target.value,10):p.target.value;this.model=e},handleTrailingButtonClick(p){this.$emit("trailing-button-click",p)}}};var I=function(){var e=this,A=e._self._c;return A("div",{staticClass:"input-field",class:{"input-field--disabled":e.disabled,"input-field--label-outside":e.labelOutside||!e.isValidLabel,"input-field--leading-icon":e.hasLeadingIcon,"input-field--trailing-icon":e.showTrailingButton||e.hasTrailingIcon,"input-field--pill":e.pill}},[A("div",{staticClass:"input-field__main-wrapper"},[A("input",e._g(e._b({ref:"input",staticClass:"input-field__input",class:[e.inputClass,{"input-field__input--success":e.success,"input-field__input--error":e.error}],attrs:{id:e.computedId,type:e.type,disabled:e.disabled,placeholder:e.computedPlaceholder,"aria-describedby":e.ariaDescribedby,"aria-live":"polite"},domProps:{value:e.model?.toString()},on:{input:e.handleInput}},"input",e.$attrs,!1),e.$listeners)),!e.labelOutside&&e.isValidLabel?A("label",{staticClass:"input-field__label",attrs:{for:e.computedId}},[e._v(" "+e._s(e.label)+" ")]):e._e(),A("div",{directives:[{name:"show",rawName:"v-show",value:e.hasLeadingIcon,expression:"hasLeadingIcon"}],staticClass:"input-field__icon input-field__icon--leading"},[e._t("default")],2),e.showTrailingButton?A("NcButton",{staticClass:"input-field__trailing-button",attrs:{type:"tertiary-no-background","aria-label":e.trailingButtonLabel,disabled:e.disabled},on:{click:e.handleTrailingButtonClick},scopedSlots:e._u([{key:"icon",fn:function(){return[e._t("trailing-button-icon")]},proxy:!0}],null,!0)}):e.success||e.error?A("div",{staticClass:"input-field__icon input-field__icon--trailing"},[e.success?A("Check",{staticStyle:{color:"var(--color-success-text)"},attrs:{size:20}}):e.error?A("AlertCircle",{staticStyle:{color:"var(--color-error-text)"},attrs:{size:20}}):e._e()],1):e._e()],1),e.helperText.length>0?A("p",{staticClass:"input-field__helper-text-message",class:{"input-field__helper-text-message--error":e.error,"input-field__helper-text-message--success":e.success},attrs:{id:`${e.inputName}-helper-text`}},[e.success?A("Check",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e.error?A("AlertCircle",{staticClass:"input-field__helper-text-message__icon",attrs:{size:18}}):e._e(),e._v(" "+e._s(e.helperText)+" ")],1):e._e()])},P=[],L=(0,y.n)(D,I,P,!1,null,"e4fac465");const T=L.exports},43908:(f,d,t)=>{t.d(d,{N:()=>x});var l=t(37899),u=t(89916),o=t(81124),s=t(51431),n=t(97382),r=t(39841);const m={name:"UndoVariantIcon",emits:["click"],props:{title:{type:String},fillColor:{type:String,default:"currentColor"},size:{type:Number,default:24}}};var i=function(){var a=this,_=a._self._c;return _("span",a._b({staticClass:"material-design-icon undo-variant-icon",attrs:{"aria-hidden":a.title?null:"true","aria-label":a.title,role:"img"},on:{click:function(B){return a.$emit("click",B)}}},"span",a.$attrs,!1),[_("svg",{staticClass:"material-design-icon__svg",attrs:{fill:a.fillColor,width:a.size,height:a.size,viewBox:"0 0 24 24"}},[_("path",{attrs:{d:"M13.5,7A6.5,6.5 0 0,1 20,13.5A6.5,6.5 0 0,1 13.5,20H10V18H13.5C16,18 18,16 18,13.5C18,11 16,9 13.5,9H7.83L10.91,12.09L9.5,13.5L4,8L9.5,2.5L10.92,3.91L7.83,7H13.5M6,18H8V20H6V18Z"}},[a.title?_("title",[a._v(a._s(a.title))]):a._e()])])])},c=[],v=(0,s.n)(m,i,c,!1,null,null);const g=v.exports;(0,n.r)(n.e,n.d);const E=new Set(Object.keys(l.N.props)),h={name:"NcTextField",components:{NcInputField:l.N,Close:u.C,ArrowRight:o.A,Undo:g},inheritAttrs:!1,model:{prop:"modelValue",event:"update:modelValue"},props:{" ":{},...l.N.props,trailingButtonLabel:{type:String,default:""},trailingButtonIcon:{type:String,default:"close",validator:b=>["close","arrowRight","undo"].includes(b)}},emits:["update:value","update:modelValue","update:model-value"],setup(){return{model:(0,r.u)("value","update:value")}},computed:{propsAndAttrsToForward(){const b={undo:(0,n.a)("Undo changes"),close:(0,n.a)("Clear text"),arrowRight:(0,n.a)("Save changes")};return{...this.$attrs,...Object.fromEntries(Object.entries(this.$props).filter(([a])=>E.has(a))),trailingButtonLabel:this.trailingButtonLabel||b[this.trailingButtonIcon]}}},methods:{focus(){this.$refs.inputField.focus()},select(){this.$refs.inputField.select()}}};var C=function(){var a=this,_=a._self._c;return _("NcInputField",a._g(a._b({ref:"inputField",scopedSlots:a._u([a.type!=="search"?{key:"trailing-button-icon",fn:function(){return[a.trailingButtonIcon==="close"?_("Close",{attrs:{size:20}}):a.trailingButtonIcon==="arrowRight"?_("ArrowRight",{attrs:{size:20}}):a.trailingButtonIcon==="undo"?_("Undo",{attrs:{size:20}}):a._e()]},proxy:!0}:null],null,!0)},"NcInputField",a.propsAndAttrsToForward,!1),a.$listeners),[a._t("default")],2)},k=[],w=(0,s.n)(h,C,k,!1,null,null);const x=w.exports},16086:(f,d,t)=>{t.d(d,{A:()=>l});const l={beforeUpdate(){this.text=this.getText()},data(){return{text:this.getText()}},computed:{isLongText(){return this.text&&this.text.trim().length>20}},methods:{getText(){return this.$slots.default?this.$slots.default[0].text.trim():""}}}},5340:(f,d,t)=>{t.d(d,{A:()=>o});var l=t(16086);const u=function(s,n){let r=s.$parent;for(;r;){if(r.$options.name===n)return r;r=r.$parent}},o={mixins:[l.A],props:{icon:{type:String,default:""},name:{type:String,default:""},title:{type:String,default:""},closeAfterClick:{type:Boolean,default:!1},ariaLabel:{type:String,default:null},ariaHidden:{type:Boolean,default:null}},emits:["click"],computed:{isIconUrl(){try{return!!new URL(this.icon,this.icon.startsWith("/")?window.location.origin:void 0)}catch{return!1}}},methods:{onClick(s){if(this.$emit("click",s),this.closeAfterClick){const n=u(this,"NcActions");n&&n.closeMenu&&n.closeMenu(!1)}}}}},39841:(f,d,t)=>{t.d(d,{u:()=>u});var l=t(85471);function u(o,s,n=!1){const r=(0,l.nI)().proxy;return n&&r.$props[o]===void 0&&r.$props.modelValue===void 0&&l.Ay.util.warn(`Missing required prop: "modelValue" or old "${o}"`),(0,l.EW)({get(){return r.$props[o]!==void 0?r.$props[o]:r.$props.modelValue},set(i){r.$emit("update:modelValue",i),r.$emit("update:model-value",i),r.$emit(s,i)}})}}}]);})();

//# sourceMappingURL=talk-defaultVendors-node_modules_nextcloud_capabilities_dist_index_mjs-node_modules_nextcloud_vue_-e09394.js.map?v=94e31ece45abbf0ccbde