PageSourceSearch

https://ai.shiftat.sa/chunk-WUXBPZAL.js

js shiftat.sa collected 2026-10-01 23:54:12 UTC 1,948 bytes, 1 lines download raw bytes

1import{b as o}from"./chunk-AXMW2GJQ.js";import{F as c,Q as p,Z as u,ca as h,na as w,pc as n,q as i,ta as f,x as s,z as l}from"./chunk-WLTSAKSP.js";function v(){let e=navigator.userAgent.toLowerCase(),t=navigator.userAgentData?.platform?.toLowerCase()??navigator.platform?.toLowerCase()??"";return/iphone|ipad|ipod/.test(e)||t==="macintel"&&navigator.maxTouchPoints>1?"ios":/android/.test(e)?"android":/mac/.test(t)?"macos":/win/.test(t)?"windows":/linux/.test(t)?"linux":"unknown"}function a(e){let t=window.matchMedia(e);return s(t,"change").pipe(i(r=>r.matches),p(t.matches))}var g=class e{destroyRef=h(w);mqMobile$=a(`(max-width: ${767}px)`);mqTablet$=a(`(min-width: ${768}px) and (max-width: ${1023}px)`);mqSmallDesktop$=a(`(min-width: ${1024}px) and (max-width: ${1279}px)`);breakpoint$=l(this.mqMobile$,this.mqTablet$,this.mqSmallDesktop$).pipe(i(()=>this.resolveBreakpoint()),p(this.resolveBreakpoint()));breakpoint=o(this.breakpoint$,{initialValue:this.resolveBreakpoint()});isMobile=n(()=>{let t=this.breakpoint();return t==="mobile"||t==="tablet"});isDesktop=n(()=>!this.isMobile());resize$=s(window,"resize").pipe(c(100));viewportWidth=o(this.resize$.pipe(i(()=>window.innerWidth)),{initialValue:window.innerWidth});viewportHeight=o(this.resize$.pipe(i(()=>window.innerHeight)),{initialValue:window.innerHeight});orientation=o(a("(orientation: portrait)").pipe(i(t=>t?"portrait":"landscape")),{initialValue:window.matchMedia("(orientation: portrait)").matches?"portrait":"landscape"});isTouch=o(a("(pointer: coarse)"),{initialValue:window.matchMedia("(pointer: coarse)").matches});_os=f(v());os=this._os.asReadonly();isIOS=n(()=>this._os()==="ios");isAndroid=n(()=>this._os()==="android");resolveBreakpoint(){let t=window.innerWidth;return t<768?"mobile":t<1024?"tablet":t<1280?"small-desktop":"desktop"}static \u0275fac=function(r){return new(r||e)};static \u0275prov=u({token:e,factory:e.\u0275fac,providedIn:"root"})};export{g as a};

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.