1"use strict";(self.webpackChunkroot=self.webpackChunkroot||[]).push([["default-node_modules_angular_material_fesm2022_badge_mjs-node_modules_qiagen_gg-common_fesm20-4f3381"],{1975(oe,P,p){p.d(P,{Y:()=>$,k:()=>H});var e=p(44339),l=p(17094),f=p(89726),u=p(2615),F=p(73664),y=p(17705),D=p(49046),k=p(88968),M=p(31804),O=p(22466);const C="mat-badge-content";let w=(()=>{class x{static \u0275fac=function(b){return new(b||x)};static \u0275cmp=F.VBU({type:x,selectors:[["ng-component"]],decls:0,vars:0,template:function(b,T){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-sys-error));color:var(--mat-badge-text-color, var(--mat-sys-on-error));font-family:var(--mat-badge-text-font, var(--mat-sys-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-sys-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-sys-corner-full))}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}@media(forced-colors: active){.mat-badge-content{outline:solid 1px;border-radius:0}}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color, color-mix(in srgb, var(--mat-sys-error) 38%, transparent));color:var(--mat-badge-disabled-state-text-color, var(--mat-sys-on-error))}.mat-badge-hidden .mat-badge-content{display:none}.ng-animate-disabled .mat-badge-content,.mat-badge-content._mat-animation-noopable{transition:none}.mat-badge-content.mat-badge-active{transform:none}.mat-badge-small .mat-badge-content{width:var(--mat-badge-legacy-small-size-container-size, unset);height:var(--mat-badge-legacy-small-size-container-size, unset);min-width:var(--mat-badge-small-size-container-size, 6px);min-height:var(--mat-badge-small-size-container-size, 6px);line-height:var(--mat-badge-small-size-line-height, 6px);padding:var(--mat-badge-small-size-container-padding, 0);font-size:var(--mat-badge-small-size-text-size, 0);margin:var(--mat-badge-small-size-container-offset, -6px 0)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset, -6px)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size, unset);height:var(--mat-badge-legacy-container-size, unset);min-width:var(--mat-badge-container-size, 16px);min-height:var(--mat-badge-container-size, 16px);line-height:var(--mat-badge-line-height, 16px);padding:var(--mat-badge-container-padding, 0 4px);font-size:var(--mat-badge-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-container-offset, -12px 0)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset, -12px)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size, unset);height:var(--mat-badge-legacy-large-size-container-size, unset);min-width:var(--mat-badge-large-size-container-size, 16px);min-height:var(--mat-badge-large-size-container-size, 16px);line-height:var(--mat-badge-large-size-line-height, 16px);padding:var(--mat-badge-large-size-container-padding, 0 4px);font-size:var(--mat-badge-large-size-text-size, var(--mat-sys-label-small-size));margin:var(--mat-badge-large-size-container-offset, -12px 0)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset, -12px)}\n"],encapsulation:2,changeDetection:0})}return x})(),H=(()=>{class x{_ngZone=(0,u.WQX)(F.SKi);_elementRef=(0,u.WQX)(F.aKT);_ariaDescriber=(0,u.WQX)(e.vr);_renderer=(0,u.WQX)(F.sFG);_animationsDisabled=(0,M.Rc)();_idGenerator=(0,u.WQX)(f.g);get color(){return this._color}set color(g){this._setColor(g),this._color=g}_color="primary";overlap=!0;disabled;position="above after";get content(){return this._content}set content(g){this._updateRenderedContent(g)}_content;get description(){return this._description}set description(g){this._updateDescription(g)}_description;size="medium";hidden;_badgeElement;_inlineBadgeDescription;_isInitialized=!1;_interactivityChecker=(0,u.WQX)(l.Z7);_document=(0,u.WQX)(u.qQL);constructor(){const g=(0,u.WQX)(k.l);g.load(w),g.load(D.Y)}isAbove(){return-1===this.position.indexOf("below")}isAfter(){return-1===this.position.indexOf("before")}getBadgeElement(){return this._badgeElement}ngOnInit(){this._clearExistingBadges(),this.content&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement(),this._updateRenderedContent(this.content)),this._isInitialized=!0}ngOnDestroy(){this._renderer.destroyNode&&(this._renderer.destroyNode(this._badgeElement),this._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){const g=this._renderer.createElement("span"),b="mat-badge-active";return g.setAttribute("id",this._idGenerator.getId("mat-badge-content-")),g.setAttribute("aria-hidden","true"),g.classList.add(C),this._animationsDisabled&&g.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(g),"function"!=typeof requestAnimationFrame||this._animationsDisabled?g.classList.add(b):this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{g.classList.add(b)})}),g}_updateRenderedContent(g){const b=`${g??""}`.trim();this._isInitialized&&b&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=b),this._content=b}_updateDescription(g){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!g||this._isHostInteractive())&&this._removeInlineDescription(),this._description=g,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,g):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(g){const b=this._elementRef.nativeElement.classList;b.remove(`mat-badge-${this._color}`),g&&b.add(`mat-badge-${g}`)}_clearExistingBadges(){const g=this._elementRef.nativeElement.querySelectorAll(`:scope > .${C}`);for(const b of Array.from(g))b!==this._badgeElement&&b.remove()}static \u0275fac=function(b){return new(b||x)};static \u0275dir=F.FsC({type:x,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(b,T){2&b&&F.AVh("mat-badge-overlap",T.overlap)("mat-badge-above",T.isAbove())("mat-badge-below",!T.isAbove())("mat-badge-before",!T.isAfter())("mat-badge-after",T.isAfter())("mat-badge-small","small"===T.size)("mat-badge-medium","medium"===T.size)("mat-badge-large","large"===T.size)("mat-badge-hidden",T.hidden||!T.content)("mat-badge-disabled",T.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",y.L39],disabled:[2,"matBadgeDisabled","disabled",y.L39],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",y.L39]}})}return x})(),$=(()=>{class x{static \u0275fac=function(b){return new(b||x)};static \u0275mod=F.$C({type:x});static \u0275inj=u.G2t({imports:[l.Pd,O.y,O.y]})}return x})()},18856(oe,P,p){p.d(P,{iC:()=>k,uR:()=>D});
1var e=p(2615),l=p(29330),f=p(82247);let D=(()=>{class M{constructor(){this.universalCookieService=(0,e.WQX)(f.h3)}get hasJwtCookie(){return!!this.universalCookieService.get("jwt")}get jwtToken(){return this.universalCookieService.get("jwt")||""}get authHeader(){let C=new l.Lr;const w=this.jwtToken;return w&&(C=C.append("Authorization","Bearer "+w)),C}static{this.\u0275fac=function(w){return new(w||M)}}static{this.\u0275prov=e.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})(),k=(()=>{class M{constructor(){this.document=(0,e.WQX)(e.qQL)}detectDomain(){return-1!==this.document.location.hostname.indexOf("b2b")?".b2b-qiagen.com":-1!==this.document.location.hostname.indexOf("punchout")?".punchout-qiagen.com":-1!==this.document.location.hostname.indexOf("qiagen.ads")?".qiagen.ads":".qiagen.com"}static{this.\u0275fac=function(w){return new(w||M)}}static{this.\u0275prov=e.jDH({token:M,factory:M.\u0275fac,providedIn:"root"})}}return M})()},3278(oe,P,p){p.d(P,{EB:()=>Pt,mj:()=>Rt});var e=p(73664),l=p(2615
1),f=p(59295),u=p(17705),F=p(82529),y=p(76939),D=p(89417),k=p(21413),M=p(7673),O=p(99172),C=p(56977),w=p(61577),H=p(89726),$=p(64123),x=p(67336),U=p(10438),g=p(44522),b=p(28203);const ae=["*"];function re(n,m){1&n&&e.SdG(0)}let K=(()=>{class n{_elementRef=(0,l.WQX)(e.aKT);constructor(){}focus(){this._elementRef.nativeElement.focus()}static \u0275fac=function(o){return new(o||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"]})}return n})(),j=(()=>{class n{template=(0,l.WQX)(e.C4Q);constructor(){}static \u0275fac=function(o){return new(o||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkStepLabel",""]]})}return n})();const se=new l.nKC("STEPPER_GLOBAL_OPTIONS");let V=(()=>{class n{_stepperOptions;_stepper=(0,l.WQX)(E);_displayDefaultIndicatorType;stepLabel;_childForms;content;stepControl;get interacted(){return this._interacted()}set interacted(t){this._interacted.set(t)}_interacted=(0,l.vPA)(!1);interactedStream=new e.bkB;label;errorMessage;ariaLabel;ariaLabelledby;get state(){return this._state()}set state(t){this._state.set(t)}_state=(0,l.vPA)(void 0);get editable(){return this._editable()}set editable(t){this._editable.set(t)}_editable=(0,l.vPA)(!0);optional=!1;get completed(){const t=this._completedOverride(),o=this._interacted();return t??(o&&(!this.stepControl||this.stepControl.valid))}set completed(t){this._completedOverride.set(t)}_completedOverride=(0,l.vPA)(null);index=(0,l.vPA)(-1);isSelected=(0,f.EW)(()=>this._stepper.selectedIndex===this.index());indicatorType=(0,f.EW)(()=>{const t=this.isSelected(),o=this.completed,s=this._state()??"number",h=this._editable();return this._showError()&&this.hasError&&!t?"error":this._displayDefaultIndicatorType?!o||t?"number":h?"edit":"done":o&&!t?"done":o&&t?s:h&&t?"edit":s});isNavigable=(0,f.EW)(()=>{const t=this.isSelected();return this.completed||t||!this._stepper.linear});get hasError(){return this._customError()??this._getDefaultError()}set hasError(t){this._customError.set(t)}_customError=(0,l.vPA)(null);_getDefaultError(){return this.interacted&&!!this.stepControl?.invalid}constructor(){const t=(0,l.WQX)(se,{optional:!0});this._stepperOptions=t||{},this._displayDefaultIndicatorType=!1!==this._stepperOptions.displayDefaultIndicatorType}select(){this._stepper.selected=this}reset(){this._interacted.set(!1),null!=this._completedOverride()&&this._completedOverride.set(!1),null!=this._customError()&&this._customError.set(!1),this.stepControl&&(this._childForms?.forEach(t=>t.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this._interacted()||(this._interacted.set(!0),this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??null!=this._customError()}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=e.VBU({type:n,selectors:[["cdk-step"]],contentQueries:function(o,s,h){if(1&o&&(e.wni(h,j,5),e.wni(h,D.ZU,5)),2&o){let v;e.mGM(v=e.lsd())&&(s.stepLabel=v.first),e.mGM(v=e.lsd())&&(s._childForms=v)}},viewQuery:function(o,s){if(1&o&&e.GBs(e.C4Q,7),2&o){let h;e.mGM(h=e.lsd())&&(s.content=h.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",u.L39],optional:[2,"optional","optional",u.L39],completed:[2,"completed","completed",u.L39],hasError:[2,"hasError","hasError",u.L39]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],features:[e.OA$],ngContentSelectors:ae,decls:1,vars:0,template:function(o,s){1&o&&(e.NAR(),e.PeT(0,re,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}return n})(),E=(()=>{class n{_dir=(0,l.WQX)(w.dS,{optional:!0});_changeDetectorRef=(0,l.WQX)(u.gRc);_elementRef=(0,l.WQX)(e.aKT);_destroyed=new k.B;_keyManager;_steps;steps=new e.rOR;_stepHeader;_sortedHeaders=new e.rOR;linear=!1;get selectedIndex(){return this._selectedIndex()}set selectedIndex(t){this._steps?(this._isValidIndex(t),this.selectedIndex!==t&&(this.selected?._markAsInteracted(),!this._anyControlsInvalidOrPending(t)&&(t>=this.selectedIndex||this.steps.toArray()[t].editable)&&this._updateSelectedItemIndex(t))):this._selectedIndex.set(t)}_selectedIndex=(0,l.vPA)(0);get selected(){return this.steps?this.steps.toArray()[this.selectedIndex]:void 0}set selected(t){this.selectedIndex=t&&this.steps?this.steps.toArray().indexOf(t):-1}selectionChange=new e.bkB;selectedIndexChange=new e.bkB;_groupId=(0,l.WQX)(H.g).getId("cdk-stepper-");get orientation(){return this._orientation}set orientation(t){this._orientation=t,this._keyManager&&this._keyManager.withVerticalOrientation("vertical"===t)}_orientation="horizontal";constructor(){}ngAfterContentInit(){this._steps.changes.pipe((0,O.Z)(this._steps),(0,C.Q)(this._destroyed)).subscribe(t=>{this.steps.reset(t.filter(o=>o._stepper===this)),this.steps.forEach((o,s)=>o.index.set(s)),this.steps.notifyOnChanges()})}ngAfterViewInit(){if(this._stepHeader.changes.pipe((0,O.Z)(this._stepHeader),(0,C.Q)(this._destroyed)).subscribe(t=>{this._sortedHeaders.reset(t.toArray().sort((o,s)=>o._elementRef.nativeElement.compareDocumentPosition(s._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new $.B(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation("vertical"===this._orientation),this._keyManager.updateActiveItem(this.selectedIndex),(this._dir?this._dir.change:(0,M.of)()).pipe((0,O.Z)(this._layoutDirection()),(0,C.Q)(this._destroyed)).subscribe(t=>this._keyManager?.withHorizontalOrientation(t)),this._keyManager.updateActiveItem(this.selectedIndex),this.steps.changes.subscribe(()=>{this.selected||this._selectedIndex.set(Math.max(this.selectedIndex-1,0))}),this._isValidIndex(this.selectedIndex)||this._selectedIndex.set(0),this.linear&&this.selectedIndex>0){const t=this.steps.toArray().slice(0,this._selectedIndex());for(const o of t)o._markAsInteracted()}}ngOnDestroy(){this._keyManager?.destroy(),this.steps.destroy(),this._sortedHeaders.destroy(),this._destroyed.next(),this._destroyed.complete()}next(){this.selectedIndex=Math.min(this._selectedIndex()+1,this.steps.length-1)}previous(){this.selectedIndex=Math.max(this._selectedIndex()-1,0)}reset(){this._updateSelectedItemIndex(0),this.steps.forEach(t=>t.reset()),this._stateChanged()}_getStepLabelId(t){return`${this._groupId}-label-${t}`}_getStepContentId(t){return`${this._groupId}-content-${t}`}_stateChanged(){this._changeDetectorRef.markForCheck()}_getAnimationDirection(t){const o=t-this._selectedIndex();return o<0?"rtl"===this._layoutDirection()?"next":"previous":o>0?"rtl"===this._layoutDirection()?"previous":"next":"current"}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex()}_updateSelectedItemIndex(t){const o=this.steps.toArray(),s=this._selectedIndex();this.selectionChange.emit({selectedIndex:t,previouslySelectedIndex:s,selectedStep:o[t],previouslySelectedStep:o[s]}),this._keyManager&&(this._containsFocus()?this._keyManager.setActiveItem(t):this._keyManager.updateActiveItem(t)),this._selectedIndex.set(t),this.selectedIndexChange.emit(t),this._stateChanged()}_onKeydown(t){const o=(0,x.rp)(t),s=t.keyCode,h=this._keyManager;null==h?.activeItemIndex||o||s!==U.t6&&s!==U.Fm?h?.setFocusOrigin("keyboard").onKeydown(t):(this.selectedIndex=h.activeItemIndex,t.preventDefault())}_anyControlsInvalidOrPending(t){return!!(this.linear&&t>=0)&&this.steps.toArray().slice(0,t).some(o=>{const s=o.stepControl;return(s?s.invalid||s.pending||!o.interacted:!o.completed)&&!o.optional&&!o._completedOverride()})}_layoutDirection(){return this._dir&&"rtl"===this._dir.value?"rtl":"ltr"}_containsFocus(){const t=this._elementRef.nativeElement,o=(0,g.v
1c)();return t===o||t.contains(o)}_isValidIndex(t){return t>-1&&(!this.steps||t<this.steps.length)}static \u0275fac=function(o){return new(o||n)};static \u0275dir=e.FsC({type:n,selectors:[["","cdkStepper",""]],contentQueries:function(o,s,h){if(1&o&&(e.wni(h,V,5),e.wni(h,K,5)),2&o){let v;e.mGM(v=e.lsd())&&(s._steps=v),e.mGM(v=e.lsd())&&(s._stepHeader=v)}},inputs:{linear:[2,"linear","linear",u.L39],selectedIndex:[2,"selectedIndex","selectedIndex",u.Udg],selected:"selected",orientation:"orientation"},outputs:{selectionChange:"selectionChange",selectedIndexChange:"selectedIndexChange"},exportAs:["cdkStepper"]})}return n})(),A=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=e.$C({type:n});static \u0275inj=l.G2t({imports:[b.jI]})}return n})();var de=p(14297),Z=p(88834),J=p(76838),q=p(18359),L=p(72200),S=p(88968),Ne=p(49046),ce=p(12629),ze=p(32046),pe=p(12496),me=p(39842),he=p(25558),ue=p(96354),Q=p(2709),ge=p(31804),ee=p(22466),fe=p(26881);const _e=(n,m,t)=>({index:n,active:m,optional:t});function ve(n,m){if(1&n&&e.eu8(0,2),2&n){const t=e.XpG();e.Y8G("ngTemplateOutlet",t.iconOverrides[t.state])("ngTemplateOutletContext",e.sMw(2,_e,t.index,t.active,t.optional))}}function He(n,m){if(1&n&&(e.j41(0,"span",7),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.R7$(),e.JRh(t._getDefaultTextForState(t.state))}}function $e(n,m){if(1&n&&(e.j41(0,"span",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t._intl.completedLabel)}}function N(n,m){if(1&n&&(e.j41(0,"span",8),e.EFF(1),e.k0s()),2&n){const t=e.XpG(3);e.R7$(),e.JRh(t._intl.editableLabel)}}function te(n,m){if(1&n&&(e.nVh(0,$e,2,1,"span",8)(1,N,2,1,"span",8),e.j41(2,"mat-icon",7),e.EFF(3),e.k0s()),2&n){const t=e.XpG(2);e.vxM("done"===t.state?0:"edit"===t.state?1:-1),e.R7$(3),e.JRh(t._getDefaultTextForState(t.state))}}function be(n,m){if(1&n&&e.nVh(0,He,2,1,"span",7)(1,te,4,2),2&n){let t;const o=e.XpG();e.vxM("number"===(t=o.state)?0:1)}}function Ce(n,m){1&n&&(e.j41(0,"div",4),e.eu8(1,9),e.k0s()),2&n&&(e.R7$(),e.Y8G("ngTemplateOutlet",m.template))}function ye(n,m){if(1&n&&(e.j41(0,"div",4),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.label)}}function Me(n,m){if(1&n&&(e.j41(0,"div",5),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t._intl.optionalLabel)}}function je(n,m){if(1&n&&(e.j41(0,"div",6),e.EFF(1),e.k0s()),2&n){const t=e.XpG();e.R7$(),e.JRh(t.errorMessage)}}const X=["*"];function xe(n,m){}function De(n,m){if(1&n&&(e.SdG(0),e.DNE(1,xe,0,0,"ng-template",0)),2&n){const t=e.XpG();e.R7$(),e.Y8G("cdkPortalOutlet",t._portal)}}const Te=["animatedContainer"],W=n=>({step:n});function ne(n,m){1&n&&e.SdG(0)}function Fe(n,m){1&n&&e.nrm(0,"div",7)}function Se(n,m){if(1&n&&(e.eu8(0,6),e.nVh(1,Fe,1,0,"div",7)),2&n){const t=m.$implicit,o=m.$index,s=m.$count;e.XpG(2);const h=e.sdS(4);e.Y8G("ngTemplateOutlet",h)("ngTemplateOutletContext",e.eq3(3,W,t)),e.R7$(),e.vxM(o!==s-1?1:-1)}}function we(n,m){if(1&n&&(e.j41(0,"div",8,1),e.eu8(2,9),e.k0s()),2&n){const t=m.$implicit,o=m.$index,s=e.XpG(2);e.HbH("mat-horizontal-stepper-content-"+s._getAnimationDirection(o)),e.Y8G("id",s._getStepContentId(o)),e.BMQ("aria-labelledby",s._getStepLabelId(o))("inert",s.selectedIndex===o?null:""),e.R7$(2),e.Y8G("ngTemplateOutlet",t.content)}}function ke(n,m){if(1&n&&(e.j41(0,"div",2)(1,"div",3),e.Z7z(2,Se,2,5,null,null,e.fX1),e.k0s(),e.j41(4,"div",4),e.Z7z(5,we,3,6,"div",5,e.fX1),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.Dyx(t.steps),e.R7$(3),e.Dyx(t.steps)}}function ie(n,m){if(1&n&&(e.j41(0,"div",10),e.eu8(1,6),e.j41(2,"div",11,1)(4,"div",12)(5,"div",13),e.eu8(6,9),e.k0s()()()()),2&n){const t=m.$implicit,o=m.$index,s=m.$index,h=m.$count,v=e.XpG(2),Ie=e.sdS(4);e.R7$(),e.Y8G("ngTemplateOutlet",Ie)("ngTemplateOutletContext",e.eq3(10,W,t)),e.R7$(),e.AVh("mat-stepper-vertical-line",s!==h-1)("mat-vertical-content-container-active",v.selectedIndex===o),e.BMQ("inert",v.selectedIndex===o?null:""),e.R7$(2),e.Y8G("id",v._getStepContentId(o)),e.BMQ("aria-labelledby",v._getStepLabelId(o)),e.R7$(2),e.Y8G("ngTemplateOutlet",t.content)}}function Oe(n,m){if(1&n&&e.Z7z(0,ie,7,12,"div",10,e.fX1),2&n){const t=e.XpG();e.Dyx(t.steps)}}function Ee(n,m){if(1&n){const t=e.RV6();e.j41(0,"mat-step-header",14),e.bIt("click",function(){const s=l.eBV(t).step;return l.Njj(s.select())})("keydown",function(s){l.eBV(t);const h=e.XpG();return l.Njj(h._onKeydown(s))}),e.k0s()}if(2&n){const t=m.step,o=e.XpG();e.AVh("mat-horizontal-stepper-header","horizontal"===o.orientation)("mat-vertical-stepper-header","vertical"===o.orientation),e.Y8G("tabIndex",o._getFocusIndex()===t.index()?0:-1)("id",o._getStepLabelId(t.index()))("index",t.index())("state",t.indicatorType())("label",t.stepLabel||t.label)("selected",t.isSelected())("active",t.isNavigable())("optional",t.optional)("errorMessage",t.errorMessage)("iconOverrides",o._iconOverrides)("disableRipple",o.disableRipple||!t.isNavigable())("color",t.color||o.color),e.BMQ("aria-posinset",t.index()+1)("aria-setsize",o.steps.length)("aria-controls",o._getStepContentId(t.index()))("aria-selected",t.isSelected())("aria-label",t.ariaLabel||null)("aria-labelledby",!t.ariaLabel&&t.ariaLabelledby?t.ariaLabelledby:null)("aria-disabled",!t.isNavigable()||null)}}let Y=(()=>
1{class n extends j{static \u0275fac=(()=>{let t;return function(s){return(t||(t=e.xGo(n)))(s||n)}})();static \u0275dir=e.FsC({type:n,selectors:[["","matStepLabel",""]],features:[e.Vt3]})}return n})(),G=(()=>{class n{changes=new k.B;optionalLabel="Optional";completedLabel="Completed";editableLabel="Editable";static \u0275fac=function(o){return new(o||n)};static \u0275prov=l.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}return n})();const a={provide:G,deps:[[new e.Xx1,new e.kdw,G]],useFactory:function Qe(n){return n||new G}};let d=(()=>{class n extends K{_intl=(0,l.WQX)(G);_focusMonitor=(0,l.WQX)(J.FN);_intlSubscription;state;label;errorMessage;iconOverrides;index;selected;active;optional;disableRipple;color;constructor(){super();const t=(0,l.WQX)(S.l);t.load(ze.A),t.load(Ne.Y);const o=(0,l.WQX)(u.gRc);this._intlSubscription=this._intl.changes.subscribe(()=>o.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(t,o){t?this._focusMonitor.focusVia(this._elementRef,t,o):this._elementRef.nativeElement.focus(o)}_stringLabel(){return this.label instanceof Y?null:this.label}_templateLabel(){return this.label instanceof Y?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getDefaultTextForState(t){return"number"==t?`${this.index+1}`:"edit"==t?"create":"error"==t?"warning":t}_hasEmptyLabel(){return!(this._stringLabel()||this._templateLabel()||this._hasOptionalLabel()||this._hasErrorLabel())}_hasOptionalLabel(){return this.optional&&"error"!==this.state}_hasErrorLabel(){return"error"===this.state}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=e.VBU({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:4,hostBindings:function(o,s){2&o&&(e.HbH("mat-"+(s.color||"primary")),e.AVh("mat-step-header-empty-label",s._hasEmptyLabel()))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},features:[e.Vt3],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(o,s){if(1&o&&(e.nrm(0,"div",0),e.j41(1,"div")(2,"div",1),e.nVh(3,ve,1,6,"ng-container",2)(4,be,2,1),e.k0s()(),e.j41(5,"div",3),e.nVh(6,Ce,2,1,"div",4)(7,ye,2,1,"div",4),e.nVh(8,Me,2,1,"div",5),e.nVh(9,je,2,1,"div",6),e.k0s()),2&o){let h;e.Y8G("matRippleTrigger",s._getHostElement())("matRippleDisabled",s.disableRipple),e.R7$(),e.HbH(e.VkB("mat-step-icon-state-",s.state," mat-step-icon")),e.AVh("mat-step-icon-selected",s.selected),e.R7$(2),e.vxM(s.iconOverrides&&s.iconOverrides[s.state]?3:4),e.R7$(2),e.AVh("mat-step-label-active",s.active)("mat-step-label-selected",s.selected)("mat-step-label-error","error"==s.state),e.R7$(),e.vxM((h=s._templateLabel())?6:s._stringLabel()?7:-1,h),e.R7$(2),e.vxM(s._hasOptionalLabel()?8:-1),e.R7$(),e.vxM(s._hasErrorLabel()?9:-1)}},dependencies:[pe.r6,L.T3,ce.An],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-hover-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-sys-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color, color-mix(in srgb, var(--mat-sys-on-surface) calc(var(--mat-sys-focus-state-layer-opacity) * 100%), transparent));border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-sys-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}@media(forced-colors: active){.mat-step-header{outline:solid 1px}.mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.mat-step-header[aria-disabled=true]{outline-color:GrayText}.mat-step-header[aria-disabled=true] .mat-step-label,.mat-step-header[aria-disabled=true] .mat-step-icon,.mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-sys-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-sys-on-surface-variant))}.mat-step-icon-content{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);display:flex}.mat-step-icon .mat-icon{font-size:16px;height:16px;width:16px}.mat-step-icon-state-error{background-color:var(--mat-stepper-header-error-state-icon-background-color, transparent);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-sys-error))}.mat-step-icon-state-error .mat-icon{font-size:24px;height:24px;width:24px}.mat-step-label{display:inline-block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:50px;vertical-align:middle;font-family:var(--mat-stepper-header-label-text-font, var(--mat-sys-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-sys-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-sys-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-sys-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-sys-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-sys-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-sys-title-small-weight))}.mat-step-header-empty-label .mat-step-label{min-width:0}.mat-step-text-label{text-overflow:ellipsis;overflow:hidden}.mat-step-header .mat-step-header-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-done-state-icon-foreground-color, var(--mat-sys-on-primary))}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-sys-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-sys-on-primary))}\n'],encapsulation:2,changeDetection:0})}return n})(),i=(()=>{class n{templateRef=(0,l.WQX)(e.C4Q);name;constructor(){}static \u0275fac=function(o){return new(o||n)};static \u0275dir=e.FsC({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]}})}return n})(),r=(()=>{class n{_template=(0,l.WQX)(e.C4Q);constructor(){}static \u0275fac=function(o){return new(o||n)};static \u0275dir=e.FsC({type:n,selectors:[["ng-template","matStepContent",""]]})}return n})(),c=(()=>{class n extends V{_errorStateMatcher=(0,l.WQX)(Q.e,{skipSelf:!0});
1_viewContainerRef=(0,l.WQX)(e.c1b);_isSelected=q.yU.EMPTY;stepLabel=void 0;color;_lazyContent;_portal;ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe((0,he.n)(()=>this._stepper.selectionChange.pipe((0,ue.T)(t=>t.selectedStep===this),(0,O.Z)(this._stepper.selected===this)))).subscribe(t=>{t&&this._lazyContent&&!this._portal&&(this._portal=new y.VA(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(t,o){return this._errorStateMatcher.isErrorState(t,o)||!!(t&&t.invalid&&this.interacted)}static \u0275fac=(()=>{let t;return function(s){return(t||(t=e.xGo(n)))(s||n)}})();static \u0275cmp=e.VBU({type:n,selectors:[["mat-step"]],contentQueries:function(o,s,h){if(1&o&&(e.wni(h,Y,5),e.wni(h,r,5)),2&o){let v;e.mGM(v=e.lsd())&&(s.stepLabel=v.first),e.mGM(v=e.lsd())&&(s._lazyContent=v.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],features:[e.Jv_([{provide:Q.e,useExisting:n},{provide:V,useExisting:n}]),e.Vt3],ngContentSelectors:X,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(o,s){1&o&&(e.NAR(),e.DNE(0,De,2,1,"ng-template"))},dependencies:[y.I3],encapsulation:2,changeDetection:0})}return n})(),_=(()=>{class n extends E{_ngZone=(0,l.WQX)(e.SKi);_renderer=(0,l.WQX)(e.sFG);_animationsDisabled=(0,ge.Rc)();_cleanupTransition;_isAnimating=(0,l.vPA)(!1);_stepHeader=void 0;_animatedContainers;_steps=void 0;steps=new e.rOR;_icons;animationDone=new e.bkB;disableRipple;color;labelPosition="end";headerPosition="top";_iconOverrides={};get animationDuration(){return this._animationDuration}set animationDuration(t){this._animationDuration=/^\d+$/.test(t)?t+"ms":t}_animationDuration="";_isServer=!(0,l.WQX)(me.O).isBrowser;constructor(){super();const o=(0,l.WQX)(e.aKT).nativeElement.nodeName.toLowerCase();this.orientation="mat-vertical-stepper"===o?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:t,templateRef:o})=>this._iconOverrides[t]=o),this.steps.changes.pipe((0,C.Q)(this._destroyed)).subscribe(()=>this._stateChanged()),this.selectedIndexChange.pipe((0,C.Q)(this._destroyed)).subscribe(()=>{const t=this._getAnimationDuration();"0ms"===t||"0s"===t?this._onAnimationDone():this._isAnimating.set(!0)}),this._ngZone.runOutsideAngular(()=>{this._animationsDisabled||setTimeout(()=>{this._elementRef.nativeElement.classList.add("mat-stepper-animations-enabled"),this._cleanupTransition=this._renderer.listen(this._elementRef.nativeElement,"transitionend",this._handleTransitionend)},200)})}ngAfterViewInit(){if(super.ngAfterViewInit(),"function"==typeof queueMicrotask){let t=!1;this._animatedContainers.changes.pipe((0,O.Z)(null),(0,C.Q)(this._destroyed)).subscribe(()=>queueMicrotask(()=>{t||(t=!0,this.animationDone.emit()),this._stateChanged()}))}}ngOnDestroy(){super.ngOnDestroy(),this._cleanupTransition?.()}_getAnimationDuration(){return this._animationsDisabled?"0ms":this.animationDuration?this.animationDuration:"horizontal"===this.orientation?"500ms":"225ms"}_handleTransitionend=t=>{const o=t.target;if(!o)return;const s="horizontal"===this.orientation&&"transform"===t.propertyName&&o.classList.contains("mat-horizontal-stepper-content-current"),h="vertical"===this.orientation&&"grid-template-rows"===t.propertyName&&o.classList.contains("mat-vertical-content-container-active");(s||h)&&this._animatedContainers.find(Ie=>Ie.nativeElement===o)&&this._onAnimationDone()};_onAnimationDone(){this._isAnimating.set(!1),this.animationDone.emit()}static \u0275fac=function(o){return new(o||n)};static \u0275cmp=e.VBU({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(o,s,h){if(1&o&&(e.wni(h,c,5),e.wni(h,i,5)),2&o){let v;e.mGM(v=e.lsd())&&(s._steps=v),e.mGM(v=e.lsd())&&(s._icons=v)}},viewQuery:function(o,s){if(1&o&&(e.GBs(d,5),e.GBs(Te,5)),2&o){let h;e.mGM(h=e.lsd())&&(s._stepHeader=h),e.mGM(h=e.lsd())&&(s._animatedContainers=h)}},hostAttrs:["role","tablist"],hostVars:15,hostBindings:function(o,s){2&o&&(e.BMQ("aria-orientation",s.orientation),e.xc7("--mat-stepper-animation-duration",s._getAnimationDuration()),e.AVh("mat-stepper-horizontal","horizontal"===s.orientation)("mat-stepper-vertical","vertical"===s.orientation)("mat-stepper-label-position-end","horizontal"===s.orientation&&"end"==s.labelPosition)("mat-stepper-label-position-bottom","horizontal"===s.orientation&&"bottom"==s.labelPosition)("mat-stepper-header-position-bottom","bottom"===s.headerPosition)("mat-stepper-animating",s._isAnimating()))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],features:[e.Jv_([{provide:E,useExisting:n}]),e.Vt3],ngContentSelectors:X,decls:5,vars:2,consts:[["stepTemplate",""],["animatedContainer",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","class"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(o,s){if(1&o&&(e.NAR(),e.nVh(0,ne,1,0),e.nVh(1,ke,7,0,"div",2)(2,Oe,2,0),e.DNE(3,Ee,1,23,"ng-template",null,0,e.C5r)),2&o){let h;e.vxM(s._isServer?0:-1),e.R7$(),e.vxM("horizontal"===(h=s.orientation)?1:"vertical"===h?2:-1)}},dependencies:[L.T3,d],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-sys-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-sys-surface))}.mat-horizontal-stepper-header-container{white-space:nowrap;display:flex;align-items:center}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header-container{align-items:flex-start}.mat-stepper-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{border-top-width:1px;border-top-style:solid;content:"";display:inline-block;height:0;position:absolute;width:calc(50% - 20px)}.mat-horizontal-stepper-header{display:flex;overflow:hidden;align-items:center;padding:0 24px;height:var(--mat-stepper-header-height, 72px)}.mat-horizontal-stepper-header .mat-step-icon{margin-right:8px;flex:none}[dir=rtl] .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:8px}.mat-horizontal-stepper-header.mat-step-header-empty-label .mat-step-icon{margin:0}.mat-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-sys-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) + 12px)}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{box-sizing:border-box;flex-direction:column;height:auto}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::after,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::after{right:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:first-child)::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:not(:last-child)::before{left:0}[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:last-child::before,[dir=rtl] .mat-stepper-label-position-bottom .mat-horizontal-stepper-header:first-child::after{display:none}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-icon{margin-right:0;margin-left:0}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header .mat-step-label{padding:16px 0 0 0;text-align:center;width:100%}.mat-vertical-stepper-header{display:flex;align-items:center;height:24px;padding:calc((var(--mat-stepper-header-height, 72px) - 24px) / 2) 24px}.mat-vertical-stepper-header .mat-step-icon{margin-right:12px}[dir=rtl] .mat-vertical-stepper-header .mat-step-icon{margin-right:0;margin-left:12px}.mat-horizontal-stepper-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{visibility:hidden;overflow:hidden;outline:0;height:0}.mat-stepper-animations-enabled .mat-horizontal-stepper-content{transition:transform var(--mat-stepper-animation-duration, 0) cubic-bezier(0.35, 0, 0.25, 1)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-previous{transform:translate3d(-100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-next{transform:translate3d(100%, 0, 0)}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{visibility:visible;transform:none;height:auto}.mat-stepper-horizontal:not(.mat-stepper-animating) .mat-horizontal-stepper-content.mat-horizontal-stepper-content-current{overflow:visible}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}@media(forced-colors: active){.mat-horizontal-content-container{outline:solid 1px}}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.mat-vertical-content-container{display:grid;grid-template-rows:0fr;grid-template-columns:100%;margin-left:36px;border:0;position:relative}.mat-stepper-animations-enabled .mat-vertical-content-container{transition:grid-template-rows var(--mat-stepper-animation-duration, 0) cubic-bezier(0.4, 0, 0.2, 1)}.mat-vertical-content-container.mat-vertical-content-container-active{grid-template-rows:1fr}.mat-step:last-child .mat-vertical-content-container{border:none}@media(forced-colors: active){.mat-vertical-content-container{outline:solid 1px}}[dir=rtl] .mat-vertical-content-container{margin-left:0;margin-right:36px}@supports not (grid-template-rows: 0fr){.mat-vertical-content-container{height:0}.mat-vertical-content-container.mat-vertical-content-container-active{height:auto}}.mat-stepper-vertical-line::before{content:"";position:absolute;
1left:0;border-left-width:1px;border-left-style:solid;border-left-color:var(--mat-stepper-line-color, var(--mat-sys-outline));top:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height, 72px) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0;visibility:hidden}.mat-stepper-animations-enabled .mat-vertical-stepper-content{transition:visibility var(--mat-stepper-animation-duration, 0) linear}.mat-vertical-content-container-active>.mat-vertical-stepper-content{visibility:visible}.mat-vertical-content{padding:0 24px 24px 24px}\n'],encapsulation:2,changeDetection:0})}return n})(),Xe=(()=>{class n{static \u0275fac=function(o){return new(o||n)};static \u0275mod=e.$C({type:n});static \u0275inj=l.G2t({providers:[a,Q.e],imports:[ee.y,y.jc,A,ce.m_,fe.p,_,d,ee.y]})}return n})();var We=p(43606),et=p(40455),Ye=p(86156),tt=p(49338),Ue=p(25003),nt=p(5964),it=p(96697);const ot=["*"];function at(n,m){1&n&&e.eu8(0)}function rt(n,m){if(1&n&&(e.j41(0,"h1",1),e.DNE(1,at,1,0,"ng-container",2),e.k0s()),2&n){const t=e.XpG(),o=e.sdS(8);e.Y8G("ngClass",t.headerClasses),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function st(n,m){1&n&&e.eu8(0)}function lt(n,m){if(1&n&&(e.j41(0,"h2",1),e.DNE(1,st,1,0,"ng-container",2),e.k0s()),2&n){const t=e.XpG(),o=e.sdS(8);e.Y8G("ngClass",t.headerClasses),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function dt(n,m){1&n&&e.eu8(0)}function ct(n,m){if(1&n&&(e.j41(0,"h3",1),e.DNE(1,dt,1,0,"ng-container",2),e.k0s()),2&n){const t=e.XpG(),o=e.sdS(8);e.Y8G("ngClass",t.headerClasses),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function pt(n,m){1&n&&e.eu8(0)}function mt(n,m){if(1&n&&(e.j41(0,"h4",1),e.DNE(1,pt,1,0,"ng-container",2),e.k0s()),2&n){const t=e.XpG(),o=e.sdS(8);e.Y8G("ngClass",t.headerClasses),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function ht(n,m){1&n&&e.eu8(0)}function ut(n,m){if(1&n&&(e.j41(0,"h5",1),e.DNE(1,ht,1,0,"ng-container",2),e.k0s()),2&n){const t=e.XpG(),o=e.sdS(8);e.Y8G("ngClass",t.headerClasses),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function gt(n,m){1&n&&e.eu8(0)}function ft(n,m){if(1&n&&(e.j41(0,"h6",1),e.DNE(1,gt,1,0,"ng-container",2),e.k0s()),2&n){const t=e.XpG(),o=e.sdS(8);e.Y8G("ngClass",t.headerClasses),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function _t(n,m){1&n&&e.eu8(0)}function vt(n,m){if(1&n&&(e.j41(0,"h3",1),e.DNE(1,_t,1,0,"ng-container",2),e.k0s()),2&n){const t=e.XpG(),o=e.sdS(8);e.Y8G("ngClass",t.headerClasses),e.R7$(),e.Y8G("ngTemplateOutlet",o)}}function bt(n,m){1&n&&e.SdG(0)}let Ct=(()=>{class n{constructor(){this.headerTag=(0,u.hFB)("h3"),this.headerCssClass=(0,u.hFB)(""),this.heightCompressed=(0,u.hFB)(!1),this.headerClasses=[]}ngOnInit(){this.headerClasses=this.headerCssClass()?[this.headerCssClass()]:[],this.heightCompressed()&&this.headerClasses.unshift("height-compressed")}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["gg-lib-configurable-header"]],inputs:{headerTag:[1,"headerTag"],headerCssClass:[1,"headerCssClass"],heightCompressed:[1,"he
1ightCompressed"]},ngContentSelectors:ot,decls:9,vars:1,consts:[["headTemplate",""],[3,"ngClass"],[4,"ngTemplateOutlet"]],template:function(o,s){if(1&o&&(e.NAR(),e.nVh(0,rt,2,2,"h1",1)(1,lt,2,2,"h2",1)(2,ct,2,2,"h3",1)(3,mt,2,2,"h4",1)(4,ut,2,2,"h5",1)(5,ft,2,2,"h6",1)(6,vt,2,2,"h3",1),e.DNE(7,bt,1,0,"ng-template",null,0,e.C5r)),2&o){let h;e.vxM("h1"===(h=s.headerTag())?0:"h2"===h?1:"h3"===h?2:"h4"===h?3:"h5"===h?4:"h6"===h?5:6)}},dependencies:[L.YU,L.T3],styles:["[_nghost-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h1[_ngcontent-%COMP%]{font-size:40px;font-weight:400;line-height:52px;letter-spacing:.25px}@media(min-width:1080px){[_nghost-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h1[_ngcontent-%COMP%]{font-size:48px;font-weight:400;line-height:64px;letter-spacing:0}}[_nghost-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h2[_ngcontent-%COMP%]{font-size:32px;font-weight:400;line-height:48px;letter-spacing:.25px}@media(min-width:1080px){[_nghost-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h2[_ngcontent-%COMP%]{font-size:40px;font-weight:400;line-height:52px;letter-spacing:.25px}}[_nghost-%COMP%] h3[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h3[_ngcontent-%COMP%]{font:400 28px/36px Futura W01,Arial,Helvetica,sans-serif}@media(min-width:1080px){[_nghost-%COMP%] h3[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h3[_ngcontent-%COMP%]{font-size:32px;font-weight:400;line-height:48px;letter-spacing:.25px}}[_nghost-%COMP%] h4[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h4[_ngcontent-%COMP%]{font:400 24px/32px Futura W01,Arial,Helvetica,sans-serif}@media(min-width:1080px){[_nghost-%COMP%] h4[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h4[_ngcontent-%COMP%]{font-size:28px;font-weight:400;line-height:36px;letter-spacing:0}}[_nghost-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h5[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:28px;letter-spacing:.15px}@media(min-width:1080px){[_nghost-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h5[_ngcontent-%COMP%]{font-size:24px;font-weight:500;line-height:32px;letter-spacing:0}}[_nghost-%COMP%] h6[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h6[_ngcontent-%COMP%]{font:500 18px/24px Futura W01,Arial,Helvetica,sans-serif;letter-spacing:.15px}@media(min-width:1080px){[_nghost-%COMP%] h6[_ngcontent-%COMP%], [_nghost-%COMP%] .class-h6[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:28px;letter-spacing:.15px}}[_nghost-%COMP%] [_ngcontent-%COMP%]:not(.height-compressed){margin-bottom:1rem}[_nghost-%COMP%] .height-compressed[_ngcontent-%COMP%]{padding-top:0!important}[_nghost-%COMP%] :is(h1[_ngcontent-%COMP%], h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%], h5[_ngcontent-%COMP%], h6[_ngcontent-%COMP%]) a{color:#595959}"],changeDetection:0})}}return n})();const yt=[[["","drawer-header-action",""]]],Mt=["[drawer-header-action]"];function xt(n,m){if(1&n){const t=e.RV6();e.j41(0,"button",5),e.bIt("click",function(){l.eBV(t);const s=e.XpG();return l.Njj(s.back())}),e.j41(1,"span",6),l.qSk(),e.j41(2,"svg",3),e.nrm(3,"path",7),e.k0s(),e.EFF(4),e.k0s()()}if(2&n){const t=e.XpG();e.Y8G("disableRipple",!0)("matTooltipDisabled",!t.displayTooltip()),e.R7$(4),e.SpI(" ",t.backText()," ")}}function Dt(n,m){1&n&&e.nrm(0,"gg-lib-flyout-bar")}function Tt(n,m){}function Ft(n,m){if(1&n&&(e.j41(0,"cdk-step"),e.DNE(1,Tt,0,0,"ng-template",1),e.k0s()),2&n){const t=m.$implicit;e.R7$(),e.Y8G("cdkPortalOutlet",t.portal)}}const St=[[["","drawer-header-action",""]],[["","drawer-subtitle-content",""]],[["","drawer-header-content",""]],[["","drawer-header-download",""]]],wt=["[drawer-header-action]","[drawer-subtitle-content]","[drawer-header-content]","[drawer-header-download]"];function kt(n,m){if(1&n&&e.nrm(0,"p",3),2&n){const t=e.XpG(2);e.Y8G("innerHTML",t.subTitle(),e.npT)}}function Ot(n,m){if(1&n&&(e.j41(0,"gg-lib-configurable-header",4),e.EFF(1),e.k0s()),2&n){const t=e.XpG(2);e.Y8G("headerTag",t.headerTag()),e.R7$(),e.SpI(" ",t.title()," ")}}function Et(n,m){if(1&n&&(e.j41(0,"div",1)(1,"div",2),e.nVh(2,kt,1,1,"p",3),e.SdG(3,1),e.k0s(),e.nVh(4,Ot,2,2,"gg-lib-configurable-header",4),e.j41(5,"div",5),e.SdG(6,2),e.SdG(7,3),e.k0s()()),2&n){const t=e.XpG();e.R7$(2),e.vxM(t.subTitle()?2:-1),e.R7$(2),e.vxM(t.title()?4:-1)}}let Be=(()=>{class n{constructor(){this._count=(0,l.vPA)(0),this.isPresent=(0,f.EW)(()=>this._count()>0)}increment(){this._count.update(t=>t+1)}
1decrement(){this._count.update(t=>t-1)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=l.jDH({token:n,factory:n.\u0275fac})}}return n})(),Re=(()=>{class n{constructor(){this.viewsCount=(0,l.vPA)(0),this.close=()=>{},this.back=()=>{}}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=l.jDH({token:n,factory:n.\u0275fac})}}return n})(),Ke=(()=>{class n{constructor(){this.ctrl=(0,l.WQX)(Re,{optional:!0}),this.backText=(0,u.hFB)(""),this.displayTooltip=(0,u.hFB)(!1),this.invertColors=(0,u.hFB)(!1),this.borderBottom=(0,u.hFB)(!1),this.isBackButtonVisible=(0,f.EW)(()=>this.ctrl?.viewsCount()>1)}close(){this.ctrl?.close()}back(){this.ctrl?.back()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["gg-lib-flyout-bar"]],hostVars:4,hostBindings:function(o,s){2&o&&e.AVh("invert",s.invertColors())("border",s.borderBottom())},inputs:{backText:[1,"backText"],displayTooltip:[1,"displayTooltip"],invertColors:[1,"invertColors"],borderBottom:[1,"borderBottom"]},ngContentSelectors:Mt,decls:6,vars:3,consts:[["mat-icon-button","","matTooltip","Back",3,"disableRipple","matTooltipDisabled"],[1,"top-buttons"],["mat-icon-button","","aria-label","Close","matTooltip","Close",3,"click","disableRipple","matTooltipDisabled"],["xmlns","http://www.w3.org/2000/svg","height","24px","viewBox","0 -960 960 960","width","24px"],["d","m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"],["mat-icon-button","","matTooltip","Back",3,"click","disableRipple","matTooltipDisabled"],[1,"back-button"],["d","M560-240 320-480l240-240 56 56-184 184 184 184-56 56Z"]],template:function(o,s){1&o&&(e.NAR(yt),e.nVh(0,xt,5,3,"button",0),e.j41(1,"div",1),e.SdG(2),e.k0s(),e.j41(3,"button",2),e.bIt("click",function(){return s.close()}),l.qSk(),e.j41(4,"svg",3),e.nrm(5,"path",4),e.k0s()()),2&o&&(e.vxM(s.isBackButtonVisible()?0:-1),e.R7$(3),e.Y8G("disableRipple",!0)("matTooltipDisabled",!s.displayTooltip()))},dependencies:[Ye.u,et.oV,We.NQ,Z.Hl,de.iY],styles:["[_nghost-%COMP%]{display:flex;box-sizing:content-box;padding:1.5rem;justify-content:space-between;align-items:center;gap:1rem;--mat-icon-button-icon-color: #004D9F;--mat-icon-button-state-layer-color: transparent;--mat-icon-button-state-layer-size: auto;--mat-icon-button-touch-target-size: 1.5rem}.invert[_nghost-%COMP%]{--mat-icon-button-icon-color: #FFFFFF}.border[_nghost-%COMP%]{border-bottom:1px solid #F3F3F3}.back-button[_ngcontent-%COMP%]{display:flex;align-items:center;font:500 18px/24px Futura W01,Arial,Helvetica,sans-serif;letter-spacing:.15px}@media(min-width:1080px){.back-button[_ngcontent-%COMP%]{font-size:20px;font-weight:500;line-height:28px;letter-spacing:.15px}}.top-buttons[_ngcontent-%COMP%]{width:100%}"],changeDetection:0})}}return n})(),Pe=(()=>{class n extends E{constructor(){super(...arguments),this.headerService=(0,l.WQX)(Be)}selectStep(t){!this._steps||t<0||t>=this._steps.length||t===this.selectedIndex||(this.selectedIndex=t)}static{this.\u0275fac=(()=>{let t;return function(s){return(t||(t=e.xGo(n)))(s||n)}})()}static{this.\u0275cmp=e.VBU({type:n,selectors:[["gg-lib-flyout-stepper"]],features:[e.Jv_([{provide:E,useExisting:n}]),e.Vt3],decls:2,vars:2,consts:[[3,"ngTemplateOutlet"]],template:function(o,s){1&o&&(e.nVh(0,Dt,1,0,"gg-lib-flyout-bar"),e.nrm(1,"div",0)),2&o&&(e.vxM(s.headerService.isPresent()?-1:0),e.R7$(),e.Y8G("ngTemplateOutlet",s.selected?s.selected.content:null))},dependencies:[L.T3,A,Ke],encapsulation:2})}}return n})(),Bt=(()=>{class n{constructor(){this.dialogRef=(0,l.WQX)(F.ce),this.document=(0,l.WQX)(l.qQL),this.stepper=(0,u.ebz)(Pe),this.destroyRef=(0,l.WQX)(l.abz),this.injector=(0,l.WQX)(l.zZn),this.ctrl=(0,l.WQX)(Re),this.selectStepTimer=null,this.views=(0,l.vPA)([]),this.isClosing=(0,l.vPA)(!1),this.viewCount=(0,f.EW)(()=>this.views().length),this.destroyRef.onDestroy(()=>clearTimeout(this.selectStepTimer??void 0)),(0,f.QZ)(()=>this.ctrl.viewsCount.set(this.views().length)),this.ctrl.close=()=>this.startClose(),this.ctrl.back=()=>this.back()}addView(t,o){this.views.update(t instanceof e.C4Q?s=>[...s,{portal:new y.VA(t,null,{...o,flyoutInjector:this.injector},this.injector)}]:s=>[...s,{portal:new y.A8(t,null,this.injector)}]),this.selectStepTimer=setTimeout(()=>{this.stepper()?.selectStep(this.views().length-1),clearTimeout(this.selectStepTimer??void 0),this.selectStepTimer=null})}startClose(){if(this.isClosing())return;this.isClosing.set(!0);const t=this.document.querySelector(".cdk-overlay-backdrop");t&&(t.style.opacity="0"),setTimeout(()=>this.dialogRef.close(!0),75)}back(){this.views.update(t=>[...t.slice(0,-1)]),this.selectStepTimer=setTimeout(()=>{this.stepper()?.selectStep(this.views().length-1),clearTimeout(this.selectStepTimer??void 0),this.selectStepTimer=null})}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["gg-lib-flyout"]],viewQuery:function(o,s){1&o&&e.wEZ(s.stepper,Pe,5),2&o&&e.NyB()},hostVars:2,hostBindings:function(o,s){2&o&&e.AVh("flyout-exit",s.isClosing())},features:[e.Jv_([Be,Re])],decls:4,vars:0,consts:[["data-onedatalayer-source","Drawer",1,"flyout"],[3,"cdkPortalOutlet"]],template:function(o,s){1&o&&(e.j41(0,"div",0)(1,"gg-lib-flyout-stepper"),e.Z7z(2,Ft,2,1,"cdk-step",null,e.Vm6),e.k0s()()),2&o&&(e.R7$(2),e.Dyx(s.views()))},dependencies:[Xe,y.I3,Z.Hl,We.NQ,A,V,Pe],styles:["cdk-dialog-container[_nghost-%COMP%], cdk-dialog-container [_nghost-%COMP%]{outline:none!important}[_nghost-%COMP%]{display:block;background:#fff;width:100%;height:100%;overflow:auto;overflow-x:hidden;animation:_ngcontent-%COMP%_flyout-enter .25s ease}.flyout-exit[_nghost-%COMP%]{animation:_ngcontent-%COMP%_flyout-exit 75ms ease forwards}@keyframes _ngcontent-%COMP%_flyout-enter{0%{transform:translate(100%)}to{transform:translate(0)}}@keyframes _ngcontent-%COMP%_flyout-exit{0%{transform:translate(0)}to{transform:translate(100%)}}.backdrop-exit[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_backdrop-exit .15s ease forwards!important}@keyframes _ngcontent-%COMP%_backdrop-exit{0%{opacity:1}to{opacity:0}
1}"]})}}return n})(),Rt=(()=>{class n{constructor(){this.dialog=(0,l.WQX)(F.lG),this.router=(0,l.WQX)(Ue.Ix,{optional:!0}),this._flyoutRef=(0,l.vPA)(null),this.viewsCount=(0,f.EW)(()=>this._flyoutRef()?.componentInstance?.viewCount()??0)}open(t,o){this._flyoutRef()?.componentInstance||(this._flyoutRef.set(this.dialog.open(Bt,{data:{template:t},autoFocus:!1,restoreFocus:!1,ariaModal:!1,closeOnNavigation:!1,height:"100%",width:"654px",positionStrategy:(new tt.qC).top("0").end("0"),closePredicate:(s,h,v)=>(v.startClose(),!!s)})),this._flyoutRef()?.closed?.subscribe(()=>this._flyoutRef.set(null)),this.router?.events.pipe((0,nt.p)(s=>s instanceof Ue.Z),(0,it.s)(1)).subscribe(()=>this._flyoutRef()?.close())),this._flyoutRef().componentInstance.addView(t,o)}close(){this._flyoutRef()?.close(),this._flyoutRef.set(null)}back(){this._flyoutRef()?.componentInstance?.back()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275prov=l.jDH({token:n,factory:n.\u0275fac,providedIn:"root"})}}return n})(),Ze=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","drawer-header-content",""]]})}}return n})(),Je=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275dir=e.FsC({type:n,selectors:[["","drawer-header-download",""]]})}}return n})(),Pt=(()=>{class n{constructor(){this.title=(0,u.hFB)(),this.subTitle=(0,u.hFB)(),this.backText=(0,u.hFB)(),this.headerTag=(0,u.hFB)("h5"),this.theme=(0,u.hFB)("grey"),this.padding=(0,u.hFB)(!1),this.noBottomMargin=(0,u.hFB)(!1),this.backgroundImage=(0,u.hFB)(""),this.displayTooltip=(0,u.hFB)(!0),this.injector=(0,l.WQX)(l.zZn),this.headerContent=(0,u.sbv)(Ze),this.headerDownload=(0,u.sbv)(Je),this.hasDrawerHeader=(0,f.EW)(()=>!!(this.title()||this.subTitle()||this.headerContent()||this.headerDownload())),this.hostClass=(0,f.EW)(()=>`theme-${this.theme()} ${this.padding()?"padding":""} ${this.noBottomMargin()?"no-bottom-margin":""}`),this.hostBackgroundImage=(0,f.EW)(()=>this.backgroundImage()?`url(${this.backgroundImage()})`:"none")}ngOnInit(){const t=this.injector.get(Be,null);t&&(t.increment(),this.injector.get(l.abz).onDestroy(()=>t.decrement()))}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=e.VBU({type:n,selectors:[["gg-lib-drawer-header"]],contentQueries:function(o,s,h){1&o&&(e.C6U(h,s.headerContent,Ze,5),e.C6U(h,s.headerDownload,Je,5)),2&o&&e.NyB(2)},hostVars:4,hostBindings:function(o,s){2&o&&(e.HbH(s.hostClass()),e.xc7("background-image",s.hostBackgroundImage()))},inputs:{title:[1,"title"],subTitle:[1,"subTitle"],backText:[1,"backText"],headerTag:[1,"headerTag"],theme:[1,"theme"],padding:[1,"padding"],noBottomMargin:[1,"noBottomMargin"],backgroundImage:[1,"backgroundImage"],displayTooltip:[1,"displayTooltip"]},ngContentSelectors:wt,decls:3,vars:5,consts:[[3,"backText","displayTooltip","borderBottom","invertColors"],[1,"drawer-header"],[1,"subtitle-wrapper"],[1,"subtitle",3,"innerHTML"],[3,"headerTag"],[1,"content-wrapper"]],template:function(o,s){1&o&&(e.NAR(St),e.j41(0,"gg-lib-flyout-bar",0),e.SdG(1,0,["ngProjectAs","[drawer-header-action]",5,["","drawer-header-action",""]]),e.k0s(),e.nVh(2,Et,8,2,"div",1)),2&o&&(e.Y8G("backText",s.backText())("displayTooltip",s.displayTooltip())("borderBottom","white"===s.theme())("invertColors","blue"===s.theme()),e.R7$(2),e.vxM(s.hasDrawerHeader()?2:-1))},dependencies:[Ct,Ye.u,Ke],styles:["[_nghost-%COMP%]{display:flex;flex-direction:column;background:#f9f9f9;margin-bottom:2rem;background-size:cover!important;background-position:center!important}.padding[_nghost-%COMP%]{margin-left:0;margin-right:0}.no-bottom-margin[_nghost-%COMP%]{margin-bottom:0;padding-bottom:0}.theme-grey[_nghost-%COMP%]{background:#f9f9f9;color:#606060}.theme-white[_nghost-%COMP%]{background:#fff;color:#606060}.theme-blue[_nghost-%COMP%]{background:#004d9f;color:#fff}.drawer-header[_ngcontent-%COMP%]{padding:0 1.5rem 1.5rem}.subtitle[_ngcontent-%COMP%]{font-size:16px;font-weight:400;line-height:24px;
1font-family:Futura W01,Arial,Helvetica,sans-serif;letter-spacing:.25px;margin-bottom:1rem}.subtitle-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:1rem}"],changeDetection:0})}}return n})()},6433(oe,P,p){p.d(P,{Yj:()=>G,ZM:()=>W,wA:()=>Fe});var e=p(73664),l=p(2615),f=p(17705),u=p(99172),F=p(983),y=p(7673),D=p(96354),k=p(84572),M=p(56977),O=p(99437);class C extends Error{}function $(a,d){if("string"!=typeof a)throw new C("Invalid token specified: must be a string");d||(d={});const i=!0===d.header?0:1,r=a.split(".")[i];if("string"!=typeof r)throw new C(`Invalid token specified: missing part #${i+1}`);let c;try{c=function H(a){let d=a.replace(/-/g,"+").replace(/_/g,"/");switch(d.length%4){case 0:break;case 2:d+="==";break;case 3:d+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return function w(a){return decodeURIComponent(atob(a).replace(/(.)/g,(d,i)=>{let r=i.charCodeAt(0).toString(16).toUpperCase();return r.length<2&&(r="0"+r),"%"+r}))}(d)}catch{return atob(d)}}(r)}catch(_){throw new C(`Invalid token specified: invalid base64 for part #${i+1} (${_.message})`)}try{return JSON.parse(c)}catch(_){throw new C(`Invalid token specified: invalid json for part #${i+1} (${_.message})`)}}C.prototype.name="InvalidTokenError";var x=p(18856),U=p(29330),g=p(72200);const T=["*"];function Le(a,d){if(1&a&&(l.qSk(),e.nrm(0,"animate",7)),2&a){const i=e.XpG();e.BMQ("keyTimes",i.keyTimes)("values",i.animationValues[0])("dur",i.duration)}}function ae(a,d){if(1&a&&(l.qSk(),e.nrm(0,"animate",7)),2&a){const i=e.XpG();e.BMQ("keyTimes",i.keyTimes)("values",i.animationValues[1])("dur",i.duration)}}function re(a,d){if(1&a&&(l.qSk(),e.nrm(0,"animate",7)),2&a){const i=e.XpG();e.BMQ("keyTimes",i.keyTimes)("values",i.animationValues[2])("dur",i.duration)}}let j=(()=>{class a{constructor(){this.fixedId=function K(){return Math.random().toString(36).substring(2)}(),this.idClip=`${this.fixedId}-diff`,this.idGradient=`${this.fixedId}-animated-diff`,this.idAria=`${this.fixedId}-aria`,this.animate=!0,this.baseUrl="",this.speed=1.2,this.viewBox="0 0 400 130",this.gradientRatio=2,this.backgroundColor="#f5f6f7",this.backgroundOpacity=1,this.foregroundColor="#eee",this.foregroundOpacity=1,this.rtl=!1,this.interval=.25,this.style={},this.animationValues=[]}ngOnInit(){this.clipPath=`url(${this.baseUrl}#${this.idClip})`,this.fillStyle={fill:`url(${this.baseUrl}#${this.idGradient})`},this.style=this.rtl?{...this.style,transform:"scaleX(-1)"}:this.style,this.duration=`${this.speed}s`,this.keyTimes=`0; ${this.interval}; 1`,this.animationValues=[`${-this.gradientRatio}; ${-this.gradientRatio}; 1`,`${-this.gradientRatio/2}; ${-this.gradientRatio/2}; ${1+this.gradientRatio/2}`,`0; 0; ${1+this.gradientRatio}`]}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275cmp=e.VBU({type:a,selectors:[["content-loader"]],inputs:{animate:"animate",baseUrl:"baseUrl",speed:"speed",viewBox:"viewBox",gradientRatio:"gradientRatio",backgroundColor:"backgroundColor",backgroundOpacity:"backgroundOpacity",foregroundColor:"foregroundColor",foregroundOpacity:"foregroundOpacity",rtl:"rtl",interval:"interval",style:"style"},standalone:!1,ngContentSelectors:T,decls:12,vars:15,consts:[[3,"ngStyle"],["role","presentation","x","0","y","0","width","100%","height","100%",3,"ngStyle"],["role","presentation"],["offset","0%"],["attributeName","offset","repeatCount","indefinite",4,"ngIf"],["offset","50%"],["offset","100%"],["attributeName","offset","repeatCount","indefinite"]],template:function(i,r){1&i&&(e.NAR(),l.qSk(),e.j41(0,"svg",0),e.nrm(1,"rect",1),e.j41(2,"defs",2)(3,"clipPath"),e.SdG(4),e.k0s(),e.j41(5,"linearGradient")(6,"stop",3),e.DNE(7,Le,1,3,"animate",4),e.k0s(),e.j41(8,"stop",5),e.DNE(9,ae,1,3,"animate",4),e.k0s(),e.j41(10,"stop",6),e.DNE(11,re,1,3,"animate",4),e.k0s()()()()),2&i&&(e.Y8G("ngStyle",r.style),e.BMQ("viewBox",r.viewBox),e.R7$(),e.Y8G("ngStyle",r.fillStyle),e.BMQ("clip-path",r.clipPath),e.R7$(2),e.BMQ("id",r.idClip),e.R7$(2),e.BMQ("id",r.idGradient),e.R7$(),e.BMQ("stop-color",r.backgroundColor)("stop-opacity",r.backgroundOpacity),e.R7$(),e.Y8G("ngIf",r.animate),e.R7$(),e.BMQ("stop-color",r.foregroundColor)("stop-opacity",r.foregroundOpacity),e.R7$(),e.Y8G("ngIf",r.animate),e.R7$(),e.BMQ("stop-color",r.backgroundColor)("stop-opacity",r.backgroundOpacity),e.R7$(),e.Y8G("ngIf",r.animate))},dependencies:[g.B3,g.bT],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),a})(),se=(()=>{class a extends j{}return a.\u0275fac=(()=>{let d;return function(r){return(d||(d=e.xGo(a)))(r||a)}}
1)(),a.\u0275cmp=e.VBU({type:a,selectors:[["list-content-loader"]],standalone:!1,features:[e.Vt3],decls:7,vars:0,consts:[["viewBox","0 0 400 110"],["x","0","y","0","rx","3","ry","3","width","250","height","10"],["x","20","y","20","rx","3","ry","3","width","220","height","10"],["x","20","y","40","rx","3","ry","3","width","170","height","10"],["x","0","y","60","rx","3","ry","3","width","250","height","10"],["x","20","y","80","rx","3","ry","3","width","200","height","10"],["x","20","y","100","rx","3","ry","3","width","80","height","10"]],template:function(i,r){1&i&&(e.j41(0,"content-loader",0),l.qSk(),e.nrm(1,"rect",1)(2,"rect",2)(3,"rect",3)(4,"rect",4)(5,"rect",5)(6,"rect",6),e.k0s())},dependencies:[j],encapsulation:2,changeDetection:0}),a})(),V=(()=>{class a{static forRoot(){return{ngModule:a}}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=e.$C({type:a}),a.\u0275inj=l.G2t({imports:[[g.MD]]}),a})();var E=p(82247),le=p(43606),I=p(89417),A=p(23294),de=p(44668),Z=p(39901),J=p(33980),q=p(20943),L=p(95416);const pe=["*"];function me(a,d){if(1&a){const i=e.RV6();e.j41(0,"wca-form-field",2),e.bIt("change",function(c){l.eBV(i);const _=e.XpG(2);return l.Njj(_.setValue(c))}),e.k0s()}if(2&a){const i=e.XpG(2);e.Y8G("type","hidden")("formGroup",i.field().form)("name",i.field().formControlName)("label",i.field().label)}}function he(a,d){if(1&a){const i=e.RV6();e.j41(0,"div",1)(1,"wca-form-field",3),e.nI1(2,"async"),e.nI1(3,"async"),e.bIt("change",function(c){l.eBV(i);const _=e.XpG(2);return l.Njj(_.setValue(c))}),e.k0s()()}if(2&a){const i=e.XpG(2);e.R7$(),e.Y8G("type",i.field().type)("formGroup",i.field().form)("name",i.field().formControlName)("label",i.field().label)("required",e.bMT(2,6,i.required$))("errorMessage",e.bMT(3,8,i.field().getErrorMessage()))}}function ue(a,d){if(1&a){const i=e.RV6();e.j41(0,"div",1)(1,"wca-form-field",4),e.nI1(2,"async"),e.nI1(3,"async"),e.bIt("change",function(c){l.eBV(i);const _=e.XpG(2);return l.Njj(_.setValue(c))}),e.k0s()()}if(2&a){const i=e.XpG(2);e.R7$(),e.Y8G("multiselect",!0)("type","checkbox")("formGroup",i.field().form)("name",i.field().formControlName)("label",i.field().label)("required",e.bMT(2,7,i.required$))("errorMessage",e.bMT(3,9,i.field().getErrorMessage()))}}function Q(a,d){if(1&a){const i=e.RV6();e.j41(0,"div",1)(1,"wca-form-field",5),e.nI1(2,"async"),e.nI1(3,"async"),e.bIt("change",function(c){l.eBV(i);const _=e.XpG(2);return l.Njj(_.setValue(c))}),e.k0s()()}if(2&a){const i=e.XpG(2);e.R7$(),e.Y8G("type",i.field().type)("formGroup",i.field().form)("name",i.field().formControlName)("label",i.field().label)("list",i.field().listItems)("required",e.bMT(2,8,i.required$))("autocomplete",i.field().getAutocomplete())("errorMessage",e.bMT(3,10,i.field().getErrorMessage()))}}function ge(a,d){if(1&a&&e.nVh(0,me,1,4,"wca-form-field",0)(1,he,4,10,"div",1)(2,ue,4,11,"div",1)(3,Q,4,12,"div",1),2&a){let i;const r=e.XpG();e.vxM("hidden"===(i=r.field().type)?0:"checkbox"===i?1:"checkboxes"===i?2:3)}}function ee(a,d){if(1&a){const i=e.RV6();e.j41(0,"wca-form-field",2),e.bIt("change",function(c){l.eBV(i);const _=e.XpG();return l.Njj(_.setValue(c))}),e.k0s()}if(2&a){const i=e.XpG();e.Y8G("type","hidden")("formGroup",i.field().form)("name",i.field().formControlName)("label",i.field().label)}}const fe=(a,d)=>d.formControlName;function Ve(a,d){1&a&&(e.j41(0,"div",0),e.nrm(1,"list-content-loader")(2,"list-content-loader")(3,"list-content-loader"),e.k0s())}function Ae(a,d){if(1&a){const i=e.RV6();e.j41(0,"gg-lib-dynamic-form-field",4),e.bIt("valueChange",function(c){l.eBV(i);const _=e.XpG(2);return l.Njj(_.setValue(c))}),e.k0s()}if(2&a){const i=d.$implicit,r=e.XpG(2);e.Y8G("field",i)("referrer",r.referrer())}}function Ge(a,d){if(1&a){const i=e.RV6();e.Z7z(0,Ae,1,2,"gg-lib-dynamic-form-field",2,fe),e.j41(2,"gg-lib-form-submit-button",3),e.bIt("submit",function(){l.eBV(i);const c=e.XpG();return l.Njj(c.submitForm())}),e.k0s()}if(2&a){const i=e.XpG();e.Dyx(i.fields()),e.R7$(2),e.Y8G("label",i.submitLabel())("disabled",i.sending())("isFullWidth",!1)("sending",i.sending())}}function _e(a,d){if(1&a&&e.eu8(0,5),2&a){const i=e.XpG(2);e.Y8G("ngTemplateOutlet",i.thankYouContent())}}function ve(a,d){if(1&a&&(e.j41(0,"gg-lib-form-thank-you",1),e.nVh(1,_e,1,1,"ng-container",5),e.k0s()),2&a){const i=e.XpG();e.Y8G("title",i.thankYouTitle())("description",i.thankYouDescription()),e.R7$(),e.vxM(i.thankYouContent()?1:-1)}}const N=new l.nKC("dfValueSourceToken");let te=(()=>{class a{static{this.\u0275fac=function(r){return new(r||a)}}static{this.\u0275prov=l.jDH({token:a,factory:a.\u0275fac})}}return a})(),be=(()=>{class a{constructor(){this.name="field"}observeValue(i,r){if("field"===i.name&&r?.form?.controls?.[i.params]){const c=r.form?.controls?.[i.params].value;return r.form?.controls?.[i.params].valueChanges.pipe((0,u.Z)(c))}return F.w}static{this.\u0275fac=function(r){return new(r||a)}}static{this.\u0275prov=l.jDH({token:a,factory:a.\u0275fac})}}return a})(),Ce=(()=>{class a{constructor(){this.document=(0,l.WQX)(l.qQL),this.name="url"}observeValue(i){const r=i.name===this.name?this.getCurrentURL():"";return(0,y.of)(r)}getCurrentURL(){return this.document.location.href}static{this.\u0275fac=function(r){return new(r||a)}}static{this.\u0275prov=l.jDH({token:a,factory:a.\u0275fac})}}return a})(),ye=(()=>{class a{constructor(i){this.dynamicFormContextDataService=i,this.name="formContext"}observeValue(i){const r="formContext"===i.name?this.dynamicFormContextDataService.formContextData?.[i.params]?.value:"";return r?(0,y.of)(r):F.w}static{this.\u0275fac=function(r){return new(r||a)(l.KVO(te))}}static{this.\u0275prov=l.jDH({token:a,factory:a.\u0275fac})}}return a})(),Me=(()=>{class a{constructor(i){this.authService=i,this.name="jwt",this.decode=$}observeValue(i){const r=this.authService.jwtToken;let c="";return r&&i.name===this.name&&(c=this.decode(r)?.[i?.params]||""),(0,y.of)(c)}static{this.\u0275fac=function(r){return new(r||a)(l.KVO(x.uR))}}static{this.\u0275prov=l.jDH({token:a,factory:a.\u0275fac})}}return a})();const X=new l.nKC("DF_MODIFY_REQUEST"),Te=a=>{const d=(a=>{const i=a.fields,r={};
1return Object.keys(a.fields).forEach(c=>{r[c]="boolean"==typeof i[c]?(c=>c?"on":"off")(i[c]):i[c]}),{...a,fields:r}})(a);return(a=>({...a,fields:{...a.fields,ReferralSourceURL:window.location.href}}))(d)},W=new l.nKC("FORMS_API_URL");let ne=(()=>{class a{constructor(){this.http=(0,l.WQX)(U.Qq),this.formsApiUrl=(0,l.WQX)(W)}getDynamicFormData(i){return this.http.get(this.formsApiUrl+`/definition/${i}`).pipe((0,D.T)(r=>({...r,fields:r?.fields?.map(c=>({...c,valueSources:c.valueSource?[...c.valueSources??[],c.valueSource]:c.valueSources??[]}))})))}sendDynamicFormData(i){return this.http.post(this.formsApiUrl+"/common",i)}static{this.\u0275fac=function(r){return new(r||a)}}static{this.\u0275prov=l.jDH({token:a,factory:a.\u0275fac})}}return a})();function Fe(){return[{provide:N,useClass:Me,multi:!0},{provide:N,useClass:ye,multi:!0},{provide:N,useClass:Ce,multi:!0},{provide:N,useClass:be,multi:!0},{provide:X,useValue:Te},te,ne]}let Se=(()=>{class a{constructor(){this.title=(0,f.hFB)(),this.description=(0,f.hFB)()}static{this.\u0275fac=function(r){return new(r||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["gg-lib-form-thank-you"]],inputs:{title:[1,"title"],description:[1,"description"]},ngContentSelectors:pe,decls:6,vars:6,consts:[["name","icon_0153_cc_gen_source_okay","width","112px"],[3,"innerHTML"]],template:function(r,c){1&r&&(e.NAR(),e.nrm(0,"wca-sized-icon",0)(1,"h3",1),e.nI1(2,"safeHtml"),e.nrm(3,"p",1),e.nI1(4,"safeHtml"),e.SdG(5)),2&r&&(e.R7$(),e.Y8G("innerHTML",e.bMT(2,2,c.title()),e.npT),e.R7$(2),e.Y8G("innerHTML",e.bMT(4,4,c.description()),e.npT))},dependencies:[le.NQ,le.Ci,E.Fq,E.$n],styles:["[_nghost-%COMP%]{display:flex;max-width:606px;text-align:center;padding:4.5rem 1.5rem;flex-direction:column;align-items:center;justify-content:center}wca-sized-icon[_ngcontent-%COMP%]{color:#004d9f}h3[_ngcontent-%COMP%]{font:400 28px/36px Futura W01,Arial,Helvetica,sans-serif}@media(min-width:1080px){h3[_ngcontent-%COMP%]{font-size:32px;font-weight:400;line-height:48px;letter-spacing:.25px}}h3[_ngcontent-%COMP%]{margin-bottom:1.25rem}p[_ngcontent-%COMP%]{font:400 18px/24px Futura W01,Arial,Helvetica,sans-serif;letter-spacing:.15px}@media(min-width:1080px){p[_ngcontent-%COMP%]{font-size:20px;font-weight:400;line-height:30px;letter-spacing:.5px}}p[_ngcontent-%COMP%]{margin-bottom:2rem}[_nghost-%COMP%] .buttons-container wca-button{display:inline-block;margin:8px}[_nghost-%COMP%] wca-button.disabled{pointer-events:none}"]})}}return a})();class we{constructor(d,i){this.condition=d,this.form=i,this.fields$=this.createFields(),this.compareCalculations=new Map([["Equal",(r,c)=>r===c],["NotEqual",(r,c)=>r!==c],["Contain",(r,c)=>r?.includes(c)]]),this.logicalCalculations=new Map([["OR",r=>r.reduce((c,_)=>c||_,!1)],["AND",r=>r.reduce((c,_)=>c&&_,!0)]])}createFields(){return this.condition.fields.map(d=>this.form.valueChanges.pipe((0,D.T)(()=>this.getFieldValue(d.fieldName)),(0,A.F)(),(0,D.T)(()=>this.checkFieldCondition(d)),(0,de.t)())||(0,y.of)(!1))}getFieldValue(d){return this.form.controls?this.form.controls[d]?.value:void 0}checkFieldCondition(d){const i=this.getFieldValue(d.fieldName),r=d.comparativeValue,c=this.compareCalculations.get(d.comparisonOperator);return!!c&&c(i,r)}testComparisionResults(d){const i=this.logicalCalculations.get(this.condition.fieldsOperator||"OR");return!!i&&i(d)}getConditionalMode(){return(0,k.z)(this.fields$).pipe((0,D.T)(d=>this.testComparisionResults(d)),(0,D.T)(d=>d?this.condition.result.mode:{}))}}class ke{constructor(d,i,r){this.formControl=d,this.fieldDefinition=i,this.conditionalMode$=r,this.validatorsMap=new Map([["maxLength",c=>I.k0.maxLength(c)],["minLength",c=>I.k0.minLength(c)],["required",()=>I.k0.required]]),this.errorMessagesMap=new Map([["maxlength","maxLength"],["minlength","minLength"],["required","required"]]),this.setFieldValidation(),this.conditionalMode$.subscribe(c=>{this.setFieldValidation(c)})}setFieldValidation(d){const i=this.fieldDefinition,r=i.type.toLowerCase();this.fieldValidation=[i.mode?.required||d?.required?{name:"required"}:null,{name:r},...i.validation].filter(c=>null!==c),this.setValidators()}errorMessage(d){switch(d){case"required":return"This field is required";case"maxLength":return"Value to long";case"minLength":return"Value to short";case"email":return"A valid email address is required"}return"error"}getMessageForFirstError(){const d=this.formControl.errors;if(d){const i=Object.keys(d)[0],r=this.errorMessagesMap.get(i)||i;return this.errorMessage(r)}return""}observeErrorMessage(){return(0,k.z)([this.formControl.statusChanges.pipe((0,u.Z)(this.formControl.status)),this.formControl.valueChanges.pipe((0,u.Z)(""))]).pipe((0,D.T)(()=>this.getMessageForFirstError()))}getValidators(){return this.fieldValidation?.map(d=>{const i=this.validatorsMap.get(d.name);return i?i(d.value):I.k0[d.name]||null}).filter(d=>null!==d)}setValidators(){this.formControl.setValidators(this.getValidators()),this.formControl.updateValueAndValidity()}}var ie=function(a){return a.TEXT="Text",a.EMAIL="Email",a.PASSWORD="Password",a.NUMBER="Number",a.SEARCH="Search",a.SELECT="Select",a.TEXTAREA="Textarea",a.CHECKBOX="CheckBox",a.HIDDEN="Hidden",a.AUTOCOMPLETE="Autocomplete",a.RADIO="Radio",a.CHECKBOXES="Checkboxes",a}(ie||{});class Oe{constructor(d,i,r,c,_){this.form=d,this.fieldDefinition=i,this.lists=r,this.destroy$=c,this.valueSource=_,this.label=this.fieldDefinition.label||this.fieldDefinition.name,this.formControlName=this.fieldDefinition.name,this.type=this.fieldDefinition.type.toLowerCase(),this.listItems=[],this.defaultValueSetter=B=>B.type===ie.CHECKBOX?[!0,"true","True",1,"1"].includes(B.defaultValue)||null:B.defaultValue||"",this.conditionalModes=this.createConditionalModes();const z=this.defaultValueSetter(this.fieldDefinition);this.formControl=new I.MJ(z),this.form.addControl(this.formControlName,this.formControl),this.validation=new ke(this.formControl,this.fieldDefinition,this.getMode()),this.toggleDisabledSubscription(),this.subscribeToValueSources(),this.listItems=this.lists?.find(B=>B.name===(this.fieldDefinition.sourceListName||""))?.value?.map(B=>({value:`${B}`,label:`${B}`}))||[]}getMode(){const d=[this.getDefaultMode(),this.getInitialFieldMode(),...this.getConditionalModes()];return(0,k.z)(d).pipe((0,M.Q)(this.destroy$),(0,D.T)(i=>i.reduce((r,c)=>({...r,...c}),{})))}getDefaultMode(){return(0,y.of)({visible:!0,disabled:!1,readOnly:!1,required:!1})}toggleDisabledSubscription(){this.getMode().pipe((0,D.T)(({disabled:d})=>d),(0,A.F)()).subscribe(d=>{!0===d?this.formControl.disable():this.formControl.enable()})}setFieldValue(d){this.formControl.setValue(d)}getValueSources(){const d=Array.isArray(this.valueSource)?[...this.valueSource]:[this.valueSource],i=this.fieldDefinition.valueSources.map(r=>r.name);return d.filter(r=>r?.name&&i.includes(r?.name))}subscribeToValueSources(){const d=this.getValueSources();(0,k.z)(this.fieldDefinition.valueSources.map(i=>{const r=d.find(c=>c.name===i.name);return r?r.observeValue(i,this).pipe((0,M.Q)(this.destroy$),(0,D.T)(c=>({fieldValueSource:i,value:c})),(0,Z.U)({fieldValueSource:i,value:""})):(0,y.of)({fieldValueSource:i,value:""})})).subscribe(i=>{const r=i.map(c=>`${c.fieldValueSource.label?c.fieldValueSource.label+": ":""}${c.value}`).join("\r\n");this.setFieldValue(r)})}getInitialFieldMode(){return(0,y.of)(this.fieldDefinition.mode||{})}getConditionalModes(){return this.conditionalModes.map(d=>d.getConditionalMode())}createConditionalModes(){return this.fieldDefinition.conditions?.map(d=>new we(d,this.form))||[]}getErrorMessage(){return this.validation.observeErrorMessage()}getAutocomplete(){return this.fieldDefinition.autocomplete||""}}let Ee=(()=>{class a{constructor(){this.field=f.hFB.required(),this.referrer=(0,f.hFB)(),this.valueChange=(0,f.CGW)()}ngOnInit(){this.required$=this.field().getMode().pipe((0,D.T)(i=>i.required??!1)),this.visible$=this.field().getMode().pipe((0,D.T)(i=>i.visible??!0)),this.referrer()?.[this.field().formControlName]&&this.valueChange.emit({
1name:this.field().formControlName,value:this.referrer()[this.field().formControlName].toString()})}setValue(i){this.valueChange.emit(i)}static{this.\u0275fac=function(r){return new(r||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["gg-lib-dynamic-form-field"]],inputs:{field:[1,"field"],referrer:[1,"referrer"]},outputs:{valueChange:"valueChange"},decls:3,vars:3,consts:[[3,"type","formGroup","name","label"],[1,"form-field-container"],[3,"change","type","formGroup","name","label"],[3,"change","type","formGroup","name","label","required","errorMessage"],[3,"change","multiselect","type","formGroup","name","label","required","errorMessage"],[3,"change","type","formGroup","name","label","list","required","autocomplete","errorMessage"]],template:function(r,c){1&r&&(e.nVh(0,ge,4,1),e.nI1(1,"async"),e.vZN(2,ee,1,4,"wca-form-field",0)),2&r&&e.vxM(e.bMT(1,1,c.visible$)?0:2)},dependencies:[J.LT,J.KS,g.Jj],styles:[".form-field-container[_ngcontent-%COMP%]{display:block;min-height:52px}"]})}}return a})(),Y=(()=>{class a{constructor(){this.label=f.hFB.required(),this.isFullWidth=(0,f.hFB)(!0),this.disabled=(0,f.hFB)(!1),this.sending=(0,f.hFB)(!1),this.submit=(0,f.CGW)()}submitForm(){this.submit.emit()}static{this.\u0275fac=function(r){return new(r||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["gg-lib-form-submit-button"]],inputs:{label:[1,"label"],isFullWidth:[1,"isFullWidth"],disabled:[1,"disabled"],sending:[1,"sending"]},outputs:{submit:"submit"},decls:1,vars:4,consts:[[3,"buttonClicked","fullWidth","text","disabled","loading"]],template:function(r,c){1&r&&(e.j41(0,"wca-button",0),e.bIt("buttonClicked",function(){return c.submitForm()}),e.k0s()),2&r&&e.Y8G("fullWidth",c.isFullWidth())("text",c.label())("disabled",c.disabled())("loading",c.sending())},dependencies:[q.tm,q.Qp],styles:["[_nghost-%COMP%]{display:block}"]})}}return a})(),G=(()=>{class a extends E.I8{constructor(){super(...arguments),this.formName=f.hFB.required(),this.submitLabel=(0,f.hFB)("Submit"),this.thankYouTitle=(0,f.hFB)(),this.thankYouDescription=(0,f.hFB)(),this.referrer=(0,f.hFB)(),this.hiddenData=(0,f.hFB)(),this.sendForm=(0,f.hFB)(!0),this.formRequest=(0,f.CGW)(),this.formSendSuccess=(0,f.CGW)(),this.thankYouContent=(0,f.hFB)(),this.loading=(0,l.vPA)(!0),this.sending=(0,l.vPA)(!1),this.formSend=(0,l.vPA)(!1),this.fields=(0,l.vPA)([]),this.formGroup=new I.gE({}),this.dfValueSource=(0,l.WQX)(N,{optional:!0})||[],this.modifyRequestFn=(0,l.WQX)(X,{optional:!0}),this.formsService=(0,l.WQX)(ne),this.snackBar=(0,l.WQX)(L.UG)}ngOnInit(){this.formsService.getDynamicFormData(this.formName()).pipe((0,M.Q)(this.destroy$),(0,O.W)(()=>F.w)).subscribe(i=>{if(this.loading.set(!1),i){const r=i.fields.map(c=>new Oe(this.formGroup,c,i.lists,this.destroy$.asObservable(),this.dfValueSource));this.hiddenData()?.hiddenData&&this.hiddenData()?.hiddenData.forEach(c=>{r.find(_=>_.formControlName===c.fieldName)?.setFieldValue(c.value)}),this.fields.set(r)}})}setValue(i){if(i?.name){const r=this.fields().find(c=>c.formControlName===i.name);r?.setFieldValue("checkbox"===r?.type?"1"===i.value:i.value)}}submitForm(){if(this.formGroup.invalid)return this.formGroup.markAllAsTouched(),void this.formGroup.updateValueAndValidity();this.sending.set(!0);const i={formName:this.formName(),fields:this.formGroup.value};this.hiddenData()&&(i.fields=this.modifyFormFieldsForHiddenData(i.fields));const r=this.modifyRequestFn?this.modifyRequestFn(i):i;this.formGroup?.disable(),this.sendForm()?this.formsService.sendDynamicFormData(r).pipe((0,M.Q)(this.destroy$),(0,O.W)(()=>(0,y.of)({error:!0}))).subscribe(c=>{c?.error?this.requestFormSend(!1):this.requestFormSend()}):this.formRequest.emit(r)}requestFormSend(i=!0){this.sending.set(!1),i||(this.formGroup?.enable(),this.showErrorNotification()),this.formSend.set(i),this.formSendSuccess.emit(i)}resetForm(){this.formGroup?.reset(),this.formSend.set(!1)}modifyFormFieldsForHiddenData(i){const{specificInterest:r,...c}=i,_=this.hiddenData().additionalFormFields?.map(z=>`${z}: ${c[z]}`).join(";\n");return i.specificInterest=[r,_].filter(Boolean).join(";\n"),i.productLineInterest1=this.hiddenData()?.hiddenData?.find(z=>"productLineInterest1"===z.fieldName)?.value||i.productLineInterest1||"not provided",i}showErrorNotification(){this.snackBar.open("Error when trying to send form.",null,{horizontalPosition:"left",verticalPosition:"bottom",panelClass:"error-panel",duration:3e3})}static{this.\u0275fac=(()=>{let i;return function(c){return(i||(i=e.xGo(a)))(c||a)}})()}static{this.\u0275cmp=e.VBU({type:a,selectors:[["gg-lib-dynamic-form-content"]],inputs:{formName:[1,"formName"],submitLabel:[1,"submitLabel"],thankYouTitle:[1,"thankYouTitle"],thankYouDescription:[1,"thankYouDescription"],referrer:[1,"referrer"],hiddenData:[1,"hiddenData"],sendForm:[1,"sendForm"],thankYouContent:[1,"thankYouContent"]},outputs:{formRequest:"formRequest",formSendSuccess:"formSendSuccess"},features:[e.Vt3],decls:3,vars:1,consts:[[1,"content-loader"],[3,"title","description"],[3,"field","referrer"],[3,"submit","label","disabled","isFullWidth","sending"],[3,"valueChange","field","referrer"],[3,"ngTemplateOutlet"]],template:function(r,c){1&r&&e.nVh(0,Ve,4,0,"div",0)(1,Ge,3,4)(2,ve,2,3,"gg-lib-form-thank-you",1),2&r&&e.vxM(c.loading()?0:c.formSend()?2:1)},dependencies:[V,se,Se,Ee,Y,g.T3],encapsulation:2})}}return a})()}}]);
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.