=M.length,value:M.keysList[P]};return++P,B}})[Symbol.iterator]=function(){return this},h},E.prototype.values=function(){var h,M=this,P=0;return(h={next:function(){var B={done:P>=M.length,value:M.valuesList[P]};return++P,B}})[Symbol.iterator]=function(){return this},h},E.prototype.entries=function(){var h,M=this,P=0;return(h={next:function(){var B={done:P>=M.length,value:M[P]};return++P,B}})[Symbol.iterator]=function(){return this},h},E.prototype[Symbol.iterator]=function(){return this.entries()},E.prototype.forEach=function(h,M){for(var P=this.length,L=0;L{o.d(te,{$:()=>se,j:()=>ye});var i=o(655),t=o(9808),n=o(5e3),s=o(2654),N=o(839),_=o(8929),c=o(6787),J=o(3753),u=o(3489),I=o(353);const O={leading:!0,trailing:!1};class le{constructor(me,ie,ze,Oe){this.duration=me,this.scheduler=ie,this.leading=ze,this.trailing=Oe}call(me,ie){return ie.subscribe(new H(me,this.duration,this.scheduler,this.leading,this.trailing))}}class H extends u.L{constructor(me,ie,ze,Oe,V){super(me),this.duration=ie,this.scheduler=ze,this.leading=Oe,this.trailing=V,this._hasTrailingValue=!1,this._trailingValue=null}_next(me){this.throttled?this.trailing&&(this._trailingValue=me,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(Z,this.duration,{subscriber:this})),this.leading?this.destination.next(me):this.trailing&&(this._trailingValue=me,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const me=this.throttled;me&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),me.unsubscribe(),this.remove(me),this.throttled=null)}}function Z(q){const{subscriber:me}=q;me.clearThrottle()}var w=o(7625),A=o(4850),b=o(9439),ae=o(1721),F=o(4090),E=o(925),h=o(5577),M=o(226);const P=["fixedEl"],L=["*"];var B=(()=>{return(q=B||(B={})).resize="resize",q.scroll="scroll",q.touchstart="touchstart",q.touchmove="touchmove",q.touchend="touchend",q.pageshow="pageshow",q.load="LOAD",B;var q})();function K(q){return function p(q){return"undefined"!=typeof window&&q===window}(q)?{top:0,left:0,bottom:0}:q.getBoundingClientRect()}const X="ant-affix";let se=(()=>{class q{constructor(ie,ze,Oe,V,fe,G,he,ce,De,Pe){this.nzConfigService=Oe,this.scrollSrv=V,this.ngZone=fe,this.platform=G,this.renderer=he,this.nzResizeObserver=ce,this.cdr=De,this.directionality=Pe,this._nzModuleName="affix",this.nzChange=new n.vpe,this.dir="ltr",this.positionChangeSubscription=s.w.EMPTY,this.offsetChanged$=new N.t(1),this.destroy$=new _.xQ,this.placeholderNode=ie.nativeElement,this.document=ze}get target(){const ie=this.nzTarget;return("string"==typeof ie?this.document.querySelector(ie):ie)||window}ngOnInit(){var ie;null===(ie=this.directionality.change)||void 0===ie||ie.pipe((0,w.R)(this.destroy$)).subscribe(ze=>{this.dir=ze,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(ie){const{nzOffsetBottom:ze,nzOffsetTop:Oe,nzTarget:V}=ie;(ze||Oe)&&this.offsetChanged$.next(),V&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){if(!this.platform.isBrowser)return;this.removeListeners();const ie=this.target===window?this.document.body:this.target;this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>(0,c.T)(...Object.keys(B).map(ze=>(0,J.R)(this.target,ze)),this.offsetChanged$.pipe((0,A.U)(()=>({}))),this.nzResizeObserver.observe(ie)).pipe(function R(q,me=I.P,ie=O){return ze=>ze.lift(new le(q,me,ie.leading,ie.trailing))}(20,void 0,{trailing:!0}),(0,w.R)(this.destroy$)).subscribe(ze=>this.updatePosition(ze))),this.timeout=setTimeout(()=>this.updatePosition({}))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}getOffset(ie,ze){const Oe=ie.getBoundingClientRect(),V=K(ze),fe=this.scrollSrv.getScroll(ze,!0),G=this.scrollSrv.getScroll(ze,!1),he=this.document.body;return{top:Oe.top-V.top+fe-(he.clientTop||0),left:Oe.left-V.left+G-(he.clientLeft||0),width:Oe.width,height:Oe.height}}setAffixStyle(ie,ze){const Oe=this.affixStyle,V=this.target===window;if("scroll"===ie.type&&Oe&&ze&&V||(0,ae.wU)(Oe,ze))return;const fe=!!ze,G=this.fixedEl.nativeElement;this.renderer.setStyle(G,"cssText",(0,ae.GM)(ze)),this.affixStyle=ze,fe?G.classList.add(X):G.classList.remove(X),this.updateRtlClass(),(ze&&!Oe||!ze&&Oe)&&this.nzChange.emit(fe)}setPlaceholderStyle(ie){(0,ae.wU)(ie,this.placeholderStyle)||(this.renderer.setStyle(this.placeholderNode,"cssText",(0,ae.GM)(ie)),this.placeholderStyle=ie)}syncPlaceholderStyle(ie){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;const ze={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(ie,Object.assign(Object.assign({},this.affixStyle),ze)),this.setPlaceholderStyle(ze)}updatePosition(ie){if(!this.platform.isBrowser)return;const ze=this.target;let Oe=this.nzOffsetTop;const V=this.scrollSrv.getScroll(ze,!0),fe=this.getOffset(this.placeholderNode,ze),G=this.fixedEl.nativeElement,he={width:G.offsetWidth,height:G.offsetHeight},ce={top:!1,bottom:!1};"number"!=typeof Oe&&"number"!=typeof this.nzOffsetBottom?(ce.top=!0,Oe=0):(ce.top="number"==typeof Oe,ce.bottom="number"==typeof this.nzOffsetBottom);const De=K(ze),Pe=ze.innerHeight||ze.clientHeight;if(V>=fe.top-Oe&&ce.top){const re=fe.width;this.setAffixStyle(ie,{position:"fixed",top:De.top+Oe,left:De.left+fe.left,width:re}),this.setPlaceholderStyle({width:re,height:he.height})}else if(V<=fe.top+he.height+this.nzOffsetBottom-Pe&&ce.bottom){const re=ze===window?0:window.innerHeight-De.bottom,Ie=fe.width;this.setAffixStyle(ie,{position:"fixed",bottom:re+this.nzOffsetBottom,left:De.left+fe.left,width:Ie}),this.setPlaceholderStyle({width:Ie,height:fe.height})}else ie.type===B.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(ie,Object.assign(Object.assign({},this.affixStyle),{width:this.placeholderNode.offsetWidth})):this.setAffixStyle(ie),this.setPlaceholderStyle();"resize"===ie.type&&this.syncPlaceholderStyle(ie)}updateRtlClass(){const ie=this.fixedEl.nativeElement;"rtl"===this.dir&&ie.classList.contains(X)?ie.classList.add(`${X}-rtl`):ie.classList.remove(`${X}-rtl`)}}return q.\u0275fac=function(ie){return new(ie||q)(n.Y36(n.SBq),n.Y36(t.K0),n.Y36(b.jY),n.Y36(F.MF),n.Y36(n.R0b),n.Y36(E.t4),n.Y36(n.Qsj),n.Y36(h.D3),n.Y36(n.sBO),n.Y36(M.Is,8))},q.\u0275cmp=n.Xpm({type:q,selectors:[["nz-affix"]],viewQuery:function(ie,ze){if(1&ie&&n.Gf(P,7),2&ie){let Oe;n.iGM(Oe=n.CRH())&&(ze.fixedEl=Oe.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[n.TTD],ngContentSelectors:L,decls:3,vars:0,consts:[["fixedEl",""]],template:function(ie,ze){1&ie&&(n.F$t(),n.TgZ(0,"div",null,0),n.Hsn(2),n.qZA())},encapsulation:2,changeDetection:0}),(0,i.gn)([(0,b.oS)(),(0,ae.Rn)(void 0)],q.prototype,"nzOffsetTop",void 0),(0,i.gn)([(0,b.oS)(),(0,ae.Rn)(void 0)],q.prototype,"nzOffsetBottom",void 0),q})(),ye=(()=>{class q{}return q.\u0275fac=function(ie){return new(ie||q)},q.\u0275mod=n.oAB({type:q}),q.\u0275inj=n.cJS({imports:[[M.vT,t.ez,E.ud]]}),q})()},6699:(Te,te,o)=>{o.d(te,{Dz:()=>R,Rt:()=>H});var i=o(655),t=o(5e3),n=o(9439),s=o(1721),N=o(925),_=o(9808),c=o(647),J=o(226);const u=["textEl"];function I(Z,w){if(1&Z&&t._UZ(0,"i",3),2&Z){const A=t.oxw();t.Q6J("nzType",A.nzIcon)}}function O(Z,w){if(1&Z){const A=t.EpF();t.TgZ(0,"img",4),t.NdJ("error",function(ae){return t.CHM(A),t.oxw().imgError(ae)}),t.qZA()}if(2&Z){const A=t.oxw();t.Q6J("src",A.nzSrc,t.LSH),t.uIk("srcset",A.nzSrcSet,t.LSH)("alt",A.nzAlt)}}function Y(Z,w){if(1&Z&&(t.TgZ(0,"span",5,6),t._uU(2),t.qZA()),2&Z){const A=t.oxw();t.Q6J("ngStyle",A.textStyles),t.xp6(2),t.Oqu(A.nzText)}}let R=(()=>{class Z{constructor(A,b,ae,F){this.nzConfigService=A,this.elementRef=b,this.cdr=ae,this.platform=F,this._nzModuleName="avatar",this.nzShape="circle",this.nzSize="default",this.nzGap=4,this.nzError=new t.vpe,this.hasText=!1,this.hasSrc=!0,this.hasIcon=!1,this.textStyles={},this.classMap={},this.customSize=null,this.el=this.elementRef.nativeElement}imgError(A){this.nzError.emit(A),A.defaultPrevented||(this.hasSrc=!1,this.hasIcon=!1,this.hasText=!1,this.nzIcon?this.hasIcon=!0:this.nzText&&(this.hasText=!0),this.cdr.detectChanges(),this.setSizeStyle(),this.notifyCalc())}ngOnChanges(){this.hasText=!this.nzSrc&&!!this.nzText,this.hasIcon=!this.nzSrc&&!!this.nzIcon,this.hasSrc=!!this.nzSrc,this.setSizeStyle(),this.notifyCalc()}calcStringSize(){if(!this.hasText)return;const A=this.textEl.nativeElement.offsetWidth,b=this.el.getBoundingClientRect().width,ae=2*this.nzGap{this.calcStringSize()})}setSizeStyle(){this.customSize="number"==typeof this.nzSize?`${this.nzSize}px`:null,this.cdr.markForCheck()}}return Z.\u0275fac=function(A){return new(A||Z)(t.Y36(n.jY),t.Y36(t.SBq),t.Y36(t.sBO),t.Y36(N.t4))},Z.\u0275cmp=t.Xpm({type:Z,selectors:[["nz-avatar"]],viewQuery:function(A,b){if(1&A&&t.Gf(u,5),2&A){let ae;t.iGM(ae=t.CRH())&&(b.textEl=ae.first)}},hostAttrs:[1,"ant-avatar"],hostVars:20,hostBindings:function(A,b){2&A&&(t.Udp("width",b.customSize)("height",b.customSize)("line-height",b.customSize)("font-size",b.hasIcon&&b.customSize?b.nzSize/2:null,"px"),t.ekj("ant-avatar-lg","large"===b.nzSize)("ant-avatar-sm","small"===b.nzSize)("ant-avatar-square","square"===b.nzShape)("ant-avatar-circle","circle"===b.nzShape)("ant-avatar-icon",b.nzIcon)("ant-avatar-image",b.hasSrc))},inputs:{nzShape:"nzShape",nzSize:"nzSize",nzGap:"nzGap",nzText:"nzText",nzSrc:"nzSrc",nzSrcSet:"nzSrcSet",nzAlt:"nzAlt",nzIcon:"nzIcon"},outputs:{nzError:"nzError"},exportAs:["nzAvatar"],features:[t.TTD],decls:3,vars:3,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[3,"src","error",4,"ngIf"],["class","ant-avatar-string",3,"ngStyle",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"src","error"],[1,"ant-avatar-string",3,"ngStyle"],["textEl",""]],template:function(A,b){1&A&&(t.YNc(0,I,1,1,"i",0),t.YNc(1,O,1,3,"img",1),t.YNc(2,Y,3,2,"span",2)),2&A&&(t.Q6J("ngIf",b.nzIcon&&b.hasIcon),t.xp6(1),t.Q6J("ngIf",b.nzSrc&&b.hasSrc),t.xp6(1),t.Q6J("ngIf",b.nzText&&b.hasText))},directives:[_.O5,c.Ls,_.PC],encapsulation:2,changeDetection:0}),(0,i.gn)([(0,n.oS)()],Z.prototype,"nzShape",void 0),(0,i.gn)([(0,n.oS)()],Z.prototype,"nzSize",void 0),(0,i.gn)([(0,n.oS)(),(0,s.Rn)()],Z.prototype,"nzGap",void 0),Z})(),H=(()=>{class Z{}return Z.\u0275fac=function(A){return new(A||Z)},Z.\u0275mod=t.oAB({type:Z}),Z.\u0275inj=t.cJS({imports:[[J.vT,_.ez,c.PV,N.ud]]}),Z})()},4401:(Te,te,o)=>{o.d(te,{x7:()=>P,mS:()=>B,F9:()=>L});var i=o(655),t=o(5e3),n=o(8929),s=o(7625),N=o(8076),_=o(9439),c=o(1721),J=o(226),u=o(4832),I=o(9808),O=o(969),Y=o(7144);function $(p,K){if(1&p&&(t.TgZ(0,"p",6),t._uU(1),t.qZA()),2&p){const k=K.$implicit,X=t.oxw(2).index,xe=t.oxw(2);t.ekj("current",k===xe.countArray[X]),t.xp6(1),t.hij(" ",k," ")}}function ne(p,K){if(1&p&&(t.ynx(0),t.YNc(1,$,2,3,"p",5),t.BQk()),2&p){const k=t.oxw(3);t.xp6(1),t.Q6J("ngForOf",k.countSingleArray)}}function R(p,K){if(1&p&&(t.TgZ(0,"span",3),t.YNc(1,ne,2,1,"ng-container",4),t.qZA()),2&p){const k=K.index,X=t.oxw(2);t.Udp("transform","translateY("+100*-X.countArray[k]+"%)"),t.Q6J("nzNoAnimation",X.noAnimation),t.xp6(1),t.Q6J("ngIf",!X.nzDot&&void 0!==X.countArray[k])}}function le(p,K){if(1&p&&(t.ynx(0),t.YNc(1,R,2,4,"span",2),t.BQk()),2&p){const k=t.oxw();t.xp6(1),t.Q6J("ngForOf",k.maxNumberArray)}}function H(p,K){if(1&p&&t._uU(0),2&p){const k=t.oxw();t.hij("",k.nzOverflowCount,"+")}}function Z(p,K){if(1&p&&(t.ynx(0),t._uU(1),t.BQk()),2&p){const k=t.oxw(2);t.xp6(1),t.Oqu(k.nzText)}}function w(p,K){if(1&p&&(t.ynx(0),t._UZ(1,"span",2),t.TgZ(2,"span",3),t.YNc(3,Z,2,1,"ng-container",1),t.qZA(),t.BQk()),2&p){const k=t.oxw();t.xp6(1),t.Gre("ant-badge-status-dot ant-badge-status-",k.nzStatus||k.presetColor,""),t.Udp("background",!k.presetColor&&k.nzColor),t.Q6J("ngStyle",k.nzStyle),t.xp6(2),t.Q6J("nzStringTemplateOutlet",k.nzText)}}function A(p,K){if(1&p&&t._UZ(0,"nz-badge-sup",5),2&p){const k=t.oxw(2);t.Q6J("nzOffset",k.nzOffset)("nzTitle",k.nzTitle)("nzStyle",k.nzStyle)("nzDot",k.nzDot)("nzOverflowCount",k.nzOverflowCount)("disableAnimation",!!(k.nzStandalone||k.nzStatus||k.nzColor||null!=k.noAnimation&&k.noAnimation.nzNoAnimation))("nzCount",k.nzCount)("noAnimation",!(null==k.noAnimation||!k.noAnimation.nzNoAnimation))}}function b(p,K){if(1&p&&(t.ynx(0),t.YNc(1,A,1,8,"nz-badge-sup",4),t.BQk()),2&p){const k=t.oxw();t.xp6(1),t.Q6J("ngIf",k.showSup)}}const ae=["*"];function F(p,K){if(1&p&&(t.ynx(0),t._uU(1),t.BQk()),2&p){const k=t.oxw();t.xp6(1),t.Oqu(k.nzText)}}const E=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let h=(()=>{class p{constructor(){this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9]}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(k){const{nzOverflowCount:X,nzCount:xe}=k;xe&&"number"==typeof xe.currentValue&&(this.count=Math.max(0,xe.currentValue),this.countArray=this.count.toString().split("").map(se=>+se)),X&&this.generateMaxNumberArray()}}return p.\u0275fac=function(k){return new(k||p)},p.\u0275cmp=t.Xpm({type:p,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:15,hostBindings:function(k,X){2&k&&(t.uIk("title",null===X.nzTitle?"":X.nzTitle||X.nzCount),t.d8E("@.disabled",X.disableAnimation)("@zoomBadgeMotion",void 0),t.Akn(X.nzStyle),t.Udp("right",X.nzOffset&&X.nzOffset[0]?-X.nzOffset[0]:null,"px")("margin-top",X.nzOffset&&X.nzOffset[1]?X.nzOffset[1]:null,"px"),t.ekj("ant-badge-count",!X.nzDot)("ant-badge-dot",X.nzDot)("ant-badge-multiple-words",X.countArray.length>=2))},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzCount:"nzCount",noAnimation:"noAnimation"},exportAs:["nzBadgeSup"],features:[t.TTD],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(k,X){if(1&k&&(t.YNc(0,le,2,1,"ng-container",0),t.YNc(1,H,1,1,"ng-template",null,1,t.W1O)),2&k){const xe=t.MAs(2);t.Q6J("ngIf",X.count<=X.nzOverflowCount)("ngIfElse",xe)}},directives:[I.O5,I.sg,u.P],encapsulation:2,data:{animation:[N.Ev]},changeDetection:0}),p})(),P=(()=>{class p{constructor(k,X,xe,se,ye,q){this.nzConfigService=k,this.renderer=X,this.cdr=xe,this.elementRef=se,this.directionality=ye,this.noAnimation=q,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new n.xQ,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null}ngOnInit(){var k;null===(k=this.directionality.change)||void 0===k||k.pipe((0,s.R)(this.destroy$)).subscribe(X=>{this.dir=X,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(k){const{nzColor:X,nzShowDot:xe,nzDot:se,nzCount:ye,nzShowZero:q}=k;X&&(this.presetColor=this.nzColor&&-1!==E.indexOf(this.nzColor)?this.nzColor:null),(xe||se||ye||q)&&(this.showSup=this.nzShowDot&&this.nzDot||this.nzCount>0||this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return p.\u0275fac=function(k){return new(k||p)(t.Y36(_.jY),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(J.Is,8),t.Y36(u.P,9))},p.\u0275cmp=t.Xpm({type:p,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:4,hostBindings:function(k,X){2&k&&t.ekj("ant-badge-status",X.nzStatus)("ant-badge-not-a-wrapper",!!(X.nzStandalone||X.nzStatus||X.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset"},exportAs:["nzBadge"],features:[t.TTD],ngContentSelectors:ae,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(k,X){1&k&&(t.F$t(),t.YNc(0,w,4,7,"ng-container",0),t.Hsn(1),t.YNc(2,b,2,1,"ng-container",1)),2&k&&(t.Q6J("ngIf",X.nzStatus||X.nzColor),t.xp6(2),t.Q6J("nzStringTemplateOutlet",X.nzCount))},directives:[h,I.O5,I.PC,O.f],encapsulation:2,data:{animation:[N.Ev]},changeDetection:0}),(0,i.gn)([(0,c.yF)()],p.prototype,"nzShowZero",void 0),(0,i.gn)([(0,c.yF)()],p.prototype,"nzShowDot",void 0),(0,i.gn)([(0,c.yF)()],p.prototype,"nzStandalone",void 0),(0,i.gn)([(0,c.yF)()],p.prototype,"nzDot",void 0),(0,i.gn)([(0,_.oS)()],p.prototype,"nzOverflowCount",void 0),(0,i.gn)([(0,_.oS)()],p.prototype,"nzColor",void 0),p})(),L=(()=>{class p{constructor(){this.nzPlacement="end",this.nzText=null,this.presetColor=null}ngOnChanges(k){const{nzColor:X}=k;X&&(this.presetColor=this.nzColor&&-1!==E.indexOf(this.nzColor)?this.nzColor:null)}}return p.\u0275fac=function(k){return new(k||p)},p.\u0275cmp=t.Xpm({type:p,selectors:[["nz-ribbon"]],hostAttrs:[1,"ant-ribbon-wrapper"],inputs:{nzColor:"nzColor",nzPlacement:"nzPlacement",nzText:"nzText"},exportAs:["nzRibbon"],features:[t.TTD],ngContentSelectors:ae,decls:4,vars:11,consts:[[1,"ant-ribbon"],[4,"nzStringTemplateOutlet"],[1,"ant-ribbon-corner"]],template:function(k,X){1&k&&(t.F$t(),t.Hsn(0),t.TgZ(1,"div",0),t.YNc(2,F,2,1,"ng-container",1),t._UZ(3,"div",2),t.qZA()),2&k&&(t.xp6(1),t.Tol(X.presetColor&&"ant-ribbon-color-"+X.presetColor),t.Udp("background-color",!X.presetColor&&X.nzColor),t.ekj("ant-ribbon-placement-end","end"===X.nzPlacement)("ant-ribbon-placement-start","start"===X.nzPlacement),t.xp6(1),t.Q6J("nzStringTemplateOutlet",X.nzText),t.xp6(1),t.Udp("color",!X.presetColor&&X.nzColor))},directives:[O.f],encapsulation:2,changeDetection:0}),p})(),B=(()=>{class p{}return p.\u0275fac=function(k){return new(k||p)},p.\u0275mod=t.oAB({type:p}),p.\u0275inj=t.cJS({imports:[[J.vT,I.ez,Y.Q8,O.T,u.g]]}),p})()},7484:(Te,te,o)=>{o.d(te,{bd:()=>ie,vh:()=>Oe,_i:()=>ye});var i=o(655),t=o(5e3),n=o(1721),s=o(8929),N=o(7625),_=o(9439),c=o(226),J=o(9808),u=o(969);function I(V,fe){1&V&&t.Hsn(0)}const O=["*"];function Y(V,fe){1&V&&(t.TgZ(0,"div",4),t._UZ(1,"div",5),t.qZA()),2&V&&t.Q6J("ngClass",fe.$implicit)}function $(V,fe){if(1&V&&(t.TgZ(0,"div",2),t.YNc(1,Y,2,1,"div",3),t.qZA()),2&V){const G=fe.$implicit;t.xp6(1),t.Q6J("ngForOf",G)}}function ne(V,fe){if(1&V&&(t.ynx(0),t._uU(1),t.BQk()),2&V){const G=t.oxw(3);t.xp6(1),t.Oqu(G.nzTitle)}}function R(V,fe){if(1&V&&(t.TgZ(0,"div",11),t.YNc(1,ne,2,1,"ng-container",12),t.qZA()),2&V){const G=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",G.nzTitle)}}function le(V,fe){if(1&V&&(t.ynx(0),t._uU(1),t.BQk()),2&V){const G=t.oxw(3);t.xp6(1),t.Oqu(G.nzExtra)}}function H(V,fe){if(1&V&&(t.TgZ(0,"div",13),t.YNc(1,le,2,1,"ng-container",12),t.qZA()),2&V){const G=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",G.nzExtra)}}function Z(V,fe){}function w(V,fe){if(1&V&&(t.ynx(0),t.YNc(1,Z,0,0,"ng-template",14),t.BQk()),2&V){const G=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",G.listOfNzCardTabComponent.template)}}function A(V,fe){if(1&V&&(t.TgZ(0,"div",6),t.TgZ(1,"div",7),t.YNc(2,R,2,1,"div",8),t.YNc(3,H,2,1,"div",9),t.qZA(),t.YNc(4,w,2,1,"ng-container",10),t.qZA()),2&V){const G=t.oxw();t.xp6(2),t.Q6J("ngIf",G.nzTitle),t.xp6(1),t.Q6J("ngIf",G.nzExtra),t.xp6(1),t.Q6J("ngIf",G.listOfNzCardTabComponent)}}function b(V,fe){}function ae(V,fe){if(1&V&&(t.TgZ(0,"div",15),t.YNc(1,b,0,0,"ng-template",14),t.qZA()),2&V){const G=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",G.nzCover)}}function F(V,fe){1&V&&(t.ynx(0),t.Hsn(1),t.BQk())}function E(V,fe){1&V&&t._UZ(0,"nz-card-loading")}function h(V,fe){}function M(V,fe){if(1&V&&(t.TgZ(0,"li"),t.TgZ(1,"span"),t.YNc(2,h,0,0,"ng-template",14),t.qZA(),t.qZA()),2&V){const G=fe.$implicit,he=t.oxw(2);t.Udp("width",100/he.nzActions.length,"%"),t.xp6(2),t.Q6J("ngTemplateOutlet",G)}}function P(V,fe){if(1&V&&(t.TgZ(0,"ul",16),t.YNc(1,M,3,3,"li",17),t.qZA()),2&V){const G=t.oxw();t.xp6(1),t.Q6J("ngForOf",G.nzActions)}}let se=(()=>{class V{constructor(){this.nzHoverable=!0}}return V.\u0275fac=function(G){return new(G||V)},V.\u0275dir=t.lG2({type:V,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(G,he){2&G&&t.ekj("ant-card-hoverable",he.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"]}),(0,i.gn)([(0,n.yF)()],V.prototype,"nzHoverable",void 0),V})(),ye=(()=>{class V{}return V.\u0275fac=function(G){return new(G||V)},V.\u0275cmp=t.Xpm({type:V,selectors:[["nz-card-tab"]],viewQuery:function(G,he){if(1&G&&t.Gf(t.Rgc,7),2&G){let ce;t.iGM(ce=t.CRH())&&(he.template=ce.first)}},exportAs:["nzCardTab"],ngContentSelectors:O,decls:1,vars:0,template:function(G,he){1&G&&(t.F$t(),t.YNc(0,I,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),V})(),q=(()=>{class V{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}}return V.\u0275fac=function(G){return new(G||V)},V.\u0275cmp=t.Xpm({type:V,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(G,he){1&G&&(t.TgZ(0,"div",0),t.YNc(1,$,2,1,"div",1),t.qZA()),2&G&&(t.xp6(1),t.Q6J("ngForOf",he.listOfLoading))},directives:[J.sg,J.mk],encapsulation:2,changeDetection:0}),V})(),ie=(()=>{class V{constructor(G,he,ce){this.nzConfigService=G,this.cdr=he,this.directionality=ce,this._nzModuleName="card",this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new s.xQ,this.nzConfigService.getConfigChangeEventForComponent("card").pipe((0,N.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){var G;null===(G=this.directionality.change)||void 0===G||G.pipe((0,N.R)(this.destroy$)).subscribe(he=>{this.dir=he,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return V.\u0275fac=function(G){return new(G||V)(t.Y36(_.jY),t.Y36(t.sBO),t.Y36(c.Is,8))},V.\u0275cmp=t.Xpm({type:V,selectors:[["nz-card"]],contentQueries:function(G,he,ce){if(1&G&&(t.Suo(ce,ye,5),t.Suo(ce,se,4)),2&G){let De;t.iGM(De=t.CRH())&&(he.listOfNzCardTabComponent=De.first),t.iGM(De=t.CRH())&&(he.listOfNzCardGridDirective=De)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(G,he){2&G&&t.ekj("ant-card-loading",he.nzLoading)("ant-card-bordered",!1===he.nzBorderless&&he.nzBordered)("ant-card-hoverable",he.nzHoverable)("ant-card-small","small"===he.nzSize)("ant-card-contain-grid",he.listOfNzCardGridDirective&&he.listOfNzCardGridDirective.length)("ant-card-type-inner","inner"===he.nzType)("ant-card-contain-tabs",!!he.listOfNzCardTabComponent)("ant-card-rtl","rtl"===he.dir)},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:O,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(G,he){if(1&G&&(t.F$t(),t.YNc(0,A,5,3,"div",0),t.YNc(1,ae,2,1,"div",1),t.TgZ(2,"div",2),t.YNc(3,F,2,0,"ng-container",3),t.YNc(4,E,1,0,"ng-template",null,4,t.W1O),t.qZA(),t.YNc(6,P,2,1,"ul",5)),2&G){const ce=t.MAs(5);t.Q6J("ngIf",he.nzTitle||he.nzExtra||he.listOfNzCardTabComponent),t.xp6(1),t.Q6J("ngIf",he.nzCover),t.xp6(1),t.Q6J("ngStyle",he.nzBodyStyle),t.xp6(1),t.Q6J("ngIf",!he.nzLoading)("ngIfElse",ce),t.xp6(3),t.Q6J("ngIf",he.nzActions.length)}},directives:[q,J.O5,u.f,J.tP,J.PC,J.sg],encapsulation:2,changeDetection:0}),(0,i.gn)([(0,_.oS)(),(0,n.yF)()],V.prototype,"nzBordered",void 0),(0,i.gn)([(0,_.oS)(),(0,n.yF)()],V.prototype,"nzBorderless",void 0),(0,i.gn)([(0,n.yF)()],V.prototype,"nzLoading",void 0),(0,i.gn)([(0,_.oS)(),(0,n.yF)()],V.prototype,"nzHoverable",void 0),(0,i.gn)([(0,_.oS)()],V.prototype,"nzSize",void 0),V})(),Oe=(()=>{class V{}return V.\u0275fac=function(G){return new(G||V)},V.\u0275mod=t.oAB({type:V}),V.\u0275inj=t.cJS({imports:[[J.ez,u.T],c.vT]}),V})()},5577:(Te,te,o)=>{o.d(te,{D3:()=>_,y7:()=>J});var i=o(5e3),t=o(3191),n=o(2916),s=o(8929);let N=(()=>{class u{create(O){return"undefined"==typeof ResizeObserver?null:new ResizeObserver(O)}}return u.\u0275fac=function(O){return new(O||u)},u.\u0275prov=i.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),_=(()=>{class u{constructor(O){this.nzResizeObserverFactory=O,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((O,Y)=>this.cleanupObserver(Y))}observe(O){const Y=(0,t.fI)(O);return new n.y($=>{const R=this.observeElement(Y).subscribe($);return()=>{R.unsubscribe(),this.unobserveElement(Y)}})}observeElement(O){if(this.observedElements.has(O))this.observedElements.get(O).count++;else{const Y=new s.xQ,$=this.nzResizeObserverFactory.create(ne=>Y.next(ne));$&&$.observe(O),this.observedElements.set(O,{observer:$,stream:Y,count:1})}return this.observedElements.get(O).stream}unobserveElement(O){this.observedElements.has(O)&&(this.observedElements.get(O).count--,this.observedElements.get(O).count||this.cleanupObserver(O))}cleanupObserver(O){if(this.observedElements.has(O)){const{observer:Y,stream:$}=this.observedElements.get(O);Y&&Y.disconnect(),$.complete(),this.observedElements.delete(O)}}}return u.\u0275fac=function(O){return new(O||u)(i.LFG(N))},u.\u0275prov=i.Yz7({token:u,factory:u.\u0275fac,providedIn:"root"}),u})(),J=(()=>{class u{}return u.\u0275fac=function(O){return new(O||u)},u.\u0275mod=i.oAB({type:u}),u.\u0275inj=i.cJS({providers:[N]}),u})()},5482:(Te,te,o)=>{o.d(te,{yH:()=>A,cD:()=>F,Zv:()=>ae});var i=o(655),t=o(5e3),n=o(8929),s=o(7625),N=o(8076),_=o(9439),c=o(1721),J=o(226),u=o(4832),I=o(9808),O=o(969),Y=o(647);const $=["*"];function ne(E,h){if(1&E&&(t.ynx(0),t._UZ(1,"i",6),t.BQk()),2&E){const M=h.$implicit,P=t.oxw(2);t.xp6(1),t.Q6J("nzType",M||"right")("nzRotate",P.nzActive?90:0)}}function R(E,h){if(1&E&&(t.TgZ(0,"div"),t.YNc(1,ne,2,2,"ng-container",2),t.qZA()),2&E){const M=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",M.nzExpandedIcon)}}function le(E,h){if(1&E&&(t.ynx(0),t._uU(1),t.BQk()),2&E){const M=t.oxw();t.xp6(1),t.Oqu(M.nzHeader)}}function H(E,h){if(1&E&&(t.ynx(0),t._uU(1),t.BQk()),2&E){const M=t.oxw(2);t.xp6(1),t.Oqu(M.nzExtra)}}function Z(E,h){if(1&E&&(t.TgZ(0,"div",7),t.YNc(1,H,2,1,"ng-container",2),t.qZA()),2&E){const M=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",M.nzExtra)}}const w="collapse";let A=(()=>{class E{constructor(M,P,L){this.nzConfigService=M,this.cdr=P,this.directionality=L,this._nzModuleName=w,this.nzAccordion=!1,this.nzBordered=!0,this.nzGhost=!1,this.nzExpandIconPosition="left",this.dir="ltr",this.listOfNzCollapsePanelComponent=[],this.destroy$=new n.xQ,this.nzConfigService.getConfigChangeEventForComponent(w).pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){var M;null===(M=this.directionality.change)||void 0===M||M.pipe((0,s.R)(this.destroy$)).subscribe(P=>{this.dir=P,this.cdr.detectChanges()}),this.dir=this.directionality.value}addPanel(M){this.listOfNzCollapsePanelComponent.push(M)}removePanel(M){this.listOfNzCollapsePanelComponent.splice(this.listOfNzCollapsePanelComponent.indexOf(M),1)}click(M){this.nzAccordion&&!M.nzActive&&this.listOfNzCollapsePanelComponent.filter(P=>P!==M).forEach(P=>{P.nzActive&&(P.nzActive=!1,P.nzActiveChange.emit(P.nzActive),P.markForCheck())}),M.nzActive=!M.nzActive,M.nzActiveChange.emit(M.nzActive)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return E.\u0275fac=function(M){return new(M||E)(t.Y36(_.jY),t.Y36(t.sBO),t.Y36(J.Is,8))},E.\u0275cmp=t.Xpm({type:E,selectors:[["nz-collapse"]],hostAttrs:[1,"ant-collapse"],hostVars:10,hostBindings:function(M,P){2&M&&t.ekj("ant-collapse-icon-position-left","left"===P.nzExpandIconPosition)("ant-collapse-icon-position-right","right"===P.nzExpandIconPosition)("ant-collapse-ghost",P.nzGhost)("ant-collapse-borderless",!P.nzBordered)("ant-collapse-rtl","rtl"===P.dir)},inputs:{nzAccordion:"nzAccordion",nzBordered:"nzBordered",nzGhost:"nzGhost",nzExpandIconPosition:"nzExpandIconPosition"},exportAs:["nzCollapse"],ngContentSelectors:$,decls:1,vars:0,template:function(M,P){1&M&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),(0,i.gn)([(0,_.oS)(),(0,c.yF)()],E.prototype,"nzAccordion",void 0),(0,i.gn)([(0,_.oS)(),(0,c.yF)()],E.prototype,"nzBordered",void 0),(0,i.gn)([(0,_.oS)(),(0,c.yF)()],E.prototype,"nzGhost",void 0),E})();const b="collapsePanel";let ae=(()=>{class E{constructor(M,P,L,B){this.nzConfigService=M,this.cdr=P,this.nzCollapseComponent=L,this.noAnimation=B,this._nzModuleName=b,this.nzActive=!1,this.nzDisabled=!1,this.nzShowArrow=!0,this.nzActiveChange=new t.vpe,this.destroy$=new n.xQ,this.nzConfigService.getConfigChangeEventForComponent(b).pipe((0,s.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}clickHeader(){this.nzDisabled||this.nzCollapseComponent.click(this)}markForCheck(){this.cdr.markForCheck()}ngOnInit(){this.nzCollapseComponent.addPanel(this)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.nzCollapseComponent.removePanel(this)}}return E.\u0275fac=function(M){return new(M||E)(t.Y36(_.jY),t.Y36(t.sBO),t.Y36(A,1),t.Y36(u.P,8))},E.\u0275cmp=t.Xpm({type:E,selectors:[["nz-collapse-panel"]],hostAttrs:[1,"ant-collapse-item"],hostVars:6,hostBindings:function(M,P){2&M&&t.ekj("ant-collapse-no-arrow",!P.nzShowArrow)("ant-collapse-item-active",P.nzActive)("ant-collapse-item-disabled",P.nzDisabled)},inputs:{nzActive:"nzActive",nzDisabled:"nzDisabled",nzShowArrow:"nzShowArrow",nzExtra:"nzExtra",nzHeader:"nzHeader",nzExpandedIcon:"nzExpandedIcon"},outputs:{nzActiveChange:"nzActiveChange"},exportAs:["nzCollapsePanel"],ngContentSelectors:$,decls:7,vars:8,consts:[["role","button",1,"ant-collapse-header",3,"click"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-collapse-extra",4,"ngIf"],[1,"ant-collapse-content"],[1,"ant-collapse-content-box"],["nz-icon","",1,"ant-collapse-arrow",3,"nzType","nzRotate"],[1,"ant-collapse-extra"]],template:function(M,P){1&M&&(t.F$t(),t.TgZ(0,"div",0),t.NdJ("click",function(){return P.clickHeader()}),t.YNc(1,R,2,1,"div",1),t.YNc(2,le,2,1,"ng-container",2),t.YNc(3,Z,2,1,"div",3),t.qZA(),t.TgZ(4,"div",4),t.TgZ(5,"div",5),t.Hsn(6),t.qZA(),t.qZA()),2&M&&(t.uIk("aria-expanded",P.nzActive),t.xp6(1),t.Q6J("ngIf",P.nzShowArrow),t.xp6(1),t.Q6J("nzStringTemplateOutlet",P.nzHeader),t.xp6(1),t.Q6J("ngIf",P.nzExtra),t.xp6(1),t.ekj("ant-collapse-content-active",P.nzActive),t.Q6J("@.disabled",null==P.noAnimation?null:P.noAnimation.nzNoAnimation)("@collapseMotion",P.nzActive?"expanded":"hidden"))},directives:[I.O5,O.f,Y.Ls],encapsulation:2,data:{animation:[N.J_]},changeDetection:0}),(0,i.gn)([(0,c.yF)()],E.prototype,"nzActive",void 0),(0,i.gn)([(0,c.yF)()],E.prototype,"nzDisabled",void 0),(0,i.gn)([(0,_.oS)(),(0,c.yF)()],E.prototype,"nzShowArrow",void 0),E})(),F=(()=>{class E{}return E.\u0275fac=function(M){return new(M||E)},E.\u0275mod=t.oAB({type:E}),E.\u0275inj=t.cJS({imports:[[J.vT,I.ez,Y.PV,O.T,u.g]]}),E})()},3098:(Te,te,o)=>{o.d(te,{R7:()=>ge,uj:()=>Pe,q6:()=>Ae});var i=o(226),t=o(925),n=o(9808),s=o(5e3),N=o(969),_=o(655),c=o(8929),J=o(6787),u=o(1721),I=o(7625),O=o(1059),Y=o(7545),$=o(7138),ne=o(2868),R=o(9439),le=o(948),H=o(4090);function Z(U,_e){1&U&&s.Hsn(0)}const w=["*"];function A(U,_e){if(1&U&&(s.ynx(0),s._uU(1),s.BQk()),2&U){const W=s.oxw(3);s.xp6(1),s.Oqu(W.nzTitle)}}function b(U,_e){if(1&U&&(s.TgZ(0,"div",6),s.YNc(1,A,2,1,"ng-container",7),s.qZA()),2&U){const W=s.oxw(2);s.xp6(1),s.Q6J("nzStringTemplateOutlet",W.nzTitle)}}function ae(U,_e){if(1&U&&(s.ynx(0),s._uU(1),s.BQk()),2&U){const W=s.oxw(3);s.xp6(1),s.Oqu(W.nzExtra)}}function F(U,_e){if(1&U&&(s.TgZ(0,"div",8),s.YNc(1,ae,2,1,"ng-container",7),s.qZA()),2&U){const W=s.oxw(2);s.xp6(1),s.Q6J("nzStringTemplateOutlet",W.nzExtra)}}function E(U,_e){if(1&U&&(s.TgZ(0,"div",3),s.YNc(1,b,2,1,"div",4),s.YNc(2,F,2,1,"div",5),s.qZA()),2&U){const W=s.oxw();s.xp6(1),s.Q6J("ngIf",W.nzTitle),s.xp6(1),s.Q6J("ngIf",W.nzExtra)}}function h(U,_e){if(1&U&&(s.ynx(0),s._uU(1),s.BQk()),2&U){const W=s.oxw(2).$implicit;s.xp6(1),s.hij(" ",W.title," ")}}function M(U,_e){}function P(U,_e){if(1&U&&(s.ynx(0),s.TgZ(1,"td",12),s.TgZ(2,"div",13),s.TgZ(3,"span",14),s.YNc(4,h,2,1,"ng-container",7),s.qZA(),s.TgZ(5,"span",15),s.YNc(6,M,0,0,"ng-template",16),s.qZA(),s.qZA(),s.qZA(),s.BQk()),2&U){const W=s.oxw().$implicit,Se=s.oxw(3);s.xp6(1),s.Q6J("colSpan",W.span),s.xp6(2),s.ekj("ant-descriptions-item-no-colon",!Se.nzColon),s.xp6(1),s.Q6J("nzStringTemplateOutlet",W.title),s.xp6(2),s.Q6J("ngTemplateOutlet",W.content)}}function L(U,_e){if(1&U&&(s.ynx(0),s._uU(1),s.BQk()),2&U){const W=s.oxw(3).$implicit;s.xp6(1),s.hij(" ",W.title," ")}}function B(U,_e){if(1&U&&(s.TgZ(0,"td",14),s.YNc(1,L,2,1,"ng-container",7),s.qZA()),2&U){const W=s.oxw(2).$implicit;s.xp6(1),s.Q6J("nzStringTemplateOutlet",W.title)}}function p(U,_e){}function K(U,_e){if(1&U&&(s.ynx(0),s.YNc(1,B,2,1,"td",17),s.TgZ(2,"td",18),s.YNc(3,p,0,0,"ng-template",16),s.qZA(),s.BQk()),2&U){const W=s.oxw().$implicit;s.xp6(1),s.Q6J("nzStringTemplateOutlet",W.title),s.xp6(1),s.Q6J("colSpan",2*W.span-1),s.xp6(1),s.Q6J("ngTemplateOutlet",W.content)}}function k(U,_e){if(1&U&&(s.ynx(0),s.YNc(1,P,7,5,"ng-container",2),s.YNc(2,K,4,3,"ng-container",2),s.BQk()),2&U){const W=s.oxw(3);s.xp6(1),s.Q6J("ngIf",!W.nzBordered),s.xp6(1),s.Q6J("ngIf",W.nzBordered)}}function X(U,_e){if(1&U&&(s.TgZ(0,"tr",10),s.YNc(1,k,3,2,"ng-container",11),s.qZA()),2&U){const W=_e.$implicit;s.xp6(1),s.Q6J("ngForOf",W)}}function xe(U,_e){if(1&U&&(s.ynx(0),s.YNc(1,X,2,1,"tr",9),s.BQk()),2&U){const W=s.oxw();s.xp6(1),s.Q6J("ngForOf",W.itemMatrix)}}function se(U,_e){if(1&U&&(s.ynx(0),s._uU(1),s.BQk()),2&U){const W=s.oxw().$implicit;s.xp6(1),s.hij(" ",W.title," ")}}function ye(U,_e){if(1&U&&(s.ynx(0),s.TgZ(1,"td",12),s.TgZ(2,"div",13),s.TgZ(3,"span",14),s.YNc(4,se,2,1,"ng-container",7),s.qZA(),s.qZA(),s.qZA(),s.BQk()),2&U){const W=_e.$implicit,Se=s.oxw(4);s.xp6(1),s.Q6J("colSpan",W.span),s.xp6(2),s.ekj("ant-descriptions-item-no-colon",!Se.nzColon),s.xp6(1),s.Q6J("nzStringTemplateOutlet",W.title)}}function q(U,_e){}function me(U,_e){if(1&U&&(s.ynx(0),s.TgZ(1,"td",12),s.TgZ(2,"div",13),s.TgZ(3,"span",15),s.YNc(4,q,0,0,"ng-template",16),s.qZA(),s.qZA(),s.qZA(),s.BQk()),2&U){const W=_e.$implicit;s.xp6(1),s.Q6J("colSpan",W.span),s.xp6(3),s.Q6J("ngTemplateOutlet",W.content)}}function ie(U,_e){if(1&U&&(s.ynx(0),s.TgZ(1,"tr",10),s.YNc(2,ye,5,4,"ng-container",11),s.qZA(),s.TgZ(3,"tr",10),s.YNc(4,me,5,2,"ng-container",11),s.qZA(),s.BQk()),2&U){const W=_e.$implicit;s.xp6(2),s.Q6J("ngForOf",W),s.xp6(2),s.Q6J("ngForOf",W)}}function ze(U,_e){if(1&U&&(s.ynx(0),s.YNc(1,ie,5,2,"ng-container",11),s.BQk()),2&U){const W=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",W.itemMatrix)}}function Oe(U,_e){if(1&U&&(s.ynx(0),s._uU(1),s.BQk()),2&U){const W=s.oxw().$implicit;s.xp6(1),s.hij(" ",W.title," ")}}function V(U,_e){if(1&U&&(s.ynx(0),s.TgZ(1,"td",19),s.YNc(2,Oe,2,1,"ng-container",7),s.qZA(),s.BQk()),2&U){const W=_e.$implicit;s.xp6(1),s.Q6J("colSpan",W.span),s.xp6(1),s.Q6J("nzStringTemplateOutlet",W.title)}}function fe(U,_e){}function G(U,_e){if(1&U&&(s.ynx(0),s.TgZ(1,"td",18),s.YNc(2,fe,0,0,"ng-template",16),s.qZA(),s.BQk()),2&U){const W=_e.$implicit;s.xp6(1),s.Q6J("colSpan",W.span),s.xp6(1),s.Q6J("ngTemplateOutlet",W.content)}}function he(U,_e){if(1&U&&(s.ynx(0),s.TgZ(1,"tr",10),s.YNc(2,V,3,2,"ng-container",11),s.qZA(),s.TgZ(3,"tr",10),s.YNc(4,G,3,2,"ng-container",11),s.qZA(),s.BQk()),2&U){const W=_e.$implicit;s.xp6(2),s.Q6J("ngForOf",W),s.xp6(2),s.Q6J("ngForOf",W)}}function ce(U,_e){if(1&U&&(s.ynx(0),s.YNc(1,he,5,2,"ng-container",11),s.BQk()),2&U){const W=s.oxw(2);s.xp6(1),s.Q6J("ngForOf",W.itemMatrix)}}function De(U,_e){if(1&U&&(s.ynx(0),s.YNc(1,ze,2,1,"ng-container",2),s.YNc(2,ce,2,1,"ng-container",2),s.BQk()),2&U){const W=s.oxw();s.xp6(1),s.Q6J("ngIf",!W.nzBordered),s.xp6(1),s.Q6J("ngIf",W.nzBordered)}}let Pe=(()=>{class U{constructor(){this.nzSpan=1,this.nzTitle="",this.inputChange$=new c.xQ}ngOnChanges(){this.inputChange$.next()}ngOnDestroy(){this.inputChange$.complete()}}return U.\u0275fac=function(W){return new(W||U)},U.\u0275cmp=s.Xpm({type:U,selectors:[["nz-descriptions-item"]],viewQuery:function(W,Se){if(1&W&&s.Gf(s.Rgc,7),2&W){let be;s.iGM(be=s.CRH())&&(Se.content=be.first)}},inputs:{nzSpan:"nzSpan",nzTitle:"nzTitle"},exportAs:["nzDescriptionsItem"],features:[s.TTD],ngContentSelectors:w,decls:1,vars:0,template:function(W,Se){1&W&&(s.F$t(),s.YNc(0,Z,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),(0,_.gn)([(0,u.Rn)()],U.prototype,"nzSpan",void 0),U})();const Ie={xxl:3,xl:3,lg:3,md:3,sm:2,xs:1};let ge=(()=>{class U{constructor(W,Se,be,Ge){this.nzConfigService=W,this.cdr=Se,this.breakpointService=be,this.directionality=Ge,this._nzModuleName="descriptions",this.nzBordered=!1,this.nzLayout="horizontal",this.nzColumn=Ie,this.nzSize="default",this.nzTitle="",this.nzColon=!0,this.itemMatrix=[],this.realColumn=3,this.dir="ltr",this.breakpoint=H.G_.md,this.destroy$=new c.xQ}ngOnInit(){var W;this.dir=this.directionality.value,null===(W=this.directionality.change)||void 0===W||W.pipe((0,I.R)(this.destroy$)).subscribe(Se=>{this.dir=Se})}ngOnChanges(W){W.nzColumn&&this.prepareMatrix()}ngAfterContentInit(){const W=this.items.changes.pipe((0,O.O)(this.items),(0,I.R)(this.destroy$));(0,J.T)(W,W.pipe((0,Y.w)(()=>(0,J.T)(...this.items.map(Se=>Se.inputChange$)).pipe((0,$.e)(16)))),this.breakpointService.subscribe(H.WV).pipe((0,ne.b)(Se=>this.breakpoint=Se))).pipe((0,I.R)(this.destroy$)).subscribe(()=>{this.prepareMatrix(),this.cdr.markForCheck()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}prepareMatrix(){if(!this.items)return;let W=[],Se=0;const be=this.realColumn=this.getColumn(),Ge=this.items.toArray(),tt=Ge.length,nt=[],Ke=()=>{nt.push(W),W=[],Se=0};for(let Ve=0;Ve=be?(Se>be&&(0,le.ZK)(`"nzColumn" is ${be} but we have row length ${Se}`),W.push({title:He,content:Xe,span:be-(Se-Ye)}),Ke()):Ve===tt-1?(W.push({title:He,content:Xe,span:be-(Se-Ye)}),Ke()):W.push({title:He,content:Xe,span:Ye})}this.itemMatrix=nt}getColumn(){return"number"!=typeof this.nzColumn?this.nzColumn[this.breakpoint]:this.nzColumn}}return U.\u0275fac=function(W){return new(W||U)(s.Y36(R.jY),s.Y36(s.sBO),s.Y36(H.r3),s.Y36(i.Is,8))},U.\u0275cmp=s.Xpm({type:U,selectors:[["nz-descriptions"]],contentQueries:function(W,Se,be){if(1&W&&s.Suo(be,Pe,4),2&W){let Ge;s.iGM(Ge=s.CRH())&&(Se.items=Ge)}},hostAttrs:[1,"ant-descriptions"],hostVars:8,hostBindings:function(W,Se){2&W&&s.ekj("ant-descriptions-bordered",Se.nzBordered)("ant-descriptions-middle","middle"===Se.nzSize)("ant-descriptions-small","small"===Se.nzSize)("ant-descriptions-rtl","rtl"===Se.dir)},inputs:{nzBordered:"nzBordered",nzLayout:"nzLayout",nzColumn:"nzColumn",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra",nzColon:"nzColon"},exportAs:["nzDescriptions"],features:[s.TTD],decls:6,vars:3,consts:[["class","ant-descriptions-header",4,"ngIf"],[1,"ant-descriptions-view"],[4,"ngIf"],[1,"ant-descriptions-header"],["class","ant-descriptions-title",4,"ngIf"],["class","ant-descriptions-extra",4,"ngIf"],[1,"ant-descriptions-title"],[4,"nzStringTemplateOutlet"],[1,"ant-descriptions-extra"],["class","ant-descriptions-row",4,"ngFor","ngForOf"],[1,"ant-descriptions-row"],[4,"ngFor","ngForOf"],[1,"ant-descriptions-item",3,"colSpan"],[1,"ant-descriptions-item-container"],[1,"ant-descriptions-item-label"],[1,"ant-descriptions-item-content"],[3,"ngTemplateOutlet"],["class","ant-descriptions-item-label",4,"nzStringTemplateOutlet"],[1,"ant-descriptions-item-content",3,"colSpan"],[1,"ant-descriptions-item-label",3,"colSpan"]],template:function(W,Se){1&W&&(s.YNc(0,E,3,2,"div",0),s.TgZ(1,"div",1),s.TgZ(2,"table"),s.TgZ(3,"tbody"),s.YNc(4,xe,2,1,"ng-container",2),s.YNc(5,De,3,2,"ng-container",2),s.qZA(),s.qZA(),s.qZA()),2&W&&(s.Q6J("ngIf",Se.nzTitle||Se.nzExtra),s.xp6(4),s.Q6J("ngIf","horizontal"===Se.nzLayout),s.xp6(1),s.Q6J("ngIf","vertical"===Se.nzLayout))},directives:[n.O5,N.f,n.sg,n.tP],encapsulation:2,changeDetection:0}),(0,_.gn)([(0,u.yF)(),(0,R.oS)()],U.prototype,"nzBordered",void 0),(0,_.gn)([(0,R.oS)()],U.prototype,"nzColumn",void 0),(0,_.gn)([(0,R.oS)()],U.prototype,"nzSize",void 0),(0,_.gn)([(0,R.oS)(),(0,u.yF)()],U.prototype,"nzColon",void 0),U})(),Ae=(()=>{class U{}return U.\u0275fac=function(W){return new(W||U)},U.\u0275mod=s.oAB({type:U}),U.\u0275inj=s.cJS({imports:[[i.vT,n.ez,N.T,t.ud]]}),U})()},3677:(Te,te,o)=>{o.d(te,{cm:()=>ye,b1:()=>Oe,wA:()=>ie,RR:()=>ze});var i=o(655),t=o(1159),n=o(7429),s=o(5e3),N=o(8929),_=o(591),c=o(6787),J=o(3753),u=o(8896),I=o(3426),O=o(7604),Y=o(4850),$=o(7545),ne=o(2198),R=o(7138),le=o(5778),H=o(7625),Z=o(9439),w=o(6950),A=o(1721),b=o(2845),ae=o(925),F=o(226),E=o(9808),h=o(4182),M=o(6042),P=o(4832),L=o(969),B=o(647),p=o(4219),K=o(8076);function k(G,he){if(1&G){const ce=s.EpF();s.TgZ(0,"div",0),s.NdJ("@slideMotion.done",function(Pe){return s.CHM(ce),s.oxw().onAnimationEvent(Pe)})("mouseenter",function(){return s.CHM(ce),s.oxw().setMouseState(!0)})("mouseleave",function(){return s.CHM(ce),s.oxw().setMouseState(!1)}),s.Hsn(1),s.qZA()}if(2&G){const ce=s.oxw();s.ekj("ant-dropdown-rtl","rtl"===ce.dir),s.Q6J("ngClass",ce.nzOverlayClassName)("ngStyle",ce.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",null==ce.noAnimation?null:ce.noAnimation.nzNoAnimation)("nzNoAnimation",null==ce.noAnimation?null:ce.noAnimation.nzNoAnimation)}}const X=["*"],se=[w.yW.bottomLeft,w.yW.bottomRight,w.yW.topRight,w.yW.topLeft];let ye=(()=>{class G{constructor(ce,De,Pe,re,Ie,ge){this.nzConfigService=ce,this.elementRef=De,this.overlay=Pe,this.renderer=re,this.viewContainerRef=Ie,this.platform=ge,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new N.xQ,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new _.X(!1),this.nzTrigger$=new _.X("hover"),this.overlayClose$=new N.xQ,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new s.vpe}setDropdownMenuValue(ce,De){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(ce,De)}ngAfterViewInit(){if(this.nzDropdownMenu){const ce=this.elementRef.nativeElement,De=(0,c.T)((0,J.R)(ce,"mouseenter").pipe((0,O.h)(!0)),(0,J.R)(ce,"mouseleave").pipe((0,O.h)(!1))),re=(0,c.T)(this.nzDropdownMenu.mouseState$,De),Ie=(0,J.R)(ce,"click").pipe((0,Y.U)(()=>!this.nzVisible)),ge=this.nzTrigger$.pipe((0,$.w)(W=>"hover"===W?re:"click"===W?Ie:u.E)),Ae=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,ne.h)(()=>this.nzClickHide),(0,O.h)(!1)),U=(0,c.T)(ge,Ae,this.overlayClose$).pipe((0,ne.h)(()=>!this.nzDisabled)),_e=(0,c.T)(this.inputVisible$,U);(0,I.aj)([_e,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,Y.U)(([W,Se])=>W||Se),(0,R.e)(150),(0,le.x)(),(0,ne.h)(()=>this.platform.isBrowser),(0,H.R)(this.destroy$)).subscribe(W=>{const be=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:ce).getBoundingClientRect().width;this.nzVisible!==W&&this.nzVisibleChange.emit(W),this.nzVisible=W,W?(this.overlayRef?this.overlayRef.getConfig().minWidth=be:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:be,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,c.T)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,ne.h)(Ge=>!this.elementRef.nativeElement.contains(Ge.target))),this.overlayRef.keydownEvents().pipe((0,ne.h)(Ge=>Ge.keyCode===t.hY&&!(0,t.Vb)(Ge)))).pipe((0,H.R)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([w.yW[this.nzPlacement],...se]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new n.UE(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,H.R)(this.destroy$)).subscribe(W=>{"void"===W.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(ce){const{nzVisible:De,nzDisabled:Pe,nzOverlayClassName:re,nzOverlayStyle:Ie,nzTrigger:ge}=ce;if(ge&&this.nzTrigger$.next(this.nzTrigger),De&&this.inputVisible$.next(this.nzVisible),Pe){const Ae=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(Ae,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(Ae,"disabled")}re&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),Ie&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}}return G.\u0275fac=function(ce){return new(ce||G)(s.Y36(Z.jY),s.Y36(s.SBq),s.Y36(b.aV),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(ae.t4))},G.\u0275dir=s.lG2({type:G,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[s.TTD]}),(0,i.gn)([(0,Z.oS)(),(0,A.yF)()],G.prototype,"nzBackdrop",void 0),(0,i.gn)([(0,A.yF)()],G.prototype,"nzClickHide",void 0),(0,i.gn)([(0,A.yF)()],G.prototype,"nzDisabled",void 0),(0,i.gn)([(0,A.yF)()],G.prototype,"nzVisible",void 0),G})(),q=(()=>{class G{}return G.\u0275fac=function(ce){return new(ce||G)},G.\u0275mod=s.oAB({type:G}),G.\u0275inj=s.cJS({}),G})(),ie=(()=>{class G{constructor(ce,De,Pe){this.renderer=ce,this.nzButtonGroupComponent=De,this.elementRef=Pe}ngAfterViewInit(){const ce=this.renderer.parentNode(this.elementRef.nativeElement);this.nzButtonGroupComponent&&ce&&this.renderer.addClass(ce,"ant-dropdown-button")}}return G.\u0275fac=function(ce){return new(ce||G)(s.Y36(s.Qsj),s.Y36(M.fY,9),s.Y36(s.SBq))},G.\u0275dir=s.lG2({type:G,selectors:[["","nz-button","","nz-dropdown",""]]}),G})(),ze=(()=>{class G{constructor(ce,De,Pe,re,Ie,ge,Ae){this.cdr=ce,this.elementRef=De,this.renderer=Pe,this.viewContainerRef=re,this.nzMenuService=Ie,this.directionality=ge,this.noAnimation=Ae,this.mouseState$=new _.X(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new s.vpe,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new N.xQ}onAnimationEvent(ce){this.animationStateChange$.emit(ce)}setMouseState(ce){this.mouseState$.next(ce)}setValue(ce,De){this[ce]=De,this.cdr.markForCheck()}ngOnInit(){var ce;null===(ce=this.directionality.change)||void 0===ce||ce.pipe((0,H.R)(this.destroy$)).subscribe(De=>{this.dir=De,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return G.\u0275fac=function(ce){return new(ce||G)(s.Y36(s.sBO),s.Y36(s.SBq),s.Y36(s.Qsj),s.Y36(s.s_b),s.Y36(p.hl),s.Y36(F.Is,8),s.Y36(P.P,9))},G.\u0275cmp=s.Xpm({type:G,selectors:[["nz-dropdown-menu"]],viewQuery:function(ce,De){if(1&ce&&s.Gf(s.Rgc,7),2&ce){let Pe;s.iGM(Pe=s.CRH())&&(De.templateRef=Pe.first)}},exportAs:["nzDropdownMenu"],features:[s._Bn([p.hl,{provide:p.Cc,useValue:!0}])],ngContentSelectors:X,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(ce,De){1&ce&&(s.F$t(),s.YNc(0,k,2,7,"ng-template"))},directives:[E.mk,E.PC,P.P],encapsulation:2,data:{animation:[K.mF]},changeDetection:0}),G})(),Oe=(()=>{class G{}return G.\u0275fac=function(ce){return new(ce||G)},G.\u0275mod=s.oAB({type:G}),G.\u0275inj=s.cJS({imports:[[F.vT,E.ez,b.U8,h.u5,M.sL,p.ip,B.PV,P.g,ae.ud,w.e4,q,L.T],p.ip]}),G})();new b.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new b.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new b.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new b.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})},3762:(Te,te,o)=>{o.d(te,{n_:()=>Ze,I2:()=>Be,t4:()=>ke,AA:()=>ot,yw:()=>Re,yi:()=>Ee,IO:()=>z,Ph:()=>st});var i=o(5e3),t=o(6699),n=o(9808),s=o(969),N=o(655),_=o(1721),c=o(8929),J=o(8514),u=o(1086),I=o(6787),O=o(591),Y=o(2986),$=o(7545),ne=o(7625),R=o(685),le=o(226),H=o(7525),Z=o(1894);const w=["*"];function A(C,ee){if(1&C&&i._UZ(0,"nz-avatar",3),2&C){const x=i.oxw();i.Q6J("nzSrc",x.nzSrc)}}function b(C,ee){1&C&&i.Hsn(0,0,["*ngIf","!nzSrc"])}function ae(C,ee){if(1&C&&i._UZ(0,"nz-list-item-meta-avatar",3),2&C){const x=i.oxw();i.Q6J("nzSrc",x.avatarStr)}}function F(C,ee){if(1&C&&(i.TgZ(0,"nz-list-item-meta-avatar"),i.GkF(1,4),i.qZA()),2&C){const x=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",x.avatarTpl)}}function E(C,ee){if(1&C&&(i.ynx(0),i._uU(1),i.BQk()),2&C){const x=i.oxw(3);i.xp6(1),i.Oqu(x.nzTitle)}}function h(C,ee){if(1&C&&(i.TgZ(0,"nz-list-item-meta-title"),i.YNc(1,E,2,1,"ng-container",6),i.qZA()),2&C){const x=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzTitle)}}function M(C,ee){if(1&C&&(i.ynx(0),i._uU(1),i.BQk()),2&C){const x=i.oxw(3);i.xp6(1),i.Oqu(x.nzDescription)}}function P(C,ee){if(1&C&&(i.TgZ(0,"nz-list-item-meta-description"),i.YNc(1,M,2,1,"ng-container",6),i.qZA()),2&C){const x=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzDescription)}}function L(C,ee){if(1&C&&(i.TgZ(0,"div",5),i.YNc(1,h,2,1,"nz-list-item-meta-title",1),i.YNc(2,P,2,1,"nz-list-item-meta-description",1),i.Hsn(3,1),i.Hsn(4,2),i.qZA()),2&C){const x=i.oxw();i.xp6(1),i.Q6J("ngIf",x.nzTitle&&!x.titleComponent),i.xp6(1),i.Q6J("ngIf",x.nzDescription&&!x.descriptionComponent)}}const B=[[["nz-list-item-meta-avatar"]],[["nz-list-item-meta-title"]],[["nz-list-item-meta-description"]]],p=["nz-list-item-meta-avatar","nz-list-item-meta-title","nz-list-item-meta-description"];function K(C,ee){1&C&&i.Hsn(0)}const k=["nz-list-item-actions",""];function X(C,ee){}function xe(C,ee){1&C&&i._UZ(0,"em",3)}function se(C,ee){if(1&C&&(i.TgZ(0,"li"),i.YNc(1,X,0,0,"ng-template",1),i.YNc(2,xe,1,0,"em",2),i.qZA()),2&C){const x=ee.$implicit,pe=ee.last;i.xp6(1),i.Q6J("ngTemplateOutlet",x),i.xp6(1),i.Q6J("ngIf",!pe)}}function ye(C,ee){}const q=function(C,ee){return{$implicit:C,index:ee}};function me(C,ee){if(1&C&&(i.ynx(0),i.YNc(1,ye,0,0,"ng-template",9),i.BQk()),2&C){const x=ee.$implicit,pe=ee.index,Ne=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",Ne.nzRenderItem)("ngTemplateOutletContext",i.WLB(2,q,x,pe))}}function ie(C,ee){if(1&C&&(i.TgZ(0,"div",7),i.YNc(1,me,2,5,"ng-container",8),i.Hsn(2,4),i.qZA()),2&C){const x=i.oxw();i.xp6(1),i.Q6J("ngForOf",x.nzDataSource)}}function ze(C,ee){if(1&C&&(i.ynx(0),i._uU(1),i.BQk()),2&C){const x=i.oxw(2);i.xp6(1),i.Oqu(x.nzHeader)}}function Oe(C,ee){if(1&C&&(i.TgZ(0,"nz-list-header"),i.YNc(1,ze,2,1,"ng-container",10),i.qZA()),2&C){const x=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzHeader)}}function V(C,ee){1&C&&i._UZ(0,"div"),2&C&&i.Udp("min-height",53,"px")}function fe(C,ee){}function G(C,ee){if(1&C&&(i.TgZ(0,"div",13),i.YNc(1,fe,0,0,"ng-template",9),i.qZA()),2&C){const x=ee.$implicit,pe=ee.index,Ne=i.oxw(2);i.Q6J("nzSpan",Ne.nzGrid.span||null)("nzXs",Ne.nzGrid.xs||null)("nzSm",Ne.nzGrid.sm||null)("nzMd",Ne.nzGrid.md||null)("nzLg",Ne.nzGrid.lg||null)("nzXl",Ne.nzGrid.xl||null)("nzXXl",Ne.nzGrid.xxl||null),i.xp6(1),i.Q6J("ngTemplateOutlet",Ne.nzRenderItem)("ngTemplateOutletContext",i.WLB(9,q,x,pe))}}function he(C,ee){if(1&C&&(i.TgZ(0,"div",11),i.YNc(1,G,2,12,"div",12),i.qZA()),2&C){const x=i.oxw();i.Q6J("nzGutter",x.nzGrid.gutter||null),i.xp6(1),i.Q6J("ngForOf",x.nzDataSource)}}function ce(C,ee){if(1&C&&i._UZ(0,"nz-list-empty",14),2&C){const x=i.oxw();i.Q6J("nzNoResult",x.nzNoResult)}}function De(C,ee){if(1&C&&(i.ynx(0),i._uU(1),i.BQk()),2&C){const x=i.oxw(2);i.xp6(1),i.Oqu(x.nzFooter)}}function Pe(C,ee){if(1&C&&(i.TgZ(0,"nz-list-footer"),i.YNc(1,De,2,1,"ng-container",10),i.qZA()),2&C){const x=i.oxw();i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzFooter)}}function re(C,ee){}function Ie(C,ee){}function ge(C,ee){if(1&C&&(i.TgZ(0,"nz-list-pagination"),i.YNc(1,Ie,0,0,"ng-template",6),i.qZA()),2&C){const x=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",x.nzPagination)}}const Ae=[[["nz-list-header"]],[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],"*"],U=["nz-list-header","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","*"];function _e(C,ee){if(1&C&&i._UZ(0,"ul",6),2&C){const x=i.oxw(2);i.Q6J("nzActions",x.nzActions)}}function W(C,ee){if(1&C&&(i.YNc(0,_e,1,1,"ul",5),i.Hsn(1)),2&C){const x=i.oxw();i.Q6J("ngIf",x.nzActions&&x.nzActions.length>0)}}function Se(C,ee){if(1&C&&(i.ynx(0),i._uU(1),i.BQk()),2&C){const x=i.oxw(3);i.xp6(1),i.Oqu(x.nzContent)}}function be(C,ee){if(1&C&&(i.ynx(0),i.YNc(1,Se,2,1,"ng-container",8),i.BQk()),2&C){const x=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",x.nzContent)}}function Ge(C,ee){if(1&C&&(i.Hsn(0,1),i.Hsn(1,2),i.YNc(2,be,2,1,"ng-container",7)),2&C){const x=i.oxw();i.xp6(2),i.Q6J("ngIf",x.nzContent)}}function tt(C,ee){1&C&&i.Hsn(0,3)}function nt(C,ee){}function Ke(C,ee){}function Ve(C,ee){}function y(C,ee){}function He(C,ee){if(1&C&&(i.YNc(0,nt,0,0,"ng-template",9),i.YNc(1,Ke,0,0,"ng-template",9),i.YNc(2,Ve,0,0,"ng-template",9),i.YNc(3,y,0,0,"ng-template",9)),2&C){const x=i.oxw(),pe=i.MAs(3),Ne=i.MAs(5),Fe=i.MAs(1);i.Q6J("ngTemplateOutlet",pe),i.xp6(1),i.Q6J("ngTemplateOutlet",x.nzExtra),i.xp6(1),i.Q6J("ngTemplateOutlet",Ne),i.xp6(1),i.Q6J("ngTemplateOutlet",Fe)}}function Xe(C,ee){}function Ye(C,ee){}function lt(C,ee){}function Ue(C,ee){if(1&C&&(i.TgZ(0,"nz-list-item-extra"),i.YNc(1,lt,0,0,"ng-template",9),i.qZA()),2&C){const x=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",x.nzExtra)}}function pt(C,ee){}function v(C,ee){if(1&C&&(i.ynx(0),i.TgZ(1,"div",10),i.YNc(2,Xe,0,0,"ng-template",9),i.YNc(3,Ye,0,0,"ng-template",9),i.qZA(),i.YNc(4,Ue,2,1,"nz-list-item-extra",7),i.YNc(5,pt,0,0,"ng-template",9),i.BQk()),2&C){const x=i.oxw(),pe=i.MAs(3),Ne=i.MAs(1),Fe=i.MAs(5);i.xp6(2),i.Q6J("ngTemplateOutlet",pe),i.xp6(1),i.Q6J("ngTemplateOutlet",Ne),i.xp6(1),i.Q6J("ngIf",x.nzExtra),i.xp6(1),i.Q6J("ngTemplateOutlet",Fe)}}const l=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],Ce=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"];let z=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-item-meta-title"]],exportAs:["nzListItemMetaTitle"],ngContentSelectors:w,decls:2,vars:0,consts:[[1,"ant-list-item-meta-title"]],template:function(x,pe){1&x&&(i.F$t(),i.TgZ(0,"h4",0),i.Hsn(1),i.qZA())},encapsulation:2,changeDetection:0}),C})(),g=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-item-meta-description"]],exportAs:["nzListItemMetaDescription"],ngContentSelectors:w,decls:2,vars:0,consts:[[1,"ant-list-item-meta-description"]],template:function(x,pe){1&x&&(i.F$t(),i.TgZ(0,"div",0),i.Hsn(1),i.qZA())},encapsulation:2,changeDetection:0}),C})(),ve=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-item-meta-avatar"]],inputs:{nzSrc:"nzSrc"},exportAs:["nzListItemMetaAvatar"],ngContentSelectors:w,decls:3,vars:2,consts:[[1,"ant-list-item-meta-avatar"],[3,"nzSrc",4,"ngIf"],[4,"ngIf"],[3,"nzSrc"]],template:function(x,pe){1&x&&(i.F$t(),i.TgZ(0,"div",0),i.YNc(1,A,1,1,"nz-avatar",1),i.YNc(2,b,1,0,"ng-content",2),i.qZA()),2&x&&(i.xp6(1),i.Q6J("ngIf",pe.nzSrc),i.xp6(1),i.Q6J("ngIf",!pe.nzSrc))},directives:[t.Dz,n.O5],encapsulation:2,changeDetection:0}),C})(),Ee=(()=>{class C{constructor(x,pe){this.elementRef=x,this.renderer=pe,this.avatarStr="",this.renderer.addClass(x.nativeElement,"ant-list-item-meta")}set nzAvatar(x){x instanceof i.Rgc?(this.avatarStr="",this.avatarTpl=x):this.avatarStr=x}}return C.\u0275fac=function(x){return new(x||C)(i.Y36(i.SBq),i.Y36(i.Qsj))},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-item-meta"],["","nz-list-item-meta",""]],contentQueries:function(x,pe,Ne){if(1&x&&(i.Suo(Ne,g,5),i.Suo(Ne,z,5)),2&x){let Fe;i.iGM(Fe=i.CRH())&&(pe.descriptionComponent=Fe.first),i.iGM(Fe=i.CRH())&&(pe.titleComponent=Fe.first)}},inputs:{nzAvatar:"nzAvatar",nzTitle:"nzTitle",nzDescription:"nzDescription"},exportAs:["nzListItemMeta"],ngContentSelectors:p,decls:4,vars:3,consts:[[3,"nzSrc",4,"ngIf"],[4,"ngIf"],["class","ant-list-item-meta-content",4,"ngIf"],[3,"nzSrc"],[3,"ngTemplateOutlet"],[1,"ant-list-item-meta-content"],[4,"nzStringTemplateOutlet"]],template:function(x,pe){1&x&&(i.F$t(B),i.YNc(0,ae,1,1,"nz-list-item-meta-avatar",0),i.YNc(1,F,2,1,"nz-list-item-meta-avatar",1),i.Hsn(2),i.YNc(3,L,5,2,"div",2)),2&x&&(i.Q6J("ngIf",pe.avatarStr),i.xp6(1),i.Q6J("ngIf",pe.avatarTpl),i.xp6(2),i.Q6J("ngIf",pe.nzTitle||pe.nzDescription||pe.descriptionComponent||pe.titleComponent))},directives:[ve,z,g,n.O5,n.tP,s.f],encapsulation:2,changeDetection:0}),C})(),Re=(()=>{class C{constructor(){}}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:w,decls:1,vars:0,template:function(x,pe){1&x&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),C})(),We=(()=>{class C{constructor(){}}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-item-action"]],viewQuery:function(x,pe){if(1&x&&i.Gf(i.Rgc,5),2&x){let Ne;i.iGM(Ne=i.CRH())&&(pe.templateRef=Ne.first)}},exportAs:["nzListItemAction"],ngContentSelectors:w,decls:1,vars:0,template:function(x,pe){1&x&&(i.F$t(),i.YNc(0,K,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),C})(),$e=(()=>{class C{constructor(x,pe){this.ngZone=x,this.cdr=pe,this.nzActions=[],this.actions=[],this.destroy$=new c.xQ,this.inputActionChanges$=new c.xQ,this.contentChildrenChanges$=(0,J.P)(()=>this.nzListItemActions?(0,u.of)(null):this.ngZone.onStable.asObservable().pipe((0,Y.q)(1),(0,$.w)(()=>this.contentChildrenChanges$))),(0,I.T)(this.contentChildrenChanges$,this.inputActionChanges$).pipe((0,ne.R)(this.destroy$)).subscribe(()=>{this.actions=this.nzActions.length?this.nzActions:this.nzListItemActions.map(Ne=>Ne.templateRef),this.cdr.detectChanges()})}ngOnChanges(){this.inputActionChanges$.next(null)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return C.\u0275fac=function(x){return new(x||C)(i.Y36(i.R0b),i.Y36(i.sBO))},C.\u0275cmp=i.Xpm({type:C,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(x,pe,Ne){if(1&x&&i.Suo(Ne,We,4),2&x){let Fe;i.iGM(Fe=i.CRH())&&(pe.nzListItemActions=Fe)}},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[i.TTD],attrs:k,decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(x,pe){1&x&&i.YNc(0,se,3,2,"li",0),2&x&&i.Q6J("ngForOf",pe.actions)},directives:[n.sg,n.tP,n.O5],encapsulation:2,changeDetection:0}),C})(),Be=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:1,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(x,pe){1&x&&i._UZ(0,"nz-embed-empty",0),2&x&&i.Q6J("nzComponentName","list")("specificContent",pe.nzNoResult)},directives:[R.gB],encapsulation:2,changeDetection:0}),C})(),ke=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:w,decls:1,vars:0,template:function(x,pe){1&x&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),C})(),Je=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:w,decls:1,vars:0,template:function(x,pe){1&x&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),C})(),qe=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:w,decls:1,vars:0,template:function(x,pe){1&x&&(i.F$t(),i.Hsn(0))},encapsulation:2,changeDetection:0}),C})(),rt=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275dir=i.lG2({type:C,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]}),C})(),Ze=(()=>{class C{constructor(x){this.directionality=x,this.nzBordered=!1,this.nzGrid="",this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.dir="ltr",this.itemLayoutNotifySource=new O.X(this.nzItemLayout),this.destroy$=new c.xQ}get itemLayoutNotify$(){return this.itemLayoutNotifySource.asObservable()}ngOnInit(){var x;this.dir=this.directionality.value,null===(x=this.directionality.change)||void 0===x||x.pipe((0,ne.R)(this.destroy$)).subscribe(pe=>{this.dir=pe})}getSomethingAfterLastItem(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)}ngOnChanges(x){x.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)}ngOnDestroy(){this.itemLayoutNotifySource.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()}}return C.\u0275fac=function(x){return new(x||C)(i.Y36(le.Is,8))},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(x,pe,Ne){if(1&x&&(i.Suo(Ne,Je,5),i.Suo(Ne,qe,5),i.Suo(Ne,rt,5)),2&x){let Fe;i.iGM(Fe=i.CRH())&&(pe.nzListFooterComponent=Fe.first),i.iGM(Fe=i.CRH())&&(pe.nzListPaginationComponent=Fe.first),i.iGM(Fe=i.CRH())&&(pe.nzListLoadMoreDirective=Fe.first)}},hostAttrs:[1,"ant-list"],hostVars:16,hostBindings:function(x,pe){2&x&&i.ekj("ant-list-rtl","rtl"===pe.dir)("ant-list-vertical","vertical"===pe.nzItemLayout)("ant-list-lg","large"===pe.nzSize)("ant-list-sm","small"===pe.nzSize)("ant-list-split",pe.nzSplit)("ant-list-bordered",pe.nzBordered)("ant-list-loading",pe.nzLoading)("ant-list-something-after-last-item",pe.hasSomethingAfterLastItem)},inputs:{nzDataSource:"nzDataSource",nzBordered:"nzBordered",nzGrid:"nzGrid",nzHeader:"nzHeader",nzFooter:"nzFooter",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzPagination:"nzPagination",nzSize:"nzSize",nzSplit:"nzSplit",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[i.TTD],ngContentSelectors:U,decls:15,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(x,pe){if(1&x&&(i.F$t(Ae),i.YNc(0,ie,3,1,"ng-template",null,0,i.W1O),i.YNc(2,Oe,2,1,"nz-list-header",1),i.Hsn(3),i.TgZ(4,"nz-spin",2),i.ynx(5),i.YNc(6,V,1,2,"div",3),i.YNc(7,he,2,2,"div",4),i.YNc(8,ce,1,1,"nz-list-empty",5),i.BQk(),i.qZA(),i.YNc(9,Pe,2,1,"nz-list-footer",1),i.Hsn(10,1),i.YNc(11,re,0,0,"ng-template",6),i.Hsn(12,2),i.YNc(13,ge,2,1,"nz-list-pagination",1),i.Hsn(14,3)),2&x){const Ne=i.MAs(1);i.xp6(2),i.Q6J("ngIf",pe.nzHeader),i.xp6(2),i.Q6J("nzSpinning",pe.nzLoading),i.xp6(2),i.Q6J("ngIf",pe.nzLoading&&pe.nzDataSource&&0===pe.nzDataSource.length),i.xp6(1),i.Q6J("ngIf",pe.nzGrid&&pe.nzDataSource)("ngIfElse",Ne),i.xp6(1),i.Q6J("ngIf",!pe.nzLoading&&pe.nzDataSource&&0===pe.nzDataSource.length),i.xp6(1),i.Q6J("ngIf",pe.nzFooter),i.xp6(2),i.Q6J("ngTemplateOutlet",pe.nzLoadMore),i.xp6(2),i.Q6J("ngIf",pe.nzPagination)}},directives:[ke,H.W,Be,Je,qe,n.sg,n.tP,n.O5,s.f,Z.SK,Z.t3],encapsulation:2,changeDetection:0}),(0,N.gn)([(0,_.yF)()],C.prototype,"nzBordered",void 0),(0,N.gn)([(0,_.yF)()],C.prototype,"nzLoading",void 0),(0,N.gn)([(0,_.yF)()],C.prototype,"nzSplit",void 0),C})(),ot=(()=>{class C{constructor(x,pe,Ne,Fe){this.parentComp=Ne,this.cdr=Fe,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1,pe.addClass(x.nativeElement,"ant-list-item")}get isVerticalAndExtra(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)}ngAfterViewInit(){this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe(x=>{this.itemLayout=x,this.cdr.detectChanges()})}ngOnDestroy(){this.itemLayout$&&this.itemLayout$.unsubscribe()}}return C.\u0275fac=function(x){return new(x||C)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Ze),i.Y36(i.sBO))},C.\u0275cmp=i.Xpm({type:C,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(x,pe,Ne){if(1&x&&i.Suo(Ne,Re,5),2&x){let Fe;i.iGM(Fe=i.CRH())&&(pe.listItemExtraDirective=Fe.first)}},hostVars:2,hostBindings:function(x,pe){2&x&&i.ekj("ant-list-item-no-flex",pe.nzNoFlex)},inputs:{nzActions:"nzActions",nzContent:"nzContent",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex"},exportAs:["nzListItem"],ngContentSelectors:Ce,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(x,pe){if(1&x&&(i.F$t(l),i.YNc(0,W,2,1,"ng-template",null,0,i.W1O),i.YNc(2,Ge,3,1,"ng-template",null,1,i.W1O),i.YNc(4,tt,1,0,"ng-template",null,2,i.W1O),i.YNc(6,He,4,4,"ng-template",null,3,i.W1O),i.YNc(8,v,6,4,"ng-container",4)),2&x){const Ne=i.MAs(7);i.xp6(8),i.Q6J("ngIf",pe.isVerticalAndExtra)("ngIfElse",Ne)}},directives:[$e,Re,n.O5,s.f,n.tP],encapsulation:2,changeDetection:0}),(0,N.gn)([(0,_.yF)()],C.prototype,"nzNoFlex",void 0),C})(),st=(()=>{class C{}return C.\u0275fac=function(x){return new(x||C)},C.\u0275mod=i.oAB({type:C}),C.\u0275inj=i.cJS({imports:[[le.vT,n.ez,H.j,Z.Jb,t.Rt,s.T,R.Xo]]}),C})()},4219:(Te,te,o)=>{o.d(te,{hl:()=>W,Cc:()=>U,wO:()=>Ye,YV:()=>pt,uA:()=>Ue,r9:()=>be,ip:()=>v});var i=o(655),t=o(5e3),n=o(8929),s=o(591),N=o(6787),_=o(3426),c=o(4850),J=o(1709),u=o(2198),I=o(7604),O=o(7138),Y=o(5778),$=o(7625),ne=o(1059),R=o(7545),le=o(1721),H=o(325),Z=o(226),w=o(2845),A=o(6950),b=o(925),ae=o(4832),F=o(9808),E=o(647),h=o(969),M=o(8076);const P=["nz-submenu-title",""];function L(l,Ce){if(1&l&&t._UZ(0,"i",4),2&l){const z=t.oxw();t.Q6J("nzType",z.nzIcon)}}function B(l,Ce){if(1&l&&(t.ynx(0),t.TgZ(1,"span"),t._uU(2),t.qZA(),t.BQk()),2&l){const z=t.oxw();t.xp6(2),t.Oqu(z.nzTitle)}}function p(l,Ce){1&l&&t._UZ(0,"i",8)}function K(l,Ce){1&l&&t._UZ(0,"i",9)}function k(l,Ce){if(1&l&&(t.TgZ(0,"span",5),t.YNc(1,p,1,0,"i",6),t.YNc(2,K,1,0,"i",7),t.qZA()),2&l){const z=t.oxw();t.Q6J("ngSwitch",z.dir),t.xp6(1),t.Q6J("ngSwitchCase","rtl")}}function X(l,Ce){1&l&&t._UZ(0,"i",10)}const xe=["*"],se=["nz-submenu-inline-child",""];function ye(l,Ce){}const q=["nz-submenu-none-inline-child",""];function me(l,Ce){}const ie=["nz-submenu",""];function ze(l,Ce){1&l&&t.Hsn(0,0,["*ngIf","!nzTitle"])}function Oe(l,Ce){if(1&l&&t._UZ(0,"div",6),2&l){const z=t.oxw(),g=t.MAs(7);t.Q6J("mode",z.mode)("nzOpen",z.nzOpen)("@.disabled",null==z.noAnimation?null:z.noAnimation.nzNoAnimation)("nzNoAnimation",null==z.noAnimation?null:z.noAnimation.nzNoAnimation)("menuClass",z.nzMenuClassName)("templateOutlet",g)}}function V(l,Ce){if(1&l){const z=t.EpF();t.TgZ(0,"div",8),t.NdJ("subMenuMouseState",function(ve){return t.CHM(z),t.oxw(2).setMouseEnterState(ve)}),t.qZA()}if(2&l){const z=t.oxw(2),g=t.MAs(7);t.Q6J("theme",z.theme)("mode",z.mode)("nzOpen",z.nzOpen)("position",z.position)("nzDisabled",z.nzDisabled)("isMenuInsideDropDown",z.isMenuInsideDropDown)("templateOutlet",g)("menuClass",z.nzMenuClassName)("@.disabled",null==z.noAnimation?null:z.noAnimation.nzNoAnimation)("nzNoAnimation",null==z.noAnimation?null:z.noAnimation.nzNoAnimation)}}function fe(l,Ce){if(1&l){const z=t.EpF();t.YNc(0,V,1,10,"ng-template",7),t.NdJ("positionChange",function(ve){return t.CHM(z),t.oxw().onPositionChange(ve)})}if(2&l){const z=t.oxw(),g=t.MAs(1);t.Q6J("cdkConnectedOverlayPositions",z.overlayPositions)("cdkConnectedOverlayOrigin",g)("cdkConnectedOverlayWidth",z.triggerWidth)("cdkConnectedOverlayOpen",z.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function G(l,Ce){1&l&&t.Hsn(0,1)}const he=[[["","title",""]],"*"],ce=["[title]","*"],De=["titleElement"],Pe=["nz-menu-group",""];function re(l,Ce){if(1&l&&(t.ynx(0),t._uU(1),t.BQk()),2&l){const z=t.oxw();t.xp6(1),t.Oqu(z.nzTitle)}}function Ie(l,Ce){1&l&&t.Hsn(0,1,["*ngIf","!nzTitle"])}const ge=["*",[["","title",""]]],Ae=["*","[title]"],U=new t.OlP("NzIsInDropDownMenuToken"),_e=new t.OlP("NzMenuServiceLocalToken");let W=(()=>{class l{constructor(){this.descendantMenuItemClick$=new n.xQ,this.childMenuItemClick$=new n.xQ,this.theme$=new s.X("light"),this.mode$=new s.X("vertical"),this.inlineIndent$=new s.X(24),this.isChildSubMenuOpen$=new s.X(!1)}onDescendantMenuItemClick(z){this.descendantMenuItemClick$.next(z)}onChildMenuItemClick(z){this.childMenuItemClick$.next(z)}setMode(z){this.mode$.next(z)}setTheme(z){this.theme$.next(z)}setInlineIndent(z){this.inlineIndent$.next(z)}}return l.\u0275fac=function(z){return new(z||l)},l.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac}),l})(),Se=(()=>{class l{constructor(z,g,ve){this.nzHostSubmenuService=z,this.nzMenuService=g,this.isMenuInsideDropDown=ve,this.mode$=this.nzMenuService.mode$.pipe((0,c.U)($e=>"inline"===$e?"inline":"vertical"===$e||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new s.X(!1),this.isChildSubMenuOpen$=new s.X(!1),this.isMouseEnterTitleOrOverlay$=new n.xQ,this.childMenuItemClick$=new n.xQ,this.destroy$=new n.xQ,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const Ee=this.childMenuItemClick$.pipe((0,J.zg)(()=>this.mode$),(0,u.h)($e=>"inline"!==$e||this.isMenuInsideDropDown),(0,I.h)(!1)),Re=(0,N.T)(this.isMouseEnterTitleOrOverlay$,Ee);(0,_.aj)([this.isChildSubMenuOpen$,Re]).pipe((0,c.U)(([$e,Be])=>$e||Be),(0,O.e)(150),(0,Y.x)(),(0,$.R)(this.destroy$)).pipe((0,Y.x)()).subscribe($e=>{this.setOpenStateWithoutDebounce($e),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next($e):this.nzMenuService.isChildSubMenuOpen$.next($e)})}onChildMenuItemClick(z){this.childMenuItemClick$.next(z)}setOpenStateWithoutDebounce(z){this.isCurrentSubMenuOpen$.next(z)}setMouseEnterTitleOrOverlayState(z){this.isMouseEnterTitleOrOverlay$.next(z)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return l.\u0275fac=function(z){return new(z||l)(t.LFG(l,12),t.LFG(W),t.LFG(U))},l.\u0275prov=t.Yz7({token:l,factory:l.\u0275fac}),l})(),be=(()=>{class l{constructor(z,g,ve,Ee,Re,We,$e,Be){this.nzMenuService=z,this.cdr=g,this.nzSubmenuService=ve,this.isMenuInsideDropDown=Ee,this.directionality=Re,this.routerLink=We,this.routerLinkWithHref=$e,this.router=Be,this.destroy$=new n.xQ,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new n.xQ,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,Be&&this.router.events.pipe((0,$.R)(this.destroy$),(0,u.h)(ke=>ke instanceof H.m2)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(z){this.nzDisabled?(z.preventDefault(),z.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(z){this.nzSelected=z,this.selected$.next(z)}updateRouterActive(){!this.listOfRouterLink||!this.listOfRouterLinkWithHref||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const z=this.hasActiveLinks();this.nzSelected!==z&&(this.nzSelected=z,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const z=this.isLinkActive(this.router);return this.routerLink&&z(this.routerLink)||this.routerLinkWithHref&&z(this.routerLinkWithHref)||this.listOfRouterLink.some(z)||this.listOfRouterLinkWithHref.some(z)}isLinkActive(z){return g=>z.isActive(g.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}ngOnInit(){var z;(0,_.aj)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,$.R)(this.destroy$)).subscribe(([g,ve])=>{this.inlinePaddingLeft="inline"===g?this.level*ve:null}),this.dir=this.directionality.value,null===(z=this.directionality.change)||void 0===z||z.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.dir=g})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,$.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.listOfRouterLinkWithHref.changes.pipe((0,$.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(z){z.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(W),t.Y36(t.sBO),t.Y36(Se,8),t.Y36(U),t.Y36(Z.Is,8),t.Y36(H.rH,8),t.Y36(H.yS,8),t.Y36(H.F0,8))},l.\u0275dir=t.lG2({type:l,selectors:[["","nz-menu-item",""]],contentQueries:function(z,g,ve){if(1&z&&(t.Suo(ve,H.rH,5),t.Suo(ve,H.yS,5)),2&z){let Ee;t.iGM(Ee=t.CRH())&&(g.listOfRouterLink=Ee),t.iGM(Ee=t.CRH())&&(g.listOfRouterLinkWithHref=Ee)}},hostVars:20,hostBindings:function(z,g){1&z&&t.NdJ("click",function(Ee){return g.clickMenuItem(Ee)}),2&z&&(t.Udp("padding-left","rtl"===g.dir?null:g.nzPaddingLeft||g.inlinePaddingLeft,"px")("padding-right","rtl"===g.dir?g.nzPaddingLeft||g.inlinePaddingLeft:null,"px"),t.ekj("ant-dropdown-menu-item",g.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",g.isMenuInsideDropDown&&g.nzSelected)("ant-dropdown-menu-item-danger",g.isMenuInsideDropDown&&g.nzDanger)("ant-dropdown-menu-item-disabled",g.isMenuInsideDropDown&&g.nzDisabled)("ant-menu-item",!g.isMenuInsideDropDown)("ant-menu-item-selected",!g.isMenuInsideDropDown&&g.nzSelected)("ant-menu-item-danger",!g.isMenuInsideDropDown&&g.nzDanger)("ant-menu-item-disabled",!g.isMenuInsideDropDown&&g.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[t.TTD]}),(0,i.gn)([(0,le.yF)()],l.prototype,"nzDisabled",void 0),(0,i.gn)([(0,le.yF)()],l.prototype,"nzSelected",void 0),(0,i.gn)([(0,le.yF)()],l.prototype,"nzDanger",void 0),(0,i.gn)([(0,le.yF)()],l.prototype,"nzMatchRouterExact",void 0),(0,i.gn)([(0,le.yF)()],l.prototype,"nzMatchRouter",void 0),l})(),Ge=(()=>{class l{constructor(z,g){this.cdr=z,this.directionality=g,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new t.vpe,this.subMenuMouseState=new t.vpe,this.dir="ltr",this.destroy$=new n.xQ}ngOnInit(){var z;this.dir=this.directionality.value,null===(z=this.directionality.change)||void 0===z||z.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.dir=g,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(z){this.nzDisabled||this.subMenuMouseState.next(z)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(t.sBO),t.Y36(Z.Is,8))},l.\u0275cmp=t.Xpm({type:l,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(z,g){1&z&&t.NdJ("click",function(){return g.clickTitle()})("mouseenter",function(){return g.setMouseState(!0)})("mouseleave",function(){return g.setMouseState(!1)}),2&z&&(t.Udp("padding-left","rtl"===g.dir?null:g.paddingLeft,"px")("padding-right","rtl"===g.dir?g.paddingLeft:null,"px"),t.ekj("ant-dropdown-menu-submenu-title",g.isMenuInsideDropDown)("ant-menu-submenu-title",!g.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:P,ngContentSelectors:xe,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(z,g){if(1&z&&(t.F$t(),t.YNc(0,L,1,1,"i",0),t.YNc(1,B,3,1,"ng-container",1),t.Hsn(2),t.YNc(3,k,3,2,"span",2),t.YNc(4,X,1,0,"ng-template",null,3,t.W1O)),2&z){const ve=t.MAs(5);t.Q6J("ngIf",g.nzIcon),t.xp6(1),t.Q6J("nzStringTemplateOutlet",g.nzTitle),t.xp6(2),t.Q6J("ngIf",g.isMenuInsideDropDown)("ngIfElse",ve)}},directives:[F.O5,E.Ls,h.f,F.RF,F.n9,F.ED],encapsulation:2,changeDetection:0}),l})(),tt=(()=>{class l{constructor(z,g,ve){this.elementRef=z,this.renderer=g,this.directionality=ve,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new n.xQ}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){var z;this.calcMotionState(),this.dir=this.directionality.value,null===(z=this.directionality.change)||void 0===z||z.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.dir=g})}ngOnChanges(z){const{mode:g,nzOpen:ve,menuClass:Ee}=z;(g||ve)&&this.calcMotionState(),Ee&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(Re=>!!Re).forEach(Re=>{this.renderer.removeClass(this.elementRef.nativeElement,Re)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(Re=>!!Re).forEach(Re=>{this.renderer.addClass(this.elementRef.nativeElement,Re)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(Z.Is,8))},l.\u0275cmp=t.Xpm({type:l,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(z,g){2&z&&(t.d8E("@collapseMotion",g.expandState),t.ekj("ant-menu-rtl","rtl"===g.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[t.TTD],attrs:se,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(z,g){1&z&&t.YNc(0,ye,0,0,"ng-template",0),2&z&&t.Q6J("ngTemplateOutlet",g.templateOutlet)},directives:[F.tP],encapsulation:2,data:{animation:[M.J_]},changeDetection:0}),l})(),nt=(()=>{class l{constructor(z){this.directionality=z,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new t.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new n.xQ}setMouseState(z){this.nzDisabled||this.subMenuMouseState.next(z)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){var z;this.calcMotionState(),this.dir=this.directionality.value,null===(z=this.directionality.change)||void 0===z||z.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.dir=g})}ngOnChanges(z){const{mode:g,nzOpen:ve}=z;(g||ve)&&this.calcMotionState()}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(Z.Is,8))},l.\u0275cmp=t.Xpm({type:l,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(z,g){1&z&&t.NdJ("mouseenter",function(){return g.setMouseState(!0)})("mouseleave",function(){return g.setMouseState(!1)}),2&z&&(t.d8E("@slideMotion",g.expandState)("@zoomBigMotion",g.expandState),t.ekj("ant-menu-light","light"===g.theme)("ant-menu-dark","dark"===g.theme)("ant-menu-submenu-placement-bottom","horizontal"===g.mode)("ant-menu-submenu-placement-right","vertical"===g.mode&&"right"===g.position)("ant-menu-submenu-placement-left","vertical"===g.mode&&"left"===g.position)("ant-menu-submenu-rtl","rtl"===g.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[t.TTD],attrs:q,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(z,g){1&z&&(t.TgZ(0,"div",0),t.YNc(1,me,0,0,"ng-template",1),t.qZA()),2&z&&(t.ekj("ant-dropdown-menu",g.isMenuInsideDropDown)("ant-menu",!g.isMenuInsideDropDown)("ant-dropdown-menu-vertical",g.isMenuInsideDropDown)("ant-menu-vertical",!g.isMenuInsideDropDown)("ant-dropdown-menu-sub",g.isMenuInsideDropDown)("ant-menu-sub",!g.isMenuInsideDropDown)("ant-menu-rtl","rtl"===g.dir),t.Q6J("ngClass",g.menuClass),t.xp6(1),t.Q6J("ngTemplateOutlet",g.templateOutlet))},directives:[F.mk,F.tP],encapsulation:2,data:{animation:[M.$C,M.mF]},changeDetection:0}),l})();const Ke=[A.yW.rightTop,A.yW.right,A.yW.rightBottom,A.yW.leftTop,A.yW.left,A.yW.leftBottom],Ve=[A.yW.bottomLeft];let y=(()=>{class l{constructor(z,g,ve,Ee,Re,We,$e){this.nzMenuService=z,this.cdr=g,this.nzSubmenuService=ve,this.platform=Ee,this.isMenuInsideDropDown=Re,this.directionality=We,this.noAnimation=$e,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzOpenChange=new t.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new n.xQ,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=Ke,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(z){this.nzSubmenuService.setOpenStateWithoutDebounce(z)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(z){this.isActive=z,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(z)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(z){const g=(0,A.d_)(z);"rightTop"===g||"rightBottom"===g||"right"===g?this.position="right":("leftTop"===g||"leftBottom"===g||"left"===g)&&(this.position="left")}ngOnInit(){var z;this.nzMenuService.theme$.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.theme=g,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.mode=g,"horizontal"===g?this.overlayPositions=Ve:"vertical"===g&&(this.overlayPositions=Ke),this.cdr.markForCheck()}),(0,_.aj)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,$.R)(this.destroy$)).subscribe(([g,ve])=>{this.inlinePaddingLeft="inline"===g?this.level*ve:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.isActive=g,g!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=g,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,null===(z=this.directionality.change)||void 0===z||z.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.dir=g,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const z=this.listOfNzMenuItemDirective,g=z.changes,ve=(0,N.T)(g,...z.map(Ee=>Ee.selected$));g.pipe((0,ne.O)(z),(0,R.w)(()=>ve),(0,ne.O)(!0),(0,c.U)(()=>z.some(Ee=>Ee.nzSelected)),(0,$.R)(this.destroy$)).subscribe(Ee=>{this.isSelected=Ee,this.cdr.markForCheck()})}ngOnChanges(z){const{nzOpen:g}=z;g&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(W),t.Y36(t.sBO),t.Y36(Se),t.Y36(b.t4),t.Y36(U),t.Y36(Z.Is,8),t.Y36(ae.P,9))},l.\u0275cmp=t.Xpm({type:l,selectors:[["","nz-submenu",""]],contentQueries:function(z,g,ve){if(1&z&&(t.Suo(ve,l,5),t.Suo(ve,be,5)),2&z){let Ee;t.iGM(Ee=t.CRH())&&(g.listOfNzSubMenuComponent=Ee),t.iGM(Ee=t.CRH())&&(g.listOfNzMenuItemDirective=Ee)}},viewQuery:function(z,g){if(1&z&&t.Gf(w.xu,7,t.SBq),2&z){let ve;t.iGM(ve=t.CRH())&&(g.cdkOverlayOrigin=ve.first)}},hostVars:34,hostBindings:function(z,g){2&z&&t.ekj("ant-dropdown-menu-submenu",g.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",g.isMenuInsideDropDown&&g.nzDisabled)("ant-dropdown-menu-submenu-open",g.isMenuInsideDropDown&&g.nzOpen)("ant-dropdown-menu-submenu-selected",g.isMenuInsideDropDown&&g.isSelected)("ant-dropdown-menu-submenu-vertical",g.isMenuInsideDropDown&&"vertical"===g.mode)("ant-dropdown-menu-submenu-horizontal",g.isMenuInsideDropDown&&"horizontal"===g.mode)("ant-dropdown-menu-submenu-inline",g.isMenuInsideDropDown&&"inline"===g.mode)("ant-dropdown-menu-submenu-active",g.isMenuInsideDropDown&&g.isActive)("ant-menu-submenu",!g.isMenuInsideDropDown)("ant-menu-submenu-disabled",!g.isMenuInsideDropDown&&g.nzDisabled)("ant-menu-submenu-open",!g.isMenuInsideDropDown&&g.nzOpen)("ant-menu-submenu-selected",!g.isMenuInsideDropDown&&g.isSelected)("ant-menu-submenu-vertical",!g.isMenuInsideDropDown&&"vertical"===g.mode)("ant-menu-submenu-horizontal",!g.isMenuInsideDropDown&&"horizontal"===g.mode)("ant-menu-submenu-inline",!g.isMenuInsideDropDown&&"inline"===g.mode)("ant-menu-submenu-active",!g.isMenuInsideDropDown&&g.isActive)("ant-menu-submenu-rtl","rtl"===g.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[t._Bn([Se]),t.TTD],attrs:ie,ngContentSelectors:ce,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(z,g){if(1&z&&(t.F$t(he),t.TgZ(0,"div",0,1),t.NdJ("subMenuMouseState",function(Ee){return g.setMouseEnterState(Ee)})("toggleSubMenu",function(){return g.toggleSubMenu()}),t.YNc(2,ze,1,0,"ng-content",2),t.qZA(),t.YNc(3,Oe,1,6,"div",3),t.YNc(4,fe,1,5,"ng-template",null,4,t.W1O),t.YNc(6,G,1,0,"ng-template",null,5,t.W1O)),2&z){const ve=t.MAs(5);t.Q6J("nzIcon",g.nzIcon)("nzTitle",g.nzTitle)("mode",g.mode)("nzDisabled",g.nzDisabled)("isMenuInsideDropDown",g.isMenuInsideDropDown)("paddingLeft",g.nzPaddingLeft||g.inlinePaddingLeft),t.xp6(2),t.Q6J("ngIf",!g.nzTitle),t.xp6(1),t.Q6J("ngIf","inline"===g.mode)("ngIfElse",ve)}},directives:[Ge,tt,nt,w.xu,F.O5,ae.P,w.pI],encapsulation:2,changeDetection:0}),(0,i.gn)([(0,le.yF)()],l.prototype,"nzOpen",void 0),(0,i.gn)([(0,le.yF)()],l.prototype,"nzDisabled",void 0),l})();function He(l,Ce){return l||Ce}function Xe(l){return l||!1}let Ye=(()=>{class l{constructor(z,g,ve,Ee){this.nzMenuService=z,this.isMenuInsideDropDown=g,this.cdr=ve,this.directionality=Ee,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new t.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new s.X(this.nzInlineCollapsed),this.mode$=new s.X(this.nzMode),this.destroy$=new n.xQ,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(z){this.nzInlineCollapsed=z,this.inlineCollapsed$.next(z)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(z=>z.nzOpen),this.listOfNzSubMenuComponent.forEach(z=>z.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(z=>z.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){var z;(0,_.aj)([this.inlineCollapsed$,this.mode$]).pipe((0,$.R)(this.destroy$)).subscribe(([g,ve])=>{this.actualMode=g?"vertical":ve,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.nzClick.emit(g),this.nzSelectable&&!g.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(ve=>ve.setSelectedState(ve===g))}),this.dir=this.directionality.value,null===(z=this.directionality.change)||void 0===z||z.pipe((0,$.R)(this.destroy$)).subscribe(g=>{this.dir=g,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,$.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(z){const{nzInlineCollapsed:g,nzInlineIndent:ve,nzTheme:Ee,nzMode:Re}=z;g&&this.inlineCollapsed$.next(this.nzInlineCollapsed),ve&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),Ee&&this.nzMenuService.setTheme(this.nzTheme),Re&&(this.mode$.next(this.nzMode),!z.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(We=>We.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(W),t.Y36(U),t.Y36(t.sBO),t.Y36(Z.Is,8))},l.\u0275dir=t.lG2({type:l,selectors:[["","nz-menu",""]],contentQueries:function(z,g,ve){if(1&z&&(t.Suo(ve,be,5),t.Suo(ve,y,5)),2&z){let Ee;t.iGM(Ee=t.CRH())&&(g.listOfNzMenuItemDirective=Ee),t.iGM(Ee=t.CRH())&&(g.listOfNzSubMenuComponent=Ee)}},hostVars:34,hostBindings:function(z,g){2&z&&t.ekj("ant-dropdown-menu",g.isMenuInsideDropDown)("ant-dropdown-menu-root",g.isMenuInsideDropDown)("ant-dropdown-menu-light",g.isMenuInsideDropDown&&"light"===g.nzTheme)("ant-dropdown-menu-dark",g.isMenuInsideDropDown&&"dark"===g.nzTheme)("ant-dropdown-menu-vertical",g.isMenuInsideDropDown&&"vertical"===g.actualMode)("ant-dropdown-menu-horizontal",g.isMenuInsideDropDown&&"horizontal"===g.actualMode)("ant-dropdown-menu-inline",g.isMenuInsideDropDown&&"inline"===g.actualMode)("ant-dropdown-menu-inline-collapsed",g.isMenuInsideDropDown&&g.nzInlineCollapsed)("ant-menu",!g.isMenuInsideDropDown)("ant-menu-root",!g.isMenuInsideDropDown)("ant-menu-light",!g.isMenuInsideDropDown&&"light"===g.nzTheme)("ant-menu-dark",!g.isMenuInsideDropDown&&"dark"===g.nzTheme)("ant-menu-vertical",!g.isMenuInsideDropDown&&"vertical"===g.actualMode)("ant-menu-horizontal",!g.isMenuInsideDropDown&&"horizontal"===g.actualMode)("ant-menu-inline",!g.isMenuInsideDropDown&&"inline"===g.actualMode)("ant-menu-inline-collapsed",!g.isMenuInsideDropDown&&g.nzInlineCollapsed)("ant-menu-rtl","rtl"===g.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[t._Bn([{provide:_e,useClass:W},{provide:W,useFactory:He,deps:[[new t.tp0,new t.FiY,W],_e]},{provide:U,useFactory:Xe,deps:[[new t.tp0,new t.FiY,U]]}]),t.TTD]}),(0,i.gn)([(0,le.yF)()],l.prototype,"nzInlineCollapsed",void 0),(0,i.gn)([(0,le.yF)()],l.prototype,"nzSelectable",void 0),l})();function lt(l){return l||!1}let Ue=(()=>{class l{constructor(z,g,ve){this.elementRef=z,this.renderer=g,this.isMenuInsideDropDown=ve,this.renderer.addClass(z.nativeElement,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group":"ant-menu-item-group")}ngAfterViewInit(){const z=this.titleElement.nativeElement.nextElementSibling;z&&this.renderer.addClass(z,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(U))},l.\u0275cmp=t.Xpm({type:l,selectors:[["","nz-menu-group",""]],viewQuery:function(z,g){if(1&z&&t.Gf(De,5),2&z){let ve;t.iGM(ve=t.CRH())&&(g.titleElement=ve.first)}},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[t._Bn([{provide:U,useFactory:lt,deps:[[new t.tp0,new t.FiY,U]]}])],attrs:Pe,ngContentSelectors:Ae,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"],[4,"ngIf"]],template:function(z,g){1&z&&(t.F$t(ge),t.TgZ(0,"div",null,0),t.YNc(2,re,2,1,"ng-container",1),t.YNc(3,Ie,1,0,"ng-content",2),t.qZA(),t.Hsn(4)),2&z&&(t.ekj("ant-menu-item-group-title",!g.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",g.isMenuInsideDropDown),t.xp6(2),t.Q6J("nzStringTemplateOutlet",g.nzTitle),t.xp6(1),t.Q6J("ngIf",!g.nzTitle))},directives:[h.f,F.O5],encapsulation:2,changeDetection:0}),l})(),pt=(()=>{class l{constructor(z,g){this.elementRef=z,this.renderer=g,this.renderer.addClass(z.nativeElement,"ant-dropdown-menu-item-divider")}}return l.\u0275fac=function(z){return new(z||l)(t.Y36(t.SBq),t.Y36(t.Qsj))},l.\u0275dir=t.lG2({type:l,selectors:[["","nz-menu-divider",""]],exportAs:["nzMenuDivider"]}),l})(),v=(()=>{class l{}return l.\u0275fac=function(z){return new(z||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({imports:[[Z.vT,F.ez,b.ud,w.U8,E.PV,ae.g,h.T]]}),l})()},3610:(Te,te,o)=>{o.d(te,{lU:()=>Z,$6:()=>A});var i=o(655),t=o(5e3),n=o(8076),s=o(9439),N=o(1721),_=o(404),c=o(4832),J=o(226),u=o(2845),I=o(6950),O=o(9808),Y=o(969);function $(b,ae){if(1&b&&(t.ynx(0),t._uU(1),t.BQk()),2&b){const F=t.oxw(3);t.xp6(1),t.Oqu(F.nzTitle)}}function ne(b,ae){if(1&b&&(t.TgZ(0,"div",10),t.YNc(1,$,2,1,"ng-container",9),t.qZA()),2&b){const F=t.oxw(2);t.xp6(1),t.Q6J("nzStringTemplateOutlet",F.nzTitle)}}function R(b,ae){if(1&b&&(t.ynx(0),t._uU(1),t.BQk()),2&b){const F=t.oxw(2);t.xp6(1),t.Oqu(F.nzContent)}}function le(b,ae){if(1&b&&(t.TgZ(0,"div",2),t.TgZ(1,"div",3),t.TgZ(2,"div",4),t._UZ(3,"span",5),t.qZA(),t.TgZ(4,"div",6),t.TgZ(5,"div"),t.YNc(6,ne,2,1,"div",7),t.TgZ(7,"div",8),t.YNc(8,R,2,1,"ng-container",9),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&b){const F=t.oxw();t.ekj("ant-popover-rtl","rtl"===F.dir),t.Q6J("ngClass",F._classMap)("ngStyle",F.nzOverlayStyle)("@.disabled",null==F.noAnimation?null:F.noAnimation.nzNoAnimation)("nzNoAnimation",null==F.noAnimation?null:F.noAnimation.nzNoAnimation)("@zoomBigMotion","active"),t.xp6(6),t.Q6J("ngIf",F.nzTitle),t.xp6(2),t.Q6J("nzStringTemplateOutlet",F.nzContent)}}let Z=(()=>{class b extends _.Mg{constructor(F,E,h,M,P,L){super(F,E,h,M,P,L),this._nzModuleName="popover",this.trigger="hover",this.placement="top",this.nzPopoverBackdrop=!1,this.visibleChange=new t.vpe,this.componentRef=this.hostView.createComponent(w)}getProxyPropertyMap(){return Object.assign({nzPopoverBackdrop:["nzBackdrop",()=>this.nzPopoverBackdrop]},super.getProxyPropertyMap())}}return b.\u0275fac=function(F){return new(F||b)(t.Y36(t.SBq),t.Y36(t.s_b),t.Y36(t._Vd),t.Y36(t.Qsj),t.Y36(c.P,9),t.Y36(s.jY))},b.\u0275dir=t.lG2({type:b,selectors:[["","nz-popover",""]],hostVars:2,hostBindings:function(F,E){2&F&&t.ekj("ant-popover-open",E.visible)},inputs:{arrowPointAtCenter:["nzPopoverArrowPointAtCenter","arrowPointAtCenter"],title:["nzPopoverTitle","title"],content:["nzPopoverContent","content"],directiveTitle:["nz-popover","directiveTitle"],trigger:["nzPopoverTrigger","trigger"],placement:["nzPopoverPlacement","placement"],origin:["nzPopoverOrigin","origin"],visible:["nzPopoverVisible","visible"],mouseEnterDelay:["nzPopoverMouseEnterDelay","mouseEnterDelay"],mouseLeaveDelay:["nzPopoverMouseLeaveDelay","mouseLeaveDelay"],overlayClassName:["nzPopoverOverlayClassName","overlayClassName"],overlayStyle:["nzPopoverOverlayStyle","overlayStyle"],nzPopoverBackdrop:"nzPopoverBackdrop"},outputs:{visibleChange:"nzPopoverVisibleChange"},exportAs:["nzPopover"],features:[t.qOj]}),(0,i.gn)([(0,N.yF)()],b.prototype,"arrowPointAtCenter",void 0),(0,i.gn)([(0,s.oS)()],b.prototype,"nzPopoverBackdrop",void 0),b})(),w=(()=>{class b extends _.XK{constructor(F,E,h){super(F,E,h),this._prefix="ant-popover"}get hasBackdrop(){return"click"===this.nzTrigger&&this.nzBackdrop}isEmpty(){return(0,_.pu)(this.nzTitle)&&(0,_.pu)(this.nzContent)}}return b.\u0275fac=function(F){return new(F||b)(t.Y36(t.sBO),t.Y36(J.Is,8),t.Y36(c.P,9))},b.\u0275cmp=t.Xpm({type:b,selectors:[["nz-popover"]],exportAs:["nzPopoverComponent"],features:[t.qOj],decls:2,vars:6,consts:[["cdkConnectedOverlay","","nzConnectedOverlay","",3,"cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayOrigin","cdkConnectedOverlayPositions","cdkConnectedOverlayOpen","cdkConnectedOverlayPush","nzArrowPointAtCenter","overlayOutsideClick","detach","positionChange"],["overlay","cdkConnectedOverlay"],[1,"ant-popover",3,"ngClass","ngStyle","nzNoAnimation"],[1,"ant-popover-content"],[1,"ant-popover-arrow"],[1,"ant-popover-arrow-content"],["role","tooltip",1,"ant-popover-inner"],["class","ant-popover-title",4,"ngIf"],[1,"ant-popover-inner-content"],[4,"nzStringTemplateOutlet"],[1,"ant-popover-title"]],template:function(F,E){1&F&&(t.YNc(0,le,9,9,"ng-template",0,1,t.W1O),t.NdJ("overlayOutsideClick",function(M){return E.onClickOutside(M)})("detach",function(){return E.hide()})("positionChange",function(M){return E.onPositionChange(M)})),2&F&&t.Q6J("cdkConnectedOverlayHasBackdrop",E.hasBackdrop)("cdkConnectedOverlayOrigin",E.origin)("cdkConnectedOverlayPositions",E._positions)("cdkConnectedOverlayOpen",E._visible)("cdkConnectedOverlayPush",!0)("nzArrowPointAtCenter",E.nzArrowPointAtCenter)},directives:[u.pI,I.hQ,O.mk,O.PC,c.P,O.O5,Y.f],encapsulation:2,data:{animation:[n.$C]},changeDetection:0}),b})(),A=(()=>{class b{}return b.\u0275fac=function(F){return new(F||b)},b.\u0275mod=t.oAB({type:b}),b.\u0275inj=t.cJS({imports:[[J.vT,O.ez,u.U8,Y.T,I.e4,c.g,_.cg]]}),b})()},8144:(Te,te,o)=>{o.d(te,{NU:()=>H,$1:()=>ne,zf:()=>Z});var i=o(226),t=o(9808),n=o(5e3),s=o(655),N=o(8929),_=o(7625),c=o(9439),J=o(1721);function u(w,A){}const I=function(w){return{$implicit:w}};function O(w,A){if(1&w&&(n.TgZ(0,"span",4),n.YNc(1,u,0,0,"ng-template",5),n.qZA()),2&w){const b=n.oxw(),ae=b.last,F=b.index,E=n.oxw();n.Udp("margin-bottom","vertical"===E.nzDirection?ae?null:E.spaceSize:null,"px")("margin-right","horizontal"===E.nzDirection?ae?null:E.spaceSize:null,"px"),n.xp6(1),n.Q6J("ngTemplateOutlet",E.nzSplit)("ngTemplateOutletContext",n.VKq(6,I,F))}}function Y(w,A){if(1&w&&(n.TgZ(0,"div",1),n.GkF(1,2),n.qZA(),n.YNc(2,O,2,8,"span",3)),2&w){const b=A.$implicit,ae=A.last,F=n.oxw();n.Udp("margin-bottom","vertical"===F.nzDirection?ae?null:F.spaceSize:null,"px")("margin-right","horizontal"===F.nzDirection?ae?null:F.spaceSize:null,"px"),n.xp6(1),n.Q6J("ngTemplateOutlet",b),n.xp6(1),n.Q6J("ngIf",F.nzSplit&&!ae)}}const $=["*"];let ne=(()=>{class w{constructor(){}}return w.\u0275fac=function(b){return new(b||w)},w.\u0275dir=n.lG2({type:w,selectors:[["","nzSpaceItem",""]]}),w})();const le={small:8,middle:16,large:24};let H=(()=>{class w{constructor(b,ae){this.nzConfigService=b,this.cdr=ae,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=le.small,this.destroy$=new N.xQ}updateSpaceItems(){this.spaceSize=("string"==typeof this.nzSize?le[this.nzSize]:this.nzSize)/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe((0,_.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}}return w.\u0275fac=function(b){return new(b||w)(n.Y36(c.jY),n.Y36(n.sBO))},w.\u0275cmp=n.Xpm({type:w,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(b,ae,F){if(1&b&&n.Suo(F,ne,4,n.Rgc),2&b){let E;n.iGM(E=n.CRH())&&(ae.items=E)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(b,ae){2&b&&(n.Udp("flex-wrap",ae.nzWrap?"wrap":null),n.ekj("ant-space-horizontal","horizontal"===ae.nzDirection)("ant-space-vertical","vertical"===ae.nzDirection)("ant-space-align-start","start"===ae.mergedAlign)("ant-space-align-end","end"===ae.mergedAlign)("ant-space-align-center","center"===ae.mergedAlign)("ant-space-align-baseline","baseline"===ae.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize"},exportAs:["NzSpace"],features:[n.TTD],ngContentSelectors:$,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],[1,"ant-space-item"],[3,"ngTemplateOutlet"],["class","ant-space-split",3,"margin-bottom","margin-right",4,"ngIf"],[1,"ant-space-split"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(b,ae){1&b&&(n.F$t(),n.Hsn(0),n.YNc(1,Y,3,6,"ng-template",0)),2&b&&(n.xp6(1),n.Q6J("ngForOf",ae.items))},directives:[t.sg,t.tP,t.O5],encapsulation:2,changeDetection:0}),(0,s.gn)([(0,J.yF)()],w.prototype,"nzWrap",void 0),(0,s.gn)([(0,c.oS)()],w.prototype,"nzSize",void 0),w})(),Z=(()=>{class w{}return w.\u0275fac=function(b){return new(b||w)},w.\u0275mod=n.oAB({type:w}),w.\u0275inj=n.cJS({imports:[[i.vT,t.ez]]}),w})()},7525:(Te,te,o)=>{o.d(te,{W:()=>P,j:()=>L});var i=o(655),t=o(5e3),n=o(8929),s=o(591),N=o(839),_=o(8723),c=o(1177);class u{constructor(p){this.durationSelector=p}call(p,K){return K.subscribe(new I(p,this.durationSelector))}}class I extends c.Ds{constructor(p,K){super(p),this.durationSelector=K,this.hasValue=!1}_next(p){try{const K=this.durationSelector.call(this,p);K&&this._tryNext(p,K)}catch(K){this.destination.error(K)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(p,K){let k=this.durationSubscription;this.value=p,this.hasValue=!0,k&&(k.unsubscribe(),this.remove(k)),k=(0,c.ft)(K,new c.IY(this)),k&&!k.closed&&this.add(this.durationSubscription=k)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const p=this.value,K=this.durationSubscription;K&&(this.durationSubscription=void 0,K.unsubscribe(),this.remove(K)),this.value=void 0,this.hasValue=!1,super._next(p)}}}var O=o(1059),Y=o(5778),$=o(7545),ne=o(7625),R=o(9439),le=o(1721),H=o(226),Z=o(9808),w=o(7144);function A(B,p){1&B&&(t.TgZ(0,"span",3),t._UZ(1,"i",4),t._UZ(2,"i",4),t._UZ(3,"i",4),t._UZ(4,"i",4),t.qZA())}function b(B,p){}function ae(B,p){if(1&B&&(t.TgZ(0,"div",8),t._uU(1),t.qZA()),2&B){const K=t.oxw(2);t.xp6(1),t.Oqu(K.nzTip)}}function F(B,p){if(1&B&&(t.TgZ(0,"div"),t.TgZ(1,"div",5),t.YNc(2,b,0,0,"ng-template",6),t.YNc(3,ae,2,1,"div",7),t.qZA(),t.qZA()),2&B){const K=t.oxw(),k=t.MAs(1);t.xp6(1),t.ekj("ant-spin-rtl","rtl"===K.dir)("ant-spin-spinning",K.isLoading)("ant-spin-lg","large"===K.nzSize)("ant-spin-sm","small"===K.nzSize)("ant-spin-show-text",K.nzTip),t.xp6(1),t.Q6J("ngTemplateOutlet",K.nzIndicator||k),t.xp6(1),t.Q6J("ngIf",K.nzTip)}}function E(B,p){if(1&B&&(t.TgZ(0,"div",9),t.Hsn(1),t.qZA()),2&B){const K=t.oxw();t.ekj("ant-spin-blur",K.isLoading)}}const h=["*"],M="spin";let P=(()=>{class B{constructor(K,k,X){this.nzConfigService=K,this.cdr=k,this.directionality=X,this._nzModuleName=M,this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new n.xQ,this.spinning$=new s.X(this.nzSpinning),this.delay$=new N.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){var K;this.delay$.pipe((0,O.O)(this.nzDelay),(0,Y.x)(),(0,$.w)(X=>0===X?this.spinning$:this.spinning$.pipe(function J(B){return p=>p.lift(new u(B))}(xe=>(0,_.H)(xe?X:0)))),(0,ne.R)(this.destroy$)).subscribe(X=>{this.isLoading=X,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent(M).pipe((0,ne.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),null===(K=this.directionality.change)||void 0===K||K.pipe((0,ne.R)(this.destroy$)).subscribe(X=>{this.dir=X,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(K){const{nzSpinning:k,nzDelay:X}=K;k&&this.spinning$.next(this.nzSpinning),X&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return B.\u0275fac=function(K){return new(K||B)(t.Y36(R.jY),t.Y36(t.sBO),t.Y36(H.Is,8))},B.\u0275cmp=t.Xpm({type:B,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(K,k){2&K&&t.ekj("ant-spin-nested-loading",!k.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[t.TTD],ngContentSelectors:h,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(K,k){1&K&&(t.F$t(),t.YNc(0,A,5,0,"ng-template",null,0,t.W1O),t.YNc(2,F,4,12,"div",1),t.YNc(3,E,2,2,"div",2)),2&K&&(t.xp6(2),t.Q6J("ngIf",k.isLoading),t.xp6(1),t.Q6J("ngIf",!k.nzSimple))},directives:[Z.O5,Z.tP],encapsulation:2}),(0,i.gn)([(0,R.oS)()],B.prototype,"nzIndicator",void 0),(0,i.gn)([(0,le.Rn)()],B.prototype,"nzDelay",void 0),(0,i.gn)([(0,le.yF)()],B.prototype,"nzSimple",void 0),(0,i.gn)([(0,le.yF)()],B.prototype,"nzSpinning",void 0),B})(),L=(()=>{class B{}return B.\u0275fac=function(K){return new(K||B)},B.\u0275mod=t.oAB({type:B}),B.\u0275inj=t.cJS({imports:[[H.vT,Z.ez,w.Q8]]}),B})()},8481:(Te,te,o)=>{o.d(te,{j:()=>$,X:()=>ne});var i=o(655),t=o(5e3),n=o(8929),s=o(7625),N=o(8693),_=o(1721),c=o(226),J=o(9808),u=o(647),I=o(4182);function O(R,le){if(1&R){const H=t.EpF();t.TgZ(0,"i",1),t.NdJ("click",function(w){return t.CHM(H),t.oxw().closeTag(w)}),t.qZA()}}const Y=["*"];let $=(()=>{class R{constructor(H,Z,w,A){this.cdr=H,this.renderer=Z,this.elementRef=w,this.directionality=A,this.isPresetColor=!1,this.nzMode="default",this.nzChecked=!1,this.nzOnClose=new t.vpe,this.nzCheckedChange=new t.vpe,this.dir="ltr",this.destroy$=new n.xQ}updateCheckedStatus(){"checkable"===this.nzMode&&(this.nzChecked=!this.nzChecked,this.nzCheckedChange.emit(this.nzChecked))}closeTag(H){this.nzOnClose.emit(H),H.defaultPrevented||this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}clearPresetColor(){const H=this.elementRef.nativeElement,Z=new RegExp(`(ant-tag-(?:${[...N.uf,...N.Bh].join("|")}))`,"g"),w=H.classList.toString(),A=[];let b=Z.exec(w);for(;null!==b;)A.push(b[1]),b=Z.exec(w);H.classList.remove(...A)}setPresetColor(){const H=this.elementRef.nativeElement;this.clearPresetColor(),this.isPresetColor=!!this.nzColor&&((0,N.o2)(this.nzColor)||(0,N.M8)(this.nzColor)),this.isPresetColor&&H.classList.add(`ant-tag-${this.nzColor}`)}ngOnInit(){var H;null===(H=this.directionality.change)||void 0===H||H.pipe((0,s.R)(this.destroy$)).subscribe(Z=>{this.dir=Z,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(H){const{nzColor:Z}=H;Z&&this.setPresetColor()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return R.\u0275fac=function(H){return new(H||R)(t.Y36(t.sBO),t.Y36(t.Qsj),t.Y36(t.SBq),t.Y36(c.Is,8))},R.\u0275cmp=t.Xpm({type:R,selectors:[["nz-tag"]],hostAttrs:[1,"ant-tag"],hostVars:10,hostBindings:function(H,Z){1&H&&t.NdJ("click",function(){return Z.updateCheckedStatus()}),2&H&&(t.Udp("background-color",Z.isPresetColor?"":Z.nzColor),t.ekj("ant-tag-has-color",Z.nzColor&&!Z.isPresetColor)("ant-tag-checkable","checkable"===Z.nzMode)("ant-tag-checkable-checked",Z.nzChecked)("ant-tag-rtl","rtl"===Z.dir))},inputs:{nzMode:"nzMode",nzColor:"nzColor",nzChecked:"nzChecked"},outputs:{nzOnClose:"nzOnClose",nzCheckedChange:"nzCheckedChange"},exportAs:["nzTag"],features:[t.TTD],ngContentSelectors:Y,decls:2,vars:1,consts:[["nz-icon","","nzType","close","class","ant-tag-close-icon","tabindex","-1",3,"click",4,"ngIf"],["nz-icon","","nzType","close","tabindex","-1",1,"ant-tag-close-icon",3,"click"]],template:function(H,Z){1&H&&(t.F$t(),t.Hsn(0),t.YNc(1,O,1,0,"i",0)),2&H&&(t.xp6(1),t.Q6J("ngIf","closeable"===Z.nzMode))},directives:[J.O5,u.Ls],encapsulation:2,changeDetection:0}),(0,i.gn)([(0,_.yF)()],R.prototype,"nzChecked",void 0),R})(),ne=(()=>{class R{}return R.\u0275fac=function(H){return new(H||R)},R.\u0275mod=t.oAB({type:R}),R.\u0275inj=t.cJS({imports:[[c.vT,J.ez,I.u5,u.PV]]}),R})()}}]);
\ No newline at end of file
diff --git a/server/public/4024.a4fa77c625077d76.js b/server/public/4024.a4fa77c625077d76.js
deleted file mode 100644
index 434f4c629..000000000
--- a/server/public/4024.a4fa77c625077d76.js
+++ /dev/null
@@ -1,3530 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4024],{1912:(De,re,r)=>{r.d(re,{s:()=>le});var o=r(5e3),i=r(6042),t=r(2643),D=r(2683),F=r(3640),w=r(2160),q=r(3762),O=r(647);let L=(()=>{class te{constructor(oe){this.cookies=oe,this.location=function Z(te){return encodeURIComponent(te).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}(window.location.href),this.xsrfToken=this.cookies.get("XSRF-TOKEN")}ngOnInit(){}}return te.\u0275fac=function(oe){return new(oe||te)(o.Y36(w.N))},te.\u0275cmp=o.Xpm({type:te,selectors:[["cvc-auth-options-list"]],decls:18,vars:6,consts:[["nzBordered","false","nzSplit","false"],["method","post",3,"action"],["type","hidden","name","authenticity_token",3,"value"],["type","submit","nz-button","","nzBlock","","nzType","default","nzSize","large","nzShape","round"],["nz-icon","","nzType","google"],["nz-icon","","nzType","github"]],template:function(oe,V){1&oe&&(o.TgZ(0,"nz-list",0),o.TgZ(1,"nz-list-item"),o.TgZ(2,"form",1),o._UZ(3,"input",2),o.TgZ(4,"button",3),o._UZ(5,"i",4),o._uU(6," Sign In with a Google Account "),o.qZA(),o.qZA(),o.qZA(),o.TgZ(7,"nz-list-item"),o.TgZ(8,"form",1),o._UZ(9,"input",2),o.TgZ(10,"button",3),o._uU(11," Sign In with an ORCID Account "),o.qZA(),o.qZA(),o.qZA(),o.TgZ(12,"nz-list-item"),o.TgZ(13,"form",1),o._UZ(14,"input",2),o.TgZ(15,"button",3),o._UZ(16,"i",5),o._uU(17," Sign In with a Github Account "),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&oe&&(o.xp6(2),o.MGl("action","/api/auth/google_oauth2?origin=",V.location,"",o.LSH),o.xp6(1),o.s9C("value",V.xsrfToken),o.xp6(5),o.MGl("action","/api/auth/orcid?origin=",V.location,"",o.LSH),o.xp6(1),o.s9C("value",V.xsrfToken),o.xp6(4),o.MGl("action","/api/auth/github?origin=",V.location,"",o.LSH),o.xp6(1),o.s9C("value",V.xsrfToken))},directives:[q.n_,q.AA,i.ix,t.dQ,D.w,O.Ls],styles:["[_nghost-%COMP%]{display:block}nz-list-item[_ngcontent-%COMP%] form[_ngcontent-%COMP%]{width:100%}"]}),te})();function Q(te,se){1&te&&(o.ynx(0),o.TgZ(1,"p",5),o._uU(2,"Click on one of the OAuth providers below to sign into CIViC. If you do not not have a CIViC account, one will be created for you based upon the account information your OAuth provider provides."),o.qZA(),o._UZ(3,"cvc-auth-options-list"),o.BQk())}function K(te,se){1&te&&o._uU(0," Sign In / Sign Up\n")}function Y(te,se){if(1&te){const oe=o.EpF();o.TgZ(0,"button",0),o.NdJ("click",function(){return o.CHM(oe),o.oxw().handleCancel()}),o._uU(1,"Cancel"),o.qZA()}}let le=(()=>{class te{constructor(){this.authVisible=!1}ngOnInit(){}showAuth(){this.authVisible=!0}handleCancel(){this.authVisible=!1}}return te.\u0275fac=function(oe){return new(oe||te)},te.\u0275cmp=o.Xpm({type:te,selectors:[["cvc-login-button"]],decls:9,vars:3,consts:[["nz-button","","nzType","primary","nzValue","small",3,"click"],[3,"nzVisible","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],[4,"nzModalContent"],["loginModalTitle",""],["loginModalFooter",""],["nzType","secondary"]],template:function(oe,V){if(1&oe&&(o.TgZ(0,"button",0),o.NdJ("click",function(){return V.showAuth()}),o.TgZ(1,"span"),o._uU(2,"Sign In / Sign Up"),o.qZA(),o.qZA(),o.TgZ(3,"nz-modal",1),o.NdJ("nzVisibleChange",function(I){return V.authVisible=I})("nzOnCancel",function(){return V.handleCancel()}),o.YNc(4,Q,4,0,"ng-container",2),o.qZA(),o.YNc(5,K,1,0,"ng-template",null,3,o.W1O),o.YNc(7,Y,2,0,"ng-template",null,4,o.W1O)),2&oe){const b=o.MAs(6),I=o.MAs(8);o.xp6(3),o.Q6J("nzVisible",V.authVisible)("nzTitle",b)("nzFooter",I)}},directives:[i.ix,t.dQ,D.w,F.du,F.Hf,L],styles:["[_nghost-%COMP%]{display:inline-block}"]}),te})()},1844:(De,re,r)=>{r.d(re,{B:()=>q});var o=r(9808),i=r(6042),t=r(3640),D=r(3762),F=r(647),Z=r(5e3);let w=(()=>{class O{}return O.\u0275fac=function(Q){return new(Q||O)},O.\u0275mod=Z.oAB({type:O}),O.\u0275inj=Z.cJS({imports:[[o.ez,F.PV,D.Ph,i.sL]]}),O})(),q=(()=>{class O{}return O.\u0275fac=function(Q){return new(Q||O)},O.\u0275mod=Z.oAB({type:O}),O.\u0275inj=Z.cJS({imports:[[o.ez,i.sL,t.Qp,w]]}),O})()},7881:(De,re,r)=>{r.d(re,{L:()=>Z});var o=r(5e3),i=r(9808),t=r(6699);function D(w,q){if(1&w&&o._UZ(0,"nz-avatar",2),2&w){const O=o.oxw();o.Q6J("nzSrc",O.user.profileImagePath)("nzShape",O.shape?O.shape:"circle")("nzSize",O.size)}}function F(w,q){if(1&w&&(o._UZ(0,"nz-avatar",3),o.ALo(1,"uppercase")),2&w){const O=o.oxw();o.Q6J("nzSize",O.size)("nzText",o.lcZ(1,2,O.user.displayName.charAt(0)))}}let Z=(()=>{class w{ngOnInit(){if(void 0===this.user)throw new Error("Must supply a user to use this component");void 0===this.size&&(this.size="default")}}return w.\u0275fac=function(O){return new(O||w)},w.\u0275cmp=o.Xpm({type:w,selectors:[["cvc-user-avatar"]],inputs:{user:"user",size:"size",shape:"shape"},decls:3,vars:2,consts:[["nz-comment-avatar","",3,"nzSrc","nzShape","nzSize",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc","nzShape","nzSize"],["nz-comment-avatar","",3,"nzSize","nzText"]],template:function(O,L){if(1&O&&(o.YNc(0,D,1,3,"nz-avatar",0),o.YNc(1,F,2,4,"ng-template",null,1,o.W1O)),2&O){const Q=o.MAs(2);o.Q6J("ngIf",L.user.profileImagePath)("ngIfElse",Q)}},directives:[i.O5,t.Dz],pipes:[i.gd],styles:["[_nghost-%COMP%]{display:inline-block}"]}),w})()},5473:(De,re,r)=>{r.d(re,{H:()=>D});var o=r(9808),i=r(6699),t=r(5e3);let D=(()=>{class F{}return F.\u0275fac=function(w){return new(w||F)},F.\u0275mod=t.oAB({type:F}),F.\u0275inj=t.cJS({imports:[[o.ez,i.Rt]]}),F})()},9350:(De,re,r)=>{r.d(re,{a:()=>O});var o=r(4850),i=r(5154),t=r(373),D=r(1059),F=r(712),Z=r(5e3),w=r(520);const q={mostRecentOrg:void 0,signedIn:!1,isAdmin:!1,isEditor:!1,isCurator:!1,canCurate:!1,canModerate:!1,invalidCoi:!0};let O=(()=>{class L{constructor(K,Y){function le(I){return!(!I||I.role!==F.i44.Admin)}function te(I){return!(!I||I.role!==F.i44.Editor&&I.role!==F.i44.Admin)}function se(I){return!(!I||I.role!==F.i44.Curator)}function oe(I){return!(!I||I.role!==F.i44.Curator&&I.role!==F.i44.Editor&&I.role!==F.i44.Admin)}function V(I){var R,ne;return!(!I||I.role!==F.i44.Editor&&I.role!==F.i44.Admin||!I.mostRecentConflictOfInterestStatement||(null===(R=I.mostRecentConflictOfInterestStatement)||void 0===R?void 0:R.coiStatus)!=F.Mgx.Conflict&&(null===(ne=I.mostRecentConflictOfInterestStatement)||void 0===ne?void 0:ne.coiStatus)!=F.Mgx.Valid)}function b(I){if(I.mostRecentOrganizationId)return I.organizations.find(R=>R.id===I.mostRecentOrganizationId)}this.viewerBaseGQL=K,this.http=Y,this.queryRef=this.viewerBaseGQL.watch(),this.data$=this.queryRef.valueChanges.pipe((0,o.U)(I=>({data:I.data,loading:I.loading,networkStatus:I.networkStatus})),(0,i.d)(1)),this.isLoading$=this.data$.pipe((0,t.j)("loading"),(0,D.O)(!0)),this.viewer$=this.data$.pipe((0,t.j)("data","viewer"),(0,o.U)(I=>Object.assign(Object.assign({},I),{signedIn:null!==I,signedOut:null===I,canCurate:oe(I),canModerate:V(I),isAdmin:le(I),isEditor:te(I),isCurator:se(I),organizations:null===I?[]:I.organizations,mostRecentOrg:null===I?void 0:b(I),invalidCoi:te(I)&&(!I.mostRecentConflictOfInterestStatement||I.mostRecentConflictOfInterestStatement.coiStatus===F.Mgx.Expired||I.mostRecentConflictOfInterestStatement.coiStatus===F.Mgx.Missing)})),(0,D.O)(q),(0,i.d)(1)),this.signedIn$=this.viewer$.pipe((0,o.U)(I=>I.signedIn)),this.signedOut$=this.viewer$.pipe((0,o.U)(I=>I.signedOut)),this.isAdmin$=this.viewer$.pipe((0,o.U)(I=>le(I))),this.isEditor$=this.viewer$.pipe((0,o.U)(I=>te(I))),this.isCurator$=this.viewer$.pipe((0,o.U)(I=>se(I))),this.canCurate$=this.viewer$.pipe((0,o.U)(I=>oe(I))),this.canModerate$=this.viewer$.pipe((0,o.U)(I=>V(I)))}signOut(){this.http.get("/api/sign_out").subscribe(K=>{this.refetch()})}refetch(){this.queryRef.refetch()}ngOnDestroy(){}}return L.\u0275fac=function(K){return new(K||L)(Z.LFG(F.Tt7),Z.LFG(w.eN))},L.\u0275prov=Z.Yz7({token:L,factory:L.\u0275fac,providedIn:"root"}),L})()},6123:(De,re,r)=>{r.d(re,{U:()=>F});var o=r(8929),i=r(591),t=r(7625),D=r(537);class F{constructor(w){this.networkErrorService=w}mutate(w,q,O,L){let Q=new o.xQ,K={isSubmitting$:new i.X(!1),submitSuccess$:new i.X(!1),submitError$:new i.X([]),cleanup:()=>{Q.next(),Q.complete()}};return K.isSubmitting$.next(!0),w.mutate(q,O).pipe((0,t.R)(Q),(0,D.x)(()=>{K.isSubmitting$.next(!1)})).subscribe({next:Y=>{Y.data&&L&&L(Y.data)},error:Y=>{Y.graphQLErrors.length>0?K.submitError$.next(Y.graphQLErrors.map(le=>le.message)):Y.networkError&&this.networkErrorService.networkError$.next(Y.networkError),K.cleanup()},complete:()=>{K.submitError$.next([]),K.submitSuccess$.next(!0),this.networkErrorService.networkError$.next(void 0),K.cleanup()}}),K}}},822:(De,re,r)=>{r.d(re,{V:()=>q});var o=r(5e3),i=r(9808),t=r(2359);function D(O,L){if(1&O&&o._UZ(0,"nz-alert",4),2&O){const Q=o.oxw();o.Q6J("nzDescription",Q.errors[0])}}function F(O,L){if(1&O&&o._UZ(0,"nz-alert",5),2&O){o.oxw();const Q=o.MAs(3);o.Q6J("nzDescription",Q)}}function Z(O,L){if(1&O&&(o.TgZ(0,"li"),o._uU(1),o.qZA()),2&O){const Q=L.$implicit;o.xp6(1),o.Oqu(Q)}}function w(O,L){if(1&O&&(o.TgZ(0,"ul",6),o.YNc(1,Z,2,1,"li",7),o.qZA()),2&O){const Q=o.oxw();o.xp6(1),o.Q6J("ngForOf",Q.errors)}}let q=(()=>{class O{constructor(){}ngOnInit(){}}return O.\u0275fac=function(Q){return new(Q||O)},O.\u0275cmp=o.Xpm({type:O,selectors:[["cvc-form-errors-alert"]],inputs:{errors:"errors"},decls:4,vars:2,consts:[["nzType","error","nzShowIcon","",3,"nzDescription",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Submit Errors Occured",3,"nzDescription",4,"ngIf"],["nzSize","small"],["errorList",""],["nzType","error","nzShowIcon","",3,"nzDescription"],["nzType","error","nzShowIcon","","nzMessage","Submit Errors Occured",3,"nzDescription"],[1,"error-list"],[4,"ngFor","ngForOf"]],template:function(Q,K){1&Q&&(o.YNc(0,D,1,1,"nz-alert",0),o.YNc(1,F,1,1,"nz-alert",1),o.YNc(2,w,2,1,"ng-template",2,3,o.W1O)),2&Q&&(o.Q6J("ngIf",1===K.errors.length),o.xp6(1),o.Q6J("ngIf",K.errors.length>1))},directives:[i.O5,t.r,i.sg],styles:["[_nghost-%COMP%]{display:block}.error-list[_ngcontent-%COMP%]{margin:0;padding:0 0 0 2em}"]}),O})()},7008:(De,re,r)=>{r.d(re,{B:()=>D});var o=r(9808),i=r(2359),t=r(5e3);let D=(()=>{class F{}return F.\u0275fac=function(w){return new(w||F)},F.\u0275mod=t.oAB({type:F}),F.\u0275inj=t.cJS({imports:[[o.ez,i.L]]}),F})()},8785:(De,re,r)=>{r.d(re,{t:()=>ne});var o=r(5e3),i=r(6123),t=r(8929),D=r(7625),F=r(712),Z=r(9169),w=r(7484),q=r(9808),O=r(2359),L=r(1894),Q=r(4546),K=r(822),Y=r(7525),le=r(3868),te=r(4182),se=r(6042),oe=r(2643),V=r(2683);function b(X,de){1&X&&o._UZ(0,"nz-alert",7)}function I(X,de){if(1&X&&(o.TgZ(0,"nz-form-item"),o._UZ(1,"cvc-form-errors-alert",8),o.qZA()),2&X){const fe=o.oxw();o.xp6(1),o.Q6J("errors",fe.errorMessages)}}function R(X,de){if(1&X){const fe=o.EpF();o.TgZ(0,"nz-form-item"),o.TgZ(1,"textarea",9),o.NdJ("ngModelChange",function(ue){return o.CHM(fe),o.oxw().coiText=ue}),o.qZA(),o.qZA()}if(2&X){const fe=o.oxw();o.xp6(1),o.Q6J("ngModel",fe.coiText)}}let ne=(()=>{class X{constructor(fe,pe){this.updateCoiGql=fe,this.coiUpdatedEvent=new o.vpe,this.coiText=void 0,this.coiStatus="noCoi",this.success=!1,this.errorMessages=[],this.loading=!1,this.destroy$=new t.xQ,this.updateCoiMutator=new i.U(pe)}updateCoi(){if("coiPresent"===this.coiStatus&&this.coiText||"noCoi"===this.coiStatus){this.errorMessages=[];let pe=this.updateCoiMutator.mutate(this.updateCoiGql,{input:{coiPresent:"coiPresent"===this.coiStatus,statement:this.coiText}});pe.submitSuccess$.pipe((0,D.R)(this.destroy$)).subscribe(ue=>{ue&&(this.resetForm(),this.success=!0,this.coiUpdatedEvent.emit())}),pe.submitError$.pipe((0,D.R)(this.destroy$)).subscribe(ue=>{ue&&(this.errorMessages=ue,this.success=!1)}),pe.isSubmitting$.pipe((0,D.R)(this.destroy$)).subscribe(ue=>{this.loading=ue})}}resetForm(){this.coiStatus="noCoi",this.coiText=void 0}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return X.\u0275fac=function(fe){return new(fe||X)(o.Y36(F.IP1),o.Y36(Z.Y))},X.\u0275cmp=o.Xpm({type:X,selectors:[["cvc-user-coi-form"]],outputs:{coiUpdatedEvent:"coiUpdatedEvent"},decls:14,vars:6,consts:[["nzBanner","","nzMessage","COI Statement Updated.","nzType","success","nzCloseable","",4,"ngIf"],[4,"ngIf"],["nzTip","Submitting",3,"nzSpinning"],[3,"ngModel","ngModelChange"],["nz-radio","","nzValue","noCoi"],["nz-radio","","nzValue","coiPresent"],["type","submit","nz-button","","nzType","primary","nzSize","small",3,"disabled","click"],["nzBanner","","nzMessage","COI Statement Updated.","nzType","success","nzCloseable",""],[3,"errors"],["nz-input","","rows","5","placeholder","Provide a concise description of any potential or actual conflicts of interest that you may have in curating CIViC",2,"width","100%",3,"ngModel","ngModelChange"]],template:function(fe,pe){1&fe&&(o.TgZ(0,"nz-card"),o.YNc(1,b,1,0,"nz-alert",0),o.YNc(2,I,2,1,"nz-form-item",1),o.TgZ(3,"nz-spin",2),o.TgZ(4,"nz-form-item"),o.TgZ(5,"nz-radio-group",3),o.NdJ("ngModelChange",function(J){return pe.coiStatus=J}),o.TgZ(6,"label",4),o._uU(7,"I do not have any potential conflicts of interest."),o.qZA(),o.TgZ(8,"label",5),o._uU(9,"I do have a potential conflict of interest."),o.qZA(),o.qZA(),o.qZA(),o.YNc(10,R,2,1,"nz-form-item",1),o.TgZ(11,"nz-form-item"),o.TgZ(12,"button",6),o.NdJ("click",function(){return pe.updateCoi()}),o._uU(13," Save Conflict of Interest Statement "),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&fe&&(o.xp6(1),o.Q6J("ngIf",pe.success),o.xp6(1),o.Q6J("ngIf",pe.errorMessages.length>0),o.xp6(1),o.Q6J("nzSpinning",pe.loading),o.xp6(2),o.Q6J("ngModel",pe.coiStatus),o.xp6(5),o.Q6J("ngIf","coiPresent"===pe.coiStatus),o.xp6(2),o.Q6J("disabled",pe.loading||"coiPresent"===pe.coiStatus&&(void 0===pe.coiText||pe.coiText.length<10)))},directives:[w.bd,q.O5,O.r,L.SK,Q.Nx,K.V,Y.W,le.Dg,te.JJ,te.On,le.Of,te.Fj,se.ix,oe.dQ,V.w],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-form-item[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"]}),X})()},330:(De,re,r)=>{r.d(re,{e:()=>K});var o=r(9808),i=r(4182),t=r(6949),D=r(7484),F=r(2359),Z=r(4546),w=r(7008),q=r(3868),O=r(7525),L=r(6042),Q=r(5e3);let K=(()=>{class Y{}return Y.\u0275fac=function(te){return new(te||Y)},Y.\u0275mod=Q.oAB({type:Y}),Y.\u0275inj=Q.cJS({imports:[[o.ez,i.u5,Z.U5,i.UX,t.WG,D.vh,F.L,q.aF,L.sL,O.j,w.B]]}),Y})()},712:(De,re,r)=>{r.d(re,{ti:()=>ji,$G1:()=>nr,iGM:()=>Jo,KNk:()=>sr,T97:()=>ur,RMv:()=>Ar,LUc:()=>br,iwm:()=>H,Vr2:()=>l,A94:()=>Cs,mdl:()=>k,Gbq:()=>ai,bgg:()=>Qo,u4i:()=>ie,ejK:()=>Ts,uBv:()=>ze,td:()=>li,Tq1:()=>Ii,q8c:()=>Pi,WRV:()=>go,IZ6:()=>zo,qf4:()=>Eo,Rdc:()=>Ro,gtM:()=>Er,fpJ:()=>Tr,k2T:()=>Cr,UWf:()=>po,cMj:()=>Ss,UIR:()=>di,E8d:()=>Te,P_b:()=>mi,Mgx:()=>Fe,iST:()=>fi,Kk:()=>vi,OfU:()=>ke,kQf:()=>io,l4w:()=>cs,JQ3:()=>Sr,db2:()=>Ys,h01:()=>Ye,wg3:()=>Es,k7O:()=>yi,kv3:()=>or,R8w:()=>Je,GB2:()=>As,Zyn:()=>He,dUU:()=>_i,kq9:()=>nt,vRc:()=>cr,Ud2:()=>Di,GYx:()=>er,AO2:()=>Qe,BTF:()=>Ni,wJ2:()=>je,eY8:()=>Li,_Aq:()=>ut,pHu:()=>Ms,tI1:()=>Xe,FId:()=>Qr,Q_P:()=>Gr,Sx0:()=>f,Ybm:()=>Oi,Cp0:()=>E,RTy:()=>C,sBY:()=>xs,kqt:()=>$,Zhw:()=>pr,B0s:()=>Yr,rzy:()=>Fi,BQZ:()=>ce,sfv:()=>he,TNk:()=>bs,rJ8:()=>$i,FOU:()=>Kr,Q4m:()=>gr,Fvz:()=>mt,cCu:()=>Rs,_jb:()=>lo,MYm:()=>ao,oRL:()=>gt,lfy:()=>hr,fow:()=>ft,X5f:()=>Ui,WOS:()=>Gs,Lr0:()=>Bs,Del:()=>Qs,xlL:()=>ht,io:()=>Vi,WGV:()=>Zs,OHm:()=>ki,lYz:()=>vt,FKQ:()=>zr,B97:()=>Wi,mII:()=>Ko,ghc:()=>wi,NQC:()=>zt,JDX:()=>yt,VZq:()=>Hi,EwB:()=>Jr,FJi:()=>Ct,L5n:()=>to,rZD:()=>It,SrV:()=>Tt,Bk6:()=>Js,TiL:()=>ho,yic:()=>_t,SJD:()=>Ht,F3s:()=>St,jw9:()=>Dt,g0X:()=>Ks,iXf:()=>Mn,NbY:()=>Mr,kQl:()=>Et,LLl:()=>Yo,WFw:()=>Zr,tji:()=>gs,o71:()=>qe,jMx:()=>sa,A4J:()=>ro,c$m:()=>Zo,Vj7:()=>Br,D9L:()=>Xr,SWk:()=>es,aw3:()=>us,Xft:()=>zs,mpB:()=>Gt,m$d:()=>oa,IP1:()=>os,LiH:()=>na,wRZ:()=>ns,wbP:()=>ss,sLD:()=>Xs,yqR:()=>ea,cEv:()=>Co,i44:()=>Nt,vMt:()=>Xo,tJ6:()=>To,IRu:()=>At,Qzn:()=>qi,iJT:()=>ga,qP7:()=>Ot,Qtd:()=>ca,Zo2:()=>So,ROj:()=>ps,FB1:()=>Mt,q1D:()=>ua,d4o:()=>Lt,huM:()=>xt,ZYZ:()=>xo,nnL:()=>hs,Bo4:()=>ha,ubO:()=>pa,tw_:()=>Ao,wpb:()=>Ft,BnY:()=>Rr,_eC:()=>xr,fwG:()=>Mo,zwS:()=>bo,pP7:()=>bt,Tt7:()=>Go,Kmw:()=>Bo});var o=r(655);function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n})(e)}var D=r(9245);function F(e,s){for(var y,n=/\r\n|[\n\r]/g,d=1,z=s+1;(y=n.exec(e.body))&&y.index120){for(var $t=Math.floor(x/80),wt=x%80,We=[],we=0;we",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"}),G=r(6261),A=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"}),U=r(2032),ye=function(){function e(n){var d=new W.WU(g.SOF,0,0,0,0,null);this.source=n,this.lastToken=d,this.token=d,this.line=1,this.lineStart=0}var s=e.prototype;return s.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},s.lookahead=function(){var d=this.token;if(d.kind!==g.EOF)do{var z;d=null!==(z=d.next)&&void 0!==z?z:d.next=Ee(this,d)}while(d.kind===g.COMMENT);return d},e}();function Se(e){return isNaN(e)?g.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function Ee(e,s){for(var n=e.source,d=n.body,z=d.length,y=s.end;y31||9===T));return new W.WU(g.COMMENT,s,S,n,d,z,y.slice(s+1,S))}function Ve(e,s,n,d,z,y){var T=e.body,S=n,x=s,me=!1;if(45===S&&(S=T.charCodeAt(++x)),48===S){if((S=T.charCodeAt(++x))>=48&&S<=57)throw ue(e,x,"Invalid number, unexpected digit after 0: ".concat(Se(S),"."))}else x=Pe(e,x,S),S=T.charCodeAt(x);if(46===S&&(me=!0,S=T.charCodeAt(++x),x=Pe(e,x,S),S=T.charCodeAt(x)),(69===S||101===S)&&(me=!0,(43===(S=T.charCodeAt(++x))||45===S)&&(S=T.charCodeAt(++x)),x=Pe(e,x,S),S=T.charCodeAt(x)),46===S||function ge(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(S))throw ue(e,x,"Invalid number, expected digit but got: ".concat(Se(S),"."));return new W.WU(me?g.FLOAT:g.INT,s,x,d,z,y,T.slice(s,x))}function Pe(e,s,n){var d=e.body,z=s,y=n;if(y>=48&&y<=57){do{y=d.charCodeAt(++z)}while(y>=48&&y<=57);return z}throw ue(e,z,"Invalid number, expected digit but got: ".concat(Se(y),"."))}function N(e,s,n,d,z){for(var y=e.body,T=s+1,S=T,x=0,me="";T=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function B(e,s,n,d,z){for(var y=e.body,T=y.length,S=s+1,x=0;S!==T&&!isNaN(x=y.charCodeAt(S))&&(95===x||x>=48&&x<=57||x>=65&&x<=90||x>=97&&x<=122);)++S;return new W.WU(g.NAME,s,S,n,d,z,y.slice(s,S))}var Ie=function(){function e(n,d){var z=(0,G.T)(n)?n:new G.H(n);this._lexer=new ye(z),this._options=d}var s=e.prototype;return s.parseName=function(){var d=this.expectToken(g.NAME);return{kind:J.NAME,value:d.value,loc:this.loc(d)}},s.parseDocument=function(){var d=this._lexer.token;return{kind:J.DOCUMENT,definitions:this.many(g.SOF,this.parseDefinition,g.EOF),loc:this.loc(d)}},s.parseDefinition=function(){if(this.peek(g.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(g.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},s.parseOperationDefinition=function(){var d=this._lexer.token;if(this.peek(g.BRACE_L))return{kind:J.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(d)};var y,z=this.parseOperationType();return this.peek(g.NAME)&&(y=this.parseName()),{kind:J.OPERATION_DEFINITION,operation:z,name:y,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(d)}},s.parseOperationType=function(){var d=this.expectToken(g.NAME);switch(d.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(d)},s.parseVariableDefinitions=function(){return this.optionalMany(g.PAREN_L,this.parseVariableDefinition,g.PAREN_R)},s.parseVariableDefinition=function(){var d=this._lexer.token;return{kind:J.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(g.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(g.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(d)}},s.parseVariable=function(){var d=this._lexer.token;return this.expectToken(g.DOLLAR),{kind:J.VARIABLE,name:this.parseName(),loc:this.loc(d)}},s.parseSelectionSet=function(){var d=this._lexer.token;return{kind:J.SELECTION_SET,selections:this.many(g.BRACE_L,this.parseSelection,g.BRACE_R),loc:this.loc(d)}},s.parseSelection=function(){return this.peek(g.SPREAD)?this.parseFragment():this.parseField()},s.parseField=function(){var y,T,d=this._lexer.token,z=this.parseName();return this.expectOptionalToken(g.COLON)?(y=z,T=this.parseName()):T=z,{kind:J.FIELD,alias:y,name:T,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(g.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(d)}},s.parseArguments=function(d){return this.optionalMany(g.PAREN_L,d?this.parseConstArgument:this.parseArgument,g.PAREN_R)},s.parseArgument=function(){var d=this._lexer.token,z=this.parseName();return this.expectToken(g.COLON),{kind:J.ARGUMENT,name:z,value:this.parseValueLiteral(!1),loc:this.loc(d)}},s.parseConstArgument=function(){var d=this._lexer.token;return{kind:J.ARGUMENT,name:this.parseName(),value:(this.expectToken(g.COLON),this.parseValueLiteral(!0)),loc:this.loc(d)}},s.parseFragment=function(){var d=this._lexer.token;this.expectToken(g.SPREAD);var z=this.expectOptionalKeyword("on");return!z&&this.peek(g.NAME)?{kind:J.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(d)}:{kind:J.INLINE_FRAGMENT,typeCondition:z?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(d)}},s.parseFragmentDefinition=function(){var d,z=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(d=this._options)||void 0===d?void 0:d.experimentalFragmentVariables)?{kind:J.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(z)}:{kind:J.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(z)}},s.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},s.parseValueLiteral=function(d){var z=this._lexer.token;switch(z.kind){case g.BRACKET_L:return this.parseList(d);case g.BRACE_L:return this.parseObject(d);case g.INT:return this._lexer.advance(),{kind:J.INT,value:z.value,loc:this.loc(z)};case g.FLOAT:return this._lexer.advance(),{kind:J.FLOAT,value:z.value,loc:this.loc(z)};case g.STRING:case g.BLOCK_STRING:return this.parseStringLiteral();case g.NAME:switch(this._lexer.advance(),z.value){case"true":return{kind:J.BOOLEAN,value:!0,loc:this.loc(z)};case"false":return{kind:J.BOOLEAN,value:!1,loc:this.loc(z)};case"null":return{kind:J.NULL,loc:this.loc(z)};default:return{kind:J.ENUM,value:z.value,loc:this.loc(z)}}case g.DOLLAR:if(!d)return this.parseVariable()}throw this.unexpected()},s.parseStringLiteral=function(){var d=this._lexer.token;return this._lexer.advance(),{kind:J.STRING,value:d.value,block:d.kind===g.BLOCK_STRING,loc:this.loc(d)}},s.parseList=function(d){var z=this,y=this._lexer.token;return{kind:J.LIST,values:this.any(g.BRACKET_L,function(){return z.parseValueLiteral(d)},g.BRACKET_R),loc:this.loc(y)}},s.parseObject=function(d){var z=this,y=this._lexer.token;return{kind:J.OBJECT,fields:this.any(g.BRACE_L,function(){return z.parseObjectField(d)},g.BRACE_R),loc:this.loc(y)}},s.parseObjectField=function(d){var z=this._lexer.token,y=this.parseName();return this.expectToken(g.COLON),{kind:J.OBJECT_FIELD,name:y,value:this.parseValueLiteral(d),loc:this.loc(z)}},s.parseDirectives=function(d){for(var z=[];this.peek(g.AT);)z.push(this.parseDirective(d));return z},s.parseDirective=function(d){var z=this._lexer.token;return this.expectToken(g.AT),{kind:J.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(d),loc:this.loc(z)}},s.parseTypeReference=function(){var z,d=this._lexer.token;return this.expectOptionalToken(g.BRACKET_L)?(z=this.parseTypeReference(),this.expectToken(g.BRACKET_R),z={kind:J.LIST_TYPE,type:z,loc:this.loc(d)}):z=this.parseNamedType(),this.expectOptionalToken(g.BANG)?{kind:J.NON_NULL_TYPE,type:z,loc:this.loc(d)}:z},s.parseNamedType=function(){var d=this._lexer.token;return{kind:J.NAMED_TYPE,name:this.parseName(),loc:this.loc(d)}},s.parseTypeSystemDefinition=function(){var d=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(d.kind===g.NAME)switch(d.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(d)},s.peekDescription=function(){return this.peek(g.STRING)||this.peek(g.BLOCK_STRING)},s.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},s.parseSchemaDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("schema");var y=this.parseDirectives(!0),T=this.many(g.BRACE_L,this.parseOperationTypeDefinition,g.BRACE_R);return{kind:J.SCHEMA_DEFINITION,description:z,directives:y,operationTypes:T,loc:this.loc(d)}},s.parseOperationTypeDefinition=function(){var d=this._lexer.token,z=this.parseOperationType();this.expectToken(g.COLON);var y=this.parseNamedType();return{kind:J.OPERATION_TYPE_DEFINITION,operation:z,type:y,loc:this.loc(d)}},s.parseScalarTypeDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("scalar");var y=this.parseName(),T=this.parseDirectives(!0);return{kind:J.SCALAR_TYPE_DEFINITION,description:z,name:y,directives:T,loc:this.loc(d)}},s.parseObjectTypeDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("type");var y=this.parseName(),T=this.parseImplementsInterfaces(),S=this.parseDirectives(!0),x=this.parseFieldsDefinition();return{kind:J.OBJECT_TYPE_DEFINITION,description:z,name:y,interfaces:T,directives:S,fields:x,loc:this.loc(d)}},s.parseImplementsInterfaces=function(){var d;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(d=this._options)||void 0===d?void 0:d.allowLegacySDLImplementsInterfaces)){var z=[];this.expectOptionalToken(g.AMP);do{z.push(this.parseNamedType())}while(this.expectOptionalToken(g.AMP)||this.peek(g.NAME));return z}return this.delimitedMany(g.AMP,this.parseNamedType)},s.parseFieldsDefinition=function(){var d;return!0===(null===(d=this._options)||void 0===d?void 0:d.allowLegacySDLEmptyFields)&&this.peek(g.BRACE_L)&&this._lexer.lookahead().kind===g.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(g.BRACE_L,this.parseFieldDefinition,g.BRACE_R)},s.parseFieldDefinition=function(){var d=this._lexer.token,z=this.parseDescription(),y=this.parseName(),T=this.parseArgumentDefs();this.expectToken(g.COLON);var S=this.parseTypeReference(),x=this.parseDirectives(!0);return{kind:J.FIELD_DEFINITION,description:z,name:y,arguments:T,type:S,directives:x,loc:this.loc(d)}},s.parseArgumentDefs=function(){return this.optionalMany(g.PAREN_L,this.parseInputValueDef,g.PAREN_R)},s.parseInputValueDef=function(){var d=this._lexer.token,z=this.parseDescription(),y=this.parseName();this.expectToken(g.COLON);var S,T=this.parseTypeReference();this.expectOptionalToken(g.EQUALS)&&(S=this.parseValueLiteral(!0));var x=this.parseDirectives(!0);return{kind:J.INPUT_VALUE_DEFINITION,description:z,name:y,type:T,defaultValue:S,directives:x,loc:this.loc(d)}},s.parseInterfaceTypeDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("interface");var y=this.parseName(),T=this.parseImplementsInterfaces(),S=this.parseDirectives(!0),x=this.parseFieldsDefinition();return{kind:J.INTERFACE_TYPE_DEFINITION,description:z,name:y,interfaces:T,directives:S,fields:x,loc:this.loc(d)}},s.parseUnionTypeDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("union");var y=this.parseName(),T=this.parseDirectives(!0),S=this.parseUnionMemberTypes();return{kind:J.UNION_TYPE_DEFINITION,description:z,name:y,directives:T,types:S,loc:this.loc(d)}},s.parseUnionMemberTypes=function(){return this.expectOptionalToken(g.EQUALS)?this.delimitedMany(g.PIPE,this.parseNamedType):[]},s.parseEnumTypeDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("enum");var y=this.parseName(),T=this.parseDirectives(!0),S=this.parseEnumValuesDefinition();return{kind:J.ENUM_TYPE_DEFINITION,description:z,name:y,directives:T,values:S,loc:this.loc(d)}},s.parseEnumValuesDefinition=function(){return this.optionalMany(g.BRACE_L,this.parseEnumValueDefinition,g.BRACE_R)},s.parseEnumValueDefinition=function(){var d=this._lexer.token,z=this.parseDescription(),y=this.parseName(),T=this.parseDirectives(!0);return{kind:J.ENUM_VALUE_DEFINITION,description:z,name:y,directives:T,loc:this.loc(d)}},s.parseInputObjectTypeDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("input");var y=this.parseName(),T=this.parseDirectives(!0),S=this.parseInputFieldsDefinition();return{kind:J.INPUT_OBJECT_TYPE_DEFINITION,description:z,name:y,directives:T,fields:S,loc:this.loc(d)}},s.parseInputFieldsDefinition=function(){return this.optionalMany(g.BRACE_L,this.parseInputValueDef,g.BRACE_R)},s.parseTypeSystemExtension=function(){var d=this._lexer.lookahead();if(d.kind===g.NAME)switch(d.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(d)},s.parseSchemaExtension=function(){var d=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var z=this.parseDirectives(!0),y=this.optionalMany(g.BRACE_L,this.parseOperationTypeDefinition,g.BRACE_R);if(0===z.length&&0===y.length)throw this.unexpected();return{kind:J.SCHEMA_EXTENSION,directives:z,operationTypes:y,loc:this.loc(d)}},s.parseScalarTypeExtension=function(){var d=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var z=this.parseName(),y=this.parseDirectives(!0);if(0===y.length)throw this.unexpected();return{kind:J.SCALAR_TYPE_EXTENSION,name:z,directives:y,loc:this.loc(d)}},s.parseObjectTypeExtension=function(){var d=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var z=this.parseName(),y=this.parseImplementsInterfaces(),T=this.parseDirectives(!0),S=this.parseFieldsDefinition();if(0===y.length&&0===T.length&&0===S.length)throw this.unexpected();return{kind:J.OBJECT_TYPE_EXTENSION,name:z,interfaces:y,directives:T,fields:S,loc:this.loc(d)}},s.parseInterfaceTypeExtension=function(){var d=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var z=this.parseName(),y=this.parseImplementsInterfaces(),T=this.parseDirectives(!0),S=this.parseFieldsDefinition();if(0===y.length&&0===T.length&&0===S.length)throw this.unexpected();return{kind:J.INTERFACE_TYPE_EXTENSION,name:z,interfaces:y,directives:T,fields:S,loc:this.loc(d)}},s.parseUnionTypeExtension=function(){var d=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var z=this.parseName(),y=this.parseDirectives(!0),T=this.parseUnionMemberTypes();if(0===y.length&&0===T.length)throw this.unexpected();return{kind:J.UNION_TYPE_EXTENSION,name:z,directives:y,types:T,loc:this.loc(d)}},s.parseEnumTypeExtension=function(){var d=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var z=this.parseName(),y=this.parseDirectives(!0),T=this.parseEnumValuesDefinition();if(0===y.length&&0===T.length)throw this.unexpected();return{kind:J.ENUM_TYPE_EXTENSION,name:z,directives:y,values:T,loc:this.loc(d)}},s.parseInputObjectTypeExtension=function(){var d=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var z=this.parseName(),y=this.parseDirectives(!0),T=this.parseInputFieldsDefinition();if(0===y.length&&0===T.length)throw this.unexpected();return{kind:J.INPUT_OBJECT_TYPE_EXTENSION,name:z,directives:y,fields:T,loc:this.loc(d)}},s.parseDirectiveDefinition=function(){var d=this._lexer.token,z=this.parseDescription();this.expectKeyword("directive"),this.expectToken(g.AT);var y=this.parseName(),T=this.parseArgumentDefs(),S=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var x=this.parseDirectiveLocations();return{kind:J.DIRECTIVE_DEFINITION,description:z,name:y,arguments:T,repeatable:S,locations:x,loc:this.loc(d)}},s.parseDirectiveLocations=function(){return this.delimitedMany(g.PIPE,this.parseDirectiveLocation)},s.parseDirectiveLocation=function(){var d=this._lexer.token,z=this.parseName();if(void 0!==A[z.value])return z;throw this.unexpected(d)},s.loc=function(d){var z;if(!0!==(null===(z=this._options)||void 0===z?void 0:z.noLocation))return new W.Ye(d,this._lexer.lastToken,this._lexer.source)},s.peek=function(d){return this._lexer.token.kind===d},s.expectToken=function(d){var z=this._lexer.token;if(z.kind===d)return this._lexer.advance(),z;throw ue(this._lexer.source,z.start,"Expected ".concat(Ne(d),", found ").concat(Le(z),"."))},s.expectOptionalToken=function(d){var z=this._lexer.token;if(z.kind===d)return this._lexer.advance(),z},s.expectKeyword=function(d){var z=this._lexer.token;if(z.kind!==g.NAME||z.value!==d)throw ue(this._lexer.source,z.start,'Expected "'.concat(d,'", found ').concat(Le(z),"."));this._lexer.advance()},s.expectOptionalKeyword=function(d){var z=this._lexer.token;return z.kind===g.NAME&&z.value===d&&(this._lexer.advance(),!0)},s.unexpected=function(d){var z=null!=d?d:this._lexer.token;return ue(this._lexer.source,z.start,"Unexpected ".concat(Le(z),"."))},s.any=function(d,z,y){this.expectToken(d);for(var T=[];!this.expectOptionalToken(y);)T.push(z.call(this));return T},s.optionalMany=function(d,z,y){if(this.expectOptionalToken(d)){var T=[];do{T.push(z.call(this))}while(!this.expectOptionalToken(y));return T}return[]},s.many=function(d,z,y){this.expectToken(d);var T=[];do{T.push(z.call(this))}while(!this.expectOptionalToken(y));return T},s.delimitedMany=function(d,z){this.expectOptionalToken(d);var y=[];do{y.push(z.call(this))}while(this.expectOptionalToken(d));return y},e}();function Le(e){var s=e.value;return Ne(e.kind)+(null!=s?' "'.concat(s,'"'):"")}function Ne(e){return function _e(e){return e===g.BANG||e===g.DOLLAR||e===g.AMP||e===g.PAREN_L||e===g.PAREN_R||e===g.SPREAD||e===g.COLON||e===g.EQUALS||e===g.AT||e===g.BRACKET_L||e===g.BRACKET_R||e===g.BRACE_L||e===g.PIPE||e===g.BRACE_R}(e)?'"'.concat(e,'"'):e}var Be=new Map,ve=new Map,Ue=!0,xe=!1;function Re(e){return e.replace(/[\s,]+/g," ").trim()}function rt(e){var s=Re(e);if(!Be.has(s)){var n=function Ce(e,s){return new Ie(e,s).parseDocument()}(e,{experimentalFragmentVariables:xe,allowLegacyFragmentVariables:xe});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");Be.set(s,function tt(e){var s=new Set(e.definitions);s.forEach(function(d){d.loc&&delete d.loc,Object.keys(d).forEach(function(z){var y=d[z];y&&"object"==typeof y&&s.add(y)})});var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(function ot(e){var s=new Set,n=[];return e.definitions.forEach(function(d){if("FragmentDefinition"===d.kind){var z=d.name.value,y=function it(e){return Re(e.source.body.substring(e.start,e.end))}(d.loc),T=ve.get(z);T&&!T.has(y)?Ue&&console.warn("Warning: fragment with name "+z+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):T||ve.set(z,T=new Set),T.add(y),s.has(y)||(s.add(y),n.push(d))}else n.push(d)}),(0,o.pi)((0,o.pi)({},e),{definitions:n})}(n)))}return Be.get(s)}function h(e){for(var s=[],n=1;n(function(e){e.Na="NA",e.TierIii="TIER_III",e.TierIiLevelC="TIER_II_LEVEL_C",e.TierIiLevelD="TIER_II_LEVEL_D",e.TierIv="TIER_IV",e.TierILevelA="TIER_I_LEVEL_A",e.TierILevelB="TIER_I_LEVEL_B"}(H||(H={})),H))(),l=(()=>(function(e){e.AdverseResponse="ADVERSE_RESPONSE",e.Benign="BENIGN",e.BetterOutcome="BETTER_OUTCOME",e.LikelyBenign="LIKELY_BENIGN",e.LikelyPathogenic="LIKELY_PATHOGENIC",e.Na="NA",e.Negative="NEGATIVE",e.Pathogenic="PATHOGENIC",e.PoorOutcome="POOR_OUTCOME",e.Positive="POSITIVE",e.ReducedSensitivity="REDUCED_SENSITIVITY",e.Resistance="RESISTANCE",e.Sensitivityresponse="SENSITIVITYRESPONSE",e.UncertainSignificance="UNCERTAIN_SIGNIFICANCE"}(l||(l={})),l))(),k=(()=>(function(e){e.DoesNotSupport="DOES_NOT_SUPPORT",e.Supports="SUPPORTS"}(k||(k={})),k))(),ie=(()=>(function(e){e.AmpLevel="AMP_LEVEL",e.AssertionDirection="ASSERTION_DIRECTION",e.AssertionType="ASSERTION_TYPE",e.ClinicalSignificance="CLINICAL_SIGNIFICANCE",e.DiseaseName="DISEASE_NAME",e.DrugName="DRUG_NAME",e.EvidenceItemsCount="EVIDENCE_ITEMS_COUNT",e.GeneName="GENE_NAME",e.Id="ID",e.Status="STATUS",e.Summary="SUMMARY",e.VariantName="VARIANT_NAME"}(ie||(ie={})),ie))(),ze=(()=>(function(e){e.Diagnostic="DIAGNOSTIC",e.Predictive="PREDICTIVE",e.Predisposing="PREDISPOSING",e.Prognostic="PROGNOSTIC"}(ze||(ze={})),ze))(),Te=(()=>(function(e){e.EvidenceItemCount="EVIDENCE_ITEM_COUNT",e.Name="NAME",e.NctId="NCT_ID",e.SourceCount="SOURCE_COUNT"}(Te||(Te={})),Te))(),Fe=(()=>(function(e){e.Conflict="CONFLICT",e.Expired="EXPIRED",e.Missing="MISSING",e.Valid="VALID"}(Fe||(Fe={})),Fe))(),ke=(()=>(function(e){e.Assertion="ASSERTION",e.EvidenceItem="EVIDENCE_ITEM",e.Gene="GENE",e.Source="SOURCE",e.Variant="VARIANT",e.VariantGroup="VARIANT_GROUP"}(ke||(ke={})),ke))(),Ye=(()=>(function(e){e.Created="CREATED",e.LastModified="LAST_MODIFIED"}(Ye||(Ye={})),Ye))(),Je=(()=>(function(e){e.AssertionCount="ASSERTION_COUNT",e.Doid="DOID",e.EvidenceItemCount="EVIDENCE_ITEM_COUNT",e.GeneCount="GENE_COUNT",e.Name="NAME",e.VariantCount="VARIANT_COUNT"}(Je||(Je={})),Je))(),He=(()=>(function(e){e.Combination="COMBINATION",e.Sequential="SEQUENTIAL",e.Substitutes="SUBSTITUTES"}(He||(He={})),He))(),nt=(()=>(function(e){e.AssertionCount="ASSERTION_COUNT",e.EvidenceItemCount="EVIDENCE_ITEM_COUNT",e.Name="NAME",e.NcitId="NCIT_ID"}(nt||(nt={})),nt))(),Qe=(()=>(function(e){e.Accepted="ACCEPTED",e.AssertionAccepted="ASSERTION_ACCEPTED",e.AssertionRejected="ASSERTION_REJECTED",e.AssertionReverted="ASSERTION_REVERTED",e.AssertionSubmitted="ASSERTION_SUBMITTED",e.Commented="COMMENTED",e.CuratedSourceSuggestion="CURATED_SOURCE_SUGGESTION",e.Flagged="FLAGGED",e.FlagResolved="FLAG_RESOLVED",e.PublicationSuggested="PUBLICATION_SUGGESTED",e.Rejected="REJECTED",e.RejectedSourceSuggestion="REJECTED_SOURCE_SUGGESTION",e.RequeuedSourceSuggestion="REQUEUED_SOURCE_SUGGESTION",e.Reverted="REVERTED",e.RevisionAccepted="REVISION_ACCEPTED",e.RevisionRejected="REVISION_REJECTED",e.RevisionSuggested="REVISION_SUGGESTED",e.RevisionSuperseded="REVISION_SUPERSEDED",e.Submitted="SUBMITTED"}(Qe||(Qe={})),Qe))(),je=(()=>(function(e){e.Organization="ORGANIZATION",e.Subject="SUBJECT",e.Unscoped="UNSCOPED",e.User="USER"}(je||(je={})),je))(),ut=(()=>(function(e){e.AdverseResponse="ADVERSE_RESPONSE",e.Benign="BENIGN",e.BetterOutcome="BETTER_OUTCOME",e.DominantNegative="DOMINANT_NEGATIVE",e.GainOfFunction="GAIN_OF_FUNCTION",e.LikelyBenign="LIKELY_BENIGN",e.LikelyPathogenic="LIKELY_PATHOGENIC",e.LossOfFunction="LOSS_OF_FUNCTION",e.Na="NA",e.Negative="NEGATIVE",e.Neomorphic="NEOMORPHIC",e.Pathogenic="PATHOGENIC",e.PoorOutcome="POOR_OUTCOME",e.Positive="POSITIVE",e.ReducedSensitivity="REDUCED_SENSITIVITY",e.Resistance="RESISTANCE",e.Sensitivityresponse="SENSITIVITYRESPONSE",e.UnalteredFunction="UNALTERED_FUNCTION",e.UncertainSignificance="UNCERTAIN_SIGNIFICANCE",e.Unknown="UNKNOWN"}(ut||(ut={})),ut))(),Xe=(()=>(function(e){e.DoesNotSupport="DOES_NOT_SUPPORT",e.Na="NA",e.Supports="SUPPORTS"}(Xe||(Xe={})),Xe))(),f=(()=>(function(e){e.A="A",e.B="B",e.C="C",e.D="D",e.E="E"}(f||(f={})),f))(),E=(()=>(function(e){e.ClinicalSignificance="CLINICAL_SIGNIFICANCE",e.Description="DESCRIPTION",e.DiseaseName="DISEASE_NAME",e.DrugName="DRUG_NAME",e.EvidenceDirection="EVIDENCE_DIRECTION",e.EvidenceLevel="EVIDENCE_LEVEL",e.EvidenceRating="EVIDENCE_RATING",e.EvidenceType="EVIDENCE_TYPE",e.GeneSymbol="GENE_SYMBOL",e.Id="ID",e.Status="STATUS",e.VariantName="VARIANT_NAME",e.VariantOrigin="VARIANT_ORIGIN"}(E||(E={})),E))(),C=(()=>(function(e){e.Accepted="ACCEPTED",e.Rejected="REJECTED",e.Submitted="SUBMITTED"}(C||(C={})),C))(),$=(()=>(function(e){e.Diagnostic="DIAGNOSTIC",e.Functional="FUNCTIONAL",e.Oncogenic="ONCOGENIC",e.Predictive="PREDICTIVE",e.Predisposing="PREDISPOSING",e.Prognostic="PROGNOSTIC"}($||($={})),$))(),ce=(()=>(function(e){e.Open="OPEN",e.Resolved="RESOLVED"}(ce||(ce={})),ce))(),he=(()=>(function(e){e.Assertion="ASSERTION",e.EvidenceItem="EVIDENCE_ITEM",e.Gene="GENE",e.Variant="VARIANT",e.VariantGroup="VARIANT_GROUP"}(he||(he={})),he))(),mt=(()=>(function(e){e.AssertionCount="assertionCount",e.DiseaseName="diseaseName",e.DrugName="drugName",e.EntrezSymbol="entrezSymbol",e.EvidenceItemCount="evidenceItemCount",e.GeneAlias="geneAlias",e.VariantCount="variantCount"}(mt||(mt={})),mt))(),gt=(()=>(function(e){e.Assertion="ASSERTION",e.EvidenceItem="EVIDENCE_ITEM",e.Gene="GENE",e.Variant="VARIANT",e.VariantGroup="VARIANT_GROUP"}(gt||(gt={})),gt))(),ft=(()=>(function(e){e.Mention="MENTION",e.Subscription="SUBSCRIPTION"}(ft||(ft={})),ft))(),ht=(()=>(function(e){e.Id="ID",e.Name="NAME"}(ht||(ht={})),ht))(),vt=(()=>(function(e){e.AssertionCount="ASSERTION_COUNT",e.EvidenceItemCount="EVIDENCE_ITEM_COUNT",e.HpoId="HPO_ID",e.Name="NAME"}(vt||(vt={})),vt))(),zt=(()=>(function(e){e.Read="READ",e.Unread="UNREAD"}(zt||(zt={})),zt))(),yt=(()=>(function(e){e.Grch37="GRCH37",e.Grch38="GRCH38",e.Ncbi36="NCBI36"}(yt||(yt={})),yt))(),Ct=(()=>(function(e){e.Accepted="ACCEPTED",e.New="NEW",e.Rejected="REJECTED",e.Superseded="SUPERSEDED"}(Ct||(Ct={})),Ct))(),It=(()=>(function(e){e.Assertion="ASSERTION",e.EvidenceItem="EVIDENCE_ITEM",e.Gene="GENE",e.Revision="REVISION",e.Variant="VARIANT",e.VariantGroup="VARIANT_GROUP"}(It||(It={})),It))(),Tt=(()=>(function(e){e.Asc="ASC",e.Desc="DESC"}(Tt||(Tt={})),Tt))(),_t=(()=>(function(e){e.Asco="ASCO",e.Pubmed="PUBMED"}(_t||(_t={})),_t))(),St=(()=>(function(e){e.Curated="CURATED",e.New="NEW",e.Rejected="REJECTED"}(St||(St={})),St))(),Dt=(()=>(function(e){e.Citation="CITATION",e.CitationId="CITATION_ID",e.DiseaseName="DISEASE_NAME",e.GeneName="GENE_NAME",e.SourceType="SOURCE_TYPE",e.Submitter="SUBMITTER",e.VariantName="VARIANT_NAME"}(Dt||(Dt={})),Dt))(),Et=(()=>(function(e){e.Authors="AUTHORS",e.CitationId="CITATION_ID",e.EvidenceCount="EVIDENCE_COUNT",e.Journal="JOURNAL",e.Name="NAME",e.SourceType="SOURCE_TYPE",e.Year="YEAR"}(Et||(Et={})),Et))(),qe=(()=>(function(e){e.Assertion="ASSERTION",e.EvidenceItem="EVIDENCE_ITEM",e.Gene="GENE",e.Revision="REVISION",e.SourceSuggestion="SOURCE_SUGGESTION",e.Variant="VARIANT",e.VariantGroup="VARIANT_GROUP"}(qe||(qe={})),qe))(),Gt=(()=>(function(e){e.Assertion="ASSERTION",e.EvidenceItem="EVIDENCE_ITEM",e.Gene="GENE",e.Revision="REVISION",e.Role="ROLE",e.Variant="VARIANT",e.VariantGroup="VARIANT_GROUP"}(Gt||(Gt={})),Gt))(),Nt=(()=>(function(e){e.Admin="ADMIN",e.Curator="CURATOR",e.Editor="EDITOR"}(Nt||(Nt={})),Nt))(),At=(()=>(function(e){e.Id="ID",e.LastAction="LAST_ACTION",e.Name="NAME",e.Role="ROLE"}(At||(At={})),At))(),Ot=(()=>(function(e){e.All="ALL",e.WithAccepted="WITH_ACCEPTED",e.WithAcceptedOrSubmitted="WITH_ACCEPTED_OR_SUBMITTED",e.WithSubmitted="WITH_SUBMITTED"}(Ot||(Ot={})),Ot))(),Mt=(()=>(function(e){e.EvidenceItemCount="EVIDENCE_ITEM_COUNT",e.GeneNames="GENE_NAMES",e.Name="NAME",e.VariantCount="VARIANT_COUNT",e.VariantNames="VARIANT_NAMES"}(Mt||(Mt={})),Mt))(),Lt=(()=>(function(e){e.CoordinateEnd="COORDINATE_END",e.CoordinateStart="COORDINATE_START",e.Name="NAME"}(Lt||(Lt={})),Lt))(),xt=(()=>(function(e){e.CommonGermline="COMMON_GERMLINE",e.Na="NA",e.RareGermline="RARE_GERMLINE",e.Somatic="SOMATIC",e.Unknown="UNKNOWN"}(xt||(xt={})),xt))(),Ft=(()=>(function(e){e.Name="NAME",e.Soid="SOID",e.VariantCount="VARIANT_COUNT"}(Ft||(Ft={})),Ft))(),bt=(()=>(function(e){e.AssertionCount="assertionCount",e.DiseaseName="diseaseName",e.DrugName="drugName",e.EntrezSymbol="entrezSymbol",e.EvidenceItemCount="evidenceItemCount",e.EvidenceScore="evidenceScore",e.VariantName="variantName"}(bt||(bt={})),bt))();const Vt=h`
- fragment assertionPopover on Assertion {
- id
- name
- status
- summary
- assertionType
- assertionDirection
- clinicalSignificance
- variantOrigin
- ampLevel
- acmgCodes {
- code
- }
- nccnGuideline {
- id
- name
- }
- regulatoryApproval
- regulatoryApprovalLastUpdated
- fdaCompanionTest
- fdaCompanionTestLastUpdated
- drugs {
- id
- name
- link
- }
- drugInteractionType
- disease {
- id
- name
- link
- }
- phenotypes {
- id
- name
- link
- }
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
-}
- `,Zt=h`
- fragment AssertionBrowseTableRowFields on Assertion {
- id
- name
- link
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- disease {
- id
- name
- link
- }
- drugs {
- id
- name
- link
- }
- phenotypes @include(if: $cardView) {
- id
- name
- link
- }
- drugInteractionType
- summary
- assertionType
- assertionDirection
- clinicalSignificance
- ampLevel
- acmgCodes @include(if: $cardView) {
- code
- }
- fdaCompanionTest @include(if: $cardView)
- regulatoryApproval @include(if: $cardView)
- regulatoryApprovalLastUpdated @include(if: $cardView)
- nccnGuideline @include(if: $cardView) {
- id
- name
- }
- variantOrigin @include(if: $cardView)
- evidenceItemsCount
- status
-}
- `,kt=h`
- fragment clinicalTrialPopover on BrowseClinicalTrial {
- id
- name
- nctId
- url
- sourceCount
- evidenceCount
-}
- `,u=h`
- fragment commentListNode on Comment {
- id
- title
- comment
- createdAt
- commenter {
- id
- username
- displayName
- name
- role
- profileImagePath(size: 32)
- organizations {
- id
- name
- profileImagePath(size: 32)
- }
- }
- parsedComment {
- __typename
- ... on CommentTagSegment {
- entityId
- displayName
- tagType
- status
- link
- __typename
- }
- ... on CommentTextSegment {
- text
- }
- ... on User {
- id
- displayName
- role
- }
- }
-}
- `,M=h`
- fragment commentPopover on Comment {
- id
- name
- createdAt
- title
- comment
- commenter {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- commentable {
- id
- name
- link
- __typename
- }
-}
- `,c=h`
- fragment BrowseDiseaseRowFields on BrowseDisease {
- id
- name
- doid
- diseaseUrl
- geneNames
- assertionCount
- evidenceItemCount
- variantCount
- geneCount
- link
-}
- `,v=h`
- fragment DrugBrowseTableRowFields on BrowseDrug {
- id
- name
- ncitId
- drugUrl
- assertionCount
- evidenceCount
- link
-}
- `,P=h`
- fragment eventFeedNode on Event {
- id
- action
- createdAt
- organization {
- id
- name
- profileImagePath(size: 32)
- }
- originatingUser {
- id
- username
- displayName
- role
- profileImagePath(size: 32)
- }
- subject {
- name
- id
- link
- ... on Source {
- citation
- sourceType
- }
- ... on EvidenceItem {
- status
- }
- ... on Assertion {
- status
- }
- __typename
- }
- originatingObject {
- id
- name
- link
- __typename
- ... on Revision {
- id
- }
- ... on Comment {
- id
- }
- ... on Flag {
- id
- }
- }
-}
- `,ae=h`
- fragment eventFeed on EventConnection {
- pageInfo {
- startCursor
- endCursor
- hasNextPage
- hasPreviousPage
- }
- eventTypes @include(if: $showFilters)
- unfilteredCount
- uniqueParticipants @include(if: $showFilters) {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- participatingOrganizations @include(if: $showFilters) {
- id
- name
- profileImagePath(size: 32)
- }
- edges {
- cursor
- node {
- ...eventFeedNode
- }
- }
-}
- ${P}`,et=h`
- fragment evidencePopover on EvidenceItem {
- id
- name
- status
- description
- evidenceLevel
- evidenceType
- evidenceDirection
- clinicalSignificance
- variantOrigin
- drugs {
- id
- name
- link
- }
- drugInteractionType
- disease {
- id
- name
- link
- }
- phenotypes {
- id
- name
- link
- }
- evidenceRating
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- source {
- id
- citation
- sourceType
- displayType
- link
- }
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
-}
- `,Yt=h`
- fragment EvidenceGridFields on EvidenceItem {
- id
- name
- link
- disease {
- id
- name
- link
- }
- drugs {
- id
- name
- link
- }
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- phenotypes @include(if: $cardView) {
- id
- name
- link
- }
- source @include(if: $cardView) {
- id
- citation
- citationId
- sourceType
- sourceUrl
- clinicalTrials {
- nctId
- id
- }
- link
- }
- assertions @include(if: $cardView) {
- id
- name
- link
- }
- status
- drugInteractionType
- description
- evidenceType
- evidenceDirection
- evidenceLevel
- evidenceRating
- clinicalSignificance
- variantOrigin
-}
- `,nn=h`
- fragment flagList on FlagConnection {
- pageInfo {
- startCursor
- endCursor
- hasNextPage
- hasPreviousPage
- }
- totalCount
- unfilteredCountForSubject
- uniqueFlaggingUsers {
- username
- id
- profileImagePath(size: 32)
- }
- uniqueResolvingUsers {
- username
- id
- profileImagePath(size: 32)
- }
- edges {
- node {
- ...flag
- }
- }
-}
- ${h`
- fragment flag on Flag {
- id
- state
- createdAt
- resolvedAt
- flaggable {
- id
- name
- link
- }
- flaggingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- resolvingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- openComment {
- __typename
- parsedComment {
- __typename
- ... on CommentTagSegment {
- entityId
- displayName
- tagType
- link
- __typename
- }
- ... on CommentTextSegment {
- text
- }
- ... on User {
- id
- displayName
- role
- }
- }
- }
- resolutionComment {
- __typename
- parsedComment {
- __typename
- ... on CommentTagSegment {
- entityId
- displayName
- tagType
- link
- __typename
- }
- ... on CommentTextSegment {
- text
- }
- ... on User {
- id
- displayName
- role
- }
- }
- }
-}
- `}`,on=h`
- fragment genePopover on Gene {
- id
- name
- officialName
- geneAliases
- variants {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
- flags(state: OPEN) {
- totalCount
- }
-}
- `,rn=h`
- fragment QuicksearchResult on SearchResult {
- id
- resultType
- name
- matchingText
-}
- `,sn=h`
- fragment orgPopover on Organization {
- id
- profileImagePath(size: 64)
- name
- description
- url
-}
- `,an=h`
- fragment OrganizationBrowseTableRowFields on Organization {
- id
- name
- description @include(if: $cardView)
- profileImagePath(size: 256) @include(if: $cardView)
- url
- memberCount
- eventCount
- subGroups {
- name
- id
- }
- mostRecentEvent {
- createdAt
- }
- orgStatsHash @include(if: $cardView) {
- comments
- revisions
- appliedRevisions
- submittedEvidenceItems
- acceptedEvidenceItems
- suggestedSources
- submittedAssertions
- acceptedAssertions
- }
-}
- `,cn=h`
- fragment PhenotypeBrowseTableRowFields on BrowsePhenotype {
- id
- name
- hpoId
- url
- assertionCount
- evidenceCount
- link
-}
- `,ln=h`
- fragment validationError on FieldValidationError {
- fieldName
- error
-}
- `,un=h`
- fragment revision on Revision {
- id
- revisionsetId
- createdAt
- resolvedAt
- fieldName
- currentValue
- suggestedValue
- linkoutData {
- name
- diffValue {
- ... on ObjectFieldDiff {
- currentObjects {
- id
- displayName
- displayType
- entityType
- link
- }
- addedObjects {
- id
- displayName
- displayType
- entityType
- link
- }
- removedObjects {
- id
- displayName
- displayType
- entityType
- link
- }
- keptObjects {
- id
- displayName
- displayType
- entityType
- link
- }
- suggestedObjects {
- id
- displayName
- displayType
- entityType
- link
- }
- }
- ... on ScalarFieldDiff {
- left
- right
- }
- }
- }
- revisor {
- id
- displayName
- role
- }
- resolver {
- id
- displayName
- role
- }
- creationComment {
- parsedComment {
- __typename
- ... on CommentTagSegment {
- entityId
- displayName
- tagType
- link
- __typename
- }
- ... on CommentTextSegment {
- text
- }
- ... on User {
- id
- displayName
- role
- }
- }
- }
- resolutionComment {
- parsedComment {
- __typename
- ... on CommentTagSegment {
- entityId
- displayName
- tagType
- link
- __typename
- }
- ... on CommentTextSegment {
- text
- }
- ... on User {
- id
- displayName
- role
- }
- }
- }
- status
-}
- `,dn=h`
- fragment ContributorFields on ContributingUser {
- user {
- id
- profileImagePath(size: 12)
- }
- uniqueActions {
- action
- count
- }
- lastActionDate
- totalActionCount
-}
- `,pn=h`
- fragment subscriptionId on Subscription {
- id
- __typename
-}
- `,mn=h`
- fragment TimepointCount on TimePointCounts {
- allTime
- newThisMonth
- newThisWeek
- newThisYear
-}
- `,gn=h`
- fragment BrowseSourceSuggestionRowFields on SourceSuggestion {
- id
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- disease {
- id
- name
- link
- }
- source {
- id
- citation
- citationId
- sourceType
- sourceUrl
- displayType
- }
- user {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- initialComment
- status
- reason
-}
- `,fn=h`
- fragment sourcePopover on SourcePopover {
- id
- name
- evidenceItemCount
- citation
- citationId
- displayType
- sourceUrl
- clinicalTrials {
- id
- nctId
- link
- }
-}
- `,hn=h`
- fragment BrowseSourceRowFields on BrowseSource {
- id
- authors
- citationId
- evidenceItemCount
- journal
- name
- publicationYear
- sourceType
- citation
- displayType
- link
-}
- `,vn=h`
- fragment popoverUser on User {
- id
- profileImagePath(size: 64)
- displayName
- bio
- role
- organizations {
- id
- name
- }
-}
- `,zn=h`
- fragment UserBrowseTableRowFields on User {
- id
- name
- displayName
- organizations {
- id
- name
- }
- role
- statsHash {
- submittedEvidenceItems
- revisions
- }
- mostRecentActionTimestamp
-}
- `,yn=h`
- fragment variantGroupPopoverFields on VariantGroup {
- id
- name
- description
- variants {
- edges {
- node {
- id
- name
- link
- }
- }
- }
- sources {
- id
- citation
- sourceType
- link
- }
-}
- `,Cn=h`
- fragment BrowseVariantGroupRowFields on BrowseVariantGroup {
- id
- name
- link
- geneNames
- variantNames
- variantCount
- evidenceItemCount
-}
- `,In=h`
- fragment variantTypePopover on VariantTypePopover {
- id
- name
- url
- soid
- variantCount
-}
- `,Tn=h`
- fragment VariantTypeBrowseTableRowFields on BrowseVariantType {
- id
- name
- soid
- url
- variantCount
- link
-}
- `,_n=h`
- fragment variantPopoverFields on Variant {
- id
- name
- description
- variantAliases
- alleleRegistryId
- evidenceItems {
- totalCount
- }
- gene {
- id
- name
- link
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
- flags(state: OPEN) {
- totalCount
- }
-}
- `,Sn=h`
- fragment menuVariant on Variant {
- id
- name
- link
-}
- `,Dn=h`
- fragment RevisableAssertionFields on Assertion {
- id
- summary
- description
- variant {
- id
- name
- link
- }
- gene {
- id
- name
- link
- }
- variantOrigin
- clinicalSignificance
- disease {
- id
- doid
- name
- displayName
- link
- }
- drugs {
- id
- ncitId
- name
- link
- }
- drugInteractionType
- assertionDirection
- assertionType
- phenotypes {
- id
- hpoId
- name
- }
- ampLevel
- acmgCodes {
- id
- code
- description
- }
- nccnGuideline {
- id
- name
- }
- nccnGuidelineVersion
- regulatoryApproval
- fdaCompanionTest
- evidenceItems {
- id
- name
- link
- status
- }
-}
- `,En=h`
- fragment previewComment on CommentBodySegment {
- __typename
- ... on CommentTagSegment {
- entityId
- displayName
- tagType
- status
- __typename
- }
- ... on CommentTextSegment {
- text
- __typename
- }
- ... on User {
- id
- displayName
- role
- __typename
- }
-}
- `,Nn=h`
- fragment AddDiseaseFields on AddDiseasePayload {
- new
- disease {
- id
- name
- displayName
- }
-}
- `,An=h`
- fragment AddDrugFields on AddDrugPayload {
- new
- drug {
- id
- ncitId
- name
- }
-}
- `,On=h`
- fragment GeneTypeaheadFields on Gene {
- id
- name
- geneAliases
- entrezId
-}
- `,Kt=h`
- fragment SourceTypeaheadResult on Source {
- id
- name
- citation
- citationId
- sourceType
-}
- `,Ht=h`
- fragment SourceStubFields on SourceStub {
- id
- citationId
- sourceType
-}
- `,Mn=h`
- fragment SourceTypeaheadFields on Source {
- id
- name
- citation
- citationId
- sourceType
-}
- `,Xt=h`
- fragment VariantTypeaheadFields on Variant {
- id
- name
-}
- `,Ln=h`
- fragment AddVariantFields on AddVariantPayload {
- new
- variant {
- id
- name
- }
-}
- `,xn=(h`
- fragment VariantSelectFields on Variant {
- id
- name
-}
- `,h`
- fragment RevisableEvidenceFields on EvidenceItem {
- id
- variant {
- id
- name
- link
- }
- variantOrigin
- description
- clinicalSignificance
- disease {
- id
- doid
- name
- displayName
- }
- drugs {
- id
- ncitId
- name
- }
- drugInteractionType
- evidenceDirection
- evidenceLevel
- evidenceType
- phenotypes {
- id
- hpoId
- name
- }
- evidenceRating
- source {
- id
- sourceType
- citationId
- citation
- }
-}
- `),Fn=h`
- fragment SubmittableEvidenceFields on EvidenceItem {
- id
- description
- variantOrigin
- evidenceType
- clinicalSignificance
- evidenceLevel
- evidenceDirection
- evidenceRating
- drugInteractionType
- gene {
- id
- name
- }
- variant {
- id
- name
- }
- source {
- id
- citation
- sourceType
- }
- phenotypes {
- id
- name
- }
- drugs {
- id
- name
- }
- disease {
- id
- name
- }
-}
- `,bn=h`
- fragment RevisableGeneFields on Gene {
- id
- description
- sources {
- id
- sourceType
- citation
- citationId
- }
-}
- `,$n=h`
- fragment SubmittableVariantGroupFields on VariantGroup {
- id
- name
- description
- variants(first: 50) {
- nodes {
- id
- name
- link
- }
- }
- sources {
- id
- link
- citation
- sourceType
- }
-}
- `,Pn=h`
- fragment RevisableVariantFields on Variant {
- id
- name
- description
- sources {
- id
- sourceType
- citation
- citationId
- }
- gene {
- id
- name
- }
- variantAliases
- alleleRegistryId
- clinvarIds
- ensemblVersion
- hgvsDescriptions
- referenceBuild
- variantTypes {
- id
- name
- soid
- }
- primaryCoordinates {
- ...CoordinateFields
- }
- secondaryCoordinates {
- ...CoordinateFields
- }
- referenceBases
- variantBases
-}
- ${h`
- fragment CoordinateFields on Coordinate {
- chromosome
- representativeTranscript
- start
- stop
-}
- `}`,Gn=h`
- fragment AssertionDetailFields on Assertion {
- id
- name
- status
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
-}
- `,wn=h`
- fragment AssertionSummaryFields on Assertion {
- id
- name
- summary
- description
- status
- variantOrigin
- disease {
- id
- name
- link
- }
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- alleleRegistryId
- }
- assertionType
- assertionDirection
- clinicalSignificance
- drugs {
- ncitId
- name
- link
- id
- }
- phenotypes {
- id
- name
- link
- }
- drugInteractionType
- ampLevel
- acmgCodes {
- code
- description
- }
- nccnGuideline {
- id
- name
- }
- nccnGuidelineVersion
- regulatoryApproval
- regulatoryApprovalLastUpdated
- fdaCompanionTest
- fdaCompanionTestLastUpdated
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
- acceptanceEvent {
- createdAt
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
- submissionEvent {
- createdAt
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
- rejectionEvent {
- createdAt
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
-}
- `,Bn=h`
- fragment EvidenceDetailFields on EvidenceItem {
- id
- name
- status
- variant {
- id
- name
- link
- }
- gene {
- id
- name
- link
- }
- assertions {
- id
- name
- link
- }
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
-}
- `,Un=h`
- fragment EvidenceSummaryFields on EvidenceItem {
- id
- name
- description
- status
- evidenceLevel
- evidenceType
- evidenceDirection
- clinicalSignificance
- variantOrigin
- drugs {
- id
- name
- link
- }
- drugInteractionType
- disease {
- id
- name
- link
- }
- phenotypes {
- id
- name
- link
- }
- source {
- id
- citation
- citationId
- sourceType
- displayType
- sourceUrl
- ascoAbstractId
- link
- clinicalTrials {
- nctId
- id
- }
- }
- evidenceRating
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
- acceptanceEvent {
- createdAt
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
- submissionEvent {
- createdAt
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
- rejectionEvent {
- createdAt
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
-}
- `,Qn=h`
- fragment GeneDetailFields on Gene {
- id
- name
- officialName
- entrezId
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
-}
- `,Vn=h`
- fragment GeneSummaryFields on Gene {
- description
- entrezId
- geneAliases
- id
- name
- officialName
- sources {
- id
- citation
- sourceUrl
- displayType
- sourceType
- }
- variants {
- edges {
- node {
- id
- name
- description
- }
- }
- }
- myGeneInfoDetails
- lastSubmittedRevisionEvent {
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
- lastAcceptedRevisionEvent {
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
-}
- `,Zn=h`
- fragment OrganizationDetailFields on Organization {
- id
- name
- url
- description
- profileImagePath(size: 256)
- subGroups {
- id
- name
- profileImagePath(size: 12)
- }
- orgStatsHash {
- comments
- revisions
- appliedRevisions
- submittedEvidenceItems
- acceptedEvidenceItems
- suggestedSources
- submittedAssertions
- acceptedAssertions
- }
- orgAndSuborgsStatsHash {
- comments
- revisions
- appliedRevisions
- submittedEvidenceItems
- acceptedEvidenceItems
- suggestedSources
- submittedAssertions
- acceptedAssertions
- }
-}
- `,kn=h`
- fragment OrganizationGroupsFields on Organization {
- id
- name
- description
- profileImagePath(size: 12)
- orgStatsHash {
- comments
- revisions
- appliedRevisions
- submittedEvidenceItems
- acceptedEvidenceItems
- suggestedSources
- submittedAssertions
- acceptedAssertions
- }
- orgAndSuborgsStatsHash {
- comments
- revisions
- appliedRevisions
- submittedEvidenceItems
- acceptedEvidenceItems
- suggestedSources
- submittedAssertions
- acceptedAssertions
- }
- subGroups {
- id
- name
- profileImagePath(size: 12)
- }
-}
- `,Yn=h`
- fragment OrganizationMembersFields on User {
- id
- name
- displayName
- username
- profileImagePath(size: 32)
- role
- url
- areaOfExpertise
- orcid
- twitterHandle
- facebookProfile
- linkedinProfile
- organizations {
- id
- name
- }
-}
- `,Wn=h`
- fragment Release on DataRelease {
- name
- geneTsv {
- filename
- path
- }
- variantTsv {
- filename
- path
- }
- variantGroupTsv {
- filename
- path
- }
- evidenceTsv {
- filename
- path
- }
- assertionTsv {
- filename
- path
- }
- acceptedVariantsVcf {
- filename
- path
- }
- acceptedAndSubmittedVariantsVcf {
- filename
- path
- }
-}
- `,Jn=h`
- fragment SourceDetailFields on Source {
- id
- citation
- sourceUrl
- displayType
- citationId
-}
- `,jn=h`
- fragment SourceSummaryFields on Source {
- id
- displayType
- title
- abstract
- publicationDate
- citationId
- fullJournalTitle
- pmcId
- authorString
- clinicalTrials {
- nctId
- id
- }
-}
- `,Kn=h`
- fragment UserDetailFields on User {
- id
- name
- displayName
- username
- email
- profileImagePath(size: 128)
- role
- url
- bio
- areaOfExpertise
- orcid
- twitterHandle
- facebookProfile
- linkedinProfile
- organizations {
- id
- name
- }
- country {
- id
- name
- }
- statsHash {
- comments
- revisions
- appliedRevisions
- submittedEvidenceItems
- acceptedEvidenceItems
- suggestedSources
- submittedAssertions
- acceptedAssertions
- }
- mostRecentConflictOfInterestStatement {
- id
- coiPresent
- coiStatement
- coiStatus
- createdAt
- expiresAt
- }
-}
- `,Hn=h`
- fragment notificationOrganization on Organization {
- id
- name
-}
- `,Xn=h`
- fragment notificationOriginatingUsers on User {
- id
- displayName
-}
- `,qn=h`
- fragment notificationFeedSubjects on EventSubjectWithCount {
- subject {
- id
- __typename
- name
- }
- occuranceCount
-}
- `,qt=h`
- fragment notificationNode on Notification {
- id
- type
- event {
- ...eventFeedNode
- }
- seen
- subscription {
- id
- subscribable {
- id
- name
- __typename
- }
- }
-}
- ${P}`,ei=h`
- fragment subscribable on Subscribable {
- id
- entityType
- __typename
-}
- `,ti=h`
- fragment VariantGroupDetailFields on VariantGroup {
- id
- name
- variants {
- totalCount
- }
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
-}
- `,ni=h`
- fragment VariantGroupSummaryFields on VariantGroup {
- id
- name
- description
- sources {
- id
- link
- citation
- sourceUrl
- displayType
- sourceType
- }
- variants {
- edges {
- node {
- id
- name
- link
- description
- }
- }
- }
-}
- `,ii=h`
- fragment VariantDetailFields on Variant {
- id
- name
- gene {
- id
- name
- }
- variantAliases
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
-}
- `,ri=h`
- fragment VariantSummaryFields on Variant {
- id
- name
- description
- gene {
- id
- name
- }
- sources {
- id
- citation
- sourceUrl
- displayType
- sourceType
- }
- variantAliases
- alleleRegistryId
- variantTypes {
- id
- link
- soid
- name
- }
- hgvsDescriptions
- clinvarIds
- evidenceScore
- referenceBuild
- ensemblVersion
- primaryCoordinates {
- representativeTranscript
- chromosome
- start
- stop
- }
- secondaryCoordinates {
- representativeTranscript
- chromosome
- start
- stop
- }
- referenceBases
- variantBases
- flags(state: OPEN) {
- totalCount
- }
- revisions(status: NEW) {
- totalCount
- }
- comments {
- totalCount
- }
- myVariantInfo {
- ...MyVariantInfoFields
- }
- lastSubmittedRevisionEvent {
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
- lastAcceptedRevisionEvent {
- originatingUser {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- }
-}
- ${h`
- fragment MyVariantInfoFields on MyVariantInfo {
- myVariantInfoId
- caddConsequence
- caddDetail
- caddScore
- clinvarClinicalSignificance
- clinvarHgvsCoding
- clinvarHgvsGenomic
- clinvarHgvsNonCoding
- clinvarHgvsProtein
- clinvarId
- clinvarOmim
- cosmicId
- dbnsfpInterproDomain
- dbsnpRsid
- eglClass
- eglHgvs
- eglProtein
- eglTranscript
- exacAlleleCount
- exacAlleleFrequency
- exacAlleleNumber
- fathmmMklPrediction
- fathmmMklScore
- fathmmPrediction
- fathmmScore
- fitconsScore
- gerp
- gnomadExomeAlleleCount
- gnomadExomeAlleleFrequency
- gnomadExomeAlleleNumber
- gnomadExomeFilter
- gnomadGenomeAlleleCount
- gnomadGenomeAlleleFrequency
- gnomadGenomeAlleleNumber
- gnomadGenomeFilter
- lrtPrediction
- lrtScore
- metalrPrediction
- metalrScore
- metasvmPrediction
- metasvmScore
- mutationassessorPrediction
- mutationassessorScore
- mutationtasterPrediction
- mutationtasterScore
- phastcons100way
- phastcons30way
- phyloP100way
- phyloP30way
- polyphen2HdivPrediction
- polyphen2HdivScore
- polyphen2HvarPrediction
- polyphen2HvarScore
- proveanPrediction
- proveanScore
- revelScore
- siftPrediction
- siftScore
- siphy
- snpeffSnpEffect
- snpeffSnpImpact
-}
- `}`,si=h`
- query AssertionPopover($assertionId: Int!) {
- assertion(id: $assertionId) {
- ...assertionPopover
- }
-}
- ${Vt}`;let ai=(()=>{class e extends p.AE{constructor(n){super(n),this.document=si}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ci=h`
- query AssertionsBrowse($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $drugName: String, $id: Int, $summary: String, $assertionDirection: EvidenceDirection, $clinicalSignificance: EvidenceClinicalSignificance, $assertionType: EvidenceType, $variantId: Int, $evidenceId: Int, $geneName: String, $variantName: String, $sortBy: AssertionSort, $ampLevel: AmpLevel, $organizationId: Int, $userId: Int, $phenotypeId: Int, $diseaseId: Int, $drugId: Int, $status: EvidenceStatus, $cardView: Boolean!) {
- assertions(
- first: $first
- last: $last
- before: $before
- after: $after
- diseaseName: $diseaseName
- drugName: $drugName
- id: $id
- summary: $summary
- assertionDirection: $assertionDirection
- clinicalSignificance: $clinicalSignificance
- assertionType: $assertionType
- variantId: $variantId
- sortBy: $sortBy
- ampLevel: $ampLevel
- geneName: $geneName
- variantName: $variantName
- evidenceId: $evidenceId
- organizationId: $organizationId
- userId: $userId
- phenotypeId: $phenotypeId
- drugId: $drugId
- diseaseId: $diseaseId
- status: $status
- ) {
- totalCount
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- ...AssertionBrowseTableRowFields
- }
- }
- }
-}
- ${Zt}`;let li=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ci}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ui=h`
- query ClinicalTrialPopover($clinicalTrialId: Int!) {
- clinicalTrials(id: $clinicalTrialId) {
- edges {
- node {
- ...clinicalTrialPopover
- }
- }
- }
-}
- ${kt}`;let di=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ui}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const pi=h`
- query ClinicalTrialsBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $nctId: String, $sortBy: ClinicalTrialSort) {
- clinicalTrials(
- first: $first
- last: $last
- before: $before
- after: $after
- name: $name
- nctId: $nctId
- sortBy: $sortBy
- ) {
- totalCount
- filteredCount
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- id
- name
- nctId
- evidenceCount
- sourceCount
- link
- }
- }
- }
-}
- `;let mi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=pi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const gi=h`
- query CommentList($first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $mentionedUserId: Int, $mentionedRole: UserRole, $mentionedEntity: TaggableEntityInput, $subject: CommentableInput, $sortBy: DateSort) {
- comments(
- first: $first
- last: $last
- before: $before
- after: $after
- originatingUserId: $originatingUserId
- mentionedUserId: $mentionedUserId
- mentionedRole: $mentionedRole
- mentionedEntity: $mentionedEntity
- subject: $subject
- sortBy: $sortBy
- ) {
- totalCount
- pageInfo {
- startCursor
- endCursor
- hasPreviousPage
- hasNextPage
- }
- uniqueCommenters {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- mentionedUsers {
- id
- displayName
- role
- profileImagePath(size: 32)
- }
- mentionedRoles {
- displayName
- entityId
- tagType
- link
- }
- mentionedEntities {
- displayName
- entityId
- tagType
- link
- }
- unfilteredCountForSubject
- edges {
- cursor
- node {
- ...commentListNode
- }
- }
- }
-}
- ${u}`;let fi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=gi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const hi=h`
- query CommentPopover($commentId: Int!) {
- comment(id: $commentId) {
- ...commentPopover
- }
-}
- ${M}`;let vi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=hi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const zi=h`
- query DiseasePopover($diseaseId: Int!) {
- diseasePopover(id: $diseaseId) {
- id
- name
- displayName
- doid
- diseaseUrl
- diseaseAliases
- assertionCount
- evidenceItemCount
- variantCount
- link
- }
-}
- `;let yi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=zi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ci=h`
- query BrowseDiseases($first: Int, $last: Int, $before: String, $after: String, $sortBy: DiseasesSort, $name: String, $doid: String, $geneNames: String) {
- browseDiseases(
- first: $first
- last: $last
- before: $before
- after: $after
- sortBy: $sortBy
- name: $name
- doid: $doid
- geneNames: $geneNames
- ) {
- pageInfo {
- endCursor
- hasNextPage
- hasPreviousPage
- startCursor
- }
- totalCount
- filteredCount
- pageCount
- edges {
- cursor
- node {
- ...BrowseDiseaseRowFields
- }
- }
- }
-}
- ${c}`;let Ii=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ci}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ti=h`
- query DrugPopover($drugId: Int!) {
- drugPopover(id: $drugId) {
- id
- name
- drugUrl
- ncitId
- drugAliases
- assertionCount
- evidenceItemCount
- link
- }
-}
- `;let _i=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ti}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Si=h`
- query DrugsBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $ncitId: String, $sortBy: DrugSort) {
- drugs(
- first: $first
- last: $last
- before: $before
- after: $after
- name: $name
- ncitId: $ncitId
- sortBy: $sortBy
- ) {
- totalCount
- filteredCount
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- ...DrugBrowseTableRowFields
- }
- }
- }
-}
- ${v}`;let Di=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Si}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ei=h`
- query EventFeed($subject: SubscribableQueryInput, $first: Int, $last: Int, $before: String, $after: String, $originatingUserId: Int, $organizationId: Int, $eventType: EventAction, $mode: EventFeedMode, $showFilters: Boolean!) {
- events(
- subject: $subject
- first: $first
- last: $last
- before: $before
- after: $after
- originatingUserId: $originatingUserId
- organizationId: $organizationId
- eventType: $eventType
- mode: $mode
- ) {
- ...eventFeed
- }
-}
- ${ae}`;let Ni=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ei}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ai=h`
- query EvidencePopover($evidenceId: Int!) {
- evidenceItem(id: $evidenceId) {
- ...evidencePopover
- }
-}
- ${et}`;let Oi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ai}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Mi=h`
- query EvidenceBrowse($first: Int, $last: Int, $before: String, $after: String, $diseaseName: String, $drugName: String, $id: Int, $description: String, $evidenceLevel: EvidenceLevel, $evidenceDirection: EvidenceDirection, $clinicalSignificance: EvidenceClinicalSignificance, $evidenceType: EvidenceType, $rating: Int, $variantOrigin: VariantOrigin, $variantId: Int, $assertionId: Int, $organizationId: Int, $userId: Int, $sortBy: EvidenceSort, $phenotypeId: Int, $diseaseId: Int, $drugId: Int, $sourceId: Int, $clinicalTrialId: Int, $geneSymbol: String, $variantName: String, $status: EvidenceStatus, $cardView: Boolean!) {
- evidenceItems(
- first: $first
- last: $last
- before: $before
- after: $after
- diseaseName: $diseaseName
- drugName: $drugName
- id: $id
- description: $description
- evidenceLevel: $evidenceLevel
- evidenceDirection: $evidenceDirection
- clinicalSignificance: $clinicalSignificance
- evidenceType: $evidenceType
- evidenceRating: $rating
- variantOrigin: $variantOrigin
- variantId: $variantId
- assertionId: $assertionId
- organizationId: $organizationId
- userId: $userId
- phenotypeId: $phenotypeId
- diseaseId: $diseaseId
- drugId: $drugId
- sourceId: $sourceId
- clinicalTrialId: $clinicalTrialId
- geneSymbol: $geneSymbol
- variantName: $variantName
- status: $status
- sortBy: $sortBy
- ) {
- totalCount
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- ...EvidenceGridFields
- }
- }
- }
-}
- ${Yt}`;let Li=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Mi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const xi=h`
- query FlagList($flaggable: FlaggableInput, $flaggingUserId: Int, $resolvingUserId: Int, $state: FlagState, $sortBy: DateSort, $first: Int, $last: Int, $before: String, $after: String) {
- flags(
- flaggable: $flaggable
- flaggingUserId: $flaggingUserId
- resolvingUserId: $resolvingUserId
- state: $state
- sortBy: $sortBy
- first: $first
- last: $last
- before: $before
- after: $after
- ) {
- ...flagList
- }
-}
- ${nn}`;let Fi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=xi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const bi=h`
- query GenePopover($geneId: Int!) {
- gene(id: $geneId) {
- ...genePopover
- }
-}
- ${on}`;let $i=(()=>{class e extends p.AE{constructor(n){super(n),this.document=bi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ri=h`
- query BrowseGenes($entrezSymbol: String, $drugName: String, $geneAlias: String, $diseaseName: String, $sortBy: GenesSort, $first: Int, $last: Int, $before: String, $after: String) {
- browseGenes(
- entrezSymbol: $entrezSymbol
- drugName: $drugName
- geneAlias: $geneAlias
- diseaseName: $diseaseName
- sortBy: $sortBy
- first: $first
- last: $last
- before: $before
- after: $after
- ) {
- edges {
- cursor
- node {
- id
- entrezId
- name
- link
- geneAliases
- diseases {
- name
- id
- link
- }
- drugs {
- name
- id
- link
- }
- variantCount
- evidenceItemCount
- assertionCount
- }
- }
- pageInfo {
- startCursor
- endCursor
- hasPreviousPage
- hasNextPage
- }
- totalCount
- filteredCount
- pageCount
- }
-}
- `;let Pi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ri}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Gi=h`
- query Quicksearch($query: String!) {
- search(query: $query) {
- ...QuicksearchResult
- }
-}
- ${rn}`;let wi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Gi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Bi=h`
- query OrgPopover($orgId: Int!) {
- organization(id: $orgId) {
- ...orgPopover
- }
-}
- ${sn}`;let Ui=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Bi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Qi=h`
- query OrganizationsBrowse($first: Int, $last: Int, $before: String, $after: String, $id: Int, $orgName: String, $sortBy: OrganizationSort, $cardView: Boolean!) {
- organizations(
- first: $first
- last: $last
- before: $before
- after: $after
- name: $orgName
- id: $id
- sortBy: $sortBy
- ) {
- totalCount
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- ...OrganizationBrowseTableRowFields
- }
- }
- }
-}
- ${an}`;let Vi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Qi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Zi=h`
- query PhenotypePopover($phenotypeId: Int!) {
- phenotypePopover(id: $phenotypeId) {
- id
- name
- url
- hpoId
- assertionCount
- evidenceItemCount
- link
- }
-}
- `;let ki=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Zi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Yi=h`
- query PhenotypesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $hpoId: String, $sortBy: PhenotypeSort) {
- phenotypes(
- first: $first
- last: $last
- before: $before
- after: $after
- name: $name
- hpoId: $hpoId
- sortBy: $sortBy
- ) {
- totalCount
- filteredCount
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- ...PhenotypeBrowseTableRowFields
- }
- }
- }
-}
- ${cn}`;let Wi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Yi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ji=h`
- mutation AcceptRevision($input: AcceptRevisionsInput!) {
- acceptRevisions(input: $input) {
- revisions {
- id
- __typename
- }
- }
-}
- `;let ji=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Ji}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ki=h`
- mutation RejectRevision($input: RejectRevisionsInput!) {
- rejectRevisions(input: $input) {
- revisions {
- id
- __typename
- }
- }
-}
- `;let Hi=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Ki}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Xi=h`
- query ValidateRevisionsForAcceptance($ids: [Int!]!) {
- validateRevisionsForAcceptance(revisionIds: $ids) {
- genericErrors
- validationErrors {
- ...validationError
- }
- }
-}
- ${ln}`;let qi=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Xi}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const eo=h`
- query Revisions($subject: ModeratedInput, $first: Int, $last: Int, $before: String, $after: String, $fieldName: String, $originatingUserId: Int, $resolvingUserId: Int, $revisionsetId: String, $status: RevisionStatus) {
- revisions(
- first: $first
- last: $last
- before: $before
- after: $after
- fieldName: $fieldName
- originatingUserId: $originatingUserId
- resolvingUserId: $resolvingUserId
- subject: $subject
- status: $status
- revisionsetId: $revisionsetId
- ) {
- totalCount
- unfilteredCountForSubject
- uniqueRevisors {
- username
- id
- profileImagePath(size: 32)
- }
- uniqueResolvers {
- username
- id
- profileImagePath(size: 32)
- }
- revisedFieldNames {
- name
- displayName
- }
- pageInfo {
- hasNextPage
- hasPreviousPage
- endCursor
- startCursor
- }
- edges {
- node {
- ...revision
- }
- }
- }
-}
- ${un}`;let to=(()=>{class e extends p.AE{constructor(n){super(n),this.document=eo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const no=h`
- query ContributorAvatars($subscribable: SubscribableInput!) {
- contributors(subscribable: $subscribable) {
- editors {
- ...ContributorFields
- }
- curators {
- ...ContributorFields
- }
- }
-}
- ${dn}`;let io=(()=>{class e extends p.AE{constructor(n){super(n),this.document=no}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const oo=h`
- query SubscriptionForEntity($subscribable: SubscribableInput!) {
- subscriptionForEntity(subscribable: $subscribable) {
- ...subscriptionId
- }
-}
- ${pn}`;let ro=(()=>{class e extends p.AE{constructor(n){super(n),this.document=oo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const so=h`
- mutation ModerateEvidenceItem($input: ModerateEvidenceItemInput!) {
- moderateEvidenceItem(input: $input) {
- evidenceItem {
- id
- }
- }
-}
- `;let ao=(()=>{class e extends p.mm{constructor(n){super(n),this.document=so}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const co=h`
- mutation ModerateAssertion($input: ModerateAssertionInput!) {
- moderateAssertion(input: $input) {
- assertion {
- id
- }
- }
-}
- `;let lo=(()=>{class e extends p.mm{constructor(n){super(n),this.document=co}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const uo=h`
- query CivicStats {
- timepointStats {
- assertions {
- ...TimepointCount
- }
- diseases {
- ...TimepointCount
- }
- comments {
- ...TimepointCount
- }
- drugs {
- ...TimepointCount
- }
- evidenceItems {
- ...TimepointCount
- }
- genes {
- ...TimepointCount
- }
- revisions {
- ...TimepointCount
- }
- sources {
- ...TimepointCount
- }
- users {
- ...TimepointCount
- }
- variants {
- ...TimepointCount
- }
- }
-}
- ${mn}`;let po=(()=>{class e extends p.AE{constructor(n){super(n),this.document=uo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mo=h`
- query BrowseSourceSuggestions($first: Int, $last: Int, $before: String, $after: String, $sortBy: SourceSuggestionsSort, $sourceType: SourceSource, $citationId: Int, $sourceId: Int, $geneName: String, $variantName: String, $diseaseName: String, $comment: String, $submitter: String, $citation: String, $submitterId: Int, $status: SourceSuggestionStatus) {
- sourceSuggestions(
- first: $first
- last: $last
- before: $before
- after: $after
- sortBy: $sortBy
- sourceType: $sourceType
- citationId: $citationId
- sourceId: $sourceId
- geneName: $geneName
- variantName: $variantName
- diseaseName: $diseaseName
- comment: $comment
- submitter: $submitter
- citation: $citation
- submitterId: $submitterId
- status: $status
- ) {
- pageInfo {
- endCursor
- hasNextPage
- startCursor
- hasPreviousPage
- }
- totalCount
- filteredCount
- pageCount
- edges {
- cursor
- node {
- ...BrowseSourceSuggestionRowFields
- }
- }
- }
-}
- ${gn}`;let go=(()=>{class e extends p.AE{constructor(n){super(n),this.document=mo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();h`
- mutation UpdateSourceSuggestionStatus($input: UpdateSourceSuggestionStatusInput!) {
- updateSourceSuggestionStatus(input: $input) {
- sourceSuggestion {
- id
- status
- }
- }
-}
- `;const fo=h`
- query SourcePopover($sourceId: Int!) {
- sourcePopover(id: $sourceId) {
- ...sourcePopover
- }
-}
- ${fn}`;let ho=(()=>{class e extends p.AE{constructor(n){super(n),this.document=fo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const vo=h`
- query BrowseSources($first: Int, $last: Int, $before: String, $after: String, $sortBy: SourcesSort, $name: String, $year: Int, $sourceType: SourceSource, $citationId: Int, $author: String, $journal: String, $clinicalTrialId: Int) {
- browseSources(
- first: $first
- last: $last
- before: $before
- after: $after
- sortBy: $sortBy
- name: $name
- year: $year
- sourceType: $sourceType
- citationId: $citationId
- author: $author
- journal: $journal
- clinicalTrialId: $clinicalTrialId
- ) {
- pageInfo {
- endCursor
- hasNextPage
- startCursor
- hasPreviousPage
- }
- totalCount
- filteredCount
- pageCount
- edges {
- cursor
- node {
- ...BrowseSourceRowFields
- }
- }
- }
-}
- ${hn}`;let zo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=vo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const yo=h`
- query UserPopover($userId: Int!) {
- user(id: $userId) {
- ...popoverUser
- }
-}
- ${vn}`;let Co=(()=>{class e extends p.AE{constructor(n){super(n),this.document=yo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Io=h`
- query UsersBrowse($first: Int, $last: Int, $before: String, $after: String, $userName: String, $orgName: OrganizationFilter, $userRole: UserRole, $sortBy: UsersSort) {
- users(
- first: $first
- last: $last
- before: $before
- after: $after
- name: $userName
- organization: $orgName
- role: $userRole
- sortBy: $sortBy
- ) {
- pageInfo {
- endCursor
- hasNextPage
- hasPreviousPage
- startCursor
- }
- totalCount
- edges {
- cursor
- node {
- ...UserBrowseTableRowFields
- }
- }
- }
-}
- ${zn}`;let To=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Io}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const _o=h`
- query VariantGroupPopover($variantGroupId: Int!) {
- variantGroup(id: $variantGroupId) {
- ...variantGroupPopoverFields
- }
-}
- ${yn}`;let So=(()=>{class e extends p.AE{constructor(n){super(n),this.document=_o}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Do=h`
- query BrowseVariantGroups($first: Int, $last: Int, $before: String, $after: String, $sortBy: VariantGroupsSort, $name: String, $geneNames: String, $variantNames: String) {
- browseVariantGroups(
- first: $first
- last: $last
- before: $before
- after: $after
- sortBy: $sortBy
- name: $name
- geneNames: $geneNames
- variantNames: $variantNames
- ) {
- pageInfo {
- endCursor
- hasNextPage
- startCursor
- hasPreviousPage
- }
- totalCount
- filteredCount
- pageCount
- edges {
- cursor
- node {
- ...BrowseVariantGroupRowFields
- }
- }
- }
-}
- ${Cn}`;let Eo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Do}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const No=h`
- query VariantTypePopover($variantTypeId: Int!) {
- variantTypePopover(id: $variantTypeId) {
- ...variantTypePopover
- }
-}
- ${In}`;let Ao=(()=>{class e extends p.AE{constructor(n){super(n),this.document=No}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Oo=h`
- query VariantTypesBrowse($first: Int, $last: Int, $before: String, $after: String, $name: String, $soid: String, $sortBy: VariantTypeSort) {
- variantTypes(
- first: $first
- last: $last
- before: $before
- after: $after
- name: $name
- soid: $soid
- sortBy: $sortBy
- ) {
- totalCount
- filteredCount
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- ...VariantTypeBrowseTableRowFields
- }
- }
- }
-}
- ${Tn}`;let Mo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Oo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Lo=h`
- query VariantPopover($variantId: Int!) {
- variant(id: $variantId) {
- ...variantPopoverFields
- }
-}
- ${_n}`;let xo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Lo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Fo=h`
- query VariantsMenu($geneId: Int, $variantName: String, $evidenceStatusFilter: VariantDisplayFilter, $first: Int, $last: Int, $before: String, $after: String, $sortBy: VariantMenuSort) {
- variants(
- geneId: $geneId
- name: $variantName
- evidenceStatusFilter: $evidenceStatusFilter
- first: $first
- last: $last
- before: $before
- after: $after
- sortBy: $sortBy
- ) {
- totalCount
- pageInfo {
- startCursor
- endCursor
- hasPreviousPage
- hasNextPage
- }
- edges {
- cursor
- node {
- ...menuVariant
- }
- }
- }
-}
- ${Sn}`;let bo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Fo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $o=h`
- query BrowseVariants($variantName: String, $entrezSymbol: String, $diseaseName: String, $drugName: String, $variantAlias: String, $variantTypeId: Int, $variantGroupId: Int, $sortBy: VariantsSort, $first: Int, $last: Int, $before: String, $after: String) {
- browseVariants(
- variantName: $variantName
- entrezSymbol: $entrezSymbol
- diseaseName: $diseaseName
- drugName: $drugName
- variantAlias: $variantAlias
- variantTypeId: $variantTypeId
- variantGroupId: $variantGroupId
- sortBy: $sortBy
- first: $first
- last: $last
- before: $before
- after: $after
- ) {
- pageInfo {
- endCursor
- hasNextPage
- startCursor
- hasPreviousPage
- }
- edges {
- cursor
- node {
- id
- name
- link
- evidenceScore
- evidenceItemCount
- geneId
- geneName
- geneLink
- diseases {
- id
- name
- link
- }
- drugs {
- id
- name
- link
- }
- aliases {
- name
- }
- assertionCount
- }
- }
- totalCount
- filteredCount
- pageCount
- }
-}
- `;let Ro=(()=>{class e extends p.AE{constructor(n){super(n),this.document=$o}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Po=h`
- query ViewerBase {
- viewer {
- id
- username
- role
- displayName
- profileImagePath(size: 32)
- organizations {
- id
- name
- profileImagePath(size: 32)
- }
- mostRecentConflictOfInterestStatement {
- coiStatus
- }
- mostRecentOrganizationId
- }
-}
- `;let Go=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Po}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const wo=h`
- query ViewerNotificationCount {
- notifications {
- unreadCount
- }
-}
- `;let Bo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=wo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Uo=h`
- query AssertionRevisableFields($assertionId: Int!) {
- assertion(id: $assertionId) {
- ...RevisableAssertionFields
- }
-}
- ${Dn}`;let Qo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Uo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Vo=h`
- mutation SuggestAssertionRevision($input: SuggestAssertionRevisionInput!) {
- suggestAssertionRevision(input: $input) {
- clientMutationId
- assertion {
- id
- }
- }
-}
- `;let Zo=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Vo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ko=h`
- mutation SubmitAssertion($input: SubmitAssertionInput!) {
- submitAssertion(input: $input) {
- clientMutationId
- assertion {
- id
- }
- }
-}
- `;let Yo=(()=>{class e extends p.mm{constructor(n){super(n),this.document=ko}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Wo=h`
- mutation AddComment($input: AddCommentInput!) {
- addComment(input: $input) {
- clientMutationId
- comment {
- ...commentListNode
- }
- }
-}
- ${u}`;let Jo=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Wo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jo=h`
- query previewComment($commentText: String!) {
- previewCommentText(commentText: $commentText) {
- ...previewComment
- }
-}
- ${En}`;let Ko=(()=>{class e extends p.AE{constructor(n){super(n),this.document=jo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ho=h`
- query userTypeahead($queryTerm: String!) {
- userTypeahead(queryTerm: $queryTerm) {
- username
- }
-}
- `;let Xo=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ho}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const qo=h`
- query entityTypeahead($queryTerm: String!) {
- entityTypeahead(queryTerm: $queryTerm) {
- entityId
- tagType
- displayName
- }
-}
- `;let er=(()=>{class e extends p.AE{constructor(n){super(n),this.document=qo}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const tr=h`
- query AcmgCodeTypeahead($code: String!) {
- acmgCodesTypeahead(queryTerm: $code) {
- id
- code
- description
- }
-}
- `;let nr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=tr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ir=h`
- query DiseaseTypeahead($name: String!) {
- diseaseTypeahead(queryTerm: $name) {
- id
- name
- displayName
- doid
- diseaseAliases
- }
-}
- `;let or=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ir}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rr=h`
- mutation AddDisease($name: String!, $doid: Int) {
- addDisease(input: {name: $name, doid: $doid}) {
- ...AddDiseaseFields
- }
-}
- ${Nn}`;let sr=(()=>{class e extends p.mm{constructor(n){super(n),this.document=rr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ar=h`
- query DrugTypeahead($name: String!) {
- drugTypeahead(queryTerm: $name) {
- id
- name
- ncitId
- drugAliases
- }
-}
- `;let cr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ar}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const lr=h`
- mutation AddDrug($name: String!, $ncitId: String) {
- addDrug(input: {name: $name, ncitId: $ncitId}) {
- ...AddDrugFields
- }
-}
- ${An}`;let ur=(()=>{class e extends p.mm{constructor(n){super(n),this.document=lr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const dr=h`
- query EvidenceTypeahead($id: Int!) {
- evidenceItem(id: $id) {
- id
- status
- name
- }
-}
- `;let pr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=dr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const mr=h`
- query GeneTypeahead($entrezSymbol: String!) {
- geneTypeahead(queryTerm: $entrezSymbol) {
- ...GeneTypeaheadFields
- }
-}
- ${On}`;let gr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=mr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fr=h`
- query NccnGuidelineTypeahead($name: String!) {
- nccnGuidelinesTypeahead(queryTerm: $name) {
- id
- name
- }
-}
- `;let hr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=fr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const vr=h`
- query PhenotypeTypeahead($name: String!) {
- phenotypeTypeahead(queryTerm: $name) {
- hpoId
- id
- name
- }
-}
- `;let zr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=vr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const yr=h`
- query CitationTypeahead($partialCitationId: Int!, $sourceType: SourceSource!) {
- sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) {
- ...SourceTypeaheadResult
- }
-}
- ${Kt}`;let Cr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=yr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ir=h`
- query CitationExistenceCheck($sourceType: SourceSource!, $citationId: Int!) {
- remoteCitation(sourceType: $sourceType, citationId: $citationId)
-}
- `;let Tr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ir}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const _r=h`
- mutation CreateSourceStub($input: AddRemoteCitationInput!) {
- addRemoteCitation(input: $input) {
- newSource {
- id
- citationId
- sourceType
- }
- }
-}
- `;let Sr=(()=>{class e extends p.mm{constructor(n){super(n),this.document=_r}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Dr=h`
- query CheckRemoteCitation($sourceType: SourceSource!, $citationId: Int!) {
- remoteCitation(sourceType: $sourceType, citationId: $citationId)
-}
- `;let Er=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Dr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Nr=h`
- mutation AddRemoteCitation($input: AddRemoteCitationInput!) {
- addRemoteCitation(input: $input) {
- newSource {
- ...SourceStubFields
- }
- }
-}
- ${Ht}`;let Ar=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Nr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Or=h`
- query SourceTypeahead($partialCitationId: Int!, $sourceType: SourceSource!) {
- sourceTypeahead(citationId: $partialCitationId, sourceType: $sourceType) {
- ...SourceTypeaheadResult
- }
-}
- ${Kt}`;let Mr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Or}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Lr=h`
- query VariantTypeahead($name: String!, $geneId: Int) {
- variants(name: $name, geneId: $geneId, first: 20) {
- nodes {
- ...VariantTypeaheadFields
- }
- }
-}
- ${Xt}`;let xr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Lr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Fr=h`
- mutation AddVariant($name: String!, $geneId: Int!) {
- addVariant(input: {name: $name, geneId: $geneId}) {
- ...AddVariantFields
- }
-}
- ${Ln}`;let br=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Fr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();h`
- query VariantSelect($name: String!, $geneId: Int) {
- variants(name: $name, first: 20, geneId: $geneId) {
- nodes {
- ...VariantTypeaheadFields
- }
- }
-}
- ${Xt}`;const $r=h`
- query VariantTypeTypeahead($name: String!) {
- variantTypeTypeahead(queryTerm: $name) {
- name
- soid
- id
- }
-}
- `;let Rr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=$r}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Pr=h`
- query EvidenceItemRevisableFields($evidenceId: Int!) {
- evidenceItem(id: $evidenceId) {
- ...RevisableEvidenceFields
- }
-}
- ${xn}`;let Gr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Pr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const wr=h`
- mutation SuggestEvidenceItemRevision($input: SuggestEvidenceItemRevisionInput!) {
- suggestEvidenceItemRevision(input: $input) {
- clientMutationId
- evidenceItem {
- id
- }
- }
-}
- `;let Br=(()=>{class e extends p.mm{constructor(n){super(n),this.document=wr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ur=h`
- query EvidenceFieldsFromSourceSuggestion($sourceId: Int, $geneId: Int, $variantId: Int, $diseaseId: Int) {
- sourceSuggestionValues(
- geneId: $geneId
- variantId: $variantId
- diseaseId: $diseaseId
- sourceId: $sourceId
- ) {
- gene {
- id
- name
- link
- }
- variant {
- id
- name
- link
- }
- disease {
- id
- name
- link
- }
- source {
- id
- sourceType
- citationId
- citation
- link
- }
- }
-}
- `;let Qr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ur}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();h`
- query EvidenceSubmittableFields($evidenceId: Int!) {
- evidenceItem(id: $evidenceId) {
- ...SubmittableEvidenceFields
- }
-}
- ${Fn}`;const Vr=h`
- mutation SubmitEvidenceItem($input: SubmitEvidenceItemInput!) {
- submitEvidence(input: $input) {
- clientMutationId
- evidenceItem {
- id
- }
- }
-}
- `;let Zr=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Vr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const kr=h`
- mutation FlagEntity($input: FlagEntityInput!) {
- flagEntity(input: $input) {
- flag {
- id
- }
- }
-}
- `;let Yr=(()=>{class e extends p.mm{constructor(n){super(n),this.document=kr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Wr=h`
- mutation ResolveFlag($input: ResolveFlagInput!) {
- resolveFlag(input: $input) {
- flag {
- id
- }
- }
-}
- `;let Jr=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Wr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const jr=h`
- query GeneRevisableFields($geneId: Int!) {
- gene(id: $geneId) {
- ...RevisableGeneFields
- }
-}
- ${bn}`;let Kr=(()=>{class e extends p.AE{constructor(n){super(n),this.document=jr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Hr=h`
- mutation SuggestGeneRevision($input: SuggestGeneRevisionInput!) {
- suggestGeneRevision(input: $input) {
- clientMutationId
- gene {
- id
- revisions {
- totalCount
- edges {
- node {
- id
- revisionsetId
- createdAt
- fieldName
- currentValue
- suggestedValue
- linkoutData {
- name
- diffValue {
- ... on ObjectFieldDiff {
- addedObjects {
- id
- displayName
- displayType
- entityType
- }
- removedObjects {
- id
- displayName
- displayType
- entityType
- }
- keptObjects {
- id
- displayName
- displayType
- entityType
- }
- }
- ... on ScalarFieldDiff {
- left
- right
- }
- }
- }
- revisor {
- id
- name
- }
- status
- }
- }
- }
- }
- results {
- id
- fieldName
- }
- }
-}
- `;let Xr=(()=>{class e extends p.mm{constructor(n){super(n),this.document=Hr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const qr=h`
- mutation SuggestSource($input: SuggestSourceInput!) {
- suggestSource(input: $input) {
- clientMutationId
- sourceSuggestion {
- id
- }
- }
-}
- `;let es=(()=>{class e extends p.mm{constructor(n){super(n),this.document=qr}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ts=h`
- mutation UpdateSourceSuggestion($input: UpdateSourceSuggestionStatusInput!) {
- updateSourceSuggestionStatus(input: $input) {
- sourceSuggestion {
- id
- status
- }
- }
-}
- `;let ns=(()=>{class e extends p.mm{constructor(n){super(n),this.document=ts}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const is=h`
- mutation UpdateCoi($input: UpdateCoiInput!) {
- updateCoi(input: $input) {
- coiStatement {
- coiPresent
- coiStatus
- createdAt
- id
- }
- }
-}
- `;let os=(()=>{class e extends p.mm{constructor(n){super(n),this.document=is}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const rs=h`
- mutation UpdateUserProfile($input: EditUserInput!) {
- editUser(input: $input) {
- user {
- id
- }
- }
-}
- `;let ss=(()=>{class e extends p.mm{constructor(n){super(n),this.document=rs}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const as=h`
- query Countries {
- countries {
- id
- name
- }
-}
- `;let cs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=as}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ls=h`
- mutation SuggestVariantGroupRevision($input: SuggestVariantGroupRevisionInput!) {
- suggestVariantGroupRevision(input: $input) {
- clientMutationId
- variantGroup {
- id
- }
- results {
- id
- fieldName
- }
- }
-}
- `;let us=(()=>{class e extends p.mm{constructor(n){super(n),this.document=ls}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ds=h`
- query VariantGroupSubmittableFields($variantGroupId: Int!) {
- variantGroup(id: $variantGroupId) {
- ...SubmittableVariantGroupFields
- }
-}
- ${$n}`;let ps=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ds}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ms=h`
- mutation SubmitVariantGroup($input: SubmitVariantGroupInput!) {
- submitVariantGroup(input: $input) {
- clientMutationId
- variantGroup {
- id
- }
- }
-}
- `;let gs=(()=>{class e extends p.mm{constructor(n){super(n),this.document=ms}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fs=h`
- query VariantRevisableFields($variantId: Int!) {
- variant(id: $variantId) {
- ...RevisableVariantFields
- }
-}
- ${Pn}`;let hs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=fs}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const vs=h`
- mutation SuggestVariantRevision($input: SuggestVariantRevisionInput!) {
- suggestVariantRevision(input: $input) {
- clientMutationId
- variant {
- id
- revisions {
- totalCount
- edges {
- node {
- id
- revisionsetId
- createdAt
- fieldName
- currentValue
- suggestedValue
- linkoutData {
- name
- diffValue {
- ... on ObjectFieldDiff {
- addedObjects {
- id
- displayName
- displayType
- entityType
- }
- removedObjects {
- id
- displayName
- displayType
- entityType
- }
- keptObjects {
- id
- displayName
- displayType
- entityType
- }
- }
- ... on ScalarFieldDiff {
- left
- right
- }
- }
- }
- revisor {
- id
- name
- }
- status
- }
- }
- }
- }
- results {
- id
- fieldName
- }
- }
-}
- `;let zs=(()=>{class e extends p.mm{constructor(n){super(n),this.document=vs}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ys=h`
- query AssertionDetail($assertionId: Int!) {
- assertion(id: $assertionId) {
- ...AssertionDetailFields
- }
-}
- ${Gn}`;let Cs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ys}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Is=h`
- query AssertionSummary($assertionId: Int!) {
- assertion(id: $assertionId) {
- ...AssertionSummaryFields
- }
-}
- ${wn}`;let Ts=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Is}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const _s=h`
- query ClinicalTrialDetail($clinicalTrialId: Int!) {
- clinicalTrial(id: $clinicalTrialId) {
- id
- name
- nctId
- description
- url
- link
- }
-}
- `;let Ss=(()=>{class e extends p.AE{constructor(n){super(n),this.document=_s}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ds=h`
- query DiseaseDetail($diseaseId: Int!) {
- disease(id: $diseaseId) {
- id
- name
- doid
- diseaseUrl
- displayName
- diseaseAliases
- link
- }
-}
- `;let Es=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ds}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ns=h`
- query DrugDetail($drugId: Int!) {
- drug(id: $drugId) {
- id
- name
- ncitId
- drugUrl
- drugAliases
- link
- }
-}
- `;let As=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ns}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Os=h`
- query EvidenceDetail($evidenceId: Int!) {
- evidenceItem(id: $evidenceId) {
- ...EvidenceDetailFields
- }
-}
- ${Bn}`;let Ms=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Os}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ls=h`
- query EvidenceSummary($evidenceId: Int!) {
- evidenceItem(id: $evidenceId) {
- ...EvidenceSummaryFields
- }
-}
- ${Un}`;let xs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ls}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Fs=h`
- query GeneDetail($geneId: Int!) {
- gene(id: $geneId) {
- ...GeneDetailFields
- }
-}
- ${Qn}`;let bs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Fs}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const $s=h`
- query GenesSummary($geneId: Int!) {
- gene(id: $geneId) {
- ...GeneSummaryFields
- }
-}
- ${Vn}`;let Rs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=$s}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ps=h`
- query OrganizationDetail($organizationId: Int!) {
- organization(id: $organizationId) {
- ...OrganizationDetailFields
- }
-}
- ${Zn}`;let Gs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ps}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ws=h`
- query OrganizationGroups($organizationId: Int!) {
- organization(id: $organizationId) {
- subGroups {
- ...OrganizationGroupsFields
- }
- }
-}
- ${kn}`;let Bs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ws}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Us=h`
- query OrganizationMembers($organizationId: Int!, $first: Int, $last: Int, $before: String, $after: String) {
- users(
- organization: {id: $organizationId}
- first: $first
- last: $last
- before: $before
- after: $after
- ) {
- pageInfo {
- hasNextPage
- hasPreviousPage
- startCursor
- endCursor
- }
- edges {
- cursor
- node {
- ...OrganizationMembersFields
- }
- }
- }
-}
- ${Yn}`;let Qs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Us}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Vs=h`
- query PhenotypeDetail($phenotypeId: Int!) {
- phenotype(id: $phenotypeId) {
- id
- name
- hpoId
- url
- link
- }
-}
- `;let Zs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Vs}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ks=h`
- query DataReleases {
- dataReleases {
- ...Release
- }
-}
- ${Wn}`;let Ys=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ks}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Ws=h`
- query SourceDetail($sourceId: Int!) {
- source(id: $sourceId) {
- ...SourceDetailFields
- }
-}
- ${Jn}`;let Js=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Ws}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const js=h`
- query SourceSummary($sourceId: Int!) {
- source(id: $sourceId) {
- ...SourceSummaryFields
- }
-}
- ${jn}`;let Ks=(()=>{class e extends p.AE{constructor(n){super(n),this.document=js}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const Hs=h`
- query UserDetail($userId: Int!) {
- user(id: $userId) {
- ...UserDetailFields
- }
-}
- ${Kn}`;let Xs=(()=>{class e extends p.AE{constructor(n){super(n),this.document=Hs}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const qs=h`
- query UserNotifications($first: Int, $last: Int, $before: String, $after: String, $notificationReason: NotificationReason, $subscriptionId: Int, $originatingObject: SubscribableInput, $eventType: EventAction, $originatingUserId: Int, $organizationId: Int, $includeRead: Boolean) {
- notifications(
- first: $first
- last: $last
- before: $before
- after: $after
- notificationReason: $notificationReason
- subscriptionId: $subscriptionId
- originatingObject: $originatingObject
- eventType: $eventType
- originatingUserId: $originatingUserId
- organizationId: $organizationId
- includeRead: $includeRead
- ) {
- pageInfo {
- startCursor
- endCursor
- hasNextPage
- hasPreviousPage
- }
- notificationSubjects {
- ...notificationFeedSubjects
- }
- originatingUsers {
- ...notificationOriginatingUsers
- }
- organizations {
- ...notificationOrganization
- }
- eventTypes
- edges {
- node {
- ...notificationNode
- }
- }
- }
-}
- ${qn}
-${Xn}
-${Hn}
-${qt}`;let ea=(()=>{class e extends p.AE{constructor(n){super(n),this.document=qs}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ta=h`
- mutation UpdateNotificationStatus($input: UpdateNotificationStatusInput!) {
- updateNotificationStatus(input: $input) {
- notifications {
- ...notificationNode
- }
- }
-}
- ${qt}`;let na=(()=>{class e extends p.mm{constructor(n){super(n),this.document=ta}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ia=h`
- mutation Unsubscribe($input: UnsubscribeInput!) {
- unsubscribe(input: $input) {
- unsubscribedEntities {
- ...subscribable
- }
- }
-}
- ${ei}`;let oa=(()=>{class e extends p.mm{constructor(n){super(n),this.document=ia}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ra=h`
- mutation Subscribe($input: SubscribeInput!) {
- subscribe(input: $input) {
- subscriptions {
- id
- }
- }
-}
- `;let sa=(()=>{class e extends p.mm{constructor(n){super(n),this.document=ra}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const aa=h`
- query VariantGroupDetail($variantGroupId: Int!) {
- variantGroup(id: $variantGroupId) {
- ...VariantGroupDetailFields
- }
-}
- ${ti}`;let ca=(()=>{class e extends p.AE{constructor(n){super(n),this.document=aa}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();h`
- query VariantGroupRevisions($variantGroupId: Int!, $first: Int, $last: Int, $before: String, $after: String, $fieldName: String, $originatingUserId: Int) {
- variantGroup(id: $variantGroupId) {
- id
- revisions(
- first: $first
- last: $last
- before: $before
- after: $after
- fieldName: $fieldName
- originatingUserId: $originatingUserId
- ) {
- totalCount
- uniqueRevisors {
- username
- id
- profileImagePath(size: 32)
- }
- revisedFieldNames {
- name
- displayName
- }
- edges {
- node {
- id
- revisionsetId
- createdAt
- fieldName
- currentValue
- suggestedValue
- linkoutData {
- name
- diffValue {
- ... on ObjectFieldDiff {
- addedObjects {
- id
- displayName
- displayType
- entityType
- }
- removedObjects {
- id
- displayName
- displayType
- entityType
- }
- keptObjects {
- id
- displayName
- displayType
- entityType
- }
- }
- ... on ScalarFieldDiff {
- left
- right
- }
- }
- }
- revisor {
- id
- name
- }
- status
- }
- }
- }
- }
-}
- `;const la=h`
- query VariantGroupsSummary($variantGroupId: Int!) {
- variantGroup(id: $variantGroupId) {
- ...VariantGroupSummaryFields
- }
-}
- ${ni}`;let ua=(()=>{class e extends p.AE{constructor(n){super(n),this.document=la}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const da=h`
- query VariantTypeDetail($variantTypeId: Int!) {
- variantType(id: $variantTypeId) {
- id
- name
- soid
- description
- url
- link
- }
-}
- `;let pa=(()=>{class e extends p.AE{constructor(n){super(n),this.document=da}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const ma=h`
- query VariantDetail($variantId: Int!) {
- variant(id: $variantId) {
- ...VariantDetailFields
- }
-}
- ${ii}`;let ga=(()=>{class e extends p.AE{constructor(n){super(n),this.document=ma}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})();const fa=h`
- query VariantSummary($variantId: Int!) {
- variant(id: $variantId) {
- ...VariantSummaryFields
- }
-}
- ${ri}`;let ha=(()=>{class e extends p.AE{constructor(n){super(n),this.document=fa}}return e.\u0275fac=function(n){return new(n||e)(a.LFG(p._M))},e.\u0275prov=a.Yz7({token:e,factory:e.\u0275fac,providedIn:"root"}),e})()},4024:(De,re,r)=>{r.r(re),r.d(re,{LayoutModule:()=>kt});var o=r(9808),i=r(325),t=r(5e3),D=r(9350),F=r(8929),Z=r(7625),w=r(655),q=r(4090),O=r(1721),L=r(4219),Q=r(925),K=r(647),Y=r(226),le=r(5113);const te=["*"],se=["nz-sider-trigger",""];function oe(u,M){}function V(u,M){if(1&u&&(t.ynx(0),t.YNc(1,oe,0,0,"ng-template",3),t.BQk()),2&u){const c=t.oxw(),v=t.MAs(5);t.xp6(1),t.Q6J("ngTemplateOutlet",c.nzZeroTrigger||v)}}function b(u,M){}function I(u,M){if(1&u&&(t.ynx(0),t.YNc(1,b,0,0,"ng-template",3),t.BQk()),2&u){const c=t.oxw(),v=t.MAs(3);t.xp6(1),t.Q6J("ngTemplateOutlet",c.nzTrigger||v)}}function R(u,M){if(1&u&&t._UZ(0,"i",5),2&u){const c=t.oxw(2);t.Q6J("nzType",c.nzCollapsed?"right":"left")}}function ne(u,M){if(1&u&&t._UZ(0,"i",5),2&u){const c=t.oxw(2);t.Q6J("nzType",c.nzCollapsed?"left":"right")}}function X(u,M){if(1&u&&(t.YNc(0,R,1,1,"i",4),t.YNc(1,ne,1,1,"i",4)),2&u){const c=t.oxw();t.Q6J("ngIf",!c.nzReverseArrow),t.xp6(1),t.Q6J("ngIf",c.nzReverseArrow)}}function de(u,M){1&u&&t._UZ(0,"i",6)}function fe(u,M){if(1&u){const c=t.EpF();t.TgZ(0,"div",2),t.NdJ("click",function(){t.CHM(c);const P=t.oxw();return P.setCollapsed(!P.nzCollapsed)}),t.qZA()}if(2&u){const c=t.oxw();t.Q6J("matchBreakPoint",c.matchBreakPoint)("nzCollapsedWidth",c.nzCollapsedWidth)("nzCollapsed",c.nzCollapsed)("nzBreakpoint",c.nzBreakpoint)("nzReverseArrow",c.nzReverseArrow)("nzTrigger",c.nzTrigger)("nzZeroTrigger",c.nzZeroTrigger)("siderWidth",c.widthSetting)}}let pe=(()=>{class u{constructor(c,v){this.elementRef=c,this.renderer=v,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-content")}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(t.SBq),t.Y36(t.Qsj))},u.\u0275cmp=t.Xpm({type:u,selectors:[["nz-content"]],exportAs:["nzContent"],ngContentSelectors:te,decls:1,vars:0,template:function(c,v){1&c&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),J=(()=>{class u{constructor(c,v){this.elementRef=c,this.renderer=v,this.renderer.addClass(this.elementRef.nativeElement,"ant-layout-header")}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(t.SBq),t.Y36(t.Qsj))},u.\u0275cmp=t.Xpm({type:u,selectors:[["nz-header"]],exportAs:["nzHeader"],ngContentSelectors:te,decls:1,vars:0,template:function(c,v){1&c&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),W=(()=>{class u{constructor(){this.nzCollapsed=!1,this.nzReverseArrow=!1,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.matchBreakPoint=!1,this.nzCollapsedWidth=null,this.siderWidth=null,this.nzBreakpoint=null,this.isZeroTrigger=!1,this.isNormalTrigger=!1}updateTriggerType(){this.isZeroTrigger=0===this.nzCollapsedWidth&&(this.nzBreakpoint&&this.matchBreakPoint||!this.nzBreakpoint),this.isNormalTrigger=0!==this.nzCollapsedWidth}ngOnInit(){this.updateTriggerType()}ngOnChanges(){this.updateTriggerType()}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["","nz-sider-trigger",""]],hostVars:10,hostBindings:function(c,v){2&c&&(t.Udp("width",v.isNormalTrigger?v.siderWidth:null),t.ekj("ant-layout-sider-trigger",v.isNormalTrigger)("ant-layout-sider-zero-width-trigger",v.isZeroTrigger)("ant-layout-sider-zero-width-trigger-right",v.isZeroTrigger&&v.nzReverseArrow)("ant-layout-sider-zero-width-trigger-left",v.isZeroTrigger&&!v.nzReverseArrow))},inputs:{nzCollapsed:"nzCollapsed",nzReverseArrow:"nzReverseArrow",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",matchBreakPoint:"matchBreakPoint",nzCollapsedWidth:"nzCollapsedWidth",siderWidth:"siderWidth",nzBreakpoint:"nzBreakpoint"},exportAs:["nzSiderTrigger"],features:[t.TTD],attrs:se,decls:6,vars:2,consts:[[4,"ngIf"],["defaultTrigger",""],["defaultZeroTrigger",""],[3,"ngTemplateOutlet"],["nz-icon","",3,"nzType",4,"ngIf"],["nz-icon","",3,"nzType"],["nz-icon","","nzType","bars"]],template:function(c,v){1&c&&(t.YNc(0,V,2,1,"ng-container",0),t.YNc(1,I,2,1,"ng-container",0),t.YNc(2,X,2,2,"ng-template",null,1,t.W1O),t.YNc(4,de,1,0,"ng-template",null,2,t.W1O)),2&c&&(t.Q6J("ngIf",v.isZeroTrigger),t.xp6(1),t.Q6J("ngIf",v.isNormalTrigger))},directives:[o.O5,o.tP,K.Ls],encapsulation:2,changeDetection:0}),u})(),g=(()=>{class u{constructor(c,v,P){this.platform=c,this.cdr=v,this.breakpointService=P,this.destroy$=new F.xQ,this.nzMenuDirective=null,this.nzCollapsedChange=new t.vpe,this.nzWidth=200,this.nzTheme="dark",this.nzCollapsedWidth=80,this.nzBreakpoint=null,this.nzZeroTrigger=null,this.nzTrigger=void 0,this.nzReverseArrow=!1,this.nzCollapsible=!1,this.nzCollapsed=!1,this.matchBreakPoint=!1,this.flexSetting=null,this.widthSetting=null}updateStyleMap(){this.widthSetting=this.nzCollapsed?`${this.nzCollapsedWidth}px`:(0,O.WX)(this.nzWidth),this.flexSetting=`0 0 ${this.widthSetting}`,this.cdr.markForCheck()}updateMenuInlineCollapsed(){this.nzMenuDirective&&"inline"===this.nzMenuDirective.nzMode&&0!==this.nzCollapsedWidth&&this.nzMenuDirective.setInlineCollapsed(this.nzCollapsed)}setCollapsed(c){c!==this.nzCollapsed&&(this.nzCollapsed=c,this.nzCollapsedChange.emit(c),this.updateMenuInlineCollapsed(),this.updateStyleMap(),this.cdr.markForCheck())}ngOnInit(){this.updateStyleMap(),this.platform.isBrowser&&this.breakpointService.subscribe(q.ow,!0).pipe((0,Z.R)(this.destroy$)).subscribe(c=>{const v=this.nzBreakpoint;v&&(0,O.ov)().subscribe(()=>{this.matchBreakPoint=!c[v],this.setCollapsed(this.matchBreakPoint),this.cdr.markForCheck()})})}ngOnChanges(c){const{nzCollapsed:v,nzCollapsedWidth:P,nzWidth:ae}=c;(v||P||ae)&&this.updateStyleMap(),v&&this.updateMenuInlineCollapsed()}ngAfterContentInit(){this.updateMenuInlineCollapsed()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(Q.t4),t.Y36(t.sBO),t.Y36(q.r3))},u.\u0275cmp=t.Xpm({type:u,selectors:[["nz-sider"]],contentQueries:function(c,v,P){if(1&c&&t.Suo(P,L.wO,5),2&c){let ae;t.iGM(ae=t.CRH())&&(v.nzMenuDirective=ae.first)}},hostAttrs:[1,"ant-layout-sider"],hostVars:18,hostBindings:function(c,v){2&c&&(t.Udp("flex",v.flexSetting)("max-width",v.widthSetting)("min-width",v.widthSetting)("width",v.widthSetting),t.ekj("ant-layout-sider-zero-width",v.nzCollapsed&&0===v.nzCollapsedWidth)("ant-layout-sider-light","light"===v.nzTheme)("ant-layout-sider-dark","dark"===v.nzTheme)("ant-layout-sider-collapsed",v.nzCollapsed)("ant-layout-sider-has-trigger",v.nzCollapsible&&null!==v.nzTrigger))},inputs:{nzWidth:"nzWidth",nzTheme:"nzTheme",nzCollapsedWidth:"nzCollapsedWidth",nzBreakpoint:"nzBreakpoint",nzZeroTrigger:"nzZeroTrigger",nzTrigger:"nzTrigger",nzReverseArrow:"nzReverseArrow",nzCollapsible:"nzCollapsible",nzCollapsed:"nzCollapsed"},outputs:{nzCollapsedChange:"nzCollapsedChange"},exportAs:["nzSider"],features:[t.TTD],ngContentSelectors:te,decls:3,vars:1,consts:[[1,"ant-layout-sider-children"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click",4,"ngIf"],["nz-sider-trigger","",3,"matchBreakPoint","nzCollapsedWidth","nzCollapsed","nzBreakpoint","nzReverseArrow","nzTrigger","nzZeroTrigger","siderWidth","click"]],template:function(c,v){1&c&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA(),t.YNc(2,fe,1,8,"div",1)),2&c&&(t.xp6(2),t.Q6J("ngIf",v.nzCollapsible&&null!==v.nzTrigger))},directives:[W,o.O5],encapsulation:2,changeDetection:0}),(0,w.gn)([(0,O.yF)()],u.prototype,"nzReverseArrow",void 0),(0,w.gn)([(0,O.yF)()],u.prototype,"nzCollapsible",void 0),(0,w.gn)([(0,O.yF)()],u.prototype,"nzCollapsed",void 0),u})(),G=(()=>{class u{constructor(c){this.directionality=c,this.dir="ltr",this.destroy$=new F.xQ}ngOnInit(){var c;this.dir=this.directionality.value,null===(c=this.directionality.change)||void 0===c||c.pipe((0,Z.R)(this.destroy$)).subscribe(v=>{this.dir=v})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(Y.Is,8))},u.\u0275cmp=t.Xpm({type:u,selectors:[["nz-layout"]],contentQueries:function(c,v,P){if(1&c&&t.Suo(P,g,4),2&c){let ae;t.iGM(ae=t.CRH())&&(v.listOfNzSiderComponent=ae)}},hostAttrs:[1,"ant-layout"],hostVars:4,hostBindings:function(c,v){2&c&&t.ekj("ant-layout-rtl","rtl"===v.dir)("ant-layout-has-sider",v.listOfNzSiderComponent.length>0)},exportAs:["nzLayout"],ngContentSelectors:te,decls:1,vars:0,template:function(c,v){1&c&&(t.F$t(),t.Hsn(0))},encapsulation:2,changeDetection:0}),u})(),A=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Y.vT,o.ez,K.PV,le.xu,Q.ud]]}),u})();var U=r(404),ye=r(1894),_e=r(712),Se=r(373),Ee=r(1047),Oe=r(4182),$e=r(2845),Ve=r(4832),Pe=r(969),N=r(3753),ee=r(2654),_=r(8514),j=r(6787),B=r(2198),ge=r(2868),Ce=r(6792),Ae=r(2986),Me=r(7545),Ie=r(1159),Le=r(7429),Ne=r(8076);function Be(u,M){if(1&u&&(t.ynx(0),t._uU(1),t.BQk()),2&u){const c=t.oxw();t.xp6(1),t.Oqu(c.nzLabel)}}const ve=[[["nz-auto-option"]]],Ue=["nz-auto-option"],xe=["*"],Re=["panel"],it=["content"];function ot(u,M){}function tt(u,M){1&u&&t.YNc(0,ot,0,0,"ng-template")}function rt(u,M){1&u&&t.Hsn(0)}function h(u,M){if(1&u&&(t.TgZ(0,"nz-auto-option",8),t._uU(1),t.qZA()),2&u){const c=M.$implicit;t.Q6J("nzValue",c)("nzLabel",c&&c.label?c.label:c),t.xp6(1),t.hij(" ",c&&c.label?c.label:c," ")}}function st(u,M){if(1&u&&t.YNc(0,h,2,3,"nz-auto-option",7),2&u){const c=t.oxw(2);t.Q6J("ngForOf",c.nzDataSource)}}function at(u,M){if(1&u){const c=t.EpF();t.TgZ(0,"div",0,1),t.NdJ("@slideMotion.done",function(P){return t.CHM(c),t.oxw().onAnimationEvent(P)}),t.TgZ(2,"div",2),t.TgZ(3,"div",3),t.YNc(4,tt,1,0,void 0,4),t.qZA(),t.qZA(),t.qZA(),t.YNc(5,rt,1,0,"ng-template",null,5,t.W1O),t.YNc(7,st,1,1,"ng-template",null,6,t.W1O)}if(2&u){const c=t.MAs(6),v=t.MAs(8),P=t.oxw();t.ekj("ant-select-dropdown-hidden",!P.showPanel)("ant-select-dropdown-rtl","rtl"===P.dir),t.Q6J("ngClass",P.nzOverlayClassName)("ngStyle",P.nzOverlayStyle)("nzNoAnimation",null==P.noAnimation?null:P.noAnimation.nzNoAnimation)("@slideMotion",void 0)("@.disabled",null==P.noAnimation?null:P.noAnimation.nzNoAnimation),t.xp6(4),t.Q6J("ngTemplateOutlet",P.nzDataSource?v:c)}}let ct=(()=>{class u{constructor(){}}return u.\u0275fac=function(c){return new(c||u)},u.\u0275cmp=t.Xpm({type:u,selectors:[["nz-auto-optgroup"]],inputs:{nzLabel:"nzLabel"},exportAs:["nzAutoOptgroup"],ngContentSelectors:Ue,decls:3,vars:1,consts:[[1,"ant-select-item","ant-select-item-group"],[4,"nzStringTemplateOutlet"]],template:function(c,v){1&c&&(t.F$t(ve),t.TgZ(0,"div",0),t.YNc(1,Be,2,1,"ng-container",1),t.qZA(),t.Hsn(2)),2&c&&(t.xp6(1),t.Q6J("nzStringTemplateOutlet",v.nzLabel))},directives:[Pe.f],encapsulation:2,changeDetection:0}),u})();class lt{constructor(M,c=!1){this.source=M,this.isUserInput=c}}let Ge=(()=>{class u{constructor(c,v,P,ae){this.ngZone=c,this.changeDetectorRef=v,this.element=P,this.nzAutocompleteOptgroupComponent=ae,this.nzDisabled=!1,this.selectionChange=new t.vpe,this.mouseEntered=new t.vpe,this.active=!1,this.selected=!1,this.destroy$=new F.xQ}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,N.R)(this.element.nativeElement,"mouseenter").pipe((0,B.h)(()=>this.mouseEntered.observers.length>0),(0,Z.R)(this.destroy$)).subscribe(()=>{this.ngZone.run(()=>this.mouseEntered.emit(this))}),(0,N.R)(this.element.nativeElement,"mousedown").pipe((0,Z.R)(this.destroy$)).subscribe(c=>c.preventDefault())})}ngOnDestroy(){this.destroy$.next()}select(c=!0){this.selected=!0,this.changeDetectorRef.markForCheck(),c&&this.emitSelectionChangeEvent()}deselect(){this.selected=!1,this.changeDetectorRef.markForCheck(),this.emitSelectionChangeEvent()}getLabel(){return this.nzLabel||this.nzValue.toString()}setActiveStyles(){this.active||(this.active=!0,this.changeDetectorRef.markForCheck())}setInactiveStyles(){this.active&&(this.active=!1,this.changeDetectorRef.markForCheck())}scrollIntoViewIfNeeded(){(0,O.zT)(this.element.nativeElement)}selectViaInteraction(){this.nzDisabled||(this.selected=!this.selected,this.selected?this.setActiveStyles():this.setInactiveStyles(),this.emitSelectionChangeEvent(!0),this.changeDetectorRef.markForCheck())}emitSelectionChangeEvent(c=!1){this.selectionChange.emit(new lt(this,c))}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(ct,8))},u.\u0275cmp=t.Xpm({type:u,selectors:[["nz-auto-option"]],hostAttrs:["role","menuitem",1,"ant-select-item","ant-select-item-option"],hostVars:10,hostBindings:function(c,v){1&c&&t.NdJ("click",function(){return v.selectViaInteraction()}),2&c&&(t.uIk("aria-selected",v.selected.toString())("aria-disabled",v.nzDisabled.toString()),t.ekj("ant-select-item-option-grouped",v.nzAutocompleteOptgroupComponent)("ant-select-item-option-selected",v.selected)("ant-select-item-option-active",v.active)("ant-select-item-option-disabled",v.nzDisabled))},inputs:{nzValue:"nzValue",nzLabel:"nzLabel",nzDisabled:"nzDisabled"},outputs:{selectionChange:"selectionChange",mouseEntered:"mouseEntered"},exportAs:["nzAutoOption"],ngContentSelectors:xe,decls:2,vars:0,consts:[[1,"ant-select-item-option-content"]],template:function(c,v){1&c&&(t.F$t(),t.TgZ(0,"div",0),t.Hsn(1),t.qZA())},encapsulation:2,changeDetection:0}),(0,w.gn)([(0,O.yF)()],u.prototype,"nzDisabled",void 0),u})();const pt={provide:Oe.JU,useExisting:(0,t.Gpc)(()=>a),multi:!0};let a=(()=>{class u{constructor(c,v,P,ae,et){this.elementRef=c,this.overlay=v,this.viewContainerRef=P,this.nzInputGroupWhitSuffixOrPrefixDirective=ae,this.document=et,this.onChange=()=>{},this.onTouched=()=>{},this.panelOpen=!1,this.destroy$=new F.xQ,this.overlayRef=null,this.portal=null,this.previousValue=null}get activeOption(){return this.nzAutocomplete&&this.nzAutocomplete.options.length?this.nzAutocomplete.activeItem:null}ngAfterViewInit(){this.nzAutocomplete&&this.nzAutocomplete.animationStateChange.pipe((0,Z.R)(this.destroy$)).subscribe(c=>{"void"===c.toState&&this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.destroyPanel()}writeValue(c){Promise.resolve(null).then(()=>this.setTriggerValue(c))}registerOnChange(c){this.onChange=c}registerOnTouched(c){this.onTouched=c}setDisabledState(c){this.elementRef.nativeElement.disabled=c,this.closePanel()}openPanel(){this.previousValue=this.elementRef.nativeElement.value,this.attachOverlay(),this.updateStatus()}closePanel(){this.panelOpen&&(this.nzAutocomplete.isOpen=this.panelOpen=!1,this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.selectionChangeSubscription.unsubscribe(),this.overlayOutsideClickSubscription.unsubscribe(),this.optionsChangeSubscription.unsubscribe(),this.portal=null))}handleKeydown(c){const v=c.keyCode,P=v===Ie.LH||v===Ie.JH;v===Ie.hY&&c.preventDefault(),!this.panelOpen||v!==Ie.hY&&v!==Ie.Mf?this.panelOpen&&v===Ie.K5?this.nzAutocomplete.showPanel&&(c.preventDefault(),this.activeOption?this.activeOption.selectViaInteraction():this.closePanel()):this.panelOpen&&P&&this.nzAutocomplete.showPanel&&(c.stopPropagation(),c.preventDefault(),v===Ie.LH?this.nzAutocomplete.setPreviousItemActive():this.nzAutocomplete.setNextItemActive(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded(),this.doBackfill()):(this.activeOption&&this.activeOption.getLabel()!==this.previousValue&&this.setTriggerValue(this.previousValue),this.closePanel())}handleInput(c){const v=c.target,P=this.document;let ae=v.value;"number"===v.type&&(ae=""===ae?null:parseFloat(ae)),this.previousValue!==ae&&(this.previousValue=ae,this.onChange(ae),this.canOpen()&&P.activeElement===c.target&&this.openPanel())}handleFocus(){this.canOpen()&&this.openPanel()}handleBlur(){this.onTouched()}subscribeOptionsChange(){return this.nzAutocomplete.options.changes.pipe((0,ge.b)(()=>this.positionStrategy.reapplyLastPosition()),(0,Ce.g)(0)).subscribe(()=>{this.resetActiveItem(),this.panelOpen&&this.overlayRef.updatePosition()})}subscribeSelectionChange(){return this.nzAutocomplete.selectionChange.subscribe(c=>{this.setValueAndClose(c)})}subscribeOverlayOutsideClick(){return this.overlayRef.outsidePointerEvents().pipe((0,B.h)(c=>!this.elementRef.nativeElement.contains(c.target))).subscribe(()=>{this.closePanel()})}attachOverlay(){if(!this.nzAutocomplete)throw function p(){return Error("Attempting to open an undefined instance of `nz-autocomplete`. Make sure that the id passed to the `nzAutocomplete` is correct and that you're attempting to open it after the ngAfterContentInit hook.")}();!this.portal&&this.nzAutocomplete.template&&(this.portal=new Le.UE(this.nzAutocomplete.template,this.viewContainerRef)),this.overlayRef||(this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.selectionChangeSubscription=this.subscribeSelectionChange(),this.optionsChangeSubscription=this.subscribeOptionsChange(),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick(),this.overlayRef.detachments().pipe((0,Z.R)(this.destroy$)).subscribe(()=>{this.closePanel()})),this.nzAutocomplete.isOpen=this.panelOpen=!0}updateStatus(){this.overlayRef&&this.overlayRef.updateSize({width:this.nzAutocomplete.nzWidth||this.getHostWidth()}),this.nzAutocomplete.setVisibility(),this.resetActiveItem(),this.activeOption&&this.activeOption.scrollIntoViewIfNeeded()}destroyPanel(){this.overlayRef&&this.closePanel()}getOverlayConfig(){return new $e.X_({positionStrategy:this.getOverlayPosition(),disposeOnNavigation:!0,scrollStrategy:this.overlay.scrollStrategies.reposition(),width:this.nzAutocomplete.nzWidth||this.getHostWidth()})}getConnectedElement(){return this.nzInputGroupWhitSuffixOrPrefixDirective?this.nzInputGroupWhitSuffixOrPrefixDirective.elementRef:this.elementRef}getHostWidth(){return this.getConnectedElement().nativeElement.getBoundingClientRect().width}getOverlayPosition(){const c=[new $e.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new $e.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.getConnectedElement()).withFlexibleDimensions(!1).withPush(!1).withPositions(c).withTransformOriginOn(".ant-select-dropdown"),this.positionStrategy}resetActiveItem(){const c=this.nzAutocomplete.getOptionIndex(this.previousValue);this.nzAutocomplete.clearSelectedOptions(null,!0),-1!==c?(this.nzAutocomplete.setActiveItem(c),this.nzAutocomplete.activeItem.select(!1)):this.nzAutocomplete.setActiveItem(this.nzAutocomplete.nzDefaultActiveFirstOption?0:-1)}setValueAndClose(c){const v=c.nzValue;this.setTriggerValue(c.getLabel()),this.onChange(v),this.elementRef.nativeElement.focus(),this.closePanel()}setTriggerValue(c){const v=this.nzAutocomplete.getOption(c),P=v?v.getLabel():c;this.elementRef.nativeElement.value=null!=P?P:"",this.nzAutocomplete.nzBackfill||(this.previousValue=P)}doBackfill(){this.nzAutocomplete.nzBackfill&&this.nzAutocomplete.activeItem&&this.setTriggerValue(this.nzAutocomplete.activeItem.getLabel())}canOpen(){const c=this.elementRef.nativeElement;return!c.readOnly&&!c.disabled}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(t.SBq),t.Y36($e.aV),t.Y36(t.s_b),t.Y36(Ee.ke,8),t.Y36(o.K0,8))},u.\u0275dir=t.lG2({type:u,selectors:[["input","nzAutocomplete",""],["textarea","nzAutocomplete",""]],hostAttrs:["autocomplete","off","aria-autocomplete","list"],hostBindings:function(c,v){1&c&&t.NdJ("focusin",function(){return v.handleFocus()})("blur",function(){return v.handleBlur()})("input",function(ae){return v.handleInput(ae)})("keydown",function(ae){return v.handleKeydown(ae)})},inputs:{nzAutocomplete:"nzAutocomplete"},exportAs:["nzAutocompleteTrigger"],features:[t._Bn([pt])]}),u})(),H=(()=>{class u{constructor(c,v,P,ae){this.changeDetectorRef=c,this.ngZone=v,this.directionality=P,this.noAnimation=ae,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzDefaultActiveFirstOption=!0,this.nzBackfill=!1,this.compareWith=(et,Yt)=>et===Yt,this.selectionChange=new t.vpe,this.showPanel=!0,this.isOpen=!1,this.activeItem=null,this.dir="ltr",this.destroy$=new F.xQ,this.animationStateChange=new t.vpe,this.activeItemIndex=-1,this.selectionChangeSubscription=ee.w.EMPTY,this.optionMouseEnterSubscription=ee.w.EMPTY,this.dataSourceChangeSubscription=ee.w.EMPTY,this.optionSelectionChanges=(0,_.P)(()=>this.options?(0,j.T)(...this.options.map(et=>et.selectionChange)):this.ngZone.onStable.asObservable().pipe((0,Ae.q)(1),(0,Me.w)(()=>this.optionSelectionChanges))),this.optionMouseEnter=(0,_.P)(()=>this.options?(0,j.T)(...this.options.map(et=>et.mouseEntered)):this.ngZone.onStable.asObservable().pipe((0,Ae.q)(1),(0,Me.w)(()=>this.optionMouseEnter)))}get options(){return this.nzDataSource?this.fromDataSourceOptions:this.fromContentOptions}ngOnInit(){var c;null===(c=this.directionality.change)||void 0===c||c.pipe((0,Z.R)(this.destroy$)).subscribe(v=>{this.dir=v,this.changeDetectorRef.detectChanges()}),this.dir=this.directionality.value}onAnimationEvent(c){this.animationStateChange.emit(c)}ngAfterContentInit(){this.nzDataSource||this.optionsInit()}ngAfterViewInit(){this.nzDataSource&&this.optionsInit()}ngOnDestroy(){this.dataSourceChangeSubscription.unsubscribe(),this.selectionChangeSubscription.unsubscribe(),this.optionMouseEnterSubscription.unsubscribe(),this.dataSourceChangeSubscription=this.selectionChangeSubscription=this.optionMouseEnterSubscription=null,this.destroy$.next(),this.destroy$.complete()}setVisibility(){this.showPanel=!!this.options.length,this.changeDetectorRef.markForCheck()}setActiveItem(c){const v=this.options.get(c);v&&!v.active?(this.activeItem=v,this.activeItemIndex=c,this.clearSelectedOptions(this.activeItem),this.activeItem.setActiveStyles()):(this.activeItem=null,this.activeItemIndex=-1,this.clearSelectedOptions()),this.changeDetectorRef.markForCheck()}setNextItemActive(){this.setActiveItem(this.activeItemIndex+1<=this.options.length-1?this.activeItemIndex+1:0)}setPreviousItemActive(){this.setActiveItem(this.activeItemIndex-1<0?this.options.length-1:this.activeItemIndex-1)}getOptionIndex(c){return this.options.reduce((v,P,ae)=>-1===v?this.compareWith(c,P.nzValue)?ae:-1:v,-1)}getOption(c){return this.options.find(v=>this.compareWith(c,v.nzValue))||null}optionsInit(){this.setVisibility(),this.subscribeOptionChanges(),this.dataSourceChangeSubscription=(this.nzDataSource?this.fromDataSourceOptions.changes:this.fromContentOptions.changes).subscribe(v=>{!v.dirty&&this.isOpen&&setTimeout(()=>this.setVisibility()),this.subscribeOptionChanges()})}clearSelectedOptions(c,v=!1){this.options.forEach(P=>{P!==c&&(v&&P.deselect(),P.setInactiveStyles())})}subscribeOptionChanges(){this.selectionChangeSubscription.unsubscribe(),this.selectionChangeSubscription=this.optionSelectionChanges.pipe((0,B.h)(c=>c.isUserInput)).subscribe(c=>{c.source.select(),c.source.setActiveStyles(),this.activeItem=c.source,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(c.source,!0),this.selectionChange.emit(c.source)}),this.optionMouseEnterSubscription.unsubscribe(),this.optionMouseEnterSubscription=this.optionMouseEnter.subscribe(c=>{c.setActiveStyles(),this.activeItem=c,this.activeItemIndex=this.getOptionIndex(this.activeItem.nzValue),this.clearSelectedOptions(c)})}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(t.sBO),t.Y36(t.R0b),t.Y36(Y.Is,8),t.Y36(Ve.P,9))},u.\u0275cmp=t.Xpm({type:u,selectors:[["nz-autocomplete"]],contentQueries:function(c,v,P){if(1&c&&t.Suo(P,Ge,5),2&c){let ae;t.iGM(ae=t.CRH())&&(v.fromContentOptions=ae)}},viewQuery:function(c,v){if(1&c&&(t.Gf(t.Rgc,5),t.Gf(Re,5),t.Gf(it,5),t.Gf(Ge,5)),2&c){let P;t.iGM(P=t.CRH())&&(v.template=P.first),t.iGM(P=t.CRH())&&(v.panel=P.first),t.iGM(P=t.CRH())&&(v.content=P.first),t.iGM(P=t.CRH())&&(v.fromDataSourceOptions=P)}},inputs:{nzWidth:"nzWidth",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzDefaultActiveFirstOption:"nzDefaultActiveFirstOption",nzBackfill:"nzBackfill",compareWith:"compareWith",nzDataSource:"nzDataSource"},outputs:{selectionChange:"selectionChange"},exportAs:["nzAutocomplete"],ngContentSelectors:xe,decls:1,vars:0,consts:[[1,"ant-select-dropdown","ant-select-dropdown-placement-bottomLeft",3,"ngClass","ngStyle","nzNoAnimation"],["panel",""],[2,"max-height","256px","overflow-y","auto","overflow-anchor","none"],[2,"display","flex","flex-direction","column"],[4,"ngTemplateOutlet"],["contentTemplate",""],["optionsTemplate",""],[3,"nzValue","nzLabel",4,"ngFor","ngForOf"],[3,"nzValue","nzLabel"]],template:function(c,v){1&c&&(t.F$t(),t.YNc(0,at,9,10,"ng-template"))},directives:[Ge,o.mk,o.PC,Ve.P,o.tP,o.sg],encapsulation:2,data:{animation:[Ne.mF]},changeDetection:0}),(0,w.gn)([(0,O.yF)()],u.prototype,"nzDefaultActiveFirstOption",void 0),(0,w.gn)([(0,O.yF)()],u.prototype,"nzBackfill",void 0),u})(),m=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[Y.vT,o.ez,$e.U8,Oe.u5,Pe.T,Ve.g,Ee.o7]]}),u})();var l=r(6949);function k(u,M){1&u&&t._UZ(0,"i",5)}function ie(u,M){if(1&u){const c=t.EpF();t.ynx(0),t.TgZ(1,"a",6),t.TgZ(2,"nz-auto-option",7),t.NdJ("click",function(){t.CHM(c);const P=t.oxw();return P.searchQuery="",P.refresh()}),t.TgZ(3,"span"),t._UZ(4,"i",8),t._uU(5," \xa0 "),t._UZ(6,"span",9),t._UZ(7,"br"),t._UZ(8,"span",9),t.qZA(),t.qZA(),t.qZA(),t.BQk()}if(2&u){const c=M.$implicit,v=t.oxw();t.xp6(1),t.Q6J("routerLink",v.urlForResult(c)),t.xp6(1),t.Q6J("nzValue",v.urlForResult(c)),t.xp6(2),t.Q6J("nzType",v.iconNameForResult(c)),t.xp6(2),t.s9C("innerHTML",c.name,t.oJD),t.xp6(2),t.s9C("innerHTML",c.matchingText,t.oJD)}}let ze=(()=>{class u{constructor(c,v){this.gql=c,this.router=v,this.searchQuery=""}ngOnInit(){this.queryRef=this.gql.watch({query:this.searchQuery}),this.searchResults$=this.queryRef.valueChanges.pipe((0,Se.j)("data","search"))}refresh(){this.queryRef.refetch({query:this.searchQuery})}iconNameForResult(c){switch(c.resultType){case _e.rZD.EvidenceItem:return"civic:evidence";case _e.rZD.VariantGroup:return"civic:variantgroup";default:return`civic:${c.resultType.toLowerCase()}`}}urlForResult(c){let v;switch(c.resultType){case _e.rZD.VariantGroup:v="variant-groups";break;case _e.rZD.EvidenceItem:v="evidence";break;default:v=`${c.resultType.toLowerCase()}s`}return`/${v}/${c.id}/summary`}quicksearchSelected(c){let v=c.target.value;this.searchQuery="",this.router.navigate([v])}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(_e.ghc),t.Y36(i.F0))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-quicksearch"]],decls:8,vars:6,consts:[["nzSize","large",3,"nzSuffix"],["placeholder","Quicksearch","nz-input","",3,"ngModel","nzAutocomplete","ngModelChange","keyup.enter"],["suffixIcon",""],["auto",""],[4,"ngFor","ngForOf"],["nz-icon","","nzType","search"],[3,"routerLink"],[3,"nzValue","click"],["nz-icon","",3,"nzType"],[3,"innerHTML"]],template:function(c,v){if(1&c&&(t.TgZ(0,"nz-input-group",0),t.TgZ(1,"input",1),t.NdJ("ngModelChange",function(ae){return v.searchQuery=ae})("ngModelChange",function(){return v.refresh()})("keyup.enter",function(ae){return v.quicksearchSelected(ae)}),t.qZA(),t.qZA(),t.YNc(2,k,1,0,"ng-template",null,2,t.W1O),t.TgZ(4,"nz-autocomplete",null,3),t.YNc(6,ie,9,5,"ng-container",4),t.ALo(7,"ngrxPush"),t.qZA()),2&c){const P=t.MAs(3),ae=t.MAs(5);t.Q6J("nzSuffix",P),t.xp6(1),t.Q6J("ngModel",v.searchQuery)("nzAutocomplete",ae),t.xp6(5),t.Q6J("ngForOf",t.lcZ(7,4,v.searchResults$))}},directives:[Ee.gB,Ee.ke,Ee.Zp,Oe.Fj,a,Oe.JJ,Oe.On,K.Ls,H,o.sg,i.yS,Ge],pipes:[l.fM],styles:[""]}),u})();var Ze=r(1912),Te=r(4850),Fe=r(1059),ke=r(2340),Ye=r(8144),Je=r(6042),He=r(2643),nt=r(2683),Qe=r(3677),je=r(4401),ut=r(7881),Xe=r(3640),f=r(8785);function E(u,M){if(1&u&&(t.TgZ(0,"button",23),t._uU(1," Add "),t._UZ(2,"i",24),t.qZA()),2&u){t.oxw(2);const c=t.MAs(14);t.Q6J("nzDropdownMenu",c)}}const C=function(){return{backgroundColor:"#096dd9",color:"#fff1f0",boxShadow:"0 0 0 1px #1890ff inset"}};function $(u,M){if(1&u&&(t.TgZ(0,"nz-badge",25),t.TgZ(1,"button",26),t._UZ(2,"i",27),t.qZA(),t.qZA()),2&u){const c=t.oxw().ngrxLet,v=t.oxw().ngIf;t.Q6J("nzCount",c)("nzOverflowCount",999)("nzStyle",t.DdM(4,C)),t.xp6(1),t.MGl("routerLink","/users/",v.id,"/notifications")}}const ce=function(u){return{"update-coi":u}};function he(u,M){if(1&u&&t._UZ(0,"cvc-user-avatar",33),2&u){const c=t.oxw(3).ngIf;t.Q6J("user",c)("size",22)("ngClass",t.VKq(3,ce,c.invalidCoi))}}function mt(u,M){if(1&u&&(t.TgZ(0,"div",34),t._uU(1),t.qZA()),2&u){const c=t.oxw(3).ngIf;t.xp6(1),t.Oqu(c.username)}}function Jt(u,M){1&u&&t._UZ(0,"i",24)}function gt(u,M){if(1&u&&(t.TgZ(0,"button",28),t.TgZ(1,"nz-space",29),t.YNc(2,he,1,5,"cvc-user-avatar",30),t.YNc(3,mt,2,1,"div",31),t.YNc(4,Jt,1,0,"i",32),t.qZA(),t.qZA()),2&u){t.oxw(2);const c=t.MAs(3);t.Q6J("nzDropdownMenu",c)}}function ft(u,M){1&u&&(t.TgZ(0,"nz-space",19),t.YNc(1,E,3,1,"button",20),t.YNc(2,$,3,5,"nz-badge",21),t.YNc(3,gt,5,1,"button",22),t.qZA())}function ht(u,M){if(1&u){const c=t.EpF();t.TgZ(0,"li",14),t.TgZ(1,"button",35),t.NdJ("click",function(){return t.CHM(c),t.oxw(2).coiUpdateModalVisible=!0}),t._UZ(2,"i",36),t._uU(3," Please update COI statement "),t.qZA(),t.qZA()}}function vt(u,M){1&u&&t._UZ(0,"li",11)}function zt(u,M){1&u&&(t.TgZ(0,"li",37),t.TgZ(1,"a",38),t._uU(2," Admin Console "),t.qZA(),t.qZA())}const yt=function(u){return["/users",u]};function Ct(u,M){if(1&u){const c=t.EpF();t.ynx(0),t.YNc(1,ft,4,0,"nz-space",4),t.TgZ(2,"nz-dropdown-menu",null,5),t.TgZ(4,"ul",6),t.YNc(5,ht,4,0,"li",7),t.YNc(6,vt,1,0,"li",8),t.TgZ(7,"li",9),t._uU(8," Your Profile "),t.qZA(),t.YNc(9,zt,3,0,"li",10),t._UZ(10,"li",11),t.TgZ(11,"li",12),t.NdJ("click",function(){return t.CHM(c),t.oxw().signOut()}),t._uU(12,"Sign Out"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(13,"nz-dropdown-menu",null,13),t.TgZ(15,"ul",6),t.TgZ(16,"li",14),t.TgZ(17,"a",15),t._uU(18," Evidence Item "),t.qZA(),t.qZA(),t.TgZ(19,"li",14),t.TgZ(20,"a",16),t._uU(21," Assertion "),t.qZA(),t.qZA(),t.TgZ(22,"li",14),t.TgZ(23,"a",17),t._uU(24," Source Suggestion "),t.qZA(),t.qZA(),t.TgZ(25,"li",14),t.TgZ(26,"a",18),t._uU(27," Variant Group "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk()}if(2&u){const c=M.ngIf,v=t.oxw();t.xp6(1),t.Q6J("ngrxLet",v.unreadCount$),t.xp6(4),t.Q6J("ngIf",c.invalidCoi),t.xp6(1),t.Q6J("ngIf",c.invalidCoi),t.xp6(1),t.Q6J("routerLink",t.VKq(5,yt,c.id)),t.xp6(2),t.Q6J("ngIf",c.isAdmin)}}function It(u,M){1&u&&(t.TgZ(0,"span"),t._uU(1,"Update your Conflict of Interest Statement"),t.qZA())}function Tt(u,M){if(1&u){const c=t.EpF();t.TgZ(0,"cvc-user-coi-form",39),t.NdJ("coiUpdatedEvent",function(){return t.CHM(c),t.oxw().coiUpdated()}),t.qZA()}}let _t=(()=>{class u{constructor(c,v){this.queryService=c,this.unreadCountGql=v,this.coiUpdateModalVisible=!1,this.viewer$=this.queryService.viewer$,this.unreadCount$=ke.N.production?this.unreadCountGql.watch(void 0,{pollInterval:5e3}).valueChanges.pipe((0,Te.U)(({data:P})=>P.notifications.unreadCount),(0,Fe.O)(0)):this.unreadCountGql.watch(void 0).valueChanges.pipe((0,Te.U)(({data:P})=>P.notifications.unreadCount),(0,Fe.O)(0))}signOut(){this.queryService.signOut()}coiUpdated(){this.coiUpdateModalVisible=!1,this.queryService.refetch()}handleCoiModalCancel(){this.coiUpdateModalVisible=!1}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(D.a),t.Y36(_e.Kmw))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-viewer-button"]],decls:7,vars:7,consts:[[4,"ngIf"],[3,"nzVisible","nzContent","nzTitle","nzFooter","nzVisibleChange","nzOnCancel"],["coiModalTitle",""],["coiModalContent",""],["nzDirection","horizontal","nzSize","middle",4,"ngrxLet"],["userMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",4,"ngIf"],["nz-menu-divider","",4,"ngIf"],["nz-menu-item","",3,"routerLink"],["nz-menu-item","","href","/admin",4,"ngIf"],["nz-menu-divider",""],["nz-menu-item","",3,"click"],["addMenu","nzDropdownMenu"],["nz-menu-item",""],["routerLink","/evidence/add/submit"],["routerLink","/assertions/add/submit"],["routerLink","/sources/add"],["routerLink","/variant-groups/add/submit"],["nzDirection","horizontal","nzSize","middle"],["class","add-btn","nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"nzDropdownMenu",4,"nzSpaceItem"],[3,"nzCount","nzOverflowCount","nzStyle",4,"nzSpaceItem"],["class","viewer-btn","nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",3,"nzDropdownMenu",4,"nzSpaceItem"],["nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"add-btn",3,"nzDropdownMenu"],["nz-icon","","nzType","caret-down","nzTheme","outline"],[3,"nzCount","nzOverflowCount","nzStyle"],["nz-button","","nzSize","large","nzShape","circle","nzType","link",1,"notification-btn",3,"routerLink"],["nz-icon","","nzType","bell","nzTheme","outline"],["nz-button","","nzSize","large","nzShape","round","nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"viewer-btn",3,"nzDropdownMenu"],["nzDirection","horizontal","nzSize","small"],["shape","circle",3,"user","size","ngClass",4,"nzSpaceItem"],["class","viewer-name",4,"nzSpaceItem"],["nz-icon","","nzType","caret-down","nzTheme","outline",4,"nzSpaceItem"],["shape","circle",3,"user","size","ngClass"],[1,"viewer-name"],["nz-button","","nzType","primary","nzShape","round","nzSize","small","nzDanger","","nzBlock","",3,"click"],["nz-icon","","nzType","exclamation-circle"],["nz-menu-item","","href","/admin"],["href","/admin"],[3,"coiUpdatedEvent"]],template:function(c,v){if(1&c&&(t.YNc(0,Ct,28,7,"ng-container",0),t.ALo(1,"ngrxPush"),t.TgZ(2,"nz-modal",1),t.NdJ("nzVisibleChange",function(ae){return v.coiUpdateModalVisible=ae})("nzOnCancel",function(){return v.handleCoiModalCancel()}),t.YNc(3,It,2,0,"ng-template",null,2,t.W1O),t.YNc(5,Tt,1,0,"ng-template",null,3,t.W1O),t.qZA()),2&c){const P=t.MAs(4),ae=t.MAs(6);t.Q6J("ngIf",t.lcZ(1,5,v.viewer$)),t.xp6(2),t.Q6J("nzVisible",v.coiUpdateModalVisible)("nzContent",ae)("nzTitle",P)("nzFooter",null)}},directives:[o.O5,l.eJ,Ye.NU,Ye.$1,Je.ix,He.dQ,nt.w,Qe.wA,Qe.cm,K.Ls,je.x7,i.rH,ut.L,o.mk,Qe.RR,L.wO,L.r9,L.YV,i.yS,Xe.du,f.t],pipes:[l.fM],styles:["[_nghost-%COMP%]{display:inline-block}.topMenuIcon[_ngcontent-%COMP%]:hover{cursor:pointer}.topMenuIcon[_ngcontent-%COMP%]{font-size:16px}.topMenuIcon[_ngcontent-%COMP%] .topBarBadge[_ngcontent-%COMP%]{margin-right:-10px;margin-top:-16px}.topMenuIcon[_ngcontent-%COMP%] .topMenuSecondary[_ngcontent-%COMP%]{font-size:10px;margin-left:2px}.add-btn[_ngcontent-%COMP%]{margin-right:0;background-color:#001529;border:none;color:#ccc}.notification-btn[_ngcontent-%COMP%]{background-color:#001529;border:1px solid #096dd9}.viewer-btn[_ngcontent-%COMP%]{background-color:#0050b3;border:none;color:#ccc;padding-left:5px;padding-right:10px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar[_ngcontent-%COMP%]{position:relative;top:-1px;left:1px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar[_ngcontent-%COMP%] .ant-avatar>img{border-width:1.5px;border-style:solid;border-color:#096dd9;border-radius:22px}.viewer-btn[_ngcontent-%COMP%] cvc-user-avatar.update-coi[_ngcontent-%COMP%] .ant-avatar>img{border-color:#f5222d}"]}),u})();function St(u,M){1&u&&t._UZ(0,"img",58)}function Dt(u,M){1&u&&t._UZ(0,"img",59)}function Et(u,M){1&u&&t._UZ(0,"cvc-login-button")}function jt(u,M){1&u&&t._UZ(0,"cvc-viewer-button")}const qe=function(u){return{"is-collapsed":u}},Nt=[{path:"",pathMatch:"full",redirectTo:"/welcome"},{path:"",component:(()=>{class u{constructor(c){this.viewerService=c,this.isCollapsed=!1}ngOnInit(){this.data$=this.viewerService.data$,this.viewer$=this.viewerService.viewer$,this.signedIn$=this.viewerService.signedIn$,this.signedOut$=this.viewerService.signedOut$,this.canCurate$=this.viewerService.canCurate$,this.canModerate$=this.viewerService.canModerate$}}return u.\u0275fac=function(c){return new(c||u)(t.Y36(D.a))},u.\u0275cmp=t.Xpm({type:u,selectors:[["cvc-layout"]],decls:124,vars:46,consts:[[1,"app-layout"],["nzCollapsible","","nzBreakpoint","md",1,"app-sider",3,"nzWidth","nzCollapsedWidth","nzCollapsed","nzTrigger","nzCollapsedChange"],["routerLink","/"],[1,"sidebar-logo",3,"ngClass"],["src","assets/images/civic-logo_sidebar-expanded.png","alt","CIViC - Clinical Interpretations of Variants in Cancer",4,"ngIf"],["src","assets/images/civic-logo_sidebar-collapsed.png","alt","CIViC - Clinical Interpretations of Variants in Cancer",4,"ngIf"],["nz-menu","","nzTheme","dark","nzMode","inline",1,"sidebar-menu",3,"ngClass","nzInlineCollapsed"],["nz-menu-group","",3,"nzTitle"],["nz-menu-item","","nz-tooltip","","nzTooltipPlacement","right","nzSelected","","nzMatchRouter","",3,"nzTooltipTitle"],["nz-icon","","nzType","civic-assertion"],["routerLink","/assertions"],["nz-icon","","nzType","civic-evidence"],["routerLink","/evidence"],["nz-icon","","nzType","civic-gene"],["routerLink","/genes"],["nz-icon","","nzType","civic-variant"],["routerLink","/variants"],["nz-icon","","nzType","civic-variantgroup"],["routerLink","/variant-groups"],["nz-icon","","nzType","audit"],["routerLink","/clinical-trials"],["nz-icon","","nzType","civic-disease"],["routerLink","/diseases"],["nz-icon","","nzType","civic-intervention"],["routerLink","/drugs"],["nz-icon","","nzType","civic-phenotype"],["routerLink","/phenotypes"],["nz-icon","","nzType","civic-source"],["routerLink","/sources"],["nz-icon","","nzType","civic-varianttype"],["routerLink","/variant-types"],["nz-icon","","nzType","civic-event"],["routerLink","/curation/activity"],["nz-icon","","nzType","file-add"],["routerLink","/curation/queues"],["nz-icon","","nzType","civic-curator"],["routerLink","/users","id","main-users"],["nz-icon","","nzType","civic-organization"],["routerLink","/organizations","id","main-organization"],["nz-icon","","nzType","download"],["routerLink","/releases","id","releases"],["nz-tooltip","","nzTooltipPlacement","rightTop","nzTooltipTitle","By marking the work with a CC0 public domain dedication, the creator is giving up their copyright and allowing reusers to distribute, remix, adapt, and build upon the material in any medium or format, even for commercial purposes.",1,"cc-notice",3,"ngClass"],["src","assets/images/CC0-notice-glyph.svg","alt","CC0 1.0 Universal",1,"cc-glyph"],["src","assets/images/CC0-notice-txt.svg","alt","This work has been marked as dedicated to the public domain.",1,"cc-txt"],[1,"right-layout",3,"ngClass"],["nz-row",""],["nz-col","","nzFlex","40px"],[1,"header-trigger",3,"click"],["nz-icon","",1,"trigger",3,"nzType"],["nz-col","","nzFlex","300px","id","header-search"],["nz-col","","nzFlex","300px","id","header-menu"],["nz-menu","","nzMode","horizontal","nzTheme","dark"],["nz-menu-item","","nzSelected","","nzMatchRouter",""],["routerLink","/welcome"],["routerLink","/pages/about"],["routerLink","/pages/help"],["nz-col","","nzFlex","auto","id","header-viewer"],[4,"ngIf"],["src","assets/images/civic-logo_sidebar-expanded.png","alt","CIViC - Clinical Interpretations of Variants in Cancer"],["src","assets/images/civic-logo_sidebar-collapsed.png","alt","CIViC - Clinical Interpretations of Variants in Cancer"]],template:function(c,v){1&c&&(t.TgZ(0,"nz-layout",0),t.TgZ(1,"nz-sider",1),t.NdJ("nzCollapsedChange",function(ae){return v.isCollapsed=ae}),t.TgZ(2,"a",2),t.TgZ(3,"div",3),t.YNc(4,St,1,0,"img",4),t.YNc(5,Dt,1,0,"img",5),t.qZA(),t.qZA(),t.TgZ(6,"ul",6),t.TgZ(7,"li",7),t.TgZ(8,"ul"),t.TgZ(9,"li",8),t._UZ(10,"i",9),t.TgZ(11,"span"),t.TgZ(12,"a",10),t._uU(13,"Assertions"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(14,"li",8),t._UZ(15,"i",11),t.TgZ(16,"span"),t.TgZ(17,"a",12),t._uU(18,"Evidence"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(19,"li",8),t._UZ(20,"i",13),t.TgZ(21,"span"),t.TgZ(22,"a",14),t._uU(23,"Genes"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(24,"li",8),t._UZ(25,"i",15),t.TgZ(26,"span"),t.TgZ(27,"a",16),t._uU(28,"Variants"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(29,"li",8),t._UZ(30,"i",17),t.TgZ(31,"span"),t.TgZ(32,"a",18),t._uU(33,"Variant Groups"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(34,"li",8),t._UZ(35,"i",19),t.TgZ(36,"span"),t.TgZ(37,"a",20),t._uU(38,"Clinical Trials"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(39,"li",8),t._UZ(40,"i",21),t.TgZ(41,"span"),t.TgZ(42,"a",22),t._uU(43,"Diseases"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(44,"li",8),t._UZ(45,"i",23),t.TgZ(46,"span"),t.TgZ(47,"a",24),t._uU(48,"Drugs"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(49,"li",8),t._UZ(50,"i",25),t.TgZ(51,"span"),t.TgZ(52,"a",26),t._uU(53,"Phenotypes"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(54,"li",8),t._UZ(55,"i",27),t.TgZ(56,"span"),t.TgZ(57,"a",28),t._uU(58,"Sources"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(59,"li",8),t._UZ(60,"i",29),t.TgZ(61,"span"),t.TgZ(62,"a",30),t._uU(63,"Variant Types"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(64,"li",7),t.TgZ(65,"ul"),t.TgZ(66,"li",8),t._UZ(67,"i",31),t.TgZ(68,"span"),t.TgZ(69,"a",32),t._uU(70," Activity "),t.qZA(),t.qZA(),t.qZA(),t.TgZ(71,"li",8),t._UZ(72,"i",33),t.TgZ(73,"span"),t.TgZ(74,"a",34),t._uU(75,"Queues"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(76,"li",7),t.TgZ(77,"ul"),t.TgZ(78,"li",8),t._UZ(79,"i",35),t.TgZ(80,"span"),t.TgZ(81,"a",36),t._uU(82,"Contributors"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(83,"li",8),t._UZ(84,"i",37),t.TgZ(85,"span"),t.TgZ(86,"a",38),t._uU(87,"Organizations"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(88,"li",7),t.TgZ(89,"ul"),t.TgZ(90,"li",8),t._UZ(91,"i",39),t.TgZ(92,"span"),t.TgZ(93,"a",40),t._uU(94,"Data Releases"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(95,"div",41),t._UZ(96,"img",42),t._UZ(97,"img",43),t.qZA(),t.qZA(),t.TgZ(98,"nz-layout",44),t.TgZ(99,"nz-header"),t.TgZ(100,"div",45),t.TgZ(101,"div",46),t.TgZ(102,"span",47),t.NdJ("click",function(){return v.isCollapsed=!v.isCollapsed}),t._UZ(103,"i",48),t.qZA(),t.qZA(),t.TgZ(104,"div",49),t._UZ(105,"cvc-quicksearch"),t.qZA(),t.TgZ(106,"div",50),t.TgZ(107,"ul",51),t.TgZ(108,"li",52),t.TgZ(109,"a",53),t._uU(110,"Home"),t.qZA(),t.qZA(),t.TgZ(111,"li",52),t.TgZ(112,"a",54),t._uU(113,"About CIViC"),t.qZA(),t.qZA(),t.TgZ(114,"li",52),t.TgZ(115,"a",55),t._uU(116,"Help"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(117,"div",56),t.YNc(118,Et,1,0,"cvc-login-button",57),t.ALo(119,"async"),t.YNc(120,jt,1,0,"cvc-viewer-button",57),t.ALo(121,"async"),t.qZA(),t.qZA(),t.qZA(),t.TgZ(122,"nz-content"),t._UZ(123,"router-outlet"),t.qZA(),t.qZA(),t.qZA()),2&c&&(t.xp6(1),t.Q6J("nzWidth",170)("nzCollapsedWidth",80)("nzCollapsed",v.isCollapsed)("nzTrigger",null),t.xp6(2),t.Q6J("ngClass",t.VKq(38,qe,v.isCollapsed)),t.xp6(1),t.Q6J("ngIf",!v.isCollapsed),t.xp6(1),t.Q6J("ngIf",v.isCollapsed),t.xp6(1),t.Q6J("ngClass",t.VKq(40,qe,v.isCollapsed))("nzInlineCollapsed",v.isCollapsed),t.xp6(1),t.Q6J("nzTitle",v.isCollapsed?"KNOW":"KNOWLEDGEBASE"),t.xp6(2),t.Q6J("nzTooltipTitle",v.isCollapsed?"Assertions":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Evidence":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Genes":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Variants":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Variant Groups":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Clinical Trials":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Diseases":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Drugs":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Phenotypes":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Sources":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Variant Types":""),t.xp6(5),t.Q6J("nzTitle",v.isCollapsed?"CURATE":"CURATION"),t.xp6(2),t.Q6J("nzTooltipTitle",v.isCollapsed?"Activity":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Pending Queues":""),t.xp6(5),t.Q6J("nzTitle",v.isCollapsed?"COMM":"COMMUNITY"),t.xp6(2),t.Q6J("nzTooltipTitle",v.isCollapsed?"Users":""),t.xp6(5),t.Q6J("nzTooltipTitle",v.isCollapsed?"Organizations":""),t.xp6(5),t.Q6J("nzTitle",v.isCollapsed?"RES":"RESOURCES"),t.xp6(2),t.Q6J("nzTooltipTitle",v.isCollapsed?"Data Releases":""),t.xp6(5),t.Q6J("ngClass",t.VKq(42,qe,v.isCollapsed)),t.xp6(3),t.Q6J("ngClass",t.VKq(44,qe,v.isCollapsed)),t.xp6(5),t.Q6J("nzType",v.isCollapsed?"menu-unfold":"menu-fold"),t.xp6(15),t.Q6J("ngIf",t.lcZ(119,34,v.signedOut$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(121,36,v.signedIn$)))},directives:[G,g,i.yS,o.mk,o.O5,L.wO,L.uA,L.r9,U.SY,K.Ls,J,ye.SK,ye.t3,ze,Ze.s,_t,pe,i.lC],pipes:[o.Ov],styles:["[_nghost-%COMP%]{display:flex;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.app-layout[_ngcontent-%COMP%]{min-height:100vh}nz-sider[_ngcontent-%COMP%]{width:170px;overflow:auto;height:100%;position:fixed;left:0}.right-layout[_ngcontent-%COMP%]{margin-left:170px;width:100%;position:relative;transition:all .2s,padding 0s;background-color:#001529}.right-layout.is-collapsed[_ngcontent-%COMP%]{margin-left:80px}.sidebar-menu[_ngcontent-%COMP%]{margin-top:-20px}.sidebar-menu[_ngcontent-%COMP%] .ant-menu-item-group-title{padding-bottom:0}.sidebar-menu.is-collapsed[_ngcontent-%COMP%]{margin-top:-8px}.sidebar-menu.is-collapsed[_ngcontent-%COMP%] .ant-menu-item-group-title{text-align:center}.cc-notice[_ngcontent-%COMP%]{margin-top:5em;text-align:center;width:170px}.cc-notice[_ngcontent-%COMP%] .cc-glyph[_ngcontent-%COMP%]{width:56px}.cc-notice[_ngcontent-%COMP%] .cc-txt[_ngcontent-%COMP%]{width:76px}.cc-notice.is-collapsed[_ngcontent-%COMP%]{width:80px}.cc-notice.is-collapsed[_ngcontent-%COMP%] .cc-glyph[_ngcontent-%COMP%]{width:35px}.cc-notice.is-collapsed[_ngcontent-%COMP%] .cc-txt[_ngcontent-%COMP%]{display:none}.sidebar-logo[_ngcontent-%COMP%]{height:90px}.sidebar-logo[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:133px;height:auto;margin:12px 16px;transition:all .2s}.sidebar-logo.is-collapsed[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:40px;height:auto;margin:12px 20px;transition:all .2s}.ant-layout-header[_ngcontent-%COMP%]{height:64px;line-height:64px;padding:0;position:fixed;width:calc(100% - 170px);z-index:10;color:#d6e4ff}.header-trigger[_ngcontent-%COMP%]{height:64px;cursor:pointer;color:#d6e4ff;padding:1em 1em 1em 0}#header-menu[_ngcontent-%COMP%]{text-align:right;height:64px}#header-search[_ngcontent-%COMP%]{height:64px;padding-right:16px}#header-viewer[_ngcontent-%COMP%]{text-align:right;padding-right:1em}.header-quicksearch[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .header-menu[_ngcontent-%COMP%] p[_ngcontent-%COMP%], .header-user[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#d6e4ff}nz-content[_ngcontent-%COMP%]{margin-top:64px;overflow:initial;position:relative;z-index:1;background-color:#273340;border-top:1px solid #3e5166;border-left:1px solid #3e5166;padding:12px;border-top-left-radius:16px}"]}),u})(),children:[{path:"assertions",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(1679),r.e(305),r.e(3883),r.e(6875),r.e(2033),r.e(3730),r.e(8592),r.e(9020)]).then(r.bind(r,136)).then(u=>u.AssertionsModule),data:{breadcrumb:"Assertions"}},{path:"clinical-trials",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(305),r.e(7717),r.e(6519)]).then(r.bind(r,1838)).then(u=>u.ClinicalTrialsModule),data:{breadcrumb:"Clinical Trials"}},{path:"diseases",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(305),r.e(3883),r.e(2395)]).then(r.bind(r,233)).then(u=>u.DiseasesModule),data:{breadcrumb:"Diseases"}},{path:"drugs",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(305),r.e(3883),r.e(8422)]).then(r.bind(r,1592)).then(u=>u.DrugsModule),data:{breadcrumb:"Drugs"}},{path:"evidence",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(305),r.e(1457)]).then(r.bind(r,7727)).then(u=>u.EvidenceModule),data:{breadcrumb:"Evidence"}},{path:"genes",loadChildren:()=>Promise.all([r.e(7064),r.e(3501),r.e(5193),r.e(9890),r.e(392),r.e(681)]).then(r.bind(r,681)).then(u=>u.GenesModule),data:{breadcrumb:"Genes"}},{path:"organizations",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(305),r.e(2738),r.e(55),r.e(9716),r.e(3883),r.e(5291),r.e(392),r.e(9484),r.e(376),r.e(3074),r.e(8592),r.e(3073)]).then(r.bind(r,3073)).then(u=>u.OrganizationsModule),data:{breadcrumb:"Organizations"}},{path:"phenotypes",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(305),r.e(3883),r.e(4721)]).then(r.bind(r,1076)).then(u=>u.PhenotypesModule),data:{breadcrumb:"Phenotypes"}},{path:"sources",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(1679),r.e(305),r.e(2738),r.e(55),r.e(6875),r.e(2043),r.e(9484),r.e(2033),r.e(7717),r.e(8592),r.e(3648)]).then(r.bind(r,359)).then(u=>u.SourcesModule),data:{breadcrumb:"Sources"}},{path:"curation",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(305),r.e(2738),r.e(55),r.e(3883),r.e(9484),r.e(4276)]).then(r.bind(r,7563)).then(u=>u.CurationModule),data:{breadcrumb:"Curation"}},{path:"users",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(5193),r.e(9890),r.e(9001),r.e(2826),r.e(305),r.e(2738),r.e(55),r.e(9716),r.e(3883),r.e(5291),r.e(9484),r.e(376),r.e(3074),r.e(3218)]).then(r.bind(r,3218)).then(u=>u.UsersModule),data:{breadcrumb:"Contributors"}},{path:"variant-groups",loadChildren:()=>Promise.all([r.e(7064),r.e(6256),r.e(3501),r.e(9890),r.e(79)]).then(r.bind(r,79)).then(u=>u.VariantGroupsModule),data:{breadcrumb:"Variant Groups"}},{path:"variants",loadChildren:()=>Promise.all([r.e(7064),r.e(3501),r.e(5193),r.e(9890),r.e(392),r.e(1750),r.e(4658)]).then(r.bind(r,9221)).then(u=>u.VariantsModule),data:{breadcrumb:"Variants"}},{path:"variant-types",loadChildren:()=>Promise.all([r.e(7064),r.e(3501),r.e(5193),r.e(9890),r.e(392),r.e(1750),r.e(4729)]).then(r.bind(r,1875)).then(u=>u.VariantTypesModule),data:{breadcrumb:"Variant Types"}},{path:"welcome",loadChildren:()=>Promise.all([r.e(6256),r.e(3501),r.e(5193),r.e(9001),r.e(2826),r.e(2738),r.e(9716),r.e(376),r.e(535)]).then(r.bind(r,4340)).then(u=>u.WelcomeModule),data:{breadcrumb:"Welcome to CIViC"}},{path:"releases",loadChildren:()=>Promise.all([r.e(7064),r.e(9890),r.e(4579)]).then(r.bind(r,4579)).then(u=>u.ReleasesModule),data:{breadcrumb:"Releases"}},{path:"pages",loadChildren:()=>Promise.all([r.e(7064),r.e(4038)]).then(r.bind(r,4038)).then(u=>u.PagesModule),data:{breadcrumb:"Pages"}}]}];let At=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[i.Bz.forChild(Nt)],i.Bz]}),u})();var Ot=r(3618),Mt=r(5109),Lt=r(4546);let xt=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[o.ez,Oe.u5,i.Bz,l.WG,Ee.o7,Lt.U5,K.PV,m]]}),u})();var Ft=r(1844),bt=r(5473),Vt=r(330);let Zt=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[o.ez,l.WG,Qe.b1,i.Bz,Je.sL,Ye.zf,K.PV,je.mS,U.cg,Xe.Qp,bt.H,Vt.e]]}),u})(),kt=(()=>{class u{}return u.\u0275fac=function(c){return new(c||u)},u.\u0275mod=t.oAB({type:u}),u.\u0275inj=t.cJS({imports:[[o.ez,At,K.PV,ye.Jb,A,L.ip,U.cg,Ot.ZJ,Mt.s,Ft.B,Zt,xt]]}),u})()},6792:(De,re,r)=>{r.d(re,{g:()=>F});var o=r(353),t=r(3489),D=r(9312);function F(O,L=o.P){const K=function i(O){return O instanceof Date&&!isNaN(+O)}(O)?+O-L.now():Math.abs(O);return Y=>Y.lift(new Z(K,L))}class Z{constructor(L,Q){this.delay=L,this.scheduler=Q}call(L,Q){return Q.subscribe(new w(L,this.delay,this.scheduler))}}class w extends t.L{constructor(L,Q,K){super(L),this.delay=Q,this.scheduler=K,this.queue=[],this.active=!1,this.errored=!1}static dispatch(L){const Q=L.source,K=Q.queue,Y=L.scheduler,le=L.destination;for(;K.length>0&&K[0].time-Y.now()<=0;)K.shift().notification.observe(le);if(K.length>0){const te=Math.max(0,K[0].time-Y.now());this.schedule(L,te)}else this.unsubscribe(),Q.active=!1}_schedule(L){this.active=!0,this.destination.add(L.schedule(w.dispatch,this.delay,{source:this,destination:this.destination,scheduler:L}))}scheduleNotification(L){if(!0===this.errored)return;const Q=this.scheduler,K=new q(Q.now()+this.delay,L);this.queue.push(K),!1===this.active&&this._schedule(Q)}_next(L){this.scheduleNotification(D.P.createNext(L))}_error(L){this.errored=!0,this.queue=[],this.destination.error(L),this.unsubscribe()}_complete(){this.scheduleNotification(D.P.createComplete()),this.unsubscribe()}}class q{constructor(L,Q){this.time=L,this.notification=Q}}},373:(De,re,r)=>{r.d(re,{j:()=>i});var o=r(4850);function i(...D){const F=D.length;if(0===F)throw new Error("list of properties cannot be empty.");return Z=>(0,o.U)(function t(D,F){return w=>{let q=w;for(let O=0;O{r.d(re,{Dz:()=>te,Rt:()=>oe});var o=r(655),i=r(5e3),t=r(9439),D=r(1721),F=r(925),Z=r(9808),w=r(647),q=r(226);const O=["textEl"];function L(V,b){if(1&V&&i._UZ(0,"i",3),2&V){const I=i.oxw();i.Q6J("nzType",I.nzIcon)}}function Q(V,b){if(1&V){const I=i.EpF();i.TgZ(0,"img",4),i.NdJ("error",function(ne){return i.CHM(I),i.oxw().imgError(ne)}),i.qZA()}if(2&V){const I=i.oxw();i.Q6J("src",I.nzSrc,i.LSH),i.uIk("srcset",I.nzSrcSet,i.LSH)("alt",I.nzAlt)}}function K(V,b){if(1&V&&(i.TgZ(0,"span",5,6),i._uU(2),i.qZA()),2&V){const I=i.oxw();i.Q6J("ngStyle",I.textStyles),i.xp6(2),i.Oqu(I.nzText)}}let te=(()=>{class V{constructor(I,R,ne,X){this.nzConfigService=I,this.elementRef=R,this.cdr=ne,this.platform=X,this._nzModuleName="avatar",this.nzShape="circle",this.nzSize="default",this.nzGap=4,this.nzError=new i.vpe,this.hasText=!1,this.hasSrc=!0,this.hasIcon=!1,this.textStyles={},this.classMap={},this.customSize=null,this.el=this.elementRef.nativeElement}imgError(I){this.nzError.emit(I),I.defaultPrevented||(this.hasSrc=!1,this.hasIcon=!1,this.hasText=!1,this.nzIcon?this.hasIcon=!0:this.nzText&&(this.hasText=!0),this.cdr.detectChanges(),this.setSizeStyle(),this.notifyCalc())}ngOnChanges(){this.hasText=!this.nzSrc&&!!this.nzText,this.hasIcon=!this.nzSrc&&!!this.nzIcon,this.hasSrc=!!this.nzSrc,this.setSizeStyle(),this.notifyCalc()}calcStringSize(){if(!this.hasText)return;const I=this.textEl.nativeElement.offsetWidth,R=this.el.getBoundingClientRect().width,ne=2*this.nzGap{this.calcStringSize()})}setSizeStyle(){this.customSize="number"==typeof this.nzSize?`${this.nzSize}px`:null,this.cdr.markForCheck()}}return V.\u0275fac=function(I){return new(I||V)(i.Y36(t.jY),i.Y36(i.SBq),i.Y36(i.sBO),i.Y36(F.t4))},V.\u0275cmp=i.Xpm({type:V,selectors:[["nz-avatar"]],viewQuery:function(I,R){if(1&I&&i.Gf(O,5),2&I){let ne;i.iGM(ne=i.CRH())&&(R.textEl=ne.first)}},hostAttrs:[1,"ant-avatar"],hostVars:20,hostBindings:function(I,R){2&I&&(i.Udp("width",R.customSize)("height",R.customSize)("line-height",R.customSize)("font-size",R.hasIcon&&R.customSize?R.nzSize/2:null,"px"),i.ekj("ant-avatar-lg","large"===R.nzSize)("ant-avatar-sm","small"===R.nzSize)("ant-avatar-square","square"===R.nzShape)("ant-avatar-circle","circle"===R.nzShape)("ant-avatar-icon",R.nzIcon)("ant-avatar-image",R.hasSrc))},inputs:{nzShape:"nzShape",nzSize:"nzSize",nzGap:"nzGap",nzText:"nzText",nzSrc:"nzSrc",nzSrcSet:"nzSrcSet",nzAlt:"nzAlt",nzIcon:"nzIcon"},outputs:{nzError:"nzError"},exportAs:["nzAvatar"],features:[i.TTD],decls:3,vars:3,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[3,"src","error",4,"ngIf"],["class","ant-avatar-string",3,"ngStyle",4,"ngIf"],["nz-icon","",3,"nzType"],[3,"src","error"],[1,"ant-avatar-string",3,"ngStyle"],["textEl",""]],template:function(I,R){1&I&&(i.YNc(0,L,1,1,"i",0),i.YNc(1,Q,1,3,"img",1),i.YNc(2,K,3,2,"span",2)),2&I&&(i.Q6J("ngIf",R.nzIcon&&R.hasIcon),i.xp6(1),i.Q6J("ngIf",R.nzSrc&&R.hasSrc),i.xp6(1),i.Q6J("ngIf",R.nzText&&R.hasText))},directives:[Z.O5,w.Ls,Z.PC],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,t.oS)()],V.prototype,"nzShape",void 0),(0,o.gn)([(0,t.oS)()],V.prototype,"nzSize",void 0),(0,o.gn)([(0,t.oS)(),(0,D.Rn)()],V.prototype,"nzGap",void 0),V})(),oe=(()=>{class V{}return V.\u0275fac=function(I){return new(I||V)},V.\u0275mod=i.oAB({type:V}),V.\u0275inj=i.cJS({imports:[[q.vT,Z.ez,w.PV,F.ud]]}),V})()},4401:(De,re,r)=>{r.d(re,{x7:()=>ue,mS:()=>W,F9:()=>J});var o=r(655),i=r(5e3),t=r(8929),D=r(7625),F=r(8076),Z=r(9439),w=r(1721),q=r(226),O=r(4832),L=r(9808),Q=r(969),K=r(7144);function Y(g,G){if(1&g&&(i.TgZ(0,"p",6),i._uU(1),i.qZA()),2&g){const A=G.$implicit,U=i.oxw(2).index,ye=i.oxw(2);i.ekj("current",A===ye.countArray[U]),i.xp6(1),i.hij(" ",A," ")}}function le(g,G){if(1&g&&(i.ynx(0),i.YNc(1,Y,2,3,"p",5),i.BQk()),2&g){const A=i.oxw(3);i.xp6(1),i.Q6J("ngForOf",A.countSingleArray)}}function te(g,G){if(1&g&&(i.TgZ(0,"span",3),i.YNc(1,le,2,1,"ng-container",4),i.qZA()),2&g){const A=G.index,U=i.oxw(2);i.Udp("transform","translateY("+100*-U.countArray[A]+"%)"),i.Q6J("nzNoAnimation",U.noAnimation),i.xp6(1),i.Q6J("ngIf",!U.nzDot&&void 0!==U.countArray[A])}}function se(g,G){if(1&g&&(i.ynx(0),i.YNc(1,te,2,4,"span",2),i.BQk()),2&g){const A=i.oxw();i.xp6(1),i.Q6J("ngForOf",A.maxNumberArray)}}function oe(g,G){if(1&g&&i._uU(0),2&g){const A=i.oxw();i.hij("",A.nzOverflowCount,"+")}}function V(g,G){if(1&g&&(i.ynx(0),i._uU(1),i.BQk()),2&g){const A=i.oxw(2);i.xp6(1),i.Oqu(A.nzText)}}function b(g,G){if(1&g&&(i.ynx(0),i._UZ(1,"span",2),i.TgZ(2,"span",3),i.YNc(3,V,2,1,"ng-container",1),i.qZA(),i.BQk()),2&g){const A=i.oxw();i.xp6(1),i.Gre("ant-badge-status-dot ant-badge-status-",A.nzStatus||A.presetColor,""),i.Udp("background",!A.presetColor&&A.nzColor),i.Q6J("ngStyle",A.nzStyle),i.xp6(2),i.Q6J("nzStringTemplateOutlet",A.nzText)}}function I(g,G){if(1&g&&i._UZ(0,"nz-badge-sup",5),2&g){const A=i.oxw(2);i.Q6J("nzOffset",A.nzOffset)("nzTitle",A.nzTitle)("nzStyle",A.nzStyle)("nzDot",A.nzDot)("nzOverflowCount",A.nzOverflowCount)("disableAnimation",!!(A.nzStandalone||A.nzStatus||A.nzColor||null!=A.noAnimation&&A.noAnimation.nzNoAnimation))("nzCount",A.nzCount)("noAnimation",!(null==A.noAnimation||!A.noAnimation.nzNoAnimation))}}function R(g,G){if(1&g&&(i.ynx(0),i.YNc(1,I,1,8,"nz-badge-sup",4),i.BQk()),2&g){const A=i.oxw();i.xp6(1),i.Q6J("ngIf",A.showSup)}}const ne=["*"];function X(g,G){if(1&g&&(i.ynx(0),i._uU(1),i.BQk()),2&g){const A=i.oxw();i.xp6(1),i.Oqu(A.nzText)}}const de=["pink","red","yellow","orange","cyan","green","blue","purple","geekblue","magenta","volcano","gold","lime"];let fe=(()=>{class g{constructor(){this.nzStyle=null,this.nzDot=!1,this.nzOverflowCount=99,this.disableAnimation=!1,this.noAnimation=!1,this.maxNumberArray=[],this.countArray=[],this.count=0,this.countSingleArray=[0,1,2,3,4,5,6,7,8,9]}generateMaxNumberArray(){this.maxNumberArray=this.nzOverflowCount.toString().split("")}ngOnInit(){this.generateMaxNumberArray()}ngOnChanges(A){const{nzOverflowCount:U,nzCount:ye}=A;ye&&"number"==typeof ye.currentValue&&(this.count=Math.max(0,ye.currentValue),this.countArray=this.count.toString().split("").map(_e=>+_e)),U&&this.generateMaxNumberArray()}}return g.\u0275fac=function(A){return new(A||g)},g.\u0275cmp=i.Xpm({type:g,selectors:[["nz-badge-sup"]],hostAttrs:[1,"ant-scroll-number"],hostVars:15,hostBindings:function(A,U){2&A&&(i.uIk("title",null===U.nzTitle?"":U.nzTitle||U.nzCount),i.d8E("@.disabled",U.disableAnimation)("@zoomBadgeMotion",void 0),i.Akn(U.nzStyle),i.Udp("right",U.nzOffset&&U.nzOffset[0]?-U.nzOffset[0]:null,"px")("margin-top",U.nzOffset&&U.nzOffset[1]?U.nzOffset[1]:null,"px"),i.ekj("ant-badge-count",!U.nzDot)("ant-badge-dot",U.nzDot)("ant-badge-multiple-words",U.countArray.length>=2))},inputs:{nzOffset:"nzOffset",nzTitle:"nzTitle",nzStyle:"nzStyle",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",disableAnimation:"disableAnimation",nzCount:"nzCount",noAnimation:"noAnimation"},exportAs:["nzBadgeSup"],features:[i.TTD],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["overflowTemplate",""],["class","ant-scroll-number-only",3,"nzNoAnimation","transform",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only",3,"nzNoAnimation"],[4,"ngIf"],["class","ant-scroll-number-only-unit",3,"current",4,"ngFor","ngForOf"],[1,"ant-scroll-number-only-unit"]],template:function(A,U){if(1&A&&(i.YNc(0,se,2,1,"ng-container",0),i.YNc(1,oe,1,1,"ng-template",null,1,i.W1O)),2&A){const ye=i.MAs(2);i.Q6J("ngIf",U.count<=U.nzOverflowCount)("ngIfElse",ye)}},directives:[L.O5,L.sg,O.P],encapsulation:2,data:{animation:[F.Ev]},changeDetection:0}),g})(),ue=(()=>{class g{constructor(A,U,ye,_e,Se,Ee){this.nzConfigService=A,this.renderer=U,this.cdr=ye,this.elementRef=_e,this.directionality=Se,this.noAnimation=Ee,this._nzModuleName="badge",this.showSup=!1,this.presetColor=null,this.dir="ltr",this.destroy$=new t.xQ,this.nzShowZero=!1,this.nzShowDot=!0,this.nzStandalone=!1,this.nzDot=!1,this.nzOverflowCount=99,this.nzColor=void 0,this.nzStyle=null,this.nzText=null}ngOnInit(){var A;null===(A=this.directionality.change)||void 0===A||A.pipe((0,D.R)(this.destroy$)).subscribe(U=>{this.dir=U,this.prepareBadgeForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareBadgeForRtl()}ngOnChanges(A){const{nzColor:U,nzShowDot:ye,nzDot:_e,nzCount:Se,nzShowZero:Ee}=A;U&&(this.presetColor=this.nzColor&&-1!==de.indexOf(this.nzColor)?this.nzColor:null),(ye||_e||Se||Ee)&&(this.showSup=this.nzShowDot&&this.nzDot||this.nzCount>0||this.nzCount<=0&&this.nzShowZero)}prepareBadgeForRtl(){this.isRtlLayout?this.renderer.addClass(this.elementRef.nativeElement,"ant-badge-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-badge-rtl")}get isRtlLayout(){return"rtl"===this.dir}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return g.\u0275fac=function(A){return new(A||g)(i.Y36(Z.jY),i.Y36(i.Qsj),i.Y36(i.sBO),i.Y36(i.SBq),i.Y36(q.Is,8),i.Y36(O.P,9))},g.\u0275cmp=i.Xpm({type:g,selectors:[["nz-badge"]],hostAttrs:[1,"ant-badge"],hostVars:4,hostBindings:function(A,U){2&A&&i.ekj("ant-badge-status",U.nzStatus)("ant-badge-not-a-wrapper",!!(U.nzStandalone||U.nzStatus||U.nzColor))},inputs:{nzShowZero:"nzShowZero",nzShowDot:"nzShowDot",nzStandalone:"nzStandalone",nzDot:"nzDot",nzOverflowCount:"nzOverflowCount",nzColor:"nzColor",nzStyle:"nzStyle",nzText:"nzText",nzTitle:"nzTitle",nzStatus:"nzStatus",nzCount:"nzCount",nzOffset:"nzOffset"},exportAs:["nzBadge"],features:[i.TTD],ngContentSelectors:ne,decls:3,vars:2,consts:[[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngStyle"],[1,"ant-badge-status-text"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation",4,"ngIf"],[3,"nzOffset","nzTitle","nzStyle","nzDot","nzOverflowCount","disableAnimation","nzCount","noAnimation"]],template:function(A,U){1&A&&(i.F$t(),i.YNc(0,b,4,7,"ng-container",0),i.Hsn(1),i.YNc(2,R,2,1,"ng-container",1)),2&A&&(i.Q6J("ngIf",U.nzStatus||U.nzColor),i.xp6(2),i.Q6J("nzStringTemplateOutlet",U.nzCount))},directives:[fe,L.O5,L.PC,Q.f],encapsulation:2,data:{animation:[F.Ev]},changeDetection:0}),(0,o.gn)([(0,w.yF)()],g.prototype,"nzShowZero",void 0),(0,o.gn)([(0,w.yF)()],g.prototype,"nzShowDot",void 0),(0,o.gn)([(0,w.yF)()],g.prototype,"nzStandalone",void 0),(0,o.gn)([(0,w.yF)()],g.prototype,"nzDot",void 0),(0,o.gn)([(0,Z.oS)()],g.prototype,"nzOverflowCount",void 0),(0,o.gn)([(0,Z.oS)()],g.prototype,"nzColor",void 0),g})(),J=(()=>{class g{constructor(){this.nzPlacement="end",this.nzText=null,this.presetColor=null}ngOnChanges(A){const{nzColor:U}=A;U&&(this.presetColor=this.nzColor&&-1!==de.indexOf(this.nzColor)?this.nzColor:null)}}return g.\u0275fac=function(A){return new(A||g)},g.\u0275cmp=i.Xpm({type:g,selectors:[["nz-ribbon"]],hostAttrs:[1,"ant-ribbon-wrapper"],inputs:{nzColor:"nzColor",nzPlacement:"nzPlacement",nzText:"nzText"},exportAs:["nzRibbon"],features:[i.TTD],ngContentSelectors:ne,decls:4,vars:11,consts:[[1,"ant-ribbon"],[4,"nzStringTemplateOutlet"],[1,"ant-ribbon-corner"]],template:function(A,U){1&A&&(i.F$t(),i.Hsn(0),i.TgZ(1,"div",0),i.YNc(2,X,2,1,"ng-container",1),i._UZ(3,"div",2),i.qZA()),2&A&&(i.xp6(1),i.Tol(U.presetColor&&"ant-ribbon-color-"+U.presetColor),i.Udp("background-color",!U.presetColor&&U.nzColor),i.ekj("ant-ribbon-placement-end","end"===U.nzPlacement)("ant-ribbon-placement-start","start"===U.nzPlacement),i.xp6(1),i.Q6J("nzStringTemplateOutlet",U.nzText),i.xp6(1),i.Udp("color",!U.presetColor&&U.nzColor))},directives:[Q.f],encapsulation:2,changeDetection:0}),g})(),W=(()=>{class g{}return g.\u0275fac=function(A){return new(A||g)},g.\u0275mod=i.oAB({type:g}),g.\u0275inj=i.cJS({imports:[[q.vT,L.ez,K.Q8,Q.T,O.g]]}),g})()},7484:(De,re,r)=>{r.d(re,{bd:()=>$e,vh:()=>Pe,_i:()=>Se});var o=r(655),i=r(5e3),t=r(1721),D=r(8929),F=r(7625),Z=r(9439),w=r(226),q=r(9808),O=r(969);function L(N,ee){1&N&&i.Hsn(0)}const Q=["*"];function K(N,ee){1&N&&(i.TgZ(0,"div",4),i._UZ(1,"div",5),i.qZA()),2&N&&i.Q6J("ngClass",ee.$implicit)}function Y(N,ee){if(1&N&&(i.TgZ(0,"div",2),i.YNc(1,K,2,1,"div",3),i.qZA()),2&N){const _=ee.$implicit;i.xp6(1),i.Q6J("ngForOf",_)}}function le(N,ee){if(1&N&&(i.ynx(0),i._uU(1),i.BQk()),2&N){const _=i.oxw(3);i.xp6(1),i.Oqu(_.nzTitle)}}function te(N,ee){if(1&N&&(i.TgZ(0,"div",11),i.YNc(1,le,2,1,"ng-container",12),i.qZA()),2&N){const _=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",_.nzTitle)}}function se(N,ee){if(1&N&&(i.ynx(0),i._uU(1),i.BQk()),2&N){const _=i.oxw(3);i.xp6(1),i.Oqu(_.nzExtra)}}function oe(N,ee){if(1&N&&(i.TgZ(0,"div",13),i.YNc(1,se,2,1,"ng-container",12),i.qZA()),2&N){const _=i.oxw(2);i.xp6(1),i.Q6J("nzStringTemplateOutlet",_.nzExtra)}}function V(N,ee){}function b(N,ee){if(1&N&&(i.ynx(0),i.YNc(1,V,0,0,"ng-template",14),i.BQk()),2&N){const _=i.oxw(2);i.xp6(1),i.Q6J("ngTemplateOutlet",_.listOfNzCardTabComponent.template)}}function I(N,ee){if(1&N&&(i.TgZ(0,"div",6),i.TgZ(1,"div",7),i.YNc(2,te,2,1,"div",8),i.YNc(3,oe,2,1,"div",9),i.qZA(),i.YNc(4,b,2,1,"ng-container",10),i.qZA()),2&N){const _=i.oxw();i.xp6(2),i.Q6J("ngIf",_.nzTitle),i.xp6(1),i.Q6J("ngIf",_.nzExtra),i.xp6(1),i.Q6J("ngIf",_.listOfNzCardTabComponent)}}function R(N,ee){}function ne(N,ee){if(1&N&&(i.TgZ(0,"div",15),i.YNc(1,R,0,0,"ng-template",14),i.qZA()),2&N){const _=i.oxw();i.xp6(1),i.Q6J("ngTemplateOutlet",_.nzCover)}}function X(N,ee){1&N&&(i.ynx(0),i.Hsn(1),i.BQk())}function de(N,ee){1&N&&i._UZ(0,"nz-card-loading")}function fe(N,ee){}function pe(N,ee){if(1&N&&(i.TgZ(0,"li"),i.TgZ(1,"span"),i.YNc(2,fe,0,0,"ng-template",14),i.qZA(),i.qZA()),2&N){const _=ee.$implicit,j=i.oxw(2);i.Udp("width",100/j.nzActions.length,"%"),i.xp6(2),i.Q6J("ngTemplateOutlet",_)}}function ue(N,ee){if(1&N&&(i.TgZ(0,"ul",16),i.YNc(1,pe,3,3,"li",17),i.qZA()),2&N){const _=i.oxw();i.xp6(1),i.Q6J("ngForOf",_.nzActions)}}let _e=(()=>{class N{constructor(){this.nzHoverable=!0}}return N.\u0275fac=function(_){return new(_||N)},N.\u0275dir=i.lG2({type:N,selectors:[["","nz-card-grid",""]],hostAttrs:[1,"ant-card-grid"],hostVars:2,hostBindings:function(_,j){2&_&&i.ekj("ant-card-hoverable",j.nzHoverable)},inputs:{nzHoverable:"nzHoverable"},exportAs:["nzCardGrid"]}),(0,o.gn)([(0,t.yF)()],N.prototype,"nzHoverable",void 0),N})(),Se=(()=>{class N{}return N.\u0275fac=function(_){return new(_||N)},N.\u0275cmp=i.Xpm({type:N,selectors:[["nz-card-tab"]],viewQuery:function(_,j){if(1&_&&i.Gf(i.Rgc,7),2&_){let B;i.iGM(B=i.CRH())&&(j.template=B.first)}},exportAs:["nzCardTab"],ngContentSelectors:Q,decls:1,vars:0,template:function(_,j){1&_&&(i.F$t(),i.YNc(0,L,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),N})(),Ee=(()=>{class N{constructor(){this.listOfLoading=[["ant-col-22"],["ant-col-8","ant-col-15"],["ant-col-6","ant-col-18"],["ant-col-13","ant-col-9"],["ant-col-4","ant-col-3","ant-col-16"],["ant-col-8","ant-col-6","ant-col-8"]]}}return N.\u0275fac=function(_){return new(_||N)},N.\u0275cmp=i.Xpm({type:N,selectors:[["nz-card-loading"]],hostAttrs:[1,"ant-card-loading-content"],exportAs:["nzCardLoading"],decls:2,vars:1,consts:[[1,"ant-card-loading-content"],["class","ant-row","style","margin-left: -4px; margin-right: -4px;",4,"ngFor","ngForOf"],[1,"ant-row",2,"margin-left","-4px","margin-right","-4px"],["style","padding-left: 4px; padding-right: 4px;",3,"ngClass",4,"ngFor","ngForOf"],[2,"padding-left","4px","padding-right","4px",3,"ngClass"],[1,"ant-card-loading-block"]],template:function(_,j){1&_&&(i.TgZ(0,"div",0),i.YNc(1,Y,2,1,"div",1),i.qZA()),2&_&&(i.xp6(1),i.Q6J("ngForOf",j.listOfLoading))},directives:[q.sg,q.mk],encapsulation:2,changeDetection:0}),N})(),$e=(()=>{class N{constructor(_,j,B){this.nzConfigService=_,this.cdr=j,this.directionality=B,this._nzModuleName="card",this.nzBordered=!0,this.nzBorderless=!1,this.nzLoading=!1,this.nzHoverable=!1,this.nzBodyStyle=null,this.nzActions=[],this.nzType=null,this.nzSize="default",this.dir="ltr",this.destroy$=new D.xQ,this.nzConfigService.getConfigChangeEventForComponent("card").pipe((0,F.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}ngOnInit(){var _;null===(_=this.directionality.change)||void 0===_||_.pipe((0,F.R)(this.destroy$)).subscribe(j=>{this.dir=j,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return N.\u0275fac=function(_){return new(_||N)(i.Y36(Z.jY),i.Y36(i.sBO),i.Y36(w.Is,8))},N.\u0275cmp=i.Xpm({type:N,selectors:[["nz-card"]],contentQueries:function(_,j,B){if(1&_&&(i.Suo(B,Se,5),i.Suo(B,_e,4)),2&_){let ge;i.iGM(ge=i.CRH())&&(j.listOfNzCardTabComponent=ge.first),i.iGM(ge=i.CRH())&&(j.listOfNzCardGridDirective=ge)}},hostAttrs:[1,"ant-card"],hostVars:16,hostBindings:function(_,j){2&_&&i.ekj("ant-card-loading",j.nzLoading)("ant-card-bordered",!1===j.nzBorderless&&j.nzBordered)("ant-card-hoverable",j.nzHoverable)("ant-card-small","small"===j.nzSize)("ant-card-contain-grid",j.listOfNzCardGridDirective&&j.listOfNzCardGridDirective.length)("ant-card-type-inner","inner"===j.nzType)("ant-card-contain-tabs",!!j.listOfNzCardTabComponent)("ant-card-rtl","rtl"===j.dir)},inputs:{nzBordered:"nzBordered",nzBorderless:"nzBorderless",nzLoading:"nzLoading",nzHoverable:"nzHoverable",nzBodyStyle:"nzBodyStyle",nzCover:"nzCover",nzActions:"nzActions",nzType:"nzType",nzSize:"nzSize",nzTitle:"nzTitle",nzExtra:"nzExtra"},exportAs:["nzCard"],ngContentSelectors:Q,decls:7,vars:6,consts:[["class","ant-card-head",4,"ngIf"],["class","ant-card-cover",4,"ngIf"],[1,"ant-card-body",3,"ngStyle"],[4,"ngIf","ngIfElse"],["loadingTemplate",""],["class","ant-card-actions",4,"ngIf"],[1,"ant-card-head"],[1,"ant-card-head-wrapper"],["class","ant-card-head-title",4,"ngIf"],["class","ant-card-extra",4,"ngIf"],[4,"ngIf"],[1,"ant-card-head-title"],[4,"nzStringTemplateOutlet"],[1,"ant-card-extra"],[3,"ngTemplateOutlet"],[1,"ant-card-cover"],[1,"ant-card-actions"],[3,"width",4,"ngFor","ngForOf"]],template:function(_,j){if(1&_&&(i.F$t(),i.YNc(0,I,5,3,"div",0),i.YNc(1,ne,2,1,"div",1),i.TgZ(2,"div",2),i.YNc(3,X,2,0,"ng-container",3),i.YNc(4,de,1,0,"ng-template",null,4,i.W1O),i.qZA(),i.YNc(6,ue,2,1,"ul",5)),2&_){const B=i.MAs(5);i.Q6J("ngIf",j.nzTitle||j.nzExtra||j.listOfNzCardTabComponent),i.xp6(1),i.Q6J("ngIf",j.nzCover),i.xp6(1),i.Q6J("ngStyle",j.nzBodyStyle),i.xp6(1),i.Q6J("ngIf",!j.nzLoading)("ngIfElse",B),i.xp6(3),i.Q6J("ngIf",j.nzActions.length)}},directives:[Ee,q.O5,O.f,q.tP,q.PC,q.sg],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,Z.oS)(),(0,t.yF)()],N.prototype,"nzBordered",void 0),(0,o.gn)([(0,Z.oS)(),(0,t.yF)()],N.prototype,"nzBorderless",void 0),(0,o.gn)([(0,t.yF)()],N.prototype,"nzLoading",void 0),(0,o.gn)([(0,Z.oS)(),(0,t.yF)()],N.prototype,"nzHoverable",void 0),(0,o.gn)([(0,Z.oS)()],N.prototype,"nzSize",void 0),N})(),Pe=(()=>{class N{}return N.\u0275fac=function(_){return new(_||N)},N.\u0275mod=i.oAB({type:N}),N.\u0275inj=i.cJS({imports:[[q.ez,O.T],w.vT]}),N})()},3677:(De,re,r)=>{r.d(re,{cm:()=>Se,b1:()=>Pe,wA:()=>$e,RR:()=>Ve});var o=r(655),i=r(1159),t=r(7429),D=r(5e3),F=r(8929),Z=r(591),w=r(6787),q=r(3753),O=r(8896),L=r(3426),Q=r(7604),K=r(4850),Y=r(7545),le=r(2198),te=r(7138),se=r(5778),oe=r(7625),V=r(9439),b=r(6950),I=r(1721),R=r(2845),ne=r(925),X=r(226),de=r(9808),fe=r(4182),pe=r(6042),ue=r(4832),J=r(969),W=r(647),g=r(4219),G=r(8076);function A(_,j){if(1&_){const B=D.EpF();D.TgZ(0,"div",0),D.NdJ("@slideMotion.done",function(Ce){return D.CHM(B),D.oxw().onAnimationEvent(Ce)})("mouseenter",function(){return D.CHM(B),D.oxw().setMouseState(!0)})("mouseleave",function(){return D.CHM(B),D.oxw().setMouseState(!1)}),D.Hsn(1),D.qZA()}if(2&_){const B=D.oxw();D.ekj("ant-dropdown-rtl","rtl"===B.dir),D.Q6J("ngClass",B.nzOverlayClassName)("ngStyle",B.nzOverlayStyle)("@slideMotion",void 0)("@.disabled",null==B.noAnimation?null:B.noAnimation.nzNoAnimation)("nzNoAnimation",null==B.noAnimation?null:B.noAnimation.nzNoAnimation)}}const U=["*"],_e=[b.yW.bottomLeft,b.yW.bottomRight,b.yW.topRight,b.yW.topLeft];let Se=(()=>{class _{constructor(B,ge,Ce,Ae,Me,Ie){this.nzConfigService=B,this.elementRef=ge,this.overlay=Ce,this.renderer=Ae,this.viewContainerRef=Me,this.platform=Ie,this._nzModuleName="dropDown",this.overlayRef=null,this.destroy$=new F.xQ,this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.elementRef.nativeElement).withLockedPosition().withTransformOriginOn(".ant-dropdown"),this.inputVisible$=new Z.X(!1),this.nzTrigger$=new Z.X("hover"),this.overlayClose$=new F.xQ,this.nzDropdownMenu=null,this.nzTrigger="hover",this.nzMatchWidthElement=null,this.nzBackdrop=!1,this.nzClickHide=!0,this.nzDisabled=!1,this.nzVisible=!1,this.nzOverlayClassName="",this.nzOverlayStyle={},this.nzPlacement="bottomLeft",this.nzVisibleChange=new D.vpe}setDropdownMenuValue(B,ge){this.nzDropdownMenu&&this.nzDropdownMenu.setValue(B,ge)}ngAfterViewInit(){if(this.nzDropdownMenu){const B=this.elementRef.nativeElement,ge=(0,w.T)((0,q.R)(B,"mouseenter").pipe((0,Q.h)(!0)),(0,q.R)(B,"mouseleave").pipe((0,Q.h)(!1))),Ae=(0,w.T)(this.nzDropdownMenu.mouseState$,ge),Me=(0,q.R)(B,"click").pipe((0,K.U)(()=>!this.nzVisible)),Ie=this.nzTrigger$.pipe((0,Y.w)(ve=>"hover"===ve?Ae:"click"===ve?Me:O.E)),Le=this.nzDropdownMenu.descendantMenuItemClick$.pipe((0,le.h)(()=>this.nzClickHide),(0,Q.h)(!1)),Ne=(0,w.T)(Ie,Le,this.overlayClose$).pipe((0,le.h)(()=>!this.nzDisabled)),Be=(0,w.T)(this.inputVisible$,Ne);(0,L.aj)([Be,this.nzDropdownMenu.isChildSubMenuOpen$]).pipe((0,K.U)(([ve,Ue])=>ve||Ue),(0,te.e)(150),(0,se.x)(),(0,le.h)(()=>this.platform.isBrowser),(0,oe.R)(this.destroy$)).subscribe(ve=>{const xe=(this.nzMatchWidthElement?this.nzMatchWidthElement.nativeElement:B).getBoundingClientRect().width;this.nzVisible!==ve&&this.nzVisibleChange.emit(ve),this.nzVisible=ve,ve?(this.overlayRef?this.overlayRef.getConfig().minWidth=xe:(this.overlayRef=this.overlay.create({positionStrategy:this.positionStrategy,minWidth:xe,disposeOnNavigation:!0,hasBackdrop:this.nzBackdrop&&"click"===this.nzTrigger,scrollStrategy:this.overlay.scrollStrategies.reposition()}),(0,w.T)(this.overlayRef.backdropClick(),this.overlayRef.detachments(),this.overlayRef.outsidePointerEvents().pipe((0,le.h)(Re=>!this.elementRef.nativeElement.contains(Re.target))),this.overlayRef.keydownEvents().pipe((0,le.h)(Re=>Re.keyCode===i.hY&&!(0,i.Vb)(Re)))).pipe((0,oe.R)(this.destroy$)).subscribe(()=>{this.overlayClose$.next(!1)})),this.positionStrategy.withPositions([b.yW[this.nzPlacement],..._e]),(!this.portal||this.portal.templateRef!==this.nzDropdownMenu.templateRef)&&(this.portal=new t.UE(this.nzDropdownMenu.templateRef,this.viewContainerRef)),this.overlayRef.attach(this.portal)):this.overlayRef&&this.overlayRef.detach()}),this.nzDropdownMenu.animationStateChange$.pipe((0,oe.R)(this.destroy$)).subscribe(ve=>{"void"===ve.toState&&(this.overlayRef&&this.overlayRef.dispose(),this.overlayRef=null)})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.overlayRef&&(this.overlayRef.dispose(),this.overlayRef=null)}ngOnChanges(B){const{nzVisible:ge,nzDisabled:Ce,nzOverlayClassName:Ae,nzOverlayStyle:Me,nzTrigger:Ie}=B;if(Ie&&this.nzTrigger$.next(this.nzTrigger),ge&&this.inputVisible$.next(this.nzVisible),Ce){const Le=this.elementRef.nativeElement;this.nzDisabled?(this.renderer.setAttribute(Le,"disabled",""),this.inputVisible$.next(!1)):this.renderer.removeAttribute(Le,"disabled")}Ae&&this.setDropdownMenuValue("nzOverlayClassName",this.nzOverlayClassName),Me&&this.setDropdownMenuValue("nzOverlayStyle",this.nzOverlayStyle)}}return _.\u0275fac=function(B){return new(B||_)(D.Y36(V.jY),D.Y36(D.SBq),D.Y36(R.aV),D.Y36(D.Qsj),D.Y36(D.s_b),D.Y36(ne.t4))},_.\u0275dir=D.lG2({type:_,selectors:[["","nz-dropdown",""]],hostAttrs:[1,"ant-dropdown-trigger"],inputs:{nzDropdownMenu:"nzDropdownMenu",nzTrigger:"nzTrigger",nzMatchWidthElement:"nzMatchWidthElement",nzBackdrop:"nzBackdrop",nzClickHide:"nzClickHide",nzDisabled:"nzDisabled",nzVisible:"nzVisible",nzOverlayClassName:"nzOverlayClassName",nzOverlayStyle:"nzOverlayStyle",nzPlacement:"nzPlacement"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzDropdown"],features:[D.TTD]}),(0,o.gn)([(0,V.oS)(),(0,I.yF)()],_.prototype,"nzBackdrop",void 0),(0,o.gn)([(0,I.yF)()],_.prototype,"nzClickHide",void 0),(0,o.gn)([(0,I.yF)()],_.prototype,"nzDisabled",void 0),(0,o.gn)([(0,I.yF)()],_.prototype,"nzVisible",void 0),_})(),Ee=(()=>{class _{}return _.\u0275fac=function(B){return new(B||_)},_.\u0275mod=D.oAB({type:_}),_.\u0275inj=D.cJS({}),_})(),$e=(()=>{class _{constructor(B,ge,Ce){this.renderer=B,this.nzButtonGroupComponent=ge,this.elementRef=Ce}ngAfterViewInit(){const B=this.renderer.parentNode(this.elementRef.nativeElement);this.nzButtonGroupComponent&&B&&this.renderer.addClass(B,"ant-dropdown-button")}}return _.\u0275fac=function(B){return new(B||_)(D.Y36(D.Qsj),D.Y36(pe.fY,9),D.Y36(D.SBq))},_.\u0275dir=D.lG2({type:_,selectors:[["","nz-button","","nz-dropdown",""]]}),_})(),Ve=(()=>{class _{constructor(B,ge,Ce,Ae,Me,Ie,Le){this.cdr=B,this.elementRef=ge,this.renderer=Ce,this.viewContainerRef=Ae,this.nzMenuService=Me,this.directionality=Ie,this.noAnimation=Le,this.mouseState$=new Z.X(!1),this.isChildSubMenuOpen$=this.nzMenuService.isChildSubMenuOpen$,this.descendantMenuItemClick$=this.nzMenuService.descendantMenuItemClick$,this.animationStateChange$=new D.vpe,this.nzOverlayClassName="",this.nzOverlayStyle={},this.dir="ltr",this.destroy$=new F.xQ}onAnimationEvent(B){this.animationStateChange$.emit(B)}setMouseState(B){this.mouseState$.next(B)}setValue(B,ge){this[B]=ge,this.cdr.markForCheck()}ngOnInit(){var B;null===(B=this.directionality.change)||void 0===B||B.pipe((0,oe.R)(this.destroy$)).subscribe(ge=>{this.dir=ge,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterContentInit(){this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return _.\u0275fac=function(B){return new(B||_)(D.Y36(D.sBO),D.Y36(D.SBq),D.Y36(D.Qsj),D.Y36(D.s_b),D.Y36(g.hl),D.Y36(X.Is,8),D.Y36(ue.P,9))},_.\u0275cmp=D.Xpm({type:_,selectors:[["nz-dropdown-menu"]],viewQuery:function(B,ge){if(1&B&&D.Gf(D.Rgc,7),2&B){let Ce;D.iGM(Ce=D.CRH())&&(ge.templateRef=Ce.first)}},exportAs:["nzDropdownMenu"],features:[D._Bn([g.hl,{provide:g.Cc,useValue:!0}])],ngContentSelectors:U,decls:1,vars:0,consts:[[1,"ant-dropdown",3,"ngClass","ngStyle","nzNoAnimation","mouseenter","mouseleave"]],template:function(B,ge){1&B&&(D.F$t(),D.YNc(0,A,2,7,"ng-template"))},directives:[de.mk,de.PC,ue.P],encapsulation:2,data:{animation:[G.mF]},changeDetection:0}),_})(),Pe=(()=>{class _{}return _.\u0275fac=function(B){return new(B||_)},_.\u0275mod=D.oAB({type:_}),_.\u0275inj=D.cJS({imports:[[X.vT,de.ez,R.U8,fe.u5,pe.sL,g.ip,W.PV,ue.g,ne.ud,b.e4,Ee,J.T],g.ip]}),_})();new R.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"top"}),new R.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"}),new R.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"bottom"}),new R.tR({originX:"start",originY:"top"},{overlayX:"end",overlayY:"top"})},3762:(De,re,r)=>{r.d(re,{n_:()=>Qe,I2:()=>Fe,t4:()=>ke,AA:()=>je,yw:()=>ze,yi:()=>ie,IO:()=>m,Ph:()=>Xe});var o=r(5e3),i=r(6699),t=r(9808),D=r(969),F=r(655),Z=r(1721),w=r(8929),q=r(8514),O=r(1086),L=r(6787),Q=r(591),K=r(2986),Y=r(7545),le=r(7625),te=r(685),se=r(226),oe=r(7525),V=r(1894);const b=["*"];function I(f,E){if(1&f&&o._UZ(0,"nz-avatar",3),2&f){const C=o.oxw();o.Q6J("nzSrc",C.nzSrc)}}function R(f,E){1&f&&o.Hsn(0,0,["*ngIf","!nzSrc"])}function ne(f,E){if(1&f&&o._UZ(0,"nz-list-item-meta-avatar",3),2&f){const C=o.oxw();o.Q6J("nzSrc",C.avatarStr)}}function X(f,E){if(1&f&&(o.TgZ(0,"nz-list-item-meta-avatar"),o.GkF(1,4),o.qZA()),2&f){const C=o.oxw();o.xp6(1),o.Q6J("ngTemplateOutlet",C.avatarTpl)}}function de(f,E){if(1&f&&(o.ynx(0),o._uU(1),o.BQk()),2&f){const C=o.oxw(3);o.xp6(1),o.Oqu(C.nzTitle)}}function fe(f,E){if(1&f&&(o.TgZ(0,"nz-list-item-meta-title"),o.YNc(1,de,2,1,"ng-container",6),o.qZA()),2&f){const C=o.oxw(2);o.xp6(1),o.Q6J("nzStringTemplateOutlet",C.nzTitle)}}function pe(f,E){if(1&f&&(o.ynx(0),o._uU(1),o.BQk()),2&f){const C=o.oxw(3);o.xp6(1),o.Oqu(C.nzDescription)}}function ue(f,E){if(1&f&&(o.TgZ(0,"nz-list-item-meta-description"),o.YNc(1,pe,2,1,"ng-container",6),o.qZA()),2&f){const C=o.oxw(2);o.xp6(1),o.Q6J("nzStringTemplateOutlet",C.nzDescription)}}function J(f,E){if(1&f&&(o.TgZ(0,"div",5),o.YNc(1,fe,2,1,"nz-list-item-meta-title",1),o.YNc(2,ue,2,1,"nz-list-item-meta-description",1),o.Hsn(3,1),o.Hsn(4,2),o.qZA()),2&f){const C=o.oxw();o.xp6(1),o.Q6J("ngIf",C.nzTitle&&!C.titleComponent),o.xp6(1),o.Q6J("ngIf",C.nzDescription&&!C.descriptionComponent)}}const W=[[["nz-list-item-meta-avatar"]],[["nz-list-item-meta-title"]],[["nz-list-item-meta-description"]]],g=["nz-list-item-meta-avatar","nz-list-item-meta-title","nz-list-item-meta-description"];function G(f,E){1&f&&o.Hsn(0)}const A=["nz-list-item-actions",""];function U(f,E){}function ye(f,E){1&f&&o._UZ(0,"em",3)}function _e(f,E){if(1&f&&(o.TgZ(0,"li"),o.YNc(1,U,0,0,"ng-template",1),o.YNc(2,ye,1,0,"em",2),o.qZA()),2&f){const C=E.$implicit,$=E.last;o.xp6(1),o.Q6J("ngTemplateOutlet",C),o.xp6(1),o.Q6J("ngIf",!$)}}function Se(f,E){}const Ee=function(f,E){return{$implicit:f,index:E}};function Oe(f,E){if(1&f&&(o.ynx(0),o.YNc(1,Se,0,0,"ng-template",9),o.BQk()),2&f){const C=E.$implicit,$=E.index,ce=o.oxw(2);o.xp6(1),o.Q6J("ngTemplateOutlet",ce.nzRenderItem)("ngTemplateOutletContext",o.WLB(2,Ee,C,$))}}function $e(f,E){if(1&f&&(o.TgZ(0,"div",7),o.YNc(1,Oe,2,5,"ng-container",8),o.Hsn(2,4),o.qZA()),2&f){const C=o.oxw();o.xp6(1),o.Q6J("ngForOf",C.nzDataSource)}}function Ve(f,E){if(1&f&&(o.ynx(0),o._uU(1),o.BQk()),2&f){const C=o.oxw(2);o.xp6(1),o.Oqu(C.nzHeader)}}function Pe(f,E){if(1&f&&(o.TgZ(0,"nz-list-header"),o.YNc(1,Ve,2,1,"ng-container",10),o.qZA()),2&f){const C=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",C.nzHeader)}}function N(f,E){1&f&&o._UZ(0,"div"),2&f&&o.Udp("min-height",53,"px")}function ee(f,E){}function _(f,E){if(1&f&&(o.TgZ(0,"div",13),o.YNc(1,ee,0,0,"ng-template",9),o.qZA()),2&f){const C=E.$implicit,$=E.index,ce=o.oxw(2);o.Q6J("nzSpan",ce.nzGrid.span||null)("nzXs",ce.nzGrid.xs||null)("nzSm",ce.nzGrid.sm||null)("nzMd",ce.nzGrid.md||null)("nzLg",ce.nzGrid.lg||null)("nzXl",ce.nzGrid.xl||null)("nzXXl",ce.nzGrid.xxl||null),o.xp6(1),o.Q6J("ngTemplateOutlet",ce.nzRenderItem)("ngTemplateOutletContext",o.WLB(9,Ee,C,$))}}function j(f,E){if(1&f&&(o.TgZ(0,"div",11),o.YNc(1,_,2,12,"div",12),o.qZA()),2&f){const C=o.oxw();o.Q6J("nzGutter",C.nzGrid.gutter||null),o.xp6(1),o.Q6J("ngForOf",C.nzDataSource)}}function B(f,E){if(1&f&&o._UZ(0,"nz-list-empty",14),2&f){const C=o.oxw();o.Q6J("nzNoResult",C.nzNoResult)}}function ge(f,E){if(1&f&&(o.ynx(0),o._uU(1),o.BQk()),2&f){const C=o.oxw(2);o.xp6(1),o.Oqu(C.nzFooter)}}function Ce(f,E){if(1&f&&(o.TgZ(0,"nz-list-footer"),o.YNc(1,ge,2,1,"ng-container",10),o.qZA()),2&f){const C=o.oxw();o.xp6(1),o.Q6J("nzStringTemplateOutlet",C.nzFooter)}}function Ae(f,E){}function Me(f,E){}function Ie(f,E){if(1&f&&(o.TgZ(0,"nz-list-pagination"),o.YNc(1,Me,0,0,"ng-template",6),o.qZA()),2&f){const C=o.oxw();o.xp6(1),o.Q6J("ngTemplateOutlet",C.nzPagination)}}const Le=[[["nz-list-header"]],[["nz-list-footer"],["","nz-list-footer",""]],[["nz-list-load-more"],["","nz-list-load-more",""]],[["nz-list-pagination"],["","nz-list-pagination",""]],"*"],Ne=["nz-list-header","nz-list-footer, [nz-list-footer]","nz-list-load-more, [nz-list-load-more]","nz-list-pagination, [nz-list-pagination]","*"];function Be(f,E){if(1&f&&o._UZ(0,"ul",6),2&f){const C=o.oxw(2);o.Q6J("nzActions",C.nzActions)}}function ve(f,E){if(1&f&&(o.YNc(0,Be,1,1,"ul",5),o.Hsn(1)),2&f){const C=o.oxw();o.Q6J("ngIf",C.nzActions&&C.nzActions.length>0)}}function Ue(f,E){if(1&f&&(o.ynx(0),o._uU(1),o.BQk()),2&f){const C=o.oxw(3);o.xp6(1),o.Oqu(C.nzContent)}}function xe(f,E){if(1&f&&(o.ynx(0),o.YNc(1,Ue,2,1,"ng-container",8),o.BQk()),2&f){const C=o.oxw(2);o.xp6(1),o.Q6J("nzStringTemplateOutlet",C.nzContent)}}function Re(f,E){if(1&f&&(o.Hsn(0,1),o.Hsn(1,2),o.YNc(2,xe,2,1,"ng-container",7)),2&f){const C=o.oxw();o.xp6(2),o.Q6J("ngIf",C.nzContent)}}function it(f,E){1&f&&o.Hsn(0,3)}function ot(f,E){}function tt(f,E){}function rt(f,E){}function h(f,E){}function st(f,E){if(1&f&&(o.YNc(0,ot,0,0,"ng-template",9),o.YNc(1,tt,0,0,"ng-template",9),o.YNc(2,rt,0,0,"ng-template",9),o.YNc(3,h,0,0,"ng-template",9)),2&f){const C=o.oxw(),$=o.MAs(3),ce=o.MAs(5),he=o.MAs(1);o.Q6J("ngTemplateOutlet",$),o.xp6(1),o.Q6J("ngTemplateOutlet",C.nzExtra),o.xp6(1),o.Q6J("ngTemplateOutlet",ce),o.xp6(1),o.Q6J("ngTemplateOutlet",he)}}function at(f,E){}function ct(f,E){}function lt(f,E){}function Ge(f,E){if(1&f&&(o.TgZ(0,"nz-list-item-extra"),o.YNc(1,lt,0,0,"ng-template",9),o.qZA()),2&f){const C=o.oxw(2);o.xp6(1),o.Q6J("ngTemplateOutlet",C.nzExtra)}}function pt(f,E){}function p(f,E){if(1&f&&(o.ynx(0),o.TgZ(1,"div",10),o.YNc(2,at,0,0,"ng-template",9),o.YNc(3,ct,0,0,"ng-template",9),o.qZA(),o.YNc(4,Ge,2,1,"nz-list-item-extra",7),o.YNc(5,pt,0,0,"ng-template",9),o.BQk()),2&f){const C=o.oxw(),$=o.MAs(3),ce=o.MAs(1),he=o.MAs(5);o.xp6(2),o.Q6J("ngTemplateOutlet",$),o.xp6(1),o.Q6J("ngTemplateOutlet",ce),o.xp6(1),o.Q6J("ngIf",C.nzExtra),o.xp6(1),o.Q6J("ngTemplateOutlet",he)}}const a=[[["nz-list-item-actions"],["","nz-list-item-actions",""]],[["nz-list-item-meta"],["","nz-list-item-meta",""]],"*",[["nz-list-item-extra"],["","nz-list-item-extra",""]]],H=["nz-list-item-actions, [nz-list-item-actions]","nz-list-item-meta, [nz-list-item-meta]","*","nz-list-item-extra, [nz-list-item-extra]"];let m=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-item-meta-title"]],exportAs:["nzListItemMetaTitle"],ngContentSelectors:b,decls:2,vars:0,consts:[[1,"ant-list-item-meta-title"]],template:function(C,$){1&C&&(o.F$t(),o.TgZ(0,"h4",0),o.Hsn(1),o.qZA())},encapsulation:2,changeDetection:0}),f})(),l=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-item-meta-description"]],exportAs:["nzListItemMetaDescription"],ngContentSelectors:b,decls:2,vars:0,consts:[[1,"ant-list-item-meta-description"]],template:function(C,$){1&C&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},encapsulation:2,changeDetection:0}),f})(),k=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-item-meta-avatar"]],inputs:{nzSrc:"nzSrc"},exportAs:["nzListItemMetaAvatar"],ngContentSelectors:b,decls:3,vars:2,consts:[[1,"ant-list-item-meta-avatar"],[3,"nzSrc",4,"ngIf"],[4,"ngIf"],[3,"nzSrc"]],template:function(C,$){1&C&&(o.F$t(),o.TgZ(0,"div",0),o.YNc(1,I,1,1,"nz-avatar",1),o.YNc(2,R,1,0,"ng-content",2),o.qZA()),2&C&&(o.xp6(1),o.Q6J("ngIf",$.nzSrc),o.xp6(1),o.Q6J("ngIf",!$.nzSrc))},directives:[i.Dz,t.O5],encapsulation:2,changeDetection:0}),f})(),ie=(()=>{class f{constructor(C,$){this.elementRef=C,this.renderer=$,this.avatarStr="",this.renderer.addClass(C.nativeElement,"ant-list-item-meta")}set nzAvatar(C){C instanceof o.Rgc?(this.avatarStr="",this.avatarTpl=C):this.avatarStr=C}}return f.\u0275fac=function(C){return new(C||f)(o.Y36(o.SBq),o.Y36(o.Qsj))},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-item-meta"],["","nz-list-item-meta",""]],contentQueries:function(C,$,ce){if(1&C&&(o.Suo(ce,l,5),o.Suo(ce,m,5)),2&C){let he;o.iGM(he=o.CRH())&&($.descriptionComponent=he.first),o.iGM(he=o.CRH())&&($.titleComponent=he.first)}},inputs:{nzAvatar:"nzAvatar",nzTitle:"nzTitle",nzDescription:"nzDescription"},exportAs:["nzListItemMeta"],ngContentSelectors:g,decls:4,vars:3,consts:[[3,"nzSrc",4,"ngIf"],[4,"ngIf"],["class","ant-list-item-meta-content",4,"ngIf"],[3,"nzSrc"],[3,"ngTemplateOutlet"],[1,"ant-list-item-meta-content"],[4,"nzStringTemplateOutlet"]],template:function(C,$){1&C&&(o.F$t(W),o.YNc(0,ne,1,1,"nz-list-item-meta-avatar",0),o.YNc(1,X,2,1,"nz-list-item-meta-avatar",1),o.Hsn(2),o.YNc(3,J,5,2,"div",2)),2&C&&(o.Q6J("ngIf",$.avatarStr),o.xp6(1),o.Q6J("ngIf",$.avatarTpl),o.xp6(2),o.Q6J("ngIf",$.nzTitle||$.nzDescription||$.descriptionComponent||$.titleComponent))},directives:[k,m,l,t.O5,t.tP,D.f],encapsulation:2,changeDetection:0}),f})(),ze=(()=>{class f{constructor(){}}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-item-extra"],["","nz-list-item-extra",""]],hostAttrs:[1,"ant-list-item-extra"],exportAs:["nzListItemExtra"],ngContentSelectors:b,decls:1,vars:0,template:function(C,$){1&C&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),f})(),Ze=(()=>{class f{constructor(){}}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-item-action"]],viewQuery:function(C,$){if(1&C&&o.Gf(o.Rgc,5),2&C){let ce;o.iGM(ce=o.CRH())&&($.templateRef=ce.first)}},exportAs:["nzListItemAction"],ngContentSelectors:b,decls:1,vars:0,template:function(C,$){1&C&&(o.F$t(),o.YNc(0,G,1,0,"ng-template"))},encapsulation:2,changeDetection:0}),f})(),Te=(()=>{class f{constructor(C,$){this.ngZone=C,this.cdr=$,this.nzActions=[],this.actions=[],this.destroy$=new w.xQ,this.inputActionChanges$=new w.xQ,this.contentChildrenChanges$=(0,q.P)(()=>this.nzListItemActions?(0,O.of)(null):this.ngZone.onStable.asObservable().pipe((0,K.q)(1),(0,Y.w)(()=>this.contentChildrenChanges$))),(0,L.T)(this.contentChildrenChanges$,this.inputActionChanges$).pipe((0,le.R)(this.destroy$)).subscribe(()=>{this.actions=this.nzActions.length?this.nzActions:this.nzListItemActions.map(ce=>ce.templateRef),this.cdr.detectChanges()})}ngOnChanges(){this.inputActionChanges$.next(null)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return f.\u0275fac=function(C){return new(C||f)(o.Y36(o.R0b),o.Y36(o.sBO))},f.\u0275cmp=o.Xpm({type:f,selectors:[["ul","nz-list-item-actions",""]],contentQueries:function(C,$,ce){if(1&C&&o.Suo(ce,Ze,4),2&C){let he;o.iGM(he=o.CRH())&&($.nzListItemActions=he)}},hostAttrs:[1,"ant-list-item-action"],inputs:{nzActions:"nzActions"},exportAs:["nzListItemActions"],features:[o.TTD],attrs:A,decls:1,vars:1,consts:[[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["class","ant-list-item-action-split",4,"ngIf"],[1,"ant-list-item-action-split"]],template:function(C,$){1&C&&o.YNc(0,_e,3,2,"li",0),2&C&&o.Q6J("ngForOf",$.actions)},directives:[t.sg,t.tP,t.O5],encapsulation:2,changeDetection:0}),f})(),Fe=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-empty"]],hostAttrs:[1,"ant-list-empty-text"],inputs:{nzNoResult:"nzNoResult"},exportAs:["nzListHeader"],decls:1,vars:2,consts:[[3,"nzComponentName","specificContent"]],template:function(C,$){1&C&&o._UZ(0,"nz-embed-empty",0),2&C&&o.Q6J("nzComponentName","list")("specificContent",$.nzNoResult)},directives:[te.gB],encapsulation:2,changeDetection:0}),f})(),ke=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-header"]],hostAttrs:[1,"ant-list-header"],exportAs:["nzListHeader"],ngContentSelectors:b,decls:1,vars:0,template:function(C,$){1&C&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),f})(),Ye=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-footer"]],hostAttrs:[1,"ant-list-footer"],exportAs:["nzListFooter"],ngContentSelectors:b,decls:1,vars:0,template:function(C,$){1&C&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),f})(),Je=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-pagination"]],hostAttrs:[1,"ant-list-pagination"],exportAs:["nzListPagination"],ngContentSelectors:b,decls:1,vars:0,template:function(C,$){1&C&&(o.F$t(),o.Hsn(0))},encapsulation:2,changeDetection:0}),f})(),He=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275dir=o.lG2({type:f,selectors:[["nz-list-load-more"]],exportAs:["nzListLoadMoreDirective"]}),f})(),Qe=(()=>{class f{constructor(C){this.directionality=C,this.nzBordered=!1,this.nzGrid="",this.nzItemLayout="horizontal",this.nzRenderItem=null,this.nzLoading=!1,this.nzLoadMore=null,this.nzSize="default",this.nzSplit=!0,this.hasSomethingAfterLastItem=!1,this.dir="ltr",this.itemLayoutNotifySource=new Q.X(this.nzItemLayout),this.destroy$=new w.xQ}get itemLayoutNotify$(){return this.itemLayoutNotifySource.asObservable()}ngOnInit(){var C;this.dir=this.directionality.value,null===(C=this.directionality.change)||void 0===C||C.pipe((0,le.R)(this.destroy$)).subscribe($=>{this.dir=$})}getSomethingAfterLastItem(){return!!(this.nzLoadMore||this.nzPagination||this.nzFooter||this.nzListFooterComponent||this.nzListPaginationComponent||this.nzListLoadMoreDirective)}ngOnChanges(C){C.nzItemLayout&&this.itemLayoutNotifySource.next(this.nzItemLayout)}ngOnDestroy(){this.itemLayoutNotifySource.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.hasSomethingAfterLastItem=this.getSomethingAfterLastItem()}}return f.\u0275fac=function(C){return new(C||f)(o.Y36(se.Is,8))},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list"],["","nz-list",""]],contentQueries:function(C,$,ce){if(1&C&&(o.Suo(ce,Ye,5),o.Suo(ce,Je,5),o.Suo(ce,He,5)),2&C){let he;o.iGM(he=o.CRH())&&($.nzListFooterComponent=he.first),o.iGM(he=o.CRH())&&($.nzListPaginationComponent=he.first),o.iGM(he=o.CRH())&&($.nzListLoadMoreDirective=he.first)}},hostAttrs:[1,"ant-list"],hostVars:16,hostBindings:function(C,$){2&C&&o.ekj("ant-list-rtl","rtl"===$.dir)("ant-list-vertical","vertical"===$.nzItemLayout)("ant-list-lg","large"===$.nzSize)("ant-list-sm","small"===$.nzSize)("ant-list-split",$.nzSplit)("ant-list-bordered",$.nzBordered)("ant-list-loading",$.nzLoading)("ant-list-something-after-last-item",$.hasSomethingAfterLastItem)},inputs:{nzDataSource:"nzDataSource",nzBordered:"nzBordered",nzGrid:"nzGrid",nzHeader:"nzHeader",nzFooter:"nzFooter",nzItemLayout:"nzItemLayout",nzRenderItem:"nzRenderItem",nzLoading:"nzLoading",nzLoadMore:"nzLoadMore",nzPagination:"nzPagination",nzSize:"nzSize",nzSplit:"nzSplit",nzNoResult:"nzNoResult"},exportAs:["nzList"],features:[o.TTD],ngContentSelectors:Ne,decls:15,vars:9,consts:[["itemsTpl",""],[4,"ngIf"],[3,"nzSpinning"],[3,"min-height",4,"ngIf"],["nz-row","",3,"nzGutter",4,"ngIf","ngIfElse"],[3,"nzNoResult",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-list-items"],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"nzStringTemplateOutlet"],["nz-row","",3,"nzGutter"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl",4,"ngFor","ngForOf"],["nz-col","",3,"nzSpan","nzXs","nzSm","nzMd","nzLg","nzXl","nzXXl"],[3,"nzNoResult"]],template:function(C,$){if(1&C&&(o.F$t(Le),o.YNc(0,$e,3,1,"ng-template",null,0,o.W1O),o.YNc(2,Pe,2,1,"nz-list-header",1),o.Hsn(3),o.TgZ(4,"nz-spin",2),o.ynx(5),o.YNc(6,N,1,2,"div",3),o.YNc(7,j,2,2,"div",4),o.YNc(8,B,1,1,"nz-list-empty",5),o.BQk(),o.qZA(),o.YNc(9,Ce,2,1,"nz-list-footer",1),o.Hsn(10,1),o.YNc(11,Ae,0,0,"ng-template",6),o.Hsn(12,2),o.YNc(13,Ie,2,1,"nz-list-pagination",1),o.Hsn(14,3)),2&C){const ce=o.MAs(1);o.xp6(2),o.Q6J("ngIf",$.nzHeader),o.xp6(2),o.Q6J("nzSpinning",$.nzLoading),o.xp6(2),o.Q6J("ngIf",$.nzLoading&&$.nzDataSource&&0===$.nzDataSource.length),o.xp6(1),o.Q6J("ngIf",$.nzGrid&&$.nzDataSource)("ngIfElse",ce),o.xp6(1),o.Q6J("ngIf",!$.nzLoading&&$.nzDataSource&&0===$.nzDataSource.length),o.xp6(1),o.Q6J("ngIf",$.nzFooter),o.xp6(2),o.Q6J("ngTemplateOutlet",$.nzLoadMore),o.xp6(2),o.Q6J("ngIf",$.nzPagination)}},directives:[ke,oe.W,Fe,Ye,Je,t.sg,t.tP,t.O5,D.f,V.SK,V.t3],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,Z.yF)()],f.prototype,"nzBordered",void 0),(0,F.gn)([(0,Z.yF)()],f.prototype,"nzLoading",void 0),(0,F.gn)([(0,Z.yF)()],f.prototype,"nzSplit",void 0),f})(),je=(()=>{class f{constructor(C,$,ce,he){this.parentComp=ce,this.cdr=he,this.nzActions=[],this.nzExtra=null,this.nzNoFlex=!1,$.addClass(C.nativeElement,"ant-list-item")}get isVerticalAndExtra(){return!("vertical"!==this.itemLayout||!this.listItemExtraDirective&&!this.nzExtra)}ngAfterViewInit(){this.itemLayout$=this.parentComp.itemLayoutNotify$.subscribe(C=>{this.itemLayout=C,this.cdr.detectChanges()})}ngOnDestroy(){this.itemLayout$&&this.itemLayout$.unsubscribe()}}return f.\u0275fac=function(C){return new(C||f)(o.Y36(o.SBq),o.Y36(o.Qsj),o.Y36(Qe),o.Y36(o.sBO))},f.\u0275cmp=o.Xpm({type:f,selectors:[["nz-list-item"],["","nz-list-item",""]],contentQueries:function(C,$,ce){if(1&C&&o.Suo(ce,ze,5),2&C){let he;o.iGM(he=o.CRH())&&($.listItemExtraDirective=he.first)}},hostVars:2,hostBindings:function(C,$){2&C&&o.ekj("ant-list-item-no-flex",$.nzNoFlex)},inputs:{nzActions:"nzActions",nzContent:"nzContent",nzExtra:"nzExtra",nzNoFlex:"nzNoFlex"},exportAs:["nzListItem"],ngContentSelectors:H,decls:9,vars:2,consts:[["actionsTpl",""],["contentTpl",""],["extraTpl",""],["simpleTpl",""],[4,"ngIf","ngIfElse"],["nz-list-item-actions","",3,"nzActions",4,"ngIf"],["nz-list-item-actions","",3,"nzActions"],[4,"ngIf"],[4,"nzStringTemplateOutlet"],[3,"ngTemplateOutlet"],[1,"ant-list-item-main"]],template:function(C,$){if(1&C&&(o.F$t(a),o.YNc(0,ve,2,1,"ng-template",null,0,o.W1O),o.YNc(2,Re,3,1,"ng-template",null,1,o.W1O),o.YNc(4,it,1,0,"ng-template",null,2,o.W1O),o.YNc(6,st,4,4,"ng-template",null,3,o.W1O),o.YNc(8,p,6,4,"ng-container",4)),2&C){const ce=o.MAs(7);o.xp6(8),o.Q6J("ngIf",$.isVerticalAndExtra)("ngIfElse",ce)}},directives:[Te,ze,t.O5,D.f,t.tP],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,Z.yF)()],f.prototype,"nzNoFlex",void 0),f})(),Xe=(()=>{class f{}return f.\u0275fac=function(C){return new(C||f)},f.\u0275mod=o.oAB({type:f}),f.\u0275inj=o.cJS({imports:[[se.vT,t.ez,oe.j,V.Jb,i.Rt,D.T,te.Xo]]}),f})()},4219:(De,re,r)=>{r.d(re,{hl:()=>ve,Cc:()=>Ne,wO:()=>ct,YV:()=>pt,uA:()=>Ge,r9:()=>xe,ip:()=>p});var o=r(655),i=r(5e3),t=r(8929),D=r(591),F=r(6787),Z=r(3426),w=r(4850),q=r(1709),O=r(2198),L=r(7604),Q=r(7138),K=r(5778),Y=r(7625),le=r(1059),te=r(7545),se=r(1721),oe=r(325),V=r(226),b=r(2845),I=r(6950),R=r(925),ne=r(4832),X=r(9808),de=r(647),fe=r(969),pe=r(8076);const ue=["nz-submenu-title",""];function J(a,H){if(1&a&&i._UZ(0,"i",4),2&a){const m=i.oxw();i.Q6J("nzType",m.nzIcon)}}function W(a,H){if(1&a&&(i.ynx(0),i.TgZ(1,"span"),i._uU(2),i.qZA(),i.BQk()),2&a){const m=i.oxw();i.xp6(2),i.Oqu(m.nzTitle)}}function g(a,H){1&a&&i._UZ(0,"i",8)}function G(a,H){1&a&&i._UZ(0,"i",9)}function A(a,H){if(1&a&&(i.TgZ(0,"span",5),i.YNc(1,g,1,0,"i",6),i.YNc(2,G,1,0,"i",7),i.qZA()),2&a){const m=i.oxw();i.Q6J("ngSwitch",m.dir),i.xp6(1),i.Q6J("ngSwitchCase","rtl")}}function U(a,H){1&a&&i._UZ(0,"i",10)}const ye=["*"],_e=["nz-submenu-inline-child",""];function Se(a,H){}const Ee=["nz-submenu-none-inline-child",""];function Oe(a,H){}const $e=["nz-submenu",""];function Ve(a,H){1&a&&i.Hsn(0,0,["*ngIf","!nzTitle"])}function Pe(a,H){if(1&a&&i._UZ(0,"div",6),2&a){const m=i.oxw(),l=i.MAs(7);i.Q6J("mode",m.mode)("nzOpen",m.nzOpen)("@.disabled",null==m.noAnimation?null:m.noAnimation.nzNoAnimation)("nzNoAnimation",null==m.noAnimation?null:m.noAnimation.nzNoAnimation)("menuClass",m.nzMenuClassName)("templateOutlet",l)}}function N(a,H){if(1&a){const m=i.EpF();i.TgZ(0,"div",8),i.NdJ("subMenuMouseState",function(k){return i.CHM(m),i.oxw(2).setMouseEnterState(k)}),i.qZA()}if(2&a){const m=i.oxw(2),l=i.MAs(7);i.Q6J("theme",m.theme)("mode",m.mode)("nzOpen",m.nzOpen)("position",m.position)("nzDisabled",m.nzDisabled)("isMenuInsideDropDown",m.isMenuInsideDropDown)("templateOutlet",l)("menuClass",m.nzMenuClassName)("@.disabled",null==m.noAnimation?null:m.noAnimation.nzNoAnimation)("nzNoAnimation",null==m.noAnimation?null:m.noAnimation.nzNoAnimation)}}function ee(a,H){if(1&a){const m=i.EpF();i.YNc(0,N,1,10,"ng-template",7),i.NdJ("positionChange",function(k){return i.CHM(m),i.oxw().onPositionChange(k)})}if(2&a){const m=i.oxw(),l=i.MAs(1);i.Q6J("cdkConnectedOverlayPositions",m.overlayPositions)("cdkConnectedOverlayOrigin",l)("cdkConnectedOverlayWidth",m.triggerWidth)("cdkConnectedOverlayOpen",m.nzOpen)("cdkConnectedOverlayTransformOriginOn",".ant-menu-submenu")}}function _(a,H){1&a&&i.Hsn(0,1)}const j=[[["","title",""]],"*"],B=["[title]","*"],ge=["titleElement"],Ce=["nz-menu-group",""];function Ae(a,H){if(1&a&&(i.ynx(0),i._uU(1),i.BQk()),2&a){const m=i.oxw();i.xp6(1),i.Oqu(m.nzTitle)}}function Me(a,H){1&a&&i.Hsn(0,1,["*ngIf","!nzTitle"])}const Ie=["*",[["","title",""]]],Le=["*","[title]"],Ne=new i.OlP("NzIsInDropDownMenuToken"),Be=new i.OlP("NzMenuServiceLocalToken");let ve=(()=>{class a{constructor(){this.descendantMenuItemClick$=new t.xQ,this.childMenuItemClick$=new t.xQ,this.theme$=new D.X("light"),this.mode$=new D.X("vertical"),this.inlineIndent$=new D.X(24),this.isChildSubMenuOpen$=new D.X(!1)}onDescendantMenuItemClick(m){this.descendantMenuItemClick$.next(m)}onChildMenuItemClick(m){this.childMenuItemClick$.next(m)}setMode(m){this.mode$.next(m)}setTheme(m){this.theme$.next(m)}setInlineIndent(m){this.inlineIndent$.next(m)}}return a.\u0275fac=function(m){return new(m||a)},a.\u0275prov=i.Yz7({token:a,factory:a.\u0275fac}),a})(),Ue=(()=>{class a{constructor(m,l,k){this.nzHostSubmenuService=m,this.nzMenuService=l,this.isMenuInsideDropDown=k,this.mode$=this.nzMenuService.mode$.pipe((0,w.U)(Te=>"inline"===Te?"inline":"vertical"===Te||this.nzHostSubmenuService?"vertical":"horizontal")),this.level=1,this.isCurrentSubMenuOpen$=new D.X(!1),this.isChildSubMenuOpen$=new D.X(!1),this.isMouseEnterTitleOrOverlay$=new t.xQ,this.childMenuItemClick$=new t.xQ,this.destroy$=new t.xQ,this.nzHostSubmenuService&&(this.level=this.nzHostSubmenuService.level+1);const ie=this.childMenuItemClick$.pipe((0,q.zg)(()=>this.mode$),(0,O.h)(Te=>"inline"!==Te||this.isMenuInsideDropDown),(0,L.h)(!1)),ze=(0,F.T)(this.isMouseEnterTitleOrOverlay$,ie);(0,Z.aj)([this.isChildSubMenuOpen$,ze]).pipe((0,w.U)(([Te,Fe])=>Te||Fe),(0,Q.e)(150),(0,K.x)(),(0,Y.R)(this.destroy$)).pipe((0,K.x)()).subscribe(Te=>{this.setOpenStateWithoutDebounce(Te),this.nzHostSubmenuService?this.nzHostSubmenuService.isChildSubMenuOpen$.next(Te):this.nzMenuService.isChildSubMenuOpen$.next(Te)})}onChildMenuItemClick(m){this.childMenuItemClick$.next(m)}setOpenStateWithoutDebounce(m){this.isCurrentSubMenuOpen$.next(m)}setMouseEnterTitleOrOverlayState(m){this.isMouseEnterTitleOrOverlay$.next(m)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(m){return new(m||a)(i.LFG(a,12),i.LFG(ve),i.LFG(Ne))},a.\u0275prov=i.Yz7({token:a,factory:a.\u0275fac}),a})(),xe=(()=>{class a{constructor(m,l,k,ie,ze,Ze,Te,Fe){this.nzMenuService=m,this.cdr=l,this.nzSubmenuService=k,this.isMenuInsideDropDown=ie,this.directionality=ze,this.routerLink=Ze,this.routerLinkWithHref=Te,this.router=Fe,this.destroy$=new t.xQ,this.level=this.nzSubmenuService?this.nzSubmenuService.level+1:1,this.selected$=new t.xQ,this.inlinePaddingLeft=null,this.dir="ltr",this.nzDisabled=!1,this.nzSelected=!1,this.nzDanger=!1,this.nzMatchRouterExact=!1,this.nzMatchRouter=!1,Fe&&this.router.events.pipe((0,Y.R)(this.destroy$),(0,O.h)(ke=>ke instanceof oe.m2)).subscribe(()=>{this.updateRouterActive()})}clickMenuItem(m){this.nzDisabled?(m.preventDefault(),m.stopPropagation()):(this.nzMenuService.onDescendantMenuItemClick(this),this.nzSubmenuService?this.nzSubmenuService.onChildMenuItemClick(this):this.nzMenuService.onChildMenuItemClick(this))}setSelectedState(m){this.nzSelected=m,this.selected$.next(m)}updateRouterActive(){!this.listOfRouterLink||!this.listOfRouterLinkWithHref||!this.router||!this.router.navigated||!this.nzMatchRouter||Promise.resolve().then(()=>{const m=this.hasActiveLinks();this.nzSelected!==m&&(this.nzSelected=m,this.setSelectedState(this.nzSelected),this.cdr.markForCheck())})}hasActiveLinks(){const m=this.isLinkActive(this.router);return this.routerLink&&m(this.routerLink)||this.routerLinkWithHref&&m(this.routerLinkWithHref)||this.listOfRouterLink.some(m)||this.listOfRouterLinkWithHref.some(m)}isLinkActive(m){return l=>m.isActive(l.urlTree||"",{paths:this.nzMatchRouterExact?"exact":"subset",queryParams:this.nzMatchRouterExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}ngOnInit(){var m;(0,Z.aj)([this.nzMenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,Y.R)(this.destroy$)).subscribe(([l,k])=>{this.inlinePaddingLeft="inline"===l?this.level*k:null}),this.dir=this.directionality.value,null===(m=this.directionality.change)||void 0===m||m.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.dir=l})}ngAfterContentInit(){this.listOfRouterLink.changes.pipe((0,Y.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.listOfRouterLinkWithHref.changes.pipe((0,Y.R)(this.destroy$)).subscribe(()=>this.updateRouterActive()),this.updateRouterActive()}ngOnChanges(m){m.nzSelected&&this.setSelectedState(this.nzSelected)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(ve),i.Y36(i.sBO),i.Y36(Ue,8),i.Y36(Ne),i.Y36(V.Is,8),i.Y36(oe.rH,8),i.Y36(oe.yS,8),i.Y36(oe.F0,8))},a.\u0275dir=i.lG2({type:a,selectors:[["","nz-menu-item",""]],contentQueries:function(m,l,k){if(1&m&&(i.Suo(k,oe.rH,5),i.Suo(k,oe.yS,5)),2&m){let ie;i.iGM(ie=i.CRH())&&(l.listOfRouterLink=ie),i.iGM(ie=i.CRH())&&(l.listOfRouterLinkWithHref=ie)}},hostVars:20,hostBindings:function(m,l){1&m&&i.NdJ("click",function(ie){return l.clickMenuItem(ie)}),2&m&&(i.Udp("padding-left","rtl"===l.dir?null:l.nzPaddingLeft||l.inlinePaddingLeft,"px")("padding-right","rtl"===l.dir?l.nzPaddingLeft||l.inlinePaddingLeft:null,"px"),i.ekj("ant-dropdown-menu-item",l.isMenuInsideDropDown)("ant-dropdown-menu-item-selected",l.isMenuInsideDropDown&&l.nzSelected)("ant-dropdown-menu-item-danger",l.isMenuInsideDropDown&&l.nzDanger)("ant-dropdown-menu-item-disabled",l.isMenuInsideDropDown&&l.nzDisabled)("ant-menu-item",!l.isMenuInsideDropDown)("ant-menu-item-selected",!l.isMenuInsideDropDown&&l.nzSelected)("ant-menu-item-danger",!l.isMenuInsideDropDown&&l.nzDanger)("ant-menu-item-disabled",!l.isMenuInsideDropDown&&l.nzDisabled))},inputs:{nzPaddingLeft:"nzPaddingLeft",nzDisabled:"nzDisabled",nzSelected:"nzSelected",nzDanger:"nzDanger",nzMatchRouterExact:"nzMatchRouterExact",nzMatchRouter:"nzMatchRouter"},exportAs:["nzMenuItem"],features:[i.TTD]}),(0,o.gn)([(0,se.yF)()],a.prototype,"nzDisabled",void 0),(0,o.gn)([(0,se.yF)()],a.prototype,"nzSelected",void 0),(0,o.gn)([(0,se.yF)()],a.prototype,"nzDanger",void 0),(0,o.gn)([(0,se.yF)()],a.prototype,"nzMatchRouterExact",void 0),(0,o.gn)([(0,se.yF)()],a.prototype,"nzMatchRouter",void 0),a})(),Re=(()=>{class a{constructor(m,l){this.cdr=m,this.directionality=l,this.nzIcon=null,this.nzTitle=null,this.isMenuInsideDropDown=!1,this.nzDisabled=!1,this.paddingLeft=null,this.mode="vertical",this.toggleSubMenu=new i.vpe,this.subMenuMouseState=new i.vpe,this.dir="ltr",this.destroy$=new t.xQ}ngOnInit(){var m;this.dir=this.directionality.value,null===(m=this.directionality.change)||void 0===m||m.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.dir=l,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setMouseState(m){this.nzDisabled||this.subMenuMouseState.next(m)}clickTitle(){"inline"===this.mode&&!this.nzDisabled&&this.toggleSubMenu.emit()}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(i.sBO),i.Y36(V.Is,8))},a.\u0275cmp=i.Xpm({type:a,selectors:[["","nz-submenu-title",""]],hostVars:8,hostBindings:function(m,l){1&m&&i.NdJ("click",function(){return l.clickTitle()})("mouseenter",function(){return l.setMouseState(!0)})("mouseleave",function(){return l.setMouseState(!1)}),2&m&&(i.Udp("padding-left","rtl"===l.dir?null:l.paddingLeft,"px")("padding-right","rtl"===l.dir?l.paddingLeft:null,"px"),i.ekj("ant-dropdown-menu-submenu-title",l.isMenuInsideDropDown)("ant-menu-submenu-title",!l.isMenuInsideDropDown))},inputs:{nzIcon:"nzIcon",nzTitle:"nzTitle",isMenuInsideDropDown:"isMenuInsideDropDown",nzDisabled:"nzDisabled",paddingLeft:"paddingLeft",mode:"mode"},outputs:{toggleSubMenu:"toggleSubMenu",subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuTitle"],attrs:ue,ngContentSelectors:ye,decls:6,vars:4,consts:[["nz-icon","",3,"nzType",4,"ngIf"],[4,"nzStringTemplateOutlet"],["class","ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch",4,"ngIf","ngIfElse"],["notDropdownTpl",""],["nz-icon","",3,"nzType"],[1,"ant-dropdown-menu-submenu-expand-icon",3,"ngSwitch"],["nz-icon","","nzType","left","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchCase"],["nz-icon","","nzType","right","class","ant-dropdown-menu-submenu-arrow-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","left",1,"ant-dropdown-menu-submenu-arrow-icon"],["nz-icon","","nzType","right",1,"ant-dropdown-menu-submenu-arrow-icon"],[1,"ant-menu-submenu-arrow"]],template:function(m,l){if(1&m&&(i.F$t(),i.YNc(0,J,1,1,"i",0),i.YNc(1,W,3,1,"ng-container",1),i.Hsn(2),i.YNc(3,A,3,2,"span",2),i.YNc(4,U,1,0,"ng-template",null,3,i.W1O)),2&m){const k=i.MAs(5);i.Q6J("ngIf",l.nzIcon),i.xp6(1),i.Q6J("nzStringTemplateOutlet",l.nzTitle),i.xp6(2),i.Q6J("ngIf",l.isMenuInsideDropDown)("ngIfElse",k)}},directives:[X.O5,de.Ls,fe.f,X.RF,X.n9,X.ED],encapsulation:2,changeDetection:0}),a})(),it=(()=>{class a{constructor(m,l,k){this.elementRef=m,this.renderer=l,this.directionality=k,this.templateOutlet=null,this.menuClass="",this.mode="vertical",this.nzOpen=!1,this.listOfCacheClassName=[],this.expandState="collapsed",this.dir="ltr",this.destroy$=new t.xQ}calcMotionState(){this.expandState=this.nzOpen?"expanded":"collapsed"}ngOnInit(){var m;this.calcMotionState(),this.dir=this.directionality.value,null===(m=this.directionality.change)||void 0===m||m.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.dir=l})}ngOnChanges(m){const{mode:l,nzOpen:k,menuClass:ie}=m;(l||k)&&this.calcMotionState(),ie&&(this.listOfCacheClassName.length&&this.listOfCacheClassName.filter(ze=>!!ze).forEach(ze=>{this.renderer.removeClass(this.elementRef.nativeElement,ze)}),this.menuClass&&(this.listOfCacheClassName=this.menuClass.split(" "),this.listOfCacheClassName.filter(ze=>!!ze).forEach(ze=>{this.renderer.addClass(this.elementRef.nativeElement,ze)})))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(V.Is,8))},a.\u0275cmp=i.Xpm({type:a,selectors:[["","nz-submenu-inline-child",""]],hostAttrs:[1,"ant-menu","ant-menu-inline","ant-menu-sub"],hostVars:3,hostBindings:function(m,l){2&m&&(i.d8E("@collapseMotion",l.expandState),i.ekj("ant-menu-rtl","rtl"===l.dir))},inputs:{templateOutlet:"templateOutlet",menuClass:"menuClass",mode:"mode",nzOpen:"nzOpen"},exportAs:["nzSubmenuInlineChild"],features:[i.TTD],attrs:_e,decls:1,vars:1,consts:[[3,"ngTemplateOutlet"]],template:function(m,l){1&m&&i.YNc(0,Se,0,0,"ng-template",0),2&m&&i.Q6J("ngTemplateOutlet",l.templateOutlet)},directives:[X.tP],encapsulation:2,data:{animation:[pe.J_]},changeDetection:0}),a})(),ot=(()=>{class a{constructor(m){this.directionality=m,this.menuClass="",this.theme="light",this.templateOutlet=null,this.isMenuInsideDropDown=!1,this.mode="vertical",this.position="right",this.nzDisabled=!1,this.nzOpen=!1,this.subMenuMouseState=new i.vpe,this.expandState="collapsed",this.dir="ltr",this.destroy$=new t.xQ}setMouseState(m){this.nzDisabled||this.subMenuMouseState.next(m)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}calcMotionState(){this.nzOpen?"horizontal"===this.mode?this.expandState="bottom":"vertical"===this.mode&&(this.expandState="active"):this.expandState="collapsed"}ngOnInit(){var m;this.calcMotionState(),this.dir=this.directionality.value,null===(m=this.directionality.change)||void 0===m||m.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.dir=l})}ngOnChanges(m){const{mode:l,nzOpen:k}=m;(l||k)&&this.calcMotionState()}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(V.Is,8))},a.\u0275cmp=i.Xpm({type:a,selectors:[["","nz-submenu-none-inline-child",""]],hostAttrs:[1,"ant-menu-submenu","ant-menu-submenu-popup"],hostVars:14,hostBindings:function(m,l){1&m&&i.NdJ("mouseenter",function(){return l.setMouseState(!0)})("mouseleave",function(){return l.setMouseState(!1)}),2&m&&(i.d8E("@slideMotion",l.expandState)("@zoomBigMotion",l.expandState),i.ekj("ant-menu-light","light"===l.theme)("ant-menu-dark","dark"===l.theme)("ant-menu-submenu-placement-bottom","horizontal"===l.mode)("ant-menu-submenu-placement-right","vertical"===l.mode&&"right"===l.position)("ant-menu-submenu-placement-left","vertical"===l.mode&&"left"===l.position)("ant-menu-submenu-rtl","rtl"===l.dir))},inputs:{menuClass:"menuClass",theme:"theme",templateOutlet:"templateOutlet",isMenuInsideDropDown:"isMenuInsideDropDown",mode:"mode",position:"position",nzDisabled:"nzDisabled",nzOpen:"nzOpen"},outputs:{subMenuMouseState:"subMenuMouseState"},exportAs:["nzSubmenuNoneInlineChild"],features:[i.TTD],attrs:Ee,decls:2,vars:16,consts:[[3,"ngClass"],[3,"ngTemplateOutlet"]],template:function(m,l){1&m&&(i.TgZ(0,"div",0),i.YNc(1,Oe,0,0,"ng-template",1),i.qZA()),2&m&&(i.ekj("ant-dropdown-menu",l.isMenuInsideDropDown)("ant-menu",!l.isMenuInsideDropDown)("ant-dropdown-menu-vertical",l.isMenuInsideDropDown)("ant-menu-vertical",!l.isMenuInsideDropDown)("ant-dropdown-menu-sub",l.isMenuInsideDropDown)("ant-menu-sub",!l.isMenuInsideDropDown)("ant-menu-rtl","rtl"===l.dir),i.Q6J("ngClass",l.menuClass),i.xp6(1),i.Q6J("ngTemplateOutlet",l.templateOutlet))},directives:[X.mk,X.tP],encapsulation:2,data:{animation:[pe.$C,pe.mF]},changeDetection:0}),a})();const tt=[I.yW.rightTop,I.yW.right,I.yW.rightBottom,I.yW.leftTop,I.yW.left,I.yW.leftBottom],rt=[I.yW.bottomLeft];let h=(()=>{class a{constructor(m,l,k,ie,ze,Ze,Te){this.nzMenuService=m,this.cdr=l,this.nzSubmenuService=k,this.platform=ie,this.isMenuInsideDropDown=ze,this.directionality=Ze,this.noAnimation=Te,this.nzMenuClassName="",this.nzPaddingLeft=null,this.nzTitle=null,this.nzIcon=null,this.nzOpen=!1,this.nzDisabled=!1,this.nzOpenChange=new i.vpe,this.cdkOverlayOrigin=null,this.listOfNzSubMenuComponent=null,this.listOfNzMenuItemDirective=null,this.level=this.nzSubmenuService.level,this.destroy$=new t.xQ,this.position="right",this.triggerWidth=null,this.theme="light",this.mode="vertical",this.inlinePaddingLeft=null,this.overlayPositions=tt,this.isSelected=!1,this.isActive=!1,this.dir="ltr"}setOpenStateWithoutDebounce(m){this.nzSubmenuService.setOpenStateWithoutDebounce(m)}toggleSubMenu(){this.setOpenStateWithoutDebounce(!this.nzOpen)}setMouseEnterState(m){this.isActive=m,"inline"!==this.mode&&this.nzSubmenuService.setMouseEnterTitleOrOverlayState(m)}setTriggerWidth(){"horizontal"===this.mode&&this.platform.isBrowser&&this.cdkOverlayOrigin&&(this.triggerWidth=this.cdkOverlayOrigin.nativeElement.getBoundingClientRect().width)}onPositionChange(m){const l=(0,I.d_)(m);"rightTop"===l||"rightBottom"===l||"right"===l?this.position="right":("leftTop"===l||"leftBottom"===l||"left"===l)&&(this.position="left")}ngOnInit(){var m;this.nzMenuService.theme$.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.theme=l,this.cdr.markForCheck()}),this.nzSubmenuService.mode$.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.mode=l,"horizontal"===l?this.overlayPositions=rt:"vertical"===l&&(this.overlayPositions=tt),this.cdr.markForCheck()}),(0,Z.aj)([this.nzSubmenuService.mode$,this.nzMenuService.inlineIndent$]).pipe((0,Y.R)(this.destroy$)).subscribe(([l,k])=>{this.inlinePaddingLeft="inline"===l?this.level*k:null,this.cdr.markForCheck()}),this.nzSubmenuService.isCurrentSubMenuOpen$.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.isActive=l,l!==this.nzOpen&&(this.setTriggerWidth(),this.nzOpen=l,this.nzOpenChange.emit(this.nzOpen),this.cdr.markForCheck())}),this.dir=this.directionality.value,null===(m=this.directionality.change)||void 0===m||m.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.dir=l,this.cdr.markForCheck()})}ngAfterContentInit(){this.setTriggerWidth();const m=this.listOfNzMenuItemDirective,l=m.changes,k=(0,F.T)(l,...m.map(ie=>ie.selected$));l.pipe((0,le.O)(m),(0,te.w)(()=>k),(0,le.O)(!0),(0,w.U)(()=>m.some(ie=>ie.nzSelected)),(0,Y.R)(this.destroy$)).subscribe(ie=>{this.isSelected=ie,this.cdr.markForCheck()})}ngOnChanges(m){const{nzOpen:l}=m;l&&(this.nzSubmenuService.setOpenStateWithoutDebounce(this.nzOpen),this.setTriggerWidth())}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(ve),i.Y36(i.sBO),i.Y36(Ue),i.Y36(R.t4),i.Y36(Ne),i.Y36(V.Is,8),i.Y36(ne.P,9))},a.\u0275cmp=i.Xpm({type:a,selectors:[["","nz-submenu",""]],contentQueries:function(m,l,k){if(1&m&&(i.Suo(k,a,5),i.Suo(k,xe,5)),2&m){let ie;i.iGM(ie=i.CRH())&&(l.listOfNzSubMenuComponent=ie),i.iGM(ie=i.CRH())&&(l.listOfNzMenuItemDirective=ie)}},viewQuery:function(m,l){if(1&m&&i.Gf(b.xu,7,i.SBq),2&m){let k;i.iGM(k=i.CRH())&&(l.cdkOverlayOrigin=k.first)}},hostVars:34,hostBindings:function(m,l){2&m&&i.ekj("ant-dropdown-menu-submenu",l.isMenuInsideDropDown)("ant-dropdown-menu-submenu-disabled",l.isMenuInsideDropDown&&l.nzDisabled)("ant-dropdown-menu-submenu-open",l.isMenuInsideDropDown&&l.nzOpen)("ant-dropdown-menu-submenu-selected",l.isMenuInsideDropDown&&l.isSelected)("ant-dropdown-menu-submenu-vertical",l.isMenuInsideDropDown&&"vertical"===l.mode)("ant-dropdown-menu-submenu-horizontal",l.isMenuInsideDropDown&&"horizontal"===l.mode)("ant-dropdown-menu-submenu-inline",l.isMenuInsideDropDown&&"inline"===l.mode)("ant-dropdown-menu-submenu-active",l.isMenuInsideDropDown&&l.isActive)("ant-menu-submenu",!l.isMenuInsideDropDown)("ant-menu-submenu-disabled",!l.isMenuInsideDropDown&&l.nzDisabled)("ant-menu-submenu-open",!l.isMenuInsideDropDown&&l.nzOpen)("ant-menu-submenu-selected",!l.isMenuInsideDropDown&&l.isSelected)("ant-menu-submenu-vertical",!l.isMenuInsideDropDown&&"vertical"===l.mode)("ant-menu-submenu-horizontal",!l.isMenuInsideDropDown&&"horizontal"===l.mode)("ant-menu-submenu-inline",!l.isMenuInsideDropDown&&"inline"===l.mode)("ant-menu-submenu-active",!l.isMenuInsideDropDown&&l.isActive)("ant-menu-submenu-rtl","rtl"===l.dir)},inputs:{nzMenuClassName:"nzMenuClassName",nzPaddingLeft:"nzPaddingLeft",nzTitle:"nzTitle",nzIcon:"nzIcon",nzOpen:"nzOpen",nzDisabled:"nzDisabled"},outputs:{nzOpenChange:"nzOpenChange"},exportAs:["nzSubmenu"],features:[i._Bn([Ue]),i.TTD],attrs:$e,ngContentSelectors:B,decls:8,vars:9,consts:[["nz-submenu-title","","cdkOverlayOrigin","",3,"nzIcon","nzTitle","mode","nzDisabled","isMenuInsideDropDown","paddingLeft","subMenuMouseState","toggleSubMenu"],["origin","cdkOverlayOrigin"],[4,"ngIf"],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet",4,"ngIf","ngIfElse"],["nonInlineTemplate",""],["subMenuTemplate",""],["nz-submenu-inline-child","",3,"mode","nzOpen","nzNoAnimation","menuClass","templateOutlet"],["cdkConnectedOverlay","",3,"cdkConnectedOverlayPositions","cdkConnectedOverlayOrigin","cdkConnectedOverlayWidth","cdkConnectedOverlayOpen","cdkConnectedOverlayTransformOriginOn","positionChange"],["nz-submenu-none-inline-child","",3,"theme","mode","nzOpen","position","nzDisabled","isMenuInsideDropDown","templateOutlet","menuClass","nzNoAnimation","subMenuMouseState"]],template:function(m,l){if(1&m&&(i.F$t(j),i.TgZ(0,"div",0,1),i.NdJ("subMenuMouseState",function(ie){return l.setMouseEnterState(ie)})("toggleSubMenu",function(){return l.toggleSubMenu()}),i.YNc(2,Ve,1,0,"ng-content",2),i.qZA(),i.YNc(3,Pe,1,6,"div",3),i.YNc(4,ee,1,5,"ng-template",null,4,i.W1O),i.YNc(6,_,1,0,"ng-template",null,5,i.W1O)),2&m){const k=i.MAs(5);i.Q6J("nzIcon",l.nzIcon)("nzTitle",l.nzTitle)("mode",l.mode)("nzDisabled",l.nzDisabled)("isMenuInsideDropDown",l.isMenuInsideDropDown)("paddingLeft",l.nzPaddingLeft||l.inlinePaddingLeft),i.xp6(2),i.Q6J("ngIf",!l.nzTitle),i.xp6(1),i.Q6J("ngIf","inline"===l.mode)("ngIfElse",k)}},directives:[Re,it,ot,b.xu,X.O5,ne.P,b.pI],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,se.yF)()],a.prototype,"nzOpen",void 0),(0,o.gn)([(0,se.yF)()],a.prototype,"nzDisabled",void 0),a})();function st(a,H){return a||H}function at(a){return a||!1}let ct=(()=>{class a{constructor(m,l,k,ie){this.nzMenuService=m,this.isMenuInsideDropDown=l,this.cdr=k,this.directionality=ie,this.nzInlineIndent=24,this.nzTheme="light",this.nzMode="vertical",this.nzInlineCollapsed=!1,this.nzSelectable=!this.isMenuInsideDropDown,this.nzClick=new i.vpe,this.actualMode="vertical",this.dir="ltr",this.inlineCollapsed$=new D.X(this.nzInlineCollapsed),this.mode$=new D.X(this.nzMode),this.destroy$=new t.xQ,this.listOfOpenedNzSubMenuComponent=[]}setInlineCollapsed(m){this.nzInlineCollapsed=m,this.inlineCollapsed$.next(m)}updateInlineCollapse(){this.listOfNzMenuItemDirective&&(this.nzInlineCollapsed?(this.listOfOpenedNzSubMenuComponent=this.listOfNzSubMenuComponent.filter(m=>m.nzOpen),this.listOfNzSubMenuComponent.forEach(m=>m.setOpenStateWithoutDebounce(!1))):(this.listOfOpenedNzSubMenuComponent.forEach(m=>m.setOpenStateWithoutDebounce(!0)),this.listOfOpenedNzSubMenuComponent=[]))}ngOnInit(){var m;(0,Z.aj)([this.inlineCollapsed$,this.mode$]).pipe((0,Y.R)(this.destroy$)).subscribe(([l,k])=>{this.actualMode=l?"vertical":k,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()}),this.nzMenuService.descendantMenuItemClick$.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.nzClick.emit(l),this.nzSelectable&&!l.nzMatchRouter&&this.listOfNzMenuItemDirective.forEach(k=>k.setSelectedState(k===l))}),this.dir=this.directionality.value,null===(m=this.directionality.change)||void 0===m||m.pipe((0,Y.R)(this.destroy$)).subscribe(l=>{this.dir=l,this.nzMenuService.setMode(this.actualMode),this.cdr.markForCheck()})}ngAfterContentInit(){this.inlineCollapsed$.pipe((0,Y.R)(this.destroy$)).subscribe(()=>{this.updateInlineCollapse(),this.cdr.markForCheck()})}ngOnChanges(m){const{nzInlineCollapsed:l,nzInlineIndent:k,nzTheme:ie,nzMode:ze}=m;l&&this.inlineCollapsed$.next(this.nzInlineCollapsed),k&&this.nzMenuService.setInlineIndent(this.nzInlineIndent),ie&&this.nzMenuService.setTheme(this.nzTheme),ze&&(this.mode$.next(this.nzMode),!m.nzMode.isFirstChange()&&this.listOfNzSubMenuComponent&&this.listOfNzSubMenuComponent.forEach(Ze=>Ze.setOpenStateWithoutDebounce(!1)))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(ve),i.Y36(Ne),i.Y36(i.sBO),i.Y36(V.Is,8))},a.\u0275dir=i.lG2({type:a,selectors:[["","nz-menu",""]],contentQueries:function(m,l,k){if(1&m&&(i.Suo(k,xe,5),i.Suo(k,h,5)),2&m){let ie;i.iGM(ie=i.CRH())&&(l.listOfNzMenuItemDirective=ie),i.iGM(ie=i.CRH())&&(l.listOfNzSubMenuComponent=ie)}},hostVars:34,hostBindings:function(m,l){2&m&&i.ekj("ant-dropdown-menu",l.isMenuInsideDropDown)("ant-dropdown-menu-root",l.isMenuInsideDropDown)("ant-dropdown-menu-light",l.isMenuInsideDropDown&&"light"===l.nzTheme)("ant-dropdown-menu-dark",l.isMenuInsideDropDown&&"dark"===l.nzTheme)("ant-dropdown-menu-vertical",l.isMenuInsideDropDown&&"vertical"===l.actualMode)("ant-dropdown-menu-horizontal",l.isMenuInsideDropDown&&"horizontal"===l.actualMode)("ant-dropdown-menu-inline",l.isMenuInsideDropDown&&"inline"===l.actualMode)("ant-dropdown-menu-inline-collapsed",l.isMenuInsideDropDown&&l.nzInlineCollapsed)("ant-menu",!l.isMenuInsideDropDown)("ant-menu-root",!l.isMenuInsideDropDown)("ant-menu-light",!l.isMenuInsideDropDown&&"light"===l.nzTheme)("ant-menu-dark",!l.isMenuInsideDropDown&&"dark"===l.nzTheme)("ant-menu-vertical",!l.isMenuInsideDropDown&&"vertical"===l.actualMode)("ant-menu-horizontal",!l.isMenuInsideDropDown&&"horizontal"===l.actualMode)("ant-menu-inline",!l.isMenuInsideDropDown&&"inline"===l.actualMode)("ant-menu-inline-collapsed",!l.isMenuInsideDropDown&&l.nzInlineCollapsed)("ant-menu-rtl","rtl"===l.dir)},inputs:{nzInlineIndent:"nzInlineIndent",nzTheme:"nzTheme",nzMode:"nzMode",nzInlineCollapsed:"nzInlineCollapsed",nzSelectable:"nzSelectable"},outputs:{nzClick:"nzClick"},exportAs:["nzMenu"],features:[i._Bn([{provide:Be,useClass:ve},{provide:ve,useFactory:st,deps:[[new i.tp0,new i.FiY,ve],Be]},{provide:Ne,useFactory:at,deps:[[new i.tp0,new i.FiY,Ne]]}]),i.TTD]}),(0,o.gn)([(0,se.yF)()],a.prototype,"nzInlineCollapsed",void 0),(0,o.gn)([(0,se.yF)()],a.prototype,"nzSelectable",void 0),a})();function lt(a){return a||!1}let Ge=(()=>{class a{constructor(m,l,k){this.elementRef=m,this.renderer=l,this.isMenuInsideDropDown=k,this.renderer.addClass(m.nativeElement,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group":"ant-menu-item-group")}ngAfterViewInit(){const m=this.titleElement.nativeElement.nextElementSibling;m&&this.renderer.addClass(m,this.isMenuInsideDropDown?"ant-dropdown-menu-item-group-list":"ant-menu-item-group-list")}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(i.SBq),i.Y36(i.Qsj),i.Y36(Ne))},a.\u0275cmp=i.Xpm({type:a,selectors:[["","nz-menu-group",""]],viewQuery:function(m,l){if(1&m&&i.Gf(ge,5),2&m){let k;i.iGM(k=i.CRH())&&(l.titleElement=k.first)}},inputs:{nzTitle:"nzTitle"},exportAs:["nzMenuGroup"],features:[i._Bn([{provide:Ne,useFactory:lt,deps:[[new i.tp0,new i.FiY,Ne]]}])],attrs:Ce,ngContentSelectors:Le,decls:5,vars:6,consts:[["titleElement",""],[4,"nzStringTemplateOutlet"],[4,"ngIf"]],template:function(m,l){1&m&&(i.F$t(Ie),i.TgZ(0,"div",null,0),i.YNc(2,Ae,2,1,"ng-container",1),i.YNc(3,Me,1,0,"ng-content",2),i.qZA(),i.Hsn(4)),2&m&&(i.ekj("ant-menu-item-group-title",!l.isMenuInsideDropDown)("ant-dropdown-menu-item-group-title",l.isMenuInsideDropDown),i.xp6(2),i.Q6J("nzStringTemplateOutlet",l.nzTitle),i.xp6(1),i.Q6J("ngIf",!l.nzTitle))},directives:[fe.f,X.O5],encapsulation:2,changeDetection:0}),a})(),pt=(()=>{class a{constructor(m,l){this.elementRef=m,this.renderer=l,this.renderer.addClass(m.nativeElement,"ant-dropdown-menu-item-divider")}}return a.\u0275fac=function(m){return new(m||a)(i.Y36(i.SBq),i.Y36(i.Qsj))},a.\u0275dir=i.lG2({type:a,selectors:[["","nz-menu-divider",""]],exportAs:["nzMenuDivider"]}),a})(),p=(()=>{class a{}return a.\u0275fac=function(m){return new(m||a)},a.\u0275mod=i.oAB({type:a}),a.\u0275inj=i.cJS({imports:[[V.vT,X.ez,R.ud,b.U8,de.PV,ne.g,fe.T]]}),a})()},8144:(De,re,r)=>{r.d(re,{NU:()=>oe,$1:()=>le,zf:()=>V});var o=r(226),i=r(9808),t=r(5e3),D=r(655),F=r(8929),Z=r(7625),w=r(9439),q=r(1721);function O(b,I){}const L=function(b){return{$implicit:b}};function Q(b,I){if(1&b&&(t.TgZ(0,"span",4),t.YNc(1,O,0,0,"ng-template",5),t.qZA()),2&b){const R=t.oxw(),ne=R.last,X=R.index,de=t.oxw();t.Udp("margin-bottom","vertical"===de.nzDirection?ne?null:de.spaceSize:null,"px")("margin-right","horizontal"===de.nzDirection?ne?null:de.spaceSize:null,"px"),t.xp6(1),t.Q6J("ngTemplateOutlet",de.nzSplit)("ngTemplateOutletContext",t.VKq(6,L,X))}}function K(b,I){if(1&b&&(t.TgZ(0,"div",1),t.GkF(1,2),t.qZA(),t.YNc(2,Q,2,8,"span",3)),2&b){const R=I.$implicit,ne=I.last,X=t.oxw();t.Udp("margin-bottom","vertical"===X.nzDirection?ne?null:X.spaceSize:null,"px")("margin-right","horizontal"===X.nzDirection?ne?null:X.spaceSize:null,"px"),t.xp6(1),t.Q6J("ngTemplateOutlet",R),t.xp6(1),t.Q6J("ngIf",X.nzSplit&&!ne)}}const Y=["*"];let le=(()=>{class b{constructor(){}}return b.\u0275fac=function(R){return new(R||b)},b.\u0275dir=t.lG2({type:b,selectors:[["","nzSpaceItem",""]]}),b})();const se={small:8,middle:16,large:24};let oe=(()=>{class b{constructor(R,ne){this.nzConfigService=R,this.cdr=ne,this._nzModuleName="space",this.nzDirection="horizontal",this.nzSplit=null,this.nzWrap=!1,this.nzSize="small",this.spaceSize=se.small,this.destroy$=new F.xQ}updateSpaceItems(){this.spaceSize=("string"==typeof this.nzSize?se[this.nzSize]:this.nzSize)/(this.nzSplit?2:1),this.cdr.markForCheck()}ngOnChanges(){this.updateSpaceItems(),this.mergedAlign=void 0===this.nzAlign&&"horizontal"===this.nzDirection?"center":this.nzAlign}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngAfterContentInit(){this.updateSpaceItems(),this.items.changes.pipe((0,Z.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}}return b.\u0275fac=function(R){return new(R||b)(t.Y36(w.jY),t.Y36(t.sBO))},b.\u0275cmp=t.Xpm({type:b,selectors:[["nz-space"],["","nz-space",""]],contentQueries:function(R,ne,X){if(1&R&&t.Suo(X,le,4,t.Rgc),2&R){let de;t.iGM(de=t.CRH())&&(ne.items=de)}},hostAttrs:[1,"ant-space"],hostVars:14,hostBindings:function(R,ne){2&R&&(t.Udp("flex-wrap",ne.nzWrap?"wrap":null),t.ekj("ant-space-horizontal","horizontal"===ne.nzDirection)("ant-space-vertical","vertical"===ne.nzDirection)("ant-space-align-start","start"===ne.mergedAlign)("ant-space-align-end","end"===ne.mergedAlign)("ant-space-align-center","center"===ne.mergedAlign)("ant-space-align-baseline","baseline"===ne.mergedAlign))},inputs:{nzDirection:"nzDirection",nzAlign:"nzAlign",nzSplit:"nzSplit",nzWrap:"nzWrap",nzSize:"nzSize"},exportAs:["NzSpace"],features:[t.TTD],ngContentSelectors:Y,decls:2,vars:1,consts:[["ngFor","",3,"ngForOf"],[1,"ant-space-item"],[3,"ngTemplateOutlet"],["class","ant-space-split",3,"margin-bottom","margin-right",4,"ngIf"],[1,"ant-space-split"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(R,ne){1&R&&(t.F$t(),t.Hsn(0),t.YNc(1,K,3,6,"ng-template",0)),2&R&&(t.xp6(1),t.Q6J("ngForOf",ne.items))},directives:[i.sg,i.tP,i.O5],encapsulation:2,changeDetection:0}),(0,D.gn)([(0,q.yF)()],b.prototype,"nzWrap",void 0),(0,D.gn)([(0,w.oS)()],b.prototype,"nzSize",void 0),b})(),V=(()=>{class b{}return b.\u0275fac=function(R){return new(R||b)},b.\u0275mod=t.oAB({type:b}),b.\u0275inj=t.cJS({imports:[[o.vT,i.ez]]}),b})()},7525:(De,re,r)=>{r.d(re,{W:()=>ue,j:()=>J});var o=r(655),i=r(5e3),t=r(8929),D=r(591),F=r(839),Z=r(8723),w=r(1177);class O{constructor(g){this.durationSelector=g}call(g,G){return G.subscribe(new L(g,this.durationSelector))}}class L extends w.Ds{constructor(g,G){super(g),this.durationSelector=G,this.hasValue=!1}_next(g){try{const G=this.durationSelector.call(this,g);G&&this._tryNext(g,G)}catch(G){this.destination.error(G)}}_complete(){this.emitValue(),this.destination.complete()}_tryNext(g,G){let A=this.durationSubscription;this.value=g,this.hasValue=!0,A&&(A.unsubscribe(),this.remove(A)),A=(0,w.ft)(G,new w.IY(this)),A&&!A.closed&&this.add(this.durationSubscription=A)}notifyNext(){this.emitValue()}notifyComplete(){this.emitValue()}emitValue(){if(this.hasValue){const g=this.value,G=this.durationSubscription;G&&(this.durationSubscription=void 0,G.unsubscribe(),this.remove(G)),this.value=void 0,this.hasValue=!1,super._next(g)}}}var Q=r(1059),K=r(5778),Y=r(7545),le=r(7625),te=r(9439),se=r(1721),oe=r(226),V=r(9808),b=r(7144);function I(W,g){1&W&&(i.TgZ(0,"span",3),i._UZ(1,"i",4),i._UZ(2,"i",4),i._UZ(3,"i",4),i._UZ(4,"i",4),i.qZA())}function R(W,g){}function ne(W,g){if(1&W&&(i.TgZ(0,"div",8),i._uU(1),i.qZA()),2&W){const G=i.oxw(2);i.xp6(1),i.Oqu(G.nzTip)}}function X(W,g){if(1&W&&(i.TgZ(0,"div"),i.TgZ(1,"div",5),i.YNc(2,R,0,0,"ng-template",6),i.YNc(3,ne,2,1,"div",7),i.qZA(),i.qZA()),2&W){const G=i.oxw(),A=i.MAs(1);i.xp6(1),i.ekj("ant-spin-rtl","rtl"===G.dir)("ant-spin-spinning",G.isLoading)("ant-spin-lg","large"===G.nzSize)("ant-spin-sm","small"===G.nzSize)("ant-spin-show-text",G.nzTip),i.xp6(1),i.Q6J("ngTemplateOutlet",G.nzIndicator||A),i.xp6(1),i.Q6J("ngIf",G.nzTip)}}function de(W,g){if(1&W&&(i.TgZ(0,"div",9),i.Hsn(1),i.qZA()),2&W){const G=i.oxw();i.ekj("ant-spin-blur",G.isLoading)}}const fe=["*"];let ue=(()=>{class W{constructor(G,A,U){this.nzConfigService=G,this.cdr=A,this.directionality=U,this._nzModuleName="spin",this.nzIndicator=null,this.nzSize="default",this.nzTip=null,this.nzDelay=0,this.nzSimple=!1,this.nzSpinning=!0,this.destroy$=new t.xQ,this.spinning$=new D.X(this.nzSpinning),this.delay$=new F.t(1),this.isLoading=!1,this.dir="ltr"}ngOnInit(){var G;this.delay$.pipe((0,Q.O)(this.nzDelay),(0,K.x)(),(0,Y.w)(U=>0===U?this.spinning$:this.spinning$.pipe(function q(W){return g=>g.lift(new O(W))}(ye=>(0,Z.H)(ye?U:0)))),(0,le.R)(this.destroy$)).subscribe(U=>{this.isLoading=U,this.cdr.markForCheck()}),this.nzConfigService.getConfigChangeEventForComponent("spin").pipe((0,le.R)(this.destroy$)).subscribe(()=>this.cdr.markForCheck()),null===(G=this.directionality.change)||void 0===G||G.pipe((0,le.R)(this.destroy$)).subscribe(U=>{this.dir=U,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(G){const{nzSpinning:A,nzDelay:U}=G;A&&this.spinning$.next(this.nzSpinning),U&&this.delay$.next(this.nzDelay)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return W.\u0275fac=function(G){return new(G||W)(i.Y36(te.jY),i.Y36(i.sBO),i.Y36(oe.Is,8))},W.\u0275cmp=i.Xpm({type:W,selectors:[["nz-spin"]],hostVars:2,hostBindings:function(G,A){2&G&&i.ekj("ant-spin-nested-loading",!A.nzSimple)},inputs:{nzIndicator:"nzIndicator",nzSize:"nzSize",nzTip:"nzTip",nzDelay:"nzDelay",nzSimple:"nzSimple",nzSpinning:"nzSpinning"},exportAs:["nzSpin"],features:[i.TTD],ngContentSelectors:fe,decls:4,vars:2,consts:[["defaultTemplate",""],[4,"ngIf"],["class","ant-spin-container",3,"ant-spin-blur",4,"ngIf"],[1,"ant-spin-dot","ant-spin-dot-spin"],[1,"ant-spin-dot-item"],[1,"ant-spin"],[3,"ngTemplateOutlet"],["class","ant-spin-text",4,"ngIf"],[1,"ant-spin-text"],[1,"ant-spin-container"]],template:function(G,A){1&G&&(i.F$t(),i.YNc(0,I,5,0,"ng-template",null,0,i.W1O),i.YNc(2,X,4,12,"div",1),i.YNc(3,de,2,2,"div",2)),2&G&&(i.xp6(2),i.Q6J("ngIf",A.isLoading),i.xp6(1),i.Q6J("ngIf",!A.nzSimple))},directives:[V.O5,V.tP],encapsulation:2}),(0,o.gn)([(0,te.oS)()],W.prototype,"nzIndicator",void 0),(0,o.gn)([(0,se.Rn)()],W.prototype,"nzDelay",void 0),(0,o.gn)([(0,se.yF)()],W.prototype,"nzSimple",void 0),(0,o.gn)([(0,se.yF)()],W.prototype,"nzSpinning",void 0),W})(),J=(()=>{class W{}return W.\u0275fac=function(G){return new(G||W)},W.\u0275mod=i.oAB({type:W}),W.\u0275inj=i.cJS({imports:[[oe.vT,V.ez,b.Q8]]}),W})()}}]);
\ No newline at end of file
diff --git a/server/public/4028.b00446bf886b8fd8.js b/server/public/4028.b00446bf886b8fd8.js
new file mode 100644
index 000000000..008ae6388
--- /dev/null
+++ b/server/public/4028.b00446bf886b8fd8.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4028],{427:(P,C,i)=>{i.d(C,{J:()=>z});var e=i(5e3),d=i(685),t=i(9808),E=i(647);function S(p,h){if(1&p&&(e.TgZ(0,"span",5),e._uU(1),e.qZA()),2&p){const g=e.oxw(2);e.xp6(1),e.Oqu(g.notification)}}function m(p,h){1&p&&e._uU(0," Not specified ")}function u(p,h){if(1&p&&(e.YNc(0,S,2,1,"span",3),e.YNc(1,m,1,0,"ng-template",null,4,e.W1O)),2&p){const g=e.MAs(2),v=e.oxw();e.Q6J("ngIf",v.notification)("ngIfElse",g)}}function f(p,h){1&p&&e._UZ(0,"i",6)}let z=(()=>{class p{constructor(){}ngOnInit(){}}return p.\u0275fac=function(g){return new(g||p)},p.\u0275cmp=e.Xpm({type:p,selectors:[["cvc-empty-revisable"]],inputs:{notification:"notification"},decls:5,vars:2,consts:[[3,"nzNotFoundContent","nzNotFoundImage"],["notFound",""],["notFoundImg",""],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["defaultNotification",""],["nz-typography","","nzType","secondary"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#dfdfdf"]],template:function(g,v){if(1&g&&(e._UZ(0,"nz-empty",0),e.YNc(1,u,3,2,"ng-template",null,1,e.W1O),e.YNc(3,f,1,0,"ng-template",null,2,e.W1O)),2&g){const O=e.MAs(2),y=e.MAs(4);e.Q6J("nzNotFoundContent",O)("nzNotFoundImage",y)}},directives:[d.p9,t.O5,E.Ls],styles:["[_nghost-%COMP%] {display:block}[_nghost-%COMP%] .ant-empty-image{height:35px;margin-top:4px;margin-bottom:4px}[_nghost-%COMP%] .ant-empty-image i, [_nghost-%COMP%] .ant-empty-image svg{height:100%;width:100%}"]}),p})()},8541:(P,C,i)=>{i.d(C,{o:()=>S});var e=i(9808),d=i(685),t=i(647),E=i(5e3);let S=(()=>{class m{}return m.\u0275fac=function(f){return new(f||m)},m.\u0275mod=E.oAB({type:m}),m.\u0275inj=E.cJS({imports:[[e.ez,d.Xo,t.PV]]}),m})()},8227:(P,C,i)=>{i.d(C,{q:()=>a});var e=i(5e3),d=i(8929),t=i(4850),E=i(373),S=i(2868),m=i(7625),u=i(1793),f=i(9350),z=i(9808),p=i(6042),h=i(2683),g=i(2643),v=i(3677),O=i(8144),y=i(6699),k=i(4219);function x(r,o){1&r&&e.Hsn(0)}function N(r,o){1&r&&e.GkF(0)}function A(r,o){if(1&r&&(e.ynx(0),e.YNc(1,N,1,0,"ng-container",5),e.BQk()),2&r){e.oxw(2);const n=e.MAs(1);e.xp6(1),e.Q6J("ngTemplateOutlet",n)}}function I(r,o){1&r&&e.GkF(0)}function T(r,o){if(1&r&&(e.ynx(0),e.TgZ(1,"nz-button-group",6),e.YNc(2,I,1,0,"ng-container",5),e.TgZ(3,"button",7),e.TgZ(4,"nz-space",8),e.TgZ(5,"span"),e._uU(6,"for"),e.qZA(),e._UZ(7,"nz-avatar",9),e._UZ(8,"i",10),e.qZA(),e.qZA(),e.qZA(),e.BQk()),2&r){e.oxw();const n=e.MAs(4),_=e.oxw(),D=e.MAs(1);e.xp6(1),e.Q6J("nzSize",_.nzSize),e.xp6(1),e.Q6J("ngTemplateOutlet",D),e.xp6(1),e.Q6J("nzType",_.buttonType)("nzDanger",_.nzDanger)("disabled",_.disabled)("nzDropdownMenu",n),e.xp6(1),e.Q6J("nzSize",4),e.xp6(3),e.Q6J("nzSrc",null==_.selectedOrg?null:_.selectedOrg.profileImagePath)("nzSize",10)("nzShape","square")}}function l(r,o){if(1&r){const n=e.EpF();e.TgZ(0,"li",11),e.NdJ("click",function(){const M=e.CHM(n).$implicit;return e.oxw(2).selectOrg(M)}),e._UZ(1,"nz-avatar",12),e._uU(2),e.qZA()}if(2&r){const n=o.$implicit,_=e.oxw(2);e.Q6J("nzSelected",(null==_.selectedOrg?null:_.selectedOrg.id)===n.id),e.xp6(1),e.Q6J("nzSrc",null==n?null:n.profileImagePath)("nzSize",10)("nzShape","square"),e.xp6(1),e.hij(" ",n.name," ")}}function c(r,o){if(1&r&&(e.ynx(0),e.YNc(1,A,2,1,"ng-container",1),e.YNc(2,T,9,10,"ng-container",1),e.TgZ(3,"nz-dropdown-menu",null,2),e.TgZ(5,"ul",3),e.YNc(6,l,3,5,"li",4),e.qZA(),e.qZA(),e.BQk()),2&r){const n=o.ngIf;e.xp6(1),e.Q6J("ngIf",n.length<=1),e.xp6(1),e.Q6J("ngIf",n.length>1),e.xp6(4),e.Q6J("ngForOf",n)}}const s=["*"];let a=(()=>{class r{constructor(n){this.viewerService=n,this.selectedOrgChange=new e.vpe,this.buttonType="primary",this.nzDanger=!1,this.nzSize="small",this.destroy$=new d.xQ}get disabled(){return this.button.disabled}selectOrg(n){this.selectedOrg=n,this.selectedOrgChange.emit(n)}refreshViewer(){setTimeout(()=>{this.viewerService.refetch()},2500)}ngOnInit(){this.organizations$=this.viewerService.viewer$.pipe((0,t.U)(n=>n.organizations)),this.mostRecentOrg$=this.viewerService.viewer$.pipe((0,E.j)("mostRecentOrg"),(0,S.b)(n=>{n&&(this.selectedOrg=n,this.selectedOrgChange.emit(n))})),this.mostRecentOrg$.pipe((0,m.R)(this.destroy$)).subscribe()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return r.\u0275fac=function(n){return new(n||r)(e.Y36(f.a))},r.\u0275cmp=e.Xpm({type:r,selectors:[["cvc-org-selector-btn-group"]],contentQueries:function(n,_,D){if(1&n&&e.Suo(D,u.m,5),2&n){let M;e.iGM(M=e.CRH())&&(_.button=M.first)}},inputs:{selectedOrg:"selectedOrg",buttonType:"buttonType",nzDanger:"nzDanger",nzSize:"nzSize"},outputs:{selectedOrgChange:"selectedOrgChange"},ngContentSelectors:s,decls:4,vars:3,consts:[["submitButton",""],[4,"ngIf"],["orgMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],[3,"nzSize"],["type","button","nz-button","","nz-dropdown","",1,"org-dropdown-btn",3,"nzType","nzDanger","disabled","nzDropdownMenu"],["nzDirection","horizontal",3,"nzSize"],[3,"nzSrc","nzSize","nzShape"],["nz-icon","","nzType","down"],["nz-menu-item","",3,"nzSelected","click"],[2,"background-color","#f0f5ff",3,"nzSrc","nzSize","nzShape"]],template:function(n,_){1&n&&(e.F$t(),e.YNc(0,x,1,0,"ng-template",null,0,e.W1O),e.YNc(2,c,7,3,"ng-container",1),e.ALo(3,"async")),2&n&&(e.xp6(2),e.Q6J("ngIf",e.lcZ(3,1,_.organizations$)))},directives:[z.O5,z.tP,p.fY,h.w,p.ix,g.dQ,v.wA,v.cm,O.NU,y.Dz,v.RR,k.wO,z.sg,k.r9],pipes:[z.Ov],styles:["[_nghost-%COMP%]{display:inline-block}.org-dropdown-btn[_ngcontent-%COMP%] nz-avatar[_ngcontent-%COMP%]{margin:0 6px}"]}),r})()},6559:(P,C,i)=>{i.d(C,{H0:()=>T});var e=i(5e3),d=i(9808),t=i(226);let T=(()=>{class l{}return l.\u0275fac=function(s){return new(s||l)},l.\u0275mod=e.oAB({type:l}),l.\u0275inj=e.cJS({imports:[[t.vT,d.ez]]}),l})()},6462:(P,C,i)=>{i.d(C,{i:()=>c,m:()=>s});var e=i(655),d=i(1159),t=i(5e3),E=i(4182),S=i(8929),m=i(3753),u=i(7625),f=i(9439),z=i(1721),p=i(5664),h=i(226),g=i(2643),v=i(9808),O=i(647),y=i(969);const k=["switchElement"];function x(a,r){1&a&&t._UZ(0,"i",8)}function N(a,r){if(1&a&&(t.ynx(0),t._uU(1),t.BQk()),2&a){const o=t.oxw(2);t.xp6(1),t.Oqu(o.nzCheckedChildren)}}function A(a,r){if(1&a&&(t.ynx(0),t.YNc(1,N,2,1,"ng-container",9),t.BQk()),2&a){const o=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",o.nzCheckedChildren)}}function I(a,r){if(1&a&&(t.ynx(0),t._uU(1),t.BQk()),2&a){const o=t.oxw(2);t.xp6(1),t.Oqu(o.nzUnCheckedChildren)}}function T(a,r){if(1&a&&t.YNc(0,I,2,1,"ng-container",9),2&a){const o=t.oxw();t.Q6J("nzStringTemplateOutlet",o.nzUnCheckedChildren)}}let c=(()=>{class a{constructor(o,n,_,D,M,w){this.nzConfigService=o,this.host=n,this.ngZone=_,this.cdr=D,this.focusMonitor=M,this.directionality=w,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.dir="ltr",this.destroy$=new S.xQ}updateValue(o){this.isChecked!==o&&(this.isChecked=o,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,u.R)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,m.R)(this.host.nativeElement,"click").pipe((0,u.R)(this.destroy$)).subscribe(o=>{o.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,m.R)(this.switchElement.nativeElement,"keydown").pipe((0,u.R)(this.destroy$)).subscribe(o=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:n}=o;n!==d.oh&&n!==d.SV&&n!==d.L_&&n!==d.K5||(o.preventDefault(),this.ngZone.run(()=>{n===d.oh?this.updateValue(!1):n===d.SV?this.updateValue(!0):(n===d.L_||n===d.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,u.R)(this.destroy$)).subscribe(o=>{o||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(o){this.isChecked=o,this.cdr.markForCheck()}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.nzDisabled=o,this.cdr.markForCheck()}}return a.\u0275fac=function(o){return new(o||a)(t.Y36(f.jY),t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(t.sBO),t.Y36(p.tE),t.Y36(h.Is,8))},a.\u0275cmp=t.Xpm({type:a,selectors:[["nz-switch"]],viewQuery:function(o,n){if(1&o&&t.Gf(k,7),2&o){let _;t.iGM(_=t.CRH())&&(n.switchElement=_.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize"},exportAs:["nzSwitch"],features:[t._Bn([{provide:E.JU,useExisting:(0,t.Gpc)(()=>a),multi:!0}])],decls:9,vars:15,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(o,n){if(1&o&&(t.TgZ(0,"button",0,1),t.TgZ(2,"span",2),t.YNc(3,x,1,0,"i",3),t.qZA(),t.TgZ(4,"span",4),t.YNc(5,A,2,1,"ng-container",5),t.YNc(6,T,1,1,"ng-template",null,6,t.W1O),t.qZA(),t._UZ(8,"div",7),t.qZA()),2&o){const _=t.MAs(7);t.ekj("ant-switch-checked",n.isChecked)("ant-switch-loading",n.nzLoading)("ant-switch-disabled",n.nzDisabled)("ant-switch-small","small"===n.nzSize)("ant-switch-rtl","rtl"===n.dir),t.Q6J("disabled",n.nzDisabled)("nzWaveExtraNode",!0),t.xp6(3),t.Q6J("ngIf",n.nzLoading),t.xp6(2),t.Q6J("ngIf",n.isChecked)("ngIfElse",_)}},directives:[g.dQ,v.O5,O.Ls,y.f],encapsulation:2,changeDetection:0}),(0,e.gn)([(0,z.yF)()],a.prototype,"nzLoading",void 0),(0,e.gn)([(0,z.yF)()],a.prototype,"nzDisabled",void 0),(0,e.gn)([(0,z.yF)()],a.prototype,"nzControl",void 0),(0,e.gn)([(0,f.oS)()],a.prototype,"nzSize",void 0),a})(),s=(()=>{class a{}return a.\u0275fac=function(o){return new(o||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[[h.vT,v.ez,g.vG,O.PV,y.T]]}),a})()}}]);
\ No newline at end of file
diff --git a/server/public/4038.65b27aab267b3352.js b/server/public/4038.fe3013a5e2c513ca.js
similarity index 65%
rename from server/public/4038.65b27aab267b3352.js
rename to server/public/4038.fe3013a5e2c513ca.js
index b5950e5d6..be41ab41f 100644
--- a/server/public/4038.65b27aab267b3352.js
+++ b/server/public/4038.fe3013a5e2c513ca.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4038],{4038:(U,h,i)=>{i.r(h),i.d(h,{PagesModule:()=>I});var c=i(9808),l=i(325),e=i(5e3),o=i(1945),s=i(1894),g=i(8144),d=i(7484),r=i(1132);function u(t,n){if(1&t&&(e.TgZ(0,"tr"),e.TgZ(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA(),e.qZA()),2&t){const a=n.$implicit;e.xp6(2),e.Oqu(a.awardee),e.xp6(2),e.Oqu(a.org),e.xp6(2),e.Oqu(a.award)}}function f(t,n){1&t&&e._UZ(0,"img",23)}function m(t,n){1&t&&e._UZ(0,"img",24)}function z(t,n){1&t&&e._UZ(0,"img",25)}function C(t,n){1&t&&e._UZ(0,"img",26)}function b(t,n){1&t&&e._UZ(0,"img",27)}function Z(t,n){1&t&&e._UZ(0,"img",28)}function _(t,n){if(1&t&&(e.TgZ(0,"nz-row",5),e.TgZ(1,"nz-col",1),e.TgZ(2,"nz-card",6),e.TgZ(3,"p"),e._uU(4," Precision medicine refers to the use of prevention and treatment strategies that are tailored to the unique features of each individual and their disease. In the context of cancer this might involve the identification of specific variants shown to predict response to a targeted therapy. The biomedical literature describing associations between genetic variants and clinically relevant outcomes is large and growing rapidly. Currently variant interpretations exist largely in private or encumbered databases resulting in extensive repetition of effort. Effective precision medicine requires this information to be centralized, debated, and interpreted for application in a clinical setting. CIViC is an open access, open source, community-driven web resource for Clinical Interpretation of Variants in Cancer, available online at "),e.TgZ(5,"a",7),e._uU(6,"civicdb.org"),e.qZA(),e._uU(7,". Our goal is to enable precision medicine by providing an educational forum for dissemination of knowledge and active discussion of the clinical significance of cancer genome alterations. For more details and to cite CIViC please refer to the "),e.TgZ(8,"a",8),e._uU(9,"CIViC publication"),e.qZA(),e._uU(10," in Nature Genetics. "),e.qZA(),e.TgZ(11,"p"),e._uU(12," All content created in CIViC is, and will continue to be, freely available, without restriction with a "),e.TgZ(13,"a",9),e._uU(14,"Public Domain License"),e.qZA(),e._uU(15,". Anyone can contribute to CIViC by simply registering for an account. Users join the community with \u201cCurator\u201d level privileges that allow them to comment or propose additions or revisions on any knowledge in CIViC. Proposed additions and revisions are then reviewed by users with \u201cEditor\u201d or \u201cAdmin\u201d level privileges before gaining \u201cAccepted\u201d status. Content that has been Submitted but not yet Accepted should be interpreted and used with caution. Community Curators work together with Editors towards comprehensive and accurate interpretations of the clinical relevance of variants in cancer. "),e.qZA(),e._UZ(16,"img",10),e.qZA(),e.qZA(),e.TgZ(17,"nz-col",1),e.TgZ(18,"nz-card",11),e.TgZ(19,"p"),e._uU(20," Malachi Griffith was supported by the National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH) under Award Number R00HG007940. Obi Lee Griffith was supported by the National Cancer Institute of the NIH under Award Number K22CA188163. The CIViC project is also supported by the NCI under Award Numbers U24CA237719 to Obi Lee Griffith (with Malachi Griffith as co-PI), including a funding supplement from the Childhood Cancer Data Initiative (CCDI), and previously U01CA209936 (with Malachi Griffith and Elaine R Mardis as co-PIs). CIViC is also supported by the Washington University Institute of Clinical and Translational Sciences grant UL1TR002345 from the National Center for Advancing Translational Sciences (NCATS) of the National Institutes of Health (NIH). CIViC is also supported by Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine. This research benefited from the use of credits from the National Institutes of Health (NIH) Cloud Credits Model Pilot, a component of the NIH Big Data to Knowledge (BD2K) program. Support for the VCF format and integration with Google BigQuery was funded by Google. The content of this website is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health or other funding sources. "),e.qZA(),e.TgZ(21,"nz-table",12,13),e.TgZ(23,"thead"),e.TgZ(24,"tr"),e.TgZ(25,"th"),e._uU(26,"Awardee"),e.qZA(),e.TgZ(27,"th"),e._uU(28,"Awarding Organization"),e.qZA(),e.TgZ(29,"th"),e._uU(30,"Award Number"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(31,"tbody"),e.YNc(32,u,7,3,"tr",14),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(33,"nz-col",1),e.TgZ(34,"nz-card",15),e.TgZ(35,"nz-space",16),e.YNc(36,f,1,0,"img",17),e.YNc(37,m,1,0,"img",18),e.YNc(38,z,1,0,"img",19),e.YNc(39,C,1,0,"img",20),e.YNc(40,b,1,0,"img",21),e.YNc(41,Z,1,0,"img",22),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t){const a=e.MAs(22),p=e.oxw();e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",8),e.xp6(16),e.Q6J("nzSpan",10),e.xp6(4),e.Q6J("nzData",p.funding)("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(11),e.Q6J("ngForOf",a.data),e.xp6(1),e.Q6J("nzSpan",6)}}let w=(()=>{class t{constructor(){this.funding=[{awardee:"Malachi Griffith",org:"National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH)",award:"R00HG007940"},{awardee:"Obi Lee Griffith",org:"National Cancer Institute (NCI) of NIH",award:"K22CA188163"},{awardee:"Obi Lee Griffith (with Malachi Griffith as co-PI)",org:"NCI including a funding supplement from the Childhood Cancer Data Initiative (CCDI)",award:"U24CA237719 (previously: U01CA209936)"},{awardee:"CIViC",org:"Washington University Institute of Clinical and Translational Sciences from National Center for Advancing Translational Sciences (NCATS) of NIH",award:"UL1TR002345"},{awardee:"CIViC",org:"Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine.",award:""},{awardee:"CIViC (awarded in cloud credits)",org:"NIH Cloud Credits Model Pilot of the NIH Big Data to Knowledge (BD2K) program",award:""},{awardee:"CIViC (integration with Google BigQuery)",org:"Google",award:""}]}ngOnInit(){}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-pages-about"]],decls:9,vars:1,consts:[[1,"site-page-header"],[3,"nzSpan"],[1,"content",2,"min-height","600px"],["nzDirection","vertical",2,"width","100%"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzType","inner","nzTitle","Mission Statement",2,"width","100%"],["href","https://www.civicdb.org","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["src","assets/images/CIViC_principles__shorter.png","alt","CIViC principles",2,"width","100%"],["nzType","inner","nzTitle","Funding",2,"width","100%"],[3,"nzData","nzFrontPagination","nzShowPagination"],["basicTable",""],[4,"ngFor","ngForOf"],["nzType","inner","nzTitle","Acknowledgements",2,"width","100%"],["nzDirection","vertical"],["src","assets/images/nih-nci-logo.png","alt","NHI - National Cancer Institute","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/icts-logo.png","alt","Washington University - Institute for Clinical and Translational Sciences","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/ga4gh-logo.png","alt","Global Alliance for Genomics & Health","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/nih-nhgri-logo.png","alt","NHI - National Human Genome Research Institute","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/wustl-logo.png","alt","Washington University in St. Louis","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/cdi-logo.jpeg","alt","Washington University - Children's Discovery Institute","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/nih-nci-logo.png","alt","NHI - National Cancer Institute",2,"height","50px"],["src","assets/images/icts-logo.png","alt","Washington University - Institute for Clinical and Translational Sciences",2,"height","50px"],["src","assets/images/ga4gh-logo.png","alt","Global Alliance for Genomics & Health",2,"height","50px"],["src","assets/images/nih-nhgri-logo.png","alt","NHI - National Human Genome Research Institute",2,"height","50px"],["src","assets/images/wustl-logo.png","alt","Washington University in St. Louis",2,"height","50px"],["src","assets/images/cdi-logo.jpeg","alt","Washington University - Children's Discovery Institute",2,"height","50px"]],template:function(a,p){1&a&&(e.TgZ(0,"nz-page-header",0),e.TgZ(1,"nz-page-header-title"),e._uU(2," About CIViC "),e.qZA(),e.TgZ(3,"nz-page-header-content"),e.TgZ(4,"nz-row"),e.TgZ(5,"nz-col",1),e.TgZ(6,"div",2),e.TgZ(7,"nz-space",3),e.YNc(8,_,42,8,"nz-row",4),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Q6J("nzSpan",24))},directives:[o.$O,o.u9,o.u5,s.SK,s.t3,g.NU,g.$1,d.bd,r.N8,r.Om,r.$Z,r.Uo,r._C,r.p0,c.sg],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();function y(t,n){1&t&&(e.TgZ(0,"nz-row",5),e.TgZ(1,"nz-col",1),e.TgZ(2,"nz-card",6),e.TgZ(3,"p"),e._uU(4," CIViC provides an educational resource to support better understanding of the current state of precision medicine. It may also provide useful summaries and links to relevant published evidence for the clinical relevance of specific variants. "),e.qZA(),e.TgZ(5,"p"),e._uU(6," For more information on the CIViC knowledge model, please see "),e.TgZ(7,"a",7),e._uU(8,"our documentation"),e.qZA(),e._uU(9,". "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"nz-col",1),e.TgZ(11,"nz-card",8),e.TgZ(12,"p"),e._uU(13," CIViC provides an open forum for community contributions. Anyone can create an account to flag problems, add comments, propose revisions to existing content, or submit new evidence, assertions, or summaries. All proposed additions/revisions enter a pending state until considered for acceptance by a CIViC editor. All content contributed and accepted is immediately considered public domain knowledge. "),e.qZA(),e.TgZ(14,"p"),e._uU(15," For more details on how to contribute please read our "),e.TgZ(16,"a",9),e._uU(17,"curating docs"),e.qZA(),e._uU(18,". "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(19,"nz-col",1),e.TgZ(20,"nz-card",10),e.TgZ(21,"p"),e._uU(22," CIViC data can be retrieved using the underlying GraphQL API. The API documentation is available on "),e.TgZ(23,"a",11),e._uU(24,"GitHub"),e.qZA(),e._uU(25,". "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(26,"nz-col",1),e.TgZ(27,"nz-card",12),e.TgZ(28,"p"),e._uU(29," We've recorded a few instructional videos to offer overviews of the CIViC application. They are recommended viewing for users wishing to gain a quick understanding of basic CIViC interface elements and workflows. "),e.qZA(),e.TgZ(30,"p"),e._uU(31," These videos can be found on the "),e.TgZ(32,"a",13),e._uU(33,"CIViC YouTube channel"),e.qZA(),e._uU(34,". "),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(7),e.Q6J("nzSpan",6))}function T(t,n){1&t&&(e.TgZ(0,"nz-row",5),e.TgZ(1,"nz-col",1),e.TgZ(2,"nz-card",14),e._uU(3," Please follow our Twitter account "),e.TgZ(4,"a",15),e._uU(5,"@CIViCdb"),e.qZA(),e._uU(6,". "),e.qZA(),e.qZA(),e.TgZ(7,"nz-col",1),e.TgZ(8,"nz-card",16),e._uU(9," Please email "),e.TgZ(10,"a",17),e._uU(11,"help@civicdb.org"),e.qZA(),e._uU(12,". "),e.qZA(),e.qZA(),e.TgZ(13,"nz-col",1),e.TgZ(14,"nz-card",18),e._uU(15," Please create an issue in the "),e.TgZ(16,"a",19),e._uU(17,"civic-v2 GitHub repo"),e.qZA(),e._uU(18,". "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8))}const A=[{path:"",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-pages"]],decls:1,vars:0,template:function(a,p){1&a&&e._UZ(0,"router-outlet")},directives:[l.lC],styles:[""]}),t})(),children:[{path:"about",component:w},{path:"help",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-pages-help"]],decls:10,vars:1,consts:[[1,"site-page-header"],[3,"nzSpan"],[1,"content",2,"min-height","600px"],["nzDirection","vertical",2,"width","100%"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzType","inner","nzTitle","Knowledgebase Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/model.html","target","_blank"],["nzType","inner","nzTitle","Curation Process Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/curating.html","target","_blank"],["nzType","inner","nzTitle","API Documentation",2,"width","100%","height","100%"],["href","https://griffithlab.github.io/civic-v2/","target","_blank"],["nzType","inner","nzTitle","Tutorials",2,"width","100%","height","100%"],["href","https://www.youtube.com/playlist?list=PLImz36orVFPCQjx6wjMrYW-IPWGk8HrbX","target","_blank"],["nzType","inner","nzTitle","News and Updates",2,"width","100%"],["href","https://twitter.com/CIViCdb","target","_blank"],["nzType","inner","nzTitle","General Inquiries",2,"width","100%"],["href","mailto:help@civicdb.org","target","_blank"],["nzType","inner","nzTitle","Bug Reports and Feature Requests",2,"width","100%"],["href","https://github.com/griffithlab/civic-v2/issues","target","_blank"]],template:function(a,p){1&a&&(e.TgZ(0,"nz-page-header",0),e.TgZ(1,"nz-page-header-title"),e._uU(2," CIViC Help "),e.qZA(),e.TgZ(3,"nz-page-header-content"),e.TgZ(4,"nz-row"),e.TgZ(5,"nz-col",1),e.TgZ(6,"div",2),e.TgZ(7,"nz-space",3),e.YNc(8,y,35,5,"nz-row",4),e.YNc(9,T,19,4,"nz-row",4),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Q6J("nzSpan",24))},directives:[o.$O,o.u9,o.u5,s.SK,s.t3,g.NU,g.$1,d.bd],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})()}]}];let P=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[l.Bz.forChild(A)],l.Bz]}),t})(),v=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[c.ez,o.KJ,s.Jb,g.zf,d.vh,r.HQ]]}),t})(),x=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[c.ez,o.KJ,s.Jb,g.zf,d.vh]]}),t})(),I=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[c.ez,P,v,x]]}),t})()}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4038],{4038:(U,h,i)=>{i.r(h),i.d(h,{PagesModule:()=>I});var c=i(9808),l=i(325),e=i(5e3),o=i(1945),s=i(1894),g=i(8144),d=i(7484),r=i(1132);function u(t,n){if(1&t&&(e.TgZ(0,"tr"),e.TgZ(1,"td"),e._uU(2),e.qZA(),e.TgZ(3,"td"),e._uU(4),e.qZA(),e.TgZ(5,"td"),e._uU(6),e.qZA(),e.qZA()),2&t){const a=n.$implicit;e.xp6(2),e.Oqu(a.awardee),e.xp6(2),e.Oqu(a.org),e.xp6(2),e.Oqu(a.award)}}function f(t,n){1&t&&e._UZ(0,"img",23)}function m(t,n){1&t&&e._UZ(0,"img",24)}function z(t,n){1&t&&e._UZ(0,"img",25)}function C(t,n){1&t&&e._UZ(0,"img",26)}function b(t,n){1&t&&e._UZ(0,"img",27)}function Z(t,n){1&t&&e._UZ(0,"img",28)}function _(t,n){if(1&t&&(e.TgZ(0,"nz-row",5),e.TgZ(1,"nz-col",1),e.TgZ(2,"nz-card",6),e.TgZ(3,"p"),e._uU(4," Precision medicine refers to the use of prevention and treatment strategies that are tailored to the unique features of each individual and their disease. In the context of cancer this might involve the identification of specific variants shown to predict response to a targeted therapy. The biomedical literature describing associations between genetic variants and clinically relevant outcomes is large and growing rapidly. Currently variant interpretations exist largely in private or encumbered databases resulting in extensive repetition of effort. Effective precision medicine requires this information to be centralized, debated, and interpreted for application in a clinical setting. CIViC is an open access, open source, community-driven web resource for Clinical Interpretation of Variants in Cancer, available online at "),e.TgZ(5,"a",7),e._uU(6,"civicdb.org"),e.qZA(),e._uU(7,". Our goal is to enable precision medicine by providing an educational forum for dissemination of knowledge and active discussion of the clinical significance of cancer genome alterations. For more details and to cite CIViC please refer to the "),e.TgZ(8,"a",8),e._uU(9,"CIViC publication"),e.qZA(),e._uU(10," in Nature Genetics. "),e.qZA(),e.TgZ(11,"p"),e._uU(12," All content created in CIViC is, and will continue to be, freely available, without restriction with a "),e.TgZ(13,"a",9),e._uU(14,"Public Domain License"),e.qZA(),e._uU(15,". Anyone can contribute to CIViC by simply registering for an account. Users join the community with \u201cCurator\u201d level privileges that allow them to comment or propose additions or revisions on any knowledge in CIViC. Proposed additions and revisions are then reviewed by users with \u201cEditor\u201d or \u201cAdmin\u201d level privileges before gaining \u201cAccepted\u201d status. Content that has been Submitted but not yet Accepted should be interpreted and used with caution. Community Curators work together with Editors towards comprehensive and accurate interpretations of the clinical relevance of variants in cancer. "),e.qZA(),e._UZ(16,"img",10),e.qZA(),e.qZA(),e.TgZ(17,"nz-col",1),e.TgZ(18,"nz-card",11),e.TgZ(19,"p"),e._uU(20," Malachi Griffith was supported by the National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH) under Award Number R00HG007940. Obi Lee Griffith was supported by the National Cancer Institute of the NIH under Award Number K22CA188163. The CIViC project is also supported by the NCI under Award Numbers U24CA237719 to Obi Lee Griffith (with Malachi Griffith as co-PI), including a funding supplement from the Childhood Cancer Data Initiative (CCDI), and previously U01CA209936 (with Malachi Griffith and Elaine R Mardis as co-PIs). CIViC is also supported by the Washington University Institute of Clinical and Translational Sciences grant UL1TR002345 from the National Center for Advancing Translational Sciences (NCATS) of the National Institutes of Health (NIH). CIViC is also supported by Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine. This research benefited from the use of credits from the National Institutes of Health (NIH) Cloud Credits Model Pilot, a component of the NIH Big Data to Knowledge (BD2K) program. Support for the VCF format and integration with Google BigQuery was funded by Google. The content of this website is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health or other funding sources. "),e.qZA(),e.TgZ(21,"nz-table",12,13),e.TgZ(23,"thead"),e.TgZ(24,"tr"),e.TgZ(25,"th"),e._uU(26,"Awardee"),e.qZA(),e.TgZ(27,"th"),e._uU(28,"Awarding Organization"),e.qZA(),e.TgZ(29,"th"),e._uU(30,"Award Number"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(31,"tbody"),e.YNc(32,u,7,3,"tr",14),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.TgZ(33,"nz-col",1),e.TgZ(34,"nz-card",15),e.TgZ(35,"nz-space",16),e.YNc(36,f,1,0,"img",17),e.YNc(37,m,1,0,"img",18),e.YNc(38,z,1,0,"img",19),e.YNc(39,C,1,0,"img",20),e.YNc(40,b,1,0,"img",21),e.YNc(41,Z,1,0,"img",22),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t){const a=e.MAs(22),p=e.oxw();e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",8),e.xp6(16),e.Q6J("nzSpan",10),e.xp6(4),e.Q6J("nzData",p.funding)("nzFrontPagination",!1)("nzShowPagination",!1),e.xp6(11),e.Q6J("ngForOf",a.data),e.xp6(1),e.Q6J("nzSpan",6)}}let w=(()=>{class t{constructor(){this.funding=[{awardee:"Malachi Griffith",org:"National Human Genome Research Institute (NHGRI) of the National Institutes of Health (NIH)",award:"R00HG007940"},{awardee:"Obi Lee Griffith",org:"National Cancer Institute (NCI) of NIH",award:"K22CA188163"},{awardee:"Obi Lee Griffith (with Malachi Griffith as co-PI)",org:"NCI including a funding supplement from the Childhood Cancer Data Initiative (CCDI)",award:"U24CA237719 (previously: U01CA209936)"},{awardee:"CIViC",org:"Washington University Institute of Clinical and Translational Sciences from National Center for Advancing Translational Sciences (NCATS) of NIH",award:"UL1TR002345"},{awardee:"CIViC",org:"Children\u2019s Discovery Institute (CDI) of the St. Louis Children\u2019s Hospital and Washington University School of Medicine.",award:""},{awardee:"CIViC (awarded in cloud credits)",org:"NIH Cloud Credits Model Pilot of the NIH Big Data to Knowledge (BD2K) program",award:""},{awardee:"CIViC (integration with Google BigQuery)",org:"Google",award:""}]}ngOnInit(){}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-pages-about"]],decls:9,vars:1,consts:[[1,"site-page-header"],[3,"nzSpan"],[1,"content",2,"min-height","600px"],["nzDirection","vertical",2,"width","100%"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzType","inner","nzTitle","Mission Statement",2,"width","100%"],["href","https://www.civicdb.org","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["src","assets/images/CIViC_principles__shorter.png","alt","CIViC principles",2,"width","100%"],["nzType","inner","nzTitle","Funding",2,"width","100%"],[3,"nzData","nzFrontPagination","nzShowPagination"],["basicTable",""],[4,"ngFor","ngForOf"],["nzType","inner","nzTitle","Acknowledgements",2,"width","100%"],["nzDirection","vertical"],["src","assets/images/nih-nci-logo.png","alt","NHI - National Cancer Institute","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/icts-logo.png","alt","Washington University - Institute for Clinical and Translational Sciences","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/ga4gh-logo.png","alt","Global Alliance for Genomics & Health","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/nih-nhgri-logo.png","alt","NHI - National Human Genome Research Institute","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/wustl-logo.png","alt","Washington University in St. Louis","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/cdi-logo.jpeg","alt","Washington University - Children's Discovery Institute","style","height: 50px",4,"nzSpaceItem"],["src","assets/images/nih-nci-logo.png","alt","NHI - National Cancer Institute",2,"height","50px"],["src","assets/images/icts-logo.png","alt","Washington University - Institute for Clinical and Translational Sciences",2,"height","50px"],["src","assets/images/ga4gh-logo.png","alt","Global Alliance for Genomics & Health",2,"height","50px"],["src","assets/images/nih-nhgri-logo.png","alt","NHI - National Human Genome Research Institute",2,"height","50px"],["src","assets/images/wustl-logo.png","alt","Washington University in St. Louis",2,"height","50px"],["src","assets/images/cdi-logo.jpeg","alt","Washington University - Children's Discovery Institute",2,"height","50px"]],template:function(a,p){1&a&&(e.TgZ(0,"nz-page-header",0),e.TgZ(1,"nz-page-header-title"),e._uU(2," About CIViC "),e.qZA(),e.TgZ(3,"nz-page-header-content"),e.TgZ(4,"nz-row"),e.TgZ(5,"nz-col",1),e.TgZ(6,"div",2),e.TgZ(7,"nz-space",3),e.YNc(8,_,42,8,"nz-row",4),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Q6J("nzSpan",24))},directives:[o.$O,o.u9,o.u5,s.SK,s.t3,g.NU,g.$1,d.bd,r.N8,r.Om,r.$Z,r.Uo,r._C,r.p0,c.sg],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();function y(t,n){1&t&&(e.TgZ(0,"nz-row",5),e.TgZ(1,"nz-col",1),e.TgZ(2,"nz-card",6),e.TgZ(3,"p"),e._uU(4," CIViC provides an educational resource to support better understanding of the current state of precision medicine. It may also provide useful summaries and links to relevant published evidence for the clinical relevance of specific variants. "),e.qZA(),e.TgZ(5,"p"),e._uU(6," For more information on the CIViC knowledge model, please see "),e.TgZ(7,"a",7),e._uU(8,"our documentation"),e.qZA(),e._uU(9,". "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(10,"nz-col",1),e.TgZ(11,"nz-card",8),e.TgZ(12,"p"),e._uU(13," CIViC provides an open forum for community contributions. Anyone can create an account to flag problems, add comments, propose revisions to existing content, or submit new evidence, assertions, or summaries. All proposed additions/revisions enter a pending state until considered for acceptance by a CIViC editor. All content contributed and accepted is immediately considered public domain knowledge. "),e.qZA(),e.TgZ(14,"p"),e._uU(15," For more details on how to contribute please read our "),e.TgZ(16,"a",9),e._uU(17,"curating docs"),e.qZA(),e._uU(18,". "),e.qZA(),e.qZA(),e.qZA(),e.TgZ(19,"nz-col",1),e.TgZ(20,"nz-card",10),e.TgZ(21,"p"),e._uU(22," CIViC data can be retrieved using the underlying GraphQL API. The API documentation is available on "),e.TgZ(23,"a",11),e._uU(24,"GitHub"),e.qZA(),e._uU(25,". "),e.qZA(),e.TgZ(26,"p"),e._uU(27," The GraphiQL user interface found "),e.TgZ(28,"a",12),e._uU(29,"here"),e.qZA(),e._uU(30,' is a good way to get started interacting with the API. You can explore the schema and available queries using the "Docs" explorer found in the upper right. '),e.qZA(),e.qZA(),e.qZA(),e.TgZ(31,"nz-col",1),e.TgZ(32,"nz-card",13),e.TgZ(33,"p"),e._uU(34," We've recorded a few instructional videos to offer overviews of the CIViC application. They are recommended viewing for users wishing to gain a quick understanding of basic CIViC interface elements and workflows. "),e.qZA(),e.TgZ(35,"p"),e._uU(36," These videos can be found on the "),e.TgZ(37,"a",14),e._uU(38,"CIViC YouTube channel"),e.qZA(),e._uU(39,". "),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(9),e.Q6J("nzSpan",6),e.xp6(12),e.Q6J("nzSpan",6))}function T(t,n){1&t&&(e.TgZ(0,"nz-row",5),e.TgZ(1,"nz-col",1),e.TgZ(2,"nz-card",15),e._uU(3," Please follow our Twitter account "),e.TgZ(4,"a",16),e._uU(5,"@CIViCdb"),e.qZA(),e._uU(6,". "),e.qZA(),e.qZA(),e.TgZ(7,"nz-col",1),e.TgZ(8,"nz-card",17),e._uU(9," Please email "),e.TgZ(10,"a",18),e._uU(11,"help@civicdb.org"),e.qZA(),e._uU(12,". "),e.qZA(),e.qZA(),e.TgZ(13,"nz-col",1),e.TgZ(14,"nz-card",19),e._uU(15," Please create an issue in the "),e.TgZ(16,"a",20),e._uU(17,"civic-v2 GitHub repo"),e.qZA(),e._uU(18,". "),e.qZA(),e.qZA(),e.qZA()),2&t&&(e.Q6J("nzGutter",24),e.xp6(1),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8),e.xp6(6),e.Q6J("nzSpan",8))}const A=[{path:"",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-pages"]],decls:1,vars:0,template:function(a,p){1&a&&e._UZ(0,"router-outlet")},directives:[l.lC],styles:[""]}),t})(),children:[{path:"about",component:w},{path:"help",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-pages-help"]],decls:10,vars:1,consts:[[1,"site-page-header"],[3,"nzSpan"],[1,"content",2,"min-height","600px"],["nzDirection","vertical",2,"width","100%"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzType","inner","nzTitle","Knowledgebase Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/model.html","target","_blank"],["nzType","inner","nzTitle","Curation Process Documentation",2,"width","100%","height","100%"],["href","https://docs.civicdb.org/en/latest/curating.html","target","_blank"],["nzType","inner","nzTitle","API Documentation",2,"width","100%","height","100%"],["href","https://griffithlab.github.io/civic-v2/","target","_blank"],["href","https://civicdb.org/api/graphiql","target","_blank"],["nzType","inner","nzTitle","Tutorials",2,"width","100%","height","100%"],["href","https://www.youtube.com/playlist?list=PLImz36orVFPCQjx6wjMrYW-IPWGk8HrbX","target","_blank"],["nzType","inner","nzTitle","News and Updates",2,"width","100%"],["href","https://twitter.com/CIViCdb","target","_blank"],["nzType","inner","nzTitle","General Inquiries",2,"width","100%"],["href","mailto:help@civicdb.org","target","_blank"],["nzType","inner","nzTitle","Bug Reports and Feature Requests",2,"width","100%"],["href","https://github.com/griffithlab/civic-v2/issues","target","_blank"]],template:function(a,p){1&a&&(e.TgZ(0,"nz-page-header",0),e.TgZ(1,"nz-page-header-title"),e._uU(2," CIViC Help "),e.qZA(),e.TgZ(3,"nz-page-header-content"),e.TgZ(4,"nz-row"),e.TgZ(5,"nz-col",1),e.TgZ(6,"div",2),e.TgZ(7,"nz-space",3),e.YNc(8,y,40,5,"nz-row",4),e.YNc(9,T,19,4,"nz-row",4),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(5),e.Q6J("nzSpan",24))},directives:[o.$O,o.u9,o.u5,s.SK,s.t3,g.NU,g.$1,d.bd],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})()}]}];let P=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[l.Bz.forChild(A)],l.Bz]}),t})(),v=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[c.ez,o.KJ,s.Jb,g.zf,d.vh,r.HQ]]}),t})(),x=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[c.ez,o.KJ,s.Jb,g.zf,d.vh]]}),t})(),I=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[c.ez,P,v,x]]}),t})()}}]);
\ No newline at end of file
diff --git a/server/public/4184.d395d52a99d5b071.js b/server/public/4184.d395d52a99d5b071.js
new file mode 100644
index 000000000..dcc05b696
--- /dev/null
+++ b/server/public/4184.d395d52a99d5b071.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4184],{8227:(U,I,r)=>{r.d(I,{q:()=>F});var o=r(5e3),m=r(8929),e=r(4850),g=r(373),S=r(2868),x=r(7625),O=r(1793),b=r(9350),C=r(9808),A=r(6042),L=r(2683),p=r(2643),T=r(3677),y=r(8144),M=r(6699),u=r(4219);function v(l,h){1&l&&o.Hsn(0)}function f(l,h){1&l&&o.GkF(0)}function z(l,h){if(1&l&&(o.ynx(0),o.YNc(1,f,1,0,"ng-container",5),o.BQk()),2&l){o.oxw(2);const a=o.MAs(1);o.xp6(1),o.Q6J("ngTemplateOutlet",a)}}function E(l,h){1&l&&o.GkF(0)}function w(l,h){if(1&l&&(o.ynx(0),o.TgZ(1,"nz-button-group",6),o.YNc(2,E,1,0,"ng-container",5),o.TgZ(3,"button",7),o.TgZ(4,"nz-space",8),o.TgZ(5,"span"),o._uU(6,"for"),o.qZA(),o._UZ(7,"nz-avatar",9),o._UZ(8,"i",10),o.qZA(),o.qZA(),o.qZA(),o.BQk()),2&l){o.oxw();const a=o.MAs(4),d=o.oxw(),Z=o.MAs(1);o.xp6(1),o.Q6J("nzSize",d.nzSize),o.xp6(1),o.Q6J("ngTemplateOutlet",Z),o.xp6(1),o.Q6J("nzType",d.buttonType)("nzDanger",d.nzDanger)("disabled",d.disabled)("nzDropdownMenu",a),o.xp6(1),o.Q6J("nzSize",4),o.xp6(3),o.Q6J("nzSrc",null==d.selectedOrg?null:d.selectedOrg.profileImagePath)("nzSize",10)("nzShape","square")}}function B(l,h){if(1&l){const a=o.EpF();o.TgZ(0,"li",11),o.NdJ("click",function(){const Q=o.CHM(a).$implicit;return o.oxw(2).selectOrg(Q)}),o._UZ(1,"nz-avatar",12),o._uU(2),o.qZA()}if(2&l){const a=h.$implicit,d=o.oxw(2);o.Q6J("nzSelected",(null==d.selectedOrg?null:d.selectedOrg.id)===a.id),o.xp6(1),o.Q6J("nzSrc",null==a?null:a.profileImagePath)("nzSize",10)("nzShape","square"),o.xp6(1),o.hij(" ",a.name," ")}}function J(l,h){if(1&l&&(o.ynx(0),o.YNc(1,z,2,1,"ng-container",1),o.YNc(2,w,9,10,"ng-container",1),o.TgZ(3,"nz-dropdown-menu",null,2),o.TgZ(5,"ul",3),o.YNc(6,B,3,5,"li",4),o.qZA(),o.qZA(),o.BQk()),2&l){const a=h.ngIf;o.xp6(1),o.Q6J("ngIf",a.length<=1),o.xp6(1),o.Q6J("ngIf",a.length>1),o.xp6(4),o.Q6J("ngForOf",a)}}const D=["*"];let F=(()=>{class l{constructor(a){this.viewerService=a,this.selectedOrgChange=new o.vpe,this.buttonType="primary",this.nzDanger=!1,this.nzSize="small",this.destroy$=new m.xQ}get disabled(){return this.button.disabled}selectOrg(a){this.selectedOrg=a,this.selectedOrgChange.emit(a)}refreshViewer(){setTimeout(()=>{this.viewerService.refetch()},2500)}ngOnInit(){this.organizations$=this.viewerService.viewer$.pipe((0,e.U)(a=>a.organizations)),this.mostRecentOrg$=this.viewerService.viewer$.pipe((0,g.j)("mostRecentOrg"),(0,S.b)(a=>{a&&(this.selectedOrg=a,this.selectedOrgChange.emit(a))})),this.mostRecentOrg$.pipe((0,x.R)(this.destroy$)).subscribe()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return l.\u0275fac=function(a){return new(a||l)(o.Y36(b.a))},l.\u0275cmp=o.Xpm({type:l,selectors:[["cvc-org-selector-btn-group"]],contentQueries:function(a,d,Z){if(1&a&&o.Suo(Z,O.m,5),2&a){let Q;o.iGM(Q=o.CRH())&&(d.button=Q.first)}},inputs:{selectedOrg:"selectedOrg",buttonType:"buttonType",nzDanger:"nzDanger",nzSize:"nzSize"},outputs:{selectedOrgChange:"selectedOrgChange"},ngContentSelectors:D,decls:4,vars:3,consts:[["submitButton",""],[4,"ngIf"],["orgMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],[3,"nzSize"],["type","button","nz-button","","nz-dropdown","",1,"org-dropdown-btn",3,"nzType","nzDanger","disabled","nzDropdownMenu"],["nzDirection","horizontal",3,"nzSize"],[3,"nzSrc","nzSize","nzShape"],["nz-icon","","nzType","down"],["nz-menu-item","",3,"nzSelected","click"],[2,"background-color","#f0f5ff",3,"nzSrc","nzSize","nzShape"]],template:function(a,d){1&a&&(o.F$t(),o.YNc(0,v,1,0,"ng-template",null,0,o.W1O),o.YNc(2,J,7,3,"ng-container",1),o.ALo(3,"async")),2&a&&(o.xp6(2),o.Q6J("ngIf",o.lcZ(3,1,d.organizations$)))},directives:[C.O5,C.tP,A.fY,L.w,A.ix,p.dQ,T.wA,T.cm,y.NU,M.Dz,T.RR,u.wO,C.sg,u.r9],pipes:[C.Ov],styles:["[_nghost-%COMP%]{display:inline-block}.org-dropdown-btn[_ngcontent-%COMP%] nz-avatar[_ngcontent-%COMP%]{margin:0 6px}"]}),l})()},8979:(U,I,r)=>{r.d(I,{N:()=>L});var o=r(9808),m=r(8776),e=r(5e3),g=r(6042),S=r(2643),x=r(2683);const b={name:"cvc-multi-field-add-btn",component:(()=>{class p extends m.fS{constructor(){super()}}return p.\u0275fac=function(y){return new(y||p)},p.\u0275cmp=e.Xpm({type:p,selectors:[["cvc-multi-field-add-btn-type"]],features:[e.qOj],decls:2,vars:2,consts:[["type","submit","nz-button","","nzType","primary","nzSize","small","nzBlock","",3,"disabled"]],template:function(y,M){1&y&&(e.TgZ(0,"button",0),e._uU(1),e.qZA()),2&y&&(e.Q6J("disabled",M.to.disabled),e.xp6(1),e.Oqu(M.to.label))},directives:[g.ix,S.dQ,x.w],styles:[""],encapsulation:2,changeDetection:0}),p})()};var C=r(9139),A=r(4546);let L=(()=>{class p{}return p.\u0275fac=function(y){return new(y||p)},p.\u0275mod=e.oAB({type:p}),p.\u0275inj=e.cJS({imports:[[o.ez,C.u,m.X0.forChild({types:[b]}),A.U5,g.sL]]}),p})()},3022:(U,I,r)=>{r.d(I,{e:()=>M});var o=r(9808),m=r(8776),e=r(5e3),g=r(9180),S=r(8227),x=r(6042),O=r(2643),b=r(1793),C=r(2683);const L={name:"org-submit-button",component:(()=>{class u extends m.fS{constructor(){super(),this._selectedOrg=void 0,this.defaultOptions={templateOptions:{submitLabel:"Submit",submitSize:"small"}}}get selectedOrg(){return this._selectedOrg}set selectedOrg(f){this._selectedOrg=f,this.formControl.setValue(f)}}return u.\u0275fac=function(f){return new(f||u)},u.\u0275cmp=e.Xpm({type:u,selectors:[["cvc-org-submit-button-type"]],features:[e.qOj],decls:5,vars:4,consts:[[3,"selectedOrg","nzSize","selectedOrgChange"],["orgButton",""],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary",3,"disabled","click"]],template:function(f,z){if(1&f){const E=e.EpF();e.TgZ(0,"cvc-form-buttons"),e.TgZ(1,"cvc-org-selector-btn-group",0,1),e.NdJ("selectedOrgChange",function(B){return z.selectedOrg=B}),e.TgZ(3,"button",2),e.NdJ("click",function(){return e.CHM(E),e.MAs(2).refreshViewer()}),e._uU(4),e.qZA(),e.qZA(),e.qZA()}2&f&&(e.xp6(1),e.Q6J("selectedOrg",z.selectedOrg)("nzSize",z.to.submitSize),e.xp6(2),e.Q6J("disabled",!z.form.valid),e.xp6(1),e.hij(" ",z.to.submitLabel," "))},directives:[g.Z,S.q,x.ix,O.dQ,b.m,C.w],styles:[""],changeDetection:0}),u})()};var p=r(4375),T=r(1825),y=r(4182);let M=(()=>{class u{}return u.\u0275fac=function(f){return new(f||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[o.ez,y.UX,m.X0.forChild({types:[L]}),x.sL,p.R,T.A]]}),u})()},3773:(U,I,r)=>{r.d(I,{g:()=>de});var o=r(9808),m=r(8776),e=r(5e3),g=r(4182),S=r(712),x=r(6530),O=r(444);const b={sourceType:void 0,citationId:void 0};let C=(()=>{class n{constructor(){this.sourceSelected=new e.vpe,this.model=b,this.form=new g.cw({}),this.options={},this.fields=[{key:"id"},{key:"citation",defaultValue:""},{key:"sourceType",type:"select",className:"source-type-field",defaultValue:S.yic.Pubmed,templateOptions:{required:!0,placeholder:"Select Type",options:(0,O.o6)(S.yic).map((t,c)=>({value:t,label:(0,x.c)(t)}))}},{key:"citationId",className:"citation-id-field",type:"source-selector-typeahead",templateOptions:{maxLength:10,required:!0,triggerParentSubmit:()=>{this.onSubmit()}},expressionProperties:{"templateOptions.disabled":"!model.sourceType","templateOptions.placeholder":'!model.sourceType ? "Select source type before searching" : "Search " + model.sourceType + " sources"',"templateOptions.sourceType":"model.sourceType","templateOptions.sourceTypeKey":t=>{if(t.sourceType)return(0,O.o6)(S.yic).getKeyOrThrow(t.sourceType)}}},{type:"cvc-multi-field-add-btn",className:"add-button",templateOptions:{label:"Add Source"},expressionProperties:{"templateOptions.disabled":"!model.citationId"}}]}ngOnInit(){}onSubmit(){console.log("source-select form submitted."),this.sourceSelected.emit(this.model)}ngOnDestroy(){console.log("source-selector onDestroy called.")}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-source-selector"]],outputs:{sourceSelected:"sourceSelected"},decls:2,vars:5,consts:[["nz-form","","nzLayout","horizontal",3,"formGroup","ngSubmit"],[1,"formly-form",3,"model","fields","options","form","modelChange"]],template:function(t,c){1&t&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return c.onSubmit()}),e.TgZ(1,"formly-form",1),e.NdJ("modelChange",function(_){return c.model=_}),e.qZA(),e.qZA()),2&t&&(e.Q6J("formGroup",c.form),e.xp6(1),e.Q6J("model",c.model)("fields",c.fields)("options",c.options)("form",c.form))},directives:[g._Y,g.JL,g.sg,m.T7],styles:[":host{display:block}cvc-source-input .formly-form{width:100%}cvc-source-input .source-type-field{display:inline-block;width:10em}cvc-source-input .citation-id-field{display:inline-block;margin-left:.5em;width:calc(100% - 19em)}cvc-source-input .add-button{display:inline-block;margin-left:.5em;width:8em}\n"],encapsulation:2}),n})();var A=r(6906);function L(n,i){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"cvc-source-selector",2),e.NdJ("sourceSelected",function(s){return e.CHM(t),e.oxw().onSourceSelected(s)}),e.qZA(),e.BQk()}}function p(n,i){if(1&n&&e._UZ(0,"cvc-source-tag",3),2&n){const t=e.oxw();e.Q6J("source",t.formControl.value)}}const y={name:"source-input",component:(()=>{class n extends m.fS{constructor(){super()}onSourceSelected(t){console.log(t),this.formControl.setValue(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-source-input-type"]],features:[e.qOj],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["sourceListItem",""],[3,"sourceSelected"],[3,"source"]],template:function(t,c){if(1&t&&(e.YNc(0,L,2,0,"ng-container",0),e.YNc(1,p,1,1,"ng-template",null,1,e.W1O)),2&t){const s=e.MAs(2);e.Q6J("ngIf",!(null!=c.formControl.value&&c.formControl.value.id))("ngIfElse",s)}},directives:[o.O5,C,A.T],styles:[""],changeDetection:0}),n})()};var M=r(9139),u=r(6042),v=r(8054),f=r(537),z=r(8144),E=r(2359),w=r(1894),B=r(4546),J=r(822),D=r(2643),F=r(2683);function l(n,i){if(1&n&&e._UZ(0,"nz-alert",6),2&n){e.oxw();const t=e.MAs(3);e.Q6J("nzMessage",t)}}function h(n,i){if(1&n&&(e._uU(0," Found citation: "),e.TgZ(1,"em"),e._uU(2),e.qZA()),2&n){const t=e.oxw(3);e.xp6(2),e.Oqu(t.foundCitation)}}function a(n,i){1&n&&(e.ynx(0),e.YNc(1,l,1,1,"nz-alert",4),e.YNc(2,h,3,1,"ng-template",null,5,e.W1O),e.BQk())}function d(n,i){if(1&n&&e._UZ(0,"nz-alert",9),2&n){e.oxw();const t=e.MAs(3);e.Q6J("nzMessage",t)}}function Z(n,i){if(1&n&&(e._uU(0," '"),e.TgZ(1,"em"),e._uU(2),e.qZA(),e._uU(3,"' created. ")),2&n){const t=e.oxw(3);e.xp6(2),e.Oqu(t.foundCitation)}}function Q(n,i){1&n&&(e.ynx(0),e.YNc(1,d,1,1,"nz-alert",7),e.YNc(2,Z,4,1,"ng-template",null,8,e.W1O),e.BQk())}function P(n,i){if(1&n&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",10),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("errors",t.createErrors)}}function Y(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(s){return e.CHM(t),e.oxw(3).onCreateSourceStub(s)}),e._uU(1," Create\xa0'"),e.TgZ(2,"em"),e._uU(3),e.qZA(),e._uU(4,"'\xa0 CIViC Source "),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("nzLoading",t.isCreating),e.xp6(3),e.Oqu(t.foundCitation)}}function R(n,i){1&n&&(e.ynx(0),e.YNc(1,Y,5,2,"button",11),e.BQk())}function K(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(s){return e.CHM(t),e.oxw(3).onAcceptSource(s)}),e._uU(1," Add Source to List "),e.qZA()}}function V(n,i){1&n&&(e.ynx(0),e.YNc(1,K,2,0,"button",13),e.BQk())}function j(n,i){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-space",2),e.YNc(2,a,4,0,"ng-container",3),e.YNc(3,Q,4,0,"ng-container",3),e.YNc(4,P,2,1,"nz-form-item",3),e.YNc(5,R,2,0,"ng-container",3),e.YNc(6,V,2,0,"ng-container",3),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===t.createSuccess&&0===t.createErrors.length),e.xp6(1),e.Q6J("ngIf",!0===t.createSuccess),e.xp6(1),e.Q6J("ngIf",t.createErrors.length>0),e.xp6(1),e.Q6J("ngIf",!1===t.createSuccess),e.xp6(1),e.Q6J("ngIf",!0===t.createSuccess)}}function W(n,i){if(1&n&&(e.TgZ(0,"span",16),e._UZ(1,"i",17),e._uU(2),e.qZA()),2&n){const t=e.oxw(3);e.xp6(2),e.hij(" Source not known to CIViC, fetch citation from ",t.sourceTypeKey,"? ")}}function G(n,i){1&n&&(e.ynx(0),e.YNc(1,W,3,1,"span",15),e.BQk())}function X(n,i){if(1&n&&e._uU(0),2&n){const t=e.oxw(4);e.AsE(" Citation not found for ",t.sourceTypeKey,": ",t.citationId,". ")}}function $(n,i){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"nz-alert",19),e.YNc(2,X,1,2,"ng-template",null,20,e.W1O),e.qZA()),2&n){const t=e.MAs(3);e.xp6(1),e.Q6J("nzMessage",t)}}function H(n,i){1&n&&(e.ynx(0),e.YNc(1,$,4,1,"span",18),e.BQk())}function k(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(s){return e.CHM(t),e.oxw(2).onExistenceQuery(s)}),e._uU(1," Fetch Citation for\xa0"),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("nzLoading",t.isChecking),e.xp6(3),e.AsE("",t.sourceTypeKey," ",t.citationId,"")}}function q(n,i){if(1&n&&(e.TgZ(0,"nz-space",2),e.YNc(1,G,2,0,"ng-container",3),e.YNc(2,H,2,0,"ng-container",3),e.YNc(3,k,4,3,"button",11),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.showPrompt),e.xp6(1),e.Q6J("ngIf",t.existenceFail)}}let ee=(()=>{class n{constructor(t,c,s){this.existenceCheckQuery=t,this.createSourceStubQuery=c,this.changeDetectorRef=s,this.modelUpdate=new e.vpe,this.citationIdChange=new e.vpe,this.sourceTypeChange=new e.vpe,this.showPrompt=!0,this.isChecking=!1,this.existenceFail=!1,this.existenceError=[],this.foundCitation=void 0,this.isCreating=!1,this.createSuccess=!1,this.createErrors=[]}set sourceType(t){this._sourceType=t,this.sourceTypeKey=(0,O.o6)(S.yic).getKeyOrThrow(t)}get sourceType(){return this._sourceType}onExistenceQuery(t){t&&t.preventDefault(),this.isChecking=!0,this.foundCitation=void 0,this.existenceCheckQuery.fetch({sourceType:this.sourceType,citationId:+this.citationId}).pipe((0,f.x)(()=>{this.isChecking=!1,this.changeDetectorRef.detectChanges()})).subscribe({next:({data:{remoteCitation:c}})=>{null!==c?this.foundCitation=c:(this.showPrompt=!1,this.existenceFail=!0)},error:c=>{this.showPrompt=!1,this.existenceError=c.graphQLErrors.map(s=>s.message)},complete:()=>{this.existenceError=[]}})}onCreateSourceStub(t){t&&t.preventDefault(),this.isCreating=!0,this.createSuccess=!1,this.createSourceStubQuery.mutate({input:{citationId:+this.citationId,sourceType:this.sourceType}}).pipe((0,f.x)(()=>{this.isCreating=!1,this.changeDetectorRef.detectChanges()})).subscribe({next:({data:c})=>{var s;console.log(c);const _=null===(s=null==c?void 0:c.addRemoteCitation)||void 0===s?void 0:s.newSource;this.sourceStub=_,this.createSuccess=!0},error:c=>{this.showPrompt=!1,this.createSuccess=!1,this.createErrors=c.graphQLErrors.map(s=>s.message)},complete:()=>{this.createErrors=[]}})}onAcceptSource(t){t&&t.preventDefault(),console.log("source accepted");const c=Object.assign(Object.assign({},this.model),{id:this.sourceStub.id,citation:this.foundCitation,citationId:this.citationId});this.modelUpdate.emit(c)}ngAfterContentInit(){console.log("model")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(S.fpJ),e.Y36(S.JQ3),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-source-loader"]],inputs:{model:"model",citationId:"citationId",sourceType:"sourceType"},outputs:{modelUpdate:"modelUpdate",citationIdChange:"citationIdChange",sourceTypeChange:"sourceTypeChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["fetchCitation",""],["nzDirection","vertical"],[4,"ngIf"],["nzType","info","nzShowIcon","",3,"nzMessage",4,"nzSpaceItem"],["foundCitationMsg",""],["nzType","info","nzShowIcon","",3,"nzMessage"],["nzType","success","nzShowIcon","",3,"nzMessage",4,"nzSpaceItem"],["createdMsg",""],["nzType","success","nzShowIcon","",3,"nzMessage"],[3,"errors"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"nzLoading","click",4,"nzSpaceItem"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"nzLoading","click"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"click",4,"nzSpaceItem"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"click"],["nz-typography","",4,"nzSpaceItem"],["nz-typography",""],["nz-icon","","nzType","info-circle","nzTheme","twotone"],[4,"nzSpaceItem"],["nzType","warning","nzShowIcon","",3,"nzMessage"],["existenceFail",""]],template:function(t,c){if(1&t&&(e.YNc(0,j,7,5,"ng-container",0),e.YNc(1,q,4,2,"ng-template",null,1,e.W1O)),2&t){const s=e.MAs(2);e.Q6J("ngIf",c.foundCitation)("ngIfElse",s)}},directives:[o.O5,z.NU,z.$1,E.r,w.SK,B.Nx,J.V,u.ix,D.dQ,F.w],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-space-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}"]}),n})();function te(n,i){if(1&n&&(e.TgZ(0,"nz-option",4),e._uU(1),e.qZA()),2&n){const t=i.$implicit;e.Q6J("nzLabel",t.label)("nzValue",t.value),e.xp6(1),e.AsE(" ",t.source.citation?t.source.citation:t.source.name," (",t.source.citationId,") ")}}function ne(n,i){if(1&n&&(e.TgZ(0,"div",5),e._uU(1," Citation: "),e.TgZ(2,"span",6),e._uU(3),e.qZA(),e.qZA()),2&n){const t=e.oxw();e.xp6(3),e.hij(" ",t.model.citation," ")}}function oe(n,i){if(1&n&&(e.TgZ(0,"div",5),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" Enter a ",t.to.sourceTypeKey," citation ID to search CIViC sources ")}}function re(n,i){if(1&n){const t=e.EpF();e.TgZ(0,"cvc-source-loader",10),e.NdJ("modelUpdate",function(s){return e.CHM(t),e.oxw(2).onModelUpdated(s)})("sourceTypeChange",function(s){return e.CHM(t),e.oxw(2).model.sourceType=s})("citationIdChange",function(s){return e.CHM(t),e.oxw(2).to.fieldValue=s}),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("model",t.model)("sourceType",t.model.sourceType)("citationId",t.to.fieldValue)}}function ce(n,i){if(1&n&&(e.ynx(0,7),e.YNc(1,oe,2,1,"div",8),e.YNc(2,re,1,3,"cvc-source-loader",9),e.BQk()),2&n){const t=e.oxw();e.Q6J("ngSwitch",t.to.fieldLength>0&&t.to.fieldLength>=t.to.minLengthSearch),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0)}}const ie={name:"source-selector-typeahead",component:(()=>{class n extends m.fS{constructor(t,c){super(),this.sourceTypeaheadQuery=t,this.changeDetectorRef=c,this.selectedValue=null,this.nzFilterOption=()=>!0,this.defaultOptions={templateOptions:{placeholder:"Search",sourceType:void 0,showArrow:!1,onSearch:()=>{},filterOption:()=>{},modelChange:()=>{},triggerParentSubmit:()=>{},minLengthSearch:1,fieldLength:0,fieldValue:"",optionList:[]}}}ngAfterViewInit(){this.to.filterOption=()=>!0,this.to.modelChange=t=>{if(this.to.optionList.length>0){const{source:c}=this.to.optionList.find(s=>s.value===+t);c?this.form.patchValue({citation:c.citation?c.citation:c.name,id:c.id}):console.error("Could not find selected citation in list?")}},this.to.onSearch=t=>{this.to.fieldValue=t,this.to.fieldLength=t.length,!(t.lengththis.to.maxLength)&&this.sourceTypeaheadQuery.fetch({sourceType:this.to.sourceType,partialCitationId:+t},{fetchPolicy:"network-only"}).subscribe(({data:{sourceTypeahead:c}})=>{this.to.optionList=c.map(s=>({value:s.citationId,label:s.citationId,source:s})),this.changeDetectorRef.detectChanges()})}}onModelUpdated(t){this.form.patchValue(t),this.changeDetectorRef.detectChanges(),this.to.triggerParentSubmit()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(S.k2T),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-source-selector-typeahead-type"]],features:[e.qOj],decls:5,vars:8,consts:[["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzNotFoundContent","nzShowArrow","nzFilterOption","ngModelChange","nzOnSearch"],["nzCustomContent","",3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["class","ant-form-item-explain",4,"ngIf"],["sourceLoader",""],["nzCustomContent","",3,"nzLabel","nzValue"],[1,"ant-form-item-explain"],[1,"source-citation"],[3,"ngSwitch"],["class","ant-form-item-explain",4,"ngSwitchCase"],[3,"model","sourceType","citationId","modelUpdate","sourceTypeChange","citationIdChange",4,"ngSwitchCase"],[3,"model","sourceType","citationId","modelUpdate","sourceTypeChange","citationIdChange"]],template:function(t,c){if(1&t&&(e.TgZ(0,"nz-select",0),e.NdJ("ngModelChange",function(_){return c.to.modelChange(_)})("nzOnSearch",function(_){return c.to.onSearch(_)}),e.YNc(1,te,2,4,"nz-option",1),e.qZA(),e.YNc(2,ne,4,1,"div",2),e.YNc(3,ce,3,3,"ng-template",null,3,e.W1O)),2&t){const s=e.MAs(4);e.Q6J("formControl",c.formControl)("formlyAttributes",c.field)("nzPlaceHolder",c.to.placeholder?c.to.placeholder:null)("nzNotFoundContent",s)("nzShowArrow",c.to.showArrow)("nzFilterOption",c.to.filterOption),e.xp6(1),e.Q6J("ngForOf",c.to.optionList),e.xp6(1),e.Q6J("ngIf",c.model.citation.length>0)}},directives:[v.Vq,g.JJ,g.oH,m.VQ,o.sg,v.Ip,o.O5,o.RF,o.n9,ee],styles:["[_nghost-%COMP%]{display:block}.loading-icon[_ngcontent-%COMP%]{margin-right:8px}.source-citation[_ngcontent-%COMP%]{font-style:oblique}"],changeDetection:0}),n})(),wrappers:["form-field"]};var se=r(7008);let N=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[o.ez,z.zf,E.L,B.U5,se.B,u.sL]]}),n})(),ae=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[o.ez,g.UX,m.X0.forChild({types:[ie]}),v.LV,N]]}),n})();var le=r(8979);let ue=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[o.ez,g.UX,m.X0,M.u,u.sL,N,ae,le.N]]}),n})();var pe=r(9779);let de=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[o.ez,m.X0.forChild({types:[y]}),ue,pe.s]]}),n})()}}]);
\ No newline at end of file
diff --git a/server/public/4189.00a59016128bd7b3.js b/server/public/4189.00a59016128bd7b3.js
new file mode 100644
index 000000000..b25ff8975
--- /dev/null
+++ b/server/public/4189.00a59016128bd7b3.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4189],{3580:(Q,E,e)=>{e.d(E,{Q:()=>S});var l=e(9808),t=e(325),a=e(8481),T=e(3610),M=e(647),n=e(7484),c=e(3098),u=e(3630),g=e(6949),y=e(3618),P=e(9444),r=e(5e3);let o=(()=>{class v{}return v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=r.oAB({type:v}),v.\u0275inj=r.cJS({imports:[[l.ez,g.WG,n.vh,c.q6,M.PV,y.ZJ,P.s,u.X]]}),v})(),S=(()=>{class v{}return v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=r.oAB({type:v}),v.\u0275inj=r.cJS({imports:[[l.ez,t.Bz,a.X,T.$6,M.PV,P.s,o]]}),v})()},8018:(Q,E,e)=>{e.d(E,{e:()=>v});var l=e(9808),t=e(325),a=e(8481),T=e(3610),M=e(647),n=e(7484),c=e(3098),u=e(6949),g=e(3630),y=e(3618),P=e(9444),r=e(404),o=e(5e3);let S=(()=>{class s{}return s.\u0275fac=function(O){return new(O||s)},s.\u0275mod=o.oAB({type:s}),s.\u0275inj=o.cJS({imports:[[l.ez,t.Bz,u.WG,n.vh,c.q6,M.PV,y.ZJ,a.X,r.cg,g.X,P.s]]}),s})(),v=(()=>{class s{}return s.\u0275fac=function(O){return new(O||s)},s.\u0275mod=o.oAB({type:s}),s.\u0275inj=o.cJS({imports:[[l.ez,t.Bz,a.X,T.$6,M.PV,P.s,S]]}),s})()},9476:(Q,E,e)=>{e.d(E,{L:()=>S});var l=e(9808),t=e(325),a=e(8481),T=e(647),M=e(1894),n=e(3630),c=e(3098),u=e(7484),g=e(6949),y=e(5473),P=e(5e3);let r=(()=>{class v{}return v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=P.oAB({type:v}),v.\u0275inj=P.cJS({imports:[[l.ez,g.WG,u.vh,M.Jb,c.q6,n.X,y.H]]}),v})();var o=e(3610);let S=(()=>{class v{}return v.\u0275fac=function(D){return new(D||v)},v.\u0275mod=P.oAB({type:v}),v.\u0275inj=P.cJS({imports:[[l.ez,t.Bz,a.X,T.PV,o.$6,r]]}),v})()},6715:(Q,E,e)=>{e.d(E,{$:()=>a});var l=e(5e3);const t=["*"];let a=(()=>{class T{constructor(){}ngOnInit(){}}return T.\u0275fac=function(n){return new(n||T)},T.\u0275cmp=l.Xpm({type:T,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(n,c){2&n&&l.ekj("xs","xs"===c.size||!c.size)("sm","sm"===c.size)},inputs:{size:"size"},ngContentSelectors:t,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(n,c){1&n&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"]}),T})()},897:(Q,E,e)=>{e.d(E,{$:()=>a});var l=e(9808),t=e(5e3);let a=(()=>{class T{}return T.\u0275fac=function(n){return new(n||T)},T.\u0275mod=t.oAB({type:T}),T.\u0275inj=t.cJS({imports:[[l.ez]]}),T})()},7946:(Q,E,e)=>{e.d(E,{x:()=>g});var l=e(9808),t=e(897),a=e(8481),T=e(3610),M=e(8018),n=e(3580),c=e(9476),u=e(5e3);let g=(()=>{class y{}return y.\u0275fac=function(r){return new(r||y)},y.\u0275mod=u.oAB({type:y}),y.\u0275inj=u.cJS({imports:[[l.ez,a.X,T.$6,t.$,M.e,n.Q,c.L]]}),y})()},8664:(Q,E,e)=>{e.d(E,{I:()=>oe});var l=e(6654),t=e(5e3),a=e(9808),T=e(325),M=e(8481),n=e(3610),c=e(4850),u=e(712),g=e(7484),y=e(647),P=e(3193),r=e(3098),o=e(6550),S=e(1894),v=e(8144),s=e(6949);function D(h,L){if(1&h&&(t._UZ(0,"i",13),t._uU(1)),2&h){const C=t.oxw().ngIf;t.xp6(1),t.hij(" ",C.name," ")}}function O(h,L){if(1&h&&t._UZ(0,"cvc-gene-tag",14),2&h){const C=t.oxw().ngIf;t.Q6J("enablePopover",!1)("gene",C.gene)}}function $(h,L){if(1&h&&(t.TgZ(0,"nz-tag"),t._uU(1),t.qZA()),2&h){const C=L.$implicit;t.xp6(1),t.Oqu(C)}}function Y(h,L){if(1&h&&(t.TgZ(0,"nz-descriptions-item",15),t.YNc(1,$,2,1,"nz-tag",16),t.qZA()),2&h){const C=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",C.variantAliases)}}function b(h,L){if(1&h&&(t.TgZ(0,"nz-descriptions-item",17),t.TgZ(1,"cvc-link-tag",18),t._uU(2),t.qZA(),t.qZA()),2&h){const C=t.oxw().ngIf;t.xp6(1),t.MGl("href","https://reg.genome.network/allele/",C.alleleRegistryId,".html"),t.xp6(1),t.hij(" ",C.alleleRegistryId," ")}}function Z(h,L){if(1&h&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",20),t._UZ(2,"i",21),t._uU(3),t.qZA(),t.qZA()),2&h){const C=t.oxw().ngIf;t.MGl("routerLink","/variants/",C.id,"/flags"),t.xp6(3),t.hij(" Flags (",C.flags.totalCount,") ")}}function B(h,L){if(1&h&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",22),t._UZ(2,"i",23),t._uU(3),t.qZA(),t.qZA()),2&h){const C=t.oxw().ngIf;t.MGl("routerLink","/variants/",C.id,"/revisions"),t.xp6(3),t.hij(" Revisions (",C.revisions.totalCount,") ")}}function V(h,L){if(1&h&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",24),t._UZ(2,"i",25),t._uU(3),t.qZA(),t.qZA()),2&h){const C=t.oxw().ngIf;t.MGl("routerLink","/variants/",C.id,"/comments"),t.xp6(3),t.hij(" Comments (",C.comments.totalCount,") ")}}function x(h,L){if(1&h&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,D,2,1,"ng-template",null,3,t.W1O),t.YNc(4,O,1,2,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5),t.YNc(7,Y,2,1,"nz-descriptions-item",6),t.YNc(8,b,3,2,"nz-descriptions-item",7),t.TgZ(9,"nz-descriptions-item",8),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"nz-row",9),t.TgZ(12,"nz-col",10),t.TgZ(13,"nz-space",11),t.YNc(14,Z,4,2,"a",12),t.YNc(15,B,4,2,"a",12),t.YNc(16,V,4,2,"a",12),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&h){const C=L.ngIf,G=t.MAs(3),X=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",G)("nzExtra",X),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",C.variantAliases.length>0),t.xp6(1),t.Q6J("ngIf",C.alleleRegistryId),t.xp6(2),t.hij(" ",C.evidenceItems.totalCount," ")}}let N=(()=>{class h{constructor(C){this.gql=C}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,c.U)(({data:C})=>C.variant))}}return h.\u0275fac=function(C){return new(C||h)(t.Y36(u.ZYZ))},h.\u0275cmp=t.Xpm({type:h,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(C,G){1&C&&(t.TgZ(0,"div",0),t.YNc(1,x,17,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&C&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,G.variant$)))},directives:[a.O5,g.bd,y.Ls,P.H,r.R7,r.uj,a.sg,M.j,o.l,S.SK,S.t3,v.NU,v.$1,T.yS],pipes:[s.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),h})();function p(h,L){}function f(h,L){if(1&h&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,p,0,0,"ng-template",6),t.qZA(),t.BQk()),2&h){const C=t.oxw(),G=t.MAs(2);t.xp6(1),t.Q6J("routerLink",C.variant.link),t.xp6(1),t.Q6J("ngTemplateOutlet",G)}}function A(h,L){}function _(h,L){if(1&h){const C=t.EpF();t.TgZ(0,"nz-tag",9),t.NdJ("nzOnClose",function(X){return t.CHM(C),t.oxw(2).itemClosed(X)}),t.YNc(1,A,0,0,"ng-template",6),t.qZA()}if(2&h){t.oxw();const C=t.MAs(2),G=t.oxw(),X=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",G.onCloseClicked?0:.5)("nzPopoverContent",C)("nzMode",G.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",X)}}function i(h,L){if(1&h&&t._UZ(0,"cvc-variant-popover",11),2&h){const C=t.oxw(3);t.Q6J("variantId",C.variant.id)}}function I(h,L){if(1&h&&t.YNc(0,i,1,1,"cvc-variant-popover",10),2&h){const C=t.oxw(2);t.Q6J("ngIf",C.enablePopover)}}function z(h,L){if(1&h&&(t.YNc(0,_,2,4,"nz-tag",7),t.YNc(1,I,1,1,"ng-template",null,8,t.W1O)),2&h){const C=t.oxw(),G=t.MAs(4);t.Q6J("ngIf",C.enablePopover)("ngIfElse",G)}}function U(h,L){}function j(h,L){if(1&h){const C=t.EpF();t.TgZ(0,"nz-tag",12),t.NdJ("nzOnClose",function(X){return t.CHM(C),t.oxw().itemClosed(X)}),t.YNc(1,U,0,0,"ng-template",6),t.qZA()}if(2&h){const C=t.oxw(),G=t.MAs(8);t.Q6J("nzMode",C.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",G)}}function q(h,L){}function ne(h,L){if(1&h&&t.YNc(0,q,0,0,"ng-template",6),2&h){t.oxw();const C=t.MAs(2);t.Q6J("ngTemplateOutlet",C)}}function te(h,L){if(1&h&&(t._UZ(0,"i",13),t._uU(1)),2&h){const C=t.oxw();t.xp6(1),t.hij(" ",C.variant.name,"\n")}}let oe=(()=>{class h extends l.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return h.\u0275fac=function(C){return new(C||h)},h.\u0275cmp=t.Xpm({type:h,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[t.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(C,G){if(1&C&&(t.YNc(0,f,3,2,"ng-container",0),t.YNc(1,z,3,2,"ng-template",null,1,t.W1O),t.YNc(3,j,2,2,"ng-template",null,2,t.W1O),t.YNc(5,ne,1,1,"ng-template",null,3,t.W1O),t.YNc(7,te,2,1,"ng-template",null,4,t.W1O)),2&C){const X=t.MAs(6);t.Q6J("ngIf",G.linked)("ngIfElse",X)}},directives:[a.O5,T.yS,a.tP,M.j,n.lU,N,y.Ls],styles:[""]}),h})()},4867:(Q,E,e)=>{e.d(E,{Q:()=>v});var l=e(9808),t=e(325),a=e(8481),T=e(647),M=e(3610),n=e(6949),c=e(7484),u=e(1894),g=e(3098),y=e(8144),P=e(3309),r=e(3630),o=e(5e3);let S=(()=>{class s{}return s.\u0275fac=function(O){return new(O||s)},s.\u0275mod=o.oAB({type:s}),s.\u0275inj=o.cJS({imports:[[l.ez,t.Bz,n.WG,c.vh,u.Jb,g.q6,a.X,T.PV,y.zf,P.U,r.X]]}),s})(),v=(()=>{class s{}return s.\u0275fac=function(O){return new(O||s)},s.\u0275mod=o.oAB({type:s}),s.\u0275inj=o.cJS({imports:[[l.ez,t.Bz,a.X,M.$6,T.PV,S]]}),s})()},3154:(Q,E,e)=>{e.d(E,{_:()=>t});var l=e(712);function t(a){var T;switch(a.value){case"ascend":T=l.SrV.Asc;break;case"descend":T=l.SrV.Desc;break;default:return}return{column:a.key,direction:T}}},1837:(Q,E,e)=>{e.d(E,{_:()=>a});var l=e(712),t=e(7905);class a extends t.nT{constructor(){super(t.yQ.ASSERTION),this.validStates.set(l.uBv.Predictive,{entityType:l.uBv.Predictive,clinicalSignificance:[l.Vr2.Sensitivityresponse,l.Vr2.Resistance,l.Vr2.AdverseResponse,l.Vr2.ReducedSensitivity,l.Vr2.Na],entityDirection:[l.mdl.Supports,l.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!0,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!0}),this.validStates.set(l.uBv.Diagnostic,{entityType:l.uBv.Diagnostic,clinicalSignificance:[l.Vr2.Positive,l.Vr2.Negative],entityDirection:[l.mdl.Supports,l.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(l.uBv.Prognostic,{entityType:l.uBv.Prognostic,clinicalSignificance:[l.Vr2.BetterOutcome,l.Vr2.PoorOutcome,l.Vr2.Na],entityDirection:[l.mdl.Supports,l.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresAcmgCodes:!1,requiresAmpLevel:!0,allowsFdaApproval:!1}),this.validStates.set(l.uBv.Predisposing,{entityType:l.uBv.Predisposing,clinicalSignificance:[l.Vr2.Pathogenic,l.Vr2.LikelyPathogenic,l.Vr2.Benign,l.Vr2.LikelyBenign,l.Vr2.UncertainSignificance],entityDirection:[l.mdl.Supports,l.mdl.DoesNotSupport],requiresDisease:!0,requiresDrug:!1,requiresAcmgCodes:!0,requiresAmpLevel:!1,allowsFdaApproval:!1})}}},3759:(Q,E,e)=>{e.d(E,{D:()=>_});var l=e(9808),t=e(915);const T={name:"acmg-code-array",extends:"multi-field",wrappers:["form-field"],defaultOptions:{templateOptions:{label:"ACMG/AMP Code(s)",required:!1,addText:"Add an ACMG/AMP Code",helpText:'Refers to evidence criteria from the standards and guidelines for interpretation of sequence variants from ACMG/AMP in Richards et. al. 2015.'},fieldArray:{type:"acmg-code-select",templateOptions:{required:!1}},defaultValue:[],validation:{messages:{required:(i,I)=>{const z=(null==I?void 0:I.form)?I.form.get("evidenceType"):null;return z&&z.value?`${(0,t.E)(z.value)} Assertions requires at least one ACMG code to be specified.`:"ACMG Code is required."}}},hooks:{onInit:i=>{var I;const z=i.templateOptions,U=null===(I=null==i?void 0:i.options)||void 0===I?void 0:I.formState,j=(null==i?void 0:i.form)?i.form.get("evidenceType"):null;!j||(z.vcSub=j.valueChanges.subscribe(q=>{U.requiresAcmgCodes(q)?(z.hidden=!1,z.required=!0):(z.hidden=!0,z.required=!1,i.model.length>0&&(i.model.splice(1),z.remove(0)))}))}}}};var M=e(8776),n=e(8390),c=e(4182),u=e(3793),g=e(8929),y=e(7625),P=e(4850),r=e(5e3),o=e(712),S=e(8054),v=e(6949),s=e(8144),D=e(8481),O=e(8926);function $(i,I){if(1&i&&(r.TgZ(0,"span"),r._UZ(1,"span",8),r.ALo(2,"highlightTypeahead"),r._uU(3),r.qZA()),2&i){const z=r.oxw().$implicit,U=r.oxw(3);r.xp6(1),r.Q6J("innerHtml",r.xi3(2,2,z.code,U.searchVal),r.oJD),r.xp6(2),r.hij(" - ",z.description," ")}}function Y(i,I){if(1&i&&(r.TgZ(0,"nz-option",6),r.TgZ(1,"nz-space"),r.YNc(2,$,4,5,"span",7),r.qZA(),r.qZA()),2&i){const z=I.$implicit;r.Q6J("nzLabel",z.code)("nzValue",z)}}function b(i,I){if(1&i&&(r.ynx(0),r.YNc(1,Y,3,2,"nz-option",5),r.BQk()),2&i){const z=I.ngrxLet;r.xp6(1),r.Q6J("ngForOf",z)}}function Z(i,I){1&i&&r._uU(0," No ACMG code found in CIViC that matches the string provided. ")}function B(i,I){if(1&i){const z=r.EpF();r.ynx(0),r.TgZ(1,"nz-select",2),r.NdJ("nzOnSearch",function(j){return r.CHM(z),r.oxw().onSearch(j)}),r.YNc(2,b,2,1,"ng-container",3),r.qZA(),r.YNc(3,Z,1,0,"ng-template",null,4,r.W1O),r.BQk()}if(2&i){const z=r.MAs(4),U=r.oxw();r.xp6(1),r.Q6J("formControl",U.formControl)("formlyAttributes",U.field)("nzPlaceHolder",U.to.placeholder?U.to.placeholder:null)("nzNotFoundContent",z)("nzShowArrow",U.to.showArrow)("nzFilterOption",U.to.filterOption),r.xp6(1),r.Q6J("ngrxLet",U.codes$)}}function V(i,I){if(1&i&&(r.TgZ(0,"nz-tag"),r._uU(1),r.qZA()),2&i){const z=r.oxw();r.xp6(1),r.Oqu(z.formControl.value.code)}}const N={name:"acmg-code-select",extends:"select",component:(()=>{class i extends M.fS{constructor(z){super(),this.acmgCodeGQL=z,this.destroy$=new g.xQ,this.searchVal=""}ngOnInit(){this.queryRef=this.acmgCodeGQL.watch({code:this.searchVal}),this.codes$=this.queryRef.valueChanges.pipe((0,y.R)(this.destroy$),(0,P.U)(({data:z})=>z.acmgCodesTypeahead))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onSearch(z){var U;this.searchVal=z,null===(U=this.queryRef)||void 0===U||U.refetch({code:z})}}return i.\u0275fac=function(z){return new(z||i)(r.Y36(o.$G1))},i.\u0275cmp=r.Xpm({type:i,selectors:[["cvc-acmg-code-select-type"]],features:[r.qOj],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["acmgCodeItem",""],["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzNotFoundContent","nzShowArrow","nzFilterOption","nzOnSearch"],[4,"ngrxLet"],["sourceLoader",""],["nzCustomContent","",3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["nzCustomContent","",3,"nzLabel","nzValue"],[4,"nzSpaceItem"],[3,"innerHtml"]],template:function(z,U){if(1&z&&(r.YNc(0,B,5,7,"ng-container",0),r.YNc(1,V,2,1,"ng-template",null,1,r.W1O)),2&z){const j=r.MAs(2);r.Q6J("ngIf",!(null!=U.formControl.value&&U.formControl.value.id))("ngIfElse",j)}},directives:[l.O5,S.Vq,c.JJ,c.oH,M.VQ,v.eJ,l.sg,S.Ip,s.NU,s.$1,D.j],pipes:[O.A],styles:[""]}),i})(),wrappers:["form-field"],defaultOptions:{templateOptions:{placeholder:"None specified."},modelOptions:{debounce:{default:500}}}};var p=e(9444),f=e(7338);let A=(()=>{class i{}return i.\u0275fac=function(z){return new(z||i)},i.\u0275mod=r.oAB({type:i}),i.\u0275inj=r.cJS({imports:[[l.ez,c.UX,v.WG,u.F,D.X,S.LV,s.zf,p.s,M.X0.forChild({types:[N]}),f.z]]}),i})(),_=(()=>{class i{}return i.\u0275fac=function(z){return new(z||i)},i.\u0275mod=r.oAB({type:i}),i.\u0275inj=r.cJS({imports:[[l.ez,M.X0.forChild({types:[T]}),n.N,A]]}),i})()},3314:(Q,E,e)=>{e.d(E,{p:()=>r});var l=e(9808),t=e(4182),a=e(8776),T=e(9657),M=e(712),n=e(444);const c=new T.t,u={TIER_I_LEVEL_A:"Biomarkers showing therapeutic response to FDA-approved therapy, or therapy included in professional guidelines",TIER_I_LEVEL_B:"Biomarkers showing therapeutic response based on well-powered studies with consensus from experts in the field",TIER_II_LEVEL_C:"FDA-approved therapies for different tumor types or investigational therapies, or multiple small published studies with some consensus",TIER_II_LEVEL_D:"Biomarkers that show plausible therapeutic significance based on preclinical studies",TIER_III:"Somatic variants in cancer genes reported in the same or different cancer types with unknown clinical significance and variants in cancer genes that have not been reported in any cancers",TIER_IV:"Benign or likely benign germline variants observed at significant allele frequencies in the general population or specific subpopulation","Not Applicable":"AMP/ASCO/CAP category is not relevant to this assertion."},g={name:"amp-level-input",extends:"select",wrappers:["form-field"],defaultOptions:{templateOptions:{placeholder:"Please Select an AMP/ASCO/CAP Category",label:"AMP/ASCO/CAP Category",helpText:'If applicable, please provide the AMP/ASCO/CAP somatic variant classification.',required:!1,options:(0,n.o6)(M.iwm).map(o=>({value:o,label:c.transform(o,"verbose")}))},hideExpression:(o,S,v)=>{var s;return(null===(s=null==v?void 0:v.templateOptions)||void 0===s?void 0:s.hidden)||!1},hooks:{onInit:o=>{var S;const v=o.templateOptions,s=null===(S=null==o?void 0:o.options)||void 0===S?void 0:S.formState,D=(null==o?void 0:o.form)?o.form.get("evidenceType"):null;!D||(v.vcSub=D.valueChanges.subscribe(O=>{s.requiresAmpLevel(O)?(v.hidden=!1,v.required=!0):(v.hidden=!0,v.required=!1,o.model[o.key]=void 0)}))}},expressionProperties:{"templateOptions.optionText":(o,S,v)=>u[o.ampLevel]}}};var y=e(9444),P=e(5e3);let r=(()=>{class o{}return o.\u0275fac=function(v){return new(v||o)},o.\u0275mod=P.oAB({type:o}),o.\u0275inj=P.cJS({imports:[[l.ez,t.UX,y.s,a.X0.forChild({types:[g]})]]}),o})()},9946:(Q,E,e)=>{e.d(E,{d:()=>N});var l=e(9808),t=e(8776),a=e(8054),T=e(4182),M=e(8144),n=e(3618),c=e(6949),u=e(7008),g=e(6042),y=e(1047),P=e(9444),r=e(7625),o=e(373),S=e(4850),v=e(8929),s=e(5e3),D=e(712),O=e(9001);function $(p,f){if(1&p&&(s.ynx(0),s.TgZ(1,"nz-option",5),s._uU(2),s.qZA(),s.BQk()),2&p){const A=f.ngIf;s.xp6(1),s.Q6J("nzLabel",A.tooltip)("nzValue",A.eid),s.xp6(1),s.hij(" ",A.label," ")}}function Y(p,f){1&p&&s._uU(0," No EID matches the provided ID ")}function b(p,f){if(1&p){const A=s.EpF();s.ynx(0),s.TgZ(1,"nz-select",2),s.NdJ("nzOnSearch",function(i){return s.CHM(A),s.oxw().to.onSearch(i)}),s.YNc(2,$,3,3,"ng-container",3),s.ALo(3,"ngrxPush"),s.qZA(),s.YNc(4,Y,1,0,"ng-template",null,4,s.W1O),s.BQk()}if(2&p){const A=s.MAs(5),_=s.oxw();s.xp6(1),s.Q6J("formControl",_.formControl)("formlyAttributes",_.field)("nzPlaceHolder",_.to.placeholder?_.to.placeholder:null)("nzNotFoundContent",A)("nzShowArrow",_.to.showArrow)("nzFilterOption",_.to.filterOption),s.xp6(1),s.Q6J("ngIf",s.lcZ(3,7,_.eid$))}}function Z(p,f){if(1&p&&s._UZ(0,"cvc-evidence-tag",6),2&p){const A=s.oxw();s.Q6J("evidence",A.formControl.value)}}const V={name:"evidence-input",component:(()=>{class p extends t.fS{constructor(A){super(),this.evidenceGQL=A,this.destroy$=new v.xQ,this.defaultOptions={templateOptions:{placeholder:"Enter Evidence",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[],searchString:""}}}ngOnInit(){this.queryRef=this.evidenceGQL.watch({id:99999999}),this.eid$=this.queryRef.valueChanges.pipe((0,r.R)(this.destroy$),(0,o.j)("data","evidenceItem"),(0,S.U)(A=>{if(A)return{value:A.id,label:A.name,eid:A}}))}ngAfterViewInit(){this.to.onSearch=A=>{if(A.length{class p{}return p.\u0275fac=function(A){return new(A||p)},p.\u0275mod=s.oAB({type:p}),p.\u0275inj=s.cJS({imports:[[l.ez,T.u5,T.UX,c.WG,t.X0.forChild({types:[V]}),a.LV,M.zf,n.ZJ,g.sL,y.o7,x.i,u.B,P.s]]}),p})()},464:(Q,E,e)=>{e.d(E,{N:()=>n});var l=e(9808),t=e(4182);const a={name:"fda-approval-checkbox",extends:"select",wrappers:["form-field"],defaultOptions:{templateOptions:{label:"FDA Regulatory Approval?",helpText:"Select yes if the referenced therapy is approved for use by the FDA in the specific disease associated with the Assertion (as in a listing here.)",placeholder:"None Specified",options:[{value:!0,label:"Yes"},{value:!1,label:"No"},{value:void 0,label:""}]},hooks:{onInit:c=>{var u;if(c){const g=c.templateOptions,y=(null==c?void 0:c.form)?c.form.get("evidenceType"):null,P=null===(u=null==c?void 0:c.options)||void 0===u?void 0:u.formState;if(!y||!g)return;g.ncSub=y.valueChanges.subscribe(r=>{var o,S;r&&P.allowsFdaApproval(r)?(g.hidden=!1,g.required=!0):(null===(S=null===(o=c.form)||void 0===o?void 0:o.get(c.key))||void 0===S||S.setValue(void 0),g.modelCallback(void 0),c.model[c.key]=void 0,g.hidden=!0,g.required=!1)})}},onDestroy:c=>{var u;if(c){const g=c.templateOptions;null===(u=null==g?void 0:g.ncSub)||void 0===u||u.unsubscribe()}}}}};var T=e(8776),M=e(5e3);let n=(()=>{class c{}return c.\u0275fac=function(g){return new(g||c)},c.\u0275mod=M.oAB({type:c}),c.\u0275inj=M.cJS({imports:[[l.ez,t.UX,T.X0.forChild({types:[a]})]]}),c})()},7795:(Q,E,e)=>{e.d(E,{k:()=>n});var l=e(9808),t=e(4182),a=e(8776);const T={name:"fda-test-checkbox",extends:"select",wrappers:["form-field"],defaultOptions:{templateOptions:{label:"FDA Companion Test?",placeholder:"None Specified",helpText:'Select Yes if an FDA approved companion test exists for the variant and drug associated with the Assertion (such as tests listed here).',options:[{value:!0,label:"Yes"},{value:!1,label:"No"},{value:void 0,label:""}]},hooks:{onInit:c=>{var u;if(c){const g=c.templateOptions,y=(null==c?void 0:c.form)?c.form.get("fdaRegulatoryApproval"):null,P=(null==c?void 0:c.form)?c.form.get("evidenceType"):null,r=null===(u=null==c?void 0:c.options)||void 0===u?void 0:u.formState;if(!y||!g||!P)return;g.etSub=P.valueChanges.subscribe(o=>{var S,v;o&&r.allowsFdaApproval(o)?(g.hidden=!1,g.required=!0):(null===(v=null===(S=c.form)||void 0===S?void 0:S.get(c.key))||void 0===v||v.setValue(void 0),g.modelCallback(void 0),c.model[c.key]=void 0,g.hidden=!0,g.required=!1)}),g.ncSub=y.valueChanges.subscribe(o=>{o?(g.hidden=!1,g.required=!0,g.modelCallback(!0),c.model[c.key]=!0):(g.modelCallback(!1),c.model[c.key]=!1,g.hidden=!0,g.required=!1)})}},onDestroy:c=>{var u,g;if(c){const y=c.templateOptions;null===(u=null==y?void 0:y.ncSub)||void 0===u||u.unsubscribe(),null===(g=null==y?void 0:y.etSub)||void 0===g||g.unsubscribe()}}}}};var M=e(5e3);let n=(()=>{class c{}return c.\u0275fac=function(g){return new(g||c)},c.\u0275mod=M.oAB({type:c}),c.\u0275inj=M.cJS({imports:[[l.ez,t.UX,a.X0.forChild({types:[T]})]]}),c})()},5486:(Q,E,e)=>{e.d(E,{$:()=>b});var l=e(9808),t=e(8776),a=e(8929),T=e(7625),M=e(4850),n=e(5e3),c=e(712),u=e(8054),g=e(4182),y=e(6949),P=e(8144),r=e(8481);function o(Z,B){if(1&Z&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&Z){const V=n.oxw().$implicit;n.xp6(1),n.hij(" ",V.name," ")}}function S(Z,B){if(1&Z&&(n.TgZ(0,"nz-option",6),n.TgZ(1,"nz-space"),n.YNc(2,o,2,1,"span",7),n.qZA(),n.qZA()),2&Z){const V=B.$implicit;n.Q6J("nzLabel",V.name)("nzValue",V)}}function v(Z,B){if(1&Z&&(n.ynx(0),n.YNc(1,S,3,2,"nz-option",5),n.BQk()),2&Z){const V=B.ngrxLet;n.xp6(1),n.Q6J("ngForOf",V)}}function s(Z,B){1&Z&&n._uU(0," No NCCN Guideline found in CIViC that matches the string provided. ")}function D(Z,B){if(1&Z){const V=n.EpF();n.ynx(0),n.TgZ(1,"nz-select",2),n.NdJ("nzOnSearch",function(N){return n.CHM(V),n.oxw().onSearch(N)}),n.YNc(2,v,2,1,"ng-container",3),n.qZA(),n.YNc(3,s,1,0,"ng-template",null,4,n.W1O),n.BQk()}if(2&Z){const V=n.MAs(4),x=n.oxw();n.xp6(1),n.Q6J("formControl",x.formControl)("formlyAttributes",x.field)("nzPlaceHolder",x.to.placeholder?x.to.placeholder:null)("nzNotFoundContent",V)("nzShowArrow",x.to.showArrow)("nzFilterOption",x.to.filterOption),n.xp6(1),n.Q6J("ngrxLet",x.guidelines$)}}function O(Z,B){if(1&Z&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&Z){const V=n.oxw();n.xp6(1),n.Oqu(V.formControl.value.name)}}const Y={name:"nccn-guideline-input",extends:"select",wrappers:["form-field"],component:(()=>{class Z extends t.fS{constructor(V){super(),this.nccnGuidelineGQL=V,this.destroy$=new a.xQ,this.searchVal=""}ngOnInit(){this.queryRef=this.nccnGuidelineGQL.watch({name:this.searchVal}),this.guidelines$=this.queryRef.valueChanges.pipe((0,T.R)(this.destroy$),(0,M.U)(({data:V})=>V.nccnGuidelinesTypeahead))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onSearch(V){var x;null===(x=this.queryRef)||void 0===x||x.refetch({name:V})}}return Z.\u0275fac=function(V){return new(V||Z)(n.Y36(c.lfy))},Z.\u0275cmp=n.Xpm({type:Z,selectors:[["cvc-nccn-guideline-input-type"]],features:[n.qOj],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["nccnItem",""],["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzNotFoundContent","nzShowArrow","nzFilterOption","nzOnSearch"],[4,"ngrxLet"],["sourceLoader",""],["nzCustomContent","",3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["nzCustomContent","",3,"nzLabel","nzValue"],[4,"nzSpaceItem"]],template:function(V,x){if(1&V&&(n.YNc(0,D,5,7,"ng-container",0),n.YNc(1,O,2,1,"ng-template",null,1,n.W1O)),2&V){const N=n.MAs(2);n.Q6J("ngIf",!(null!=x.formControl.value&&x.formControl.value.id))("ngIfElse",N)}},directives:[l.O5,u.Vq,g.JJ,g.oH,t.VQ,y.eJ,l.sg,u.Ip,P.NU,P.$1,r.j],styles:[""]}),Z})(),defaultOptions:{templateOptions:{label:"NCCN Guideline",placeholder:"None specified",helpText:'If applicable, please provide cancer (e.g., Breast Cancer) and version (e.g., 5.2016) for the appropriate NCCN guideline.'},modelOptions:{debounce:{default:500}}}};let b=(()=>{class Z{}return Z.\u0275fac=function(V){return new(V||Z)},Z.\u0275mod=n.oAB({type:Z}),Z.\u0275inj=n.cJS({imports:[[l.ez,g.UX,y.WG,u.LV,P.zf,r.X,t.X0.forChild({types:[Y]})]]}),Z})()},4902:(Q,E,e)=>{e.d(E,{a:()=>c});var l=e(9808);const t={name:"nccn-version-input",extends:"input",wrappers:["form-field"],defaultOptions:{templateOptions:{label:"NCCN Guideline Version",placeholder:"None specified"},validators:["format"],validation:{messages:{required:"If you specify an NCCN Guideline it must have a version."}},hideExpression:(u,g,y)=>!u.nccnGuideline,hooks:{onInit:u=>{if(u){const g=u.templateOptions,y=(null==u?void 0:u.form)?u.form.get("nccnGuideline"):null;if(!y||!g)return;g.ncSub=y.valueChanges.subscribe(P=>{P?g.required=!0:(g.required=!1,u.model[u.key]=void 0)})}},onDestroy:u=>{var g;if(u){const y=u.templateOptions;null===(g=null==y?void 0:y.ncSub)||void 0===g||g.unsubscribe()}}}}};var a=e(4182),T=e(8776),M=e(5e3);function n(u){return/^\d{1,2}\.\d{4}$/.test(u.value)?{format:!0}:null}let c=(()=>{class u{}return u.\u0275fac=function(y){return new(y||u)},u.\u0275mod=M.oAB({type:u}),u.\u0275inj=M.cJS({imports:[[l.ez,a.UX,T.X0.forChild({types:[t],validators:[{name:"format",validation:n}],validationMessages:[{name:"format",message:"The NCCN Guideline version must be in the format {version number}.{year}."}]})]]}),u})()},9754:(Q,E,e)=>{e.d(E,{K:()=>x});var l=e(9808),t=e(767),a=e(9444),T=e(6949),M=e(8776),n=e(6042),c=e(7484),u=e(5482),g=e(4546),y=e(1894),P=e(647),r=e(3640),o=e(3610),S=e(8144),v=e(3618),s=e(5109),D=e(6789),O=e(5e3),$=e(2643),Y=e(2683),b=e(8965);function Z(N,p){if(1&N){const f=O.EpF();O.TgZ(0,"cvc-evidence-table",4),O.NdJ("selectedEids",function(_){return O.CHM(f),O.oxw().onEidSelectionChange(_)}),O.qZA()}if(2&N){const f=O.oxw();O.Q6J("initialPageSize",15)("initialUserFilters",f.evidenceGridFilters)("initialSelectedEids",f.alreadySelected)}}const V={wrappers:[{name:"evidence-manager",component:(()=>{class N extends M.n2{constructor(){super(...arguments),this.managerVisible=!1,this.alreadySelected=[],this.managerSelectedEids=[],this.evidenceGridFilters={eidInput:void 0,diseaseNameInput:void 0,drugNameInput:void 0,descriptionInput:void 0,evidenceLevelInput:void 0,evidenceTypeInput:void 0,evidenceDirectionInput:void 0,clinicalSignificanceInput:void 0,variantOriginInput:void 0,evidenceRatingInput:void 0,variantNameInput:void 0,geneSymbolInput:void 0}}handleOpen(){var f,A,_;if(null===(f=this.field.parent)||void 0===f?void 0:f.model){const i=null===(A=this.field.parent)||void 0===A?void 0:A.model;this.evidenceGridFilters.geneSymbolInput=1==(null===(_=i.gene)||void 0===_?void 0:_.length)&&i.gene[0]?i.gene[0].name:void 0,this.evidenceGridFilters.variantNameInput=1==i.variant.length&&i.variant[0]?i.variant[0].name:void 0,this.evidenceGridFilters.evidenceTypeInput=i.evidenceType?i.evidenceType:void 0,this.evidenceGridFilters.diseaseNameInput=1==i.disease.length&&i.disease[0]?i.disease[0].name:void 0}this.model&&(this.alreadySelected=this.model.filter(i=>i)),this.managerVisible=!0}handleCancel(){this.managerVisible=!1}handleOk(){this.managerVisible=!1;const f=this.managerSelectedEids;for(;this.formControl.value.lengthf.length;)this.to.remove(this.formControl.value.length-1);f.forEach((A,_)=>{this.field.formControl.controls[_].setValue(A)}),this.to.eidCallback&&this.to.eidCallback(f)}onEidSelectionChange(f){this.managerSelectedEids=f}}return N.\u0275fac=function(){let p;return function(A){return(p||(p=O.n5z(N)))(A||N)}}(),N.\u0275cmp=O.Xpm({type:N,selectors:[["cvc-with-evidence-manager-wrapper"]],features:[O.qOj],decls:7,vars:2,consts:[["fieldComponent",""],["nz-button","","type","button","nzType","default",3,"click"],["nzCentered","","nzClosable","","nzOkText","Select Evidence Items","nzWidth","100%",3,"nzVisible","nzContent","nzVisibleChange","nzOnCancel","nzOnOk"],["evidenceManager",""],["mode","select","cvcTitle","Evidence Manager",3,"initialPageSize","initialUserFilters","initialSelectedEids","selectedEids"]],template:function(f,A){if(1&f&&(O.GkF(0,null,0),O.TgZ(2,"button",1),O.NdJ("click",function(){return A.handleOpen()}),O._uU(3,"Show Evidence Manager"),O.qZA(),O.TgZ(4,"nz-modal",2),O.NdJ("nzVisibleChange",function(i){return A.managerVisible=i})("nzOnCancel",function(){return A.handleCancel()})("nzOnOk",function(){return A.handleOk()}),O.qZA(),O.YNc(5,Z,1,3,"ng-template",null,3,O.W1O)),2&f){const _=O.MAs(6);O.xp6(4),O.Q6J("nzVisible",A.managerVisible)("nzContent",_)}},directives:[n.ix,$.dQ,Y.w,r.du,b.a],styles:[".hidden[_ngcontent-%COMP%]{display:none}"]}),N})()}]};let x=(()=>{class N{}return N.\u0275fac=function(f){return new(f||N)},N.\u0275mod=O.oAB({type:N}),N.\u0275inj=O.cJS({imports:[[l.ez,T.WG,M.X0.forChild(V),y.Jb,c.vh,u.cD,D._,s.s,g.U5,P.PV,n.sL,S.zf,o.$6,a.s,t.Q,v.ZJ,r.Qp]]}),N})()},5878:(Q,E,e)=>{e.r(E),e.d(E,{AssertionsReviseModule:()=>qe});var l=e(9808),t=e(325),a=e(373),T=e(1059),M=e(4850),n=e(5e3),c=e(712),u=e(9350),g=e(8992),y=e(8144),P=e(3618),r=e(3193),o=e(8664),S=e(1945),v=e(647),s=e(1894),D=e(8616),O=e(6949);function $(m,F){if(1&m&&(n.TgZ(0,"span",12),n.TgZ(1,"strong"),n._uU(2),n.qZA(),n._uU(3," Parents:"),n.qZA()),2&m){const d=n.oxw(2).ngIf;n.xp6(2),n.Oqu(d.name)}}function Y(m,F){if(1&m&&(n.TgZ(0,"span",13),n.TgZ(1,"a",14),n._UZ(2,"cvc-gene-tag",15),n.qZA(),n.TgZ(3,"a",14),n._UZ(4,"cvc-variant-tag",16),n.qZA(),n.qZA()),2&m){const d=n.oxw(2).ngIf;n.xp6(1),n.MGl("routerLink","/genes/",d.gene.id,""),n.xp6(1),n.Q6J("gene",d.gene),n.xp6(1),n.MGl("routerLink","/variants/",d.variant.id,""),n.xp6(1),n.Q6J("variant",d.variant)}}function b(m,F){1&m&&(n.TgZ(0,"nz-space",9),n.YNc(1,$,4,1,"span",10),n.YNc(2,Y,5,4,"span",11),n.qZA())}function Z(m,F){1&m&&(n.TgZ(0,"div"),n._UZ(1,"router-outlet"),n.qZA())}function B(m,F){1&m&&(n.TgZ(0,"nz-row",17),n.TgZ(1,"div",18),n._UZ(2,"cvc-login-prompt"),n.qZA(),n.qZA())}function V(m,F){if(1&m&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.YNc(2,b,3,0,"ng-template",null,2,n.W1O),n.TgZ(4,"nz-page-header",3),n.TgZ(5,"nz-page-header-title",4),n._uU(6," REVISE "),n._UZ(7,"i",5),n._uU(8),n.qZA(),n.TgZ(9,"nz-page-header-content"),n.TgZ(10,"div",6),n.YNc(11,Z,2,0,"div",7),n.ALo(12,"ngrxPush"),n.YNc(13,B,3,0,"ng-template",null,8,n.W1O),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&m){const d=F.ngIf,R=n.MAs(3),W=n.MAs(14),H=n.oxw();n.xp6(1),n.Q6J("displayName",d.name)("relationsTpl",R),n.xp6(7),n.hij(" ",d.name," "),n.xp6(3),n.Q6J("ngIf",n.lcZ(12,5,H.isSignedIn$))("ngIfElse",W)}}let x=(()=>{class m{constructor(d,R,W){this.gql=d,this.route=R,this.viewerService=W,this.routeSub=this.route.params.subscribe(H=>{let J=this.gql.watch({assertionId:+H.assertionId}).valueChanges;this.loading$=J.pipe((0,a.j)("loading"),(0,T.O)(!0)),this.assertion$=J.pipe((0,a.j)("data","assertion"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,M.U)(d=>d.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return m.\u0275fac=function(d){return new(d||m)(n.Y36(c.A94),n.Y36(t.gz),n.Y36(u.a))},m.\u0275cmp=n.Xpm({type:m,selectors:[["cvc-assertions-revise-view"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","relationsTpl"],["assertionRelations",""],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:assertion"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzDirection","horizontal"],["nz-typography","","class","label",4,"nzSpaceItem"],["class","tags",4,"nzSpaceItem"],["nz-typography","",1,"label"],[1,"tags"],[3,"routerLink"],[3,"gene"],[3,"variant"],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(d,R){1&d&&(n.YNc(0,V,15,7,"ng-container",0),n.ALo(1,"async")),2&d&&n.Q6J("ngIf",n.lcZ(1,1,R.assertion$))},directives:[l.O5,g.I,y.NU,y.$1,P.ZU,t.yS,r.H,o.I,S.$O,S.u9,v.Ls,S.u5,t.lC,s.SK,s.t3,D.u],pipes:[l.Ov,O.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),m})();var N=e(7484),p=e(6559),f=e(4182),A=e(5109),_=e(4546),i=e(2359),I=e(6042),z=e(7525),U=e(8776),j=e(1825),q=e(7008),ne=e(4375),te=e(7695),oe=e(3022),h=e(8390),L=e(3773),C=e(5452),G=e(5743),X=e(5457),ie=e(8006),ce=e(7462),re=e(4623),de=e(3594),pe=e(3643),ge=e(1135),me=e(2789),ue=e(5932),ve=e(3416),he=e(2480),fe=e(1830),ze=e(4581),ye=e(1605),Ce=e(5926),Te=e(1270),xe=e(3314),Ae=e(3759),Oe=e(4902),Me=e(5486),Ie=e(464),Se=e(7795),Pe=e(5472),Ee=e(9946),Ze=e(9754),Ne=e(4889);let _e=(()=>{class m{}return m.\u0275fac=function(d){return new(d||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[[l.ez,t.Bz,f.UX,A.s,_.U5,i.L,s.Jb,I.sL,z.j,U.X0,j.A,q.B,ne.R,te.C,oe.e,h.N,L.g,C.C,G.W,X.$,ie.I,ce.o,re.K,de.q,pe.q,ge.C,me.o,ue.A,ve.g,he.r,fe.S,ze.e,ye.e,Ce.J,Te.i,xe.p,Ae.D,Oe.a,Me.$,Ie.N,Se.k,Pe.r,Ee.d,Ze.K,Ne.E]]}),m})(),Ve=(()=>{class m{}return m.\u0275fac=function(d){return new(d||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[[l.ez,O.WG,s.Jb,N.vh,p.H0,y.zf,_e]]}),m})();var De=e(6123),Le=e(8929),Fe=e(1837),K=e(6738),ae=e(7625),Re=e(9169),Je=e(822);function Ue(m,F){1&m&&n.GkF(0)}function Be(m,F){if(1&m){const d=n.EpF();n.TgZ(0,"formly-form",6),n.NdJ("modelChange",function(W){return n.CHM(d),n.oxw(2).formModel=W}),n.qZA()}if(2&m){const d=n.oxw(2);n.Q6J("form",d.formGroup)("fields",d.formFields)("model",d.formModel)("options",d.formOptions)}}function Qe(m,F){if(1&m){const d=n.EpF();n.TgZ(0,"form",3),n.NdJ("ngSubmit",function(){n.CHM(d);const W=n.oxw();return W.reviseAssertion(W.formModel)}),n.YNc(1,Ue,1,0,"ng-container",4),n.YNc(2,Be,1,4,"formly-form",5),n.qZA()}if(2&m){const d=n.oxw(),R=n.MAs(3);n.Q6J("formGroup",d.formGroup),n.xp6(1),n.Q6J("ngTemplateOutlet",R),n.xp6(1),n.Q6J("ngIf",!d.success)}}function Ge(m,F){if(1&m&&(n.ynx(0),n.TgZ(1,"nz-form-item"),n._UZ(2,"cvc-form-errors-alert",8),n.qZA(),n.BQk()),2&m){const d=n.oxw(2);n.xp6(2),n.Q6J("errors",d.errorMessages)}}function We(m,F){1&m&&(n.TgZ(0,"p"),n._uU(1,"View it on the "),n.TgZ(2,"a",12),n._uU(3,"Revisions Page"),n.qZA(),n._uU(4,"."),n.qZA())}function Ye(m,F){if(1&m&&(n.ynx(0),n._UZ(1,"nz-alert",9),n.YNc(2,We,5,0,"ng-template",10,11,n.W1O),n.BQk()),2&m){const d=n.MAs(3);n.xp6(1),n.Q6J("nzDescription",d)}}function be(m,F){if(1&m&&(n.YNc(0,Ge,3,1,"ng-container",7),n.YNc(1,Ye,4,1,"ng-container",7)),2&m){const d=n.oxw();n.Q6J("ngIf",d.errorMessages.length>0),n.xp6(1),n.Q6J("ngIf",d.success)}}let $e=(()=>{class m{constructor(d,R,W){this.suggestAssertionRevisionGQL=d,this.networkErrorService=R,this.revisableFieldsGQL=W,this.destroy$=new Le.xQ,this.formGroup=new f.cw({}),this.formOptions={formState:new Fe._},this.success=!1,this.errorMessages=[],this.loading=!0,this.reviseAssertion=k=>{let le=this.toReviseInput(k);if(le){let se=this.suggestAssertionRevisionMutator.mutate(this.suggestAssertionRevisionGQL,{input:le});se.submitSuccess$.pipe((0,ae.R)(this.destroy$)).subscribe(ee=>{ee&&(this.success=!0)}),se.submitError$.pipe((0,ae.R)(this.destroy$)).subscribe(ee=>{ee&&(this.errorMessages=ee,this.success=!1)}),se.isSubmitting$.pipe((0,ae.R)(this.destroy$)).subscribe(ee=>{this.loading=ee})}},this.suggestAssertionRevisionMutator=new De.U(R),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Suggest Assertion Revision Form"},fieldGroup:[{key:"gene",type:"gene-array",templateOptions:{maxCount:1,required:!0}},{key:"variant",type:"variant-array",templateOptions:{required:!0,maxCount:1,allowCreate:!1}},{key:"variantOrigin",type:"variant-origin-select",templateOptions:{required:!0}},{key:"disease",type:"disease-array",templateOptions:{maxCount:1,allowCreate:!1}},{key:"evidenceType",type:"evidence-type-select",templateOptions:{label:"Assertion Type",required:!0}},{key:"evidenceDirection",type:"evidence-direction-select",templateOptions:{label:"Assertion Direction",required:!0}},{key:"clinicalSignificance",type:"clinical-significance-select",templateOptions:{required:!0}},{key:"drugs",type:"drug-array",templateOptions:{allowCreate:!1}},{key:"drugInteractionType",type:"drug-interaction-select",templateOptions:{}},{key:"ampLevel",type:"amp-level-input",templateOptions:{}},{key:"acmgCodes",type:"acmg-code-array",templateOptions:{label:"ACMG/AMP Code(s)"}},{key:"phenotypes",type:"phenotype-array",templateOptions:{}},{key:"nccnGuideline",type:"nccn-guideline-input",templateOptions:{}},{key:"nccnGuidelineVersion",type:"nccn-version-input",templateOptions:{}},{key:"fdaRegulatoryApproval",type:"fda-approval-checkbox",templateOptions:{modelCallback:k=>{this.formModel.fields.fdaRegulatoryApproval=k}}},{key:"fdaCompanionTest",type:"fda-test-checkbox",templateOptions:{modelCallback:k=>{this.formModel.fields.fdaCompanionTest=k}}},{key:"summary",type:"cvc-textarea",templateOptions:{label:"Assertion Summary",helpText:"A short, one sentence summary of this new assertion",placeholder:"No description provided",required:!0}},{key:"description",type:"cvc-textarea",wrappers:["form-field"],templateOptions:{label:"Assertion Statement",helpText:"A complete, original description of this new assertion, limited to one paragraph",placeholder:"No description provided",required:!0}},{key:"evidenceItems",type:"multi-field",wrappers:["form-field","evidence-manager"],templateOptions:{label:"Evidence Items",helpText:"Evidence Items that support the assertion.",addText:"Add Evidence by ID",required:!0,eidCallback:k=>{this.formModel.fields.evidenceItems=k}},fieldArray:{type:"evidence-input",templateOptions:{required:!0}}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",helpText:"Please provide any additional comments you wish to make about this evidence item. This comment will appear as the first comment in this item's comment thread.",placeholder:"Please enter a comment describing your revision.",required:!0,minLength:10}},{key:"cancel",type:"cancel-button",templateOptions:{redirectPath:"../.."}},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Assertion Revision",submitSize:"large"}}]}]}toReviseInput(d){var R,W,H;if(d){const J=d.fields;return{id:J.id,comment:J.comment,organizationId:null===(R=J.organization)||void 0===R?void 0:R.id,fields:{description:K.xt(J.description),summary:K.xt(J.summary),variantId:J.variant[0].id,geneId:J.gene[0].id,variantOrigin:J.variantOrigin,assertionType:J.evidenceType,clinicalSignificance:J.clinicalSignificance,diseaseId:K.uP(null===(W=J.disease[0])||void 0===W?void 0:W.id),assertionDirection:J.evidenceDirection,phenotypeIds:J.phenotypes.map(w=>w.id),drugIds:J.drugs.map(w=>w.id),drugInteractionType:K.uP(J.drugInteractionType),ampLevel:K.uP(J.ampLevel),nccnGuidelineId:K.uP(null===(H=J.nccnGuideline)||void 0===H?void 0:H.id),nccnGuidelineVersion:K.xt(J.nccnGuidelineVersion),acmgCodeIds:J.acmgCodes.map(w=>w.id),fdaCompanionTest:K.uP(J.fdaCompanionTest),fdaRegulatoryApproval:K.uP(J.fdaRegulatoryApproval),evidenceItemIds:J.evidenceItems.map(w=>w.id)}}}}toFormModel(d){var R,W;return{fields:{id:d.id,description:d.description,summary:d.summary,variant:[d.variant],gene:[d.gene],variantOrigin:d.variantOrigin,evidenceType:d.assertionType,clinicalSignificance:d.clinicalSignificance,disease:[d.disease],evidenceDirection:d.assertionDirection,phenotypes:d.phenotypes,drugs:d.drugs,drugInteractionType:d.drugInteractionType,ampLevel:d.ampLevel,evidenceItems:d.evidenceItems,nccnGuideline:d.nccnGuideline,nccnGuidelineVersion:d.nccnGuidelineVersion,acmgCodes:d.acmgCodes,fdaCompanionTest:d.fdaCompanionTest,fdaRegulatoryApproval:d.regulatoryApproval,comment:null===(R=this.formModel)||void 0===R?void 0:R.fields.comment,organization:null===(W=this.formModel)||void 0===W?void 0:W.fields.organization}}}ngAfterViewInit(){this.assertionId&&this.revisableFieldsGQL.fetch({assertionId:this.assertionId}).subscribe(({data:{assertion:d}})=>{d&&(this.formModel=this.toFormModel(d),this.loading=!1)},d=>{console.error("Error retrieving assertion."),console.error(d)},()=>{this.formOptions.updateInitialValue&&this.formOptions.updateInitialValue(),this.formGroup.markAllAsTouched();const d=this.formGroup.get("fields.comment");d&&d.markAsUntouched()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return m.\u0275fac=function(d){return new(d||m)(n.Y36(c.c$m),n.Y36(Re.Y),n.Y36(c.bgg))},m.\u0275cmp=n.Xpm({type:m,selectors:[["cvc-assertion-revise-form"]],inputs:{assertionId:"assertionId"},decls:4,vars:2,consts:[[3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf"],["formMessages",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Suggested Revision Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],["routerLink","../../revisions"]],template:function(d,R){1&d&&(n.TgZ(0,"nz-spin",0),n.YNc(1,Qe,3,3,"form",1),n.YNc(2,be,2,2,"ng-template",null,2,n.W1O),n.qZA()),2&d&&(n.Q6J("nzSpinning",R.loading),n.xp6(1),n.Q6J("ngIf",R.formModel))},directives:[z.W,l.O5,f._Y,f.JL,_.Lr,f.sg,l.tP,U.T7,s.SK,_.Nx,Je.V,i.r,t.yS],styles:["[_nghost-%COMP%]{display:block}"]}),m})();const je=[{path:"",component:x,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class m{constructor(d){this.route=d,this.routeParams$=this.route.params.subscribe(R=>{this.assertionId=+R.assertionId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return m.\u0275fac=function(d){return new(d||m)(n.Y36(t.gz))},m.\u0275cmp=n.Xpm({type:m,selectors:[["cvc-assertions-suggest-page"]],decls:1,vars:1,consts:[[3,"assertionId"]],template:function(d,R){1&d&&n._UZ(0,"cvc-assertion-revise-form",0),2&d&&n.Q6J("assertionId",R.assertionId)},directives:[$e],styles:[""]}),m})(),data:{breadcrumb:"Suggest Revision"}}]}];let Xe=(()=>{class m{}return m.\u0275fac=function(d){return new(d||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[[t.Bz.forChild(je),Ve],t.Bz]}),m})();var He=e(5630),Ke=e(3309),we=e(4867),ke=e(9386);let qe=(()=>{class m{}return m.\u0275fac=function(d){return new(d||m)},m.\u0275mod=n.oAB({type:m}),m.\u0275inj=n.cJS({imports:[[l.ez,Xe,S.KJ,y.zf,v.PV,P.ZJ,y.zf,Ke.U,we.Q,He.D,re.K,O.WG,s.Jb,ke.a]]}),m})()},136:(Q,E,e)=>{e.r(E),e.d(E,{AssertionsModule:()=>_});var l=e(9808),t=e(325),a=e(3618),T=e(1945),M=e(1894),n=e(6949),c=e(6462),u=e(9441),g=e(647),y=e(5630),P=e(6042),r=e(8144),o=e(5e3);let S=(()=>{class i{}return i.\u0275fac=function(z){return new(z||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[[l.ez,n.WG,t.Bz,g.PV,a.ZJ,T.KJ,M.Jb,c.m,P.sL,r.zf,u.s,y.D]]}),i})();var v=e(9350),s=e(8992),D=e(2643),O=e(2683),$=e(3756);function Y(i,I){1&i&&(o.TgZ(0,"button",17),o._UZ(1,"i",18),o._uU(2," Submit New Assertion "),o.qZA())}function b(i,I){if(1&i&&(o.ynx(0),o.YNc(1,Y,3,0,"button",16),o.BQk()),2&i){const z=I.ngrxLet;o.xp6(1),o.Q6J("ngIf",z.signedIn)}}function Z(i,I){if(1&i&&o.YNc(0,b,2,1,"ng-container",15),2&i){const z=o.oxw();o.Q6J("ngrxLet",z.viewer$)}}function B(i,I){1&i&&(o.TgZ(0,"a",19),o._UZ(1,"i",20),o._uU(2," View Assertion Model Docs "),o.qZA())}function V(i,I){1&i&&(o.TgZ(0,"a",21),o._UZ(1,"i",20),o._uU(2," View Assertion Curation Docs "),o.qZA())}const p=[{path:"",component:(()=>{class i{constructor(){}}return i.\u0275fac=function(z){return new(z||i)},i.\u0275cmp=o.Xpm({type:i,selectors:[["app-assertions"]],decls:1,vars:0,template:function(z,U){1&z&&o._UZ(0,"router-outlet")},directives:[t.lC],styles:[""]}),i})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class i{constructor(z){this.viewerService=z,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return i.\u0275fac=function(z){return new(z||i)(o.Y36(v.a))},i.\u0275cmp=o.Xpm({type:i,selectors:[["assertions-home"]],decls:21,vars:3,consts:[[3,"actionsTpl"],["assertionActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:assertion"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/assertions.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/assertions.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Assertions"],[4,"ngrxLet"],["routerLink","/assertions/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/assertions/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/assertions.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/assertions.html","target","_blank","nzSize","small","nzBlock",""]],template:function(z,U){if(1&z&&(o._UZ(0,"cvc-section-navigation",0),o.YNc(1,Z,1,1,"ng-template",null,1,o.W1O),o.TgZ(3,"nz-page-header",2),o.TgZ(4,"nz-page-header-content"),o.TgZ(5,"nz-row",3),o.TgZ(6,"nz-col",4),o._UZ(7,"i",5),o.qZA(),o.TgZ(8,"nz-col",6),o.TgZ(9,"h2"),o._uU(10,"Assertions"),o.qZA(),o.TgZ(11,"p",7),o._uU(12,"A CIViC Assertion summarizes a collection of Evidence Items that cover predictive/therapeutic, diagnostic, prognostic or predisposing clinical information for a variant in a specific cancer context."),o.qZA(),o.qZA(),o.TgZ(13,"nz-col",8),o.TgZ(14,"nz-space",9),o.YNc(15,B,3,0,"a",10),o.YNc(16,V,3,0,"a",11),o.qZA(),o.qZA(),o.qZA(),o.TgZ(17,"nz-row"),o.TgZ(18,"nz-col",12),o.TgZ(19,"div",13),o._UZ(20,"cvc-assertions-table",14),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&z){const j=o.MAs(2);o.Q6J("actionsTpl",j),o.xp6(11),o.Q6J("nzEllipsisRows",2),o.xp6(7),o.Q6J("nzSpan",24)}},directives:[s.I,n.eJ,l.O5,P.ix,D.dQ,t.rH,O.w,g.Ls,T.$O,T.u5,M.SK,M.t3,a.ZU,r.NU,r.$1,$.x],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),i})(),data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>e.e(4456).then(e.bind(e,4456)).then(i=>i.AssertionAddModule),data:{breadcrumb:"Add"}},{path:":assertionId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([e.e(6724),e.e(55),e.e(9716),e.e(5291),e.e(2043),e.e(4355),e.e(775),e.e(3438)]).then(e.bind(e,3438)).then(i=>i.AssertionsDetailModule)},{path:"revise",loadChildren:()=>Promise.resolve().then(e.bind(e,5878)).then(i=>i.AssertionsReviseModule),data:{breadcrumb:"Revise"}}]}]},{path:"revise",loadChildren:()=>e.e(4456).then(e.bind(e,4456)).then(i=>i.AssertionAddModule)}];let f=(()=>{class i{}return i.\u0275fac=function(z){return new(z||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[[t.Bz.forChild(p),S],t.Bz]}),i})();var A=e(5878);let _=(()=>{class i{}return i.\u0275fac=function(z){return new(z||i)},i.\u0275mod=o.oAB({type:i}),i.\u0275inj=o.cJS({imports:[[l.ez,f,A.AssertionsReviseModule]]}),i})()},6462:(Q,E,e)=>{e.d(E,{i:()=>B,m:()=>V});var l=e(655),t=e(1159),a=e(5e3),T=e(4182),M=e(8929),n=e(3753),c=e(7625),u=e(9439),g=e(1721),y=e(5664),P=e(226),r=e(2643),o=e(9808),S=e(647),v=e(969);const s=["switchElement"];function D(x,N){1&x&&a._UZ(0,"i",8)}function O(x,N){if(1&x&&(a.ynx(0),a._uU(1),a.BQk()),2&x){const p=a.oxw(2);a.xp6(1),a.Oqu(p.nzCheckedChildren)}}function $(x,N){if(1&x&&(a.ynx(0),a.YNc(1,O,2,1,"ng-container",9),a.BQk()),2&x){const p=a.oxw();a.xp6(1),a.Q6J("nzStringTemplateOutlet",p.nzCheckedChildren)}}function Y(x,N){if(1&x&&(a.ynx(0),a._uU(1),a.BQk()),2&x){const p=a.oxw(2);a.xp6(1),a.Oqu(p.nzUnCheckedChildren)}}function b(x,N){if(1&x&&a.YNc(0,Y,2,1,"ng-container",9),2&x){const p=a.oxw();a.Q6J("nzStringTemplateOutlet",p.nzUnCheckedChildren)}}let B=(()=>{class x{constructor(p,f,A,_,i,I){this.nzConfigService=p,this.host=f,this.ngZone=A,this.cdr=_,this.focusMonitor=i,this.directionality=I,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.dir="ltr",this.destroy$=new M.xQ}updateValue(p){this.isChecked!==p&&(this.isChecked=p,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,c.R)(this.destroy$)).subscribe(p=>{this.dir=p,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,n.R)(this.host.nativeElement,"click").pipe((0,c.R)(this.destroy$)).subscribe(p=>{p.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,n.R)(this.switchElement.nativeElement,"keydown").pipe((0,c.R)(this.destroy$)).subscribe(p=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:f}=p;f!==t.oh&&f!==t.SV&&f!==t.L_&&f!==t.K5||(p.preventDefault(),this.ngZone.run(()=>{f===t.oh?this.updateValue(!1):f===t.SV?this.updateValue(!0):(f===t.L_||f===t.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,c.R)(this.destroy$)).subscribe(p=>{p||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(p){this.isChecked=p,this.cdr.markForCheck()}registerOnChange(p){this.onChange=p}registerOnTouched(p){this.onTouched=p}setDisabledState(p){this.nzDisabled=p,this.cdr.markForCheck()}}return x.\u0275fac=function(p){return new(p||x)(a.Y36(u.jY),a.Y36(a.SBq),a.Y36(a.R0b),a.Y36(a.sBO),a.Y36(y.tE),a.Y36(P.Is,8))},x.\u0275cmp=a.Xpm({type:x,selectors:[["nz-switch"]],viewQuery:function(p,f){if(1&p&&a.Gf(s,7),2&p){let A;a.iGM(A=a.CRH())&&(f.switchElement=A.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize"},exportAs:["nzSwitch"],features:[a._Bn([{provide:T.JU,useExisting:(0,a.Gpc)(()=>x),multi:!0}])],decls:9,vars:15,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(p,f){if(1&p&&(a.TgZ(0,"button",0,1),a.TgZ(2,"span",2),a.YNc(3,D,1,0,"i",3),a.qZA(),a.TgZ(4,"span",4),a.YNc(5,$,2,1,"ng-container",5),a.YNc(6,b,1,1,"ng-template",null,6,a.W1O),a.qZA(),a._UZ(8,"div",7),a.qZA()),2&p){const A=a.MAs(7);a.ekj("ant-switch-checked",f.isChecked)("ant-switch-loading",f.nzLoading)("ant-switch-disabled",f.nzDisabled)("ant-switch-small","small"===f.nzSize)("ant-switch-rtl","rtl"===f.dir),a.Q6J("disabled",f.nzDisabled)("nzWaveExtraNode",!0),a.xp6(3),a.Q6J("ngIf",f.nzLoading),a.xp6(2),a.Q6J("ngIf",f.isChecked)("ngIfElse",A)}},directives:[r.dQ,o.O5,S.Ls,v.f],encapsulation:2,changeDetection:0}),(0,l.gn)([(0,g.yF)()],x.prototype,"nzLoading",void 0),(0,l.gn)([(0,g.yF)()],x.prototype,"nzDisabled",void 0),(0,l.gn)([(0,g.yF)()],x.prototype,"nzControl",void 0),(0,l.gn)([(0,u.oS)()],x.prototype,"nzSize",void 0),x})(),V=(()=>{class x{}return x.\u0275fac=function(p){return new(p||x)},x.\u0275mod=a.oAB({type:x}),x.\u0275inj=a.cJS({imports:[[P.vT,o.ez,r.vG,S.PV,v.T]]}),x})()}}]);
\ No newline at end of file
diff --git a/server/public/4233.113cf0343a1183bf.js b/server/public/4233.113cf0343a1183bf.js
new file mode 100644
index 000000000..c83d5378c
--- /dev/null
+++ b/server/public/4233.113cf0343a1183bf.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4233],{3580:(V,m,t)=>{t.d(m,{Q:()=>y});var l=t(9808),n=t(325),o=t(8481),c=t(3610),p=t(647),v=t(7484),z=t(3098),M=t(3630),O=t(6949),u=t(3618),h=t(9444),x=t(5e3);let C=(()=>{class s{}return s.\u0275fac=function(T){return new(T||s)},s.\u0275mod=x.oAB({type:s}),s.\u0275inj=x.cJS({imports:[[l.ez,O.WG,v.vh,z.q6,p.PV,u.ZJ,h.s,M.X]]}),s})(),y=(()=>{class s{}return s.\u0275fac=function(T){return new(T||s)},s.\u0275mod=x.oAB({type:s}),s.\u0275inj=x.cJS({imports:[[l.ez,n.Bz,o.X,c.$6,p.PV,h.s,C]]}),s})()},8018:(V,m,t)=>{t.d(m,{e:()=>s});var l=t(9808),n=t(325),o=t(8481),c=t(3610),p=t(647),v=t(7484),z=t(3098),M=t(6949),O=t(3630),u=t(3618),h=t(9444),x=t(404),C=t(5e3);let y=(()=>{class i{}return i.\u0275fac=function(Z){return new(Z||i)},i.\u0275mod=C.oAB({type:i}),i.\u0275inj=C.cJS({imports:[[l.ez,n.Bz,M.WG,v.vh,z.q6,p.PV,u.ZJ,o.X,x.cg,O.X,h.s]]}),i})(),s=(()=>{class i{}return i.\u0275fac=function(Z){return new(Z||i)},i.\u0275mod=C.oAB({type:i}),i.\u0275inj=C.cJS({imports:[[l.ez,n.Bz,o.X,c.$6,p.PV,h.s,y]]}),i})()},9476:(V,m,t)=>{t.d(m,{L:()=>y});var l=t(9808),n=t(325),o=t(8481),c=t(647),p=t(1894),v=t(3630),z=t(3098),M=t(7484),O=t(6949),u=t(5473),h=t(5e3);let x=(()=>{class s{}return s.\u0275fac=function(T){return new(T||s)},s.\u0275mod=h.oAB({type:s}),s.\u0275inj=h.cJS({imports:[[l.ez,O.WG,M.vh,p.Jb,z.q6,v.X,u.H]]}),s})();var C=t(3610);let y=(()=>{class s{}return s.\u0275fac=function(T){return new(T||s)},s.\u0275mod=h.oAB({type:s}),s.\u0275inj=h.cJS({imports:[[l.ez,n.Bz,o.X,c.PV,C.$6,x]]}),s})()},6715:(V,m,t)=>{t.d(m,{$:()=>o});var l=t(5e3);const n=["*"];let o=(()=>{class c{constructor(){}ngOnInit(){}}return c.\u0275fac=function(v){return new(v||c)},c.\u0275cmp=l.Xpm({type:c,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(v,z){2&v&&l.ekj("xs","xs"===z.size||!z.size)("sm","sm"===z.size)},inputs:{size:"size"},ngContentSelectors:n,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(v,z){1&v&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"]}),c})()},897:(V,m,t)=>{t.d(m,{$:()=>o});var l=t(9808),n=t(5e3);let o=(()=>{class c{}return c.\u0275fac=function(v){return new(v||c)},c.\u0275mod=n.oAB({type:c}),c.\u0275inj=n.cJS({imports:[[l.ez]]}),c})()},7946:(V,m,t)=>{t.d(m,{x:()=>O});var l=t(9808),n=t(897),o=t(8481),c=t(3610),p=t(8018),v=t(3580),z=t(9476),M=t(5e3);let O=(()=>{class u{}return u.\u0275fac=function(x){return new(x||u)},u.\u0275mod=M.oAB({type:u}),u.\u0275inj=M.cJS({imports:[[l.ez,o.X,c.$6,n.$,p.e,v.Q,z.L]]}),u})()},8664:(V,m,t)=>{t.d(m,{I:()=>$});var l=t(6654),n=t(5e3),o=t(9808),c=t(325),p=t(8481),v=t(3610),z=t(4850),M=t(712),O=t(7484),u=t(647),h=t(3193),x=t(3098),C=t(6550),y=t(1894),s=t(8144),i=t(6949);function T(a,g){if(1&a&&(n._UZ(0,"i",13),n._uU(1)),2&a){const e=n.oxw().ngIf;n.xp6(1),n.hij(" ",e.name," ")}}function Z(a,g){if(1&a&&n._UZ(0,"cvc-gene-tag",14),2&a){const e=n.oxw().ngIf;n.Q6J("enablePopover",!1)("gene",e.gene)}}function _(a,g){if(1&a&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&a){const e=g.$implicit;n.xp6(1),n.Oqu(e)}}function I(a,g){if(1&a&&(n.TgZ(0,"nz-descriptions-item",15),n.YNc(1,_,2,1,"nz-tag",16),n.qZA()),2&a){const e=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",e.variantAliases)}}function E(a,g){if(1&a&&(n.TgZ(0,"nz-descriptions-item",17),n.TgZ(1,"cvc-link-tag",18),n._uU(2),n.qZA(),n.qZA()),2&a){const e=n.oxw().ngIf;n.xp6(1),n.MGl("href","https://reg.genome.network/allele/",e.alleleRegistryId,".html"),n.xp6(1),n.hij(" ",e.alleleRegistryId," ")}}function D(a,g){if(1&a&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",20),n._UZ(2,"i",21),n._uU(3),n.qZA(),n.qZA()),2&a){const e=n.oxw().ngIf;n.MGl("routerLink","/variants/",e.id,"/flags"),n.xp6(3),n.hij(" Flags (",e.flags.totalCount,") ")}}function U(a,g){if(1&a&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",22),n._UZ(2,"i",23),n._uU(3),n.qZA(),n.qZA()),2&a){const e=n.oxw().ngIf;n.MGl("routerLink","/variants/",e.id,"/revisions"),n.xp6(3),n.hij(" Revisions (",e.revisions.totalCount,") ")}}function B(a,g){if(1&a&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",24),n._UZ(2,"i",25),n._uU(3),n.qZA(),n.qZA()),2&a){const e=n.oxw().ngIf;n.MGl("routerLink","/variants/",e.id,"/comments"),n.xp6(3),n.hij(" Comments (",e.comments.totalCount,") ")}}function J(a,g){if(1&a&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,T,2,1,"ng-template",null,3,n.W1O),n.YNc(4,Z,1,2,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-descriptions",5),n.YNc(7,I,2,1,"nz-descriptions-item",6),n.YNc(8,E,3,2,"nz-descriptions-item",7),n.TgZ(9,"nz-descriptions-item",8),n._uU(10),n.qZA(),n.qZA(),n.TgZ(11,"nz-row",9),n.TgZ(12,"nz-col",10),n.TgZ(13,"nz-space",11),n.YNc(14,D,4,2,"a",12),n.YNc(15,U,4,2,"a",12),n.YNc(16,B,4,2,"a",12),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&a){const e=g.ngIf,P=n.MAs(3),A=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",P)("nzExtra",A),n.xp6(5),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",e.variantAliases.length>0),n.xp6(1),n.Q6J("ngIf",e.alleleRegistryId),n.xp6(2),n.hij(" ",e.evidenceItems.totalCount," ")}}let S=(()=>{class a{constructor(e){this.gql=e}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,z.U)(({data:e})=>e.variant))}}return a.\u0275fac=function(e){return new(e||a)(n.Y36(M.ZYZ))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(e,P){1&e&&(n.TgZ(0,"div",0),n.YNc(1,J,17,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,P.variant$)))},directives:[o.O5,O.bd,u.Ls,h.H,x.R7,x.uj,o.sg,p.j,C.l,y.SK,y.t3,s.NU,s.$1,c.yS],pipes:[i.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),a})();function L(a,g){}function N(a,g){if(1&a&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,L,0,0,"ng-template",6),n.qZA(),n.BQk()),2&a){const e=n.oxw(),P=n.MAs(2);n.xp6(1),n.Q6J("routerLink",e.variant.link),n.xp6(1),n.Q6J("ngTemplateOutlet",P)}}function Q(a,g){}function H(a,g){if(1&a){const e=n.EpF();n.TgZ(0,"nz-tag",9),n.NdJ("nzOnClose",function(A){return n.CHM(e),n.oxw(2).itemClosed(A)}),n.YNc(1,Q,0,0,"ng-template",6),n.qZA()}if(2&a){n.oxw();const e=n.MAs(2),P=n.oxw(),A=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",P.onCloseClicked?0:.5)("nzPopoverContent",e)("nzMode",P.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",A)}}function Y(a,g){if(1&a&&n._UZ(0,"cvc-variant-popover",11),2&a){const e=n.oxw(3);n.Q6J("variantId",e.variant.id)}}function F(a,g){if(1&a&&n.YNc(0,Y,1,1,"cvc-variant-popover",10),2&a){const e=n.oxw(2);n.Q6J("ngIf",e.enablePopover)}}function R(a,g){if(1&a&&(n.YNc(0,H,2,4,"nz-tag",7),n.YNc(1,F,1,1,"ng-template",null,8,n.W1O)),2&a){const e=n.oxw(),P=n.MAs(4);n.Q6J("ngIf",e.enablePopover)("ngIfElse",P)}}function r(a,g){}function f(a,g){if(1&a){const e=n.EpF();n.TgZ(0,"nz-tag",12),n.NdJ("nzOnClose",function(A){return n.CHM(e),n.oxw().itemClosed(A)}),n.YNc(1,r,0,0,"ng-template",6),n.qZA()}if(2&a){const e=n.oxw(),P=n.MAs(8);n.Q6J("nzMode",e.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",P)}}function d(a,g){}function W(a,g){if(1&a&&n.YNc(0,d,0,0,"ng-template",6),2&a){n.oxw();const e=n.MAs(2);n.Q6J("ngTemplateOutlet",e)}}function j(a,g){if(1&a&&(n._UZ(0,"i",13),n._uU(1)),2&a){const e=n.oxw();n.xp6(1),n.hij(" ",e.variant.name,"\n")}}let $=(()=>{class a extends l.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return a.\u0275fac=function(e){return new(e||a)},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(e,P){if(1&e&&(n.YNc(0,N,3,2,"ng-container",0),n.YNc(1,R,3,2,"ng-template",null,1,n.W1O),n.YNc(3,f,2,2,"ng-template",null,2,n.W1O),n.YNc(5,W,1,1,"ng-template",null,3,n.W1O),n.YNc(7,j,2,1,"ng-template",null,4,n.W1O)),2&e){const A=n.MAs(6);n.Q6J("ngIf",P.linked)("ngIfElse",A)}},directives:[o.O5,c.yS,o.tP,p.j,v.lU,S,u.Ls],styles:[""]}),a})()},4867:(V,m,t)=>{t.d(m,{Q:()=>s});var l=t(9808),n=t(325),o=t(8481),c=t(647),p=t(3610),v=t(6949),z=t(7484),M=t(1894),O=t(3098),u=t(8144),h=t(3309),x=t(3630),C=t(5e3);let y=(()=>{class i{}return i.\u0275fac=function(Z){return new(Z||i)},i.\u0275mod=C.oAB({type:i}),i.\u0275inj=C.cJS({imports:[[l.ez,n.Bz,v.WG,z.vh,M.Jb,O.q6,o.X,c.PV,u.zf,h.U,x.X]]}),i})(),s=(()=>{class i{}return i.\u0275fac=function(Z){return new(Z||i)},i.\u0275mod=C.oAB({type:i}),i.\u0275inj=C.cJS({imports:[[l.ez,n.Bz,o.X,p.$6,c.PV,y]]}),i})()},3154:(V,m,t)=>{t.d(m,{_:()=>n});var l=t(712);function n(o){var c;switch(o.value){case"ascend":c=l.SrV.Asc;break;case"descend":c=l.SrV.Desc;break;default:return}return{column:o.key,direction:c}}},9221:(V,m,t)=>{t.r(m),t.d(m,{VariantsModule:()=>R});var l=t(9808),n=t(325),o=t(5e3);let c=(()=>{class r{constructor(){}}return r.\u0275fac=function(d){return new(d||r)},r.\u0275cmp=o.Xpm({type:r,selectors:[["app-variants"]],decls:1,vars:0,template:function(d,W){1&d&&o._UZ(0,"router-outlet")},directives:[n.lC],styles:[""]}),r})();var p=t(5630),v=t(1945),z=t(1894),M=t(647),O=t(3855),u=t(3309),h=t(3618),x=t(6042),C=t(8144),y=t(6949),s=t(3610),i=t(7058);let T=(()=>{class r{}return r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=o.oAB({type:r}),r.\u0275inj=o.cJS({imports:[[l.ez,n.Bz,y.WG,v.KJ,z.Jb,M.PV,h.ZJ,x.sL,C.zf,s.$6,p.D,u.U,O.H,p.D,i.e]]}),r})();var Z=t(9350),_=t(8992),I=t(2643),E=t(2683),D=t(3434),U=t(6410);function B(r,f){1&r&&(o.TgZ(0,"div",20),o._UZ(1,"cvc-variant-submit-form"),o.qZA())}function J(r,f){if(1&r&&(o.TgZ(0,"button",17),o._UZ(1,"i",18),o._uU(2," Submit New Variant "),o.YNc(3,B,2,0,"ng-template",null,19,o.W1O),o.qZA()),2&r){const d=o.MAs(4);o.Q6J("nzPopoverContent",d)}}function S(r,f){if(1&r&&(o.ynx(0),o.YNc(1,J,5,1,"button",16),o.BQk()),2&r){const d=f.ngrxLet;o.xp6(1),o.Q6J("ngIf",d.isEditor)}}function L(r,f){if(1&r&&o.YNc(0,S,2,1,"ng-container",15),2&r){const d=o.oxw();o.Q6J("ngrxLet",d.viewer$)}}function N(r,f){1&r&&(o.TgZ(0,"a",21),o._UZ(1,"i",22),o._uU(2," View Variant Model Docs "),o.qZA())}function Q(r,f){1&r&&(o.TgZ(0,"a",23),o._UZ(1,"i",22),o._uU(2," View Variant Curation Docs "),o.qZA())}const Y=[{path:"",component:c,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class r{constructor(d){this.viewerService=d,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return r.\u0275fac=function(d){return new(d||r)(o.Y36(Z.a))},r.\u0275cmp=o.Xpm({type:r,selectors:[["variants-home"]],decls:21,vars:3,consts:[[3,"actionsTpl"],["variantActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:variant"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variants"],[4,"ngrxLet"],["routerLink","/variants/add/submit","nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Add New Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent",4,"ngIf"],["routerLink","/variants/add/submit","nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Add New Variant","nzPopoverTrigger","click","nzPopoverPlacement","bottomRight",3,"nzPopoverContent"],["nz-icon","","nzType","plus-circle"],["addVariantForm",""],[1,"addVariant"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock",""]],template:function(d,W){if(1&d&&(o._UZ(0,"cvc-section-navigation",0),o.YNc(1,L,1,1,"ng-template",null,1,o.W1O),o.TgZ(3,"nz-page-header",2),o.TgZ(4,"nz-page-header-content"),o.TgZ(5,"nz-row",3),o.TgZ(6,"nz-col",4),o._UZ(7,"i",5),o.qZA(),o.TgZ(8,"nz-col",6),o.TgZ(9,"h2"),o._uU(10,"Variants"),o.qZA(),o.TgZ(11,"p",7),o._uU(12,'CIViC variants are usually genomic alterations, including single nucleotide variants, insertion/deletion events, copy number alterations, structural variants, and other events that differ from the "normal" genome.'),o.qZA(),o.qZA(),o.TgZ(13,"nz-col",8),o.TgZ(14,"nz-space",9),o.YNc(15,N,3,0,"a",10),o.YNc(16,Q,3,0,"a",11),o.qZA(),o.qZA(),o.qZA(),o.TgZ(17,"nz-row"),o.TgZ(18,"nz-col",12),o.TgZ(19,"div",13),o._UZ(20,"cvc-variants-table",14),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.qZA()),2&d){const j=o.MAs(2);o.Q6J("actionsTpl",j),o.xp6(11),o.Q6J("nzEllipsisRows",2),o.xp6(7),o.Q6J("nzSpan",24)}},directives:[_.I,y.eJ,l.O5,x.ix,I.dQ,n.rH,E.w,s.lU,M.Ls,D.G,v.$O,v.u5,z.SK,z.t3,h.ZU,C.NU,C.$1,U.S],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}.addVariant[_ngcontent-%COMP%]{width:500px}"]}),r})(),data:{breadcrumb:"Home"}},{path:":variantId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([t.e(6256),t.e(9001),t.e(2826),t.e(305),t.e(6724),t.e(55),t.e(9716),t.e(3883),t.e(5291),t.e(2043),t.e(4355),t.e(4028),t.e(9286)]).then(t.bind(t,1485)).then(r=>r.VariantsDetailModule)},{path:"revise",loadChildren:()=>Promise.all([t.e(6256),t.e(4184),t.e(8533),t.e(7012)]).then(t.bind(t,7012)).then(r=>r.VariantsReviseModule),data:{breadcrumb:"Revise"}}]}]}];let F=(()=>{class r{}return r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=o.oAB({type:r}),r.\u0275inj=o.cJS({imports:[[n.Bz.forChild(Y),T],n.Bz]}),r})(),R=(()=>{class r{}return r.\u0275fac=function(d){return new(d||r)},r.\u0275mod=o.oAB({type:r}),r.\u0275inj=o.cJS({imports:[[l.ez,F]]}),r})()}}]);
\ No newline at end of file
diff --git a/server/public/4276.bc012717d8d8d96c.js b/server/public/4276.bc012717d8d8d96c.js
deleted file mode 100644
index 03e591197..000000000
--- a/server/public/4276.bc012717d8d8d96c.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4276],{5749:(E,h,e)=>{e.d(h,{m:()=>L});var n=e(5e3),u=e(9808),t=e(325),r=e(8481),d=e(3610),f=e(4850),y=e(712),z=e(7484),O=e(7881),M=e(1894),v=e(3098),P=e(6550),C=e(6949);const x=function(a,m){return{displayName:a,profileImagePath:m}};function A(a,m){if(1&a&&(n._UZ(0,"cvc-user-avatar",12),n.TgZ(1,"span",13),n._uU(2),n.qZA()),2&a){const s=n.oxw().ngIf;n.Q6J("user",n.WLB(2,x,s.name,s.profileImagePath)),n.xp6(2),n.Oqu(s.name)}}function S(a,m){if(1&a&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&a){const s=m.ngIf;n.xp6(1),n.Oqu(s)}}function b(a,m){if(1&a&&(n.ynx(0),n.TgZ(1,"cvc-link-tag",14),n._uU(2),n.qZA(),n.BQk()),2&a){const s=n.oxw().ngIf;n.xp6(1),n.Q6J("href",s.url),n.xp6(1),n.hij(" ",s.name," ")}}function B(a,m){if(1&a&&(n.ynx(0),n.TgZ(1,"nz-card",4),n.YNc(2,A,3,5,"ng-template",null,5,n.W1O),n.TgZ(4,"nz-row"),n.TgZ(5,"nz-col",6),n.TgZ(6,"div",7),n.TgZ(7,"p",8),n.YNc(8,S,2,1,"span",9),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(9,"nz-descriptions",10),n.TgZ(10,"nz-descriptions-item",11),n.YNc(11,b,3,2,"ng-container",9),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&a){const s=m.ngIf,Z=n.MAs(3);n.oxw();const w=n.MAs(4),W=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",Z),n.xp6(7),n.Q6J("ngIf",s.description)("ngIfElse",w),n.xp6(1),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",s.url)("ngIfElse",W)}}function I(a,m){1&a&&n._uU(0," Organization has not provided a description.\n")}function D(a,m){1&a&&n._uU(0," --\n")}let Q=(()=>{class a{constructor(s){this.gql=s}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,f.U)(({data:s})=>s.organization))}}return a.\u0275fac=function(s){return new(s||a)(n.Y36(y.X5f))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(s,Z){1&s&&(n.TgZ(0,"div",0),n.YNc(1,B,12,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,I,1,0,"ng-template",null,2,n.W1O),n.YNc(5,D,1,0,"ng-template",null,3,n.W1O)),2&s&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,Z.org$)))},directives:[u.O5,z.bd,O.L,M.SK,M.t3,v.R7,v.uj,P.l],pipes:[C.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),a})();var c=e(647);function o(a,m){}function i(a,m){if(1&a&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,o,0,0,"ng-template",6),n.qZA(),n.BQk()),2&a){const s=n.oxw(),Z=n.MAs(2);n.xp6(1),n.MGl("routerLink","/organizations/",s.org.id,""),n.xp6(1),n.Q6J("ngTemplateOutlet",Z)}}function p(a,m){}function l(a,m){if(1&a&&n._UZ(0,"cvc-organization-popover",10),2&a){const s=n.oxw(3);n.Q6J("orgId",s.org.id)}}function T(a,m){if(1&a&&n.YNc(0,l,1,1,"cvc-organization-popover",9),2&a){const s=n.oxw(2);n.Q6J("ngIf",s.enablePopover)}}function g(a,m){if(1&a&&(n.TgZ(0,"nz-tag",7),n.YNc(1,p,0,0,"ng-template",6),n.qZA(),n.YNc(2,T,1,1,"ng-template",null,8,n.W1O)),2&a){const s=n.MAs(3);n.oxw();const Z=n.MAs(8);n.Q6J("nzPopoverContent",s),n.xp6(1),n.Q6J("ngTemplateOutlet",Z)}}function _(a,m){}function U(a,m){if(1&a&&(n.TgZ(0,"nz-tag"),n.YNc(1,_,0,0,"ng-template",6),n.qZA()),2&a){n.oxw();const s=n.MAs(8);n.xp6(1),n.Q6J("ngTemplateOutlet",s)}}function J(a,m){}function R(a,m){if(1&a&&n.YNc(0,J,0,0,"ng-template",6),2&a){n.oxw();const s=n.MAs(2);n.Q6J("ngTemplateOutlet",s)}}function F(a,m){if(1&a&&(n._UZ(0,"i",11),n._uU(1)),2&a){const s=n.oxw();n.xp6(1),n.hij(" ",s.org.name,"\n")}}let L=(()=>{class a{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return a.\u0275fac=function(s){return new(s||a)},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(s,Z){if(1&s&&(n.YNc(0,i,3,2,"ng-container",0),n.YNc(1,g,4,2,"ng-template",null,1,n.W1O),n.YNc(3,U,2,1,"ng-template",null,2,n.W1O),n.YNc(5,R,1,1,"ng-template",null,3,n.W1O),n.YNc(7,F,2,1,"ng-template",null,4,n.W1O)),2&s){const w=n.MAs(6);n.Q6J("ngIf",Z.linked)("ngIfElse",w)}},directives:[u.O5,t.yS,u.tP,r.j,d.lU,Q,c.Ls],styles:["[_nghost-%COMP%]{display:inline-block}"]}),a})()},9180:(E,h,e)=>{e.d(h,{Z:()=>t});var n=e(5e3);const u=["*"];let t=(()=>{class r{constructor(){}ngOnInit(){}}return r.\u0275fac=function(f){return new(f||r)},r.\u0275cmp=n.Xpm({type:r,selectors:[["cvc-form-buttons"]],ngContentSelectors:u,decls:2,vars:0,consts:[[1,"form-buttons"]],template:function(f,y){1&f&&(n.F$t(),n.TgZ(0,"div",0),n.Hsn(1),n.qZA())},styles:["[_nghost-%COMP%]{display:block}.form-buttons[_ngcontent-%COMP%]{text-align:right}"]}),r})()},4375:(E,h,e)=>{e.d(h,{R:()=>t});var n=e(9808),u=e(5e3);let t=(()=>{class r{}return r.\u0275fac=function(f){return new(f||r)},r.\u0275mod=u.oAB({type:r}),r.\u0275inj=u.cJS({imports:[[n.ez]]}),r})()},8227:(E,h,e)=>{e.d(h,{q:()=>p});var n=e(5e3),u=e(8929),t=e(4850),r=e(373),d=e(2868),f=e(7625),y=e(1793),z=e(9350),O=e(9808),M=e(6042),v=e(2683),P=e(2643),C=e(3677),x=e(8144),A=e(6699),S=e(4219);function b(l,T){1&l&&n.Hsn(0)}function B(l,T){1&l&&n.GkF(0)}function I(l,T){if(1&l&&(n.ynx(0),n.YNc(1,B,1,0,"ng-container",5),n.BQk()),2&l){n.oxw(2);const g=n.MAs(1);n.xp6(1),n.Q6J("ngTemplateOutlet",g)}}function D(l,T){1&l&&n.GkF(0)}function Q(l,T){if(1&l&&(n.ynx(0),n.TgZ(1,"nz-button-group",6),n.YNc(2,D,1,0,"ng-container",5),n.TgZ(3,"button",7),n.TgZ(4,"nz-space",8),n.TgZ(5,"span"),n._uU(6,"for"),n.qZA(),n._UZ(7,"nz-avatar",9),n._UZ(8,"i",10),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&l){n.oxw();const g=n.MAs(4),_=n.oxw(),U=n.MAs(1);n.xp6(1),n.Q6J("nzSize",_.nzSize),n.xp6(1),n.Q6J("ngTemplateOutlet",U),n.xp6(1),n.Q6J("nzType",_.buttonType)("nzDanger",_.nzDanger)("disabled",_.disabled)("nzDropdownMenu",g),n.xp6(1),n.Q6J("nzSize",4),n.xp6(3),n.Q6J("nzSrc",null==_.selectedOrg?null:_.selectedOrg.profileImagePath)("nzSize",10)("nzShape","square")}}function c(l,T){if(1&l){const g=n.EpF();n.TgZ(0,"li",11),n.NdJ("click",function(){const J=n.CHM(g).$implicit;return n.oxw(2).selectOrg(J)}),n._UZ(1,"nz-avatar",12),n._uU(2),n.qZA()}if(2&l){const g=T.$implicit,_=n.oxw(2);n.Q6J("nzSelected",(null==_.selectedOrg?null:_.selectedOrg.id)===g.id),n.xp6(1),n.Q6J("nzSrc",null==g?null:g.profileImagePath)("nzSize",10)("nzShape","square"),n.xp6(1),n.hij(" ",g.name," ")}}function o(l,T){if(1&l&&(n.ynx(0),n.YNc(1,I,2,1,"ng-container",1),n.YNc(2,Q,9,10,"ng-container",1),n.TgZ(3,"nz-dropdown-menu",null,2),n.TgZ(5,"ul",3),n.YNc(6,c,3,5,"li",4),n.qZA(),n.qZA(),n.BQk()),2&l){const g=T.ngIf;n.xp6(1),n.Q6J("ngIf",g.length<=1),n.xp6(1),n.Q6J("ngIf",g.length>1),n.xp6(4),n.Q6J("ngForOf",g)}}const i=["*"];let p=(()=>{class l{constructor(g){this.viewerService=g,this.selectedOrgChange=new n.vpe,this.buttonType="primary",this.nzDanger=!1,this.nzSize="small",this.destroy$=new u.xQ}get disabled(){return this.button.disabled}selectOrg(g){this.selectedOrg=g,this.selectedOrgChange.emit(g)}refreshViewer(){setTimeout(()=>{this.viewerService.refetch()},2500)}ngOnInit(){this.organizations$=this.viewerService.viewer$.pipe((0,t.U)(g=>g.organizations)),this.mostRecentOrg$=this.viewerService.viewer$.pipe((0,r.j)("mostRecentOrg"),(0,d.b)(g=>{g&&(this.selectedOrg=g,this.selectedOrgChange.emit(g))})),this.mostRecentOrg$.pipe((0,f.R)(this.destroy$)).subscribe()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return l.\u0275fac=function(g){return new(g||l)(n.Y36(z.a))},l.\u0275cmp=n.Xpm({type:l,selectors:[["cvc-org-selector-btn-group"]],contentQueries:function(g,_,U){if(1&g&&n.Suo(U,y.m,5),2&g){let J;n.iGM(J=n.CRH())&&(_.button=J.first)}},inputs:{selectedOrg:"selectedOrg",buttonType:"buttonType",nzDanger:"nzDanger",nzSize:"nzSize"},outputs:{selectedOrgChange:"selectedOrgChange"},ngContentSelectors:i,decls:4,vars:3,consts:[["submitButton",""],[4,"ngIf"],["orgMenu","nzDropdownMenu"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf"],[4,"ngTemplateOutlet"],[3,"nzSize"],["type","button","nz-button","","nz-dropdown","",1,"org-dropdown-btn",3,"nzType","nzDanger","disabled","nzDropdownMenu"],["nzDirection","horizontal",3,"nzSize"],[3,"nzSrc","nzSize","nzShape"],["nz-icon","","nzType","down"],["nz-menu-item","",3,"nzSelected","click"],[2,"background-color","#f0f5ff",3,"nzSrc","nzSize","nzShape"]],template:function(g,_){1&g&&(n.F$t(),n.YNc(0,b,1,0,"ng-template",null,0,n.W1O),n.YNc(2,o,7,3,"ng-container",1),n.ALo(3,"async")),2&g&&(n.xp6(2),n.Q6J("ngIf",n.lcZ(3,1,_.organizations$)))},directives:[O.O5,O.tP,M.fY,v.w,M.ix,P.dQ,C.wA,C.cm,x.NU,A.Dz,C.RR,S.wO,O.sg,S.r9],pipes:[O.Ov],styles:["[_nghost-%COMP%]{display:inline-block}.org-dropdown-btn[_ngcontent-%COMP%] nz-avatar[_ngcontent-%COMP%]{margin:0 6px}"]}),l})()},1825:(E,h,e)=>{e.d(h,{A:()=>y});var n=e(9808),u=e(6042),t=e(6699),r=e(3677),d=e(8144),f=e(5e3);let y=(()=>{class z{}return z.\u0275fac=function(M){return new(M||z)},z.\u0275mod=f.oAB({type:z}),z.\u0275inj=f.cJS({imports:[[n.ez,u.sL,t.Rt,r.b1,d.zf]]}),z})()},1793:(E,h,e)=>{e.d(h,{m:()=>u});var n=e(5e3);let u=(()=>{class t{constructor(d){this.el=d,this.observer=new MutationObserver(([f])=>this.disabled=f.target.disabled),this.observer.observe(this.el.nativeElement,{attributeFilter:["disabled"],childList:!1,subtree:!1})}ngOnDestroy(){this.observer.disconnect()}}return t.\u0275fac=function(d){return new(d||t)(n.Y36(n.SBq))},t.\u0275dir=n.lG2({type:t,selectors:[["button","cvcOrgSelectorBtn",""]],hostVars:2,hostBindings:function(d,f){2&d&&n.ekj("ant-btn-dangerous",f.nzDanger)}}),t})()},4623:(E,h,e)=>{e.d(h,{K:()=>M});var n=e(9808),u=e(8776),t=e(5e3),r=e(1047),d=e(4182);const y={name:"comment-textarea",component:(()=>{class v extends u.fS{constructor(){super(...arguments),this.defaultOptions={defaultValue:"",validation:{messages:{minlength:(C,x)=>{var A;return`Comments must be at least ${null===(A=x.templateOptions)||void 0===A?void 0:A.minLength} characters in length.`}}},templateOptions:{rows:4}}}}return v.\u0275fac=function(){let P;return function(x){return(P||(P=t.n5z(v)))(x||v)}}(),v.\u0275cmp=t.Xpm({type:v,selectors:[["comment-textarea-type"]],features:[t.qOj],decls:1,vars:2,consts:[["nz-input","",3,"formControl","formlyAttributes"]],template:function(C,x){1&C&&t._UZ(0,"textarea",0),2&C&&t.Q6J("formControl",x.formControl)("formlyAttributes",x.field)},directives:[r.Zp,d.Fj,d.JJ,d.oH,u.VQ],styles:[""],changeDetection:0}),v})(),wrappers:["form-field"]};var z=e(4546),O=e(9139);let M=(()=>{class v{}return v.\u0275fac=function(C){return new(C||v)},v.\u0275mod=t.oAB({type:v}),v.\u0275inj=t.cJS({imports:[[n.ez,d.UX,u.X0.forChild({types:[y]}),O.u,z.U5,r.o7]]}),v})()},7733:(E,h,e)=>{e.r(h),e.d(h,{CurationQueuesModule:()=>Q});var n=e(9808),u=e(325),t=e(712),r=e(5e3),d=e(3756);let f=(()=>{class c{constructor(){this.status=t.RTy.Submitted}ngOnInit(){}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275cmp=r.Xpm({type:c,selectors:[["cvc-pending-assertions-page"]],decls:1,vars:1,consts:[["cvcTitle","Browse Pending Assertions",3,"status"]],template:function(i,p){1&i&&r._UZ(0,"cvc-assertions-table",0),2&i&&r.Q6J("status",p.status)},directives:[d.x],styles:[""]}),c})();var y=e(8965);let z=(()=>{class c{constructor(){this.status=t.RTy.Submitted}ngOnInit(){}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275cmp=r.Xpm({type:c,selectors:[["cvc-pending-evidence-page"]],decls:1,vars:1,consts:[["cvcTitle","Browse Pending Evidence",3,"status"]],template:function(i,p){1&i&&r._UZ(0,"cvc-evidence-table",0),2&i&&r.Q6J("status",p.status)},directives:[y.a],styles:[""]}),c})();var O=e(9814);const v=[{path:"",redirectTo:"pending-sources",pathMatch:"full"},{path:"pending-sources",component:(()=>{class c{constructor(){}ngOnInit(){}}return c.\u0275fac=function(i){return new(i||c)},c.\u0275cmp=r.Xpm({type:c,selectors:[["cvc-pending-sources-page"]],decls:1,vars:0,consts:[["cvcTitle","Browse Suggested Sources"]],template:function(i,p){1&i&&r._UZ(0,"cvc-source-suggestions-table",0)},directives:[O.O],styles:[""]}),c})(),data:{breadcrumb:"Pending Source Suggestions"}},{path:"pending-evidence",component:z,data:{breadcrumb:"Pending Evidence Items"}},{path:"pending-assertions",component:f,data:{breadcrumb:"Pending Assertions"}}];let P=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=r.oAB({type:c}),c.\u0275inj=r.cJS({imports:[[u.Bz.forChild(v)],u.Bz]}),c})();var C=e(5630),x=e(1945),A=e(6949),S=e(8762),b=e(647),B=e(8144),I=e(3618),D=e(1894);let Q=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=r.oAB({type:c}),c.\u0275inj=r.cJS({imports:[[n.ez,A.WG,P,x.KJ,b.PV,B.zf,I.ZJ,D.Jb,C.D,S.c]]}),c})()},7563:(E,h,e)=>{e.r(h),e.d(h,{CurationModule:()=>c});var n=e(9808),u=e(325),t=e(5e3),r=e(8992),d=e(1945),f=e(1894),y=e(647),z=e(3618),O=e(2233);const C=[{path:"",component:(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(p){return new(p||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-curation-view"]],decls:1,vars:0,template:function(p,l){1&p&&t._UZ(0,"router-outlet")},directives:[u.lC],styles:[""]}),o})(),children:[{path:"",redirectTo:"activity",pathMatch:"full"},{path:"activity",component:(()=>{class o{constructor(){this.tabs=[{routeName:"curation-timeline",iconName:"civic-event",tabLabel:"Timeline"}]}}return o.\u0275fac=function(p){return new(p||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-curation-activity-view"]],decls:19,vars:4,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:event"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],[3,"nzSpan"],[3,"tabs"],[1,"content"]],template:function(p,l){1&p&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0),t.TgZ(2,"nz-page-header-content"),t.TgZ(3,"nz-row",1),t.TgZ(4,"nz-col",2),t._UZ(5,"i",3),t.qZA(),t.TgZ(6,"nz-col",4),t.TgZ(7,"h2"),t._uU(8,"Curation Event Timeline"),t.qZA(),t.TgZ(9,"p",5),t._uU(10,"All CIViC curation activity is logged and publicly available, thus esablishing the provenance of its assertions, summaries, associations, and acknowledging the work of collaborators."),t.qZA(),t.qZA(),t._UZ(11,"nz-col",6),t.qZA(),t.TgZ(12,"nz-row"),t.TgZ(13,"nz-col",7),t._UZ(14,"cvc-tab-navigation",8),t.qZA(),t.qZA(),t.TgZ(15,"nz-row"),t.TgZ(16,"nz-col",7),t.TgZ(17,"div",9),t._UZ(18,"router-outlet"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&p&&(t.xp6(9),t.Q6J("nzEllipsisRows",2),t.xp6(4),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("tabs",l.tabs),t.xp6(2),t.Q6J("nzSpan",24))},directives:[r.I,d.$O,d.u5,f.SK,f.t3,y.Ls,z.ZU,O.P,u.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})(),loadChildren:()=>Promise.all([e.e(9716),e.e(5291),e.e(3894)]).then(e.bind(e,6461)).then(o=>o.CurationActivityModule),data:{breadcrumb:"Activity"}},{path:"queues",component:(()=>{class o{constructor(){this.tabs=[{routeName:"pending-sources",iconName:"civic-source",tabLabel:"Sources Queue"},{routeName:"pending-evidence",iconName:"civic-evidence",tabLabel:"Evidence Queue"},{routeName:"pending-assertions",iconName:"civic-assertion",tabLabel:"Assertions Queue"}]}}return o.\u0275fac=function(p){return new(p||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-curation-queues-view"]],decls:19,vars:4,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","file-add"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],[3,"nzSpan"],[3,"tabs"],[1,"content"]],template:function(p,l){1&p&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0),t.TgZ(2,"nz-page-header-content"),t.TgZ(3,"nz-row",1),t.TgZ(4,"nz-col",2),t._UZ(5,"i",3),t.qZA(),t.TgZ(6,"nz-col",4),t.TgZ(7,"h2"),t._uU(8,"Curation Queues"),t.qZA(),t.TgZ(9,"p",5),t._uU(10,"New submitted Evidence, Assertions, and Source Suggestions must be accepted by a CIViC Editor. These Curation Queues list items in need of Editor moderation."),t.qZA(),t.qZA(),t._UZ(11,"nz-col",6),t.qZA(),t.TgZ(12,"nz-row"),t.TgZ(13,"nz-col",7),t._UZ(14,"cvc-tab-navigation",8),t.qZA(),t.qZA(),t.TgZ(15,"nz-row"),t.TgZ(16,"nz-col",7),t.TgZ(17,"div",9),t._UZ(18,"router-outlet"),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&p&&(t.xp6(9),t.Q6J("nzEllipsisRows",2),t.xp6(4),t.Q6J("nzSpan",24),t.xp6(1),t.Q6J("tabs",l.tabs),t.xp6(2),t.Q6J("nzSpan",24))},directives:[r.I,d.$O,d.u5,f.SK,f.t3,y.Ls,z.ZU,O.P,u.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})(),loadChildren:()=>Promise.resolve().then(e.bind(e,7733)).then(o=>o.CurationQueuesModule),data:{breadcrumb:"Queues"}}]}];let x=(()=>{class o{}return o.\u0275fac=function(p){return new(p||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[u.Bz.forChild(C)],u.Bz]}),o})();var A=e(7733),S=e(2832);let b=(()=>{class o{}return o.\u0275fac=function(p){return new(p||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[n.ez,S.W]]}),o})();var B=e(767);let I=(()=>{class o{}return o.\u0275fac=function(p){return new(p||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[n.ez,B.Q]]}),o})();var D=e(9441);let Q=(()=>{class o{}return o.\u0275fac=function(p){return new(p||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[n.ez,D.s]]}),o})(),c=(()=>{class o{}return o.\u0275fac=function(p){return new(p||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[n.ez,x,A.CurationQueuesModule,b,I,Q]]}),o})()}}]);
\ No newline at end of file
diff --git a/server/public/4355.dc3b99721f40c486.js b/server/public/4355.dc3b99721f40c486.js
new file mode 100644
index 000000000..4bffb6001
--- /dev/null
+++ b/server/public/4355.dc3b99721f40c486.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4355],{7036:(G,Q,i)=>{i.d(Q,{L:()=>gt});var r=i(712),a=i(373),T=i(4850),t=i(5e3),n=i(9808),m=i(1894),h=i(8144),O=i(8929),x=i(7625),L=i(9350),S=i(2359),U=i(7484),y=i(7948),N=i(5737),P=i(6123),w=i(9169),D=i(6949),u=i(404),F=i(6042),z=i(2643),M=i(2683),J=i(3610),$=i(647),K=i(4182),V=i(4546),C=i(9383),b=i(7525),A=i(9180),B=i(8227),H=i(1793);function f(c,p){if(1&c){const s=t.EpF();t.TgZ(0,"nz-alert",4),t.NdJ("nzOnClose",function(){return t.CHM(s),t.oxw().onSuccessBannerClose()}),t.qZA()}}function I(c,p){}function Z(c,p){1&c&&t.YNc(0,I,0,0,"ng-template")}function W(c,p){if(1&c&&(t.ynx(0),t.YNc(1,Z,1,0,void 0,9),t.BQk()),2&c){t.oxw(2);const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function k(c,p){if(1&c&&(t.ynx(0),t.YNc(1,W,2,1,"ng-container",5),t.BQk()),2&c){const s=t.oxw().ngrxLet,g=t.MAs(5),v=t.oxw();t.xp6(1),t.Q6J("ngIf",s.isEditor||s.isAdmin||v.flag.flaggingUser.id===s.id)("ngIfElse",g)}}function en(c,p){}function sn(c,p){1&c&&t.YNc(0,en,0,0,"ng-template")}function cn(c,p){if(1&c&&(t.TgZ(0,"span",10),t.YNc(1,sn,1,0,void 0,9),t.qZA()),2&c){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function on(c,p){}function ln(c,p){1&c&&t.YNc(0,on,0,0,"ng-template")}function j(c,p){if(1&c&&(t.TgZ(0,"span",11),t.YNc(1,ln,1,0,void 0,9),t.qZA()),2&c){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function nn(c,p){if(1&c){const s=t.EpF();t.TgZ(0,"button",13),t.NdJ("nzPopoverVisibleChange",function(v){return t.CHM(s),t.oxw(3).flagResolvePopoverVisible=v})("click",function(){t.CHM(s);const v=t.oxw(3);return v.flagResolvePopoverVisible=!v.flagResolvePopoverVisible}),t._uU(1," Resolve Flag "),t._UZ(2,"i",14),t.qZA()}if(2&c){const s=t.oxw(2).ngrxLet,g=t.oxw(),v=t.MAs(3),Y=t.MAs(5);t.Q6J("nzPopoverTitle",v)("nzPopoverVisible",g.flagResolvePopoverVisible)("nzPopoverContent",Y)("nzPopoverTrigger",void 0)("disabled",!s.signedIn||s.isCurator&&g.flag.flaggingUser.id!=s.id)}}function tn(c,p){if(1&c&&t.YNc(0,nn,3,5,"button",12),2&c){const s=t.oxw(2);t.Q6J("ngIf",!s.success)}}function E(c,p){if(1&c&&(t.ynx(0),t.YNc(1,k,2,2,"ng-container",5),t.YNc(2,cn,2,1,"ng-template",null,6,t.W1O),t.YNc(4,j,2,1,"ng-template",null,7,t.W1O),t.YNc(6,tn,1,1,"ng-template",null,8,t.W1O),t.BQk()),2&c){const s=p.ngrxLet,g=t.MAs(3);t.xp6(1),t.Q6J("ngIf",s.signedIn)("ngIfElse",g)}}const q=function(){return{float:"right"}};function X(c,p){if(1&c){const s=t.EpF();t._uU(0," Resolve Flag "),t.TgZ(1,"span",15),t.TgZ(2,"i",16),t.NdJ("click",function(){t.CHM(s);const v=t.oxw();return v.flagResolvePopoverVisible=!1,v.errorMessages=[]}),t.qZA(),t.qZA()}2&c&&(t.xp6(1),t.Q6J("ngStyle",t.DdM(1,q)))}function fn(c,p){if(1&c&&t._UZ(0,"nz-alert",25),2&c){t.oxw();const s=t.MAs(2);t.Q6J("nzDescription",s)}}function un(c,p){if(1&c&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&c){const s=p.$implicit;t.xp6(1),t.hij(" ",s," ")}}function zn(c,p){if(1&c&&(t.TgZ(0,"ul"),t.YNc(1,un,2,1,"li",26),t.qZA()),2&c){const s=t.oxw(2);t.xp6(1),t.Q6J("ngForOf",s.errorMessages)}}function Cn(c,p){if(1&c){const s=t.EpF();t.YNc(0,fn,1,1,"nz-alert",17),t.YNc(1,zn,2,1,"ng-template",null,18,t.W1O),t.TgZ(3,"nz-card",19),t.TgZ(4,"form",20),t.NdJ("ngSubmit",function(){return t.CHM(s),t.oxw().resolveFlag()}),t.TgZ(5,"cvc-comment-input-form",21),t.NdJ("commentChange",function(v){return t.CHM(s),t.oxw().comment=v}),t.qZA(),t.TgZ(6,"nz-spin",22),t.TgZ(7,"nz-form-item"),t.TgZ(8,"nz-form-control"),t.TgZ(9,"cvc-form-buttons"),t.TgZ(10,"cvc-org-selector-btn-group",23),t.NdJ("selectedOrgChange",function(v){return t.CHM(s),t.oxw().onOrgSelected(v)}),t.TgZ(11,"button",24),t._uU(12," Resolve "),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()}if(2&c){const s=t.oxw();t.Q6J("ngIf",s.errorMessages.length>0),t.xp6(5),t.Q6J("comment",s.comment),t.xp6(1),t.Q6J("nzSpinning",s.loading),t.xp6(5),t.Q6J("disabled",!(void 0!==s.comment&&s.comment.length>=10))}}let Tn=(()=>{class c{constructor(s,g,v){this.gql=s,this.viewerService=g,this.networkErrorService=v,this.errorMessages=[],this.loading=!1,this.success=!1,this.flagResolvePopoverVisible=!1,this.destroy$=new O.xQ,this.resolveFlagMutator=new P.U(v)}ngOnInit(){if(void 0===this.flag)throw new Error("Must pass a Flag in to resolve component.");this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(s=>{this.selectedOrg=s.mostRecentOrg})}onOrgSelected(s){this.selectedOrg=s}resolveFlag(){var s;if(this.comment){this.errorMessages=[];let g=this.resolveFlagMutator.mutate(this.gql,{input:{id:this.flag.id,comment:this.comment,organizationId:null===(s=this.selectedOrg)||void 0===s?void 0:s.id}});g.submitSuccess$.pipe((0,x.R)(this.destroy$)).subscribe(v=>{v&&(this.flagResolvePopoverVisible=!1,this.success=!0,this.flagResolvedCallback&&this.flagResolvedCallback())}),g.submitError$.pipe((0,x.R)(this.destroy$)).subscribe(v=>{v.length>0&&(this.success=!1,this.errorMessages=v)}),g.isSubmitting$.pipe((0,x.R)(this.destroy$)).subscribe(v=>{this.loading=v})}}onSuccessBannerClose(){this.success=!1,this.flagResolvedCallback&&this.flagResolvedCallback()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return c.\u0275fac=function(s){return new(s||c)(t.Y36(r.EwB),t.Y36(L.a),t.Y36(w.Y))},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-flag-resolve-form"]],inputs:{flag:"flag",flagResolvedCallback:"flagResolvedCallback"},decls:6,vars:2,consts:[["nzBanner","","nzMessage","Flag resolved.","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],[4,"ngrxLet"],["flagResolvePopoverTitleTemplate",""],["flagResolvePopoverContentTemplate",""],["nzBanner","","nzMessage","Flag resolved.","nzType","success","nzCloseable","",3,"nzOnClose"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["noPermissions",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to resolve flag."],["nz-tooltip","","nzTooltipTitle","If you are not an editor, you can only resolve flags you opened."],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click",4,"ngIf"],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click"],["nz-icon","","nzType","caret-down","nzTheme","outline"],[3,"ngStyle"],["nz-icon","","nzType","close","nzTheme","outline",3,"click"],["nzType","error","nzShowIcon","","nzMessage","Error Resolving Flag",3,"nzDescription",4,"ngIf"],["errorContents",""],["nzType","inner",2,"width","300px"],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"],["nzType","error","nzShowIcon","","nzMessage","Error Resolving Flag",3,"nzDescription"],[4,"ngFor","ngForOf"]],template:function(s,g){1&s&&(t.YNc(0,f,1,0,"nz-alert",0),t.YNc(1,E,8,2,"ng-container",1),t.YNc(2,X,3,2,"ng-template",null,2,t.W1O),t.YNc(4,Cn,13,4,"ng-template",null,3,t.W1O)),2&s&&(t.Q6J("ngIf",g.success),t.xp6(1),t.Q6J("ngrxLet",g.viewer$))},directives:[n.O5,S.r,D.eJ,n.tP,u.SY,F.ix,z.dQ,M.w,J.lU,$.Ls,n.PC,n.sg,U.bd,K._Y,K.JL,K.F,V.Lr,C.b,b.W,m.SK,V.Nx,m.t3,V.Fd,A.Z,B.q,H.m],styles:[""]}),c})();var xn=i(3618),hn=i(125),yn=i(4590),An=i(685),Zn=i(8625);function On(c,p){if(1&c){const s=t.EpF();t.TgZ(0,"nz-alert",5),t.NdJ("nzOnClose",function(){const Y=t.CHM(s).$implicit;return t.oxw().onErrorBannerClose(Y)}),t.qZA()}2&c&&t.Q6J("nzMessage",p.$implicit)}function Rn(c,p){if(1&c){const s=t.EpF();t.TgZ(0,"nz-alert",6),t.NdJ("nzOnClose",function(){return t.CHM(s),t.oxw().onSuccessBannerClose()}),t.qZA()}if(2&c){const s=t.oxw();t.MGl("nzMessage","Revision(s) successfully ",s.success,".")}}function Fn(c,p){if(1&c&&t._UZ(0,"cvc-comment-body",15),2&c){const s=t.oxw(2).$implicit;t.Q6J("commentBodySegments",s.openComment.parsedComment)}}function Ln(c,p){if(1&c&&(t.ynx(0),t._UZ(1,"cvc-flag-resolve-form",16),t.BQk()),2&c){const s=t.oxw(2).$implicit,g=t.oxw(2);t.xp6(1),t.Q6J("flag",s)("flagResolvedCallback",g.flagResolvedCallback)}}function Mn(c,p){if(1&c&&(t.ynx(0),t._UZ(1,"cvc-comment-body",15),t.BQk()),2&c){const s=t.oxw(3).$implicit;t.xp6(1),t.Q6J("commentBodySegments",s.resolutionComment.parsedComment)}}function rn(c,p){if(1&c&&t._UZ(0,"cvc-user-tag",21),2&c){const s=t.oxw(3).$implicit;t.Q6J("user",s.resolvingUser)}}function gn(c,p){if(1&c&&(t.TgZ(0,"nz-row"),t.TgZ(1,"nz-col",17),t.YNc(2,Mn,2,1,"ng-container",18),t.qZA(),t.TgZ(3,"nz-col",19),t._uU(4," Resolved By "),t.YNc(5,rn,1,1,"cvc-user-tag",20),t._uU(6),t.ALo(7,"timeago"),t.qZA(),t.qZA()),2&c){const s=t.oxw(2).$implicit;t.xp6(2),t.Q6J("ngIf",s.resolutionComment),t.xp6(3),t.Q6J("ngIf",void 0!==s.resolvingUser),t.xp6(1),t.hij(" ",t.lcZ(7,3,s.resolvedAt)," ")}}function bn(c,p){if(1&c&&(t._UZ(0,"i",22),t._uU(1)),2&c){const s=t.oxw(2).$implicit;t.xp6(1),t.hij(" FID",s.id," ")}}function En(c,p){if(1&c&&(t.TgZ(0,"span"),t.TgZ(1,"span",26),t._uU(2,"Flagged By"),t.qZA(),t._UZ(3,"cvc-user-tag",21),t.TgZ(4,"span",26),t._uU(5),t.ALo(6,"timeago"),t.qZA(),t.qZA()),2&c){const s=t.oxw(3).$implicit;t.xp6(3),t.Q6J("user",s.flaggingUser),t.xp6(2),t.Oqu(t.lcZ(6,2,s.createdAt))}}function pn(c,p){if(1&c&&t._UZ(0,"cvc-status-tag",27),2&c){const s=t.oxw(3).$implicit;t.Q6J("status",s.state)}}function Sn(c,p){1&c&&(t.TgZ(0,"nz-space",23),t.YNc(1,En,7,4,"span",24),t.YNc(2,pn,1,1,"cvc-status-tag",25),t.qZA())}function Qn(c,p){if(1&c&&(t.TgZ(0,"nz-card",10),t.YNc(1,Fn,1,1,"cvc-comment-body",11),t._UZ(2,"nz-divider"),t.YNc(3,Ln,2,2,"ng-container",3),t.YNc(4,gn,8,5,"ng-template",null,12,t.W1O),t.YNc(6,bn,2,1,"ng-template",null,13,t.W1O),t.YNc(8,Sn,3,0,"ng-template",null,14,t.W1O),t.qZA()),2&c){const s=t.MAs(5),g=t.MAs(7),v=t.MAs(9),Y=t.oxw().$implicit;t.Q6J("nzTitle",g)("nzExtra",v),t.xp6(1),t.Q6J("ngIf",Y.openComment),t.xp6(2),t.Q6J("ngIf","OPEN"==Y.state)("ngIfElse",s)}}function mn(c,p){1&c&&(t.ynx(0),t.YNc(1,Qn,10,5,"nz-card",9),t.BQk())}function dn(c,p){if(1&c&&(t.ynx(0),t.TgZ(1,"nz-space",7),t.YNc(2,mn,2,0,"ng-container",8),t.qZA(),t.BQk()),2&c){const s=t.oxw();t.xp6(2),t.Q6J("ngForOf",s.flags)}}function In(c,p){1&c&&t._UZ(0,"nz-empty",28)}let Nn=(()=>{class c{constructor(s){this.viewerService=s,this.isLoading=!1,this.success=!1,this.destroy$=new O.xQ}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(s=>{this.mostRecentOrg=s.mostRecentOrg})}setupMutationResultHandlers(s,g){s.submitSuccess$.pipe((0,x.R)(this.destroy$)).subscribe(v=>{v&&(this.isLoading=!1,this.errors=void 0,this.success=g)}),s.submitError$.pipe((0,x.R)(this.destroy$)).subscribe(v=>{v.length>0&&(this.isLoading=!1,this.success=!1,this.errors=v)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onErrorBannerClose(s){var g;this.errors=null===(g=this.errors)||void 0===g?void 0:g.filter(v=>v!=s)}onSuccessBannerClose(){this.success=!1}}return c.\u0275fac=function(s){return new(s||c)(t.Y36(L.a))},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-flag-list"]],inputs:{flags:"flags",flagResolvedCallback:"flagResolvedCallback"},decls:6,vars:4,consts:[["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],["nzTitle","Flags",1,"card-list"],[4,"ngIf","ngIfElse"],["noFlags",""],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzDirection","vertical"],[4,"ngFor","ngForOf"],["nzType","inner",3,"nzTitle","nzExtra",4,"nzSpaceItem"],["nzType","inner",3,"nzTitle","nzExtra"],[3,"commentBodySegments",4,"ngIf"],["flagResolved",""],["flagCardHeaderTitle",""],["flagCardHeaderExtra",""],[3,"commentBodySegments"],[3,"flag","flagResolvedCallback"],["nzSpan","16"],[4,"ngIf"],["nzSpan","8","nz-typography","","nzType","secondary",2,"text-align","right"],[3,"user",4,"ngIf"],[3,"user"],["nz-icon","","nzType","civic:flag"],["nzSize","small"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-typography","","nzType","secondary"],[3,"status"],["nzNotFoundImage","simple","nzNotFoundContent","No Flags matching filters"]],template:function(s,g){if(1&s&&(t.YNc(0,On,1,1,"nz-alert",0),t.YNc(1,Rn,1,1,"nz-alert",1),t.TgZ(2,"nz-card",2),t.YNc(3,dn,3,1,"ng-container",3),t.YNc(4,In,1,0,"ng-template",null,4,t.W1O),t.qZA()),2&s){const v=t.MAs(5);t.Q6J("ngForOf",g.errors),t.xp6(1),t.Q6J("ngIf",g.success),t.xp6(2),t.Q6J("ngIf",g.flags&&g.flags.length>0)("ngIfElse",v)}},directives:[n.sg,S.r,n.O5,U.bd,h.NU,h.$1,y.m,N.g,Tn,m.SK,m.t3,xn.ZU,hn.I,$.Ls,M.w,yn.h,An.p9],pipes:[Zn.wr],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]}),c})();var Pn=i(1243);function vn(c,p){if(1&c){const s=t.EpF();t.TgZ(0,"nz-alert",8),t.NdJ("nzOnClose",function(){return t.CHM(s),t.oxw().onSuccessBannerClose()}),t.qZA()}}function Jn(c,p){if(1&c&&t._UZ(0,"nz-alert",9),2&c){t.oxw();const s=t.MAs(4);t.Q6J("nzDescription",s)}}function Yn(c,p){if(1&c&&(t.TgZ(0,"li"),t._uU(1),t.qZA()),2&c){const s=p.$implicit;t.xp6(1),t.hij(" ",s," ")}}function Un(c,p){if(1&c&&(t.TgZ(0,"ul"),t.YNc(1,Yn,2,1,"li",10),t.qZA()),2&c){const s=t.oxw();t.xp6(1),t.Q6J("ngForOf",s.errorMessages)}}function Dn(c,p){}function $n(c,p){1&c&&t.YNc(0,Dn,0,0,"ng-template")}function Bn(c,p){if(1&c&&(t.ynx(0),t.YNc(1,$n,1,0,void 0,15),t.BQk()),2&c){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function an(c,p){}function wn(c,p){1&c&&t.YNc(0,an,0,0,"ng-template")}function Wn(c,p){if(1&c&&(t.TgZ(0,"span",16),t.YNc(1,wn,1,0,void 0,15),t.qZA()),2&c){t.oxw();const s=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",s)}}function jn(c,p){if(1&c&&(t.TgZ(0,"button",17),t._uU(1),t.ALo(2,"enumToTitle"),t.qZA()),2&c){const s=t.oxw().ngrxLet,g=t.oxw();t.Q6J("disabled",!(void 0!==g.comment&&g.comment.length>=10&&s.signedIn)),t.xp6(1),t.hij(" Flag ",t.lcZ(2,2,g.flaggable.entityType)," ")}}function Vn(c,p){if(1&c){const s=t.EpF();t.ynx(0),t.TgZ(1,"cvc-form-buttons"),t.TgZ(2,"cvc-org-selector-btn-group",11),t.NdJ("selectedOrgChange",function(v){return t.CHM(s),t.oxw().onOrgSelected(v)}),t.YNc(3,Bn,2,1,"ng-container",12),t.YNc(4,Wn,2,1,"ng-template",null,13,t.W1O),t.YNc(6,jn,3,4,"ng-template",null,14,t.W1O),t.qZA(),t.qZA(),t.BQk()}if(2&c){const s=p.ngrxLet,g=t.MAs(5);t.xp6(3),t.Q6J("ngIf",s.signedIn)("ngIfElse",g)}}let Kn=(()=>{class c{constructor(s,g,v){this.gql=s,this.viewerService=g,this.networkErrorService=v,this.errorMessages=[],this.success=!1,this.loading=!1,this.comment="",this.destroy$=new O.xQ,this.addFlagMutator=new P.U(v)}ngOnInit(){if(this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(s=>{this.selectedOrg=s.mostRecentOrg}),void 0===this.flaggable)throw new Error("Must pass a flagggable into flag add component")}onOrgSelected(s){this.selectedOrg=s}submitFlag(){var s;this.errorMessages=[];let g={comment:this.comment,subject:this.flaggable,organizationId:null===(s=this.selectedOrg)||void 0===s?void 0:s.id},v=this.addFlagMutator.mutate(this.gql,{input:g});v.submitSuccess$.pipe((0,x.R)(this.destroy$)).subscribe(Y=>{Y&&(this.flagAddedCallback&&this.flagAddedCallback(),this.success=!0,this.comment="")}),v.submitError$.pipe((0,x.R)(this.destroy$)).subscribe(Y=>{Y.length>0&&(this.errorMessages=Y)}),v.isSubmitting$.pipe((0,x.R)(this.destroy$)).subscribe(Y=>{this.loading=Y})}onSuccessBannerClose(){this.success=!1}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return c.\u0275fac=function(s){return new(s||c)(t.Y36(r.B0s),t.Y36(L.a),t.Y36(w.Y))},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-flag-add-form"]],inputs:{flaggable:"flaggable",flagAddedCallback:"flagAddedCallback"},decls:11,vars:5,consts:[["nzType","inner"],["nzBanner","","nzMessage","Flag submitted","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],["nzType","error","nzShowIcon","","nzMessage","Error Adding Flag",3,"nzDescription",4,"ngIf"],["errorContents",""],["nz-form","","nzLayout","vertical",3,"ngSubmit"],[3,"comment","commentChange"],["nzTip","Submitting",3,"nzSpinning"],[4,"ngrxLet"],["nzBanner","","nzMessage","Flag submitted","nzType","success","nzCloseable","",3,"nzOnClose"],["nzType","error","nzShowIcon","","nzMessage","Error Adding Flag",3,"nzDescription"],[4,"ngFor","ngForOf"],[3,"selectedOrgChange"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to flag entity."],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled"]],template:function(s,g){1&s&&(t.TgZ(0,"nz-card",0),t.YNc(1,vn,1,0,"nz-alert",1),t.YNc(2,Jn,1,1,"nz-alert",2),t.YNc(3,Un,2,1,"ng-template",null,3,t.W1O),t.TgZ(5,"form",4),t.NdJ("ngSubmit",function(){return g.submitFlag()}),t.TgZ(6,"cvc-comment-input-form",5),t.NdJ("commentChange",function(Y){return g.comment=Y}),t.qZA(),t.TgZ(7,"nz-spin",6),t.TgZ(8,"nz-form-item"),t.TgZ(9,"nz-form-control"),t.YNc(10,Vn,8,2,"ng-container",7),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&s&&(t.xp6(1),t.Q6J("ngIf",g.success),t.xp6(1),t.Q6J("ngIf",g.errorMessages.length>0),t.xp6(4),t.Q6J("comment",g.comment),t.xp6(1),t.Q6J("nzSpinning",g.loading),t.xp6(3),t.Q6J("ngrxLet",g.viewer$))},directives:[U.bd,n.O5,S.r,n.sg,K._Y,K.JL,K.F,V.Lr,C.b,b.W,m.SK,V.Nx,m.t3,V.Fd,D.eJ,A.Z,B.q,n.tP,u.SY,F.ix,z.dQ,H.m,M.w],pipes:[Pn.I],styles:[""]}),c})();var Gn=i(8747),Hn=i(6699);function kn(c,p){if(1&c&&(t._UZ(0,"cvc-flag-list",13),t.ALo(1,"ngrxPush")),2&c){const s=t.oxw(2);t.Q6J("flags",t.lcZ(1,2,s.flags$))("flagResolvedCallback",s.refresh)}}function qn(c,p){if(1&c){const s=t.EpF();t.TgZ(0,"button",16),t.NdJ("click",function(){t.CHM(s);const v=t.oxw(2).ngrxLet;return t.oxw(2).loadMore(null==v?null:v.endCursor)}),t._uU(1,"Load More"),t.qZA()}}function Xn(c,p){1&c&&(t.ynx(0),t.YNc(1,qn,2,0,"button",15),t.BQk())}function nt(c,p){if(1&c&&(t.ynx(0),t.YNc(1,Xn,2,0,"ng-container",14),t.BQk()),2&c){const s=p.ngrxLet;t.xp6(1),t.Q6J("ngIf",null==s?null:s.hasNextPage)}}function tt(c,p){if(1&c&&t._UZ(0,"cvc-flag-add-form",17),2&c){const s=t.oxw(2);t.Q6J("flaggable",s.flaggable)("flagAddedCallback",s.refresh)}}function et(c,p){if(1&c&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&c){const s=p.$implicit;t.xp6(1),t.Oqu(s.displayName)}}function ot(c,p){if(1&c&&t._UZ(0,"nz-avatar",20),2&c){const s=t.oxw().$implicit;t.Q6J("nzSrc",s.profileImagePath)}}function it(c,p){if(1&c&&(t._UZ(0,"nz-avatar",21),t.ALo(1,"uppercase")),2&c){const s=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,s.username.charAt(0)))}}function at(c,p){if(1&c&&(t.YNc(0,ot,1,1,"nz-avatar",18),t.YNc(1,it,2,3,"ng-template",null,19,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&c){const s=p.$implicit,g=t.MAs(2);t.Q6J("ngIf",s.profileImagePath)("ngIfElse",g),t.xp6(4),t.Oqu(s.username)}}function st(c,p){if(1&c&&t._UZ(0,"nz-avatar",20),2&c){const s=t.oxw().$implicit;t.Q6J("nzSrc",s.profileImagePath)}}function ct(c,p){if(1&c&&(t._UZ(0,"nz-avatar",21),t.ALo(1,"uppercase")),2&c){const s=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,s.username.charAt(0)))}}function lt(c,p){if(1&c&&(t.YNc(0,st,1,1,"nz-avatar",18),t.YNc(1,ct,2,3,"ng-template",null,19,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&c){const s=p.$implicit,g=t.MAs(2);t.Q6J("ngIf",s.profileImagePath)("ngIfElse",g),t.xp6(4),t.Oqu(s.username)}}function _t(c,p){if(1&c){const s=t.EpF();t.ynx(0),t.TgZ(1,"nz-row",2),t.TgZ(2,"nz-col",3),t.TgZ(3,"nz-space",4),t.YNc(4,kn,2,4,"cvc-flag-list",5),t.YNc(5,nt,2,1,"ng-container",6),t.YNc(6,tt,1,2,"cvc-flag-add-form",7),t.qZA(),t.qZA(),t.TgZ(7,"nz-col",8),t.TgZ(8,"cvc-participant-list",9),t.NdJ("participantSelectedEvent",function(v){return t.CHM(s),t.oxw().onStateSelected(v)}),t.YNc(9,et,2,1,"ng-template",null,10,t.W1O),t.qZA(),t.TgZ(11,"cvc-participant-list",11),t.NdJ("participantSelectedEvent",function(v){return t.CHM(s),t.oxw().onFlaggingUsersSelected(v)}),t.ALo(12,"ngrxPush"),t.YNc(13,at,5,3,"ng-template",null,10,t.W1O),t.qZA(),t.TgZ(15,"cvc-participant-list",12),t.NdJ("participantSelectedEvent",function(v){return t.CHM(s),t.oxw().onResolvingUsersSelected(v)}),t.ALo(16,"ngrxPush"),t.YNc(17,lt,5,3,"ng-template",null,10,t.W1O),t.qZA(),t.qZA(),t.qZA(),t.BQk()}if(2&c){const s=t.oxw();t.xp6(1),t.Q6J("nzGutter",16),t.xp6(4),t.Q6J("ngrxLet",s.pageInfo$),t.xp6(3),t.Q6J("preselectedOption",s.selectableStates[0])("participantList",s.selectableStates),t.xp6(3),t.Q6J("participantList",t.lcZ(12,6,s.uniqueFlaggingUsers$)),t.xp6(4),t.Q6J("participantList",t.lcZ(16,8,s.uniqueResolvingUsers$))}}function rt(c,p){if(1&c&&t._UZ(0,"cvc-flag-add-form",17),2&c){const s=t.oxw();t.Q6J("flaggable",s.flaggable)("flagAddedCallback",s.refresh)}}let gt=(()=>{class c{constructor(s){this.gql=s,this.defaultPageSize=5,this.selectableStates=[{id:1,displayName:"Open",value:r.BQZ.Open},{id:2,displayName:"Resolved",value:r.BQZ.Resolved}]}ngOnInit(){if(null==this.flaggable)throw new Error("Must pass a flaggable into flag list");this.queryRef=this.gql.watch({first:this.defaultPageSize,flaggable:this.flaggable,state:r.BQZ.Open}),this.refresh=()=>{this.queryRef.refetch()},this.results$=this.queryRef.valueChanges,this.flags$=this.results$.pipe((0,a.j)("data","flags","edges"),(0,T.U)(s=>s.map(g=>g.node))),this.pageInfo$=this.results$.pipe((0,a.j)("data","flags","pageInfo")),this.unfilteredCount$=this.results$.pipe((0,a.j)("data","flags","unfilteredCountForSubject")),this.uniqueFlaggingUsers$=this.results$.pipe((0,T.U)(({data:s})=>{var g;return null===(g=s.flags)||void 0===g?void 0:g.uniqueFlaggingUsers})),this.uniqueResolvingUsers$=this.results$.pipe((0,T.U)(({data:s})=>{var g;return null===(g=s.flags)||void 0===g?void 0:g.uniqueResolvingUsers}))}onFlaggingUsersSelected(s){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},flaggingUserId:s?s.id:void 0})}onResolvingUsersSelected(s){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},resolvingUserId:s?s.id:void 0})}onStateSelected(s){this.queryRef.refetch({flaggable:{id:this.flaggable.id,entityType:this.flaggable.entityType},state:s?s.value:void 0})}loadMore(s){var g;null===(g=this.queryRef)||void 0===g||g.fetchMore({variables:{first:this.defaultPageSize,after:s}})}}return c.\u0275fac=function(s){return new(s||c)(t.Y36(r.rzy))},c.\u0275cmp=t.Xpm({type:c,selectors:[["cvc-flag-list-and-filter"]],inputs:{flaggable:"flaggable"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noFlags",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical"],[3,"flags","flagResolvedCallback",4,"nzSpaceItem"],[4,"ngrxLet"],[3,"flaggable","flagAddedCallback",4,"nzSpaceItem"],["nzSpan","6"],["listTitle","Flag State",3,"preselectedOption","participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Flagging Users",3,"participantList","participantSelectedEvent"],["listTitle","Resolving Users",3,"participantList","participantSelectedEvent"],[3,"flags","flagResolvedCallback"],[4,"ngIf"],["nz-button","","nzBlock","","nzType","default",3,"click",4,"nzSpaceItem"],["nz-button","","nzBlock","","nzType","default",3,"click"],[3,"flaggable","flagAddedCallback"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"]],template:function(s,g){if(1&s&&(t.YNc(0,_t,19,10,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,rt,1,2,"ng-template",null,1,t.W1O)),2&s){const v=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,g.unfilteredCount$))("ngIfElse",v)}},directives:[n.O5,m.SK,m.t3,h.NU,h.$1,Nn,D.eJ,F.ix,z.dQ,M.w,Kn,Gn.l,Hn.Dz],pipes:[D.fM,n.gd],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]}),c})()},4271:(G,Q,i)=>{i.d(Q,{M:()=>tn});var r=i(9808),a=i(6949),T=i(3868),t=i(7345),n=i(7484),m=i(4546),h=i(3762),O=i(8625),x=i(4182),L=i(1825),S=i(6042),U=i(4375),y=i(2359),N=i(404),P=i(9444),w=i(4509),D=i(7525),u=i(5e3);let F=(()=>{class E{}return E.\u0275fac=function(X){return new(X||E)},E.\u0275mod=u.oAB({type:E}),E.\u0275inj=u.cJS({imports:[[r.ez,x.u5,x.UX,a.WG,m.U5,S.sL,n.vh,y.L,N.cg,D.j,L.A,U.R,P.s,w.w]]}),E})();var z=i(9779),M=i(8144),J=i(1894),$=i(8481),K=i(3618),V=i(6699),C=i(3580),b=i(8018),A=i(6286),B=i(4867),H=i(8645),f=i(685),I=i(592),Z=i(6114),W=i(5737),k=i(647),en=i(3610),sn=i(1047);let cn=(()=>{class E{}return E.\u0275fac=function(X){return new(X||E)},E.\u0275mod=u.oAB({type:E}),E.\u0275inj=u.cJS({imports:[[r.ez,x.UX,a.WG,S.sL,m.U5,x.u5,y.L,n.vh,en.$6,k.PV,N.cg,D.j,w.w,U.R,L.A]]}),E})();var on=i(7026),ln=i(8909);let j=(()=>{class E{}return E.\u0275fac=function(X){return new(X||E)},E.\u0275mod=u.oAB({type:E}),E.\u0275inj=u.cJS({imports:[[r.ez,J.Jb,h.Ph,n.vh,M.zf,$.X,K.ZJ,V.Rt,f.Xo,Z.Wr,W.S,N.cg,h.Ph,en.$6,k.PV,sn.o7,x.u5,O.$L.forChild({formatter:{useClass:on.x,provide:O.KP}}),L.A,z.s,t.W,C.Q,b.e,A.y,B.Q,H.M,I.x,S.sL,y.L,a.WG,cn,W.S,ln.m]]}),E})();var nn=i(1150);let tn=(()=>{class E{}return E.\u0275fac=function(X){return new(X||E)},E.\u0275mod=u.oAB({type:E}),E.\u0275inj=u.cJS({imports:[[r.ez,x.u5,a.WG,O.$L.forChild({formatter:{useClass:on.x,provide:O.KP}}),S.sL,m.U5,T.aF,S.sL,t.W,h.Ph,n.vh,F,j,f.Xo,nn.N,V.Rt,M.zf]]}),E})()},8168:(G,Q,i)=>{i.d(Q,{Y:()=>a});var r=i(5e3);let a=(()=>{class T{constructor(){}}return T.\u0275fac=function(n){return new(n||T)},T.\u0275dir=r.lG2({type:T,selectors:[["","cvcFlaggableOptions",""]]}),T})()},5623:(G,Q,i)=>{i.d(Q,{o:()=>D});var r=i(5e3),a=i(8168),T=i(9808),t=i(4401),n=i(325),m=i(647),h=i(404);const O=["cvcFlaggable",""];function x(u,F){1&u&&r.Hsn(0)}function L(u,F){1&u&&r.GkF(0)}function S(u,F){if(1&u&&(r.ynx(0),r.YNc(1,L,1,0,"ng-container",2),r.BQk()),2&u){r.oxw();const z=r.MAs(1);r.xp6(1),r.Q6J("ngTemplateOutlet",z)}}function U(u,F){if(1&u&&(r.TgZ(0,"a",6),r._UZ(1,"i",7),r.qZA()),2&u){r.oxw();const z=r.MAs(5);r.xp6(1),r.Q6J("nzTooltipTitle",z)}}function y(u,F){if(1&u&&r._uU(0),2&u){const z=r.oxw(2);r.hij(" ",z.flags," open flags ")}}function N(u,F){1&u&&r.GkF(0)}function P(u,F){if(1&u&&(r.ynx(0),r.TgZ(1,"nz-ribbon",3),r.YNc(2,U,2,1,"ng-template",null,4,r.W1O),r.YNc(4,y,1,1,"ng-template",null,5,r.W1O),r.YNc(6,N,1,0,"ng-container",2),r.qZA(),r.BQk()),2&u){const z=r.MAs(3);r.oxw();const M=r.MAs(1);r.xp6(1),r.Q6J("nzText",z),r.xp6(5),r.Q6J("ngTemplateOutlet",M)}}const w=["*"];let D=(()=>{class u{constructor(z){this.renderer=z}ngOnChanges(){this.flags&&0===this.flags?this.removeFlagged():this.addFlagged()}ngAfterViewInit(){this.flags&&0===this.flags?this.removeFlagged():this.addFlagged()}addFlagged(){this.flaggedChild&&this.renderer.addClass(this.flaggedChild.nativeElement,"flaggedChild")}removeFlagged(){this.flaggedChild&&this.renderer.removeClass(this.flaggedChild.nativeElement,"flaggedChild")}}return u.\u0275fac=function(z){return new(z||u)(r.Y36(r.Qsj))},u.\u0275cmp=r.Xpm({type:u,selectors:[["","cvcFlaggable",""]],contentQueries:function(z,M,J){if(1&z&&r.Suo(J,a.Y,5,r.SBq),2&z){let $;r.iGM($=r.CRH())&&(M.flaggedChild=$.first)}},inputs:{flags:"flags",entity:"entity"},features:[r.TTD],attrs:O,ngContentSelectors:w,decls:4,vars:2,consts:[["flaggedContent",""],[4,"ngIf"],[4,"ngTemplateOutlet"],["nzPlacement","start","nzColor","#ff3333",3,"nzText"],["flaggedText",""],["flaggedTooltip",""],["routerLink","flags",2,"color","#FFF"],["nz-icon","","nzType","flag","nzTheme","fill","nz-tooltip","","nzTooltipPlacement","top","nzTooltipColor","#FF3333",3,"nzTooltipTitle"]],template:function(z,M){1&z&&(r.F$t(),r.YNc(0,x,1,0,"ng-template",null,0,r.W1O),r.YNc(2,S,2,1,"ng-container",1),r.YNc(3,P,7,2,"ng-container",1)),2&z&&(r.xp6(2),r.Q6J("ngIf",0===M.flags),r.xp6(1),r.Q6J("ngIf",M.flags))},directives:[T.O5,T.tP,t.F9,n.yS,m.Ls,h.SY],styles:[""]}),u})()},4682:(G,Q,i)=>{i.d(Q,{m:()=>O});var r=i(9808),a=i(404),T=i(3618),t=i(4401),n=i(647),m=i(325),h=i(5e3);let O=(()=>{class x{}return x.\u0275fac=function(S){return new(S||x)},x.\u0275mod=h.oAB({type:x}),x.\u0275inj=h.cJS({imports:[[r.ez,m.Bz,n.PV,t.mS,a.cg,T.ZJ]]}),x})()},6059:(G,Q,i)=>{i.d(Q,{i:()=>ln});var r=i(9808),a=i(7484),T=i(3762),t=i(1894),n=i(5e3);let m=(()=>{class j{}return j.\u0275fac=function(tn){return new(tn||j)},j.\u0275mod=n.oAB({type:j}),j.\u0275inj=n.cJS({imports:[[r.ez,t.Jb]]}),j})();var h=i(2322),O=i(9779),x=i(8144),L=i(1825),S=i(8481),U=i(3618),y=i(6699),N=i(8625),P=i(7345),w=i(3580),D=i(8018),u=i(6286),F=i(4867),z=i(8645),M=i(5482),J=i(685),$=i(592),K=i(6114),V=i(5737),C=i(404),b=i(6042),A=i(2359),B=i(6949),H=i(647),f=i(3610),I=i(1047),Z=i(4182),W=i(9444),k=i(3098),en=i(7026),sn=i(4509),cn=i(8909),on=i(209);let ln=(()=>{class j{}return j.\u0275fac=function(tn){return new(tn||j)},j.\u0275mod=n.oAB({type:j}),j.\u0275inj=n.cJS({imports:[[r.ez,t.Jb,T.Ph,a.vh,x.zf,S.X,U.ZJ,y.Rt,J.Xo,K.Wr,V.S,C.cg,T.Ph,f.$6,H.PV,I.o7,k.q6,V.S,Z.u5,N.$L.forChild({formatter:{useClass:en.x,provide:N.KP}}),L.A,h.C,O.s,m,P.W,w.Q,D.e,u.y,F.Q,on.i,z.M,$.x,sn.w,W.s,cn.m,M.cD,b.sL,A.L,B.WG]]}),j})()},1365:(G,Q,i)=>{i.d(Q,{a:()=>Se});var r=i(712),a=i(373),T=i(4850),t=i(1059),n=i(5e3),m=i(325),h=i(9808),O=i(1894),x=i(8144),L=i(8929),S=i(6123),U=i(7625),y=i(9350),N=i(9169),P=i(2359),w=i(6949),D=i(7484),u=i(5482),F=i(3762),z=i(8481);let M=(()=>{class e{transform(o){return o?o.replace(/([a-z])([A-Z])/g,"$1 $2"):""}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275pipe=n.Yjl({name:"camelToWords",type:e,pure:!0}),e})();const J=["itemTemplate"],$=function(e){return{$implicit:e}};function K(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit,_=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",_.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,$,o))}}function V(e,l){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,o.entityType)," ",o.id,"")}}function C(e,l){if(1&e&&(n.TgZ(0,"nz-list-item",9),n.YNc(1,K,3,4,"ng-container",10),n.YNc(2,V,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!o.deleted)("ngIfElse",_)}}function b(e,l){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const o=n.oxw();n.MGl("nzNoResult","No ",o.entityType,"")}}function A(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit,_=n.oxw(3);n.xp6(2),n.Q6J("ngTemplateOutlet",_.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,$,o))}}function B(e,l){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,o.entityType)," ",o.id,"")}}function H(e,l){if(1&e&&(n.TgZ(0,"nz-list-item",17),n.YNc(1,A,3,4,"ng-container",10),n.YNc(2,B,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!o.deleted)("ngIfElse",_)}}function f(e,l){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const o=n.oxw(3);n.MGl("nzNoResult","No ",o.entityType," Removed")}}function I(e,l){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,H,4,2,"nz-list-item",16),n.YNc(2,f,1,1,"nz-list-empty",4),n.qZA()),2&e){const o=n.oxw(2);n.MGl("nzHeader","Removed ",o.entityType,""),n.xp6(1),n.Q6J("ngForOf",o.diffObject.removedObjects),n.xp6(1),n.Q6J("ngIf",0===o.diffObject.removedObjects.length)}}function Z(e,l){1&e&&(n.ynx(0),n.YNc(1,I,3,3,"nz-list",7),n.BQk())}function W(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit,_=n.oxw(2);n.xp6(2),n.Q6J("ngTemplateOutlet",_.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,$,o))}}function k(e,l){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,o.entityType)," ",o.id,"")}}function en(e,l){if(1&e&&(n.TgZ(0,"nz-list-item",19),n.YNc(1,W,3,4,"ng-container",10),n.YNc(2,k,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!o.deleted)("ngIfElse",_)}}function sn(e,l){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const o=n.oxw(2);n.MGl("nzNoResult","No ",o.entityType," Added")}}function cn(e,l){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,en,4,2,"nz-list-item",18),n.YNc(2,sn,1,1,"nz-list-empty",4),n.qZA()),2&e){const o=n.oxw();n.MGl("nzHeader","Added ",o.entityType,""),n.xp6(1),n.Q6J("ngForOf",o.diffObject.addedObjects),n.xp6(1),n.Q6J("ngIf",0===o.diffObject.addedObjects.length)}}function on(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit,_=n.oxw(3);n.xp6(2),n.Q6J("ngTemplateOutlet",_.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,$,o))}}function ln(e,l){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,o.entityType)," ",o.id,"")}}function j(e,l){if(1&e&&(n.TgZ(0,"nz-list-item",21),n.YNc(1,on,3,4,"ng-container",10),n.YNc(2,ln,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!o.deleted)("ngIfElse",_)}}function nn(e,l){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const o=n.oxw(3);n.MGl("nzNoResult","No ",o.entityType," Kept")}}function tn(e,l){if(1&e&&(n.TgZ(0,"nz-list",2),n.YNc(1,j,4,2,"nz-list-item",20),n.YNc(2,nn,1,1,"nz-list-empty",4),n.qZA()),2&e){const o=n.oxw(2);n.MGl("nzHeader","Kept ",o.entityType,""),n.xp6(1),n.Q6J("ngForOf",o.diffObject.keptObjects),n.xp6(1),n.Q6J("ngIf",0===o.diffObject.keptObjects.length)}}function E(e,l){1&e&&(n.ynx(0),n.YNc(1,tn,3,3,"nz-list",7),n.BQk())}function q(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"span",12),n.GkF(2,13),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit,_=n.oxw();n.xp6(2),n.Q6J("ngTemplateOutlet",_.itemTemplateRef||null)("ngTemplateOutletContext",n.VKq(2,$,o))}}function X(e,l){if(1&e&&(n.TgZ(0,"nz-tag",14),n._uU(1),n.ALo(2,"camelToWords"),n.qZA()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.AsE("Deleted ",n.lcZ(2,2,o.entityType)," ",o.id,"")}}function fn(e,l){if(1&e&&(n.TgZ(0,"nz-list-item",22),n.YNc(1,q,3,4,"ng-container",10),n.YNc(2,X,3,4,"ng-template",null,11,n.W1O),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(3);n.xp6(1),n.Q6J("ngIf",!o.deleted)("ngIfElse",_)}}function un(e,l){if(1&e&&n._UZ(0,"nz-list-empty",15),2&e){const o=n.oxw();n.MGl("nzNoResult","No ",o.entityType,"")}}let zn=(()=>{class e{constructor(){}ngOnInit(){if(void 0===this.diffObject)throw new Error("Must specify a diffObject.");if(void 0===this.entityType)throw new Error("Must specify an entityType.")}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revision-list-diff"]],contentQueries:function(o,_,d){if(1&o&&n.Suo(d,J,5),2&o){let R;n.iGM(R=n.CRH())&&(_.itemTemplateRef=R.first)}},inputs:{diffObject:"diffObject",entityType:"entityType"},decls:14,vars:12,consts:[[3,"nzGutter"],[3,"nzSpan"],["nzBordered","","nzType","inner","nzSize","small",3,"nzHeader"],["ngClass","current",4,"ngFor","ngForOf"],[3,"nzNoResult",4,"ngIf"],["nzDirection","vertical"],[4,"ngIf"],["nzBordered","","nzType","inner","nzSize","small",3,"nzHeader",4,"nzSpaceItem"],["ngClass","suggested",4,"ngFor","ngForOf"],["ngClass","current"],[4,"ngIf","ngIfElse"],["deleted",""],["nz-typography",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nzColor","error"],[3,"nzNoResult"],["ngClass","removed",4,"ngFor","ngForOf"],["ngClass","removed"],["ngClass","added",4,"ngFor","ngForOf"],["ngClass","added"],["ngClass","kept",4,"ngFor","ngForOf"],["ngClass","kept"],["ngClass","suggested"]],template:function(o,_){1&o&&(n.TgZ(0,"nz-row",0),n.TgZ(1,"nz-col",1),n.TgZ(2,"nz-list",2),n.YNc(3,C,4,2,"nz-list-item",3),n.YNc(4,b,1,1,"nz-list-empty",4),n.qZA(),n.qZA(),n.TgZ(5,"nz-col",1),n.TgZ(6,"nz-space",5),n.YNc(7,Z,2,0,"ng-container",6),n.YNc(8,cn,3,3,"nz-list",7),n.YNc(9,E,2,0,"ng-container",6),n.qZA(),n.qZA(),n.TgZ(10,"nz-col",1),n.TgZ(11,"nz-list",2),n.YNc(12,fn,4,2,"nz-list-item",8),n.YNc(13,un,1,1,"nz-list-empty",4),n.qZA(),n.qZA(),n.qZA()),2&o&&(n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(1),n.MGl("nzHeader","Original ",_.entityType," List"),n.xp6(1),n.Q6J("ngForOf",_.diffObject.currentObjects),n.xp6(1),n.Q6J("ngIf",0===_.diffObject.currentObjects.length),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.Q6J("ngIf",_.diffObject.currentObjects.length>0),n.xp6(2),n.Q6J("ngIf",_.diffObject.currentObjects.length>0),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(1),n.MGl("nzHeader","Revised ",_.entityType," List"),n.xp6(1),n.Q6J("ngForOf",_.diffObject.suggestedObjects),n.xp6(1),n.Q6J("ngIf",0===_.diffObject.suggestedObjects.length))},directives:[O.SK,O.t3,F.n_,h.sg,F.AA,h.mk,h.O5,h.tP,z.j,F.I2,x.NU,x.$1],pipes:[M],styles:["[_nghost-%COMP%]{display:block}nz-list[_ngcontent-%COMP%] .kept[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .added[_ngcontent-%COMP%]{background-color:#f6ffed;color:#135200}nz-list[_ngcontent-%COMP%] .removed[_ngcontent-%COMP%]{background-color:#fff1f0;color:#820014}nz-list[_ngcontent-%COMP%] .suggested[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-space[_ngcontent-%COMP%]{width:100%}"]}),e})();var Cn=i(6906),Tn=i(4022),xn=i(7469),hn=i(7701),yn=i(7956),An=i(8664),Zn=i(9001);let On=(()=>{class e{constructor(){}ngOnInit(){if(void 0===this.left)throw new Error("Must provide a left side of the diff.");if(void 0===this.right)throw new Error("Must provide a right side of the diff.");if(void 0===this.entityType)throw new Error("Must provide a diff.")}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revision-value-diff"]],inputs:{currentValue:"currentValue",suggestedValue:"suggestedValue",left:"left",right:"right",entityType:"entityType"},decls:15,vars:10,consts:[[3,"nzGutter"],[3,"nzSpan"],[3,"innerHtml"],[1,"diff","suggested"],[1,"background"]],template:function(o,_){1&o&&(n.TgZ(0,"nz-row",0),n.TgZ(1,"nz-col",1),n.TgZ(2,"h4"),n._uU(3),n.qZA(),n._UZ(4,"div",2),n.qZA(),n.TgZ(5,"nz-col",1),n.TgZ(6,"h4"),n._uU(7),n.qZA(),n._UZ(8,"div",2),n.qZA(),n.TgZ(9,"nz-col",1),n.TgZ(10,"h4"),n._uU(11),n.qZA(),n.TgZ(12,"div",3),n.TgZ(13,"div",4),n._uU(14),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&o&&(n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("Original ",_.entityType,""),n.xp6(1),n.Q6J("innerHtml",_.left,n.oJD),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("",_.entityType," Diff"),n.xp6(1),n.Q6J("innerHtml",_.right,n.oJD),n.xp6(1),n.Q6J("nzSpan",8),n.xp6(2),n.hij("Revised ",_.entityType,""),n.xp6(3),n.hij(" ",_.suggestedValue," "))},directives:[O.SK,O.t3],styles:[":host{display:block}.diff{overflow:auto;width:100%}.diff .background{padding:4px 8px}.diff.insertions .background{background:#f6ffed;color:#237804}.diff.deletions .background{background:#fff1f0;color:#a8071a}.diff.suggested .background,.diff.original .background{background:#f0f5ff;color:#10239e}.diff del,.diff ins{text-decoration:none}.diff del strong{font-weight:400;background:#fcc}.diff ins strong{font-weight:400;background:#9f9}.diff .del{font-weight:400;background:#fee;color:#b00}.diff .ins{font-weight:400;background:#dfd;color:#080}ul{list-style:none}\n"],encapsulation:2}),e})();var Rn=i(5737),Fn=i(7948),Ln=i(3618),Mn=i(125),rn=i(647),gn=i(2683),bn=i(3610),En=i(4590),pn=i(6042),Sn=i(6114),Qn=i(404),mn=i(685),dn=i(2643),In=i(9383),Nn=i(8227),Pn=i(1793),vn=i(3098),Jn=i(1243),Yn=i(8625);function Un(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"nz-alert",4),n.NdJ("nzOnClose",function(){const R=n.CHM(o).$implicit;return n.oxw().onErrorBannerClose(R)}),n.qZA()}2&e&&n.Q6J("nzMessage",l.$implicit)}function Dn(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"nz-alert",5),n.NdJ("nzOnClose",function(){return n.CHM(o),n.oxw().onSuccessBannerClose()}),n.qZA()}if(2&e){const o=n.oxw();n.MGl("nzMessage","Revision(s) successfully ",o.success,".")}}function $n(e,l){1&e&&n._UZ(0,"cvc-source-tag",20),2&e&&n.Q6J("source",l.$implicit)}function Bn(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",18),n.YNc(2,$n,1,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}const an=function(e,l,o){return{id:e,name:l,link:o}};function wn(e,l){if(1&e&&n._UZ(0,"cvc-disease-tag",22),2&e){const o=l.$implicit;n.Q6J("disease",n.kEZ(1,an,o.id,o.displayName,o.link))}}function Wn(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",21),n.YNc(2,wn,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function jn(e,l){if(1&e&&n._UZ(0,"cvc-drug-tag",24),2&e){const o=l.$implicit;n.Q6J("drug",n.kEZ(1,an,o.id,o.displayName,o.link))}}function Vn(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",23),n.YNc(2,jn,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function Kn(e,l){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const o=l.$implicit;n.xp6(1),n.hij(" ",o.displayName," ")}}function Gn(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",25),n.YNc(2,Kn,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function Hn(e,l){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const o=l.$implicit;n.xp6(1),n.hij(" ",o.displayName," ")}}function kn(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",26),n.YNc(2,Hn,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function qn(e,l){if(1&e&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&e){const o=l.$implicit;n.xp6(1),n.hij(" ",o.displayName," ")}}function Xn(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",27),n.YNc(2,qn,2,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function nt(e,l){if(1&e&&n._UZ(0,"cvc-variant-type-tag",29),2&e){const o=l.$implicit;n.Q6J("variantType",n.kEZ(1,an,o.id,o.displayName,o.link))}}function tt(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",28),n.YNc(2,nt,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function et(e,l){if(1&e&&n._UZ(0,"cvc-phenotype-tag",31),2&e){const o=l.$implicit;n.Q6J("phenotype",n.kEZ(1,an,o.id,o.displayName,o.link))}}function ot(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",30),n.YNc(2,et,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function it(e,l){if(1&e&&n._UZ(0,"cvc-variant-tag",33),2&e){const o=l.$implicit;n.Q6J("variant",n.kEZ(1,an,o.id,o.displayName,o.link))}}function at(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",32),n.YNc(2,it,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function st(e,l){if(1&e&&n._UZ(0,"cvc-variant-tag",33),2&e){const o=l.$implicit;n.Q6J("variant",n.kEZ(1,an,o.id,o.displayName,o.link))}}function ct(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",34),n.YNc(2,st,1,5,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function lt(e,l){1&e&&n._UZ(0,"cvc-source-tag",20),2&e&&n.Q6J("source",l.$implicit)}function _t(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",35),n.YNc(2,lt,1,1,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}const rt=function(e,l,o,_){return{id:e,name:l,link:o,status:_}};function gt(e,l){if(1&e&&n._UZ(0,"cvc-evidence-tag",37),2&e){const o=l.$implicit;n.Q6J("evidence",n.l5B(1,rt,o.id,o.displayName,o.link,o.status))}}function c(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"cvc-revision-list-diff",36),n.YNc(2,gt,1,6,"ng-template",null,19,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("diffObject",o.linkoutData.diffValue)}}function p(e,l){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-revision-value-diff",38),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(1),n.Q6J("currentValue",o.currentValue)("suggestedValue",o.suggestedValue)("left",o.linkoutData.diffValue.left)("right",o.linkoutData.diffValue.right)("entityType",o.linkoutData.name)}}function s(e,l){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-comment-body",42),n.BQk()),2&e){const o=n.oxw(2).$implicit;n.xp6(1),n.Q6J("commentBodySegments",o.resolutionComment.parsedComment)}}function g(e,l){if(1&e&&n._UZ(0,"cvc-user-tag",43),2&e){const o=n.oxw(2).$implicit;n.Q6J("user",o.resolver)}}function v(e,l){if(1&e&&(n.ynx(0),n._UZ(1,"nz-divider"),n.TgZ(2,"nz-row"),n.TgZ(3,"nz-col",39),n.YNc(4,s,2,1,"ng-container",15),n.qZA(),n.TgZ(5,"nz-col",40),n._uU(6),n.ALo(7,"enumToTitle"),n.YNc(8,g,1,1,"cvc-user-tag",41),n._uU(9),n.ALo(10,"timeago"),n.qZA(),n.qZA(),n.BQk()),2&e){const o=n.oxw().$implicit;n.xp6(4),n.Q6J("ngIf",o.resolutionComment),n.xp6(2),n.hij(" ",n.lcZ(7,4,o.status)," By "),n.xp6(2),n.Q6J("ngIf",void 0!==o.resolver),n.xp6(1),n.hij(" ",n.lcZ(10,6,o.resolvedAt)," ")}}function Y(e,l){if(1&e&&(n.TgZ(0,"span"),n._UZ(1,"i",45),n._uU(2),n.TgZ(3,"span"),n._uU(4),n.qZA(),n.qZA()),2&e){const o=n.oxw(2).$implicit;n.xp6(2),n.hij(" RID",o.id," "),n.xp6(2),n.hij("",o.linkoutData.name," Updated")}}function mt(e,l){if(1&e&&n._UZ(0,"i",48),2&e){n.oxw();const o=n.MAs(3);n.Q6J("nzPopoverContent",o)}}function dt(e,l){if(1&e&&n._UZ(0,"cvc-comment-body",42),2&e){const o=n.oxw(3).$implicit;n.Q6J("commentBodySegments",o.creationComment.parsedComment)}}function vt(e,l){1&e&&(n.ynx(0),n.YNc(1,mt,1,1,"i",46),n.YNc(2,dt,1,1,"ng-template",null,47,n.W1O),n.BQk())}function ft(e,l){if(1&e&&(n.TgZ(0,"nz-space"),n.YNc(1,Y,5,2,"span",44),n.YNc(2,vt,4,0,"ng-container",15),n.qZA()),2&e){const o=n.oxw().$implicit;n.xp6(2),n.Q6J("ngIf",o.creationComment)}}function ut(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"span",55),n._uU(2,"Submitted By"),n.qZA(),n._UZ(3,"cvc-user-tag",43),n.BQk()),2&e){const o=n.oxw(3).$implicit;n.xp6(3),n.Q6J("user",o.revisor)}}function zt(e,l){1&e&&(n.TgZ(0,"span",55),n._uU(1,"Submitted"),n.qZA())}function Ct(e,l){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,ut,4,1,"ng-container",53),n.YNc(2,zt,2,0,"ng-template",null,54,n.W1O),n.TgZ(4,"span",55),n._uU(5),n.ALo(6,"timeago"),n.qZA(),n.qZA()),2&e){const o=n.MAs(3),_=n.oxw(2).$implicit;n.xp6(1),n.Q6J("ngIf",_.revisor)("ngIfElse",o),n.xp6(4),n.Oqu(n.lcZ(6,3,_.createdAt))}}function Tt(e,l){if(1&e&&n._UZ(0,"cvc-status-tag",56),2&e){const o=n.oxw(2).$implicit;n.Q6J("status",o.status)}}function xt(e,l){1&e&&n._UZ(0,"nz-divider",57)}function ht(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"a",58),n.NdJ("click",function(){n.CHM(o);const d=n.oxw(2).$implicit;return n.oxw(3).onChangesetSelected(d.revisionsetId)}),n._uU(1,"Show Group"),n.qZA()}}function yt(e,l){1&e&&n._UZ(0,"nz-divider",57)}function At(e,l){1&e&&n._UZ(0,"label",61),2&e&&n.Q6J("nzDisabled",!0)}function Zt(e,l){1&e&&n._UZ(0,"label",64),2&e&&n.Q6J("nzDisabled",!0)}function Ot(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"label",65),n.NdJ("nzCheckedChange",function(d){n.CHM(o);const R=n.oxw(5).$implicit;return n.oxw(3).onRevisionCheckboxClicked(d,R.id)}),n.qZA()}}function Rt(e,l){if(1&e&&(n.YNc(0,Zt,1,1,"label",62),n.YNc(1,Ot,1,0,"ng-template",null,63,n.W1O)),2&e){const o=n.MAs(2),_=n.oxw(4).$implicit,d=n.oxw(2).ngrxLet;n.Q6J("ngIf",d.isCurator&&d.id!=(null==_.revisor?null:_.revisor.id))("ngIfElse",o)}}function Ft(e,l){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,At,1,1,"label",59),n.YNc(2,Rt,3,2,"ng-template",null,60,n.W1O),n.qZA()),2&e){const o=n.MAs(3),_=n.oxw(5).ngrxLet;n.xp6(1),n.Q6J("ngIf",!_.signedIn)("ngIfElse",o)}}function Lt(e,l){1&e&&(n.ynx(0),n.YNc(1,yt,1,0,"nz-divider",51),n.YNc(2,Ft,4,2,"span",44),n.BQk())}function Mt(e,l){if(1&e&&(n.TgZ(0,"nz-space",49),n.NdJ("click",function(_){return _.stopPropagation()}),n.YNc(1,Ct,7,5,"span",44),n.YNc(2,Tt,1,1,"cvc-status-tag",50),n.YNc(3,xt,1,0,"nz-divider",51),n.YNc(4,ht,2,0,"a",52),n.YNc(5,Lt,3,0,"ng-container",15),n.qZA()),2&e){const o=n.oxw().$implicit;n.xp6(5),n.Q6J("ngIf","NEW"===o.status)}}function bt(e,l){if(1&e&&(n.TgZ(0,"nz-collapse-panel",11),n.ynx(1,12),n.YNc(2,Bn,4,1,"ng-container",13),n.YNc(3,Wn,4,1,"ng-container",13),n.YNc(4,Vn,4,1,"ng-container",13),n.YNc(5,Gn,4,1,"ng-container",13),n.YNc(6,kn,4,1,"ng-container",13),n.YNc(7,Xn,4,1,"ng-container",13),n.YNc(8,tt,4,1,"ng-container",13),n.YNc(9,ot,4,1,"ng-container",13),n.YNc(10,at,4,1,"ng-container",13),n.YNc(11,ct,4,1,"ng-container",13),n.YNc(12,_t,4,1,"ng-container",13),n.YNc(13,c,4,1,"ng-container",13),n.YNc(14,p,2,5,"ng-container",14),n.BQk(),n.YNc(15,v,11,8,"ng-container",15),n.YNc(16,ft,3,1,"ng-template",null,16,n.W1O),n.YNc(18,Mt,6,1,"ng-template",null,17,n.W1O),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(17),d=n.MAs(19);n.Q6J("nzHeader",_)("nzExtra",d)("nzActive",!0),n.xp6(1),n.Q6J("ngSwitch",o.fieldName),n.xp6(1),n.Q6J("ngSwitchCase","source_ids"),n.xp6(1),n.Q6J("ngSwitchCase","disease_id"),n.xp6(1),n.Q6J("ngSwitchCase","drug_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_alias_ids"),n.xp6(1),n.Q6J("ngSwitchCase","clinvar_entry_ids"),n.xp6(1),n.Q6J("ngSwitchCase","hgvs_expression_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_type_ids"),n.xp6(1),n.Q6J("ngSwitchCase","phenotype_ids"),n.xp6(1),n.Q6J("ngSwitchCase","variant_id"),n.xp6(1),n.Q6J("ngSwitchCase","variant_ids"),n.xp6(1),n.Q6J("ngSwitchCase","source_id"),n.xp6(1),n.Q6J("ngSwitchCase","evidence_item_ids"),n.xp6(2),n.Q6J("ngIf","NEW"!==o.status)}}function Et(e,l){if(1&e&&(n.TgZ(0,"nz-collapse",9),n.YNc(1,bt,20,17,"nz-collapse-panel",10),n.qZA()),2&e){const o=n.oxw(2);n.xp6(1),n.Q6J("ngForOf",o.untypedRevisons)}}function St(e,l){1&e&&n._UZ(0,"nz-empty",66)}function Qt(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",6),n.YNc(2,Et,2,1,"nz-collapse",7),n.YNc(3,St,1,0,"ng-template",null,8,n.W1O),n.qZA(),n.BQk()),2&e){const o=n.MAs(4),_=n.oxw(),d=n.MAs(4);n.xp6(1),n.Q6J("nzExtra",d),n.xp6(1),n.Q6J("ngIf",_.revisions&&_.revisions.length>0)("ngIfElse",o)}}function It(e,l){}function Nt(e,l){1&e&&n.YNc(0,It,0,0,"ng-template")}function Pt(e,l){if(1&e&&(n.ynx(0),n.YNc(1,Nt,1,0,void 0,75),n.BQk()),2&e){n.oxw();const o=n.MAs(5);n.xp6(1),n.Q6J("ngTemplateOutlet",o)}}function Jt(e,l){}function Yt(e,l){1&e&&n.YNc(0,Jt,0,0,"ng-template")}function Ut(e,l){if(1&e&&(n.TgZ(0,"span",76),n.YNc(1,Yt,1,0,void 0,75),n.qZA()),2&e){n.oxw();const o=n.MAs(5);n.xp6(1),n.Q6J("ngTemplateOutlet",o)}}function Dt(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"button",77),n.NdJ("nzPopoverVisibleChange",function(d){return n.CHM(o),n.oxw(7).validationPopoverVisible=d})("click",function(){n.CHM(o);const d=n.oxw(7);return d.validationPopoverVisible=!d.validationPopoverVisible}),n._uU(1," Review Selected Revisions "),n._UZ(2,"i",78),n.qZA()}if(2&e){const o=n.oxw(2).ngrxLet,_=n.MAs(7),d=n.MAs(9),R=n.oxw(5);n.Q6J("nzPopoverTitle",_)("nzPopoverVisible",R.validationPopoverVisible)("nzPopoverContent",d)("nzPopoverTrigger",void 0)("disabled",0===R.selectedRevisionIds.length||!o.signedIn)}}function $t(e,l){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Pt,2,1,"ng-container",53),n.YNc(2,Ut,2,1,"ng-template",null,73,n.W1O),n.YNc(4,Dt,3,5,"ng-template",null,74,n.W1O),n.qZA()),2&e){const o=n.MAs(3),_=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",_.signedIn)("ngIfElse",o)}}function Bt(e,l){if(1&e&&n._UZ(0,"i",80),2&e){n.oxw(4);const o=n.MAs(3);n.Q6J("nzPopoverContent",o)}}function wt(e,l){1&e&&(n.ynx(0),n.YNc(1,Bt,1,1,"i",79),n.BQk())}const Wt=function(){return{float:"right"}};function jt(e,l){if(1&e){const o=n.EpF();n._uU(0," Review Selected Revisions "),n.TgZ(1,"span",81),n.TgZ(2,"i",82),n.NdJ("click",function(){return n.CHM(o),n.oxw(6).validationPopoverVisible=!1}),n.qZA(),n.qZA()}2&e&&(n.xp6(1),n.Q6J("ngStyle",n.DdM(1,Wt)))}function Vt(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"cvc-comment-input-form",85),n.NdJ("commentChange",function(d){return n.CHM(o),n.oxw(7).revisionComment=d}),n.qZA()}if(2&e){const o=n.oxw(7);n.Q6J("comment",o.revisionComment)}}function Kt(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"span"),n.TgZ(1,"cvc-org-selector-btn-group",86),n.NdJ("selectedOrgChange",function(d){return n.CHM(o),n.oxw(8).mostRecentOrg=d}),n.TgZ(2,"button",87),n.NdJ("click",function(){return n.CHM(o),n.oxw(8).onRejectRevisionsClicked()}),n._uU(3," Reject Revision "),n.qZA(),n.qZA(),n.qZA()}if(2&e){const o=n.oxw(8);n.xp6(1),n.Q6J("selectedOrg",o.mostRecentOrg),n.xp6(1),n.Q6J("nzLoading",o.isLoading)("disabled",void 0===o.revisionComment||o.revisionComment.length<10)}}function Gt(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"span"),n.TgZ(1,"cvc-org-selector-btn-group",86),n.NdJ("selectedOrgChange",function(d){return n.CHM(o),n.oxw(8).mostRecentOrg=d}),n.TgZ(2,"button",88),n.NdJ("click",function(){return n.CHM(o),n.oxw(8).onAcceptRevisionClicked()}),n._uU(3," Accept Revision "),n.qZA(),n.qZA(),n.qZA()}if(2&e){const o=n.oxw(4).ngrxLet,_=n.oxw(4);n.xp6(1),n.Q6J("selectedOrg",_.mostRecentOrg),n.xp6(1),n.Q6J("nzLoading",_.isLoading)("disabled",!(0==o&&(void 0===_.revisionComment||""===_.revisionComment||_.revisionComment.length>=10)))}}function Ht(e,l){if(1&e&&n._UZ(0,"i",90),2&e){n.oxw(6);const o=n.MAs(3);n.Q6J("nzPopoverContent",o)}}function kt(e,l){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,Ht,1,1,"i",89),n.qZA()),2&e){const o=n.oxw(4).ngrxLet;n.xp6(1),n.Q6J("ngIf",o>0)}}function qt(e,l){1&e&&(n.TgZ(0,"span"),n.TgZ(1,"nz-space"),n.YNc(2,Kt,4,3,"span",44),n.YNc(3,Gt,4,3,"span",44),n.YNc(4,kt,2,1,"span",44),n.qZA(),n.qZA())}function Xt(e,l){1&e&&(n.TgZ(0,"nz-space",83),n.YNc(1,Vt,1,1,"cvc-comment-input-form",84),n.YNc(2,qt,5,0,"span",44),n.qZA())}function ne(e,l){if(1&e&&(n.ynx(0),n.TgZ(1,"div",68),n.TgZ(2,"div",69),n.TgZ(3,"nz-space",70),n.YNc(4,$t,6,2,"span",44),n.YNc(5,wt,2,0,"ng-container",15),n.qZA(),n.YNc(6,jt,3,2,"ng-template",null,71,n.W1O),n.YNc(8,Xt,3,0,"ng-template",null,72,n.W1O),n.qZA(),n.qZA(),n.BQk()),2&e){const o=n.oxw().ngrxLet;n.xp6(5),n.Q6J("ngIf",o>0)}}function te(e,l){if(1&e&&(n.ynx(0),n.YNc(1,ne,10,1,"ng-container",2),n.BQk()),2&e){const o=n.oxw(4);n.xp6(1),n.Q6J("ngrxLet",o.viewer$)}}function ee(e,l){if(1&e&&(n.TgZ(0,"nz-list-item"),n._uU(1),n.qZA()),2&e){const o=l.$implicit;n.xp6(1),n.Oqu(o)}}function oe(e,l){if(1&e&&(n.TgZ(0,"nz-card",92),n.TgZ(1,"nz-list",93),n.YNc(2,ee,2,1,"nz-list-item",94),n.qZA(),n.qZA()),2&e){const o=n.oxw(3).ngrxLet;n.xp6(2),n.Q6J("ngForOf",o)}}function ie(e,l){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,oe,3,1,"nz-card",91),n.qZA()),2&e){const o=n.oxw(2).ngrxLet;n.xp6(1),n.Q6J("ngIf",o.length>0)}}function ae(e,l){if(1&e&&(n.TgZ(0,"nz-descriptions-item",99),n._uU(1),n.qZA()),2&e){const o=l.$implicit;n.Q6J("nzTitle",o.fieldName),n.xp6(1),n.Oqu(o.error)}}function se(e,l){if(1&e&&(n.TgZ(0,"nz-card",96),n.TgZ(1,"nz-descriptions",97),n.YNc(2,ae,2,2,"nz-descriptions-item",98),n.qZA(),n.qZA()),2&e){const o=n.oxw(4).ngrxLet;n.xp6(2),n.Q6J("ngForOf",o)}}function ce(e,l){if(1&e&&(n.TgZ(0,"span"),n.YNc(1,se,3,1,"nz-card",95),n.qZA()),2&e){const o=n.oxw(3).ngrxLet;n.xp6(1),n.Q6J("ngIf",o.length>0)}}function le(e,l){1&e&&(n.TgZ(0,"nz-space",83),n.YNc(1,ie,2,1,"span",44),n.YNc(2,ce,2,1,"span",44),n.qZA())}function _e(e,l){if(1&e&&(n.ynx(0),n.YNc(1,te,2,1,"ng-container",2),n.YNc(2,le,3,0,"ng-template",null,67,n.W1O),n.BQk()),2&e){const o=n.oxw(3);n.xp6(1),n.Q6J("ngrxLet",o.totalErrorCount$)}}function re(e,l){if(1&e&&(n.ynx(0),n.YNc(1,_e,4,1,"ng-container",2),n.BQk()),2&e){const o=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",o.genericErrors$)}}function ge(e,l){if(1&e&&n.YNc(0,re,2,1,"ng-container",2),2&e){const o=n.oxw();n.Q6J("ngrxLet",o.validationErrors$)}}let pe=(()=>{class e{constructor(o,_,d,R,_n){this.viewerService=o,this.networkErrorService=_,this.acceptRevisionsGql=d,this.rejectRevisionsGql=R,this.validationGql=_n,this.selectedRevisionIds=[],this.isLoading=!1,this.success=!1,this.validationPopoverVisible=!1,this.destroy$=new L.xQ,this.revisionSetSelectedEvent=new n.vpe,this.revisionMutationCompleted=new n.vpe,this.acceptRevisionsMutator=new S.U(_),this.rejectRevisionsMutator=new S.U(_)}ngOnChanges(o){this.untypedRevisons=this.revisions,this.selectedRevisionIds=[],this.queryRef&&this.queryRef.refetch({ids:this.selectedRevisionIds})}ngOnInit(){this.viewer$=this.viewerService.viewer$,this.viewerService.viewer$.subscribe(o=>{this.mostRecentOrg=o.mostRecentOrg}),this.queryRef=this.validationGql.watch({ids:[]}),this.genericErrors$=this.queryRef.valueChanges.pipe((0,T.U)(({data:o})=>o.validateRevisionsForAcceptance.genericErrors)),this.validationErrors$=this.queryRef.valueChanges.pipe((0,T.U)(({data:o})=>o.validateRevisionsForAcceptance.validationErrors)),this.totalErrorCount$=this.queryRef.valueChanges.pipe((0,T.U)(({data:o})=>o.validateRevisionsForAcceptance.genericErrors.length+o.validateRevisionsForAcceptance.validationErrors.length),(0,t.O)(0)),this.untypedRevisons=this.revisions}onChangesetSelected(o){this.revisionSetSelectedEvent.emit(o)}onRevisionCheckboxClicked(o,_){o?this.selectedRevisionIds.push(_):this.selectedRevisionIds=this.selectedRevisionIds.filter(d=>d!=_),this.queryRef.refetch({ids:this.selectedRevisionIds})}setupMutationResultHandlers(o,_){o.submitSuccess$.pipe((0,U.R)(this.destroy$)).subscribe(d=>{d&&(this.isLoading=!1,this.revisionMutationCompleted.emit(),this.errors=void 0,this.success=_,this.validationPopoverVisible=!1,this.selectedRevisionIds=[])}),o.submitError$.pipe((0,U.R)(this.destroy$)).subscribe(d=>{d.length>0&&(this.isLoading=!1,this.success=!1,this.errors=d,this.validationPopoverVisible=!1,this.selectedRevisionIds=[])})}onRejectRevisionsClicked(){var o;if(this.revisionComment&&""!==this.revisionComment){this.isLoading=!0;let _=this.rejectRevisionsMutator.mutate(this.rejectRevisionsGql,{input:{ids:this.selectedRevisionIds,organizationId:null===(o=this.mostRecentOrg)||void 0===o?void 0:o.id,comment:this.revisionComment}},{refetchQueries:[this.refetchQuery]});this.setupMutationResultHandlers(_,"rejected")}}onAcceptRevisionClicked(){var o;this.isLoading=!0;let _=this.acceptRevisionsMutator.mutate(this.acceptRevisionsGql,{input:{ids:this.selectedRevisionIds,organizationId:null===(o=this.mostRecentOrg)||void 0===o?void 0:o.id,comment:""===this.revisionComment?void 0:this.revisionComment}},{refetchQueries:[this.refetchQuery]});this.setupMutationResultHandlers(_,"accepted")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onErrorBannerClose(o){var _;this.errors=null===(_=this.errors)||void 0===_?void 0:_.filter(d=>d!=o)}onSuccessBannerClose(){this.success=!1}}return e.\u0275fac=function(o){return new(o||e)(n.Y36(y.a),n.Y36(N.Y),n.Y36(r.ti),n.Y36(r.VZq),n.Y36(r.Qzn))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revision-list"]],inputs:{revisions:"revisions",refetchQuery:"refetchQuery"},outputs:{revisionSetSelectedEvent:"revisionSetSelectedEvent",revisionMutationCompleted:"revisionMutationCompleted"},features:[n.TTD],decls:5,vars:3,consts:[["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngFor","ngForOf"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose",4,"ngIf"],[4,"ngrxLet"],["moderationButtons",""],["nzBanner","","nzType","error","nzCloseable","",3,"nzMessage","nzOnClose"],["nzBanner","","nzType","success","nzCloseable","",3,"nzMessage","nzOnClose"],["nzTitle","Revisions",1,"card-list",3,"nzExtra"],["class","revision-list",4,"ngIf","ngIfElse"],["noRevisions",""],[1,"revision-list"],[3,"nzHeader","nzExtra","nzActive",4,"ngFor","ngForOf"],[3,"nzHeader","nzExtra","nzActive"],[3,"ngSwitch"],[4,"ngSwitchCase"],[4,"ngSwitchDefault"],[4,"ngIf"],["revCardHeaderTitle",""],["revCardHeaderExtra",""],["entityType","Sources",3,"diffObject"],["itemTemplate",""],[3,"source"],["entityType","Disease",3,"diffObject"],[3,"disease"],["entityType","Drugs",3,"diffObject"],[3,"drug"],["entityType","Variant Aliases",3,"diffObject"],["entityType","ClinVar Entries",3,"diffObject"],["entityType","HGVS Expressions",3,"diffObject"],["entityType","Variant Types",3,"diffObject"],[3,"variantType"],["entityType","Phenotypes",3,"diffObject"],[3,"phenotype"],["entityType","Variant",3,"diffObject"],[3,"variant"],["entityType","Variants",3,"diffObject"],["entityType","Source",3,"diffObject"],["entityType","Evidence",3,"diffObject"],[3,"evidence"],[3,"currentValue","suggestedValue","left","right","entityType"],["nzSpan","16"],["nzSpan","8","nz-typography","","nzType","secondary",2,"text-align","right"],[3,"user",4,"ngIf"],[3,"commentBodySegments"],[3,"user"],[4,"nzSpaceItem"],["nz-icon","","nzType","civic:revision"],["nz-popover","","nz-icon","","nzType","comment","nzTheme","outline",3,"nzPopoverContent",4,"nzSpaceItem"],["creationCommentTemplate",""],["nz-popover","","nz-icon","","nzType","comment","nzTheme","outline",3,"nzPopoverContent"],["nzSize","small",3,"click"],[3,"status",4,"nzSpaceItem"],["nzType","vertical",4,"nzSpaceItem"],["nz-button","","nzType","link",3,"click",4,"nzSpaceItem"],[4,"ngIf","ngIfElse"],["noRevisor",""],["nz-typography","","nzType","secondary"],[3,"status"],["nzType","vertical"],["nz-button","","nzType","link",3,"click"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions.",3,"nzDisabled",4,"ngIf","ngIfElse"],["loggedIn",""],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions.",3,"nzDisabled"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Curators may only reject their own revisions.",3,"nzDisabled",4,"ngIf","ngIfElse"],["canRevise",""],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Curators may only reject their own revisions.",3,"nzDisabled"],["nz-checkbox","","nz-tooltip","","nzTooltipTitle","Select Revision for Acceptance/Rejection",3,"nzCheckedChange"],["nzNotFoundImage","simple","nzNotFoundContent","No Revisions matching filters"],["validationErrorTemplate",""],["nz-row","",2,"margin-top","1em"],["nz-col","","nzSpan","24",2,"text-align","right"],["nzDirection","horizontal"],["validationPopoverTitleTemplate",""],["validationPopoverContentTemplate",""],["notSignedIn",""],["submitButton",""],[4,"ngTemplateOutlet"],["nz-tooltip","","nzTooltipTitle","Must be signed in to manage revisions."],["nz-button","","nz-popover","","nzSize","small","nzPopoverPlacement","bottom",3,"nzPopoverTitle","nzPopoverVisible","nzPopoverContent","nzPopoverTrigger","disabled","nzPopoverVisibleChange","click"],["nz-icon","","nzType","caret-down","nzTheme","outline"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","red","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent",4,"nzSpaceItem"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","red","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent"],[3,"ngStyle"],["nz-icon","","nzType","close","nzTheme","outline",3,"click"],["nzDirection","vertical"],[3,"comment","commentChange",4,"nzSpaceItem"],[3,"comment","commentChange"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzSize","small","nzDanger","",3,"nzLoading","disabled","click"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzSize","small",3,"nzLoading","disabled","click"],["nz-icon","","nzTwotoneColor","red","nzType","exclamation-circle","nzTheme","twotone","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent",4,"ngIf"],["nz-icon","","nzTwotoneColor","red","nzType","exclamation-circle","nzTheme","twotone","nz-popover","","nzPopoverTitle","Selected Revisions would result in an invalid entity",3,"nzPopoverContent"],["nzTitle","Errors",4,"ngIf"],["nzTitle","Errors"],["nzSize","small"],[4,"ngFor","ngForOf"],["nzTitle","Validation Errors",4,"ngIf"],["nzTitle","Validation Errors"],["nzBordered",""],[3,"nzTitle",4,"ngFor","ngForOf"],[3,"nzTitle"]],template:function(o,_){1&o&&(n.YNc(0,Un,1,1,"nz-alert",0),n.YNc(1,Dn,1,1,"nz-alert",1),n.YNc(2,Qt,5,3,"ng-container",2),n.YNc(3,ge,1,1,"ng-template",null,3,n.W1O)),2&o&&(n.Q6J("ngForOf",_.errors),n.xp6(1),n.Q6J("ngIf",_.success),n.xp6(1),n.Q6J("ngrxLet",_.viewer$))},directives:[h.sg,P.r,h.O5,w.eJ,D.bd,u.yH,u.Zv,h.RF,h.n9,zn,Cn.T,Tn.n,xn.u,z.j,hn.j,yn.i,An.I,Zn.O,h.ED,On,Rn.g,O.SK,O.t3,Fn.m,Ln.ZU,Mn.I,x.NU,x.$1,rn.Ls,gn.w,bn.lU,En.h,pn.ix,Sn.Ie,Qn.SY,mn.p9,h.tP,dn.dQ,h.PC,In.b,Nn.q,Pn.m,F.n_,F.AA,vn.R7,vn.uj],pipes:[Jn.I,Yn.wr],styles:["[_nghost-%COMP%]{display:block}nz-list[_ngcontent-%COMP%] .kept[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .added[_ngcontent-%COMP%]{background-color:#f6ffed;color:#135200}nz-list[_ngcontent-%COMP%] .removed[_ngcontent-%COMP%]{background-color:#fff1f0;color:#820014}nz-list[_ngcontent-%COMP%] .suggested[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}nz-list[_ngcontent-%COMP%] .current[_ngcontent-%COMP%]{background-color:#f0f5ff;color:#061178}"]}),e})();var me=i(8747),de=i(6699);function ve(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"cvc-revision-list",14),n.NdJ("revisionSetSelectedEvent",function(d){return n.CHM(o),n.oxw(2).onRevisionSetSelected(d)})("revisionMutationCompleted",function(){return n.CHM(o),n.oxw(2).refresh()}),n.ALo(1,"ngrxPush"),n.qZA()}if(2&e){const o=n.oxw(2);n.Q6J("revisions",n.lcZ(1,2,o.revisions$))("refetchQuery",o.refetchQuery)}}function fe(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"button",17),n.NdJ("click",function(){n.CHM(o);const d=n.oxw(2).ngrxLet;return n.oxw(2).loadMore(null==d?null:d.endCursor)}),n._uU(1,"Load More"),n.qZA()}}function ue(e,l){1&e&&(n.ynx(0),n.YNc(1,fe,2,0,"button",16),n.BQk())}function ze(e,l){if(1&e&&(n.ynx(0),n.YNc(1,ue,2,0,"ng-container",15),n.BQk()),2&e){const o=l.ngrxLet;n.xp6(1),n.Q6J("ngIf",null==o?null:o.hasNextPage)}}function Ce(e,l){if(1&e){const o=n.EpF();n.TgZ(0,"nz-row"),n.TgZ(1,"nz-tag",19),n.NdJ("nzOnClose",function(){return n.CHM(o),n.oxw(3).onSetFilterClearClicked()}),n._uU(2),n.qZA(),n.qZA()}if(2&e){const o=n.oxw(3);n.xp6(2),n.hij("Group: ",o.filteredSet,"")}}function Te(e,l){1&e&&(n.TgZ(0,"nz-space",4),n.YNc(1,Ce,3,1,"nz-row",18),n.qZA())}function xe(e,l){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const o=l.$implicit;n.xp6(1),n.Oqu(o.displayName)}}function he(e,l){if(1&e&&n._UZ(0,"nz-avatar",22),2&e){const o=n.oxw().$implicit;n.Q6J("nzSrc",o.profileImagePath)}}function ye(e,l){if(1&e&&(n._UZ(0,"nz-avatar",23),n.ALo(1,"uppercase")),2&e){const o=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,o.username.charAt(0)))}}function Ae(e,l){if(1&e&&(n.YNc(0,he,1,1,"nz-avatar",20),n.YNc(1,ye,2,3,"ng-template",null,21,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(2);n.Q6J("ngIf",o.profileImagePath)("ngIfElse",_),n.xp6(4),n.Oqu(o.username)}}function Ze(e,l){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const o=l.$implicit;n.xp6(1),n.Oqu(o.displayName)}}function Oe(e,l){if(1&e&&n._UZ(0,"nz-avatar",22),2&e){const o=n.oxw().$implicit;n.Q6J("nzSrc",o.profileImagePath)}}function Re(e,l){if(1&e&&(n._UZ(0,"nz-avatar",23),n.ALo(1,"uppercase")),2&e){const o=n.oxw().$implicit;n.Q6J("nzText",n.lcZ(1,1,o.username.charAt(0)))}}function Fe(e,l){if(1&e&&(n.YNc(0,Oe,1,1,"nz-avatar",20),n.YNc(1,Re,2,3,"ng-template",null,21,n.W1O),n.TgZ(3,"span"),n._uU(4),n.qZA()),2&e){const o=l.$implicit,_=n.MAs(2);n.Q6J("ngIf",o.profileImagePath)("ngIfElse",_),n.xp6(4),n.Oqu(o.username)}}function Le(e,l){if(1&e){const o=n.EpF();n.ynx(0),n.TgZ(1,"nz-row",2),n.TgZ(2,"nz-col",3),n.TgZ(3,"nz-space",4),n.YNc(4,ve,2,4,"cvc-revision-list",5),n.YNc(5,ze,2,1,"ng-container",6),n.qZA(),n.qZA(),n.TgZ(6,"nz-col",7),n.YNc(7,Te,2,0,"nz-space",8),n.TgZ(8,"cvc-participant-list",9),n.NdJ("participantSelectedEvent",function(d){return n.CHM(o),n.oxw().onStatusSelected(d)}),n.YNc(9,xe,2,1,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(11,"cvc-participant-list",11),n.NdJ("participantSelectedEvent",function(d){return n.CHM(o),n.oxw().onRevisorSelected(d)}),n.ALo(12,"ngrxPush"),n.YNc(13,Ae,5,3,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(15,"cvc-participant-list",12),n.NdJ("participantSelectedEvent",function(d){return n.CHM(o),n.oxw().onFieldNameSelected(d)}),n.ALo(16,"ngrxPush"),n.YNc(17,Ze,2,1,"ng-template",null,10,n.W1O),n.qZA(),n.TgZ(19,"cvc-participant-list",13),n.NdJ("participantSelectedEvent",function(d){return n.CHM(o),n.oxw().onResolverSelected(d)}),n.ALo(20,"ngrxPush"),n.YNc(21,Fe,5,3,"ng-template",null,10,n.W1O),n.qZA(),n.qZA(),n.qZA(),n.BQk()}if(2&e){const o=n.oxw();n.xp6(1),n.Q6J("nzGutter",16),n.xp6(4),n.Q6J("ngrxLet",o.pageInfo$),n.xp6(2),n.Q6J("ngIf",o.filteredSet),n.xp6(1),n.Q6J("preselectedOption",o.selectableStatuses[0])("participantList",o.selectableStatuses),n.xp6(3),n.Q6J("participantList",n.lcZ(12,8,o.uniqueRevisors$)),n.xp6(4),n.Q6J("participantList",n.lcZ(16,10,o.revisionFields$)),n.xp6(4),n.Q6J("participantList",n.lcZ(20,12,o.uniqueResolvers$))}}function Me(e,l){1&e&&(n.ynx(0),n.TgZ(1,"nz-row",25),n._UZ(2,"i",26),n.qZA(),n.BQk())}function be(e,l){1&e&&n._UZ(0,"nz-empty",27)}function Ee(e,l){if(1&e&&(n.YNc(0,Me,3,0,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,be,1,0,"ng-template",null,24,n.W1O)),2&e){const o=n.MAs(3),_=n.oxw();n.Q6J("ngIf",n.lcZ(1,2,_.isLoading$))("ngIfElse",o)}}let Se=(()=>{class e{constructor(o,_,d,R,_n,pt,Qe){this.gql=o,this.route=_,this.variantDetailGql=d,this.variantGroupDetailGql=R,this.assertionDetailGql=_n,this.geneDetailGql=pt,this.evidenceDetailGql=Qe,this.filteredSet=void 0,this.selectableStatuses=[{id:4,displayName:"New",value:r.FJi.New},{id:1,displayName:"Accepted",value:r.FJi.Accepted},{id:2,displayName:"Rejected",value:r.FJi.Rejected},{id:3,displayName:"Superseded",value:r.FJi.Superseded}],this.defaultPageSize=10}ngOnInit(){switch(this.routeSub=this.route.params.subscribe(o=>{this.queryRef=this.gql.watch({first:this.defaultPageSize,subject:{id:this.id,entityType:this.entityType},status:r.FJi.New});let _=this.queryRef.valueChanges;this.revisions$=_.pipe((0,a.j)("data","revisions","edges"),(0,T.U)(d=>d.map(R=>R.node))),this.isLoading$=_.pipe((0,T.U)(d=>d.loading),(0,t.O)(!0)),this.pageInfo$=_.pipe((0,a.j)("data","revisions","pageInfo")),this.uniqueRevisors$=_.pipe((0,T.U)(({data:d})=>{var R;return null===(R=d.revisions)||void 0===R?void 0:R.uniqueRevisors})),this.uniqueResolvers$=_.pipe((0,T.U)(({data:d})=>{var R;return null===(R=d.revisions)||void 0===R?void 0:R.uniqueResolvers})),this.revisionFields$=_.pipe((0,T.U)(({data:d})=>{var R;return null===(R=d.revisions)||void 0===R?void 0:R.revisedFieldNames.map((_n,pt)=>Object.assign(Object.assign({},_n),{id:pt}))})),this.unfilteredCount$=_.pipe((0,a.j)("data","revisions","unfilteredCountForSubject"))}),this.entityType){case r.oRL.Variant:return void(this.refetchQuery={query:this.variantDetailGql.document,variables:{variantId:this.id}});case r.oRL.Assertion:return void(this.refetchQuery={query:this.assertionDetailGql.document,variables:{assertionId:this.id}});case r.oRL.EvidenceItem:return void(this.refetchQuery={query:this.evidenceDetailGql.document,variables:{evidenceId:this.id}});case r.oRL.Gene:return void(this.refetchQuery={query:this.geneDetailGql.document,variables:{geneId:this.id}});case r.oRL.VariantGroup:return void(this.refetchQuery={query:this.variantGroupDetailGql.document,variables:{variantGroupId:this.id}})}}ngOnDestroy(){var o;null===(o=this.routeSub)||void 0===o||o.unsubscribe()}onFieldNameSelected(o){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},fieldName:o?o.name:void 0})}onRevisorSelected(o){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},originatingUserId:o?o.id:void 0})}onResolverSelected(o){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},resolvingUserId:o?o.id:void 0})}onStatusSelected(o){this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},status:o?o.value:void 0})}onRevisionSetSelected(o){this.filteredSet=o,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},revisionsetId:o||void 0})}onSetFilterClearClicked(){this.filteredSet=void 0,this.queryRef.refetch({subject:{id:this.id,entityType:this.entityType},revisionsetId:void 0})}refresh(){this.queryRef.refetch()}loadMore(o){var _;null===(_=this.queryRef)||void 0===_||_.fetchMore({variables:{first:this.defaultPageSize,after:o}})}}return e.\u0275fac=function(o){return new(o||e)(n.Y36(r.L5n),n.Y36(m.gz),n.Y36(r.iJT),n.Y36(r.Qtd),n.Y36(r.A94),n.Y36(r.TNk),n.Y36(r.pHu))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-revisions-list-and-filter"]],inputs:{id:"id",entityType:"entityType"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noRevisions",""],[3,"nzGutter"],["nzSpan","18"],["nzDirection","vertical"],[3,"revisions","refetchQuery","revisionSetSelectedEvent","revisionMutationCompleted",4,"nzSpaceItem"],[4,"ngrxLet"],["nzSpan","6"],["nzDirection","vertical",4,"ngIf"],["listTitle","Revision Status",3,"preselectedOption","participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Revisors",3,"participantList","participantSelectedEvent"],["listTitle","Fields Revised",3,"participantList","participantSelectedEvent"],["listTitle","Resolvers",3,"participantList","participantSelectedEvent"],[3,"revisions","refetchQuery","revisionSetSelectedEvent","revisionMutationCompleted"],[4,"ngIf"],["nz-button","","nzBlock","","nzType","default",3,"click",4,"nzSpaceItem"],["nz-button","","nzBlock","","nzType","default",3,"click"],[4,"nzSpaceItem"],["nzMode","closeable",3,"nzOnClose"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],["noneFound",""],["nzJustify","center"],["nz-icon","","nzType","loading",2,"font-size","32px"],["nzNotFoundImage","simple","nzNotFoundContent","Entity has no Revisions"]],template:function(o,_){if(1&o&&(n.YNc(0,Le,23,14,"ng-container",0),n.ALo(1,"ngrxPush"),n.YNc(2,Ee,4,4,"ng-template",null,1,n.W1O)),2&o){const d=n.MAs(3);n.Q6J("ngIf",n.lcZ(1,2,_.unfilteredCount$))("ngIfElse",d)}},directives:[h.O5,O.SK,O.t3,x.NU,x.$1,pe,w.eJ,pn.ix,dn.dQ,gn.w,z.j,me.l,de.Dz,rn.Ls,mn.p9],pipes:[w.fM,h.gd],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}"]}),e})()},2914:(G,Q,i)=>{i.d(Q,{A:()=>w});var r=i(9808),a=i(6949),T=i(1894),t=i(3762),n=i(7484),m=i(8144),h=i(8481),O=i(3618),x=i(1150),L=i(6699),S=i(6059),U=i(685),y=i(6042),N=i(647),P=i(5e3);let w=(()=>{class D{}return D.\u0275fac=function(F){return new(F||D)},D.\u0275mod=P.oAB({type:D}),D.\u0275inj=P.cJS({imports:[[r.ez,a.WG,T.Jb,t.Ph,n.vh,m.zf,h.X,O.ZJ,L.Rt,U.Xo,y.sL,N.PV,x.N,S.i]]}),D})()},759:(G,Q,i)=>{i.d(Q,{N:()=>V});var r=i(373),a=i(5e3),T=i(712),t=i(3618),n=i(9808),m=i(325),h=i(6699),O=i(3610),x=i(6265),L=i(3098),S=i(2937);function U(C,b){1&C&&(a.ynx(0),a._uU(1,", "),a.BQk())}function y(C,b){if(1&C&&(a.ynx(0),a._uU(1),a.ALo(2,"eventVerbiage"),a.YNc(3,U,2,0,"ng-container",12),a.BQk()),2&C){const A=b.$implicit,B=b.last;a.xp6(1),a.hij(" ",a.Dn7(2,2,A.action,"contributor-card",A.count),""),a.xp6(2),a.Q6J("ngIf",!B)}}function N(C,b){if(1&C&&(a.TgZ(0,"nz-descriptions",8),a.TgZ(1,"nz-descriptions-item",9),a.YNc(2,y,4,6,"ng-container",10),a.qZA(),a.TgZ(3,"nz-descriptions-item",11),a._uU(4),a.ALo(5,"date"),a.qZA(),a.qZA()),2&C){const A=a.oxw(2).$implicit;a.Q6J("nzColumn",1),a.xp6(2),a.Q6J("ngForOf",A.uniqueActions),a.xp6(2),a.hij(" ",a.lcZ(5,3,A.lastActionDate)," ")}}function P(C,b){if(1&C&&(a.TgZ(0,"cvc-user-popover",6),a.YNc(1,N,6,5,"ng-template",null,7,a.W1O),a.qZA()),2&C){const A=a.oxw().$implicit;a.Q6J("userId",A.user.id)}}function w(C,b){if(1&C&&(a.TgZ(0,"a",3),a._UZ(1,"nz-avatar",4),a.YNc(2,P,3,1,"ng-template",null,5,a.W1O),a.qZA()),2&C){const A=b.$implicit,B=a.MAs(3);a.MGl("routerLink","/users/",A.user.id,""),a.xp6(1),a.Q6J("nzSize",14)("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",B)("nzSrc",A.user.profileImagePath)}}function D(C,b){if(1&C&&(a.ynx(0),a.YNc(1,w,4,5,"a",2),a.BQk()),2&C){const A=a.oxw();a.xp6(1),a.Q6J("ngForOf",A.sortedContributors)}}function u(C,b){1&C&&a._uU(0," None\n")}let F=(()=>{class C{ngOnInit(){if(void 0===this.contributors)throw new Error("Must pass a list of contributors into the contributor stack");this.sortedContributors=this.contributors.slice(),this.sortedContributors.sort((A,B)=>B.totalActionCount-A.totalActionCount)}}return C.\u0275fac=function(A){return new(A||C)},C.\u0275cmp=a.Xpm({type:C,selectors:[["cvc-contributor-stack"]],inputs:{contributors:"contributors"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["noContributors",""],["class","avatar",3,"routerLink",4,"ngFor","ngForOf"],[1,"avatar",3,"routerLink"],["nz-popover","","nzPopoverTrigger","hover","nzPopoverPlacement","bottomRight","nzIcon","user","nzSize","small",3,"nzSize","nzPopoverMouseEnterDelay","nzPopoverContent","nzSrc"],["curatorPopover",""],[3,"userId"],["additionalMetadata",""],["nzBordered","","nzTitle","Activity","nzSize","small",3,"nzColumn"],["nzTitle","Contributions"],[4,"ngFor","ngForOf"],["nzTitle","Last Contribution"],[4,"ngIf"]],template:function(A,B){if(1&A&&(a.YNc(0,D,2,1,"ng-container",0),a.YNc(1,u,1,0,"ng-template",null,1,a.W1O)),2&A){const H=a.MAs(2);a.Q6J("ngIf",B.sortedContributors&&B.sortedContributors.length>0)("ngIfElse",H)}},directives:[n.O5,n.sg,m.yS,h.Dz,O.lU,x.q,L.R7,L.uj],pipes:[S.R,n.uU],styles:[""]}),C})();var z=i(6949);function M(C,b){if(1&C&&(a.ynx(0),a._UZ(1,"cvc-contributor-stack",5),a.BQk()),2&C){const A=b.ngIf;a.xp6(1),a.Q6J("contributors",A)}}function J(C,b){1&C&&a._uU(0," None ")}function $(C,b){if(1&C&&(a.ynx(0),a._UZ(1,"cvc-contributor-stack",5),a.BQk()),2&C){const A=b.ngIf;a.xp6(1),a.Q6J("contributors",A)}}function K(C,b){1&C&&a._uU(0," None ")}let V=(()=>{class C{constructor(A){this.gql=A}ngOnInit(){if(void 0===this.subscribable)throw new Error("Must pass a subscribable into ContributorAvatars component.");let A=this.gql.watch({subscribable:this.subscribable}).valueChanges;this.curators$=A.pipe((0,r.j)("data","contributors","curators")),this.editors$=A.pipe((0,r.j)("data","contributors","editors"))}}return C.\u0275fac=function(A){return new(A||C)(a.Y36(T.kQf))},C.\u0275cmp=a.Xpm({type:C,selectors:[["cvc-contributor-avatars"]],inputs:{subscribable:"subscribable"},decls:14,vars:8,consts:[["nz-typography","","nzType","secondary",1,"role-group-label"],[1,"role-group"],[4,"ngIf","ngIfElse"],["noCurators",""],["noEditors",""],[3,"contributors"]],template:function(A,B){if(1&A&&(a.TgZ(0,"span",0),a._uU(1,"Curators:"),a.qZA(),a.TgZ(2,"div",1),a.YNc(3,M,2,1,"ng-container",2),a.ALo(4,"ngrxPush"),a.YNc(5,J,1,0,"ng-template",null,3,a.W1O),a.qZA(),a.TgZ(7,"span",0),a._uU(8,"Editors:"),a.qZA(),a.TgZ(9,"div",1),a.YNc(10,$,2,1,"ng-container",2),a.ALo(11,"ngrxPush"),a.YNc(12,K,1,0,"ng-template",null,4,a.W1O),a.qZA()),2&A){const H=a.MAs(6),f=a.MAs(13);a.xp6(3),a.Q6J("ngIf",a.lcZ(4,4,B.curators$))("ngIfElse",H),a.xp6(7),a.Q6J("ngIf",a.lcZ(11,6,B.editors$))("ngIfElse",f)}},directives:[t.ZU,n.O5,F],pipes:[z.fM],styles:["[_nghost-%COMP%]{display:inline-block}.role-group-label[_ngcontent-%COMP%]{margin-left:12px}.role-group[_ngcontent-%COMP%]{display:inline-block}.role-group[_ngcontent-%COMP%] .avatar[_ngcontent-%COMP%]{display:inline-block;margin-left:2px}"]}),C})()},5750:(G,Q,i)=>{i.d(Q,{Z:()=>U});var r=i(9808),a=i(6949),T=i(3618),t=i(325),n=i(6699),m=i(3610),h=i(9444),O=i(6081),x=i(3098),L=i(5e3);let S=(()=>{class y{}return y.\u0275fac=function(P){return new(P||y)},y.\u0275mod=L.oAB({type:y}),y.\u0275inj=L.cJS({imports:[[r.ez,t.Bz,n.Rt,m.$6,x.q6,h.s,O.J]]}),y})(),U=(()=>{class y{}return y.\u0275fac=function(P){return new(P||y)},y.\u0275mod=L.oAB({type:y}),y.\u0275inj=L.cJS({imports:[[r.ez,a.WG,T.ZJ,S]]}),y})()},9077:(G,Q,i)=>{i.d(Q,{Q:()=>D});var r=i(6123),a=i(712),T=i(8929),t=i(4850),n=i(7625),m=i(5e3),h=i(9169),O=i(9808),x=i(6042),L=i(2643),S=i(2683),U=i(404),y=i(647),N=i(6949);function P(u,F){if(1&u){const z=m.EpF();m.ynx(0),m.TgZ(1,"button",2),m.NdJ("click",function(){return m.CHM(z),m.oxw().unsubscribe()}),m._UZ(2,"i",3),m.qZA(),m.BQk()}if(2&u){const z=m.oxw();m.xp6(1),m.Q6J("nzLoading",z.isSubmitting)}}function w(u,F){if(1&u){const z=m.EpF();m.TgZ(0,"button",4),m.NdJ("click",function(){return m.CHM(z),m.oxw().subscribe()}),m._UZ(1,"i",5),m.qZA()}if(2&u){const z=m.oxw();m.Q6J("nzLoading",z.isSubmitting)}}let D=(()=>{class u{constructor(z,M,J,$){this.isSubscribedGQL=z,this.unsubscribeMutation=M,this.subscribeMutation=J,this.networkErrorService=$,this.isSubmitting=!1,this.destroy$=new T.xQ,this.unsubscribeMutator=new r.U($),this.subscribeMutator=new r.U($)}ngOnInit(){if(void 0===this.viewer)throw new Error("Must pass in a viewer to the CvcEntitySubscriptionButtonComponent");if(void 0===this.typename)throw new Error("Must pass in a typename to the CvcEntitySubscriptionButtonComponent");if(void 0===this.subscribableId)throw new Error("Must pass in a subscribableId to the CvcEntitySubscriptionButtonComponent");this.subscribable={id:this.subscribableId,entityType:a.o71[this.typename]},this.queryRef=this.isSubscribedGQL.watch({subscribable:this.subscribable}),this.existingSubscription$=this.queryRef.valueChanges.pipe((0,t.U)(({data:M})=>M.subscriptionForEntity))}subscribe(){this.subscribable&&(this.isSubmitting=!0,this.subscribeMutator.mutate(this.subscribeMutation,{input:{subscribables:[this.subscribable]}}).submitSuccess$.pipe((0,n.R)(this.destroy$)).subscribe(M=>{var J;M&&(null===(J=this.queryRef)||void 0===J||J.refetch(),this.isSubmitting=!1)}))}unsubscribe(){this.subscribable&&(this.isSubmitting=!0,this.unsubscribeMutator.mutate(this.unsubscribeMutation,{input:{subscribables:[this.subscribable]}}).submitSuccess$.pipe((0,n.R)(this.destroy$)).subscribe(M=>{var J;M&&(null===(J=this.queryRef)||void 0===J||J.refetch(),this.isSubmitting=!1)}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return u.\u0275fac=function(z){return new(z||u)(m.Y36(a.A4J),m.Y36(a.m$d),m.Y36(a.jMx),m.Y36(h.Y))},u.\u0275cmp=m.Xpm({type:u,selectors:[["cvc-entity-subscription-button"]],inputs:{viewer:"viewer",typename:"typename",subscribableId:"subscribableId"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noSub",""],["nz-button","","nz-tooltip","Unsubscribe","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","bell","nzTheme","fill"],["nz-button","","nz-tooltip","Subscribe","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","bell","nzTheme","outline"]],template:function(z,M){if(1&z&&(m.YNc(0,P,3,1,"ng-container",0),m.ALo(1,"ngrxPush"),m.YNc(2,w,2,1,"ng-template",null,1,m.W1O)),2&z){const J=m.MAs(3);m.Q6J("ngIf",m.lcZ(1,2,M.existingSubscription$))("ngIfElse",J)}},directives:[O.O5,x.ix,L.dQ,S.w,U.SY,y.Ls],pipes:[N.fM],styles:["[_nghost-%COMP%]{display:block}"]}),u})()},4609:(G,Q,i)=>{i.d(Q,{g:()=>h});var r=i(9808),a=i(6042),T=i(6949),t=i(647),n=i(404),m=i(5e3);let h=(()=>{class O{}return O.\u0275fac=function(L){return new(L||O)},O.\u0275mod=m.oAB({type:O}),O.\u0275inj=m.cJS({imports:[[r.ez,a.sL,t.PV,n.cg,T.WG]]}),O})()},7701:(G,Q,i)=>{i.d(Q,{j:()=>H});var r=i(6654),a=i(5e3),T=i(9808),t=i(325),n=i(8481),m=i(3610),h=i(4850),O=i(712),x=i(7484),L=i(647),S=i(6550),U=i(3098),y=i(6949);function N(f,I){if(1&f&&(a._UZ(0,"i",7),a._uU(1)),2&f){const Z=a.oxw().ngIf;a.xp6(1),a.hij(" ",Z.name," ")}}function P(f,I){if(1&f&&(a.TgZ(0,"cvc-link-tag",9),a._uU(1),a.qZA()),2&f){const Z=a.oxw(2).ngIf;a.Q6J("href",Z.url),a.xp6(1),a.hij(" ",Z.soid," ")}}function w(f,I){if(1&f&&a.YNc(0,P,2,2,"cvc-link-tag",8),2&f){const Z=a.oxw().ngIf;a.Q6J("ngIf","N/A"!=Z.soid)}}function D(f,I){if(1&f&&(a.ynx(0),a.TgZ(1,"nz-card",2),a.YNc(2,N,2,1,"ng-template",null,3,a.W1O),a.YNc(4,w,1,1,"ng-template",null,4,a.W1O),a.TgZ(6,"nz-descriptions",5),a.TgZ(7,"nz-descriptions-item",6),a._uU(8),a.qZA(),a.qZA(),a.qZA(),a.BQk()),2&f){const Z=I.ngIf,W=a.MAs(3),k=a.MAs(5);a.xp6(1),a.Q6J("nzTitle",W)("nzExtra",k),a.xp6(5),a.Q6J("nzColumn",2),a.xp6(2),a.hij(" ",Z.variantCount," ")}}let u=(()=>{class f{constructor(Z){this.gql=Z}ngOnInit(){if(null==this.variantTypeId)throw new Error("cvc-variant-type-popover requires valid variantTypeId input.");this.variantType$=this.gql.watch({variantTypeId:this.variantTypeId}).valueChanges.pipe((0,h.U)(({data:Z})=>Z.variantTypePopover))}}return f.\u0275fac=function(Z){return new(Z||f)(a.Y36(O.tw_))},f.\u0275cmp=a.Xpm({type:f,selectors:[["cvc-variant-type-popover"]],inputs:{variantTypeId:"variantTypeId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2"],["nz-icon","","nzType","civic-varianttype",1,"variant-type-tag-icon"],["tooltip","View on SequenceOntology.org",3,"href",4,"ngIf"],["tooltip","View on SequenceOntology.org",3,"href"]],template:function(Z,W){1&Z&&(a.TgZ(0,"div",0),a.YNc(1,D,9,4,"ng-container",1),a.ALo(2,"ngrxPush"),a.qZA()),2&Z&&(a.xp6(1),a.Q6J("ngIf",a.lcZ(2,1,W.variantType$)))},directives:[T.O5,x.bd,L.Ls,S.l,U.R7,U.uj],pipes:[y.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),f})();function F(f,I){}function z(f,I){if(1&f&&(a.ynx(0),a.TgZ(1,"a",5),a.YNc(2,F,0,0,"ng-template",6),a.qZA(),a.BQk()),2&f){const Z=a.oxw(),W=a.MAs(2);a.xp6(1),a.Q6J("routerLink",Z.variantType.link),a.xp6(1),a.Q6J("ngTemplateOutlet",W)}}function M(f,I){}function J(f,I){if(1&f&&(a.TgZ(0,"nz-tag",9),a.YNc(1,M,0,0,"ng-template",6),a.qZA()),2&f){a.oxw();const Z=a.MAs(2);a.oxw();const W=a.MAs(8);a.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",Z),a.xp6(1),a.Q6J("ngTemplateOutlet",W)}}function $(f,I){if(1&f&&a._UZ(0,"cvc-variant-type-popover",10),2&f){const Z=a.oxw(2);a.Q6J("variantTypeId",Z.variantType.id)}}function K(f,I){if(1&f&&(a.YNc(0,J,2,3,"nz-tag",7),a.YNc(1,$,1,1,"ng-template",null,8,a.W1O)),2&f){const Z=a.oxw(),W=a.MAs(6);a.Q6J("ngIf",Z.enablePopover)("ngIfElse",W)}}function V(f,I){}function C(f,I){if(1&f&&a.YNc(0,V,0,0,"ng-template",6),2&f){a.oxw();const Z=a.MAs(2);a.Q6J("ngTemplateOutlet",Z)}}function b(f,I){}function A(f,I){if(1&f&&(a.TgZ(0,"nz-tag"),a.YNc(1,b,0,0,"ng-template",6),a.qZA()),2&f){a.oxw();const Z=a.MAs(8);a.xp6(1),a.Q6J("ngTemplateOutlet",Z)}}function B(f,I){if(1&f&&(a._UZ(0,"i",11),a._uU(1)),2&f){const Z=a.oxw();a.xp6(1),a.hij(" ",Z.variantType.name,"\n")}}let H=(()=>{class f extends r.a{constructor(){super(),this.linked=!0,this.enablePopover=!0}idFunction(){return this.variantType.id}ngOnInit(){if(void 0===this.variantType)throw new Error("cvc-variant-type-tag requires LinkableVariantType input, none supplied.")}}return f.\u0275fac=function(Z){return new(Z||f)},f.\u0275cmp=a.Xpm({type:f,selectors:[["cvc-variant-type-tag"]],inputs:{variantType:"variantType",linked:"linked",enablePopover:"enablePopover"},features:[a.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["noPopover",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["variantTypePopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"variantTypeId"],["nz-icon","","nzType","civic-varianttype","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(Z,W){if(1&Z&&(a.YNc(0,z,3,2,"ng-container",0),a.YNc(1,K,3,2,"ng-template",null,1,a.W1O),a.YNc(3,C,1,1,"ng-template",null,2,a.W1O),a.YNc(5,A,2,1,"ng-template",null,3,a.W1O),a.YNc(7,B,2,1,"ng-template",null,4,a.W1O)),2&Z){const k=a.MAs(4);a.Q6J("ngIf",W.linked)("ngIfElse",k)}},directives:[T.O5,t.yS,T.tP,n.j,m.lU,u,L.Ls],styles:["[_nghost-%COMP%]{display:block}"]}),f})()},8645:(G,Q,i)=>{i.d(Q,{M:()=>U});var r=i(9808),a=i(325),T=i(8481),t=i(7484),n=i(3630),m=i(3098),h=i(6949),O=i(647),x=i(5e3);let L=(()=>{class y{}return y.\u0275fac=function(P){return new(P||y)},y.\u0275mod=x.oAB({type:y}),y.\u0275inj=x.cJS({imports:[[r.ez,h.WG,O.PV,t.vh,m.q6,n.X]]}),y})();var S=i(3610);let U=(()=>{class y{}return y.\u0275fac=function(P){return new(P||y)},y.\u0275mod=x.oAB({type:y}),y.\u0275inj=x.cJS({imports:[[r.ez,a.Bz,O.PV,T.X,S.$6,L]]}),y})()},1243:(G,Q,i)=>{i.d(Q,{I:()=>a});var r=i(5e3);let a=(()=>{class T{transform(n){if(n){let h=n.toLowerCase().replace(/_/g," ").split(" ");for(var m=0;m{n.r(v),n.d(v,{AssertionAddModule:()=>Ft});var m=n(9808),c=n(325),t=n(5e3),T=n(8992),p=n(1945),A=n(647);let Z=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-assertion-add"]],decls:10,vars:0,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:assertion"],[1,"content"]],template:function(o,r){1&o&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1),t.TgZ(2,"nz-page-header-title",2),t._UZ(3,"i",3),t._uU(4," Add New Assertion "),t.qZA(),t.TgZ(5,"nz-page-header-subtitle"),t._uU(6," Submit and review new assertion items "),t.qZA(),t.TgZ(7,"nz-page-header-content"),t.TgZ(8,"div",4),t._UZ(9,"router-outlet"),t.qZA(),t.qZA(),t.qZA())},directives:[T.I,p.$O,p.u9,A.Ls,p.yG,p.u5,c.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var u=n(4182),z=n(5109),f=n(4546),x=n(2359),b=n(1894),P=n(6042),C=n(7525),S=n(8776),I=n(1825),F=n(7008),U=n(4375),J=n(7695),N=n(7075),G=n(8390),L=n(3773),D=n(5452),Q=n(5743),$=n(5457),V=n(8006),Y=n(7462),R=n(4623),B=n(3594),j=n(3643),E=n(1135),X=n(2789),K=n(5932),W=n(3416),H=n(2480),w=n(1830),k=n(4581),_=n(1605),q=n(5926),tt=n(1270),et=n(3314),nt=n(3759),ot=n(4902),it=n(5486),st=n(464),rt=n(7795),at=n(5472),dt=n(9946),lt=n(9754),mt=n(4889),O=n(7484),h=n(8144),M=n(3618);let ct=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[m.ez,c.Bz,u.UX,z.s,f.U5,x.L,b.Jb,P.sL,C.j,S.X0,I.A,F.B,U.R,J.C,N.l,G.N,L.g,D.C,Q.W,$.$,V.I,Y.o,R.K,B.q,j.q,E.C,X.o,K.A,W.g,H.r,w.S,k.e,_.e,q.J,tt.i,et.p,nt.D,ot.a,it.$,st.N,rt.k,at.r,dt.d,z.s,lt.K,mt.E,h.zf,O.vh,M.ZJ]]}),e})(),pt=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[m.ez,ct]]}),e})();var ut=n(6123),d=n(6738),gt=n(8929),y=n(7625),ft=n(1837),ht=n(712),yt=n(9169),vt=n(822);function At(e,s){1&e&&(t.TgZ(0,"nz-card"),t.TgZ(1,"nz-typography"),t._uU(2," To add an assertion, please complete the following form, provide a short statement supporting its inclusion into the CIViC database, then click the 'Submit Assertion for Inclusion' button. "),t._UZ(3,"br"),t._UZ(4,"br"),t.TgZ(5,"strong"),t._uU(6,"Please ensure that your submission contains no "),t.TgZ(7,"a",3),t._uU(8,"Protected Health Information"),t.qZA(),t._uU(9,", and is your own original work. By contributing to CIViC you agree to release your contributions to the public domain as described by the "),t.TgZ(10,"a",4),t._uU(11,"Creative Commons Public Domain Dedication (CC0 1.0 Universal)"),t.qZA(),t._uU(12,"."),t.qZA(),t.qZA(),t.qZA())}function zt(e,s){1&e&&t.GkF(0)}function xt(e,s){if(1&e){const o=t.EpF();t.TgZ(0,"formly-form",10),t.NdJ("modelChange",function(a){return t.CHM(o),t.oxw(2).formModel=a}),t.qZA()}if(2&e){const o=t.oxw(2);t.Q6J("form",o.formGroup)("fields",o.formFields)("model",o.formModel)("options",o.formOptions)}}function bt(e,s){if(1&e&&(t.TgZ(0,"nz-form-item"),t._UZ(1,"cvc-form-errors-alert",12),t.qZA()),2&e){const o=t.oxw(3);t.xp6(1),t.Q6J("errors",o.errorMessages)}}function Ct(e,s){if(1&e&&(t.TgZ(0,"p"),t._uU(1,"View "),t.TgZ(2,"a",16),t._uU(3,"its details"),t.qZA(),t._uU(4,"."),t.qZA()),2&e){const o=t.oxw(4);t.xp6(2),t.MGl("routerLink","/assertions/",o.newId,"/summary")}}function St(e,s){if(1&e&&(t.ynx(0),t._UZ(1,"nz-alert",13),t.YNc(2,Ct,5,1,"ng-template",14,15,t.W1O),t.BQk()),2&e){const o=t.MAs(3);t.xp6(1),t.Q6J("nzDescription",o)}}function Ot(e,s){if(1&e&&(t.YNc(0,bt,2,1,"nz-form-item",11),t.YNc(1,St,4,1,"ng-container",11)),2&e){const o=t.oxw(2);t.Q6J("ngIf",o.errorMessages.length>0),t.xp6(1),t.Q6J("ngIf",o.success)}}function Mt(e,s){if(1&e){const o=t.EpF();t.TgZ(0,"nz-spin",5),t.TgZ(1,"form",6),t.NdJ("ngSubmit",function(){t.CHM(o);const a=t.oxw();return a.submitAssertion(a.formModel)}),t.YNc(2,zt,1,0,"ng-container",7),t.YNc(3,xt,1,4,"formly-form",8),t.qZA(),t.YNc(4,Ot,2,2,"ng-template",null,9,t.W1O),t.qZA()}if(2&e){const o=t.MAs(5),r=t.oxw();t.Q6J("nzSpinning",r.loading),t.xp6(1),t.Q6J("formGroup",r.formGroup),t.xp6(1),t.Q6J("ngTemplateOutlet",o),t.xp6(1),t.Q6J("ngIf",!r.success)}}let Tt=(()=>{class e{constructor(o,r){this.submitAssertionGQL=o,this.networkErrorService=r,this.destroy$=new gt.xQ,this.formGroup=new u.cw({}),this.formOptions={formState:new ft._},this.success=!1,this.errorMessages=[],this.loading=!1,this.submitAssertionMutator=new ut.U(r),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Add Assertion Form"},fieldGroup:[{key:"gene",type:"gene-array",templateOptions:{maxCount:1,required:!0}},{key:"variant",type:"variant-array",templateOptions:{required:!0,maxCount:1,allowCreate:!1}},{key:"variantOrigin",type:"variant-origin-select",templateOptions:{required:!0}},{key:"disease",type:"disease-array",templateOptions:{maxCount:1,allowCreate:!1}},{key:"evidenceType",type:"evidence-type-select",templateOptions:{label:"Assertion Type",required:!0}},{key:"evidenceDirection",type:"evidence-direction-select",templateOptions:{label:"Assertion Direction",required:!0}},{key:"clinicalSignificance",type:"clinical-significance-select",templateOptions:{required:!0}},{key:"drugs",type:"drug-array",templateOptions:{allowCreate:!1}},{key:"drugInteractionType",type:"drug-interaction-select",templateOptions:{}},{key:"ampLevel",type:"amp-level-input",templateOptions:{}},{key:"acmgCodes",type:"acmg-code-array",templateOptions:{label:"ACMG/AMP Code(s)"}},{key:"phenotypes",type:"phenotype-array",templateOptions:{}},{key:"nccnGuideline",type:"nccn-guideline-input",templateOptions:{}},{key:"nccnGuidelineVersion",type:"nccn-version-input",templateOptions:{}},{key:"fdaRegulatoryApproval",type:"fda-approval-checkbox",templateOptions:{modelCallback:g=>{this.formModel.fields.fdaRegulatoryApproval=g}}},{key:"fdaCompanionTest",type:"fda-test-checkbox",templateOptions:{modelCallback:g=>{this.formModel.fields.fdaCompanionTest=g}}},{key:"summary",type:"cvc-textarea",templateOptions:{label:"Assertion Summary",helpText:"A short, one sentence summary of this new assertion",placeholder:"No description provided",required:!0}},{key:"description",type:"cvc-textarea",templateOptions:{label:"Assertion Statement",helpText:"A complete, original description of this new assertion, limited to one paragraph",placeholder:"No description provided",required:!0}},{key:"evidenceItems",type:"multi-field",wrappers:["form-field","evidence-manager"],templateOptions:{label:"Evidence Items",helpText:"Evidence Items that support the assertion.",addText:"Add Evidence by ID",required:!0,eidCallback:g=>{this.formModel.fields.evidenceItems=g}},fieldArray:{type:"evidence-input",templateOptions:{required:!0}}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",helpText:"Please provide any additional comments you wish to make about this assertion. This comment will appear as the first comment in this item's comment thread.",placeholder:"Please enter a comment describing your assertion.",minLength:10}},{key:"cancel",type:"cancel-button"},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Assertion",submitSize:"large"}}]}]}toSubmitInput(o){var r,a;if(o){const i=o.fields;return{comment:i.comment&&0!=i.comment.length?i.comment:void 0,organizationId:null===(r=i.organization)||void 0===r?void 0:r.id,fields:{description:d.xt(i.description),summary:d.xt(i.summary),variantId:i.variant[0].id,geneId:i.gene[0].id,variantOrigin:i.variantOrigin,assertionType:i.evidenceType,clinicalSignificance:i.clinicalSignificance,diseaseId:d.uP(i.disease[0].id),assertionDirection:i.evidenceDirection,phenotypeIds:i.phenotypes.map(l=>l.id),drugIds:i.drugs.map(l=>l.id),drugInteractionType:d.uP(i.drugInteractionType),ampLevel:d.uP(i.ampLevel),nccnGuidelineId:d.uP(null===(a=i.nccnGuideline)||void 0===a?void 0:a.id),nccnGuidelineVersion:d.xt(i.nccnGuidelineVersion),acmgCodeIds:i.acmgCodes.map(l=>l.id),fdaCompanionTest:d.uP(i.fdaCompanionTest),fdaRegulatoryApproval:d.uP(i.fdaRegulatoryApproval),evidenceItemIds:i.evidenceItems.map(l=>l.id)}}}}submitAssertion(o){let r=this.toSubmitInput(o);if(r){let a=this.submitAssertionMutator.mutate(this.submitAssertionGQL,{input:r},{},i=>{this.newId=i.submitAssertion.assertion.id});a.submitSuccess$.pipe((0,y.R)(this.destroy$)).subscribe(i=>{i&&(this.success=!0)}),a.submitError$.pipe((0,y.R)(this.destroy$)).subscribe(i=>{i&&(this.errorMessages=i,this.success=!1)}),a.isSubmitting$.pipe((0,y.R)(this.destroy$)).subscribe(i=>{this.loading=i})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(o){return new(o||e)(t.Y36(ht.LLl),t.Y36(yt.Y))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-assertion-submit-form"]],decls:3,vars:0,consts:[["nzDirection","vertical"],[4,"nzSpaceItem"],["nzTip","Submitting",3,"nzSpinning",4,"nzSpaceItem"],["href","http://www.hipaa.com/hipaa-protected-health-information-what-does-phi-include/","target","_blank"],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],["formMessages",""],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Assertion Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],[3,"routerLink"]],template:function(o,r){1&o&&(t.TgZ(0,"nz-space",0),t.YNc(1,At,13,0,"nz-card",1),t.YNc(2,Mt,6,4,"nz-spin",2),t.qZA())},directives:[h.NU,h.$1,O.bd,M.ZU,C.W,u._Y,u.JL,f.Lr,u.sg,m.tP,m.O5,S.T7,b.SK,f.Nx,vt.V,x.r,c.yS],styles:["[_nghost-%COMP%]{display:block}"]}),e})();const Zt=[{path:"",component:Z,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-assertion-submit"]],decls:1,vars:0,template:function(o,r){1&o&&t._UZ(0,"cvc-assertion-submit-form")},directives:[Tt],styles:[""]}),e})(),data:{breadcrumb:"Submit New Assertion"}}]}];let Pt=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[c.Bz.forChild(Zt),pt],c.Bz]}),e})();var It=n(5630);let Ft=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[m.ez,Pt,p.KJ,A.PV,It.D]]}),e})()}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4456],{4456:(Ut,v,n)=>{n.r(v),n.d(v,{AssertionAddModule:()=>Ft});var m=n(9808),c=n(325),t=n(5e3),T=n(8992),p=n(1945),A=n(647);let Z=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-assertion-add"]],decls:10,vars:0,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:assertion"],[1,"content"]],template:function(o,r){1&o&&(t._UZ(0,"cvc-section-navigation",0),t.TgZ(1,"nz-page-header",1),t.TgZ(2,"nz-page-header-title",2),t._UZ(3,"i",3),t._uU(4," Add New Assertion "),t.qZA(),t.TgZ(5,"nz-page-header-subtitle"),t._uU(6," Submit and review new assertion items "),t.qZA(),t.TgZ(7,"nz-page-header-content"),t.TgZ(8,"div",4),t._UZ(9,"router-outlet"),t.qZA(),t.qZA(),t.qZA())},directives:[T.I,p.$O,p.u9,A.Ls,p.yG,p.u5,c.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var u=n(4182),z=n(5109),f=n(4546),x=n(2359),b=n(1894),P=n(6042),C=n(7525),S=n(8776),I=n(1825),F=n(7008),U=n(4375),J=n(7695),N=n(3022),G=n(8390),L=n(3773),D=n(5452),Q=n(5743),$=n(5457),V=n(8006),Y=n(7462),R=n(4623),B=n(3594),j=n(3643),E=n(1135),X=n(2789),K=n(5932),W=n(3416),H=n(2480),w=n(1830),k=n(4581),_=n(1605),q=n(5926),tt=n(1270),et=n(3314),nt=n(3759),ot=n(4902),it=n(5486),st=n(464),rt=n(7795),at=n(5472),dt=n(9946),lt=n(9754),mt=n(4889),O=n(7484),h=n(8144),M=n(3618);let ct=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[m.ez,c.Bz,u.UX,z.s,f.U5,x.L,b.Jb,P.sL,C.j,S.X0,I.A,F.B,U.R,J.C,N.e,G.N,L.g,D.C,Q.W,$.$,V.I,Y.o,R.K,B.q,j.q,E.C,X.o,K.A,W.g,H.r,w.S,k.e,_.e,q.J,tt.i,et.p,nt.D,ot.a,it.$,st.N,rt.k,at.r,dt.d,z.s,lt.K,mt.E,h.zf,O.vh,M.ZJ]]}),e})(),pt=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[m.ez,ct]]}),e})();var ut=n(6123),d=n(6738),gt=n(8929),y=n(7625),ft=n(1837),ht=n(712),yt=n(9169),vt=n(822);function At(e,s){1&e&&(t.TgZ(0,"nz-card"),t.TgZ(1,"nz-typography"),t._uU(2," To add an assertion, please complete the following form, provide a short statement supporting its inclusion into the CIViC database, then click the 'Submit Assertion for Inclusion' button. "),t._UZ(3,"br"),t._UZ(4,"br"),t.TgZ(5,"strong"),t._uU(6,"Please ensure that your submission contains no "),t.TgZ(7,"a",3),t._uU(8,"Protected Health Information"),t.qZA(),t._uU(9,", and is your own original work. By contributing to CIViC you agree to release your contributions to the public domain as described by the "),t.TgZ(10,"a",4),t._uU(11,"Creative Commons Public Domain Dedication (CC0 1.0 Universal)"),t.qZA(),t._uU(12,"."),t.qZA(),t.qZA(),t.qZA())}function zt(e,s){1&e&&t.GkF(0)}function xt(e,s){if(1&e){const o=t.EpF();t.TgZ(0,"formly-form",10),t.NdJ("modelChange",function(a){return t.CHM(o),t.oxw(2).formModel=a}),t.qZA()}if(2&e){const o=t.oxw(2);t.Q6J("form",o.formGroup)("fields",o.formFields)("model",o.formModel)("options",o.formOptions)}}function bt(e,s){if(1&e&&(t.TgZ(0,"nz-form-item"),t._UZ(1,"cvc-form-errors-alert",12),t.qZA()),2&e){const o=t.oxw(3);t.xp6(1),t.Q6J("errors",o.errorMessages)}}function Ct(e,s){if(1&e&&(t.TgZ(0,"p"),t._uU(1,"View "),t.TgZ(2,"a",16),t._uU(3,"its details"),t.qZA(),t._uU(4,"."),t.qZA()),2&e){const o=t.oxw(4);t.xp6(2),t.MGl("routerLink","/assertions/",o.newId,"/summary")}}function St(e,s){if(1&e&&(t.ynx(0),t._UZ(1,"nz-alert",13),t.YNc(2,Ct,5,1,"ng-template",14,15,t.W1O),t.BQk()),2&e){const o=t.MAs(3);t.xp6(1),t.Q6J("nzDescription",o)}}function Ot(e,s){if(1&e&&(t.YNc(0,bt,2,1,"nz-form-item",11),t.YNc(1,St,4,1,"ng-container",11)),2&e){const o=t.oxw(2);t.Q6J("ngIf",o.errorMessages.length>0),t.xp6(1),t.Q6J("ngIf",o.success)}}function Mt(e,s){if(1&e){const o=t.EpF();t.TgZ(0,"nz-spin",5),t.TgZ(1,"form",6),t.NdJ("ngSubmit",function(){t.CHM(o);const a=t.oxw();return a.submitAssertion(a.formModel)}),t.YNc(2,zt,1,0,"ng-container",7),t.YNc(3,xt,1,4,"formly-form",8),t.qZA(),t.YNc(4,Ot,2,2,"ng-template",null,9,t.W1O),t.qZA()}if(2&e){const o=t.MAs(5),r=t.oxw();t.Q6J("nzSpinning",r.loading),t.xp6(1),t.Q6J("formGroup",r.formGroup),t.xp6(1),t.Q6J("ngTemplateOutlet",o),t.xp6(1),t.Q6J("ngIf",!r.success)}}let Tt=(()=>{class e{constructor(o,r){this.submitAssertionGQL=o,this.networkErrorService=r,this.destroy$=new gt.xQ,this.formGroup=new u.cw({}),this.formOptions={formState:new ft._},this.success=!1,this.errorMessages=[],this.loading=!1,this.submitAssertionMutator=new ut.U(r),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Add Assertion Form"},fieldGroup:[{key:"gene",type:"gene-array",templateOptions:{maxCount:1,required:!0}},{key:"variant",type:"variant-array",templateOptions:{required:!0,maxCount:1,allowCreate:!1}},{key:"variantOrigin",type:"variant-origin-select",templateOptions:{required:!0}},{key:"disease",type:"disease-array",templateOptions:{maxCount:1,allowCreate:!1}},{key:"evidenceType",type:"evidence-type-select",templateOptions:{label:"Assertion Type",required:!0}},{key:"evidenceDirection",type:"evidence-direction-select",templateOptions:{label:"Assertion Direction",required:!0}},{key:"clinicalSignificance",type:"clinical-significance-select",templateOptions:{required:!0}},{key:"drugs",type:"drug-array",templateOptions:{allowCreate:!1}},{key:"drugInteractionType",type:"drug-interaction-select",templateOptions:{}},{key:"ampLevel",type:"amp-level-input",templateOptions:{}},{key:"acmgCodes",type:"acmg-code-array",templateOptions:{label:"ACMG/AMP Code(s)"}},{key:"phenotypes",type:"phenotype-array",templateOptions:{}},{key:"nccnGuideline",type:"nccn-guideline-input",templateOptions:{}},{key:"nccnGuidelineVersion",type:"nccn-version-input",templateOptions:{}},{key:"fdaRegulatoryApproval",type:"fda-approval-checkbox",templateOptions:{modelCallback:g=>{this.formModel.fields.fdaRegulatoryApproval=g}}},{key:"fdaCompanionTest",type:"fda-test-checkbox",templateOptions:{modelCallback:g=>{this.formModel.fields.fdaCompanionTest=g}}},{key:"summary",type:"cvc-textarea",templateOptions:{label:"Assertion Summary",helpText:"A short, one sentence summary of this new assertion",placeholder:"No description provided",required:!0}},{key:"description",type:"cvc-textarea",templateOptions:{label:"Assertion Statement",helpText:"A complete, original description of this new assertion, limited to one paragraph",placeholder:"No description provided",required:!0}},{key:"evidenceItems",type:"multi-field",wrappers:["form-field","evidence-manager"],templateOptions:{label:"Evidence Items",helpText:"Evidence Items that support the assertion.",addText:"Add Evidence by ID",required:!0,eidCallback:g=>{this.formModel.fields.evidenceItems=g}},fieldArray:{type:"evidence-input",templateOptions:{required:!0}}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",helpText:"Please provide any additional comments you wish to make about this assertion. This comment will appear as the first comment in this item's comment thread.",placeholder:"Please enter a comment describing your assertion.",minLength:10}},{key:"cancel",type:"cancel-button"},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Assertion",submitSize:"large"}}]}]}toSubmitInput(o){var r,a;if(o){const i=o.fields;return{comment:i.comment&&0!=i.comment.length?i.comment:void 0,organizationId:null===(r=i.organization)||void 0===r?void 0:r.id,fields:{description:d.xt(i.description),summary:d.xt(i.summary),variantId:i.variant[0].id,geneId:i.gene[0].id,variantOrigin:i.variantOrigin,assertionType:i.evidenceType,clinicalSignificance:i.clinicalSignificance,diseaseId:d.uP(i.disease[0].id),assertionDirection:i.evidenceDirection,phenotypeIds:i.phenotypes.map(l=>l.id),drugIds:i.drugs.map(l=>l.id),drugInteractionType:d.uP(i.drugInteractionType),ampLevel:d.uP(i.ampLevel),nccnGuidelineId:d.uP(null===(a=i.nccnGuideline)||void 0===a?void 0:a.id),nccnGuidelineVersion:d.xt(i.nccnGuidelineVersion),acmgCodeIds:i.acmgCodes.map(l=>l.id),fdaCompanionTest:d.uP(i.fdaCompanionTest),fdaRegulatoryApproval:d.uP(i.fdaRegulatoryApproval),evidenceItemIds:i.evidenceItems.map(l=>l.id)}}}}submitAssertion(o){let r=this.toSubmitInput(o);if(r){let a=this.submitAssertionMutator.mutate(this.submitAssertionGQL,{input:r},{},i=>{this.newId=i.submitAssertion.assertion.id});a.submitSuccess$.pipe((0,y.R)(this.destroy$)).subscribe(i=>{i&&(this.success=!0)}),a.submitError$.pipe((0,y.R)(this.destroy$)).subscribe(i=>{i&&(this.errorMessages=i,this.success=!1)}),a.isSubmitting$.pipe((0,y.R)(this.destroy$)).subscribe(i=>{this.loading=i})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(o){return new(o||e)(t.Y36(ht.LLl),t.Y36(yt.Y))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-assertion-submit-form"]],decls:3,vars:0,consts:[["nzDirection","vertical"],[4,"nzSpaceItem"],["nzTip","Submitting",3,"nzSpinning",4,"nzSpaceItem"],["href","http://www.hipaa.com/hipaa-protected-health-information-what-does-phi-include/","target","_blank"],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],["formMessages",""],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Assertion Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],[3,"routerLink"]],template:function(o,r){1&o&&(t.TgZ(0,"nz-space",0),t.YNc(1,At,13,0,"nz-card",1),t.YNc(2,Mt,6,4,"nz-spin",2),t.qZA())},directives:[h.NU,h.$1,O.bd,M.ZU,C.W,u._Y,u.JL,f.Lr,u.sg,m.tP,m.O5,S.T7,b.SK,f.Nx,vt.V,x.r,c.yS],styles:["[_nghost-%COMP%]{display:block}"]}),e})();const Zt=[{path:"",component:Z,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-assertion-submit"]],decls:1,vars:0,template:function(o,r){1&o&&t._UZ(0,"cvc-assertion-submit-form")},directives:[Tt],styles:[""]}),e})(),data:{breadcrumb:"Submit New Assertion"}}]}];let Pt=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[c.Bz.forChild(Zt),pt],c.Bz]}),e})();var It=n(5630);let Ft=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[m.ez,Pt,p.KJ,A.PV,It.D]]}),e})()}}]);
\ No newline at end of file
diff --git a/server/public/4579.221a4086674a9f5c.js b/server/public/4579.221a4086674a9f5c.js
deleted file mode 100644
index 3a00c43ac..000000000
--- a/server/public/4579.221a4086674a9f5c.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4579],{6550:(x,T,n)=>{n.d(T,{l:()=>v});var r=n(5e3),o=n(8481),u=n(404),m=n(647);const p=["*"];let v=(()=>{class l{constructor(){}ngOnInit(){if(void 0===this.href)throw new Error("cvc-link-tag requires href string input, none supplied.")}}return l.\u0275fac=function(h){return new(h||l)},l.\u0275cmp=r.Xpm({type:l,selectors:[["cvc-link-tag"]],inputs:{href:"href",tooltip:"tooltip",iconName:"iconName"},ngContentSelectors:p,decls:4,vars:4,consts:[["target","_blank",3,"href"],["nzColor","default","nz-tooltip","",3,"nzTooltipTitle","nzTooltipTrigger"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(h,f){1&h&&(r.F$t(),r.TgZ(0,"a",0),r.TgZ(1,"nz-tag",1),r._UZ(2,"i",2),r.Hsn(3),r.qZA(),r.qZA()),2&h&&(r.Q6J("href",f.href,r.LSH),r.xp6(1),r.Q6J("nzTooltipTitle",f.tooltip)("nzTooltipTrigger",f.tooltip?"hover":null),r.xp6(1),r.Q6J("nzType",f.iconName?f.iconName:"link"))},directives:[o.j,u.SY,m.Ls],styles:[""]}),l})()},3630:(x,T,n)=>{n.d(T,{X:()=>v});var r=n(9808),o=n(404),u=n(8481),m=n(647),p=n(5e3);let v=(()=>{class l{}return l.\u0275fac=function(h){return new(h||l)},l.\u0275mod=p.oAB({type:l}),l.\u0275inj=p.cJS({imports:[[r.ez,o.cg,u.X,m.PV]]}),l})()},4579:(x,T,n)=>{n.r(T),n.d(T,{ReleasesModule:()=>$});var r=n(9808),o=n(6949),u=n(8144),m=n(1945),p=n(1894),v=n(647),l=n(1132),z=n(3630),h=n(2359),f=n(3618),P=n(5630),A=n(6042),y=n(7484),e=n(5e3);let d=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[r.ez,o.WG,A.sL,m.KJ,p.Jb,v.PV,l.HQ,u.zf,f.ZJ,h.L,y.vh,P.D,z.X]]}),t})();var _=n(325),s=n(373),c=n(1059),C=n(4850),Z=n(712),M=n(8992),E=n(2683),O=n(6550);function R(t,i){1&t&&(e.TgZ(0,"a",11),e._UZ(1,"i",12),e._uU(2," View Data Releases Docs "),e.qZA())}function I(t,i){1&t&&(e.TgZ(0,"nz-row"),e._UZ(1,"nz-alert",13),e.qZA())}function V(t,i){1&t&&(e.TgZ(0,"nz-row"),e.TgZ(1,"p",14),e._uU(2," The CIViC server produces nightly and monthly releases that include a subset of all primary entity records (Genes, Variants, Evidence, Variant Groups, and Assertions). Both TSV and VCF versions are provided below - just locate the specific entity type and data format you wish to obtain, then click on the relevant button to download. "),e.qZA(),e.TgZ(3,"p",14),e._uU(4," These records do not contain user profile data, discussion and commentary, data provenance and revision history, or information dynamically obtained from resources external to CIViC (e.g. MyVariant.Info, MyGene.Info). Variant TSV releases only include variant records with accepted evidence records. Variant TSV releases from before August 2020 include all variant records, irregardless of the status of the associated evidence items. Evidence TSV releases only include accepted evidence items and exclude pending or rejected evidence items. Assertion TSV releases only include accepted assertions. Accepted VCF releases include only variants with accepted evidence items and/or accepted assertions. Accepted & Submitted VCF releases include Variants with accepted and/or submitted evidence items and/or assertions. "),e.qZA(),e.TgZ(5,"p",14),e._uU(6," In order to comply with the VCF specification, the VCFs can only include variants with complete coordinates. By contrast, the TSV variants file may contain variants with coordinates that have not been fully curated in CIViC. Additional variants are of types that can not be properly represented in VCF format. Thus, the number of variants will be lower in the VCFs compared to the number of variants in the TSV. "),e.qZA(),e.TgZ(7,"p",14),e._uU(8," As with all curated evidence and interpretations of CIViC, the contents of these files are made freely available, without restriction under the CC0 license ("),e.TgZ(9,"a",15),e._uU(10,"Creative Commons Public Domain Dedication, CC0 1.0 Universal"),e.qZA(),e._uU(11,"). "),e.qZA(),e.TgZ(12,"p",14),e._uU(13," If you use CIViC content, please consider citing the "),e.TgZ(14,"a",16),e._uU(15,"CIViC publication"),e.qZA(),e._uU(16,". "),e.qZA(),e.qZA())}function U(t,i){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Genes TSV "),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.geneTsv.path)}}function D(t,i){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Variants TSV "),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.variantTsv.path)}}function w(t,i){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Evidence TSV "),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.evidenceTsv.path)}}function b(t,i){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Variant Groups TSV "),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.variantGroupTsv.path)}}function S(t,i){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Assertions TSV "),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.assertionTsv.path)}}function L(t,i){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Accepted Variants VCF "),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.acceptedVariantsVcf.path)}}function B(t,i){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Accepted & Submitted Variants VCF "),e.qZA(),e.qZA()),2&t){const a=e.oxw().$implicit;e.xp6(1),e.Q6J("href",a.acceptedAndSubmittedVariantsVcf.path)}}function N(t,i){if(1&t&&(e.TgZ(0,"tr"),e.TgZ(1,"td"),e._uU(2),e.qZA(),e.YNc(3,U,3,1,"td",24),e.YNc(4,D,3,1,"td",24),e.YNc(5,w,3,1,"td",24),e.YNc(6,b,3,1,"td",24),e.YNc(7,S,3,1,"td",24),e.YNc(8,L,3,1,"td",24),e.YNc(9,B,3,1,"td",24),e.qZA()),2&t){const a=i.$implicit;e.oxw();const g=e.MAs(29);e.xp6(2),e.Oqu(a.name),e.xp6(1),e.Q6J("ngIf",a.geneTsv)("ngIfElse",g),e.xp6(1),e.Q6J("ngIf",a.variantTsv)("ngIfElse",g),e.xp6(1),e.Q6J("ngIf",a.evidenceTsv)("ngIfElse",g),e.xp6(1),e.Q6J("ngIf",a.variantGroupTsv)("ngIfElse",g),e.xp6(1),e.Q6J("ngIf",a.assertionTsv)("ngIfElse",g),e.xp6(1),e.Q6J("ngIf",a.acceptedVariantsVcf)("ngIfElse",g),e.xp6(1),e.Q6J("ngIf",a.acceptedAndSubmittedVariantsVcf)("ngIfElse",g)}}function F(t,i){1&t&&(e.TgZ(0,"td",26),e._uU(1,"--"),e.qZA())}function J(t,i){if(1&t&&(e.TgZ(0,"nz-row"),e.TgZ(1,"nz-col",17),e.TgZ(2,"div",18),e.TgZ(3,"nz-card",19),e.TgZ(4,"nz-table",20,21),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.TgZ(8,"thead"),e.TgZ(9,"tr"),e.TgZ(10,"th"),e._uU(11,"Date"),e.qZA(),e.TgZ(12,"th"),e._uU(13,"Genes"),e.qZA(),e.TgZ(14,"th"),e._uU(15,"Variants"),e.qZA(),e.TgZ(16,"th"),e._uU(17,"Evidence"),e.qZA(),e.TgZ(18,"th"),e._uU(19,"Variant Groups"),e.qZA(),e.TgZ(20,"th"),e._uU(21,"Assertions"),e.qZA(),e.TgZ(22,"th"),e._uU(23,"Accepted Variants VCF"),e.qZA(),e.TgZ(24,"th"),e._uU(25,"Accepted & Submitted Variants VCF"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(26,"tbody"),e.YNc(27,N,10,15,"tr",22),e.YNc(28,F,2,0,"ng-template",null,23,e.W1O),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t){const a=e.MAs(5),g=e.oxw();e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzData",e.lcZ(6,7,g.releases$))("nzLoading",e.lcZ(7,9,g.loading$))("nzFrontPagination",!0)("nzShowPagination",!0)("nzPageSize",5),e.xp6(23),e.Q6J("ngForOf",a.data)}}const k=[{path:"",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(a){return new(a||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-releases"]],decls:1,vars:0,template:function(a,g){1&a&&e._UZ(0,"router-outlet")},directives:[_.lC],styles:[""]}),t})(),children:[{path:"",redirectTo:"main",pathMatch:"full"},{path:"main",component:(()=>{class t{constructor(a){this.gql=a}ngOnInit(){let a=this.gql.watch().valueChanges;this.loading$=a.pipe((0,s.j)("loading"),(0,c.O)(!0)),this.releases$=a.pipe((0,s.j)("data"),(0,C.U)(g=>g.dataReleases))}}return t.\u0275fac=function(a){return new(a||t)(e.Y36(Z.db2))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-releases-main"]],decls:18,vars:1,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","download"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nzDirection","vertical","nzSpace","large"],[4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nzType","info","nzMessage","Please Note","nzDescription","TSV and VCF releases of CIViC data are provided at regular intervals for the convenience of those who require the use of a static file. For most users, we recomend utilizing our API which. Using the API will provide you with the richest metadata about CIViC entries as well as the most current versions of all evidence statements. In fact, the entire CIViC web frontend runs off the exact same API that is available for public use."],["nz-typography",""],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],[3,"nzSpan"],[1,"content"],["nzTitle","Browse All Data Releases"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination","nzPageSize"],["releasesTable",""],[4,"ngFor","ngForOf"],["noData",""],[4,"ngIf","ngIfElse"],["iconName","download",3,"href"],["nz-typography","","nzType","secondary"]],template:function(a,g){1&a&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0),e.TgZ(2,"nz-page-header-content"),e.TgZ(3,"nz-row",1),e.TgZ(4,"nz-col",2),e._UZ(5,"i",3),e.qZA(),e.TgZ(6,"nz-col",4),e.TgZ(7,"h2"),e._uU(8,"Data Releases"),e.qZA(),e.TgZ(9,"p",5),e._uU(10,"The CIViC server produces nightly and monthly releases that include a subset of all primary entity records."),e.qZA(),e.qZA(),e.TgZ(11,"nz-col",6),e.TgZ(12,"nz-space",7),e.YNc(13,R,3,0,"a",8),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"nz-space",9),e.YNc(15,I,2,0,"nz-row",10),e.YNc(16,V,17,0,"nz-row",10),e.YNc(17,J,30,11,"nz-row",10),e.qZA(),e.qZA(),e.qZA()),2&a&&(e.xp6(9),e.Q6J("nzEllipsisRows",2))},directives:[M.I,m.$O,m.u5,p.SK,p.t3,E.w,v.Ls,f.ZU,u.NU,u.$1,A.ix,h.r,y.bd,l.N8,l.Om,l.$Z,l.Uo,l._C,l.p0,r.sg,r.O5,O.l],pipes:[o.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}"]}),t})()}]}];let Q=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[_.Bz.forChild(k)],_.Bz]}),t})(),$=(()=>{class t{}return t.\u0275fac=function(a){return new(a||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[r.ez,Q,d]]}),t})()},8481:(x,T,n)=>{n.d(T,{j:()=>y,X:()=>e});var r=n(655),o=n(5e3),u=n(8929),m=n(7625),p=n(8693),v=n(1721),l=n(226),z=n(9808),h=n(647),f=n(4182);function P(d,_){if(1&d){const s=o.EpF();o.TgZ(0,"i",1),o.NdJ("click",function(C){return o.CHM(s),o.oxw().closeTag(C)}),o.qZA()}}const A=["*"];let y=(()=>{class d{constructor(s,c,C,Z){this.cdr=s,this.renderer=c,this.elementRef=C,this.directionality=Z,this.isPresetColor=!1,this.nzMode="default",this.nzChecked=!1,this.nzOnClose=new o.vpe,this.nzCheckedChange=new o.vpe,this.dir="ltr",this.destroy$=new u.xQ}updateCheckedStatus(){"checkable"===this.nzMode&&(this.nzChecked=!this.nzChecked,this.nzCheckedChange.emit(this.nzChecked))}closeTag(s){this.nzOnClose.emit(s),s.defaultPrevented||this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}clearPresetColor(){const s=this.elementRef.nativeElement,c=new RegExp(`(ant-tag-(?:${[...p.uf,...p.Bh].join("|")}))`,"g"),C=s.classList.toString(),Z=[];let M=c.exec(C);for(;null!==M;)Z.push(M[1]),M=c.exec(C);s.classList.remove(...Z)}setPresetColor(){const s=this.elementRef.nativeElement;this.clearPresetColor(),this.isPresetColor=!!this.nzColor&&((0,p.o2)(this.nzColor)||(0,p.M8)(this.nzColor)),this.isPresetColor&&s.classList.add(`ant-tag-${this.nzColor}`)}ngOnInit(){var s;null===(s=this.directionality.change)||void 0===s||s.pipe((0,m.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(s){const{nzColor:c}=s;c&&this.setPresetColor()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return d.\u0275fac=function(s){return new(s||d)(o.Y36(o.sBO),o.Y36(o.Qsj),o.Y36(o.SBq),o.Y36(l.Is,8))},d.\u0275cmp=o.Xpm({type:d,selectors:[["nz-tag"]],hostAttrs:[1,"ant-tag"],hostVars:10,hostBindings:function(s,c){1&s&&o.NdJ("click",function(){return c.updateCheckedStatus()}),2&s&&(o.Udp("background-color",c.isPresetColor?"":c.nzColor),o.ekj("ant-tag-has-color",c.nzColor&&!c.isPresetColor)("ant-tag-checkable","checkable"===c.nzMode)("ant-tag-checkable-checked",c.nzChecked)("ant-tag-rtl","rtl"===c.dir))},inputs:{nzMode:"nzMode",nzColor:"nzColor",nzChecked:"nzChecked"},outputs:{nzOnClose:"nzOnClose",nzCheckedChange:"nzCheckedChange"},exportAs:["nzTag"],features:[o.TTD],ngContentSelectors:A,decls:2,vars:1,consts:[["nz-icon","","nzType","close","class","ant-tag-close-icon","tabindex","-1",3,"click",4,"ngIf"],["nz-icon","","nzType","close","tabindex","-1",1,"ant-tag-close-icon",3,"click"]],template:function(s,c){1&s&&(o.F$t(),o.Hsn(0),o.YNc(1,P,1,0,"i",0)),2&s&&(o.xp6(1),o.Q6J("ngIf","closeable"===c.nzMode))},directives:[z.O5,h.Ls],encapsulation:2,changeDetection:0}),(0,r.gn)([(0,v.yF)()],d.prototype,"nzChecked",void 0),d})(),e=(()=>{class d{}return d.\u0275fac=function(s){return new(s||d)},d.\u0275mod=o.oAB({type:d}),d.\u0275inj=o.cJS({imports:[[l.vT,z.ez,f.u5,h.PV]]}),d})()}}]);
\ No newline at end of file
diff --git a/server/public/4579.ce3e7d2abb9eb0af.js b/server/public/4579.ce3e7d2abb9eb0af.js
new file mode 100644
index 000000000..f17338891
--- /dev/null
+++ b/server/public/4579.ce3e7d2abb9eb0af.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4579],{4579:(B,g,o)=>{o.r(g),o.d(g,{ReleasesModule:()=>Y});var r=o(9808),h=o(6949),c=o(8144),l=o(1945),d=o(1894),f=o(647),s=o(1132),T=o(3630),u=o(2359),m=o(3618),_=o(5630),z=o(6042),Z=o(7484),e=o(5e3);let C=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[r.ez,h.WG,z.sL,l.KJ,d.Jb,f.PV,s.HQ,c.zf,m.ZJ,u.L,Z.vh,_.D,T.X]]}),t})();var p=o(325),v=o(373),x=o(1059),y=o(4850),A=o(712),M=o(8992),V=o(2683),w=o(6550);function b(t,a){1&t&&(e.TgZ(0,"a",11),e._UZ(1,"i",12),e._uU(2," View Data Releases Docs "),e.qZA())}function R(t,a){1&t&&(e.TgZ(0,"nz-row"),e._UZ(1,"nz-alert",13),e.qZA())}function U(t,a){1&t&&(e.TgZ(0,"nz-row"),e.TgZ(1,"p",14),e._uU(2," The CIViC server produces nightly and monthly releases that include a subset of all primary entity records (Genes, Variants, Evidence, Variant Groups, and Assertions). Both TSV and VCF versions are provided below - just locate the specific entity type and data format you wish to obtain, then click on the relevant button to download. "),e.qZA(),e.TgZ(3,"p",14),e._uU(4," These records do not contain user profile data, discussion and commentary, data provenance and revision history, or information dynamically obtained from resources external to CIViC (e.g. MyVariant.Info, MyGene.Info). Variant TSV releases only include variant records with accepted evidence records. Variant TSV releases from before August 2020 include all variant records, irregardless of the status of the associated evidence items. Evidence TSV releases only include accepted evidence items and exclude pending or rejected evidence items. Assertion TSV releases only include accepted assertions. Accepted VCF releases include only variants with accepted evidence items and/or accepted assertions. Accepted & Submitted VCF releases include Variants with accepted and/or submitted evidence items and/or assertions. "),e.qZA(),e.TgZ(5,"p",14),e._uU(6," In order to comply with the VCF specification, the VCFs can only include variants with complete coordinates. By contrast, the TSV variants file may contain variants with coordinates that have not been fully curated in CIViC. Additional variants are of types that can not be properly represented in VCF format. Thus, the number of variants will be lower in the VCFs compared to the number of variants in the TSV. "),e.qZA(),e.TgZ(7,"p",14),e._uU(8," As with all curated evidence and interpretations of CIViC, the contents of these files are made freely available, without restriction under the CC0 license ("),e.TgZ(9,"a",15),e._uU(10,"Creative Commons Public Domain Dedication, CC0 1.0 Universal"),e.qZA(),e._uU(11,"). "),e.qZA(),e.TgZ(12,"p",14),e._uU(13," If you use CIViC content, please consider citing the "),e.TgZ(14,"a",16),e._uU(15,"CIViC publication"),e.qZA(),e._uU(16,". "),e.qZA(),e.qZA())}function I(t,a){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Genes TSV "),e.qZA(),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.geneTsv.path)}}function q(t,a){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Variants TSV "),e.qZA(),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.variantTsv.path)}}function P(t,a){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Evidence TSV "),e.qZA(),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.evidenceTsv.path)}}function S(t,a){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Variant Groups TSV "),e.qZA(),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.variantGroupTsv.path)}}function O(t,a){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Assertions TSV "),e.qZA(),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.assertionTsv.path)}}function F(t,a){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Accepted Variants VCF "),e.qZA(),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.acceptedVariantsVcf.path)}}function J(t,a){if(1&t&&(e.TgZ(0,"td"),e.TgZ(1,"cvc-link-tag",25),e._uU(2," Accepted & Submitted Variants VCF "),e.qZA(),e.qZA()),2&t){const n=e.oxw().$implicit;e.xp6(1),e.Q6J("href",n.acceptedAndSubmittedVariantsVcf.path)}}function Q(t,a){if(1&t&&(e.TgZ(0,"tr"),e.TgZ(1,"td"),e._uU(2),e.qZA(),e.YNc(3,I,3,1,"td",24),e.YNc(4,q,3,1,"td",24),e.YNc(5,P,3,1,"td",24),e.YNc(6,S,3,1,"td",24),e.YNc(7,O,3,1,"td",24),e.YNc(8,F,3,1,"td",24),e.YNc(9,J,3,1,"td",24),e.qZA()),2&t){const n=a.$implicit;e.oxw();const i=e.MAs(29);e.xp6(2),e.Oqu(n.name),e.xp6(1),e.Q6J("ngIf",n.geneTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.variantTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.evidenceTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.variantGroupTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.assertionTsv)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.acceptedVariantsVcf)("ngIfElse",i),e.xp6(1),e.Q6J("ngIf",n.acceptedAndSubmittedVariantsVcf)("ngIfElse",i)}}function N(t,a){1&t&&(e.TgZ(0,"td",26),e._uU(1,"--"),e.qZA())}function E(t,a){if(1&t&&(e.TgZ(0,"nz-row"),e.TgZ(1,"nz-col",17),e.TgZ(2,"div",18),e.TgZ(3,"nz-card",19),e.TgZ(4,"nz-table",20,21),e.ALo(6,"ngrxPush"),e.ALo(7,"ngrxPush"),e.TgZ(8,"thead"),e.TgZ(9,"tr"),e.TgZ(10,"th"),e._uU(11,"Date"),e.qZA(),e.TgZ(12,"th"),e._uU(13,"Genes"),e.qZA(),e.TgZ(14,"th"),e._uU(15,"Variants"),e.qZA(),e.TgZ(16,"th"),e._uU(17,"Evidence"),e.qZA(),e.TgZ(18,"th"),e._uU(19,"Variant Groups"),e.qZA(),e.TgZ(20,"th"),e._uU(21,"Assertions"),e.qZA(),e.TgZ(22,"th"),e._uU(23,"Accepted Variants VCF"),e.qZA(),e.TgZ(24,"th"),e._uU(25,"Accepted & Submitted Variants VCF"),e.qZA(),e.qZA(),e.qZA(),e.TgZ(26,"tbody"),e.YNc(27,Q,10,15,"tr",22),e.YNc(28,N,2,0,"ng-template",null,23,e.W1O),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&t){const n=e.MAs(5),i=e.oxw();e.xp6(1),e.Q6J("nzSpan",24),e.xp6(3),e.Q6J("nzData",e.lcZ(6,7,i.releases$))("nzLoading",e.lcZ(7,9,i.loading$))("nzFrontPagination",!0)("nzShowPagination",!0)("nzPageSize",5),e.xp6(23),e.Q6J("ngForOf",n.data)}}const $=[{path:"",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-releases"]],decls:1,vars:0,template:function(n,i){1&n&&e._UZ(0,"router-outlet")},directives:[p.lC],styles:[""]}),t})(),children:[{path:"",redirectTo:"main",pathMatch:"full"},{path:"main",component:(()=>{class t{constructor(n){this.gql=n}ngOnInit(){let n=this.gql.watch().valueChanges;this.loading$=n.pipe((0,v.j)("loading"),(0,x.O)(!0)),this.releases$=n.pipe((0,v.j)("data"),(0,y.U)(i=>i.dataReleases))}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(A.db2))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-releases-main"]],decls:18,vars:1,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","download"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nzDirection","vertical","nzSpace","large"],[4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/using/data_releases.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nzType","info","nzMessage","Please Note","nzDescription","TSV and VCF releases of CIViC data are provided at regular intervals for the convenience of those who require the use of a static file. For most users, we recomend utilizing our API which. Using the API will provide you with the richest metadata about CIViC entries as well as the most current versions of all evidence statements. In fact, the entire CIViC web frontend runs off the exact same API that is available for public use."],["nz-typography",""],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["href","http://www.nature.com/ng/journal/v49/n2/full/ng.3774.html","target","_blank"],[3,"nzSpan"],[1,"content"],["nzTitle","Browse All Data Releases"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination","nzPageSize"],["releasesTable",""],[4,"ngFor","ngForOf"],["noData",""],[4,"ngIf","ngIfElse"],["iconName","download",3,"href"],["nz-typography","","nzType","secondary"]],template:function(n,i){1&n&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0),e.TgZ(2,"nz-page-header-content"),e.TgZ(3,"nz-row",1),e.TgZ(4,"nz-col",2),e._UZ(5,"i",3),e.qZA(),e.TgZ(6,"nz-col",4),e.TgZ(7,"h2"),e._uU(8,"Data Releases"),e.qZA(),e.TgZ(9,"p",5),e._uU(10,"The CIViC server produces nightly and monthly releases that include a subset of all primary entity records."),e.qZA(),e.qZA(),e.TgZ(11,"nz-col",6),e.TgZ(12,"nz-space",7),e.YNc(13,b,3,0,"a",8),e.qZA(),e.qZA(),e.qZA(),e.TgZ(14,"nz-space",9),e.YNc(15,R,2,0,"nz-row",10),e.YNc(16,U,17,0,"nz-row",10),e.YNc(17,E,30,11,"nz-row",10),e.qZA(),e.qZA(),e.qZA()),2&n&&(e.xp6(9),e.Q6J("nzEllipsisRows",2))},directives:[M.I,l.$O,l.u5,d.SK,d.t3,V.w,f.Ls,m.ZU,c.NU,c.$1,z.ix,u.r,Z.bd,s.N8,s.Om,s.$Z,s.Uo,s._C,s.p0,r.sg,r.O5,w.l],pipes:[h.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}"]}),t})()}]}];let D=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[p.Bz.forChild($)],p.Bz]}),t})(),Y=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[r.ez,D,C]]}),t})()}}]);
\ No newline at end of file
diff --git a/server/public/4584.cd2fc068f9edf75f.js b/server/public/4584.cd2fc068f9edf75f.js
deleted file mode 100644
index 38d229ab6..000000000
--- a/server/public/4584.cd2fc068f9edf75f.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4584],{8616:(F,M,t)=>{t.d(M,{u:()=>o});var p=t(5e3),n=t(685),e=t(1912),C=t(3618),z=t(647);function i(l,s){1&l&&(p.TgZ(0,"span"),p._uU(1," You must be logged in to view this page. "),p.qZA())}function _(l,s){1&l&&p._UZ(0,"cvc-login-button")}function h(l,s){1&l&&(p.TgZ(0,"nz-typography",4),p._UZ(1,"i",5),p.qZA())}let o=(()=>{class l{}return l.\u0275fac=function(d){return new(d||l)},l.\u0275cmp=p.Xpm({type:l,selectors:[["cvc-login-prompt"]],decls:7,vars:3,consts:[[3,"nzNotFoundImage","nzNotFoundContent","nzNotFoundFooter"],["contentTpl",""],["footerTpl",""],["emptyImage",""],["nzType","secondary"],["nz-icon","","nzType","login","nzTheme","outline",2,"font-size","50pt"]],template:function(d,u){if(1&d&&(p.TgZ(0,"nz-empty",0),p.YNc(1,i,2,0,"ng-template",null,1,p.W1O),p.YNc(3,_,1,0,"ng-template",null,2,p.W1O),p.qZA(),p.YNc(5,h,2,0,"ng-template",null,3,p.W1O)),2&d){const O=p.MAs(2),a=p.MAs(4),D=p.MAs(6);p.Q6J("nzNotFoundImage",D)("nzNotFoundContent",O)("nzNotFoundFooter",a)}},directives:[n.p9,e.s,C.ZU,z.Ls],styles:["[_nghost-%COMP%]{display:inline-block}"]}),l})()},9386:(F,M,t)=>{t.d(M,{a:()=>_});var p=t(9808),n=t(1844),e=t(685),C=t(647),z=t(3618),i=t(5e3);let _=(()=>{class h{}return h.\u0275fac=function(l){return new(l||h)},h.\u0275mod=i.oAB({type:h}),h.\u0275inj=i.cJS({imports:[[p.ez,n.B,e.Xo,C.PV,z.ZJ]]}),h})()},7701:(F,M,t)=>{t.d(M,{j:()=>A});var p=t(6654),n=t(5e3),e=t(9808),C=t(325),z=t(8481),i=t(3610),_=t(4850),h=t(712),o=t(7484),l=t(647),s=t(6550),d=t(3098),u=t(6949);function O(c,x){if(1&c&&(n._UZ(0,"i",7),n._uU(1)),2&c){const v=n.oxw().ngIf;n.xp6(1),n.hij(" ",v.name," ")}}function a(c,x){if(1&c&&(n.TgZ(0,"cvc-link-tag",9),n._uU(1),n.qZA()),2&c){const v=n.oxw(2).ngIf;n.Q6J("href",v.url),n.xp6(1),n.hij(" ",v.soid," ")}}function D(c,x){if(1&c&&n.YNc(0,a,2,2,"cvc-link-tag",8),2&c){const v=n.oxw().ngIf;n.Q6J("ngIf","N/A"!=v.soid)}}function L(c,x){if(1&c&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,O,2,1,"ng-template",null,3,n.W1O),n.YNc(4,D,1,1,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-descriptions",5),n.TgZ(7,"nz-descriptions-item",6),n._uU(8),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&c){const v=x.ngIf,V=n.MAs(3),B=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",V)("nzExtra",B),n.xp6(5),n.Q6J("nzColumn",2),n.xp6(2),n.hij(" ",v.variantCount," ")}}let Z=(()=>{class c{constructor(v){this.gql=v}ngOnInit(){if(null==this.variantTypeId)throw new Error("cvc-variant-type-popover requires valid variantTypeId input.");this.variantType$=this.gql.watch({variantTypeId:this.variantTypeId}).valueChanges.pipe((0,_.U)(({data:v})=>v.variantTypePopover))}}return c.\u0275fac=function(v){return new(v||c)(n.Y36(h.tw_))},c.\u0275cmp=n.Xpm({type:c,selectors:[["cvc-variant-type-popover"]],inputs:{variantTypeId:"variantTypeId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2"],["nz-icon","","nzType","civic-varianttype",1,"variant-type-tag-icon"],["tooltip","View on SequenceOntology.org",3,"href",4,"ngIf"],["tooltip","View on SequenceOntology.org",3,"href"]],template:function(v,V){1&v&&(n.TgZ(0,"div",0),n.YNc(1,L,9,4,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&v&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,V.variantType$)))},directives:[e.O5,o.bd,l.Ls,s.l,d.R7,d.uj],pipes:[u.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),c})();function S(c,x){}function N(c,x){if(1&c&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,S,0,0,"ng-template",6),n.qZA(),n.BQk()),2&c){const v=n.oxw(),V=n.MAs(2);n.xp6(1),n.Q6J("routerLink",v.variantType.link),n.xp6(1),n.Q6J("ngTemplateOutlet",V)}}function y(c,x){}function P(c,x){if(1&c&&(n.TgZ(0,"nz-tag",9),n.YNc(1,y,0,0,"ng-template",6),n.qZA()),2&c){n.oxw();const v=n.MAs(2);n.oxw();const V=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",v),n.xp6(1),n.Q6J("ngTemplateOutlet",V)}}function f(c,x){if(1&c&&n._UZ(0,"cvc-variant-type-popover",10),2&c){const v=n.oxw(2);n.Q6J("variantTypeId",v.variantType.id)}}function E(c,x){if(1&c&&(n.YNc(0,P,2,3,"nz-tag",7),n.YNc(1,f,1,1,"ng-template",null,8,n.W1O)),2&c){const v=n.oxw(),V=n.MAs(6);n.Q6J("ngIf",v.enablePopover)("ngIfElse",V)}}function m(c,x){}function I(c,x){if(1&c&&n.YNc(0,m,0,0,"ng-template",6),2&c){n.oxw();const v=n.MAs(2);n.Q6J("ngTemplateOutlet",v)}}function r(c,x){}function g(c,x){if(1&c&&(n.TgZ(0,"nz-tag"),n.YNc(1,r,0,0,"ng-template",6),n.qZA()),2&c){n.oxw();const v=n.MAs(8);n.xp6(1),n.Q6J("ngTemplateOutlet",v)}}function T(c,x){if(1&c&&(n._UZ(0,"i",11),n._uU(1)),2&c){const v=n.oxw();n.xp6(1),n.hij(" ",v.variantType.name,"\n")}}let A=(()=>{class c extends p.a{constructor(){super(),this.linked=!0,this.enablePopover=!0}idFunction(){return this.variantType.id}ngOnInit(){if(void 0===this.variantType)throw new Error("cvc-variant-type-tag requires LinkableVariantType input, none supplied.")}}return c.\u0275fac=function(v){return new(v||c)},c.\u0275cmp=n.Xpm({type:c,selectors:[["cvc-variant-type-tag"]],inputs:{variantType:"variantType",linked:"linked",enablePopover:"enablePopover"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["noPopover",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["variantTypePopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"variantTypeId"],["nz-icon","","nzType","civic-varianttype","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(v,V){if(1&v&&(n.YNc(0,N,3,2,"ng-container",0),n.YNc(1,E,3,2,"ng-template",null,1,n.W1O),n.YNc(3,I,1,1,"ng-template",null,2,n.W1O),n.YNc(5,g,2,1,"ng-template",null,3,n.W1O),n.YNc(7,T,2,1,"ng-template",null,4,n.W1O)),2&v){const B=n.MAs(4);n.Q6J("ngIf",V.linked)("ngIfElse",B)}},directives:[e.O5,C.yS,e.tP,z.j,i.lU,Z,l.Ls],styles:["[_nghost-%COMP%]{display:block}"]}),c})()},8645:(F,M,t)=>{t.d(M,{M:()=>d});var p=t(9808),n=t(325),e=t(8481),C=t(7484),z=t(3630),i=t(3098),_=t(6949),h=t(647),o=t(5e3);let l=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275mod=o.oAB({type:u}),u.\u0275inj=o.cJS({imports:[[p.ez,_.WG,h.PV,C.vh,i.q6,z.X]]}),u})();var s=t(3610);let d=(()=>{class u{}return u.\u0275fac=function(a){return new(a||u)},u.\u0275mod=o.oAB({type:u}),u.\u0275inj=o.cJS({imports:[[p.ez,n.Bz,h.PV,e.X,s.$6,l]]}),u})()},9990:(F,M,t)=>{t.d(M,{M:()=>l});var p=t(9808),n=t(8776),e=t(5e3),C=t(656),z=t(4182);const _={name:"ensembl-version",validation:(s,d)=>{if(null==s.value)return null;{let u=+s.value;return u<75||u>150?{"ensembl-version":!0}:null}}},h={name:"ensembl-version",message:(s,d)=>{var u;return`${null===(u=d.formControl)||void 0===u?void 0:u.value} is not a valid version of Ensembl. Must be an number between 75 and the latest version of Ensembl.`}},o={name:"cvc-ensembl-input",component:(()=>{class s extends n.fS{constructor(){super(...arguments),this.defaultOptions={templateOptions:{label:"Ensembl Version",helpText:"Enter a valid Ensembl database version (e.g. 75)."},validators:{validation:["ensembl-version"]}}}}return s.\u0275fac=function(){let d;return function(O){return(d||(d=e.n5z(s)))(O||s)}}(),s.\u0275cmp=e.Xpm({type:s,selectors:[["cvc-ensembl-input-type"]],features:[e.qOj],decls:1,vars:2,consts:[[3,"formControl","formlyAttributes"]],template:function(u,O){1&u&&e._UZ(0,"nz-input-number",0),2&u&&e.Q6J("formControl",O.formControl)("formlyAttributes",O.field)},directives:[C._,z.JJ,z.oH,n.VQ],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),s})(),wrappers:["form-field"]};let l=(()=>{class s{}return s.\u0275fac=function(u){return new(u||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[[p.ez,z.u5,z.UX,n.X0.forChild({types:[o],validators:[_],validationMessages:[h]}),C.Z]]}),s})()},7462:(F,M,t)=>{t.d(M,{o:()=>h});var p=t(9808),n=t(8776),e=t(5e3),C=t(1047),z=t(4182);const _={name:"cvc-textarea",component:(()=>{class o extends n.fS{constructor(){super(...arguments),this.defaultOptions={templateOptions:{autosize:{minRows:2,maxRows:20}}}}}return o.\u0275fac=function(){let l;return function(d){return(l||(l=e.n5z(o)))(d||o)}}(),o.\u0275cmp=e.Xpm({type:o,selectors:[["cvc-textarea-base-type"]],features:[e.qOj],decls:1,vars:4,consts:[["nz-input","",3,"formControl","formlyAttributes","nzAutosize","placeholder"]],template:function(s,d){1&s&&e._UZ(0,"textarea",0),2&s&&e.Q6J("formControl",d.formControl)("formlyAttributes",d.field)("nzAutosize",d.to.autosize)("placeholder",d.to.placeholder)},directives:[C.Zp,z.Fj,C.rh,z.JJ,z.oH,n.VQ],styles:[""],changeDetection:0}),o})(),wrappers:["form-field"]};let h=(()=>{class o{}return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[p.ez,z.u5,z.UX,n.X0.forChild({types:[_]}),C.o7]]}),o})()},9911:(F,M,t)=>{t.d(M,{G:()=>h});var p=t(9808),n=t(8776),e=t(5e3),C=t(7484);const i={name:"variant-coordinates-card",component:(()=>{class o extends n.fS{constructor(){super(...arguments),this.defaultOptions={templateOptions:{isFusionVariant:!1}}}}return o.\u0275fac=function(){let l;return function(d){return(l||(l=e.n5z(o)))(d||o)}}(),o.\u0275cmp=e.Xpm({type:o,selectors:[["cvc-variant-coordinates-card-type"]],features:[e.qOj],decls:3,vars:1,consts:[[3,"nzTitle"],["fieldComponent",""]],template:function(s,d){1&s&&(e.TgZ(0,"nz-card",0),e.GkF(1,null,1),e.qZA()),2&s&&e.Q6J("nzTitle",d.to.label)},directives:[C.bd],styles:[""],changeDetection:0}),o})()};var _=t(4182);let h=(()=>{class o{}return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[p.ez,_.UX,n.X0.forChild({types:[i]}),C.vh]]}),o})()},6501:(F,M,t)=>{t.d(M,{r:()=>N});var p=t(9808),n=t(8776),e=t(8929),C=t(7625),z=t(373),i=t(5e3),_=t(712),h=t(8054),o=t(4182),l=t(6949),s=t(7701);function d(y,P){if(1&y&&(i.TgZ(0,"nz-option",6),i._uU(1),i.qZA()),2&y){const f=P.$implicit;i.hYB("nzLabel","",f.name," (",f.soid,")"),i.Q6J("nzValue",f),i.xp6(1),i.AsE(" ",f.name," (",f.soid,") ")}}function u(y,P){if(1&y&&(i.ynx(0),i.YNc(1,d,2,5,"nz-option",5),i.BQk()),2&y){const f=P.ngrxLet;i.xp6(1),i.Q6J("ngForOf",f)}}function O(y,P){1&y&&i._uU(0," No variant type found in CIViC that matches the string provided. ")}function a(y,P){if(1&y){const f=i.EpF();i.ynx(0),i.TgZ(1,"nz-select",2),i.NdJ("nzOnSearch",function(m){return i.CHM(f),i.oxw().to.onSearch(m)}),i.YNc(2,u,2,1,"ng-container",3),i.qZA(),i.YNc(3,O,1,0,"ng-template",null,4,i.W1O),i.BQk()}if(2&y){const f=i.MAs(4),E=i.oxw();i.xp6(1),i.Q6J("formControl",E.formControl)("formlyAttributes",E.field)("nzPlaceHolder",E.to.placeholder?E.to.placeholder:null)("nzNotFoundContent",f)("nzShowArrow",E.to.showArrow)("nzFilterOption",E.to.filterOption),i.xp6(1),i.Q6J("ngrxLet",E.variantTypes$)}}function D(y,P){if(1&y&&i._UZ(0,"cvc-variant-type-tag",7),2&y){const f=i.oxw();i.Q6J("variantType",f.formControl.value)}}const Z={name:"variant-type-input",component:(()=>{class y extends n.fS{constructor(f){super(),this.variantTypeTypeaheadQuery=f,this.destroy$=new e.xQ,this.defaultOptions={templateOptions:{placeholder:"Search Variant Types",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[]}}}ngOnInit(){this.queryRef=this.variantTypeTypeaheadQuery.watch({name:""}),this.variantTypes$=this.queryRef.valueChanges.pipe((0,C.R)(this.destroy$),(0,z.j)("data","variantTypeTypeahead"))}ngAfterViewInit(){this.to.onSearch=f=>{var E;this.to.fieldValue=f,this.to.fieldLength=f.length,!(f.lengththis.to.maxLength)&&(null===(E=this.queryRef)||void 0===E||E.refetch({name:f}))}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return y.\u0275fac=function(f){return new(f||y)(i.Y36(_.BnY))},y.\u0275cmp=i.Xpm({type:y,selectors:[["cvc-variant-type-input-type"]],features:[i.qOj],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["drugListItem",""],["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzNotFoundContent","nzShowArrow","nzFilterOption","nzOnSearch"],[4,"ngrxLet"],["sourceLoader",""],["nzCustomContent","",3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["nzCustomContent","",3,"nzLabel","nzValue"],[3,"variantType"]],template:function(f,E){if(1&f&&(i.YNc(0,a,5,7,"ng-container",0),i.YNc(1,D,1,1,"ng-template",null,1,i.W1O)),2&f){const m=i.MAs(2);i.Q6J("ngIf",!(null!=E.formControl.value&&E.formControl.value.id))("ngIfElse",m)}},directives:[p.O5,h.Vq,o.JJ,o.oH,n.VQ,l.eJ,p.sg,h.Ip,s.j],styles:[""]}),y})()};var S=t(8645);let N=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275mod=i.oAB({type:y}),y.\u0275inj=i.cJS({imports:[[p.ez,o.UX,n.X0.forChild({types:[Z]}),l.WG,h.LV,S.M]]}),y})()},6738:(F,M,t)=>{function p(o){let l={value:void 0,unset:void 0};return o&&o.trim().length>0?l.value=o.trim():l.unset=!0,l}function n(o){let l={value:void 0,unset:void 0};return void 0!==o?l.value=o:l.unset=!0,l}t.d(M,{aP:()=>h,li:()=>e,Zg:()=>C,_$:()=>z,uP:()=>n,dh:()=>i,xt:()=>p});var e=(()=>{return(o=e||(e={}))[o.NotApplicable=0]="NotApplicable",o[o.NoneFound=1]="NoneFound",o[o.Found=2]="Found",e;var o})();function C(o,l){let s,d,u;return l==e.Found?(s=void 0,d=void 0,u=o):l==e.NoneFound?(d=!0,s=void 0,u=void 0):(s=!0,d=void 0,u=void 0),{ids:u?u.map(O=>+O):void 0,noneFound:d,notApplicable:s}}function z(o){return o?{chromosome:_(o.chromosome),representativeTranscript:_(o.representativeTranscript),start:o.start?+o.start:void 0,stop:o.stop?+o.stop:void 0}:{chromosome:void 0,representativeTranscript:void 0,start:void 0,stop:void 0}}function i(o){let l={value:void 0,unset:void 0};return o?l.value=o:l.unset=!0,l}function _(o){let l;return l=o&&o.length>0?o:void 0,l}const h=[{value:void 0,label:""},{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"},{value:"5",label:"5"},{value:"6",label:"6"},{value:"7",label:"7"},{value:"8",label:"8"},{value:"9",label:"9"},{value:"10",label:"10"},{value:"11",label:"11"},{value:"12",label:"12"},{value:"13",label:"13"},{value:"14",label:"14"},{value:"15",label:"15"},{value:"16",label:"16"},{value:"17",label:"17"},{value:"18",label:"18"},{value:"19",label:"19"},{value:"20",label:"20"},{value:"21",label:"21"},{value:"22",label:"22"},{value:"X",label:"X"},{value:"Y",label:"Y"},{value:"MT",label:"MT"}]},7338:(F,M,t)=>{t.d(M,{z:()=>I});var p=t(9808),n=t(9444),e=t(6949),C=t(8776),z=t(7484),i=t(5482),_=t(4546),h=t(1894),o=t(647),l=t(3610),s=t(8144),d=t(3618),u=t(5109),O=t(6789),a=t(5e3),D=t(2313);let L=(()=>{class r{constructor(T){this.sanitizer=T}transform(T){return this.sanitizer.bypassSecurityTrustHtml(T)}}return r.\u0275fac=function(T){return new(T||r)(a.Y36(D.H7,16))},r.\u0275pipe=a.Yjl({name:"sanitizeHtml",type:r,pure:!0}),r})();function Z(r,g){if(1&r&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&r){const T=a.oxw(2);a.xp6(1),a.Oqu(T.to.label)}}function S(r,g){if(1&r&&a._UZ(0,"i",11),2&r){a.oxw();const T=a.MAs(3);a.Q6J("nzPopoverContent",T)}}function N(r,g){if(1&r&&(a._UZ(0,"span",12),a.ALo(1,"sanitizeHtml")),2&r){const T=a.oxw(3);a.Q6J("innerHtml",a.lcZ(1,1,T.to.helpText),a.oJD)}}function y(r,g){1&r&&(a.ynx(0),a.YNc(1,S,1,1,"i",9),a.YNc(2,N,2,3,"ng-template",null,10,a.W1O),a.BQk())}function P(r,g){if(1&r&&(a.ynx(0),a.TgZ(1,"nz-form-label",7),a.TgZ(2,"nz-space"),a.YNc(3,Z,2,1,"span",8),a.YNc(4,y,4,0,"ng-container",1),a.qZA(),a.qZA(),a.BQk()),2&r){const T=a.oxw();a.xp6(1),a.Q6J("nzRequired",T.to.required&&!0!==T.to.hideRequiredMarker)("nzFor",T.id),a.xp6(3),a.Q6J("ngIf",T.to.helpText)}}const f=function(r){return{hidden:r}},m={wrappers:[{name:"form-field",component:(()=>{class r extends C.n2{get errorState(){return this.showError?"error":""}}return r.\u0275fac=function(){let g;return function(A){return(g||(g=a.n5z(r)))(A||r)}}(),r.\u0275cmp=a.Xpm({type:r,selectors:[["cvc-form-field-wrapper"]],features:[a.qOj],decls:10,vars:7,consts:[[3,"ngClass"],[4,"ngIf"],[3,"nzValidateStatus"],["fieldComponent",""],["nzType","danger"],[3,"field"],["nzType","secondary"],[3,"nzRequired","nzFor"],[4,"nzSpaceItem"],["nz-icon","","nzType","question-circle","nzTheme","outline","nz-popover","",3,"nzPopoverContent",4,"nzSpaceItem"],["help",""],["nz-icon","","nzType","question-circle","nzTheme","outline","nz-popover","",3,"nzPopoverContent"],[3,"innerHtml"]],template:function(T,A){1&T&&(a.TgZ(0,"div",0),a.TgZ(1,"nz-form-item"),a.YNc(2,P,5,3,"ng-container",1),a.TgZ(3,"nz-form-control",2),a.GkF(4,null,3),a.qZA(),a.TgZ(6,"nz-typography",4),a._UZ(7,"formly-validation-message",5),a.qZA(),a.TgZ(8,"nz-typography",6),a._uU(9),a.qZA(),a.qZA(),a.qZA()),2&T&&(a.Q6J("ngClass",a.VKq(5,f,!0===A.to.hidden)),a.xp6(2),a.Q6J("ngIf",A.to.label&&!0!==A.to.hideLabel),a.xp6(1),a.Q6J("nzValidateStatus",A.errorState),a.xp6(4),a.Q6J("field",A.field),a.xp6(2),a.hij(" ",A.to.optionText," "))},directives:[p.mk,h.SK,_.Nx,p.O5,h.t3,_.iK,s.NU,s.$1,o.Ls,l.lU,_.Fd,d.ZU,C.u_],pipes:[L],styles:[".hidden[_ngcontent-%COMP%]{display:none}"]}),r})()}]};let I=(()=>{class r{}return r.\u0275fac=function(T){return new(T||r)},r.\u0275mod=a.oAB({type:r}),r.\u0275inj=a.cJS({imports:[[p.ez,e.WG,C.X0.forChild(m),h.Jb,z.vh,i.cD,O._,u.s,_.U5,o.PV,s.zf,l.$6,n.s,d.ZJ]]}),r})()},6462:(F,M,t)=>{t.d(M,{i:()=>f,m:()=>E});var p=t(655),n=t(1159),e=t(5e3),C=t(4182),z=t(8929),i=t(3753),_=t(7625),h=t(9439),o=t(1721),l=t(5664),s=t(226),d=t(2643),u=t(9808),O=t(647),a=t(969);const D=["switchElement"];function L(m,I){1&m&&e._UZ(0,"i",8)}function Z(m,I){if(1&m&&(e.ynx(0),e._uU(1),e.BQk()),2&m){const r=e.oxw(2);e.xp6(1),e.Oqu(r.nzCheckedChildren)}}function S(m,I){if(1&m&&(e.ynx(0),e.YNc(1,Z,2,1,"ng-container",9),e.BQk()),2&m){const r=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",r.nzCheckedChildren)}}function N(m,I){if(1&m&&(e.ynx(0),e._uU(1),e.BQk()),2&m){const r=e.oxw(2);e.xp6(1),e.Oqu(r.nzUnCheckedChildren)}}function y(m,I){if(1&m&&e.YNc(0,N,2,1,"ng-container",9),2&m){const r=e.oxw();e.Q6J("nzStringTemplateOutlet",r.nzUnCheckedChildren)}}let f=(()=>{class m{constructor(r,g,T,A,c,x){this.nzConfigService=r,this.host=g,this.ngZone=T,this.cdr=A,this.focusMonitor=c,this.directionality=x,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.dir="ltr",this.destroy$=new z.xQ}updateValue(r){this.isChecked!==r&&(this.isChecked=r,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,_.R)(this.destroy$)).subscribe(r=>{this.dir=r,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,i.R)(this.host.nativeElement,"click").pipe((0,_.R)(this.destroy$)).subscribe(r=>{r.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,i.R)(this.switchElement.nativeElement,"keydown").pipe((0,_.R)(this.destroy$)).subscribe(r=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:g}=r;g!==n.oh&&g!==n.SV&&g!==n.L_&&g!==n.K5||(r.preventDefault(),this.ngZone.run(()=>{g===n.oh?this.updateValue(!1):g===n.SV?this.updateValue(!0):(g===n.L_||g===n.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,_.R)(this.destroy$)).subscribe(r=>{r||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(r){this.isChecked=r,this.cdr.markForCheck()}registerOnChange(r){this.onChange=r}registerOnTouched(r){this.onTouched=r}setDisabledState(r){this.nzDisabled=r,this.cdr.markForCheck()}}return m.\u0275fac=function(r){return new(r||m)(e.Y36(h.jY),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(l.tE),e.Y36(s.Is,8))},m.\u0275cmp=e.Xpm({type:m,selectors:[["nz-switch"]],viewQuery:function(r,g){if(1&r&&e.Gf(D,7),2&r){let T;e.iGM(T=e.CRH())&&(g.switchElement=T.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize"},exportAs:["nzSwitch"],features:[e._Bn([{provide:C.JU,useExisting:(0,e.Gpc)(()=>m),multi:!0}])],decls:9,vars:15,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(r,g){if(1&r&&(e.TgZ(0,"button",0,1),e.TgZ(2,"span",2),e.YNc(3,L,1,0,"i",3),e.qZA(),e.TgZ(4,"span",4),e.YNc(5,S,2,1,"ng-container",5),e.YNc(6,y,1,1,"ng-template",null,6,e.W1O),e.qZA(),e._UZ(8,"div",7),e.qZA()),2&r){const T=e.MAs(7);e.ekj("ant-switch-checked",g.isChecked)("ant-switch-loading",g.nzLoading)("ant-switch-disabled",g.nzDisabled)("ant-switch-small","small"===g.nzSize)("ant-switch-rtl","rtl"===g.dir),e.Q6J("disabled",g.nzDisabled)("nzWaveExtraNode",!0),e.xp6(3),e.Q6J("ngIf",g.nzLoading),e.xp6(2),e.Q6J("ngIf",g.isChecked)("ngIfElse",T)}},directives:[d.dQ,u.O5,O.Ls,a.f],encapsulation:2,changeDetection:0}),(0,p.gn)([(0,o.yF)()],m.prototype,"nzLoading",void 0),(0,p.gn)([(0,o.yF)()],m.prototype,"nzDisabled",void 0),(0,p.gn)([(0,o.yF)()],m.prototype,"nzControl",void 0),(0,p.gn)([(0,h.oS)()],m.prototype,"nzSize",void 0),m})(),E=(()=>{class m{}return m.\u0275fac=function(r){return new(r||m)},m.\u0275mod=e.oAB({type:m}),m.\u0275inj=e.cJS({imports:[[s.vT,u.ez,d.vG,O.PV,a.T]]}),m})()}}]);
\ No newline at end of file
diff --git a/server/public/4658.5c85d7945136a277.js b/server/public/4658.5c85d7945136a277.js
deleted file mode 100644
index 5b21c86eb..000000000
--- a/server/public/4658.5c85d7945136a277.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4658],{7946:(y,m,t)=>{t.d(m,{x:()=>M});var v=t(9808),n=t(897),e=t(8481),p=t(3610),T=t(8018),z=t(3580),h=t(9476),u=t(5e3);let M=(()=>{class d{}return d.\u0275fac=function(C){return new(C||d)},d.\u0275mod=u.oAB({type:d}),d.\u0275inj=u.cJS({imports:[[v.ez,e.X,p.$6,n.$,T.e,z.Q,h.L]]}),d})()},8664:(y,m,t)=>{t.d(m,{I:()=>$});var v=t(6654),n=t(5e3),e=t(9808),p=t(325),T=t(8481),z=t(3610),h=t(4850),u=t(712),M=t(7484),d=t(647),_=t(3193),C=t(3098),f=t(6550),O=t(1894),V=t(8144),c=t(6949);function P(a,r){if(1&a&&(n._UZ(0,"i",13),n._uU(1)),2&a){const o=n.oxw().ngIf;n.xp6(1),n.hij(" ",o.name," ")}}function Z(a,r){if(1&a&&n._UZ(0,"cvc-gene-tag",14),2&a){const o=n.oxw().ngIf;n.Q6J("enablePopover",!1)("gene",o.gene)}}function A(a,r){1&a&&(n.TgZ(0,"span"),n._uU(1,",\xa0"),n.qZA())}function S(a,r){if(1&a&&(n.TgZ(0,"span"),n._uU(1),n.YNc(2,A,2,0,"span",1),n.qZA()),2&a){const o=r.$implicit,s=r.last;n.xp6(1),n.hij(" ",o,""),n.xp6(1),n.Q6J("ngIf",!s)}}function I(a,r){if(1&a&&(n.TgZ(0,"nz-descriptions-item",15),n.YNc(1,S,3,2,"span",16),n.qZA()),2&a){const o=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",o.variantAliases)}}function E(a,r){if(1&a&&(n.TgZ(0,"nz-descriptions-item",17),n.TgZ(1,"cvc-link-tag",18),n._uU(2),n.qZA(),n.qZA()),2&a){const o=n.oxw().ngIf;n.xp6(1),n.MGl("href","https://reg.genome.network/allele/",o.alleleRegistryId,".html"),n.xp6(1),n.hij(" ",o.alleleRegistryId," ")}}function U(a,r){if(1&a&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",20),n._UZ(2,"i",21),n._uU(3),n.qZA(),n.qZA()),2&a){const o=n.oxw().ngIf;n.MGl("routerLink","/variants/",o.id,"/flags"),n.xp6(3),n.hij(" Flags (",o.flags.totalCount,") ")}}function i(a,r){if(1&a&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",22),n._UZ(2,"i",23),n._uU(3),n.qZA(),n.qZA()),2&a){const o=n.oxw().ngIf;n.MGl("routerLink","/variants/",o.id,"/revisions"),n.xp6(3),n.hij(" Revisions (",o.revisions.totalCount,") ")}}function g(a,r){if(1&a&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",24),n._UZ(2,"i",25),n._uU(3),n.qZA(),n.qZA()),2&a){const o=n.oxw().ngIf;n.MGl("routerLink","/variants/",o.id,"/comments"),n.xp6(3),n.hij(" Comments (",o.comments.totalCount,") ")}}function l(a,r){if(1&a&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,P,2,1,"ng-template",null,3,n.W1O),n.YNc(4,Z,1,2,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-descriptions",5),n.YNc(7,I,2,1,"nz-descriptions-item",6),n.YNc(8,E,3,2,"nz-descriptions-item",7),n.TgZ(9,"nz-descriptions-item",8),n._uU(10),n.qZA(),n.qZA(),n.TgZ(11,"nz-row",9),n.TgZ(12,"nz-col",10),n.TgZ(13,"nz-space",11),n.YNc(14,U,4,2,"a",12),n.YNc(15,i,4,2,"a",12),n.YNc(16,g,4,2,"a",12),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&a){const o=r.ngIf,s=n.MAs(3),x=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",s)("nzExtra",x),n.xp6(5),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",o.variantAliases.length>0),n.xp6(1),n.Q6J("ngIf",o.alleleRegistryId),n.xp6(2),n.hij(" ",o.evidenceItems.totalCount," ")}}let J=(()=>{class a{constructor(o){this.gql=o}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,h.U)(({data:o})=>o.variant))}}return a.\u0275fac=function(o){return new(o||a)(n.Y36(u.ZYZ))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(o,s){1&o&&(n.TgZ(0,"div",0),n.YNc(1,l,17,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&o&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,s.variant$)))},directives:[e.O5,M.bd,d.Ls,_.H,C.R7,C.uj,e.sg,f.l,O.SK,O.t3,V.NU,V.$1,p.yS,T.j],pipes:[c.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),a})();function D(a,r){}function B(a,r){if(1&a&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,D,0,0,"ng-template",6),n.qZA(),n.BQk()),2&a){const o=n.oxw(),s=n.MAs(2);n.xp6(1),n.Q6J("routerLink",o.variant.link),n.xp6(1),n.Q6J("ngTemplateOutlet",s)}}function N(a,r){}function Y(a,r){if(1&a){const o=n.EpF();n.TgZ(0,"nz-tag",9),n.NdJ("nzOnClose",function(x){return n.CHM(o),n.oxw(2).itemClosed(x)}),n.YNc(1,N,0,0,"ng-template",6),n.qZA()}if(2&a){n.oxw();const o=n.MAs(2),s=n.oxw(),x=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",s.onCloseClicked?0:.5)("nzPopoverContent",o)("nzMode",s.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",x)}}function L(a,r){if(1&a&&n._UZ(0,"cvc-variant-popover",11),2&a){const o=n.oxw(3);n.Q6J("variantId",o.variant.id)}}function Q(a,r){if(1&a&&n.YNc(0,L,1,1,"cvc-variant-popover",10),2&a){const o=n.oxw(2);n.Q6J("ngIf",o.enablePopover)}}function R(a,r){if(1&a&&(n.YNc(0,Y,2,4,"nz-tag",7),n.YNc(1,Q,1,1,"ng-template",null,8,n.W1O)),2&a){const o=n.oxw(),s=n.MAs(4);n.Q6J("ngIf",o.enablePopover)("ngIfElse",s)}}function F(a,r){}function j(a,r){if(1&a){const o=n.EpF();n.TgZ(0,"nz-tag",12),n.NdJ("nzOnClose",function(x){return n.CHM(o),n.oxw().itemClosed(x)}),n.YNc(1,F,0,0,"ng-template",6),n.qZA()}if(2&a){const o=n.oxw(),s=n.MAs(8);n.Q6J("nzMode",o.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",s)}}function W(a,r){}function H(a,r){if(1&a&&n.YNc(0,W,0,0,"ng-template",6),2&a){n.oxw();const o=n.MAs(2);n.Q6J("ngTemplateOutlet",o)}}function K(a,r){if(1&a&&(n._UZ(0,"i",13),n._uU(1)),2&a){const o=n.oxw();n.xp6(1),n.hij(" ",o.variant.name,"\n")}}let $=(()=>{class a extends v.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return a.\u0275fac=function(o){return new(o||a)},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(o,s){if(1&o&&(n.YNc(0,B,3,2,"ng-container",0),n.YNc(1,R,3,2,"ng-template",null,1,n.W1O),n.YNc(3,j,2,2,"ng-template",null,2,n.W1O),n.YNc(5,H,1,1,"ng-template",null,3,n.W1O),n.YNc(7,K,2,1,"ng-template",null,4,n.W1O)),2&o){const x=n.MAs(6);n.Q6J("ngIf",s.linked)("ngIfElse",x)}},directives:[e.O5,p.yS,e.tP,T.j,z.lU,J,d.Ls],styles:[""]}),a})()},4867:(y,m,t)=>{t.d(m,{Q:()=>V});var v=t(9808),n=t(325),e=t(8481),p=t(647),T=t(3610),z=t(6949),h=t(7484),u=t(1894),M=t(3098),d=t(8144),_=t(3309),C=t(3630),f=t(5e3);let O=(()=>{class c{}return c.\u0275fac=function(Z){return new(Z||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({imports:[[v.ez,n.Bz,z.WG,h.vh,u.Jb,M.q6,e.X,p.PV,d.zf,_.U,C.X]]}),c})(),V=(()=>{class c{}return c.\u0275fac=function(Z){return new(Z||c)},c.\u0275mod=f.oAB({type:c}),c.\u0275inj=f.cJS({imports:[[v.ez,n.Bz,e.X,T.$6,p.PV,O]]}),c})()},3154:(y,m,t)=>{t.d(m,{_:()=>n});var v=t(712);function n(e){var p;switch(e.value){case"ascend":p=v.SrV.Asc;break;case"descend":p=v.SrV.Desc;break;default:return}return{column:e.key,direction:p}}},9221:(y,m,t)=>{t.r(m),t.d(m,{VariantsModule:()=>U});var v=t(9808),n=t(325),e=t(5e3);let p=(()=>{class i{constructor(){}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["app-variants"]],decls:1,vars:0,template:function(l,J){1&l&&e._UZ(0,"router-outlet")},directives:[n.lC],styles:[""]}),i})();var T=t(5630),z=t(1945),h=t(1894),u=t(647),M=t(3855),d=t(3309),_=t(3618),C=t(6042),f=t(8144);let O=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[v.ez,z.KJ,h.Jb,u.PV,_.ZJ,C.sL,f.zf,T.D,d.U,M.H]]}),i})();var V=t(8992),c=t(2683),P=t(6410);function Z(i,g){1&i&&(e.TgZ(0,"a",13),e._UZ(1,"i",14),e._uU(2," View Variant Model Docs "),e.qZA())}function A(i,g){1&i&&(e.TgZ(0,"a",15),e._UZ(1,"i",14),e._uU(2," View Variant Curation Docs "),e.qZA())}const I=[{path:"",component:p,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class i{constructor(){}ngOnInit(){}}return i.\u0275fac=function(l){return new(l||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["variants-home"]],decls:19,vars:2,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:variant"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variants"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/variants.html","target","_blank","nzSize","small","nzBlock",""]],template:function(l,J){1&l&&(e._UZ(0,"cvc-section-navigation"),e.TgZ(1,"nz-page-header",0),e.TgZ(2,"nz-page-header-content"),e.TgZ(3,"nz-row",1),e.TgZ(4,"nz-col",2),e._UZ(5,"i",3),e.qZA(),e.TgZ(6,"nz-col",4),e.TgZ(7,"h2"),e._uU(8,"Variants"),e.qZA(),e.TgZ(9,"p",5),e._uU(10,'CIViC variants are usually genomic alterations, including single nucleotide variants, insertion/deletion events, copy number alterations, structural variants, and other events that differ from the "normal" genome.'),e.qZA(),e.qZA(),e.TgZ(11,"nz-col",6),e.TgZ(12,"nz-space",7),e.YNc(13,Z,3,0,"a",8),e.YNc(14,A,3,0,"a",9),e.qZA(),e.qZA(),e.qZA(),e.TgZ(15,"nz-row"),e.TgZ(16,"nz-col",10),e.TgZ(17,"div",11),e._UZ(18,"cvc-variants-table",12),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.qZA()),2&l&&(e.xp6(9),e.Q6J("nzEllipsisRows",2),e.xp6(7),e.Q6J("nzSpan",24))},directives:[V.I,z.$O,z.u5,h.SK,h.t3,u.Ls,c.w,_.ZU,f.NU,f.$1,C.ix,P.S],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),i})(),data:{breadcrumb:"Home"}},{path:":variantId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([t.e(6256),t.e(9001),t.e(2826),t.e(1679),t.e(305),t.e(2738),t.e(55),t.e(9716),t.e(3883),t.e(5291),t.e(2043),t.e(3482),t.e(5787),t.e(9286)]).then(t.bind(t,1485)).then(i=>i.VariantsDetailModule)},{path:"revise",loadChildren:()=>Promise.all([t.e(6256),t.e(1679),t.e(6875),t.e(4584),t.e(7012)]).then(t.bind(t,7012)).then(i=>i.VariantsReviseModule),data:{breadcrumb:"Revise"}}]}]}];let E=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[n.Bz.forChild(I),O],n.Bz]}),i})(),U=(()=>{class i{}return i.\u0275fac=function(l){return new(l||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[v.ez,E]]}),i})()}}]);
\ No newline at end of file
diff --git a/server/public/4721.785031df1f100b85.js b/server/public/4721.785031df1f100b85.js
deleted file mode 100644
index 5a5a7abf4..000000000
--- a/server/public/4721.785031df1f100b85.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4721],{7946:(Q,T,a)=>{a.d(T,{x:()=>I});var l=a(9808),t=a(897),m=a(8481),_=a(3610),v=a(8018),z=a(3580),u=a(9476),n=a(5e3);let I=(()=>{class d{}return d.\u0275fac=function(M){return new(M||d)},d.\u0275mod=n.oAB({type:d}),d.\u0275inj=n.cJS({imports:[[l.ez,m.X,_.$6,t.$,v.e,z.Q,u.L]]}),d})()},8664:(Q,T,a)=>{a.d(T,{I:()=>k});var l=a(6654),t=a(5e3),m=a(9808),_=a(325),v=a(8481),z=a(3610),u=a(4850),n=a(712),I=a(7484),d=a(647),A=a(3193),M=a(3098),O=a(6550),f=a(1894),S=a(8144),h=a(6949);function x(i,c){if(1&i&&(t._UZ(0,"i",13),t._uU(1)),2&i){const r=t.oxw().ngIf;t.xp6(1),t.hij(" ",r.name," ")}}function P(i,c){if(1&i&&t._UZ(0,"cvc-gene-tag",14),2&i){const r=t.oxw().ngIf;t.Q6J("enablePopover",!1)("gene",r.gene)}}function N(i,c){1&i&&(t.TgZ(0,"span"),t._uU(1,",\xa0"),t.qZA())}function E(i,c){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.YNc(2,N,2,0,"span",1),t.qZA()),2&i){const r=c.$implicit,g=c.last;t.xp6(1),t.hij(" ",r,""),t.xp6(1),t.Q6J("ngIf",!g)}}function B(i,c){if(1&i&&(t.TgZ(0,"nz-descriptions-item",15),t.YNc(1,E,3,2,"span",16),t.qZA()),2&i){const r=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",r.variantAliases)}}function J(i,c){if(1&i&&(t.TgZ(0,"nz-descriptions-item",17),t.TgZ(1,"cvc-link-tag",18),t._uU(2),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.xp6(1),t.MGl("href","https://reg.genome.network/allele/",r.alleleRegistryId,".html"),t.xp6(1),t.hij(" ",r.alleleRegistryId," ")}}function L(i,c){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",20),t._UZ(2,"i",21),t._uU(3),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.MGl("routerLink","/variants/",r.id,"/flags"),t.xp6(3),t.hij(" Flags (",r.flags.totalCount,") ")}}function b(i,c){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",22),t._UZ(2,"i",23),t._uU(3),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.MGl("routerLink","/variants/",r.id,"/revisions"),t.xp6(3),t.hij(" Revisions (",r.revisions.totalCount,") ")}}function D(i,c){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",24),t._UZ(2,"i",25),t._uU(3),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.MGl("routerLink","/variants/",r.id,"/comments"),t.xp6(3),t.hij(" Comments (",r.comments.totalCount,") ")}}function U(i,c){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,x,2,1,"ng-template",null,3,t.W1O),t.YNc(4,P,1,2,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5),t.YNc(7,B,2,1,"nz-descriptions-item",6),t.YNc(8,J,3,2,"nz-descriptions-item",7),t.TgZ(9,"nz-descriptions-item",8),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"nz-row",9),t.TgZ(12,"nz-col",10),t.TgZ(13,"nz-space",11),t.YNc(14,L,4,2,"a",12),t.YNc(15,b,4,2,"a",12),t.YNc(16,D,4,2,"a",12),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&i){const r=c.ngIf,g=t.MAs(3),C=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",g)("nzExtra",C),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",r.variantAliases.length>0),t.xp6(1),t.Q6J("ngIf",r.alleleRegistryId),t.xp6(2),t.hij(" ",r.evidenceItems.totalCount," ")}}let V=(()=>{class i{constructor(r){this.gql=r}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,u.U)(({data:r})=>r.variant))}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(n.ZYZ))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(r,g){1&r&&(t.TgZ(0,"div",0),t.YNc(1,U,17,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&r&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,g.variant$)))},directives:[m.O5,I.bd,d.Ls,A.H,M.R7,M.uj,m.sg,O.l,f.SK,f.t3,S.NU,S.$1,_.yS,v.j],pipes:[h.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),i})();function Y(i,c){}function j(i,c){if(1&i&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,Y,0,0,"ng-template",6),t.qZA(),t.BQk()),2&i){const r=t.oxw(),g=t.MAs(2);t.xp6(1),t.Q6J("routerLink",r.variant.link),t.xp6(1),t.Q6J("ngTemplateOutlet",g)}}function w(i,c){}function F(i,c){if(1&i){const r=t.EpF();t.TgZ(0,"nz-tag",9),t.NdJ("nzOnClose",function(C){return t.CHM(r),t.oxw(2).itemClosed(C)}),t.YNc(1,w,0,0,"ng-template",6),t.qZA()}if(2&i){t.oxw();const r=t.MAs(2),g=t.oxw(),C=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",g.onCloseClicked?0:.5)("nzPopoverContent",r)("nzMode",g.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",C)}}function R(i,c){if(1&i&&t._UZ(0,"cvc-variant-popover",11),2&i){const r=t.oxw(3);t.Q6J("variantId",r.variant.id)}}function W(i,c){if(1&i&&t.YNc(0,R,1,1,"cvc-variant-popover",10),2&i){const r=t.oxw(2);t.Q6J("ngIf",r.enablePopover)}}function $(i,c){if(1&i&&(t.YNc(0,F,2,4,"nz-tag",7),t.YNc(1,W,1,1,"ng-template",null,8,t.W1O)),2&i){const r=t.oxw(),g=t.MAs(4);t.Q6J("ngIf",r.enablePopover)("ngIfElse",g)}}function H(i,c){}function K(i,c){if(1&i){const r=t.EpF();t.TgZ(0,"nz-tag",12),t.NdJ("nzOnClose",function(C){return t.CHM(r),t.oxw().itemClosed(C)}),t.YNc(1,H,0,0,"ng-template",6),t.qZA()}if(2&i){const r=t.oxw(),g=t.MAs(8);t.Q6J("nzMode",r.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",g)}}function q(i,c){}function X(i,c){if(1&i&&t.YNc(0,q,0,0,"ng-template",6),2&i){t.oxw();const r=t.MAs(2);t.Q6J("ngTemplateOutlet",r)}}function G(i,c){if(1&i&&(t._UZ(0,"i",13),t._uU(1)),2&i){const r=t.oxw();t.xp6(1),t.hij(" ",r.variant.name,"\n")}}let k=(()=>{class i extends l.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[t.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(r,g){if(1&r&&(t.YNc(0,j,3,2,"ng-container",0),t.YNc(1,$,3,2,"ng-template",null,1,t.W1O),t.YNc(3,K,2,2,"ng-template",null,2,t.W1O),t.YNc(5,X,1,1,"ng-template",null,3,t.W1O),t.YNc(7,G,2,1,"ng-template",null,4,t.W1O)),2&r){const C=t.MAs(6);t.Q6J("ngIf",g.linked)("ngIfElse",C)}},directives:[m.O5,_.yS,m.tP,v.j,z.lU,V,d.Ls],styles:[""]}),i})()},4867:(Q,T,a)=>{a.d(T,{Q:()=>S});var l=a(9808),t=a(325),m=a(8481),_=a(647),v=a(3610),z=a(6949),u=a(7484),n=a(1894),I=a(3098),d=a(8144),A=a(3309),M=a(3630),O=a(5e3);let f=(()=>{class h{}return h.\u0275fac=function(P){return new(P||h)},h.\u0275mod=O.oAB({type:h}),h.\u0275inj=O.cJS({imports:[[l.ez,t.Bz,z.WG,u.vh,n.Jb,I.q6,m.X,_.PV,d.zf,A.U,M.X]]}),h})(),S=(()=>{class h{}return h.\u0275fac=function(P){return new(P||h)},h.\u0275mod=O.oAB({type:h}),h.\u0275inj=O.cJS({imports:[[l.ez,t.Bz,m.X,v.$6,_.PV,f]]}),h})()},3154:(Q,T,a)=>{a.d(T,{_:()=>t});var l=a(712);function t(m){var _;switch(m.value){case"ascend":_=l.SrV.Asc;break;case"descend":_=l.SrV.Desc;break;default:return}return{column:m.key,direction:_}}},1076:(Q,T,a)=>{a.r(T),a.d(T,{PhenotypesModule:()=>Cn});var l=a(9808),t=a(325),m=a(3630),_=a(5630),v=a(6949),z=a(647),u=a(1945),n=a(5e3);let I=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[l.ez,t.Bz,v.WG,u.KJ,z.PV,m.X,_.D]]}),e})();var d=a(8144),A=a(767),M=a(9441);let O=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[l.ez,d.zf,A.Q,M.s]]}),e})();var f=a(1132),S=a(4125),h=a(6286),x=a(6042),P=a(3618),N=a(7484),E=a(404);let B=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[l.ez,v.WG,f.HQ,x.sL,z.PV,P.ZJ,N.vh,E.cg,S.k,h.y,m.X]]}),e})();var J=a(1894);let L=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[l.ez,u.KJ,z.PV,J.Jb,x.sL,d.zf,P.ZJ,_.D,B]]}),e})();var b=a(373),D=a(1059),U=a(712),V=a(8992),Y=a(6550);function j(e,s){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"nz-page-header",2),n.TgZ(3,"nz-page-header-title"),n._UZ(4,"i",3),n._uU(5),n.qZA(),n.TgZ(6,"nz-page-header-extra"),n.TgZ(7,"cvc-link-tag",4),n._uU(8),n.qZA(),n.qZA(),n.TgZ(9,"nz-page-header-content"),n.TgZ(10,"div",5),n._UZ(11,"router-outlet"),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&e){const o=s.ngIf;n.xp6(1),n.Q6J("displayName",o.name),n.xp6(4),n.hij(" ",o.name," "),n.xp6(2),n.Q6J("href",o.url),n.xp6(1),n.hij(" ",o.hpoId," ")}}let w=(()=>{class e{constructor(o,p){this.route=o,this.gql=p,this.routeSub=this.route.params.subscribe(Z=>{this.phenotypeId=+Z.phenotypeId,this.queryRef=this.gql.watch({phenotypeId:this.phenotypeId});let y=this.queryRef.valueChanges;this.loading$=y.pipe((0,b.j)("loading"),(0,D.O)(!0)),this.phenotype$=y.pipe((0,b.j)("data","phenotype"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(o){return new(o||e)(n.Y36(t.gz),n.Y36(U.WGV))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-phenotypes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzType","civic:phenotype"],["tooltip","View in the HPO",3,"href"],[1,"content"]],template:function(o,p){1&o&&(n.YNc(0,j,12,4,"ng-container",0),n.ALo(1,"ngrxPush")),2&o&&n.Q6J("ngIf",n.lcZ(1,1,p.phenotype$))},directives:[l.O5,V.I,u.$O,u.u9,z.Ls,u.Jp,Y.l,u.u5,t.lC],pipes:[v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var F=a(2683),R=a(3154),W=a(8929),$=a(4850),H=a(2986),K=a(13),q=a(2166),X=a(7956),G=a(2643);function k(e,s){if(1&e&&(n.TgZ(0,"cvc-link-tag",17),n._uU(1),n.qZA()),2&e){const o=n.oxw().$implicit;n.Q6J("href",o.url),n.xp6(1),n.hij(" ",o.hpoId," ")}}function i(e,s){1&e&&n._uU(0,"--")}function c(e,s){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._UZ(2,"cvc-phenotype-tag",14),n.qZA(),n.TgZ(3,"td"),n.YNc(4,k,2,2,"cvc-link-tag",15),n.YNc(5,i,1,0,"ng-template",null,16,n.W1O),n.qZA(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td"),n._uU(10),n.qZA(),n.qZA()),2&e){const o=s.$implicit,p=n.MAs(6);n.xp6(2),n.Q6J("phenotype",o),n.xp6(2),n.Q6J("ngIf",o.hpoId)("ngIfElse",p),n.xp6(4),n.hij(" ",o.evidenceCount," "),n.xp6(2),n.hij(" ",o.assertionCount," ")}}function r(e,s){if(1&e){const o=n.EpF();n.TgZ(0,"button",21),n.NdJ("click",function(){n.CHM(o);const Z=n.oxw(2).ngrxLet;return n.oxw().loadMore(Z.endCursor)}),n._uU(1),n.qZA()}if(2&e){const o=n.oxw(3);n.xp6(1),n.hij("Load ",o.initialPageSize," More")}}function g(e,s){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td",19),n.YNc(2,r,2,1,"button",20),n.qZA(),n.qZA()),2&e){const o=n.oxw().ngrxLet;n.xp6(2),n.Q6J("ngIf",o.hasNextPage)}}function C(e,s){if(1&e&&(n.ynx(0),n.YNc(1,g,3,1,"tr",18),n.BQk()),2&e){const o=s.ngrxLet;n.xp6(1),n.Q6J("ngIf",o.hasNextPage)}}function nn(e,s){}function en(e,s){if(1&e&&(n.ynx(0),n.YNc(1,nn,0,0,"ng-template",25),n.BQk()),2&e){const o=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",o.cvcTitleTemplate)}}function on(e,s){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const o=n.oxw(2);n.xp6(1),n.hij(" ",o.cvcTitle," ")}}function an(e,s){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const o=n.oxw().ngIf;n.xp6(1),n.hij(" of ",o," filtered")}}function rn(e,s){if(1&e&&(n.TgZ(0,"span",26),n._uU(1),n.YNc(2,an,2,1,"span",18),n._uU(3,") "),n.qZA()),2&e){const o=s.ngIf,p=n.oxw(2);n.xp6(1),n.AsE(" (",p.totalCount," total, showing ",p.visibleCount,""),n.xp6(1),n.Q6J("ngIf",p.totalCount&&o{class e{constructor(o){this.gql=o,this.initialPageSize=25,this.debouncedQuery=new W.xQ,this.sortColumns=U.lYz,this.visibleCount=this.initialPageSize,this.loadedPages=1}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize});let o=this.queryRef.valueChanges;this.phenotypes$=o.pipe((0,b.j)("data","phenotypes","edges"),(0,$.U)(p=>p.map(Z=>Z.node))),this.isLoading$=o.pipe((0,b.j)("loading"),(0,D.O)(!0)),this.filteredCount$=o.pipe((0,b.j)("data","phenotypes","filteredCount")),this.filteredCount$.pipe((0,H.q)(1)).subscribe(p=>this.totalCount=p),this.filteredCount$.subscribe(p=>{pp&&(this.visibleCount=p))}),this.pageInfo$=o.pipe((0,b.j)("data","phenotypes","pageInfo")),this.debouncedQuery.pipe((0,K.b)(500)).subscribe(p=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()}}onModelChanged(){this.debouncedQuery.next()}onSortChanged(o){var p;this.loadedPages=1,null===(p=this.queryRef)||void 0===p||p.refetch({sortBy:(0,R._)(o)})}refresh(){var o;this.loadedPages=1,null===(o=this.queryRef)||void 0===o||o.refetch({name:this.hpoNameFilter,hpoId:this.hpoIdFilter})}ngOnDestroy(){this.debouncedQuery.unsubscribe()}loadMore(o){var p;null===(p=this.queryRef)||void 0===p||p.fetchMore({variables:{after:o}}),this.loadedPages+=1}}return e.\u0275fac=function(o){return new(o||e)(n.Y36(U.B97))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-phenotypes-table"]],inputs:{cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:27,vars:27,consts:[[3,"nzTitle"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["phenotypesTable",""],[3,"nzSortOrderChange"],["nzWidth","40%",3,"nzColumnKey","nzSortFn"],["nzWidth","10%","nzRight","","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:evidence"],["nzWidth","10%","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:assertion"],["placeholderText","Search Name",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Search HPO ID",3,"inputModel","onInputChanged","inputModelChange"],[4,"ngFor","ngForOf"],[4,"ngrxLet"],["titleTemplate",""],[3,"phenotype"],["tooltip","View in the HPO",3,"href",4,"ngIf","ngIfElse"],["noHpo",""],["tooltip","View in the HPO",3,"href"],[4,"ngIf"],["colspan","7"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],["nz-icon","","nzType","civic:phenotype"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(o,p){if(1&o&&(n.TgZ(0,"nz-card",0),n.TgZ(1,"nz-table",1,2),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.TgZ(5,"thead",3),n.NdJ("nzSortOrderChange",function(y){return p.onSortChanged(y)}),n.TgZ(6,"tr"),n.TgZ(7,"th",4),n._uU(8," Name "),n.qZA(),n.TgZ(9,"th",4),n._uU(10," HPO ID "),n.qZA(),n.TgZ(11,"th",5),n._UZ(12,"i",6),n.qZA(),n.TgZ(13,"th",7),n._UZ(14,"i",8),n.qZA(),n.qZA(),n.TgZ(15,"tr"),n.TgZ(16,"th"),n.TgZ(17,"cvc-clearable-input-filter",9),n.NdJ("inputModelChange",function(y){return p.hpoNameFilter=y}),n.qZA(),n.qZA(),n.TgZ(18,"th"),n.TgZ(19,"cvc-clearable-input-filter",10),n.NdJ("inputModelChange",function(y){return p.hpoIdFilter=y}),n.qZA(),n.qZA(),n._UZ(20,"th"),n._UZ(21,"th"),n.qZA(),n.qZA(),n.TgZ(22,"tbody"),n.YNc(23,c,11,5,"tr",11),n.YNc(24,C,2,1,"ng-container",12),n.qZA(),n.qZA(),n.qZA(),n.YNc(25,sn,7,6,"ng-template",null,13,n.W1O)),2&o){const Z=n.MAs(2),y=n.MAs(26);n.Q6J("nzTitle",y),n.xp6(1),n.Q6J("nzData",n.lcZ(3,21,p.phenotypes$))("nzLoading",n.lcZ(4,23,p.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(6),n.Q6J("nzColumnKey",p.sortColumns.Name)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",p.sortColumns.HpoId)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",p.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(25,tn)),n.xp6(2),n.Q6J("nzColumnKey",p.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",n.DdM(26,tn)),n.xp6(4),n.Q6J("inputModel",p.hpoNameFilter)("onInputChanged",p.textInputCallback),n.xp6(2),n.Q6J("inputModel",p.hpoIdFilter)("onInputChanged",p.textInputCallback),n.xp6(4),n.Q6J("ngForOf",Z.data),n.xp6(1),n.Q6J("ngrxLet",p.pageInfo$)}},directives:[N.bd,f.N8,f.Om,f.$Z,f.Uo,f._C,f.qD,f.qn,E.SY,F.w,z.Ls,q.p,f.p0,l.sg,X.i,l.O5,Y.l,v.eJ,x.ix,G.dQ,l.tP,P.ZU],pipes:[v.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),e})();function ln(e,s){1&e&&(n.TgZ(0,"a",14),n._UZ(1,"i",15),n._uU(2," View Associated Phenotype Docs "),n.qZA())}function gn(e,s){1&e&&(n.TgZ(0,"a",16),n._UZ(1,"i",15),n._uU(2," View Phenotype Curation Docs "),n.qZA())}let dn=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["phenotypes-home"]],decls:19,vars:2,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:phenotype"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Associated Phenotypes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock",""]],template:function(o,p){1&o&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0),n.TgZ(2,"nz-page-header-content"),n.TgZ(3,"nz-row",1),n.TgZ(4,"nz-col",2),n._UZ(5,"i",3),n.qZA(),n.TgZ(6,"nz-col",4),n.TgZ(7,"h2"),n._uU(8,"Associated Phenotypes"),n.qZA(),n.TgZ(9,"p",5),n._uU(10,"Phenotypes are symptoms or abnormalities that are encountered in human disease, optionally associated with Evidence Items and known to the Human Phenotype Ontology database."),n.qZA(),n.qZA(),n.TgZ(11,"nz-col",6),n.TgZ(12,"nz-space",7),n.YNc(13,ln,3,0,"a",8),n.YNc(14,gn,3,0,"a",9),n.qZA(),n.qZA(),n.qZA(),n.TgZ(15,"div",10),n.TgZ(16,"div",11),n.TgZ(17,"div",12),n._UZ(18,"cvc-phenotypes-table",13),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&o&&(n.xp6(9),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24))},directives:[V.I,u.$O,u.u5,J.SK,J.t3,z.Ls,F.w,P.ZU,d.NU,d.$1,x.ix,cn],styles:["[_nghost-%COMP%]{display:block}"]}),e})();var hn=a(3756),mn=a(8965);function _n(e,s){if(1&e&&n._UZ(0,"cvc-assertions-table",4),2&e){const o=n.oxw(2);n.Q6J("phenotypeId",o.phenotypeId)}}function un(e,s){if(1&e&&n._UZ(0,"cvc-evidence-table",5),2&e){const o=n.oxw(2);n.Q6J("phenotypeId",o.phenotypeId)}}function fn(e,s){1&e&&(n.TgZ(0,"nz-space",1),n.YNc(1,_n,1,1,"cvc-assertions-table",2),n.YNc(2,un,1,1,"cvc-evidence-table",3),n.qZA())}const vn=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-phenotypes"]],decls:1,vars:0,template:function(o,p){1&o&&n._UZ(0,"router-outlet")},directives:[t.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:dn,data:{breadcrumb:"Home"}},{path:":phenotypeId",component:w,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class e{constructor(o){this.route=o,this.routeSub=this.route.params.subscribe(p=>{this.phenotypeId=+p.phenotypeId})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(o){return new(o||e)(n.Y36(t.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-phenotypes-summary"]],decls:1,vars:1,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["cvcTitle","Phenotype Assertions",3,"phenotypeId",4,"nzSpaceItem"],["cvcTitle","Phenotype Evidence",3,"phenotypeId",4,"nzSpaceItem"],["cvcTitle","Phenotype Assertions",3,"phenotypeId"],["cvcTitle","Phenotype Evidence",3,"phenotypeId"]],template:function(o,p){1&o&&n.YNc(0,fn,3,0,"nz-space",0),2&o&&n.Q6J("ngIf",p.phenotypeId)},directives:[l.O5,d.NU,d.$1,hn.x,mn.a],styles:["[_nghost-%COMP%]{display:block}"]}),e})(),data:{breadcrumb:"Summary"}}]}]}];let zn=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.Bz.forChild(vn)],t.Bz]}),e})(),Cn=(()=>{class e{}return e.\u0275fac=function(o){return new(o||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[l.ez,t.Bz,zn,L,I,O]]}),e})()}}]);
\ No newline at end of file
diff --git a/server/public/4726.9630e9511479c70a.js b/server/public/4726.9630e9511479c70a.js
new file mode 100644
index 000000000..f6ce61c26
--- /dev/null
+++ b/server/public/4726.9630e9511479c70a.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4726],{3580:(O,S,o)=>{o.d(S,{Q:()=>v});var p=o(9808),t=o(325),m=o(8481),d=o(3610),_=o(647),f=o(7484),I=o(3098),y=o(3630),n=o(6949),h=o(3618),T=o(9444),Z=o(5e3);let M=(()=>{class l{}return l.\u0275fac=function(x){return new(x||l)},l.\u0275mod=Z.oAB({type:l}),l.\u0275inj=Z.cJS({imports:[[p.ez,n.WG,f.vh,I.q6,_.PV,h.ZJ,T.s,y.X]]}),l})(),v=(()=>{class l{}return l.\u0275fac=function(x){return new(x||l)},l.\u0275mod=Z.oAB({type:l}),l.\u0275inj=Z.cJS({imports:[[p.ez,t.Bz,m.X,d.$6,_.PV,T.s,M]]}),l})()},8018:(O,S,o)=>{o.d(S,{e:()=>l});var p=o(9808),t=o(325),m=o(8481),d=o(3610),_=o(647),f=o(7484),I=o(3098),y=o(6949),n=o(3630),h=o(3618),T=o(9444),Z=o(404),M=o(5e3);let v=(()=>{class g{}return g.\u0275fac=function(J){return new(J||g)},g.\u0275mod=M.oAB({type:g}),g.\u0275inj=M.cJS({imports:[[p.ez,t.Bz,y.WG,f.vh,I.q6,_.PV,h.ZJ,m.X,Z.cg,n.X,T.s]]}),g})(),l=(()=>{class g{}return g.\u0275fac=function(J){return new(J||g)},g.\u0275mod=M.oAB({type:g}),g.\u0275inj=M.cJS({imports:[[p.ez,t.Bz,m.X,d.$6,_.PV,T.s,v]]}),g})()},9476:(O,S,o)=>{o.d(S,{L:()=>v});var p=o(9808),t=o(325),m=o(8481),d=o(647),_=o(1894),f=o(3630),I=o(3098),y=o(7484),n=o(6949),h=o(5473),T=o(5e3);let Z=(()=>{class l{}return l.\u0275fac=function(x){return new(x||l)},l.\u0275mod=T.oAB({type:l}),l.\u0275inj=T.cJS({imports:[[p.ez,n.WG,y.vh,_.Jb,I.q6,f.X,h.H]]}),l})();var M=o(3610);let v=(()=>{class l{}return l.\u0275fac=function(x){return new(x||l)},l.\u0275mod=T.oAB({type:l}),l.\u0275inj=T.cJS({imports:[[p.ez,t.Bz,m.X,d.PV,M.$6,Z]]}),l})()},6715:(O,S,o)=>{o.d(S,{$:()=>m});var p=o(5e3);const t=["*"];let m=(()=>{class d{constructor(){}ngOnInit(){}}return d.\u0275fac=function(f){return new(f||d)},d.\u0275cmp=p.Xpm({type:d,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(f,I){2&f&&p.ekj("xs","xs"===I.size||!I.size)("sm","sm"===I.size)},inputs:{size:"size"},ngContentSelectors:t,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(f,I){1&f&&(p.F$t(),p.TgZ(0,"div",0),p.Hsn(1),p.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"]}),d})()},897:(O,S,o)=>{o.d(S,{$:()=>m});var p=o(9808),t=o(5e3);let m=(()=>{class d{}return d.\u0275fac=function(f){return new(f||d)},d.\u0275mod=t.oAB({type:d}),d.\u0275inj=t.cJS({imports:[[p.ez]]}),d})()},7946:(O,S,o)=>{o.d(S,{x:()=>n});var p=o(9808),t=o(897),m=o(8481),d=o(3610),_=o(8018),f=o(3580),I=o(9476),y=o(5e3);let n=(()=>{class h{}return h.\u0275fac=function(Z){return new(Z||h)},h.\u0275mod=y.oAB({type:h}),h.\u0275inj=y.cJS({imports:[[p.ez,m.X,d.$6,t.$,_.e,f.Q,I.L]]}),h})()},9814:(O,S,o)=>{o.d(S,{O:()=>Un});var p=o(712),t=o(3154),m=o(8929),d=o(4850),_=o(373),f=o(1059),I=o(2986),y=o(13),n=o(5e3),h=o(9350),T=o(9169),Z=o(7484),M=o(6949),v=o(1132),l=o(9808),g=o(8054),x=o(4182),J=o(2166),Y=o(647),L=o(2683),D=o(404),b=o(125),B=o(6906),$=o(3193),R=o(8664),W=o(4022),E=o(6042),N=o(2643),j=o(325),H=o(3610),Q=o(7625),G=o(6123),A=o(8144),F=o(2359),V=o(822),K=o(1047),X=o(7525),w=o(9180),q=o(8227),i=o(1793);function C(a,u){if(1&a){const e=n.EpF();n.TgZ(0,"nz-alert",6),n.NdJ("nzOnClose",function(){return n.CHM(e),n.oxw().onSuccessBannerClose()}),n.qZA()}}function s(a,u){if(1&a&&n._UZ(0,"cvc-form-errors-alert",7),2&a){const e=n.oxw();n.Q6J("errors",e.errorMessages)}}function P(a,u){if(1&a){const e=n.EpF();n.TgZ(0,"textarea",8),n.NdJ("ngModelChange",function(r){return n.CHM(e),n.oxw().reason=r}),n.qZA()}if(2&a){const e=n.oxw();n.Q6J("ngModel",e.reason)}}function U(a,u){1&a&&n._UZ(0,"nz-option",13)}function k(a,u){1&a&&n._UZ(0,"nz-option",14)}function nn(a,u){1&a&&n._UZ(0,"nz-option",15)}function tn(a,u){if(1&a){const e=n.EpF();n.TgZ(0,"nz-select",9),n.NdJ("ngModelChange",function(r){return n.CHM(e),n.oxw().newStatus=r}),n.YNc(1,U,1,0,"nz-option",10),n.YNc(2,k,1,0,"nz-option",11),n.YNc(3,nn,1,0,"nz-option",12),n.qZA()}if(2&a){const e=n.oxw();n.Q6J("ngModel",e.newStatus),n.xp6(1),n.Q6J("ngIf","NEW"==e.currentStatus),n.xp6(1),n.Q6J("ngIf","NEW"!=e.currentStatus),n.xp6(1),n.Q6J("ngIf","NEW"==e.currentStatus)}}function on(a,u){if(1&a){const e=n.EpF();n.TgZ(0,"nz-spin",16),n.TgZ(1,"cvc-form-buttons"),n.TgZ(2,"cvc-org-selector-btn-group",17),n.NdJ("selectedOrgChange",function(r){return n.CHM(e),n.oxw().mostRecentOrg=r}),n.TgZ(3,"button",18),n.NdJ("click",function(){return n.CHM(e),n.oxw().updateSourceSuggestionStatus()}),n._uU(4," Update Source Suggestion status "),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&a){const e=n.oxw();n.Q6J("nzSpinning",e.loading),n.xp6(2),n.Q6J("selectedOrg",e.mostRecentOrg),n.xp6(1),n.Q6J("disabled",e.loading)}}let en=(()=>{class a{constructor(e,c,r){this.viewerService=e,this.networkErrorService=c,this.updateSuggestionStatusGql=r,this.commentAddedEvent=new n.vpe,this.destroy$=new m.xQ,this.success=!1,this.errorMessages=[],this.loading=!1,this.viewerService.viewer$.pipe((0,Q.R)(this.destroy$)).subscribe(z=>{this.organizations=z.organizations,this.mostRecentOrg=z.mostRecentOrg}),this.sourceSuggestionStatusMutator=new G.U(c)}selectOrg(e){this.mostRecentOrg=e}updateSourceSuggestionStatus(){var e;if(this.newStatus){let c=this.sourceSuggestionStatusMutator.mutate(this.updateSuggestionStatusGql,{input:{id:this.sourceSuggestionId,newStatus:this.newStatus,reason:this.reason,organizationId:null===(e=this.mostRecentOrg)||void 0===e?void 0:e.id}});c.submitSuccess$.pipe((0,Q.R)(this.destroy$)).subscribe(r=>{this.resetForm(),this.success=!0}),c.submitError$.pipe((0,Q.R)(this.destroy$)).subscribe(r=>{r&&(this.errorMessages=r)}),c.isSubmitting$.pipe((0,Q.R)(this.destroy$)).subscribe(r=>{this.loading=r})}}resetForm(){this.commentText=""}onSuccessBannerClose(){this.resetForm()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return a.\u0275fac=function(e){return new(e||a)(n.Y36(h.a),n.Y36(T.Y),n.Y36(p.wRZ))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-update-source-suggestion-form"]],inputs:{sourceSuggestionId:"sourceSuggestionId",currentStatus:"currentStatus"},outputs:{commentAddedEvent:"commentAddedEvent"},decls:7,vars:2,consts:[["nzDirection","vertical"],["nzBanner","","nzMessage","Status Updated","nzType","success","nzCloseable","",3,"nzOnClose",4,"ngIf"],[3,"errors",4,"ngIf"],["rows","4","nz-input","",3,"ngModel","ngModelChange",4,"nzSpaceItem"],["nzPlaceHolder","New Status","required","true",3,"ngModel","ngModelChange",4,"nzSpaceItem"],["nzTip","Submitting",3,"nzSpinning",4,"nzSpaceItem"],["nzBanner","","nzMessage","Status Updated","nzType","success","nzCloseable","",3,"nzOnClose"],[3,"errors"],["rows","4","nz-input","",3,"ngModel","ngModelChange"],["nzPlaceHolder","New Status","required","true",3,"ngModel","ngModelChange"],["nzValue","CURATED","nzLabel","Curated",4,"ngIf"],["nzValue","NEW","nzLabel","New",4,"ngIf"],["nzValue","REJECTED","nzLabel","Rejected",4,"ngIf"],["nzValue","CURATED","nzLabel","Curated"],["nzValue","NEW","nzLabel","New"],["nzValue","REJECTED","nzLabel","Rejected"],["nzTip","Submitting",3,"nzSpinning"],[3,"selectedOrg","selectedOrgChange"],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary","nzSize","small",3,"disabled","click"]],template:function(e,c){1&e&&(n.TgZ(0,"nz-card"),n.TgZ(1,"nz-space",0),n.YNc(2,C,1,0,"nz-alert",1),n.YNc(3,s,1,1,"cvc-form-errors-alert",2),n.YNc(4,P,1,1,"textarea",3),n.YNc(5,tn,4,4,"nz-select",4),n.YNc(6,on,5,3,"nz-spin",5),n.qZA(),n.qZA()),2&e&&(n.xp6(2),n.Q6J("ngIf",c.success),n.xp6(1),n.Q6J("ngIf",c.errorMessages.length))},directives:[Z.bd,A.NU,l.O5,F.r,V.V,A.$1,K.Zp,x.Fj,x.JJ,x.On,g.Vq,x.Q7,g.Ip,X.W,w.Z,q.q,E.ix,N.dQ,i.m,L.w],styles:[""],encapsulation:2}),a})();var an=o(3618);function rn(a,u){1&a&&(n.TgZ(0,"th",25),n._uU(1," Actions "),n.qZA())}function sn(a,u){if(1&a){const e=n.EpF();n.TgZ(0,"cvc-clearable-input-filter",26),n.NdJ("inputModelChange",function(r){return n.CHM(e),n.oxw(2).submitterInput=r}),n.qZA()}if(2&a){const e=n.oxw(2);n.Q6J("inputModel",e.submitterInput)("onInputChanged",e.textInputCallback)}}function cn(a,u){1&a&&n._UZ(0,"th")}function gn(a,u){if(1&a&&n._UZ(0,"i",35),2&a){const e=n.oxw().$implicit;n.Q6J("nzTooltipTitle",e.reason)}}function ln(a,u){if(1&a&&n._UZ(0,"cvc-user-tag",36),2&a){const e=n.oxw().$implicit;n.Q6J("user",e.user)}}function un(a,u){if(1&a&&(n.ynx(0),n._uU(1),n.BQk()),2&a){const e=n.oxw().$implicit;n.xp6(1),n.hij(" ",e.source.displayType," ")}}function pn(a,u){if(1&a&&(n.ynx(0),n._uU(1),n.BQk()),2&a){const e=n.oxw().$implicit;n.xp6(1),n.hij(" ",e.source.citationId," ")}}function dn(a,u){if(1&a&&n._UZ(0,"cvc-source-tag",37),2&a){const e=n.oxw().$implicit;n.Q6J("source",e.source)}}function vn(a,u){if(1&a&&n._UZ(0,"cvc-gene-tag",38),2&a){const e=n.oxw().$implicit;n.Q6J("gene",e.gene)}}function mn(a,u){if(1&a&&n._UZ(0,"cvc-variant-tag",39),2&a){const e=n.oxw().$implicit;n.Q6J("variant",e.variant)}}function _n(a,u){if(1&a&&n._UZ(0,"cvc-disease-tag",40),2&a){const e=n.oxw().$implicit;n.Q6J("disease",e.disease)}}const Cn=function(a,u,e,c){return{geneId:a,sourceId:u,variantId:e,diseaseId:c}};function zn(a,u){if(1&a){const e=n.EpF();n.TgZ(0,"td"),n.TgZ(1,"nz-button-group"),n.TgZ(2,"button",41),n._UZ(3,"i",42),n.qZA(),n.TgZ(4,"button",43),n.NdJ("click",function(){n.CHM(e);const r=n.oxw().$implicit;return n.oxw(2).setFormInputs(r.id,r.status)}),n._UZ(5,"i",44),n.qZA(),n.qZA(),n.qZA()}if(2&a){const e=n.oxw().$implicit;n.oxw();const c=n.MAs(54),r=n.oxw();n.xp6(2),n.Q6J("queryParams",n.l5B(3,Cn,null==e.gene?null:e.gene.id,null==e.source?null:e.source.id,null==e.variant?null:e.variant.id,null==e.disease?null:e.disease.id))("disabled",e.status!=r.status.New),n.xp6(2),n.Q6J("nzPopoverContent",c)}}function fn(a,u){if(1&a&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._uU(2),n.ALo(3,"lowercase"),n.YNc(4,gn,1,1,"i",27),n.qZA(),n.TgZ(5,"td"),n.YNc(6,ln,1,1,"cvc-user-tag",28),n.qZA(),n.TgZ(7,"td"),n.YNc(8,un,2,1,"ng-container",22),n.qZA(),n.TgZ(9,"td"),n.YNc(10,pn,2,1,"ng-container",22),n.qZA(),n.TgZ(11,"td"),n.YNc(12,dn,1,1,"cvc-source-tag",29),n.qZA(),n.TgZ(13,"td"),n.YNc(14,vn,1,1,"cvc-gene-tag",30),n.qZA(),n.TgZ(15,"td"),n.YNc(16,mn,1,1,"cvc-variant-tag",31),n.qZA(),n.TgZ(17,"td"),n.YNc(18,_n,1,1,"cvc-disease-tag",32),n.qZA(),n.TgZ(19,"td",33),n._UZ(20,"i",34),n.qZA(),n.YNc(21,zn,6,8,"td",22),n.qZA()),2&a){const e=u.$implicit,c=n.oxw().ngrxLet;n.xp6(2),n.hij(" ",n.lcZ(3,11,e.status)," "),n.xp6(2),n.Q6J("ngIf",e.reason&&""!=e.reason),n.xp6(2),n.Q6J("ngIf",e.user),n.xp6(2),n.Q6J("ngIf",e.source),n.xp6(2),n.Q6J("ngIf",e.source),n.xp6(2),n.Q6J("ngIf",e.source),n.xp6(2),n.Q6J("ngIf",e.gene),n.xp6(2),n.Q6J("ngIf",e.variant),n.xp6(2),n.Q6J("ngIf",e.disease),n.xp6(1),n.Q6J("nzTooltipTitle",e.initialComment),n.xp6(2),n.Q6J("ngIf",c.signedIn)}}function Tn(a,u){if(1&a){const e=n.EpF();n.TgZ(0,"button",47),n.NdJ("click",function(){n.CHM(e);const r=n.oxw(2).ngrxLet;return n.oxw(2).loadMore(r.endCursor)}),n._uU(1),n.qZA()}if(2&a){const e=n.oxw(4);n.xp6(1),n.hij("Load ",e.pageSize," More")}}function xn(a,u){if(1&a&&(n.TgZ(0,"tr"),n.TgZ(1,"td",45),n.YNc(2,Tn,2,1,"button",46),n.qZA(),n.qZA()),2&a){const e=n.oxw().ngrxLet;n.xp6(2),n.Q6J("ngIf",e.hasNextPage)}}function hn(a,u){if(1&a&&(n.ynx(0),n.YNc(1,xn,3,1,"tr",22),n.BQk()),2&a){const e=u.ngrxLet;n.xp6(1),n.Q6J("ngIf",e.hasNextPage)}}function Sn(a,u){if(1&a&&n._UZ(0,"cvc-update-source-suggestion-form",49),2&a){const e=n.oxw(3);n.Q6J("currentStatus",e.selectedStatus)("sourceSuggestionId",e.selectedSourceId)}}function Mn(a,u){if(1&a&&n.YNc(0,Sn,1,2,"cvc-update-source-suggestion-form",48),2&a){const e=n.oxw(2);n.Q6J("ngIf",e.selectedSourceId&&e.selectedStatus)}}function In(a,u){if(1&a){const e=n.EpF();n.ynx(0),n.TgZ(1,"nz-table",3,4),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.TgZ(5,"thead",5),n.NdJ("nzSortOrderChange",function(r){return n.CHM(e),n.oxw().onSortChanged(r)}),n.TgZ(6,"tr"),n.TgZ(7,"th"),n._uU(8," Status "),n.qZA(),n.TgZ(9,"th",6),n._uU(10," Submitter "),n.qZA(),n.TgZ(11,"th",7),n._uU(12," Source Type "),n.qZA(),n.TgZ(13,"th",7),n._uU(14," Citation ID "),n.qZA(),n.TgZ(15,"th",8),n._uU(16," Citation "),n.qZA(),n.TgZ(17,"th",7),n._uU(18," Gene "),n.qZA(),n.TgZ(19,"th",7),n._uU(20," Variant "),n.qZA(),n.TgZ(21,"th",7),n._uU(22," Disease "),n.qZA(),n.TgZ(23,"th"),n._uU(24," Comment "),n.qZA(),n.YNc(25,rn,2,0,"th",9),n.qZA(),n.TgZ(26,"tr"),n.TgZ(27,"th"),n.TgZ(28,"nz-select",10),n.NdJ("ngModelChange",function(){return n.CHM(e),n.oxw().onModelChanged()})("ngModelChange",function(r){return n.CHM(e),n.oxw().statusInput=r}),n._UZ(29,"nz-option",11),n._UZ(30,"nz-option",12),n._UZ(31,"nz-option",13),n.qZA(),n.qZA(),n.TgZ(32,"th"),n.YNc(33,sn,1,2,"cvc-clearable-input-filter",14),n.qZA(),n.TgZ(34,"th"),n.TgZ(35,"nz-select",10),n.NdJ("ngModelChange",function(){return n.CHM(e),n.oxw().onModelChanged()})("ngModelChange",function(r){return n.CHM(e),n.oxw().sourceTypeInput=r}),n._UZ(36,"nz-option",15),n._UZ(37,"nz-option",16),n.qZA(),n.qZA(),n.TgZ(38,"th"),n.TgZ(39,"cvc-clearable-input-filter",17),n.NdJ("inputModelChange",function(r){return n.CHM(e),n.oxw().citationIdInput=r}),n.qZA(),n.qZA(),n.TgZ(40,"th"),n.TgZ(41,"cvc-clearable-input-filter",18),n.NdJ("inputModelChange",function(r){return n.CHM(e),n.oxw().citationInput=r}),n.qZA(),n.qZA(),n.TgZ(42,"th"),n.TgZ(43,"cvc-clearable-input-filter",19),n.NdJ("inputModelChange",function(r){return n.CHM(e),n.oxw().geneNameInput=r}),n.qZA(),n.qZA(),n.TgZ(44,"th"),n.TgZ(45,"cvc-clearable-input-filter",20),n.NdJ("inputModelChange",function(r){return n.CHM(e),n.oxw().variantNameInput=r}),n.qZA(),n.qZA(),n.TgZ(46,"th"),n.TgZ(47,"cvc-clearable-input-filter",21),n.NdJ("inputModelChange",function(r){return n.CHM(e),n.oxw().diseaseNameInput=r}),n.qZA(),n.qZA(),n._UZ(48,"th"),n.YNc(49,cn,1,0,"th",22),n.qZA(),n.qZA(),n.TgZ(50,"tbody"),n.YNc(51,fn,22,13,"tr",23),n.YNc(52,hn,2,1,"ng-container",1),n.qZA(),n.qZA(),n.YNc(53,Mn,1,1,"ng-template",null,24,n.W1O),n.BQk()}if(2&a){const e=u.ngrxLet,c=n.MAs(2),r=n.oxw();n.xp6(1),n.Q6J("nzData",n.lcZ(3,35,r.sourceSuggestions$))("nzLoading",n.lcZ(4,37,r.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(8),n.Q6J("nzColumnKey",r.sortColumns.Submitter)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",r.sortColumns.SourceType)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",r.sortColumns.CitationId)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",r.sortColumns.Citation)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",r.sortColumns.GeneName)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",r.sortColumns.VariantName)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",r.sortColumns.DiseaseName)("nzSortFn",!0),n.xp6(4),n.Q6J("ngIf",e.signedIn),n.xp6(3),n.Q6J("ngModel",r.statusInput),n.xp6(5),n.Q6J("ngIf",!r.submitterId),n.xp6(2),n.Q6J("ngModel",r.sourceTypeInput),n.xp6(4),n.Q6J("inputModel",r.citationIdInput)("onInputChanged",r.textInputCallback),n.xp6(2),n.Q6J("inputModel",r.citationInput)("onInputChanged",r.textInputCallback),n.xp6(2),n.Q6J("inputModel",r.geneNameInput)("onInputChanged",r.textInputCallback),n.xp6(2),n.Q6J("inputModel",r.variantNameInput)("onInputChanged",r.textInputCallback),n.xp6(2),n.Q6J("inputModel",r.diseaseNameInput)("onInputChanged",r.textInputCallback),n.xp6(2),n.Q6J("ngIf",e.signedIn),n.xp6(2),n.Q6J("ngForOf",c.data),n.xp6(1),n.Q6J("ngrxLet",r.pageInfo$)}}function Zn(a,u){}function yn(a,u){if(1&a&&(n.ynx(0),n.YNc(1,Zn,0,0,"ng-template",53),n.BQk()),2&a){const e=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function An(a,u){if(1&a&&(n.ynx(0),n._uU(1),n.BQk()),2&a){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.cvcTitle," ")}}function Pn(a,u){if(1&a&&(n.TgZ(0,"span",54),n._uU(1),n.qZA()),2&a){const e=u.ngIf,c=n.oxw(2);n.xp6(1),n.lnq(" (",c.totalCount," new, showing ",c.visibleCount," of ",e," filtered) ")}}function Jn(a,u){1&a&&(n.TgZ(0,"span",54),n._uU(1," (0 total) "),n.qZA())}function On(a,u){if(1&a&&(n._UZ(0,"i",50),n.YNc(1,yn,2,1,"ng-container",22),n.YNc(2,An,2,1,"ng-container",22),n.YNc(3,Pn,2,3,"span",51),n.ALo(4,"ngrxPush"),n.YNc(5,Jn,2,0,"ng-template",null,52,n.W1O)),2&a){const e=n.MAs(6),c=n.oxw();n.xp6(1),n.Q6J("ngIf",c.cvcTitleTemplate),n.xp6(1),n.Q6J("ngIf",c.cvcTitle),n.xp6(1),n.Q6J("ngIf",n.lcZ(4,4,c.filteredCount$))("ngIfElse",e)}}let Un=(()=>{class a{constructor(e,c,r){this.gql=e,this.viewerService=c,this.networkErrorService=r,this.debouncedQuery=new m.xQ,this.statusInput=p.F3s.New,this.pageSize=25,this.sortColumns=p.jw9,this.status=p.F3s,this.showManageForm=!1,this.visibleCount=this.pageSize,this.loadedPages=1}ngOnInit(){this.queryRef=this.gql.watch({first:this.pageSize,sourceId:this.sourceId,submitterId:this.submitterId,status:this.status.New}),this.viewer$=this.viewerService.viewer$,this.data$=this.queryRef.valueChanges.pipe((0,d.U)(e=>({data:e.data,loading:e.loading,networkStatus:e.networkStatus}))),this.isLoading$=this.data$.pipe((0,_.j)("loading"),(0,f.O)(!0)),this.sourceSuggestions$=this.data$.pipe((0,_.j)("data","sourceSuggestions","edges"),(0,d.U)(e=>e.map(c=>c.node))),this.pageInfo$=this.data$.pipe((0,_.j)("data","sourceSuggestions","pageInfo")),this.filteredCount$=this.data$.pipe((0,_.j)("data","sourceSuggestions","filteredCount")),this.filteredCount$.pipe((0,I.q)(1)).subscribe(e=>this.totalCount=e),this.filteredCount$.subscribe(e=>{ee&&(this.visibleCount=e))}),this.debouncedQuery.pipe((0,y.b)(500)).subscribe(e=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()}}refresh(){var e;this.loadedPages=1,null===(e=this.queryRef)||void 0===e||e.refetch({citationId:this.citationIdInput?+this.citationIdInput:void 0,sourceType:this.sourceTypeInput?this.sourceTypeInput:void 0,sourceId:this.sourceIdInput?+this.sourceIdInput:void 0,geneName:this.geneNameInput,variantName:this.variantNameInput,diseaseName:this.diseaseNameInput,comment:this.commentInput,submitter:this.submitterInput,citation:this.citationInput,status:this.statusInput?this.statusInput:void 0})}onSortChanged(e){var c;this.loadedPages=1,null===(c=this.queryRef)||void 0===c||c.refetch({sortBy:(0,t._)(e)})}onModelChanged(){this.debouncedQuery.next()}ngOnDestroy(){this.debouncedQuery.unsubscribe()}setFormInputs(e,c){this.selectedSourceId=e,this.selectedStatus=c,this.showManageForm=!0}closePopover(){this.showManageForm=!1}loadMore(e){var c;null===(c=this.queryRef)||void 0===c||c.fetchMore({variables:{first:this.pageSize,after:e}}),this.loadedPages+=1}}return a.\u0275fac=function(e){return new(e||a)(n.Y36(p.WRV),n.Y36(h.a),n.Y36(T.Y))},a.\u0275cmp=n.Xpm({type:a,selectors:[["cvc-source-suggestions-table"]],inputs:{sourceId:"sourceId",submitterId:"submitterId",cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:4,vars:2,consts:[[3,"nzTitle"],[4,"ngrxLet"],["titleTemplate",""],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["sourceSuggestionsTable",""],[3,"nzSortOrderChange"],["nzWidth","15%",3,"nzColumnKey","nzSortFn"],[3,"nzColumnKey","nzSortFn"],["nzWidth","25%",3,"nzColumnKey","nzSortFn"],["nzWidth","5%",4,"ngIf"],["nzAllowClear","","nzPlaceHolder","Choose",3,"ngModel","ngModelChange"],["nzValue","NEW","nzLabel","new"],["nzValue","CURATED","nzLabel","curated"],["nzValue","REJECTED","nzLabel","rejected"],["placeholderText","Submitter",3,"inputModel","onInputChanged","inputModelChange",4,"ngIf"],["nzValue","PUBMED","nzLabel","PubMed"],["nzValue","ASCO","nzLabel","ASCO"],["placeholderText","ID",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Citation",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Gene",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Variant",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Disease",3,"inputModel","onInputChanged","inputModelChange"],[4,"ngIf"],[4,"ngFor","ngForOf"],["manageSuggestionTemplate",""],["nzWidth","5%"],["placeholderText","Submitter",3,"inputModel","onInputChanged","inputModelChange"],["nz-icon","","nz-tooltip","","nzType","info-circle",3,"nzTooltipTitle",4,"ngIf"],[3,"user",4,"ngIf"],[3,"source",4,"ngIf"],[3,"gene",4,"ngIf"],[3,"variant",4,"ngIf"],[3,"disease",4,"ngIf"],["nzAlign","center","nz-tooltip","","nzTooltipPlacement","top",3,"nzTooltipTitle"],["nz-icon","","nzType","comment"],["nz-icon","","nz-tooltip","","nzType","info-circle",3,"nzTooltipTitle"],[3,"user"],[3,"source"],[3,"gene"],[3,"variant"],[3,"disease"],["routerLink","/evidence/add/submit","nz-button","","nzSize","small","nz-tooltip","","nzTooltipTitle","Curate an Evidence Item from this Source Suggestion",3,"queryParams","disabled"],["nz-icon","","nzType","plus"],["nz-button","","nzSize","small","nz-popover","","nzPopoverTitle","Manage Source Suggestion","nzPopoverPlacement","left","nzPopoverTrigger","click",3,"nzPopoverContent","click"],["nz-icon","","nzType","edit"],["colspan","10"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],[3,"currentStatus","sourceSuggestionId",4,"ngIf"],[3,"currentStatus","sourceSuggestionId"],["nz-icon","","nzType","civic:source"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(e,c){if(1&e&&(n.TgZ(0,"nz-card",0),n.YNc(1,In,55,39,"ng-container",1),n.qZA(),n.YNc(2,On,7,6,"ng-template",null,2,n.W1O)),2&e){const r=n.MAs(3);n.Q6J("nzTitle",r),n.xp6(1),n.Q6J("ngrxLet",c.viewer$)}},directives:[Z.bd,M.eJ,v.N8,v.Om,v.$Z,v.Uo,v._C,v.qD,l.O5,g.Vq,x.JJ,x.On,g.Ip,J.p,v.p0,l.sg,Y.Ls,L.w,D.SY,b.I,B.T,$.H,R.I,W.n,v.UX,E.fY,E.ix,N.dQ,j.rH,H.lU,en,l.tP,an.ZU],pipes:[M.fM,l.i8],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),a})()},2832:(O,S,o)=>{o.d(S,{W:()=>G});var p=o(9808),t=o(1132),m=o(8054),d=o(4125),_=o(4182),f=o(6949),I=o(7345),y=o(9779),n=o(3309),h=o(4867),T=o(3580),Z=o(647),M=o(6042),v=o(404),l=o(7008),g=o(3610),x=o(8776),J=o(7484),Y=o(4546),L=o(1825),D=o(4375),b=o(868),B=o(7525),$=o(2359),R=o(1047),W=o(4509),E=o(8144),N=o(5e3);let j=(()=>{class A{}return A.\u0275fac=function(V){return new(V||A)},A.\u0275mod=N.oAB({type:A}),A.\u0275inj=N.cJS({imports:[[p.ez,_.UX,f.WG,M.sL,J.vh,b.we,Y.U5,B.j,$.L,R.o7,m.LV,E.zf,_.u5,x.X0,l.B,L.A,D.R,W.w]]}),A})();var H=o(3618),Q=o(325);let G=(()=>{class A{}return A.\u0275fac=function(V){return new(V||A)},A.\u0275mod=N.oAB({type:A}),A.\u0275inj=N.cJS({imports:[[p.ez,_.u5,Q.Bz,f.WG,t.HQ,m.LV,v.cg,Z.PV,M.sL,g.$6,H.ZJ,J.vh,d.k,I.W,y.s,n.U,h.Q,T.Q,l.B,j]]}),A})()},7677:(O,S,o)=>{o.d(S,{G:()=>M});var p=o(9808),t=o(325),m=o(3610),d=o(8481),_=o(647),f=o(9779),I=o(4867),y=o(7484),n=o(3098),h=o(6949),T=o(5e3);let Z=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=T.oAB({type:v}),v.\u0275inj=T.cJS({imports:[[p.ez,h.WG,y.vh,n.q6,f.s,I.Q]]}),v})(),M=(()=>{class v{}return v.\u0275fac=function(g){return new(g||v)},v.\u0275mod=T.oAB({type:v}),v.\u0275inj=T.cJS({imports:[[p.ez,t.Bz,m.$6,d.X,_.PV,Z]]}),v})()},8664:(O,S,o)=>{o.d(S,{I:()=>q});var p=o(6654),t=o(5e3),m=o(9808),d=o(325),_=o(8481),f=o(3610),I=o(4850),y=o(712),n=o(7484),h=o(647),T=o(3193),Z=o(3098),M=o(6550),v=o(1894),l=o(8144),g=o(6949);function x(i,C){if(1&i&&(t._UZ(0,"i",13),t._uU(1)),2&i){const s=t.oxw().ngIf;t.xp6(1),t.hij(" ",s.name," ")}}function J(i,C){if(1&i&&t._UZ(0,"cvc-gene-tag",14),2&i){const s=t.oxw().ngIf;t.Q6J("enablePopover",!1)("gene",s.gene)}}function Y(i,C){if(1&i&&(t.TgZ(0,"nz-tag"),t._uU(1),t.qZA()),2&i){const s=C.$implicit;t.xp6(1),t.Oqu(s)}}function L(i,C){if(1&i&&(t.TgZ(0,"nz-descriptions-item",15),t.YNc(1,Y,2,1,"nz-tag",16),t.qZA()),2&i){const s=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",s.variantAliases)}}function D(i,C){if(1&i&&(t.TgZ(0,"nz-descriptions-item",17),t.TgZ(1,"cvc-link-tag",18),t._uU(2),t.qZA(),t.qZA()),2&i){const s=t.oxw().ngIf;t.xp6(1),t.MGl("href","https://reg.genome.network/allele/",s.alleleRegistryId,".html"),t.xp6(1),t.hij(" ",s.alleleRegistryId," ")}}function b(i,C){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",20),t._UZ(2,"i",21),t._uU(3),t.qZA(),t.qZA()),2&i){const s=t.oxw().ngIf;t.MGl("routerLink","/variants/",s.id,"/flags"),t.xp6(3),t.hij(" Flags (",s.flags.totalCount,") ")}}function B(i,C){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",22),t._UZ(2,"i",23),t._uU(3),t.qZA(),t.qZA()),2&i){const s=t.oxw().ngIf;t.MGl("routerLink","/variants/",s.id,"/revisions"),t.xp6(3),t.hij(" Revisions (",s.revisions.totalCount,") ")}}function $(i,C){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",24),t._UZ(2,"i",25),t._uU(3),t.qZA(),t.qZA()),2&i){const s=t.oxw().ngIf;t.MGl("routerLink","/variants/",s.id,"/comments"),t.xp6(3),t.hij(" Comments (",s.comments.totalCount,") ")}}function R(i,C){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,x,2,1,"ng-template",null,3,t.W1O),t.YNc(4,J,1,2,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5),t.YNc(7,L,2,1,"nz-descriptions-item",6),t.YNc(8,D,3,2,"nz-descriptions-item",7),t.TgZ(9,"nz-descriptions-item",8),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"nz-row",9),t.TgZ(12,"nz-col",10),t.TgZ(13,"nz-space",11),t.YNc(14,b,4,2,"a",12),t.YNc(15,B,4,2,"a",12),t.YNc(16,$,4,2,"a",12),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&i){const s=C.ngIf,P=t.MAs(3),U=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",P)("nzExtra",U),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",s.variantAliases.length>0),t.xp6(1),t.Q6J("ngIf",s.alleleRegistryId),t.xp6(2),t.hij(" ",s.evidenceItems.totalCount," ")}}let W=(()=>{class i{constructor(s){this.gql=s}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,I.U)(({data:s})=>s.variant))}}return i.\u0275fac=function(s){return new(s||i)(t.Y36(y.ZYZ))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(s,P){1&s&&(t.TgZ(0,"div",0),t.YNc(1,R,17,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&s&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,P.variant$)))},directives:[m.O5,n.bd,h.Ls,T.H,Z.R7,Z.uj,m.sg,_.j,M.l,v.SK,v.t3,l.NU,l.$1,d.yS],pipes:[g.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),i})();function E(i,C){}function N(i,C){if(1&i&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,E,0,0,"ng-template",6),t.qZA(),t.BQk()),2&i){const s=t.oxw(),P=t.MAs(2);t.xp6(1),t.Q6J("routerLink",s.variant.link),t.xp6(1),t.Q6J("ngTemplateOutlet",P)}}function j(i,C){}function H(i,C){if(1&i){const s=t.EpF();t.TgZ(0,"nz-tag",9),t.NdJ("nzOnClose",function(U){return t.CHM(s),t.oxw(2).itemClosed(U)}),t.YNc(1,j,0,0,"ng-template",6),t.qZA()}if(2&i){t.oxw();const s=t.MAs(2),P=t.oxw(),U=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",P.onCloseClicked?0:.5)("nzPopoverContent",s)("nzMode",P.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",U)}}function Q(i,C){if(1&i&&t._UZ(0,"cvc-variant-popover",11),2&i){const s=t.oxw(3);t.Q6J("variantId",s.variant.id)}}function G(i,C){if(1&i&&t.YNc(0,Q,1,1,"cvc-variant-popover",10),2&i){const s=t.oxw(2);t.Q6J("ngIf",s.enablePopover)}}function A(i,C){if(1&i&&(t.YNc(0,H,2,4,"nz-tag",7),t.YNc(1,G,1,1,"ng-template",null,8,t.W1O)),2&i){const s=t.oxw(),P=t.MAs(4);t.Q6J("ngIf",s.enablePopover)("ngIfElse",P)}}function F(i,C){}function V(i,C){if(1&i){const s=t.EpF();t.TgZ(0,"nz-tag",12),t.NdJ("nzOnClose",function(U){return t.CHM(s),t.oxw().itemClosed(U)}),t.YNc(1,F,0,0,"ng-template",6),t.qZA()}if(2&i){const s=t.oxw(),P=t.MAs(8);t.Q6J("nzMode",s.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",P)}}function K(i,C){}function X(i,C){if(1&i&&t.YNc(0,K,0,0,"ng-template",6),2&i){t.oxw();const s=t.MAs(2);t.Q6J("ngTemplateOutlet",s)}}function w(i,C){if(1&i&&(t._UZ(0,"i",13),t._uU(1)),2&i){const s=t.oxw();t.xp6(1),t.hij(" ",s.variant.name,"\n")}}let q=(()=>{class i extends p.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return i.\u0275fac=function(s){return new(s||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[t.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(s,P){if(1&s&&(t.YNc(0,N,3,2,"ng-container",0),t.YNc(1,A,3,2,"ng-template",null,1,t.W1O),t.YNc(3,V,2,2,"ng-template",null,2,t.W1O),t.YNc(5,X,1,1,"ng-template",null,3,t.W1O),t.YNc(7,w,2,1,"ng-template",null,4,t.W1O)),2&s){const U=t.MAs(6);t.Q6J("ngIf",P.linked)("ngIfElse",U)}},directives:[m.O5,d.yS,m.tP,_.j,f.lU,W,h.Ls],styles:[""]}),i})()},4867:(O,S,o)=>{o.d(S,{Q:()=>l});var p=o(9808),t=o(325),m=o(8481),d=o(647),_=o(3610),f=o(6949),I=o(7484),y=o(1894),n=o(3098),h=o(8144),T=o(3309),Z=o(3630),M=o(5e3);let v=(()=>{class g{}return g.\u0275fac=function(J){return new(J||g)},g.\u0275mod=M.oAB({type:g}),g.\u0275inj=M.cJS({imports:[[p.ez,t.Bz,f.WG,I.vh,y.Jb,n.q6,m.X,d.PV,h.zf,T.U,Z.X]]}),g})(),l=(()=>{class g{}return g.\u0275fac=function(J){return new(J||g)},g.\u0275mod=M.oAB({type:g}),g.\u0275inj=M.cJS({imports:[[p.ez,t.Bz,m.X,_.$6,d.PV,v]]}),g})()},3154:(O,S,o)=>{o.d(S,{_:()=>t});var p=o(712);function t(m){var d;switch(m.value){case"ascend":d=p.SrV.Asc;break;case"descend":d=p.SrV.Desc;break;default:return}return{column:m.key,direction:d}}}}]);
\ No newline at end of file
diff --git a/server/public/4729.2c38846785e7bfbe.js b/server/public/4729.2c38846785e7bfbe.js
deleted file mode 100644
index c5ca01319..000000000
--- a/server/public/4729.2c38846785e7bfbe.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[4729],{5453:(B,y,e)=>{e.d(y,{N:()=>M});var i=e(9808),n=e(325),v=e(8481),_=e(3610),f=e(7484),C=e(3098),h=e(3630),t=e(6949),u=e(5e3);let m=(()=>{class l{}return l.\u0275fac=function(O){return new(O||l)},l.\u0275mod=u.oAB({type:l}),l.\u0275inj=u.cJS({imports:[[i.ez,t.WG,f.vh,C.q6,h.X]]}),l})();var z=e(647);let M=(()=>{class l{}return l.\u0275fac=function(O){return new(O||l)},l.\u0275mod=u.oAB({type:l}),l.\u0275inj=u.cJS({imports:[[i.ez,n.Bz,z.PV,v.X,_.$6,m]]}),l})()},767:(B,y,e)=>{e.d(y,{Q:()=>W});var i=e(9808),n=e(1132),v=e(4546),_=e(1047),f=e(647),C=e(3618),h=e(4182),t=e(6949),u=e(7946),m=e(3309),z=e(404),M=e(4867),l=e(3580),x=e(8018),O=e(209),c=e(8054),Z=e(4125),V=e(9444),K=e(6042),S=e(897),N=e(6114),J=e(7484),I=e(5e3);let W=(()=>{class D{}return D.\u0275fac=function(Y){return new(Y||D)},D.\u0275mod=I.oAB({type:D}),D.\u0275inj=I.cJS({imports:[[i.ez,h.u5,t.WG,K.sL,n.HQ,v.U5,_.o7,f.PV,C.ZJ,z.cg,c.LV,N.Wr,J.vh,V.s,m.U,M.Q,l.Q,x.e,O.i,S.$,u.x,Z.k]]}),D})()},209:(B,y,e)=>{e.d(y,{i:()=>J});var i=e(9808),n=e(325),v=e(8481),_=e(3610),f=e(647),C=e(7484),h=e(3309),t=e(4867),u=e(1894),m=e(3098),z=e(8018),M=e(3580),l=e(6286),x=e(6949),O=e(8144),c=e(9444),Z=e(9779),V=e(592),K=e(3618),S=e(5e3);let N=(()=>{class I{}return I.\u0275fac=function(D){return new(D||I)},I.\u0275mod=S.oAB({type:I}),I.\u0275inj=S.cJS({imports:[[i.ez,n.Bz,x.WG,f.PV,C.vh,u.Jb,m.q6,v.X,O.zf,K.ZJ,c.s,z.e,M.Q,h.U,t.Q,l.y,Z.s,V.x]]}),I})(),J=(()=>{class I{}return I.\u0275fac=function(D){return new(D||I)},I.\u0275mod=S.oAB({type:I}),I.\u0275inj=S.cJS({imports:[[i.ez,n.Bz,v.X,_.$6,f.PV,N,c.s]]}),I})()},6286:(B,y,e)=>{e.d(y,{y:()=>M});var i=e(9808),n=e(325),v=e(8481),_=e(3610),f=e(647),C=e(6949),h=e(7484),t=e(3630),u=e(3098),m=e(5e3);let z=(()=>{class l{}return l.\u0275fac=function(O){return new(O||l)},l.\u0275mod=m.oAB({type:l}),l.\u0275inj=m.cJS({imports:[[i.ez,C.WG,f.PV,h.vh,t.X,u.q6]]}),l})(),M=(()=>{class l{}return l.\u0275fac=function(O){return new(O||l)},l.\u0275mod=m.oAB({type:l}),l.\u0275inj=m.cJS({imports:[[i.ez,n.Bz,v.X,_.$6,f.PV,z]]}),l})()},2166:(B,y,e)=>{e.d(y,{p:()=>t});var i=e(5e3),n=e(1047),v=e(4182),_=e(9808),f=e(647);function C(u,m){if(1&u){const z=i.EpF();i.TgZ(0,"i",4),i.NdJ("click",function(){i.CHM(z);const l=i.oxw(2);return l.inputModel=void 0,l.onModelUpdated()}),i.qZA()}}function h(u,m){if(1&u&&i.YNc(0,C,1,0,"i",3),2&u){const z=i.oxw();i.Q6J("ngIf",z.inputModel)}}let t=(()=>{class u{constructor(){this.inputModelChange=new i.vpe}onModelUpdated(){this.inputModelChange.emit(""!=this.inputModel?this.inputModel:void 0),this.onInputChanged&&this.onInputChanged()}}return u.\u0275fac=function(z){return new(z||u)},u.\u0275cmp=i.Xpm({type:u,selectors:[["cvc-clearable-input-filter"]],inputs:{placeholderText:"placeholderText",onInputChanged:"onInputChanged",inputModel:"inputModel"},outputs:{inputModelChange:"inputModelChange"},decls:4,vars:3,consts:[[3,"nzSuffix"],["type","text","nz-input","",3,"placeholder","ngModel","ngModelChange"],["clearTmpl",""],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"]],template:function(z,M){if(1&z&&(i.TgZ(0,"nz-input-group",0),i.TgZ(1,"input",1),i.NdJ("ngModelChange",function(x){return M.inputModel=x})("ngModelChange",function(){return M.onModelUpdated()}),i.qZA(),i.qZA(),i.YNc(2,h,1,1,"ng-template",null,2,i.W1O)),2&z){const l=i.MAs(3);i.Q6J("nzSuffix",l),i.xp6(1),i.Q6J("placeholder",M.placeholderText?M.placeholderText:"")("ngModel",M.inputModel)}},directives:[n.gB,n.ke,n.Zp,v.Fj,v.JJ,v.On,_.O5,f.Ls],styles:["[_nghost-%COMP%]{display:block}"]}),u})()},4125:(B,y,e)=>{e.d(y,{k:()=>C});var i=e(9808),n=e(1047),v=e(4182),_=e(647),f=e(5e3);let C=(()=>{class h{}return h.\u0275fac=function(u){return new(u||h)},h.\u0275mod=f.oAB({type:h}),h.\u0275inj=f.cJS({imports:[[i.ez,v.u5,n.o7,_.PV]]}),h})()},592:(B,y,e)=>{e.d(y,{x:()=>f});var i=e(9808),n=e(8481),v=e(647),_=e(5e3);let f=(()=>{class C{}return C.\u0275fac=function(t){return new(t||C)},C.\u0275mod=_.oAB({type:C}),C.\u0275inj=_.cJS({imports:[[i.ez,n.X,v.PV]]}),C})()},7946:(B,y,e)=>{e.d(y,{x:()=>u});var i=e(9808),n=e(897),v=e(8481),_=e(3610),f=e(8018),C=e(3580),h=e(9476),t=e(5e3);let u=(()=>{class m{}return m.\u0275fac=function(M){return new(M||m)},m.\u0275mod=t.oAB({type:m}),m.\u0275inj=t.cJS({imports:[[i.ez,v.X,_.$6,n.$,f.e,C.Q,h.L]]}),m})()},9779:(B,y,e)=>{e.d(y,{s:()=>O});var i=e(9808),n=e(3610),v=e(325),_=e(7484),f=e(3630),C=e(3098),h=e(897),t=e(6949),u=e(5453),m=e(647),z=e(5e3);let M=(()=>{class c{}return c.\u0275fac=function(V){return new(V||c)},c.\u0275mod=z.oAB({type:c}),c.\u0275inj=z.cJS({imports:[[i.ez,t.WG,m.PV,_.vh,C.q6,f.X,h.$,u.N]]}),c})();var l=e(8481),x=e(9444);let O=(()=>{class c{}return c.\u0275fac=function(V){return new(V||c)},c.\u0275mod=z.oAB({type:c}),c.\u0275inj=z.cJS({imports:[[i.ez,v.Bz,m.PV,n.$6,l.X,M,x.s]]}),c})()},7279:(B,y,e)=>{e.d(y,{h:()=>O});var i=e(9808),n=e(1132),v=e(8054),_=e(4125),f=e(4182),C=e(9779),h=e(6949),t=e(3968),u=e(6042),m=e(647),z=e(3618),M=e(7484),l=e(404),x=e(5e3);let O=(()=>{class c{}return c.\u0275fac=function(V){return new(V||c)},c.\u0275mod=x.oAB({type:c}),c.\u0275inj=x.cJS({imports:[[i.ez,f.u5,h.WG,n.HQ,v.LV,m.PV,z.ZJ,M.vh,u.sL,l.cg,_.k,C.s,t.T]]}),c})()},7701:(B,y,e)=>{e.d(y,{j:()=>X});var i=e(6654),n=e(5e3),v=e(9808),_=e(325),f=e(8481),C=e(3610),h=e(4850),t=e(712),u=e(7484),m=e(647),z=e(6550),M=e(3098),l=e(6949);function x(s,E){if(1&s&&(n._UZ(0,"i",7),n._uU(1)),2&s){const T=n.oxw().ngIf;n.xp6(1),n.hij(" ",T.name," ")}}function O(s,E){if(1&s&&(n.TgZ(0,"cvc-link-tag",9),n._uU(1),n.qZA()),2&s){const T=n.oxw(2).ngIf;n.Q6J("href",T.url),n.xp6(1),n.hij(" ",T.soid," ")}}function c(s,E){if(1&s&&n.YNc(0,O,2,2,"cvc-link-tag",8),2&s){const T=n.oxw().ngIf;n.Q6J("ngIf","N/A"!=T.soid)}}function Z(s,E){if(1&s&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,x,2,1,"ng-template",null,3,n.W1O),n.YNc(4,c,1,1,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-descriptions",5),n.TgZ(7,"nz-descriptions-item",6),n._uU(8),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&s){const T=E.ngIf,U=n.MAs(3),b=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",U)("nzExtra",b),n.xp6(5),n.Q6J("nzColumn",2),n.xp6(2),n.hij(" ",T.variantCount," ")}}let V=(()=>{class s{constructor(T){this.gql=T}ngOnInit(){if(null==this.variantTypeId)throw new Error("cvc-variant-type-popover requires valid variantTypeId input.");this.variantType$=this.gql.watch({variantTypeId:this.variantTypeId}).valueChanges.pipe((0,h.U)(({data:T})=>T.variantTypePopover))}}return s.\u0275fac=function(T){return new(T||s)(n.Y36(t.tw_))},s.\u0275cmp=n.Xpm({type:s,selectors:[["cvc-variant-type-popover"]],inputs:{variantTypeId:"variantTypeId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2"],["nz-icon","","nzType","civic-varianttype",1,"variant-type-tag-icon"],["tooltip","View on SequenceOntology.org",3,"href",4,"ngIf"],["tooltip","View on SequenceOntology.org",3,"href"]],template:function(T,U){1&T&&(n.TgZ(0,"div",0),n.YNc(1,Z,9,4,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&T&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,U.variantType$)))},directives:[v.O5,u.bd,m.Ls,z.l,M.R7,M.uj],pipes:[l.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),s})();function K(s,E){}function S(s,E){if(1&s&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,K,0,0,"ng-template",6),n.qZA(),n.BQk()),2&s){const T=n.oxw(),U=n.MAs(2);n.xp6(1),n.Q6J("routerLink",T.variantType.link),n.xp6(1),n.Q6J("ngTemplateOutlet",U)}}function N(s,E){}function J(s,E){if(1&s&&(n.TgZ(0,"nz-tag",9),n.YNc(1,N,0,0,"ng-template",6),n.qZA()),2&s){n.oxw();const T=n.MAs(2);n.oxw();const U=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",T),n.xp6(1),n.Q6J("ngTemplateOutlet",U)}}function I(s,E){if(1&s&&n._UZ(0,"cvc-variant-type-popover",10),2&s){const T=n.oxw(2);n.Q6J("variantTypeId",T.variantType.id)}}function W(s,E){if(1&s&&(n.YNc(0,J,2,3,"nz-tag",7),n.YNc(1,I,1,1,"ng-template",null,8,n.W1O)),2&s){const T=n.oxw(),U=n.MAs(6);n.Q6J("ngIf",T.enablePopover)("ngIfElse",U)}}function D(s,E){}function L(s,E){if(1&s&&n.YNc(0,D,0,0,"ng-template",6),2&s){n.oxw();const T=n.MAs(2);n.Q6J("ngTemplateOutlet",T)}}function Y(s,E){}function j(s,E){if(1&s&&(n.TgZ(0,"nz-tag"),n.YNc(1,Y,0,0,"ng-template",6),n.qZA()),2&s){n.oxw();const T=n.MAs(8);n.xp6(1),n.Q6J("ngTemplateOutlet",T)}}function $(s,E){if(1&s&&(n._UZ(0,"i",11),n._uU(1)),2&s){const T=n.oxw();n.xp6(1),n.hij(" ",T.variantType.name,"\n")}}let X=(()=>{class s extends i.a{constructor(){super(),this.linked=!0,this.enablePopover=!0}idFunction(){return this.variantType.id}ngOnInit(){if(void 0===this.variantType)throw new Error("cvc-variant-type-tag requires LinkableVariantType input, none supplied.")}}return s.\u0275fac=function(T){return new(T||s)},s.\u0275cmp=n.Xpm({type:s,selectors:[["cvc-variant-type-tag"]],inputs:{variantType:"variantType",linked:"linked",enablePopover:"enablePopover"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["unlinked",""],["noPopover",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["variantTypePopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"variantTypeId"],["nz-icon","","nzType","civic-varianttype","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(T,U){if(1&T&&(n.YNc(0,S,3,2,"ng-container",0),n.YNc(1,W,3,2,"ng-template",null,1,n.W1O),n.YNc(3,L,1,1,"ng-template",null,2,n.W1O),n.YNc(5,j,2,1,"ng-template",null,3,n.W1O),n.YNc(7,$,2,1,"ng-template",null,4,n.W1O)),2&T){const b=n.MAs(4);n.Q6J("ngIf",U.linked)("ngIfElse",b)}},directives:[v.O5,_.yS,v.tP,f.j,C.lU,V,m.Ls],styles:["[_nghost-%COMP%]{display:block}"]}),s})()},8645:(B,y,e)=>{e.d(y,{M:()=>M});var i=e(9808),n=e(325),v=e(8481),_=e(7484),f=e(3630),C=e(3098),h=e(6949),t=e(647),u=e(5e3);let m=(()=>{class l{}return l.\u0275fac=function(O){return new(O||l)},l.\u0275mod=u.oAB({type:l}),l.\u0275inj=u.cJS({imports:[[i.ez,h.WG,t.PV,_.vh,C.q6,f.X]]}),l})();var z=e(3610);let M=(()=>{class l{}return l.\u0275fac=function(O){return new(O||l)},l.\u0275mod=u.oAB({type:l}),l.\u0275inj=u.cJS({imports:[[i.ez,n.Bz,t.PV,v.X,z.$6,m]]}),l})()},8664:(B,y,e)=>{e.d(y,{I:()=>q});var i=e(6654),n=e(5e3),v=e(9808),_=e(325),f=e(8481),C=e(3610),h=e(4850),t=e(712),u=e(7484),m=e(647),z=e(3193),M=e(3098),l=e(6550),x=e(1894),O=e(8144),c=e(6949);function Z(r,P){if(1&r&&(n._UZ(0,"i",13),n._uU(1)),2&r){const p=n.oxw().ngIf;n.xp6(1),n.hij(" ",p.name," ")}}function V(r,P){if(1&r&&n._UZ(0,"cvc-gene-tag",14),2&r){const p=n.oxw().ngIf;n.Q6J("enablePopover",!1)("gene",p.gene)}}function K(r,P){1&r&&(n.TgZ(0,"span"),n._uU(1,",\xa0"),n.qZA())}function S(r,P){if(1&r&&(n.TgZ(0,"span"),n._uU(1),n.YNc(2,K,2,0,"span",1),n.qZA()),2&r){const p=P.$implicit,A=P.last;n.xp6(1),n.hij(" ",p,""),n.xp6(1),n.Q6J("ngIf",!A)}}function N(r,P){if(1&r&&(n.TgZ(0,"nz-descriptions-item",15),n.YNc(1,S,3,2,"span",16),n.qZA()),2&r){const p=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",p.variantAliases)}}function J(r,P){if(1&r&&(n.TgZ(0,"nz-descriptions-item",17),n.TgZ(1,"cvc-link-tag",18),n._uU(2),n.qZA(),n.qZA()),2&r){const p=n.oxw().ngIf;n.xp6(1),n.MGl("href","https://reg.genome.network/allele/",p.alleleRegistryId,".html"),n.xp6(1),n.hij(" ",p.alleleRegistryId," ")}}function I(r,P){if(1&r&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",20),n._UZ(2,"i",21),n._uU(3),n.qZA(),n.qZA()),2&r){const p=n.oxw().ngIf;n.MGl("routerLink","/variants/",p.id,"/flags"),n.xp6(3),n.hij(" Flags (",p.flags.totalCount,") ")}}function W(r,P){if(1&r&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",22),n._UZ(2,"i",23),n._uU(3),n.qZA(),n.qZA()),2&r){const p=n.oxw().ngIf;n.MGl("routerLink","/variants/",p.id,"/revisions"),n.xp6(3),n.hij(" Revisions (",p.revisions.totalCount,") ")}}function D(r,P){if(1&r&&(n.TgZ(0,"a",19),n.TgZ(1,"nz-tag",24),n._UZ(2,"i",25),n._uU(3),n.qZA(),n.qZA()),2&r){const p=n.oxw().ngIf;n.MGl("routerLink","/variants/",p.id,"/comments"),n.xp6(3),n.hij(" Comments (",p.comments.totalCount,") ")}}function L(r,P){if(1&r&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,Z,2,1,"ng-template",null,3,n.W1O),n.YNc(4,V,1,2,"ng-template",null,4,n.W1O),n.TgZ(6,"nz-descriptions",5),n.YNc(7,N,2,1,"nz-descriptions-item",6),n.YNc(8,J,3,2,"nz-descriptions-item",7),n.TgZ(9,"nz-descriptions-item",8),n._uU(10),n.qZA(),n.qZA(),n.TgZ(11,"nz-row",9),n.TgZ(12,"nz-col",10),n.TgZ(13,"nz-space",11),n.YNc(14,I,4,2,"a",12),n.YNc(15,W,4,2,"a",12),n.YNc(16,D,4,2,"a",12),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&r){const p=P.ngIf,A=n.MAs(3),Q=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",A)("nzExtra",Q),n.xp6(5),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",p.variantAliases.length>0),n.xp6(1),n.Q6J("ngIf",p.alleleRegistryId),n.xp6(2),n.hij(" ",p.evidenceItems.totalCount," ")}}let Y=(()=>{class r{constructor(p){this.gql=p}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,h.U)(({data:p})=>p.variant))}}return r.\u0275fac=function(p){return new(p||r)(n.Y36(t.ZYZ))},r.\u0275cmp=n.Xpm({type:r,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(p,A){1&p&&(n.TgZ(0,"div",0),n.YNc(1,L,17,6,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&p&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,A.variant$)))},directives:[v.O5,u.bd,m.Ls,z.H,M.R7,M.uj,v.sg,l.l,x.SK,x.t3,O.NU,O.$1,_.yS,f.j],pipes:[c.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),r})();function j(r,P){}function $(r,P){if(1&r&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,j,0,0,"ng-template",6),n.qZA(),n.BQk()),2&r){const p=n.oxw(),A=n.MAs(2);n.xp6(1),n.Q6J("routerLink",p.variant.link),n.xp6(1),n.Q6J("ngTemplateOutlet",A)}}function X(r,P){}function s(r,P){if(1&r){const p=n.EpF();n.TgZ(0,"nz-tag",9),n.NdJ("nzOnClose",function(Q){return n.CHM(p),n.oxw(2).itemClosed(Q)}),n.YNc(1,X,0,0,"ng-template",6),n.qZA()}if(2&r){n.oxw();const p=n.MAs(2),A=n.oxw(),Q=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",A.onCloseClicked?0:.5)("nzPopoverContent",p)("nzMode",A.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",Q)}}function E(r,P){if(1&r&&n._UZ(0,"cvc-variant-popover",11),2&r){const p=n.oxw(3);n.Q6J("variantId",p.variant.id)}}function T(r,P){if(1&r&&n.YNc(0,E,1,1,"cvc-variant-popover",10),2&r){const p=n.oxw(2);n.Q6J("ngIf",p.enablePopover)}}function U(r,P){if(1&r&&(n.YNc(0,s,2,4,"nz-tag",7),n.YNc(1,T,1,1,"ng-template",null,8,n.W1O)),2&r){const p=n.oxw(),A=n.MAs(4);n.Q6J("ngIf",p.enablePopover)("ngIfElse",A)}}function b(r,P){}function H(r,P){if(1&r){const p=n.EpF();n.TgZ(0,"nz-tag",12),n.NdJ("nzOnClose",function(Q){return n.CHM(p),n.oxw().itemClosed(Q)}),n.YNc(1,b,0,0,"ng-template",6),n.qZA()}if(2&r){const p=n.oxw(),A=n.MAs(8);n.Q6J("nzMode",p.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",A)}}function G(r,P){}function w(r,P){if(1&r&&n.YNc(0,G,0,0,"ng-template",6),2&r){n.oxw();const p=n.MAs(2);n.Q6J("ngTemplateOutlet",p)}}function k(r,P){if(1&r&&(n._UZ(0,"i",13),n._uU(1)),2&r){const p=n.oxw();n.xp6(1),n.hij(" ",p.variant.name,"\n")}}let q=(()=>{class r extends i.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return r.\u0275fac=function(p){return new(p||r)},r.\u0275cmp=n.Xpm({type:r,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(p,A){if(1&p&&(n.YNc(0,$,3,2,"ng-container",0),n.YNc(1,U,3,2,"ng-template",null,1,n.W1O),n.YNc(3,H,2,2,"ng-template",null,2,n.W1O),n.YNc(5,w,1,1,"ng-template",null,3,n.W1O),n.YNc(7,k,2,1,"ng-template",null,4,n.W1O)),2&p){const Q=n.MAs(6);n.Q6J("ngIf",A.linked)("ngIfElse",Q)}},directives:[v.O5,_.yS,v.tP,f.j,C.lU,Y,m.Ls],styles:[""]}),r})()},4867:(B,y,e)=>{e.d(y,{Q:()=>O});var i=e(9808),n=e(325),v=e(8481),_=e(647),f=e(3610),C=e(6949),h=e(7484),t=e(1894),u=e(3098),m=e(8144),z=e(3309),M=e(3630),l=e(5e3);let x=(()=>{class c{}return c.\u0275fac=function(V){return new(V||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({imports:[[i.ez,n.Bz,C.WG,h.vh,t.Jb,u.q6,v.X,_.PV,m.zf,z.U,M.X]]}),c})(),O=(()=>{class c{}return c.\u0275fac=function(V){return new(V||c)},c.\u0275mod=l.oAB({type:c}),c.\u0275inj=l.cJS({imports:[[i.ez,n.Bz,v.X,f.$6,_.PV,x]]}),c})()},3154:(B,y,e)=>{e.d(y,{_:()=>n});var i=e(712);function n(v){var _;switch(v.value){case"ascend":_=i.SrV.Asc;break;case"descend":_=i.SrV.Desc;break;default:return}return{column:v.key,direction:_}}},1875:(B,y,e)=>{e.r(y),e.d(y,{VariantTypesModule:()=>hn});var i=e(9808),n=e(325),v=e(6949),_=e(1945),f=e(647),C=e(3630),h=e(5630),t=e(5e3);let u=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[i.ez,n.Bz,v.WG,_.KJ,f.PV,C.X,h.D]]}),o})();var m=e(8144),z=e(767),M=e(7279),l=e(3855);let x=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[i.ez,m.zf,z.Q,M.h,l.H]]}),o})();var O=e(1894),c=e(1132),Z=e(4125),V=e(6286),K=e(8645),S=e(6042),N=e(7484),J=e(3618),I=e(404);let W=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[i.ez,n.Bz,v.WG,c.HQ,f.PV,S.sL,N.vh,J.ZJ,I.cg,Z.k,V.y,C.X,K.M]]}),o})(),D=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[i.ez,_.KJ,f.PV,O.Jb,S.sL,m.zf,J.ZJ,h.D,W]]}),o})();var L=e(373),Y=e(1059),j=e(712),$=e(8992),X=e(6550);function s(o,d){if(1&o&&(t.TgZ(0,"cvc-link-tag",6),t._uU(1),t.qZA()),2&o){const a=t.oxw().ngIf;t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.soid," ")}}function E(o,d){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2),t.TgZ(3,"nz-page-header-title"),t._UZ(4,"i",3),t._uU(5),t.qZA(),t.TgZ(6,"nz-page-header-extra"),t.YNc(7,s,2,2,"cvc-link-tag",4),t.qZA(),t.TgZ(8,"nz-page-header-content"),t.TgZ(9,"div",5),t._uU(10),t._UZ(11,"router-outlet"),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&o){const a=d.ngIf;t.xp6(1),t.Q6J("displayName",a.name),t.xp6(4),t.hij(" ",a.name," "),t.xp6(2),t.Q6J("ngIf",a.url),t.xp6(3),t.hij(" ",a.description," ")}}let T=(()=>{class o{constructor(a,g){this.route=a,this.gql=g,this.routeSub=this.route.params.subscribe(F=>{this.variantTypeId=+F.variantTypeId,this.queryRef=this.gql.watch({variantTypeId:this.variantTypeId});let R=this.queryRef.valueChanges;this.loading$=R.pipe((0,L.j)("loading"),(0,Y.O)(!0)),this.variantType$=R.pipe((0,L.j)("data","variantType"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return o.\u0275fac=function(a){return new(a||o)(t.Y36(n.gz),t.Y36(j.ubO))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-types-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzType","civic:varianttype"],["tooltip","View on sequenceontology.org",3,"href",4,"ngIf"],[1,"content"],["tooltip","View on sequenceontology.org",3,"href"]],template:function(a,g){1&a&&(t.YNc(0,E,12,4,"ng-container",0),t.ALo(1,"ngrxPush")),2&a&&t.Q6J("ngIf",t.lcZ(1,1,g.variantType$))},directives:[i.O5,$.I,_.$O,_.u9,f.Ls,_.Jp,X.l,_.u5,n.lC],pipes:[v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})();var U=e(2683),b=e(3154),H=e(8929),G=e(4850),w=e(2986),k=e(13),q=e(2166),r=e(7701),P=e(2643);function p(o,d){1&o&&t._uU(0," -- ")}function A(o,d){if(1&o&&(t.TgZ(0,"tr"),t.TgZ(1,"td"),t._UZ(2,"cvc-variant-type-tag",12),t.qZA(),t.TgZ(3,"td"),t.TgZ(4,"cvc-link-tag",13),t._uU(5),t.qZA(),t.YNc(6,p,1,0,"ng-template",null,14,t.W1O),t.qZA(),t.TgZ(8,"td"),t._uU(9),t.qZA(),t.qZA()),2&o){const a=d.$implicit;t.xp6(2),t.Q6J("variantType",a),t.xp6(2),t.Q6J("href",a.url),t.xp6(1),t.hij(" ",a.soid," "),t.xp6(4),t.hij(" ",a.variantCount," ")}}function Q(o,d){if(1&o){const a=t.EpF();t.TgZ(0,"button",18),t.NdJ("click",function(){t.CHM(a);const F=t.oxw(2).ngrxLet;return t.oxw().loadMore(F.endCursor)}),t._uU(1),t.qZA()}if(2&o){const a=t.oxw(3);t.xp6(1),t.hij("Load ",a.initialPageSize," More")}}function nn(o,d){if(1&o&&(t.TgZ(0,"tr"),t.TgZ(1,"td",16),t.YNc(2,Q,2,1,"button",17),t.qZA(),t.qZA()),2&o){const a=t.oxw().ngrxLet;t.xp6(2),t.Q6J("ngIf",a.hasNextPage)}}function tn(o,d){if(1&o&&(t.ynx(0),t.YNc(1,nn,3,1,"tr",15),t.BQk()),2&o){const a=d.ngrxLet;t.xp6(1),t.Q6J("ngIf",a.hasNextPage)}}function en(o,d){}function on(o,d){if(1&o&&(t.ynx(0),t.YNc(1,en,0,0,"ng-template",22),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function an(o,d){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const a=t.oxw(2);t.xp6(1),t.hij(" ",a.cvcTitle," ")}}function rn(o,d){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&o){const a=t.oxw().ngIf;t.xp6(1),t.hij(" of ",a," filtered")}}function ln(o,d){if(1&o&&(t.TgZ(0,"span",23),t._uU(1),t.YNc(2,rn,2,1,"span",15),t._uU(3,") "),t.qZA()),2&o){const a=d.ngIf,g=t.oxw(2);t.xp6(1),t.AsE(" (",g.totalCount," total, showing ",g.visibleCount,""),t.xp6(1),t.Q6J("ngIf",g.totalCount&&a{class o{constructor(a){this.gql=a,this.initialPageSize=25,this.debouncedQuery=new H.xQ,this.sortColumns=j.wpb,this.visibleCount=this.initialPageSize,this.loadedPages=1}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize});let a=this.queryRef.valueChanges;this.variantTypes$=a.pipe((0,L.j)("data","variantTypes","edges"),(0,G.U)(g=>g.map(F=>F.node))),this.isLoading$=a.pipe((0,L.j)("loading"),(0,Y.O)(!0)),this.filteredCount$=a.pipe((0,L.j)("data","variantTypes","filteredCount")),this.filteredCount$.pipe((0,w.q)(1)).subscribe(g=>this.totalCount=g),this.filteredCount$.subscribe(g=>{gg&&(this.visibleCount=g))}),this.pageInfo$=a.pipe((0,L.j)("data","variantTypes","pageInfo")),this.debouncedQuery.pipe((0,k.b)(500)).subscribe(g=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()}}onModelChanged(){this.debouncedQuery.next()}onSortChanged(a){var g;this.loadedPages=1,null===(g=this.queryRef)||void 0===g||g.refetch({sortBy:(0,b._)(a)})}refresh(){var a;this.loadedPages=1,null===(a=this.queryRef)||void 0===a||a.refetch({name:this.nameFilter,soid:this.soidFilter})}ngOnDestroy(){this.debouncedQuery.unsubscribe()}loadMore(a){var g;null===(g=this.queryRef)||void 0===g||g.fetchMore({variables:{after:a}}),this.loadedPages+=1}}return o.\u0275fac=function(a){return new(a||o)(t.Y36(j.fwG))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-types-table"]],inputs:{cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:24,vars:23,consts:[[3,"nzTitle"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["variantTypesTable",""],[3,"nzSortOrderChange"],["nzWidth","40%",3,"nzColumnKey","nzSortFn"],["nzWidth","20%","nzRight","","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:variant"],["placeholderText","Search Name",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Search SO ID",3,"inputModel","onInputChanged","inputModelChange"],[4,"ngFor","ngForOf"],[4,"ngrxLet"],["titleTemplate",""],[3,"variantType"],["tooltip","View on sequenceontology.org",3,"href"],["noSoid",""],[4,"ngIf"],["colspan","7"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],["nz-icon","","nzType","civic:varianttype"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(a,g){if(1&a&&(t.TgZ(0,"nz-card",0),t.TgZ(1,"nz-table",1,2),t.ALo(3,"ngrxPush"),t.ALo(4,"ngrxPush"),t.TgZ(5,"thead",3),t.NdJ("nzSortOrderChange",function(R){return g.onSortChanged(R)}),t.TgZ(6,"tr"),t.TgZ(7,"th",4),t._uU(8," Name "),t.qZA(),t.TgZ(9,"th",4),t._uU(10," SOID "),t.qZA(),t.TgZ(11,"th",5),t._UZ(12,"i",6),t.qZA(),t.qZA(),t.TgZ(13,"tr"),t.TgZ(14,"th"),t.TgZ(15,"cvc-clearable-input-filter",7),t.NdJ("inputModelChange",function(R){return g.nameFilter=R}),t.qZA(),t.qZA(),t.TgZ(16,"th"),t.TgZ(17,"cvc-clearable-input-filter",8),t.NdJ("inputModelChange",function(R){return g.soidFilter=R}),t.qZA(),t.qZA(),t._UZ(18,"th"),t.qZA(),t.qZA(),t.TgZ(19,"tbody"),t.YNc(20,A,10,4,"tr",9),t.YNc(21,tn,2,1,"ng-container",10),t.qZA(),t.qZA(),t.qZA(),t.YNc(22,cn,7,6,"ng-template",null,11,t.W1O)),2&a){const F=t.MAs(2),R=t.MAs(23);t.Q6J("nzTitle",R),t.xp6(1),t.Q6J("nzData",t.lcZ(3,18,g.variantTypes$))("nzLoading",t.lcZ(4,20,g.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),t.xp6(6),t.Q6J("nzColumnKey",g.sortColumns.Name)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",g.sortColumns.Soid)("nzSortFn",!0),t.xp6(2),t.Q6J("nzColumnKey",g.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",t.DdM(22,sn)),t.xp6(4),t.Q6J("inputModel",g.nameFilter)("onInputChanged",g.textInputCallback),t.xp6(2),t.Q6J("inputModel",g.soidFilter)("onInputChanged",g.textInputCallback),t.xp6(3),t.Q6J("ngForOf",F.data),t.xp6(1),t.Q6J("ngrxLet",g.pageInfo$)}},directives:[N.bd,c.N8,c.Om,c.$Z,c.Uo,c._C,c.qD,c.qn,I.SY,f.Ls,U.w,q.p,c.p0,i.sg,r.j,X.l,v.eJ,i.O5,S.ix,P.dQ,i.tP,J.ZU],pipes:[v.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),o})();function dn(o,d){1&o&&(t.TgZ(0,"a",14),t._UZ(1,"i",15),t._uU(2," View Variant Type Docs "),t.qZA())}function vn(o,d){1&o&&(t.TgZ(0,"a",16),t._UZ(1,"i",15),t._uU(2," View Variant Type Curation Docs "),t.qZA())}let mn=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["variant-types-home"]],decls:19,vars:2,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:varianttype"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html#curating-variant-types","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variant Types"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variants/types.html#curating-variant-types","target","_blank","nzSize","small","nzBlock",""]],template:function(a,g){1&a&&(t._UZ(0,"cvc-section-navigation"),t.TgZ(1,"nz-page-header",0),t.TgZ(2,"nz-page-header-content"),t.TgZ(3,"nz-row",1),t.TgZ(4,"nz-col",2),t._UZ(5,"i",3),t.qZA(),t.TgZ(6,"nz-col",4),t.TgZ(7,"h2"),t._uU(8,"Variant Types"),t.qZA(),t.TgZ(9,"p",5),t._uU(10,"Variant Types are used to classify CIViC variants by Sequence Ontology terms, permitting advanced searching for categories of variants downstream semantic analyses."),t.qZA(),t.qZA(),t.TgZ(11,"nz-col",6),t.TgZ(12,"nz-space",7),t.YNc(13,dn,3,0,"a",8),t.YNc(14,vn,3,0,"a",9),t.qZA(),t.qZA(),t.qZA(),t.TgZ(15,"div",10),t.TgZ(16,"div",11),t.TgZ(17,"div",12),t._UZ(18,"cvc-variant-types-table",13),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&a&&(t.xp6(9),t.Q6J("nzEllipsisRows",2),t.xp6(7),t.Q6J("nzSpan",24))},directives:[$.I,_.$O,_.u5,O.SK,O.t3,f.Ls,U.w,J.ZU,m.NU,m.$1,S.ix,gn],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})();var _n=e(6410);function un(o,d){if(1&o&&t._UZ(0,"cvc-variants-table",3),2&o){const a=t.oxw(2);t.Q6J("variantTypeId",a.variantTypeId)}}function Tn(o,d){1&o&&(t.TgZ(0,"nz-space",1),t.YNc(1,un,1,1,"cvc-variants-table",2),t.qZA())}const fn=[{path:"",component:(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-types"]],decls:1,vars:0,template:function(a,g){1&a&&t._UZ(0,"router-outlet")},directives:[n.lC],styles:[""]}),o})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:mn,data:{breadcrumb:"Home"}},{path:":variantTypeId",component:T,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class o{constructor(a){this.route=a,this.routeSub=this.route.params.subscribe(g=>{this.variantTypeId=+g.variantTypeId})}ngOnDestroy(){this.routeSub.unsubscribe()}}return o.\u0275fac=function(a){return new(a||o)(t.Y36(n.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-types-summary"]],decls:1,vars:1,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["cvcTitle","Type Variants",3,"variantTypeId",4,"nzSpaceItem"],["cvcTitle","Type Variants",3,"variantTypeId"]],template:function(a,g){1&a&&t.YNc(0,Tn,2,0,"nz-space",0),2&a&&t.Q6J("ngIf",g.variantTypeId)},directives:[i.O5,m.NU,m.$1,_n.S],styles:["[_nghost-%COMP%]{display:block}"]}),o})(),data:{breadcrumb:"Summary"}}]}]}];let Cn=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[n.Bz.forChild(fn)],n.Bz]}),o})(),hn=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[i.ez,n.Bz,Cn,D,u,x]]}),o})()}}]);
\ No newline at end of file
diff --git a/server/public/5193.079fc90b586abf32.js b/server/public/5193.079fc90b586abf32.js
deleted file mode 100644
index e17039aa4..000000000
--- a/server/public/5193.079fc90b586abf32.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5193],{4022:(b,l,a)=>{a.d(l,{n:()=>F});var _=a(6654),n=a(5e3),s=a(9808),m=a(325),r=a(8481),p=a(3610),d=a(4850),g=a(712),f=a(7484),u=a(647),x=a(6550),z=a(3618),v=a(3098),T=a(6949),C=a(4557);function h(e,o){if(1&e&&(n._UZ(0,"i",12),n._uU(1),n.ALo(2,"truncate")),2&e){const t=n.oxw().ngIf;n.xp6(1),n.hij(" ",n.xi3(2,1,t.name,50)," ")}}function I(e,o){if(1&e&&(n.TgZ(0,"cvc-link-tag",14),n._uU(1),n.qZA()),2&e){const t=n.oxw(2).ngIf;n.Q6J("href",t.diseaseUrl),n.xp6(1),n.hij(" DOID: ",t.doid," ")}}function P(e,o){if(1&e&&n.YNc(0,I,2,2,"cvc-link-tag",13),2&e){const t=n.oxw().ngIf,i=n.MAs(7);n.Q6J("ngIf",t.doid)("ngIfElse",i)}}function O(e,o){1&e&&(n.TgZ(0,"span",15),n._uU(1,"No DOID"),n.qZA())}function D(e,o){if(1&e&&(n.TgZ(0,"nz-descriptions-item",16),n._uU(1),n.qZA()),2&e){const t=n.oxw().ngIf;n.xp6(1),n.hij(" ",t.name," ")}}function A(e,o){if(1&e&&(n.TgZ(0,"nz-descriptions-item",17),n._uU(1),n.qZA()),2&e){const t=n.oxw().ngIf;n.xp6(1),n.hij(" ",t.diseaseAliases.join(", ")," ")}}function M(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,h,3,4,"ng-template",null,3,n.W1O),n.YNc(4,P,1,2,"ng-template",null,4,n.W1O),n.YNc(6,O,2,0,"ng-template",null,5,n.W1O),n.TgZ(8,"nz-descriptions",6),n.YNc(9,D,2,1,"nz-descriptions-item",7),n.YNc(10,A,2,1,"nz-descriptions-item",8),n.TgZ(11,"nz-descriptions-item",9),n._uU(12),n.qZA(),n.TgZ(13,"nz-descriptions-item",10),n._uU(14),n.qZA(),n.TgZ(15,"nz-descriptions-item",11),n._uU(16),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&e){const t=o.ngIf,i=n.MAs(3),c=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",i)("nzExtra",c),n.xp6(7),n.Q6J("nzColumn",1),n.xp6(1),n.Q6J("ngIf",t.name.length>50),n.xp6(1),n.Q6J("ngIf",t.diseaseAliases.length>0),n.xp6(2),n.hij(" ",t.assertionCount," "),n.xp6(2),n.hij(" ",t.evidenceItemCount," "),n.xp6(2),n.hij(" ",t.variantCount," ")}}let N=(()=>{class e{constructor(t){this.gql=t}ngOnInit(){if(null==this.diseaseId)throw new Error("cvc-disease-popover requires valid diseaseId input.");this.disease$=this.gql.watch({diseaseId:this.diseaseId}).valueChanges.pipe((0,d.U)(({data:t})=>t.diseasePopover))}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(g.k7O))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-disease-popover"]],inputs:{diseaseId:"diseaseId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noDoid",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","1"],["nzTitle","Evidence","nzSpan","1"],["nzTitle","Variants","nzSpan","1"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on disease-ontology.org",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"]],template:function(t,i){1&t&&(n.TgZ(0,"div",0),n.YNc(1,M,17,8,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,i.disease$)))},directives:[s.O5,f.bd,u.Ls,x.l,z.ZU,v.R7,v.uj],pipes:[T.fM,C.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),e})();function Z(e,o){}function y(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,Z,0,0,"ng-template",6),n.qZA(),n.BQk()),2&e){const t=n.oxw(),i=n.MAs(2);n.xp6(1),n.Q6J("routerLink",t.disease.link),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function w(e,o){}function Y(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"nz-tag",9),n.NdJ("nzOnClose",function(c){return n.CHM(t),n.oxw(2).itemClosed(c)}),n.YNc(1,w,0,0,"ng-template",6),n.qZA()}if(2&e){n.oxw();const t=n.MAs(2),i=n.oxw(),c=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",i.onCloseClicked?0:.5)("nzPopoverContent",t)("nzMode",i.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",c)}}function Q(e,o){if(1&e&&n._UZ(0,"cvc-disease-popover",10),2&e){const t=n.oxw(2);n.Q6J("diseaseId",t.disease.id)}}function J(e,o){if(1&e&&(n.YNc(0,Y,2,4,"nz-tag",7),n.YNc(1,Q,1,1,"ng-template",null,8,n.W1O)),2&e){const t=n.oxw(),i=n.MAs(4);n.Q6J("ngIf",t.enablePopover)("ngIfElse",i)}}function E(e,o){}function U(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"nz-tag",11),n.NdJ("nzOnClose",function(c){return n.CHM(t),n.oxw().itemClosed(c)}),n.YNc(1,E,0,0,"ng-template",6),n.qZA()}if(2&e){const t=n.oxw(),i=n.MAs(8);n.Q6J("nzMode",t.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function j(e,o){}function L(e,o){if(1&e&&n.YNc(0,j,0,0,"ng-template",6),2&e){n.oxw();const t=n.MAs(2);n.Q6J("ngTemplateOutlet",t)}}function W(e,o){if(1&e&&(n.ynx(0),n._uU(1),n.ALo(2,"truncate"),n.BQk()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",n.xi3(2,1,t.disease.name,27)," ")}}function S(e,o){if(1&e&&n._uU(0),2&e){const t=n.oxw(2);n.hij(" ",t.disease.name," ")}}function k(e,o){if(1&e&&(n._UZ(0,"i",12),n.YNc(1,W,3,4,"ng-container",0),n.YNc(2,S,1,1,"ng-template",null,13,n.W1O)),2&e){const t=n.MAs(3),i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.truncateLongName)("ngIfElse",t)}}let F=(()=>{class e extends _.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1}idFunction(){return this.disease.id}ngOnInit(){if(super.ngOnInit(),void 0===this.disease)throw new Error("cvc-disease-tag requires LinkableDisease input, none supplied.")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-disease-tag"]],inputs:{disease:"disease",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["diseasePopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"diseaseId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["fullName",""]],template:function(t,i){if(1&t&&(n.YNc(0,y,3,2,"ng-container",0),n.YNc(1,J,3,2,"ng-template",null,1,n.W1O),n.YNc(3,U,2,2,"ng-template",null,2,n.W1O),n.YNc(5,L,1,1,"ng-template",null,3,n.W1O),n.YNc(7,k,4,2,"ng-template",null,4,n.W1O)),2&t){const c=n.MAs(6);n.Q6J("ngIf",i.linked)("ngIfElse",c)}},directives:[s.O5,m.yS,s.tP,r.j,p.lU,N,u.Ls],pipes:[C.W],styles:[""]}),e})()},7469:(b,l,a)=>{a.d(l,{u:()=>F});var _=a(6654),n=a(5e3),s=a(9808),m=a(325),r=a(8481),p=a(3610),d=a(4850),g=a(712),f=a(7484),u=a(647),x=a(6550),z=a(3618),v=a(3098),T=a(6949),C=a(4557);function h(e,o){if(1&e&&(n._UZ(0,"i",11),n._uU(1),n.ALo(2,"truncate")),2&e){const t=n.oxw().ngIf;n.xp6(1),n.hij(" ",n.xi3(2,1,t.name,50)," ")}}function I(e,o){if(1&e&&(n.TgZ(0,"cvc-link-tag",13),n._uU(1),n.qZA()),2&e){const t=n.oxw(2).ngIf;n.Q6J("href",t.drugUrl),n.xp6(1),n.hij(" ",t.ncitId," ")}}function P(e,o){if(1&e&&n.YNc(0,I,2,2,"cvc-link-tag",12),2&e){const t=n.oxw().ngIf,i=n.MAs(7);n.Q6J("ngIf",t.ncitId)("ngIfElse",i)}}function O(e,o){1&e&&(n.TgZ(0,"span",14),n._uU(1,"No NCIt ID"),n.qZA())}function D(e,o){if(1&e&&(n.TgZ(0,"nz-descriptions-item",15),n._uU(1),n.qZA()),2&e){const t=n.oxw().ngIf;n.xp6(1),n.hij(" ",t.name," ")}}function A(e,o){if(1&e&&(n.TgZ(0,"nz-descriptions-item",16),n._uU(1),n.qZA()),2&e){const t=n.oxw().ngIf;n.xp6(1),n.hij(" ",t.drugAliases.join(", ")," ")}}function M(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,h,3,4,"ng-template",null,3,n.W1O),n.YNc(4,P,1,2,"ng-template",null,4,n.W1O),n.YNc(6,O,2,0,"ng-template",null,5,n.W1O),n.TgZ(8,"nz-descriptions",6),n.YNc(9,D,2,1,"nz-descriptions-item",7),n.YNc(10,A,2,1,"nz-descriptions-item",8),n.TgZ(11,"nz-descriptions-item",9),n._uU(12),n.qZA(),n.TgZ(13,"nz-descriptions-item",10),n._uU(14),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&e){const t=o.ngIf,i=n.MAs(3),c=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",i)("nzExtra",c),n.xp6(7),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",t.name.length>50),n.xp6(1),n.Q6J("ngIf",t.drugAliases.length>0),n.xp6(2),n.hij(" ",t.assertionCount," "),n.xp6(2),n.hij(" ",t.evidenceItemCount," ")}}let N=(()=>{class e{constructor(t){this.gql=t}ngOnInit(){if(null==this.drugId)throw new Error("cvc-drug-popover requires valid drugId input.");this.drug$=this.gql.watch({drugId:this.drugId}).valueChanges.pipe((0,d.U)(({data:t})=>t.drugPopover))}}return e.\u0275fac=function(t){return new(t||e)(n.Y36(g.dUU))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-drug-popover"]],inputs:{drugId:"drugId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noNcitId",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nz-icon","","nzType","civic-intervention","nzTheme","twotone","nzTwotoneColor","#AC3996"],["tooltip","View on NCI Thesaurus",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on NCI Thesaurus",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"]],template:function(t,i){1&t&&(n.TgZ(0,"div",0),n.YNc(1,M,15,7,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&t&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,i.drug$)))},directives:[s.O5,f.bd,u.Ls,x.l,z.ZU,v.R7,v.uj],pipes:[T.fM,C.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),e})();function Z(e,o){}function y(e,o){if(1&e&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,Z,0,0,"ng-template",6),n.qZA(),n.BQk()),2&e){const t=n.oxw(),i=n.MAs(2);n.xp6(1),n.Q6J("routerLink",t.drug.link),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function w(e,o){}function Y(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"nz-tag",9),n.NdJ("nzOnClose",function(c){return n.CHM(t),n.oxw(2).itemClosed(c)}),n.YNc(1,w,0,0,"ng-template",6),n.qZA()}if(2&e){n.oxw();const t=n.MAs(2),i=n.oxw(),c=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",i.onCloseClicked?0:.5)("nzPopoverContent",t)("nzMode",i.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",c)}}function Q(e,o){if(1&e&&n._UZ(0,"cvc-drug-popover",10),2&e){const t=n.oxw(2);n.Q6J("drugId",t.drug.id)}}function J(e,o){if(1&e&&(n.YNc(0,Y,2,4,"nz-tag",7),n.YNc(1,Q,1,1,"ng-template",null,8,n.W1O)),2&e){const t=n.oxw(),i=n.MAs(4);n.Q6J("ngIf",t.enablePopover)("ngIfElse",i)}}function E(e,o){}function U(e,o){if(1&e){const t=n.EpF();n.TgZ(0,"nz-tag",11),n.NdJ("nzOnClose",function(c){return n.CHM(t),n.oxw().itemClosed(c)}),n.YNc(1,E,0,0,"ng-template",6),n.qZA()}if(2&e){const t=n.oxw(),i=n.MAs(8);n.Q6J("nzMode",t.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function j(e,o){}function L(e,o){if(1&e&&n.YNc(0,j,0,0,"ng-template",6),2&e){n.oxw();const t=n.MAs(2);n.Q6J("ngTemplateOutlet",t)}}function W(e,o){if(1&e&&(n.ynx(0),n._uU(1),n.ALo(2,"truncate"),n.BQk()),2&e){const t=n.oxw(2);n.xp6(1),n.hij(" ",n.xi3(2,1,t.drug.name,21)," ")}}function S(e,o){if(1&e&&n._uU(0),2&e){const t=n.oxw(2);n.hij(" ",t.drug.name," ")}}function k(e,o){if(1&e&&(n._UZ(0,"i",12),n.YNc(1,W,3,4,"ng-container",0),n.YNc(2,S,1,1,"ng-template",null,13,n.W1O)),2&e){const t=n.MAs(3),i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.truncateLongName)("ngIfElse",t)}}let F=(()=>{class e extends _.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1}idFunction(){return this.drug.id}ngOnInit(){if(super.ngOnInit(),void 0===this.drug)throw new Error("cvc-drug-tag requires LinkableDrug input, none supplied.")}}return e.\u0275fac=function(t){return new(t||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-drug-tag"]],inputs:{drug:"drug",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["drugPopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"drugId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-intervention","nzTheme","twotone","nzTwotoneColor","#AC3996"],["fullName",""]],template:function(t,i){if(1&t&&(n.YNc(0,y,3,2,"ng-container",0),n.YNc(1,J,3,2,"ng-template",null,1,n.W1O),n.YNc(3,U,2,2,"ng-template",null,2,n.W1O),n.YNc(5,L,1,1,"ng-template",null,3,n.W1O),n.YNc(7,k,4,2,"ng-template",null,4,n.W1O)),2&t){const c=n.MAs(6);n.Q6J("ngIf",i.linked)("ngIfElse",c)}},directives:[s.O5,m.yS,s.tP,r.j,p.lU,N,u.Ls],pipes:[C.W],styles:[""]}),e})()},4557:(b,l,a)=>{a.d(l,{W:()=>n});var _=a(5e3);let n=(()=>{class s{constructor(){}transform(r,p=25){if(r.length>p){let g=r.slice(0,p);var d=g.lastIndexOf(" ");return g.slice(0,d+1)+"..."}return r}}return s.\u0275fac=function(r){return new(r||s)},s.\u0275pipe=_.Yjl({name:"truncate",type:s,pure:!0}),s})()}}]);
\ No newline at end of file
diff --git a/server/public/5193.df16b16f719a127b.js b/server/public/5193.df16b16f719a127b.js
new file mode 100644
index 000000000..0e9d9f128
--- /dev/null
+++ b/server/public/5193.df16b16f719a127b.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5193],{4022:(q,m,a)=>{a.d(m,{n:()=>b});var d=a(6654),n=a(5e3),r=a(9808),u=a(325),p=a(8481),l=a(3610),v=a(4850),_=a(712),T=a(7484),C=a(647),h=a(6550),P=a(3618),f=a(3098),I=a(6949),z=a(4557);function x(t,c){if(1&t&&(n._UZ(0,"i",12),n._uU(1),n.ALo(2,"truncate")),2&t){const e=n.oxw().ngIf;n.xp6(1),n.hij(" ",n.xi3(2,1,e.name,50)," ")}}function O(t,c){if(1&t&&(n.TgZ(0,"cvc-link-tag",14),n._uU(1),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.Q6J("href",e.diseaseUrl),n.xp6(1),n.hij(" DOID: ",e.doid," ")}}function D(t,c){if(1&t&&n.YNc(0,O,2,2,"cvc-link-tag",13),2&t){const e=n.oxw().ngIf,i=n.MAs(7);n.Q6J("ngIf",e.doid)("ngIfElse",i)}}function A(t,c){1&t&&(n.TgZ(0,"span",15),n._uU(1,"No DOID"),n.qZA())}function N(t,c){if(1&t&&(n.TgZ(0,"nz-descriptions-item",16),n._uU(1),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.hij(" ",e.name," ")}}function M(t,c){if(1&t&&(n.TgZ(0,"nz-descriptions-item",17),n._uU(1),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.hij(" ",e.diseaseAliases.join(", ")," ")}}function Z(t,c){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,x,3,4,"ng-template",null,3,n.W1O),n.YNc(4,D,1,2,"ng-template",null,4,n.W1O),n.YNc(6,A,2,0,"ng-template",null,5,n.W1O),n.TgZ(8,"nz-descriptions",6),n.YNc(9,N,2,1,"nz-descriptions-item",7),n.YNc(10,M,2,1,"nz-descriptions-item",8),n.TgZ(11,"nz-descriptions-item",9),n._uU(12),n.qZA(),n.TgZ(13,"nz-descriptions-item",10),n._uU(14),n.qZA(),n.TgZ(15,"nz-descriptions-item",11),n._uU(16),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&t){const e=c.ngIf,i=n.MAs(3),o=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",i)("nzExtra",o),n.xp6(7),n.Q6J("nzColumn",1),n.xp6(1),n.Q6J("ngIf",e.name.length>50),n.xp6(1),n.Q6J("ngIf",e.diseaseAliases.length>0),n.xp6(2),n.hij(" ",e.assertionCount," "),n.xp6(2),n.hij(" ",e.evidenceItemCount," "),n.xp6(2),n.hij(" ",e.variantCount," ")}}let y=(()=>{class t{constructor(e){this.gql=e}ngOnInit(){if(null==this.diseaseId)throw new Error("cvc-disease-popover requires valid diseaseId input.");this.disease$=this.gql.watch({diseaseId:this.diseaseId}).valueChanges.pipe((0,v.U)(({data:e})=>e.diseasePopover))}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(_.k7O))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-disease-popover"]],inputs:{diseaseId:"diseaseId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noDoid",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","1"],["nzTitle","Evidence","nzSpan","1"],["nzTitle","Variants","nzSpan","1"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["tooltip","View on disease-ontology.org",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on disease-ontology.org",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"]],template:function(e,i){1&e&&(n.TgZ(0,"div",0),n.YNc(1,Z,17,8,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&e&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,i.disease$)))},directives:[r.O5,T.bd,C.Ls,h.l,P.ZU,f.R7,f.uj],pipes:[I.fM,z.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),t})();function Y(t,c){}function w(t,c){if(1&t&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,Y,0,0,"ng-template",6),n.qZA(),n.BQk()),2&t){const e=n.oxw(),i=n.MAs(2);n.xp6(1),n.Q6J("routerLink",e.disease.link),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function Q(t,c){}function J(t,c){if(1&t){const e=n.EpF();n.TgZ(0,"nz-tag",9),n.NdJ("nzOnClose",function(o){return n.CHM(e),n.oxw(2).itemClosed(o)}),n.YNc(1,Q,0,0,"ng-template",6),n.qZA()}if(2&t){n.oxw();const e=n.MAs(2),i=n.oxw(),o=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",i.onCloseClicked?0:.5)("nzPopoverContent",e)("nzMode",i.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",o)}}function E(t,c){if(1&t&&n._UZ(0,"cvc-disease-popover",10),2&t){const e=n.oxw(2);n.Q6J("diseaseId",e.disease.id)}}function U(t,c){if(1&t&&(n.YNc(0,J,2,4,"nz-tag",7),n.YNc(1,E,1,1,"ng-template",null,8,n.W1O)),2&t){const e=n.oxw(),i=n.MAs(4);n.Q6J("ngIf",e.enablePopover)("ngIfElse",i)}}function L(t,c){}function j(t,c){if(1&t){const e=n.EpF();n.TgZ(0,"nz-tag",11),n.NdJ("nzOnClose",function(o){return n.CHM(e),n.oxw().itemClosed(o)}),n.YNc(1,L,0,0,"ng-template",6),n.qZA()}if(2&t){const e=n.oxw(),i=n.MAs(8);n.Q6J("nzMode",e.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",i)}}function W(t,c){}function S(t,c){if(1&t&&n.YNc(0,W,0,0,"ng-template",6),2&t){n.oxw();const e=n.MAs(2);n.Q6J("ngTemplateOutlet",e)}}function F(t,c){if(1&t&&(n.ynx(0),n._uU(1),n.ALo(2,"truncate"),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",n.xi3(2,1,e.disease.name,27)," ")}}function k(t,c){if(1&t&&n._uU(0),2&t){const e=n.oxw(2);n.hij(" ",e.disease.name," ")}}function B(t,c){if(1&t&&(n._UZ(0,"i",12),n.YNc(1,F,3,4,"ng-container",0),n.YNc(2,k,1,1,"ng-template",null,13,n.W1O)),2&t){const e=n.MAs(3),i=n.oxw();n.xp6(1),n.Q6J("ngIf",i.truncateLongName)("ngIfElse",e)}}let b=(()=>{class t extends d.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1}idFunction(){return this.disease.id}ngOnInit(){if(super.ngOnInit(),void 0===this.disease)throw new Error("cvc-disease-tag requires LinkableDisease input, none supplied.")}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-disease-tag"]],inputs:{disease:"disease",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["diseasePopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"diseaseId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-disease","nzTheme","twotone","nzTwotoneColor","#E62F76"],["fullName",""]],template:function(e,i){if(1&e&&(n.YNc(0,w,3,2,"ng-container",0),n.YNc(1,U,3,2,"ng-template",null,1,n.W1O),n.YNc(3,j,2,2,"ng-template",null,2,n.W1O),n.YNc(5,S,1,1,"ng-template",null,3,n.W1O),n.YNc(7,B,4,2,"ng-template",null,4,n.W1O)),2&e){const o=n.MAs(6);n.Q6J("ngIf",i.linked)("ngIfElse",o)}},directives:[r.O5,u.yS,r.tP,p.j,l.lU,y,C.Ls],pipes:[z.W],styles:[""]}),t})()},7469:(q,m,a)=>{a.d(m,{u:()=>c});var d=a(6654),n=a(5e3),r=a(9808),u=a(325),p=a(8481),l=a(3610),v=a(4850),_=a(712),T=a(7484),C=a(647),h=a(6550),P=a(3618),f=a(3098),I=a(404),z=a(6949),x=a(4557);function O(e,i){if(1&e&&(n._UZ(0,"i",11),n._uU(1),n.ALo(2,"truncate")),2&e){const o=n.oxw().ngIf;n.xp6(1),n.hij(" ",n.xi3(2,1,o.name,50)," ")}}function D(e,i){if(1&e&&(n.TgZ(0,"cvc-link-tag",13),n._uU(1),n.qZA()),2&e){const o=n.oxw(2).ngIf;n.Q6J("href",o.drugUrl),n.xp6(1),n.hij(" ",o.ncitId," ")}}function A(e,i){if(1&e&&n.YNc(0,D,2,2,"cvc-link-tag",12),2&e){const o=n.oxw().ngIf,s=n.MAs(7);n.Q6J("ngIf",o.ncitId)("ngIfElse",s)}}function N(e,i){1&e&&(n.TgZ(0,"span",14),n._uU(1,"No NCIt ID"),n.qZA())}function M(e,i){if(1&e&&(n.TgZ(0,"nz-descriptions-item",15),n._uU(1),n.qZA()),2&e){const o=n.oxw().ngIf;n.xp6(1),n.hij(" ",o.name," ")}}function Z(e,i){if(1&e&&(n.TgZ(0,"nz-tag",18),n._uU(1),n.ALo(2,"truncate"),n.qZA()),2&e){const o=i.$implicit;n.Q6J("nzTooltipTitle",o),n.xp6(1),n.Oqu(n.lcZ(2,2,o))}}function y(e,i){if(1&e&&(n.TgZ(0,"nz-descriptions-item",16),n.YNc(1,Z,3,4,"nz-tag",17),n.qZA()),2&e){const o=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",o.drugAliases)}}function Y(e,i){if(1&e&&(n.ynx(0),n.TgZ(1,"nz-card",2),n.YNc(2,O,3,4,"ng-template",null,3,n.W1O),n.YNc(4,A,1,2,"ng-template",null,4,n.W1O),n.YNc(6,N,2,0,"ng-template",null,5,n.W1O),n.TgZ(8,"nz-descriptions",6),n.YNc(9,M,2,1,"nz-descriptions-item",7),n.YNc(10,y,2,1,"nz-descriptions-item",8),n.TgZ(11,"nz-descriptions-item",9),n._uU(12),n.qZA(),n.TgZ(13,"nz-descriptions-item",10),n._uU(14),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&e){const o=i.ngIf,s=n.MAs(3),g=n.MAs(5);n.xp6(1),n.Q6J("nzTitle",s)("nzExtra",g),n.xp6(7),n.Q6J("nzColumn",2),n.xp6(1),n.Q6J("ngIf",o.name.length>50),n.xp6(1),n.Q6J("ngIf",o.drugAliases.length>0),n.xp6(2),n.hij(" ",o.assertionCount," "),n.xp6(2),n.hij(" ",o.evidenceItemCount," ")}}let w=(()=>{class e{constructor(o){this.gql=o}ngOnInit(){if(null==this.drugId)throw new Error("cvc-drug-popover requires valid drugId input.");this.drug$=this.gql.watch({drugId:this.drugId}).valueChanges.pipe((0,v.U)(({data:o})=>o.drugPopover))}}return e.\u0275fac=function(o){return new(o||e)(n.Y36(_.dUU))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-drug-popover"]],inputs:{drugId:"drugId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["linkout",""],["noNcitId",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Name","nzSpan","2",4,"ngIf"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Assertions","nzSpan","2"],["nzTitle","Evidence","nzSpan","2"],["nz-icon","","nzType","civic-intervention","nzTheme","twotone","nzTwotoneColor","#AC3996"],["tooltip","View on NCI Thesaurus",3,"href",4,"ngIf","ngIfElse"],["tooltip","View on NCI Thesaurus",3,"href"],["nz-typography","","nzType","secondary"],["nzTitle","Name","nzSpan","2"],["nzTitle","Aliases","nzSpan","2"],["nz-tooltip","",3,"nzTooltipTitle",4,"ngFor","ngForOf"],["nz-tooltip","",3,"nzTooltipTitle"]],template:function(o,s){1&o&&(n.TgZ(0,"div",0),n.YNc(1,Y,15,7,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA()),2&o&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,s.drug$)))},directives:[r.O5,T.bd,C.Ls,h.l,P.ZU,f.R7,f.uj,r.sg,p.j,I.SY],pipes:[z.fM,x.W],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),e})();function Q(e,i){}function J(e,i){if(1&e&&(n.ynx(0),n.TgZ(1,"a",5),n.YNc(2,Q,0,0,"ng-template",6),n.qZA(),n.BQk()),2&e){const o=n.oxw(),s=n.MAs(2);n.xp6(1),n.Q6J("routerLink",o.drug.link),n.xp6(1),n.Q6J("ngTemplateOutlet",s)}}function E(e,i){}function U(e,i){if(1&e){const o=n.EpF();n.TgZ(0,"nz-tag",9),n.NdJ("nzOnClose",function(g){return n.CHM(o),n.oxw(2).itemClosed(g)}),n.YNc(1,E,0,0,"ng-template",6),n.qZA()}if(2&e){n.oxw();const o=n.MAs(2),s=n.oxw(),g=n.MAs(8);n.Q6J("nzPopoverMouseEnterDelay",s.onCloseClicked?0:.5)("nzPopoverContent",o)("nzMode",s.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",g)}}function L(e,i){if(1&e&&n._UZ(0,"cvc-drug-popover",10),2&e){const o=n.oxw(2);n.Q6J("drugId",o.drug.id)}}function j(e,i){if(1&e&&(n.YNc(0,U,2,4,"nz-tag",7),n.YNc(1,L,1,1,"ng-template",null,8,n.W1O)),2&e){const o=n.oxw(),s=n.MAs(4);n.Q6J("ngIf",o.enablePopover)("ngIfElse",s)}}function W(e,i){}function S(e,i){if(1&e){const o=n.EpF();n.TgZ(0,"nz-tag",11),n.NdJ("nzOnClose",function(g){return n.CHM(o),n.oxw().itemClosed(g)}),n.YNc(1,W,0,0,"ng-template",6),n.qZA()}if(2&e){const o=n.oxw(),s=n.MAs(8);n.Q6J("nzMode",o.onCloseClicked?"closeable":"default"),n.xp6(1),n.Q6J("ngTemplateOutlet",s)}}function F(e,i){}function k(e,i){if(1&e&&n.YNc(0,F,0,0,"ng-template",6),2&e){n.oxw();const o=n.MAs(2);n.Q6J("ngTemplateOutlet",o)}}function B(e,i){if(1&e&&(n.ynx(0),n._uU(1),n.ALo(2,"truncate"),n.BQk()),2&e){const o=n.oxw(2);n.xp6(1),n.hij(" ",n.xi3(2,1,o.drug.name,21)," ")}}function b(e,i){if(1&e&&n._uU(0),2&e){const o=n.oxw(2);n.hij(" ",o.drug.name," ")}}function t(e,i){if(1&e&&(n._UZ(0,"i",12),n.YNc(1,B,3,4,"ng-container",0),n.YNc(2,b,1,1,"ng-template",null,13,n.W1O)),2&e){const o=n.MAs(3),s=n.oxw();n.xp6(1),n.Q6J("ngIf",s.truncateLongName)("ngIfElse",o)}}let c=(()=>{class e extends d.a{constructor(){super(),this.enablePopover=!0,this.truncateLongName=!1}idFunction(){return this.drug.id}ngOnInit(){if(super.ngOnInit(),void 0===this.drug)throw new Error("cvc-drug-tag requires LinkableDrug input, none supplied.")}}return e.\u0275fac=function(o){return new(o||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-drug-tag"]],inputs:{drug:"drug",enablePopover:"enablePopover",truncateLongName:"truncateLongName"},features:[n.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["drugPopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"drugId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-intervention","nzTheme","twotone","nzTwotoneColor","#AC3996"],["fullName",""]],template:function(o,s){if(1&o&&(n.YNc(0,J,3,2,"ng-container",0),n.YNc(1,j,3,2,"ng-template",null,1,n.W1O),n.YNc(3,S,2,2,"ng-template",null,2,n.W1O),n.YNc(5,k,1,1,"ng-template",null,3,n.W1O),n.YNc(7,t,4,2,"ng-template",null,4,n.W1O)),2&o){const g=n.MAs(6);n.Q6J("ngIf",s.linked)("ngIfElse",g)}},directives:[r.O5,u.yS,r.tP,p.j,l.lU,w,C.Ls],pipes:[x.W],styles:[""]}),e})()},4557:(q,m,a)=>{a.d(m,{W:()=>n});var d=a(5e3);let n=(()=>{class r{constructor(){}transform(p,l=25){if(p.length>l){let _=p.slice(0,l);var v=_.lastIndexOf(" ");return _.slice(0,v+1)+"..."}return p}}return r.\u0275fac=function(p){return new(p||r)},r.\u0275pipe=d.Yjl({name:"truncate",type:r,pure:!0}),r})()}}]);
\ No newline at end of file
diff --git a/server/public/5291.95fc472ce90a140e.js b/server/public/5291.95fc472ce90a140e.js
deleted file mode 100644
index e105d62f2..000000000
--- a/server/public/5291.95fc472ce90a140e.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5291],{2011:(D,T,_)=>{_.d(T,{o:()=>d});var e=_(712),g=_(4850),t=_(5e3);function m(i,c){if(1&i&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",11),t.BQk()),2&i){const n=t.oxw().ngIf,o=t.oxw(3);t.xp6(1),t.Q6J("events",n)("tagDisplay",o.tagDisplay)}}function O(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"div",13),t.TgZ(1,"button",14),t.NdJ("click",function(){t.CHM(n);const l=t.oxw().ngIf;return t.oxw(4).fetchMore(l.endCursor)}),t._uU(2,"Load More "),t.qZA(),t.qZA()}}function M(i,c){if(1&i&&(t.ynx(0),t.YNc(1,O,3,0,"div",12),t.BQk()),2&i){const n=c.ngIf;t.xp6(1),t.Q6J("ngIf",n.hasNextPage)}}function u(i,c){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-row",2),t.TgZ(2,"nz-col",10),t.YNc(3,m,2,2,"ng-container",0),t.YNc(4,M,2,1,"ng-container",9),t.ALo(5,"ngrxPush"),t.qZA(),t.qZA(),t.BQk()),2&i){const n=c.ngIf,o=t.oxw(3),l=t.MAs(3);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",n.length)("ngIfElse",l),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,o.pageInfo$))}}function E(i,c){if(1&i&&(t.TgZ(0,"nz-card",8),t.YNc(1,u,6,6,"ng-container",9),t.ALo(2,"ngrxPush"),t.qZA()),2&i){const n=t.oxw(2);t.Q6J("nzTitle",n.showFilters?"Events":void 0),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,2,n.events$))}}function f(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"span"),t._uU(1," Show Child Events "),t.TgZ(2,"nz-switch",16),t.NdJ("ngModelChange",function(l){return t.CHM(n),t.oxw(3).showChildren=l})("ngModelChange",function(){return t.CHM(n),t.oxw(3).onShowChildrenToggle()}),t.qZA(),t.qZA()}if(2&i){const n=t.oxw(3);t.xp6(2),t.Q6J("ngModel",n.showChildren)}}function P(i,c){1&i&&(t._uU(0),t.ALo(1,"eventVerbiage")),2&i&&t.hij(" ",t.xi3(1,1,c.$implicit.id,"action-filter")," ")}function I(i,c){if(1&i&&t._UZ(0,"nz-avatar",24),2&i){const n=t.oxw().$implicit;t.Q6J("nzSrc",n.profileImagePath)}}function h(i,c){if(1&i&&(t._UZ(0,"nz-avatar",25),t.ALo(1,"uppercase")),2&i){const n=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,n.displayName.charAt(0)))}}function z(i,c){if(1&i&&(t.YNc(0,I,1,1,"nz-avatar",22),t.YNc(1,h,2,3,"ng-template",null,23,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&i){const n=c.$implicit,o=t.MAs(2);t.Q6J("ngIf",n.profileImagePath)("ngIfElse",o),t.xp6(4),t.Oqu(n.displayName)}}function C(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"cvc-participant-list",21),t.NdJ("participantSelectedEvent",function(l){return t.CHM(n),t.oxw(4).onOriginatingUserSelected(l)}),t.ALo(1,"ngrxPush"),t.YNc(2,z,5,3,"ng-template",null,18,t.W1O),t.qZA()}if(2&i){const n=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,n.participants$))}}function L(i,c){if(1&i&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&i){const n=c.$implicit;t.xp6(1),t.hij(" ",n.name," ")}}function x(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"cvc-participant-list",26),t.NdJ("participantSelectedEvent",function(l){return t.CHM(n),t.oxw(4).onOrganizationSelected(l)}),t.ALo(1,"ngrxPush"),t.YNc(2,L,2,1,"ng-template",null,18,t.W1O),t.qZA()}if(2&i){const n=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,n.organizations$))}}function s(i,c){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"cvc-participant-list",17),t.NdJ("participantSelectedEvent",function(l){return t.CHM(n),t.oxw(3).onActionSelected(l)}),t.ALo(2,"ngrxPush"),t.YNc(3,P,2,4,"ng-template",null,18,t.W1O),t.qZA(),t.YNc(5,C,4,3,"cvc-participant-list",19),t.YNc(6,x,4,3,"cvc-participant-list",20),t.BQk()}if(2&i){const n=t.oxw(3);t.xp6(1),t.Q6J("participantList",t.lcZ(2,3,n.actions$)),t.xp6(4),t.Q6J("ngIf",!n.userId),t.xp6(1),t.Q6J("ngIf",!n.organizationId)}}function p(i,c){1&i&&(t.TgZ(0,"nz-space",4),t.YNc(1,f,3,1,"span",15),t.YNc(2,s,7,5,"ng-container",15),t.qZA())}function a(i,c){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-row",2),t.TgZ(2,"nz-col",3),t.TgZ(3,"nz-space",4),t.YNc(4,E,3,4,"nz-card",5),t.qZA(),t.qZA(),t.TgZ(5,"nz-col",6),t.YNc(6,p,3,0,"nz-space",7),t.qZA(),t.qZA(),t.BQk()),2&i){const n=t.oxw();t.xp6(1),t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",n.showFilters?"18":"24"),t.xp6(4),t.Q6J("ngIf",n.showFilters)}}function r(i,c){1&i&&t._UZ(0,"nz-empty",27)}let d=(()=>{class i{constructor(n){this.gql=n,this.tagDisplay="displayAll",this.mode=e.wJ2.Subject,this.showFilters=!0,this.pageSize=15,this.showChildren=!1}ngOnInit(){this.initialQueryVars={subject:this.subscribable,organizationId:this.organizationId,originatingUserId:this.userId,first:this.pageSize,mode:this.mode,showFilters:this.showFilters},this.queryRef=this.gql.watch(this.initialQueryVars),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,g.U)(({data:n})=>n.events.pageInfo)),this.events$=this.results$.pipe((0,g.U)(({data:n})=>n.events.edges.map(o=>o.node))),this.unfilteredCount$=this.results$.pipe((0,g.U)(({data:n})=>n.events.unfilteredCount)),this.showFilters&&(this.participants$=this.results$.pipe((0,g.U)(({data:n})=>n.events.uniqueParticipants)),this.organizations$=this.results$.pipe((0,g.U)(({data:n})=>n.events.participatingOrganizations)),this.actions$=this.results$.pipe((0,g.U)(({data:n})=>{var o,l;return(null===(l=null===(o=n.events)||void 0===o?void 0:o.eventTypes)||void 0===l?void 0:l.map(v=>({id:v})))||[]})))}fetchMore(n){this.queryRef.fetchMore({variables:{first:this.pageSize,after:n}})}onOrganizationSelected(n){this.queryRef.refetch({organizationId:null==n?void 0:n.id,showFilters:this.showFilters})}onActionSelected(n){this.queryRef.refetch({eventType:n?n.id:void 0,showFilters:this.showFilters})}onOriginatingUserSelected(n){this.queryRef.refetch({originatingUserId:null==n?void 0:n.id,showFilters:this.showFilters})}onShowChildrenToggle(){let n;this.subscribable?(n={id:this.subscribable.id,entityType:this.subscribable.entityType,includeChildren:this.showChildren},this.tagDisplay=this.showChildren?"displayAll":"hideSubject"):n=void 0,this.queryRef.refetch(Object.assign(Object.assign({},this.initialQueryVars),{subject:n,showFilters:this.showFilters}))}}return i.\u0275fac=function(n){return new(n||i)(t.Y36(e.BTF))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-event-feed"]],inputs:{subscribable:"subscribable",subscribableName:"subscribableName",organizationId:"organizationId",userId:"userId",tagDisplay:"tagDisplay",mode:"mode",showFilters:"showFilters",pageSize:"pageSize"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],[3,"nzSpan"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle",4,"nzSpaceItem"],["nzSpan","6"],["nzDirection","vertical","style","width: 100%",4,"ngIf"],[3,"nzTitle"],[4,"ngIf"],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"],[4,"nzSpaceItem"],["nzSize","small",3,"ngModel","ngModelChange"],["listTitle","Action",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Curator",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Organization",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Curator",3,"participantList","participantSelectedEvent"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],["listTitle","Organization",3,"participantList","participantSelectedEvent"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(n,o){if(1&n&&(t.YNc(0,a,7,3,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,r,1,0,"ng-template",null,1,t.W1O)),2&n){const l=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,o.unfilteredCount$))("ngIfElse",l)}},styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]}),i})()},5291:(D,T,_)=>{_.d(T,{t:()=>n});var e=_(9808),g=_(2011),t=_(6949),m=_(7484),O=_(647),M=_(4546),u=_(4182),E=_(6462),f=_(1894),P=_(8054),I=_(3884),h=_(6042),z=_(9444),C=_(8144),L=_(1150),x=_(6699),s=_(685),p=_(5e3),a=_(3227),r=_(2643),d=_(2683),i=_(8747),c=_(2937);let n=(()=>{class o{}return o.\u0275fac=function(v){return new(v||o)},o.\u0275mod=p.oAB({type:o}),o.\u0275inj=p.cJS({imports:[[e.ez,u.u5,t.WG,h.sL,m.vh,O.PV,M.U5,P.LV,E.m,f.Jb,C.zf,s.Xo,x.Rt,I.m,z.s,L.N,z.s]]}),o})();p.B6R(g.o,[e.O5,f.SK,f.t3,C.NU,C.$1,m.bd,a.r,h.ix,r.dQ,d.w,E.i,u.JJ,u.On,i.l,x.Dz,s.p9],[t.fM,c.R,e.gd])},8747:(D,T,_)=>{_.d(T,{l:()=>x});var e=_(5e3),g=_(9808),t=_(7484),m=_(3762),O=_(6042),M=_(2643),u=_(2683),E=_(647);const f=["itemTemplate"],P=function(s){return{$implicit:s}};function I(s,p){if(1&s){const a=e.EpF();e.TgZ(0,"nz-list-item",5),e.NdJ("click",function(){e.CHM(a);const d=e.oxw().$implicit;return e.oxw(2).onParticipantSelected(d)}),e.GkF(1,6),e.qZA()}if(2&s){const a=e.oxw().$implicit,r=e.oxw(2);e.ekj("selected-participant",a.id==(null==r.selectedItem?null:r.selectedItem.id)),e.xp6(1),e.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",e.VKq(4,P,a))}}function h(s,p){if(1&s&&(e.ynx(0),e.YNc(1,I,2,6,"nz-list-item",4),e.BQk()),2&s){const a=p.index,r=e.oxw(2);e.xp6(1),e.Q6J("ngIf",a+1<=r.defaultListSize)}}function z(s,p){if(1&s){const a=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(a),e.oxw(2).onExpandClicked()}),e._UZ(1,"i",8),e._uU(2," Expand "),e.qZA()}}function C(s,p){if(1&s){const a=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(a),e.oxw(2).onCollapseClicked()}),e._UZ(1,"i",9),e._uU(2," Collapse "),e.qZA()}}function L(s,p){if(1&s&&(e.ynx(0),e.TgZ(1,"nz-card",1),e.TgZ(2,"nz-list"),e.YNc(3,h,2,1,"ng-container",2),e.qZA(),e.YNc(4,z,3,0,"button",3),e.YNc(5,C,3,0,"button",3),e.qZA(),e.BQk()),2&s){const a=e.oxw();e.xp6(1),e.Q6J("nzTitle",a.listTitle),e.xp6(2),e.Q6J("ngForOf",a.participantList),e.xp6(1),e.Q6J("ngIf",a.participantList.length>a.defaultListSize),e.xp6(1),e.Q6J("ngIf",a.isExpanded)}}let x=(()=>{class s{constructor(){this.defaultListSize=5,this.participantSelectedEvent=new e.vpe,this.isExpanded=!1}ngOnInit(){this.preselectedOption&&(this.selectedItem=this.preselectedOption)}onParticipantSelected(a){var r;this.selectedItem=a.id==(null===(r=this.selectedItem)||void 0===r?void 0:r.id)?void 0:a,this.participantSelectedEvent.emit(this.selectedItem)}onExpandClicked(){this.originalDefaultListSize=this.defaultListSize,this.defaultListSize=this.participantList.length,this.isExpanded=!0}onCollapseClicked(){this.originalDefaultListSize&&(this.defaultListSize=this.originalDefaultListSize,this.isExpanded=!1)}}return s.\u0275fac=function(a){return new(a||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["cvc-participant-list"]],contentQueries:function(a,r,d){if(1&a&&e.Suo(d,f,5),2&a){let i;e.iGM(i=e.CRH())&&(r.itemTemplateRef=i.first)}},inputs:{participantList:"participantList",listTitle:"listTitle",defaultListSize:"defaultListSize",preselectedOption:"preselectedOption"},outputs:{participantSelectedEvent:"participantSelectedEvent"},decls:1,vars:1,consts:[[4,"ngIf"],["nz-type","inner",2,"margin-bottom","1em",3,"nzTitle"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nzSize","small","class","participant-list-item",3,"selected-participant","click",4,"ngIf"],["nzSize","small",1,"participant-list-item",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","vertical-align-bottom"],["nz-icon","","nzType","vertical-align-top"]],template:function(a,r){1&a&&e.YNc(0,L,6,4,"ng-container",0),2&a&&e.Q6J("ngIf",r.participantList&&r.participantList.length>0)},directives:[g.O5,t.bd,m.n_,g.sg,m.AA,g.tP,O.ix,M.dQ,u.w,E.Ls],styles:[".participant-list-item[_ngcontent-%COMP%]:hover{border:1px solid #40a9ff;cursor:pointer}.participant-list-item[_ngcontent-%COMP%]{padding:2px;margin:2px}.selected-participant[_ngcontent-%COMP%]{background:#40a9ff;color:#fff}"]}),s})()}}]);
\ No newline at end of file
diff --git a/server/public/5291.c566178f1d8384f2.js b/server/public/5291.c566178f1d8384f2.js
new file mode 100644
index 000000000..5f2f1ef75
--- /dev/null
+++ b/server/public/5291.c566178f1d8384f2.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5291],{2011:(w,M,_)=>{_.d(M,{o:()=>B});var e=_(712),u=_(8929),p=_(4850),m=_(7625),P=_(1059),I=_(2986),E=_(2340),t=_(5e3);function C(i,c){if(1&i&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",13),t.BQk()),2&i){const n=t.oxw().ngIf,a=t.oxw(3);t.xp6(1),t.Q6J("events",n)("tagDisplay",a.tagDisplay)}}function D(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"div",15),t.TgZ(1,"button",16),t.NdJ("click",function(){t.CHM(n);const l=t.oxw().ngIf;return t.oxw(4).fetchMore(l.endCursor)}),t._uU(2,"Load More "),t.qZA(),t.qZA()}}function L(i,c){if(1&i&&(t.ynx(0),t.YNc(1,D,3,0,"div",14),t.BQk()),2&i){const n=c.ngIf;t.xp6(1),t.Q6J("ngIf",n.hasNextPage)}}function x(i,c){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-row",3),t.TgZ(2,"nz-col",12),t.YNc(3,C,2,2,"ng-container",1),t.YNc(4,L,2,1,"ng-container",10),t.ALo(5,"ngrxPush"),t.qZA(),t.qZA(),t.BQk()),2&i){const n=c.ngIf,a=t.oxw(3),l=t.MAs(5);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",n.length)("ngIfElse",l),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,a.pageInfo$))}}function T(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"nz-badge",19),t.TgZ(1,"button",20),t.NdJ("click",function(){return t.CHM(n),t.oxw(6).refresh()}),t._uU(2," New Event(s) "),t.qZA(),t.qZA()}if(2&i){const n=t.oxw().ngrxLet,a=t.oxw(5);t.Q6J("nzCount",n-a.originalEventCount)}}function f(i,c){if(1&i&&(t.ynx(0),t.YNc(1,T,3,1,"nz-badge",18),t.BQk()),2&i){const n=c.ngrxLet,a=t.oxw(5);t.xp6(1),t.Q6J("ngIf",n>a.originalEventCount)}}function A(i,c){if(1&i&&(t.ynx(0),t.YNc(1,f,2,1,"ng-container",17),t.BQk()),2&i){const n=t.oxw(4);t.xp6(1),t.Q6J("ngrxLet",n.newEventCount$)}}function O(i,c){if(1&i&&t.YNc(0,A,2,1,"ng-container",10),2&i){const n=t.oxw(3);t.Q6J("ngIf",n.pollForNewEvents&&n.originalEventCount)}}function s(i,c){if(1&i&&(t.TgZ(0,"nz-card",9),t.YNc(1,x,6,6,"ng-container",10),t.ALo(2,"ngrxPush"),t.YNc(3,O,1,1,"ng-template",null,11,t.W1O),t.qZA()),2&i){const n=t.MAs(4),a=t.oxw(2);t.Q6J("nzTitle",a.showFilters?"Events":void 0)("nzExtra",n),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,3,a.events$))}}function g(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"span"),t._uU(1," Show Child Events "),t.TgZ(2,"nz-switch",22),t.NdJ("ngModelChange",function(l){return t.CHM(n),t.oxw(3).showChildren=l})("ngModelChange",function(){return t.CHM(n),t.oxw(3).onShowChildrenToggle()}),t.qZA(),t.qZA()}if(2&i){const n=t.oxw(3);t.xp6(2),t.Q6J("ngModel",n.showChildren)}}function o(i,c){1&i&&(t._uU(0),t.ALo(1,"eventVerbiage")),2&i&&t.hij(" ",t.xi3(1,1,c.$implicit.id,"action-filter")," ")}function r(i,c){if(1&i&&t._UZ(0,"nz-avatar",30),2&i){const n=t.oxw().$implicit;t.Q6J("nzSrc",n.profileImagePath)}}function d(i,c){if(1&i&&(t._UZ(0,"nz-avatar",31),t.ALo(1,"uppercase")),2&i){const n=t.oxw().$implicit;t.Q6J("nzText",t.lcZ(1,1,n.displayName.charAt(0)))}}function h(i,c){if(1&i&&(t.YNc(0,r,1,1,"nz-avatar",28),t.YNc(1,d,2,3,"ng-template",null,29,t.W1O),t.TgZ(3,"span"),t._uU(4),t.qZA()),2&i){const n=c.$implicit,a=t.MAs(2);t.Q6J("ngIf",n.profileImagePath)("ngIfElse",a),t.xp6(4),t.Oqu(n.displayName)}}function F(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"cvc-participant-list",27),t.NdJ("participantSelectedEvent",function(l){return t.CHM(n),t.oxw(4).onOriginatingUserSelected(l)}),t.ALo(1,"ngrxPush"),t.YNc(2,h,5,3,"ng-template",null,24,t.W1O),t.qZA()}if(2&i){const n=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,n.participants$))}}function U(i,c){if(1&i&&(t.TgZ(0,"nz-col"),t._uU(1),t.qZA()),2&i){const n=c.$implicit;t.xp6(1),t.hij(" ",n.name," ")}}function S(i,c){if(1&i){const n=t.EpF();t.TgZ(0,"cvc-participant-list",32),t.NdJ("participantSelectedEvent",function(l){return t.CHM(n),t.oxw(4).onOrganizationSelected(l)}),t.ALo(1,"ngrxPush"),t.YNc(2,U,2,1,"ng-template",null,24,t.W1O),t.qZA()}if(2&i){const n=t.oxw(4);t.Q6J("participantList",t.lcZ(1,1,n.organizations$))}}function Z(i,c){if(1&i){const n=t.EpF();t.ynx(0),t.TgZ(1,"cvc-participant-list",23),t.NdJ("participantSelectedEvent",function(l){return t.CHM(n),t.oxw(3).onActionSelected(l)}),t.ALo(2,"ngrxPush"),t.YNc(3,o,2,4,"ng-template",null,24,t.W1O),t.qZA(),t.YNc(5,F,4,3,"cvc-participant-list",25),t.YNc(6,S,4,3,"cvc-participant-list",26),t.BQk()}if(2&i){const n=t.oxw(3);t.xp6(1),t.Q6J("participantList",t.lcZ(2,3,n.actions$)),t.xp6(4),t.Q6J("ngIf",!n.userId),t.xp6(1),t.Q6J("ngIf",!n.organizationId)}}function y(i,c){1&i&&(t.TgZ(0,"nz-space",5),t.YNc(1,g,3,1,"span",21),t.YNc(2,Z,7,5,"ng-container",21),t.qZA())}function v(i,c){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-row",3),t.TgZ(2,"nz-col",4),t.TgZ(3,"nz-space",5),t.YNc(4,s,5,5,"nz-card",6),t.qZA(),t.qZA(),t.TgZ(5,"nz-col",7),t.YNc(6,y,3,0,"nz-space",8),t.qZA(),t.qZA(),t.BQk()),2&i){const n=t.oxw();t.xp6(1),t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",n.showFilters?"18":"24"),t.xp6(4),t.Q6J("ngIf",n.showFilters)}}function R(i,c){1&i&&t._UZ(0,"nz-empty",33)}let B=(()=>{class i{constructor(n,a){this.gql=n,this.eventCountGql=a,this.tagDisplay="displayAll",this.mode=e.wJ2.Subject,this.showFilters=!0,this.pageSize=15,this.pollForNewEvents=!0,this.destroy$=new u.xQ,this.showChildren=!1}ngOnInit(){this.initialQueryVars={subject:this.subscribable,organizationId:this.organizationId,originatingUserId:this.userId,first:this.pageSize,mode:this.mode,showFilters:this.showFilters},this.queryRef=this.gql.watch(this.initialQueryVars),this.pollForNewEvents&&E.N.production&&(this.newEventCount$=this.eventCountGql.watch(this.initialQueryVars,{fetchPolicy:"no-cache",pollInterval:3e4}).valueChanges.pipe((0,p.U)(({data:n})=>n.events.unfilteredCount),(0,m.R)(this.destroy$))),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,p.U)(({data:n})=>n.events.pageInfo)),this.events$=this.results$.pipe((0,p.U)(({data:n})=>n.events.edges.map(a=>a.node))),this.loading$=this.results$.pipe((0,p.U)(({loading:n})=>n),(0,P.O)(!0)),this.unfilteredCount$=this.results$.pipe((0,p.U)(({data:n})=>n.events.unfilteredCount)),this.unfilteredCount$.pipe((0,I.q)(1)).subscribe(n=>this.originalEventCount=n),this.showFilters&&(this.participants$=this.results$.pipe((0,p.U)(({data:n})=>n.events.uniqueParticipants)),this.organizations$=this.results$.pipe((0,p.U)(({data:n})=>n.events.participatingOrganizations)),this.actions$=this.results$.pipe((0,p.U)(({data:n})=>{var a,l;return(null===(l=null===(a=n.events)||void 0===a?void 0:a.eventTypes)||void 0===l?void 0:l.map(z=>({id:z})))||[]})))}fetchMore(n){this.queryRef.fetchMore({variables:{first:this.pageSize,after:n}})}onOrganizationSelected(n){this.queryRef.refetch({organizationId:null==n?void 0:n.id,showFilters:this.showFilters})}onActionSelected(n){this.queryRef.refetch({eventType:n?n.id:void 0,showFilters:this.showFilters})}onOriginatingUserSelected(n){this.queryRef.refetch({originatingUserId:null==n?void 0:n.id,showFilters:this.showFilters})}refresh(){this.queryRef.refetch().then(({data:n})=>{this.originalEventCount=n.events.unfilteredCount})}onShowChildrenToggle(){let n;this.subscribable?(n={id:this.subscribable.id,entityType:this.subscribable.entityType,includeChildren:this.showChildren},this.tagDisplay=this.showChildren?"displayAll":"hideSubject"):n=void 0,this.queryRef.refetch(Object.assign(Object.assign({},this.initialQueryVars),{subject:n,showFilters:this.showFilters}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.unsubscribe()}}return i.\u0275fac=function(n){return new(n||i)(t.Y36(e.BTF),t.Y36(e.YMi))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-event-feed"]],inputs:{subscribable:"subscribable",subscribableName:"subscribableName",organizationId:"organizationId",userId:"userId",tagDisplay:"tagDisplay",mode:"mode",showFilters:"showFilters",pageSize:"pageSize",pollForNewEvents:"pollForNewEvents"},decls:6,vars:7,consts:[["nzTip","Loading",3,"nzSpinning"],[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],[3,"nzSpan"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle","nzExtra",4,"nzSpaceItem"],["nzSpan","6"],["nzDirection","vertical","style","width: 100%",4,"ngIf"],[3,"nzTitle","nzExtra"],[4,"ngIf"],["refreshFeed",""],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-list-load-more","",4,"ngIf"],["nz-list-load-more",""],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"],[4,"ngrxLet"],[3,"nzCount",4,"ngIf"],[3,"nzCount"],["nz-button","","nz-tooltip","Click to Refresh",3,"click"],[4,"nzSpaceItem"],["nzSize","small",3,"ngModel","ngModelChange"],["listTitle","Action",3,"participantList","participantSelectedEvent"],["itemTemplate",""],["listTitle","Curator",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Organization",3,"participantList","participantSelectedEvent",4,"ngIf"],["listTitle","Curator",3,"participantList","participantSelectedEvent"],["nz-comment-avatar","",3,"nzSrc",4,"ngIf","ngIfElse"],["noAvatar",""],["nz-comment-avatar","",3,"nzSrc"],["nz-comment-avatar","",3,"nzText"],["listTitle","Organization",3,"participantList","participantSelectedEvent"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(n,a){if(1&n&&(t.TgZ(0,"nz-spin",0),t.ALo(1,"ngrxPush"),t.YNc(2,v,7,3,"ng-container",1),t.ALo(3,"ngrxPush"),t.YNc(4,R,1,0,"ng-template",null,2,t.W1O),t.qZA()),2&n){const l=t.MAs(5);t.Q6J("nzSpinning",t.lcZ(1,3,a.loading$)),t.xp6(2),t.Q6J("ngIf",t.lcZ(3,5,a.unfilteredCount$))("ngIfElse",l)}},styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]}),i})()},5291:(w,M,_)=>{_.d(M,{t:()=>y});var e=_(9808),u=_(2011),p=_(6949),m=_(7484),P=_(647),I=_(4546),E=_(4182),t=_(6462),C=_(1894),D=_(8054),L=_(3884),x=_(6042),T=_(9444),f=_(8144),A=_(1150),O=_(6699),s=_(685),g=_(7525),o=_(4401),r=_(404),d=_(5e3),h=_(3227),F=_(2643),U=_(2683),S=_(8747),Z=_(2937);let y=(()=>{class v{}return v.\u0275fac=function(B){return new(B||v)},v.\u0275mod=d.oAB({type:v}),v.\u0275inj=d.cJS({imports:[[e.ez,E.u5,p.WG,x.sL,m.vh,P.PV,I.U5,D.LV,t.m,C.Jb,f.zf,s.Xo,O.Rt,g.j,o.mS,r.cg,L.m,T.s,A.N,T.s]]}),v})();d.B6R(u.o,[g.W,e.O5,C.SK,C.t3,f.NU,f.$1,m.bd,h.r,x.ix,F.dQ,U.w,p.eJ,o.x7,r.SY,t.i,E.JJ,E.On,S.l,O.Dz,s.p9],[p.fM,Z.R,e.gd])},8747:(w,M,_)=>{_.d(M,{l:()=>O});var e=_(5e3),u=_(9808),p=_(7484),m=_(3762),P=_(6042),I=_(2643),E=_(2683),t=_(647);const C=["itemTemplate"],D=function(s){return{$implicit:s}};function L(s,g){if(1&s){const o=e.EpF();e.TgZ(0,"nz-list-item",5),e.NdJ("click",function(){e.CHM(o);const d=e.oxw().$implicit;return e.oxw(2).onParticipantSelected(d)}),e.GkF(1,6),e.qZA()}if(2&s){const o=e.oxw().$implicit,r=e.oxw(2);e.ekj("selected-participant",o.id==(null==r.selectedItem?null:r.selectedItem.id)),e.xp6(1),e.Q6J("ngTemplateOutlet",r.itemTemplateRef||null)("ngTemplateOutletContext",e.VKq(4,D,o))}}function x(s,g){if(1&s&&(e.ynx(0),e.YNc(1,L,2,6,"nz-list-item",4),e.BQk()),2&s){const o=g.index,r=e.oxw(2);e.xp6(1),e.Q6J("ngIf",o+1<=r.defaultListSize)}}function T(s,g){if(1&s){const o=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(o),e.oxw(2).onExpandClicked()}),e._UZ(1,"i",8),e._uU(2," Expand "),e.qZA()}}function f(s,g){if(1&s){const o=e.EpF();e.TgZ(0,"button",7),e.NdJ("click",function(){return e.CHM(o),e.oxw(2).onCollapseClicked()}),e._UZ(1,"i",9),e._uU(2," Collapse "),e.qZA()}}function A(s,g){if(1&s&&(e.ynx(0),e.TgZ(1,"nz-card",1),e.TgZ(2,"nz-list"),e.YNc(3,x,2,1,"ng-container",2),e.qZA(),e.YNc(4,T,3,0,"button",3),e.YNc(5,f,3,0,"button",3),e.qZA(),e.BQk()),2&s){const o=e.oxw();e.xp6(1),e.Q6J("nzTitle",o.listTitle),e.xp6(2),e.Q6J("ngForOf",o.participantList),e.xp6(1),e.Q6J("ngIf",o.participantList.length>o.defaultListSize),e.xp6(1),e.Q6J("ngIf",o.isExpanded)}}let O=(()=>{class s{constructor(){this.defaultListSize=5,this.participantSelectedEvent=new e.vpe,this.isExpanded=!1}ngOnInit(){this.preselectedOption&&(this.selectedItem=this.preselectedOption)}onParticipantSelected(o){var r;this.selectedItem=o.id==(null===(r=this.selectedItem)||void 0===r?void 0:r.id)?void 0:o,this.participantSelectedEvent.emit(this.selectedItem)}onExpandClicked(){this.originalDefaultListSize=this.defaultListSize,this.defaultListSize=this.participantList.length,this.isExpanded=!0}onCollapseClicked(){this.originalDefaultListSize&&(this.defaultListSize=this.originalDefaultListSize,this.isExpanded=!1)}}return s.\u0275fac=function(o){return new(o||s)},s.\u0275cmp=e.Xpm({type:s,selectors:[["cvc-participant-list"]],contentQueries:function(o,r,d){if(1&o&&e.Suo(d,C,5),2&o){let h;e.iGM(h=e.CRH())&&(r.itemTemplateRef=h.first)}},inputs:{participantList:"participantList",listTitle:"listTitle",defaultListSize:"defaultListSize",preselectedOption:"preselectedOption"},outputs:{participantSelectedEvent:"participantSelectedEvent"},decls:1,vars:1,consts:[[4,"ngIf"],["nz-type","inner",2,"margin-bottom","1em",3,"nzTitle"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nzSize","small","class","participant-list-item",3,"selected-participant","click",4,"ngIf"],["nzSize","small",1,"participant-list-item",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","vertical-align-bottom"],["nz-icon","","nzType","vertical-align-top"]],template:function(o,r){1&o&&e.YNc(0,A,6,4,"ng-container",0),2&o&&e.Q6J("ngIf",r.participantList&&r.participantList.length>0)},directives:[u.O5,p.bd,m.n_,u.sg,m.AA,u.tP,P.ix,I.dQ,E.w,t.Ls],styles:[".participant-list-item[_ngcontent-%COMP%]:hover{border:1px solid #40a9ff;cursor:pointer}.participant-list-item[_ngcontent-%COMP%]{padding:2px;margin:2px}.selected-participant[_ngcontent-%COMP%]{background:#40a9ff;color:#fff}"]}),s})()}}]);
\ No newline at end of file
diff --git a/server/public/535.41583e85177a9773.js b/server/public/535.41583e85177a9773.js
deleted file mode 100644
index d6205fe01..000000000
--- a/server/public/535.41583e85177a9773.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[535],{8369:(F,O,o)=>{o.d(O,{W:()=>v});var i=o(9808),e=o(325),t=o(8481),A=o(3610),_=o(647),I=o(7484),w=o(3098),Z=o(3309),M=o(4867),E=o(6286),k=o(8018),U=o(6949),y=o(9444),z=o(1894),P=o(8144),x=o(3580),J=o(8625),Q=o(7026),Y=o(592),V=o(5e3);let L=(()=>{class g{}return g.\u0275fac=function(S){return new(S||g)},g.\u0275mod=V.oAB({type:g}),g.\u0275inj=V.cJS({imports:[[i.ez,e.Bz,U.WG,I.vh,w.q6,_.PV,z.Jb,P.zf,t.X,Z.U,x.Q,M.Q,E.y,k.e,y.s,Y.x,J.$L.forChild({formatter:{useClass:Q.x,provide:J.KP}})]]}),g})(),v=(()=>{class g{}return g.\u0275fac=function(S){return new(S||g)},g.\u0275mod=V.oAB({type:g}),g.\u0275inj=V.cJS({imports:[[i.ez,e.Bz,t.X,A.$6,_.PV,L,y.s]]}),g})()},209:(F,O,o)=>{o.d(O,{i:()=>v});var i=o(9808),e=o(325),t=o(8481),A=o(3610),_=o(647),I=o(7484),w=o(3309),Z=o(4867),M=o(1894),E=o(3098),k=o(8018),U=o(3580),y=o(6286),z=o(6949),P=o(8144),x=o(9444),J=o(9779),Q=o(592),Y=o(3618),V=o(5e3);let L=(()=>{class g{}return g.\u0275fac=function(S){return new(S||g)},g.\u0275mod=V.oAB({type:g}),g.\u0275inj=V.cJS({imports:[[i.ez,e.Bz,z.WG,_.PV,I.vh,M.Jb,E.q6,t.X,P.zf,Y.ZJ,x.s,k.e,U.Q,w.U,Z.Q,y.y,J.s,Q.x]]}),g})(),v=(()=>{class g{}return g.\u0275fac=function(S){return new(S||g)},g.\u0275mod=V.oAB({type:g}),g.\u0275inj=V.cJS({imports:[[i.ez,e.Bz,t.X,A.$6,_.PV,L,x.s]]}),g})()},5749:(F,O,o)=>{o.d(O,{m:()=>st});var i=o(5e3),e=o(9808),t=o(325),A=o(8481),_=o(3610),I=o(4850),w=o(712),Z=o(7484),M=o(7881),E=o(1894),k=o(3098),U=o(6550),y=o(6949);const z=function(p,C){return{displayName:p,profileImagePath:C}};function P(p,C){if(1&p&&(i._UZ(0,"cvc-user-avatar",12),i.TgZ(1,"span",13),i._uU(2),i.qZA()),2&p){const m=i.oxw().ngIf;i.Q6J("user",i.WLB(2,z,m.name,m.profileImagePath)),i.xp6(2),i.Oqu(m.name)}}function x(p,C){if(1&p&&(i.TgZ(0,"span"),i._uU(1),i.qZA()),2&p){const m=C.ngIf;i.xp6(1),i.Oqu(m)}}function J(p,C){if(1&p&&(i.ynx(0),i.TgZ(1,"cvc-link-tag",14),i._uU(2),i.qZA(),i.BQk()),2&p){const m=i.oxw().ngIf;i.xp6(1),i.Q6J("href",m.url),i.xp6(1),i.hij(" ",m.name," ")}}function Q(p,C){if(1&p&&(i.ynx(0),i.TgZ(1,"nz-card",4),i.YNc(2,P,3,5,"ng-template",null,5,i.W1O),i.TgZ(4,"nz-row"),i.TgZ(5,"nz-col",6),i.TgZ(6,"div",7),i.TgZ(7,"p",8),i.YNc(8,x,2,1,"span",9),i.qZA(),i.qZA(),i.qZA(),i.qZA(),i.TgZ(9,"nz-descriptions",10),i.TgZ(10,"nz-descriptions-item",11),i.YNc(11,J,3,2,"ng-container",9),i.qZA(),i.qZA(),i.qZA(),i.BQk()),2&p){const m=C.ngIf,D=i.MAs(3);i.oxw();const $=i.MAs(4),j=i.MAs(6);i.xp6(1),i.Q6J("nzTitle",D),i.xp6(7),i.Q6J("ngIf",m.description)("ngIfElse",$),i.xp6(1),i.Q6J("nzColumn",2),i.xp6(2),i.Q6J("ngIf",m.url)("ngIfElse",j)}}function Y(p,C){1&p&&i._uU(0," Organization has not provided a description.\n")}function V(p,C){1&p&&i._uU(0," --\n")}let L=(()=>{class p{constructor(m){this.gql=m}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,I.U)(({data:m})=>m.organization))}}return p.\u0275fac=function(m){return new(m||p)(i.Y36(w.X5f))},p.\u0275cmp=i.Xpm({type:p,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(m,D){1&m&&(i.TgZ(0,"div",0),i.YNc(1,Q,12,6,"ng-container",1),i.ALo(2,"ngrxPush"),i.qZA(),i.YNc(3,Y,1,0,"ng-template",null,2,i.W1O),i.YNc(5,V,1,0,"ng-template",null,3,i.W1O)),2&m&&(i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,D.org$)))},directives:[e.O5,Z.bd,M.L,E.SK,E.t3,k.R7,k.uj,U.l],pipes:[y.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),p})();var v=o(647);function g(p,C){}function h(p,C){if(1&p&&(i.ynx(0),i.TgZ(1,"a",5),i.YNc(2,g,0,0,"ng-template",6),i.qZA(),i.BQk()),2&p){const m=i.oxw(),D=i.MAs(2);i.xp6(1),i.MGl("routerLink","/organizations/",m.org.id,""),i.xp6(1),i.Q6J("ngTemplateOutlet",D)}}function S(p,C){}function W(p,C){if(1&p&&i._UZ(0,"cvc-organization-popover",10),2&p){const m=i.oxw(3);i.Q6J("orgId",m.org.id)}}function X(p,C){if(1&p&&i.YNc(0,W,1,1,"cvc-organization-popover",9),2&p){const m=i.oxw(2);i.Q6J("ngIf",m.enablePopover)}}function K(p,C){if(1&p&&(i.TgZ(0,"nz-tag",7),i.YNc(1,S,0,0,"ng-template",6),i.qZA(),i.YNc(2,X,1,1,"ng-template",null,8,i.W1O)),2&p){const m=i.MAs(3);i.oxw();const D=i.MAs(8);i.Q6J("nzPopoverContent",m),i.xp6(1),i.Q6J("ngTemplateOutlet",D)}}function tt(p,C){}function et(p,C){if(1&p&&(i.TgZ(0,"nz-tag"),i.YNc(1,tt,0,0,"ng-template",6),i.qZA()),2&p){i.oxw();const m=i.MAs(8);i.xp6(1),i.Q6J("ngTemplateOutlet",m)}}function nt(p,C){}function ot(p,C){if(1&p&&i.YNc(0,nt,0,0,"ng-template",6),2&p){i.oxw();const m=i.MAs(2);i.Q6J("ngTemplateOutlet",m)}}function it(p,C){if(1&p&&(i._UZ(0,"i",11),i._uU(1)),2&p){const m=i.oxw();i.xp6(1),i.hij(" ",m.org.name,"\n")}}let st=(()=>{class p{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return p.\u0275fac=function(m){return new(m||p)},p.\u0275cmp=i.Xpm({type:p,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(m,D){if(1&m&&(i.YNc(0,h,3,2,"ng-container",0),i.YNc(1,K,4,2,"ng-template",null,1,i.W1O),i.YNc(3,et,2,1,"ng-template",null,2,i.W1O),i.YNc(5,ot,1,1,"ng-template",null,3,i.W1O),i.YNc(7,it,2,1,"ng-template",null,4,i.W1O)),2&m){const $=i.MAs(6);i.Q6J("ngIf",D.linked)("ngIfElse",$)}},directives:[e.O5,t.yS,e.tP,A.j,_.lU,L,v.Ls],styles:["[_nghost-%COMP%]{display:inline-block}"]}),p})()},6286:(F,O,o)=>{o.d(O,{y:()=>U});var i=o(9808),e=o(325),t=o(8481),A=o(3610),_=o(647),I=o(6949),w=o(7484),Z=o(3630),M=o(3098),E=o(5e3);let k=(()=>{class y{}return y.\u0275fac=function(P){return new(P||y)},y.\u0275mod=E.oAB({type:y}),y.\u0275inj=E.cJS({imports:[[i.ez,I.WG,_.PV,w.vh,Z.X,M.q6]]}),y})(),U=(()=>{class y{}return y.\u0275fac=function(P){return new(P||y)},y.\u0275mod=E.oAB({type:y}),y.\u0275inj=E.cJS({imports:[[i.ez,e.Bz,t.X,A.$6,_.PV,k]]}),y})()},592:(F,O,o)=>{o.d(O,{x:()=>_});var i=o(9808),e=o(8481),t=o(647),A=o(5e3);let _=(()=>{class I{}return I.\u0275fac=function(Z){return new(Z||I)},I.\u0275mod=A.oAB({type:I}),I.\u0275inj=A.cJS({imports:[[i.ez,e.X,t.PV]]}),I})()},7677:(F,O,o)=>{o.d(O,{G:()=>y});var i=o(9808),e=o(325),t=o(3610),A=o(8481),_=o(647),I=o(9779),w=o(4867),Z=o(7484),M=o(3098),E=o(6949),k=o(5e3);let U=(()=>{class z{}return z.\u0275fac=function(x){return new(x||z)},z.\u0275mod=k.oAB({type:z}),z.\u0275inj=k.cJS({imports:[[i.ez,E.WG,Z.vh,M.q6,I.s,w.Q]]}),z})(),y=(()=>{class z{}return z.\u0275fac=function(x){return new(x||z)},z.\u0275mod=k.oAB({type:z}),z.\u0275inj=k.cJS({imports:[[i.ez,e.Bz,t.$6,A.X,_.PV,U]]}),z})()},8664:(F,O,o)=>{o.d(O,{I:()=>j});var i=o(6654),e=o(5e3),t=o(9808),A=o(325),_=o(8481),I=o(3610),w=o(4850),Z=o(712),M=o(7484),E=o(647),k=o(3193),U=o(3098),y=o(6550),z=o(1894),P=o(8144),x=o(6949);function J(l,f){if(1&l&&(e._UZ(0,"i",13),e._uU(1)),2&l){const d=e.oxw().ngIf;e.xp6(1),e.hij(" ",d.name," ")}}function Q(l,f){if(1&l&&e._UZ(0,"cvc-gene-tag",14),2&l){const d=e.oxw().ngIf;e.Q6J("enablePopover",!1)("gene",d.gene)}}function Y(l,f){1&l&&(e.TgZ(0,"span"),e._uU(1,",\xa0"),e.qZA())}function V(l,f){if(1&l&&(e.TgZ(0,"span"),e._uU(1),e.YNc(2,Y,2,0,"span",1),e.qZA()),2&l){const d=f.$implicit,N=f.last;e.xp6(1),e.hij(" ",d,""),e.xp6(1),e.Q6J("ngIf",!N)}}function L(l,f){if(1&l&&(e.TgZ(0,"nz-descriptions-item",15),e.YNc(1,V,3,2,"span",16),e.qZA()),2&l){const d=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",d.variantAliases)}}function v(l,f){if(1&l&&(e.TgZ(0,"nz-descriptions-item",17),e.TgZ(1,"cvc-link-tag",18),e._uU(2),e.qZA(),e.qZA()),2&l){const d=e.oxw().ngIf;e.xp6(1),e.MGl("href","https://reg.genome.network/allele/",d.alleleRegistryId,".html"),e.xp6(1),e.hij(" ",d.alleleRegistryId," ")}}function g(l,f){if(1&l&&(e.TgZ(0,"a",19),e.TgZ(1,"nz-tag",20),e._UZ(2,"i",21),e._uU(3),e.qZA(),e.qZA()),2&l){const d=e.oxw().ngIf;e.MGl("routerLink","/variants/",d.id,"/flags"),e.xp6(3),e.hij(" Flags (",d.flags.totalCount,") ")}}function h(l,f){if(1&l&&(e.TgZ(0,"a",19),e.TgZ(1,"nz-tag",22),e._UZ(2,"i",23),e._uU(3),e.qZA(),e.qZA()),2&l){const d=e.oxw().ngIf;e.MGl("routerLink","/variants/",d.id,"/revisions"),e.xp6(3),e.hij(" Revisions (",d.revisions.totalCount,") ")}}function S(l,f){if(1&l&&(e.TgZ(0,"a",19),e.TgZ(1,"nz-tag",24),e._UZ(2,"i",25),e._uU(3),e.qZA(),e.qZA()),2&l){const d=e.oxw().ngIf;e.MGl("routerLink","/variants/",d.id,"/comments"),e.xp6(3),e.hij(" Comments (",d.comments.totalCount,") ")}}function W(l,f){if(1&l&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,J,2,1,"ng-template",null,3,e.W1O),e.YNc(4,Q,1,2,"ng-template",null,4,e.W1O),e.TgZ(6,"nz-descriptions",5),e.YNc(7,L,2,1,"nz-descriptions-item",6),e.YNc(8,v,3,2,"nz-descriptions-item",7),e.TgZ(9,"nz-descriptions-item",8),e._uU(10),e.qZA(),e.qZA(),e.TgZ(11,"nz-row",9),e.TgZ(12,"nz-col",10),e.TgZ(13,"nz-space",11),e.YNc(14,g,4,2,"a",12),e.YNc(15,h,4,2,"a",12),e.YNc(16,S,4,2,"a",12),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.BQk()),2&l){const d=f.ngIf,N=e.MAs(3),B=e.MAs(5);e.xp6(1),e.Q6J("nzTitle",N)("nzExtra",B),e.xp6(5),e.Q6J("nzColumn",2),e.xp6(1),e.Q6J("ngIf",d.variantAliases.length>0),e.xp6(1),e.Q6J("ngIf",d.alleleRegistryId),e.xp6(2),e.hij(" ",d.evidenceItems.totalCount," ")}}let X=(()=>{class l{constructor(d){this.gql=d}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,w.U)(({data:d})=>d.variant))}}return l.\u0275fac=function(d){return new(d||l)(e.Y36(Z.ZYZ))},l.\u0275cmp=e.Xpm({type:l,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(d,N){1&d&&(e.TgZ(0,"div",0),e.YNc(1,W,17,6,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&d&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,N.variant$)))},directives:[t.O5,M.bd,E.Ls,k.H,U.R7,U.uj,t.sg,y.l,z.SK,z.t3,P.NU,P.$1,A.yS,_.j],pipes:[x.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),l})();function K(l,f){}function tt(l,f){if(1&l&&(e.ynx(0),e.TgZ(1,"a",5),e.YNc(2,K,0,0,"ng-template",6),e.qZA(),e.BQk()),2&l){const d=e.oxw(),N=e.MAs(2);e.xp6(1),e.Q6J("routerLink",d.variant.link),e.xp6(1),e.Q6J("ngTemplateOutlet",N)}}function et(l,f){}function nt(l,f){if(1&l){const d=e.EpF();e.TgZ(0,"nz-tag",9),e.NdJ("nzOnClose",function(B){return e.CHM(d),e.oxw(2).itemClosed(B)}),e.YNc(1,et,0,0,"ng-template",6),e.qZA()}if(2&l){e.oxw();const d=e.MAs(2),N=e.oxw(),B=e.MAs(8);e.Q6J("nzPopoverMouseEnterDelay",N.onCloseClicked?0:.5)("nzPopoverContent",d)("nzMode",N.onCloseClicked?"closeable":"default"),e.xp6(1),e.Q6J("ngTemplateOutlet",B)}}function ot(l,f){if(1&l&&e._UZ(0,"cvc-variant-popover",11),2&l){const d=e.oxw(3);e.Q6J("variantId",d.variant.id)}}function it(l,f){if(1&l&&e.YNc(0,ot,1,1,"cvc-variant-popover",10),2&l){const d=e.oxw(2);e.Q6J("ngIf",d.enablePopover)}}function st(l,f){if(1&l&&(e.YNc(0,nt,2,4,"nz-tag",7),e.YNc(1,it,1,1,"ng-template",null,8,e.W1O)),2&l){const d=e.oxw(),N=e.MAs(4);e.Q6J("ngIf",d.enablePopover)("ngIfElse",N)}}function p(l,f){}function C(l,f){if(1&l){const d=e.EpF();e.TgZ(0,"nz-tag",12),e.NdJ("nzOnClose",function(B){return e.CHM(d),e.oxw().itemClosed(B)}),e.YNc(1,p,0,0,"ng-template",6),e.qZA()}if(2&l){const d=e.oxw(),N=e.MAs(8);e.Q6J("nzMode",d.onCloseClicked?"closeable":"default"),e.xp6(1),e.Q6J("ngTemplateOutlet",N)}}function m(l,f){}function D(l,f){if(1&l&&e.YNc(0,m,0,0,"ng-template",6),2&l){e.oxw();const d=e.MAs(2);e.Q6J("ngTemplateOutlet",d)}}function $(l,f){if(1&l&&(e._UZ(0,"i",13),e._uU(1)),2&l){const d=e.oxw();e.xp6(1),e.hij(" ",d.variant.name,"\n")}}let j=(()=>{class l extends i.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return l.\u0275fac=function(d){return new(d||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[e.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(d,N){if(1&d&&(e.YNc(0,tt,3,2,"ng-container",0),e.YNc(1,st,3,2,"ng-template",null,1,e.W1O),e.YNc(3,C,2,2,"ng-template",null,2,e.W1O),e.YNc(5,D,1,1,"ng-template",null,3,e.W1O),e.YNc(7,$,2,1,"ng-template",null,4,e.W1O)),2&d){const B=e.MAs(6);e.Q6J("ngIf",N.linked)("ngIfElse",B)}},directives:[t.O5,A.yS,t.tP,_.j,I.lU,X,E.Ls],styles:[""]}),l})()},4867:(F,O,o)=>{o.d(O,{Q:()=>P});var i=o(9808),e=o(325),t=o(8481),A=o(647),_=o(3610),I=o(6949),w=o(7484),Z=o(1894),M=o(3098),E=o(8144),k=o(3309),U=o(3630),y=o(5e3);let z=(()=>{class x{}return x.\u0275fac=function(Q){return new(Q||x)},x.\u0275mod=y.oAB({type:x}),x.\u0275inj=y.cJS({imports:[[i.ez,e.Bz,I.WG,w.vh,Z.Jb,M.q6,t.X,A.PV,E.zf,k.U,U.X]]}),x})(),P=(()=>{class x{}return x.\u0275fac=function(Q){return new(Q||x)},x.\u0275mod=y.oAB({type:x}),x.\u0275inj=y.cJS({imports:[[i.ez,e.Bz,t.X,_.$6,A.PV,z]]}),x})()},4340:(F,O,o)=>{o.r(O),o.d(O,{WelcomeModule:()=>Xt});var i=o(325),e=o(712),t=o(5e3),A=o(8144),_=o(1894),I=o(226),w=o(925),Z=o(9808),M=o(655),E=o(1159),k=o(8929),U=o(3753),y=o(7625),z=o(9439),P=o(1721),x=o(4090);const J=["slickList"],Q=["slickTrack"];function Y(s,a){}const V=function(s){return{$implicit:s}};function L(s,a){if(1&s){const n=t.EpF();t.TgZ(0,"li",9),t.NdJ("click",function(){const u=t.CHM(n).index;return t.oxw(2).onLiClick(u)}),t.YNc(1,Y,0,0,"ng-template",10),t.qZA()}if(2&s){const n=a.index,r=t.oxw(2),c=t.MAs(8);t.ekj("slick-active",n===r.activeIndex),t.xp6(1),t.Q6J("ngTemplateOutlet",r.nzDotRender||c)("ngTemplateOutletContext",t.VKq(4,V,n))}}function v(s,a){if(1&s&&(t.TgZ(0,"ul",7),t.YNc(1,L,2,6,"li",8),t.qZA()),2&s){const n=t.oxw();t.ekj("slick-dots-top","top"===n.nzDotPosition)("slick-dots-bottom","bottom"===n.nzDotPosition)("slick-dots-left","left"===n.nzDotPosition)("slick-dots-right","right"===n.nzDotPosition),t.xp6(1),t.Q6J("ngForOf",n.carouselContents)}}function g(s,a){if(1&s&&(t.TgZ(0,"button"),t._uU(1),t.qZA()),2&s){const n=a.$implicit;t.xp6(1),t.Oqu(n+1)}}const h=["*"];let S=(()=>{class s{constructor(n,r){this.renderer=r,this._active=!1,this.el=n.nativeElement,this.renderer.addClass(n.nativeElement,"slick-slide")}set isActive(n){this._active=n,this.isActive?this.renderer.addClass(this.el,"slick-active"):this.renderer.removeClass(this.el,"slick-active")}get isActive(){return this._active}}return s.\u0275fac=function(n){return new(n||s)(t.Y36(t.SBq),t.Y36(t.Qsj))},s.\u0275dir=t.lG2({type:s,selectors:[["","nz-carousel-content",""]],exportAs:["nzCarouselContent"]}),s})();class W{constructor(a,n,r,c,u){this.cdr=n,this.renderer=r,this.platform=c,this.options=u,this.carouselComponent=a}get maxIndex(){return this.length-1}get firstEl(){return this.contents[0].el}get lastEl(){return this.contents[this.maxIndex].el}withCarouselContents(a){const n=this.carouselComponent;if(this.slickListEl=n.slickListEl,this.slickTrackEl=n.slickTrackEl,this.contents=(null==a?void 0:a.toArray())||[],this.length=this.contents.length,this.platform.isBrowser){const r=n.el.getBoundingClientRect();this.unitWidth=r.width,this.unitHeight=r.height}else null==a||a.forEach((r,c)=>{0===c?this.renderer.setStyle(r.el,"width","100%"):this.renderer.setStyle(r.el,"display","none")})}dragging(a){}dispose(){}getFromToInBoundary(a,n){const r=this.maxIndex+1;return{from:(a+r)%r,to:(n+r)%r}}}class X extends W{withCarouselContents(a){super.withCarouselContents(a),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((n,r)=>{this.renderer.setStyle(n.el,"opacity",this.carouselComponent.activeIndex===r?"1":"0"),this.renderer.setStyle(n.el,"position","relative"),this.renderer.setStyle(n.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(n.el,"left",-this.unitWidth*r+"px"),this.renderer.setStyle(n.el,"transition",["opacity 500ms ease 0s","visibility 500ms ease 0s"])}))}switch(a,n){const{to:r}=this.getFromToInBoundary(a,n),c=new k.xQ;return this.contents.forEach((u,R)=>{this.renderer.setStyle(u.el,"opacity",r===R?"1":"0")}),setTimeout(()=>{c.next(),c.complete()},this.carouselComponent.nzTransitionSpeed),c}dispose(){this.contents.forEach(a=>{this.renderer.setStyle(a.el,"transition",null),this.renderer.setStyle(a.el,"opacity",null),this.renderer.setStyle(a.el,"width",null),this.renderer.setStyle(a.el,"left",null)}),super.dispose()}}class K extends W{constructor(a,n,r,c,u){super(a,n,r,c,u),this.isDragging=!1,this.isTransitioning=!1}get vertical(){return this.carouselComponent.vertical}dispose(){super.dispose(),this.renderer.setStyle(this.slickTrackEl,"transform",null)}withCarouselContents(a){super.withCarouselContents(a);const r=this.carouselComponent.activeIndex;this.platform.isBrowser&&this.contents.length&&(this.renderer.setStyle(this.slickListEl,"height",`${this.unitHeight}px`),this.vertical?(this.renderer.setStyle(this.slickTrackEl,"width",`${this.unitWidth}px`),this.renderer.setStyle(this.slickTrackEl,"height",this.length*this.unitHeight+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-r*this.unitHeight}px, 0)`)):(this.renderer.setStyle(this.slickTrackEl,"height",`${this.unitHeight}px`),this.renderer.setStyle(this.slickTrackEl,"width",this.length*this.unitWidth+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-r*this.unitWidth}px, 0, 0)`)),this.contents.forEach(c=>{this.renderer.setStyle(c.el,"position","relative"),this.renderer.setStyle(c.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(c.el,"height",`${this.unitHeight}px`)}))}switch(a,n){const{to:r}=this.getFromToInBoundary(a,n),c=new k.xQ;return this.renderer.setStyle(this.slickTrackEl,"transition",`transform ${this.carouselComponent.nzTransitionSpeed}ms ease`),this.vertical?this.verticalTransform(a,n):this.horizontalTransform(a,n),this.isTransitioning=!0,this.isDragging=!1,setTimeout(()=>{this.renderer.setStyle(this.slickTrackEl,"transition",null),this.contents.forEach(u=>{this.renderer.setStyle(u.el,this.vertical?"top":"left",null)}),this.renderer.setStyle(this.slickTrackEl,"transform",this.vertical?`translate3d(0, ${-r*this.unitHeight}px, 0)`:`translate3d(${-r*this.unitWidth}px, 0, 0)`),this.isTransitioning=!1,c.next(),c.complete()},this.carouselComponent.nzTransitionSpeed),c.asObservable()}dragging(a){if(this.isTransitioning)return;const n=this.carouselComponent.activeIndex;this.carouselComponent.vertical?(!this.isDragging&&this.length>2&&(n===this.maxIndex?this.prepareVerticalContext(!0):0===n&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-n*this.unitHeight+a.x}px, 0)`)):(!this.isDragging&&this.length>2&&(n===this.maxIndex?this.prepareHorizontalContext(!0):0===n&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-n*this.unitWidth+a.x}px, 0, 0)`)),this.isDragging=!0}verticalTransform(a,n){const{from:r,to:c}=this.getFromToInBoundary(a,n);this.length>2&&n!==c?(this.prepareVerticalContext(c2&&n!==c?(this.prepareHorizontalContext(c{class s{constructor(n,r,c,u,R,G,b,ct,pt,gt){this.nzConfigService=r,this.ngZone=c,this.renderer=u,this.cdr=R,this.platform=G,this.resizeService=b,this.nzDragService=ct,this.directionality=pt,this.customStrategies=gt,this._nzModuleName="carousel",this.nzEffect="scrollx",this.nzEnableSwipe=!0,this.nzDots=!0,this.nzAutoPlay=!1,this.nzAutoPlaySpeed=3e3,this.nzTransitionSpeed=500,this.nzStrategyOptions=void 0,this._dotPosition="bottom",this.nzBeforeChange=new t.vpe,this.nzAfterChange=new t.vpe,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this.dir="ltr",this.destroy$=new k.xQ,this.gestureRect=null,this.pointerDelta=null,this.isTransiting=!1,this.isDragging=!1,this.onLiClick=q=>{this.goTo("rtl"===this.dir?this.carouselContents.length-1-q:q)},this.pointerDown=q=>{!this.isDragging&&!this.isTransiting&&this.nzEnableSwipe&&(this.clearScheduledTransition(),this.gestureRect=this.slickListEl.getBoundingClientRect(),this.nzDragService.requestDraggingSequence(q).subscribe(T=>{var dt;this.pointerDelta=T,this.isDragging=!0,null===(dt=this.strategy)||void 0===dt||dt.dragging(this.pointerDelta)},()=>{},()=>{if(this.nzEnableSwipe&&this.isDragging){const T=this.pointerDelta?this.pointerDelta.x:0;Math.abs(T)>this.gestureRect.width/3?this.goTo(T>0?this.activeIndex-1:this.activeIndex+1):this.goTo(this.activeIndex),this.gestureRect=null,this.pointerDelta=null}this.isDragging=!1}))},this.nzDotPosition="bottom",this.renderer.addClass(n.nativeElement,"ant-carousel"),this.el=n.nativeElement}set nzDotPosition(n){this._dotPosition=n,this.vertical="left"===n||"right"===n}get nzDotPosition(){return this._dotPosition}ngOnInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.dir=this.directionality.value,this.directionality.change.pipe((0,y.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.markContentActive(this.activeIndex),this.cdr.detectChanges()}),this.ngZone.runOutsideAngular(()=>{(0,U.R)(this.slickListEl,"keydown").pipe((0,y.R)(this.destroy$)).subscribe(n=>{const{keyCode:r}=n;r!==E.oh&&r!==E.SV||(n.preventDefault(),this.ngZone.run(()=>{r===E.oh?this.pre():this.next(),this.cdr.markForCheck()}))})})}ngAfterContentInit(){this.markContentActive(0)}ngAfterViewInit(){this.carouselContents.changes.subscribe(()=>{this.markContentActive(0),this.layout()}),this.resizeService.subscribe().pipe((0,y.R)(this.destroy$)).subscribe(()=>{this.layout()}),this.switchStrategy(),this.markContentActive(0),this.layout(),Promise.resolve().then(()=>{this.layout()})}ngOnChanges(n){const{nzEffect:r,nzDotPosition:c}=n;r&&!r.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),c&&!c.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()}ngOnDestroy(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()}next(){this.goTo(this.activeIndex+1)}pre(){this.goTo(this.activeIndex-1)}goTo(n){if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting){const r=this.carouselContents.length,c=this.activeIndex,u=(n+r)%r;this.isTransiting=!0,this.nzBeforeChange.emit({from:c,to:u}),this.strategy.switch(this.activeIndex,n).subscribe(()=>{this.scheduleNextTransition(),this.nzAfterChange.emit(n),this.isTransiting=!1}),this.markContentActive(u),this.cdr.markForCheck()}}switchStrategy(){this.strategy&&this.strategy.dispose();const n=this.customStrategies?this.customStrategies.find(r=>r.name===this.nzEffect):null;this.strategy=n?new n.strategy(this,this.cdr,this.renderer,this.platform):"scrollx"===this.nzEffect?new K(this,this.cdr,this.renderer,this.platform):new X(this,this.cdr,this.renderer,this.platform)}scheduleNextTransition(){this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this.goTo(this.activeIndex+1)},this.nzAutoPlaySpeed))}clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}markContentActive(n){this.activeIndex=n,this.carouselContents&&this.carouselContents.forEach((r,c)=>{r.isActive="rtl"===this.dir?n===this.carouselContents.length-1-c:n===c}),this.cdr.markForCheck()}layout(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}}return s.\u0275fac=function(n){return new(n||s)(t.Y36(t.SBq),t.Y36(z.jY),t.Y36(t.R0b),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(w.t4),t.Y36(x.rI),t.Y36(x.Ml),t.Y36(I.Is,8),t.Y36(tt,8))},s.\u0275cmp=t.Xpm({type:s,selectors:[["nz-carousel"]],contentQueries:function(n,r,c){if(1&n&&t.Suo(c,S,4),2&n){let u;t.iGM(u=t.CRH())&&(r.carouselContents=u)}},viewQuery:function(n,r){if(1&n&&(t.Gf(J,7),t.Gf(Q,7)),2&n){let c;t.iGM(c=t.CRH())&&(r.slickList=c.first),t.iGM(c=t.CRH())&&(r.slickTrack=c.first)}},hostVars:4,hostBindings:function(n,r){2&n&&t.ekj("ant-carousel-vertical",r.vertical)("ant-carousel-rtl","rtl"===r.dir)},inputs:{nzDotRender:"nzDotRender",nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzStrategyOptions:"nzStrategyOptions",nzDotPosition:"nzDotPosition"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[t.TTD],ngContentSelectors:h,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(n,r){1&n&&(t.F$t(),t.TgZ(0,"div",0),t.TgZ(1,"div",1,2),t.NdJ("mousedown",function(u){return r.pointerDown(u)})("touchstart",function(u){return r.pointerDown(u)}),t.TgZ(3,"div",3,4),t.Hsn(5),t.qZA(),t.qZA(),t.YNc(6,v,2,9,"ul",5),t.qZA(),t.YNc(7,g,2,1,"ng-template",null,6,t.W1O)),2&n&&(t.ekj("slick-vertical","left"===r.nzDotPosition||"right"===r.nzDotPosition),t.xp6(6),t.Q6J("ngIf",r.nzDots))},directives:[Z.O5,Z.sg,Z.tP],encapsulation:2,changeDetection:0}),(0,M.gn)([(0,z.oS)()],s.prototype,"nzEffect",void 0),(0,M.gn)([(0,z.oS)(),(0,P.yF)()],s.prototype,"nzEnableSwipe",void 0),(0,M.gn)([(0,z.oS)(),(0,P.yF)()],s.prototype,"nzDots",void 0),(0,M.gn)([(0,z.oS)(),(0,P.yF)()],s.prototype,"nzAutoPlay",void 0),(0,M.gn)([(0,z.oS)(),(0,P.Rn)()],s.prototype,"nzAutoPlaySpeed",void 0),(0,M.gn)([(0,P.Rn)()],s.prototype,"nzTransitionSpeed",void 0),(0,M.gn)([(0,z.oS)()],s.prototype,"nzDotPosition",null),s})(),ot=(()=>{class s{}return s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[I.vT,Z.ez,w.ud]]}),s})();var p=o(4850),C=o(7484),m=o(3868),D=o(4182),$=o(5249),j=o(2683),l=o(647),f=o(6949);function d(s,a){if(1&s){const n=t.EpF();t.TgZ(0,"nz-radio-group",4),t.NdJ("ngModelChange",function(c){return t.CHM(n),t.oxw().statsType=c}),t.TgZ(1,"label",5),t._uU(2,"Total"),t.qZA(),t.TgZ(3,"label",6),t._uU(4,"Weekly"),t.qZA(),t.TgZ(5,"label",7),t._uU(6,"Monthly"),t.qZA(),t.TgZ(7,"label",8),t._uU(8,"Yearly"),t.qZA(),t.qZA()}if(2&s){const n=t.oxw();t.Q6J("ngModel",n.statsType)}}function N(s,a){1&s&&t._UZ(0,"i",30)}function B(s,a){1&s&&t._UZ(0,"i",31)}function rt(s,a){1&s&&t._UZ(0,"i",32)}function vt(s,a){1&s&&t._UZ(0,"i",33)}function zt(s,a){1&s&&t._UZ(0,"i",34)}function ft(s,a){1&s&&t._UZ(0,"i",35)}function Ct(s,a){1&s&&t._UZ(0,"i",36)}function Tt(s,a){1&s&&t._UZ(0,"i",37)}function yt(s,a){1&s&&t._UZ(0,"i",38)}function _t(s,a){1&s&&t._UZ(0,"i",39)}function xt(s,a){if(1&s&&(t.ynx(0),t.TgZ(1,"nz-row",9),t.TgZ(2,"nz-col",10),t.TgZ(3,"a",11),t._UZ(4,"nz-statistic",12),t.ALo(5,"number"),t.YNc(6,N,1,0,"ng-template",null,13,t.W1O),t.qZA(),t.qZA(),t.TgZ(8,"nz-col",10),t.TgZ(9,"a",14),t._UZ(10,"nz-statistic",12),t.ALo(11,"number"),t.YNc(12,B,1,0,"ng-template",null,15,t.W1O),t.qZA(),t.qZA(),t.TgZ(14,"nz-col",10),t.TgZ(15,"a",16),t._UZ(16,"nz-statistic",12),t.ALo(17,"number"),t.YNc(18,rt,1,0,"ng-template",null,17,t.W1O),t.qZA(),t.qZA(),t.TgZ(20,"nz-col",10),t.TgZ(21,"a",18),t._UZ(22,"nz-statistic",12),t.ALo(23,"number"),t.YNc(24,vt,1,0,"ng-template",null,19,t.W1O),t.qZA(),t.qZA(),t.TgZ(26,"nz-col",10),t.TgZ(27,"a",20),t._UZ(28,"nz-statistic",12),t.ALo(29,"number"),t.YNc(30,zt,1,0,"ng-template",null,21,t.W1O),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,"nz-row",9),t.TgZ(33,"nz-col",10),t.TgZ(34,"a",22),t._UZ(35,"nz-statistic",12),t.ALo(36,"number"),t.YNc(37,ft,1,0,"ng-template",null,23,t.W1O),t.qZA(),t.qZA(),t.TgZ(39,"nz-col",10),t.TgZ(40,"a",24),t._UZ(41,"nz-statistic",12),t.ALo(42,"number"),t.YNc(43,Ct,1,0,"ng-template",null,25,t.W1O),t.qZA(),t.qZA(),t.TgZ(45,"nz-col",10),t.TgZ(46,"a",26),t._UZ(47,"nz-statistic",12),t.ALo(48,"number"),t.YNc(49,Tt,1,0,"ng-template",null,27,t.W1O),t.qZA(),t.qZA(),t.TgZ(51,"nz-col",10),t._UZ(52,"nz-statistic",12),t.ALo(53,"number"),t.YNc(54,yt,1,0,"ng-template",null,28,t.W1O),t.qZA(),t.TgZ(56,"nz-col",10),t._UZ(57,"nz-statistic",12),t.ALo(58,"number"),t.YNc(59,_t,1,0,"ng-template",null,29,t.W1O),t.qZA(),t.qZA(),t.BQk()),2&s){const n=a.ngIf,r=t.MAs(7),c=t.MAs(13),u=t.MAs(19),R=t.MAs(25),G=t.MAs(31),b=t.MAs(38),ct=t.MAs(44),pt=t.MAs(50),gt=t.MAs(55),q=t.MAs(60),T=t.oxw();t.xp6(4),t.Q6J("nzTitle",T.statsType+" Assertions")("nzValue",t.lcZ(5,30,n.assertions[T.statsTypes[T.statsType]]))("nzPrefix",r),t.xp6(6),t.Q6J("nzTitle",T.statsType+" Evidence")("nzValue",t.lcZ(11,32,n.evidenceItems[T.statsTypes[T.statsType]]))("nzPrefix",c),t.xp6(6),t.Q6J("nzTitle",T.statsType+" Genes")("nzValue",t.lcZ(17,34,n.genes[T.statsTypes[T.statsType]]))("nzPrefix",u),t.xp6(6),t.Q6J("nzTitle",T.statsType+" Variants")("nzValue",t.lcZ(23,36,n.variants[T.statsTypes[T.statsType]]))("nzPrefix",R),t.xp6(6),t.Q6J("nzTitle",T.statsType+" Contributors")("nzValue",t.lcZ(29,38,n.users[T.statsTypes[T.statsType]]))("nzPrefix",G),t.xp6(7),t.Q6J("nzTitle",T.statsType+" Diseases")("nzValue",t.lcZ(36,40,n.diseases[T.statsTypes[T.statsType]]))("nzPrefix",b),t.xp6(6),t.Q6J("nzTitle",T.statsType+" Drugs")("nzValue",t.lcZ(42,42,n.drugs[T.statsTypes[T.statsType]]))("nzPrefix",ct),t.xp6(6),t.Q6J("nzTitle",T.statsType+" Sources")("nzValue",t.lcZ(48,44,n.sources[T.statsTypes[T.statsType]]))("nzPrefix",pt),t.xp6(5),t.Q6J("nzTitle",T.statsType+" Revisions")("nzValue",t.lcZ(53,46,n.revisions[T.statsTypes[T.statsType]]))("nzPrefix",gt),t.xp6(5),t.Q6J("nzTitle",T.statsType+" Comments")("nzValue",t.lcZ(58,48,n.comments[T.statsTypes[T.statsType]]))("nzPrefix",q)}}function St(s,a){if(1&s&&(t.TgZ(0,"nz-row",9),t.TgZ(1,"nz-col",10),t._UZ(2,"nz-statistic",40),t.qZA(),t.TgZ(3,"nz-col",10),t._UZ(4,"nz-statistic",40),t.qZA(),t.TgZ(5,"nz-col",10),t._UZ(6,"nz-statistic",40),t.qZA(),t.TgZ(7,"nz-col",10),t._UZ(8,"nz-statistic",40),t.qZA(),t.TgZ(9,"nz-col",10),t._UZ(10,"nz-statistic",40),t.qZA(),t.qZA(),t.TgZ(11,"nz-row",9),t.TgZ(12,"nz-col",10),t._UZ(13,"nz-statistic",40),t.qZA(),t.TgZ(14,"nz-col",10),t._UZ(15,"nz-statistic",40),t.qZA(),t.TgZ(16,"nz-col",10),t._UZ(17,"nz-statistic",40),t.qZA(),t.TgZ(18,"nz-col",10),t._UZ(19,"nz-statistic",40),t.qZA(),t.TgZ(20,"nz-col",10),t._UZ(21,"nz-statistic",40),t.qZA(),t.qZA()),2&s){const n=t.oxw();t.xp6(2),t.Q6J("nzTitle",n.statsType+" Diseases")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Publications")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Revisions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Contributors")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Comments")("nzValue","--"),t.xp6(3),t.Q6J("nzTitle",n.statsType+" Diseases")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Publications")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Revisions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Contributors")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",n.statsType+" Comments")("nzValue","--")}}let Zt=(()=>{class s{constructor(n){this.statsGql=n,this.statsTypes={Total:"allTime",Yearly:"newThisYear",Monthly:"newThisMonth",Weekly:"newThisWeek"},this.statsType="Total"}ngOnInit(){this.statsRef=this.statsGql.watch({}),this.response$=this.statsRef.valueChanges,this.isLoading$=this.response$.pipe((0,p.U)(n=>n.loading)),this.stats$=this.response$.pipe((0,p.U)(n=>n.data.timepointStats))}}return s.\u0275fac=function(n){return new(n||s)(t.Y36(e.UWf))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-site-stats-card"]],decls:7,vars:5,consts:[["nzTitle","Knowledgebase Statistics","nzSize","small",1,"home-card",3,"nzExtra"],["statsRadioGroup",""],[4,"ngIf","ngIfElse"],["isLoading",""],["nzSize","small",3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","Total"],["nz-radio-button","","nzValue","Weekly"],["nz-radio-button","","nzValue","Monthly"],["nz-radio-button","","nzValue","Yearly"],["nzGutter","8"],["nzFlex","1"],["routerLink","/assertions"],[3,"nzTitle","nzValue","nzPrefix"],["assertionIcon",""],["routerLink","/evidence"],["evidenceIcon",""],["routerLink","/genes"],["geneIcon",""],["routerLink","/variants"],["variantIcon",""],["routerLink","/users"],["userIcon",""],["routerLink","/diseases"],["diseaseIcon",""],["routerLink","/drugs"],["drugIcon",""],["routerLink","/sources"],["sourceIcon",""],["revisionsIcon",""],["commentIcon",""],["nz-icon","","nzType","civic:assertion"],["nz-icon","","nzType","civic:evidence"],["nz-icon","","nzType","civic:gene"],["nz-icon","","nzType","civic:variant"],["nz-icon","","nzType","civic:user"],["nz-icon","","nzType","civic:disease"],["nz-icon","","nzType","civic:intervention"],["nz-icon","","nzType","civic:source"],["nz-icon","","nzType","civic:revision"],["nz-icon","","nzType","civic:comment"],[3,"nzTitle","nzValue"]],template:function(n,r){if(1&n&&(t.TgZ(0,"nz-card",0),t.YNc(1,d,9,1,"ng-template",null,1,t.W1O),t.YNc(3,xt,61,50,"ng-container",2),t.ALo(4,"ngrxPush"),t.YNc(5,St,22,20,"ng-template",null,3,t.W1O),t.qZA()),2&n){const c=t.MAs(2),u=t.MAs(6);t.Q6J("nzExtra",c),t.xp6(3),t.Q6J("ngIf",t.lcZ(4,3,r.stats$))("ngIfElse",u)}},directives:[C.bd,m.Dg,D.JJ,D.On,m.Of,m.Bq,Z.O5,_.SK,_.t3,i.yS,$.my,j.w,l.Ls],pipes:[f.fM,Z.JJ],styles:["[_nghost-%COMP%]{display:block}.home-card[_ngcontent-%COMP%]{border-radius:8px}"]}),s})();var H=o(3762),lt=o(3618),At=o(2340),Pt=o(3227),at=o(6042),It=o(2643),ht=o(685);function Et(s,a){if(1&s&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",9),t.BQk()),2&s){const n=t.oxw().ngIf,r=t.oxw(3);t.xp6(1),t.Q6J("events",n)("tagDisplay",r.tagDisplay)}}function Mt(s,a){1&s&&(t.ynx(0),t.TgZ(1,"button",10),t._uU(2,"See Full Activity Feed "),t.qZA(),t.BQk())}function kt(s,a){if(1&s&&(t.ynx(0),t.TgZ(1,"nz-row",2),t.TgZ(2,"nz-col",8),t.YNc(3,Et,2,2,"ng-container",0),t.YNc(4,Mt,3,0,"ng-container",7),t.ALo(5,"ngrxPush"),t.qZA(),t.qZA(),t.BQk()),2&s){const n=a.ngIf,r=t.oxw(3),c=t.MAs(3);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",n.length)("ngIfElse",c),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,r.pageInfo$))}}function Ot(s,a){if(1&s&&(t.TgZ(0,"nz-card",6),t.YNc(1,kt,6,6,"ng-container",7),t.ALo(2,"ngrxPush"),t.qZA()),2&s){const n=t.oxw(2);t.Q6J("nzTitle",void 0),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,2,n.events$))}}function Nt(s,a){1&s&&(t.ynx(0),t.TgZ(1,"nz-row",2),t.TgZ(2,"nz-col",3),t.TgZ(3,"nz-space",4),t.YNc(4,Ot,3,4,"nz-card",5),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&s&&(t.xp6(1),t.Q6J("nzGutter",16))}function wt(s,a){1&s&&t._UZ(0,"nz-empty",11)}let Ut=(()=>{class s{constructor(n){this.gql=n,this.pageSize=15,this.mode=e.wJ2.Unscoped,this.tagDisplay="hideOrg",this.showFilters=!1}ngOnInit(){this.initialQueryVars={first:this.pageSize,mode:this.mode,showFilters:this.showFilters},this.queryRef=At.N.production?this.gql.watch(this.initialQueryVars,{pollInterval:3e4}):this.gql.watch(this.initialQueryVars),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,p.U)(({data:n})=>n.events.pageInfo)),this.events$=this.results$.pipe((0,p.U)(({data:n})=>n.events.edges.map(r=>r.node))),this.unfilteredCount$=this.results$.pipe((0,p.U)(({data:n})=>n.events.unfilteredCount))}}return s.\u0275fac=function(n){return new(n||s)(t.Y36(e.BTF))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-homepage-event-feed"]],inputs:{pageSize:"pageSize"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],["nzSpan","24"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle",4,"nzSpaceItem"],[3,"nzTitle"],[4,"ngIf"],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-button","","nzType","default","nzSize","small","nzBlock","","routerLink","/curation/activity"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(n,r){if(1&n&&(t.YNc(0,Nt,5,1,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,wt,1,0,"ng-template",null,1,t.W1O)),2&n){const c=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,r.unfilteredCount$))("ngIfElse",c)}},directives:[Z.O5,_.SK,_.t3,A.NU,A.$1,C.bd,Pt.r,at.ix,It.dQ,j.w,i.rH,ht.p9],pipes:[f.fM],styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]}),s})();function Dt(s,a){1&s&&(t.TgZ(0,"nz-carousel",5),t.TgZ(1,"div",6),t.TgZ(2,"h1"),t._uU(3,"Welcome to CIViC "),t.qZA(),t.TgZ(4,"h2"),t._uU(5," an open-source platform supporting crowdsourced and expert-moderated cancer variant curation. "),t.qZA(),t.qZA(),t.TgZ(6,"div",6),t.TgZ(7,"h1"),t._uU(8," Discover supported clinical interpretations "),t._UZ(9,"br"),t._uU(10," of mutations related to cancer.\n"),t.qZA(),t.qZA(),t.TgZ(11,"div",6),t.TgZ(12,"h1"),t._uU(13," Participate with colleagues "),t._UZ(14,"br"),t._uU(15,"to add variants and support "),t._UZ(16,"br"),t._uU(17,"for cancer-related mutations."),t.qZA(),t.qZA(),t.TgZ(18,"div",6),t.TgZ(19,"h1"),t.TgZ(20,"a",7),t._uU(21,"Become an Editor! "),t._UZ(22,"br"),t._uU(23,"Help moderate updates to CIViC"),t.qZA(),t.qZA(),t.qZA(),t.qZA())}function Vt(s,a){1&s&&(t.TgZ(0,"nz-row"),t.TgZ(1,"nz-col",3),t.TgZ(2,"nz-space",0),t.YNc(3,Dt,24,0,"nz-carousel",4),t.qZA(),t.qZA(),t.qZA()),2&s&&(t.xp6(1),t.Q6J("nzSpan",24))}function Jt(s,a){1&s&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"nz-col",3),t._UZ(2,"cvc-site-stats-card"),t.qZA(),t.qZA()),2&s&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}function Qt(s,a){1&s&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"nz-col",3),t.TgZ(2,"nz-card",9),t.TgZ(3,"nz-list",10),t.TgZ(4,"nz-list-item"),t.TgZ(5,"nz-list-item-meta"),t.TgZ(6,"nz-list-item-meta-title"),t.TgZ(7,"span"),t._uU(8,"Welcome to CIViC 2.0!"),t.qZA(),t._UZ(9,"br"),t.TgZ(10,"span",11),t._uU(11," April 9th, 2022 "),t.qZA(),t.qZA(),t.qZA(),t._uU(12," CIViC 2.0 features a completely redesigned user interface and a more powerful GraphQL API. It provides many new ways to browse the knowledgebase while retaining the CIViC knowledge model you are already familiar with. Furthermore, existing links to CIViC entities will continue to function as before. If you have any questions, comments, or would like help adapting an existing integration to our new API, please email us at "),t.TgZ(13,"a",12),t._uU(14,"help@civicdb.org"),t.qZA(),t._uU(15,". We have also prepared an introductory video tour of the new interface, please "),t.TgZ(16,"a",13),t._uU(17,"check it out"),t.qZA(),t._uU(18,"! "),t.TgZ(19,"nz-list-item-extra",14),t._UZ(20,"iframe",15),t.qZA(),t.qZA(),t.TgZ(21,"nz-list-item"),t.TgZ(22,"nz-list-item-meta"),t.TgZ(23,"nz-list-item-meta-title"),t.TgZ(24,"span"),t._uU(25,"Pediatric Cancer Variants"),t.qZA(),t._UZ(26,"br"),t.TgZ(27,"span",11),t._uU(28," February 12th, 2021 "),t.qZA(),t.qZA(),t.qZA(),t._uU(29," Through support from the Childhood Cancer Data Initiative (CCDI), we have executed our initial phase of highlighting pediatric cancer variant content. This advanced search query displays childhood relevant data contained in CIViC. Stay tuned for more pediatric-focused features as we launch the first open-access searchable childhood-cancer-specific dataset. "),t._UZ(30,"nz-list-item-extra"),t.qZA(),t.TgZ(31,"nz-list-item"),t.TgZ(32,"nz-list-item-meta"),t.TgZ(33,"nz-list-item-meta-title"),t.TgZ(34,"span"),t._uU(35,"Explore CIViC Variants in ProteinPaint"),t.qZA(),t._UZ(36,"br"),t.TgZ(37,"span",11),t._uU(38,"June 29th, 2020"),t.qZA(),t.qZA(),t.qZA(),t._uU(39," St. Jude's ProteinPaint now incorporates a CIViC variant track, displaying CIViC curated data along with a variety of additional sources, and providing one-click access to CIViC's variant summaries. We've also added ProteinPaint links to our gene summaries. "),t.TgZ(40,"nz-list-item-extra"),t._UZ(41,"img",16),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(42,"nz-col",3),t.TgZ(43,"nz-card",17),t._UZ(44,"cvc-homepage-event-feed",18),t.qZA(),t.qZA(),t.qZA()),2&s&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(41),t.Q6J("nzSpan",12),t.xp6(2),t.Q6J("pageSize",12))}function Lt(s,a){1&s&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"nz-col",3),t.TgZ(2,"nz-card",19),t.TgZ(3,"p"),t._uU(4,"CIViC is a community-edited forum for discussion and interpretation of peer-reviewed publications pertaining to the clinical relevance of variants (or biomarker alterations) in cancer. These interpretations may include associations between molecular alterations (or lack of alteration) and one or more drugs, diagnoses, prognoses or other treatment decisions. These interpretations of clinical significance (or lack of clinical significance) are purely for research purposes. A finding of no interpretation does not necessarily indicate lack of relevance for any specific variant or biomarker alteration. Interpretations are not presented in ranked order of potential or predicted importance.These interpretations make no promise or guarantee of any clinical benefit (or lack of clinical benefit)."),t.qZA(),t.TgZ(5,"p"),t._uU(6,"The civicdb.org website does not provide any medical or healthcare products, services or advice, and is not for medical emergencies or urgent situations. "),t.TgZ(7,"strong"),t._uU(8,"IF YOU THINK YOU MAY HAVE A MEDICAL EMERGENCY, CALL YOUR DOCTOR OR 911 IMMEDIATELY"),t.qZA(),t._uU(9,". Information contained on this website is not a substitute for a doctor's medical judgment or advice. We recommend that you discuss your specific, individual health concerns with your doctor or health care professional."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&s&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}const Bt=[{path:"",component:(()=>{class s{constructor(){this.feedMode=e.wJ2.Unscoped}ngOnInit(){}}return s.\u0275fac=function(n){return new(n||s)},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-welcome"]],decls:5,vars:0,consts:[["nzDirection","vertical","nzSize","middle",1,"space-container"],[4,"nzSpaceItem"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzSpan"],["nzAutoPlay","","nzAutoPlaySpeed","10000",4,"nzSpaceItem"],["nzAutoPlay","","nzAutoPlaySpeed","10000"],["nz-carousel-content",""],["href","https://civic.readthedocs.io/en/latest/curating/editor.html","target","_blank",1,"header-link"],[3,"nzGutter"],["nzTitle","News & Events","nzSize","small",1,"home-card",2,"height","100%"],["nzItemLayout","vertical"],["nz-typography","","nzType","secondary"],["href","mailto:help@civicdb.org"],["href","https://www.youtube.com/watch?v=bpVkSP7qvgc","target","_blank"],[2,"padding-top","30px"],["width","250","src","https://www.youtube.com/embed/bpVkSP7qvgc","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","150","alt","logo","src","https://civicdb.org/assets/images/partners/protein-paint-integration.png"],["nzTitle","Live Curation Activity","nzSize","small",1,"home-card",2,"min-height","600px"],[3,"pageSize"],["nzTitle","Medical Disclaimer: This resource is intended for purely research purposes. It should not be used for emergencies or medical or professional advice.","nzSize","small",1,"home-card"]],template:function(n,r){1&n&&(t.TgZ(0,"nz-space",0),t.YNc(1,Vt,4,1,"nz-row",1),t.YNc(2,Jt,3,2,"nz-row",2),t.YNc(3,Qt,45,4,"nz-row",2),t.YNc(4,Lt,10,2,"nz-row",2),t.qZA())},directives:[A.NU,A.$1,_.SK,_.t3,nt,S,Zt,C.bd,H.n_,H.AA,H.yi,H.IO,lt.ZU,H.yw,Ut],styles:["[_nghost-%COMP%]{display:block}.space-container[_ngcontent-%COMP%]{display:block}.ant-carousel[_ngcontent-%COMP%]{border:1px solid #3e5166;border-radius:8px;height:200px;background-color:#001529}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%]{padding-top:3em;padding-left:3em;height:200px;background-color:#2e143e;overflow:hidden;color:#fff}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff}.home-card[_ngcontent-%COMP%]{border-radius:8px}.header-link[_ngcontent-%COMP%]{color:#fff}"]}),s})()}];let Yt=(()=>{class s{}return s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[i.Bz.forChild(Bt)],i.Bz]}),s})();var mt=o(5109),Wt=o(6559);let Ft=(()=>{class s{}return s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[Z.ez,D.u5,i.Bz,f.WG,$.A2,_.Jb,C.vh,m.aF,at.sL,Wt.H0,lt.ZJ,l.PV,mt.s]]}),s})();var $t=o(4546),Rt=o(6462),jt=o(8054),Ht=o(3884),ut=o(9444),Gt=o(1150),bt=o(6699);let qt=(()=>{class s{}return s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[Z.ez,D.u5,f.WG,i.Bz,at.sL,C.vh,l.PV,$t.U5,jt.LV,Rt.m,_.Jb,A.zf,ht.Xo,bt.Rt,Ht.m,ut.s,Gt.N,ut.s]]}),s})(),Xt=(()=>{class s{}return s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[Z.ez,D.u5,f.WG,at.sL,_.Jb,ot,C.vh,H.Ph,m.aF,A.zf,$.A2,lt.ZJ,Yt,Ft,qt,mt.s]]}),s})()},6559:(F,O,o)=>{o.d(O,{H0:()=>L});var i=o(5e3),e=o(9808),t=o(226);let L=(()=>{class v{}return v.\u0275fac=function(h){return new(h||v)},v.\u0275mod=i.oAB({type:v}),v.\u0275inj=i.cJS({imports:[[t.vT,e.ez]]}),v})()}}]);
\ No newline at end of file
diff --git a/server/public/55.ba71fd90dd4b7d35.js b/server/public/55.fc7e72e0ab03da36.js
similarity index 99%
rename from server/public/55.ba71fd90dd4b7d35.js
rename to server/public/55.fc7e72e0ab03da36.js
index f2d16fb0a..08330a213 100644
--- a/server/public/55.ba71fd90dd4b7d35.js
+++ b/server/public/55.fc7e72e0ab03da36.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[55],{8909:(X,W,r)=>{r.d(W,{m:()=>k});var t=r(9808),b=r(9401),E=r(8369),a=r(209),x=r(4867),y=r(7677),N=r(3309),M=r(7345),O=r(9476),z=r(8481),w=r(647),I=r(5e3);let k=(()=>{class g{}return g.\u0275fac=function(u){return new(u||g)},g.\u0275mod=I.oAB({type:g}),g.\u0275inj=I.cJS({imports:[[t.ez,z.X,w.PV,b.y,E.W,a.i,x.Q,y.G,N.U,M.W,O.L]]}),g})()},2233:(X,W,r)=>{r.d(W,{P:()=>k});var t=r(5e3),b=r(325),E=r(1894),a=r(868),x=r(9808),y=r(647),N=r(4401);const M=["tabBarExtraContent"];function O(g,D){if(1&g&&t.GkF(0,5),2&g){const u=t.oxw();t.Q6J("ngTemplateOutlet",u.tabBarExtraContent||null)}}const z=function(){return{transform:"scale(0.75, 0.75) translate(0, -2px)"}};function w(g,D){if(1&g&&(t.TgZ(0,"a",7),t._UZ(1,"i",8),t._uU(2),t._UZ(3,"nz-badge",9),t.qZA()),2&g){const u=t.oxw().$implicit;t.Q6J("routerLink",u.routeName),t.xp6(1),t.Q6J("nzType",u.iconName),t.xp6(1),t.hij(" ",u.tabLabel," "),t.xp6(1),t.MGl("nzTitle","There are ",u.badgeCount," outstanding revisions."),t.Q6J("nzCount",u.badgeCount)("nzStyle",t.DdM(6,z))}}function I(g,D){1&g&&(t.TgZ(0,"nz-tab"),t.YNc(1,w,4,7,"a",6),t.qZA())}let k=(()=>{class g{constructor(u){this.router=u,this.selectedTabIndex=this.getActivatedRouteIndex(this.router.url)}getActivatedRouteIndex(u){var T;return null===(T=this.tabs)||void 0===T?void 0:T.findIndex(B=>u.includes(B.routeName))}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(b.F0))},g.\u0275cmp=t.Xpm({type:g,selectors:[["cvc-tab-navigation"]],contentQueries:function(u,T,B){if(1&u&&t.Suo(B,M,5),2&u){let Y;t.iGM(Y=t.CRH())&&(T.tabBarExtraContent=Y.first)}},inputs:{entity:"entity",tabs:"tabs"},decls:6,vars:3,consts:[["id","section-tabs"],["nzSpan","24"],["nzLinkRouter","","nzType","card","nzSize","small",3,"nzSelectedIndex","nzTabBarExtraContent"],["extraTpl",""],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["nz-tab-link","",3,"routerLink",4,"nzTabLink"],["nz-tab-link","",3,"routerLink"],["nz-icon","",3,"nzType"],["nzStandalone","",3,"nzCount","nzTitle","nzStyle"]],template:function(u,T){if(1&u&&(t.TgZ(0,"nz-row",0),t.TgZ(1,"nz-col",1),t.TgZ(2,"nz-tabset",2),t.YNc(3,O,1,1,"ng-template",null,3,t.W1O),t.YNc(5,I,2,0,"nz-tab",4),t.qZA(),t.qZA(),t.qZA()),2&u){const B=t.MAs(4);t.xp6(2),t.Q6J("nzSelectedIndex",T.selectedTabIndex)("nzTabBarExtraContent",B),t.xp6(3),t.Q6J("ngForOf",T.tabs)}},directives:[E.SK,E.t3,a.xH,x.tP,x.sg,a.xw,a.Fx,a.Ao,b.yS,y.Ls,N.x7],styles:["[_nghost-%COMP%]{display:block}"]}),g})()},8762:(X,W,r)=>{r.d(W,{c:()=>O});var t=r(9808),b=r(868),E=r(1894),a=r(325),x=r(647),y=r(6949),N=r(4401),M=r(5e3);let O=(()=>{class z{}return z.\u0275fac=function(I){return new(I||z)},z.\u0275mod=M.oAB({type:z}),z.\u0275inj=M.cJS({imports:[[t.ez,a.Bz,b.we,E.Jb,x.PV,N.mS,y.WG]]}),z})()},4509:(X,W,r)=>{r.d(W,{w:()=>u});var t=r(9808),b=r(4182),E=r(7484),a=r(4546),x=r(7008),y=r(1825),N=r(4375),M=r(6042),O=r(4623),z=r(868),w=r(6949),I=r(8909),k=r(7525),g=r(4921),D=r(5e3);let u=(()=>{class T{}return T.\u0275fac=function(Y){return new(Y||T)},T.\u0275mod=D.oAB({type:T}),T.\u0275inj=D.cJS({imports:[[t.ez,b.UX,w.WG,M.sL,E.vh,z.we,a.U5,k.j,g.Gl,b.u5,x.B,y.A,N.R,I.m,O.K]]}),T})()},4921:(X,W,r)=>{r.d(W,{YW:()=>nt,Gl:()=>ct,O3:()=>S,jO:()=>H});var t=r(226),b=r(2845),E=r(9808),a=r(5e3),x=r(4182),y=r(647),N=r(8929),M=r(2916),O=r(6787),z=r(3753),w=r(655),I=r(1159),k=r(7429),g=r(1059),D=r(7545),u=r(6950),T=r(1721);const B=["items"];function Y(h,v){1&h&&a.GkF(0)}const ot=function(h){return{$implicit:h}};function at(h,v){if(1&h&&(a.ynx(0),a.YNc(1,Y,1,0,"ng-container",8),a.BQk()),2&h){const o=a.oxw().$implicit,d=a.oxw(2);a.xp6(1),a.Q6J("ngTemplateOutlet",d.suggestionTemplate)("ngTemplateOutletContext",a.VKq(2,ot,o))}}function V(h,v){if(1&h&&a._uU(0),2&h){const o=a.oxw().$implicit,d=a.oxw(2);a.Oqu(d.nzValueWith(o))}}function R(h,v){if(1&h){const o=a.EpF();a.TgZ(0,"li",4,5),a.NdJ("click",function(){const f=a.CHM(o).$implicit;return a.oxw(2).selectSuggestion(f)}),a.YNc(2,at,2,4,"ng-container",6),a.YNc(3,V,1,1,"ng-template",null,7,a.W1O),a.qZA()}if(2&h){const o=v.index,d=a.MAs(4),_=a.oxw(2);a.ekj("focus",o===_.activeIndex),a.xp6(2),a.Q6J("ngIf",_.suggestionTemplate)("ngIfElse",d)}}function tt(h,v){1&h&&(a.TgZ(0,"span"),a._UZ(1,"i",11),a.qZA())}function et(h,v){if(1&h&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&h){const o=a.oxw(3);a.xp6(1),a.Oqu(o.nzNotFoundContent)}}function rt(h,v){if(1&h&&(a.TgZ(0,"li",9),a.YNc(1,tt,2,0,"span",10),a.YNc(2,et,2,1,"span",10),a.qZA()),2&h){const o=a.oxw(2);a.xp6(1),a.Q6J("ngIf",o.nzLoading),a.xp6(1),a.Q6J("ngIf",!o.nzLoading)}}function j(h,v){if(1&h&&(a.TgZ(0,"ul",1),a.YNc(1,R,5,4,"li",2),a.YNc(2,rt,3,2,"li",3),a.qZA()),2&h){const o=a.oxw();a.xp6(1),a.Q6J("ngForOf",o.filteredSuggestions),a.xp6(1),a.Q6J("ngIf",0===o.filteredSuggestions.length)}}const P=["*"];let S=(()=>{class h{}return h.\u0275fac=function(o){return new(o||h)},h.\u0275dir=a.lG2({type:h,selectors:[["","nzMentionSuggestion",""]],exportAs:["nzMentionSuggestion"]}),h})();let q=(()=>{class h{constructor(){this.triggerChange$=new N.xQ}triggerChanged(){return this.triggerChange$.asObservable()}registerTrigger(o){this.trigger!==o&&(this.trigger=o,this.triggerChange$.next(o))}ngOnDestroy(){this.triggerChange$.complete()}}return h.\u0275fac=function(o){return new(o||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac}),h})();const lt={provide:x.JU,useExisting:(0,a.Gpc)(()=>H),multi:!0};let H=(()=>{class h{constructor(o,d){this.el=o,this.nzMentionService=d,this.onChange=()=>{},this.onTouched=()=>{},this.onFocusin=new a.vpe,this.onBlur=new a.vpe,this.onInput=new a.vpe,this.onKeydown=new a.vpe,this.onClick=new a.vpe}completeEvents(){this.onFocusin.complete(),this.onBlur.complete(),this.onInput.complete(),this.onKeydown.complete(),this.onClick.complete()}focus(o){this.el.nativeElement.focus(),this.el.nativeElement.setSelectionRange(o,o)}insertMention(o){const d=this.el.nativeElement.value,_=`${o.mention} `,f=[d.slice(0,o.startPos+1),_,d.slice(o.endPos,d.length)].join("");this.el.nativeElement.value=f,this.focus(o.startPos+_.length+1),this.onChange(f),this.value=f}writeValue(o){this.value=o,this.el.nativeElement.value="string"==typeof o?o:""}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}ngAfterViewInit(){this.nzMentionService.registerTrigger(this)}ngOnDestroy(){this.completeEvents()}}return h.\u0275fac=function(o){return new(o||h)(a.Y36(a.SBq),a.Y36(q))},h.\u0275dir=a.lG2({type:h,selectors:[["input","nzMentionTrigger",""],["textarea","nzMentionTrigger",""]],hostAttrs:["autocomplete","off"],hostBindings:function(o,d){1&o&&a.NdJ("focusin",function(){return d.onFocusin.emit()})("blur",function(){return d.onBlur.emit()})("input",function(f){return d.onInput.emit(f)})("keydown",function(f){return d.onKeydown.emit(f)})("click",function(f){return d.onClick.emit(f)})},exportAs:["nzMentionTrigger"],features:[a._Bn([lt])]}),h})(),nt=(()=>{class h{constructor(o,d,_,f,L,$){this.ngZone=o,this.ngDocument=d,this.cdr=_,this.overlay=f,this.viewContainerRef=L,this.nzMentionService=$,this.nzValueWith=Z=>Z,this.nzPrefix="@",this.nzLoading=!1,this.nzNotFoundContent="\u65e0\u5339\u914d\u7ed3\u679c\uff0c\u8f7b\u6572\u7a7a\u683c\u5b8c\u6210\u8f93\u5165",this.nzPlacement="bottom",this.nzSuggestions=[],this.nzOnSelect=new a.vpe,this.nzOnSearchChange=new a.vpe,this.isOpen=!1,this.filteredSuggestions=[],this.suggestionTemplate=null,this.activeIndex=-1,this.previousValue=null,this.cursorMention=null,this.overlayRef=null}set suggestionChild(o){o&&(this.suggestionTemplate=o)}get triggerNativeElement(){return this.trigger.el.nativeElement}get focusItemElement(){var o;const d=null===(o=this.items)||void 0===o?void 0:o.toArray();return d&&d[this.activeIndex]?d[this.activeIndex].nativeElement:null}ngOnInit(){this.nzMentionService.triggerChanged().subscribe(o=>{this.trigger=o,this.bindTriggerEvents(),this.closeDropdown(),this.overlayRef=null})}ngOnChanges(o){o.hasOwnProperty("nzSuggestions")&&this.isOpen&&(this.previousValue=null,this.activeIndex=-1,this.resetDropdown(!1))}ngAfterViewInit(){this.items.changes.pipe((0,g.O)(this.items),(0,D.w)(()=>{const o=this.items.toArray();return new M.y(d=>this.ngZone.runOutsideAngular(()=>(0,O.T)(...o.map(_=>(0,z.R)(_.nativeElement,"mousedown"))).subscribe(d)))})).subscribe(o=>{o.preventDefault()})}ngOnDestroy(){this.closeDropdown()}closeDropdown(){this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.overlayOutsideClickSubscription.unsubscribe(),this.isOpen=!1,this.cdr.markForCheck())}openDropdown(){this.attachOverlay(),this.isOpen=!0,this.cdr.markForCheck()}getMentions(){return this.trigger?(0,T.qR)(this.trigger.value,this.nzPrefix):[]}selectSuggestion(o){const d=this.nzValueWith(o);this.trigger.insertMention({mention:d,startPos:this.cursorMentionStart,endPos:this.cursorMentionEnd}),this.nzOnSelect.emit(o),this.closeDropdown(),this.activeIndex=-1}handleInput(o){const d=o.target;this.trigger.onChange(d.value),this.trigger.value=d.value,this.resetDropdown()}handleKeydown(o){const d=o.keyCode;if(this.isOpen&&d===I.K5&&-1!==this.activeIndex&&this.filteredSuggestions.length)this.selectSuggestion(this.filteredSuggestions[this.activeIndex]),o.preventDefault();else if(d===I.oh||d===I.SV)this.resetDropdown(),o.stopPropagation();else{if(this.isOpen&&(d===I.Mf||d===I.hY))return void this.closeDropdown();this.isOpen&&d===I.LH&&(this.setPreviousItemActive(),o.preventDefault(),o.stopPropagation()),this.isOpen&&d===I.JH&&(this.setNextItemActive(),o.preventDefault(),o.stopPropagation())}}handleClick(){this.resetDropdown()}bindTriggerEvents(){this.trigger.onInput.subscribe(o=>this.handleInput(o)),this.trigger.onKeydown.subscribe(o=>this.handleKeydown(o)),this.trigger.onClick.subscribe(()=>this.handleClick())}suggestionsFilter(o,d){const _=o.substring(1);if(this.previousValue===o&&o!==this.cursorMention[0])return;this.previousValue=o,d&&this.nzOnSearchChange.emit({value:this.cursorMention.substring(1),prefix:this.cursorMention[0]});const f=_.toLowerCase();this.filteredSuggestions=this.nzSuggestions.filter(L=>this.nzValueWith(L).toLowerCase().includes(f))}resetDropdown(o=!0){if(this.resetCursorMention(),"string"!=typeof this.cursorMention||!this.canOpen())return void this.closeDropdown();this.suggestionsFilter(this.cursorMention,o);const d=this.filteredSuggestions.indexOf(this.cursorMention.substring(1));this.activeIndex=d>=0?d:0,this.openDropdown()}setNextItemActive(){this.activeIndex=this.activeIndex+1<=this.filteredSuggestions.length-1?this.activeIndex+1:0,this.cdr.markForCheck(),this.scrollToFocusItem()}setPreviousItemActive(){this.activeIndex=this.activeIndex-1<0?this.filteredSuggestions.length-1:this.activeIndex-1,this.cdr.markForCheck(),this.scrollToFocusItem()}scrollToFocusItem(){this.focusItemElement&&this.focusItemElement.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}canOpen(){const o=this.triggerNativeElement;return!o.readOnly&&!o.disabled}resetCursorMention(){const o=this.triggerNativeElement.value.replace(/[\r\n]/g," ")||"",d=this.triggerNativeElement.selectionStart,_="string"==typeof this.nzPrefix?[this.nzPrefix]:this.nzPrefix;let f=_.length;for(;f>=0;){const L=o.lastIndexOf(_[f],d),$=o.indexOf(" ",d)>-1?o.indexOf(" ",d):o.length,Z=o.substring(L,$);if(!(L>0&&" "!==o[L-1]||L<0||Z.includes(_[f],1)||Z.includes(" ")))return this.cursorMention=Z,this.cursorMentionStart=L,void(this.cursorMentionEnd=$);this.cursorMention=null,this.cursorMentionStart=-1,this.cursorMentionEnd=-1,f--}}updatePositions(){const o=(0,T.Ly)(this.triggerNativeElement,this.cursorMentionStart),d=o.top-this.triggerNativeElement.getBoundingClientRect().height-this.triggerNativeElement.scrollTop+("bottom"===this.nzPlacement?o.height-6:-6);this.positionStrategy.withDefaultOffsetX(o.left-this.triggerNativeElement.scrollLeft).withDefaultOffsetY(d),"bottom"===this.nzPlacement&&this.positionStrategy.withPositions([...u.fG]),"top"===this.nzPlacement&&this.positionStrategy.withPositions([...u.A7]),this.positionStrategy.apply()}subscribeOverlayOutsideClick(){return(0,O.T)(this.overlayRef.outsidePointerEvents(),(0,z.R)(this.ngDocument,"touchend")).subscribe(o=>{var d;const _=o.target;this.isOpen&&_!==this.trigger.el.nativeElement&&!(null===(d=this.overlayRef)||void 0===d?void 0:d.overlayElement.contains(_))&&this.closeDropdown()})}attachOverlay(){this.overlayRef||(this.portal=new k.UE(this.suggestionsTemp,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick()),this.updatePositions()}getOverlayConfig(){return new b.X_({positionStrategy:this.getOverlayPosition(),scrollStrategy:this.overlay.scrollStrategies.reposition(),disposeOnNavigation:!0})}getOverlayPosition(){const o=[new b.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new b.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.trigger.el).withPositions(o).withFlexibleDimensions(!1).withPush(!1),this.positionStrategy}}return h.\u0275fac=function(o){return new(o||h)(a.Y36(a.R0b),a.Y36(E.K0,8),a.Y36(a.sBO),a.Y36(b.aV),a.Y36(a.s_b),a.Y36(q))},h.\u0275cmp=a.Xpm({type:h,selectors:[["nz-mention"]],contentQueries:function(o,d,_){if(1&o&&a.Suo(_,S,5,a.Rgc),2&o){let f;a.iGM(f=a.CRH())&&(d.suggestionChild=f.first)}},viewQuery:function(o,d){if(1&o&&(a.Gf(a.Rgc,5),a.Gf(B,5,a.SBq)),2&o){let _;a.iGM(_=a.CRH())&&(d.suggestionsTemp=_.first),a.iGM(_=a.CRH())&&(d.items=_)}},inputs:{nzValueWith:"nzValueWith",nzPrefix:"nzPrefix",nzLoading:"nzLoading",nzNotFoundContent:"nzNotFoundContent",nzPlacement:"nzPlacement",nzSuggestions:"nzSuggestions"},outputs:{nzOnSelect:"nzOnSelect",nzOnSearchChange:"nzOnSearchChange"},exportAs:["nzMention"],features:[a._Bn([q]),a.TTD],ngContentSelectors:P,decls:3,vars:0,consts:[["suggestions",""],[1,"ant-mention-dropdown"],["class","ant-mention-dropdown-item",3,"focus","click",4,"ngFor","ngForOf"],["class","ant-mention-dropdown-notfound ant-mention-dropdown-item",4,"ngIf"],[1,"ant-mention-dropdown-item",3,"click"],["items",""],[4,"ngIf","ngIfElse"],["defaultSuggestion",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-mention-dropdown-notfound","ant-mention-dropdown-item"],[4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(o,d){1&o&&(a.F$t(),a.Hsn(0),a.YNc(1,j,3,2,"ng-template",null,0,a.W1O))},directives:[E.sg,E.O5,E.tP,y.Ls],encapsulation:2,changeDetection:0}),(0,w.gn)([(0,T.yF)()],h.prototype,"nzLoading",void 0),h})(),ct=(()=>{class h{}return h.\u0275fac=function(o){return new(o||h)},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({imports:[[t.vT,E.ez,x.u5,b.U8,y.PV]]}),h})()},868:(X,W,r)=>{r.d(W,{xw:()=>pt,Ao:()=>gt,Fx:()=>mt,xH:()=>Ot,we:()=>jt});var t=r(5e3),b=r(969),E=r(647),a=r(6360),x=r(6987),y=r(5664),N=r(3191),M=r(1159),O=r(3753),z=r(2654),w=r(352),I=r(8139),k=r(8929),g=r(1086),D=r(6787),u=r(7625),T=r(7138),B=r(1059),Y=r(7224),ot=r(2198),at=r(6792),V=r(3677),R=r(9808),tt=r(4219),et=r(2321),rt=r(5577),j=r(226),P=r(655),S=r(1721),F=r(325),q=r(7144),lt=r(925),H=r(9439),nt=r(948);function vt(i,c){if(1&i&&(t.ynx(0),t._UZ(1,"i",1),t.BQk()),2&i){const e=c.$implicit;t.xp6(1),t.Q6J("nzType",e)}}function ct(i,c){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.tab.label," ")}}const h=function(){return{visible:!1}};function v(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"li",8),t.NdJ("click",function(){const l=t.CHM(e).$implicit;return t.oxw(2).onSelect(l)})("contextmenu",function(s){const m=t.CHM(e).$implicit;return t.oxw(2).onContextmenu(m,s)}),t.YNc(1,ct,2,1,"ng-container",9),t.qZA()}if(2&i){const e=c.$implicit;t.ekj("ant-tabs-dropdown-menu-item-disabled",e.disabled),t.Q6J("nzSelected",e.active)("nzDisabled",e.disabled),t.xp6(1),t.Q6J("nzStringTemplateOutlet",e.tab.label)("nzStringTemplateOutletContext",t.DdM(6,h))}}function o(i,c){if(1&i&&(t.TgZ(0,"ul",6),t.YNc(1,v,2,7,"li",7),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.items)}}function d(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().addClicked.emit()}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("addIcon",e.addIcon)}}const _=function(){return{minWidth:"46px"}},f=["navWarp"],L=["navList"];function $(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().addClicked.emit()}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("addIcon",e.addIcon)}}function Z(i,c){}function Pt(i,c){if(1&i&&(t.TgZ(0,"div",9),t.YNc(1,Z,0,0,"ng-template",10),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",e.extraTemplate)}}const At=["*"],St=["nz-tab-body",""];function Nt(i,c){}function Bt(i,c){if(1&i&&(t.ynx(0),t.YNc(1,Nt,0,0,"ng-template",1),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",e.content)}}function Rt(i,c){if(1&i&&(t.ynx(0),t._UZ(1,"i",1),t.BQk()),2&i){const e=c.$implicit;t.xp6(1),t.Q6J("nzType",e)}}const Lt=["contentTemplate"];function Wt(i,c){1&i&&t.Hsn(0)}function wt(i,c){1&i&&t.Hsn(0,1)}const kt=[[["","nz-tab-link",""]],"*"],Ft=["[nz-tab-link]","*"];function Ut(i,c){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.label)}}function Ht(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(s){t.CHM(e);const l=t.oxw().index;return t.oxw(2).onClose(l,s)}),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.Q6J("closeIcon",e.nzCloseIcon)}}const Kt=function(){return{visible:!0}};function Yt(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(s){const l=t.CHM(e),m=l.$implicit,p=l.index;return t.oxw(2).clickNavItem(m,p,s)})("contextmenu",function(s){const m=t.CHM(e).$implicit;return t.oxw(2).contextmenuNavItem(m,s)}),t.TgZ(1,"div",7),t.YNc(2,Ut,2,1,"ng-container",8),t.YNc(3,Ht,1,1,"button",9),t.qZA(),t.qZA()}if(2&i){const e=c.$implicit,n=c.index,s=t.oxw(2);t.Udp("margin-right","horizontal"===s.position?s.nzTabBarGutter:null,"px")("margin-bottom","vertical"===s.position?s.nzTabBarGutter:null,"px"),t.ekj("ant-tabs-tab-active",s.nzSelectedIndex===n)("ant-tabs-tab-disabled",e.nzDisabled),t.xp6(1),t.Q6J("disabled",e.nzDisabled)("tab",e)("active",s.nzSelectedIndex===n),t.uIk("tabIndex",s.getTabIndex(e,n))("aria-disabled",e.nzDisabled)("aria-selected",s.nzSelectedIndex===n&&!s.nzHideAll)("aria-controls",s.getTabContentId(n)),t.xp6(1),t.Q6J("nzStringTemplateOutlet",e.label)("nzStringTemplateOutletContext",t.DdM(18,Kt)),t.xp6(1),t.Q6J("ngIf",e.nzClosable&&s.closable&&!e.nzDisabled)}}function Zt(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"nz-tabs-nav",4),t.NdJ("tabScroll",function(s){return t.CHM(e),t.oxw().nzTabListScroll.emit(s)})("selectFocusedIndex",function(s){return t.CHM(e),t.oxw().setSelectedIndex(s)})("addClicked",function(){return t.CHM(e),t.oxw().onAdd()}),t.YNc(1,Yt,4,19,"div",5),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("ngStyle",e.nzTabBarStyle)("selectedIndex",e.nzSelectedIndex||0)("inkBarAnimated",e.inkBarAnimated)("addable",e.addable)("addIcon",e.nzAddIcon)("hideBar",e.nzHideAll)("position",e.position)("extraTemplate",e.nzTabBarExtraContent),t.xp6(1),t.Q6J("ngForOf",e.tabs)}}function Qt(i,c){if(1&i&&t._UZ(0,"div",11),2&i){const e=c.$implicit,n=c.index,s=t.oxw();t.Q6J("active",s.nzSelectedIndex===n&&!s.nzHideAll)("content",e.content)("forceRender",e.nzForceRender)("tabPaneAnimated",s.tabPaneAnimated)}}let it=(()=>{class i{constructor(e){this.elementRef=e,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetWidth)||0}getElementHeight(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(e,n){1&e&&t.YNc(0,vt,2,1,"ng-container",0),2&e&&t.Q6J("nzStringTemplateOutlet",n.addIcon)},directives:[b.f,E.Ls],encapsulation:2}),i})(),dt=(()=>{class i{constructor(e,n,s){this.elementRef=e,this.ngZone=n,this.animationMode=s,this.position="horizontal",this.animated=!0}get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}alignToElement(e){this.ngZone.runOutsideAngular(()=>{(0,x.e)(()=>this.setStyles(e))})}setStyles(e){const n=this.elementRef.nativeElement;"horizontal"===this.position?(n.style.top="",n.style.height="",n.style.left=this.getLeftPosition(e),n.style.width=this.getElementWidth(e)):(n.style.left="",n.style.width="",n.style.top=this.getTopPosition(e),n.style.height=this.getElementHeight(e))}getLeftPosition(e){return e?`${e.offsetLeft||0}px`:"0"}getElementWidth(e){return e?`${e.offsetWidth||0}px`:"0"}getTopPosition(e){return e?`${e.offsetTop||0}px`:"0"}getElementHeight(e){return e?`${e.offsetHeight||0}px`:"0"}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(a.Qb,8))},i.\u0275dir=t.lG2({type:i,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(e,n){2&e&&t.ekj("ant-tabs-ink-bar-animated",n._animated)},inputs:{position:"position",animated:"animated"}}),i})(),ht=(()=>{class i{constructor(e){this.elementRef=e,this.disabled=!1,this.active=!1,this.el=e.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq))},i.\u0275dir=t.lG2({type:i,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",tab:"tab",active:"active"}}),i})(),_t=(()=>{class i{constructor(e,n){this.cdr=e,this.elementRef=n,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new t.vpe,this.selected=new t.vpe,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(e){e.disabled||(e.tab.nzClick.emit(),this.selected.emit(e))}onContextmenu(e,n){e.disabled||e.tab.nzContextmenu.emit(n)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(e){e||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetWidth)||0}getElementHeight(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.sBO),t.Y36(t.SBq))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(e,n){2&e&&t.ekj("ant-tabs-nav-operations-hidden",0===n.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(e,n){if(1&e&&(t.TgZ(0,"button",0,1),t.NdJ("nzVisibleChange",function(l){return n.menuVisChange(l)})("mouseenter",function(){return n.showItems()}),t._UZ(2,"i",2),t.qZA(),t.TgZ(3,"nz-dropdown-menu",null,3),t.YNc(5,o,2,1,"ul",4),t.qZA(),t.YNc(6,d,1,1,"button",5)),2&e){const s=t.MAs(4);t.Q6J("nzDropdownMenu",s)("nzOverlayStyle",t.DdM(5,_))("nzMatchWidthElement",null),t.xp6(5),t.Q6J("ngIf",n.menuOpened),t.xp6(1),t.Q6J("ngIf",n.addable)}},directives:[V.RR,it,V.cm,E.Ls,R.O5,tt.wO,R.sg,tt.r9,b.f],encapsulation:2,changeDetection:0}),i})();const Tt=Math.pow(.995,20);let zt=(()=>{class i{constructor(e,n){this.ngZone=e,this.elementRef=n,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new t.vpe,this.tabScroll=new t.vpe,this.onTouchEnd=s=>{if(!this.touchPosition)return;const l=this.lastOffset,m=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,l){const p=l.x/m,C=l.y/m,U=Math.abs(p),Q=Math.abs(C);if(Math.max(U,Q)<.1)return;let K=p,J=C;this.motion=window.setInterval(()=>{Math.abs(K)<.01&&Math.abs(J)<.01?window.clearInterval(this.motion):(K*=Tt,J*=Tt,this.onOffset(20*K,20*J,s))},20)}},this.onTouchMove=s=>{if(!this.touchPosition)return;s.preventDefault();const{screenX:l,screenY:m}=s.touches[0],p=l-this.touchPosition.x,C=m-this.touchPosition.y;this.onOffset(p,C,s);const U=Date.now();this.lastTimeDiff=U-this.lastTimestamp,this.lastTimestamp=U,this.lastOffset={x:p,y:C},this.touchPosition={x:l,y:m}},this.onTouchStart=s=>{const{screenX:l,screenY:m}=s.touches[0];this.touchPosition={x:l,y:m},window.clearInterval(this.motion)},this.onWheel=s=>{const{deltaX:l,deltaY:m}=s;let p;const C=Math.abs(l),U=Math.abs(m);C===U?p="x"===this.lastWheelDirection?l:m:C>U?(p=l,this.lastWheelDirection="x"):(p=m,this.lastWheelDirection="y");const Q=Date.now(),K=Math.abs(p);(Q-this.lastWheelTimestamp>100||K-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-p,-p,s),(s.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=Q,this.lastMixedWheel=K}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular(()=>{const e=this.elementRef.nativeElement,n=(0,O.R)(e,"wheel"),s=(0,O.R)(e,"touchstart"),l=(0,O.R)(e,"touchmove"),m=(0,O.R)(e,"touchend"),p=new z.w;return p.add(this.subscribeWrap("wheel",n,this.onWheel)),p.add(this.subscribeWrap("touchstart",s,this.onTouchStart)),p.add(this.subscribeWrap("touchmove",l,this.onTouchMove)),p.add(this.subscribeWrap("touchend",m,this.onTouchEnd)),()=>{p.unsubscribe()}})}subscribeWrap(e,n,s){return n.subscribe(l=>{this.tabScroll.emit({type:e,event:l}),l.defaultPrevented||s(l)})}onOffset(e,n,s){this.ngZone.run(()=>{this.offsetChange.emit({x:e,y:n,event:s})})}ngOnDestroy(){this.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.R0b),t.Y36(t.SBq))},i.\u0275dir=t.lG2({type:i,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}}),i})();const $t="undefined"!=typeof requestAnimationFrame?w.Z:I.E;let ut=(()=>{class i{constructor(e,n,s,l,m){this.cdr=e,this.ngZone=n,this.viewportRuler=s,this.nzResizeObserver=l,this.dir=m,this.indexFocused=new t.vpe,this.selectFocusedIndex=new t.vpe,this.addClicked=new t.vpe,this.tabScroll=new t.vpe,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new k.xQ,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){const n=(0,N.su)(e);this._selectedIndex!==n&&(this._selectedIndex=e,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(e))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(e){!this.isValidIndex(e)||this.focusIndex===e||!this.keyManager||this.keyManager.setActiveItem(e)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}ngAfterViewInit(){const e=this.dir?this.dir.change:(0,g.of)(null),n=this.viewportRuler.change(150),s=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new y.Em(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),(0,x.e)(s),(0,D.T)(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe((0,u.R)(this.destroy$),(0,T.e)(16,$t)).subscribe(()=>{s()}),(0,D.T)(e,n,this.items.changes).pipe((0,u.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(s),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe((0,u.R)(this.destroy$)).subscribe(l=>{this.indexFocused.emit(l),this.setTabFocus(l),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(e){const n=this.items.toArray().findIndex(s=>s===e);-1!==n&&(this.keyManager.updateActiveItem(n),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(e)))}onOffsetChange(e){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId&&(this.transformX>=0&&e.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&e.x<0))return;e.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+e.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId&&(this.transformY>=0&&e.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&e.y<0))return;e.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+e.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(e){const n=this.navWarpRef.nativeElement.contains(e.target);if(!(0,M.Vb)(e)&&n)switch(e.keyCode){case M.oh:case M.LH:case M.SV:case M.JH:this.lockAnimation(),this.keyManager.onKeydown(e);break;case M.K5:case M.L_:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(e)}}isValidIndex(e){if(!this.items)return!0;const n=this.items?this.items.toArray()[e]:null;return!!n&&!n.disabled}scrollToTab(e){if(!this.items.find(s=>s===e))return;const n=this.items.toArray();if("horizontal"===this.position){let s=this.transformX;if("rtl"===this.getLayoutDirection()){const l=n[0].left+n[0].width-e.left-e.width;lthis.transformX+this.wrapperWidth&&(s=l+e.width-this.wrapperWidth)}else e.left<-this.transformX?s=-e.left:e.left+e.width>-this.transformX+this.wrapperWidth&&(s=-(e.left+e.width-this.wrapperWidth));this.transformX=s,this.transformY=0,this.setTransform(s,0)}else{let s=this.transformY;e.top<-this.transformY?s=-e.top:e.top+e.height>-this.transformY+this.wrapperHeight&&(s=-(e.top+e.height-this.wrapperHeight)),this.transformY=s,this.transformX=0,this.setTransform(0,s)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1},150)})}setTransform(e,n){this.navListRef.nativeElement.style.transform=`translate(${e}px, ${n}px)`}clampTransformX(e){const n=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(n,e),0):Math.min(Math.max(n,e),0)}clampTransformY(e){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,e),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const e=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n&&this.inkBar.alignToElement(n.parentElement)}setPingStatus(){const e={top:!1,right:!1,bottom:!1,left:!1},n=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(e.right=this.transformX>0,e.left=this.transformX+this.wrapperWidth{const l=`ant-tabs-nav-wrap-ping-${s}`;e[s]?n.classList.add(l):n.classList.remove(l)})}setVisibleRange(){let e,n,s,l,m,p;const C=this.items.toArray(),U={width:0,height:0,left:0,top:0,right:0},Q=A=>{let G;return G="right"===n?C[0].left+C[0].width-C[A].left-C[A].width:(C[A]||U)[n],G};"horizontal"===this.position?(e="width",l=this.wrapperWidth,m=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),p=this.addButtonWidth,s=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(n="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthl&&(K=l-p),!C.length)return this.hiddenItems=[],void this.cdr.markForCheck();const J=C.length;let xt=J;for(let A=0;As+K){xt=A-1;break}let yt=0;for(let A=J-1;A>=0;A-=1)if(Q(A){class i{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(e,n){2&e&&(t.uIk("tabindex",n.active?0:-1)("aria-hidden",!n.active),t.Udp("visibility",n.tabPaneAnimated?n.active?null:"hidden":null)("height",n.tabPaneAnimated?n.active?null:0:null)("overflow-y",n.tabPaneAnimated?n.active?null:"none":null)("display",n.tabPaneAnimated||n.active?null:"none"),t.ekj("ant-tabs-tabpane-active",n.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:St,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,n){1&e&&t.YNc(0,Bt,2,1,"ng-container",0),2&e&&t.Q6J("ngIf",n.active||n.forceRender)},directives:[R.O5,R.tP],encapsulation:2,changeDetection:0}),i})(),Mt=(()=>{class i{constructor(){this.closeIcon="close"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(e,n){1&e&&t.YNc(0,Rt,2,1,"ng-container",0),2&e&&t.Q6J("nzStringTemplateOutlet",n.closeIcon)},directives:[b.f,E.Ls],encapsulation:2}),i})(),mt=(()=>{class i{constructor(e){this.templateRef=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.Rgc,1))},i.\u0275dir=t.lG2({type:i,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]}),i})(),gt=(()=>{class i{constructor(e,n,s){this.elementRef=e,this.routerLink=n,this.routerLinkWithHref=s}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(F.rH,10),t.Y36(F.yS,10))},i.\u0275dir=t.lG2({type:i,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]}),i})(),It=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=t.lG2({type:i,selectors:[["","nz-tab",""]],exportAs:["nzTab"]}),i})();const Dt=new t.OlP("NZ_TAB_SET");let pt=(()=>{class i{constructor(e){this.closestTabSet=e,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new t.vpe,this.nzDeselect=new t.vpe,this.nzClick=new t.vpe,this.nzContextmenu=new t.vpe,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new k.xQ}get content(){return this.template||this.contentTemplate}get label(){var e;return this.nzTitle||(null===(e=this.nzTabLinkTemplateDirective)||void 0===e?void 0:e.templateRef)}ngOnChanges(e){const{nzTitle:n,nzDisabled:s,nzForceRender:l}=e;(n||s||l)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(Dt))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab"]],contentQueries:function(e,n,s){if(1&e&&(t.Suo(s,mt,5),t.Suo(s,It,5,t.Rgc),t.Suo(s,gt,5)),2&e){let l;t.iGM(l=t.CRH())&&(n.nzTabLinkTemplateDirective=l.first),t.iGM(l=t.CRH())&&(n.template=l.first),t.iGM(l=t.CRH())&&(n.linkDirective=l.first)}},viewQuery:function(e,n){if(1&e&&t.Gf(Lt,7),2&e){let s;t.iGM(s=t.CRH())&&(n.contentTemplate=s.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[t.TTD],ngContentSelectors:Ft,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(e,n){1&e&&(t.F$t(kt),t.YNc(0,Wt,1,0,"ng-template",null,0,t.W1O),t.YNc(2,wt,1,0,"ng-template",null,1,t.W1O))},encapsulation:2,changeDetection:0}),(0,P.gn)([(0,S.yF)()],i.prototype,"nzClosable",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzDisabled",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzForceRender",void 0),i})();class Gt{}let Vt=0,Ot=(()=>{class i{constructor(e,n,s,l){this.nzConfigService=e,this.cdr=n,this.directionality=s,this.router=l,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new t.vpe(!0),this.nzSelectedIndexChange=new t.vpe,this.nzTabListScroll=new t.vpe,this.nzClose=new t.vpe,this.nzAdd=new t.vpe,this.allTabs=new t.n_E,this.tabs=new t.n_E,this.dir="ltr",this.destroy$=new k.xQ,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=z.w.EMPTY,this.tabsSubscription=z.w.EMPTY,this.canDeactivateSubscription=z.w.EMPTY,this.tabSetId=Vt++}get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(e){this.indexToSelect=(0,N.su)(e,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe((0,u.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){Promise.resolve().then(()=>{this.setUpRouter()}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const n=this.tabs.toArray();for(let s=0;s{this.tabs.forEach((s,l)=>s.isActive=l===e),n||this.nzSelectedIndexChange.emit(e)})}this.tabs.forEach((n,s)=>{n.position=s-e,null!=this.selectedIndex&&0===n.position&&!n.origin&&(n.origin=e-this.selectedIndex)}),this.selectedIndex!==e&&(this.selectedIndex=e,this.cdr.markForCheck())}onClose(e,n){n.preventDefault(),n.stopPropagation(),this.nzClose.emit({index:e})}onAdd(){this.nzAdd.emit()}clampTabIndex(e){return Math.min(this.tabs.length-1,Math.max(e||0,0))}createChangeEvent(e){const n=new Gt;return n.index=e,this.tabs&&this.tabs.length&&(n.tab=this.tabs.toArray()[e],this.tabs.forEach((s,l)=>{l!==e&&s.nzDeselect.emit()}),n.tab.nzSelect.emit()),n}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=(0,D.T)(...this.tabs.map(e=>e.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe((0,B.O)(this.allTabs)).subscribe(e=>{this.tabs.reset(e.filter(n=>n.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(e,n){return"function"==typeof this.nzCanDeactivate?(0,S.lN)(this.nzCanDeactivate(e,n)).pipe((0,Y.P)(),(0,u.R)(this.destroy$)):(0,g.of)(!0)}clickNavItem(e,n,s){e.nzDisabled||(e.nzClick.emit(),this.isRouterLinkClickEvent(n,s)||this.setSelectedIndex(n))}isRouterLinkClickEvent(e,n){var s,l;const m=n.target;return!!this.nzLinkRouter&&!!(null===(l=null===(s=this.tabs.toArray()[e])||void 0===s?void 0:s.linkDirective)||void 0===l?void 0:l.elementRef.nativeElement.contains(m))}contextmenuNavItem(e,n){e.nzDisabled||e.nzContextmenu.emit(n)}setSelectedIndex(e){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,e).subscribe(n=>{n&&(this.nzSelectedIndex=e,this.tabNavBarRef.focusIndex=e,this.cdr.markForCheck())})}getTabIndex(e,n){return e.nzDisabled?null:this.selectedIndex===n?0:-1}getTabContentId(e){return`nz-tabs-${this.tabSetId}-tab-${e}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${nt.Bq} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);this.router.events.pipe((0,u.R)(this.destroy$),(0,ot.h)(e=>e instanceof F.m2),(0,B.O)(!0),(0,at.g)(0)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router.navigated){const e=this.findShouldActiveTabIndex();e!==this.selectedIndex&&this.setSelectedIndex(e),this.nzHideAll=-1===e}}findShouldActiveTabIndex(){const e=this.tabs.toArray(),n=this.isLinkActive(this.router);return e.findIndex(s=>{const l=s.linkDirective;return!!l&&(n(l.routerLink)||n(l.routerLinkWithHref))})}isLinkActive(e){return n=>!!n&&e.isActive(n.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?`${this.getTabContentMarginValue()}%`:""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?`${this.getTabContentMarginValue()}%`:""}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(H.jY),t.Y36(t.sBO),t.Y36(j.Is,8),t.Y36(F.F0,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tabset"]],contentQueries:function(e,n,s){if(1&e&&t.Suo(s,pt,5),2&e){let l;t.iGM(l=t.CRH())&&(n.allTabs=l)}},viewQuery:function(e,n){if(1&e&&t.Gf(ut,5),2&e){let s;t.iGM(s=t.CRH())&&(n.tabNavBarRef=s.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(e,n){2&e&&t.ekj("ant-tabs-card","card"===n.nzType||"editable-card"===n.nzType)("ant-tabs-editable","editable-card"===n.nzType)("ant-tabs-editable-card","editable-card"===n.nzType)("ant-tabs-centered",n.nzCentered)("ant-tabs-rtl","rtl"===n.dir)("ant-tabs-top","top"===n.nzTabPosition)("ant-tabs-bottom","bottom"===n.nzTabPosition)("ant-tabs-left","left"===n.nzTabPosition)("ant-tabs-right","right"===n.nzTabPosition)("ant-tabs-default","default"===n.nzSize)("ant-tabs-small","small"===n.nzSize)("ant-tabs-large","large"===n.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[t._Bn([{provide:Dt,useExisting:i}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(e,n){1&e&&(t.YNc(0,Zt,2,9,"nz-tabs-nav",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.YNc(3,Qt,1,4,"div",3),t.qZA(),t.qZA()),2&e&&(t.Q6J("ngIf",n.tabs.length||n.addable),t.xp6(2),t.Udp("margin-left",n.getTabContentMarginLeft())("margin-right",n.getTabContentMarginRight()),t.ekj("ant-tabs-content-top","top"===n.nzTabPosition)("ant-tabs-content-bottom","bottom"===n.nzTabPosition)("ant-tabs-content-left","left"===n.nzTabPosition)("ant-tabs-content-right","right"===n.nzTabPosition)("ant-tabs-content-animated",n.tabPaneAnimated),t.xp6(1),t.Q6J("ngForOf",n.tabs))},directives:[ut,Mt,Et,R.O5,R.PC,R.sg,ht,y.kH,b.f],encapsulation:2}),(0,P.gn)([(0,H.oS)()],i.prototype,"nzType",void 0),(0,P.gn)([(0,H.oS)()],i.prototype,"nzSize",void 0),(0,P.gn)([(0,H.oS)()],i.prototype,"nzAnimated",void 0),(0,P.gn)([(0,H.oS)()],i.prototype,"nzTabBarGutter",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzHideAdd",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzCentered",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzHideAll",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzLinkRouter",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzLinkExact",void 0),i})(),jt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[j.vT,R.ez,q.Q8,E.PV,b.T,lt.ud,y.rt,et.ZD,V.b1]]}),i})()}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[55],{8909:(X,W,r)=>{r.d(W,{m:()=>k});var t=r(9808),b=r(7488),E=r(8369),a=r(209),x=r(4867),y=r(7677),N=r(3309),M=r(7345),O=r(9476),z=r(8481),w=r(647),I=r(5e3);let k=(()=>{class g{}return g.\u0275fac=function(u){return new(u||g)},g.\u0275mod=I.oAB({type:g}),g.\u0275inj=I.cJS({imports:[[t.ez,z.X,w.PV,b.y,E.W,a.i,x.Q,y.G,N.U,M.W,O.L]]}),g})()},2233:(X,W,r)=>{r.d(W,{P:()=>k});var t=r(5e3),b=r(325),E=r(1894),a=r(868),x=r(9808),y=r(647),N=r(4401);const M=["tabBarExtraContent"];function O(g,D){if(1&g&&t.GkF(0,5),2&g){const u=t.oxw();t.Q6J("ngTemplateOutlet",u.tabBarExtraContent||null)}}const z=function(){return{transform:"scale(0.75, 0.75) translate(0, -2px)"}};function w(g,D){if(1&g&&(t.TgZ(0,"a",7),t._UZ(1,"i",8),t._uU(2),t._UZ(3,"nz-badge",9),t.qZA()),2&g){const u=t.oxw().$implicit;t.Q6J("routerLink",u.routeName),t.xp6(1),t.Q6J("nzType",u.iconName),t.xp6(1),t.hij(" ",u.tabLabel," "),t.xp6(1),t.MGl("nzTitle","There are ",u.badgeCount," outstanding revisions."),t.Q6J("nzCount",u.badgeCount)("nzStyle",t.DdM(6,z))}}function I(g,D){1&g&&(t.TgZ(0,"nz-tab"),t.YNc(1,w,4,7,"a",6),t.qZA())}let k=(()=>{class g{constructor(u){this.router=u,this.selectedTabIndex=this.getActivatedRouteIndex(this.router.url)}getActivatedRouteIndex(u){var T;return null===(T=this.tabs)||void 0===T?void 0:T.findIndex(B=>u.includes(B.routeName))}}return g.\u0275fac=function(u){return new(u||g)(t.Y36(b.F0))},g.\u0275cmp=t.Xpm({type:g,selectors:[["cvc-tab-navigation"]],contentQueries:function(u,T,B){if(1&u&&t.Suo(B,M,5),2&u){let Y;t.iGM(Y=t.CRH())&&(T.tabBarExtraContent=Y.first)}},inputs:{entity:"entity",tabs:"tabs"},decls:6,vars:3,consts:[["id","section-tabs"],["nzSpan","24"],["nzLinkRouter","","nzType","card","nzSize","small",3,"nzSelectedIndex","nzTabBarExtraContent"],["extraTpl",""],[4,"ngFor","ngForOf"],[3,"ngTemplateOutlet"],["nz-tab-link","",3,"routerLink",4,"nzTabLink"],["nz-tab-link","",3,"routerLink"],["nz-icon","",3,"nzType"],["nzStandalone","",3,"nzCount","nzTitle","nzStyle"]],template:function(u,T){if(1&u&&(t.TgZ(0,"nz-row",0),t.TgZ(1,"nz-col",1),t.TgZ(2,"nz-tabset",2),t.YNc(3,O,1,1,"ng-template",null,3,t.W1O),t.YNc(5,I,2,0,"nz-tab",4),t.qZA(),t.qZA(),t.qZA()),2&u){const B=t.MAs(4);t.xp6(2),t.Q6J("nzSelectedIndex",T.selectedTabIndex)("nzTabBarExtraContent",B),t.xp6(3),t.Q6J("ngForOf",T.tabs)}},directives:[E.SK,E.t3,a.xH,x.tP,x.sg,a.xw,a.Fx,a.Ao,b.yS,y.Ls,N.x7],styles:["[_nghost-%COMP%]{display:block}"]}),g})()},8762:(X,W,r)=>{r.d(W,{c:()=>O});var t=r(9808),b=r(868),E=r(1894),a=r(325),x=r(647),y=r(6949),N=r(4401),M=r(5e3);let O=(()=>{class z{}return z.\u0275fac=function(I){return new(I||z)},z.\u0275mod=M.oAB({type:z}),z.\u0275inj=M.cJS({imports:[[t.ez,a.Bz,b.we,E.Jb,x.PV,N.mS,y.WG]]}),z})()},4509:(X,W,r)=>{r.d(W,{w:()=>u});var t=r(9808),b=r(4182),E=r(7484),a=r(4546),x=r(7008),y=r(1825),N=r(4375),M=r(6042),O=r(4623),z=r(868),w=r(6949),I=r(8909),k=r(7525),g=r(4921),D=r(5e3);let u=(()=>{class T{}return T.\u0275fac=function(Y){return new(Y||T)},T.\u0275mod=D.oAB({type:T}),T.\u0275inj=D.cJS({imports:[[t.ez,b.UX,w.WG,M.sL,E.vh,z.we,a.U5,k.j,g.Gl,b.u5,x.B,y.A,N.R,I.m,O.K]]}),T})()},4921:(X,W,r)=>{r.d(W,{YW:()=>nt,Gl:()=>ct,O3:()=>S,jO:()=>H});var t=r(226),b=r(2845),E=r(9808),a=r(5e3),x=r(4182),y=r(647),N=r(8929),M=r(2916),O=r(6787),z=r(3753),w=r(655),I=r(1159),k=r(7429),g=r(1059),D=r(7545),u=r(6950),T=r(1721);const B=["items"];function Y(h,v){1&h&&a.GkF(0)}const ot=function(h){return{$implicit:h}};function at(h,v){if(1&h&&(a.ynx(0),a.YNc(1,Y,1,0,"ng-container",8),a.BQk()),2&h){const o=a.oxw().$implicit,d=a.oxw(2);a.xp6(1),a.Q6J("ngTemplateOutlet",d.suggestionTemplate)("ngTemplateOutletContext",a.VKq(2,ot,o))}}function V(h,v){if(1&h&&a._uU(0),2&h){const o=a.oxw().$implicit,d=a.oxw(2);a.Oqu(d.nzValueWith(o))}}function R(h,v){if(1&h){const o=a.EpF();a.TgZ(0,"li",4,5),a.NdJ("click",function(){const f=a.CHM(o).$implicit;return a.oxw(2).selectSuggestion(f)}),a.YNc(2,at,2,4,"ng-container",6),a.YNc(3,V,1,1,"ng-template",null,7,a.W1O),a.qZA()}if(2&h){const o=v.index,d=a.MAs(4),_=a.oxw(2);a.ekj("focus",o===_.activeIndex),a.xp6(2),a.Q6J("ngIf",_.suggestionTemplate)("ngIfElse",d)}}function tt(h,v){1&h&&(a.TgZ(0,"span"),a._UZ(1,"i",11),a.qZA())}function et(h,v){if(1&h&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&h){const o=a.oxw(3);a.xp6(1),a.Oqu(o.nzNotFoundContent)}}function rt(h,v){if(1&h&&(a.TgZ(0,"li",9),a.YNc(1,tt,2,0,"span",10),a.YNc(2,et,2,1,"span",10),a.qZA()),2&h){const o=a.oxw(2);a.xp6(1),a.Q6J("ngIf",o.nzLoading),a.xp6(1),a.Q6J("ngIf",!o.nzLoading)}}function j(h,v){if(1&h&&(a.TgZ(0,"ul",1),a.YNc(1,R,5,4,"li",2),a.YNc(2,rt,3,2,"li",3),a.qZA()),2&h){const o=a.oxw();a.xp6(1),a.Q6J("ngForOf",o.filteredSuggestions),a.xp6(1),a.Q6J("ngIf",0===o.filteredSuggestions.length)}}const P=["*"];let S=(()=>{class h{}return h.\u0275fac=function(o){return new(o||h)},h.\u0275dir=a.lG2({type:h,selectors:[["","nzMentionSuggestion",""]],exportAs:["nzMentionSuggestion"]}),h})();let q=(()=>{class h{constructor(){this.triggerChange$=new N.xQ}triggerChanged(){return this.triggerChange$.asObservable()}registerTrigger(o){this.trigger!==o&&(this.trigger=o,this.triggerChange$.next(o))}ngOnDestroy(){this.triggerChange$.complete()}}return h.\u0275fac=function(o){return new(o||h)},h.\u0275prov=a.Yz7({token:h,factory:h.\u0275fac}),h})();const lt={provide:x.JU,useExisting:(0,a.Gpc)(()=>H),multi:!0};let H=(()=>{class h{constructor(o,d){this.el=o,this.nzMentionService=d,this.onChange=()=>{},this.onTouched=()=>{},this.onFocusin=new a.vpe,this.onBlur=new a.vpe,this.onInput=new a.vpe,this.onKeydown=new a.vpe,this.onClick=new a.vpe}completeEvents(){this.onFocusin.complete(),this.onBlur.complete(),this.onInput.complete(),this.onKeydown.complete(),this.onClick.complete()}focus(o){this.el.nativeElement.focus(),this.el.nativeElement.setSelectionRange(o,o)}insertMention(o){const d=this.el.nativeElement.value,_=`${o.mention} `,f=[d.slice(0,o.startPos+1),_,d.slice(o.endPos,d.length)].join("");this.el.nativeElement.value=f,this.focus(o.startPos+_.length+1),this.onChange(f),this.value=f}writeValue(o){this.value=o,this.el.nativeElement.value="string"==typeof o?o:""}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}ngAfterViewInit(){this.nzMentionService.registerTrigger(this)}ngOnDestroy(){this.completeEvents()}}return h.\u0275fac=function(o){return new(o||h)(a.Y36(a.SBq),a.Y36(q))},h.\u0275dir=a.lG2({type:h,selectors:[["input","nzMentionTrigger",""],["textarea","nzMentionTrigger",""]],hostAttrs:["autocomplete","off"],hostBindings:function(o,d){1&o&&a.NdJ("focusin",function(){return d.onFocusin.emit()})("blur",function(){return d.onBlur.emit()})("input",function(f){return d.onInput.emit(f)})("keydown",function(f){return d.onKeydown.emit(f)})("click",function(f){return d.onClick.emit(f)})},exportAs:["nzMentionTrigger"],features:[a._Bn([lt])]}),h})(),nt=(()=>{class h{constructor(o,d,_,f,L,$){this.ngZone=o,this.ngDocument=d,this.cdr=_,this.overlay=f,this.viewContainerRef=L,this.nzMentionService=$,this.nzValueWith=Z=>Z,this.nzPrefix="@",this.nzLoading=!1,this.nzNotFoundContent="\u65e0\u5339\u914d\u7ed3\u679c\uff0c\u8f7b\u6572\u7a7a\u683c\u5b8c\u6210\u8f93\u5165",this.nzPlacement="bottom",this.nzSuggestions=[],this.nzOnSelect=new a.vpe,this.nzOnSearchChange=new a.vpe,this.isOpen=!1,this.filteredSuggestions=[],this.suggestionTemplate=null,this.activeIndex=-1,this.previousValue=null,this.cursorMention=null,this.overlayRef=null}set suggestionChild(o){o&&(this.suggestionTemplate=o)}get triggerNativeElement(){return this.trigger.el.nativeElement}get focusItemElement(){var o;const d=null===(o=this.items)||void 0===o?void 0:o.toArray();return d&&d[this.activeIndex]?d[this.activeIndex].nativeElement:null}ngOnInit(){this.nzMentionService.triggerChanged().subscribe(o=>{this.trigger=o,this.bindTriggerEvents(),this.closeDropdown(),this.overlayRef=null})}ngOnChanges(o){o.hasOwnProperty("nzSuggestions")&&this.isOpen&&(this.previousValue=null,this.activeIndex=-1,this.resetDropdown(!1))}ngAfterViewInit(){this.items.changes.pipe((0,g.O)(this.items),(0,D.w)(()=>{const o=this.items.toArray();return new M.y(d=>this.ngZone.runOutsideAngular(()=>(0,O.T)(...o.map(_=>(0,z.R)(_.nativeElement,"mousedown"))).subscribe(d)))})).subscribe(o=>{o.preventDefault()})}ngOnDestroy(){this.closeDropdown()}closeDropdown(){this.overlayRef&&this.overlayRef.hasAttached()&&(this.overlayRef.detach(),this.overlayOutsideClickSubscription.unsubscribe(),this.isOpen=!1,this.cdr.markForCheck())}openDropdown(){this.attachOverlay(),this.isOpen=!0,this.cdr.markForCheck()}getMentions(){return this.trigger?(0,T.qR)(this.trigger.value,this.nzPrefix):[]}selectSuggestion(o){const d=this.nzValueWith(o);this.trigger.insertMention({mention:d,startPos:this.cursorMentionStart,endPos:this.cursorMentionEnd}),this.nzOnSelect.emit(o),this.closeDropdown(),this.activeIndex=-1}handleInput(o){const d=o.target;this.trigger.onChange(d.value),this.trigger.value=d.value,this.resetDropdown()}handleKeydown(o){const d=o.keyCode;if(this.isOpen&&d===I.K5&&-1!==this.activeIndex&&this.filteredSuggestions.length)this.selectSuggestion(this.filteredSuggestions[this.activeIndex]),o.preventDefault();else if(d===I.oh||d===I.SV)this.resetDropdown(),o.stopPropagation();else{if(this.isOpen&&(d===I.Mf||d===I.hY))return void this.closeDropdown();this.isOpen&&d===I.LH&&(this.setPreviousItemActive(),o.preventDefault(),o.stopPropagation()),this.isOpen&&d===I.JH&&(this.setNextItemActive(),o.preventDefault(),o.stopPropagation())}}handleClick(){this.resetDropdown()}bindTriggerEvents(){this.trigger.onInput.subscribe(o=>this.handleInput(o)),this.trigger.onKeydown.subscribe(o=>this.handleKeydown(o)),this.trigger.onClick.subscribe(()=>this.handleClick())}suggestionsFilter(o,d){const _=o.substring(1);if(this.previousValue===o&&o!==this.cursorMention[0])return;this.previousValue=o,d&&this.nzOnSearchChange.emit({value:this.cursorMention.substring(1),prefix:this.cursorMention[0]});const f=_.toLowerCase();this.filteredSuggestions=this.nzSuggestions.filter(L=>this.nzValueWith(L).toLowerCase().includes(f))}resetDropdown(o=!0){if(this.resetCursorMention(),"string"!=typeof this.cursorMention||!this.canOpen())return void this.closeDropdown();this.suggestionsFilter(this.cursorMention,o);const d=this.filteredSuggestions.indexOf(this.cursorMention.substring(1));this.activeIndex=d>=0?d:0,this.openDropdown()}setNextItemActive(){this.activeIndex=this.activeIndex+1<=this.filteredSuggestions.length-1?this.activeIndex+1:0,this.cdr.markForCheck(),this.scrollToFocusItem()}setPreviousItemActive(){this.activeIndex=this.activeIndex-1<0?this.filteredSuggestions.length-1:this.activeIndex-1,this.cdr.markForCheck(),this.scrollToFocusItem()}scrollToFocusItem(){this.focusItemElement&&this.focusItemElement.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"})}canOpen(){const o=this.triggerNativeElement;return!o.readOnly&&!o.disabled}resetCursorMention(){const o=this.triggerNativeElement.value.replace(/[\r\n]/g," ")||"",d=this.triggerNativeElement.selectionStart,_="string"==typeof this.nzPrefix?[this.nzPrefix]:this.nzPrefix;let f=_.length;for(;f>=0;){const L=o.lastIndexOf(_[f],d),$=o.indexOf(" ",d)>-1?o.indexOf(" ",d):o.length,Z=o.substring(L,$);if(!(L>0&&" "!==o[L-1]||L<0||Z.includes(_[f],1)||Z.includes(" ")))return this.cursorMention=Z,this.cursorMentionStart=L,void(this.cursorMentionEnd=$);this.cursorMention=null,this.cursorMentionStart=-1,this.cursorMentionEnd=-1,f--}}updatePositions(){const o=(0,T.Ly)(this.triggerNativeElement,this.cursorMentionStart),d=o.top-this.triggerNativeElement.getBoundingClientRect().height-this.triggerNativeElement.scrollTop+("bottom"===this.nzPlacement?o.height-6:-6);this.positionStrategy.withDefaultOffsetX(o.left-this.triggerNativeElement.scrollLeft).withDefaultOffsetY(d),"bottom"===this.nzPlacement&&this.positionStrategy.withPositions([...u.fG]),"top"===this.nzPlacement&&this.positionStrategy.withPositions([...u.A7]),this.positionStrategy.apply()}subscribeOverlayOutsideClick(){return(0,O.T)(this.overlayRef.outsidePointerEvents(),(0,z.R)(this.ngDocument,"touchend")).subscribe(o=>{var d;const _=o.target;this.isOpen&&_!==this.trigger.el.nativeElement&&!(null===(d=this.overlayRef)||void 0===d?void 0:d.overlayElement.contains(_))&&this.closeDropdown()})}attachOverlay(){this.overlayRef||(this.portal=new k.UE(this.suggestionsTemp,this.viewContainerRef),this.overlayRef=this.overlay.create(this.getOverlayConfig())),this.overlayRef&&!this.overlayRef.hasAttached()&&(this.overlayRef.attach(this.portal),this.overlayOutsideClickSubscription=this.subscribeOverlayOutsideClick()),this.updatePositions()}getOverlayConfig(){return new b.X_({positionStrategy:this.getOverlayPosition(),scrollStrategy:this.overlay.scrollStrategies.reposition(),disposeOnNavigation:!0})}getOverlayPosition(){const o=[new b.tR({originX:"start",originY:"bottom"},{overlayX:"start",overlayY:"top"}),new b.tR({originX:"start",originY:"top"},{overlayX:"start",overlayY:"bottom"})];return this.positionStrategy=this.overlay.position().flexibleConnectedTo(this.trigger.el).withPositions(o).withFlexibleDimensions(!1).withPush(!1),this.positionStrategy}}return h.\u0275fac=function(o){return new(o||h)(a.Y36(a.R0b),a.Y36(E.K0,8),a.Y36(a.sBO),a.Y36(b.aV),a.Y36(a.s_b),a.Y36(q))},h.\u0275cmp=a.Xpm({type:h,selectors:[["nz-mention"]],contentQueries:function(o,d,_){if(1&o&&a.Suo(_,S,5,a.Rgc),2&o){let f;a.iGM(f=a.CRH())&&(d.suggestionChild=f.first)}},viewQuery:function(o,d){if(1&o&&(a.Gf(a.Rgc,5),a.Gf(B,5,a.SBq)),2&o){let _;a.iGM(_=a.CRH())&&(d.suggestionsTemp=_.first),a.iGM(_=a.CRH())&&(d.items=_)}},inputs:{nzValueWith:"nzValueWith",nzPrefix:"nzPrefix",nzLoading:"nzLoading",nzNotFoundContent:"nzNotFoundContent",nzPlacement:"nzPlacement",nzSuggestions:"nzSuggestions"},outputs:{nzOnSelect:"nzOnSelect",nzOnSearchChange:"nzOnSearchChange"},exportAs:["nzMention"],features:[a._Bn([q]),a.TTD],ngContentSelectors:P,decls:3,vars:0,consts:[["suggestions",""],[1,"ant-mention-dropdown"],["class","ant-mention-dropdown-item",3,"focus","click",4,"ngFor","ngForOf"],["class","ant-mention-dropdown-notfound ant-mention-dropdown-item",4,"ngIf"],[1,"ant-mention-dropdown-item",3,"click"],["items",""],[4,"ngIf","ngIfElse"],["defaultSuggestion",""],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-mention-dropdown-notfound","ant-mention-dropdown-item"],[4,"ngIf"],["nz-icon","","nzType","loading"]],template:function(o,d){1&o&&(a.F$t(),a.Hsn(0),a.YNc(1,j,3,2,"ng-template",null,0,a.W1O))},directives:[E.sg,E.O5,E.tP,y.Ls],encapsulation:2,changeDetection:0}),(0,w.gn)([(0,T.yF)()],h.prototype,"nzLoading",void 0),h})(),ct=(()=>{class h{}return h.\u0275fac=function(o){return new(o||h)},h.\u0275mod=a.oAB({type:h}),h.\u0275inj=a.cJS({imports:[[t.vT,E.ez,x.u5,b.U8,y.PV]]}),h})()},868:(X,W,r)=>{r.d(W,{xw:()=>pt,Ao:()=>gt,Fx:()=>mt,xH:()=>Ot,we:()=>jt});var t=r(5e3),b=r(969),E=r(647),a=r(6360),x=r(6987),y=r(5664),N=r(3191),M=r(1159),O=r(3753),z=r(2654),w=r(352),I=r(8139),k=r(8929),g=r(1086),D=r(6787),u=r(7625),T=r(7138),B=r(1059),Y=r(7224),ot=r(2198),at=r(6792),V=r(3677),R=r(9808),tt=r(4219),et=r(2321),rt=r(5577),j=r(226),P=r(655),S=r(1721),F=r(325),q=r(7144),lt=r(925),H=r(9439),nt=r(948);function vt(i,c){if(1&i&&(t.ynx(0),t._UZ(1,"i",1),t.BQk()),2&i){const e=c.$implicit;t.xp6(1),t.Q6J("nzType",e)}}function ct(i,c){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.hij(" ",e.tab.label," ")}}const h=function(){return{visible:!1}};function v(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"li",8),t.NdJ("click",function(){const l=t.CHM(e).$implicit;return t.oxw(2).onSelect(l)})("contextmenu",function(s){const m=t.CHM(e).$implicit;return t.oxw(2).onContextmenu(m,s)}),t.YNc(1,ct,2,1,"ng-container",9),t.qZA()}if(2&i){const e=c.$implicit;t.ekj("ant-tabs-dropdown-menu-item-disabled",e.disabled),t.Q6J("nzSelected",e.active)("nzDisabled",e.disabled),t.xp6(1),t.Q6J("nzStringTemplateOutlet",e.tab.label)("nzStringTemplateOutletContext",t.DdM(6,h))}}function o(i,c){if(1&i&&(t.TgZ(0,"ul",6),t.YNc(1,v,2,7,"li",7),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngForOf",e.items)}}function d(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(){return t.CHM(e),t.oxw().addClicked.emit()}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("addIcon",e.addIcon)}}const _=function(){return{minWidth:"46px"}},f=["navWarp"],L=["navList"];function $(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"button",8),t.NdJ("click",function(){return t.CHM(e),t.oxw().addClicked.emit()}),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("addIcon",e.addIcon)}}function Z(i,c){}function Pt(i,c){if(1&i&&(t.TgZ(0,"div",9),t.YNc(1,Z,0,0,"ng-template",10),t.qZA()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",e.extraTemplate)}}const At=["*"],St=["nz-tab-body",""];function Nt(i,c){}function Bt(i,c){if(1&i&&(t.ynx(0),t.YNc(1,Nt,0,0,"ng-template",1),t.BQk()),2&i){const e=t.oxw();t.xp6(1),t.Q6J("ngTemplateOutlet",e.content)}}function Rt(i,c){if(1&i&&(t.ynx(0),t._UZ(1,"i",1),t.BQk()),2&i){const e=c.$implicit;t.xp6(1),t.Q6J("nzType",e)}}const Lt=["contentTemplate"];function Wt(i,c){1&i&&t.Hsn(0)}function wt(i,c){1&i&&t.Hsn(0,1)}const kt=[[["","nz-tab-link",""]],"*"],Ft=["[nz-tab-link]","*"];function Ut(i,c){if(1&i&&(t.ynx(0),t._uU(1),t.BQk()),2&i){const e=t.oxw().$implicit;t.xp6(1),t.Oqu(e.label)}}function Ht(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"button",10),t.NdJ("click",function(s){t.CHM(e);const l=t.oxw().index;return t.oxw(2).onClose(l,s)}),t.qZA()}if(2&i){const e=t.oxw().$implicit;t.Q6J("closeIcon",e.nzCloseIcon)}}const Kt=function(){return{visible:!0}};function Yt(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"div",6),t.NdJ("click",function(s){const l=t.CHM(e),m=l.$implicit,p=l.index;return t.oxw(2).clickNavItem(m,p,s)})("contextmenu",function(s){const m=t.CHM(e).$implicit;return t.oxw(2).contextmenuNavItem(m,s)}),t.TgZ(1,"div",7),t.YNc(2,Ut,2,1,"ng-container",8),t.YNc(3,Ht,1,1,"button",9),t.qZA(),t.qZA()}if(2&i){const e=c.$implicit,n=c.index,s=t.oxw(2);t.Udp("margin-right","horizontal"===s.position?s.nzTabBarGutter:null,"px")("margin-bottom","vertical"===s.position?s.nzTabBarGutter:null,"px"),t.ekj("ant-tabs-tab-active",s.nzSelectedIndex===n)("ant-tabs-tab-disabled",e.nzDisabled),t.xp6(1),t.Q6J("disabled",e.nzDisabled)("tab",e)("active",s.nzSelectedIndex===n),t.uIk("tabIndex",s.getTabIndex(e,n))("aria-disabled",e.nzDisabled)("aria-selected",s.nzSelectedIndex===n&&!s.nzHideAll)("aria-controls",s.getTabContentId(n)),t.xp6(1),t.Q6J("nzStringTemplateOutlet",e.label)("nzStringTemplateOutletContext",t.DdM(18,Kt)),t.xp6(1),t.Q6J("ngIf",e.nzClosable&&s.closable&&!e.nzDisabled)}}function Zt(i,c){if(1&i){const e=t.EpF();t.TgZ(0,"nz-tabs-nav",4),t.NdJ("tabScroll",function(s){return t.CHM(e),t.oxw().nzTabListScroll.emit(s)})("selectFocusedIndex",function(s){return t.CHM(e),t.oxw().setSelectedIndex(s)})("addClicked",function(){return t.CHM(e),t.oxw().onAdd()}),t.YNc(1,Yt,4,19,"div",5),t.qZA()}if(2&i){const e=t.oxw();t.Q6J("ngStyle",e.nzTabBarStyle)("selectedIndex",e.nzSelectedIndex||0)("inkBarAnimated",e.inkBarAnimated)("addable",e.addable)("addIcon",e.nzAddIcon)("hideBar",e.nzHideAll)("position",e.position)("extraTemplate",e.nzTabBarExtraContent),t.xp6(1),t.Q6J("ngForOf",e.tabs)}}function Qt(i,c){if(1&i&&t._UZ(0,"div",11),2&i){const e=c.$implicit,n=c.index,s=t.oxw();t.Q6J("active",s.nzSelectedIndex===n&&!s.nzHideAll)("content",e.content)("forceRender",e.nzForceRender)("tabPaneAnimated",s.tabPaneAnimated)}}let it=(()=>{class i{constructor(e){this.elementRef=e,this.addIcon="plus",this.element=this.elementRef.nativeElement}getElementWidth(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetWidth)||0}getElementHeight(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab-add-button"],["button","nz-tab-add-button",""]],hostAttrs:["aria-label","Add tab","type","button",1,"ant-tabs-nav-add"],inputs:{addIcon:"addIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(e,n){1&e&&t.YNc(0,vt,2,1,"ng-container",0),2&e&&t.Q6J("nzStringTemplateOutlet",n.addIcon)},directives:[b.f,E.Ls],encapsulation:2}),i})(),dt=(()=>{class i{constructor(e,n,s){this.elementRef=e,this.ngZone=n,this.animationMode=s,this.position="horizontal",this.animated=!0}get _animated(){return"NoopAnimations"!==this.animationMode&&this.animated}alignToElement(e){this.ngZone.runOutsideAngular(()=>{(0,x.e)(()=>this.setStyles(e))})}setStyles(e){const n=this.elementRef.nativeElement;"horizontal"===this.position?(n.style.top="",n.style.height="",n.style.left=this.getLeftPosition(e),n.style.width=this.getElementWidth(e)):(n.style.left="",n.style.width="",n.style.top=this.getTopPosition(e),n.style.height=this.getElementHeight(e))}getLeftPosition(e){return e?`${e.offsetLeft||0}px`:"0"}getElementWidth(e){return e?`${e.offsetWidth||0}px`:"0"}getTopPosition(e){return e?`${e.offsetTop||0}px`:"0"}getElementHeight(e){return e?`${e.offsetHeight||0}px`:"0"}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(t.R0b),t.Y36(a.Qb,8))},i.\u0275dir=t.lG2({type:i,selectors:[["nz-tabs-ink-bar"],["","nz-tabs-ink-bar",""]],hostAttrs:[1,"ant-tabs-ink-bar"],hostVars:2,hostBindings:function(e,n){2&e&&t.ekj("ant-tabs-ink-bar-animated",n._animated)},inputs:{position:"position",animated:"animated"}}),i})(),ht=(()=>{class i{constructor(e){this.elementRef=e,this.disabled=!1,this.active=!1,this.el=e.nativeElement,this.parentElement=this.el.parentElement}focus(){this.el.focus()}get width(){return this.parentElement.offsetWidth}get height(){return this.parentElement.offsetHeight}get left(){return this.parentElement.offsetLeft}get top(){return this.parentElement.offsetTop}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq))},i.\u0275dir=t.lG2({type:i,selectors:[["","nzTabNavItem",""]],inputs:{disabled:"disabled",tab:"tab",active:"active"}}),i})(),_t=(()=>{class i{constructor(e,n){this.cdr=e,this.elementRef=n,this.items=[],this.addable=!1,this.addIcon="plus",this.addClicked=new t.vpe,this.selected=new t.vpe,this.closeAnimationWaitTimeoutId=-1,this.menuOpened=!1,this.element=this.elementRef.nativeElement}onSelect(e){e.disabled||(e.tab.nzClick.emit(),this.selected.emit(e))}onContextmenu(e,n){e.disabled||e.tab.nzContextmenu.emit(n)}showItems(){clearTimeout(this.closeAnimationWaitTimeoutId),this.menuOpened=!0,this.cdr.markForCheck()}menuVisChange(e){e||(this.closeAnimationWaitTimeoutId=setTimeout(()=>{this.menuOpened=!1,this.cdr.markForCheck()},150))}getElementWidth(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetWidth)||0}getElementHeight(){var e;return(null===(e=this.element)||void 0===e?void 0:e.offsetHeight)||0}ngOnDestroy(){clearTimeout(this.closeAnimationWaitTimeoutId)}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.sBO),t.Y36(t.SBq))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab-nav-operation"]],hostAttrs:[1,"ant-tabs-nav-operations"],hostVars:2,hostBindings:function(e,n){2&e&&t.ekj("ant-tabs-nav-operations-hidden",0===n.items.length)},inputs:{items:"items",addable:"addable",addIcon:"addIcon"},outputs:{addClicked:"addClicked",selected:"selected"},exportAs:["nzTabNavOperation"],decls:7,vars:6,consts:[["nz-dropdown","","type","button","tabindex","-1","aria-hidden","true","nzOverlayClassName","nz-tabs-dropdown",1,"ant-tabs-nav-more",3,"nzDropdownMenu","nzOverlayStyle","nzMatchWidthElement","nzVisibleChange","mouseenter"],["dropdownTrigger","nzDropdown"],["nz-icon","","nzType","ellipsis"],["menu","nzDropdownMenu"],["nz-menu","",4,"ngIf"],["nz-tab-add-button","",3,"addIcon","click",4,"ngIf"],["nz-menu",""],["nz-menu-item","","class","ant-tabs-dropdown-menu-item",3,"ant-tabs-dropdown-menu-item-disabled","nzSelected","nzDisabled","click","contextmenu",4,"ngFor","ngForOf"],["nz-menu-item","",1,"ant-tabs-dropdown-menu-item",3,"nzSelected","nzDisabled","click","contextmenu"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-add-button","",3,"addIcon","click"]],template:function(e,n){if(1&e&&(t.TgZ(0,"button",0,1),t.NdJ("nzVisibleChange",function(l){return n.menuVisChange(l)})("mouseenter",function(){return n.showItems()}),t._UZ(2,"i",2),t.qZA(),t.TgZ(3,"nz-dropdown-menu",null,3),t.YNc(5,o,2,1,"ul",4),t.qZA(),t.YNc(6,d,1,1,"button",5)),2&e){const s=t.MAs(4);t.Q6J("nzDropdownMenu",s)("nzOverlayStyle",t.DdM(5,_))("nzMatchWidthElement",null),t.xp6(5),t.Q6J("ngIf",n.menuOpened),t.xp6(1),t.Q6J("ngIf",n.addable)}},directives:[V.RR,it,V.cm,E.Ls,R.O5,tt.wO,R.sg,tt.r9,b.f],encapsulation:2,changeDetection:0}),i})();const Tt=Math.pow(.995,20);let zt=(()=>{class i{constructor(e,n){this.ngZone=e,this.elementRef=n,this.lastWheelDirection=null,this.lastWheelTimestamp=0,this.lastTimestamp=0,this.lastTimeDiff=0,this.lastMixedWheel=0,this.lastWheelPrevent=!1,this.touchPosition=null,this.lastOffset=null,this.motion=-1,this.unsubscribe=()=>{},this.offsetChange=new t.vpe,this.tabScroll=new t.vpe,this.onTouchEnd=s=>{if(!this.touchPosition)return;const l=this.lastOffset,m=this.lastTimeDiff;if(this.lastOffset=this.touchPosition=null,l){const p=l.x/m,C=l.y/m,U=Math.abs(p),Q=Math.abs(C);if(Math.max(U,Q)<.1)return;let K=p,J=C;this.motion=window.setInterval(()=>{Math.abs(K)<.01&&Math.abs(J)<.01?window.clearInterval(this.motion):(K*=Tt,J*=Tt,this.onOffset(20*K,20*J,s))},20)}},this.onTouchMove=s=>{if(!this.touchPosition)return;s.preventDefault();const{screenX:l,screenY:m}=s.touches[0],p=l-this.touchPosition.x,C=m-this.touchPosition.y;this.onOffset(p,C,s);const U=Date.now();this.lastTimeDiff=U-this.lastTimestamp,this.lastTimestamp=U,this.lastOffset={x:p,y:C},this.touchPosition={x:l,y:m}},this.onTouchStart=s=>{const{screenX:l,screenY:m}=s.touches[0];this.touchPosition={x:l,y:m},window.clearInterval(this.motion)},this.onWheel=s=>{const{deltaX:l,deltaY:m}=s;let p;const C=Math.abs(l),U=Math.abs(m);C===U?p="x"===this.lastWheelDirection?l:m:C>U?(p=l,this.lastWheelDirection="x"):(p=m,this.lastWheelDirection="y");const Q=Date.now(),K=Math.abs(p);(Q-this.lastWheelTimestamp>100||K-this.lastMixedWheel>10)&&(this.lastWheelPrevent=!1),this.onOffset(-p,-p,s),(s.defaultPrevented||this.lastWheelPrevent)&&(this.lastWheelPrevent=!0),this.lastWheelTimestamp=Q,this.lastMixedWheel=K}}ngOnInit(){this.unsubscribe=this.ngZone.runOutsideAngular(()=>{const e=this.elementRef.nativeElement,n=(0,O.R)(e,"wheel"),s=(0,O.R)(e,"touchstart"),l=(0,O.R)(e,"touchmove"),m=(0,O.R)(e,"touchend"),p=new z.w;return p.add(this.subscribeWrap("wheel",n,this.onWheel)),p.add(this.subscribeWrap("touchstart",s,this.onTouchStart)),p.add(this.subscribeWrap("touchmove",l,this.onTouchMove)),p.add(this.subscribeWrap("touchend",m,this.onTouchEnd)),()=>{p.unsubscribe()}})}subscribeWrap(e,n,s){return n.subscribe(l=>{this.tabScroll.emit({type:e,event:l}),l.defaultPrevented||s(l)})}onOffset(e,n,s){this.ngZone.run(()=>{this.offsetChange.emit({x:e,y:n,event:s})})}ngOnDestroy(){this.unsubscribe()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.R0b),t.Y36(t.SBq))},i.\u0275dir=t.lG2({type:i,selectors:[["","nzTabScrollList",""]],outputs:{offsetChange:"offsetChange",tabScroll:"tabScroll"}}),i})();const $t="undefined"!=typeof requestAnimationFrame?w.Z:I.E;let ut=(()=>{class i{constructor(e,n,s,l,m){this.cdr=e,this.ngZone=n,this.viewportRuler=s,this.nzResizeObserver=l,this.dir=m,this.indexFocused=new t.vpe,this.selectFocusedIndex=new t.vpe,this.addClicked=new t.vpe,this.tabScroll=new t.vpe,this.position="horizontal",this.addable=!1,this.hideBar=!1,this.addIcon="plus",this.inkBarAnimated=!0,this.translate=null,this.transformX=0,this.transformY=0,this.pingLeft=!1,this.pingRight=!1,this.pingTop=!1,this.pingBottom=!1,this.hiddenItems=[],this.destroy$=new k.xQ,this._selectedIndex=0,this.wrapperWidth=0,this.wrapperHeight=0,this.scrollListWidth=0,this.scrollListHeight=0,this.operationWidth=0,this.operationHeight=0,this.addButtonWidth=0,this.addButtonHeight=0,this.selectedIndexChanged=!1,this.lockAnimationTimeoutId=-1,this.cssTransformTimeWaitingId=-1}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){const n=(0,N.su)(e);this._selectedIndex!==n&&(this._selectedIndex=e,this.selectedIndexChanged=!0,this.keyManager&&this.keyManager.updateActiveItem(e))}get focusIndex(){return this.keyManager?this.keyManager.activeItemIndex:0}set focusIndex(e){!this.isValidIndex(e)||this.focusIndex===e||!this.keyManager||this.keyManager.setActiveItem(e)}get showAddButton(){return 0===this.hiddenItems.length&&this.addable}ngAfterViewInit(){const e=this.dir?this.dir.change:(0,g.of)(null),n=this.viewportRuler.change(150),s=()=>{this.updateScrollListPosition(),this.alignInkBarToSelectedTab()};this.keyManager=new y.Em(this.items).withHorizontalOrientation(this.getLayoutDirection()).withWrap(),this.keyManager.updateActiveItem(this.selectedIndex),(0,x.e)(s),(0,D.T)(this.nzResizeObserver.observe(this.navWarpRef),this.nzResizeObserver.observe(this.navListRef)).pipe((0,u.R)(this.destroy$),(0,T.e)(16,$t)).subscribe(()=>{s()}),(0,D.T)(e,n,this.items.changes).pipe((0,u.R)(this.destroy$)).subscribe(()=>{Promise.resolve().then(s),this.keyManager.withHorizontalOrientation(this.getLayoutDirection())}),this.keyManager.change.pipe((0,u.R)(this.destroy$)).subscribe(l=>{this.indexFocused.emit(l),this.setTabFocus(l),this.scrollToTab(this.keyManager.activeItem)})}ngAfterContentChecked(){this.selectedIndexChanged&&(this.updateScrollListPosition(),this.alignInkBarToSelectedTab(),this.selectedIndexChanged=!1,this.cdr.markForCheck())}ngOnDestroy(){clearTimeout(this.lockAnimationTimeoutId),clearTimeout(this.cssTransformTimeWaitingId),this.destroy$.next(),this.destroy$.complete()}onSelectedFromMenu(e){const n=this.items.toArray().findIndex(s=>s===e);-1!==n&&(this.keyManager.updateActiveItem(n),this.focusIndex!==this.selectedIndex&&(this.selectFocusedIndex.emit(this.focusIndex),this.scrollToTab(e)))}onOffsetChange(e){if("horizontal"===this.position){if(-1===this.lockAnimationTimeoutId&&(this.transformX>=0&&e.x>0||this.transformX<=this.wrapperWidth-this.scrollListWidth&&e.x<0))return;e.event.preventDefault(),this.transformX=this.clampTransformX(this.transformX+e.x),this.setTransform(this.transformX,0)}else{if(-1===this.lockAnimationTimeoutId&&(this.transformY>=0&&e.y>0||this.transformY<=this.wrapperHeight-this.scrollListHeight&&e.y<0))return;e.event.preventDefault(),this.transformY=this.clampTransformY(this.transformY+e.y),this.setTransform(0,this.transformY)}this.lockAnimation(),this.setVisibleRange(),this.setPingStatus()}handleKeydown(e){const n=this.navWarpRef.nativeElement.contains(e.target);if(!(0,M.Vb)(e)&&n)switch(e.keyCode){case M.oh:case M.LH:case M.SV:case M.JH:this.lockAnimation(),this.keyManager.onKeydown(e);break;case M.K5:case M.L_:this.focusIndex!==this.selectedIndex&&this.selectFocusedIndex.emit(this.focusIndex);break;default:this.keyManager.onKeydown(e)}}isValidIndex(e){if(!this.items)return!0;const n=this.items?this.items.toArray()[e]:null;return!!n&&!n.disabled}scrollToTab(e){if(!this.items.find(s=>s===e))return;const n=this.items.toArray();if("horizontal"===this.position){let s=this.transformX;if("rtl"===this.getLayoutDirection()){const l=n[0].left+n[0].width-e.left-e.width;lthis.transformX+this.wrapperWidth&&(s=l+e.width-this.wrapperWidth)}else e.left<-this.transformX?s=-e.left:e.left+e.width>-this.transformX+this.wrapperWidth&&(s=-(e.left+e.width-this.wrapperWidth));this.transformX=s,this.transformY=0,this.setTransform(s,0)}else{let s=this.transformY;e.top<-this.transformY?s=-e.top:e.top+e.height>-this.transformY+this.wrapperHeight&&(s=-(e.top+e.height-this.wrapperHeight)),this.transformY=s,this.transformX=0,this.setTransform(0,s)}clearTimeout(this.cssTransformTimeWaitingId),this.cssTransformTimeWaitingId=setTimeout(()=>{this.setVisibleRange()},150)}lockAnimation(){-1===this.lockAnimationTimeoutId&&this.ngZone.runOutsideAngular(()=>{this.navListRef.nativeElement.style.transition="none",this.lockAnimationTimeoutId=setTimeout(()=>{this.navListRef.nativeElement.style.transition="",this.lockAnimationTimeoutId=-1},150)})}setTransform(e,n){this.navListRef.nativeElement.style.transform=`translate(${e}px, ${n}px)`}clampTransformX(e){const n=this.wrapperWidth-this.scrollListWidth;return"rtl"===this.getLayoutDirection()?Math.max(Math.min(n,e),0):Math.min(Math.max(n,e),0)}clampTransformY(e){return Math.min(Math.max(this.wrapperHeight-this.scrollListHeight,e),0)}updateScrollListPosition(){this.resetSizes(),this.transformX=this.clampTransformX(this.transformX),this.transformY=this.clampTransformY(this.transformY),this.setVisibleRange(),this.setPingStatus(),this.keyManager&&(this.keyManager.updateActiveItem(this.keyManager.activeItemIndex),this.keyManager.activeItem&&this.scrollToTab(this.keyManager.activeItem))}resetSizes(){this.addButtonWidth=this.addBtnRef?this.addBtnRef.getElementWidth():0,this.addButtonHeight=this.addBtnRef?this.addBtnRef.getElementHeight():0,this.operationWidth=this.operationRef.getElementWidth(),this.operationHeight=this.operationRef.getElementHeight(),this.wrapperWidth=this.navWarpRef.nativeElement.offsetWidth||0,this.wrapperHeight=this.navWarpRef.nativeElement.offsetHeight||0,this.scrollListHeight=this.navListRef.nativeElement.offsetHeight||0,this.scrollListWidth=this.navListRef.nativeElement.offsetWidth||0}alignInkBarToSelectedTab(){const e=this.items&&this.items.length?this.items.toArray()[this.selectedIndex]:null,n=e?e.elementRef.nativeElement:null;n&&this.inkBar.alignToElement(n.parentElement)}setPingStatus(){const e={top:!1,right:!1,bottom:!1,left:!1},n=this.navWarpRef.nativeElement;"horizontal"===this.position?"rtl"===this.getLayoutDirection()?(e.right=this.transformX>0,e.left=this.transformX+this.wrapperWidth{const l=`ant-tabs-nav-wrap-ping-${s}`;e[s]?n.classList.add(l):n.classList.remove(l)})}setVisibleRange(){let e,n,s,l,m,p;const C=this.items.toArray(),U={width:0,height:0,left:0,top:0,right:0},Q=A=>{let G;return G="right"===n?C[0].left+C[0].width-C[A].left-C[A].width:(C[A]||U)[n],G};"horizontal"===this.position?(e="width",l=this.wrapperWidth,m=this.scrollListWidth-(this.hiddenItems.length?this.operationWidth:0),p=this.addButtonWidth,s=Math.abs(this.transformX),"rtl"===this.getLayoutDirection()?(n="right",this.pingRight=this.transformX>0,this.pingLeft=this.transformX+this.wrapperWidthl&&(K=l-p),!C.length)return this.hiddenItems=[],void this.cdr.markForCheck();const J=C.length;let xt=J;for(let A=0;As+K){xt=A-1;break}let yt=0;for(let A=J-1;A>=0;A-=1)if(Q(A){class i{constructor(){this.content=null,this.active=!1,this.tabPaneAnimated=!0,this.forceRender=!1}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["","nz-tab-body",""]],hostAttrs:[1,"ant-tabs-tabpane"],hostVars:12,hostBindings:function(e,n){2&e&&(t.uIk("tabindex",n.active?0:-1)("aria-hidden",!n.active),t.Udp("visibility",n.tabPaneAnimated?n.active?null:"hidden":null)("height",n.tabPaneAnimated?n.active?null:0:null)("overflow-y",n.tabPaneAnimated?n.active?null:"none":null)("display",n.tabPaneAnimated||n.active?null:"none"),t.ekj("ant-tabs-tabpane-active",n.active))},inputs:{content:"content",active:"active",tabPaneAnimated:"tabPaneAnimated",forceRender:"forceRender"},exportAs:["nzTabBody"],attrs:St,decls:1,vars:1,consts:[[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(e,n){1&e&&t.YNc(0,Bt,2,1,"ng-container",0),2&e&&t.Q6J("ngIf",n.active||n.forceRender)},directives:[R.O5,R.tP],encapsulation:2,changeDetection:0}),i})(),Mt=(()=>{class i{constructor(){this.closeIcon="close"}}return i.\u0275fac=function(e){return new(e||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab-close-button"],["button","nz-tab-close-button",""]],hostAttrs:["aria-label","Close tab","type","button",1,"ant-tabs-tab-remove"],inputs:{closeIcon:"closeIcon"},decls:1,vars:1,consts:[[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(e,n){1&e&&t.YNc(0,Rt,2,1,"ng-container",0),2&e&&t.Q6J("nzStringTemplateOutlet",n.closeIcon)},directives:[b.f,E.Ls],encapsulation:2}),i})(),mt=(()=>{class i{constructor(e){this.templateRef=e}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.Rgc,1))},i.\u0275dir=t.lG2({type:i,selectors:[["ng-template","nzTabLink",""]],exportAs:["nzTabLinkTemplate"]}),i})(),gt=(()=>{class i{constructor(e,n,s){this.elementRef=e,this.routerLink=n,this.routerLinkWithHref=s}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(t.SBq),t.Y36(F.rH,10),t.Y36(F.yS,10))},i.\u0275dir=t.lG2({type:i,selectors:[["a","nz-tab-link",""]],exportAs:["nzTabLink"]}),i})(),It=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275dir=t.lG2({type:i,selectors:[["","nz-tab",""]],exportAs:["nzTab"]}),i})();const Dt=new t.OlP("NZ_TAB_SET");let pt=(()=>{class i{constructor(e){this.closestTabSet=e,this.nzTitle="",this.nzClosable=!1,this.nzCloseIcon="close",this.nzDisabled=!1,this.nzForceRender=!1,this.nzSelect=new t.vpe,this.nzDeselect=new t.vpe,this.nzClick=new t.vpe,this.nzContextmenu=new t.vpe,this.template=null,this.isActive=!1,this.position=null,this.origin=null,this.stateChanges=new k.xQ}get content(){return this.template||this.contentTemplate}get label(){var e;return this.nzTitle||(null===(e=this.nzTabLinkTemplateDirective)||void 0===e?void 0:e.templateRef)}ngOnChanges(e){const{nzTitle:n,nzDisabled:s,nzForceRender:l}=e;(n||s||l)&&this.stateChanges.next()}ngOnDestroy(){this.stateChanges.complete()}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(Dt))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tab"]],contentQueries:function(e,n,s){if(1&e&&(t.Suo(s,mt,5),t.Suo(s,It,5,t.Rgc),t.Suo(s,gt,5)),2&e){let l;t.iGM(l=t.CRH())&&(n.nzTabLinkTemplateDirective=l.first),t.iGM(l=t.CRH())&&(n.template=l.first),t.iGM(l=t.CRH())&&(n.linkDirective=l.first)}},viewQuery:function(e,n){if(1&e&&t.Gf(Lt,7),2&e){let s;t.iGM(s=t.CRH())&&(n.contentTemplate=s.first)}},inputs:{nzTitle:"nzTitle",nzClosable:"nzClosable",nzCloseIcon:"nzCloseIcon",nzDisabled:"nzDisabled",nzForceRender:"nzForceRender"},outputs:{nzSelect:"nzSelect",nzDeselect:"nzDeselect",nzClick:"nzClick",nzContextmenu:"nzContextmenu"},exportAs:["nzTab"],features:[t.TTD],ngContentSelectors:Ft,decls:4,vars:0,consts:[["tabLinkTemplate",""],["contentTemplate",""]],template:function(e,n){1&e&&(t.F$t(kt),t.YNc(0,Wt,1,0,"ng-template",null,0,t.W1O),t.YNc(2,wt,1,0,"ng-template",null,1,t.W1O))},encapsulation:2,changeDetection:0}),(0,P.gn)([(0,S.yF)()],i.prototype,"nzClosable",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzDisabled",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzForceRender",void 0),i})();class Gt{}let Vt=0,Ot=(()=>{class i{constructor(e,n,s,l){this.nzConfigService=e,this.cdr=n,this.directionality=s,this.router=l,this._nzModuleName="tabs",this.nzTabPosition="top",this.nzCanDeactivate=null,this.nzAddIcon="plus",this.nzTabBarStyle=null,this.nzType="line",this.nzSize="default",this.nzAnimated=!0,this.nzTabBarGutter=void 0,this.nzHideAdd=!1,this.nzCentered=!1,this.nzHideAll=!1,this.nzLinkRouter=!1,this.nzLinkExact=!0,this.nzSelectChange=new t.vpe(!0),this.nzSelectedIndexChange=new t.vpe,this.nzTabListScroll=new t.vpe,this.nzClose=new t.vpe,this.nzAdd=new t.vpe,this.allTabs=new t.n_E,this.tabs=new t.n_E,this.dir="ltr",this.destroy$=new k.xQ,this.indexToSelect=0,this.selectedIndex=null,this.tabLabelSubscription=z.w.EMPTY,this.tabsSubscription=z.w.EMPTY,this.canDeactivateSubscription=z.w.EMPTY,this.tabSetId=Vt++}get nzSelectedIndex(){return this.selectedIndex}set nzSelectedIndex(e){this.indexToSelect=(0,N.su)(e,null)}get position(){return-1===["top","bottom"].indexOf(this.nzTabPosition)?"vertical":"horizontal"}get addable(){return"editable-card"===this.nzType&&!this.nzHideAdd}get closable(){return"editable-card"===this.nzType}get line(){return"line"===this.nzType}get inkBarAnimated(){return this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.inkBar)}get tabPaneAnimated(){return"horizontal"===this.position&&this.line&&("boolean"==typeof this.nzAnimated?this.nzAnimated:this.nzAnimated.tabPane)}ngOnInit(){var e;this.dir=this.directionality.value,null===(e=this.directionality.change)||void 0===e||e.pipe((0,u.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.tabs.destroy(),this.tabLabelSubscription.unsubscribe(),this.tabsSubscription.unsubscribe(),this.canDeactivateSubscription.unsubscribe()}ngAfterContentInit(){Promise.resolve().then(()=>{this.setUpRouter()}),this.subscribeToTabLabels(),this.subscribeToAllTabChanges(),this.tabsSubscription=this.tabs.changes.subscribe(()=>{if(this.clampTabIndex(this.indexToSelect)===this.selectedIndex){const n=this.tabs.toArray();for(let s=0;s{this.tabs.forEach((s,l)=>s.isActive=l===e),n||this.nzSelectedIndexChange.emit(e)})}this.tabs.forEach((n,s)=>{n.position=s-e,null!=this.selectedIndex&&0===n.position&&!n.origin&&(n.origin=e-this.selectedIndex)}),this.selectedIndex!==e&&(this.selectedIndex=e,this.cdr.markForCheck())}onClose(e,n){n.preventDefault(),n.stopPropagation(),this.nzClose.emit({index:e})}onAdd(){this.nzAdd.emit()}clampTabIndex(e){return Math.min(this.tabs.length-1,Math.max(e||0,0))}createChangeEvent(e){const n=new Gt;return n.index=e,this.tabs&&this.tabs.length&&(n.tab=this.tabs.toArray()[e],this.tabs.forEach((s,l)=>{l!==e&&s.nzDeselect.emit()}),n.tab.nzSelect.emit()),n}subscribeToTabLabels(){this.tabLabelSubscription&&this.tabLabelSubscription.unsubscribe(),this.tabLabelSubscription=(0,D.T)(...this.tabs.map(e=>e.stateChanges)).subscribe(()=>this.cdr.markForCheck())}subscribeToAllTabChanges(){this.allTabs.changes.pipe((0,B.O)(this.allTabs)).subscribe(e=>{this.tabs.reset(e.filter(n=>n.closestTabSet===this)),this.tabs.notifyOnChanges()})}canDeactivateFun(e,n){return"function"==typeof this.nzCanDeactivate?(0,S.lN)(this.nzCanDeactivate(e,n)).pipe((0,Y.P)(),(0,u.R)(this.destroy$)):(0,g.of)(!0)}clickNavItem(e,n,s){e.nzDisabled||(e.nzClick.emit(),this.isRouterLinkClickEvent(n,s)||this.setSelectedIndex(n))}isRouterLinkClickEvent(e,n){var s,l;const m=n.target;return!!this.nzLinkRouter&&!!(null===(l=null===(s=this.tabs.toArray()[e])||void 0===s?void 0:s.linkDirective)||void 0===l?void 0:l.elementRef.nativeElement.contains(m))}contextmenuNavItem(e,n){e.nzDisabled||e.nzContextmenu.emit(n)}setSelectedIndex(e){this.canDeactivateSubscription.unsubscribe(),this.canDeactivateSubscription=this.canDeactivateFun(this.selectedIndex,e).subscribe(n=>{n&&(this.nzSelectedIndex=e,this.tabNavBarRef.focusIndex=e,this.cdr.markForCheck())})}getTabIndex(e,n){return e.nzDisabled?null:this.selectedIndex===n?0:-1}getTabContentId(e){return`nz-tabs-${this.tabSetId}-tab-${e}`}setUpRouter(){if(this.nzLinkRouter){if(!this.router)throw new Error(`${nt.Bq} you should import 'RouterModule' if you want to use 'nzLinkRouter'!`);this.router.events.pipe((0,u.R)(this.destroy$),(0,ot.h)(e=>e instanceof F.m2),(0,B.O)(!0),(0,at.g)(0)).subscribe(()=>{this.updateRouterActive(),this.cdr.markForCheck()})}}updateRouterActive(){if(this.router.navigated){const e=this.findShouldActiveTabIndex();e!==this.selectedIndex&&this.setSelectedIndex(e),this.nzHideAll=-1===e}}findShouldActiveTabIndex(){const e=this.tabs.toArray(),n=this.isLinkActive(this.router);return e.findIndex(s=>{const l=s.linkDirective;return!!l&&(n(l.routerLink)||n(l.routerLinkWithHref))})}isLinkActive(e){return n=>!!n&&e.isActive(n.urlTree||"",{paths:this.nzLinkExact?"exact":"subset",queryParams:this.nzLinkExact?"exact":"subset",fragment:"ignored",matrixParams:"ignored"})}getTabContentMarginValue(){return 100*-(this.nzSelectedIndex||0)}getTabContentMarginLeft(){return this.tabPaneAnimated&&"rtl"!==this.dir?`${this.getTabContentMarginValue()}%`:""}getTabContentMarginRight(){return this.tabPaneAnimated&&"rtl"===this.dir?`${this.getTabContentMarginValue()}%`:""}}return i.\u0275fac=function(e){return new(e||i)(t.Y36(H.jY),t.Y36(t.sBO),t.Y36(j.Is,8),t.Y36(F.F0,8))},i.\u0275cmp=t.Xpm({type:i,selectors:[["nz-tabset"]],contentQueries:function(e,n,s){if(1&e&&t.Suo(s,pt,5),2&e){let l;t.iGM(l=t.CRH())&&(n.allTabs=l)}},viewQuery:function(e,n){if(1&e&&t.Gf(ut,5),2&e){let s;t.iGM(s=t.CRH())&&(n.tabNavBarRef=s.first)}},hostAttrs:[1,"ant-tabs"],hostVars:24,hostBindings:function(e,n){2&e&&t.ekj("ant-tabs-card","card"===n.nzType||"editable-card"===n.nzType)("ant-tabs-editable","editable-card"===n.nzType)("ant-tabs-editable-card","editable-card"===n.nzType)("ant-tabs-centered",n.nzCentered)("ant-tabs-rtl","rtl"===n.dir)("ant-tabs-top","top"===n.nzTabPosition)("ant-tabs-bottom","bottom"===n.nzTabPosition)("ant-tabs-left","left"===n.nzTabPosition)("ant-tabs-right","right"===n.nzTabPosition)("ant-tabs-default","default"===n.nzSize)("ant-tabs-small","small"===n.nzSize)("ant-tabs-large","large"===n.nzSize)},inputs:{nzSelectedIndex:"nzSelectedIndex",nzTabPosition:"nzTabPosition",nzTabBarExtraContent:"nzTabBarExtraContent",nzCanDeactivate:"nzCanDeactivate",nzAddIcon:"nzAddIcon",nzTabBarStyle:"nzTabBarStyle",nzType:"nzType",nzSize:"nzSize",nzAnimated:"nzAnimated",nzTabBarGutter:"nzTabBarGutter",nzHideAdd:"nzHideAdd",nzCentered:"nzCentered",nzHideAll:"nzHideAll",nzLinkRouter:"nzLinkRouter",nzLinkExact:"nzLinkExact"},outputs:{nzSelectChange:"nzSelectChange",nzSelectedIndexChange:"nzSelectedIndexChange",nzTabListScroll:"nzTabListScroll",nzClose:"nzClose",nzAdd:"nzAdd"},exportAs:["nzTabset"],features:[t._Bn([{provide:Dt,useExisting:i}])],decls:4,vars:16,consts:[[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked",4,"ngIf"],[1,"ant-tabs-content-holder"],[1,"ant-tabs-content"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated",4,"ngFor","ngForOf"],[3,"ngStyle","selectedIndex","inkBarAnimated","addable","addIcon","hideBar","position","extraTemplate","tabScroll","selectFocusedIndex","addClicked"],["class","ant-tabs-tab",3,"margin-right","margin-bottom","ant-tabs-tab-active","ant-tabs-tab-disabled","click","contextmenu",4,"ngFor","ngForOf"],[1,"ant-tabs-tab",3,"click","contextmenu"],["role","tab","nzTabNavItem","","cdkMonitorElementFocus","",1,"ant-tabs-tab-btn",3,"disabled","tab","active"],[4,"nzStringTemplateOutlet","nzStringTemplateOutletContext"],["nz-tab-close-button","",3,"closeIcon","click",4,"ngIf"],["nz-tab-close-button","",3,"closeIcon","click"],["nz-tab-body","",3,"active","content","forceRender","tabPaneAnimated"]],template:function(e,n){1&e&&(t.YNc(0,Zt,2,9,"nz-tabs-nav",0),t.TgZ(1,"div",1),t.TgZ(2,"div",2),t.YNc(3,Qt,1,4,"div",3),t.qZA(),t.qZA()),2&e&&(t.Q6J("ngIf",n.tabs.length||n.addable),t.xp6(2),t.Udp("margin-left",n.getTabContentMarginLeft())("margin-right",n.getTabContentMarginRight()),t.ekj("ant-tabs-content-top","top"===n.nzTabPosition)("ant-tabs-content-bottom","bottom"===n.nzTabPosition)("ant-tabs-content-left","left"===n.nzTabPosition)("ant-tabs-content-right","right"===n.nzTabPosition)("ant-tabs-content-animated",n.tabPaneAnimated),t.xp6(1),t.Q6J("ngForOf",n.tabs))},directives:[ut,Mt,Et,R.O5,R.PC,R.sg,ht,y.kH,b.f],encapsulation:2}),(0,P.gn)([(0,H.oS)()],i.prototype,"nzType",void 0),(0,P.gn)([(0,H.oS)()],i.prototype,"nzSize",void 0),(0,P.gn)([(0,H.oS)()],i.prototype,"nzAnimated",void 0),(0,P.gn)([(0,H.oS)()],i.prototype,"nzTabBarGutter",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzHideAdd",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzCentered",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzHideAll",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzLinkRouter",void 0),(0,P.gn)([(0,S.yF)()],i.prototype,"nzLinkExact",void 0),i})(),jt=(()=>{class i{}return i.\u0275fac=function(e){return new(e||i)},i.\u0275mod=t.oAB({type:i}),i.\u0275inj=t.cJS({imports:[[j.vT,R.ez,q.Q8,E.PV,b.T,lt.ud,y.rt,et.ZD,V.b1]]}),i})()}}]);
\ No newline at end of file
diff --git a/server/public/5632.b8b7a0d1b028a7da.js b/server/public/5632.b8b7a0d1b028a7da.js
deleted file mode 100644
index 62721c331..000000000
--- a/server/public/5632.b8b7a0d1b028a7da.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5632],{8616:(y,f,n)=>{n.d(f,{u:()=>t});var a=n(5e3),g=n(685),l=n(1912),u=n(3618),_=n(647);function p(i,h){1&i&&(a.TgZ(0,"span"),a._uU(1," You must be logged in to view this page. "),a.qZA())}function v(i,h){1&i&&a._UZ(0,"cvc-login-button")}function c(i,h){1&i&&(a.TgZ(0,"nz-typography",4),a._UZ(1,"i",5),a.qZA())}let t=(()=>{class i{}return i.\u0275fac=function(d){return new(d||i)},i.\u0275cmp=a.Xpm({type:i,selectors:[["cvc-login-prompt"]],decls:7,vars:3,consts:[[3,"nzNotFoundImage","nzNotFoundContent","nzNotFoundFooter"],["contentTpl",""],["footerTpl",""],["emptyImage",""],["nzType","secondary"],["nz-icon","","nzType","login","nzTheme","outline",2,"font-size","50pt"]],template:function(d,z){if(1&d&&(a.TgZ(0,"nz-empty",0),a.YNc(1,p,2,0,"ng-template",null,1,a.W1O),a.YNc(3,v,1,0,"ng-template",null,2,a.W1O),a.qZA(),a.YNc(5,c,2,0,"ng-template",null,3,a.W1O)),2&d){const I=a.MAs(2),M=a.MAs(4),C=a.MAs(6);a.Q6J("nzNotFoundImage",C)("nzNotFoundContent",I)("nzNotFoundFooter",M)}},directives:[g.p9,l.s,u.ZU,_.Ls],styles:["[_nghost-%COMP%]{display:inline-block}"]}),i})()},9386:(y,f,n)=>{n.d(f,{a:()=>v});var a=n(9808),g=n(1844),l=n(685),u=n(647),_=n(3618),p=n(5e3);let v=(()=>{class c{}return c.\u0275fac=function(i){return new(i||c)},c.\u0275mod=p.oAB({type:c}),c.\u0275inj=p.cJS({imports:[[a.ez,g.B,l.Xo,u.PV,_.ZJ]]}),c})()},8926:(y,f,n)=>{n.d(f,{A:()=>l});var a=n(5e3),g=n(2313);let l=(()=>{class u{constructor(p){this.sanitizer=p}transform(p,v){if(!v||""==v)return p;const c=new RegExp(v,"gi"),t=p.match(c);if(!t)return p;let i=p.replace(c,`${t[0]}`);return this.sanitizer.bypassSecurityTrustHtml(i)}}return u.\u0275fac=function(p){return new(p||u)(a.Y36(g.H7,16))},u.\u0275pipe=a.Yjl({name:"highlightTypeahead",type:u,pure:!0}),u})()},3077:(y,f,n)=>{function a(g){return void 0!==g}n.d(f,{$:()=>a})},7462:(y,f,n)=>{n.d(f,{o:()=>c});var a=n(9808),g=n(8776),l=n(5e3),u=n(1047),_=n(4182);const v={name:"cvc-textarea",component:(()=>{class t extends g.fS{constructor(){super(...arguments),this.defaultOptions={templateOptions:{autosize:{minRows:2,maxRows:20}}}}}return t.\u0275fac=function(){let i;return function(d){return(i||(i=l.n5z(t)))(d||t)}}(),t.\u0275cmp=l.Xpm({type:t,selectors:[["cvc-textarea-base-type"]],features:[l.qOj],decls:1,vars:4,consts:[["nz-input","",3,"formControl","formlyAttributes","nzAutosize","placeholder"]],template:function(h,d){1&h&&l._UZ(0,"textarea",0),2&h&&l.Q6J("formControl",d.formControl)("formlyAttributes",d.field)("nzAutosize",d.to.autosize)("placeholder",d.to.placeholder)},directives:[u.Zp,_.Fj,u.rh,_.JJ,_.oH,g.VQ],styles:[""],changeDetection:0}),t})(),wrappers:["form-field"]};let c=(()=>{class t{}return t.\u0275fac=function(h){return new(h||t)},t.\u0275mod=l.oAB({type:t}),t.\u0275inj=l.cJS({imports:[[a.ez,_.u5,_.UX,g.X0.forChild({types:[v]}),u.o7]]}),t})()},4181:(y,f,n)=>{n.d(f,{O:()=>w});var a=n(9808),g=n(6123),l=n(8776),u=n(8929),_=n(591),p=n(373),v=n(4850),c=n(7625),t=n(5e3),i=n(712),h=n(9169),d=n(8054),z=n(4182),I=n(8664),M=n(822),C=n(6042),L=n(2643),S=n(2683),E=n(647),V=n(6949),U=n(8926);function B(o,m){if(1&o&&(t.TgZ(0,"nz-option",6),t._UZ(1,"span",7),t.ALo(2,"highlightTypeahead"),t.qZA()),2&o){const e=m.$implicit,s=t.oxw(2);t.Q6J("nzValue",e.variant),t.xp6(1),t.Q6J("innerHtml",t.xi3(2,2,e.label,s.to.searchString),t.oJD)}}function D(o,m){1&o&&t._uU(0," No variant found in CIViC that matches the string provided. ")}function Q(o,m){if(1&o){const e=t.EpF();t.ynx(0),t.TgZ(1,"nz-select",3),t.NdJ("nzOnSearch",function(r){return t.CHM(e),t.oxw().to.onSearch(r)}),t.YNc(2,B,3,5,"nz-option",4),t.ALo(3,"ngrxPush"),t.qZA(),t.YNc(4,D,1,0,"ng-template",null,5,t.W1O),t.BQk()}if(2&o){const e=t.MAs(5),s=t.oxw(),r=t.MAs(4);t.xp6(1),t.Q6J("formControl",s.formControl)("formlyAttributes",s.field)("nzPlaceHolder",s.to.placeholder?s.to.placeholder:null)("nzDropdownRender",s.to.allowCreate?r:null)("nzNotFoundContent",e)("nzShowArrow",s.to.showArrow),t.xp6(1),t.Q6J("ngForOf",t.lcZ(3,7,s.variants$))}}function Z(o,m){if(1&o&&t._UZ(0,"cvc-variant-tag",8),2&o){const e=t.oxw();t.Q6J("variant",e.formControl.value)}}function J(o,m){if(1&o&&t._UZ(0,"cvc-form-errors-alert",12),2&o){const e=t.oxw(4);t.Q6J("errors",e.errorMessages)}}function F(o,m){if(1&o){const e=t.EpF();t.TgZ(0,"button",13),t.NdJ("click",function(){t.CHM(e);const r=t.oxw(4);return r.addVariant(r.to.searchString)}),t._UZ(1,"i",14),t._uU(2,"No Existing CIViC Variant\xa0"),t.TgZ(3,"strong"),t._uU(4),t.qZA(),t._uU(5,"\xa0found. Create A New Variant? "),t.qZA()}if(2&o){const e=t.oxw(4);t.Q6J("nzLoading",e.loading),t.xp6(4),t.Oqu(e.to.searchString)}}function R(o,m){if(1&o&&(t.ynx(0),t.YNc(1,J,1,1,"cvc-form-errors-alert",10),t.YNc(2,F,6,2,"button",11),t.BQk()),2&o){const e=t.oxw(3);t.xp6(1),t.Q6J("ngIf",e.errorMessages.length>0),t.xp6(1),t.Q6J("ngIf",0==e.errorMessages.length)}}function N(o,m){if(1&o&&(t.ynx(0),t.YNc(1,R,3,2,"ng-container",9),t.BQk()),2&o){const e=t.oxw(2);t.xp6(1),t.Q6J("ngIf",""!==e.to.searchString)}}function W(o,m){if(1&o&&(t.YNc(0,N,2,1,"ng-container",9),t.ALo(1,"ngrxPush")),2&o){const e=t.oxw();t.Q6J("ngIf",t.lcZ(1,1,e.displayAdd$))}}const Y={name:"variant-input",component:(()=>{class o extends l.fS{constructor(e,s,r){super(),this.variantTypeaheadQuery=e,this.networkErrorService=s,this.addVariantGQL=r,this.destroy$=new u.xQ,this.success=!1,this.errorMessages=[],this.loading=!1,this.displayAdd$=new _.X(!1),this.addVariantMutator=new g.U(s),this.defaultOptions={templateOptions:{placeholder:"Search Variants",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[],allowCreate:!0},expressionProperties:{"templateOptions.geneId":(T,X,A)=>{var O,P;let x=null===(P=null===(O=null==A?void 0:A.parent)||void 0===O?void 0:O.parent)||void 0===P?void 0:P.model;if(x&&x.gene&&x.gene[0])return x.gene[0].id}}}}ngOnInit(){this.queryRef=this.variantTypeaheadQuery.watch({name:"zzzz"}),this.variants$=this.queryRef.valueChanges.pipe((0,p.j)("data","variants","nodes"),(0,v.U)(e=>e.map(r=>({value:r.id,label:r.name,variant:r}))))}ngAfterViewInit(){this.to.onSearch=e=>{e.length{this.displayAdd$.next(0==s.data.variants.nodes.filter(r=>r.name.toUpperCase()==e.toUpperCase()).length)}))}}addVariant(e){if(e&&""!=e&&this.to.geneId){let s=this.addVariantMutator.mutate(this.addVariantGQL,{name:e,geneId:this.to.geneId},{},r=>{var T;null===(T=this.field.formControl)||void 0===T||T.setValue({id:r.addVariant.variant.id,name:r.addVariant.variant.name}),this.to.searchString="",this.to.searchLength=0});s.submitSuccess$.pipe((0,c.R)(this.destroy$)).subscribe(r=>{r&&(this.success=!0)}),s.submitError$.pipe((0,c.R)(this.destroy$)).subscribe(r=>{r&&(this.errorMessages=r,this.success=!1)}),s.isSubmitting$.pipe((0,c.R)(this.destroy$)).subscribe(r=>{this.loading=r})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.displayAdd$.complete()}}return o.\u0275fac=function(e){return new(e||o)(t.Y36(i._eC),t.Y36(h.Y),t.Y36(i.LUc))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-input-type"]],features:[t.qOj],decls:5,vars:2,consts:[[4,"ngIf","ngIfElse"],["variantListItem",""],["addVariantTmpl",""],["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzDropdownRender","nzNotFoundContent","nzShowArrow","nzOnSearch"],["nzCustomContent","",3,"nzValue",4,"ngFor","ngForOf"],["sourceLoader",""],["nzCustomContent","",3,"nzValue"],[3,"innerHtml"],[3,"variant"],[4,"ngIf"],[3,"errors",4,"ngIf"],["nz-button","","nzSize","small",3,"nzLoading","click",4,"ngIf"],[3,"errors"],["nz-button","","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","plus","nzTheme","outline"]],template:function(e,s){if(1&e&&(t.YNc(0,Q,6,9,"ng-container",0),t.YNc(1,Z,1,1,"ng-template",null,1,t.W1O),t.YNc(3,W,2,3,"ng-template",null,2,t.W1O)),2&e){const r=t.MAs(2);t.Q6J("ngIf",!(null!=s.formControl.value&&s.formControl.value.id))("ngIfElse",r)}},directives:[a.O5,d.Vq,z.JJ,z.oH,l.VQ,a.sg,d.Ip,I.I,M.V,C.ix,L.dQ,S.w,E.Ls],pipes:[V.fM,U.A],styles:[""],changeDetection:0}),o})()};var $=n(4867),H=n(7008),K=n(9444);let w=(()=>{class o{}return o.\u0275fac=function(e){return new(e||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[a.ez,z.UX,V.WG,l.X0.forChild({types:[Y]}),d.LV,C.sL,E.PV,$.Q,H.B,K.s]]}),o})()}}]);
\ No newline at end of file
diff --git a/server/public/5787.6afd9133542c6e90.js b/server/public/5787.6afd9133542c6e90.js
deleted file mode 100644
index 78528551f..000000000
--- a/server/public/5787.6afd9133542c6e90.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5787],{427:(N,g,i)=>{i.d(g,{J:()=>v});var a=i(5e3),p=i(685),e=i(9808),f=i(647);function C(c,_){if(1&c&&(a.TgZ(0,"span",5),a._uU(1),a.qZA()),2&c){const d=a.oxw(2);a.xp6(1),a.Oqu(d.notification)}}function m(c,_){1&c&&a._uU(0," Not specified ")}function z(c,_){if(1&c&&(a.YNc(0,C,2,1,"span",3),a.YNc(1,m,1,0,"ng-template",null,4,a.W1O)),2&c){const d=a.MAs(2),E=a.oxw();a.Q6J("ngIf",E.notification)("ngIfElse",d)}}function u(c,_){1&c&&a._UZ(0,"i",6)}let v=(()=>{class c{constructor(){}ngOnInit(){}}return c.\u0275fac=function(d){return new(d||c)},c.\u0275cmp=a.Xpm({type:c,selectors:[["cvc-empty-revisable"]],inputs:{notification:"notification"},decls:5,vars:2,consts:[[3,"nzNotFoundContent","nzNotFoundImage"],["notFound",""],["notFoundImg",""],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["defaultNotification",""],["nz-typography","","nzType","secondary"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#dfdfdf"]],template:function(d,E){if(1&d&&(a._UZ(0,"nz-empty",0),a.YNc(1,z,3,2,"ng-template",null,1,a.W1O),a.YNc(3,u,1,0,"ng-template",null,2,a.W1O)),2&d){const k=a.MAs(2),y=a.MAs(4);a.Q6J("nzNotFoundContent",k)("nzNotFoundImage",y)}},directives:[p.p9,e.O5,f.Ls],styles:["[_nghost-%COMP%] {display:block}[_nghost-%COMP%] .ant-empty-image{height:35px;margin-top:4px;margin-bottom:4px}[_nghost-%COMP%] .ant-empty-image i, [_nghost-%COMP%] .ant-empty-image svg{height:100%;width:100%}"]}),c})()},8541:(N,g,i)=>{i.d(g,{o:()=>C});var a=i(9808),p=i(685),e=i(647),f=i(5e3);let C=(()=>{class m{}return m.\u0275fac=function(u){return new(u||m)},m.\u0275mod=f.oAB({type:m}),m.\u0275inj=f.cJS({imports:[[a.ez,p.Xo,e.PV]]}),m})()},6559:(N,g,i)=>{i.d(g,{H0:()=>D});var a=i(5e3),p=i(9808),e=i(226);let D=(()=>{class s{}return s.\u0275fac=function(n){return new(n||s)},s.\u0275mod=a.oAB({type:s}),s.\u0275inj=a.cJS({imports:[[e.vT,p.ez]]}),s})()},6462:(N,g,i)=>{i.d(g,{i:()=>l,m:()=>n});var a=i(655),p=i(1159),e=i(5e3),f=i(4182),C=i(8929),m=i(3753),z=i(7625),u=i(9439),v=i(1721),c=i(5664),_=i(226),d=i(2643),E=i(9808),k=i(647),y=i(969);const M=["switchElement"];function P(t,h){1&t&&e._UZ(0,"i",8)}function T(t,h){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const o=e.oxw(2);e.xp6(1),e.Oqu(o.nzCheckedChildren)}}function O(t,h){if(1&t&&(e.ynx(0),e.YNc(1,T,2,1,"ng-container",9),e.BQk()),2&t){const o=e.oxw();e.xp6(1),e.Q6J("nzStringTemplateOutlet",o.nzCheckedChildren)}}function x(t,h){if(1&t&&(e.ynx(0),e._uU(1),e.BQk()),2&t){const o=e.oxw(2);e.xp6(1),e.Oqu(o.nzUnCheckedChildren)}}function D(t,h){if(1&t&&e.YNc(0,x,2,1,"ng-container",9),2&t){const o=e.oxw();e.Q6J("nzStringTemplateOutlet",o.nzUnCheckedChildren)}}let l=(()=>{class t{constructor(o,r,S,w,A,I){this.nzConfigService=o,this.host=r,this.ngZone=S,this.cdr=w,this.focusMonitor=A,this.directionality=I,this._nzModuleName="switch",this.isChecked=!1,this.onChange=()=>{},this.onTouched=()=>{},this.nzLoading=!1,this.nzDisabled=!1,this.nzControl=!1,this.nzCheckedChildren=null,this.nzUnCheckedChildren=null,this.nzSize="default",this.dir="ltr",this.destroy$=new C.xQ}updateValue(o){this.isChecked!==o&&(this.isChecked=o,this.onChange(this.isChecked))}focus(){this.focusMonitor.focusVia(this.switchElement.nativeElement,"keyboard")}blur(){this.switchElement.nativeElement.blur()}ngOnInit(){this.directionality.change.pipe((0,z.R)(this.destroy$)).subscribe(o=>{this.dir=o,this.cdr.detectChanges()}),this.dir=this.directionality.value,this.ngZone.runOutsideAngular(()=>{(0,m.R)(this.host.nativeElement,"click").pipe((0,z.R)(this.destroy$)).subscribe(o=>{o.preventDefault(),!(this.nzControl||this.nzDisabled||this.nzLoading)&&this.ngZone.run(()=>{this.updateValue(!this.isChecked),this.cdr.markForCheck()})}),(0,m.R)(this.switchElement.nativeElement,"keydown").pipe((0,z.R)(this.destroy$)).subscribe(o=>{if(this.nzControl||this.nzDisabled||this.nzLoading)return;const{keyCode:r}=o;r!==p.oh&&r!==p.SV&&r!==p.L_&&r!==p.K5||(o.preventDefault(),this.ngZone.run(()=>{r===p.oh?this.updateValue(!1):r===p.SV?this.updateValue(!0):(r===p.L_||r===p.K5)&&this.updateValue(!this.isChecked),this.cdr.markForCheck()}))})})}ngAfterViewInit(){this.focusMonitor.monitor(this.switchElement.nativeElement,!0).pipe((0,z.R)(this.destroy$)).subscribe(o=>{o||Promise.resolve().then(()=>this.onTouched())})}ngOnDestroy(){this.focusMonitor.stopMonitoring(this.switchElement.nativeElement),this.destroy$.next(),this.destroy$.complete()}writeValue(o){this.isChecked=o,this.cdr.markForCheck()}registerOnChange(o){this.onChange=o}registerOnTouched(o){this.onTouched=o}setDisabledState(o){this.nzDisabled=o,this.cdr.markForCheck()}}return t.\u0275fac=function(o){return new(o||t)(e.Y36(u.jY),e.Y36(e.SBq),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(c.tE),e.Y36(_.Is,8))},t.\u0275cmp=e.Xpm({type:t,selectors:[["nz-switch"]],viewQuery:function(o,r){if(1&o&&e.Gf(M,7),2&o){let S;e.iGM(S=e.CRH())&&(r.switchElement=S.first)}},inputs:{nzLoading:"nzLoading",nzDisabled:"nzDisabled",nzControl:"nzControl",nzCheckedChildren:"nzCheckedChildren",nzUnCheckedChildren:"nzUnCheckedChildren",nzSize:"nzSize"},exportAs:["nzSwitch"],features:[e._Bn([{provide:f.JU,useExisting:(0,e.Gpc)(()=>t),multi:!0}])],decls:9,vars:15,consts:[["nz-wave","","type","button",1,"ant-switch",3,"disabled","nzWaveExtraNode"],["switchElement",""],[1,"ant-switch-handle"],["nz-icon","","nzType","loading","class","ant-switch-loading-icon",4,"ngIf"],[1,"ant-switch-inner"],[4,"ngIf","ngIfElse"],["uncheckTemplate",""],[1,"ant-click-animating-node"],["nz-icon","","nzType","loading",1,"ant-switch-loading-icon"],[4,"nzStringTemplateOutlet"]],template:function(o,r){if(1&o&&(e.TgZ(0,"button",0,1),e.TgZ(2,"span",2),e.YNc(3,P,1,0,"i",3),e.qZA(),e.TgZ(4,"span",4),e.YNc(5,O,2,1,"ng-container",5),e.YNc(6,D,1,1,"ng-template",null,6,e.W1O),e.qZA(),e._UZ(8,"div",7),e.qZA()),2&o){const S=e.MAs(7);e.ekj("ant-switch-checked",r.isChecked)("ant-switch-loading",r.nzLoading)("ant-switch-disabled",r.nzDisabled)("ant-switch-small","small"===r.nzSize)("ant-switch-rtl","rtl"===r.dir),e.Q6J("disabled",r.nzDisabled)("nzWaveExtraNode",!0),e.xp6(3),e.Q6J("ngIf",r.nzLoading),e.xp6(2),e.Q6J("ngIf",r.isChecked)("ngIfElse",S)}},directives:[d.dQ,E.O5,k.Ls,y.f],encapsulation:2,changeDetection:0}),(0,a.gn)([(0,v.yF)()],t.prototype,"nzLoading",void 0),(0,a.gn)([(0,v.yF)()],t.prototype,"nzDisabled",void 0),(0,a.gn)([(0,v.yF)()],t.prototype,"nzControl",void 0),(0,a.gn)([(0,u.oS)()],t.prototype,"nzSize",void 0),t})(),n=(()=>{class t{}return t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[_.vT,E.ez,d.vG,k.PV,y.T]]}),t})()}}]);
\ No newline at end of file
diff --git a/server/public/5839.fe88ba0e4fbacb4f.js b/server/public/5839.fe88ba0e4fbacb4f.js
new file mode 100644
index 000000000..a6f337f0e
--- /dev/null
+++ b/server/public/5839.fe88ba0e4fbacb4f.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[5839],{6550:(N,T,n)=>{n.d(T,{l:()=>e});var t=n(5e3),d=n(8481),z=n(404),v=n(647);const g=["*"];let e=(()=>{class a{constructor(){}ngOnInit(){if(void 0===this.href)throw new Error("cvc-link-tag requires href string input, none supplied.")}}return a.\u0275fac=function(u){return new(u||a)},a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-link-tag"]],inputs:{href:"href",tooltip:"tooltip",iconName:"iconName"},ngContentSelectors:g,decls:4,vars:4,consts:[["target","_blank",3,"href"],["nzColor","default","nz-tooltip","",3,"nzTooltipTitle","nzTooltipTrigger"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(u,h){1&u&&(t.F$t(),t.TgZ(0,"a",0),t.TgZ(1,"nz-tag",1),t._UZ(2,"i",2),t.Hsn(3),t.qZA(),t.qZA()),2&u&&(t.Q6J("href",h.href,t.LSH),t.xp6(1),t.Q6J("nzTooltipTitle",h.tooltip)("nzTooltipTrigger",h.tooltip?"hover":null),t.xp6(1),t.Q6J("nzType",h.iconName?h.iconName:"link"))},directives:[d.j,z.SY,v.Ls],styles:[""]}),a})()},3630:(N,T,n)=>{n.d(T,{X:()=>e});var t=n(9808),d=n(404),z=n(8481),v=n(647),g=n(5e3);let e=(()=>{class a{}return a.\u0275fac=function(u){return new(u||a)},a.\u0275mod=g.oAB({type:a}),a.\u0275inj=g.cJS({imports:[[t.ez,d.cg,z.X,v.PV]]}),a})()},8992:(N,T,n)=>{n.d(T,{I:()=>W});var t=n(325),d=n(8929),z=n(2198),v=n(7625),g=n(1059),e=n(5e3),a=n(2313);let b=(()=>{class s{constructor(i,m){this.title=i,this.meta=m}updateTitle(i){this.title.setTitle(i+=" | CIViC")}updateMetaTags(i){i.forEach(m=>this.meta.updateTag(m))}}return s.\u0275fac=function(i){return new(i||s)(e.LFG(a.Dx),e.LFG(a.h_))},s.\u0275prov=e.Yz7({token:s,factory:s.\u0275fac,providedIn:"root"}),s})();var u=n(1894),h=n(9808),R=n(1758);function x(s,C){}function S(s,C){if(1&s&&(e.TgZ(0,"nz-col",5),e.YNc(1,x,0,0,"ng-template",6),e.qZA()),2&s){const i=e.oxw();e.Q6J("nzSpan",i.relationsTpl?5:14),e.xp6(1),e.Q6J("ngTemplateOutlet",i.actionsTpl)}}function L(s,C){}function U(s,C){if(1&s&&(e.TgZ(0,"nz-col",7),e.YNc(1,L,0,0,"ng-template",6),e.qZA()),2&s){const i=e.oxw();e.Q6J("nzSpan",i.actionsTpl?9:14),e.xp6(1),e.Q6J("ngTemplateOutlet",i.relationsTpl)}}const F=function(s,C){return{"has-relations":s,"has-actions":C}};let W=(()=>{class s{constructor(i,m,_){this.titleService=i,this.injector=m,this.cdr=_,this.destroy$=new d.xQ,this.segments=[],this._getRouteLabel=f=>"DISPLAYNAME"!==f?f:void 0===this.displayName?"[?DISPLAY NAME?]":this.displayName,this.getRouteLabel=f=>f}ngOnInit(){this.getRouteLabel=this._getRouteLabel,this.registerRouterChange()}registerRouterChange(){try{const i=this.injector.get(t.F0),m=this.injector.get(t.gz);i.events.pipe((0,z.h)(_=>_ instanceof t.m2),(0,v.R)(this.destroy$),(0,g.O)(!0)).subscribe(()=>{this.segments=this.getTitleSegments(m.root);let _="",f=this.segments.length,E=1;this.segments.forEach(O=>{_+=this._getRouteLabel(O.label),EB.path).filter(B=>B).join("/"),y=O?m+`/${O}`:m,A=E.snapshot.data.breadcrumb;return O&&A&&_.push({label:A,url:y}),this.getTitleSegments(E,y,_)}return _}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return s.\u0275fac=function(i){return new(i||s)(e.Y36(b),e.Y36(e.zs3),e.Y36(e.sBO))},s.\u0275cmp=e.Xpm({type:s,selectors:[["cvc-section-navigation"]],inputs:{displayName:"displayName",relationsTpl:"relationsTpl",actionsTpl:"actionsTpl"},decls:5,vars:8,consts:[["id","nav-container",3,"ngClass"],["nzSpan","10","id","breadcrumbs"],[3,"nzAutoGenerate","nzRouteLabelFn"],["id","action-btns",3,"nzSpan",4,"ngIf"],["id","relations-summary",3,"nzSpan",4,"ngIf"],["id","action-btns",3,"nzSpan"],[3,"ngTemplateOutlet"],["id","relations-summary",3,"nzSpan"]],template:function(i,m){1&i&&(e.TgZ(0,"nz-row",0),e.TgZ(1,"nz-col",1),e._UZ(2,"nz-breadcrumb",2),e.qZA(),e.YNc(3,S,2,2,"nz-col",3),e.YNc(4,U,2,2,"nz-col",4),e.qZA()),2&i&&(e.Q6J("ngClass",e.WLB(5,F,void 0!==m.relationsTpl,void 0!==m.actionsTpl)),e.xp6(2),e.Q6J("nzAutoGenerate",!0)("nzRouteLabelFn",m.getRouteLabel),e.xp6(1),e.Q6J("ngIf",m.actionsTpl),e.xp6(1),e.Q6J("ngIf",m.relationsTpl))},directives:[u.SK,h.mk,u.t3,R.Dg,h.O5,h.tP],styles:[".typeahead-match[_ngcontent-%COMP%]{font-weight:700}[_nghost-%COMP%]{display:block}#nav-container[_ngcontent-%COMP%]{margin-top:-12px;padding:4px 8px}#nav-container.has-relations[_ngcontent-%COMP%]{padding:8px}#nav-container.has-actions[_ngcontent-%COMP%]{padding:7px}#breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb a, #breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb-separator{color:#ffffffa6}#breadcrumbs[_ngcontent-%COMP%] .ant-breadcrumb a:hover{color:#40a9ff}#action-btns[_ngcontent-%COMP%], #relations-summary[_ngcontent-%COMP%]{text-align:right}#relations-summary[_ngcontent-%COMP%] .label{color:#ffffffa6}#relations-summary[_ngcontent-%COMP%] nz-space .tags>*:last-child nz-tag{margin-right:0}#relations-summary[_ngcontent-%COMP%] nz-space .ant-space-item:last-child{margin-right:0!important}"]}),s})()},5630:(N,T,n)=>{n.d(T,{D:()=>e});var t=n(9808),d=n(1894),z=n(1758),v=n(325),g=n(5e3);let e=(()=>{class a{}return a.\u0275fac=function(u){return new(u||a)},a.\u0275mod=g.oAB({type:a}),a.\u0275inj=g.cJS({imports:[[t.ez,v.Bz,d.Jb,z.lt]]}),a})()},1758:(N,T,n)=>{n.d(T,{Dg:()=>B,lt:()=>Q});var t=n(5e3),d=n(9808),z=n(3677),v=n(647),g=n(969),e=n(655),a=n(325),b=n(8929),u=n(7625),h=n(2198),R=n(1059),x=n(948),S=n(1721),L=n(226),U=n(2845),F=n(6950);function W(o,l){}function s(o,l){1&o&&t._UZ(0,"i",6)}function C(o,l){if(1&o&&(t.ynx(0),t.TgZ(1,"span",3),t.YNc(2,W,0,0,"ng-template",4),t.YNc(3,s,1,0,"i",5),t.qZA(),t.BQk()),2&o){const r=t.oxw(),c=t.MAs(2);t.xp6(1),t.Q6J("nzDropdownMenu",r.nzOverlay),t.xp6(1),t.Q6J("ngTemplateOutlet",c),t.xp6(1),t.Q6J("ngIf",!!r.nzOverlay)}}function i(o,l){1&o&&(t.TgZ(0,"span",7),t.Hsn(1),t.qZA())}function m(o,l){if(1&o&&(t.ynx(0),t._uU(1),t.BQk()),2&o){const r=t.oxw(2);t.xp6(1),t.hij(" ",r.nzBreadCrumbComponent.nzSeparator," ")}}function _(o,l){if(1&o&&(t.TgZ(0,"span",8),t.YNc(1,m,2,1,"ng-container",9),t.qZA()),2&o){const r=t.oxw();t.xp6(1),t.Q6J("nzStringTemplateOutlet",r.nzBreadCrumbComponent.nzSeparator)}}const f=["*"];function E(o,l){if(1&o){const r=t.EpF();t.TgZ(0,"nz-breadcrumb-item"),t.TgZ(1,"a",2),t.NdJ("click",function(p){const M=t.CHM(r).$implicit;return t.oxw(2).navigate(M.url,p)}),t._uU(2),t.qZA(),t.qZA()}if(2&o){const r=l.$implicit;t.xp6(1),t.uIk("href",r.url,t.LSH),t.xp6(1),t.Oqu(r.label)}}function O(o,l){if(1&o&&(t.ynx(0),t.YNc(1,E,3,2,"nz-breadcrumb-item",1),t.BQk()),2&o){const r=t.oxw();t.xp6(1),t.Q6J("ngForOf",r.breadcrumbs)}}class y{}let A=(()=>{class o{constructor(r){this.nzBreadCrumbComponent=r}}return o.\u0275fac=function(r){return new(r||o)(t.Y36(y))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nz-breadcrumb-item"]],inputs:{nzOverlay:"nzOverlay"},exportAs:["nzBreadcrumbItem"],ngContentSelectors:f,decls:4,vars:3,consts:[[4,"ngIf","ngIfElse"],["noMenuTpl",""],["class","ant-breadcrumb-separator",4,"ngIf"],["nz-dropdown","",1,"ant-breadcrumb-overlay-link",3,"nzDropdownMenu"],[3,"ngTemplateOutlet"],["nz-icon","","nzType","down",4,"ngIf"],["nz-icon","","nzType","down"],[1,"ant-breadcrumb-link"],[1,"ant-breadcrumb-separator"],[4,"nzStringTemplateOutlet"]],template:function(r,c){if(1&r&&(t.F$t(),t.YNc(0,C,4,3,"ng-container",0),t.YNc(1,i,2,0,"ng-template",null,1,t.W1O),t.YNc(3,_,2,1,"span",2)),2&r){const p=t.MAs(2);t.Q6J("ngIf",!!c.nzOverlay)("ngIfElse",p),t.xp6(3),t.Q6J("ngIf",c.nzBreadCrumbComponent.nzSeparator)}},directives:[d.O5,z.cm,d.tP,v.Ls,g.f],encapsulation:2,changeDetection:0}),o})(),B=(()=>{class o{constructor(r,c,p,D,M){this.injector=r,this.cdr=c,this.elementRef=p,this.renderer=D,this.directionality=M,this.nzAutoGenerate=!1,this.nzSeparator="/",this.nzRouteLabel="breadcrumb",this.nzRouteLabelFn=P=>P,this.breadcrumbs=[],this.dir="ltr",this.destroy$=new b.xQ,D.addClass(p.nativeElement,"ant-breadcrumb")}ngOnInit(){var r;this.nzAutoGenerate&&this.registerRouterChange(),null===(r=this.directionality.change)||void 0===r||r.pipe((0,u.R)(this.destroy$)).subscribe(c=>{this.dir=c,this.prepareComponentForRtl(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.prepareComponentForRtl()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}navigate(r,c){c.preventDefault(),this.injector.get(a.F0).navigateByUrl(r)}registerRouterChange(){try{const r=this.injector.get(a.F0),c=this.injector.get(a.gz);r.events.pipe((0,h.h)(p=>p instanceof a.m2),(0,u.R)(this.destroy$),(0,R.O)(!0)).subscribe(()=>{this.breadcrumbs=this.getBreadcrumbs(c.root),this.cdr.markForCheck()})}catch(r){throw new Error(`${x.Bq} You should import RouterModule if you want to use 'NzAutoGenerate'.`)}}getBreadcrumbs(r,c="",p=[]){const D=r.children;if(0===D.length)return p;for(const M of D)if(M.outlet===a.eC){const P=M.snapshot.url.map(I=>I.path).filter(I=>I).join("/"),K=P?`${c}/${P}`:c,Y=this.nzRouteLabelFn(M.snapshot.data[this.nzRouteLabel]);return P&&Y&&p.push({label:Y,params:M.snapshot.params,url:K}),this.getBreadcrumbs(M,K,p)}return p}prepareComponentForRtl(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-breadcrumb-rtl")}}return o.\u0275fac=function(r){return new(r||o)(t.Y36(t.zs3),t.Y36(t.sBO),t.Y36(t.SBq),t.Y36(t.Qsj),t.Y36(L.Is,8))},o.\u0275cmp=t.Xpm({type:o,selectors:[["nz-breadcrumb"]],inputs:{nzAutoGenerate:"nzAutoGenerate",nzSeparator:"nzSeparator",nzRouteLabel:"nzRouteLabel",nzRouteLabelFn:"nzRouteLabelFn"},exportAs:["nzBreadcrumb"],features:[t._Bn([{provide:y,useExisting:o}])],ngContentSelectors:f,decls:2,vars:1,consts:[[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"click"]],template:function(r,c){1&r&&(t.F$t(),t.Hsn(0),t.YNc(1,O,2,1,"ng-container",0)),2&r&&(t.xp6(1),t.Q6J("ngIf",c.nzAutoGenerate&&c.breadcrumbs.length))},directives:[A,d.O5,d.sg],encapsulation:2,changeDetection:0}),(0,e.gn)([(0,S.yF)()],o.prototype,"nzAutoGenerate",void 0),o})(),Q=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[d.ez,g.T,U.U8,F.e4,z.b1,v.PV],L.vT]}),o})()}}]);
\ No newline at end of file
diff --git a/server/public/6029.1d7dafd8569c5ba1.js b/server/public/6029.1d7dafd8569c5ba1.js
new file mode 100644
index 000000000..9988515c4
--- /dev/null
+++ b/server/public/6029.1d7dafd8569c5ba1.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6029],{8369:(J,_,t)=>{t.d(_,{W:()=>V});var a=t(9808),o=t(325),n=t(8481),d=t(3610),f=t(647),u=t(7484),z=t(3098),Z=t(3309),M=t(4867),T=t(6286),h=t(8018),P=t(6949),c=t(9444),x=t(1894),p=t(8144),g=t(3580),I=t(8625),G=t(7026),B=t(592),D=t(404),N=t(5e3);let F=(()=>{class y{}return y.\u0275fac=function(Y){return new(Y||y)},y.\u0275mod=N.oAB({type:y}),y.\u0275inj=N.cJS({imports:[[a.ez,o.Bz,P.WG,u.vh,z.q6,f.PV,x.Jb,p.zf,n.X,D.cg,Z.U,g.Q,M.Q,T.y,h.e,c.s,B.x,I.$L.forChild({formatter:{useClass:G.x,provide:I.KP}})]]}),y})(),V=(()=>{class y{}return y.\u0275fac=function(Y){return new(Y||y)},y.\u0275mod=N.oAB({type:y}),y.\u0275inj=N.cJS({imports:[[a.ez,o.Bz,n.X,d.$6,f.PV,F,c.s]]}),y})()},3580:(J,_,t)=>{t.d(_,{Q:()=>x});var a=t(9808),o=t(325),n=t(8481),d=t(3610),f=t(647),u=t(7484),z=t(3098),Z=t(3630),M=t(6949),T=t(3618),h=t(9444),P=t(5e3);let c=(()=>{class p{}return p.\u0275fac=function(I){return new(I||p)},p.\u0275mod=P.oAB({type:p}),p.\u0275inj=P.cJS({imports:[[a.ez,M.WG,u.vh,z.q6,f.PV,T.ZJ,h.s,Z.X]]}),p})(),x=(()=>{class p{}return p.\u0275fac=function(I){return new(I||p)},p.\u0275mod=P.oAB({type:p}),p.\u0275inj=P.cJS({imports:[[a.ez,o.Bz,n.X,d.$6,f.PV,h.s,c]]}),p})()},8018:(J,_,t)=>{t.d(_,{e:()=>p});var a=t(9808),o=t(325),n=t(8481),d=t(3610),f=t(647),u=t(7484),z=t(3098),Z=t(6949),M=t(3630),T=t(3618),h=t(9444),P=t(404),c=t(5e3);let x=(()=>{class g{}return g.\u0275fac=function(G){return new(G||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[a.ez,o.Bz,Z.WG,u.vh,z.q6,f.PV,T.ZJ,n.X,P.cg,M.X,h.s]]}),g})(),p=(()=>{class g{}return g.\u0275fac=function(G){return new(G||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[a.ez,o.Bz,n.X,d.$6,f.PV,h.s,x]]}),g})()},209:(J,_,t)=>{t.d(_,{i:()=>F});var a=t(9808),o=t(325),n=t(8481),d=t(3610),f=t(647),u=t(7484),z=t(3309),Z=t(4867),M=t(1894),T=t(3098),h=t(8018),P=t(3580),c=t(6286),x=t(6949),p=t(8144),g=t(9444),I=t(9779),G=t(592),B=t(3618),D=t(5e3);let N=(()=>{class V{}return V.\u0275fac=function(S){return new(S||V)},V.\u0275mod=D.oAB({type:V}),V.\u0275inj=D.cJS({imports:[[a.ez,o.Bz,x.WG,f.PV,u.vh,M.Jb,T.q6,n.X,p.zf,B.ZJ,g.s,h.e,P.Q,z.U,Z.Q,c.y,I.s,G.x]]}),V})(),F=(()=>{class V{}return V.\u0275fac=function(S){return new(S||V)},V.\u0275mod=D.oAB({type:V}),V.\u0275inj=D.cJS({imports:[[a.ez,o.Bz,n.X,d.$6,f.PV,N,g.s]]}),V})()},9476:(J,_,t)=>{t.d(_,{L:()=>x});var a=t(9808),o=t(325),n=t(8481),d=t(647),f=t(1894),u=t(3630),z=t(3098),Z=t(7484),M=t(6949),T=t(5473),h=t(5e3);let P=(()=>{class p{}return p.\u0275fac=function(I){return new(I||p)},p.\u0275mod=h.oAB({type:p}),p.\u0275inj=h.cJS({imports:[[a.ez,M.WG,Z.vh,f.Jb,z.q6,u.X,T.H]]}),p})();var c=t(3610);let x=(()=>{class p{}return p.\u0275fac=function(I){return new(I||p)},p.\u0275mod=h.oAB({type:p}),p.\u0275inj=h.cJS({imports:[[a.ez,o.Bz,n.X,d.PV,c.$6,P]]}),p})()},6286:(J,_,t)=>{t.d(_,{y:()=>P});var a=t(9808),o=t(325),n=t(8481),d=t(3610),f=t(647),u=t(6949),z=t(7484),Z=t(3630),M=t(3098),T=t(5e3);let h=(()=>{class c{}return c.\u0275fac=function(p){return new(p||c)},c.\u0275mod=T.oAB({type:c}),c.\u0275inj=T.cJS({imports:[[a.ez,u.WG,f.PV,z.vh,Z.X,M.q6]]}),c})(),P=(()=>{class c{}return c.\u0275fac=function(p){return new(p||c)},c.\u0275mod=T.oAB({type:c}),c.\u0275inj=T.cJS({imports:[[a.ez,o.Bz,n.X,d.$6,f.PV,h]]}),c})()},2166:(J,_,t)=>{t.d(_,{p:()=>Z});var a=t(5e3),o=t(1047),n=t(4182),d=t(9808),f=t(647);function u(M,T){if(1&M){const h=a.EpF();a.TgZ(0,"i",4),a.NdJ("click",function(){a.CHM(h);const c=a.oxw(2);return c.inputModel=void 0,c.onModelUpdated()}),a.qZA()}}function z(M,T){if(1&M&&a.YNc(0,u,1,0,"i",3),2&M){const h=a.oxw();a.Q6J("ngIf",h.inputModel)}}let Z=(()=>{class M{constructor(){this.inputModelChange=new a.vpe}onModelUpdated(){this.inputModelChange.emit(""!=this.inputModel?this.inputModel:void 0),this.onInputChanged&&this.onInputChanged()}}return M.\u0275fac=function(h){return new(h||M)},M.\u0275cmp=a.Xpm({type:M,selectors:[["cvc-clearable-input-filter"]],inputs:{placeholderText:"placeholderText",onInputChanged:"onInputChanged",inputModel:"inputModel"},outputs:{inputModelChange:"inputModelChange"},decls:4,vars:3,consts:[[3,"nzSuffix"],["type","text","nz-input","",3,"placeholder","ngModel","ngModelChange"],["clearTmpl",""],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"]],template:function(h,P){if(1&h&&(a.TgZ(0,"nz-input-group",0),a.TgZ(1,"input",1),a.NdJ("ngModelChange",function(x){return P.inputModel=x})("ngModelChange",function(){return P.onModelUpdated()}),a.qZA(),a.qZA(),a.YNc(2,z,1,1,"ng-template",null,2,a.W1O)),2&h){const c=a.MAs(3);a.Q6J("nzSuffix",c),a.xp6(1),a.Q6J("placeholder",P.placeholderText?P.placeholderText:"")("ngModel",P.inputModel)}},directives:[o.gB,o.ke,o.Zp,n.Fj,n.JJ,n.On,d.O5,f.Ls],styles:["[_nghost-%COMP%]{display:block}"]}),M})()},4125:(J,_,t)=>{t.d(_,{k:()=>u});var a=t(9808),o=t(1047),n=t(4182),d=t(647),f=t(5e3);let u=(()=>{class z{}return z.\u0275fac=function(M){return new(M||z)},z.\u0275mod=f.oAB({type:z}),z.\u0275inj=f.cJS({imports:[[a.ez,n.u5,o.o7,d.PV]]}),z})()},592:(J,_,t)=>{t.d(_,{x:()=>f});var a=t(9808),o=t(8481),n=t(647),d=t(5e3);let f=(()=>{class u{}return u.\u0275fac=function(Z){return new(Z||u)},u.\u0275mod=d.oAB({type:u}),u.\u0275inj=d.cJS({imports:[[a.ez,o.X,n.PV]]}),u})()},6715:(J,_,t)=>{t.d(_,{$:()=>n});var a=t(5e3);const o=["*"];let n=(()=>{class d{constructor(){}ngOnInit(){}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=a.Xpm({type:d,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(u,z){2&u&&a.ekj("xs","xs"===z.size||!z.size)("sm","sm"===z.size)},inputs:{size:"size"},ngContentSelectors:o,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(u,z){1&u&&(a.F$t(),a.TgZ(0,"div",0),a.Hsn(1),a.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"]}),d})()},897:(J,_,t)=>{t.d(_,{$:()=>n});var a=t(9808),o=t(5e3);let n=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275mod=o.oAB({type:d}),d.\u0275inj=o.cJS({imports:[[a.ez]]}),d})()},7946:(J,_,t)=>{t.d(_,{x:()=>M});var a=t(9808),o=t(897),n=t(8481),d=t(3610),f=t(8018),u=t(3580),z=t(9476),Z=t(5e3);let M=(()=>{class T{}return T.\u0275fac=function(P){return new(P||T)},T.\u0275mod=Z.oAB({type:T}),T.\u0275inj=Z.cJS({imports:[[a.ez,n.X,d.$6,o.$,f.e,u.Q,z.L]]}),T})()},112:(J,_,t)=>{t.d(_,{u:()=>b});var a=t(5e3),o=t(9808),n=t(325),d=t(8481),f=t(3610),u=t(4850),z=t(712),Z=t(7484),M=t(3098),T=t(8664),h=t(6906),P=t(6949);function c(l,A){if(1&l&&(a._UZ(0,"i",7),a._uU(1)),2&l){const v=a.oxw().ngIf;a.xp6(1),a.hij(" ",v.name," ")}}function x(l,A){if(1&l&&(a.TgZ(0,"span"),a._UZ(1,"cvc-variant-tag",10),a.qZA()),2&l){const v=A.$implicit;a.xp6(1),a.Q6J("variant",v.node)}}function p(l,A){if(1&l&&(a.TgZ(0,"nz-descriptions-item",8),a.YNc(1,x,2,1,"span",9),a.qZA()),2&l){const v=a.oxw().ngIf;a.xp6(1),a.Q6J("ngForOf",v.variants.edges)}}function g(l,A){if(1&l&&(a.TgZ(0,"span"),a._UZ(1,"cvc-source-tag",12),a.qZA()),2&l){const v=A.$implicit;a.xp6(1),a.Q6J("source",v)}}function I(l,A){if(1&l&&(a.TgZ(0,"nz-descriptions-item",11),a.YNc(1,g,2,1,"span",9),a.qZA()),2&l){const v=a.oxw().ngIf;a.xp6(1),a.Q6J("ngForOf",v.sources)}}function G(l,A){if(1&l&&(a.ynx(0),a.TgZ(1,"nz-card",2),a.YNc(2,c,2,1,"ng-template",null,3,a.W1O),a._uU(4),a.TgZ(5,"nz-descriptions",4),a.YNc(6,p,2,1,"nz-descriptions-item",5),a.YNc(7,I,2,1,"nz-descriptions-item",6),a.qZA(),a.qZA(),a.BQk()),2&l){const v=A.ngIf,U=a.MAs(3);a.xp6(1),a.Q6J("nzTitle",U),a.xp6(3),a.hij(" ",v.description," "),a.xp6(1),a.Q6J("nzColumn",2),a.xp6(1),a.Q6J("ngIf",v.variants.edges.length>0),a.xp6(1),a.Q6J("ngIf",v.sources.length>0)}}let B=(()=>{class l{constructor(v){this.gql=v}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,u.U)(({data:v})=>v.variantGroup))}}return l.\u0275fac=function(v){return new(v||l)(a.Y36(z.Zo2))},l.\u0275cmp=a.Xpm({type:l,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzType","civic:variant-group"],["nzTitle","Variants","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"variant"],["nzTitle","Sources","nzSpan","2"],[3,"source"]],template:function(v,U){1&v&&(a.TgZ(0,"div",0),a.YNc(1,G,8,5,"ng-container",1),a.ALo(2,"ngrxPush"),a.qZA()),2&v&&(a.xp6(1),a.Q6J("ngIf",a.lcZ(2,1,U.variantGroup$)))},directives:[o.O5,Z.bd,M.R7,M.uj,o.sg,T.I,h.T],pipes:[P.fM],styles:["[_nghost-%COMP%]{display:block}"]}),l})();var D=t(647);function N(l,A){}function F(l,A){if(1&l&&(a.ynx(0),a.TgZ(1,"a",5),a.YNc(2,N,0,0,"ng-template",6),a.qZA(),a.BQk()),2&l){const v=a.oxw(),U=a.MAs(2);a.xp6(1),a.Q6J("routerLink",v.variantgroup.link),a.xp6(1),a.Q6J("ngTemplateOutlet",U)}}function V(l,A){}function y(l,A){if(1&l&&(a.TgZ(0,"nz-tag",9),a.YNc(1,V,0,0,"ng-template",6),a.qZA()),2&l){a.oxw();const v=a.MAs(2);a.oxw();const U=a.MAs(8);a.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",v),a.xp6(1),a.Q6J("ngTemplateOutlet",U)}}function S(l,A){if(1&l&&a._UZ(0,"cvc-variant-group-popover",11),2&l){const v=a.oxw(3);a.Q6J("variantGroupId",v.variantgroup.id)}}function Y(l,A){if(1&l&&a.YNc(0,S,1,1,"cvc-variant-group-popover",10),2&l){const v=a.oxw(2);a.Q6J("ngIf",v.enablePopover)}}function j(l,A){if(1&l&&(a.YNc(0,y,2,3,"nz-tag",7),a.YNc(1,Y,1,1,"ng-template",null,8,a.W1O)),2&l){const v=a.oxw(),U=a.MAs(4);a.Q6J("ngIf",v.enablePopover)("ngIfElse",U)}}function $(l,A){}function R(l,A){if(1&l&&(a.TgZ(0,"nz-tag"),a.YNc(1,$,0,0,"ng-template",6),a.qZA()),2&l){a.oxw();const v=a.MAs(8);a.xp6(1),a.Q6J("ngTemplateOutlet",v)}}function K(l,A){}function H(l,A){if(1&l&&a.YNc(0,K,0,0,"ng-template",6),2&l){a.oxw();const v=a.MAs(2);a.Q6J("ngTemplateOutlet",v)}}function X(l,A){if(1&l&&(a._UZ(0,"i",12),a._uU(1)),2&l){const v=a.oxw();a.xp6(1),a.hij(" ",v.variantgroup.name,"\n")}}let b=(()=>{class l{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.variantgroup)throw new Error("Must pass a LinkableVariantgroup into the variantgroup tag component")}}return l.\u0275fac=function(v){return new(v||l)},l.\u0275cmp=a.Xpm({type:l,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(v,U){if(1&v&&(a.YNc(0,F,3,2,"ng-container",0),a.YNc(1,j,3,2,"ng-template",null,1,a.W1O),a.YNc(3,R,2,1,"ng-template",null,2,a.W1O),a.YNc(5,H,1,1,"ng-template",null,3,a.W1O),a.YNc(7,X,2,1,"ng-template",null,4,a.W1O)),2&v){const w=a.MAs(6);a.Q6J("ngIf",U.linked)("ngIfElse",w)}},directives:[o.O5,n.yS,o.tP,d.j,f.lU,B,D.Ls],styles:[""]}),l})()},7677:(J,_,t)=>{t.d(_,{G:()=>c});var a=t(9808),o=t(325),n=t(3610),d=t(8481),f=t(647),u=t(9779),z=t(4867),Z=t(7484),M=t(3098),T=t(6949),h=t(5e3);let P=(()=>{class x{}return x.\u0275fac=function(g){return new(g||x)},x.\u0275mod=h.oAB({type:x}),x.\u0275inj=h.cJS({imports:[[a.ez,T.WG,Z.vh,M.q6,u.s,z.Q]]}),x})(),c=(()=>{class x{}return x.\u0275fac=function(g){return new(g||x)},x.\u0275mod=h.oAB({type:x}),x.\u0275inj=h.cJS({imports:[[a.ez,o.Bz,n.$6,d.X,f.PV,P]]}),x})()},8664:(J,_,t)=>{t.d(_,{I:()=>k});var a=t(6654),o=t(5e3),n=t(9808),d=t(325),f=t(8481),u=t(3610),z=t(4850),Z=t(712),M=t(7484),T=t(647),h=t(3193),P=t(3098),c=t(6550),x=t(1894),p=t(8144),g=t(6949);function I(i,O){if(1&i&&(o._UZ(0,"i",13),o._uU(1)),2&i){const s=o.oxw().ngIf;o.xp6(1),o.hij(" ",s.name," ")}}function G(i,O){if(1&i&&o._UZ(0,"cvc-gene-tag",14),2&i){const s=o.oxw().ngIf;o.Q6J("enablePopover",!1)("gene",s.gene)}}function B(i,O){if(1&i&&(o.TgZ(0,"nz-tag"),o._uU(1),o.qZA()),2&i){const s=O.$implicit;o.xp6(1),o.Oqu(s)}}function D(i,O){if(1&i&&(o.TgZ(0,"nz-descriptions-item",15),o.YNc(1,B,2,1,"nz-tag",16),o.qZA()),2&i){const s=o.oxw().ngIf;o.xp6(1),o.Q6J("ngForOf",s.variantAliases)}}function N(i,O){if(1&i&&(o.TgZ(0,"nz-descriptions-item",17),o.TgZ(1,"cvc-link-tag",18),o._uU(2),o.qZA(),o.qZA()),2&i){const s=o.oxw().ngIf;o.xp6(1),o.MGl("href","https://reg.genome.network/allele/",s.alleleRegistryId,".html"),o.xp6(1),o.hij(" ",s.alleleRegistryId," ")}}function F(i,O){if(1&i&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",20),o._UZ(2,"i",21),o._uU(3),o.qZA(),o.qZA()),2&i){const s=o.oxw().ngIf;o.MGl("routerLink","/variants/",s.id,"/flags"),o.xp6(3),o.hij(" Flags (",s.flags.totalCount,") ")}}function V(i,O){if(1&i&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",22),o._UZ(2,"i",23),o._uU(3),o.qZA(),o.qZA()),2&i){const s=o.oxw().ngIf;o.MGl("routerLink","/variants/",s.id,"/revisions"),o.xp6(3),o.hij(" Revisions (",s.revisions.totalCount,") ")}}function y(i,O){if(1&i&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",24),o._UZ(2,"i",25),o._uU(3),o.qZA(),o.qZA()),2&i){const s=o.oxw().ngIf;o.MGl("routerLink","/variants/",s.id,"/comments"),o.xp6(3),o.hij(" Comments (",s.comments.totalCount,") ")}}function S(i,O){if(1&i&&(o.ynx(0),o.TgZ(1,"nz-card",2),o.YNc(2,I,2,1,"ng-template",null,3,o.W1O),o.YNc(4,G,1,2,"ng-template",null,4,o.W1O),o.TgZ(6,"nz-descriptions",5),o.YNc(7,D,2,1,"nz-descriptions-item",6),o.YNc(8,N,3,2,"nz-descriptions-item",7),o.TgZ(9,"nz-descriptions-item",8),o._uU(10),o.qZA(),o.qZA(),o.TgZ(11,"nz-row",9),o.TgZ(12,"nz-col",10),o.TgZ(13,"nz-space",11),o.YNc(14,F,4,2,"a",12),o.YNc(15,V,4,2,"a",12),o.YNc(16,y,4,2,"a",12),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.BQk()),2&i){const s=O.ngIf,E=o.MAs(3),L=o.MAs(5);o.xp6(1),o.Q6J("nzTitle",E)("nzExtra",L),o.xp6(5),o.Q6J("nzColumn",2),o.xp6(1),o.Q6J("ngIf",s.variantAliases.length>0),o.xp6(1),o.Q6J("ngIf",s.alleleRegistryId),o.xp6(2),o.hij(" ",s.evidenceItems.totalCount," ")}}let Y=(()=>{class i{constructor(s){this.gql=s}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,z.U)(({data:s})=>s.variant))}}return i.\u0275fac=function(s){return new(s||i)(o.Y36(Z.ZYZ))},i.\u0275cmp=o.Xpm({type:i,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(s,E){1&s&&(o.TgZ(0,"div",0),o.YNc(1,S,17,6,"ng-container",1),o.ALo(2,"ngrxPush"),o.qZA()),2&s&&(o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,E.variant$)))},directives:[n.O5,M.bd,T.Ls,h.H,P.R7,P.uj,n.sg,f.j,c.l,x.SK,x.t3,p.NU,p.$1,d.yS],pipes:[g.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),i})();function j(i,O){}function $(i,O){if(1&i&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,j,0,0,"ng-template",6),o.qZA(),o.BQk()),2&i){const s=o.oxw(),E=o.MAs(2);o.xp6(1),o.Q6J("routerLink",s.variant.link),o.xp6(1),o.Q6J("ngTemplateOutlet",E)}}function R(i,O){}function K(i,O){if(1&i){const s=o.EpF();o.TgZ(0,"nz-tag",9),o.NdJ("nzOnClose",function(L){return o.CHM(s),o.oxw(2).itemClosed(L)}),o.YNc(1,R,0,0,"ng-template",6),o.qZA()}if(2&i){o.oxw();const s=o.MAs(2),E=o.oxw(),L=o.MAs(8);o.Q6J("nzPopoverMouseEnterDelay",E.onCloseClicked?0:.5)("nzPopoverContent",s)("nzMode",E.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",L)}}function H(i,O){if(1&i&&o._UZ(0,"cvc-variant-popover",11),2&i){const s=o.oxw(3);o.Q6J("variantId",s.variant.id)}}function X(i,O){if(1&i&&o.YNc(0,H,1,1,"cvc-variant-popover",10),2&i){const s=o.oxw(2);o.Q6J("ngIf",s.enablePopover)}}function b(i,O){if(1&i&&(o.YNc(0,K,2,4,"nz-tag",7),o.YNc(1,X,1,1,"ng-template",null,8,o.W1O)),2&i){const s=o.oxw(),E=o.MAs(4);o.Q6J("ngIf",s.enablePopover)("ngIfElse",E)}}function l(i,O){}function A(i,O){if(1&i){const s=o.EpF();o.TgZ(0,"nz-tag",12),o.NdJ("nzOnClose",function(L){return o.CHM(s),o.oxw().itemClosed(L)}),o.YNc(1,l,0,0,"ng-template",6),o.qZA()}if(2&i){const s=o.oxw(),E=o.MAs(8);o.Q6J("nzMode",s.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",E)}}function v(i,O){}function U(i,O){if(1&i&&o.YNc(0,v,0,0,"ng-template",6),2&i){o.oxw();const s=o.MAs(2);o.Q6J("ngTemplateOutlet",s)}}function w(i,O){if(1&i&&(o._UZ(0,"i",13),o._uU(1)),2&i){const s=o.oxw();o.xp6(1),o.hij(" ",s.variant.name,"\n")}}let k=(()=>{class i extends a.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return i.\u0275fac=function(s){return new(s||i)},i.\u0275cmp=o.Xpm({type:i,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[o.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(s,E){if(1&s&&(o.YNc(0,$,3,2,"ng-container",0),o.YNc(1,b,3,2,"ng-template",null,1,o.W1O),o.YNc(3,A,2,2,"ng-template",null,2,o.W1O),o.YNc(5,U,1,1,"ng-template",null,3,o.W1O),o.YNc(7,w,2,1,"ng-template",null,4,o.W1O)),2&s){const L=o.MAs(6);o.Q6J("ngIf",E.linked)("ngIfElse",L)}},directives:[n.O5,d.yS,n.tP,f.j,u.lU,Y,T.Ls],styles:[""]}),i})()},4867:(J,_,t)=>{t.d(_,{Q:()=>p});var a=t(9808),o=t(325),n=t(8481),d=t(647),f=t(3610),u=t(6949),z=t(7484),Z=t(1894),M=t(3098),T=t(8144),h=t(3309),P=t(3630),c=t(5e3);let x=(()=>{class g{}return g.\u0275fac=function(G){return new(G||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[a.ez,o.Bz,u.WG,z.vh,Z.Jb,M.q6,n.X,d.PV,T.zf,h.U,P.X]]}),g})(),p=(()=>{class g{}return g.\u0275fac=function(G){return new(G||g)},g.\u0275mod=c.oAB({type:g}),g.\u0275inj=c.cJS({imports:[[a.ez,o.Bz,n.X,f.$6,d.PV,x]]}),g})()},3154:(J,_,t)=>{t.d(_,{_:()=>o});var a=t(712);function o(n){var d;switch(n.value){case"ascend":d=a.SrV.Asc;break;case"descend":d=a.SrV.Desc;break;default:return}return{column:n.key,direction:d}}},79:(J,_,t)=>{t.r(_),t.d(_,{VariantGroupsModule:()=>Zn});var a=t(9808),o=t(325),n=t(5e3),d=t(9350),f=t(8992),u=t(6949),z=t(6042),Z=t(2643),M=t(2683),T=t(647),h=t(1945),P=t(1894),c=t(3618),x=t(8144),p=t(712),g=t(3154),I=t(8929),G=t(4850),B=t(373),D=t(1059),N=t(2986),F=t(13),V=t(7484),y=t(1132),S=t(404),Y=t(2166),j=t(112);function $(e,C){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const r=C.$implicit,m=C.last;n.xp6(1),n.AsE(" ",r,"",m?"":", "," ")}}function R(e,C){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const r=C.$implicit,m=C.last;n.xp6(1),n.AsE(" ",r,"",m?"":", "," ")}}function K(e,C){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._UZ(2,"cvc-variant-group-tag",17),n.qZA(),n.TgZ(3,"td"),n.TgZ(4,"p",18),n.YNc(5,$,2,2,"span",15),n.qZA(),n.qZA(),n.TgZ(6,"td"),n.TgZ(7,"p",18),n.YNc(8,R,2,2,"span",15),n.qZA(),n.qZA(),n.TgZ(9,"td"),n._uU(10),n.qZA(),n.TgZ(11,"td"),n._uU(12),n.qZA(),n.qZA()),2&e){const r=C.$implicit;n.xp6(2),n.Q6J("variantgroup",r),n.xp6(3),n.Q6J("ngForOf",r.variantNames),n.xp6(3),n.Q6J("ngForOf",r.geneNames),n.xp6(2),n.hij(" ",r.variantCount," "),n.xp6(2),n.hij(" ",r.evidenceItemCount," ")}}function H(e,C){if(1&e){const r=n.EpF();n.TgZ(0,"button",21),n.NdJ("click",function(){n.CHM(r);const Q=n.oxw(2).ngrxLet;return n.oxw(2).loadMore(Q.endCursor)}),n._uU(1),n.qZA()}if(2&e){const r=n.oxw(4);n.xp6(1),n.hij("Load ",r.pageSize," More")}}function X(e,C){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td",19),n.YNc(2,H,2,1,"button",20),n.qZA(),n.qZA()),2&e){const r=n.oxw().ngrxLet;n.xp6(2),n.Q6J("ngIf",r.hasNextPage)}}function b(e,C){if(1&e&&(n.ynx(0),n.YNc(1,X,3,1,"tr",1),n.BQk()),2&e){const r=C.ngrxLet;n.xp6(1),n.Q6J("ngIf",r.hasNextPage)}}const l=function(){return["descend","ascend",null]};function A(e,C){if(1&e){const r=n.EpF();n.ynx(0),n.TgZ(1,"nz-table",3,4),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.TgZ(5,"thead",5),n.NdJ("nzSortOrderChange",function(Q){return n.CHM(r),n.oxw().onSortChanged(Q)}),n.TgZ(6,"tr"),n.TgZ(7,"th",6),n._uU(8," Name "),n.qZA(),n.TgZ(9,"th",7),n._uU(10," Variants "),n.qZA(),n.TgZ(11,"th",7),n._uU(12," Genes "),n.qZA(),n.TgZ(13,"th",8),n._UZ(14,"i",9),n.qZA(),n.TgZ(15,"th",10),n._UZ(16,"i",11),n.qZA(),n.qZA(),n.TgZ(17,"tr"),n.TgZ(18,"th"),n.TgZ(19,"cvc-clearable-input-filter",12),n.NdJ("inputModelChange",function(Q){return n.CHM(r),n.oxw().nameInput=Q}),n.qZA(),n.qZA(),n.TgZ(20,"th"),n.TgZ(21,"cvc-clearable-input-filter",13),n.NdJ("inputModelChange",function(Q){return n.CHM(r),n.oxw().variantNameInput=Q}),n.qZA(),n.qZA(),n.TgZ(22,"th"),n.TgZ(23,"cvc-clearable-input-filter",14),n.NdJ("inputModelChange",function(Q){return n.CHM(r),n.oxw().geneNameInput=Q}),n.qZA(),n.qZA(),n._UZ(24,"th"),n._UZ(25,"th"),n.qZA(),n.qZA(),n.TgZ(26,"tbody"),n.YNc(27,K,13,5,"tr",15),n.YNc(28,b,2,1,"ng-container",16),n.qZA(),n.qZA(),n.BQk()}if(2&e){const r=n.MAs(2),m=n.oxw();n.xp6(1),n.Q6J("nzData",n.lcZ(3,20,m.variantGroups$))("nzLoading",n.lcZ(4,22,m.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(6),n.Q6J("nzColumnKey",m.sortColumns.Name)("nzSortFn",!0),n.xp6(6),n.Q6J("nzColumnKey",m.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",n.DdM(24,l)),n.xp6(2),n.Q6J("nzColumnKey",m.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(25,l)),n.xp6(4),n.Q6J("inputModel",m.nameInput)("onInputChanged",m.textInputCallback),n.xp6(2),n.Q6J("inputModel",m.variantNameInput)("onInputChanged",m.textInputCallback),n.xp6(2),n.Q6J("inputModel",m.geneNameInput)("onInputChanged",m.textInputCallback),n.xp6(4),n.Q6J("ngForOf",r.data),n.xp6(1),n.Q6J("ngrxLet",m.pageInfo$)}}function v(e,C){}function U(e,C){if(1&e&&(n.ynx(0),n.YNc(1,v,0,0,"ng-template",25),n.BQk()),2&e){const r=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",r.cvcTitleTemplate)}}function w(e,C){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const r=n.oxw(2);n.xp6(1),n.hij(" ",r.cvcTitle," ")}}function k(e,C){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const r=n.oxw().ngIf;n.xp6(1),n.hij(" of ",r," filtered")}}function i(e,C){if(1&e&&(n.TgZ(0,"span",26),n._uU(1),n.YNc(2,k,2,1,"span",1),n._uU(3,") "),n.qZA()),2&e){const r=C.ngIf,m=n.oxw(2);n.xp6(1),n.AsE(" (",m.totalCount," total, showing ",m.visibleCount,""),n.xp6(1),n.Q6J("ngIf",m.totalCount&&r{class e{constructor(r){this.gql=r,this.debouncedQuery=new I.xQ,this.pageSize=25,this.sortColumns=p.FB1,this.visibleCount=this.pageSize,this.loadedPages=1}ngOnInit(){this.queryRef=this.gql.watch({first:this.pageSize}),this.data$=this.queryRef.valueChanges.pipe((0,G.U)(r=>({data:r.data,loading:r.loading,networkStatus:r.networkStatus}))),this.isLoading$=this.data$.pipe((0,B.j)("loading"),(0,D.O)(!0)),this.variantGroups$=this.data$.pipe((0,B.j)("data","browseVariantGroups","edges"),(0,G.U)(r=>r.map(m=>m.node))),this.pageInfo$=this.data$.pipe((0,B.j)("data","browseVariantGroups","pageInfo")),this.filteredCount$=this.data$.pipe((0,B.j)("data","browseVariantGroups","filteredCount")),this.filteredCount$.pipe((0,N.q)(1)).subscribe(r=>this.totalCount=r),this.filteredCount$.subscribe(r=>{rr&&(this.visibleCount=r))}),this.debouncedQuery.pipe((0,F.b)(500)).subscribe(r=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()}}refresh(){var r;this.loadedPages=1,null===(r=this.queryRef)||void 0===r||r.refetch({name:this.nameInput,geneNames:this.geneNameInput,variantNames:this.variantNameInput})}onSortChanged(r){var m;this.loadedPages=1,null===(m=this.queryRef)||void 0===m||m.refetch({sortBy:(0,g._)(r)})}onModelChanged(){this.debouncedQuery.next()}ngOnDestroy(){this.debouncedQuery.unsubscribe()}loadMore(r){var m;null===(m=this.queryRef)||void 0===m||m.fetchMore({variables:{first:this.pageSize,after:r}}),this.loadedPages+=1}}return e.\u0275fac=function(r){return new(r||e)(n.Y36(p.qf4))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-variant-groups-table"]],inputs:{cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:5,vars:6,consts:[[3,"nzTitle"],[4,"ngIf"],["titleTemplate",""],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["variantGroupsTable",""],[3,"nzSortOrderChange"],["nzWidth","20%",3,"nzColumnKey","nzSortFn"],["nzWidth","30%"],["nzWidth","10%","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:variant"],["nzWidth","10%","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:evidence"],["placeholderText","Name",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Variant Name",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Gene Name",3,"inputModel","onInputChanged","inputModelChange"],[4,"ngFor","ngForOf"],[4,"ngrxLet"],[3,"variantgroup"],["nz-typography",""],["colspan","7"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],["nz-icon","","nzType","civic:variantgroup"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(r,m){if(1&r&&(n.TgZ(0,"nz-card",0),n.YNc(1,A,29,26,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,s,7,6,"ng-template",null,2,n.W1O)),2&r){const Q=n.MAs(4);n.Q6J("nzTitle",Q),n.xp6(1),n.Q6J("ngIf",n.VKq(4,E,n.lcZ(2,2,m.data$)))}},directives:[V.bd,a.O5,y.N8,y.Om,y.$Z,y.Uo,y._C,y.qD,S.SY,M.w,T.Ls,Y.p,y.p0,a.sg,j.u,c.ZU,u.eJ,z.ix,Z.dQ,a.tP],pipes:[u.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),e})();function q(e,C){1&e&&(n.TgZ(0,"button",18),n._UZ(1,"i",19),n._uU(2," Submit New Variant Group "),n.qZA())}function tn(e,C){if(1&e&&(n.ynx(0),n.YNc(1,q,3,0,"button",17),n.BQk()),2&e){const r=C.ngrxLet;n.xp6(1),n.Q6J("ngIf",r.signedIn)}}function on(e,C){if(1&e&&n.YNc(0,tn,2,1,"ng-container",16),2&e){const r=n.oxw();n.Q6J("ngrxLet",r.viewer$)}}function an(e,C){1&e&&(n.TgZ(0,"a",20),n._UZ(1,"i",21),n._uU(2," View Variant Group Model Docs "),n.qZA())}function en(e,C){1&e&&(n.TgZ(0,"a",22),n._UZ(1,"i",21),n._uU(2," View Variant Group Curation Docs "),n.qZA())}const rn=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-variant-groups"]],decls:1,vars:0,template:function(r,m){1&r&&n._UZ(0,"router-outlet")},directives:[o.lC],styles:[""]}),e})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class e{constructor(r){this.viewerService=r,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return e.\u0275fac=function(r){return new(r||e)(n.Y36(d.a))},e.\u0275cmp=n.Xpm({type:e,selectors:[["variant-groups-home"]],decls:21,vars:3,consts:[[3,"actionsTpl"],["vargroupActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:variantgroup"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html#curating-variant-groups","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Variant Groups"],[4,"ngrxLet"],["routerLink","/variant-groups/add/submit","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/variant-groups/add/submit","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/variant_groups.html#curating-variant-groups","target","_blank","nzSize","small","nzBlock",""]],template:function(r,m){if(1&r&&(n._UZ(0,"cvc-section-navigation",0),n.YNc(1,on,1,1,"ng-template",null,1,n.W1O),n.TgZ(3,"nz-page-header",2),n.TgZ(4,"nz-page-header-content"),n.TgZ(5,"nz-row",3),n.TgZ(6,"nz-col",4),n._UZ(7,"i",5),n.qZA(),n.TgZ(8,"nz-col",6),n.TgZ(9,"h2"),n._uU(10,"Variant Groups"),n.qZA(),n.TgZ(11,"p",7),n._uU(12,"Variant Groups provide user-defined grouping of Variants within and between genes based on unifying characteristics."),n.qZA(),n.qZA(),n.TgZ(13,"nz-col",8),n.TgZ(14,"nz-space",9),n.YNc(15,an,3,0,"a",10),n.YNc(16,en,3,0,"a",11),n.qZA(),n.qZA(),n.qZA(),n.TgZ(17,"div",12),n.TgZ(18,"div",13),n.TgZ(19,"div",14),n._UZ(20,"cvc-variant-groups-table",15),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&r){const Q=n.MAs(2);n.Q6J("actionsTpl",Q),n.xp6(11),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24)}},directives:[f.I,u.eJ,a.O5,z.ix,Z.dQ,o.rH,M.w,T.Ls,h.$O,h.u5,P.SK,P.t3,c.ZU,x.NU,x.$1,L],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})(),data:{breadcrumb:"Home"}},{path:"add",loadChildren:()=>Promise.all([t.e(4184),t.e(8592),t.e(885)]).then(t.bind(t,885)).then(e=>e.VariantGroupsAddModule),data:{breadcrumb:"Add"}},{path:":variantGroupId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([t.e(5193),t.e(9001),t.e(2826),t.e(6724),t.e(55),t.e(9716),t.e(5291),t.e(2043),t.e(4355),t.e(392),t.e(4028),t.e(1750),t.e(8482)]).then(t.bind(t,8482)).then(e=>e.VariantGroupsDetailModule)},{path:"revise",loadChildren:()=>Promise.all([t.e(4184),t.e(8592),t.e(605)]).then(t.bind(t,605)).then(e=>e.VariantGroupsReviseModule),data:{breadcrumb:"Revise"}}]}]}];let ln=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[o.Bz.forChild(rn)],o.Bz]}),e})();var sn=t(4182),cn=t(4546),pn=t(1047),gn=t(8054),nn=t(4125),dn=t(9444),vn=t(3309),un=t(4867),mn=t(3580),Cn=t(8018),fn=t(8369),zn=t(209),hn=t(897),Tn=t(7946),xn=t(7677);let Mn=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[a.ez,sn.u5,u.WG,z.sL,y.HQ,cn.U5,pn.o7,T.PV,c.ZJ,S.cg,gn.LV,T.PV,V.vh,c.ZJ,nn.k,dn.s,vn.U,un.Q,mn.Q,Cn.e,fn.W,zn.i,hn.$,Tn.x,nn.k,xn.G]]}),e})();var _n=t(5630);let Pn=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[a.ez,o.Bz,u.WG,z.sL,P.Jb,h.KJ,T.PV,c.ZJ,x.zf,Mn,_n.D]]}),e})(),Zn=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[a.ez,ln,Pn]]}),e})()}}]);
\ No newline at end of file
diff --git a/server/public/605.0b7e1919acad6432.js b/server/public/605.0b7e1919acad6432.js
deleted file mode 100644
index 5cab61dd2..000000000
--- a/server/public/605.0b7e1919acad6432.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[605],{605:(ft,v,r)=>{r.r(v),r.d(v,{VariantGroupsReviseModule:()=>mt});var p=r(9808),d=r(325),y=r(373),I=r(1059),R=r(4850),t=r(5e3),g=r(712),S=r(9350),T=r(8992),c=r(1945),x=r(647),l=r(1894),P=r(8616),G=r(6949);function Z(e,o){1&e&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function A(e,o){1&e&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"div",9),t._UZ(2,"cvc-login-prompt"),t.qZA(),t.qZA())}function C(e,o){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2),t.TgZ(3,"nz-page-header-title",3),t._uU(4," REVISE "),t._UZ(5,"i",4),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-content"),t.TgZ(8,"div",5),t.YNc(9,Z,2,0,"div",6),t.ALo(10,"ngrxPush"),t.YNc(11,A,3,0,"ng-template",null,7,t.W1O),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&e){const n=o.ngIf,a=t.MAs(12),i=t.oxw();t.xp6(1),t.Q6J("displayName",n.name),t.xp6(5),t.hij(" ",n.name," "),t.xp6(3),t.Q6J("ngIf",t.lcZ(10,4,i.isSignedIn$))("ngIfElse",a)}}let F=(()=>{class e{constructor(n,a,i){this.gql=n,this.route=a,this.viewerService=i,this.routeSub=this.route.params.subscribe(s=>{let b=this.gql.watch({variantGroupId:+s.variantGroupId}).valueChanges;this.loading$=b.pipe((0,y.j)("loading"),(0,I.O)(!0)),this.variantGroup$=b.pipe((0,y.j)("data","variantGroup"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,R.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(g.Qtd),t.Y36(d.gz),t.Y36(S.a))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-groups-revise-view"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:variantgroup"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,a){1&n&&(t.YNc(0,C,13,6,"ng-container",0),t.ALo(1,"async")),2&n&&t.Q6J("ngIf",t.lcZ(1,1,a.variantGroup$))},directives:[p.O5,T.I,c.$O,c.u9,x.Ls,c.u5,d.lC,l.SK,l.t3,P.u],pipes:[p.Ov,G.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var u=r(4182),m=r(8776),z=r(2359),J=r(6042),f=r(4546),Q=r(7525),N=r(5109),Y=r(7008),$=r(4623),L=r(8979),U=r(8390),w=r(3773),j=r(7075),_=r(7462),V=r(4181),B=r(5472),E=r(4889);let D=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[p.ez,u.UX,d.Bz,m.X0,f.U5,z.L,l.Jb,J.sL,Q.j,m.X0,_.o,V.O,U.N,L.N,$.K,Y.B,B.r,w.g,V.O,j.l,E.E,N.s]]}),e})(),W=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[p.ez,D]]}),e})();var M=r(3077),X=r(6123),K=r(8929),h=r(7625),H=r(9169),k=r(822);function q(e,o){1&e&&t.GkF(0)}function tt(e,o){if(1&e){const n=t.EpF();t.TgZ(0,"formly-form",5),t.NdJ("modelChange",function(i){return t.CHM(n),t.oxw(2).formModel=i}),t.qZA()}if(2&e){const n=t.oxw(2);t.Q6J("form",n.formGroup)("fields",n.formFields)("model",n.formModel)}}function et(e,o){if(1&e){const n=t.EpF();t.TgZ(0,"form",2),t.NdJ("ngSubmit",function(){t.CHM(n);const i=t.oxw();return i.submitVariantGroup(i.formModel)}),t.YNc(1,q,1,0,"ng-container",3),t.YNc(2,tt,1,3,"formly-form",4),t.qZA()}if(2&e){const n=t.oxw(),a=t.MAs(2);t.Q6J("formGroup",n.formGroup),t.xp6(1),t.Q6J("ngTemplateOutlet",a),t.xp6(1),t.Q6J("ngIf",!n.success)}}function nt(e,o){if(1&e&&(t.TgZ(0,"nz-form-item"),t._UZ(1,"cvc-form-errors-alert",7),t.qZA()),2&e){const n=t.oxw(2);t.xp6(1),t.Q6J("errors",n.errorMessages)}}function rt(e,o){1&e&&(t.TgZ(0,"p"),t._uU(1,"View it on the "),t.TgZ(2,"a",11),t._uU(3,"Revisions Page"),t.qZA(),t._uU(4,"."),t.qZA())}function ot(e,o){if(1&e&&(t.ynx(0),t._UZ(1,"nz-alert",8),t.YNc(2,rt,5,0,"ng-template",9,10,t.W1O),t.BQk()),2&e){const n=t.MAs(3);t.xp6(1),t.Q6J("nzDescription",n)}}function at(e,o){if(1&e&&(t.YNc(0,nt,2,1,"nz-form-item",6),t.YNc(1,ot,4,1,"ng-container",6)),2&e){const n=t.oxw();t.Q6J("ngIf",n.errorMessages.length>0),t.xp6(1),t.Q6J("ngIf",n.success)}}let it=(()=>{class e{constructor(n,a,i){this.suggestRevisionGQL=n,this.revisableFieldsGQL=a,this.networkErrorService=i,this.destroy$=new K.xQ,this.formGroup=new u.cw({}),this.formOptions={},this.success=!1,this.errorMessages=[],this.loading=!1,this.suggestRevisionMutator=new X.U(i),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Add Variant Group Form"},fieldGroup:[{key:"name",type:"input",wrappers:["form-field"],templateOptions:{label:"Variant Group Name",required:!0}},{key:"description",type:"cvc-textarea",templateOptions:{label:"Description",helpText:"A brief description of this new variant group.",placeholder:"No description provided",required:!0}},{key:"sources",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Source",helpText:"Add any sources upon which your description depends.",addText:"Add a Source"},fieldArray:{type:"source-input",templateOptions:{hideLabel:!0,required:!0}}},{key:"variants",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variants",helpText:"Specify the variants that comprise this Variant Group.",addText:"Add a Variant "},fieldArray:{type:"variant-input",templateOptions:{hideLabel:!0,required:!0,allowCreate:!1}}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",helpText:"Please provide any additional comments you wish to make about this evidence item. This comment will appear as the first comment in this item's comment thread.",placeholder:"Please enter a comment describing your revision.",required:!0,minLength:10}},{key:"cancel",type:"cancel-button",templateOptions:{redirectPath:"../.."}},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Variant Group Revision",submitSize:"large"}}]}]}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantGroupId:this.variantGroupId}).subscribe(({data:{variantGroup:n}})=>{n&&(this.formModel=this.toFormModel(n))},n=>{console.error("Error retrieving evidenceItem."),console.error(n)},()=>{this.formOptions.updateInitialValue&&this.formOptions.updateInitialValue(),this.formGroup.markAllAsTouched();const n=this.formGroup.get("fields.comment");n&&n.markAsUntouched()})}toFormModel(n){var a;return{fields:Object.assign(Object.assign({},n),{variants:n.variants.nodes,organization:null===(a=this.formModel)||void 0===a?void 0:a.fields.organization})}}submitVariantGroup(n){let a=this.toSubmitInput(n);if(a){let i=this.suggestRevisionMutator.mutate(this.suggestRevisionGQL,{input:a});i.submitSuccess$.pipe((0,h.R)(this.destroy$)).subscribe(s=>{s&&(this.success=!0)}),i.submitError$.pipe((0,h.R)(this.destroy$)).subscribe(s=>{s&&(this.errorMessages=s,this.success=!1)}),i.isSubmitting$.pipe((0,h.R)(this.destroy$)).subscribe(s=>{this.loading=s})}}toSubmitInput(n){var a;if(n)return{id:this.variantGroupId,organizationId:null===(a=n.fields.organization)||void 0===a?void 0:a.id,comment:n.fields.comment,fields:{description:n.fields.description,name:n.fields.name,sourceIds:n.fields.sources.map(i=>i.id).filter(M.$),variantIds:n.fields.variants.map(i=>i.id).filter(M.$)}}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(g.aw3),t.Y36(g.ROj),t.Y36(H.Y))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-group-revise-form"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:1,consts:[["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf"],["formMessages",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","modelChange",4,"ngIf"],[3,"form","fields","model","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Revision(s) Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],["routerLink","../../revisions"]],template:function(n,a){1&n&&(t.YNc(0,et,3,3,"form",0),t.YNc(1,at,2,2,"ng-template",null,1,t.W1O)),2&n&&t.Q6J("ngIf",a.formModel)},directives:[p.O5,u._Y,u.JL,f.Lr,u.sg,p.tP,m.T7,l.SK,f.Nx,k.V,z.r,d.yS],styles:[""]}),e})();function st(e,o){if(1&e&&(t.ynx(0),t._UZ(1,"cvc-variant-group-revise-form",2),t.BQk()),2&e){const n=t.oxw();t.xp6(1),t.Q6J("variantGroupId",n.variantGroupId)}}function pt(e,o){1&e&&t._uU(0,"Loading Variant Group...")}const dt=[{path:"",component:F,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class e{constructor(n){this.route=n,this.routeParams$=this.route.params.subscribe(a=>{this.variantGroupId=+a.variantGroupId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return e.\u0275fac=function(n){return new(n||e)(t.Y36(d.gz))},e.\u0275cmp=t.Xpm({type:e,selectors:[["cvc-variant-groups-suggest-page"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariantGroup",""],[3,"variantGroupId"]],template:function(n,a){if(1&n&&(t.YNc(0,st,2,1,"ng-container",0),t.YNc(1,pt,1,0,"ng-template",null,1,t.W1O)),2&n){const i=t.MAs(2);t.Q6J("ngIf",a.variantGroupId)("ngIfElse",i)}},directives:[p.O5,it],styles:[""]}),e})(),data:{breadcrumb:"Suggest Revision"}}]}];let lt=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[d.Bz.forChild(dt),W],d.Bz]}),e})();var O=r(8144),ut=r(3618),ct=r(5630),gt=r(9386);let mt=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=t.oAB({type:e}),e.\u0275inj=t.cJS({imports:[[p.ez,lt,c.KJ,O.zf,x.PV,ut.ZJ,O.zf,ct.D,gt.a,G.WG,l.Jb]]}),e})()}}]);
\ No newline at end of file
diff --git a/server/public/605.d98f2530a9774915.js b/server/public/605.d98f2530a9774915.js
new file mode 100644
index 000000000..b75f6c2bb
--- /dev/null
+++ b/server/public/605.d98f2530a9774915.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[605],{8616:(J,I,e)=>{e.d(I,{u:()=>n});var s=e(5e3),v=e(685),y=e(1912),V=e(3618),M=e(647);function t(g,_){1&g&&(s.TgZ(0,"span"),s._uU(1," You must be logged in to view this page. "),s.qZA())}function x(g,_){1&g&&s._UZ(0,"cvc-login-button")}function f(g,_){1&g&&(s.TgZ(0,"nz-typography",4),s._UZ(1,"i",5),s.qZA())}let n=(()=>{class g{}return g.\u0275fac=function(h){return new(h||g)},g.\u0275cmp=s.Xpm({type:g,selectors:[["cvc-login-prompt"]],decls:7,vars:3,consts:[[3,"nzNotFoundImage","nzNotFoundContent","nzNotFoundFooter"],["contentTpl",""],["footerTpl",""],["emptyImage",""],["nzType","secondary"],["nz-icon","","nzType","login","nzTheme","outline",2,"font-size","50pt"]],template:function(h,C){if(1&h&&(s.TgZ(0,"nz-empty",0),s.YNc(1,t,2,0,"ng-template",null,1,s.W1O),s.YNc(3,x,1,0,"ng-template",null,2,s.W1O),s.qZA(),s.YNc(5,f,2,0,"ng-template",null,3,s.W1O)),2&h){const G=s.MAs(2),R=s.MAs(4),A=s.MAs(6);s.Q6J("nzNotFoundImage",A)("nzNotFoundContent",G)("nzNotFoundFooter",R)}},directives:[v.p9,y.s,V.ZU,M.Ls],styles:["[_nghost-%COMP%]{display:inline-block}"]}),g})()},9386:(J,I,e)=>{e.d(I,{a:()=>x});var s=e(9808),v=e(1844),y=e(685),V=e(647),M=e(3618),t=e(5e3);let x=(()=>{class f{}return f.\u0275fac=function(g){return new(g||f)},f.\u0275mod=t.oAB({type:f}),f.\u0275inj=t.cJS({imports:[[s.ez,v.B,y.Xo,V.PV,M.ZJ]]}),f})()},4181:(J,I,e)=>{e.d(I,{O:()=>q});var s=e(9808),v=e(6123),y=e(8776),V=e(8929),M=e(591),t=e(373),x=e(4850),f=e(7625),n=e(5e3),g=e(712),_=e(9169),h=e(8054),C=e(4182),G=e(8664),R=e(822),A=e(6042),Q=e(2643),N=e(2683),T=e(647),P=e(6949),E=e(8926);function Y(i,m){if(1&i&&(n.TgZ(0,"nz-option",6),n._UZ(1,"span",7),n.ALo(2,"highlightTypeahead"),n.qZA()),2&i){const a=m.$implicit,d=n.oxw(2);n.Q6J("nzValue",a.variant),n.xp6(1),n.Q6J("innerHtml",n.xi3(2,2,a.label,d.to.searchString),n.oJD)}}function L(i,m){1&i&&n._uU(0," No variant found in CIViC that matches the string provided. ")}function $(i,m){if(1&i){const a=n.EpF();n.ynx(0),n.TgZ(1,"nz-select",3),n.NdJ("nzOnSearch",function(p){return n.CHM(a),n.oxw().to.onSearch(p)}),n.YNc(2,Y,3,5,"nz-option",4),n.ALo(3,"ngrxPush"),n.qZA(),n.YNc(4,L,1,0,"ng-template",null,5,n.W1O),n.BQk()}if(2&i){const a=n.MAs(5),d=n.oxw(),p=n.MAs(4);n.xp6(1),n.Q6J("formControl",d.formControl)("formlyAttributes",d.field)("nzPlaceHolder",d.to.placeholder?d.to.placeholder:null)("nzDropdownRender",d.to.allowCreate?p:null)("nzNotFoundContent",a)("nzShowArrow",d.to.showArrow),n.xp6(1),n.Q6J("ngForOf",n.lcZ(3,7,d.variants$))}}function D(i,m){if(1&i&&n._UZ(0,"cvc-variant-tag",8),2&i){const a=n.oxw();n.Q6J("variant",a.formControl.value)}}function B(i,m){if(1&i&&n._UZ(0,"cvc-form-errors-alert",12),2&i){const a=n.oxw(4);n.Q6J("errors",a.errorMessages)}}function W(i,m){if(1&i){const a=n.EpF();n.TgZ(0,"button",13),n.NdJ("click",function(){n.CHM(a);const p=n.oxw(4);return p.addVariant(p.to.searchString)}),n._UZ(1,"i",14),n._uU(2,"No Existing CIViC Variant\xa0"),n.TgZ(3,"strong"),n._uU(4),n.qZA(),n._uU(5,"\xa0found. Create A New Variant? "),n.qZA()}if(2&i){const a=n.oxw(4);n.Q6J("nzLoading",a.loading),n.xp6(4),n.Oqu(a.to.searchString)}}function w(i,m){if(1&i&&(n.ynx(0),n.YNc(1,B,1,1,"cvc-form-errors-alert",10),n.YNc(2,W,6,2,"button",11),n.BQk()),2&i){const a=n.oxw(3);n.xp6(1),n.Q6J("ngIf",a.errorMessages.length>0),n.xp6(1),n.Q6J("ngIf",0==a.errorMessages.length)}}function j(i,m){if(1&i&&(n.ynx(0),n.YNc(1,w,3,2,"ng-container",9),n.BQk()),2&i){const a=n.oxw(2);n.xp6(1),n.Q6J("ngIf",""!==a.to.searchString)}}function K(i,m){if(1&i&&(n.YNc(0,j,2,1,"ng-container",9),n.ALo(1,"ngrxPush")),2&i){const a=n.oxw();n.Q6J("ngIf",n.lcZ(1,1,a.displayAdd$))}}const X={name:"variant-input",component:(()=>{class i extends y.fS{constructor(a,d,p){super(),this.variantTypeaheadQuery=a,this.networkErrorService=d,this.addVariantGQL=p,this.destroy$=new V.xQ,this.success=!1,this.errorMessages=[],this.loading=!1,this.displayAdd$=new M.X(!1),this.addVariantMutator=new v.U(d),this.defaultOptions={templateOptions:{placeholder:"Search Variants",showArrow:!1,onSearch:()=>{},minLengthSearch:1,optionList:[],allowCreate:!0},expressionProperties:{"templateOptions.geneId":(O,nt,Z)=>{var b,F;let S=null===(F=null===(b=null==Z?void 0:Z.parent)||void 0===b?void 0:b.parent)||void 0===F?void 0:F.model;if(S&&S.gene&&S.gene[0])return S.gene[0].id}}}}ngOnInit(){this.queryRef=this.variantTypeaheadQuery.watch({name:"zzzz"}),this.variants$=this.queryRef.valueChanges.pipe((0,t.j)("data","variants","nodes"),(0,x.U)(a=>a.map(p=>({value:p.id,label:p.name,variant:p}))))}ngAfterViewInit(){this.to.onSearch=a=>{a.length{this.displayAdd$.next(0==d.data.variants.nodes.filter(p=>p.name.toUpperCase()==a.toUpperCase()).length)}))}}addVariant(a){if(a&&""!=a&&this.to.geneId){let d=this.addVariantMutator.mutate(this.addVariantGQL,{name:a,geneId:this.to.geneId},{},p=>{var O;null===(O=this.field.formControl)||void 0===O||O.setValue({id:p.addVariant.variant.id,name:p.addVariant.variant.name}),this.to.searchString="",this.to.searchLength=0});d.submitSuccess$.pipe((0,f.R)(this.destroy$)).subscribe(p=>{p&&(this.success=!0)}),d.submitError$.pipe((0,f.R)(this.destroy$)).subscribe(p=>{p&&(this.errorMessages=p,this.success=!1)}),d.isSubmitting$.pipe((0,f.R)(this.destroy$)).subscribe(p=>{this.loading=p})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete(),this.displayAdd$.complete()}}return i.\u0275fac=function(a){return new(a||i)(n.Y36(g._eC),n.Y36(_.Y),n.Y36(g.LUc))},i.\u0275cmp=n.Xpm({type:i,selectors:[["cvc-variant-input-type"]],features:[n.qOj],decls:5,vars:2,consts:[[4,"ngIf","ngIfElse"],["variantListItem",""],["addVariantTmpl",""],["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzDropdownRender","nzNotFoundContent","nzShowArrow","nzOnSearch"],["nzCustomContent","",3,"nzValue",4,"ngFor","ngForOf"],["sourceLoader",""],["nzCustomContent","",3,"nzValue"],[3,"innerHtml"],[3,"variant"],[4,"ngIf"],[3,"errors",4,"ngIf"],["nz-button","","nzSize","small",3,"nzLoading","click",4,"ngIf"],[3,"errors"],["nz-button","","nzSize","small",3,"nzLoading","click"],["nz-icon","","nzType","plus","nzTheme","outline"]],template:function(a,d){if(1&a&&(n.YNc(0,$,6,9,"ng-container",0),n.YNc(1,D,1,1,"ng-template",null,1,n.W1O),n.YNc(3,K,2,3,"ng-template",null,2,n.W1O)),2&a){const p=n.MAs(2);n.Q6J("ngIf",!(null!=d.formControl.value&&d.formControl.value.id))("ngIfElse",p)}},directives:[s.O5,h.Vq,C.JJ,C.oH,y.VQ,s.sg,h.Ip,G.I,R.V,A.ix,Q.dQ,N.w,T.Ls],pipes:[P.fM,E.A],styles:[""],changeDetection:0}),i})()};var U=e(4867),H=e(7008),k=e(9444);let q=(()=>{class i{}return i.\u0275fac=function(a){return new(a||i)},i.\u0275mod=n.oAB({type:i}),i.\u0275inj=n.cJS({imports:[[s.ez,C.UX,P.WG,y.X0.forChild({types:[X]}),h.LV,A.sL,T.PV,U.Q,H.B,k.s]]}),i})()},605:(J,I,e)=>{e.r(I),e.d(I,{VariantGroupsReviseModule:()=>ft});var s=e(9808),v=e(325),y=e(373),V=e(1059),M=e(4850),t=e(5e3),x=e(712),f=e(9350),n=e(8992),g=e(1945),_=e(647),h=e(1894),C=e(8616),G=e(6949);function R(o,l){1&o&&(t.TgZ(0,"div"),t._UZ(1,"router-outlet"),t.qZA())}function A(o,l){1&o&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"div",9),t._UZ(2,"cvc-login-prompt"),t.qZA(),t.qZA())}function Q(o,l){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-section-navigation",1),t.TgZ(2,"nz-page-header",2),t.TgZ(3,"nz-page-header-title",3),t._uU(4," REVISE "),t._UZ(5,"i",4),t._uU(6),t.qZA(),t.TgZ(7,"nz-page-header-content"),t.TgZ(8,"div",5),t.YNc(9,R,2,0,"div",6),t.ALo(10,"ngrxPush"),t.YNc(11,A,3,0,"ng-template",null,7,t.W1O),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&o){const r=l.ngIf,c=t.MAs(12),u=t.oxw();t.xp6(1),t.Q6J("displayName",r.name),t.xp6(5),t.hij(" ",r.name," "),t.xp6(3),t.Q6J("ngIf",t.lcZ(10,4,u.isSignedIn$))("ngIfElse",c)}}let N=(()=>{class o{constructor(r,c,u){this.gql=r,this.route=c,this.viewerService=u,this.routeSub=this.route.params.subscribe(z=>{let ot=this.gql.watch({variantGroupId:+z.variantGroupId}).valueChanges;this.loading$=ot.pipe((0,y.j)("loading"),(0,V.O)(!0)),this.variantGroup$=ot.pipe((0,y.j)("data","variantGroup"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,M.U)(r=>r.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return o.\u0275fac=function(r){return new(r||o)(t.Y36(x.Qtd),t.Y36(v.gz),t.Y36(f.a))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-groups-revise-view"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:variantgroup"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(r,c){1&r&&(t.YNc(0,Q,13,6,"ng-container",0),t.ALo(1,"async")),2&r&&t.Q6J("ngIf",t.lcZ(1,1,c.variantGroup$))},directives:[s.O5,n.I,g.$O,g.u9,_.Ls,g.u5,v.lC,h.SK,h.t3,C.u],pipes:[s.Ov,G.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})();var T=e(4182),P=e(8776),E=e(2359),Y=e(6042),L=e(4546),$=e(7525),D=e(5109),B=e(7008),W=e(4623),w=e(8979),j=e(8390),K=e(3773),tt=e(3022),X=e(7462),U=e(4181),H=e(5472),k=e(4889);let q=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[s.ez,T.UX,v.Bz,P.X0,L.U5,E.L,h.Jb,Y.sL,$.j,P.X0,X.o,U.O,j.N,w.N,W.K,B.B,H.r,K.g,U.O,tt.e,k.E,D.s]]}),o})(),i=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[s.ez,q]]}),o})();var m=e(3077),a=e(6123),d=e(8929),p=e(7625),O=e(9169),nt=e(822);function Z(o,l){1&o&&t.GkF(0)}function b(o,l){if(1&o){const r=t.EpF();t.TgZ(0,"formly-form",5),t.NdJ("modelChange",function(u){return t.CHM(r),t.oxw(2).formModel=u}),t.qZA()}if(2&o){const r=t.oxw(2);t.Q6J("form",r.formGroup)("fields",r.formFields)("model",r.formModel)}}function F(o,l){if(1&o){const r=t.EpF();t.TgZ(0,"form",2),t.NdJ("ngSubmit",function(){t.CHM(r);const u=t.oxw();return u.submitVariantGroup(u.formModel)}),t.YNc(1,Z,1,0,"ng-container",3),t.YNc(2,b,1,3,"formly-form",4),t.qZA()}if(2&o){const r=t.oxw(),c=t.MAs(2);t.Q6J("formGroup",r.formGroup),t.xp6(1),t.Q6J("ngTemplateOutlet",c),t.xp6(1),t.Q6J("ngIf",!r.success)}}function S(o,l){if(1&o&&(t.TgZ(0,"nz-form-item"),t._UZ(1,"cvc-form-errors-alert",7),t.qZA()),2&o){const r=t.oxw(2);t.xp6(1),t.Q6J("errors",r.errorMessages)}}function rt(o,l){1&o&&(t.TgZ(0,"p"),t._uU(1,"View it on the "),t.TgZ(2,"a",11),t._uU(3,"Revisions Page"),t.qZA(),t._uU(4,"."),t.qZA())}function at(o,l){if(1&o&&(t.ynx(0),t._UZ(1,"nz-alert",8),t.YNc(2,rt,5,0,"ng-template",9,10,t.W1O),t.BQk()),2&o){const r=t.MAs(3);t.xp6(1),t.Q6J("nzDescription",r)}}function it(o,l){if(1&o&&(t.YNc(0,S,2,1,"nz-form-item",6),t.YNc(1,at,4,1,"ng-container",6)),2&o){const r=t.oxw();t.Q6J("ngIf",r.errorMessages.length>0),t.xp6(1),t.Q6J("ngIf",r.success)}}let st=(()=>{class o{constructor(r,c,u){this.suggestRevisionGQL=r,this.revisableFieldsGQL=c,this.networkErrorService=u,this.destroy$=new d.xQ,this.formGroup=new T.cw({}),this.formOptions={},this.success=!1,this.errorMessages=[],this.loading=!1,this.suggestRevisionMutator=new a.U(u),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Add Variant Group Form"},fieldGroup:[{key:"name",type:"input",wrappers:["form-field"],templateOptions:{label:"Variant Group Name",required:!0}},{key:"description",type:"cvc-textarea",templateOptions:{label:"Description",helpText:"A brief description of this new variant group.",placeholder:"No description provided",required:!0}},{key:"sources",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Source",helpText:"Add any sources upon which your description depends.",addText:"Add a Source"},fieldArray:{type:"source-input",templateOptions:{hideLabel:!0,required:!0}}},{key:"variants",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variants",helpText:"Specify the variants that comprise this Variant Group.",addText:"Add a Variant "},fieldArray:{type:"variant-input",templateOptions:{hideLabel:!0,required:!0,allowCreate:!1}}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",helpText:"Please provide any additional comments you wish to make about this evidence item. This comment will appear as the first comment in this item's comment thread.",placeholder:"Please enter a comment describing your revision.",required:!0,minLength:10}},{key:"cancel",type:"cancel-button",templateOptions:{redirectPath:"../.."}},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Variant Group Revision",submitSize:"large"}}]}]}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantGroupId:this.variantGroupId}).subscribe(({data:{variantGroup:r}})=>{r&&(this.formModel=this.toFormModel(r))},r=>{console.error("Error retrieving evidenceItem."),console.error(r)},()=>{this.formOptions.updateInitialValue&&this.formOptions.updateInitialValue(),this.formGroup.markAllAsTouched();const r=this.formGroup.get("fields.comment");r&&r.markAsUntouched()})}toFormModel(r){var c;return{fields:Object.assign(Object.assign({},r),{variants:r.variants.nodes,organization:null===(c=this.formModel)||void 0===c?void 0:c.fields.organization})}}submitVariantGroup(r){let c=this.toSubmitInput(r);if(c){let u=this.suggestRevisionMutator.mutate(this.suggestRevisionGQL,{input:c});u.submitSuccess$.pipe((0,p.R)(this.destroy$)).subscribe(z=>{z&&(this.success=!0)}),u.submitError$.pipe((0,p.R)(this.destroy$)).subscribe(z=>{z&&(this.errorMessages=z,this.success=!1)}),u.isSubmitting$.pipe((0,p.R)(this.destroy$)).subscribe(z=>{this.loading=z})}}toSubmitInput(r){var c;if(r)return{id:this.variantGroupId,organizationId:null===(c=r.fields.organization)||void 0===c?void 0:c.id,comment:r.fields.comment,fields:{description:r.fields.description,name:r.fields.name,sourceIds:r.fields.sources.map(u=>u.id).filter(m.$),variantIds:r.fields.variants.map(u=>u.id).filter(m.$)}}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return o.\u0275fac=function(r){return new(r||o)(t.Y36(x.aw3),t.Y36(x.ROj),t.Y36(O.Y))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-group-revise-form"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:1,consts:[["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf"],["formMessages",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","modelChange",4,"ngIf"],[3,"form","fields","model","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Revision(s) Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],["routerLink","../../revisions"]],template:function(r,c){1&r&&(t.YNc(0,F,3,3,"form",0),t.YNc(1,it,2,2,"ng-template",null,1,t.W1O)),2&r&&t.Q6J("ngIf",c.formModel)},directives:[s.O5,T._Y,T.JL,L.Lr,T.sg,s.tP,P.T7,h.SK,L.Nx,nt.V,E.r,v.yS],styles:[""]}),o})();function pt(o,l){if(1&o&&(t.ynx(0),t._UZ(1,"cvc-variant-group-revise-form",2),t.BQk()),2&o){const r=t.oxw();t.xp6(1),t.Q6J("variantGroupId",r.variantGroupId)}}function lt(o,l){1&o&&t._uU(0,"Loading Variant Group...")}const ct=[{path:"",component:N,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class o{constructor(r){this.route=r,this.routeParams$=this.route.params.subscribe(c=>{this.variantGroupId=+c.variantGroupId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return o.\u0275fac=function(r){return new(r||o)(t.Y36(v.gz))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-groups-suggest-page"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariantGroup",""],[3,"variantGroupId"]],template:function(r,c){if(1&r&&(t.YNc(0,pt,2,1,"ng-container",0),t.YNc(1,lt,1,0,"ng-template",null,1,t.W1O)),2&r){const u=t.MAs(2);t.Q6J("ngIf",c.variantGroupId)("ngIfElse",u)}},directives:[s.O5,st],styles:[""]}),o})(),data:{breadcrumb:"Suggest Revision"}}]}];let dt=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[v.Bz.forChild(ct),i],v.Bz]}),o})();var et=e(8144),gt=e(3618),ut=e(5630),mt=e(9386);let ft=(()=>{class o{}return o.\u0275fac=function(r){return new(r||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[[s.ez,dt,g.KJ,et.zf,_.PV,gt.ZJ,et.zf,ut.D,mt.a,G.WG,h.Jb]]}),o})()}}]);
\ No newline at end of file
diff --git a/server/public/6104.8b0d7d3bb56d76af.js b/server/public/6104.8b0d7d3bb56d76af.js
new file mode 100644
index 000000000..87bd25b44
--- /dev/null
+++ b/server/public/6104.8b0d7d3bb56d76af.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6104],{3580:(S,y,e)=>{e.d(y,{Q:()=>_});var l=e(9808),t=e(325),m=e(8481),d=e(3610),v=e(647),u=e(7484),f=e(3098),n=e(3630),O=e(6949),z=e(3618),T=e(9444),x=e(5e3);let M=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=x.oAB({type:g}),g.\u0275inj=x.cJS({imports:[[l.ez,O.WG,u.vh,f.q6,v.PV,z.ZJ,T.s,n.X]]}),g})(),_=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=x.oAB({type:g}),g.\u0275inj=x.cJS({imports:[[l.ez,t.Bz,m.X,d.$6,v.PV,T.s,M]]}),g})()},8018:(S,y,e)=>{e.d(y,{e:()=>g});var l=e(9808),t=e(325),m=e(8481),d=e(3610),v=e(647),u=e(7484),f=e(3098),n=e(6949),O=e(3630),z=e(3618),T=e(9444),x=e(404),M=e(5e3);let _=(()=>{class c{}return c.\u0275fac=function(Z){return new(Z||c)},c.\u0275mod=M.oAB({type:c}),c.\u0275inj=M.cJS({imports:[[l.ez,t.Bz,n.WG,u.vh,f.q6,v.PV,z.ZJ,m.X,x.cg,O.X,T.s]]}),c})(),g=(()=>{class c{}return c.\u0275fac=function(Z){return new(Z||c)},c.\u0275mod=M.oAB({type:c}),c.\u0275inj=M.cJS({imports:[[l.ez,t.Bz,m.X,d.$6,v.PV,T.s,_]]}),c})()},9476:(S,y,e)=>{e.d(y,{L:()=>_});var l=e(9808),t=e(325),m=e(8481),d=e(647),v=e(1894),u=e(3630),f=e(3098),n=e(7484),O=e(6949),z=e(5473),T=e(5e3);let x=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=T.oAB({type:g}),g.\u0275inj=T.cJS({imports:[[l.ez,O.WG,n.vh,v.Jb,f.q6,u.X,z.H]]}),g})();var M=e(3610);let _=(()=>{class g{}return g.\u0275fac=function(C){return new(C||g)},g.\u0275mod=T.oAB({type:g}),g.\u0275inj=T.cJS({imports:[[l.ez,t.Bz,m.X,d.PV,M.$6,x]]}),g})()},6715:(S,y,e)=>{e.d(y,{$:()=>m});var l=e(5e3);const t=["*"];let m=(()=>{class d{constructor(){}ngOnInit(){}}return d.\u0275fac=function(u){return new(u||d)},d.\u0275cmp=l.Xpm({type:d,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(u,f){2&u&&l.ekj("xs","xs"===f.size||!f.size)("sm","sm"===f.size)},inputs:{size:"size"},ngContentSelectors:t,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(u,f){1&u&&(l.F$t(),l.TgZ(0,"div",0),l.Hsn(1),l.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"]}),d})()},897:(S,y,e)=>{e.d(y,{$:()=>m});var l=e(9808),t=e(5e3);let m=(()=>{class d{}return d.\u0275fac=function(u){return new(u||d)},d.\u0275mod=t.oAB({type:d}),d.\u0275inj=t.cJS({imports:[[l.ez]]}),d})()},7946:(S,y,e)=>{e.d(y,{x:()=>O});var l=e(9808),t=e(897),m=e(8481),d=e(3610),v=e(8018),u=e(3580),f=e(9476),n=e(5e3);let O=(()=>{class z{}return z.\u0275fac=function(x){return new(x||z)},z.\u0275mod=n.oAB({type:z}),z.\u0275inj=n.cJS({imports:[[l.ez,m.X,d.$6,t.$,v.e,u.Q,f.L]]}),z})()},8664:(S,y,e)=>{e.d(y,{I:()=>q});var l=e(6654),t=e(5e3),m=e(9808),d=e(325),v=e(8481),u=e(3610),f=e(4850),n=e(712),O=e(7484),z=e(647),T=e(3193),x=e(3098),M=e(6550),_=e(1894),g=e(8144),c=e(6949);function C(i,h){if(1&i&&(t._UZ(0,"i",13),t._uU(1)),2&i){const r=t.oxw().ngIf;t.xp6(1),t.hij(" ",r.name," ")}}function Z(i,h){if(1&i&&t._UZ(0,"cvc-gene-tag",14),2&i){const r=t.oxw().ngIf;t.Q6J("enablePopover",!1)("gene",r.gene)}}function E(i,h){if(1&i&&(t.TgZ(0,"nz-tag"),t._uU(1),t.qZA()),2&i){const r=h.$implicit;t.xp6(1),t.Oqu(r)}}function Q(i,h){if(1&i&&(t.TgZ(0,"nz-descriptions-item",15),t.YNc(1,E,2,1,"nz-tag",16),t.qZA()),2&i){const r=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",r.variantAliases)}}function L(i,h){if(1&i&&(t.TgZ(0,"nz-descriptions-item",17),t.TgZ(1,"cvc-link-tag",18),t._uU(2),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.xp6(1),t.MGl("href","https://reg.genome.network/allele/",r.alleleRegistryId,".html"),t.xp6(1),t.hij(" ",r.alleleRegistryId," ")}}function D(i,h){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",20),t._UZ(2,"i",21),t._uU(3),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.MGl("routerLink","/variants/",r.id,"/flags"),t.xp6(3),t.hij(" Flags (",r.flags.totalCount,") ")}}function Y(i,h){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",22),t._UZ(2,"i",23),t._uU(3),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.MGl("routerLink","/variants/",r.id,"/revisions"),t.xp6(3),t.hij(" Revisions (",r.revisions.totalCount,") ")}}function J(i,h){if(1&i&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",24),t._UZ(2,"i",25),t._uU(3),t.qZA(),t.qZA()),2&i){const r=t.oxw().ngIf;t.MGl("routerLink","/variants/",r.id,"/comments"),t.xp6(3),t.hij(" Comments (",r.comments.totalCount,") ")}}function N(i,h){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,C,2,1,"ng-template",null,3,t.W1O),t.YNc(4,Z,1,2,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5),t.YNc(7,Q,2,1,"nz-descriptions-item",6),t.YNc(8,L,3,2,"nz-descriptions-item",7),t.TgZ(9,"nz-descriptions-item",8),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"nz-row",9),t.TgZ(12,"nz-col",10),t.TgZ(13,"nz-space",11),t.YNc(14,D,4,2,"a",12),t.YNc(15,Y,4,2,"a",12),t.YNc(16,J,4,2,"a",12),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&i){const r=h.ngIf,P=t.MAs(3),A=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",P)("nzExtra",A),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",r.variantAliases.length>0),t.xp6(1),t.Q6J("ngIf",r.alleleRegistryId),t.xp6(2),t.hij(" ",r.evidenceItems.totalCount," ")}}let U=(()=>{class i{constructor(r){this.gql=r}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,f.U)(({data:r})=>r.variant))}}return i.\u0275fac=function(r){return new(r||i)(t.Y36(n.ZYZ))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(r,P){1&r&&(t.TgZ(0,"div",0),t.YNc(1,N,17,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&r&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,P.variant$)))},directives:[m.O5,O.bd,z.Ls,T.H,x.R7,x.uj,m.sg,v.j,M.l,_.SK,_.t3,g.NU,g.$1,d.yS],pipes:[c.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),i})();function B(i,h){}function V(i,h){if(1&i&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,B,0,0,"ng-template",6),t.qZA(),t.BQk()),2&i){const r=t.oxw(),P=t.MAs(2);t.xp6(1),t.Q6J("routerLink",r.variant.link),t.xp6(1),t.Q6J("ngTemplateOutlet",P)}}function j(i,h){}function R(i,h){if(1&i){const r=t.EpF();t.TgZ(0,"nz-tag",9),t.NdJ("nzOnClose",function(A){return t.CHM(r),t.oxw(2).itemClosed(A)}),t.YNc(1,j,0,0,"ng-template",6),t.qZA()}if(2&i){t.oxw();const r=t.MAs(2),P=t.oxw(),A=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",P.onCloseClicked?0:.5)("nzPopoverContent",r)("nzMode",P.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",A)}}function F(i,h){if(1&i&&t._UZ(0,"cvc-variant-popover",11),2&i){const r=t.oxw(3);t.Q6J("variantId",r.variant.id)}}function W(i,h){if(1&i&&t.YNc(0,F,1,1,"cvc-variant-popover",10),2&i){const r=t.oxw(2);t.Q6J("ngIf",r.enablePopover)}}function $(i,h){if(1&i&&(t.YNc(0,R,2,4,"nz-tag",7),t.YNc(1,W,1,1,"ng-template",null,8,t.W1O)),2&i){const r=t.oxw(),P=t.MAs(4);t.Q6J("ngIf",r.enablePopover)("ngIfElse",P)}}function H(i,h){}function K(i,h){if(1&i){const r=t.EpF();t.TgZ(0,"nz-tag",12),t.NdJ("nzOnClose",function(A){return t.CHM(r),t.oxw().itemClosed(A)}),t.YNc(1,H,0,0,"ng-template",6),t.qZA()}if(2&i){const r=t.oxw(),P=t.MAs(8);t.Q6J("nzMode",r.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",P)}}function X(i,h){}function G(i,h){if(1&i&&t.YNc(0,X,0,0,"ng-template",6),2&i){t.oxw();const r=t.MAs(2);t.Q6J("ngTemplateOutlet",r)}}function w(i,h){if(1&i&&(t._UZ(0,"i",13),t._uU(1)),2&i){const r=t.oxw();t.xp6(1),t.hij(" ",r.variant.name,"\n")}}let q=(()=>{class i extends l.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return i.\u0275fac=function(r){return new(r||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[t.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(r,P){if(1&r&&(t.YNc(0,V,3,2,"ng-container",0),t.YNc(1,$,3,2,"ng-template",null,1,t.W1O),t.YNc(3,K,2,2,"ng-template",null,2,t.W1O),t.YNc(5,G,1,1,"ng-template",null,3,t.W1O),t.YNc(7,w,2,1,"ng-template",null,4,t.W1O)),2&r){const A=t.MAs(6);t.Q6J("ngIf",P.linked)("ngIfElse",A)}},directives:[m.O5,d.yS,m.tP,v.j,u.lU,U,z.Ls],styles:[""]}),i})()},4867:(S,y,e)=>{e.d(y,{Q:()=>g});var l=e(9808),t=e(325),m=e(8481),d=e(647),v=e(3610),u=e(6949),f=e(7484),n=e(1894),O=e(3098),z=e(8144),T=e(3309),x=e(3630),M=e(5e3);let _=(()=>{class c{}return c.\u0275fac=function(Z){return new(Z||c)},c.\u0275mod=M.oAB({type:c}),c.\u0275inj=M.cJS({imports:[[l.ez,t.Bz,u.WG,f.vh,n.Jb,O.q6,m.X,d.PV,z.zf,T.U,x.X]]}),c})(),g=(()=>{class c{}return c.\u0275fac=function(Z){return new(Z||c)},c.\u0275mod=M.oAB({type:c}),c.\u0275inj=M.cJS({imports:[[l.ez,t.Bz,m.X,v.$6,d.PV,_]]}),c})()},3154:(S,y,e)=>{e.d(y,{_:()=>t});var l=e(712);function t(m){var d;switch(m.value){case"ascend":d=l.SrV.Asc;break;case"descend":d=l.SrV.Desc;break;default:return}return{column:m.key,direction:d}}},1076:(S,y,e)=>{e.r(y),e.d(y,{PhenotypesModule:()=>yn});var l=e(9808),t=e(325),m=e(3630),d=e(5630),v=e(6949),u=e(647),f=e(1945),n=e(5e3);let O=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[l.ez,t.Bz,v.WG,f.KJ,u.PV,m.X,d.D]]}),o})();var z=e(8144),T=e(767),x=e(9441);let M=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[l.ez,z.zf,T.Q,x.s]]}),o})();var _=e(1132),g=e(4125),c=e(6286),C=e(6042),Z=e(3618),E=e(7484),Q=e(404);let L=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[l.ez,v.WG,_.HQ,C.sL,u.PV,Z.ZJ,E.vh,Q.cg,g.k,c.y,m.X]]}),o})();var D=e(1894);let Y=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[l.ez,f.KJ,u.PV,D.Jb,C.sL,z.zf,Z.ZJ,d.D,L]]}),o})();var J=e(373),N=e(1059),U=e(712),B=e(8992),V=e(6550);function j(o,p){if(1&o&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"nz-page-header",2),n.TgZ(3,"nz-page-header-title"),n._UZ(4,"i",3),n._uU(5),n.qZA(),n.TgZ(6,"nz-page-header-extra"),n.TgZ(7,"cvc-link-tag",4),n._uU(8),n.qZA(),n.qZA(),n.TgZ(9,"nz-page-header-content"),n.TgZ(10,"div",5),n._UZ(11,"router-outlet"),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&o){const a=p.ngIf;n.xp6(1),n.Q6J("displayName",a.name),n.xp6(4),n.hij(" ",a.name," "),n.xp6(2),n.Q6J("href",a.url),n.xp6(1),n.hij(" ",a.hpoId," ")}}let R=(()=>{class o{constructor(a,s){this.route=a,this.gql=s,this.routeSub=this.route.params.subscribe(b=>{this.phenotypeId=+b.phenotypeId,this.queryRef=this.gql.watch({phenotypeId:this.phenotypeId});let I=this.queryRef.valueChanges;this.loading$=I.pipe((0,J.j)("loading"),(0,N.O)(!0)),this.phenotype$=I.pipe((0,J.j)("data","phenotype"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return o.\u0275fac=function(a){return new(a||o)(n.Y36(t.gz),n.Y36(U.WGV))},o.\u0275cmp=n.Xpm({type:o,selectors:[["cvc-phenotypes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzType","civic:phenotype"],["tooltip","View in the HPO",3,"href"],[1,"content"]],template:function(a,s){1&a&&(n.YNc(0,j,12,4,"ng-container",0),n.ALo(1,"ngrxPush")),2&a&&n.Q6J("ngIf",n.lcZ(1,1,s.phenotype$))},directives:[l.O5,B.I,f.$O,f.u9,u.Ls,f.Jp,V.l,f.u5,t.lC],pipes:[v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})();var F=e(2683),W=e(3154),$=e(8929),H=e(4850),K=e(2986),X=e(13),G=e(2166),w=e(7956),q=e(2643);function i(o,p){if(1&o&&(n.TgZ(0,"cvc-link-tag",17),n._uU(1),n.qZA()),2&o){const a=n.oxw().$implicit;n.Q6J("href",a.url),n.xp6(1),n.hij(" ",a.hpoId," ")}}function h(o,p){1&o&&n._uU(0,"--")}function r(o,p){if(1&o&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._UZ(2,"cvc-phenotype-tag",14),n.qZA(),n.TgZ(3,"td"),n.YNc(4,i,2,2,"cvc-link-tag",15),n.YNc(5,h,1,0,"ng-template",null,16,n.W1O),n.qZA(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.TgZ(9,"td"),n._uU(10),n.qZA(),n.qZA()),2&o){const a=p.$implicit,s=n.MAs(6);n.xp6(2),n.Q6J("phenotype",a),n.xp6(2),n.Q6J("ngIf",a.hpoId)("ngIfElse",s),n.xp6(4),n.hij(" ",a.evidenceCount," "),n.xp6(2),n.hij(" ",a.assertionCount," ")}}function P(o,p){if(1&o){const a=n.EpF();n.TgZ(0,"button",21),n.NdJ("click",function(){n.CHM(a);const b=n.oxw(2).ngrxLet;return n.oxw().loadMore(b.endCursor)}),n._uU(1),n.qZA()}if(2&o){const a=n.oxw(3);n.xp6(1),n.hij("Load ",a.initialPageSize," More")}}function A(o,p){if(1&o&&(n.TgZ(0,"tr"),n.TgZ(1,"td",19),n.YNc(2,P,2,1,"button",20),n.qZA(),n.qZA()),2&o){const a=n.oxw().ngrxLet;n.xp6(2),n.Q6J("ngIf",a.hasNextPage)}}function k(o,p){if(1&o&&(n.ynx(0),n.YNc(1,A,3,1,"tr",18),n.BQk()),2&o){const a=p.ngrxLet;n.xp6(1),n.Q6J("ngIf",a.hasNextPage)}}function tn(o,p){}function en(o,p){if(1&o&&(n.ynx(0),n.YNc(1,tn,0,0,"ng-template",25),n.BQk()),2&o){const a=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function on(o,p){if(1&o&&(n.ynx(0),n._uU(1),n.BQk()),2&o){const a=n.oxw(2);n.xp6(1),n.hij(" ",a.cvcTitle," ")}}function an(o,p){if(1&o&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&o){const a=n.oxw().ngIf;n.xp6(1),n.hij(" of ",a," filtered")}}function rn(o,p){if(1&o&&(n.TgZ(0,"span",26),n._uU(1),n.YNc(2,an,2,1,"span",18),n._uU(3,") "),n.qZA()),2&o){const a=p.ngIf,s=n.oxw(2);n.xp6(1),n.AsE(" (",s.totalCount," total, showing ",s.visibleCount,""),n.xp6(1),n.Q6J("ngIf",s.totalCount&&a{class o{constructor(a){this.gql=a,this.initialPageSize=25,this.debouncedQuery=new $.xQ,this.sortColumns=U.lYz,this.visibleCount=this.initialPageSize,this.loadedPages=1}ngOnInit(){this.queryRef=this.gql.watch({first:this.initialPageSize});let a=this.queryRef.valueChanges;this.phenotypes$=a.pipe((0,J.j)("data","phenotypes","edges"),(0,H.U)(s=>s.map(b=>b.node))),this.isLoading$=a.pipe((0,J.j)("loading"),(0,N.O)(!0)),this.filteredCount$=a.pipe((0,J.j)("data","phenotypes","filteredCount")),this.filteredCount$.pipe((0,K.q)(1)).subscribe(s=>this.totalCount=s),this.filteredCount$.subscribe(s=>{ss&&(this.visibleCount=s))}),this.pageInfo$=a.pipe((0,J.j)("data","phenotypes","pageInfo")),this.debouncedQuery.pipe((0,X.b)(500)).subscribe(s=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()}}onModelChanged(){this.debouncedQuery.next()}onSortChanged(a){var s;this.loadedPages=1,null===(s=this.queryRef)||void 0===s||s.refetch({sortBy:(0,W._)(a)})}refresh(){var a;this.loadedPages=1,null===(a=this.queryRef)||void 0===a||a.refetch({name:this.hpoNameFilter,hpoId:this.hpoIdFilter})}ngOnDestroy(){this.debouncedQuery.unsubscribe()}loadMore(a){var s;null===(s=this.queryRef)||void 0===s||s.fetchMore({variables:{after:a}}),this.loadedPages+=1}}return o.\u0275fac=function(a){return new(a||o)(n.Y36(U.B97))},o.\u0275cmp=n.Xpm({type:o,selectors:[["cvc-phenotypes-table"]],inputs:{cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:27,vars:27,consts:[[3,"nzTitle"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["phenotypesTable",""],[3,"nzSortOrderChange"],["nzWidth","40%",3,"nzColumnKey","nzSortFn"],["nzWidth","10%","nzRight","","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:evidence"],["nzWidth","10%","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:assertion"],["placeholderText","Search Name",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Search HPO ID",3,"inputModel","onInputChanged","inputModelChange"],[4,"ngFor","ngForOf"],[4,"ngrxLet"],["titleTemplate",""],[3,"phenotype"],["tooltip","View in the HPO",3,"href",4,"ngIf","ngIfElse"],["noHpo",""],["tooltip","View in the HPO",3,"href"],[4,"ngIf"],["colspan","7"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],["nz-icon","","nzType","civic:phenotype"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(a,s){if(1&a&&(n.TgZ(0,"nz-card",0),n.TgZ(1,"nz-table",1,2),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.TgZ(5,"thead",3),n.NdJ("nzSortOrderChange",function(I){return s.onSortChanged(I)}),n.TgZ(6,"tr"),n.TgZ(7,"th",4),n._uU(8," Name "),n.qZA(),n.TgZ(9,"th",4),n._uU(10," HPO ID "),n.qZA(),n.TgZ(11,"th",5),n._UZ(12,"i",6),n.qZA(),n.TgZ(13,"th",7),n._UZ(14,"i",8),n.qZA(),n.qZA(),n.TgZ(15,"tr"),n.TgZ(16,"th"),n.TgZ(17,"cvc-clearable-input-filter",9),n.NdJ("inputModelChange",function(I){return s.hpoNameFilter=I}),n.qZA(),n.qZA(),n.TgZ(18,"th"),n.TgZ(19,"cvc-clearable-input-filter",10),n.NdJ("inputModelChange",function(I){return s.hpoIdFilter=I}),n.qZA(),n.qZA(),n._UZ(20,"th"),n._UZ(21,"th"),n.qZA(),n.qZA(),n.TgZ(22,"tbody"),n.YNc(23,r,11,5,"tr",11),n.YNc(24,k,2,1,"ng-container",12),n.qZA(),n.qZA(),n.qZA(),n.YNc(25,pn,7,6,"ng-template",null,13,n.W1O)),2&a){const b=n.MAs(2),I=n.MAs(26);n.Q6J("nzTitle",I),n.xp6(1),n.Q6J("nzData",n.lcZ(3,21,s.phenotypes$))("nzLoading",n.lcZ(4,23,s.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(6),n.Q6J("nzColumnKey",s.sortColumns.Name)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",s.sortColumns.HpoId)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",s.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(25,nn)),n.xp6(2),n.Q6J("nzColumnKey",s.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",n.DdM(26,nn)),n.xp6(4),n.Q6J("inputModel",s.hpoNameFilter)("onInputChanged",s.textInputCallback),n.xp6(2),n.Q6J("inputModel",s.hpoIdFilter)("onInputChanged",s.textInputCallback),n.xp6(4),n.Q6J("ngForOf",b.data),n.xp6(1),n.Q6J("ngrxLet",s.pageInfo$)}},directives:[E.bd,_.N8,_.Om,_.$Z,_.Uo,_._C,_.qD,_.qn,Q.SY,F.w,u.Ls,G.p,_.p0,l.sg,w.i,l.O5,V.l,v.eJ,C.ix,q.dQ,l.tP,Z.ZU],pipes:[v.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),o})();function ln(o,p){1&o&&(n.TgZ(0,"a",14),n._UZ(1,"i",15),n._uU(2," View Associated Phenotype Docs "),n.qZA())}function gn(o,p){1&o&&(n.TgZ(0,"a",16),n._UZ(1,"i",15),n._uU(2," View Phenotype Curation Docs "),n.qZA())}let dn=(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=n.Xpm({type:o,selectors:[["phenotypes-home"]],decls:19,vars:2,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:phenotype"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Associated Phenotypes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/associated_phenotype.html#curating-associated-phenotypes","target","_blank","nzSize","small","nzBlock",""]],template:function(a,s){1&a&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0),n.TgZ(2,"nz-page-header-content"),n.TgZ(3,"nz-row",1),n.TgZ(4,"nz-col",2),n._UZ(5,"i",3),n.qZA(),n.TgZ(6,"nz-col",4),n.TgZ(7,"h2"),n._uU(8,"Associated Phenotypes"),n.qZA(),n.TgZ(9,"p",5),n._uU(10,"Phenotypes are symptoms or abnormalities that are encountered in human disease, optionally associated with Evidence Items and known to the Human Phenotype Ontology database."),n.qZA(),n.qZA(),n.TgZ(11,"nz-col",6),n.TgZ(12,"nz-space",7),n.YNc(13,ln,3,0,"a",8),n.YNc(14,gn,3,0,"a",9),n.qZA(),n.qZA(),n.qZA(),n.TgZ(15,"div",10),n.TgZ(16,"div",11),n.TgZ(17,"div",12),n._UZ(18,"cvc-phenotypes-table",13),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&a&&(n.xp6(9),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24))},directives:[B.I,f.$O,f.u5,D.SK,D.t3,u.Ls,F.w,Z.ZU,z.NU,z.$1,C.ix,cn],styles:["[_nghost-%COMP%]{display:block}"]}),o})();var hn=e(3756),mn=e(8965);function vn(o,p){if(1&o&&n._UZ(0,"cvc-assertions-table",4),2&o){const a=n.oxw(2);n.Q6J("phenotypeId",a.phenotypeId)}}function un(o,p){if(1&o&&n._UZ(0,"cvc-evidence-table",5),2&o){const a=n.oxw(2);n.Q6J("phenotypeId",a.phenotypeId)}}function fn(o,p){1&o&&(n.TgZ(0,"nz-space",1),n.YNc(1,vn,1,1,"cvc-assertions-table",2),n.YNc(2,un,1,1,"cvc-evidence-table",3),n.qZA())}const zn=[{path:"",component:(()=>{class o{constructor(){}ngOnInit(){}}return o.\u0275fac=function(a){return new(a||o)},o.\u0275cmp=n.Xpm({type:o,selectors:[["cvc-phenotypes"]],decls:1,vars:0,template:function(a,s){1&a&&n._UZ(0,"router-outlet")},directives:[t.lC],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),o})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:dn,data:{breadcrumb:"Home"}},{path:":phenotypeId",component:R,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class o{constructor(a){this.route=a,this.routeSub=this.route.params.subscribe(s=>{this.phenotypeId=+s.phenotypeId})}ngOnDestroy(){this.routeSub.unsubscribe()}}return o.\u0275fac=function(a){return new(a||o)(n.Y36(t.gz))},o.\u0275cmp=n.Xpm({type:o,selectors:[["cvc-phenotypes-summary"]],decls:1,vars:1,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["cvcTitle","Phenotype Assertions",3,"phenotypeId",4,"nzSpaceItem"],["cvcTitle","Phenotype Evidence",3,"phenotypeId",4,"nzSpaceItem"],["cvcTitle","Phenotype Assertions",3,"phenotypeId"],["cvcTitle","Phenotype Evidence",3,"phenotypeId"]],template:function(a,s){1&a&&n.YNc(0,fn,3,0,"nz-space",0),2&a&&n.Q6J("ngIf",s.phenotypeId)},directives:[l.O5,z.NU,z.$1,hn.x,mn.a],styles:["[_nghost-%COMP%]{display:block}"]}),o})(),data:{breadcrumb:"Summary"}}]}]}];let Cn=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[t.Bz.forChild(zn)],t.Bz]}),o})(),yn=(()=>{class o{}return o.\u0275fac=function(a){return new(a||o)},o.\u0275mod=n.oAB({type:o}),o.\u0275inj=n.cJS({imports:[[l.ez,t.Bz,Cn,Y,O,M]]}),o})()}}]);
\ No newline at end of file
diff --git a/server/public/6315.856b0cbb6373b47c.js b/server/public/6315.856b0cbb6373b47c.js
new file mode 100644
index 000000000..bd8392e0b
--- /dev/null
+++ b/server/public/6315.856b0cbb6373b47c.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6315],{8369:(V,I,n)=>{n.d(I,{W:()=>z});var o=n(9808),e=n(325),t=n(8481),u=n(3610),v=n(647),x=n(7484),C=n(3098),S=n(3309),A=n(4867),P=n(6286),O=n(8018),U=n(6949),T=n(9444),y=n(1894),h=n(8144),m=n(3580),D=n(8625),L=n(7026),Y=n(592),Q=n(404),W=n(5e3);let Z=(()=>{class d{}return d.\u0275fac=function(w){return new(w||d)},d.\u0275mod=W.oAB({type:d}),d.\u0275inj=W.cJS({imports:[[o.ez,e.Bz,U.WG,x.vh,C.q6,v.PV,y.Jb,h.zf,t.X,Q.cg,S.U,m.Q,A.Q,P.y,O.e,T.s,Y.x,D.$L.forChild({formatter:{useClass:L.x,provide:D.KP}})]]}),d})(),z=(()=>{class d{}return d.\u0275fac=function(w){return new(w||d)},d.\u0275mod=W.oAB({type:d}),d.\u0275inj=W.cJS({imports:[[o.ez,e.Bz,t.X,u.$6,v.PV,Z,T.s]]}),d})()},3580:(V,I,n)=>{n.d(I,{Q:()=>y});var o=n(9808),e=n(325),t=n(8481),u=n(3610),v=n(647),x=n(7484),C=n(3098),S=n(3630),A=n(6949),P=n(3618),O=n(9444),U=n(5e3);let T=(()=>{class h{}return h.\u0275fac=function(D){return new(D||h)},h.\u0275mod=U.oAB({type:h}),h.\u0275inj=U.cJS({imports:[[o.ez,A.WG,x.vh,C.q6,v.PV,P.ZJ,O.s,S.X]]}),h})(),y=(()=>{class h{}return h.\u0275fac=function(D){return new(D||h)},h.\u0275mod=U.oAB({type:h}),h.\u0275inj=U.cJS({imports:[[o.ez,e.Bz,t.X,u.$6,v.PV,O.s,T]]}),h})()},8018:(V,I,n)=>{n.d(I,{e:()=>h});var o=n(9808),e=n(325),t=n(8481),u=n(3610),v=n(647),x=n(7484),C=n(3098),S=n(6949),A=n(3630),P=n(3618),O=n(9444),U=n(404),T=n(5e3);let y=(()=>{class m{}return m.\u0275fac=function(L){return new(L||m)},m.\u0275mod=T.oAB({type:m}),m.\u0275inj=T.cJS({imports:[[o.ez,e.Bz,S.WG,x.vh,C.q6,v.PV,P.ZJ,t.X,U.cg,A.X,O.s]]}),m})(),h=(()=>{class m{}return m.\u0275fac=function(L){return new(L||m)},m.\u0275mod=T.oAB({type:m}),m.\u0275inj=T.cJS({imports:[[o.ez,e.Bz,t.X,u.$6,v.PV,O.s,y]]}),m})()},209:(V,I,n)=>{n.d(I,{i:()=>Z});var o=n(9808),e=n(325),t=n(8481),u=n(3610),v=n(647),x=n(7484),C=n(3309),S=n(4867),A=n(1894),P=n(3098),O=n(8018),U=n(3580),T=n(6286),y=n(6949),h=n(8144),m=n(9444),D=n(9779),L=n(592),Y=n(3618),Q=n(5e3);let W=(()=>{class z{}return z.\u0275fac=function(k){return new(k||z)},z.\u0275mod=Q.oAB({type:z}),z.\u0275inj=Q.cJS({imports:[[o.ez,e.Bz,y.WG,v.PV,x.vh,A.Jb,P.q6,t.X,h.zf,Y.ZJ,m.s,O.e,U.Q,C.U,S.Q,T.y,D.s,L.x]]}),z})(),Z=(()=>{class z{}return z.\u0275fac=function(k){return new(k||z)},z.\u0275mod=Q.oAB({type:z}),z.\u0275inj=Q.cJS({imports:[[o.ez,e.Bz,t.X,u.$6,v.PV,W,m.s]]}),z})()},5749:(V,I,n)=>{n.d(I,{m:()=>it});var o=n(5e3),e=n(9808),t=n(325),u=n(8481),v=n(3610),x=n(4850),C=n(712),S=n(7484),A=n(7881),P=n(1894),O=n(3098),U=n(6550),T=n(6949);const y=function(p,M){return{displayName:p,profileImagePath:M}};function h(p,M){if(1&p&&(o._UZ(0,"cvc-user-avatar",12),o.TgZ(1,"span",13),o._uU(2),o.qZA()),2&p){const f=o.oxw().ngIf;o.Q6J("user",o.WLB(2,y,f.name,f.profileImagePath)),o.xp6(2),o.Oqu(f.name)}}function m(p,M){if(1&p&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&p){const f=M.ngIf;o.xp6(1),o.Oqu(f)}}function D(p,M){if(1&p&&(o.ynx(0),o.TgZ(1,"cvc-link-tag",14),o._uU(2),o.qZA(),o.BQk()),2&p){const f=o.oxw().ngIf;o.xp6(1),o.Q6J("href",f.url),o.xp6(1),o.hij(" ",f.name," ")}}function L(p,M){if(1&p&&(o.ynx(0),o.TgZ(1,"nz-card",4),o.YNc(2,h,3,5,"ng-template",null,5,o.W1O),o.TgZ(4,"nz-row"),o.TgZ(5,"nz-col",6),o.TgZ(6,"div",7),o.TgZ(7,"p",8),o.YNc(8,m,2,1,"span",9),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.TgZ(9,"nz-descriptions",10),o.TgZ(10,"nz-descriptions-item",11),o.YNc(11,D,3,2,"ng-container",9),o.qZA(),o.qZA(),o.qZA(),o.BQk()),2&p){const f=M.ngIf,B=o.MAs(3);o.oxw();const $=o.MAs(4),l=o.MAs(6);o.xp6(1),o.Q6J("nzTitle",B),o.xp6(7),o.Q6J("ngIf",f.description)("ngIfElse",$),o.xp6(1),o.Q6J("nzColumn",2),o.xp6(2),o.Q6J("ngIf",f.url)("ngIfElse",l)}}function Y(p,M){1&p&&o._uU(0," Organization has not provided a description.\n")}function Q(p,M){1&p&&o._uU(0," --\n")}let W=(()=>{class p{constructor(f){this.gql=f}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,x.U)(({data:f})=>f.organization))}}return p.\u0275fac=function(f){return new(f||p)(o.Y36(C.X5f))},p.\u0275cmp=o.Xpm({type:p,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(f,B){1&f&&(o.TgZ(0,"div",0),o.YNc(1,L,12,6,"ng-container",1),o.ALo(2,"ngrxPush"),o.qZA(),o.YNc(3,Y,1,0,"ng-template",null,2,o.W1O),o.YNc(5,Q,1,0,"ng-template",null,3,o.W1O)),2&f&&(o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,B.org$)))},directives:[e.O5,S.bd,A.L,P.SK,P.t3,O.R7,O.uj,U.l],pipes:[T.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),p})();var Z=n(647);function z(p,M){}function d(p,M){if(1&p&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,z,0,0,"ng-template",6),o.qZA(),o.BQk()),2&p){const f=o.oxw(),B=o.MAs(2);o.xp6(1),o.MGl("routerLink","/organizations/",f.org.id,""),o.xp6(1),o.Q6J("ngTemplateOutlet",B)}}function k(p,M){}function w(p,M){if(1&p&&o._UZ(0,"cvc-organization-popover",10),2&p){const f=o.oxw(3);o.Q6J("orgId",f.org.id)}}function K(p,M){if(1&p&&o.YNc(0,w,1,1,"cvc-organization-popover",9),2&p){const f=o.oxw(2);o.Q6J("ngIf",f.enablePopover)}}function b(p,M){if(1&p&&(o.TgZ(0,"nz-tag",7),o.YNc(1,k,0,0,"ng-template",6),o.qZA(),o.YNc(2,K,1,1,"ng-template",null,8,o.W1O)),2&p){const f=o.MAs(3);o.oxw();const B=o.MAs(8);o.Q6J("nzPopoverContent",f),o.xp6(1),o.Q6J("ngTemplateOutlet",B)}}function q(p,M){}function tt(p,M){if(1&p&&(o.TgZ(0,"nz-tag"),o.YNc(1,q,0,0,"ng-template",6),o.qZA()),2&p){o.oxw();const f=o.MAs(8);o.xp6(1),o.Q6J("ngTemplateOutlet",f)}}function nt(p,M){}function et(p,M){if(1&p&&o.YNc(0,nt,0,0,"ng-template",6),2&p){o.oxw();const f=o.MAs(2);o.Q6J("ngTemplateOutlet",f)}}function ot(p,M){if(1&p&&(o._UZ(0,"i",11),o._uU(1)),2&p){const f=o.oxw();o.xp6(1),o.hij(" ",f.org.name,"\n")}}let it=(()=>{class p{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return p.\u0275fac=function(f){return new(f||p)},p.\u0275cmp=o.Xpm({type:p,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(f,B){if(1&f&&(o.YNc(0,d,3,2,"ng-container",0),o.YNc(1,b,4,2,"ng-template",null,1,o.W1O),o.YNc(3,tt,2,1,"ng-template",null,2,o.W1O),o.YNc(5,et,1,1,"ng-template",null,3,o.W1O),o.YNc(7,ot,2,1,"ng-template",null,4,o.W1O)),2&f){const $=o.MAs(6);o.Q6J("ngIf",B.linked)("ngIfElse",$)}},directives:[e.O5,t.yS,e.tP,u.j,v.lU,W,Z.Ls],styles:["[_nghost-%COMP%]{display:inline-block}"]}),p})()},9476:(V,I,n)=>{n.d(I,{L:()=>y});var o=n(9808),e=n(325),t=n(8481),u=n(647),v=n(1894),x=n(3630),C=n(3098),S=n(7484),A=n(6949),P=n(5473),O=n(5e3);let U=(()=>{class h{}return h.\u0275fac=function(D){return new(D||h)},h.\u0275mod=O.oAB({type:h}),h.\u0275inj=O.cJS({imports:[[o.ez,A.WG,S.vh,v.Jb,C.q6,x.X,P.H]]}),h})();var T=n(3610);let y=(()=>{class h{}return h.\u0275fac=function(D){return new(D||h)},h.\u0275mod=O.oAB({type:h}),h.\u0275inj=O.cJS({imports:[[o.ez,e.Bz,t.X,u.PV,T.$6,U]]}),h})()},6286:(V,I,n)=>{n.d(I,{y:()=>U});var o=n(9808),e=n(325),t=n(8481),u=n(3610),v=n(647),x=n(6949),C=n(7484),S=n(3630),A=n(3098),P=n(5e3);let O=(()=>{class T{}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=P.oAB({type:T}),T.\u0275inj=P.cJS({imports:[[o.ez,x.WG,v.PV,C.vh,S.X,A.q6]]}),T})(),U=(()=>{class T{}return T.\u0275fac=function(h){return new(h||T)},T.\u0275mod=P.oAB({type:T}),T.\u0275inj=P.cJS({imports:[[o.ez,e.Bz,t.X,u.$6,v.PV,O]]}),T})()},6550:(V,I,n)=>{n.d(I,{l:()=>x});var o=n(5e3),e=n(8481),t=n(404),u=n(647);const v=["*"];let x=(()=>{class C{constructor(){}ngOnInit(){if(void 0===this.href)throw new Error("cvc-link-tag requires href string input, none supplied.")}}return C.\u0275fac=function(A){return new(A||C)},C.\u0275cmp=o.Xpm({type:C,selectors:[["cvc-link-tag"]],inputs:{href:"href",tooltip:"tooltip",iconName:"iconName"},ngContentSelectors:v,decls:4,vars:4,consts:[["target","_blank",3,"href"],["nzColor","default","nz-tooltip","",3,"nzTooltipTitle","nzTooltipTrigger"],["nz-icon","","nzTheme","outline",3,"nzType"]],template:function(A,P){1&A&&(o.F$t(),o.TgZ(0,"a",0),o.TgZ(1,"nz-tag",1),o._UZ(2,"i",2),o.Hsn(3),o.qZA(),o.qZA()),2&A&&(o.Q6J("href",P.href,o.LSH),o.xp6(1),o.Q6J("nzTooltipTitle",P.tooltip)("nzTooltipTrigger",P.tooltip?"hover":null),o.xp6(1),o.Q6J("nzType",P.iconName?P.iconName:"link"))},directives:[e.j,t.SY,u.Ls],styles:[""]}),C})()},3630:(V,I,n)=>{n.d(I,{X:()=>x});var o=n(9808),e=n(404),t=n(8481),u=n(647),v=n(5e3);let x=(()=>{class C{}return C.\u0275fac=function(A){return new(A||C)},C.\u0275mod=v.oAB({type:C}),C.\u0275inj=v.cJS({imports:[[o.ez,e.cg,t.X,u.PV]]}),C})()},592:(V,I,n)=>{n.d(I,{x:()=>v});var o=n(9808),e=n(8481),t=n(647),u=n(5e3);let v=(()=>{class x{}return x.\u0275fac=function(S){return new(S||x)},x.\u0275mod=u.oAB({type:x}),x.\u0275inj=u.cJS({imports:[[o.ez,e.X,t.PV]]}),x})()},6715:(V,I,n)=>{n.d(I,{$:()=>t});var o=n(5e3);const e=["*"];let t=(()=>{class u{constructor(){}ngOnInit(){}}return u.\u0275fac=function(x){return new(x||u)},u.\u0275cmp=o.Xpm({type:u,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(x,C){2&x&&o.ekj("xs","xs"===C.size||!C.size)("sm","sm"===C.size)},inputs:{size:"size"},ngContentSelectors:e,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(x,C){1&x&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"]}),u})()},897:(V,I,n)=>{n.d(I,{$:()=>t});var o=n(9808),e=n(5e3);let t=(()=>{class u{}return u.\u0275fac=function(x){return new(x||u)},u.\u0275mod=e.oAB({type:u}),u.\u0275inj=e.cJS({imports:[[o.ez]]}),u})()},7677:(V,I,n)=>{n.d(I,{G:()=>T});var o=n(9808),e=n(325),t=n(3610),u=n(8481),v=n(647),x=n(9779),C=n(4867),S=n(7484),A=n(3098),P=n(6949),O=n(5e3);let U=(()=>{class y{}return y.\u0275fac=function(m){return new(m||y)},y.\u0275mod=O.oAB({type:y}),y.\u0275inj=O.cJS({imports:[[o.ez,P.WG,S.vh,A.q6,x.s,C.Q]]}),y})(),T=(()=>{class y{}return y.\u0275fac=function(m){return new(m||y)},y.\u0275mod=O.oAB({type:y}),y.\u0275inj=O.cJS({imports:[[o.ez,e.Bz,t.$6,u.X,v.PV,U]]}),y})()},8664:(V,I,n)=>{n.d(I,{I:()=>$});var o=n(6654),e=n(5e3),t=n(9808),u=n(325),v=n(8481),x=n(3610),C=n(4850),S=n(712),A=n(7484),P=n(647),O=n(3193),U=n(3098),T=n(6550),y=n(1894),h=n(8144),m=n(6949);function D(l,N){if(1&l&&(e._UZ(0,"i",13),e._uU(1)),2&l){const g=e.oxw().ngIf;e.xp6(1),e.hij(" ",g.name," ")}}function L(l,N){if(1&l&&e._UZ(0,"cvc-gene-tag",14),2&l){const g=e.oxw().ngIf;e.Q6J("enablePopover",!1)("gene",g.gene)}}function Y(l,N){if(1&l&&(e.TgZ(0,"nz-tag"),e._uU(1),e.qZA()),2&l){const g=N.$implicit;e.xp6(1),e.Oqu(g)}}function Q(l,N){if(1&l&&(e.TgZ(0,"nz-descriptions-item",15),e.YNc(1,Y,2,1,"nz-tag",16),e.qZA()),2&l){const g=e.oxw().ngIf;e.xp6(1),e.Q6J("ngForOf",g.variantAliases)}}function W(l,N){if(1&l&&(e.TgZ(0,"nz-descriptions-item",17),e.TgZ(1,"cvc-link-tag",18),e._uU(2),e.qZA(),e.qZA()),2&l){const g=e.oxw().ngIf;e.xp6(1),e.MGl("href","https://reg.genome.network/allele/",g.alleleRegistryId,".html"),e.xp6(1),e.hij(" ",g.alleleRegistryId," ")}}function Z(l,N){if(1&l&&(e.TgZ(0,"a",19),e.TgZ(1,"nz-tag",20),e._UZ(2,"i",21),e._uU(3),e.qZA(),e.qZA()),2&l){const g=e.oxw().ngIf;e.MGl("routerLink","/variants/",g.id,"/flags"),e.xp6(3),e.hij(" Flags (",g.flags.totalCount,") ")}}function z(l,N){if(1&l&&(e.TgZ(0,"a",19),e.TgZ(1,"nz-tag",22),e._UZ(2,"i",23),e._uU(3),e.qZA(),e.qZA()),2&l){const g=e.oxw().ngIf;e.MGl("routerLink","/variants/",g.id,"/revisions"),e.xp6(3),e.hij(" Revisions (",g.revisions.totalCount,") ")}}function d(l,N){if(1&l&&(e.TgZ(0,"a",19),e.TgZ(1,"nz-tag",24),e._UZ(2,"i",25),e._uU(3),e.qZA(),e.qZA()),2&l){const g=e.oxw().ngIf;e.MGl("routerLink","/variants/",g.id,"/comments"),e.xp6(3),e.hij(" Comments (",g.comments.totalCount,") ")}}function k(l,N){if(1&l&&(e.ynx(0),e.TgZ(1,"nz-card",2),e.YNc(2,D,2,1,"ng-template",null,3,e.W1O),e.YNc(4,L,1,2,"ng-template",null,4,e.W1O),e.TgZ(6,"nz-descriptions",5),e.YNc(7,Q,2,1,"nz-descriptions-item",6),e.YNc(8,W,3,2,"nz-descriptions-item",7),e.TgZ(9,"nz-descriptions-item",8),e._uU(10),e.qZA(),e.qZA(),e.TgZ(11,"nz-row",9),e.TgZ(12,"nz-col",10),e.TgZ(13,"nz-space",11),e.YNc(14,Z,4,2,"a",12),e.YNc(15,z,4,2,"a",12),e.YNc(16,d,4,2,"a",12),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.BQk()),2&l){const g=N.ngIf,J=e.MAs(3),F=e.MAs(5);e.xp6(1),e.Q6J("nzTitle",J)("nzExtra",F),e.xp6(5),e.Q6J("nzColumn",2),e.xp6(1),e.Q6J("ngIf",g.variantAliases.length>0),e.xp6(1),e.Q6J("ngIf",g.alleleRegistryId),e.xp6(2),e.hij(" ",g.evidenceItems.totalCount," ")}}let w=(()=>{class l{constructor(g){this.gql=g}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,C.U)(({data:g})=>g.variant))}}return l.\u0275fac=function(g){return new(g||l)(e.Y36(S.ZYZ))},l.\u0275cmp=e.Xpm({type:l,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(g,J){1&g&&(e.TgZ(0,"div",0),e.YNc(1,k,17,6,"ng-container",1),e.ALo(2,"ngrxPush"),e.qZA()),2&g&&(e.xp6(1),e.Q6J("ngIf",e.lcZ(2,1,J.variant$)))},directives:[t.O5,A.bd,P.Ls,O.H,U.R7,U.uj,t.sg,v.j,T.l,y.SK,y.t3,h.NU,h.$1,u.yS],pipes:[m.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),l})();function K(l,N){}function b(l,N){if(1&l&&(e.ynx(0),e.TgZ(1,"a",5),e.YNc(2,K,0,0,"ng-template",6),e.qZA(),e.BQk()),2&l){const g=e.oxw(),J=e.MAs(2);e.xp6(1),e.Q6J("routerLink",g.variant.link),e.xp6(1),e.Q6J("ngTemplateOutlet",J)}}function q(l,N){}function tt(l,N){if(1&l){const g=e.EpF();e.TgZ(0,"nz-tag",9),e.NdJ("nzOnClose",function(F){return e.CHM(g),e.oxw(2).itemClosed(F)}),e.YNc(1,q,0,0,"ng-template",6),e.qZA()}if(2&l){e.oxw();const g=e.MAs(2),J=e.oxw(),F=e.MAs(8);e.Q6J("nzPopoverMouseEnterDelay",J.onCloseClicked?0:.5)("nzPopoverContent",g)("nzMode",J.onCloseClicked?"closeable":"default"),e.xp6(1),e.Q6J("ngTemplateOutlet",F)}}function nt(l,N){if(1&l&&e._UZ(0,"cvc-variant-popover",11),2&l){const g=e.oxw(3);e.Q6J("variantId",g.variant.id)}}function et(l,N){if(1&l&&e.YNc(0,nt,1,1,"cvc-variant-popover",10),2&l){const g=e.oxw(2);e.Q6J("ngIf",g.enablePopover)}}function ot(l,N){if(1&l&&(e.YNc(0,tt,2,4,"nz-tag",7),e.YNc(1,et,1,1,"ng-template",null,8,e.W1O)),2&l){const g=e.oxw(),J=e.MAs(4);e.Q6J("ngIf",g.enablePopover)("ngIfElse",J)}}function it(l,N){}function p(l,N){if(1&l){const g=e.EpF();e.TgZ(0,"nz-tag",12),e.NdJ("nzOnClose",function(F){return e.CHM(g),e.oxw().itemClosed(F)}),e.YNc(1,it,0,0,"ng-template",6),e.qZA()}if(2&l){const g=e.oxw(),J=e.MAs(8);e.Q6J("nzMode",g.onCloseClicked?"closeable":"default"),e.xp6(1),e.Q6J("ngTemplateOutlet",J)}}function M(l,N){}function f(l,N){if(1&l&&e.YNc(0,M,0,0,"ng-template",6),2&l){e.oxw();const g=e.MAs(2);e.Q6J("ngTemplateOutlet",g)}}function B(l,N){if(1&l&&(e._UZ(0,"i",13),e._uU(1)),2&l){const g=e.oxw();e.xp6(1),e.hij(" ",g.variant.name,"\n")}}let $=(()=>{class l extends o.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return l.\u0275fac=function(g){return new(g||l)},l.\u0275cmp=e.Xpm({type:l,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[e.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(g,J){if(1&g&&(e.YNc(0,b,3,2,"ng-container",0),e.YNc(1,ot,3,2,"ng-template",null,1,e.W1O),e.YNc(3,p,2,2,"ng-template",null,2,e.W1O),e.YNc(5,f,1,1,"ng-template",null,3,e.W1O),e.YNc(7,B,2,1,"ng-template",null,4,e.W1O)),2&g){const F=e.MAs(6);e.Q6J("ngIf",J.linked)("ngIfElse",F)}},directives:[t.O5,u.yS,t.tP,v.j,x.lU,w,P.Ls],styles:[""]}),l})()},4867:(V,I,n)=>{n.d(I,{Q:()=>h});var o=n(9808),e=n(325),t=n(8481),u=n(647),v=n(3610),x=n(6949),C=n(7484),S=n(1894),A=n(3098),P=n(8144),O=n(3309),U=n(3630),T=n(5e3);let y=(()=>{class m{}return m.\u0275fac=function(L){return new(L||m)},m.\u0275mod=T.oAB({type:m}),m.\u0275inj=T.cJS({imports:[[o.ez,e.Bz,x.WG,C.vh,S.Jb,A.q6,t.X,u.PV,P.zf,O.U,U.X]]}),m})(),h=(()=>{class m{}return m.\u0275fac=function(L){return new(L||m)},m.\u0275mod=T.oAB({type:m}),m.\u0275inj=T.cJS({imports:[[o.ez,e.Bz,t.X,v.$6,u.PV,y]]}),m})()},4340:(V,I,n)=>{n.r(I),n.d(I,{WelcomeModule:()=>bt});var o=n(325),e=n(712),t=n(5e3),u=n(8144),v=n(1894),x=n(226),C=n(925),S=n(9808),A=n(655),P=n(1159),O=n(8929),U=n(3753),T=n(7625),y=n(9439),h=n(1721),m=n(4090);const D=["slickList"],L=["slickTrack"];function Y(s,a){}const Q=function(s){return{$implicit:s}};function W(s,a){if(1&s){const i=t.EpF();t.TgZ(0,"li",9),t.NdJ("click",function(){const _=t.CHM(i).index;return t.oxw(2).onLiClick(_)}),t.YNc(1,Y,0,0,"ng-template",10),t.qZA()}if(2&s){const i=a.index,r=t.oxw(2),c=t.MAs(8);t.ekj("slick-active",i===r.activeIndex),t.xp6(1),t.Q6J("ngTemplateOutlet",r.nzDotRender||c)("ngTemplateOutletContext",t.VKq(4,Q,i))}}function Z(s,a){if(1&s&&(t.TgZ(0,"ul",7),t.YNc(1,W,2,6,"li",8),t.qZA()),2&s){const i=t.oxw();t.ekj("slick-dots-top","top"===i.nzDotPosition)("slick-dots-bottom","bottom"===i.nzDotPosition)("slick-dots-left","left"===i.nzDotPosition)("slick-dots-right","right"===i.nzDotPosition),t.xp6(1),t.Q6J("ngForOf",i.carouselContents)}}function z(s,a){if(1&s&&(t.TgZ(0,"button"),t._uU(1),t.qZA()),2&s){const i=a.$implicit;t.xp6(1),t.Oqu(i+1)}}const d=["*"];let k=(()=>{class s{constructor(i,r){this.renderer=r,this._active=!1,this.el=i.nativeElement,this.renderer.addClass(i.nativeElement,"slick-slide")}set isActive(i){this._active=i,this.isActive?this.renderer.addClass(this.el,"slick-active"):this.renderer.removeClass(this.el,"slick-active")}get isActive(){return this._active}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(t.SBq),t.Y36(t.Qsj))},s.\u0275dir=t.lG2({type:s,selectors:[["","nz-carousel-content",""]],exportAs:["nzCarouselContent"]}),s})();class w{constructor(a,i,r,c,_){this.cdr=i,this.renderer=r,this.platform=c,this.options=_,this.carouselComponent=a}get maxIndex(){return this.length-1}get firstEl(){return this.contents[0].el}get lastEl(){return this.contents[this.maxIndex].el}withCarouselContents(a){const i=this.carouselComponent;if(this.slickListEl=i.slickListEl,this.slickTrackEl=i.slickTrackEl,this.contents=(null==a?void 0:a.toArray())||[],this.length=this.contents.length,this.platform.isBrowser){const r=i.el.getBoundingClientRect();this.unitWidth=r.width,this.unitHeight=r.height}else null==a||a.forEach((r,c)=>{0===c?this.renderer.setStyle(r.el,"width","100%"):this.renderer.setStyle(r.el,"display","none")})}dragging(a){}dispose(){}getFromToInBoundary(a,i){const r=this.maxIndex+1;return{from:(a+r)%r,to:(i+r)%r}}}class K extends w{withCarouselContents(a){super.withCarouselContents(a),this.contents&&(this.slickTrackEl.style.width=this.length*this.unitWidth+"px",this.contents.forEach((i,r)=>{this.renderer.setStyle(i.el,"opacity",this.carouselComponent.activeIndex===r?"1":"0"),this.renderer.setStyle(i.el,"position","relative"),this.renderer.setStyle(i.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(i.el,"left",-this.unitWidth*r+"px"),this.renderer.setStyle(i.el,"transition",["opacity 500ms ease 0s","visibility 500ms ease 0s"])}))}switch(a,i){const{to:r}=this.getFromToInBoundary(a,i),c=new O.xQ;return this.contents.forEach((_,R)=>{this.renderer.setStyle(_.el,"opacity",r===R?"1":"0")}),setTimeout(()=>{c.next(),c.complete()},this.carouselComponent.nzTransitionSpeed),c}dispose(){this.contents.forEach(a=>{this.renderer.setStyle(a.el,"transition",null),this.renderer.setStyle(a.el,"opacity",null),this.renderer.setStyle(a.el,"width",null),this.renderer.setStyle(a.el,"left",null)}),super.dispose()}}class b extends w{constructor(a,i,r,c,_){super(a,i,r,c,_),this.isDragging=!1,this.isTransitioning=!1}get vertical(){return this.carouselComponent.vertical}dispose(){super.dispose(),this.renderer.setStyle(this.slickTrackEl,"transform",null)}withCarouselContents(a){super.withCarouselContents(a);const r=this.carouselComponent.activeIndex;this.platform.isBrowser&&this.contents.length&&(this.renderer.setStyle(this.slickListEl,"height",`${this.unitHeight}px`),this.vertical?(this.renderer.setStyle(this.slickTrackEl,"width",`${this.unitWidth}px`),this.renderer.setStyle(this.slickTrackEl,"height",this.length*this.unitHeight+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-r*this.unitHeight}px, 0)`)):(this.renderer.setStyle(this.slickTrackEl,"height",`${this.unitHeight}px`),this.renderer.setStyle(this.slickTrackEl,"width",this.length*this.unitWidth+"px"),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-r*this.unitWidth}px, 0, 0)`)),this.contents.forEach(c=>{this.renderer.setStyle(c.el,"position","relative"),this.renderer.setStyle(c.el,"width",`${this.unitWidth}px`),this.renderer.setStyle(c.el,"height",`${this.unitHeight}px`)}))}switch(a,i){const{to:r}=this.getFromToInBoundary(a,i),c=new O.xQ;return this.renderer.setStyle(this.slickTrackEl,"transition",`transform ${this.carouselComponent.nzTransitionSpeed}ms ease`),this.vertical?this.verticalTransform(a,i):this.horizontalTransform(a,i),this.isTransitioning=!0,this.isDragging=!1,setTimeout(()=>{this.renderer.setStyle(this.slickTrackEl,"transition",null),this.contents.forEach(_=>{this.renderer.setStyle(_.el,this.vertical?"top":"left",null)}),this.renderer.setStyle(this.slickTrackEl,"transform",this.vertical?`translate3d(0, ${-r*this.unitHeight}px, 0)`:`translate3d(${-r*this.unitWidth}px, 0, 0)`),this.isTransitioning=!1,c.next(),c.complete()},this.carouselComponent.nzTransitionSpeed),c.asObservable()}dragging(a){if(this.isTransitioning)return;const i=this.carouselComponent.activeIndex;this.carouselComponent.vertical?(!this.isDragging&&this.length>2&&(i===this.maxIndex?this.prepareVerticalContext(!0):0===i&&this.prepareVerticalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(0, ${-i*this.unitHeight+a.x}px, 0)`)):(!this.isDragging&&this.length>2&&(i===this.maxIndex?this.prepareHorizontalContext(!0):0===i&&this.prepareHorizontalContext(!1)),this.renderer.setStyle(this.slickTrackEl,"transform",`translate3d(${-i*this.unitWidth+a.x}px, 0, 0)`)),this.isDragging=!0}verticalTransform(a,i){const{from:r,to:c}=this.getFromToInBoundary(a,i);this.length>2&&i!==c?(this.prepareVerticalContext(c2&&i!==c?(this.prepareHorizontalContext(c{class s{constructor(i,r,c,_,R,H,G,lt,ct,gt){this.nzConfigService=r,this.ngZone=c,this.renderer=_,this.cdr=R,this.platform=H,this.resizeService=G,this.nzDragService=lt,this.directionality=ct,this.customStrategies=gt,this._nzModuleName="carousel",this.nzEffect="scrollx",this.nzEnableSwipe=!0,this.nzDots=!0,this.nzAutoPlay=!1,this.nzAutoPlaySpeed=3e3,this.nzTransitionSpeed=500,this.nzStrategyOptions=void 0,this._dotPosition="bottom",this.nzBeforeChange=new t.vpe,this.nzAfterChange=new t.vpe,this.activeIndex=0,this.vertical=!1,this.transitionInProgress=null,this.dir="ltr",this.destroy$=new O.xQ,this.gestureRect=null,this.pointerDelta=null,this.isTransiting=!1,this.isDragging=!1,this.onLiClick=X=>{this.goTo("rtl"===this.dir?this.carouselContents.length-1-X:X)},this.pointerDown=X=>{!this.isDragging&&!this.isTransiting&&this.nzEnableSwipe&&(this.clearScheduledTransition(),this.gestureRect=this.slickListEl.getBoundingClientRect(),this.nzDragService.requestDraggingSequence(X).subscribe(E=>{var pt;this.pointerDelta=E,this.isDragging=!0,null===(pt=this.strategy)||void 0===pt||pt.dragging(this.pointerDelta)},()=>{},()=>{if(this.nzEnableSwipe&&this.isDragging){const E=this.pointerDelta?this.pointerDelta.x:0;Math.abs(E)>this.gestureRect.width/3?this.goTo(E>0?this.activeIndex-1:this.activeIndex+1):this.goTo(this.activeIndex),this.gestureRect=null,this.pointerDelta=null}this.isDragging=!1}))},this.nzDotPosition="bottom",this.renderer.addClass(i.nativeElement,"ant-carousel"),this.el=i.nativeElement}set nzDotPosition(i){this._dotPosition=i,this.vertical="left"===i||"right"===i}get nzDotPosition(){return this._dotPosition}ngOnInit(){this.slickListEl=this.slickList.nativeElement,this.slickTrackEl=this.slickTrack.nativeElement,this.dir=this.directionality.value,this.directionality.change.pipe((0,T.R)(this.destroy$)).subscribe(i=>{this.dir=i,this.markContentActive(this.activeIndex),this.cdr.detectChanges()}),this.ngZone.runOutsideAngular(()=>{(0,U.R)(this.slickListEl,"keydown").pipe((0,T.R)(this.destroy$)).subscribe(i=>{const{keyCode:r}=i;r!==P.oh&&r!==P.SV||(i.preventDefault(),this.ngZone.run(()=>{r===P.oh?this.pre():this.next(),this.cdr.markForCheck()}))})})}ngAfterContentInit(){this.markContentActive(0)}ngAfterViewInit(){this.carouselContents.changes.subscribe(()=>{this.markContentActive(0),this.layout()}),this.resizeService.subscribe().pipe((0,T.R)(this.destroy$)).subscribe(()=>{this.layout()}),this.switchStrategy(),this.markContentActive(0),this.layout(),Promise.resolve().then(()=>{this.layout()})}ngOnChanges(i){const{nzEffect:r,nzDotPosition:c}=i;r&&!r.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),c&&!c.isFirstChange()&&(this.switchStrategy(),this.markContentActive(0),this.layout()),this.nzAutoPlay&&this.nzAutoPlaySpeed?this.scheduleNextTransition():this.clearScheduledTransition()}ngOnDestroy(){this.clearScheduledTransition(),this.strategy&&this.strategy.dispose(),this.destroy$.next(),this.destroy$.complete()}next(){this.goTo(this.activeIndex+1)}pre(){this.goTo(this.activeIndex-1)}goTo(i){if(this.carouselContents&&this.carouselContents.length&&!this.isTransiting){const r=this.carouselContents.length,c=this.activeIndex,_=(i+r)%r;this.isTransiting=!0,this.nzBeforeChange.emit({from:c,to:_}),this.strategy.switch(this.activeIndex,i).subscribe(()=>{this.scheduleNextTransition(),this.nzAfterChange.emit(i),this.isTransiting=!1}),this.markContentActive(_),this.cdr.markForCheck()}}switchStrategy(){this.strategy&&this.strategy.dispose();const i=this.customStrategies?this.customStrategies.find(r=>r.name===this.nzEffect):null;this.strategy=i?new i.strategy(this,this.cdr,this.renderer,this.platform):"scrollx"===this.nzEffect?new b(this,this.cdr,this.renderer,this.platform):new K(this,this.cdr,this.renderer,this.platform)}scheduleNextTransition(){this.clearScheduledTransition(),this.nzAutoPlay&&this.nzAutoPlaySpeed>0&&this.platform.isBrowser&&(this.transitionInProgress=setTimeout(()=>{this.goTo(this.activeIndex+1)},this.nzAutoPlaySpeed))}clearScheduledTransition(){this.transitionInProgress&&(clearTimeout(this.transitionInProgress),this.transitionInProgress=null)}markContentActive(i){this.activeIndex=i,this.carouselContents&&this.carouselContents.forEach((r,c)=>{r.isActive="rtl"===this.dir?i===this.carouselContents.length-1-c:i===c}),this.cdr.markForCheck()}layout(){this.strategy&&this.strategy.withCarouselContents(this.carouselContents)}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(t.SBq),t.Y36(y.jY),t.Y36(t.R0b),t.Y36(t.Qsj),t.Y36(t.sBO),t.Y36(C.t4),t.Y36(m.rI),t.Y36(m.Ml),t.Y36(x.Is,8),t.Y36(q,8))},s.\u0275cmp=t.Xpm({type:s,selectors:[["nz-carousel"]],contentQueries:function(i,r,c){if(1&i&&t.Suo(c,k,4),2&i){let _;t.iGM(_=t.CRH())&&(r.carouselContents=_)}},viewQuery:function(i,r){if(1&i&&(t.Gf(D,7),t.Gf(L,7)),2&i){let c;t.iGM(c=t.CRH())&&(r.slickList=c.first),t.iGM(c=t.CRH())&&(r.slickTrack=c.first)}},hostVars:4,hostBindings:function(i,r){2&i&&t.ekj("ant-carousel-vertical",r.vertical)("ant-carousel-rtl","rtl"===r.dir)},inputs:{nzDotRender:"nzDotRender",nzEffect:"nzEffect",nzEnableSwipe:"nzEnableSwipe",nzDots:"nzDots",nzAutoPlay:"nzAutoPlay",nzAutoPlaySpeed:"nzAutoPlaySpeed",nzTransitionSpeed:"nzTransitionSpeed",nzStrategyOptions:"nzStrategyOptions",nzDotPosition:"nzDotPosition"},outputs:{nzBeforeChange:"nzBeforeChange",nzAfterChange:"nzAfterChange"},exportAs:["nzCarousel"],features:[t.TTD],ngContentSelectors:d,decls:9,vars:3,consts:[[1,"slick-initialized","slick-slider"],["tabindex","-1",1,"slick-list",3,"mousedown","touchstart"],["slickList",""],[1,"slick-track"],["slickTrack",""],["class","slick-dots",3,"slick-dots-top","slick-dots-bottom","slick-dots-left","slick-dots-right",4,"ngIf"],["renderDotTemplate",""],[1,"slick-dots"],[3,"slick-active","click",4,"ngFor","ngForOf"],[3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"]],template:function(i,r){1&i&&(t.F$t(),t.TgZ(0,"div",0),t.TgZ(1,"div",1,2),t.NdJ("mousedown",function(_){return r.pointerDown(_)})("touchstart",function(_){return r.pointerDown(_)}),t.TgZ(3,"div",3,4),t.Hsn(5),t.qZA(),t.qZA(),t.YNc(6,Z,2,9,"ul",5),t.qZA(),t.YNc(7,z,2,1,"ng-template",null,6,t.W1O)),2&i&&(t.ekj("slick-vertical","left"===r.nzDotPosition||"right"===r.nzDotPosition),t.xp6(6),t.Q6J("ngIf",r.nzDots))},directives:[S.O5,S.sg,S.tP],encapsulation:2,changeDetection:0}),(0,A.gn)([(0,y.oS)()],s.prototype,"nzEffect",void 0),(0,A.gn)([(0,y.oS)(),(0,h.yF)()],s.prototype,"nzEnableSwipe",void 0),(0,A.gn)([(0,y.oS)(),(0,h.yF)()],s.prototype,"nzDots",void 0),(0,A.gn)([(0,y.oS)(),(0,h.yF)()],s.prototype,"nzAutoPlay",void 0),(0,A.gn)([(0,y.oS)(),(0,h.Rn)()],s.prototype,"nzAutoPlaySpeed",void 0),(0,A.gn)([(0,h.Rn)()],s.prototype,"nzTransitionSpeed",void 0),(0,A.gn)([(0,y.oS)()],s.prototype,"nzDotPosition",null),s})(),et=(()=>{class s{}return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[x.vT,S.ez,C.ud]]}),s})();var p=n(4850),M=n(7484),f=n(3868),B=n(4182),$=n(5249),l=n(2683),N=n(647),g=n(6949);function J(s,a){if(1&s){const i=t.EpF();t.TgZ(0,"nz-radio-group",4),t.NdJ("ngModelChange",function(c){return t.CHM(i),t.oxw().statsType=c}),t.TgZ(1,"label",5),t._uU(2,"Total"),t.qZA(),t.TgZ(3,"label",6),t._uU(4,"Weekly"),t.qZA(),t.TgZ(5,"label",7),t._uU(6,"Monthly"),t.qZA(),t.TgZ(7,"label",8),t._uU(8,"Yearly"),t.qZA(),t.qZA()}if(2&s){const i=t.oxw();t.Q6J("ngModel",i.statsType)}}function F(s,a){1&s&&t._UZ(0,"i",30)}function at(s,a){1&s&&t._UZ(0,"i",31)}function ut(s,a){1&s&&t._UZ(0,"i",32)}function vt(s,a){1&s&&t._UZ(0,"i",33)}function zt(s,a){1&s&&t._UZ(0,"i",34)}function ft(s,a){1&s&&t._UZ(0,"i",35)}function Ct(s,a){1&s&&t._UZ(0,"i",36)}function Tt(s,a){1&s&&t._UZ(0,"i",37)}function yt(s,a){1&s&&t._UZ(0,"i",38)}function xt(s,a){1&s&&t._UZ(0,"i",39)}function _t(s,a){if(1&s&&(t.ynx(0),t.TgZ(1,"nz-row",9),t.TgZ(2,"nz-col",10),t.TgZ(3,"a",11),t._UZ(4,"nz-statistic",12),t.ALo(5,"number"),t.YNc(6,F,1,0,"ng-template",null,13,t.W1O),t.qZA(),t.qZA(),t.TgZ(8,"nz-col",10),t.TgZ(9,"a",14),t._UZ(10,"nz-statistic",12),t.ALo(11,"number"),t.YNc(12,at,1,0,"ng-template",null,15,t.W1O),t.qZA(),t.qZA(),t.TgZ(14,"nz-col",10),t.TgZ(15,"a",16),t._UZ(16,"nz-statistic",12),t.ALo(17,"number"),t.YNc(18,ut,1,0,"ng-template",null,17,t.W1O),t.qZA(),t.qZA(),t.TgZ(20,"nz-col",10),t.TgZ(21,"a",18),t._UZ(22,"nz-statistic",12),t.ALo(23,"number"),t.YNc(24,vt,1,0,"ng-template",null,19,t.W1O),t.qZA(),t.qZA(),t.TgZ(26,"nz-col",10),t.TgZ(27,"a",20),t._UZ(28,"nz-statistic",12),t.ALo(29,"number"),t.YNc(30,zt,1,0,"ng-template",null,21,t.W1O),t.qZA(),t.qZA(),t.qZA(),t.TgZ(32,"nz-row",9),t.TgZ(33,"nz-col",10),t.TgZ(34,"a",22),t._UZ(35,"nz-statistic",12),t.ALo(36,"number"),t.YNc(37,ft,1,0,"ng-template",null,23,t.W1O),t.qZA(),t.qZA(),t.TgZ(39,"nz-col",10),t.TgZ(40,"a",24),t._UZ(41,"nz-statistic",12),t.ALo(42,"number"),t.YNc(43,Ct,1,0,"ng-template",null,25,t.W1O),t.qZA(),t.qZA(),t.TgZ(45,"nz-col",10),t.TgZ(46,"a",26),t._UZ(47,"nz-statistic",12),t.ALo(48,"number"),t.YNc(49,Tt,1,0,"ng-template",null,27,t.W1O),t.qZA(),t.qZA(),t.TgZ(51,"nz-col",10),t._UZ(52,"nz-statistic",12),t.ALo(53,"number"),t.YNc(54,yt,1,0,"ng-template",null,28,t.W1O),t.qZA(),t.TgZ(56,"nz-col",10),t._UZ(57,"nz-statistic",12),t.ALo(58,"number"),t.YNc(59,xt,1,0,"ng-template",null,29,t.W1O),t.qZA(),t.qZA(),t.BQk()),2&s){const i=a.ngIf,r=t.MAs(7),c=t.MAs(13),_=t.MAs(19),R=t.MAs(25),H=t.MAs(31),G=t.MAs(38),lt=t.MAs(44),ct=t.MAs(50),gt=t.MAs(55),X=t.MAs(60),E=t.oxw();t.xp6(4),t.Q6J("nzTitle",E.statsType+" Assertions")("nzValue",t.lcZ(5,30,i.assertions[E.statsTypes[E.statsType]]))("nzPrefix",r),t.xp6(6),t.Q6J("nzTitle",E.statsType+" Evidence")("nzValue",t.lcZ(11,32,i.evidenceItems[E.statsTypes[E.statsType]]))("nzPrefix",c),t.xp6(6),t.Q6J("nzTitle",E.statsType+" Genes")("nzValue",t.lcZ(17,34,i.genes[E.statsTypes[E.statsType]]))("nzPrefix",_),t.xp6(6),t.Q6J("nzTitle",E.statsType+" Variants")("nzValue",t.lcZ(23,36,i.variants[E.statsTypes[E.statsType]]))("nzPrefix",R),t.xp6(6),t.Q6J("nzTitle",E.statsType+" Contributors")("nzValue",t.lcZ(29,38,i.users[E.statsTypes[E.statsType]]))("nzPrefix",H),t.xp6(7),t.Q6J("nzTitle",E.statsType+" Diseases")("nzValue",t.lcZ(36,40,i.diseases[E.statsTypes[E.statsType]]))("nzPrefix",G),t.xp6(6),t.Q6J("nzTitle",E.statsType+" Drugs")("nzValue",t.lcZ(42,42,i.drugs[E.statsTypes[E.statsType]]))("nzPrefix",lt),t.xp6(6),t.Q6J("nzTitle",E.statsType+" Sources")("nzValue",t.lcZ(48,44,i.sources[E.statsTypes[E.statsType]]))("nzPrefix",ct),t.xp6(5),t.Q6J("nzTitle",E.statsType+" Revisions")("nzValue",t.lcZ(53,46,i.revisions[E.statsTypes[E.statsType]]))("nzPrefix",gt),t.xp6(5),t.Q6J("nzTitle",E.statsType+" Comments")("nzValue",t.lcZ(58,48,i.comments[E.statsTypes[E.statsType]]))("nzPrefix",X)}}function St(s,a){if(1&s&&(t.TgZ(0,"nz-row",9),t.TgZ(1,"nz-col",10),t._UZ(2,"nz-statistic",40),t.qZA(),t.TgZ(3,"nz-col",10),t._UZ(4,"nz-statistic",40),t.qZA(),t.TgZ(5,"nz-col",10),t._UZ(6,"nz-statistic",40),t.qZA(),t.TgZ(7,"nz-col",10),t._UZ(8,"nz-statistic",40),t.qZA(),t.TgZ(9,"nz-col",10),t._UZ(10,"nz-statistic",40),t.qZA(),t.qZA(),t.TgZ(11,"nz-row",9),t.TgZ(12,"nz-col",10),t._UZ(13,"nz-statistic",40),t.qZA(),t.TgZ(14,"nz-col",10),t._UZ(15,"nz-statistic",40),t.qZA(),t.TgZ(16,"nz-col",10),t._UZ(17,"nz-statistic",40),t.qZA(),t.TgZ(18,"nz-col",10),t._UZ(19,"nz-statistic",40),t.qZA(),t.TgZ(20,"nz-col",10),t._UZ(21,"nz-statistic",40),t.qZA(),t.qZA()),2&s){const i=t.oxw();t.xp6(2),t.Q6J("nzTitle",i.statsType+" Diseases")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Publications")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Revisions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Contributors")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Comments")("nzValue","--"),t.xp6(3),t.Q6J("nzTitle",i.statsType+" Diseases")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Publications")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Revisions")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Contributors")("nzValue","--"),t.xp6(2),t.Q6J("nzTitle",i.statsType+" Comments")("nzValue","--")}}let Zt=(()=>{class s{constructor(i){this.statsGql=i,this.statsTypes={Total:"allTime",Yearly:"newThisYear",Monthly:"newThisMonth",Weekly:"newThisWeek"},this.statsType="Total"}ngOnInit(){this.statsRef=this.statsGql.watch({}),this.response$=this.statsRef.valueChanges,this.isLoading$=this.response$.pipe((0,p.U)(i=>i.loading)),this.stats$=this.response$.pipe((0,p.U)(i=>i.data.timepointStats))}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(e.UWf))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-site-stats-card"]],decls:7,vars:5,consts:[["nzTitle","Knowledgebase Statistics","nzSize","small",1,"home-card",3,"nzExtra"],["statsRadioGroup",""],[4,"ngIf","ngIfElse"],["isLoading",""],["nzSize","small",3,"ngModel","ngModelChange"],["nz-radio-button","","nzValue","Total"],["nz-radio-button","","nzValue","Weekly"],["nz-radio-button","","nzValue","Monthly"],["nz-radio-button","","nzValue","Yearly"],["nzGutter","8"],["nzFlex","1"],["routerLink","/assertions"],[3,"nzTitle","nzValue","nzPrefix"],["assertionIcon",""],["routerLink","/evidence"],["evidenceIcon",""],["routerLink","/genes"],["geneIcon",""],["routerLink","/variants"],["variantIcon",""],["routerLink","/users"],["userIcon",""],["routerLink","/diseases"],["diseaseIcon",""],["routerLink","/drugs"],["drugIcon",""],["routerLink","/sources"],["sourceIcon",""],["revisionsIcon",""],["commentIcon",""],["nz-icon","","nzType","civic:assertion"],["nz-icon","","nzType","civic:evidence"],["nz-icon","","nzType","civic:gene"],["nz-icon","","nzType","civic:variant"],["nz-icon","","nzType","civic:user"],["nz-icon","","nzType","civic:disease"],["nz-icon","","nzType","civic:intervention"],["nz-icon","","nzType","civic:source"],["nz-icon","","nzType","civic:revision"],["nz-icon","","nzType","civic:comment"],[3,"nzTitle","nzValue"]],template:function(i,r){if(1&i&&(t.TgZ(0,"nz-card",0),t.YNc(1,J,9,1,"ng-template",null,1,t.W1O),t.YNc(3,_t,61,50,"ng-container",2),t.ALo(4,"ngrxPush"),t.YNc(5,St,22,20,"ng-template",null,3,t.W1O),t.qZA()),2&i){const c=t.MAs(2),_=t.MAs(6);t.Q6J("nzExtra",c),t.xp6(3),t.Q6J("ngIf",t.lcZ(4,3,r.stats$))("ngIfElse",_)}},directives:[M.bd,f.Dg,B.JJ,B.On,f.Of,f.Bq,S.O5,v.SK,v.t3,o.yS,$.my,l.w,N.Ls],pipes:[g.fM,S.JJ],styles:["[_nghost-%COMP%]{display:block}.home-card[_ngcontent-%COMP%]{border-radius:8px}"]}),s})();var j=n(3762),rt=n(3618),At=n(2340),Pt=n(3227),st=n(6042),Mt=n(2643),dt=n(685);function Et(s,a){if(1&s&&(t.ynx(0),t._UZ(1,"cvc-event-timeline",9),t.BQk()),2&s){const i=t.oxw().ngIf,r=t.oxw(3);t.xp6(1),t.Q6J("events",i)("tagDisplay",r.tagDisplay)}}function It(s,a){1&s&&(t.ynx(0),t.TgZ(1,"button",10),t._uU(2,"See Full Activity Feed "),t.qZA(),t.BQk())}function Ot(s,a){if(1&s&&(t.ynx(0),t.TgZ(1,"nz-row",2),t.TgZ(2,"nz-col",8),t.YNc(3,Et,2,2,"ng-container",0),t.YNc(4,It,3,0,"ng-container",7),t.ALo(5,"ngrxPush"),t.qZA(),t.qZA(),t.BQk()),2&s){const i=a.ngIf,r=t.oxw(3),c=t.MAs(3);t.xp6(1),t.Q6J("nzGutter",16),t.xp6(2),t.Q6J("ngIf",i.length)("ngIfElse",c),t.xp6(1),t.Q6J("ngIf",t.lcZ(5,4,r.pageInfo$))}}function Nt(s,a){if(1&s&&(t.TgZ(0,"nz-card",6),t.YNc(1,Ot,6,6,"ng-container",7),t.ALo(2,"ngrxPush"),t.qZA()),2&s){const i=t.oxw(2);t.Q6J("nzTitle",void 0),t.xp6(1),t.Q6J("ngIf",t.lcZ(2,2,i.events$))}}function kt(s,a){1&s&&(t.ynx(0),t.TgZ(1,"nz-row",2),t.TgZ(2,"nz-col",3),t.TgZ(3,"nz-space",4),t.YNc(4,Nt,3,4,"nz-card",5),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&s&&(t.xp6(1),t.Q6J("nzGutter",16))}function Dt(s,a){1&s&&t._UZ(0,"nz-empty",11)}let Ut=(()=>{class s{constructor(i){this.gql=i,this.pageSize=15,this.mode=e.wJ2.Unscoped,this.tagDisplay="hideOrg",this.showFilters=!1}ngOnInit(){this.initialQueryVars={first:this.pageSize,mode:this.mode,showFilters:this.showFilters},this.queryRef=At.N.production?this.gql.watch(this.initialQueryVars,{pollInterval:3e4}):this.gql.watch(this.initialQueryVars),this.results$=this.queryRef.valueChanges,this.pageInfo$=this.results$.pipe((0,p.U)(({data:i})=>i.events.pageInfo)),this.events$=this.results$.pipe((0,p.U)(({data:i})=>i.events.edges.map(r=>r.node))),this.unfilteredCount$=this.results$.pipe((0,p.U)(({data:i})=>i.events.unfilteredCount))}}return s.\u0275fac=function(i){return new(i||s)(t.Y36(e.BTF))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-homepage-event-feed"]],inputs:{pageSize:"pageSize"},decls:4,vars:4,consts:[[4,"ngIf","ngIfElse"],["noEvents",""],[3,"nzGutter"],["nzSpan","24"],["nzDirection","vertical",2,"width","100%"],[3,"nzTitle",4,"nzSpaceItem"],[3,"nzTitle"],[4,"ngIf"],["nzSpan","24",1,"timeline"],[3,"events","tagDisplay"],["nz-button","","nzType","default","nzSize","small","nzBlock","","routerLink","/curation/activity"],["nzNotFoundImage","simple","nzNotFoundContent","No Events"]],template:function(i,r){if(1&i&&(t.YNc(0,kt,5,1,"ng-container",0),t.ALo(1,"ngrxPush"),t.YNc(2,Dt,1,0,"ng-template",null,1,t.W1O)),2&i){const c=t.MAs(3);t.Q6J("ngIf",t.lcZ(1,2,r.unfilteredCount$))("ngIfElse",c)}},directives:[S.O5,v.SK,v.t3,u.NU,u.$1,M.bd,Pt.r,st.ix,Mt.dQ,l.w,o.rH,dt.p9],pipes:[g.fM],styles:["[_nghost-%COMP%]{display:block}.timeline[_ngcontent-%COMP%]{padding-top:6px;padding-left:6px}#event-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#event-filters[_ngcontent-%COMP%] #participant-filter[_ngcontent-%COMP%]{width:200px}#event-filters[_ngcontent-%COMP%] #organization-filter[_ngcontent-%COMP%]{width:250px}"]}),s})();function Lt(s,a){1&s&&(t.TgZ(0,"nz-carousel",5),t.TgZ(1,"div",6),t.TgZ(2,"h1"),t._uU(3,"Welcome to CIViC "),t.qZA(),t.TgZ(4,"h2"),t._uU(5," an open-source platform supporting crowdsourced and expert-moderated cancer variant curation. "),t.qZA(),t.qZA(),t.TgZ(6,"div",6),t.TgZ(7,"h1"),t._uU(8," Discover supported clinical interpretations "),t._UZ(9,"br"),t._uU(10," of mutations related to cancer.\n"),t.qZA(),t.qZA(),t.TgZ(11,"div",6),t.TgZ(12,"h1"),t._uU(13," Participate with colleagues "),t._UZ(14,"br"),t._uU(15,"to add variants and support "),t._UZ(16,"br"),t._uU(17,"for cancer-related mutations."),t.qZA(),t.qZA(),t.TgZ(18,"div",6),t.TgZ(19,"h1"),t.TgZ(20,"a",7),t._uU(21,"Become an Editor! "),t._UZ(22,"br"),t._uU(23,"Help moderate updates to CIViC"),t.qZA(),t.qZA(),t.qZA(),t.qZA())}function Jt(s,a){1&s&&(t.TgZ(0,"nz-row"),t.TgZ(1,"nz-col",3),t.TgZ(2,"nz-space",0),t.YNc(3,Lt,24,0,"nz-carousel",4),t.qZA(),t.qZA(),t.qZA()),2&s&&(t.xp6(1),t.Q6J("nzSpan",24))}function Bt(s,a){1&s&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"nz-col",3),t._UZ(2,"cvc-site-stats-card"),t.qZA(),t.qZA()),2&s&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}function Vt(s,a){1&s&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"nz-col",3),t.TgZ(2,"nz-card",9),t.TgZ(3,"nz-list",10),t.TgZ(4,"nz-list-item"),t.TgZ(5,"nz-list-item-meta"),t.TgZ(6,"nz-list-item-meta-title"),t.TgZ(7,"span"),t._uU(8,"Welcome to CIViC 2.0!"),t.qZA(),t._UZ(9,"br"),t.TgZ(10,"span",11),t._uU(11," April 9th, 2022 "),t.qZA(),t.qZA(),t.qZA(),t._uU(12," CIViC 2.0 features a completely redesigned user interface and a more powerful GraphQL API. It provides many new ways to browse the knowledgebase while retaining the CIViC knowledge model you are already familiar with. Furthermore, existing links to CIViC entities will continue to function as before. If you have any questions, comments, or would like help adapting an existing integration to our new API, please email us at "),t.TgZ(13,"a",12),t._uU(14,"help@civicdb.org"),t.qZA(),t._uU(15,". We have also prepared an introductory video tour of the new interface, please "),t.TgZ(16,"a",13),t._uU(17,"check it out"),t.qZA(),t._uU(18,"! "),t.TgZ(19,"nz-list-item-extra",14),t._UZ(20,"iframe",15),t.qZA(),t.qZA(),t.TgZ(21,"nz-list-item"),t.TgZ(22,"nz-list-item-meta"),t.TgZ(23,"nz-list-item-meta-title"),t.TgZ(24,"span"),t._uU(25,"Pediatric Cancer Variants"),t.qZA(),t._UZ(26,"br"),t.TgZ(27,"span",11),t._uU(28," February 12th, 2021 "),t.qZA(),t.qZA(),t.qZA(),t._uU(29," Through support from the Childhood Cancer Data Initiative (CCDI), we have executed our initial phase of highlighting pediatric cancer variant content. This advanced search query displays childhood relevant data contained in CIViC. Stay tuned for more pediatric-focused features as we launch the first open-access searchable childhood-cancer-specific dataset. "),t._UZ(30,"nz-list-item-extra"),t.qZA(),t.TgZ(31,"nz-list-item"),t.TgZ(32,"nz-list-item-meta"),t.TgZ(33,"nz-list-item-meta-title"),t.TgZ(34,"span"),t._uU(35,"Explore CIViC Variants in ProteinPaint"),t.qZA(),t._UZ(36,"br"),t.TgZ(37,"span",11),t._uU(38,"June 29th, 2020"),t.qZA(),t.qZA(),t.qZA(),t._uU(39," St. Jude's ProteinPaint now incorporates a CIViC variant track, displaying CIViC curated data along with a variety of additional sources, and providing one-click access to CIViC's variant summaries. We've also added ProteinPaint links to our gene summaries. "),t.TgZ(40,"nz-list-item-extra"),t._UZ(41,"img",16),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(42,"nz-col",3),t.TgZ(43,"nz-card",17),t._UZ(44,"cvc-homepage-event-feed",18),t.qZA(),t.qZA(),t.qZA()),2&s&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",12),t.xp6(41),t.Q6J("nzSpan",12),t.xp6(2),t.Q6J("pageSize",12))}function Wt(s,a){1&s&&(t.TgZ(0,"nz-row",8),t.TgZ(1,"nz-col",3),t.TgZ(2,"nz-card",19),t.TgZ(3,"p"),t._uU(4,"CIViC is a community-edited forum for discussion and interpretation of peer-reviewed publications pertaining to the clinical relevance of variants (or biomarker alterations) in cancer. These interpretations may include associations between molecular alterations (or lack of alteration) and one or more drugs, diagnoses, prognoses or other treatment decisions. These interpretations of clinical significance (or lack of clinical significance) are purely for research purposes. A finding of no interpretation does not necessarily indicate lack of relevance for any specific variant or biomarker alteration. Interpretations are not presented in ranked order of potential or predicted importance.These interpretations make no promise or guarantee of any clinical benefit (or lack of clinical benefit)."),t.qZA(),t.TgZ(5,"p"),t._uU(6,"The civicdb.org website does not provide any medical or healthcare products, services or advice, and is not for medical emergencies or urgent situations. "),t.TgZ(7,"strong"),t._uU(8,"IF YOU THINK YOU MAY HAVE A MEDICAL EMERGENCY, CALL YOUR DOCTOR OR 911 IMMEDIATELY"),t.qZA(),t._uU(9,". Information contained on this website is not a substitute for a doctor's medical judgment or advice. We recommend that you discuss your specific, individual health concerns with your doctor or health care professional."),t.qZA(),t.qZA(),t.qZA(),t.qZA()),2&s&&(t.Q6J("nzGutter",16),t.xp6(1),t.Q6J("nzSpan",24))}const wt=[{path:"",component:(()=>{class s{constructor(){this.feedMode=e.wJ2.Unscoped}ngOnInit(){}}return s.\u0275fac=function(i){return new(i||s)},s.\u0275cmp=t.Xpm({type:s,selectors:[["app-welcome"]],decls:5,vars:0,consts:[["nzDirection","vertical","nzSize","middle",1,"space-container"],[4,"nzSpaceItem"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzSpan"],["nzAutoPlay","","nzAutoPlaySpeed","10000",4,"nzSpaceItem"],["nzAutoPlay","","nzAutoPlaySpeed","10000"],["nz-carousel-content",""],["href","https://civic.readthedocs.io/en/latest/curating/editor.html","target","_blank",1,"header-link"],[3,"nzGutter"],["nzTitle","News & Events","nzSize","small",1,"home-card",2,"height","100%"],["nzItemLayout","vertical"],["nz-typography","","nzType","secondary"],["href","mailto:help@civicdb.org"],["href","https://www.youtube.com/watch?v=bpVkSP7qvgc","target","_blank"],[2,"padding-top","30px"],["width","250","src","https://www.youtube.com/embed/bpVkSP7qvgc","title","YouTube video player","frameborder","0","allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture","allowfullscreen",""],["width","150","alt","logo","src","https://civicdb.org/assets/images/partners/protein-paint-integration.png"],["nzTitle","Live Curation Activity","nzSize","small",1,"home-card",2,"min-height","600px"],[3,"pageSize"],["nzTitle","Medical Disclaimer: This resource is intended for purely research purposes. It should not be used for emergencies or medical or professional advice.","nzSize","small",1,"home-card"]],template:function(i,r){1&i&&(t.TgZ(0,"nz-space",0),t.YNc(1,Jt,4,1,"nz-row",1),t.YNc(2,Bt,3,2,"nz-row",2),t.YNc(3,Vt,45,4,"nz-row",2),t.YNc(4,Wt,10,2,"nz-row",2),t.qZA())},directives:[u.NU,u.$1,v.SK,v.t3,nt,k,Zt,M.bd,j.n_,j.AA,j.yi,j.IO,rt.ZU,j.yw,Ut],styles:["[_nghost-%COMP%]{display:block}.space-container[_ngcontent-%COMP%]{display:block}.ant-carousel[_ngcontent-%COMP%]{border:1px solid #3e5166;border-radius:8px;height:200px;background-color:#001529}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%]{padding-top:3em;padding-left:3em;height:200px;background-color:#2e143e;overflow:hidden;color:#fff}.ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .ant-carousel[_ngcontent-%COMP%] [nz-carousel-content][_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:#fff}.home-card[_ngcontent-%COMP%]{border-radius:8px}.header-link[_ngcontent-%COMP%]{color:#fff}"]}),s})()}];let Qt=(()=>{class s{}return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[o.Bz.forChild(wt)],o.Bz]}),s})();var ht=n(5109),Ft=n(6559);let Yt=(()=>{class s{}return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[S.ez,B.u5,o.Bz,g.WG,$.A2,v.Jb,M.vh,f.aF,st.sL,Ft.H0,rt.ZJ,N.PV,ht.s]]}),s})();var $t=n(4546),Rt=n(6462),jt=n(8054),Ht=n(3884),mt=n(9444),Gt=n(1150),Xt=n(6699);let Kt=(()=>{class s{}return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[S.ez,B.u5,g.WG,o.Bz,st.sL,M.vh,N.PV,$t.U5,jt.LV,Rt.m,v.Jb,u.zf,dt.Xo,Xt.Rt,Ht.m,mt.s,Gt.N,mt.s]]}),s})(),bt=(()=>{class s{}return s.\u0275fac=function(i){return new(i||s)},s.\u0275mod=t.oAB({type:s}),s.\u0275inj=t.cJS({imports:[[S.ez,B.u5,g.WG,st.sL,v.Jb,et,M.vh,j.Ph,f.aF,u.zf,$.A2,rt.ZJ,Qt,Yt,Kt,ht.s]]}),s})()},6559:(V,I,n)=>{n.d(I,{H0:()=>W});var o=n(5e3),e=n(9808),t=n(226);let W=(()=>{class Z{}return Z.\u0275fac=function(d){return new(d||Z)},Z.\u0275mod=o.oAB({type:Z}),Z.\u0275inj=o.cJS({imports:[[t.vT,e.ez]]}),Z})()}}]);
\ No newline at end of file
diff --git a/server/public/6519.1d5c16c3070e7e7b.js b/server/public/6519.1d5c16c3070e7e7b.js
deleted file mode 100644
index 1cae441e8..000000000
--- a/server/public/6519.1d5c16c3070e7e7b.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6519],{7946:(J,Z,a)=>{a.d(Z,{x:()=>v});var p=a(9808),t=a(897),m=a(8481),C=a(3610),n=a(8018),P=a(3580),I=a(9476),h=a(5e3);let v=(()=>{class _{}return _.\u0275fac=function(b){return new(b||_)},_.\u0275mod=h.oAB({type:_}),_.\u0275inj=h.cJS({imports:[[p.ez,m.X,C.$6,t.$,n.e,P.Q,I.L]]}),_})()},8664:(J,Z,a)=>{a.d(Z,{I:()=>k});var p=a(6654),t=a(5e3),m=a(9808),C=a(325),n=a(8481),P=a(3610),I=a(4850),h=a(712),v=a(7484),_=a(647),T=a(3193),b=a(3098),O=a(6550),A=a(1894),S=a(8144),g=a(6949);function z(o,s){if(1&o&&(t._UZ(0,"i",13),t._uU(1)),2&o){const l=t.oxw().ngIf;t.xp6(1),t.hij(" ",l.name," ")}}function M(o,s){if(1&o&&t._UZ(0,"cvc-gene-tag",14),2&o){const l=t.oxw().ngIf;t.Q6J("enablePopover",!1)("gene",l.gene)}}function N(o,s){1&o&&(t.TgZ(0,"span"),t._uU(1,",\xa0"),t.qZA())}function D(o,s){if(1&o&&(t.TgZ(0,"span"),t._uU(1),t.YNc(2,N,2,0,"span",1),t.qZA()),2&o){const l=s.$implicit,d=s.last;t.xp6(1),t.hij(" ",l,""),t.xp6(1),t.Q6J("ngIf",!d)}}function E(o,s){if(1&o&&(t.TgZ(0,"nz-descriptions-item",15),t.YNc(1,D,3,2,"span",16),t.qZA()),2&o){const l=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",l.variantAliases)}}function V(o,s){if(1&o&&(t.TgZ(0,"nz-descriptions-item",17),t.TgZ(1,"cvc-link-tag",18),t._uU(2),t.qZA(),t.qZA()),2&o){const l=t.oxw().ngIf;t.xp6(1),t.MGl("href","https://reg.genome.network/allele/",l.alleleRegistryId,".html"),t.xp6(1),t.hij(" ",l.alleleRegistryId," ")}}function F(o,s){if(1&o&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",20),t._UZ(2,"i",21),t._uU(3),t.qZA(),t.qZA()),2&o){const l=t.oxw().ngIf;t.MGl("routerLink","/variants/",l.id,"/flags"),t.xp6(3),t.hij(" Flags (",l.flags.totalCount,") ")}}function U(o,s){if(1&o&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",22),t._UZ(2,"i",23),t._uU(3),t.qZA(),t.qZA()),2&o){const l=t.oxw().ngIf;t.MGl("routerLink","/variants/",l.id,"/revisions"),t.xp6(3),t.hij(" Revisions (",l.revisions.totalCount,") ")}}function x(o,s){if(1&o&&(t.TgZ(0,"a",19),t.TgZ(1,"nz-tag",24),t._UZ(2,"i",25),t._uU(3),t.qZA(),t.qZA()),2&o){const l=t.oxw().ngIf;t.MGl("routerLink","/variants/",l.id,"/comments"),t.xp6(3),t.hij(" Comments (",l.comments.totalCount,") ")}}function Q(o,s){if(1&o&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,z,2,1,"ng-template",null,3,t.W1O),t.YNc(4,M,1,2,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5),t.YNc(7,E,2,1,"nz-descriptions-item",6),t.YNc(8,V,3,2,"nz-descriptions-item",7),t.TgZ(9,"nz-descriptions-item",8),t._uU(10),t.qZA(),t.qZA(),t.TgZ(11,"nz-row",9),t.TgZ(12,"nz-col",10),t.TgZ(13,"nz-space",11),t.YNc(14,F,4,2,"a",12),t.YNc(15,U,4,2,"a",12),t.YNc(16,x,4,2,"a",12),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&o){const l=s.ngIf,d=t.MAs(3),y=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",d)("nzExtra",y),t.xp6(5),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",l.variantAliases.length>0),t.xp6(1),t.Q6J("ngIf",l.alleleRegistryId),t.xp6(2),t.hij(" ",l.evidenceItems.totalCount," ")}}let Y=(()=>{class o{constructor(l){this.gql=l}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,I.U)(({data:l})=>l.variant))}}return o.\u0275fac=function(l){return new(l||o)(t.Y36(h.ZYZ))},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(l,d){1&l&&(t.TgZ(0,"div",0),t.YNc(1,Q,17,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&l&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,d.variant$)))},directives:[m.O5,v.bd,_.Ls,T.H,b.R7,b.uj,m.sg,O.l,A.SK,A.t3,S.NU,S.$1,C.yS,n.j],pipes:[g.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),o})();function L(o,s){}function j(o,s){if(1&o&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,L,0,0,"ng-template",6),t.qZA(),t.BQk()),2&o){const l=t.oxw(),d=t.MAs(2);t.xp6(1),t.Q6J("routerLink",l.variant.link),t.xp6(1),t.Q6J("ngTemplateOutlet",d)}}function B(o,s){}function R(o,s){if(1&o){const l=t.EpF();t.TgZ(0,"nz-tag",9),t.NdJ("nzOnClose",function(y){return t.CHM(l),t.oxw(2).itemClosed(y)}),t.YNc(1,B,0,0,"ng-template",6),t.qZA()}if(2&o){t.oxw();const l=t.MAs(2),d=t.oxw(),y=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",d.onCloseClicked?0:.5)("nzPopoverContent",l)("nzMode",d.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",y)}}function w(o,s){if(1&o&&t._UZ(0,"cvc-variant-popover",11),2&o){const l=t.oxw(3);t.Q6J("variantId",l.variant.id)}}function W(o,s){if(1&o&&t.YNc(0,w,1,1,"cvc-variant-popover",10),2&o){const l=t.oxw(2);t.Q6J("ngIf",l.enablePopover)}}function $(o,s){if(1&o&&(t.YNc(0,R,2,4,"nz-tag",7),t.YNc(1,W,1,1,"ng-template",null,8,t.W1O)),2&o){const l=t.oxw(),d=t.MAs(4);t.Q6J("ngIf",l.enablePopover)("ngIfElse",d)}}function K(o,s){}function H(o,s){if(1&o){const l=t.EpF();t.TgZ(0,"nz-tag",12),t.NdJ("nzOnClose",function(y){return t.CHM(l),t.oxw().itemClosed(y)}),t.YNc(1,K,0,0,"ng-template",6),t.qZA()}if(2&o){const l=t.oxw(),d=t.MAs(8);t.Q6J("nzMode",l.onCloseClicked?"closeable":"default"),t.xp6(1),t.Q6J("ngTemplateOutlet",d)}}function X(o,s){}function q(o,s){if(1&o&&t.YNc(0,X,0,0,"ng-template",6),2&o){t.oxw();const l=t.MAs(2);t.Q6J("ngTemplateOutlet",l)}}function G(o,s){if(1&o&&(t._UZ(0,"i",13),t._uU(1)),2&o){const l=t.oxw();t.xp6(1),t.hij(" ",l.variant.name,"\n")}}let k=(()=>{class o extends p.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return o.\u0275fac=function(l){return new(l||o)},o.\u0275cmp=t.Xpm({type:o,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[t.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(l,d){if(1&l&&(t.YNc(0,j,3,2,"ng-container",0),t.YNc(1,$,3,2,"ng-template",null,1,t.W1O),t.YNc(3,H,2,2,"ng-template",null,2,t.W1O),t.YNc(5,q,1,1,"ng-template",null,3,t.W1O),t.YNc(7,G,2,1,"ng-template",null,4,t.W1O)),2&l){const y=t.MAs(6);t.Q6J("ngIf",d.linked)("ngIfElse",y)}},directives:[m.O5,C.yS,m.tP,n.j,P.lU,Y,_.Ls],styles:[""]}),o})()},4867:(J,Z,a)=>{a.d(Z,{Q:()=>S});var p=a(9808),t=a(325),m=a(8481),C=a(647),n=a(3610),P=a(6949),I=a(7484),h=a(1894),v=a(3098),_=a(8144),T=a(3309),b=a(3630),O=a(5e3);let A=(()=>{class g{}return g.\u0275fac=function(M){return new(M||g)},g.\u0275mod=O.oAB({type:g}),g.\u0275inj=O.cJS({imports:[[p.ez,t.Bz,P.WG,I.vh,h.Jb,v.q6,m.X,C.PV,_.zf,T.U,b.X]]}),g})(),S=(()=>{class g{}return g.\u0275fac=function(M){return new(M||g)},g.\u0275mod=O.oAB({type:g}),g.\u0275inj=O.cJS({imports:[[p.ez,t.Bz,m.X,n.$6,C.PV,A]]}),g})()},3154:(J,Z,a)=>{a.d(Z,{_:()=>t});var p=a(712);function t(m){var C;switch(m.value){case"ascend":C=p.SrV.Asc;break;case"descend":C=p.SrV.Desc;break;default:return}return{column:m.key,direction:C}}},1838:(J,Z,a)=>{a.r(Z),a.d(Z,{ClinicalTrialsModule:()=>_n});var p=a(9808),t=a(325),m=a(373),C=a(1059),n=a(5e3),P=a(712),I=a(8992),h=a(1945),v=a(647),_=a(6550),T=a(6949);function b(e,r){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"nz-page-header",2),n.TgZ(3,"nz-page-header-title"),n._UZ(4,"i",3),n._uU(5),n.qZA(),n.TgZ(6,"nz-page-header-extra"),n.TgZ(7,"cvc-link-tag",4),n._uU(8),n.qZA(),n.qZA(),n.TgZ(9,"nz-page-header-content"),n.TgZ(10,"div",5),n._uU(11),n._UZ(12,"router-outlet"),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&e){const i=r.ngIf;n.xp6(1),n.Q6J("displayName",i.nctId),n.xp6(4),n.hij(" ",i.name," "),n.xp6(2),n.Q6J("href",i.url),n.xp6(1),n.hij(" ",i.nctId," "),n.xp6(3),n.hij(" ",i.description," ")}}let O=(()=>{class e{constructor(i,c){this.route=i,this.gql=c,this.routeSub=this.route.params.subscribe(u=>{this.clinicalTrialId=+u.clinicalTrialId,this.queryRef=this.gql.watch({clinicalTrialId:this.clinicalTrialId});let f=this.queryRef.valueChanges;this.loading$=f.pipe((0,m.j)("loading"),(0,C.O)(!0)),this.clinicalTrial$=f.pipe((0,m.j)("data","clinicalTrial"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(i){return new(i||e)(n.Y36(t.gz),n.Y36(P.cMj))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-clinical-trials-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["nz-icon","","nzType","audit"],["tooltip","View on clinicaltrials.gov",3,"href"],[1,"content"]],template:function(i,c){1&i&&(n.YNc(0,b,13,5,"ng-container",0),n.ALo(1,"ngrxPush")),2&i&&n.Q6J("ngIf",n.lcZ(1,1,c.clinicalTrial$))},directives:[p.O5,I.I,h.$O,h.u9,v.Ls,h.Jp,_.l,h.u5,t.lC],pipes:[T.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var A=a(1894),S=a(2683),g=a(3618),z=a(8144),M=a(6042),N=a(3154),D=a(8929),E=a(4850),V=a(2986),F=a(13),U=a(7484),x=a(1132),Q=a(404),Y=a(2166),L=a(4049),j=a(2643);function B(e,r){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._UZ(2,"cvc-clinical-trial-tag",15),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA(),n.TgZ(7,"td"),n._uU(8),n.qZA(),n.qZA()),2&e){const i=r.$implicit;n.xp6(2),n.Q6J("clinicalTrial",i),n.xp6(2),n.hij(" ",i.name," "),n.xp6(2),n.hij(" ",i.sourceCount," "),n.xp6(2),n.hij(" ",i.evidenceCount," ")}}function R(e,r){if(1&e){const i=n.EpF();n.TgZ(0,"button",19),n.NdJ("click",function(){n.CHM(i);const u=n.oxw(2).ngrxLet;return n.oxw().loadMore(u.endCursor)}),n._uU(1),n.qZA()}if(2&e){const i=n.oxw(3);n.xp6(1),n.hij("Load ",i.initialPageSize," More")}}function w(e,r){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td",17),n.YNc(2,R,2,1,"button",18),n.qZA(),n.qZA()),2&e){const i=n.oxw().ngrxLet;n.xp6(2),n.Q6J("ngIf",i.hasNextPage)}}function W(e,r){if(1&e&&(n.ynx(0),n.YNc(1,w,3,1,"tr",16),n.BQk()),2&e){const i=r.ngrxLet;n.xp6(1),n.Q6J("ngIf",i.hasNextPage)}}function $(e,r){}function K(e,r){if(1&e&&(n.ynx(0),n.YNc(1,$,0,0,"ng-template",23),n.BQk()),2&e){const i=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",i.cvcTitleTemplate)}}function H(e,r){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const i=n.oxw(2);n.xp6(1),n.hij(" ",i.cvcTitle," ")}}function X(e,r){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const i=n.oxw().ngIf;n.xp6(1),n.hij(" of ",i," filtered")}}function q(e,r){if(1&e&&(n.TgZ(0,"span",24),n._uU(1),n.YNc(2,X,2,1,"span",16),n._uU(3,") "),n.qZA()),2&e){const i=r.ngIf,c=n.oxw(2);n.xp6(1),n.AsE(" (",c.totalCount," total, showing ",c.visibleCount,""),n.xp6(1),n.Q6J("ngIf",c.totalCount&&i{class e{constructor(i){this.gql=i,this.initialPageSize=25,this.debouncedQuery=new D.xQ,this.visibleCount=this.initialPageSize,this.sortColumns=P.E8d,this.loadedPages=1,this.queryRef=this.gql.watch({first:this.initialPageSize});let c=this.queryRef.valueChanges;this.clinicalTrials$=c.pipe((0,m.j)("data","clinicalTrials","edges"),(0,E.U)(u=>u.map(f=>f.node))),this.isLoading$=c.pipe((0,m.j)("loading"),(0,C.O)(!0)),this.filteredCount$=c.pipe((0,m.j)("data","clinicalTrials","filteredCount")),this.filteredCount$.pipe((0,V.q)(1)).subscribe(u=>this.totalCount=u),this.filteredCount$.subscribe(u=>{uu&&(this.visibleCount=u))}),this.pageInfo$=c.pipe((0,m.j)("data","clinicalTrials","pageInfo")),this.debouncedQuery.pipe((0,F.b)(500)).subscribe(u=>this.refresh()),this.textInputCallback=()=>{this.debouncedQuery.next()}}onModelChanged(){this.debouncedQuery.next()}onSortChanged(i){this.loadedPages=1,this.queryRef.refetch({sortBy:(0,N._)(i)})}refresh(){this.loadedPages=1,this.queryRef.refetch({name:this.nameFilter,nctId:this.nctIdFilter})}ngOnDestroy(){this.debouncedQuery.unsubscribe()}loadMore(i){this.queryRef.fetchMore({variables:{after:i}}),this.loadedPages+=1}}return e.\u0275fac=function(i){return new(i||e)(n.Y36(P.P_b))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-clinical-trials-table"]],inputs:{cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:27,vars:27,consts:[[3,"nzTitle"],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["clinicalTrialsTable",""],[3,"nzSortOrderChange"],["nzWidth","15%",3,"nzColumnKey","nzSortFn"],["nzWidth","65%",3,"nzColumnKey","nzSortFn"],["nzWidth","10%","nzRight","","nz-tooltip","","nzTooltipTitle","Source Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:source"],["nzWidth","10%","nzRight","","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:evidence"],["placeholderText","Search NCT ID",3,"inputModel","onInputChanged","inputModelChange"],["placeholderText","Search Name",3,"inputModel","onInputChanged","inputModelChange"],[4,"ngFor","ngForOf"],[4,"ngrxLet"],["titleTemplate",""],[3,"clinicalTrial"],[4,"ngIf"],["colspan","4"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],["nz-icon","","nzType","audit"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(i,c){if(1&i&&(n.TgZ(0,"nz-card",0),n.TgZ(1,"nz-table",1,2),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.TgZ(5,"thead",3),n.NdJ("nzSortOrderChange",function(f){return c.onSortChanged(f)}),n.TgZ(6,"tr"),n.TgZ(7,"th",4),n._uU(8," NCT ID "),n.qZA(),n.TgZ(9,"th",5),n._uU(10," Name "),n.qZA(),n.TgZ(11,"th",6),n._UZ(12,"i",7),n.qZA(),n.TgZ(13,"th",8),n._UZ(14,"i",9),n.qZA(),n.qZA(),n.TgZ(15,"tr"),n.TgZ(16,"th"),n.TgZ(17,"cvc-clearable-input-filter",10),n.NdJ("inputModelChange",function(f){return c.nctIdFilter=f}),n.qZA(),n.qZA(),n.TgZ(18,"th"),n.TgZ(19,"cvc-clearable-input-filter",11),n.NdJ("inputModelChange",function(f){return c.nameFilter=f}),n.qZA(),n.qZA(),n._UZ(20,"th"),n._UZ(21,"th"),n.qZA(),n.qZA(),n.TgZ(22,"tbody"),n.YNc(23,B,9,4,"tr",12),n.YNc(24,W,2,1,"ng-container",13),n.qZA(),n.qZA(),n.qZA(),n.YNc(25,k,7,6,"ng-template",null,14,n.W1O)),2&i){const u=n.MAs(2),f=n.MAs(26);n.Q6J("nzTitle",f),n.xp6(1),n.Q6J("nzData",n.lcZ(3,21,c.clinicalTrials$))("nzLoading",n.lcZ(4,23,c.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(6),n.Q6J("nzColumnKey",c.sortColumns.NctId)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",c.sortColumns.Name)("nzSortFn",!0),n.xp6(2),n.Q6J("nzColumnKey",c.sortColumns.SourceCount)("nzSortFn",!0)("nzSortDirections",n.DdM(25,o)),n.xp6(2),n.Q6J("nzColumnKey",c.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(26,o)),n.xp6(4),n.Q6J("inputModel",c.nctIdFilter)("onInputChanged",c.textInputCallback),n.xp6(2),n.Q6J("inputModel",c.nameFilter)("onInputChanged",c.textInputCallback),n.xp6(4),n.Q6J("ngForOf",u.data),n.xp6(1),n.Q6J("ngrxLet",c.pageInfo$)}},directives:[U.bd,x.N8,x.Om,x.$Z,x.Uo,x._C,x.qD,x.qn,Q.SY,S.w,v.Ls,Y.p,x.p0,p.sg,L.G,T.eJ,p.O5,M.ix,j.dQ,p.tP,g.ZU],pipes:[T.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),e})();function l(e,r){1&e&&(n.TgZ(0,"a",13),n._UZ(1,"i",14),n._uU(2," View Clinical Trial Docs "),n.qZA())}let d=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["clinical-trials-home"]],decls:18,vars:2,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","audit"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/clinical_trial.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Clinical Trials"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/clinical_trial.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"]],template:function(i,c){1&i&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0),n.TgZ(2,"nz-page-header-content"),n.TgZ(3,"nz-row",1),n.TgZ(4,"nz-col",2),n._UZ(5,"i",3),n.qZA(),n.TgZ(6,"nz-col",4),n.TgZ(7,"h2"),n._uU(8,"Clinical Trials"),n.qZA(),n.TgZ(9,"p",5),n._uU(10," CIViC automatically associates a Clinical Trial to an Evidence Item if its associated Source's PubMed record provides a clinical trial ID. This ID is not directly curatable. "),n.qZA(),n.qZA(),n.TgZ(11,"nz-col",6),n.TgZ(12,"nz-space",7),n.YNc(13,l,3,0,"a",8),n.qZA(),n.qZA(),n.qZA(),n.TgZ(14,"div",9),n.TgZ(15,"div",10),n.TgZ(16,"div",11),n._UZ(17,"cvc-clinical-trials-table",12),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&i&&(n.xp6(9),n.Q6J("nzEllipsisRows",2),n.xp6(6),n.Q6J("nzSpan",24))},directives:[I.I,h.$O,h.u5,A.SK,A.t3,v.Ls,S.w,g.ZU,z.NU,z.$1,M.ix,s],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var y=a(3575),nn=a(8965);function en(e,r){if(1&e&&n._UZ(0,"cvc-sources-table",4),2&e){const i=n.oxw(2);n.Q6J("clinicalTrialId",i.clinicalTrialId)}}function an(e,r){if(1&e&&n._UZ(0,"cvc-evidence-table",5),2&e){const i=n.oxw(2);n.Q6J("clinicalTrialId",i.clinicalTrialId)}}function on(e,r){1&e&&(n.TgZ(0,"nz-space",1),n.YNc(1,en,1,1,"cvc-sources-table",2),n.YNc(2,an,1,1,"cvc-evidence-table",3),n.qZA())}const ln=[{path:"",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-clinical-trials"]],decls:1,vars:0,template:function(i,c){1&i&&n._UZ(0,"router-outlet")},directives:[t.lC],styles:[""]}),e})(),children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:d,data:{breadcrumb:"Home"}},{path:":clinicalTrialId",component:O,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class e{constructor(i){this.route=i,this.routeSub=this.route.params.subscribe(c=>{this.clinicalTrialId=+c.clinicalTrialId})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(i){return new(i||e)(n.Y36(t.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-clinical-trials-summary"]],decls:1,vars:1,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],["cvcTitle","Clinical Trial Sources",3,"clinicalTrialId",4,"nzSpaceItem"],["cvcTitle","Clinical Trial Evidence",3,"clinicalTrialId",4,"nzSpaceItem"],["cvcTitle","Clinical Trial Sources",3,"clinicalTrialId"],["cvcTitle","Clinical Trial Evidence",3,"clinicalTrialId"]],template:function(i,c){1&i&&n.YNc(0,on,3,0,"nz-space",0),2&i&&n.Q6J("ngIf",c.clinicalTrialId)},directives:[p.O5,z.NU,z.$1,y.d,nn.a],styles:["[_nghost-%COMP%]{display:block}"]}),e})(),data:{breadcrumb:"Summary"}}]}]}];let rn=(()=>{class e{}return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.Bz.forChild(ln)],t.Bz]}),e})();var cn=a(4125),sn=a(5453);let pn=(()=>{class e{}return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[p.ez,T.WG,x.HQ,M.sL,U.vh,v.PV,g.ZJ,Q.cg,cn.k,sn.N]]}),e})();var tn=a(5630);let gn=(()=>{class e{}return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[p.ez,T.WG,A.Jb,h.KJ,v.PV,M.sL,g.ZJ,z.zf,pn,tn.D]]}),e})();var dn=a(3630);let mn=(()=>{class e{}return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[p.ez,t.Bz,T.WG,h.KJ,v.PV,dn.X,tn.D]]}),e})();var un=a(767),hn=a(7279);let Cn=(()=>{class e{}return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[p.ez,z.zf,un.Q,hn.h]]}),e})(),_n=(()=>{class e{}return e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[p.ez,rn,gn,mn,Cn]]}),e})()}}]);
\ No newline at end of file
diff --git a/server/public/6724.28fb476550103940.js b/server/public/6724.28fb476550103940.js
new file mode 100644
index 000000000..9c8599984
--- /dev/null
+++ b/server/public/6724.28fb476550103940.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6724],{2322:(f,T,t)=>{t.d(T,{C:()=>p});var o=t(9808),n=t(7484),u=t(3762),d=t(1894),C=t(8144),z=t(8481),E=t(9444),P=t(5e3);let p=(()=>{class v{}return v.\u0275fac=function(m){return new(m||v)},v.\u0275mod=P.oAB({type:v}),v.\u0275inj=P.cJS({imports:[[o.ez,n.vh,u.Ph,d.Jb,z.X,C.zf,E.s]]}),v})()},7488:(f,T,t)=>{t.d(T,{y:()=>h});var o=t(9808),n=t(8481),u=t(647),d=t(325),C=t(9444),z=t(6949),E=t(7345),P=t(8369),p=t(209),v=t(4867),a=t(8625),m=t(7484),i=t(1894),l=t(3309),O=t(7026),D=t(7677),U=t(592),x=t(8144),A=t(3098),_=t(2322),c=t(5e3);let s=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[o.ez,z.WG,m.vh,i.Jb,u.PV,x.zf,A.q6,l.U,E.W,P.W,p.i,v.Q,D.G,U.x,_.C,a.$L.forChild({formatter:{useClass:O.x,provide:a.KP}})]]}),e})();var M=t(3610);let h=(()=>{class e{}return e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=c.oAB({type:e}),e.\u0275inj=c.cJS({imports:[[o.ez,d.Bz,C.s,s,n.X,u.PV,M.$6]]}),e})()},6265:(f,T,t)=>{t.d(T,{q:()=>h});var o=t(4850),n=t(5e3),u=t(712),d=t(9808),C=t(7484),z=t(7881),E=t(1894),P=t(3098),p=t(6715),v=t(5749),a=t(5737),m=t(6949);const i=["additionalMetadata"];function l(e,g){if(1&e&&(n._UZ(0,"cvc-user-avatar",14),n.TgZ(1,"span",15),n._uU(2),n.qZA()),2&e){const r=n.oxw().ngIf;n.Q6J("user",r),n.xp6(2),n.Oqu(r.displayName)}}function O(e,g){if(1&e&&(n._UZ(0,"i",16),n._uU(1),n.ALo(2,"titlecase")),2&e){const r=n.oxw().ngIf;n.xp6(1),n.hij(" ",n.lcZ(2,1,r.role)," ")}}function D(e,g){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const r=g.ngIf;n.xp6(1),n.Oqu(r)}}function U(e,g){if(1&e&&n._UZ(0,"cvc-organization-tag",18),2&e){const r=g.$implicit;n.Q6J("enablePopover",!1)("org",r)}}function x(e,g){if(1&e&&(n.TgZ(0,"cvc-tag-list"),n.YNc(1,U,1,2,"cvc-organization-tag",17),n.qZA()),2&e){const r=n.oxw().ngIf;n.xp6(1),n.Q6J("ngForOf",r.organizations)}}function A(e,g){1&e&&n._UZ(0,"nz-divider")}const _=function(e){return{$implicit:e}};function c(e,g){if(1&e&&(n.ynx(0),n._UZ(1,"nz-card",4),n.YNc(2,l,3,2,"ng-template",null,5,n.W1O),n.YNc(4,O,3,3,"ng-template",null,6,n.W1O),n.TgZ(6,"nz-row"),n.TgZ(7,"nz-col",7),n.TgZ(8,"div",8),n.TgZ(9,"p",9),n.YNc(10,D,2,1,"span",10),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(11,"nz-row"),n.TgZ(12,"nz-col",7),n.TgZ(13,"nz-descriptions",11),n.TgZ(14,"nz-descriptions-item",12),n.YNc(15,x,2,1,"cvc-tag-list",10),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.TgZ(16,"nz-row"),n.YNc(17,A,1,0,"nz-divider",1),n.GkF(18,13),n.qZA(),n.BQk()),2&e){const r=g.ngIf,I=n.MAs(3),B=n.MAs(5),R=n.oxw(),W=n.MAs(4),y=n.MAs(6);n.xp6(1),n.Q6J("nzTitle",I)("nzExtra",B),n.xp6(9),n.Q6J("ngIf",r.bio)("ngIfElse",W),n.xp6(3),n.Q6J("nzColumn",2),n.xp6(2),n.Q6J("ngIf",r.organizations.length>0)("ngIfElse",y),n.xp6(2),n.Q6J("ngIf",R.metadataTemplateRef),n.xp6(1),n.Q6J("ngTemplateOutlet",R.metadataTemplateRef||null)("ngTemplateOutletContext",n.VKq(10,_,r))}}function s(e,g){1&e&&n._uU(0," User has not provided a biography.\n")}function M(e,g){1&e&&(n.TgZ(0,"span",19),n._uU(1,"--"),n.qZA())}let h=(()=>{class e{constructor(r){this.gql=r}ngOnInit(){if(null==this.userId)throw new Error("Must pass an id into user hovercard");this.user$=this.gql.watch({userId:this.userId}).valueChanges.pipe((0,o.U)(({data:r})=>r.user))}}return e.\u0275fac=function(r){return new(r||e)(n.Y36(u.cEv))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-user-popover"]],contentQueries:function(r,I,B){if(1&r&&n.Suo(B,i,5),2&r){let R;n.iGM(R=n.CRH())&&(I.metadataTemplateRef=R.first)}},inputs:{userId:"userId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noBio",""],["noOrganizations",""],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Organizations"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],["nz-icon","","nzType","civic-admin"],[3,"enablePopover","org",4,"ngFor","ngForOf"],[3,"enablePopover","org"],["nz-typography","","nzStyle","secondary"]],template:function(r,I){1&r&&(n.TgZ(0,"div",0),n.YNc(1,c,19,12,"ng-container",1),n.ALo(2,"ngrxPush"),n.qZA(),n.YNc(3,s,1,0,"ng-template",null,2,n.W1O),n.YNc(5,M,2,0,"ng-template",null,3,n.W1O)),2&r&&(n.xp6(1),n.Q6J("ngIf",n.lcZ(2,1,I.user$)))},directives:[d.O5,C.bd,z.L,E.SK,E.t3,P.R7,P.uj,p.$,d.sg,v.m,a.g,d.tP],pipes:[m.fM,d.rS],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.display-name[_ngcontent-%COMP%]{margin-left:8px;font-weight:400}"]}),e})()},6081:(f,T,t)=>{t.d(T,{J:()=>m});var o=t(9808),n=t(3630),u=t(3098),d=t(7484),C=t(6949),z=t(897),E=t(9476),P=t(5473),p=t(5737),v=t(1894),a=t(5e3);let m=(()=>{class i{}return i.\u0275fac=function(O){return new(O||i)},i.\u0275mod=a.oAB({type:i}),i.\u0275inj=a.cJS({imports:[[o.ez,C.WG,v.Jb,d.vh,u.q6,p.S,n.X,z.$,E.L,P.H]]}),i})()},125:(f,T,t)=>{t.d(T,{I:()=>A});var o=t(5e3),n=t(9808),u=t(325),d=t(8481),C=t(3610),z=t(6265),E=t(647);function P(_,c){}function p(_,c){if(1&_&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,P,0,0,"ng-template",6),o.qZA(),o.BQk()),2&_){const s=o.oxw(),M=o.MAs(2);o.xp6(1),o.MGl("routerLink","/users/",s.user.id,""),o.xp6(1),o.Q6J("ngTemplateOutlet",M)}}function v(_,c){}function a(_,c){if(1&_&&(o.TgZ(0,"nz-tag",9),o.YNc(1,v,0,0,"ng-template",6),o.qZA()),2&_){o.oxw();const s=o.MAs(2);o.oxw();const M=o.MAs(8);o.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",s),o.xp6(1),o.Q6J("ngTemplateOutlet",M)}}function m(_,c){if(1&_&&o._UZ(0,"cvc-user-popover",10),2&_){const s=o.oxw(2);o.Q6J("userId",s.user.id)}}function i(_,c){if(1&_&&(o.YNc(0,a,2,3,"nz-tag",7),o.YNc(1,m,1,1,"ng-template",null,8,o.W1O)),2&_){const s=o.oxw(),M=o.MAs(4);o.Q6J("ngIf",s.enablePopover)("ngIfElse",M)}}function l(_,c){}function O(_,c){if(1&_&&(o.TgZ(0,"nz-tag"),o.YNc(1,l,0,0,"ng-template",6),o.qZA()),2&_){o.oxw();const s=o.MAs(8);o.xp6(1),o.Q6J("ngTemplateOutlet",s)}}function D(_,c){}function U(_,c){if(1&_&&o.YNc(0,D,0,0,"ng-template",6),2&_){o.oxw();const s=o.MAs(2);o.Q6J("ngTemplateOutlet",s)}}function x(_,c){if(1&_&&(o._UZ(0,"i",11),o._uU(1)),2&_){const s=o.oxw();o.Q6J("nzType",s.icon),o.xp6(1),o.hij(" ",s.user.displayName,"\n")}}let A=(()=>{class _{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.user)throw new Error("cvc-user-tag component requires valid user input.");switch(this.user.role){case"ADMIN":this.icon="civic-admin";break;case"EDITOR":this.icon="civic-editor";break;default:this.icon="civic-curator"}}}return _.\u0275fac=function(s){return new(s||_)},_.\u0275cmp=o.Xpm({type:_,selectors:[["cvc-user-tag"]],inputs:{user:"user",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover","nzPopoverPlacement","topCenter",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["userPopover",""],["nz-popover","","nzPopoverTrigger","hover","nzPopoverPlacement","topCenter",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"userId"],["nz-icon","","nzTheme","twotone","nzTwotoneColor","#A0D8F5",3,"nzType"]],template:function(s,M){if(1&s&&(o.YNc(0,p,3,2,"ng-container",0),o.YNc(1,i,3,2,"ng-template",null,1,o.W1O),o.YNc(3,O,2,1,"ng-template",null,2,o.W1O),o.YNc(5,U,1,1,"ng-template",null,3,o.W1O),o.YNc(7,x,2,2,"ng-template",null,4,o.W1O)),2&s){const h=o.MAs(6);o.Q6J("ngIf",M.linked)("ngIfElse",h)}},directives:[n.O5,u.yS,n.tP,d.j,C.lU,z.q,E.Ls],styles:[""]}),_})()},7345:(f,T,t)=>{t.d(T,{W:()=>P});var o=t(9808),n=t(325),u=t(3610),d=t(8481),C=t(647),z=t(6081),E=t(5e3);let P=(()=>{class p{}return p.\u0275fac=function(a){return new(a||p)},p.\u0275mod=E.oAB({type:p}),p.\u0275inj=E.cJS({imports:[[o.ez,n.Bz,z.J,u.$6,d.X,C.PV]]}),p})()},5737:(f,T,t)=>{t.d(T,{g:()=>p,S:()=>v});var o=t(655),n=t(5e3),u=t(1721),d=t(9808),C=t(969),z=t(226);function E(a,m){if(1&a&&(n.ynx(0),n._uU(1),n.BQk()),2&a){const i=n.oxw(2);n.xp6(1),n.Oqu(i.nzText)}}function P(a,m){if(1&a&&(n.TgZ(0,"span",1),n.YNc(1,E,2,1,"ng-container",2),n.qZA()),2&a){const i=n.oxw();n.xp6(1),n.Q6J("nzStringTemplateOutlet",i.nzText)}}let p=(()=>{class a{constructor(){this.nzType="horizontal",this.nzOrientation="center",this.nzDashed=!1,this.nzPlain=!1}}return a.\u0275fac=function(i){return new(i||a)},a.\u0275cmp=n.Xpm({type:a,selectors:[["nz-divider"]],hostAttrs:[1,"ant-divider"],hostVars:16,hostBindings:function(i,l){2&i&&n.ekj("ant-divider-horizontal","horizontal"===l.nzType)("ant-divider-vertical","vertical"===l.nzType)("ant-divider-with-text",l.nzText)("ant-divider-plain",l.nzPlain)("ant-divider-with-text-left",l.nzText&&"left"===l.nzOrientation)("ant-divider-with-text-right",l.nzText&&"right"===l.nzOrientation)("ant-divider-with-text-center",l.nzText&&"center"===l.nzOrientation)("ant-divider-dashed",l.nzDashed)},inputs:{nzText:"nzText",nzType:"nzType",nzOrientation:"nzOrientation",nzDashed:"nzDashed",nzPlain:"nzPlain"},exportAs:["nzDivider"],decls:1,vars:1,consts:[["class","ant-divider-inner-text",4,"ngIf"],[1,"ant-divider-inner-text"],[4,"nzStringTemplateOutlet"]],template:function(i,l){1&i&&n.YNc(0,P,2,1,"span",0),2&i&&n.Q6J("ngIf",l.nzText)},directives:[d.O5,C.f],encapsulation:2,changeDetection:0}),(0,o.gn)([(0,u.yF)()],a.prototype,"nzDashed",void 0),(0,o.gn)([(0,u.yF)()],a.prototype,"nzPlain",void 0),a})(),v=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=n.oAB({type:a}),a.\u0275inj=n.cJS({imports:[[z.vT,d.ez,C.T]]}),a})()}}]);
\ No newline at end of file
diff --git a/server/public/681.d79a1e74bccada70.js b/server/public/681.d79a1e74bccada70.js
new file mode 100644
index 000000000..7f070b4b4
--- /dev/null
+++ b/server/public/681.d79a1e74bccada70.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[681],{3580:(O,v,t)=>{t.d(v,{Q:()=>z});var o=t(9808),_=t(325),n=t(8481),p=t(3610),m=t(647),u=t(7484),d=t(3098),Z=t(3630),x=t(6949),C=t(3618),f=t(9444),T=t(5e3);let r=(()=>{class i{}return i.\u0275fac=function(h){return new(h||i)},i.\u0275mod=T.oAB({type:i}),i.\u0275inj=T.cJS({imports:[[o.ez,x.WG,u.vh,d.q6,m.PV,C.ZJ,f.s,Z.X]]}),i})(),z=(()=>{class i{}return i.\u0275fac=function(h){return new(h||i)},i.\u0275mod=T.oAB({type:i}),i.\u0275inj=T.cJS({imports:[[o.ez,_.Bz,n.X,p.$6,m.PV,f.s,r]]}),i})()},8018:(O,v,t)=>{t.d(v,{e:()=>i});var o=t(9808),_=t(325),n=t(8481),p=t(3610),m=t(647),u=t(7484),d=t(3098),Z=t(6949),x=t(3630),C=t(3618),f=t(9444),T=t(404),r=t(5e3);let z=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=r.oAB({type:c}),c.\u0275inj=r.cJS({imports:[[o.ez,_.Bz,Z.WG,u.vh,d.q6,m.PV,C.ZJ,n.X,T.cg,x.X,f.s]]}),c})(),i=(()=>{class c{}return c.\u0275fac=function(y){return new(y||c)},c.\u0275mod=r.oAB({type:c}),c.\u0275inj=r.cJS({imports:[[o.ez,_.Bz,n.X,p.$6,m.PV,f.s,z]]}),c})()},9476:(O,v,t)=>{t.d(v,{L:()=>z});var o=t(9808),_=t(325),n=t(8481),p=t(647),m=t(1894),u=t(3630),d=t(3098),Z=t(7484),x=t(6949),C=t(5473),f=t(5e3);let T=(()=>{class i{}return i.\u0275fac=function(h){return new(h||i)},i.\u0275mod=f.oAB({type:i}),i.\u0275inj=f.cJS({imports:[[o.ez,x.WG,Z.vh,m.Jb,d.q6,u.X,C.H]]}),i})();var r=t(3610);let z=(()=>{class i{}return i.\u0275fac=function(h){return new(h||i)},i.\u0275mod=f.oAB({type:i}),i.\u0275inj=f.cJS({imports:[[o.ez,_.Bz,n.X,p.PV,r.$6,T]]}),i})()},3220:(O,v,t)=>{t.d(v,{l:()=>T});var o=t(5e3),_=t(6715),n=t(9808),p=t(8481),m=t(3610);const u=function(r){return{"matched-tag":r}};function d(r,z){if(1&r&&(o.TgZ(0,"div",2),o.TgZ(1,"nz-tag"),o._uU(2),o.qZA(),o.qZA()),2&r){const i=z.$implicit,c=o.oxw();o.Q6J("ngClass",o.VKq(2,u,c.matchingText&&i.toLowerCase().includes(c.matchingText))),o.xp6(2),o.Oqu(i)}}function Z(r,z){if(1&r&&(o.TgZ(0,"span"),o._uU(1),o.qZA()),2&r){const i=o.oxw(2);o.xp6(1),o.hij("",i.matchedHiddenCount," of ")}}function x(r,z){if(1&r){const i=o.EpF();o.TgZ(0,"nz-tag",5),o.NdJ("click",function(){return o.CHM(i),o.oxw().onOverflowClicked()}),o._uU(1," +"),o.YNc(2,Z,2,1,"span",6),o._uU(3),o.qZA()}if(2&r){const i=o.oxw(),c=o.MAs(5);o.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",c),o.xp6(2),o.Q6J("ngIf",i.matchedHiddenCount>0),o.xp6(1),o.hij("",i.hiddenCount," more ")}}function C(r,z){if(1&r&&(o.TgZ(0,"div",2),o.TgZ(1,"nz-tag"),o._uU(2),o.qZA(),o.qZA()),2&r){const i=z.$implicit,c=o.oxw(2);o.Q6J("ngClass",o.VKq(2,u,c.matchingText&&i.toLowerCase().includes(c.matchingText))),o.xp6(2),o.Oqu(i)}}function f(r,z){if(1&r&&(o.TgZ(0,"cvc-tag-list",0),o.YNc(1,C,3,4,"div",1),o.qZA()),2&r){const i=o.oxw();o.xp6(1),o.Q6J("ngForOf",i.hiddenTags)}}let T=(()=>{class r{constructor(){this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnInit(){this.calculateDisplayedTags()}calculateDisplayedTags(){var i,c,h,y;if(this.displayedTags=null===(i=this.tags)||void 0===i?void 0:i.slice(0,this.maxDisplayCount),this.hiddenTags=null===(c=this.tags)||void 0===c?void 0:c.slice(this.maxDisplayCount),this.hiddenCount=null===(h=this.hiddenTags)||void 0===h?void 0:h.length,this.matchingText=null===(y=this.matchingText)||void 0===y?void 0:y.toLowerCase(),this.matchingText&&this.hiddenTags){let D=this.matchingText;this.hiddenTags.forEach(I=>{I.toLowerCase().includes(D)&&(this.matchedHiddenCount+=1)})}}onOverflowClicked(){var i;this.maxDisplayCount=(null===(i=this.tags)||void 0===i?void 0:i.length)||0,this.calculateDisplayedTags()}}return r.\u0275fac=function(i){return new(i||r)},r.\u0275cmp=o.Xpm({type:r,selectors:[["cvc-plain-tag-overflow"]],inputs:{matchingText:"matchingText",tags:"tags",maxDisplayCount:"maxDisplayCount"},decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","click",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent","click"],[4,"ngIf"]],template:function(i,c){1&i&&(o.TgZ(0,"cvc-tag-list",0),o.YNc(1,d,3,4,"div",1),o.TgZ(2,"div",2),o.YNc(3,x,4,4,"nz-tag",3),o.qZA(),o.YNc(4,f,2,1,"ng-template",null,4,o.W1O),o.qZA()),2&i&&(o.xp6(1),o.Q6J("ngForOf",c.displayedTags),o.xp6(1),o.Q6J("ngClass",o.VKq(3,u,c.matchedHiddenCount>0)),o.xp6(1),o.Q6J("ngIf",c.hiddenCount&&c.hiddenCount>0))},directives:[_.$,n.sg,n.mk,p.j,n.O5,m.lU],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}"]}),r})()},3968:(O,v,t)=>{t.d(v,{T:()=>u});var o=t(9808),_=t(897),n=t(8481),p=t(3610),m=t(5e3);let u=(()=>{class d{}return d.\u0275fac=function(x){return new(x||d)},d.\u0275mod=m.oAB({type:d}),d.\u0275inj=m.cJS({imports:[[o.ez,n.X,p.$6,_.$]]}),d})()},6715:(O,v,t)=>{t.d(v,{$:()=>n});var o=t(5e3);const _=["*"];let n=(()=>{class p{constructor(){}ngOnInit(){}}return p.\u0275fac=function(u){return new(u||p)},p.\u0275cmp=o.Xpm({type:p,selectors:[["cvc-tag-list"]],hostVars:4,hostBindings:function(u,d){2&u&&o.ekj("xs","xs"===d.size||!d.size)("sm","sm"===d.size)},inputs:{size:"size"},ngContentSelectors:_,decls:2,vars:0,consts:[[1,"tag-list"]],template:function(u,d){1&u&&(o.F$t(),o.TgZ(0,"div",0),o.Hsn(1),o.qZA())},styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{display:inline-block}[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*:last-child{margin-right:-8px}.xs[_nghost-%COMP%]{margin-bottom:-4px}.xs[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:4px}.sm[_nghost-%COMP%]{margin-bottom:-8px}.sm[_nghost-%COMP%] .tag-list[_ngcontent-%COMP%] >*{margin-bottom:8px}"]}),p})()},897:(O,v,t)=>{t.d(v,{$:()=>n});var o=t(9808),_=t(5e3);let n=(()=>{class p{}return p.\u0275fac=function(u){return new(u||p)},p.\u0275mod=_.oAB({type:p}),p.\u0275inj=_.cJS({imports:[[o.ez]]}),p})()},7946:(O,v,t)=>{t.d(v,{x:()=>x});var o=t(9808),_=t(897),n=t(8481),p=t(3610),m=t(8018),u=t(3580),d=t(9476),Z=t(5e3);let x=(()=>{class C{}return C.\u0275fac=function(T){return new(T||C)},C.\u0275mod=Z.oAB({type:C}),C.\u0275inj=Z.cJS({imports:[[o.ez,n.X,p.$6,_.$,m.e,u.Q,d.L]]}),C})()},3154:(O,v,t)=>{t.d(v,{_:()=>_});var o=t(712);function _(n){var p;switch(n.value){case"ascend":p=o.SrV.Asc;break;case"descend":p=o.SrV.Desc;break;default:return}return{column:n.key,direction:p}}},681:(O,v,t)=>{t.r(v),t.d(v,{GenesModule:()=>xn});var o=t(9808),_=t(325),n=t(5e3);let p=(()=>{class e{constructor(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-genes"]],decls:1,vars:0,template:function(a,s){1&a&&n._UZ(0,"router-outlet")},directives:[_.lC],styles:[""]}),e})();var m=t(1945),u=t(1894),d=t(1132),Z=t(4546),x=t(1047),C=t(647),f=t(3618),T=t(4182),r=t(6949),z=t(3309),i=t(7946),c=t(3968),h=t(6042),y=t(7484),D=t(404);let I=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[o.ez,T.u5,r.WG,d.HQ,Z.U5,x.o7,C.PV,f.ZJ,y.vh,h.sL,D.cg,z.U,i.x,c.T]]}),e})();var B=t(5630),E=t(8144);let L=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[o.ez,B.D,I,h.sL,C.PV,E.zf,f.ZJ,m.KJ,u.Jb]]}),e})();var F=t(8992),U=t(2683),N=t(8929),J=t(4850),A=t(373),S=t(1059),b=t(2986),W=t(13),Q=t(712),R=t(3154),H=t(3193),K=t(3220),$=t(392),Y=t(2643);function j(e,l){if(1&e){const a=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(3);return g.nameInput=void 0,g.onModelUpdated(void 0)}),n.qZA()}}function V(e,l){if(1&e&&n.YNc(0,j,1,0,"i",27),2&e){const a=n.oxw(2);n.Q6J("ngIf",a.nameInput)}}function w(e,l){if(1&e){const a=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(3);return g.aliasInput=void 0,g.onModelUpdated(void 0)}),n.qZA()}}function X(e,l){if(1&e&&n.YNc(0,w,1,0,"i",27),2&e){const a=n.oxw(2);n.Q6J("ngIf",a.aliasInput)}}function q(e,l){if(1&e){const a=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(3);return g.diseaseInput=void 0,g.onModelUpdated(void 0)}),n.qZA()}}function k(e,l){if(1&e&&n.YNc(0,q,1,0,"i",27),2&e){const a=n.oxw(2);n.Q6J("ngIf",a.diseaseInput)}}function nn(e,l){if(1&e){const a=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(3);return g.drugInput=void 0,g.onModelUpdated(void 0)}),n.qZA()}}function tn(e,l){if(1&e&&n.YNc(0,nn,1,0,"i",27),2&e){const a=n.oxw(2);n.Q6J("ngIf",a.drugInput)}}function en(e,l){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._UZ(2,"cvc-gene-tag",29),n.qZA(),n.TgZ(3,"td"),n._UZ(4,"cvc-plain-tag-overflow",30),n.qZA(),n.TgZ(5,"td"),n._UZ(6,"cvc-tag-overflow",31),n.qZA(),n.TgZ(7,"td"),n._UZ(8,"cvc-tag-overflow",32),n.qZA(),n.TgZ(9,"td",33),n._uU(10),n.qZA(),n.TgZ(11,"td",33),n._uU(12),n.qZA(),n.TgZ(13,"td",33),n._uU(14),n.qZA(),n.qZA()),2&e){const a=l.$implicit,s=n.oxw(2);n.xp6(2),n.Q6J("gene",a),n.xp6(2),n.Q6J("tags",a.geneAliases)("matchingText",s.aliasInput),n.xp6(2),n.Q6J("tags",a.diseases)("matchingText",s.diseaseInput),n.xp6(2),n.Q6J("tags",a.drugs)("matchingText",s.drugInput),n.xp6(2),n.Oqu(a.variantCount),n.xp6(2),n.Oqu(a.evidenceItemCount),n.xp6(2),n.Oqu(a.assertionCount)}}function on(e,l){if(1&e){const a=n.EpF();n.TgZ(0,"button",36),n.NdJ("click",function(){n.CHM(a);const g=n.oxw(2).ngrxLet;return n.oxw(2).loadMore(g.endCursor)}),n._uU(1),n.qZA()}if(2&e){const a=n.oxw(4);n.xp6(1),n.hij("Load ",a.fetchMorePageSize," More")}}function an(e,l){if(1&e&&(n.TgZ(0,"tr"),n.TgZ(1,"td",34),n.YNc(2,on,2,1,"button",35),n.qZA(),n.qZA()),2&e){const a=n.oxw().ngrxLet;n.xp6(2),n.Q6J("ngIf",a.hasNextPage)}}function sn(e,l){if(1&e&&(n.ynx(0),n.YNc(1,an,3,1,"tr",1),n.BQk()),2&e){const a=l.ngrxLet;n.xp6(1),n.Q6J("ngIf",a.hasNextPage)}}const G=function(){return["descend","ascend",null]};function ln(e,l){if(1&e){const a=n.EpF();n.ynx(0),n.TgZ(1,"nz-table",4,5),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.TgZ(5,"thead",6),n.NdJ("nzSortOrderChange",function(g){return n.CHM(a),n.oxw().onSortChanged(g)}),n.TgZ(6,"tr"),n.TgZ(7,"th",7),n._uU(8," Name "),n.qZA(),n.TgZ(9,"th",8),n._uU(10," Aliases "),n.qZA(),n.TgZ(11,"th",9),n._uU(12," Diseases "),n.qZA(),n.TgZ(13,"th",9),n._uU(14," Drugs "),n.qZA(),n.TgZ(15,"th",10),n._UZ(16,"i",11),n.qZA(),n.TgZ(17,"th",12),n._UZ(18,"i",13),n.qZA(),n.TgZ(19,"th",14),n._UZ(20,"i",15),n.qZA(),n.qZA(),n.TgZ(21,"tr"),n.TgZ(22,"th"),n.TgZ(23,"nz-input-group",16),n.TgZ(24,"input",17),n.NdJ("ngModelChange",function(g){return n.CHM(a),n.oxw().nameInput=g})("ngModelChange",function(g){return n.CHM(a),n.oxw().onModelUpdated(g)}),n.qZA(),n.qZA(),n.YNc(25,V,1,1,"ng-template",null,18,n.W1O),n.qZA(),n.TgZ(27,"th"),n.TgZ(28,"nz-input-group",16),n.TgZ(29,"input",19),n.NdJ("ngModelChange",function(g){return n.CHM(a),n.oxw().aliasInput=g})("ngModelChange",function(g){return n.CHM(a),n.oxw().onModelUpdated(g)}),n.qZA(),n.qZA(),n.YNc(30,X,1,1,"ng-template",null,20,n.W1O),n.qZA(),n.TgZ(32,"th"),n.TgZ(33,"nz-input-group",16),n.TgZ(34,"input",21),n.NdJ("ngModelChange",function(g){return n.CHM(a),n.oxw().diseaseInput=g})("ngModelChange",function(g){return n.CHM(a),n.oxw().onModelUpdated(g)}),n.qZA(),n.qZA(),n.YNc(35,k,1,1,"ng-template",null,22,n.W1O),n.qZA(),n.TgZ(37,"th"),n.TgZ(38,"nz-input-group",16),n.TgZ(39,"input",23),n.NdJ("ngModelChange",function(g){return n.CHM(a),n.oxw().drugInput=g})("ngModelChange",function(g){return n.CHM(a),n.oxw().onModelUpdated(g)}),n.qZA(),n.qZA(),n.YNc(40,tn,1,1,"ng-template",null,24,n.W1O),n.qZA(),n._UZ(42,"th"),n._UZ(43,"th"),n._UZ(44,"th"),n.qZA(),n.qZA(),n.TgZ(45,"tbody"),n.YNc(46,en,15,10,"tr",25),n.YNc(47,sn,2,1,"ng-container",26),n.qZA(),n.qZA(),n.BQk()}if(2&e){const a=n.MAs(2),s=n.MAs(26),g=n.MAs(31),M=n.MAs(36),Mn=n.MAs(41),P=n.oxw();n.xp6(1),n.Q6J("nzData",n.lcZ(3,25,P.genes$))("nzLoading",n.lcZ(4,27,P.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(6),n.Q6J("nzColumnKey",P.sortColumns.EntrezSymbol)("nzSortFn",!0),n.xp6(8),n.Q6J("nzColumnKey",P.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",n.DdM(29,G)),n.xp6(2),n.Q6J("nzColumnKey",P.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(30,G)),n.xp6(2),n.Q6J("nzColumnKey",P.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",n.DdM(31,G)),n.xp6(4),n.Q6J("nzSuffix",s),n.xp6(1),n.Q6J("ngModel",P.nameInput),n.xp6(4),n.Q6J("nzSuffix",g),n.xp6(1),n.Q6J("ngModel",P.aliasInput),n.xp6(4),n.Q6J("nzSuffix",M),n.xp6(1),n.Q6J("ngModel",P.diseaseInput),n.xp6(4),n.Q6J("nzSuffix",Mn),n.xp6(1),n.Q6J("ngModel",P.drugInput),n.xp6(7),n.Q6J("ngForOf",a.data),n.xp6(1),n.Q6J("ngrxLet",P.pageInfo$)}}function cn(e,l){1&e&&n._UZ(0,"i",37)}function rn(e,l){}function gn(e,l){if(1&e&&(n.ynx(0),n.YNc(1,rn,0,0,"ng-template",41),n.BQk()),2&e){const a=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",a.cvcTitleTemplate)}}function dn(e,l){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const a=n.oxw(2);n.xp6(1),n.hij(" ",a.cvcTitle," ")}}function pn(e,l){if(1&e&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&e){const a=n.oxw().ngIf;n.xp6(1),n.hij(" of ",a," filtered")}}function un(e,l){if(1&e&&(n.TgZ(0,"span",42),n._uU(1),n.YNc(2,pn,2,1,"span",1),n._uU(3,") "),n.qZA()),2&e){const a=l.ngIf,s=n.oxw(2);n.xp6(1),n.AsE(" (",s.totalCount," total, showing ",s.visibleCount,""),n.xp6(1),n.Q6J("ngIf",s.totalCount&&a{class e{constructor(a){this.query=a,this.debouncedQuery=new N.xQ,this.sortColumns=Q.Fvz,this.initialPageSize=25,this.fetchMorePageSize=25,this.visibleCount=this.initialPageSize,this.loadedPages=1}ngOnInit(){this.initialQueryArgs={first:this.initialPageSize},this.queryRef=this.query.watch(this.initialQueryArgs),this.data$=this.queryRef.valueChanges.pipe((0,J.U)(a=>({data:a.data,loading:a.loading,networkStatus:a.networkStatus}))),this.isLoading$=this.data$.pipe((0,A.j)("loading"),(0,S.O)(!0)),this.genes$=this.data$.pipe((0,A.j)("data","browseGenes","edges"),(0,J.U)(a=>a.map(s=>s.node))),this.pageInfo$=this.data$.pipe((0,A.j)("data","browseGenes","pageInfo")),this.filteredCount$=this.data$.pipe((0,A.j)("data","browseGenes","filteredCount")),this.data$.pipe((0,A.j)("data","browseGenes","totalCount")).pipe((0,b.q)(1)).subscribe(a=>this.totalCount=a),this.filteredCount$.subscribe(a=>{aa&&(this.visibleCount=a))}),this.pageCount$=this.data$.pipe((0,A.j)("data","browseGenes","pageCount"),(0,S.O)(0)),this.debouncedQuery.pipe((0,W.b)(500)).subscribe(a=>{var s;this.loadedPages=1,null===(s=this.queryRef)||void 0===s||s.refetch({entrezSymbol:this.nameInput,geneAlias:this.aliasInput,diseaseName:this.diseaseInput,drugName:this.drugInput})})}loadMore(a){var s;null===(s=this.queryRef)||void 0===s||s.fetchMore({variables:{first:this.fetchMorePageSize,after:a}}),this.loadedPages+=1}onSortChanged(a){var s;this.loadedPages=1,null===(s=this.queryRef)||void 0===s||s.refetch(Object.assign(Object.assign({},this.initialQueryArgs),{sortBy:(0,R._)(a)}))}onModelUpdated(a){this.debouncedQuery.next()}}return e.\u0275fac=function(a){return new(a||e)(n.Y36(Q.q8c))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-genes-table"]],inputs:{cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:7,vars:6,consts:[[3,"nzTitle"],[4,"ngIf"],["loadingTemplate",""],["titleTemplate",""],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["genesTable",""],[3,"nzSortOrderChange"],["nzWidth","10%",3,"nzColumnKey","nzSortFn"],["nzWidth","20%"],["nzWidth","25%"],["nzWidth","3%","nzRight","","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:variant"],["nzWidth","3%","nzRight","","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:evidence"],["nzWidth","3%","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:assertion"],[3,"nzSuffix"],["type","text","nz-input","","placeholder","Search name",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["type","text","nz-input","","placeholder","Search alias",3,"ngModel","ngModelChange"],["aliasInputClearTpl",""],["type","text","nz-input","","placeholder","Search disease",3,"ngModel","ngModelChange"],["diseaseInputClearTpl",""],["type","text","nz-input","","placeholder","Search drug",3,"ngModel","ngModelChange"],["drugInputClearTpl",""],[4,"ngFor","ngForOf"],[4,"ngrxLet"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],[3,"gene"],[3,"tags","matchingText"],["tagType","disease",3,"tags","matchingText"],["tagType","drug",3,"tags","matchingText"],["nzRight",""],["colspan","7"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],["nz-icon","","nzType","loading"],["nz-icon","","nzType","civic:gene"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(a,s){if(1&a&&(n.TgZ(0,"nz-card",0),n.YNc(1,ln,48,32,"ng-container",1),n.ALo(2,"ngrxPush"),n.YNc(3,cn,1,0,"ng-template",null,2,n.W1O),n.qZA(),n.YNc(5,_n,7,6,"ng-template",null,3,n.W1O)),2&a){const g=n.MAs(6);n.Q6J("nzTitle",g),n.xp6(1),n.Q6J("ngIf",n.VKq(4,hn,n.lcZ(2,2,s.data$)))}},directives:[y.bd,o.O5,d.N8,d.Om,d.$Z,d.Uo,d._C,d.qD,d.qn,D.SY,C.Ls,U.w,x.gB,x.ke,x.Zp,T.Fj,T.JJ,T.On,d.p0,o.sg,H.H,K.l,$.T,r.eJ,h.ix,Y.dQ,o.tP,f.ZU],pipes:[r.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),e})();function Cn(e,l){1&e&&(n.TgZ(0,"a",13),n._UZ(1,"i",14),n._uU(2," View Gene Model Docs "),n.qZA())}function fn(e,l){1&e&&(n.TgZ(0,"a",15),n._UZ(1,"i",14),n._uU(2," View Gene Curation Docs "),n.qZA())}const Tn=[{path:"",component:p,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-genes-home"]],decls:19,vars:2,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:gene"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Genes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock",""]],template:function(a,s){1&a&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0),n.TgZ(2,"nz-page-header-content"),n.TgZ(3,"nz-row",1),n.TgZ(4,"nz-col",2),n._UZ(5,"i",3),n.qZA(),n.TgZ(6,"nz-col",4),n.TgZ(7,"h2"),n._uU(8,"Genes"),n.qZA(),n.TgZ(9,"p",5),n._uU(10,"CIViC Genes include a gene-level summary, a link to the Drug Gene Interation Database, and extensive gene details from MyGene.info."),n.qZA(),n.qZA(),n.TgZ(11,"nz-col",6),n.TgZ(12,"nz-space",7),n.YNc(13,Cn,3,0,"a",8),n.YNc(14,fn,3,0,"a",9),n.qZA(),n.qZA(),n.qZA(),n.TgZ(15,"nz-row"),n.TgZ(16,"nz-col",10),n.TgZ(17,"div",11),n._UZ(18,"cvc-genes-table",12),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&a&&(n.xp6(9),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24))},directives:[F.I,m.$O,m.u5,u.SK,u.t3,U.w,C.Ls,f.ZU,E.NU,E.$1,h.ix,vn],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})(),data:{breadcrumb:"Home"}},{path:":geneId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([t.e(6256),t.e(9001),t.e(2826),t.e(6724),t.e(55),t.e(9716),t.e(5291),t.e(2043),t.e(4355),t.e(4028),t.e(7259)]).then(t.bind(t,8252)).then(e=>e.GenesDetailModule)},{path:"revise",loadChildren:()=>Promise.all([t.e(6256),t.e(4184),t.e(8533),t.e(7893)]).then(t.bind(t,3887)).then(e=>e.GenesReviseModule),data:{breadcrumb:"Revise"}}]}]}];let zn=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[_.Bz.forChild(Tn),L],_.Bz]}),e})(),xn=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[o.ez,zn]]}),e})()}}]);
\ No newline at end of file
diff --git a/server/public/681.fd75ff06f6af80e6.js b/server/public/681.fd75ff06f6af80e6.js
deleted file mode 100644
index 13feb5a9c..000000000
--- a/server/public/681.fd75ff06f6af80e6.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[681],{3220:(O,T,o)=>{o.d(T,{l:()=>P});var a=o(5e3),u=o(6715),n=o(9808),h=o(8481),v=o(3610);const m=function(g){return{"matched-tag":g}};function r(g,f){if(1&g&&(a.TgZ(0,"div",2),a.TgZ(1,"nz-tag"),a._uU(2),a.qZA(),a.qZA()),2&g){const c=f.$implicit,d=a.oxw();a.Q6J("ngClass",a.VKq(2,m,d.matchingText&&c.toLowerCase().includes(d.matchingText))),a.xp6(2),a.Oqu(c)}}function M(g,f){if(1&g&&(a.TgZ(0,"span"),a._uU(1),a.qZA()),2&g){const c=a.oxw(2);a.xp6(1),a.hij("",c.matchedHiddenCount," of ")}}function x(g,f){if(1&g){const c=a.EpF();a.TgZ(0,"nz-tag",5),a.NdJ("click",function(){return a.CHM(c),a.oxw().onOverflowClicked()}),a._uU(1," +"),a.YNc(2,M,2,1,"span",6),a._uU(3),a.qZA()}if(2&g){const c=a.oxw(),d=a.MAs(5);a.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",d),a.xp6(2),a.Q6J("ngIf",c.matchedHiddenCount>0),a.xp6(1),a.hij("",c.hiddenCount," more ")}}function _(g,f){if(1&g&&(a.TgZ(0,"div",2),a.TgZ(1,"nz-tag"),a._uU(2),a.qZA(),a.qZA()),2&g){const c=f.$implicit,d=a.oxw(2);a.Q6J("ngClass",a.VKq(2,m,d.matchingText&&c.toLowerCase().includes(d.matchingText))),a.xp6(2),a.Oqu(c)}}function Z(g,f){if(1&g&&(a.TgZ(0,"cvc-tag-list",0),a.YNc(1,_,3,4,"div",1),a.qZA()),2&g){const c=a.oxw();a.xp6(1),a.Q6J("ngForOf",c.hiddenTags)}}let P=(()=>{class g{constructor(){this.maxDisplayCount=2,this.matchedHiddenCount=0}ngOnInit(){this.calculateDisplayedTags()}calculateDisplayedTags(){var c,d,z,y;if(this.displayedTags=null===(c=this.tags)||void 0===c?void 0:c.slice(0,this.maxDisplayCount),this.hiddenTags=null===(d=this.tags)||void 0===d?void 0:d.slice(this.maxDisplayCount),this.hiddenCount=null===(z=this.hiddenTags)||void 0===z?void 0:z.length,this.matchingText=null===(y=this.matchingText)||void 0===y?void 0:y.toLowerCase(),this.matchingText&&this.hiddenTags){let I=this.matchingText;this.hiddenTags.forEach(E=>{E.toLowerCase().includes(I)&&(this.matchedHiddenCount+=1)})}}onOverflowClicked(){var c;this.maxDisplayCount=(null===(c=this.tags)||void 0===c?void 0:c.length)||0,this.calculateDisplayedTags()}}return g.\u0275fac=function(c){return new(c||g)},g.\u0275cmp=a.Xpm({type:g,selectors:[["cvc-plain-tag-overflow"]],inputs:{matchingText:"matchingText",tags:"tags",maxDisplayCount:"maxDisplayCount"},decls:6,vars:5,consts:[["size","xs"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"ngClass"],["class","overflow-tag","nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","click",4,"ngIf"],["additionalTagPopover",""],["nz-popover","","nzPopoverPlacement","top","nzPopoverTrigger","hover",1,"overflow-tag",3,"nzPopoverMouseEnterDelay","nzPopoverContent","click"],[4,"ngIf"]],template:function(c,d){1&c&&(a.TgZ(0,"cvc-tag-list",0),a.YNc(1,r,3,4,"div",1),a.TgZ(2,"div",2),a.YNc(3,x,4,4,"nz-tag",3),a.qZA(),a.YNc(4,Z,2,1,"ng-template",null,4,a.W1O),a.qZA()),2&c&&(a.xp6(1),a.Q6J("ngForOf",d.displayedTags),a.xp6(1),a.Q6J("ngClass",a.VKq(3,m,d.matchedHiddenCount>0)),a.xp6(1),a.Q6J("ngIf",d.hiddenCount&&d.hiddenCount>0))},directives:[u.$,n.sg,n.mk,h.j,n.O5,v.lU],styles:[".matched-tag[_ngcontent-%COMP%]{font-weight:700}"]}),g})()},3968:(O,T,o)=>{o.d(T,{T:()=>m});var a=o(9808),u=o(897),n=o(8481),h=o(3610),v=o(5e3);let m=(()=>{class r{}return r.\u0275fac=function(x){return new(x||r)},r.\u0275mod=v.oAB({type:r}),r.\u0275inj=v.cJS({imports:[[a.ez,n.X,h.$6,u.$]]}),r})()},7946:(O,T,o)=>{o.d(T,{x:()=>x});var a=o(9808),u=o(897),n=o(8481),h=o(3610),v=o(8018),m=o(3580),r=o(9476),M=o(5e3);let x=(()=>{class _{}return _.\u0275fac=function(P){return new(P||_)},_.\u0275mod=M.oAB({type:_}),_.\u0275inj=M.cJS({imports:[[a.ez,n.X,h.$6,u.$,v.e,m.Q,r.L]]}),_})()},3154:(O,T,o)=>{o.d(T,{_:()=>u});var a=o(712);function u(n){var h;switch(n.value){case"ascend":h=a.SrV.Asc;break;case"descend":h=a.SrV.Desc;break;default:return}return{column:n.key,direction:h}}},681:(O,T,o)=>{o.r(T),o.d(T,{GenesModule:()=>zn});var a=o(9808),u=o(325),n=o(5e3);let h=(()=>{class t{constructor(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["app-genes"]],decls:1,vars:0,template:function(e,i){1&e&&n._UZ(0,"router-outlet")},directives:[u.lC],styles:[""]}),t})();var v=o(1945),m=o(1894),r=o(1132),M=o(4546),x=o(1047),_=o(647),Z=o(3618),P=o(4182),g=o(6949),f=o(3309),c=o(7946),d=o(3968),z=o(6042),y=o(7484),I=o(404);let E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[a.ez,P.u5,g.WG,r.HQ,M.U5,x.o7,_.PV,Z.ZJ,y.vh,z.sL,I.cg,f.U,c.x,d.T]]}),t})();var Q=o(5630),G=o(8144);let N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[a.ez,Q.D,E,z.sL,_.PV,G.zf,Z.ZJ,v.KJ,m.Jb]]}),t})();var w=o(8992),D=o(2683),L=o(8929),b=o(4850),A=o(373),J=o(1059),B=o(2986),F=o(13),S=o(712),R=o(3154),W=o(3193),H=o(3220),K=o(392),Y=o(2643);function $(t,s){if(1&t){const e=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(e);const l=n.oxw(3);return l.nameInput=void 0,l.onModelUpdated(void 0)}),n.qZA()}}function j(t,s){if(1&t&&n.YNc(0,$,1,0,"i",27),2&t){const e=n.oxw(2);n.Q6J("ngIf",e.nameInput)}}function V(t,s){if(1&t){const e=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(e);const l=n.oxw(3);return l.aliasInput=void 0,l.onModelUpdated(void 0)}),n.qZA()}}function q(t,s){if(1&t&&n.YNc(0,V,1,0,"i",27),2&t){const e=n.oxw(2);n.Q6J("ngIf",e.aliasInput)}}function X(t,s){if(1&t){const e=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(e);const l=n.oxw(3);return l.diseaseInput=void 0,l.onModelUpdated(void 0)}),n.qZA()}}function k(t,s){if(1&t&&n.YNc(0,X,1,0,"i",27),2&t){const e=n.oxw(2);n.Q6J("ngIf",e.diseaseInput)}}function nn(t,s){if(1&t){const e=n.EpF();n.TgZ(0,"i",28),n.NdJ("click",function(){n.CHM(e);const l=n.oxw(3);return l.drugInput=void 0,l.onModelUpdated(void 0)}),n.qZA()}}function tn(t,s){if(1&t&&n.YNc(0,nn,1,0,"i",27),2&t){const e=n.oxw(2);n.Q6J("ngIf",e.drugInput)}}function en(t,s){if(1&t&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._UZ(2,"cvc-gene-tag",29),n.qZA(),n.TgZ(3,"td"),n._UZ(4,"cvc-plain-tag-overflow",30),n.qZA(),n.TgZ(5,"td"),n._UZ(6,"cvc-tag-overflow",31),n.qZA(),n.TgZ(7,"td"),n._UZ(8,"cvc-tag-overflow",32),n.qZA(),n.TgZ(9,"td",33),n._uU(10),n.qZA(),n.TgZ(11,"td",33),n._uU(12),n.qZA(),n.TgZ(13,"td",33),n._uU(14),n.qZA(),n.qZA()),2&t){const e=s.$implicit,i=n.oxw(2);n.xp6(2),n.Q6J("gene",e),n.xp6(2),n.Q6J("tags",e.geneAliases)("matchingText",i.aliasInput),n.xp6(2),n.Q6J("tags",e.diseases)("matchingText",i.diseaseInput),n.xp6(2),n.Q6J("tags",e.drugs)("matchingText",i.drugInput),n.xp6(2),n.Oqu(e.variantCount),n.xp6(2),n.Oqu(e.evidenceItemCount),n.xp6(2),n.Oqu(e.assertionCount)}}function on(t,s){if(1&t){const e=n.EpF();n.TgZ(0,"button",36),n.NdJ("click",function(){n.CHM(e);const l=n.oxw(2).ngrxLet;return n.oxw(2).loadMore(l.endCursor)}),n._uU(1),n.qZA()}if(2&t){const e=n.oxw(4);n.xp6(1),n.hij("Load ",e.fetchMorePageSize," More")}}function an(t,s){if(1&t&&(n.TgZ(0,"tr"),n.TgZ(1,"td",34),n.YNc(2,on,2,1,"button",35),n.qZA(),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(2),n.Q6J("ngIf",e.hasNextPage)}}function sn(t,s){if(1&t&&(n.ynx(0),n.YNc(1,an,3,1,"tr",1),n.BQk()),2&t){const e=s.ngrxLet;n.xp6(1),n.Q6J("ngIf",e.hasNextPage)}}const U=function(){return["descend","ascend",null]};function ln(t,s){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"nz-table",4,5),n.ALo(3,"ngrxPush"),n.ALo(4,"ngrxPush"),n.TgZ(5,"thead",6),n.NdJ("nzSortOrderChange",function(l){return n.CHM(e),n.oxw().onSortChanged(l)}),n.TgZ(6,"tr"),n.TgZ(7,"th",7),n._uU(8," Name "),n.qZA(),n.TgZ(9,"th",8),n._uU(10," Aliases "),n.qZA(),n.TgZ(11,"th",9),n._uU(12," Diseases "),n.qZA(),n.TgZ(13,"th",9),n._uU(14," Drugs "),n.qZA(),n.TgZ(15,"th",10),n._UZ(16,"i",11),n.qZA(),n.TgZ(17,"th",12),n._UZ(18,"i",13),n.qZA(),n.TgZ(19,"th",14),n._UZ(20,"i",15),n.qZA(),n.qZA(),n.TgZ(21,"tr"),n.TgZ(22,"th"),n.TgZ(23,"nz-input-group",16),n.TgZ(24,"input",17),n.NdJ("ngModelChange",function(l){return n.CHM(e),n.oxw().nameInput=l})("ngModelChange",function(l){return n.CHM(e),n.oxw().onModelUpdated(l)}),n.qZA(),n.qZA(),n.YNc(25,j,1,1,"ng-template",null,18,n.W1O),n.qZA(),n.TgZ(27,"th"),n.TgZ(28,"nz-input-group",16),n.TgZ(29,"input",19),n.NdJ("ngModelChange",function(l){return n.CHM(e),n.oxw().aliasInput=l})("ngModelChange",function(l){return n.CHM(e),n.oxw().onModelUpdated(l)}),n.qZA(),n.qZA(),n.YNc(30,q,1,1,"ng-template",null,20,n.W1O),n.qZA(),n.TgZ(32,"th"),n.TgZ(33,"nz-input-group",16),n.TgZ(34,"input",21),n.NdJ("ngModelChange",function(l){return n.CHM(e),n.oxw().diseaseInput=l})("ngModelChange",function(l){return n.CHM(e),n.oxw().onModelUpdated(l)}),n.qZA(),n.qZA(),n.YNc(35,k,1,1,"ng-template",null,22,n.W1O),n.qZA(),n.TgZ(37,"th"),n.TgZ(38,"nz-input-group",16),n.TgZ(39,"input",23),n.NdJ("ngModelChange",function(l){return n.CHM(e),n.oxw().drugInput=l})("ngModelChange",function(l){return n.CHM(e),n.oxw().onModelUpdated(l)}),n.qZA(),n.qZA(),n.YNc(40,tn,1,1,"ng-template",null,24,n.W1O),n.qZA(),n._UZ(42,"th"),n._UZ(43,"th"),n._UZ(44,"th"),n.qZA(),n.qZA(),n.TgZ(45,"tbody"),n.YNc(46,en,15,10,"tr",25),n.YNc(47,sn,2,1,"ng-container",26),n.qZA(),n.qZA(),n.BQk()}if(2&t){const e=n.MAs(2),i=n.MAs(26),l=n.MAs(31),p=n.MAs(36),Mn=n.MAs(41),C=n.oxw();n.xp6(1),n.Q6J("nzData",n.lcZ(3,25,C.genes$))("nzLoading",n.lcZ(4,27,C.isLoading$))("nzFrontPagination",!1)("nzShowPagination",!1),n.xp6(6),n.Q6J("nzColumnKey",C.sortColumns.EntrezSymbol)("nzSortFn",!0),n.xp6(8),n.Q6J("nzColumnKey",C.sortColumns.VariantCount)("nzSortFn",!0)("nzSortDirections",n.DdM(29,U)),n.xp6(2),n.Q6J("nzColumnKey",C.sortColumns.EvidenceItemCount)("nzSortFn",!0)("nzSortDirections",n.DdM(30,U)),n.xp6(2),n.Q6J("nzColumnKey",C.sortColumns.AssertionCount)("nzSortFn",!0)("nzSortDirections",n.DdM(31,U)),n.xp6(4),n.Q6J("nzSuffix",i),n.xp6(1),n.Q6J("ngModel",C.nameInput),n.xp6(4),n.Q6J("nzSuffix",l),n.xp6(1),n.Q6J("ngModel",C.aliasInput),n.xp6(4),n.Q6J("nzSuffix",p),n.xp6(1),n.Q6J("ngModel",C.diseaseInput),n.xp6(4),n.Q6J("nzSuffix",Mn),n.xp6(1),n.Q6J("ngModel",C.drugInput),n.xp6(7),n.Q6J("ngForOf",e.data),n.xp6(1),n.Q6J("ngrxLet",C.pageInfo$)}}function cn(t,s){1&t&&n._UZ(0,"i",37)}function gn(t,s){}function rn(t,s){if(1&t&&(n.ynx(0),n.YNc(1,gn,0,0,"ng-template",41),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngTemplateOutlet",e.cvcTitleTemplate)}}function dn(t,s){if(1&t&&(n.ynx(0),n._uU(1),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.cvcTitle," ")}}function pn(t,s){if(1&t&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&t){const e=n.oxw().ngIf;n.xp6(1),n.hij(" of ",e," filtered")}}function _n(t,s){if(1&t&&(n.TgZ(0,"span",42),n._uU(1),n.YNc(2,pn,2,1,"span",1),n._uU(3,") "),n.qZA()),2&t){const e=s.ngIf,i=n.oxw(2);n.xp6(1),n.AsE(" (",i.totalCount," total, showing ",i.visibleCount,""),n.xp6(1),n.Q6J("ngIf",i.totalCount&&e{class t{constructor(e){this.query=e,this.debouncedQuery=new L.xQ,this.sortColumns=S.Fvz,this.initialPageSize=25,this.fetchMorePageSize=25,this.visibleCount=this.initialPageSize,this.loadedPages=1}ngOnInit(){this.initialQueryArgs={first:this.initialPageSize},this.queryRef=this.query.watch(this.initialQueryArgs),this.data$=this.queryRef.valueChanges.pipe((0,b.U)(e=>({data:e.data,loading:e.loading,networkStatus:e.networkStatus}))),this.isLoading$=this.data$.pipe((0,A.j)("loading"),(0,J.O)(!0)),this.genes$=this.data$.pipe((0,A.j)("data","browseGenes","edges"),(0,b.U)(e=>e.map(i=>i.node))),this.pageInfo$=this.data$.pipe((0,A.j)("data","browseGenes","pageInfo")),this.filteredCount$=this.data$.pipe((0,A.j)("data","browseGenes","filteredCount")),this.data$.pipe((0,A.j)("data","browseGenes","totalCount")).pipe((0,B.q)(1)).subscribe(e=>this.totalCount=e),this.filteredCount$.subscribe(e=>{ee&&(this.visibleCount=e))}),this.pageCount$=this.data$.pipe((0,A.j)("data","browseGenes","pageCount"),(0,J.O)(0)),this.debouncedQuery.pipe((0,F.b)(500)).subscribe(e=>{var i;this.loadedPages=1,null===(i=this.queryRef)||void 0===i||i.refetch({entrezSymbol:this.nameInput,geneAlias:this.aliasInput,diseaseName:this.diseaseInput,drugName:this.drugInput})})}loadMore(e){var i;null===(i=this.queryRef)||void 0===i||i.fetchMore({variables:{first:this.fetchMorePageSize,after:e}}),this.loadedPages+=1}onSortChanged(e){var i;this.loadedPages=1,null===(i=this.queryRef)||void 0===i||i.refetch(Object.assign(Object.assign({},this.initialQueryArgs),{sortBy:(0,R._)(e)}))}onModelUpdated(e){this.debouncedQuery.next()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(S.q8c))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-table"]],inputs:{cvcTitleTemplate:"cvcTitleTemplate",cvcTitle:"cvcTitle"},decls:7,vars:6,consts:[[3,"nzTitle"],[4,"ngIf"],["loadingTemplate",""],["titleTemplate",""],["nzSize","small",3,"nzData","nzLoading","nzFrontPagination","nzShowPagination"],["genesTable",""],[3,"nzSortOrderChange"],["nzWidth","10%",3,"nzColumnKey","nzSortFn"],["nzWidth","20%"],["nzWidth","25%"],["nzWidth","3%","nzRight","","nz-tooltip","","nzTooltipTitle","Variant Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:variant"],["nzWidth","3%","nzRight","","nz-tooltip","","nzTooltipTitle","Evidence Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:evidence"],["nzWidth","3%","nzRight","","nz-tooltip","","nzTooltipTitle","Assertion Count",3,"nzColumnKey","nzSortFn","nzSortDirections"],["nz-icon","","nzType","civic:assertion"],[3,"nzSuffix"],["type","text","nz-input","","placeholder","Search name",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["type","text","nz-input","","placeholder","Search alias",3,"ngModel","ngModelChange"],["aliasInputClearTpl",""],["type","text","nz-input","","placeholder","Search disease",3,"ngModel","ngModelChange"],["diseaseInputClearTpl",""],["type","text","nz-input","","placeholder","Search drug",3,"ngModel","ngModelChange"],["drugInputClearTpl",""],[4,"ngFor","ngForOf"],[4,"ngrxLet"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],[3,"gene"],[3,"tags","matchingText"],["tagType","disease",3,"tags","matchingText"],["tagType","drug",3,"tags","matchingText"],["nzRight",""],["colspan","7"],["nz-button","","nzBlock","",3,"click",4,"ngIf"],["nz-button","","nzBlock","",3,"click"],["nz-icon","","nzType","loading"],["nz-icon","","nzType","civic:gene"],["nz-typography","","nzType","secondary",4,"ngIf","ngIfElse"],["noData",""],[3,"ngTemplateOutlet"],["nz-typography","","nzType","secondary"]],template:function(e,i){if(1&e&&(n.TgZ(0,"nz-card",0),n.YNc(1,ln,48,32,"ng-container",1),n.ALo(2,"ngrxPush"),n.YNc(3,cn,1,0,"ng-template",null,2,n.W1O),n.qZA(),n.YNc(5,hn,7,6,"ng-template",null,3,n.W1O)),2&e){const l=n.MAs(6);n.Q6J("nzTitle",l),n.xp6(1),n.Q6J("ngIf",n.VKq(4,mn,n.lcZ(2,2,i.data$)))}},directives:[y.bd,a.O5,r.N8,r.Om,r.$Z,r.Uo,r._C,r.qD,r.qn,I.SY,_.Ls,D.w,x.gB,x.ke,x.Zp,P.Fj,P.JJ,P.On,r.p0,a.sg,W.H,H.l,K.T,g.eJ,z.ix,Y.dQ,a.tP,Z.ZU],pipes:[g.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%]{display:block}"]}),t})();function Cn(t,s){1&t&&(n.TgZ(0,"a",13),n._UZ(1,"i",14),n._uU(2," View Gene Model Docs "),n.qZA())}function Tn(t,s){1&t&&(n.TgZ(0,"a",15),n._UZ(1,"i",14),n._uU(2," View Gene Curation Docs "),n.qZA())}const vn=[{path:"",component:h,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:(()=>{class t{constructor(){}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-home"]],decls:19,vars:2,consts:[[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:gene"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],[3,"nzSpan"],[1,"content"],["cvcTitle","Browse All Genes"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/genes.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/curating/genes.html","target","_blank","nzSize","small","nzBlock",""]],template:function(e,i){1&e&&(n._UZ(0,"cvc-section-navigation"),n.TgZ(1,"nz-page-header",0),n.TgZ(2,"nz-page-header-content"),n.TgZ(3,"nz-row",1),n.TgZ(4,"nz-col",2),n._UZ(5,"i",3),n.qZA(),n.TgZ(6,"nz-col",4),n.TgZ(7,"h2"),n._uU(8,"Genes"),n.qZA(),n.TgZ(9,"p",5),n._uU(10,"CIViC Genes include a gene-level summary, a link to the Drug Gene Interation Database, and extensive gene details from MyGene.info."),n.qZA(),n.qZA(),n.TgZ(11,"nz-col",6),n.TgZ(12,"nz-space",7),n.YNc(13,Cn,3,0,"a",8),n.YNc(14,Tn,3,0,"a",9),n.qZA(),n.qZA(),n.qZA(),n.TgZ(15,"nz-row"),n.TgZ(16,"nz-col",10),n.TgZ(17,"div",11),n._UZ(18,"cvc-genes-table",12),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&e&&(n.xp6(9),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24))},directives:[w.I,v.$O,v.u5,m.SK,m.t3,D.w,_.Ls,Z.ZU,G.NU,G.$1,z.ix,fn],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})(),data:{breadcrumb:"Home"}},{path:":geneId",data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",loadChildren:()=>Promise.all([o.e(6256),o.e(9001),o.e(2826),o.e(1679),o.e(2738),o.e(55),o.e(9716),o.e(5291),o.e(2043),o.e(3482),o.e(5787),o.e(7259)]).then(o.bind(o,8252)).then(t=>t.GenesDetailModule)},{path:"revise",loadChildren:()=>Promise.all([o.e(6256),o.e(1679),o.e(6875),o.e(4584),o.e(7893)]).then(o.bind(o,3887)).then(t=>t.GenesReviseModule),data:{breadcrumb:"Revise"}}]}]}];let xn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[u.Bz.forChild(vn),N],u.Bz]}),t})(),zn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[a.ez,xn]]}),t})()}}]);
\ No newline at end of file
diff --git a/server/public/6875.9a3f371a86467784.js b/server/public/6875.9a3f371a86467784.js
deleted file mode 100644
index c9ee08a4f..000000000
--- a/server/public/6875.9a3f371a86467784.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[6875],{6789:(k,B,r)=>{r.d(B,{_:()=>A});var T=r(9808),b=r(7484),e=r(5109),x=r(5482),E=r(6949),I=r(19),t=r(8776),Z=r(647),v=r(404),M=r(5e3);let N=(()=>{class a{}return a.\u0275fac=function(S){return new(S||a)},a.\u0275mod=M.oAB({type:a}),a.\u0275inj=M.cJS({imports:[[T.ez,E.WG,t.X0,I.j,x.cD,Z.PV,v.cg,e.s]]}),a})(),A=(()=>{class a{}return a.\u0275fac=function(S){return new(S||a)},a.\u0275mod=M.oAB({type:a}),a.\u0275inj=M.cJS({imports:[[T.ez,E.WG,t.X0,b.vh,I.j,x.cD,Z.PV,v.cg,N,e.s]]}),a})()},4889:(k,B,r)=>{r.d(B,{E:()=>A});var T=r(9808),b=r(4182),e=r(325),x=r(8776),E=r(304),I=r(6042),t=r(5e3),Z=r(2643),v=r(2683);const N={name:"cancel-button",component:(()=>{class a extends x.fS{constructor(){super(...arguments),this.redirectPath="/"}ngOnInit(){var S,C;(null===(S=this.field.templateOptions)||void 0===S?void 0:S.redirectPath)&&(this.redirectPath=null===(C=this.field.templateOptions)||void 0===C?void 0:C.redirectPath)}}return a.\u0275fac=function(){let z;return function(C){return(z||(z=t.n5z(a)))(C||a)}}(),a.\u0275cmp=t.Xpm({type:a,selectors:[["cvc-cancel-button"]],features:[t.qOj],decls:2,vars:1,consts:[["nz-button","","type","button","nzType","default","nzSize","large",1,"cancel-button",3,"routerLink"]],template:function(S,C){1&S&&(t.TgZ(0,"button",0),t._uU(1,"Cancel"),t.qZA()),2&S&&t.Q6J("routerLink",C.redirectPath)},directives:[I.ix,Z.dQ,v.w,e.rH],styles:[".cancel-button[_ngcontent-%COMP%]{float:left}"]}),a})()};let A=(()=>{class a{}return a.\u0275fac=function(S){return new(S||a)},a.\u0275mod=t.oAB({type:a}),a.\u0275inj=t.cJS({imports:[[T.ez,b.u5,b.UX,I.sL,e.Bz,E.F,x.X0.forChild({types:[N]})]]}),a})()},8979:(k,B,r)=>{r.d(B,{N:()=>N});var T=r(9808),b=r(8776),e=r(5e3),x=r(6042),E=r(2643),I=r(2683);const Z={name:"cvc-multi-field-add-btn",component:(()=>{class A extends b.fS{constructor(){super()}}return A.\u0275fac=function(z){return new(z||A)},A.\u0275cmp=e.Xpm({type:A,selectors:[["cvc-multi-field-add-btn-type"]],features:[e.qOj],decls:2,vars:2,consts:[["type","submit","nz-button","","nzType","primary","nzSize","small","nzBlock","",3,"disabled"]],template:function(z,S){1&z&&(e.TgZ(0,"button",0),e._uU(1),e.qZA()),2&z&&(e.Q6J("disabled",S.to.disabled),e.xp6(1),e.Oqu(S.to.label))},directives:[x.ix,E.dQ,I.w],styles:[""],encapsulation:2,changeDetection:0}),A})()};var v=r(9139),M=r(4546);let N=(()=>{class A{}return A.\u0275fac=function(z){return new(z||A)},A.\u0275mod=e.oAB({type:A}),A.\u0275inj=e.cJS({imports:[[T.ez,v.u,b.X0.forChild({types:[Z]}),M.U5,x.sL]]}),A})()},8390:(k,B,r)=>{r.d(B,{N:()=>F});var T=r(9808),b=r(4182),e=r(8776),x=r(4546),E=r(1047),I=r(647),t=r(5e3),Z=r(1894),v=r(8481),M=r(2683),N=r(6042),A=r(2643);function a(l,p){if(1&l){const d=t.EpF();t.TgZ(0,"nz-form-item"),t.TgZ(1,"nz-form-control",3),t.TgZ(2,"nz-tag",4),t.NdJ("click",function(Y){return t.CHM(d),t.oxw().addField(Y)}),t._UZ(3,"i",5),t._uU(4),t.qZA(),t.qZA(),t.qZA()}if(2&l){const d=t.oxw();t.xp6(1),t.Q6J("nzValidateStatus",d.errorState),t.xp6(3),t.hij(" ",d.to.addText," ")}}function z(l,p){if(1&l){const d=t.EpF();t.TgZ(0,"nz-tag",4),t.NdJ("click",function(Y){return t.CHM(d),t.oxw(4).addField(Y)}),t._UZ(1,"i",5),t._uU(2),t.qZA()}if(2&l){const d=t.oxw(4);t.xp6(2),t.hij(" ",d.to.addText," ")}}function S(l,p){if(1&l&&(t.TgZ(0,"div",11),t.YNc(1,z,3,1,"nz-tag",12),t.qZA()),2&l){const d=t.oxw(2).$implicit,w=t.oxw();t.xp6(1),t.Q6J("ngIf",0==w.to.maxCount||w.to.maxCount>d.model.length)}}function C(l,p){if(1&l){const d=t.EpF();t.ynx(0),t.TgZ(1,"nz-tag",8),t.TgZ(2,"i",9),t.NdJ("click",function(){t.CHM(d);const Y=t.oxw().index;return t.oxw().remove(Y)}),t.qZA(),t.qZA(),t.YNc(3,S,2,1,"div",10),t.BQk()}if(2&l){const d=t.oxw().last;t.xp6(3),t.Q6J("ngIf",d)}}function j(l,p){if(1&l){const d=t.EpF();t.ynx(0),t.TgZ(1,"div",13),t.TgZ(2,"button",14),t.NdJ("click",function(){t.CHM(d);const Y=t.oxw().index;return t.oxw().remove(Y)}),t._UZ(3,"i",15),t.qZA(),t.qZA(),t.BQk()}}function V(l,p){if(1&l&&(t.TgZ(0,"nz-form-item"),t.TgZ(1,"div",6),t.TgZ(2,"div",0),t._UZ(3,"formly-field",7),t.qZA(),t.YNc(4,C,4,1,"ng-container",1),t.YNc(5,j,4,0,"ng-container",1),t.qZA(),t.qZA()),2&l){const d=p.$implicit,w=p.index;t.xp6(2),t.Q6J("ngClass",d.model[w]?"selected-field-col":"default-field-col"),t.xp6(1),t.Q6J("field",d),t.xp6(1),t.Q6J("ngIf",d.model[w]),t.xp6(1),t.Q6J("ngIf",!d.model[w])}}const L=function(l){return{hidden:l}},K={name:"multi-field",component:(()=>{class l extends e.hv{constructor(){super(),this.defaultOptions={templateOptions:{maxCount:0}}}get errorState(){return this.showError?"error":""}addField(d){d&&d.preventDefault(),this.add()}ngOnInit(){this.to.add=this.add.bind(this),this.to.remove=this.remove.bind(this)}}return l.\u0275fac=function(d){return new(d||l)},l.\u0275cmp=t.Xpm({type:l,selectors:[["cvc-multi-field-type"]],features:[t.qOj],decls:3,vars:5,consts:[[3,"ngClass"],[4,"ngIf"],[4,"ngFor","ngForOf"],[3,"nzValidateStatus"],["nzNoAnimation","",1,"editable-tag",3,"click"],["nz-icon","","nzType","plus"],["ngClass","field-display"],[3,"field"],[1,"close-tag"],["nz-icon","","nzType","close",3,"click"],["class","field-add-btn",4,"ngIf"],[1,"field-add-btn"],["class","editable-tag","nzNoAnimation","",3,"click",4,"ngIf"],[1,"field-cancel-btn"],["nz-button","","nzBlock","","nzType","default","nzSize","small","nzDanger","",3,"click"],["nz-icon","","nzType","close"]],template:function(d,w){1&d&&(t.TgZ(0,"div",0),t.YNc(1,a,5,2,"nz-form-item",1),t.YNc(2,V,6,4,"nz-form-item",2),t.qZA()),2&d&&(t.Q6J("ngClass",t.VKq(3,L,!0===w.to.hidden)),t.xp6(1),t.Q6J("ngIf",0===(null==w.field.fieldGroup?null:w.field.fieldGroup.length)),t.xp6(1),t.Q6J("ngForOf",w.field.fieldGroup))},directives:[T.mk,T.O5,Z.SK,x.Nx,Z.t3,x.Fd,v.j,I.Ls,M.w,T.sg,e.cw,N.ix,A.dQ],styles:["[_nghost-%COMP%]{display:block}nz-form-item[_ngcontent-%COMP%]{margin-bottom:.25em}nz-form-item[_ngcontent-%COMP%]:last-child{margin-bottom:16px}.hidden[_ngcontent-%COMP%]{display:none}.editable-tag[_ngcontent-%COMP%]{background:#ffffff;border-style:dashed;cursor:pointer}.field-display[_ngcontent-%COMP%]{margin-top:.5em;display:inline-block} > nz-form-item[_ngcontent-%COMP%]{margin-bottom:0}.selected-field-col[_ngcontent-%COMP%]{display:inline-block}.default-field-col[_ngcontent-%COMP%]{display:inline-block;width:calc(100% - (2*(10px + 1em)))}.field-add-btn[_ngcontent-%COMP%]{display:inline-block;margin-left:1em}.close-tag[_ngcontent-%COMP%]{margin-left:-9px;cursor:pointer}.field-cancel-btn[_ngcontent-%COMP%]{display:inline-block;margin-left:1em;width:calc(20px + 1em)}"]}),l})()};function U(l,p){if(1&l&&t._UZ(0,"formly-validation-message",3),2&l){const d=t.oxw();t.Q6J("field",d.field)}}const s={name:"cvc-field-errors",component:(()=>{class l extends e.n2{get errorState(){return this.showError?"error":""}}return l.\u0275fac=function(){let p;return function(w){return(p||(p=t.n5z(l)))(w||l)}}(),l.\u0275cmp=t.Xpm({type:l,selectors:[["cvc-field-errors-wrapper"]],features:[t.qOj],decls:7,vars:3,consts:[[3,"nzValidateStatus","nzErrorTip"],["fieldComponent",""],["errorTpl",""],[3,"field"]],template:function(d,w){if(1&d&&(t.TgZ(0,"nz-form-control",0),t.TgZ(1,"p"),t._uU(2),t.qZA(),t.GkF(3,null,1),t.YNc(5,U,1,1,"ng-template",null,2,t.W1O),t.qZA()),2&d){const Y=t.MAs(6);t.Q6J("nzValidateStatus",w.errorState)("nzErrorTip",Y),t.xp6(2),t.hij("errorState: ",w.errorState,"")}},directives:[Z.t3,x.Fd,e.u_],encapsulation:2,changeDetection:0}),l})()};let i=(()=>{class l{}return l.\u0275fac=function(d){return new(d||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({imports:[[T.ez,b.UX,x.U5,e.X0.forChild({wrappers:[s]})]]}),l})();var g=r(5109);let F=(()=>{class l{}return l.\u0275fac=function(d){return new(d||l)},l.\u0275mod=t.oAB({type:l}),l.\u0275inj=t.cJS({imports:[[T.ez,b.u5,e.X0.forChild({types:[K]}),b.UX,i,x.U5,E.o7,I.PV,N.sL,g.s,v.X]]}),l})()},3773:(k,B,r)=>{r.d(B,{g:()=>pe});var T=r(9808),b=r(8776),e=r(5e3),x=r(4182),E=r(712),I=r(6530),t=r(444);const Z={sourceType:void 0,citationId:void 0};let v=(()=>{class o{constructor(){this.sourceSelected=new e.vpe,this.model=Z,this.form=new x.cw({}),this.options={},this.fields=[{key:"id"},{key:"citation",defaultValue:""},{key:"sourceType",type:"select",className:"source-type-field",defaultValue:E.yic.Pubmed,templateOptions:{required:!0,placeholder:"Select Type",options:(0,t.o6)(E.yic).map((n,u)=>({value:n,label:(0,I.c)(n)}))}},{key:"citationId",className:"citation-id-field",type:"source-selector-typeahead",templateOptions:{maxLength:10,required:!0,triggerParentSubmit:()=>{this.onSubmit()}},expressionProperties:{"templateOptions.disabled":"!model.sourceType","templateOptions.placeholder":'!model.sourceType ? "Select source type before searching" : "Search " + model.sourceType + " sources"',"templateOptions.sourceType":"model.sourceType","templateOptions.sourceTypeKey":n=>{if(n.sourceType)return(0,t.o6)(E.yic).getKeyOrThrow(n.sourceType)}}},{type:"cvc-multi-field-add-btn",className:"add-button",templateOptions:{label:"Add Source"},expressionProperties:{"templateOptions.disabled":"!model.citationId"}}]}ngOnInit(){}onSubmit(){console.log("source-select form submitted."),this.sourceSelected.emit(this.model)}ngOnDestroy(){console.log("source-selector onDestroy called.")}}return o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=e.Xpm({type:o,selectors:[["cvc-source-selector"]],outputs:{sourceSelected:"sourceSelected"},decls:2,vars:5,consts:[["nz-form","","nzLayout","horizontal",3,"formGroup","ngSubmit"],[1,"formly-form",3,"model","fields","options","form","modelChange"]],template:function(n,u){1&n&&(e.TgZ(0,"form",0),e.NdJ("ngSubmit",function(){return u.onSubmit()}),e.TgZ(1,"formly-form",1),e.NdJ("modelChange",function(Q){return u.model=Q}),e.qZA(),e.qZA()),2&n&&(e.Q6J("formGroup",u.form),e.xp6(1),e.Q6J("model",u.model)("fields",u.fields)("options",u.options)("form",u.form))},directives:[x._Y,x.JL,x.sg,b.T7],styles:[":host{display:block}cvc-source-input .formly-form{width:100%}cvc-source-input .source-type-field{display:inline-block;width:10em}cvc-source-input .citation-id-field{display:inline-block;margin-left:.5em;width:calc(100% - 19em)}cvc-source-input .add-button{display:inline-block;margin-left:.5em;width:8em}\n"],encapsulation:2}),o})();var M=r(6906);function N(o,m){if(1&o){const n=e.EpF();e.ynx(0),e.TgZ(1,"cvc-source-selector",2),e.NdJ("sourceSelected",function(_){return e.CHM(n),e.oxw().onSourceSelected(_)}),e.qZA(),e.BQk()}}function A(o,m){if(1&o&&e._UZ(0,"cvc-source-tag",3),2&o){const n=e.oxw();e.Q6J("source",n.formControl.value)}}const z={name:"source-input",component:(()=>{class o extends b.fS{constructor(){super()}onSourceSelected(n){console.log(n),this.formControl.setValue(n)}}return o.\u0275fac=function(n){return new(n||o)},o.\u0275cmp=e.Xpm({type:o,selectors:[["cvc-source-input-type"]],features:[e.qOj],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["sourceListItem",""],[3,"sourceSelected"],[3,"source"]],template:function(n,u){if(1&n&&(e.YNc(0,N,2,0,"ng-container",0),e.YNc(1,A,1,1,"ng-template",null,1,e.W1O)),2&n){const _=e.MAs(2);e.Q6J("ngIf",!(null!=u.formControl.value&&u.formControl.value.id))("ngIfElse",_)}},directives:[T.O5,v,M.T],styles:[""],changeDetection:0}),o})()};var S=r(9139),C=r(6042),j=r(8054),V=r(537),L=r(8144),$=r(2359),K=r(1894),U=r(4546),W=r(822),s=r(2643),i=r(2683);function g(o,m){if(1&o&&e._UZ(0,"nz-alert",6),2&o){e.oxw();const n=e.MAs(3);e.Q6J("nzMessage",n)}}function F(o,m){if(1&o&&(e._uU(0," Found citation: "),e.TgZ(1,"em"),e._uU(2),e.qZA()),2&o){const n=e.oxw(3);e.xp6(2),e.Oqu(n.foundCitation)}}function l(o,m){1&o&&(e.ynx(0),e.YNc(1,g,1,1,"nz-alert",4),e.YNc(2,F,3,1,"ng-template",null,5,e.W1O),e.BQk())}function p(o,m){if(1&o&&e._UZ(0,"nz-alert",9),2&o){e.oxw();const n=e.MAs(3);e.Q6J("nzMessage",n)}}function d(o,m){if(1&o&&(e._uU(0," '"),e.TgZ(1,"em"),e._uU(2),e.qZA(),e._uU(3,"' created. ")),2&o){const n=e.oxw(3);e.xp6(2),e.Oqu(n.foundCitation)}}function w(o,m){1&o&&(e.ynx(0),e.YNc(1,p,1,1,"nz-alert",7),e.YNc(2,d,4,1,"ng-template",null,8,e.W1O),e.BQk())}function Y(o,m){if(1&o&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",10),e.qZA()),2&o){const n=e.oxw(2);e.xp6(1),e.Q6J("errors",n.createErrors)}}function D(o,m){if(1&o){const n=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(_){return e.CHM(n),e.oxw(3).onCreateSourceStub(_)}),e._uU(1," Create\xa0'"),e.TgZ(2,"em"),e._uU(3),e.qZA(),e._uU(4,"'\xa0 CIViC Source "),e.qZA()}if(2&o){const n=e.oxw(3);e.Q6J("nzLoading",n.isCreating),e.xp6(3),e.Oqu(n.foundCitation)}}function ne(o,m){1&o&&(e.ynx(0),e.YNc(1,D,5,2,"button",11),e.BQk())}function oe(o,m){if(1&o){const n=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(_){return e.CHM(n),e.oxw(3).onAcceptSource(_)}),e._uU(1," Add Source to List "),e.qZA()}}function re(o,m){1&o&&(e.ynx(0),e.YNc(1,oe,2,0,"button",13),e.BQk())}function y(o,m){if(1&o&&(e.ynx(0),e.TgZ(1,"nz-space",2),e.YNc(2,l,4,0,"ng-container",3),e.YNc(3,w,4,0,"ng-container",3),e.YNc(4,Y,2,1,"nz-form-item",3),e.YNc(5,ne,2,0,"ng-container",3),e.YNc(6,re,2,0,"ng-container",3),e.qZA(),e.BQk()),2&o){const n=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===n.createSuccess&&0===n.createErrors.length),e.xp6(1),e.Q6J("ngIf",!0===n.createSuccess),e.xp6(1),e.Q6J("ngIf",n.createErrors.length>0),e.xp6(1),e.Q6J("ngIf",!1===n.createSuccess),e.xp6(1),e.Q6J("ngIf",!0===n.createSuccess)}}function h(o,m){if(1&o&&(e.TgZ(0,"span",16),e._UZ(1,"i",17),e._uU(2),e.qZA()),2&o){const n=e.oxw(3);e.xp6(2),e.hij(" Source not known to CIViC, fetch citation from ",n.sourceTypeKey,"? ")}}function c(o,m){1&o&&(e.ynx(0),e.YNc(1,h,3,1,"span",15),e.BQk())}function f(o,m){if(1&o&&e._uU(0),2&o){const n=e.oxw(4);e.AsE(" Citation not found for ",n.sourceTypeKey,": ",n.citationId,". ")}}function O(o,m){if(1&o&&(e.TgZ(0,"span"),e._UZ(1,"nz-alert",19),e.YNc(2,f,1,2,"ng-template",null,20,e.W1O),e.qZA()),2&o){const n=e.MAs(3);e.xp6(1),e.Q6J("nzMessage",n)}}function P(o,m){1&o&&(e.ynx(0),e.YNc(1,O,4,1,"span",18),e.BQk())}function J(o,m){if(1&o){const n=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(_){return e.CHM(n),e.oxw(2).onExistenceQuery(_)}),e._uU(1," Fetch Citation for\xa0"),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e.qZA()}if(2&o){const n=e.oxw(2);e.Q6J("nzLoading",n.isChecking),e.xp6(3),e.AsE("",n.sourceTypeKey," ",n.citationId,"")}}function X(o,m){if(1&o&&(e.TgZ(0,"nz-space",2),e.YNc(1,c,2,0,"ng-container",3),e.YNc(2,P,2,0,"ng-container",3),e.YNc(3,J,4,3,"button",11),e.qZA()),2&o){const n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.showPrompt),e.xp6(1),e.Q6J("ngIf",n.existenceFail)}}let G=(()=>{class o{constructor(n,u,_){this.existenceCheckQuery=n,this.createSourceStubQuery=u,this.changeDetectorRef=_,this.modelUpdate=new e.vpe,this.citationIdChange=new e.vpe,this.sourceTypeChange=new e.vpe,this.showPrompt=!0,this.isChecking=!1,this.existenceFail=!1,this.existenceError=[],this.foundCitation=void 0,this.isCreating=!1,this.createSuccess=!1,this.createErrors=[]}set sourceType(n){this._sourceType=n,this.sourceTypeKey=(0,t.o6)(E.yic).getKeyOrThrow(n)}get sourceType(){return this._sourceType}onExistenceQuery(n){n&&n.preventDefault(),this.isChecking=!0,this.foundCitation=void 0,this.existenceCheckQuery.fetch({sourceType:this.sourceType,citationId:+this.citationId}).pipe((0,V.x)(()=>{this.isChecking=!1,this.changeDetectorRef.detectChanges()})).subscribe({next:({data:{remoteCitation:u}})=>{null!==u?this.foundCitation=u:(this.showPrompt=!1,this.existenceFail=!0)},error:u=>{this.showPrompt=!1,this.existenceError=u.graphQLErrors.map(_=>_.message)},complete:()=>{this.existenceError=[]}})}onCreateSourceStub(n){n&&n.preventDefault(),this.isCreating=!0,this.createSuccess=!1,this.createSourceStubQuery.mutate({input:{citationId:+this.citationId,sourceType:this.sourceType}}).pipe((0,V.x)(()=>{this.isCreating=!1,this.changeDetectorRef.detectChanges()})).subscribe({next:({data:u})=>{var _;console.log(u);const Q=null===(_=null==u?void 0:u.addRemoteCitation)||void 0===_?void 0:_.newSource;this.sourceStub=Q,this.createSuccess=!0},error:u=>{this.showPrompt=!1,this.createSuccess=!1,this.createErrors=u.graphQLErrors.map(_=>_.message)},complete:()=>{this.createErrors=[]}})}onAcceptSource(n){n&&n.preventDefault(),console.log("source accepted");const u=Object.assign(Object.assign({},this.model),{id:this.sourceStub.id,citation:this.foundCitation,citationId:this.citationId});this.modelUpdate.emit(u)}ngAfterContentInit(){console.log("model")}}return o.\u0275fac=function(n){return new(n||o)(e.Y36(E.fpJ),e.Y36(E.JQ3),e.Y36(e.sBO))},o.\u0275cmp=e.Xpm({type:o,selectors:[["cvc-source-loader"]],inputs:{model:"model",citationId:"citationId",sourceType:"sourceType"},outputs:{modelUpdate:"modelUpdate",citationIdChange:"citationIdChange",sourceTypeChange:"sourceTypeChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["fetchCitation",""],["nzDirection","vertical"],[4,"ngIf"],["nzType","info","nzShowIcon","",3,"nzMessage",4,"nzSpaceItem"],["foundCitationMsg",""],["nzType","info","nzShowIcon","",3,"nzMessage"],["nzType","success","nzShowIcon","",3,"nzMessage",4,"nzSpaceItem"],["createdMsg",""],["nzType","success","nzShowIcon","",3,"nzMessage"],[3,"errors"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"nzLoading","click",4,"nzSpaceItem"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"nzLoading","click"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"click",4,"nzSpaceItem"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"click"],["nz-typography","",4,"nzSpaceItem"],["nz-typography",""],["nz-icon","","nzType","info-circle","nzTheme","twotone"],[4,"nzSpaceItem"],["nzType","warning","nzShowIcon","",3,"nzMessage"],["existenceFail",""]],template:function(n,u){if(1&n&&(e.YNc(0,y,7,5,"ng-container",0),e.YNc(1,X,4,2,"ng-template",null,1,e.W1O)),2&n){const _=e.MAs(2);e.Q6J("ngIf",u.foundCitation)("ngIfElse",_)}},directives:[T.O5,L.NU,L.$1,$.r,K.SK,U.Nx,W.V,C.ix,s.dQ,i.w],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-space-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}"]}),o})();function H(o,m){if(1&o&&(e.TgZ(0,"nz-option",4),e._uU(1),e.qZA()),2&o){const n=m.$implicit;e.Q6J("nzLabel",n.label)("nzValue",n.value),e.xp6(1),e.AsE(" ",n.source.citation," (",n.source.citationId,") ")}}function R(o,m){if(1&o&&(e.TgZ(0,"div",5),e._uU(1," Citation: "),e.TgZ(2,"span",6),e._uU(3),e.qZA(),e.qZA()),2&o){const n=e.oxw();e.xp6(3),e.hij(" ",n.model.citation," ")}}function te(o,m){if(1&o&&(e.TgZ(0,"div",5),e._uU(1),e.qZA()),2&o){const n=e.oxw(2);e.xp6(1),e.hij(" Enter a ",n.to.sourceTypeKey," citation ID to search CIViC sources ")}}function q(o,m){if(1&o){const n=e.EpF();e.TgZ(0,"cvc-source-loader",10),e.NdJ("modelUpdate",function(_){return e.CHM(n),e.oxw(2).onModelUpdated(_)})("sourceTypeChange",function(_){return e.CHM(n),e.oxw(2).model.sourceType=_})("citationIdChange",function(_){return e.CHM(n),e.oxw(2).to.fieldValue=_}),e.qZA()}if(2&o){const n=e.oxw(2);e.Q6J("model",n.model)("sourceType",n.model.sourceType)("citationId",n.to.fieldValue)}}function ee(o,m){if(1&o&&(e.ynx(0,7),e.YNc(1,te,2,1,"div",8),e.YNc(2,q,1,3,"cvc-source-loader",9),e.BQk()),2&o){const n=e.oxw();e.Q6J("ngSwitch",n.to.fieldLength>0&&n.to.fieldLength>=n.to.minLengthSearch),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0)}}const se={name:"source-selector-typeahead",component:(()=>{class o extends b.fS{constructor(n,u){super(),this.sourceTypeaheadQuery=n,this.changeDetectorRef=u,this.selectedValue=null,this.nzFilterOption=()=>!0,this.defaultOptions={templateOptions:{placeholder:"Search",sourceType:void 0,showArrow:!1,onSearch:()=>{},filterOption:()=>{},modelChange:()=>{},triggerParentSubmit:()=>{},minLengthSearch:1,fieldLength:0,fieldValue:"",optionList:[]}}}ngAfterViewInit(){this.to.filterOption=()=>!0,this.to.modelChange=n=>{if(this.to.optionList.length>0){const{source:u}=this.to.optionList.find(_=>_.value===+n);u?this.form.patchValue({citation:u.citation,id:u.id}):console.error("Could not find selected citation in list?")}},this.to.onSearch=n=>{this.to.fieldValue=n,this.to.fieldLength=n.length,!(n.lengththis.to.maxLength)&&this.sourceTypeaheadQuery.fetch({sourceType:this.to.sourceType,partialCitationId:+n},{fetchPolicy:"network-only"}).subscribe(({data:{sourceTypeahead:u}})=>{this.to.optionList=u.map(_=>({value:_.citationId,label:_.citationId,source:_})),this.changeDetectorRef.detectChanges()})}}onModelUpdated(n){this.form.patchValue(n),this.changeDetectorRef.detectChanges(),this.to.triggerParentSubmit()}}return o.\u0275fac=function(n){return new(n||o)(e.Y36(E.k2T),e.Y36(e.sBO))},o.\u0275cmp=e.Xpm({type:o,selectors:[["cvc-source-selector-typeahead-type"]],features:[e.qOj],decls:5,vars:8,consts:[["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzNotFoundContent","nzShowArrow","nzFilterOption","ngModelChange","nzOnSearch"],["nzCustomContent","",3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["class","ant-form-item-explain",4,"ngIf"],["sourceLoader",""],["nzCustomContent","",3,"nzLabel","nzValue"],[1,"ant-form-item-explain"],[1,"source-citation"],[3,"ngSwitch"],["class","ant-form-item-explain",4,"ngSwitchCase"],[3,"model","sourceType","citationId","modelUpdate","sourceTypeChange","citationIdChange",4,"ngSwitchCase"],[3,"model","sourceType","citationId","modelUpdate","sourceTypeChange","citationIdChange"]],template:function(n,u){if(1&n&&(e.TgZ(0,"nz-select",0),e.NdJ("ngModelChange",function(Q){return u.to.modelChange(Q)})("nzOnSearch",function(Q){return u.to.onSearch(Q)}),e.YNc(1,H,2,4,"nz-option",1),e.qZA(),e.YNc(2,R,4,1,"div",2),e.YNc(3,ee,3,3,"ng-template",null,3,e.W1O)),2&n){const _=e.MAs(4);e.Q6J("formControl",u.formControl)("formlyAttributes",u.field)("nzPlaceHolder",u.to.placeholder?u.to.placeholder:null)("nzNotFoundContent",_)("nzShowArrow",u.to.showArrow)("nzFilterOption",u.to.filterOption),e.xp6(1),e.Q6J("ngForOf",u.to.optionList),e.xp6(1),e.Q6J("ngIf",u.model.citation.length>0)}},directives:[j.Vq,x.JJ,x.oH,b.VQ,T.sg,j.Ip,T.O5,T.RF,T.n9,G],styles:["[_nghost-%COMP%]{display:block}.loading-icon[_ngcontent-%COMP%]{margin-right:8px}.source-citation[_ngcontent-%COMP%]{font-style:oblique}"],changeDetection:0}),o})(),wrappers:["form-field"]};var ce=r(7008);let ie=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[T.ez,L.zf,$.L,U.U5,ce.B,C.sL]]}),o})(),le=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[T.ez,x.UX,b.X0.forChild({types:[se]}),j.LV,ie]]}),o})();var ae=r(8979);let ue=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[T.ez,x.UX,b.X0,S.u,C.sL,ie,le,ae.N]]}),o})();var de=r(9779);let pe=(()=>{class o{}return o.\u0275fac=function(n){return new(n||o)},o.\u0275mod=e.oAB({type:o}),o.\u0275inj=e.cJS({imports:[[T.ez,b.X0.forChild({types:[z]}),ue,de.s]]}),o})()},7075:(k,B,r)=>{r.d(B,{l:()=>S});var T=r(9808),b=r(8776),e=r(5e3),x=r(9180),E=r(8227),I=r(6042),t=r(2643),Z=r(1793),v=r(2683);const N={name:"org-submit-button",component:(()=>{class C extends b.fS{constructor(){super(),this._selectedOrg=void 0,this.defaultOptions={templateOptions:{submitLabel:"Submit",submitSize:"small"}}}get selectedOrg(){return this._selectedOrg}set selectedOrg(V){this._selectedOrg=V,this.formControl.setValue(V)}}return C.\u0275fac=function(V){return new(V||C)},C.\u0275cmp=e.Xpm({type:C,selectors:[["cvc-submit-button-type"]],features:[e.qOj],decls:5,vars:4,consts:[[3,"selectedOrg","nzSize","selectedOrgChange"],["orgButton",""],["type","submit","nz-button","","cvcOrgSelectorBtn","","nzType","primary",3,"disabled","click"]],template:function(V,L){if(1&V){const $=e.EpF();e.TgZ(0,"cvc-form-buttons"),e.TgZ(1,"cvc-org-selector-btn-group",0,1),e.NdJ("selectedOrgChange",function(U){return L.selectedOrg=U}),e.TgZ(3,"button",2),e.NdJ("click",function(){return e.CHM($),e.MAs(2).refreshViewer()}),e._uU(4),e.qZA(),e.qZA(),e.qZA()}2&V&&(e.xp6(1),e.Q6J("selectedOrg",L.selectedOrg)("nzSize",L.to.submitSize),e.xp6(2),e.Q6J("disabled",!L.form.valid),e.xp6(1),e.hij(" ",L.to.submitLabel," "))},directives:[x.Z,E.q,I.ix,t.dQ,Z.m,v.w],styles:[""],changeDetection:0}),C})()};var A=r(4375),a=r(1825),z=r(4182);let S=(()=>{class C{}return C.\u0275fac=function(V){return new(V||C)},C.\u0275mod=e.oAB({type:C}),C.\u0275inj=e.cJS({imports:[[T.ez,z.UX,b.X0.forChild({types:[N]}),I.sL,A.R,a.A]]}),C})()},5472:(k,B,r)=>{r.d(B,{r:()=>A});var T=r(9808),b=r(6949),e=r(8776),x=r(7484),E=r(5482),I=r(1894),t=r(5109),Z=r(6789),v=r(5e3);const N={wrappers:[{name:"form-container",component:(()=>{class a extends e.n2{}return a.\u0275fac=function(){let z;return function(C){return(z||(z=v.n5z(a)))(C||a)}}(),a.\u0275cmp=v.Xpm({type:a,selectors:[["cvc-form-container-wrapper"]],features:[v.qOj],decls:5,vars:1,consts:[["nzSpan","24"],["nzSize","default",3,"nzTitle"],["fieldComponent",""]],template:function(S,C){1&S&&(v.TgZ(0,"nz-row"),v.TgZ(1,"nz-col",0),v.TgZ(2,"nz-card",1),v.GkF(3,null,2),v.qZA(),v.qZA(),v.qZA()),2&S&&(v.xp6(2),v.Q6J("nzTitle",C.to.label))},directives:[I.SK,I.t3,x.bd],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),a})()}]};let A=(()=>{class a{}return a.\u0275fac=function(S){return new(S||a)},a.\u0275mod=v.oAB({type:a}),a.\u0275inj=v.cJS({imports:[[T.ez,b.WG,e.X0.forChild(N),I.Jb,x.vh,E.cD,Z._,t.s]]}),a})()},444:(k,B,r)=>{function T(s){return s!==String(parseFloat(s))}r.d(B,{o6:()=>W});var E=Object.getOwnPropertyNames?function b(s){return Object.getOwnPropertyNames(s).filter(function(i){return s.propertyIsEnumerable(i)&&T(i)})}:Object.keys?function e(s){return Object.keys(s).filter(T)}:function x(s){var i=[];for(var g in s)s.hasOwnProperty(g)&&s.propertyIsEnumerable(g)&&T(g)&&i.push(g);return i},I=function(){function s(i){this.enumObj=i,this.keysList=Object.freeze(E(i));for(var g=this.keysList.length,F=new Array(g),l=new Map,p=0;p=g.length,value:g.keysList[F]};return++F,p}})[Symbol.iterator]=function(){return this},i},s.prototype.values=function(){var i,g=this,F=0;return(i={next:function(){var p={done:F>=g.length,value:g.valuesList[F]};return++F,p}})[Symbol.iterator]=function(){return this},i},s.prototype.entries=function(){var i,g=this,F=0;return(i={next:function(){var p={done:F>=g.length,value:g[F]};return++F,p}})[Symbol.iterator]=function(){return this},i},s.prototype[Symbol.iterator]=function(){return this.entries()},s.prototype.forEach=function(i,g){for(var F=this.length,l=0;l{r.d(B,{$:()=>oe,j:()=>re});var T=r(655),b=r(9808),e=r(5e3),x=r(2654),E=r(839),I=r(8929),t=r(6787),Z=r(3753),v=r(3489),M=r(353);const N={leading:!0,trailing:!1};class C{constructor(h,c,f,O){this.duration=h,this.scheduler=c,this.leading=f,this.trailing=O}call(h,c){return c.subscribe(new j(h,this.duration,this.scheduler,this.leading,this.trailing))}}class j extends v.L{constructor(h,c,f,O,P){super(h),this.duration=c,this.scheduler=f,this.leading=O,this.trailing=P,this._hasTrailingValue=!1,this._trailingValue=null}_next(h){this.throttled?this.trailing&&(this._trailingValue=h,this._hasTrailingValue=!0):(this.add(this.throttled=this.scheduler.schedule(V,this.duration,{subscriber:this})),this.leading?this.destination.next(h):this.trailing&&(this._trailingValue=h,this._hasTrailingValue=!0))}_complete(){this._hasTrailingValue?(this.destination.next(this._trailingValue),this.destination.complete()):this.destination.complete()}clearThrottle(){const h=this.throttled;h&&(this.trailing&&this._hasTrailingValue&&(this.destination.next(this._trailingValue),this._trailingValue=null,this._hasTrailingValue=!1),h.unsubscribe(),this.remove(h),this.throttled=null)}}function V(y){const{subscriber:h}=y;h.clearThrottle()}var L=r(7625),$=r(4850),K=r(9439),U=r(1721),W=r(4090),s=r(925),i=r(5577),g=r(226);const F=["fixedEl"],l=["*"];var p=(()=>{return(y=p||(p={})).resize="resize",y.scroll="scroll",y.touchstart="touchstart",y.touchmove="touchmove",y.touchend="touchend",y.pageshow="pageshow",y.load="LOAD",p;var y})();function w(y){return function d(y){return"undefined"!=typeof window&&y===window}(y)?{top:0,left:0,bottom:0}:y.getBoundingClientRect()}const D="ant-affix";let oe=(()=>{class y{constructor(c,f,O,P,J,X,G,H,R,te){this.nzConfigService=O,this.scrollSrv=P,this.ngZone=J,this.platform=X,this.renderer=G,this.nzResizeObserver=H,this.cdr=R,this.directionality=te,this._nzModuleName="affix",this.nzChange=new e.vpe,this.dir="ltr",this.positionChangeSubscription=x.w.EMPTY,this.offsetChanged$=new E.t(1),this.destroy$=new I.xQ,this.placeholderNode=c.nativeElement,this.document=f}get target(){const c=this.nzTarget;return("string"==typeof c?this.document.querySelector(c):c)||window}ngOnInit(){var c;null===(c=this.directionality.change)||void 0===c||c.pipe((0,L.R)(this.destroy$)).subscribe(f=>{this.dir=f,this.registerListeners(),this.updatePosition({}),this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnChanges(c){const{nzOffsetBottom:f,nzOffsetTop:O,nzTarget:P}=c;(f||O)&&this.offsetChanged$.next(),P&&this.registerListeners()}ngAfterViewInit(){this.registerListeners()}ngOnDestroy(){this.removeListeners()}registerListeners(){if(!this.platform.isBrowser)return;this.removeListeners();const c=this.target===window?this.document.body:this.target;this.positionChangeSubscription=this.ngZone.runOutsideAngular(()=>(0,t.T)(...Object.keys(p).map(f=>(0,Z.R)(this.target,f)),this.offsetChanged$.pipe((0,$.U)(()=>({}))),this.nzResizeObserver.observe(c)).pipe(function S(y,h=M.P,c=N){return f=>f.lift(new C(y,h,c.leading,c.trailing))}(20,void 0,{trailing:!0}),(0,L.R)(this.destroy$)).subscribe(f=>this.updatePosition(f))),this.timeout=setTimeout(()=>this.updatePosition({}))}removeListeners(){clearTimeout(this.timeout),this.positionChangeSubscription.unsubscribe(),this.destroy$.next(),this.destroy$.complete()}getOffset(c,f){const O=c.getBoundingClientRect(),P=w(f),J=this.scrollSrv.getScroll(f,!0),X=this.scrollSrv.getScroll(f,!1),G=this.document.body;return{top:O.top-P.top+J-(G.clientTop||0),left:O.left-P.left+X-(G.clientLeft||0),width:O.width,height:O.height}}setAffixStyle(c,f){const O=this.affixStyle,P=this.target===window;if("scroll"===c.type&&O&&f&&P||(0,U.wU)(O,f))return;const J=!!f,X=this.fixedEl.nativeElement;this.renderer.setStyle(X,"cssText",(0,U.GM)(f)),this.affixStyle=f,J?X.classList.add(D):X.classList.remove(D),this.updateRtlClass(),(f&&!O||!f&&O)&&this.nzChange.emit(J)}setPlaceholderStyle(c){(0,U.wU)(c,this.placeholderStyle)||(this.renderer.setStyle(this.placeholderNode,"cssText",(0,U.GM)(c)),this.placeholderStyle=c)}syncPlaceholderStyle(c){if(!this.affixStyle)return;this.renderer.setStyle(this.placeholderNode,"cssText",""),this.placeholderStyle=void 0;const f={width:this.placeholderNode.offsetWidth,height:this.fixedEl.nativeElement.offsetHeight};this.setAffixStyle(c,Object.assign(Object.assign({},this.affixStyle),f)),this.setPlaceholderStyle(f)}updatePosition(c){if(!this.platform.isBrowser)return;const f=this.target;let O=this.nzOffsetTop;const P=this.scrollSrv.getScroll(f,!0),J=this.getOffset(this.placeholderNode,f),X=this.fixedEl.nativeElement,G={width:X.offsetWidth,height:X.offsetHeight},H={top:!1,bottom:!1};"number"!=typeof O&&"number"!=typeof this.nzOffsetBottom?(H.top=!0,O=0):(H.top="number"==typeof O,H.bottom="number"==typeof this.nzOffsetBottom);const R=w(f),te=f.innerHeight||f.clientHeight;if(P>=J.top-O&&H.top){const q=J.width;this.setAffixStyle(c,{position:"fixed",top:R.top+O,left:R.left+J.left,width:q}),this.setPlaceholderStyle({width:q,height:G.height})}else if(P<=J.top+G.height+this.nzOffsetBottom-te&&H.bottom){const q=f===window?0:window.innerHeight-R.bottom,ee=J.width;this.setAffixStyle(c,{position:"fixed",bottom:q+this.nzOffsetBottom,left:R.left+J.left,width:ee}),this.setPlaceholderStyle({width:ee,height:J.height})}else c.type===p.resize&&this.affixStyle&&"fixed"===this.affixStyle.position&&this.placeholderNode.offsetWidth?this.setAffixStyle(c,Object.assign(Object.assign({},this.affixStyle),{width:this.placeholderNode.offsetWidth})):this.setAffixStyle(c),this.setPlaceholderStyle();"resize"===c.type&&this.syncPlaceholderStyle(c)}updateRtlClass(){const c=this.fixedEl.nativeElement;"rtl"===this.dir&&c.classList.contains(D)?c.classList.add(`${D}-rtl`):c.classList.remove(`${D}-rtl`)}}return y.\u0275fac=function(c){return new(c||y)(e.Y36(e.SBq),e.Y36(b.K0),e.Y36(K.jY),e.Y36(W.MF),e.Y36(e.R0b),e.Y36(s.t4),e.Y36(e.Qsj),e.Y36(i.D3),e.Y36(e.sBO),e.Y36(g.Is,8))},y.\u0275cmp=e.Xpm({type:y,selectors:[["nz-affix"]],viewQuery:function(c,f){if(1&c&&e.Gf(F,7),2&c){let O;e.iGM(O=e.CRH())&&(f.fixedEl=O.first)}},inputs:{nzTarget:"nzTarget",nzOffsetTop:"nzOffsetTop",nzOffsetBottom:"nzOffsetBottom"},outputs:{nzChange:"nzChange"},exportAs:["nzAffix"],features:[e.TTD],ngContentSelectors:l,decls:3,vars:0,consts:[["fixedEl",""]],template:function(c,f){1&c&&(e.F$t(),e.TgZ(0,"div",null,0),e.Hsn(2),e.qZA())},encapsulation:2,changeDetection:0}),(0,T.gn)([(0,K.oS)(),(0,U.Rn)(void 0)],y.prototype,"nzOffsetTop",void 0),(0,T.gn)([(0,K.oS)(),(0,U.Rn)(void 0)],y.prototype,"nzOffsetBottom",void 0),y})(),re=(()=>{class y{}return y.\u0275fac=function(c){return new(c||y)},y.\u0275mod=e.oAB({type:y}),y.\u0275inj=e.cJS({imports:[[g.vT,b.ez,s.ud]]}),y})()}}]);
\ No newline at end of file
diff --git a/server/public/7012.25a2cf60fc1238c7.js b/server/public/7012.2a1cc8debc733727.js
similarity index 91%
rename from server/public/7012.25a2cf60fc1238c7.js
rename to server/public/7012.2a1cc8debc733727.js
index a3d771c7d..db1ab39e3 100644
--- a/server/public/7012.25a2cf60fc1238c7.js
+++ b/server/public/7012.2a1cc8debc733727.js
@@ -1 +1 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7012],{7012:(Re,C,a)=>{a.r(C),a.d(C,{VariantsReviseModule:()=>ze});var p=a(9808),d=a(325),m=a(373),R=a(1059),A=a(4850),e=a(5e3),u=a(712),P=a(9350),F=a(8992),f=a(1945),y=a(647),g=a(1894),Z=a(8616),v=a(6949);function N(n,r){1&n&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function B(n,r){1&n&&(e.TgZ(0,"nz-row",8),e.TgZ(1,"div",9),e._UZ(2,"cvc-login-prompt"),e.qZA(),e.qZA())}function J(n,r){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2),e.TgZ(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e._uU(6),e.qZA(),e.TgZ(7,"nz-page-header-subtitle"),e._uU(8),e.qZA(),e.TgZ(9,"nz-page-header-content"),e.TgZ(10,"div",5),e.YNc(11,N,2,0,"div",6),e.ALo(12,"ngrxPush"),e.YNc(13,B,3,0,"ng-template",null,7,e.W1O),e.qZA(),e.qZA(),e.qZA(),e.BQk()),2&n){const t=r.ngIf,o=e.MAs(14),i=e.oxw();e.xp6(1),e.Q6J("displayName",t.name),e.xp6(5),e.hij(" ",t.name," "),e.xp6(2),e.hij(" ",t.name," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(12,5,i.isSignedIn$))("ngIfElse",o)}}let D=(()=>{class n{constructor(t,o,i){this.gql=t,this.route=o,this.viewerService=i,this.routeSub=this.route.params.subscribe(s=>{let T=this.gql.watch({variantId:+s.variantId}).valueChanges;this.loading$=T.pipe((0,m.j)("loading"),(0,R.O)(!0)),this.variant$=T.pipe((0,m.j)("data","variant")),this.commentsTotal$=this.variant$.pipe((0,m.j)("comments","totalCount")),this.flagsTotal$=this.variant$.pipe((0,m.j)("flags","totalCount")),this.revisionsTotal$=this.variant$.pipe((0,m.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,A.U)(t=>t.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(u.iJT),e.Y36(d.gz),e.Y36(P.a))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-variants-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:variant"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(t,o){1&t&&(e.YNc(0,J,15,7,"ng-container",0),e.ALo(1,"async")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.variant$))},directives:[p.O5,F.I,f.$O,f.u9,y.Ls,f.yG,f.u5,d.lC,g.SK,g.t3,Z.u],pipes:[p.Ov,v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var E=a(3773),w=a(8390),G=a(4375),Q=a(7008),_=a(1825),h=a(8776),O=a(6042),V=a(2359),x=a(4546),c=a(4182),I=a(5109),$=a(6501),U=a(7484),Y=a(5482),j=a(6462),L=a(7075),X=a(9911),H=a(4623),W=a(9990),k=a(7462),K=a(4889),S=a(7525),q=a(5472),z=a(1047),M=a(8481);function ee(n,r){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"input",2),e.NdJ("keydown.enter",function(i){return e.CHM(t),e.oxw().onEnter(i)}),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("formControl",t.formControl)("formlyAttributes",t.field)}}function te(n,r){if(1&n&&(e.TgZ(0,"nz-tag"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.formControl.value)}}const ne={name:"tag-input",component:(()=>{class n extends h.fS{constructor(){super(),this.defaultOptions={templateOptions:{placeholder:"Enter value"},modelOptions:{updateOn:"blur"}}}onEnter(t){this.formControl.setValue(t.target.value)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-tag-input-type"]],features:[e.qOj],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["tagItem",""],["nz-input","",3,"formControl","formlyAttributes","keydown.enter"]],template:function(t,o){if(1&t&&(e.YNc(0,ee,2,2,"ng-container",0),e.YNc(1,te,2,1,"ng-template",null,1,e.W1O)),2&t){const i=e.MAs(2);e.Q6J("ngIf",!o.formControl.value)("ngIfElse",i)}},directives:[p.O5,z.Zp,c.Fj,c.JJ,c.oH,h.VQ,M.j],styles:[""],changeDetection:0}),n})()};let ae=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,c.UX,v.WG,h.X0.forChild({types:[ne]}),M.X,z.o7]]}),n})();var ie=a(7338);let re=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,d.Bz,v.WG,c.UX,h.X0,I.s,O.sL,U.vh,Y.cD,x.U5,V.L,g.Jb,y.PV,O.sL,j.m,S.j,L.l,_.A,q.r,Q.B,G.R,X.G,H.K,w.N,E.g,$.r,W.M,k.o,K.E,ae,ie.z,I.s]]}),n})(),oe=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,re]]}),n})();var se=a(8929),b=a(7625),l=a(6738),le=a(444);function pe(n){switch(n){case"GRCH37":return"GRCh37 (hg19)";case"GRCH38":return"GRCh38 (hg38)";case"NCBI36":return"NCBI36 (hg18)";default:return n}}var ce=a(6123),de=a(9169),me=a(822);function ue(n,r){1&n&&e.GkF(0)}function fe(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"formly-form",6),e.NdJ("modelChange",function(i){return e.CHM(t),e.oxw(2).formModel=i}),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("form",t.formGroup)("fields",t.formFields)("model",t.formModel)("options",t.formOptions)}}function ge(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"form",3),e.NdJ("ngSubmit",function(){e.CHM(t);const i=e.oxw();return i.submitRevision(i.formModel)}),e.YNc(1,ue,1,0,"ng-container",4),e.YNc(2,fe,1,4,"formly-form",5),e.qZA()}if(2&n){const t=e.oxw(),o=e.MAs(3);e.Q6J("formGroup",t.formGroup),e.xp6(1),e.Q6J("ngTemplateOutlet",o),e.xp6(1),e.Q6J("ngIf",!t.success)}}function he(n,r){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-form-item"),e._UZ(2,"cvc-form-errors-alert",8),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("errors",t.errorMessages)}}function ve(n,r){1&n&&(e.TgZ(0,"p"),e._uU(1,"View it on the "),e.TgZ(2,"a",12),e._uU(3,"Revisions Page"),e.qZA(),e._uU(4,"."),e.qZA())}function ye(n,r){if(1&n&&(e.ynx(0),e._UZ(1,"nz-alert",9),e.YNc(2,ve,5,0,"ng-template",10,11,e.W1O),e.BQk()),2&n){const t=e.MAs(3);e.xp6(1),e.Q6J("nzDescription",t)}}function xe(n,r){if(1&n&&(e.YNc(0,he,3,1,"ng-container",7),e.YNc(1,ye,4,1,"ng-container",7)),2&n){const t=e.oxw();e.Q6J("ngIf",t.errorMessages.length>0),e.xp6(1),e.Q6J("ngIf",t.success)}}let be=(()=>{class n{constructor(t,o,i){this.suggestRevisionGQL=t,this.networkErrorService=o,this.revisableFieldsGQL=i,this.success=!1,this.errorMessages=[],this.loading=!1,this.formGroup=new c.cw({}),this.formOptions={},this.suggestRevisionMutator=new ce.U(o),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Suggest Variant Revision Form"},fieldGroup:[{key:"id",type:"input",hide:!0},{key:"name",type:"input",templateOptions:{label:"Name",helpText:'Enter the name of the Variant according to the Variant Curation SOP',required:!0}},{key:"description",type:"cvc-textarea",templateOptions:{label:"Variant Description",placeholder:"Enter a description for this variant.",helpText:'Provide a summary of the clinical relevance of this Variant. The Variant Summary should be a synthesis of the existing Evidence Statements for this variant. Basic information on recurrence rates and biological/functional impact of the Variant may be included, but the focus should be on the clinical impact (i.e. predictive, prognostic, diagnostic, or predisposing relevance). By submitting content to CIViC you agree to release it to the public domain as described by the Creative Commons Public Domain Dedication (CC0 1.0 Universal).',required:!1}},{key:"sources",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variant Description Sources",addText:"Add a Source",helpText:"Add any Sources used as references for this Variant's Description above."},fieldArray:{type:"source-input",templateOptions:{required:!1}}},{key:"variantAliases",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variant Aliases",addText:"Add an Alias",helpText:"List any aliases commonly used to refer to this variant."},fieldArray:{type:"tag-input",templateOptions:{required:!1,placeholder:"Add Alias",minLength:3}}},{key:"hgvsDescriptions",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"HGVS Descriptions",addText:"Add an HGVS Description",helpText:"Please specify any HGVS descriptions for this variant."},fieldArray:{type:"tag-input",templateOptions:{required:!1,placeholder:"Enter an HGVS string"}}},{key:"clinvarStatus",type:"select",templateOptions:{label:"Do Clinvar IDs exist for this variant?",placeholder:"Select Clinvar ID status",helpText:"Specify if Clinvar IDs exist, or if they are not applicable for this variant.",options:[{value:l.li.NotApplicable,label:"Clinvar IDs not applicable for this variant"},{value:l.li.NoneFound,label:"Clinvar IDs do not exist for this variant"},{value:l.li.Found,label:"Clinvar IDs were found for this variant"}]}},{key:"clinvarIds",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"ClinVar IDs",addText:"Add a ClinVar ID",helpText:"Specify any corresponding ClinVar identifiers for this variant."},fieldArray:{type:"tag-input",templateOptions:{required:!1,placeholder:"Enter a ClinVar ID"}},validators:{validation:["clinvar"]},hideExpression:(s,T,Me)=>Me.form.value.clinvarStatus!==l.li.Found},{key:"variantTypes",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variant Types",addText:"Add a Variant Type",helpText:'Add one or more variant types from the Sequence Ontology (e.g., missense, loss-of-function). Be specific as possible, avoid the addition of root concepts, and use the sequence_variant tree of the sequence ontology.'},fieldArray:{type:"variant-type-input",templateOptions:{required:!1}}},{template:"Primary Coordinates
"},{key:"referenceBuild",type:"select",defaultValue:u.JDX.Grch37,templateOptions:{label:"Reference Build",required:!1,helpText:"Specify the human genome reference sequence from which these coordinates are obtained.",options:(0,le.o6)(u.JDX).map(s=>({value:s,label:pe(s)}))}},{key:"ensemblVersion",type:"cvc-ensembl-input"},{key:"referenceBases",type:"input",defaultValue:void 0,templateOptions:{label:"Reference Bases",helpText:"The nucleotide(s) of the reference genome affected by the variant. Only used for SNVs and Indels (otherwise leave blank).",required:!1},validators:{validation:["nucleotide"]}},{key:"variantBases",type:"input",defaultValue:void 0,templateOptions:{label:"Variant Bases",helpText:"The nucleotide(s) of the variant allele. Only used for SNVs and Indels (otherwise leave blank).",required:!1},validators:{validation:["nucleotide"]}},{key:"primaryCoordinates.chromosome",type:"select",defaultValue:void 0,templateOptions:{label:"Chromosome",helpText:"Specify the chromosome in which this variant occurs (e.g. 17).",required:!1,options:l.aP}},{key:"primaryCoordinates.start",type:"input",templateOptions:{label:"Start",helpText:"Enter the left/first coordinate of this variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build.",required:!1},validators:{validation:["integer"]}},{key:"primaryCoordinates.stop",type:"input",templateOptions:{label:"Stop",helpText:"Provide the right/second coordinate of this variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build.",required:!1},validators:{validation:["integer"]}},{key:"primaryCoordinates.representativeTranscript",type:"input",templateOptions:{label:"Representative Transcript",helpText:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}},{template:"Secondary Coordinates
"},{key:"secondaryCoordinates.chromosome",type:"select",defaultValue:void 0,templateOptions:{label:"Chromosome",required:!1,options:l.aP,helpText:"If this variant is a fusion (e.g. BCR-ABL1), specify the chromosome name, coordinates, and representative transcript for the 3-prime partner."}},{key:"secondaryCoordinates.start",type:"input",templateOptions:{label:"Start",helpText:"Enter the left/first coordinate of this 3-prime partner fusion variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build."},validators:{validation:["integer"]}},{key:"secondaryCoordinates.stop",type:"input",templateOptions:{label:"Stop",helpText:"Provide the right/second coordinate of this 3-prime partner fusion variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build."},validators:{validation:["integer"]}},{key:"secondaryCoordinates.representativeTranscript",type:"input",templateOptions:{label:"Representative Transcript",helpText:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",placeholder:"Please enter a comment describing your revision to this variant.",helpText:"Please enter a comment describing your revision to this variant.",required:!1,minLength:10}},{key:"cancel",type:"cancel-button",templateOptions:{redirectPath:"../.."}},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Variant Revision",submitSize:"large"}}]}]}ngOnInit(){this.destroy$=new se.xQ}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantId:this.variantId}).subscribe(({data:{variant:t}})=>{t&&(this.formModel=this.toFormModel(t))},t=>{console.error("Error retrieving variant."),console.error(t)},()=>{this.formGroup.markAllAsTouched();const t=this.formGroup.get("fields.comment");t&&t.markAsUntouched()})}getClinvarStatus(t){return"NONE FOUND"===t[0]?l.li.NoneFound:"N/A"===t[0]?l.li.NotApplicable:l.li.Found}getClinvarIds(t){return"NONE FOUND"===t[0]||"N/A"===t[0]?[]:t}toFormModel(t){var o,i;return{fields:Object.assign(Object.assign({},t),{clinvarStatus:this.getClinvarStatus(t.clinvarIds),clinvarIds:this.getClinvarIds(t.clinvarIds),referenceBases:t.referenceBases,variantBases:t.variantBases,comment:null===(o=this.formModel)||void 0===o?void 0:o.fields.comment,organization:null===(i=this.formModel)||void 0===i?void 0:i.fields.organization})}}submitRevision(t){let o=this.toRevisionInput(t);if(o){let i=this.suggestRevisionMutator.mutate(this.suggestRevisionGQL,{input:o});i.submitSuccess$.pipe((0,b.R)(this.destroy$)).subscribe(s=>{s&&(this.success=!0)}),i.submitError$.pipe((0,b.R)(this.destroy$)).subscribe(s=>{s&&(this.errorMessages=s,this.success=!1)}),i.isSubmitting$.pipe((0,b.R)(this.destroy$)).subscribe(s=>{this.loading=s})}}toRevisionInput(t){var o;if(t){const i=t.fields;return Object.assign(Object.assign({id:i.id},t),{fields:{name:i.name,geneId:i.gene.id,ensemblVersion:l.uP(i.ensemblVersion),description:l.xt(i.description),clinvarIds:l.Zg(i.clinvarIds,i.clinvarStatus),primaryCoordinates:l._$(i.primaryCoordinates),secondaryCoordinates:l._$(i.secondaryCoordinates),referenceBases:l.xt(i.referenceBases),variantBases:l.xt(i.variantBases),referenceBuild:l.dh(i.referenceBuild),hgvsDescriptions:i.hgvsDescriptions,sourceIds:t.fields.sources.map(s=>+s.id),variantTypeIds:t.fields.variantTypes.map(s=>+s.id),aliases:t.fields.variantAliases},comment:""==i.comment?void 0:i.comment,organizationId:null===(o=t.fields.organization)||void 0===o?void 0:o.id})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(u.Xft),e.Y36(de.Y),e.Y36(u.nnL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-variant-revise-form"]],inputs:{variantId:"variantId"},decls:4,vars:2,consts:[["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf"],["formMessages",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Suggested Revision Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],["routerLink","../../revisions"]],template:function(t,o){1&t&&(e.TgZ(0,"nz-spin",0),e.YNc(1,ge,3,3,"form",1),e.qZA(),e.YNc(2,xe,2,2,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("nzSpinning",o.loading),e.xp6(1),e.Q6J("ngIf",o.formModel))},directives:[S.W,p.O5,c._Y,c.JL,x.Lr,c.sg,p.tP,h.T7,g.SK,x.Nx,me.V,V.r,d.yS],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}"]}),n})();function Te(n,r){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-variant-revise-form",2),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("variantId",t.variantId)}}function Ce(n,r){1&n&&e._uU(0,"Loading Variant...")}const Oe=[{path:"",component:D,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class n{constructor(t){this.route=t,this.routeParams$=this.route.params.subscribe(o=>{this.variantId=+o.variantId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-variants-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariant",""],[3,"variantId"]],template:function(t,o){if(1&t&&(e.YNc(0,Te,2,1,"ng-container",0),e.YNc(1,Ce,1,0,"ng-template",null,1,e.W1O)),2&t){const i=e.MAs(2);e.Q6J("ngIf",o.variantId)("ngIfElse",i)}},directives:[p.O5,be],styles:[""]}),n})(),data:{breadcrumb:"Suggest Revision"}}]}];let Ve=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[d.Bz.forChild(Oe),oe],d.Bz]}),n})();var Ie=a(5630),Se=a(9386);let ze=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,Ve,f.KJ,y.PV,Ie.D,Se.a,v.WG,g.Jb]]}),n})()}}]);
\ No newline at end of file
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7012],{7012:(Re,C,a)=>{a.r(C),a.d(C,{VariantsReviseModule:()=>ze});var p=a(9808),d=a(325),m=a(373),R=a(1059),A=a(4850),e=a(5e3),u=a(712),P=a(9350),F=a(8992),f=a(1945),y=a(647),g=a(1894),Z=a(8616),v=a(6949);function N(n,r){1&n&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function B(n,r){1&n&&(e.TgZ(0,"nz-row",8),e.TgZ(1,"div",9),e._UZ(2,"cvc-login-prompt"),e.qZA(),e.qZA())}function J(n,r){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2),e.TgZ(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e._uU(6),e.qZA(),e.TgZ(7,"nz-page-header-subtitle"),e._uU(8),e.qZA(),e.TgZ(9,"nz-page-header-content"),e.TgZ(10,"div",5),e.YNc(11,N,2,0,"div",6),e.ALo(12,"ngrxPush"),e.YNc(13,B,3,0,"ng-template",null,7,e.W1O),e.qZA(),e.qZA(),e.qZA(),e.BQk()),2&n){const t=r.ngIf,o=e.MAs(14),i=e.oxw();e.xp6(1),e.Q6J("displayName",t.name),e.xp6(5),e.hij(" ",t.name," "),e.xp6(2),e.hij(" ",t.name," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(12,5,i.isSignedIn$))("ngIfElse",o)}}let D=(()=>{class n{constructor(t,o,i){this.gql=t,this.route=o,this.viewerService=i,this.routeSub=this.route.params.subscribe(s=>{let T=this.gql.watch({variantId:+s.variantId}).valueChanges;this.loading$=T.pipe((0,m.j)("loading"),(0,R.O)(!0)),this.variant$=T.pipe((0,m.j)("data","variant")),this.commentsTotal$=this.variant$.pipe((0,m.j)("comments","totalCount")),this.flagsTotal$=this.variant$.pipe((0,m.j)("flags","totalCount")),this.revisionsTotal$=this.variant$.pipe((0,m.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,A.U)(t=>t.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(u.iJT),e.Y36(d.gz),e.Y36(P.a))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-variants-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:variant"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(t,o){1&t&&(e.YNc(0,J,15,7,"ng-container",0),e.ALo(1,"async")),2&t&&e.Q6J("ngIf",e.lcZ(1,1,o.variant$))},directives:[p.O5,F.I,f.$O,f.u9,y.Ls,f.yG,f.u5,d.lC,g.SK,g.t3,Z.u],pipes:[p.Ov,v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var E=a(3773),w=a(8390),G=a(4375),Q=a(7008),_=a(1825),h=a(8776),O=a(6042),V=a(2359),x=a(4546),c=a(4182),I=a(5109),$=a(6501),U=a(7484),Y=a(5482),j=a(6462),L=a(4623),X=a(9990),H=a(7462),W=a(4889),S=a(7525),k=a(5472),z=a(1047),M=a(8481);function K(n,r){if(1&n){const t=e.EpF();e.ynx(0),e.TgZ(1,"input",2),e.NdJ("keydown.enter",function(i){return e.CHM(t),e.oxw().onEnter(i)}),e.qZA(),e.BQk()}if(2&n){const t=e.oxw();e.xp6(1),e.Q6J("formControl",t.formControl)("formlyAttributes",t.field)}}function q(n,r){if(1&n&&(e.TgZ(0,"nz-tag"),e._uU(1),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Oqu(t.formControl.value)}}const ee={name:"tag-input",component:(()=>{class n extends h.fS{constructor(){super(),this.defaultOptions={templateOptions:{placeholder:"Enter value"},modelOptions:{updateOn:"blur"}}}onEnter(t){this.formControl.setValue(t.target.value)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-tag-input-type"]],features:[e.qOj],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["tagItem",""],["nz-input","",3,"formControl","formlyAttributes","keydown.enter"]],template:function(t,o){if(1&t&&(e.YNc(0,K,2,2,"ng-container",0),e.YNc(1,q,2,1,"ng-template",null,1,e.W1O)),2&t){const i=e.MAs(2);e.Q6J("ngIf",!o.formControl.value)("ngIfElse",i)}},directives:[p.O5,z.Zp,c.Fj,c.JJ,c.oH,h.VQ,M.j],styles:[""],changeDetection:0}),n})()};let te=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,c.UX,v.WG,h.X0.forChild({types:[ee]}),M.X,z.o7]]}),n})();var ne=a(7338),ae=a(3022),ie=a(9911);let re=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,d.Bz,v.WG,c.UX,h.X0,I.s,O.sL,U.vh,Y.cD,x.U5,V.L,g.Jb,y.PV,O.sL,j.m,S.j,ae.e,_.A,k.r,Q.B,G.R,ie.G,L.K,w.N,E.g,$.r,X.M,H.o,W.E,te,ne.z,I.s]]}),n})(),oe=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,re]]}),n})();var se=a(8929),b=a(7625),l=a(6738),le=a(444);function pe(n){switch(n){case"GRCH37":return"GRCh37 (hg19)";case"GRCH38":return"GRCh38 (hg38)";case"NCBI36":return"NCBI36 (hg18)";default:return n}}var ce=a(6123),de=a(9169),me=a(822);function ue(n,r){1&n&&e.GkF(0)}function fe(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"formly-form",6),e.NdJ("modelChange",function(i){return e.CHM(t),e.oxw(2).formModel=i}),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("form",t.formGroup)("fields",t.formFields)("model",t.formModel)("options",t.formOptions)}}function ge(n,r){if(1&n){const t=e.EpF();e.TgZ(0,"form",3),e.NdJ("ngSubmit",function(){e.CHM(t);const i=e.oxw();return i.submitRevision(i.formModel)}),e.YNc(1,ue,1,0,"ng-container",4),e.YNc(2,fe,1,4,"formly-form",5),e.qZA()}if(2&n){const t=e.oxw(),o=e.MAs(3);e.Q6J("formGroup",t.formGroup),e.xp6(1),e.Q6J("ngTemplateOutlet",o),e.xp6(1),e.Q6J("ngIf",!t.success)}}function he(n,r){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-form-item"),e._UZ(2,"cvc-form-errors-alert",8),e.qZA(),e.BQk()),2&n){const t=e.oxw(2);e.xp6(2),e.Q6J("errors",t.errorMessages)}}function ve(n,r){1&n&&(e.TgZ(0,"p"),e._uU(1,"View it on the "),e.TgZ(2,"a",12),e._uU(3,"Revisions Page"),e.qZA(),e._uU(4,"."),e.qZA())}function ye(n,r){if(1&n&&(e.ynx(0),e._UZ(1,"nz-alert",9),e.YNc(2,ve,5,0,"ng-template",10,11,e.W1O),e.BQk()),2&n){const t=e.MAs(3);e.xp6(1),e.Q6J("nzDescription",t)}}function xe(n,r){if(1&n&&(e.YNc(0,he,3,1,"ng-container",7),e.YNc(1,ye,4,1,"ng-container",7)),2&n){const t=e.oxw();e.Q6J("ngIf",t.errorMessages.length>0),e.xp6(1),e.Q6J("ngIf",t.success)}}let be=(()=>{class n{constructor(t,o,i){this.suggestRevisionGQL=t,this.networkErrorService=o,this.revisableFieldsGQL=i,this.success=!1,this.errorMessages=[],this.loading=!1,this.formGroup=new c.cw({}),this.formOptions={},this.suggestRevisionMutator=new ce.U(o),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Suggest Variant Revision Form"},fieldGroup:[{key:"id",type:"input",hide:!0},{key:"name",type:"input",templateOptions:{label:"Name",helpText:'Enter the name of the Variant according to the Variant Curation SOP',required:!0}},{key:"description",type:"cvc-textarea",templateOptions:{label:"Variant Description",placeholder:"Enter a description for this variant.",helpText:'Provide a summary of the clinical relevance of this Variant. The Variant Summary should be a synthesis of the existing Evidence Statements for this variant. Basic information on recurrence rates and biological/functional impact of the Variant may be included, but the focus should be on the clinical impact (i.e. predictive, prognostic, diagnostic, or predisposing relevance). By submitting content to CIViC you agree to release it to the public domain as described by the Creative Commons Public Domain Dedication (CC0 1.0 Universal).',required:!1}},{key:"sources",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variant Description Sources",addText:"Add a Source",helpText:"Add any Sources used as references for this Variant's Description above."},fieldArray:{type:"source-input",templateOptions:{required:!1}}},{key:"variantAliases",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variant Aliases",addText:"Add an Alias",helpText:"List any aliases commonly used to refer to this variant."},fieldArray:{type:"tag-input",templateOptions:{required:!1,placeholder:"Add Alias",minLength:3}}},{key:"hgvsDescriptions",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"HGVS Descriptions",addText:"Add an HGVS Description",helpText:"Please specify any HGVS descriptions for this variant."},fieldArray:{type:"tag-input",templateOptions:{required:!1,placeholder:"Enter an HGVS string"}}},{key:"clinvarStatus",type:"select",templateOptions:{label:"Do Clinvar IDs exist for this variant?",placeholder:"Select Clinvar ID status",helpText:"Specify if Clinvar IDs exist, or if they are not applicable for this variant.",options:[{value:l.li.NotApplicable,label:"Clinvar IDs not applicable for this variant"},{value:l.li.NoneFound,label:"Clinvar IDs do not exist for this variant"},{value:l.li.Found,label:"Clinvar IDs were found for this variant"}]}},{key:"clinvarIds",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"ClinVar IDs",addText:"Add a ClinVar ID",helpText:"Specify any corresponding ClinVar identifiers for this variant."},fieldArray:{type:"tag-input",templateOptions:{required:!1,placeholder:"Enter a ClinVar ID"}},validators:{validation:["clinvar"]},hideExpression:(s,T,Me)=>Me.form.value.clinvarStatus!==l.li.Found},{key:"variantTypes",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Variant Types",addText:"Add a Variant Type",helpText:'Add one or more variant types from the Sequence Ontology (e.g., missense, loss-of-function). Be specific as possible, avoid the addition of root concepts, and use the sequence_variant tree of the sequence ontology.'},fieldArray:{type:"variant-type-input",templateOptions:{required:!1}}},{template:"Primary Coordinates
"},{key:"referenceBuild",type:"select",defaultValue:u.JDX.Grch37,templateOptions:{label:"Reference Build",required:!1,helpText:"Specify the human genome reference sequence from which these coordinates are obtained.",options:(0,le.o6)(u.JDX).map(s=>({value:s,label:pe(s)}))}},{key:"ensemblVersion",type:"cvc-ensembl-input"},{key:"referenceBases",type:"input",defaultValue:void 0,templateOptions:{label:"Reference Bases",helpText:"The nucleotide(s) of the reference genome affected by the variant. Only used for SNVs and Indels (otherwise leave blank).",required:!1},validators:{validation:["nucleotide"]}},{key:"variantBases",type:"input",defaultValue:void 0,templateOptions:{label:"Variant Bases",helpText:"The nucleotide(s) of the variant allele. Only used for SNVs and Indels (otherwise leave blank).",required:!1},validators:{validation:["nucleotide"]}},{key:"primaryCoordinates.chromosome",type:"select",defaultValue:void 0,templateOptions:{label:"Chromosome",helpText:"Specify the chromosome in which this variant occurs (e.g. 17).",required:!1,options:l.aP}},{key:"primaryCoordinates.start",type:"input",templateOptions:{label:"Start",helpText:"Enter the left/first coordinate of this variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build.",required:!1},validators:{validation:["integer"]}},{key:"primaryCoordinates.stop",type:"input",templateOptions:{label:"Stop",helpText:"Provide the right/second coordinate of this variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build.",required:!1},validators:{validation:["integer"]}},{key:"primaryCoordinates.representativeTranscript",type:"input",templateOptions:{label:"Representative Transcript",helpText:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}},{template:"Secondary Coordinates
"},{key:"secondaryCoordinates.chromosome",type:"select",defaultValue:void 0,templateOptions:{label:"Chromosome",required:!1,options:l.aP,helpText:"If this variant is a fusion (e.g. BCR-ABL1), specify the chromosome name, coordinates, and representative transcript for the 3-prime partner."}},{key:"secondaryCoordinates.start",type:"input",templateOptions:{label:"Start",helpText:"Enter the left/first coordinate of this 3-prime partner fusion variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build."},validators:{validation:["integer"]}},{key:"secondaryCoordinates.stop",type:"input",templateOptions:{label:"Stop",helpText:"Provide the right/second coordinate of this 3-prime partner fusion variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build."},validators:{validation:["integer"]}},{key:"secondaryCoordinates.representativeTranscript",type:"input",templateOptions:{label:"Representative Transcript",helpText:"Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl)."}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",placeholder:"Please enter a comment describing your revision to this variant.",helpText:"Please enter a comment describing your revision to this variant.",required:!1,minLength:10}},{key:"cancel",type:"cancel-button",templateOptions:{redirectPath:"../.."}},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Variant Revision",submitSize:"large"}}]}]}ngOnInit(){this.destroy$=new se.xQ}ngAfterViewInit(){this.revisableFieldsGQL.fetch({variantId:this.variantId}).subscribe(({data:{variant:t}})=>{t&&(this.formModel=this.toFormModel(t))},t=>{console.error("Error retrieving variant."),console.error(t)},()=>{this.formGroup.markAllAsTouched();const t=this.formGroup.get("fields.comment");t&&t.markAsUntouched()})}getClinvarStatus(t){return"NONE FOUND"===t[0]?l.li.NoneFound:"N/A"===t[0]?l.li.NotApplicable:l.li.Found}getClinvarIds(t){return"NONE FOUND"===t[0]||"N/A"===t[0]?[]:t}toFormModel(t){var o,i;return{fields:Object.assign(Object.assign({},t),{clinvarStatus:this.getClinvarStatus(t.clinvarIds),clinvarIds:this.getClinvarIds(t.clinvarIds),referenceBases:t.referenceBases,variantBases:t.variantBases,comment:null===(o=this.formModel)||void 0===o?void 0:o.fields.comment,organization:null===(i=this.formModel)||void 0===i?void 0:i.fields.organization})}}submitRevision(t){let o=this.toRevisionInput(t);if(o){let i=this.suggestRevisionMutator.mutate(this.suggestRevisionGQL,{input:o});i.submitSuccess$.pipe((0,b.R)(this.destroy$)).subscribe(s=>{s&&(this.success=!0)}),i.submitError$.pipe((0,b.R)(this.destroy$)).subscribe(s=>{s&&(this.errorMessages=s,this.success=!1)}),i.isSubmitting$.pipe((0,b.R)(this.destroy$)).subscribe(s=>{this.loading=s})}}toRevisionInput(t){var o;if(t){const i=t.fields;return Object.assign(Object.assign({id:i.id},t),{fields:{name:i.name,geneId:i.gene.id,ensemblVersion:l.uP(i.ensemblVersion),description:l.xt(i.description),clinvarIds:l.Zg(i.clinvarIds,i.clinvarStatus),primaryCoordinates:l._$(i.primaryCoordinates),secondaryCoordinates:l._$(i.secondaryCoordinates),referenceBases:l.xt(i.referenceBases),variantBases:l.xt(i.variantBases),referenceBuild:l.dh(i.referenceBuild),hgvsDescriptions:i.hgvsDescriptions,sourceIds:t.fields.sources.map(s=>+s.id),variantTypeIds:t.fields.variantTypes.map(s=>+s.id),aliases:t.fields.variantAliases},comment:""==i.comment?void 0:i.comment,organizationId:null===(o=t.fields.organization)||void 0===o?void 0:o.id})}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(u.Xft),e.Y36(de.Y),e.Y36(u.nnL))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-variant-revise-form"]],inputs:{variantId:"variantId"},decls:4,vars:2,consts:[["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf"],["formMessages",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Suggested Revision Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],["routerLink","../../revisions"]],template:function(t,o){1&t&&(e.TgZ(0,"nz-spin",0),e.YNc(1,ge,3,3,"form",1),e.qZA(),e.YNc(2,xe,2,2,"ng-template",null,2,e.W1O)),2&t&&(e.Q6J("nzSpinning",o.loading),e.xp6(1),e.Q6J("ngIf",o.formModel))},directives:[S.W,p.O5,c._Y,c.JL,x.Lr,c.sg,p.tP,h.T7,g.SK,x.Nx,me.V,V.r,d.yS],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]:first-of-type .ant-card-body{padding:0;margin-top:1px}"]}),n})();function Te(n,r){if(1&n&&(e.ynx(0),e._UZ(1,"cvc-variant-revise-form",2),e.BQk()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("variantId",t.variantId)}}function Ce(n,r){1&n&&e._uU(0,"Loading Variant...")}const Oe=[{path:"",component:D,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class n{constructor(t){this.route=t,this.routeParams$=this.route.params.subscribe(o=>{this.variantId=+o.variantId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-variants-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingVariant",""],[3,"variantId"]],template:function(t,o){if(1&t&&(e.YNc(0,Te,2,1,"ng-container",0),e.YNc(1,Ce,1,0,"ng-template",null,1,e.W1O)),2&t){const i=e.MAs(2);e.Q6J("ngIf",o.variantId)("ngIfElse",i)}},directives:[p.O5,be],styles:[""]}),n})(),data:{breadcrumb:"Suggest Revision"}}]}];let Ve=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[d.Bz.forChild(Oe),oe],d.Bz]}),n})();var Ie=a(5630),Se=a(9386);let ze=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[p.ez,Ve,f.KJ,y.PV,Ie.D,Se.a,v.WG,g.Jb]]}),n})()}}]);
\ No newline at end of file
diff --git a/server/public/7064.584260498fd7f7a1.js b/server/public/7064.584260498fd7f7a1.js
deleted file mode 100644
index e31747011..000000000
--- a/server/public/7064.584260498fd7f7a1.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7064],{5577:(_e,K,d)=>{d.d(K,{D3:()=>$,y7:()=>Q});var w=d(5e3),A=d(3191),l=d(2916),f=d(8929);let e=(()=>{class b{create(m){return"undefined"==typeof ResizeObserver?null:new ResizeObserver(m)}}return b.\u0275fac=function(m){return new(m||b)},b.\u0275prov=w.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),$=(()=>{class b{constructor(m){this.nzResizeObserverFactory=m,this.observedElements=new Map}ngOnDestroy(){this.observedElements.forEach((m,N)=>this.cleanupObserver(N))}observe(m){const N=(0,A.fI)(m);return new l.y(P=>{const W=this.observeElement(N).subscribe(P);return()=>{W.unsubscribe(),this.unobserveElement(N)}})}observeElement(m){if(this.observedElements.has(m))this.observedElements.get(m).count++;else{const N=new f.xQ,P=this.nzResizeObserverFactory.create(E=>N.next(E));P&&P.observe(m),this.observedElements.set(m,{observer:P,stream:N,count:1})}return this.observedElements.get(m).stream}unobserveElement(m){this.observedElements.has(m)&&(this.observedElements.get(m).count--,this.observedElements.get(m).count||this.cleanupObserver(m))}cleanupObserver(m){if(this.observedElements.has(m)){const{observer:N,stream:P}=this.observedElements.get(m);N&&N.disconnect(),P.complete(),this.observedElements.delete(m)}}}return b.\u0275fac=function(m){return new(m||b)(w.LFG(e))},b.\u0275prov=w.Yz7({token:b,factory:b.\u0275fac,providedIn:"root"}),b})(),Q=(()=>{class b{}return b.\u0275fac=function(m){return new(m||b)},b.\u0275mod=w.oAB({type:b}),b.\u0275inj=w.cJS({providers:[e]}),b})()},1945:(_e,K,d)=>{d.d(K,{$O:()=>re,u5:()=>te,Jp:()=>ie,KJ:()=>ce,yG:()=>ee,ZJ:()=>ne,u9:()=>U});var w=d(226),A=d(9808),l=d(5e3),f=d(969),e=d(647),$=d(655),q=d(8929),Q=d(7625),b=d(4850),F=d(9439),m=d(948),N=d(5577);function P(r,_){if(1&r&&(l.ynx(0),l._UZ(1,"i",9),l.BQk()),2&r){const h=_.$implicit,S=l.oxw(2);l.xp6(1),l.Q6J("nzType",h||S.getBackIcon())}}function E(r,_){if(1&r){const h=l.EpF();l.TgZ(0,"div",6),l.NdJ("click",function(){return l.CHM(h),l.oxw().onBack()}),l.TgZ(1,"div",7),l.YNc(2,P,2,1,"ng-container",8),l.qZA(),l.qZA()}if(2&r){const h=l.oxw();l.xp6(2),l.Q6J("nzStringTemplateOutlet",h.nzBackIcon)}}function W(r,_){if(1&r&&(l.ynx(0),l._uU(1),l.BQk()),2&r){const h=l.oxw(2);l.xp6(1),l.Oqu(h.nzTitle)}}function v(r,_){if(1&r&&(l.TgZ(0,"span",10),l.YNc(1,W,2,1,"ng-container",8),l.qZA()),2&r){const h=l.oxw();l.xp6(1),l.Q6J("nzStringTemplateOutlet",h.nzTitle)}}function y(r,_){1&r&&l.Hsn(0,6,["*ngIf","!nzTitle"])}function D(r,_){if(1&r&&(l.ynx(0),l._uU(1),l.BQk()),2&r){const h=l.oxw(2);l.xp6(1),l.Oqu(h.nzSubtitle)}}function p(r,_){if(1&r&&(l.TgZ(0,"span",11),l.YNc(1,D,2,1,"ng-container",8),l.qZA()),2&r){const h=l.oxw();l.xp6(1),l.Q6J("nzStringTemplateOutlet",h.nzSubtitle)}}function O(r,_){1&r&&l.Hsn(0,7,["*ngIf","!nzSubtitle"])}const J=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],x=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"];let U=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=l.lG2({type:r,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),r})(),ee=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=l.lG2({type:r,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),r})(),te=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=l.lG2({type:r,selectors:[["nz-page-header-content"],["","nz-page-header-content",""]],hostAttrs:[1,"ant-page-header-content"],exportAs:["nzPageHeaderContent"]}),r})(),ne=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=l.lG2({type:r,selectors:[["nz-page-header-tags"],["","nz-page-header-tags",""]],hostAttrs:[1,"ant-page-header-heading-tags"],exportAs:["nzPageHeaderTags"]}),r})(),ie=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=l.lG2({type:r,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),r})(),oe=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=l.lG2({type:r,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),r})(),ae=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=l.lG2({type:r,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),r})(),re=(()=>{class r{constructor(h,S,L,Y,de,he){this.location=h,this.nzConfigService=S,this.elementRef=L,this.nzResizeObserver=Y,this.cdr=de,this.directionality=he,this._nzModuleName="pageHeader",this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new l.vpe,this.compact=!1,this.destroy$=new q.xQ,this.dir="ltr"}ngOnInit(){var h;null===(h=this.directionality.change)||void 0===h||h.pipe((0,Q.R)(this.destroy$)).subscribe(S=>{this.dir=S,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,b.U)(([h])=>h.contentRect.width),(0,Q.R)(this.destroy$)).subscribe(h=>{this.compact=h<768,this.cdr.markForCheck()})}onBack(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(`${m.Bq} you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!`);this.location.back()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getBackIcon(){return"rtl"===this.dir?"arrow-right":"arrow-left"}}return r.\u0275fac=function(h){return new(h||r)(l.Y36(A.Ye,8),l.Y36(F.jY),l.Y36(l.SBq),l.Y36(N.D3),l.Y36(l.sBO),l.Y36(w.Is,8))},r.\u0275cmp=l.Xpm({type:r,selectors:[["nz-page-header"]],contentQueries:function(h,S,L){if(1&h&&(l.Suo(L,oe,5),l.Suo(L,ae,5)),2&h){let Y;l.iGM(Y=l.CRH())&&(S.nzPageHeaderFooter=Y.first),l.iGM(Y=l.CRH())&&(S.nzPageHeaderBreadcrumb=Y.first)}},hostAttrs:[1,"ant-page-header"],hostVars:10,hostBindings:function(h,S){2&h&&l.ekj("has-footer",S.nzPageHeaderFooter)("ant-page-header-ghost",S.nzGhost)("has-breadcrumb",S.nzPageHeaderBreadcrumb)("ant-page-header-compact",S.compact)("ant-page-header-rtl","rtl"===S.dir)},inputs:{nzBackIcon:"nzBackIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzGhost:"nzGhost"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:x,decls:13,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(h,S){1&h&&(l.F$t(J),l.Hsn(0),l.TgZ(1,"div",0),l.TgZ(2,"div",1),l.YNc(3,E,3,1,"div",2),l.Hsn(4,1),l.YNc(5,v,2,1,"span",3),l.YNc(6,y,1,0,"ng-content",4),l.YNc(7,p,2,1,"span",5),l.YNc(8,O,1,0,"ng-content",4),l.Hsn(9,2),l.qZA(),l.Hsn(10,3),l.qZA(),l.Hsn(11,4),l.Hsn(12,5)),2&h&&(l.xp6(3),l.Q6J("ngIf",null!==S.nzBackIcon),l.xp6(2),l.Q6J("ngIf",S.nzTitle),l.xp6(1),l.Q6J("ngIf",!S.nzTitle),l.xp6(1),l.Q6J("ngIf",S.nzSubtitle),l.xp6(1),l.Q6J("ngIf",!S.nzSubtitle))},directives:[A.O5,f.f,e.Ls],encapsulation:2,changeDetection:0}),(0,$.gn)([(0,F.oS)()],r.prototype,"nzGhost",void 0),r})(),ce=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=l.oAB({type:r}),r.\u0275inj=l.cJS({imports:[[w.vT,A.ez,f.T,e.PV]]}),r})()},1132:(_e,K,d)=>{d.d(K,{UX:()=>fn,qn:()=>we,Uo:()=>un,N8:()=>vn,HQ:()=>Tn,zu:()=>ke,p0:()=>Fe,qD:()=>De,_C:()=>Pe,Om:()=>bn,$Z:()=>$e});var w=d(226),A=d(925),l=d(2321),f=d(9808),e=d(5e3),$=d(4182),q=d(6042),Q=d(5577),b=d(6114),F=d(969),m=d(3677),N=d(685),P=d(4170),E=d(647),W=d(4219),v=d(655),y=d(8929),D=d(839),p=d(7625),O=d(9439),J=d(4090),x=d(1721),U=d(8054);const ee=["nz-pagination-item",""];function te(i,o){if(1&i&&(e.TgZ(0,"a"),e._uU(1),e.qZA()),2&i){const t=e.oxw().page;e.xp6(1),e.Oqu(t)}}function ne(i,o){1&i&&e._UZ(0,"i",9)}function ie(i,o){1&i&&e._UZ(0,"i",10)}function oe(i,o){if(1&i&&(e.TgZ(0,"button",6),e.ynx(1,2),e.YNc(2,ne,1,0,"i",7),e.YNc(3,ie,1,0,"i",8),e.BQk(),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("disabled",t.disabled),e.xp6(1),e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function ae(i,o){1&i&&e._UZ(0,"i",10)}function se(i,o){1&i&&e._UZ(0,"i",9)}function le(i,o){if(1&i&&(e.TgZ(0,"button",6),e.ynx(1,2),e.YNc(2,ae,1,0,"i",11),e.YNc(3,se,1,0,"i",12),e.BQk(),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("disabled",t.disabled),e.xp6(1),e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function re(i,o){1&i&&e._UZ(0,"i",20)}function Ce(i,o){1&i&&e._UZ(0,"i",21)}function ce(i,o){if(1&i&&(e.ynx(0,2),e.YNc(1,re,1,0,"i",18),e.YNc(2,Ce,1,0,"i",19),e.BQk()),2&i){const t=e.oxw(4);e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function r(i,o){1&i&&e._UZ(0,"i",21)}function _(i,o){1&i&&e._UZ(0,"i",20)}function h(i,o){if(1&i&&(e.ynx(0,2),e.YNc(1,r,1,0,"i",22),e.YNc(2,_,1,0,"i",23),e.BQk()),2&i){const t=e.oxw(4);e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function S(i,o){if(1&i&&(e.TgZ(0,"div",15),e.ynx(1,2),e.YNc(2,ce,3,2,"ng-container",16),e.YNc(3,h,3,2,"ng-container",16),e.BQk(),e.TgZ(4,"span",17),e._uU(5,"\u2022\u2022\u2022"),e.qZA(),e.qZA()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngSwitch",t),e.xp6(1),e.Q6J("ngSwitchCase","prev_5"),e.xp6(1),e.Q6J("ngSwitchCase","next_5")}}function L(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"a",13),e.YNc(2,S,6,3,"div",14),e.qZA(),e.BQk()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngSwitch",t)}}function Y(i,o){1&i&&(e.ynx(0,2),e.YNc(1,te,2,1,"a",3),e.YNc(2,oe,4,3,"button",4),e.YNc(3,le,4,3,"button",4),e.YNc(4,L,3,1,"ng-container",5),e.BQk()),2&i&&(e.Q6J("ngSwitch",o.$implicit),e.xp6(1),e.Q6J("ngSwitchCase","page"),e.xp6(1),e.Q6J("ngSwitchCase","prev"),e.xp6(1),e.Q6J("ngSwitchCase","next"))}function de(i,o){}const he=function(i,o){return{$implicit:i,page:o}},xe=["containerTemplate"];function Ee(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"li",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().prePage()}),e.qZA(),e.TgZ(1,"li",2),e.TgZ(2,"input",3),e.NdJ("keydown.enter",function(a){return e.CHM(t),e.oxw().jumpToPageViaInput(a)}),e.qZA(),e.TgZ(3,"span",4),e._uU(4,"/"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"li",5),e.NdJ("click",function(){return e.CHM(t),e.oxw().nextPage()}),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("disabled",t.isFirstIndex)("direction",t.dir)("itemRender",t.itemRender),e.uIk("title",t.locale.prev_page),e.xp6(1),e.uIk("title",t.pageIndex+"/"+t.lastIndex),e.xp6(1),e.Q6J("disabled",t.disabled)("value",t.pageIndex),e.xp6(3),e.hij(" ",t.lastIndex," "),e.xp6(1),e.Q6J("disabled",t.isLastIndex)("direction",t.dir)("itemRender",t.itemRender),e.uIk("title",null==t.locale?null:t.locale.next_page)}}const Be=["nz-pagination-options",""];function Ae(i,o){if(1&i&&e._UZ(0,"nz-option",4),2&i){const t=o.$implicit;e.Q6J("nzLabel",t.label)("nzValue",t.value)}}function Qe(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"nz-select",2),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().onPageSizeChange(a)}),e.YNc(1,Ae,1,2,"nz-option",3),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("nzDisabled",t.disabled)("nzSize",t.nzSize)("ngModel",t.pageSize),e.xp6(1),e.Q6J("ngForOf",t.listOfPageSizeOption)("ngForTrackBy",t.trackByOption)}}function Je(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",5),e._uU(1),e.TgZ(2,"input",6),e.NdJ("keydown.enter",function(a){return e.CHM(t),e.oxw().jumpToPageViaInput(a)}),e.qZA(),e._uU(3),e.qZA()}if(2&i){const t=e.oxw();e.xp6(1),e.hij(" ",t.locale.jump_to," "),e.xp6(1),e.Q6J("disabled",t.disabled),e.xp6(1),e.hij(" ",t.locale.page," ")}}function Ye(i,o){}const He=function(i,o){return{$implicit:i,range:o}};function Ze(i,o){if(1&i&&(e.TgZ(0,"li",4),e.YNc(1,Ye,0,0,"ng-template",5),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.showTotal)("ngTemplateOutletContext",e.WLB(2,He,t.total,t.ranges))}}function We(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"li",6),e.NdJ("gotoIndex",function(a){return e.CHM(t),e.oxw(2).jumpPage(a)})("diffIndex",function(a){return e.CHM(t),e.oxw(2).jumpDiff(a)}),e.qZA()}if(2&i){const t=o.$implicit,n=e.oxw(2);e.Q6J("locale",n.locale)("type",t.type)("index",t.index)("disabled",!!t.disabled)("itemRender",n.itemRender)("active",n.pageIndex===t.index)("direction",n.dir)}}function Le(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",7),e.NdJ("pageIndexChange",function(a){return e.CHM(t),e.oxw(2).onPageIndexChange(a)})("pageSizeChange",function(a){return e.CHM(t),e.oxw(2).onPageSizeChange(a)}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("total",t.total)("locale",t.locale)("disabled",t.disabled)("nzSize",t.nzSize)("showSizeChanger",t.showSizeChanger)("showQuickJumper",t.showQuickJumper)("pageIndex",t.pageIndex)("pageSize",t.pageSize)("pageSizeOptions",t.pageSizeOptions)}}function Ve(i,o){if(1&i&&(e.YNc(0,Ze,2,5,"li",1),e.YNc(1,We,1,7,"li",2),e.YNc(2,Le,1,9,"div",3)),2&i){const t=e.oxw();e.Q6J("ngIf",t.showTotal),e.xp6(1),e.Q6J("ngForOf",t.listOfPageItem)("ngForTrackBy",t.trackByPageItem),e.xp6(1),e.Q6J("ngIf",t.showQuickJumper||t.showSizeChanger)}}function Ue(i,o){}function je(i,o){if(1&i&&(e.ynx(0),e.YNc(1,Ue,0,0,"ng-template",6),e.BQk()),2&i){e.oxw(2);const t=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.template)}}function Xe(i,o){if(1&i&&(e.ynx(0),e.YNc(1,je,2,1,"ng-container",5),e.BQk()),2&i){const t=e.oxw(),n=e.MAs(4);e.xp6(1),e.Q6J("ngIf",t.nzSimple)("ngIfElse",n.template)}}let ve=(()=>{class i{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new e.vpe,this.gotoIndex=new e.vpe,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(t){var n,a,s,c;const{locale:g,index:z,type:C}=t;(g||z||C)&&(this.title={page:`${this.index}`,next:null===(n=this.locale)||void 0===n?void 0:n.next_page,prev:null===(a=this.locale)||void 0===a?void 0:a.prev_page,prev_5:null===(s=this.locale)||void 0===s?void 0:s.prev_5,next_5:null===(c=this.locale)||void 0===c?void 0:c.next_5}[this.type])}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.clickItem()}),2&t&&(e.uIk("title",n.title),e.ekj("ant-pagination-prev","prev"===n.type)("ant-pagination-next","next"===n.type)("ant-pagination-item","page"===n.type)("ant-pagination-jump-prev","prev_5"===n.type)("ant-pagination-jump-prev-custom-icon","prev_5"===n.type)("ant-pagination-jump-next","next_5"===n.type)("ant-pagination-jump-next-custom-icon","next_5"===n.type)("ant-pagination-disabled",n.disabled)("ant-pagination-item-active",n.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[e.TTD],attrs:ee,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["type","button",1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(t,n){if(1&t&&(e.YNc(0,Y,5,4,"ng-template",null,0,e.W1O),e.YNc(2,de,0,0,"ng-template",1)),2&t){const a=e.MAs(1);e.xp6(2),e.Q6J("ngTemplateOutlet",n.itemRender||a)("ngTemplateOutletContext",e.WLB(2,he,n.type,n.index))}},directives:[f.RF,f.n9,E.Ls,f.ED,f.tP],encapsulation:2,changeDetection:0}),i})(),Ge=(()=>{class i{constructor(t,n,a,s){this.cdr=t,this.renderer=n,this.elementRef=a,this.directionality=s,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new e.vpe,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new y.xQ,n.removeChild(n.parentNode(a.nativeElement),a.nativeElement)}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(t){const n=t.target,a=(0,x.He)(n.value,this.pageIndex);this.onPageIndexChange(a),n.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(t){this.pageIndexChange.next(t)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(t){const{pageIndex:n,total:a,pageSize:s}=t;(n||a||s)&&this.updateBindingValue()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(w.Is,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-pagination-simple"]],viewQuery:function(t,n){if(1&t&&e.Gf(xe,7),2&t){let a;e.iGM(a=e.CRH())&&(n.template=a.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[e.TTD],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(t,n){1&t&&e.YNc(0,Ee,7,12,"ng-template",null,0,e.W1O)},directives:[ve],encapsulation:2,changeDetection:0}),i})(),Ke=(()=>{class i{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new e.vpe,this.pageSizeChange=new e.vpe,this.listOfPageSizeOption=[]}onPageSizeChange(t){this.pageSize!==t&&this.pageSizeChange.next(t)}jumpToPageViaInput(t){const n=t.target,a=Math.floor((0,x.He)(n.value,this.pageIndex));this.pageIndexChange.next(a),n.value=""}trackByOption(t,n){return n.value}ngOnChanges(t){const{pageSize:n,pageSizeOptions:a,locale:s}=t;(n||a||s)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(c=>({value:c,label:`${c} ${this.locale.items_per_page}`})))}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["div","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[e.TTD],attrs:Be,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(t,n){1&t&&(e.YNc(0,Qe,2,5,"nz-select",0),e.YNc(1,Je,4,3,"div",1)),2&t&&(e.Q6J("ngIf",n.showSizeChanger),e.xp6(1),e.Q6J("ngIf",n.showQuickJumper))},directives:[U.Vq,U.Ip,f.O5,$.JJ,$.On,f.sg],encapsulation:2,changeDetection:0}),i})(),qe=(()=>{class i{constructor(t,n,a,s){this.cdr=t,this.renderer=n,this.elementRef=a,this.directionality=s,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new e.vpe,this.pageSizeChange=new e.vpe,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new y.xQ,n.removeChild(n.parentNode(a.nativeElement),a.nativeElement)}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(t){this.onPageIndexChange(t)}jumpDiff(t){this.jumpPage(this.pageIndex+t)}trackByPageItem(t,n){return`${n.type}-${n.index}`}onPageIndexChange(t){this.pageIndexChange.next(t)}onPageSizeChange(t){this.pageSizeChange.next(t)}getLastIndex(t,n){return Math.ceil(t/n)}buildIndexes(){const t=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,t)}getListOfPageItem(t,n){const s=(c,g)=>{const z=[];for(let C=c;C<=g;C++)z.push({index:C,type:"page"});return z};return c=n<=9?s(1,n):((g,z)=>{let C=[];const T={type:"prev_5"},u={type:"next_5"},k=s(1,1),Z=s(n,n);return C=g<5?[...s(2,4===g?6:5),u]:g{class i{constructor(t,n,a,s,c){this.i18n=t,this.cdr=n,this.breakpointService=a,this.nzConfigService=s,this.directionality=c,this._nzModuleName="pagination",this.nzPageSizeChange=new e.vpe,this.nzPageIndexChange=new e.vpe,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new y.xQ,this.total$=new D.t(1)}validatePageIndex(t,n){return t>n?n:t<1?1:t}onPageIndexChange(t){const n=this.getLastIndex(this.nzTotal,this.nzPageSize),a=this.validatePageIndex(t,n);a!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=a,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(t){this.nzPageSize=t,this.nzPageSizeChange.emit(t);const n=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>n&&this.onPageIndexChange(n)}onTotalChange(t){const n=this.getLastIndex(t,this.nzPageSize);this.nzPageIndex>n&&Promise.resolve().then(()=>{this.onPageIndexChange(n),this.cdr.markForCheck()})}getLastIndex(t,n){return Math.ceil(t/n)}ngOnInit(){var t;this.i18n.localeChange.pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.onTotalChange(n)}),this.breakpointService.subscribe(J.WV).pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.nzResponsive&&(this.size=n===J.G_.xs?"small":"default",this.cdr.markForCheck())}),null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(t){const{nzHideOnSinglePage:n,nzTotal:a,nzPageSize:s,nzSize:c}=t;a&&this.total$.next(this.nzTotal),(n||a||s)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),c&&(this.size=c.currentValue)}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(P.wi),e.Y36(e.sBO),e.Y36(J.r3),e.Y36(O.jY),e.Y36(w.Is,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:8,hostBindings:function(t,n){2&t&&e.ekj("ant-pagination-simple",n.nzSimple)("ant-pagination-disabled",n.nzDisabled)("mini",!n.nzSimple&&"small"===n.size)("ant-pagination-rtl","rtl"===n.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[e.TTD],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(t,n){1&t&&(e.YNc(0,Xe,2,2,"ng-container",0),e.TgZ(1,"nz-pagination-simple",1,2),e.NdJ("pageIndexChange",function(s){return n.onPageIndexChange(s)}),e.qZA(),e.TgZ(3,"nz-pagination-default",3,4),e.NdJ("pageIndexChange",function(s){return n.onPageIndexChange(s)})("pageSizeChange",function(s){return n.onPageSizeChange(s)}),e.qZA()),2&t&&(e.Q6J("ngIf",n.showPagination),e.xp6(1),e.Q6J("disabled",n.nzDisabled)("itemRender",n.nzItemRender)("locale",n.locale)("pageSize",n.nzPageSize)("total",n.nzTotal)("pageIndex",n.nzPageIndex),e.xp6(2),e.Q6J("nzSize",n.size)("itemRender",n.nzItemRender)("showTotal",n.nzShowTotal)("disabled",n.nzDisabled)("locale",n.locale)("showSizeChanger",n.nzShowSizeChanger)("showQuickJumper",n.nzShowQuickJumper)("total",n.nzTotal)("pageIndex",n.nzPageIndex)("pageSize",n.nzPageSize)("pageSizeOptions",n.nzPageSizeOptions))},directives:[Ge,qe,f.O5,f.tP],encapsulation:2,changeDetection:0}),(0,v.gn)([(0,O.oS)()],i.prototype,"nzSize",void 0),(0,v.gn)([(0,O.oS)()],i.prototype,"nzPageSizeOptions",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzShowSizeChanger",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzShowQuickJumper",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzSimple",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzDisabled",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzResponsive",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzHideOnSinglePage",void 0),(0,v.gn)([(0,x.Rn)()],i.prototype,"nzTotal",void 0),(0,v.gn)([(0,x.Rn)()],i.prototype,"nzPageIndex",void 0),(0,v.gn)([(0,x.Rn)()],i.prototype,"nzPageSize",void 0),i})(),nt=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[w.vT,f.ez,$.u5,U.LV,P.YI,E.PV]]}),i})();var be=d(3868),Te=d(7525),Se=d(3753),M=d(591),B=d(3426),j=d(6787),pe=d(8896),it=d(1086),I=d(4850),H=d(1059),R=d(7545),ye=d(13),ge=d(6792),ze=d(2198),ue=d(5778),ot=d(1307),fe=d(1709),Oe=d(2683),at=d(2643);const X=["*"];function st(i,o){}function lt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"label",15),e.NdJ("ngModelChange",function(){e.CHM(t);const a=e.oxw().$implicit;return e.oxw(2).check(a)}),e.qZA()}if(2&i){const t=e.oxw().$implicit;e.Q6J("ngModel",t.checked)}}function rt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"label",16),e.NdJ("ngModelChange",function(){e.CHM(t);const a=e.oxw().$implicit;return e.oxw(2).check(a)}),e.qZA()}if(2&i){const t=e.oxw().$implicit;e.Q6J("ngModel",t.checked)}}function ct(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"li",12),e.NdJ("click",function(){const s=e.CHM(t).$implicit;return e.oxw(2).check(s)}),e.YNc(1,lt,1,1,"label",13),e.YNc(2,rt,1,1,"label",14),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.qZA()}if(2&i){const t=o.$implicit,n=e.oxw(2);e.Q6J("nzSelected",t.checked),e.xp6(1),e.Q6J("ngIf",!n.filterMultiple),e.xp6(1),e.Q6J("ngIf",n.filterMultiple),e.xp6(2),e.Oqu(t.text)}}function dt(i,o){if(1&i){const t=e.EpF();e.ynx(0),e.TgZ(1,"nz-filter-trigger",3),e.NdJ("nzVisibleChange",function(a){return e.CHM(t),e.oxw().onVisibleChange(a)}),e._UZ(2,"i",4),e.qZA(),e.TgZ(3,"nz-dropdown-menu",null,5),e.TgZ(5,"div",6),e.TgZ(6,"ul",7),e.YNc(7,ct,5,4,"li",8),e.qZA(),e.TgZ(8,"div",9),e.TgZ(9,"button",10),e.NdJ("click",function(){return e.CHM(t),e.oxw().reset()}),e._uU(10),e.qZA(),e.TgZ(11,"button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().confirm()}),e._uU(12),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&i){const t=e.MAs(4),n=e.oxw();e.xp6(1),e.Q6J("nzVisible",n.isVisible)("nzActive",n.isChecked)("nzDropdownMenu",t),e.xp6(6),e.Q6J("ngForOf",n.listOfParsedFilter)("ngForTrackBy",n.trackByValue),e.xp6(2),e.Q6J("disabled",!n.isChecked),e.xp6(1),e.hij(" ",n.locale.filterReset," "),e.xp6(2),e.Oqu(n.locale.filterConfirm)}}function pt(i,o){}function gt(i,o){if(1&i&&e._UZ(0,"i",6),2&i){const t=e.oxw();e.ekj("active","ascend"===t.sortOrder)}}function zt(i,o){if(1&i&&e._UZ(0,"i",7),2&i){const t=e.oxw();e.ekj("active","descend"===t.sortOrder)}}const ut=["nzColumnKey",""];function ft(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"nz-table-filter",5),e.NdJ("filterChange",function(a){return e.CHM(t),e.oxw().onFilterValueChange(a)}),e.qZA()}if(2&i){const t=e.oxw(),n=e.MAs(2),a=e.MAs(4);e.Q6J("contentTemplate",n)("extraTemplate",a)("customFilter",t.nzCustomFilter)("filterMultiple",t.nzFilterMultiple)("listOfFilter",t.nzFilters)}}function mt(i,o){}function _t(i,o){if(1&i&&e.YNc(0,mt,0,0,"ng-template",6),2&i){const t=e.oxw(),n=e.MAs(6),a=e.MAs(8);e.Q6J("ngTemplateOutlet",t.nzShowSort?n:a)}}function Ct(i,o){1&i&&(e.Hsn(0),e.Hsn(1,1))}function xt(i,o){if(1&i&&e._UZ(0,"nz-table-sorters",7),2&i){const t=e.oxw(),n=e.MAs(8);e.Q6J("sortOrder",t.sortOrder)("sortDirections",t.sortDirections)("contentTemplate",n)}}function vt(i,o){1&i&&e.Hsn(0,2)}const bt=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],Tt=["[nz-th-extra]","nz-filter-trigger","*"],St=["nz-table-content",""];function yt(i,o){if(1&i&&e._UZ(0,"col"),2&i){const t=o.$implicit;e.Udp("width",t)("min-width",t)}}function Ot(i,o){}function Nt(i,o){if(1&i&&(e.TgZ(0,"thead",3),e.YNc(1,Ot,0,0,"ng-template",2),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t.theadTemplate)}}function wt(i,o){}const Ne=["tdElement"],Dt=["nz-table-fixed-row",""];function Pt(i,o){}function It(i,o){if(1&i&&(e.TgZ(0,"div",4),e.ALo(1,"async"),e.YNc(2,Pt,0,0,"ng-template",5),e.qZA()),2&i){const t=e.oxw(),n=e.MAs(5);e.Udp("width",e.lcZ(1,3,t.hostWidth$),"px"),e.xp6(2),e.Q6J("ngTemplateOutlet",n)}}function Ft(i,o){1&i&&e.Hsn(0)}const Mt=["nz-table-measure-row",""];function kt(i,o){1&i&&e._UZ(0,"td",1,2)}function Rt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"tr",3),e.NdJ("listOfAutoWidth",function(a){return e.CHM(t),e.oxw(2).onListOfAutoWidthChange(a)}),e.qZA()}if(2&i){const t=e.oxw().ngIf;e.Q6J("listOfMeasureColumn",t)}}function $t(i,o){if(1&i&&(e.ynx(0),e.YNc(1,Rt,1,1,"tr",2),e.BQk()),2&i){const t=o.ngIf,n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.isInsideTable&&t.length)}}function Et(i,o){if(1&i&&(e.TgZ(0,"tr",4),e._UZ(1,"nz-embed-empty",5),e.ALo(2,"async"),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("specificContent",e.lcZ(2,1,t.noResult$))}}const Bt=["tableHeaderElement"],At=["tableBodyElement"];function Qt(i,o){if(1&i&&(e.TgZ(0,"div",7,8),e._UZ(2,"table",9),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("ngStyle",t.bodyStyleMap),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth)("contentTemplate",t.contentTemplate)}}function Jt(i,o){}const Yt=function(i,o){return{$implicit:i,index:o}};function Ht(i,o){if(1&i&&(e.ynx(0),e.YNc(1,Jt,0,0,"ng-template",13),e.BQk()),2&i){const t=o.$implicit,n=o.index,a=e.oxw(3);e.xp6(1),e.Q6J("ngTemplateOutlet",a.virtualTemplate)("ngTemplateOutletContext",e.WLB(2,Yt,t,n))}}function Zt(i,o){if(1&i&&(e.TgZ(0,"cdk-virtual-scroll-viewport",10,8),e.TgZ(2,"table",11),e.TgZ(3,"tbody"),e.YNc(4,Ht,2,5,"ng-container",12),e.qZA(),e.qZA(),e.qZA()),2&i){const t=e.oxw(2);e.Udp("height",t.data.length?t.scrollY:t.noDateVirtualHeight),e.Q6J("itemSize",t.virtualItemSize)("maxBufferPx",t.virtualMaxBufferPx)("minBufferPx",t.virtualMinBufferPx),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth),e.xp6(2),e.Q6J("cdkVirtualForOf",t.data)("cdkVirtualForTrackBy",t.virtualForTrackBy)}}function Wt(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"div",2,3),e._UZ(3,"table",4),e.qZA(),e.YNc(4,Qt,3,4,"div",5),e.YNc(5,Zt,5,9,"cdk-virtual-scroll-viewport",6),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngStyle",t.headerStyleMap),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth)("theadTemplate",t.theadTemplate),e.xp6(1),e.Q6J("ngIf",!t.virtualTemplate),e.xp6(1),e.Q6J("ngIf",t.virtualTemplate)}}function Lt(i,o){if(1&i&&(e.TgZ(0,"div",14,8),e._UZ(2,"table",15),e.qZA()),2&i){const t=e.oxw();e.Q6J("ngStyle",t.bodyStyleMap),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth)("theadTemplate",t.theadTemplate)("contentTemplate",t.contentTemplate)}}function Vt(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t.title)}}function Ut(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t.footer)}}function jt(i,o){}function Xt(i,o){if(1&i&&(e.ynx(0),e.YNc(1,jt,0,0,"ng-template",10),e.BQk()),2&i){e.oxw();const t=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function Gt(i,o){if(1&i&&e._UZ(0,"nz-table-title-footer",11),2&i){const t=e.oxw();e.Q6J("title",t.nzTitle)}}function Kt(i,o){if(1&i&&e._UZ(0,"nz-table-inner-scroll",12),2&i){const t=e.oxw(),n=e.MAs(13),a=e.MAs(3);e.Q6J("data",t.data)("scrollX",t.scrollX)("scrollY",t.scrollY)("contentTemplate",n)("listOfColWidth",t.listOfAutoColWidth)("theadTemplate",t.theadTemplate)("verticalScrollBarWidth",t.verticalScrollBarWidth)("virtualTemplate",t.nzVirtualScrollDirective?t.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",t.nzVirtualItemSize)("virtualMaxBufferPx",t.nzVirtualMaxBufferPx)("virtualMinBufferPx",t.nzVirtualMinBufferPx)("tableMainElement",a)("virtualForTrackBy",t.nzVirtualForTrackBy)}}function qt(i,o){if(1&i&&e._UZ(0,"nz-table-inner-default",13),2&i){const t=e.oxw(),n=e.MAs(13);e.Q6J("tableLayout",t.nzTableLayout)("listOfColWidth",t.listOfManualColWidth)("theadTemplate",t.theadTemplate)("contentTemplate",n)}}function en(i,o){if(1&i&&e._UZ(0,"nz-table-title-footer",14),2&i){const t=e.oxw();e.Q6J("footer",t.nzFooter)}}function tn(i,o){}function nn(i,o){if(1&i&&(e.ynx(0),e.YNc(1,tn,0,0,"ng-template",10),e.BQk()),2&i){e.oxw();const t=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function on(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"nz-pagination",16),e.NdJ("nzPageSizeChange",function(a){return e.CHM(t),e.oxw(2).onPageSizeChange(a)})("nzPageIndexChange",function(a){return e.CHM(t),e.oxw(2).onPageIndexChange(a)}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("hidden",!t.showPagination)("nzShowSizeChanger",t.nzShowSizeChanger)("nzPageSizeOptions",t.nzPageSizeOptions)("nzItemRender",t.nzItemRender)("nzShowQuickJumper",t.nzShowQuickJumper)("nzHideOnSinglePage",t.nzHideOnSinglePage)("nzShowTotal",t.nzShowTotal)("nzSize","small"===t.nzPaginationType?"small":"default"===t.nzSize?"default":"small")("nzPageSize",t.nzPageSize)("nzTotal",t.nzTotal)("nzSimple",t.nzSimple)("nzPageIndex",t.nzPageIndex)}}function an(i,o){if(1&i&&e.YNc(0,on,1,12,"nz-pagination",15),2&i){const t=e.oxw();e.Q6J("ngIf",t.nzShowPagination&&t.data.length)}}function sn(i,o){1&i&&e.Hsn(0)}const ln=["contentTemplate"];function rn(i,o){1&i&&e.Hsn(0)}function cn(i,o){}function dn(i,o){if(1&i&&(e.ynx(0),e.YNc(1,cn,0,0,"ng-template",2),e.BQk()),2&i){e.oxw();const t=e.MAs(1);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}let pn=(()=>{class i{constructor(t,n,a,s){this.nzConfigService=t,this.ngZone=n,this.cdr=a,this.destroy$=s,this._nzModuleName="filterTrigger",this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new e.vpe}onVisibleChange(t){this.nzVisible=t,this.nzVisibleChange.next(t)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,Se.R)(this.nzDropdown.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(t=>{t.stopPropagation()})})}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(O.jY),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(J.kn))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-filter-trigger"]],viewQuery:function(t,n){if(1&t&&e.Gf(m.cm,7,e.SBq),2&t){let a;e.iGM(a=e.CRH())&&(n.nzDropdown=a.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],features:[e._Bn([J.kn])],ngContentSelectors:X,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.NdJ("nzVisibleChange",function(s){return n.onVisibleChange(s)}),e.Hsn(1),e.qZA()),2&t&&(e.ekj("active",n.nzActive)("ant-table-filter-open",n.nzVisible),e.Q6J("nzBackdrop",n.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",n.nzDropdownMenu)("nzVisible",n.nzVisible))},directives:[m.cm],encapsulation:2,changeDetection:0}),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzBackdrop",void 0),i})(),gn=(()=>{class i{constructor(t,n){this.cdr=t,this.i18n=n,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new e.vpe,this.destroy$=new y.xQ,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}trackByValue(t,n){return n.value}check(t){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(n=>n===t?Object.assign(Object.assign({},n),{checked:!t.checked}):n),t.checked=!t.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(n=>Object.assign(Object.assign({},n),{checked:n===t})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(t){this.isVisible=t,t?this.listOfChecked=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value):this.emitFilterData()}emitFilterData(){const t=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value);(0,x.cO)(this.listOfChecked,t)||this.filterChange.emit(this.filterMultiple?t:t.length>0?t[0]:null)}parseListOfFilter(t,n){return t.map(a=>({text:a.text,value:a.value,checked:!n&&!!a.byDefault}))}getCheckedStatus(t){return t.some(n=>n.checked)}ngOnInit(){this.i18n.localeChange.pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(t){const{listOfFilter:n}=t;n&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.sBO),e.Y36(P.wi))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[e.TTD],decls:3,vars:3,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"span",0),e.YNc(1,st,0,0,"ng-template",1),e.qZA(),e.YNc(2,dt,13,8,"ng-container",2)),2&t&&(e.xp6(1),e.Q6J("ngTemplateOutlet",n.contentTemplate),e.xp6(1),e.Q6J("ngIf",!n.customFilter)("ngIfElse",n.extraTemplate))},directives:[pn,m.RR,be.Of,b.Ie,q.ix,f.tP,f.O5,Oe.w,E.Ls,W.wO,f.sg,W.r9,$.JJ,$.On,at.dQ],encapsulation:2,changeDetection:0}),i})(),zn=(()=>{class i{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges(t){const{sortDirections:n}=t;n&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[e.TTD],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(t,n){1&t&&(e.TgZ(0,"span",0),e.YNc(1,pt,0,0,"ng-template",1),e.qZA(),e.TgZ(2,"span",2),e.TgZ(3,"span",3),e.YNc(4,gt,1,2,"i",4),e.YNc(5,zt,1,2,"i",5),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngTemplateOutlet",n.contentTemplate),e.xp6(1),e.ekj("ant-table-column-sorter-full",n.isDown&&n.isUp),e.xp6(2),e.Q6J("ngIf",n.isUp),e.xp6(1),e.Q6J("ngIf",n.isDown))},directives:[f.tP,f.O5,Oe.w,E.Ls],encapsulation:2,changeDetection:0}),i})(),we=(()=>{class i{constructor(t,n){this.renderer=t,this.elementRef=n,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new y.xQ,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}setAutoLeftWidth(t){this.renderer.setStyle(this.elementRef.nativeElement,"left",t)}setAutoRightWidth(t){this.renderer.setStyle(this.elementRef.nativeElement,"right",t)}setIsFirstRight(t){this.setFixClass(t,"ant-table-cell-fix-right-first")}setIsLastLeft(t){this.setFixClass(t,"ant-table-cell-fix-left-last")}setFixClass(t,n){this.renderer.removeClass(this.elementRef.nativeElement,n),t&&this.renderer.addClass(this.elementRef.nativeElement,n)}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const t=n=>"string"==typeof n&&""!==n?n:null;this.setAutoLeftWidth(t(this.nzLeft)),this.setAutoRightWidth(t(this.nzRight)),this.changes$.next()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Qsj),e.Y36(e.SBq))},i.\u0275dir=e.lG2({type:i,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(t,n){2&t&&(e.Udp("position",n.isFixed?"sticky":null),e.ekj("ant-table-cell-fix-right",n.isFixedRight)("ant-table-cell-fix-left",n.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[e.TTD]}),i})(),V=(()=>{class i{constructor(){this.theadTemplate$=new D.t(1),this.hasFixLeft$=new D.t(1),this.hasFixRight$=new D.t(1),this.hostWidth$=new D.t(1),this.columnCount$=new D.t(1),this.showEmpty$=new D.t(1),this.noResult$=new D.t(1),this.listOfThWidthConfigPx$=new M.X([]),this.tableWidthConfigPx$=new M.X([]),this.manualWidthConfigPx$=(0,B.aj)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe((0,I.U)(([t,n])=>t.length?t:n)),this.listOfAutoWidthPx$=new D.t(1),this.listOfListOfThWidthPx$=(0,j.T)(this.manualWidthConfigPx$,(0,B.aj)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe((0,I.U)(([t,n])=>t.length===n.length?t.map((a,s)=>"0px"===a?n[s]||null:n[s]||a):n))),this.listOfMeasureColumn$=new D.t(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe((0,I.U)(t=>t.map(n=>parseInt(n,10)))),this.enableAutoMeasure$=new D.t(1)}setTheadTemplate(t){this.theadTemplate$.next(t)}setHasFixLeft(t){this.hasFixLeft$.next(t)}setHasFixRight(t){this.hasFixRight$.next(t)}setTableWidthConfig(t){this.tableWidthConfigPx$.next(t)}setListOfTh(t){let n=0;t.forEach(s=>{n+=s.colspan&&+s.colspan||s.colSpan&&+s.colSpan||1});const a=t.map(s=>s.nzWidth);this.columnCount$.next(n),this.listOfThWidthConfigPx$.next(a)}setListOfMeasureColumn(t){const n=[];t.forEach(a=>{const s=a.colspan&&+a.colspan||a.colSpan&&+a.colSpan||1;for(let c=0;c`${n}px`))}setShowEmpty(t){this.showEmpty$.next(t)}setNoResult(t){this.noResult$.next(t)}setScroll(t,n){const a=!(!t&&!n);a||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(a)}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac}),i})(),un=(()=>{class i{constructor(t){this.isInsideTable=!1,this.isInsideTable=!!t}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(V,8))},i.\u0275dir=e.lG2({type:i,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-cell",n.isInsideTable)}}),i})(),De=(()=>{class i{constructor(t){this.cdr=t,this.manualClickOrder$=new y.xQ,this.calcOperatorChange$=new y.xQ,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new y.xQ,this.destroy$=new y.xQ,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new e.vpe,this.nzSortOrderChange=new e.vpe,this.nzFilterChange=new e.vpe}getNextSortDirection(t,n){const a=t.indexOf(n);return a===t.length-1?t[0]:t[a+1]}emitNextSortValue(){if(this.nzShowSort){const t=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.setSortOrder(t),this.manualClickOrder$.next(this)}}setSortOrder(t){this.sortOrderChange$.next(t)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange(t){this.nzFilterChange.emit(t),this.nzFilterValue=t,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}ngOnInit(){this.sortOrderChange$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.sortOrder!==t&&(this.sortOrder=t,this.nzSortOrderChange.emit(t)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(t){const{nzSortDirections:n,nzFilters:a,nzSortOrder:s,nzSortFn:c,nzFilterFn:g,nzSortPriority:z,nzFilterMultiple:C,nzShowSort:T,nzShowFilter:u}=t;n&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),s&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),T&&(this.isNzShowSortChanged=!0),u&&(this.isNzShowFilterChanged=!0);const k=Z=>Z&&Z.firstChange&&void 0!==Z.currentValue;if((k(s)||k(c))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),k(a)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(a||C)&&this.nzShowFilter){const Z=this.nzFilters.filter(G=>G.byDefault).map(G=>G.value);this.nzFilterValue=this.nzFilterMultiple?Z:Z[0]||null}(c||g||z||a)&&this.updateCalcOperator()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.sBO))},i.\u0275cmp=e.Xpm({type:i,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.emitNextSortValue()}),2&t&&e.ekj("ant-table-column-has-sorters",n.nzShowSort)("ant-table-column-sort","descend"===n.sortOrder||"ascend"===n.sortOrder)},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[e.TTD],attrs:ut,ngContentSelectors:Tt,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(t,n){if(1&t&&(e.F$t(bt),e.YNc(0,ft,1,5,"nz-table-filter",0),e.YNc(1,_t,1,1,"ng-template",null,1,e.W1O),e.YNc(3,Ct,2,0,"ng-template",null,2,e.W1O),e.YNc(5,xt,1,3,"ng-template",null,3,e.W1O),e.YNc(7,vt,1,0,"ng-template",null,4,e.W1O)),2&t){const a=e.MAs(2);e.Q6J("ngIf",n.nzShowFilter||n.nzCustomFilter)("ngIfElse",a)}},directives:[gn,zn,f.O5,f.tP],encapsulation:2,changeDetection:0}),(0,v.gn)([(0,x.yF)()],i.prototype,"nzShowSort",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzShowFilter",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzCustomFilter",void 0),i})(),Pe=(()=>{class i{constructor(t,n){this.renderer=t,this.elementRef=n,this.changes$=new y.xQ,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(t){const{nzWidth:n,colspan:a,rowspan:s,colSpan:c,rowSpan:g}=t;if(a||c){const z=this.colspan||this.colSpan;(0,x.kK)(z)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${z}`)}if(s||g){const z=this.rowspan||this.rowSpan;(0,x.kK)(z)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${z}`)}(n||a)&&this.changes$.next()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Qsj),e.Y36(e.SBq))},i.\u0275dir=e.lG2({type:i,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[e.TTD]}),i})(),fn=(()=>{class i{constructor(){this.nzAlign=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=e.lG2({type:i,selectors:[["th","nzAlign",""],["td","nzAlign",""]],hostVars:2,hostBindings:function(t,n){2&t&&e.Udp("text-align",n.nzAlign)},inputs:{nzAlign:"nzAlign"}}),i})(),Ie=(()=>{class i{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(t,n){2&t&&(e.Udp("table-layout",n.tableLayout)("width",n.scrollX)("min-width",n.scrollX?"100%":null),e.ekj("ant-table-fixed",n.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:St,ngContentSelectors:X,decls:4,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,yt,1,4,"col",0),e.YNc(1,Nt,2,1,"thead",1),e.YNc(2,wt,0,0,"ng-template",2),e.Hsn(3)),2&t&&(e.Q6J("ngForOf",n.listOfColWidth),e.xp6(1),e.Q6J("ngIf",n.theadTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",n.contentTemplate))},directives:[f.sg,f.O5,f.tP],encapsulation:2,changeDetection:0}),i})(),mn=(()=>{class i{constructor(t,n){this.nzTableStyleService=t,this.renderer=n,this.hostWidth$=new M.X(null),this.enableAutoMeasure$=new M.X(!1),this.destroy$=new y.xQ}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:t,hostWidth$:n}=this.nzTableStyleService;t.pipe((0,p.R)(this.destroy$)).subscribe(this.enableAutoMeasure$),n.pipe((0,p.R)(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${t}`)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(V),e.Y36(e.Qsj))},i.\u0275cmp=e.Xpm({type:i,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(t,n){if(1&t&&e.Gf(Ne,7),2&t){let a;e.iGM(a=e.CRH())&&(n.tdElement=a.first)}},attrs:Dt,ngContentSelectors:X,decls:6,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"td",0,1),e.YNc(2,It,3,5,"div",2),e.ALo(3,"async"),e.qZA(),e.YNc(4,Ft,1,0,"ng-template",null,3,e.W1O)),2&t){const a=e.MAs(5);e.xp6(2),e.Q6J("ngIf",e.lcZ(3,2,n.enableAutoMeasure$))("ngIfElse",a)}},directives:[f.O5,f.tP],pipes:[f.Ov],encapsulation:2,changeDetection:0}),i})(),_n=(()=>{class i{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:2,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"table",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("contentTemplate",n.contentTemplate)("tableLayout",n.tableLayout)("listOfColWidth",n.listOfColWidth)("theadTemplate",n.theadTemplate))},directives:[Ie],encapsulation:2,changeDetection:0}),i})(),Cn=(()=>{class i{constructor(t,n){this.nzResizeObserver=t,this.ngZone=n,this.listOfMeasureColumn=[],this.listOfAutoWidth=new e.vpe,this.destroy$=new y.xQ}trackByFunc(t,n){return n}ngAfterViewInit(){this.listOfTdElement.changes.pipe((0,H.O)(this.listOfTdElement)).pipe((0,R.w)(t=>(0,B.aj)(t.toArray().map(n=>this.nzResizeObserver.observe(n).pipe((0,I.U)(([a])=>{const{width:s}=a.target.getBoundingClientRect();return Math.floor(s)}))))),(0,ye.b)(16),(0,p.R)(this.destroy$)).subscribe(t=>{this.ngZone.run(()=>{this.listOfAutoWidth.next(t)})})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(Q.D3),e.Y36(e.R0b))},i.\u0275cmp=e.Xpm({type:i,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(t,n){if(1&t&&e.Gf(Ne,5),2&t){let a;e.iGM(a=e.CRH())&&(n.listOfTdElement=a)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:Mt,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(t,n){1&t&&e.YNc(0,kt,2,0,"td",0),2&t&&e.Q6J("ngForOf",n.listOfMeasureColumn)("ngForTrackBy",n.trackByFunc)},directives:[f.sg],encapsulation:2,changeDetection:0}),i})(),Fe=(()=>{class i{constructor(t){if(this.nzTableStyleService=t,this.isInsideTable=!1,this.showEmpty$=new M.X(!1),this.noResult$=new M.X(void 0),this.listOfMeasureColumn$=new M.X([]),this.destroy$=new y.xQ,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:n,noResult$:a,listOfMeasureColumn$:s}=this.nzTableStyleService;a.pipe((0,p.R)(this.destroy$)).subscribe(this.noResult$),s.pipe((0,p.R)(this.destroy$)).subscribe(this.listOfMeasureColumn$),n.pipe((0,p.R)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(t){this.nzTableStyleService.setListOfAutoWidth(t)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(V,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["tbody"]],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-tbody",n.isInsideTable)},ngContentSelectors:X,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,$t,2,1,"ng-container",0),e.ALo(1,"async"),e.Hsn(2),e.YNc(3,Et,3,3,"tr",1),e.ALo(4,"async")),2&t&&(e.Q6J("ngIf",e.lcZ(1,2,n.listOfMeasureColumn$)),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,4,n.showEmpty$)))},directives:[Cn,mn,N.gB,f.O5],pipes:[f.Ov],encapsulation:2,changeDetection:0}),i})(),Me=(()=>{class i{constructor(t,n,a,s){this.renderer=t,this.ngZone=n,this.platform=a,this.resizeService=s,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=c=>c,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new y.xQ,this.scroll$=new y.xQ,this.destroy$=new y.xQ}setScrollPositionClassName(t=!1){const{scrollWidth:n,scrollLeft:a,clientWidth:s}=this.tableBodyElement.nativeElement,c="ant-table-ping-left",g="ant-table-ping-right";n===s&&0!==n||t?(this.renderer.removeClass(this.tableMainElement,c),this.renderer.removeClass(this.tableMainElement,g)):0===a?(this.renderer.removeClass(this.tableMainElement,c),this.renderer.addClass(this.tableMainElement,g)):n===a+s?(this.renderer.removeClass(this.tableMainElement,g),this.renderer.addClass(this.tableMainElement,c)):(this.renderer.addClass(this.tableMainElement,c),this.renderer.addClass(this.tableMainElement,g))}ngOnChanges(t){const{scrollX:n,scrollY:a,data:s}=t;if(n||a){const c=0!==this.verticalScrollBarWidth;this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&c?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.scroll$.next()}s&&this.data$.next()}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const t=this.scroll$.pipe((0,H.O)(null),(0,ge.g)(0),(0,R.w)(()=>(0,Se.R)(this.tableBodyElement.nativeElement,"scroll").pipe((0,H.O)(!0))),(0,p.R)(this.destroy$)),n=this.resizeService.subscribe().pipe((0,p.R)(this.destroy$)),a=this.data$.pipe((0,p.R)(this.destroy$));(0,j.T)(t,n,a,this.scroll$).pipe((0,H.O)(!0),(0,ge.g)(0),(0,p.R)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),t.pipe((0,ze.h)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(A.t4),e.Y36(J.rI))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-inner-scroll"]],viewQuery:function(t,n){if(1&t&&(e.Gf(Bt,5,e.SBq),e.Gf(At,5,e.SBq),e.Gf(l.N7,5,l.N7)),2&t){let a;e.iGM(a=e.CRH())&&(n.tableHeaderElement=a.first),e.iGM(a=e.CRH())&&(n.tableBodyElement=a.first),e.iGM(a=e.CRH())&&(n.cdkVirtualScrollViewport=a.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},features:[e.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function(t,n){1&t&&(e.YNc(0,Wt,6,6,"ng-container",0),e.YNc(1,Lt,3,5,"div",1)),2&t&&(e.Q6J("ngIf",n.scrollY),e.xp6(1),e.Q6J("ngIf",!n.scrollY))},directives:[Ie,l.N7,Fe,f.O5,f.PC,l.xd,l.x0,f.tP],encapsulation:2,changeDetection:0}),i})(),ke=(()=>{class i{constructor(t){this.templateRef=t}static ngTemplateContextGuard(t,n){return!0}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Rgc))},i.\u0275dir=e.lG2({type:i,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]}),i})(),me=(()=>{class i{constructor(){this.destroy$=new y.xQ,this.pageIndex$=new M.X(1),this.frontPagination$=new M.X(!0),this.pageSize$=new M.X(10),this.listOfData$=new M.X([]),this.pageIndexDistinct$=this.pageIndex$.pipe((0,ue.x)()),this.pageSizeDistinct$=this.pageSize$.pipe((0,ue.x)()),this.listOfCalcOperator$=new M.X([]),this.queryParams$=(0,B.aj)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe((0,ye.b)(0),(0,ot.T)(1),(0,I.U)(([t,n,a])=>({pageIndex:t,pageSize:n,sort:a.filter(s=>s.sortFn).map(s=>({key:s.key,value:s.sortOrder})),filter:a.filter(s=>s.filterFn).map(s=>({key:s.key,value:s.filterValue}))}))),this.listOfDataAfterCalc$=(0,B.aj)([this.listOfData$,this.listOfCalcOperator$]).pipe((0,I.U)(([t,n])=>{let a=[...t];const s=n.filter(g=>{const{filterValue:z,filterFn:C}=g;return!(null==z||Array.isArray(z)&&0===z.length)&&"function"==typeof C});for(const g of s){const{filterFn:z,filterValue:C}=g;a=a.filter(T=>z(C,T))}const c=n.filter(g=>null!==g.sortOrder&&"function"==typeof g.sortFn).sort((g,z)=>+z.sortPriority-+g.sortPriority);return n.length&&a.sort((g,z)=>{for(const C of c){const{sortFn:T,sortOrder:u}=C;if(T&&u){const k=T(g,z,u);if(0!==k)return"ascend"===u?k:-k}}return 0}),a})),this.listOfFrontEndCurrentPageData$=(0,B.aj)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe((0,p.R)(this.destroy$),(0,ze.h)(t=>{const[n,a,s]=t;return n<=(Math.ceil(s.length/a)||1)}),(0,I.U)(([t,n,a])=>a.slice((t-1)*n,t*n))),this.listOfCurrentPageData$=this.frontPagination$.pipe((0,R.w)(t=>t?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe((0,R.w)(t=>t?this.listOfDataAfterCalc$:this.listOfData$),(0,I.U)(t=>t.length),(0,ue.x)())}updatePageSize(t){this.pageSize$.next(t)}updateFrontPagination(t){this.frontPagination$.next(t)}updatePageIndex(t){this.pageIndex$.next(t)}updateListOfData(t){this.listOfData$.next(t)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac}),i})(),xn=(()=>{class i{constructor(){this.title=null,this.footer=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("ant-table-title",null!==n.title)("ant-table-footer",null!==n.footer)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(t,n){1&t&&(e.YNc(0,Vt,2,1,"ng-container",0),e.YNc(1,Ut,2,1,"ng-container",0)),2&t&&(e.Q6J("nzStringTemplateOutlet",n.title),e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.footer))},directives:[F.f],encapsulation:2,changeDetection:0}),i})(),vn=(()=>{class i{constructor(t,n,a,s,c,g,z){this.elementRef=t,this.nzResizeObserver=n,this.nzConfigService=a,this.cdr=s,this.nzTableStyleService=c,this.nzTableDataService=g,this.directionality=z,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=C=>C,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new e.vpe,this.nzPageIndexChange=new e.vpe,this.nzQueryParams=new e.vpe,this.nzCurrentPageDataChange=new e.vpe,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new y.xQ,this.templateMode$=new M.X(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}onPageSizeChange(t){this.nzTableDataService.updatePageSize(t)}onPageIndexChange(t){this.nzTableDataService.updatePageIndex(t)}ngOnInit(){var t;const{pageIndexDistinct$:n,pageSizeDistinct$:a,listOfCurrentPageData$:s,total$:c,queryParams$:g}=this.nzTableDataService,{theadTemplate$:z,hasFixLeft$:C,hasFixRight$:T}=this.nzTableStyleService;this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.dir=u,this.cdr.detectChanges()}),g.pipe((0,p.R)(this.destroy$)).subscribe(this.nzQueryParams),n.pipe((0,p.R)(this.destroy$)).subscribe(u=>{u!==this.nzPageIndex&&(this.nzPageIndex=u,this.nzPageIndexChange.next(u))}),a.pipe((0,p.R)(this.destroy$)).subscribe(u=>{u!==this.nzPageSize&&(this.nzPageSize=u,this.nzPageSizeChange.next(u))}),c.pipe((0,p.R)(this.destroy$),(0,ze.h)(()=>this.nzFrontPagination)).subscribe(u=>{u!==this.nzTotal&&(this.nzTotal=u,this.cdr.markForCheck())}),s.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.data=u,this.nzCurrentPageDataChange.next(u),this.cdr.markForCheck()}),z.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.theadTemplate=u,this.cdr.markForCheck()}),C.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.hasFixLeft=u,this.cdr.markForCheck()}),T.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.hasFixRight=u,this.cdr.markForCheck()}),(0,B.aj)([c,this.templateMode$]).pipe((0,I.U)(([u,k])=>0===u&&!k),(0,p.R)(this.destroy$)).subscribe(u=>{this.nzTableStyleService.setShowEmpty(u)}),this.verticalScrollBarWidth=(0,x.D8)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.listOfAutoColWidth=u,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.listOfManualColWidth=u,this.cdr.markForCheck()})}ngOnChanges(t){const{nzScroll:n,nzPageIndex:a,nzPageSize:s,nzFrontPagination:c,nzData:g,nzWidthConfig:z,nzNoResult:C,nzTemplateMode:T}=t;a&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),s&&this.nzTableDataService.updatePageSize(this.nzPageSize),g&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),c&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),n&&this.setScrollOnChanges(),z&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),T&&this.templateMode$.next(this.nzTemplateMode),C&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,I.U)(([t])=>{const{width:n}=t.target.getBoundingClientRect();return Math.floor(n-(this.scrollY?this.verticalScrollBarWidth:0))}),(0,p.R)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.SBq),e.Y36(Q.D3),e.Y36(O.jY),e.Y36(e.sBO),e.Y36(V),e.Y36(me),e.Y36(w.Is,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,ke,5),2&t){let s;e.iGM(s=e.CRH())&&(n.nzVirtualScrollDirective=s.first)}},viewQuery:function(t,n){if(1&t&&e.Gf(Me,5),2&t){let a;e.iGM(a=e.CRH())&&(n.nzTableInnerScrollComponent=a.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-wrapper-rtl","rtl"===n.dir)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange"},exportAs:["nzTable"],features:[e._Bn([V,me]),e.TTD],ngContentSelectors:X,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"nz-spin",0),e.YNc(1,Xt,2,1,"ng-container",1),e.TgZ(2,"div",2,3),e.YNc(4,Gt,1,1,"nz-table-title-footer",4),e.YNc(5,Kt,1,13,"nz-table-inner-scroll",5),e.YNc(6,qt,1,4,"ng-template",null,6,e.W1O),e.YNc(8,en,1,1,"nz-table-title-footer",7),e.qZA(),e.YNc(9,nn,2,1,"ng-container",1),e.qZA(),e.YNc(10,an,1,1,"ng-template",null,8,e.W1O),e.YNc(12,sn,1,0,"ng-template",null,9,e.W1O)),2&t){const a=e.MAs(7);e.Q6J("nzDelay",n.nzLoadingDelay)("nzSpinning",n.nzLoading)("nzIndicator",n.nzLoadingIndicator),e.xp6(1),e.Q6J("ngIf","both"===n.nzPaginationPosition||"top"===n.nzPaginationPosition),e.xp6(1),e.ekj("ant-table-rtl","rtl"===n.dir)("ant-table-fixed-header",n.nzData.length&&n.scrollY)("ant-table-fixed-column",n.scrollX)("ant-table-has-fix-left",n.hasFixLeft)("ant-table-has-fix-right",n.hasFixRight)("ant-table-bordered",n.nzBordered)("nz-table-out-bordered",n.nzOuterBordered&&!n.nzBordered)("ant-table-middle","middle"===n.nzSize)("ant-table-small","small"===n.nzSize),e.xp6(2),e.Q6J("ngIf",n.nzTitle),e.xp6(1),e.Q6J("ngIf",n.scrollY||n.scrollX)("ngIfElse",a),e.xp6(3),e.Q6J("ngIf",n.nzFooter),e.xp6(1),e.Q6J("ngIf","both"===n.nzPaginationPosition||"bottom"===n.nzPaginationPosition)}},directives:[Te.W,xn,Me,_n,tt,f.O5,f.tP],encapsulation:2,changeDetection:0}),(0,v.gn)([(0,x.yF)()],i.prototype,"nzFrontPagination",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzTemplateMode",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzShowPagination",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzLoading",void 0),(0,v.gn)([(0,x.yF)()],i.prototype,"nzOuterBordered",void 0),(0,v.gn)([(0,O.oS)()],i.prototype,"nzLoadingIndicator",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzBordered",void 0),(0,v.gn)([(0,O.oS)()],i.prototype,"nzSize",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzShowSizeChanger",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzHideOnSinglePage",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzShowQuickJumper",void 0),(0,v.gn)([(0,O.oS)(),(0,x.yF)()],i.prototype,"nzSimple",void 0),i})(),$e=(()=>{class i{constructor(t){this.nzTableStyleService=t,this.destroy$=new y.xQ,this.listOfFixedColumns$=new D.t(1),this.listOfColumns$=new D.t(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe((0,R.w)(n=>(0,j.T)(this.listOfFixedColumns$,...n.map(a=>a.changes$)).pipe((0,fe.zg)(()=>this.listOfFixedColumns$))),(0,p.R)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,I.U)(n=>n.filter(a=>!1!==a.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,I.U)(n=>n.filter(a=>!1!==a.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe((0,R.w)(n=>(0,j.T)(this.listOfColumns$,...n.map(a=>a.changes$)).pipe((0,fe.zg)(()=>this.listOfColumns$))),(0,p.R)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!t}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe((0,H.O)(this.listOfCellFixedDirective),(0,p.R)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe((0,H.O)(this.listOfNzThDirective),(0,p.R)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(t=>{t.forEach(n=>n.setIsLastLeft(n===t[t.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(t=>{t.forEach(n=>n.setIsFirstRight(n===t[0]))}),(0,B.aj)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe((0,p.R)(this.destroy$)).subscribe(([t,n])=>{n.forEach((a,s)=>{if(a.isAutoLeft){const g=n.slice(0,s).reduce((C,T)=>C+(T.colspan||T.colSpan||1),0),z=t.slice(0,g).reduce((C,T)=>C+T,0);a.setAutoLeftWidth(`${z}px`)}})}),(0,B.aj)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe((0,p.R)(this.destroy$)).subscribe(([t,n])=>{n.forEach((a,s)=>{const c=n[n.length-s-1];if(c.isAutoRight){const z=n.slice(n.length-s,n.length).reduce((T,u)=>T+(u.colspan||u.colSpan||1),0),C=t.slice(t.length-z,t.length).reduce((T,u)=>T+u,0);c.setAutoRightWidth(`${C}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(V,8))},i.\u0275dir=e.lG2({type:i,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Pe,4),e.Suo(a,we,4)),2&t){let s;e.iGM(s=e.CRH())&&(n.listOfNzThDirective=s),e.iGM(s=e.CRH())&&(n.listOfCellFixedDirective=s)}},hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-row",n.isInsideTable)}}),i})(),bn=(()=>{class i{constructor(t,n,a,s){this.elementRef=t,this.renderer=n,this.nzTableStyleService=a,this.nzTableDataService=s,this.destroy$=new y.xQ,this.isInsideTable=!1,this.nzSortOrderChange=new e.vpe,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const t=this.listOfNzTrDirective.changes.pipe((0,H.O)(this.listOfNzTrDirective),(0,I.U)(c=>c&&c.first)),n=t.pipe((0,R.w)(c=>c?c.listOfColumnsChanges$:pe.E),(0,p.R)(this.destroy$));n.subscribe(c=>this.nzTableStyleService.setListOfTh(c)),this.nzTableStyleService.enableAutoMeasure$.pipe((0,R.w)(c=>c?n:(0,it.of)([]))).pipe((0,p.R)(this.destroy$)).subscribe(c=>this.nzTableStyleService.setListOfMeasureColumn(c));const a=t.pipe((0,R.w)(c=>c?c.listOfFixedLeftColumnChanges$:pe.E),(0,p.R)(this.destroy$)),s=t.pipe((0,R.w)(c=>c?c.listOfFixedRightColumnChanges$:pe.E),(0,p.R)(this.destroy$));a.subscribe(c=>{this.nzTableStyleService.setHasFixLeft(0!==c.length)}),s.subscribe(c=>{this.nzTableStyleService.setHasFixRight(0!==c.length)})}if(this.nzTableDataService){const t=this.listOfNzThAddOnComponent.changes.pipe((0,H.O)(this.listOfNzThAddOnComponent));t.pipe((0,R.w)(()=>(0,j.T)(...this.listOfNzThAddOnComponent.map(s=>s.manualClickOrder$))),(0,p.R)(this.destroy$)).subscribe(s=>{this.nzSortOrderChange.emit({key:s.nzColumnKey,value:s.sortOrder}),s.nzSortFn&&!1===s.nzSortPriority&&this.listOfNzThAddOnComponent.filter(g=>g!==s).forEach(g=>g.clearSortOrder())}),t.pipe((0,R.w)(s=>(0,j.T)(t,...s.map(c=>c.calcOperatorChange$)).pipe((0,fe.zg)(()=>t))),(0,I.U)(s=>s.filter(c=>!!c.nzSortFn||!!c.nzFilterFn).map(c=>{const{nzSortFn:g,sortOrder:z,nzFilterFn:C,nzFilterValue:T,nzSortPriority:u,nzColumnKey:k}=c;return{key:k,sortFn:g,sortPriority:u,sortOrder:z,filterFn:C,filterValue:T}})),(0,ge.g)(0),(0,p.R)(this.destroy$)).subscribe(s=>{this.nzTableDataService.listOfCalcOperator$.next(s)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(V,8),e.Y36(me,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,$e,5),e.Suo(a,De,5)),2&t){let s;e.iGM(s=e.CRH())&&(n.listOfNzTrDirective=s),e.iGM(s=e.CRH())&&(n.listOfNzThAddOnComponent=s)}},viewQuery:function(t,n){if(1&t&&e.Gf(ln,7),2&t){let a;e.iGM(a=e.CRH())&&(n.templateRef=a.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:X,decls:3,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,rn,1,0,"ng-template",null,0,e.W1O),e.YNc(2,dn,2,1,"ng-container",1)),2&t&&(e.xp6(2),e.Q6J("ngIf",!n.isInsideTable))},directives:[f.O5,f.tP],encapsulation:2,changeDetection:0}),i})(),Tn=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[w.vT,W.ip,$.u5,F.T,be.aF,b.Wr,m.b1,q.sL,f.ez,A.ud,nt,Q.y7,Te.j,P.YI,E.PV,N.Xo,l.Cl]]}),i})()}}]);
\ No newline at end of file
diff --git a/server/public/7064.7606e873f17e97fe.js b/server/public/7064.7606e873f17e97fe.js
new file mode 100644
index 000000000..0d25d4847
--- /dev/null
+++ b/server/public/7064.7606e873f17e97fe.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7064],{1945:(Re,ae,d)=>{d.d(ae,{$O:()=>re,u5:()=>ee,Jp:()=>ne,KJ:()=>ce,yG:()=>K,ZJ:()=>te,u9:()=>Z});var D=d(226),Q=d(9808),s=d(5e3),f=d(969),e=d(647),F=d(655),X=d(8929),H=d(7625),G=d(4850),U=d(9439),J=d(948),q=d(5577);function Y(r,m){if(1&r&&(s.ynx(0),s._UZ(1,"i",9),s.BQk()),2&r){const h=m.$implicit,S=s.oxw(2);s.xp6(1),s.Q6J("nzType",h||S.getBackIcon())}}function B(r,m){if(1&r){const h=s.EpF();s.TgZ(0,"div",6),s.NdJ("click",function(){return s.CHM(h),s.oxw().onBack()}),s.TgZ(1,"div",7),s.YNc(2,Y,2,1,"ng-container",8),s.qZA(),s.qZA()}if(2&r){const h=s.oxw();s.xp6(2),s.Q6J("nzStringTemplateOutlet",h.nzBackIcon)}}function j(r,m){if(1&r&&(s.ynx(0),s._uU(1),s.BQk()),2&r){const h=s.oxw(2);s.xp6(1),s.Oqu(h.nzTitle)}}function x(r,m){if(1&r&&(s.TgZ(0,"span",10),s.YNc(1,j,2,1,"ng-container",8),s.qZA()),2&r){const h=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",h.nzTitle)}}function v(r,m){1&r&&s.Hsn(0,6,["*ngIf","!nzTitle"])}function y(r,m){if(1&r&&(s.ynx(0),s._uU(1),s.BQk()),2&r){const h=s.oxw(2);s.xp6(1),s.Oqu(h.nzSubtitle)}}function p(r,m){if(1&r&&(s.TgZ(0,"span",11),s.YNc(1,y,2,1,"ng-container",8),s.qZA()),2&r){const h=s.oxw();s.xp6(1),s.Q6J("nzStringTemplateOutlet",h.nzSubtitle)}}function b(r,m){1&r&&s.Hsn(0,7,["*ngIf","!nzSubtitle"])}const M=[[["nz-breadcrumb","nz-page-header-breadcrumb",""]],[["nz-avatar","nz-page-header-avatar",""]],[["nz-page-header-tags"],["","nz-page-header-tags",""]],[["nz-page-header-extra"],["","nz-page-header-extra",""]],[["nz-page-header-content"],["","nz-page-header-content",""]],[["nz-page-header-footer"],["","nz-page-header-footer",""]],[["nz-page-header-title"],["","nz-page-header-title",""]],[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]]],C=["nz-breadcrumb[nz-page-header-breadcrumb]","nz-avatar[nz-page-header-avatar]","nz-page-header-tags, [nz-page-header-tags]","nz-page-header-extra, [nz-page-header-extra]","nz-page-header-content, [nz-page-header-content]","nz-page-header-footer, [nz-page-header-footer]","nz-page-header-title, [nz-page-header-title]","nz-page-header-subtitle, [nz-page-header-subtitle]"];let Z=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=s.lG2({type:r,selectors:[["nz-page-header-title"],["","nz-page-header-title",""]],hostAttrs:[1,"ant-page-header-heading-title"],exportAs:["nzPageHeaderTitle"]}),r})(),K=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=s.lG2({type:r,selectors:[["nz-page-header-subtitle"],["","nz-page-header-subtitle",""]],hostAttrs:[1,"ant-page-header-heading-sub-title"],exportAs:["nzPageHeaderSubtitle"]}),r})(),ee=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=s.lG2({type:r,selectors:[["nz-page-header-content"],["","nz-page-header-content",""]],hostAttrs:[1,"ant-page-header-content"],exportAs:["nzPageHeaderContent"]}),r})(),te=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=s.lG2({type:r,selectors:[["nz-page-header-tags"],["","nz-page-header-tags",""]],hostAttrs:[1,"ant-page-header-heading-tags"],exportAs:["nzPageHeaderTags"]}),r})(),ne=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=s.lG2({type:r,selectors:[["nz-page-header-extra"],["","nz-page-header-extra",""]],hostAttrs:[1,"ant-page-header-heading-extra"],exportAs:["nzPageHeaderExtra"]}),r})(),ie=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=s.lG2({type:r,selectors:[["nz-page-header-footer"],["","nz-page-header-footer",""]],hostAttrs:[1,"ant-page-header-footer"],exportAs:["nzPageHeaderFooter"]}),r})(),oe=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275dir=s.lG2({type:r,selectors:[["nz-breadcrumb","nz-page-header-breadcrumb",""]],exportAs:["nzPageHeaderBreadcrumb"]}),r})(),re=(()=>{class r{constructor(h,S,A,k,de,he){this.location=h,this.nzConfigService=S,this.elementRef=A,this.nzResizeObserver=k,this.cdr=de,this.directionality=he,this._nzModuleName="pageHeader",this.nzBackIcon=null,this.nzGhost=!0,this.nzBack=new s.vpe,this.compact=!1,this.destroy$=new X.xQ,this.dir="ltr"}ngOnInit(){var h;null===(h=this.directionality.change)||void 0===h||h.pipe((0,H.R)(this.destroy$)).subscribe(S=>{this.dir=S,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,G.U)(([h])=>h.contentRect.width),(0,H.R)(this.destroy$)).subscribe(h=>{this.compact=h<768,this.cdr.markForCheck()})}onBack(){if(this.nzBack.observers.length)this.nzBack.emit();else{if(!this.location)throw new Error(`${J.Bq} you should import 'RouterModule' or register 'Location' if you want to use 'nzBack' default event!`);this.location.back()}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}getBackIcon(){return"rtl"===this.dir?"arrow-right":"arrow-left"}}return r.\u0275fac=function(h){return new(h||r)(s.Y36(Q.Ye,8),s.Y36(U.jY),s.Y36(s.SBq),s.Y36(q.D3),s.Y36(s.sBO),s.Y36(D.Is,8))},r.\u0275cmp=s.Xpm({type:r,selectors:[["nz-page-header"]],contentQueries:function(h,S,A){if(1&h&&(s.Suo(A,ie,5),s.Suo(A,oe,5)),2&h){let k;s.iGM(k=s.CRH())&&(S.nzPageHeaderFooter=k.first),s.iGM(k=s.CRH())&&(S.nzPageHeaderBreadcrumb=k.first)}},hostAttrs:[1,"ant-page-header"],hostVars:10,hostBindings:function(h,S){2&h&&s.ekj("has-footer",S.nzPageHeaderFooter)("ant-page-header-ghost",S.nzGhost)("has-breadcrumb",S.nzPageHeaderBreadcrumb)("ant-page-header-compact",S.compact)("ant-page-header-rtl","rtl"===S.dir)},inputs:{nzBackIcon:"nzBackIcon",nzTitle:"nzTitle",nzSubtitle:"nzSubtitle",nzGhost:"nzGhost"},outputs:{nzBack:"nzBack"},exportAs:["nzPageHeader"],ngContentSelectors:C,decls:13,vars:5,consts:[[1,"ant-page-header-heading"],[1,"ant-page-header-heading-left"],["class","ant-page-header-back",3,"click",4,"ngIf"],["class","ant-page-header-heading-title",4,"ngIf"],[4,"ngIf"],["class","ant-page-header-heading-sub-title",4,"ngIf"],[1,"ant-page-header-back",3,"click"],["role","button","tabindex","0",1,"ant-page-header-back-button"],[4,"nzStringTemplateOutlet"],["nz-icon","","nzTheme","outline",3,"nzType"],[1,"ant-page-header-heading-title"],[1,"ant-page-header-heading-sub-title"]],template:function(h,S){1&h&&(s.F$t(M),s.Hsn(0),s.TgZ(1,"div",0),s.TgZ(2,"div",1),s.YNc(3,B,3,1,"div",2),s.Hsn(4,1),s.YNc(5,x,2,1,"span",3),s.YNc(6,v,1,0,"ng-content",4),s.YNc(7,p,2,1,"span",5),s.YNc(8,b,1,0,"ng-content",4),s.Hsn(9,2),s.qZA(),s.Hsn(10,3),s.qZA(),s.Hsn(11,4),s.Hsn(12,5)),2&h&&(s.xp6(3),s.Q6J("ngIf",null!==S.nzBackIcon),s.xp6(2),s.Q6J("ngIf",S.nzTitle),s.xp6(1),s.Q6J("ngIf",!S.nzTitle),s.xp6(1),s.Q6J("ngIf",S.nzSubtitle),s.xp6(1),s.Q6J("ngIf",!S.nzSubtitle))},directives:[Q.O5,f.f,e.Ls],encapsulation:2,changeDetection:0}),(0,F.gn)([(0,U.oS)()],r.prototype,"nzGhost",void 0),r})(),ce=(()=>{class r{}return r.\u0275fac=function(h){return new(h||r)},r.\u0275mod=s.oAB({type:r}),r.\u0275inj=s.cJS({imports:[[D.vT,Q.ez,f.T,e.PV]]}),r})()},1132:(Re,ae,d)=>{d.d(ae,{UX:()=>fn,qn:()=>Ne,Uo:()=>un,N8:()=>Tn,HQ:()=>vn,zu:()=>Me,p0:()=>Ie,qD:()=>Oe,_C:()=>Pe,Om:()=>Sn,$Z:()=>$e});var D=d(226),Q=d(925),s=d(2321),f=d(9808),e=d(5e3),F=d(4182),X=d(6042),H=d(5577),G=d(6114),U=d(969),J=d(3677),q=d(685),Y=d(4170),B=d(647),j=d(4219),x=d(655),v=d(8929),y=d(839),p=d(7625),b=d(9439),M=d(4090),C=d(1721),Z=d(8054);const K=["nz-pagination-item",""];function ee(i,o){if(1&i&&(e.TgZ(0,"a"),e._uU(1),e.qZA()),2&i){const t=e.oxw().page;e.xp6(1),e.Oqu(t)}}function te(i,o){1&i&&e._UZ(0,"i",9)}function ne(i,o){1&i&&e._UZ(0,"i",10)}function ie(i,o){if(1&i&&(e.TgZ(0,"button",6),e.ynx(1,2),e.YNc(2,te,1,0,"i",7),e.YNc(3,ne,1,0,"i",8),e.BQk(),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("disabled",t.disabled),e.xp6(1),e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function oe(i,o){1&i&&e._UZ(0,"i",10)}function le(i,o){1&i&&e._UZ(0,"i",9)}function se(i,o){if(1&i&&(e.TgZ(0,"button",6),e.ynx(1,2),e.YNc(2,oe,1,0,"i",11),e.YNc(3,le,1,0,"i",12),e.BQk(),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("disabled",t.disabled),e.xp6(1),e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function re(i,o){1&i&&e._UZ(0,"i",20)}function _e(i,o){1&i&&e._UZ(0,"i",21)}function ce(i,o){if(1&i&&(e.ynx(0,2),e.YNc(1,re,1,0,"i",18),e.YNc(2,_e,1,0,"i",19),e.BQk()),2&i){const t=e.oxw(4);e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function r(i,o){1&i&&e._UZ(0,"i",21)}function m(i,o){1&i&&e._UZ(0,"i",20)}function h(i,o){if(1&i&&(e.ynx(0,2),e.YNc(1,r,1,0,"i",22),e.YNc(2,m,1,0,"i",23),e.BQk()),2&i){const t=e.oxw(4);e.Q6J("ngSwitch",t.direction),e.xp6(1),e.Q6J("ngSwitchCase","rtl")}}function S(i,o){if(1&i&&(e.TgZ(0,"div",15),e.ynx(1,2),e.YNc(2,ce,3,2,"ng-container",16),e.YNc(3,h,3,2,"ng-container",16),e.BQk(),e.TgZ(4,"span",17),e._uU(5,"\u2022\u2022\u2022"),e.qZA(),e.qZA()),2&i){const t=e.oxw(2).$implicit;e.xp6(1),e.Q6J("ngSwitch",t),e.xp6(1),e.Q6J("ngSwitchCase","prev_5"),e.xp6(1),e.Q6J("ngSwitchCase","next_5")}}function A(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"a",13),e.YNc(2,S,6,3,"div",14),e.qZA(),e.BQk()),2&i){const t=e.oxw().$implicit;e.xp6(1),e.Q6J("ngSwitch",t)}}function k(i,o){1&i&&(e.ynx(0,2),e.YNc(1,ee,2,1,"a",3),e.YNc(2,ie,4,3,"button",4),e.YNc(3,se,4,3,"button",4),e.YNc(4,A,3,1,"ng-container",5),e.BQk()),2&i&&(e.Q6J("ngSwitch",o.$implicit),e.xp6(1),e.Q6J("ngSwitchCase","page"),e.xp6(1),e.Q6J("ngSwitchCase","prev"),e.xp6(1),e.Q6J("ngSwitchCase","next"))}function de(i,o){}const he=function(i,o){return{$implicit:i,page:o}},Ce=["containerTemplate"];function Be(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"li",1),e.NdJ("click",function(){return e.CHM(t),e.oxw().prePage()}),e.qZA(),e.TgZ(1,"li",2),e.TgZ(2,"input",3),e.NdJ("keydown.enter",function(a){return e.CHM(t),e.oxw().jumpToPageViaInput(a)}),e.qZA(),e.TgZ(3,"span",4),e._uU(4,"/"),e.qZA(),e._uU(5),e.qZA(),e.TgZ(6,"li",5),e.NdJ("click",function(){return e.CHM(t),e.oxw().nextPage()}),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("disabled",t.isFirstIndex)("direction",t.dir)("itemRender",t.itemRender),e.uIk("title",t.locale.prev_page),e.xp6(1),e.uIk("title",t.pageIndex+"/"+t.lastIndex),e.xp6(1),e.Q6J("disabled",t.disabled)("value",t.pageIndex),e.xp6(3),e.hij(" ",t.lastIndex," "),e.xp6(1),e.Q6J("disabled",t.isLastIndex)("direction",t.dir)("itemRender",t.itemRender),e.uIk("title",null==t.locale?null:t.locale.next_page)}}const Ae=["nz-pagination-options",""];function Ee(i,o){if(1&i&&e._UZ(0,"nz-option",4),2&i){const t=o.$implicit;e.Q6J("nzLabel",t.label)("nzValue",t.value)}}function Qe(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"nz-select",2),e.NdJ("ngModelChange",function(a){return e.CHM(t),e.oxw().onPageSizeChange(a)}),e.YNc(1,Ee,1,2,"nz-option",3),e.qZA()}if(2&i){const t=e.oxw();e.Q6J("nzDisabled",t.disabled)("nzSize",t.nzSize)("ngModel",t.pageSize),e.xp6(1),e.Q6J("ngForOf",t.listOfPageSizeOption)("ngForTrackBy",t.trackByOption)}}function He(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",5),e._uU(1),e.TgZ(2,"input",6),e.NdJ("keydown.enter",function(a){return e.CHM(t),e.oxw().jumpToPageViaInput(a)}),e.qZA(),e._uU(3),e.qZA()}if(2&i){const t=e.oxw();e.xp6(1),e.hij(" ",t.locale.jump_to," "),e.xp6(1),e.Q6J("disabled",t.disabled),e.xp6(1),e.hij(" ",t.locale.page," ")}}function Je(i,o){}const Ye=function(i,o){return{$implicit:i,range:o}};function Ze(i,o){if(1&i&&(e.TgZ(0,"li",4),e.YNc(1,Je,0,0,"ng-template",5),e.qZA()),2&i){const t=e.oxw(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.showTotal)("ngTemplateOutletContext",e.WLB(2,Ye,t.total,t.ranges))}}function We(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"li",6),e.NdJ("gotoIndex",function(a){return e.CHM(t),e.oxw(2).jumpPage(a)})("diffIndex",function(a){return e.CHM(t),e.oxw(2).jumpDiff(a)}),e.qZA()}if(2&i){const t=o.$implicit,n=e.oxw(2);e.Q6J("locale",n.locale)("type",t.type)("index",t.index)("disabled",!!t.disabled)("itemRender",n.itemRender)("active",n.pageIndex===t.index)("direction",n.dir)}}function Le(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"div",7),e.NdJ("pageIndexChange",function(a){return e.CHM(t),e.oxw(2).onPageIndexChange(a)})("pageSizeChange",function(a){return e.CHM(t),e.oxw(2).onPageSizeChange(a)}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("total",t.total)("locale",t.locale)("disabled",t.disabled)("nzSize",t.nzSize)("showSizeChanger",t.showSizeChanger)("showQuickJumper",t.showQuickJumper)("pageIndex",t.pageIndex)("pageSize",t.pageSize)("pageSizeOptions",t.pageSizeOptions)}}function Ve(i,o){if(1&i&&(e.YNc(0,Ze,2,5,"li",1),e.YNc(1,We,1,7,"li",2),e.YNc(2,Le,1,9,"div",3)),2&i){const t=e.oxw();e.Q6J("ngIf",t.showTotal),e.xp6(1),e.Q6J("ngForOf",t.listOfPageItem)("ngForTrackBy",t.trackByPageItem),e.xp6(1),e.Q6J("ngIf",t.showQuickJumper||t.showSizeChanger)}}function Ue(i,o){}function je(i,o){if(1&i&&(e.ynx(0),e.YNc(1,Ue,0,0,"ng-template",6),e.BQk()),2&i){e.oxw(2);const t=e.MAs(2);e.xp6(1),e.Q6J("ngTemplateOutlet",t.template)}}function Xe(i,o){if(1&i&&(e.ynx(0),e.YNc(1,je,2,1,"ng-container",5),e.BQk()),2&i){const t=e.oxw(),n=e.MAs(4);e.xp6(1),e.Q6J("ngIf",t.nzSimple)("ngIfElse",n.template)}}let xe=(()=>{class i{constructor(){this.active=!1,this.index=null,this.disabled=!1,this.direction="ltr",this.type=null,this.itemRender=null,this.diffIndex=new e.vpe,this.gotoIndex=new e.vpe,this.title=null}clickItem(){this.disabled||("page"===this.type?this.gotoIndex.emit(this.index):this.diffIndex.emit({next:1,prev:-1,prev_5:-5,next_5:5}[this.type]))}ngOnChanges(t){var n,a,l,c;const{locale:g,index:z,type:_}=t;(g||z||_)&&(this.title={page:`${this.index}`,next:null===(n=this.locale)||void 0===n?void 0:n.next_page,prev:null===(a=this.locale)||void 0===a?void 0:a.prev_page,prev_5:null===(l=this.locale)||void 0===l?void 0:l.prev_5,next_5:null===(c=this.locale)||void 0===c?void 0:c.next_5}[this.type])}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["li","nz-pagination-item",""]],hostVars:19,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.clickItem()}),2&t&&(e.uIk("title",n.title),e.ekj("ant-pagination-prev","prev"===n.type)("ant-pagination-next","next"===n.type)("ant-pagination-item","page"===n.type)("ant-pagination-jump-prev","prev_5"===n.type)("ant-pagination-jump-prev-custom-icon","prev_5"===n.type)("ant-pagination-jump-next","next_5"===n.type)("ant-pagination-jump-next-custom-icon","next_5"===n.type)("ant-pagination-disabled",n.disabled)("ant-pagination-item-active",n.active))},inputs:{active:"active",locale:"locale",index:"index",disabled:"disabled",direction:"direction",type:"type",itemRender:"itemRender"},outputs:{diffIndex:"diffIndex",gotoIndex:"gotoIndex"},features:[e.TTD],attrs:K,decls:3,vars:5,consts:[["renderItemTemplate",""],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[3,"ngSwitch"],[4,"ngSwitchCase"],["type","button","class","ant-pagination-item-link",3,"disabled",4,"ngSwitchCase"],[4,"ngSwitchDefault"],["type","button",1,"ant-pagination-item-link",3,"disabled"],["nz-icon","","nzType","right",4,"ngSwitchCase"],["nz-icon","","nzType","left",4,"ngSwitchDefault"],["nz-icon","","nzType","right"],["nz-icon","","nzType","left"],["nz-icon","","nzType","left",4,"ngSwitchCase"],["nz-icon","","nzType","right",4,"ngSwitchDefault"],[1,"ant-pagination-item-link",3,"ngSwitch"],["class","ant-pagination-item-container",4,"ngSwitchDefault"],[1,"ant-pagination-item-container"],[3,"ngSwitch",4,"ngSwitchCase"],[1,"ant-pagination-item-ellipsis"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"],["nz-icon","","nzType","double-right",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left",1,"ant-pagination-item-link-icon"],["nz-icon","","nzType","double-left","class","ant-pagination-item-link-icon",4,"ngSwitchCase"],["nz-icon","","nzType","double-right","class","ant-pagination-item-link-icon",4,"ngSwitchDefault"]],template:function(t,n){if(1&t&&(e.YNc(0,k,5,4,"ng-template",null,0,e.W1O),e.YNc(2,de,0,0,"ng-template",1)),2&t){const a=e.MAs(1);e.xp6(2),e.Q6J("ngTemplateOutlet",n.itemRender||a)("ngTemplateOutletContext",e.WLB(2,he,n.type,n.index))}},directives:[f.RF,f.n9,B.Ls,f.ED,f.tP],encapsulation:2,changeDetection:0}),i})(),Ge=(()=>{class i{constructor(t,n,a,l){this.cdr=t,this.renderer=n,this.elementRef=a,this.directionality=l,this.itemRender=null,this.disabled=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageIndexChange=new e.vpe,this.lastIndex=0,this.isFirstIndex=!1,this.isLastIndex=!1,this.dir="ltr",this.destroy$=new v.xQ,n.removeChild(n.parentNode(a.nativeElement),a.nativeElement)}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpToPageViaInput(t){const n=t.target,a=(0,C.He)(n.value,this.pageIndex);this.onPageIndexChange(a),n.value=`${this.pageIndex}`}prePage(){this.onPageIndexChange(this.pageIndex-1)}nextPage(){this.onPageIndexChange(this.pageIndex+1)}onPageIndexChange(t){this.pageIndexChange.next(t)}updateBindingValue(){this.lastIndex=Math.ceil(this.total/this.pageSize),this.isFirstIndex=1===this.pageIndex,this.isLastIndex=this.pageIndex===this.lastIndex}ngOnChanges(t){const{pageIndex:n,total:a,pageSize:l}=t;(n||a||l)&&this.updateBindingValue()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.sBO),e.Y36(e.Qsj),e.Y36(e.SBq),e.Y36(D.Is,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-pagination-simple"]],viewQuery:function(t,n){if(1&t&&e.Gf(Ce,7),2&t){let a;e.iGM(a=e.CRH())&&(n.template=a.first)}},inputs:{itemRender:"itemRender",disabled:"disabled",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize"},outputs:{pageIndexChange:"pageIndexChange"},features:[e.TTD],decls:2,vars:0,consts:[["containerTemplate",""],["nz-pagination-item","","type","prev",3,"disabled","direction","itemRender","click"],[1,"ant-pagination-simple-pager"],["size","3",3,"disabled","value","keydown.enter"],[1,"ant-pagination-slash"],["nz-pagination-item","","type","next",3,"disabled","direction","itemRender","click"]],template:function(t,n){1&t&&e.YNc(0,Be,7,12,"ng-template",null,0,e.W1O)},directives:[xe],encapsulation:2,changeDetection:0}),i})(),qe=(()=>{class i{constructor(){this.nzSize="default",this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[],this.pageIndexChange=new e.vpe,this.pageSizeChange=new e.vpe,this.listOfPageSizeOption=[]}onPageSizeChange(t){this.pageSize!==t&&this.pageSizeChange.next(t)}jumpToPageViaInput(t){const n=t.target,a=Math.floor((0,C.He)(n.value,this.pageIndex));this.pageIndexChange.next(a),n.value=""}trackByOption(t,n){return n.value}ngOnChanges(t){const{pageSize:n,pageSizeOptions:a,locale:l}=t;(n||a||l)&&(this.listOfPageSizeOption=[...new Set([...this.pageSizeOptions,this.pageSize])].map(c=>({value:c,label:`${c} ${this.locale.items_per_page}`})))}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["div","nz-pagination-options",""]],hostAttrs:[1,"ant-pagination-options"],inputs:{nzSize:"nzSize",disabled:"disabled",showSizeChanger:"showSizeChanger",showQuickJumper:"showQuickJumper",locale:"locale",total:"total",pageIndex:"pageIndex",pageSize:"pageSize",pageSizeOptions:"pageSizeOptions"},outputs:{pageIndexChange:"pageIndexChange",pageSizeChange:"pageSizeChange"},features:[e.TTD],attrs:Ae,decls:2,vars:2,consts:[["class","ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange",4,"ngIf"],["class","ant-pagination-options-quick-jumper",4,"ngIf"],[1,"ant-pagination-options-size-changer",3,"nzDisabled","nzSize","ngModel","ngModelChange"],[3,"nzLabel","nzValue",4,"ngFor","ngForOf","ngForTrackBy"],[3,"nzLabel","nzValue"],[1,"ant-pagination-options-quick-jumper"],[3,"disabled","keydown.enter"]],template:function(t,n){1&t&&(e.YNc(0,Qe,2,5,"nz-select",0),e.YNc(1,He,4,3,"div",1)),2&t&&(e.Q6J("ngIf",n.showSizeChanger),e.xp6(1),e.Q6J("ngIf",n.showQuickJumper))},directives:[Z.Vq,Z.Ip,f.O5,F.JJ,F.On,f.sg],encapsulation:2,changeDetection:0}),i})(),Ke=(()=>{class i{constructor(t,n,a,l){this.cdr=t,this.renderer=n,this.elementRef=a,this.directionality=l,this.nzSize="default",this.itemRender=null,this.showTotal=null,this.disabled=!1,this.showSizeChanger=!1,this.showQuickJumper=!1,this.total=0,this.pageIndex=1,this.pageSize=10,this.pageSizeOptions=[10,20,30,40],this.pageIndexChange=new e.vpe,this.pageSizeChange=new e.vpe,this.ranges=[0,0],this.listOfPageItem=[],this.dir="ltr",this.destroy$=new v.xQ,n.removeChild(n.parentNode(a.nativeElement),a.nativeElement)}ngOnInit(){var t;null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.updateRtlStyle(),this.cdr.detectChanges()}),this.dir=this.directionality.value,this.updateRtlStyle()}updateRtlStyle(){"rtl"===this.dir?this.renderer.addClass(this.elementRef.nativeElement,"ant-pagination-rtl"):this.renderer.removeClass(this.elementRef.nativeElement,"ant-pagination-rtl")}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}jumpPage(t){this.onPageIndexChange(t)}jumpDiff(t){this.jumpPage(this.pageIndex+t)}trackByPageItem(t,n){return`${n.type}-${n.index}`}onPageIndexChange(t){this.pageIndexChange.next(t)}onPageSizeChange(t){this.pageSizeChange.next(t)}getLastIndex(t,n){return Math.ceil(t/n)}buildIndexes(){const t=this.getLastIndex(this.total,this.pageSize);this.listOfPageItem=this.getListOfPageItem(this.pageIndex,t)}getListOfPageItem(t,n){const l=(c,g)=>{const z=[];for(let _=c;_<=g;_++)z.push({index:_,type:"page"});return z};return c=n<=9?l(1,n):((g,z)=>{let _=[];const T={type:"prev_5"},u={type:"next_5"},O=l(1,1),R=l(n,n);return _=g<5?[...l(2,4===g?6:5),u]:g{class i{constructor(t,n,a,l,c){this.i18n=t,this.cdr=n,this.breakpointService=a,this.nzConfigService=l,this.directionality=c,this._nzModuleName="pagination",this.nzPageSizeChange=new e.vpe,this.nzPageIndexChange=new e.vpe,this.nzShowTotal=null,this.nzItemRender=null,this.nzSize="default",this.nzPageSizeOptions=[10,20,30,40],this.nzShowSizeChanger=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzDisabled=!1,this.nzResponsive=!1,this.nzHideOnSinglePage=!1,this.nzTotal=0,this.nzPageIndex=1,this.nzPageSize=10,this.showPagination=!0,this.size="default",this.dir="ltr",this.destroy$=new v.xQ,this.total$=new y.t(1)}validatePageIndex(t,n){return t>n?n:t<1?1:t}onPageIndexChange(t){const n=this.getLastIndex(this.nzTotal,this.nzPageSize),a=this.validatePageIndex(t,n);a!==this.nzPageIndex&&!this.nzDisabled&&(this.nzPageIndex=a,this.nzPageIndexChange.emit(this.nzPageIndex))}onPageSizeChange(t){this.nzPageSize=t,this.nzPageSizeChange.emit(t);const n=this.getLastIndex(this.nzTotal,this.nzPageSize);this.nzPageIndex>n&&this.onPageIndexChange(n)}onTotalChange(t){const n=this.getLastIndex(t,this.nzPageSize);this.nzPageIndex>n&&Promise.resolve().then(()=>{this.onPageIndexChange(n),this.cdr.markForCheck()})}getLastIndex(t,n){return Math.ceil(t/n)}ngOnInit(){var t;this.i18n.localeChange.pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Pagination"),this.cdr.markForCheck()}),this.total$.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.onTotalChange(n)}),this.breakpointService.subscribe(M.WV).pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.nzResponsive&&(this.size=n===M.G_.xs?"small":"default",this.cdr.markForCheck())}),null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(n=>{this.dir=n,this.cdr.detectChanges()}),this.dir=this.directionality.value}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}ngOnChanges(t){const{nzHideOnSinglePage:n,nzTotal:a,nzPageSize:l,nzSize:c}=t;a&&this.total$.next(this.nzTotal),(n||a||l)&&(this.showPagination=this.nzHideOnSinglePage&&this.nzTotal>this.nzPageSize||this.nzTotal>0&&!this.nzHideOnSinglePage),c&&(this.size=c.currentValue)}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(Y.wi),e.Y36(e.sBO),e.Y36(M.r3),e.Y36(b.jY),e.Y36(D.Is,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-pagination"]],hostAttrs:[1,"ant-pagination"],hostVars:8,hostBindings:function(t,n){2&t&&e.ekj("ant-pagination-simple",n.nzSimple)("ant-pagination-disabled",n.nzDisabled)("mini",!n.nzSimple&&"small"===n.size)("ant-pagination-rtl","rtl"===n.dir)},inputs:{nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzSize:"nzSize",nzPageSizeOptions:"nzPageSizeOptions",nzShowSizeChanger:"nzShowSizeChanger",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple",nzDisabled:"nzDisabled",nzResponsive:"nzResponsive",nzHideOnSinglePage:"nzHideOnSinglePage",nzTotal:"nzTotal",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange"},exportAs:["nzPagination"],features:[e.TTD],decls:5,vars:18,consts:[[4,"ngIf"],[3,"disabled","itemRender","locale","pageSize","total","pageIndex","pageIndexChange"],["simplePagination",""],[3,"nzSize","itemRender","showTotal","disabled","locale","showSizeChanger","showQuickJumper","total","pageIndex","pageSize","pageSizeOptions","pageIndexChange","pageSizeChange"],["defaultPagination",""],[4,"ngIf","ngIfElse"],[3,"ngTemplateOutlet"]],template:function(t,n){1&t&&(e.YNc(0,Xe,2,2,"ng-container",0),e.TgZ(1,"nz-pagination-simple",1,2),e.NdJ("pageIndexChange",function(l){return n.onPageIndexChange(l)}),e.qZA(),e.TgZ(3,"nz-pagination-default",3,4),e.NdJ("pageIndexChange",function(l){return n.onPageIndexChange(l)})("pageSizeChange",function(l){return n.onPageSizeChange(l)}),e.qZA()),2&t&&(e.Q6J("ngIf",n.showPagination),e.xp6(1),e.Q6J("disabled",n.nzDisabled)("itemRender",n.nzItemRender)("locale",n.locale)("pageSize",n.nzPageSize)("total",n.nzTotal)("pageIndex",n.nzPageIndex),e.xp6(2),e.Q6J("nzSize",n.size)("itemRender",n.nzItemRender)("showTotal",n.nzShowTotal)("disabled",n.nzDisabled)("locale",n.locale)("showSizeChanger",n.nzShowSizeChanger)("showQuickJumper",n.nzShowQuickJumper)("total",n.nzTotal)("pageIndex",n.nzPageIndex)("pageSize",n.nzPageSize)("pageSizeOptions",n.nzPageSizeOptions))},directives:[Ge,Ke,f.O5,f.tP],encapsulation:2,changeDetection:0}),(0,x.gn)([(0,b.oS)()],i.prototype,"nzSize",void 0),(0,x.gn)([(0,b.oS)()],i.prototype,"nzPageSizeOptions",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzShowSizeChanger",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzShowQuickJumper",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzSimple",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzDisabled",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzResponsive",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzHideOnSinglePage",void 0),(0,x.gn)([(0,C.Rn)()],i.prototype,"nzTotal",void 0),(0,x.gn)([(0,C.Rn)()],i.prototype,"nzPageIndex",void 0),(0,x.gn)([(0,C.Rn)()],i.prototype,"nzPageSize",void 0),i})(),nt=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[D.vT,f.ez,F.u5,Z.LV,Y.YI,B.PV]]}),i})();var Te=d(3868),Se=d(7525),ve=d(3753),N=d(591),I=d(3426),W=d(6787),pe=d(8896),it=d(1086),w=d(4850),$=d(1059),P=d(7545),be=d(13),ge=d(6792),ze=d(2198),ue=d(5778),ot=d(1307),fe=d(1709),ye=d(2683),at=d(2643);const L=["*"];function lt(i,o){}function st(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"label",15),e.NdJ("ngModelChange",function(){e.CHM(t);const a=e.oxw().$implicit;return e.oxw(2).check(a)}),e.qZA()}if(2&i){const t=e.oxw().$implicit;e.Q6J("ngModel",t.checked)}}function rt(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"label",16),e.NdJ("ngModelChange",function(){e.CHM(t);const a=e.oxw().$implicit;return e.oxw(2).check(a)}),e.qZA()}if(2&i){const t=e.oxw().$implicit;e.Q6J("ngModel",t.checked)}}function ct(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"li",12),e.NdJ("click",function(){const l=e.CHM(t).$implicit;return e.oxw(2).check(l)}),e.YNc(1,st,1,1,"label",13),e.YNc(2,rt,1,1,"label",14),e.TgZ(3,"span"),e._uU(4),e.qZA(),e.qZA()}if(2&i){const t=o.$implicit,n=e.oxw(2);e.Q6J("nzSelected",t.checked),e.xp6(1),e.Q6J("ngIf",!n.filterMultiple),e.xp6(1),e.Q6J("ngIf",n.filterMultiple),e.xp6(2),e.Oqu(t.text)}}function dt(i,o){if(1&i){const t=e.EpF();e.ynx(0),e.TgZ(1,"nz-filter-trigger",3),e.NdJ("nzVisibleChange",function(a){return e.CHM(t),e.oxw().onVisibleChange(a)}),e._UZ(2,"i",4),e.qZA(),e.TgZ(3,"nz-dropdown-menu",null,5),e.TgZ(5,"div",6),e.TgZ(6,"ul",7),e.YNc(7,ct,5,4,"li",8),e.qZA(),e.TgZ(8,"div",9),e.TgZ(9,"button",10),e.NdJ("click",function(){return e.CHM(t),e.oxw().reset()}),e._uU(10),e.qZA(),e.TgZ(11,"button",11),e.NdJ("click",function(){return e.CHM(t),e.oxw().confirm()}),e._uU(12),e.qZA(),e.qZA(),e.qZA(),e.qZA(),e.BQk()}if(2&i){const t=e.MAs(4),n=e.oxw();e.xp6(1),e.Q6J("nzVisible",n.isVisible)("nzActive",n.isChecked)("nzDropdownMenu",t),e.xp6(6),e.Q6J("ngForOf",n.listOfParsedFilter)("ngForTrackBy",n.trackByValue),e.xp6(2),e.Q6J("disabled",!n.isChecked),e.xp6(1),e.hij(" ",n.locale.filterReset," "),e.xp6(2),e.Oqu(n.locale.filterConfirm)}}function pt(i,o){}function gt(i,o){if(1&i&&e._UZ(0,"i",6),2&i){const t=e.oxw();e.ekj("active","ascend"===t.sortOrder)}}function zt(i,o){if(1&i&&e._UZ(0,"i",7),2&i){const t=e.oxw();e.ekj("active","descend"===t.sortOrder)}}const ut=["nzColumnKey",""];function ft(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"nz-table-filter",5),e.NdJ("filterChange",function(a){return e.CHM(t),e.oxw().onFilterValueChange(a)}),e.qZA()}if(2&i){const t=e.oxw(),n=e.MAs(2),a=e.MAs(4);e.Q6J("contentTemplate",n)("extraTemplate",a)("customFilter",t.nzCustomFilter)("filterMultiple",t.nzFilterMultiple)("listOfFilter",t.nzFilters)}}function mt(i,o){}function _t(i,o){if(1&i&&e.YNc(0,mt,0,0,"ng-template",6),2&i){const t=e.oxw(),n=e.MAs(6),a=e.MAs(8);e.Q6J("ngTemplateOutlet",t.nzShowSort?n:a)}}function Ct(i,o){1&i&&(e.Hsn(0),e.Hsn(1,1))}function xt(i,o){if(1&i&&e._UZ(0,"nz-table-sorters",7),2&i){const t=e.oxw(),n=e.MAs(8);e.Q6J("sortOrder",t.sortOrder)("sortDirections",t.sortDirections)("contentTemplate",n)}}function Tt(i,o){1&i&&e.Hsn(0,2)}const St=[[["","nz-th-extra",""]],[["nz-filter-trigger"]],"*"],vt=["[nz-th-extra]","nz-filter-trigger","*"],bt=["nz-table-content",""];function yt(i,o){if(1&i&&e._UZ(0,"col"),2&i){const t=o.$implicit;e.Udp("width",t)("min-width",t)}}function wt(i,o){}function Nt(i,o){if(1&i&&(e.TgZ(0,"thead",3),e.YNc(1,wt,0,0,"ng-template",2),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngTemplateOutlet",t.theadTemplate)}}function Ot(i,o){}const we=["tdElement"],Pt=["nz-table-fixed-row",""];function Dt(i,o){}function It(i,o){if(1&i&&(e.TgZ(0,"div",4),e.ALo(1,"async"),e.YNc(2,Dt,0,0,"ng-template",5),e.qZA()),2&i){const t=e.oxw(),n=e.MAs(5);e.Udp("width",e.lcZ(1,3,t.hostWidth$),"px"),e.xp6(2),e.Q6J("ngTemplateOutlet",n)}}function Ft(i,o){1&i&&e.Hsn(0)}const Mt=["nz-table-measure-row",""];function kt(i,o){1&i&&e._UZ(0,"td",1,2)}function $t(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"tr",3),e.NdJ("listOfAutoWidth",function(a){return e.CHM(t),e.oxw(2).onListOfAutoWidthChange(a)}),e.qZA()}if(2&i){const t=e.oxw().ngIf;e.Q6J("listOfMeasureColumn",t)}}function Rt(i,o){if(1&i&&(e.ynx(0),e.YNc(1,$t,1,1,"tr",2),e.BQk()),2&i){const t=o.ngIf,n=e.oxw();e.xp6(1),e.Q6J("ngIf",n.isInsideTable&&t.length)}}function Bt(i,o){if(1&i&&(e.TgZ(0,"tr",4),e._UZ(1,"nz-embed-empty",5),e.ALo(2,"async"),e.qZA()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("specificContent",e.lcZ(2,1,t.noResult$))}}const At=["tableHeaderElement"],Et=["tableBodyElement"];function Qt(i,o){if(1&i&&(e.TgZ(0,"div",7,8),e._UZ(2,"table",9),e.qZA()),2&i){const t=e.oxw(2);e.Q6J("ngStyle",t.bodyStyleMap),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth)("contentTemplate",t.contentTemplate)}}function Ht(i,o){}const Jt=function(i,o){return{$implicit:i,index:o}};function Yt(i,o){if(1&i&&(e.ynx(0),e.YNc(1,Ht,0,0,"ng-template",13),e.BQk()),2&i){const t=o.$implicit,n=o.index,a=e.oxw(3);e.xp6(1),e.Q6J("ngTemplateOutlet",a.virtualTemplate)("ngTemplateOutletContext",e.WLB(2,Jt,t,n))}}function Zt(i,o){if(1&i&&(e.TgZ(0,"cdk-virtual-scroll-viewport",10,8),e.TgZ(2,"table",11),e.TgZ(3,"tbody"),e.YNc(4,Yt,2,5,"ng-container",12),e.qZA(),e.qZA(),e.qZA()),2&i){const t=e.oxw(2);e.Udp("height",t.data.length?t.scrollY:t.noDateVirtualHeight),e.Q6J("itemSize",t.virtualItemSize)("maxBufferPx",t.virtualMaxBufferPx)("minBufferPx",t.virtualMinBufferPx),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth),e.xp6(2),e.Q6J("cdkVirtualForOf",t.data)("cdkVirtualForTrackBy",t.virtualForTrackBy)}}function Wt(i,o){if(1&i&&(e.ynx(0),e.TgZ(1,"div",2,3),e._UZ(3,"table",4),e.qZA(),e.YNc(4,Qt,3,4,"div",5),e.YNc(5,Zt,5,9,"cdk-virtual-scroll-viewport",6),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Q6J("ngStyle",t.headerStyleMap),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth)("theadTemplate",t.theadTemplate),e.xp6(1),e.Q6J("ngIf",!t.virtualTemplate),e.xp6(1),e.Q6J("ngIf",t.virtualTemplate)}}function Lt(i,o){if(1&i&&(e.TgZ(0,"div",14,8),e._UZ(2,"table",15),e.qZA()),2&i){const t=e.oxw();e.Q6J("ngStyle",t.bodyStyleMap),e.xp6(2),e.Q6J("scrollX",t.scrollX)("listOfColWidth",t.listOfColWidth)("theadTemplate",t.theadTemplate)("contentTemplate",t.contentTemplate)}}function Vt(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t.title)}}function Ut(i,o){if(1&i&&(e.ynx(0),e._uU(1),e.BQk()),2&i){const t=e.oxw();e.xp6(1),e.Oqu(t.footer)}}function jt(i,o){}function Xt(i,o){if(1&i&&(e.ynx(0),e.YNc(1,jt,0,0,"ng-template",10),e.BQk()),2&i){e.oxw();const t=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function Gt(i,o){if(1&i&&e._UZ(0,"nz-table-title-footer",11),2&i){const t=e.oxw();e.Q6J("title",t.nzTitle)}}function qt(i,o){if(1&i&&e._UZ(0,"nz-table-inner-scroll",12),2&i){const t=e.oxw(),n=e.MAs(13),a=e.MAs(3);e.Q6J("data",t.data)("scrollX",t.scrollX)("scrollY",t.scrollY)("contentTemplate",n)("listOfColWidth",t.listOfAutoColWidth)("theadTemplate",t.theadTemplate)("verticalScrollBarWidth",t.verticalScrollBarWidth)("virtualTemplate",t.nzVirtualScrollDirective?t.nzVirtualScrollDirective.templateRef:null)("virtualItemSize",t.nzVirtualItemSize)("virtualMaxBufferPx",t.nzVirtualMaxBufferPx)("virtualMinBufferPx",t.nzVirtualMinBufferPx)("tableMainElement",a)("virtualForTrackBy",t.nzVirtualForTrackBy)}}function Kt(i,o){if(1&i&&e._UZ(0,"nz-table-inner-default",13),2&i){const t=e.oxw(),n=e.MAs(13);e.Q6J("tableLayout",t.nzTableLayout)("listOfColWidth",t.listOfManualColWidth)("theadTemplate",t.theadTemplate)("contentTemplate",n)}}function en(i,o){if(1&i&&e._UZ(0,"nz-table-title-footer",14),2&i){const t=e.oxw();e.Q6J("footer",t.nzFooter)}}function tn(i,o){}function nn(i,o){if(1&i&&(e.ynx(0),e.YNc(1,tn,0,0,"ng-template",10),e.BQk()),2&i){e.oxw();const t=e.MAs(11);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}function on(i,o){if(1&i){const t=e.EpF();e.TgZ(0,"nz-pagination",16),e.NdJ("nzPageSizeChange",function(a){return e.CHM(t),e.oxw(2).onPageSizeChange(a)})("nzPageIndexChange",function(a){return e.CHM(t),e.oxw(2).onPageIndexChange(a)}),e.qZA()}if(2&i){const t=e.oxw(2);e.Q6J("hidden",!t.showPagination)("nzShowSizeChanger",t.nzShowSizeChanger)("nzPageSizeOptions",t.nzPageSizeOptions)("nzItemRender",t.nzItemRender)("nzShowQuickJumper",t.nzShowQuickJumper)("nzHideOnSinglePage",t.nzHideOnSinglePage)("nzShowTotal",t.nzShowTotal)("nzSize","small"===t.nzPaginationType?"small":"default"===t.nzSize?"default":"small")("nzPageSize",t.nzPageSize)("nzTotal",t.nzTotal)("nzSimple",t.nzSimple)("nzPageIndex",t.nzPageIndex)}}function an(i,o){if(1&i&&e.YNc(0,on,1,12,"nz-pagination",15),2&i){const t=e.oxw();e.Q6J("ngIf",t.nzShowPagination&&t.data.length)}}function ln(i,o){1&i&&e.Hsn(0)}const sn=["contentTemplate"];function rn(i,o){1&i&&e.Hsn(0)}function cn(i,o){}function dn(i,o){if(1&i&&(e.ynx(0),e.YNc(1,cn,0,0,"ng-template",2),e.BQk()),2&i){e.oxw();const t=e.MAs(1);e.xp6(1),e.Q6J("ngTemplateOutlet",t)}}let pn=(()=>{class i{constructor(t,n,a,l){this.nzConfigService=t,this.ngZone=n,this.cdr=a,this.destroy$=l,this._nzModuleName="filterTrigger",this.nzActive=!1,this.nzVisible=!1,this.nzBackdrop=!1,this.nzVisibleChange=new e.vpe}onVisibleChange(t){this.nzVisible=t,this.nzVisibleChange.next(t)}hide(){this.nzVisible=!1,this.cdr.markForCheck()}show(){this.nzVisible=!0,this.cdr.markForCheck()}ngOnInit(){this.ngZone.runOutsideAngular(()=>{(0,ve.R)(this.nzDropdown.nativeElement,"click").pipe((0,p.R)(this.destroy$)).subscribe(t=>{t.stopPropagation()})})}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(b.jY),e.Y36(e.R0b),e.Y36(e.sBO),e.Y36(M.kn))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-filter-trigger"]],viewQuery:function(t,n){if(1&t&&e.Gf(J.cm,7,e.SBq),2&t){let a;e.iGM(a=e.CRH())&&(n.nzDropdown=a.first)}},inputs:{nzActive:"nzActive",nzDropdownMenu:"nzDropdownMenu",nzVisible:"nzVisible",nzBackdrop:"nzBackdrop"},outputs:{nzVisibleChange:"nzVisibleChange"},exportAs:["nzFilterTrigger"],features:[e._Bn([M.kn])],ngContentSelectors:L,decls:2,vars:8,consts:[["nz-dropdown","","nzTrigger","click","nzPlacement","bottomRight",1,"ant-table-filter-trigger",3,"nzBackdrop","nzClickHide","nzDropdownMenu","nzVisible","nzVisibleChange"]],template:function(t,n){1&t&&(e.F$t(),e.TgZ(0,"span",0),e.NdJ("nzVisibleChange",function(l){return n.onVisibleChange(l)}),e.Hsn(1),e.qZA()),2&t&&(e.ekj("active",n.nzActive)("ant-table-filter-open",n.nzVisible),e.Q6J("nzBackdrop",n.nzBackdrop)("nzClickHide",!1)("nzDropdownMenu",n.nzDropdownMenu)("nzVisible",n.nzVisible))},directives:[J.cm],encapsulation:2,changeDetection:0}),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzBackdrop",void 0),i})(),gn=(()=>{class i{constructor(t,n){this.cdr=t,this.i18n=n,this.contentTemplate=null,this.customFilter=!1,this.extraTemplate=null,this.filterMultiple=!0,this.listOfFilter=[],this.filterChange=new e.vpe,this.destroy$=new v.xQ,this.isChecked=!1,this.isVisible=!1,this.listOfParsedFilter=[],this.listOfChecked=[]}trackByValue(t,n){return n.value}check(t){this.filterMultiple?(this.listOfParsedFilter=this.listOfParsedFilter.map(n=>n===t?Object.assign(Object.assign({},n),{checked:!t.checked}):n),t.checked=!t.checked):this.listOfParsedFilter=this.listOfParsedFilter.map(n=>Object.assign(Object.assign({},n),{checked:n===t})),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter)}confirm(){this.isVisible=!1,this.emitFilterData()}reset(){this.isVisible=!1,this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter,!0),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter),this.emitFilterData()}onVisibleChange(t){this.isVisible=t,t?this.listOfChecked=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value):this.emitFilterData()}emitFilterData(){const t=this.listOfParsedFilter.filter(n=>n.checked).map(n=>n.value);(0,C.cO)(this.listOfChecked,t)||this.filterChange.emit(this.filterMultiple?t:t.length>0?t[0]:null)}parseListOfFilter(t,n){return t.map(a=>({text:a.text,value:a.value,checked:!n&&!!a.byDefault}))}getCheckedStatus(t){return t.some(n=>n.checked)}ngOnInit(){this.i18n.localeChange.pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.locale=this.i18n.getLocaleData("Table"),this.cdr.markForCheck()})}ngOnChanges(t){const{listOfFilter:n}=t;n&&this.listOfFilter&&this.listOfFilter.length&&(this.listOfParsedFilter=this.parseListOfFilter(this.listOfFilter),this.isChecked=this.getCheckedStatus(this.listOfParsedFilter))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.sBO),e.Y36(Y.wi))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-filter"]],hostAttrs:[1,"ant-table-filter-column"],inputs:{contentTemplate:"contentTemplate",customFilter:"customFilter",extraTemplate:"extraTemplate",filterMultiple:"filterMultiple",listOfFilter:"listOfFilter"},outputs:{filterChange:"filterChange"},features:[e.TTD],decls:3,vars:3,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[4,"ngIf","ngIfElse"],[3,"nzVisible","nzActive","nzDropdownMenu","nzVisibleChange"],["nz-icon","","nzType","filter","nzTheme","fill"],["filterMenu","nzDropdownMenu"],[1,"ant-table-filter-dropdown"],["nz-menu",""],["nz-menu-item","",3,"nzSelected","click",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ant-table-filter-dropdown-btns"],["nz-button","","nzType","link","nzSize","small",3,"disabled","click"],["nz-button","","nzType","primary","nzSize","small",3,"click"],["nz-menu-item","",3,"nzSelected","click"],["nz-radio","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-checkbox","",3,"ngModel","ngModelChange",4,"ngIf"],["nz-radio","",3,"ngModel","ngModelChange"],["nz-checkbox","",3,"ngModel","ngModelChange"]],template:function(t,n){1&t&&(e.TgZ(0,"span",0),e.YNc(1,lt,0,0,"ng-template",1),e.qZA(),e.YNc(2,dt,13,8,"ng-container",2)),2&t&&(e.xp6(1),e.Q6J("ngTemplateOutlet",n.contentTemplate),e.xp6(1),e.Q6J("ngIf",!n.customFilter)("ngIfElse",n.extraTemplate))},directives:[pn,J.RR,Te.Of,G.Ie,X.ix,f.tP,f.O5,ye.w,B.Ls,j.wO,f.sg,j.r9,F.JJ,F.On,at.dQ],encapsulation:2,changeDetection:0}),i})(),zn=(()=>{class i{constructor(){this.sortDirections=["ascend","descend",null],this.sortOrder=null,this.contentTemplate=null,this.isUp=!1,this.isDown=!1}ngOnChanges(t){const{sortDirections:n}=t;n&&(this.isUp=-1!==this.sortDirections.indexOf("ascend"),this.isDown=-1!==this.sortDirections.indexOf("descend"))}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-sorters"]],hostAttrs:[1,"ant-table-column-sorters"],inputs:{sortDirections:"sortDirections",sortOrder:"sortOrder",contentTemplate:"contentTemplate"},features:[e.TTD],decls:6,vars:5,consts:[[1,"ant-table-column-title"],[3,"ngTemplateOutlet"],[1,"ant-table-column-sorter"],[1,"ant-table-column-sorter-inner"],["nz-icon","","nzType","caret-up","class","ant-table-column-sorter-up",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-down","class","ant-table-column-sorter-down",3,"active",4,"ngIf"],["nz-icon","","nzType","caret-up",1,"ant-table-column-sorter-up"],["nz-icon","","nzType","caret-down",1,"ant-table-column-sorter-down"]],template:function(t,n){1&t&&(e.TgZ(0,"span",0),e.YNc(1,pt,0,0,"ng-template",1),e.qZA(),e.TgZ(2,"span",2),e.TgZ(3,"span",3),e.YNc(4,gt,1,2,"i",4),e.YNc(5,zt,1,2,"i",5),e.qZA(),e.qZA()),2&t&&(e.xp6(1),e.Q6J("ngTemplateOutlet",n.contentTemplate),e.xp6(1),e.ekj("ant-table-column-sorter-full",n.isDown&&n.isUp),e.xp6(2),e.Q6J("ngIf",n.isUp),e.xp6(1),e.Q6J("ngIf",n.isDown))},directives:[f.tP,f.O5,ye.w,B.Ls],encapsulation:2,changeDetection:0}),i})(),Ne=(()=>{class i{constructor(t,n){this.renderer=t,this.elementRef=n,this.nzRight=!1,this.nzLeft=!1,this.colspan=null,this.colSpan=null,this.changes$=new v.xQ,this.isAutoLeft=!1,this.isAutoRight=!1,this.isFixedLeft=!1,this.isFixedRight=!1,this.isFixed=!1}setAutoLeftWidth(t){this.renderer.setStyle(this.elementRef.nativeElement,"left",t)}setAutoRightWidth(t){this.renderer.setStyle(this.elementRef.nativeElement,"right",t)}setIsFirstRight(t){this.setFixClass(t,"ant-table-cell-fix-right-first")}setIsLastLeft(t){this.setFixClass(t,"ant-table-cell-fix-left-last")}setFixClass(t,n){this.renderer.removeClass(this.elementRef.nativeElement,n),t&&this.renderer.addClass(this.elementRef.nativeElement,n)}ngOnChanges(){this.setIsFirstRight(!1),this.setIsLastLeft(!1),this.isAutoLeft=""===this.nzLeft||!0===this.nzLeft,this.isAutoRight=""===this.nzRight||!0===this.nzRight,this.isFixedLeft=!1!==this.nzLeft,this.isFixedRight=!1!==this.nzRight,this.isFixed=this.isFixedLeft||this.isFixedRight;const t=n=>"string"==typeof n&&""!==n?n:null;this.setAutoLeftWidth(t(this.nzLeft)),this.setAutoRightWidth(t(this.nzRight)),this.changes$.next()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Qsj),e.Y36(e.SBq))},i.\u0275dir=e.lG2({type:i,selectors:[["td","nzRight",""],["th","nzRight",""],["td","nzLeft",""],["th","nzLeft",""]],hostVars:6,hostBindings:function(t,n){2&t&&(e.Udp("position",n.isFixed?"sticky":null),e.ekj("ant-table-cell-fix-right",n.isFixedRight)("ant-table-cell-fix-left",n.isFixedLeft))},inputs:{nzRight:"nzRight",nzLeft:"nzLeft",colspan:"colspan",colSpan:"colSpan"},features:[e.TTD]}),i})(),E=(()=>{class i{constructor(){this.theadTemplate$=new y.t(1),this.hasFixLeft$=new y.t(1),this.hasFixRight$=new y.t(1),this.hostWidth$=new y.t(1),this.columnCount$=new y.t(1),this.showEmpty$=new y.t(1),this.noResult$=new y.t(1),this.listOfThWidthConfigPx$=new N.X([]),this.tableWidthConfigPx$=new N.X([]),this.manualWidthConfigPx$=(0,I.aj)([this.tableWidthConfigPx$,this.listOfThWidthConfigPx$]).pipe((0,w.U)(([t,n])=>t.length?t:n)),this.listOfAutoWidthPx$=new y.t(1),this.listOfListOfThWidthPx$=(0,W.T)(this.manualWidthConfigPx$,(0,I.aj)([this.listOfAutoWidthPx$,this.manualWidthConfigPx$]).pipe((0,w.U)(([t,n])=>t.length===n.length?t.map((a,l)=>"0px"===a?n[l]||null:n[l]||a):n))),this.listOfMeasureColumn$=new y.t(1),this.listOfListOfThWidth$=this.listOfAutoWidthPx$.pipe((0,w.U)(t=>t.map(n=>parseInt(n,10)))),this.enableAutoMeasure$=new y.t(1)}setTheadTemplate(t){this.theadTemplate$.next(t)}setHasFixLeft(t){this.hasFixLeft$.next(t)}setHasFixRight(t){this.hasFixRight$.next(t)}setTableWidthConfig(t){this.tableWidthConfigPx$.next(t)}setListOfTh(t){let n=0;t.forEach(l=>{n+=l.colspan&&+l.colspan||l.colSpan&&+l.colSpan||1});const a=t.map(l=>l.nzWidth);this.columnCount$.next(n),this.listOfThWidthConfigPx$.next(a)}setListOfMeasureColumn(t){const n=[];t.forEach(a=>{const l=a.colspan&&+a.colspan||a.colSpan&&+a.colSpan||1;for(let c=0;c`${n}px`))}setShowEmpty(t){this.showEmpty$.next(t)}setNoResult(t){this.noResult$.next(t)}setScroll(t,n){const a=!(!t&&!n);a||this.setListOfAutoWidth([]),this.enableAutoMeasure$.next(a)}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac}),i})(),un=(()=>{class i{constructor(t){this.isInsideTable=!1,this.isInsideTable=!!t}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(E,8))},i.\u0275dir=e.lG2({type:i,selectors:[["th",9,"nz-disable-th",3,"mat-cell",""],["td",9,"nz-disable-td",3,"mat-cell",""]],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-cell",n.isInsideTable)}}),i})(),Oe=(()=>{class i{constructor(t){this.cdr=t,this.manualClickOrder$=new v.xQ,this.calcOperatorChange$=new v.xQ,this.nzFilterValue=null,this.sortOrder=null,this.sortDirections=["ascend","descend",null],this.sortOrderChange$=new v.xQ,this.destroy$=new v.xQ,this.isNzShowSortChanged=!1,this.isNzShowFilterChanged=!1,this.nzFilterMultiple=!0,this.nzSortOrder=null,this.nzSortPriority=!1,this.nzSortDirections=["ascend","descend",null],this.nzFilters=[],this.nzSortFn=null,this.nzFilterFn=null,this.nzShowSort=!1,this.nzShowFilter=!1,this.nzCustomFilter=!1,this.nzCheckedChange=new e.vpe,this.nzSortOrderChange=new e.vpe,this.nzFilterChange=new e.vpe}getNextSortDirection(t,n){const a=t.indexOf(n);return a===t.length-1?t[0]:t[a+1]}emitNextSortValue(){if(this.nzShowSort){const t=this.getNextSortDirection(this.sortDirections,this.sortOrder);this.setSortOrder(t),this.manualClickOrder$.next(this)}}setSortOrder(t){this.sortOrderChange$.next(t)}clearSortOrder(){null!==this.sortOrder&&this.setSortOrder(null)}onFilterValueChange(t){this.nzFilterChange.emit(t),this.nzFilterValue=t,this.updateCalcOperator()}updateCalcOperator(){this.calcOperatorChange$.next()}ngOnInit(){this.sortOrderChange$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.sortOrder!==t&&(this.sortOrder=t,this.nzSortOrderChange.emit(t)),this.updateCalcOperator(),this.cdr.markForCheck()})}ngOnChanges(t){const{nzSortDirections:n,nzFilters:a,nzSortOrder:l,nzSortFn:c,nzFilterFn:g,nzSortPriority:z,nzFilterMultiple:_,nzShowSort:T,nzShowFilter:u}=t;n&&this.nzSortDirections&&this.nzSortDirections.length&&(this.sortDirections=this.nzSortDirections),l&&(this.sortOrder=this.nzSortOrder,this.setSortOrder(this.nzSortOrder)),T&&(this.isNzShowSortChanged=!0),u&&(this.isNzShowFilterChanged=!0);const O=R=>R&&R.firstChange&&void 0!==R.currentValue;if((O(l)||O(c))&&!this.isNzShowSortChanged&&(this.nzShowSort=!0),O(a)&&!this.isNzShowFilterChanged&&(this.nzShowFilter=!0),(a||_)&&this.nzShowFilter){const R=this.nzFilters.filter(V=>V.byDefault).map(V=>V.value);this.nzFilterValue=this.nzFilterMultiple?R:R[0]||null}(c||g||z||a)&&this.updateCalcOperator()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.sBO))},i.\u0275cmp=e.Xpm({type:i,selectors:[["th","nzColumnKey",""],["th","nzSortFn",""],["th","nzSortOrder",""],["th","nzFilters",""],["th","nzShowSort",""],["th","nzShowFilter",""],["th","nzCustomFilter",""]],hostVars:4,hostBindings:function(t,n){1&t&&e.NdJ("click",function(){return n.emitNextSortValue()}),2&t&&e.ekj("ant-table-column-has-sorters",n.nzShowSort)("ant-table-column-sort","descend"===n.sortOrder||"ascend"===n.sortOrder)},inputs:{nzColumnKey:"nzColumnKey",nzFilterMultiple:"nzFilterMultiple",nzSortOrder:"nzSortOrder",nzSortPriority:"nzSortPriority",nzSortDirections:"nzSortDirections",nzFilters:"nzFilters",nzSortFn:"nzSortFn",nzFilterFn:"nzFilterFn",nzShowSort:"nzShowSort",nzShowFilter:"nzShowFilter",nzCustomFilter:"nzCustomFilter"},outputs:{nzCheckedChange:"nzCheckedChange",nzSortOrderChange:"nzSortOrderChange",nzFilterChange:"nzFilterChange"},features:[e.TTD],attrs:ut,ngContentSelectors:vt,decls:9,vars:2,consts:[[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange",4,"ngIf","ngIfElse"],["notFilterTemplate",""],["extraTemplate",""],["sortTemplate",""],["contentTemplate",""],[3,"contentTemplate","extraTemplate","customFilter","filterMultiple","listOfFilter","filterChange"],[3,"ngTemplateOutlet"],[3,"sortOrder","sortDirections","contentTemplate"]],template:function(t,n){if(1&t&&(e.F$t(St),e.YNc(0,ft,1,5,"nz-table-filter",0),e.YNc(1,_t,1,1,"ng-template",null,1,e.W1O),e.YNc(3,Ct,2,0,"ng-template",null,2,e.W1O),e.YNc(5,xt,1,3,"ng-template",null,3,e.W1O),e.YNc(7,Tt,1,0,"ng-template",null,4,e.W1O)),2&t){const a=e.MAs(2);e.Q6J("ngIf",n.nzShowFilter||n.nzCustomFilter)("ngIfElse",a)}},directives:[gn,zn,f.O5,f.tP],encapsulation:2,changeDetection:0}),(0,x.gn)([(0,C.yF)()],i.prototype,"nzShowSort",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzShowFilter",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzCustomFilter",void 0),i})(),Pe=(()=>{class i{constructor(t,n){this.renderer=t,this.elementRef=n,this.changes$=new v.xQ,this.nzWidth=null,this.colspan=null,this.colSpan=null,this.rowspan=null,this.rowSpan=null}ngOnChanges(t){const{nzWidth:n,colspan:a,rowspan:l,colSpan:c,rowSpan:g}=t;if(a||c){const z=this.colspan||this.colSpan;(0,C.kK)(z)?this.renderer.removeAttribute(this.elementRef.nativeElement,"colspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"colspan",`${z}`)}if(l||g){const z=this.rowspan||this.rowSpan;(0,C.kK)(z)?this.renderer.removeAttribute(this.elementRef.nativeElement,"rowspan"):this.renderer.setAttribute(this.elementRef.nativeElement,"rowspan",`${z}`)}(n||a)&&this.changes$.next()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Qsj),e.Y36(e.SBq))},i.\u0275dir=e.lG2({type:i,selectors:[["th"]],inputs:{nzWidth:"nzWidth",colspan:"colspan",colSpan:"colSpan",rowspan:"rowspan",rowSpan:"rowSpan"},features:[e.TTD]}),i})(),fn=(()=>{class i{constructor(){this.nzAlign=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275dir=e.lG2({type:i,selectors:[["th","nzAlign",""],["td","nzAlign",""]],hostVars:2,hostBindings:function(t,n){2&t&&e.Udp("text-align",n.nzAlign)},inputs:{nzAlign:"nzAlign"}}),i})(),De=(()=>{class i{constructor(){this.tableLayout="auto",this.theadTemplate=null,this.contentTemplate=null,this.listOfColWidth=[],this.scrollX=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["table","nz-table-content",""]],hostVars:8,hostBindings:function(t,n){2&t&&(e.Udp("table-layout",n.tableLayout)("width",n.scrollX)("min-width",n.scrollX?"100%":null),e.ekj("ant-table-fixed",n.scrollX))},inputs:{tableLayout:"tableLayout",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate",listOfColWidth:"listOfColWidth",scrollX:"scrollX"},attrs:bt,ngContentSelectors:L,decls:4,vars:3,consts:[[3,"width","minWidth",4,"ngFor","ngForOf"],["class","ant-table-thead",4,"ngIf"],[3,"ngTemplateOutlet"],[1,"ant-table-thead"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,yt,1,4,"col",0),e.YNc(1,Nt,2,1,"thead",1),e.YNc(2,Ot,0,0,"ng-template",2),e.Hsn(3)),2&t&&(e.Q6J("ngForOf",n.listOfColWidth),e.xp6(1),e.Q6J("ngIf",n.theadTemplate),e.xp6(1),e.Q6J("ngTemplateOutlet",n.contentTemplate))},directives:[f.sg,f.O5,f.tP],encapsulation:2,changeDetection:0}),i})(),mn=(()=>{class i{constructor(t,n){this.nzTableStyleService=t,this.renderer=n,this.hostWidth$=new N.X(null),this.enableAutoMeasure$=new N.X(!1),this.destroy$=new v.xQ}ngOnInit(){if(this.nzTableStyleService){const{enableAutoMeasure$:t,hostWidth$:n}=this.nzTableStyleService;t.pipe((0,p.R)(this.destroy$)).subscribe(this.enableAutoMeasure$),n.pipe((0,p.R)(this.destroy$)).subscribe(this.hostWidth$)}}ngAfterViewInit(){this.nzTableStyleService.columnCount$.pipe((0,p.R)(this.destroy$)).subscribe(t=>{this.renderer.setAttribute(this.tdElement.nativeElement,"colspan",`${t}`)})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(E),e.Y36(e.Qsj))},i.\u0275cmp=e.Xpm({type:i,selectors:[["tr","nz-table-fixed-row",""],["tr","nzExpand",""]],viewQuery:function(t,n){if(1&t&&e.Gf(we,7),2&t){let a;e.iGM(a=e.CRH())&&(n.tdElement=a.first)}},attrs:Pt,ngContentSelectors:L,decls:6,vars:4,consts:[[1,"nz-disable-td","ant-table-cell"],["tdElement",""],["class","ant-table-expanded-row-fixed","style","position: sticky; left: 0px; overflow: hidden;",3,"width",4,"ngIf","ngIfElse"],["contentTemplate",""],[1,"ant-table-expanded-row-fixed",2,"position","sticky","left","0px","overflow","hidden"],[3,"ngTemplateOutlet"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"td",0,1),e.YNc(2,It,3,5,"div",2),e.ALo(3,"async"),e.qZA(),e.YNc(4,Ft,1,0,"ng-template",null,3,e.W1O)),2&t){const a=e.MAs(5);e.xp6(2),e.Q6J("ngIf",e.lcZ(3,2,n.enableAutoMeasure$))("ngIfElse",a)}},directives:[f.O5,f.tP],pipes:[f.Ov],encapsulation:2,changeDetection:0}),i})(),_n=(()=>{class i{constructor(){this.tableLayout="auto",this.listOfColWidth=[],this.theadTemplate=null,this.contentTemplate=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-inner-default"]],hostAttrs:[1,"ant-table-container"],inputs:{tableLayout:"tableLayout",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",contentTemplate:"contentTemplate"},decls:2,vars:4,consts:[[1,"ant-table-content"],["nz-table-content","",3,"contentTemplate","tableLayout","listOfColWidth","theadTemplate"]],template:function(t,n){1&t&&(e.TgZ(0,"div",0),e._UZ(1,"table",1),e.qZA()),2&t&&(e.xp6(1),e.Q6J("contentTemplate",n.contentTemplate)("tableLayout",n.tableLayout)("listOfColWidth",n.listOfColWidth)("theadTemplate",n.theadTemplate))},directives:[De],encapsulation:2,changeDetection:0}),i})(),Cn=(()=>{class i{constructor(t,n){this.nzResizeObserver=t,this.ngZone=n,this.listOfMeasureColumn=[],this.listOfAutoWidth=new e.vpe,this.destroy$=new v.xQ}trackByFunc(t,n){return n}ngAfterViewInit(){this.listOfTdElement.changes.pipe((0,$.O)(this.listOfTdElement)).pipe((0,P.w)(t=>(0,I.aj)(t.toArray().map(n=>this.nzResizeObserver.observe(n).pipe((0,w.U)(([a])=>{const{width:l}=a.target.getBoundingClientRect();return Math.floor(l)}))))),(0,be.b)(16),(0,p.R)(this.destroy$)).subscribe(t=>{this.ngZone.run(()=>{this.listOfAutoWidth.next(t)})})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(H.D3),e.Y36(e.R0b))},i.\u0275cmp=e.Xpm({type:i,selectors:[["tr","nz-table-measure-row",""]],viewQuery:function(t,n){if(1&t&&e.Gf(we,5),2&t){let a;e.iGM(a=e.CRH())&&(n.listOfTdElement=a)}},hostAttrs:[1,"ant-table-measure-now"],inputs:{listOfMeasureColumn:"listOfMeasureColumn"},outputs:{listOfAutoWidth:"listOfAutoWidth"},attrs:Mt,decls:1,vars:2,consts:[["class","nz-disable-td","style","padding: 0px; border: 0px; height: 0px;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"nz-disable-td",2,"padding","0px","border","0px","height","0px"],["tdElement",""]],template:function(t,n){1&t&&e.YNc(0,kt,2,0,"td",0),2&t&&e.Q6J("ngForOf",n.listOfMeasureColumn)("ngForTrackBy",n.trackByFunc)},directives:[f.sg],encapsulation:2,changeDetection:0}),i})(),Ie=(()=>{class i{constructor(t){if(this.nzTableStyleService=t,this.isInsideTable=!1,this.showEmpty$=new N.X(!1),this.noResult$=new N.X(void 0),this.listOfMeasureColumn$=new N.X([]),this.destroy$=new v.xQ,this.isInsideTable=!!this.nzTableStyleService,this.nzTableStyleService){const{showEmpty$:n,noResult$:a,listOfMeasureColumn$:l}=this.nzTableStyleService;a.pipe((0,p.R)(this.destroy$)).subscribe(this.noResult$),l.pipe((0,p.R)(this.destroy$)).subscribe(this.listOfMeasureColumn$),n.pipe((0,p.R)(this.destroy$)).subscribe(this.showEmpty$)}}onListOfAutoWidthChange(t){this.nzTableStyleService.setListOfAutoWidth(t)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(E,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["tbody"]],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-tbody",n.isInsideTable)},ngContentSelectors:L,decls:5,vars:6,consts:[[4,"ngIf"],["class","ant-table-placeholder","nz-table-fixed-row","",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth",4,"ngIf"],["nz-table-measure-row","",3,"listOfMeasureColumn","listOfAutoWidth"],["nz-table-fixed-row","",1,"ant-table-placeholder"],["nzComponentName","table",3,"specificContent"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,Rt,2,1,"ng-container",0),e.ALo(1,"async"),e.Hsn(2),e.YNc(3,Bt,3,3,"tr",1),e.ALo(4,"async")),2&t&&(e.Q6J("ngIf",e.lcZ(1,2,n.listOfMeasureColumn$)),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,4,n.showEmpty$)))},directives:[Cn,mn,q.gB,f.O5],pipes:[f.Ov],encapsulation:2,changeDetection:0}),i})(),Fe=(()=>{class i{constructor(t,n,a,l){this.renderer=t,this.ngZone=n,this.platform=a,this.resizeService=l,this.data=[],this.scrollX=null,this.scrollY=null,this.contentTemplate=null,this.widthConfig=[],this.listOfColWidth=[],this.theadTemplate=null,this.virtualTemplate=null,this.virtualItemSize=0,this.virtualMaxBufferPx=200,this.virtualMinBufferPx=100,this.virtualForTrackBy=c=>c,this.headerStyleMap={},this.bodyStyleMap={},this.verticalScrollBarWidth=0,this.noDateVirtualHeight="182px",this.data$=new v.xQ,this.scroll$=new v.xQ,this.destroy$=new v.xQ}setScrollPositionClassName(t=!1){const{scrollWidth:n,scrollLeft:a,clientWidth:l}=this.tableBodyElement.nativeElement,c="ant-table-ping-left",g="ant-table-ping-right";n===l&&0!==n||t?(this.renderer.removeClass(this.tableMainElement,c),this.renderer.removeClass(this.tableMainElement,g)):0===a?(this.renderer.removeClass(this.tableMainElement,c),this.renderer.addClass(this.tableMainElement,g)):n===a+l?(this.renderer.removeClass(this.tableMainElement,g),this.renderer.addClass(this.tableMainElement,c)):(this.renderer.addClass(this.tableMainElement,c),this.renderer.addClass(this.tableMainElement,g))}ngOnChanges(t){const{scrollX:n,scrollY:a,data:l}=t;if(n||a){const c=0!==this.verticalScrollBarWidth;this.headerStyleMap={overflowX:"hidden",overflowY:this.scrollY&&c?"scroll":"hidden"},this.bodyStyleMap={overflowY:this.scrollY?"scroll":"hidden",overflowX:this.scrollX?"auto":null,maxHeight:this.scrollY},this.scroll$.next()}l&&this.data$.next()}ngAfterViewInit(){this.platform.isBrowser&&this.ngZone.runOutsideAngular(()=>{const t=this.scroll$.pipe((0,$.O)(null),(0,ge.g)(0),(0,P.w)(()=>(0,ve.R)(this.tableBodyElement.nativeElement,"scroll").pipe((0,$.O)(!0))),(0,p.R)(this.destroy$)),n=this.resizeService.subscribe().pipe((0,p.R)(this.destroy$)),a=this.data$.pipe((0,p.R)(this.destroy$));(0,W.T)(t,n,a,this.scroll$).pipe((0,$.O)(!0),(0,ge.g)(0),(0,p.R)(this.destroy$)).subscribe(()=>this.setScrollPositionClassName()),t.pipe((0,ze.h)(()=>!!this.scrollY)).subscribe(()=>this.tableHeaderElement.nativeElement.scrollLeft=this.tableBodyElement.nativeElement.scrollLeft)})}ngOnDestroy(){this.setScrollPositionClassName(!0),this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Qsj),e.Y36(e.R0b),e.Y36(Q.t4),e.Y36(M.rI))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-inner-scroll"]],viewQuery:function(t,n){if(1&t&&(e.Gf(At,5,e.SBq),e.Gf(Et,5,e.SBq),e.Gf(s.N7,5,s.N7)),2&t){let a;e.iGM(a=e.CRH())&&(n.tableHeaderElement=a.first),e.iGM(a=e.CRH())&&(n.tableBodyElement=a.first),e.iGM(a=e.CRH())&&(n.cdkVirtualScrollViewport=a.first)}},hostAttrs:[1,"ant-table-container"],inputs:{data:"data",scrollX:"scrollX",scrollY:"scrollY",contentTemplate:"contentTemplate",widthConfig:"widthConfig",listOfColWidth:"listOfColWidth",theadTemplate:"theadTemplate",virtualTemplate:"virtualTemplate",virtualItemSize:"virtualItemSize",virtualMaxBufferPx:"virtualMaxBufferPx",virtualMinBufferPx:"virtualMinBufferPx",tableMainElement:"tableMainElement",virtualForTrackBy:"virtualForTrackBy",verticalScrollBarWidth:"verticalScrollBarWidth"},features:[e.TTD],decls:2,vars:2,consts:[[4,"ngIf"],["class","ant-table-content",3,"ngStyle",4,"ngIf"],[1,"ant-table-header","nz-table-hide-scrollbar",3,"ngStyle"],["tableHeaderElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate"],["class","ant-table-body",3,"ngStyle",4,"ngIf"],[3,"itemSize","maxBufferPx","minBufferPx","height",4,"ngIf"],[1,"ant-table-body",3,"ngStyle"],["tableBodyElement",""],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","contentTemplate"],[3,"itemSize","maxBufferPx","minBufferPx"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth"],[4,"cdkVirtualFor","cdkVirtualForOf","cdkVirtualForTrackBy"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"ant-table-content",3,"ngStyle"],["nz-table-content","","tableLayout","fixed",3,"scrollX","listOfColWidth","theadTemplate","contentTemplate"]],template:function(t,n){1&t&&(e.YNc(0,Wt,6,6,"ng-container",0),e.YNc(1,Lt,3,5,"div",1)),2&t&&(e.Q6J("ngIf",n.scrollY),e.xp6(1),e.Q6J("ngIf",!n.scrollY))},directives:[De,s.N7,Ie,f.O5,f.PC,s.xd,s.x0,f.tP],encapsulation:2,changeDetection:0}),i})(),Me=(()=>{class i{constructor(t){this.templateRef=t}static ngTemplateContextGuard(t,n){return!0}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.Rgc))},i.\u0275dir=e.lG2({type:i,selectors:[["","nz-virtual-scroll",""]],exportAs:["nzVirtualScroll"]}),i})(),me=(()=>{class i{constructor(){this.destroy$=new v.xQ,this.pageIndex$=new N.X(1),this.frontPagination$=new N.X(!0),this.pageSize$=new N.X(10),this.listOfData$=new N.X([]),this.pageIndexDistinct$=this.pageIndex$.pipe((0,ue.x)()),this.pageSizeDistinct$=this.pageSize$.pipe((0,ue.x)()),this.listOfCalcOperator$=new N.X([]),this.queryParams$=(0,I.aj)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfCalcOperator$]).pipe((0,be.b)(0),(0,ot.T)(1),(0,w.U)(([t,n,a])=>({pageIndex:t,pageSize:n,sort:a.filter(l=>l.sortFn).map(l=>({key:l.key,value:l.sortOrder})),filter:a.filter(l=>l.filterFn).map(l=>({key:l.key,value:l.filterValue}))}))),this.listOfDataAfterCalc$=(0,I.aj)([this.listOfData$,this.listOfCalcOperator$]).pipe((0,w.U)(([t,n])=>{let a=[...t];const l=n.filter(g=>{const{filterValue:z,filterFn:_}=g;return!(null==z||Array.isArray(z)&&0===z.length)&&"function"==typeof _});for(const g of l){const{filterFn:z,filterValue:_}=g;a=a.filter(T=>z(_,T))}const c=n.filter(g=>null!==g.sortOrder&&"function"==typeof g.sortFn).sort((g,z)=>+z.sortPriority-+g.sortPriority);return n.length&&a.sort((g,z)=>{for(const _ of c){const{sortFn:T,sortOrder:u}=_;if(T&&u){const O=T(g,z,u);if(0!==O)return"ascend"===u?O:-O}}return 0}),a})),this.listOfFrontEndCurrentPageData$=(0,I.aj)([this.pageIndexDistinct$,this.pageSizeDistinct$,this.listOfDataAfterCalc$]).pipe((0,p.R)(this.destroy$),(0,ze.h)(t=>{const[n,a,l]=t;return n<=(Math.ceil(l.length/a)||1)}),(0,w.U)(([t,n,a])=>a.slice((t-1)*n,t*n))),this.listOfCurrentPageData$=this.frontPagination$.pipe((0,P.w)(t=>t?this.listOfFrontEndCurrentPageData$:this.listOfDataAfterCalc$)),this.total$=this.frontPagination$.pipe((0,P.w)(t=>t?this.listOfDataAfterCalc$:this.listOfData$),(0,w.U)(t=>t.length),(0,ue.x)())}updatePageSize(t){this.pageSize$.next(t)}updateFrontPagination(t){this.frontPagination$.next(t)}updatePageIndex(t){this.pageIndex$.next(t)}updateListOfData(t){this.listOfData$.next(t)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275prov=e.Yz7({token:i,factory:i.\u0275fac}),i})(),xn=(()=>{class i{constructor(){this.title=null,this.footer=null}}return i.\u0275fac=function(t){return new(t||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table-title-footer"]],hostVars:4,hostBindings:function(t,n){2&t&&e.ekj("ant-table-title",null!==n.title)("ant-table-footer",null!==n.footer)},inputs:{title:"title",footer:"footer"},decls:2,vars:2,consts:[[4,"nzStringTemplateOutlet"]],template:function(t,n){1&t&&(e.YNc(0,Vt,2,1,"ng-container",0),e.YNc(1,Ut,2,1,"ng-container",0)),2&t&&(e.Q6J("nzStringTemplateOutlet",n.title),e.xp6(1),e.Q6J("nzStringTemplateOutlet",n.footer))},directives:[U.f],encapsulation:2,changeDetection:0}),i})(),Tn=(()=>{class i{constructor(t,n,a,l,c,g,z){this.elementRef=t,this.nzResizeObserver=n,this.nzConfigService=a,this.cdr=l,this.nzTableStyleService=c,this.nzTableDataService=g,this.directionality=z,this._nzModuleName="table",this.nzTableLayout="auto",this.nzShowTotal=null,this.nzItemRender=null,this.nzTitle=null,this.nzFooter=null,this.nzNoResult=void 0,this.nzPageSizeOptions=[10,20,30,40,50],this.nzVirtualItemSize=0,this.nzVirtualMaxBufferPx=200,this.nzVirtualMinBufferPx=100,this.nzVirtualForTrackBy=_=>_,this.nzLoadingDelay=0,this.nzPageIndex=1,this.nzPageSize=10,this.nzTotal=0,this.nzWidthConfig=[],this.nzData=[],this.nzPaginationPosition="bottom",this.nzScroll={x:null,y:null},this.nzPaginationType="default",this.nzFrontPagination=!0,this.nzTemplateMode=!1,this.nzShowPagination=!0,this.nzLoading=!1,this.nzOuterBordered=!1,this.nzLoadingIndicator=null,this.nzBordered=!1,this.nzSize="default",this.nzShowSizeChanger=!1,this.nzHideOnSinglePage=!1,this.nzShowQuickJumper=!1,this.nzSimple=!1,this.nzPageSizeChange=new e.vpe,this.nzPageIndexChange=new e.vpe,this.nzQueryParams=new e.vpe,this.nzCurrentPageDataChange=new e.vpe,this.data=[],this.scrollX=null,this.scrollY=null,this.theadTemplate=null,this.listOfAutoColWidth=[],this.listOfManualColWidth=[],this.hasFixLeft=!1,this.hasFixRight=!1,this.showPagination=!0,this.destroy$=new v.xQ,this.templateMode$=new N.X(!1),this.dir="ltr",this.verticalScrollBarWidth=0,this.nzConfigService.getConfigChangeEventForComponent("table").pipe((0,p.R)(this.destroy$)).subscribe(()=>{this.cdr.markForCheck()})}onPageSizeChange(t){this.nzTableDataService.updatePageSize(t)}onPageIndexChange(t){this.nzTableDataService.updatePageIndex(t)}ngOnInit(){var t;const{pageIndexDistinct$:n,pageSizeDistinct$:a,listOfCurrentPageData$:l,total$:c,queryParams$:g}=this.nzTableDataService,{theadTemplate$:z,hasFixLeft$:_,hasFixRight$:T}=this.nzTableStyleService;this.dir=this.directionality.value,null===(t=this.directionality.change)||void 0===t||t.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.dir=u,this.cdr.detectChanges()}),g.pipe((0,p.R)(this.destroy$)).subscribe(this.nzQueryParams),n.pipe((0,p.R)(this.destroy$)).subscribe(u=>{u!==this.nzPageIndex&&(this.nzPageIndex=u,this.nzPageIndexChange.next(u))}),a.pipe((0,p.R)(this.destroy$)).subscribe(u=>{u!==this.nzPageSize&&(this.nzPageSize=u,this.nzPageSizeChange.next(u))}),c.pipe((0,p.R)(this.destroy$),(0,ze.h)(()=>this.nzFrontPagination)).subscribe(u=>{u!==this.nzTotal&&(this.nzTotal=u,this.cdr.markForCheck())}),l.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.data=u,this.nzCurrentPageDataChange.next(u),this.cdr.markForCheck()}),z.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.theadTemplate=u,this.cdr.markForCheck()}),_.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.hasFixLeft=u,this.cdr.markForCheck()}),T.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.hasFixRight=u,this.cdr.markForCheck()}),(0,I.aj)([c,this.templateMode$]).pipe((0,w.U)(([u,O])=>0===u&&!O),(0,p.R)(this.destroy$)).subscribe(u=>{this.nzTableStyleService.setShowEmpty(u)}),this.verticalScrollBarWidth=(0,C.D8)("vertical"),this.nzTableStyleService.listOfListOfThWidthPx$.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.listOfAutoColWidth=u,this.cdr.markForCheck()}),this.nzTableStyleService.manualWidthConfigPx$.pipe((0,p.R)(this.destroy$)).subscribe(u=>{this.listOfManualColWidth=u,this.cdr.markForCheck()})}ngOnChanges(t){const{nzScroll:n,nzPageIndex:a,nzPageSize:l,nzFrontPagination:c,nzData:g,nzWidthConfig:z,nzNoResult:_,nzTemplateMode:T}=t;a&&this.nzTableDataService.updatePageIndex(this.nzPageIndex),l&&this.nzTableDataService.updatePageSize(this.nzPageSize),g&&(this.nzData=this.nzData||[],this.nzTableDataService.updateListOfData(this.nzData)),c&&this.nzTableDataService.updateFrontPagination(this.nzFrontPagination),n&&this.setScrollOnChanges(),z&&this.nzTableStyleService.setTableWidthConfig(this.nzWidthConfig),T&&this.templateMode$.next(this.nzTemplateMode),_&&this.nzTableStyleService.setNoResult(this.nzNoResult),this.updateShowPagination()}ngAfterViewInit(){this.nzResizeObserver.observe(this.elementRef).pipe((0,w.U)(([t])=>{const{width:n}=t.target.getBoundingClientRect();return Math.floor(n-(this.scrollY?this.verticalScrollBarWidth:0))}),(0,p.R)(this.destroy$)).subscribe(this.nzTableStyleService.hostWidth$),this.nzTableInnerScrollComponent&&this.nzTableInnerScrollComponent.cdkVirtualScrollViewport&&(this.cdkVirtualScrollViewport=this.nzTableInnerScrollComponent.cdkVirtualScrollViewport)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}setScrollOnChanges(){this.scrollX=this.nzScroll&&this.nzScroll.x||null,this.scrollY=this.nzScroll&&this.nzScroll.y||null,this.nzTableStyleService.setScroll(this.scrollX,this.scrollY)}updateShowPagination(){this.showPagination=this.nzHideOnSinglePage&&this.nzData.length>this.nzPageSize||this.nzData.length>0&&!this.nzHideOnSinglePage||!this.nzFrontPagination&&this.nzTotal>this.nzPageSize}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.SBq),e.Y36(H.D3),e.Y36(b.jY),e.Y36(e.sBO),e.Y36(E),e.Y36(me),e.Y36(D.Is,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["nz-table"]],contentQueries:function(t,n,a){if(1&t&&e.Suo(a,Me,5),2&t){let l;e.iGM(l=e.CRH())&&(n.nzVirtualScrollDirective=l.first)}},viewQuery:function(t,n){if(1&t&&e.Gf(Fe,5),2&t){let a;e.iGM(a=e.CRH())&&(n.nzTableInnerScrollComponent=a.first)}},hostAttrs:[1,"ant-table-wrapper"],hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-wrapper-rtl","rtl"===n.dir)},inputs:{nzTableLayout:"nzTableLayout",nzShowTotal:"nzShowTotal",nzItemRender:"nzItemRender",nzTitle:"nzTitle",nzFooter:"nzFooter",nzNoResult:"nzNoResult",nzPageSizeOptions:"nzPageSizeOptions",nzVirtualItemSize:"nzVirtualItemSize",nzVirtualMaxBufferPx:"nzVirtualMaxBufferPx",nzVirtualMinBufferPx:"nzVirtualMinBufferPx",nzVirtualForTrackBy:"nzVirtualForTrackBy",nzLoadingDelay:"nzLoadingDelay",nzPageIndex:"nzPageIndex",nzPageSize:"nzPageSize",nzTotal:"nzTotal",nzWidthConfig:"nzWidthConfig",nzData:"nzData",nzPaginationPosition:"nzPaginationPosition",nzScroll:"nzScroll",nzPaginationType:"nzPaginationType",nzFrontPagination:"nzFrontPagination",nzTemplateMode:"nzTemplateMode",nzShowPagination:"nzShowPagination",nzLoading:"nzLoading",nzOuterBordered:"nzOuterBordered",nzLoadingIndicator:"nzLoadingIndicator",nzBordered:"nzBordered",nzSize:"nzSize",nzShowSizeChanger:"nzShowSizeChanger",nzHideOnSinglePage:"nzHideOnSinglePage",nzShowQuickJumper:"nzShowQuickJumper",nzSimple:"nzSimple"},outputs:{nzPageSizeChange:"nzPageSizeChange",nzPageIndexChange:"nzPageIndexChange",nzQueryParams:"nzQueryParams",nzCurrentPageDataChange:"nzCurrentPageDataChange"},exportAs:["nzTable"],features:[e._Bn([E,me]),e.TTD],ngContentSelectors:L,decls:14,vars:27,consts:[[3,"nzDelay","nzSpinning","nzIndicator"],[4,"ngIf"],[1,"ant-table"],["tableMainElement",""],[3,"title",4,"ngIf"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy",4,"ngIf","ngIfElse"],["defaultTemplate",""],[3,"footer",4,"ngIf"],["paginationTemplate",""],["contentTemplate",""],[3,"ngTemplateOutlet"],[3,"title"],[3,"data","scrollX","scrollY","contentTemplate","listOfColWidth","theadTemplate","verticalScrollBarWidth","virtualTemplate","virtualItemSize","virtualMaxBufferPx","virtualMinBufferPx","tableMainElement","virtualForTrackBy"],[3,"tableLayout","listOfColWidth","theadTemplate","contentTemplate"],[3,"footer"],["class","ant-table-pagination ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange",4,"ngIf"],[1,"ant-table-pagination","ant-table-pagination-right",3,"hidden","nzShowSizeChanger","nzPageSizeOptions","nzItemRender","nzShowQuickJumper","nzHideOnSinglePage","nzShowTotal","nzSize","nzPageSize","nzTotal","nzSimple","nzPageIndex","nzPageSizeChange","nzPageIndexChange"]],template:function(t,n){if(1&t&&(e.F$t(),e.TgZ(0,"nz-spin",0),e.YNc(1,Xt,2,1,"ng-container",1),e.TgZ(2,"div",2,3),e.YNc(4,Gt,1,1,"nz-table-title-footer",4),e.YNc(5,qt,1,13,"nz-table-inner-scroll",5),e.YNc(6,Kt,1,4,"ng-template",null,6,e.W1O),e.YNc(8,en,1,1,"nz-table-title-footer",7),e.qZA(),e.YNc(9,nn,2,1,"ng-container",1),e.qZA(),e.YNc(10,an,1,1,"ng-template",null,8,e.W1O),e.YNc(12,ln,1,0,"ng-template",null,9,e.W1O)),2&t){const a=e.MAs(7);e.Q6J("nzDelay",n.nzLoadingDelay)("nzSpinning",n.nzLoading)("nzIndicator",n.nzLoadingIndicator),e.xp6(1),e.Q6J("ngIf","both"===n.nzPaginationPosition||"top"===n.nzPaginationPosition),e.xp6(1),e.ekj("ant-table-rtl","rtl"===n.dir)("ant-table-fixed-header",n.nzData.length&&n.scrollY)("ant-table-fixed-column",n.scrollX)("ant-table-has-fix-left",n.hasFixLeft)("ant-table-has-fix-right",n.hasFixRight)("ant-table-bordered",n.nzBordered)("nz-table-out-bordered",n.nzOuterBordered&&!n.nzBordered)("ant-table-middle","middle"===n.nzSize)("ant-table-small","small"===n.nzSize),e.xp6(2),e.Q6J("ngIf",n.nzTitle),e.xp6(1),e.Q6J("ngIf",n.scrollY||n.scrollX)("ngIfElse",a),e.xp6(3),e.Q6J("ngIf",n.nzFooter),e.xp6(1),e.Q6J("ngIf","both"===n.nzPaginationPosition||"bottom"===n.nzPaginationPosition)}},directives:[Se.W,xn,Fe,_n,tt,f.O5,f.tP],encapsulation:2,changeDetection:0}),(0,x.gn)([(0,C.yF)()],i.prototype,"nzFrontPagination",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzTemplateMode",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzShowPagination",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzLoading",void 0),(0,x.gn)([(0,C.yF)()],i.prototype,"nzOuterBordered",void 0),(0,x.gn)([(0,b.oS)()],i.prototype,"nzLoadingIndicator",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzBordered",void 0),(0,x.gn)([(0,b.oS)()],i.prototype,"nzSize",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzShowSizeChanger",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzHideOnSinglePage",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzShowQuickJumper",void 0),(0,x.gn)([(0,b.oS)(),(0,C.yF)()],i.prototype,"nzSimple",void 0),i})(),$e=(()=>{class i{constructor(t){this.nzTableStyleService=t,this.destroy$=new v.xQ,this.listOfFixedColumns$=new y.t(1),this.listOfColumns$=new y.t(1),this.listOfFixedColumnsChanges$=this.listOfFixedColumns$.pipe((0,P.w)(n=>(0,W.T)(this.listOfFixedColumns$,...n.map(a=>a.changes$)).pipe((0,fe.zg)(()=>this.listOfFixedColumns$))),(0,p.R)(this.destroy$)),this.listOfFixedLeftColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,w.U)(n=>n.filter(a=>!1!==a.nzLeft))),this.listOfFixedRightColumnChanges$=this.listOfFixedColumnsChanges$.pipe((0,w.U)(n=>n.filter(a=>!1!==a.nzRight))),this.listOfColumnsChanges$=this.listOfColumns$.pipe((0,P.w)(n=>(0,W.T)(this.listOfColumns$,...n.map(a=>a.changes$)).pipe((0,fe.zg)(()=>this.listOfColumns$))),(0,p.R)(this.destroy$)),this.isInsideTable=!1,this.isInsideTable=!!t}ngAfterContentInit(){this.nzTableStyleService&&(this.listOfCellFixedDirective.changes.pipe((0,$.O)(this.listOfCellFixedDirective),(0,p.R)(this.destroy$)).subscribe(this.listOfFixedColumns$),this.listOfNzThDirective.changes.pipe((0,$.O)(this.listOfNzThDirective),(0,p.R)(this.destroy$)).subscribe(this.listOfColumns$),this.listOfFixedLeftColumnChanges$.subscribe(t=>{t.forEach(n=>n.setIsLastLeft(n===t[t.length-1]))}),this.listOfFixedRightColumnChanges$.subscribe(t=>{t.forEach(n=>n.setIsFirstRight(n===t[0]))}),(0,I.aj)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedLeftColumnChanges$]).pipe((0,p.R)(this.destroy$)).subscribe(([t,n])=>{n.forEach((a,l)=>{if(a.isAutoLeft){const g=n.slice(0,l).reduce((_,T)=>_+(T.colspan||T.colSpan||1),0),z=t.slice(0,g).reduce((_,T)=>_+T,0);a.setAutoLeftWidth(`${z}px`)}})}),(0,I.aj)([this.nzTableStyleService.listOfListOfThWidth$,this.listOfFixedRightColumnChanges$]).pipe((0,p.R)(this.destroy$)).subscribe(([t,n])=>{n.forEach((a,l)=>{const c=n[n.length-l-1];if(c.isAutoRight){const z=n.slice(n.length-l,n.length).reduce((T,u)=>T+(u.colspan||u.colSpan||1),0),_=t.slice(t.length-z,t.length).reduce((T,u)=>T+u,0);c.setAutoRightWidth(`${_}px`)}})}))}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(E,8))},i.\u0275dir=e.lG2({type:i,selectors:[["tr",3,"mat-row","",3,"mat-header-row","",3,"nz-table-measure-row","",3,"nzExpand","",3,"nz-table-fixed-row",""]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,Pe,4),e.Suo(a,Ne,4)),2&t){let l;e.iGM(l=e.CRH())&&(n.listOfNzThDirective=l),e.iGM(l=e.CRH())&&(n.listOfCellFixedDirective=l)}},hostVars:2,hostBindings:function(t,n){2&t&&e.ekj("ant-table-row",n.isInsideTable)}}),i})(),Sn=(()=>{class i{constructor(t,n,a,l){this.elementRef=t,this.renderer=n,this.nzTableStyleService=a,this.nzTableDataService=l,this.destroy$=new v.xQ,this.isInsideTable=!1,this.nzSortOrderChange=new e.vpe,this.isInsideTable=!!this.nzTableStyleService}ngOnInit(){this.nzTableStyleService&&this.nzTableStyleService.setTheadTemplate(this.templateRef)}ngAfterContentInit(){if(this.nzTableStyleService){const t=this.listOfNzTrDirective.changes.pipe((0,$.O)(this.listOfNzTrDirective),(0,w.U)(c=>c&&c.first)),n=t.pipe((0,P.w)(c=>c?c.listOfColumnsChanges$:pe.E),(0,p.R)(this.destroy$));n.subscribe(c=>this.nzTableStyleService.setListOfTh(c)),this.nzTableStyleService.enableAutoMeasure$.pipe((0,P.w)(c=>c?n:(0,it.of)([]))).pipe((0,p.R)(this.destroy$)).subscribe(c=>this.nzTableStyleService.setListOfMeasureColumn(c));const a=t.pipe((0,P.w)(c=>c?c.listOfFixedLeftColumnChanges$:pe.E),(0,p.R)(this.destroy$)),l=t.pipe((0,P.w)(c=>c?c.listOfFixedRightColumnChanges$:pe.E),(0,p.R)(this.destroy$));a.subscribe(c=>{this.nzTableStyleService.setHasFixLeft(0!==c.length)}),l.subscribe(c=>{this.nzTableStyleService.setHasFixRight(0!==c.length)})}if(this.nzTableDataService){const t=this.listOfNzThAddOnComponent.changes.pipe((0,$.O)(this.listOfNzThAddOnComponent));t.pipe((0,P.w)(()=>(0,W.T)(...this.listOfNzThAddOnComponent.map(l=>l.manualClickOrder$))),(0,p.R)(this.destroy$)).subscribe(l=>{this.nzSortOrderChange.emit({key:l.nzColumnKey,value:l.sortOrder}),l.nzSortFn&&!1===l.nzSortPriority&&this.listOfNzThAddOnComponent.filter(g=>g!==l).forEach(g=>g.clearSortOrder())}),t.pipe((0,P.w)(l=>(0,W.T)(t,...l.map(c=>c.calcOperatorChange$)).pipe((0,fe.zg)(()=>t))),(0,w.U)(l=>l.filter(c=>!!c.nzSortFn||!!c.nzFilterFn).map(c=>{const{nzSortFn:g,sortOrder:z,nzFilterFn:_,nzFilterValue:T,nzSortPriority:u,nzColumnKey:O}=c;return{key:O,sortFn:g,sortPriority:u,sortOrder:z,filterFn:_,filterValue:T}})),(0,ge.g)(0),(0,p.R)(this.destroy$)).subscribe(l=>{this.nzTableDataService.listOfCalcOperator$.next(l)})}}ngAfterViewInit(){this.nzTableStyleService&&this.renderer.removeChild(this.renderer.parentNode(this.elementRef.nativeElement),this.elementRef.nativeElement)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return i.\u0275fac=function(t){return new(t||i)(e.Y36(e.SBq),e.Y36(e.Qsj),e.Y36(E,8),e.Y36(me,8))},i.\u0275cmp=e.Xpm({type:i,selectors:[["thead",9,"ant-table-thead"]],contentQueries:function(t,n,a){if(1&t&&(e.Suo(a,$e,5),e.Suo(a,Oe,5)),2&t){let l;e.iGM(l=e.CRH())&&(n.listOfNzTrDirective=l),e.iGM(l=e.CRH())&&(n.listOfNzThAddOnComponent=l)}},viewQuery:function(t,n){if(1&t&&e.Gf(sn,7),2&t){let a;e.iGM(a=e.CRH())&&(n.templateRef=a.first)}},outputs:{nzSortOrderChange:"nzSortOrderChange"},ngContentSelectors:L,decls:3,vars:1,consts:[["contentTemplate",""],[4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(t,n){1&t&&(e.F$t(),e.YNc(0,rn,1,0,"ng-template",null,0,e.W1O),e.YNc(2,dn,2,1,"ng-container",1)),2&t&&(e.xp6(2),e.Q6J("ngIf",!n.isInsideTable))},directives:[f.O5,f.tP],encapsulation:2,changeDetection:0}),i})(),vn=(()=>{class i{}return i.\u0275fac=function(t){return new(t||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[D.vT,j.ip,F.u5,U.T,Te.aF,G.Wr,J.b1,X.sL,f.ez,Q.ud,nt,H.y7,Se.j,Y.YI,B.PV,q.Xo,s.Cl]]}),i})()}}]);
\ No newline at end of file
diff --git a/server/public/7259.3d0ae570e3bb4dac.js b/server/public/7259.3d0ae570e3bb4dac.js
deleted file mode 100644
index b341227c4..000000000
--- a/server/public/7259.3d0ae570e3bb4dac.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7259],{8369:(B,J,a)=>{a.d(J,{W:()=>j});var i=a(9808),o=a(325),x=a(8481),M=a(3610),T=a(647),z=a(7484),Z=a(3098),I=a(3309),C=a(4867),G=a(6286),n=a(8018),O=a(6949),m=a(9444),_=a(1894),P=a(8144),h=a(3580),b=a(8625),S=a(7026),L=a(592),N=a(5e3);let F=(()=>{class u{}return u.\u0275fac=function(w){return new(w||u)},u.\u0275mod=N.oAB({type:u}),u.\u0275inj=N.cJS({imports:[[i.ez,o.Bz,O.WG,z.vh,Z.q6,T.PV,_.Jb,P.zf,x.X,I.U,h.Q,C.Q,G.y,n.e,m.s,L.x,b.$L.forChild({formatter:{useClass:S.x,provide:b.KP}})]]}),u})(),j=(()=>{class u{}return u.\u0275fac=function(w){return new(w||u)},u.\u0275mod=N.oAB({type:u}),u.\u0275inj=N.cJS({imports:[[i.ez,o.Bz,x.X,M.$6,T.PV,F,m.s]]}),u})()},209:(B,J,a)=>{a.d(J,{i:()=>j});var i=a(9808),o=a(325),x=a(8481),M=a(3610),T=a(647),z=a(7484),Z=a(3309),I=a(4867),C=a(1894),G=a(3098),n=a(8018),O=a(3580),m=a(6286),_=a(6949),P=a(8144),h=a(9444),b=a(9779),S=a(592),L=a(3618),N=a(5e3);let F=(()=>{class u{}return u.\u0275fac=function(w){return new(w||u)},u.\u0275mod=N.oAB({type:u}),u.\u0275inj=N.cJS({imports:[[i.ez,o.Bz,_.WG,T.PV,z.vh,C.Jb,G.q6,x.X,P.zf,L.ZJ,h.s,n.e,O.Q,Z.U,I.Q,m.y,b.s,S.x]]}),u})(),j=(()=>{class u{}return u.\u0275fac=function(w){return new(w||u)},u.\u0275mod=N.oAB({type:u}),u.\u0275inj=N.cJS({imports:[[i.ez,o.Bz,x.X,M.$6,T.PV,F,h.s]]}),u})()},6286:(B,J,a)=>{a.d(J,{y:()=>O});var i=a(9808),o=a(325),x=a(8481),M=a(3610),T=a(647),z=a(6949),Z=a(7484),I=a(3630),C=a(3098),G=a(5e3);let n=(()=>{class m{}return m.\u0275fac=function(P){return new(P||m)},m.\u0275mod=G.oAB({type:m}),m.\u0275inj=G.cJS({imports:[[i.ez,z.WG,T.PV,Z.vh,I.X,C.q6]]}),m})(),O=(()=>{class m{}return m.\u0275fac=function(P){return new(P||m)},m.\u0275mod=G.oAB({type:m}),m.\u0275inj=G.cJS({imports:[[i.ez,o.Bz,x.X,M.$6,T.PV,n]]}),m})()},592:(B,J,a)=>{a.d(J,{x:()=>T});var i=a(9808),o=a(8481),x=a(647),M=a(5e3);let T=(()=>{class z{}return z.\u0275fac=function(I){return new(I||z)},z.\u0275mod=M.oAB({type:z}),z.\u0275inj=M.cJS({imports:[[i.ez,o.X,x.PV]]}),z})()},112:(B,J,a)=>{a.d(J,{u:()=>en});var i=a(5e3),o=a(9808),x=a(325),M=a(8481),T=a(3610),z=a(4850),Z=a(712),I=a(7484),C=a(3098),G=a(8664),n=a(6906),O=a(6949);function m(l,f){if(1&l&&(i._UZ(0,"i",7),i._uU(1)),2&l){const p=i.oxw().ngIf;i.xp6(1),i.hij(" ",p.name," ")}}function _(l,f){if(1&l&&(i.TgZ(0,"span"),i._UZ(1,"cvc-variant-tag",10),i.qZA()),2&l){const p=f.$implicit;i.xp6(1),i.Q6J("variant",p.node)}}function P(l,f){if(1&l&&(i.TgZ(0,"nz-descriptions-item",8),i.YNc(1,_,2,1,"span",9),i.qZA()),2&l){const p=i.oxw().ngIf;i.xp6(1),i.Q6J("ngForOf",p.variants.edges)}}function h(l,f){if(1&l&&(i.TgZ(0,"span"),i._UZ(1,"cvc-source-tag",12),i.qZA()),2&l){const p=f.$implicit;i.xp6(1),i.Q6J("source",p)}}function b(l,f){if(1&l&&(i.TgZ(0,"nz-descriptions-item",11),i.YNc(1,h,2,1,"span",9),i.qZA()),2&l){const p=i.oxw().ngIf;i.xp6(1),i.Q6J("ngForOf",p.sources)}}function S(l,f){if(1&l&&(i.ynx(0),i.TgZ(1,"nz-card",2),i.YNc(2,m,2,1,"ng-template",null,3,i.W1O),i._uU(4),i.TgZ(5,"nz-descriptions",4),i.YNc(6,P,2,1,"nz-descriptions-item",5),i.YNc(7,b,2,1,"nz-descriptions-item",6),i.qZA(),i.qZA(),i.BQk()),2&l){const p=f.ngIf,U=i.MAs(3);i.xp6(1),i.Q6J("nzTitle",U),i.xp6(3),i.hij(" ",p.description," "),i.xp6(1),i.Q6J("nzColumn",2),i.xp6(1),i.Q6J("ngIf",p.variants.edges.length>0),i.xp6(1),i.Q6J("ngIf",p.sources.length>0)}}let L=(()=>{class l{constructor(p){this.gql=p}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,z.U)(({data:p})=>p.variantGroup))}}return l.\u0275fac=function(p){return new(p||l)(i.Y36(Z.Zo2))},l.\u0275cmp=i.Xpm({type:l,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzType","civic:variant-group"],["nzTitle","Variants","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"variant"],["nzTitle","Sources","nzSpan","2"],[3,"source"]],template:function(p,U){1&p&&(i.TgZ(0,"div",0),i.YNc(1,S,8,5,"ng-container",1),i.ALo(2,"ngrxPush"),i.qZA()),2&p&&(i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,U.variantGroup$)))},directives:[o.O5,I.bd,C.R7,C.uj,o.sg,G.I,n.T],pipes:[O.fM],styles:["[_nghost-%COMP%]{display:block}"]}),l})();var N=a(647);function F(l,f){}function j(l,f){if(1&l&&(i.ynx(0),i.TgZ(1,"a",5),i.YNc(2,F,0,0,"ng-template",6),i.qZA(),i.BQk()),2&l){const p=i.oxw(),U=i.MAs(2);i.xp6(1),i.Q6J("routerLink",p.variantgroup.link),i.xp6(1),i.Q6J("ngTemplateOutlet",U)}}function u(l,f){}function Y(l,f){if(1&l&&(i.TgZ(0,"nz-tag",9),i.YNc(1,u,0,0,"ng-template",6),i.qZA()),2&l){i.oxw();const p=i.MAs(2);i.oxw();const U=i.MAs(8);i.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",p),i.xp6(1),i.Q6J("ngTemplateOutlet",U)}}function w(l,f){if(1&l&&i._UZ(0,"cvc-variant-group-popover",11),2&l){const p=i.oxw(3);i.Q6J("variantGroupId",p.variantgroup.id)}}function X(l,f){if(1&l&&i.YNc(0,w,1,1,"cvc-variant-group-popover",10),2&l){const p=i.oxw(2);i.Q6J("ngIf",p.enablePopover)}}function K(l,f){if(1&l&&(i.YNc(0,Y,2,3,"nz-tag",7),i.YNc(1,X,1,1,"ng-template",null,8,i.W1O)),2&l){const p=i.oxw(),U=i.MAs(4);i.Q6J("ngIf",p.enablePopover)("ngIfElse",U)}}function q(l,f){}function V(l,f){if(1&l&&(i.TgZ(0,"nz-tag"),i.YNc(1,q,0,0,"ng-template",6),i.qZA()),2&l){i.oxw();const p=i.MAs(8);i.xp6(1),i.Q6J("ngTemplateOutlet",p)}}function k(l,f){}function nn(l,f){if(1&l&&i.YNc(0,k,0,0,"ng-template",6),2&l){i.oxw();const p=i.MAs(2);i.Q6J("ngTemplateOutlet",p)}}function tn(l,f){if(1&l&&(i._UZ(0,"i",12),i._uU(1)),2&l){const p=i.oxw();i.xp6(1),i.hij(" ",p.variantgroup.name,"\n")}}let en=(()=>{class l{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.variantgroup)throw new Error("Must pass a LinkableVariantgroup into the variantgroup tag component")}}return l.\u0275fac=function(p){return new(p||l)},l.\u0275cmp=i.Xpm({type:l,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(p,U){if(1&p&&(i.YNc(0,j,3,2,"ng-container",0),i.YNc(1,K,3,2,"ng-template",null,1,i.W1O),i.YNc(3,V,2,1,"ng-template",null,2,i.W1O),i.YNc(5,nn,1,1,"ng-template",null,3,i.W1O),i.YNc(7,tn,2,1,"ng-template",null,4,i.W1O)),2&p){const on=i.MAs(6);i.Q6J("ngIf",U.linked)("ngIfElse",on)}},directives:[o.O5,x.yS,o.tP,M.j,T.lU,L,N.Ls],styles:[""]}),l})()},7677:(B,J,a)=>{a.d(J,{G:()=>m});var i=a(9808),o=a(325),x=a(3610),M=a(8481),T=a(647),z=a(9779),Z=a(4867),I=a(7484),C=a(3098),G=a(6949),n=a(5e3);let O=(()=>{class _{}return _.\u0275fac=function(h){return new(h||_)},_.\u0275mod=n.oAB({type:_}),_.\u0275inj=n.cJS({imports:[[i.ez,G.WG,I.vh,C.q6,z.s,Z.Q]]}),_})(),m=(()=>{class _{}return _.\u0275fac=function(h){return new(h||_)},_.\u0275mod=n.oAB({type:_}),_.\u0275inj=n.cJS({imports:[[i.ez,o.Bz,x.$6,M.X,T.PV,O]]}),_})()},8664:(B,J,a)=>{a.d(J,{I:()=>ln});var i=a(6654),o=a(5e3),x=a(9808),M=a(325),T=a(8481),z=a(3610),Z=a(4850),I=a(712),C=a(7484),G=a(647),n=a(3193),O=a(3098),m=a(6550),_=a(1894),P=a(8144),h=a(6949);function b(c,v){if(1&c&&(o._UZ(0,"i",13),o._uU(1)),2&c){const g=o.oxw().ngIf;o.xp6(1),o.hij(" ",g.name," ")}}function S(c,v){if(1&c&&o._UZ(0,"cvc-gene-tag",14),2&c){const g=o.oxw().ngIf;o.Q6J("enablePopover",!1)("gene",g.gene)}}function L(c,v){1&c&&(o.TgZ(0,"span"),o._uU(1,",\xa0"),o.qZA())}function N(c,v){if(1&c&&(o.TgZ(0,"span"),o._uU(1),o.YNc(2,L,2,0,"span",1),o.qZA()),2&c){const g=v.$implicit,A=v.last;o.xp6(1),o.hij(" ",g,""),o.xp6(1),o.Q6J("ngIf",!A)}}function F(c,v){if(1&c&&(o.TgZ(0,"nz-descriptions-item",15),o.YNc(1,N,3,2,"span",16),o.qZA()),2&c){const g=o.oxw().ngIf;o.xp6(1),o.Q6J("ngForOf",g.variantAliases)}}function j(c,v){if(1&c&&(o.TgZ(0,"nz-descriptions-item",17),o.TgZ(1,"cvc-link-tag",18),o._uU(2),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.xp6(1),o.MGl("href","https://reg.genome.network/allele/",g.alleleRegistryId,".html"),o.xp6(1),o.hij(" ",g.alleleRegistryId," ")}}function u(c,v){if(1&c&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",20),o._UZ(2,"i",21),o._uU(3),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.MGl("routerLink","/variants/",g.id,"/flags"),o.xp6(3),o.hij(" Flags (",g.flags.totalCount,") ")}}function Y(c,v){if(1&c&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",22),o._UZ(2,"i",23),o._uU(3),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.MGl("routerLink","/variants/",g.id,"/revisions"),o.xp6(3),o.hij(" Revisions (",g.revisions.totalCount,") ")}}function w(c,v){if(1&c&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",24),o._UZ(2,"i",25),o._uU(3),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.MGl("routerLink","/variants/",g.id,"/comments"),o.xp6(3),o.hij(" Comments (",g.comments.totalCount,") ")}}function X(c,v){if(1&c&&(o.ynx(0),o.TgZ(1,"nz-card",2),o.YNc(2,b,2,1,"ng-template",null,3,o.W1O),o.YNc(4,S,1,2,"ng-template",null,4,o.W1O),o.TgZ(6,"nz-descriptions",5),o.YNc(7,F,2,1,"nz-descriptions-item",6),o.YNc(8,j,3,2,"nz-descriptions-item",7),o.TgZ(9,"nz-descriptions-item",8),o._uU(10),o.qZA(),o.qZA(),o.TgZ(11,"nz-row",9),o.TgZ(12,"nz-col",10),o.TgZ(13,"nz-space",11),o.YNc(14,u,4,2,"a",12),o.YNc(15,Y,4,2,"a",12),o.YNc(16,w,4,2,"a",12),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.BQk()),2&c){const g=v.ngIf,A=o.MAs(3),E=o.MAs(5);o.xp6(1),o.Q6J("nzTitle",A)("nzExtra",E),o.xp6(5),o.Q6J("nzColumn",2),o.xp6(1),o.Q6J("ngIf",g.variantAliases.length>0),o.xp6(1),o.Q6J("ngIf",g.alleleRegistryId),o.xp6(2),o.hij(" ",g.evidenceItems.totalCount," ")}}let K=(()=>{class c{constructor(g){this.gql=g}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,Z.U)(({data:g})=>g.variant))}}return c.\u0275fac=function(g){return new(g||c)(o.Y36(I.ZYZ))},c.\u0275cmp=o.Xpm({type:c,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(g,A){1&g&&(o.TgZ(0,"div",0),o.YNc(1,X,17,6,"ng-container",1),o.ALo(2,"ngrxPush"),o.qZA()),2&g&&(o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,A.variant$)))},directives:[x.O5,C.bd,G.Ls,n.H,O.R7,O.uj,x.sg,m.l,_.SK,_.t3,P.NU,P.$1,M.yS,T.j],pipes:[h.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),c})();function q(c,v){}function V(c,v){if(1&c&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,q,0,0,"ng-template",6),o.qZA(),o.BQk()),2&c){const g=o.oxw(),A=o.MAs(2);o.xp6(1),o.Q6J("routerLink",g.variant.link),o.xp6(1),o.Q6J("ngTemplateOutlet",A)}}function k(c,v){}function nn(c,v){if(1&c){const g=o.EpF();o.TgZ(0,"nz-tag",9),o.NdJ("nzOnClose",function(E){return o.CHM(g),o.oxw(2).itemClosed(E)}),o.YNc(1,k,0,0,"ng-template",6),o.qZA()}if(2&c){o.oxw();const g=o.MAs(2),A=o.oxw(),E=o.MAs(8);o.Q6J("nzPopoverMouseEnterDelay",A.onCloseClicked?0:.5)("nzPopoverContent",g)("nzMode",A.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",E)}}function tn(c,v){if(1&c&&o._UZ(0,"cvc-variant-popover",11),2&c){const g=o.oxw(3);o.Q6J("variantId",g.variant.id)}}function en(c,v){if(1&c&&o.YNc(0,tn,1,1,"cvc-variant-popover",10),2&c){const g=o.oxw(2);o.Q6J("ngIf",g.enablePopover)}}function l(c,v){if(1&c&&(o.YNc(0,nn,2,4,"nz-tag",7),o.YNc(1,en,1,1,"ng-template",null,8,o.W1O)),2&c){const g=o.oxw(),A=o.MAs(4);o.Q6J("ngIf",g.enablePopover)("ngIfElse",A)}}function f(c,v){}function p(c,v){if(1&c){const g=o.EpF();o.TgZ(0,"nz-tag",12),o.NdJ("nzOnClose",function(E){return o.CHM(g),o.oxw().itemClosed(E)}),o.YNc(1,f,0,0,"ng-template",6),o.qZA()}if(2&c){const g=o.oxw(),A=o.MAs(8);o.Q6J("nzMode",g.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",A)}}function U(c,v){}function on(c,v){if(1&c&&o.YNc(0,U,0,0,"ng-template",6),2&c){o.oxw();const g=o.MAs(2);o.Q6J("ngTemplateOutlet",g)}}function cn(c,v){if(1&c&&(o._UZ(0,"i",13),o._uU(1)),2&c){const g=o.oxw();o.xp6(1),o.hij(" ",g.variant.name,"\n")}}let ln=(()=>{class c extends i.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return c.\u0275fac=function(g){return new(g||c)},c.\u0275cmp=o.Xpm({type:c,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[o.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(g,A){if(1&g&&(o.YNc(0,V,3,2,"ng-container",0),o.YNc(1,l,3,2,"ng-template",null,1,o.W1O),o.YNc(3,p,2,2,"ng-template",null,2,o.W1O),o.YNc(5,on,1,1,"ng-template",null,3,o.W1O),o.YNc(7,cn,2,1,"ng-template",null,4,o.W1O)),2&g){const E=o.MAs(6);o.Q6J("ngIf",A.linked)("ngIfElse",E)}},directives:[x.O5,M.yS,x.tP,T.j,z.lU,K,G.Ls],styles:[""]}),c})()},4867:(B,J,a)=>{a.d(J,{Q:()=>P});var i=a(9808),o=a(325),x=a(8481),M=a(647),T=a(3610),z=a(6949),Z=a(7484),I=a(1894),C=a(3098),G=a(8144),n=a(3309),O=a(3630),m=a(5e3);let _=(()=>{class h{}return h.\u0275fac=function(S){return new(S||h)},h.\u0275mod=m.oAB({type:h}),h.\u0275inj=m.cJS({imports:[[i.ez,o.Bz,z.WG,Z.vh,I.Jb,C.q6,x.X,M.PV,G.zf,n.U,O.X]]}),h})(),P=(()=>{class h{}return h.\u0275fac=function(S){return new(S||h)},h.\u0275mod=m.oAB({type:h}),h.\u0275inj=m.cJS({imports:[[i.ez,o.Bz,x.X,T.$6,M.PV,_]]}),h})()},8252:(B,J,a)=>{a.r(J),a.d(J,{GenesDetailModule:()=>bt});var i=a(9808),o=a(5630),x=a(1945),M=a(647),T=a(8144),z=a(6949),Z=a(3618),I=a(6042),C=a(325),G=a(2278),n=a(5e3);let O=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,G.l]]}),t})();var m=a(712),_=a(3801);let P=(()=>{class t{constructor(e){this.route=e,this.commentable={id:+this.route.snapshot.params.geneId,entityType:m.OfU.Gene}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(C.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(e,s){1&e&&n._UZ(0,"cvc-comment-list",0),2&e&&n.Q6J("commentable",s.commentable)},directives:[_.D],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var h=a(8929),b=a(591),S=a(373),L=a(1059),N=a(7625),F=a(9350),j=a(8992),u=a(5623),Y=a(8168),w=a(2683),X=a(2643),K=a(9077),q=a(2233),V=a(1894),k=a(759);const nn=function(t){return["/genes",t,"revise"]};function tn(t,r){if(1&t&&(n.TgZ(0,"button",14,15),n._uU(2," Revise "),n.qZA()),2&t){const e=n.MAs(1),s=n.oxw(4).ngIf;n.Q6J("routerLink",n.VKq(2,nn,s.id))("nzType",e.isActive?"primary":"default")}}function en(t,r){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,tn,3,4,"button",13),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.signedIn)}}function l(t,r){if(1&t&&(n.TgZ(0,"button",17,15),n._uU(2," Flag "),n.qZA()),2&t){const e=n.MAs(1);n.Q6J("nzType",e.isActive?"primary":"default")}}function f(t,r){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,l,3,1,"button",16),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.signedIn)}}function p(t,r){if(1&t&&n._UZ(0,"cvc-entity-subscription-button",19),2&t){const e=n.oxw(2).ngrxLet,s=n.oxw(3);n.Q6J("viewer",e)("subscribableId",s.subscribable.id)}}function U(t,r){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,p,1,2,"cvc-entity-subscription-button",18),n.qZA()),2&t){const e=n.oxw().ngrxLet,s=n.oxw(3);n.xp6(1),n.Q6J("ngIf",e.signedIn&&s.subscribable)}}function on(t,r){1&t&&(n.TgZ(0,"nz-space",11),n.YNc(1,en,2,1,"span",12),n.YNc(2,f,2,1,"span",12),n.YNc(3,U,2,1,"span",12),n.qZA())}function cn(t,r){if(1&t&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,on,4,0,"nz-space",10),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",e.viewer$)}}function ln(t,r){if(1&t&&(n.TgZ(0,"nz-col",20),n._UZ(1,"cvc-contributor-avatars",21),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("subscribable",e.subscribable)}}const c=function(t){return{flagged:t}};function v(t,r){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"div",2),n.ALo(3,"ngrxPush"),n.TgZ(4,"nz-page-header",3),n.TgZ(5,"nz-page-header-title",4),n._UZ(6,"i",5),n._uU(7),n.qZA(),n.TgZ(8,"nz-page-header-subtitle"),n._uU(9),n.qZA(),n.YNc(10,cn,2,1,"nz-page-header-extra",6),n.TgZ(11,"nz-page-header-content"),n.TgZ(12,"cvc-tab-navigation",7),n.ALo(13,"ngrxPush"),n.YNc(14,ln,2,1,"ng-template",null,8,n.W1O),n.qZA(),n.TgZ(16,"div",9),n._UZ(17,"router-outlet"),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&t){const e=r.ngIf,s=n.oxw();n.xp6(1),n.Q6J("displayName",e.name),n.xp6(1),n.Q6J("flags",n.lcZ(3,7,s.flagsTotal$)),n.xp6(3),n.Q6J("ngClass",n.VKq(11,c,e.flags.totalCount>0)),n.xp6(2),n.hij(" ",e.name," "),n.xp6(2),n.hij(" ",e.officialName," "),n.xp6(1),n.Q6J("ngrxLet",s.viewer$),n.xp6(2),n.Q6J("tabs",n.lcZ(13,9,s.tabs$))}}let g=(()=>{class t{constructor(e,s,d){this.gql=e,this.viewerService=s,this.route=d,this.destroy$=new h.xQ,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.filterCurators=y=>"curator"==y.role,this.filterEditors=y=>"editor"==y.role||"admin"==y.role,this.tabs$=new b.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(y=>{let W=this.gql.watch({geneId:+y.geneId}).valueChanges;this.loading$=W.pipe((0,S.j)("loading"),(0,L.O)(!0)),this.gene$=W.pipe((0,S.j)("data","gene")),this.commentsTotal$=this.gene$.pipe((0,S.j)("comments","totalCount")),this.flagsTotal$=this.gene$.pipe((0,S.j)("flags","totalCount")),this.gene$.pipe((0,S.j)("revisions","totalCount"),(0,N.R)(this.destroy$)).subscribe({next:Q=>{this.tabs$.next(this.defaultTabs.map(H=>"Revisions"===H.tabLabel?Object.assign({badgeCount:Q},H):H))}}),this.subscribable={id:+y.geneId,entityType:m.o71.Gene},this.viewer$=this.viewerService.viewer$})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m.TNk),n.Y36(F.a),n.Y36(C.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["genes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzType","civic:gene"],[4,"ngrxLet"],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Gene",3,"viewer","subscribableId",4,"ngIf"],["typename","Gene",3,"viewer","subscribableId"],["id","contributors-col"],[3,"subscribable"]],template:function(e,s){1&e&&(n.YNc(0,v,18,13,"ng-container",0),n.ALo(1,"async")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,s.gene$))},directives:[i.O5,j.I,u.o,x.$O,x.u9,Y.Y,i.mk,w.w,M.Ls,x.yG,z.eJ,x.Jp,T.NU,T.$1,I.ix,X.dQ,C.Od,C.rH,K.Q,x.u5,q.P,V.t3,k.N,C.lC],pipes:[i.Ov,z.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();var A=a(5291);let E=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,A.t]]}),t})();var gn=a(2011);let hn=(()=>{class t{constructor(e){this.route=e,this.subscribable={id:+this.route.snapshot.params.geneId,entityType:m.o71.Gene}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(C.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(e,s){1&e&&n._UZ(0,"cvc-event-feed",0),2&e&&n.Q6J("subscribable",s.subscribable)},directives:[gn.o],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var $=a(7484),xn=a(6559),Tn=a(4271);let Cn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,V.Jb,$.vh,T.zf,xn.H0,Tn.M]]}),t})();var yn=a(7036);let Zn=(()=>{class t{constructor(e){this.route=e,this.flaggable={entityType:m.sfv.Gene,id:+this.route.snapshot.params.geneId}}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(C.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(e,s){1&e&&n._UZ(0,"cvc-flag-list-and-filter",0),2&e&&n.Q6J("flaggable",s.flaggable)},directives:[yn.L],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var Mn=a(3762),An=a(8481),In=a(1150),Pn=a(6699),Sn=a(1835),Gn=a(2914);let Jn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,z.WG,V.Jb,Mn.Ph,$.vh,T.zf,An.X,Z.ZJ,Pn.Rt,In.N,Sn.i,Gn.A]]}),t})();var Qn=a(8291);let Vn=(()=>{class t{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(s=>{this.geneId=+s.geneId,this.entityType=m.oRL.Gene})}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(C.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(e,s){1&e&&n._UZ(0,"cvc-revisions-list-and-filter",0),2&e&&n.Q6J("id",s.geneId)("entityType",s.entityType)},directives:[Qn.a],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var pn=a(3098),On=a(8541),un=a(897),Nn=a(3630),Un=a(9779),an=a(4546),R=a(4182),mn=a(8054),bn=a(4867),rn=a(1047);let wn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,R.u5,z.WG,I.sL,V.Jb,$.vh,an.U5,rn.o7,mn.LV,Z.ZJ,bn.Q,un.$]]}),t})();var dn=a(868),D=a(1132);let Yn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,$.vh,dn.we,D.HQ,V.Jb,D.HQ,Z.ZJ]]}),t})();var En=a(592),Fn=a(7345);let Ln=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,z.WG,V.Jb,pn.q6,Z.ZJ,T.zf,On.o,un.$,Nn.X,Un.s,En.x,Fn.W,wn,Yn]]}),t})();var sn=a(4850),jn=a(427),vn=a(6715),Dn=a(6906),Bn=a(6550),_n=a(8298);let $n=(()=>{class t{constructor(e){this.logger=e}parse(e){const s={kegg:"http://www.genome.jp/kegg-bin/show_pathway?",reactome:"https://reactome.org/content/detail/",pharmgkb:"https://www.pharmgkb.org/pathway/",humancyc:"http://humancyc.org/HUMAN/NEW-IMAGE?type=PATHWAY&object=",smpdb:"http://www.smpdb.ca/view/",pid:"http://pid.nci.nih.gov/search/pathway_landing.shtml?what=graphic&jpg=on&pathway_id=",wikipathways:"http://wikipathways.org/index.php/Pathway:",netpath:null,biocarta:null,inoh:null,signalink:null,ehmn:null},d=e.pathway||[],y=[];let W;return Object.keys(d).forEach(function(Q){Array.isArray(d[Q])||(d[Q]=[d[Q]]),d[Q].forEach(function(H,zn){W=s[Q]+d[Q][zn].id,null===s[Q]&&(W=null),y.push({name:d[Q][zn].name,link:W,src:Q})})}),e.pathway=y,e.pathwayList=y.map(Q=>Q.name),!Array.isArray(e.alias)&&e.alias&&(e.alias=[e.alias]),!Array.isArray(e.interpro)&&e.interpro&&(e.interpro=[e.interpro]),e.interproList=e.interpro.map(Q=>Q.desc),e}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(_n.Kf))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Rn(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"div",6),n.TgZ(2,"div",7),n.TgZ(3,"div",8),n._uU(4," Entrez Symbol: "),n.qZA(),n.TgZ(5,"div",9),n._uU(6),n.TgZ(7,"strong",10),n._uU(8,"UniProtKB ID:"),n.qZA(),n._uU(9),n.qZA(),n.qZA(),n.TgZ(10,"div",7),n.TgZ(11,"div",8),n._uU(12," Chromosome: "),n.qZA(),n.TgZ(13,"div",9),n._uU(14),n.qZA(),n.TgZ(15,"div",8),n._uU(16," Strand: "),n.qZA(),n.TgZ(17,"div",9),n._uU(18),n.qZA(),n.TgZ(19,"div",8),n._uU(20," Start: "),n.qZA(),n.TgZ(21,"div",9),n._uU(22),n.qZA(),n.TgZ(23,"div",8),n._uU(24," Stop: "),n.qZA(),n.TgZ(25,"div",9),n._uU(26),n.qZA(),n.qZA(),n.TgZ(27,"div",7),n.TgZ(28,"div",8),n._uU(29," Aliases: "),n.qZA(),n.TgZ(30,"div",9),n._uU(31),n.qZA(),n.qZA(),n.TgZ(32,"div",7),n.TgZ(33,"div",8),n._uU(34," Protein Domains: "),n.qZA(),n.TgZ(35,"div",9),n.TgZ(36,"p",11),n._uU(37),n.qZA(),n.qZA(),n.qZA(),n.TgZ(38,"div",7),n.TgZ(39,"div",8),n._uU(40," Pathways: "),n.qZA(),n.TgZ(41,"div",9),n.TgZ(42,"p",11),n._uU(43),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.AsE(" ",e.info.symbol," (ID: ",e.info._id,") "),n.xp6(3),n.hij(" ",e.info.uniprot["Swiss-Prot"]," "),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",1),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.chr," "),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("nzSpan",1),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.strand," "),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("nzSpan",2),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.start," "),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("nzSpan",2),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.end," "),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",e.info.alias.join(", ")," "),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("nzEllipsisRows",5),n.xp6(1),n.Oqu(e.info.interproList.join(", ")),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("nzEllipsisRows",5),n.xp6(1),n.Oqu(e.info.pathwayList.join(", "))}}function Wn(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"div",6),n.TgZ(2,"p",11),n._uU(3),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzEllipsisRows",12),n.xp6(1),n.Oqu(e.info.summary)}}function Xn(t,r){if(1&t&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA(),n.qZA()),2&t){const e=r.$implicit;n.xp6(2),n.hij(" ",e.short_desc," "),n.xp6(2),n.hij(" ",e.desc," "),n.xp6(2),n.hij(" ",e.id," ")}}const fn=function(){return{x:"100%",y:"200px"}};function Hn(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",12,13),n.TgZ(3,"thead"),n.TgZ(4,"tr"),n.TgZ(5,"th"),n._uU(6,"Name"),n.qZA(),n.TgZ(7,"th"),n._uU(8,"Description"),n.qZA(),n.TgZ(9,"th"),n._uU(10,"ID"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(11,"tbody"),n.YNc(12,Xn,7,3,"ng-template",14),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("nzData",e.info.interpro)("nzScroll",n.DdM(4,fn))("nzFrontPagination",!1)("nzShowPagination",!1)}}function Kn(t,r){if(1&t&&(n.TgZ(0,"a",21),n._uU(1),n.qZA()),2&t){const e=n.oxw().$implicit;n.s9C("href",null==e?null:e.link,n.LSH),n.xp6(1),n.hij(" ",e.src," ")}}function qn(t,r){if(1&t&&n._uU(0),2&t){const e=n.oxw().$implicit;n.hij(" ",e.src," ")}}function kn(t,r){if(1&t&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td",18),n.YNc(4,Kn,2,2,"a",19),n.YNc(5,qn,1,1,"ng-template",null,20,n.W1O),n.qZA(),n.qZA()),2&t){const e=r.$implicit,s=n.MAs(6);n.xp6(2),n.hij(" ",e.name," "),n.xp6(2),n.Q6J("ngIf",null==e?null:e.link)("ngIfElse",s)}}function nt(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",12,15),n.TgZ(3,"colgroup"),n._UZ(4,"col",16),n._UZ(5,"col",17),n.qZA(),n.TgZ(6,"thead"),n.TgZ(7,"tr"),n.TgZ(8,"th"),n._uU(9,"Name"),n.qZA(),n.TgZ(10,"th",18),n._uU(11,"Source"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(12,"tbody"),n.YNc(13,kn,7,3,"ng-template",14),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("nzData",e.info.pathway)("nzScroll",n.DdM(4,fn))("nzFrontPagination",!1)("nzShowPagination",!1)}}function tt(t,r){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",1),n.TgZ(2,"nz-card-tab"),n.TgZ(3,"nz-tabset",2),n.NdJ("nzSelectChange",function(d){return n.CHM(e),n.oxw().tabChange(d)}),n._UZ(4,"nz-tab",3),n._UZ(5,"nz-tab",3),n._UZ(6,"nz-tab",3),n._UZ(7,"nz-tab",3),n.qZA(),n.qZA(),n.ynx(8,4),n.YNc(9,Rn,44,33,"ng-container",5),n.YNc(10,Wn,4,2,"ng-container",5),n.YNc(11,Hn,13,5,"ng-container",5),n.YNc(12,nt,14,5,"ng-container",5),n.BQk(),n.qZA(),n.BQk()}if(2&t){const e=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(1),n.Q6J("nzTitle","Overview"),n.xp6(1),n.Q6J("nzTitle","Summary"),n.xp6(1),n.Q6J("nzTitle","Protein Domains ("+e.info.interproList.length+")"),n.xp6(1),n.Q6J("nzTitle","Pathways ("+e.info.pathway.length+")"),n.xp6(1),n.Q6J("ngSwitch",e.tabIndex),n.xp6(1),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1),n.xp6(1),n.Q6J("ngSwitchCase",2),n.xp6(1),n.Q6J("ngSwitchCase",3)}}let et=(()=>{class t{constructor(e,s){this.infoService=e,this.logger=s,this.tabIndex=0}ngOnInit(){this.tabChange({index:0,tab:null})}ngOnChanges(){this.geneInfo&&(this.info=this.infoService.parse(this.geneInfo))}tabChange(e){this.tabIndex=e.index}}return t.\u0275fac=function(e){return new(e||t)(n.Y36($n),n.Y36(_n.Kf))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-my-gene-info"]],inputs:{geneInfo:"geneInfo"},features:[n.TTD],decls:1,vars:1,consts:[[4,"ngIf"],["nzTitle","MyGeneInfo"],["nzSize","small",3,"nzAnimated","nzSelectChange"],[3,"nzTitle"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],["nz-row","",3,"nzGutter"],["nz-col","",1,"key-col",3,"nzSpan"],["nz-col","",3,"nzSpan"],[2,"margin-left","8px"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzSize","small",3,"nzData","nzScroll","nzFrontPagination","nzShowPagination"],["proteinDomainsTable",""],["nz-virtual-scroll",""],["pathwaysTable",""],["width","90%"],["width","10%"],[1,"button-col"],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href",4,"ngIf","ngIfElse"],["noPathwayLink",""],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href"]],template:function(e,s){1&e&&n.YNc(0,tt,13,10,"ng-container",0),2&e&&n.Q6J("ngIf",s.geneInfo)},directives:[i.O5,$.bd,$._i,dn.xH,dn.xw,i.RF,i.n9,V.SK,V.t3,Z.ZU,D.N8,D.Om,D.$Z,D.Uo,D._C,D.p0,D.zu],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]}),t})();var ot=a(13),at=a(8664);function it(t,r){if(1&t&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&t){const e=n.oxw(3).ngIf;n.xp6(1),n.hij("(",e.length," displayed)")}}function rt(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"span",8),n._uU(2),n.qZA(),n.YNc(3,it,2,1,"span",9),n.BQk()),2&t){const e=r.ngIf,s=n.oxw(2).ngIf;n.xp6(2),n.hij("",e," Total"),n.xp6(1),n.Q6J("ngIf",e>s.length)}}function st(t,r){if(1&t&&(n._UZ(0,"i",7),n._uU(1),n.YNc(2,rt,4,2,"ng-container",0),n.ALo(3,"ngrxPush")),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.geneName," Variants "),n.xp6(1),n.Q6J("ngIf",n.lcZ(3,2,e.totalVariants$))}}function ct(t,r){if(1&t){const e=n.EpF();n.TgZ(0,"i",24),n.NdJ("click",function(){n.CHM(e);const d=n.oxw(4);return d.variantNameFilter=void 0,d.onModelUpdated()}),n.qZA()}}function lt(t,r){if(1&t&&n.YNc(0,ct,1,0,"i",23),2&t){const e=n.oxw(3);n.Q6J("ngIf",e.variantNameFilter)}}function gt(t,r){if(1&t){const e=n.EpF();n.TgZ(0,"form",10),n.TgZ(1,"nz-form-item"),n.TgZ(2,"nz-form-label"),n._uU(3,"Filter"),n.qZA(),n.TgZ(4,"nz-form-control"),n.TgZ(5,"nz-input-group",11),n.TgZ(6,"input",12),n.NdJ("ngModelChange",function(){return n.CHM(e),n.oxw(2).onModelUpdated()})("ngModelChange",function(d){return n.CHM(e),n.oxw(2).variantNameFilter=d}),n.qZA(),n.YNc(7,lt,1,1,"ng-template",null,13,n.W1O),n.qZA(),n.qZA(),n.qZA(),n.TgZ(9,"nz-form-item"),n.TgZ(10,"nz-form-label"),n._uU(11,"Order By"),n.qZA(),n.TgZ(12,"nz-form-control"),n.TgZ(13,"nz-select",14),n.NdJ("ngModelChange",function(d){return n.CHM(e),n.oxw(2).onVariantSortOrderChanged(d)})("ngModelChange",function(d){return n.CHM(e),n.oxw(2).sortBy=d}),n._UZ(14,"nz-option",15),n._UZ(15,"nz-option",16),n._UZ(16,"nz-option",17),n.qZA(),n.qZA(),n.qZA(),n.TgZ(17,"nz-form-item"),n.TgZ(18,"nz-form-label"),n._uU(19,"Show"),n.qZA(),n.TgZ(20,"nz-form-control"),n.TgZ(21,"nz-select",18),n.NdJ("ngModelChange",function(d){return n.CHM(e),n.oxw(2).onVariantStatusFilterChanged(d)})("ngModelChange",function(d){return n.CHM(e),n.oxw(2).statusFilter=d}),n._UZ(22,"nz-option",19),n._UZ(23,"nz-option",20),n._UZ(24,"nz-option",21),n._UZ(25,"nz-option",22),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&t){const e=n.MAs(8),s=n.oxw(2);n.xp6(5),n.Q6J("nzSuffix",e)("nzCompact",!0),n.xp6(1),n.Q6J("ngModel",s.variantNameFilter),n.xp6(7),n.Q6J("ngModel",s.sortBy),n.xp6(8),n.Q6J("ngModel",s.statusFilter)}}function pt(t,r){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-variant-tag",25),n.BQk()),2&t){const e=r.$implicit;n.xp6(1),n.Q6J("variant",e)}}function mt(t,r){if(1&t){const e=n.EpF();n.TgZ(0,"nz-row",27),n.TgZ(1,"button",28),n.NdJ("click",function(){n.CHM(e);const d=n.oxw().ngIf;return n.oxw(2).fetchMore(d.endCursor)}),n._uU(2,"Load More "),n.qZA(),n.qZA()}}function dt(t,r){if(1&t&&(n.ynx(0),n.YNc(1,mt,3,0,"nz-row",26),n.BQk()),2&t){const e=r.ngIf;n.xp6(1),n.Q6J("ngIf",e.hasNextPage)}}function ut(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",1),n.YNc(2,st,4,4,"ng-template",null,2,n.W1O),n.YNc(4,gt,26,5,"ng-template",null,3,n.W1O),n.TgZ(6,"nz-row"),n.TgZ(7,"nz-col",4),n.TgZ(8,"cvc-tag-list",5),n.YNc(9,pt,2,1,"ng-container",6),n.qZA(),n.qZA(),n.qZA(),n.YNc(10,dt,2,1,"ng-container",0),n.ALo(11,"ngrxPush"),n.qZA(),n.BQk()),2&t){const e=r.ngIf,s=n.MAs(3),d=n.MAs(5),y=n.oxw();n.xp6(1),n.Q6J("nzTitle",s)("nzExtra",d),n.xp6(8),n.Q6J("ngForOf",e),n.xp6(1),n.Q6J("ngIf",n.lcZ(11,4,y.pageInfo$))}}let vt=(()=>{class t{constructor(e){this.gql=e,this.statusFilter=m.qP7.WithAcceptedOrSubmitted,this.sortBy=m.d4o.Name,this.debouncedQuery=new h.xQ,this.pageSize=50}ngOnInit(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.initialQueryVars={geneId:this.geneId,evidenceStatusFilter:this.statusFilter,first:this.pageSize},this.queryRef$=this.gql.watch(this.initialQueryVars),this.results$=this.queryRef$.valueChanges,this.pageInfo$=this.results$.pipe((0,sn.U)(({data:e})=>e.variants.pageInfo)),this.menuVariants$=this.results$.pipe((0,sn.U)(({data:e})=>e.variants.edges.map(s=>s.node))),this.totalVariants$=this.results$.pipe((0,sn.U)(({data:e})=>e.variants.totalCount)),this.debouncedQuery.pipe((0,ot.b)(500)).subscribe(e=>this.refresh())}onModelUpdated(){this.debouncedQuery.next()}onVariantStatusFilterChanged(e){this.refresh()}onVariantSortOrderChanged(e){this.queryRef$.refetch({sortBy:{column:e,direction:e==m.d4o.CoordinateEnd?m.SrV.Desc:m.SrV.Asc}})}refresh(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.queryRef$.refetch({geneId:this.geneId,variantName:this.variantNameFilter,evidenceStatusFilter:this.statusFilter,sortBy:{column:this.sortBy,direction:m.SrV.Asc}})}fetchMore(e){this.queryRef$.fetchMore({variables:{first:this.pageSize,after:e}})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m.zwS))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variant-menu"]],inputs:{geneId:"geneId",geneName:"geneName"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],["size","sm"],[4,"ngFor","ngForOf"],["nz-icon","","nzType","civic:gene"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-form","","nzLayout","inline","id","variant-filters"],["id","name-filter-group","nzSize","small",3,"nzSuffix","nzCompact"],["type","text","nz-input","","placeholder","Variant Names","name","name-filter",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["nzSize","small","id","variant-sort-order","name","sortBy",3,"ngModel","ngModelChange"],["nzValue","NAME","nzLabel","Variant Name","selected",""],["nzValue","COORDINATE_START","nzLabel","Start Position"],["nzValue","COORDINATE_END","nzLabel","End Position"],["nzSize","small","id","status-filter","name","statusFilter",3,"ngModel","ngModelChange"],["nzValue","WITH_ACCEPTED","nzLabel","Variants with accepted evidence"],["nzValue","WITH_ACCEPTED_OR_SUBMITTED","nzLabel","Variants with accepted and/or submitted evidence","selected",""],["nzValue","WITH_SUBMITTED","nzLabel","Variants with submitted evidence"],["nzValue","ALL","nzLabel","All Variants"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],[3,"variant"],["id","load-more-btn",4,"ngIf"],["id","load-more-btn"],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"]],template:function(e,s){1&e&&(n.YNc(0,ut,12,6,"ng-container",0),n.ALo(1,"ngrxPush")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,s.menuVariants$))},directives:[i.O5,$.bd,w.w,Z.ZU,R._Y,R.JL,R.F,an.Lr,V.SK,an.Nx,V.t3,an.iK,an.Fd,rn.gB,rn.ke,rn.Zp,R.Fj,R.JJ,R.On,mn.Vq,mn.Ip,vn.$,i.sg,at.I,I.ix,X.dQ],pipes:[z.fM],styles:["[_nghost-%COMP%]{display:block}#variant-filters[_ngcontent-%COMP%] #name-filter-group[_ngcontent-%COMP%]{width:175px}#variant-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#load-more-btn[_ngcontent-%COMP%]{margin-top:12px}"]}),t})();function _t(t,r){if(1&t&&(n.TgZ(0,"p",16),n._uU(1),n.qZA()),2&t){const e=n.oxw(3).ngIf;n.Q6J("nzEllipsisRows",8),n.xp6(1),n.Oqu(e.description)}}function ft(t,r){1&t&&n._UZ(0,"cvc-empty-revisable",17)}function zt(t,r){1&t&&n._UZ(0,"cvc-source-tag",19),2&t&&n.Q6J("source",r.$implicit)}function ht(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,zt,1,1,"cvc-source-tag",18),n.qZA(),n.BQk()),2&t){const e=n.oxw(3).ngIf;n.xp6(2),n.Q6J("ngForOf",e.sources)}}function xt(t,r){1&t&&(n.TgZ(0,"span",20),n._uU(1,"None specified"),n.qZA())}function Tt(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions",9),n.TgZ(1,"nz-descriptions-item",10),n.YNc(2,_t,2,2,"p",11),n.YNc(3,ft,1,0,"ng-template",null,12,n.W1O),n.qZA(),n.TgZ(5,"nz-descriptions-item",13),n.YNc(6,ht,3,1,"ng-container",14),n.YNc(7,xt,2,0,"ng-template",null,15,n.W1O),n.qZA(),n.qZA()),2&t){const e=n.MAs(4),s=n.MAs(8),d=n.oxw(2).ngIf;n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",d.description)("ngIfElse",e),n.xp6(4),n.Q6J("ngIf",d.sources.length>0)("ngIfElse",s)}}function Ct(t,r){1&t&&(n.TgZ(0,"span"),n._uU(1,","),n.qZA())}function yt(t,r){if(1&t&&(n.ynx(0),n._uU(1),n.YNc(2,Ct,2,0,"span",26),n.BQk()),2&t){const e=r.$implicit,s=r.last;n.xp6(1),n.hij(" ",e,""),n.xp6(1),n.Q6J("ngIf",!s)}}function Zt(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions-item",24),n.YNc(1,yt,3,2,"ng-container",25),n.qZA()),2&t){const e=n.oxw(3).ngIf;n.xp6(1),n.Q6J("ngForOf",e.geneAliases)}}function Mt(t,r){1&t&&(n.TgZ(0,"span",20),n._uU(1,"None specified"),n.qZA())}function At(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions",21),n.YNc(1,Zt,2,1,"nz-descriptions-item",22),n.YNc(2,Mt,2,0,"ng-template",null,23,n.W1O),n.qZA()),2&t){const e=n.MAs(3),s=n.oxw(2).ngIf;n.Q6J("nzColumn",1),n.xp6(1),n.Q6J("ngIf",s.geneAliases.length>0)("ngIfElse",e)}}function It(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions",21),n.TgZ(1,"nz-descriptions-item",27),n.TgZ(2,"cvc-tag-list"),n.TgZ(3,"cvc-link-tag",28),n._uU(4," DGIdb "),n.qZA(),n.TgZ(5,"cvc-link-tag",28),n._uU(6," ProteinPaint "),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.Q6J("nzColumn",1),n.xp6(3),n.Q6J("href","http://dgidb.org/genes/"+e.name)("tooltip","View "+e.name+" on DGIdb"),n.xp6(2),n.Q6J("href","https://pecan.stjude.cloud/proteinpaint/"+e.name+"/hg19/civic")("tooltip","View "+e.name+" on ProteinPaint")}}function Pt(t,r){if(1&t&&(n.TgZ(0,"nz-row",3),n.TgZ(1,"nz-col",4),n.TgZ(2,"nz-space",5),n.YNc(3,Tt,9,5,"nz-descriptions",6),n.YNc(4,At,4,3,"nz-descriptions",7),n.YNc(5,It,7,5,"nz-descriptions",7),n.qZA(),n.qZA(),n.TgZ(6,"nz-col",4),n._UZ(7,"cvc-my-gene-info",8),n.ALo(8,"ngrxPush"),n.qZA(),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("nzGutter",16),n.xp6(7),n.Q6J("geneInfo",n.lcZ(8,2,e.myGeneInfo$))}}function St(t,r){if(1&t&&(n.TgZ(0,"nz-row",3),n.TgZ(1,"nz-col",29),n._UZ(2,"cvc-variant-menu",30),n.qZA(),n.qZA()),2&t){const e=n.oxw().ngIf;n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("geneId",e.id)("geneName",e.name)}}function Gt(t,r){1&t&&(n.TgZ(0,"nz-space",1),n.YNc(1,Pt,9,4,"nz-row",2),n.YNc(2,St,3,4,"nz-row",2),n.qZA())}const Jt=[{path:"",component:g,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class t{constructor(e,s,d){this.gql=e,this.viewerService=s,this.route=d,this.routeSub=this.route.params.subscribe(y=>{this.viewer$=this.viewerService.viewer$;let Q=this.gql.watch({geneId:+y.geneId}).valueChanges;this.subscribableEntity={id:+y.geneId,entityType:m.o71.Gene},this.gene$=Q.pipe((0,S.j)("data","gene")),this.loading$=Q.pipe((0,S.j)("loading")),this.myGeneInfo$=this.gene$.pipe((0,S.j)("myGeneInfoDetails"),(0,sn.U)(H=>JSON.parse(String(H))))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m.cCu),n.Y36(F.a),n.Y36(C.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-summary"]],decls:2,vars:3,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzSpan","12"],["nzDirection","vertical"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],[3,"geneInfo"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["noSources",""],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],[3,"source",4,"ngFor","ngForOf"],[3,"source"],["nz-typography","","nzType","secondary"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","1",4,"ngIf","ngIfElse"],["noAliases",""],["nzTitle","Aliases","nzSpan","1"],[4,"ngFor","ngForOf"],[4,"ngIf"],["nzTitle","Resources"],[3,"href","tooltip"],[3,"nzSpan"],[3,"geneId","geneName"]],template:function(e,s){1&e&&(n.YNc(0,Gt,3,0,"nz-space",0),n.ALo(1,"ngrxPush")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,s.gene$))},directives:[i.O5,T.NU,T.$1,V.SK,V.t3,pn.R7,pn.uj,Z.ZU,jn.J,vn.$,i.sg,Dn.T,Bn.l,et,vt],pipes:[z.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]}),t})(),data:{breadcrumb:"Summary"}},{path:"comments",component:P,data:{breadcrumb:"Comments"}},{path:"revisions",component:Vn,data:{breadcrumb:"Revisions"}},{path:"flags",component:Zn,data:{breadcrumb:"Summary"}},{path:"events",component:hn,data:{breadcrumb:"Events"}}]}];let Qt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[C.Bz.forChild(Jt),Ln,O,Jn,Cn,E],C.Bz]}),t})();var Vt=a(4682),Ot=a(8762),Nt=a(5750),Ut=a(4609);let bt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,Qt,z.WG,I.sL,M.PV,x.KJ,T.zf,Z.ZJ,V.Jb,Ot.c,Vt.m,Nt.Z,o.D,Ut.g,A.t]]}),t})()}}]);
\ No newline at end of file
diff --git a/server/public/7259.563c8b9535549ea4.js b/server/public/7259.563c8b9535549ea4.js
new file mode 100644
index 000000000..e13cce131
--- /dev/null
+++ b/server/public/7259.563c8b9535549ea4.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7259],{8369:($,J,a)=>{a.d(J,{W:()=>A});var i=a(9808),o=a(325),h=a(8481),M=a(3610),x=a(647),f=a(7484),y=a(3098),I=a(3309),T=a(4867),G=a(6286),n=a(8018),N=a(6949),m=a(9444),u=a(1894),P=a(8144),z=a(3580),b=a(8625),S=a(7026),D=a(592),E=a(404),Y=a(5e3);let j=(()=>{class Z{}return Z.\u0275fac=function(L){return new(L||Z)},Z.\u0275mod=Y.oAB({type:Z}),Z.\u0275inj=Y.cJS({imports:[[i.ez,o.Bz,N.WG,f.vh,y.q6,x.PV,u.Jb,P.zf,h.X,E.cg,I.U,z.Q,T.Q,G.y,n.e,m.s,D.x,b.$L.forChild({formatter:{useClass:S.x,provide:b.KP}})]]}),Z})(),A=(()=>{class Z{}return Z.\u0275fac=function(L){return new(L||Z)},Z.\u0275mod=Y.oAB({type:Z}),Z.\u0275inj=Y.cJS({imports:[[i.ez,o.Bz,h.X,M.$6,x.PV,j,m.s]]}),Z})()},209:($,J,a)=>{a.d(J,{i:()=>j});var i=a(9808),o=a(325),h=a(8481),M=a(3610),x=a(647),f=a(7484),y=a(3309),I=a(4867),T=a(1894),G=a(3098),n=a(8018),N=a(3580),m=a(6286),u=a(6949),P=a(8144),z=a(9444),b=a(9779),S=a(592),D=a(3618),E=a(5e3);let Y=(()=>{class A{}return A.\u0275fac=function(w){return new(w||A)},A.\u0275mod=E.oAB({type:A}),A.\u0275inj=E.cJS({imports:[[i.ez,o.Bz,u.WG,x.PV,f.vh,T.Jb,G.q6,h.X,P.zf,D.ZJ,z.s,n.e,N.Q,y.U,I.Q,m.y,b.s,S.x]]}),A})(),j=(()=>{class A{}return A.\u0275fac=function(w){return new(w||A)},A.\u0275mod=E.oAB({type:A}),A.\u0275inj=E.cJS({imports:[[i.ez,o.Bz,h.X,M.$6,x.PV,Y,z.s]]}),A})()},6286:($,J,a)=>{a.d(J,{y:()=>N});var i=a(9808),o=a(325),h=a(8481),M=a(3610),x=a(647),f=a(6949),y=a(7484),I=a(3630),T=a(3098),G=a(5e3);let n=(()=>{class m{}return m.\u0275fac=function(P){return new(P||m)},m.\u0275mod=G.oAB({type:m}),m.\u0275inj=G.cJS({imports:[[i.ez,f.WG,x.PV,y.vh,I.X,T.q6]]}),m})(),N=(()=>{class m{}return m.\u0275fac=function(P){return new(P||m)},m.\u0275mod=G.oAB({type:m}),m.\u0275inj=G.cJS({imports:[[i.ez,o.Bz,h.X,M.$6,x.PV,n]]}),m})()},592:($,J,a)=>{a.d(J,{x:()=>x});var i=a(9808),o=a(8481),h=a(647),M=a(5e3);let x=(()=>{class f{}return f.\u0275fac=function(I){return new(I||f)},f.\u0275mod=M.oAB({type:f}),f.\u0275inj=M.cJS({imports:[[i.ez,o.X,h.PV]]}),f})()},112:($,J,a)=>{a.d(J,{u:()=>en});var i=a(5e3),o=a(9808),h=a(325),M=a(8481),x=a(3610),f=a(4850),y=a(712),I=a(7484),T=a(3098),G=a(8664),n=a(6906),N=a(6949);function m(l,v){if(1&l&&(i._UZ(0,"i",7),i._uU(1)),2&l){const p=i.oxw().ngIf;i.xp6(1),i.hij(" ",p.name," ")}}function u(l,v){if(1&l&&(i.TgZ(0,"span"),i._UZ(1,"cvc-variant-tag",10),i.qZA()),2&l){const p=v.$implicit;i.xp6(1),i.Q6J("variant",p.node)}}function P(l,v){if(1&l&&(i.TgZ(0,"nz-descriptions-item",8),i.YNc(1,u,2,1,"span",9),i.qZA()),2&l){const p=i.oxw().ngIf;i.xp6(1),i.Q6J("ngForOf",p.variants.edges)}}function z(l,v){if(1&l&&(i.TgZ(0,"span"),i._UZ(1,"cvc-source-tag",12),i.qZA()),2&l){const p=v.$implicit;i.xp6(1),i.Q6J("source",p)}}function b(l,v){if(1&l&&(i.TgZ(0,"nz-descriptions-item",11),i.YNc(1,z,2,1,"span",9),i.qZA()),2&l){const p=i.oxw().ngIf;i.xp6(1),i.Q6J("ngForOf",p.sources)}}function S(l,v){if(1&l&&(i.ynx(0),i.TgZ(1,"nz-card",2),i.YNc(2,m,2,1,"ng-template",null,3,i.W1O),i._uU(4),i.TgZ(5,"nz-descriptions",4),i.YNc(6,P,2,1,"nz-descriptions-item",5),i.YNc(7,b,2,1,"nz-descriptions-item",6),i.qZA(),i.qZA(),i.BQk()),2&l){const p=v.ngIf,U=i.MAs(3);i.xp6(1),i.Q6J("nzTitle",U),i.xp6(3),i.hij(" ",p.description," "),i.xp6(1),i.Q6J("nzColumn",2),i.xp6(1),i.Q6J("ngIf",p.variants.edges.length>0),i.xp6(1),i.Q6J("ngIf",p.sources.length>0)}}let D=(()=>{class l{constructor(p){this.gql=p}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,f.U)(({data:p})=>p.variantGroup))}}return l.\u0275fac=function(p){return new(p||l)(i.Y36(y.Zo2))},l.\u0275cmp=i.Xpm({type:l,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzType","civic:variant-group"],["nzTitle","Variants","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"variant"],["nzTitle","Sources","nzSpan","2"],[3,"source"]],template:function(p,U){1&p&&(i.TgZ(0,"div",0),i.YNc(1,S,8,5,"ng-container",1),i.ALo(2,"ngrxPush"),i.qZA()),2&p&&(i.xp6(1),i.Q6J("ngIf",i.lcZ(2,1,U.variantGroup$)))},directives:[o.O5,I.bd,T.R7,T.uj,o.sg,G.I,n.T],pipes:[N.fM],styles:["[_nghost-%COMP%]{display:block}"]}),l})();var E=a(647);function Y(l,v){}function j(l,v){if(1&l&&(i.ynx(0),i.TgZ(1,"a",5),i.YNc(2,Y,0,0,"ng-template",6),i.qZA(),i.BQk()),2&l){const p=i.oxw(),U=i.MAs(2);i.xp6(1),i.Q6J("routerLink",p.variantgroup.link),i.xp6(1),i.Q6J("ngTemplateOutlet",U)}}function A(l,v){}function Z(l,v){if(1&l&&(i.TgZ(0,"nz-tag",9),i.YNc(1,A,0,0,"ng-template",6),i.qZA()),2&l){i.oxw();const p=i.MAs(2);i.oxw();const U=i.MAs(8);i.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",p),i.xp6(1),i.Q6J("ngTemplateOutlet",U)}}function w(l,v){if(1&l&&i._UZ(0,"cvc-variant-group-popover",11),2&l){const p=i.oxw(3);i.Q6J("variantGroupId",p.variantgroup.id)}}function L(l,v){if(1&l&&i.YNc(0,w,1,1,"cvc-variant-group-popover",10),2&l){const p=i.oxw(2);i.Q6J("ngIf",p.enablePopover)}}function K(l,v){if(1&l&&(i.YNc(0,Z,2,3,"nz-tag",7),i.YNc(1,L,1,1,"ng-template",null,8,i.W1O)),2&l){const p=i.oxw(),U=i.MAs(4);i.Q6J("ngIf",p.enablePopover)("ngIfElse",U)}}function q(l,v){}function O(l,v){if(1&l&&(i.TgZ(0,"nz-tag"),i.YNc(1,q,0,0,"ng-template",6),i.qZA()),2&l){i.oxw();const p=i.MAs(8);i.xp6(1),i.Q6J("ngTemplateOutlet",p)}}function k(l,v){}function nn(l,v){if(1&l&&i.YNc(0,k,0,0,"ng-template",6),2&l){i.oxw();const p=i.MAs(2);i.Q6J("ngTemplateOutlet",p)}}function tn(l,v){if(1&l&&(i._UZ(0,"i",12),i._uU(1)),2&l){const p=i.oxw();i.xp6(1),i.hij(" ",p.variantgroup.name,"\n")}}let en=(()=>{class l{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.variantgroup)throw new Error("Must pass a LinkableVariantgroup into the variantgroup tag component")}}return l.\u0275fac=function(p){return new(p||l)},l.\u0275cmp=i.Xpm({type:l,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(p,U){if(1&p&&(i.YNc(0,j,3,2,"ng-container",0),i.YNc(1,K,3,2,"ng-template",null,1,i.W1O),i.YNc(3,O,2,1,"ng-template",null,2,i.W1O),i.YNc(5,nn,1,1,"ng-template",null,3,i.W1O),i.YNc(7,tn,2,1,"ng-template",null,4,i.W1O)),2&p){const on=i.MAs(6);i.Q6J("ngIf",U.linked)("ngIfElse",on)}},directives:[o.O5,h.yS,o.tP,M.j,x.lU,D,E.Ls],styles:[""]}),l})()},7677:($,J,a)=>{a.d(J,{G:()=>m});var i=a(9808),o=a(325),h=a(3610),M=a(8481),x=a(647),f=a(9779),y=a(4867),I=a(7484),T=a(3098),G=a(6949),n=a(5e3);let N=(()=>{class u{}return u.\u0275fac=function(z){return new(z||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({imports:[[i.ez,G.WG,I.vh,T.q6,f.s,y.Q]]}),u})(),m=(()=>{class u{}return u.\u0275fac=function(z){return new(z||u)},u.\u0275mod=n.oAB({type:u}),u.\u0275inj=n.cJS({imports:[[i.ez,o.Bz,h.$6,M.X,x.PV,N]]}),u})()},8664:($,J,a)=>{a.d(J,{I:()=>cn});var i=a(6654),o=a(5e3),h=a(9808),M=a(325),x=a(8481),f=a(3610),y=a(4850),I=a(712),T=a(7484),G=a(647),n=a(3193),N=a(3098),m=a(6550),u=a(1894),P=a(8144),z=a(6949);function b(c,_){if(1&c&&(o._UZ(0,"i",13),o._uU(1)),2&c){const g=o.oxw().ngIf;o.xp6(1),o.hij(" ",g.name," ")}}function S(c,_){if(1&c&&o._UZ(0,"cvc-gene-tag",14),2&c){const g=o.oxw().ngIf;o.Q6J("enablePopover",!1)("gene",g.gene)}}function D(c,_){if(1&c&&(o.TgZ(0,"nz-tag"),o._uU(1),o.qZA()),2&c){const g=_.$implicit;o.xp6(1),o.Oqu(g)}}function E(c,_){if(1&c&&(o.TgZ(0,"nz-descriptions-item",15),o.YNc(1,D,2,1,"nz-tag",16),o.qZA()),2&c){const g=o.oxw().ngIf;o.xp6(1),o.Q6J("ngForOf",g.variantAliases)}}function Y(c,_){if(1&c&&(o.TgZ(0,"nz-descriptions-item",17),o.TgZ(1,"cvc-link-tag",18),o._uU(2),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.xp6(1),o.MGl("href","https://reg.genome.network/allele/",g.alleleRegistryId,".html"),o.xp6(1),o.hij(" ",g.alleleRegistryId," ")}}function j(c,_){if(1&c&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",20),o._UZ(2,"i",21),o._uU(3),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.MGl("routerLink","/variants/",g.id,"/flags"),o.xp6(3),o.hij(" Flags (",g.flags.totalCount,") ")}}function A(c,_){if(1&c&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",22),o._UZ(2,"i",23),o._uU(3),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.MGl("routerLink","/variants/",g.id,"/revisions"),o.xp6(3),o.hij(" Revisions (",g.revisions.totalCount,") ")}}function Z(c,_){if(1&c&&(o.TgZ(0,"a",19),o.TgZ(1,"nz-tag",24),o._UZ(2,"i",25),o._uU(3),o.qZA(),o.qZA()),2&c){const g=o.oxw().ngIf;o.MGl("routerLink","/variants/",g.id,"/comments"),o.xp6(3),o.hij(" Comments (",g.comments.totalCount,") ")}}function w(c,_){if(1&c&&(o.ynx(0),o.TgZ(1,"nz-card",2),o.YNc(2,b,2,1,"ng-template",null,3,o.W1O),o.YNc(4,S,1,2,"ng-template",null,4,o.W1O),o.TgZ(6,"nz-descriptions",5),o.YNc(7,E,2,1,"nz-descriptions-item",6),o.YNc(8,Y,3,2,"nz-descriptions-item",7),o.TgZ(9,"nz-descriptions-item",8),o._uU(10),o.qZA(),o.qZA(),o.TgZ(11,"nz-row",9),o.TgZ(12,"nz-col",10),o.TgZ(13,"nz-space",11),o.YNc(14,j,4,2,"a",12),o.YNc(15,A,4,2,"a",12),o.YNc(16,Z,4,2,"a",12),o.qZA(),o.qZA(),o.qZA(),o.qZA(),o.BQk()),2&c){const g=_.ngIf,Q=o.MAs(3),F=o.MAs(5);o.xp6(1),o.Q6J("nzTitle",Q)("nzExtra",F),o.xp6(5),o.Q6J("nzColumn",2),o.xp6(1),o.Q6J("ngIf",g.variantAliases.length>0),o.xp6(1),o.Q6J("ngIf",g.alleleRegistryId),o.xp6(2),o.hij(" ",g.evidenceItems.totalCount," ")}}let L=(()=>{class c{constructor(g){this.gql=g}ngOnInit(){if(void 0===this.variantId)throw new Error("Must pass a variant ID into the variant popover component.");this.variant$=this.gql.watch({variantId:this.variantId}).valueChanges.pipe((0,y.U)(({data:g})=>g.variant))}}return c.\u0275fac=function(g){return new(g||c)(o.Y36(I.ZYZ))},c.\u0275cmp=o.Xpm({type:c,selectors:[["cvc-variant-popover"]],inputs:{variantId:"variantId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["gene",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","2",4,"ngIf"],["nzTitle","Allele Registry ID","nzSpan","2",4,"ngIf"],["nzTitle","Evidence Items","nzSpan","2"],["id","entity-child-counts"],["nzSpan","24"],["nzSize","small"],[3,"routerLink",4,"nzSpaceItem"],["nz-icon","","nzType","civic:variant"],[3,"enablePopover","gene"],["nzTitle","Aliases","nzSpan","2"],[4,"ngFor","ngForOf"],["nzTitle","Allele Registry ID","nzSpan","2"],["tooltip","View on the ClinGen Allele Registry",3,"href"],[3,"routerLink"],["nzColor","red"],["nz-icon","","nzType","civic-flag"],["nzColor","orange"],["nz-icon","","nzType","civic-revision"],["nzColor","blue"],["nz-icon","","nzType","civic-comment"]],template:function(g,Q){1&g&&(o.TgZ(0,"div",0),o.YNc(1,w,17,6,"ng-container",1),o.ALo(2,"ngrxPush"),o.qZA()),2&g&&(o.xp6(1),o.Q6J("ngIf",o.lcZ(2,1,Q.variant$)))},directives:[h.O5,T.bd,G.Ls,n.H,N.R7,N.uj,h.sg,x.j,m.l,u.SK,u.t3,P.NU,P.$1,M.yS],pipes:[z.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),c})();function K(c,_){}function q(c,_){if(1&c&&(o.ynx(0),o.TgZ(1,"a",5),o.YNc(2,K,0,0,"ng-template",6),o.qZA(),o.BQk()),2&c){const g=o.oxw(),Q=o.MAs(2);o.xp6(1),o.Q6J("routerLink",g.variant.link),o.xp6(1),o.Q6J("ngTemplateOutlet",Q)}}function O(c,_){}function k(c,_){if(1&c){const g=o.EpF();o.TgZ(0,"nz-tag",9),o.NdJ("nzOnClose",function(F){return o.CHM(g),o.oxw(2).itemClosed(F)}),o.YNc(1,O,0,0,"ng-template",6),o.qZA()}if(2&c){o.oxw();const g=o.MAs(2),Q=o.oxw(),F=o.MAs(8);o.Q6J("nzPopoverMouseEnterDelay",Q.onCloseClicked?0:.5)("nzPopoverContent",g)("nzMode",Q.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",F)}}function nn(c,_){if(1&c&&o._UZ(0,"cvc-variant-popover",11),2&c){const g=o.oxw(3);o.Q6J("variantId",g.variant.id)}}function tn(c,_){if(1&c&&o.YNc(0,nn,1,1,"cvc-variant-popover",10),2&c){const g=o.oxw(2);o.Q6J("ngIf",g.enablePopover)}}function en(c,_){if(1&c&&(o.YNc(0,k,2,4,"nz-tag",7),o.YNc(1,tn,1,1,"ng-template",null,8,o.W1O)),2&c){const g=o.oxw(),Q=o.MAs(4);o.Q6J("ngIf",g.enablePopover)("ngIfElse",Q)}}function l(c,_){}function v(c,_){if(1&c){const g=o.EpF();o.TgZ(0,"nz-tag",12),o.NdJ("nzOnClose",function(F){return o.CHM(g),o.oxw().itemClosed(F)}),o.YNc(1,l,0,0,"ng-template",6),o.qZA()}if(2&c){const g=o.oxw(),Q=o.MAs(8);o.Q6J("nzMode",g.onCloseClicked?"closeable":"default"),o.xp6(1),o.Q6J("ngTemplateOutlet",Q)}}function p(c,_){}function U(c,_){if(1&c&&o.YNc(0,p,0,0,"ng-template",6),2&c){o.oxw();const g=o.MAs(2);o.Q6J("ngTemplateOutlet",g)}}function on(c,_){if(1&c&&(o._UZ(0,"i",13),o._uU(1)),2&c){const g=o.oxw();o.xp6(1),o.hij(" ",g.variant.name,"\n")}}let cn=(()=>{class c extends i.a{constructor(){super(),this.enablePopover=!0}idFunction(){return this.variant.id}ngOnInit(){if(super.ngOnInit(),void 0===this.variant)throw new Error("cvc-variant-tag requires LinkableVariant input, none supplied.")}}return c.\u0275fac=function(g){return new(g||c)},c.\u0275cmp=o.Xpm({type:c,selectors:[["cvc-variant-tag"]],inputs:{variant:"variant",enablePopover:"enablePopover"},features:[o.qOj],decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent","nzMode","nzOnClose"],[3,"variantId",4,"ngIf"],[3,"variantId"],[3,"nzMode","nzOnClose"],["nz-icon","","nzType","civic-variant","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(g,Q){if(1&g&&(o.YNc(0,q,3,2,"ng-container",0),o.YNc(1,en,3,2,"ng-template",null,1,o.W1O),o.YNc(3,v,2,2,"ng-template",null,2,o.W1O),o.YNc(5,U,1,1,"ng-template",null,3,o.W1O),o.YNc(7,on,2,1,"ng-template",null,4,o.W1O)),2&g){const F=o.MAs(6);o.Q6J("ngIf",Q.linked)("ngIfElse",F)}},directives:[h.O5,M.yS,h.tP,x.j,f.lU,L,G.Ls],styles:[""]}),c})()},4867:($,J,a)=>{a.d(J,{Q:()=>P});var i=a(9808),o=a(325),h=a(8481),M=a(647),x=a(3610),f=a(6949),y=a(7484),I=a(1894),T=a(3098),G=a(8144),n=a(3309),N=a(3630),m=a(5e3);let u=(()=>{class z{}return z.\u0275fac=function(S){return new(S||z)},z.\u0275mod=m.oAB({type:z}),z.\u0275inj=m.cJS({imports:[[i.ez,o.Bz,f.WG,y.vh,I.Jb,T.q6,h.X,M.PV,G.zf,n.U,N.X]]}),z})(),P=(()=>{class z{}return z.\u0275fac=function(S){return new(S||z)},z.\u0275mod=m.oAB({type:z}),z.\u0275inj=m.cJS({imports:[[i.ez,o.Bz,h.X,x.$6,M.PV,u]]}),z})()},8252:($,J,a)=>{a.r(J),a.d(J,{GenesDetailModule:()=>Ut});var i=a(9808),o=a(5630),h=a(1945),M=a(647),x=a(8144),f=a(6949),y=a(3618),I=a(6042),T=a(325),G=a(2278),n=a(5e3);let N=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,G.l]]}),t})();var m=a(712),u=a(3801);let P=(()=>{class t{constructor(e){this.route=e,this.commentable={id:+this.route.snapshot.params.geneId,entityType:m.OfU.Gene}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(e,s){1&e&&n._UZ(0,"cvc-comment-list",0),2&e&&n.Q6J("commentable",s.commentable)},directives:[u.D],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var z=a(8929),b=a(591),S=a(373),D=a(1059),E=a(7625),Y=a(9350),j=a(8992),A=a(5623),Z=a(8168),w=a(2683),L=a(2643),K=a(9077),q=a(2233),O=a(1894),k=a(759);const nn=function(t){return["/genes",t,"revise"]};function tn(t,r){if(1&t&&(n.TgZ(0,"button",14,15),n._uU(2," Revise "),n.qZA()),2&t){const e=n.MAs(1),s=n.oxw(4).ngIf;n.Q6J("routerLink",n.VKq(2,nn,s.id))("nzType",e.isActive?"primary":"default")}}function en(t,r){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,tn,3,4,"button",13),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.signedIn)}}function l(t,r){if(1&t&&(n.TgZ(0,"button",17,15),n._uU(2," Flag "),n.qZA()),2&t){const e=n.MAs(1);n.Q6J("nzType",e.isActive?"primary":"default")}}function v(t,r){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,l,3,1,"button",16),n.qZA()),2&t){const e=n.oxw().ngrxLet;n.xp6(1),n.Q6J("ngIf",e.signedIn)}}function p(t,r){if(1&t&&n._UZ(0,"cvc-entity-subscription-button",19),2&t){const e=n.oxw(2).ngrxLet,s=n.oxw(3);n.Q6J("viewer",e)("subscribableId",s.subscribable.id)}}function U(t,r){if(1&t&&(n.TgZ(0,"span"),n.YNc(1,p,1,2,"cvc-entity-subscription-button",18),n.qZA()),2&t){const e=n.oxw().ngrxLet,s=n.oxw(3);n.xp6(1),n.Q6J("ngIf",e.signedIn&&s.subscribable)}}function on(t,r){1&t&&(n.TgZ(0,"nz-space",11),n.YNc(1,en,2,1,"span",12),n.YNc(2,v,2,1,"span",12),n.YNc(3,U,2,1,"span",12),n.qZA())}function cn(t,r){if(1&t&&(n.TgZ(0,"nz-page-header-extra"),n.YNc(1,on,4,0,"nz-space",10),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("ngrxLet",e.viewer$)}}function c(t,r){if(1&t&&(n.TgZ(0,"nz-col",20),n._UZ(1,"cvc-contributor-avatars",21),n.qZA()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("subscribable",e.subscribable)}}const _=function(t){return{flagged:t}};function g(t,r){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.TgZ(2,"div",2),n.ALo(3,"ngrxPush"),n.TgZ(4,"nz-page-header",3),n.TgZ(5,"nz-page-header-title",4),n._UZ(6,"i",5),n._uU(7),n.qZA(),n.TgZ(8,"nz-page-header-subtitle"),n._uU(9),n.qZA(),n.YNc(10,cn,2,1,"nz-page-header-extra",6),n.TgZ(11,"nz-page-header-content"),n.TgZ(12,"cvc-tab-navigation",7),n.ALo(13,"ngrxPush"),n.YNc(14,c,2,1,"ng-template",null,8,n.W1O),n.qZA(),n.TgZ(16,"div",9),n._UZ(17,"router-outlet"),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&t){const e=r.ngIf,s=n.oxw();n.xp6(1),n.Q6J("displayName",e.name),n.xp6(1),n.Q6J("flags",n.lcZ(3,7,s.flagsTotal$)),n.xp6(3),n.Q6J("ngClass",n.VKq(11,_,e.flags.totalCount>0)),n.xp6(2),n.hij(" ",e.name," "),n.xp6(2),n.hij(" ",e.officialName," "),n.xp6(1),n.Q6J("ngrxLet",s.viewer$),n.xp6(2),n.Q6J("tabs",n.lcZ(13,9,s.tabs$))}}let Q=(()=>{class t{constructor(e,s,d){this.gql=e,this.viewerService=s,this.route=d,this.destroy$=new z.xQ,this.defaultTabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"},{routeName:"revisions",iconName:"civic-revision",tabLabel:"Revisions"},{routeName:"flags",iconName:"civic-flag",tabLabel:"Flags"},{routeName:"events",iconName:"civic-event",tabLabel:"Events"}],this.filterCurators=C=>"curator"==C.role,this.filterEditors=C=>"editor"==C.role||"admin"==C.role,this.tabs$=new b.X(this.defaultTabs),this.routeSub=this.route.params.subscribe(C=>{let X=this.gql.watch({geneId:+C.geneId}).valueChanges;this.loading$=X.pipe((0,S.j)("loading"),(0,D.O)(!0)),this.gene$=X.pipe((0,S.j)("data","gene")),this.commentsTotal$=this.gene$.pipe((0,S.j)("comments","totalCount")),this.flagsTotal$=this.gene$.pipe((0,S.j)("flags","totalCount")),this.gene$.pipe((0,S.j)("revisions","totalCount"),(0,E.R)(this.destroy$)).subscribe({next:V=>{this.tabs$.next(this.defaultTabs.map(H=>"Revisions"===H.tabLabel?Object.assign({badgeCount:V},H):H))}}),this.subscribable={id:+C.geneId,entityType:m.o71.Gene},this.viewer$=this.viewerService.viewer$})}ngOnDestroy(){this.routeSub.unsubscribe(),this.destroy$.next(),this.destroy$.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m.TNk),n.Y36(Y.a),n.Y36(T.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["genes-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],["cvcFlaggable","",3,"flags"],[1,"site-page-header"],["cvcFlaggableOptions","",3,"ngClass"],["nz-icon","","nzType","civic:gene"],[4,"ngrxLet"],[3,"tabs"],["tabBarExtraContent",""],[1,"content"],["nzDirection","horizontal","nzSize","small",4,"ngrxLet"],["nzDirection","horizontal","nzSize","small"],[4,"nzSpaceItem"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType",4,"ngIf"],["routerLinkActive","","nz-button","","nzSize","small",3,"routerLink","nzType"],["rlaComments","routerLinkActive"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType",4,"ngIf"],["routerLink","flags","routerLinkActive","","nz-button","","nzSize","small",3,"nzType"],["typename","Gene",3,"viewer","subscribableId",4,"ngIf"],["typename","Gene",3,"viewer","subscribableId"],["id","contributors-col"],[3,"subscribable"]],template:function(e,s){1&e&&(n.YNc(0,g,18,13,"ng-container",0),n.ALo(1,"async")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,s.gene$))},directives:[i.O5,j.I,A.o,h.$O,h.u9,Z.Y,i.mk,w.w,M.Ls,h.yG,f.eJ,h.Jp,x.NU,x.$1,I.ix,L.dQ,T.Od,T.rH,K.Q,h.u5,q.P,O.t3,k.N,T.lC],pipes:[i.Ov,f.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();var F=a(5291);let ln=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,F.t]]}),t})();var hn=a(2011);let xn=(()=>{class t{constructor(e){this.route=e,this.subscribable={id:+this.route.snapshot.params.geneId,entityType:m.o71.Gene}}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-events"]],decls:1,vars:1,consts:[["tagDisplay","hideSubject",3,"subscribable"]],template:function(e,s){1&e&&n._UZ(0,"cvc-event-feed",0),2&e&&n.Q6J("subscribable",s.subscribable)},directives:[hn.o],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var R=a(7484),Tn=a(6559),Cn=a(4271);let yn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,O.Jb,R.vh,x.zf,Tn.H0,Cn.M]]}),t})();var Zn=a(7036);let Mn=(()=>{class t{constructor(e){this.route=e,this.flaggable={entityType:m.sfv.Gene,id:+this.route.snapshot.params.geneId}}ngOnInit(){}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-flags"]],decls:1,vars:1,consts:[[3,"flaggable"]],template:function(e,s){1&e&&n._UZ(0,"cvc-flag-list-and-filter",0),2&e&&n.Q6J("flaggable",s.flaggable)},directives:[Zn.L],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var An=a(3762),gn=a(8481),In=a(1150),Pn=a(6699),Sn=a(6059),Gn=a(2914);let Jn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,f.WG,O.Jb,An.Ph,R.vh,x.zf,gn.X,y.ZJ,Pn.Rt,In.N,Sn.i,Gn.A]]}),t})();var Qn=a(1365);let Vn=(()=>{class t{constructor(e){this.route=e,this.routeSub=this.route.params.subscribe(s=>{this.geneId=+s.geneId,this.entityType=m.oRL.Gene})}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(T.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-revisions"]],decls:1,vars:2,consts:[[3,"id","entityType"]],template:function(e,s){1&e&&n._UZ(0,"cvc-revisions-list-and-filter",0),2&e&&n.Q6J("id",s.geneId)("entityType",s.entityType)},directives:[Qn.a],styles:["[_nghost-%COMP%]{display:block}"]}),t})();var pn=a(3098),On=a(8541),un=a(897),Nn=a(3630),Un=a(9779),an=a(4546),W=a(4182),mn=a(8054),bn=a(4867),rn=a(1047);let wn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,W.u5,f.WG,I.sL,O.Jb,R.vh,an.U5,rn.o7,mn.LV,y.ZJ,bn.Q,un.$]]}),t})();var dn=a(868),B=a(1132);let Yn=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,R.vh,dn.we,B.HQ,O.Jb,B.HQ,y.ZJ]]}),t})();var En=a(592),Fn=a(7345);let Ln=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,f.WG,O.Jb,pn.q6,y.ZJ,x.zf,gn.X,On.o,un.$,Nn.X,Un.s,En.x,Fn.W,wn,Yn]]}),t})();var sn=a(4850),Dn=a(427),vn=a(6715),jn=a(6906),Bn=a(6550),_n=a(8298);let $n=(()=>{class t{constructor(e){this.logger=e}parse(e){const s={kegg:"http://www.genome.jp/kegg-bin/show_pathway?",reactome:"https://reactome.org/content/detail/",pharmgkb:"https://www.pharmgkb.org/pathway/",humancyc:"http://humancyc.org/HUMAN/NEW-IMAGE?type=PATHWAY&object=",smpdb:"http://www.smpdb.ca/view/",pid:"http://pid.nci.nih.gov/search/pathway_landing.shtml?what=graphic&jpg=on&pathway_id=",wikipathways:"http://wikipathways.org/index.php/Pathway:",netpath:null,biocarta:null,inoh:null,signalink:null,ehmn:null},d=e.pathway||[],C=[];let X;return Object.keys(d).forEach(function(V){Array.isArray(d[V])||(d[V]=[d[V]]),d[V].forEach(function(H,zn){X=s[V]+d[V][zn].id,null===s[V]&&(X=null),C.push({name:d[V][zn].name,link:X,src:V})})}),e.pathway=C,e.pathwayList=C.map(V=>V.name),!Array.isArray(e.alias)&&e.alias&&(e.alias=[e.alias]),!Array.isArray(e.interpro)&&e.interpro&&(e.interpro=[e.interpro]),e.interproList=e.interpro.map(V=>V.desc),e}}return t.\u0275fac=function(e){return new(e||t)(n.LFG(_n.Kf))},t.\u0275prov=n.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();function Rn(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"div",6),n.TgZ(2,"div",7),n.TgZ(3,"div",8),n._uU(4," Entrez Symbol: "),n.qZA(),n.TgZ(5,"div",9),n._uU(6),n.TgZ(7,"strong",10),n._uU(8,"UniProtKB ID:"),n.qZA(),n._uU(9),n.qZA(),n.qZA(),n.TgZ(10,"div",7),n.TgZ(11,"div",8),n._uU(12," Chromosome: "),n.qZA(),n.TgZ(13,"div",9),n._uU(14),n.qZA(),n.TgZ(15,"div",8),n._uU(16," Strand: "),n.qZA(),n.TgZ(17,"div",9),n._uU(18),n.qZA(),n.TgZ(19,"div",8),n._uU(20," Start: "),n.qZA(),n.TgZ(21,"div",9),n._uU(22),n.qZA(),n.TgZ(23,"div",8),n._uU(24," Stop: "),n.qZA(),n.TgZ(25,"div",9),n._uU(26),n.qZA(),n.qZA(),n.TgZ(27,"div",7),n.TgZ(28,"div",8),n._uU(29," Aliases: "),n.qZA(),n.TgZ(30,"div",9),n._uU(31),n.qZA(),n.qZA(),n.TgZ(32,"div",7),n.TgZ(33,"div",8),n._uU(34," Protein Domains: "),n.qZA(),n.TgZ(35,"div",9),n.TgZ(36,"p",11),n._uU(37),n.qZA(),n.qZA(),n.qZA(),n.TgZ(38,"div",7),n.TgZ(39,"div",8),n._uU(40," Pathways: "),n.qZA(),n.TgZ(41,"div",9),n.TgZ(42,"p",11),n._uU(43),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.AsE(" ",e.info.symbol," (ID: ",e.info._id,") "),n.xp6(3),n.hij(" ",e.info.uniprot["Swiss-Prot"]," "),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",1),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.chr," "),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("nzSpan",1),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.strand," "),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("nzSpan",2),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.start," "),n.xp6(1),n.Q6J("nzSpan",2),n.xp6(2),n.Q6J("nzSpan",2),n.xp6(1),n.hij(" ",e.info.genomic_pos_hg19.end," "),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.hij(" ",e.info.alias.join(", ")," "),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("nzEllipsisRows",5),n.xp6(1),n.Oqu(e.info.interproList.join(", ")),n.xp6(1),n.Q6J("nzGutter",8),n.xp6(1),n.Q6J("nzSpan",6),n.xp6(2),n.Q6J("nzSpan",18),n.xp6(1),n.Q6J("nzEllipsisRows",5),n.xp6(1),n.Oqu(e.info.pathwayList.join(", "))}}function Wn(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"div",6),n.TgZ(2,"p",11),n._uU(3),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(2),n.Q6J("nzEllipsisRows",12),n.xp6(1),n.Oqu(e.info.summary)}}function Xn(t,r){if(1&t&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td"),n._uU(4),n.qZA(),n.TgZ(5,"td"),n._uU(6),n.qZA(),n.qZA()),2&t){const e=r.$implicit;n.xp6(2),n.hij(" ",e.short_desc," "),n.xp6(2),n.hij(" ",e.desc," "),n.xp6(2),n.hij(" ",e.id," ")}}const fn=function(){return{x:"100%",y:"200px"}};function Hn(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",12,13),n.TgZ(3,"thead"),n.TgZ(4,"tr"),n.TgZ(5,"th"),n._uU(6,"Name"),n.qZA(),n.TgZ(7,"th"),n._uU(8,"Description"),n.qZA(),n.TgZ(9,"th"),n._uU(10,"ID"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(11,"tbody"),n.YNc(12,Xn,7,3,"ng-template",14),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("nzData",e.info.interpro)("nzScroll",n.DdM(4,fn))("nzFrontPagination",!1)("nzShowPagination",!1)}}function Kn(t,r){if(1&t&&(n.TgZ(0,"a",21),n._uU(1),n.qZA()),2&t){const e=n.oxw().$implicit;n.s9C("href",null==e?null:e.link,n.LSH),n.xp6(1),n.hij(" ",e.src," ")}}function qn(t,r){if(1&t&&n._uU(0),2&t){const e=n.oxw().$implicit;n.hij(" ",e.src," ")}}function kn(t,r){if(1&t&&(n.TgZ(0,"tr"),n.TgZ(1,"td"),n._uU(2),n.qZA(),n.TgZ(3,"td",18),n.YNc(4,Kn,2,2,"a",19),n.YNc(5,qn,1,1,"ng-template",null,20,n.W1O),n.qZA(),n.qZA()),2&t){const e=r.$implicit,s=n.MAs(6);n.xp6(2),n.hij(" ",e.name," "),n.xp6(2),n.Q6J("ngIf",null==e?null:e.link)("ngIfElse",s)}}function nt(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-table",12,15),n.TgZ(3,"colgroup"),n._UZ(4,"col",16),n._UZ(5,"col",17),n.qZA(),n.TgZ(6,"thead"),n.TgZ(7,"tr"),n.TgZ(8,"th"),n._uU(9,"Name"),n.qZA(),n.TgZ(10,"th",18),n._uU(11,"Source"),n.qZA(),n.qZA(),n.qZA(),n.TgZ(12,"tbody"),n.YNc(13,kn,7,3,"ng-template",14),n.qZA(),n.qZA(),n.BQk()),2&t){const e=n.oxw(2);n.xp6(1),n.Q6J("nzData",e.info.pathway)("nzScroll",n.DdM(4,fn))("nzFrontPagination",!1)("nzShowPagination",!1)}}function tt(t,r){if(1&t){const e=n.EpF();n.ynx(0),n.TgZ(1,"nz-card",1),n.TgZ(2,"nz-card-tab"),n.TgZ(3,"nz-tabset",2),n.NdJ("nzSelectChange",function(d){return n.CHM(e),n.oxw().tabChange(d)}),n._UZ(4,"nz-tab",3),n._UZ(5,"nz-tab",3),n._UZ(6,"nz-tab",3),n._UZ(7,"nz-tab",3),n.qZA(),n.qZA(),n.ynx(8,4),n.YNc(9,Rn,44,33,"ng-container",5),n.YNc(10,Wn,4,2,"ng-container",5),n.YNc(11,Hn,13,5,"ng-container",5),n.YNc(12,nt,14,5,"ng-container",5),n.BQk(),n.qZA(),n.BQk()}if(2&t){const e=n.oxw();n.xp6(3),n.Q6J("nzAnimated",!0),n.xp6(1),n.Q6J("nzTitle","Overview"),n.xp6(1),n.Q6J("nzTitle","Summary"),n.xp6(1),n.Q6J("nzTitle","Protein Domains ("+e.info.interproList.length+")"),n.xp6(1),n.Q6J("nzTitle","Pathways ("+e.info.pathway.length+")"),n.xp6(1),n.Q6J("ngSwitch",e.tabIndex),n.xp6(1),n.Q6J("ngSwitchCase",0),n.xp6(1),n.Q6J("ngSwitchCase",1),n.xp6(1),n.Q6J("ngSwitchCase",2),n.xp6(1),n.Q6J("ngSwitchCase",3)}}let et=(()=>{class t{constructor(e,s){this.infoService=e,this.logger=s,this.tabIndex=0}ngOnInit(){this.tabChange({index:0,tab:null})}ngOnChanges(){this.geneInfo&&(this.info=this.infoService.parse(this.geneInfo))}tabChange(e){this.tabIndex=e.index}}return t.\u0275fac=function(e){return new(e||t)(n.Y36($n),n.Y36(_n.Kf))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-my-gene-info"]],inputs:{geneInfo:"geneInfo"},features:[n.TTD],decls:1,vars:1,consts:[[4,"ngIf"],["nzTitle","MyGeneInfo"],["nzSize","small",3,"nzAnimated","nzSelectChange"],[3,"nzTitle"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"tab-padding"],["nz-row","",3,"nzGutter"],["nz-col","",1,"key-col",3,"nzSpan"],["nz-col","",3,"nzSpan"],[2,"margin-left","8px"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzSize","small",3,"nzData","nzScroll","nzFrontPagination","nzShowPagination"],["proteinDomainsTable",""],["nz-virtual-scroll",""],["pathwaysTable",""],["width","90%"],["width","10%"],[1,"button-col"],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href",4,"ngIf","ngIfElse"],["noPathwayLink",""],["nz-button","","target","_blank","nzType","default","nzSize","small",3,"href"]],template:function(e,s){1&e&&n.YNc(0,tt,13,10,"ng-container",0),2&e&&n.Q6J("ngIf",s.geneInfo)},directives:[i.O5,R.bd,R._i,dn.xH,dn.xw,i.RF,i.n9,O.SK,O.t3,y.ZU,B.N8,B.Om,B.$Z,B.Uo,B._C,B.p0,B.zu],styles:["[_nghost-%COMP%]{display:block}nz-card[_ngcontent-%COMP%]{width:100%}.key-col[_ngcontent-%COMP%]{text-align:right;font-weight:700}.button-col[_ngcontent-%COMP%]{text-align:right}"]}),t})();var ot=a(13),at=a(8664);function it(t,r){if(1&t&&(n.TgZ(0,"span",8),n._uU(1),n.qZA()),2&t){const e=n.oxw(3).ngIf;n.xp6(1),n.hij("(",e.length," displayed)")}}function rt(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"span",8),n._uU(2),n.qZA(),n.YNc(3,it,2,1,"span",9),n.BQk()),2&t){const e=r.ngIf,s=n.oxw(2).ngIf;n.xp6(2),n.hij("",e," Total"),n.xp6(1),n.Q6J("ngIf",e>s.length)}}function st(t,r){if(1&t&&(n._UZ(0,"i",7),n._uU(1),n.YNc(2,rt,4,2,"ng-container",0),n.ALo(3,"ngrxPush")),2&t){const e=n.oxw(2);n.xp6(1),n.hij(" ",e.geneName," Variants "),n.xp6(1),n.Q6J("ngIf",n.lcZ(3,2,e.totalVariants$))}}function ct(t,r){if(1&t){const e=n.EpF();n.TgZ(0,"i",24),n.NdJ("click",function(){n.CHM(e);const d=n.oxw(4);return d.variantNameFilter=void 0,d.onModelUpdated()}),n.qZA()}}function lt(t,r){if(1&t&&n.YNc(0,ct,1,0,"i",23),2&t){const e=n.oxw(3);n.Q6J("ngIf",e.variantNameFilter)}}function gt(t,r){if(1&t){const e=n.EpF();n.TgZ(0,"form",10),n.TgZ(1,"nz-form-item"),n.TgZ(2,"nz-form-label"),n._uU(3,"Filter"),n.qZA(),n.TgZ(4,"nz-form-control"),n.TgZ(5,"nz-input-group",11),n.TgZ(6,"input",12),n.NdJ("ngModelChange",function(){return n.CHM(e),n.oxw(2).onModelUpdated()})("ngModelChange",function(d){return n.CHM(e),n.oxw(2).variantNameFilter=d}),n.qZA(),n.YNc(7,lt,1,1,"ng-template",null,13,n.W1O),n.qZA(),n.qZA(),n.qZA(),n.TgZ(9,"nz-form-item"),n.TgZ(10,"nz-form-label"),n._uU(11,"Order By"),n.qZA(),n.TgZ(12,"nz-form-control"),n.TgZ(13,"nz-select",14),n.NdJ("ngModelChange",function(d){return n.CHM(e),n.oxw(2).onVariantSortOrderChanged(d)})("ngModelChange",function(d){return n.CHM(e),n.oxw(2).sortBy=d}),n._UZ(14,"nz-option",15),n._UZ(15,"nz-option",16),n._UZ(16,"nz-option",17),n.qZA(),n.qZA(),n.qZA(),n.TgZ(17,"nz-form-item"),n.TgZ(18,"nz-form-label"),n._uU(19,"Show"),n.qZA(),n.TgZ(20,"nz-form-control"),n.TgZ(21,"nz-select",18),n.NdJ("ngModelChange",function(d){return n.CHM(e),n.oxw(2).onVariantStatusFilterChanged(d)})("ngModelChange",function(d){return n.CHM(e),n.oxw(2).statusFilter=d}),n._UZ(22,"nz-option",19),n._UZ(23,"nz-option",20),n._UZ(24,"nz-option",21),n._UZ(25,"nz-option",22),n.qZA(),n.qZA(),n.qZA(),n.qZA()}if(2&t){const e=n.MAs(8),s=n.oxw(2);n.xp6(5),n.Q6J("nzSuffix",e)("nzCompact",!0),n.xp6(1),n.Q6J("ngModel",s.variantNameFilter),n.xp6(7),n.Q6J("ngModel",s.sortBy),n.xp6(8),n.Q6J("ngModel",s.statusFilter)}}function pt(t,r){if(1&t&&(n.ynx(0),n._UZ(1,"cvc-variant-tag",25),n.BQk()),2&t){const e=r.$implicit;n.xp6(1),n.Q6J("variant",e)}}function mt(t,r){if(1&t){const e=n.EpF();n.TgZ(0,"nz-row",27),n.TgZ(1,"button",28),n.NdJ("click",function(){n.CHM(e);const d=n.oxw().ngIf;return n.oxw(2).fetchMore(d.endCursor)}),n._uU(2,"Load More "),n.qZA(),n.qZA()}}function dt(t,r){if(1&t&&(n.ynx(0),n.YNc(1,mt,3,0,"nz-row",26),n.BQk()),2&t){const e=r.ngIf;n.xp6(1),n.Q6J("ngIf",e.hasNextPage)}}function ut(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"nz-card",1),n.YNc(2,st,4,4,"ng-template",null,2,n.W1O),n.YNc(4,gt,26,5,"ng-template",null,3,n.W1O),n.TgZ(6,"nz-row"),n.TgZ(7,"nz-col",4),n.TgZ(8,"cvc-tag-list",5),n.YNc(9,pt,2,1,"ng-container",6),n.qZA(),n.qZA(),n.qZA(),n.YNc(10,dt,2,1,"ng-container",0),n.ALo(11,"ngrxPush"),n.qZA(),n.BQk()),2&t){const e=r.ngIf,s=n.MAs(3),d=n.MAs(5),C=n.oxw();n.xp6(1),n.Q6J("nzTitle",s)("nzExtra",d),n.xp6(8),n.Q6J("ngForOf",e),n.xp6(1),n.Q6J("ngIf",n.lcZ(11,4,C.pageInfo$))}}let vt=(()=>{class t{constructor(e){this.gql=e,this.statusFilter=m.qP7.WithAcceptedOrSubmitted,this.sortBy=m.d4o.Name,this.debouncedQuery=new z.xQ,this.pageSize=50}ngOnInit(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.initialQueryVars={geneId:this.geneId,evidenceStatusFilter:this.statusFilter,first:this.pageSize},this.queryRef$=this.gql.watch(this.initialQueryVars),this.results$=this.queryRef$.valueChanges,this.pageInfo$=this.results$.pipe((0,sn.U)(({data:e})=>e.variants.pageInfo)),this.menuVariants$=this.results$.pipe((0,sn.U)(({data:e})=>e.variants.edges.map(s=>s.node))),this.totalVariants$=this.results$.pipe((0,sn.U)(({data:e})=>e.variants.totalCount)),this.debouncedQuery.pipe((0,ot.b)(500)).subscribe(e=>this.refresh())}onModelUpdated(){this.debouncedQuery.next()}onVariantStatusFilterChanged(e){this.refresh()}onVariantSortOrderChanged(e){this.queryRef$.refetch({sortBy:{column:e,direction:e==m.d4o.CoordinateEnd?m.SrV.Desc:m.SrV.Asc}})}refresh(){if(void 0===this.geneId)throw new Error("Must pass a gene id into variant menu component.");this.queryRef$.refetch({geneId:this.geneId,variantName:this.variantNameFilter,evidenceStatusFilter:this.statusFilter,sortBy:{column:this.sortBy,direction:m.SrV.Asc}})}fetchMore(e){this.queryRef$.fetchMore({variables:{first:this.pageSize,after:e}})}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m.zwS))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-variant-menu"]],inputs:{geneId:"geneId",geneName:"geneName"},decls:2,vars:3,consts:[[4,"ngIf"],[3,"nzTitle","nzExtra"],["cardTitle",""],["cardExtra",""],["nzSpan","24"],["size","sm"],[4,"ngFor","ngForOf"],["nz-icon","","nzType","civic:gene"],["nz-typography","","nzType","secondary"],["nz-typography","","nzType","secondary",4,"ngIf"],["nz-form","","nzLayout","inline","id","variant-filters"],["id","name-filter-group","nzSize","small",3,"nzSuffix","nzCompact"],["type","text","nz-input","","placeholder","Variant Names","name","name-filter",3,"ngModel","ngModelChange"],["nameInputClearTpl",""],["nzSize","small","id","variant-sort-order","name","sortBy",3,"ngModel","ngModelChange"],["nzValue","NAME","nzLabel","Variant Name","selected",""],["nzValue","COORDINATE_START","nzLabel","Start Position"],["nzValue","COORDINATE_END","nzLabel","End Position"],["nzSize","small","id","status-filter","name","statusFilter",3,"ngModel","ngModelChange"],["nzValue","WITH_ACCEPTED","nzLabel","Variants with accepted evidence"],["nzValue","WITH_ACCEPTED_OR_SUBMITTED","nzLabel","Variants with accepted and/or submitted evidence","selected",""],["nzValue","WITH_SUBMITTED","nzLabel","Variants with submitted evidence"],["nzValue","ALL","nzLabel","All Variants"],["nz-icon","","class","ant-input-clear-icon","nzTheme","fill","nzType","close-circle",3,"click",4,"ngIf"],["nz-icon","","nzTheme","fill","nzType","close-circle",1,"ant-input-clear-icon",3,"click"],[3,"variant"],["id","load-more-btn",4,"ngIf"],["id","load-more-btn"],["nz-button","","nzType","default","nzSize","small","nzBlock","",3,"click"]],template:function(e,s){1&e&&(n.YNc(0,ut,12,6,"ng-container",0),n.ALo(1,"ngrxPush")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,s.menuVariants$))},directives:[i.O5,R.bd,w.w,y.ZU,W._Y,W.JL,W.F,an.Lr,O.SK,an.Nx,O.t3,an.iK,an.Fd,rn.gB,rn.ke,rn.Zp,W.Fj,W.JJ,W.On,mn.Vq,mn.Ip,vn.$,i.sg,at.I,I.ix,L.dQ],pipes:[f.fM],styles:["[_nghost-%COMP%]{display:block}#variant-filters[_ngcontent-%COMP%] #name-filter-group[_ngcontent-%COMP%]{width:175px}#variant-filters[_ngcontent-%COMP%] nz-form-item[_ngcontent-%COMP%]:last-child{margin-right:0}#load-more-btn[_ngcontent-%COMP%]{margin-top:12px}"]}),t})();function _t(t,r){if(1&t&&(n.TgZ(0,"p",16),n._uU(1),n.qZA()),2&t){const e=n.oxw(3).ngIf;n.Q6J("nzEllipsisRows",8),n.xp6(1),n.Oqu(e.description)}}function ft(t,r){1&t&&n._UZ(0,"cvc-empty-revisable",17)}function zt(t,r){1&t&&n._UZ(0,"cvc-source-tag",19),2&t&&n.Q6J("source",r.$implicit)}function ht(t,r){if(1&t&&(n.ynx(0),n.TgZ(1,"cvc-tag-list"),n.YNc(2,zt,1,1,"cvc-source-tag",18),n.qZA(),n.BQk()),2&t){const e=n.oxw(3).ngIf;n.xp6(2),n.Q6J("ngForOf",e.sources)}}function xt(t,r){1&t&&(n.TgZ(0,"span",20),n._uU(1,"None specified"),n.qZA())}function Tt(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions",9),n.TgZ(1,"nz-descriptions-item",10),n.YNc(2,_t,2,2,"p",11),n.YNc(3,ft,1,0,"ng-template",null,12,n.W1O),n.qZA(),n.TgZ(5,"nz-descriptions-item",13),n.YNc(6,ht,3,1,"ng-container",14),n.YNc(7,xt,2,0,"ng-template",null,15,n.W1O),n.qZA(),n.qZA()),2&t){const e=n.MAs(4),s=n.MAs(8),d=n.oxw(2).ngIf;n.Q6J("nzColumn",1),n.xp6(2),n.Q6J("ngIf",d.description)("ngIfElse",e),n.xp6(4),n.Q6J("ngIf",d.sources.length>0)("ngIfElse",s)}}function Ct(t,r){if(1&t&&(n.TgZ(0,"nz-tag"),n._uU(1),n.qZA()),2&t){const e=r.$implicit;n.xp6(1),n.Oqu(e)}}function yt(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions-item",24),n.YNc(1,Ct,2,1,"nz-tag",25),n.qZA()),2&t){const e=n.oxw(3).ngIf;n.xp6(1),n.Q6J("ngForOf",e.geneAliases)}}function Zt(t,r){1&t&&(n.TgZ(0,"span",20),n._uU(1,"None specified"),n.qZA())}function Mt(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions",21),n.YNc(1,yt,2,1,"nz-descriptions-item",22),n.YNc(2,Zt,2,0,"ng-template",null,23,n.W1O),n.qZA()),2&t){const e=n.MAs(3),s=n.oxw(2).ngIf;n.Q6J("nzColumn",1),n.xp6(1),n.Q6J("ngIf",s.geneAliases.length>0)("ngIfElse",e)}}function At(t,r){if(1&t&&(n.TgZ(0,"nz-descriptions",21),n.TgZ(1,"nz-descriptions-item",26),n.TgZ(2,"cvc-tag-list"),n.TgZ(3,"cvc-link-tag",27),n._uU(4," DGIdb "),n.qZA(),n.TgZ(5,"cvc-link-tag",27),n._uU(6," ProteinPaint "),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&t){const e=n.oxw(2).ngIf;n.Q6J("nzColumn",1),n.xp6(3),n.Q6J("href","http://dgidb.org/genes/"+e.name)("tooltip","View "+e.name+" on DGIdb"),n.xp6(2),n.Q6J("href","https://pecan.stjude.cloud/proteinpaint/"+e.name+"/hg19/civic")("tooltip","View "+e.name+" on ProteinPaint")}}function It(t,r){if(1&t&&(n.TgZ(0,"nz-row",3),n.TgZ(1,"nz-col",4),n.TgZ(2,"nz-space",5),n.YNc(3,Tt,9,5,"nz-descriptions",6),n.YNc(4,Mt,4,3,"nz-descriptions",7),n.YNc(5,At,7,5,"nz-descriptions",7),n.qZA(),n.qZA(),n.TgZ(6,"nz-col",4),n._UZ(7,"cvc-my-gene-info",8),n.ALo(8,"ngrxPush"),n.qZA(),n.qZA()),2&t){const e=n.oxw(2);n.Q6J("nzGutter",16),n.xp6(7),n.Q6J("geneInfo",n.lcZ(8,2,e.myGeneInfo$))}}function Pt(t,r){if(1&t&&(n.TgZ(0,"nz-row",3),n.TgZ(1,"nz-col",28),n._UZ(2,"cvc-variant-menu",29),n.qZA(),n.qZA()),2&t){const e=n.oxw().ngIf;n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",24),n.xp6(1),n.Q6J("geneId",e.id)("geneName",e.name)}}function St(t,r){1&t&&(n.TgZ(0,"nz-space",1),n.YNc(1,It,9,4,"nz-row",2),n.YNc(2,Pt,3,4,"nz-row",2),n.qZA())}const Gt=[{path:"",component:Q,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:(()=>{class t{constructor(e,s,d){this.gql=e,this.viewerService=s,this.route=d,this.routeSub=this.route.params.subscribe(C=>{this.viewer$=this.viewerService.viewer$;let V=this.gql.watch({geneId:+C.geneId}).valueChanges;this.subscribableEntity={id:+C.geneId,entityType:m.o71.Gene},this.gene$=V.pipe((0,S.j)("data","gene")),this.loading$=V.pipe((0,S.j)("loading")),this.myGeneInfo$=this.gene$.pipe((0,S.j)("myGeneInfoDetails"),(0,sn.U)(H=>JSON.parse(String(H))))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(e){return new(e||t)(n.Y36(m.cCu),n.Y36(Y.a),n.Y36(T.gz))},t.\u0275cmp=n.Xpm({type:t,selectors:[["cvc-genes-summary"]],decls:2,vars:3,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],[3,"nzGutter",4,"nzSpaceItem"],[3,"nzGutter"],["nzSpan","12"],["nzDirection","vertical"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn",4,"nzSpaceItem"],[3,"geneInfo"],["nzLayout","vertical","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows",4,"ngIf","ngIfElse"],["noDescription",""],["nzTitle","Sources"],[4,"ngIf","ngIfElse"],["noSources",""],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["notification","No description provided"],[3,"source",4,"ngFor","ngForOf"],[3,"source"],["nz-typography","","nzType","secondary"],["nzLayout","horizontal","nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Aliases","nzSpan","1",4,"ngIf","ngIfElse"],["noAliases",""],["nzTitle","Aliases","nzSpan","1"],[4,"ngFor","ngForOf"],["nzTitle","Resources"],[3,"href","tooltip"],[3,"nzSpan"],[3,"geneId","geneName"]],template:function(e,s){1&e&&(n.YNc(0,St,3,0,"nz-space",0),n.ALo(1,"ngrxPush")),2&e&&n.Q6J("ngIf",n.lcZ(1,1,s.gene$))},directives:[i.O5,x.NU,x.$1,O.SK,O.t3,pn.R7,pn.uj,y.ZU,Dn.J,vn.$,i.sg,jn.T,gn.j,Bn.l,et,vt],pipes:[f.fM],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%], nz-space-item[_ngcontent-%COMP%]{width:100%}"]}),t})(),data:{breadcrumb:"Summary"}},{path:"comments",component:P,data:{breadcrumb:"Comments"}},{path:"revisions",component:Vn,data:{breadcrumb:"Revisions"}},{path:"flags",component:Mn,data:{breadcrumb:"Summary"}},{path:"events",component:xn,data:{breadcrumb:"Events"}}]}];let Jt=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[T.Bz.forChild(Gt),Ln,N,Jn,yn,ln],T.Bz]}),t})();var Qt=a(4682),Vt=a(8762),Ot=a(5750),Nt=a(4609);let Ut=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=n.oAB({type:t}),t.\u0275inj=n.cJS({imports:[[i.ez,Jt,f.WG,I.sL,M.PV,h.KJ,x.zf,y.ZJ,O.Jb,Vt.c,Qt.m,Ot.Z,o.D,Nt.g,F.t]]}),t})()}}]);
\ No newline at end of file
diff --git a/server/public/727.5a1e80c4ce38da78.js b/server/public/727.5a1e80c4ce38da78.js
new file mode 100644
index 000000000..3f738b557
--- /dev/null
+++ b/server/public/727.5a1e80c4ce38da78.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[727],{8369:(X,J,o)=>{o.d(J,{W:()=>G});var t=o(9808),d=o(325),n=o(8481),I=o(3610),h=o(647),O=o(7484),Q=o(3098),C=o(3309),b=o(4867),Z=o(6286),Y=o(8018),T=o(6949),w=o(9444),A=o(1894),L=o(8144),N=o(3580),_=o(8625),z=o(7026),m=o(592),v=o(404),M=o(5e3);let U=(()=>{class x{}return x.\u0275fac=function(D){return new(D||x)},x.\u0275mod=M.oAB({type:x}),x.\u0275inj=M.cJS({imports:[[t.ez,d.Bz,T.WG,O.vh,Q.q6,h.PV,A.Jb,L.zf,n.X,v.cg,C.U,N.Q,b.Q,Z.y,Y.e,w.s,m.x,_.$L.forChild({formatter:{useClass:z.x,provide:_.KP}})]]}),x})(),G=(()=>{class x{}return x.\u0275fac=function(D){return new(D||x)},x.\u0275mod=M.oAB({type:x}),x.\u0275inj=M.cJS({imports:[[t.ez,d.Bz,n.X,I.$6,h.PV,U,w.s]]}),x})()},5749:(X,J,o)=>{o.d(J,{m:()=>s});var t=o(5e3),d=o(9808),n=o(325),I=o(8481),h=o(3610),O=o(4850),Q=o(712),C=o(7484),b=o(7881),Z=o(1894),Y=o(3098),T=o(6550),w=o(6949);const A=function(i,r){return{displayName:i,profileImagePath:r}};function L(i,r){if(1&i&&(t._UZ(0,"cvc-user-avatar",12),t.TgZ(1,"span",13),t._uU(2),t.qZA()),2&i){const g=t.oxw().ngIf;t.Q6J("user",t.WLB(2,A,g.name,g.profileImagePath)),t.xp6(2),t.Oqu(g.name)}}function N(i,r){if(1&i&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&i){const g=r.ngIf;t.xp6(1),t.Oqu(g)}}function _(i,r){if(1&i&&(t.ynx(0),t.TgZ(1,"cvc-link-tag",14),t._uU(2),t.qZA(),t.BQk()),2&i){const g=t.oxw().ngIf;t.xp6(1),t.Q6J("href",g.url),t.xp6(1),t.hij(" ",g.name," ")}}function z(i,r){if(1&i&&(t.ynx(0),t.TgZ(1,"nz-card",4),t.YNc(2,L,3,5,"ng-template",null,5,t.W1O),t.TgZ(4,"nz-row"),t.TgZ(5,"nz-col",6),t.TgZ(6,"div",7),t.TgZ(7,"p",8),t.YNc(8,N,2,1,"span",9),t.qZA(),t.qZA(),t.qZA(),t.qZA(),t.TgZ(9,"nz-descriptions",10),t.TgZ(10,"nz-descriptions-item",11),t.YNc(11,_,3,2,"ng-container",9),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&i){const g=r.ngIf,P=t.MAs(3);t.oxw();const K=t.MAs(4),k=t.MAs(6);t.xp6(1),t.Q6J("nzTitle",P),t.xp6(7),t.Q6J("ngIf",g.description)("ngIfElse",K),t.xp6(1),t.Q6J("nzColumn",2),t.xp6(2),t.Q6J("ngIf",g.url)("ngIfElse",k)}}function m(i,r){1&i&&t._uU(0," Organization has not provided a description.\n")}function v(i,r){1&i&&t._uU(0," --\n")}let M=(()=>{class i{constructor(g){this.gql=g}ngOnInit(){if(void 0===this.orgId)throw new Error("cvc-org-popover requires orgId input.");this.org$=this.gql.watch({orgId:this.orgId}).valueChanges.pipe((0,O.U)(({data:g})=>g.organization))}}return i.\u0275fac=function(g){return new(g||i)(t.Y36(Q.X5f))},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organization-popover"]],inputs:{orgId:"orgId"},decls:7,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["noDesc",""],["noHomepage",""],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSpan","24"],[1,"popover-text"],["nz-typography",""],[4,"ngIf","ngIfElse"],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Homepage"],["size","default",3,"user"],["nz-typography","","nzStyle","default",1,"display-name"],[3,"href"]],template:function(g,P){1&g&&(t.TgZ(0,"div",0),t.YNc(1,z,12,6,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA(),t.YNc(3,m,1,0,"ng-template",null,2,t.W1O),t.YNc(5,v,1,0,"ng-template",null,3,t.W1O)),2&g&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,P.org$)))},directives:[d.O5,C.bd,b.L,Z.SK,Z.t3,Y.R7,Y.uj,T.l],pipes:[w.fM],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}"]}),i})();var U=o(647);function G(i,r){}function x(i,r){if(1&i&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,G,0,0,"ng-template",6),t.qZA(),t.BQk()),2&i){const g=t.oxw(),P=t.MAs(2);t.xp6(1),t.MGl("routerLink","/organizations/",g.org.id,""),t.xp6(1),t.Q6J("ngTemplateOutlet",P)}}function E(i,r){}function D(i,r){if(1&i&&t._UZ(0,"cvc-organization-popover",10),2&i){const g=t.oxw(3);t.Q6J("orgId",g.org.id)}}function W(i,r){if(1&i&&t.YNc(0,D,1,1,"cvc-organization-popover",9),2&i){const g=t.oxw(2);t.Q6J("ngIf",g.enablePopover)}}function j(i,r){if(1&i&&(t.TgZ(0,"nz-tag",7),t.YNc(1,E,0,0,"ng-template",6),t.qZA(),t.YNc(2,W,1,1,"ng-template",null,8,t.W1O)),2&i){const g=t.MAs(3);t.oxw();const P=t.MAs(8);t.Q6J("nzPopoverContent",g),t.xp6(1),t.Q6J("ngTemplateOutlet",P)}}function $(i,r){}function H(i,r){if(1&i&&(t.TgZ(0,"nz-tag"),t.YNc(1,$,0,0,"ng-template",6),t.qZA()),2&i){t.oxw();const g=t.MAs(8);t.xp6(1),t.Q6J("ngTemplateOutlet",g)}}function F(i,r){}function R(i,r){if(1&i&&t.YNc(0,F,0,0,"ng-template",6),2&i){t.oxw();const g=t.MAs(2);t.Q6J("ngTemplateOutlet",g)}}function V(i,r){if(1&i&&(t._UZ(0,"i",11),t._uU(1)),2&i){const g=t.oxw();t.xp6(1),t.hij(" ",g.org.name,"\n")}}let s=(()=>{class i{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.org)throw new Error("cvc-org-tag requires valid TagLinkableOrganization input, none provided.")}}return i.\u0275fac=function(g){return new(g||i)},i.\u0275cmp=t.Xpm({type:i,selectors:[["cvc-organization-tag"]],inputs:{org:"org",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","",3,"nzPopoverContent"],["orgPopover",""],[3,"orgId",4,"ngIf"],[3,"orgId"],["nz-icon","","nzType","civic-organization","nzTheme","twotone","nzTwotoneColor","#58A0C4"]],template:function(g,P){if(1&g&&(t.YNc(0,x,3,2,"ng-container",0),t.YNc(1,j,4,2,"ng-template",null,1,t.W1O),t.YNc(3,H,2,1,"ng-template",null,2,t.W1O),t.YNc(5,R,1,1,"ng-template",null,3,t.W1O),t.YNc(7,V,2,1,"ng-template",null,4,t.W1O)),2&g){const K=t.MAs(6);t.Q6J("ngIf",P.linked)("ngIfElse",K)}},directives:[d.O5,n.yS,d.tP,I.j,h.lU,M,U.Ls],styles:["[_nghost-%COMP%]{display:inline-block}"]}),i})()},3579:(X,J,o)=>{o.d(J,{p:()=>et});var t=o(5e3),d=o(325),n=o(9808),I=o(8481),h=o(3610),O=o(373),Q=o(712),C=o(7484),b=o(8144),Z=o(647),Y=o(4590),T=o(3193),w=o(2826),A=o(9001),L=o(8664),N=o(112),_=o(3098),z=o(125),m=o(6949),v=o(8625);function M(p,f){if(1&p&&(t.TgZ(0,"span"),t._UZ(1,"i",13),t._uU(2),t.qZA()),2&p){const l=t.oxw(2).ngIf;t.xp6(2),t.hij(" RID",l.id," ")}}function U(p,f){if(1&p&&t._UZ(0,"cvc-status-tag",14),2&p){const l=t.oxw(2).ngIf;t.Q6J("status",l.status)}}function G(p,f){1&p&&(t.TgZ(0,"nz-space",10),t.YNc(1,M,3,1,"span",11),t.YNc(2,U,1,1,"cvc-status-tag",12),t.qZA())}function x(p,f){if(1&p&&t._UZ(0,"cvc-gene-tag",22),2&p){const l=t.oxw(2).ngIf;t.Q6J("enablePopover",!1)("gene",l.subject)}}function E(p,f){if(1&p&&t._UZ(0,"cvc-assertion-tag",23),2&p){const l=t.oxw(2).ngIf;t.Q6J("enablePopover",!1)("assertion",l.subject)}}function D(p,f){if(1&p&&t._UZ(0,"cvc-evidence-tag",24),2&p){const l=t.oxw(2).ngIf;t.Q6J("enablePopover",!1)("evidence",l.subject)}}function W(p,f){if(1&p&&t._UZ(0,"cvc-variant-tag",25),2&p){const l=t.oxw(2).ngIf;t.Q6J("enablePopover",!1)("variant",l.subject)}}function j(p,f){if(1&p&&t._UZ(0,"cvc-variant-group-tag",26),2&p){const l=t.oxw(2).ngIf;t.Q6J("variantgroup",l.subject)}}function $(p,f){if(1&p&&(t.TgZ(0,"span"),t._uU(1),t.qZA()),2&p){const l=t.oxw(2).ngIf;t.xp6(1),t.Oqu(l.subject.name)}}function H(p,f){if(1&p&&(t.ynx(0,15),t.YNc(1,x,1,2,"cvc-gene-tag",16),t.YNc(2,E,1,2,"cvc-assertion-tag",17),t.YNc(3,D,1,2,"cvc-evidence-tag",18),t.YNc(4,W,1,2,"cvc-variant-tag",19),t.YNc(5,j,1,1,"cvc-variant-group-tag",20),t.YNc(6,$,2,1,"span",21),t.BQk()),2&p){const l=t.oxw().ngIf;t.Q6J("ngSwitch",l.subject.__typename),t.xp6(1),t.Q6J("ngSwitchCase","Gene"),t.xp6(1),t.Q6J("ngSwitchCase","Assertion"),t.xp6(1),t.Q6J("ngSwitchCase","EvidenceItem"),t.xp6(1),t.Q6J("ngSwitchCase","Variant"),t.xp6(1),t.Q6J("ngSwitchCase","VariantGroup")}}function F(p,f){if(1&p&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,G,3,0,"ng-template",null,3,t.W1O),t.YNc(4,H,7,6,"ng-template",null,4,t.W1O),t.TgZ(6,"nz-descriptions",5),t.TgZ(7,"nz-descriptions-item",6),t._UZ(8,"cvc-user-tag",7),t.qZA(),t.TgZ(9,"nz-descriptions-item",8),t._uU(10),t.qZA(),t.TgZ(11,"nz-descriptions-item",9),t._uU(12),t.ALo(13,"timeago"),t.qZA(),t.qZA(),t.qZA(),t.BQk()),2&p){const l=f.ngIf,B=t.MAs(3),tt=t.MAs(5);t.xp6(1),t.Q6J("nzTitle",B)("nzExtra",tt),t.xp6(5),t.Q6J("nzColumn",1),t.xp6(2),t.Q6J("enablePopover",!1)("user",l.revisor),t.xp6(2),t.hij(" ",l.linkoutData.name," "),t.xp6(2),t.hij(" ",t.lcZ(13,7,l.createdAt)," ")}}let R=(()=>{class p{constructor(l){this.gql=l}ngOnInit(){if(null==this.revisionId)throw new Error("cvc-revision-popover requires valid revisionId input.");this.revision$=this.gql.watch({revisionId:this.revisionId}).valueChanges.pipe((0,O.j)("data","revision"))}}return p.\u0275fac=function(l){return new(l||p)(t.Y36(Q.otH))},p.\u0275cmp=t.Xpm({type:p,selectors:[["cvc-revision-popover"]],inputs:{revisionId:"revisionId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle","nzExtra"],["cardTitle",""],["subject",""],["nzBordered","","nzSize","small",3,"nzColumn"],["nzTitle","Revisor"],[3,"enablePopover","user"],["nzTitle","Field"],["nzTitle","Revision Date"],[1,"revision-card-title"],[4,"nzSpaceItem"],[3,"status",4,"nzSpaceItem"],["nz-icon","","nzType","civic:revision"],[3,"status"],[3,"ngSwitch"],[3,"enablePopover","gene",4,"ngSwitchCase"],[3,"enablePopover","assertion",4,"ngSwitchCase"],[3,"enablePopover","evidence",4,"ngSwitchCase"],[3,"enablePopover","variant",4,"ngSwitchCase"],[3,"variantgroup",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[3,"enablePopover","gene"],[3,"enablePopover","assertion"],[3,"enablePopover","evidence"],[3,"enablePopover","variant"],[3,"variantgroup"]],template:function(l,B){1&l&&(t.TgZ(0,"div",0),t.YNc(1,F,14,9,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&l&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,B.revision$)))},directives:[n.O5,C.bd,b.NU,b.$1,Z.Ls,Y.h,n.RF,n.n9,T.H,w.w,A.O,L.I,N.u,n.ED,_.R7,_.uj,z.I],pipes:[m.fM,v.wr],styles:["[_nghost-%COMP%]{display:block;margin:-8px -12px}[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}[_nghost-%COMP%] .ant-descriptions-view{border:none}[_nghost-%COMP%] #entity-child-counts{border-top:1px solid #f0f0f0;padding:8px}[_nghost-%COMP%] #entity-child-counts nz-space{width:100%}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] #entity-child-counts nz-space-item:last-child nz-tag{margin-right:0}.popover-text[_ngcontent-%COMP%]{width:100%;padding:8px;border-bottom:1px solid #f0f0f0}#popover-content[_ngcontent-%COMP%]{min-width:350px;max-width:500px;min-height:125px}[_nghost-%COMP%]{display:block}.revision-card-title[_ngcontent-%COMP%]{font-weight:400}"]}),p})();function V(p,f){}function s(p,f){}function i(p,f){if(1&p&&(t.TgZ(0,"nz-tag",7),t.YNc(1,s,0,0,"ng-template",1),t.qZA()),2&p){t.oxw();const l=t.MAs(2);t.oxw();const B=t.MAs(7);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",l),t.xp6(1),t.Q6J("ngTemplateOutlet",B)}}function r(p,f){if(1&p&&t._UZ(0,"cvc-revision-popover",8),2&p){const l=t.oxw(2);t.Q6J("revisionId",l.revision.id)}}function g(p,f){if(1&p&&(t.YNc(0,i,2,3,"nz-tag",5),t.YNc(1,r,1,1,"ng-template",null,6,t.W1O)),2&p){const l=t.oxw(),B=t.MAs(5);t.Q6J("ngIf",l.enablePopover)("ngIfElse",B)}}function P(p,f){}function K(p,f){if(1&p&&(t.TgZ(0,"nz-tag"),t.YNc(1,P,0,0,"ng-template",1),t.qZA()),2&p){t.oxw();const l=t.MAs(7);t.xp6(1),t.Q6J("ngTemplateOutlet",l)}}function k(p,f){if(1&p&&(t._UZ(0,"i",9),t._uU(1)),2&p){const l=t.oxw();t.xp6(1),t.hij(" ",l.revision.name,"\n")}}let et=(()=>{class p{constructor(){this.enablePopover=!0}ngOnInit(){if(void 0===this.revision)throw new Error("cvc-revision-tag requires LinkableRevision input, none supplied.")}}return p.\u0275fac=function(l){return new(l||p)},p.\u0275cmp=t.Xpm({type:p,selectors:[["cvc-revision-tag"]],inputs:{revision:"revision",subject:"subject",enablePopover:"enablePopover"},decls:8,vars:2,consts:[[3,"routerLink"],[3,"ngTemplateOutlet"],["tag",""],["noPopover",""],["tagContent",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["revisionPopover",""],["nz-popover","","nzPopoverPlacement","right","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"revisionId"],["nz-icon","","nzType","civic-revision","nzTheme","twotone","nzTwotoneColor","#F0673A"]],template:function(l,B){if(1&l&&(t.TgZ(0,"a",0),t.YNc(1,V,0,0,"ng-template",1),t.qZA(),t.YNc(2,g,3,2,"ng-template",null,2,t.W1O),t.YNc(4,K,2,1,"ng-template",null,3,t.W1O),t.YNc(6,k,2,1,"ng-template",null,4,t.W1O)),2&l){const tt=t.MAs(3);t.Q6J("routerLink",B.revision.link),t.xp6(1),t.Q6J("ngTemplateOutlet",tt)}},directives:[d.yS,n.tP,n.O5,I.j,h.lU,R,Z.Ls],styles:[""]}),p})()},8747:(X,J,o)=>{o.d(J,{l:()=>N});var t=o(5e3),d=o(9808),n=o(7484),I=o(3762),h=o(6042),O=o(2643),Q=o(2683),C=o(647);const b=["itemTemplate"],Z=function(_){return{$implicit:_}};function Y(_,z){if(1&_){const m=t.EpF();t.TgZ(0,"nz-list-item",5),t.NdJ("click",function(){t.CHM(m);const M=t.oxw().$implicit;return t.oxw(2).onParticipantSelected(M)}),t.GkF(1,6),t.qZA()}if(2&_){const m=t.oxw().$implicit,v=t.oxw(2);t.ekj("selected-participant",m.id==(null==v.selectedItem?null:v.selectedItem.id)),t.xp6(1),t.Q6J("ngTemplateOutlet",v.itemTemplateRef||null)("ngTemplateOutletContext",t.VKq(4,Z,m))}}function T(_,z){if(1&_&&(t.ynx(0),t.YNc(1,Y,2,6,"nz-list-item",4),t.BQk()),2&_){const m=z.index,v=t.oxw(2);t.xp6(1),t.Q6J("ngIf",m+1<=v.defaultListSize)}}function w(_,z){if(1&_){const m=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(m),t.oxw(2).onExpandClicked()}),t._UZ(1,"i",8),t._uU(2," Expand "),t.qZA()}}function A(_,z){if(1&_){const m=t.EpF();t.TgZ(0,"button",7),t.NdJ("click",function(){return t.CHM(m),t.oxw(2).onCollapseClicked()}),t._UZ(1,"i",9),t._uU(2," Collapse "),t.qZA()}}function L(_,z){if(1&_&&(t.ynx(0),t.TgZ(1,"nz-card",1),t.TgZ(2,"nz-list"),t.YNc(3,T,2,1,"ng-container",2),t.qZA(),t.YNc(4,w,3,0,"button",3),t.YNc(5,A,3,0,"button",3),t.qZA(),t.BQk()),2&_){const m=t.oxw();t.xp6(1),t.Q6J("nzTitle",m.listTitle),t.xp6(2),t.Q6J("ngForOf",m.participantList),t.xp6(1),t.Q6J("ngIf",m.participantList.length>m.defaultListSize),t.xp6(1),t.Q6J("ngIf",m.isExpanded)}}let N=(()=>{class _{constructor(){this.defaultListSize=5,this.participantSelectedEvent=new t.vpe,this.isExpanded=!1}ngOnInit(){this.preselectedOption&&(this.selectedItem=this.preselectedOption)}onParticipantSelected(m){var v;this.selectedItem=m.id==(null===(v=this.selectedItem)||void 0===v?void 0:v.id)?void 0:m,this.participantSelectedEvent.emit(this.selectedItem)}onExpandClicked(){this.originalDefaultListSize=this.defaultListSize,this.defaultListSize=this.participantList.length,this.isExpanded=!0}onCollapseClicked(){this.originalDefaultListSize&&(this.defaultListSize=this.originalDefaultListSize,this.isExpanded=!1)}}return _.\u0275fac=function(m){return new(m||_)},_.\u0275cmp=t.Xpm({type:_,selectors:[["cvc-participant-list"]],contentQueries:function(m,v,M){if(1&m&&t.Suo(M,b,5),2&m){let U;t.iGM(U=t.CRH())&&(v.itemTemplateRef=U.first)}},inputs:{participantList:"participantList",listTitle:"listTitle",defaultListSize:"defaultListSize",preselectedOption:"preselectedOption"},outputs:{participantSelectedEvent:"participantSelectedEvent"},decls:1,vars:1,consts:[[4,"ngIf"],["nz-type","inner",2,"margin-bottom","1em",3,"nzTitle"],[4,"ngFor","ngForOf"],["nz-button","","nzType","default","nzSize","small",3,"click",4,"ngIf"],["nzSize","small","class","participant-list-item",3,"selected-participant","click",4,"ngIf"],["nzSize","small",1,"participant-list-item",3,"click"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],["nz-button","","nzType","default","nzSize","small",3,"click"],["nz-icon","","nzType","vertical-align-bottom"],["nz-icon","","nzType","vertical-align-top"]],template:function(m,v){1&m&&t.YNc(0,L,6,4,"ng-container",0),2&m&&t.Q6J("ngIf",v.participantList&&v.participantList.length>0)},directives:[d.O5,n.bd,I.n_,d.sg,I.AA,d.tP,h.ix,O.dQ,Q.w,C.Ls],styles:[".participant-list-item[_ngcontent-%COMP%]:hover{border:1px solid #40a9ff;cursor:pointer}.participant-list-item[_ngcontent-%COMP%]{padding:2px;margin:2px}.selected-participant[_ngcontent-%COMP%]{background:#40a9ff;color:#fff}"]}),_})()},1150:(X,J,o)=>{o.d(J,{N:()=>Q});var t=o(9808),d=o(7484),n=o(3762),I=o(647),h=o(6042),O=o(5e3);let Q=(()=>{class C{}return C.\u0275fac=function(Z){return new(Z||C)},C.\u0275mod=O.oAB({type:C}),C.\u0275inj=O.cJS({imports:[[t.ez,d.vh,n.Ph,I.PV,h.sL]]}),C})()},112:(X,J,o)=>{o.d(J,{u:()=>V});var t=o(5e3),d=o(9808),n=o(325),I=o(8481),h=o(3610),O=o(4850),Q=o(712),C=o(7484),b=o(3098),Z=o(8664),Y=o(6906),T=o(6949);function w(s,i){if(1&s&&(t._UZ(0,"i",7),t._uU(1)),2&s){const r=t.oxw().ngIf;t.xp6(1),t.hij(" ",r.name," ")}}function A(s,i){if(1&s&&(t.TgZ(0,"span"),t._UZ(1,"cvc-variant-tag",10),t.qZA()),2&s){const r=i.$implicit;t.xp6(1),t.Q6J("variant",r.node)}}function L(s,i){if(1&s&&(t.TgZ(0,"nz-descriptions-item",8),t.YNc(1,A,2,1,"span",9),t.qZA()),2&s){const r=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",r.variants.edges)}}function N(s,i){if(1&s&&(t.TgZ(0,"span"),t._UZ(1,"cvc-source-tag",12),t.qZA()),2&s){const r=i.$implicit;t.xp6(1),t.Q6J("source",r)}}function _(s,i){if(1&s&&(t.TgZ(0,"nz-descriptions-item",11),t.YNc(1,N,2,1,"span",9),t.qZA()),2&s){const r=t.oxw().ngIf;t.xp6(1),t.Q6J("ngForOf",r.sources)}}function z(s,i){if(1&s&&(t.ynx(0),t.TgZ(1,"nz-card",2),t.YNc(2,w,2,1,"ng-template",null,3,t.W1O),t._uU(4),t.TgZ(5,"nz-descriptions",4),t.YNc(6,L,2,1,"nz-descriptions-item",5),t.YNc(7,_,2,1,"nz-descriptions-item",6),t.qZA(),t.qZA(),t.BQk()),2&s){const r=i.ngIf,g=t.MAs(3);t.xp6(1),t.Q6J("nzTitle",g),t.xp6(3),t.hij(" ",r.description," "),t.xp6(1),t.Q6J("nzColumn",2),t.xp6(1),t.Q6J("ngIf",r.variants.edges.length>0),t.xp6(1),t.Q6J("ngIf",r.sources.length>0)}}let m=(()=>{class s{constructor(r){this.gql=r}ngOnInit(){if(void 0===this.variantGroupId)throw new Error("Must pass a variant group ID into the variant group popover component.");this.variantGroup$=this.gql.watch({variantGroupId:this.variantGroupId}).valueChanges.pipe((0,O.U)(({data:r})=>r.variantGroup))}}return s.\u0275fac=function(r){return new(r||s)(t.Y36(Q.Zo2))},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-variant-group-popover"]],inputs:{variantGroupId:"variantGroupId"},decls:3,vars:3,consts:[["id","popover-content"],[4,"ngIf"],["nzBordered","false","id","card-content",3,"nzTitle"],["cardTitle",""],["nzSize","small","nzBordered","true",3,"nzColumn"],["nzTitle","Variants","nzSpan","2",4,"ngIf"],["nzTitle","Sources","nzSpan","2",4,"ngIf"],["nz-icon","","nzType","civic:variant-group"],["nzTitle","Variants","nzSpan","2"],[4,"ngFor","ngForOf"],[3,"variant"],["nzTitle","Sources","nzSpan","2"],[3,"source"]],template:function(r,g){1&r&&(t.TgZ(0,"div",0),t.YNc(1,z,8,5,"ng-container",1),t.ALo(2,"ngrxPush"),t.qZA()),2&r&&(t.xp6(1),t.Q6J("ngIf",t.lcZ(2,1,g.variantGroup$)))},directives:[d.O5,C.bd,b.R7,b.uj,d.sg,Z.I,Y.T],pipes:[T.fM],styles:["[_nghost-%COMP%]{display:block}"]}),s})();var v=o(647);function M(s,i){}function U(s,i){if(1&s&&(t.ynx(0),t.TgZ(1,"a",5),t.YNc(2,M,0,0,"ng-template",6),t.qZA(),t.BQk()),2&s){const r=t.oxw(),g=t.MAs(2);t.xp6(1),t.Q6J("routerLink",r.variantgroup.link),t.xp6(1),t.Q6J("ngTemplateOutlet",g)}}function G(s,i){}function x(s,i){if(1&s&&(t.TgZ(0,"nz-tag",9),t.YNc(1,G,0,0,"ng-template",6),t.qZA()),2&s){t.oxw();const r=t.MAs(2);t.oxw();const g=t.MAs(8);t.Q6J("nzPopoverMouseEnterDelay",.5)("nzPopoverContent",r),t.xp6(1),t.Q6J("ngTemplateOutlet",g)}}function E(s,i){if(1&s&&t._UZ(0,"cvc-variant-group-popover",11),2&s){const r=t.oxw(3);t.Q6J("variantGroupId",r.variantgroup.id)}}function D(s,i){if(1&s&&t.YNc(0,E,1,1,"cvc-variant-group-popover",10),2&s){const r=t.oxw(2);t.Q6J("ngIf",r.enablePopover)}}function W(s,i){if(1&s&&(t.YNc(0,x,2,3,"nz-tag",7),t.YNc(1,D,1,1,"ng-template",null,8,t.W1O)),2&s){const r=t.oxw(),g=t.MAs(4);t.Q6J("ngIf",r.enablePopover)("ngIfElse",g)}}function j(s,i){}function $(s,i){if(1&s&&(t.TgZ(0,"nz-tag"),t.YNc(1,j,0,0,"ng-template",6),t.qZA()),2&s){t.oxw();const r=t.MAs(8);t.xp6(1),t.Q6J("ngTemplateOutlet",r)}}function H(s,i){}function F(s,i){if(1&s&&t.YNc(0,H,0,0,"ng-template",6),2&s){t.oxw();const r=t.MAs(2);t.Q6J("ngTemplateOutlet",r)}}function R(s,i){if(1&s&&(t._UZ(0,"i",12),t._uU(1)),2&s){const r=t.oxw();t.xp6(1),t.hij(" ",r.variantgroup.name,"\n")}}let V=(()=>{class s{constructor(){this.linked=!0,this.enablePopover=!0}ngOnInit(){if(void 0===this.variantgroup)throw new Error("Must pass a LinkableVariantgroup into the variantgroup tag component")}}return s.\u0275fac=function(r){return new(r||s)},s.\u0275cmp=t.Xpm({type:s,selectors:[["cvc-variant-group-tag"]],inputs:{variantgroup:"variantgroup",linked:"linked",enablePopover:"enablePopover"},decls:9,vars:2,consts:[[4,"ngIf","ngIfElse"],["tag",""],["noPopover",""],["unlinked",""],["tagContent",""],[3,"routerLink"],[3,"ngTemplateOutlet"],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent",4,"ngIf","ngIfElse"],["popoverContent",""],["nz-popover","","nzPopoverTrigger","hover",3,"nzPopoverMouseEnterDelay","nzPopoverContent"],[3,"variantGroupId",4,"ngIf"],[3,"variantGroupId"],["nz-icon","","nzType","civic-variantgroup","nzTheme","twotone","nzTwotoneColor","#33B358"]],template:function(r,g){if(1&r&&(t.YNc(0,U,3,2,"ng-container",0),t.YNc(1,W,3,2,"ng-template",null,1,t.W1O),t.YNc(3,$,2,1,"ng-template",null,2,t.W1O),t.YNc(5,F,1,1,"ng-template",null,3,t.W1O),t.YNc(7,R,2,1,"ng-template",null,4,t.W1O)),2&r){const P=t.MAs(6);t.Q6J("ngIf",g.linked)("ngIfElse",P)}},directives:[d.O5,n.yS,d.tP,I.j,h.lU,m,v.Ls],styles:[""]}),s})()},359:(X,J,o)=>{o.r(J),o.d(J,{SourcesModule:()=>cn});var t=o(9808),d=o(325),n=o(5e3),I=o(8992),h=o(1945),O=o(4182),Q=o(6123),C=o(7625),b=o(8929),Z=o(712),Y=o(9169),T=o(8144),w=o(7484),A=o(3618),L=o(7525),N=o(4546),_=o(8776),z=o(1894),m=o(822),v=o(2359);function M(e,c){1&e&&(n.TgZ(0,"nz-card"),n.TgZ(1,"nz-typography"),n._uU(2," If you have a source publication that you believe to contain research relevant to CIViC's curation efforts, the community would appreciate your input! Please specify as many details as you can using the form below (only the Pubmed ID and Comment are required). Your suggested source will be placed in the "),n.TgZ(3,"a",3),n._uU(4,"source curation queue"),n.qZA(),n._uU(5,", and you will be given a suggestion credit if your suggestion results in a new Evidence Item added to the CIViC database. "),n.qZA(),n.qZA())}function U(e,c){1&e&&n.GkF(0)}function G(e,c){if(1&e){const a=n.EpF();n.TgZ(0,"formly-form",9),n.NdJ("modelChange",function(y){return n.CHM(a),n.oxw(2).formModel=y}),n.qZA()}if(2&e){const a=n.oxw(2);n.Q6J("form",a.formGroup)("fields",a.formFields)("model",a.formModel)("options",a.formOptions)}}function x(e,c){if(1&e&&(n.TgZ(0,"nz-form-item"),n._UZ(1,"cvc-form-errors-alert",11),n.qZA()),2&e){const a=n.oxw(3);n.xp6(1),n.Q6J("errors",a.errorMessages)}}function E(e,c){1&e&&(n.TgZ(0,"p"),n._uU(1," Thank You! Your source will now appear in the "),n.TgZ(2,"a",3),n._uU(3," Source Suggestion curation queue."),n.qZA(),n.qZA())}function D(e,c){if(1&e&&(n.ynx(0),n._UZ(1,"nz-alert",12),n.YNc(2,E,4,0,"ng-template",13,14,n.W1O),n.BQk()),2&e){const a=n.MAs(3);n.xp6(1),n.Q6J("nzDescription",a)}}function W(e,c){if(1&e&&(n.YNc(0,x,2,1,"nz-form-item",10),n.YNc(1,D,4,1,"ng-container",10)),2&e){const a=n.oxw(2);n.Q6J("ngIf",a.errorMessages.length>0),n.xp6(1),n.Q6J("ngIf",a.success)}}function j(e,c){if(1&e){const a=n.EpF();n.TgZ(0,"nz-spin",4),n.TgZ(1,"form",5),n.NdJ("ngSubmit",function(){n.CHM(a);const y=n.oxw();return y.submitSourceSuggestion(y.formModel)}),n.YNc(2,U,1,0,"ng-container",6),n.YNc(3,G,1,4,"formly-form",7),n.qZA(),n.YNc(4,W,2,2,"ng-template",null,8,n.W1O),n.qZA()}if(2&e){const a=n.MAs(5),u=n.oxw();n.Q6J("nzSpinning",u.loading),n.xp6(1),n.Q6J("formGroup",u.formGroup),n.xp6(1),n.Q6J("ngTemplateOutlet",a),n.xp6(1),n.Q6J("ngIf",!u.success)}}let $=(()=>{class e{constructor(a,u){this.suggestSourceGQL=a,this.errService=u,this.destroy$=new b.xQ,this.formGroup=new O.cw({}),this.formOptions={},this.success=!1,this.errorMessages=[],this.loading=!1,this.suggestSourceMutator=new Q.U(u),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Suggest Source Form"},fieldGroup:[{key:"gene",type:"gene-array",templateOptions:{maxCount:1}},{key:"variant",type:"variant-array",templateOptions:{maxCount:1}},{key:"disease",type:"disease-array",templateOptions:{maxCount:1}},{key:"source",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Source",helpText:"CIViC accepts PubMed or ASCO Abstracts sources. Please provide the source of the support for your evidence here.",addText:"Specify a Source",required:!0,maxCount:1},fieldArray:{type:"source-input",templateOptions:{hideLabel:!0,required:!0}}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",helpText:"Please provide any additional comments you wish to make about this Source Suggestion. This comment will appear as the first comment in this item's comment thread.",placeholder:"Please enter a comment describing your revision.",required:!0,minLength:10}},{key:"cancel",type:"cancel-button"},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Source Suggestion",submitSize:"large"}}]}]}submitSourceSuggestion(a){console.log(a);let u=this.toSubmitInput(a);if(u){let y=this.suggestSourceMutator.mutate(this.suggestSourceGQL,{input:u},{},S=>{this.newId=S.suggestSource.sourceSuggestion.id});y.submitSuccess$.pipe((0,C.R)(this.destroy$)).subscribe(S=>{S&&(this.success=!0)}),y.submitError$.pipe((0,C.R)(this.destroy$)).subscribe(S=>{S&&(this.errorMessages=S,this.success=!1)}),y.isSubmitting$.pipe((0,C.R)(this.destroy$)).subscribe(S=>{this.loading=S})}}toSubmitInput(a){var u,y,S,q;if(a){const nt=a.fields;return{variantId:null===(u=nt.variant[0])||void 0===u?void 0:u.id,geneId:null===(y=nt.gene[0])||void 0===y?void 0:y.id,sourceId:nt.source[0].id,diseaseId:null===(S=nt.disease[0])||void 0===S?void 0:S.id,comment:nt.comment,organizationId:null===(q=null==a?void 0:a.fields.organization)||void 0===q?void 0:q.id}}}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)(n.Y36(Z.SWk),n.Y36(Y.Y))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-source-submit-form"]],decls:3,vars:0,consts:[["nzDirection","vertical"],[4,"nzSpaceItem"],["nzTip","Submitting",3,"nzSpinning",4,"nzSpaceItem"],["routerLink","/curation/queues/pending-sources"],["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],["formMessages",""],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Source Suggestion Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""]],template:function(a,u){1&a&&(n.TgZ(0,"nz-space",0),n.YNc(1,M,6,0,"nz-card",1),n.YNc(2,j,6,4,"nz-spin",2),n.qZA())},directives:[T.NU,T.$1,w.bd,A.ZU,d.yS,L.W,O._Y,O.JL,N.Lr,O.sg,t.tP,t.O5,_.T7,z.SK,N.Nx,m.V,v.r],styles:[""]}),e})(),H=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-source-add-page"]],decls:10,vars:0,consts:[["displayName","New"],[1,"site-page-header"],["nz-icon","","nzType","civic:assertion"],[1,"content"]],template:function(a,u){1&a&&(n._UZ(0,"cvc-section-navigation",0),n.TgZ(1,"nz-page-header",1),n.TgZ(2,"nz-page-header-title"),n._UZ(3,"i",2),n._uU(4," Add a Source Suggestion "),n.qZA(),n.TgZ(5,"nz-page-header-subtitle"),n._uU(6," Submit a promising source for curation "),n.qZA(),n.TgZ(7,"nz-page-header-content"),n.TgZ(8,"div",3),n._UZ(9,"cvc-source-submit-form"),n.qZA(),n.qZA(),n.qZA())},directives:[I.I,h.$O,h.u9,h.yG,h.u5,$],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var F=o(373),R=o(1059),V=o(9350),s=o(6949),i=o(6042),r=o(2643),g=o(2683),P=o(647),K=o(6550),k=o(2233);function et(e,c){1&e&&(n.TgZ(0,"button",10),n._UZ(1,"i",11),n._uU(2," Suggest a New Source "),n.qZA())}function p(e,c){if(1&e&&(n.ynx(0),n.YNc(1,et,3,0,"button",9),n.BQk()),2&e){const a=c.ngrxLet;n.xp6(1),n.Q6J("ngIf",a.signedIn)}}function f(e,c){if(1&e&&n.YNc(0,p,2,1,"ng-container",8),2&e){const a=n.oxw(2);n.Q6J("ngrxLet",a.viewer$)}}function l(e,c){if(1&e&&(n.ynx(0),n._UZ(1,"cvc-section-navigation",1),n.YNc(2,f,1,1,"ng-template",null,2,n.W1O),n.TgZ(4,"nz-page-header",3),n.TgZ(5,"nz-page-header-title"),n._UZ(6,"i",4),n._uU(7),n.qZA(),n.TgZ(8,"nz-page-header-extra"),n.TgZ(9,"cvc-link-tag",5),n._uU(10),n.qZA(),n.qZA(),n.TgZ(11,"nz-page-header-content"),n._UZ(12,"cvc-tab-navigation",6),n.TgZ(13,"div",7),n._UZ(14,"router-outlet"),n.qZA(),n.qZA(),n.qZA(),n.BQk()),2&e){const a=c.ngIf,u=n.MAs(3),y=n.oxw();n.xp6(1),n.Q6J("displayName",a.citation)("actionsTpl",u),n.xp6(6),n.hij(" ",a.citation," "),n.xp6(2),n.Q6J("href",a.sourceUrl)("tooltip","View on "+a.displayType),n.xp6(1),n.hij(" ",a.displayType+": "+a.citationId," "),n.xp6(2),n.Q6J("tabs",y.tabs)}}let B=(()=>{class e{constructor(a,u,y){this.viewerService=a,this.route=u,this.gql=y,this.viewer$=this.viewerService.viewer$,this.routeSub=this.route.params.subscribe(S=>{this.sourceId=+S.sourceId,this.queryRef=this.gql.watch({sourceId:this.sourceId});let q=this.queryRef.valueChanges;this.loading$=q.pipe((0,F.j)("loading"),(0,R.O)(!0)),this.source$=q.pipe((0,F.j)("data","source"))}),this.tabs=[{routeName:"summary",iconName:"pic-left",tabLabel:"Summary"},{routeName:"comments",iconName:"civic-comment",tabLabel:"Comments"}]}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(a){return new(a||e)(n.Y36(V.a),n.Y36(d.gz),n.Y36(Z.Bk6))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-sources-detail"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName","actionsTpl"],["sourcesActions",""],[1,"site-page-header"],["nz-icon","","nzType","civic:source"],[3,"href","tooltip"],[3,"tabs"],[1,"content"],[4,"ngrxLet"],["routerLink","/sources/add","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/sources/add","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"]],template:function(a,u){1&a&&(n.YNc(0,l,15,7,"ng-container",0),n.ALo(1,"ngrxPush")),2&a&&n.Q6J("ngIf",n.lcZ(1,1,u.source$))},directives:[t.O5,I.I,s.eJ,i.ix,r.dQ,d.rH,g.w,P.Ls,h.$O,h.u9,h.Jp,K.l,h.u5,k.P,d.lC],pipes:[s.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var tt=o(3575);function it(e,c){1&e&&(n.TgZ(0,"button",18),n._UZ(1,"i",19),n._uU(2," Suggest a New Source "),n.qZA())}function rt(e,c){if(1&e&&(n.ynx(0),n.YNc(1,it,3,0,"button",17),n.BQk()),2&e){const a=c.ngrxLet;n.xp6(1),n.Q6J("ngIf",a.signedIn)}}function ct(e,c){if(1&e&&n.YNc(0,rt,2,1,"ng-container",16),2&e){const a=n.oxw();n.Q6J("ngrxLet",a.viewer$)}}function st(e,c){1&e&&(n.TgZ(0,"a",20),n._UZ(1,"i",21),n._uU(2," View Source Docs "),n.qZA())}function pt(e,c){1&e&&(n.TgZ(0,"a",22),n._UZ(1,"i",21),n._uU(2," View Source Curation Docs "),n.qZA())}let gt=(()=>{class e{constructor(a){this.viewerService=a,this.viewer$=this.viewerService.viewer$}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)(n.Y36(V.a))},e.\u0275cmp=n.Xpm({type:e,selectors:[["sources-home"]],decls:21,vars:3,consts:[[3,"actionsTpl"],["sourcesActions",""],[1,"site-page-header"],[1,"header-content"],["nzFlex","64px",1,"header-icon"],["nz-icon","","nzType","civic:source"],["nzFlex","600px",1,"header-description"],["nz-typography","","nzEllipsis","","nzExpandable","",3,"nzEllipsisRows"],["nzFlex","auto",1,"header-links"],["nzDirection","vertical",1,"docs-buttons"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html#curating-source","target","_blank","nzSize","small","nzBlock","",4,"nzSpaceItem"],["nz-row",""],["nz-col","",3,"nzSpan"],[1,"content"],["cvcTitle","Browse Sources"],[4,"ngrxLet"],["routerLink","/sources/add","nz-button","","nzSize","small",4,"ngIf"],["routerLink","/sources/add","nz-button","","nzSize","small"],["nz-icon","","nzType","plus-circle"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html","target","_blank","nzSize","small","nzBlock",""],["nz-icon","","nzType","link","nzTheme","outline"],["nz-button","","href","https://civic.readthedocs.io/en/latest/model/evidence/source.html#curating-source","target","_blank","nzSize","small","nzBlock",""]],template:function(a,u){if(1&a&&(n._UZ(0,"cvc-section-navigation",0),n.YNc(1,ct,1,1,"ng-template",null,1,n.W1O),n.TgZ(3,"nz-page-header",2),n.TgZ(4,"nz-page-header-content"),n.TgZ(5,"nz-row",3),n.TgZ(6,"nz-col",4),n._UZ(7,"i",5),n.qZA(),n.TgZ(8,"nz-col",6),n.TgZ(9,"h2"),n._uU(10,"Sources"),n.qZA(),n.TgZ(11,"p",7),n._uU(12," Each Evidence Item is associated with a Source which supports the Item's clinical claims. CIViC accepts publications known to PubMed or abstracts published through the American Society of Clinical Oncology. "),n.qZA(),n.qZA(),n.TgZ(13,"nz-col",8),n.TgZ(14,"nz-space",9),n.YNc(15,st,3,0,"a",10),n.YNc(16,pt,3,0,"a",11),n.qZA(),n.qZA(),n.qZA(),n.TgZ(17,"div",12),n.TgZ(18,"div",13),n.TgZ(19,"div",14),n._UZ(20,"cvc-sources-table",15),n.qZA(),n.qZA(),n.qZA(),n.qZA(),n.qZA()),2&a){const y=n.MAs(2);n.Q6J("actionsTpl",y),n.xp6(11),n.Q6J("nzEllipsisRows",2),n.xp6(7),n.Q6J("nzSpan",24)}},directives:[I.I,s.eJ,t.O5,i.ix,r.dQ,d.rH,g.w,P.Ls,h.$O,h.u5,z.SK,z.t3,A.ZU,T.NU,T.$1,tt.d],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),e})();var ot=o(3098),lt=o(4049),ut=o(8965),mt=o(9814);function dt(e,c){if(1&e&&(n.TgZ(0,"h2"),n._uU(1),n.qZA()),2&e){const a=n.oxw().ngIf;n.xp6(1),n.Oqu(a.title)}}function _t(e,c){if(1&e&&(n.ynx(0),n._uU(1),n.BQk()),2&e){const a=n.oxw(3).ngIf;n.xp6(1),n.hij(" ",a.pmcId," ")}}function vt(e,c){}function ft(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions-item",26),n.YNc(1,vt,0,0,"ng-template",27),n.qZA()),2&e){n.oxw(3);const a=n.MAs(9);n.xp6(1),n.Q6J("ngTemplateOutlet",a)}}function ht(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions-item",26),n._UZ(1,"cvc-clinical-trial-tag",28),n.qZA()),2&e){const a=n.oxw(4).ngIf;n.xp6(1),n.Q6J("clinicalTrial",a.clinicalTrials[0])}}function zt(e,c){if(1&e&&n._UZ(0,"cvc-clinical-trial-tag",28),2&e){const a=n.oxw().$implicit;n.Q6J("clinicalTrial",a)}}function xt(e,c){1&e&&(n.ynx(0),n.TgZ(1,"nz-space"),n.YNc(2,zt,1,1,"cvc-clinical-trial-tag",31),n.qZA(),n.BQk())}function Ct(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions-item",29),n.YNc(1,xt,3,0,"ng-container",30),n.qZA()),2&e){const a=n.oxw(4).ngIf;n.xp6(1),n.Q6J("ngForOf",a.clinicalTrials)}}function Tt(e,c){if(1&e&&(n.ynx(0,22),n.YNc(1,ft,2,1,"ng-template",23),n.YNc(2,ht,2,1,"ng-template",24),n.YNc(3,Ct,2,1,"ng-template",25),n.BQk()),2&e){const a=n.oxw(3).ngIf;n.Q6J("ngPlural",a.clinicalTrials.length)}}function yt(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions",15),n.TgZ(1,"nz-descriptions-item",16),n._uU(2),n.qZA(),n.TgZ(3,"nz-descriptions-item",17),n._uU(4),n.qZA(),n.TgZ(5,"nz-descriptions-item",18),n._uU(6),n.qZA(),n.TgZ(7,"nz-descriptions-item",19),n.YNc(8,_t,2,1,"ng-container",20),n.qZA(),n.YNc(9,Tt,4,1,"ng-container",21),n.qZA()),2&e){n.oxw();const a=n.MAs(9),u=n.oxw().ngIf;n.Q6J("nzColumn",1),n.xp6(2),n.Oqu(u.publicationDate),n.xp6(1),n.MGl("nzTitle","",u.displayType," ID"),n.xp6(1),n.Oqu(u.citationId),n.xp6(2),n.Oqu(u.fullJournalTitle),n.xp6(2),n.Q6J("ngIf",u.pmcId)("ngIfElse",a),n.xp6(1),n.Q6J("ngIf",u.clinicalTrials)}}function Pt(e,c){1&e&&(n.TgZ(0,"span",32),n._uU(1," Not available "),n.qZA())}function St(e,c){if(1&e&&(n.TgZ(0,"nz-descriptions",33),n.TgZ(1,"nz-descriptions-item",34),n._uU(2),n.qZA(),n.qZA()),2&e){const a=n.oxw(2).ngIf;n.Q6J("nzColumn",1),n.xp6(2),n.hij(" ",a.authorString," ")}}function Ot(e,c){if(1&e&&(n.TgZ(0,"nz-row",7),n.TgZ(1,"nz-col",8),n.TgZ(2,"nz-descriptions",9),n.TgZ(3,"nz-descriptions-item",10),n._uU(4),n.qZA(),n.qZA(),n.qZA(),n.TgZ(5,"nz-col",8),n.TgZ(6,"nz-space",11),n.YNc(7,yt,10,8,"nz-descriptions",12),n.YNc(8,Pt,2,0,"ng-template",null,13,n.W1O),n.YNc(10,St,3,2,"nz-descriptions",14),n.qZA(),n.qZA(),n.qZA()),2&e){const a=n.oxw().ngIf;n.Q6J("nzGutter",16),n.xp6(1),n.Q6J("nzSpan",12),n.xp6(3),n.Oqu(a.abstract),n.xp6(1),n.Q6J("nzSpan",12)}}function Zt(e,c){if(1&e&&n._UZ(0,"cvc-evidence-table",35),2&e){n.oxw();const a=n.MAs(5),u=n.oxw();n.Q6J("sourceId",u.sourceId)("cvcTitleTemplate",a)}}function Mt(e,c){if(1&e&&(n._uU(0," Evidence for "),n.TgZ(1,"i"),n._uU(2),n.qZA()),2&e){const a=n.oxw().ngIf;n.xp6(2),n.Oqu(a.title)}}function It(e,c){if(1&e&&n._UZ(0,"cvc-source-suggestions-table",35),2&e){n.oxw();const a=n.MAs(8),u=n.oxw();n.Q6J("sourceId",u.sourceId)("cvcTitleTemplate",a)}}function At(e,c){if(1&e&&(n._uU(0," Source Suggestions for "),n.TgZ(1,"i"),n._uU(2),n.qZA()),2&e){const a=n.oxw().ngIf;n.xp6(2),n.Oqu(a.title)}}function bt(e,c){1&e&&(n.TgZ(0,"nz-space",1),n.YNc(1,dt,2,1,"h2",2),n.YNc(2,Ot,11,4,"nz-row",3),n.YNc(3,Zt,1,2,"cvc-evidence-table",4),n.YNc(4,Mt,3,1,"ng-template",null,5,n.W1O),n.YNc(6,It,1,2,"cvc-source-suggestions-table",4),n.YNc(7,At,3,1,"ng-template",null,6,n.W1O),n.qZA())}let Jt=(()=>{class e{constructor(a,u){this.route=a,this.gql=u,this.routeSub=this.route.params.subscribe(y=>{this.sourceId=+y.sourceId,this.queryRef=this.gql.watch({sourceId:this.sourceId});let S=this.queryRef.valueChanges;this.loading$=S.pipe((0,F.j)("loading"),(0,R.O)(!0)),this.source$=S.pipe((0,F.j)("data","source"))})}ngOnDestroy(){this.routeSub.unsubscribe()}}return e.\u0275fac=function(a){return new(a||e)(n.Y36(d.gz),n.Y36(Z.g0X))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-sources-summary"]],decls:2,vars:3,consts:[["nzSize","middle","nzDirection","vertical","class","space-align-block",4,"ngIf"],["nzSize","middle","nzDirection","vertical",1,"space-align-block"],[4,"nzSpaceItem"],[3,"nzGutter",4,"nzSpaceItem"],[3,"sourceId","cvcTitleTemplate",4,"nzSpaceItem"],["evidenceCardTitle",""],["sourceSuggestionCardTitle",""],[3,"nzGutter"],[3,"nzSpan"],["nzBordered","","nzLayout","vertical"],["nzTitle","Abstract"],["nzDirection","vertical"],["nzBordered","",3,"nzColumn",4,"nzSpaceItem"],["notAvailable",""],["nzBordered","","nzLayout","vertical",3,"nzColumn",4,"nzSpaceItem"],["nzBordered","",3,"nzColumn"],["nzTitle","Published"],[3,"nzTitle"],["nzTitle","Journal"],["nzTitle","PMC ID"],[4,"ngIf","ngIfElse"],[3,"ngPlural",4,"ngIf"],[3,"ngPlural"],["ngPluralCase","=0"],["ngPluralCase","=1"],["ngPluralCase","other"],["nzTitle","Clinicial Trial"],[3,"ngTemplateOutlet"],[3,"clinicalTrial"],["nzTitle","Clinicial Trials"],[4,"ngFor","ngForOf"],[3,"clinicalTrial",4,"nzSpaceItem"],["nz-typography","","nzType","secondary"],["nzBordered","","nzLayout","vertical",3,"nzColumn"],["nzTitle","Authors"],[3,"sourceId","cvcTitleTemplate"]],template:function(a,u){1&a&&(n.YNc(0,bt,9,0,"nz-space",0),n.ALo(1,"ngrxPush")),2&a&&n.Q6J("ngIf",n.lcZ(1,1,u.source$))},directives:[t.O5,T.NU,T.$1,z.SK,z.t3,ot.R7,ot.uj,t.iq,t.zE,t.tP,lt.G,t.sg,A.ZU,ut.a,mt.O],pipes:[s.fM],styles:[""]}),e})(),Qt=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(a){return new(a||e)},e.\u0275cmp=n.Xpm({type:e,selectors:[["app-sources"]],decls:1,vars:0,template:function(a,u){1&a&&n._UZ(0,"router-outlet")},directives:[d.lC],styles:[""]}),e})();var wt=o(3801);const Nt=[{path:"",component:Qt,children:[{path:"",redirectTo:"home",pathMatch:"full"},{path:"home",component:gt,data:{breadcrumb:"Home"}},{path:"add",data:{breadcrumb:"Submit a Source Suggestion"},component:H},{path:":sourceId",component:B,data:{breadcrumb:"DISPLAYNAME"},children:[{path:"",redirectTo:"summary",pathMatch:"full"},{path:"summary",component:Jt,data:{breadcrumb:"Summary"}},{path:"comments",component:(()=>{class e{constructor(a){this.route=a,this.commentable={id:+this.route.snapshot.params.sourceId,entityType:Z.OfU.Source}}}return e.\u0275fac=function(a){return new(a||e)(n.Y36(d.gz))},e.\u0275cmp=n.Xpm({type:e,selectors:[["cvc-sources-comments"]],decls:1,vars:1,consts:[[3,"commentable"]],template:function(a,u){1&a&&n._UZ(0,"cvc-comment-list",0),2&a&&n.Q6J("commentable",u.commentable)},directives:[wt.D],styles:["[_nghost-%COMP%]{display:block}"]}),e})(),data:{breadcrumb:"Comments"}}]}]}];let Ut=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[d.Bz.forChild(Nt)],d.Bz]}),e})();var Yt=o(7279),at=o(5630);let Lt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.ez,d.Bz,s.WG,h.KJ,P.PV,z.Jb,i.sL,A.ZJ,T.zf,at.D,Yt.h]]}),e})();var Et=o(3630),Dt=o(8762);let Bt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.ez,d.Bz,s.WG,h.KJ,i.sL,P.PV,at.D,Et.X,Dt.c]]}),e})();var Ft=o(5453),Gt=o(767),Rt=o(2832);let Vt=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.ez,s.WG,z.Jb,T.zf,z.Jb,T.zf,A.ZJ,P.PV,ot.q6,Gt.Q,Rt.W,Ft.N]]}),e})();var Wt=o(5109),jt=o(7008),$t=o(4889),Ht=o(4623),Kt=o(3416),Xt=o(1605),qt=o(1270),kt=o(3022),tn=o(5926),nn=o(5472);let en=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.ez,d.Bz,O.UX,_.X0,L.j,N.U5,v.L,nn.r,jt.B,Xt.e,tn.J,Kt.g,qt.i,Ht.K,kt.e,$t.E,A.ZJ,w.vh,T.zf,d.Bz,Wt.s]]}),e})(),on=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.ez,h.KJ,at.D,en]]}),e})();var an=o(2278);let rn=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.ez,an.l]]}),e})(),cn=(()=>{class e{}return e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=n.oAB({type:e}),e.\u0275inj=n.cJS({imports:[[t.ez,d.Bz,Ut,Lt,Bt,Vt,on,rn]]}),e})()}}]);
\ No newline at end of file
diff --git a/server/public/7559.f5b2e5993b711209.js b/server/public/7559.f5b2e5993b711209.js
deleted file mode 100644
index 3fec2ea70..000000000
--- a/server/public/7559.f5b2e5993b711209.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7559],{7559:(It,w,r)=>{r.r(w),r.d(w,{EvidenceAddModule:()=>bt});var s=r(9808),u=r(325),L=r(4850),e=r(5e3),Y=r(9350),$=r(8992),_=r(1945),Q=r(647),g=r(1894),B=r(8616),v=r(6949);function V(n,o){1&n&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function G(n,o){1&n&&(e.TgZ(0,"nz-row",7),e.TgZ(1,"div",8),e._UZ(2,"cvc-login-prompt"),e.qZA(),e.qZA())}let D=(()=>{class n{constructor(t){this.viewerService=t}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,L.U)(t=>t.signedIn))}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Y.a))},n.\u0275cmp=e.Xpm({type:n,selectors:[["evidence-add"]],decls:13,vars:4,consts:[["displayName","New"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:evidence"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(t,i){if(1&t&&(e._UZ(0,"cvc-section-navigation",0),e.TgZ(1,"nz-page-header",1),e.TgZ(2,"nz-page-header-title",2),e._UZ(3,"i",3),e._uU(4," Add New Evidence "),e.qZA(),e.TgZ(5,"nz-page-header-subtitle"),e._uU(6," Submit and review new evidence items "),e.qZA(),e.TgZ(7,"nz-page-header-content"),e.TgZ(8,"div",4),e.YNc(9,V,2,0,"div",5),e.ALo(10,"ngrxPush"),e.YNc(11,G,3,0,"ng-template",null,6,e.W1O),e.qZA(),e.qZA(),e.qZA()),2&t){const a=e.MAs(12);e.xp6(9),e.Q6J("ngIf",e.lcZ(10,2,i.isSignedIn$))("ngIfElse",a)}},directives:[$.I,_.$O,_.u9,Q.Ls,_.yG,_.u5,s.O5,u.lC,g.SK,g.t3,B.u],pipes:[v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),n})();var p=r(8144),k=r(6559),S=r(7484),R=r(1135),j=r(4623),X=r(8006),H=r(5452),W=r(3643),K=r(4375),F=r(7008),q=r(7695),ee=r(8390),te=r(1825),ne=r(5457),ie=r(5743),oe=r(3773),re=r(7075),ae=r(7462),ce=r(3594),J=r(8929),T=r(591),x=r(7625),b=r(537),d=r(712),P=r(9169);let se=(()=>{class n{constructor(t,i){this.submitEvidenceItemGQL=t,this.networkErrorService=i,this.destroy$=new J.xQ,this.isSubmitting$=new T.X(!1),this.submitSuccess$=new T.X(!1),this.submitError$=new T.X([])}submit(t){this.isSubmitting$.next(!0),this.submitEvidenceItemGQL.mutate({input:t}).pipe((0,x.R)(this.destroy$),(0,b.x)(()=>{this.isSubmitting$.next(!1)})).subscribe({error:i=>{i.graphQLErrors.length>0?this.submitError$.next(i.graphQLErrors.map(a=>a.message)):i.networkError&&this.networkErrorService.networkError$.next(i.networkError)},complete:()=>{this.submitError$.next([]),this.submitSuccess$.next(!0),this.networkErrorService.networkError$.next(void 0)}})}cleanup(){this.submitError$.next([]),this.submitSuccess$.next(!1),this.isSubmitting$.next(!1),this.networkErrorService.networkError$.next(void 0)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(d.WFw),e.LFG(P.Y))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac}),n})();var m=r(8776),I=r(5109),C=r(2359),E=r(6042),y=r(4546),l=r(4182),de=r(2789),le=r(5932),ue=r(3416),pe=r(2480),me=r(1830),ge=r(4581),fe=r(1605),he=r(5926),_e=r(1270),U=r(7525),ve=r(6530),O=r(444),ye=r(6906);function xe(n,o){if(1&n&&(e.ynx(0),e._UZ(1,"formly-field",2),e.BQk()),2&n){const t=o.$implicit;e.xp6(1),e.Q6J("field",t)}}function Ce(n,o){if(1&n&&e._UZ(0,"cvc-source-tag",3),2&n){const t=e.oxw();e.Q6J("source",t.model.source)}}let ze=(()=>{class n extends m.fS{constructor(){super(),this.defaultOptions={templateOptions:{label:"Source",entityType:"Source",entityFragment:d.iXf},defaultValue:{sourceType:d.yic.Pubmed,source:void 0},fieldGroupClassName:"select-group",fieldGroup:[{key:"sourceType",type:"select",className:"type-field",templateOptions:{required:!1,placeholder:"Select Type",options:(0,O.o6)(d.yic).map((t,i)=>({value:t,label:(0,ve.c)(t)}))},hideExpression:(t,i,a)=>(console.log(t),null!=t.source)},{key:"source",type:"citation-select",className:"citation-field",templateOptions:{required:!1},hideExpression:(t,i,a)=>(console.log(t),null!=t.source)}]}}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-source-select"]],features:[e.qOj],decls:2,vars:2,consts:[[4,"ngFor","ngForOf"],[3,"source",4,"ngIf"],[3,"field"],[3,"source"]],template:function(t,i){1&t&&(e.YNc(0,xe,2,1,"ng-container",0),e.YNc(1,Ce,1,1,"cvc-source-tag",1)),2&t&&(e.Q6J("ngForOf",i.field.fieldGroup),e.xp6(1),e.Q6J("ngIf",null!=i.model.source))},directives:[s.sg,m.cw,s.O5,ye.T],styles:["[_nghost-%COMP%]{display:block}.type-field[_ngcontent-%COMP%]{display:inline-block;width:10em}.citation-field[_ngcontent-%COMP%]{display:inline-block;margin-left:.5em;width:calc(100% - 10.5em)}.hidden[_ngcontent-%COMP%]{display:none}"]}),n})();var z=r(8054),M=r(3618),Se=r(8481),Te=r(373),N=r(822),be=r(2643),Ie=r(2683);function Ee(n,o){if(1&n&&e._UZ(0,"nz-alert",6),2&n){e.oxw();const t=e.MAs(3);e.Q6J("nzMessage",t)}}function Oe(n,o){if(1&n&&(e._uU(0," Found citation: "),e.TgZ(1,"em"),e._uU(2),e.qZA(),e._uU(3,", would you like to add it? ")),2&n){const t=e.oxw(3);e.xp6(2),e.Oqu(t.foundCitation)}}function Me(n,o){1&n&&(e.ynx(0),e.YNc(1,Ee,1,1,"nz-alert",4),e.YNc(2,Oe,4,1,"ng-template",null,5,e.W1O),e.BQk())}function Ae(n,o){if(1&n&&e._UZ(0,"nz-alert",9),2&n){e.oxw();const t=e.MAs(3);e.Q6J("nzMessage",t)}}function Ze(n,o){if(1&n&&(e._uU(0," '"),e.TgZ(1,"em"),e._uU(2),e.qZA(),e._uU(3,"' created. ")),2&n){const t=e.oxw(3);e.xp6(2),e.Oqu(t.foundCitation)}}function we(n,o){1&n&&(e.ynx(0),e.YNc(1,Ae,1,1,"nz-alert",7),e.YNc(2,Ze,4,1,"ng-template",null,8,e.W1O),e.BQk())}function Le(n,o){if(1&n&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",10),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("errors",t.createErrors)}}function Qe(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(a){return e.CHM(t),e.oxw(3).onAddRemoteCitation(a)}),e._uU(1," Add\xa0'"),e.TgZ(2,"em"),e._uU(3),e.qZA(),e._uU(4,"'\xa0 to CIViC Sources "),e.qZA()}if(2&n){const t=e.oxw(3);e.Q6J("nzLoading",t.isCreating),e.xp6(3),e.Oqu(t.foundCitation)}}function Fe(n,o){1&n&&(e.ynx(0),e.YNc(1,Qe,5,2,"button",11),e.BQk())}function Je(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",14),e.NdJ("click",function(a){return e.CHM(t),e.oxw(3).onAcceptSource(a)}),e._uU(1," Specify this Source "),e.qZA()}}function Pe(n,o){1&n&&(e.ynx(0),e.YNc(1,Je,2,0,"button",13),e.BQk())}function Ue(n,o){if(1&n&&(e.ynx(0),e.TgZ(1,"nz-space",2),e.YNc(2,Me,4,0,"ng-container",3),e.YNc(3,we,4,0,"ng-container",3),e.YNc(4,Le,2,1,"nz-form-item",3),e.YNc(5,Fe,2,0,"ng-container",3),e.YNc(6,Pe,2,0,"ng-container",3),e.qZA(),e.BQk()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!1===t.createSuccess&&0===t.createErrors.length),e.xp6(1),e.Q6J("ngIf",!0===t.createSuccess),e.xp6(1),e.Q6J("ngIf",t.createErrors.length>0),e.xp6(1),e.Q6J("ngIf",!1===t.createSuccess),e.xp6(1),e.Q6J("ngIf",!0===t.createSuccess)}}function Ne(n,o){if(1&n&&(e.TgZ(0,"span",16),e._UZ(1,"i",17),e._uU(2),e.qZA()),2&n){const t=e.oxw(3);e.xp6(2),e.hij(" Source not known to CIViC, fetch citation from ",t.sourceTypeKey,"? ")}}function Ye(n,o){1&n&&(e.ynx(0),e.YNc(1,Ne,3,1,"span",15),e.BQk())}function $e(n,o){if(1&n&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",10),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.Q6J("errors",t.existenceErrors)}}function Be(n,o){if(1&n&&e._uU(0),2&n){const t=e.oxw(4);e.AsE(" Citation not found for ",t.sourceTypeKey,": ",t.citationId,". ")}}function Ve(n,o){if(1&n&&(e.TgZ(0,"span"),e._UZ(1,"nz-alert",19),e.YNc(2,Be,1,2,"ng-template",null,20,e.W1O),e.qZA()),2&n){const t=e.MAs(3);e.xp6(1),e.Q6J("nzMessage",t)}}function Ge(n,o){1&n&&(e.ynx(0),e.YNc(1,Ve,4,1,"span",18),e.BQk())}function De(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"button",12),e.NdJ("click",function(a){return e.CHM(t),e.oxw(2).onExistenceQuery(a)}),e._uU(1," Fetch Citation for\xa0"),e.TgZ(2,"strong"),e._uU(3),e.qZA(),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("nzLoading",t.isChecking),e.xp6(3),e.AsE("",t.sourceTypeKey," ",t.citationId,"")}}function ke(n,o){if(1&n&&(e.TgZ(0,"nz-space",2),e.YNc(1,Ye,2,0,"ng-container",3),e.YNc(2,$e,2,1,"nz-form-item",3),e.YNc(3,Ge,2,0,"ng-container",3),e.YNc(4,De,4,3,"button",11),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngIf",t.showPrompt),e.xp6(1),e.Q6J("ngIf",t.existenceErrors.length>0),e.xp6(1),e.Q6J("ngIf",t.existenceFail)}}let Re=(()=>{class n{constructor(t,i,a){this.existenceCheckQuery=t,this.createSourceStubQuery=i,this.changeDetectorRef=a,this.addCitation=new e.vpe,this.citationIdChange=new e.vpe,this.sourceTypeChange=new e.vpe,this.showPrompt=!0,this.isChecking=!1,this.existenceFail=!1,this.existenceErrors=[],this.foundCitation=void 0,this.isCreating=!1,this.createSuccess=!1,this.createErrors=[]}set sourceType(t){this._sourceType=t,this.sourceTypeKey=(0,O.o6)(d.yic).getKeyOrThrow(t)}get sourceType(){return this._sourceType}onExistenceQuery(t){t&&t.preventDefault(),this.isChecking=!0,this.foundCitation=void 0,this.existenceCheckQuery.fetch({sourceType:this.sourceType,citationId:+this.citationId}).pipe((0,b.x)(()=>{this.isChecking=!1,this.changeDetectorRef.detectChanges()})).subscribe({next:({data:{remoteCitation:i}})=>{null!==i?this.foundCitation=i:(this.showPrompt=!1,this.existenceFail=!0)},error:i=>{this.showPrompt=!1,this.existenceErrors=i.graphQLErrors.map(a=>a.message)},complete:()=>{this.existenceErrors=[]}})}onAddRemoteCitation(t){t&&t.preventDefault(),this.isCreating=!0,this.createSuccess=!1,this.createSourceStubQuery.mutate({input:{citationId:+this.citationId,sourceType:this.sourceType}}).pipe((0,b.x)(()=>{this.isCreating=!1,this.changeDetectorRef.detectChanges()})).subscribe({next:({data:i})=>{var a;console.log(i);const c=null===(a=null==i?void 0:i.addRemoteCitation)||void 0===a?void 0:a.newSource;this.sourceStub=c,this.createSuccess=!0},error:i=>{this.showPrompt=!1,this.createSuccess=!1,this.createErrors=i.graphQLErrors.map(a=>a.message)},complete:()=>{this.createErrors=[]}})}onAcceptSource(t){t&&t.preventDefault(),this.addCitation.emit({id:this.sourceStub.id,entityFragment:d.SJD})}ngAfterContentInit(){console.log("model")}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.gtM),e.Y36(d.RMv),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-citation-loader"]],inputs:{model:"model",citationId:"citationId",sourceType:"sourceType"},outputs:{addCitation:"addCitation",citationIdChange:"citationIdChange",sourceTypeChange:"sourceTypeChange"},decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["fetchCitation",""],["nzDirection","vertical"],[4,"ngIf"],["nzType","info","nzShowIcon","",3,"nzMessage",4,"nzSpaceItem"],["foundCitationMsg",""],["nzType","info","nzShowIcon","",3,"nzMessage"],["nzType","success","nzShowIcon","",3,"nzMessage",4,"nzSpaceItem"],["createdMsg",""],["nzType","success","nzShowIcon","",3,"nzMessage"],[3,"errors"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"nzLoading","click",4,"nzSpaceItem"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"nzLoading","click"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"click",4,"nzSpaceItem"],["type","submit","nz-button","","nzBlock","","nzType","primary","nzSize","default",3,"click"],["nz-typography","",4,"nzSpaceItem"],["nz-typography",""],["nz-icon","","nzType","info-circle","nzTheme","twotone"],[4,"nzSpaceItem"],["nzType","warning","nzShowIcon","",3,"nzMessage"],["existenceFail",""]],template:function(t,i){if(1&t&&(e.YNc(0,Ue,7,5,"ng-container",0),e.YNc(1,ke,5,3,"ng-template",null,1,e.W1O)),2&t){const a=e.MAs(2);e.Q6J("ngIf",i.foundCitation)("ngIfElse",a)}},directives:[s.O5,p.NU,p.$1,C.r,g.SK,y.Nx,N.V,E.ix,be.dQ,Ie.w],styles:["[_nghost-%COMP%]{display:block}nz-space[_ngcontent-%COMP%]{width:100%}nz-space-item[_ngcontent-%COMP%]:last-child{margin-bottom:0}"]}),n})();function je(n,o){if(1&n&&(e.TgZ(0,"nz-option",4),e._uU(1),e.qZA()),2&n){const t=o.$implicit;e.Q6J("nzLabel",t.label)("nzValue",t.source),e.xp6(1),e.AsE(" ",t.source.citation," (",t.source.citationId,") ")}}function Xe(n,o){if(1&n&&(e.ynx(0),e.YNc(1,je,2,4,"nz-option",3),e.BQk()),2&n){const t=o.ngrxLet;e.xp6(1),e.Q6J("ngForOf",t)}}function He(n,o){if(1&n&&(e.TgZ(0,"div",8),e._uU(1),e.qZA()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.to.prompt," ")}}function We(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"cvc-citation-loader",9),e.NdJ("addCitation",function(a){return e.CHM(t),e.oxw(2).onAddCitation(a)})("sourceTypeChange",function(a){return e.CHM(t),e.oxw(2).model.sourceType=a})("citationIdChange",function(a){return e.CHM(t),e.oxw(2).to.searchValue=a}),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("model",t.model)("sourceType",t.model.sourceType)("citationId",t.to.searchValue)}}function Ke(n,o){if(1&n&&(e.ynx(0,5),e.YNc(1,He,2,1,"div",6),e.YNc(2,We,1,3,"cvc-citation-loader",7),e.BQk()),2&n){const t=e.oxw();e.Q6J("ngSwitch",t.to.searchLength>0&&t.to.searchLength>=t.to.minSearchLength),e.xp6(1),e.Q6J("ngSwitchCase",!1),e.xp6(1),e.Q6J("ngSwitchCase",!0)}}let qe=(()=>{class n extends m.fS{constructor(t){super(),this.sourceTypeaheadQuery=t,this.defaultOptions={templateOptions:{placeholder:"Search Sources",onSearch:()=>{},minSearchLength:1,maxSearchLength:15,searchLength:0,searchValue:""},expressionProperties:{"templateOptions.prompt":i=>`Search for ${(0,O.o6)(d.yic).getKeyOrThrow(i.sourceType)} sources known to CIViC.`}},this.onAddCitation=i=>{const a=this.field.parent.templateOptions;a.entityType="SourceStub",a.entityFragment=i.entityFragment,this.field.formControl.setValue(i.id)}}ngOnInit(){this.queryRef=this.sourceTypeaheadQuery.watch({sourceType:this.model.sourceType,partialCitationId:9999999}),this.sources$=this.queryRef.valueChanges.pipe((0,Te.j)("data","sourceTypeahead"),(0,L.U)(t=>t.map(i=>({value:i.id,label:i.citation?i.citation:i.name,source:i}))))}ngAfterViewInit(){this.to.onSearch=t=>{this.to.searchLength=t.length,this.to.searchValue=t,!(t.lengththis.to.maxLength)&&this.queryRef.refetch({sourceType:d.yic.Pubmed,partialCitationId:+t})}}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.NbY))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-citation-select-type"]],features:[e.qOj],decls:4,vars:7,consts:[["nzShowSearch","","nzServerSearch","",3,"formControl","formlyAttributes","nzPlaceHolder","nzNotFoundContent","nzShowArrow","nzFilterOption","nzOnSearch"],[4,"ngrxLet"],["notFound",""],["nzCustomContent","",3,"nzLabel","nzValue",4,"ngFor","ngForOf"],["nzCustomContent","",3,"nzLabel","nzValue"],[3,"ngSwitch"],["class","ant-form-item-explain",4,"ngSwitchCase"],[3,"model","sourceType","citationId","addCitation","sourceTypeChange","citationIdChange",4,"ngSwitchCase"],[1,"ant-form-item-explain"],[3,"model","sourceType","citationId","addCitation","sourceTypeChange","citationIdChange"]],template:function(t,i){if(1&t&&(e.TgZ(0,"nz-select",0),e.NdJ("nzOnSearch",function(c){return i.to.onSearch(c)}),e.YNc(1,Xe,2,1,"ng-container",1),e.qZA(),e.YNc(2,Ke,3,3,"ng-template",null,2,e.W1O)),2&t){const a=e.MAs(3);e.Q6J("formControl",i.formControl)("formlyAttributes",i.field)("nzPlaceHolder",i.to.placeholder?i.to.placeholder:null)("nzNotFoundContent",a)("nzShowArrow",!1)("nzFilterOption",i.to.filterOption),e.xp6(1),e.Q6J("ngrxLet",i.sources$)}},directives:[z.Vq,l.JJ,l.oH,m.VQ,v.eJ,s.sg,z.Ip,s.RF,s.n9,Re],styles:["[_nghost-%COMP%]{display:block}.loading-icon[_ngcontent-%COMP%]{margin-right:8px}.source-citation[_ngcontent-%COMP%]{font-style:oblique}"],changeDetection:0}),n})(),et=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[s.ez,p.zf,C.L,y.U5,F.B,E.sL]]}),n})();const tt={types:[{name:"citation-select",component:qe}]};let nt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[s.ez,l.UX,v.WG,z.LV,et,m.X0.forChild(tt),I.s]]}),n})();var it=r(9779);const ot={types:[{name:"source-select",component:ze,wrappers:["form-field"]}]};let rt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[s.ez,l.UX,v.WG,m.X0.forChild(ot),z.LV,p.zf,M.ZJ,Se.X,nt,it.s]]}),n})();var at=r(5472),ct=r(4889);let st=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[se],imports:[[s.ez,u.Bz,l.UX,I.s,y.U5,C.L,g.Jb,E.sL,U.j,m.X0,te.A,F.B,K.R,q.C,re.l,ee.N,oe.g,H.C,ie.W,ne.$,X.I,ae.o,j.K,ce.q,W.q,R.C,de.o,le.A,ue.g,pe.r,me.S,ge.e,fe.e,he.J,_e.i,rt,at.r,ct.E,S.vh,p.zf,M.ZJ,u.Bz,I.s]]}),n})(),dt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[s.ez,g.Jb,p.zf,S.vh,k.H0,st]]}),n})();var A=r(6738),lt=r(6064),ut=r(6123);function pt(n,o){1&n&&(e.TgZ(0,"nz-card"),e.TgZ(1,"nz-typography"),e._uU(2," To add an evidence item, please complete the following form, provide a short statement supporting its inclusion into the CIViC database, then click the 'Submit Evidence for Inclusion' button. If you are having difficulty filling in all of the required fields please use the "),e.TgZ(3,"a",3),e._uU(4,"Suggest Source form"),e.qZA(),e._uU(5," to suggest a publication for curators to review. "),e._UZ(6,"br"),e._UZ(7,"br"),e.TgZ(8,"strong"),e._uU(9,"Please ensure that your submission contains no "),e.TgZ(10,"a",4),e._uU(11,"Protected Health Information"),e.qZA(),e._uU(12,", and is your own original work. By contributing to CIViC you agree to release your contributions to the public domain as described by the "),e.TgZ(13,"a",5),e._uU(14,"Creative Commons Public Domain Dedication (CC0 1.0 Universal)"),e.qZA(),e._uU(15,"."),e.qZA(),e.qZA(),e.qZA())}function mt(n,o){1&n&&e.GkF(0)}function gt(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"formly-form",11),e.NdJ("modelChange",function(a){return e.CHM(t),e.oxw(2).formModel=a}),e.qZA()}if(2&n){const t=e.oxw(2);e.Q6J("form",t.formGroup)("fields",t.formFields)("model",t.formModel)("options",t.formOptions)}}function ft(n,o){if(1&n&&(e.TgZ(0,"nz-form-item"),e._UZ(1,"cvc-form-errors-alert",13),e.qZA()),2&n){const t=e.oxw(3);e.xp6(1),e.Q6J("errors",t.errorMessages)}}function ht(n,o){if(1&n&&(e.TgZ(0,"p"),e._uU(1,"View "),e.TgZ(2,"a",17),e._uU(3,"its details"),e.qZA(),e._uU(4,"."),e.qZA()),2&n){const t=e.oxw(4);e.xp6(2),e.MGl("routerLink","/evidence/",t.newId,"/summary")}}function _t(n,o){if(1&n&&(e.ynx(0),e._UZ(1,"nz-alert",14),e.YNc(2,ht,5,1,"ng-template",15,16,e.W1O),e.BQk()),2&n){const t=e.MAs(3);e.xp6(1),e.Q6J("nzDescription",t)}}function vt(n,o){if(1&n&&(e.YNc(0,ft,2,1,"nz-form-item",12),e.YNc(1,_t,4,1,"ng-container",12)),2&n){const t=e.oxw(2);e.Q6J("ngIf",t.errorMessages.length>0),e.xp6(1),e.Q6J("ngIf",t.success)}}function yt(n,o){if(1&n){const t=e.EpF();e.TgZ(0,"nz-spin",6),e.TgZ(1,"form",7),e.NdJ("ngSubmit",function(){e.CHM(t);const a=e.oxw();return a.submitEvidence(a.formModel)}),e.YNc(2,mt,1,0,"ng-container",8),e.YNc(3,gt,1,4,"formly-form",9),e.qZA(),e.YNc(4,vt,2,2,"ng-template",null,10,e.W1O),e.qZA()}if(2&n){const t=e.MAs(5),i=e.oxw();e.Q6J("nzSpinning",i.loading),e.xp6(1),e.Q6J("formGroup",i.formGroup),e.xp6(1),e.Q6J("ngTemplateOutlet",t),e.xp6(1),e.Q6J("ngIf",!i.success)}}let xt=(()=>{class n{constructor(t,i,a,c){this.submitEvidenceGQL=t,this.sourceSuggestionGQL=i,this.networkErrorService=a,this.route=c,this.destroy$=new J.xQ,this.formGroup=new l.cw({}),this.formOptions={formState:new lt._},this.success=!1,this.errorMessages=[],this.loading=!1,this.submitEvidenceMutator=new ut.U(a),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Add Evidence Item Form"},fieldGroup:[{key:"gene",type:"gene-array",templateOptions:{maxCount:1,required:!0}},{key:"variant",type:"variant-array",templateOptions:{required:!0,maxCount:1,helpText:"The most specific description of the variant that the underlying source allows."}},{key:"description",type:"cvc-textarea",templateOptions:{label:"Evidence Statement",helpText:'Your original description of evidence from published literature detailing the association or lack of association between a variant and its predictive, prognostic, diagnostic, predisposing, functional or oncogenic value. Data constituting personal or identifying information should not be entered (e.g. protected health information (PHI) as defined by HIPAA in the U.S. and/or comparable laws in your jurisdiction).',placeholder:"No description provided",required:!0}},{key:"source",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Source",helpText:"CIViC accepts PubMed or ASCO Abstracts sources. Please provide the source of the support for your evidence here.",addText:"Specify a Source",maxCount:1},fieldArray:{type:"source-input",templateOptions:{hideLabel:!0,required:!0}}},{key:"variantOrigin",type:"variant-origin-select",templateOptions:{required:!0}},{key:"evidenceType",type:"evidence-type-select",templateOptions:{required:!0}},{key:"clinicalSignificance",type:"clinical-significance-select",templateOptions:{required:!0}},{key:"disease",type:"disease-array",templateOptions:{maxCount:1}},{key:"evidenceLevel",type:"evidence-level-select",templateOptions:{required:!0}},{key:"evidenceDirection",type:"evidence-direction-select",templateOptions:{required:!0}},{key:"drugs",type:"drug-array"},{key:"drugInteractionType",type:"drug-interaction-select"},{key:"phenotypes",type:"phenotype-array"},{key:"evidenceRating",type:"rating-input",templateOptions:{required:!0,label:"Rating",helpText:"Please rate your evidence on a scale of one to five stars. Use the star rating descriptions for guidance."}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",helpText:"Please provide any additional comments you wish to make about this evidence item. This comment will appear as the first comment in this item's comment thread.",placeholder:"Please enter a comment describing your revision.",required:!1,minLength:10}},{key:"cancel",type:"cancel-button"},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Evidence Item",submitSize:"large"}}]}]}ngAfterViewInit(){this.route.queryParams.subscribe(t=>{let i=!1;t.geneId&&(i=!0,this.submittedGeneId=+t.geneId),t.variantId&&(i=!0,this.submittedVariantId=+t.variantId),t.sourceId&&(i=!0,this.submittedSourceId=+t.sourceId),t.diseaseId&&(i=!0,this.submittedDiseaseId=+t.diseaseId),i&&this.sourceSuggestionGQL.fetch({geneId:this.submittedGeneId,diseaseId:this.submittedDiseaseId,sourceId:this.submittedSourceId,variantId:this.submittedVariantId}).subscribe(({data:{sourceSuggestionValues:a},loading:c})=>{var f,Z;this.loading=c;let h={fields:{}};a.gene&&(h.fields.gene=[a.gene]),a.disease&&(h.fields.disease=[a.disease]),a.variant&&(h.fields.variant=[a.variant]),a.source&&(h.fields.source=[a.source]),(null===(f=this.formModel.fields)||void 0===f?void 0:f.organization)&&(h.fields.organization=null===(Z=this.formModel.fields)||void 0===Z?void 0:Z.organization),this.formModel=h},a=>{console.error("Error retrieving source suggestion data."),console.error(a)},()=>{this.formOptions.updateInitialValue&&this.formOptions.updateInitialValue(),this.formGroup.markAllAsTouched()})})}submitEvidence(t){let i=this.toSubmitInput(t);if(i){let a=this.submitEvidenceMutator.mutate(this.submitEvidenceGQL,{input:i},{},c=>{this.newId=c.submitEvidence.evidenceItem.id});a.submitSuccess$.pipe((0,x.R)(this.destroy$)).subscribe(c=>{c&&(this.success=!0)}),a.submitError$.pipe((0,x.R)(this.destroy$)).subscribe(c=>{c&&(this.errorMessages=c,this.success=!1)}),a.isSubmitting$.pipe((0,x.R)(this.destroy$)).subscribe(c=>{this.loading=c})}}toSubmitInput(t){var i,a;if(t){const c=t.fields;return{fields:{variantOrigin:c.variantOrigin,description:A.xt(c.description),variantId:c.variant[0].id,sourceId:c.source[0].id,evidenceType:c.evidenceType,evidenceDirection:c.evidenceDirection,clinicalSignificance:c.clinicalSignificance,diseaseId:A.uP(null===(i=c.disease[0])||void 0===i?void 0:i.id),evidenceLevel:c.evidenceLevel,phenotypeIds:c.phenotypes.map(f=>f.id),rating:+c.evidenceRating,drugIds:c.drugs.map(f=>f.id),drugInteractionType:A.uP(c.drugInteractionType)},comment:c.comment&&c.comment.length>0?c.comment:void 0,organizationId:null===(a=null==t?void 0:t.fields.organization)||void 0===a?void 0:a.id}}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(d.WFw),e.Y36(d.FId),e.Y36(P.Y),e.Y36(u.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-submit-form"]],decls:3,vars:0,consts:[["nzDirection","vertical"],[4,"nzSpaceItem"],["nzTip","Submitting",3,"nzSpinning",4,"nzSpaceItem"],["routerLink","/sources/add"],["href","http://www.hipaa.com/hipaa-protected-health-information-what-does-phi-include/","target","_blank"],["href","https://creativecommons.org/publicdomain/zero/1.0/","target","_blank"],["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],["formMessages",""],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Evidence Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],[3,"routerLink"]],template:function(t,i){1&t&&(e.TgZ(0,"nz-space",0),e.YNc(1,pt,16,0,"nz-card",1),e.YNc(2,yt,6,4,"nz-spin",2),e.qZA())},directives:[p.NU,p.$1,S.bd,M.ZU,u.yS,U.W,l._Y,l.JL,y.Lr,l.sg,s.tP,s.O5,m.T7,g.SK,y.Nx,N.V,C.r],styles:[""]}),n})();const Ct=[{path:"",component:D,children:[{path:"",redirectTo:"submit",pathMatch:"full"},{path:"submit",component:(()=>{class n{constructor(t){this.route=t,this.routeParams$=this.route.params.subscribe(i=>{this.evidenceId=+i.evidenceId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(u.gz))},n.\u0275cmp=e.Xpm({type:n,selectors:[["cvc-evidence-submit"]],decls:1,vars:0,template:function(t,i){1&t&&e._UZ(0,"cvc-evidence-submit-form")},directives:[xt],styles:[""]}),n})(),data:{breadcrumb:"Submit New Evidence"}}]}];let zt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[u.Bz.forChild(Ct),dt],u.Bz]}),n})();var St=r(5630),Tt=r(9386);let bt=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[[s.ez,zt,_.KJ,Q.PV,St.D,Tt.a,g.Jb,v.WG]]}),n})()}}]);
\ No newline at end of file
diff --git a/server/public/7893.02d718d842625d7f.js b/server/public/7893.02d718d842625d7f.js
new file mode 100644
index 000000000..efce2688f
--- /dev/null
+++ b/server/public/7893.02d718d842625d7f.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7893],{3887:(L,S,o)=>{o.r(S),o.d(S,{GenesReviseModule:()=>Me});var d=o(9808),m=o(325),x=o(5630),h=o(1945),C=o(647),u=o(373),b=o(1059),M=o(4850),e=o(5e3),z=o(712),_=o(9350),N=o(8992),f=o(1894),O=o(8616),v=o(6949);function T(t,l){1&t&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function I(t,l){1&t&&(e.TgZ(0,"nz-row",8),e.TgZ(1,"div",9),e._UZ(2,"cvc-login-prompt"),e.qZA(),e.qZA())}function A(t,l){if(1&t&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2),e.TgZ(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e._uU(6),e.qZA(),e.TgZ(7,"nz-page-header-subtitle"),e._uU(8),e.qZA(),e.TgZ(9,"nz-page-header-content"),e.TgZ(10,"div",5),e.YNc(11,T,2,0,"div",6),e.ALo(12,"ngrxPush"),e.YNc(13,I,3,0,"ng-template",null,7,e.W1O),e.qZA(),e.qZA(),e.qZA(),e.BQk()),2&t){const n=l.ngIf,r=e.MAs(14),c=e.oxw();e.xp6(1),e.Q6J("displayName",n.name),e.xp6(5),e.hij(" ",n.name," "),e.xp6(2),e.hij(" ",n.officialName," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(12,5,c.isSignedIn$))("ngIfElse",r)}}let E=(()=>{class t{constructor(n,r,c){this.gql=n,this.route=r,this.viewerService=c,this.routeSub=this.route.params.subscribe(g=>{let F=this.gql.watch({geneId:+g.geneId}).valueChanges;this.loading$=F.pipe((0,u.j)("loading"),(0,b.O)(!0)),this.gene$=F.pipe((0,u.j)("data","gene")),this.commentsTotal$=this.gene$.pipe((0,u.j)("comments","totalCount")),this.flagsTotal$=this.gene$.pipe((0,u.j)("flags","totalCount")),this.revisionsTotal$=this.gene$.pipe((0,u.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,M.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(z.TNk),e.Y36(m.gz),e.Y36(_.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["genes-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:gene"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,r){1&n&&(e.YNc(0,A,15,7,"ng-container",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,r.gene$))},directives:[d.O5,N.I,h.$O,h.u9,C.Ls,h.yG,h.u5,m.lC,f.SK,f.t3,O.u],pipes:[d.Ov,v.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();var G=o(8144),P=o(6559),a=o(4182),s=o(4546),i=o(2359),p=o(8776),y=o(1825),B=o(7008),Z=o(4375),J=o(6042),U=o(8390),j=o(3773),R=o(5109),$=o(4623),Q=o(7462),Y=o(4889),w=o(7525),V=o(5472),W=o(7338),D=o(7484),K=o(5482),H=o(6462),X=o(9990),q=o(3022),ee=o(9911),te=o(6501),ne=o(7695);let oe=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[d.ez,m.Bz,v.WG,a.UX,p.X0,R.s,J.sL,D.vh,K.cD,s.U5,i.L,f.Jb,C.PV,H.m,w.j,q.e,y.A,V.r,B.B,Z.R,ee.G,$.K,U.N,j.g,te.r,X.M,Q.o,Y.E,W.z,R.s,ne.C]]}),t})(),ie=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[d.ez,v.WG,D.vh,f.Jb,G.zf,P.H0,h.KJ,oe,x.D]]}),t})();var ae=o(8929),k=o(7625),se=o(6738),re=o(6123),le=o(9169),ce=o(822);function pe(t,l){1&t&&e.GkF(0)}function ge(t,l){if(1&t){const n=e.EpF();e.TgZ(0,"formly-form",6),e.NdJ("modelChange",function(c){return e.CHM(n),e.oxw(2).formModel=c}),e.qZA()}if(2&t){const n=e.oxw(2);e.Q6J("form",n.formGroup)("fields",n.formFields)("model",n.formModel)("options",n.formOptions)}}function de(t,l){if(1&t){const n=e.EpF();e.TgZ(0,"form",3),e.NdJ("ngSubmit",function(){e.CHM(n);const c=e.oxw();return c.submitRevision(c.formModel)}),e.YNc(1,pe,1,0,"ng-container",4),e.YNc(2,ge,1,4,"formly-form",5),e.qZA()}if(2&t){const n=e.oxw(),r=e.MAs(3);e.Q6J("formGroup",n.formGroup),e.xp6(1),e.Q6J("ngTemplateOutlet",r),e.xp6(1),e.Q6J("ngIf",!n.success)}}function me(t,l){if(1&t&&(e.ynx(0),e.TgZ(1,"nz-form-item"),e._UZ(2,"cvc-form-errors-alert",8),e.qZA(),e.BQk()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("errors",n.errorMessages)}}function he(t,l){1&t&&(e.TgZ(0,"p"),e._uU(1,"View it on the "),e.TgZ(2,"a",12),e._uU(3,"Revisions Page"),e.qZA(),e._uU(4,"."),e.qZA())}function fe(t,l){if(1&t&&(e.ynx(0),e._UZ(1,"nz-alert",9),e.YNc(2,he,5,0,"ng-template",10,11,e.W1O),e.BQk()),2&t){const n=e.MAs(3);e.xp6(1),e.Q6J("nzDescription",n)}}function ue(t,l){if(1&t&&(e.YNc(0,me,3,1,"ng-container",7),e.YNc(1,fe,4,1,"ng-container",7)),2&t){const n=e.oxw();e.Q6J("ngIf",n.errorMessages.length>0),e.xp6(1),e.Q6J("ngIf",n.success)}}let ze=(()=>{class t{constructor(n,r,c){this.suggestRevisionGQL=n,this.networkErrorService=r,this.revisableFieldsGQL=c,this.destroy$=new ae.xQ,this.success=!1,this.errorMessages=[],this.loading=!1,this.formGroup=new a.cw({}),this.formOptions={},this.suggestRevisionMutator=new re.U(r),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Suggest Gene Revision Form"},fieldGroup:[{key:"id",type:"input",hide:!0},{key:"description",type:"cvc-textarea",templateOptions:{label:"Gene Description",helpText:'User-defined summary of the clinical relevance of this Gene. By submitting content to CIViC you agree to release it to the public domain as described by the Creative Commons Public Domain Dedication (CC0 1.0 Universal)
Should include:
- relevance to appropriate cancer(s)
- treatment(s) related specifically to variants affecting this Gene
May include relevant mechanistic information such as:
- pathway interactions
- functional alterations caused by variants in this Gene (i.e., activating, loss-of-function, etc.)
- normal functions key to its oncogenic properties.
',placeholder:"Enter a description for this gene.",required:!1}},{key:"sources",type:"multi-field",wrappers:["form-field"],templateOptions:{label:"Gene Description Sources",addText:"Add a Source",helpText:"Add any Sources used as references for this Gene's Description above."},fieldArray:{type:"source-input",templateOptions:{required:!0}}},{key:"comment",type:"comment-textarea",templateOptions:{label:"Comment",placeholder:"Please enter a comment describing your revision.",required:!0,minLength:10}},{key:"cancel",type:"cancel-button",templateOptions:{redirectPath:"../.."}},{key:"organization",type:"org-submit-button",templateOptions:{submitLabel:"Submit Gene Revision",submitSize:"large"}}]}]}ngOnInit(){console.log(this.geneId)}ngAfterViewInit(){this.revisableFieldsGQL.fetch({geneId:this.geneId},{fetchPolicy:"network-only"}).subscribe(({data:{gene:n}})=>{console.log("gene"),n&&(this.formModel=this.toFormModel(n))},n=>{console.error("Error retrieving gene."),console.error(n)},()=>{console.log("complete"),this.formOptions.updateInitialValue&&this.formOptions.updateInitialValue(),this.formGroup.markAllAsTouched();const n=this.formGroup.get("fields.comment");n&&n.markAsUntouched()})}toFormModel(n){var r,c;return{fields:Object.assign(Object.assign({},n),{comment:null===(r=this.formModel)||void 0===r?void 0:r.fields.comment,organization:null===(c=this.formModel)||void 0===c?void 0:c.fields.organization})}}submitRevision(n){let r=this.toRevisionInput(n);if(r){let c=this.suggestRevisionMutator.mutate(this.suggestRevisionGQL,{input:r});c.submitSuccess$.pipe((0,k.R)(this.destroy$)).subscribe(g=>{g&&(this.success=!0)}),c.submitError$.pipe((0,k.R)(this.destroy$)).subscribe(g=>{g&&(this.errorMessages=g,this.success=!1)}),c.isSubmitting$.pipe((0,k.R)(this.destroy$)).subscribe(g=>{this.loading=g})}}toRevisionInput(n){var r;if(n){const c=n.fields;return{id:c.id,comment:c.comment,organizationId:null===(r=c.organization)||void 0===r?void 0:r.id,fields:{description:(0,se.xt)(n.fields.description),sourceIds:n.fields.sources.map(g=>+g.id)}}}}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(z.D9L),e.Y36(le.Y),e.Y36(z.FOU))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-gene-revise-form"]],inputs:{geneId:"geneId"},decls:4,vars:2,consts:[["nzTip","Submitting",3,"nzSpinning"],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit",4,"ngIf"],["formMessages",""],["nz-form","","nzLayout","vertical",3,"formGroup","ngSubmit"],[4,"ngTemplateOutlet"],[3,"form","fields","model","options","modelChange",4,"ngIf"],[3,"form","fields","model","options","modelChange"],[4,"ngIf"],[3,"errors"],["nzType","success","nzMessage","Suggested Revision Submitted","nzShowIcon","",3,"nzDescription"],["nzSize","small"],["successMessage",""],["routerLink","../../revisions"]],template:function(n,r){1&n&&(e.TgZ(0,"nz-spin",0),e.YNc(1,de,3,3,"form",1),e.qZA(),e.YNc(2,ue,2,2,"ng-template",null,2,e.W1O)),2&n&&(e.Q6J("nzSpinning",r.loading),e.xp6(1),e.Q6J("ngIf",r.formModel))},directives:[w.W,d.O5,a._Y,a.JL,s.Lr,a.sg,d.tP,p.T7,f.SK,s.Nx,ce.V,i.r,m.yS],styles:["[_nghost-%COMP%]{display:block}"]}),t})();function ve(t,l){if(1&t&&(e.ynx(0),e._UZ(1,"cvc-gene-revise-form",2),e.BQk()),2&t){const n=e.oxw();e.xp6(1),e.Q6J("geneId",n.geneId)}}function ye(t,l){1&t&&e._uU(0,"Loading Gene...")}const Se=[{path:"",component:E,data:{breadcrumb:"Revise"},children:[{path:"",redirectTo:"suggest",pathMatch:"full"},{path:"suggest",component:(()=>{class t{constructor(n){this.route=n,this.routeParams$=this.route.params.subscribe(r=>{this.geneId=+r.geneId})}ngOnDestroy(){this.routeParams$.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(m.gz))},t.\u0275cmp=e.Xpm({type:t,selectors:[["cvc-genes-suggest"]],decls:3,vars:2,consts:[[4,"ngIf","ngIfElse"],["loadingGene",""],[3,"geneId"]],template:function(n,r){if(1&n&&(e.YNc(0,ve,2,1,"ng-container",0),e.YNc(1,ye,1,0,"ng-template",null,1,e.W1O)),2&n){const c=e.MAs(2);e.Q6J("ngIf",r.geneId)("ngIfElse",c)}},directives:[d.O5,ze],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})(),data:{breadcrumb:"Suggest Revision"}}]}];let xe=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[m.Bz.forChild(Se),ie]]}),t})();var Ce=o(9386);let Me=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[d.ez,xe,m.Bz,x.D,h.KJ,C.PV,v.WG,f.Jb,Ce.a]]}),t})()},6559:(L,S,o)=>{o.d(S,{H0:()=>P});var d=o(5e3),m=o(9808),x=o(226);let P=(()=>{class a{}return a.\u0275fac=function(i){return new(i||a)},a.\u0275mod=d.oAB({type:a}),a.\u0275inj=d.cJS({imports:[[x.vT,m.ez]]}),a})()}}]);
\ No newline at end of file
diff --git a/server/public/7893.09cc89d441456629.js b/server/public/7893.09cc89d441456629.js
deleted file mode 100644
index 12f92fa79..000000000
--- a/server/public/7893.09cc89d441456629.js
+++ /dev/null
@@ -1 +0,0 @@
-"use strict";(self.webpackChunkmain=self.webpackChunkmain||[]).push([[7893],{7695:(D,M,o)=>{o.d(M,{C:()=>a});var m=o(9808),f=o(6949),x=o(8776),u=o(7484),y=o(5482),v=o(1894),N=o(5109),I=o(6789),e=o(5e3),_=o(19),O=o(647),A=o(404);function C(i,p){1&i&&e._UZ(0,"div",9),2&i&&e.Q6J("innerHtml",p.ngIf,e.oJD)}function b(i,p){1&i&&(e.TgZ(0,"div",10),e._uU(1,"Help not available for this field."),e.qZA())}function S(i,p){if(1&i&&(e.TgZ(0,"nz-collapse-panel",6),e.YNc(1,C,1,1,"div",7),e.YNc(2,b,2,0,"ng-template",null,8,e.W1O),e.qZA()),2&i){const g=p.ngIf,z=e.MAs(3),T=e.oxw().$implicit,Z=e.MAs(3);e.Q6J("nzHeader",g)("nzActive",T.templateOptions.hasFocus)("nzExtra",Z),e.xp6(1),e.Q6J("ngIf",null==T.templateOptions?null:T.templateOptions.helpText)("ngIfElse",z)}}function k(i,p){if(1&i&&e._UZ(0,"formly-validation-message",14),2&i){const g=e.oxw(4).$implicit;e.Q6J("field",g)}}function E(i,p){if(1&i&&(e.ynx(0),e._UZ(1,"i",12),e.YNc(2,k,1,1,"ng-template",null,13,e.W1O),e.BQk()),2&i){const g=e.MAs(3);e.xp6(1),e.Q6J("nzTooltipTitle",g)}}function F(i,p){if(1&i&&(e.ynx(0),e.YNc(1,E,4,1,"ng-container",11),e.BQk()),2&i){const g=p.ngIf;e.xp6(1),e.Q6J("ngIf","INVALID"===g)}}function G(i,p){if(1&i&&(e.YNc(0,F,2,1,"ng-container",11),e.ALo(1,"ngrxPush")),2&i){const g=e.oxw().$implicit;e.Q6J("ngIf",e.lcZ(1,1,g.formControl.statusChanges))}}function R(i,p){if(1&i&&(e.ynx(0),e.YNc(1,S,4,5,"nz-collapse-panel",4),e.YNc(2,G,2,3,"ng-template",null,5,e.W1O),e.BQk()),2&i){const g=p.$implicit;e.xp6(1),e.Q6J("ngIf",null==g.templateOptions?null:g.templateOptions.label)}}let P=(()=>{class i{constructor(){}ngOnInit(){}}return i.\u0275fac=function(g){return new(g||i)},i.\u0275cmp=e.Xpm({type:i,selectors:[["cvc-form-info-card"]],inputs:{fieldGroup:"fieldGroup",affixTo:"affixTo"},decls:4,vars:4,consts:[[3,"nzOffsetTop","nzTarget"],["nzTitle","Form Assistant","nzSize","default",1,"form-helper-card"],[3,"nzBordered"],[4,"ngFor","ngForOf"],[3,"nzHeader","nzActive","nzExtra",4,"ngIf"],["fieldStatus",""],[3,"nzHeader","nzActive","nzExtra"],["class","help-text",3,"innerHtml",4,"ngIf","ngIfElse"],["noHelpText",""],[1,"help-text",3,"innerHtml"],[1,"help-text"],[4,"ngIf"],["nz-icon","","nzType","exclamation-circle","nzTheme","twotone","nzTwotoneColor","#f5222d","nz-tooltip","","nzTooltipColor","red",3,"nzTooltipTitle"],["errorTooltip",""],[3,"field"]],template:function(g,z){1&g&&(e.TgZ(0,"nz-affix",0),e.TgZ(1,"nz-card",1),e.TgZ(2,"nz-collapse",2),e.YNc(3,R,4,1,"ng-container",3),e.qZA(),e.qZA(),e.qZA()),2&g&&(e.Q6J("nzOffsetTop",0)("nzTarget",z.affixTo),e.xp6(2),e.Q6J("nzBordered",!1),e.xp6(1),e.Q6J("ngForOf",z.fieldGroup))},directives:[_.$,u.bd,y.yH,m.sg,m.O5,y.Zv,O.Ls,A.SY,x.u_],pipes:[f.fM],styles:["[_nghost-%COMP%] .ant-card-body{padding:0;margin-top:1px}.help-text[_ngcontent-%COMP%]{padding:6px 8px;border:1px solid #EFEFEF;background:white;border-radius:6px}"]}),i})();const s={name:"form-info",component:(()=>{class i extends x.n2{}return i.\u0275fac=function(){let p;return function(z){return(p||(p=e.n5z(i)))(z||i)}}(),i.\u0275cmp=e.Xpm({type:i,selectors:[["cvc-form-info-wrapper"]],features:[e.qOj],decls:9,vars:5,consts:[["nzGutter","16"],[3,"nzSpan"],["nzSize","default",3,"nzTitle"],["fieldComponent",""],["infoCardContainer",""],[3,"fieldGroup","affixTo"]],template:function(g,z){if(1&g&&(e.TgZ(0,"nz-row",0),e.TgZ(1,"nz-col",1),e.TgZ(2,"nz-card",2),e.GkF(3,null,3),e.qZA(),e.qZA(),e.TgZ(5,"nz-col",1),e.TgZ(6,"div",null,4),e._UZ(8,"cvc-form-info-card",5),e.qZA(),e.qZA(),e.qZA()),2&g){const T=e.MAs(7);e.xp6(1),e.Q6J("nzSpan",16),e.xp6(1),e.Q6J("nzTitle",z.to.label),e.xp6(3),e.Q6J("nzSpan",8),e.xp6(3),e.Q6J("fieldGroup",z.field.fieldGroup)("affixTo",T)}},directives:[v.SK,v.t3,u.bd,P],styles:["[_nghost-%COMP%]{display:block}"],changeDetection:0}),i})()};let a=(()=>{class i{}return i.\u0275fac=function(g){return new(g||i)},i.\u0275mod=e.oAB({type:i}),i.\u0275inj=e.cJS({imports:[[m.ez,f.WG,x.X0.forChild({wrappers:[s]}),v.Jb,u.vh,y.cD,I._,N.s]]}),i})()},3887:(D,M,o)=>{o.r(M),o.d(M,{GenesReviseModule:()=>Se});var m=o(9808),f=o(325),x=o(5630),u=o(1945),y=o(647),v=o(373),N=o(1059),I=o(4850),e=o(5e3),_=o(712),O=o(9350),A=o(8992),C=o(1894),b=o(8616),S=o(6949);function k(t,c){1&t&&(e.TgZ(0,"div"),e._UZ(1,"router-outlet"),e.qZA())}function E(t,c){1&t&&(e.TgZ(0,"nz-row",8),e.TgZ(1,"div",9),e._UZ(2,"cvc-login-prompt"),e.qZA(),e.qZA())}function F(t,c){if(1&t&&(e.ynx(0),e._UZ(1,"cvc-section-navigation",1),e.TgZ(2,"nz-page-header",2),e.TgZ(3,"nz-page-header-title",3),e._uU(4," REVISE "),e._UZ(5,"i",4),e._uU(6),e.qZA(),e.TgZ(7,"nz-page-header-subtitle"),e._uU(8),e.qZA(),e.TgZ(9,"nz-page-header-content"),e.TgZ(10,"div",5),e.YNc(11,k,2,0,"div",6),e.ALo(12,"ngrxPush"),e.YNc(13,E,3,0,"ng-template",null,7,e.W1O),e.qZA(),e.qZA(),e.qZA(),e.BQk()),2&t){const n=c.ngIf,l=e.MAs(14),d=e.oxw();e.xp6(1),e.Q6J("displayName",n.name),e.xp6(5),e.hij(" ",n.name," "),e.xp6(2),e.hij(" ",n.officialName," "),e.xp6(3),e.Q6J("ngIf",e.lcZ(12,5,d.isSignedIn$))("ngIfElse",l)}}let G=(()=>{class t{constructor(n,l,d){this.gql=n,this.route=l,this.viewerService=d,this.routeSub=this.route.params.subscribe(h=>{let Q=this.gql.watch({geneId:+h.geneId}).valueChanges;this.loading$=Q.pipe((0,v.j)("loading"),(0,N.O)(!0)),this.gene$=Q.pipe((0,v.j)("data","gene")),this.commentsTotal$=this.gene$.pipe((0,v.j)("comments","totalCount")),this.flagsTotal$=this.gene$.pipe((0,v.j)("flags","totalCount")),this.revisionsTotal$=this.gene$.pipe((0,v.j)("revisions","totalCount"))})}ngOnInit(){this.isSignedIn$=this.viewerService.viewer$.pipe((0,I.U)(n=>n.signedIn))}ngOnDestroy(){this.routeSub.unsubscribe()}}return t.\u0275fac=function(n){return new(n||t)(e.Y36(_.TNk),e.Y36(f.gz),e.Y36(O.a))},t.\u0275cmp=e.Xpm({type:t,selectors:[["genes-revise"]],decls:2,vars:3,consts:[[4,"ngIf"],[3,"displayName"],[1,"site-page-header"],["cvcFlaggableOptions",""],["nz-icon","","nzType","civic:gene"],[1,"content"],[4,"ngIf","ngIfElse"],["notSignedIn",""],["nzSpan","24","nzJustify","center"],["nz-col","","nzSpan","6"]],template:function(n,l){1&n&&(e.YNc(0,F,15,7,"ng-container",0),e.ALo(1,"async")),2&n&&e.Q6J("ngIf",e.lcZ(1,1,l.gene$))},directives:[m.O5,A.I,u.$O,u.u9,y.Ls,u.yG,u.u5,f.lC,C.SK,C.t3,b.u],pipes:[m.Ov,S.fM],styles:["[_nghost-%COMP%]{display:block}[_nghost-%COMP%] nz-page-header:first-of-type{background-color:#fff;border-radius:8px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content{background-color:#f0f0f0;border-top-left-radius:8px;border-top-right-radius:8px;margin:-12px -16px 16px;border-bottom:1px solid #bfbfbf}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon{padding:12px 0 12px 12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-icon i svg{width:100%;height:100%}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description{padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description h2{color:#262626;margin:-8px 0 0;font-weight:500}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-description p{color:#262626;margin:-2px 0 0;padding:0;font-size:95%;line-height:1.5em}[_nghost-%COMP%] nz-page-header:first-of-type .header-content .header-links{text-align:right;padding:12px}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card{width:100%}[_nghost-%COMP%] nz-page-header:first-of-type .card-list nz-card .card-grid-cell{width:50%}[_nghost-%COMP%] nz-page-header:first-of-type nz-page-header-title.flagged{padding-left:.75em}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-content{padding-top:0;padding-bottom:12px}[_nghost-%COMP%] nz-page-header:first-of-type .ant-page-header-heading-extra nz-space-item:last-child{margin-right:0!important}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs{margin:0 -16px 12px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap{padding-left:16px;padding-right:16px;line-height:24px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab{padding:1px 8px}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-nav-wrap .ant-tabs-tab .anticon{margin-right:0}[_nghost-%COMP%] nz-page-header:first-of-type #section-tabs .ant-tabs-extra-content{margin-right:16px}"]}),t})();var R=o(8144),P=o(6559),r=o(4182),s=o(4546),a=o(2359),i=o(8776),p=o(1825),g=o(7008),z=o(4375),T=o(6042),Z=o(8390),U=o(3773),J=o(5109),j=o(4623),Y=o(7462),$=o(4889),L=o(7525),W=o(5472),V=o(7338),B=o(7484),H=o(5482),K=o(6462),X=o(9990),q=o(7075),ee=o(9911),te=o(6501),ne=o(7695);let oe=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[m.ez,f.Bz,S.WG,r.UX,i.X0,J.s,T.sL,B.vh,H.cD,s.U5,a.L,C.Jb,y.PV,K.m,L.j,q.l,p.A,W.r,g.B,z.R,ee.G,j.K,Z.N,U.g,te.r,X.M,Y.o,$.E,V.z,J.s,ne.C]]}),t})(),ie=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=e.oAB({type:t}),t.\u0275inj=e.cJS({imports:[[m.ez,S.WG,B.vh,C.Jb,R.zf,P.H0,u.KJ,oe,x.D]]}),t})();var ae=o(8929),w=o(7625),re=o(6738),se=o(6123),le=o(9169),ce=o(822);function pe(t,c){1&t&&e.GkF(0)}function ge(t,c){if(1&t){const n=e.EpF();e.TgZ(0,"formly-form",6),e.NdJ("modelChange",function(d){return e.CHM(n),e.oxw(2).formModel=d}),e.qZA()}if(2&t){const n=e.oxw(2);e.Q6J("form",n.formGroup)("fields",n.formFields)("model",n.formModel)("options",n.formOptions)}}function de(t,c){if(1&t){const n=e.EpF();e.TgZ(0,"form",3),e.NdJ("ngSubmit",function(){e.CHM(n);const d=e.oxw();return d.submitRevision(d.formModel)}),e.YNc(1,pe,1,0,"ng-container",4),e.YNc(2,ge,1,4,"formly-form",5),e.qZA()}if(2&t){const n=e.oxw(),l=e.MAs(3);e.Q6J("formGroup",n.formGroup),e.xp6(1),e.Q6J("ngTemplateOutlet",l),e.xp6(1),e.Q6J("ngIf",!n.success)}}function me(t,c){if(1&t&&(e.ynx(0),e.TgZ(1,"nz-form-item"),e._UZ(2,"cvc-form-errors-alert",8),e.qZA(),e.BQk()),2&t){const n=e.oxw(2);e.xp6(2),e.Q6J("errors",n.errorMessages)}}function fe(t,c){1&t&&(e.TgZ(0,"p"),e._uU(1,"View it on the "),e.TgZ(2,"a",12),e._uU(3,"Revisions Page"),e.qZA(),e._uU(4,"."),e.qZA())}function he(t,c){if(1&t&&(e.ynx(0),e._UZ(1,"nz-alert",9),e.YNc(2,fe,5,0,"ng-template",10,11,e.W1O),e.BQk()),2&t){const n=e.MAs(3);e.xp6(1),e.Q6J("nzDescription",n)}}function ue(t,c){if(1&t&&(e.YNc(0,me,3,1,"ng-container",7),e.YNc(1,he,4,1,"ng-container",7)),2&t){const n=e.oxw();e.Q6J("ngIf",n.errorMessages.length>0),e.xp6(1),e.Q6J("ngIf",n.success)}}let ze=(()=>{class t{constructor(n,l,d){this.suggestRevisionGQL=n,this.networkErrorService=l,this.revisableFieldsGQL=d,this.destroy$=new ae.xQ,this.success=!1,this.errorMessages=[],this.loading=!1,this.formGroup=new r.cw({}),this.formOptions={},this.suggestRevisionMutator=new se.U(l),this.formFields=[{key:"fields",wrappers:["form-container"],templateOptions:{label:"Suggest Gene Revision Form"},fieldGroup:[{key:"id",type:"input",hide:!0},{key:"description",type:"cvc-textarea",templateOptions:{label:"Gene Description",helpText:'User-defined summary of the clinical relevance of this Gene. By submitting content to CIViC you agree to release it to the public domain as described by the Creative Commons Public Domain Dedication (CC0 1.0 Universal)