"use strict";(self.webpackChunksalon_web=self.webpackChunksalon_web||[]).push([[553],{553:(x,l,s)=>{s.r(l),s.d(l,{CookieModule:()=>v});var c=s(6895),r=s(4553),o=s(4650),d=s(5830),u=s(7241),a=s(502);const p=function(){return{"border-radius":"5px",height:"10px",width:"100%"}};function g(e,i){1&e&&o._UZ(0,"ngx-skeleton-loader",5),2&e&&o.Q6J("theme",o.DdM(1,p))}const m=function(){return[1,2,3,4,5,6,7,8,9]};function f(e,i){1&e&&(o.TgZ(0,"div"),o.YNc(1,g,1,2,"ngx-skeleton-loader",4),o.qZA()),2&e&&(o.xp6(1),o.Q6J("ngForOf",o.DdM(1,m)))}function h(e,i){if(1&e&&o._UZ(0,"p",6),2&e){const t=o.oxw();o.Q6J("innerHTML",t.content,o.oJD)}}const C=[{path:"",component:(()=>{class e{constructor(t,n){this.api=t,this.util=n,this.loaded=!1,this.getPageInfo()}getPageInfo(){const t={id:8};console.log("param",t),this.api.post_private("v1/pages/getContent",t).then(n=>{this.loaded=!0,console.log(n),n&&n.status&&200==n.status&&n.data&&(this.content=n.data.content)},n=>{console.log(n),this.util.errorMessage(this.util.translate("Something went wrong")),this.loaded=!0}).catch(n=>{console.log(n),this.util.errorMessage(this.util.translate("Something went wrong")),this.loaded=!0})}ngOnInit(){}}return e.\u0275fac=function(t){return new(t||e)(o.Y36(d.s),o.Y36(u.f))},e.\u0275cmp=o.Xpm({type:e,selectors:[["app-cookie"]],decls:4,vars:2,consts:[[1,"container"],[1,"cookie-container"],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],[3,"theme",4,"ngFor","ngForOf"],[3,"theme"],[3,"innerHTML"]],template:function(t,n){1&t&&(o.TgZ(0,"div",0)(1,"div",1),o.YNc(2,f,2,2,"div",2),o.YNc(3,h,1,1,"p",3),o.qZA()()),2&t&&(o.xp6(2),o.Q6J("ngIf",!n.loaded),o.xp6(1),o.Q6J("ngIf",n.loaded))},dependencies:[c.sg,c.O5,a.xr],styles:['@charset "UTF-8";.cookie-container[_ngcontent-%COMP%]{margin-bottom:50px;padding-top:50px}']}),e})()}];let k=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[r.Bz.forChild(C),r.Bz]}),e})(),v=(()=>{class e{}return e.\u0275fac=function(t){return new(t||e)},e.\u0275mod=o.oAB({type:e}),e.\u0275inj=o.cJS({imports:[c.ez,k,a.hx]}),e})()}}]);