PageSourceSearch

https://www.appliancesonline.co.nz/chunk-5SA4IM4S.js

js appliancesonline.co.nz collected 2026-10-07 19:00:20 UTC 20,335 bytes, 1 lines download raw bytes

1import{b as qe}from"./chunk-HYCJYGXP.js";import{c as Ue}from"./chunk-RAW345Y6.js";import{a as Le}from"./chunk-RYVW3VFK.js";import{c as Ge}from"./chunk-FPBLHGV7.js";import{a as Ee,c as q,d as Q,g as Y}from"./chunk-62XDF4UC.js";import{a as L}from"./chunk-TCDB2YUQ.js";import{c as Fe,x as G}from"./chunk-TRLU525I.js";import{a as je,c as A}from"./chunk-5P67TACX.js";import{A as xe,Cb as We,Db as He,P as Ie,X as $e,Y as ke,c as k,f as R,fa as Re,l as U,sa as Ae,za as Ve}from"./chunk-WQGMJXLQ.js";import{c as Ne}from"./chunk-KQEDLGWJ.js";import{c as Pe}from"./chunk-3IN7KGY7.js";import{e as Be}from"./chunk-BEMXG6R4.js";import{W as De,ha as Te}from"./chunk-4Q3ANJSX.js";import{$b as fe,Ac as P,Bb as he,Db as l,Dd as g,E as oe,Ed as m,G as se,Ga as w,Gc as we,Ha as y,I as ae,Jc as _,K as x,Ma as pe,Oa as O,Ob as W,Q as V,Qb as de,Qc as p,Sa as ge,Sc as c,Tc as ye,Uc as _e,V as M,Vb as D,Wb as ve,Wc as Se,Xc as H,Yc as F,ab as me,ae as $,cd as N,ed as Me,f as ee,fa as re,fd as f,ga as le,gd as j,hc as ue,hd as Oe,ic as Ce,la as S,lc as be,m as te,n as ie,na as B,qc as d,sc as v,ua as b,va as ce,wd as I,x as C,xc as T,y as ne,yc as s,za as o,zc as a}from"./chunk-NGQXYJ5Y.js";import{g as z}from"./chunk-GAL4ENT6.js";var Qe=[{path:"/assets/img/icons/minus.svg",name:"minus-icon"},{path:"/assets/ui-kit/icons/generic/basic/phone.svg",name:"phone"},{path:"/assets/aol/images/icons/phone-with-sound.svg",name:"phone-with-sound"},{path:"/assets/img/svg/plus.svg",name:"plus-icon"},{path:"/assets/img/svg/chevron.svg",name:"chevron-icon"},{name:"brands",path:"/assets/hc/icons/brands.svg"},{name:"hot-offers",path:"/assets/hc/icons/hot-offers.svg"},{name:"info",path:"/assets/hc/icons/info.svg"}];var Je=["*"];function Xe(i,u){if(i&1){let e=_();s(0,"button",3),p("click",function(){w(e);let n=c(2);return y(n.close())}),s(1,"span",4),f(2,"\xD7"),a(),s(3,"span",5),f(4,"Close"),a()()}}function Ze(i,u){if(i&1&&(s(0,"div",1),d(1,Xe,5,0,"button",2),_e(2),a()),i&2){let e=c();Me("alert alert-"+e.type),T("ngClass",e.classes),l(),v(e.dismissible?1:-1)}}var K=(()=>{class i{constructor(){this.type="warning",this.dismissible=!1,this.dismissOnTimeout=void 0}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})(),Ye=(()=>{class i{constructor(e,t){this.changeDetection=t,this.type="warning",this.dismissible=!1,this.isOpen=!0,this.onClose=new O,this.onClosed=new O,this.classes="",this.dismissibleChange=new O,Object.assign(this,e),this.dismissibleChange.subscribe(()=>{this.classes=this.dismissible?"alert-dismissible":"",this.changeDetection.markForCheck()})}ngOnInit(){this.dismissOnTimeout&&setTimeout(()=>this.close(),parseInt(this.dismissOnTimeout,10))}close(){this.isOpen&&(this.onClose.emit(this),this.isOpen=!1,this.changeDetection.markForCheck(),this.onClosed.emit(this))}static{this.\u0275fac=function(t){return new(t||i)(W(K),W($))}}static{this.\u0275cmp=D({type:i,selectors:[["alert"],["bs-alert"]],inputs:{type:"type",dismissible:"dismissible",dismissOnTimeout:"dismissOnTimeout",isOpen:"isOpen"},outputs:{onClose:"onClose",onClosed:"onClosed"},ngContentSelectors:Je,decls:1,vars:1,consts:[["role","alert",3,"class","ngClass"],["role","alert",3,"ngClass"],["type","button","aria-label","Close",1,"close","btn-close"],["type","button","aria-label","Close",1,"close","btn-close",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"sr-only","visually-hidden"]],template:function(t,n){t&1&&(ye(),d(0,Ze,3,4,"div",0)),t&2&&v(n.isOpen?0:-1)},dependencies:[De],encapsulation:2,changeDetection:0})}}return te([Ie(),ie("design:type",Object)],i.prototype,"dismissible",void 0),i})(),Ke=(()=>{class i{static forRoot(){return{ngModule:i,providers:[]}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275mod=ve({type:i})}static{this.\u0275inj=ce({})}}return i})();function et(i,u){if(i&1){let e=_();s(0,"div",1)(1,"div",3),f(2),a(),s(3,"wui-close-button",4),p("close",function(){w(e);let n=c();return y(n.closeMessage())}),a()()}if(i&2){let e=c();l(2),j(e.message),l(),T("customColor",e.wuiColor.waWhite)}}function tt(i,u){if(i&1){let e=_();s(0,"alert",2)(1,"div",3),f(2),a(),s(3,"a",5),p("click",function(){w(e);let n=c();return y(n.closeMessage())}),s(4,"span",6),f(5,"\xD7"),a()()()}if(i&2){let e=c();l(2),j(e.message)}}var J=(()=>{class i{constructor(){this.globalMessageService=o(A),this.route=o(R),this.onClose=new O,this.type="error",this.wuiColor=ke}ngOnInit(){this.observeRouteChange(),this.observeMessageChange(),this.observeStateChange()}closeMessage(){this.globalMessageService.setVisibility(!1)}observeRouteChange(){this.route.events.pipe(x(e=>e instanceof k)).subscribe(()=>{this.globalMessageService.setVisibility(!1)})}observeMessageChange(){this.globalMessageService.messageChangedEvent.subscribe(e=>
1{e&&(this.type=e.type,this.message=e.text,this.globalMessageService.setVisibility(!0),e.keepAlive||setTimeout(()=>{this.globalMessageService.setVisibility(!1)},3e3),this.globalMessageService.clearMessage())})}observeStateChange(){this.globalMessageService.stateChangedEvent.subscribe(e=>{this.isVisible=e,this.onClose.emit()})}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=D({type:i,selectors:[["app-global-message"]],outputs:{onClose:"onClose"},features:[I([K])],decls:3,vars:7,consts:[[1,"global-message"],[1,"container"],["type","success"],[1,"message"],[3,"close","customColor"],[1,"close",3,"click"],["aria-hidden","true"]],template:function(t,n){t&1&&(s(0,"div",0),d(1,et,4,2,"div",1)(2,tt,6,1,"alert",2),a()),t&2&&(N("visible",n.isVisible)("error",n.type==="error")("success",n.type==="success"),l(),v(n.type==="error"?1:n.type==="success"?2:-1))},dependencies:[$e,Ke,Ye],styles:[".global-message.error[_ngcontent-%COMP%]{background:#ec1010}.global-message[_ngcontent-%COMP%]{display:none}.global-message.visible[_ngcontent-%COMP%]{display:block}.global-message.visible.success[_ngcontent-%COMP%]{position:fixed;top:50px;right:0;display:block;width:320px;padding:1em;color:var(--color-white);font-size:.95em;z-index:2}.global-message[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding-bottom:1em;padding-top:1em;color:var(--color-white)}.global-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--color-white);margin-left:1em;text-decoration:none}.global-message[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:var(--color-white)}"]})}}return i})();var X=(()=>{class i{constructor(){this.lastScrollTop=0,this.observeFromEvent=["scroll","resize"],this.createObservableStream=()=>{let e=this.observeFromEvent.map(t=>oe(window,t).pipe(re()));return ae(...e)},this.scroll$=this.createObservableStream().pipe(M()),this.isScrollingDown$=this.scroll$.pipe(C(()=>{let e=Math.max(window.pageYOffset,0),t=e>this.lastScrollTop;return this.lastScrollTop=e,t}),le())}isElementScrollingUp(e,t=0){return this.isScrollingDown$.pipe(C(n=>n&&this.isElementOutOfBound(e,t)))}isElementWaiting(e,t=0){return this.scroll$.pipe(C(()=>window.pageYOffset>0&&!this.isElementOutOfBound(e,t)))}isElementFloating(e,t=0){return this.isScrollingDown$.pipe(C(n=>window.pageYOffset>0&&!n&&this.isElementOutOfBound(e,t)))}preventScrollRestoration(){"scrollRestoration"in window.history?history.scrollRestoration="manual":window.onbeforeunload=()=>{window.scrollTo(0,0)}}isElementOutOfBound(e,t=0){return Math.abs(e.nativeElement.getBoundingClientRect().top)>e.nativeElement.clientHeight+t}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var it=["navWrapper"],nt=["navigationComponentContainer"],ot=()=>[import("./chunk-IV36HJT7.js").then(i=>i.CartPanelComponent)];function st(i,u){if(i&1){let e=_();s(0,"app-search-nav",11),p("close",function(){w(e);let n=c();return y(n.resetView())}),a()}}function at(i,u){if(i&1){let e=_();s(0,"app-store-nav",12),g(1,"async"),p("close",function(){w(e);let n=c();return y(n.resetView())}),a()}if(i&2){let e=c();T("storeDetailView",m(1,2,e.store$))("isSmallerDevice",e.isSmallerDevice)}}function rt(i,u){i&1&&P(0,"app-cart-panel")}function lt(i,u){i&1&&(s(0,"p",9),f(1),a()),i&2&&(l(),Oe("Your store: ",u.name))}var ct=(()=>{class i{constructor(){this.envService=o(Be),this.store=o(xe),this.windowDimensionsService=o(L),this.router=o(R),this.changeDetectorRef=o($),this.scrollService=o(X),this.navbarState=o(Q),this.globalMessageService=o(A),this.userService=o(je),this.adminNavbarService=o(Le),this.alertBannerService=o(Ee),this.navigationStore=o(Y),this.svgIconService=o(Pe),this.globalMessageHasAmdinTop=!1,this.navigationViewType=q,this.categoryStack=[],this.unsubscribe$=new ee,this.openMyCart=ge(!1),this.destroyRef=o(pe),this.isCheckoutPage$=this.store.select(Ve.getPageType).pipe(C(e=>e===Ae.Checkout)),this.svgIconService.lazilyRegisterIcons(Qe),this.navigationStore.fetchNavigationData()}ngOnInit(){this.isAvailable$=this.navigationStore.isAvailable$,this.navigationViewType$=this.navigationStore.navigationViewType$,this.observeScreenResize(),this.observeNavigation(),this.observeGlobalMessages(),this.getCartState(),this.scrollToTop(),this.detectChanges(),this.hasAdminBar=this.userService.isAuthenticated()&&(this.envService.isWaApp||this.envService.isHcApp),this.store$=this.store.select(Fe.getStore),this.alertBannerData$=this.alertBannerService.alertBanner$,this.isSaleOn$=this.store.select(Ue.getIsSaleOn),this.hasAdminBar&&(this.globalMessageHasAmdinTop=!0),this.checkIfAlertandSalesBannersActive()}ngOnDestroy(){this.changeDetectorRef.detach(),this.unsubscribe$.next(),this.unsubscribe$.complete(),this.isDestroyed=!0}ngAfterViewInit(){this.enableStickyNav(),this.isAvailable$.pipe(x(e=>!!e),V(1),U(this.destroyRef),B(()=>setTimeout(()=>this.loadNavigationComponent()))).subscribe()}loadNavigationComponent(){return z(this,null,function*(){let e=this.navigationComponentContainer;if(!e||e.length>0)return;let t;if(this.envService.isHcApp){let{HcNavComponent:n}=yield import("./chunk-3AGFX7RW.js");t=e.createComponent(n)}else if(this.envService.isAndooTheme){let{AndooNavComponent:n}=yield import("./chunk-TZVTTNEO.js");t=e.createComponent(n)}else if(this.envService.isWaTheme){let{WaNavComponent:n}=yield import("./chunk-6Y7OIKIB.js");t=e.createComponent(n)}this.windowDimensionsService.upTo("md").pipe(U(this.destroyRef)).subscribe(n=>{t.setInput("isMobile",n)})})}onScroll(){window.pageYOffset>this.navWrapper.nativeElement.offsetHeight?this.globalMessageIsFloating=!0:this.globalMessageIsFloating=!1}detectChanges(){this.isDestroyed||this.changeDetectorRef.detectChanges()}toggleNav(e){e?this.navigationStore.openMobileNav():this.navigationStore.closeMobileNav()}toggleCart(){this.openMyCart()?this.store.dispatch(G.openMyCart()):se(0).pipe(V(1),B(()=>{this.store.dispatch(G.openMyCart())})).subscribe(),this.openMyCart.set(!0)}onWrapperClick(e){let t=e.target;if(t&&t.tagName.toLowerCase()==="a"&&t.href)try{let n=new URL(t.href);this.router.url===n.pathname&&this.toggleNav(!1)}catch(n){}}scrollToTop(){window.setTimeout(()=>{window.scroll(0,0)},0)}getCartState(){this.navbarState.cartToggle.pipe(S(this.unsubscribe$)).subscribe(()=>{this.toggleCart(),this.detectChanges()})}observeScreenResize(){this.windowDimensionsService.upTo("md").pipe(S(this.unsubscribe$)).subscribe(e=>{this.isSmallerDevice=e,this.toggleNav(!1),this.detectChanges()})}observeNavigation(){this.router.events.pipe(x(e=>e instanceof k),S(this.unsubscribe$)).subscribe(e=>{this.toggleNav(!1)})}
1enableStickyNav(){if(this.navWrapper){let e=this.hasAdminBar?this.adminNavbarService.navBarHeight*-1:this.navWrapper.nativeElement.offsetHeight*-1;this.scrollService.isElementScrollingUp(this.navWrapper,e).pipe(S(this.unsubscribe$),M()).subscribe(t=>{this.navIsScrollUp=t,this.navbarState.navIsScrollUp$.next(t),this.detectChanges()}),this.scrollService.isElementFloating(this.navWrapper,e).pipe(S(this.unsubscribe$),M()).subscribe(t=>{this.navIsFloating=t,this.navbarState.navIsFloating$.next(t),this.detectChanges()}),this.scrollService.isElementWaiting(this.navWrapper,e).pipe(S(this.unsubscribe$),M()).subscribe(t=>{this.navIsWaiting=t,this.navbarState.navIsWaiting$.next(t),this.detectChanges()}),this.scrollService.preventScrollRestoration()}}observeGlobalMessages(){this.globalMessageService.messageChangedEvent.subscribe(()=>{this.detectChanges()})}checkIfAlertandSalesBannersActive(){this.envService.isAndooTheme&&(this.alertAndSalesBannersActive$=ne([this.isSaleOn$,this.alertBannerData$]).pipe(C(([e,t])=>!!e&&!!t)))}resetView(){this.navigationStore.setNavigationViewType(q.None)}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275cmp=D({type:i,selectors:[["app-navigation"]],viewQuery:function(t,n){if(t&1&&Se(it,5,me)(nt,5,de),t&2){let r;H(r=F())&&(n.navWrapper=r.first),H(r=F())&&(n.navigationComponentContainer=r.first)}},hostBindings:function(t,n){t&1&&p("scroll",function(){return n.onScroll()},he)},inputs:{hasMasthead:"hasMasthead"},features:[I([L,X,Y])],decls:26,vars:52,consts:[["navWrapper",""],["navigationComponentContainer",""],["globalMessageWrapper",""],["id","navigation-wrapper",1,"navigation-wrapper",3,"click"],[1,"load-fonts"],[3,"storeDetailView","isSmallerDevice"],[1,"global-message-wrapper"],[3,"onClose"],[1,"nav-for-print"],[1,"your-store-for-print"],["src","/assets/img/svg/wa-logo-gold.svg",1,"navbar-logo-for-print"],[3,"close"],[3,"close","storeDetailView","isSmallerDevice"]],template:function(t,n){if(t&1&&(s(0,"div",3,0),g(2,"async"),g(3,"async"),g(4,"async"),g(5,"async"),p("click",function(h){return n.onWrapperClick(h)}),P(6,"span",4),d(7,st,1,0,"app-search-nav"),g(8,"async"),d(9,at,2,4,"app-store-nav",5),g(10,"async"),s(11,"div"),we(12,null,1),a(),fe(14,rt,1,0),ue(15,14,ot),be(8e3),a(),s(17,"div",6),g(18,"async"),g(19,"async"),s(20,"app-global-message",7,2),p("onClose",function(){return n.detectChanges()}),a()(),s(22,"div",8),d(23,lt,2,1,"p",9),g(24,"async"),P(25,"img",10),a()),t&2){let r;N("is-smaller-device",n.isSmallerDevice)("has-masthead",n.hasMasthead)("search-view",m(2,34,n.navigationViewType$)===n.navigationViewType.Search)("has-alert-banner",m(3,36,n.alertBannerData$))("has-alert-and-sales-banner",m(4,38,n.alertAndSalesBannersActive$))("has-header-simplified",m(5,40,n.isCheckoutPage$)),l(7),v(m(8,42,n.navigationViewType$)===n.navigationViewType.Search?7:-1),l(2),v(m(10,44,n.navigationViewType$)===n.navigationViewType.Store?9:-1),l(2),N("nav-floating",n.navIsFloating&&n.isSmallerDevice)("nav-up",n.navIsScrollUp&&n.isSmallerDevice)("nav-waiting",n.navIsWaiting&&n.isSmallerDevice),l(4),Ce(n.openMyCart()),l(2),N("global-message-has-masthead",n.hasMasthead)("global-message-wrapper-floating",n.globalMessageIsFloating)("global-message-wrapper-floating-alert-banner",n.globalMessageIsFloating&&m(18,46,n.alertBannerData$))("global-message-has-alert-banner",m(19,48,n.alertBannerData$))("global-message-admin-top",n.globalMessageHasAmdinTop)("global-message-mobile-nav-floating",n.navIsFloating),l(6),v((r=m(24,50,n.store$))?23:-1,r)}},dependencies:[Ge,qe,J,Te],styles:['[_nghost-%COMP%]{display:block;position:relative}.navigation-wrapper[_ngcontent-%COMP%]{display:block;box-shadow:0 2px 12px #00000014;height:132px}.navigation-wrapper.has-header-simplified[_ngcontent-%COMP%]{height:48px}.navigation-wrapper.is-smaller-device[_ngcontent-%COMP%]{height:56px}.navigation-wrapper.is-smaller-device.has-alert-banner[_ngcontent-%COMP%]:not(.has-masthead){margin-bottom:50px}.navigation-wrapper.is-smaller-device.has-alert-and-sales-banner[_ngcontent-%COMP%]{margin-bottom:0!important}.navigation-wrapper.is-smaller-device.has-alert-and-sales-banner[_ngcontent-%COMP%]     app-header-simplified{top:0}.navigation-wrapper[_ngcontent-%COMP%] + app-global-message[_ngcontent-%COMP%]{width:100%;z-index:1000}.global-message-wrapper[_ngcontent-%COMP%]{position:relative;top:0}.global-message-wrapper-floating[_ngcontent-%COMP%]{position:fixed;width:100%;z-index:2000}.global-message-admin-top[_ngcontent-%COMP%]{top:50px}.global-message-admin-top[_ngcontent-%COMP%]:not(.global-message-wrapper-floating){top:0}@media only screen and (max-width:974px){.global-message-has-alert-banner.global-message-has-masthead[_ngcontent-%COMP%]{top:50px}}.nav-for-print[_ngcontent-%COMP%]{display:none}.load-fonts[_ngcontent-%COMP%]{height:0;position:absolute;width:0}.load-fonts[_ngcontent-%COMP%]:before{content:"";font-family:Montserrat,Helvetica Neue,Helvetica,Arial,sans-serif;font-weight:300}@media print{.navigation-wrapper[_ngcontent-%COMP%]{display:none!important}.nav-for-print[_ngcontent-%COMP%]{display:block!important;margin:1em!important}.your-store-for-print[_ngcontent-%COMP%]{float:right}}'],changeDetection:0})}}return i})();var Oi=(()=>{class i{constructor(){this._window=window}initialize(){this._window.prerenderReady=!1,this.storeDefaultOgContent()}setReady(){this._window.prerenderReady=!0}storeDefaultOgContent(){this.defaultOgData={ogTitle:this.getOgContent("title"),ogUrl:this.getOgContent("url"),ogDescription:this.getOgContent("description"),ogType:this.getOgContent("type"),ogImage:{url:this.getOgContent("image"),width:Number(this.getOgContent("image:width")),height:Number(this.getOgContent("image:height"))}}}getDefaultOgImage(){return{url:this.getOgContent("image"),width:Number(this.getOgContent("image:width")),height:Number(this.getOgContent("image:height"))}}setOgTags(e){this.setOgContent("title",e.ogTitle||this.defaultOgData.ogTitle),this.setOgContent("type",e.ogType),this.setOgContent("description",e.ogDescription||this.defaultOgData.ogDescription),this.setOgContent("url",this.appendOriginToUrlIfRelative(e.ogUrl||window.location.pathname));let t=e.ogImage||this.defaultOgData.ogImage;this.setOgContent("image",this.appendOriginToUrlIfRelative(t.url)),this.setOgContent("image:width",t.width.toString()),this.setOgContent("image:height",t.height.toString()),this.setReady()}setDefaultOgTags(){this.setOgTags(this.defaultOgData)}getDefaultOgData(){return this.defaultOgData}getOgElement(e){return document.querySelector(`meta[property="og:${e}"]`)}setOgContent(e,t){let n=this.getOgElement(e);n&&n.setAttribute("content",t)}getOgContent(e){let t=this.getOgElement(e)?.getAttribute("content");return t||""}appendOriginToUrlIfRelative(e){try{return new URL(e).href}catch(t){let n=window.location.origin;return e&&e[0]==="/"?n+e:n+"/"+e}}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();var pt=(function(i){return i[i.smWidth=150]="smWidth",i[i.smHeight=150]="smHeight",i[i.mdWidth=350]="mdWidth",i[i.mdHeight=380]="mdHeight",i[i.lgWidth=1600]="lgWidth",i[i.lgHeight=630]="lgHeight",i})(pt||{}),gt=(function(i){return i.staticPage="article",i.productPage="product",i.categorySearchPage="product.group",i.otherPage="website",i})(gt||{});var Bi=(()=>{class i{constructor(){this.titleService=o(Ne),this.windowRef=o(Re),this.settingsService=o(He);let e=this.windowRef;this._window=e.nativeWindow,this.storeHardcodedData()}storeHardcodedData(){this._hardcodedTitle=this.titleService.getTitle(),this._hardcodedDescription=this.getMetadata("description"),this._hardcodedKeywords=this.getMetadata("keywords")}applyHardcodedData(){this.setTitle(this._hardcodedTitle),this.setMetaDescription(this._hardcodedDescription),this.setKeyWords(this._hardcodedKeywords)}setTitle(e,t){let n=e,r=this.settingsService.getValueByName(We.CompanyName)??"";t&&r&&(e.toLowerCase().endsWith(r.toLowerCase())||(n=`${e} | ${r}`)),this.titleService.setTitle(n)}setMetaDescription(e){this.setMetadata("description",e)}setKeyWords(e){this.setMetadata("keywords",e)}setMetadata(e,t){if(!t)return;let n=document.querySelector(`meta[name="${e}"]`);n&&n.setAttribute("content",t)}getMetadata(e){let t=document.querySelector(`meta[name="${e}"]`);return t?t.getAttribute("content"):null}setCanonicalLink(e,t=!1){let n=new URL(this.windowRef.origin+e);n.protocol="https",t=n.pathname==="/"?!0:t;let h=(n.origin+n.pathname).toLowerCase(),Z=h.endsWith("/");return t&&!Z?h+="/":!t&&Z&&(h=h.slice(0,h.length-1)),this._window.document.getElementById("canonicalLink").setAttribute("href",h),h}static{this.\u0275fac=function(t){return new(t||i)}}static{this.\u0275prov=b({token:i,factory:i.\u0275fac,providedIn:"root"})}}return i})();export{ct as a,Oi as b,pt as c,gt as d,Bi as e};

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.