1import{a as he}from"./chunk-FYPZLDVN.js";import{a as pe}from"./chunk-L3XZEKKF.js";import{a as ce,g as ue}from"./chunk-ND5YD6WH.js";import"./chunk-AJVMQTTL.js";import{a as le}from"./chunk-SOHWZCWQ.js";import{a as ne}from"./chunk-4SABXZN3.js";import"./chunk-5ELCKFRF.js";import{a as S}from"./chunk-7GLAZFDP.js";import{a as de}from"./chunk-PO74HJO7.js";import{a as B,b as me}from"./chunk-5SZMHA4Z.js";import{a as se,b as v,c as _,d as r}from"./chunk-ELVB5QRB.js";import{a}from"./chunk-W3YEQLUI.js";import{T as K,U as C,X as W,Y as J,Z as Q,ab as X,bb as Z,cb as ee,db as te,hb as oe,ib as b,jb as re,mb as ie,nb as ae}from"./chunk-YKCNQZRN.js";import{l as T,m as g,o as I,p as m,t as Y}from"./chunk-KJEE2APK.js";import{F as q}from"./chunk-D3RUXUV7.js";import{E as H,w as h,y as f}from"./chunk-RCGDZEAT.js";import{K as x,M as d,W as u,ba as V,da as k}from"./chunk-6OCVMNAK.js";import{a as w,c as G,e as z,f as U,g as j}from"./chunk-SCUE42K6.js";import{Cb as $,E as O,aa as p,ec as M,fa as c,ga as i,hd as F,id as N,jd as D,ka as y,o as E,pa as P,s as L,xc as l}from"./chunk-O6NBGXUP.js";var fe=(()=>{class e{constructor(){this.router=i(u),this.logger=i(C),this.prefsService=i(S),this.logger.debug("\u{1F489} SetContactGuard constructor");}canActivate(o,t){let s=o.paramMap.get("filial");return this.logger.debug("Filial:",s),s?this.prefsService.setPref(S.PREF_PREFERRED_CONTACT,s):this.prefsService.removePref(S.PREF_PREFERRED_CONTACT),this.router.navigate(["/"]),!0;}static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵprov=p({token:e,factory:e.ɵfac,providedIn:"root"});}}return e;})();var R=(()=>{class e{constructor(o,t,s,be){this.localeId=o,this.repo=t,this.router=s,this.logger=be,this.notFoundService=i(le),this.logger.debug("\u{1F489} LandingService constructor"),this.getLandingUC=new q(this.repo);}getTitle$(o){return this.getLandingUC.execute({slug:o,locale:this.localeId}).pipe(L(t=>t.title||"NOTITLE"),O(t=>(t.status===404?this.notFoundService.handleNotFound():this.router.navigate(["/"]),E("-"))));}static{this.ɵfac=function(t){return new(t||e)(c(l),c(f),c(u),c(C));};}static{this.ɵprov=p({token:e,factory:e.ɵfac,providedIn:"root"});}}return e;})();var ge=(e,n)=>{let o=e.parent?.url.slice(-1)[0].path,t=e.parent?.title||"NOTITLE";return[{url:"/sammic-1961-2021",label:"Sammic",cssClass:"sammic"},{url:"/"+o,label:t}];};var Ce=(e,n)=>{let o=e.url.slice(-1)[0].path;return i(R).getTitle$(o);};var _e=[{path:"",pathMatch:"full",loadComponent:()=>import("./chunk-TPDXMGIB.js").then(e=>e.HomeComponent)},{path:"",loadChildren:()=>import("./chunk-MKWK45FE.js")},{path:pe,loadChildren:()=>import("./chunk-CWYCIBTN.js"),title:"News"},{path:se,canActivate:[b],loadChildren:()=>import("./chunk-HWG77D3F.js")},{path:r.PARTS,canActivate:[b],loadChildren:()=>import("./chunk-4NAQUDBJ.js").then(e=>e.PartsModule)},{path:"parts-model/:code",redirectTo:`${r.PARTS}/${ce}/:code`,pathMatch:"full"},{path:v,loadChildren:()=>import("./chunk-BM7QM4WQ.js")},{path:r.CONTACT,loadComponent:()=>import("./chunk-Z6G2VZVX.js").then(e=>e.ContactComponent),resolve:{breadcrumb:()=>[{url:".",label:"Contact",cssClass:"sammic"}]},title:"Contact"},{path:r.MAFSI,loadComponent:()=>import("./chunk-CTBTJPTQ.js").then(e=>e.MafsiComponent),resolve:{breadcrumb:()=>[{url:".",label:"Our Reps",cssClass:"sammic"}]},title:"Our Reps"},{path:"contacto",redirectTo:r.CONTACT,pathMatch:"full"},{path:r.BRANCH,loadComponent:()=>import("./chunk-HOECYL5A.js").then(e=>e.BranchComponent),resolve:{breadcrumb:()=>[{url:".",label:"Sammic Branches",cssClass:"sammic"}]},title:"Sammic Branches"},{path:r.SAT,loadComponent:()=>import("./chunk-Y53AIAIL.js").then(e=>e.SatComponent),resolve:{breadcrumb:()=>[{url:".",label:"Sammic technical service",cssClass:"sammic"}]},title:"Sammic technical service"},{path:_,loadChildren:()=>import("./chunk-Y24OMRNV.js")},{path:r.ROUTE_CONDITIONS,loadComponent:()=>import("./chunk-KKBEOFLX.js").then(e=>e.SaleConditionComponent),resolve:{breadcrumb:()=>[{url:`/${_}`,label:"Documents",cssClass:"sammic"},{url:".",label:"Sales Conditions"}]},title:"Sales Conditions"+" | "+"Private area"},{path:r.LEGAL,loadComponent:()=>import("./chunk-B7HZN23A.js").then(e=>e.LegalComponent),resolve:{breadcrumb:()=>[{url:"/"+r.LEGAL,label:"Legal notice",cssClass:"sammic"}]},title:"Legal notice"},{path:r.PRIVACY,loadComponent:()=>import("./chunk-TZGEUZCF.js").then(e=>e.PrivacyComponent),resolve:{breadcrumb:()=>[{url:"/"+r.PRIVACY,label:"Privacy policy",cssClass:"sammic"}]},title:"Privacy policy"},{path:r.WARRANTY,loadComponent:()=>import("./chunk-SBIET2TD.js").then(e=>e.WarrantyComponent),resolve:{breadcrumb:()=>[{url:"/"+r.WARRANTY,label:"Warranty",cssClass:"sammic"}]},title:"Warranty"},{path:`${r.OLD_EQUIPAMIENTO}/:slug`,redirectTo:":slug",pathMatch:"full"},{path:"a/:slug",redirectTo:":slug",pathMatch:"full"},{path:"404",title:"The requested page does not exist",loadComponent:()=>import("./chunk-DXDEFG6E.js").then(e=>e.PageNotFoundComponent)},{path:":slug",providers:[{provide:f,useClass:ne},R],title:Ce,children:[{path:"",loadComponent:()=>import("./chunk-KPMUKVMD.js").then(e=>e.LandingComponent),resolve:{breadcrumb:ge}}]},{path:"**",loadComponent:()=>import("./chunk-KPMUKVMD.js").then(e=>e.LandingComponent)}],Se=[{path:`${r.SITE}/:filial`,canActivate:[fe],children:[]},{path:r.SITE,loadComponent:()=>import("./chunk-S73CKGZ5.js").then(e=>e.SiteSelectorPageComponent),title:"Select your Sammic website"},{path:"",loadComponent:()=>import("./chunk-UUMTHP7Z.js").then(e=>e.AppComponent),loadChildren:()=>_e}];var ve=[{provide:H,useClass:he},{provide:g,useFactory:e=>new g(e),deps:[m]},T,{provide:I,useFactory:(e,n)=>new I(e,n),deps:[g,T]}];var Re=(()=>{class e extends d{constructor(){super(),this.title=i(G),this.localeId=i(l),this.i18nRepo=i(h),this.sammicTitle="Sammic";let o=this.i18nRepo.getSiteTitleNameByLocale(this.localeId);this.localeId!=="es-ES"&&this.localeId!=="eu"&&o&&(this.sammicTitle+=` ${o}`);}updateTitle(o){let t=this.buildTitle(o);t!==void 0&&t!==""?this.title.setTitle(`${t} | ${this.sammicTitle}`):this.title.setTitle(this.sammicTitle+" | "+"FoodService Equipment Manufacturer since 1961");}static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵprov=p({token:e,factory:e.ɵfac,providedIn:"root"});}}return e;})();function Ae(){return localStorage.getItem("access_token");}var Ee={anchorScrolling:"enabled",scrollPositionRestoration:"enabled"},Le=k(Ee),Te={providers:[j(z({filter:e=>e.method==="GET"&&!e.headers.has("Authorization")}),U()),V(Se,Le),{provide:te,useValue:a.ssr_id},F(D(),N([ae,re,ie])),P(B.forRoot({config:{tokenGetter:Ae}})),{provide:X,useValue:`/${v}/${de}`},{provide:oe,useExisting:me},{provide:K,useValue:a.production},{provide:d,useClass:Re},{provide:W,deps:[l],useFactory:()=>{let e=i(l);if(!a.gtag_global)return;let n=[{id:a.gtag_global,domains:a.gtag_domains}];if(a.gtag_site.length)for(let{locale:o,id:t}of a.gtag_site)e===o&&n.push({id:t,domains:a.gtag_domains});return n;}},{provide:J,deps:[l],useFactory:()=>{let e=i(l);if(!a.adwords.length)return;let n;for(let{locale:o,id:t,label:s}of a.adwords)if(e===o){n={id:t,label:s};break;}return n;}},{provide:Q,deps:[l],useFactory:()=>{let e=i(l);if(!a.linkedin_ads?.length)return;let n;for(let{locale:o,id:t,leadId:s}of a.linkedin_ads)if(e===o){n={id:t,leadId:s};break;}return n;}},{provide:Z,useValue:"smm_mk_ta"},{provide:ee,useValue:"smm_mk_em"},{provide:h,useClass:Y},...ue,{provide:m,useFactory:()=>new m(a.cdn_uploads_url,a.cdn_media_url)},...ve]};var Ie=(()=>{class e{static{this.ɵfac=function(t){return new(t||e)();};}static{this.ɵcmp=y({type:e,selectors:[["smm-app-shell"]],standalone:!0,features:[M],decls:1,vars:0,template:function(t,s){t&1&&$(0,"router-outlet");},dependencies:[x]});}}return e;})();
1w(Ie,Te).catch(e=>console.error(e));/**i18n:5a810631932d440f62ba334f107b7a556ef1afe98a26b1cd55cf17e6261a06c8*/
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.