1"use strict";(self.webpackChunkseed_app=self.webpackChunkseed_app||[]).push([[448],{82448:(K,P,r)=>{r.r(P),r.d(P,{AnalyzeResultsModule:()=>Qt});var h=r(60177),u=r(7901),D=r(16542),t=r(54438),j=r(18617),x=r(53712),$=r(25885),k=r(78231),R=r(19494),w=r(56977),V=r(96697),I=r(5964),L=r(53993),N=r(61594),M=r(1134),b=r(89417),E=r(57546),l=r(6862),c=r(57538),d=r(93210),y=r(86461),g=r(68018),_=r(84745),v=r(56729),O=r(345),o=r(95338),m=r(82765),C=r(28203),f=r(9159),T=r(8058),A=r(53719),X=r(82798),Q=r(86600),Y=r(88834),U=r(99213),H=r(5951),W=r(9183),z=r(74317),Z=r(57967),q=r(65245);let tt=(()=>{class n extends k.${static{this.tooltips=Z.Ay}constructor(e,a,i){super(a,e),this.rt=i,this.addRefine=new t.bkB,this.margin={top:20,right:65,bottom:120,left:45},this.width=960-this.margin.left-this.margin.right,this.height=480-this.margin.top-this.margin.bottom,this.logScaleMinHeight=2,this.title="Line Chart",this.isRTL$=R.Y.isRTL$,this.viewRecords=this.translate.instant("viewRecords"),this.isRTL$.pipe((0,q.i)(1),(0,w.Q)(this.destroyed$)).subscribe(()=>this.ngOnChanges())}ngOnChanges(){this.totalDataLength=this.rawData.length,this.data=[];let e={};for(let a=0;a<this.totalDataLength&&a<this.numberShown;a++)e={Key:this.rt.transform(this.rawData[a].Key),Value:this.rawData[a].Value,RefineKey:this.rawData[a].Key,idNbr:a},this.data.push(e);("PY"===this.currentField||"GSY"===this.currentField||"FPY"===this.currentField)&&"Field"===this.sort&&this.data.sort((a,i)=>Number(a.Key)-Number(i.Key)),z.Ltv(".bar-chart").selectAll("svg").remove(),this.buildSvg(),this.parentThis=this,this.drawChart(),this.setTooltips()}buildSvg(){this.svg=z.Ltv(".bar-chart").append("svg").attr("viewBox",[0,0,950,480]).attr("preserveAspectRatio","xMidYMid meet").attr("class","svg-content").attr("tabindex","-1").append("g").attr("class","chart").attr("transform","translate("+this.margin.left+","+this.margin.top+")")}drawChart(){this.isRTL=this.isRTL$.getValue(),this.x=this.isRTL?z.WH().range([this.width,0]).padding(.2):z.WH().range([0,this.width]).padding(.2),this.y=z.m4Y().range([this.height,0]),this.x.domain(this.data.map(a=>a.Key)),this.y.domain([0,z.T9B(this.data,a=>a.Value)]),this.svg.selectAll(".bar").data(this.data).enter().append("rect").attr("aria-labelledby",(a,i)=>"tip"+i).attr("data-ta","analyze-chart-option").attr("class","bar").attr("id",(a,i)=>"parent"+i).attr("x",a=>this.x(a.Key)).attr("y",a=>this.y(a.Value)).attr("data-count-formatted",a=>(0,h.ZV)(a.Value,"en")).attr("data-name",a=>a.Key).attr("width",this.x.bandwidth()).attr("height",a=>this.height-this.y(a.Value)).attr("tabindex","0").attr("role","img"),this.svg.selectAll(".bar").data(this.data),this.svg.selectAll(".bar").append("text").attr("y",44).style("opacity","0").attr("width",a=>a.x1-a.x0).attr("x",()=>4).attr("id",(a,i)=>"tip"+i).text(this.translate.instant("analyzeAltEnter")),this.svg.selectAll(".bar").append("text").attr("y",33).attr("class","dataSize").attr("width",a=>a.x1-a.x0).text(function(a){return a.Value}),this.svg.selectAll(".bar").append("text").attr("y",44).attr("class","nameText").attr("width",a=>a.x1-a.x0).attr("x",()=>4).attr("id",(a,i)=>"nameText"+i).text(a=>a.Key),this.svg.append("g").attr("transform","translate(0,"+this.height+")").attr("id","axis--x").style("font-family","Source Sans Pro").call(z.l78(this.x).tickFormat(a=>a)).selectAll("text").style("text-anchor",()=>this.isRTL?"end":"start").attr("dx",".5em").attr("dy",".45em").attr("transform","rotate(45)").attr("fill","#444").attr("class","bottomTick"),this.isRTL?this.svg.append("g").attr("id","axis--y").call(z.eH3(this.y).tickFormat(a=>Math.round(10*a)/10).ticks(10)).attr("transform","translate("+this.width+", 0)").attr("text-anchor","end").append("text").attr("transform","rotate(-90)").attr("y",6).attr("dy","-5.1em").attr("text-anchor","start").attr("stroke","black"):this.svg.append("g").attr("id","axis--y").call(z.V4s(this.y).tickFormat(a=>Math.round(10*a)/10).ticks(10)).append("text").attr("transform","rotate(-90)").attr("y",6).attr("dy","-5.1em").attr("text-anchor","end").attr("stroke","black"),z.Ubm(".bottomTick").each(this.truncate)}truncate(){const e=z.Ltv(this);let a=e.node().getComputedTextLength(),i=e.text();for(;a>102&&i.length>0;)i=i.slice(0,-1),e.text(i+"\u2026"),a=e.node().getComputedTextLength()}setTooltips(){const e=this,a=e.svg.selectAll(".bar");a.attr("data-tippy-content",i=>'<section data-ta="analyze-chart-tooltip"><div tabindex="0" class="d3-tip-div"><b><span class="d3-tip-recordSize" data-ta="tooltip-record-count">'+(0,h.ZV)(i.Value,"en")+'</span></b><div id="tool_tip_close" class="fa fa-close tool_tip_close"></div><br/><br/><span class="d3-tip-recordName" data-ta="tooltip-name">
1'+i.Key+'</span><br/> <span id="dataset_key" style="display:none">'+i.RefineKey+'</span></br><span class="flex-display-align-center flex-justify-center"><button class="chart-tooltip-button" id="barChartViewRecs">'+e.viewRecords+"</button></span></div></section>"),n.tooltips(a.nodes(),{allowHTML:!0,interactive:!0,appendTo:document.body,arrow:!0,interactiveBorder:5,aria:{content:"describedby",expanded:!1},trigger:"mouseenter focus focusin keyup",onUntrigger(i){i.hide()},onShown(i){R.Y.onShown(i,e,"barChartViewRecs")}})}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(g.c$),t.rXU(t.gRc),t.rXU(M.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-analyze-bar-chart"]],inputs:{mode:"mode",sort:"sort",numberShown:"numberShown",currentField:"currentField",rawData:"rawData"},outputs:{addRefine:"addRefine"},features:[t.Vt3,t.OA$],decls:1,vars:0,consts:[["id","snChart","role","presentation",1,"bar-chart","svg-container","margin-top-20"]],template:function(a,i){1&a&&t.nrm(0,"div",0)},styles:['@charset "UTF-8";.line{fill:none;stroke:#4301f0;stroke-width:3px}.tick{background-color:#fff}.svg-container{display:inline-block;width:100%;padding-bottom:1.875rem;vertical-align:top;overflow:hidden}.svg-content{display:inline-block;font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;top:0;left:0}.grid line{stroke:#d3d3d3;stroke-opacity:.6;shape-rendering:crispEdges}.bar{fill:#eee7f8}.bar:hover{fill:#4125af}.legend{font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;font-size:.6875rem}.xAxisText{font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;font-size:.625rem;color:#000}.d3-tip{line-height:1;font-weight:700;font-size:.8125rem;padding:12px;background:#000c;color:#fff;border-radius:4px}.d3-tip:after{box-sizing:border-box;display:inline;font-size:10px;width:100%;line-height:1;color:#000c;content:"\\25bc";position:absolute;text-align:center}.d3-tip.n:after{margin:-1px 0 0;top:100%;left:0}.overlay{fill:none;pointer-events:all}.circle{opacity:0}.circle:hover{opacity:1;fill:#ff4500}.hover-line{stroke:#6f257f;stroke-width:2px;stroke-dasharray:3,3}.lineSquare{background-color:#4301f0;height:10px;width:10px;min-height:10px;min-width:10px;border:1px solid white;margin-right:5px}.barSquare{background-color:#bc99ff;height:10px;width:10px;min-height:10px;min-width:10px;border:1px solid white;margin-right:5px}div.tooltip{position:absolute;text-align:center;width:150px;height:auto;padding:10px;font-size:13px;font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;background:#4b749b;border:0;border-radius:8px;pointer-events:none}.d33-tip{line-height:1;padding:11px;background:#fafafc;box-shadow:0 0 4px #0003;color:#000;border-radius:3px;border-color:#d4d4d4;font-size:12px;border-width:thin;border-style:solid}.d33-tip:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#FAFAFC transparent transparent transparent;max-width:400px}.d33-tip:before{content:"";position:absolute;top:100%;left:50%;margin-left:-7px;border-width:7px;border-style:solid;border-color:#D4D4D4 transparent transparent transparent;max-width:400px}.d3-tip-div{text-align:center;color:#fff;line-height:16px;max-width:400px}.d3-tip-recordSize{font-size:25px}.d3-tip-recordName{font-weight:600}.d3-tip-recordStr{color:#000000b3}.bottomTick{text-overflow:ellipsis}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.svg-content{height:65vh}}\n','.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:-1px}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:-1px}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}\n'],encapsulation:2})}}return n})();var et=r(35382),at=r(10228),nt=r(65636);const it=n=>({db:n}),rt=()=>["bar","tree","hide"],ot=()=>["5","10","15","20","25"],st=n=>({total:n}),lt=n=>({"mat-mdc-checkbox-checked":n});function dt(n,p){if(1&n){const e=t.RV6();t.j41(0,"wos-select",16),t.nI1(1,"translate"),t.bIt("valueChange",function(i){t.eBV(e);const s=t.XpG();return s.currentField=i,s.updateSelectedChart(),t.Njj(s.runAnalyzes())}),t.k0s()}if(2&n){const e=t.XpG();t.Y8G("allowSearch",!1)("fixedHeight",!1)("selectionsCategory",t.bMT(1,8,"selectAnalyzeField"))("translatePostfix","_analyze_name")("database",e.search.database)("optVals",e.fields)("value",e.currentField),t.BMQ("data-ta","analyze-field-select")}}function ct(n,p){if(1&n&&(t.j41(0,"mat-option",28),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=p.$implicit;t.Y8G("value",e),t.R7$(),t.SpI(" ",t.bMT(2,2,e+"_analyze_visual")," ")}}function ht(n,p){if(1&n&&(t.j41(0,"mat-option",28),t.EFF(1),t.k0s()),2&n){const e=p.$implicit;t.Y8G("value",e),t.R7$(),t.SpI(" ",e," ")}}function pt(n,p){if(1&n){const e=t.RV6();t.j41(0,"button",29),t.nI1(1,"translate"),t.bIt("click",function(){t.eBV(e);const i=t.XpG(2);return t.Njj(i.downloadGraphs())}),t.nrm(2,"mat-icon",30),t.j41(3,"span"),t.EFF(4),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG(2);t.Y8G("disabled","hide"===e.selectedChart),t.BMQ("aria-label",t.bMT(1,3,"downloadAnalyzeChart")),t.R7$(4),t.JRh(t.bMT(5,5,"download"))}}function mt(n,p){if(1&n){const e=t.RV6();t.j41(0,"button",29),t.nI1(1,"translate"),t.bIt("click",function(){t.eBV(e);const i=t.XpG(2);return t.Njj(i.downloadTreeMapAsImage())}),t.nrm(2,"mat-icon",30),t.j41(3,"span"),t.EFF(4),t.nI1(5,"translate"),t.k0s()()}if(2&n){const e=t.XpG(2);t.Y8G("disabled","hide"===e.selectedChart),t.BMQ("aria-label",t.bMT(1,3,"downloadAnalyzeChart")),t.R7$(4),t.JRh(t.bMT(5,5,"download"))}}function ft(n,p){1&n&&t.nrm(0,"mat-spinner",32),2&n&&t.Y8G("diameter",50)}function ut(n,p){if(1&n){const e=t.RV6();t.j41(0,"div")(1,"app-analyze-treemap-chart",33),t.bIt("addRefine",function(i){t.eBV(e);const s=t.XpG(4);return t.Njj(s.refineSearch([s.convertToSearchRefines(i)]))})("showAuthorPreviewOverlay",function(i){t.eBV(e);const s=t.XpG(4);return t.Njj(s.openAuthorPreviewSideNav(i))})("chartReady",function(i){t.eBV(e);const s=t.XpG(4);return t.Njj(s.onTreeMapChartReady(i))}),t.k0s()()}if(2&n){const e=t.XpG(4);
1t.R7$(),t.Y8G("rawData",e.rawData)("numberShown",e.numberToShow)("database",e.search.database)}}function gt(n,p){if(1&n){const e=t.RV6();t.j41(0,"div")(1,"app-analyze-treemap-chart-d3",34),t.bIt("addRefine",function(i){t.eBV(e);const s=t.XpG(4);return t.Njj(s.refineSearch([s.convertToSearchRefines(i)]))})("showAuthorPreviewOverlay",function(i){t.eBV(e);const s=t.XpG(4);return t.Njj(s.openAuthorPreviewSideNav(i))}),t.k0s()()}if(2&n){const e=t.XpG(4);t.R7$(),t.Y8G("rawData",e.rawData)("numberShown",e.numberToShow)("database",e.search.database)}}function bt(n,p){1&n&&(t.DNE(0,ut,2,3,"div",26),t.nI1(1,"feature"),t.DNE(2,gt,2,3,"div",26),t.nI1(3,"feature")),2&n&&(t.Y8G("ngIf",t.bMT(1,2,"WOSVX-41190-enable-highchart-treemap")),t.R7$(2),t.Y8G("ngIf",!t.bMT(3,4,"WOSVX-41190-enable-highchart-treemap")))}function yt(n,p){if(1&n&&(t.j41(0,"div"),t.DNE(1,ft,1,1,"mat-spinner",15),t.nI1(2,"async"),t.DNE(3,bt,4,6,"ng-template",null,1,t.C5r),t.j41(5,"div",31),t.EFF(6),t.nI1(7,"translate"),t.k0s()()),2&n){const e=t.sdS(4),a=t.XpG(2);t.R7$(),t.Y8G("ngIf","DX2NG"===a.currentField&&t.bMT(2,3,a.isAuthorNameLoading$))("ngIfElse",e),t.R7$(5),t.JRh(t.bMT(7,5,"treeMapLegend"))}}function xt(n,p){if(1&n){const e=t.RV6();t.j41(0,"app-analyze-bar-chart",35,2),t.bIt("addRefine",function(i){t.eBV(e);const s=t.XpG(2);return t.Njj(s.refineSearch([s.convertToSearchRefines(i)]))}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("currentField",e.currentField)("sort",e.selectedSort)("rawData",e.rawData)("numberShown",e.
1numberToShow)}}function _t(n,p){if(1&n){const e=t.RV6();t.j41(0,"div",17)(1,"div",18)(2,"div",19)(3,"div")(4,"span",20),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.nrm(7,"br"),t.j41(8,"mat-form-field",21)(9,"mat-select",22),t.nI1(10,"translate"),t.bIt("selectionChange",function(i){t.eBV(e);const s=t.XpG();return t.Njj(s.changeVisualization(i))}),t.DNE(11,ct,3,4,"mat-option",23),t.k0s()()(),t.j41(12,"div")(13,"span",20),t.EFF(14),t.nI1(15,"translate"),t.k0s(),t.nrm(16,"br"),t.j41(17,"mat-form-field",21)(18,"mat-select",24),t.nI1(19,"translate"),t.bIt("selectionChange",function(i){t.eBV(e);const s=t.XpG();return t.Njj(s.changeNumberToShow(i))}),t.DNE(20,ht,2,2,"mat-option",23),t.k0s()()()(),t.DNE(21,pt,6,7,"button",25),t.nI1(22,"feature"),t.DNE(23,mt,6,7,"button",25),t.nI1(24,"feature"),t.k0s(),t.DNE(25,yt,8,7,"div",26)(26,xt,2,4,"app-analyze-bar-chart",27),t.k0s()}if(2&n){const e=t.XpG();t.R7$(5),t.JRh(t.bMT(6,16,"visualization")),t.R7$(3),t.Y8G("dir","ar-sa"===e.translate.currentLang?"rtl":"ltr"),t.R7$(),t.Y8G("aria-label",t.bMT(10,18,"selectAnalyzeChart"))("value",e.selectedChart),t.BMQ("data-ta","analyze-chart-select"),t.R7$(2),t.Y8G("ngForOf",t.lJ4(28,rt)),t.R7$(3),t.JRh(t.bMT(15,20,"numberToShow")),t.R7$(3),t.Y8G("dir","ar-sa"===e.translate.currentLang?"rtl":"ltr"),t.R7$(),t.Y8G("aria-label",t.bMT(19,22,"analyze-chart-count-select"))("value",e.numberToShow.toString()),t.BMQ("data-ta","analyze-chart-count-select"),t.R7$(2),t.Y8G("ngForOf",t.lJ4(29,ot)),t.R7$(),t.Y8G("ngIf",!t.bMT(22,24,"WOSVX-41190-enable-highchart-treemap")||"bar"==e.selectedChart),t.R7$(2),t.Y8G("ngIf",t.bMT(24,26,"WOSVX-41190-enable-highchart-treemap")&&"tree"===e.selectedChart),t.R7$(2),t.Y8G("ngIf","tree"===e.selectedChart),t.R7$(),t.Y8G("ngIf","bar"===e.selectedChart)}}function vt(n,p){1&n&&t.nrm(0,"mat-spinner",32),2&n&&t.Y8G("diameter",50)}function wt(n,p){if(1&n){const e=t.RV6();t.j41(0,"span",61),t.EFF(1),t.nI1(2,"translate"),t.j41(3,"wos-select",62),t.nI1(4,"translate"),t.bIt("valueChange",function(i){t.eBV(e);const s=t.XpG(2);return s.totalDisplayed=i,t.Njj(s.runAnalyzes())}),t.k0s(),t.EFF(5),t.nI1(6,"number"),t.nI1(7,"translate"),t.k0s()}if(2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",t.bMT(2,8,"showing")," "),t.R7$(2),t.Y8G("small",!0)("allowSearch",!1)("fixedHeight",!1)("selectionsCategory",t.bMT(4,10,"selectAnalyzeRecordsDisplay"))("optVals",e.totalDisplayedOptions)("value",e.totalDisplayed),t.R7$(2),t.SpI(" ",t.i5U(7,14,"outOfXAnalyzeEntries",t.eq3(17,st,t.bMT(6,12,e.totalAnalyzed)))," ")}}function zt(n,p){if(1&n&&(t.j41(0,"span"),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",e.noDataMsg," ")}}function Rt(n,p){if(1&n){const e=t.RV6();t.j41(0,"th",63)(1,"span",64),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.nrm(4,"br"),t.j41(5,"mat-checkbox",65),t.nI1(6,"translate"),t.bIt("change",function(i){t.eBV(e);const s=t.XpG(2);return t.Njj(s.selectAll(i.checked))}),t.j41(7,"span",66),t.EFF(8),t.nI1(9,"translate"),t.k0s()()()}if(2&n){const e=t.XpG(2);t.R7$(2),t.JRh(t.bMT(3,6,"SelectAll")),t.R7$(3),t.Y8G("aria-label",t.bMT(6,8,"SelectAllRecs"))("checked",e.allSelected)("ngClass",t.eq3(12,lt,e.someSelected))("indeterminate",e.someSelected),t.R7$(3),t.JRh(t.bMT(9,10,"SelectAllRecs"))}}function Ct(n,p){if(1&n){const e=t.RV6();t.j41(0,"td",67)(1,"mat-checkbox",68),t.mxI("ngModelChange",function(i){const s=t.eBV(e).$implicit;return t.DH7(s.selected,i)||(s.selected=i),t.Njj(i)}),t.bIt("ngModelChange",function(){t.eBV(e);const i=t.XpG(2);return t.Njj(i.checkAllSelected())}),t.j41(2,"span",69),t.EFF(3),t.k0s()()()}if(2&n){const e=p.$implicit;t.R7$(),t.Y8G("aria-label",e.Key),t.R50("ngModel",e.selected),t.R7$(2),t.JRh(e.Key+": select to add to refine options")}}function Tt(n,p){if(1&n&&(t.j41(0,"th",63),t.EFF(1),t.nI1(2,"translate"),t.nrm(3,"br"),t.EFF(4),t.nI1(5,"dbvaluetranslate"),t.k0s()),2&n){const e=t.XpG(2);t.R7$(),t.SpI(" ",t.bMT(2,2,"Field")+":",""),t.R7$(3),t.SpI("",t.i5U(5,4,e.currentField+"_analyze_name",e.search.database)," ")}}function At(n,p){if(1&n&&(t.j41(0,"td",71),t.EFF(1),t.k0s()),2&n){const e=p.$implicit;t.R7$(),t.SpI(" ",e.keyTransformed," ")}}function St(n,p){1&n&&(t.qex(0),t.DNE(1,At,2,1,"td",70),t.bVm())}function Dt(n,p){if(1&n){const e=t.RV6();t.j41(0,"td",71)(1,"a",72),t.bIt("click",function(){const i=t.eBV(e).index,s=t.XpG(3);return t.Njj(s.openAuthorPreviewSideNav(i))}),t.EFF(2),t.k0s()()}if(2&n){const e=p.$implicit;t.R7$(2),t.SpI(" ",e.keyTransformed,"")}}function It(n,p){1&n&&(t.qex(0),t.DNE(1,Dt,3,1,"td",70),t.bVm())}function Mt(n,p){if(1&n&&(t.j41(0,"th",63),t.nrm(1,"br"),t.EFF(2),t.k0s()),2&n){const e=t.XpG(2);
1t.R7$(2),t.SpI("",e.recordsHeader," ")}}function Et(n,p){if(1&n&&(t.j41(0,"td",73),t.EFF(1),t.nI1(2,"number"),t.k0s()),2&n){const e=p.$implicit;t.R7$(),t.SpI(" ",t.bMT(2,1,e.Value)," ")}}function Ft(n,p){if(1&n&&(t.j41(0,"th",63),t.nrm(1,"br"),t.EFF(2),t.k0s()),2&n){const e=t.XpG(2);t.R7$(2),t.SpI("",e.percentOfHeader," ")}}function Pt(n,p){if(1&n&&(t.j41(0,"td",67),t.EFF(1),t.k0s()),2&n){const e=p.$implicit;t.R7$(),t.SpI(" ",e.percent,"% ")}}function $t(n,p){1&n&&t.nrm(0,"tr",74)}function kt(n,p){1&n&&t.nrm(0,"tr",75)}function Vt(n,p){1&n&&(t.qex(0),t.nrm(1,"mat-icon",76),t.bVm())}function Ot(n,p){1&n&&(t.EFF(0),t.nI1(1,"translate")),2&n&&t.SpI(" ",t.bMT(1,1,"downloadDataTable")," ")}function Lt(n,p){if(1&n){const e=t.RV6();t.j41(0,"div",36)(1,"p",37),t.DNE(2,wt,8,19,"span",38),t.nrm(3,"br"),t.DNE(4,zt,2,1,"span",26),t.k0s(),t.j41(5,"table",39)(6,"caption"),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.qex(9,40),t.DNE(10,Rt,10,14,"th",41)(11,Ct,4,3,"td",42),t.bVm(),t.qex(12,43),t.DNE(13,Tt,6,7,"th",41)(14,St,2,0,"ng-container",26)(15,It,2,0,"ng-container",26),t.bVm(),t.qex(16,44),t.DNE(17,Mt,3,1,"th",41)(18,Et,3,3,"td",45),t.bVm(),t.qex(19,46),t.DNE(20,Ft,3,1,"th",41)(21,Pt,2,1,"td",42),t.bVm(),t.DNE(22,$t,1,0,"tr",47)(23,kt,1,0,"tr",48),t.k0s(),t.j41(24,"div",49)(25,"div")(26,"span",50),t.EFF(27),t.nI1(28,"translate"),t.k0s(),t.nrm(29,"br"),t.j41(30,"button",51),t.nI1(31,"translate"),t.bIt("click",function(){t.eBV(e);const i=t.XpG();return t.Njj(i.refineBySelected())}),t.EFF(32),t.nI1(33,"translate"),t.k0s(),t.j41(34,"button",52),t.nI1(35,"translate"),t.bIt("click",function(){t.eBV(e);const i=t.XpG();return t.Njj(i.excludeBySelected())}),t.EFF(36),t.nI1(37,"translate"),t.k0s()(),t.j41(38,"div",53)(39,"fieldset",54)(40,"legend",55),t.EFF(41),t.nI1(42,"translate"),t.k0s(),t.j41(43,"mat-radio-group",56),t.mxI("ngModelChange",function(i){t.eBV(e);const s=t.XpG();return t.DH7(s.tableExportSelection,i)||(s.tableExportSelection=i),t.Njj(i)}),t.j41(44,"mat-radio-button",57),t.EFF(45),t.nI1(46,"translate"),t.k0s(),t.j41(47,"mat-radio-button",58),t.EFF(48),t.nI1(49,"translate"),t.k0s()()(),t.j41(50,"button",59),t.nI1(51,"translate"),t.bIt("click",function(){t.eBV(e);const i=t.XpG();return t.Njj(i.exportRows())}),t.DNE(52,Vt,2,0,"ng-container",60)(53,Ot,2,3,"ng-template",null,3,t.C5r),t.k0s()()()()}if(2&n){const e=t.sdS(54),a=t.XpG();t.R7$(2),t.Y8G("ngIf",a.values.length<=a.totalAnalyzed),t.R7$(2),t.Y8G("ngIf",a.noDataMsg),t.R7$(),t.Y8G("dataSource",a.values),t.R7$(2),t.JRh(t.bMT(8,25,"analyzeDataTable")),t.R7$(7),t.Y8G("ngIf","DX2NG"!==a.currentField),t.R7$(),t.Y8G("ngIf","DX2NG"===a.currentField),t.R7$(7),t.Y8G("matHeaderRowDef",a.displayedColumns),t.R7$(),t.Y8G("matRowDefColumns",a.displayedColumns),t.R7$(4),t.JRh(t.bMT(28,27,"refineFromAnalyzes")),t.R7$(3),t.Y8G("disabled",!a.someSelected&&!a.allSelected),t.BMQ("aria-label",t.bMT(31,29,"refineResultsBySelected")),t.R7$(2),t.SpI(" ",t.bMT(33,31,"refineResultsBySelected")," "),t.R7$(2),t.Y8G("disabled",!a.someSelected&&!a.allSelected),t.BMQ("aria-label",t.bMT(35,33,"excludeResultsBySelected")),t.R7$(2),t.SpI(" ",t.bMT(37,35,"excludeResultsBySelected")," "),t.R7$(5),t.JRh(t.bMT(42,37,"downloadDataTable")),t.R7$(2),t.R50("ngModel",a.tableExportSelection),t.BMQ("role",void 0),t.R7$(2),t.JRh(t.bMT(46,39,"analyzeExportDisplayed")),t.R7$(2),t.Y8G("disabled","DX2NG"===a.currentField),t.R7$(),t.JRh(t.bMT(49,41,"analyzeExportAll")),t.R7$(2),t.Y8G("disabled",a.totalAnalyzed<1||a.exportInProgress),t.BMQ("aria-label",t.bMT(51,43,"downloadDataTable")),t.R7$(2),t.Y8G("ngIf",a.exportInProgress)("ngIfElse",e)}}let Nt=(()=>{class n extends k.${constructor(e,a,i,s,S,F,G,B,Zt,qt,te,ee){super(e,a),this.store=i,this.searches=s,this.router=S,this.config=F,this.friendly=G,this.rt=B,this.downloadService=Zt,this.title=qt,this.storage=te,this.route=ee,this.liveAnnouncer=(0,t.WQX)(j.Ai),this.shouldAnnouncePageLoad=!0,this.displayedColumns=["checkbox","field","recordCount","recordCountPercent"],this.numberToShow=10,this.totalCount=0,this.totalAnalyzed=0,this.allSelected=!1,this.someSelected=!1,this.minRecords=1,this.minRecordsInput=new b.MJ(1,[b.k0.min(1),b.k0.required]),this.totalDisplayed="25",this.totalDisplayedOptions=["10","25","50","100","250","500"],this.selectedSort="Value",this.selectedSortOptions=["Value","Field"],this.dbNameList=[],this.authorIds=[],this.rawData=[],this.values=[],this.tableExportSelection="displayed",this.exportInProgress=!1,this.isMobile$=R.Y.isMobile$,this.store.select(x.eJ).subscribe(ae=>{this.sid=ae})}ngOnInit(){this.route.queryParams.subscribe(a=>{a.analyzeField&&(this.analyzeFieldParam=a.analyzeField)}),this.translate.stream("analyzeResults").pipe((0,w.Q)(this.destroyed$)).subscribe(a=>this.title.setTitle(a)),this.translate.onLangChange?.pipe((0,w.Q)(this.destroyed$)).subscribe(a=>{this.updateDataMsg()}),this.recentSearchSort=this.searches.getRecentSearchSort(this.search.database),this.fields=this.config.getSettings().app.summary.databases[this.search.database].analyzes.displayOrder.filter(a=>"FB"!==a),R.Y.getToggle("enableResearcherProfile",this.store)&&"WOSCC"===this.search.database&&this.router.url.includes("/analyze-results")&&this.fields.splice(this.fields.indexOf("DT")+1,0,"DX2NG");const e=this.config.getSettings().app.analyzeResults.collectionSettings[this.search.database];
1if(e?.specificOrders)for(const a of e.specificOrders)this.fields.splice(this.fields.indexOf(a[0])+1,0,a[1]);if("WOSCC"===this.search.database){this.store.select(x.l1,{prop:"nxDisableDateSearchFields"}).pipe((0,V.s)(1)).subscribe(i=>{i&&(this.fields=this.fields.filter(s=>"PUBL"!==s))});let a=this.fields.indexOf("PY");-1!==a&&this.fields.splice(a+1,0,"FPY")}if("ALLDB"===this.search.database&&this.search.editions?this.dbNameList=this.friendly.getDBListFromEditions(this.search.editions):this.translate.stream(this.search.database+"_name").pipe((0,w.Q)(this.destroyed$)).subscribe(a=>this.dbNameList=[a]),this.analyzeFieldParam)this.currentField=this.analyzeFieldParam;else{const a=this.search.database+"AnalyzeCategory";this.currentField=null!==this.storage.get(a)?this.storage.get(a):e?.defaultDisplayed?e?.defaultDisplayed:this.fields[0]}this.runAnalyzes(),this.updateSelectedChart()}ngOnChanges(e){this.isAuthorNameLoading$=this.store.select(c.hT),this.isAuthorNameLoading$.pipe((0,w.Q)(this.destroyed$),(0,I.p)(a=>!a&&"DX2NG"===this.currentField)).subscribe(()=>{this.values=this.processAnalyzeValues(this.rawData),this.authorIds="DX2NG"===this.currentField?this.values.map(a=>a.Key):[],this.announcePageLoad()}),super.ngOnChanges()}announcePageLoad(){this.shouldAnnouncePageLoad&&(this.shouldAnnouncePageLoad=!1,this.liveAnnouncer.announce(this.translate.instant("analyzeResultsPageLoaded")))}updateSelectedChart(){"PY"===this.currentField||"GSY"===this.currentField||"FPY"===this.currentField?(this.selectedChart="bar",this.selectedSort="Field"):this.selectedChart="tree"}generateAnalyzeKey(e=!1){let a=this.selectedSort;return("PY"===this.currentField||"GSY"===this.currentField||"FPY"===this.currentField)&&"Field"===a&&(a+="_D"),null!==this.currentField&&(console.log("ngOnChanges set analyze category to",this.currentField),this.storage.persist(this.search.database+"AnalyzeCategory",this.currentField)),R.Y.buildAnalyzeRequestString(this.currentField,e?1e5:Number.parseInt(this.totalDisplayed,10),a,this.minRecords,!0,!0)}runAnalyzes(){this.allSelected=!1;const e=this.generateAnalyzeKey();this.analyzeSubscription&&this.analyzeSubscription.unsubscribe(),this.store.dispatch(new x.IV.oz({search:this.search,analyzes:[e]})),this.analyzeSubscription=this.store.select(x.dT,{qid:this.search.id,field:e}).pipe((0,I.p)(a=>!!a),(0,L.E)(this.store.select(x.j,{search:this.search}).pipe((0,I.p)(a=>!!a),(0,V.s)(1))),(0,w.Q)(this.destroyed$)).subscribe(([a,i])=>{this.totalAnalyzed=a.TotalCount,this.noDataCount=a.NoDataCount,this.rawData=a.Values,this.totalCount=i.found,this.values=this.processAnalyzeValues(a.Values),this.updateDataMsg(),"DX2NG"!==this.currentField&&this.announcePageLoad(),this.doChange()})}processAnalyzeValues(e){return e.map(a=>({Key:a.Key.substring(a.Key.indexOf(".")+1),Value:a.Value,keyTransformed:this.rt.transform(a.Key,null,this.search.database),percent:(100*a.Value/this.totalCount).toFixed(3),selected:!1}))}refineSearch(e){this.searches.runRefineSearch(this.search,e,{count:50,sort:this.recentSearchSort,history:!0},{eventMode:"refineOnRA"}).subscribe(a=>{"marked_list"===this.search.mode?this.markedRefineSearch(e):this.router.navigate([this.search.database.toLowerCase(),"summary",a.id,this.recentSearchSort,"1"])})}selectAll(e){this.allSelected=e,this.someSelected=!1;for(const a of this.values)a.selected=e}openAuthorPreviewSideNav(e){e>=0&&(0===this.authorIds.length&&(this.authorIds=this.values.map(a=>a.Key)),this.store.dispatch(new y.eN({authorIds:this.authorIds,index:e})))}checkAllSelected(){const e=this.values.filter(a=>a.selected).length;this.allSelected=e===this.values.length,this.someSelected=e>0&&!this.allSelected}refineBySelected(){this.refineSearch([{index:this.currentField,value:this.values.filter(e=>e.selected).map(e=>e.Key)}])}excludeBySelected(){this.refineSearch([{index:this.currentField,value:this.values.filter(e=>e.selected).map(e=>e.Key),exclude:!0}])}doChange(){this.change.detectChanges()}ngOnDestroy(){document.querySelectorAll(".d3-tip").forEach(e=>{e.parentNode.removeChild(e)}),this.analyzeSubscription.unsubscribe(),super.ngOnDestroy()}changeVisualization(e){this.selectedChart=e.value}changeNumberToShow(e){this.numberToShow=e.value}convertToSearchRefines(e){const a=e.split(/\.(.+)/,2);return{index:a[0],value:[a[1]]}}exportRows(){if(this.exportInProgress=!0,"displayed"===this.tableExportSelection)this.downloadRows(this.values);else{const e=this.generateAnalyzeKey(!0);this.store.dispatch(new x.IV.oz({search:this.search,analyzes:[e]})),this.store.select(x.dT,{qid:this.search.id,field:e}).pipe((0,N.$)(a=>!!a)).subscribe(a=>{this.downloadRows(this.processAnalyzeValues(a.Values))})}}downloadRows(e){const a=this.search.database+"_"+this.currentField+"_analyze_name";let i=this.translate.instant(a);a===i&&(i=this.translate.instant(this.currentField+"_analyze_name"));let s=`${i}\t${this.recordsHeader}\t${this.percentOfHeader}\n`;for(const S of e)s+=`${S.keyTransformed.trim()}\t${String(S.Value)}\t${String(S.percent)}
1\n`;e.length<this.totalAnalyzed&&(s+="\n"+this.translate.instant("outsideAnalyzeDisplayOptions",{count:this.values.length.toLocaleString(),total:this.totalAnalyzed.toLocaleString()})),this.noDataMsg&&(s+="\n"+this.noDataMsg),this.downloadService.downloadStringAsTxtFile(s,"analyze"),this.exportInProgress=!1,this.doChange()}downloadGraphs(){this.downloadService.downloadSVGAsJPG("svg-content","visualization",{width:1960,height:960,fillColor:"bar"===this.selectedChart?"#bc99ff":"#fff",backgroundColor:"#fff"})}downloadTreeMapAsImage(){const e=this.treeMapChartInstance;e&&e.exportChart({type:"image/png",filename:"institution-trend-tree-map"},e.options)}onTreeMapChartReady(e){this.treeMapChartInstance=e}updateDataMsg(){this.noDataMsg=this.noDataCount>0?this.translate.instant("noData",{count:this.noDataCount.toLocaleString(),percent:(100*this.noDataCount/this.totalCount).toFixed(3).toLocaleString()}):null,this.recordsHeader=this.translate.instant("default"),this.percentOfHeader=this.translate.instant("percentOf",{count:this.totalCount?this.totalCount.toLocaleString():""})}markedRefineSearch(e){return d.m.navigateToNewSearch({...this.search,refines:(this.search.refines||[]).concat(e)},void 0,this.router,"marked",this.recentSearchSort,this,"handleRefineError")}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(t.gRc),t.rXU(g.c$),t.rXU(_.il),t.rXU($.c),t.rXU(u.Ix),t.rXU(v.w),t.rXU(l.n),t.rXU(M.h),t.rXU(E.s),t.rXU(O.hE),t.rXU(o.R),t.rXU(u.nX))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-analyze-home"]],inputs:{search:"search"},features:[t.Vt3,t.OA$],decls:33,vars:42,consts:[["showTable",""],["showChart",""],["bar",""],["exportNotRunning",""],[1,"analyze-container"],[1,"font-weigth-700"],[1,"sub-header"],[1,"total-count"],["class","field-select","id","snSelectCategories",3,"allowSearch","fixedHeight","selectionsCategory","translatePostfix","database","optVals","value","valueChange",4,"ngIf"],[1,"table-controls"],[1,"table-control"],["width","auto",3,"valueChange","small","allowSearch","fixedHeight","optVals","value","translatePostfix"],["width","auto",3,"valueChange","small","allowSearch","fixedHeight","optVals","value"],["type","number",1,"wos-input","min-records",3,"keydown.enter","formControl"],["class","data-box","data-ta","analyze-chart-section","id","snAnalyzeResultsChart",4,"ngIf"],["class","wat-spinner",3,"diameter",4,"ngIf","ngIfElse"],["id","snSelectCategories",1,"field-select",3,"valueChange","allowSearch","fixedHeight","selectionsCategory","translatePostfix","database","optVals","value"],["data-ta","analyze-chart-section","id","snAnalyzeResultsChart",1,"data-box"],[1,"top-controls"],[1,"left-controls"],[1,"row-label"],["floatLabel","never","appearance","outline",3,"dir"],["placeholder","selectAnalyzeChart","id","selectAnalyzeChart",3,"selectionChange","aria-label","value"],[3,"value",4,"ngFor","ngForOf"],["id","numberToShow",3,"selectionChange","aria-label","value"],["mat-stroked-button","","color","primary",3,"disabled","click",4,"ngIf"],[4,"ngIf"],[3,"currentField","sort","rawData","numberShown","addRefine",4,"ngIf"],[3,"value"],["mat-stroked-button","","color","primary",3,"click","disabled"],["role","img","svgIcon","download",1,"cdx-mat-icon-12","margin-right-5--reversible"],[1,"center"],[1,"wat-spinner",3,"diameter"],[3,"addRefine","showAuthorPreviewOverlay","chartReady","rawData","numberShown","database"],[3,"addRefine","showAuthorPreviewOverlay","rawData","numberShown","database"],[3,"addRefine","currentField","sort","rawData","numberShown"],["id","snAnalyzeResultsDataTable",1,"data-box"],[1,"analyze-stats"],["class","outside-display-options",4,"ngIf"],["mat-table","",1,"data-table",3,"dataSource"],["matColumnDef","checkbox",1,"checkbox-col"],["mat-header-cell","","scope","col",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","field"],["matColumnDef","recordCount"],["mat-cell","","data-ta","analyze-count",4,"matCellDef"],["matColumnDef","recordCountPercent"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","data-ta","analyze-table-option",4,"matRowDef","matRowDefColumns"],[1,"refine-and-download"],[1,"button-label"],["mat-stroked-button","","color","primary","data-ta","analyze-submit-table-selections",1,"analyze-result-refine",3,"click","disabled"],["mat-stroked-button","","color","primary","data-ta","analyze-exclude-submit-table-selections",1,"analyze-result-refine","exclude-results-by-selected",3,"click","disabled"],[1,"export"],[1,"download-data-table"],[1,"cdk-visually-hidden"],[1,"export-radio-selections",3,"ngModelChange","ngModel"],["color","primary","value","displayed"],["color","primary","value","all",1,"bottom-btn",3,"disabled"],["mat-stroked-button","","color","primary",1,"download-data-table",3,"click","disabled"],[4,"ngIf","ngIfElse"],[1,"outside-display-options"],["width","auto",3,"valueChange","small","allowSearch","fixedHeight","selectionsCategory","optVals","value"],["mat-header-cell","","scope","col"],["aria-hidden","true"],[1,"checkbox-position",3,"change","aria-label","checked","ngClass","indeterminate"],["hidden","","aria-hidden","true"],["mat-cell",""],[3,"ngModelChange","aria-label","ngModel"],["hidden",""],["mat-cell","","data-ta","analyze-name",4,"matCellDef"],["mat-cell","","data-ta","analyze-name"],[1,"address_link",3,"click"],["mat-cell","","data-ta","analyze-count"],["mat-header-row",""],["mat-row","","data-ta","analyze-table-option"],["role","img","svgIcon","circle-notch",1,"svg-spinner"]],template:function(a,i){if(1&a){const s=t.RV6();t.j41(0,"div",4)(1,"h1",5),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",6)(5,"span",7),t.EFF(6),t.nI1(7,"number"),t.k0s(),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.DNE(10,dt,2,10,"wos-select",8),t.j41(11,"div",9)(12,"div",10),t.EFF(13),t.nI1(14,"translate"),t.nrm(15,"br"),t.j41(16,"w
1os-select",11),t.bIt("valueChange",function(F){return t.eBV(s),i.selectedSort=F,t.Njj(i.runAnalyzes())}),t.k0s()(),t.j41(17,"div",10),t.EFF(18),t.nI1(19,"translate"),t.nrm(20,"br"),t.j41(21,"wos-select",12),t.bIt("valueChange",function(F){return t.eBV(s),i.totalDisplayed=F,t.Njj(i.runAnalyzes())}),t.k0s()(),t.j41(22,"div",10),t.EFF(23),t.nI1(24,"translate"),t.nrm(25,"br"),t.j41(26,"input",13),t.nI1(27,"translate"),t.bIt("keydown.enter",function(){return t.eBV(s),t.Njj(i.minRecordsInput.valid&&(i.minRecords=i.minRecordsInput.value)&&i.runAnalyzes())}),t.k0s()()(),t.DNE(28,_t,27,30,"div",14)(29,vt,1,1,"mat-spinner",15),t.nI1(30,"async"),t.DNE(31,Lt,55,45,"ng-template",null,0,t.C5r),t.k0s()}if(2&a){const s=t.sdS(32);t.R7$(2),t.JRh(t.bMT(3,23,"analyzeResults")),t.R7$(4),t.JRh(t.bMT(7,25,i.totalCount)),t.R7$(2),t.SpI("",t.i5U(9,27,1==i.totalCount?"analyzeResultsPublicationsSelectedFromSingular":"analyzeResultsPublicationsSelectedFrom",t.eq3(40,it,i.dbNameList.join(", ")))," "),t.R7$(2),t.Y8G("ngIf",i.fields),t.R7$(3),t.SpI(" ",t.bMT(14,30,"selectAnalyzeSort")," "),t.R7$(3),t.Y8G("small",!0)("allowSearch",!1)("fixedHeight",!1)("optVals",i.selectedSortOptions)("value",i.selectedSort)("translatePostfix","PY"===i.currentField||"GSY"===i.currentField||"FPY"===i.currentField?"_refine_sort_PY":"_refine_sort"),t.R7$(2),t.SpI(" ",t.bMT(19,32,"show")," "),t.R7$(3),t.Y8G("small",!0)("allowSearch",!1)("fixedHeight",!1)("optVals",i.totalDisplayedOptions)("value",i.totalDisplayed),t.R7$(2),t.SpI(" ",t.bMT(24,34,"showResultsForMinRecord")," "),t.R7$(3),t.Y8G("formControl",i.minRecordsInput),t.BMQ("aria-label",t.bMT(27,36,"inputAnalyzeMinRecords")),t.R7$(2),t.Y8G("ngIf",i.values.length>0),t.R7$(),t.Y8G("ngIf",t.bMT(30,38,i.isAuthorNameLoading$))("ngIfElse",s)}},dependencies:[h.YU,h.Sq,h.bT,m.So,C.ig,f.Zl,f.tL,f.ji,f.cC,f.YV,f.iL,f.KS,f.$R,f.YZ,f.NB,b.me,b.Q0,b.BC,b.vS,T.R,A.rl,b.l_,X.VO,Q.wT,Y.$z,U.An,H.VT,H._g,W.LG,tt,et.i,at.t,h.Jj,h.QX,g.D9,M.Q,nt.h],styles:[".analyze-container{display:flex;justify-content:center;flex-direction:column;margin-bottom:30px}.analyze-container .center{text-align:center}.analyze-container .analyze-result-refine{margin-right:.625rem}.analyze-container h1{margin-top:30px;font-size:24px;margin-bottom:10px}@media (max-width: 900px){.analyze-container .exclude-results-by-selected{line-height:26px}.analyze-container .download-data-table{padding:0}}.analyze-container .sub-header{font-size:20px}.analyze-container .sub-header .total-count{font-size:26px}.analyze-container .field-select{width:400px;margin-top:30px}.analyze-container .field-select .dropdown{background-color:var(--sys-primary);color:#fff;font-size:20px}.analyze-container .field-select .dropdown mat-icon{color:#fff;width:1.5rem!important;height:1.5rem!important;line-height:1.75rem;position:relative;top:.125rem;left:-.125rem}.analyze-container .table-controls{display:flex;background-color:#dadada;padding:15px 30px;margin-top:30px;margin-bottom:30px}.analyze-container .table-controls button,.analyze-container .table-controls .min-records{height:30px}.analyze-container .table-controls .dropdown.small{background-color:#fff!important}.analyze-container .table-controls .table-control{margin-right:32px}.analyze-container .table-controls .table-control input::-webkit-outer-spin-button,.analyze-container .table-controls .table-control input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.analyze-container .table-controls .table-control input[type=number]{-moz-appearance:textfield}.analyze-container .table-controls .table-control .min-records{width:70px;text-align:center;margin-right:8px}.analyze-container .table-controls .table-control .min-records.ng-invalid{box-shadow:0 0 0 2px #c43a5e!important}.analyze-container .table-controls .table-control wos-select,.analyze-container .table-controls .table-control .min-records,.analyze-container .table-controls .table-control .search{margin-top:5px}.analyze-container .data-box .analyze-stats{font-weight:400;font-size:125%;margin-bottom:30px;line-height:1.5}.analyze-container .data-box .analyze-stats .outside-display-options{display:inline-flex}
1.analyze-container .data-box .analyze-stats .outside-display-options wos-select{margin-right:5px;margin-left:5px}.analyze-container .data-box .data-table{text-align:left}[dir=rtl] .analyze-container .data-box .data-table{text-align:right}.analyze-container .data-box .data-table th{height:48px;background-color:#b2b2b84d}.analyze-container .data-box .data-table th.cdk-column-field,.analyze-container .data-box .data-table th.cdk-column-recordCount,.analyze-container .data-box .data-table th.cdk-column-recordCountPercent{padding-left:15px!important}.analyze-container .data-box .data-table th.mat-column-checkbox{padding-top:15px;padding-bottom:15px}.analyze-container .data-box .data-table .mat-column-checkbox{width:120px;text-align:center}.analyze-container .data-box .data-table td.mat-column-checkbox{padding-left:0!important}.analyze-container .data-box .checkbox-position{margin-right:17px;margin-top:6px}.analyze-container .data-box .refine-and-download{background-color:#dadada;min-height:90px;padding:15px 30px;position:relative;display:flex;justify-content:space-between}.analyze-container .data-box .refine-and-download .export{display:flex;flex-direction:row;align-items:center;flex-wrap:wrap}.analyze-container .data-box .refine-and-download .export .export-radio-selections{display:flex;flex-direction:column;margin-right:15px}.analyze-container .data-box .refine-and-download .export .export-radio-selections .mat-internal-form-field label{font-size:14px}.analyze-container .data-box .refine-and-download .export .export-radio-selections .bottom-btn{margin-top:5px}@media (max-width: 600px){.analyze-container .data-box .refine-and-download{flex-direction:column;gap:1rem;align-items:baseline}}.analyze-container .top-controls{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap}.analyze-container .left-controls{display:flex;align-items:center;justify-content:flex-start;flex:1 1 auto}.analyze-container .left-controls .row-label{padding-right:1.25rem}@media (max-width: 500px){.analyze-container .left-controls{flex-direction:column}.analyze-container .top-controls{flex-direction:column;align-items:baseline}}.analyze-container .mdc-notched-outline{height:2.5rem!important;color:#9e9e9e}.analyze-container div.mat-mdc-form-field-infix{padding-bottom:15px!important;width:186px}.analyze-container .mat-form-field-appearance-outline .mat-mdc-text-field-wrapper{padding-right:1.5rem!important;margin:4px 0}[dir=rtl] .analyze-container .mat-form-field-appearance-outline .mat-mdc-text-field-wrapper{padding-left:1.5rem!important;margin:4px 0}\n"],encapsulation:2})}}return n})();var jt=r(91743);const Ht=[{path:":qid",component:Nt,data:{__input_route_inputs:["search"]},resolve:{__input_route_params:D.H,search:jt.cg}}];let Gt=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[u.iI.forChild(Ht),u.iI]})}}return n})();var Bt=r(53027),Kt=r(27926),J=r(77453),Xt=r(59042),Yt=r(78958),Ut=r(60675),Wt=r(40618),Jt=r(66046);let Qt=(()=>{class n{static{this.\u0275fac=function(a){return new(a||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[h.MD,Gt,Bt.c,Kt.gy,g.h,m.g7,f.tP,b.YN,J.C,Xt.fS,b.X1,A.RG,X.Ve,Y.Hl,J.C,U.m_,H.Wk,Yt.R,Ut.x,W.D6,Wt.D,Jt._]})}}return n})()},10228:(K,P,r)=>{r.d(P,{t:()=>M});var h=r(54438),u=r(74317),D=r(55035),j=r(1134),x=r(19494),$=r(65245),k=r(56977),R=r(78231),w=r(60177),V=r(57967),I=r(68018),L=r(84745),N=r(56729);let M=(()=>{class b extends R.${static{this.tooltips=V.Ay}static{this.idCounter=1}constructor(l,c,d,y,g){super(c,l),this.rt=d,this.store=y,this.config=g,this.showAuthorPreviewOverlay=new h.bkB,this.addRefine=new h.bkB,this.margin={top:10,right:0,bottom:10,left:0},this.width=960-this.margin.left-this.margin.right,this.height=480-this.margin.top-this.margin.bottom,this.color=u.UMr().range(this.config.getSettings().app.summary.analyzeResultsColorRange),this.logScaleMinHeight=2,this.x=u.WH().rangeRound([0,this.width]).padding(.2),this.y=u.m4Y().rangeRound([this.height,0]),this.title="Treemap Chart",this.textAnchor="start",this.childrenData=[],this.format=u.GPZ(",d"),this.scaleTree=!1,this.data={name:"tree",children:this.childrenData},this.isRTL$=x.Y.isRTL$,this.isResearcherProfile=!1,this.id=b.idCounter+++"",this.elementId="treeChart-"+this.id,this.isRTL$.pipe((0,$.i)(1),(0,k.Q)(this.destroyed$)).subscribe(()=>this.ngOnChanges())}ngAfterViewInit(){this.ngOnChanges()}ngOnChanges(){this.totalDataLength=this.rawData.length,this.childrenData=[];for(let l=0;l<this.totalDataLength&&l<this.numberShown;l++){let c={};c={name:this.rt.transform(this.rawData[l].Key,null,this.database),size:this.rawData[l].Value,refineKey:this.rawData[l].Key,idNbr:l},this.childrenData.push(c)}this.isResearcherProfile=!!this.childrenData[0].refineKey.includes("DX2NG"),this.data={name:"tree",children:this.childrenData},0!==u.Ltv(`#${this.elementId}`).size()&&(u.Ltv(`#${this.elementId}`).selectAll("svg").remove(),u.Ltv(`#${this.elementId}`).selectAll(".d3-tip").remove(),this.parentThis=this,this.isRTL=this.isRTL$.getValue(),this.buildSvg(),this.drawChart(),this.setTooltips())}buildSvg(){this.isRTL&&this.data.children.sort((l,c)=>l.size-c.size),this.minVal=u.jkA(this.data.children,l=>l.size),this.maxVal=u.T9B(this.data.children,l=>l.size),this.diff=this.maxVal-this.minVal,this.scaleTree=!1,this.difPct=this.minVal/this.maxVal,this.scaleTree=this.difPct<.5,this.scaleTree=this.diff>1e3,this.dataScale=u.ZEH().domain([this.minVal/2,this.maxVal]).range([0,100]),this.treeMap=u.hkb().tile(u.bC4).size([this.width,this.height]).round(!0).paddingInner(3),this.isRTL?u.Sk5(this.data).sort((l,c)=>l.value-c.value):u.Sk5(this.data).sort((l,c)=>c.value-l.value),this.svg=u.Ltv(`#${this.elementId}`).append("svg").attr("viewBox",[0,0,950,480]).attr("preserveAspectRatio","xMidYMid meet").attr("class","svg-content").attr("tabindex","-1").attr("aria-label",()=>"TreeMap Chart").append("g").attr("class","chart").attr("transform","translate("+this.margin.left+","+this.margin.top+")")}drawChart(){const l=this;let c,d;this.svg.append("rect").attr("width","100%").attr("height","100%").attr("fill","#fff"),d=this.scaleTree?u.Sk5(this.data,g=>g.children).sum(function(g){return l.dataScale(g.size)}):u.Sk5(this.data,g=>g.children).sum(g=>g.size);const y=this.treeMap(d);if(this.totalDataLength>0){const _=this.svg.selectAll("g").data(y.leaves()).enter().append("g").attr("role","presentation").attr("class","mapboxg").attr("data-name",o=>o.data.name).attr("data-count-formatted",o=>(0,w.ZV)(o.data.size,"en")).attr("data-ta","analyze-chart-option").attr("aria-labelledby",(o,m)=>"desc"+m).attr("transform",o=>"translate("+o.x0+","+o.y0+")").style("overflow","hidden").style("outline","0px");_.append("desc").attr("id",(o,m)=>"desc"+m).attr("aria-hidden","false").text(o=>o.data.name+" "+o.data.size+" "+l.translate.instant("records").toLowerCase()),_.append("rect").attr("id",(o,m)=>"parent"+m).attr("size",o=>o.data.size).attr("width",o=>(c=o.x1-o.x0,o.x1-o.x0)).attr("tabindex","0").attr("height",o=>o.y1-o.y0).attr("fill",o=>this.color(o.data.name)).attr("aria-labelledby",(o,m)=>"tip"+m).attr("role","button").attr("class","mapbox").on("click",(o,m)=>{x.Y.getToggle("enableResearcherProfile",this.store)&&this.isResearcherProfile&&this.showAuthorPreviewOverlay.emit
1(m)}),_.append("text").attr("y",44).style("opacity","0").attr("text-anchor",l.textAnchor).attr("width",o=>o.x1-o.x0).attr("x",()=>4).attr("id",(o,m)=>"tip"+m).text(l.translate.instant("analyzeAltEnter"));let v=_.append("text").attr("y",33).attr("class","dataSize").attr("text-anchor",l.textAnchor).attr("width",o=>o.x1-o.x0).attr("x",o=>this.calculateXText(o)).text(function(o){return l.format(o.data.size)});v.node()?.getBBox().width>c&&(v.attr("x",2),v.style("font-size","12px")),_.append("text").attr("y",44).attr("class","nameText").attr("text-anchor",l.textAnchor).attr("width",o=>o.x1-o.x0).attr("x",()=>4).attr("id",(o,m)=>"nameText"+m).text(o=>o.data.refineKey.startsWith("DC.")?o.data.name.substring(0,3):o.data.name)}u.Ltv(`#${l.elementId}`).selectAll(".nameText").call(l.processWrap)}setTooltips(){const l=this,c=l.svg.selectAll(".mapbox");c.attr("data-tippy-content",d=>'<section id="d3-tooltip-div" data-ta="analyze-chart-tooltip"><div tabindex="0" class="d3-tip-div"><b><span class="d3-tip-recordName" data-ta="tooltip-name" >'+d.data.name+'</span></b><div id="tool_tip_close" class="fa fa-close tool_tip_close"></div><br/><br/><span data-ta="tooltip-record-count" class="d3-tip-recordName">'+(0,w.ZV)(d.data.size,"en")+"<br>"+l.translate.instant("records").toLowerCase()+'</span><br/> <span id="dataset_key" style="display:none" >'+d.data.refineKey+'</span></br><div> <button autofocus class="chart-tooltip-button" id="treeMapViewRecs">'+l.translate.instant("viewRecords")+"</button></div></div></section>"),b.tooltips(c.nodes(),{allowHTML:!0,interactive:!0,appendTo:document.body,arrow:!0,interactiveBorder:5,aria:{content:"describedby",expanded:!0},trigger:"mouseenter focus focusin keyup",onUntrigger(d){d.hide()},onShown(d){x.Y.onShown(d,l,"treeMapViewRecs")}})}calculateXText(l){return this.isRTL?l.x1-l.x0-8:6}processWrap(l){const c=(0,D.textwrap)().method("tspans");l.each(function(d){if(d.parent){const y=u.Ltv(this),g=u.Ltv(this.parentNode).selectAll(".mapbox"),_=g.attr("width"),v=g.attr("height"),O={height:parseInt(v,10),width:parseInt(_,10)-10};c.bounds(O),y.call(c)}})}static{this.\u0275fac=function(c){return new(c||b)(h.rXU(I.c$),h.rXU(h.gRc),h.rXU(j.h),h.rXU(L.il),h.rXU(N.w))}}static{this.\u0275cmp=h.VBU({type:b,selectors:[["app-analyze-treemap-chart-d3"]],inputs:{mode:"mode",numberShown:"numberShown",rawData:"rawData",database:"database",chatMode:"chatMode"},outputs:{showAuthorPreviewOverlay:"showAuthorPreviewOverlay",addRefine:"addRefine"},features:[h.Vt3,h.OA$],decls:1,vars:1,consts:[["role","presentation",1,"treeMap","svg-container","margin-top-20",3,"id"]],template:function(c,d){1&c&&h.nrm(0,"div",0),2&c&&h.Y8G("id",d.elementId)},styles:['@charset "UTF-8";.line{fill:none;stroke:#4301f0;stroke-width:3px}.svg-container{display:inline-block;width:100%;padding-bottom:1.875rem;vertical-align:top;overflow:hidden}.svg-content{display:inline-block;font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;top:0;left:0}.grid line{stroke:#d3d3d3;stroke-opacity:.6;shape-rendering:crispEdges}.bar{fill:#eee7f8}.bar:hover{fill:#ff4500}.legend{font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;font-size:.6875rem}.xAxisText{font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;font-size:.625rem;color:#000}.d3-tip{line-height:1;font-weight:700;font-size:.8125rem;padding:12px;background:#000c;color:#fff;border-radius:4px}.d3-tip:after{box-sizing:border-box;display:inline;font-size:10px;width:100%;line-height:1;color:#000c;content:"\\25bc";position:absolute;text-align:center}.d3-tip.n:after{margin:-1px 0 0;top:100%;left:0}.overlay{fill:none;pointer-events:all}.circle{opacity:0}.circle:hover{opacity:1;fill:#ff4500}.hover-line{stroke:#6f257f;stroke-width:2px;stroke-dasharray:3,3}.lineSquare{background-color:#4301f0;height:10px;width:10px;min-height:10px;min-width:10px;border:1px solid white;margin-right:5px}.barSquare{background-color:#bc99ff;height:10px;width:10px;min-height:10px;min-width:10px;border:1px solid white;margin-right:5px}div.tooltip{position:absolute;text-align:center;width:150px;height:auto;padding:10px;font-size:13px;font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;background:#4b749b;border:0;border-radius:8px;pointer-events:none}.d33-tip{line-height:1;padding:11px;background:#fafafc;box-shadow:0 0 4px #0003;color:#000;border-radius:3px;border-color:#d4d4d4;font-size:12px;border-width:thin;border-style:solid}.d33-tip:after{content:"";position:absolute;top:100%;left:50%;margin-left:-5px;border-width:5px;border-style:solid;border-color:#FAFAFC transparent transparent transparent;max-width:400px}.d33-tip:before{content:"";position:absolute;top:100%;left:50%;margin-left:-7px;border-width:7px;border-style:solid;border-color:#D4D4D4 transparent transparent transparent;max-width:400px}.d3-tip-div{text-align:center;color:#fff;line-height:16px;max-width:400px}.d3-tip-recordSize{font-size:25px}.d3-tip-recordKey{font-size:14px}.d3-tip-recordName{font-weight:600;font-size:14px}.d3-tip-recordStr{color:#000000b3}.bottomTick{text-overflow:ellipsis}.dataSize{fill:#fff;font-size:1.125rem;font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;font-weight:600;opacity:1}.nameText{fill:#fff;font-size:.75rem;font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;font-weight:600}.nameText tspan{font-size:.75rem!important}@media screen and (-ms-high-contrast: active),screen and (-ms-high-contrast: none){.svg-content{height:65vh}}\n','.tippy-box[data-animation=fade][data-state=hidden]{opacity:0}
1[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:-1px}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:-1px}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1}\n'],encapsulation:2})}}return b})()},35382:(K,P,r)=>{r.d(P,{i:()=>b});var h=r(54438),u=r(21264),D=r.n(u),x=(r(99309),r(1134)),$=r(19494),k=r(65245),R=r(56977),w=r(78231),V=r(60177),I=r(68018),L=r(84745),N=r(56729),M=r(66046);let b=(()=>{class E extends w.${static{this.chartIdNumber=0}constructor(c,d,y,g,_){super(d,c),this.rt=y,this.store=g,this.config=_,this.showAuthorPreviewOverlay=new h.bkB,this.addRefine=new h.bkB,this.chartReady=new h.bkB,this.highcharts=D(),this.isRTL$=$.Y.isRTL$,this.isResearcherProfile=!1,this.childrenData=[],this.chartId="treeChart-"+ ++E.chartIdNumber,this.chartCallback=v=>{this.chartInstance=v,this.chartReady.emit(v)},this.isRTL$.pipe((0,k.i)(1),(0,R.Q)(this.destroyed$)).subscribe(()=>this.ngOnChanges()),window.onViewRecordsClick=this.onViewRecordsClick.bind(this)}ngOnChanges(){const c=this.rawData?.length??0;this.childrenData=[];for(let d=0;d<c&&d<this.numberShown;d++)this.childrenData.push({name:this.rt.transform(this.rawData[d].Key,null,this.database),value:this.rawData[d].Value,refineKey:this.rawData[d].Key,idNbr:d});this.isResearcherProfile=this.childrenData?.[0]?.refineKey?.includes("DX2NG")??!1,this.isRTL=this.isRTL$.getValue(),this.buildChartOptions()}buildChartOptions(){D().AST.allowedAttributes.push("onclick");const c=this.translate,d=this.config.getSettings().app.summary.analyzeResultsColorRange,y=this.isResearcherProfile,g=this.store,_=this.showAuthorPreviewOverlay,v=this.childrenData?.map((o,m)=>({name:o.refineKey?.startsWith("DC.")?o.name?.substring(0,3):o.name,value:o.value,refineKey:o.refineKey,idNbr:o.idNbr,color:d[m%d.length]}))??[],O=this.isRTL?[...v].sort((o,m)=>o.value-m.value):[...v].sort((o,m)=>m.value-o.value);this.chartOptions={chart:{type:"treemap",reflow:!0,height:496,events:{render:function(){this.series.forEach(m=>{m.points?.forEach(C=>{C.dataLabel.css({whiteSpace:"normal"})})})}}},exporting:{sourceHeight:496,sourceWidth:1096},title:{text:""},credits:{enabled:!1},accessibility:{enabled:!0,description:"TreeMap Chart",keyboardNavigation:{enabled:!0,seriesNavigation:{mode:"serialize"}}},series:[{type:"treemap",layoutAlgorithm:"squarified",data:O,dataLabels:{enabled:!0,useHTML:!0,allowOverlap:!0,align:"left",verticalAlign:"top",x:2,y:0,formatter:function(){const o=this.series?.chart?.chartWidth??0,m=Math.max(1,Math.min(o/600,1.5))+"rem",C=Math.max(.75,Math.min(o/800,1))+"rem";return`<div class="treemap-data-label" style="height: ${this.shapeArgs.height-6}px; width: ${this.shapeArgs.width-6}px;"><span class="treemap-count" style="font-size: ${m};">${this.value}</span><span class="treemap-name" style="font-size: ${C};">${this.name}</span></div>`}},point:{events:{click:function(){const o=this.options?.idNbr;$.Y.getToggle("enableResearcherProfile",g)&&y&&_.emit(o)}}}}],tooltip:{style:{color:"white",pointerEvents:"auto"},useHTML:!0,backgroundColor:"#000000",borderWidth:0,borderRadius:10,padding:16,shared:!1,stickOnContact:!0,outside:!0,positioner:function(o,m,C){const f=this.chart;let T=C.plotX+f.plotLeft-o/2,A=C.plotY+f.plotTop-m-10;return T<f.plotLeft&&(T=f.plotLeft),T+o>f.plotLeft+f.plotWidth&&(T=f.plotLeft+f.plotWidth-o),A<f.plotTop&&(A=C.plotY+f.plotTop+10),A+m>f.plotTop+f.plotHeight&&(A=f.plotTop+f.plotHeight-m),{x:T,y:A}},formatter:function(){return`<div class="treemap-tooltip-div"><b><span class="treemap-tooltip-recordName">${this.name}</span></b><br/><br/><span class="treemap-tooltip-recordName">${(0,V.ZV)(this.options.value,"en")}<br>${c.instant("records").toLowerCase()}</span><br/><br/><div><button class="chart-tooltip-button" id="treeMapViewRecs" type="button" onclick="onViewRecordsClick()">${c.instant("viewRecords")}</button></div></div>`}}}}onViewRecordsClick(){const d=this.chartInstance?.hoverPoint?.options?.refineKey;d&&(this.addRefine.emit(d),this.chartInstance?.tooltip?.hide())}static{this.\u0275fac=function(d){return new(d||E)(h.rXU(I.c$),h.rXU(h.gRc),h.rXU(x.h),h.rXU(L.il),h.rXU(N.w))}}static{this.\u0275cmp=h.VBU({type:E,selectors:[["app-analyze-treemap-chart"]],inputs:{mode:"mode",numberShown:"numberShown",rawData:"rawData",database:"database",chatMode:"chatMode"},outputs:{showAuthorPreviewOverlay:"showAuthorPreviewOverlay",addRefine:"addRefine",chartReady:"chartReady"},features:[h.Vt3,h.OA$],decls:1,vars:4,consts:[["role","presentation",1,"margin-top-20",3,"id","Highcharts","options","callbackFunction"]],template:function(d,y){1&d&&h.nrm(0,"highcharts-chart",0),2&d&&h.Y8G("id",y.chartId)("Highcharts",y.highcharts
1)("options",y.chartOptions)("callbackFunction",y.chartCallback)},dependencies:[M.H],styles:[".line{fill:none;stroke:#4301f0;stroke-width:3px}highcharts-chart{display:block;width:100%;min-width:0}.treemap-data-label{overflow:hidden}.treemap-count,.treemap-name{display:block;font-family:Source Sans Pro,Noto Kufi Arabic,Arial,Helvetica,sans-serif;font-weight:600;color:#fff}.treemap-tooltip-div{text-align:center;color:#fff;line-height:16px}.treemap-tooltip-recordName{font-weight:600;font-size:14px}.treemap-tooltip-button{background-color:#fff;padding:.625rem;border-radius:.3125rem}\n"],encapsulation:2})}}return E})()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.