PageSourceSearch

https://szerzi.hu/common-1d580eb1.17f400060704e826.js

js szerzi.hu collected 2026-10-04 13:25:03 UTC 44,371 bytes, 54 lines download raw bytes

1"use strict";(self.webpackChunkszerzi_front=self.webpackChunkszerzi_front||[]).push([[2613],{955:(dt,x,n)=>{n.d(x,{Z:()=>W});var E=n(97582),_=n(71997),t=n(94650),i=n(92961),L=n(44224),f=n(45218),d=n(78321),m=n(25156),r=n(32925),p=n(50211),I=n(3417),u=n(81664),v=n(81404),O=n(31495),h=n(52632),l=n(3674),P=n(75489),k=n(47959),C=n(39889),M=n(36895),S=n(47216),o=n(66616),z=n(47044),D=n(21811),et=n(51971),X=n(47423),nt=n(6497),H=n(6672),V=n(45144),j=n(12987),$=n(70087);
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     */const y=["cancelModuleContent"],b=["cancelModuleFooter"],q=["defaultUpgradeText"],K=["defaultDowngradeText"];function A(a,s){if(1&a&&(t.TgZ(0,"div",21)(1,"nz-tag",22),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&a){const e=t.oxw(5);t.xp6(1),t.Q6J("nzColor",e.isActive&&!e.canceledModule?e.ColorSettings.Primary:""),t.xp6(1),t.hij(" ",t.lcZ(3,2,"CLIENT.PROFILE.SUBSCRIPTIONS."+(e.canceledModule?"STRIPE_CANCELED":e.isActive?"STRIPE_ACTIVE":"STRIPE_PENDING")),"")}}const ut=function(){return{xxl:20,xl:15,lg:19,md:19,sm:31,phone:13,x:21}},ht=function(a){return{number:a}};function pt(a,s){if(1&a&&(t.ynx(0),t.TgZ(1,"div",16),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"div",17)(5,"span",18),t._uU(6),t.ALo(7,"limitTo"),t.ALo(8,"translate"),t.qZA()(),t.BQk()),2&a){const e=t.oxw(3).$implicit,c=t.oxw(2);t.xp6(2),t.hij(" ",t.lcZ(3,2,"CLIENT.PROFILE.SUBSCRIPTIONS.PAYMENT_METHOD")," "),t.xp6(4),t.hij(" ",e.payment.kind.type===c.PaymentMethodType.PayPal?t.gM2(7,4,e.payment.name,t.DdM(12,ut),c.width,"mail"):t.xi3(8,9,"CLIENT.PROFILE.SUBSCRIPTIONS.PAYMENT",t.VKq(13,ht,e.payment.name))," ")}}function F(a,s){if(1&a&&(t.TgZ(0,"div",23),t._uU(1),t.ALo(2,"translate"),t.qZA()),2&a){const e=t.oxw(5);t.xp6(1),t.hij(" ",t.lcZ(2,1,"CLIENT.PROFILE.SUBSCRIPTIONS."+(e.canceledModule?"EXPIRES":"NEXT_CYCLE"))," ")}}function it(a,s){if(1&a&&(t.TgZ(0,"div",24)(1,"span",18),t._uU(2),t.ALo(3,"date"),t.ALo(4,"date"),t.qZA()()),2&a){const e=t.oxw(3).$implicit;t.xp6(2),t.hij(" ",e.periodEnd?t.xi3(3,1,e.periodEnd,"yyyy-MM-dd"):t.xi3(4,4,e.billingStart,"yyyy-MM-dd")," ")}}const tt=function(a,s){return{"active-subscription-upper-card":a,"pending-subscription-upper-card":s}},ot=function(){return{"padding-top":"1rem",width:"100%"}};function Mt(a,s){if(1&a&&(t.TgZ(0,"nz-card",11),t.ALo(1,"as"),t.TgZ(2,"div",12),t._UZ(3,"div",13),t.YNc(4,A,4,4,"div",14),t.ALo(5,"as"),t.qZA(),t.TgZ(6,"div",15),t.YNc(7,pt,9,15,"ng-container",9),t.TgZ(8,"div",16),t._uU(9),t.ALo(10,"translate"),t.qZA(),t.TgZ(11,"div",17)(12,"span",18),t._uU(13),t.ALo(14,"date"),t.qZA()(),t.YNc(15,F,3,3,"div",19),t.YNc(16,it,5,7,"div",20),t.qZA()()),2&a){const e=t.oxw(2).$implicit,c=t.oxw(2);t.Q6J("ngClass",t.WLB(19,tt,c.canceledModule||c.isActive,!(c.canceledModule||c.isActive)&&c.checkModuleIncludeAtNextPeriodByID(e)&&!t.xi3(1,8,e.providerData,c.StripeSubscriptionData).cancelAtPeriodEnd))("nzBodyStyle",t.DdM(22,ot)),t.xp6(4),t.Q6J("ngIf",c.canceledModule||c.isActive||c.checkModuleIncludeAtNextPeriodByID(e)&&!t.xi3(5,11,e.providerData,c.StripeSubscriptionData).cancelAtPeriodEnd),t.xp6(3),t.Q6J("ngIf",e.payment&&e.providerData.status&&c.checkModuleIncludeByID(e)),t.xp6(2),t.hij(" ",t.lcZ(10,14,"CLIENT.PROFILE.SUBSCRIPTIONS.STARTS")," "),t.xp6(4),t.hij(" ",t.xi3(14,16,e.providerData.status&&c.checkModuleIncludeByID(e)?c.activeSubscriptionState.periodStart:c.activeSubscriptionState.periodEnd,"yyyy-MM-dd")," "),t.xp6(2),t.Q6J("ngIf",e.providerData.status&&c.checkModuleIncludeByID(e)),t.xp6(1),t.Q6J("ngIf",e.providerData.status&&c.checkModuleIncludeByID(e))}}function mt(a,s){if(1&a&&(t.ynx(0),t.YNc(1,Mt,17,23,"nz-card",10),t.ALo(2,"as"),t.BQk()),2&a){const e=t.oxw().$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.providerData.status===c.StripeSubscriptionStatus.STRIPE_CANCELED||e.providerData.status===c.StripeSubscriptionStatus.STRIPE_ACTIVE&&t.xi3(2,1,e.providerData,c.StripeSubscriptionData).cancelAtPeriodEnd?e.periodStart:e)}}function St(a,s){if(1&a&&(t.ynx(0),t.YNc(1,mt,3,4,"ng-container",9),t.ALo(2,"as"),t.BQk()),2&a){const e=s.$implicit,c=t.oxw(2);t.xp6(1),t.Q6J("ngIf",e.providerData.status&&(c.checkModuleIncludeByID(e)||c.checkModuleIncludeAtNextPeriodByID(e)&&!t.xi3(2,1,e.providerData,c.StripeSubscriptionData).cancelAtPeriodEnd))}}const Ct=function(a){return[a]};function gt(a,s){if(1&a&&(t.ynx(0,7),t.YNc(1,St,3,4,"ng-container",8),t.BQk()),2&a){const e=t.oxw();
27t.xp6(1),t.Q6J("ngForOf",t.VKq(1,Ct,e.allSubscriptionStates.get(e.activeSubscriptionPlan.ID)[0]))}}function Tt(a,s){if(1&a){const e=t.EpF();t.TgZ(0,"button",42),t.NdJ("click",function(){t.CHM(e);const g=t.oxw(2);return t.KtG(g.addToCart())}),t._UZ(1,"i",43),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&a&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.SUBSCRIBE")," "))}function at(a,s){if(1&a){const e=t.EpF();t.TgZ(0,"button",44),t.NdJ("click",function(){t.CHM(e);const g=t.oxw(2);return t.KtG(g.removeFromCart())}),t._UZ(1,"i",45),t._uU(2),t.ALo(3,"translate"),t.qZA()}2&a&&(t.xp6(2),t.hij(" ",t.lcZ(3,1,"CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.REMOVE_FROM_CART")," "))}function Et(a,s){if(1&a){const e=t.EpF();t.TgZ(0,"app-multi-state-button",46),t.NdJ("nzOnConfirm",function(){t.CHM(e);const g=t.oxw(2);return t.KtG(g.runUnsubscribeModule())}),t.qZA()}if(2&a){const e=t.oxw(2);t.Q6J("defaultFunction",e.unsubscribeModalFunction)("stickResult",!1)("nzTextKeys",e.unsubscribeModalText)}}function rt(a,s){if(1&a&&t._UZ(0,"app-feedback",47),2&a){const e=t.oxw(2);t.Q6J("feature",e.FeedbackFeature.Settings)("unit",e.FeedbackUnit.Subscriptions)("title","COMMON.FEEDBACK.TITLES.SUBSCRIPTIONS")}}const st=function(){return{display:"flex","flex-direction":"column","justify-content":"space-between",height:"100%"}};function lt(a,s){if(1&a&&(t.TgZ(0,"nz-card",25)(1,"div",26)(2,"div",27),t._UZ(3,"img",28),t.TgZ(4,"div",29)(5,"h2",30),t._uU(6),t.ALo(7,"formatCurrencyName"),t.qZA(),t._UZ(8,"br"),t.TgZ(9,"span",31),t._uU(10),t.ALo(11,"translate"),t.qZA(),t.TgZ(12,"h4",32),t._uU(13),t.qZA()()()(),t.TgZ(14,"div",33)(15,"div",34),t._uU(16),t.qZA()(),t.TgZ(17,"div",35),t.YNc(18,Tt,4,3,"button",36),t.YNc(19,at,4,3,"button",37),t.YNc(20,Et,1,3,"app-multi-state-button",38),t.TgZ(21,"div",39),t._UZ(22,"app-multi-state-button",40),t.qZA()(),t.YNc(23,rt,1,3,"app-feedback",41),t.qZA()),2&a){const e=t.oxw();t.Q6J("nzBodyStyle",t.DdM(19,st)),t.xp6(3),t.Q6J("src",e.contractDarkIcon?e.contractDarkIcon:"assets/images/subscriptions/subscription-{{ index % 5 }}.svg",t.LSH),t.xp6(3),t.AsE(" ",e.module.price,"\xa0",t.lcZ(7,15,e.module.currency),"\xa0* "),t.xp6(4),t.hij("/ ",t.lcZ(11,17,e.duration),""),t.xp6(3),t.Oqu(e.module.translations[e.currentLanguageDashedServerFormat]),t.xp6(3),t.hij(" ",e.contract.formDisplayElements.brief," "),t.xp6(2),t.Q6J("ngIf",(!e.isActive&&!e.pendingModule||e.canceledModule)&&!e.isAddedToCart),t.xp6(1),t.Q6J("ngIf",(!e.isActive&&!e.pendingModule||e.canceledModule)&&e.isAddedToCart),t.xp6(1),t.Q6J("ngIf",(e.isActive||e.pendingModule)&&!e.canceledModule),t.xp6(2),t.Q6J("nzType",e.isActive&&!e.canceledModule?"primary":"default")("defaultFunction",e.createContractFunction)("nzTextKeys",e.createContractText)("stickResult",!1),t.xp6(1),t.Q6J("ngIf",e.showFeedback)}}function Pt(a,s){1&a&&(t._UZ(0,"i",48),t._uU(1),t.ALo(2,"translate")),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"CLIENT.PROFILE.SUBSCRIPTIONS.FUNCTIONS.UPGRADE")," "))}function Ot(a,s){1&a&&(t._UZ(0,"i",49),t._uU(1),t.ALo(2,"translate")),2&a&&(t.xp6(1),t.hij(" ",t.lcZ(2,1,"CLIENT.PROFILE.SUBSCRIPTIONS.FUNCTIONS.DOWNGRADE")," "))}const vt=function(a){return{moduleName:a}};function ft(a,s){if(1&a&&(t.TgZ(0,"div",50)(1,"p",51),t._uU(2),t.ALo(3,"translate"),t.qZA()()),2&a){const e=t.oxw();
27t.xp6(2),t.hij(" ",t.xi3(3,1,"CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.CANCEL_DESC",t.VKq(4,vt,e.module.translations[e.currentLanguageDashedServerFormat]))," ")}}function It(a,s){if(1&a){const e=t.EpF();t.TgZ(0,"div",52)(1,"div",53)(2,"button",54),t.NdJ("click",function(){t.CHM(e);const g=t.oxw();return t.KtG(g.stopUnsubscribe())}),t._uU(3),t.ALo(4,"translate"),t.qZA()(),t.TgZ(5,"div",55)(6,"app-multi-state-button",56),t.NdJ("nzOnConfirm",function(){t.CHM(e);const g=t.oxw();return t.KtG(g.runUnsubscribeModule())}),t.ALo(7,"translate"),t.ALo(8,"translate"),t.ALo(9,"translate"),t._uU(10),t.ALo(11,"translate"),t.qZA()()(),t._UZ(12,"app-feedback",57)}if(2&a){const e=t.oxw();t.xp6(3),t.hij(" ",t.lcZ(4,10,"CLIENT.PROFILE.SUBSCRIPTIONS.UNSUBSCRIBE.CANCEL")," "),t.xp6(3),t.Q6J("nzPopconfirmTitle",t.lcZ(7,12,"CLIENT.PROFILE.PAYMENT.POPCONFIRM.PLAN_UNSUBSCRIBE"))("nzOkText",t.lcZ(8,14,e.unsubscribeText[e.ButtonState.Default]))("nzCancelText",t.lcZ(9,16,"COMMON.CANCEL"))("runFunction",e.runUnsubscribeFunction)("nzTextKeys",e.unsubscribeText)("stickResult",!1),t.xp6(4),t.hij(" ",t.lcZ(11,18,"CLIENT.PROFILE.SUBSCRIPTIONS.UNSUBSCRIBE.CANCEL_CONFIRM"),""),t.xp6(2),t.Q6J("unit",e.FeedbackUnit.ImageUpload)("feature",e.FeedbackFeature.Modal)}}const Y=function(a,s){return{"active-subscription":a,"pending-subscription":s}};let W=class{constructor(s,e,c,g,B,Z,Q,R,G,ct,_t,N){this.nzModal=s,this.translate=e,this.clientService=c,this.languageService=g,this.modalService=B,this.paymentModalService=Z,this.onepage=Q,this.paymentService=R,this.utilService=G,this.eventService=ct,this.contractService=_t,this.routerService=N,this.visiblePlans=[],this.relatedSubscriptionKeys={},this.relatedModuleKeys={},this.allPlans=[],this.isActive=!1,this.canceledModule=!1,this.pendingModule=!1,this.phoneView=!0,this.width=window.innerWidth,this.subscriptionChanged=new t.vpe,this.cartEmitter=new t.vpe,this.BraintreeSubscriptionStatus=_.gUs,this.StripeSubscriptionStatus=_.uxK,this.ButtonState=i.BN,this.VATValue=_.di5,this.createContractText=new i.PR("CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.CREATE_BUTTON_STATES.DEFAULT","CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.CREATE_BUTTON_STATES.WORKING","CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.CREATE_BUTTON_STATES.SUCCESS","CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.CREATE_BUTTON_STATES.FAILED"),this.Array=Array,this.FeedbackFeature=_.lrp,this.FeedbackUnit=_._0Z,this.PaymentMethodType=_.LtK,this.UpdateType=_.$om,this.StripeSubscriptionData=_.Oud,this.ColorSettings=d.y,this.unsubscribeReject=()=>{}}ngOnInit(){this.currentLanguageDashedServerFormat=this.languageService.dashedServerLanguageFromLanguageKey(this.languageService.currentLanguage),this.translate.onLangChange.subscribe(s=>{this.currentLanguageDashedServerFormat=this.languageService.dashedServerLanguageFromLanguageKey(s.lang),this.setButtonTranslations()}),this.setButtonTranslations(),this.clientStatus=this.eventService.clientStatus,this.eventService.changedClientStatus.subscribe(s=>{this.clientStatus=s}),this.idempotencyKey=this.utilService.randomString(128),this.unsubscribeModalFunction=()=>this.unsubscribeModal(),this.createContractFunction=()=>this.createContract()}ngAfterViewInit(){this.setButtonTranslations()}addToCart(){this.cartEmitter.emit(!0)}removeFromCart(){this.cartEmitter.emit(!1)}setButtonTranslations(){const s=new Map;s.set(0,"COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.ERROR.OTHER"),s.set(440,"COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.ERROR.401"),s.set(499,"COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.ERROR.499"),s.set(503,"COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.ERROR.503"),this.unsubscribeText=new i.PR(this.translate.instant("CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.CANCEL_FROM_MODAL",{moduleName:this.module.translations[this.currentLanguageDashedServerFormat]}),"COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.CHANGING","COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.CHANGED",s),this.unsubscribeModalText=new i.PR(this.translate.instant("CLIENT.PROFILE.SUBSCRIPTIONS.MODULES.CANCEL",{moduleName:this.module.translations[this.currentLanguageDashedServerFormat]}),"COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.CHANGING","COMMON.FORM.SUBSCRIPTIONS.BUTTON_STATES.UNSUBSCRIBE.CHANGED",s)}createContract(){return this.clientService.getContracts().toPromise().then(s=>this.contractService.create(this.contract,s).then(e=>(e.created?this.routerService.routeToContract(e.progressID,!0):this.routerService.routeToContractFromCreate(e.progressID),Promise.resolve(e)),e=>Promise.reject(e)))}subscribeToModule(s,e,c=!1){const g=this.clientStatus&&this.clientStatus.valueAddedTax?this.clientStatus.valueAddedTax:_.di5.Standard,B=Object.keys(_.CyS),Z=Object.keys(_.b__),Q=g===_.di5.Standard?B:Z,R=this.activeSubscriptionState&&!Q.includes(this.activeSubscriptionState.key);let G=[];const ct=g===_.di5.Standard?this.VATIncludedModuleKeysArr:this.VATExcludedModuleKeysArr;G=R?[...this.activeSubscriptionState&&e?this.activeSubscriptionState.modules.map(T=>this.allModules.find(U=>U.ID===T)).map(T=>this.allModules.find(U=>U.kindCode===T.kindCode&&ct.includes(U.ID))):[],...s]:[...this.activeSubscriptionState&&e?this.activeSubscriptionState.modules.map(T=>this.allModules.find(U=>U.ID===T)):[],...s];const _t=this.activeSubscriptionPlan&&this.activeSubscriptionState&&this.activeSubscriptionState.providerData.status===_.uxK.STRIPE_ACTIVE;let N;this.activeSubscriptionState&&!this.activeSubscriptionState.providerData.cancelAtPeriodEnd&&(N=this.allPlans.find(T=>this.relatedSubscriptionKeys[this.activeSubscriptionState.providerData.subscriptionKeyAtNextPeriod].includes(T.ID)&&Q.includes(T.ID))),(!N||this.activeSubscriptionState.providerData.cancelAtPeriodEnd||this.activeSubscriptionState.providerData.subscriptionKeyAtNextPeriod===_.CyS.SUBSCRIPTION_ZERO_MONTHLY_HUF_VI_v1.toString()||this.activeSubscriptionState.providerData.subscriptionKeyAtNextPeriod===_.b__.SUBSCRIPTION_ZERO_MONTHLY_HUF_VE_v1.toString())&&
27(N=this.allPlans.find(this.clientStatus&&this.clientStatus.valueAddedTax!==_.di5.Standard?T=>T.ID===_.b__.SUBSCRIPTION_ZERO_MONTHLY_HUF_VE_v1.toString():T=>T.ID===_.CyS.SUBSCRIPTION_ZERO_MONTHLY_HUF_VI_v1.toString()));const J=this.allPlans.find(T=>this.activeSubscriptionState&&T.ID===this.activeSubscriptionState.key);let Dt=this.activeSubscriptionState&&this.activeSubscriptionState.providerData.cancelAtPeriodEnd&&this.activeSubscriptionState.providerData.subscriptionKeyAtNextPeriod!==_.CyS.SUBSCRIPTION_ZERO_MONTHLY_HUF_VI_v1.toString()&&this.activeSubscriptionState.providerData.subscriptionKeyAtNextPeriod!==_.b__.SUBSCRIPTION_ZERO_MONTHLY_HUF_VE_v1.toString()||J&&J.rank>N.rank?_.$om.Downgrade:void 0;return this.subscribeToModuleInner(N,_t,Dt,this.activeSubscriptionState,this.activeSubscriptionPlan,G,R,s,c)}subscribeToModuleInner(s,e,c,g,B,Z,Q,R,G=!1){const ct=window.innerWidth<1185,_t=this.utilService.randomString(128);if(this.loadedActiveSubscriptions){let N,J;const Dt=new Promise((T,U)=>{N=T,J=U});if(this.hasBilling&&this.hasPayment)G?this.paymentModalService.getPlanRequest(B,g,s,e,c,f.L.config.currentPaymentProvider!==_.OHy.Stripe||!g||g.providerData.status!==_.uxK.STRIPE_ACTIVE||R&&0!==R.length?null:0,Q,Z,R)(new _.BAK(void 0,g.methodToken,_t)).subscribe(()=>{N()},U=>{J(U)}):this.paymentModalService.choosePaymentModalForPlan(B,g,s,this.currentLanguageDashedServerFormat,e,c,this.clientStatus&&this.clientStatus.valueAddedTax?this.clientStatus.valueAddedTax:null,f.L.config.currentPaymentProvider!==_.OHy.Stripe||!g||g.providerData.status!==_.uxK.STRIPE_ACTIVE||R&&0!==R.length?null:0,()=>N(),T=>J(T),()=>J({status:499}),Q,this.pendingPlan,Z,R,R&&1===R.length?this.contractDarkIcon:void 0);else{const T=this.relatedSubscriptionKeys[s.ID].find(w=>Object.keys(_.CyS).includes(w)),U=this.allPlans.find(w=>w.ID===T),bt=this.relatedSubscriptionKeys[s.ID].find(w=>Object.keys(_.b__).includes(w)),At=this.allPlans.find(w=>w.ID===bt);this.paymentModalService.onepagecheckoutModalForPlan(!this.hasBilling,!this.hasPayment,ct,s.price,s.currency,U,U,0,this.duration,g,e,c,()=>N(),w=>J(w),this.pendingPlan,At,Z,R)}return Dt}return Promise.reject()}unsubscribeModal(){let s;const e=new Promise((g,B)=>{s=g,this.unsubscribeReject=B});return this.paymentModalService.unsubscribeModuleModal(this.currentLanguageDashedServerFormat,this.cancelModuleContent,this.cancelModuleFooter,()=>this.unsubscribeReject({status:499}),this.module).afterClose.subscribe(()=>{this.runUnsubscribeFunction=null}),e}stopUnsubscribe(){this.unsubscribeReject({status:499}),this.nzModal.closeAll()}runUnsubscribeModule(){this.runUnsubscribeFunction=()=>this.unsubscribeModule()}unsubscribeModule(){const s=this.utilService.randomString(128);let e;if(!e&&this.activeSubscriptionState.providerData.status===_.uxK.STRIPE_ACTIVE&&!this.activeSubscriptionState.providerData.cancelAtPeriodEnd&&(e=this.activeSubscriptionState),e){let c;if(e.providerData.subscriptionKeyAtNextPeriod!==_.CyS.SUBSCRIPTION_ZERO_MONTHLY_HUF_VI_v1.toString()&&e.providerData.subscriptionKeyAtNextPeriod!==_.b__.SUBSCRIPTION_ZERO_MONTHLY_HUF_VE_v1.toString()||1!==this.activeSubscriptionState.providerData.subscriptionModulesAtNextPeriod.length||this.activeSubscriptionState.providerData.subscriptionModulesAtNextPeriod[0]!==this.module.ID){const g=this.activeSubscriptionState.providerData.subscriptionModulesAtNextPeriod.filter(B=>this.module&&B!==this.module.ID).map(B=>this.allModules.find(Z=>Z.ID===B));c=this.subscribeToModule(g,!1,!0)}else c=f.L.config.currentPaymentProvider===_.OHy.Braintree?this.clientService.unsubscribePlanBraintree(new _.OG2(e.ID,e.key,e.realStatus?e.realStatus:e.providerData.status)).pipe((0,L.t)(this)).toPromise():f.L.config.currentPaymentProvider===_.OHy.Stripe?this.clientService.unsubscribePlanStripe(new _.IIR(e.ID,e.key,e.modules,e.realStatus?e.realStatus:e.providerData.status,s)).pipe((0,L.t)(this)).toPromise():Promise.reject();return c.then(g=>{this.onepage.sendSubscriptionChanged(g),setTimeout(()=>{this.nzModal.closeAll()},1500)},g=>{}),c}return Promise.reject()}checkModuleIncludeByID(s){return this.relatedModuleKeys[this.module.ID].some(e=>s.modules.includes(e))}checkModuleIncludeAtNextPeriodByID(s){return this.relatedModuleKeys[this.module.ID].some(e=>s.providerData.subscriptionModulesAtNextPeriod.includes(e))}};W.\u0275fac=function(s){return new(s||W)(t.Y36(m.Sf),t.Y36(r.sK),t.Y36(p.y),t.Y36(I.T),t.Y36(u.Z),t.Y36(v.u),t.Y36(O.g),t.Y36(h.t),t.Y36(l.f),t.Y36(P.P),t.Y36(k.W),t.Y36(C.c))},W.\u0275cmp=t.Xpm({type:W,selectors:[["app-subscription-module-card"]],viewQuery:function(s,e){if(1&s&&(t.Gf(y,5),t.Gf(b,5),t.Gf(q,5),t.Gf(K,5)),2&s){let c;t.iGM(c=t.CRH())&&(e.cancelModuleContent=c.first),t.iGM(c=t.CRH())&&(e.cancelModuleFooter=c.first),t.iGM(c=t.CRH())&&(e.defaultUpgradeText=c.first),t.iGM(c=t.CRH())&&(e.defaultDowngradeText=c.first)}},inputs:{activeSubscriptionPlan:"activeSubscriptionPlan",activeSubscriptionState:"activeSubscriptionState",duration:"duration",hasBilling:"hasBilling",hasPayment:"hasPayment",index:"index",module:"module",pendingPlan:"pendingPlan",visiblePlans:"visiblePlans",allSubscriptionStates:"allSubscriptionStates",showFeedback:"showFeedback",loadedActiveSubscriptions:"loadedActiveSubscriptions",relatedSubscriptionKeys:"relatedSubscriptionKeys",relatedModuleKeys:"relatedModuleKeys",allPlans:"allPlans",availableContracts:"availableContracts",contractLightIcon:"contractLightIcon",contractDarkIcon:"contractDarkIcon",isAddedToCart:"isAddedToCart",contract:"contract",isActive:"isActive",canceledModule:"canceledModule",pendingModule:"pendingModule",allModules:"allModules",VATIncludedModuleKeysArr:"VATIncludedModuleKeysArr",VATExcludedModuleKeysArr:"VATExcludedModuleKeysArr",phoneView:"phoneView",width:"width"},outputs:{subscriptionChanged:"subscriptionChanged",cartEmitter:"cartEmitter"},decls:12,vars:9,consts:[[1,"subscription-card-container",3,"ngClass"],["class","d-flex",4,"ngIf"],["class","m-b-0 lower-card",3,"nzBodyStyle",4,"ngIf"],["defaultUpgradeText",""],["defaultDowngradeText",""],["cancelModuleContent",""],["cancelModuleFooter",""],[1,"d-flex"],[4,"ngFor","ngForOf"],[4,"ngIf"],["class","mb-0 h-100 d-flex",3,"ngClass","nzBodyStyle",4,"ngIf"],[1,"mb-0","h-100","d-flex",3,"ngClass","nzBodyStyle"],[1,"row","justify-content-between"],[1,"col-6","text-left"],["class","col-6 text-right p-2",4,"ngIf"],[1,"row","empty-row"],[1,"col-5","text-left","font-size-12","align-self-end"],[1,"col-7","text-right","align-self-end"],[1,"opacity-07"],["class","col-7 text-left font-size-12 align-self-end",4,"ngIf"],["class","col-5 text-right al
27ign-self-end",4,"ngIf"],[1,"col-6","text-right","p-2"],[1,"border-1","m-0",3,"nzColor"],[1,"col-7","text-left","font-size-12","align-self-end"],[1,"col-5","text-right","align-self-end"],[1,"m-b-0","lower-card",3,"nzBodyStyle"],[1,"justify-content-between","p-b-20"],[1,"media","align-items-center"],["alt","Subscription/briefcase icon",1,"m-width-50",3,"src"],[1,"m-l-10","text-left"],[1,"font-weight-bold","responsive-h2-size","m-b-0","inline-block"],[1,"font-size-13","font-weight-semibold","inline-block","line-height-20"],[1,"m-b-0","responsive-h4-size","m-t-10"],[1,"text-left","justify-content-between"],[1,"m-b-10","flex-grow-1"],[1,"text-left"],["nz-button","","nzType","primary","class","button-text-wrap",3,"click",4,"ngIf"],["nz-button","","class","button-text-wrap",3,"click",4,"ngIf"],["nzType","default","nzSize","small","class","multiLineButton m-b-10",3,"defaultFunction","stickResult","nzTextKeys","nzOnConfirm",4,"ngIf"],[1,"m-t-10"],["nzSize","default",1,"button-text-wrap","contract-creating-button","m-b-10",3,"nzType","defaultFunction","nzTextKeys","stickResult"],["class","feedback-positioning",3,"feature","unit","title",4,"ngIf"],["nz-button","","nzType","primary",1,"button-text-wrap",3,"click"],["nz-icon","","nzType","plus-circle","nzTheme","outline"],["nz-button","",1,"button-text-wrap",3,"click"],["nz-icon","","nzType","close","nzTheme","outline"],["nzType","default","nzSize","small",1,"multiLineButton","m-b-10",3,"defaultFunction","stickResult","nzTextKeys","nzOnConfirm"],[1,"feedback-positioning",3,"feature","unit","title"],["nz-icon","","nzType","up-circle","nzTheme","outline"],["nz-icon","","nzType","down-circle","nzTheme","outline"],[1,"row","m-0"],[1,"font-size-smaller","text-left","mb-0"],[1,"row","mb-2"],[1,"col-md-6","col-12","text-md-left","text-center"],["nz-button","",1,"button-text-wrap","mr-md-3","mr-0",3,"click"],[1,"col-md-6","col-12","text-md-right","text-center"],["nzType","primary","nz-popconfirm","",1,"button-text-wrap",3,"nzPopconfirmTitle","nzOkText","nzCancelText","runFunction","nzTextKeys","stickResult","nzOnConfirm"],[1,"feedback-positioning",3,"unit","feature"]],template:function(s,e){1&s&&(t.TgZ(0,"div",0),t.ALo(1,"as"),t.YNc(2,gt,2,3,"ng-container",1),t.YNc(3,lt,24,20,"nz-card",2),t.YNc(4,Pt,3,3,"ng-template",null,3,t.W1O),t.YNc(6,Ot,3,3,"ng-template",null,4,t.W1O),t.YNc(8,ft,4,6,"ng-template",null,5,t.W1O),t.qZA(),t.YNc(10,It,13,20,"ng-template",null,6,t.W1O)),2&s&&(t.Q6J("ngClass",t.WLB(6,Y,e.canceledModule||e.isActive,!(e.canceledModule||e.isActive)&&e.activeSubscriptionPlan&&e.allSubscriptionStates.get(e.activeSubscriptionPlan.ID)&&e.allSubscriptionStates.get(e.activeSubscriptionPlan.ID).length>0&&e.checkModuleIncludeAtNextPeriodByID(e.activeSubscriptionState)&&!t.xi3(1,3,e.activeSubscriptionState.providerData,e.StripeSubscriptionData).cancelAtPeriodEnd)),t.xp6(2),t.Q6J("ngIf",e.allSubscriptionStates&&0!==e.allSubscriptionStates.size&&e.allSubscriptionStates.has(e.activeSubscriptionState.key)&&e.allSubscriptionStates.get(e.activeSubscriptionState.key).length>0&&e.activeSubscriptionPlan&&e.activeSubscriptionPlan.ID&&e.allSubscriptionStates.get(e.activeSubscriptionPlan.ID)&&e.allSubscriptionStates.get(e.activeSubscriptionPlan.ID).length>0),t.xp6(1),t.Q6J("ngIf",e.module&&e.contract))},dependencies:[M.mk,M.sg,M.O5,S.X,i.P4,o.ix,z.w,D.dQ,et.bd,X.Ls,nt.JW,H.j,M.uU,r.X$,V.j,j.U2,$.L],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}.quota-point[_ngcontent-%COMP%]{min-width:21px}.subscription-card-container[_ngcontent-%COMP%]{height:100%;display:flex;flex-direction:column}.active-subscription[_ngcontent-%COMP%]   .active-subscription-upper-card[_ngcontent-%COMP%]{border-bottom:none!important;min-height:auto;height:inherit}.active-subscription[_ngcontent-%COMP%]   .active-subscription-upper-card[_ngcontent-%COMP%]{min-height:150px;height:150px;max-height:150px}.active-subscription[_ngcontent-%COMP%]   .pending-subscription-upper-card[_ngcontent-%COMP%]{min-height:110px;height:110px;max-height:110px}.active-subscription[_ngcontent-%COMP%]   .lower-card[_ngcontent-%COMP%]{border-top-style:dashed;border-top-width:3px}.border-1[_ngcontent-%COMP%]{border:1px solid #53535f}.lower-card[_ngcontent-%COMP%]{height:100%}.empty-row[_ngcontent-%COMP%]{min-height:42px!important}.successIcon[_ngcontent-%COMP%]     svg{stroke:#92ddea;stroke-width:100}.dangerIcon[_ngcontent-%COMP%]     svg{stroke:#de4436;stroke-width:100}.canceledTag[_ngcontent-%COMP%]{position:absolute;top:5px;right:5px;z-index:5}']}),W=(0,E.gn)([(0,L.c)()],W)},95352:(dt,x,n)=>{n.d(x,{B:()=>r});var E=n(94650),_=n(81664),t=n(55089),i=n(36895),L=n(47044),f=n(47423),d=n(32925);function m(p,I){if(1&p){const u=E.EpF();
27E.TgZ(0,"button",1),E.NdJ("click",function(){E.CHM(u);const O=E.oxw();return E.KtG(O.openSuggestion())}),E._UZ(1,"i",2),E._uU(2),E.ALo(3,"translate"),E.qZA()}2&p&&(E.xp6(2),E.hij(" ",E.lcZ(3,1,"COMMON.SUGGESTION.OPEN"),"\n"))}let r=(()=>{class p{constructor(u,v){this.modalService=u,this.userService=v}ngOnInit(){this.permitted=this.userService.isLoggedIn&&this.userService.isLawyer}openSuggestion(){this.modalService.suggestionModal(this.coordinate,this.title)}}return p.\u0275fac=function(u){return new(u||p)(E.Y36(_.Z),E.Y36(t.K))},p.\u0275cmp=E.Xpm({type:p,selectors:[["app-suggestion"]],inputs:{title:"title",coordinate:"coordinate"},decls:1,vars:1,consts:[["nzType","link","class","border-0 color-gray-light background-color-unset font-size-11 link-like-button text-decoration-underline-hover",3,"click",4,"ngIf"],["nzType","link",1,"border-0","color-gray-light","background-color-unset","font-size-11","link-like-button","text-decoration-underline-hover",3,"click"],["nz-icon","","nzType","plus-circle","nzTheme","outline",1,"font-size-11"]],template:function(u,v){1&u&&E.YNc(0,m,4,3,"button",0),2&u&&E.Q6J("ngIf",v.permitted)},dependencies:[i.O5,L.w,f.Ls,d.X$],encapsulation:2}),p})()},4636:(dt,x,n)=>{n.d(x,{X:()=>k}
27);var E=n(17009),_=n(5111),t=n(94650),i=n(83092),L=n(8948),f=n(36895),d=n(24006),m=n(47044),r=n(47423),p=n(14685),I=n(94452),u=n(20246),v=n(79991);function O(C,M){if(1&C){const S=t.EpF();t.TgZ(0,"div",5)(1,"span",11),t.NdJ("click",function(){t.CHM(S);const z=t.oxw();return t.KtG(z.clearFieldValue())}),t._UZ(2,"i",12),t.qZA()()}}function h(C,M){if(1&C&&(t.TgZ(0,"div",13),t._UZ(1,"app-v1-field-validation",14),t.ALo(2,"definiteArticle"),t.qZA()),2&C){const S=t.oxw();t.xp6(1),t.Q6J("control",S.parentForm.controls[S.fieldName])("name",t.lcZ(2,4,S.fieldDisplayName))("validationText",S.field.specification.field.validation?S.field.specification.field.validation.text:null)("progressLanguage",S.progressLanguage)}}const l=function(){return{standalone:!0}},P=function(C){return{"readOnlyInput background-white":C}};let k=(()=>{class C{constructor(S,o){this.v1ContractFormService=S,this.dateHelper=o,this.V1Settings=_.L,this.V1SpecificationKind=E.J3}ngOnInit(){this.parentForm.controls[this.fieldName].value&&2===this.parentForm.controls[this.fieldName].value.length&&(this.startTime=this.dateHelper.parseTime(this.parentForm.controls[this.fieldName].value[0],this.nzFormat),this.endTime=this.dateHelper.parseTime(this.parentForm.controls[this.fieldName].value[1],this.nzFormat),isNaN(this.startTime)&&(this.startTime=null),isNaN(this.endTime)&&(this.endTime=null),isNaN(this.startTime)||isNaN(this.endTime)?this.parentForm.patchValue({[this.fieldName]:null}):this.parentForm.patchValue({[this.fieldName]:[this.startTime,this.endTime]}),this.parentForm.controls[this.fieldName].markAsTouched()),this.field&&this.field.displayElements.name&&(this.fieldDisplayName=this.v1ContractFormService.parseMarkdownText(this.field.displayElements.name))}clearFieldValue(){this.startTime=null,this.endTime=null,this.parentForm.patchValue({[this.fieldName]:null})}changeTime(S){this.parentForm.controls[this.fieldName].markAsTouched(),this.startTime&&this.endTime&&this.parentForm.patchValue({[this.fieldName]:[this.startTime,this.endTime]})}}return C.\u0275fac=function(S){return new(S||C)(t.Y36(i.R),t.Y36(L.mx))},C.\u0275cmp=t.Xpm({type:C,selectors:[["app-time-range-picker"]],inputs:{field:"field",fieldName:"fieldName",parentForm:"parentForm",isContractEditable:"isContractEditable",isLawyer:"isLawyer",expertSegment:"expertSegment",isCustomClauseConfirmed:"isCustomClauseConfirmed",nzFormat:"nzFormat",progressLanguage:"progressLanguage"},decls:13,vars:36,consts:[[1,"ant-picker","ant-picker-range","ng-untouched","ng-pristine","ng-valid","borderDiv","w-100"],["nz-picker","",1,"containerDiv"],[2,"display","inherit","align-items","center","width","min-content","flex-grow","1","flex-wrap","wrap"],[1,"ant-picker-input","ng-star-inserted","timePickerDiv"],["input-backslash-replace","",1,"removeInnerBorderAndShadow",3,"id","nzPlaceHolder","nzFormat","nzDisabled","ngModel","ngModelOptions","nzAllowEmpty","ngClass","ngModelChange"],[1,"ant-picker-range-separator","ng-star-inserted"],[1,"ant-picker-separator"],["nz-icon","","nzType","swap-right","nztheme","outline",1,"anticon","anticon-swap-right","ng-star-inserted"],["class","ant-picker-range-separator ng-star-inserted",4,"ngIf"],[1,"ant-picker-active-bar","ng-star-inserted",2,"position","absolute","left","0px","width","162px"],["class","errorDiv",4,"ngIf"],[1,"ant-picker-clear","ng-star-inserted",3,"click"],["nz-icon","","nzType","close-circle","nzTheme","fill",1,"anticon","anticon-close-circle"],[1,"errorDiv"],[3,"control","name","validationText","progressLanguage"]],template:function(S,o){1&S&&(t.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"nz-time-picker",4),t.NdJ("ngModelChange",function(D){return o.startTime=D})("ngModelChange",function(D){return o.changeTime(D)}),t.qZA()(),t.TgZ(5,"div",5)(6,"span",6),t._UZ(7,"i",7),t.qZA()(),t.TgZ(8,"div",3)(9,"nz-time-picker",4),t.NdJ("ngModelChange",function(D){return o.endTime=D})("ngModelChange",function(D){return o.changeTime(D)}),t.qZA()(),t.YNc(10,O,3,0,"div",8),t.qZA(),t._UZ(11,"div",9),t.qZA()(),t.YNc(12,h,3,6,"div",10)),2&S&&(t.ekj("ant-zorro-input-error",o.parentForm.controls[o.fieldName].touched&&(o.parentForm.controls[o.fieldName].hasError("required")||o.parentForm.controls[o.fieldName].hasError("error")))("ant-zorro-input-warning",o.parentForm.controls[o.fieldName].touched&&o.parentForm.controls[o.fieldName].hasError("warning")),t.xp6(4),t.ekj("ant-zorro-input-error",o.parentForm.controls[o.fieldName].touched&&(o.parentForm.controls[o.fieldName].hasError("required")||o.parentForm.controls[o.fieldName].hasError("error")))("ant-zorro-input-warning",o.parentForm.controls[o.fieldName].touched&&o.parentForm.controls[o.fieldName].hasError("warning")),t.Q6J("id",o.fieldName)("nzPlaceHolder",o.field.specification.field.placeholder)("nzFormat",o.nzFormat)("nzDisabled",!(o.isContractEditable&&o.isCustomClauseConfirmed)||!o.isLawyer&&o.expertSegment)("ngModel",o.startTime)("ngModelOptions",t.DdM(30,l))("nzAllowEmpty",!1)("ngClass",t.VKq(31,P,!(o.isContractEditable&&o.isCustomClauseConfirmed)||!o.isLawyer&&o.expertSegment)),t.xp6(5),t.ekj("ant-zorro-input-error",o.parentForm.controls[o.fieldName].touched&&(o.parentForm.controls[o.fieldName].hasError("required")||o.parentForm.controls[o.fieldName].hasError("error")))("ant-zorro-input-warning",o.parentForm.controls[o.fieldName].touched&&o.parentForm.controls[o.fieldName].hasError("warning")),t.Q6J("id",o.fieldName)("nzPlaceHolder",o.field.specification.field.placeholder)("nzFormat",o.nzFormat)("nzDisabled",!(o.isContractEditable&&o.isCustomClauseConfirmed)||!o.isLawyer&&o.expertSegment)("ngModel",o.endTime)("ngModelOptions",t.DdM(33,l))("nzAllowEmpty",!1)("ngClass",t.VKq(34,P,!(o.isContractEditable&&o.isCustomClauseConfirmed)||!o.isLawyer&&o.expertSegment)),t.xp6(1),t.Q6J("ngIf",o.isContractEditable&&o.isCustomClauseConfirmed&&(o.isLawyer||!o.expertSegment)),t.xp6(2),t.Q6J("ngIf",o.parentForm.controls[o.fieldName].touched))},dependencies:[f.mk,f.O5,d.JJ,d.On,m.w,r.Ls,p.m4,I.f,u.q,v.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}.errorDiv[_ngcontent-%COMP%]{vertical-align:top;display:inline-block}.inputField[_ngcontent-%COMP%]{min-width:30px}.containerDiv[_ngcontent-%COMP%]{display:inline-flex;flex-wrap:wrap;align-items:center;width:100%}.borderDiv[_ngcontent-%COMP%]{min-height:2.5375rem;height:auto;padding:0}.removeInnerBorderAndShadow[_ngcontent-%COMP%]{border:none!important;box-shadow:none!important}[_nghost-%COMP%]     .ant-picker-suffix{display:none}.timePickerDiv[_ngcontent-%COMP%]{flex-grow:1;width:8ch}']}),C})()},13754:(dt,x,n)=>{n.r(x),n.d(x,{UserModule:()=>It});var E=n(41766),_=n(36613),t=n(91009),i=n(66309),L=n(92900),f=n(35146),d=n(9037),m=n(64056),r=n(33588),p=n(77248),I=n(55770),u=n(68594),v=n(31934),O=n(983),h=n(45935),l=n(24006),P=n(20818),k=n(3226),C=n(59166),M=n(76161),S=n(69792),o=n(54776),z=n(88744),D=n(63542),et=n(52153),X=n(43455),nt=n(24841),H=n(8472),V=n(74910),j=n(44569),$=n(30144),y=n(94650),b=n(36895),q=n(92961),K=n(73679),A=n(36704),ut=n(35635),ht=n(6497),pt=n(58800),F=n(32925),it=n(45144),tt=n(47216),ot=n(251
2756),Mt=n(48454),mt=n(87918),St=n(51971),Ct=n(73055),gt=n(20545),Tt=n(65681),at=n(37570),Et=n(35232),rt=n(66616),st=n(47044),lt=n(21811),Pt=n(28213),Ot=n(77419),vt=n(62223);const ft=[{path:"",component:S.w,canActivate:[V.d],canActivateChild:[V.d],children:[{path:"",pathMatch:"full",component:o.n},{path:j.d.deRegister,data:{titleKey:"CLIENT.PAGES.DEREGISTER"},component:L.v},{path:j.d.emailConfirm,data:{titleKey:"CLIENT.PAGES.EMAIL_CONFIRM"},component:u.r}]}];let It=(()=>{class Y{}return Y.\u0275fac=function(a){return new(a||Y)},Y.\u0275mod=y.oAB({type:Y}),Y.\u0275inj=y.cJS({imports:[X._8.forRoot({provide:X._A,useFactory:nt.x}),P.z,D.ContractModule,k.ContractListingModule,l.u5,v.QG,M.Yn,C.F,O.N,$.Bz.forChild(ft),h.m,H.RB,P.z,k.ContractListingModule,D.ContractModule,l.u5,C.F,h.m]}),Y})();y.B6R(t.m,function(){return[l._Y,l.Fj,l.JJ,l.JL,C.P,b.mk,b.O5,b.tP,l.oH,l.sg,q.P4,K.t3,K.SK,A.Lr,A.Nx,A.iK,A.Fd,ut.Zp,ht.JW,pt.ZU,E.w,_.b,r.M]},function(){return[F.X$,it.j]}),y.B6R(i.m,function(){return[l._Y,l.Fj,l.JJ,l.JL,C.P,b.O5,b.tP,l.oH,l.sg,K.t3,K.SK,A.Lr,A.Nx,A.iK,A.Fd,ut.Zp,pt.ZU,E.w,_.b,r.M]},function(){return[F.X$,it.j]}),y.B6R(f.f,function(){return[v.ap,b.O5,tt.X,q.P4,K.SK,ot.Uh]},[]),y.B6R(d.Q,function(){return[Mt.rQ,b.sg,b.O5,tt.X,mt.M,q.P4,St.bd,Ct.M,gt.Xw,gt.yg,Tt.W,at.SY]},function(){return[F.X$,Et.d]}),y.B6R(z.o,function(){return[l._Y,l.JJ,l.JL,b.O5,tt.X,l.sg,l.u,q.P4,rt.ix,st.w,lt.dQ,Pt.Ie,K.t3,K.SK,A.Lr,A.Nx,A.Fd,ot.Uh,at.SY]},function(){return[F.X$,Et.d]}),y.B6R(m.z,function(){return[l._Y,l.JL,b.O5,l.sg,rt.ix,st.w,lt.dQ,A.Lr,at.SY,_.b]},function(){return[F.X$,it.j]}),y.B6R(p.S,function(){return[O.V,b.O5,tt.X,Ot.t,rt.ix,st.w,lt.dQ,K.SK,ot.Uh,vt.iy,vt.$W]},function(){return[F.X$]}),y.B6R(I.W,function(){return[b.sg,mt.M,et.k]},function(){return[F.X$]})},58756:(dt,x,n)=>{n.d(x,{Z:()=>_});
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     */
54var t,i,L,f,E=(t=jQuery,i={},L=t(document),f=t(window),i.body_height=0,i.viewport_height=0,i.viewport_top=0,i.viewport_bottom=0,i.viewport_top_previous=-1,i.elements=[],i.elements_in_view=[],i.property_defaults={opacity:1,translatex:0,translatey:0,translatez:0,rotatex:0,rotatey:0,rotatez:0,scale:1,scalex:1,scaley:1,scalez:1},i.scrollme_selector=".scrollme",i.animateme_selector=".animateme",i.update_interval=10,i.easing_functions={linear:function(d){return d},easeout:function(d){return d*d*d},easein:function(d){return 1-(d=1-d)*d*d},easeinout:function(d){return d<.5?4*d*d*d:1-4*(d=1-d)*d*d}},i.init_events=["ready","page:load","page:change"],i.init_if=function(){return!0},i.init=function(){return!!i.init_if()&&(i.init_elements(),i.on_resize(),f.on("resize orientationchange",function(){i.on_resize()}),f.on("load",function(){setTimeout(function(){i.on_resize()},100)}),setInterval(i.update,i.update_interval),!0)},i.init_elements=function(){t(i.scrollme_selector).each(function(){var d={};d.element=t(this);var m=[];t(this).find(i.animateme_selector).addBack(i.animateme_selector).each(function(){var r={};r.element=t(this),r.when=r.element.data("when"),r.from=r.element.data("from"),r.to=r.element.data("to"),r.crop=!r.element.is("[data-crop]")||r.element.data("crop"),r.easing=r.element.is("[data-easing]")?i.easing_functions[r.element.data("easing")]:i.easing_functions.easeout;var p={};r.element.is("[data-opacity]")&&(p.opacity=r.element.data("opacity")),r.element.is("[data-translatex]")&&(p.translatex=r.element.data("translatex")),r.element.is("[data-translatey]")&&(p.translatey=r.element.data("translatey")),r.element.is("[data-translatez]")&&(p.translatez=r.element.data("translatez")),r.element.is("[data-rotatex]")&&(p.rotatex=r.element.data("rotatex")),r.element.is("[data-rotatey]")&&(p.rotatey=r.element.data("rotatey")),r.element.is("[data-rotatez]")&&(p.rotatez=r.element.data("rotatez")),r.element.is("[data-scale]")&&(p.scale=r.element.data("scale")),r.element.is("[data-scalex]")&&(p.scalex=r.element.data("scalex")),r.element.is("[data-scaley]")&&(p.scaley=r.element.data("scaley")),r.element.is("[data-scalez]")&&(p.scalez=r.element.data("scalez")),r.properties=p,m.push(r)}),d.effects=m,i.elements.push(d)})},i.update=function(){window.requestAnimationFrame(function(){i.update_viewport_position(),i.viewport_top_previous!=i.viewport_top&&(i.update_elements_in_view(),i.animate()),i.viewport_top_previous=i.viewport_top})},i.animate=function(){for(var d=i.elements_in_view.length,m=0;m<d;m++)for(var r=i.elements_in_view[m],p=r.effects.length,I=0;I<p;I++){var u=r.effects[I];switch(u.when){case"view":case"span":var v=r.top-i.viewport_height,O=r.bottom;break;case"exit":v=r.bottom-i.viewport_height,O=r.bottom;break;default:v=r.top-i.viewport_height,O=r.top}u.crop&&(v<0&&(v=0),O>i.body_height-i.viewport_height&&(O=i.body_height-i.viewport_height));var h=(i.viewport_top-v)/(O-v),l=u.from,P=u.to,M=u.easing((h-l)/(P-l)),S=i.animate_value(h,M,l,P,u,"opacity"),o=i.animate_value(h,M,l,P,u,"translatey"),z=i.animate_value(h,M,l,P,u,"translatex"),D=i.animate_value(h,M,l,P,u,"translatez"),et=i.animate_value(h,M,l,P,u,"rotatex"),X=i.animate_value(h,M,l,P,u,"rotatey"),nt=i.animate_value(h,M,l,P,u,"rotatez"),H=i.animate_value(h,M,l,P,u,"scale"),V=i.animate_value(h,M,l,P,u,"scalex"),j=i.animate_value(h,M,l,P,u,"scaley"),$=i.animate_value(h,M,l,P,u,"scalez");"scale"in u.properties&&(V=H,j=H,$=H),u.element.css({opacity:S,transform:"translate3d( "+z+"px , "+o+"px , "+D+"px ) rotateX( "+et+"deg ) rotateY( "+X+"deg ) rotateZ( "+nt+"deg ) scale3d( "+V+" , "+j+" , "+$+" )"})}},i.animate_value=function(d,m,r,p,I,u){var v=i.property_defaults[u];if(!(u in I.properties))return v;var O=I.properties[u],h=p>r;if(d<r&&h)return v;if(d>p&&h)return O;if(d>r&&!h)return v;if(d<p&&!h)return O;var l=v+m*(O-v);switch(u){case"opacity":l=l.toFixed(2);break;case"translatex":case"translatey":case"translatez":l=l.toFixed(0);break;case"rotatex":case"rotatey":case"rotatez":l=l.toFixed(1);break;case"scale":l=l.toFixed(3)}return l},i.update_viewport_position=function(){i.viewport_top=f.scrollTop(),i.viewport_bottom=i.viewport_top+i.viewport_height},i.update_elements_in_view=function(){i.elements_in_view=[];for(var d=i.elements.length,m=0;m<d;m++)i.elements[m].top<i.viewport_bottom&&i.elements[m].bottom>i.viewport_top&&i.elements_in_view.push(i.elements[m])},i.on_resize=function(){i.update_viewport(),i.update_element_heights(),i.update_viewport_position(),i.update_elements_in_view(),i.animate()},i.update_viewport=function(){i.body_height=L.height(),i.viewport_height=f.height()},i.update_element_heights=function(){for(var d=i.elements.length,m=0;m<d;m++){var r=i.elements[m].element.outerHeight(),p=i.elements[m].element.offset();i.elements[m].height=r,i.elements[m].top=p.top,i.elements[m].bottom=p.top+r}},L.on(i.init_events.join(" "),function(){i.init()}),i);setTimeout(()=>{E.init()},1e3);const _=E}}]);

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.