PageSourceSearch

https://app.glycosutra.ai/_expo/static/js/web/index-d1ae0f9bd83e7127c466867e33d7e075.js

js glycosutra.ai collected 2026-10-05 15:17:49 UTC 45,423 bytes, 28 lines download raw bytes

1__d(function(g,r,i,a,m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Video",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(_e,"Audio",{enumerable:!0,get:function(){return t}});var e,t=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),t.default=e,t})(r(_d[0])),n=r(_d[1]),o=(e=n)&&e.__esModule?e:{default:e},c=r(_d[2]);Object.keys(c).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e,e)||Object.defineProperty(_e,e,{enumerable:!0,get:function(){return c[e]}})});var u=r(_d[3]);Object.keys(u).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e,e)||Object.defineProperty(_e,e,{enumerable:!0,get:function(){return u[e]}})});var f=r(_d[4]);Object.keys(f).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e,e)||Object.defineProperty(_e,e,{enumerable:!0,get:function(){return f[e]}})});let l=!1;l||(console.warn('[expo-av]: Expo AV has been deprecated and will be removed in SDK 54. Use the `expo-audio` and `expo-video` packages to replace the required functionality.'),l=!0)},531,[562,584,582,563,588]);
2__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"setIsEnabledAsync",{enumerable:!0,get:function(){return l.setIsEnabledAsync}}),Object.defineProperty(_e,"PitchCorrectionQuality",{enumerable:!0,get:function(){return s.PitchCorrectionQuality}}),_e.setAudioModeAsync=async function(e){const n=p(e,O());if(!o.InterruptionModeIOS[n.interruptionModeIOS])throw new Error("\"interruptionModeIOS\" was set to an invalid value.");if(!o.InterruptionModeAndroid[n.interruptionModeAndroid])throw new Error("\"interruptionModeAndroid\" was set to an invalid value.");if('boolean'!=typeof n.allowsRecordingIOS||'boolean'!=typeof n.playsInSilentModeIOS||'boolean'!=typeof n.staysActiveInBackground||'boolean'!=typeof n.shouldDuckAndroid||'boolean'!=typeof n.playThroughEarpieceAndroid)throw new Error('"allowsRecordingIOS", "playsInSilentModeIOS", "playThroughEarpieceAndroid", "staysActiveInBackground" and "shouldDuckAndroid" must be booleans.');return f=n,await t.default.setAudioMode(n)};var e,o=r(d[0]),n=r(d[1]),t=(e=n)&&e.__esModule?e:{default:e},u=r(d[2]);Object.keys(u).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e,e)||Object.defineProperty(_e,e,{enumerable:!0,get:function(){return u[e]}})});var c=r(d[3]);Object.keys(c).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e,e)||Object.defineProperty(_e,e,{enumerable:!0,get:function(){return c[e]}})});var l=r(d[4]),s=r(d[5]);const p=(e,o)=>{for(const n in o)if(!e.hasOwnProperty(n)){const t=n;e[t]=o[t]}return e},y={allowsRecordingIOS:!1,interruptionModeIOS:o.InterruptionModeIOS.MixWithOthers,playsInSilentModeIOS:!1,staysActiveInBackground:!1,interruptionModeAndroid:o.InterruptionModeAndroid.DuckOthers,shouldDuckAndroid:!0,playThroughEarpieceAndroid:!1};let f=null;function O(){return f||y}},562,[563,564,566,568,567,569]);
3__d(function(g,r,i,a,m,e,d){"use strict";var t,n;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"InterruptionModeIOS",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"InterruptionModeAndroid",{enumerable:!0,get:function(){return n}}),(function(t){t[t.MixWithOthers=0]="MixWithOthers",t[t.DoNotMix=1]="DoNotMix",t[t.DuckOthers=2]="DuckOthers"})(t||(t={})),(function(t){t[t.DoNotMix=1]="DoNotMix",t[t.DuckOthers=2]="DuckOthers"})(n||(n={}))},563,[]);
4__d(function(g,r,i,a,m,_e,d){"use strict";const e=["uri"];function t(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return E}});var n=t(r(d[0])),o=r(d[1]),s=t(r(d[2])),u=r(d[3]);async function c(e){if(!navigator||!navigator.permissions||!navigator.permissions.query)return null;try{const{state:t}=await navigator.permissions.query({name:e});switch(t){case'granted':return o.PermissionStatus.GRANTED;case'denied':return o.PermissionStatus.DENIED;default:return o.PermissionStatus.UNDETERMINED}}catch{return o.PermissionStatus.UNDETERMINED}}function l(e){if(navigator.mediaDevices&&navigator.mediaDevices.getUserMedia)return navigator.mediaDevices.getUserMedia(e);const t=navigator.getUserMedia||navigator.webkitGetUserMedia||navigator.mozGetUserMedia||function(){const e=new Error('Permission unimplemented');throw e.code=0,e.name='NotAllowedError',e};return new Promise((n,o)=>{t.call(navigator,e,n,o)})}function p(e){if(!e)return{isLoaded:!1,error:void 0};const t=!!(e.currentTime>0&&!e.paused&&!e.ended&&e.readyState>2);return{isLoaded:!0,uri:e.src,progressUpdateIntervalMillis:100,durationMillis:1e3*e.duration,positionMillis:1e3*e.currentTime,shouldPlay:e.autoplay,isPlaying:t,isBuffering:!1,rate:e.playbackRate,shouldCorrectPitch:!1,volume:e.volume,audioPan:0,isMuted:e.muted,isLooping:e.loop,didJustFinish:e.ended}}async function v(e,t){return void 0!==t.positionMillis&&(e.currentTime=t.positionMillis/1e3),void 0!==t.shouldPlay&&(t.shouldPlay?await e.play():await e.pause()),void 0!==t.rate&&(e.playbackRate=t.rate),void 0!==t.shouldCorrectPitch&&(e.preservesPitch=t.shouldCorrectPitch),void 0!==t.volume&&(e.volume=t.volume),void 0!==t.isMuted&&(e.muted=t.isMuted),void 0!==t.isLooping&&(e.loop=t.isLooping),p(e)}let y=null,w=0,f=0,A=!1;function R(){let e=f;return A&&w>0&&(e+=Date.now()-w),e}var E={getStatusForVideo:async e=>p(e),loadForVideo:async(e,t,n)=>p(e),unloadForVideo:async e=>p(e),setStatusForVideo:async(e,t)=>v(e,t),replayVideo:async(e,t)=>
4v(e,t),async setAudioMode(){},async setAudioIsEnabled(){},getStatusForSound:async e=>p(e),async loadForSound(e,t){const n='string'==typeof e?e:e.uri,o=new Audio(n);o.ontimeupdate=()=>{s.default.emit('didUpdatePlaybackStatus',{key:o,status:p(o)})},o.onerror=()=>{s.default.emit('ExponentAV.onError',{key:o,error:o.error.message})};const u=await v(o,t);return[o,u]},unloadForSound:async e=>(e.pause(),e.removeAttribute('src'),e.load(),p(e)),setStatusForSound:async(e,t)=>v(e,t),replaySound:async(e,t)=>v(e,t),getAudioRecordingStatus:async()=>({canRecord:'recording'===y?.state||'inactive'===y?.state,isRecording:'recording'===y?.state,isDoneRecording:!1,durationMillis:R(),uri:null}),async prepareAudioRecorder(t){if('undefined'!=typeof navigator&&!navigator.mediaDevices)throw new Error('No media devices available');w=0,f=0;const o=await l({audio:!0});y=new window.MediaRecorder(o,t?.web||u.RecordingOptionsPresets.HIGH_QUALITY.web),y.addEventListener('pause',()=>{f=R(),A=!1}),y.addEventListener('resume',()=>{w=Date.now(),A=!0}),y.addEventListener('start',()=>{w=Date.now(),f=0,A=!0}),y.addEventListener('stop',()=>{f=R(),A=!1,o.getTracks().forEach(e=>e.stop())});const s=await this.getAudioRecordingStatus();return{uri:null,status:(0,n.default)(s,e)}},async startAudioRecording(){if(null===y)throw new Error('Cannot start an audio recording without initializing a MediaRecorder. Run prepareToRecordAsync() before attempting to start an audio recording.');return'paused'===y.state?y.resume():y.start(),this.getAudioRecordingStatus()},async pauseAudioRecording(){if(null===y)throw new Error('Cannot start an audio recording without initializing a MediaRecorder. Run prepareToRecordAsync() before attempting to start an audio recording.');return y.pause(),this.getAudioRecordingStatus()},async stopAudioRecording(){const e=y;if(null===e)throw new Error('Cannot start an audio recording without initializing a MediaRecorder. Run prepareToRecordAsync() before attempting to start an audio recording.');if('inactive'===e.state)return this.getAudioRecordingStatus();const t=new Promise(t=>e.addEventListener('dataavailable',e=>t(e.data)));e.stop();const n=await t,o=URL.createObjectURL(n);return Object.assign({},await this.getAudioRecordingStatus(),{uri:o})},async unloadAudioRecorder(){y=null},async getPermissionsAsync(){switch(await c('microphone')){case o.PermissionStatus.GRANTED:return{status:o.PermissionStatus.GRANTED,expires:'never',canAskAgain:!0,granted:!0};case o.PermissionStatus.DENIED:return{status:o.PermissionStatus.DENIED,expires:'never',canAskAgain:!0,granted:!1};default:return await this.requestPermissionsAsync()}},async requestPermissionsAsync(){try{return(await l({audio:!0})).getTracks().forEach(e=>e.stop()),{status:o.PermissionStatus.GRANTED,expires:'never',canAskAgain:!0,granted:!0}}catch{return{status:o.PermissionStatus.DENIED,expires:'never',canAskAgain:!0,granted:!1}}}}},564,[134,414,493,565]);
5__d(function(g,r,i,a,m,e,d){"use strict";var A,t,n,E,M;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"AndroidOutputFormat",{enumerable:!0,get:function(){return A}}),Object.defineProperty(e,"AndroidAudioEncoder",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"IOSOutputFormat",{enumerable:!0,get:function(){return n}}),Object.defineProperty(e,"IOSAudioQuality",{enumerable:!0,get:function(){return E}}),Object.defineProperty(e,"IOSBitRateStrategy",{enumerable:!0,get:function(){return M}}),Object.defineProperty(e,"RecordingOptionsPresets",{enumerable:!0,get:function(){return o}}),(function(A){A[A.DEFAULT=0]="DEFAULT",A[A.THREE_GPP=1]="THREE_GPP",A[A.MPEG_4=2]="MPEG_4",A[A.AMR_NB=3]="AMR_NB",A[A.AMR_WB=4]="AMR_WB",A[A.AAC_ADIF=5]="AAC_ADIF",A[A.AAC_ADTS=6]="AAC_ADTS",A[A.RTP_AVP=7]="RTP_AVP",A[A.MPEG2TS=8]="MPEG2TS",A[A.WEBM=9]="WEBM"})(A||(A={})),(function(A){A[A.DEFAULT=0]="DEFAULT",A[A.AMR_NB=1]="AMR_NB",A[A.AMR_WB=2]="AMR_WB",A[A.AAC=3]="AAC",A[A.HE_AAC=4]="HE_AAC",A[A.AAC_ELD=5]="AAC_ELD"})(t||(t={})),(function(A){A.LINEARPCM="lpcm",A.AC3="ac-3",A["60958AC3"]="cac3",A.APPLEIMA4="ima4",A.MPEG4AAC="aac ",A.MPEG4CELP="celp",A.MPEG4HVXC="hvxc",A.MPEG4TWINVQ="twvq",A.MACE3="MAC3",A.MACE6="MAC6",A.ULAW="ulaw",A.ALAW="alaw",A.QDESIGN="QDMC",A.QDESIGN2="QDM2",A.QUALCOMM="Qclp",A.MPEGLAYER1=".mp1",A.MPEGLAYER2=".mp2",A.MPEGLAYER3=".mp3",A.APPLELOSSLESS="alac",A.MPEG4AAC_HE="aach",A.MPEG4AAC_LD="aacl",A.MPEG4AAC_ELD="aace",A.MPEG4AAC_ELD_SBR="aacf",A.MPEG4AAC_ELD_V2="aacg",A.MPEG4AAC_HE_V2="aacp",A.MPEG4AAC_SPATIAL="aacs",A.AMR="samr",A.AMR_WB="sawb",A.AUDIBLE="AUDB",A.ILBC="ilbc",A[A.DVIINTELIMA=1836253201]="DVIINTELIMA",A[A.MICROSOFTGSM=1836253233]="MICROSOFTGSM",A.AES3="aes3",A.ENHANCEDAC3="ec-3"})(n||(n={})),(function(A){A[A.MIN=0]="MIN",A[A.LOW=32]="LOW",A[A.MEDIUM=64]="MEDIUM",A[A.HIGH=96]="HIGH",A[A.MAX=127]="MAX"})(E||(E={})),(function(A){A[A.CONSTANT=0]="CONSTANT",A[A.LONG_TERM_AVERAGE=1]="LONG_TERM_AVERAGE",A[A.VARIABLE_CONSTRAINED=2]="VARIABLE_CONSTRAINED",A[A.VARIABLE=3]="VARIABLE"})(M||(M={}));
5const o={HIGH_QUALITY:{isMeteringEnabled:!0,android:{extension:'.m4a',outputFormat:A.MPEG_4,audioEncoder:t.AAC,sampleRate:44100,numberOfChannels:2,bitRate:128e3},ios:{extension:'.m4a',outputFormat:n.MPEG4AAC,audioQuality:E.MAX,sampleRate:44100,numberOfChannels:2,bitRate:128e3,linearPCMBitDepth:16,linearPCMIsBigEndian:!1,linearPCMIsFloat:!1},web:{mimeType:'audio/webm',bitsPerSecond:128e3}},LOW_QUALITY:{isMeteringEnabled:!0,android:{extension:'.3gp',outputFormat:A.THREE_GPP,audioEncoder:t.AMR_NB,sampleRate:44100,numberOfChannels:2,bitRate:128e3},ios:{extension:'.m4a',audioQuality:E.MIN,outputFormat:n.MPEG4AAC,sampleRate:44100,numberOfChannels:2,bitRate:64e3,linearPCMBitDepth:16,linearPCMIsBigEndian:!1,linearPCMIsFloat:!1},web:{mimeType:'audio/webm',bitsPerSecond:128e3}}}},565,[]);
6__d(function(g,r,i,a,m,_e2,d){"use strict";Object.defineProperty(_e2,'__esModule',{value:!0}),_e2.getPermissionsAsync=_,_e2.requestPermissionsAsync=y,Object.defineProperty(_e2,"usePermissions",{enumerable:!0,get:function(){return f}}),Object.defineProperty(_e2,"Recording",{enumerable:!0,get:function(){return A}}),Object.defineProperty(_e2,"PermissionStatus",{enumerable:!0,get:function(){return e.PermissionStatus}});var e=r(d[0]),t=r(d[1]),n=r(d[2]);Object.keys(n).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e2,e)||Object.defineProperty(_e2,e,{enumerable:!0,get:function(){return n[e]}})});var s,o=r(d[3]),c=r(d[4]),u=r(d[5]),l=(s=u)&&s.__esModule?s:{default:s},p=r(d[6]);Object.keys(p).forEach(function(e){'default'===e||Object.prototype.hasOwnProperty.call(_e2,e)||Object.defineProperty(_e2,e,{enumerable:!0,get:function(){return p[e]}})});let h=!1;async function _(){return l.default.getPermissionsAsync()}async function y(){return l.default.requestPermissionsAsync()}const f=(0,e.createPermissionHook)({getMethod:_,requestMethod:y});class A{_subscription=null;_canRecord=!1;_isDoneRecording=!1;_finalDurationMillis=0;_uri=null;_onRecordingStatusUpdate=null;_progressUpdateTimeoutVariable=null;_progressUpdateIntervalMillis=c._DEFAULT_PROGRESS_UPDATE_INTERVAL_MILLIS;_options=null;_cleanupForUnloadedRecorder=async e=>(this._canRecord=!1,this._isDoneRecording=!0,this._finalDurationMillis=e?.durationMillis??0,h=!1,this._subscription&&(this._subscription.remove(),this._subscription=null),this._disablePolling(),await this.get
6StatusAsync());_pollingLoop=async()=>{if((0,t.isAudioEnabled)()&&this._canRecord&&null!=this._onRecordingStatusUpdate){this._progressUpdateTimeoutVariable=setTimeout(this._pollingLoop,this._progressUpdateIntervalMillis);try{await this.getStatusAsync()}catch{this._disablePolling()}}};_disablePolling(){null!=this._progressUpdateTimeoutVariable&&(clearTimeout(this._progressUpdateTimeoutVariable),this._progressUpdateTimeoutVariable=null)}_enablePollingIfNecessaryAndPossible(){(0,t.isAudioEnabled)()&&this._canRecord&&null!=this._onRecordingStatusUpdate&&(this._disablePolling(),this._pollingLoop())}_callOnRecordingStatusUpdateForNewStatus(e){null!=this._onRecordingStatusUpdate&&this._onRecordingStatusUpdate(e)}async _performOperationAndHandleStatusAsync(e){if((0,t.throwIfAudioIsDisabled)(),this._canRecord){const t=await e();return this._callOnRecordingStatusUpdateForNewStatus(t),t}throw new Error('Cannot complete operation because this recorder is not ready to record.')}static createAsync=async(e=n.RecordingOptionsPresets.LOW_QUALITY,t=null,s=null)=>{const o=new A;s&&(o._progressUpdateIntervalMillis=s),o.setOnRecordingStatusUpdate(t),await o.prepareToRecordAsync(Object.assign({},e,{keepAudioActiveHint:!0}));try{const e=await o.startAsync();return{recording:o,status:e}}catch(e){throw o.stopAndUnloadAsync().catch(e=>{}),e}};getStatusAsync=async()=>{if(this._canRecord)return this._performOperationAndHandleStatusAsync(()=>l.default.getAudioRecordingStatus());const e={canRecord:!1,isRecording:!1,isDoneRecording:this._isDoneRecording,durationMillis:this._finalDurationMillis};return this._callOnRecordingStatusUpdateForNewStatus(e),e};setOnRecordingStatusUpdate(e){this._onRecordingStatusUpdate=e,null==e?this._disablePolling():this._enablePollingIfNecessaryAndPossible(),this.getStatusAsync()}setProgressUpdateInterval(e){this._progressUpdateIntervalMillis=e,this.getStatusAsync()}async prepareToRecordAsync(e=n.RecordingOptionsPresets.LOW_QUALITY){if((0,t.throwIfAudioIsDisabled)(),h)throw new Error('Only one Recording object can be prepared at a given time.');if(this._isDoneRecording)throw new Error('This Recording object is done recording; you must make a new one.');if(!e||!e.android||!e.ios)throw new Error('You must provide recording options for android and ios in order to prepare to record.');const s=/^\.\w+$/;if(!(e.android.extension&&e.ios.extension&&s.test(e.android.extension)&&s.test(e.ios.extension)))throw new Error(`Your file extensions must match ${s.toString()}.`);if(this._canRecord)throw new Error('This Recording object is already prepared to record.');{const{uri:t,status:n}=await l.default.prepareAudioRecorder(e);h=!0,this._uri=t,this._options=e,this._canRecord=!0;const s=Object.assign({},n,{canRecord:!0});return this._callOnRecordingStatusUpdateForNewStatus(s),this._enablePollingIfNecessaryAndPossible(),s}}async getAvailableInputs(){return l.default.getAvailableInputs()}async getCurrentInput(){return l.default.getCurrentInput()}async setInput(e){return l.default.setInput(e)}async startAsync(){return this._performOperationAndHandleStatusAsync(()=>l.default.startAudioRecording())}async pauseAsync(){return this._performOperationAndHandleStatusAsync(()=>l.default.pauseAudioRecording())}async stopAndUnloadAsync(){if(!this._canRecord)throw this._isDoneRecording?new Error('Cannot unload a Recording that has already been unloaded.'):new Error('Cannot unload a Recording that has not been prepared.');let e,t;try{e=await l.default.stopAudioRecording()}catch(e){t=e}void 0!==e?.uri&&(this._uri=e.uri),await l.default.unloadAudioRecorder();const n=await this._cleanupForUnloadedRecorder(e);return t?Promise.reject(t):n}getURI(){return this._uri}async createNewLoadedSound(e={},t=null){return console.warn("createNewLoadedSound is deprecated in favor of createNewLoadedSoundAsync, which has the same API aside from the method name"),this.createNewLoadedSoundAsync(e,t)}async createNewLoadedSoundAsync(e={},t=null){if(null==this._uri||!this._isDoneRecording)throw new Error('Cannot create sound when the Recording has not finished!');return o.Sound.createAsync({uri:this._uri},e,t,!1)}}},566,[414,567,565,568,569,564,583]);
7__d(function(g,r,i,a,m,_e,d){"use strict";
7Object.defineProperty(_e,'__esModule',{value:!0}),_e.isAudioEnabled=function(){return o},_e.throwIfAudioIsDisabled=function(){if(!o)throw new Error('Cannot complete operation because audio is not enabled.')},_e.setIsEnabledAsync=async function(e){o=e,await t.default.setAudioIsEnabled(e)};var e,n=r(d[0]),t=(e=n)&&e.__esModule?e:{default:e};let o=!0},567,[564]);
8__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"Sound",{enumerable:!0,get:function(){return u}});var t,e=r(d[0]),s=r(d[1]),n=r(d[2]),l=r(d[3]),o=(t=l)&&t.__esModule?t:{default:t};class u{_loaded=!1;_loading=!1;_key=null;_lastStatusUpdate=null;_lastStatusUpdateTime=null;_subscriptions=[];_eventEmitter=new e.LegacyEventEmitter(o.default);_coalesceStatusUpdatesInMillis=100;_onPlaybackStatusUpdate=null;_onMetadataUpdate=null;_onAudioSampleReceived=null;static create=async(t,e={},s=null,n=!0)=>(console.warn("Sound.create is deprecated in favor of Sound.createAsync with the same API except for the new method name"),u.createAsync(t,e,s,n));static createAsync=async(t,e={},s=null,n=!0)=>{const l=new u;l.setOnPlaybackStatusUpdate(s);const o=await l.loadAsync(t,e,n);return{sound:l,status:o}};_callOnPlaybackStatusUpdateForNewStatus(t){const e=this._lastStatusUpdateTime&&JSON.stringify(t)===this._lastStatusUpdate&&Date.now()-this._lastStatusUpdateTime.getTime()<this._coalesceStatusUpdatesInMillis;null==this._onPlaybackStatusUpdate||e||(this._onPlaybackStatusUpdate(t),this._lastStatusUpdateTime=new Date,this._lastStatusUpdate=JSON.stringify(t))}async _performOperationAndHandleStatusAsync(t){if((0,s.throwIfAudioIsDisabled)(),this._loaded){const e=await t();return this._callOnPlaybackStatusUpdateForNewStatus(e),e}throw new Error('Cannot complete operation because sound is not loaded.')}_updateAudioSampleReceivedCallback(){if(null==globalThis.__EXAV_setOnAudioSampleReceivedCallback)throw new e.UnavailabilityError('expo-av','setOnAudioSampleReceived');if(null==this._key)throw new Error('Cannot set Audio Sample Buffer callback when the Sound instance has not been successfully loaded/initialized!');if('number'!=typeof this._key)throw new Error(`Cannot set Audio Sample Buffer callback when Sound instance key is of type ${typeof this._key}! (expected: number)`);globalThis.__EXAV_setOnAudioSampleReceivedCallback(this._key,this._onAudioSampleReceived)}_internalStatusUpdateCallback=({key:t,status:e})=>{this._key===t&&this._callOnPlaybackStatusUpdateForNewStatus(e)};_internalMetadataUpdateCallback=({key:t,metadata:e})=>{this._key===t&&this._onMetadataUpdate?.(e)};_internalErrorCallback=({key:t,error:e})=>{this._key===t&&this._errorCallback(e)};_subscribeToNativeEvents(){this._loaded&&(this._subscriptions.push(this._eventEmitter.addListener('didUpdatePlaybackStatus',this._internalStatusUpdateCallback),this._eventEmitter.addListener('didUpdateMetadata',this._internalMetadataUpdateCallback)),this._subscriptions.push(this._eventEmitter.addListener('ExponentAV.onError',this._internalErrorCallback)))}_clearSubscriptions(){this._subscriptions.forEach(t=>t.remove()),this._subscriptions=[]}_errorCallback=t=>{this._clearSubscriptions(),this._loaded=!1,this._key=null,this._callOnPlaybackStatusUpdateForNewStatus((0,n.getUnloadedStatus)(t))};getStatusAsync=async()=>{if(this._loaded)return this._performOperationAndHandleStatusAsync(()=>o.default.getStatusForSound(this._key));const t=(0,n.getUnloadedStatus)();return this._callOnPlaybackStatusUpdateForNewStatus(t),t};setOnPlaybackStatusUpdate(t){this._onPlaybackStatusUpdate=t,this.getStatusAsync()}setOnMetadataUpdate(t){this._onMetadataUpdate=t}setOnAudioSampleReceived(t){this._onAudioSampleReceived=t,null!=this._key&&this._updateAudioSampleReceivedCallback()}async loadAsync(t,e={},l=!0){if((0,s.throwIfAudioIsDisabled)(),this._loading)throw new Error('The Sound is already loading.');if(this._loaded)throw new Error('The Sound is already loaded.');{this._loading=!0;const{nativeSource:s,fullInitialStatus:u}
8=await(0,n.getNativeSourceAndFullInitialStatusForLoadAsync)(t,e,l);return new Promise((t,e)=>{o.default.loadForSound(s,u).then(e=>{const[s,n]=e;this._key=s,this._loaded=!0,this._loading=!1,this._subscribeToNativeEvents(),this._callOnPlaybackStatusUpdateForNewStatus(n),t(n)}).catch(t=>{this._loading=!1,e(t)})})}}async unloadAsync(){if(this._loaded){this._loaded=!1;const t=this._key;this._key=null;const e=await o.default.unloadForSound(t);return this._callOnPlaybackStatusUpdateForNewStatus(e),this._clearSubscriptions(),e}return this.getStatusAsync()}async setStatusAsync(t){return(0,n.assertStatusValuesInBounds)(t),this._performOperationAndHandleStatusAsync(()=>o.default.setStatusForSound(this._key,t))}async replayAsync(t={}){if(t.positionMillis&&0!==t.positionMillis)throw new Error('Requested position after replay has to be 0.');return this._performOperationAndHandleStatusAsync(()=>o.default.replaySound(this._key,Object.assign({},t,{positionMillis:0,shouldPlay:!0})))}}Object.assign(u.prototype,n.PlaybackMixin)},568,[414,567,569,564]);
9__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"_DEFAULT_PROGRESS_UPDATE_INTERVAL_MILLIS",{enumerable:!0,get:function(){return s}}),Object.defineProperty(e,"_DEFAULT_INITIAL_PLAYBACK_STATUS",{enumerable:!0,get:function(){return o}}),e.getNativeSourceFromSource=l,e.assertStatusValuesInBounds=c,e.getNativeSourceAndFullInitialStatusForLo
9adAsync=async function(t,n,s){const y=null==n?o:Object.assign({},o,n);if(c(y),'string'==typeof t&&!0)return{nativeSource:{uri:t,overridingExtension:null},fullInitialStatus:y};const f=u(t);s&&f&&await f.downloadAsync();const A=l(t);if(null===A)throw new Error("Cannot load an AV asset from a null playback source");f&&f.localUri&&(A.uri=f.localUri);return{nativeSource:A,fullInitialStatus:y}},e.getUnloadedStatus=function(t=null){return Object.assign({isLoaded:!1},t?{error:t}:null)},Object.defineProperty(e,"PlaybackMixin",{enumerable:!0,get:function(){return y}});var t=r(d[0]);r(d[1]);var n=r(d[2]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});const s=500,o={positionMillis:0,progressUpdateIntervalMillis:s,shouldPlay:!1,rate:1,shouldCorrectPitch:!1,volume:1,audioPan:0,isMuted:!1,isLooping:!1};function l(t){let n,s=null,o=null;if('string'==typeof t)return{uri:t,overridingExtension:o,headers:n};const l=u(t);return null!=l?s=l.localUri||l.uri:null!=t&&'number'!=typeof t&&'uri'in t&&'string'==typeof t.uri&&(s=t.uri),null==s?null:(null!=t&&'number'!=typeof t&&'overrideFileExtensionAndroid'in t&&'string'==typeof t.overrideFileExtensionAndroid&&(o=t.overrideFileExtensionAndroid),null!=t&&'number'!=typeof t&&'headers'in t&&'object'==typeof t.headers&&(n=t.headers),{uri:s,overridingExtension:o,headers:n})}function u(n){if(null==n)return null;let s=null;return'number'==typeof n?s=t.Asset.fromModule(n):n instanceof t.Asset&&(s=n),s}function c(t){if('number'==typeof t.rate&&(t.rate<0||t.rate>32))throw new RangeError('Rate value must be between 0.0 and 32.0');if('number'==typeof t.volume&&(t.volume<0||t.volume>1))throw new RangeError('Volume value must be between 0.0 and 1.0');if('number'==typeof t.audioPan&&(t.audioPan<-1||t.audioPan>1))throw new RangeError('Pan value must be between -1.0 and 1.0')}const y={async playAsync(){return this.setStatusAsync({shouldPlay:!0})},async playFromPositionAsync(t,n={}){return this.setStatusAsync({positionMillis:t,shouldPlay:!0,seekMillisToleranceAfter:n.toleranceMillisAfter,seekMillisToleranceBefore:n.toleranceMillisBefore})},async pauseAsync(){return this.setStatusAsync({shouldPlay:!1})},async stopAsync(){return this.setStatusAsync({positionMillis:0,shouldPlay:!1})},async setPositionAsync(t,n={}){return this.setStatusAsync({positionMillis:t,seekMillisToleranceAfter:n.toleranceMillisAfter,seekMillisToleranceBefore:n.toleranceMillisBefore})},async setRateAsync(t,s=!1,o=n.PitchCorrectionQuality.Medium){return this.setStatusAsync({rate:t,shouldCorrectPitch:s,pitchCorrectionQuality:o})},async setVolumeAsync(t,n){return this.setStatusAsync({volume:t,audioPan:n})},async setIsMutedAsync(t){return this.setStatusAsync({isMuted:t})},async setIsLoopingAsync(t){return this.setStatusAsync({isLooping:t})},async setProgressUpdateIntervalAsync(t){return this.setStatusAsync({progressUpdateIntervalMillis:t})}}},569,[570,414,582]);
10__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]);var t=r(d[1]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[2]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},570,[571,572,581]);
11__d(function(g,r,i,a,m,_e,d){"use strict";var e,t=r(d[0]),s=r(d[1]),u=r(d[2]),o=(e=u)&&e.__esModule?e:{default:e};if(s.IS_ENV_WITH_LOCAL_ASSETS){(o.default.setCustomSourceTransformer||u.setCustomSourceTransformer)(function(e){try{if('fileHashes'in e.asset&&e.asset.fileHashes){const s=t.Asset.fromMetadata(e.asset);return s.uri.startsWith(t.ANDROID_EMBEDDED_URL_BASE_RESOURCE)?e.resourceIdentifierWithoutScale():e.fromSource(s.downloaded?s.localUri:s.uri)}return e.defaultAsset()}catch{return e.defaultAsset()}})}},571,[572,575,580]);
12__d(function(g,r,i,a,m,_e,_d){"use strict";function t(t){if(t&&t.__esModule)return t;var e={};return t&&Object.keys(t).forEach(function(s){var n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return t[s]}})}),e.default=t,e}
12Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ANDROID_EMBEDDED_URL_BASE_RESOURCE",{enumerable:!0,get:function(){return y}}),Object.defineProperty(_e,"Asset",{enumerable:!0,get:function(){return w}});var e=r(_d[0]);r(_d[1]);var s,n=r(_d[2]),h=t(r(_d[3])),o=r(_d[4]),l=t(r(_d[5])),u=r(_d[6]),d=r(_d[7]),c=r(_d[8]),f=(s=c)&&s.__esModule?s:{default:s};const y='file:///android_res/';class w{static byHash={};static byUri={};hash=null;localUri=null;width=null;height=null;downloading=!1;downloaded=!1;_downloadCallbacks=[];constructor({name:t,type:e,hash:s=null,uri:n,width:o,height:l}){this.name=t,this.type=e,this.hash=s,this.uri=n,'number'==typeof o&&(this.width=o),'number'==typeof l&&(this.height=l),s&&(this.localUri=(0,u.getLocalAssetUri)(s,e),this.localUri?.startsWith(y)?(this.uri=this.localUri,this.localUri=null):this.localUri&&(this.downloaded=!0)),t||(this.name=h.getFilename(n)),e||(this.type=h.getFileExtension(n))}static loadAsync(t){const e=Array.isArray(t)?t:[t];return Promise.all(e.map(t=>w.fromModule(t).downloadAsync()))}static fromModule(t){if('string'==typeof t)return w.fromURI(t);if('object'==typeof t&&'uri'in t&&'string'==typeof t.uri){const e=h.getFileExtension(t.uri);return new w({name:'',type:e.startsWith('.')?e.substring(1):e,hash:null,uri:t.uri,width:t.width,height:t.height})}const s=(0,e.getAssetByID)(t);if(!s)throw new Error(`Module "${t}" is missing from the asset registry`);
12if(!d.IS_ENV_WITH_LOCAL_ASSETS){const{uri:e}=(0,f.default)(t),n=new w({name:s.name,type:s.type,hash:s.hash,uri:e,width:s.width,height:s.height});return w.byHash[s.hash]=n,n}return w.fromMetadata(s)}static fromMetadata(t){const e=t.hash,s=w.byHash[e];if(s)return s;const{uri:h,hash:o}=(0,n.selectAssetSource)(t),l=new w({name:t.name,type:t.type,hash:o,uri:h,width:t.width,height:t.height});return w.byHash[e]=l,l}static fromURI(t){if(w.byUri[t])return w.byUri[t];let e='';if(t.indexOf(';base64')>-1)e=t.split(';')[0].split('/')[1];else{const s=h.getFileExtension(t);e=s.startsWith('.')?s.substring(1):s}const s=new w({name:'',type:e,hash:null,uri:t});return w.byUri[t]=s,s}async downloadAsync(){if(this.downloaded)return this;if(this.downloading)return await new Promise((t,e)=>{this._downloadCallbacks.push({resolve:t,reject:e})}),this;this.downloading=!0;try{if(l.isImageType(this.type)){const{width:t,height:e,name:s}=await l.getImageInfoAsync(this.uri);this.width=t,this.height=e,this.name=s}else this.name=h.getFilename(this.uri);this.localUri=await(0,o.downloadAsync)(this.uri,this.hash,this.type),this.downloaded=!0,this._downloadCallbacks.forEach(({resolve:t})=>t())}catch(t){throw this._downloadCallbacks.forEach(({reject:e})=>e(t)),t}finally{this.downloading=!1,this._downloadCallbacks=[]}return this}}},572,[297,414,573,576,577,578,579,575,580]);
13__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.selectAssetSource=function(e){const c=n.default.pickScale(e.scales,t.default.get()),u=e.scales.findIndex(e=>e===c),f=e.fileHashes?e.fileHashes[u]??e.fileHashes[0]:e.hash,l=e.fileUris?e.fileUris[u]??e.fileUris[0]:e.uri;if(l)return{uri:h(l),hash:f};const p=1===c?'':`@${c}x`,U=e.type?`.${encodeURIComponent(e.type)}`:'',v=`/${encodeURIComponent(e.name)}${p}${U}`,x=new URLSearchParams({platform:"web",hash:e.hash});if(/^https?:\/\//.test(e.httpServerLocation)){return{uri:e.httpServerLocation+v+'?'+x,hash:f}}const L=(0,o.getManifest2)(),R=L?.extra?.expoGo?.developer?'http://'+L.extra.expoGo.debuggerHost:null;if(R){const t=new URL(e.httpServerLocation+v,R);return t.searchParams.set('platform',"web"),t.searchParams.set('hash',e.hash),{uri:t.href,hash:f}}if(s.default.ExponentKernel)return{uri:`https://classic-assets.eascdn.net/~assets/${encodeURIComponent(f)}`,hash:f};return{uri:'',hash:f}},_e.resolveUri=h,r(d[0]);var t=e(r(d[1])),s=e(r(d[2])),n=e(r(d[3])),o=r(d[4]);function h(e){return o.manifestBaseUrl?new URL(e,o.manifestBaseUrl).href:e}},573,[414,299,451,574,575]);
14__d(function(g,r,_i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return n}}),r(d[0]);var e,t=r(d[1]),s=(e=t)&&e.__esModule?e:{default:e};function i(e){const t=n.pickScale(e.scales,s.default.get()),i=1===t?'':'@'+t+'x',c=e.type?`.${e.type}`:'';return e.httpServerLocation.replace(/\.\.\//g,'_')+'/'+e.name+i+c}class n{constructor(e,t,s){this.serverUrl=e||'https://expo.dev',this.jsbundleUrl=null,this.asset=s}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(i(this.asset),this.serverUrl);return e.searchParams.set('platform',"web"),e.searchParams.set('hash',this.asset.hash),this.fromSource(e.toString().replace(e.origin,''))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:n.pickScale(this.asset.scales,s.default.get())}}static pickScale(e,t){for(let s=0;s<e.length;s++)if(e[s]>=t)return e[s];return e[e.length-1]||1}}},574,[414,299]);
15__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"IS_ENV_WITH_LOCAL_ASSETS",{enumerable:!0,get:function(){return t}}),e.getLocalAssets=function(){return{}},e.getManifest2=function(){return{}},Object.defineProperty(e,"manifestBaseUrl",{enumerable:!0,get:function(){return n}});const t=!1;const n=null},575,[]);
16__d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{pathname:s,searchParams:o}=new URL(t,'https://e');return n(s)}function n(t){return t.substring(t.lastIndexOf('/')+1)}
16Object.defineProperty(e,'__esModule',{value:!0}),e.getFilename=t,e.getFileExtension=function(n){const s=t(n),o=s.lastIndexOf('.');return o>0?s.substring(o):''},e.getManifestBaseUrl=function(t){const n=new URL(t);let s=n.protocol;'exp:'===s?s='http:':'exps:'===s&&(s='https:');n.protocol=s;const o=n.pathname.substring(0,n.pathname.lastIndexOf('/')+1);return n.pathname=o,n.search='',n.hash='',n.protocol!==s?n.href.replace(n.protocol,s):n.href}},576,[]);
17__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.downloadAsync=async function(n,t,c){return n}},577,[]);
18__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.isImageType=function(n){return/^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(n)},e.getImageInfoAsync=function(t){if('undefined'==typeof window)return Promise.resolve({name:(0,n.getFilename)(t),width:0,height:0});return new Promise((o,u)=>{const s=new Image;s.onerror=u,s.onload=()=>{o({name:(0,n.getFilename)(t),width:s.naturalWidth,height:s.naturalHeight})},s.src=t})};var n=r(d[0])},578,[576]);
19__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getLocalAssetUri=function(t,n){return null}},579,[]);
20__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return s}}),_e.setCustomSourceTransformer=c,Object.defineProperty(_e,"pickScale",{enumerable:!0,get:function(){return l}});var e,t=r(d[0]),n=r(d[1]),u=(e=n)&&e.__esModule?e:{default:e};let o;function c(e){o=e}function f(e){if('object'==typeof e)return e;const n=(0,t.getAssetByID)(e);if(!n)return null;const c=new u.default('https://expo.dev',null,n);return o?o(c):c.defaultAsset()}Object.defineProperty(f,'setCustomSourceTransformer',{get:()=>c});var s=f;const{pickScale:l}=u.default},580,[297,574]);
21__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useAssets=function(u){const[c,n]=(0,t.useState)(),[o,f]=(0,t.useState)();return(0,t.useEffect)(()=>{s.Asset.loadAsync(u).then(n).catch(f)},[]),[c,o]};var t=r(d[0]),s=r(d[1])},581,[34,572]);
22__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"PitchCorrectionQuality",{enumerable:!0,get:function(){return t}});var e,t,u=r(d[0]),l=(e=u)&&e.__esModule?e:{default:e};!(function(e){e[e.Low=l.default&&l.default.Qualities&&l.default.Qualities.Low]="Low",e[e.Medium=l.default&&l.default.Qualities&&l.default.Qualities.Medium]="Medium",e[e.High=l.default&&l.default.Qualities&&l.default.Qualities.High]="High"})(t||(t={}))},582,[564]);
23__d(function(g,r,i,a,m,e,d){},583,[]);
24__d(function(g,r,i,a,m,_e,_d){"use strict";function t(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return O}});var e=(function(t){if(t&&t.__esModule)return t;var e={};return t&&Object.keys(t).forEach(function(s){var o=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,o.get?o:{enumerable:!0,get:function(){return t[s]}})}),e.default=t,e})(r(_d[0])),s=(t(r(_d[1])),t(r(_d[2]))),o=t(r(_d[3])),n=t(r(_d[4]));r(_d[5]);var l=r(_d[6]),d=t(r(_d[7])),p=t(r(_d[8])),u=t(r(_d[9])),c=r(_d[10]),h=r(_d[11]);const y=o.default.create({base:{overflow:'hidden',pointerEvents:'box-none'},poster:{position:'absolute',left:0,top:0,right:0,bottom:0,resizeMode:'contain'},video:{position:'absolute',left:0,top:0,right:0,bottom:0}});const f=d.default,S=d.default;class v extends e.Component{_nativeRef=e.createRef();_onPlaybackStatusUpdate=null;constructor(t){super(t),this.state={showPoster:!!t.usePoster}}setNativeProps(t){const e=this._nativeRef.current;if(!e)throw new Error("native video reference is not defined.");e.setNativeProps(t)}_handleNewStatus=t=>{this.state.showPoster&&t.isLoaded&&(t.isPlaying||0!==t.positionMillis)&&this.setState({showPoster:!1}),this.props.onPlaybackStatusUpdate&&this.props.onPlaybackStatusUpdate(t),this._onPlaybackStatusUpdate&&this._onPlaybackStatusUpdate(t)};_performOperationAndHandleStatusAsync=async t=>{if(!this._nativeRef.current)throw new Error("Cannot complete operation because the Video component has not yet loaded");let e=null;if('getVideoElement'in this._nativeRef.current&&(e=this._nativeRef.current.getVideoElement()),!e)throw new Error('failed to find node handle');const s=await t(e);return this._handleNewStatus(s),s};_setFullscreen=async t=>this._performOperationAndHandleStatusAsync(e=>S.setFullscreen(e,t));presentFullscreenPlayer=async()=>this._setFullscreen(!0);dismissFullscreenPlayer=async()=>this._setFullscreen(!1);getStatusAsync=async()=>this._performOperationAndHandleStatusAsync(t=>p.default.getStatusForVideo(t));loadAsync=async(t,e={},s=!0)=>{const{nativeSource:o,fullInitialStatus:n}
24=await(0,l.getNativeSourceAndFullInitialStatusForLoadAsync)(t,e,s);return this._performOperationAndHandleStatusAsync(t=>p.default.loadForVideo(t,o,n))};unloadAsync=async()=>this._performOperationAndHandleStatusAsync(t=>p.default.unloadForVideo(t));componentWillUnmount(){this.unloadAsync().catch(()=>{})}setStatusAsync=async t=>((0,l.assertStatusValuesInBounds)(t),this._performOperationAndHandleStatusAsync(e=>p.default.setStatusForVideo(e,t)));replayAsync=async(t={})=>{if(t.positionMillis&&0!==t.positionMillis)throw new Error('Requested position after replay has to be 0.');return this._performOperationAndHandleStatusAsync(e=>p.default.replayVideo(e,Object.assign({},t,{positionMillis:0,shouldPlay:!0})))};setOnPlaybackStatusUpdate(t){this._onPlaybackStatusUpdate=t,this.getStatusAsync()}_nativeOnPlaybackStatusUpdate=t=>{this._handleNewStatus(t.nativeEvent)};_nativeOnLoadStart=()=>{this.props.onLoadStart&&this.props.onLoadStart()};_nativeOnLoad=t=>{this.props.onLoad&&this.props.onLoad(t.nativeEvent),this._handleNewStatus(t.nativeEvent)};_nativeOnError=t=>{const e=t.nativeEvent.error;this.props.onError&&this.props.onError(e),this._handleNewStatus((0,l.getUnloadedStatus)(e))};_nativeOnReadyForDisplay=t=>{this.props.onReadyForDisplay&&this.props.onReadyForDisplay(t.nativeEvent)};_nativeOnFullscreenUpdate=t=>{this.props.onFullscreenUpdate&&this.props.onFullscreenUpdate(t.nativeEvent)};_renderPoster=()=>{const t=this.props.PosterComponent??s.default;return this.props.usePoster&&this.state.showPoster?(0,h.jsx)(t,{style:[y.poster,this.props.posterStyle],source:this.props.posterSource}):null};render(){const t=(0,l.getNativeSourceFromSource)(this.props.source)||void 0;let e=f.ScaleNone;if(this.props.resizeMode){const t=this.props.resizeMode;t===c.ResizeMode.STRETCH?e=f.ScaleToFill:t===c.ResizeMode.CONTAIN?e=f.ScaleAspectFit:t===c.ResizeMode.COVER&&(e=f.ScaleAspectFill)}const s=Object.assign({},this.props.status);['progressUpdateIntervalMillis','positionMillis','shouldPlay','rate','shouldCorrectPitch','volume','isMuted','isLooping'].forEach(t=>{t in this.props&&(s[t]=this.props[t])});const o=Object.assign({},_(this.props,['source','onPlaybackStatusUpdate','usePoster','posterSource','posterStyle',...Object.keys(s)]),{style:[y.base,this.props.style],videoStyle:[y.video,this.props.videoStyle],source:t,resizeMode:e,status:s,onStatusUpdate:this._nativeOnPlaybackStatusUpdate,onLoadStart:this._nativeOnLoadStart,onLoad:this._nativeOnLoad,onError:this._nativeOnError,onReadyForDisplay:this._nativeOnReadyForDisplay,onFullscreenUpdate:this._nativeOnFullscreenUpdate});return(0,h.jsxs)(n.default,{style:o.style,children:[(0,h.jsx)(u.default,Object.assign({ref:this._nativeRef},o,{style:o.videoStyle})),this._renderPoster()]})}}function _(t,e){const s=Object.assign({},t);for(const t of e)delete s[t];return s}Object.assign(v.prototype,l.PlaybackMixin);var O=v},584,[34,561,296,42,98,95,569,585,564,587,588,394]);
25__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return u}});var e,t=r(d[0]),l=(e=t)&&e.__esModule?e:{default:e},n=r(d[1]),u={get ScaleNone(){return'none'},get ScaleToFill(){return'fill'},get ScaleAspectFit(){return'contain'},get ScaleAspectFill(){return'cover'},setFullscreen:async(e,t)=>(t?await(0,n.requestFullscreen)(e):await(0,n.exitFullscreen)(e),l.default.getStatusForVideo(e))}},585,[564,586]);
26__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.requestFullscreen=async function(l){if(n(l))return l.requestFullscreen();if(t(l))l.webkitEnterFullScreen?.();else{if(!u(l))throw new Error('Fullscreen not supported');l.msRequestFullscreen?.()}},e.exitFullscreen=async function(l){if(n(l))return document.exitFullscreen();if(t(l))l.webkitExitFullScreen?.();else{if(!u(l))throw new Error('Fullscreen not supported');document.msExitFullscreen?.()}},e.addFullscreenListener=function(s,o){if(n(s))return c(s,'fullscreenchange',n=>o(document.fullscreenElement===n.target));if(t(s)&&l())return c(s,'webkitfullscreenchange',n=>o(document.webkitFullscreenElement===n.target));if(t(s)){const n=c(s,'webkitbeginfullscreen',()=>o(!0)),t=c(s,'webkitendfullscreen',()=>o(!1));return()=>{n(),t()}}return u(s)?c(document,'MSFullscreenChange',n=>o(document.msFullscreenElement===n.target)):()=>{}};const n=n=>'requestFullscreen'in n,t=n=>'webkitEnterFullScreen'in n,u=n=>'msRequestFullscreen'in n,l=()=>s('video','webkitfullscreenchange');function c(n,t,u){return n.addEventListener(t,u),()=>n.removeEventListener(t,u)}const s=(n,t)=>{const u=document.createElement(n);return u.setAttribute('on'+t,'return;'),'function'==typeof u['on'+t]}},586,[]);
27__d(function(g,r,i,a,m,_e,_d){"use strict";
27function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return u}});var t=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(o){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}),t.default=e,t})(r(_d[0])),o=e(r(_d[1])),n=e(r(_d[2])),s=r(_d[3]),d=r(_d[4]),l=r(_d[5]);const p=t.forwardRef((e,t)=>(0,o.default)('video',Object.assign({},e,{ref:t})));class u extends t.Component{componentWillUnmount(){this._removeFullscreenListener?.()}getVideoElement=()=>this._video;onFullscreenChange=e=>{this.props.onFullscreenUpdate&&(e?this.props.onFullscreenUpdate({nativeEvent:{fullscreenUpdate:d.VideoFullscreenUpdate.PLAYER_DID_PRESENT}}):this.props.onFullscreenUpdate({nativeEvent:{fullscreenUpdate:d.VideoFullscreenUpdate.PLAYER_DID_DISMISS}}))};onStatusUpdate=async()=>{if(!this.props.onStatusUpdate)return;const e=await n.default.getStatusForVideo(this._video);this.props.onStatusUpdate({nativeEvent:e})};onLoadStart=()=>{this.props.onLoadStart&&(this.props.onLoadStart(),this.onStatusUpdate())};onLoadedData=e=>{this.props.onLoad&&(this.props.onLoad(e),this.onStatusUpdate())};onError=e=>{this.props.onError&&(this.props.onError(e),this.onStatusUpdate())};onProgress=()=>{this.onStatusUpdate()};onSeeking=()=>{this.onStatusUpdate()};onEnded=()=>{this.onStatusUpdate()};onLoadedMetadata=()=>{this.onStatusUpdate()};onCanPlay=e=>{this.props.onReadyForDisplay&&(this.props.onReadyForDisplay(e),this.onStatusUpdate())};onStalled=()=>{this.onStatusUpdate()};onRef=e=>{this._removeFullscreenListener?.(),e?(this._video=e,this._removeFullscreenListener=(0,s.addFullscreenListener)(this._video,this.onFullscreenChange),this.onStatusUpdate()):this._removeFullscreenListener=void 0};render(){const{source:e,status:t={},resizeMode:o,useNativeControls:n,style:s}=this.props,d={position:void 0,objectFit:o,overflow:'hidden'};return(0,l.jsx)(p,{ref:this.onRef,onLoadStart:this.onLoadStart,onLoadedData:this.onLoadedData,onError:this.onError,onTimeUpdate:this.onProgress,onSeeking:this.onSeeking,onEnded:this.onEnded,onLoadedMetadata:this.onLoadedMetadata,onCanPlay:this.onCanPlay,onStalled:this.onStalled,src:e?.uri||void 0,muted:t.isMuted,loop:t.isLooping,autoPlay:t.shouldPlay,controls:n,style:[s,d],playsInline:!0})}}},587,[34,99,564,586,588,394]);
28__d(function(g,r,i,a,m,e,d){"use strict";var t,n;Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"ResizeMode",{enumerable:!0,get:function(){return t}}),Object.defineProperty(e,"VideoFullscreenUpdate",{enumerable:!0,get:function(){return n}}),(function(t){t.CONTAIN="contain",t.COVER="cover",t.STRETCH="stretch"})(t||(t={})),(function(t){t[t.PLAYER_WILL_PRESENT=0]="PLAYER_WILL_PRESENT",t[t.PLAYER_DID_PRESENT=1]="PLAYER_DID_PRESENT",t[t.PLAYER_WILL_DISMISS=2]="PLAYER_WILL_DISMISS",t[t.PLAYER_DID_DISMISS=3]="PLAYER_DID_DISMISS"})(n||(n={}))},588,[]);

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.