@onairos/react-native 3.6.2 → 3.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/api/index.js +1 -1
- package/lib/commonjs/components/BodyText.js +1 -1
- package/lib/commonjs/components/BrandMark.js +1 -1
- package/lib/commonjs/components/CodeInput.js +1 -1
- package/lib/commonjs/components/EmailInput.js +1 -1
- package/lib/commonjs/components/GoogleButton.js +1 -1
- package/lib/commonjs/components/HeadingGroup.js +1 -1
- package/lib/commonjs/components/LLMDataInputModal.js +1 -1
- package/lib/commonjs/components/ModalHeader.js +1 -1
- package/lib/commonjs/components/ModalSheet.js +1 -1
- package/lib/commonjs/components/Onairos.js +1 -1
- package/lib/commonjs/components/OnairosButton.js +1 -1
- package/lib/commonjs/components/OnairosSignInButton.js +1 -1
- package/lib/commonjs/components/Overlay.js +1 -1
- package/lib/commonjs/components/PersonaImage.js +1 -1
- package/lib/commonjs/components/PersonaLoadingScreen.js +1 -1
- package/lib/commonjs/components/PersonalizationConsentScreen.js +1 -1
- package/lib/commonjs/components/PinCreationScreen.js +1 -1
- package/lib/commonjs/components/PinInput.js +1 -1
- package/lib/commonjs/components/PlatformConnectorsStep.js +1 -1
- package/lib/commonjs/components/PlatformList.js +1 -1
- package/lib/commonjs/components/PlatformToggle.js +1 -1
- package/lib/commonjs/components/PrimaryButton.js +1 -1
- package/lib/commonjs/components/SignInMatchAnimation.js +1 -1
- package/lib/commonjs/components/SignInStep.js +1 -1
- package/lib/commonjs/components/UniversalOnboarding.js +1 -1
- package/lib/commonjs/components/VerificationStep.js +1 -1
- package/lib/commonjs/components/WelcomeScreen.js +1 -1
- package/lib/commonjs/components/icons/Basicproficon.js +1 -1
- package/lib/commonjs/components/icons/Basicprofile.js +1 -1
- package/lib/commonjs/components/icons/Checkbox.js +1 -1
- package/lib/commonjs/components/icons/Checkmark.js +1 -1
- package/lib/commonjs/components/icons/Contentanalysis.js +1 -1
- package/lib/commonjs/components/icons/Contenticon.js +1 -1
- package/lib/commonjs/components/icons/EnochE.js +1 -1
- package/lib/commonjs/components/icons/Personalityicon.js +1 -1
- package/lib/commonjs/components/icons/Personalityprofile.js +1 -1
- package/lib/commonjs/components/icons/Personalitytraits.js +1 -1
- package/lib/commonjs/components/icons/Userpreferences.js +1 -1
- package/lib/commonjs/components/icons/index.js +1 -1
- package/lib/commonjs/components/onboarding/OAuthWebView.js +1 -1
- package/lib/commonjs/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/commonjs/components/onboarding/PinInput.js +1 -1
- package/lib/commonjs/components/onboarding/PlatformConnector.js +1 -1
- package/lib/commonjs/config/api.js +1 -1
- package/lib/commonjs/constants/index.js +1 -1
- package/lib/commonjs/context/AuthContext.js +1 -1
- package/lib/commonjs/hooks/useConnectedAccounts.js +1 -1
- package/lib/commonjs/hooks/useConnections.js +1 -1
- package/lib/commonjs/hooks/useCredentials.js +1 -1
- package/lib/commonjs/hooks/useUserConnections.js +1 -1
- package/lib/commonjs/index.js +1 -1
- package/lib/commonjs/services/apiClient.js +1 -1
- package/lib/commonjs/services/apiKeyService.js +1 -1
- package/lib/commonjs/services/authService.js +1 -1
- package/lib/commonjs/services/biometricPinService.js +1 -1
- package/lib/commonjs/services/chatGPTConversationExtractor.js +1 -1
- package/lib/commonjs/services/chatGPTConversationService.js +1 -1
- package/lib/commonjs/services/claudeConversationExtractor.js +1 -1
- package/lib/commonjs/services/claudeConversationService.js +1 -1
- package/lib/commonjs/services/connectedAccountsService.js +1 -1
- package/lib/commonjs/services/googleAuthService.js +1 -1
- package/lib/commonjs/services/hingeDataExtractor.js +1 -1
- package/lib/commonjs/services/hingeDataService.js +1 -1
- package/lib/commonjs/services/imageCompressionService.js +1 -1
- package/lib/commonjs/services/instagramDataExtractor.js +1 -1
- package/lib/commonjs/services/instagramDataService.js +1 -1
- package/lib/commonjs/services/jwtStorageService.js +1 -1
- package/lib/commonjs/services/linkedinDOMExtractor.js +1 -1
- package/lib/commonjs/services/linkedinProfileService.js +1 -1
- package/lib/commonjs/services/linkedinScrapingService.js +1 -1
- package/lib/commonjs/services/llmDataStorage.js +1 -1
- package/lib/commonjs/services/mobileTrainingService.js +1 -1
- package/lib/commonjs/services/oauthService.js +1 -1
- package/lib/commonjs/services/pinEncryptionService.js +1 -1
- package/lib/commonjs/services/pinStorageUtils.js +1 -1
- package/lib/commonjs/services/platformAuthService.js +1 -1
- package/lib/commonjs/services/sephoraDataExtractor.js +1 -1
- package/lib/commonjs/services/sephoraDataService.js +1 -1
- package/lib/commonjs/services/storageService.js +1 -1
- package/lib/commonjs/services/telegramDataExtractor.js +1 -1
- package/lib/commonjs/services/telegramDataService.js +1 -1
- package/lib/commonjs/services/trainingApiHelpers.js +1 -1
- package/lib/commonjs/services/userConnectionsService.js +1 -1
- package/lib/commonjs/services/youtubeMigrationService.js +1 -1
- package/lib/commonjs/theme/index.js +1 -1
- package/lib/commonjs/types/index.js +1 -1
- package/lib/commonjs/types.js +1 -1
- package/lib/commonjs/utils/Portal.js +1 -1
- package/lib/commonjs/utils/api.js +1 -1
- package/lib/commonjs/utils/assetRegistry.js +1 -1
- package/lib/commonjs/utils/auth.js +1 -1
- package/lib/commonjs/utils/connectorTests.js +1 -1
- package/lib/commonjs/utils/crypto.js +1 -1
- package/lib/commonjs/utils/debugHelper.js +1 -1
- package/lib/commonjs/utils/encryption.js +1 -1
- package/lib/commonjs/utils/eventUtils.js +1 -1
- package/lib/commonjs/utils/haptics.js +1 -1
- package/lib/commonjs/utils/imagePreloader.js +1 -1
- package/lib/commonjs/utils/networkDiagnostics.js +1 -1
- package/lib/commonjs/utils/onairosApi.js +1 -1
- package/lib/commonjs/utils/programmaticFlow.js +1 -1
- package/lib/commonjs/utils/retryHelper.js +1 -1
- package/lib/commonjs/utils/secureStorage.js +1 -1
- package/lib/commonjs/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/commonjs/utils/webviewScripts/claude.js +1 -1
- package/lib/commonjs/utils/webviewScripts/hinge.js +1 -1
- package/lib/commonjs/utils/webviewScripts/index.js +1 -1
- package/lib/commonjs/utils/webviewScripts/instagram.js +1 -1
- package/lib/commonjs/utils/webviewScripts/linkedin.js +1 -1
- package/lib/commonjs/utils/webviewScripts/sephora.js +1 -1
- package/lib/commonjs/utils/webviewScripts/telegram.js +1 -1
- package/lib/module/api/index.js +1 -1
- package/lib/module/components/BodyText.js +1 -1
- package/lib/module/components/BrandMark.js +1 -1
- package/lib/module/components/CodeInput.js +1 -1
- package/lib/module/components/EmailInput.js +1 -1
- package/lib/module/components/GoogleButton.js +1 -1
- package/lib/module/components/HeadingGroup.js +1 -1
- package/lib/module/components/LLMDataInputModal.js +1 -1
- package/lib/module/components/ModalHeader.js +1 -1
- package/lib/module/components/ModalSheet.js +1 -1
- package/lib/module/components/Onairos.js +1 -1
- package/lib/module/components/OnairosButton.js +1 -1
- package/lib/module/components/OnairosSignInButton.js +1 -1
- package/lib/module/components/Overlay.js +1 -1
- package/lib/module/components/PersonaImage.js +1 -1
- package/lib/module/components/PersonaLoadingScreen.js +1 -1
- package/lib/module/components/PersonalizationConsentScreen.js +1 -1
- package/lib/module/components/PinCreationScreen.js +1 -1
- package/lib/module/components/PinInput.js +1 -1
- package/lib/module/components/PlatformConnectorsStep.js +1 -1
- package/lib/module/components/PlatformList.js +1 -1
- package/lib/module/components/PlatformToggle.js +1 -1
- package/lib/module/components/PrimaryButton.js +1 -1
- package/lib/module/components/SignInMatchAnimation.js +1 -1
- package/lib/module/components/SignInStep.js +1 -1
- package/lib/module/components/UniversalOnboarding.js +1 -1
- package/lib/module/components/VerificationStep.js +1 -1
- package/lib/module/components/WelcomeScreen.js +1 -1
- package/lib/module/components/icons/Basicproficon.js +1 -1
- package/lib/module/components/icons/Basicprofile.js +1 -1
- package/lib/module/components/icons/Checkbox.js +1 -1
- package/lib/module/components/icons/Checkmark.js +1 -1
- package/lib/module/components/icons/Contentanalysis.js +1 -1
- package/lib/module/components/icons/Contenticon.js +1 -1
- package/lib/module/components/icons/EnochE.js +1 -1
- package/lib/module/components/icons/Personalityicon.js +1 -1
- package/lib/module/components/icons/Personalityprofile.js +1 -1
- package/lib/module/components/icons/Personalitytraits.js +1 -1
- package/lib/module/components/icons/Userpreferences.js +1 -1
- package/lib/module/components/onboarding/OAuthWebView.js +1 -1
- package/lib/module/components/onboarding/OnboardingHeader.js +1 -1
- package/lib/module/components/onboarding/PinInput.js +1 -1
- package/lib/module/components/onboarding/PlatformConnector.js +1 -1
- package/lib/module/config/api.js +1 -1
- package/lib/module/constants/index.js +1 -1
- package/lib/module/context/AuthContext.js +1 -1
- package/lib/module/hooks/useConnectedAccounts.js +1 -1
- package/lib/module/hooks/useConnections.js +1 -1
- package/lib/module/hooks/useCredentials.js +1 -1
- package/lib/module/hooks/useUserConnections.js +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/services/apiClient.js +1 -1
- package/lib/module/services/apiKeyService.js +1 -1
- package/lib/module/services/authService.js +1 -1
- package/lib/module/services/biometricPinService.js +1 -1
- package/lib/module/services/chatGPTConversationExtractor.js +1 -1
- package/lib/module/services/chatGPTConversationService.js +1 -1
- package/lib/module/services/claudeConversationExtractor.js +1 -1
- package/lib/module/services/claudeConversationService.js +1 -1
- package/lib/module/services/connectedAccountsService.js +1 -1
- package/lib/module/services/googleAuthService.js +1 -1
- package/lib/module/services/hingeDataExtractor.js +1 -1
- package/lib/module/services/hingeDataService.js +1 -1
- package/lib/module/services/imageCompressionService.js +1 -1
- package/lib/module/services/instagramDataExtractor.js +1 -1
- package/lib/module/services/instagramDataService.js +1 -1
- package/lib/module/services/jwtStorageService.js +1 -1
- package/lib/module/services/linkedinDOMExtractor.js +1 -1
- package/lib/module/services/linkedinProfileService.js +1 -1
- package/lib/module/services/linkedinScrapingService.js +1 -1
- package/lib/module/services/llmDataStorage.js +1 -1
- package/lib/module/services/mobileTrainingService.js +1 -1
- package/lib/module/services/oauthService.js +1 -1
- package/lib/module/services/pinEncryptionService.js +1 -1
- package/lib/module/services/pinStorageUtils.js +1 -1
- package/lib/module/services/platformAuthService.js +1 -1
- package/lib/module/services/sephoraDataExtractor.js +1 -1
- package/lib/module/services/sephoraDataService.js +1 -1
- package/lib/module/services/storageService.js +1 -1
- package/lib/module/services/telegramDataExtractor.js +1 -1
- package/lib/module/services/telegramDataService.js +1 -1
- package/lib/module/services/trainingApiHelpers.js +1 -1
- package/lib/module/services/userConnectionsService.js +1 -1
- package/lib/module/services/youtubeMigrationService.js +1 -1
- package/lib/module/theme/index.js +1 -1
- package/lib/module/types.js +1 -1
- package/lib/module/utils/Portal.js +1 -1
- package/lib/module/utils/api.js +1 -1
- package/lib/module/utils/assetRegistry.js +1 -1
- package/lib/module/utils/auth.js +1 -1
- package/lib/module/utils/connectorTests.js +1 -1
- package/lib/module/utils/crypto.js +1 -1
- package/lib/module/utils/debugHelper.js +1 -1
- package/lib/module/utils/encryption.js +1 -1
- package/lib/module/utils/eventUtils.js +1 -1
- package/lib/module/utils/haptics.js +1 -1
- package/lib/module/utils/networkDiagnostics.js +1 -1
- package/lib/module/utils/onairosApi.js +1 -1
- package/lib/module/utils/programmaticFlow.js +1 -1
- package/lib/module/utils/retryHelper.js +1 -1
- package/lib/module/utils/secureStorage.js +1 -1
- package/lib/module/utils/webviewScripts/chatgpt.js +1 -1
- package/lib/module/utils/webviewScripts/claude.js +1 -1
- package/lib/module/utils/webviewScripts/hinge.js +1 -1
- package/lib/module/utils/webviewScripts/index.js +1 -1
- package/lib/module/utils/webviewScripts/instagram.js +1 -1
- package/lib/module/utils/webviewScripts/linkedin.js +1 -1
- package/lib/module/utils/webviewScripts/sephora.js +1 -1
- package/lib/module/utils/webviewScripts/telegram.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import{GoogleSignin}from'@react-native-google-signin/google-signin';import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';function _0x145b(_0x5717b1,_0x145bbf){_0x5717b1=_0x5717b1-0x0;const _0x18cb1a=_0x5717();let _0x13cebb=_0x18cb1a[_0x5717b1];return _0x13cebb;}const WEB_CLIENT_ID=_0x145b(0x0),IOS_CLIENT_ID=_0x145b(0x0),configureGoogleSignInForRefreshTokens=()=>{const _0x5d5623={'gVKiR':_0x145b(0x1),'PkRsu':'openid','fpOku':'email'};GoogleSignin[_0x145b(0x2)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x5d5623[_0x145b(0x3)],_0x5d5623[_0x145b(0x4)],'profile',_0x5d5623[_0x145b(0x5)]],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x5bd46c=>{const _0x4698ec={'FMAxg':_0x145b(0x6),'kRxFm':_0x145b(0x7),'fnily':_0x145b(0x8),'EJoZi':_0x145b(0x9),'fiWsC':_0x145b(0xa),'cUbie':_0x145b(0xb),'JBkYC':_0x145b(0xc),'lhuyQ':function(_0x3ee699,_0x33b48c){return _0x3ee699(_0x33b48c);},'erivw':function(_0x111583,_0x4a0041){return _0x111583===_0x4a0041;},'JBdyL':function(_0x1d1f9a,_0x1686d8){return _0x1d1f9a===_0x1686d8;},'RCkAo':function(_0x59b199,_0x42c5b9){return _0x59b199===_0x42c5b9;},'rdOyM':function(_0x123b02,_0x7f8d65){return _0x123b02===_0x7f8d65;},'BiIts':function(_0x26996c,_0x1f1635){return _0x26996c===_0x1f1635;},'czPYR':'temporary\x20access\x20token\x20mode','MCrUK':_0x145b(0xd),'VthaY':function(_0x39e71f,_0x208a31){return _0x39e71f===_0x208a31;},'dEddV':function(_0x58b91e,_0x2360e1){return _0x58b91e===_0x2360e1;},'PUttV':'lvxom','oIVWe':function(_0x187085,_0x3b76a1){return _0x187085!==_0x3b76a1;},'WglEg':'ewWUN','yupqT':_0x145b(0xe),'LXUQh':_0x145b(0xf),'OfYwQ':_0x145b(0x10),'mfuuw':_0x145b(0x11),'JfxEU':_0x145b(0x12)};try{const _0x5e4b9a=await _0x4698ec[_0x145b(0x13)](fetch,API_CONFIG['BASE_URL']+'/youtube/validate-connection/'+_0x5bd46c),_0x3aca5e=await _0x5e4b9a[_0x145b(0x14)]();if(_0x3aca5e[_0x145b(0x15)]&&_0x3aca5e['validation']){var _0x174dd5,_0x45ba30,_0x4bf62f;const _0x48f476=_0x4698ec['erivw']((_0x174dd5=_0x3aca5e[_0x145b(0x16)])===null||_0x4698ec[_0x145b(0x17)](_0x174dd5,void 0x0)?void 0x0:_0x174dd5[_0x145b(0x18)],!![])||_0x4698ec['RCkAo'](_0x4698ec['RCkAo'](_0x45ba30=_0x3aca5e[_0x145b(0x19)],null)||_0x4698ec['rdOyM'](_0x45ba30,void 0x0)?void 0x0:_0x45ba30['enabled'],!![])||_0x4698ec[_0x145b(0x1a)](_0x3aca5e[_0x145b(0x18)],!![])||_0x3aca5e[_0x145b(0x1b)]&&_0x3aca5e['message'][_0x145b(0x1c)](_0x4698ec[_0x145b(0x1d)]),_0x30eb4b=_0x3aca5e[_0x145b(0x16)][_0x145b(0x1e)],_0x2be4f4=_0x3aca5e[_0x145b(0x16)][_0x145b(0x1f)];console[_0x145b(0x20)](_0x4698ec[_0x145b(0x21)],{'username':_0x5bd46c,'needsReconnection':_0x30eb4b,'hasRefreshToken':_0x2be4f4,'isTemporaryMode':_0x48f476,'temporaryModeEnabled':_0x4698ec[_0x145b(0x22)](_0x4bf62f=_0x3aca5e[_0x145b(0x19)],null)||_0x4698ec[_0x145b(0x23)](_0x4bf62f,void 0x0)?void 0x0:_0x4bf62f[_0x145b(0x24)],'message':_0x3aca5e['message']});if(_0x48f476)return _0x4698ec[_0x145b(0x25)]!==_0x4698ec['PUttV']?(Alert['alert'](_0x4698ec['FMAxg'],_0x4698ec[_0x145b(0x26)],[{'text':'OK','style':_0x4698ec[_0x145b(0x27)]}]),![]):(console[_0x145b(0x20)](_0x145b(0x28)),console[_0x145b(0x20)]('⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed'),![]);else return _0x30eb4b?_0x4698ec[_0x145b(0x29)](_0x145b(0x2a),_0x4698ec[_0x145b(0x2b)])?(console['log'](_0x4698ec[_0x145b(0x2c)]),!![]):(_0xbc540[_0x145b(0x20)](_0x4698ec['EJoZi']),![]):_0x4698ec[_0x145b(0x22)](_0x145b(0x2d),_0x145b(0x2d))?(console[_0x145b(0x20)](_0x4698ec['LXUQh']),![]):(Alert[_0x145b(0x2e)](_0x4698ec[_0x145b(0x2f)],_0x4698ec[_0x145b(0x30)],[{'text':'Great!','style':_0x4698ec[_0x145b(0x27)]}]),!![]);}return![];}catch(_0x5e3ed2){return _0x4698ec['oIVWe'](_0x4698ec['OfYwQ'],_0x4698ec[_0x145b(0x31)])?(console[_0x145b(0x32)](_0x4698ec['JfxEU'],_0x5e3ed2),![]):(_0x427f42['log'](_0x4698ec[_0x145b(0x33)]),![]);}};function _0x5717(){const _0x989b99=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','configure','gVKiR','PkRsu','fpOku','Upgrade\x20Failed\x20❌','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','default','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','YouTube\x20Upgraded!\x20✅','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','ℹ️\x20User\x20declined\x20YouTube\x20migration','🔍\x20YouTube\x20migration\x20check:','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','RbKVL','QoHDZ','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','lhuyQ','json','success','validation','JBdyL','isTemporaryMode','temporaryMode','BiIts','message','includes','czPYR','needsReconnection','hasRefreshToken','log','MCrUK','VthaY','dEddV','enabled','PUttV','kRxFm','fnily','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','oIVWe','jzpif','WglEg','yupqT','EjUlo','alert','fiWsC','cUbie','mfuuw','error','JBkYC','Current\x20user\x20server\x20auth\x20code','tKTuK','📋\x20Complete\x20YouTube\x20status\x20response:','temporary\x20access\x20token\x20mode','eMujT','PvkqU','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','temporary','full','limited','❓\x20YouTube\x20connection\x20status\x20unclear','YSZbg','JHhMc','BASE_URL','/youtube/validate-connection/','SXtxf','PWvcS','JEuzf','rUKjH','fenHD','serverAuthCode','WUdWa','TyTdw','AifhY','WIteZ','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','hTrHE','MDLZp','bDMzD','❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','sIsoG','YouTube\x20Connection\x20Upgrade','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','Upgrade\x20Now','UCTJa','dGdBM','Skip\x20for\x20Now','cancel','iKfUy','QOxPr','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','jGYBc','✅\x20Token\x20cache\x20cleared','ℹ️\x20No\x20token\x20cache\x20to\x20clear','Server\x20auth\x20code\x20from\x20sign-in','jwtmg','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','onairos_jwt_token','youtube','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','migration_token_placeholder','Unknown\x20error','SZwoF','fmOnh','XLFMN','FjGoc','HmPvf','getTokens','accessToken','clearCachedAccessToken','SYFfv','WtJxI','hasPlayServices','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','jrPsG','aKzai','ACHPK','iPxxc','enpiM','🔍\x20Token\x20Analysis:','idToken','PKKbU','Available','ZKioh','user','JMwBQ','email','TKCxt','YIUIt','zKyCQ','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','💡\x20This\x20usually\x20means:','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','ASeVu','ZWTCX','...','🔑\x20Refresh\x20token\x20source:','getItem','Joibd','enoch_token','auth_token','⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','RbAHr','CmyPw','XoDuC','name','YouTube\x20Channel','ChkwX','WogTk','MEAQK','stAsZ','/youtube/native-auth','dXHKf','EJTvF','OndxV','Bearer\x20','✅\x20YouTube\x20migration\x20successful','❌\x20Backend\x20rejected\x20YouTube\x20migration:','vXsWM','DjNMO','cEuxL','GoJFv','connectedAt','eIfoY','iEbiC','❌\x20YouTube\x20migration\x20failed:','RSwgv','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','Zusnk','rPxpP','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','ltgon','/youtube/migration-status','WgDxW','toISOString','CDgoh','SbhjP','QAock','EZKmy','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','ZJhwa','ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','aARoI','yfANi','nHfZT','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','kcPlF','RSHHH','shzBw','olUWh','hasAccessToken','GxydO','QtRYd','iXIzf','PxMZv','YYnbW','INlwr','ZyVhT','IXlOy','hpbko','pHbhk','hKaVk','IHNXw','mppGZ','DmKeU','bUZmi','GdjmB','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','UQQbp','Great!','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','xuGaE','REQse','lwuhW','sHpDv','oLeoi','hDuKr','aZncl','tcDDG','Myidf','lkozf','ZsbFi','🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:','kQiqu'];_0x5717=function(){return _0x989b99;};return _0x5717();}export const getYouTubeConnectionStatus=async _0x2ae8dd=>{const _0xdb44c5={'WUdWa':_0x145b(0x34),'dZLbp':_0x145b(0xe),'YSZbg':_0x145b(0x35),'JHhMc':function(_0xe57c53,_0x59eb91){return _0xe57c53(_0x59eb91);},'LpYSU':_0x145b(0x36),'SXtxf':function(_0x366b36,_0x5aa5a4){return _0x366b36===_0x5aa5a4;},'rUKjH':function(_0x1daa5e,_0x1e2323){return _0x1daa5e===_0x1e2323;},'PWvcS':_0x145b(0x37),'JEuzf':function(_0xce5b4c,_0x493821){return _0xce5b4c===_0x493821;},'fenHD':_0x145b(0x38),'SByUB':_0x145b(0x39),'TyTdw':_0x145b(0x3a),'AifhY':_0x145b(0x3b),'WIteZ':'✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','RBBZW':_0x145b(0x3c),'hTrHE':_0x145b(0x3d),'MDLZp':_0x145b(0x3e),'bDMzD':'none','sIsoG':function(_0x2105e9,_0x1ee07e){return _0x2105e9 instanceof _0x1ee07e;}};try{if(_0x145b(0x35)===_0xdb44c5[_0x145b(0x3f)]){const _0x3102d3=await _0xdb44c5[_0x145b(0x40)](fetch,API_CONFIG[_0x145b(0x41)]+_0x145b(0x42)+_0x2ae8dd),_0x34c15c=await _0x3102d3['json']();console[_0x145b(0x20)](_0xdb44c5['LpYSU'],_0x34c15c);if(_0x34c15c[_0x145b(0x15)]&&_0x34c15c[_0x145b(0x16)]){var _0x5c2cb1,_0x5aca7b;const _0x13f663=_0xdb44c5[_0x145b(0x43)](_0xdb44c5['rUKjH'](_0x5c2cb1=_0x34c15c['validation'],null)||_0xdb44c5[_0x145b(0x43)](_0x5c2cb1,void 0x0)?void 0x0:_0x5c2cb1[_0x145b(0x18)],!![])||_0xdb44c5[_0x145b(0x43)](_0xdb44c5[_0x145b(0x43)](_0x5aca7b=_0x34c15c[_0x145b(0x19)],null)||_0xdb44c5[_0x145b(0x43)](_0x5aca7b,void 0x0)?void 0x0:_0x5aca7b['enabled'],!![])||_0xdb44c5[_0x145b(0x43)](_0x34c15c[_0x145b(0x18)],!![])||_0x34c15c['message']&&_0x34c15c[_0x145b(0x1b)][_0x145b(0x1c)](_0xdb44c5[_0x145b(0x44)]),_0x34a753=_0xdb44c5['JEuzf'](_0x34c15c[_0x145b(0x16)][_0x145b(0x1f)],!![]),_0x2cf389=_0xdb44c5[_0x145b(0x45)](_0x34c15c[_0x145b(0x16)][_0x145b(0x1e)],!![]);if(_0x13f663){if(_0xdb44c5[_0x145b(0x46)](_0xdb44c5[_0x145b(0x47)],_0xdb44c5['SByUB']))_0x109223=_0x43b6c0[_0x145b(0x48)],_0x2d90b9=_0xdb44c5[_0x145b(0x49)];else return console['log']('🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode'),console['log'](_0xdb44c5[_0x145b(0x4a)]),{'isReady':!![],'mode':_0xdb44c5[_0x145b(0x4b)],'needsMigration':![],'trainingReady':!![],'details':_0x34c15c};}else{if(_0x34a753)return console['log'](_0xdb44c5[_0x145b(0x4c)]),{'isReady':!![],'mode':_0xdb44c5['RBBZW'],'needsMigration':![],'trainingReady':!![],'details':_0x34c15c};else return _0x2cf389?(console['log'](_0x145b(0x4d)),{'isReady':![],'mode':_0xdb44c5[_0x145b(0x4e)],'needsMigration':!![],'trainingReady':![],'details':_0x34c15c}):(console[_0x145b(0x20)](_0xdb44c5[_0x145b(0x4f)]),{'isReady':![],'mode':_0xdb44c5[_0x145b(0x50)],'needsMigration':![],'trainingReady':![],'details':_0x34c15c});}}return console['log']('❌\x20No\x20YouTube\x20connection\x20found'),{'isReady':![],'mode':_0xdb44c5[_0x145b(0x50)],'needsMigration':![],'trainingReady':![],'details':_0x34c15c};}else return _0x7e05e4['log'](_0xdb44c5['dZLbp']),!![];}catch(_0x938cd2){return console[_0x145b(0x32)](_0x145b(0x51),_0x938cd2),{'isReady':![],'mode':_0xdb44c5['bDMzD'],'needsMigration':![],'trainingReady':![],'details':{'error':_0xdb44c5[_0x145b(0x52)](_0x938cd2,Error)?_0x938cd2[_0x145b(0x1b)]:_0xdb44c5['JHhMc'](String,_0x938cd2)}};}};const showYouTubeMigrationPrompt=async()=>{const _0x23a7da={'UCTJa':_0x145b(0x53),'dGdBM':_0x145b(0x54),'iKfUy':_0x145b(0x55),'QOxPr':_0x145b(0x8)};return new Promise(_0x399759=>{Alert['alert'](_0x23a7da[_0x145b(0x56)],_0x23a7da[_0x145b(0x57)],[{'text':_0x145b(0x58),'style':_0x145b(0x59),'onPress':()=>_0x399759(![])},{'text':_0x23a7da[_0x145b(0x5a)],'style':_0x23a7da[_0x145b(0x5b)],'onPress':()=>_0x399759(!![])}]);});},forceYouTubeReconnection=async _0x4d2c6c=>{const _0x4724e8={'ACHPK':_0x145b(0x4d),'iPxxc':_0x145b(0x3d),'zKyCQ':_0x145b(0xf),'ZKioh':function(_0x392f46,_0x2f69ea){return _0x392f46===_0x2f69ea;},'cEuxL':function(_0x52e4e5,_0x49fa1c){return _0x52e4e5===_0x49fa1c;},'qrGWA':function(_0xc7c26a,_0x40f502){return _0xc7c26a===_0x40f502;},'XoDuC':function(_0x1bff62,_0x44d213){return _0x1bff62===_0x44d213;},'GoJFv':function(_0x3f1ae7,_0x1a4d51){return _0x3f1ae7===_0x1a4d51;},'MEAQK':function(_0x54897e,_0x5e2dff){return _0x54897e===_0x5e2dff;},'CmyPw':function(_0x120428,_0x400c9e){return _0x120428===_0x400c9e;},'euIUT':_0x145b(0x5c),'eIfoY':_0x145b(0x5d),'iEbiC':_0x145b(0x5e),'SZwoF':'🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','fmOnh':function(_0x4a6568){return _0x4a6568();},'XLFMN':'✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','FjGoc':function(_0x238e34,_0x9c1449){return _0x238e34!==_0x9c1449;},'HmPvf':_0x145b(0x5f),'SYFfv':_0x145b(0x60),'WtJxI':_0x145b(0x61),'jrPsG':_0x145b(0x62),'aKzai':_0x145b(0x63),'enpiM':_0x145b(0x34),'PKKbU':function(_0x25ba2b,_0x225ef9){return _0x25ba2b!==_0x225ef9;},'JMwBQ':function(_0x1861e1,_0x2f88ea){return _0x1861e1===_0x2f88ea;},'FCtII':'4|1|0|2|5|3','bzNid':_0x145b(0x64),'ASeVu':_0x145b(0x65),'ZWTCX':'✅\x20Got\x20refresh\x20token\x20after\x20consent:','bUAth':function(_0x2cdcc8,_0x45ced0){return _0x2cdcc8+_0x45ced0;},'Joibd':_0x145b(0x66),'RbAHr':_0x145b(0x67),'ChkwX':function(_0x2d1cb0,_0x371604){return _0x2d1cb0===_0x371604;},'WogTk':function(_0xd68c74,_0xf4242e){return _0xd68c74===_0xf4242e;},'RvJad':_0x145b(0x68),'stAsZ':function(_0x4914c7,_0x2c0627,_0x1e96db){return _0x4914c7(_0x2c0627,_0x1e96db);},'dXHKf':'your-api-key','EJTvF':function(_0xe940d7,_0x47bd07){return _0xe940d7!==_0x47bd07;},'OndxV':_0x145b(0x69),'vXsWM':function(_0x2898b5,_0x2852ca,_0x30778d,_0x53faf9){return _0x2898b5(_0x2852ca,_0x30778d,_0x53faf9);},'RSwgv':function(_0x108bf1,_0x320276){return _0x108bf1 instanceof _0x320276;},'cmuuq':_0x145b(0x6a)};try{var _0x5da6ee,_0xea0b97,_0x49ccb6,_0x1776bd;console[_0x145b(0x20)](_0x4724e8[_0x145b(0x6b)],_0x4d2c6c),_0x4724e8[_0x145b(0x6c)](configureGoogleSignInForRefreshTokens),await GoogleSignin['signOut'](),console[_0x145b(0x20)](_0x4724e8[_0x145b(0x6d)]);try{if(_0x4724e8[_0x145b(0x6e)](_0x145b(0x5f),_0x4724e8[_0x145b(0x6f)]))return _0x535f94[_0x145b(0x20)](_0x145b(0x5e)),![];else{const _0xca03e1=await GoogleSignin[_0x145b(0x70)]();_0xca03e1[_0x145b(0x71)]&&(await GoogleSignin[_0x145b(0x72)](_0xca03e1[_0x145b(0x71)]),console['log'](_0x4724e8[_0x145b(0x73)]));}}catch(_0x20bfe2){console[_0x145b(0x20)](_0x4724e8[_0x145b(0x74)]);}await GoogleSignin[_0x145b(0x75)](),console[_0x145b(0x20)](_0x145b(0x76));const _0x505694=await GoogleSignin['signIn'](),_0x24a409=await GoogleSignin['getTokens'](),_0x1e9b92=await GoogleSignin['getCurrentUser']();let _0x53d487=null,_0x5d1cc5='None';if(_0x505694['serverAuthCode'])_0x53d487=_0x505694[_0x145b(0x48)],_0x5d1cc5=_0x4724e8[_0x145b(0x77)];else{if(_0x1e9b92!==null&&_0x4724e8[_0x145b(0x6e)](_0x1e9b92,void 0x0)&&_0x1e9b92[_0x145b(0x48)]){if(_0x4724e8[_0x145b(0x78)]!==_0x4724e8[_0x145b(0x78)])return _0x58e293[_0x145b(0x20)](_0x4724e8[_0x145b(0x79)]),{'isReady':![],'mode':_0x4724e8[_0x145b(0x7a)],'needsMigration':!![],'trainingReady':![],'details':_0x16d326};else _0x53d487=_0x1e9b92[_0x145b(0x48)],_0x5d1cc5=_0x4724e8[_0x145b(0x7b)];}}console[_0x145b(0x20)](_0x145b(0x7c),{'hasAccessToken':!!_0x24a409[_0x145b(0x71)],'hasIdToken':!!_0x24a409[_0x145b(0x7d)],'hasServerAuthCode':!!_0x505694['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x4724e8[_0x145b(0x7e)](_0x1e9b92,null)&&_0x1e9b92!==void 0x0&&_0x1e9b92[_0x145b(0x48)]),'refreshTokenSource':_0x5d1cc5,'finalRefreshToken':_0x53d487?_0x145b(0x7f):'MISSING!','userEmail':_0x4724e8[_0x145b(0x80)](_0x5da6ee=_0x505694[_0x145b(0x81)],null)||_0x4724e8[_0x145b(0x82)](_0x5da6ee,void 0x0)?void 0x0:_0x5da6ee[_0x145b(0x83)]});if(!_0x53d487){if(_0x4724e8['GoJFv'](_0x145b(0x84),_0x145b(0x85)))return _0x4c76ae[_0x145b(0x20)](_0x4724e8[_0x145b(0x86)]),![];else{const _0x6af4c9=_0x4724e8['FCtII']['split']('|');let _0x1559e2=0x0;while(!![]){switch(_0x6af4c9[_0x1559e2++]){case'0':console[_0x145b(0x32)](_0x145b(0x87));continue;case'1':console[_0x145b(0x32)](_0x145b(0x88));continue;case'2':console[_0x145b(0x32)](_0x4724e8['bzNid']);continue;case'3':return![];case'4':console[_0x145b(0x32)](_0x145b(0x89));continue;case'5':console['error'](_0x4724e8[_0x145b(0x8a)]);continue;}break;}}}console[_0x145b(0x20)](_0x4724e8[_0x145b(0x8b)],_0x4724e8['bUAth'](_0x53d487['substring'](0x0,0x14),_0x145b(0x8c))),console[_0x145b(0x20)](_0x145b(0x8d),_0x5d1cc5);let _0x29b6f4=await AsyncStorage[_0x145b(0x8e)](_0x4724e8[_0x145b(0x8f)])||await AsyncStorage[_0x145b(0x8e)](_0x145b(0x90))||await AsyncStorage[_0x145b(0x8e)](_0x145b(0x91));!_0x29b6f4&&(console['warn'](_0x145b(0x92)),_0x29b6f4='migration_token_placeholder');const _0x8d775d={'session':{'username':_0x4d2c6c,'platform':_0x4724e8[_0x145b(0x93)],'channelName':(_0x4724e8[_0x145b(0x94)](_0xea0b97=_0x505694[_0x145b(0x81)],null)||_0x4724e8[_0x145b(0x95)](_0xea0b97,void 0x0)?void 0x0:_0xea0b97[_0x145b(0x96)])||_0x145b(0x97),'channelId':null},'googleUser':_0x505694[_0x145b(0x81)],'accessToken':_0x24a409[_0x145b(0x71)],'idToken':_0x24a409['idToken'],'refreshToken':_0x53d487,'serverAuthCode':_0x505694[_0x145b(0x48)],'userAccountInfo':{'username':_0x4d2c6c,'email':(_0x49ccb6=_0x505694['user'])===null||_0x4724e8[_0x145b(0x98)](_0x49ccb6,void 0x0)?void 0x0:_0x49ccb6[_0x145b(0x83)],'authToken':_0x29b6f4,'channelName':(_0x4724e8[_0x145b(0x99)](_0x1776bd=_0x505694[_0x145b(0x81)],null)||_0x4724e8[_0x145b(0x9a)](_0x1776bd,void 0x0)?void 0x0:_0x1776bd[_0x145b(0x96)])||'YouTube\x20Channel','channelId':null}};console[_0x145b(0x20)](_0x4724e8['RvJad']);const _0x5a3622=await _0x4724e8[_0x145b(0x9b)](fetch,API_CONFIG['BASE_URL']+_0x145b(0x9c),{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x4724e8[_0x145b(0x9d)],..._0x4724e8[_0x145b(0x9e)](_0x29b6f4,_0x4724e8[_0x145b(0x9f)])&&{'Authorization':_0x145b(0xa0)+_0x29b6f4}},'body':JSON['stringify'](_0x8d775d)}),_0x2e74f4=await _0x5a3622[_0x145b(0x14)]();return _0x2e74f4[_0x145b(0x15)]?(console[_0x145b(0x20)](_0x145b(0xa1)),await _0x4724e8[_0x145b(0x9b)](trackMigrationAttempt,_0x4d2c6c,!![]),!![]):(console[_0x145b(0x32)](_0x145b(0xa2),_0x2e74f4[_0x145b(0x32)]),await _0x4724e8[_0x145b(0xa3)](trackMigrationAttempt,_0x4d2c6c,![],_0x2e74f4[_0x145b(0x32)]),![]);}catch(_0x50d629){if(_0x145b(0xa4)!=='DjNMO'){var _0x5a2ba2,_0x25828f;const _0x53238b=(_0x4724e8[_0x145b(0x80)](_0x5a2ba2=_0x2229af[_0x145b(0x16)],null)||_0x4724e8[_0x145b(0xa5)](_0x5a2ba2,void 0x0)?void 0x0:_0x5a2ba2['isTemporaryMode'])===!![]||_0x4724e8['qrGWA'](_0x4724e8['XoDuC'](_0x25828f=_0x4e3a98[_0x145b(0x19)],null)||_0x25828f===void 0x0?void 0x0:_0x25828f[_0x145b(0x24)],!![])||_0x4724e8[_0x145b(0x95)](_0x1b343d[_0x145b(0x18)],!![]),_0x3e852b=_0x4724e8[_0x145b(0xa6)](_0x24bdbe['validation']['hasAccessToken'],!![]),_0x27a367=_0x4724e8[_0x145b(0x9a)](_0x11c2aa[_0x145b(0x16)]['hasRefreshToken'],!![]),_0x17e69a=_0x4724e8[_0x145b(0x94)](_0x1a06ee[_0x145b(0x16)][_0x145b(0x1e)],!![]);_0x64950f[_0x145b(0x20)](_0x4724e8['euIUT'],{'username':_0x4f0df8,'hasAccessToken':_0x3e852b,'hasRefreshToken':_0x27a367,'needsReconnection':_0x17e69a,'isTemporaryMode':_0x53238b,'connectedAt':_0x245b26['validation'][_0x145b(0xa7)]});if(_0x53238b)return _0x17e3db[_0x145b(0x20)](_0x145b(0x9)),![];else return _0x3e852b&&!_0x27a367&&_0x17e69a?(_0x3ebd4e[_0x145b(0x20)](_0x4724e8[_0x145b(0xa8)]),!![]):(_0x168e61[_0x145b(0x20)](_0x4724e8[_0x145b(0xa9)]),![]);}else return console[_0x145b(0x32)](_0x145b(0xaa),_0x50d629),await _0x4724e8[_0x145b(0xa3)](trackMigrationAttempt,_0x4d2c6c,![],_0x4724e8[_0x145b(0xab)](_0x50d629,Error)?_0x50d629['message']:_0x4724e8['cmuuq']),![];}},trackMigrationAttempt=async(_0xf5646a,_0x58ecc6,_0x36b82a)=>{const _0x3ce9af={'CDgoh':_0x145b(0x61),'EZKmy':_0x145b(0xac),'ltgon':function(_0x35883a,_0x37210a){return _0x35883a===_0x37210a;},'wuNHI':'wOvfJ','WgDxW':function(_0x27ac0a,_0x5a1310){return _0x27ac0a||_0x5a1310;},'KkOzK':function(_0x2299c5,_0x1cc497){return _0x2299c5!==_0x1cc497;},'bCpnz':_0x145b(0xad),'SbhjP':_0x145b(0xae),'QAock':_0x145b(0xaf)};try{_0x3ce9af[_0x145b(0xb0)]('wOvfJ',_0x3ce9af['wuNHI'])?await fetch(API_CONFIG[_0x145b(0x41)]+_0x145b(0xb1),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON['stringify']({'username':_0xf5646a,'success':_0x58ecc6,'error':_0x3ce9af[_0x145b(0xb2)](_0x36b82a,null),'timestamp':new Date()[_0x145b(0xb3)]()})}):_0x4acf39[_0x145b(0x20)](_0x3ce9af[_0x145b(0xb4)]);}catch(_0x20b088){if(_0x3ce9af['KkOzK'](_0x3ce9af['bCpnz'],_0x3ce9af[_0x145b(0xb5)]))console[_0x145b(0x32)](_0x3ce9af[_0x145b(0xb6)],_0x20b088);else return _0x170ddc[_0x145b(0x32)](_0x3ce9af[_0x145b(0xb7)],_0x2d01b7),![];}};export const shouldShowYouTubeMigrationWarning=async _0x372d8a=>{const _0x129f46={'iXIzf':_0x145b(0x5d),'INlwr':_0x145b(0x53),'ZyVhT':_0x145b(0x54),'IXlOy':_0x145b(0x58),'hpbko':_0x145b(0x59),'pHbhk':'Upgrade\x20Now','GdjmB':_0x145b(0xb8),'aARoI':function(_0x459eb1,_0x89ffd0){return _0x459eb1===_0x89ffd0;},'yfANi':'ISuIn','nHfZT':_0x145b(0xb9),'kcPlF':function(_0x517889,_0x5d41a4){return _0x517889(_0x5d41a4);},'RSHHH':function(_0x3adb3c,_0x2347f1){return _0x3adb3c===_0x2347f1;},'shzBw':function(_0x1ad895,_0x4b4753){return _0x1ad895===_0x4b4753;},'olUWh':function(_0x356e64,_0x185858){return _0x356e64===_0x185858;},'GxydO':'🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','QtRYd':function(_0x3fdd82,_0x51476f){return _0x3fdd82&&_0x51476f;},'PxMZv':'XfdEb','YYnbW':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','XbMAA':_0x145b(0xba),'DmKeU':function(_0x4dfe9d,_0x47c84d){return _0x4dfe9d===_0x47c84d;},'nWztd':'UOKAn','Ksapj':'❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:'};try{if(_0x129f46[_0x145b(0xbb)](_0x129f46[_0x145b(0xbc)],_0x129f46[_0x145b(0xbd)]))return _0x910a6b['log'](_0x129f46['iXIzf']),!![];else{console['log'](_0x145b(0xbe),_0x372d8a);const _0x145365=await _0x129f46[_0x145b(0xbf)](fetch,API_CONFIG['BASE_URL']+_0x145b(0x42)+_0x372d8a),_0x4a2d8c=await _0x145365[_0x145b(0x14)]();if(_0x4a2d8c[_0x145b(0x15)]&&_0x4a2d8c[_0x145b(0x16)]){var _0x168028,_0xffc05d;const _0x4a5d2f=(_0x129f46[_0x145b(0xbb)](_0x168028=_0x4a2d8c[_0x145b(0x16)],null)||_0x129f46[_0x145b(0xbb)](_0x168028,void 0x0)?void 0x0:_0x168028[_0x145b(0x18)])===!![]||(_0x129f46[_0x145b(0xc0)](_0xffc05d=_0x4a2d8c[_0x145b(0x19)],null)||_0xffc05d===void 0x0?void 0x0:_0xffc05d['enabled'])===!![]||_0x129f46[_0x145b(0xc1)](_0x4a2d8c[_0x145b(0x18)],!![]),_0xcde9c2=_0x129f46[_0x145b(0xc2)](_0x4a2d8c[_0x145b(0x16)][_0x145b(0xc3)],!![]),_0x13896c=_0x129f46['aARoI'](_0x4a2d8c[_0x145b(0x16)][_0x145b(0x1f)],!![]),_0x550bc1=_0x129f46[_0x145b(0xc0)](_0x4a2d8c[_0x145b(0x16)]['needsReconnection'],!![]);console[_0x145b(0x20)]('📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:',{'username':_0x372d8a,'hasAccessToken':_0xcde9c2,'hasRefreshToken':_0x13896c,'needsReconnection':_0x550bc1,'isTemporaryMode':_0x4a5d2f,'connectedAt':_0x4a2d8c['validation'][_0x145b(0xa7)]});if(_0x4a5d2f)return console['log'](_0x129f46[_0x145b(0xc4)]),![];else{if(_0x129f46[_0x145b(0xc5)](_0xcde9c2,!_0x13896c)&&_0x550bc1)return console['log'](_0x129f46[_0x145b(0xc6)]),!![];else{if(_0x129f46['RSHHH'](_0x129f46['PxMZv'],_0x129f46[_0x145b(0xc7)]))return console['log'](_0x129f46[_0x145b(0xc8)]),![];else{const _0x27b6f9={'hKaVk':_0x129f46[_0x145b(0xc9)],'SkBoc':_0x129f46[_0x145b(0xca)],'IHNXw':_0x129f46[_0x145b(0xcb)],'xeblu':_0x129f46[_0x145b(0xcc)],'mppGZ':_0x129f46[_0x145b(0xcd)]};return new _0x1caffa(_0x12c470=>{Alert['alert'](_0x27b6f9[_0x145b(0xce)],_0x27b6f9['SkBoc'],[{'text':_0x27b6f9[_0x145b(0xcf)],'style':_0x27b6f9['xeblu'],'onPress':()=>_0x12c470(![])},{'text':_0x27b6f9[_0x145b(0xd0)],'style':'default','onPress':()=>_0x12c470(!![])}]);});}}}}return console['log'](_0x129f46['XbMAA']),![];}}catch(_0x2b7b6f){return _0x129f46[_0x145b(0xd1)](_0x129f46['nWztd'],_0x145b(0xd2))?(_0x20485f[_0x145b(0x20)](_0x129f46[_0x145b(0xd3)]),!![]):(console[_0x145b(0x32)](_0x129f46['Ksapj'],_0x2b7b6f),![]);}};export const checkAndFixYouTubeConnection=async _0x58c11c=>{const _0x2ebfb9={'oLeoi':_0x145b(0x12),'REQse':_0x145b(0xd4),'lkozf':_0x145b(0xd5),'xuGaE':function(_0x574cf3,_0x340c8d){return _0x574cf3(_0x340c8d);},'aZncl':function(_0x43dbc4,_0x589f09){return _0x43dbc4===_0x589f09;},'lwuhW':'KvFSK','sHpDv':_0x145b(0xb8),'WOekt':_0x145b(0xd6),'hDuKr':_0x145b(0xc),'tcDDG':_0x145b(0xd7),'Myidf':_0x145b(0xd8),'ZsbFi':_0x145b(0x8),'LaiCQ':_0x145b(0x6)};try{console[_0x145b(0x20)](_0x145b(0xd9),_0x58c11c);const _0x4f0566=await _0x2ebfb9[_0x145b(0xda)](shouldShowYouTubeMigrationWarning,_0x58c11c);if(!_0x4f0566)return console['log'](_0x2ebfb9[_0x145b(0xdb)]),console[_0x145b(0x20)](_0x145b(0xd5)),!![];const _0xc9647a=await _0x2ebfb9[_0x145b(0xda)](checkYouTubeMigrationNeeded,_0x58c11c);if(!_0xc9647a)return _0x2ebfb9['aZncl'](_0x2ebfb9[_0x145b(0xdc)],'KvFSK')?(console[_0x145b(0x20)](_0x2ebfb9[_0x145b(0xdd)]),!![]):(_0x473436[_0x145b(0x32)](_0x2ebfb9[_0x145b(0xde)],_0x3f1a8e),![]);console[_0x145b(0x20)](_0x2ebfb9['WOekt']);const _0x2c99fc=await showYouTubeMigrationPrompt();if(!_0x2c99fc)return console[_0x145b(0x20)](_0x2ebfb9[_0x145b(0xdf)]),![];const _0x1bfd1a=await _0x2ebfb9['xuGaE'](forceYouTubeReconnection,_0x58c11c);return _0x1bfd1a?_0x2ebfb9[_0x145b(0xe0)](_0x2ebfb9[_0x145b(0xe1)],_0x2ebfb9[_0x145b(0xe1)])?(Alert[_0x145b(0x2e)]('YouTube\x20Upgraded!\x20✅',_0x145b(0xb),[{'text':_0x2ebfb9[_0x145b(0xe2)],'style':_0x2ebfb9['ZsbFi']}]),!![]):(_0x233a7f[_0x145b(0x20)](_0x2ebfb9['REQse']),_0x41c282[_0x145b(0x20)](_0x2ebfb9[_0x145b(0xe3)]),!![]):(Alert[_0x145b(0x2e)](_0x2ebfb9['LaiCQ'],_0x145b(0x7),[{'text':'OK','style':_0x2ebfb9[_0x145b(0xe4)]}]),![]);}catch(_0xd46dbf){return console[_0x145b(0x32)](_0x145b(0xac),_0xd46dbf),![];}};export const reconnectYouTube=async _0x367d1c=>{const _0x46d6f0={'kQiqu':function(_0x3a120e,_0x4fb228){return _0x3a120e(_0x4fb228);}};return console[_0x145b(0x20)](_0x145b(0xe5),_0x367d1c),await _0x46d6f0[_0x145b(0xe6)](forceYouTubeReconnection,_0x367d1c);};
|
|
1
|
+
import{GoogleSignin}from'@react-native-google-signin/google-signin';function _0x1bcf(){const _0x11d6c1=['1030678346906-lovkuds2ouqmoc8eu5qpo98spa6edv4o.apps.googleusercontent.com','https://www.googleapis.com/auth/youtube.readonly','openid','profile','email','configure','uruZn','lOsiV','qvWox','✅\x20[MIGRATION]\x20YouTube\x20connection\x20working\x20properly\x20-\x20no\x20migration\x20needed','🔍\x20YouTube\x20migration\x20check:','🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','fOWfz','✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens','SCrqk','BASE_URL','json','validation','xeElZ','isTemporaryMode','mqgEQ','QzIFg','temporaryMode','enabled','message','includes','tFZgO','needsReconnection','hasRefreshToken','log','goaYN','mUxov','gALfg','hncyF','uVweA','AMjuG','pUNEP','acHoT','error','MoJIv','🚫\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20user\x20is\x20in\x20temporary\x20mode\x20(working\x20correctly)','⚠️\x20[MIGRATION\x20WARNING]\x20SHOW\x20WARNING\x20-\x20genuinely\x20old\x20connection\x20needs\x20update','📋\x20Complete\x20YouTube\x20status\x20response:','temporary\x20access\x20token\x20mode','🔄\x20YouTube\x20connected\x20in\x20temporary\x20mode','✅\x20Training\x20will\x20work,\x20but\x20connection\x20expires\x20in\x20~1\x20hour','✅\x20YouTube\x20connected\x20with\x20refresh\x20tokens','⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','Rfejs','oDjxm','none','❌\x20No\x20YouTube\x20connection\x20found','/youtube/validate-connection/','success','mYwhM','BZwpz','ATpQc','XLKtr','COgkn','EUBco','aPxis','rjJCh','ZydPe','limited','mMfzh','GSHma','HTqRg','NmDhJ','KqeGF','hasAccessToken','📊\x20[MIGRATION\x20WARNING]\x20Status\x20check:','connectedAt','xcDCa','EBwLf','FKiQX','HzwvV','wgdse','To\x20improve\x20your\x20training\x20experience,\x20we\x20need\x20to\x20upgrade\x20your\x20YouTube\x20connection.\x20This\x20prevents\x20interruptions\x20during\x20data\x20collection.\x0a\x0a✅\x20One-time\x20upgrade\x0a✅\x20Takes\x2030\x20seconds\x0a✅\x20No\x20data\x20loss\x0a\x0aUpgrade\x20now?','default','alert','BQXpI','nagKk','HcIeh','aTHBH','YouTube\x20Connection\x20Upgrade','Upgrade\x20Now','❌\x20Error\x20checking\x20YouTube\x20migration\x20status:','grmRa','🔄\x20Starting\x20YouTube\x20migration\x20for\x20user:','✅\x20Signed\x20out\x20-\x20consent\x20cache\x20cleared','LjrEY','ℹ️\x20No\x20token\x20cache\x20to\x20clear','🔐\x20Initiating\x20sign-in\x20-\x20consent\x20screen\x20should\x20appear...','Server\x20auth\x20code\x20from\x20sign-in','KKDuJ','🔍\x20Token\x20Analysis:','Available','MISSING!','0|4|3|2|1|5','❌\x20No\x20refresh\x20token\x20received\x20-\x20Google\x20Console\x20configuration\x20may\x20be\x20incorrect','\x20\x20\x203.\x20User\x20did\x20not\x20grant\x20offline\x20access\x20permission','\x20\x20\x202.\x20forceCodeForRefreshToken:\x20true\x20is\x20missing','\x20\x20\x201.\x20offlineAccess:\x20true\x20is\x20missing\x20from\x20configuration','✅\x20Got\x20refresh\x20token\x20after\x20consent:','🔑\x20Refresh\x20token\x20source:','onairos_jwt_token','enoch_token','migration_token_placeholder','YouTube\x20Channel','📤\x20Sending\x20migration\x20payload\x20to\x20backend...','✅\x20YouTube\x20migration\x20successful','❌\x20Backend\x20rejected\x20YouTube\x20migration:','Unknown\x20error','dPtrW','❌\x20Failed\x20to\x20track\x20migration\x20attempt:','zVCpD','TXIRZ','signOut','LNHKA','wpMcF','mgKOR','ofOZw','fZWCx','Skip\x20for\x20Now','TFLas','kYnSK','getTokens','accessToken','MjMsX','hAFrj','wUFxp','clearCachedAccessToken','✅\x20Token\x20cache\x20cleared','hasPlayServices','hDKRV','signIn','getCurrentUser','None','serverAuthCode','nZOQf','AKIuD','VaKoY','Current\x20user\x20server\x20auth\x20code','ZyNAD','rFPqe','idToken','CxDzk','adMWJ','user','kOEtf','split','puXBF','RsGhK','💡\x20This\x20usually\x20means:','hrjej','substring','...','getItem','TLxbs','SgcSD','auth_token','warn','youtube','fVHuJ','nWUbn','WHhkM','name','kSrCW','EejMi','WEcLE','Bearer\x20','yGTRa','mZyUj','HhOTg','FjPma','MDgBT','YneSe','/youtube/migration-status','stringify','ZCmcQ','iLRCC','❌\x20Error\x20in\x20YouTube\x20connection\x20check:','boCgn','⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','❓\x20YouTube\x20connection\x20status\x20unclear','🔍\x20[MIGRATION\x20WARNING]\x20Checking\x20if\x20user\x20should\x20see\x20migration\x20warning:','sFqQW','goEyd','PTkuk','✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','wmdIQ','❌\x20[MIGRATION\x20WARNING]\x20Error\x20checking\x20migration\x20warning\x20status:','uEIsL','nmvjZ','LMYUb','OXgfS','HZEhf','tvjQa','YtOWZ','ojSjM','uYXly','HvKtC','LcJLb','cbzOT','hFNJL','BQHPO','hUSHi','PcXFK','kDKCM','rRhxh','ℹ️\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20no\x20YouTube\x20connection\x20found','iLywi','tFlKv','nXRTA','🔄\x20Checking\x20YouTube\x20connection\x20for\x20user:','aIoLH','🚫\x20[MIGRATION]\x20NO\x20MIGRATION\x20NEEDED\x20-\x20user\x20connection\x20is\x20working\x20correctly','✅\x20[MIGRATION]\x20User\x20can\x20proceed\x20with\x20training\x20normally','kWqoh','ℹ️\x20User\x20declined\x20YouTube\x20migration','YouTube\x20Upgraded!\x20✅','Upgrade\x20Failed\x20❌','YouTube\x20connection\x20upgrade\x20failed.\x20Please\x20try\x20again\x20later\x20or\x20contact\x20support\x20if\x20the\x20problem\x20persists.','EQPyX','jOeDG','fEUJI','NevlW','FeaGl','OXiWQ','wYsYZ','JzfrP','APXKN','Fgljy','fDYer','zyAJy','bYiot','Your\x20YouTube\x20connection\x20has\x20been\x20upgraded\x20successfully.\x20Training\x20will\x20now\x20work\x20seamlessly\x20without\x20interruptions.','Great!','osDVA','EXZYf','nBZRV','🔄\x20Manual\x20YouTube\x20reconnection\x20requested\x20for:'];_0x1bcf=function(){return _0x11d6c1;};return _0x1bcf();}import{Alert}from'react-native';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const WEB_CLIENT_ID=_0x56d6(0x0),IOS_CLIENT_ID=_0x56d6(0x0),configureGoogleSignInForRefreshTokens=()=>{const _0x58e9fe={'uruZn':_0x56d6(0x1),'FKgXP':_0x56d6(0x2),'lOsiV':_0x56d6(0x3),'qvWox':_0x56d6(0x4)};GoogleSignin[_0x56d6(0x5)]({'webClientId':WEB_CLIENT_ID,'iosClientId':IOS_CLIENT_ID,'offlineAccess':!![],'forceCodeForRefreshToken':!![],'scopes':[_0x58e9fe[_0x56d6(0x6)],_0x58e9fe['FKgXP'],_0x58e9fe[_0x56d6(0x7)],_0x58e9fe[_0x56d6(0x8)]],'hostedDomain':'','accountName':''});};export const checkYouTubeMigrationNeeded=async _0x27a0d0=>{const _0x1cb97c={'acHoT':_0x56d6(0x9),'SCrqk':function(_0xc9bb7d,_0x1c9eef){return _0xc9bb7d(_0x1c9eef);},'iJaSC':function(_0x1269af,_0x2c44c3){return _0x1269af===_0x2c44c3;},'xeElZ':function(_0x1e12db,_0x1b7aac){return _0x1e12db===_0x1b7aac;},'mqgEQ':function(_0x2101cb,_0x252ce9){return _0x2101cb===_0x252ce9;},'QzIFg':function(_0x3f5bd1,_0x3f1d40){return _0x3f5bd1===_0x3f1d40;},'tFZgO':'temporary\x20access\x20token\x20mode','goaYN':_0x56d6(0xa),'mUxov':function(_0x2f9ef9,_0x66a22){return _0x2f9ef9===_0x66a22;},'gALfg':_0x56d6(0xb),'hncyF':'⚠️\x20No\x20refresh\x20capability\x20but\x20training\x20can\x20proceed','uVweA':_0x56d6(0xc),'AMjuG':_0x56d6(0xd),'pUNEP':_0x56d6(0xe),'MoJIv':'❌\x20Error\x20checking\x20YouTube\x20migration\x20status:'};try{const _0x4fde4b=await _0x1cb97c[_0x56d6(0xf)](fetch,API_CONFIG[_0x56d6(0x10)]+'/youtube/validate-connection/'+_0x27a0d0),_0x48f7dd=await _0x4fde4b[_0x56d6(0x11)]();if(_0x48f7dd['success']&&_0x48f7dd[_0x56d6(0x12)]){var _0x2464e6,_0x178c57,_0x25f579;const _0x28bb88=_0x1cb97c['iJaSC'](_0x1cb97c['iJaSC'](_0x2464e6=_0x48f7dd[_0x56d6(0x12)],null)||_0x1cb97c[_0x56d6(0x13)](_0x2464e6,void 0x0)?void 0x0:_0x2464e6[_0x56d6(0x14)],!![])||_0x1cb97c[_0x56d6(0x15)](_0x1cb97c[_0x56d6(0x16)](_0x178c57=_0x48f7dd[_0x56d6(0x17)],null)||_0x1cb97c[_0x56d6(0x13)](_0x178c57,void 0x0)?void 0x0:_0x178c57[_0x56d6(0x18)],!![])||_0x1cb97c[_0x56d6(0x15)](_0x48f7dd[_0x56d6(0x14)],!![])||_0x48f7dd[_0x56d6(0x19)]&&_0x48f7dd['message'][_0x56d6(0x1a)](_0x1cb97c[_0x56d6(0x1b)]),_0x3360ce=_0x48f7dd['validation'][_0x56d6(0x1c)],_0x33c630=_0x48f7dd['validation'][_0x56d6(0x1d)];console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x1f)],{'username':_0x27a0d0,'needsReconnection':_0x3360ce,'hasRefreshToken':_0x33c630,'isTemporaryMode':_0x28bb88,'temporaryModeEnabled':_0x1cb97c[_0x56d6(0x16)](_0x25f579=_0x48f7dd[_0x56d6(0x17)],null)||_0x1cb97c[_0x56d6(0x20)](_0x25f579,void 0x0)?void 0x0:_0x25f579['enabled'],'message':_0x48f7dd[_0x56d6(0x19)]});if(_0x28bb88)return console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x21)]),console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x22)]),![];else return _0x3360ce?(console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x23)]),!![]):_0x1cb97c[_0x56d6(0x24)]===_0x56d6(0xd)?(console[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x25)]),![]):(_0x2b4f41[_0x56d6(0x1e)](_0x1cb97c[_0x56d6(0x26)]),!![]);}return![];}catch(_0x5b88ef){return console[_0x56d6(0x27)](_0x1cb97c[_0x56d6(0x28)],_0x5b88ef),![];}};export const getYouTubeConnectionStatus=async _0x1d0bbb=>{const _0x457415={'ATpQc':function(_0x165182,_0x51c92f){return _0x165182===_0x51c92f;},'NmDhJ':function(_0x504dc0,_0x4fc5f8){return _0x504dc0===_0x4fc5f8;},'KqeGF':function(_0x4b0d68,_0x1bedc7){return _0x4b0d68===_0x1bedc7;},'EUBco':function(_0x5ef0b4,_0x138d17){return _0x5ef0b4===_0x138d17;},'EOjiQ':function(_0xdf533d,_0x5b9cb0){return _0xdf533d===_0x5b9cb0;},'xcDCa':_0x56d6(0x29),'EBwLf':function(_0x323e04,_0x582cdd){return _0x323e04&&_0x582cdd;},'FKiQX':_0x56d6(0x2a),'HzwvV':'✅\x20[MIGRATION\x20WARNING]\x20NO\x20WARNING\x20-\x20connection\x20is\x20working\x20properly','yCWKM':_0x56d6(0x2b),'zkAyY':function(_0x26a1c1,_0x6d2dd2){return _0x26a1c1===_0x6d2dd2;},'mYwhM':function(_0x3a83be,_0x962f24){return _0x3a83be===_0x962f24;},'BZwpz':function(_0x2996eb,_0x139864){return _0x2996eb===_0x139864;},'XLKtr':_0x56d6(0x2c),'COgkn':function(_0x2b62e9,_0x4d2c86){return _0x2b62e9===_0x4d2c86;},'AuvvP':_0x56d6(0x2d),'aPxis':_0x56d6(0x2e),'rjJCh':'temporary','kmnFa':_0x56d6(0x2f),'ZydPe':'full','GGbyx':_0x56d6(0x30),'mMfzh':function(_0x1dcad6,_0x801a5d){return _0x1dcad6!==_0x801a5d;},'GSHma':_0x56d6(0x31),'BSkdK':_0x56d6(0x32),'HTqRg':_0x56d6(0x33),'MpIoZ':_0x56d6(0x34),'gmnFC':'❌\x20Error\x20getting\x20YouTube\x20connection\x20status:','wgdse':function(_0x3597f3,_0x727083){return _0x3597f3(_0x727083);}};try{const _0xd9da2f=await fetch(API_CONFIG['BASE_URL']+_0x56d6(0x35)+_0x1d0bbb),_0x21f99d=await _0xd9da2f[_0x56d6(0x11)]();console[_0x56d6(0x1e)](_0x457415['yCWKM'],_0x21f99d);if(_0x21f99d[_0x56d6(0x36)]&&_0x21f99d['validation']){var _0x2ab874,_0x97c3c1;const _0x3e7e71=_0x457415['zkAyY'](_0x457415[_0x56d6(0x37)](_0x2ab874=_0x21f99d['validation'],null)||_0x457415[_0x56d6(0x38)](_0x2ab874,void 0x0)?void 0x0:_0x2ab874[_0x56d6(0x14)],!![])||_0x457415['zkAyY']((_0x97c3c1=_0x21f99d[_0x56d6(0x17)])===null||_0x457415[_0x56d6(0x39)](_0x97c3c1,void 0x0)?void 0x0:_0x97c3c1[_0x56d6(0x18)],!![])||_0x457415[_0x56d6(0x39)](_0x21f99d[_0x56d6(0x14)],!![])||_0x21f99d[_0x56d6(0x19)]&&_0x21f99d['message']['includes'](_0x457415[_0x56d6(0x3a)]),_0x258586=_0x457415[_0x56d6(0x3b)](_0x21f99d[_0x56d6(0x12)][_0x56d6(0x1d)],!![]),_0x5747df=_0x457415[_0x56d6(0x3c)](_0x21f99d[_0x56d6(0x12)][_0x56d6(0x1c)],!![]);if(_0x3e7e71)return console[_0x56d6(0x1e)](_0x457415['AuvvP']),console[_0x56d6(0x1e)](_0x457415[_0x56d6(0x3d)]),{'isReady':!![],'mode':_0x457415[_0x56d6(0x3e)],'needsMigration':![],'trainingReady':!![],'details':_0x21f99d};else{if(_0x258586)return console[_0x56d6(0x1e)](_0x457415['kmnFa']),{'isReady':!![],'mode':_0x457415[_0x56d6(0x3f)],'needsMigration':![],'trainingReady':!![],'details':_0x21f99d};else{if(_0x5747df)return console[_0x56d6(0x1e)](_0x457415['GGbyx']),{'isReady':![],'mode':_0x56d6(0x40),'needsMigration':!![],'trainingReady':![],'details':_0x21f99d};else{if(_0x457415[_0x56d6(0x41)](_0x457415[_0x56d6(0x42)],_0x457415['BSkdK']))return console[_0x56d6(0x1e)]('❓\x20YouTube\x20connection\x20status\x20unclear'),{'isReady':![],'mode':_0x457415[_0x56d6(0x43)],'needsMigration':![],'trainingReady':![],'details':_0x21f99d};else{var _0x3f46f5,_0x4f752f;const _0x55c352=_0x457415[_0x56d6(0x39)](_0x457415[_0x56d6(0x44)](_0x3f46f5=_0x46bbf8[_0x56d6(0x12)],null)||_0x457415['KqeGF'](_0x3f46f5,void 0x0)?void 0x0:_0x3f46f5[_0x56d6(0x14)],!![])||_0x457415[_0x56d6(0x45)](_0x457415[_0x56d6(0x3c)](_0x4f752f=_0x25d2c7[_0x56d6(0x17)],null)||_0x457415[_0x56d6(0x39)](_0x4f752f,void 0x0)?void 0x0:_0x4f752f[_0x56d6(0x18)],!![])||_0x457415['EOjiQ'](_0x4c2516[_0x56d6(0x14)],!![]),_0x10448a=_0x457415['KqeGF'](_0x1aa2b4[_0x56d6(0x12)][_0x56d6(0x46)],!![]),_0x499f0c=_0x3142ce[_0x56d6(0x12)][_0x56d6(0x1d)]===!![],_0x193dcc=_0x457415['EUBco'](_0x4b3e65[_0x56d6(0x12)][_0x56d6(0x1c)],!![]);_0x30c692[_0x56d6(0x1e)](_0x56d6(0x47),{'username':_0x563eca,'hasAccessToken':_0x10448a,'hasRefreshToken':_0x499f0c,'needsReconnection':_0x193dcc,'isTemporaryMode':_0x55c352,'connectedAt':_0x59a849['validation'][_0x56d6(0x48)]});if(_0x55c352)return _0x309f3c[_0x56d6(0x1e)](_0x457415[_0x56d6(0x49)]),![];else return _0x457415[_0x56d6(0x4a)](_0x10448a,!_0x499f0c)&&_0x193dcc?(_0x205d9c[_0x56d6(0x1e)](_0x457415[_0x56d6(0x4b)]),!![]):(_0x59fdd4[_0x56d6(0x1e)](_0x457415[_0x56d6(0x4c)]),![]);}}}}}return console[_0x56d6(0x1e)](_0x457415['MpIoZ']),{'isReady':![],'mode':_0x457415['HTqRg'],'needsMigration':![],'trainingReady':![],'details':_0x21f99d};}catch(_0x2d8269){return console['error'](_0x457415['gmnFC'],_0x2d8269),{'isReady':![],'mode':_0x457415[_0x56d6(0x43)],'needsMigration':![],'trainingReady':![],'details':{'error':_0x2d8269 instanceof Error?_0x2d8269[_0x56d6(0x19)]:_0x457415[_0x56d6(0x4d)](String,_0x2d8269)}};}};function _0x56d6(_0x1bcffb,_0x56d6a4){_0x1bcffb=_0x1bcffb-0x0;const _0x43fb64=_0x1bcf();let _0x3059b5=_0x43fb64[_0x1bcffb];return _0x3059b5;}const showYouTubeMigrationPrompt=async()=>{const _0x3fbe79={'BQXpI':'YouTube\x20Connection\x20Upgrade','nagKk':_0x56d6(0x4e),'HcIeh':'Skip\x20for\x20Now','aTHBH':_0x56d6(0x4f)};return new Promise(_0x25703c=>{Alert[_0x56d6(0x50)](_0x3fbe79[_0x56d6(0x51)],_0x3fbe79[_0x56d6(0x52)],[{'text':_0x3fbe79[_0x56d6(0x53)],'style':'cancel','onPress':()=>_0x25703c(![])},{'text':'Upgrade\x20Now','style':_0x3fbe79[_0x56d6(0x54)],'onPress':()=>_0x25703c(!![])}]);});},forceYouTubeReconnection=async _0x15662d=>{const _0x1460a4={'ofOZw':_0x56d6(0x55),'fZWCx':_0x56d6(0x4e),'TFLas':_0x56d6(0x56),'kYnSK':_0x56d6(0x4f),'hAFrj':'⚠️\x20YouTube\x20connected\x20but\x20needs\x20migration','wUFxp':_0x56d6(0x40),'ZyNAD':_0x56d6(0x57),'CxDzk':function(_0x4d33ea,_0x221cf5){return _0x4d33ea!==_0x221cf5;},'dPtrW':_0x56d6(0x58),'zVCpD':_0x56d6(0x59),'TXIRZ':function(_0x4036ce){return _0x4036ce();},'LNHKA':_0x56d6(0x5a),'AKIuD':function(_0x516c8a,_0x2a24c2){return _0x516c8a===_0x2a24c2;},'wpMcF':'Tskjs','mgKOR':'dDzfI','MjMsX':_0x56d6(0x5b),'hMZda':_0x56d6(0x5c),'hDKRV':_0x56d6(0x5d),'nZOQf':_0x56d6(0x5e),'VaKoY':_0x56d6(0x5f),'rFPqe':_0x56d6(0x60),'FkuDR':function(_0x1e7f8c,_0x449e29){return _0x1e7f8c!==_0x449e29;},'GgFVc':_0x56d6(0x61),'adMWJ':_0x56d6(0x62),'kOEtf':_0x56d6(0x63),'Lsrjn':_0x56d6(0x64),'aRczL':_0x56d6(0x65),'puXBF':_0x56d6(0x66),'RsGhK':_0x56d6(0x67),'zHkmV':_0x56d6(0x68),'hrjej':function(_0x1737ff,_0x2922c2){return _0x1737ff+_0x2922c2;},'kbQUI':_0x56d6(0x69),'TLxbs':_0x56d6(0x6a),'SgcSD':_0x56d6(0x6b),'IiUSs':'⚠️\x20No\x20authentication\x20token\x20found\x20for\x20YouTube\x20migration','GdJBN':_0x56d6(0x6c),'fVHuJ':function(_0x6ce7ba,_0x5ee8a5){return _0x6ce7ba===_0x5ee8a5;},'nWUbn':function(_0x3a287c,_0x12055a){return _0x3a287c===_0x12055a;},'kSrCW':_0x56d6(0x6d),'WHhkM':function(_0x5c5c60,_0x49f64a){return _0x5c5c60===_0x49f64a;},'EejMi':_0x56d6(0x6e),'WEcLE':'your-api-key','yGTRa':_0x56d6(0x6f),'mZyUj':function(_0x328632,_0x256063,_0x496d03){return _0x328632(_0x256063,_0x496d03);},'HhOTg':_0x56d6(0x70),'sFbzx':function(_0x49c0ca,_0x4e1b87,_0x157086,_0xe58bd9){return _0x49c0ca(_0x4e1b87,_0x157086,_0xe58bd9);},'amqeP':function(_0x29cd83,_0x272342,_0x3dac52,_0x1a63a){return _0x29cd83(_0x272342,_0x3dac52,_0x1a63a);},'FjPma':function(_0x468e32,_0x20e057){return _0x468e32 instanceof _0x20e057;},'MDgBT':_0x56d6(0x71)};try{if(_0x1460a4['CxDzk'](_0x1460a4[_0x56d6(0x72)],_0x1460a4[_0x56d6(0x72)]))_0x164c14[_0x56d6(0x27)](_0x56d6(0x73),_0x347460);else{var _0x432832,_0x1e4321,_0x52c159,_0x39912e;console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0x74)],_0x15662d),_0x1460a4[_0x56d6(0x75)](configureGoogleSignInForRefreshTokens),await GoogleSignin[_0x56d6(0x76)](),console['log'](_0x1460a4[_0x56d6(0x77)]);try{if(_0x1460a4['AKIuD'](_0x1460a4[_0x56d6(0x78)],_0x1460a4[_0x56d6(0x79)]))return new _0x28a019(_0x36a282=>{Alert[_0x56d6(0x50)](_0x1460a4[_0x56d6(0x7a)],_0x1460a4[_0x56d6(0x7b)],[{'text':_0x56d6(0x7c),'style':'cancel','onPress':()=>_0x36a282(![])},{'text':_0x1460a4[_0x56d6(0x7d)],'style':_0x1460a4[_0x56d6(0x7e)],'onPress':()=>_0x36a282(!![])}]);});else{const _0x5d47fb=await GoogleSignin[_0x56d6(0x7f)]();if(_0x5d47fb[_0x56d6(0x80)]){if(_0x1460a4[_0x56d6(0x81)]==='CxgKJ')return _0x10aae9['log'](_0x1460a4[_0x56d6(0x82)]),{'isReady':![],'mode':_0x1460a4[_0x56d6(0x83)],'needsMigration':!![],'trainingReady':![],'details':_0x4f7943};else await GoogleSignin[_0x56d6(0x84)](_0x5d47fb[_0x56d6(0x80)]),console[_0x56d6(0x1e)](_0x56d6(0x85));}}}catch(_0xd04abf){console[_0x56d6(0x1e)](_0x1460a4['hMZda']);}await GoogleSignin[_0x56d6(0x86)](),console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0x87)]);const _0x1c5fe2=await GoogleSignin[_0x56d6(0x88)](),_0x598d5b=await GoogleSignin[_0x56d6(0x7f)](),_0x122c72=await GoogleSignin[_0x56d6(0x89)]();let _0x614bbe=null,_0x34eac7=_0x56d6(0x8a);if(_0x1c5fe2['serverAuthCode'])_0x614bbe=_0x1c5fe2[_0x56d6(0x8b)],_0x34eac7=_0x1460a4[_0x56d6(0x8c)];else{if(_0x122c72!==null&&_0x122c72!==void 0x0&&_0x122c72['serverAuthCode']){if(_0x1460a4[_0x56d6(0x8d)](_0x1460a4[_0x56d6(0x8e)],'KKDuJ'))_0x614bbe=_0x122c72[_0x56d6(0x8b)],_0x34eac7=_0x56d6(0x8f);else return _0x30471f[_0x56d6(0x27)](_0x1460a4[_0x56d6(0x90)],_0x48bcb2),![];}}console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0x91)],{'hasAccessToken':!!_0x598d5b['accessToken'],'hasIdToken':!!_0x598d5b[_0x56d6(0x92)],'hasServerAuthCode':!!_0x1c5fe2['serverAuthCode'],'hasCurrentUserAuthCode':!!(_0x1460a4[_0x56d6(0x93)](_0x122c72,null)&&_0x1460a4['FkuDR'](_0x122c72,void 0x0)&&_0x122c72[_0x56d6(0x8b)]),'refreshTokenSource':_0x34eac7,'finalRefreshToken':_0x614bbe?_0x1460a4['GgFVc']:_0x1460a4[_0x56d6(0x94)],'userEmail':(_0x432832=_0x1c5fe2[_0x56d6(0x95)])===null||_0x432832===void 0x0?void 0x0:_0x432832[_0x56d6(0x4)]});if(!_0x614bbe){const _0x26a274=_0x1460a4[_0x56d6(0x96)][_0x56d6(0x97)]('|');let _0x1b4d3d=0x0;while(!![]){switch(_0x26a274[_0x1b4d3d++]){case'0':console['error'](_0x1460a4['Lsrjn']);continue;case'1':console[_0x56d6(0x27)](_0x1460a4['aRczL']);continue;case'2':console[_0x56d6(0x27)](_0x1460a4[_0x56d6(0x98)]);continue;case'3':console[_0x56d6(0x27)](_0x1460a4[_0x56d6(0x99)]);continue;case'4':console['error'](_0x56d6(0x9a));continue;case'5':return![];}break;}}console[_0x56d6(0x1e)](_0x1460a4['zHkmV'],_0x1460a4[_0x56d6(0x9b)](_0x614bbe[_0x56d6(0x9c)](0x0,0x14),_0x56d6(0x9d))),console[_0x56d6(0x1e)](_0x1460a4['kbQUI'],_0x34eac7);let _0x2b6555=await AsyncStorage[_0x56d6(0x9e)](_0x1460a4[_0x56d6(0x9f)])||await AsyncStorage[_0x56d6(0x9e)](_0x1460a4[_0x56d6(0xa0)])||await AsyncStorage[_0x56d6(0x9e)](_0x56d6(0xa1));!_0x2b6555&&(console[_0x56d6(0xa2)](_0x1460a4['IiUSs']),_0x2b6555=_0x1460a4['GdJBN']);const _0x2620e9={'session':{'username':_0x15662d,'platform':_0x56d6(0xa3),'channelName':(_0x1460a4[_0x56d6(0xa4)](_0x1e4321=_0x1c5fe2[_0x56d6(0x95)],null)||_0x1460a4[_0x56d6(0xa5)](_0x1e4321,void 0x0)?void 0x0:_0x1e4321['name'])||_0x1460a4['kSrCW'],'channelId':null},'googleUser':_0x1c5fe2['user'],'accessToken':_0x598d5b[_0x56d6(0x80)],'idToken':_0x598d5b[_0x56d6(0x92)],'refreshToken':_0x614bbe,'serverAuthCode':_0x1c5fe2['serverAuthCode'],'userAccountInfo':{'username':_0x15662d,'email':_0x1460a4['nWUbn'](_0x52c159=_0x1c5fe2[_0x56d6(0x95)],null)||_0x1460a4[_0x56d6(0xa4)](_0x52c159,void 0x0)?void 0x0:_0x52c159['email'],'authToken':_0x2b6555,'channelName':(_0x1460a4['AKIuD'](_0x39912e=_0x1c5fe2[_0x56d6(0x95)],null)||_0x1460a4[_0x56d6(0xa6)](_0x39912e,void 0x0)?void 0x0:_0x39912e[_0x56d6(0xa7)])||_0x1460a4[_0x56d6(0xa8)],'channelId':null}};console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0xa9)]);const _0x5c9d81=await fetch(API_CONFIG[_0x56d6(0x10)]+'/youtube/native-auth',{'method':'POST','headers':{'Content-Type':'application/json','x-api-key':_0x1460a4[_0x56d6(0xaa)],..._0x1460a4['CxDzk'](_0x2b6555,_0x1460a4['GdJBN'])&&{'Authorization':_0x56d6(0xab)+_0x2b6555}},'body':JSON['stringify'](_0x2620e9)}),_0x1fc5be=await _0x5c9d81[_0x56d6(0x11)]();return _0x1fc5be[_0x56d6(0x36)]?(console[_0x56d6(0x1e)](_0x1460a4[_0x56d6(0xac)]),await _0x1460a4[_0x56d6(0xad)](trackMigrationAttempt,_0x15662d,!![]),!![]):(console[_0x56d6(0x27)](_0x1460a4[_0x56d6(0xae)],_0x1fc5be['error']),await _0x1460a4['sFbzx'](trackMigrationAttempt,_0x15662d,![],_0x1fc5be[_0x56d6(0x27)]),![]);}}catch(_0xaf7f49){return console[_0x56d6(0x27)]('❌\x20YouTube\x20migration\x20failed:',_0xaf7f49),await _0x1460a4['amqeP'](trackMigrationAttempt,_0x15662d,![],_0x1460a4[_0x56d6(0xaf)](_0xaf7f49,Error)?_0xaf7f49[_0x56d6(0x19)]:_0x1460a4[_0x56d6(0xb0)]),![];}},trackMigrationAttempt=async(_0xbce321,_0x1a2a89,_0xac5fae)=>{const _0x537794={'YneSe':function(_0x4185a6,_0x3494b9,_0x394577){return _0x4185a6(_0x3494b9,_0x394577);},'ZCmcQ':function(_0x17531d,_0x25b3f0){return _0x17531d!==_0x25b3f0;},'iLRCC':'iMgJZ','boCgn':_0x56d6(0x73)};try{await _0x537794[_0x56d6(0xb1)](fetch,API_CONFIG[_0x56d6(0x10)]+_0x56d6(0xb2),{'method':'POST','headers':{'Content-Type':'application/json'},'body':JSON[_0x56d6(0xb3)]({'username':_0xbce321,'success':_0x1a2a89,'error':_0xac5fae||null,'timestamp':new Date()['toISOString']()})});}catch(_0x5b42af){if(_0x537794[_0x56d6(0xb4)](_0x537794[_0x56d6(0xb5)],_0x537794[_0x56d6(0xb5)]))return _0x580a52[_0x56d6(0x27)](_0x56d6(0xb6),_0x4164bc),![];else console[_0x56d6(0x27)](_0x537794[_0x56d6(0xb7)],_0x5b42af);}};export const shouldShowYouTubeMigrationWarning=async _0x4840bf=>{const _0x215cc5={'HZEhf':function(_0x6eb1b0,_0x186351){return _0x6eb1b0===_0x186351;},'tvjQa':function(_0x1bdf3a,_0x5a73bd){return _0x1bdf3a===_0x5a73bd;},'EFXDD':function(_0x575fe4,_0x8fa684){return _0x575fe4===_0x8fa684;},'Xyjao':_0x56d6(0xa),'QzQBq':function(_0x418a40,_0x9fc0c8){return _0x418a40===_0x9fc0c8;},'YtOWZ':function(_0x58c7b5,_0x2b5cca){return _0x58c7b5===_0x2b5cca;},'ojSjM':'🔄\x20User\x20using\x20temporary\x20mode\x20-\x20connection\x20working\x20correctly','rTSne':_0x56d6(0xb8),'uYXly':'🔧\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token','kDKCM':_0x56d6(0xb9),'BIYKy':_0x56d6(0x2a),'uEIsL':_0x56d6(0xba),'nmvjZ':function(_0x4e959a,_0x569764){return _0x4e959a===_0x569764;},'LMYUb':_0x56d6(0xbb),'OXgfS':_0x56d6(0xbc),'HvKtC':function(_0x475db2,_0x5eb2c1){return _0x475db2===_0x5eb2c1;},'LcJLb':function(_0x3740e4,_0xa6bf79){return _0x3740e4===_0xa6bf79;},'rbBiF':function(_0x1625ef,_0x367dca){return _0x1625ef===_0x367dca;},'cbzOT':function(_0x11359a,_0x1b4ae8){return _0x11359a===_0x1b4ae8;},'hFNJL':_0x56d6(0x29),'BQHPO':function(_0x379960,_0x1771a0){return _0x379960&&_0x1771a0;},'PcXFK':_0x56d6(0xbd),'rRhxh':_0x56d6(0xbe),'iLywi':'EebaW','tFlKv':_0x56d6(0xbf),'nXRTA':_0x56d6(0xc0)};try{console['log'](_0x215cc5[_0x56d6(0xc1)],_0x4840bf);const _0x5c2642=await fetch(API_CONFIG[_0x56d6(0x10)]+'/youtube/validate-connection/'+_0x4840bf),_0x4b7258=await _0x5c2642[_0x56d6(0x11)]();if(_0x4b7258[_0x56d6(0x36)]&&_0x4b7258['validation']){if(_0x215cc5[_0x56d6(0xc2)](_0x215cc5[_0x56d6(0xc3)],_0x215cc5[_0x56d6(0xc4)])){var _0x25a0d0,_0xa18307,_0x2fd553;const _0x2d8182=_0x215cc5['HZEhf']((_0x25a0d0=_0x11a58e['validation'])===null||_0x215cc5[_0x56d6(0xc5)](_0x25a0d0,void 0x0)?void 0x0:_0x25a0d0['isTemporaryMode'],!![])||_0x215cc5[_0x56d6(0xc5)]((_0xa18307=_0xc97cb3[_0x56d6(0x17)])===null||_0x215cc5[_0x56d6(0xc6)](_0xa18307,void 0x0)?void 0x0:_0xa18307[_0x56d6(0x18)],!![])||_0x215cc5['EFXDD'](_0x4a5d8d[_0x56d6(0x14)],!![])||_0x263a1d[_0x56d6(0x19)]&&_0xa0a22e[_0x56d6(0x19)][_0x56d6(0x1a)](_0x56d6(0x2c)),_0x342ff4=_0x365384[_0x56d6(0x12)][_0x56d6(0x1c)],_0x53bfd7=_0x44a08e[_0x56d6(0x12)][_0x56d6(0x1d)];_0xd3e5cb[_0x56d6(0x1e)](_0x215cc5['Xyjao'],{'username':_0x5bef84,'needsReconnection':_0x342ff4,'hasRefreshToken':_0x53bfd7,'isTemporaryMode':_0x2d8182,'temporaryModeEnabled':_0x215cc5['QzQBq'](_0x2fd553=_0x1f6443[_0x56d6(0x17)],null)||_0x215cc5[_0x56d6(0xc7)](_0x2fd553,void 0x0)?void 0x0:_0x2fd553['enabled'],'message':_0x3771af['message']});if(_0x2d8182)return _0x3169d9[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xc8)]),_0x294f40[_0x56d6(0x1e)](_0x215cc5['rTSne']),![];else return _0x342ff4?(_0x42e269[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xc9)]),!![]):(_0xe134[_0x56d6(0x1e)]('✅\x20YouTube\x20connection\x20fully\x20working\x20with\x20refresh\x20tokens'),![]);}else{var _0x36ce6f,_0xbe5d89;const _0x487e01=_0x215cc5[_0x56d6(0xca)](_0x215cc5[_0x56d6(0xcb)](_0x36ce6f=_0x4b7258[_0x56d6(0x12)],null)||_0x215cc5[_0x56d6(0xc7)](_0x36ce6f,void 0x0)?void 0x0:_0x36ce6f[_0x56d6(0x14)],!![])||((_0xbe5d89=_0x4b7258[_0x56d6(0x17)])===null||_0x215cc5['rbBiF'](_0xbe5d89,void 0x0)?void 0x0:_0xbe5d89[_0x56d6(0x18)])===!![]||_0x4b7258[_0x56d6(0x14)]===!![],_0x1597ca=_0x215cc5[_0x56d6(0xcc)](_0x4b7258[_0x56d6(0x12)][_0x56d6(0x46)],!![]),_0x47898d=_0x4b7258[_0x56d6(0x12)][_0x56d6(0x1d)]===!![],_0x4ce57c=_0x4b7258[_0x56d6(0x12)][_0x56d6(0x1c)]===!![];console['log'](_0x56d6(0x47),{'username':_0x4840bf,'hasAccessToken':_0x1597ca,'hasRefreshToken':_0x47898d,'needsReconnection':_0x4ce57c,'isTemporaryMode':_0x487e01,'connectedAt':_0x4b7258[_0x56d6(0x12)][_0x56d6(0x48)]});if(_0x487e01)return console['log'](_0x215cc5[_0x56d6(0xcd)]),![];else return _0x215cc5[_0x56d6(0xce)](_0x1597ca,!_0x47898d)&&_0x4ce57c?(console[_0x56d6(0x1e)](_0x215cc5['BIYKy']),!![]):_0x215cc5[_0x56d6(0xcc)](_0x56d6(0xcf),_0x215cc5[_0x56d6(0xd0)])?(_0x20e5d3[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xd1)]),{'isReady':![],'mode':_0x56d6(0x33),'needsMigration':![],'trainingReady':![],'details':_0x5bf3d0}):(console[_0x56d6(0x1e)](_0x215cc5[_0x56d6(0xd2)]),![]);}}return console[_0x56d6(0x1e)](_0x56d6(0xd3)),![];}catch(_0x4963be){return _0x215cc5[_0x56d6(0xd4)]===_0x215cc5[_0x56d6(0xd5)]?(_0x205c9b[_0x56d6(0x1e)](_0x215cc5['BIYKy']),!![]):(console[_0x56d6(0x27)](_0x215cc5[_0x56d6(0xd6)],_0x4963be),![]);}};export const checkAndFixYouTubeConnection=async _0x46e941=>{const _0x18206f={'wYsYZ':_0x56d6(0xc0),'HhNBv':_0x56d6(0x29),'EXZYf':_0x56d6(0xbe),'EQPyX':_0x56d6(0xd7),'jOeDG':function(_0x139d6c,_0x303559){return _0x139d6c(_0x303559);},'fEUJI':function(_0xd807be,_0x138a7f){return _0xd807be!==_0x138a7f;},'NevlW':_0x56d6(0xd8),'FeaGl':'zymjS','BHcGq':_0x56d6(0xd9),'OXiWQ':_0x56d6(0xda),'JzfrP':'🔧\x20[MIGRATION]\x20User\x20needs\x20YouTube\x20migration\x20for\x20refresh\x20token\x20(genuinely\x20old\x20connection)','iPPbM':function(_0x3d0b67){return _0x3d0b67();},'APXKN':function(_0x36211a,_0x5850a8){return _0x36211a===_0x5850a8;},'Fgljy':'hFsxE','OOiUj':_0x56d6(0xdb),'fDYer':_0x56d6(0xdc),'bYiot':'DlTFw','ZPuGE':_0x56d6(0xdd),'osDVA':_0x56d6(0x4f),'UVdBY':_0x56d6(0xde),'nBZRV':_0x56d6(0xdf),'pRGPL':_0x56d6(0xb6)};try{console[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xe0)],_0x46e941);const _0x21b046=await _0x18206f[_0x56d6(0xe1)](shouldShowYouTubeMigrationWarning,_0x46e941);if(!_0x21b046)return _0x18206f[_0x56d6(0xe2)](_0x18206f[_0x56d6(0xe3)],_0x18206f[_0x56d6(0xe4)])?(console[_0x56d6(0x1e)](_0x18206f['BHcGq']),console[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xe5)]),!![]):(_0x36a431[_0x56d6(0x27)](_0x18206f[_0x56d6(0xe6)],_0x585201),![]);const _0x3e950c=await _0x18206f[_0x56d6(0xe1)](checkYouTubeMigrationNeeded,_0x46e941);if(!_0x3e950c)return console[_0x56d6(0x1e)](_0x56d6(0x9)),!![];console[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xe7)]);const _0x521c1f=await _0x18206f['iPPbM'](showYouTubeMigrationPrompt);if(!_0x521c1f)return _0x18206f[_0x56d6(0xe8)](_0x18206f[_0x56d6(0xe9)],_0x18206f['OOiUj'])?(_0x1731da[_0x56d6(0x1e)](_0x18206f['HhNBv']),![]):(console['log'](_0x18206f[_0x56d6(0xea)]),![]);const _0x4a1538=await forceYouTubeReconnection(_0x46e941);return _0x4a1538?_0x56d6(0xeb)!==_0x18206f[_0x56d6(0xec)]?(Alert[_0x56d6(0x50)](_0x18206f['ZPuGE'],_0x56d6(0xed),[{'text':_0x56d6(0xee),'style':_0x18206f[_0x56d6(0xef)]}]),!![]):(_0x4618a8[_0x56d6(0x1e)](_0x18206f[_0x56d6(0xf0)]),![]):(Alert[_0x56d6(0x50)](_0x18206f['UVdBY'],_0x18206f[_0x56d6(0xf1)],[{'text':'OK','style':_0x18206f['osDVA']}]),![]);}catch(_0x27b485){return console[_0x56d6(0x27)](_0x18206f['pRGPL'],_0x27b485),![];}};export const reconnectYouTube=async _0x1a4090=>{return console[_0x56d6(0x1e)](_0x56d6(0xf2),_0x1a4090),await forceYouTubeReconnection(_0x1a4090);};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{Platform}from'react-native';export const COLORS={'surface':
|
|
1
|
+
import{Platform}from'react-native';export const COLORS={'surface':_0x270a(0x0),'grey300':_0x270a(0x1),'grey400':_0x270a(0x2),'grey500':_0x270a(0x3),'grey600':_0x270a(0x4),'grey700':_0x270a(0x5),'grey800':_0x270a(0x6),'btnGradStart':_0x270a(0x7),'btnGradEnd':_0x270a(0x8),'btnBorder':_0x270a(0x9),'btnShadowOuter':_0x270a(0xa),'btnInnerShadow':_0x270a(0xb),'btnLabel':_0x270a(0xc),'iconCircleGradientStart':_0x270a(0xd),'iconCircleGradientEnd':_0x270a(0xe),'primary':'#FFD700','primaryDark':'#E9B104','primaryLight':_0x270a(0xf),'background':{'dark':'#000000','medium':'#121212','light':_0x270a(0x10)},'text':{'primary':'#FFFFFF','secondary':_0x270a(0x11),'tertiary':'#808080','gold':_0x270a(0x12)},'ui':{'cardBackground':_0x270a(0x13),'divider':_0x270a(0x13),'inputBackground':_0x270a(0x13),'buttonBackground':'rgba(255,\x20255,\x20255,\x200.1)'},'status':{'success':_0x270a(0x14),'error':'#FF3B30','warning':_0x270a(0x15),'info':'#5AC8FA'},'transparent':_0x270a(0x16),'overlay':_0x270a(0x17)};function _0x270a(_0x4d3086,_0x270a8c){_0x4d3086=_0x4d3086-0x0;const _0xe24688=_0x4d30();let _0x4b981d=_0xe24688[_0x4d3086];return _0x4b981d;}export const FONTS={'families':{'ibmPlexSans':Platform['OS']==='ios'?_0x270a(0x18):_0x270a(0x18),'ibmPlexSansBold':Platform['OS']==='ios'?'IBM\x20Plex\x20Sans':_0x270a(0x18),'inter':Platform['OS']==='ios'?'Inter':_0x270a(0x19),'base':Platform['OS']===_0x270a(0x1a)?_0x270a(0x1b):_0x270a(0x1c),'serif':Platform['OS']==='ios'?'Georgia':'serif'},'weights':{'light':'300','regular':_0x270a(0x1d),'medium':_0x270a(0x1e),'semibold':'600','bold':_0x270a(0x1f)},'sizes':{'xs':0xc,'sm':0xe,'md':0x10,'lg':0x12,'xl':0x14,'xxl':0x18,'xxxl':0x1c,'title':0x20,'large':0x2a,'kicker':0x12,'welcomeTitle':0x30,'body':0x10,'buttonLabel':0x10},'lineHeights':{'kicker':0x14,'welcomeTitle':0x36,'body':0x18,'sm':0x10,'md':0x14,'lg':0x18,'xl':0x1c},'letterSpacing':{'kicker':-0.24,'tight':-0.5,'normal':0x0,'wide':0.5}};export const SPACING={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'xxl':0x30,'xxxl':0x40,'modalTopPadding':0x76,'modalHorizontal':0x18};export const BORDER_RADIUS={'xs':0x4,'sm':0x8,'md':0x10,'lg':0x18,'xl':0x20,'pill':0x64,'circle':0x3e7,'modalTop':0x18,'buttonPill':0x64};export const SHADOWS={'small':{'shadowColor':COLORS[_0x270a(0x20)],'shadowOffset':{'width':0x0,'height':0x2},'shadowOpacity':0.3,'shadowRadius':0x4,'elevation':0x3},'medium':{'shadowColor':COLORS[_0x270a(0x20)],'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.5,'shadowRadius':0x8,'elevation':0x5},'large':{'shadowColor':COLORS[_0x270a(0x20)],'shadowOffset':{'width':0x0,'height':0x6},'shadowOpacity':0.8,'shadowRadius':0x10,'elevation':0x8},'button':{'inner':{'shadowColor':COLORS[_0x270a(0x21)],'shadowOffset':{'width':0x0,'height':-0x24},'shadowOpacity':0x1,'shadowRadius':21.1},'outer':{'shadowColor':COLORS['btnShadowOuter'],'shadowOffset':{'width':0x14,'height':0x1e},'shadowOpacity':0x1,'shadowRadius':0x28,'elevation':0x8}},'brandMark':{'shadowColor':_0x270a(0x22),'shadowOffset':{'width':0x0,'height':0x4},'shadowOpacity':0.1,'shadowRadius':0x8,'elevation':0x4}};export const TEXT_STYLES={'kicker':{'fontFamily':FONTS[_0x270a(0x23)]['ibmPlexSansBold'],'fontWeight':FONTS['weights'][_0x270a(0x24)],'fontSize':FONTS[_0x270a(0x25)][_0x270a(0x26)],'lineHeight':FONTS[_0x270a(0x27)]['kicker'],'letterSpacing':FONTS['letterSpacing'][_0x270a(0x26)],'color':COLORS[_0x270a(0x28)]},'welcomeTitle':{'fontFamily':FONTS[_0x270a(0x23)][_0x270a(0x29)],'fontWeight':FONTS[_0x270a(0x2a)][_0x270a(0x24)],'fontSize':FONTS[_0x270a(0x25)][_0x270a(0x2b)],'lineHeight':FONTS[_0x270a(0x27)][_0x270a(0x2b)],'color':COLORS['grey800']},'body':{'fontFamily':FONTS['families'][_0x270a(0x2c)],'fontWeight':FONTS[_0x270a(0x2a)][_0x270a(0x2d)],'fontSize':FONTS[_0x270a(0x25)][_0x270a(0x2e)],'lineHeight':FONTS[_0x270a(0x27)][_0x270a(0x2e)],'textAlign':_0x270a(0x2f),'color':COLORS[_0x270a(0x30)]},'buttonLabel':{'fontFamily':FONTS['families']['inter'],'fontWeight':FONTS[_0x270a(0x2a)]['semibold'],'fontSize':FONTS[_0x270a(0x25)][_0x270a(0x31)],'color':COLORS[_0x270a(0x32)]}};function _0x4d30(){const _0x4bc039=['#FAFAFA','#D1D5DB','#9CA3AF','#86888E','#62646C','#374151','#1F242F','#29292B','#17181C','rgba(0,0,0,0.20)','rgba(0,0,0,0.10)','rgba(0,0,0,0.06)','#FFFFFF','#0A090E','#17171B','#FFDF33','#1C2526','#B0B0B0','#FFD700','rgba(255,\x20255,\x20255,\x200.1)','#4BB543','#FF9500','transparent','rgba(0,\x200,\x200,\x200.7)','IBM\x20Plex\x20Sans','Inter-Regular','ios','System','Roboto','400','500','700','primary','btnInnerShadow','#000000','families','bold','sizes','kicker','lineHeights','grey500','ibmPlexSansBold','weights','welcomeTitle','inter','regular','body','center','grey600','buttonLabel','btnLabel'];_0x4d30=function(){return _0x4bc039;};return _0x4d30();}export default{'COLORS':COLORS,'FONTS':FONTS,'SPACING':SPACING,'BORDER_RADIUS':BORDER_RADIUS,'SHADOWS':SHADOWS,'TEXT_STYLES':TEXT_STYLES};
|
package/lib/module/types.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x333a(_0x467130,_0x333ab4){_0x467130=_0x467130-0x0;const _0x409d40=_0x4671();let _0x4673eb=_0x409d40[_0x467130];return _0x4673eb;}function _0x4671(){const _0x3ab288=['DEVELOPER','developer','admin','INVALID','gkffN','qxayn','iEpcG','BVghD','eJORE','invalid'];_0x4671=function(){return _0x3ab288;};return _0x4671();}export let ApiKeyType=function(_0x53234a){const _0x1b248d={'gkffN':_0x333a(0x0),'qxayn':_0x333a(0x1),'iEpcG':'ADMIN','BVghD':_0x333a(0x2),'eJORE':_0x333a(0x3)};return _0x53234a[_0x1b248d[_0x333a(0x4)]]=_0x1b248d[_0x333a(0x5)],_0x53234a[_0x1b248d[_0x333a(0x6)]]=_0x1b248d[_0x333a(0x7)],_0x53234a[_0x1b248d[_0x333a(0x8)]]=_0x333a(0x9),_0x53234a;}({});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import React,{useEffect,useState}from'react';import{View}from'react-native';const portalRefs={};let portalId=0x0;const PortalContext=React[
|
|
1
|
+
import React,{useEffect,useState}from'react';function _0x5286(_0x2d0e05,_0x5286fe){_0x2d0e05=_0x2d0e05-0x0;const _0x392fec=_0x2d0e();let _0xd9692e=_0x392fec[_0x2d0e05];return _0xd9692e;}import{View}from'react-native';const portalRefs={};function _0x2d0e(){const _0xd8e801=['createContext','lVMxJ','ClzKr','cUADg','Mbuof','GBrCt','AOZYM','Swoqm','bqftg','wRJAn','FoGze','TOcNy','dYJga','createElement','Provider','keys','map','absolute','VlHHt','JypGA','IVwbu','useContext','KIiLC','jEQWt','kYTQO','oJmeM','nWaer','aoigG','xlZPT','LXSkL','wXbcF','yMGUl','lZRPT','bqXAo','qMxFs','dLyGe','tlmDh','RQEUs'];_0x2d0e=function(){return _0xd8e801;};return _0x2d0e();}let portalId=0x0;const PortalContext=React[_0x5286(0x0)]({'mount':()=>0x0,'update':()=>{},'unmount':()=>{}});export const PortalHost=({children:_0x331f20})=>{const _0x3c08e6={'Mbuof':function(_0x20b4c4,_0x244407){return _0x20b4c4(_0x244407);},'hxXZX':function(_0x54f0ab,_0x333f96){return _0x54f0ab(_0x333f96);},'GBrCt':_0x5286(0x1),'AOZYM':_0x5286(0x2),'Swoqm':function(_0x794782,_0x3f8992){return _0x794782(_0x3f8992);},'bqftg':function(_0xac71f,_0x489002){return _0xac71f===_0x489002;},'wRJAn':_0x5286(0x3),'dYJga':function(_0x52af40,_0x55f43d){return _0x52af40(_0x55f43d);}},[_0x137995,_0xa01c67]=_0x3c08e6[_0x5286(0x4)](useState,{}),_0x4dbfdf=_0x7f9f82=>{const _0x165ec4=++portalId;return _0x3c08e6[_0x5286(0x4)](_0xa01c67,_0x2d2239=>({..._0x2d2239,[_0x165ec4]:_0x7f9f82})),_0x165ec4;},_0x169ece=(_0x42eb14,_0xafc35e)=>{if(_0x3c08e6[_0x5286(0x5)]===_0x3c08e6[_0x5286(0x6)]){const _0x2d6151=_0x298704(_0x4d09e8);return _0x3c08e6['hxXZX'](_0x5ecd12,_0x2d6151),()=>{if(_0xc9cf70)_0x161df8(_0x50d298);};}else _0x3c08e6[_0x5286(0x7)](_0xa01c67,_0xd347b0=>({..._0xd347b0,[_0x42eb14]:_0xafc35e}));},_0x5db364=_0x1a8aec=>{const _0x442182={'TOcNy':function(_0x115c48,_0x53aeb1){return _0x3c08e6[_0x5286(0x4)](_0x115c48,_0x53aeb1);}};_0x3c08e6[_0x5286(0x8)](_0x3c08e6[_0x5286(0x9)],_0x5286(0xa))?_0x442182[_0x5286(0xb)](_0x141555,_0x3a60eb=>{const _0xf4727c={..._0x3a60eb};return delete _0xf4727c[_0x18123a],_0xf4727c;}):_0x3c08e6[_0x5286(0xc)](_0xa01c67,_0x402a6a=>{const _0x24389a={..._0x402a6a};return delete _0x24389a[_0x1a8aec],_0x24389a;});};return React[_0x5286(0xd)](PortalContext[_0x5286(0xe)],{'value':{'mount':_0x4dbfdf,'update':_0x169ece,'unmount':_0x5db364}},_0x331f20,Object[_0x5286(0xf)](_0x137995)[_0x5286(0x10)](_0x250e71=>React[_0x5286(0xd)](View,{'key':_0x250e71,'style':{'position':_0x5286(0x11),'top':0x0,'left':0x0,'right':0x0,'bottom':0x0,'zIndex':0x270f}},_0x137995[Number(_0x250e71)])));};export const Portal=({children:_0x2c9651})=>{const _0x57120f={'kYTQO':function(_0x8b1af8,_0xcdfca6){return _0x8b1af8(_0xcdfca6);},'oJmeM':function(_0x135219,_0x417d18){return _0x135219!==_0x417d18;},'aoigG':function(_0x2ff022,_0x304f09){return _0x2ff022!==_0x304f09;},'xlZPT':_0x5286(0x12),'wXbcF':function(_0x6554a9,_0x3047bc){return _0x6554a9(_0x3047bc);},'KIiLC':function(_0x29cbfa,_0x2265d3){return _0x29cbfa(_0x2265d3);},'bqXAo':function(_0x2d2f32,_0x5c1e31){return _0x2d2f32(_0x5c1e31);},'qMxFs':function(_0x270cac,_0x42a21f){return _0x270cac!==_0x42a21f;},'dLyGe':_0x5286(0x13),'tlmDh':_0x5286(0x14),'IKPMf':function(_0x3cd56b,_0x522c77,_0x5a23ae){return _0x3cd56b(_0x522c77,_0x5a23ae);},'jEQWt':function(_0x3ca8ec,_0x2b28ec,_0xe1f034){return _0x3ca8ec(_0x2b28ec,_0xe1f034);},'keftx':function(_0x11eed3,_0x19268e,_0x4f559b){return _0x11eed3(_0x19268e,_0x4f559b);}},{mount:_0x21373a,update:_0x137631,unmount:_0x1a23e6}=React[_0x5286(0x15)](PortalContext),[_0x37502b,_0x4669da]=_0x57120f[_0x5286(0x16)](useState,null);return _0x57120f[_0x5286(0x17)](useEffect,()=>{const _0x1997f9={'LXSkL':function(_0x35175e,_0x53da52){return _0x57120f[_0x5286(0x18)](_0x35175e,_0x53da52);},'yMGUl':function(_0x54ce4a,_0x101eec){return _0x57120f[_0x5286(0x19)](_0x54ce4a,_0x101eec);},'lZRPT':_0x5286(0x1a)};if(_0x57120f[_0x5286(0x1b)](_0x57120f[_0x5286(0x1c)],_0x57120f[_0x5286(0x1c)])){if(_0x1c5f61)_0x1997f9[_0x5286(0x1d)](_0x491471,_0x395faa);}else{const _0x25d84f=_0x57120f[_0x5286(0x1e)](_0x21373a,_0x2c9651);return _0x57120f['KIiLC'](_0x4669da,_0x25d84f),()=>{if(_0x1997f9[_0x5286(0x1f)](_0x1997f9['lZRPT'],_0x1997f9[_0x5286(0x20)])){const _0x10b2d7=++_0x4c76a8;return _0x1997f9[_0x5286(0x1d)](_0x2b1347,_0x2968fb=>({..._0x2968fb,[_0x10b2d7]:_0x461cac})),_0x10b2d7;}else{if(_0x37502b)_0x1997f9[_0x5286(0x1d)](_0x1a23e6,_0x37502b);}};}},[]),_0x57120f['keftx'](useEffect,()=>{const _0x19c10a={'RQEUs':function(_0x22355e,_0x2ebcab){return _0x57120f[_0x5286(0x21)](_0x22355e,_0x2ebcab);}};_0x57120f[_0x5286(0x22)](_0x57120f[_0x5286(0x23)],_0x57120f[_0x5286(0x24)])?_0x57120f['qMxFs'](_0x37502b,null)&&_0x57120f['IKPMf'](_0x137631,_0x37502b,_0x2c9651):_0x19c10a[_0x5286(0x25)](_0x53b7bd,_0x4eedef=>({..._0x4eedef,[_0x268b9a]:_0x55cff5}));},[_0x2c9651,_0x37502b]),null;};
|
package/lib/module/utils/api.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[
|
|
1
|
+
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';function _0x55f8(_0x3ee6de,_0x55f8cd){_0x3ee6de=_0x3ee6de-0x0;const _0x21b214=_0x3ee6();let _0xeb8cee=_0x21b214[_0x3ee6de];return _0xeb8cee;}import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x55f8(0x0)];export const createApiInstance=async()=>{const _0x5c0782=await AsyncStorage['getItem'](_0x55f8(0x1));return axios[_0x55f8(0x2)]({'baseURL':API_URL,'headers':{'Content-Type':'application/json',..._0x5c0782?{'Authorization':_0x55f8(0x3)+_0x5c0782}:{}}});};export const validateDomain=async()=>{const _0x183805={'IDFAx':'/valid/validate-domain','YSFwh':_0x55f8(0x4)};try{const _0x3e08ab=await createApiInstance(),_0xb4ae30=await _0x3e08ab[_0x55f8(0x5)](_0x183805[_0x55f8(0x6)]);return _0xb4ae30[_0x55f8(0x7)];}catch(_0x3dedc2){return console['error'](_0x183805[_0x55f8(0x8)],_0x3dedc2),{'status':![]};}};export const fetchAccountInfo=async(_0x101234,_0x5deec3=![])=>{const _0x498241={'jUrZa':function(_0x22fe91){return _0x22fe91();},'RcpZW':_0x55f8(0x9),'UXESL':_0x55f8(0xa),'yQLxj':_0x55f8(0xb)};try{const _0x73b32c=await _0x498241[_0x55f8(0xc)](createApiInstance),_0x8c40d4=_0x5deec3?{'Info':{'identifier':_0x101234}}:{'Info':{'userName':_0x101234}},_0x56f521=_0x5deec3?_0x498241[_0x55f8(0xd)]:_0x498241[_0x55f8(0xe)],_0x1f737c=await _0x73b32c[_0x55f8(0x5)](_0x56f521,_0x8c40d4);return _0x1f737c[_0x55f8(0x7)];}catch(_0x5cb017){console[_0x55f8(0xf)](_0x498241['yQLxj'],_0x5cb017);throw _0x5cb017;}};export const getApiUrl=async(_0x29a7ee,_0x546313,_0x5d5fd8)=>{const _0x11922e={'gBvdx':_0x55f8(0x10),'nKghv':'Error\x20getting\x20API\x20URL:'};try{const _0xae54af=await createApiInstance(),_0x2cb6b1={'Info':{'EncryptedUserPin':_0x546313,'confirmations':_0x29a7ee,'web3Type':_0x55f8(0x11),'Domain':Platform['OS'],'proofMode':![],'OthentSub':_0x5d5fd8}},_0x29fc69=await _0xae54af[_0x55f8(0x5)](_0x11922e[_0x55f8(0x12)],_0x2cb6b1);return _0x29fc69[_0x55f8(0x7)];}catch(_0x1f0927){console['error'](_0x11922e['nKghv'],_0x1f0927);throw _0x1f0927;}};function _0x3ee6(){const _0x512bfd=['BASE_URL','onairosToken','create','Bearer\x20','Error\x20validating\x20domain:','post','IDFAx','data','YSFwh','/getAccountInfo/email','/getAccountInfo','Error\x20fetching\x20account\x20info:','jUrZa','RcpZW','UXESL','error','/getAPIurl','othent','gBvdx','/createAccount','FkRGg','kMbkw'];_0x3ee6=function(){return _0x512bfd;};return _0x3ee6();}export const createAccount=async(_0x5c46d1,_0xc5bb35,_0x5f3bdd,_0x4c8350)=>{const _0x114d6f={'WIUij':function(_0x35e75a){return _0x35e75a();},'FkRGg':_0x55f8(0x13),'kMbkw':'Error\x20creating\x20account:'};try{const _0x21fe2f=await _0x114d6f['WIUij'](createApiInstance),_0x27aa2a=await _0x21fe2f[_0x55f8(0x5)](_0x114d6f[_0x55f8(0x14)],{'othentSub':_0x5c46d1,'pin':_0xc5bb35,'socialAccounts':_0x5f3bdd,'email':_0x4c8350});return _0x27aa2a[_0x55f8(0x7)];}catch(_0x40344b){console[_0x55f8(0xf)](_0x114d6f[_0x55f8(0x15)],_0x40344b);throw _0x40344b;}};
|
|
@@ -30,4 +30,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
30
30
|
require('../assets/animations/persona-animation.json')
|
|
31
31
|
];
|
|
32
32
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
33
|
-
export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)};export const getPlatformIconFromRegistry=
|
|
33
|
+
export const PLATFORM_ICONS={'youtube':__ONAIROS_REQ_FUNC__(0x0),'youtube2':__ONAIROS_REQ_FUNC__(0x1),'reddit':__ONAIROS_REQ_FUNC__(0x2),'linkedin':__ONAIROS_REQ_FUNC__(0x3),'instagram':__ONAIROS_REQ_FUNC__(0x4),'facebook':__ONAIROS_REQ_FUNC__(0x5),'pinterest':__ONAIROS_REQ_FUNC__(0x6),'gmail':__ONAIROS_REQ_FUNC__(0x7),'twitter':__ONAIROS_REQ_FUNC__(0x8),'farcaster':__ONAIROS_REQ_FUNC__(0x9),'chatgpt':__ONAIROS_REQ_FUNC__(0xa),'claude':__ONAIROS_REQ_FUNC__(0xb),'grok':__ONAIROS_REQ_FUNC__(0xc),'gemini':__ONAIROS_REQ_FUNC__(0xd),'default':__ONAIROS_REQ_FUNC__(0xe)};export const getPlatformIconFromRegistry=_0x29fa74=>{const _0x1c3846={'Hylbe':_0x11d4(0x0),'GULgj':_0x11d4(0x1),'GBTtL':_0x11d4(0x2),'gMKis':_0x11d4(0x3),'sAsbc':_0x11d4(0x4),'BrosQ':_0x11d4(0x5)},_0x44467a=_0x29fa74[_0x11d4(0x6)]();switch(_0x44467a){case _0x1c3846[_0x11d4(0x7)]:return PLATFORM_ICONS[_0x11d4(0x0)];case _0x11d4(0x8):return PLATFORM_ICONS[_0x11d4(0x8)];case _0x11d4(0x9):return PLATFORM_ICONS[_0x11d4(0x9)];case _0x1c3846[_0x11d4(0xa)]:return PLATFORM_ICONS['instagram'];case _0x11d4(0xb):return PLATFORM_ICONS[_0x11d4(0xb)];case _0x1c3846[_0x11d4(0xc)]:return PLATFORM_ICONS[_0x11d4(0x2)];case'gmail':case _0x11d4(0xd):return PLATFORM_ICONS[_0x11d4(0xe)];case _0x11d4(0xf):case'x':return PLATFORM_ICONS['twitter'];case _0x11d4(0x10):return PLATFORM_ICONS[_0x11d4(0x10)];case _0x11d4(0x11):case _0x1c3846[_0x11d4(0x12)]:return PLATFORM_ICONS[_0x11d4(0x11)];case _0x1c3846[_0x11d4(0x13)]:case _0x1c3846['BrosQ']:return PLATFORM_ICONS[_0x11d4(0x4)];case _0x11d4(0x14):return PLATFORM_ICONS['grok'];case _0x11d4(0x15):case _0x11d4(0x16):return PLATFORM_ICONS[_0x11d4(0x15)];default:return PLATFORM_ICONS[_0x11d4(0x17)];}};export const PERSONA_IMAGES={'level1':__ONAIROS_REQ_FUNC__(0xf),'level2':__ONAIROS_REQ_FUNC__(0x10),'level3':__ONAIROS_REQ_FUNC__(0x11),'level4':__ONAIROS_REQ_FUNC__(0x12),'level5':__ONAIROS_REQ_FUNC__(0x13)};function _0x11d4(_0x3359d8,_0x11d4fb){_0x3359d8=_0x3359d8-0x0;const _0x2b912f=_0x3359();let _0x264912=_0x2b912f[_0x3359d8];return _0x264912;}export const getPersonaImage=_0x5a9947=>{const _0x2392eb=_0x11d4(0x18)+_0x5a9947;return PERSONA_IMAGES[_0x2392eb]||PERSONA_IMAGES['level1'];};export const BRAND_IMAGES={'onairosLogo':__ONAIROS_REQ_FUNC__(0x14),'onairosLogoAlt':__ONAIROS_REQ_FUNC__(0x15),'googleLogo':__ONAIROS_REQ_FUNC__(0x16),'faceIdLogo':__ONAIROS_REQ_FUNC__(0x17),'enochIcon':__ONAIROS_REQ_FUNC__(0x18)};export const ANIMATIONS={'loader':__ONAIROS_REQ_FUNC__(0x19),'persona':__ONAIROS_REQ_FUNC__(0x1a)};export const OVERLAY_PLATFORMS=[{'id':_0x11d4(0x1),'name':_0x11d4(0x19),'icon':PLATFORM_ICONS['instagram']},{'id':_0x11d4(0x0),'name':_0x11d4(0x1a),'icon':PLATFORM_ICONS[_0x11d4(0x1b)]},{'id':_0x11d4(0x8),'name':'Reddit','icon':PLATFORM_ICONS[_0x11d4(0x8)]},{'id':_0x11d4(0x2),'name':'Pinterest','icon':PLATFORM_ICONS[_0x11d4(0x2)]},{'id':_0x11d4(0xd),'name':_0x11d4(0x1c),'icon':PLATFORM_ICONS[_0x11d4(0xe)]}];function _0x3359(){const _0x31893c=['youtube','instagram','pinterest','openai','claude','anthropic','toLowerCase','Hylbe','reddit','linkedin','GULgj','facebook','GBTtL','email','gmail','twitter','farcaster','chatgpt','gMKis','sAsbc','grok','gemini','google_ai','default','level','Instagram','YouTube','youtube2','Email'];_0x3359=function(){return _0x31893c;};return _0x3359();}export const getUniversalOnboardingIcon=_0x44926b=>{const _0x5bbe6f=_0x44926b[_0x11d4(0x6)]();switch(_0x5bbe6f){case _0x11d4(0x1):return PLATFORM_ICONS[_0x11d4(0x1)];case _0x11d4(0x0):return PLATFORM_ICONS['youtube2'];case'reddit':return PLATFORM_ICONS['reddit'];case _0x11d4(0x2):return PLATFORM_ICONS['pinterest'];case'facebook':return PLATFORM_ICONS['facebook'];case'linkedin':return PLATFORM_ICONS[_0x11d4(0x9)];case _0x11d4(0xe):case'email':return PLATFORM_ICONS[_0x11d4(0xe)];default:return PLATFORM_ICONS['default'];}};
|
package/lib/module/utils/auth.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[
|
|
1
|
+
function _0x3c12(_0x5830a0,_0x3c126f){_0x5830a0=_0x5830a0-0x0;const _0xbfa7d8=_0x5830();let _0x1cc03a=_0xbfa7d8[_0x5830a0];return _0x1cc03a;}import axios from'axios';import AsyncStorage from'@react-native-async-storage/async-storage';import{API_CONFIG}from'../config/api';const API_URL=API_CONFIG[_0x3c12(0x0)];export const getPin=async _0x1c14b3=>{const _0x530626={'nZinz':function(_0x42e20a,_0x1dd53e){return _0x42e20a===_0x1dd53e;},'wgJif':'Error\x20getting\x20PIN:'};try{if(_0x530626[_0x3c12(0x1)](_0x3c12(0x2),_0x3c12(0x3)))return _0x405d44['error']('Error\x20getting\x20stored\x20auth\x20data:',_0x1b7502),{'token':null,'username':null,'othentToken':null};else{const _0x1b3b63=await axios[_0x3c12(0x4)](API_URL+'/getPin',{'hashedOthentSub':_0x1c14b3});return _0x1b3b63[_0x3c12(0x5)];}}catch(_0x2b40a9){console[_0x3c12(0x6)](_0x530626[_0x3c12(0x7)],_0x2b40a9);throw _0x2b40a9;}};export const verifyToken=async _0x2521c8=>{const _0x52a7af={'XlpXC':_0x3c12(0x8),'BTSCE':function(_0x244701,_0x112aab){return _0x244701===_0x112aab;},'SMNDw':_0x3c12(0x9),'jTsxQ':'CwtrK','TvdxB':_0x3c12(0xa)};try{if(_0x52a7af['BTSCE'](_0x52a7af[_0x3c12(0xb)],_0x52a7af[_0x3c12(0xc)])){_0x3c3425[_0x3c12(0x6)](_0x52a7af[_0x3c12(0xd)],_0x5f0d5a);throw _0x4b579e;}else{const _0x4401cd=await axios[_0x3c12(0x4)](API_URL+'/verifyToken',{},{'headers':{'Authorization':_0x3c12(0xe)+_0x2521c8}});return _0x4401cd['data'][_0x3c12(0xf)];}}catch(_0x344e7e){return console['error'](_0x52a7af[_0x3c12(0x10)],_0x344e7e),![];}};function _0x5830(){const _0xa07d74=['BASE_URL','nZinz','mjROR','jrZHw','post','data','error','wgJif','Error\x20storing\x20auth\x20data:','BrKnI','Error\x20verifying\x20token:','SMNDw','jTsxQ','XlpXC','Bearer\x20','valid','TvdxB','Vyrkj','othentToken','setItem','username','DdLHk','DlAtI','Error\x20clearing\x20auth\x20data:','Error\x20getting\x20PIN:','tQjkP','HYhVR','XzjcW','KWAnL','removeItem','PxgCR','rkcJE','JlFSw','JDDNW','IFQRw','onairosToken','Error\x20getting\x20stored\x20auth\x20data:','getItem','ObtCD','parse','NSgwv'];_0x5830=function(){return _0xa07d74;};return _0x5830();}export const storeAuthData=async(_0x3c6605,_0x437676=null,_0x5e581b=null)=>{const _0x1bf9e0={'DdLHk':function(_0x3cf898,_0x504f27){return _0x3cf898!==_0x504f27;},'DlAtI':_0x3c12(0x11),'QoGmJ':_0x3c12(0x12),'IhXFE':'Error\x20storing\x20auth\x20data:'};try{await AsyncStorage[_0x3c12(0x13)]('onairosToken',_0x3c6605);_0x437676&&await AsyncStorage[_0x3c12(0x13)](_0x3c12(0x14),_0x437676);if(_0x5e581b){if(_0x1bf9e0[_0x3c12(0x15)](_0x1bf9e0[_0x3c12(0x16)],_0x1bf9e0['DlAtI']))return _0x2e3d71['error'](_0x3c12(0xa),_0x1c5826),![];else await AsyncStorage[_0x3c12(0x13)](_0x1bf9e0['QoGmJ'],JSON['stringify'](_0x5e581b));}}catch(_0x48964f){console[_0x3c12(0x6)](_0x1bf9e0['IhXFE'],_0x48964f);throw _0x48964f;}};export const clearAuthData=async()=>{const _0x3707cf={'rkcJE':_0x3c12(0x17),'IFQRw':_0x3c12(0x18),'XzjcW':function(_0x4dc04a,_0x1d60db){return _0x4dc04a===_0x1d60db;},'KWAnL':_0x3c12(0x19),'PxgCR':'onairosToken','MjkUh':'username','JlFSw':function(_0x2bd2fc,_0xe95740){return _0x2bd2fc!==_0xe95740;},'JDDNW':_0x3c12(0x1a)};try{if(_0x3707cf[_0x3c12(0x1b)](_0x3707cf['KWAnL'],_0x3707cf[_0x3c12(0x1c)]))await AsyncStorage[_0x3c12(0x1d)](_0x3707cf[_0x3c12(0x1e)]),await AsyncStorage[_0x3c12(0x1d)](_0x3707cf['MjkUh']),await AsyncStorage[_0x3c12(0x1d)](_0x3c12(0x12));else{_0x1aa355[_0x3c12(0x6)](_0x3707cf[_0x3c12(0x1f)],_0x3c64ff);throw _0x4e2325;}}catch(_0x110f35){if(_0x3707cf[_0x3c12(0x20)](_0x3707cf['JDDNW'],_0x3707cf[_0x3c12(0x21)])){_0x20677e['error'](_0x3707cf[_0x3c12(0x22)],_0x2e2ff1);throw _0x51be8f;}else{console[_0x3c12(0x6)](_0x3c12(0x17),_0x110f35);throw _0x110f35;}}};export const getStoredAuthData=async()=>{const _0x16b6be={'deYvM':_0x3c12(0x23),'ObtCD':_0x3c12(0x14),'NSgwv':_0x3c12(0x24)};try{const _0x3ba3db=await AsyncStorage[_0x3c12(0x25)](_0x16b6be['deYvM']),_0x5f234c=await AsyncStorage[_0x3c12(0x25)](_0x16b6be[_0x3c12(0x26)]),_0x122cf6=await AsyncStorage[_0x3c12(0x25)](_0x3c12(0x12));return{'token':_0x3ba3db,'username':_0x5f234c,'othentToken':_0x122cf6?JSON[_0x3c12(0x27)](_0x122cf6):null};}catch(_0x5bcc11){return console[_0x3c12(0x6)](_0x16b6be[_0x3c12(0x28)],_0x5bcc11),{'token':null,'username':null,'othentToken':null};}};
|
|
@@ -25,4 +25,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
25
25
|
require(`../services/${platform}DataExtractor`)
|
|
26
26
|
];
|
|
27
27
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
28
|
-
import{API_CONFIG}from'../config/api';export const testWebViewScriptExports=()=>{const _0x3c10c8={'WNFtw':function(_0x42387b,_0x3b0d57){return _0x42387b(_0x3b0d57);},'xjFVi':_0xe50d(0x0),'jbELn':_0xe50d(0x1),'nPNrm':_0xe50d(0x2),'IJJSx':_0xe50d(0x3),'exmgZ':_0xe50d(0x4),'BWXXD':_0xe50d(0x5),'HKWSF':_0xe50d(0x6),'PDvQK':function(_0x18a312,_0x103e37){return _0x18a312(_0x103e37);},'IOZuF':'Hinge\x20scripts\x20exported\x20correctly','IvZTc':function(_0x465e9b,_0x3dd080){return _0x465e9b(_0x3dd080);},'MLabG':'instagram','GTFSV':_0xe50d(0x7),'wFJDk':_0xe50d(0x8),'rPaiV':_0xe50d(0x9),'kqSVl':_0xe50d(0xa),'PrgSM':function(_0x2eedb7,_0x7880f9){return _0x2eedb7&&_0x7880f9;},'LZgtj':_0xe50d(0xb),'RbpKu':'all'},_0x190bd5=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x19928f,CHATGPT_EXPORT_SCRIPT:_0x44fbf6}=_0x3c10c8['WNFtw'](__ONAIROS_REQ_FUNC__,0x13);_0x190bd5[_0xe50d(0xc)]({'platform':_0x3c10c8[_0xe50d(0xd)],'component':_0x3c10c8[_0xe50d(0xe)],'status':_0x44fbf6?_0x3c10c8['nPNrm']:_0x3c10c8[_0xe50d(0xf)],'message':_0x44fbf6?_0x3c10c8[_0xe50d(0x10)]:_0xe50d(0x11)});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x1f94f1,CLAUDE_EXPORT_SCRIPT:_0x472568}=_0x3c10c8[_0xe50d(0x12)](__ONAIROS_REQ_FUNC__,0x12);_0x190bd5[_0xe50d(0xc)]({'platform':_0x3c10c8[_0xe50d(0x13)],'component':_0x3c10c8['jbELn'],'status':_0x472568?_0x3c10c8[_0xe50d(0x14)]:_0xe50d(0x3),'message':_0x472568?'Claude\x20scripts\x20exported\x20correctly':_0x3c10c8[_0xe50d(0x15)]});const {HINGE_CONSENT_POPUP_SCRIPT:_0xe37390,HINGE_EXPORT_SCRIPT:_0x2d5148}=_0x3c10c8[_0xe50d(0x16)](__ONAIROS_REQ_FUNC__,0x11);_0x190bd5[_0xe50d(0xc)]({'platform':_0xe50d(0x17),'component':_0xe50d(0x1),'status':_0x2d5148?_0x3c10c8[_0xe50d(0x14)]:_0x3c10c8[_0xe50d(0xf)],'message':_0x2d5148?_0x3c10c8[_0xe50d(0x18)]:_0xe50d(0x19)});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x1adeea,INSTAGRAM_EXPORT_SCRIPT:_0x15c676}=_0x3c10c8[_0xe50d(0x1a)](__ONAIROS_REQ_FUNC__,0x6);_0x190bd5[_0xe50d(0xc)]({'platform':_0x3c10c8[_0xe50d(0x1b)],'component':_0xe50d(0x1),'status':_0x15c676?_0xe50d(0x2):'fail','message':_0x15c676?'Instagram\x20scripts\x20exported\x20correctly':_0xe50d(0x1c)});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x3536e5,SEPHORA_EXPORT_SCRIPT:_0x5a3588}=__ONAIROS_REQ_FUNC__(0x5);_0x190bd5[_0xe50d(0xc)]({'platform':_0x3c10c8[_0xe50d(0x1d)],'component':_0x3c10c8[_0xe50d(0xe)],'status':_0x5a3588?_0xe50d(0x2):_0x3c10c8[_0xe50d(0xf)],'message':_0x5a3588?_0xe50d(0x1e):_0x3c10c8[_0xe50d(0x1f)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x335c4a,TELEGRAM_EXPORT_SCRIPT:_0x5ac031}=_0x3c10c8[_0xe50d(0x12)](__ONAIROS_REQ_FUNC__,0x4);_0x190bd5['push']({'platform':_0x3c10c8[_0xe50d(0x20)],'component':_0xe50d(0x1),'status':_0x5ac031?_0x3c10c8[_0xe50d(0x14)]:_0x3c10c8[_0xe50d(0xf)],'message':_0x5ac031?_0xe50d(0x21):_0x3c10c8[_0xe50d(0x22)]});const {isWebViewExtractionPlatform:_0x5b280,isHingePlatform:_0x3fbf46,isInstagramPlatform:_0x547d9c,isSephoraPlatform:_0x2e2cd8,isTelegramPlatform:_0x503efd}=_0x3c10c8[_0xe50d(0x16)](__ONAIROS_REQ_FUNC__,0x3);_0x190bd5[_0xe50d(0xc)]({'platform':_0xe50d(0x23),'component':_0xe50d(0x24),'status':_0x3c10c8['PrgSM'](_0x5b280,_0x3fbf46)&&_0x547d9c&&_0x2e2cd8&&_0x503efd?_0xe50d(0x2):_0x3c10c8['IJJSx'],'message':_0x3c10c8[_0xe50d(0x25)]});}catch(_0x3612e2){_0x190bd5[_0xe50d(0xc)]({'platform':_0x3c10c8[_0xe50d(0x26)],'component':_0x3c10c8['jbELn'],'status':_0x3c10c8[_0xe50d(0xf)],'message':'Import\x20error:\x20'+_0x3612e2[_0xe50d(0x27)]});}return _0x190bd5;};function _0x1cce(){const _0x2965c1=['chatgpt','webview_scripts','pass','fail','ChatGPT\x20scripts\x20exported\x20correctly','claude','Claude\x20scripts\x20missing','sephora','Sephora\x20scripts\x20missing','telegram','Telegram\x20scripts\x20missing','Platform\x20detection\x20functions\x20available','push','xjFVi','jbELn','IJJSx','exmgZ','ChatGPT\x20scripts\x20missing','WNFtw','BWXXD','nPNrm','HKWSF','PDvQK','hinge','IOZuF','Hinge\x20scripts\x20missing','IvZTc','MLabG','Instagram\x20scripts\x20missing','GTFSV','Sephora\x20scripts\x20exported\x20correctly','wFJDk','rPaiV','Telegram\x20scripts\x20exported\x20correctly','kqSVl','utilities','platform_detection','LZgtj','RbpKu','message','Hinge\x20detection\x20failed','instagram','detection','Sephora\x20detection\x20correct','Sephora\x20detection\x20failed','Telegram\x20detection\x20correct','Telegram\x20detection\x20failed','webview_script','Export\x20script\x20missing','kaQnG','PtOIe','Claude\x20service\x20function\x20available','Instagram\x20service\x20function\x20available','UjTTj','Telegram\x20service\x20function\x20available','hDjnK','dwmhn','txTju','KEvQf','sZnIT','DFRem','WZEDY','veNhc','Import\x20error:\x20','vuHZs','function','DqWDD','bySKu','service','HrbYu','HkUbp','ROtWl','ErYIs','SKVpI','dUgOq','hDxcW','JslFh','HqXPH','uFPNn','odQOo','dzCCg','rBPeu','fvMuX','jmoDQ','ZLYWm','UjjtE','UTwvs','rHGFd','_EXPORT_SCRIPT','vssLY','qpovY','APGTQ','HJbQL','Huqra','eFzsP','Claude\x20scripts\x20exported\x20correctly','Hinge\x20scripts\x20exported\x20correctly','Instagram\x20scripts\x20exported\x20correctly','storeInstagramData','storeTelegramData','storeSephoraData','✅\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','Hinge\x20extractor\x20hook\x20available','tIRYk','Mdkmo','extractor','UjIXz','EwpIO','oceuL','Sephora\x20extractor\x20hook\x20available','yKOZN','vyffZ','pZuCC','lOIig','PmUit','eQCqo','ngpcb','zxmAf','RgzPs','Instagram\x20extractor\x20hook\x20available','iWtTL','IFSNN','smlIz','cSMPC','YrsdG','sIydG','aYxHR','bmFPF','dUikN','RzkBH','qECtT','tuRgU','nVGsZ','Uodtd','all','GiFap','jHAlE','HRvNd','PBnZq','SkxYL','MDACi','zSTFg','OftQN','tMoxd','xvRBO','NSfIY','Service\x20function\x20','\x20available','nPSFH','QHQmD','fmeNX','jucEQ','XYriB','log','ysBvH','FSUjM','pRlvx','backend','platform_data_endpoint','cCqEN','abort','bKJlh','BASE_URL','/health','signal','NkOsh','MInVI','Backend\x20returned\x20status\x20','status','xFjnW','gFClL','Backend\x20unreachable:\x20','heGEy','xnlgi','gqlva','JVBuY','vqSMD','platform','toUpperCase','component','/platform-data/store','AtaXm','XHKoQ','aJPzi','zIVOu','Platform\x20data\x20endpoint\x20check:\x20','warning','❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','CrQCI','Hinge\x20detection\x20correct','Instagram\x20detection\x20correct','Instagram\x20detection\x20failed','KNLCW','QnqwR','HmJEx','VGOms','hNyRF','bsCpW','ueFBJ','MuZLR','QHYjn','agTVC','XaHZT','LxzhV','NxUcg','vzgUW','BKGMP','wTsLB','rodwL','YSAWh','KSquY','drVxJ','hgTDn','tXlqy','XeEFq','hAoQe','Detection\x20test\x20error:\x20','ChatGPT\x20service\x20function\x20available','📋\x20Testing\x20extractor\x20imports...','\x0a========================================','========================================\x0a','KegeF','QnQKT','QCCaZ','📋\x20Testing\x20service\x20imports...','uKvae','lSZss','📋\x20Testing\x20platform\x20detection...','📋\x20Testing\x20backend\x20connectivity...','rKOpf','length','filter','fWAnR','🧪\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','CBfFl','VKRKy','gMPNz','nuiSD','jxksv','Ijxei','PKoin','KZQuq','xehar','\x20failed,\x20','\x20warnings','Bwbad','DXMaj','enIvP','JdcYq','noroV','tmlJG','⚠️\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','brhoM','Telegram\x20extractor\x20hook\x20available','VzlqV','HZorh','storeHingeData','HADfL','fffWO','DLZbh','NMYuQ','validation','jwHCf','🧪\x20Testing\x20','\x20connector...\x0a','toLowerCase','Hevyx','lBDoY','YHfUd','eqBxO','FzwLC','jsNdv','mWNKU','FRiaj','gBIlY','goipK','LpkRB','LlmFD','UCqMZ','hZwQY','zklKe','ZMRpK','TvfnE','Script\x20import\x20failed:\x20','hplmr','tCDge','MxEYM','ROXJp','OfoOK','wVdwa','Service\x20import\x20failed:\x20','iTrsC','use','KEzBV','charAt','slice','ZWShg','RoQHG','cMjmU','jThOW','Unknown\x20platform:\x20','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.','avMpE','sUXEt'];_0x1cce=function(){return _0x2965c1;};return _0x1cce();}export const testServiceImports=()=>{const _0x5a611b={'bySKu':_0xe50d(0x5),'txTju':'service','DFRem':function(_0x3bcafc,_0x2e2e91){return _0x3bcafc===_0x2e2e91;},'KEvQf':'function','WZEDY':'pass','vuHZs':function(_0x952d96,_0x252952){return _0x952d96(_0x252952);},'vUuNz':'extractor','ROtWl':function(_0x19950f,_0x1f1f24){return _0x19950f(_0x1f1f24);},'HkUbp':_0xe50d(0x17),'ErYIs':function(_0x59c50a,_0x21b298){return _0x59c50a(_0x21b298);},'SKVpI':'Hinge\x20detection\x20correct','VcYUu':_0xe50d(0x28),'rHGFd':_0xe50d(0x29),'hDxcW':_0xe50d(0x3),'dUgOq':function(_0x494312,_0x59150e){return _0x494312(_0x59150e);},'HJbQL':_0xe50d(0x7),'OCyWk':_0xe50d(0x2a),'JslFh':_0xe50d(0x2b),'HqXPH':_0xe50d(0x2c),'uFPNn':function(_0x245aac,_0x10d2bc){return _0x245aac(_0x10d2bc);},'odQOo':_0xe50d(0x9),'hDjnK':function(_0x533dcc,_0x9dc1b3){return _0x533dcc(_0x9dc1b3);},'dzCCg':function(_0x1c6f81,_0x1c705d){return _0x1c6f81(_0x1c705d);},'rBPeu':_0xe50d(0x2d),'fvMuX':_0xe50d(0x2e),'vssLY':_0xe50d(0x2f),'qpovY':'Export\x20script\x20available','APGTQ':_0xe50d(0x30),'sMJDs':_0xe50d(0x31),'dwmhn':_0xe50d(0x0),'jmoDQ':function(_0x4f4e48,_0x5596d9){return _0x4f4e48===_0x5596d9;},'sZnIT':'ChatGPT\x20service\x20function\x20available','veNhc':_0xe50d(0x32),'DqWDD':function(_0x160bc6,_0x47e910){return _0x160bc6(_0x47e910);},'HrbYu':_0xe50d(0x33),'uUNWY':'iKMdF','ZLYWm':_0xe50d(0x34),'UjjtE':function(_0x10b884,_0x2c2362){return _0x10b884===_0x2c2362;},'UTwvs':_0xe50d(0x35),'Huqra':function(_0x1586ea,_0x74939f){return _0x1586ea(_0x74939f);},'eFzsP':_0xe50d(0x36)},_0xca30c6=[];try{if(_0x5a611b['sMJDs']!=='pZrBA'){const {storeChatGPTConversations:_0x2eb70d}=_0x5a611b[_0xe50d(0x37)](__ONAIROS_REQ_FUNC__,0x7);_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x38)],'component':_0x5a611b[_0xe50d(0x39)],'status':_0x5a611b['jmoDQ'](typeof _0x2eb70d,_0x5a611b[_0xe50d(0x3a)])?_0xe50d(0x2):_0x5a611b['hDxcW'],'message':_0x5a611b[_0xe50d(0x3b)]});}else{const {storeClaudeConversations:_0x447f60}=_0x39b4f3(0x8);_0x34b071[_0xe50d(0xc)]({'platform':_0x5a611b['bySKu'],'component':_0x5a611b[_0xe50d(0x39)],'status':_0x5a611b[_0xe50d(0x3c)](typeof _0x447f60,_0x5a611b[_0xe50d(0x3a)])?_0x5a611b[_0xe50d(0x3d)]:_0xe50d(0x3),'message':'Claude\x20service\x20function\x20available'});}}catch(_0x37865c){if(_0x5a611b['jmoDQ'](_0x5a611b[_0xe50d(0x3e)],_0x5a611b[_0xe50d(0x3e)]))_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x38)],'component':_0x5a611b[_0xe50d(0x39)],'status':_0x5a611b['hDxcW'],'message':_0xe50d(0x3f)+_0x37865c[_0xe50d(0x27)]});else{const {useHingeDataExtractor:useHingeDataExtractor}=_0x5a611b[_0xe50d(0x40)](_0x29c6aa,0xd);_0x9b8be3['push']({'platform':_0xe50d(0x17),'component':_0x5a611b['vUuNz'],'status':_0x5a611b[_0xe50d(0x3c)](typeof useHingeDataExtractor,_0xe50d(0x41))?_0xe50d(0x2):_0xe50d(0x3),'message':'Hinge\x20extractor\x20hook\x20available'});}}try{const {storeClaudeConversations:_0x41cfd3}=_0x5a611b[_0xe50d(0x42)](__ONAIROS_REQ_FUNC__,0x8);_0xca30c6['push']({'platform':_0x5a611b[_0xe50d(0x43)],'component':_0xe50d(0x44),'status':_0x5a611b[_0xe50d(0x3c)](typeof _0x41cfd3,_0x5a611b[_0xe50d(0x3a)])?_0x5a611b[_0xe50d(0x3d)]:_0x5a611b['hDxcW'],'message':_0x5a611b[_0xe50d(0x45)]});}catch(_0x159865){_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x43)],'component':_0x5a611b[_0xe50d(0x39)],'status':_0x5a611b['hDxcW'],'message':_0xe50d(0x3f)+_0x159865[_0xe50d(0x27)]});}try{const {storeHingeData:_0x24788a}=__ONAIROS_REQ_FUNC__(0x9);_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x46)],'component':_0xe50d(0x44),'status':_0x5a611b[_0xe50d(0x3c)](typeof _0x24788a,_0x5a611b[_0xe50d(0x3a)])?_0x5a611b[_0xe50d(0x3d)]:_0x5a611b['hDxcW'],'message':'Hinge\x20service\x20function\x20available'});}catch(_0x35e474){_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x46)],'component':_0x5a611b[_0xe50d(0x39)],'status':_0x5a611b['hDxcW'],'message':_0xe50d(0x3f)+_0x35e474['message']});}try{if(_0x5a611b[_0xe50d(0x3c)]('dsoij',_0x5a611b['uUNWY'])){const {isWebViewExtractionPlatform:_0x43f6e3,isHingePlatform:_0x3ffff4,isInstagramPlatform:_0x43bb30,isSephoraPlatform:_0xf795f5,isLLMPlatform:_0x1c06bb}=_0x207968(0x2),_0x1edbb7=_0x5a611b[_0xe50d(0x47)](_0x3ffff4,_0x5a611b[_0xe50d(0x46)])&&_0x5a611b['ROtWl'](_0x43f6e3,_0x5a611b[_0xe50d(0x46)])&&!_0x5a611b[_0xe50d(0x48)](_0x1c06bb,_0x5a611b[_0xe50d(0x46)]);_0x4a8f7f[_0xe50d(0xc)]({'platform':_0xe50d(0x17),'component':'detection','status':_0x1edbb7?_0xe50d(0x2):_0xe50d(0x3),'message':_0x1edbb7?_0x5a611b[_0xe50d(0x49)]:_0x5a611b['VcYUu']});const _0x23c6e5=_0x5a611b[_0xe50d(0x40)](_0x43bb30,'instagram')&&_0x43f6e3(_0xe50d(0x29))&&!_0x1c06bb('instagram');_0xb3aad2['push']({'platform':_0x5a611b['rHGFd'],'component':_0xe50d(0x2a),'status':_0x23c6e5?_0x5a611b[_0xe50d(0x3d)]:_0x5a611b['hDxcW'],'message':_0x23c6e5?'Instagram\x20detection\x20correct':'Instagram\x20detection\x20failed'});const _0x3906ad=_0xf795f5(_0xe50d(0x7))&&_0x5a611b[_0xe50d(0x4a)](_0x43f6e3,_0xe50d(0x7))&&!_0x5a611b[_0xe50d(0x47)](_0x1c06bb,'sephora');_0x5d04c5['push']({'platform':_0x5a611b['HJbQL'],'component':_0x5a611b['OCyWk'],'status':_0x3906ad?_0x5a611b[_0xe50d(0x3d)]:_0x5a611b[_0xe50d(0x4b)],'message':_0x3906ad?_0x5a611b[_0xe50d(0x4c)]:_0x5a611b[_0xe50d(0x4d)]});const {isTelegramPlatform:_0x941296}=_0x5a611b[_0xe50d(0x4a)](_0xefb159,0x1),_0x53363f=_0x5a611b[_0xe50d(0x4e)](_0x941296,_0x5a611b[_0xe50d(0x4f)])&&_0x5a611b[_0xe50d(0x37)](_0x43f6e3,_0x5a611b[_0xe50d(0x4f)])&&!_0x5a611b[_0xe50d(0x50)](_0x1c06bb,_0x5a611b[_0xe50d(0x4f)]);_0x1a0db9[_0xe50d(0xc)]({'platform':_0x5a611b['odQOo'],'component':_0x5a611b['OCyWk'],'status':_0x53363f?_0x5a611b['WZEDY']:_0x5a611b[_0xe50d(0x4b)],'message':_0x53363f?_0x5a611b[_0xe50d(0x51)]:_0x5a611b[_0xe50d(0x52)]});}else{const {storeInstagramData:_0x43b8c2}=__ONAIROS_REQ_FUNC__(0xa);_0xca30c6['push']({'platform':_0x5a611b['rHGFd'],'component':_0x5a611b['txTju'],'status':_0x5a611b[_0xe50d(0x53)](typeof _0x43b8c2,'function')?_0x5a611b['WZEDY']:_0x5a611b[_0xe50d(0x4b)],'message':_0x5a611b[_0xe50d(0x54)]});}}catch(_0x1d1d08){if(_0x5a611b[_0xe50d(0x55)](_0x5a611b[_0xe50d(0x56)],_0x5a611b['UTwvs']))_0xca30c6['push']({'platform':_0x5a611b[_0xe50d(0x57)],'component':_0xe50d(0x44),'status':_0x5a611b[_0xe50d(0x4b)],'message':'Import\x20error:\x20'+_0x1d1d08[_0xe50d(0x27)]});else{const _0x1301f7=_0x4d3b8c(0x0),_0x33c091=_0x315948['toUpperCase']()+_0xe50d(0x58),_0x3927a1=!!_0x1301f7[_0x33c091];_0x419528[_0xe50d(0xc)]({'platform':_0x5cc2bb,'component':_0x5a611b[_0xe50d(0x59)],'status':_0x3927a1?_0x5a611b[_0xe50d(0x3d)]:_0x5a611b[_0xe50d(0x4b)],'message':_0x3927a1?_0x5a611b[_0xe50d(0x5a)]:_0x5a611b[_0xe50d(0x5b)]});}}try{const {storeSephoraData:_0x3b6f1a}=_0x5a611b[_0xe50d(0x48)](__ONAIROS_REQ_FUNC__,0xb);_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x5c)],'component':_0x5a611b['txTju'],'status':_0x5a611b[_0xe50d(0x55)](typeof _0x3b6f1a,_0x5a611b['KEvQf'])?_0x5a611b[_0xe50d(0x3d)]:_0xe50d(0x3),'message':'Sephora\x20service\x20function\x20available'});}catch(_0x4690c6){_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x5c)],'component':_0x5a611b['txTju'],'status':_0x5a611b[_0xe50d(0x4b)],'message':_0xe50d(0x3f)+_0x4690c6['message']});}try{const {storeTelegramData:_0x3a42e5}=_0x5a611b[_0xe50d(0x5d)](__ONAIROS_REQ_FUNC__,0xc);_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x4f)],'component':_0x5a611b['txTju'],'status':typeof _0x3a42e5===_0x5a611b['KEvQf']?_0x5a611b[_0xe50d(0x3d)]:_0x5a611b[_0xe50d(0x4b)],'message':_0x5a611b[_0xe50d(0x5e)]});}catch(_0x90447d){_0xca30c6[_0xe50d(0xc)]({'platform':_0x5a611b[_0xe50d(0x4f)],'component':_0x5a611b[_0xe50d(0x39)],'status':_0x5a611b['hDxcW'],'message':_0xe50d(0x3f)+_0x90447d[_0xe50d(0x27)]});}return _0xca30c6;};export const testExtractorImports=()=>{const _0x1fd955={'iWtTL':function(_0x4b75dc,_0x3ac812){return _0x4b75dc(_0x3ac812);},'cSMPC':'webview_scripts','RgzPs':_0xe50d(0x2),'lOIig':'fail','IFSNN':_0xe50d(0x11),'PXbqD':_0xe50d(0x5f),'vLQMU':_0xe50d(0x6),'smlIz':function(_0x254e58,_0x45ed26){return _0x254e58(_0x45ed26);},'YrsdG':_0xe50d(0x60),'TkQkd':_0xe50d(0x19),'cTxzb':_0xe50d(0x29),'sIydG':_0xe50d(0x61),'aYxHR':function(_0x33da6b,_0x22d979){return _0x33da6b(_0x22d979);},'bmFPF':_0xe50d(0x1e),'dUikN':_0xe50d(0x8),'OftQN':_0xe50d(0x9),'jdPiG':_0xe50d(0xa),'RzkBH':function(_0x1d8361,_0x23523b){return _0x1d8361(_0x23523b);},'LkXQf':_0xe50d(0x23),'qECtT':_0xe50d(0x24),'tuRgU':function(_0xa43fe6,_0x2b5b70){return _0xa43fe6&&_0x2b5b70;},'nVGsZ':_0xe50d(0xb),'PBnZq':function(_0x36be1e,_0x17d9cb){return _0x36be1e===_0x17d9cb;},'SkxYL':_0xe50d(0x17),'MDACi':'storeHingeData','WnSJt':_0xe50d(0x62),'zSTFg':function(_0x26d136,_0x483c46){return _0x26d136===_0x483c46;},'tMoxd':_0xe50d(0x63),'xvRBO':_0xe50d(0x64),'NSfIY':'service','vyffZ':_0xe50d(0x41),'MAsFT':_0xe50d(0x65),'pZuCC':_0xe50d(0x66),'PmUit':function(_0x1e80a3,_0x20337b){return _0x1e80a3!==_0x20337b;},'eQCqo':_0xe50d(0x67),'ngpcb':_0xe50d(0x68),'zxmAf':_0xe50d(0x69),'GiFap':function(_0x4a0928,_0x28ff88){return _0x4a0928===_0x28ff88;},'Uodtd':_0xe50d(0x6a),'BkKTy':_0xe50d(0x6b),'jHAlE':_0xe50d(0x6c),'nPSFH':function(_0x846ba1,_0x518dce){return _0x846ba1(_0x518dce);},'QHQmD':'sephora','fmeNX':function(_0x416e52,_0x5478f7){return _0x416e52===_0x5478f7;},'jucEQ':_0xe50d(0x6d),'XYriB':function(_0x49cc82,_0x324f49){return _0x49cc82===_0x324f49;},'qoPOF':_0xe50d(0x6e),'ysBvH':function(_0x2366e5,_0x4e55a0){return _0x2366e5(_0x4e55a0);},'kszxK':'Telegram\x20extractor\x20hook\x20available'},_0x4a7c9d=[];try{const {useHingeDataExtractor:useHingeDataExtractor}=__ONAIROS_REQ_FUNC__(0xd);_0x4a7c9d[_0xe50d(0xc)]({'platform':'hinge','component':_0xe50d(0x69),'status':typeof useHingeDataExtractor===_0x1fd955[_0xe50d(0x6f)]?_0x1fd955['RgzPs']:_0x1fd955['lOIig'],'message':_0x1fd955[_0xe50d(0x70)]});}catch(_0x514b87){_0x4a7c9d[_0xe50d(0xc)]({'platform':_0xe50d(0x17),'component':_0xe50d(0x69),'status':_0x1fd955[_0xe50d(0x71)],'message':_0xe50d(0x3f)+_0x514b87[_0xe50d(0x27)]});}try{if(_0x1fd955[_0xe50d(0x72)](_0x1fd955[_0xe50d(0x73)],_0x1fd955[_0xe50d(0x74)])){const {useInstagramDataExtractor:useInstagramDataExtractor}=__ONAIROS_REQ_FUNC__(0xe);_0x4a7c9d[_0xe50d(0xc)]({'platform':_0x1fd955['cTxzb'],'component':_0x1fd955[_0xe50d(0x75)],'status':_0x1fd955['GiFap'](typeof useInstagramDataExtractor,_0x1fd955['vyffZ'])?_0x1fd955[_0xe50d(0x76)]:_0x1fd955[_0xe50d(0x71)],'message':_0xe50d(0x77)});}else{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x20bd04,CHATGPT_EXPORT_SCRIPT:_0x14d71d}=_0x1fd955[_0xe50d(0x78)](_0xebedee,0x13);_0x2bd1ab['push']({'platform':'chatgpt','component':_0x1fd955['cSMPC'],'status':_0x14d71d?_0x1fd955[_0xe50d(0x76)]:_0x1fd955[_0xe50d(0x71)],'message':_0x14d71d?_0xe50d(0x4):_0x1fd955[_0xe50d(0x79)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x3e92d9,CLAUDE_EXPORT_SCRIPT:_0x451231}=_0x4ea2c9(0x12);_0x2bac01[_0xe50d(0xc)]({'platform':_0xe50d(0x5),'component':_0xe50d(0x1),'status':_0x451231?_0x1fd955[_0xe50d(0x76)]:'fail','message':_0x451231?_0x1fd955['PXbqD']:_0x1fd955['vLQMU']});const {HINGE_CONSENT_POPUP_SCRIPT:_0x4a23d7,HINGE_EXPORT_SCRIPT:_0x5bdf60}=_0x1fd955[_0xe50d(0x7a)](_0x36f4dd,0x11);_0x331f24[_0xe50d(0xc)]({'platform':_0xe50d(0x17),'component':_0x1fd955[_0xe50d(0x7b)],'status':_0x5bdf60?_0xe50d(0x2):'fail','message':_0x5bdf60?_0x1fd955[_0xe50d(0x7c)]:_0x1fd955['TkQkd']});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0xa4162c,INSTAGRAM_EXPORT_SCRIPT:_0x216324}=_0x3e240d(0x6);_0x5e072e[_0xe50d(0xc)]({'platform':_0x1fd955['cTxzb'],'component':_0x1fd955[_0xe50d(0x7b)],'status':_0x216324?'pass':_0x1fd955[_0xe50d(0x71)],'message':_0x216324?_0x1fd955[_0xe50d(0x7d)]:_0xe50d(0x1c)});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x56334d,SEPHORA_EXPORT_SCRIPT:_0x4905dd}=_0x1fd955[_0xe50d(0x7e)](_0x3627c2,0x5);_0x406de6['push']({'platform':_0xe50d(0x7),'component':_0x1fd955['cSMPC'],'status':_0x4905dd?_0x1fd955[_0xe50d(0x76)]:_0x1fd955[_0xe50d(0x71)],'message':_0x4905dd?_0x1fd955[_0xe50d(0x7f)]:_0x1fd955[_0xe50d(0x80)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x3b9de8,TELEGRAM_EXPORT_SCRIPT:_0x124d6f}=_0x1fd955[_0xe50d(0x78)](_0x57cac6,0x4);_0x3cdfff[_0xe50d(0xc)]({'platform':_0x1fd955['OftQN'],'component':_0x1fd955[_0xe50d(0x7b)],'status':_0x124d6f?_0x1fd955['RgzPs']:_0x1fd955[_0xe50d(0x71)],'message':_0x124d6f?_0xe50d(0x21):_0x1fd955['jdPiG']});const {isWebViewExtractionPlatform:_0x2a4c51,isHingePlatform:_0x56c808,isInstagramPlatform:_0x4a850d,isSephoraPlatform:_0x132c55,isTelegramPlatform:_0x1fb155}=_0x1fd955[_0xe50d(0x81)](_0x46c4af,0x3);_0x5b92d2[_0xe50d(0xc)]({'platform':_0x1fd955['LkXQf'],'component':_0x1fd955[_0xe50d(0x82)],'status':_0x1fd955[_0xe50d(0x83)](_0x2a4c51,_0x56c808)&&_0x4a850d&&_0x132c55&&_0x1fb155?_0x1fd955[_0xe50d(0x76)]:_0x1fd955[_0xe50d(0x71)],'message':_0x1fd955[_0xe50d(0x84)]});}}catch(_0x66683c){_0x1fd955[_0xe50d(0x72)](_0x1fd955[_0xe50d(0x85)],_0x1fd955['BkKTy'])?_0x4a7c9d[_0xe50d(0xc)]({'platform':_0xe50d(0x29),'component':_0xe50d(0x69),'status':_0x1fd955[_0xe50d(0x71)],'message':_0xe50d(0x3f)+_0x66683c[_0xe50d(0x27)]}):_0x43b91a[_0xe50d(0xc)]({'platform':_0xe50d(0x86),'component':_0x1fd955[_0xe50d(0x7b)],'status':_0xe50d(0x3),'message':_0xe50d(0x3f)+_0x292cce[_0xe50d(0x27)]});}try{if(_0x1fd955[_0xe50d(0x87)](_0x1fd955[_0xe50d(0x88)],_0xe50d(0x89))){const _0x3a40be=_0x1fd955['aYxHR'](_0x3a264a,0x14),_0x27b47b=_0x1fd955[_0xe50d(0x8a)](_0x5c2669,_0x1fd955[_0xe50d(0x8b)])?_0x1fd955[_0xe50d(0x8c)]:_0x1fd955['PBnZq'](_0x375236,_0xe50d(0x29))?_0x1fd955['WnSJt']:_0x1fd955[_0xe50d(0x8d)](_0x4e3f93,_0x1fd955[_0xe50d(0x8e)])?_0x1fd955[_0xe50d(0x8f)]:_0x1fd955[_0xe50d(0x90)];_0x1ceacc['push']({'platform':_0x5ecf06,'component':_0x1fd955[_0xe50d(0x91)],'status':_0x1fd955['zSTFg'](typeof _0x3a40be[_0x27b47b],_0x1fd955[_0xe50d(0x6f)])?_0x1fd955[_0xe50d(0x76)]:'fail','message':_0xe50d(0x92)+_0x27b47b+_0xe50d(0x93)});}else{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x1fd955[_0xe50d(0x94)](__ONAIROS_REQ_FUNC__,0xf);_0x4a7c9d[_0xe50d(0xc)]({'platform':_0x1fd955[_0xe50d(0x95)],'component':'extractor','status':_0x1fd955[_0xe50d(0x96)](typeof useSephoraDataExtractor,_0xe50d(0x41))?_0x1fd955[_0xe50d(0x76)]:'fail','message':_0x1fd955[_0xe50d(0x97)]});}}catch(_0x2a6a14){_0x1fd955[_0xe50d(0x98)](_0x1fd955['qoPOF'],_0x1fd955['qoPOF'])?_0x4a7c9d[_0xe50d(0xc)]({'platform':_0x1fd955['QHQmD'],'component':_0x1fd955[_0xe50d(0x75)],'status':'fail','message':_0xe50d(0x3f)+_0x2a6a14[_0xe50d(0x27)]}):_0x21709e[_0xe50d(0x99)](_0x1fd955['MAsFT']);}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=_0x1fd955[_0xe50d(0x9a)](__ONAIROS_REQ_FUNC__,0x10);_0x4a7c9d['push']({'platform':_0x1fd955[_0xe50d(0x8e)],'component':_0x1fd955[_0xe50d(0x75)],'status':_0x1fd955[_0xe50d(0x87)](typeof useTelegramDataExtractor,_0x1fd955[_0xe50d(0x6f)])?_0x1fd955[_0xe50d(0x76)]:_0xe50d(0x3),'message':_0x1fd955['kszxK']});}catch(_0x4df20c){_0x4a7c9d[_0xe50d(0xc)]({'platform':_0xe50d(0x9),'component':_0x1fd955[_0xe50d(0x75)],'status':_0xe50d(0x3),'message':_0xe50d(0x3f)+_0x4df20c[_0xe50d(0x27)]});}return _0x4a7c9d;};function _0xe50d(_0x1cce00,_0xe50d08){_0x1cce00=_0x1cce00-0x0;const _0x4d66b4=_0x1cce();let _0x496efd=_0x4d66b4[_0x1cce00];return _0x496efd;}export const testBackendConnectivity=async()=>{const _0x5c8b7d={'heGEy':_0xe50d(0x44),'xnlgi':'fail','JVBuY':function(_0x479368,_0x3d281a){return _0x479368===_0x3d281a;},'vqSMD':_0xe50d(0x2),'cCqEN':function(_0x466f33,_0xe5becc,_0x101bf4){return _0x466f33(_0xe5becc,_0x101bf4);},'bKJlh':function(_0x817a46,_0x94123c,_0x16eead){return _0x817a46(_0x94123c,_0x16eead);},'NkOsh':function(_0x159a02,_0x3e462d){return _0x159a02(_0x3e462d);},'gFClL':'health','MInVI':'warning','ZiDxS':function(_0x2fb35d,_0x467b5a){return _0x2fb35d!==_0x467b5a;},'xFjnW':_0xe50d(0x9b),'beGus':_0xe50d(0x9c),'AtaXm':'OPTIONS','XHKoQ':function(_0x190102,_0x2fb4d4){return _0x190102(_0x2fb4d4);},'aJPzi':_0xe50d(0x9d),'zIVOu':_0xe50d(0x9e)},_0x392e1b=[];try{const _0x59a3f8=new AbortController(),_0x398ab5=_0x5c8b7d[_0xe50d(0x9f)](setTimeout,()=>_0x59a3f8[_0xe50d(0xa0)](),0x2710),_0x12d884=await _0x5c8b7d[_0xe50d(0xa1)](fetch,API_CONFIG[_0xe50d(0xa2)]+_0xe50d(0xa3),{'method':'GET','signal':_0x59a3f8[_0xe50d(0xa4)]});_0x5c8b7d[_0xe50d(0xa5)](clearTimeout,_0x398ab5),_0x392e1b['push']({'platform':'backend','component':_0x5c8b7d['gFClL'],'status':_0x12d884['ok']?_0xe50d(0x2):_0x5c8b7d[_0xe50d(0xa6)],'message':_0x12d884['ok']?'Backend\x20health\x20check\x20passed':_0xe50d(0xa7)+_0x12d884[_0xe50d(0xa8)],'details':{'status':_0x12d884[_0xe50d(0xa8)]}});}catch(_0x4fa6cc){_0x5c8b7d['ZiDxS'](_0x5c8b7d[_0xe50d(0xa9)],_0x5c8b7d['beGus'])?_0x392e1b[_0xe50d(0xc)]({'platform':'backend','component':_0x5c8b7d[_0xe50d(0xaa)],'status':_0xe50d(0x3),'message':_0xe50d(0xab)+_0x4fa6cc[_0xe50d(0x27)]}):_0x20cd64[_0xe50d(0xc)]({'platform':_0xe50d(0x0),'component':_0x5c8b7d[_0xe50d(0xac)],'status':_0x5c8b7d[_0xe50d(0xad)],'message':'Import\x20error:\x20'+_0x5180f5['message']});}try{if(_0x5c8b7d['ZiDxS'](_0xe50d(0xae),_0xe50d(0xae))){const _0x29a5cf=_0x5c8b7d[_0xe50d(0xaf)](_0x25b15d[_0xe50d(0xa8)],_0x5c8b7d[_0xe50d(0xb0)])?'✅':_0x5c8b7d[_0xe50d(0xaf)](_0x22e3ea[_0xe50d(0xa8)],_0xe50d(0x3))?'❌':'⚠️';_0x13a3cd[_0xe50d(0x99)](_0x29a5cf+'\x20['+_0xc9a642[_0xe50d(0xb1)][_0xe50d(0xb2)]()+']\x20'+_0x202f7b[_0xe50d(0xb3)]+':\x20'+_0x36a133[_0xe50d(0x27)]);}else{const _0x1d9de8=new AbortController(),_0x358322=_0x5c8b7d[_0xe50d(0x9f)](setTimeout,()=>_0x1d9de8[_0xe50d(0xa0)](),0x2710),_0x43021b=await fetch(API_CONFIG[_0xe50d(0xa2)]+_0xe50d(0xb4),{'method':_0x5c8b7d[_0xe50d(0xb5)],'signal':_0x1d9de8[_0xe50d(0xa4)]});_0x5c8b7d[_0xe50d(0xb6)](clearTimeout,_0x358322),_0x392e1b[_0xe50d(0xc)]({'platform':_0x5c8b7d[_0xe50d(0xb7)],'component':_0x5c8b7d[_0xe50d(0xb8)],'status':_0x43021b['status']<0x1f4?_0x5c8b7d[_0xe50d(0xb0)]:_0x5c8b7d[_0xe50d(0xa6)],'message':_0xe50d(0xb9)+_0x43021b[_0xe50d(0xa8)],'details':{'status':_0x43021b[_0xe50d(0xa8)]}});}}catch(_0x2c4d16){_0x392e1b['push']({'platform':_0xe50d(0x9d),'component':_0x5c8b7d['zIVOu'],'status':_0xe50d(0xba),'message':'Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20'+_0x2c4d16['message']});}return _0x392e1b;};export const testPlatformDetection=()=>{const _0x2bdafd={'HmJEx':_0xe50d(0xbb),'KNLCW':function(_0xaedb61,_0x476511){return _0xaedb61!==_0x476511;},'QnqwR':_0xe50d(0xbc),'VGOms':function(_0x2fec78,_0x580d87){return _0x2fec78(_0x580d87);},'hNyRF':function(_0x4b4f7d,_0x508b30){return _0x4b4f7d(_0x508b30);},'bsCpW':_0xe50d(0x17),'wTsLB':function(_0x2ebb86,_0x345cc6){return _0x2ebb86(_0x345cc6);},'ueFBJ':function(_0x27914e,_0x3887e2){return _0x27914e(_0x3887e2);},'MuZLR':'fail','QHYjn':_0xe50d(0xbd),'ETKHd':'Hinge\x20detection\x20failed','agTVC':_0xe50d(0x29),'XaHZT':function(_0x3d0a65,_0x2d8929){return _0x3d0a65(_0x2d8929);},'LxzhV':'detection','NxUcg':_0xe50d(0x2),'vzgUW':_0xe50d(0xbe),'BKGMP':_0xe50d(0xbf),'rodwL':_0xe50d(0x7),'YSAWh':function(_0x340e08,_0x225d4f){return _0x340e08(_0x225d4f);},'KSquY':function(_0x1963c6,_0x4e9b8d){return _0x1963c6(_0x4e9b8d);},'drVxJ':_0xe50d(0x2b),'cQPgd':_0xe50d(0x2c),'hgTDn':function(_0x676c17,_0x2eeeac){return _0x676c17(_0x2eeeac);},'tXlqy':_0xe50d(0x9),'XeEFq':_0xe50d(0x2e),'hAoQe':_0xe50d(0x86)},_0x297a1a=[];try{if(_0x2bdafd[_0xe50d(0xc0)](_0x2bdafd[_0xe50d(0xc1)],_0x2bdafd[_0xe50d(0xc1)]))_0x259ae9[_0xe50d(0x99)](_0x2bdafd[_0xe50d(0xc2)]);else{const {isWebViewExtractionPlatform:_0x35ac39,isHingePlatform:_0x4a91de,isInstagramPlatform:_0x5c2f86,isSephoraPlatform:_0x5aa5f2,isLLMPlatform:_0x29823e}=_0x2bdafd[_0xe50d(0xc3)](__ONAIROS_REQ_FUNC__,0x2),_0x4d34c0=_0x2bdafd[_0xe50d(0xc4)](_0x4a91de,_0x2bdafd[_0xe50d(0xc5)])&&_0x2bdafd['wTsLB'](_0x35ac39,_0x2bdafd[_0xe50d(0xc5)])&&!_0x2bdafd[_0xe50d(0xc6)](_0x29823e,_0x2bdafd[_0xe50d(0xc5)]);_0x297a1a[_0xe50d(0xc)]({'platform':_0x2bdafd[_0xe50d(0xc5)],'component':_0xe50d(0x2a),'status':_0x4d34c0?_0xe50d(0x2):_0x2bdafd[_0xe50d(0xc7)],'message':_0x4d34c0?_0x2bdafd[_0xe50d(0xc8)]:_0x2bdafd['ETKHd']});const _0x3018da=_0x5c2f86(_0x2bdafd[_0xe50d(0xc9)])&&_0x2bdafd[_0xe50d(0xc3)](_0x35ac39,_0x2bdafd[_0xe50d(0xc9)])&&!_0x2bdafd[_0xe50d(0xca)](_0x29823e,_0x2bdafd['agTVC']);_0x297a1a[_0xe50d(0xc)]({'platform':_0x2bdafd[_0xe50d(0xc9)],'component':_0x2bdafd[_0xe50d(0xcb)],'status':_0x3018da?_0x2bdafd[_0xe50d(0xcc)]:_0x2bdafd['MuZLR'],'message':_0x3018da?_0x2bdafd[_0xe50d(0xcd)]:_0x2bdafd[_0xe50d(0xce)]});const _0x5f0ef3=_0x2bdafd[_0xe50d(0xcf)](_0x5aa5f2,_0x2bdafd[_0xe50d(0xd0)])&&_0x2bdafd[_0xe50d(0xd1)](_0x35ac39,_0x2bdafd[_0xe50d(0xd0)])&&!_0x2bdafd[_0xe50d(0xd2)](_0x29823e,_0xe50d(0x7));_0x297a1a[_0xe50d(0xc)]({'platform':_0x2bdafd['rodwL'],'component':_0x2bdafd[_0xe50d(0xcb)],'status':_0x5f0ef3?_0x2bdafd[_0xe50d(0xcc)]:_0x2bdafd[_0xe50d(0xc7)],'message':_0x5f0ef3?_0x2bdafd[_0xe50d(0xd3)]:_0x2bdafd['cQPgd']});const {isTelegramPlatform:_0x184fcb}=_0x2bdafd[_0xe50d(0xd4)](__ONAIROS_REQ_FUNC__,0x1),_0x207a30=_0x2bdafd[_0xe50d(0xcf)](_0x184fcb,_0x2bdafd[_0xe50d(0xd5)])&&_0x35ac39(_0x2bdafd[_0xe50d(0xd5)])&&!_0x2bdafd[_0xe50d(0xc6)](_0x29823e,_0x2bdafd[_0xe50d(0xd5)]);_0x297a1a['push']({'platform':_0xe50d(0x9),'component':_0x2bdafd['LxzhV'],'status':_0x207a30?_0x2bdafd[_0xe50d(0xcc)]:_0x2bdafd['MuZLR'],'message':_0x207a30?_0xe50d(0x2d):_0x2bdafd[_0xe50d(0xd6)]});}}catch(_0x469eda){_0x297a1a[_0xe50d(0xc)]({'platform':_0x2bdafd[_0xe50d(0xd7)],'component':_0x2bdafd[_0xe50d(0xcb)],'status':_0x2bdafd[_0xe50d(0xc7)],'message':_0xe50d(0xd8)+_0x469eda['message']});}return _0x297a1a;};export const runConnectorSanityTests=async()=>{const _0x5cdd3e={'pBFZa':function(_0x40f0e1,_0x1aa169){return _0x40f0e1(_0x1aa169);},'VKRKy':_0xe50d(0x0),'gMPNz':_0xe50d(0x44),'nuiSD':function(_0x32f532,_0x4e1c37){return _0x32f532===_0x4e1c37;},'jxksv':'function','Ijxei':_0xe50d(0x2),'PKoin':'fail','KZQuq':_0xe50d(0xd9),'tmlJG':_0xe50d(0x5),'apcEn':'🧪\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','QCCaZ':function(_0x3773ae){return _0x3773ae();},'uKvae':_0xe50d(0xda),'lSZss':function(_0x231759){return _0x231759();},'rKOpf':function(_0x2f49ba){return _0x2f49ba();},'fWAnR':_0xe50d(0xdb),'Bwbad':_0xe50d(0xdc),'hNbOD':function(_0x733b4c,_0x1c2c5c){return _0x733b4c!==_0x1c2c5c;},'CBfFl':_0xe50d(0xdd),'xehar':function(_0x5355a8,_0x2c33b3){return _0x5355a8===_0x2c33b3;},'DXMaj':function(_0x33031a,_0xdceebc){return _0x33031a>_0xdceebc;},'enIvP':_0xe50d(0xbb),'JdcYq':'SpnOp','noroV':_0xe50d(0xde),'brhoM':_0xe50d(0x65)};console[_0xe50d(0x99)](_0x5cdd3e['apcEn']);const _0x1380ff=[];console[_0xe50d(0x99)]('📋\x20Testing\x20WebView\x20script\x20exports...'),_0x1380ff[_0xe50d(0xc)](..._0x5cdd3e[_0xe50d(0xdf)](testWebViewScriptExports)),console[_0xe50d(0x99)](_0xe50d(0xe0)),_0x1380ff[_0xe50d(0xc)](..._0x5cdd3e[_0xe50d(0xdf)](testServiceImports)),console[_0xe50d(0x99)](_0x5cdd3e[_0xe50d(0xe1)]),_0x1380ff[_0xe50d(0xc)](..._0x5cdd3e[_0xe50d(0xe2)](testExtractorImports)),console[_0xe50d(0x99)](_0xe50d(0xe3)),_0x1380ff[_0xe50d(0xc)](...testPlatformDetection()),console[_0xe50d(0x99)](_0xe50d(0xe4)),_0x1380ff[_0xe50d(0xc)](...await _0x5cdd3e[_0xe50d(0xe5)](testBackendConnectivity));const _0x3e3642=_0x1380ff['filter'](_0x40d6ca=>_0x40d6ca[_0xe50d(0xa8)]==='pass')[_0xe50d(0xe6)],_0x326b18=_0x1380ff[_0xe50d(0xe7)](_0x2c677e=>_0x2c677e['status']==='fail')[_0xe50d(0xe6)],_0x1b7e1c=_0x1380ff[_0xe50d(0xe7)](_0x5673ca=>_0x5673ca['status']===_0xe50d(0xba))[_0xe50d(0xe6)];console[_0xe50d(0x99)](_0x5cdd3e[_0xe50d(0xe8)]),console[_0xe50d(0x99)](_0xe50d(0xe9)),console[_0xe50d(0x99)](_0x5cdd3e['Bwbad']);for(const _0x2509f1 of _0x1380ff){if(_0x5cdd3e['hNbOD'](_0x5cdd3e[_0xe50d(0xea)],_0x5cdd3e[_0xe50d(0xea)])){const {storeChatGPTConversations:_0x49763a}=_0x5cdd3e['pBFZa'](_0x4f8342,0x7);_0x416dd3['push']({'platform':_0x5cdd3e[_0xe50d(0xeb)],'component':_0x5cdd3e[_0xe50d(0xec)],'status':_0x5cdd3e[_0xe50d(0xed)](typeof _0x49763a,_0x5cdd3e[_0xe50d(0xee)])?_0x5cdd3e[_0xe50d(0xef)]:_0x5cdd3e[_0xe50d(0xf0)],'message':_0x5cdd3e[_0xe50d(0xf1)]});}else{const _0x174def=_0x5cdd3e[_0xe50d(0xf2)](_0x2509f1[_0xe50d(0xa8)],_0x5cdd3e[_0xe50d(0xef)])?'✅':_0x5cdd3e[_0xe50d(0xf2)](_0x2509f1[_0xe50d(0xa8)],_0x5cdd3e[_0xe50d(0xf0)])?'❌':'⚠️';console[_0xe50d(0x99)](_0x174def+'\x20['+_0x2509f1[_0xe50d(0xb1)][_0xe50d(0xb2)]()+']\x20'+_0x2509f1[_0xe50d(0xb3)]+':\x20'+_0x2509f1[_0xe50d(0x27)]);}}console['log'](_0x5cdd3e[_0xe50d(0xe8)]),console[_0xe50d(0x99)]('📊\x20Summary:\x20'+_0x3e3642+'\x20passed,\x20'+_0x326b18+_0xe50d(0xf3)+_0x1b7e1c+_0xe50d(0xf4)),console[_0xe50d(0x99)](_0x5cdd3e[_0xe50d(0xf5)]);if(_0x5cdd3e[_0xe50d(0xf6)](_0x326b18,0x0))console['log'](_0x5cdd3e[_0xe50d(0xf7)]);else _0x5cdd3e['DXMaj'](_0x1b7e1c,0x0)?_0x5cdd3e[_0xe50d(0xf2)](_0x5cdd3e[_0xe50d(0xf8)],_0x5cdd3e[_0xe50d(0xf9)])?_0x2815a7[_0xe50d(0xc)]({'platform':_0x5cdd3e[_0xe50d(0xfa)],'component':_0xe50d(0x44),'status':_0x5cdd3e[_0xe50d(0xf0)],'message':_0xe50d(0x3f)+_0x1aa531[_0xe50d(0x27)]}):console['log'](_0xe50d(0xfb)):console[_0xe50d(0x99)](_0x5cdd3e[_0xe50d(0xfc)]);return{'passed':_0x3e3642,'failed':_0x326b18,'warnings':_0x1b7e1c,'results':_0x1380ff};};export const testPlatformConnector=async _0x20a6e4=>{const _0x2e3a00={'mWNKU':function(_0x5ca212,_0x7fc2e0){return _0x5ca212(_0x7fc2e0);},'YHfUd':_0xe50d(0x7),'FRiaj':_0xe50d(0x44),'gBIlY':function(_0x2eec70,_0x1765f3){return _0x2eec70===_0x1765f3;},'goipK':_0xe50d(0x41),'ZWShg':_0xe50d(0x2),'LpkRB':'Sephora\x20service\x20function\x20available','TvfnE':_0xe50d(0x69),'zklKe':_0xe50d(0x3),'ydaKZ':_0xe50d(0xfd),'DMafk':_0xe50d(0xfb),'MxEYM':function(_0x1e7ddf,_0x42687e){return _0x1e7ddf===_0x42687e;},'GGSGJ':function(_0x24c190,_0x540175){return _0x24c190(_0x540175);},'cMjmU':_0xe50d(0x36),'Hevyx':_0xe50d(0x17),'lBDoY':_0xe50d(0x29),'eqBxO':_0xe50d(0x9),'jsNdv':_0xe50d(0xfe),'LlmFD':'UCqMZ','hZwQY':_0xe50d(0x2f),'ZMRpK':'Export\x20script\x20missing','riCXx':function(_0x4c31ac,_0x14ba05){return _0x4c31ac!==_0x14ba05;},'hplmr':_0xe50d(0xff),'tCDge':'XySeW','lRVOW':_0xe50d(0x100),'ROXJp':_0xe50d(0x62),'OfoOK':_0xe50d(0x63),'wVdwa':_0xe50d(0x64),'iTrsC':function(_0x39472f,_0x389406){return _0x39472f!==_0x389406;},'PMNmI':_0xe50d(0x101),'vQnEV':_0xe50d(0x102),'KEzBV':function(_0x5ab3df,_0x566dfe){return _0x5ab3df+_0x566dfe;},'Oycnm':function(_0x296fbb,_0x497506){return _0x296fbb!==_0x497506;},'wzNWs':_0xe50d(0x103),'RoQHG':_0xe50d(0x104),'jThOW':_0xe50d(0x105),'VcTYc':_0xe50d(0xba),'avMpE':function(_0x1aed64,_0x151c52){return _0x1aed64!==_0x151c52;},'sUXEt':_0xe50d(0x106)};console[_0xe50d(0x99)](_0xe50d(0x107)+_0x20a6e4+_0xe50d(0x108));const _0x5bc6a3=[],_0x3b45c0=_0x20a6e4[_0xe50d(0x109)]();if([_0x2e3a00[_0xe50d(0x10a)],_0x2e3a00[_0xe50d(0x10b)],_0x2e3a00[_0xe50d(0x10c)],_0x2e3a00[_0xe50d(0x10d)]]['includes'](_0x3b45c0)){if(_0xe50d(0x10e)===_0x2e3a00[_0xe50d(0x10f)]){const {storeSephoraData:_0x2de521}=_0x2e3a00[_0xe50d(0x110)](_0xb83bf0,0xb);_0x5b7290[_0xe50d(0xc)]({'platform':_0x2e3a00[_0xe50d(0x10c)],'component':_0x2e3a00[_0xe50d(0x111)],'status':_0x2e3a00[_0xe50d(0x112)](typeof _0x2de521,_0x2e3a00[_0xe50d(0x113)])?_0x2e3a00['ZWShg']:_0xe50d(0x3),'message':_0x2e3a00[_0xe50d(0x114)]});}else{try{if(_0x2e3a00['MxEYM'](_0x2e3a00[_0xe50d(0x115)],_0xe50d(0x116))){const _0x2feb75=__ONAIROS_REQ_FUNC__(0x0),_0x181638=_0x3b45c0[_0xe50d(0xb2)]()+_0xe50d(0x58),_0x109f86=!!_0x2feb75[_0x181638];_0x5bc6a3['push']({'platform':_0x3b45c0,'component':_0x2e3a00[_0xe50d(0x117)],'status':_0x109f86?_0xe50d(0x2):_0x2e3a00[_0xe50d(0x118)],'message':_0x109f86?'Export\x20script\x20available':_0x2e3a00[_0xe50d(0x119)]});}else{const {useTelegramDataExtractor:useTelegramDataExtractor}=_0x2e3a00[_0xe50d(0x110)](_0x2bfe45,0x10);_0x5ec828[_0xe50d(0xc)]({'platform':_0xe50d(0x9),'component':_0x2e3a00[_0xe50d(0x11a)],'status':typeof useTelegramDataExtractor===_0x2e3a00[_0xe50d(0x113)]?_0x2e3a00['ZWShg']:_0x2e3a00[_0xe50d(0x118)],'message':_0x2e3a00['ydaKZ']});}}catch(_0x5db3fa){_0x5bc6a3[_0xe50d(0xc)]({'platform':_0x3b45c0,'component':_0x2e3a00[_0xe50d(0x117)],'status':_0x2e3a00[_0xe50d(0x118)],'message':_0xe50d(0x11b)+_0x5db3fa[_0xe50d(0x27)]});}try{if(_0x2e3a00['riCXx'](_0x2e3a00[_0xe50d(0x11c)],_0x2e3a00[_0xe50d(0x11d)])){const _0x5c8401=_0x2e3a00['GGSGJ'](__ONAIROS_REQ_FUNC__,0x14),_0x73eda2=_0x3b45c0===_0x2e3a00[_0xe50d(0x10a)]?_0x2e3a00['lRVOW']:_0x2e3a00[_0xe50d(0x11e)](_0x3b45c0,_0xe50d(0x29))?_0x2e3a00[_0xe50d(0x11f)]:_0x2e3a00['MxEYM'](_0x3b45c0,_0x2e3a00[_0xe50d(0x10d)])?_0x2e3a00[_0xe50d(0x120)]:_0x2e3a00[_0xe50d(0x121)];_0x5bc6a3[_0xe50d(0xc)]({'platform':_0x3b45c0,'component':_0x2e3a00[_0xe50d(0x111)],'status':_0x2e3a00[_0xe50d(0x11e)](typeof _0x5c8401[_0x73eda2],'function')?_0xe50d(0x2):_0x2e3a00[_0xe50d(0x118)],'message':_0xe50d(0x92)+_0x73eda2+_0xe50d(0x93)});}else _0x4ffbc8[_0xe50d(0x99)](_0x2e3a00['DMafk']);}catch(_0x3f8826){_0x5bc6a3[_0xe50d(0xc)]({'platform':_0x3b45c0,'component':_0x2e3a00[_0xe50d(0x111)],'status':_0x2e3a00[_0xe50d(0x118)],'message':_0xe50d(0x122)+_0x3f8826[_0xe50d(0x27)]});}try{if(_0x2e3a00[_0xe50d(0x123)](_0x2e3a00['PMNmI'],_0x2e3a00['vQnEV'])){const _0x318ea5=_0x2e3a00[_0xe50d(0x110)](__ONAIROS_REQ_FUNC__,0x15),_0x1134f9=_0xe50d(0x124)+_0x2e3a00[_0xe50d(0x125)](_0x3b45c0[_0xe50d(0x126)](0x0)['toUpperCase'](),_0x3b45c0[_0xe50d(0x127)](0x1))+'DataExtractor';_0x5bc6a3['push']({'platform':_0x3b45c0,'component':_0x2e3a00[_0xe50d(0x11a)],'status':typeof _0x318ea5[_0x1134f9]===_0x2e3a00['goipK']?_0x2e3a00[_0xe50d(0x128)]:_0x2e3a00[_0xe50d(0x118)],'message':'Extractor\x20hook\x20'+_0x1134f9+_0xe50d(0x93)});}else{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x4cd033(0xf);_0x18dce9[_0xe50d(0xc)]({'platform':'sephora','component':_0xe50d(0x69),'status':_0x2e3a00['MxEYM'](typeof useSephoraDataExtractor,_0x2e3a00['goipK'])?_0x2e3a00[_0xe50d(0x128)]:_0x2e3a00[_0xe50d(0x118)],'message':_0xe50d(0x6d)});}}catch(_0x447a92){if(_0x2e3a00['Oycnm'](_0x2e3a00['wzNWs'],_0x2e3a00[_0xe50d(0x129)]))_0x5bc6a3[_0xe50d(0xc)]({'platform':_0x3b45c0,'component':'extractor','status':_0x2e3a00[_0xe50d(0x118)],'message':'Extractor\x20import\x20failed:\x20'+_0x447a92[_0xe50d(0x27)]});else{const {storeTelegramData:_0x183368}=_0x2e3a00['GGSGJ'](_0x512721,0xc);_0x51713f[_0xe50d(0xc)]({'platform':_0xe50d(0x9),'component':_0x2e3a00['FRiaj'],'status':_0x2e3a00[_0xe50d(0x11e)](typeof _0x183368,_0x2e3a00[_0xe50d(0x113)])?_0x2e3a00['ZWShg']:_0x2e3a00[_0xe50d(0x118)],'message':_0x2e3a00[_0xe50d(0x12a)]});}}}}else _0x5bc6a3[_0xe50d(0xc)]({'platform':_0x3b45c0,'component':_0x2e3a00[_0xe50d(0x12b)],'status':_0x2e3a00['VcTYc'],'message':_0xe50d(0x12c)+_0x20a6e4+_0xe50d(0x12d)});for(const _0xcdbaf5 of _0x5bc6a3){if(_0x2e3a00[_0xe50d(0x12e)](_0x2e3a00[_0xe50d(0x12f)],'jwHCf'))_0x4190a0[_0xe50d(0xc)]({'platform':_0xe50d(0x17),'component':_0xe50d(0x69),'status':_0x2e3a00[_0xe50d(0x118)],'message':_0xe50d(0x3f)+_0x500ab2[_0xe50d(0x27)]});else{const _0x158f43=_0xcdbaf5['status']===_0xe50d(0x2)?'✅':_0xcdbaf5[_0xe50d(0xa8)]===_0x2e3a00[_0xe50d(0x118)]?'❌':'⚠️';console[_0xe50d(0x99)](_0x158f43+'\x20'+_0xcdbaf5[_0xe50d(0xb3)]+':\x20'+_0xcdbaf5[_0xe50d(0x27)]);}}return _0x5bc6a3;};
|
|
28
|
+
import{API_CONFIG}from'../config/api';export const testWebViewScriptExports=()=>{const _0x2d5060={'ZxRmB':function(_0x416fde,_0x10db7c){return _0x416fde(_0x10db7c);},'tkKlI':_0x246f(0x0),'OFJUj':_0x246f(0x1),'XdMkF':'fail','XulCE':_0x246f(0x2),'PehwT':_0x246f(0x3),'HHdJl':_0x246f(0x4),'StlGH':function(_0x141b5b,_0x5adc45){return _0x141b5b(_0x5adc45);},'NaUwV':_0x246f(0x5),'ZAWSu':_0x246f(0x6),'EWsWr':_0x246f(0x7),'qIppy':_0x246f(0x8),'yLvKn':function(_0x58cdbf,_0x313bd7){return _0x58cdbf(_0x313bd7);},'PBtrd':_0x246f(0x9),'tmaqZ':_0x246f(0xa),'mQxPE':_0x246f(0xb),'Bwych':_0x246f(0xc),'GYTEY':_0x246f(0xd),'UTPyE':function(_0x413106,_0x21c91e){return _0x413106(_0x21c91e);},'cDhMF':_0x246f(0xe),'aZWbA':_0x246f(0xf),'pZqLo':function(_0x14c8ac,_0x4e6f9d){return _0x14c8ac&&_0x4e6f9d;},'RLfkT':_0x246f(0x10),'ambiQ':function(_0x2a9826,_0x5b6195){return _0x2a9826!==_0x5b6195;},'CLkMp':'MmcJd','YzNXg':'all'},_0x574b77=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x5b581a,CHATGPT_EXPORT_SCRIPT:_0x31d784}=_0x2d5060[_0x246f(0x11)](__ONAIROS_REQ_FUNC__,0x13);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x13)],'component':_0x2d5060['OFJUj'],'status':_0x31d784?'pass':_0x2d5060[_0x246f(0x14)],'message':_0x31d784?_0x2d5060['XulCE']:_0x2d5060[_0x246f(0x15)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x469739,CLAUDE_EXPORT_SCRIPT:_0x2dc3ec}=__ONAIROS_REQ_FUNC__(0x12);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x16)],'component':_0x2d5060[_0x246f(0x17)],'status':_0x2dc3ec?_0x246f(0x6):_0x2d5060[_0x246f(0x14)],'message':_0x2dc3ec?_0x246f(0x18):_0x246f(0x19)});const {HINGE_CONSENT_POPUP_SCRIPT:_0x89464b,HINGE_EXPORT_SCRIPT:_0x5c4aee}=_0x2d5060[_0x246f(0x1a)](__ONAIROS_REQ_FUNC__,0x11);_0x574b77[_0x246f(0x12)]({'platform':_0x246f(0x1b),'component':_0x2d5060[_0x246f(0x17)],'status':_0x5c4aee?_0x246f(0x6):_0x2d5060[_0x246f(0x14)],'message':_0x5c4aee?'Hinge\x20scripts\x20exported\x20correctly':_0x246f(0x1c)});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x25de87,INSTAGRAM_EXPORT_SCRIPT:_0x5b771d}=_0x2d5060['ZxRmB'](__ONAIROS_REQ_FUNC__,0x6);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x1d)],'component':_0x2d5060[_0x246f(0x17)],'status':_0x5b771d?_0x2d5060[_0x246f(0x1e)]:_0x246f(0x1f),'message':_0x5b771d?_0x2d5060[_0x246f(0x20)]:_0x2d5060[_0x246f(0x21)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x56d0dd,SEPHORA_EXPORT_SCRIPT:_0x317b56}=_0x2d5060[_0x246f(0x22)](__ONAIROS_REQ_FUNC__,0x5);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060['PBtrd'],'component':_0x2d5060['OFJUj'],'status':_0x317b56?_0x246f(0x6):_0x246f(0x1f),'message':_0x317b56?_0x2d5060[_0x246f(0x23)]:_0x2d5060['mQxPE']});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x146879,TELEGRAM_EXPORT_SCRIPT:_0x45ff53}=__ONAIROS_REQ_FUNC__(0x4);_0x574b77[_0x246f(0x12)]({'platform':_0x246f(0x24),'component':_0x2d5060[_0x246f(0x17)],'status':_0x45ff53?_0x2d5060['ZAWSu']:_0x2d5060[_0x246f(0x14)],'message':_0x45ff53?_0x2d5060[_0x246f(0x25)]:_0x2d5060[_0x246f(0x26)]});const {isWebViewExtractionPlatform:_0x243f3b,isHingePlatform:_0x3ddb08,isInstagramPlatform:_0x2f85fc,isSephoraPlatform:_0x5f107a,isTelegramPlatform:_0x2d297c}=_0x2d5060[_0x246f(0x27)](__ONAIROS_REQ_FUNC__,0x3);_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060[_0x246f(0x28)],'component':_0x2d5060['aZWbA'],'status':_0x2d5060['pZqLo'](_0x243f3b,_0x3ddb08)&&_0x2f85fc&&_0x5f107a&&_0x2d297c?'pass':_0x2d5060[_0x246f(0x14)],'message':_0x2d5060[_0x246f(0x29)]});}catch(_0x459d28){_0x2d5060['ambiQ'](_0x246f(0x2a),_0x2d5060[_0x246f(0x2b)])?_0x574b77[_0x246f(0x12)]({'platform':_0x2d5060['YzNXg'],'component':_0x2d5060[_0x246f(0x17)],'status':_0x246f(0x1f),'message':_0x246f(0x2c)+_0x459d28[_0x246f(0x2d)]}):_0x542764['log'](_0x246f(0x2e));}return _0x574b77;};function _0x246f(_0x5459f6,_0x246f20){_0x5459f6=_0x5459f6-0x0;const _0x165252=_0x5459();let _0x2ff9d3=_0x165252[_0x5459f6];return _0x2ff9d3;}export const testServiceImports=()=>{const _0x5f156f={'EHkHt':function(_0x441912,_0x37ac0a){return _0x441912+_0x37ac0a;},'BCJEj':function(_0x3e6d71,_0x9d359f){return _0x3e6d71===_0x9d359f;},'eHQef':_0x246f(0x2f),'MgbKB':'service','suKCC':_0x246f(0x1f),'ggNvJ':function(_0x1ed746,_0x351c84){return _0x1ed746(_0x351c84);},'qsmxL':'storeHingeData','UeAeM':_0x246f(0x30),'yBCnt':_0x246f(0x24),'mnYQK':_0x246f(0x31),'hbDou':'pass','XpIDc':'❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','hxxHv':'extractor','TiyhQ':_0x246f(0x32),'TzqFB':function(_0x3ae6ac,_0xf40c8a){return _0x3ae6ac(_0xf40c8a);},'dlUtH':'chatgpt','IVFyE':_0x246f(0x33),'uPxlq':function(_0x101856,_0x24ed93){return _0x101856(_0x24ed93);},'FqchO':_0x246f(0x34),'zHRaK':_0x246f(0x4),'mmFCc':function(_0x3f639a,_0x4b2ac8){return _0x3f639a!==_0x4b2ac8;},'gGvlC':_0x246f(0x35),'ufYGj':_0x246f(0x1b),'lmxWg':_0x246f(0x5),'osmZB':function(_0x54d93f,_0x4fe212){return _0x54d93f===_0x4fe212;},'VAKAa':_0x246f(0x36),'YzQYv':function(_0x144b25,_0x3c5240){return _0x144b25===_0x3c5240;},'wfpnv':'Sephora\x20service\x20function\x20available','FDSrY':_0x246f(0x37),'qzqZJ':function(_0x594e31,_0x2103f3){return _0x594e31!==_0x2103f3;},'BJAIL':_0x246f(0x38),'qPVNA':_0x246f(0x39)},_0x21efc0=[];try{if(_0x5f156f[_0x246f(0x3a)](_0x5f156f[_0x246f(0x3b)],_0x5f156f[_0x246f(0x3b)])){const {storeChatGPTConversations:_0x4b899b}=_0x5f156f[_0x246f(0x3c)](__ONAIROS_REQ_FUNC__,0x7);_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x3d)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x3a)](typeof _0x4b899b,_0x5f156f[_0x246f(0x3f)])?_0x5f156f[_0x246f(0x40)]:_0x5f156f['suKCC'],'message':_0x5f156f[_0x246f(0x41)]});}else{const _0x56ed38=_0x279125(0x15),_0x5b23a5=_0x246f(0x42)+_0x5f156f[_0x246f(0x43)](_0x23612b[_0x246f(0x44)](0x0)[_0x246f(0x45)](),_0x53fee8['slice'](0x1))+_0x246f(0x46);_0x4191e1[_0x246f(0x12)]({'platform':_0x1575e7,'component':_0x246f(0x47),'status':_0x5f156f[_0x246f(0x3a)](typeof _0x56ed38[_0x5b23a5],_0x5f156f[_0x246f(0x3f)])?_0x246f(0x6):_0x246f(0x1f),'message':_0x246f(0x48)+_0x5b23a5+_0x246f(0x49)});}}catch(_0x94d0f){_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x3d)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x246f(0x1f),'message':_0x246f(0x2c)+_0x94d0f[_0x246f(0x2d)]});}try{const {storeClaudeConversations:_0x3dd147}=_0x5f156f[_0x246f(0x4a)](__ONAIROS_REQ_FUNC__,0x8);_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x4),'component':_0x5f156f[_0x246f(0x3e)],'status':typeof _0x3dd147===_0x5f156f[_0x246f(0x3f)]?_0x5f156f[_0x246f(0x40)]:_0x5f156f[_0x246f(0x4b)],'message':_0x5f156f['FqchO']});}catch(_0x17ce43){'TDJwc'!==_0x246f(0x4c)?_0x288fea['push']({'platform':_0x3bc4d0,'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x4d)+_0x589833[_0x246f(0x2d)]}):_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x4e)],'component':_0x246f(0x4f),'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x17ce43['message']});}try{if(_0x5f156f[_0x246f(0x50)](_0x5f156f[_0x246f(0x51)],_0x5f156f[_0x246f(0x51)])){const _0x4305b9=_0x5f156f[_0x246f(0x52)](_0x23cb98,0x14),_0x447756=_0xb84087==='hinge'?_0x5f156f[_0x246f(0x53)]:_0x5f156f[_0x246f(0x3a)](_0x16b7df,_0x246f(0x5))?_0x5f156f[_0x246f(0x54)]:_0x29c8ec===_0x5f156f[_0x246f(0x55)]?_0x246f(0x56):_0x5f156f[_0x246f(0x57)];_0x2c8115[_0x246f(0x12)]({'platform':_0x21bcf1,'component':'service','status':_0x5f156f['BCJEj'](typeof _0x4305b9[_0x447756],_0x5f156f['eHQef'])?_0x5f156f[_0x246f(0x40)]:_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x58)+_0x447756+_0x246f(0x49)});}else{const {storeHingeData:_0x1eb96b}=__ONAIROS_REQ_FUNC__(0x9);_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x1b),'component':_0x5f156f['MgbKB'],'status':_0x5f156f[_0x246f(0x3a)](typeof _0x1eb96b,_0x5f156f[_0x246f(0x3f)])?_0x5f156f[_0x246f(0x40)]:_0x5f156f['suKCC'],'message':_0x246f(0x59)});}}catch(_0x309fc6){_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x5a)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x309fc6[_0x246f(0x2d)]});}try{if(_0x5f156f[_0x246f(0x50)](_0x246f(0x5b),'CEuWz')){const {storeInstagramData:_0x11625f}=__ONAIROS_REQ_FUNC__(0xa);_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x5c)],'component':_0x246f(0x4f),'status':_0x5f156f[_0x246f(0x5d)](typeof _0x11625f,'function')?_0x246f(0x6):_0x5f156f[_0x246f(0x4b)],'message':_0x5f156f[_0x246f(0x5e)]});}else _0x1e1382[_0x246f(0x5f)](_0x5f156f[_0x246f(0x60)]);}catch(_0x3c5ba8){_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x5c)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x3c5ba8['message']});}try{const {storeSephoraData:_0x19ede9}=_0x5f156f[_0x246f(0x4a)](__ONAIROS_REQ_FUNC__,0xb);_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x9),'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x61)](typeof _0x19ede9,_0x246f(0x2f))?_0x5f156f['hbDou']:_0x5f156f['suKCC'],'message':_0x5f156f[_0x246f(0x62)]});}catch(_0x193728){_0x21efc0[_0x246f(0x12)]({'platform':_0x246f(0x9),'component':_0x246f(0x4f),'status':_0x246f(0x1f),'message':'Import\x20error:\x20'+_0x193728[_0x246f(0x2d)]});}try{const {storeTelegramData:_0x222cda}=__ONAIROS_REQ_FUNC__(0xc);_0x21efc0[_0x246f(0x12)]({'platform':_0x5f156f[_0x246f(0x55)],'component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x3a)](typeof _0x222cda,_0x5f156f[_0x246f(0x3f)])?_0x5f156f[_0x246f(0x40)]:_0x5f156f[_0x246f(0x4b)],'message':_0x5f156f[_0x246f(0x63)]});}catch(_0x20d0f0){_0x5f156f[_0x246f(0x64)](_0x5f156f['BJAIL'],_0x5f156f['qPVNA'])?_0x21efc0[_0x246f(0x12)]({'platform':'telegram','component':_0x5f156f[_0x246f(0x3e)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x2c)+_0x20d0f0[_0x246f(0x2d)]}):_0x3ad919['push']({'platform':_0xd87d21,'component':_0x5f156f[_0x246f(0x65)],'status':_0x5f156f[_0x246f(0x4b)],'message':_0x246f(0x66)+_0x498843[_0x246f(0x2d)]});}return _0x21efc0;};export const testExtractorImports=()=>{const _0x5649f4={'CZuqn':function(_0x5177eb,_0x15816a){return _0x5177eb(_0x15816a);},'Qdcjd':'hinge','MhoCM':_0x246f(0x2f),'IHhix':_0x246f(0x6),'hYyqG':'fail','FCAVq':function(_0x4913d2,_0xfb1293){return _0x4913d2(_0xfb1293);},'DtAiw':function(_0x58ce93,_0x208fd8){return _0x58ce93(_0x208fd8);},'GLehL':_0x246f(0x67),'aSCyz':_0x246f(0x68),'egErb':_0x246f(0x5),'whXqB':'Instagram\x20detection\x20correct','DutVC':_0x246f(0x69),'qcCWM':function(_0x449035,_0x380563){return _0x449035(_0x380563);},'aeTbB':_0x246f(0x9),'cIceN':function(_0x3b337c,_0x4e305e){return _0x3b337c(_0x4e305e);},'edxax':function(_0x2d5404,_0x4e6a22){return _0x2d5404(_0x4e6a22);},'yyiqr':_0x246f(0x6a),'lVgRF':_0x246f(0x6b),'TinBN':function(_0x376e5d,_0x3cd0d3){return _0x376e5d(_0x3cd0d3);},'ZgPkm':'telegram','sVpkY':function(_0x33e2e2,_0x1273d7){return _0x33e2e2(_0x1273d7);},'LRTIl':function(_0x1a753b,_0x30afd8){return _0x1a753b(_0x30afd8);},'WWQvp':_0x246f(0x6c),'wXUYm':_0x246f(0x6d),'dlUfC':function(_0x1b313b,_0xc3726){return _0x1b313b(_0xc3726);},'eSsVm':_0x246f(0x47),'HdelF':function(_0x23db91,_0x22b8ac){return _0x23db91===_0x22b8ac;},'CnXvf':_0x246f(0x6e),'cBGwd':function(_0x172be5,_0x277e9c){return _0x172be5===_0x277e9c;},'BpfKw':_0x246f(0x6f),'aYbcu':function(_0x15922d,_0xf1ef25){return _0x15922d(_0xf1ef25);},'MvMkq':_0x246f(0x70),'kBmuJ':function(_0x378558,_0x2636e2){return _0x378558(_0x2636e2);},'KHKRz':function(_0x436013,_0x475629){return _0x436013===_0x475629;},'blWEt':_0x246f(0x71),'mQmWS':function(_0xd4baf4,_0x532f94){return _0xd4baf4===_0x532f94;},'pIfWi':function(_0x3210c3,_0x1054c5){return _0x3210c3===_0x1054c5;},'KjDNu':'Telegram\x20extractor\x20hook\x20available'},_0xa557cd=[];try{const {useHingeDataExtractor:useHingeDataExtractor}=_0x5649f4['dlUfC'](__ONAIROS_REQ_FUNC__,0xd);_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4['Qdcjd'],'component':_0x5649f4[_0x246f(0x72)],'status':_0x5649f4[_0x246f(0x73)](typeof useHingeDataExtractor,_0x5649f4['MhoCM'])?'pass':_0x246f(0x1f),'message':_0x5649f4[_0x246f(0x74)]});}catch(_0x5bfe71){if(_0x5649f4[_0x246f(0x75)](_0x5649f4[_0x246f(0x76)],_0x246f(0x6f)))_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4[_0x246f(0x77)],'component':_0x5649f4['eSsVm'],'status':_0x5649f4['hYyqG'],'message':_0x246f(0x2c)+_0x5bfe71[_0x246f(0x2d)]});else{const {storeHingeData:_0x1b4e46}=_0x5649f4['CZuqn'](_0xad2a54,0x9);_0x53852d[_0x246f(0x12)]({'platform':_0x5649f4['Qdcjd'],'component':_0x246f(0x4f),'status':typeof _0x1b4e46===_0x5649f4[_0x246f(0x78)]?_0x5649f4[_0x246f(0x79)]:_0x5649f4['hYyqG'],'message':_0x246f(0x59)});}}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x5649f4[_0x246f(0x7a)](__ONAIROS_REQ_FUNC__,0xe);_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4['egErb'],'component':_0x5649f4[_0x246f(0x72)],'status':typeof useInstagramDataExtractor===_0x5649f4[_0x246f(0x78)]?_0x5649f4[_0x246f(0x79)]:_0x246f(0x1f),'message':_0x5649f4[_0x246f(0x7b)]});}catch(_0x3acbd8){_0xa557cd['push']({'platform':_0x5649f4[_0x246f(0x7c)],'component':_0x5649f4['eSsVm'],'status':_0x5649f4[_0x246f(0x7d)],'message':_0x246f(0x2c)+_0x3acbd8[_0x246f(0x2d)]});}try{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x5649f4[_0x246f(0x7e)](__ONAIROS_REQ_FUNC__,0xf);_0xa557cd[_0x246f(0x12)]({'platform':_0x5649f4[_0x246f(0x7f)],'component':_0x5649f4[_0x246f(0x72)],'status':_0x5649f4[_0x246f(0x80)](typeof useSephoraDataExtractor,_0x5649f4[_0x246f(0x78)])?_0x5649f4[_0x246f(0x79)]:_0x5649f4[_0x246f(0x7d)],'message':_0x5649f4[_0x246f(0x81)]});}catch(_0xd827b0){if(_0x5649f4[_0x246f(0x82)](_0x246f(0x83),_0x246f(0x84))){const {isWebViewExtractionPlatform:_0x578975,isHingePlatform:_0x36b0d8,isInstagramPlatform:_0x5f1475,isSephoraPlatform:_0x79510d,isLLMPlatform:_0x399a8}=_0x5649f4[_0x246f(0x85)](_0x4d4d54,0x2),_0x4b5381=_0x5649f4['FCAVq'](_0x36b0d8,_0x5649f4[_0x246f(0x77)])&&_0x5649f4[_0x246f(0x86)](_0x578975,_0x5649f4[_0x246f(0x77)])&&!_0x399a8(_0x5649f4['Qdcjd']);_0x1b7f67[_0x246f(0x12)]({'platform':_0x5649f4[_0x246f(0x77)],'component':_0x5649f4['GLehL'],'status':_0x4b5381?_0x5649f4[_0x246f(0x79)]:_0x5649f4['hYyqG'],'message':_0x4b5381?_0x5649f4['aSCyz']:_0x246f(0x87)});const _0x1f5b4a=_0x5649f4['FCAVq'](_0x5f1475,_0x5649f4[_0x246f(0x7c)])&&_0x578975('instagram')&&!_0x5649f4[_0x246f(0x88)](_0x399a8,_0x5649f4['egErb']);_0x27c650['push']({'platform':_0x5649f4[_0x246f(0x7c)],'component':'detection','status':_0x1f5b4a?_0x5649f4[_0x246f(0x79)]:_0x246f(0x1f),'message':_0x1f5b4a?_0x5649f4[_0x246f(0x89)]:_0x5649f4['DutVC']});const _0x1f3c13=_0x5649f4[_0x246f(0x8a)](_0x79510d,_0x5649f4[_0x246f(0x7f)])&&_0x5649f4['cIceN'](_0x578975,_0x5649f4[_0x246f(0x7f)])&&!_0x5649f4[_0x246f(0x8b)](_0x399a8,_0x5649f4['aeTbB']);_0x43a897['push']({'platform':_0x5649f4[_0x246f(0x7f)],'component':_0x5649f4[_0x246f(0x8c)],'status':_0x1f3c13?_0x5649f4[_0x246f(0x79)]:'fail','message':_0x1f3c13?_0x5649f4[_0x246f(0x8d)]:_0x5649f4[_0x246f(0x8e)]});const {isTelegramPlatform:_0x528f92}=_0x5649f4[_0x246f(0x8f)](_0x40be63,0x1),_0x10c0de=_0x5649f4[_0x246f(0x86)](_0x528f92,_0x5649f4[_0x246f(0x90)])&&_0x5649f4['sVpkY'](_0x578975,_0x5649f4['ZgPkm'])&&!_0x5649f4[_0x246f(0x91)](_0x399a8,_0x5649f4['ZgPkm']);_0x307897['push']({'platform':_0x5649f4[_0x246f(0x90)],'component':'detection','status':_0x10c0de?_0x5649f4[_0x246f(0x79)]:_0x246f(0x1f),'message':_0x10c0de?_0x5649f4['WWQvp']:_0x5649f4['wXUYm']});}else _0xa557cd[_0x246f(0x12)]({'platform':_0x246f(0x9),'component':_0x5649f4['eSsVm'],'status':_0x5649f4[_0x246f(0x7d)],'message':_0x246f(0x2c)+_0xd827b0[_0x246f(0x2d)]});}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=__ONAIROS_REQ_FUNC__(0x10);_0xa557cd[_0x246f(0x12)]({'platform':_0x246f(0x24),'component':_0x246f(0x47),'status':_0x5649f4['pIfWi'](typeof useTelegramDataExtractor,'function')?_0x5649f4['IHhix']:_0x246f(0x1f),'message':_0x5649f4[_0x246f(0x92)]});}catch(_0x12faea){_0xa557cd['push']({'platform':_0x5649f4['ZgPkm'],'component':_0x5649f4[_0x246f(0x72)],'status':_0x246f(0x1f),'message':_0x246f(0x2c)+_0x12faea[_0x246f(0x2d)]});}return _0xa557cd;};export const testBackendConnectivity=async()=>{const _0x36f0a1={'wQqfz':'⚠️\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','hhOhm':function(_0x3029f3,_0x5789ed,_0x5d9bb2){return _0x3029f3(_0x5789ed,_0x5d9bb2);},'LzvBm':function(_0x2bf65b,_0x1738e1){return _0x2bf65b(_0x1738e1);},'qVlCK':_0x246f(0x93),'ATlzB':_0x246f(0x94),'LPCXW':'pass','JkTXa':_0x246f(0x95),'HZInL':_0x246f(0x96),'CcsUE':function(_0x20d638,_0x574f3d){return _0x20d638!==_0x574f3d;},'jEMPJ':_0x246f(0x97),'pplHh':function(_0x5209de,_0x20435e,_0x452577){return _0x5209de(_0x20435e,_0x452577);},'rtWPB':'OPTIONS','wMcVX':'platform_data_endpoint','JLZQq':function(_0x420b15,_0x161c82){return _0x420b15<_0x161c82;}},_0x2da552=[];try{const _0x4d8e48=new AbortController(),_0x4ab6a3=setTimeout(()=>_0x4d8e48[_0x246f(0x98)](),0x2710),_0x5b96e5=await _0x36f0a1[_0x246f(0x99)](fetch,API_CONFIG[_0x246f(0x9a)]+'/health',{'method':'GET','signal':_0x4d8e48[_0x246f(0x9b)]});_0x36f0a1[_0x246f(0x9c)](clearTimeout,_0x4ab6a3),_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1[_0x246f(0x9e)],'status':_0x5b96e5['ok']?_0x36f0a1[_0x246f(0x9f)]:_0x36f0a1[_0x246f(0xa0)],'message':_0x5b96e5['ok']?_0x36f0a1['HZInL']:_0x246f(0xa1)+_0x5b96e5[_0x246f(0xa2)],'details':{'status':_0x5b96e5[_0x246f(0xa2)]}});}catch(_0x959c5e){_0x36f0a1[_0x246f(0xa3)](_0x36f0a1[_0x246f(0xa4)],_0x246f(0x97))?_0x305a3e[_0x246f(0x5f)](_0x36f0a1['wQqfz']):_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1['ATlzB'],'status':_0x246f(0x1f),'message':_0x246f(0xa5)+_0x959c5e[_0x246f(0x2d)]});}try{const _0x2cecd9=new AbortController(),_0xe77760=_0x36f0a1[_0x246f(0xa6)](setTimeout,()=>_0x2cecd9[_0x246f(0x98)](),0x2710),_0x5cf57c=await fetch(API_CONFIG[_0x246f(0x9a)]+_0x246f(0xa7),{'method':_0x36f0a1[_0x246f(0xa8)],'signal':_0x2cecd9[_0x246f(0x9b)]});_0x36f0a1[_0x246f(0x9c)](clearTimeout,_0xe77760),_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1['wMcVX'],'status':_0x36f0a1[_0x246f(0xa9)](_0x5cf57c[_0x246f(0xa2)],0x1f4)?_0x36f0a1[_0x246f(0x9f)]:_0x36f0a1['JkTXa'],'message':_0x246f(0xaa)+_0x5cf57c[_0x246f(0xa2)],'details':{'status':_0x5cf57c['status']}});}catch(_0x34583c){_0x2da552[_0x246f(0x12)]({'platform':_0x36f0a1[_0x246f(0x9d)],'component':_0x36f0a1[_0x246f(0xab)],'status':_0x36f0a1[_0x246f(0xa0)],'message':_0x246f(0xac)+_0x34583c[_0x246f(0x2d)]});}return _0x2da552;};export const testPlatformDetection=()=>{const _0x39d454={'OhKRO':function(_0x5c4103,_0x3a8099){return _0x5c4103(_0x3a8099);},'NLYKC':function(_0x417632,_0x421e08){return _0x417632(_0x421e08);},'muqdP':_0x246f(0x1b),'WfANj':function(_0x20b63d,_0x2c5765){return _0x20b63d(_0x2c5765);},'LhwrW':function(_0x2beed3,_0x2ce500){return _0x2beed3(_0x2ce500);},'ZEzMw':_0x246f(0x67),'ZEuqE':_0x246f(0x6),'LuRSS':_0x246f(0x1f),'Idhxc':_0x246f(0x68),'JiTCO':_0x246f(0x87),'rXSpY':function(_0x222e4e,_0x3be8d9){return _0x222e4e(_0x3be8d9);},'oRFRU':_0x246f(0x5),'yVurW':function(_0x422e38,_0x346a14){return _0x422e38(_0x346a14);},'pOLZs':_0x246f(0xad),'ZvkgS':function(_0x2a4d3f,_0x5c4b6b){return _0x2a4d3f(_0x5c4b6b);},'vsCCu':function(_0x169e69,_0x41be15){return _0x169e69(_0x41be15);},'mVLXi':_0x246f(0x9),'PjpEr':_0x246f(0x6b),'IOTvc':function(_0x7ab189,_0x28999b){return _0x7ab189(_0x28999b);},'mEhNj':function(_0x53ec42,_0x36d2c5){return _0x53ec42(_0x36d2c5);},'swlEa':_0x246f(0x24),'sccyV':_0x246f(0x6c),'StWZi':_0x246f(0x6d)},_0x47f1ff=[];try{const {isWebViewExtractionPlatform:_0x3681dc,isHingePlatform:_0x8c27cd,isInstagramPlatform:_0x254a6c,isSephoraPlatform:_0x53b2c2,isLLMPlatform:_0x20ade4}=_0x39d454[_0x246f(0xae)](__ONAIROS_REQ_FUNC__,0x2),_0x59a775=_0x39d454[_0x246f(0xaf)](_0x8c27cd,_0x39d454[_0x246f(0xb0)])&&_0x39d454[_0x246f(0xb1)](_0x3681dc,_0x39d454['muqdP'])&&!_0x39d454[_0x246f(0xb2)](_0x20ade4,_0x246f(0x1b));_0x47f1ff['push']({'platform':_0x246f(0x1b),'component':_0x39d454['ZEzMw'],'status':_0x59a775?_0x39d454['ZEuqE']:_0x39d454[_0x246f(0xb3)],'message':_0x59a775?_0x39d454['Idhxc']:_0x39d454['JiTCO']});const _0x8d05d1=_0x39d454[_0x246f(0xb4)](_0x254a6c,_0x39d454[_0x246f(0xb5)])&&_0x3681dc(_0x39d454[_0x246f(0xb5)])&&!_0x39d454['yVurW'](_0x20ade4,_0x39d454[_0x246f(0xb5)]);_0x47f1ff['push']({'platform':_0x39d454[_0x246f(0xb5)],'component':_0x39d454[_0x246f(0xb6)],'status':_0x8d05d1?_0x246f(0x6):_0x39d454[_0x246f(0xb3)],'message':_0x8d05d1?_0x39d454[_0x246f(0xb7)]:_0x246f(0x69)});const _0x5b179d=_0x53b2c2('sephora')&&_0x39d454['ZvkgS'](_0x3681dc,'sephora')&&!_0x39d454['vsCCu'](_0x20ade4,_0x39d454[_0x246f(0xb8)]);_0x47f1ff[_0x246f(0x12)]({'platform':_0x39d454[_0x246f(0xb8)],'component':_0x246f(0x67),'status':_0x5b179d?_0x39d454['ZEuqE']:_0x39d454['LuRSS'],'message':_0x5b179d?_0x246f(0x6a):_0x39d454['PjpEr']});const {isTelegramPlatform:_0x12a711}=_0x39d454[_0x246f(0xb9)](__ONAIROS_REQ_FUNC__,0x1),_0x305325=_0x39d454['WfANj'](_0x12a711,_0x246f(0x24))&&_0x39d454[_0x246f(0xba)](_0x3681dc,_0x246f(0x24))&&!_0x39d454[_0x246f(0xbb)](_0x20ade4,_0x39d454[_0x246f(0xbc)]);_0x47f1ff[_0x246f(0x12)]({'platform':_0x39d454[_0x246f(0xbc)],'component':_0x246f(0x67),'status':_0x305325?_0x39d454[_0x246f(0xbd)]:_0x39d454[_0x246f(0xb3)],'message':_0x305325?_0x39d454[_0x246f(0xbe)]:_0x39d454[_0x246f(0xbf)]});}catch(_0x566b01){_0x47f1ff[_0x246f(0x12)]({'platform':_0x246f(0xc0),'component':_0x39d454[_0x246f(0xb6)],'status':_0x246f(0x1f),'message':_0x246f(0xc1)+_0x566b01[_0x246f(0x2d)]});}return _0x47f1ff;};export const runConnectorSanityTests=async()=>{const _0x1ba8a4={'lBsSf':_0x246f(0x0),'etMkh':_0x246f(0x4f),'jRaEy':function(_0x12c75d,_0x38c8b5){return _0x12c75d===_0x38c8b5;},'loKuG':_0x246f(0x2f),'FIUUQ':'fail','LwtAd':_0x246f(0xc2),'svNhG':function(_0xfdda39){return _0xfdda39();},'PzVDi':_0x246f(0xc3),'xZVxt':function(_0x12c4b2){return _0x12c4b2();},'YVxId':_0x246f(0xc4),'memsn':_0x246f(0xc5),'zTxMq':_0x246f(0xc6),'roQBK':function(_0x4bdf4d,_0x5aef30){return _0x4bdf4d===_0x5aef30;},'asoYb':_0x246f(0xc7),'ZfVdx':_0x246f(0x6),'mNsfA':'\x0a========================================','cFsdt':function(_0x2d2349,_0x4c22e2){return _0x2d2349>_0x4c22e2;},'kGpPK':_0x246f(0xc8),'LRAJl':function(_0x19ed31,_0x25c21a){return _0x19ed31>_0x25c21a;},'rZxQW':'⚠️\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','cJJVX':_0x246f(0x2e)};console[_0x246f(0x5f)](_0x246f(0xc9));const _0x5ddead=[];console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xca)]),_0x5ddead[_0x246f(0x12)](..._0x1ba8a4[_0x246f(0xcb)](testWebViewScriptExports)),console['log'](_0x1ba8a4[_0x246f(0xcc)]),_0x5ddead['push'](..._0x1ba8a4[_0x246f(0xcb)](testServiceImports)),console['log'](_0x246f(0xcd)),_0x5ddead[_0x246f(0x12)](..._0x1ba8a4[_0x246f(0xce)](testExtractorImports)),console['log'](_0x1ba8a4[_0x246f(0xcf)]),_0x5ddead[_0x246f(0x12)](..._0x1ba8a4[_0x246f(0xce)](testPlatformDetection)),console['log'](_0x1ba8a4[_0x246f(0xd0)]),_0x5ddead[_0x246f(0x12)](...await _0x1ba8a4[_0x246f(0xce)](testBackendConnectivity));const _0x1f0927=_0x5ddead[_0x246f(0xd1)](_0x268d67=>_0x268d67[_0x246f(0xa2)]===_0x246f(0x6))[_0x246f(0xd2)],_0xb2ec17=_0x5ddead[_0x246f(0xd1)](_0x4d0458=>_0x4d0458['status']===_0x246f(0x1f))[_0x246f(0xd2)],_0x549623=_0x5ddead[_0x246f(0xd1)](_0x2d51a9=>_0x2d51a9['status']===_0x246f(0x95))['length'];console[_0x246f(0x5f)]('\x0a========================================'),console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xd3)]),console[_0x246f(0x5f)]('========================================\x0a');for(const _0x7573f0 of _0x5ddead){if(_0x1ba8a4[_0x246f(0xd4)](_0x1ba8a4[_0x246f(0xd5)],_0x1ba8a4[_0x246f(0xd5)])){const _0x3567f1=_0x7573f0[_0x246f(0xa2)]===_0x1ba8a4[_0x246f(0xd6)]?'✅':_0x1ba8a4['jRaEy'](_0x7573f0[_0x246f(0xa2)],_0x1ba8a4['FIUUQ'])?'❌':'⚠️';console[_0x246f(0x5f)](_0x3567f1+'\x20['+_0x7573f0[_0x246f(0xd7)][_0x246f(0x45)]()+']\x20'+_0x7573f0[_0x246f(0xd8)]+':\x20'+_0x7573f0[_0x246f(0x2d)]);}else{const {storeChatGPTConversations:_0x5eb66f}=_0x106ac5(0x7);_0x21338c[_0x246f(0x12)]({'platform':_0x1ba8a4[_0x246f(0xd9)],'component':_0x1ba8a4[_0x246f(0xda)],'status':_0x1ba8a4['jRaEy'](typeof _0x5eb66f,_0x1ba8a4[_0x246f(0xdb)])?'pass':_0x1ba8a4[_0x246f(0xdc)],'message':_0x246f(0x33)});}}console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xdd)]),console[_0x246f(0x5f)](_0x246f(0xde)+_0x1f0927+'\x20passed,\x20'+_0xb2ec17+_0x246f(0xdf)+_0x549623+_0x246f(0xe0)),console['log'](_0x246f(0xe1));if(_0x1ba8a4['cFsdt'](_0xb2ec17,0x0))console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xe2)]);else _0x1ba8a4[_0x246f(0xe3)](_0x549623,0x0)?console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xe4)]):console[_0x246f(0x5f)](_0x1ba8a4[_0x246f(0xe5)]);return{'passed':_0x1f0927,'failed':_0xb2ec17,'warnings':_0x549623,'results':_0x5ddead};};export const testPlatformConnector=async _0x41e37e=>{const _0x30f13a={'KFytu':_0x246f(0x1f),'tKKLf':_0x246f(0x24),'UfGWP':'service','pnYsJ':function(_0x4307cf,_0x345993){return _0x4307cf(_0x345993);},'xeRAR':_0x246f(0x2f),'Urfbb':_0x246f(0x6),'OwvoI':_0x246f(0xe6),'BmMTv':function(_0x4db8f2,_0x54fcac){return _0x4db8f2(_0x54fcac);},'VZYgO':_0x246f(0xe7),'OkAcI':'Export\x20script\x20available','uzSwB':_0x246f(0xe8),'WNswB':function(_0x5d44d0,_0x1d51a3){return _0x5d44d0!==_0x1d51a3;},'zWdcM':'hZmmz','vkcJM':function(_0x22ffb3,_0x2ba625){return _0x22ffb3===_0x2ba625;},'enwij':_0x246f(0x1b),'RZXyv':'instagram','wyJHs':'storeInstagramData','QeCnF':_0x246f(0x56),'DVTYr':_0x246f(0x31),'PXOJP':function(_0x26e248,_0x8b3abc){return _0x26e248===_0x8b3abc;},'HTqkC':'lRkCR','bnJqs':_0x246f(0xe9),'XpJut':function(_0x84a099,_0x1635fd){return _0x84a099+_0x1635fd;},'xMLji':_0x246f(0x47),'TKLBn':_0x246f(0xea),'PLIrR':_0x246f(0x95)};console[_0x246f(0x5f)]('🧪\x20Testing\x20'+_0x41e37e+_0x246f(0xeb));const _0x5f2b49=[],_0x5dea63=_0x41e37e['toLowerCase']();if(['hinge',_0x246f(0x5),_0x246f(0x9),_0x30f13a[_0x246f(0xec)]][_0x246f(0xed)](_0x5dea63)){try{const _0x35e28c=_0x30f13a[_0x246f(0xee)](__ONAIROS_REQ_FUNC__,0x0),_0x2f831d=_0x5dea63[_0x246f(0x45)]()+_0x246f(0xef),_0x1ef561=!!_0x35e28c[_0x2f831d];_0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a[_0x246f(0xf0)],'status':_0x1ef561?_0x246f(0x6):_0x30f13a[_0x246f(0xf1)],'message':_0x1ef561?_0x30f13a[_0x246f(0xf2)]:_0x30f13a[_0x246f(0xf3)]});}catch(_0x4d0960){_0x30f13a[_0x246f(0xf4)](_0x30f13a[_0x246f(0xf5)],_0x30f13a[_0x246f(0xf5)])?_0x4dfd6c[_0x246f(0x12)]({'platform':_0x410141,'component':'webview_script','status':_0x30f13a[_0x246f(0xf1)],'message':_0x246f(0xf6)+_0x3f797c[_0x246f(0x2d)]}):_0x5f2b49[_0x246f(0x12)]({'platform':_0x5dea63,'component':_0x30f13a['VZYgO'],'status':_0x30f13a[_0x246f(0xf1)],'message':'Script\x20import\x20failed:\x20'+_0x4d0960[_0x246f(0x2d)]});}try{const _0x30ec95=_0x30f13a['pnYsJ'](__ONAIROS_REQ_FUNC__,0x14),_0xfc5313=_0x30f13a[_0x246f(0xf7)](_0x5dea63,_0x30f13a[_0x246f(0xf8)])?_0x246f(0xf9):_0x30f13a[_0x246f(0xf7)](_0x5dea63,_0x30f13a[_0x246f(0xfa)])?_0x30f13a[_0x246f(0xfb)]:_0x30f13a['vkcJM'](_0x5dea63,_0x30f13a[_0x246f(0xec)])?_0x30f13a[_0x246f(0xfc)]:_0x30f13a[_0x246f(0xfd)];_0x5f2b49[_0x246f(0x12)]({'platform':_0x5dea63,'component':_0x30f13a[_0x246f(0xfe)],'status':_0x30f13a[_0x246f(0xff)](typeof _0x30ec95[_0xfc5313],'function')?'pass':_0x30f13a['KFytu'],'message':'Service\x20function\x20'+_0xfc5313+_0x246f(0x49)});}catch(_0x463a45){_0x30f13a[_0x246f(0xf4)](_0x30f13a[_0x246f(0x100)],_0x246f(0x101))?_0x5f2b49[_0x246f(0x12)]({'platform':_0x5dea63,'component':_0x246f(0x4f),'status':_0x30f13a[_0x246f(0xf1)],'message':'Service\x20import\x20failed:\x20'+_0x463a45[_0x246f(0x2d)]}):_0x18d7a0[_0x246f(0x12)]({'platform':_0x30f13a['tKKLf'],'component':_0x30f13a[_0x246f(0xfe)],'status':_0x246f(0x1f),'message':'Import\x20error:\x20'+_0x6d1d8a[_0x246f(0x2d)]});}try{if(_0x246f(0x102)===_0x30f13a['bnJqs']){const {storeSephoraData:_0x52fafa}=_0x30f13a[_0x246f(0x103)](_0xdfdbd4,0xb);_0x5d84ec['push']({'platform':'sephora','component':_0x30f13a['UfGWP'],'status':typeof _0x52fafa===_0x30f13a[_0x246f(0x104)]?_0x30f13a[_0x246f(0x105)]:_0x30f13a[_0x246f(0xf1)],'message':_0x30f13a[_0x246f(0x106)]});}else{const _0x3a1d2d=_0x30f13a[_0x246f(0xee)](__ONAIROS_REQ_FUNC__,0x15),_0x4d4475=_0x246f(0x42)+_0x30f13a[_0x246f(0x107)](_0x5dea63['charAt'](0x0)['toUpperCase'](),_0x5dea63['slice'](0x1))+_0x246f(0x46);_0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a['xMLji'],'status':typeof _0x3a1d2d[_0x4d4475]===_0x30f13a[_0x246f(0x104)]?_0x30f13a[_0x246f(0x105)]:_0x246f(0x1f),'message':_0x246f(0x48)+_0x4d4475+_0x246f(0x49)});}}catch(_0x3d8f49){_0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a[_0x246f(0x108)],'status':_0x30f13a[_0x246f(0xf1)],'message':_0x246f(0x66)+_0x3d8f49['message']});}}else _0x5f2b49['push']({'platform':_0x5dea63,'component':_0x30f13a['TKLBn'],'status':_0x30f13a[_0x246f(0x109)],'message':'Unknown\x20platform:\x20'+_0x41e37e+_0x246f(0x10a)});for(const _0x32c0a7 of _0x5f2b49){const _0x3bce2d=_0x30f13a[_0x246f(0xff)](_0x32c0a7[_0x246f(0xa2)],_0x30f13a[_0x246f(0x105)])?'✅':_0x30f13a[_0x246f(0xff)](_0x32c0a7[_0x246f(0xa2)],_0x30f13a[_0x246f(0xf1)])?'❌':'⚠️';console[_0x246f(0x5f)](_0x3bce2d+'\x20'+_0x32c0a7[_0x246f(0xd8)]+':\x20'+_0x32c0a7[_0x246f(0x2d)]);}return _0x5f2b49;};function _0x5459(){const _0x11f364=['chatgpt','webview_scripts','ChatGPT\x20scripts\x20exported\x20correctly','ChatGPT\x20scripts\x20missing','claude','instagram','pass','Instagram\x20scripts\x20exported\x20correctly','Instagram\x20scripts\x20missing','sephora','Sephora\x20scripts\x20exported\x20correctly','Sephora\x20scripts\x20missing','Telegram\x20scripts\x20exported\x20correctly','Telegram\x20scripts\x20missing','utilities','platform_detection','Platform\x20detection\x20functions\x20available','ZxRmB','push','tkKlI','XdMkF','PehwT','HHdJl','OFJUj','Claude\x20scripts\x20exported\x20correctly','Claude\x20scripts\x20missing','StlGH','hinge','Hinge\x20scripts\x20missing','NaUwV','ZAWSu','fail','EWsWr','qIppy','yLvKn','tmaqZ','telegram','Bwych','GYTEY','UTPyE','cDhMF','RLfkT','XDaIb','CLkMp','Import\x20error:\x20','message','✅\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','function','storeInstagramData','storeSephoraData','ndGSo','ChatGPT\x20service\x20function\x20available','Claude\x20service\x20function\x20available','oVVZq','Instagram\x20service\x20function\x20available','Telegram\x20service\x20function\x20available','HGQJH','KiDik','BCJEj','TiyhQ','TzqFB','dlUtH','MgbKB','eHQef','hbDou','IVFyE','use','EHkHt','charAt','toUpperCase','DataExtractor','extractor','Extractor\x20hook\x20','\x20available','uPxlq','suKCC','TDJwc','Service\x20import\x20failed:\x20','zHRaK','service','mmFCc','gGvlC','ggNvJ','qsmxL','UeAeM','yBCnt','storeTelegramData','mnYQK','Service\x20function\x20','Hinge\x20service\x20function\x20available','ufYGj','MzbYk','lmxWg','osmZB','VAKAa','log','XpIDc','YzQYv','wfpnv','FDSrY','qzqZJ','hxxHv','Extractor\x20import\x20failed:\x20','detection','Hinge\x20detection\x20correct','Instagram\x20detection\x20failed','Sephora\x20detection\x20correct','Sephora\x20detection\x20failed','Telegram\x20detection\x20correct','Telegram\x20detection\x20failed','Hinge\x20extractor\x20hook\x20available','bCKZc','Instagram\x20extractor\x20hook\x20available','Sephora\x20extractor\x20hook\x20available','eSsVm','HdelF','CnXvf','cBGwd','BpfKw','Qdcjd','MhoCM','IHhix','aYbcu','MvMkq','egErb','hYyqG','kBmuJ','aeTbB','KHKRz','blWEt','mQmWS','FWgnF','yrPpz','FCAVq','DtAiw','Hinge\x20detection\x20failed','CZuqn','whXqB','qcCWM','edxax','GLehL','yyiqr','lVgRF','TinBN','ZgPkm','LRTIl','KjDNu','backend','health','warning','Backend\x20health\x20check\x20passed','NUYeS','abort','hhOhm','BASE_URL','signal','LzvBm','qVlCK','ATlzB','LPCXW','JkTXa','Backend\x20returned\x20status\x20','status','CcsUE','jEMPJ','Backend\x20unreachable:\x20','pplHh','/platform-data/store','rtWPB','JLZQq','Platform\x20data\x20endpoint\x20check:\x20','wMcVX','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','Instagram\x20detection\x20correct','OhKRO','NLYKC','muqdP','WfANj','LhwrW','LuRSS','rXSpY','oRFRU','ZEzMw','pOLZs','mVLXi','IOTvc','mEhNj','ZvkgS','swlEa','ZEuqE','sccyV','StWZi','all','Detection\x20test\x20error:\x20','📋\x20Testing\x20WebView\x20script\x20exports...','📋\x20Testing\x20service\x20imports...','📋\x20Testing\x20platform\x20detection...','📋\x20Testing\x20backend\x20connectivity...','🧪\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','gtCUm','❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','🧪\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','LwtAd','svNhG','PzVDi','📋\x20Testing\x20extractor\x20imports...','xZVxt','YVxId','memsn','filter','length','zTxMq','roQBK','asoYb','ZfVdx','platform','component','lBsSf','etMkh','loKuG','FIUUQ','mNsfA','📊\x20Summary:\x20','\x20failed,\x20','\x20warnings','========================================\x0a','kGpPK','LRAJl','rZxQW','cJJVX','Sephora\x20service\x20function\x20available','webview_script','Export\x20script\x20missing','xpatU','validation','\x20connector...\x0a','tKKLf','includes','BmMTv','_EXPORT_SCRIPT','VZYgO','KFytu','OkAcI','uzSwB','WNswB','zWdcM','Script\x20import\x20failed:\x20','vkcJM','enwij','storeHingeData','RZXyv','wyJHs','QeCnF','DVTYr','UfGWP','PXOJP','HTqkC','DmfRI','nReEP','pnYsJ','xeRAR','Urfbb','OwvoI','XpJut','xMLji','PLIrR','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.'];_0x5459=function(){return _0x11f364;};return _0x5459();}
|