1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ddbe10ef-3f6e-5e8d-8846-1df5d5e0b82a")}catch(e){}}(); 3import {z as ze}from'./chunk-CWuHnFT2.js';import {S as Se,n as nt,z as zt,a as ae$1}from'./chunk-LWQIRm52.js';import'./chunk-CHXNbGII.js';import {o}from'./chunk-C-P9rAMx.js';import {s as st}from'./chunk-omfCYEmz.js';import {K,_ as _e}from'./chunk-DgfLJ7Xb.js';import {x as xi}from'./chunk-BvDTnr1C.js';import'./chunk-B9BopgZB.js';import'./chunk-CCMI4yeJ.js';import'./chunk-Bm2CZFU3.js';import'./chunk-BTgRnhZ5.js';import'./chunk-D56l0ire.js';import'./chunk-3OuHnSNk.js';import'./chunk-DjJ73cWj.js';import'./chunk-CkGmAncb.js';import'./chunk-iBylMEhG.js';import'./chunk-D7XCpf05.js';import'./toggle-watchlist-button.component-BfM3ThEz.js';import'./chunk-CmrFuVZd.js';import'./chunk-DO_Nfpet.js';import'./listing-note-proxy.component-w9rekZ3s.js';import {d as dt}from'./chunk-BwaH20bO.js';import'./chunk-DGvxZABl.js';import {R,N}from'./chunk-C1rWlzqF.js';import'./chunk-DjN-BkzS.js';import'./chunk-DsUAcXTD.js';import {O as Oc,$ as $n,M as Mn}from'./chunk-DFLJnTSU.js';import'./chunk-taFyP6-G.js';import'./chunk-BxuABTuK.js';import'./chunk-Ye5LfOK2.js';import'./chunk-C4LE4KKN.js';import'./chunk-DMwH4IV5.js';import'./chunk-BezbLTUw.js';import'./chunk-CzzHOh3R.js';import'./chunk-CRxSL6nf.js';import'./chunk-BsB3pJ-D.js';import'./chunk-B49S5eZn.js';import'./chunk-B5-_qKyF.js';import'./chunk-troaM622.js';import'./chunk-4e65qauR.js';import {b as n}from'./chunk-tZG9QK2N.js';import'./chunk-Bhd3g0be.js';import'./chunk-fL8Xvwe7.js';import'./chunk-BhlJSIvO.js';import'./chunk-DhT1TtSm.js';import'./chunk-CWEEvGwz.js';import {a0 as Za,a1 as _o,le as $t,a2 as VO,bE as Ar,bS as Rb,fU as Db,j$ as t,a3 as eu,cb as G,bj as L,a5 as R$1,aq as k,aJ as G$1,m8 as ae,j as jM,aU as mO,ed as hi,d1 as Fb,d2 as Ab,ad as bO,q as _D,I as Ia,ae as yA,Q as Qx,p as bf,b1 as iD,C as X_,D as TD,af as DA,ax as t$1,ah as Fe,jo as ph,aQ as Xt,av as n$1,br as Ui,co as wC,dL as q,jp as tu,jq as z,gq as UC,c_ as o$1,fe as P,jr as d,bq as lo,js as e,eQ as a,eR as a$1,eS as m,z as z$1,y,ag as W,gh as e$1,ak as Xp,bp as th,fy as hh,kZ as Kp,s as yx,bH as a$2,dJ as c,dK as e$2,jt as e$3,ju as r,jv as D,jw as X}from'./main-CAjEjBVh.js';import'./chunk-PlMxG_pr.js';import'./chunk-jlvpcNsF.js';import'./chunk-XpF_PgI4.js';import'./chunk-BpIbrwhg.js';import'./chunk-1WcIjyO4.js';import'./chunk-jolbqQx5.js';import'./chunk-YA-QRxSh.js';import'./chunk-CtpGnM0n.js';function Be(i,r){if(i&1&&(Ia(0,"tg-col",10),_D(1,"tm-search-results-sidebar-display-ad",11),bf()),i&2){let He=yx();X_(),TD("results$",He.results$);}}var Ve=(()=>{let r=class r{constructor(e,t,s,n,o){this._searchResultsHelperService=e,this._store=t,this._searchFacade=s,this._mediaSizeFacade=n,this._cardViewModeService=o,this._destroyed$=new W;}ngOnDestroy(){this._destroyed$.next();}ngOnInit(){this.isMdOrUp$=this._store.select(e$1.mediaSize).pipe(Fe(e=>!e.isSm)),this.results$=this._searchFacade.getSearchResults().pipe(Xp(this._destroyed$),th(e=>{!e.isLoading&&e.item&&this._searchResultsHelperService.setMetaDataForSearchResults(e.item);}),hh()),this.retainedResults$=this.results$.pipe(Kp((e,t)=>z$1(y({},t),{item:t.item||e.item}),{isLoading:false,item:null})),this.showSideBar$=wC(this.results$,this._mediaSizeFacade.getMediaSize(),this._cardViewModeService.viewModeChange$).pipe(Xt(([e])=>!!e.item),Fe(([e,t,s])=>!!e.item.list.length&&!t.isSm&&!t.isMd&&s===a$2.list));}};r.\u0275fac=function(t){return new(t||r)(R$1($n),R$1(k),R$1(n),R$1(G$1),R$1(ae))},r.\u0275cmp=jM({type:r,selectors:[["ng-component"]],hostAttrs:["ngSkipHydration","true"],standalone:false,decls:16,vars:11,consts:[[3,"searchResults"],[3,"results$"],[1,"h-visually-hidden"],[1,"tm-services-search-results__container"],[1,"tm-services-search-results__two-col-grid","l-container"],[1,"tm-services-search-results__two-col-grid-row"],["sm","12",1,"tm-services-search-results_results-col",3,"lg"],["listingType","services","isSticky","true",1,"tm-services-search-results",3,"results$"],["class","tm-services-search-results__sticky-col","lg","4",4,"ngIf"],["redirectToParentOnCancel",""],["lg","4",1,"tm-services-search-results__sticky-col"],[1,"no-sticky-header",3,"results$"]],template:function(t,s){t&1&&(_D(0,"router-outlet"),Ia(1,"div"),_D(2,"tm-potential-r18-content",0),yA(3,"async"),_D(4,"tm-search-header",1),Ia(5,"h2",2),Qx(6,"Search Results"),bf(),Ia(7,"div",3)(8,"div",4)(9,"tg-row",5)(10,"tg-col",6),yA(11,"async"),_D(12,"tm-search-results",7),bf(),iD(13,Be,2,1,"tg-col",8),yA(14,"async"),bf()()(),_D(15,"tm-r18-content-warning-modal",9),bf()),t&2&&(X_(2),TD("searchResults",DA(3,5,s.results$)),X_(2),TD("results$",s.retainedResults$),X_(6),TD("lg",DA(11,7,s.showSideBar$)?8:12),X_(2),TD("results$",s.results$),X_(),TD("ngIf",DA(14,9,s.showSideBar$)));},dependencies:[mO,hi,Fb,Ab,Mn,_e,zt,ae$1,N,bO],styles:[".tm-services-search-results__container[_ngcontent-%COMP%]{background:#f6f5f4}@media(max-width:479px){.tm-services-search-results__container[_ngcontent-%COMP%] .tm-services-search-results__two-col-grid[_ngcontent-%COMP%]{padding-right:0;padding-left:0}}.tm-services-search-results__container[_ngcontent-%COMP%] .tm-services-search-results__two-col-grid[_ngcontent-%COMP%] .tm-services-search-results__two-col-grid-row[_ngcontent-%COMP%]{margin-right:0;margin-left:0}.tm-services-search-results__container[_ngcontent-%COMP%] .tm-services-search-results__two-col-grid[_ngcontent-%COMP%] .tm-services-search-results__two-col-grid-row[_ngcontent-%COMP%] .tm-services-search-results_results-col[_ngcontent-%COMP%]{padding-right:0;padding-left:0}.tm-services-search-results__container[_ngcontent-%COMP%] .tm-services-search-results__two-col-grid[_ngcontent-%COMP%] .tm-services-search-results__two-col-grid-row[_ngcontent-%COMP%] .tm-services-search-results__sticky-col[_ngcontent-%COMP%] tm-search-results-sidebar-display-ad[_ngcontent-%COMP%]{position:sticky;top:10px}"]});let i=r;return i})();var Ge=[{matcher:o,data:{feature:{search:true},newRelicMatcherName:"ServicesSearchUrlMatcher"},children:[{path:"",component:Ve},{path:"refine",loadChildren:()=>
3import('./refine.module-CzKG_wL4.js').then(i=>i.RefineModule)}]}],Le=(()=>{let r=class r{};r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=Za({type:r}),r.\u0275inj=_o({imports:[eu.forChild(Ge),eu]});let i=r;return i})();var xe=[e,a,a$1],We=[a.name,a$1.name],Qe={value:"Default",display:"Featured first"},Ue=(()=>{let r$1=class r$1{constructor(e,t,s,n){this._store=e,this._searchFacadeService=t,this._parameterViewModelService=s,this._mediaSizeFacade=n;}getSearchResults(){if(!this._results$){let e=this._store.select(t$1.currentFeature).pipe(Fe(o=>!o.search),ph(),Xt(([o,M])=>o&&!M),Fe(()=>z)),t=this._store.select(n$1.isLoggedIn).pipe(Ui()),s=wC(this._store.select(q.currentSearchRouterState),t).pipe(Fe(([o,M])=>this._store.dispatch(new c(o,e$2.general))),tu()),n=this._store.select(q.currentSearchResults).pipe(Fe(o=>this.mapSearchResults(o)),Fe(o=>this.addDefaultParametersToResults(o)),Xt(o=>o!==z));this._results$=UC(e,s,n).pipe(o$1());}return this._results$}getCurrentSearchParams(){return wC(this.getSearchResults(),this._store.select(P.currentQueryParams)).pipe(Fe(([e,t])=>this._searchFacadeService.getSearchResultQueryParams(e,t)))}getRefineViewModels(){if(!this._parameterViewModels$){let e=this.getSearchResults().pipe(d(),Fe(t=>t.item||{}));this._parameterViewModels$=wC(e,this.getCurrentSearchParams(),this.getSchema()).pipe(lo(([t,s,n])=>{let o=t.parameters||[...xe,m([Qe])],M=t.breadcrumbs||[];return this._parameterViewModelService.getRefineViewModels(o,M,s,n,We)}));}return this._parameterViewModels$}getSchema(){return this._mediaSizeFacade.getMediaSize().pipe(Fe(e=>e.isSm),Fe(e=>e?e$3:r))}mapSearchResults(e){if(!e.item)return e;let t=this.tidyBreadcrumbsForServices(e.item)||[],s=this.tidyFoundCategoriesForServices(e.item);return z$1(y({},e),{item:z$1(y({}
3,e.item),{breadcrumbs:t,foundCategories:s,parameters:e.item.parameters||[]})})}tidyBreadcrumbsForServices(e){return e.canonicalPath&&e.canonicalPath.indexOf("/services")>-1?e.breadcrumbs.filter(t=>t.displayName!=="Marketplace").map(t=>z$1(y({},t),{canonicalPath:t.canonicalPath.replace("/marketplace/services","/services")})):e.breadcrumbs}tidyFoundCategoriesForServices(e){return e.canonicalPath&&e.canonicalPath.indexOf("/services")>-1&&e.foundCategories?e.foundCategories.map(t=>z$1(y({},t),{canonicalPath:t.canonicalPath.replace("/marketplace/services","/services")})):e.foundCategories}addDefaultParametersToResults(e){let{item:t}=e;if(!t)return e;let{sortOrders:s,parameters:n}=t;return z$1(y({},e),{item:z$1(y({},t),{parameters:[...n||[],...xe,m(s)]})})}};r$1.\u0275fac=function(t){return new(t||r$1)(G(k),G(D),G(X),G(G$1))},r$1.\u0275prov=L({token:r$1,factory:r$1.\u0275fac});let i=r$1;return i})();var Zt=(()=>{let r=class r{};r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=Za({type:r}),r.\u0275inj=_o({providers:[{provide:n,useClass:Ue},ze()],imports:[$t,VO,Le,Ar,Rb,Db,Oc,K,Se,nt,R,st.matchTypes([t.category]),xi.matchTypes([t.location]),dt.matchTypes([t.sort])]});let i=r;return i})();export{Zt as SearchModule};//# sourceMappingURL=search.module-DNFFT79z.js.map 4 5//# debugId=ddbe10ef-3f6e-5e8d-8846-1df5d5e0b82a
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.