PageSourceSearch

https://szerzi.hu/common-a9447e45.f0f7b12d23096d35.js

js szerzi.hu collected 2026-10-04 13:25:12 UTC 42,793 bytes, 53 lines download raw bytes

1"use strict";(self.webpackChunkszerzi_front=self.webpackChunkszerzi_front||[]).push([[3226],{45931:($,h,r)=>{r.d(h,{F:()=>I});var e=r(94650),A=r(83092),O=r(81664),g=r(36895),z=r(66616),M=r(47044),v=r(47423),F=r(37570),N=r(79991),D=r(7463),S=r(5233);function P(m,x){if(1&m&&(e.TgZ(0,"span",6)(1,"span",7),e._UZ(2,"span",8),e.ALo(3,"safe"),e.ALo(4,"hyphen"),e.ALo(5,"definiteArticle"),e.qZA()()),2&m){const f=e.oxw();e.xp6(2),e.Q6J("innerHTML",e.xi3(3,1,e.xi3(4,4,e.lcZ(5,7,f.fieldHelp),f.progressLanguage),"html"),e.oJD)}}function R(m,x){if(1&m&&(e._UZ(0,"span",12),e.ALo(1,"safe"),e.ALo(2,"hyphen"),e.ALo(3,"definiteArticle")),2&m){const f=e.oxw(2);e.Q6J("innerHTML",e.xi3(1,1,e.xi3(2,4,e.lcZ(3,7,f.fieldDescription),f.progressLanguage),"html"),e.oJD)}}function w(m,x){if(1&m){const f=e.EpF();e.TgZ(0,"button",9),e.NdJ("click",function(){e.CHM(f);const E=e.oxw();return e.KtG(E.modalService.contractInformationModal(E.fieldDisplayName,E.fieldDescription,E.contractTitle,E.isOwned?E.progressID:null,E.contractTitle,!1,!1,E.matchmakingCategory))}),e.TgZ(1,"span",7),e._UZ(2,"span",8),e.ALo(3,"safe"),e.ALo(4,"hyphen"),e.ALo(5,"definiteArticle"),e._UZ(6,"i",10),e.YNc(7,R,4,9,"ng-template",null,11,e.W1O),e.qZA()()}if(2&m){const f=e.MAs(8),C=e.oxw();e.xp6(2),e.Q6J("innerHTML",e.xi3(3,2,e.xi3(4,5,e.lcZ(5,8,C.fieldHelp),C.progressLanguage),"html"),e.oJD),e.xp6(4),e.Q6J("nzTooltipTitle",f)}}let I=(()=>{class m{constructor(f,C){this.contractFormService=f,this.modalService=C}ngOnInit(){this.field&&this.field.displayElements.name&&(this.fieldDisplayName=this.contractFormService.parseMarkdownText(this.field.displayElements.name)),this.field&&this.field.displayElements.help&&(this.fieldHelp=this.contractFormService.parseMarkdownText(this.field.displayElements.help)),this.field&&this.field.displayElements.description&&(this.fieldDescription=this.contractFormService.parseMarkdownText(this.field.displayElements.description))}}return m.\u0275fac=function(f){return new(f||m)(e.Y36(A.R),e.Y36(O.Z))},m.\u0275cmp=e.Xpm({type:m,selectors:[["app-v1-field-notice"]],inputs:{field:"field",fieldName:"fieldName",parentForm:"parentForm",isContractEditable:"isContractEditable",isLawyer:"isLawyer",expertSegment:"expertSegment",isCustomClause:"isCustomClause",isCustomClauseConfirmed:"isCustomClauseConfirmed",progressLanguage:"progressLanguage",progressID:"progressID",contractTitle:"contractTitle",matchmakingCategory:"matchmakingCategory",isOwned:"isOwned"},decls:9,vars:12,consts:[[1,"markdown","noticeSection"],[1,"code-box-title","fieldName",3,"id"],[3,"innerHTML"],[1,"code-box-description","fieldDescription"],["class","hideOverflow",4,"ngIf"],["nz-button","","nzType","link","class","hideOverflow link-like-button",3,"click",4,"ngIf"],[1,"hideOverflow"],[1,"helpSpan"],[1,"helpTextSpan","listWithMargin","descriptionContent",3,"innerHTML"],["nz-button","","nzType","link",1,"hideOverflow","link-like-button",3,"click"],["nz-icon","","nz-tooltip","","nzType","question-circle","nzTheme","outline",1,"helpQuestionMark",3,"nzTooltipTitle"],["fieldDescriptionTemplate",""],[1,"listWithMargin","descriptionContent",3,"innerHTML"]],template:function(f,C){1&f&&(e.TgZ(0,"section",0)(1,"div",1),e._UZ(2,"p",2),e.ALo(3,"safe"),e.ALo(4,"hyphen"),e.ALo(5,"definiteArticle"),e.qZA(),e.TgZ(6,"div",3),e.YNc(7,P,6,9,"span",4),e.YNc(8,w,9,10,"button",5),e.qZA()()),2&f&&(e.xp6(1),e.Q6J("id",C.fieldName),e.xp6(1),e.Q6J("innerHTML",e.xi3(3,4,e.xi3(4,7,e.lcZ(5,10,C.fieldDisplayName),C.progressLanguage),"html"),e.oJD),e.xp6(5),e.Q6J("ngIf",C.fieldHelp&&!C.fieldDescription),e.xp6(1),e.Q6J("ngIf",C.fieldHelp&&C.fieldDescription))},dependencies:[g.O5,z.ix,M.w,v.Ls,F.SY,N.Y,D.N,S.y],styles:['@charset "UTF-8";.fieldName[_ngcontent-%COMP%]{position:relative;top:0}.fieldDescription[_ngcontent-%COMP%]{padding-top:12px}.noticeSection[_ngcontent-%COMP%]{margin-top:-12px;border:0px}.helpSpan[_ngcontent-%COMP%]{white-space:nowrap}.helpTextSpan[_ngcontent-%COMP%]{white-space:normal}.helpQuestionMark[_ngcontent-%COMP%]{vertical-align:0;margin-left:5px}.code-box-title[_ngcontent-%COMP%]{background:none!important}']}),m})()},3930:($,h,r)=>{r.d(h,{U:()=>j});
1var e=r(94650),A=r(83092),O=r(36895),g=r(24006),z=r(66616),M=r(47044),v=r(73679),F=r(36704),N=r(35635),D=r(37096),S=r(6497),P=r(37570),R=r(83481),w=r(53891),I=r(94452),m=r(6350),x=r(20246),f=r(25523),C=r(32925),E=r(79991);
2/*
3     * @license
4     * Szerzi UG (haftungsbeschränkt) CONFIDENTIAL
5     * Unpublished Copyright (c) 2021 Szerzi UG (haftungsbeschränkt), All Rights Reserved.
6     *
7     * NOTICE: All information contained herein is, and remains the property of Szerzi UG (haftungsbeschränkt)
8     * The intellectual and technical concepts contained herein are proprietary to Szerzi UG (haftungsbeschränkt)
9     * and may be covered by E.U. and Foreign Patents, patents in process, and are protected by
10     * trade secret or copyright law.
11     *
12     * Dissemination of this information or reproduction of this material is strictly forbidden
13     * unless prior written permission is obtained from Szerzi UG (haftungsbeschränkt). Access to the source code
14     * obtained herein is hereby forbidden to anyone except current Szerzi UG (haftungsbeschränkt) employees,
15     * managers or contractors who have executed Confidentiality and Non-disclosure agreements
16     * explicitly covering such access.
17     *
18     * The copyright notice above does not evidence any actual or intended publication or disclosure
19     * of this source code, which includes information that is confidential and/or proprietary,
20     * and is a trade secret, of Szerzi UG (haftungsbeschränkt) ANY REPRODUCTION, MODIFICATION, DISTRIBUTION,
21     * PUBLIC PERFORMANCE, OR PUBLIC DISPLAY OF OR THROUGH USE OF THIS SOURCE CODE WITHOUT THE
22     * EXPRESS WRITTEN CONSENT OF Szerzi UG (haftungsbeschränkt) IS STRICTLY PROHIBITED, AND IN VIOLATION OF
23     * APPLICABLE LAWS AND INTERNATIONAL TREATIES. THE RECEIPT OR POSSESSION OF THIS SOURCE CODE
24     * AND/OR RELATED INFORMATION DOES NOT CONVEY OR IMPLY ANY RIGHTS TO REPRODUCE, DISCLOSE OR
25     * DISTRIBUTE ITS CONTENTS, OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT MAY DESCRIBE,
26     * IN WHOLE OR IN PART.
27     */function b(s,d){if(1&s){const o=e.EpF();e.TgZ(0,"button",11),e.NdJ("nzOnConfirm",function(){e.CHM(o);const c=e.oxw(3);return e.KtG(c.isContractEditable&&c.isCustomClauseConfirmed&&(c.isLawyer||!c.expertSegment)?c.contractFormService.deleteFieldValue(c.parentForm,c.fieldName):null)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.ALo(4,"translate"),e._uU(5),e.ALo(6,"translate"),e.qZA()}if(2&s){const o=e.oxw(3);e.s9C("nzPopconfirmTitle",o.isCustomClause?e.lcZ(1,5,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CUSTOM_CLAUSE_TITLE"):e.lcZ(2,7,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.TITLE")),e.s9C("nzCancelText",e.lcZ(3,9,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CANCEL")),e.s9C("nzOkText",e.lcZ(4,11,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.OK")),e.Q6J("nzCondition",!(o.isContractEditable&&o.isCustomClauseConfirmed)||!o.isLawyer&&o.expertSegment),e.xp6(5),e.hij(" ",e.lcZ(6,13,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE")," ")}}const Z=function(s){return{removeActiveBorder:s}},V=function(s){return{disabled:s}},U=function(s,d,o){return{alignToSuffix:s,removeInnerBorderAndShadow:d,"cursor-default readOnlyInput":o}};function L(s,d){if(1&s){const o=e.EpF();e.TgZ(0,"nz-form-control",7)(1,"nz-input-group",8)(2,"nz-input-number",9),e.NdJ("nzFocus",function(){e.CHM(o);const c=e.oxw(2);return e.KtG(c.focusChange(!0))})("nzBlur",function(){e.CHM(o);const c=e.oxw(2);return e.KtG(c.focusChange(!1))}),e.ALo(3,"translate"),e.ALo(4,"translate"),e.ALo(5,"translate"),e.ALo(6,"translate"),e.ALo(7,"translate"),e.ALo(8,"translate"),e.qZA()(),e.YNc(9,b,7,15,"button",10),e.qZA()}if(2&s){e.oxw();const o=e.MAs(9),p=e.MAs(7),c=e.MAs(5),i=e.oxw();e.Q6J("nzErrorTip",o)("nzWarningTip",o),e.xp6(1),e.ekj("ant-zorro-input-error",i.parentForm.controls[i.fieldName].touched&&(i.parentForm.controls[i.fieldName].hasError("required")||i.parentForm.controls[i.fieldName].hasError("error")))("ant-zorro-input-warning",i.parentForm.controls[i.fieldName].touched&&i.parentForm.controls[i.fieldName].hasError("warning")),e.Q6J("nzSuffix",i.field.specification.field.suffix?p:null)("nzPrefix",i.field.specification.field.prefix?c:null)("ngClass",e.VKq(36,Z,!i.isLawyer&&i.expertSegment)),e.xp6(1),e.ekj("ant-zorro-input-error",i.parentForm.controls[i.fieldName].touched&&(i.parentForm.controls[i.fieldName].hasError("required")||i.parentForm.controls[i.fieldName].hasError("error")))("ant-zorro-input-warning",i.parentForm.controls[i.fieldName].touched&&i.parentForm.controls[i.fieldName].hasError("warning")),e.Q6J("nz-input-number-formatted",e.VKq(38,V,!i.field.specification.field.grouping))("ngClass",e.kEZ(40,U,i.field.specification.field.suffix,i.field.specification.field.prefix||i.field.specification.field.suffix,!(i.isContractEditable&&i.isCustomClauseConfirmed)||!i.isLawyer&&i.expertSegment))("formControlName",i.fieldName)("id",i.fieldName)("nzPlaceHolder",i.field.specification.field.placeholder?e.lcZ(3,24,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+i.field.specification.field.placeholder:"")("nzMin",i.field.specification.field.negative?-i.Infinity:0)("nzPrecision",i.field.specification.field.double?null:0)("nzStep",1)("nzDisabled",!(i.isContractEditable&&i.isCustomClauseConfirmed)||!i.isLawyer&&i.expertSegment)("nzTooltipTitle",!i.isLawyer&&i.expertSegment?e.lcZ(4,26,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):i.isCu
27stomClauseConfirmed?i.isContractEditable?null:i.isEditedByOther?e.lcZ(6,30,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(i.isOwned?" "+e.lcZ(7,32,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):e.lcZ(8,34,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):e.lcZ(5,28,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED")),e.xp6(7),e.Q6J("ngIf",!i.field.specification.required&&i.parentForm.controls[i.fieldName].value&&(i.isLawyer||!i.expertSegment))}}function W(s,d){if(1&s&&e._UZ(0,"app-v1-multiple-field",15),2&s){e.oxw();const o=e.MAs(3),p=e.oxw(2);e.Q6J("field",p.field)("fieldName",p.fieldName)("parentForm",p.parentForm)("isContractEditable",p.isContractEditable)("isLawyer",p.isLawyer)("expertSegment",p.expertSegment)("isCustomClause",p.isCustomClause)("isCustomClauseConfirmed",p.isCustomClauseConfirmed)("template",o)("id",p.fieldName)}}const B=function(s,d){return{alignToSuffix:s,removeInnerBorderAndShadow:d}};function y(s,d){if(1&s){const o=e.EpF();e.TgZ(0,"div",16)(1,"nz-form-control",17)(2,"nz-input-group",18)(3,"nz-input-number",19),e.NdJ("nzFocus",function(){e.CHM(o);const c=e.oxw(3);return e.KtG(c.focusChange(!0))})("nzBlur",function(){e.CHM(o);const c=e.oxw(3);return e.KtG(c.focusChange(!1))}),e.ALo(4,"translate"),e.ALo(5,"translate"),e.ALo(6,"translate"),e.ALo(7,"translate"),e.ALo(8,"translate"),e.ALo(9,"translate"),e.qZA()()()()}if(2&s){const o=d.index;e.oxw(2);const p=e.MAs(9),c=e.MAs(7),i=e.MAs(5),a=e.oxw();e.Q6J("formGroupName",o),e.xp6(1),e.Q6J("nzValidateStatus",a.parentForm.controls[a.fieldName])("nzErrorTip",p)("nzWarningTip",p),e.xp6(1),e.Q6J("nzSuffix",a.field.specification.field.suffix?c:null)("nzPrefix",a.field.specification.field.prefix?i:null),e.xp6(1),e.ekj("ant-zorro-input-error",a.parentForm.controls[a.fieldName].touched&&(a.parentForm.controls[a.fieldName].hasError("required")||a.parentForm.controls[a.fieldName].hasError("error")))("ant-zorro-input-warning",a.parentForm.controls[a.fieldName].touched&&a.parentForm.controls[a.fieldName].hasError("warning")),e.Q6J("ngClass",e.WLB(31,B,a.field.specification.field.suffix,a.field.specification.field.prefix||a.field.specification.field.suffix))("id",o)("formControlName","control")("nzPlaceHolder",a.field.specification.field.placeholder?e.lcZ(4,19,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+a.field.specification.field.placeholder:"")("nzMin",a.field.specification.field.negative?-a.Infinity:0)("nzPrecision",a.field.specification.field.double?null:0)("nzStep",1)("nzDisabled",!(a.isContractEditable&&a.isCustomClauseConfirmed)||!a.isLawyer&&a.expertSegment)("nzTooltipTitle",!a.isLawyer&&a.expertSegment?e.lcZ(5,21,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):a.isCustomClauseConfirmed?a.isContractEditable?null:a.isEditedByOther?e.lcZ(7,25,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(a.isOwned?" "+e.lcZ(8,27,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):e.lcZ(9,29,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):e.lcZ(6,23,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED"))}}function K(s,d){if(1&s&&(e.TgZ(0,"div",12),e.YNc(1,W,1,10,"app-v1-multiple-field",13),e.YNc(2,y,10,34,"ng-template",null,14,e.W1O),e.qZA()),2&s){const o=e.oxw(2);e.Q6J("formArrayName",o.fieldName),e.xp6(1),e.Q6J("ngIf",o.field.specification.field.multipliable)}}function J(s,d){if(1&s){const o=e.EpF();e.TgZ(0,"div",12)(1,"app-multipliable-input",20),e.NdJ("focus",function(){e.CHM(o);const c=e.oxw(2);return e.KtG(c.focusChange(!0))})("blur",function(){e.CHM(o);const c=e.oxw(2);return e.KtG(c.focusChange(!1))}),e.qZA()()}if(2&s){const o=e.oxw(2);e.Q6J("formArrayName",o.fieldName),e.xp6(1),e.Q6J("field",o.field)("fieldName",o.fieldName)("parentForm",o.parentForm)("isContractEditable",o.isContractEditable)("isEditedByOther",o.isEditedByOther)("isOwned",o.isOwned)("isLawyer",o.isLawyer)("expertSegment",o.expertSegment)("isCustomClauseConfirmed",o.isCustomClauseConfirmed)("progressLanguage",o.progressLanguage)("id",o.fieldName)}}function H(s,d){if(1&s&&e._UZ(0,"span",22),2&s){const o=e.oxw(3);e.Q6J("innerHTML",o.field.specification.field.prefix,e.oJD)}}function G(s,d){if(1&s&&e.YNc(0,H,1,1,"span",21),2&s){const o=e.oxw(2);e.Q6J("ngIf",o.field.specification.field.prefix)}}function Q(s,d){if(1&s&&e._UZ(0,"span",22),2&s){const o=e.oxw(3);e.Q6J("innerHTML",o.field.specification.field.suffix,e.oJD)}}function k(s,d){if(1&s&&e.YNc(0,Q,1,1,"span",21),2&s){const o=e.oxw(2);
27e.Q6J("ngIf",o.field.specification.field.suffix)}}function Y(s,d){if(1&s&&(e._UZ(0,"app-v1-field-validation",23),e.ALo(1,"definiteArticle")),2&s){const o=d.$implicit,p=e.oxw(2);e.Q6J("control",o)("name",e.lcZ(1,4,p.fieldDisplayName))("validationText",p.field.specification.field.validation?p.field.specification.field.validation.text:null)("progressLanguage",p.progressLanguage)}}function X(s,d){if(1&s&&(e.TgZ(0,"app-v1-field",1),e.YNc(1,L,10,44,"nz-form-control",2),e.YNc(2,K,4,2,"div",3),e.YNc(3,J,2,12,"div",3),e.YNc(4,G,1,1,"ng-template",null,4,e.W1O),e.YNc(6,k,1,1,"ng-template",null,5,e.W1O),e.YNc(8,Y,2,6,"ng-template",null,6,e.W1O),e.qZA()),2&s){const o=e.oxw();e.Q6J("field",o.field)("formGroup",o.parentForm)("progressLanguage",o.progressLanguage)("progressID",o.progressID)("contractTitle",o.contractTitle)("fieldName",o.fieldName)("parentForm",o.parentForm)("isLawyer",o.isLawyer)("expertSegment",o.expertSegment)("formWidth",o.formWidth)("matchmakingCategory",o.matchmakingCategory)("isOwned",o.isOwned),e.xp6(1),e.Q6J("ngIf",!o.field.specification.field.multipliable),e.xp6(1),e.Q6J("ngIf",o.field.specification.field.multipliable&&(!o.field.specification.field.multipliable.delimiter||!o.field.specification.field.multipliable.exactly)),e.xp6(1),e.Q6J("ngIf",o.field.specification.field.multipliable&&o.field.specification.field.multipliable.delimiter&&o.field.specification.field.multipliable.exactly)}}let j=(()=>{class s{constructor(o){this.contractFormService=o,this.Infinity=1/0,this.focusEmitter=new e.vpe}ngOnInit(){this.field&&this.field.displayElements.name&&(this.fieldDisplayName=this.contractFormService.parseMarkdownText(this.field.displayElements.name))}focusChange(o){this.focusEmitter.emit(o)}}return s.\u0275fac=function(o){return new(o||s)(e.Y36(A.R))},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-v1-field-number"]],inputs:{field:"field",fieldName:"fieldName",parentForm:"parentForm",isContractEditable:"isContractEditable",isEditedByOther:"isEditedByOther",isOwned:"isOwned",isLawyer:"isLawyer",expertSegment:"expertSegment",isCustomClause:"isCustomClause",isCustomClauseConfirmed:"isCustomClauseConfirmed",progressLanguage:"progressLanguage",progressID:"progressID",contractTitle:"contractTitle",formWidth:"formWidth",matchmakingCategory:"matchmakingCategory"},outputs:{focusEmitter:"focusEmitter"},decls:1,vars:1,consts:[[3,"field","formGroup","progressLanguage","progressID","contractTitle","fieldName","parentForm","isLawyer","expertSegment","formWidth","matchmakingCategory","isOwned",4,"ngIf"],[3,"field","formGroup","progressLanguage","progressID","contractTitle","fieldName","parentForm","isLawyer","expertSegment","formWidth","matchmakingCategory","isOwned"],[3,"nzErrorTip","nzWarningTip",4,"ngIf"],[3,"formArrayName",4,"ngIf"],["prefixTemplateUser",""],["suffixTemplateInfo",""],["errorTemplate",""],[3,"nzErrorTip","nzWarningTip"],[1,"p-t-0","p-b-0","inputGroup",3,"nzSuffix","nzPrefix","ngClass"],["input-backslash-replace","","nz-tooltip","","nzTooltipPlacement","top",1,"w-100",3,"nz-input-number-formatted","ngClass","formControlName","id","nzPlaceHolder","nzMin","nzPrecision","nzStep","nzDisabled","nzTooltipTitle","nzFocus","nzBlur"],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom","class","change-options link-like-button","style","float: right",3,"nzPopconfirmTitle","nzCondition","nzCancelText","nzOkText","nzOnConfirm",4,"ngIf"],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom",1,"change-options","link-like-button",2,"float","right",3,"nzPopconfirmTitle","nzCondition","nzCancelText","nzOkText","nzOnConfirm"],[3,"formArrayName"],[3,"field","fieldName","parentForm","isContractEditable","isLawyer","expertSegment","isCustomClause","isCustomClauseConfirmed","template","id",4,"ngIf"],["multipleTemplate",""],[3,"field","fieldName","parentForm","isContractEditable","isLawyer","expertSegment","isCustomClause","isCustomClauseConfirmed","template","id"],[1,"display-inline-flex","w-100",3,"formGroupName"],[3,"nzValidateStatus","nzErrorTip","nzWarningTip"],[3,"nzSuffix","nzPrefix"],["input-backslash-replace","","nz-tooltip","","nzTooltipPlacement","top",1,"w-100",3,"ngClass","id","formControlName","nzPlaceHolder","nzMin","nzPrecision","nzStep","nzDisabled","nzTooltipTitle","nzFocus","nzBlur"],[3,"field","fieldName","parentForm","isContractEditable","isEditedByOther","isOwned","isLawyer","expertSegment","isCustomClauseConfirmed","progressLanguage","id","focus","blur"],[3,"innerHTML",4,"ngIf"],[3,"innerHTML"],[3,"control","name","validationText","progressLanguage"]],template:function(o,p){1&o&&e.YNc(0,X,10,15,"app-v1-field",0),2&o&&e.Q6J("ngIf",p.field)},dependencies:[O.mk,O.O5,g.JJ,g.JL,g.sg,g.u,g.x0,g.CE,z.ix,M.w,v.t3,F.Fd,N.gB,N.ke,D._V,S.JW,P.SY,R.v,w.$,I.f,m.a,x.q,f.w,C.X$,E.Y],styles:['@charset "UTF-8";.brand-success[_ngcontent-%COMP%]{color:#92ddea!important}.brand-failure[_ngcontent-%COMP%]{color:#9579d1!important}.brand-red[_ngcontent-%COMP%]{color:#de4436!important}.brand-success-bg-border[_ngcontent-%COMP%]{background-color:#92ddea!important;border-color:#92ddea!important;color:#fff!important}.brand-failure-bg-border[_ngcontent-%COMP%]{background-color:#ffa5d8!important;border-color:#ffa5d8!important;color:#fff!important}[_nghost-%COMP%]     .ant-input-number-handler-wrap{display:none}.removeInnerBorderAndShadow[_ngcontent-%COMP%]{border:transparent solid 1px!important;box-shadow:none!important}[_nghost-%COMP%]     .alignToSuffix input{text-align:right}.inputGroup[_ngcontent-%COMP%]:hover{border-color:#9579d1}']}),s})()},68328:($,h,r)=>{r.d(h,{k:()=>c});var e=r(94650),A=r(83092),O=r(36895),g=r(24006),z=r(59166),M=r(66616),v=r(47044),F=r(21811),N=r(2577),D=r
27(73679),S=r(36704),P=r(47423),R=r(35635),w=r(6497),I=r(38231),m=r(37570),x=r(53891),f=r(94452),C=r(6350),E=r(20246),b=r(32925),Z=r(79991);
28/*
29     * @license
30     * Szerzi UG (haftungsbeschränkt) CONFIDENTIAL
31     * Unpublished Copyright (c) 2021 Szerzi UG (haftungsbeschränkt), All Rights Reserved.
32     *
33     * NOTICE: All information contained herein is, and remains the property of Szerzi UG (haftungsbeschränkt)
34     * The intellectual and technical concepts contained herein are proprietary to Szerzi UG (haftungsbeschränkt)
35     * and may be covered by E.U. and Foreign Patents, patents in process, and are protected by
36     * trade secret or copyright law.
37     *
38     * Dissemination of this information or reproduction of this material is strictly forbidden
39     * unless prior written permission is obtained from Szerzi UG (haftungsbeschränkt). Access to the source code
40     * obtained herein is hereby forbidden to anyone except current Szerzi UG (haftungsbeschränkt) employees,
41     * managers or contractors who have executed Confidentiality and Non-disclosure agreements
42     * explicitly covering such access.
43     *
44     * The copyright notice above does not evidence any actual or intended publication or disclosure
45     * of this source code, which includes information that is confidential and/or proprietary,
46     * and is a trade secret, of Szerzi UG (haftungsbeschränkt) ANY REPRODUCTION, MODIFICATION, DISTRIBUTION,
47     * PUBLIC PERFORMANCE, OR PUBLIC DISPLAY OF OR THROUGH USE OF THIS SOURCE CODE WITHOUT THE
48     * EXPRESS WRITTEN CONSENT OF Szerzi UG (haftungsbeschränkt) IS STRICTLY PROHIBITED, AND IN VIOLATION OF
49     * APPLICABLE LAWS AND INTERNATIONAL TREATIES. THE RECEIPT OR POSSESSION OF THIS SOURCE CODE
50     * AND/OR RELATED INFORMATION DOES NOT CONVEY OR IMPLY ANY RIGHTS TO REPRODUCE, DISCLOSE OR
51     * DISTRIBUTE ITS CONTENTS, OR TO MANUFACTURE, USE, OR SELL ANYTHING THAT IT MAY DESCRIBE,
52     * IN WHOLE OR IN PART.
53     */const V=["suggestionSelect"],U=["textareaInput"],L=function(i){return{removeActiveBorder:i}};function W(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"textarea",10,11),e.NdJ("focus",function(){e.CHM(t);const l=e.oxw(3);return e.KtG(l.focusChange(!0))})("blur",function(){e.CHM(t);const l=e.oxw(3);return e.KtG(l.focusChange(!1))})("keydown",function(l){e.CHM(t);const _=e.oxw(3);return e.KtG(_.onKeydown(l))}),e.ALo(2,"translate"),e.qZA()}if(2&i){const t=e.oxw(3);e.ekj("ant-zorro-input-error",t.parentForm.controls[t.fieldName].touched&&(t.parentForm.controls[t.fieldName].hasError("required")||t.parentForm.controls[t.fieldName].hasError("error")))("ant-zorro-input-warning",t.parentForm.controls[t.fieldName].touched&&t.parentForm.controls[t.fieldName].hasError("warning")),e.Q6J("id",t.fieldName)("placeholder",t.field.specification.field.placeholder?e.lcZ(2,9,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+t.field.specification.field.placeholder:"")("formControlName",t.fieldName)("readonly",!(t.isContractEditable&&t.isCustomClauseConfirmed)||!t.isLawyer&&t.expertSegment)("ngClass",e.VKq(11,L,!t.isLawyer&&t.expertSegment))}}function B(i,a){if(1&i&&e._UZ(0,"nz-option",15),2&i){const t=a.$implicit;e.Q6J("nzLabel",t)("nzValue",t)}}const y=function(i){return{readOnlyInput:i}};function K(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"nz-select",12,13),e.NdJ("nzOpenChange",function(l){e.CHM(t);const _=e.oxw(3);return e.KtG(_.dropdownOpen=l)}),e.ALo(2,"translate"),e.ALo(3,"translate"),e.ALo(4,"translate"),e.ALo(5,"translate"),e.ALo(6,"translate"),e.ALo(7,"translate"),e.YNc(8,B,1,2,"nz-option",14),e.qZA()}if(2&i){e.oxw();const t=e.MAs(9),n=e.oxw(2);e.ekj("ant-zorro-input-error",n.parentForm.controls[n.fieldName].touched&&(n.parentForm.controls[n.fieldName].hasError("required")||n.parentForm.controls[n.fieldName].hasError("error")))("ant-zorro-input-warning",n.parentForm.controls[n.fieldName].touched&&n.parentForm.controls[n.fieldName].hasError("warning")),e.Q6J("ngClass",e.VKq(27,y,!(n.isContractEditable&&n.isCustomClauseConfirmed)||!n.isLawyer&&n.expertSegment))("id",n.fieldName)("nzShowSearch",n.listOfItem.length>5)("formControlName",n.fieldName)("nzOpen",n.dropdownOpen)("nzDisabled",!(n.isContractEditable&&n.isCustomClauseConfirmed)||!n.isLawyer&&n.expertSegment)("nzTooltipTitle",!n.isLawyer&&n.expertSegment?e.lcZ(2,15,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):n.isCu
53stomClauseConfirmed?n.isContractEditable?null:n.isEditedByOther?e.lcZ(4,19,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(n.isOwned?" "+e.lcZ(5,21,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):e.lcZ(6,23,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):e.lcZ(3,17,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED"))("nzDropdownRender",t)("nzPlaceHolder",n.field.specification.field.placeholder?e.lcZ(7,25,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+n.field.specification.field.placeholder:""),e.xp6(8),e.Q6J("ngForOf",n.listOfItem)("ngForTrackBy",n.trackBySuggestion)}}function J(i,a){if(1&i){const t=e.EpF();e._UZ(0,"nz-divider"),e.TgZ(1,"div",16)(2,"textarea",17,18),e.NdJ("keydown",function(l){e.CHM(t);const _=e.oxw(3);return e.KtG(_.onKeydown(l))}),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"button",19),e.NdJ("click",function(){e.CHM(t);const l=e.MAs(3),_=e.oxw(3);return e.KtG(_.addItem(l))}),e._UZ(6,"i",20),e._uU(7),e.ALo(8,"translate"),e.qZA()()}if(2&i){const t=e.oxw(3);e.xp6(2),e.Q6J("id",t.fieldName)("placeholder",t.field.specification.field.placeholder?e.lcZ(4,7,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+t.field.specification.field.placeholder:"")("readonly",!(t.isContractEditable&&t.isCustomClauseConfirmed)||!t.isLawyer&&t.expertSegment)("value",t.listOfItem&&t.field&&t.field.specification.field.suggestions&&t.listOfItem.length>t.field.specification.field.suggestions.length?t.listOfItem[t.listOfItem.length-1]:"")("ngClass",e.VKq(11,L,!t.isLawyer&&t.expertSegment)),e.xp6(3),e.Q6J("nzSize","small"),e.xp6(2),e.hij("",e.lcZ(8,9,"CLIENT.CONTRACTS.FIELD.TEXT.I_PROVIDE_MY_OWN")," ")}}function H(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"button",21),e.NdJ("nzOnConfirm",function(){e.CHM(t);const l=e.oxw(3);return e.KtG(l.isContractEditable&&l.isCustomClauseConfirmed&&(l.isLawyer||!l.expertSegment)?l.contractFormService.deleteFieldValue(l.parentForm,l.fieldName):null)}),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.ALo(4,"translate"),e._uU(5),e.ALo(6,"translate"),e.qZA()}if(2&i){const t=e.oxw(3);e.s9C("nzPopconfirmTitle",t.isCustomClause?e.lcZ(1,4,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CUSTOM_CLAUSE_TITLE"):e.lcZ(2,6,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.TITLE")),e.s9C("nzCancelText",e.lcZ(3,8,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.CANCEL")),e.s9C("nzOkText",e.lcZ(4,10,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE_POPCONFIRM.OK")),e.xp6(5),e.hij(" ",e.lcZ(6,12,"CLIENT.CONTRACTS.FIELD.CLEAR_VALUE")," ")}}function G(i,a){if(1&i&&(e.TgZ(0,"nz-form-control",5),e.ALo(1,"translate"),e.ALo(2,"translate"),e.ALo(3,"translate"),e.ALo(4,"translate"),e.ALo(5,"translate"),e.YNc(6,W,3,13,"textarea",6),e.YNc(7,K,9,29,"nz-select",7),e.YNc(8,J,9,13,"ng-template",null,8,e.W1O),e.YNc(10,H,7,14,"button",9),e.qZA()),2&i){e.oxw();const t=e.MAs(4),n=e.oxw();e.Q6J("nzValidateStatus",n.parentForm.controls[n.fieldName])("nzErrorTip",t)("nzWarningTip",t)("nzTooltipTitle",!n.isLawyer&&n.expertSegment?e.lcZ(1,7,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):n.isCustomClauseConfirmed?n.isContractEditable?null:n.isEditedByOther?e.lcZ(3,11,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(n.isOwned?" "+e.lcZ(4,13,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):e.lcZ(5,15,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):e.lcZ(2,9,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED")),e.xp6(6),e.Q6J("ngIf",0===n.listOfItem.length),e.xp6(1),e.Q6J("ngIf",n.listOfItem.length>0),e.xp6(3),e.Q6J("ngIf",!n.field.specification.required&&n.parentForm.controls[n.fieldName].value&&(n.isLawyer||!n.expertSegment))}}function Q(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"app-v1-multiple-field",25),e.NdJ("addedField",function(l){e.CHM(t);const _=e.oxw(3);return e.KtG(_.handleAddedField(l))})("removedField",function(l){e.CHM(t);const _=e.oxw(3);return e.KtG(_.handleRemovedField(l))}),e.qZA()}if(2&i){e.oxw();const t=e.MAs(3),n=e.oxw(2);e.Q6J("field",n.field)("fieldName",n.fieldName)("parentForm",n.parentForm)("isContractEditable",n.isContractEditable)("isCustomClause",n.isCustomClause)("isCustomClauseConfirmed",n.isCustomClauseConfirmed)("isLawyer",n.isLawyer)("expertSegment",n.expertSegment)("template",t)("id",n.fieldName)}}function k(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"textarea",30,11),e.NdJ("focus",function(){e.CHM(t);const l=e.oxw(4);
53return e.KtG(l.focusChange(!0))})("blur",function(){e.CHM(t);const l=e.oxw(4);return e.KtG(l.focusChange(!1))}),e.ALo(2,"translate"),e.qZA()}if(2&i){const t=e.oxw(),n=t.control,l=t.index,_=t.placeholder,T=e.oxw(3);e.ekj("ant-zorro-input-error",n&&n.controls&&n.controls.control&&n.touched&&(n.controls.control.hasError("required")||n.controls.control.hasError("error")))("ant-zorro-input-warning",n&&n.controls&&n.controls.control&&n.controls.control.touched&&n.controls.control.hasError("warning")),e.Q6J("id",l)("formControlName","control")("placeholder",_?e.lcZ(2,9,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+_:"")("readonly",!(T.isContractEditable&&T.isCustomClauseConfirmed)||!T.isLawyer&&T.expertSegment)("ngClass",e.VKq(11,L,!T.isLawyer&&T.expertSegment))}}function Y(i,a){if(1&i&&e._UZ(0,"nz-option",15),2&i){const t=a.$implicit;e.Q6J("nzLabel",t)("nzValue",t)}}function X(i,a){if(1&i){const t=e.EpF();e.TgZ(0,"nz-select",12,13),e.NdJ("nzOpenChange",function(l){e.CHM(t);const _=e.oxw().index,T=e.oxw(3);return e.KtG(T.dropdownOpenMultiple[_]=l)}),e.ALo(2,"translate"),e.ALo(3,"translate"),e.ALo(4,"translate"),e.ALo(5,"translate"),e.ALo(6,"translate"),e.ALo(7,"translate"),e.YNc(8,Y,1,2,"nz-option",14),e.qZA()}if(2&i){const t=e.oxw(),n=t.control,l=t.index,_=t.placeholder,T=e.MAs(10),u=e.oxw(3);e.ekj("ant-zorro-input-error",n&&n.controls&&n.controls.control&&n.touched&&(n.controls.control.hasError("required")||n.controls.control.hasError("error")))("ant-zorro-input-warning",n&&n.controls&&n.controls.control&&n.controls.control.touched&&n.controls.control.hasError("warning")),e.Q6J("ngClass",e.VKq(27,y,!(u.isContractEditable&&u.isCustomClauseConfirmed)||!u.isLawyer&&u.expertSegment))("id",l)("nzShowSearch",u.listOfItemMultiple[l].length>5)("formControlName","control")("nzOpen",u.dropdownOpenMultiple[l])("nzDisabled",!(u.isContractEditable&&u.isCustomClauseConfirmed)||!u.isLawyer&&u.expertSegment)("nzTooltipTitle",!u.isLawyer&&u.expertSegment?e.lcZ(2,15,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):u.isCustomClauseConfirmed?u.isContractEditable?null:u.isEditedByOther?e.lcZ(4,19,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(u.isOwned?" "+e.lcZ(5,21,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):e.lcZ(6,23,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):e.lcZ(3,17,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED"))("nzDropdownRender",T)("nzPlaceHolder",_?e.lcZ(7,25,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+_:""),e.xp6(8),e.Q6J("ngForOf",u.listOfItemMultiple[l])("ngForTrackBy",u.trackBySuggestion)}}function j(i,a){if(1&i){const t=e.EpF();e._UZ(0,"nz-divider"),e.TgZ(1,"div",16)(2,"textarea",17,18),e.NdJ("keydown",function(l){e.CHM(t);const _=e.oxw(4);return e.KtG(_.onKeydown(l))}),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"button",19),e.NdJ("click",function(){e.CHM(t);const l=e.MAs(3),_=e.oxw().index,T=e.oxw(3);return e.KtG(T.addItemMultipliable(l,_))}),e._UZ(6,"i",20),e._uU(7),e.ALo(8,"translate"),e.qZA()()}if(2&i){const t=e.oxw(),n=t.placeholder,l=t.index,_=e.oxw(3);e.xp6(2),e.Q6J("id",_.fieldName)("placeholder",n?e.lcZ(4,7,"CLIENT.CONTRACTS.FIELD.PLACEHOLDER_PREFIX")+n:"")("readonly",!(_.isContractEditable&&_.isCustomClauseConfirmed)||!_.isLawyer&&_.expertSegment)("value",_.listOfItemMultiple&&_.listOfItemMultiple[l]&&_.field&&_.field.specification.field.suggestions&&_.listOfItemMultiple[l].length>_.field.specification.field.suggestions.length?_.listOfItemMultiple[l][_.listOfItemMultiple[l].length-1]:"")("ngClass",e.VKq(11,L,!_.isLawyer&&_.expertSegment)),e.xp6(3),e.Q6J("nzSize","small"),e.xp6(2),e.hij("",e.lcZ(8,9,"CLIENT.CONTRACTS.FIELD.TEXT.I_PROVIDE_MY_OWN")," ")}}function s(i,a){if(1&i&&(e.TgZ(0,"div",26)(1,"nz-form-control",27),e.ALo(2,"translate"),e.ALo(3,"translate"),e.ALo(4,"translate"),e.ALo(5,"translate"),e.ALo(6,"translate"),e.YNc(7,k,3,13,"textarea",28),e.YNc(8,X,9,29,"nz-select",7),e.YNc(9,j,9,13,"ng-template",null,29,e.W1O),e.qZA()()),2&i){const t=a.index;e.oxw(2);const n=e.MAs(4),l=e.oxw();e.Q6J("formGroupName",t),e.xp6(1),e.Q6J("nzErrorTip",n)("nzWarningTip",n)("nzTooltipTitle",!l.isLawyer&&l.expertSegment?e.lcZ(2,6,"CLIENT.CONTRACTS.SEGMENT.EXPERT.WARNING"):l.isCustomClauseConfirmed?l.isContractEditable?null:l.isEditedByOther?e.lcZ(4,10,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER")+(l.isOwned?" "+e.lcZ(5,12,"CLIENT.CONTRACTS.FIELD.PERMISSION.EDITED_BY_OTHER_HINT"):""):e.lcZ(6,14,"CLIENT.CONTRACTS.FIELD.PERMISSION.WARNING"):e.lcZ(3,8,"CLIENT.CONTRACTS.SEGMENT.CUSTOM_CLAUSE.CONFIRM_NEEDED")),e.xp6(6),e.Q6J("ngIf",!l.listOfItemMultiple||!l.listOfItemMultiple[t]||0===l.listOfItemMultiple[t].length),e.xp6(1),e.Q6J("ngIf",l.listOfItemMultiple&&l.listOfItemMultiple[t]&&l.listOfItemMultiple[t].length>0)}}function d(i,a){if(1&i&&(e.TgZ(0,"div",22),e.YNc(1,Q,1,10,"app-v1-multiple-field",23),e.YNc(2,s,11,16,"ng-template",null,24,e.W1O),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("formArrayName",t.fieldName),e.xp6(1),e.Q6J("ngIf",t.field.specification.field.multipliable)}}function o(i,a){if(1&i&&(e._UZ(0,"app-v1-field-validation",31),e.ALo(1,"definiteArticle")),2&i){const t=a.$implicit,n=e.oxw(2);e.Q6J("control",t)("name",e.lcZ(1,4,n.fieldDisplayName))("validationText",n.field.specification.field.validation?n.field.specification.field.validation.text:null)("progressLanguage",n.progressLanguage)}}function p(i,a){if(1&i&&(e.TgZ(0,"app-v1-field",1),e.YNc(1,G,11,17,"nz-form-control",2),e.YNc(2,d,4,2,"div",3),e.YNc(3,o,2,6,"ng-template",null,4,e.W1O),e.qZA()),2&i){const t=e.oxw();e.Q6J("field",t.field)("formGroup",t.parentForm)("progressLanguage",t.progressLanguage)("progressID",t.progressID)("contractTitle",t.contractTitle)("fieldName",t.fieldName)("parentForm",t.parentForm)("isLawyer",t.isLawyer)("expertSegment",t.expertSegment)("formWidth",t.formWidth)("matchmakingCategory",t.matchmakingCategory)("isOwned",t.isOwned),e.xp6(1),e.Q6J("ngIf",!t.field.specification.field.multipliable),e.xp6(1),e.Q6J("ngIf",t.field.specification.field.multipliable)}}let c=(()=>{class i{constructor(t){this.contractFormService=t,this.focusEmitter=new e.vpe,this.listOfItem=[],this.listOfItemMultiple=[],this.index=0,this.dropdownOpen=!1,this.dropdownOpenMultiple=[]}ngOnInit(){this.field&&this.field.displayElements.name&&(this.fieldDisplayName=this.contractFormService.parseMarkdownText(this.field.displayElements.name)),this.field&&this.field.specification.field.suggestions&&this.field.specification.field.suggestions.length>0&&(this.field.specification.field.multipliable?(this.listOfItemMultiple=this.parentForm.controls[this.fieldName].controls.map((t,n)=>this.field.variableValue&&this.field.variableValue[n]&&!this.field.specification.field.suggestions.includes(this.field.variableValue[n])?[...this.field.specification.field.suggestions,this.field.variableValue[n]]:[...this.field.specification.field.suggestions]),this.dropdownOpenMultiple=Array(this.parentForm.controls[this.fieldName].controls.length).fill(!1)):this.listOfItem=this.field.variableValue&&!this.field.specification.field.suggestions.includes(this.field.variableValue)?[...this.field.specification.field.suggestions,this.field.variableValue]:[...this.field.specification.field.suggestions])}ngAfterViewInit(){this.updateTextareaSizes(),this.parentForm.valueChanges.subscribe(t=>{Object.keys(t).includes(this.fieldName)&&this.updateTextareaSizes()})}updateTextareaSizes(t){this.expertSegment&&!this.isLawyer&&t?this.autoGrowTextZone(t.target):this.expertSegment&&!this.isLawyer&&this.textareaInputList&&this.textareaInputList.forEach(n=>{this.autoGrowTextZone(n.nativeElement)})}focusChange(t){this.focusEmitter.emit(t)}autoGrowTextZone(t){t.style.height="0px",t.style.height=t.scrollHeight+5+"px"}addItem(t){const n=t.value;if(n.length>0){let l=this.listOfItem.indexOf(n);-1===l?(this.listOfItem=[...this.field.specification.field.suggestions,t.value],l=this.listOfItem.length-1):l+1<this.listOfItem.length&&(this.listOfItem=[...this.field.specification.field.suggestions]),this.parentForm.patchValue({[this.fieldName]:this.listOfItem[l]}),this.dropdownOpen=!1}}
53addItemMultipliable(t,n){const l=t.value;if(l.length>0&&this.listOfItemMultiple&&Array.isArray(this.listOfItemMultiple[n])){let _=this.listOfItemMultiple[n].indexOf(l);-1===_?(this.listOfItemMultiple[n]=[...this.field.specification.field.suggestions,t.value],_=this.listOfItemMultiple[n].length-1):_+1<this.listOfItemMultiple[n].length&&(this.listOfItemMultiple[n]=[...this.field.specification.field.suggestions]),this.parentForm.controls[this.fieldName].controls[n].patchValue({control:this.listOfItemMultiple[n][_]}),this.dropdownOpenMultiple[n]=!1}}trackBySuggestion(t,n){return n}onKeydown(t){"Enter"===t.key&&t.stopPropagation()}handleAddedField(t){this.listOfItemMultiple.splice(t,0,[...this.field.specification.field.suggestions]),this.dropdownOpenMultiple.splice(t,0,!1)}handleRemovedField(t){this.listOfItemMultiple.splice(t,1),this.dropdownOpenMultiple.splice(t,1)}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(A.R))},i.\u0275cmp=e.Xpm({type:i,selectors:[["app-v1-field-textarea"]],viewQuery:function(t,n){if(1&t&&(e.Gf(V,5),e.Gf(U,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.suggestionSelect=l.first),e.iGM(l=e.CRH())&&(n.textareaInputList=l)}},inputs:{field:"field",fieldName:"fieldName",parentForm:"parentForm",isContractEditable:"isContractEditable",isEditedByOther:"isEditedByOther",isOwned:"isOwned",isLawyer:"isLawyer",expertSegment:"expertSegment",isCustomClause:"isCustomClause",isCustomClauseConfirmed:"isCustomClauseConfirmed",progressLanguage:"progressLanguage",progressID:"progressID",contractTitle:"contractTitle",formWidth:"formWidth",matchmakingCategory:"matchmakingCategory"},outputs:{focusEmitter:"focusEmitter"},decls:1,vars:1,consts:[[3,"field","formGroup","progressLanguage","progressID","contractTitle","fieldName","parentForm","isLawyer","expertSegment","formWidth","matchmakingCategory","isOwned",4,"ngIf"],[3,"field","formGroup","progressLanguage","progressID","contractTitle","fieldName","parentForm","isLawyer","expertSegment","formWidth","matchmakingCategory","isOwned"],["nz-tooltip","","nzTooltipPlacement","top",3,"nzValidateStatus","nzErrorTip","nzWarningTip","nzTooltipTitle",4,"ngIf"],[3,"formArrayName",4,"ngIf"],["errorTemplate",""],["nz-tooltip","","nzTooltipPlacement","top",3,"nzValidateStatus","nzErrorTip","nzWarningTip","nzTooltipTitle"],["nz-input","","rows","4","input-backslash-replace","","class","textareaMinHeight roundedScrollbar","trim","blur",3,"id","placeholder","formControlName","readonly","ant-zorro-input-error","ant-zorro-input-warning","ngClass","focus","blur","keydown",4,"ngIf"],["nzDropdownClassName","white-space-normal","class","w-100 textareaSelection","nz-tooltip","","nzTooltipPlacement","top",3,"ngClass","id","nzShowSearch","formControlName","nzOpen","nzDisabled","ant-zorro-input-error","ant-zorro-input-warning","nzTooltipTitle","nzDropdownRender","nzPlaceHolder","nzOpenChange",4,"ngIf"],["renderTemplate",""],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom","class","change-options link-like-button","style","float: right",3,"nzPopconfirmTitle","nzCancelText","nzOkText","nzOnConfirm",4,"ngIf"],["nz-input","","rows","4","input-backslash-replace","","trim","blur",1,"textareaMinHeight","roundedScrollbar",3,"id","placeholder","formControlName","readonly","ngClass","focus","blur","keydown"],["textareaInput",""],["nzDropdownClassName","white-space-normal","nz-tooltip","","nzTooltipPlacement","top",1,"w-100","textareaSelection",3,"ngClass","id","nzShowSearch","formControlName","nzOpen","nzDisabled","nzTooltipTitle","nzDropdownRender","nzPlaceHolder","nzOpenChange"],["suggestionSelect",""],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"container"],["nz-input","","rows","4","input-backslash-replace","","trim","blur",1,"textareaMinHeight","roundedScrollbar",3,"id","placeholder","readonly","value","ngClass","keydown"],["textareaInputElement",""],["nz-button","","nzType","primary",1,"add-item","m-t-10",3,"nzSize","click"],["nz-icon","","nzType","plus"],["nz-button","","nzType","link","nz-popconfirm","","nzPopconfirmPlacement","bottom",1,"change-options","link-like-button",2,"float","right",3,"nzPopconfirmTitle","nzCancelText","nzOkText","nzOnConfirm"],[3,"formArrayName"],[3,"field","fieldName","parentForm","isContractEditable","isCustomClause","isCustomClauseConfirmed","isLawyer","expertSegment","template","id","addedField","removedField",4,"ngIf"],["multipleTemplate",""],[3,"field","fieldName","parentForm","isContractEditable","isCustomClause","isCustomClauseConfirmed","isLawyer","expertSegment","template","id","addedField","removedField"],[1,"display-inline-flex","w-100",3,"formGroupName"],["nz-tooltip","","nzTooltipPlacement","top",3,"nzErrorTip","nzWarningTip","nzTooltipTitle"],["nz-input","","input-backslash-replace","","rows","4","class","w-100 textareaMinHeight roundedScrollbar","trim","blur",3,"id","formControlName","placeholder","readonly","ant-zorro-input-error","ant-zorro-input-warning","ngClass","focus","blur",4,"ngIf"],["renderTemplateMultiple",""],["nz-input","","input-backslash-replace","","rows","4","trim","blur",1,"w-100","textareaMinHeight","roundedScrollbar",3,"id","formControlName","placeholder","readonly","ngClass","focus","blur"],[3,"control","name","validationText","progressLanguage"]],template:function(t,n){1&t&&e.YNc(0,p,5,14,"app-v1-field",0),2&t&&e.Q6J("ngIf",n.field)},dependencies:[O.mk,O.sg,O.O5,g.Fj,g.JJ,g.JL,z.P,g.sg,g.u,g.x0,g.CE,M.ix,v.w,F.dQ,N.g,D.t3,S.Fd,P.Ls,R.Zp,w.JW,I.Ip,I.Vq,m.SY,x.$,f.f,C.a,E.q,b.X$,Z.Y],styles:['@charset "UTF-8";.textareaMinHeight[_ngcontent-%COMP%]{min-height:100px!important}nz-divider[_ngcontent-%COMP%]{margin:4px 0}.container[_ngcontent-%COMP%]{padding:8px;text-align:center}.readOnlyInput[_ngcontent-%COMP%]     nz-select-top-control, .readOnlyInput[_ngcontent-%COMP%]     nz-select-arrow{curs
53or:default!important}.readOnlyInput[_ngcontent-%COMP%]     nz-select-top-control{background:white!important}.textareaSelection[_ngcontent-%COMP%]     nz-select-top-control{height:-moz-fit-content!important;height:fit-content!important}.textareaSelection[_ngcontent-%COMP%]     nz-select-item{white-space:pre-wrap;line-height:normal!important;padding-top:9.81px!important;padding-bottom:9.81px!important;max-height:220px;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:10;-webkit-box-orient:vertical}']}),i})()}}]);

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.