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Y,EAAE,CAAC;QAGrD,IAAI,YAAY,CAAC,KAAK,KAAK,MAAM;YAC/B,CAAC,CAAC,CAAC,OAAO,IAAI,YAAY,CAAC,IAAI,MAAM,CAAC,UAAU,CAAC,8BAA8B,CAAC,CAAC,OAAO,CAAC;YACzF,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;;YACrB,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;IAChC,CAAC;IAED,QAAQ;QACN,OAAO,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC;IAED,QAAQ,CAAC,KAAa;QACpB,YAAY,CAAC,KAAK,GAAG,KAAK,CAAC;QAC3B,QAAQ,KAAK,EAAE;YACb,KAAK,OAAO;gBACV,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;gBAClD,MAAM;YACR,KAAK,MAAM;gBACT,QAAQ,CAAC,eAAe,CAAC,SAAS,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;SAClD;QACD,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IACzB,CAAC;CAEF;;AA7BY,kBAAkB;IAJ9B,yDAAU,CAAC;QACV,UAAU,EAAE,MAAM;KACnB,CAAC;GAEW,kBAAkB,CA6B9B;AA7B8B","sources":["./src/app/components/basket/basket.service.ts","./src/app/components/shared/basket-btn/basket-btn.component.ts","./src/app/components/shared/basket-btn/basket-btn.module.ts","./src/app/components/shared/footer/footer.component.ts","./src/app/components/shared/footer/footer.module.ts","./src/app/components/shared/head-line/head-line.component.ts","./src/app/components/shared/head-line/head-line.module.ts","./src/app/components/shared/header/header.component.ts","./src/app/components/shared/header/header.module.ts","./src/app/components/shared/heading1/heading1.component.ts","./src/app/components/shared/heading1/heading1.module.ts","./src/app/components/shared/logo/logo.component.ts","./src/app/components/shared/logo/logo.module.ts","./src/app/components/shared/menu/hamburger-menu/hamburger-menu-item/hamburger-menu-item.component.ts","./src/app/components/shared/menu/hamburger-menu/hamburger-menu-item/hamburger-menu-item.module.ts","./src/app/components/shared/menu/hamburger-menu/hamburger-menu.component.ts","./src/app/components/shared/menu/hamburger-menu/hamburger-menu.module.ts","./src/app/components/shared/menu/menu-item/menu-item.component.ts","./src/app/components/shared/menu/menu-item/menu-item.module.ts","./src/app/components/shared/menu/menu.component.ts","./src/app/components/shared/menu/menu.module.ts","./src/app/components/shared/menu/menu.service.ts","./src/app/components/shared/scroll-top/scroll-top.component.ts","./src/app/components/shared/scroll-top/scroll-top.module.ts","./src/app/components/shared/theme-switch/theme-switch.component.ts","./src/app/components/shared/theme-switch/theme-switch.module.ts","./src/app/components/shared/theme-switch/theme-switch.service.ts"],"sourcesContent":["import {Injectable} from \"@angular/core\";\nimport {BehaviorSubject, Observable} from \"rxjs\";\n\n@Injectable({\n providedIn: \"root\"\n})\n\nexport class BasketService {\n\n private basketItemsCount = new BehaviorSubject(5);\n basketItemCount$: Observable = this.basketItemsCount.asObservable();\n\n constructor() {\n }\n}\n","import {Component, OnInit} from \"@angular/core\";\nimport {BasketService} from \"../../basket/basket.service\";\nimport {Router} from \"@angular/router\";\nimport {MenuService} from \"../menu/menu.service\";\n\n@Component({\n selector: \"app-basket-btn\",\n templateUrl: \"./basket-btn.component.html\",\n styleUrls: [\"./basket-btn.component.scss\"],\n})\nexport class BasketBtnComponent implements OnInit {\n\n constructor(public basketService: BasketService, public router: Router, public menuService: MenuService) {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {BasketBtnComponent} from \"./basket-btn.component\";\nimport {RouterModule} from \"@angular/router\";\nimport {CommonModule} from \"@angular/common\";\n\n@NgModule({\n declarations: [BasketBtnComponent],\n imports: [\n RouterModule,\n CommonModule\n ],\n exports: [BasketBtnComponent]\n})\n\nexport class BasketBtnModule {\n}\n","import {Component, OnInit} from '@angular/core';\n\n@Component({\n selector: 'app-footer',\n templateUrl: './footer.component.html',\n styleUrls: ['./footer.component.scss'],\n})\nexport class FooterComponent implements OnInit {\n\n year: any;\n\n constructor() {\n this.year = new Date().getFullYear();\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {FooterComponent} from \"./footer.component\";\nimport {RouterModule} from \"@angular/router\";\n\n@NgModule({\n declarations: [FooterComponent],\n imports: [\n RouterModule\n ],\n exports: [FooterComponent]\n})\n\nexport class FooterModule {\n\n}\n","import {Component, Input, OnInit} from \"@angular/core\";\n\n@Component({\n selector: \"app-head-line\",\n templateUrl: \"./head-line.component.html\",\n styleUrls: [\"./head-line.component.scss\"],\n})\nexport class HeadLineComponent implements OnInit {\n\n @Input() background;\n @Input() icon;\n @Input() text;\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {HeadLineComponent} from \"./head-line.component\";\nimport {Heading1Module} from \"../heading1/heading1.module\";\n\n@NgModule({\n declarations: [HeadLineComponent],\n imports: [\n Heading1Module\n ],\n exports: [HeadLineComponent]\n})\n\nexport class HeadLineModule {\n}\n","import {Component, Input, OnInit} from \"@angular/core\";\n\n@Component({\n selector: \"app-header\",\n templateUrl: \"./header.component.html\",\n styleUrls: [\"./header.component.scss\"],\n})\nexport class HeaderComponent implements OnInit {\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {HeaderComponent} from \"./header.component\";\nimport {MenuModule} from \"../menu/menu.module\";\n\n@NgModule({\n declarations: [HeaderComponent],\n imports: [\n MenuModule,\n ],\n exports: [HeaderComponent],\n})\n\nexport class HeaderModule {\n}\n","import {Component, Input, OnInit} from \"@angular/core\";\n\n@Component({\n selector: \"app-heading1\",\n templateUrl: \"./heading1.component.html\",\n styleUrls: [\"./heading1.component.scss\"],\n})\nexport class Heading1Component implements OnInit {\n\n @Input() icon;\n @Input() text;\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\nimport {Heading1Component} from \"./heading1.component\";\n\n@NgModule({\n declarations: [Heading1Component],\n imports: [],\n exports: [Heading1Component]\n})\nexport class Heading1Module {\n}\n","import {Component, OnInit, ViewEncapsulation} from \"@angular/core\";\nimport {MenuService} from \"../menu/menu.service\";\n\n@Component({\n selector: \"app-logo\",\n templateUrl: \"./logo.component.html\",\n styleUrls: [\"./logo.component.scss\"],\n encapsulation: ViewEncapsulation.None\n})\nexport class LogoComponent implements OnInit {\n\n constructor(public menuService: MenuService) {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\nimport {LogoComponent} from \"./logo.component\";\nimport {RouterModule} from \"@angular/router\";\n\n@NgModule({\n declarations: [LogoComponent],\n imports: [\n RouterModule\n ],\n exports: [LogoComponent]\n})\nexport class LogoModule {\n}\n","import {Component, Input, OnInit} from \"@angular/core\";\nimport {Router} from \"@angular/router\";\nimport {MenuService} from \"../../menu.service\";\n\n@Component({\n selector: \"app-hamburger-menu-item\",\n templateUrl: \"./hamburger-menu-item.component.html\",\n styleUrls: [\"./hamburger-menu-item.component.scss\"],\n})\nexport class HamburgerMenuItemComponent implements OnInit {\n\n @Input() link: string = \"\";\n @Input() text: string = \"\";\n @Input() favicon: string = \"\";\n @Input() buttonType: \"default-btn\" | \"outline-btn\" = \"default-btn\";\n\n constructor(public router: Router, public menuService: MenuService) {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {HamburgerMenuItemComponent} from \"./hamburger-menu-item.component\";\nimport {RouterModule} from \"@angular/router\";\nimport {CommonModule} from \"@angular/common\";\n\n@NgModule({\n declarations: [HamburgerMenuItemComponent],\n imports: [\n RouterModule,\n CommonModule\n ],\n exports: [HamburgerMenuItemComponent]\n})\n\nexport class HamburgerMenuItemModule {\n}\n","import {Component, OnInit} from \"@angular/core\";\nimport {MenuService} from \"../menu.service\";\n\n@Component({\n selector: \"app-hamburger-menu\",\n templateUrl: \"./hamburger-menu.component.html\",\n styleUrls: [\"./hamburger-menu.component.scss\"],\n})\nexport class HamburgerMenuComponent implements OnInit {\n\n constructor(public menuService: MenuService) {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {HamburgerMenuComponent} from \"./hamburger-menu.component\";\nimport {HamburgerMenuItemModule} from \"./hamburger-menu-item/hamburger-menu-item.module\";\nimport {ThemeSwitchModule} from \"../../theme-switch/theme-switch.module\";\nimport {BasketBtnModule} from \"../../basket-btn/basket-btn.module\";\nimport {CommonModule} from \"@angular/common\";\n\n@NgModule({\n declarations: [HamburgerMenuComponent],\n imports: [\n HamburgerMenuItemModule,\n ThemeSwitchModule,\n BasketBtnModule,\n CommonModule\n ],\n exports: [HamburgerMenuComponent]\n})\n\nexport class HamburgerMenuModule {\n\n}\n","import {Component, Input, OnInit} from '@angular/core';\nimport {Router} from '@angular/router';\nimport {MenuService} from '../menu.service';\n\n@Component({\n selector: 'app-menu-item',\n templateUrl: './menu-item.component.html',\n styleUrls: ['./menu-item.component.scss'],\n\n})\nexport class MenuItemComponent implements OnInit {\n\n @Input() link: string = '';\n @Input() text: string = '';\n @Input() favicon: string = '';\n @Input() buttonType: 'default-btn' | 'outline-btn' = 'default-btn';\n\n constructor(public router: Router, public menuService: MenuService) {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {MenuItemComponent} from \"./menu-item.component\";\nimport {CommonModule} from \"@angular/common\";\nimport {RouterModule} from \"@angular/router\";\n\n@NgModule({\n declarations: [MenuItemComponent],\n imports: [\n CommonModule,\n RouterModule\n ],\n exports: [MenuItemComponent]\n})\n\nexport class MenuItemModule {\n}\n","import {Component, OnInit} from \"@angular/core\";\n\n@Component({\n selector: \"app-menu\",\n templateUrl: \"./menu.component.html\",\n styleUrls: [\"./menu.component.scss\"],\n})\nexport class MenuComponent implements OnInit {\n\n constructor() {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {MenuComponent} from \"./menu.component\";\nimport {CommonModule} from \"@angular/common\";\nimport {ThemeSwitchModule} from \"../theme-switch/theme-switch.module\";\nimport {MenuItemModule} from \"./menu-item/menu-item.module\";\nimport {LogoModule} from \"../logo/logo.module\";\nimport {HamburgerMenuModule} from \"./hamburger-menu/hamburger-menu.module\";\nimport {BasketBtnModule} from \"../basket-btn/basket-btn.module\";\n\n@NgModule({\n declarations: [MenuComponent],\n imports: [\n CommonModule,\n ThemeSwitchModule,\n MenuItemModule,\n LogoModule,\n HamburgerMenuModule,\n BasketBtnModule\n ],\n exports: [\n MenuComponent\n ]\n})\n\nexport class MenuModule {\n\n}\n","import {Injectable} from '@angular/core';\nimport {BehaviorSubject} from 'rxjs';\n\n@Injectable({\n providedIn: 'root'\n})\n\nexport class MenuService {\n\n private hamburgerMenuActive = new BehaviorSubject(true);\n hamburgerMenuActive$ = this.hamburgerMenuActive.asObservable();\n\n constructor() {\n }\n\n toggleHamburgerMenuActive() {\n const oldValue = this.hamburgerMenuActive.getValue();\n this.hamburgerMenuActive.next(!oldValue);\n }\n\n checkMenuLinkActive(route, link): boolean {\n const urlArray = route.split('/');\n const stripLink = link.replace('/', '');\n\n switch (urlArray[1]) {\n case stripLink:\n return true;\n default:\n return false;\n }\n }\n\n}\n","import {Component, Input, OnInit, ViewEncapsulation} from \"@angular/core\";\nimport {IonContent} from \"@ionic/angular\";\nimport {ScrollTopService} from \"./scroll-top.service\";\n\n@Component({\n selector: \"app-scroll-top\",\n templateUrl: \"./scroll-top.component.html\",\n styleUrls: [\"./scroll-top.component.scss\"],\n encapsulation: ViewEncapsulation.None\n})\nexport class ScrollTopComponent implements OnInit {\n\n @Input() ionContent: IonContent;\n\n constructor(public scrollTopService: ScrollTopService) {\n }\n\n ngOnInit() {\n }\n\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {ScrollTopComponent} from \"./scroll-top.component\";\nimport {CommonModule} from \"@angular/common\";\n\n@NgModule({\n declarations: [ScrollTopComponent],\n imports: [\n CommonModule\n ],\n exports: [ScrollTopComponent]\n})\n\nexport class ScrollTopModule {\n}\n","import {Component, OnInit} from \"@angular/core\";\nimport {ThemeSwitchService} from \"./theme-switch.service\";\n\n@Component({\n selector: \"app-theme-switch\",\n templateUrl: \"./theme-switch.component.html\",\n styleUrls: [\"./theme-switch.component.scss\"],\n})\nexport class ThemeSwitchComponent implements OnInit {\n\n constructor(public theme: ThemeSwitchService) {\n }\n\n ngOnInit() {\n }\n\n}\n","import {NgModule} from \"@angular/core\";\n\nimport {ThemeSwitchComponent} from \"./theme-switch.component\";\nimport {CommonModule} from \"@angular/common\";\n\n@NgModule({\n declarations: [ThemeSwitchComponent],\n imports: [\n CommonModule\n ],\n exports: [ThemeSwitchComponent]\n})\n\nexport class ThemeSwitchModule {\n}\n","import {Injectable} from \"@angular/core\";\nimport {BehaviorSubject, Observable} from \"rxjs\";\n\n@Injectable({\n providedIn: \"root\"\n})\n\nexport class ThemeSwitchService {\n\n private theme = new BehaviorSubject(\"\");\n\n theme$: Observable = this.theme.asObservable();\n\n constructor() {\n if (localStorage.theme === \"dark\" ||\n (!(\"theme\" in localStorage) && window.matchMedia(\"(prefers-color-scheme: dark)\").matches))\n this.theme.next(\"dark\");\n else this.theme.next(\"light\");\n }\n\n getTheme(): Observable {\n return this.theme$;\n }\n\n setTheme(theme: string) {\n localStorage.theme = theme;\n switch (theme) {\n case \"light\":\n document.documentElement.classList.remove(\"dark\");\n break;\n case \"dark\":\n document.documentElement.classList.add(\"dark\");\n }\n this.theme.next(theme);\n }\n\n}\n"],"names":[],"sourceRoot":"webpack:///","x_google_ignoreList":[]}