CoreFiles by mySites.guru
view.min.js1 lines, 543 bytes, from wordpress-7.0.zip
Raw History Compare with 6.9.12
md5
fa55d305ee19d2c3d1dd4d2b810f1f1d
sha1
3c52e2a949370b450998676eedb552c2af63f9b8
sha256
08f9ccc4328c4a82d4c127f9a9fdf3ca276ee5abe30f6f9ae6480a6ed1596404
import{store as n}from"@wordpress/interactivity";var t=()=>window.navigator.pdfViewerEnabled?!0:!(window.navigator.userAgent.indexOf("Mobi")>-1||window.navigator.userAgent.indexOf("Android")>-1||window.navigator.userAgent.indexOf("Macintosh")>-1&&window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>2||(window.ActiveXObject||"ActiveXObject"in window)&&!(r("AcroPDF.PDF")||r("PDF.PdfCtrl"))),r=i=>{let e;try{e=new window.ActiveXObject(i)}catch{e=void 0}return e};n("core/file",{state:{get hasPdfPreview(){return t()}}},{lock:!0});

The same content is in 19 releases, WordPress 7.0-beta4 to 7.0.9. See them all, or every version of this file.