1import{a as gi,b as dn,c as pn}from"./chunk-AF34HNCT.js";import{a as on}from"./chunk-CTBEVMUO.js";import{a as Ee}from"./chunk-2FVCGZRJ.js";import{a as rn,b as an,c as sn,d as ln,e as cn}from"./chunk-5WWGJRQZ.js";import{a as qi,b as Ot,c as Ke,d as Ki,e as Qi,f as Ji,g as Zi,h as Yi,i as Xi,j as Ce,k as en,l as Tt,m as kt,n as Et,o as tn,p as nn}from"./chunk-EZ4DMQZ2.js";import"./chunk-3XY7GZE7.js";import"./chunk-OBD4A7XO.js";import{a as Wi}from"./chunk-BG4ZG7S6.js";import"./chunk-6IBII5S6.js";import"./chunk-4RSD4HMO.js";import{a as Dt}from"./chunk-GPI6V3HQ.js";import{a as Oi}from"./chunk-GSVXG26R.js";import{a as Ti}from"./chunk-5EA26AUE.js";import{b as Si,c as wi,d as Ii}from"./chunk-SEZJFHW7.js";import{a as me}from"./chunk-OBSZZO2Y.js";import"./chunk-QP4F2FOW.js";import"./chunk-TB7OVN47.js";import"./chunk-VQNASVMS.js";import{b as At}from"./chunk-SVSITSR5.js";import"./chunk-2SDBJNMJ.js";import"./chunk-AMCFBL7G.js";import"./chunk-2Y7DQS6Q.js";import"./chunk-2AGERO5T.js";import{a as Ie,c as j}from"./chunk-ZJKDYWEW.js";import"./chunk-CZGRVIAI.js";import"./chunk-4KMLHAWW.js";import"./chunk-BNG46WKZ.js";import{$ as Te,$a as $t,Aa as xe,Ad as We,B as Xt,Ba as p,Bd as hi,Ca as jt,Da as ii,Db as ri,Ea as Le,Eb as K,Ed as W,Fa as $,Fb as H,Ga as Ve,Ha as Re,Hb as dt,Hd as qe,He as Fi,I as ot,Ia as Ge,Id as ht,Ie as Ni,J as I,Ja as s,Je as Ui,K as Ze,Ka as c,Kd as fi,Ke as Li,La as P,Ld as ft,Le as Vi,Ma as k,Mb as ai,Mc as He,Md as Q,Me as Ri,N as rt,Na as E,Nc as mt,Nd as xi,Ne as Gi,O as at,Oa as z,Ob as si,Oe as zi,Pa as M,Pb as G,Pe as ji,Q as st,Qe as Bi,R as Ne,Ra as b,Rc as $e,Re as Xe,S as U,Sa as d,T as lt,Ub as pt,Ud as pe,Va as D,Vd as vi,Wa as se,Wd as he,We as Hi,Xa as ni,Y as ei,Ya as oi,Yd as re,Z as x,Za as Bt,Zd as xt,_ as v,_a as Ht,_d as vt,a as le,ab as w,ac as Se,ad as ie,ae as Ct,b as ye,bb as g,be as bt,cb as y,cc as li,cd as ne,ce as Pt,db as S,dd as oe,ea as De,eb as ve,ec as ci,ee as Mt,f as nt,fb as ze,fc as _e,fd as Wt,fe as yt,g as r,gb as je,ha as ct,hb as Be,ia as X,ib as ee,ic as de,id as N,ie as Ci,if as $i,j as q,jc as di,je as bi,kb as te,kd as ut,ke as Pi,lb as ge,le as Mi,ma as R,mb as ce,mc as we,me as yi,n as Yt,na as L,nb as ke,ne as St,qb as A,ra as ti,rb as V,re as wt,sa as l,sb as Ye,sd as gt,se as It,t as ae,ta as f,te as Di,ub as F,uc as pi,vc as mi,wc as ui,xa as Ue,xd as _t,xe as ki,yd as J,ye as Ei,za as u,zd as _i,ze as Ai}from"./chunk-GLMOMHUQ.js";var Fn=()=>({name:"Store",url:"/store"}),Nn=i=>({name:i}),Un=(i,a)=>[i,a],Ln=i=>({Name:i}),Vn=i=>["/store/accessories",i];function Rn(i,a){if(i&1&&P(0,"app-breadcrumbs",2),i&2){let n=d();p("breadcrumbs",ce(4,Un,te(1,Fn),ge(2,Nn,n.mainAccessoriesPage.Title)))}}function Gn(i,a){if(i&1){let n=M();s(0,"div",10)(1,"div",11)(2,"div",4),P(3,"img",12),s(4,"mat-dialog-actions")(5,"button",13),b("click",function(){x(n);let t=d(2);return v(t.moretoggleButton())}),s(6,"i",14),g(7,"highlight_off"),c()()()(),P(8,"div",15),c()()}if(i&2){let n=d(2);l(3),p("src",n.mainAccessoriesPage.LogoUrl,L),l(5),p("innerHTML",n.mainAccessoriesPage.ReadMoreDescription,R)}}function zn(i,a){if(i&1&&P(0,"img",26),i&2){let n=d().$implicit;D("alt",n.Name),p("src",n.ImageUrl,L)}}function jn(i,a){if(i&1&&P(0,"img",26),i&2){let n=d().$implicit,e=d(4);D("alt",n.Name),p("src",e.mainAccessoriesPage.LogoUrl,L)}}function Bn(i,a){if(i&1){let n=M();k(0),s(1,"a",21),b("click",function(){let t=x(n).$implicit,o=d(4);return v(o.accessoriesClick(t.Name))}),s(2,"div",22),g(3),c(),u(4,zn,1,2,"img",23)(5,jn,1,2,"img",23),s(6,"div",24)(7,"span",25),g(8),c()()(),E()}if(i&2){let n=a.$implicit;l(),p("routerLink",ge(5,Vn,n.RouteSegment)),l(2),y(n.Title),l(),p("ngIf",n.ImageUrl),l(),p("ngIf",!n.ImageUrl),l(3),S("",n.ProductsCount," Products")}}function Hn(i,a){i&1&&(s(0,"div",27)(1,"div",28),g(2," No Data Found "),c()())}function $n(i,a){if(i&1&&(s(0,"div",18),u(1,Bn,9,7,"ng-container",19)(2,Hn,3,0,"div",20),c()),i&2){let n=a.ngIf;l(),p("ngForOf",n),l(),p("ngIf",n.length==0)}}function Wn(i,a){if(i&1&&(s(0,"div",16),u(1,$n,3,2,"div",17),A(2,"searchFilter"),c()),i&2){let n=d(2);l(),p("ngIf",Ye(2,1,n.mainAccessoriesPage.AccessoryTypes,ge(4,Ln,n.searchText)))}}function qn(i,a){if(i&1){let n=M();s(0,"div")(1,"div",4)(2,"h1",5),g(3),c(),P(4,"div",6),s(5,"button",7),b("click",function(){x(n);let t=d();return v(t.moretoggleButton())}),g(6,"more.."),c()(),u(7,Gn,9,2,"div",8)(8,Wn,3,6,"div",9),c()}if(i&2){let n=d();
1l(3),y(n.mainAccessoriesPage.Title),l(),p("innerHTML",n.mainAccessoriesPage.Description,R),l(3),p("ngIf",n.accmoreshowSelected),l(),p("ngIf",!n.isFilterLoading)}}function Kn(i,a){i&1&&(s(0,"div")(1,"div",29)(2,"div",30),P(3,"mat-progress-spinner",31),c()()())}var mn=(()=>{let a=class a{constructor(e,t,o,m,_,h){r(this,"router");r(this,"_storeService");r(this,"_loaderService");r(this,"_seoClientService");r(this,"meta");r(this,"gtmService");r(this,"FileHostUrl",N.FileHostUrl);r(this,"NoImagePath",N.NoImagePath);r(this,"ngUnsubscribe",new q);r(this,"key","");r(this,"CategoryData",[]);r(this,"gridview",!0);r(this,"filterData",[]);r(this,"pageSize",10);r(this,"pageIndex",0);r(this,"filterattributes",[]);r(this,"morefittershowpanel",!1);r(this,"filters",[]);r(this,"subclass","");r(this,"subclassParam",[]);r(this,"filterCategoryData");r(this,"fullCode");r(this,"productClass");r(this,"productClassId");r(this,"filterPLMAttributes");r(this,"inStockChecked");r(this,"searchText");r(this,"accmoreshowSelected",!1);r(this,"isFilterLoading",!1);r(this,"mainAccessoriesPage",null);r(this,"isAdmin",!1);this.router=e,this._storeService=t,this._loaderService=o,this._seoClientService=m,this.meta=_,this.gtmService=h}ngOnInit(){localStorage.getItem("roles")?this.isAdmin=localStorage.getItem("roles").toLowerCase().indexOf("applicationadministrator")>=0:this.isAdmin=!1,this.fetchAccessoriesPageContentGraphQL()}fetchAccessoriesPageContentGraphQL(){this.isFilterLoading=!0,this._storeService.GetMainAccessoriesPage(this.isAdmin?null:!0).subscribe({next:e=>{this.mainAccessoriesPage=e;let t=e.SeoInformation;this._seoClientService.createLinkForCanonicalURL(),this._seoClientService.updateTitle(t?.Title),this.meta.updateTag({name:"description",content:t?.Description}),this.meta.updateTag({name:"keywords",content:t?.Keywords})},error:e=>{console.error("Failed to load accessories page via GraphQL",e)},complete:()=>{this.isFilterLoading=!1}})}FilterPageData(e){this.filterCategoryData=[];var t=e.pageIndex*e.pageSize;this.filterCategoryData=this.CategoryData.slice(t,t+10)}ngOnDestroy(){this.isFilterLoading=!1,this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}ToggleButton(){this.morefittershowpanel=!this.morefittershowpanel}errorHandle(e){e.target.src=this.NoImagePath}applyFilter(e){this.searchText=e}trackFilter(e){if(e){let t={event:"accessories_page",eventCategory:"accessories_page",eventAction:"Search",eventLabel:e,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(t)}}moretoggleButton(){this.accmoreshowSelected=!this.accmoreshowSelected;let e={event:"accessories_page",eventCategory:"accessories_page",eventAction:this.accmoreshowSelected?"more_click":"close_window",eventLabel:this.router.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(e)}accessoriesClick(e){let t={event:"accessories_page",eventCategory:"accessories_page",eventAction:"accessories_click",eventLabel:e,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(t)}};r(a,"\u0275fac",function(t){return new(t||a)(f(ne),f(j),f(W),f(Q),f(Se),f(re))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-accessories"]],features:[ee([j])],decls:5,vars:3,consts:[[1,"main-panel"],[1,"panel-wrapper"],[3,"breadcrumbs"],[4,"ngIf"],[1,"header"],[1,"h5"],[1,"text-l","semibold","header-description",3,"innerHTML"],[1,"text-color-link-default","more-link",3,"click"],["class","row faqpanelmain",4,"ngIf"],["class","",4,"ngIf"],[1,"row","faqpanelmain"],[1,"Frequentlyqu1"],["alt","Futekfaq",1,"faqimage1",3,"src"],["mat-button","","mat-dialog-close","",1,"close-button",3,"click"],[1,"material-icons"],[1,"content-wrapper","text-m","text-color-primary",3,"innerHTML"],[1,""],["class","product-cards",4,"ngIf"],[1,"product-cards"],[4,"ngFor","ngForOf"],["class","no-products",4,"ngIf"],[1,"product-cards__card",3,"click","routerLink"],[1,"text-l","semibold","text-color-primary"],["class","product-cards__card-img",3,"src","alt",4,"ngIf"],[1,"product-cards__card-details"],[1,"text-m","text-color-tertiary"],[1,"product-cards__card-img",3,"src","alt"],[1,"no-products"],[1,"text-l","description"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(t,o){t&1&&(s(0,"div",0)(1,"div",1),u(2,Rn,1,7,"app-breadcrumbs",2)(3,qn,9,4,"div",3)(4,Kn,4,0,"div",3),c()()),t&2&&(l(2),$(o.mainAccessoriesPage?2:-1),l(),p("ngIf",o.mainAccessoriesPage),l(
1),p("ngIf",o.isFilterLoading))},dependencies:[K,H,gt,ht,ft,J,he,oe,yi],styles:[".panel-wrapper[_ngcontent-%COMP%]{color:var(--text-primary)}.panel-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-bottom:.75rem}.panel-wrapper[_ngcontent-%COMP%] .header-description[_ngcontent-%COMP%]{overflow:hidden}.panel-wrapper[_ngcontent-%COMP%] .more-link[_ngcontent-%COMP%]{text-align:right;margin-bottom:1rem;display:block;width:99%}.panel-wrapper[_ngcontent-%COMP%] .text-center[_ngcontent-%COMP%]{text-align:center}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%;margin-right:-1.25rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%]{text-align:center;width:100%}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:1rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(20% - 1.25rem);margin-right:1.25rem;margin-bottom:1.25rem;display:flex;flex-direction:column;justify-content:space-between;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;min-height:230px}@media screen and (max-width:1200px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(100% * (1/3) - 1.25rem)}}@media screen and (max-width:769px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(50% - 1.25rem)}}@media screen and (max-width:460px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:100%;margin-right:0}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-details[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-img[_ngcontent-%COMP%]{max-height:13.25rem;height:100%;width:100%;object-fit:contain}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .Frequentlyqu1[_ngcontent-%COMP%]{padding:0}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .mdc-dialog__actions[_ngcontent-%COMP%]{position:relative;padding:0;top:0;right:0;left:auto;justify-content:flex-end}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{color:var(--white-color);min-width:fit-content}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{background-color:var(--bg-brand-primary);display:flex;justify-content:space-between}.panel-wrapper[_ngcontent-%COMP%] .faqpanelmain[_ngcontent-%COMP%] .content-wrapper[_ngcontent-%COMP%]{padding:1rem}.row[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}"]}));let i=a;return i})();var un=nt(Ot());var Qn=()=>({name:"Store",url:"/store"}),Jn=()=>({name:"Accessories",url:"/store/accessories"}),Zn=i=>({name:i}),Yn=(i,a,n)=>[i,a,n],Xn=(i,a,n)=>({itemsPerPage:i,currentPage:a,totalItems:n});function eo(i,a){if(i&1){let n=M();s(0,"div",12)(1,"pagination-controls",13),b("pageChange",function(t){x(n);let o=d(2);return v(o.setPage(t))}),c()()}}function to(i,a){if(i&1&&(s(0,"div")(1,"a",24)(2,"span",25),g(3," Spec Sheet "),c()()()),i&2){let n=d(2).$implicit;l(),D("href",n.SpecsheetUrl,L)}}function io(i,a){if(i&1&&(s(0,"div",21)(1,"div",22),g(2,"Item No."),s(3,"span",23),g(4),c()(),s(5,"div"),g(6),c(),u(7,to,4,1,"div",6),c()),i&2){let n=d().$implicit;l(4),y(n.ItemNumber),l(2),S("Model: ",n.ProductDefinition,""),l(),p("ngIf",n.SpecsheetUrl)}}function no(i,a){if(i&1){let n=M();s(0,"div")(1,"a",26),b("click",function(){x(n);let t=d(2).$implicit,o=d(3);return v(o.onDocClick(t,t.specSheetUrl,"Spec Sheet"))}),s(2,"span",25),g(3," Spec Sheet "),c()()()}}function oo(i,a){if(i&1&&(s(0,"div",21)(1,"div",22),g(2,"Item No. "),s(3,"span",23),g(4),c()(),s(5,"div"),g(6),c(),u(7,no,4,0,"div",6),c()),i&2){let n=d().$implicit;l(4),y(n.ItemNumber),l(2),S("Model: ",n.ProductDefinition,""),l(),p("ngIf",n.SpecsheetUrl)}}function ro(i,a){if(i&1&&(s(0,"div",40),g(1),A(2,"currency"),c()),i&2){let n=d(3).$implicit;l(),S("List Price : ",V(2,1,n.ListPrice)," ")}}function ao(i,a){if(i&1&&(s(0,"div",40),g(1,"List Price : "),s(2,"span",41),g(3),A(4,"currency"),c()()),i&2){let n=d(3).$implicit;l(3),y(V(4,1,n.ListPrice))}}function so(i,a){if(i&1&&(s(0,"div",42),g(1),A(2,"currency"),c()),i&2){let n=d(3).$implicit;l(),S(" Discounted Price While Supplies Last : ",V(2,1,n.Price),"")}}function lo(i,a){if(i&1&&(s(0,"div",42),g(1),A(2,"currency"),c()),i&2){let n=d(3).$implicit;l(),S("Your Price : ",V(2,1,n.Price),"")}}function co(i,a){if(i&1&&(s(0,"span",43),g(1),c()),i&2){let n=d(4).$implicit;l(),S("-",n.Stock,"")}}function po(i,a){if(i&1&&(s(0,"div",23)(1,"span",43),g(2,"In Stock"),c(),u(3,co,2,1,"span",44),c()),i&2){let n=d(6);l(3),p("ngIf",n.inStockGroup>0)}}function mo(i,a){if(i&1){let n=M();s(0,"div",30)(1,"div",31),u(2,ro,3,3,"div",32)(3,ao,5,3,"div",32)(4,so,3,3,"div",33)(5,lo,3,3,"div",33),c(),s(6,"div",34)(7,"div",35)(8,"span",36),g(9,"QTY :"),c(),s(10,"input",37),Be("ngModelChange",function(t){x(n);let o=d(2).$implicit;return je(o.Quantity,t)||(o.Quantity=t),v(t)}),b("change",function(){x(n);let t=d(2).$implicit,o=d(3);return v(o.updateByPriceBreaks(t,t.Quantity))}),c(),s(11,"button",38),b("click",function(){x(n);let t=d(2),o=t.$implicit,m=t.index,_=d(3);return v(_.saveCart(o,m))}),g(12,"Select"),c()(),u(13,po,4,1,"div",39),c()()}if(i&2){let n=d(2),e=n.$implicit,t=n.index,o=d(3);l(2),p("ngIf",e.ListPrice==e.Price),l(),p("ngIf",e.ListPrice!=e.Price),l(),p("ngIf",!o.intRepGroup&&e.ListPrice!=e.Price),l(),p("ngIf",o.intRepGroup&&e.ListPrice!=e.Price),l(5),D("id",t),ze("ngModel",e.Quantity),l(3),p("ngIf",e.Stock>0)}}function uo(i,a){if(i&1&&(s(0,"div",45)(1,"a",46)(2,"span"),g(3,"Contact us for pricing"),c()()()),i&2){let n=d(2).$implicit;l(),p("href","about/contact/"+n.ItemNumber,L)}}function go(i,a){i&1&&(s(0,"div",45)(1,"div",47),g(2,"List Price: N/A"),c()())}function _o(i,a){i&1&&(s(0,"div",45)(1,"a",48),g(2,"Product Inquiry / Quote"),c()())}function ho(i,a){if(i&1&&(s(0,"div",27),u(1,mo,14,7,"div",28)(2,uo,4,1,"div",29)(3,go,3,0,"div",29)(4,_o,3,0,"div",29),c()),i&2){let n=d().$implicit,e=d(3);l(),p("ngIf",n.shouldShowPricing),l(),p("ngIf",n.shouldShowContactUsPricingText),l(
1),p("ngIf",e.isPriceRestrictedCountry!="N"),l(),p("ngIf",e.isPriceRestrictedCountry!="N")}}function fo(i,a){if(i&1){let n=M();s(0,"div",16)(1,"div",17)(2,"img",18),b("error",function(t){x(n);let o=d(3);return v(o.errorHandle(t))}),c()(),u(3,io,8,3,"div",19)(4,oo,8,3,"div",19)(5,ho,5,4,"div",20),c()}if(i&2){let n=a.$implicit,e=d(3);l(2),D("src",n.ImageUrl,L),D("alt",n.ItemNumber),l(),p("ngIf",e.popup||e.popvalue2),l(),p("ngIf",!e.popup&&!e.popvalue2),l(),p("ngIf",e.isPriceRestrictedCountry=="N")}}function xo(i,a){if(i&1&&(s(0,"div",14),u(1,fo,6,5,"div",15),A(2,"paginate"),c()),i&2){let n=d().ngIf,e=d();l(),p("ngForOf",Ye(2,1,n,ke(4,Xn,e.pageSize,e.p,e.AccessoriesList.total)))}}function vo(i,a){i&1&&(s(0,"div",49)(1,"div",50),g(2,"No Data Found"),c()())}function Co(i,a){if(i&1){let n=M();s(0,"div",12)(1,"pagination-controls",51),b("click",function(){x(n);let t=d(2);return v(t.FilterPageData())})("pageChange",function(t){x(n);let o=d(2);return v(o.setPage(t))}),c()()}}function bo(i,a){if(i&1&&(s(0,"div",7)(1,"div",8),u(2,eo,2,0,"div",9),c(),u(3,xo,3,8,"div",10)(4,vo,3,0,"div",11),s(5,"div",8),u(6,Co,2,0,"div",9),c()()),i&2){let n=a.ngIf,e=d();l(2),p("ngIf",e.AccessoriesList&&e.AccessoriesList.nrPages>1),l(),p("ngIf",n),l(),p("ngIf",n.length==0),l(2),p("ngIf",e.AccessoriesList&&e.AccessoriesList.nrPages>1)}}function Po(i,a){i&1&&(s(0,"div")(1,"div",52)(2,"div",53),P(3,"mat-progress-spinner",54),c()()())}var Qt=(()=>{let a=class a{constructor(e,t,o,m,_,h,C,T,Y,ue,O){r(this,"router");r(this,"route");r(this,"mainItemsService");r(this,"meta");r(this,"storeService");r(this,"_seoClientService");r(this,"_configurationService");r(this,"_loaderService");r(this,"gtmService");r(this,"routerExtService");r(this,"dailogue");r(this,"accessoryName","");r(this,"isPriceRestrictedCountry","");r(this,"AccessoriesList");r(this,"FileHostUrl",N.FileHostUrl);r(this,"NoImagePath",N.NoImagePath);r(this,"filteraccessaryData");r(this,"pageSize",10);r(this,"accessoryFilter",new tt);r(this,"SpecAccesData",new Kt);r(this,"stockId","");r(this,"currentPageIndex",0);r(this,"p",1);r(this,"cart",new Si);r(this,"orderType");r(this,"custId",0);r(this,"Quantity",0);r(this,"relatedAccessory");r(this,"relatedInstrument");r(this,"inStockGroup");r(this,"ngUnsubscribe",new q);r(this,"searchText","");r(this,"intRepGroup",!1);r(this,"isAccessoriesDetailsLoading",!1);r(this,"isAdmin",!1);r(this,"userGroups");r(this,"nonWebGroup",!1);r(this,"filteredItems");r(this,"isLandedFromGlobalSearch",!1);r(this,"isLandedFromStore",!1);r(this,"popup",!1);r(this,"popvalue2");r(this,"UserName");r(this,"setupTime");r(this,"now");r(this,"IsPrivateBrowswer",!1);r(this,"currentYear");r(this,"result");r(this,"IsRegisterUser");r(this,"platformId",Ne(X));r(this,"accessoryTypeDetails",null);r(this,"isCartLoading",!1);this.router=e,this.route=t,this.mainItemsService=o,this.meta=m,this.storeService=_,this._seoClientService=h,this._configurationService=C,this._loaderService=T,this.gtmService=Y,this.routerExtService=ue,this.dailogue=O}ngOnInit(){this._seoClientService.createLinkForCanonicalURL();var e=new Date;this.currentYear=e.getFullYear(),G(this.platformId)&&(this.IsRegisterUser=!!localStorage.getItem("firstName"),(0,un.detectIncognito)().then(t=>{this.IsPrivateBrowswer=t.isPrivate,this.IsPrivateBrowswer&&!this.IsRegisterUser?this.popvalue2=!!sessionStorage.getItem("popupValue"):this.popvalue2=!!localStorage.getItem("popupValue")}),localStorage.getItem("roles")?this.isAdmin=localStorage.getItem("roles").toLowerCase().indexOf("applicationadministrator")>=0:this.isAdmin=!1,this.isAdmin&&(localStorage.getItem("userGroups")?(this.userGroups=JSON.parse(localStorage.getItem("userGroups")),this.nonWebGroup=this.userGroups.filter(t=>t.Name.toLowerCase()==="nonweb group").length>0,this.nonWebGroup?this.isAdmin=!0:this.isAdmin=!1):this.isAdmin=!1),this.Quantity=0,localStorage.getItem("userGroups")?(this.inStockGroup=JSON.parse(localStorage.getItem("userGroups")).filter(t=>t.Name==="instock group").length,this.intRepGroup=JSON.parse(localStorage.getItem("userGroups")).filter(t=>t.Name.toLowerCase()==="intrep group").length>
10):this.inStockGroup=0,this.routerExtService.getPreviousUrl()&&this.routerExtService.getPreviousUrl().toLowerCase().indexOf("search")>=0&&(this.isLandedFromGlobalSearch=!0),this.routerExtService.getPreviousUrl()&&this.routerExtService.getPreviousUrl().toLowerCase().indexOf("store")>=0&&!this.routerExtService.isCurrentPreviousSame()&&(this.isLandedFromStore=!0),this.accessoryFilter.AccessoryName=this.route.snapshot.paramMap.get("name"),this.stockId=this.route.snapshot.paramMap.get("stockid"),this.isPriceRestrictedCountry=localStorage.getItem("isPriceRestrictedCountry")),this.getData()}setSEOData(){this._seoClientService.updateTitle("Sensors Measuring: Accessories "+this.accessoryName),this.meta.updateTag({name:"description",content:"Sensors Measuring: Accessories "+this.accessoryName}),this.meta.updateTag({name:"keywords",content:"Sensors Measuring: Accessories "+this.accessoryName})}setPage(e){this.isAccessoriesDetailsLoading=!0,this.p=e,this.storeService.GetAccessoryTypeProducts(this.accessoryTypeDetails.ExternalId,e,this.pageSize,!this.isAdmin).subscribe({next:t=>{if(this.AccessoriesList=t,t.items)for(let o of t.items)o.Price=0,o.ListPrice=0,o.shouldShowPricing=!1,o.shouldShowContactUsPricingText=!1;this.filteraccessaryData=t.items,this.refreshPricing(t)},error:t=>{},complete:()=>{this.isAccessoriesDetailsLoading=!1}})}refreshPricing(e){if(!Array.isArray(e.items))return;let t=e.items.map(o=>this._configurationService.getProductByStockIdAndQuantity(o.ItemNumber,o.Quantity||1,this.custId,this.isAdmin).pipe(I(this.ngUnsubscribe)));ae(t).subscribe({next:o=>{o.forEach((m,_)=>{let h=e.items[_];if(!m){let T=this.filteraccessaryData.find(Y=>Y.ItemNumber==h.ItemNumber);T&&(T.Price=0,T.ListPrice=0);return}let C=this.filteraccessaryData.find(T=>T.ItemNumber==m.StockId);C&&(C.ListPrice=m.ListPriceUnformatted,C.Price=m.PriceUnformatted,C.PriceBreaks=m.PriceBreaks,C.shouldShowContactUsPricingText=this.accessoryName=="Warranty"||C.ListPrice==0||C.ListPrice==0&&C.PlmStatus=="Obsolete"&&C.Stock==0,C.shouldShowPricing=!C.shouldShowContactUsPricingText)})},complete:()=>{this.accessoriesTag()}})}accessoriesTag(){let t={event:"view_item_list",ecommerce:{item_list_name:"accessories page|instrument",items:this.filteraccessaryData?.map((o,m)=>({item_name:`${o?.Name} ${this.accessoryTypeDetails?.Name}`,item_id:o.ItemNumber,affiliation:"Futek online store",currency:"USD",price:o.Price,item_brand:"futek",item_category:"accessories",item_category2:this.accessoryTypeDetails?.Name,item_category3:o.ProductModel,item_category4:o.ItemNumber,item_list_name:"accessories page|instrument",item_stock:o.Stock>0?"in stock":"out of stock",item_list_id:`m-${o.ItemNumber}`,index:m,quantity:o.Quantity}))}};this.gtmService.pushTag({ecommerce:null}),this.gtmService.pushTag(t)}updateByPriceBreaks(e,t){let o=e.PriceBreaks||[];if(o&&o.length>0&&t!=0&&o.filter(h=>h.QtyTo>=t).length>0)for(var m=0;m<o.length;m++)o[m].QtyFrom<t&&o[m].QtyTo>=t&&(e.ListPrice=o[m].OutQuantityPrice,e.Price=o[m].InQuantityPrice)}getData(){this.accessoryFilter.StockId=this.stockId,G(this.platformId)&&(this.accessoryFilter.CustomerId=parseInt(localStorage.getItem("customerId"))),this.route.data.pipe(Ze(e=>{this.isAccessoriesDetailsLoading=!0;let t=e.accessoryTypeDetails;this.accessoryName=t.Name,this.accessoryTypeDetails=t,this._seoClientService.updateSEODetails(t.SeoInformation),this.setSEOData()}),ot(({accessoryTypeDetails:e})=>this.storeService.GetAccessoryTypeProducts(e.ExternalId,1,this.pageSize,this.isAdmin?null:!0,this.stockId)),Ze(e=>{this.AccessoriesList=e,this.filteraccessaryData=e.items,e.items?.forEach(t=>{t.Price=0,t.ListPrice=0,t.shouldShowPricing=!1,t.shouldShowContactUsPricingText=!1}),this.refreshPricing(e),this.isAccessoriesDetailsLoading=!1}),I(this.ngUnsubscribe)).subscribe()}FilterPageData(){let e=document.querySelector("#filteraccessaryDataItems")||window;window.scrollTo(0,0)}saveCart(e,t){this.pushGtmSelectTag(e,t);let o=e;this.isCartLoading=!0,e.StockId=e.ItemNumber;var m=JSON.parse(localStorage.getItem("userData"));m&&(m.RecordType=="ORACLEUPDATEQUOTE"||m.RecordType=="ORACLEINITIATEDQUOTE")&&sessionStorage.removeItem("RevisedQuoteCart"),localStorage.getItem("customerId")&&localStorage.getItem("customerId")!=null?this.custId=parseInt(localStorage.getItem("customerId")):this.custId==0,this._configurationService.getProductByStockIdAndQuantity(e.StockId,e.Quantity,this.custId,this.isAdmin).pipe(I(this.ngUnsubscribe)).subscribe(_=>{_?(this.relatedAccessory=_.RelatedAccessories,this.relatedInstrument=_.RelatedInstruments,this.relatedInstrument&&this.relatedInstrument.length>0||this.relatedAccessory&&this.relatedAccessory.length>0?this.router.navigate(["configure","advanced",e.StockId,e.Quantity,0]):(this.isCartLoading=!0,this.createCartData(e),this._configurationService.saveToCart(this.cart).pi
1pe(I(this.ngUnsubscribe)).subscribe(h=>{this.addsToCartTag(e,t),sessionStorage.getItem("RevisedQuoteCart")?this.router.navigate(["updatequotecart"]):sessionStorage.getItem("AccessCode")!=h.AccessCode?(sessionStorage.setItem("AccessCode",h.AccessCode),sessionStorage.setItem("packageLength",this.cart.Packages.length.toString()),sessionStorage.setItem("packageTotal",this.cart.SubtotalRecal.toString()),this.router.navigate(["cart"])):(this.isCartLoading=!1,this.router.navigate(["cart"]))},h=>{},()=>{this.isCartLoading=!1}))):o.ListPrice=0},_=>{},()=>{this.isCartLoading=!1})}addsToCartTag(e,t){let o={item_name:`${e.ItemNumber} ${this.accessoryFilter?.AccessoryName}`,item_id:e.ItemNumber,affiliation:"Futek online store",currency:"USD",price:e.Price,item_brand:"futek",item_category:"accessories",item_category2:this.accessoryFilter.AccessoryName,item_category3:e.ProductModel,item_category4:e.ItemNumber,item_list_name:"accessories page|directly add to cart",item_list_id:t,item_stock:e.Stock>0?"in stock":"out of stock",index:t,quantity:e.Quantity};this.mainItemsService.addMainItemId(o);let m={event:"add_to_cart",item_list_name:"accessories page|directly add to cart",ecommerce:{value:e.Price,currency:"USD",items:[o]}};this.gtmService.pushTag(m)}pushGtmSelectTag(e,t){let m={event:"select_item",ecommerce:{item_list_name:"accessories page|instrument",items:[{item_name:`${e.Name} ${this.accessoryTypeDetails?.Name}`,item_id:e.ItemNumber,affiliation:"Futek online store",currency:"USD",price:e.Price,item_brand:"futek",item_category:"accessories",item_category2:e.ProductAccessoryType??"N/A",item_category3:e.ProductModel,item_category4:e.ItemNumber,item_list_name:"accessories page|instrument",item_list_id:`m-${e.ItemNumber}`,item_stock:e.Stock>0?"in stock":"out of stock",index:t,quantity:e.Quantity}]}};this.gtmService.pushTag({ecommerce:null}),this.gtmService.pushTag(m)}createCartData(e){let t=sessionStorage.getItem("AccessCode");t&&(t.substring(0,3)=="Rep"||t.substring(0,3)=="Ret"?t.substring(0,3)=="Rep"?this.orderType="Repair":this.orderType="Return":t.substring(0,2)=="R-"&&(this.orderType="Recal")),(this.orderType=="Repair"||this.orderType=="Return"||this.orderType=="Recal")&&sessionStorage.removeItem("AccessCode"),sessionStorage.getItem("RevisedQuoteCart")?this.cart.AccessCode=sessionStorage.getItem("RevisedQuoteCart"):this.cart.AccessCode=sessionStorage.getItem("AccessCode")?sessionStorage.getItem("AccessCode"):"",this.cart.ApplicationUserId=0,this.cart.ExpirationDate=new Date().toUTCString(),this.cart.HandlingRate=0,this.cart.InsuranceRate=0,this.cart.IsRecal=!1,this.cart.Packages=this.createPackages(e),this.cart.IsSaved=!1,this.cart.PricesDropped=!1,this.cart.PricesIncreased=!1,this.cart.ShippingCharge=0,this.cart.SubTotal=e.Price*e.Quantity,this.cart.SubtotalRecal=(e.ListPrice-e.Price)*e.Quantity,this.cart.Tax=0,this.cart.TaxRate=0,this.cart.TotalDiscount+=(e.ListPrice-e.Price)*e.Quantity}createPackages(e){let t=[],o=new wi;return o.Id=0,o.IsInStock=0,o.IsModified=!1,o.Items=this.createItems(e),o.LeadTime=0,o.PackageDiscountedTotal=0,o.PackageJson="",o.PrimaryStockId=e.StockId,o.PackageTotal=e.Price*e.Quantity,o.PackageTotalRecal=e.Price*e.Quantity,o.Quantity=e.Quantity,o.TotalDiscount=(e.ListPrice-e.Price)*e.Quantity,o.Weight=0,t.push(o),t}createItems(e){let t=[],o=new Ii;return o.Definition=e.ProductDefinition,o.Discount=e.ListPrice-e.Price,e.ImageUrl?o.ImageUrl=e.ImageUrl:o.ImageUrl="",o.InStock=e.InStock,o.IsContactFactoryRequired=!1,o.ItemType="Product",o.Order=0,o.OriginalListPrice=e.ListPrice,o.PriceEach=e.Price,o.Quantity=e.Quantity,o.RecalListPrice=0,o.SerialNumber="",o.Stock=e.StockId,o.ExtendedPrice=e.Price*e.Quantity,t.push(o),t}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}clearSerachData(){this.searchText=""}applyFilter(e){this.searchText=e}errorHandle(e){e.target.src=this.NoImagePath}formatCurrencyToNumber(e){return typeof e=="string"?Number(e.replace(/[^0-9.-]+/g,"")):e}getDiscount(e,t){e=isNaN(e)?this.formatCurrencyToNumber(e):e,t=isNaN(t)?this.formatCurrencyToNumber(t):t;let o=0;return e>0&&t>0&&(o=(t-e)/t*100),Number(o.toFixed(2))}openDialogWithTemplateRef(e){this.dailogue.open(e)}linksClicked2(){let e=localStorage.getItem("firstName");this.popup=!0;let t=this.popup.toString();return this.now=Date.now().toString(),this.IsPrivateBrowswer&&!this.IsRegisterUser?sessionStorage.setItem("popupValue",t):(localStorage.setItem("popupValue",t),localStorage.setItem("setupTime",this.now)),e==null?this.SpecAccesData.userLoggedIn=!1:(this.SpecAccesData.userLoggedIn=!0,this.SpecAccesData.name=e),this.storeService.SaveSpecSheetAccessdUser(this.SpecAccesData).subscribe(o=>{},o=>{})}onDocClick(e,t,o){this.OpenSpecDocument2({linkName:o,documentUrl:t,item:e})}OpenSpecDocument2(e){if(this.popup||this.popvalue2)this.linksClicked2(),window.open(e.documentUrl,"_blank");else switch(e.linkName){case"Spec Sheet":this.openTAndCModal(e);break;case"3D Model Download":this.openTAndCModal(e);break;case"Extraneous Load Factor":this.openTAndCModal(e);break;default:}}GetUserId(){return localStorage.getItem("userId")??""}openTAndCModal(e){let t=this.dailogue.open(Ke,{data:{documentUrl:e.documentUrl,tsCond:{popup:this.popup,popvalue2:this.popvalue2,IsPrivateBrowswer:this.IsPrivateBrowswer,IsRegisterUser:this.IsRegisterUser},gtmTagData:{event:"accessories_page",eventCategory:"accessories_page",eventAction:"detail_link",eventLabel:e.linkName,pagepath:this.router.url,userId:this.GetUserId(),"item number":e.item?.ItemNumber,"fam
1ily name":"accessories","model name":this.accessoryName}}})}};r(a,"\u0275fac",function(t){return new(t||a)(f(ne),f(ie),f(Dt),f(Se),f(j),f(Q),f(Ti),f(W),f(re),f(me),f(qe))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-accessoriesdetails"]],features:[ee([Dt])],decls:9,vars:15,consts:[[1,"main-panel"],[1,"panel-wrapper","accessories-details","text-color-primary"],[3,"breadcrumbs"],[1,"header"],[1,"h5"],["id","filteraccessaryDataItems",4,"ngIf"],[4,"ngIf"],["id","filteraccessaryDataItems"],[1,"row"],["class","pagination",4,"ngIf"],["class","products-list",4,"ngIf"],["class","no-products",4,"ngIf"],[1,"pagination"],[1,"page","text-m",3,"pageChange"],[1,"products-list"],["class","product-wrapper",4,"ngFor","ngForOf"],[1,"product-wrapper"],[1,"product-img-wrapper"],[1,"product-img",3,"error","src","alt"],["class","product-details-wrapper text-l",4,"ngIf"],["class","product-pricing-wrapper",4,"ngIf"],[1,"product-details-wrapper","text-l"],[1,"heading","semibold"],[1,""],["target","_blank",1,"tertiary-button","small-button",3,"href"],[1,"specsheet"],[1,"tertiary-button","small-button",3,"click"],[1,"product-pricing-wrapper"],["class","product-pricing",4,"ngIf"],["class","product-pricing-row",4,"ngIf"],[1,"product-pricing"],[1,"pricing-list"],["class","text-l semibold",4,"ngIf"],["class","discountedPrice text-l semibold",4,"ngIf"],[1,"pricing-quatity-wrapper"],[1,"pricing-quatity"],[1,"text-m","semibold"],["type","text","value","1","minlength","3","pattern","\\d*","maxlength","3","oninput","this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1');",1,"quantity-input","text-m",3,"ngModelChange","change","ngModel","id"],[1,"secondary-button","small-button",3,"click"],["class","",4,"ngIf"],[1,"text-l","semibold"],[1,"noPrice"],[1,"discountedPrice","text-l","semibold"],[1,"text-color-success","text-m","semibold"],["class","text-color-success text-m semibold",4,"ngIf"],[1,"product-pricing-row"],[1,"text-color-link-default","semibold",3,"href"],[1,"text-m","text-color-secondary"],["href","about/contact/product-inquiry",1,"text-color-link-default","semibold"],[1,"no-products"],[1,"text-l","description"],["directionLinks","true",1,"page","text-m",3,"click","pageChange"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(t,o){t&1&&(s(0,"div",0)(1,"div",1),P(2,"app-breadcrumbs",2),s(3,"div",3)(4,"h1",4),g(5),c()(),u(6,bo,7,4,"div",5),A(7,"filter"),u(8,Po,4,0,"div",6),c()()),t&2&&(l(2),p("breadcrumbs",ke(11,Yn,te(7,Qn),te(8,Jn),ge(9,Zn,o.accessoryName))),l(3),y(o.accessoryName),l(),p("ngIf",Ye(7,4,o.filteraccessaryData,o.searchText)),l(2),p("ngIf",o.isAccessoriesDetailsLoading||o.isCartLoading))},dependencies:[K,H,ci,_e,pi,mi,ui,di,J,bi,he,ai,Ci,Hi],styles:[`.panel-wrapper.accessories-details .header{margin-bottom:1rem}.panel-wrapper.accessories-details .products-list{display:flex;flex-direction:column;gap:1.25rem}.panel-wrapper.accessories-details .products-list .product-wrapper{display:flex;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;min-height:180px}@media screen and (max-width:560px){.panel-wrapper.accessories-details .products-list .product-wrapper{flex-direction:column}}.panel-wrapper.accessories-details .products-list .product-wrapper .product-img-wrapper{width:20%}@media screen and (max-width:560px){.panel-wrapper.accessories-details .products-list .product-wrapper .product-img-wrapper{width:100%}}.panel-wrapper.accessories-details .products-list .product-wrapper .product-img-wrapper .product-img{max-height:13.25rem;height:100%;width:100%;object-fit:contain}.panel-wrapper.accessories-details .products-list .product-wrapper .product-details-wrapper{width:60%;padding:0 .75rem}@media screen and (max-width:769px){.panel-wrapper.accessories-details .products-list .product-wrapper .product-details-wrapper{width:50%;padding:0}}@media screen and (max-width:560px){.panel-wrapper.accessories-details .products-list .product-wrapper .product-details-wrapper{width:100%}}.panel-wrapper.accessories-details .products-list .product-wrapper .product-details-wrapper .heading{margin-bottom:.5rem}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper{width:20%;margin-top:1rem}@media screen and (max-width:769px){.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper{width:30%}}@media screen and (max-width:560px){.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper{width:100%}}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing-row{text-align:right}@media screen and (max-width:560px){.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing-row{text-align:left}}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing{display:flex;flex-direction:column;gap:.5rem}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing .pricing-list .noPrice{text-decoration:line-through}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing .pricing-list .discountedPrice{color:var(--primary-color-500)}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing .pricing-quatity-wrapper{display:flex;flex-direction:column;gap:.5rem}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing .pricing-quatity-wrapper .pricing-quatity{display:flex;align-items:center;gap:1rem;flex-wrap:wrap}.panel-wrapper.accessories-details .products-list .product-wrapper .product-pricing-wrapper .product-pricing .pricing-quatity-wrapper .pricing-quatity .quantity-input{border:1px solid var(--div
1ider-default);text-align:center;height:2rem;width:3rem}.panel-wrapper.accessories-details .products-list .product-wrapper .tertiary-button{margin-top:1rem}.panel-wrapper.accessories-details .products-list .product-wrapper .specsheet:before{content:url(/assets/icons/document.svg);display:inline-block;height:1.15rem;width:1rem;margin-right:1rem;vertical-align:text-top}.panel-wrapper.accessories-details .no-products{text-align:center;width:100%}.panel-wrapper.accessories-details .no-products .description{margin:1rem auto}.noPrice{text-decoration:line-through}.discountedPrice{color:red}:host ::ng-deep .ngx-pagination .current{background:#7d7d7d;color:#fefefe;cursor:default;font-size:8pt;padding:5px 9px}:host ::ng-deep .ngx-pagination a,.ngx-pagination button{color:#0a0a0a;display:block;padding:5px 9px;border-radius:0}.warrentydiv{margin-top:30px}@media all and (-ms-high-contrast:none){*::-ms-backdrop,.QTYplao1 .col-9{flex:0 0 auto}}.mat-mdc-dialog-container{display:block;border-radius:4px;box-sizing:border-box;overflow:auto;outline:0;width:800px!important;height:100%;min-height:inherit;max-height:inherit}.mat-mdc-tab-header .mat-mdc-tab-header-pagination{margin:auto;display:none}.mat-mdc-tab-nav-bar.mat-primary .mat-ink-bar{background-color:none!important;visibility:hidden!important}#popupmatactions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px;float:left!important}@media (min-width: 300px) and (max-width: 720px){.mdc-dialog__title,.mat-mdc-dialog-container .mdc-dialog__title{font:500 14px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal!important;line-height:20px}.mat-mdc-tab-nav-bar.mat-primary .mat-ink-bar{background-color:none!important;visibility:hidden!important}.mat-mdc-dialog-container{padding:17px!important}#popupmatactions{padding:8px 0;display:flex;flex-wrap:wrap;min-height:52px;align-items:center;box-sizing:content-box;margin-bottom:-24px;font-size:12px!important;justify-content:center!important;text-align:center!important}#popupmatdialogcontent{display:block;margin:0 8px;padding:0;max-height:65vh;overflow:auto;-webkit-overflow-scrolling:touch}}#filteraccessaryDataItems .mat-mdc-text-field-wrapper,#filteraccessaryDataItems .mat-mdc-form-field-focus-overlay{background:none!important}#filteraccessaryDataItems .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{padding:0!important}#filteraccessaryDataItems .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:#ca0000!important}:host ::ng-deep #filteraccessaryDataItems .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:#ca0000!important}.mat-mdc-dialog-container .mdc-dialog__content{color:#212529!important;letter-spacing:normal!important;font-family:-apple-system,BlinkMacSystemFont,Roboto,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji"!important}.mdc-dialog .mdc-dialog__content{padding:0 24px!important}#popupmatdialogcontent .mat-mdc-tab-label-container{border:.5px solid;border-bottom:none}#filteraccessaryDataItems .mat-mdc-form-field:not(.mat-form-field-disabled) .mat-mdc-floating-label.mdc-floating-label{font-size:13px!important;margin-top:19px!important;letter-spacing:normal}#filteraccessaryDataItems .mdc-text-field{padding:0!important}#filteraccessaryDataItems .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{top:10px}#filteraccessaryDataItems .mdc-text-field--filled{--mdc-filled-text-field-active-indicator-height: 1px !important;--mdc-filled-text-field-focus-active-indicator-height: 2.5px !important}mat-dialog-container.mat-mdc-dialog-container .mdc-dialog__surface{padding:30px!important}#filteraccessaryDataItems .mat-mdc-text-field-wrapper:not(.mdc-text-field--outlined) .mat-mdc-form-field-infix{padding-bottom:0}#filteraccessaryDataItems .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:#cf102d} 2`],encapsulation:2}));let i=a;return i})(),tt=class{constructor(){r(this,"AccessoryName");r(this,"StockId");r(this,"CustomerId",0);r(this,"ProductModel")}},Kt=class{constructor(){r(this,"userLoggedIn");r(this,"name")}};var Mo=nt(Ot());var Vt=(()=>{let a=class a{constructor(e){r(this,"http");this.http=e}GetObsoleteProductModels(e,t){return this.http.post(N.GraphQLURL,Ie.GetProductModelsBody(e,t)).pipe(Ie.ProductModelsMapper)}GetObsoleteProductModelGuids(e){return this.http.post(N.GraphQLURL,Ie.GetObsoleteProductModelFacetsBody(e)).pipe(Ie.GetObsoleteProductModelFacetsMapper)}};r(a,"\u0275fac",function(t){return new(t||a)(st(pt))}),r(a,"\u0275prov",rt({token:a,factory:a.\u0275fac,providedIn:"root"}));let i=a;return i})();var wo=()=>({name:"Store",url:"/store"}),Io=()=>({name:"Legacy Models"}),Oo=(i,a)=>[i,a];function To(i,a){if(i&1){let n=M();k(0),s(1,"a",14),b("click",function(){let t=x(n).$implicit,o=d(2);return o.TrackEvent("legacy_model_click",t.ModelNumber),v(o.trackModelClick_gql(t))}),s(2,"div",15),g(3),c(),s(4,"div",16)(5,"img",17),b("error",function(t){x(n);let o=d(2);return v(o.errorHandle(t))}),c()(),s(6,"div",18),g(7),c()(),E()}if(i&2){let n=a.$implicit;l(),se("routerLink","/store/legacy-sensors-and-instruments/",n.RouteSegment,""),l(2),y(n.Name),l(2),D("alt",n.ModelNumber),p("src",n.ImageUrl,L),l(2),y(n.ModelNumber)}}function Do(i,a){i&1&&(s(0,"div",19),g(1," No Data Found "),c())}function ko(i,a){if(i&1){let n=M();s(0,"mat-paginator",20),b("page",function(t){x(n);let o=d(2);return v(o.FilterPageData(t))}),c()}if(i&2){let n=d(2);p("length",n.ProductModelGuids.length)("pageSize",n.pageSize)}}function Eo(i,a){if(i&1&&(s(0,"div",3),P(1,"app-breadcrumbs",4),s(2,"div",5)(3,"h1",6),g(4,"Legacy Models"),c()(),s(5,"div",7)(6,"div",8)(7,"div",9),u(8,To,8,6,"ng-container",10),c()()(),s(9,"div",7),u(10,Do,2,0,"div",11),s(11,"div",12),u(12,ko,1,2,"mat-paginator",13),c()()()),i&2){let n=d();l(),p("breadcrumbs",ce(6,Oo,te(4,wo),te(5,Io))),l(7),p("ngForOf",n.filterCategoryData),l(2),p("ngIf",n.filterCategoryData&&n.filterCategoryData.length==0),l(2),p("ngIf",n.filterCategoryData)}}function Ao(i,a){i&1&&(s(0,"div")(1,"div",21)(2,"div",22),P(3,"mat-progress-spinner",23),c()()())}var gn=(()=>{let a=class a{constructor(e,t,o,m,_,h,C){r(this,"router");r(this,"routerExtService");r(this,"_customServicesService");r(this,"_loaderService");r(this,"_seoClientService");r(this,"meta");r(this,"gtmService");r(this,"ngUnsubscribe",new q);r(this,"key","");r(this,"CategoryData",[]);r(this,"filterData",[]);r(this,"pageSize",54);r(this,"pageIndex",0);r(this,"filterCategoryData");r(this,"searchTextdata",[]);r(this,"isAdmin");r(this,"userGroups");r(this,"NoImagePath",N.NoImagePath);r(this,"isLandedFromGlobalSearch",!1);r(this,"isLoading",!1);r(this,"ProductModelGuids");this.router=e,this.routerExtService=t,this._customServicesService=o,this._loaderService=m,this._seoClientService=_,this.meta=h,this.gtmService=C}ngOnInit(){this._seoClientService.createLinkForCanonicalURL(),this._seoClientService.updateTitle("Legacy Models"),this.meta.updateTag({name:"description",content:"Legacy Models - Sensors measuring load, torque, force, multi axis or pressure with compatible instruments, calibration service, and measurement software."}),this.meta.updateTag({name:"keywords",content:"Legacy Models - Sensors measuring load, torque, force, multi axis or pressure with compatible instruments, calibration service, and measurement software."}),this.loadGraphQLData()}chunkArray(e,t){let o=[];for(let m=0;m<e.length;m+=t)o.push(e.slice(m,m+t));return o}loadGraphQLData(){this.isLoading=!0,this.setupAdminData(),this._customServicesService.GetObsoleteProductModelGuids(!this.isAdmin).pipe(I(this.ngUnsubscribe)).subscribe(e=>{if(e?.Guids?.length>0){let t=e.Guids,o=this.chunkArray(t,100);ae(o.map(m=>this._customServicesService.GetObsoleteProductModels(m,!0))).pipe(I(this.ngUnsubscribe)).subscribe(m=>{let _=m.flatMap(h=>h.ProductModels||[]);this.ProductModelGuids=_.map(h=>h.GuidValue),this._customServicesService.GetObsoleteProductModels(this.ProductModelGuids.slice(0,54)).pipe(I(this.ngUnsubscribe)).subscribe(h=>{this.CategoryData=h?.ProductModels,this.searchTextdata=this.CategoryData,this.filterCategoryData=h?.ProductModels.slice(0,54),this.filterData=this.CategoryData,this.measureProductImpressions_gql(),this.isLoading=!1})})}else this.ProductModelGuids=[],this.isLoading=!1})}FilterPageData(e){this.pageIndex=e.pageIndex;var t=e.pageIndex*e.pageSize;let o=this.ProductModelGuids.slice(t,t+54);this._customServicesService.GetObsoleteProductModels(o).subscribe(m=>{this.filterCategoryData=m?.ProductModels.slice(0,54),this.isLoading=!1,window.scrollTo(0,0)})}
2setupAdminData(){this.isAdmin=!1,this.routerExtService.getPreviousUrl().toLowerCase().indexOf("search")>=0&&(this.isLandedFromGlobalSearch=!0),localStorage.getItem("roles")&&(this.isAdmin=localStorage.getItem("roles").toLowerCase().indexOf("applicationadministrator")>=0),this.isAdmin&&(localStorage.getItem("userGroups")?(this.userGroups=JSON.parse(localStorage.getItem("userGroups")),this.isAdmin=this.userGroups.filter(e=>e.Name.toLowerCase()==="nonweb group").length>0):this.isAdmin=!1)}measureProductImpressions_gql(){let e=[];this.filterCategoryData.forEach((t,o)=>{e.push({name:t.Name,brand:"FUTEK",variant:t.ModelNumber,category:t.ModelNumber.substring(0,3)+`/${t.ModelNumber}`,list:"Legacy Models",position:o+1,dimension6:"In stock",dimension7:"",dimension8:0,dimension9:0,metric1:0})}),e.length>0&&this.pushImpressionstoGTM(e)}trackModelClick_gql(e){this.trackModelClick({Model:e.ModelNumber,Text:e.Name,Title:e.ModelNumber})}pushImpressionstoGTM(e){this.batchArray(e).forEach(o=>{let m={event:"productImpression",ecommerce:{currencyCode:"USD",impressions:o}};this.gtmService.pushTag(m)})}batchArray(e){let t=8,o=[];for(let m=0;m<e.length;m+=t)o.push(e.slice(m,m+t));return o}trackModelClick(e){let t=this.getListNameForImpressions();Ee(t,e.Model,"legacyModel");let o={event:"productClick",ecommerce:{click:{actionField:{list:this.getListNameForImpressions()},products:[{name:e.Text,brand:"FUTEK",variant:e.Title,category:e.Title.substring(0,3)+`/${e.Title}`,list:this.getListNameForImpressions(),position:this.CategoryData.findIndex(m=>m.Title===e.Title)+1,dimension6:"In stock",dimension7:"",dimension8:0,dimension9:0,metric1:0}]}}};this.gtmService.pushTag(o)}getListNameForImpressions(){return this.isLandedFromGlobalSearch?"Global Search":"Legacy Models"}errorHandle(e){e.target.src=this.NoImagePath}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}TrackEvent(e,t){if(t&&t!=""){let o={event:"legacy-sensors-and-instruments_page",eventCategory:"legacy-sensors-and-instruments_page",eventAction:e,eventLabel:t,pageURL:this.router.url,userId:localStorage.getItem("userId")??""};this.gtmService.pushTag(o)}}};r(a,"\u0275fac",function(t){return new(t||a)(f(ne),f(me),f(Vt),f(W),f(Q),f(Se),f(re))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-custom-services"]],features:[ee([Vt])],decls:3,vars:2,consts:[[1,"main-panel"],["class","panel-wrapper",4,"ngIf"],[4,"ngIf"],[1,"panel-wrapper"],[3,"breadcrumbs"],[1,"header-text"],[1,"h5"],[1,"row"],[1,"col-md-12"],[1,"product-cards"],[4,"ngFor","ngForOf"],["class","no-products text-l text-color-primary",4,"ngIf"],[1,"w-100","d-flex","justify-content-end","text-m","text-color-primary","pagination"],[3,"length","pageSize","page",4,"ngIf"],[1,"product-cards__card",3,"click","routerLink"],[1,"text-l","semibold","text-color-primary"],[1,""],[1,"product-cards__card-img",3,"error","src","alt"],[1,"text-m","semibold","text-color-secondary"],[1,"no-products","text-l","text-color-primary"],[3,"page","length","pageSize"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(t,o){t&1&&(s(0,"div",0),u(1,Eo,13,9,"div",1)(2,Ao,4,0,"div",2),c()),t&2&&(l(),p("ngIf",!o.isLoading),l(),p("ngIf",o.isLoading))},dependencies:[K,H,Mi,J,he,oe],styles:[".panel-wrapper[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{margin-bottom:.75rem}.panel-wrapper[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:1rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%;margin-right:-1.25rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%]{text-align:center;width:100%}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:1rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(20% - 1.25rem);margin-right:1.25rem;margin-bottom:1.25rem;display:flex;flex-direction:column;justify-content:space-between;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;min-height:230px}@media screen and (max-width:1200px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(100% * (1/3) - 1.25rem)}}@media screen and (max-width:769px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(50% - 1.25rem)}}@media screen and (max-width:460px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:100%;margin-right:0}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-detail
2s[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-img[_ngcontent-%COMP%]{max-height:13.25rem;height:100%;width:100%;object-fit:contain}"]}));let i=a;return i})();var Lo=(i,a,n)=>["/","store",i,a,n,"configure"],Vo=()=>({selectedtab:0});function Ro(i,a){if(i&1){let n=M();s(0,"div",49)(1,"button",50),b("click",function(){x(n);let t=d(2);return v(t.navigateVersions())}),g(2," Legacy Models "),c()()}}function Go(i,a){if(i&1){let n=M();s(0,"div",43)(1,"div",44)(2,"div",45)(3,"button",46),b("click",function(){x(n);let t=d();return v(t.selectAll())}),g(4,"All"),c(),s(5,"button",46),b("click",function(){x(n);let t=d();return v(t.selectOffTheShelf())}),g(6,"Standard"),c(),s(7,"button",46),b("click",function(){x(n);let t=d();return v(t.selectCustom())}),g(8,"Custom"),c()()(),s(9,"div",47),u(10,Ro,3,0,"div",23),s(11,"mat-slide-toggle",48),b("change",function(){x(n);let t=d();return v(t.filterProductsByStock())}),g(12," In Stock "),c()()()}if(i&2){let n=d();l(3),p("ngClass",n.selectedAll?"primary-button":"tertiary-button"),l(2),p("ngClass",n.selectedOffTheShelf?"primary-button":"tertiary-button"),l(2),p("ngClass",n.selectedModified?"primary-button":"tertiary-button"),l(3),p("ngIf",!n.legacyProduct&&!n.isInstrument&&!n.isAccessory()),l(),p("checked",n.model.filterByInStock)}}function zo(i,a){if(i&1){let n=M();s(0,"section",51)(1,"mat-checkbox",52),b("change",function(){let t=x(n).$implicit,o=d();return v(o.setColumnSelectionEvent(t))}),s(2,"span",53),g(3),c()()()}if(i&2){let n=a.$implicit,e=d();l(),p("checked",n.isChecked)("value",n.SanitizedName),l(2),S(" ",e.columnHeaders[n.SanitizedName],"")}}function jo(i,a){if(i&1){let n=M();s(0,"span"),g(1,"or use the "),s(2,"a",55),b("click",function(){x(n);let t=d(2);return v(t.pushModelProductToGTM())}),g(3,"Item Selector Tool"),c(),g(4," to advance"),c()}if(i&2){let n=d(2);l(2),p("routerLink",ke(2,Lo,n.productRouteInfo.productClassID||n.productRouteInfo.productClass,n.productRouteInfo.productSeries,n.productRouteInfo.productModel))("queryParams",te(6,Vo))}}function Bo(i,a){if(i&1&&(s(0,"h2",54),g(1," Select an Item Number "),u(2,jo,5,7,"span",32),c()),i&2){let n=d();l(2),p("ngIf",!n.isSoftware)}}function Ho(i,a){i&1&&(s(0,"h2",54),g(1,"Click on Item Number for more information"),c())}function $o(i,a){if(i&1){let n=M();k(0),s(1,"span",57),g(2),c(),s(3,"button",58),b("click",function(){x(n);let t=d().$implicit,o=d();return v(o.clearSingleFilter(t))}),s(4,"mat-icon"),g(5,"close"),c()(),E()}if(i&2){let n=d().$implicit,e=d();l(2),ve(" ",n.BusinessName,": ",e.model.displayMetricUnit?n.filterDisplayMetricName:n.filterDisplayName," ")}}function Wo(i,a){if(i&1&&(s(0,"div",56),u(1,$o,6,2,"ng-container",32),c()),i&2){let n=a.$implicit;l(),p("ngIf",n)}}function qo(i,a){if(i&1){let n=M();s(0,"button",59),b("click",function(){x(n);let t=d();return v(t.clearAllFilters())}),g(1," Clear All Filters "),c()}}function Ko(i,a){if(i&1){let n=M();s(0,"div",60)(1,"mat-button-toggle-group",61),b("click",function(){x(n);let t=d();return v(t.displayMetricValues())})("change",function(){x(n);let t=d();return v(t.displayMetricValues())}),s(2,"mat-button-toggle",62),g(3,"Metric"),c(),s(4,"mat-button-toggle",63),g(5,"English"),c()(),s(6,"button",64),b("click",function(){x(n);let t=d();return v(t.tableColoumnsToggleButton())}),g(7,"Columns Filter"),c()()}if(i&2){let n=d();l(),p("formControl",n.valueUnit)("model",n.valueUnit.value)}}function Qo(i,a){if(i&1){let n=M();s(0,"div",49)(1,"button",59),b("click",function(){x(n);let t=d();return v(t.navigateVersions())}),g(2," See Current Models "),c()()}}function Jo(i,a){i&1&&(s(0,"th",65),g(1," Item Number "),c())}function Zo(i,a){if(i&1&&(s(0,"span",71),g(1),c()),i&2){let n=d().$implicit;l(),S("[",n.itemNumber,"]")}}function Yo(i,a){if(i&1&&(s(0,"span",71),g(1),c()),i&2){let n=d().$implicit;l(),y(n.itemNumber)}}function Xo(i,a){if(i&1&&(s(0,"span",74),g(1),c()),i&2){let n=a.$implicit;jt("background",n.Color)("color",n.fontcolor),p("matTooltip",n.Title),l(
2),S(" ",n.Aging," ")}}function er(i,a){if(i&1&&Re(0,Xo,2,6,"span",73,Ve),i&2){let n=d(2).$implicit;Ge(n.productAging)}}function tr(i,a){if(i&1&&(s(0,"p"),g(1),c()),i&2){let n,e=d(2).$implicit;jt("color","#56ae56"),ii("ml-1",e.productAging==null?null:e.productAging.length),l(),S("In Stock - ",(n=e.stock)!==null&&n!==void 0?n:0,"")}}function ir(i,a){if(i&1&&(s(0,"div",70),u(1,er,2,0)(2,tr,2,5,"p",72),c()),i&2){let n=d().$implicit,e=d();l(),$(n.productAging!=null&&n.productAging.length?1:-1),l(),$(e.isUserInStockGroup?2:-1)}}function nr(i,a){if(i&1){let n=M();s(0,"td",66)(1,"a",67),b("click",function(){let t=x(n).$implicit,o=d();return v(o.onItemClick(t.itemNumber))}),u(2,Zo,2,1,"span",68)(3,Yo,2,1,"ng-template",null,0,F),P(5,"span",69),u(6,ir,3,2,"div",70),c()()}if(i&2){let n=a.$implicit,e=w(4),t=d();l(),p("routerLink",n.url),l(),p("ngIf",t.settings.isAdmin&&t.settings.nonWebGroup&&!n.webEnabled)("ngIfElse",e),l(4),$(n.productAging!=null&&n.productAging.length||t.isUserInStockGroup?6:-1)}}function or(i,a){if(i&1&&(s(0,"th",75),g(1," Product Definition "),c()),i&2){let n=d();p("hidden",!n.isSoftware)}}function rr(i,a){if(i&1&&(s(0,"td",76)(1,"div"),g(2),c()()),i&2){let n=a.$implicit,e=d();p("hidden",!e.isSoftware),l(2),S(" ",n.ProductDefinition," ")}}function ar(i,a){if(i&1&&(s(0,"mat-option",86),g(1),c()),i&2){let n=a.$implicit,e=d(5);p("value",n),l(),S(" ",e.model.displayMetricUnit?n.filterDisplayMetricName:n.filterDisplayName," ")}}function sr(i,a){if(i&1){let n=M();s(0,"th",82)(1,"mat-form-field",83)(2,"mat-select",84),Be("valueChange",function(t){x(n);let o=d(2).$implicit,m=d(2);return je(m.filters[o],t)||(m.filters[o]=t),v(t)}),b("selectionChange",function(t){x(n);let o=d(2).$implicit,m=d(2);return v(m.applyFilter(o,t.value))}),s(3,"mat-select-trigger"),g(4),c(),u(5,ar,2,2,"mat-option",85),c()()()}if(i&2){let n=d(2).$implicit,e=d(2);l(2),D("aria-label",e.columnHeaders[n]),D("placeholder",e.columnHeaders[n]),ze("value",e.filters[n]),l(2),S(" ",e.columnHeaders[n]," "),l(),p("ngForOf",e.model.uniqueValues[n])}}function lr(i,a){i&1&&(k(0),u(1,sr,6,5,"th",81),E())}function cr(i,a){if(i&1&&(s(0,"th",65),g(1),c()),i&2){let n=d(2).$implicit,e=d(2);l(),S(" ",e.columnHeaders[n]," ")}}function dr(i,a){i&1&&u(0,cr,2,1,"th",27)}function pr(i,a){if(i&1&&(s(0,"div"),g(1),c()),i&2){let n=d().$implicit,e=d().$implicit,t=d(2);l(),S(" ",t.model.displayMetricUnit?n[e].displayMetricName:n[e].displayName," ")}}function mr(i,a){i&1&&g(0," N/A ")}function ur(i,a){if(i&1&&(s(0,"td",87),u(1,pr,2,1,"div",79)(2,mr,1,0,"ng-template",null,2,F),c()),i&2){let n=a.$implicit,e=w(3),t=d().$implicit;l(),p("ngIf",n[t])("ngIfElse",e)}}function gr(i,a){if(i&1&&(k(0,78),u(1,lr,2,0,"ng-container",79)(2,dr,1,0,"ng-template",null,1,F)(4,ur,4,2,"td",80),E()),i&2){let n=a.$implicit,e=w(3),t=d(2);p("matColumnDef",n),l(),p("ngIf",(t.model.uniqueValues[n]==null?null:t.model.uniqueValues[n].length)>0)("ngIfElse",e)}}function _r(i,a){if(i&1&&(k(0),u(1,gr,5,3,"ng-container",77),E()),i&2){let n=d();l(),p("ngForOf",n.model.attributeColumns)}}function hr(i,a){if(i&1&&(s(0,"th",75),g(1," Spec Sheet "),c()),i&2){let n=d();p("hidden",n.isSoftware)}}function fr(i,a){if(i&1){let n=M();s(0,"div")(1,"a",89),b("click",function(){x(n);let t=d().$implicit,o=d();return v(o.onDocClick(t,t.specSheetUrl,"Spec Sheet"))}),s(2,"span",90),g(3),c()()()}if(i&2){let n=d().$implicit;l(3),y(n.specSheetUrl)}}function xr(i,a){i&1&&(s(0,"span",91)(1,"span",90),g(2,"N/A"),c(),Te(),s(3,"svg",92),P(4,"path",93)(5,"path",94)(6,"path",95),c()())}function vr(i,a){if(i&1&&(s(0,"td",88),u(1,fr,4,1,"div",79)(2,xr,7,0,"ng-template",null,3,F),c()),i&2){let n=a.$implicit,e=w(3),t=d();p("hidden",t.isSoftware),l(),p("ngIf",n.specSheetUrl!="")("ngIfElse",e)}}function Cr(i,a){if(i&1&&(s(0,"th",75),g(1," Extraneous Load Factor "),c()),i&2){let n=d();p("hidden",n.isSoftware||!n.showColumn("extraneousLoadFilter"))}}function br(i,a){if(i&1){let n=M();s(0,"div",97)(1,"a",89),b("click",function(){x(n);let t=d(2).$implicit,o=d();return v(o.onDocClick(t,t.extraneousLoadFilter,"Extraneous Load Factor"))}),s(2,"span",90),g(3," Extraneous Load Factor "),c()()()}}function Pr(i,a){if(i&1&&(s(0,"div"),u(1,br,4,0,"div",96),c()),i&2){let n=d().$implicit;l(),p("ngIf",n.extraneousLoadFilter!="")}}function Mr(i,a){i&1&&(s(0,"span",91)(1,"span",90),g(2,"N/A"),c(),Te(),s(3,"svg",92),P(4,"path",93)(5,"path",94)(6,"path",95),c()())}function yr(i,a){if(i&1&&(s(0,"td",88),u(1,Pr,2,1,"div",79)(2,Mr,7,0,"ng-template",null,4,F),c()),i&2){let n=a.$implicit,e=w(3),t=d();p("hidden",t.isSoftware||!t.showColumn("extraneousLoadFilter")),l(),p("ngIf",n.extraneousLoadFilter!="")("ngIfElse",e)}}function Sr(i,a){if(i&1&&(s(0,"th",75),g(1," 3D Model "),c()),i&2){let n=d();p("hidden",n.isSoftware||!n.showColumn("model3DUrl"))}}function wr(i,a){if(i&1){let n=M();s(0,"div")(1,"a",98),b("click",function(){x(n);let t=d().$implicit,o=d();return v(o.onDocClick(t,t.model3DUrl,"3D Model Download"))}),c()()}}function Ir(i,a){i&1&&(s(0,"span",99),Te(),s(1,"svg",100),P(2,"path",101),c()())}function Or(i,a){if(i&1&&(s(0,"td",88),u(1,wr,2,0,"div",79)(2,Ir,3,0,"ng-template",null,5,F),c()),i&2){let n=a.$implicit,e=w(3),t=d();p("hidden",t.isSoftware||!t.showColumn("model3DUrl")),l(),p("ngIf",n.model3DUrl)("ngIfElse",e)}}function Tr(i,a){i&1&&(s(0,"th",65),g(1," Availability / Lead Time"),c())}function Dr(i,a){i&1&&(s(0,"span",107)(1,"mat-icon"),g(2,"done"),c()())}function kr(i,a){i&1&&(s(0,"span",108)(1,"mat-icon"),g(2,"close"),c()())}function Er(i,a){if(i&1){let n=M();s(0,"td",102)(1,"div",103),u(2,Dr,3,0,"span",104)(3,kr,3,0,"span",105),g(4,"\xA0 "),s(5,"button",106),b("click",function(){let t=x(n).$implicit,o=d();return v(o.displayLeadTime(t))}
2),s(6,"mat-icon"),g(7,"info"),c()()()()}if(i&2){let n=a.$implicit;l(2),p("ngIf",n.availability),l(),p("ngIf",!n.availability)}}function Ar(i,a){i&1&&P(0,"tr",109)}function Fr(i,a){i&1&&P(0,"tr",110)}var Rt=(()=>{let a=class a{constructor(e,t,o,m,_){r(this,"router");r(this,"route");r(this,"dialog");r(this,"platformId");r(this,"gtmService");r(this,"modelData");r(this,"settings");r(this,"productRouteInfo");r(this,"TrackItemClick",new De);r(this,"PlmAttributes");r(this,"model");r(this,"displayedColumns",[]);r(this,"columnHeaders");r(this,"ProductTableData");r(this,"filters",{});r(this,"selectedFilters",[]);r(this,"stapleColumns",["extraneousLoadFilter","model3DUrl"]);r(this,"valueUnit",new de("english"));r(this,"selectedAll",!0);r(this,"selectedOffTheShelf",!1);r(this,"selectedCustom",!1);r(this,"isSoftware",!1);r(this,"isInstrument",!1);r(this,"legacyProduct",!1);r(this,"stapleColumnsToPresent",[]);r(this,"mainFilters");r(this,"legacyNavigationRoute");r(this,"hasLiveModel",!0);r(this,"isUserInStockGroup",!1);r(this,"userGroupsService",Ne(qi));this.router=e,this.route=t,this.dialog=o,this.platformId=m,this.gtmService=_}ngOnInit(){this.legacyNavigationRoute=localStorage.getItem("legacyNavigation"),this.model={InitialFilters:{},dataSource:{},tableData:{},filterByInStock:!1,displayMetricUnit:!1,attributeColumns:[],showSelected:!1},this.settings||(this.settings={hideFilters:!1,hideLeadTime:!1,isAdmin:!1,nonWebGroup:!1}),this.productRouteInfo=this.modelData.routeInfo,this.PlmAttributes=this.modelData.PlmAttributes,this.PlmAttributes=this.PlmAttributes.map(e=>ye(le({},e),{BusinessName:this.attributeName(e.BusinessName)})),this.setupTableData(),this.setAppliedFilters(),this.model.filterByInStock=!1,this.restorePageSelectionFromSession(),this.route.queryParamMap.subscribe(e=>{let t=e.get("livemodel");this.hasLiveModel=t!==null?t==="true":!0}),this.checkIsUserInStockGroup()}restorePageSelectionFromSession(){let e=this.GetUserId();if(!e)return;let t=JSON.parse(sessionStorage.getItem(`userColumnSelection_${e}_${this.model?.ProductModelDetails?.ModelNumber}`)||"[]");switch(t.includes(this.stapleColumns[0])&&this.stapleColumnsToPresent.push(this.stapleColumns[0]),t.includes(this.stapleColumns[1])&&this.stapleColumnsToPresent.push(this.stapleColumns[1]),this.loadAttColumnOptions(this.model),Array.isArray(this.model.attributeColumnsOptions)&&t.length>0&&this.model.attributeColumnsOptions.forEach(m=>{let _=m.SanitizedName;if(t.includes(_)){let h=this.mainFilters.includes(_),C=this.stapleColumns.includes(_);this.setColumnSelection(m,h,C,!0)}else this.mainFilters.includes(_)&&(this.model.attributeColumns=this.model.attributeColumns.filter(h=>h!==_),this.model.displayedColumns=this.buildDisplayColumns(this.model.attributeColumns?.length>0?this.model.attributeColumns:[]))}),sessionStorage.getItem(`userProductView_${e}`)){case"offTheShelf":this.selectOffTheShelf();break;case"custom":this.selectCustom();break;default:this.selectOffTheShelf();break}}selectAll(){this.selectedAll=!0,this.selectedOffTheShelf=!1,this.selectedCustom=!1,this.model.dataSource=new Xe(this.model.tableData),this.updateSelectedFilters(),this.updateFilter();let e=this.GetUserId();sessionStorage.setItem(`userProductView_${e}`,"all")}selectOffTheShelf(){this.selectedAll=!1,this.selectedOffTheShelf=!0,this.selectedCustom=!1,this.model.dataSource=new Xe(this.model.tableData.filter(t=>!t.customProduct)),this.updateSelectedFilters(),this.updateFilter();let e=this.GetUserId();sessionStorage.setItem(`userProductView_${e}`,"offTheShelf")}selectCustom(){this.selectedAll=!1,this.selectedOffTheShelf=!1,this.selectedCustom=!0,this.model.dataSource=new Xe(this.model.tableData.filter(t=>t.customProduct)),this.updateSelectedFilters(),this.updateFilter();let e=this.GetUserId();sessionStorage.setItem(`userProductView_${e}`,"custom")}setupShowSelected(e){e.showSelected=!e.showSelected,e.showSelected&&this.loadAttColumnOptions(e)}loadAttColumnOptions(e){let t=this.PlmAttributes;t=t.filter(o=>this.modelData.Products.some(m=>m.Attributes?.length>0&&m.Attributes.some(_=>_.SanitizedName===o.SanitizedName&&_.Values?.length>0&&_.Values.some(h=>h!="")))),t.push({SanitizedName:"extraneousLoadFilter",BusinessName:"Extraneous Load Filter"}),t.push({SanitizedName:"model3DUrl",BusinessName:"3D Model"}),t=t.map(o=>{o.isChecked=!1;let m=e.attributeColumns.length>0&&this.stapleColumnsToPresent.includes(o.SanitizedName);return(e.attributeColumns.includes(o.SanitizedName)||m)&&(o.isChecked=!0),o}),e.attributeColumnsOptions=t}tableColoumnsToggleButton(){this.setupShowSelected(this.model)}setColumnSelectionEvent(e){let t=this.stapleColumns.includes(e.SanitizedName);this.setColumnSelection(e,void 0,t);let o=this.GetUserId();if(o){let m=Array.from(new Set([...this.model.attributeColumns,...this.stapleColumnsToPresent]));sessionStorage.setItem(`userColumnSelection_${o}_${this.model?.ProductModelDetails?.ModelNumber}`,JSON.stringify(m))}}setColumnSelection(e,t,o,m){let _=e.SanitizedName;if(t){this.model.displayedColumns=this.buildDisplayColumns(this.model.attributeColumns?.length>0?this.model.attributeColumns:[]);return}if(e.isChecked=m??!e.isChecked,o){e.isChecked&&this.stapleColumns.includes(_)?this.stapleColumnsToPresent.push(_):this.stapleColumnsToPresent=this.stapleColumnsToPresent.filter(h=>h!==_),this.model.displayedColumns=this.buildDisplayColumns(this.model.attributeColumns?.length>0?this.model.attributeColumns:[]);return}e.isChecked?this.model.attributeColumns.push(_):this.model.attributeColumns=this.model.attributeColumns.filter(h=>h!==_),this.model.displayedColumns=this.buildDisplayColumns(this.model.attributeColumns?.length>0?this.model.attributeColumns:[])}showColumn(e){return this.stapleColumnsToPresent.includes(e)}buildDisplayColumns(e){let t=["itemNumber"];return this.settings.hideFilters?t.push("specSheetUrl","extraneousLoadFilter","model3DUrl"):(e&&e?.length>0&&t.push(...e),t.push("specSheetUrl","extraneousLoadFilter","model3DUrl","availability")),!this.settings?.hideLeadTime&&!t.includes("availability")&&t.push("availability"),t}filterProductsByStock(){this.model.filterByInStock=!this.model.filterByInStock,this.updateFilter()}displayMetricValues(){this.model.displayMetricUnit=this.valueUnit.value==="metric"}getAttrLabel(e){return Tt[e.SanitizedName]?.metricName??e.BusinessName.replace(/_INCHES| ?\(LB\)/i,"")}getMetricDisplayValue(e,t){let o=t,m=Tt[e.SanitizedName];if(m){let _=parseFloat(t);if(!isNaN(_)){let h=m.convert(_);o=`${Math.round(h*100)/100} ${m.metricUnit}`}}return o}getImperialDisplayValue(e,t){let o=t,m=Tt[e.SanitizedName];return m&&!t.trim().toLowerCase().endsWith(m.imperialUnit.trim().toLowerCase())&&(o=`${t} ${m.imperialUnit}`),o}applyFilter(e,t){this.filters[e]=t,this.updateSelectedFilters(),this.updateFilter()}
2clearSingleFilter(e){Object.keys(this.filters).forEach(t=>{this.filters[t]=this.filters[t].filter(o=>o.Value!==e.Value)}),this.updateSelectedFilters(),this.updateFilter()}clearAllFilters(){this.filters={},this.selectedFilters=[],this.updateFilter(),G(this.platformId)&&localStorage.removeItem("AppliedFielters")}updateSelectedFilters(){this.selectedFilters=[],Object.values(this.filters).forEach(e=>{this.selectedFilters.push(...e)})}updateFilter(){this.model.dataSource.filterPredicate=(e,t)=>{if(this.model.filterByInStock&&!e.availability)return!1;let o=JSON.parse(t);return Object.keys(o).every(m=>!o[m]||o[m].length===0?!0:o[m].some(_=>e[m]?.Values.includes(_.Value)||this.model.displayMetricUnit&&e[m]?.displayMetricName==_.displayMetricName||!this.model.displayMetricUnit&&e[m]?.displayName==_.displayName))},this.model.dataSource.filter=JSON.stringify(this.filters)}displayLeadTime(e){this.dialog.open(Wi,{data:{stockId:e.itemNumber,imageUrl:this.modelData.Products?.find(o=>o.Name===e.itemNumber)?.ImageUrl}});let t={event:"model_page",eventCategory:"model_page",eventAction:"lead_time_click",eventLabel:this.model.ProductModelDetails.ModelNumber,pagepath:this.router.url,userId:this.GetUserId(),"item number":e.itemNumber,"fam
2ily name":this.productRouteInfo?.productSeries,"model name":this.productRouteInfo?.productModel};this.gtmService.pushTag(t)}GetUserId(){return G(this.platformId)?localStorage.getItem("userId")??"":""}onDocClick(e,t,o){this.OpenSpecDocument2({linkName:o,documentUrl:t,item:e})}OpenSpecDocument2(e){let t=this.modelData?.tsCond;if(t?.popup||t?.popvalue2)this.onDocClick2(e.item,e.linkName),window.open(e.documentUrl,"_blank");else switch(e.linkName){case"Spec Sheet":this.openTAndCModal(e);break;case"3D Model Download":this.openTAndCModal(e);break;case"Extraneous Load Factor":this.openTAndCModal(e);break;default:}}onDocClick2(e,t){let o={event:"model_page",eventCategory:"model_page",eventAction:"detail_link",eventLabel:t,pagepath:this.router.url,userId:this.GetUserId(),"item number":e.itemNumber,"family name":this.productRouteInfo?.productSeries,"model name":this.productRouteInfo?.productModel};this.gtmService.pushTag(o)}openTAndCModal(e){this.dialog.open(Ke,{data:{documentUrl:e.documentUrl,tsCond:this.modelData?.tsCond,gtmTagData:{event:"model_page",eventCategory:"modelpage",eventAction:"detail_link",eventLabel:e.linkName,pagepath:this.router.url,userId:this.GetUserId(),"item number":e.item?.ItemNumber,"fam
2ily name":this.productRouteInfo?.productSeries,"model name":this.productRouteInfo?.productModel}}})}pushModelProductToGTM(){if(this.model?.tableData?.length===1){let e=this.model.tableData[0],{productModel:t}=this.modelData.routeInfo,o={event:"select_item",ecommerce:{item_list_name:"model page|item number",items:[{item_name:`${e.itemNumber} ${t}`,item_id:e.itemNumber,affiliation:"Futek online store",currency:"USD",price:"N/A",item_brand:"futek",item_category:this.productRouteInfo.productClass,item_category2:this.productRouteInfo.productSeries,item_category3:this.productRouteInfo.productModel,item_category4:e.itemNumber,item_category5:"redirect|item selector tool",item_list_name:"model page|item number",item_list_id:`m-${e.itemNumber}`,item_stock:"N/A",index:1,quantity:"N/A"}]}};this.gtmService.pushTag(o)}}onItemClick(e){let t=this.model.dataSource.filteredData.find(h=>h.itemNumber==e),{productSeries:o,productModel:m}=this.modelData.routeInfo,_={event:"select_item",item_list_name:"model page|item number",ecommerce:{items:[{item_name:`${t.itemNumber} ${m}`,item_id:t.itemNumber,affiliation:"Futek online store",currency:"USD",price:"N/A",item_brand:"futek",item_category:o||"N/A",item_category2:m||"N/A",item_category3:this.model?.ProductModelDetails?.ModelNumber||"N/A",item_category4:t.itemNumber,item_list_name:"model page|item number",item_list_id:`m-${t.itemNumber}`,item_stock:t.availability?"in stock":"out of stock",index:1,quantity:"N/A"}]}};this.gtmService.pushTag(_),this.TrackItemClick&&this.TrackItemClick.emit()}setupTableData(){this.mainFilters=[this.modelData.Model.MainFilter,this.modelData.Model.MainFilter1,this.modelData.Model.MainFilter2,this.modelData.Model.MainFilter3].filter(_=>typeof _=="string"&&_.trim().length>0),this.displayedColumns=this.buildDisplayColumns([...this.mainFilters,...this.stapleColumnsToPresent]),this.columnHeaders={itemNumber:"Item Number",specSheetUrl:"Spec Sheet",extraneousLoadFilter:"Extraneous Load Filter",model3DUrl:"3D Model",availability:"Availability",leadTime:"Lead Time"},this.PlmAttributes.forEach(_=>{this.columnHeaders[_.SanitizedName]=this.getAttrLabel(_)}),this.sortProducts(),this.ProductTableData=this.transformProducts(this.modelData.Products),this.loadModelsData();let{productSeries:e,productModel:t}=this.modelData.routeInfo,m={event:"view_item_list",item_list_name:"model page|item number",ecommerce:{items:this.modelData.Products.map((_,h)=>({item_name:`${_.ItemNumber} ${t}`,item_id:_.ItemNumber,affiliation:"Futek online store",currency:"USD",item_brand:"futek",item_category:e||"N/A",item_category2:t||"N/A",item_category3:this.model?.ProductModelDetails?.ModelNumber||"N/A",item_category4:_.ItemNumber||"N/A",item_list_name:"model page|item number",item_list_id:`m-${_.ItemNumber}`,item_stock:_.Stock>0?"in stock":"out of stock",index:h,price:"N/A",quantity:_.Stock}))}};this.gtmService.pushTag({ecommerce:null}),this.gtmService.pushTag(m)}navigateVersions(){let e={tab:"productmodels"};this.legacyProduct?this.router.navigate(["/",...this.productRouteInfo.currentProductModel],{queryParams:e}):this.router.navigate(["/","store","legacy-sensors-and-instruments",this.productRouteInfo.productModel],{queryParams:e})}productHasCurrentModel(){if(!this.hasLiveModel||this.productRouteInfo?.currentProductModel?.includes("legacy-sensors-and-instruments"))return!1;let e=["/","store","legacy-sensors-and-instruments",this.productRouteInfo.productModel];return this.legacyNavigationRoute!==e.join("/")}isAccessory(){return this.productRouteInfo?.currentProductModel?.includes("accessories")}sortProducts(){this.modelData.Products.sort((e,t)=>e.ItemNumber<t.ItemNumber?-1:e.ItemNumber>t.ItemNumber||e.CustomProduct?1:-1)}loadModelsData(){this.model.tableData=this.ProductTableData.filter(t=>{let o=!0;return Object.keys(this.model.InitialFilters).forEach(m=>{this.model.InitialFilters[m].length>0&&(o=o&&this.model.InitialFilters[m].includes(t[m]?.Value))}),o}),this.model.ProductModelDetails={ModelNumber:this.modelData.Model.ModelNumber};let e=[this.modelData.Model.MainFilter,this.modelData.Model.MainFilter1,this.modelData.Model.MainFilter2,this.modelData.Model.MainFilter3].filter(t=>typeof t=="string"&&t.trim().length>0);this.model.attributeColumns=e.length>0?e:[],this.model.displayedColumns=this.displayedColumns,this.isSoftware&&this.displayedColumns.push("ProductDefinition"),this.model.dataSource=new Xe(this.model.tableData),this.model.uniqueValues=this.buildUniqueValues()}transformProducts(e){return e.map(t=>{let o={itemNumber:t.ItemNumber,webEnabled:t.WebEnabled,customProduct:t.CustomProduct,specSheetUrl:t.SpecsheetUrl||this.modelData.Model.SpecsheetUrl||"",extraneousLoadFilter:t.ExternalLoadUrl||this.modelData.Model.ExternalLoadUrl||"",model3DUrl:t.Model3DUrl||this.modelData.Model.Model3DUrl||"",availability:t.Stock>0,leadTime:t.LeadTime||"N/A",productAging:t.ProductAging,ProductDefinition:t.ProductDefinition,stock:t.Stock,url:this.productRouteInfo.productClass?`/store/${this.productRouteInfo.productClass}/${this.productRouteInfo.productSeries}/${this.productRouteInfo.productModel}/${t.ItemNumber}`:`/store/${this.productRouteInfo.productSeries}/${this.productRouteInfo.productModel}/${t.ItemNumber}`};return t.Attributes?.forEach(m=>{let _=this.PlmAttributes.find(O=>O.SanitizedName===m.SanitizedName),h=(Array.isArray(m.name)?m.name:[m.name]).map(O=>O.split("|")),C=this.shouldDisplayAsFraction(m,_),T=O=>{let B=this.getImperialDisplayValue(m,O);if(C){let fe=parseFloat(O);if(!isNaN(fe))return en(fe)}return B},Y=h.map(O=>T(O[0]?.trim()||"")).filter(O=>O&&O.trim()!=="").join(", "),ue=h.map(O=>O[1]?O[1]:this.getMetricDisplayValue(m,O[0]?.trim()||"")).filter(
2Boolean).join(", ");o[m.SanitizedName]=ye(le({},m),{IsToggleAttribute:_?.IsToggleAttribute,BusinessName:_?.BusinessName,displayName:Y,displayMetricName:ue,filters:{name:m.name,displayNames:h.map(O=>T(O[0]?.trim()||"")).filter(O=>O&&O.trim()!==""),displayMetricNames:h.map(O=>O[1]?O[1]:this.getMetricDisplayValue(m,O[0].trim())||"").filter(O=>O&&O.trim()!=="")}})}),o})}getUniqueValues(e){let t=this.model.dataSource.data,o=e.SanitizedName;if(t.length===0)return[];let m=[];t.forEach(h=>{let C=h[o];C&&Array.isArray(C.Values)&&C.filters.displayNames.forEach((T,Y)=>{m.some(ue=>ue.Value===T)||m.push(ye(le({},C),{Value:T,filterDisplayName:T,filterDisplayMetricName:C.filters.displayMetricNames[Y]}))})});let _=[...new Map(m.map(h=>[h.Value,h])).values()];return Ce.sortValues(e?.MeasureUnits,_)}buildUniqueValues(){let e={};return this.PlmAttributes.forEach(t=>{e[t.SanitizedName]=this.getUniqueValues(t)}),e}getAppliedFilters(){if(!G(this.platformId))return{};let e=localStorage.getItem("AppliedFielters");if(e!=null&&e!==""){let t=JSON.parse(e);return t.MetricFilters?.length>0&&this.PlmAttributes.forEach(o=>{t.MetricFilters.includes(o.SanitizedName)&&(o.IsMetricUnit=!0)}),t.AppliedFilters}return{}}setAppliedFilters(){let e=this.getAppliedFilters();e!=null&&Object.keys(e).length>0&&(Object.keys(e).forEach(t=>{let o=e[t],m=t,_=this.model.uniqueValues[t];_=_.filter(h=>o.some(C=>h.name.some(T=>C.includes(T)))),this.applyFilter(m,_)}),this.updateFilter())}
2shouldDisplayAsFraction(e,t){if(!this.modelData?.Model?.ModelNumber?.toUpperCase().startsWith("LTH"))return!1;let m=(t?.BusinessName??e?.BusinessName??"").toLowerCase();return m.includes("inner")&&m.includes("diameter")}attributeName(e){let t={ROHS:"RoHS","3D Model":"3D Model","IP / NEMA RATING":"IP / NEMA Rating"};return t.hasOwnProperty(e)?t[e]:e.split(/[\s\/]+/).map(o=>o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join(" ")}checkIsUserInStockGroup(){this.isUserInStockGroup=this.userGroupsService.checkUserIsInstockGroup()}ngOnDestroy(){this.dialog.closeAll()}};r(a,"\u0275fac",function(t){return new(t||a)(f(ne),f(ie),f(qe),f(X),f(re))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-model-products"]],inputs:{modelData:"modelData",settings:"settings",isSoftware:"isSoftware",isInstrument:"isInstrument",legacyProduct:"legacyProduct"},outputs:{TrackItemClick:"TrackItemClick"},decls:47,vars:13,consts:[["nonWebText",""],["noAttributeUniqueValues",""],["noAttributeValue",""],["noSpecSheetUrl",""],["noExtranous",""],["noModel",""],[1,"model-products-section"],["class","product-filters-header",4,"ngIf"],[1,"loadingpanel","dark-overlay",3,"hidden"],[1,"popup-filters"],[1,"close-button-wrapper"],["mat-button","","mat-dialog-close","",1,"close-button",3,"click"],[1,"material-icons"],[1,"content"],["class","filter-row custom-form",4,"ngFor","ngForOf"],[1,"table-section"],[1,"table-header"],[1,"selected-filters-section"],["class","heading-m text-color-secondary",4,"ngIf"],[1,"selected-filters"],["class","selected-filter",4,"ngFor","ngForOf"],["class","primary-button",3,"click",4,"ngIf"],["class","filter-buttons half-section",4,"ngIf"],["class","filter-buttons",4,"ngIf"],[1,"table-wrapper"],["mat-table","",1,"table-products",3,"dataSource"],["matColumnDef","itemNumber"],["class","header-cell-padding","mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","","class","text-brand-primary",4,"matCellDef"],["matColumnDef","ProductDefinition"],["class","header-cell-padding","mat-header-cell","",3,"hidden",4,"matHeaderCellDef"],["mat-cell","","class","text-color-primary",3,"hidden",4,"matCellDef"],[4,"ngIf"],["matColumnDef","specSheetUrl"],["mat-cell","",3,"hidden",4,"matCellDef"],["matColumnDef","extraneousLoadFilter"],["matColumnDef","model3DUrl"],["matColumnDef","availability"],["mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"footer-table","text-m","text-color-primary"],["routerLink","/about/contact",1,"text-m","semibold","text-color-link-default"],[1,"product-filters-header"],[1,"row"],[1,"buttons-wrapper"],[3,"click","ngClass"],[1,"model-products-filters"],[1,"custom-toggle",3,"change","checked"],[1,"filter-buttons"],[1,"see-legacy-models",3,"click"],[1,"filter-row","custom-form"],[1,"filter-checkbox",3,"change","checked","value"],[1,"filter-label","text-m"],[1,"heading-m","text-color-secondary"],[1,"text-underline",3,"click","routerLink","queryParams"],[1,"selected-filter"],[1,"text-l","text-capitalized"],[1,"selected-filter-close",3,"click"],[1,"primary-button",3,"click"],[1,"filter-buttons","half-section"],["aria-label","Select System","name","valueUnit",1,"filter-panel__toggle",3,"click","change","formControl","model"],["name","valueUnit","value","metric"],["name","valueUnit","value","english"],["type","button",1,"filter-button",3,"click"],["mat-header-cell","",1,"header-cell-padding"],["mat-cell","",1,"text-brand-primary"],[1,"text-color-link-default",3,"click","routerLink"],["class","text-brand-primary item-number",4,"ngIf","ngIfElse"],[1,"next-btn"],[1,"row","mt-1","justify-content-center"],[1,"text-brand-primary","item-number"],[3,"color","ml-1"],["matTooltipPosition","above",1,"product-aging",3,"background","color","matTooltip"],["matTooltipPosition","above",1,"product-aging",3,"matTooltip"],["mat-header-cell","",1,"header-cell-padding",3,"hidden"],["mat-cell","",1,"text-color-primary",3,"hidden"],[3,"matColumnDef",4,"ngFor","ngForOf"],[3,"matColumnDef"],[4,"ngIf","ngIfElse"],["mat-cell","","class","text-color-primary",4,"matCellDef"],["mat-header-cell","","class","text-capitalized custom-form",4,"matHeaderCellDef"],["mat-header-cell","",1,"text-capitalized","custom-form"],["appearance","fill",1,"filter-product-table-dropdown"],["multiple","",3,"valueChange","selectionChange","aria-label","placeholder","value"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["mat-cell","",1,"text-color-primary"],["mat-cell","",3,"hidden"],[1,"specsheet",3,"click"],[1,"sr-only"],[1,"specsheet-disabled"],["width","16","height","20","viewBox","0 0 16 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M15.1563 5.187
25L10.8438 0.9375C10.5938 0.6875 10.25 0.5625 9.90625 0.5625H2.40625C1.34375 0.5625 0.4375 1.4375 0.4375 2.53125V17.5312C0.4375 18.5938 1.3125 19.5 2.40625 19.5H13.5625C14.625 19.5 15.5312 18.625 15.5312 17.5312V6.125C15.5312 5.78125 15.4063 5.4375 15.1563 5.1875ZM10.875 2.9375L13.2188 5.25H10.875V2.9375ZM13.5938 18.0625H2.40625C2.09375 18.0625 1.84375 17.8125 1.84375 17.5V2.5C1.84375 2.1875 2.09375 1.9375 2.40625 1.9375H9.46875V5.9375C9.46875 6.3125 9.78125 6.65625 10.1875 6.65625H14.1562V17.5C14.125 17.8125 13.875 18.0625 13.5938 18.0625Z","fill","currentColor"],["d","M10.1562 9.09375H4.75C4.375 9.09375 4.03125 9.40625 4.03125 9.8125C4.03125 10.2187 4.34375 10.5312 4.75 10.5312H10.1562C10.5312 10.5312 10.875 10.2187 10.875 9.8125C10.875 9.40625 10.5625 9.09375 10.1562 9.09375Z","fill","currentColor"],["d","M10.1562 12.5312H4.75C4.375 12.5312 4.03125 12.8438 4.03125 13.25C4.03125 13.6563 4.34375 13.9688 4.75 13.9688H10.1562C10.5312 13.9688 10.875 13.6563 10.875 13.25C10.875 12.8438 10.5625 12.5312 10.1562 12.5312Z","fill","currentColor"],["class","specsubspecsheetb1",4,"ngIf"],[1,"specsubspecsheetb1"],["download","",1,"model",3,"click"],[1,"model-disabled"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M18.25 14.875C18.25 14.8438 18.2813 14.8438 18.2813 14.8125C18.3125 14.75 18.3125 14.6875 18.3125 14.625V5.375C18.3125 5.125 18.1563 4.875 17.9375 4.75L10.3438 0.625C10.3125 0.625 10.2813 0.625 10.25 0.59375C10.2188 0.59375 10.1875 0.5625 10.1563 0.5625C10.125 0.5625 10.0938 0.5625 10.0625 0.5625C10.0313 0.5625 10 0.5625 9.96875 0.5625C9.9375 0.5625 9.90625 0.5625 9.875 0.5625C9.84375 0.5625 9.8125 0.5625 9.78125 0.5625C9.75 0.5625 9.71875 0.59375 9.6875 0.59375C9.71875 0.625 9.6875 0.625 9.65625 0.625L2.0625 4.75C1.84375 4.875 1.6875 5.125 1.6875 5.375V14.625C1.6875 14.6875 1.6875 14.75 1.71875 14.8125C1.71875 14.8438 1.75 14.8438 1.75 14.875C1.75 14.9062 1.78125 14.9375 1.8125 15C1.8125 15.0312 1.84375 15.0312 1.84375 15.0625C1.875 15.0938 1.875 15.125 1.90625 15.1562C1.9375 15.1875 1.9375 15.1875 1.96875 15.2188C2 15.25 2 15.25 2.03125 15.2813L9.65625 19.375C9.75 19.4375 9.875 19.4688 10 19.4688C10.125 19.4688 10.2188 19.4375 10.3438 19.375L17.9375 15.25C17.9688 15.2188 18 15.2188 18 15.1875C18.0312 15.1562 18.0312 15.1563 18.0625 15.125C18.0938 15.0938 18.125 15.0625 18.125 15.0312C18.125 15 18.1562 15 18.1562 14.9688C18.2188 14.9375 18.25 14.9062 18.25 14.875ZM16.9063 13.4375L10.7188 10.0625V2.4375L16.9063 5.8125V13.4375ZM3.09375 5.8125L9.3125 2.4375V10.0938L3.09375 13.4375V5.8125ZM10 17.9375L3.875 14.625L10 11.3125L16.125 14.625L10 17.9375Z","fill","currentColor"],["mat-cell",""],[1,"d-flex","justify-content-center","align-items-center","gap-2"],["class","text-color-success",4,"ngIf"],["class","text-color-error",4,"ngIf"],["type","button",1,"text-color-link-default",2,"margin","unset",3,"click"],[1,"text-color-success"],[1,"text-color-error"],["mat-header-row",""],["mat-row",""]],template:function(t,o){t&1&&(s(0,"div",6),u(1,Go,13,5,"div",7),s(2,"div",8)(3,"div",9)(4,"mat-dialog-actions",10)(5,"button",11),b("click",function(){return o.tableColoumnsToggleButton()}),s(6,"i",12),g(7,"highlight_off "),c()()(),s(8,"mat-dialog-content",13),u(9,zo,4,3,"section",14),c()()(),s(10,"div",15)(11,"div",16)(12,"div",17),u(13,Bo,3,1,"h2",18)(14,Ho,2,0,"h2",18),s(15,"div",19),u(16,Wo,2,1,"div",20)(17,qo,2,0,"button",21),c()(),u(18,Ko,8,2,"div",22)(19,Qo,3,0,"div",23),c(),s(20,"div",24)(21,"table",25),k(22,26),u(23,Jo,2,0,"th",27)(24,nr,7,4,"td",28),E(),k(25,29),u(26,or,2,1,"th",30)(27,rr,3,2,"td",31),E(),u(28,_r,2,1,"ng-container",32),k(29,33),u(30,hr,2,1,"th",30)(31,vr,4,3,"td",34),E(),k(32,35),u(33,Cr,2,1,"th",30)(34,yr,4,3,"td",34),E(),k(35,36),u(36,Sr,2,1,"th",30)(37,Or,4,3,"td",34),E(),k(38,37),u(39,Tr,2,0,"th",27)(40,Er,8,2,"td",38),E(),u(41,Ar,1,0,"tr",39)(42,Fr,1,0,"tr",40),c(),s(43,"p",41),g(44," *Don't see the specifications you are looking for? "),s(45,"a",42),g(46,"Contact Factory."),c()()()()()),t&2&&(l(),p("ngIf",!o.settings.hideFilters),l(),p("hidden",!o.model.showSelected),l(7),p("ngForOf",o.model.attributeColumnsOptions),l(4),p("ngIf",!o.isInstrument&&!o.legacyProduct),l(),p("ngIf",o.isInstrument||o.legacyProduct),l(2),p("ngForOf",o.selectedFilters),l(),p("ngIf",o.selectedFilters.length),l(),p("ngIf",!o.settings.hideFilters),l(),p("ngIf",o.legacyProduct&&!o.isAccessory()&&o.productHasCurrentModel()),l(2),p("dataSource",o.model.dataSource),l(7),p("ngIf",o.model.attributeColumns),l(13),p("matHeaderRowDef",o.model.displayedColumns),l(),p("matRowDefColumns",o.model.displayedColumns))},dependencies:[ri,K,H,_e,we,He,gt,wt,It,St,ht,ft,fi,_t,$e,We,hi,ki,Fi,Ui,Gi,Li,Ni,zi,Vi,Ri,ji,Bi,Pi,oe],styles:['.text-underline[_ngcontent-%COMP%]{text-decoration:none;color:#06c}.text-underline[_ngcontent-%COMP%]:hover{text-decoration:underline!important;color:#06c} .mdc-label{margin-left:0!important}.see-legacy-models[_ngcontent-%COMP%]{font-weight:500;display:flex;max-height:2.75rem;height:100%;padding:.5rem 1rem;color:var(--text-secondary);
2border:1px solid var(--divider-default);border-radius:6px;background-color:var(--white-color);margin:0}.model-products-section[_ngcontent-%COMP%]{margin:0 auto;padding:3rem 3rem 0}@media screen and (max-width: 1024px){.model-products-section[_ngcontent-%COMP%]{padding:1rem .75rem 0}}.model-products-section[_ngcontent-%COMP%] .table-section[_ngcontent-%COMP%]{width:100%;height:100%;padding-top:1.875rem}.model-products-section[_ngcontent-%COMP%] .popup-filters[_ngcontent-%COMP%]{display:block;width:1024px;background:var(--white-color);padding:2.25rem .75rem 2rem;margin-top:10rem;margin-right:auto;margin-left:auto;border-radius:3px;z-index:9999;position:fixed;left:50%;top:10%;transform:translate(-50%);box-shadow:0 4px 24px #0000001f}@media screen and (max-width: 1024px){.model-products-section[_ngcontent-%COMP%] .popup-filters[_ngcontent-%COMP%]{width:100%;left:0;transform:none}}.model-products-section[_ngcontent-%COMP%] .close-button-wrapper[_ngcontent-%COMP%]{width:100%;display:flex;justify-content:flex-end;position:relative}.model-products-section[_ngcontent-%COMP%] .close-button[_ngcontent-%COMP%]{position:absolute;z-index:99;padding:.5rem;top:-2rem;right:-1rem}.model-products-section[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.5rem;max-height:475px;scrollbar-width:thin;scroll-behavior:smooth}.model-products-section[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .filter-row[_ngcontent-%COMP%]{width:30%}@media screen and (max-width: 768px){.model-products-section[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .filter-row[_ngcontent-%COMP%]{width:45%}}@media screen and (max-width: 560px){.model-products-section[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .filter-row[_ngcontent-%COMP%]{width:100%}}.model-products-section[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .filter-checkbox[_ngcontent-%COMP%]{display:flex;align-items:flex-start}.model-products-section[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] .filter-label[_ngcontent-%COMP%]{margin:0 .5rem 0 .25rem;vertical-align:text-top}.model-products-section[_ngcontent-%COMP%] .text-capitalized[_ngcontent-%COMP%]{text-transform:capitalize}.model-products-section[_ngcontent-%COMP%] .product-filters-header[_ngcontent-%COMP%]{border:1px solid var(--divider-default);border-radius:.5rem;box-shadow:0 10px 20px #5c73a012;padding:1.25rem 1.875rem;display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}.model-products-section[_ngcontent-%COMP%] .product-filters-header[_ngcontent-%COMP%] .buttons-wrapper[_ngcontent-%COMP%]{display:flex;gap:1.25rem;align-items:center;flex-wrap:wrap}.model-products-section[_ngcontent-%COMP%] .product-filters-header[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.primary-button, .tertiary-button)[_ngcontent-%COMP%]{padding:.5rem 1.5rem;border-radius:100px;font-size:var(--text-l-font-size);line-height:var(--text-l-line-height);position:static;margin:0}.model-products-section[_ngcontent-%COMP%] .table-wrapper[_ngcontent-%COMP%]{width:100%;height:100%;scrollbar-width:thin;scroll-behavior:smooth}@media screen and (max-width: 1024px){.model-products-section[_ngcontent-%COMP%] .table-wrapper[_ngcontent-%COMP%]{overflow-x:scroll}}.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{background-color:var(--bg-secondary);border-top:1px solid var(--divider-default);border-left:1px solid var(--divider-default);border-right:1px solid var(--divider-default);border-radius:.5rem .5rem 0 0;padding:1.25rem;width:100%;display:flex;justify-content:space-between;gap:1rem}@media screen and (max-width: 1024px){.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%]{flex-wrap:wrap}}.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .filter-panel__toggle[_ngcontent-%COMP%]{border:1px solid var(--border-default);border-radius:4px;color:var(--text-secondary);--mat-standard-button-toggle-text-font: "Nunito Sans", sans-serif;--mat-standard-button-toggle-height: 2rem;font-size:var(--text-m-font-size);line-height:var(--text-m-line-height);letter-spacing:var(--letter-spacing-none);height:2.75rem;z-index:1}.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.filter-panel__toggle .mat-button-toggle[_ngcontent-%COMP%], .filter-panel__toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .filter-panel__toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .filter-panel__toggle[_ngcontent-%COMP%] button[aria-pressed=false])[_ngcontent-%COMP%]{height:100%;width:100%}.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .filter-panel__toggle[_ngcontent-%COMP%] .mat-button-toggle-label-content[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .filter-panel__toggle[_ngcontent-%COMP%] .mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:var(--border-default);color:var(--text-primary-onbrand);height:100%}.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .filter-buttons[_ngcontent-%COMP%]{width:35%;display:flex;gap:1.25rem;flex-wrap:wrap;align-items:center;justify-content:flex-end}@media screen and (max-width: 1024px){.model-products-section[_ngcontent-%COMP%] .table-header[_ngcontent-%COMP%] .filter-buttons[_ngcontent-%COMP%]{justify-content:flex-start;width:100%}}.model-products-section[_ngcontent-%COMP%] .selected-filters-section[_ngcontent-%COMP%]{width:65%}@media screen and (max-width: 1024px){.model-products-section[_ngcontent-%COMP%] .selected-filters-section[_ngcontent-%COMP%]{width:100%}}.model-products-section[_ngcontent-%COMP%] .primary-button[_ngcontent-%COMP%]{font-size:var(--text-m-font-size);line-height:var(--text-m-line-height);width:auto;margin:0;padding:.5rem 1rem}.model-products-section[_ngcontent-%COMP%] .filter-button[_ngcontent-%COMP%]{font-weight:500;display:flex;max-height:2.75rem;height:100%;padding:.5rem 1rem;color:var(--text-secondary);
2border:1px solid var(--divider-default);border-radius:6px;background-color:var(--white-color);margin:0}.model-products-section[_ngcontent-%COMP%] .filter-button[_ngcontent-%COMP%]:after{content:url(/assets/icons/filterMenu.svg);display:inline-block;width:1rem;margin-left:.5rem;vertical-align:baseline}.model-products-section[_ngcontent-%COMP%] .col-6[_ngcontent-%COMP%]{padding:0}.model-products-section[_ngcontent-%COMP%] .model-products-filters[_ngcontent-%COMP%]{display:flex;align-items:center;column-gap:1.25rem}@media screen and (max-width: 1024px){.model-products-section[_ngcontent-%COMP%] .model-products-filters[_ngcontent-%COMP%]{flex-wrap:wrap;gap:.75rem}}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%]{border:1px solid var(--divider-default);border-radius:4px;overflow:scroll}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] .mat-mdc-row[_ngcontent-%COMP%]{--mat-table-row-item-label-text-font: "Nunito Sans", sans-serif !important}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{border:1px solid var(--divider-default)!important}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] .header-cell-padding[_ngcontent-%COMP%]{padding:1.25rem}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:1.75rem 1.25rem!important;border:1px solid var(--divider-default)!important}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n) td[_ngcontent-%COMP%]{background-color:var(--bg-secondary)}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] .mat-mdc-header-cell[_ngcontent-%COMP%]{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height);letter-spacing:var(--letter-spacing-none);font-weight:var(--font-weight-regular);color:var(--text-secondary);text-align:center}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] .mat-mdc-row[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height);letter-spacing:var(--letter-spacing-none);font-weight:var(--font-weight-regular);color:var(--text-primary);text-align:center}.model-products-section[_ngcontent-%COMP%] .table-products[_ngcontent-%COMP%] .mat-mdc-row[_ngcontent-%COMP%] td.text-brand-primary[_ngcontent-%COMP%]{color:var(--text-link-default);font-weight:var(--font-weight-semibold)}.model-products-section[_ngcontent-%COMP%] .specsheet-disabled[_ngcontent-%COMP%]{color:var(--action-primary-disabled);cursor:none}.model-products-section[_ngcontent-%COMP%] .specsheet[_ngcontent-%COMP%]{color:var(--text-primary);cursor:pointer}.model-products-section[_ngcontent-%COMP%] .specsheet[_ngcontent-%COMP%]:after{content:url(/assets/icons/document.svg);height:1rem;width:1rem;display:inline-block}.model-products-section[_ngcontent-%COMP%] .model-disabled[_ngcontent-%COMP%]{color:var(--action-primary-disabled);cursor:none}.model-products-section[_ngcontent-%COMP%] .model[_ngcontent-%COMP%]{color:var(--text-primary);cursor:pointer}.model-products-section[_ngcontent-%COMP%] .model[_ngcontent-%COMP%]:after{content:url(/assets/icons/model.svg);height:1rem;width:1rem;display:inline-block}.model-products-section[_ngcontent-%COMP%] .footer-table[_ngcontent-%COMP%]{padding:1rem .5rem}.model-products-section[_ngcontent-%COMP%] .selected-filters[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.75rem}.model-products-section[_ngcontent-%COMP%] .selected-filter[_ngcontent-%COMP%]{border:1px solid var(--border-default);background-color:var(--bg-disabled);font-weight:500;display:flex;min-height:3rem;height:100%;padding:.75rem 1rem;color:var(--text-secondary);border-radius:6px}.model-products-section[_ngcontent-%COMP%] .selected-filter-close[_ngcontent-%COMP%]{height:1.5rem;margin-left:.5rem}.model-products-section[_ngcontent-%COMP%] .product-aging[_ngcontent-%COMP%]{cursor:pointer;padding:0;font-size:var(--text-xs-font-size);border-radius:4rem;width:1.5rem;height:1.5rem;margin-left:4px;text-align:center}.model-products-section[_ngcontent-%COMP%] .item-number[_ngcontent-%COMP%]{color:#06c;font-weight:400}.model-products-section[_ngcontent-%COMP%] .next-btn[_ngcontent-%COMP%]:after{color:#06c;content:" >";vertical-align:baseline;font-weight:400}.model-products-section[_ngcontent-%COMP%] .item-number[_ngcontent-%COMP%]:hover{text-decoration:underline}']}));let i=a;return i})();var bn=nt(Ot());function Nr(i,a){if(i&1){let n=M();s(0,"img",10),b("error",function(t){x(n);let o=d(2);return v(o.errorHandle(t))}),c()}if(i&2){let n=d(2);p("src",n.details.BannerImageUrl,L)("alt",n.details.BannerImageAlt||"")}}function Ur(i,a){if(i&1&&(P(0,"span",11),A(1,"safeHtml")),i&2){let n=d(2);p("innerHtml",V(1,1,n.hero==null?null:n.hero.Description),R)}}function Lr(i,a){if(i&1&&(s(0,"div",5),u(1,Nr,1,2,"img",6),s(2,"div",7)(3,"h2",8),g(4),c(),u(5,Ur,2,3,"span",9),c()()),i&2){let n=d();xe("data-epi-edit",n.type==="Model"?"ModelHero":"ProductHero"),l(
2),p("ngIf",n.details.BannerImageUrl),l(3),y(n.hero==null?null:n.hero.Title),l(),p("ngIf",n.hero==null?null:n.hero.Description)}}function Vr(i,a){if(i&1&&(s(0,"div"),P(1,"div",12),A(2,"safeHtml"),c()),i&2){let n=d();l(),p("innerHTML",V(2,1,n.details.Description),R)}}function Rr(i,a){if(i&1&&(P(0,"span",19),A(1,"safeHtml")),i&2){let n=d(2);p("innerHtml",V(1,1,n.details.CompactPackage==null?null:n.details.CompactPackage.Description),R)}}function Gr(i,a){if(i&1){let n=M();s(0,"button",20),b("click",function(){x(n);let t=d(2);return v(t.configureBtn("compact_package_configure_click"))}),g(1,"Item Selector"),c()}}function zr(i,a){if(i&1){let n=M();k(0),s(1,"div",13)(2,"div",14)(3,"h2",15),g(4),c(),u(5,Rr,2,3,"span",16)(6,Gr,2,0,"button",17),c(),s(7,"div",14)(8,"img",18),b("error",function(t){x(n);let o=d();return v(o.errorHandle(t))}),c()()(),E()}if(i&2){let n=d();l(4),y(n.details.CompactPackage.Title),l(),p("ngIf",n.details.CompactPackage==null?null:n.details.CompactPackage.Description),l(),p("ngIf",!n.isSoftware),l(2),D("alt",n.details.CompactPackage==null?null:n.details.CompactPackage.Title),p("src",n.details.CompactPackage==null?null:n.details.CompactPackage.MediaUrl,L)}}function jr(i,a){if(i&1&&(P(0,"div",25),A(1,"safeHtml")),i&2){let n=d().$implicit;p("innerHtml",V(1,1,n),R)}}function Br(i,a){if(i&1&&(s(0,"div",23),u(1,jr,2,3,"div",24),c()),i&2){let n=a.$implicit;l(),p("ngIf",n)}}function Hr(i,a){if(i&1&&(s(0,"div",21),u(1,Br,2,1,"div",22),c()),i&2){let n=d();l(),p("ngForOf",n.specifications)}}function $r(i,a){if(i&1&&P(0,"img",30),i&2){let n=d().$implicit;D("alt",n.Title),p("src",n.MediaUrl,L)}}function Wr(i,a){if(i&1&&(P(0,"div",31),A(1,"safeHtml")),i&2){let n=d().$implicit;p("innerHtml",V(1,1,n.Description),R)}}function qr(i,a){if(i&1&&(s(0,"div",26),u(1,$r,1,2,"img",27),s(2,"p",28),g(3),c(),u(4,Wr,2,3,"div",29),c()),i&2){let n=a.$implicit;l(),p("ngIf",n.MediaUrl),l(2),y(n.Title),l(),p("ngIf",n.Description)}}var vn=function(i){return i.Product="Product",i.Model="Model",i}(vn||{}),Cn=(()=>{let a=class a{constructor(){r(this,"details",null);r(this,"isSoftware",!1);r(this,"type",vn.Product);r(this,"configure",new De);r(this,"fallbackImage","assets/images/fallback.webp");r(this,"trackByIndex",(e,t)=>e)}configureBtn(e){this.configure.emit(e)}errorHandle(e){let t=e?.target;t&&t.dataset.failed!=="1"&&(t.dataset.failed="1",t.src=this.fallbackImage,t.alt=t.alt||"Image not available")}get hero(){return this.type==="Model"?this.details?.ModelHero:this.details?.ProductHero}get specifications(){return this.type==="Model"?this.details?.ModelSpecifications:this.details?.ProductSpecifications}};r(a,"\u0275fac",function(t){return new(t||a)}),r(a,"\u0275cmp",U({type:a,selectors:[["app-overview-tab"]],inputs:{details:"details",isSoftware:"isSoftware",type:"type"},outputs:{configure:"configure"},decls:6,vars:5,consts:[["class","tab-content-section-full hero",4,"ngIf"],[4,"ngIf"],["data-epi-edit","specifications",4,"ngIf"],["data-epi-edit","QualityAssuranceInfo",1,"tab-content-section","quality-section"],["class","quality-card",4,"ngFor","ngForOf"],[1,"tab-content-section-full","hero"],["class","hero-img",3,"src","alt","error",4,"ngIf"],[1,"half-center-section"],[1,"h5","heading","bold","text-color-primary"],["class","text-xl text-color-tertiary description inner-text",3,"innerHtml",4,"ngIf"],[1,"hero-img",3,"error","src","alt"],[1,"text-xl","text-color-tertiary","description","inner-text",3,"innerHtml"],[1,"tab-content-section",3,"innerHTML"],["data-epi-edit","CompactPackage",1,"tab-content-section","compact-package"],[1,"half-section"],[1,"h5","text-color-secondary","bold"],["class","text-xl text-color-tertiary tab-content__model-features inner-text",3,"innerHtml",4,"ngIf"],["class","primary-button",3,"click",4,"ngIf"],[1,"compact-package-img",3,"error","src","alt"],[1,"text-xl","text-color-tertiary","tab-content__model-features","inner-text",3,"innerHtml"],[1,"primary-button",3,"click"],["data-epi-edit","specifications"],["class","tab-content-section",4,"ngFor","ngForOf"],[1,"tab-content-section"],["class","text-xl text-color-tertiary full-width inner-text",3,"innerHtml",4,"ngIf"],[1,"text-xl","text-color-tertiary","full-width","inner-text",3,"innerHtml"],[1,"quality-card"],["class","quality-card-img",3,"src","alt",4,"ngIf"],[1,"heading-s","quality-card-title"],["class","text-color-tertiary text-m inner
2-text",3,"innerHtml",4,"ngIf"],[1,"quality-card-img",3,"src","alt"],[1,"text-color-tertiary","text-m","inner-text",3,"innerHtml"]],template:function(t,o){t&1&&(u(0,Lr,6,4,"div",0)(1,Vr,3,3,"div",1)(2,zr,9,5,"ng-container",1)(3,Hr,2,1,"div",2),s(4,"div",3),u(5,qr,5,3,"div",4),c()),t&2&&(p("ngIf",o.hero),l(),p("ngIf",!(o.specifications!=null&&o.specifications.length)),l(),p("ngIf",o.details==null?null:o.details.CompactPackage),l(),p("ngIf",(o.specifications==null?null:o.specifications.length)>0),l(2),p("ngForOf",o.details.QualityAssuranceInfo))},dependencies:[K,H,pe],styles:[".main-panel.product-details[_ngcontent-%COMP%]{background-color:var(--white-color);color:var(--text-primary)}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .text-xl[_ngcontent-%COMP%]{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height)}}.main-panel.product-details[_ngcontent-%COMP%] .product-details__wrapper[_ngcontent-%COMP%]{background-color:var(--white-color);display:flex;position:relative}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-details__wrapper[_ngcontent-%COMP%]{flex-direction:column}}.main-panel.product-details[_ngcontent-%COMP%] .product-details__wrapper[_ngcontent-%COMP%] .primary-button[_ngcontent-%COMP%]{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height);width:auto;padding:.5rem 1rem}.main-panel.product-details[_ngcontent-%COMP%] .product-details__wrapper[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{position:fixed;top:calc(5.5rem + var(--notif-offset));right:1.25rem;margin:0;font-size:var(--text-m-font-size);line-height:var(--text-m-line-height)}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-details__wrapper[_ngcontent-%COMP%] .tab-button[_ngcontent-%COMP%]{position:static}}.main-panel.product-details[_ngcontent-%COMP%] .product-details__wrapper[_ngcontent-%COMP%] .product-details__header-mobile[_ngcontent-%COMP%]{position:sticky;top:124px;z-index:5}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-details__wrapper[_ngcontent-%COMP%] .product-details__header-mobile[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:0 .75rem .5rem;border-bottom:1px solid var(--action-primary-disabled);background-color:var(--white-color);top:50px}}.main-panel.product-details[_ngcontent-%COMP%] .col-6[_ngcontent-%COMP%]{max-width:48%}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .col-6[_ngcontent-%COMP%]{max-width:100%;flex:none;margin-top:1rem}}.main-panel.product-details[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{width:50%;display:flex;flex-direction:column;align-items:center}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .col[_ngcontent-%COMP%]{width:100%;margin-top:1rem}}.main-panel.product-details[_ngcontent-%COMP%] .col-lg[_ngcontent-%COMP%]{width:50%;display:flex;flex-direction:column;justify-content:center}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .col-lg[_ngcontent-%COMP%]{width:100%;margin-top:1rem}}.main-panel.product-details[_ngcontent-%COMP%] .product-details-heading[_ngcontent-%COMP%]{position:fixed;padding:.85rem 1.125rem;z-index:5;margin:0}@media screen and (max-width: 1280px){.main-panel.product-details[_ngcontent-%COMP%] .product-details-heading[_ngcontent-%COMP%]{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height)}}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-details-heading[_ngcontent-%COMP%]{position:sticky;padding:.75rem .75rem 1rem;top:40px;background-color:var(--white-color);font-size:var(--heading-s-font-size);line-height:var(--heading-s-line-height)}}.main-panel.product-details[_ngcontent-%COMP%] .product-details__tabs[_ngcontent-%COMP%]{width:100%;position:sticky}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-details__tabs[_ngcontent-%COMP%]{display:none}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full[_ngcontent-%COMP%]{margin:0 auto;width:100%;margin-bottom:4rem}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full[_ngcontent-%COMP%]{margin-bottom:3.5rem}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full.hero[_ngcontent-%COMP%]{text-align:center}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full.hero[_ngcontent-%COMP%] .hero-img[_ngcontent-%COMP%]{max-height:500px;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full.hero[_ngcontent-%COMP%] .half-center-section[_ngcontent-%COMP%]{width:50%;margin:0 auto}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full.hero[_ngcontent-%COMP%] .half-center-section[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{margin:1rem 0}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full.hero[_ngcontent-%COMP%] .half-center-section[_ngcontent-%COMP%] .primary-button[_ngcontent-%COMP%]{margin-top:1rem}@media screen and (max-width: 768px){.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full.hero[_ngcontent-%COMP%] .half-center-section[_ngcontent-%COMP%]{width:80%}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-full[_ngcontent-%COMP%]:is(.hero h2[_ngcontent-%COMP%], .hero[_ngcontent-%COMP%] span)[_ngcontent-%COMP%]{margin-bottom:1rem}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-title[_ngcontent-%COMP%]{margin:2rem auto 1rem;width:80%}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-title[_ngcontent-%COMP%]{width:100%;margin:0;padding:1rem .75rem}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section[_ngcontent-%COMP%]{margin:0 auto;width:80%;margin-bottom:4rem;display:flex;flex-wrap:wrap;gap:2rem}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section[_ngcontent-%COMP%]{width:100%;padding:.75rem;margin-bottom:1rem}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-desc[_ngcontent-%COMP%]{margin:0 auto;width:80%;margin-bottom:2rem}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section-desc[_ngcontent-%COMP%]{width:100%;padding:.75rem;margin-bottom:1rem}}.main-panel.product-details[_ngcontent-%COMP%] .half-section[_ngcontent-%COMP%]{width:48%}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .half-section[_ngcontent-%COMP%]{width:100%}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section[_ngcontent-%COMP%] .col-lg[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{object-fit:contain}.main-panel.product-details[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.tab-content-section .col-lg[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .tab-content-section[_ngcontent-%COMP%] .col-lg[_ngcontent-%COMP%] video)[_ngcontent-%COMP%]{width:100%}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.tab-content-section .col-lg[_ngcontent-%COMP%] img[_ngcontent-%COMP%], .tab-content-section[_ngcontent-%COMP%] .col-lg[_ngcontent-%COMP%] video)[_ngcontent-%COMP%]{height:270px;padding-top:1rem}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section[_ngcontent-%COMP%] .inner-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--text-tertiary)!important;font-size:var(--text-xl-font-size)!important;line-height:var(--text-xl-line-height)!important}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section[_ngcontent-%COMP%] .inner-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:var(--text-l-font-size)!important;line-height:var(--text-l-line-height)!important}}.main-panel.product-details[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.tab-content-section h3[_ngcontent-%COMP%], .tab-content-section[_ngcontent-%COMP%] .h5)[_ngcontent-%COMP%]{font-size:var(--heading-xl-font-size)!important;font-weight:var(--font-weight-bold)!important;line-height:var(--heading-xl-line-height)!important;letter-spacing:var(--letter-spacing-none);color:var(--text-secondary)!important}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.tab-content-section h3[_ngcontent-%COMP%], .tab-content-section[_ngcontent-%COMP%] .h5)[_ngcontent-%COMP%]{font-size:var(--heading-l-font-size)!important;line-height:var(--heading-l-line-height)!important}}.main-panel.product-details[_ngcontent-%COMP%] .quality-section[_ngcontent-%COMP%]{flex-wrap:nowrap}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .quality-section[_ngcontent-%COMP%]{flex-wrap:wrap}}.main-panel.product-details[_ngcontent-%COMP%] .tab-content-section[_ngcontent-%COMP%]:has(.quality-card){gap:1.5rem}.main-panel.product-details[_ngcontent-%COMP%] .quality-card[_ngcontent-%COMP%]{border:1px solid var(--div
2ider-default);box-shadow:var(--shadow-1);padding:1.25rem}.main-panel.product-details[_ngcontent-%COMP%] .quality-card[_ngcontent-%COMP%] .quality-card-img[_ngcontent-%COMP%]{margin-bottom:1rem}.main-panel.product-details[_ngcontent-%COMP%] .quality-card[_ngcontent-%COMP%] .quality-card-title[_ngcontent-%COMP%]{margin-bottom:.5rem!important;color:var(--text-primary)!important}.main-panel.product-details[_ngcontent-%COMP%] .quality-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:var(--text-m-font-size)!important;line-height:var(--text-m-line-height)!important}.main-panel.product-details[_ngcontent-%COMP%] .compact-package[_ngcontent-%COMP%] .primary-button[_ngcontent-%COMP%]{margin:1rem 0 0}.main-panel.product-details[_ngcontent-%COMP%] .product-details__dropdown[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-details__dropdown[_ngcontent-%COMP%]{font-family:Nunito Sans,sans-serif!important;display:block;width:50%}}.main-panel.product-details[_ngcontent-%COMP%] .mobile-content[_ngcontent-%COMP%]{display:none}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .mobile-content[_ngcontent-%COMP%]{display:block}}.main-panel.product-details[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%;gap:1.25rem}@media screen and (max-width: 1440px){.main-panel.product-details[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{gap:1rem}}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{justify-content:flex-start}}.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:23%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;background-color:var(--white-color);min-height:230px}@media screen and (max-width: 1200px){.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:31%}}@media screen and (max-width: 769px){.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:47%}}@media screen and (max-width: 600px){.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:100%}}.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-title[_ngcontent-%COMP%]{color:var(--text-link-hover)}.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-img[_ngcontent-%COMP%]{max-height:13.25rem;height:100%;width:100%;object-fit:contain}.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-tags[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.625rem}.main-panel.product-details[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-tag[_ngcontent-%COMP%]{padding:.45rem .625rem;border-radius:1rem;background-color:var(--bg-disabled);line-height:.85rem}.main-panel.product-details[_ngcontent-%COMP%] .instruments__heading[_ngcontent-%COMP%]{display:inline-block}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%]{background-color:var(--bg-secondary);padding-top:4rem;padding-bottom:4rem;display:flex;flex-wrap:wrap;gap:2rem}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%]{width:100%;padding:1.25rem .75rem}}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .content-section[_ngcontent-%COMP%]{width:48%;padding-left:10%}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .content-section[_ngcontent-%COMP%]{width:100%;padding-left:0}}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .img-section[_ngcontent-%COMP%]{width:48%}@media screen and (max-width: 1024px){.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .img-section[_ngcontent-%COMP%]{width:100%}}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .img-section[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto;max-width:100%;width:auto}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .content-model-number[_ngcontent-%COMP%]{margin-bottom:.5rem}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .content-model-name[_ng
2content-%COMP%]{margin-bottom:.75rem}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] [_ngcontent-%COMP%]:is(.content-model-def, .content-features)[_ngcontent-%COMP%]{padding-bottom:1.25rem}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .heading[_ngcontent-%COMP%]{padding-bottom:.75rem}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .pricing-wrapper[_ngcontent-%COMP%]{margin-bottom:1.25rem}.main-panel.product-details[_ngcontent-%COMP%] .product-definition[_ngcontent-%COMP%] .primary-button[_ngcontent-%COMP%]{margin:2rem 0}"],changeDetection:0}));let i=a;return i})();var Pn=(i,a)=>({$implicit:i,index:a});function Zr(i,a){i&1&&z(0)}function Yr(i,a){if(i&1&&u(0,Zr,1,0,"ng-container",37),i&2){d(3);let n=w(5);p("ngTemplateOutlet",n)}}function Xr(i,a){i&1&&(s(0,"mat-tab",36),u(1,Yr,1,1,"ng-template",19),c())}function ea(i,a){i&1&&z(0)}function ta(i,a){if(i&1&&u(0,ea,1,0,"ng-container",40),i&2){let n=d(2),e=n.$implicit,t=n.index;d(2);let o=w(3);p("ngTemplateOutlet",o)("ngTemplateOutletContext",ce(2,Pn,e,t))}}function ia(i,a){if(i&1&&(s(0,"mat-tab",39),u(1,ta,1,5,"ng-template",19),c()),i&2){let n=d().$implicit;p("label",n.ItemTabName||n.Name)}}function na(i,a){if(i&1&&(s(0,"div"),u(1,ia,2,1,"mat-tab",38),c()),i&2){let n=a.$implicit,e=d(2);l(),p("ngIf",e.ProductModelDetails.IsEEProduct&&n.PresentOverviewTab)}}function oa(i,a){i&1&&z(0)}function ra(i,a){if(i&1&&u(0,oa,1,0,"ng-container",37),i&2){d(2);let n=w(7);p("ngTemplateOutlet",n)}}function aa(i,a){i&1&&z(0)}function sa(i,a){if(i&1&&u(0,aa,1,0,"ng-container",37),i&2){d(3);let n=w(9);p("ngTemplateOutlet",n)}}function la(i,a){i&1&&(s(0,"mat-tab",41),u(1,sa,1,1,"ng-template",19),c())}function ca(i,a){i&1&&z(0)}function da(i,a){if(i&1&&u(0,ca,1,0,"ng-container",37),i&2){d(2);let n=w(11);p("ngTemplateOutlet",n)}}function pa(i,a){i&1&&z(0)}function ma(i,a){if(i&1&&u(0,pa,1,0,"ng-container",37),i&2){d(3);let n=w(13);p("ngTemplateOutlet",n)}}function ua(i,a){i&1&&(s(0,"mat-tab",42),u(1,ma,1,1,"ng-template",19),c())}function ga(i,a){i&1&&z(0)}function _a(i,a){if(i&1&&u(0,ga,1,0,"ng-container",37),i&2){d(3);let n=w(15);p("ngTemplateOutlet",n)}}function ha(i,a){i&1&&(s(0,"mat-tab",43),u(1,_a,1,1,"ng-template",19),c())}function fa(i,a){i&1&&(s(0,"mat-option",44),g(1,"Overview"),c())}function xa(i,a){if(i&1&&(s(0,"mat-option",46),g(1),c()),i&2){let n=d(),e=n.$implicit,t=n.index;p("value",t),l(),S(" ",e.ItemTabName||e.Name," ")}}function va(i,a){if(i&1&&(s(0,"div"),u(1,xa,2,2,"mat-option",45),c()),i&2){let n=a.$implicit;l(),p("ngIf",n.PresentOverviewTab)}}function Ca(i,a){if(i&1&&(s(0,"div"),u(1,va,2,1,"div",17),c()),i&2){let n=d(2);l(),p("ngForOf",n.ProductModelDetails.Products)}}function ba(i,a){i&1&&(s(0,"mat-option",47),g(1,"Item Number"),c())}function Pa(i,a){i&1&&(s(0,"mat-option",48),g(1,"SENSIT"),c())}function Ma(i,a){if(i&1){let n=M();s(0,"div")(1,"button",49),b("click",function(){x(n);let t=d(2);return v(t.configureBtn("top_configure_button_click"))}),g(2," Item Selector "),c()()}}function ya(i,a){i&1&&z(0)}function Sa(i,a){if(i&1&&(s(0,"div"),u(1,ya,1,0,"ng-container",37),c()),i&2){d(2);let n=w(5);l(),p("ngTemplateOutlet",n)}}function wa(i,a){i&1&&z(0)}function Ia(i,a){if(i&1&&(s(0,"div"),u(1,wa,1,0,"ng-container",40),c()),i&2){let n=d(),e=n.$implicit,t=n.index;d(2);let o=w(3);l(),p("ngTemplateOutlet",o)("ngTemplateOutletContext",ce(2,Pn,e,t))}}function Oa(i,a){if(i&1&&(s(0,"div"),u(1,Ia,2,5,"div",29),c()),i&2){let n=a.index,e=d(2);l(),p("ngIf",e.selectedSubmenu.value===n&&(e.ProductModelDetails==null?null:e.ProductModelDetails.IsEEProduct))}}function Ta(i,a){i&1&&z(0)}function Da(i,a){if(i&1&&(s(0,"div"),u(1,Ta,1,0,"ng-container",37),c()),i&2){d(2);let n=w(7);l(),p("ngTemplateOutlet",n)}}function ka(i,a){i&1&&z(0)}function Ea(i,a){if(i&1&&(s(0,"div"),u(1,ka,1,0,"ng-container",37),c()),i&2){d(2);let n=w(9);l(),p("ngTemplateOutlet",n)}}function Aa(i,a){i&1&&z(0)}function Fa(i,a){if(i&1&&(s(0,"div"),u(1,Aa,1,0,"ng-container",37),c()),i&2){d(2);let n=w(11);l(),p("ngTemplateOutlet",n)}}function Na(i,a){i&1&&z(0)}function Ua(i,a){if(i&1&&(s(0,"div"),u(1,Na,1,0,"ng-container",37),c()),i&2){d(2);let n=w(13);l(),p("ngTemplateOutlet",n)}}function La(i,a){i&1&&z(0)}function Va(i,a){if(i&1&&(s(0,"div"),u(1,La,1,0,"ng-container",37),c()),i&2){d(2);let n=w(15);l(),p("ngTemplateOutlet",n)}}function Ra(i,a){if(i&1){let n=M();s(0,"div",13)(1,"h1",14),g(2),c(),s(3,"mat-tab-group",15,8),Be("selectedIndexChange",function(t){x(n);let o=d();return je(o.SelectedTabIndex,t)||(o.SelectedTabIndex=t),v(t)}),u(5,Xr,2,0,"mat-tab",16)(6,na,2,1,"div",17),s(7,"mat-tab",18),u(8,ra,1,1,"ng-template",19),c(),u(9,la,2,0,"mat-tab",20),s(10,"mat-tab",21),u(11,da,1,1,"ng-template",19),c(),u(12,ua,2,0,"mat-tab",22)(13,ha,2,0,"mat-tab",23),c(),s(14,"div",24)(15,"div",25)(16,"mat-form-field",26),P(17,"mat-label"),s(18,"mat-select",27),u(19,fa,2,0,"mat-option",28)(20,Ca,2,1,"div",29),s(21,"mat-option",30),g(22,"Technical Details"),c(),u(23,ba,2,0,"mat-option",31),s(24,"mat-option",32),g(25,"Resources"),c(),u(26,Pa,2,0,"mat-option",33),s(27,"mat-option",34),g(28,"Applications"),c()()()(),u(29,Ma,3,0,"div",29),c(),s(30,"div",35),u(31,Sa,2,1,"div",29)(32,Oa,2,1,"div",17)(33,Da,2,1,"div",29)(34,Ea,2,1,"div",29)(35,Fa,2,1,"div",29),c(),u(36,Ua,2,1,"div",29)(37,Va,2,1,"div",29),c()}if(i&2){let n=d();l(2),S(" ",n.ProductModelDetails.Name," "),l(),ze("selectedIndex",n.SelectedTabIndex),l(2),p("ngIf",!n.ProductModelDetails.IsEEProduct),l(),p("ngForOf",n.ProductModelDetails.Products),l(3),p("ngIf",!n.ProductModelDetails.IsEEProduct),l(3),p("ngIf",n.ProductModelDetails==null?null:n.ProductModelDetails.ShowSensitTab),l(),p("ngIf",(n.ProductModelDetails.Applications==null?null:n.ProductModelDetails.Applications.length)>0),l(5),p("formControl",n.selectedSubmenu),l(),p("ngIf",!(n.ProductModelDetails!=null&&n.ProductModelDetails.IsEEProduct)),l(),p("ngIf",(n.ProductModelDetails==null?null:n.ProductModelDetails.IsEEProduct)&&!!n.ProductModelDetails.Products),l(3),p("ngIf",!n.ProductModelDetails.IsEEProduct),l(3),p("ngIf",n.ProductModelDetails.ShowSensitTab),l(3),p("ngIf",!n.isSoftware),l(2),p("ngIf",!(n.ProductModelDetails!=null&&n.ProductModelDetails.IsEEProduct)&&n.selectedSubmenu.value==="overview"),l(),p("ngForOf",n.ProductModelDetails.Products),l(),p("ngIf",n.selectedSubmenu.value==="technicalDetails"),l(),p("ngIf",n.selectedSubmenu.value==="productModels"&&!(n.ProductModelDetails!=null&&n.ProductModelDetails.IsEEProduct)),l(),p("ngIf",n.selectedSubmenu.value==="supportDocs"),l(),p("ngIf",n.selectedSubmenu.value==="sensit"&&(n.ProductModelDetails==null?null:n.ProductModelDetails.ShowSensitTab)),l(),p("ngIf",n.selectedSubmenu.value==="applications")}}function Ga(i,a){if(i&1){let n=M();s(0,"app-overview-tab",50),b("configure",function(t){x(n);let o=d();return v(o.onConfigure(t))}),c()}if(i&2){let n=a.$implicit,e=d();p("details",e.hasUsefulValue(n.eeProductOverviewDetails)?n.eeProductOverviewDetails:e.ProductModelDetails)("isSoftware",e.isSoftware)("type",e.hasUsefulValue(n.eeProductOverviewDetails)?"Product":"Model")}}function za(i,a){if(i&1){let n=M();s(0,"app-overview-tab",51),b("configure",function(t){x(n);let o=d();return v(o.onConfigure(t))}),c()}if(i&2){let n=d();p("details",n.ProductModelDetails)("isSoftware",n.isSoftware)}}function ja(i,a){if(i&1){let n=M();s(0,"app-technical-details",52),b("OpenSpecDocument",function(t){x(n);let o=d();return v(o.OpenSpecDocument(t))})("ConfigureBtnClick",function(){x(n);let t=d();return v(t.configureBtn("technical_details_configure_click"))}),c()}if(i&2){let n=d();p("modelData",n.ProductModelsTab)("ModelFeatures",n.ProductModelDetails.ModelFeatures)("DefaultProduct",n.ProductModelDetails.DefaultProduct)("Products",n.ProductModelDetails.Products)("container",n.imageGaleryContainer)("AlternativeModels",n.AlternativeModels)("isSoftware",n.isSoftware)}}function Ba(i,a){if(i&1&&P(0,"app-model-products",53),i&2){let n=d();p("modelData",n.ProductModelsTab)("settings",n.ProductModelSettings)("isInstrument",n.isInstrument)("isSoftware",n.isSoftware)("legacyProduct",!1)}}function Ha(i,a){if(i&1){let n=M();s(0,"app-supportdocs",54),b("OpenSpecDocument",function(t){x(n);let o=d();return v(o.OpenSpecDocument(t))}),c()}if(i&2){let n=d();p("SupportDocuments",n.SupportDocuments)}}function $a(i,a){i&1&&(k(0),s(1,"div",56)(2,"strong"),g(3,"No content available."),c(),g(4,"\xA0 "),s(5,"span"),g(6,"Please check back later or contact the site administrator."),c()(),E())}function Wa(i,a){if(i&1&&(s(0,"div",57),P(1,"app-standard-content-page",58),c()),i&2){let n=d(3);l(),p("singlePageData",n.SinglePageData)("newsPage",n.newsPage)("h1Tag",n.h1Tag)}}function qa(i,a){if(i&1&&(k(0),u(1,$a,7,0,"ng-container",55)(2,Wa,2,3,"ng-template",null,10,F),E()),i&2){let n=w(3),e=d(2);l(),p("ngIf",e.isDataEffectivelyEmpty(e.SinglePageData))("ngIfElse",n)}}function Ka(i,a){i&1&&(s(0,"div",59)(1,"div",60),P(2,"mat-progress-spinner",61),c()())}function Qa(i,a){if(i&1&&u(0,qa,4,2,"ng-container",55)(1,Ka,3,0,"ng-template",null,9,F),i&2){let n=w(2),e=d();p("ngIf",e.SinglePageData)("ngIfElse",n)}}function Ja(i,a){if(i&1&&(s(0,"div",67),P(1,"div",68),A(2,"safeHtml"),c()),i&2){let n=d(2);l(),p("innerHTML",V(2,1,n.ProductModelDetails.ApplicationsDescription),R)}}function Za(i,a){if(i&1){let n=M();k(0),s(1,"a",69),b("click",function(){let t=x(n).$implicit,o=d(2);return v(o.trackAppClick(t))}),s(2,"p",70),g(3),c(),s(4,"p",71),g(5),c(),s(6,"div",72)(7,"img",73),b("error",function(t){x(n);let o=d(2);return v(o.errorHandle(t))}),c()(),s(8,"p",74),g(9),c()(),E()}if(i&2){let n=a.$implicit;l(),D("routerLink",n.RouteSegments),l(2),y(n.Code),l(2),y(n.Title),l(2),D("alt",n.ThumbnailImageAlt),p("src",n.ThumbnailImage,L),l(2),y(n.ModelCaption)}}function Ya(i,a){if(i&1&&(s(0,"div",62)(1,"h3",63),g(2,"Applications "),c()(),u(3,Ja,3,3,"div",64),s(4,"div",65)(5,"div",66),u(6,Za,10,6,"ng-container",17),c()()),i&2){let n=d();l(3),p("ngIf",n.ProductModelDetails.ApplicationsDescription),l(3),p("ngForOf",n.ProductModelDetails.Applications)}}function Xa(i,a){i&1&&(s(0,"div",59)(1,"div",60),P(2,"mat-progress-spinner",61),c()())}var it={1:"Support Documents",2:"Software & Integration",3:"Technical Notes",4:"General Resources",5:"Related Videos",SUPPORT_DOCUMENTS:1,SOFTWARE_INTEGRATION:2,TECHNICAL_NOTES:3,GENERAL_RESOURCES:4,RELATED_VIDEOS:5},Mn=(()=>{let a=class a{constructor(e,t,o,m,_,h,C,T,Y,ue,O){r(this,"route");r(this,"singlePage");r(this,"router");r(this,"routerExtService");r(this,"dailogue");r(this,"storeService");r(this,"gtmService");r(this,"applicationsService");r(this,"_seoClientService");r(this,"_loaderService");r(this,"ngUnsubscribe",new q);r(this,"ProductClassId");r(this,"SubCategoryName");r(this,"Model");r(this,"ProductModelDetails");r(this,"PlmAttributes");r(this,"AlternativeModels");r(this,"isAdmin");r(this,"isWebEnableGroup");r(this,"NoImagePath",N.NoImagePath);r(this,"tsCond",{IsPrivateBrowswer:!1,popup:!1,popvalue2:!1,IsRegisterUser:!1});r(this,"productRouteInfo");r(this,"TechTabOptions");r(this,"isBrowser");r(this,"selectedSubmenu",new de("overview"));r(this,"IsPriceRestrictedCountry","");r(this,"sensitProduct");r(this,"sensitText");r(this,"isBtnLoading",!1);r(this,"invAgingGroup",!1);r(this,"isLoading",!0);r(this,"custId");r(this,"SupportDocuments");r(this,"ProductModelsTab");r(this,"ProductModelSettings");r(this,"isSoftware",!1);r(this,"isInstrument",!1);r(this,"SelectedTabIndex",-1);r(this,"SinglePageData");r(this,"selectedProductIndex");this.route=e,this.singlePage=t,this.router=o,this.routerExtService=m,this.dailogue=_,this.storeService=h,this.gtmService=C,this.applicationsService=T,this._seoClientService=Y,this._loaderService=ue,this.isBrowser=G(O)}ngOnInit(){this.route.paramMap.subscribe(e=>{this.productRouteInfo={productId:e.get("productid"),productClassID:e.get("
2category"),productSeries:e.get("subcategory")?.replace(/ /g,"-")||"",productModel:e.get("model"),isLandedFromGlobalSearch:!1,isLandedFromStore:!1,isLandedFromApplications:!1},this.isSoftware=e.get("category")=="software"}),this.route.queryParamMap.subscribe(e=>{let t=e.get("selectedtab");this.SelectedTabIndex=t?parseInt(t,10):0,e.get("supportdocs")&&(this.SelectedTabIndex=3)}),this.isBrowser&&(this.tsCond.IsRegisterUser=!!localStorage.getItem("firstName"),(0,bn.detectIncognito)().then(e=>{this.tsCond.IsPrivateBrowswer=e.isPrivate,this.tsCond.IsPrivateBrowswer&&!this.tsCond.IsRegisterUser?this.tsCond.popvalue2=!!sessionStorage.getItem("popupValue"):this.isBrowser&&(this.tsCond.popvalue2=!!localStorage.getItem("popupValue"))})),this.setupUserRole(),this.setupInfoFromRoute(),this.isBrowser&&(this.IsPriceRestrictedCountry=localStorage.getItem("isPriceRestrictedCountry")),ae([this.storeService.GetProductModelDetails(this.Model,this.SubCategoryName),this.storeService.GetSubClassesByClass(this.productRouteInfo.productClassID)]).pipe(I(this.ngUnsubscribe)).subscribe(([e,t])=>{(!e||!e.ExternalId)&&(console.error("No product models have been found."),this.router.navigate(["/store"])),this.ProductModelDetails=e;let m=t.ProductSubclassesCategories.filter(C=>C.ProductCategoryGuid==e.CategoryGuid).map(C=>C.SubClass?.trim()),_=[e.ExternalId],h=C=>this.storeService.GetProductsByProductModel(this.ProductModelDetails.GuidValue,this.ProductModelDetails.CategoryGuid,m,[t.GuidValue],C,!this.isAdmin);this.storeService.GetAvailableItemNumbers([],_).pipe(ot(C=>ae([this.storeService.GetPLMAttributes(m),h(C),this.storeService.GetSupportDocsByModel(this.ProductModelDetails.ModelNumber)]))).pipe(I(this.ngUnsubscribe)).subscribe(([C,T,Y])=>{this.PlmAttributes=C,this.ProductModelDetails.Products=T?.Products;let ue=this.ProductModelDetails.Products.map(B=>B.ItemNumber);if(ue.length>0&&this.storeService.GetProductDefinition(ue).subscribe({next:B=>{let fe=new Map((B??[]).map(Je=>[Je.ItemNumber,Je.ItemAttributeDesc]));this.ProductModelDetails.Products.forEach(Je=>{let Zt=fe.get(Je.ItemNumber);Zt!=null&&(Je.ProductDefinition=Zt)})}}),this.ProductModelDetails?.Products?.length===0){let B=["/","store","legacy-sensors-and-instruments",this.productRouteInfo.productModel];localStorage.setItem("legacyNavigation",B.join("/"));let fe={livemodel:!1};this.router.navigate(B,{queryParams:fe})}this.route.queryParamMap.subscribe(B=>{(B.get("tab")??"")==="productmodels"&&(this.SelectedTabIndex=2)}),this.loadProductAging(T),Array.isArray(this.ProductModelDetails.Products)&&this.ProductModelDetails.Products.some(B=>typeof B.ProductTypeName=="string"&&["instrument","instruments"].includes(B.ProductTypeName.toLowerCase()))&&(this.isInstrument=!0),this.ProductModelDetails.Images=this.ProductModelDetails.Images?.length>0?this.ProductModelDetails.Images.map(B=>({ImageUrl:B.Url,ImageAltText:B.ImageAltText})):[];let O=this.ProductModelDetails.DefaultItemNumber??this.ProductModelDetails.Products.find(B=>!B.CustomProduct)?.ItemNumber;O&&O!=""?this.storeService.GetPDPViewDetails(O).pipe(I(this.ngUnsubscribe)).subscribe(B=>{this.ProductModelDetails.DefaultProduct=B,this.ProductModelDetails.DefaultProduct.Description=this.ProductModelDetails.Description,this.ProductModelDetails.DefaultProduct.IsEEProduct=this.ProductModelDetails.IsEEProduct,this.ProductModelDetails.DefaultProduct.ShowSensitTab=this.ProductModelDetails.ShowSensitTab,this.ProductModelDetails.ShowSensitTab&&this.singlePage.GetSinglePage("sensit-overview-tab").subscribe(fe=>{this.SinglePageData=fe,this.updateSEODetails(this.SinglePageData.SeoDetail)}),this.ProductModelDetails.IsEEProduct&&(this.selectedSubmenu=new de("technicalDetails")),this.setupTabsData(Y)}):(this.ProductModelDetails.DefaultProduct={ProductDefinition:"",Description:this.ProductModelDetails.Description,IsEEProduct:this.ProductModelDetails.IsEEProduct,ShowSensitTab:this.ProductModelDetails.ShowSensitTab,Features:this.ProductModelDetails.ModelFeatures,ModelNumber:this.ProductModelDetails.ModelNumber,ModelName:this.ProductModelDetails.ModelName,Images:this.ProductModelDetails.Images,SpecsheetUrl:this.ProductModelDetails.SpecsheetUrl,ExternalLoadUrl:this.ProductModelDetails.ExternalLoadUrl,Model3DUrl:this.ProductModelDetails.Model3DUrl},this.setupTabsData(Y))}),this.loadSupportDocuments()})}isNullOrEmpty(e){return e==null?!0:typeof e=="string"?e.trim().length===0:Array.isArray(e)?e.length===0:typeof e=="object"?Object.keys(e).length===0:!1}hasUsefulValue(e){return Object.entries(e).some(([t,o])=>t==="BannerImageAltText"||o==null||o===""?!1:Array.isArray(o)?o.length>0:typeof o=="object"?Object.values(o).some(m=>m&&m.toString().trim()!==""):!0)}isDataEffectivelyEmpty(e){if(!e)return!0;let t=this.isNullOrEmpty(e.Name)&&this.isNullOrEmpty(e.Title)&&this.isNullOrEmpty(e.Content)&&this.isNullOrEmpty(e.FormId),o=e.SeoDetail,m=!o||this.isNullOrEmpty(o.Title)&&this.isNullOrEmpty(o.Description)&&this.isNullOrEmpty(o.Keywords)&&this.isNullOrEmpty(o.H1Tag);return t&&m}loadProductAging(e){if(this.invAgingGroup){let t=e.Products.map(o=>o.ItemNumber);this.storeService.GetProductAging(t).subscribe(o=>{let m=o.filter(_=>_.ProductAgings.length>0);for(let _ of m){let h=e.Products.find(C=>C.ItemNumber===_.StockId);h&&(h.ProductAging=_.ProductAgings)}})}}getProductsPriceData(){ae(this.ProductModelDetails.Products?.map(e=>this.storeService.getProductByStockIdAndQuantity(e.ItemNumber,1,this.custId).pipe(Ze(t=>this.setPricingModel(e,t)),Xt(()=>(e.ProductPriceModel={Price:0,ListPrice:0,PriceUnformatted:0,ListPriceUnformatted:0},Yt(null)))))).pipe(I(this.ngUnsubscribe)).subscribe(()=>{let e=this.ProductModelDetails.Products.map(m=>m.ProductPriceModel.PriceUnformatted);e=e.filter(m=>m>0);let t=Math.min(...e),o=Math.max(...e);this.ProductModelDetails.DefaultProduct.ProductPriceModel={ProductDetails:{Stock:this.ProductModelDetails.DefaultProduct.Stock,Status:this.ProductModelDetails.DefaultProduct.Status},PriceRange:{MinPrice:t,MaxPrice:o}}})}setupTabsData(e){this.setupModelData(),this.setupOverviewTab(),this.loadApplications(),this.setupProductTechnicalDetailsTab(),this.setupSupportDocs(e),this.setupProductModels(),this.isLoading=!1}setupSupportDocs(e){e&&(e.forEach(t=>{t.DocumentTitle=t.DocumentName,t.DocumentFilepath=t.SupportDocumentLink,t.DocumentTypeName=t.DocumentType,t.ResourceBucketType=it[t.ResourceBucketType]||null}),this.SupportDocuments.ModelDocumentsList=e.filter((t,o,m)=>o===m.findIndex(_=>_.DocumentTitle!=""&&_.DocumentTitle===t.DocumentTitle&&_.DocumentTypeName.toLowerCase()!="videos"&&_.DocumentTypeName.toLowerCase()!="3d model download")),this.SupportDocuments.VideosList=e.filter(t=>t.ResourceBucketType===it.RELATED_VIDEOS||t.DocumentTypeName.toLowerCase()=="videos"))}loadSupportDocuments(){let{SpecsheetUrl:e,ExternalLoadUrl:t,Model3DUrl:o}=this.ProductModelDetails;this.SupportDocuments={Model:{ModelNumber:this.ProductModelDetails.ModelNumber,ModelName:this.ProductModelDetails.ModelName},Specs:{ItemNumber:this.ProductModelDetails.ModelNumber,SpecsheetUrl:e,ExternalLoadUrl:t,Model3DUrl:o},ModelDocumentsList:[],VideosList:[]}}setupOverviewTab(){if(this.ProductModelDetails.ModelHero||(this.ProductModelDetails.ModelHero={MediaUrl:null,Title:null,Description:null}),this.ProductModelDetails.ModelHero.MediaUrl||(this.ProductModelDetails.ModelHero.MediaUrl=this.ProductModelDetails.BannerImageUrl),!this.ProductModelDetails.OverviewProduct)this.ProductModelDetails.OverviewProduct=this.ProductModelDetails.DefaultProduct,this.ProductModelDetails.OverviewProduct.ProductDefinition||(this.ProductModelDetails.OverviewProduct.ProductDefinition=this.ProductModelDetails.Description),this.ProductModelDetails.OverviewProduct||(this.ProductModelDetails.OverviewProduct={});else{let e=this.ProductModelDetails.OverviewProduct.ItemNumber;e&&e!=""&&ae([this.storeService.GetProductPreviewByItemNumbers([e],
2!this.isAdmin),this.storeService.getProductByStockIdAndQuantity(e,1,this.custId)]).pipe(I(this.ngUnsubscribe)).subscribe(([t,o])=>{this.ProductModelDetails.OverviewProduct=t,this.setPricingModel(this.ProductModelDetails.OverviewProduct,o)})}}setPricingModel(e,t){e.ProductPriceModel={Price:t.Price,ListPrice:t.ListPrice,PriceUnformatted:t.PriceUnformatted,ListPriceUnformatted:t.ListPriceUnformatted,DiscountInfo:t.DiscountInfo,PriceBreaks:t.PriceBreaks,ProductDetails:{Stock:t.InStock,Status:t.Status}}}checkAgingGroup(){this.isBrowser&&JSON.parse(localStorage.getItem("userGroups"))&&(this.invAgingGroup=JSON.parse(localStorage.getItem("userGroups")).filter(e=>e.Name==="inventory aging group").length>0)}setupProductModels(){this.ProductModelsTab={Model:{MainFilter:this.ProductModelDetails.MainFilter,MainFilter1:this.ProductModelDetails.MainFilter1,MainFilter2:this.ProductModelDetails.MainFilter2,MainFilter3:this.ProductModelDetails.MainFilter3,AvailableFilters:this.ProductModelDetails.AvailableFilters,ModelNumber:this.ProductModelDetails.ModelNumber,SpecsheetUrl:this.ProductModelDetails.SpecsheetUrl,ExternalLoadUrl:this.ProductModelDetails.ExternalLoadUrl,Model3DUrl:this.ProductModelDetails.Model3DUrl},Products:this.ProductModelDetails.Products,PlmAttributes:this.PlmAttributes,routeInfo:{productSeries:this.productRouteInfo.productSeries,productModel:this.productRouteInfo.productModel,productClass:this.productRouteInfo.productClassID},tsCond:this.tsCond},this.ProductModelSettings={hideFilters:this.isSoftware,hideLeadTime:this.isSoftware,isAdmin:this.isAdmin,nonWebGroup:this.isWebEnableGroup}}
2setupInfoFromRoute(){this.routerExtService.getPreviousUrl()?.toLowerCase().indexOf("search")>=0&&(this.productRouteInfo.isLandedFromGlobalSearch=!0),this.routerExtService.getPreviousUrl()?.toLowerCase().indexOf("store")>=0&&!this.routerExtService.isCurrentPreviousSame()&&(this.productRouteInfo.isLandedFromStore=!0),this.routerExtService.getPreviousUrl()?.toLowerCase().indexOf("applications")>=0&&(this.productRouteInfo.isLandedFromApplications=!0)}setupModelData(){this.updateSEODetails(this.ProductModelDetails.SeoInformation),this.sensitProduct=!0,this.isBtnLoading=!1,this.sensitText="Add to Cart"}isNullOrUndefined(e){return e==null}updateSEODetails(e){this._seoClientService.updateTitle(e.Title),this._seoClientService.updateDescription(e.Description),this._seoClientService.updateKeywords(e.Keywords),this._seoClientService.createLinkForCanonicalURL()}batchArray(e){let t=8,o=[];for(let m=0;m<e.length;m+=t)o.push(e.slice(m,m+t));return o}formatCurrencyToNumber(e){return typeof e=="string"?Number(e.replace(/[^0-9.-]+/g,"")):e}getDiscount(e,t){e=isNaN(e)?this.formatCurrencyToNumber(e):e,t=isNaN(t)?this.formatCurrencyToNumber(t):t;let o=0;return e>0&&t>0&&(o=(t-e)/t*100),Number(o.toFixed(2))}setupUserRole(){this.isAdmin=!1;let e=this.isBrowser?localStorage.getItem("userGroups"):null;if(this.isWebEnableGroup=!1,this.isBrowser&&(this.isNullOrUndefined(localStorage.getItem("roles"))||(this.isAdmin=localStorage.getItem("roles").toLowerCase().indexOf("applicationadministrator")>=0)),this.isAdmin&&!this.isNullOrUndefined(e)){let t=JSON.parse(e);this.isWebEnableGroup=t.filter(o=>o.Name.toLowerCase()==="nonweb group").length>0,this.isNullOrUndefined(t)?this.isAdmin=!1:this.isWebEnableGroup?this.isAdmin=!0:this.isAdmin=!1}this.isBrowser&&(this.custId=localStorage.getItem("customerId")),(this.custId==="null"||this.custId==null)&&(this.custId=0),this.checkAgingGroup()}errorHandle(e){e.target.src=this.NoImagePath}loadApplications(){let e=this.ProductModelDetails.Products.map(t=>t.GuidValue);e.push(this.ProductModelDetails.GuidValue),e.push(this.ProductModelDetails.CategoryGuid),this.applicationsService.GetApplicationsByRelatedProducts(e).subscribe(t=>{this.ProductModelDetails.Applications=t})}trackAppClick(e){let t={event:"model_page",eventCategory:"model_page",eventAction:"application_examples",eventLabel:"App "+e.Code+"_"+e.Title,"family name":this.productRouteInfo.productSeries,pagepath:this.router.url,userId:this.GetUserId()};this.gtmService.pushTag(t);let o=this.ProductModelDetails.Applications?.filter(_=>_.Name==e.Name)[0],m={event:"promotionClick",ecommerce:{promoClick:{promotions:[{Id:"App "+o.Code,name:o.Title,creative:o.CategoryPath,position:this.ProductModelDetails.Applications?.findIndex(_=>_.Name===o.Name)+1}]}}};this.gtmService.pushTag(m)}loadAlternativeModels(){this.ProductModelDetails.DefaultProduct?.ExternalId?this.storeService.getProductAlternativeModelsPreview(this.ProductModelDetails.DefaultProduct.ExternalId,this.custId,!1,!1).pipe(I(this.ngUnsubscribe)).subscribe(e=>{this.ProductModelDetails.DefaultProduct.AlternativeModels=e.AlternativeModels.map(t=>t.StockId),this.ProductModelDetails.DefaultProduct?.AlternativeModels?.length>0?this.storeService.GetProductPreviewByItemNumbers(this.ProductModelDetails.DefaultProduct.AlternativeModels,!this.isAdmin).subscribe(t=>{this.ProductModelDetails.RelatedLists={AlternativeModels:t||[]},this.setupAlternativeModels()}):(this.ProductModelDetails.RelatedLists={AlternativeModels:[]},this.setupAlternativeModels())}):(this.ProductModelDetails.RelatedLists={AlternativeModels:[]},this.setupAlternativeModels())}pushImpressionstoGTM(e){this.batchArray(e).forEach(o=>{let m={event:"productImpression",ecommerce:{currencyCode:"USD",impressions:o}};this.gtmService.pushTag(m)})}setupAlternativeModels(){this.ProductModelDetails.RelatedLists?.AlternativeModels?.length>0&&this.ProductModelDetails.RelatedLists.AlternativeModels.forEach(e=>{e.Tags=e.ProductDefinition?.split(",").map(t=>t.trim()),e.ProductPrice={ListPrice:e.ListPrice??0,Price:e.Price??0},e.name=this.Model}),this.AlternativeModels={Description:this.ProductModelDetails.AltModelDescription,items:this.ProductModelDetails.RelatedLists?.AlternativeModels||[]}}setupProductTechnicalDetailsTab(){this.TechTabOptions={isNonWebEnableProduct:!1,customerId:0,Configure:{isBtnLoading:!1,error:!1,Quantity:""},IsNotSensor:!0,channelsLists:[]},this.ProductModelDetails?.DefaultProduct&&(this.ProductModelDetails.DefaultProduct.Model={ModelNumber:this.ProductModelDetails.ModelNumber,ModelName:this.ProductModelDetails.ModelName,Series:this.productRouteInfo.productSeries},this.setMissingDetailsFromModel(this.ProductModelDetails),this.TechTabOptions.IsNotSensor=this.ProductModelDetails.DefaultProduct.ProductAccessoryTypeId!=null,this.TechTabOptions.isNonWebEnableProduct=this.ProductModelDetails.DefaultProduct.WebEnabled,this.ProductModelDetails.DefaultProduct.Specifications?.forEach(e
2=>{e.SpecsList.forEach(t=>{this.TechTabOptions.channelsLists.push(t.Channel),t.Element=t.Element.split("_")[0]})}),this.TechTabOptions.channelsLists=this.TechTabOptions.channelsLists.filter((e,t,o)=>e&&o.indexOf(e)===t)),this.loadAlternativeModels()}setMissingDetailsFromModel(e){if(!e||!this.ProductModelDetails.DefaultProduct)return;let t=this.ProductModelDetails.DefaultProduct;t.Description||(t.Description??=e.Description),t.Features||(t.Features=e.ModelFeatures),(!t.Images||t.Images.length==0)&&(t.Images=e.Images),(!t.Videos||t.Videos.length==0)&&(t.Videos=e.Videos),t.ImageUrl||(t.ImageUrl=e.ImageUrl,t.ImageUrl??=t.Images?.length>0?e.Images[0].ImageUrl:this.NoImagePath),t.SpecsheetUrl??=e.SpecsheetUrl,t.ExternalLoadUrl??=e.ExternalLoadUrl,t.Model3DUrl??=e.Model3DUrl}configureBtn(e){let t={event:"model_page",eventCategory:"model_page",eventAction:e,eventLabel:this.ProductModelDetails.ModelNumber,"family name":this.productRouteInfo.productSeries,"model name":this.productRouteInfo.productModel,pagepath:this.router.url,userId:this.GetUserId()};if(this.gtmService.pushTag(t),this.isInstrument&&this.isBrowser){let o=document.getElementById("scrollWrapper");o&&setTimeout(function(){o.scrollTop=0},200)}this.ProductModelDetails.IsEEProduct?this.SelectedTabIndex=this.ProductModelDetails.Products?.filter(o=>o.PresentOverviewTab)?.length||0:(this.SelectedTabIndex=2,this.selectedSubmenu.setValue("productModels"))}GetUserId(){return this.isBrowser?localStorage.getItem("userId")??"":""}OpenSpecDocument(e){if(this.tsCond.popup||this.tsCond.popvalue2)this.onDocClick(e.item,e.linkName),this.isBrowser&&window.open(e.documentUrl,"_blank");else switch(e.linkName){case"Spec Sheet":this.openDialogWithTemplateRef(e);break;case"3D Model Download":this.openDialogWithTemplateRef(e);break;case"Extraneous Load Factor":this.openDialogWithTemplateRef(e);break;default:}}onDocClick(e,t){let o={event:"model_page",eventCategory:"model_page",eventAction:"detail_link",eventLabel:t,pagepath:this.router.url,userId:this.GetUserId(),"item number":e.itemNumber,"fam
2ily name":this.productRouteInfo?.productSeries,"model name":this.productRouteInfo?.productModel};this.gtmService.pushTag(o)}openDialogWithTemplateRef(e){let t=this.dailogue.open(Ke,{data:{documentUrl:e.documentUrl,tsCond:this.tsCond,gtmTagData:{event:"model_page",eventCategory:"model_page",eventAction:"detail_link",eventLabel:e.linkName,pagepath:this.router.url,userId:this.GetUserId(),"item number":e.item?.ItemNumber,"family name":this.productRouteInfo.productSeries,"model name":this.productRouteInfo.productModel}}})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}};r(a,"\u0275fac",function(t){return new(t||a)(f(ie),f(xi),f(ne),f(me),f(qe),f(j),f(re),f(on),f(Q),f(W),f(X))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-pdp-model"]],inputs:{ProductClassId:"ProductClassId",SubCategoryName:"SubCategoryName",Model:"Model"},decls:18,vars:2,consts:[["overviewProductTab",""],["overviewTab",""],["technicalDetailsTab",""],["productModelsTab",""],["supportDocsTab",""],["sensitTab",""],["applicationsTab",""],["dataLoadingBlock",""],["tabGroup",""],["loading",""],["hasContent",""],["id","product-details",1,"main-panel","product-details"],["class","product-details__wrapper",4,"ngIf","ngIfElse"],[1,"product-details__wrapper"],[1,"heading-s","product-details-heading","bold"],["mat-stretch-tabs","false","mat-align-tabs","end","preserveContent","",1,"product-details__tabs",3,"selectedIndexChange","selectedIndex"],["label","Overview",4,"ngIf"],[4,"ngFor","ngForOf"],["label","Technical Details"],["matTabContent",""],["label","Item Number",4,"ngIf"],["label","Resources"],["label","SENSIT",4,"ngIf"],["label","Applications",4,"ngIf"],[1,"product-details__header-mobile","d-flex","align-items-center","justify-content-between","gap-2","flex-wrap"],[1,"flex-grow-1"],[1,"product-details__dropdown","w-100"],["name","productDetailsMenu",3,"formControl"],["value","overview",4,"ngIf"],[4,"ngIf"],["value","technicalDetails"],["value","productModels",4,"ngIf"],["value","supportDocs"],["value","sensit",4,"ngIf"],["value","applications"],[1,"mobile-content"],["label","Overview"],[4,"ngTemplateOutlet"],[3,"label",4,"ngIf"],[3,"label"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["label","Item Number"],["label","SENSIT"],["label","Applications"],["value","overview"],[3,"value",4,"ngIf"],[3,"value"],["value","productModels"],["value","sensit"],[1,"primary-button","tab-button",3,"click"],[3,"configure","details","isSoftware","type"],["type","Model",3,"configure","details","isSoftware"],[3,"OpenSpecDocument","ConfigureBtnClick","modelData","ModelFeatures","DefaultProduct","Products","container","AlternativeModels","isSoftware"],[3,"modelData","settings","isInstrument","isSoftware","legacyProduct"],[3,"OpenSpecDocument","SupportDocuments"],[4,"ngIf","ngIfElse"],[1,"panel-wrapper","empty-state","info"],[1,"panel-wrapper"],[3,"singlePageData","newsPage","h1Tag"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"],[1,"tab-content-section-title"],[1,"h5"],["class","tab-content-section-desc",4,"ngIf"],[1,"tab-content-section"],[1,"product-cards"],[1,"tab-content-section-desc"],[1,"text-l","text-color-secondary",3,"innerHTML"],[1,"product-cards__card","text-color-link-default",2,"text-decoration","none",3,"click","routerLink"],[1,"text-m","regular","text-color-secondary"],[1,"text-l","text-color-primary","semibold"],[1,"product-cards__card-details"],[1,"product-cards__card-img",3,"error","src","alt"],[1,"text-m","regular","text-color-tertiary"]],template:function(t,o){if(t&1&&(s(0,"div",11),u(1,Ra,38,20,"div",12)(2,Ga,1,3,"ng-template",null,0,F)(4,za,1,2,"ng-template",null,1,F)(6,ja,1,7,"ng-template",null,2,F)(8,Ba,1,5,"ng-template",null,3,F)(10,Ha,1,1,"ng-template",null,4,F)(12,Qa,3,2,"ng-template",null,5,F)(14,Ya,7,2,"ng-template",null,6,F),c(),u(16,Xa,3,0,"ng-template",null,7,F)),t&2){let m=w(17);l(),p("ngIf",o.ProductModelDetails&&!o.isLoading)("ngIfElse",m)}},dependencies:[K,H,dt,_e,we,He,$e,mt,J,We,Pt,Mt,yt,vi,oe,tn,Et,Cn,Rt,pe],styles:[`.main-panel.product-details{background-color:var(--white-color);color:var(--text-primary)}@media screen and (max-width: 1024px){.main-panel.product-details .text-xl{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height)}}.main-panel.product-details .product-details__wrapper{background-color:var(--white-color);display:flex;position:relative}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__wrapper{flex-direction:column}}.main-panel.product-details .product-details__wrapper .primary-button{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height);width:auto;padding:.5rem 1rem}.main-panel.product-details .product-details__wrapper .tab-button{position:fixed;top:calc(5.5rem + var(--notif-offset));right:1.25rem;margin:0;font-size:var(--text-m-font-size);line-height:var(--text-m-line-height)}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__wrapper .tab-button{position:static}}.main-panel.product-details .product-details__wrapper .product-details__header-mobile{position:sticky;top:124px;z-index:5}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__wrapper .product-details__header-mobile{display:flex;align-items:center;justify-content:space-between;padding:0 .75rem .5rem;border-bottom:1px solid var(--action-primary-disabled);background-color:var(--white-color);top:50px}}.main-panel.product-details .col-6{max-width:48%}@media screen and (max-width: 1024px){.main-panel.product-details .col-6{max-width:100%;flex:none;margin-top:1rem}}.main-panel.product-details .col{width:50%;display:flex;flex-direction:column;align-items:center}@media screen and (max-width: 1024px){.main-panel.product-details .col{width:100%;margin-top:1rem}}.main-panel.product-details .col-lg{width:50%;display:flex;flex-direction:column;justify-content:center}@media screen and (max-width: 1024px){.main-panel.product-details .col-lg{width:100%;margin-top:1rem}}.main-panel.product-details .product-details-heading{position:fixed;padding:.85rem 1.125rem;z-index:5;margin:0}@media screen and (max-width: 1280px){.main-panel.product-details .product-details-heading{font-size:var(--text-l-font-size);line-height:var(--text-l-line-height)}}@media screen and (max-width: 1024px){.main-panel.product-details .product-details-heading{position:sticky;padding:.75rem .75rem 1rem;top:40px;background-color:var(--white-color);font-size:var(--heading-s-font-size);line-height:var(--heading-s-line-height)}}.main-panel.product-details .product-details__tabs{width:100%;position:sticky}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__tabs{display:none}}.main-panel.product-details .tab-content-section-full{margin:0 auto;width:100%;margin-bottom:4rem}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section-full{margin-bottom:3.5rem}}.main-panel.product-details .tab-content-section-full.hero{text-align:center}.main-panel.product-details .tab-content-section-full.hero .hero-img{max-height:500px;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center}.main-panel.product-details .tab-content-section-full.hero .half-center-section{width:50%;margin:0 auto}.main-panel.product-details .tab-content-section-full.hero .half-center-section .heading{margin:1rem 0}.main-panel.product-details .tab-content-section-full.hero .half-center-section .primary-button{margin-top:1rem}@media screen and (max-width: 768px){.main-panel.product-details .tab-content-section-full.hero .half-center-section{width:80%}}.main-panel.product-details .tab-content-section-full:is(.hero h2,.hero span){margin-bottom:1rem}.main-panel.product-details .tab-content-section-title{margin:2rem auto 1rem;width:80%}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section-title{width:100%;margin:0;padding:1rem .75rem}}.main-panel.product-details .tab-content-section{margin:0 auto;width:80%;margin-bottom:4rem;display:flex;flex-wrap:wrap;gap:2rem}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section{width:100%;padding:.75rem;margin-bottom:1rem}}.main-panel.product-details .tab-content-section-desc{margin:0 auto;width:80%;margin-bottom:2rem}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section-desc{width:100%;padding:.75rem;margin-bottom:1rem}}.main-panel.product-details .half-section{width:48%}@media screen and (max-width: 1024px){.main-panel.product-details .half-section{width:100%}}.main-panel.product-details .tab-content-section .col-lg img{object-fit:contain}.main-panel.product-details :is(.tab-content-section .col-lg img,.tab-content-section .col-lg video){width:100%}@media screen and (max-width: 1024px){.main-panel.product-details :is(.tab-content-section .col-lg img,.tab-content-section .col-lg video){height:270px;padding-top:1rem}}.main-panel.product-details .tab-content-section .inner-text p{color:var(--text-tertiary)!important;font-size:var(--text-xl-font-size)!important;line-height:var(--text-xl-line-height)!important}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section .inner-text p{font-size:var(--text-l-font-size)!important;line-height:var(--text-l-line-height)!important}}.main-panel.product-details :is(.tab-content-section h3,.tab-content-section .h5){font-size:var(--heading-xl-font-size)!important;font-weight:var(--font-weight-bold)!important;line-height:var(--heading-xl-line-height)!important;letter-spacing:var(--letter-spacing-none);color:var(--text-secondary)!important}@media screen and (max-width: 1024px){.main-panel.product-details :is(.tab-content-section h3,.tab-content-section .h5){font-size:var(--heading-l-font-size)!important;line-height:var(--heading-l-line-height)!important}}.main-panel.product-details .quality-section{flex-wrap:nowrap}@media screen and (max-width: 1024px){.main-panel.product-details .quality-section{flex-wrap:wrap}}.main-panel.product-details .tab-content-section:has(.quality-card){gap:1.5rem}.main-panel.product-details .quality-card{border:1px solid var(--div
2ider-default);box-shadow:var(--shadow-1);padding:1.25rem}.main-panel.product-details .quality-card .quality-card-img{margin-bottom:1rem}.main-panel.product-details .quality-card .quality-card-title{margin-bottom:.5rem!important;color:var(--text-primary)!important}.main-panel.product-details .quality-card p{font-size:var(--text-m-font-size)!important;line-height:var(--text-m-line-height)!important}.main-panel.product-details .compact-package .primary-button{margin:1rem 0 0}.main-panel.product-details .product-details__dropdown{display:none}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__dropdown{font-family:Nunito Sans,sans-serif!important;display:block;width:50%}}.main-panel.product-details .mobile-content{display:none}@media screen and (max-width: 1024px){.main-panel.product-details .mobile-content{display:block}}.main-panel.product-details .product-cards{display:flex;flex-wrap:wrap;width:100%;gap:1.25rem}@media screen and (max-width: 1440px){.main-panel.product-details .product-cards{gap:1rem}}@media screen and (max-width: 1024px){.main-panel.product-details .product-cards{justify-content:flex-start}}.main-panel.product-details .product-cards__card{width:23%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;background-color:var(--white-color);min-height:230px}@media screen and (max-width: 1200px){.main-panel.product-details .product-cards__card{width:31%}}@media screen and (max-width: 769px){.main-panel.product-details .product-cards__card{width:47%}}@media screen and (max-width: 600px){.main-panel.product-details .product-cards__card{width:100%}}.main-panel.product-details .product-cards__card .product-cards__card-title{color:var(--text-link-hover)}.main-panel.product-details .product-cards__card .product-cards__card-img{max-height:13.25rem;height:100%;width:100%;object-fit:contain}.main-panel.product-details .product-cards__card .product-cards__card-tags{display:flex;flex-wrap:wrap;gap:.625rem}.main-panel.product-details .product-cards__card .product-cards__card-tag{padding:.45rem .625rem;border-radius:1rem;background-color:var(--bg-disabled);line-height:.85rem}.main-panel.product-details .instruments__heading{display:inline-block}.main-panel.product-details .product-definition{background-color:var(--bg-secondary);padding-top:4rem;padding-bottom:4rem;display:flex;flex-wrap:wrap;gap:2rem}@media screen and (max-width: 1024px){.main-panel.product-details .product-definition{width:100%;padding:1.25rem .75rem}}.main-panel.product-details .product-definition .content-section{width:48%;padding-left:10%}@media screen and (max-width: 1024px){.main-panel.product-details .product-definition .content-section{width:100%;padding-left:0}}.main-panel.product-details .product-definition .img-section{width:48%}@media screen and (max-width: 1024px){.main-panel.product-details .product-definition .img-section{width:100%}}.main-panel.product-details .product-definition .img-section img{height:auto;max-width:100%;width:auto}.main-panel.product-details .product-definition .content-model-number{margin-bottom:.5rem}.main-panel.product-details .product-definition .content-model-name{margin-bottom:.75rem}.main-panel.product-details .product-definition :is(.content-model-def,.content-features){padding-bottom:1.25rem}.main-panel.product-details .product-definition .heading{padding-bottom:.75rem}.main-panel.product-details .product-definition .pricing-wrapper{margin-bottom:1.25rem}.main-panel.product-details .product-definition .primary-button{margin:2rem 0} 3`],encapsulation:2}));let i=a;return i})();var yn=(()=>{let a=class a{constructor(e){r(this,"_seoClientService");this._seoClientService=e}ngOnInit(){this._seoClientService.createLinkForCanonicalURL()}};r(a,"\u0275fac",function(t){return new(t||a)(f(Q))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-productdetails"]],decls:1,vars:1,consts:[[3,"fromConfig"]],template:function(t,o){t&1&&P(0,"app-product-configurator",0),t&2&&p("fromConfig",!1)},dependencies:[kt],encapsulation:2}));let i=a;return i})();function ts(i,a){if(i&1){let n=M();s(0,"button",17),b("click",function(){x(n);let t=d(2);return v(t.toggleFilters())}),Te(),s(1,"svg",18),P(2,"path",19),c()()}}function is(i,a){if(i&1){let n=M();s(0,"button",17),b("click",function(){x(n);let t=d(2);return v(t.closeSubMenu())}),Te(),s(1,"svg",20),P(2,"path",21),c()()}}function ns(i,a){if(i&1){let n=M();s(0,"button",25),b("click",function(){x(n);let t=d().$implicit,o=d(3);return v(o.openSubMenu(t))}),s(1,"span",26),g(2),c(),s(3,"i",27),g(4,"keyboard_arrow_right "),c()()}if(i&2){let n=d().$implicit;l(2),y(n.BusinessName)}}function os(i,a){if(i&1&&(s(0,"div",23),u(1,ns,5,1,"button",24),c()),i&2){let n=a.$implicit,e=a.index,t=d(3);xe("id",e),l(),p("ngIf",(t.facets[n.SanitizedName].Values==null?null:t.facets[n.SanitizedName].Values.length)!==0)}}function rs(i,a){if(i&1&&u(0,os,2,2,"div",22),i&2){let n=d(2);p("ngForOf",n.plmAttributes)}}function as(i,a){if(i&1){let n=M();s(0,"mat-button-toggle-group",35),b("click",function(){x(n);let t=d(3);return v(t.displayMetricValues(t.subMenuItem()))})("change",function(){x(n);let t=d(3);return v(t.displayMetricValues())}),s(1,"mat-button-toggle",36),g(2,"Metric"),c(),s(3,"mat-button-toggle",37),g(4,"English"),c()()}if(i&2){let n=d(3);p("formControl",n.valueUnit)("model",n.valueUnit.value)}}function ss(i,a){if(i&1&&(s(0,"label",43),g(1),c()),i&2){let n=d(),e=n.$implicit,t=n.index;se("for","filterSubmenu-",t,""),l(),S(" ",e.displayName," ")}}function ls(i,a){if(i&1&&(s(0,"label",43),g(1),c()),i&2){let n=d(),e=n.$implicit,t=n.index;se("for","filterSubmenu-",t,""),l(),S(" ",e.displayMetricName," ")}}function cs(i,a){if(i&1){let n=M();
3s(0,"div",38)(1,"div",39)(2,"mat-checkbox",40),b("click",function(){let t=x(n).$implicit,o=d(3);return v(o.onApplyFilter(o.subMenuItem(),t,!1))}),c(),u(3,ss,2,3,"label",41)(4,ls,2,3,"label",41),c(),s(5,"span",42),g(6),c()()}if(i&2){let n=a.$implicit,e=a.index,t=d(3);l(2),D("id",e),se("name","filterSubmenu-",e,""),p("checked",n.isChecked),l(),p("ngIf",!t.subMenuItem().IsMetricUnit),l(),p("ngIf",t.subMenuItem().IsMetricUnit),l(2),S(" (",n.count,") ")}}function ds(i,a){if(i&1&&(s(0,"div",28)(1,"div",29)(2,"div",30)(3,"span",31),g(4),c(),u(5,as,5,2,"mat-button-toggle-group",32),c(),s(6,"div",33),u(7,cs,7,7,"div",34),c()()()),i&2){let n=d(2);l(4),S(" ",n.subMenuItem().BusinessName," "),l(),p("ngIf",n.subMenuItem().IsToggleAttribute),l(2),p("ngForOf",n.facets[n.subMenuItem().SanitizedName].Values)}}function ps(i,a){if(i&1){let n=M();s(0,"div",7)(1,"div",8),u(2,ts,3,0,"ng-template",null,0,F)(4,is,3,0,"button",9),s(5,"p",10),g(6,"Filters"),c(),s(7,"button",11),b("click",function(){x(n);let t=d();return v(t.onClearAllFilters())}),g(8,"Clear all"),c()(),s(9,"div",12),u(10,rs,1,1,"ng-template",null,1,F)(12,ds,8,3,"div",13),s(13,"div",14)(14,"button",15),b("click",function(){x(n);let t=d();return v(t.onApplyFilters())}),s(15,"span",16),g(16," Apply filters "),c()()()()()}if(i&2){let n=w(3),e=w(11),t=d();l(4),p("ngIf",t.subMenuOpen())("ngIfElse",n),l(8),p("ngIf",t.subMenuOpen())("ngIfElse",e)}}function ms(i,a){if(i&1&&(s(0,"span",49),g(1),c()),i&2){let n=d(2).$implicit,e=d(2);l(),S(" (",e.appliedFilters[n.SanitizedName].length,")")}}function us(i,a){if(i&1){let n=M();s(0,"div")(1,"mat-button-toggle-group",51),b("click",function(){x(n);let t=d(3).$implicit,o=d(2);return v(o.displayMetricValues(t))}),s(2,"mat-button-toggle",36),g(3,"Metric"),c(),s(4,"mat-button-toggle",37),g(5,"English"),c()()()}if(i&2){let n=d(5);l(),p("formControl",n.valueUnit)("model",n.valueUnit.value)}}function gs(i,a){if(i&1&&(s(0,"label",43),g(1),c()),i&2){let n=d(),e=n.$implicit,t=n.index;se("for","filterSubmenu2-",t,""),l(),S(" ",e.displayName," ")}}function _s(i,a){if(i&1&&(s(0,"label",43),g(1),c()),i&2){let n=d(),e=n.$implicit,t=n.index;se("for","filterSubmenu2-",t,""),l(),S(" ",e.displayMetricName," ")}}function hs(i,a){if(i&1){let n=M();s(0,"div",38)(1,"div",52)(2,"mat-checkbox",40),b("click",function(){let t=x(n).$implicit,o=d(3).$implicit,m=d(2);return v(m.onApplyFilter(o,t,!0))}),c(),u(3,gs,2,3,"label",41)(4,_s,2,3,"label",41),c(),s(5,"span",42),g(6),c()()}if(i&2){let n=a.$implicit,e=a.index,t=d(3).$implicit;l(2),D("id",e),se("name","filterSubmenu2-",e,""),p("checked",n.isChecked),l(),p("ngIf",!t.IsMetricUnit),l(),p("ngIf",t.IsMetricUnit),l(2),S(" ",n.count," ")}}function fs(i,a){if(i&1&&(s(0,"div",50),u(1,us,6,2,"div",5),s(2,"div",33),u(3,hs,7,7,"div",34),c()()),i&2){let n=d(2),e=n.$implicit,t=n.index,o=d(2);xe("id",t),l(),p("ngIf",e.IsToggleAttribute),l(2),p("ngForOf",o.facets[e.SanitizedName].Values)}}function xs(i,a){if(i&1){let n=M();s(0,"div",45)(1,"button",46),b("click",function(){x(n);let t=d(),o=t.$implicit,m=t.index,_=d(2);return v(_.toggleDropdownFilter(o,m))}),g(2),u(3,ms,2,1,"span",47),c(),u(4,fs,4,3,"div",48),c()}if(i&2){let n=d(),e=n.$implicit,t=n.index,o=d(2);l(2),S("",e.BusinessName," "),l(),p("ngIf",o.appliedFilters[e.SanitizedName]),l(),p("ngIf",o.openDropdown()===t)}}function vs(i,a){if(i&1&&(k(0),u(1,xs,5,3,"div",44),E()),i&2){let n=a.$implicit,e=d(2);l(),p("ngIf",(e.facets[n.SanitizedName].Values==null?null:e.facets[n.SanitizedName].Values.length)!==0)}}function Cs(i,a){if(i&1&&(k(0),u(1,vs,2,1,"ng-container",6),E()),i&2){let n=d();l(),p("ngForOf",n.staticFilters)}}function bs(i,a){if(i&1&&(s(0,"span",56),g(1),c()),i&2){let n=d().ngIf,e=d(3).$implicit;l(),ve("",e.BusinessName," : ",n==null?null:n.displayMetricName,"")}}function Ps(i,a){if(i&1&&(s(0,"span",56),g(1),c()),i&2){let n=d().ngIf,e=d(3).$implicit;l(),ve("",e.BusinessName," : ",n==null?null:n.displayName,"")}}function Ms(i,a){if(i&1&&(k(0),u(1,bs,2,2,"span",55)(2,Ps,2,2,"span",55),E()),i&2){let n=d(3).$implicit;l(),p("ngIf",n.IsMetricUnit),l(),p("ngIf",!n.IsMetricUnit)}}function ys(i,a){if(i&1){let n=M();s(0,"div")(1,"button",53),b("click",function(){let t=x(n).$implicit,o=d(2).$implicit,m=d();return v(m.onRemoveFilter(o,t))}),u(2,Ms,3,2,"ng-container",5),s(3,"span",54)(4,"mat-icon"),g(5,"close"),c()()()()}if(i&2){let n=a.$implicit,e=d(2).$implicit,t=d();l(2),p("ngIf",t.getAppliedFilterFacet(e,n))}}function Ss(i,a){if(i&1&&(s(0,"li"),u(1,ys,6,1,"div",6),c()),i&2){let n=d().$implicit,e=d();l(),p("ngForOf",e.appliedFilters[n.SanitizedName])}}function ws(i,a){if(i&1&&(k(0),u(1,Ss,2,1,"li",5),E()),i&2){let n=a.$implicit,e=d();l(),p("ngIf",e.appliedFilters[n.SanitizedName])}}function Is(i,a){if(i&1){let n=M();s(0,"div")(1,"button",57),b("click",function(){x(n);let t=d();return v(t.onClearAllFilters())}),g(2,"Clear All"),c()()}}function Os(i,a){if(i&1){let n=M();s(0,"div")(1,"div",58),b("click",function(){x(n);let t=d();return v(t.toggleFilters())}),c()()}}var Gt=(()=>{let a=class a{constructor(e){r(this,"elementRef");r(this,"plmAttributes");r(this,"facets");r(this,"appliedFilters");r(this,"hideStaticFilters",!1);r(this,"dropdownFilters",[]);r(this,"applyFilters",new De);r(this,"clearAllFilters",new De);r(this,"unitToggle",new de);r(this,"filterToggle",new de);r(this,"subMenuOpen",Ue(!1));r(this,"subMenuItem",Ue(""));r(this,"valueUnit",new de("english"));r(this,"open",Ue(!1));r(this,"openDropdown",Ue(-1));r(this,"itemOpen",Ue({}));r(this,"staticFilters",[]);r(this,"showClearBtn",!1);r(this,"stagedAppliedFilters");r(this,"useStagedFilters",!1);this.elementRef=e}ngOnChanges(){this.plmAttributes&&(this.staticFilters=this.dropdownFilters.map(e=>this.plmAttributes.find(t=>t.SanitizedName===e)).filter(e=>
3!!e)),this.appliedFilters&&(this.showClearBtn=Object.keys(this.appliedFilters).length>0)}onApplyFilters(){this.useStagedFilters?(this.showClearBtn=Object.keys(this.stagedAppliedFilters).length>0,this.applyFilters.emit(this.stagedAppliedFilters),this.stagedAppliedFilters={}):(this.showClearBtn=Object.keys(this.appliedFilters).length>0,this.applyFilters.emit(this.appliedFilters)),this.toggleFilters()}onClearAllFilters(){this.showClearBtn=!1,this.clearAllFilters.emit()}toggleFilters(e=!1){this.openDropdown.set(-1),this.open.update(t=>!t),this.subMenuOpen.set(!1),this.useStagedFilters=e,e&&(this.stagedAppliedFilters=JSON.parse(JSON.stringify(this.appliedFilters||{})))}toggleDropdownFilter(e,t){this.itemOpen.set(e),this.openDropdown()===t?this.openDropdown.set(-1):this.openDropdown.set(t)}onRemoveFilter(e,t){var o=e.SanitizedName;let m=this.appliedFilters[o].indexOf(t);m>-1&&this.appliedFilters[o].splice(m,1),this.appliedFilters[o].length==0&&delete this.appliedFilters[o],Object.keys(this.appliedFilters).length===0&&(this.showClearBtn=!1),this.applyFilters.emit(this.appliedFilters)}onApplyFilter(e,t,o){let m=this.useStagedFilters?this.stagedAppliedFilters:this.appliedFilters;var _=e.SanitizedName;m[_]||(m[_]=[]);let h=m[_].findIndex(C=>C.some(T=>t.name.includes(T)));h==-1?m[_].push(t.name):m[_].splice(h,1),m[_].length==0&&delete m[_],o&&(this.showClearBtn=Object.keys(this.appliedFilters).length>0,this.applyFilters.emit(this.appliedFilters))}displayMetricValues(e){e.IsMetricUnit=this.valueUnit.value==="metric",this.facets[e.SanitizedName]?.Values&&(this.facets[e.SanitizedName].Values=e.IsMetricUnit?Ce.sortValuesByMetric(e.MeasureUnits,this.facets[e.SanitizedName].Values):Ce.sortValues(e.MeasureUnits,this.facets[e.SanitizedName].Values))}getAppliedFilterFacet(e,t){return this.facets[e.SanitizedName]?.Values.find(o=>o.name.some(m=>t.includes(m)))}closeSubMenu(){this.subMenuItem.set(""),this.subMenuOpen.set(!1)}openSubMenu(e){var t=document.querySelector(".filter-panel__wrapper");t&&(t.scrollTop=0),this.subMenuItem.set(e),this.subMenuOpen.set(!0)}handleOutsideClick(e){this.elementRef.nativeElement.contains(e.target)||this.openDropdown.set(-1)}};r(a,"\u0275fac",function(t){return new(t||a)(f(ct))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-productfilters"]],hostBindings:function(t,o){t&1&&b("click",function(_){return o.handleOutsideClick(_)},!1,ti)},inputs:{plmAttributes:"plmAttributes",facets:"facets",appliedFilters:"appliedFilters",hideStaticFilters:"hideStaticFilters",dropdownFilters:"dropdownFilters"},outputs:{applyFilters:"applyFilters",clearAllFilters:"clearAllFilters"},features:[ei],decls:10,vars:5,consts:[["close",""],["menuBlock",""],["class","filter-panel",4,"ngIf"],[1,"filter-buttons"],[1,"filter-button","all","text-l",3,"click"],[4,"ngIf"],[4,"ngFor","ngForOf"],[1,"filter-panel"],[1,"filter-panel__header"],[3,"click",4,"ngIf","ngIfElse"],[1,"text-xl","semibold"],[1,"text-l","clear-filter-button",3,"click"],[1,"filter-panel__wrapper"],["class","filter-panel__subfilter-wrapper",4,"ngIf","ngIfElse"],[1,"filter-panel__cta-wrapper"],[1,"filter-panel__button-cta","primary-button",3,"click"],[1,"text-l","semibold","text-color-primary-onbrand"],[3,"click"],["width","20","height","20","viewBox","0 0 20 20","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M11 10L18.625 2.375C18.9062 2.09375 18.9062 1.65625 18.625 1.375C18.3438 1.09375 17.9062 1.09375 17.625 1.375L10 9L2.375 1.375C2.09375 1.09375 1.65625 1.09375 1.375 1.375C1.09375 1.65625 1.09375 2.09375 1.375 2.375L9 10L1.375 17.625C1.09375 17.9062 1.09375 18.3438 1.375 18.625C1.5 18.75 1.6875 18.8438 1.875 18.8438C2.0625 18.8438 2.25 18.7812 2.375 18.625L10 11L17.625 18.625C17.75 18.75 17.9375 18.8438 18.125 18.8438C18.3125 18.8438 18.5 18.7812 18.625 18.625C18.9062 18.3438 18.9062 17.9062 18.625 17.625L11 10Z","fill","#1F2937"],["width","10","height","16","viewBox","0 0 10 16","fill","none","xmlns","http://www.w3.org/2000/svg"],["d","M8.53125 15.9062C8.34375 15.9062 8.15625 15.8438 8.03125 15.6875L0.96875 8.5C0.6875 8.21875 0.6875 7.78125 0.96875 7.5L8.03125 0.3125C8.3125 0.03125 8.75 0.03125 9.03125 0.3125C9.3125 0.59375 9.3125 1.03125 9.03125 1.3125L2.46875 8L9.0625 14.6875C9.34375 14.9688 9.34375 15.4062 9.0625 15.6875C8.875 15.8125 8.71875 15.9062 8.53125 15.9062Z","fill","#111928"],["class","filter-panel__button-wrapper",4,"ngFor","ngForOf"],[1,"filter-panel__button-wrapper"],["class","filter-panel__button",3,"click",4,"ngIf"],[1,"filter-panel__button",3,"click"],[1,"text-l","semibold","text-color-primary"],[1,"material-icons"],[1,"filter-panel__subfilter-wrapper"],[1,"filter-panel__subfilter"],[1,"filter-panel__subfilter-header"],[1,"filter-panel__subfilter-title","text-xl","semibold","text-color-primary"],["aria-label","Select System","class","filter-panel__toggle","name","valueUnit",3,"formControl","model","click","change",4,"ngIf"],[1,"w-100"],["class","filter-checkbox-item custom-form",4,"ngFor","ngForOf"],["aria-label","Select System","name","valueUnit",1,"filter-panel__toggle",3,"click","change","formControl","model"],["name","valueUnit","value","metric"],["name","valueUnit","value","english"],[1,"filter-checkbox-item","custom-form"],[1,"filter-checkbox-label"],[1,"filter-checkbox","text-l",3,"click","id","name","checked"],["class","filter-checkbox__label",3,"for",4,"ngIf"],[1,"text-color-tertiary","text-l"],[1,"filter-checkbox__label",3,"for"],["class","dropdown-wrapper",4,"ngIf"],[1,"dropdown-wrapper"],[1,"filter-button","dropdown","text-l",3,"click"],["class","filter-button-counter",4,"ngIf"],["class","filter-dropdown",4,"ngIf"],[1,"filter-button-counter"],[1,"filter-dropdown"],["aria-label","Select System","name","valueUnit",1,"filter-panel__toggle",3,"click","formControl","model"],[1,"checkbox-dropdown"],[1,"filter-button","selected-filter",3,"click"],[1,"close-icon"],["class","text-l",4,"ngIf"],[1,"text-l"],[1,"clear-button","text-l",3,"click"],[1,"overlay",3,"click"]],template:function(t,o){t&1&&(u(0,ps,17,4,"div",2),s(1,"div",3)(2,"button",4),b("click",function(){return o.toggleFilters(!0)}),g(3,"Filters"),c(),u(4,Cs,2,1,"ng-container",5),c(),s(5,"div",3)(6,"ul"),u(7,ws,2,1,"ng-container",6),c(),u(8,Is,3,0,"div",5),c(),u(9,Os,2,0,"div",5)),t&2&&(p("ngIf",o.open()),l(4),p("ngIf",!o.hideStaticFilters),l(3),p("ngForOf",o.plmAttributes),l(),p("ngIf",o.showClearBtn),l(),p("ngIf",o.open()))},dependencies:[K,H,_e,we,wt,It,St,_t],styles:['.filter-panel[_ngcontent-%COMP%]{background-color:var(--white-color);max-width:25rem;width:100%;height:100%;position:fixed;z-index:10;top:0;left:0;bottom:0;z-index:100;display:block;transition:all .3s ease-out}@media screen and (max-width:769px){.filter-panel[_ngcontent-%COMP%]{max-width:unset}}.filter-panel[_ngcontent-%COMP%] .material-icons[_ngcontent-%COMP%]{color:var(--text-disabled)}.filter-panel[_ngcontent-%COMP%] .clear-filter-button[_ngcontent-%COMP%]{text-decoration:underline}.filter-panel[_ngcontent-%COMP%] .filter-panel__header[_ngcontent-%COMP%]{padding:1rem;display:flex;align-items:center;justify-content:space-between;background-color:var(--white-color);border-bottom:1px solid var(--bg-hover);width:100%}.filter-panel[_ngcontent-%COMP%] .filter-panel__wrapper[_ngcontent-%COMP%]{padding:.5rem 0 5rem;height:100%;overflow:scroll}.filter-panel[_ngcontent-%COMP%] .filter-panel__subfilter-wrapper[_ngcontent-%COMP%]{position:relative;height:100%}.filter-panel[_ngcontent-%COMP%] .filter-panel__subfilter[_ngcontent-%COMP%]{height:auto;margin:0 1rem}.filter-panel[_ngcontent-%COMP%] .filter-panel__subfilter-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin:.75rem 0;background-color:var(--white-color)}.filter-panel[_ngcontent-%COMP%] .filter-panel__subfilter-header[_ngcontent-%COMP%]:has(.filter-panel__toggle) .filter-panel__subfilter-title[_ngcontent-%COMP%]{width:60%;text-transform:capitalize}.filter-panel[_ngcontent-%COMP%] .filter-panel__subfilter-title[_ngcontent-%COMP%]{width:100%;text-transform:capitalize}.filter-panel[_ngcontent-%COMP%] .filter-panel__button-wrapper[_ngcontent-%COMP%]{width:100%;padding:0 1rem}.filter-panel[_ngcontent-%COMP%] .filter-panel__button[_ngcontent-%COMP%]{width:100%;padding:.75rem 0 .625rem;border-bottom:1px solid var(--bg-hover);display:flex;justify-content:space-between;text-transform:capitalize}.filter-panel[_ngcontent-%COMP%] .filter-panel__cta-wrapper[_ngcontent-%COMP%]{padding:1rem;position:absolute;bottom:0;left:0;right:0;background-color:var(--white-color);border-top:1px solid #F9F9F9}.filter-panel[_ngcontent-%COMP%] .filter-panel__button-cta[_ngcontent-%COMP%]{padding:.75rem 1rem;border-radius:4px}.filter-panel__toggle[_ngcontent-%COMP%]{border:1px solid var(--border-default);border-radius:4px;color:var(--text-secondary);width:40%;--mat-standard-button-toggle-text-font: "Nunito Sans", sans-serif;--mat-standard-button-toggle-height: 2rem;font-size:var(--text-m-font-size);line-height:var(--text-m-line-height);letter-spacing:var(--letter-spacing-none)}.filter-panel__toggle[_ngcontent-%COMP%] .mat-button-toggle[_ngcontent-%COMP%], .filter-panel__toggle[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .filter-panel__toggle[_ngcontent-%COMP%] span[_ngcontent-%COMP%], .filter-panel__toggle[_ngcontent-%COMP%] button[aria-pressed=false][_ngcontent-%COMP%]{height:100%;width:100%}.filter-panel__toggle[_ngcontent-%COMP%] .mat-button-toggle-checked[_ngcontent-%COMP%]{background-color:var(--border-default);color:var(--text-primary-onbrand);height:100%}.filter-checkbox-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem;width:100%}.filter-checkbox-item[_ngcontent-%COMP%] .checkbox-dropdown[_ngcontent-%COMP%]{display:inline-flex}.filter-checkbox-item[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.filter-checkbox-label[_ngcontent-%COMP%]{display:flex}.filter-checkbox-wrappper[_ngcontent-%COMP%]{white-space:wrap;display:flex;align-items:flex-start}.filter-checkbox__label[_ngcontent-%COMP%]{margin:0 .5rem 0 .25rem;vertical-align:text-top}.filter-buttons[_ngcontent-%COMP%] ul[_ngcontent-%COMP%], .filter-buttons[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{margin:0;display:flex;align-items:center;flex-wrap:wrap;list-style:none;padding:0}.filter-buttons[_ngcontent-%COMP%]{display:flex;align-items:center;flex-wrap:wrap}.filter-buttons[_ngcontent-%COMP%] .clear-button[_ngcontent-%COMP%]{text-decoration:underline;margin-bottom:1.25rem;color:var(--text-secondary)}.filter-buttons[_ngcontent-%COMP%] .filter-button[_ngcontent-%COMP%]{font-weight:500;display:flex;min-height:3rem;height:100%;padding:.75rem 1rem;margin:0 1.25rem 1.25rem 0;color:var(--text-secondary);border:1px solid var(--action-primary-disabled);border-radius:6px}.filter-buttons[_ngcontent-%COMP%] .filter-button.all[_ngcontent-%COMP%]:after{content:url(/assets/icons/filterMenu.svg);display:inline-block;width:1rem;margin-left:.5rem;vertical-align:baseline}.filter-buttons[_ngcontent-%COMP%] .filter-button.selected-filter[_ngcontent-%COMP%]{border:1px solid var(--border-default);background-color:var(--bg-disabled)}.filter-buttons[_ngcontent-%COMP%] .filter-button.selected-filter[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%]{margin-left:.75rem;display:flex;align-items:center;justify-content:center}.filter-buttons[_ngcontent-%COMP%] .filter-button[_ngcontent-%COMP%] .filter-button-counter[_ngcontent-%COMP%]{margin-left:.25rem}.filter-buttons[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%]{position:relative}.filter-buttons[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .filter-button.dropdown[_ngcontent-%COMP%]{text-transform:capitalize}.filter-buttons[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .filter-button.dropdown[_ngcontent-%COMP%]:after{content:url(/assets/icons/arrowDown.svg);display:inline-block;width:1rem;height:.5rem;margin-left:.25rem}.filter-buttons[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .filter-dropdown[_ngcontent-%COMP%]{position:absolute;top:3rem;left:0;background-color:var(--white-color);padding:1rem;border:1px solid #DFE4EA;border-radius:5px;z-index:10;display:flex;flex-direction:column;align-items:center;overflow-y:scroll;scroll-behavior:smooth;scrollbar-width:thin;max-height:60vh}.filter-buttons[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .filter-dropdown[_ngcontent-%COMP%] .filter-panel__toggle[_ngcontent-%COMP%]{margin-bottom:1rem}.filter-buttons[_ngcontent-%COMP%] .dropdown-wrapper[_ngcontent-%COMP%] .filter-panel__toggle[_ngcontent-%COMP%]{width:100%}']}));let i=a;return i})();var wn=(()=>{let a=class a{constructor(e,t){r(this,"route");r(this,"_loaderService");r(this,"productFilters",{});r(this,"ngUnsubscribe",new q);this.route=e,this._loaderService=t}ngOnInit(){this.route.paramMap.pipe(I(this.ngUnsubscribe)).subscribe(e=>
3{this.productFilters.productClassId=e.get("category"),this.productFilters.subCategoryName=e.get("subcategory")?.replace(/ /g,"-"),this.productFilters.model=e.get("model")})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}};r(a,"\u0275fac",function(t){return new(t||a)(f(ie),f(W))}),r(a,"\u0275cmp",U({type:a,selectors:[["product-model-details"]],decls:1,vars:3,consts:[[3,"ProductClassId","SubCategoryName","Model"]],template:function(t,o){t&1&&P(0,"app-pdp-model",0),t&2&&p("ProductClassId",o.productFilters.productClassId)("SubCategoryName",o.productFilters.subCategoryName)("Model",o.productFilters.model)},dependencies:[Mn],encapsulation:2}));let i=a;return i})();var Ds=()=>({name:"Store",url:"/store"}),ks=(i,a)=>({name:i,url:a}),Es=i=>({name:i}),As=(i,a,n)=>[i,a,n];function Fs(i,a){if(i&1&&(P(0,"div",11),A(1,"safeHtml")),i&2){let n=d(2);p("innerHtml",V(1,1,n.productSeriesDetails.Description),R)}}function Ns(i,a){if(i&1&&(P(0,"div",20),A(1,"safeHtml")),i&2){let n=d().$implicit;p("innerHtml",V(1,1,n.HtmlContent),R)}}function Us(i,a){if(i&1){let n=M();s(0,"mat-accordion",16)(1,"mat-expansion-panel",17),b("click",function(){let t=x(n).index,o=d(3);return v(o.openAccordion(t))}),s(2,"mat-expansion-panel-header")(3,"mat-panel-title",18),g(4),c()(),u(5,Ns,2,3,"div",19),c()()}if(i&2){let n=a.$implicit,e=a.index,t=d(3);xe("id",e),l(4),ve("",t.panelOpenState.includes(e)?"-":"+"," ",n.Title,""),l(),p("ngIf",n.HtmlContent)}}function Ls(i,a){if(i&1&&(s(0,"mat-accordion",12)(1,"mat-expansion-panel")(2,"mat-expansion-panel-header")(3,"mat-panel-title",13),g(4,"Learn More"),c()(),s(5,"div",14),u(6,Us,6,4,"mat-accordion",15),c()()()),i&2){let n=d(2);l(6),p("ngForOf",n.productSeriesDetails.QAArea)}}function Vs(i,a){if(i&1){let n=M();s(0,"div")(1,"app-productfilters",21),b("applyFilters",function(t){x(n);let o=d(2);return v(o.ApplyFilters(t))})("clearAllFilters",function(){x(n);let t=d(2);return v(t.ClearAllFilters())}),c()()}if(i&2){let n=d(2);l(),p("plmAttributes",n.PlmAttributes)("facets",n.Facets)("appliedFilters",n.AppliedFilters)("dropdownFilters",n.productSeriesDetails.DropdownFilters)}}function Rs(i,a){i&1&&(k(0),s(1,"div",22)(2,"div",23),g(3," We Can't find a sensor in stock that meets your requirements. All is not lost! "),P(4,"br"),g(5," Contact our sales department, so we can better understand your needs and help "),P(6,"br"),g(7," you find the sensor you need. "),c(),s(8,"div",24)(9,"div",25),g(10," Chat with sales below, or send us an email "),c()(),s(11,"div")(12,"a",26),g(13,"[email protected]"),c()()(),E())}function Gs(i,a){if(i&1&&(P(0,"div",35),A(1,"safeHtml")),i&2){let n=d(2).$implicit;p("innerHtml",V(1,1,n.Description),R)}}function zs(i,a){if(i&1){let n=M();s(0,"div",29)(1,"div",30)(2,"div",31),g(3),c(),u(4,Gs,2,3,"div",32),c(),s(5,"div",33)(6,"img",34),b("error",function(t){x(n);let o=d(3);return v(o.errorHandle(t))}),c()()()}if(i&2){let n=d().$implicit;l(3),S("",n.Title," "),l(),p("ngIf",n.Description),l(2),D("alt",n.ImageAltText),p("src",n.ImageUrl,L)}}function js(i,a){if(i&1&&(s(0,"div")(1,"p",41),g(2),c()()),i&2){let n=a.$implicit;l(2),y(n)}}function Bs(i,a){if(i&1){let n=M();s(0,"a",37),b("click",function(){x(n);let t=d().$implicit,o=d(3);return v(o.trackModelCick_gql(t))}),s(1,"p",38),g(2),c(),u(3,js,3,1,"div",28),s(4,"img",39),b("error",function(t){x(n);let o=d(4);return v(o.errorHandle(t))}),c(),s(5,"p",40),g(6),c()()}if(i&2){let n=d().$implicit,e=d(3);oi("routerLink","/store/",e.productClassId,"/",e.fullCode,"/",n.RouteSegment,""),l(2),y(n.ModelNumber),l(),p("ngForOf",n.ModelCharacteristics),l(),D("alt",n.ImageAltText),p("src",n.ImageUrl,L),l(2),y(n.ModelCaption)}}function Hs(i,a){if(i&1&&(k(0),u(1,Bs,7,9,"a",36),E()),i&2){let n=a.$implicit,e=d(3);l(),p("ngIf",!e.isWebEnableGroup&&n.WebEnabled||e.isWebEnableGroup)}}function $s(i,a){if(i&1&&(s(0,"div"),u(1,zs,7,4,"div",27),s(2,"div"),u(3,Hs,2,1,"ng-container",28),c()()),i&2){let n=a.$implicit,e=d(2);Le(e.displayGroupHeader(e.FilteredProductModels)?"product-model":""),l(),p("ngIf",e.displayGroupHeader(e.FilteredProductModels)),l(),Le(e.displayGroupHeader(n)?"product-cards":"product-cards-not-grouped"),l(),p("ngForOf",n.ProductModels)}}function Ws(i,a){if(i&1&&(P(0,"div",42),A(1,"safeHtml")),i&2){let n=d(2);p("innerHtml",V(1,1,n.productSeriesDetails.Details),R)}}function qs(i,a){if(i&1&&(s(0,"div",3),P(1,"app-breadcrumbs",4),s(2,"div",5)(3,"h1",6),g(4),c(),u(5,Fs,2,3,"div",7),c(),u(6,Ls,7,1,"mat-accordion",8)(7,Vs,2,4,"div",2),s(8,"div"),u(9,Rs,14,0,"ng-container",2)(10,$s,4,6,"div",9)(11,Ws,2,3,"div",10),c()()),i&2){let n=d();l(),p("breadcrumbs",ke(14,As,te(8,Ds),ce(9,ks,n.ClassName,"/store/"+n.productClassId),ge(12,Es,n.productSeriesDetails==null?null:n.productSeriesDetails.OracleName))),l(3),y(n.productSeriesDetails.OracleName),l(),p("ngIf",n.productSeriesDetails.Description),l(),p("ngIf",(n.productSeriesDetails.QAArea==null?null:n.productSeriesDetails.QAArea.length)>0),l(),p("ngIf",n.FilteredProductModels.length>0),l(2),p("ngIf",(n.FilteredProductModels==null?null:n.FilteredProductModels.length)==0),l(),p("ngForOf",n.FilteredProductModels),l(),p("ngIf",n.productSeriesDetails.Details)}}function Ks(i,a){i&1&&(s(0,"div")(1,"div",43)(2,"div",44),P(3,"mat-progress-spinner",45),c()()())}var In=(()=>{let a=class a{constructor(e,t,o,m,_,h,C,T){r(this,"route");r(this,"router");r(this,"_loaderService");r(this,"platformId");r(this,"_seoClientService");r(this,"gtmService");r(this,"_storeService");r(this,"storage");r(this,"ngUnsubscribe",new q);r(this,"NoImagePath",N.NoImagePath);r(this,"CategoryData",[]);r(this,"filters",[]);r(this,"fullCode");r(this,"productClassId");r(this,"isAdmin");r(this,"userGroups");r(this,"SeriesName");r(this,"ClassName");r(this,"isWebEnableGroup",!1);r(this,"isLandedFromGlobalSearch",!1);r(this,"productSeriesDetails");r(this,"PlmAttributes");r(this,"AvailableItemNumbers");r(this,"Facets");r(this,"AppliedFilters",{});r(this,"FilteredProductModels",[]);r(this,"panelOpenState",[]);r(this,"isLoading",!0);r(this,"initialSetup",!1);r(this,"subClassNames",[]);r(this,"h1Tag","");r(this,"_productsGuidData");this.route=e,this.router=t,this._loaderService=o,this.platformId=m,this._seoClientService=_,this.gtmService=h,this._storeService=C,this.storage=T}displayGroupHeader(e){return e?.length>1}openAccordion(e){if(this.panelOpenState.includes(e)){let t=this.panelOpenState.indexOf(e);this.panelOpenState.splice(t,1)}else this.panelOpenState.push(e)}ApplyFilters(e){if(this.AppliedFilters=le({},e),Object.keys(this.AppliedFilters).length>0){let t=[];this.productSeriesDetails.ProductModelGroups.forEach(_=>
3{_.ProductModels.forEach(h=>t.push(h.GuidValue))});let o=this.productSeriesDetails.ProductClass?.GuidValue;this._storeService.GetProductModelsGuidsByFacets(this.PlmAttributes,this.productSeriesDetails.GuidValue,t,o,this.subClassNames,this.AppliedFilters,this.AvailableItemNumbers,!this.isAdmin).pipe(I(this.ngUnsubscribe)).subscribe(_=>{this._productsGuidData=_,this.loadData(_)});let m=this.PlmAttributes.filter(_=>_.IsMetricUnit)?.map(_=>_.SanitizedName);G(this.platformId)&&localStorage.setItem("AppliedFielters",JSON.stringify({AppliedFilters:this.AppliedFilters,metricFilters:m}))}else this.ClearAllFilters()}ClearAllFilters(){this.AppliedFilters={},this.FilteredProductModels=[],G(this.platformId)&&localStorage.removeItem("AppliedFielters"),this.initialDataSetup()}buildFacetsData(e){let t={};return this.PlmAttributes.forEach(o=>{let m=o.SanitizedName;t[m]=Ce.Map(e.facets.hasOwnProperty(m)?e.facets[m]:null,o.MeasureUnits,this.subClassNames),this.AppliedFilters.hasOwnProperty(m)&&(t[m].Values.forEach(_=>{_.isChecked=_.name.some(h=>this.AppliedFilters[m].some(C=>C==h))}),this.AppliedFilters[m]=this.AppliedFilters[m].filter(_=>t[m]?.Values?.some(h=>h.name.some(C=>_.includes(C)))))}),t}loadData(e,t=!1){this.Facets=this.buildFacetsData(e),this.FilteredProductModels=[],this.productSeriesDetails.ProductModelGroups.forEach(o=>{o.ProductModels.forEach(_=>{let h=e.facets.ProductModel.GuidValue.filter(C=>C.name==_.GuidValue);_.ProductsCount=h.length>0?h[0].count:0});let m=o.ProductModels.filter(_=>_.ProductsCount>0);m.length>0&&this.FilteredProductModels.push(ye(le({},o),{ProductModels:m}))}),this.isLoading=!1}initialDataSetup(){let e=[];this.productSeriesDetails.ProductModelGroups.forEach(o=>{o.ProductModels.forEach(m=>e.push(m.GuidValue))});let t=this.productSeriesDetails.ProductClass?.GuidValue;this._storeService.GetProductModelsGuidsByFacets(this.PlmAttributes,this.productSeriesDetails.GuidValue,e,t,this.subClassNames,this.AppliedFilters,this.AvailableItemNumbers,!this.isAdmin).pipe(I(this.ngUnsubscribe)).subscribe(o=>{this.loadData(o,!0),this.productSeriesDetails.Facets=this.Facets,this.initialSetup=!0})}getAppliedFilters(){if(!G(this.platformId))return{};let e=localStorage.getItem("AppliedFielters");if(e!=null&&e!==""){let t=JSON.parse(e);return t.MetricFilters?.length>0&&this.PlmAttributes.forEach(o=>{t.MetricFilters.includes(o.SanitizedName)&&(o.IsMetricUnit=!0)}),t.AppliedFilters}return{}}loadContentGraphData(){this._storeService.GetProductSeriesDetails(this.fullCode,this.productClassId).pipe(I(this.ngUnsubscribe)).subscribe(e=>{this.productSeriesDetails=e,this.SeriesName=e.Name,this.ClassName=e.ClassName,this.FilteredProductModels=this.productSeriesDetails.ProductModelGroups;let t={ASW:"ASW200",APP:"APP100"},o=e?.Name,m=t[o];if(m){let h=e?.ProductModelGroups?.flatMap(C=>C.ProductModels)?.find(C=>C.ModelNumber===m)?.RouteSegment;if(h){let C=this.router.url.replace(/\/$/,"");this.router.navigate([`${C}/${h}`]);return}}if(e.ProductClass?.ProductSubclassesCategories?.length>0){let h=e.ProductClass.ProductSubclassesCategories.filter(C=>e.GuidValue==C.ProductCategoryGuid);this.subClassNames=h.map(C=>C.SubClass?.trim())}e.SeoInformation.Title||(e.SeoInformation.Title=this.productSeriesDetails.Name),e.SeoInformation.H1Tag||(this.h1Tag=e.SeoInformation.H1Tag),this._seoClientService.updateSEODetails(e.SeoInformation);let _=[e.ExternalId];ae({availableItemNumbers:this._storeService.GetAvailableItemNumbers(_,[]).pipe(I(this.ngUnsubscribe)),plmAttributes:this._storeService.GetPLMAttributes(this.subClassNames).pipe(I(this.ngUnsubscribe))}).subscribe(({availableItemNumbers:h,plmAttributes:C})=>{this.AvailableItemNumbers=h,this.PlmAttributes=C;let T=this.getAppliedFilters();T!=null&&T!==""&&Object.keys(T).length>0?(this.ApplyFilters(T),this.initialSetup=!1):this.initialDataSetup()})})}trackModelCick_gql(e){this.trackModelClick({Model:e.ModelNumber,Description:e.Descritpion})}ngOnInit(){if(this.isAdmin=!1,this.GetUserRole(),this.isLoading=!0,this.productClassId=this.route.snapshot.paramMap.get("productClassID"),this.fullCode=this.route.snapshot.paramMap.get("fullCode"),this.filters=[],this._seoClientService.createLinkForCanonicalURL(),this._seoClientService.addSwiftTypeData("store"),G(this.platformId)){let e=this;ut(t=>
3{t.properties.forEach(function(o){if(o.successful)switch(o.name){case"icontent_name":e.productSeriesDetails.Name=o.value;break;case"description":e.productSeriesDetails.Description=o.value;break;default:e.productSeriesDetails[o.name]=o.vame}})})}this.route.url.subscribe(()=>{this.loadContentGraphData()})}trackModelClick(e){let t=this.storage.getItem("userId")??"",o=this.getListNameForImpressions(),m=this.CategoryData.findIndex(C=>C.Model===e.Model)+1,_={event:"family_page",eventCategory:"family_page",eventAction:e.Model,eventLabel:this.fullCode,className:this.ClassName,pagepath:this.router.url,userId:t};this.gtmService.pushTag(_),Ee(o,e.Model,"productModel");let h={event:"productClick",ecommerce:{click:{actionField:{list:o},products:[{name:e.Description,brand:"FUTEK",variant:e.Model,category:`${this.ClassName}/${this.SeriesName}/${e.Model}`,list:o,position:m,dimension6:"In stock",dimension7:"",dimension8:0,dimension9:0,metric1:0}]}}};this.gtmService.pushTag(h)}GetUserRole(){let e=this.storage.getItem("userGroups"),t=this.storage.getItem("roles");if(this.isWebEnableGroup=!1,this.isAdmin=!1,e)try{this.userGroups=JSON.parse(e),this.isWebEnableGroup=this.userGroups.some(o=>o.Name?.toLowerCase()==="nonweb group")}catch(o){console.warn("Failed to parse userGroups:",o)}t?.toLowerCase().includes("applicationadministrator")&&(this.isAdmin=!0),this.isAdmin&&e&&(this.isAdmin=this.isWebEnableGroup)}getListNameForImpressions(){return this.filters.length>1?"Family Filter Page":this.isLandedFromGlobalSearch?"Global Search":"Family Page"}errorHandle(e){e.target.src=this.NoImagePath}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}};r(a,"\u0275fac",function(t){return new(t||a)(f(ie),f(ne),f(W),f(X),f(Q),f(re),f(j),f(dn))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-productmodels"]],features:[ee([At])],decls:3,vars:2,consts:[[1,"main-panel"],["class","panel-wrapper",4,"ngIf"],[4,"ngIf"],[1,"panel-wrapper"],[3,"breadcrumbs"],[1,"header-text"],[1,"h5"],["data-epi-edit","Description","class","text-l regular text-color-secondary header-description",3,"innerHtml",4,"ngIf"],["class","main-accordion",4,"ngIf"],[3,"class",4,"ngFor","ngForOf"],["class","accordion-details text-m","data-epi-edit","Details",3,"innerHtml",4,"ngIf"],["data-epi-edit","Description",1,"text-l","regular","text-color-secondary","header-description",3,"innerHtml"],[1,"main-accordion"],[1,"link-more","text-l","semibold"],["data-epi-edit","QAArea"],["class","faq-accordion text-m",4,"ngFor","ngForOf"],[1,"faq-accordion","text-m"],["hideToggle","",3,"click"],[1,"link-more","text-m"],["class","prodctaccsensortextb1",3,"innerHtml",4,"ngIf"],[1,"prodctaccsensortextb1",3,"innerHtml"],[3,"applyFilters","clearAllFilters","plmAttributes","facets","appliedFilters","dropdownFilters"],[1,"no-products"],[1,"text-l","description"],[1,"text-l"],["onclick","olark('api.box.expand')",1,"chatbtnview"],["href","mailto:[email protected]",1,"productfutekmail"],["class","product-model__header",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"product-model__header"],[1,"product-model__header-content"],[1,"product-model__header-title","text-xl","bold","text-color-primary"],["class","text-l regular text-color-secondary header-description",3,"innerHtml",4,"ngIf"],[1,"product-model__header-img"],["height","212",3,"error","src","alt"],[1,"text-l","regular","text-color-secondary","header-description",3,"innerHtml"],["class","product-cards__card",3,"routerLink","click",4,"ngIf"],[1,"product-cards__card",3,"click","routerLink"],[1,"text-m","regular","text-color-secondary"],["height","212",1,"product-cards__card-img",3,"error","src","alt"],[1,"mt-2","text-m","regular","text-color-tertiary"],[1,"product-cards__card-title","text-l","regular"],["data-epi-edit","Details",1,"accordion-details","text-m",3,"innerHtml"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(t,o){t&1&&(s(0,"div",0),u(1,qs,12,18,"div",1)(2,Ks,4,0,"div",2),c()),t&2&&(l(),p("ngIf",o.productSeriesDetails&&!o.isLoading),l(),p("ngIf",o.isLoading))},dependencies:[K,H,bt,xt,vt,Ct,J,he,oe,Gt,pe],styles:[".panel-wrapper[_ngcontent-%COMP%]{color:var(--text-primary)}.panel-wrapper[_ngcontent-%COMP%] .header-text[_ngcontent-%COMP%]{margin-bottom:.75rem}.panel-wrapper[_ngcontent-%COMP%] .header-description[_ngcontent-%COMP%]{overflow:hidden}.panel-wrapper[_ngcontent-%COMP%] .product-model[_ngcontent-%COMP%]{border:1px solid var(--action-primary-disabled);border-radius:4px;margin-bottom:3.125rem}.panel-wrapper[_ngcontent-%COMP%] .product-model[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.panel-wrapper[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%]{text-align:center;width:100%}.panel-wrapper[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:1rem}.panel-wrapper[_ngcontent-%COMP%] .product-model__header[_ngcontent-%COMP%]{padding:1.25rem 1.875rem;display:flex;justify-content:space-between;gap:2.5rem}@media screen and (max-width:769px){.panel-wrapper[_ngcontent-%COMP%] .product-model__header[_ngcontent-%COMP%]{flex-wrap:wrap;gap:1rem}}.panel-wrapper[_ngcontent-%COMP%] .product-model__header[_ngcontent-%COMP%] .product-model__header-img[_ngcontent-%COMP%]{max-height:13.25rem;height:100%;object-fit:contain}.panel-wrapper[_ngcontent-%COMP%] .product-model__header[_ngcontent-%COMP%] .product-model__header-title[_ngcontent-%COMP%]{padding-bottom:.875rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{padding:1.875rem;display:flex;flex-wrap:wrap;width:100%;gap:1.25rem;background-color:var(--text-primary-onbrand)}@media screen and (max-width: 1440px){.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{gap:1rem}}.panel-wrapper[_ngcontent-%COMP%] .product-cards-not-grouped[_ngcontent-%COMP%]{padding:0;display:flex;flex-wrap:wrap;width:100%;gap:1.25rem;padding:0 0 3rem 4rem}@media screen and (max-width: 1440px){.panel-wrapper[_ngcontent-%COMP%] .product-cards-not-grouped[_ngcontent-%COMP%]{gap:1rem;padding:0 0 1.5rem 2rem}}@media screen and (max-width: 440px){.panel-wrapper[_ngcontent-%COMP%] .product-cards-not-grouped[_ngcontent-%COMP%]{padding:0 1rem 1.5rem}}.panel-wrapper[_ngcontent-%COMP%] .product-link[_ngcontent-%COMP%]{text-decoration:none}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:23%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;background-color:var(--white-color);min-height:230px}@media screen and (max-width: 1200px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:31%}}@media screen and (max-width: 769px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:48%}}@media screen and (max-width: 600px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:100%}}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-title[_ngcontent-%COMP%]{color:var(--text-link-hover)}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-img[_ngcontent-%COMP%]{max-height:13.25rem;height:100%;width:100%;object-fit:contain}#olark-container[_ngcontent-%COMP%]{box-shadow:0 1px 2px #00000026!important}[_nghost-%COMP%] .mat-mdc-text-field-wrapper{background:none!important;height:50px!important}[_nghost-%COMP%] .mat-mdc-form-field-focus-overlay{background:#fff!important}[_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{padding:0!important}[_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:#ca0000!important}[_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:#ca0000!important}"],data:{animation:[rn,an,sn,ln,cn]}}));let i=a;return i})();var Qs=()=>({name:"Store",url:"/store"}),Js=i=>({name:i}),Zs=(i,a)=>[i,a];function Ys(i,a){if(i&1&&(P(0,"div",8),A(1,"safeHtml")),i&2){let n=d(3);p("innerHtml",V(1,1,n.productClassDetails.Description),R)}}function Xs(i,a){if(i&1&&(s(0,"div",3)(1,"h1",7),g(2),c(),u(3,Ys,2,3,"div",8),c()),i&2){let n=d(2);l(2),y(n.productClassDetails.Name),l(),$(n.productClassDetails.Description?3:-1)}}function el(i,a){if(i&1&&(P(0,"div",14),A(1,"safeHtml")),i&2){let n=d().$implicit;p("innerHtml",V(1,1,n.HtmlContent),R)}}function tl(i,a){if(i&1){let n=M();s(0,"mat-accordion",11)(1,"mat-expansion-panel",12),b("click",function(){let t=x(n).$index,o=d(3);return v(o.openAccordion(t))}),s(2,"mat-expansion-panel-header")(3,"mat-panel-title",13),g(4),
3c()(),u(5,el,2,3,"div",14),c()()}if(i&2){let n=a.$implicit,e=a.$index,t=d(3);xe("id",e),l(4),ve("",t.panelOpenState.includes(e)?"-":"+"," ",n.Title,""),l(),$(n.HtmlContent?5:-1)}}function il(i,a){if(i&1&&(s(0,"mat-accordion",4)(1,"mat-expansion-panel",9)(2,"mat-expansion-panel-header")(3,"mat-panel-title",10),g(4,"Learn More"),c()(),s(5,"div"),Re(6,tl,6,4,"mat-accordion",11,Ve),c()()()),i&2){let n=d(2);l(6),Ge(n.productClassDetails.FAQArea)}}function nl(i,a){if(i&1){let n=M();s(0,"div")(1,"app-productfilters",15),b("applyFilters",function(t){x(n);let o=d(2);return v(o.ApplyFilters(t))})("clearAllFilters",function(){x(n);let t=d(2);return v(t.ClearAllFilters())}),c()()}if(i&2){let n=d(2);l(),p("plmAttributes",n.PlmAttributes)("facets",n.Facets)("appliedFilters",n.AppliedFilters)("dropdownFilters",n.productClassDetails.DropdownFilters)}}function ol(i,a){i&1&&(s(0,"div",5)(1,"div",16)(2,"div",17),g(3," We Can't find a sensor in stock that meets your requirements. All is not lost! "),P(4,"br"),g(5," Contact our sales department, so we can better understand your needs and help "),P(6,"br"),g(7," you find the sensor you need. "),c(),s(8,"div",18)(9,"button",19),g(10," Chat with sales below, or send us an email "),c()(),s(11,"div")(12,"a",20),g(13,"[email protected]"),c()()()())}function rl(i,a){if(i&1&&(P(0,"div",25),A(1,"safeHtml")),i&2){let n=d(2).$implicit;p("innerHtml",V(1,1,n.Description),R)}}function al(i,a){if(i&1){let n=M();s(0,"div",22)(1,"div",23)(2,"div",24),g(3),c(),u(4,rl,2,3,"div",25),c(),s(5,"div",26)(6,"img",27),b("error",function(t){x(n);let o=d(4);return v(o.errorHandle(t))}),c()()()}if(i&2){let n=d().$implicit;l(3),S("",n.Title," "),l(),$(n.Description?4:-1),l(2),D("alt",n.ImageAltText),p("src",n.ImageUrl,L)}}function sl(i,a){if(i&1){let n=M();s(0,"a",29),b("click",function(){x(n);let t=d().$implicit,o=d(4);return v(o.trackSeries_gql(t))}),s(1,"h2",30),g(2),c(),s(3,"img",31),b("error",function(t){x(n);let o=d(5);return v(o.errorHandle(t))}),c(),s(4,"div",32)(5,"span",33),g(6),c(),s(7,"span",34),g(8),c()()()}if(i&2){let n=d().$implicit,e=d(4);ni("routerLink","/store/",e.productClassId,"/",n.RouteSegment,""),l(2),S(" ",n.OracleName,""),l(),D("alt",n.ImageAltText),p("src",n.ImageUrl,L),l(3),y(n.FullCode),l(2),S("",n.ProductsCount," Products")}}function ll(i,a){if(i&1&&u(0,sl,9,8,"a",28),i&2){let n=a.$implicit;$(n.WebEnabled?0:-1)}}function cl(i,a){if(i&1&&(s(0,"div"),u(1,al,7,4,"div",22),s(2,"div"),Re(3,ll,1,1,null,null,Ve),c()()),i&2){let n=a.$implicit,e=d(3);Le(e.displayGroupHeader(e.filteredProductSeriesGroup)?"product-series":""),l(),$(e.displayGroupHeader(e.filteredProductSeriesGroup)?1:-1),l(),Le(e.displayGroupHeader(e.filteredProductSeriesGroup)?"product-serie-cards":"product-serie-cards-not-grouped"),l(),Ge(n.ProductSeries)}}function dl(i,a){if(i&1&&Re(0,cl,5,5,"div",21,Ve),i&2){let n=d(2);Ge(n.filteredProductSeriesGroup)}}function pl(i,a){if(i&1&&(P(0,"div",6),A(1,"safeHtml")),i&2){let n=d(2);p("innerHtml",V(1,1,n.productClassDetails.Details),R)}}function ml(i,a){if(i&1&&(s(0,"div",1),P(1,"app-breadcrumbs",2),u(2,Xs,4,2,"div",3)(3,il,8,0,"mat-accordion",4)(4,nl,2,4,"div"),s(5,"div"),u(6,ol,14,0,"div",5)(7,dl,2,0),c(),u(8,pl,2,3,"div",6),c()),i&2){let n=d();l(),p("breadcrumbs",ce(9,Zs,te(6,Qs),ge(7,Js,n.productClassDetails.Name))),l(),$(n.productClassDetails.Name?2:-1),l(),$((n.productClassDetails.FAQArea==null?null:n.productClassDetails.FAQArea.length)>0?3:-1),l(),$(n.productClassDetails.ProductSeries.length>0?4:-1),l(2),$(n.filteredProductSeriesGroup!=null&&n.filteredProductSeriesGroup.length?7:6),l(2),$(n.productClassDetails.Details?8:-1)}}function ul(i,a){i&1&&(s(0,"div")(1,"div",35)(2,"div",36),P(3,"mat-progress-spinner",37),c()()())}var On=(()=>{let a=class a{constructor(e,t,o,m,_,h,C){r(this,"route");r(this,"_seoClientService");r(this,"router");r(this,"platformId");r(this,"_loaderService");r(this,"gtmService");r(this,"storeService");r(this,"NoImagePath",N.NoImagePath);r(this,"ngUnsubscribe",new q);r(this,"productClassId","");r(this,"productClassName","");r(this,"SelectedMetricFiltersData");r(this,"filterattributes");r(this,"filterProductSeriesData");r(this,"filtersubclass",[]);r(this,"searchText");r(this,"filtersxpandStatus");r(this,"isAdmin",!1);r(this,"userGroups");r(this,"isWebEnableGroup",!1);r(this,"EBSAttributesSortOrderData");r(this,"productClassDetails");r(this,"PlmAttributes");r(this,"AvailableItemNumbers");r(this,"Facets");r(this,"AppliedFilters",{});r(this,"filteredProductSeriesGroup",[]);r(this,"panelOpenState",[]);r(this,"isLoading",!1);r(this,"initialSetup",!1);r(this,"subclassNames",[]);this.route=e,this._seoClientService=t,this.router=o,this.platformId=m,this._loaderService=_,this.gtmService=h,this.storeService=C}ngOnInit(){this.isAdmin=!1,this.GetUserRole(),this.isLoading=!0,this.initializeContentSavedHandler(),this.route.url.pipe(I(this.ngUnsubscribe)).subscribe(()=>
3{this.productClassId=this.route.snapshot.paramMap.get("productClassId"),this.loadContentGraphData()})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}initializeContentSavedHandler(){if(G(this.platformId)){let e=this;ut(t=>{t.properties.forEach(function(o){if(o.successful)switch(o.name){case"icontent_name":e.productClassDetails.Name=o.value;break;case"description":e.productClassDetails.Description=o.value;break;default:e.productClassDetails[o.name]=o.vame}})})}}openAccordion(e){if(this.panelOpenState.includes(e)){let t=this.panelOpenState.indexOf(e);this.panelOpenState.splice(t,1)}else this.panelOpenState.push(e)}ApplyFilters(e){if(this.AppliedFilters=le({},e),Object.keys(this.AppliedFilters).length>0){let t=this.productClassDetails.ProductSeries.map(m=>m.GuidValue);this.productClassDetails?.ProductSubclassesCategories?.length>0&&(t=t.filter(m=>this.productClassDetails.ProductSubclassesCategories.some(_=>_.ProductCategoryGuid===m))),this.storeService.GetFacetsWithFilters(this.PlmAttributes,t,this.productClassDetails.GuidValue,this.subclassNames,this.AppliedFilters,this.AvailableItemNumbers,!this.isAdmin).pipe(I(this.ngUnsubscribe)).subscribe(m=>{this.loadData(m,m?.facets?.ProductCategory)});let o=this.PlmAttributes.filter(m=>m.IsMetricUnit)?.map(m=>m.SanitizedName);localStorage.setItem("AppliedFielters",JSON.stringify({AppliedFilters:this.AppliedFilters,MetricFilters:o}))}else this.ClearAllFilters()}ClearAllFilters(){if(this.AppliedFilters={},this.TrackClearAll(),localStorage.removeItem("AppliedFielters"),this.initialSetup){this.initialSetupData(this.PlmAttributes,this.productClassDetails.ProductSeries.map(e=>e.GuidValue));return}this.Facets=this.productClassDetails.Facets;for(let e in this.Facets)this.Facets.hasOwnProperty(e)&&Array.isArray(this.Facets[e].Values)&&this.Facets[e].Values.forEach(t=>{t.isChecked=!1});this.setupFilteredProducts(this.productClassDetails.ProductCategory,!0)}buildFacetsData(e){let t={};return this.PlmAttributes.forEach(o=>{let m=o.SanitizedName;t[m]=Ce.Map(e.facets.hasOwnProperty(m)?e.facets[m]:null,o.MeasureUnits,this.subclassNames),this.AppliedFilters.hasOwnProperty(m)&&(t[m].Values.forEach(_=>{_.isChecked=_.name.some(h=>this.AppliedFilters[m].some(C=>C==h))}),this.AppliedFilters[m]=this.AppliedFilters[m].filter(_=>t[m]?.Values?.some(h=>h.name.some(C=>_.includes(C)))))}),t}loadData(e,t,o=!1){this.Facets=this.buildFacetsData(e),this.setupFilteredProducts(t,o),this.isLoading=!1}setupFilteredProducts(e,t=!1){this.filteredProductSeriesGroup=this.productClassDetails.ProductSeriesGroup,this.attachProductCountForProductSeries(e),t||(this.filteredProductSeriesGroup=this.getProductSeriesGroupsWithProductsAndWebEnabled(this.productClassDetails.ProductSeriesGroup))}attachProductCountForProductSeries(e){this.filteredProductSeriesGroup.forEach(t=>t.ProductSeries.forEach(o=>{let m=e.GuidValue.filter(_=>_.name==o.GuidValue);o.ProductsCount=m.length>0?m[0].count:0}))}getProductSeriesGroupsWithProductsAndWebEnabled(e){return e.map(t=>ye(le({},t),{ProductSeries:t.ProductSeries.filter(o=>o?.ProductsCount>0&&o.WebEnabled)})).filter(t=>t.ProductSeries.length>0)}displayGroupHeader(e){return e?.length>1}initialSetupData(e,t){this.storeService.GetFacets(e,t,this.productClassDetails.GuidValue,this.subclassNames,this.AvailableItemNumbers,!this.isAdmin).pipe(I(this.ngUnsubscribe)).subscribe(o=>{this.productClassDetails.ProductCategory=o?.facets?.ProductCategory,this.loadData(o,o?.facets?.ProductCategory,!1),this.productClassDetails.Facets=this.Facets,this.initialSetup=!0})}getAppliedFilters(){if(!G(this.platformId))return{};let e=localStorage.getItem("AppliedFielters");if(e!=null&&e!==""){let t=JSON.parse(e);return t.MetricFilters?.length>0&&this.PlmAttributes.forEach(o=>{t.MetricFilters.includes(o.SanitizedName)&&(o.IsMetricUnit=!0)}),t.AppliedFilters}return{}}loadContentGraphData(){this.storeService.GetProductClassDetails(this.productClassId).pipe(I(this.ngUnsubscribe)).subscribe(e=>{this.productClassDetails=e,this.productClassName=this.productClassDetails.Name;let t=e.ProductSeries.map(m=>m.GuidValue);if(this.productClassDetails?.ProductSubclassesCategories?.length>0&&(t=t.filter(m=>this.productClassDetails.ProductSubclassesCategories.some(_=>_.ProductCategoryGuid===m))),e.ProductSubclassesCategories?.length>0){let m=e.ProductSubclassesCategories.filter(_=>t.includes(_.ProductCategoryGuid));this.subclassNames=m.map(_=>_.SubClass?.trim()),this.subclassNames=[...new Set(this.subclassNames)]}let o=e.ProductSeries.map(m=>m.ExternalId);ae({availableItemNumbers:this.storeService.GetAvailableItemNumbers(o,[]).pipe(I(this.ngUnsubscribe)),plmAttributes:this.storeService.GetPLMAttributes(this.subclassNames).pipe(I(this.ngUnsubscribe))}).subscribe(({availableItemNumbers:m,plmAttributes:_})=>{this.AvailableItemNumbers=m,this.PlmAttributes=_,this.PlmAttributes.forEac
3h(C=>{C.IsMetricUnit=!1});let h=this.getAppliedFilters();h!=null&&Object.keys(h).length>0?(this.ApplyFilters(h),this.initialSetup=!1):this.initialSetupData(_,t),this.updateSEODetails(e.SeoInformation),this.measureProductImpressions_gql()})})}trackSeries_gql(e){let t=le({},e);t.Description=e.Name,this.TrackSeries(t)}measureProductImpressions_gql(){let e=[];this.productClassDetails.ProductSeries?.forEach((t,o)=>{e.push({name:t.Name,id:t.FullCode,creative:this.productClassDetails.Name,position:`slot1|${o+1}`})}),e.length>0&&this.pushImpressionstoGTM(e)}updateSEODetails(e){e.Title||(e.Title=this.productClassDetails.Name),this._seoClientService.updateSEODetails(e)}trackFilterChanges(e,t,o){switch(e){case"attributeFilter":this.TrackFilterAttribute(t.DisplayName,o.isChecked,o.FilterValue,o.MetricFilterValue,t.IsMetricUnit,t.IsToggleAttrib);break;case"metricUnitToggle":this.TrackCapacityToggle(t.DisplayName);break}}GetUserRole(){if(!G(this.platformId))return;let e=localStorage.getItem("userGroups");this.isWebEnableGroup=!1,e&&(this.userGroups=JSON.parse(e),this.isWebEnableGroup=this.userGroups.filter(t=>t.Name.toLowerCase()==="nonweb group").length>0),localStorage.getItem("roles")&&(this.isAdmin=localStorage.getItem("roles").toLowerCase().indexOf("applicationadministrator")>=0),this.isAdmin&&(e?this.isWebEnableGroup?this.isAdmin=!0:this.isAdmin=!1:this.isAdmin=!1)}TrackFilterAttribute(e,t,o,m,_,h){if(!t){_&&h&&(o=m);let C={event:this.productClassId+"_page",eventCategory:this.productClassId+"_page",eventAction:e,eventLabel:o,pageURL:this.router.url,userId:this.GetUserName()};this.gtmService.pushTag(C)}}TrackShowMoreorLessFilter(e,t){let o={event:this.productClassId+"_page",eventCategory:this.productClassId+"_page",eventAction:e,eventLabel:t,pageURL:this.router.url,userId:this.GetUserName()};this.gtmService.pushTag(o)}TrackShareFilter(){let e={event:this.productClassId+"_page",eventCategory:this.productClassId+"_page",eventAction:"share_click",eventLabel:this.router.url,userId:this.GetUserName()};this.gtmService.pushTag(e)}TrackClearAll(){let e={event:this.productClassId+"_page",eventCategory:this.productClassId+"_page",eventAction:"clear_all_click",eventLabel:this.router.url,userId:this.GetUserName()};this.gtmService.pushTag(e)}TrackCapacityToggle(e){this.TrackGTMChanges(this.productClassId+"_page",this.productClassId+"_page","toggle_button_click",e)}TrackSeries(e){this.TrackGTMChanges(this.productClassId+"_page",this.productClassId+"_page","Family_click",e.FullCode);let t={event:"promotionClick",ecommerce:{promoClick:{promotions:[{name:e.Description,id:e.FullCode,creative:this.productClassName,position:"slot1|1"}]}}};this.gtmService.pushTag(t)}TrackGTMChanges(e,t,o,m){let _={event:e,eventCategory:t,eventAction:o,eventLabel:m,pageURL:this.router.url,userId:this.GetUserName()};this.gtmService.pushTag(_)}GetUserName(){return localStorage.getItem("userId")??""}errorHandle(e){e.target.src=this.NoImagePath}batchArray(e){let t=8,o=[];for(let m=0;m<e.length;m+=t)o.push(e.slice(m,m+t));return o}pushImpressionstoGTM(e){this.batchArray(e).forEach(o=>{let m={event:"promotionImpression",ecommerce:{promoView:{promotions:o}}};this.gtmService.pushTag(m)})}};r(a,"\u0275fac",function(t){return new(t||a)(f(ie),f(Q),f(ne),f(X),f(W),f(re),f(j))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-productseries"]],features:[ee([At,pn])],decls:3,vars:2,consts:[[1,"main-panel"],[1,"panel-wrapper"],[3,"breadcrumbs"],[1,"header"],[1,"main-accordion"],[1,"product-cards"],["data-epi-edit","Details",1,"text-m","mt-4",3,"innerHtml"],[1,"h5"],["data-epi-edit","Description",1,"text-l","header-description",3,"innerHtml"],["data-epi-edit","FAQArea"],[1,"link-more","text-l","semibold"],[1,"faq-accordion","text-m"],["hideToggle","",3,"click"],[1,"link-more","text-m"],[1,"prodctaccsensortextb1",3,"innerHtml"],[3,"applyFilters","clearAllFilters","plmAttributes","facets","appliedFilters","dropdownFilters"],[1,"no-products"],[1,"text-l","description"],[1,"text-l"],["onclick","olark('api.box.expand')",1,"chatbtnview"],["href","mailto:[email protected]",1,"productfutekmail"],[3,"class"],[1,"product-series__header"],[1,"product-series__header-content"],[1,"product-series__header-title","text-xl","bold","text-color-primary"],[1,"text-l","regular","text-color-secondary","header-description",3,"innerHtml"],[1,"product-series__header-img"],["width","200",3,"error","src","alt"],[1,"product-cards__card",3,"routerLink"],[1,"product-cards__card",3,"click","routerLink"],[1,"text-l","break-word","semibold","text-color-primary"],["height","212","width","200",1,"product-cards__card-img",3,"error","src","alt"],[1,"product-cards__card-detail
3s"],[1,"text-m","semibold","text-color-secondary"],[1,"text-m","text-color-tertiary"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(t,o){t&1&&(s(0,"div",0),u(1,ml,9,12,"div",1)(2,ul,4,0,"div"),c()),t&2&&(l(),$(o.productClassDetails&&!o.isLoading?1:-1),l(),$(o.isLoading?2:-1))},dependencies:[bt,xt,vt,Ct,J,he,oe,Gt,pe],styles:[".panel-wrapper[_ngcontent-%COMP%]{color:var(--text-primary)}.panel-wrapper[_ngcontent-%COMP%] .header[_ngcontent-%COMP%]{margin-bottom:.75rem}.panel-wrapper[_ngcontent-%COMP%] .header-description[_ngcontent-%COMP%]{overflow:hidden}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;width:100%;margin-right:-1.25rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%]{text-align:center;width:100%}.panel-wrapper[_ngcontent-%COMP%] .product-cards[_ngcontent-%COMP%] .no-products[_ngcontent-%COMP%] .description[_ngcontent-%COMP%]{margin-bottom:1rem}.panel-wrapper[_ngcontent-%COMP%] .product-series[_ngcontent-%COMP%]{border:1px solid var(--action-primary-disabled);border-radius:4px;margin-bottom:3.125rem}.panel-wrapper[_ngcontent-%COMP%] .product-series[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}.panel-wrapper[_ngcontent-%COMP%] .product-series__header[_ngcontent-%COMP%]{padding:1.25rem 1.875rem;display:flex;justify-content:space-between;gap:2.5rem}@media screen and (max-width:769px){.panel-wrapper[_ngcontent-%COMP%] .product-series__header[_ngcontent-%COMP%]{flex-wrap:wrap;gap:1rem}}.panel-wrapper[_ngcontent-%COMP%] .product-series__header[_ngcontent-%COMP%] .product-series__header-img[_ngcontent-%COMP%]{max-height:13.25rem;height:100%;object-fit:contain}.panel-wrapper[_ngcontent-%COMP%] .product-series__header[_ngcontent-%COMP%] .product-series__header-title[_ngcontent-%COMP%]{padding-bottom:.875rem}.panel-wrapper[_ngcontent-%COMP%] .product-serie-cards[_ngcontent-%COMP%]{padding:0 0 1.5rem 2rem;display:flex;flex-wrap:wrap;width:100%;gap:1.25rem}@media screen and (max-width: 1440px){.panel-wrapper[_ngcontent-%COMP%] .product-serie-cards[_ngcontent-%COMP%]{gap:1rem}}@media screen and (max-width: 767px){.panel-wrapper[_ngcontent-%COMP%] .product-serie-cards[_ngcontent-%COMP%]{padding:0 1rem 1.5rem}}.panel-wrapper[_ngcontent-%COMP%] .product-serie-cards-not-grouped[_ngcontent-%COMP%]{padding:0;display:flex;flex-wrap:wrap;width:100%;gap:1.25rem}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(20% - 1.25rem);display:flex;flex-direction:column;justify-content:space-between;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;min-height:230px}@media screen and (max-width:1200px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(100% * (1/3) - 1.25rem)}}@media screen and (max-width:769px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:calc(50% - 1.25rem)}}@media screen and (max-width:460px){.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]{width:100%;margin-right:0}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-details[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.panel-wrapper[_ngcontent-%COMP%] .product-cards__card[_ngcontent-%COMP%] .product-cards__card-img[_ngcontent-%COMP%]{max-height:13.25rem;height:100%;width:100%;object-fit:contain}.prodctaccsensortextb1[_ngcontent-%COMP%]{font-size:10pt;text-align:left;width:100%;font-family:Nunito Sans,sans-serif}.mat-expansion-panel-body[_ngcontent-%COMP%]{padding:0 16px 16px!important}#olark-container[_ngcontent-%COMP%]{box-shadow:0 1px 2px #00000026!important}@media (min-width: 768px) and (max-width: 990px){input.mat-mdc-input-element[_ngcontent-%COMP%]{margin-top:0}}.loader-overlay[_ngcontent-%COMP%]{position:absolute;width:100%;top:0}.loadingpanel3[_ngcontent-%COMP%]{text-align:center;width:100%;background:#0000001f;position:fixed;height:100%;top:0}[_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label{padding:3px 0 0!important}[_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-floating-label--float-above{color:#ca0000!important}[_nghost-%COMP%] .mdc-text-field--filled:not(.mdc-text-field--disabled) .mdc-line-ripple:after{border-bottom-color:#ca0000!important}"]}));let i=a;return i})();var Jt=(i,a)=>{let n=new tt;return n.AccessoryName=i.params.name,n.StockId=i.params.stockid,n.CustomerId=localStorage?parseInt(localStorage.getItem("customerId")):0,Ne(j).GetAccessoryTypeDetails(n)};function gl(i,a){if(i&1&&(s(0,"li",12)(1,"a",13)(2,"span",14),g(3),c(),P(4,"img",15),c()()),i&2){let n=a.$implicit;
3l(),se("routerLink","/",n.RouteSegments,""),l(2),y(n.Title),l(),D("src",n.ImageUrl,L),D("alt",n.ImageAltText)}}function _l(i,a){if(i&1&&(s(0,"ul",10),u(1,gl,5,5,"li",11),c()),i&2){let n=d(2);l(),p("ngForOf",n.storePage.Products)}}function hl(i,a){if(i&1&&(s(0,"div",5)(1,"div",6)(2,"h1",7),g(3),c(),s(4,"p",8),g(5),c()(),u(6,_l,2,1,"ul",9),c()),i&2){let n=d();l(3),y(n.h1Tag),l(2),y(n.storePage.Description),l(),p("ngIf",n.storePage.Products)}}function fl(i,a){if(i&1&&(s(0,"video",27),P(1,"source",28),g(2," Your browser does not support the video tag. "),c()),i&2){let n=d().$implicit;l(),p("src",n.MediaUrl,L)}}function xl(i,a){if(i&1&&P(0,"img",29),i&2){let n=d().$implicit;D("src",n.MediaUrl,L),D("alt",n.Title)}}function vl(i,a){if(i&1&&(s(0,"li",20)(1,"a",21),u(2,fl,3,1,"video",22)(3,xl,1,2,"ng-template",null,0,F),s(5,"div",23)(6,"p",24),g(7),c(),s(8,"p",25),g(9),c(),s(10,"p",26),g(11),c()()()()),i&2){let n=a.$implicit,e=w(4);l(),se("routerLink","/",n.Link.RouteSegments,""),l(),p("ngIf",n.IsVideo)("ngIfElse",e),l(5),y(n.Title),l(2),y(n.Description),l(2),y(n.Link.Text)}}function Cl(i,a){if(i&1&&(s(0,"ul",18),u(1,vl,12,7,"li",19),c()),i&2){let n=d(2);l(),p("ngForOf",n.storePage.Services)}}function bl(i,a){if(i&1&&(s(0,"div",16),u(1,Cl,2,1,"ul",17),c()),i&2){let n=d();l(),p("ngIf",n.storePage.Services)}}function Pl(i,a){i&1&&(s(0,"div")(1,"div",30)(2,"div",31),P(3,"mat-progress-spinner",32),c()()())}var Tn=(()=>{let a=class a{constructor(e,t,o,m,_){r(this,"_storeService");r(this,"_seoClientService");r(this,"_loaderService");r(this,"meta");r(this,"platformId");r(this,"key","");r(this,"StoreData",[]);r(this,"productClasses",[]);r(this,"searchText");r(this,"appendArray",[]);r(this,"FileHostUrl",N.FileHostUrl);r(this,"storeImgPath",N.storeImgPath);r(this,"productDataLoading",!1);r(this,"singlepagedata");r(this,"pagetype");r(this,"accessCode","");r(this,"orderType","");r(this,"webpagetitle","Sensors Measuring: Load | Torque | Multi Axis | Pressure | Force");r(this,"ngUnsubscribe",new q);r(this,"SeoDetail");r(this,"requirementisShow",!0);r(this,"performanceisShow",!0);r(this,"sensorperformanceisShow",!0);r(this,"storePage");r(this,"isLoading",!0);r(this,"h1Tag","");this._storeService=e,this._seoClientService=t,this._loaderService=o,this.meta=m,this.platformId=_}ngOnInit(){G(this.platformId)&&(localStorage.removeItem("SelectedFilterUnit"),localStorage.removeItem("seriesFilters"),localStorage.removeItem("modelFilters"),localStorage.removeItem("modelDetailFilters"),localStorage.removeItem("seriesAttribUnit"),localStorage.removeItem("modelAttribUnit"),localStorage.removeItem("modelDetailAttribUnit")),this._seoClientService.createLinkForCanonicalURL(),this._storeService.GetStorePageDetails().pipe(I(this.ngUnsubscribe)).subscribe(e=>{this.storePage=e,this.updateSEODetails(e.SeoInformation),this.singlepagedata="true",this.accessCode=G(this.platformId)&&sessionStorage.getItem("AccessCode")?sessionStorage.getItem("AccessCode"):"",this.accessCode.substring(0,3)=="Rep"?this.orderType="Repair":this.accessCode.substring(0,3)=="Ret"?this.orderType="Return":this.accessCode.substring(0,2)=="R-"?this.orderType="Recal":this.orderType="Order",this.storePage&&(this.isLoading=!1)})}updateSEODetails(e){e&&e.Title&&e.Title!=""?this._seoClientService.updateTitle(e.Title):this._seoClientService.updateTitle("store"),e&&e.Description&&e.Description!=""?this._seoClientService.updateDescription(e.Description):this.meta.updateTag({name:"description",content:"U.S. manufacturer of sensors measuring load, torque, force, multi axis or pressure with compatible instruments, calibration service, and measurement software."}),e&&e.MetaKeyword&&e.MetaKeyword!=""?this._seoClientService.updateKeywords(e.MetaKeyword):this.meta.updateTag({name:"keywords",content:"Load Cell, Torque Sensor, Multi Axis Sensors, Force Sensor, Pressure Sensor, Custom Sensor, measurement software, Load Sensor, Calibration, U.S. Manufacturer, Made in USA"}),e&&e.H1Tag&&e.H1Tag!=""?this.h1Tag=e.H1Tag:e&&e.Title&&e.Title!=""?this.h1Tag=e.Title:this.h1Tag="Store"}aboutfootertoggleStatus(){this.requirementisShow=!this.requirementisShow}
3MarsaboutfootertoggleStatus(){this.performanceisShow=!this.performanceisShow}sensorfootertoggleStatus(){this.sensorperformanceisShow=!this.sensorperformanceisShow}frameData(e){e.forEach(t=>{this.StoreData.push({categoryName:t.CategoryTitle,imageUrl:`${this.storeImgPath}/content/futek/images/home/store${t.Category}.png`})})}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}applyFilter(e){this.searchText=e}};r(a,"\u0275fac",function(t){return new(t||a)(f(j),f(Q),f(W),f(Se),f(X))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-store"]],features:[ee([j,Oi])],decls:4,vars:3,consts:[["notVideo",""],[1,"main-panel"],["class","panel-wrapper",4,"ngIf"],["class","store__section",4,"ngIf"],[4,"ngIf"],[1,"panel-wrapper"],[1,"store-page__header"],[1,"h5","store-page__header"],[1,"text-l","store-page__subheading"],["class","store__cards-wrapper",4,"ngIf"],[1,"store__cards-wrapper"],["class","store__card-wrapper",4,"ngFor","ngForOf"],[1,"store__card-wrapper"],[1,"store__card","text-color-secondary",3,"routerLink"],[1,"text-color-secondary","text-xl","bold"],[1,"store__card-img",3,"src","alt"],[1,"store__section"],["class","store__services",4,"ngIf"],[1,"store__services"],["class","store__services-item",4,"ngFor","ngForOf"],[1,"store__services-item"],[3,"routerLink"],["autoplay","autoplay","loop","loop","muted","",4,"ngIf","ngIfElse"],[1,"store__services-content"],[1,"store__services-title","text-xl","bold"],[1,"store__services-desc","text-l"],[1,"store__services-link","semibold"],["autoplay","autoplay","loop","loop","muted",""],["type","video/mp4",3,"src"],[1,"store__services-img",3,"src","alt"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(t,o){t&1&&(s(0,"div",1),u(1,hl,7,3,"div",2)(2,bl,2,1,"div",3)(3,Pl,4,0,"div",4),c()),t&2&&(l(),p("ngIf",!o.isLoading),l(),p("ngIf",!o.isLoading),l(),p("ngIf",o.isLoading))},dependencies:[K,H,J,oe],styles:[".panel-wrapper[_ngcontent-%COMP%]{margin:0 auto;padding:3.75rem 7.5rem}@media screen and (max-width: 769px){.panel-wrapper[_ngcontent-%COMP%]{padding:3.75rem .75rem}}@media screen and (max-width: 600px){.panel-wrapper[_ngcontent-%COMP%]{padding:3.75rem .75rem}}.panel-wrapper[_ngcontent-%COMP%] .store-page__header[_ngcontent-%COMP%]{color:#3b3b3b;margin-bottom:.75rem}.panel-wrapper[_ngcontent-%COMP%] .store-page__header[_ngcontent-%COMP%]{margin-bottom:1.88rem}.panel-wrapper[_ngcontent-%COMP%] .store-page__subheading[_ngcontent-%COMP%]{font-weight:500}.panel-wrapper[_ngcontent-%COMP%] .store__cards-wrapper[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:1.88rem;list-style:none;padding:0}@media screen and (max-width: 1024px){.panel-wrapper[_ngcontent-%COMP%] .store__cards-wrapper[_ngcontent-%COMP%]{gap:1rem}}@media screen and (max-width: 600px){.panel-wrapper[_ngcontent-%COMP%] .store__cards-wrapper[_ngcontent-%COMP%]{flex-direction:column}}.panel-wrapper[_ngcontent-%COMP%] .store__card-wrapper[_ngcontent-%COMP%]{width:31%;min-height:230px}.panel-wrapper[_ngcontent-%COMP%] .store__card-wrapper[_ngcontent-%COMP%]:last-of-type{margin-right:0}@media screen and (max-width: 1200px){.panel-wrapper[_ngcontent-%COMP%] .store__card-wrapper[_ngcontent-%COMP%]{width:30%}}@media screen and (max-width: 769px){.panel-wrapper[_ngcontent-%COMP%] .store__card-wrapper[_ngcontent-%COMP%]{width:47%}}@media screen and (max-width: 600px){.panel-wrapper[_ngcontent-%COMP%] .store__card-wrapper[_ngcontent-%COMP%]{width:100%}}.panel-wrapper[_ngcontent-%COMP%] .store__card[_ngcontent-%COMP%]{border:1px solid var(--divider-default);box-shadow:var(--shadow-1);width:100%;height:100%;padding:1.25rem;display:flex;flex-direction:column;justify-content:stretch;gap:.5rem;border-radius:4px}.panel-wrapper[_ngcontent-%COMP%] .store__card-img[_ngcontent-%COMP%]{max-height:10.13rem;height:100%;width:100%;object-fit:contain;align-self:center}.main-panel[_ngcontent-%COMP%] .store__section[_ngcontent-%COMP%]{border-top:1px solid #DFDFDF;margin:0 auto;padding:6.25rem 7.5rem}@media screen and (max-width: 769px){.main-panel[_ngcontent-%COMP%] .store__section[_ngcontent-%COMP%]{padding:1.88rem .75rem 6.25rem}}.main-panel[_ngcontent-%COMP%] .store__services[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;list-style:none;padding:0}@media screen and (max-width: 769px){.main-panel[_ngcontent-%COMP%] .store__services[_ngcontent-%COMP%]{flex-direction:column}}.main-panel[_ngcontent-%COMP%] .store__services-item[_ngcontent-%COMP%]{margin-right:1.88rem;border-radius:4px;border:1px solid #DFDFDF;width:31%;min-height:200px}@media screen and (max-width: 1200px){.main-panel[_ngcontent-%COMP%] .store__services-item[_ngcontent-%COMP%]{width:30%}}@media screen and (max-width: 1024px){.main-panel[_ngcontent-%COMP%] .store__services-item[_ngcontent-%COMP%]{width:45%;margin-bottom:1.88rem}}@media screen and (max-width: 769px){.main-panel[_ngcontent-%COMP%] .store__services-item[_ngcontent-%COMP%]{width:100%}}.main-panel[_ngcontent-%COMP%] .store__services-item[_ngcontent-%COMP%]:is(:nth-child(3), [_ngcontent-%COMP%]:last-of-type){margin-right:0}.main-panel[_ngcontent-%COMP%] .store__services-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}@media screen and (max-width: 769px){.main-panel[_ngcontent-%COMP%] .store__services-item[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{align-items:center}}.main-panel[_ngcontent-%COMP%] .store__services-content[_ngcontent-%COMP%]{padding:1.88rem}.main-panel[_ngcontent-%COMP%] .store__services-img[_ngcontent-%COMP%]{border-radius:4px 4px 0 0;max-height:17.13rem;height:100%;width:auto;object-fit:contain}@media screen and (max-width: 769px){.main-panel[_ngcontent-%COMP%] .store__services-img[_ngcontent-%COMP%]{max-height:10.13rem}}.main-panel[_ngcontent-%COMP%] .store__services-title[_ngcontent-%COMP%]{color:#3b3b3b;margin-bottom:1rem}.main-panel[_ngcontent-%COMP%] .store__services-desc[_ngcontent-%COMP%]{color:#676767;margin-bottom:1.25rem}.main-panel[_ngcontent-%COMP%] .store__services-link[_ngcontent-%COMP%]{color:var(--primary-color-500);font-size:1.125rem}.col-md-10[_ngcontent-%COMP%], .col-md-11[_ngcontent-%COMP%]{float:left}.col-10[_ngcontent-%COMP%], .col-11[_ngcontent-%COMP%], .col-12[_ngcontent-%COMP%], .col[_ngcontent-%COMP%], .col-auto[_ngcontent-%COMP%], .col-sm-1[_ngcontent-%COMP%], .col-sm-2[_ng
3content-%COMP%], .col-sm-3[_ngcontent-%COMP%], .col-sm-4[_ngcontent-%COMP%], .col-sm-5[_ngcontent-%COMP%], .col-sm-6[_ngcontent-%COMP%], .col-sm-7[_ngcontent-%COMP%], .col-sm-8[_ngcontent-%COMP%], .col-sm-9[_ngcontent-%COMP%], .col-sm-10[_ngcontent-%COMP%], .col-sm-11[_ngcontent-%COMP%], .col-sm-12[_ngcontent-%COMP%], .col-sm[_ngcontent-%COMP%], .col-sm-auto[_ngcontent-%COMP%], .col-md-10[_ngcontent-%COMP%], .col-md-11[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%], .col-md[_ngcontent-%COMP%], .col-md-auto[_ngcontent-%COMP%], .col-lg-1[_ngcontent-%COMP%], .col-lg-2[_ngcontent-%COMP%], .col-lg-3[_ngcontent-%COMP%], .col-lg-4[_ngcontent-%COMP%], .col-lg-5[_ngcontent-%COMP%], .col-lg-6[_ngcontent-%COMP%], .col-lg-7[_ngcontent-%COMP%], .col-lg-8[_ngcontent-%COMP%], .col-lg-9[_ngcontent-%COMP%], .col-lg-10[_ngcontent-%COMP%], .col-lg-11[_ngcontent-%COMP%], .col-lg-12[_ngcontent-%COMP%], .col-lg[_ngcontent-%COMP%], .col-lg-auto[_ngcontent-%COMP%], .col-xl-1[_ngcontent-%COMP%], .col-xl-2[_ngcontent-%COMP%], .col-xl-3[_ngcontent-%COMP%], .col-xl-4[_ngcontent-%COMP%], .col-xl-5[_ngcontent-%COMP%], .col-xl-6[_ngcontent-%COMP%], .col-xl-7[_ngcontent-%COMP%], .col-xl-8[_ngcontent-%COMP%], .col-xl-9[_ngcontent-%COMP%], .col-xl-10[_ngcontent-%COMP%], .col-xl-11[_ngcontent-%COMP%], .col-xl-12[_ngcontent-%COMP%], .col-xl[_ngcontent-%COMP%], .col-xl-auto[_ngcontent-%COMP%]{position:relative;width:100%;min-height:1px;padding-right:0;padding-left:0}.mat-mdc-button[_ngcontent-%COMP%], .mat-mdc-unelevated-button[_ngcontent-%COMP%], .mat-mdc-icon-button[_ngcontent-%COMP%], .mat-mdc-outlined-button[_ngcontent-%COMP%]{padding:0}.clearstore[_ngcontent-%COMP%]{height:50px;width:100%}.col-10[_ngcontent-%COMP%], .col-11[_ngcontent-%COMP%], .col-12[_ngcontent-%COMP%], .col-auto[_ngcontent-%COMP%], .col-lg[_ngcontent-%COMP%], .col-lg-1[_ngcontent-%COMP%], .col-lg-10[_ngcontent-%COMP%], .col-lg-11[_ngcontent-%COMP%], .col-lg-12[_ngcontent-%COMP%], .col-lg-2[_ngcontent-%COMP%], .col-lg-3[_ngcontent-%COMP%], .col-lg-4[_ngcontent-%COMP%], .col-lg-5[_ngcontent-%COMP%], .col-lg-6[_ngcontent-%COMP%], .col-lg-7[_ngcontent-%COMP%], .col-lg-8[_ngcontent-%COMP%], .col-lg-9[_ngcontent-%COMP%], .col-lg-auto[_ngcontent-%COMP%], .col-md[_ngcontent-%COMP%], .col-md-10[_ngcontent-%COMP%], .col-md-11[_ngcontent-%COMP%], .col-md-12[_ngcontent-%COMP%], .col-md-auto[_ngcontent-%COMP%], .col-sm[_ngcontent-%COMP%], .col-sm-1[_ngcontent-%COMP%], .col-sm-10[_ngcontent-%COMP%], .col-sm-11[_ngcontent-%COMP%], .col-sm-12[_ngcontent-%COMP%], .col-sm-2[_ngcontent-%COMP%], .col-sm-3[_ngcontent-%COMP%], .col-sm-4[_ngcontent-%COMP%], .col-sm-5[_ngcontent-%COMP%], .col-sm-6[_ngcontent-%COMP%], .col-sm-7[_ngcontent-%COMP%], .col-sm-8[_ngcontent-%COMP%], .col-sm-9[_ngcontent-%COMP%], .col-sm-auto[_ngcontent-%COMP%], .col-xl[_ngcontent-%COMP%], .col-xl-1[_ngcontent-%COMP%], .col-xl-10[_ngcontent-%COMP%], .col-xl-11[_ngcontent-%COMP%], .col-xl-12[_ngcontent-%COMP%], .col-xl-2[_ngcontent-%COMP%], .col-xl-3[_ngcontent-%COMP%], .col-xl-4[_ngcontent-%COMP%], .col-xl-5[_ngcontent-%COMP%], .col-xl-6[_ngcontent-%COMP%], .col-xl-7[_ngcontent-%COMP%], .col-xl-8[_ngcontent-%COMP%], .col-xl-9[_ngcontent-%COMP%], .col-xl-auto[_ngcontent-%COMP%]{padding-right:0!important;padding-left:0!important}"]}));let i=a;return i})();var Dn=nt(Ot());var zt=(()=>{let a=class a{constructor(e){r(this,"http");r(this,"baseUrl",N.baseUrl);this.http=e}GetObseleteProductModelDetails(e,t,o){return this.http.get(this.baseUrl+"/store/category/GetObseleteProductModelDetails/"+e+"/"+t+"/"+o)}GetObsoleteModelDetails(e){return this.http.post(N.GraphQLURL,Ie.GetObsoleteModelDetailsBody(e)).pipe(Ie.GetObsoleteModelDetailsMapper)}};r(a,"\u0275fac",function(t){return new(t||a)(st(pt))}),r(a,"\u0275prov",rt({token:a,factory:a.\u0275fac,providedIn:"root"}));let i=a;return i})();var yl=["modelgalleryContainer"];function Sl(i,a){i&1&&z(0)}function wl(i,a){if(i&1&&u(0,Sl,1,0,"ng-container",21),i&2){d();let n=w(25);p("ngTemplateOutlet",n)}}function Il(i,a){i&1&&z(0)}function Ol(i,a){if(i&1&&u(0,Il,1,0,"ng-container",21),i&2){d();let n=w(27);p("ngTemplateOutlet",n)}}function Tl(i,a){i&1&&z(0)}function Dl(i,a){if(i&1&&u(0,Tl,1,0,"ng-container",21),i&2){d();let n=w(29);p("ngTemplateOutlet",n)}}function kl(i,a){i&1&&z(0)}function El(i,a){if(i&1&&(s(0,"div"),u(1,kl,1,0,"ng-container",21),c()),i&2){d();let n=w(25);l(),p("ngTemplateOutlet",n)}}function Al(i,a){i&1&&z(0)}function Fl(i,a){if(i&1&&(s(0,"div"),u(1,Al,1,0,"ng-container",21),c()),i&2){d();let n=w(27);l(),p("ngTemplateOutlet",n)}}function Nl(i,a){i&1&&z(0)}function Ul(i,a){if(i&1&&(s(0,"div"),u(1,Nl,1,0,"ng-container",21),c()),i&2){d();let n=w(29);l(),p("ngTemplateOutlet",n)}}function Ll(i,a){if(i&1&&(s(0,"div",22)(1,"div",23)(2,"div",24),P(3,"app-image-gallery",25),c(),s(4,"div",24)(5,"div",26),g(6),c(),P(7,"div",27),A(8,"safeHtml"),c()()()),i&2){let n=d(2);l(3),p("model",n.legacyModelitems),l(3),y(n.Name),l(),p("innerHTML",V(8,3,n.ModelDescription),R)}}function Vl(i,a){if(i&1){let n=M();s(0,"app-model-products",28),b("TrackItemClick",function(){x(n);let t=d(2);return v(t.trackItemClick())}),c()}if(i&2){let n=d(2);p("modelData",n.ProductModelsTab)("settings",n.ProductModelSettings)("legacyProduct",!0)}}function Rl(i,a){if(i&1){let n=M();s(0,"app-supportdocs",29),b("OpenSpecDocument",function(t){x(n);let o=d(2);return v(o.OpenSpecDocument(t))}),c()}if(i&2){let n=d(2);p("SupportDocuments",n.SupportDocuments)}}function Gl(i,a){if(i&1&&(s(0,"div",6)(1,"h1",7),g(2),c(),s(3,"mat-tab-group",8)(4,"mat-tab",9),u(5,wl,1,1,"ng-template",10),c(),s(6,"mat-tab",11),u(7,Ol,1,1,"ng-template",10),c(),s(8,"mat-tab",12),u(9,Dl,1,1,"ng-template",10),c()(),s(10,"div",13)(11,"mat-form-field",14),P(12,"mat-label"),s(13,"mat-select",15)(14,"mat-option",16),g(15," Overview "),c(),s(16,"mat-option",17),g(17," Item Number "),c(),s(18,"mat-option",18),g(19," Resources "),c()()()(),s(20,"div",19),u(21,El,2,1,"div",20)(22,Fl,2,1,"div",20)(23,Ul,2,1,"div",20),c(),u(24,Ll,9,5,"ng-template",null,1,F)(26,Vl,1,3,"
3ng-template",null,2,F)(28,Rl,1,1,"ng-template",null,3,F),c()),i&2){let n=d();l(2),S(" ",n.Description," "),l(),p("selectedIndex",n.selectedTabIndex),l(10),p("formControl",n.selectedSubmenu),l(8),p("ngIf",n.selectedSubmenu.value==="overview"),l(),p("ngIf",n.selectedSubmenu.value==="productmodels"),l(),p("ngIf",n.selectedSubmenu.value==="supportDocs")}}function zl(i,a){i&1&&(s(0,"div",30)(1,"div",31),P(2,"mat-progress-spinner",32),c()())}var kn=(()=>{let a=class a{constructor(e,t,o,m,_,h,C,T,Y){r(this,"route");r(this,"_SubCustomservicesService");r(this,"storeService");r(this,"_seoClientService");r(this,"_loaderService");r(this,"routerExtService");r(this,"_domSanitizer");r(this,"_elementRef");r(this,"modellightGallery");r(this,"slideConfig",{slidesToShow:4,slidesToScroll:1,nextArrow:"<div class='nav-btn next-slide' id='caraouselnextbtn'><span class='material-icons submodelleftarrowiconm2'>keyboard_arrow_right</span></div>",prevArrow:"<div class='nav-btn prev-slide' id='caraouselprevbtn'><span class='material-icons submodelleftarrowiconm1'>keyboard_arrow_left</span></div>",dots:!1,infinite:!1,speed:50});r(this,"ngUnsubscribe",new q);r(this,"FileHostUrl",N.FileHostUrl);r(this,"NoImagePath",N.NoImagePath);r(this,"LightgalleryLicenseKey",N.lightGalleryLicenseKey);r(this,"CategoryName","");r(this,"SubCategoryName","");r(this,"Model","");r(this,"ModelInfo",{});r(this,"Products",[]);r(this,"Applications",[]);r(this,"ModelDescription","");r(this,"Name","");r(this,"displayedColumns",["item","lb","length","width","height","weight","outerDiameter"]);r(this,"dataSource");r(this,"specSheetUrl");r(this,"SelectedImage","");r(this,"productFilters",{});r(this,"filterattributes");r(this,"model","");r(this,"filtersubclass",[]);r(this,"className");r(this,"ProductClass");r(this,"morefittershowpanel",!1);r(this,"filters",[]);r(this,"ProductModelDetail",[]);r(this,"objectKeys",{});r(this,"ProductColumns",[]);r(this,"webEnable");r(this,"MainImageAltText");r(this,"MainImagePath",null);r(this,"ModelImagesList",[]);r(this,"sort");r(this,"isAdmin",!1);r(this,"isNonWebEnable",!1);r(this,"Description");r(this,"series");r(this,"tempPorducts");r(this,"productDetailsData");r(this,"filterPLMAttributes");r(this,"inStock");r(this,"includeCustom");r(this,"webEnabled");r(this,"inStockTemp");r(this,"includeCustomTemp");r(this,"webEnabledTemp");r(this,"inStockChecked");r(this,"isStock",0);r(this,"isInvAging",!1);r(this,"userGroups");r(this,"nonWebGroup");r(this,"isLandedFromGlobalSearch",!1);r(this,"legacyModelitems",[]);r(this,"legacyModelGalleryImages",[]);r(this,"legacyModelIframeitems",[]);r(this,"ProductModelImageList",[]);r(this,"LegacyModelVideosList",[]);r(this,"ProductModelIframesList",[]);r(this,"isModelBrowser");r(this,"isLegacyData",!1);r(this,"modelSettings");r(this,"isLoading",!1);r(this,"selectedSubmenu",new de("overview"));r(this,"ProductModelsTab");r(this,"ProductModelSettings");r(this,"ProductModelDetails");r(this,"SupportDocuments");r(this,"PlmAttributes");r(this,"tsCond",{IsPrivateBrowswer:!1,popup:!1,popvalue2:!1,IsRegisterUser:!1});r(this,"selectedTabIndex",0);r(this,"liveModel",!0);r(this,"onInit_modelGallery",e=>{this.modellightGallery=e.instance,this.modellightGallery.$container.addClass("myModeldiv"),e.instance.openGallery()});r(this,"currentimageindex");r(this,"leftclick",e=>{this.currentimageindex>0&&(this.currentimageindex=this.currentimageindex-1,this.MainImageChange(this.ModelImagesList[this.currentimageindex]))});r(this,"rightclick",e=>{this.currentimageindex<this.ModelImagesList.length-1&&(this.currentimageindex=this.currentimageindex+1,this.MainImageChange(this.ModelImagesList[this.currentimageindex]))});this.route=e,this._SubCustomservicesService=t,this.storeService=o,this._seoClientService=m,this._loaderService=_,this.routerExtService=h,this._domSanitizer=C,this._elementRef=T,this.isModelBrowser=G(Y)}ngOnInit(){this.modelSettings={counter:!0,closable:!1,showCloseIcon:!1,download:!1,mode:"lg-fade",slideEndAnimation:!0,loadYouTubeThumbnail:!0,addClass:"lg-update-slide-demo",licenseKey:this.LightgalleryLicenseKey,mobileSettings:{controls:!0,closable:!1,showCloseIcon:!1,download:!1,rotate:!0},container:this._elementRef.nativeElement,plugins:[Zi,Ki,Qi,Ji],showMaximizeIcon:!0},this._seoClientService.createLinkForCanonicalURL(),this.isAdmin=!1,this.route.paramMap.subscribe(e=>{this.model=e.get("model")??""}),this.route.queryParamMap.subscribe(e=>{(e.get("tab")??"")==="productmodels"&&(this.selectedTabIndex=1)}),localStorage.getItem("roles")&&(this.isAdmin=localStorage.getItem("roles").toLowerCase().indexOf("applicationadministrator")>=0),localStorage.getItem("userGroups")&&(this.isInvAging=JSON.parse(localStorage.getItem("userGroups")).filter(e=>e.Name=="instock group").length>0),this.isAdmin&&(localStorage.getItem("userGroups")?(this.userGroups=JSON.parse(localStorage.getItem("userGroups")),this.nonWebGroup=this.userGroups.filter(e=>e.Name.toLowerCase()==="nonweb group").length>0,this.nonWebGroup?this.isAdmin=!0:this.isAdmin=!1):this.isAdmin=!1),this.routerExtService.getPreviousUrl(
3)?.toLowerCase().indexOf("search")>=0&&(this.isLandedFromGlobalSearch=!0),this.isLoading=!0,this.LoadGqlData()}loadSupportDocuments(e){let{SpecsheetUrl:t,ExternalLoadUrl:o,Model3DUrl:m}=this.ProductModelDetails;this.SupportDocuments={Model:{ModelNumber:this.ProductModelDetails.ModelNumber,ModelName:this.ProductModelDetails.ModelName},Specs:{ItemNumber:this.ProductModelDetails.ModelNumber,SpecsheetUrl:t,ExternalLoadUrl:o,Model3DUrl:m},ModelDocumentsList:[],VideosList:[]},this.storeService.GetSupportDocsByModel(e).pipe(I(this.ngUnsubscribe)).subscribe(_=>{_.length&&this.setupSupportDocs(_)})}setupSupportDocs(e){e&&(e.forEach(t=>{t.DocumentTitle=t.DocumentName,t.DocumentFilepath=t.SupportDocumentLink,t.DocumentTypeName=t.DocumentType,t.ResourceBucketType=it[t.ResourceBucketType]??null}),this.SupportDocuments.ModelDocumentsList=e.filter((t,o,m)=>o===m.findIndex(_=>_.DocumentTitle!=""&&_.DocumentTitle===t.DocumentTitle&&_.DocumentTypeName?.toLowerCase()!="videos"&&_.DocumentTypeName?.toLowerCase()!="3d model download")),this.SupportDocuments.VideosList=e.filter(t=>+t.ResourceBucketType===it.RELATED_VIDEOS||t?.DocumentTypeName?.toLowerCase()=="videos"))}LoadGqlData(){this._SubCustomservicesService.GetObsoleteModelDetails(this.model).pipe(I(this.ngUnsubscribe)).subscribe(e=>{e&&this.storeService.GetObsoleteProductsByProductModel(e.GuidValue,!this.isAdmin).pipe(I(this.ngUnsubscribe)).subscribe(t=>{this.PlmAttributes=[],this.ProductModelDetails=e,this.setupOverviewTab(),this.setupProductModels(t),this.updateSEOData(),this.loadSupportDocuments(e.ModelNumber),this.isLoading=!1})})}updateSEOData(){if(!this.ProductModelDetails?.SeoInformation){this._seoClientService.updateTitle(this.ProductModelDetails.Name),this._seoClientService.createLinkForCanonicalURL();return}this._seoClientService.updateTitle(this.ProductModelDetails.SeoInformation.Title),this._seoClientService.updateDescription(this.ProductModelDetails.SeoInformation.Description),this._seoClientService.updateKeywords(this.ProductModelDetails.SeoInformation.Keywords),this._seoClientService.createLinkForCanonicalURL()}setupOverviewTab(){this.ModelInfo=this.ProductModelDetails.ModelNumber,this.Name=this.ProductModelDetails.ModelNumber,this.ModelDescription=this.ProductModelDetails.ModelDescription,this.Description=this.ProductModelDetails.Name,this.setupImageGalleryData()}setupImageGalleryData(){let e=this.ProductModelDetails;this.ModelImagesList=e.Images,this.ModelImagesList&&this.ModelImagesList.length>0&&this.ModelImagesList[0].ImageUrl&&(this.legacyModelGalleryImages=this.ModelImagesList.map(t=>({src:t.ImageUrl,thumb:t.ImageUrl,type:"image"}))),this.LegacyModelVideosList=e.ProductVideoModel?.filter(t=>t.Videos!=null)?.map(t=>{let o=t.Videos.split("embed/")[1];return t.ThumbImage=o?`//img.youtube.com/vi/${o}/0.jpg`:"assets/images/3D_miniature.png",t.Videos=this._domSanitizer.bypassSecurityTrustResourceUrl(t.Videos),{src:t.Videos.changingThisBreaksApplicationSecurity,thumb:t.ThumbImage,type:o?"modelLgVideo":"isIframe"}}),this.ProductModelIframesList=[],this.ProductModelIframesList.length>0&&(this.legacyModelIframeitems=this.ProductModelIframesList.map(t=>({src:t.MainImagePath,thumb:"assets/images/3D_miniature.png",type:"iframe"}))),this.legacyModelGalleryImages.length>0||this.LegacyModelVideosList&&this.LegacyModelVideosList.length>0||this.ProductModelIframesList&&this.ProductModelIframesList.length>0?this.legacyModelitems=[...this.legacyModelGalleryImages,...this.LegacyModelVideosList||[],...this.legacyModelIframeitems||[]]:(this.legacyModelitems=[],this.MainImagePath=e.ImageUrl??this.NoImagePath,this.isLegacyData=!0)}setupProductModels(e){this.tsCond.IsRegisterUser=!!localStorage.getItem("firstName"),(0,Dn.detectIncognito)().then(t=>{this.tsCond.IsPrivateBrowswer=t.isPrivate,this.tsCond.IsPrivateBrowswer&&!this.tsCond.IsRegisterUser?this.tsCond.popvalue2=!!sessionStorage.getItem("popupValue"):this.tsCond.popvalue2=!!localStorage.getItem("popupValue")}),this.Products=e.Products,this.ProductModelsTab={Model:{ModelNumber:this.ProductModelDetails.ModelNumber,SpecsheetUrl:this.ProductModelDetails.SpecsheetUrl,ExternalLoadUrl:this.ProductModelDetails.ExternalLoadUrl,Model3DUrl:this.ProductModelDetails.Model3DUrl},Products:e.Products,PlmAttributes:this.PlmAttributes,routeInfo:{productSeries:"legacy-sensors-and-instruments",productModel:this.model,currentProductModel:e?.Products[0]?.RouteSegments?.split("/")?.slice(0,-1)},tsCond:this.tsCond},this.ProductModelSettings={hideFilters:!0,hideLeadTime:!0}}set modelgalleryContainerRef(e){e&&(this._elementRef=e,this.modelSettings.container=this._elementRef.nativeElement)}MainImageChange(e){this.MainImagePath=e.MainImagePath,this.MainImageAltText=e.AltImageText,this.currentimageindex=this.ModelImagesList.map(h=>h.MainImagePath).indexOf(e.MainImagePath);let t=document.querySelector("#caraouselprevbtn"),o=document.querySelector("#caraouselnextbtn"),m=Array.from(document.querySelectorAll(".prodthumbImagepath"));m.forEach(h=>{h.setAttribute("style","border: 0px solid #147acc !important;")});let _=m[this.currentimageindex];_?.setAttribute("style","border-bottom: 1px solid #147acc !important;
3"),this.currentimageindex==0?t?.setAttribute("style","pointer-events: none; opacity: 0.2;"):this.currentimageindex<this.ModelImagesList.length-1&&this.currentimageindex>0?(t?.setAttribute("style","pointer-events: auto; opacity: 1;"),o?.setAttribute("style","pointer-events: auto; opacity: 1;")):this.currentimageindex==this.ModelImagesList.length-1&&o?.setAttribute("style","pointer-events: none; opacity: 0.2;")}ngOnDestroy(){this.ngUnsubscribe.next(),this.ngUnsubscribe.complete(),this._loaderService.hide()}slickInit(e){this.ModelImagesList.length>this.slideConfig.slidesToShow&&(document.querySelector("#caraouselnextbtn").addEventListener("click",this.rightclick.bind(event)),document.querySelector("#caraouselprevbtn").addEventListener("click",this.leftclick.bind(event)),document.querySelector("#caraouselprevbtn").setAttribute("style","pointer-events: none; opacity: 0.2;")),document.querySelectorAll(".prodthumbImagepath")[this.currentimageindex].setAttribute("style","border-bottom: 1px solid #147acc !important;");let t=Array.from(document.querySelectorAll(".slick-slide"));for(let o=0;o<this.slideConfig.slidesToShow-3;o++)t[o].classList.add("custom-image-class")}trackItemClick(){let e=this.getListNameForImpressions();Ee(e,this.model,"legacyProductModelDetails")}getListNameForImpressions(){return this.isLandedFromGlobalSearch?"Global Search":"Legacy Models"}};r(a,"\u0275fac",function(t){return new(t||a)(f(ie),f(zt),f(j),f(Q),f(W),f(me),f(li),f(ct),f(X))}),r(a,"\u0275cmp",U({type:a,selectors:[["app-sub-custom-services"]],viewQuery:function(t,o){if(t&1&&(Bt(Ai,5),Bt(yl,5)),t&2){let m;Ht(m=$t())&&(o.sort=m.first),Ht(m=$t())&&(o.modelgalleryContainerRef=m.first)}},features:[ee([zt])],decls:4,vars:2,consts:[["loader",""],["overviewTab",""],["productModelsTab",""],["supportDocsTab",""],["id","product-details",1,"main-panel","product-details"],["class","product-details__wrapper",4,"ngIf","ngIfElse"],[1,"product-details__wrapper"],[1,"heading-s","product-details-heading","bold"],["mat-stretch-tabs","false","mat-align-tabs","end","preserveContent","",1,"product-details__tabs","no-configure",3,"selectedIndex"],["label","Overview"],["matTabContent",""],["label","Item Number"],["label","Resources"],[1,"product-details__header-mobile"],[1,"product-details__dropdown"],["name","productDetailsMenu",3,"formControl"],["value","overview"],["value","productmodels"],["value","supportDocs"],[1,"mobile-content"],[4,"ngIf"],[4,"ngTemplateOutlet"],[1,"tab-content-section"],[1,"row-wrapper"],[1,"half-section"],[3,"model"],[1,"text-color-tertiary","text-m","content-model-number"],[1,"text-color-secondary","text-l","content-model-def",3,"innerHTML"],[3,"TrackItemClick","modelData","settings","legacyProduct"],[3,"OpenSpecDocument","SupportDocuments"],[1,"loader-overlay-light"],[1,"loadingpanel"],["mode","indeterminate",1,"spinner"]],template:function(t,o){if(t&1&&(s(0,"div",4),u(1,Gl,30,6,"div",5)(2,zl,3,0,"ng-template",null,0,F),c()),t&2){let m=w(3);l(),p("ngIf",!o.isLoading)("ngIfElse",m)}},dependencies:[H,dt,_e,we,He,$e,mt,J,We,Pt,Mt,yt,Xi,Et,Rt,pe],styles:[`@import"https://cdn.jsdelivr.net/npm/[email protected]/css/lightgallery.css";@import"https://cdn.jsdelivr.net/npm/[email protected]/css/lg-zoom.css";@import"https://cdn.jsdelivr.net/npm/[email protected]/css/lg-thumbnail.css";@import"https://cdn.jsdelivr.net/npm/[email protected]/css/lg-rotate.css";@import"https://cdn.jsdelivr.net/npm/[email protected]/css/lg-video.css";.myModeldiv{position:relative;height:350px;width:500px;display:inline-block}#modelLightGallery .lg-outer .lg-thumb-outer{background-color:#fff;display:inline-block;width:100%;max-height:350px}#modelLightGallery .lg-backdrop.in{background-color:#fff}#modelgalleryContainer{width:350px;height:350px}#modelLightGallery .lg-container{top:0;left:0;width:100%}#modelLightGallery .lg-icon{content:"\\e311";color:#000!important}#modelLightGallery .lg-toolbar{background-color:#fff}.mat-table{width:100%!important}.mat-elevation-z8{box-shadow:0 5px 5px -3px #fff3,0 8px 10px 1px #ffffff24,0 3px 14px 2px #ffffff1f;margin-bottom:40px}td.mat-mdc-cell:first-of-type,td.mat-mdc-footer-cell:first-of-type,th.mat-mdc-header-cell:first-of-type{padding-left:5px}.mat-mdc-header-cell{color:#000}.mat-mdc-header-cell{font-size:14px;font-weight:700}.mat-mdc-cell,.mat-mdc-footer-cell{color:#666;font-size:12px}.prodthumbImagepath{text-align:center;border:0px solid #ebeff2;margin:0;height:60px;padding:0;width:85px;cursor:pointer}.subcatModelDescription{font-size:26px;color:#cf102d;line-height:1em;font-family:Nunito Sans,sans-serif;font-weight:200;margin:5px 0}.subcatProductDescription{font-size:14px;line-height:22px;font-family:Nunito Sans,sans-serif;color:#292929;font-weight:700;text-align:justify}.fiiterheadertextv1{font-family:Nunito Sans,sans-serif;font-weight:400;font-size:14px;padding:0;border-bottom:0px solid #b0bfc6;width:234px;float:left;cursor:pointer;height:auto;overflow:auto}.Applicationstextb1{width:100%;padding:20px 0;font-family:Nunito Sans,sans-serif;font-weight:700;font-size:12pt}.applicationtitlesv1img{float:left;width:40%}.col-lg-3{flex:0 0 25%;max-width:25%;padding-right:5px;padding-left:5px;margin-bottom:0}.row{display:flex;flex-wrap:wrap;margin-right:0;margin-left:0}.col-md-9{flex:0 0 75%;max-width:75%;padding-left:0;padding-right:0}.col-lg-6{flex:0 0 50%;max-width:50%;padding-left:0;padding-right:10px}.col-md-3{flex:0 0 25%;max-width:25%;padding-left:0;padding-right:10px}.col-md-6{padding-left:0;padding-right:0}a:hover{color:#cf102d;text-decoration:none}mat-slider{width:204px}.panel-heading.collapsed .fa-chevron-down,.panel-heading .fa-chevron-right{display:none}.panel-heading.collapsed .fa-chevron-right,.panel-heading .fa-chevron-down{display:inline-block}i.fa{cursor:pointer;margin-right:5px}.collapsed~.panel-body{padding:0}.mat-expansion-panel-header{font-family:Nunito Sans,sans-serif!important;font-size:12pt;font-weight:400!important;padding-left:12px!important;padding-right:12px!important}#profile-description{position:relative;height:57px;overflow:hidden;margin-bottom:4px}#profile-description .text{margin-bottom:5px;
3color:#777;padding:0;position:relative;font-family:Arial;font-size:14px;display:block}#profile-description .show-more{color:#147ace;position:relative;font-size:10pt;padding-top:0;height:20px;text-align:right;background:#fff;cursor:pointer;text-decoration:underline;font-family:Nunito Sans,sans-serif;font-weight:400}#profile-description .show-more:hover{color:#1779dd}#profile-description .show-more-height{height:auto;overflow:hidden;max-height:225px;transition:all .3s linear 0s}@keyframes out{0%{box-shadow:0 0 #b4d8ff61}to{box-shadow:0 0 0 20px #cee5ffba}}#capacitiesbarp1::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0,0,0,.3);background-color:#ececec}#capacitiesbarp1::-webkit-scrollbar{width:7px;background-color:#999}#capacitiesbarp1::-webkit-scrollbar-thumb{background-color:#878787;border:2px solid #878787}#subproductssortable tr:nth-child(2n){background-color:#f6f7f9}#subproductssortable tr:hover td{background-color:transparent;color:#666;border-top:0px solid #e6e6e6!important;border-bottom:0px solid #e6e6e6!important}#subproductssortable.productitempanelm1 tr:hover td{color:#fff}table#subproductssortable{font-family:Nunito Sans,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol;border-top:0px solid #fece00;margin:0;width:100%;position:relative}table#subproductssortable tr td{border-right:20px solid white}table#subproductssortable tr th:last-child,table#subproductssortable tr td:last-child{border-right:none}table#subproductssortable thead th{font-size:14px;font-weight:400;padding-left:3px;vertical-align:top;position:relative!important;background:#fff}table#subproductssortable thead th:first-child{width:25%;padding-left:0}table#subproductssortable thead td{background:#eceff1;height:5px;font-size:1px;padding:3px 2px;cursor:pointer;-webkit-transition:all .2s ease-in-out;-moz-transition:all .2s ease-in-out;-o-transition:all .2s ease-in-out;transition:all .2s ease-in-out}table#subproductssortable thead td:hover,table#subproductssortable thead td:focus,table#subproductssortable thead td.sorted{background:#b0bec5}table#subproductssortable thead td a{display:block}table#subproductssortable thead td img{width:7px}table#subproductssortable thead td.descending img{transform:rotate(180deg)}table#subproductssortable tbody td{font-family:Roboto Mono,monospace;font-size:12px;color:#666;padding:7px 5px;border-bottom:0px solid #e6e6e6;height:29px;position:relative!important;z-index:inherit!important;text-align:left;padding-left:10px!important}table#subproductssortable tbody tr{cursor:pointer;position:relative;border-bottom:1px solid #e6e6e6}table#subproductssortable tbody tr:hover:after,table#subproductssortable tbody tr:focus:after{opacity:1}@media only screen and (max-width: 768px){.subcatModelDescription{margin-top:35px;line-height:24px}.scroll thead th{flex:1 auto;display:block;border-left:1px solid #dedede;font-size:8pt;font-family:Nunito Sans,sans-serif;color:#383838;padding:5px;width:1px;word-break:break-word;text-transform:uppercase;border-top:1px solid #dedede;border-bottom:1px solid #dedede;border-right:1px solid #dedede;font-weight:400;max-width:98%}#profile-description{position:relative;height:57px;overflow:hidden;margin-bottom:4px;text-align:justify;width:94%}.outpanelm1{font-size:9pt}.defproductDetextv4{padding-left:12px}}.main-panel.product-details{background-color:var(--white-color);color:var(--text-primary);width:100%}.main-panel.product-details .row-wrapper{padding-top:3rem;display:flex;flex-wrap:wrap;gap:3rem;justify-content:space-between;width:100%}@media screen and (max-width: 1024px){.main-panel.product-details .row-wrapper{gap:1rem}}@media screen and (max-width: 768px){.main-panel.product-details .row-wrapper{padding-top:.75rem}}.main-panel.product-details .half-section{width:47%;min-height:600px}@media screen and (max-width: 768px){.main-panel.product-details .half-section{width:100%;min-height:initial}}.main-panel.product-details .content-model-number{margin-bottom:.5rem}.main-panel.product-details .content-model-def{padding-bottom:1.25rem}.main-panel.product-details .product-details__wrapper{background-color:var(--white-color);display:flex;position:relative}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__wrapper{flex-direction:column}}.main-panel.product-details .product-details__wrapper .primary-button{font-size:var(--text-m-font-size);line-height:var(--text-m-line-height);width:auto;padding:.5rem 1rem}.main-panel.product-details .product-details__wrapper .tab-button{position:fixed;top:5.5rem;right:1.25rem;margin:0}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__wrapper .tab-button{position:static}}.main-panel.product-details .product-details__wrapper .product-details__header-mobile{display:none;align-items:center;justify-content:space-between;padding:0 .75rem .5rem;border-bottom:1px solid var(--action-primary-disabled);position:sticky;top:124px;z-index:5;background-color:var(--white-color)}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__wrapper .product-details__header-mobile{display:flex}}@media screen and (max-width: 1024px){.main-panel.product-details .col-6{max-width:100%;flex:none}}.main-panel.product-details .product-details-heading{position:fixed;padding:.85rem 1.125rem;z-index:5;margin:0}@media screen and (max-width: 1024px){.main-panel.product-details .product-details-heading{position:sticky;padding:.75rem .75rem 1rem;top:40px;background-color:var(--white-color)}}.main-panel.product-details .product-details__tabs{width:100%;position:sticky}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__tabs{display:none}}.main-panel.product-details .tab-content-section-full{margin:0 auto;width:100%;margin-bottom:4rem}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section-full{margin-bottom:3.5rem}}.main-panel.product-details .tab-content-section-full.hero{text-align:center;background:linear-gradient(180deg,#fff,#f6f7f9 50%);padding-bottom:4rem}.main-panel.product-details .tab-content-section-full.hero .hero-img{max-height:500px}.main-panel.product-details .tab-content-section-full.hero .half-center-section{width:50%;margin:0 auto}.main-panel.product-details .tab-content-section-full.hero .half-center-section .heading{margin-bottom:1rem}.main-panel.product-details .tab-content-section-full.hero .half-center-section .primary-button{margin-top:1rem}@media screen and (max-width: 768px){.main-panel.product-details .tab-content-section-full.hero .half-center-section{width:80%}}.main-panel.product-details .tab-content-section-full:is(.hero h2,.hero span){margin-bottom:1rem}.main-panel.product-details .tab-content-section-title{margin:2rem auto;width:80%}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section-title{width:100%;margin:0;padding:1rem .75rem}}.main-panel.product-details .tab-content-section{margin:0 auto;width:80%;margin-bottom:4rem;display:flex;flex-wrap:wrap;gap:2rem}@media screen and (max-width: 1024px){.main-panel.product-details .tab-content-section{width:100%;padding:0 .75rem}}.main-panel.product-details .quality-section{flex-wrap:nowrap}@media screen and (max-width: 1024px){.main-panel.product-details .quality-section{flex-wrap:wrap}}.main-panel.product-details .tab-content-section:has(.quality-card){gap:1.5rem}.main-panel.product-details .quality-card{border:1px solid var(--div
3ider-default);box-shadow:var(--shadow-1);padding:1.25rem}.main-panel.product-details .quality-card .quality-card-img{margin-bottom:1rem}.main-panel.product-details .quality-card .quality-card-title{margin-bottom:.5rem}.main-panel.product-details .product-details__dropdown{display:none}@media screen and (max-width: 1024px){.main-panel.product-details .product-details__dropdown{font-family:Nunito Sans,sans-serif!important;display:block;width:50%}}.main-panel.product-details .mobile-content{display:none}@media screen and (max-width: 1024px){.main-panel.product-details .mobile-content{display:block}}.main-panel.product-details .product-cards{display:flex;flex-wrap:wrap;width:100%;gap:1.25rem;justify-content:space-between}@media screen and (max-width: 1440px){.main-panel.product-details .product-cards{gap:1rem}}@media screen and (max-width: 1024px){.main-panel.product-details .product-cards{justify-content:flex-start}}.main-panel.product-details .product-cards__card{width:23%;display:flex;flex-direction:column;justify-content:space-between;padding:1rem;border:1px solid var(--action-primary-disabled);box-shadow:var(--shadow-1);border-radius:4px;background-color:var(--white-color);min-height:230px}@media screen and (max-width: 1200px){.main-panel.product-details .product-cards__card{width:31%}}@media screen and (max-width: 769px){.main-panel.product-details .product-cards__card{width:47%}}@media screen and (max-width: 600px){.main-panel.product-details .product-cards__card{width:100%}}.main-panel.product-details .product-cards__card .product-cards__card-title{color:var(--text-link-hover)}.main-panel.product-details .product-cards__card .product-cards__card-img{max-height:13.25rem;height:100%;width:100%;object-fit:contain}.main-panel.product-details .product-cards__card .product-cards__card-tags{display:flex;flex-wrap:wrap;gap:.625rem}.main-panel.product-details .product-cards__card .product-cards__card-tag{padding:.45rem .625rem;border-radius:1rem;background-color:#f3f4f6;line-height:.85rem}.main-panel.product-details .instruments__heading{display:inline-block}.terms-dialog .header-dialog{display:flex;justify-content:space-between}.terms-dialog .mdc-dialog__actions{position:relative;padding:0;top:0;right:0;left:auto}::ng-deep .main-panel .tab-content-section h3{font-size:var(--heading-l-font-size);font-weight:var(--font-weight-bold);line-height:var(--heading-l-line-height);letter-spacing:var(--letter-spacing-none);color:#3b3b3b}::ng-deep .main-panel .tab-content-section .full-width .col{max-width:100%}::ng-deep .main-panel .tab-content-section .col{display:flex;align-items:center}::ng-deep .main-panel .tab-content-section .col-lg img,::ng-deep .main-panel .tab-content-section .col-lg video{width:100%}@media screen and (max-width: 1024px){::ng-deep .main-panel .tab-content-section .col-lg img,::ng-deep .main-panel .tab-content-section .col-lg video{height:270px;padding-top:1rem}}@media screen and (max-width: 1024px){::ng-deep .main-panel .tab-content-section .col-lg{display:flex;justify-content:center}}::ng-deep .main-panel .tab-content__model-features ul{list-style:none;padding:0}::ng-deep .main-panel .tab-content__model-features ul li:before{content:url(/assets/icons/green-checkmark.svg);display:inline-block;width:1rem;height:1rem;position:absolute;top:2px;left:0}::ng-deep .main-panel .tab-content__model-features ul li{padding-left:1.75rem;position:relative} 4`],encapsulation:2}));let i=a;return i})();var jl=[{path:"",component:Tn},{path:"accessories",component:mn},{path:"accessories/:name",component:Qt,resolve:{accessoryTypeDetails:Jt}},{path:"accessories/:name/:stockid",component:Qt,resolve:{accessoryTypeDetails:Jt}},{path:"legacy-sensors-and-instruments",component:gn},{path:"legacy-sensors-and-instruments/:model",component:kn},{path:"legacy-sensors-and-instruments/:model/:productid",component:kt},{path:":productClassId",component:On},{path:":class/:series/:model/:productid",component:yn},{path:":productClassID/:fullCode",component:In},{path:":category/:subcategory/:model",component:wn}],En=(()=>{let a=class a{};r(a,"\u0275fac",function(t){return new(t||a)}),r(a,"\u0275mod",lt({type:a})),r(a,"\u0275inj",at({imports:[Wt.forChild(jl),Wt]}));let i=a;return i})();var Wm=(()=>{let a=class a{};r(a,"\u0275fac",function(t){return new(t||a)}),r(a,"\u0275mod",lt({type:a})),r(a,"\u0275inj",at({providers:[me],imports:[si,$i,En,gi,Yi,Di,_i,Ei,nn]}));let i=a;return i})();export{Wm as StoreModule};
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.