1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`628bc7368cf2cc3dd2ef00f4c77bd2e4edc6fafd`},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:indy-client":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`8514db3e-3f28-4536-a363-e2431b9cc0f9`,e._sentryDebugIdIdentifier=`sentry-dbid-8514db3e-3f28-4536-a363-e2431b9cc0f9`)}catch{}})();import{V as e}from"./vendor-chart-CL01oroZ.js";import{i as t}from"./device-CYXOCwHH.js";var n=15e3,r=Symbol.for(`app:mobile-webview`);function i(){let e=t(),r=window.IndyAppVersion,i=window.IndyAppBundleTimestamp,a=r&&i,l=new Map;if(a){function e(e){let t=c(e);if(!t||!l.has(t.messageId))return;let n=l.get(t.messageId);clearTimeout(n.timeoutId),l.delete(t.messageId),n.resolve(t)}s(e)}async function u(t,{timeout:r=n}={}){var i;if(!e)return;if(!a){var s;(s=window.ReactNativeWebView)==null||s.postMessage(t.type);return}let c=o(),u=new Promise(e=>{let n=setTimeout(()=>{l.delete(c),e({messageId:c,success:!1,error:Error(`WebView message '${t.type}' timed out after ${r}ms`)})},r);l.set(c,{resolve:e,timeoutId:n})});return(i=window.ReactNativeWebView)==null||i.postMessage(JSON.stringify({...t,messageId:c})),u}return{isInMobileWebView:e,mobileAppVersion:r,mobileAppBundleTimestamp:i,postWebViewMessage:u}}function a(){let t=e(r);if(!t)throw Error(`[App] Could not find mobile app webview injection`);return t}function o({now:e=Date.now,random:t=Math.random}={}){return`${e()}-${t().toString(36).slice(2)}`}function s(e){window.addEventListener(`message`,e),document.addEventListener(`message`,e)}function c(e){try{let t=typeof e.data==`string`?JSON.parse(e.data):e.data;return typeof t==`object`&&t&&`messageId`in t&&typeof t.messageId==`string`?t:void 0}catch{return}}export{i as n,a as r,r as t}; 2//# sourceMappingURL=useMobileAppWebView-ByXZbyWX.js.map
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.