1import{h as c,g as l,C as d,P as p,I as u,a0 as f,n as v}from"./index.a83a0d04.js";import{W as _}from"./WebappLayout.17d2cc6e.js";import"./PendingInvitationsService.ddada549.js";import"./datetime.520a7f7e.js";import"./ModalContainerMixin.2ed26b84.js";import"./ConversationHelper.3fafe44f.js";import"./ConversationService.f0bdeae5.js";import"./TimeHelper.9422cdcd.js";import"./ClipboardService.dfe219e9.js";import"./IconClose.62c6f632.js";import"./UiField.3a8c4792.js";import"./InfiniteScroller.0e513df9.js";import"./ico-bell.41985c99.js";import"./ProviderOauth2Service.2b1c4223.js";import"./berrycast-tag.cccf157f.js";import"./ico-back.4464a8d5.js";import"./ico-download.da4a7294.js";import"./SmartImage.f30efac4.js";import"./ImageService.686448c3.js";import"./default_thumbnail.6f7d6858.js";import"./UserDropMenu.dc960523.js";import"./UiDivider.40509c76.js";import"./TheUserAvatar.f898e11d.js";import"./ico-videos.7227efc9.js";var b=Object.defineProperty,h=Object.getOwnPropertyDescriptor,x=(e,r,t,a)=>{for(var s=a>1?void 0:a?h(r,t):r,i=e.length-1,o;i>=0;i--)(o=e[i])&&(s=(a?o(r,t,s):o(s))||s);return a&&s&&b(r,t,s),s};let n=class extends c(p,u){constructor(){super(...arguments),this.comment="",this.succeed=!1}async submitFeedback(){!await this.$validator.validateAll("feedback")||(await l.post({url:"/user/feedbacks",data:{content:this.comment}}),this.succeed=!0,this.reset())}reset(){this.comment="",this.$validator.reset()}};n=x([d({components:{WebappLayout:_,UiHeading:f}})],n);var g=function(){var e=this,r=e.$createElement,t=e._self._c||r;return e.pageReady?t("WebappLayout",[t("template",{slot:"header"},[t("UiHeading",{attrs:{size:"3"}},[e._v(" "+e._s(e.$t("feedback.title")))])],1),t("form",{attrs:{novalidate:"true","data-vv-scope":"feedback"},on:{submit:function(a){return a.preventDefault(),e.submitFeedback(a)}}},[t("div",{staticClass:"form-group"},[t("div",{staticClass:"form-field",class:{"has-error":e.errors.has("feedback.comment")}},[t("label",[e._v(e._s(e.$t("feedback.fields.comment.label")))]),t("textarea",{directives:[{name:"validate",rawName:"v-validate",value:{required:!0,max:4096},expression:"{required: true, max: 4096}"},{name:"model",rawName:"v-model",value:e.comment,expression:"comment"}],attrs:{placeholder:e.$t("feedback.fields.comment.placeholder"),name:"comment"},domProps:{value:e.comment},on:{blur:function(a){e.succeed=!1},input:function(a){a.target.composing||(e.comment=a.target.value)}}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.errors.first("feedback.comment"),expression:"errors.first('feedback.comment')"}],staticClass:"error"},[e._v(e._s(e.errors.first("feedback.comment")))])])]),t("div",{staticClass:"form-group submit flex items-center justify-end"},[t("transition",{attrs:{name:"fade"}},[e.succeed?t("span",{staticClass:"text-layout-secondary-400"},[e._v(e._s(e.$t("feedback.succeed")))]):e._e()]),t("button",{staticClass:"btn btn--confirm"},[e._v(e._s(e.$t("feedback.fields.submit.label")))])],1)])],2):e._e()},k=[];const m={};var y=v(n,g,k,!1,C,"53f562ce",null,null);function C(e){for(let r in m)this[r]=m[r]}var K=function(){return y.exports}();export{K as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.