PageSourceSearch

https://www.rededorsaoluiz.com.br/chunk-QSSAUBUN.js

js rededorsaoluiz.com.br collected 2026-09-24 09:33:42 UTC 13,466 bytes, 1 lines download raw bytes

1import{a as Me,b as we}from"./chunk-OTCVWA6Y.js";import"./chunk-CZNDAGJJ.js";import{a as xe,b as ve}from"./chunk-F4EOFEK3.js";import{a as _e}from"./chunk-5WH7VIFG.js";import{a as re}from"./chunk-CKZZASR4.js";import{a as fe,b as Ce}from"./chunk-SRIOCLG3.js";import{a as be,b as Se}from"./chunk-ALCKOFKC.js";import"./chunk-X4QZWDQB.js";import"./chunk-44YWA3YN.js";import{c as le,j as he,l as ge}from"./chunk-SRWPQU7H.js";import"./chunk-S5OCG3DC.js";import"./chunk-2E3SZTII.js";import"./chunk-GLUCT7HC.js";import"./chunk-2G5OCZGV.js";import"./chunk-6UHH6AFZ.js";import"./chunk-LZOOOLYZ.js";import"./chunk-3DQSDYGY.js";import"./chunk-BGWQQC5A.js";import"./chunk-HY4TTPGO.js";import"./chunk-TH2GZ2VX.js";import{b as pe}from"./chunk-WKCF2CWW.js";import"./chunk-FNLLHE7P.js";import"./chunk-IA5766VX.js";import"./chunk-XYS5O65U.js";import"./chunk-FR44NA7Q.js";import{a as B}from"./chunk-W57ZAXHJ.js";import"./chunk-AQ3PUG46.js";import"./chunk-N7F7IHZR.js";import"./chunk-P4PNI5VC.js";import"./chunk-7XA2USVS.js";import"./chunk-U6H6AAMC.js";import"./chunk-R6BZ2IZI.js";import"./chunk-RDVQB42A.js";import"./chunk-GS6KNVDI.js";import"./chunk-X26QOURQ.js";import"./chunk-BWR5DE7I.js";import"./chunk-SPUOAS2Q.js";import"./chunk-QOE6XG7W.js";import"./chunk-GWI7RSJM.js";import"./chunk-KZXKBYFJ.js";import{c as me}from"./chunk-27EIJLSU.js";import{c as ce}from"./chunk-Q7VS2Y4E.js";import"./chunk-UDO2L6K4.js";import"./chunk-4LEH3HAY.js";import{a as X}from"./chunk-R4ZDE4UX.js";import{a as de,b as ue}from"./chunk-C4ZJV4CF.js";import{a as oe}from"./chunk-AIHBMFKD.js";import{a as se}from"./chunk-2TU7UOGH.js";import"./chunk-D2VYGAU6.js";import"./chunk-SQPTOK3J.js";import{b as ae}from"./chunk-OWRUS23L.js";import{a as ne}from"./chunk-RX6MP2TT.js";import{B as ee,D as te,U as v,V as M,W as w,X as y,a as Fe,ca as T,da as P,ha as ie,u as Z}from"./chunk-AHT52CI5.js";import"./chunk-B5EUXSDW.js";import"./chunk-WT5T7W2W.js";import"./chunk-DXRONHRX.js";import{b as Q}from"./chunk-SQBEQ7PF.js";import{b as Y}from"./chunk-UKM23MQP.js";import{Ab as I,Bb as R,D as N,Da as l,Eb as f,Ja as u,L as S,Oa as F,Pa as O,Pb as U,Q as W,Qa as c,Qb as G,R as x,Vb as K,Wa as L,Xa as s,Xb as q,cc as z,dc as b,g as j,gb as _,ha as k,j as H,na as A,pa as g,qa as d,rb as $,rc as V,sb as D,uc as J,va as m,xc as E,za as h}from"./chunk-RYQV473N.js";import{g as Ae}from"./chunk-5UTZN4TA.js";var Te=Ae(Fe());var Oe=()=>({display:"block",marginBottom:"-40px"}),Le=t=>({"side-ctas-padding":t});function $e(t,o){if(t&1&&c(0,"rdsite-side-ctas-right-middle",7),t&2){let e=s(4);l("ctas",e.unidadeSideCtas())}}function De(t,o){if(t&1&&(c(0,"rdsite-side-ctas-right-bottom",8),I(1,"async")),t&2){let e,i=s(4);l("link",i.whatsappUrl())("imgUrl",!((e=i.whatsappStyle())==null||e.imagem==null)&&e.imagem.url?"url("+((e=i.whatsappStyle())==null||e.imagem==null?null:e.imagem.url)+")":"url(/assets/imgs/bg_dora_whatsapp.webp)")("text",i.whatsappLabel())("borderTop",!0)("disabled",R(1,5,i.isBusinessHours$)===!1)}}function Ue(t,o){if(t&1&&c(0,"rdsite-side-ctas-bottom",7),t&2){let e,i=s(4);l("ctas",(e=i.fixedCta())!=null&&e.length?i.fixedCta():i.unidadeGeneralCtas())}}function Ge(t,o){if(t&1&&(F(0,"rdsite-side-ctas"),h(1,$e,1,1,"rdsite-side-ctas-right-middle",7)(2,De,2,7,"rdsite-side-ctas-right-bottom",8)(3,Ue,1,1,"rdsite-side-ctas-bottom",7),O()),t&2){let e,i,n=s(3);g(),u(1,!n.isMobile()&&((e=n.unidadeSideCtas())!=null&&e.length)?1:-1),g(),u(2,n.showWhatsApp()?2:-1),g(),u(3,(i=n.fixedCta())!=null&&i.length||(i=n.unidadeGeneralCtas())!=null&&i.length?3:-1)}}function Ke(t,o){if(t&1&&(c(0,"app-wp-content",6),h(1,Ge,4,3,"rdsite-side-ctas")),t&2){let e=s(2);l("page",e.page)("unidadeSlug",e.unidadeSlug)("ngClass",D(4,Le,e.showSideCtas())),g(),u(1,e.showSideCtas()?1:-1)}}function qe(t,o){if(t&1&&c(0,"rdsl-template-content-sidebar",9),t&2){let e=s(2),i=_(4),n=_(6),r=_(8),p=_(10),a=_(12);l("pageTitle",e.pageTitle)("pageSubtitle",e.page.acf.rdsl_page_subtitle)("pageContent",n)("sidebarMenu",p)("sidebarContent",r)("afterContent",a)("customHeader",e.themeStar?i:null)}}function ze(t,o){if(t&1&&h(0,Ke,2,6)(1,qe,1,7),t&2){let e=s();u(0,!(e.page.acf==null||e.page.acf.rdsl_page_sections==null)&&e.page.acf.rdsl_page_sections.length?0:1)}}function Ve(t,o){if(t&1&&c(0,"star-section-header",10),t&2){let e=s();l("title",e.page.title.rendered)("subtitle",e.page.acf.rdsl_page_subtitle)("backgroundImage",e.headerImageUrl)}}function Je(t,o){if(t&1&&c(0,"app-wp-content",11),t&2){let e=s(2);l("themeStar",e.themeStar)("page",e.page)("unidadeSlug",e.unidadeSlug)}}
1function Qe(t,o){if(t&1&&h(0,Je,1,3,"app-wp-content",11),t&2){let e=s();u(0,e.page?0:-1)}}function Ye(t,o){if(t&1&&c(0,"app-wp-sidebar",12),t&2){let e=s(2);l("sidebarContent",e.wpSidebarContent)}}function Xe(t,o){if(t&1&&h(0,Ye,1,1,"app-wp-sidebar",12),t&2){let e=s();u(0,e.page&&e.wpSidebarContent?0:-1)}}function Ze(t,o){if(t&1&&c(0,"rdsl-sidebar-nav",13),t&2){let e=s(2);l("items",e.sidebarMenuItems)("themeStar",e.themeStar)}}function et(t,o){if(t&1&&h(0,Ze,1,2,"rdsl-sidebar-nav",13),t&2){let e=s();u(0,e.sidebarMenuItems.length?0:-1)}}function tt(t,o){if(t&1&&c(0,"app-after-content-ctas",14),t&2){let e=s(2);l("content",e.page.acf.rdsl_page_footer_ctas)}}function it(t,o){if(t&1&&h(0,tt,1,1,"app-after-content-ctas",14),t&2){let e=s();u(0,!(e.page==null||e.page.acf==null)&&e.page.acf.rdsl_page_footer_ctas?0:-1)}}var C=(()=>{class t{checkWindowWidth(e){this.isMobile.set((e?.target?.innerWidth??0)<B.mediumBreakPoint)}constructor(e,i,n,r,p,a,Re,Ee,Pe,Be,je,He,Ne,We){this.unidadesService=e,this.route=i,this.menuService=n,this.breadcrumbsService=r,this.seoService=p,this.router=a,this.platformId=Re,this.serverResponse=Ee,this.log=Pe,this.transferStateService=Be,this.wpService=je,this.location=He,this.errorHandler=Ne,this.whatsappService=We,this.linkHome="/",this.notfound=!1,this.theme=T.REDE,this.themeStar=!1,this.noServerResponse=!1,this.breadcrumbsItemsError=[],this.pageTSKey="CONTENT_SIDEBAR_MENU_PAGE_TSKEY",this.showContent$=this.errorHandler.error$.pipe(H(ke=>ke===null),N(!0)),this.showSideCtas=m(!1),this.showWhatsApp=m(!1),this.unidadeSideCtas=m([]),this.unidadeGeneralCtas=m([]),this.whatsappUrl=m(""),this.whatsappStyle=m(null),this.fixedCta=m([]),this.isMobile=m(!1),this.isWhatsAppPage=m(!1),this.whatsappLabel=m(""),this.isBusinessHours$=this.whatsappService.isBusinessHours$.asObservable(),this.wppSubscription=[]}ngOnInit(){b(this.platformId)&&X()&&this.isMobile.set(window.innerWidth<B.mediumBreakPoint),this.unidadeSubscription||(this.unidadeSubscription=this.unidadesService.unidadeAtiva$.subscribe(e=>{if(e){this.unidade=e,this.unidadeSlug=this.unidadesService.unidadeSlug,this.unidadePath=this.unidadesService.unidadePath,this.linkHome=this.unidadePath,this.start(),this.getTheme();let i=this.unidadesService.unidadeDefault()?.details;this.unidadeGeneralCtas.set(e.details?.general_ctas||i.general_ctas||[]),this.unidadeSideCtas.set(e.details?.side_ctas||i.side_ctas||[])}}))}start(){this.paramsSubscription=this.route.params.subscribe(e=>{let i=/%20$/gi;if(this.subPage=(e.subpage||this.route.snapshot.data.subpage||"").replace(i,"")?.trim(),this.childPage=(e.child||"").replace(i,"")?.trim(),this.lastChildSlug=(e.lastchild||"").replace(i,"")?.trim(),this.subPage==="en"&&this.childPage==="home"){b(this.platformId)||this.serverResponse.setRedirect({url:"/"}),this.router.navigate(["/"]);return}if(!this.subPage&&!this.childPage&&!this.lastChildSlug){this.setNotFound();return}this.handlePage(this.subPage,this.childPage,this.lastChildSlug)}),this.menuSubscription||(this.menuSubscription=this.menuService.mainMenu$.subscribe(e=>{e?.length>0&&(this.menu=e,this.page&&this.loadSubMenu(this.page?.title?.rendered,this.page?.acf?.rdsl_page_sidebar_show_children))}))}handlePage(e,i,n){this.baseFields=this.wpService.getBaseFields(),this.notfound=!1;let r=n||i||e;this.fetchPage(r,this.pageTSKey).subscribe({next:p=>{p?.length?(this.log.logLoad("ContentSidebarMenuComponent"),this.page=p[0],this.pageTitle=Te.decode(this.page.title?.rendered),this.headerImageUrl=this.page.acf?.rdsl_page_header_img?.url||this.page._embedded?.["wp:featuredmedia"]?.[0]?.source_url,this.wpSidebarContent=this.page.acf?.rdsl_page_sidebar,this.submenuFromId=this.page.acf?.rdsl_page_sidebar_show_children?this.page.id:+this.page.parent,this.loadSubMenu(this.page?.title?.rendered,this.page?.acf?.rdsl_page_sidebar_show_children),b(this.platformId)||this.transferStateService.setKey(this.pageTSKey,p),this.showSideCtas.set(this.page?.acf?.rdsl_page_show_sidectas),this.showSideCtas()&&(this.page?.acf?.rdsl_page_header_ctas?.ctas?.length&&this.fixedCta.set(this.page?.acf?.rdsl_page_header_ctas.ctas.map(a=>({text:a.title,icon:a.icon,url:a.link}))),this.wppSubscription.push(this.whatsappService.whatsappStyle$.subscribe(a=>this.whatsappStyle.set(a)),this.whatsappService.whatsappLink$.subscribe(a=>
1this.whatsappUrl.set(a)),this.whatsappService.whatsappLabel$.subscribe(a=>this.whatsappLabel.set(a)),this.whatsappService.whatsappPage$.subscribe(a=>this.showWhatsApp.set(a)))),this.setSeo(),this.setBreadcrumbs()):this.setNotFound()},error:p=>{this.log.logMsg(JSON.stringify(p,Q()),"ERROR - ContentSidebarMenuComponent"),this.setNoServerResponse()}})}fetchPage(e,i){let n=["id","title.rendered","type","parent","yoast_head_json.title","yoast_head_json.description","yoast_head_json.canonical","content.rendered","_links.wp:featuredmedia","acf"].join(","),r={slug:e,_fields:n,_embed:"wp:featuredmedia"},p=this.wpService.getPages(r,this.unidadeSlug);if(b(this.platformId)){let a=this.transferStateService.getKey(i);a&&(this.transferStateService.remove(i),p=j(a))}return p}loadSubMenu(e,i){this.menu&&e&&(this.sidebarMenuItems=this.menuService.getSubMenu(e,i).map(n=>({label:n.title,url:n.url})))}setErrorState(e,i){this.errorHandler.setError(e,i),this.breadcrumbsItemsError=[{label:"Home",url:[this.unidadePath]},{label:i,url:[this.location.path()]}]}setNotFound(){this.setErrorState(P.NOT_FOUND,"404")}setNoServerResponse(){this.setErrorState(P.SERVER_RESPONSE,"500")}setSeo(){let e={title:{text:this.page.yoast_head_json?.title,sub:!1},description:this.page.yoast_head_json?.description,canonical:this.page.yoast_head_json?.canonical};this.seoService.setFullSeo(e)}setBreadcrumbs(){let e=[],i={label:this.pageTitle,helper:"Voc\xEA est\xE1 aqui"},n=this.router.url.split("/").filter(r=>r);if(n.length>1)for(let r=0;r<n.length-1;r++)e.push({label:this.formatBreadcrumbLabel(n[r]),url:["/"+n.slice(0,r+1).join("/")]});e.push(i),this.page.acf?.rdsl_page_sections?.length?this.breadcrumbsService.showNewBreadcrumbs():this.breadcrumbsService.showBreadcrumbs(),this.breadcrumbsService.setBreadcrumbs(e)}formatBreadcrumbLabel(e){return e.replace(/-/g," ").replace(/\b\w/g,i=>i.toUpperCase())}getTheme(){this.route.data.subscribe(e=>{this.themeStar=e.theme==="theme-star",this.theme=this.themeStar?T.STAR:T.REDE})}ngOnDestroy(){this.seoService.setMetaTag("robots",Y.index),this.breadcrumbsService.clearAndHideBreadcrumbs(),this.unidadeSubscription?.unsubscribe(),this.paramsSubscription?.unsubscribe(),this.menuSubscription?.unsubscribe(),this.wppSubscription.forEach(e=>e?.unsubscribe())}static{this.\u0275fac=function(i){return new(i||t)(d(ae),d(V),d(re),d(pe),d(ee),d(J),d(k),d(te),d(Z),d(ne),d(se),d(U),d(oe),d(_e))}}static{this.\u0275cmp=W({type:t,selectors:[["app-content-sidebar-menu"]],hostBindings:function(i,n){i&1&&L("resize",function(p){return n.checkWindowWidth(p)},!1,A)},decls:13,vars:7,consts:[["customHeader",""],["pageContent",""],["sidebarContent",""],["sidebarNav",""],["afterContent",""],["returnLabel","P\xE1gina Inicial","pageTitle","P\xE1gina n\xE3o encontrada","component","ContentSidebarMenuComponent",3,"ngStyle","returnRoute","breadcrumbsItems"],[3,"page","unidadeSlug","ngClass"],[3,"ctas"],[3,"link","imgUrl","text","borderTop","disabled"],["showHeaderTexture","secondary",3,"pageTitle","pageSubtitle","pageContent","sidebarMenu","sidebarContent","afterContent","customHeader"],[3,"title","subtitle","backgroundImage"],["data-ssrtest","page-content",3,"themeStar","page","unidadeSlug"],[3,"sidebarContent"],[3,"items","themeStar"],[3,"content"]],template:function(i,n){i&1&&(h(0,ze,2,1),I(1,"async"),c(2,"app-error-handler",5),h(3,Ve,1,3,"ng-template",null,0,f)(5,Qe,1,1,"ng-template",null,1,f)(7,Xe,1,1,"ng-template",null,2,f)(9,et,1,1,"ng-template",null,3,f)(11,it,1,1,"ng-template",null,4,f)),i&2&&(u(0,n.page&&R(1,4,n.showContent$)?0:-1),g(2),l("ngStyle",$(6,Oe))("returnRoute",n.unidadePath)("breadcrumbsItems",n.breadcrumbsItemsError))},dependencies:[G,K,xe,le,he,Me,be,fe,de,w,M,y,v,q],styles:["app-wp-content[_ngcontent-%COMP%]    >.rdsl-wp-sections:last-child, rdsite-error[_ngcontent-%COMP%]  .rdsite-error{display:block;margin-bottom:-40px}.star-padding[_ngcontent-%COMP%]  .rdsite-error{padding-top:105px;margin-bottom:0}@media only screen and (min-width: 1226px){.side-ctas-padding[_ngcontent-%COMP%]{display:block;padding-right:88px}}"]})}}return t})();var nt=[{path:":subpage/:child",component:C},{path:":subpage/:child/:lastchild",component:C},{path:":subpage",component:C},{path:"**",component:C}],Ie=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=x({type:t})}static{this.\u0275inj=S({imports:[E.forChild(nt),E]})}}return t})();var Jt=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=x({type:t})}static{this.\u0275inj=S({imports:[z,Ie,me,ce,ve,ge,we,Se,Ce,ue,ie,w,M,y,v]})}}return t})();export{Jt as ContentSidebarMenuModule};

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.