-
Notifications
You must be signed in to change notification settings - Fork 0
/
7337.3bf10fff09cbd8f2.js
1 lines (1 loc) · 1.7 KB
/
7337.3bf10fff09cbd8f2.js
1
"use strict";(self.webpackChunkbusu_city_ui=self.webpackChunkbusu_city_ui||[]).push([[7337],{7337:(v,i,e)=>{e.r(i),e.d(i,{WeatherPageModule:()=>g});var o=e(1524),s=e(7506),r=e(3354),h=e(529);const l=[{path:"",component:(()=>{class t{constructor(n){this.router=n,window.innerWidth<=s.breakpoints.sm?this.router.navigate(["weather/v1"]):this.router.navigate(["weather/v2"])}ngOnInit(){window.onresize=()=>{screen.orientation.type.startsWith("portrait")&&window.innerWidth<=s.breakpoints.sm||screen.orientation.type.startsWith("landscape")&&window.innerWidth<=s.breakpoints["3xs"]?this.router.url.includes("v1")||this.router.navigate(["weather/v1"]):this.router.url.includes("v2")||this.router.navigate(["weather/v2"])}}}return t.\u0275fac=function(n){return new(n||t)(r.Y36(o.F0))},t.\u0275cmp=r.Xpm({type:t,selectors:[["healmah-weather"]],decls:2,vars:0,consts:[[1,"bg:url('assets/img/icon.png')","bg:url('assets/img/weather.jpg')","d:none"]],template:function(n,f){1&n&&r._UZ(0,"ion-router-outlet")(1,"div",0)},dependencies:[h.jP]}),t})(),children:[{path:"v1",loadChildren:()=>e.e(4933).then(e.bind(e,4933)).then(t=>t.PortraitModule)},{path:"v2",loadChildren:()=>Promise.all([e.e(8592),e.e(5870)]).then(e.bind(e,5870)).then(t=>t.LandscapeModule)},{path:"",redirectTo:"v1",pathMatch:"full"}]}];let u=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({imports:[o.Bz.forChild(l),o.Bz]}),t})();var d=e(8148),c=e(4446);let g=(()=>{class t{constructor(n){this.router=n,localStorage.getItem("welcome")||this.router.navigate(["welcome"])}}return t.\u0275fac=function(n){return new(n||t)(r.LFG(o.F0))},t.\u0275mod=r.oAB({type:t}),t.\u0275inj=r.cJS({providers:[d.F],imports:[c._o,u]}),t})()}}]);