/*! Sentrize v3.0.0 · content/workspace-frame-ua.js · sentrize.com
 * Minified with terser/csso: local variable renaming and
 * whitespace/comment removal ONLY. No obfuscation, no control-flow flattening, no string encoding. */
!function(){const t="_mvua",e="Mozilla/5.0 (iPhone; CPU iPhone OS 17_4 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.4 Mobile/15E148 Safari/604.1";if(window===window.top)return;const n=function(){try{const t=window.frameElement;return t?t.getAttribute("data-mv-ua"):null}catch(t){return null}}(),r="desktop"===n||"__mv_desktop__"===window.name,i=!r&&("mobile"===n||"__mv_mobile__"===window.name);if(r||i)if(r){o("maxTouchPoints",function(){return 0});try{const t=navigator.userAgentData;if(t||"userAgentData"in Navigator.prototype){const e=t&&t.brands||[{brand:"Chromium",version:"124"},{brand:"Google Chrome",version:"124"},{brand:"Not-A.Brand",version:"99"}],n=t&&t.platform||"Windows",r={brands:e,mobile:!1,platform:n,getHighEntropyValues:function(r){const i=t&&"function"==typeof t.getHighEntropyValues?t.getHighEntropyValues(r):Promise.resolve({});return Promise.resolve(i).then(function(t){const r=Object.assign({},t||{},{mobile:!1,platform:n});return r.brands||(r.brands=e),r})},toJSON:function(){return{brands:e,mobile:!1,platform:n}}};o("userAgentData",function(){return r})}}catch(t){}!function(){if("function"!=typeof window.matchMedia)return;const t=window.matchMedia.bind(window);window.matchMedia=function(e){const n=String(e||""),r=n.toLowerCase();if(!/pointer|hover/.test(r))return t(n);if(!function(t){return/min-|max-|width|height|aspect-ratio|orientation|resolution|prefers-/i.test(String(t||""))}(n)){if(/pointer\s*:\s*coarse/i.test(n)||/hover\s*:\s*none/i.test(n))return a(n,/\bnot\b/.test(r));if(/pointer\s*:\s*fine/i.test(n)||/hover\s*:\s*hover/i.test(n))return a(n,!/\bnot\b/.test(r))}try{return t(function(t){return String(t||"").replace(/pointer\s*:\s*coarse/gi,"pointer: fine").replace(/any-pointer\s*:\s*coarse/gi,"any-pointer: fine").replace(/hover\s*:\s*none/gi,"hover: hover").replace(/any-hover\s*:\s*none/gi,"any-hover: hover")}(n))}catch(e){return t(n)}}}();try{const e=location.href,n=e.indexOf("#"),r=n>=0?e.slice(0,n):e,i=n>=0?e.slice(n):"",o=r.indexOf("?");if(o>=0){const n=r.slice(0,o),a=r.slice(o+1).split("&").filter(function(e){return e&&e!==t+"=1"&&0!==e.indexOf(t+"=")}),s=n+(a.length?"?"+a.join("&"):"")+i;s!==e&&location.replace(s)}}catch(t){}}else{o("userAgent",function(){return e}),o("appVersion",function(){return e.replace(/^Mozilla\//,"")}),o("platform",function(){return"iPhone"}),o("maxTouchPoints",function(){return 5});try{if("userAgentData"in Navigator.prototype||navigator.userAgentData){const t={brands:[{brand:"Not A(Brand",version:"8"},{brand:"Chromium",version:"124"},{brand:"Google Chrome",version:"124"}],mobile:!0,platform:"iOS",getHighEntropyValues:function(){return Promise.resolve({brands:this.brands,mobile:!0,platform:"iOS",platformVersion:"17.4.0",architecture:"",model:"iPhone",bitness:"",fullVersionList:this.brands})},toJSON:function(){return{brands:this.brands,mobile:!0,platform:"iOS"}}};o("userAgentData",function(){return t})}}catch(t){}document.addEventListener("click",function(t){if(t.defaultPrevented||0!==t.button)return;if(t.metaKey||t.ctrlKey||t.shiftKey||t.altKey)return;const e=t.target&&t.target.closest&&t.target.closest("a[href]");if(!e)return;const n=e.getAttribute("href");if(!n||"#"===n.charAt(0)||/^javascript:/i.test(n))return;const r=(e.getAttribute("target")||"").toLowerCase();if(r&&"_self"!==r)return;const i=c(n);if(!/^https?:/i.test(i))return;const o=s(i);if(o!==i){t.preventDefault();try{location.href=o}catch(t){}}},!0),document.addEventListener("submit",function(t){const e=t.target;if(e&&"FORM"===e.nodeName)try{const t=e.getAttribute("action"),n=null==t||""===t?location.href:c(t);if(!/^https?:/i.test(n))return;const r=s(n);if(r===n)return;e.setAttribute("action",r)}catch(t){}},!0)}function o(t,e){try{Object.defineProperty(Navigator.prototype,t,{configurable:!0,enumerable:!0,get:e})}catch(t){}}function a(t,e){return{matches:!!e,media:String(t||""),onchange:null,addListener:function(){},removeListener:function(){},addEventListener:function(){},removeEventListener:function(){},dispatchEvent:function(){return!1}}}function s(e){try{const n=String(e||"");if(!n||"#"===n.charAt(0)||/^javascript:/i.test(n))return e;if(!/^https?:/i.test(n)&&-1!==n.indexOf("://"))return e;const r=n.indexOf("#"),i=r>=0?n.slice(0,r):n,o=r>=0?n.slice(r):"";if(new RegExp("(?:^|[?&])_mvua=1(?:&|$)").test(i))return n;const a=i.indexOf("?")>=0?"&":"?";return i+a+t+"=1"+o}catch(t){return e}}function c(t){const e=String(t||"");if(!e)return location.href;if(/^https?:/i.test(e))return e;if("//"===e.slice(0,2))return location.protocol+e;if("/"===e.charAt(0))return location.origin+e;if("?"===e.charAt(0))return location.origin+location.pathname+e;if("#"===e.charAt(0))return location.href;try{const t=location.pathname||"/",n=t.slice(0,t.lastIndexOf("/")+1);return location.origin+n+e}catch(t){return e}}}();
