1"use strict";(self.webpackChunkszerzi_front=self.webpackChunkszerzi_front||[]).push([[7796],{61346:(tt,E,o)=>{o.d(E,{b:()=>b});var P=o(97582),O=o(52835),A=o(16023),u=o(8472),r=o(11491),h=o(37340),v=o(44224),e=o(44569),w=o(71997),C=o(45218),t=o(94650),Z=o(25156),D=o(49651),k=o(72218),S=o(32925),U=o(50211),N=o(39889),R=o(13217),y=o(61479),L=o(24006),f=o(36895),F=o(47216),G=o(75352),W=o(74383),K=o(47044),J=o(51971),Y=o(47423),x=o(66152),M=o(20545),B=o(21243),Q=o(37570),j=o(75775),H=o(81801); 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 $(a,i){1&a&&t._UZ(0,"nz-skeleton-element",18),2&a&&t.Q6J("nzActive",!0)("nzSize",40)}function V(a,i){1&a&&(t.TgZ(0,"div",19),t._UZ(1,"nz-skeleton-element",20)(2,"nz-skeleton-element",21),t.qZA()),2&a&&(t.xp6(1),t.Q6J("nzActive",!0),t.xp6(1),t.Q6J("nzActive",!0))}function z(a,i){if(1&a&&(t.TgZ(0,"nz-list-item",11)(1,"div",12),t._UZ(2,"nz-list-item-meta",13),t.qZA(),t.YNc(3,$,1,2,"ng-template",null,14,t.W1O),t.YNc(5,V,3,2,"ng-template",null,15,t.W1O),t.TgZ(7,"div",16),t._UZ(8,"nz-skeleton-element",17),t.qZA()()),2&a){const n=t.MAs(4),_=t.MAs(6);t.xp6(2),t.Q6J("nzAvatar",n)("nzDescription",_),t.xp6(6),t.Q6J("nzActive",!0)}}function l(a,i){1&a&&(t.TgZ(0,"nz-list",9),t.YNc(1,z,9,3,"nz-list-item",10),t.ALo(2,"numberArray"),t.qZA()),2&a&&(t.Q6J("@skeletonPosAbsLeave",void 0),t.xp6(1),t.Q6J("ngForOf",t.lcZ(2,2,3)))}function c(a,i){1&a&&(t.TgZ(0,"div")(1,"p",22),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&a&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"CLIENT.PROFILE.SOCIAL.LOAD_FAILED")," "))}function s(a,i){1&a&&t._UZ(0,"i",38)}function p(a,i){1&a&&t._UZ(0,"i",39)}function T(a,i){1&a&&t.GkF(0)}function m(a,i){if(1&a&&(t._UZ(0,"asl-google-signin-button",43),t.ALo(1,"translate"),t.ALo(2,"translate")),2&a){const n=t.oxw(4);t.Q6J("nzTooltipTitle",n.buttonsDisabled?t.lcZ(1,1,"CLIENT.PROFILE.SOCIAL.COMPLETE"):t.lcZ(2,3,"COMMON.FORM.SWITCH.USAGE"))}}const I=function(a){return{"d-inline-block":!0,"switch-hidden-compact":a}};function X(a,i){if(1&a){const n=t.EpF();t.TgZ(0,"div",40)(1,"nz-switch",41),t.NdJ("throttledHandler",function(){t.CHM(n);const g=t.oxw().$implicit,d=t.oxw(2);return t.KtG(d.buttonsDisabled?null:d.changedSwitch(g))}),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA(),t.YNc(4,m,3,5,"asl-google-signin-button",42),t.qZA()}if(2&a){const n=t.oxw().$implicit,_=t.MAs(2),g=t.MAs(4),d=t.oxw(2);t.xp6(1),t.Q6J("ngClass",t.VKq(13,I,!(n.status&&(!d.loadingMap.get(n.name)||d.deleteInProgress))))("ngModel",n.status)("nzControl",!0)("nzCheckedChildren",d.loadingMap.get(n.name)?null:_)("nzUnCheckedChildren",d.loadingMap.get(n.name)?null:g)("nzDisabled",d.buttonsDisabled)("nzLoading",d.loadingMap.get(n.name))("nzTooltipTitle",d.buttonsDisabled?t.lcZ(2,9,"CLIENT.PROFILE.SOCIAL.COMPLETE"):t.lcZ(3,11,"COMMON.FORM.SWITCH.USAGE")),t.xp6(3),t.Q6J("ngIf",!(n.status&&(!d.loadingMap.get(n.name)||d.deleteInProgress)))}}function q(a,i){if(1&a){const n=t.EpF();t.TgZ(0,"div")(1,"nz-switch",44),t.NdJ("throttledHandler",function(){t.CHM(n);const g=t.oxw().$implicit,d=t.oxw(2);return t.KtG(d.buttonsDisabled?null:d.changedSwitch(g))}),t.ALo(2,"translate"),t.ALo(3,"translate"),t.qZA()()}if(2&a){const n=t.oxw().$implicit,_=t.MAs(2),g=t.MAs(4),d=t.oxw(2);t.xp6(1),t.Q6J("ngModel",n.status)("nzControl",!0)("nzCheckedChildren",d.loadingMap.get(n.name)?null:_)("nzUnCheckedChildren",d.loadingMap.get(n.name)?null:g)("nzDisabled",d.buttonsDisabled)("nzLoading",d.loadingMap.get(n.name))("nzTooltipTitle",d.buttonsDisabled?t.lcZ(2,7,"CLIENT.PROFILE.SOCIAL.COMPLETE"):t.lcZ(3,9,"COMMON.FORM.SWITCH.USAGE"))}}function et(a,i){1&a&&(t.TgZ(0,"span",45),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&a&&(t.Q6J("@networkTextWait",void 0),t.xp6(1),t.hij(" ",t.lcZ(2,2,"CLIENT.PROFILE.SOCIAL.WAIT")," "))}function nt(a,i){if(1&a&&(t.TgZ(0,"span",45),t._uU(1),t.qZA()),2&a){const n=t.oxw().$implicit;t.Q6J("@networkTextMail",void 0),t.xp6(1),t.hij(" ",n.mail," ")}}
27const it=function(a){return{"mr-2":a}},ot=function(a,i){return{color:a,background:i}};function at(a,i){if(1&a&&t._UZ(0,"nz-avatar",46),2&a){const n=t.oxw().$implicit,_=t.oxw(2);t.Q6J("ngClass",t.VKq(3,it,_.windowWidth>425))("nzIcon",n.icon)("ngStyle",t.WLB(5,ot,n.avatarColor,n.avatarBg))}}const st=function(a){return{width:a}},lt=function(a){return{"d-none":a}};function rt(a,i){if(1&a&&(t.TgZ(0,"nz-list-item",25),t.YNc(1,s,1,0,"ng-template",null,26,t.W1O),t.YNc(3,p,1,0,"ng-template",null,27,t.W1O),t.TgZ(5,"nz-list-item-meta")(6,"nz-list-item-meta-title")(7,"div",28)(8,"div",29)(9,"div",30),t.YNc(10,T,1,0,"ng-container",31),t.TgZ(11,"span",32),t._uU(12),t.qZA()(),t.TgZ(13,"div",33),t.YNc(14,X,5,15,"div",34),t.YNc(15,q,4,11,"div",35),t.qZA()(),t.TgZ(16,"div"),t.YNc(17,et,3,4,"span",36),t.YNc(18,nt,2,2,"span",36),t.qZA()()(),t.YNc(19,at,1,8,"ng-template",null,37,t.W1O),t.qZA()()),2&a){const n=i.$implicit,_=t.MAs(20),g=t.oxw(2);t.xp6(9),t.Q6J("ngStyle",t.VKq(8,st,g.windowWidth<=425?"fit-content":"120px")),t.xp6(1),t.Q6J("ngTemplateOutlet",_),t.xp6(1),t.Q6J("ngClass",t.VKq(10,lt,g.windowWidth<=425)),t.xp6(1),t.Oqu(n.name),t.xp6(1),t.Q6J("ngSwitch",n.name),t.xp6(1),t.Q6J("ngSwitchCase","Google"),t.xp6(3),t.Q6J("ngIf",!g.deleteInProgress&&g.loadingMap.get(n.name)),t.xp6(1),t.Q6J("ngIf",n.status&&(!g.loadingMap.get(n.name)||g.deleteInProgress))}}function ct(a,i){if(1&a&&(t.TgZ(0,"nz-list",23),t.YNc(1,rt,21,12,"nz-list-item",24),t.qZA()),2&a){const n=t.oxw();t.Q6J("nzItemLayout","horizontal")("@skeletonPosAbsLeave",void 0),t.xp6(1),t.Q6J("ngForOf",n.networkList)("ngForTrackBy",n.identify)}}let b=class{constructor(i,n,_,g,d,gt,dt,pt,_t,ht){this.modal=i,this.nzMessage=n,this.reCaptchaV3Service=_,this.translate=g,this.appService=d,this.authService=gt,this.clientService=dt,this.routerService=pt,this.onTheFlyService=_t,this.resizeService=ht,this.buttonsDisabled=!1,this.loadingMap=new Map,this.networkList=[],this.loadingSocialsFailed=!1,this.FeedbackFeature=w.lrp,this.FeedbackUnit=w._0Z,this.deleteInProgress=!1}ngOnInit(){this.navigatorLinks=[{text:"COMMON.NAVIGATOR.ROUTE.PROFILE",href:this.routerService.getRouteToSettingsTab(e.d.settingsProfileTab,"profileFormStart"),action:()=>this.routerService.routeToSettingsTab(e.d.settingsProfileTab,"profileFormStart")},{text:"COMMON.NAVIGATOR.ROUTE.ACCOUNT",href:this.routerService.getRouteToSettingsTab(e.d.settingsAccountTab),action:()=>this.routerService.routeToSettingsTab(e.d.settingsAccountTab)}
27],this.getSocials(),this.authService.authState.subscribe(i=>{this.user=i}),this.windowWidth=window.innerWidth,this.resizeService.width.subscribe(i=>{this.windowWidth=i}),this.onTheFlyService.authService.then(i=>{i.authState.pipe((0,v.t)(this)).subscribe(n=>{if(n&&(this.loadingMap.set(r.Gr.Google,!0),"GOOGLE"===n.provider))try{this.reCaptchaV3Service.execute(C.L.config.reCaptcha,"",_=>{this.clientService.addGoogle(n.idToken).pipe((0,v.t)(this)).toPromise().then(g=>{this.getSocials()}).catch(g=>{this.handleSwitchError(g,r.Gr.Google,!0)})},{useGlobalDomain:!1},()=>{this.loadingMap.set(r.Gr.Google,!1),this.buttonsDisabled=!1})}catch{this.loadingMap.set(r.Gr.Google,!1)}finally{this.buttonsDisabled=!1}})})}getSocials(){this.buttonsDisabled=!0,this.loadingSocialsFailed=!1,this.clientService.getSocial().pipe((0,v.t)(this)).subscribe(i=>{this.networkList=[{name:r.Gr.Facebook,icon:"facebook",avatarColor:"#4267b1",avatarBg:"rgba(66, 103, 177, 0.1)",mail:i.facebook&&i.facebook.mail?i.facebook.name?`${i.facebook.name} (${i.facebook.mail})`:`${i.facebook.mail}`:"",status:!!i.facebook,fullColorIcon:"/assets/images/social/Facebook/f_logo_RGB-White_58.webp"},{name:r.Gr.Google,icon:"google",avatarColor:"#4267b1",avatarBg:"rgba(66, 103, 177, 0.1)",mail:i.google&&i.google.mail?i.google.name?`${i.google.name} (${i.google.mail})`:`${i.google.mail}`:"",status:!!i.google,fullColorIcon:"/assets/images/social/Google/btn_google_light_normal_ios_borderless.svg"}],C.L.config.appleEnabled&&this.networkList.push({name:r.Gr.Apple,icon:"apple",avatarColor:"#4267b1",avatarBg:"rgba(66, 103, 177, 0.1)",mail:i.apple&&i.apple.mail?i.apple.name?`${i.apple.name} (${i.apple.mail})`:`${i.apple.mail}`:"",status:!!i.apple,fullColorIcon:"/assets/images/social/Apple/Logo - SIWA - Left-aligned - White - Large.svg"}),this.loadingSocialsFailed=!1,this.loadingMap.set(r.Gr.Facebook,!1),this.loadingMap.set(r.Gr.Google,!1),this.loadingMap.set(r.Gr.Apple,!1),this.deleteInProgress=!1},i=>{this.loadingSocialsFailed=!0,this.deleteInProgress=!1},()=>{this.buttonsDisabled=!1})}handleSwitchError(i,n,_){_?(this.nzMessage.error(this.translate.instant(439===i.status?"LOGIN.ERROR.USED_MAIL":"CLIENT.PROFILE.SOCIAL.MESSAGES.ERROR.CONNECT_UNKNOWN")),this.loadingMap.set(n,!1),this.buttonsDisabled=!1):(this.nzMessage.error(this.translate.instant("CLIENT.PROFILE.SOCIAL.MESSAGES.ERROR.DISCONNECT_UNKNOWN")),this.loadingMap.set(n,!1),this.buttonsDisabled=!1,this.deleteInProgress=!1)}changedSwitch(i){this.buttonsDisabled=!0,!1!==i.status?this.confirmModal=this.modal.confirm({nzTitle:this.translate.instant("CLIENT.PROFILE.SOCIAL.QUESTIONS.DISCONNECT",{kind:i.name}),nzOkText:this.translate.instant("COMMON.OK"),nzCancelText:this.translate.instant("COMMON.CANCEL"),nzOnOk:()=>{this.deleteInProgress=!0,i.name===r.Gr.Facebook?(this.loadingMap.set(r.Gr.Facebook,!0),this.clientService.deleteFacebook().pipe((0,v.t)(this)).toPromise().then(n=>{this.getSocials()}).catch(n=>{this.handleSwitchError(n,r.Gr.Facebook)})):i.name===r.Gr.Google?(this.loadingMap.set(r.Gr.Google,!0),this.clientService.deleteGoogle().pipe((0,v.t)(this)).toPromise().then(n=>{this.getSocials()}).catch(n=>{this.handleSwitchError(n,r.Gr.Google)})):i.name===r.Gr.Apple&&(this.loadingMap.set(r.Gr.Apple,!0),this.clientService.deleteApple().pipe((0,v.t)(this)).toPromise().then(n=>{this.getSocials()}).catch(n=>{this.handleSwitchError(n,r.Gr.Apple)}))},nzOnCancel:()=>{this.loadingMap.set(r.Gr.Apple,!1),this.loadingMap.set(r.Gr.Facebook,!1),this.loadingMap.set(r.Gr.Google,!1),this.buttonsDisabled=!1,this.deleteInProgress=!1}}):i.name===r.Gr.Facebook?(this.loadingMap.set(r.Gr.Facebook,!0),this.authService.signIn(u.LP.PROVIDER_ID).then(n=>{this.reCaptchaV3Service.execute(C.L.config.reCaptcha,"",_=>{this.clientService.addFacebook(n.authToken).pipe((0,v.t)(this)).toPromise().then(g=>{this.getSocials()}).catch(g=>{this.handleSwitchError(g,r.Gr.Facebook,!0)})},{useGlobalDomain:!1},()=>{this.loadingMap.set(r.Gr.Facebook,!1),this.buttonsDisabled=!1})}).catch(n=>{this.loadingMap.set(r.Gr.Facebook,!1)}).finally(()=>{this.buttonsDisabled=!1})):i.name===r.Gr.Google||i.name===r.Gr.Apple&&(this.loadingMap.set(r.Gr.Apple,!0),this.authService.signIn(A.E.PROVIDER_ID).then(n=>
27{this.reCaptchaV3Service.execute(C.L.config.reCaptcha,"",null!=this.user.name?_=>{this.clientService.addApple(n.authorizationCode,this.user.name).pipe((0,v.t)(this)).toPromise().then(g=>{this.getSocials()}).catch(g=>{this.handleSwitchError(g,r.Gr.Apple,!0)})}:_=>{this.clientService.addApple(n.authorizationCode).pipe((0,v.t)(this)).toPromise().then(g=>{this.getSocials()}).catch(g=>{this.handleSwitchError(g,r.Gr.Apple,!0)})},{useGlobalDomain:!1},()=>{this.loadingMap.set(r.Gr.Apple,!1),this.buttonsDisabled=!1})}).catch(n=>{this.loadingMap.set(r.Gr.Apple,!1)}).finally(()=>{this.buttonsDisabled=!1}))}identify(i,n){return n.name}};b.\u0275fac=function(i){return new(i||b)(t.Y36(Z.Sf),t.Y36(D.dD),t.Y36(k.YC),t.Y36(S.sK),t.Y36(C.L),t.Y36(u.xE),t.Y36(U.y),t.Y36(N.c),t.Y36(R.k),t.Y36(y._))},b.\u0275cmp=t.Xpm({type:b,selectors:[["app-network"]],decls:13,vars:13,consts:[[3,"nzTitle"],[1,"d-flex","align-items-left","justify-content-left"],[1,"col-12","col-md-7","p-0"],[1,"position-relative"],["class","w-100",4,"ngIf"],[4,"ngIf"],["class","socials",3,"nzItemLayout",4,"ngIf"],[1,"feedback-positioning",3,"feature","unit","title"],[3,"links"],[1,"w-100"],["class","loadingItem p-t-25 p-b-25",4,"ngFor","ngForOf"],[1,"loadingItem","p-t-25","p-b-25"],[1,"first-part-skeleton"],[3,"nzAvatar","nzDescription"],["loadingAvatar",""],["loadingDescription",""],[1,"d-flex","align-items-center"],["nzType","input","nzSize","small",1,"smallHeightSkeleton","connected-profile",2,"width","100px",3,"nzActive"],["nzType","avatar",3,"nzActive","nzSize"],[1,"d-flex","flex-nowrap","align-items-center","width-fit-content"],["nzType","input","nzSize","small",1,"smallHeightSkeleton","social-media-name","m-r-10",3,"nzActive"],["nzType","button","nzShape","round","nzSize","small",1,"m-r-10",2,"width","50px",3,"nzActive"],[1,"text-danger"],[1,"socials",3,"nzItemLayout"],["class","grid-gap-15 loadedItem flex-wrap added-height",4,"ngFor","ngForOf","ngForTrackBy"],[1,"grid-gap-15","loadedItem","flex-wrap","added-height"],["checkedTemplate",""],["unCheckedTemplate",""],[1,"d-flex","justify-content-start","flex-wrap","align-items-baseline"],[1,"d-flex","flex-nowrap","align-items-center","font-size-15","font-weight-semibold","m-t-10","justify-content-start","mr-3"],[1,"d-flex","align-items-center","flex-nowrap","mr-3",3,"ngStyle"],[4,"ngTemplateOutlet"],[3,"ngClass"],[3,"ngSwitch"],["style","position: relative",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["class","text-gray button-text",4,"ngIf"],["networkIcon",""],["nz-icon","","nzType","check",1,"switch-vertical-align"],["nz-icon","","nzType","close",1,"switch-vertical-align"],[2,"position","relative"],["nz-tooltip","","nzTooltipPlacement","top","appThrottleEvents","",3,"ngClass","ngModel","nzControl","nzCheckedChildren","nzUnCheckedChildren","nzDisabled","nzLoading","nzTooltipTitle","throttledHandler"],["class","d-inline-block google-hidden-compact","type","icon","size","large","logo_alignment","center","nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle",4,"ngIf"],["type","icon","size","large","logo_alignment","center","nz-tooltip","","nzTooltipPlacement","top",1,"d-inline-block","google-hidden-compact",3,"nzTooltipTitle"],["nz-tooltip","","nzTooltipPlacement","top","appThrottleEvents","",1,"d-inline-block",3,"ngModel","nzControl","nzCheckedChildren","nzUnCheckedChildren","nzDisabled","nzLoading","nzTooltipTitle","throttledHandler"],[1,"text-gray","button-text"],[3,"ngClass","nzIcon","ngStyle"]],template:function(i,n){1&i&&(t.TgZ(0,"div")(1,"nz-card",0),t.ALo(2,"translate"),t.TgZ(3,"div",1)(4,"p",2),t._uU(5),t.ALo(6,"translate"),t.qZA()(),t.TgZ(7,"div",3),t.YNc(8,l,3,4,"nz-list",4),t.YNc(9,c,4,3,"div",5),t.YNc(10,ct,2,4,"nz-list",6),t.qZA(),t._UZ(11,"app-feedback",7),t.qZA(),t._UZ(12,"app-navigator",8),t.qZA()),2&i&&(t.xp6(1),t.Q6J("nzTitle",t.lcZ(2,9,"CLIENT.PROFILE.SOCIAL.TITLE")),t.xp6(4),t.hij(" ",t.lcZ(6,11,"CLIENT.PROFILE.SOCIAL.DESC")," "),t.xp6(3),t.Q6J("ngIf",0===n.networkList.length&&!n.loadingSocialsFailed),t.xp6(1),t.Q6J("ngIf",n.loadingSocialsFailed),t.xp6(1),t.Q6J("ngIf",0!==n.networkList.length&&!n.loadingSocialsFailed),t.xp6(1),t.Q6J("feature",n.FeedbackFeature.Settings)("unit",n.FeedbackUnit.Social)("title","COMMON.FEEDBACK.TITLES.SOCIAL"),t.xp6(1),t.Q6J("links",n.navigatorLinks))},dependencies:[L.JJ,L.On,f.mk,f.sg,f.O5,f.tP,f.PC,f.RF,f.n9,f.ED,F.X,G.w,W.Dz,K.w,J.bd,Y.Ls,x.n_,x.AA,x.yi,x.IO,M.Xw,M.AD,M.yx,M.yg,B.i,Q.SY,u.TI,j.S,S.X$,H.A],styles:['@charset "UTF-8";.google-hidden[_ngcontent-%COMP%], .google-hidden-compact[_ngcontent-%COMP%]{opacity:0;position:absolute;
27left:6px;top:35px;margin-top:-50px;margin-bottom:-50px}.switch-hidden[_ngcontent-%COMP%], .switch-hidden-compact[_ngcontent-%COMP%]{position:relative;top:0;left:0%;pointer-events:none}.google-hidden-compact[_ngcontent-%COMP%]{top:40px}.switch-hidden-compact[_ngcontent-%COMP%]{top:0}.centered-row[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;width:100%}@media screen and (min-width: 768px){.centered-row[_ngcontent-%COMP%]{width:70%}}.added-height[_ngcontent-%COMP%] li{height:5px}[_nghost-%COMP%] .ant-list-item-action li{display:flex;flex-direction:row;align-items:center}[_nghost-%COMP%] .ant-list-item-action li .button-text{margin-top:3px}[_nghost-%COMP%] .ant-list-item-action{margin-top:auto;margin-bottom:auto;max-width:100%}[_nghost-%COMP%] .ant-list-item-meta{flex:1 0 100px}[_nghost-%COMP%] .ant-list-item-meta-content{width:-moz-fit-content;width:fit-content;align-self:center}[_nghost-%COMP%] nz-list-item-meta-description{display:flex!important;width:-moz-fit-content;width:fit-content}[_nghost-%COMP%] .ant-list-item-meta-description{width:-moz-fit-content;width:fit-content}.first-part-skeleton[_ngcontent-%COMP%]{width:-moz-fit-content!important;width:fit-content!important}.loadingItem[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:start;align-self:center}@media (max-width: 767.98px){[_nghost-%COMP%] .loadedItem[_ngcontent-%COMP%] .ant-list-item-meta{flex:1 0 100%!important}.loadingItem[_ngcontent-%COMP%]{flex-direction:column;flex-wrap:wrap;align-items:baseline}.first-part-skeleton[_ngcontent-%COMP%]{width:100%;margin-bottom:5px}}@media (max-width: 425.98px){.social-media-name[_ngcontent-%COMP%]{display:none}}[_nghost-%COMP%] .ant-list-item-action li{padding-right:0}.smallHeightSkeleton[_ngcontent-%COMP%]{height:18px}[_nghost-%COMP%] .smallHeightSkeleton[_ngcontent-%COMP%] .ant-skeleton-input{height:18px}.switch-vertical-align[_ngcontent-%COMP%]{vertical-align:baseline!important;vertical-align:initial!important}'],data:{animation:[O.Ln,(0,h.X$)("networkTextWait",[(0,h.eR)(":enter",[(0,h.oB)({opacity:0,height:"0px"}),(0,h.jt)("0.3s ease-in",(0,h.oB)({opacity:1,height:"*"}))])]),(0,h.X$)("networkTextMail",[(0,h.eR)(":enter",[(0,h.oB)({opacity:0,height:"0px"}),(0,h.jt)("0.3s ease-in",(0,h.oB)({opacity:1,height:"*"}))]),(0,h.eR)(":leave",[(0,h.oB)({opacity:1,height:"*"}),(0,h.jt)("0.3s ease-out",(0,h.oB)({opacity:0,height:"0px"}))])])]}}),b=(0,P.gn)([(0,v.c)()],b)},1207:(tt,E,o)=>{o.d(E,{e:()=>z});var P=o(97582),O=o(71997),A=o(44224),u=o(6947),r=o(52835),h=o(93710),v=o(44569),e=o(94650),w=o(50211),C=o(34643),t=o(32925),Z=o(3417),D=o(30144),k=o(46061),S=o(36895),U=o(80114),N=o(26079),R=o(47044),y=o(47423),L=o(20545),f=o(27830),F=o(37570);function G(l,c){if(1&l&&(e.TgZ(0,"li")(1,"span",5),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.TgZ(4,"span",6),e._uU(5),e.qZA()()),2&l){const s=e.oxw();e.xp6(2),e.hij("",e.lcZ(3,2,"TERMS.DATE")," :"),e.xp6(3),e.Oqu(s.created)}}let W=(()=>{class l{constructor(s){this.translate=s,this.dateLocale="hu"}ngOnInit(){this.translate.currentLang&&(this.dateLocale=this.translate.currentLang),this.translate.onLangChange.subscribe(s=>{this.dateLocale=s.lang})}}return l.\u0275fac=function(s){return new(s||l)(e.Y36(t.sK))},l.\u0275cmp=e.Xpm({type:l,selectors:[["app-obligation-detail"]],inputs:{created:"created"},decls:20,vars:7,consts:[[1,"pt-0","pb-0"],[1,"container"],[1,"row","border-bottom","p-b-20"],[1,"col-lg-4"],[1,"job-details","p-0"],[1,"deatils"],[1,"pl-3"],[4,"ngIf"]],template:function(s,p){1&s&&(e.TgZ(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"ul",4)(5,"li")(6,"span",5),e._uU(7),e.ALo(8,"translate"),e.qZA(),e.TgZ(9,"span",6),e._uU(10,"Enliven Systems Kft."),e.qZA()(),e.TgZ(11,"li")(12,"span",5),e._uU(13),e.ALo(14,"translate"),e.qZA(),e.TgZ(15,"span",6),e._uU(16,"szerzi.hu"),e.qZA()()()(),e.TgZ(17,"div",3)(18,"ul",4),e.YNc(19,G,6,4,"li",7),e.qZA()()()()()),2&s&&(e.xp6(7),e.hij("",e.lcZ(8,3,"TERMS.OWNER")," :"),e.xp6(6),e.hij("",e.lcZ(14,5,"TERMS.WEBSITE")," :"),e.xp6(6),e.Q6J("ngIf",p.created))},dependencies:[S.O5,t.X$]}),l})();var K=o(81801),J=o(35232); 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 */function Y(l,c){1&l&&(e.TgZ(0,"div",12)(1,"p",13),e._UZ(2,"i",14),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&l&&(e.xp6(3),e.hij(" ",e.lcZ(4,1,"AGREEMENTS.LANGUAGE_WARNING")," "))}function x(l,c){1&l&&(e.TgZ(0,"span"),e._UZ(1,"nz-skeleton-element",26),e.qZA()),2&l&&(e.Q6J("@skeletonPosAbsLeave",void 0),e.xp6(1),e.Q6J("nzActive",!0))}function M(l,c){1&l&&(e.TgZ(0,"div",15)(1,"div",16)(2,"div",17),e._UZ(3,"nz-skeleton-element",18),e.qZA()(),e.TgZ(4,"div",19)(5,"div",20)(6,"ul",21)(7,"li",22),e._UZ(8,"nz-skeleton-element",18),e.qZA(),e.TgZ(9,"li",22),e._UZ(10,"nz-skeleton-element",18),e.qZA()()(),e.TgZ(11,"div",20)(12,"ul",21)(13,"li",22),e._UZ(14,"nz-skeleton-element",23),e.qZA()()()(),e._UZ(15,"nz-skeleton-element",24),e.YNc(16,x,2,2,"span",25),e.ALo(17,"numberArray"),e.qZA()),2&l&&(e.Q6J("@skeletonPosAbsLeave",void 0),e.xp6(3),e.Q6J("nzActive",!0),e.xp6(5),e.Q6J("nzActive",!0),e.xp6(2),e.Q6J("nzActive",!0),e.xp6(4),e.Q6J("nzActive",!0),e.xp6(1),e.Q6J("nzActive",!0),e.xp6(1),e.Q6J("ngForOf",e.lcZ(17,7,15)))}function B(l,c){if(1&l&&e._UZ(0,"app-tabset-tutorial",27),2&l){const s=e.oxw();e.Q6J("tabsetTutorialDirective",s.tabsetTutorialDirective)("safekeepingStorageKey","understandTabsetTooltip")}}function Q(l,c){if(1&l&&(e.TgZ(0,"a",35),e.ALo(1,"localizeRoute"),e._uU(2),e.qZA()),2&l){const s=e.oxw(),p=s.index,T=s.$implicit,m=e.oxw(2);e.Q6J("href",e.lcZ(1,2,"/"+(m.kindFilter===m.AgreementsKind.GTS?m.PageRoutes.landingTOS:m.PageRoutes.landingPrivacy)+"#tab-"+p),e.LSH),e.xp6(2),e.hij(" ",T.short[m.actLanguage]," ")}}function j(l,c){if(1&l&&(e.TgZ(0,"nz-tab",30),e.YNc(1,Q,3,4,"a",31),e.TgZ(2,"div",32),e._UZ(3,"app-obligation-detail",33)(4,"span",34),e.qZA()()),2&l){const s=c.$implicit;e.xp6(3),e.Q6J("created",s.created),e.xp6(1),e.Q6J("innerHTML",s.content,e.oJD)}}function H(l,c){if(1&l){const s=e.EpF();e.TgZ(0,"nz-tabset",28),e.NdJ("nzSelectedIndexChange",function(T){e.CHM(s);const m=e.oxw();return e.KtG(m.currentActiveTab=T)}),e.YNc(1,j,5,2,"nz-tab",29),e.qZA()}if(2&l){const s=e.oxw(),p=e.MAs(8);e.Q6J("nzSelectedIndex",s.currentActiveTab)("nzTooltipTitle",p)("nzTooltipTrigger",null)("nzTooltipPlacement","bottomRight")("safekeepingStorageKey","understandTabsetTooltip")("@skeletonPosAbsLeave",void 0),e.xp6(1),e.Q6J("ngForOf",s.obligations)}}function $(l,c){if(1&l&&e._UZ(0,"ngx-json-ld",36),2&l){const s=e.oxw();e.Q6J("json",s.gtosSchema)}}function V(l,c){if(1&l&&e._UZ(0,"ngx-json-ld",36),2&l){const s=e.oxw();
53e.Q6J("json",s.ppSchema)}}let z=class{constructor(c,s,p,T,m,I,X,q){this.clientService=c,this.interfaceService=s,this.translate=p,this.languageService=T,this.changeDetectorRef=m,this.router=I,this.route=X,this.seoSchemaService=q,this.actLanguage="hu-HU",this.StorageKeys=u.B,this.AgreementsKind=O.YEU,this.PageRoutes=v.d}ngOnInit(){this.loadAgreements(),this.actLanguage=this.languageService.dashedServerLanguageFromLanguageKey(this.languageService.currentLanguage),this.translate.onLangChange.subscribe(c=>{this.actLanguage=this.languageService.dashedServerLanguageFromLanguageKey(c.lang),this.setSeoSchema()}),this.route.fragment.pipe((0,A.t)(this)).subscribe(c=>{c&&c.startsWith("tab-")&&(this.currentActiveTab=+c.substring(4),this.setSeoSchema())})}loadAgreements(c=500,s=0){Promise.all([this.clientService.getLawyerAgreements().toPromise(),this.clientService.getClientAgreements().toPromise()]).then(([p,T])=>{this.obligations=[...T.filter(m=>!this.kindFilter||m.signature.kind===this.kindFilter),...p.filter(m=>!this.kindFilter||m.signature.kind===this.kindFilter&&!T.find(I=>I.content===m.content))],this.obligations.forEach(m=>{m.content=this.interfaceService.parseMarkDown(m.content)}),this.changeDetectorRef.detectChanges(),setTimeout(()=>{this.routeToTabByIndex(this.currentActiveTab)},0)},p=>{console.log(p),s<10&&window.setTimeout(()=>{this.loadAgreements(Math.min(2*c,16e3),s+1)},1e3)})}routeToTabByIndex(c){const s=window.pageYOffset,p=window.pageXOffset;c&&this.obligations[c]?this.router.navigate([],{fragment:"tab-"+c}).then(()=>window.scroll(p,s)):this.obligations.length>0?this.router.navigate([],{fragment:"tab-0"}).then(()=>window.scroll(p,s)):this.router.navigate([]),this.changeDetectorRef.detectChanges()}setSeoSchema(){this.kindFilter===O.YEU.GTS?this.gtosSchema=this.seoSchemaService.getGToS(this.obligations?.length>0?this.obligations[this.currentActiveTab].short[this.actLanguage]:"COMMON.TOS",this.currentActiveTab):this.kindFilter===O.YEU.PP&&(this.ppSchema=this.seoSchemaService.getPP(this.obligations?.length>0?this.obligations[this.currentActiveTab].short[this.actLanguage]:"PRIVACY_POLICY.PRIVACY_POLICY",this.currentActiveTab))}};z.\u0275fac=function(c){return new(c||z)(e.Y36(w.y),e.Y36(C.Z),e.Y36(t.sK),e.Y36(Z.T),e.Y36(e.sBO),e.Y36(D.F0),e.Y36(D.gz),e.Y36(k.a))},z.\u0275cmp=e.Xpm({type:z,selectors:[["app-obligation-swiper"]],viewQuery:function(c,s){if(1&c&&e.Gf(h.v,5),2&c){let p;e.iGM(p=e.CRH())&&(s.tabsetTutorialDirective=p.first)}},inputs:{kindFilter:"kindFilter"},decls:16,vars:5,consts:[[1,"p-t-0","pb-0"],[1,"container"],["class","row text-center mb-2 notice-box mx-auto notice-box-padding font-size-smaller",4,"ngIf"],[1,"row"],[1,"col-lg-12"],[1,"w-100","position-relative"],["class","w-100",4,"ngIf"],["tutorialTitle",""],["nz-tooltip","","tabsetTutorial","",3,"nzSelectedIndex","nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement","safekeepingStorageKey","nzSelectedIndexChange",4,"ngIf"],[1,"swiper-img"],["src","/assets/sofbox/szerzi_privacy.svg","alt","#","loading","lazy",1,"img-fluid","img-two","w-100","h-100"],[3,"json",4,"ngIf"],[1,"row","text-center","mb-2","notice-box","mx-auto","notice-box-padding","font-size-smaller"],[1,"text-center","text-white","notice-box-coloring","notice-box-inside-padding"],["nz-icon","","nzType","warning","nzTheme","outline",1,"middle-alignment","notice-box-logo"],[1,"w-100"],[1,"ant-tabs-nav","p-v-5","tabSkeleton"],[1,"ant-tabs-tab","ant-tabs-tab-active","w-30"],["nzType","input","nzSize","small",1,"w-100","skeleton-h-20px",3,"nzActive"],[1,"row","border-bottom","p-t-20","p-b-20"],[1,"col-lg-4"],[1,"job-details","p-0"],[1,"line-height-normal"],["nzType","input","nzSize","small",1,"deatils","w-100","skeleton-h-20px",3,"nzActive"],["nzType","input","nzSize","large",1,"p-b-10","w-80",3,"nzActive"],[4,"ngFor","ngForOf"],["nzType","input","nzSize","small",1,"p-b-10","w-100",3,"nzActive"],[3,"tabsetTutorialDirective","safekeepingStorageKey"],["nz-tooltip","","tabsetTutorial","",3,"nzSelectedIndex","nzTooltipTitle","nzTooltipTrigger","nzTooltipPlacement","safekeepingStorageKey","nzSelectedIndexChange"],["class","markdown",4,"ngFor","ngForOf"],[1,"markdown"],["nz-tab-link","",3,"href",4,"nzTabLink"],[1,"markdownAgreementsDiv","p-t-20"],[3,"created"],[3,"innerHTML"],["nz-tab-link","",3,"href"],[3,"json"]],template:function(c,s){1&c&&(e.TgZ(0,"section",0)(1,"div",1),e.YNc(2,Y,5,3,"div",2),e.TgZ(3,"div",3)(4,"div",4)(5,"div",5),e.YNc(6,M,18,9,"div",6),e.YNc(7,B,1,2,"ng-template",null,7,e.W1O),e.YNc(9,H,2,7,"nz-tabset",8),e.qZA()()(),e.TgZ(10,"div",3)(11,"div",4)(12,"div",9),e._UZ(13,"img",10),e.qZA()()()()(),e.YNc(14,$,1,1,"ngx-json-ld",11),e.YNc(15,V,1,1,"ngx-json-ld",11)),2&c&&(e.xp6(2),e.Q6J("ngIf","hu-HU"!==s.actLanguage),e.xp6(4),e.Q6J("ngIf",!s.obligations||0===s.obligations.length),e.xp6(3),e.Q6J("ngIf",s.obligations&&s.obligations.length>
530),e.xp6(5),e.Q6J("ngIf",s.kindFilter===s.AgreementsKind.GTS),e.xp6(1),e.Q6J("ngIf",s.kindFilter===s.AgreementsKind.PP))},dependencies:[S.sg,S.O5,U.T,N.p,h.v,R.w,y.Ls,L.Xw,L.yg,f.xH,f.xw,f.Ao,f.Fx,F.SY,W,t.X$,K.A,J.d],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}.tabSkeleton[_ngcontent-%COMP%]{background-color:#be9ddf40!important;line-height:1}'],data:{animation:[r.Ln]}}),z=(0,P.gn)([(0,A.c)()],z)},42263:(tt,E,o)=>{o.d(E,{w:()=>A});var P=o(45935),O=o(94650);let A=(()=>{class u{}return u.\u0275fac=function(h){return new(h||u)},u.\u0275mod=O.oAB({type:u}),u.\u0275inj=O.cJS({imports:[P.m]}),u})()}}]);
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.