"use strict";(self.webpackChunkuniplusshop=self.webpackChunkuniplusshop||[]).push([[617],{9617:(M,c,e)=>{e.r(c),e.d(c,{CustomizedPageModule:()=>f,routes:()=>d});var r=e(6895),i=e(9132),l=e(1654),m=e(5726),h=e(1135),p=e(9646),v=e(3900),g=e(1025),C=e(5583),t=e(4650);const d=[{path:":link",component:(()=>{class o extends m.k{constructor(s,u,z,P){super(),this.activatedRoute=s,this.router=u,this.pageService=z,this.logService=P,this.body$=new h.X(""),this.unsub(this.activatedRoute.params.pipe((0,v.w)(n=>n.link?this.pageService.getPage$(n.link):(0,p.of)(null))).subscribe(n=>{n?this.body$.next(n.conteudo):this.router.navigate(["/"]).catch(y=>this.logService.error("Erro ao buscar pagina",y))}))}}return o.\u0275fac=function(s){return new(s||o)(t.Y36(i.gz),t.Y36(i.F0),t.Y36(g.P),t.Y36(C.$V))},o.\u0275cmp=t.Xpm({type:o,selectors:[["app-customized-page"]],features:[t.qOj],decls:2,vars:3,consts:[[3,"innerHTML"]],template:function(s,u){1&s&&(t._UZ(0,"div",0),t.ALo(1,"async")),2&s&&t.Q6J("innerHTML",t.lcZ(1,1,u.body$),t.oJD)},dependencies:[r.Ov],encapsulation:2,changeDetection:0}),o})(),pathMatch:"full"}];let f=(()=>{class o{}return o.\u0275fac=function(s){return new(s||o)},o.\u0275mod=t.oAB({type:o}),o.\u0275inj=t.cJS({imports:[r.ez,i.Bz.forChild(d),l.m]}),o})()}}]);