1import{_ as d,c as r,b as i,t as n,d as c,o as a}from"./CZF76UNZ.js";const l={data(){return{screenResolution:"",aspectRatio:"",operatingSystem:"",browserName:"",browserVersion:"",userAgent:"",deviceType:"",language:"",zoomLevel:"",isZoomed:!1,devicePixelRatio:""}},created(){this.updateScreenInfo(),this.getOperatingSystem(),this.getBrowserInfo(),this.getUserAgent(),this.getDeviceType(),this.getLanguage(),window.addEventListener("resize",this.updateScreenInfo)},beforeDestroy(){window.removeEventListener("resize",this.updateScreenInfo)},methods:{updateScreenInfo(){this.getScreenResolution(),this.getAspectRatio(),this.getZoomLevel(),this.getDevicePixelRatio()},getScreenResolution(){this.screenResolution=`${window.innerWidth} x ${window.innerHeight}`},getAspectRatio(){const e=window.innerWidth/window.innerHeight;this.aspectRatio=e.toFixed(2)},getOperatingSystem(){const e=window.navigator.userAgent;let t="Unknown OS";e.indexOf("Win")!==-1&&(t="Windows"),e.indexOf("Mac")!==-1&&(t="MacOS"),e.indexOf("Linux")!==-1&&(t="Linux"),e.indexOf("Android")!==-1&&(t="Android"),e.indexOf("like Mac")!==-1&&(t="iOS"),this.operatingSystem=t},getBrowserInfo(){const e=window.navigator.userAgent;let t="Unknown Browser",o="";e.indexOf("Firefox")!==-1?(t="Firefox",o=e.match(/Firefox\/([0-9]+(?:\.[0-9]+)*)/)[1]):e.indexOf("Chrome")!==-1&&e.indexOf("Edg")===-1?(t="Chrome",o=e.match(/Chrome\/([0-9]+(?:\.[0-9]+)*)/)[1]):e.indexOf("Edg")!==-1?(t="Edge",o=e.match(/Edg\/([0-9]+(?:\.[0-9]+)*)/)[1]):e.indexOf("Safari")!==-1&&e.indexOf("Chrome")===-1?(t="Safari",o=e.match(/Version\/([0-9]+(?:\.[0-9]+)*)/)[1]):(e.indexOf("MSIE")!==-1||document.documentMode)&&(t="Internet Explorer",o=e.match(/(?:MSIE |rv:)([0-9]+(?:\.[0-9]+)*)/)[1]),this.browserName=t,this.browserVersion=o},getUserAgent(){this.userAgent=window.navigator.userAgent},getDeviceType(){const e=window.navigator.userAgent;/Mobi|Android/i.test(e)?this.deviceType="Mobile":/Tablet|iPad/i.test(e)?this.deviceType="Tablet":this.deviceType="Desktop"},getLanguage(){this.language=window.navigator.language||window.navigator.userLanguage},getZoomLevel(){const e=(window.outerWidth/window.innerWidth).toFixed(2);this.zoomLevel=`${e*100}%`,this.isZoomed=e!=1},getDevicePixelRatio(){this.devicePixelRatio=window.devicePixelRatio.toFixed(1)}}},g={class:"ml-[10vw] mt-[10vh]"}
1,h={class:"list-disc pl-5 mt-[2vh]"},x={class:"text-dynamic-sub-heading"},m={class:"text-dynamic-sub-heading"},u={class:"text-dynamic-sub-heading"},w={class:"text-dynamic-sub-heading"},f={class:"text-dynamic-sub-heading"},p={class:"text-dynamic-sub-heading"},v={class:"text-dynamic-sub-heading"},y={class:"text-dynamic-sub-heading"},_={class:"text-dynamic-sub-heading"},b={key:0,class:"text-dynamic-sub-heading"},S={key:1,class:"text-dynamic-sub-heading"};function A(e,t,o,R,s,O){return a(),r("div",g,[t[1]||(t[1]=i("h1",{class:"text-2xl font-bold text-dynamic-heading"},"Screen Information",-1)),i("ul",h,[i("li",x,"Screen Resolution: "+n(s.screenResolution),1),i("li",m,"Aspect Ratio: "+n(s.aspectRatio),1),i("li",u,"Operating System: "+n(s.operatingSystem),1),i("li",w,"Browser: "+n(s.browserName)+" "+n(s.browserVersion),1),i("li",f,"User Agent: "+n(s.userAgent),1),i("li",p,"Device Type: "+n(s.deviceType),1),i("li",v,"Language: "+n(s.language),1),i("li",y,"Zoom Level: "+n(s.zoomLevel),1),i("li",_,"Device Pixel Ratio: "+n(s.devicePixelRatio),1),s.isZoomed?(a(),r("li",b,"The screen is zoomed.")):(a(),r("li",S,"The screen is not zoomed.")),t[0]||(t[0]=i("li",{class:"text-dynamic-sub-heading"},[i("span",{class:"text-dynamic-sub-heading sm:text-pink-600 md:text-green-500 lg:text-purple-500 xl:text-yellow-500 2xl:text-orange-500 3xl:text-blue-500"}," text colors "),c(" (sm:text-pink-600 md:text-green-500 lg:text-purple-500 xl:text-yellow-500 2xl:text-orange-500 3xl:text-blue-500) -- taiwlind breakdown ")],-1))])])}const T=d(l,[["render",A],["__scopeId","data-v-5a9ffd04"]]);export{T as default};
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.