@onairos/react-native 3.6.2 → 3.6.4
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
|
@@ -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
|
+
function _0x50f9(_0x3e0707,_0x50f91a){_0x3e0707=_0x3e0707-0x0;const _0x21c049=_0x3e07();let _0x20c86f=_0x21c049[_0x3e0707];return _0x20c86f;}import{API_CONFIG}from'../config/api';function _0x3e07(){const _0x5d682c=['chatgpt','webview_scripts','fail','claude','pass','instagram','Instagram\x20scripts\x20exported\x20correctly','Instagram\x20scripts\x20missing','sephora','Sephora\x20scripts\x20missing','telegram','kCojy','push','laqAQ','tHGvs','ChatGPT\x20scripts\x20exported\x20correctly','Ksguz','Claude\x20scripts\x20exported\x20correctly','jjQCC','hinge','zgwVe','sbDDC','Hinge\x20scripts\x20exported\x20correctly','eFlIh','PtcVu','ILsbU','IzEmG','xNxYL','MoJKD','JBnTe','HUoaU','bTlxB','Telegram\x20scripts\x20missing','knQNd','rWftd','all','Import\x20error:\x20','extractor','function','Telegram\x20extractor\x20hook\x20available','ChatGPT\x20scripts\x20missing','Telegram\x20scripts\x20exported\x20correctly','utilities','platform_detection','Platform\x20detection\x20functions\x20available','Hinge\x20service\x20function\x20available','Telegram\x20service\x20function\x20available','storeInstagramData','storeTelegramData','storeSephoraData','ChatGPT\x20service\x20function\x20available','WaOAD','WRxFk','AxZcM','qQUTg','Instagram\x20service\x20function\x20available','fIrXR','YYkyl','AGUyL','VEyWs','PuBqo','LXzrm','vzqum','PalZl','GUPBo','kjRtn','HmYdw','UtfzY','VjlOE','ZQsEL','Yljyh','aMLoR','oFQsD','RCKSY','message','AfTxY','YJTLg','jZteK','dbCFr','Claude\x20service\x20function\x20available','WlGGN','TMKpA','use','qfqef','charAt','DataExtractor','mEKEK','Extractor\x20hook\x20','\x20available','baGUO','KtLOv','AFKvO','QmZiv','SSKVU','bQKSN','yToKR','opqZr','pKOAY','tUfMO','xqBIu','VluBF','pJuTZ','ZWyRv','JsKzh','nrUYn','ounnh','aZMqF','Qtsid','EalJD','HakwR','mZKnq','NUbAW','UIjtd','wfXet','llFmt','service','gGbFu','Sephora\x20service\x20function\x20available','pkAXx','storeHingeData','VaYlD','IpbtK','Service\x20function\x20','ljrfu','webview_script','Export\x20script\x20missing','Hinge\x20extractor\x20hook\x20available','GSomM','qhEyt','btwdV','wtYmW','QcnPo','UVFiR','fVfzU','yRVoH','wbyDB','stbty','ETTcZ','gYXtm','MuQxg','Instagram\x20extractor\x20hook\x20available','rUyiZ','CBMFU','aGOUt','ZNxJW','gltrf','_EXPORT_SCRIPT','pJuhQ','hSRAu','kKUIk','Hinge\x20detection\x20failed','detection','Instagram\x20detection\x20failed','Sephora\x20detection\x20correct','Sephora\x20detection\x20failed','Telegram\x20detection\x20failed','Claude\x20scripts\x20missing','Sephora\x20scripts\x20exported\x20correctly','health','backend','gTPcB','OPTIONS','platform_data_endpoint','warning','UGyAP','zceGr','BASE_URL','lkFYI','NAZJo','MjvEm','Backend\x20returned\x20status\x20','status','OfGMT','Ailly','EQOku','IbPVQ','Backend\x20unreachable:\x20','SgYdY','KNApd','ZYWTW','htZZs','dCwnv','MIkcd','ZpEdW','OQeYu','haTeJ','hHxDz','baFzP','ZdPOZ','Telegram\x20detection\x20correct','uLIBz','HFMFc','Detection\x20test\x20error:\x20','ieueH','zNwrZ','dhmqL','log','component','LQVSx','abort','VXoQG','/platform-data/store','yfBua','uGOjC','OKmNs','iKrre','Endpoint\x20check\x20failed\x20(may\x20require\x20auth):\x20','gqmEf','UYXqp','kIFNK','tGICf','yBUHf','rbNuU','UdoNM','TxdqG','yWHdh','vqUQd','cliEU','sBXKf','HwqXg','fKFyS','ZCYpP','TBAYS','qOvgi','Hinge\x20detection\x20correct','aSfdG','GZitX','SRkJr','Instagram\x20detection\x20correct','YiHTa','NlJtO','bFJww','DsSdV','ExHJJ','srMZh','🧪\x20[CONNECTOR_TESTS]\x20Starting\x20connector\x20sanity\x20tests...\x0a','📋\x20Testing\x20WebView\x20script\x20exports...','📋\x20Testing\x20service\x20imports...','📋\x20Testing\x20extractor\x20imports...','📋\x20Testing\x20platform\x20detection...','📋\x20Testing\x20backend\x20connectivity...','\x0a========================================','🧪\x20CONNECTOR\x20SANITY\x20TEST\x20RESULTS','========================================\x0a','CmTEK','❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','WvfRk','⚠️\x20All\x20critical\x20tests\x20passed,\x20but\x20there\x20are\x20warnings.','✅\x20All\x20tests\x20passed!\x20Connectors\x20are\x20ready.','cgVgq','DcKgr','nRpcj','kvTEb','rYztF','SwPDv','length','filter','iquhq','BZawr','YVuiX','rCuZu','avjPb','platform','toUpperCase','cZcyf','📊\x20Summary:\x20','\x20passed,\x20','\x20failed,\x20','\x20warnings','EEbPf','WGjVH','tOAHM','rqaHK','XANsM','KCSko','qwCUY','NqDfN','uLrgr','HBYVU','DwTLv','xpiUt','HRSjt','ulvKs','validation','mNYkZ','nKHhC','WkeDz','LxaCK','OPnpY','ttjtI','BIVKB','🧪\x20Testing\x20','toLowerCase','bUYpl','vvLDz','HIaKx','KNwAA','sveLF','bffga','NBKwZ','xXgdV','vUoQI','aNgmo','IWfYF','CHCMT','eNVDl','sPtUW','TTNtN','pNdMP','WTDKA','jpbdl','JUCPJ','cNwbQ','xZMfL','ZIfHp','mnlFP','Mzova','jhztB','hXOXp','OBFux','oHfTq','Unknown\x20platform:\x20','.\x20Use\x20\x27hinge\x27,\x20\x27instagram\x27,\x20\x27sephora\x27,\x20or\x20\x27telegram\x27.','slice','oDQjC','YeukN','QLWKi','Extractor\x20import\x20failed:\x20','JgXKj','WpLCQ','nosZs','ZzUUo','jYRYh'];_0x3e07=function(){return _0x5d682c;};return _0x3e07();}export const testWebViewScriptExports=()=>{const _0x267def={'kCojy':function(_0x36683d,_0x41a863){return _0x36683d(_0x41a863);},'laqAQ':_0x50f9(0x0),'zgwVe':_0x50f9(0x1),'tHGvs':_0x50f9(0x2),'Ksguz':_0x50f9(0x3),'sbDDC':_0x50f9(0x4),'jjQCC':'Claude\x20scripts\x20missing','eFlIh':'Hinge\x20scripts\x20missing','IzEmG':function(_0x2a8d23,_0x4e6d2e){return _0x2a8d23(_0x4e6d2e);},'PtcVu':_0x50f9(0x5),'ILsbU':_0x50f9(0x6),'rfmiB':_0x50f9(0x7),'xNxYL':_0x50f9(0x8),'MoJKD':'Sephora\x20scripts\x20exported\x20correctly','JBnTe':_0x50f9(0x9),'HUoaU':_0x50f9(0xa),'bTlxB':'Telegram\x20scripts\x20exported\x20correctly','knQNd':function(_0x38adc3,_0x5d0f84){return _0x38adc3(_0x5d0f84);},'rWftd':'utilities','IEvVl':function(_0x50125f,_0x1f75c6){return _0x50125f&&_0x1f75c6;}},_0x174066=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x1da326,CHATGPT_EXPORT_SCRIPT:_0x208898}=_0x267def[_0x50f9(0xb)](__ONAIROS_REQ_FUNC__,0x13);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0xd)],'component':_0x267def['zgwVe'],'status':_0x208898?_0x50f9(0x4):_0x267def[_0x50f9(0xe)],'message':_0x208898?_0x50f9(0xf):'ChatGPT\x20scripts\x20missing'});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x25cd80,CLAUDE_EXPORT_SCRIPT:_0x41eb99}=_0x267def[_0x50f9(0xb)](__ONAIROS_REQ_FUNC__,0x12);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x10)],'component':_0x50f9(0x1),'status':_0x41eb99?_0x267def['sbDDC']:_0x267def[_0x50f9(0xe)],'message':_0x41eb99?_0x50f9(0x11):_0x267def[_0x50f9(0x12)]});const {HINGE_CONSENT_POPUP_SCRIPT:_0x1857ab,HINGE_EXPORT_SCRIPT:_0x3eb11f}=__ONAIROS_REQ_FUNC__(0x11);_0x174066['push']({'platform':_0x50f9(0x13),'component':_0x267def[_0x50f9(0x14)],'status':_0x3eb11f?_0x267def[_0x50f9(0x15)]:_0x50f9(0x2),'message':_0x3eb11f?_0x50f9(0x16):_0x267def[_0x50f9(0x17)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x2d3025,INSTAGRAM_EXPORT_SCRIPT:_0x4f086b}=_0x267def['IzEmG'](__ONAIROS_REQ_FUNC__,0x6);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x18)],'component':_0x267def[_0x50f9(0x14)],'status':_0x4f086b?_0x50f9(0x4):_0x267def[_0x50f9(0xe)],'message':_0x4f086b?_0x267def[_0x50f9(0x19)]:_0x267def['rfmiB']});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x195897,SEPHORA_EXPORT_SCRIPT:_0x4d9c10}=_0x267def[_0x50f9(0x1a)](__ONAIROS_REQ_FUNC__,0x5);_0x174066['push']({'platform':_0x267def[_0x50f9(0x1b)],'component':_0x267def['zgwVe'],'status':_0x4d9c10?_0x267def[_0x50f9(0x15)]:_0x267def[_0x50f9(0xe)],'message':_0x4d9c10?_0x267def[_0x50f9(0x1c)]:_0x267def[_0x50f9(0x1d)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x5b92ad,TELEGRAM_EXPORT_SCRIPT:_0x3137b1}=_0x267def[_0x50f9(0x1a)](__ONAIROS_REQ_FUNC__,0x4);_0x174066['push']({'platform':_0x267def[_0x50f9(0x1e)],'component':_0x267def['zgwVe'],'status':_0x3137b1?_0x267def[_0x50f9(0x15)]:_0x267def[_0x50f9(0xe)],'message':_0x3137b1?_0x267def[_0x50f9(0x1f)]:_0x50f9(0x20)});const {isWebViewExtractionPlatform:_0x534680,isHingePlatform:_0xfcd121,isInstagramPlatform:_0x5515ea,isSephoraPlatform:_0x49399a,isTelegramPlatform:_0x204a20}=_0x267def[_0x50f9(0x21)](__ONAIROS_REQ_FUNC__,0x3);_0x174066[_0x50f9(0xc)]({'platform':_0x267def[_0x50f9(0x22)],'component':'platform_detection','status':_0x267def['IEvVl'](_0x534680,_0xfcd121)&&_0x5515ea&&_0x49399a&&_0x204a20?'pass':_0x267def['tHGvs'],'message':'Platform\x20detection\x20functions\x20available'});}catch(_0x4217a6){_0x174066[_0x50f9(0xc)]({'platform':_0x50f9(0x23),'component':_0x267def['zgwVe'],'status':_0x267def[_0x50f9(0xe)],'message':_0x50f9(0x24)+_0x4217a6['message']});}return _0x174066;};export const testServiceImports=()=>{const _0x5d8d46={'UtfzY':function(_0x3ea3e1,_0x44da1b){return _0x3ea3e1(_0x44da1b);},'VjlOE':_0x50f9(0xa),'ZQsEL':_0x50f9(0x25),'Yljyh':_0x50f9(0x26),'GUPBo':_0x50f9(0x4),'kjRtn':_0x50f9(0x2),'aMLoR':_0x50f9(0x27),'AfTxY':'all','AFKvO':_0x50f9(0x1),'qfqef':function(_0x3acc6e,_0x57817b){return _0x3acc6e+_0x57817b;},'mEKEK':function(_0x4263b6,_0x5594ef){return _0x4263b6===_0x5594ef;},'PalZl':'chatgpt','QmZiv':_0x50f9(0x28),'SSKVU':_0x50f9(0x11),'bQKSN':'Claude\x20scripts\x20missing','yToKR':_0x50f9(0x13),'opqZr':_0x50f9(0x16),'dDLeH':'Hinge\x20scripts\x20missing','llFmt':'instagram','pKOAY':_0x50f9(0x6),'tUfMO':function(_0x59bd47,_0x4f87cd){return _0x59bd47(_0x4f87cd);},'xqBIu':'sephora','VluBF':'Sephora\x20scripts\x20exported\x20correctly','pJuTZ':_0x50f9(0x29),'ZWyRv':_0x50f9(0x20),'JsKzh':_0x50f9(0x2a),'nrUYn':_0x50f9(0x2b),'uHcbt':function(_0xa32d14,_0x3d5c8c){return _0xa32d14&&_0x3d5c8c;},'ounnh':_0x50f9(0x2c),'EalJD':_0x50f9(0x2d),'UIjtd':function(_0x4561a8,_0x5aee27){return _0x4561a8(_0x5aee27);},'dbCFr':'service','wfXet':_0x50f9(0x2e),'sXXlo':_0x50f9(0x2f),'VaYlD':_0x50f9(0x30),'IpbtK':_0x50f9(0x31),'VEyWs':function(_0x585d22,_0x3fde37){return _0x585d22===_0x3fde37;},'LXzrm':'PuBqo','vzqum':function(_0x1b567a,_0x46731a){return _0x1b567a(_0x46731a);},'WlGGN':function(_0x21b2a0,_0x46b1c1){return _0x21b2a0===_0x46b1c1;},'HmYdw':_0x50f9(0x32),'oFQsD':_0x50f9(0x33),'RCKSY':'NnGvE','HakwR':function(_0x19f187,_0x1ced85){return _0x19f187!==_0x1ced85;},'YJTLg':_0x50f9(0x34),'jZteK':_0x50f9(0x3),'TMKpA':_0x50f9(0x35),'baGUO':'lYlzB','aZMqF':function(_0x8c3002,_0x18dedb){return _0x8c3002(_0x18dedb);},'Qtsid':function(_0x3fdb9a,_0x19a518){return _0x3fdb9a===_0x19a518;},'mZKnq':'nrZKC','xKvnR':_0x50f9(0x36),'NUbAW':_0x50f9(0x37),'gGbFu':function(_0xa484d9,_0x1a8a9f){return _0xa484d9(_0x1a8a9f);},'pkAXx':_0x50f9(0x38),'ljrfu':_0x50f9(0x39),'QbTKO':_0x50f9(0x3a)},_0xb9524c=[];try{if(_0x5d8d46[_0x50f9(0x3b)](_0x50f9(0x3c),_0x5d8d46[_0x50f9(0x3d)])){const {storeChatGPTConversations:_0x5ad062}=_0x5d8d46[_0x50f9(0x3e)](__ONAIROS_REQ_FUNC__,0x7);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':'service','status':_0x5d8d46['WlGGN'](typeof _0x5ad062,_0x5d8d46['Yljyh'])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x42)]});}else{const {useTelegramDataExtractor:useTelegramDataExtractor}=_0x5d8d46[_0x50f9(0x43)](_0x552445,0x10);_0x2c115a['push']({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x45)],'status':typeof useTelegramDataExtractor===_0x5d8d46[_0x50f9(0x46)]?_0x5d8d46['GUPBo']:_0x5d8d46['kjRtn'],'message':_0x5d8d46[_0x50f9(0x47)]});}}catch(_0x47e7dc){_0x5d8d46[_0x50f9(0x48)]!==_0x5d8d46[_0x50f9(0x49)]?_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':_0x5d8d46['dbCFr'],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x47e7dc[_0x50f9(0x4a)]}):_0x2b8446[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x4b)],'component':_0x5d8d46['AFKvO'],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x21e5b2['message']});}try{if(_0x5d8d46['HakwR'](_0x5d8d46[_0x50f9(0x4c)],'WRxFk'))_0x1b3610[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x50f9(0x2),'message':'Import\x20error:\x20'+_0x5f1f24[_0x50f9(0x4a)]});else{const {storeClaudeConversations:_0x135545}=_0x5d8d46['UtfzY'](__ONAIROS_REQ_FUNC__,0x8);_0xb9524c['push']({'platform':_0x5d8d46[_0x50f9(0x4d)],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46['WlGGN'](typeof _0x135545,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46['GUPBo']:_0x50f9(0x2),'message':_0x50f9(0x4f)});}}catch(_0x16e409){if(_0x5d8d46[_0x50f9(0x50)](_0x5d8d46[_0x50f9(0x51)],_0x5d8d46[_0x50f9(0x51)]))_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['jZteK'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46['kjRtn'],'message':_0x50f9(0x24)+_0x16e409[_0x50f9(0x4a)]});else{const _0x2eaaa0=_0x1b8978(0x15),_0x48b49b=_0x50f9(0x52)+_0x5d8d46[_0x50f9(0x53)](_0x233fdc[_0x50f9(0x54)](0x0)['toUpperCase'](),_0x4a8418['slice'](0x1))+_0x50f9(0x55);_0x2e0e6c[_0x50f9(0xc)]({'platform':_0x17da99,'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x2eaaa0[_0x48b49b],_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x57)+_0x48b49b+_0x50f9(0x58)});}}try{if(_0x5d8d46[_0x50f9(0x3b)](_0x5d8d46[_0x50f9(0x59)],_0x50f9(0x5a))){const _0x29095d=[];try{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x59b9f4,CHATGPT_EXPORT_SCRIPT:_0x4d9273}=_0xb24aac(0x13);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x3f)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x4d9273?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46['kjRtn'],'message':_0x4d9273?_0x50f9(0xf):_0x5d8d46[_0x50f9(0x5c)]});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x22ee05,CLAUDE_EXPORT_SCRIPT:_0xc8060f}=_0x30cebb(0x12);_0x29095d[_0x50f9(0xc)]({'platform':_0x50f9(0x3),'component':'webview_scripts','status':_0xc8060f?_0x5d8d46[_0x50f9(0x40)]:_0x50f9(0x2),'message':_0xc8060f?_0x5d8d46[_0x50f9(0x5d)]:_0x5d8d46[_0x50f9(0x5e)]});const {HINGE_CONSENT_POPUP_SCRIPT:_0x865f89,HINGE_EXPORT_SCRIPT:_0x4723b7}=_0x1a2aa6(0x11);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x5f)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x4723b7?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x4723b7?_0x5d8d46[_0x50f9(0x60)]:_0x5d8d46['dDLeH']});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x35c5cc,INSTAGRAM_EXPORT_SCRIPT:_0x1dd042}=_0x5d8d46[_0x50f9(0x43)](_0x2ce339,0x6);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46['llFmt'],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x1dd042?_0x5d8d46['GUPBo']:_0x5d8d46[_0x50f9(0x41)],'message':_0x1dd042?_0x5d8d46[_0x50f9(0x61)]:_0x50f9(0x7)});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x2b4237,SEPHORA_EXPORT_SCRIPT:_0xc7d7f5}=_0x5d8d46[_0x50f9(0x62)](_0x4ca13b,0x5);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x63)],'component':_0x50f9(0x1),'status':_0xc7d7f5?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0xc7d7f5?_0x5d8d46[_0x50f9(0x64)]:_0x50f9(0x9)});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x5930ef,TELEGRAM_EXPORT_SCRIPT:_0x1806e6}=_0x508011(0x4);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x1806e6?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x1806e6?_0x5d8d46[_0x50f9(0x65)]:_0x5d8d46[_0x50f9(0x66)]});const {isWebViewExtractionPlatform:_0x4ca63b,isHingePlatform:_0x1615da,isInstagramPlatform:_0x3e35b4,isSephoraPlatform:_0x2c66bf,isTelegramPlatform:_0x3088f9}=_0x394d68(0x3);_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x67)],'component':_0x5d8d46[_0x50f9(0x68)],'status':_0x5d8d46['uHcbt'](_0x4ca63b,_0x1615da)&&_0x3e35b4&&_0x2c66bf&&_0x3088f9?_0x5d8d46['GUPBo']:'fail','message':_0x5d8d46[_0x50f9(0x69)]});}catch(_0x52f18c){_0x29095d[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x4b)],'component':_0x5d8d46[_0x50f9(0x5b)],'status':_0x50f9(0x2),'message':'Import\x20error:\x20'+_0x52f18c[_0x50f9(0x4a)]});}return _0x29095d;}else{const {storeHingeData:_0x1570e5}=_0x5d8d46[_0x50f9(0x6a)](__ONAIROS_REQ_FUNC__,0x9);_0xb9524c['push']({'platform':_0x50f9(0x13),'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x6b)](typeof _0x1570e5,_0x5d8d46[_0x50f9(0x46)])?_0x50f9(0x4):_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x6c)]});}}catch(_0xa53e38){if(_0x5d8d46[_0x50f9(0x6d)](_0x5d8d46[_0x50f9(0x6e)],_0x5d8d46[_0x50f9(0x6e)])){const {storeHingeData:_0x2d706a}=_0x5d8d46[_0x50f9(0x43)](_0x387525,0x9);_0x135f93[_0x50f9(0xc)]({'platform':'hinge','component':'service','status':_0x5d8d46[_0x50f9(0x56)](typeof _0x2d706a,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:'fail','message':_0x5d8d46[_0x50f9(0x6c)]});}else _0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x5f)],'component':'service','status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0xa53e38[_0x50f9(0x4a)]});}try{if(_0x50f9(0x36)===_0x5d8d46['xKvnR']){const {storeInstagramData:_0x4c383a}=_0x5d8d46['UIjtd'](__ONAIROS_REQ_FUNC__,0xa);_0xb9524c[_0x50f9(0xc)]({'platform':_0x50f9(0x5),'component':'service','status':typeof _0x4c383a===_0x5d8d46[_0x50f9(0x46)]?_0x5d8d46[_0x50f9(0x40)]:'fail','message':_0x5d8d46[_0x50f9(0x6f)]});}else{const {storeTelegramData:_0x30f881}=_0x5d8d46[_0x50f9(0x70)](_0x1ddab8,0xc);_0x4ef33e[_0x50f9(0xc)]({'platform':_0x50f9(0xa),'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x30f881,_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x50f9(0x2),'message':_0x5d8d46[_0x50f9(0x71)]});}}catch(_0x3ec573){_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x72)],'component':_0x50f9(0x73),'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x3ec573[_0x50f9(0x4a)]});}try{const {storeSephoraData:_0x112865}=_0x5d8d46[_0x50f9(0x74)](__ONAIROS_REQ_FUNC__,0xb);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x63)],'component':_0x50f9(0x73),'status':_0x5d8d46[_0x50f9(0x50)](typeof _0x112865,_0x5d8d46[_0x50f9(0x46)])?_0x50f9(0x4):_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x75)});}catch(_0x376203){_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['xqBIu'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x41)],'message':_0x50f9(0x24)+_0x376203[_0x50f9(0x4a)]});}try{if(_0x5d8d46[_0x50f9(0x6b)](_0x5d8d46[_0x50f9(0x76)],_0x50f9(0x38))){const {storeTelegramData:_0x1ac96c}=_0x5d8d46[_0x50f9(0x43)](__ONAIROS_REQ_FUNC__,0xc);_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x44)],'component':_0x5d8d46[_0x50f9(0x4e)],'status':typeof _0x1ac96c===_0x5d8d46['Yljyh']?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46[_0x50f9(0x41)],'message':_0x5d8d46[_0x50f9(0x71)]});}else{const _0x3b296a=_0x5a4b34(0x14),_0x217e5a=_0x5d8d46['mEKEK'](_0x27cdb0,_0x5d8d46[_0x50f9(0x5f)])?_0x50f9(0x77):_0x5d8d46[_0x50f9(0x56)](_0x22e225,_0x5d8d46['llFmt'])?_0x5d8d46['sXXlo']:_0x5d8d46[_0x50f9(0x56)](_0x236c5f,_0x50f9(0xa))?_0x5d8d46[_0x50f9(0x78)]:_0x5d8d46[_0x50f9(0x79)];_0x32b9e8[_0x50f9(0xc)]({'platform':_0x1774ed,'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x56)](typeof _0x3b296a[_0x217e5a],_0x5d8d46[_0x50f9(0x46)])?_0x5d8d46[_0x50f9(0x40)]:_0x5d8d46['kjRtn'],'message':_0x50f9(0x7a)+_0x217e5a+_0x50f9(0x58)});}}catch(_0x6a3be3){_0x5d8d46[_0x50f9(0x7b)]===_0x5d8d46['QbTKO']?_0x23742a[_0x50f9(0xc)]({'platform':_0x5d8d46[_0x50f9(0x72)],'component':_0x5d8d46[_0x50f9(0x45)],'status':_0x5d8d46['kjRtn'],'message':_0x50f9(0x24)+_0x3404da[_0x50f9(0x4a)]}):_0xb9524c[_0x50f9(0xc)]({'platform':_0x5d8d46['VjlOE'],'component':_0x5d8d46[_0x50f9(0x4e)],'status':_0x5d8d46[_0x50f9(0x41)],'message':'Import\x20error:\x20'+_0x6a3be3[_0x50f9(0x4a)]});}return _0xb9524c;};export const testExtractorImports=()=>{const _0x353480={'ETTcZ':'telegram','gYXtm':'service','MuQxg':_0x50f9(0x2),'gltrf':function(_0x57e733,_0x1fdd8c){return _0x57e733(_0x1fdd8c);},'kAsoL':_0x50f9(0x7c),'fVfzU':'pass','pJuhQ':'Export\x20script\x20available','hSRAu':_0x50f9(0x7d),'qhEyt':function(_0x3da7fe,_0x317e35){return _0x3da7fe(_0x317e35);},'btwdV':'hinge','wtYmW':_0x50f9(0x25),'QcnPo':function(_0xb28fcd,_0x1baaf2){return _0xb28fcd===_0x1baaf2;},'UVFiR':_0x50f9(0x26),'yRVoH':_0x50f9(0x7e),'aGOUt':function(_0x4bbf0a,_0x4c229c){return _0x4bbf0a===_0x4c229c;},'stbty':_0x50f9(0x7f),'rUyiZ':_0x50f9(0x5),'CBMFU':_0x50f9(0x8),'ZNxJW':function(_0x2743ea,_0x1dab58){return _0x2743ea===_0x1dab58;},'ffaIq':'SFmcv','kKUIk':_0x50f9(0x27)},_0x12f78a=[];try{const {useHingeDataExtractor:useHingeDataExtractor}=_0x353480[_0x50f9(0x80)](__ONAIROS_REQ_FUNC__,0xd);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x81)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480[_0x50f9(0x83)](typeof useHingeDataExtractor,_0x353480[_0x50f9(0x84)])?_0x353480[_0x50f9(0x85)]:_0x353480['MuQxg'],'message':_0x353480[_0x50f9(0x86)]});}catch(_0x46bc6e){_0x353480['aGOUt'](_0x50f9(0x87),_0x353480[_0x50f9(0x88)])?_0x32d51a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x8a)],'status':_0x353480[_0x50f9(0x8b)],'message':'Import\x20error:\x20'+_0x14aed2[_0x50f9(0x4a)]}):_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x81)],'component':_0x353480['wtYmW'],'status':_0x353480[_0x50f9(0x8b)],'message':_0x50f9(0x24)+_0x46bc6e[_0x50f9(0x4a)]});}try{const {useInstagramDataExtractor:useInstagramDataExtractor}=_0x353480['qhEyt'](__ONAIROS_REQ_FUNC__,0xe);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480['rUyiZ'],'component':_0x50f9(0x25),'status':typeof useInstagramDataExtractor===_0x353480[_0x50f9(0x84)]?_0x50f9(0x4):_0x50f9(0x2),'message':_0x50f9(0x8c)});}catch(_0x8d0ab1){_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x8d)],'component':_0x50f9(0x25),'status':_0x353480[_0x50f9(0x8b)],'message':_0x50f9(0x24)+_0x8d0ab1[_0x50f9(0x4a)]});}try{const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x353480[_0x50f9(0x80)](__ONAIROS_REQ_FUNC__,0xf);_0x12f78a[_0x50f9(0xc)]({'platform':_0x353480[_0x50f9(0x8e)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480[_0x50f9(0x8f)](typeof useSephoraDataExtractor,_0x353480[_0x50f9(0x84)])?_0x353480['fVfzU']:_0x353480[_0x50f9(0x8b)],'message':'Sephora\x20extractor\x20hook\x20available'});}catch(_0x44f129){if(_0x353480[_0x50f9(0x90)](_0x353480['ffaIq'],_0x353480['ffaIq']))_0x12f78a['push']({'platform':_0x50f9(0x8),'component':'extractor','status':_0x50f9(0x2),'message':_0x50f9(0x24)+_0x44f129[_0x50f9(0x4a)]});else{const _0x1b505d=_0x353480[_0x50f9(0x91)](_0x29fe95,0x0),_0x4ad3fc=_0x42418d['toUpperCase']()+_0x50f9(0x92),_0x45ee79=!!_0x1b505d[_0x4ad3fc];_0x2bcfef['push']({'platform':_0x5c24b9,'component':_0x353480['kAsoL'],'status':_0x45ee79?_0x353480[_0x50f9(0x85)]:_0x353480['MuQxg'],'message':_0x45ee79?_0x353480[_0x50f9(0x93)]:_0x353480[_0x50f9(0x94)]});}}try{const {useTelegramDataExtractor:useTelegramDataExtractor}=__ONAIROS_REQ_FUNC__(0x10);_0x12f78a['push']({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x82)],'status':typeof useTelegramDataExtractor===_0x50f9(0x26)?_0x353480[_0x50f9(0x85)]:_0x353480[_0x50f9(0x8b)],'message':_0x353480[_0x50f9(0x95)]});}catch(_0x1b493a){_0x12f78a['push']({'platform':_0x353480[_0x50f9(0x89)],'component':_0x353480[_0x50f9(0x82)],'status':_0x353480['MuQxg'],'message':_0x50f9(0x24)+_0x1b493a[_0x50f9(0x4a)]});}return _0x12f78a;};export const testBackendConnectivity=async()=>{const _0x440863={'SgYdY':function(_0x319672,_0x312000){return _0x319672(_0x312000);},'KNApd':_0x50f9(0x13),'IbPVQ':_0x50f9(0x2),'sCrln':'Hinge\x20detection\x20correct','ZYWTW':_0x50f9(0x96),'htZZs':'instagram','dCwnv':function(_0x1d909e,_0x5978e0){return _0x1d909e(_0x5978e0);},'ZdPOZ':_0x50f9(0x97),'MIkcd':'Instagram\x20detection\x20correct','ZpEdW':_0x50f9(0x98),'OQeYu':'sephora','MjvEm':_0x50f9(0x4),'udDwa':_0x50f9(0x99),'haTeJ':_0x50f9(0x9a),'hHxDz':function(_0x3439ba,_0x21b29d){return _0x3439ba(_0x21b29d);},'baFzP':_0x50f9(0xa),'uLIBz':_0x50f9(0x9b),'HFMFc':'all','ieueH':function(_0x4fde85,_0x19d092){return _0x4fde85===_0x19d092;},'gqmEf':_0x50f9(0x1),'UYXqp':_0x50f9(0xf),'vzZmu':_0x50f9(0x28),'kIFNK':function(_0x439f5d,_0x2a9013){return _0x439f5d(_0x2a9013);},'tGICf':'claude','NLCtC':_0x50f9(0x11),'nuXuM':_0x50f9(0x9c),'ujolG':_0x50f9(0x16),'yBUHf':'Hinge\x20scripts\x20missing','rbNuU':_0x50f9(0x6),'UdoNM':_0x50f9(0x7),'TxdqG':_0x50f9(0x9d),'yWHdh':_0x50f9(0x9),'lzfBB':_0x50f9(0x29),'vqUQd':_0x50f9(0x2a),'cliEU':_0x50f9(0x2b),'sBXKf':function(_0x52bda4,_0x370b8d){return _0x52bda4&&_0x370b8d;},'HwqXg':_0x50f9(0x2c),'zceGr':function(_0x2d1cb2,_0xca4df,_0x4958d1){return _0x2d1cb2(_0xca4df,_0x4958d1);},'lkFYI':function(_0x35b80b,_0x2b3762){return _0x35b80b(_0x2b3762);},'NAZJo':_0x50f9(0x9e),'gIsJi':'Backend\x20health\x20check\x20passed','OfGMT':function(_0x197a5c,_0x56a6af){return _0x197a5c!==_0x56a6af;},'Ailly':'dpyyi','oYQNT':'aDPzZ','EQOku':_0x50f9(0x9f),'dhmqL':_0x50f9(0xa0),'LQVSx':function(_0x37e377,_0x30042e,_0x3fe6c4){return _0x37e377(_0x30042e,_0x3fe6c4);},'VXoQG':function(_0x5c02aa,_0x126b71,_0x29ed13){return _0x5c02aa(_0x126b71,_0x29ed13);},'yfBua':_0x50f9(0xa1),'uGOjC':function(_0x14f400,_0x37caca){return _0x14f400(_0x37caca);},'OKmNs':_0x50f9(0xa2),'iKrre':_0x50f9(0xa3),'oBFYj':_0x50f9(0xa4)},_0x24839f=[];try{const _0x3dc804=new AbortController(),_0x532722=_0x440863[_0x50f9(0xa5)](setTimeout,()=>_0x3dc804['abort'](),0x2710),_0x3c569d=await _0x440863[_0x50f9(0xa5)](fetch,API_CONFIG[_0x50f9(0xa6)]+'/health',{'method':'GET','signal':_0x3dc804['signal']});_0x440863[_0x50f9(0xa7)](clearTimeout,_0x532722),_0x24839f[_0x50f9(0xc)]({'platform':_0x50f9(0x9f),'component':_0x440863[_0x50f9(0xa8)],'status':_0x3c569d['ok']?_0x440863[_0x50f9(0xa9)]:'warning','message':_0x3c569d['ok']?_0x440863['gIsJi']:_0x50f9(0xaa)+_0x3c569d[_0x50f9(0xab)],'details':{'status':_0x3c569d[_0x50f9(0xab)]}});}catch(_0xb10268){if(_0x440863[_0x50f9(0xac)](_0x440863[_0x50f9(0xad)],_0x440863['oYQNT']))_0x24839f[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xae)],'component':_0x440863[_0x50f9(0xa8)],'status':_0x440863[_0x50f9(0xaf)],'message':_0x50f9(0xb0)+_0xb10268[_0x50f9(0x4a)]});else{const _0x353161=[];try{const {isWebViewExtractionPlatform:_0x337e5b,isHingePlatform:_0x1e7361,isInstagramPlatform:_0x16e174,isSephoraPlatform:_0x3c6222,isLLMPlatform:_0x485305}=_0x440863[_0x50f9(0xb1)](_0xdbc40c,0x2),_0x1ce97b=_0x440863[_0x50f9(0xb1)](_0x1e7361,_0x440863[_0x50f9(0xb2)])&&_0x440863['SgYdY'](_0x337e5b,_0x440863[_0x50f9(0xb2)])&&!_0x440863[_0x50f9(0xb1)](_0x485305,_0x440863[_0x50f9(0xb2)]);_0x353161[_0x50f9(0xc)]({'platform':_0x440863['KNApd'],'component':_0x50f9(0x97),'status':_0x1ce97b?'pass':_0x440863['IbPVQ'],'message':_0x1ce97b?_0x440863['sCrln']:_0x440863[_0x50f9(0xb3)]});const _0x1c5941=_0x16e174(_0x440863[_0x50f9(0xb4)])&&_0x440863[_0x50f9(0xb5)](_0x337e5b,_0x440863[_0x50f9(0xb4)])&&!_0x485305(_0x50f9(0x5));_0x353161[_0x50f9(0xc)]({'platform':_0x440863['htZZs'],'component':_0x440863['ZdPOZ'],'status':_0x1c5941?_0x50f9(0x4):_0x440863['IbPVQ'],'message':_0x1c5941?_0x440863[_0x50f9(0xb6)]:_0x440863[_0x50f9(0xb7)]});const _0x35c7bb=_0x3c6222(_0x440863['OQeYu'])&&_0x440863[_0x50f9(0xb5)](_0x337e5b,_0x440863[_0x50f9(0xb8)])&&!_0x440863[_0x50f9(0xb5)](_0x485305,_0x440863[_0x50f9(0xb8)]);_0x353161[_0x50f9(0xc)]({'platform':_0x50f9(0x8),'component':_0x50f9(0x97),'status':_0x35c7bb?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x35c7bb?_0x440863['udDwa']:_0x440863[_0x50f9(0xb9)]});const {isTelegramPlatform:_0xe2f5f6}=_0x440863[_0x50f9(0xb1)](_0x5f2ffc,0x1),_0x68e8bb=_0x440863[_0x50f9(0xba)](_0xe2f5f6,'telegram')&&_0x337e5b(_0x440863[_0x50f9(0xbb)])&&!_0x440863[_0x50f9(0xba)](_0x485305,_0x440863[_0x50f9(0xbb)]);_0x353161[_0x50f9(0xc)]({'platform':_0x440863['baFzP'],'component':_0x440863[_0x50f9(0xbc)],'status':_0x68e8bb?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x68e8bb?_0x50f9(0xbd):_0x440863[_0x50f9(0xbe)]});}catch(_0x396391){_0x353161[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xbf)],'component':_0x440863[_0x50f9(0xbc)],'status':'fail','message':_0x50f9(0xc0)+_0x396391[_0x50f9(0x4a)]});}return _0x353161;}}try{if(_0x440863[_0x50f9(0xc1)](_0x50f9(0xc2),_0x440863[_0x50f9(0xc3)])){const _0x1c53b8=_0x440863[_0x50f9(0xc1)](_0x26a088[_0x50f9(0xab)],_0x440863[_0x50f9(0xa9)])?'✅':_0x2394ef[_0x50f9(0xab)]===_0x50f9(0x2)?'❌':'⚠️';_0x24cf45[_0x50f9(0xc4)](_0x1c53b8+'\x20'+_0x2a716a[_0x50f9(0xc5)]+':\x20'+_0x1f20f2['message']);}else{const _0xacfaf=new AbortController(),_0x49984f=_0x440863[_0x50f9(0xc6)](setTimeout,()=>_0xacfaf[_0x50f9(0xc7)](),0x2710),_0xea85af=await _0x440863[_0x50f9(0xc8)](fetch,API_CONFIG[_0x50f9(0xa6)]+_0x50f9(0xc9),{'method':_0x440863[_0x50f9(0xca)],'signal':_0xacfaf['signal']});_0x440863[_0x50f9(0xcb)](clearTimeout,_0x49984f),_0x24839f[_0x50f9(0xc)]({'platform':'backend','component':_0x440863[_0x50f9(0xcc)],'status':_0xea85af['status']<0x1f4?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xcd)],'message':'Platform\x20data\x20endpoint\x20check:\x20'+_0xea85af[_0x50f9(0xab)],'details':{'status':_0xea85af[_0x50f9(0xab)]}});}}catch(_0x20ade6){if(_0x50f9(0xa4)===_0x440863['oBFYj'])_0x24839f[_0x50f9(0xc)]({'platform':_0x50f9(0x9f),'component':_0x440863['OKmNs'],'status':_0x50f9(0xa3),'message':_0x50f9(0xce)+_0x20ade6['message']});else{const {CHATGPT_CONSENT_POPUP_SCRIPT:_0x3c6257,CHATGPT_EXPORT_SCRIPT:_0x2edd74}=_0x441965(0x13);_0x55d951[_0x50f9(0xc)]({'platform':'chatgpt','component':_0x440863[_0x50f9(0xcf)],'status':_0x2edd74?_0x440863['MjvEm']:_0x440863[_0x50f9(0xaf)],'message':_0x2edd74?_0x440863[_0x50f9(0xd0)]:_0x440863['vzZmu']});const {CLAUDE_CONSENT_POPUP_SCRIPT:_0x398dcb,CLAUDE_EXPORT_SCRIPT:_0x119957}=_0x440863[_0x50f9(0xd1)](_0x677400,0x12);_0x33d223['push']({'platform':_0x440863[_0x50f9(0xd2)],'component':_0x440863[_0x50f9(0xcf)],'status':_0x119957?_0x440863[_0x50f9(0xa9)]:_0x440863['IbPVQ'],'message':_0x119957?_0x440863['NLCtC']:_0x440863['nuXuM']});const {HINGE_CONSENT_POPUP_SCRIPT:_0x270c2e,HINGE_EXPORT_SCRIPT:_0x2f56f3}=_0x514e50(0x11);_0x13fa47[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x440863[_0x50f9(0xcf)],'status':_0x2f56f3?_0x440863['MjvEm']:_0x50f9(0x2),'message':_0x2f56f3?_0x440863['ujolG']:_0x440863[_0x50f9(0xd3)]});const {INSTAGRAM_CONSENT_POPUP_SCRIPT:_0x4d7034,INSTAGRAM_EXPORT_SCRIPT:_0x15da27}=_0x440863[_0x50f9(0xb5)](_0x4c2766,0x6);_0x51ee49['push']({'platform':_0x440863[_0x50f9(0xb4)],'component':_0x440863['gqmEf'],'status':_0x15da27?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x15da27?_0x440863[_0x50f9(0xd4)]:_0x440863[_0x50f9(0xd5)]});const {SEPHORA_CONSENT_POPUP_SCRIPT:_0x3a7cc3,SEPHORA_EXPORT_SCRIPT:_0x26470c}=_0x440863['hHxDz'](_0x540a26,0x5);_0x5bafd8[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xb8)],'component':_0x440863[_0x50f9(0xcf)],'status':_0x26470c?_0x440863[_0x50f9(0xa9)]:_0x50f9(0x2),'message':_0x26470c?_0x440863[_0x50f9(0xd6)]:_0x440863[_0x50f9(0xd7)]});const {TELEGRAM_CONSENT_POPUP_SCRIPT:_0x57edbc,TELEGRAM_EXPORT_SCRIPT:_0x1e68f4}=_0x458d99(0x4);_0xea4c33[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xbb)],'component':_0x50f9(0x1),'status':_0x1e68f4?_0x440863[_0x50f9(0xa9)]:_0x440863[_0x50f9(0xaf)],'message':_0x1e68f4?_0x440863['lzfBB']:_0x50f9(0x20)});const {isWebViewExtractionPlatform:_0x306946,isHingePlatform:_0x4d52a2,isInstagramPlatform:_0x2888e0,isSephoraPlatform:_0x4c4d2e,isTelegramPlatform:_0x43261d}=_0x4d6325(0x3);_0x140093[_0x50f9(0xc)]({'platform':_0x440863[_0x50f9(0xd8)],'component':_0x440863[_0x50f9(0xd9)],'status':_0x440863[_0x50f9(0xda)](_0x306946,_0x4d52a2)&&_0x2888e0&&_0x4c4d2e&&_0x43261d?_0x50f9(0x4):_0x440863[_0x50f9(0xaf)],'message':_0x440863[_0x50f9(0xdb)]});}}return _0x24839f;};export const testPlatformDetection=()=>{const _0xd7f3a2={'fKFyS':function(_0x36e6ef,_0x4d7e1b){return _0x36e6ef(_0x4d7e1b);},'ZCYpP':_0x50f9(0x13),'TBAYS':function(_0x44d2ad,_0x1de236){return _0x44d2ad(_0x1de236);},'NlJtO':_0x50f9(0x4),'qOvgi':_0x50f9(0x2),'aSfdG':_0x50f9(0x5),'GZitX':function(_0x461b86,_0x5b909f){return _0x461b86(_0x5b909f);},'SRkJr':_0x50f9(0x97),'YiHTa':'sephora','bFJww':_0x50f9(0x99),'DsSdV':_0x50f9(0xa),'dSzhH':_0x50f9(0xbd),'ExHJJ':'Telegram\x20detection\x20failed','srMZh':'all'},_0x2c7de4=[];try{const {isWebViewExtractionPlatform:_0x54a6a9,isHingePlatform:_0x19e648,isInstagramPlatform:_0xc772a7,isSephoraPlatform:_0x2b083d,isLLMPlatform:_0x2eb724}=_0xd7f3a2[_0x50f9(0xdc)](__ONAIROS_REQ_FUNC__,0x2),_0x367fd7=_0x19e648(_0xd7f3a2[_0x50f9(0xdd)])&&_0xd7f3a2[_0x50f9(0xdc)](_0x54a6a9,_0xd7f3a2[_0x50f9(0xdd)])&&!_0xd7f3a2[_0x50f9(0xde)](_0x2eb724,_0xd7f3a2['ZCYpP']);_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2['ZCYpP'],'component':_0x50f9(0x97),'status':_0x367fd7?_0xd7f3a2['NlJtO']:_0xd7f3a2[_0x50f9(0xdf)],'message':_0x367fd7?_0x50f9(0xe0):_0x50f9(0x96)});const _0x24e636=_0xd7f3a2[_0x50f9(0xde)](_0xc772a7,_0xd7f3a2[_0x50f9(0xe1)])&&_0xd7f3a2['TBAYS'](_0x54a6a9,_0xd7f3a2[_0x50f9(0xe1)])&&!_0xd7f3a2[_0x50f9(0xe2)](_0x2eb724,_0xd7f3a2['aSfdG']);_0x2c7de4[_0x50f9(0xc)]({'platform':_0x50f9(0x5),'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0x24e636?_0xd7f3a2['NlJtO']:_0xd7f3a2[_0x50f9(0xdf)],'message':_0x24e636?_0x50f9(0xe4):_0x50f9(0x98)});const _0xf44e4c=_0x2b083d(_0xd7f3a2[_0x50f9(0xe5)])&&_0x54a6a9(_0xd7f3a2[_0x50f9(0xe5)])&&!_0xd7f3a2[_0x50f9(0xdc)](_0x2eb724,_0xd7f3a2[_0x50f9(0xe5)]);_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2['YiHTa'],'component':_0x50f9(0x97),'status':_0xf44e4c?_0xd7f3a2[_0x50f9(0xe6)]:_0x50f9(0x2),'message':_0xf44e4c?_0xd7f3a2[_0x50f9(0xe7)]:'Sephora\x20detection\x20failed'});const {isTelegramPlatform:_0x2d8fac}=_0xd7f3a2['TBAYS'](__ONAIROS_REQ_FUNC__,0x1),_0x19449b=_0x2d8fac(_0xd7f3a2[_0x50f9(0xe8)])&&_0xd7f3a2[_0x50f9(0xe2)](_0x54a6a9,_0x50f9(0xa))&&!_0x2eb724(_0xd7f3a2[_0x50f9(0xe8)]);_0x2c7de4['push']({'platform':_0xd7f3a2[_0x50f9(0xe8)],'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0x19449b?'pass':_0xd7f3a2[_0x50f9(0xdf)],'message':_0x19449b?_0xd7f3a2['dSzhH']:_0xd7f3a2[_0x50f9(0xe9)]});}catch(_0x29879e){_0x2c7de4[_0x50f9(0xc)]({'platform':_0xd7f3a2[_0x50f9(0xea)],'component':_0xd7f3a2[_0x50f9(0xe3)],'status':_0xd7f3a2['qOvgi'],'message':_0x50f9(0xc0)+_0x29879e['message']});}return _0x2c7de4;};export const runConnectorSanityTests=async()=>{const _0x4312ce={'MlnBN':function(_0x74df2c,_0x5daf1d){return _0x74df2c(_0x5daf1d);},'tOAHM':_0x50f9(0x8),'rqaHK':function(_0x29755c,_0x8095b0){return _0x29755c===_0x8095b0;},'avjPb':_0x50f9(0x2),'XANsM':'Sephora\x20extractor\x20hook\x20available','xpiUt':_0x50f9(0x9f),'WCqom':_0x50f9(0xa2),'HRSjt':'warning','cgVgq':_0x50f9(0xeb),'DcKgr':_0x50f9(0xec),'nRpcj':function(_0x4ef870){return _0x4ef870();},'Gcjsz':_0x50f9(0xed),'kvTEb':_0x50f9(0xee),'rYztF':_0x50f9(0xef),'SwPDv':_0x50f9(0xf0),'cZcyf':_0x50f9(0xf1),'iquhq':_0x50f9(0xf2),'BZawr':_0x50f9(0xf3),'YVuiX':function(_0x43db18,_0x38ffde){return _0x43db18===_0x38ffde;},'rCuZu':_0x50f9(0x4),'acgkz':function(_0x7abb7f,_0xe33066){return _0x7abb7f===_0xe33066;},'ilXfw':function(_0x268f10,_0x394aed){return _0x268f10>_0x394aed;},'EEbPf':function(_0x3f42f7,_0x494ea3){return _0x3f42f7!==_0x494ea3;},'WGjVH':_0x50f9(0xf4),'KCSko':_0x50f9(0xf5),'qwCUY':function(_0x2a50c3,_0x3c500e){return _0x2a50c3>_0x3c500e;},'NqDfN':function(_0x12acf0,_0x4edb60){return _0x12acf0!==_0x4edb60;},'HBYVU':_0x50f9(0xf6),'DwTLv':_0x50f9(0xf7),'ulvKs':_0x50f9(0xf8)};console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xf9)]);const _0x2fc2ca=[];console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfa)]),_0x2fc2ca['push'](..._0x4312ce[_0x50f9(0xfb)](testWebViewScriptExports)),console[_0x50f9(0xc4)](_0x4312ce['Gcjsz']),_0x2fc2ca[_0x50f9(0xc)](...testServiceImports()),console['log'](_0x4312ce[_0x50f9(0xfc)]),_0x2fc2ca[_0x50f9(0xc)](..._0x4312ce[_0x50f9(0xfb)](testExtractorImports)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfd)]),_0x2fc2ca['push'](..._0x4312ce[_0x50f9(0xfb)](testPlatformDetection)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0xfe)]),_0x2fc2ca[_0x50f9(0xc)](...await _0x4312ce[_0x50f9(0xfb)](testBackendConnectivity));const _0x65e86a=_0x2fc2ca['filter'](_0x380cba=>_0x380cba[_0x50f9(0xab)]===_0x50f9(0x4))[_0x50f9(0xff)],_0x436878=_0x2fc2ca[_0x50f9(0x100)](_0x34ce30=>_0x34ce30[_0x50f9(0xab)]===_0x50f9(0x2))[_0x50f9(0xff)],_0x2ee6b8=_0x2fc2ca['filter'](_0x114a62=>_0x114a62[_0x50f9(0xab)]===_0x50f9(0xa3))[_0x50f9(0xff)];console[_0x50f9(0xc4)](_0x4312ce['cZcyf']),console['log'](_0x4312ce[_0x50f9(0x101)]),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x102)]);for(const _0x271978 of _0x2fc2ca){const _0x1d3fce=_0x4312ce[_0x50f9(0x103)](_0x271978[_0x50f9(0xab)],_0x4312ce[_0x50f9(0x104)])?'✅':_0x4312ce['acgkz'](_0x271978[_0x50f9(0xab)],_0x4312ce[_0x50f9(0x105)])?'❌':'⚠️';console[_0x50f9(0xc4)](_0x1d3fce+'\x20['+_0x271978[_0x50f9(0x106)][_0x50f9(0x107)]()+']\x20'+_0x271978[_0x50f9(0xc5)]+':\x20'+_0x271978[_0x50f9(0x4a)]);}console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x108)]),console[_0x50f9(0xc4)](_0x50f9(0x109)+_0x65e86a+_0x50f9(0x10a)+_0x436878+_0x50f9(0x10b)+_0x2ee6b8+_0x50f9(0x10c)),console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x102)]);if(_0x4312ce['ilXfw'](_0x436878,0x0)){if(_0x4312ce[_0x50f9(0x10d)](_0x50f9(0xf4),_0x4312ce[_0x50f9(0x10e)])){const {useSephoraDataExtractor:useSephoraDataExtractor}=_0x4312ce['MlnBN'](_0x5d9ceb,0xf);_0x439fd9['push']({'platform':_0x4312ce[_0x50f9(0x10f)],'component':'extractor','status':_0x4312ce[_0x50f9(0x110)](typeof useSephoraDataExtractor,'function')?_0x50f9(0x4):_0x4312ce[_0x50f9(0x105)],'message':_0x4312ce[_0x50f9(0x111)]});}else console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x112)]);}else _0x4312ce[_0x50f9(0x113)](_0x2ee6b8,0x0)?_0x4312ce[_0x50f9(0x114)](_0x50f9(0x115),_0x4312ce[_0x50f9(0x116)])?console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x117)]):_0x52e1ce[_0x50f9(0xc)]({'platform':_0x4312ce[_0x50f9(0x118)],'component':_0x4312ce['WCqom'],'status':_0x4312ce[_0x50f9(0x119)],'message':_0x50f9(0xce)+_0x2a2338[_0x50f9(0x4a)]}):console[_0x50f9(0xc4)](_0x4312ce[_0x50f9(0x11a)]);return{'passed':_0x65e86a,'failed':_0x436878,'warnings':_0x2ee6b8,'results':_0x2fc2ca};};export const testPlatformConnector=async _0x3c2da0=>{const _0x4a10a7={'NBKwZ':_0x50f9(0x4),'sPtUW':function(_0x4a42bc,_0x5c38d7){return _0x4a42bc===_0x5c38d7;},'aNgmo':'fail','htWOl':function(_0xaa5064,_0x4077e1){return _0xaa5064(_0x4077e1);},'eNVDl':_0x50f9(0x0),'WcPZc':'ChatGPT\x20service\x20function\x20available','JUCPJ':'❌\x20Some\x20tests\x20failed!\x20Please\x20check\x20the\x20errors\x20above.','jhztB':_0x50f9(0xf7),'OBFux':_0x50f9(0x11b),'oHfTq':_0x50f9(0xa3),'KtVOz':_0x50f9(0x25),'oDQjC':_0x50f9(0x26),'JHpWH':'Hinge\x20extractor\x20hook\x20available','bffga':function(_0x39c157,_0x336dca){return _0x39c157(_0x336dca);},'nosZs':_0x50f9(0x3),'ZIfHp':_0x50f9(0x73),'ZzUUo':function(_0x2e9ecd,_0x472bfe){return _0x2e9ecd===_0x472bfe;},'rlMDr':'Claude\x20service\x20function\x20available','cNwbQ':_0x50f9(0x13),'bUYpl':'instagram','vvLDz':_0x50f9(0x8),'HIaKx':'telegram','FoMuY':function(_0x26386f,_0x2ffcc3){return _0x26386f===_0x2ffcc3;},'KNwAA':'sveLF','xXgdV':'Export\x20script\x20available','vUoQI':_0x50f9(0x7d),'IWfYF':function(_0x31ed1f,_0x246f45){return _0x31ed1f!==_0x246f45;},'CHCMT':_0x50f9(0x11c),'TTNtN':_0x50f9(0x7c),'pNdMP':function(_0x49d102,_0x188ee2){return _0x49d102===_0x188ee2;},'WTDKA':_0x50f9(0x11d),'Qautu':function(_0xac6286,_0x5f65e5){return _0xac6286===_0x5f65e5;},'xZMfL':function(_0xd7b8fc,_0x15cf27){return _0xd7b8fc===_0x15cf27;},'sghzG':_0x50f9(0x31),'xBLjS':function(_0x38d15,_0x30fe67){return _0x38d15===_0x30fe67;},'mnlFP':function(_0x63d987,_0x43a908){return _0x63d987===_0x43a908;},'Mzova':_0x50f9(0x11e),'wvcXr':_0x50f9(0x11f),'hXOXp':_0x50f9(0x120),'ETyPZ':_0x50f9(0x121),'GWjPg':function(_0xc45264,_0x1baba0){return _0xc45264+_0x1baba0;},'YeukN':function(_0x372d0a,_0x33e735){return _0x372d0a!==_0x33e735;},'QLWKi':_0x50f9(0x122),'jYRYh':function(_0x166110,_0x431682){return _0x166110===_0x431682;}};console['log'](_0x50f9(0x123)+_0x3c2da0+'\x20connector...\x0a');const _0x19c825=[],_0x525aad=_0x3c2da0[_0x50f9(0x124)]();if([_0x4a10a7['cNwbQ'],_0x4a10a7[_0x50f9(0x125)],_0x4a10a7[_0x50f9(0x126)],_0x4a10a7[_0x50f9(0x127)]]['includes'](_0x525aad)){try{if(_0x4a10a7['FoMuY'](_0x4a10a7[_0x50f9(0x128)],_0x50f9(0x129))){const _0x57c1b8=_0x4a10a7[_0x50f9(0x12a)](__ONAIROS_REQ_FUNC__,0x0),_0x52ea19=_0x525aad[_0x50f9(0x107)]()+_0x50f9(0x92),_0x535c1a=!!_0x57c1b8[_0x52ea19];_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x7c),'status':_0x535c1a?_0x4a10a7[_0x50f9(0x12b)]:_0x50f9(0x2),'message':_0x535c1a?_0x4a10a7[_0x50f9(0x12c)]:_0x4a10a7[_0x50f9(0x12d)]});}else{const _0x5e700c=_0x544a73[_0x50f9(0xab)]===_0x4a10a7[_0x50f9(0x12b)]?'✅':_0x4a10a7['sPtUW'](_0x3130a8['status'],_0x4a10a7[_0x50f9(0x12e)])?'❌':'⚠️';_0x37f8a1['log'](_0x5e700c+'\x20['+_0x4c1570['platform'][_0x50f9(0x107)]()+']\x20'+_0x57e08a[_0x50f9(0xc5)]+':\x20'+_0x45037f[_0x50f9(0x4a)]);}}catch(_0x431def){if(_0x4a10a7[_0x50f9(0x12f)](_0x4a10a7[_0x50f9(0x130)],_0x50f9(0x11c))){const {storeChatGPTConversations:_0x4af602}=_0x4a10a7['htWOl'](_0x399092,0x7);_0x5cd05f[_0x50f9(0xc)]({'platform':_0x4a10a7[_0x50f9(0x131)],'component':_0x50f9(0x73),'status':_0x4a10a7[_0x50f9(0x132)](typeof _0x4af602,'function')?_0x4a10a7['NBKwZ']:_0x4a10a7['aNgmo'],'message':_0x4a10a7['WcPZc']});}else _0x19c825['push']({'platform':_0x525aad,'component':_0x4a10a7[_0x50f9(0x133)],'status':_0x50f9(0x2),'message':'Script\x20import\x20failed:\x20'+_0x431def[_0x50f9(0x4a)]});}try{if(_0x4a10a7[_0x50f9(0x134)](_0x4a10a7[_0x50f9(0x135)],_0x50f9(0x136)))_0x31f513['log'](_0x4a10a7[_0x50f9(0x137)]);else{const _0x2357a8=__ONAIROS_REQ_FUNC__(0x14),_0x261b65=_0x4a10a7[_0x50f9(0x132)](_0x525aad,_0x4a10a7[_0x50f9(0x138)])?_0x50f9(0x77):_0x4a10a7['Qautu'](_0x525aad,_0x4a10a7[_0x50f9(0x125)])?_0x50f9(0x2f):_0x4a10a7[_0x50f9(0x139)](_0x525aad,_0x4a10a7['HIaKx'])?_0x50f9(0x30):_0x4a10a7['sghzG'];_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x4a10a7[_0x50f9(0x13a)],'status':_0x4a10a7['xBLjS'](typeof _0x2357a8[_0x261b65],_0x4a10a7['oDQjC'])?_0x4a10a7[_0x50f9(0x12b)]:_0x4a10a7[_0x50f9(0x12e)],'message':_0x50f9(0x7a)+_0x261b65+_0x50f9(0x58)});}}catch(_0x3d8dc8){_0x4a10a7[_0x50f9(0x13b)](_0x4a10a7[_0x50f9(0x13c)],_0x4a10a7['wvcXr'])?_0x2d0e07['log'](_0x4a10a7[_0x50f9(0x13d)]):_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x73),'status':_0x50f9(0x2),'message':'Service\x20import\x20failed:\x20'+_0x3d8dc8[_0x50f9(0x4a)]});}try{if(_0x4a10a7[_0x50f9(0x13e)]===_0x4a10a7['ETyPZ'])_0x1b451a['push']({'platform':_0x812b9d,'component':_0x4a10a7[_0x50f9(0x13f)],'status':_0x4a10a7[_0x50f9(0x140)],'message':_0x50f9(0x141)+_0x5512de+_0x50f9(0x142)});else{const _0x457887=_0x4a10a7['htWOl'](__ONAIROS_REQ_FUNC__,0x15),_0x4d5090=_0x50f9(0x52)+_0x4a10a7['GWjPg'](_0x525aad[_0x50f9(0x54)](0x0)[_0x50f9(0x107)](),_0x525aad[_0x50f9(0x143)](0x1))+_0x50f9(0x55);_0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x50f9(0x25),'status':typeof _0x457887[_0x4d5090]===_0x4a10a7[_0x50f9(0x144)]?_0x50f9(0x4):_0x4a10a7[_0x50f9(0x12e)],'message':_0x50f9(0x57)+_0x4d5090+'\x20available'});}}catch(_0x5a30c9){if(_0x4a10a7[_0x50f9(0x145)](_0x4a10a7[_0x50f9(0x146)],_0x4a10a7['QLWKi'])){const {useHingeDataExtractor:useHingeDataExtractor}=_0x28cee7(0xd);_0x7c72ed[_0x50f9(0xc)]({'platform':_0x50f9(0x13),'component':_0x4a10a7['KtVOz'],'status':typeof useHingeDataExtractor===_0x4a10a7['oDQjC']?_0x4a10a7[_0x50f9(0x12b)]:'fail','message':_0x4a10a7['JHpWH']});}else _0x19c825[_0x50f9(0xc)]({'platform':_0x525aad,'component':_0x4a10a7['KtVOz'],'status':_0x50f9(0x2),'message':_0x50f9(0x147)+_0x5a30c9[_0x50f9(0x4a)]});}}else _0x19c825['push']({'platform':_0x525aad,'component':_0x50f9(0x11b),'status':_0x4a10a7[_0x50f9(0x140)],'message':'Unknown\x20platform:\x20'+_0x3c2da0+_0x50f9(0x142)});for(const _0x153799 of _0x19c825){if(_0x50f9(0x148)===_0x50f9(0x149)){const {storeClaudeConversations:_0x2f1e55}=_0x4a10a7['bffga'](_0x1a674c,0x8);_0x7c8360['push']({'platform':_0x4a10a7[_0x50f9(0x14a)],'component':_0x4a10a7['ZIfHp'],'status':_0x4a10a7[_0x50f9(0x14b)](typeof _0x2f1e55,_0x50f9(0x26))?'pass':'fail','message':_0x4a10a7['rlMDr']});}else{const _0x3902bd=_0x4a10a7['ZzUUo'](_0x153799[_0x50f9(0xab)],_0x4a10a7[_0x50f9(0x12b)])?'✅':_0x4a10a7[_0x50f9(0x14c)](_0x153799['status'],_0x4a10a7[_0x50f9(0x12e)])?'❌':'⚠️';console[_0x50f9(0xc4)](_0x3902bd+'\x20'+_0x153799[_0x50f9(0xc5)]+':\x20'+_0x153799[_0x50f9(0x4a)]);}}return _0x19c825;};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{RSA}from'react-native-rsa-native';import{sha256 as
|
|
1
|
+
import{RSA}from'react-native-rsa-native';import{sha256 as _0x3af296}from'react-native-crypto-js';function _0x1c21(){const _0x877abd=['NPrvu','-----BEGIN\x20PUBLIC\x20KEY-----','-----END\x20PUBLIC\x20KEY-----','RSA\x20encryption\x20failed:','ZAybV','replace','yksjV','trim','-----BEGIN\x20PUBLIC\x20KEY-----\x0a','\x0a-----END\x20PUBLIC\x20KEY-----','encrypt','charCodeAt','VcYHY','AlKhc','error','SRQFd','base64','LkLPu','Atwjn','from','MVfLu','toString','length','IvnzI','jubhM','lgZRg','wUHbt','buffer','Error\x20converting\x20base64\x20to\x20buffer:'];_0x1c21=function(){return _0x877abd;};return _0x1c21();}function _0x4436(_0x1c21cb,_0x443682){_0x1c21cb=_0x1c21cb-0x0;const _0x3c346e=_0x1c21();let _0xd1be3e=_0x3c346e[_0x1c21cb];return _0xd1be3e;}export const rsaEncrypt=async(_0x5334c0,_0x443c29)=>{const _0x213659={'ZAybV':_0x4436(0x0),'tBiNE':_0x4436(0x1),'yksjV':_0x4436(0x2),'qvSyQ':function(_0x985899,_0x2a4b69){return _0x985899!==_0x2a4b69;},'AlKhc':'iJscC','blJAj':_0x4436(0x3)};try{if(_0x213659['ZAybV']===_0x213659[_0x4436(0x4)]){const _0x4651e1=_0x5334c0[_0x4436(0x5)](/\\n/g,'')[_0x4436(0x5)](/^\s+|\s+$/g,'')[_0x4436(0x5)](_0x213659['tBiNE'],'')[_0x4436(0x5)](_0x213659[_0x4436(0x6)],'')[_0x4436(0x7)](),_0x246268=_0x4436(0x8)+_0x4651e1+_0x4436(0x9),_0x255a34=await RSA[_0x4436(0xa)](_0x443c29,_0x246268);return _0x255a34;}else _0x58491c[_0x257d19]=_0x3e36f4[_0x4436(0xb)](_0x35a32e);}catch(_0xea390b){if(_0x213659['qvSyQ'](_0x4436(0xc),_0x213659[_0x4436(0xd)])){console[_0x4436(0xe)](_0x213659['blJAj'],_0xea390b);throw _0xea390b;}else return _0x56c806(_0xc262ba)['toString']();}};export const sha256=_0x247fc8=>{const _0x4894e1={'SRQFd':function(_0x523d2d,_0x4b2270){return _0x523d2d(_0x4b2270);}};return _0x4894e1[_0x4436(0xf)](_0x3af296,_0x247fc8)['toString']();};export const base64ToBuffer=_0x31e879=>{const _0x574499={'wUHbt':_0x4436(0x3),'MVfLu':_0x4436(0x10),'IvnzI':function(_0x16d9fe,_0xd3226){return _0x16d9fe<_0xd3226;},'jubhM':function(_0x3fb5d8,_0x318fa7){return _0x3fb5d8!==_0x318fa7;},'lgZRg':_0x4436(0x11),'dMJgs':_0x4436(0x12)};try{const _0x46ef10=Buffer[_0x4436(0x13)](_0x31e879,_0x574499[_0x4436(0x14)])[_0x4436(0x15)]('binary'),_0x4020c1=new Uint8Array(_0x46ef10[_0x4436(0x16)]);for(let _0x4a42e9=0x0;_0x574499[_0x4436(0x17)](_0x4a42e9,_0x46ef10[_0x4436(0x16)]);_0x4a42e9++){if(_0x574499[_0x4436(0x18)](_0x574499[_0x4436(0x19)],_0x574499['dMJgs']))_0x4020c1[_0x4a42e9]=_0x46ef10[_0x4436(0xb)](_0x4a42e9);else{_0x4f3db2[_0x4436(0xe)](_0x574499[_0x4436(0x1a)],_0x4a8458);throw _0x275df2;}}return _0x4020c1[_0x4436(0x1b)];}catch(_0x4fbf91){console['error'](_0x4436(0x1c),_0x4fbf91);throw _0x4fbf91;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const __DEV__=process[_0x184f(0x0)][_0x184f(0x1)]!==_0x184f(0x2);function _0x184f(_0x884260,_0x184f61){_0x884260=_0x884260-0x0;const _0x119deb=_0x8842();let _0x8ce2bc=_0x119deb[_0x884260];return _0x8ce2bc;}export const logDebug=(_0x393154,_0x240da6)=>{const _0x4d9830={'CrDai':function(_0x207aac,_0x38dcdf){return _0x207aac||_0x38dcdf;}};__DEV__&&console[_0x184f(0x3)]('[Onairos\x20Debug]\x20'+_0x393154+':',_0x4d9830[_0x184f(0x4)](_0x240da6,''));};function _0x8842(){const _0x311169=['env','NODE_ENV','production','log','CrDai','error','[Onairos\x20Error]\x20','API\x20Request','ZOzsP','uCjdC','dOqRT'];_0x8842=function(){return _0x311169;};return _0x8842();}export const logError=(_0x1b958a,_0x46502f)=>{__DEV__&&console[_0x184f(0x5)](_0x184f(0x6)+_0x1b958a+':',_0x46502f);};export const isDebugMode=_0x59c798=>{return _0x59c798===!![]||__DEV__;};export const logApiRequest=(_0x1bcf3e,_0x4da9d0,_0x1e87ca)=>{const _0xe8aa29={'ZOzsP':function(_0x196466,_0x474454,_0x10b5e2){return _0x196466(_0x474454,_0x10b5e2);},'uCjdC':_0x184f(0x7),'dOqRT':function(_0x122232,_0x54486d){return _0x122232||_0x54486d;}};__DEV__&&_0xe8aa29[_0x184f(0x8)](logDebug,_0xe8aa29[_0x184f(0x9)],{'method':_0x1bcf3e,'url':_0x4da9d0,'data':_0xe8aa29[_0x184f(0xa)](_0x1e87ca,{})});};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{onairosApi}from'../api';export const encryptModelKey=(
|
|
1
|
+
import{onairosApi}from'../api';function _0x58b8(_0x49139c,_0x58b880){_0x49139c=_0x49139c-0x0;const _0x3b00b6=_0x4913();let _0x4720f7=_0x3b00b6[_0x49139c];return _0x4720f7;}function _0x4913(){const _0xad169f=['Encrypting\x20model\x20key','Error\x20encrypting\x20model\x20key:','yxPze','Public\x20key\x20or\x20model\x20key\x20is\x20missing','encrypted_','now','error','ZuRKH','No\x20public\x20key\x20found\x20in\x20response','public/getPublicKey','xEesA','ZnciA','wvJXe','Error\x20getting\x20server\x20public\x20key:','dPoTd','pDDbk','get','cJEgC','IMEfL','data','publicKey','CNnnD','fPzBB','taxcr','ECplc','vKHST','PhQmi','KBVIm','hash_','replace','DzVDO','mock_public_key_for_testing','wfSGJ','tMCHE','Error\x20hashing\x20string:','vtmBm','ydAZi','fallback_hash_'];_0x4913=function(){return _0xad169f;};return _0x4913();}export const encryptModelKey=(_0x1a1075,_0x4bfdc0)=>{const _0x1448c6={'AcaJl':_0x58b8(0x0),'yxPze':function(_0x368c6e,_0x3f4e5c){return _0x368c6e||_0x3f4e5c;},'ZuRKH':_0x58b8(0x1)};try{console['log'](_0x1448c6['AcaJl']);if(_0x1448c6[_0x58b8(0x2)](!_0x1a1075,!_0x4bfdc0))throw new Error(_0x58b8(0x3));return _0x58b8(0x4)+_0x4bfdc0+'_'+Date[_0x58b8(0x5)]();}catch(_0x242704){console[_0x58b8(0x6)](_0x1448c6[_0x58b8(0x7)],_0x242704);throw _0x242704;}};export const getServerPublicKey=async()=>{const _0x2b64aa={'OAViR':_0x58b8(0x3),'ECplc':_0x58b8(0x8),'dPoTd':function(_0x43c065,_0x194d8e){return _0x43c065!==_0x194d8e;},'pDDbk':'odWjy','cJEgC':_0x58b8(0x9),'IMEfL':function(_0x3111fe,_0x9ea309){return _0x3111fe!==_0x9ea309;},'ramqt':function(_0x3245dc,_0x6085c9){return _0x3245dc!==_0x6085c9;},'CNnnD':function(_0x2e0ac8,_0x42a756){return _0x2e0ac8!==_0x42a756;},'fPzBB':function(_0x490ad6,_0x23f0fc){return _0x490ad6===_0x23f0fc;},'taxcr':'cLonC','ceuHW':_0x58b8(0xa),'vKHST':function(_0xe11c2,_0x13864a){return _0xe11c2===_0x13864a;},'PhQmi':_0x58b8(0xb),'KBVIm':_0x58b8(0xc),'DzVDO':_0x58b8(0xd)};try{if(_0x2b64aa[_0x58b8(0xe)](_0x2b64aa[_0x58b8(0xf)],_0x2b64aa[_0x58b8(0xf)]))throw new _0x58f0c3(_0x2b64aa['OAViR']);else{var _0x1cb0e0,_0x54280a;const _0x237f0e=await onairosApi[_0x58b8(0x10)](_0x2b64aa[_0x58b8(0x11)]);if(_0x2b64aa[_0x58b8(0x12)](_0x237f0e,null)&&_0x2b64aa['dPoTd'](_0x237f0e,void 0x0)&&(_0x1cb0e0=_0x237f0e[_0x58b8(0x13)])!==null&&_0x1cb0e0!==void 0x0&&_0x2b64aa[_0x58b8(0xe)](_0x1cb0e0=_0x1cb0e0[_0x58b8(0x13)],null)&&_0x2b64aa[_0x58b8(0x12)](_0x1cb0e0,void 0x0)&&_0x1cb0e0['publicKey'])return _0x237f0e[_0x58b8(0x13)][_0x58b8(0x13)][_0x58b8(0x14)];else{if(_0x2b64aa[_0x58b8(0xe)](_0x237f0e,null)&&_0x2b64aa['ramqt'](_0x237f0e,void 0x0)&&(_0x54280a=_0x237f0e[_0x58b8(0x13)])!==null&&_0x2b64aa[_0x58b8(0x15)](_0x54280a,void 0x0)&&_0x54280a['publicKey']){if(_0x2b64aa[_0x58b8(0x16)](_0x2b64aa[_0x58b8(0x17)],_0x2b64aa['ceuHW']))throw new _0x262b85(_0x2b64aa[_0x58b8(0x18)]);else return _0x237f0e[_0x58b8(0x13)][_0x58b8(0x14)];}else throw new Error(_0x2b64aa[_0x58b8(0x18)]);}}}catch(_0x5b93db){return _0x2b64aa[_0x58b8(0x19)](_0x2b64aa[_0x58b8(0x1a)],_0x2b64aa[_0x58b8(0x1b)])?_0x58b8(0x1c)+_0x3e3673[_0x58b8(0x1d)](/\s+/g,'_')+'_'+_0x29c3b2[_0x58b8(0x5)]():(console[_0x58b8(0x6)](_0x2b64aa[_0x58b8(0x1e)],_0x5b93db),_0x58b8(0x1f));}};export const hashString=async _0x5222b5=>{const _0x32f1d3={'vtmBm':_0x58b8(0x20),'ydAZi':_0x58b8(0x21),'IDtOV':_0x58b8(0x22)};try{return _0x32f1d3[_0x58b8(0x23)]===_0x32f1d3[_0x58b8(0x24)]?_0x26873e[_0x58b8(0x13)][_0x58b8(0x14)]:'hash_'+_0x5222b5[_0x58b8(0x1d)](/\s+/g,'_')+'_'+Date['now']();}catch(_0x25467f){return console[_0x58b8(0x6)](_0x32f1d3['IDtOV'],_0x25467f),_0x58b8(0x25)+Date[_0x58b8(0x5)]();}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x36f8(){const _0x3cf656=['qlvgp','mXkwq','rnWUx','VMqoo','wLlAC','charAt','conOa','random','length','kqqLH','VkJwM','LiNZc','DYZeh','ciPLF','trim','XqxdO','toUpperCase','replace','split','filter','ohVBV','PlJQj','sJfAc','HuuQO','getFullYear','getMonth','getDate','iEjem','OaCvy','fScbR','slice','map','substring','cjnEl','iCumM','pxRgY','nRGpr','setHours','getTime','ceil','hKOnS','LXidm','hpPpY','Event\x20code\x20is\x20required','Event\x20code\x20must\x20be\x20at\x20least\x203\x20characters','FFPXz','UofgK','Event\x20code\x20must\x20be\x2010\x20characters\x20or\x20less','qMIzz','Event\x20code\x20must\x20contain\x20only\x20letters\x20and\x20numbers','FDsnH','gFcOa','CTEHq','fSYzJ','PdwJK','CcSbj','ZySMr','GjDgW','BPOkx','kQWNo','floor','vxNaJ','fIkCw','en-US','numeric','long','toLocaleDateString','tCSoB','qjPlY','GasHo','ptpQN','atxfn','nCnKc','DThtl','gZDTA','Npxiw','VmqUE','ETaRi','isActive','eventDate','zcsVy','WeALL','mYPqC','mhbFj','FxdfX','Upcoming','Inactive','FaCwx','TweBO','FgaFa','IOXHs','BmrYF','RqxAg','QxyGn','jLPbN','FlPQs','flatMap','tags','eGCbY','eotvC','elHvs','sort','VqVbA','TAJai','QnafP','Mstfq','SylyQ','NSoRM','UaRaJ','uKuPZ','gXOIE','oXXdp','soHqG','uosuN','IacKT','MFCut','reduce','attendeeCount','maxAttendees','eMeFR','round','oZJQd','toLowerCase','title','description','includes','code','hjdKJ','location','GfhmJ','from','OskTG','zaZqB','egnWu','ZLfvd'];_0x36f8=function(){return _0x3cf656;};return _0x36f8();}export const generateEventCode=(_0x14198a=0x6)=>{const _0x4a9f70={'mXkwq':'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789','rnWUx':function(_0x5546d2,_0x533b6e){return _0x5546d2<_0x533b6e;},'VMqoo':function(_0x895a09,_0x4c8124){return _0x895a09!==_0x4c8124;},'wLlAC':_0x3f09(0x0),'conOa':function(_0x2f19e8,_0x5818b4){return _0x2f19e8*_0x5818b4;}},_0x250c1f=_0x4a9f70[_0x3f09(0x1)];let _0x1f671d='';for(let _0x4fba7d=0x0;_0x4a9f70[_0x3f09(0x2)](_0x4fba7d,_0x14198a);_0x4fba7d++){if(_0x4a9f70[_0x3f09(0x3)]('wIeiT',_0x4a9f70[_0x3f09(0x4)]))_0x1f671d+=_0x250c1f[_0x3f09(0x5)](Math['floor'](_0x4a9f70[_0x3f09(0x6)](Math[_0x3f09(0x7)](),_0x250c1f[_0x3f09(0x8)])));else return _0x130e0a;}return _0x1f671d;};export const generateSmartEventCode=_0x26590e=>{const _0x595499={'HuuQO':function(_0x3c45bd,_0x442d62){return _0x3c45bd===_0x442d62;},'RWIBm':function(_0x3f07ab,_0x5c1df4){return _0x3f07ab===_0x5c1df4;},'nRGpr':function(_0x406101,_0x22b804){return _0x406101-_0x22b804;},'hKOnS':function(_0x51321f,_0x26ab99){return _0x51321f/_0x26ab99;},'LXidm':function(_0x2a275e,_0x4bedcd){return _0x2a275e*_0x4bedcd;},'XqxdO':function(_0x316774){return _0x316774();},'ohVBV':function(_0x1b56cd,_0x425518){return _0x1b56cd!==_0x425518;},'PlJQj':_0x3f09(0x9),'sJfAc':_0x3f09(0xa),'xxInq':function(_0x55f28a){return _0x55f28a();},'iEjem':function(_0x2c76c1,_0x4344e6){return _0x2c76c1>=_0x4344e6;},'OaCvy':_0x3f09(0xb),'fScbR':_0x3f09(0xc),'cjnEl':function(_0x4e066e,_0x4df7eb){return _0x4e066e<_0x4df7eb;},'iCumM':_0x3f09(0xd),'pxRgY':function(_0x23133a,_0x1b683d){return _0x23133a(_0x1b683d);},'hpPpY':function(_0x35bafa,_0x29590c){return _0x35bafa>_0x29590c;}};if(!_0x26590e[_0x3f09(0xe)]())return _0x595499[_0x3f09(0xf)](generateEventCode);const _0x32f418=_0x26590e['trim']()[_0x3f09(0x10)]()[_0x3f09(0x11)](/[^A-Z0-9\s]/g,'')[_0x3f09(0x12)](/\s+/)[_0x3f09(0x13)](_0x2e16bf=>_0x2e16bf[_0x3f09(0x8)]>0x0);if(_0x32f418['length']===0x0){if(_0x595499[_0x3f09(0x14)](_0x595499[_0x3f09(0x15)],_0x595499[_0x3f09(0x16)]))return _0x595499['xxInq'](generateEventCode);else try{const _0x2523ec=new _0x218836(),_0x1d48ce=new _0x27971c(_0x433513);return _0x595499[_0x3f09(0x17)](_0x2523ec[_0x3f09(0x18)](),_0x1d48ce[_0x3f09(0x18)]())&&_0x595499[_0x3f09(0x17)](_0x2523ec[_0x3f09(0x19)](),_0x1d48ce[_0x3f09(0x19)]())&&_0x595499['RWIBm'](_0x2523ec[_0x3f09(0x1a)](),_0x1d48ce[_0x3f09(0x1a)]());}catch(_0x5ed51c){return![];}}let _0x3056f1='';if(_0x595499[_0x3f09(0x1b)](_0x32f418[_0x3f09(0x8)],0x2)){if(_0x595499['HuuQO'](_0x595499[_0x3f09(0x1c)],_0x595499[_0x3f09(0x1d)])){const _0x6b0f=_0x1e8575[_0x3f09(0x1e)](0x0,0x3);_0x3675cd=_0x6b0f[_0x3f09(0x1f)](_0x39ed55=>_0x39ed55[_0x3f09(0x20)](0x0,0x2))['join']('');}else{const _0x4d68c7=_0x32f418['slice'](0x0,0x3);_0x3056f1=_0x4d68c7[_0x3f09(0x1f)](_0x2470dc=>_0x2470dc['substring'](0x0,0x2))['join']('');}}else _0x3056f1=_0x32f418[0x0]['substring'](0x0,0x4);const _0x522fea=new Date()[_0x3f09(0x18)]()['toString']()[_0x3f09(0x1e)](-0x2);_0x3056f1+=_0x522fea;if(_0x595499[_0x3f09(0x21)](_0x3056f1[_0x3f09(0x8)],0x4)){if(_0x595499[_0x3f09(0x17)](_0x595499['iCumM'],_0x595499[_0x3f09(0x22)]))_0x3056f1+=_0x595499[_0x3f09(0x23)](generateEventCode,_0x595499[_0x3f09(0x24)](0x4,_0x3056f1[_0x3f09(0x8)]));else{const _0x428c5a=new _0x2965cb(),_0xacd88=new _0x14ad8d(_0x165175);_0x428c5a[_0x3f09(0x25)](0x0,0x0,0x0,0x0),_0xacd88[_0x3f09(0x25)](0x0,0x0,0x0,0x0);const _0x31cf74=_0x595499[_0x3f09(0x24)](_0xacd88[_0x3f09(0x26)](),_0x428c5a[_0x3f09(0x26)]()),_0x1343b2=_0x182cc1[_0x3f09(0x27)](_0x595499[_0x3f09(0x28)](_0x31cf74,_0x595499[_0x3f09(0x29)](_0x595499[_0x3f09(0x29)](0x3e8,0x3c)*0x3c,0x18)));return _0x1343b2;}}else _0x595499[_0x3f09(0x2a)](_0x3056f1[_0x3f09(0x8)],0x8)&&(_0x3056f1=_0x3056f1[_0x3f09(0x20)](0x0,0x8));return _0x3056f1;};export const validateEventCode=_0x269f58=>{const _0x4a481e={'ZySMr':function(_0x52324d,_0x398d7d){return _0x52324d<_0x398d7d;},'kQWNo':'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789','vxNaJ':function(_0x4269a5,_0x474731){return _0x4269a5*_0x474731;},'FDsnH':_0x3f09(0x2b),'gFcOa':_0x3f09(0x2c),'CTEHq':function(_0x835161,_0x1d59f2){return _0x835161>_0x1d59f2;},'fSYzJ':_0x3f09(0x2d),'PdwJK':_0x3f09(0x2e),'CcSbj':_0x3f09(0x2f),'GjDgW':function(_0x562ff4,_0xf8587e){return _0x562ff4===_0xf8587e;},'SuSkt':_0x3f09(0x30),'BPOkx':'XDAHF','fIkCw':_0x3f09(0x31)};if(!_0x269f58||!_0x269f58[_0x3f09(0xe)]())return{'isValid':![],'error':_0x4a481e[_0x3f09(0x32)]};const _0xc1934b=_0x269f58[_0x3f09(0xe)]()[_0x3f09(0x10)]();if(_0xc1934b[_0x3f09(0x8)]<0x3)return{'isValid':![],'error':_0x4a481e[_0x3f09(0x33)]};if(_0x4a481e[_0x3f09(0x34)](_0xc1934b[_0x3f09(0x8)],0xa)){if(_0x4a481e[_0x3f09(0x35)]!==_0x4a481e[_0x3f09(0x36)])return{'isValid':![],'error':_0x4a481e[_0x3f09(0x37)]};else try{const _0x2532c7=new _0x5f41b1(),_0x20cc1c=new _0x84178a(_0x14414f);return _0x2532c7[_0x3f09(0x25)](0x0,0x0,0x0,0x0),_0x20cc1c['setHours'](0x0,0x0,0x0,0x0),_0x4a481e[_0x3f09(0x38)](_0x20cc1c,_0x2532c7);}catch(_0x196fc4){return![];}}if(!/^[A-Z0-9]+$/['test'](_0xc1934b)){if(_0x4a481e[_0x3f09(0x39)](_0x4a481e['SuSkt'],_0x4a481e[_0x3f09(0x3a)])){const _0x38a5f5=_0x4a481e[_0x3f09(0x3b)];let _0x59995a='';for(let _0x43c75f=0x0;_0x4a481e['ZySMr'](_0x43c75f,_0x4f837b);_0x43c75f++){_0x59995a+=_0x38a5f5['charAt'](_0x5ced84[_0x3f09(0x3c)](_0x4a481e[_0x3f09(0x3d)](_0x234597[_0x3f09(0x7)](),_0x38a5f5['length'])));}return _0x59995a;}else return{'isValid':![],'error':_0x4a481e[_0x3f09(0x3e)]};}return{'isValid':!![]};};export const formatEventDate=_0x575959=>{const _0x14b9f1={'KYEbE':_0x3f09(0x3f),'tCSoB':_0x3f09(0x40),'iNNbp':_0x3f09(0x41)};try{const _0x33eec7=new Date(_0x575959);return _0x33eec7[_0x3f09(0x42)](_0x14b9f1['KYEbE'],{'weekday':'long','year':_0x14b9f1['tCSoB'],'month':_0x14b9f1['iNNbp'],'day':_0x14b9f1[_0x3f09(0x43)]});}catch(_0x5c530b){return _0x575959;}};export const isEventToday=_0x43d75b=>{const _0x314437={'qjPlY':function(_0x19eec5,_0x4bdf12){return _0x19eec5===_0x4bdf12;}};try{const _0x50f81c=new Date(),_0x13af42=new Date(_0x43d75b);return _0x50f81c[_0x3f09(0x18)]()===_0x13af42[_0x3f09(0x18)]()&&_0x314437[_0x3f09(0x44)](_0x50f81c[_0x3f09(0x19)](),_0x13af42[_0x3f09(0x19)]())&&_0x314437['qjPlY'](_0x50f81c['getDate'](),_0x13af42[_0x3f09(0x1a)]());}catch(_0x1609ed){return![];}};function _0x3f09(_0x36f82c,_0x3f0966){_0x36f82c=_0x36f82c-0x0;const _0x1a58f3=_0x36f8();let _0x15ea83=_0x1a58f3[_0x36f82c];return _0x15ea83;}export const isEventPast=_0x55c62f=>{const _0x440e54={'VmqUE':function(_0xcc84dd,_0x1dde38){return _0xcc84dd<_0x1dde38;},'YLode':function(_0x58a826,_0x489b01){return _0x58a826<_0x489b01;},'ETaRi':function(_0x52992a,_0x42927a){return _0x52992a&&_0x42927a;},'nCnKc':_0x3f09(0x45),'DThtl':_0x3f09(0x46),'gZDTA':function(_0x389095,_0x553c61){return _0x389095!==_0x553c61;},'Npxiw':_0x3f09(0x47)};try{if(_0x440e54[_0x3f09(0x48)]===_0x440e54[_0x3f09(0x49)])return _0xb246a3['getTime']()-_0x26421d[_0x3f09(0x26)]();else{const _0x3defba=new Date(),_0x2be809=new Date(_0x55c62f);return _0x3defba['setHours'](0x0,0x0,0x0,0x0),_0x2be809[_0x3f09(0x25)](0x0,0x0,0x0,0x0),_0x2be809<_0x3defba;}}catch(_0x110717){if(_0x440e54[_0x3f09(0x4a)](_0x440e54[_0x3f09(0x4b)],'atxfn')){const _0x479908={'zcsVy':function(_0x478f78,_0x226397){return _0x440e54[_0x3f09(0x4c)](_0x478f78,_0x226397);},'WeALL':function(_0x42cb4b,_0x29ea04){return _0x440e54['YLode'](_0x42cb4b,_0x29ea04);},'mYPqC':function(_0x26b0d1,_0x49c66f){return _0x440e54[_0x3f09(0x4d)](_0x26b0d1,_0x49c66f);}};return _0x2aba94['sort']((_0x53a1a6,_0x16c1be)=>{if(_0x53a1a6['isActive']&&!_0x16c1be['isActive'])return-0x1;if(!_0x53a1a6[_0x3f09(0x4e)]&&_0x16c1be[_0x3f09(0x4e)])return 0x1;const _0x475b6c=new _0x675878(_0x53a1a6[_0x3f09(0x4f)]),_0x21e12d=new _0x3776f9(_0x16c1be[_0x3f09(0x4f)]),_0x2bf70d=new _0x2c1b79(),_0x2e6bc5=_0x479908[_0x3f09(0x50)](_0x475b6c,_0x2bf70d),_0x50af10=_0x479908[_0x3f09(0x51)](_0x21e12d,_0x2bf70d);if(_0x2e6bc5&&!_0x50af10)return 0x1;if(_0x479908[_0x3f09(0x52)](!_0x2e6bc5,_0x50af10))return-0x1;return _0x479908[_0x3f09(0x52)](_0x2e6bc5,_0x50af10)?_0x21e12d[_0x3f09(0x26)]()-_0x475b6c[_0x3f09(0x26)]():_0x475b6c['getTime']()-_0x21e12d[_0x3f09(0x26)]();});}else return![];}};export const getEventStatus=(_0x275250,_0x1147db)=>{const _0x56f974={'DWibH':function(_0x5b6dc3,_0x31f5f7){return _0x5b6dc3===_0x31f5f7;},'RqxAg':function(_0x4f2201,_0x418136){return _0x4f2201===_0x418136;},'vtnfp':function(_0x4dd78e,_0x3b1d1a){return _0x4dd78e(_0x3b1d1a);},'FaCwx':_0x3f09(0x53),'gvHrz':'Past','TweBO':function(_0x21d994,_0x572ec1){return _0x21d994(_0x572ec1);},'FgaFa':function(_0x3ef428,_0x27b9a7){return _0x3ef428===_0x27b9a7;},'IOXHs':_0x3f09(0x54),'BmrYF':'Today','QxyGn':_0x3f09(0x55)};if(!_0x1147db)return _0x3f09(0x56);if(_0x56f974['vtnfp'](isEventPast,_0x275250))return _0x56f974['FaCwx']===_0x56f974[_0x3f09(0x57)]?_0x56f974['gvHrz']:![];if(_0x56f974[_0x3f09(0x58)](isEventToday,_0x275250)){if(_0x56f974[_0x3f09(0x59)](_0x56f974['IOXHs'],_0x56f974[_0x3f09(0x5a)]))return _0x56f974[_0x3f09(0x5b)];else{const _0x5a9792=new _0x29874e(),_0x48cbfe=new _0x1e946c(_0x579cee);return _0x56f974['DWibH'](_0x5a9792['getFullYear'](),_0x48cbfe[_0x3f09(0x18)]())&&_0x5a9792[_0x3f09(0x19)]()===_0x48cbfe[_0x3f09(0x19)]()&&_0x56f974[_0x3f09(0x5c)](_0x5a9792['getDate'](),_0x48cbfe[_0x3f09(0x1a)]());}}return _0x56f974[_0x3f09(0x5d)];};export const getDaysUntilEvent=_0x5b7f1c=>{const _0x444979={'FlPQs':_0x3f09(0x5e),'xMbbu':function(_0x321b4e,_0x5ac8c5){return _0x321b4e-_0x5ac8c5;},'eGCbY':function(_0x3b73cc,_0x41a1df){return _0x3b73cc/_0x41a1df;},'eotvC':function(_0x26b2be,_0x2a69aa){return _0x26b2be*_0x2a69aa;}};try{if(_0x444979[_0x3f09(0x5f)]!==_0x444979[_0x3f09(0x5f)]){const _0x340f08=_0x8a695a[_0x3f09(0x60)](_0x460a99=>_0x460a99[_0x3f09(0x61)]||[]);return _0xd37dce['from'](new _0x22d137(_0x340f08))['sort']();}else{const _0xcbe867=new Date(),_0x293289=new Date(_0x5b7f1c);_0xcbe867[_0x3f09(0x25)](0x0,0x0,0x0,0x0),_0x293289['setHours'](0x0,0x0,0x0,0x0);const _0x598888=_0x444979['xMbbu'](_0x293289[_0x3f09(0x26)](),_0xcbe867[_0x3f09(0x26)]()),_0xe17526=Math[_0x3f09(0x27)](_0x444979[_0x3f09(0x62)](_0x598888,_0x444979[_0x3f09(0x63)](0x3e8*0x3c*0x3c,0x18)));return _0xe17526;}}catch(_0x5a40b6){return 0x0;}};export const sortEventsByDate=_0x59d99c=>{const _0x2afadd={'VqVbA':_0x3f09(0x2b),'TAJai':function(_0x1ade50,_0x5b62fc){return _0x1ade50<_0x5b62fc;},'QnafP':function(_0x1a6d9e,_0x4b3771){return _0x1a6d9e<_0x4b3771;},'Mstfq':function(_0xabe44a,_0x577e9c){return _0xabe44a&&_0x577e9c;},'PtALb':function(_0x958c6c,_0x218bd4){return _0x958c6c&&_0x218bd4;},'SylyQ':function(_0x3706c4,_0x1b1274){return _0x3706c4&&_0x1b1274;},'NSoRM':function(_0x85703d,_0xe3ea71){return _0x85703d!==_0xe3ea71;},'uKuPZ':_0x3f09(0x64),'gXOIE':function(_0x3b3eb7,_0x64924e){return _0x3b3eb7-_0x64924e;},'soHqG':function(_0x37138d,_0x149648){return _0x37138d-_0x149648;}};return _0x59d99c[_0x3f09(0x65)]((_0x4a3c72,_0x5bac50)=>{const _0x35745d={'oXXdp':_0x2afadd[_0x3f09(0x66)]};if(_0x4a3c72[_0x3f09(0x4e)]&&!_0x5bac50[_0x3f09(0x4e)])return-0x1;if(!_0x4a3c72[_0x3f09(0x4e)]&&_0x5bac50['isActive'])return 0x1;const _0x31db94=new Date(_0x4a3c72['eventDate']),_0x3a03b9=new Date(_0x5bac50[_0x3f09(0x4f)]),_0x1f7d11=new Date(),_0x29215c=_0x2afadd[_0x3f09(0x67)](_0x31db94,_0x1f7d11),_0x4e49bf=_0x2afadd[_0x3f09(0x68)](_0x3a03b9,_0x1f7d11);if(_0x2afadd[_0x3f09(0x69)](_0x29215c,!_0x4e49bf))return 0x1;if(_0x2afadd['PtALb'](!_0x29215c,_0x4e49bf))return-0x1;return _0x2afadd[_0x3f09(0x6a)](_0x29215c,_0x4e49bf)?_0x2afadd[_0x3f09(0x6b)](_0x3f09(0x6c),_0x2afadd[_0x3f09(0x6d)])?_0x2afadd[_0x3f09(0x6e)](_0x3a03b9[_0x3f09(0x26)](),_0x31db94[_0x3f09(0x26)]()):{'isValid':![],'error':_0x35745d[_0x3f09(0x6f)]}:_0x2afadd[_0x3f09(0x70)](_0x31db94[_0x3f09(0x26)](),_0x3a03b9[_0x3f09(0x26)]());});};export const filterEventsBySearch=(_0x2c173e,_0x301b02)=>{const _0x37c231={'eMeFR':function(_0x5458e2,_0x51c73c){return _0x5458e2>_0x51c73c;},'oZJQd':function(_0x353936,_0x5599d9){return _0x353936*_0x5599d9;},'hjdKJ':function(_0x42b9d2,_0x2773f){return _0x42b9d2===_0x2773f;},'GfhmJ':function(_0x2e1d6a,_0x2cc16c){return _0x2e1d6a===_0x2cc16c;},'IacKT':_0x3f09(0x71),'MFCut':'VvQoR'};if(!_0x301b02['trim']()){if(_0x37c231[_0x3f09(0x72)]!==_0x37c231[_0x3f09(0x73)])return _0x2c173e;else{const _0x9c8dd9=_0x211379[_0x3f09(0x8)],_0x5acf27=_0x28909d[_0x3f09(0x13)](_0x56d799=>_0x56d799[_0x3f09(0x4e)])[_0x3f09(0x8)],_0x2ce260=_0x9c8dd9-_0x5acf27,_0x11c77f=_0x78c3f4[_0x3f09(0x74)]((_0x34b481,_0x150668)=>_0x34b481+_0x150668[_0x3f09(0x75)],0x0),_0x4d9b8d=_0x468f10['reduce']((_0x122d8c,_0xa649b8)=>_0x122d8c+_0xa649b8[_0x3f09(0x76)],0x0),_0x214a66=_0xc6d8f5[_0x3f09(0x13)](_0x436f83=>_0x436f83[_0x3f09(0x4e)]&&!_0x582a2e(_0x436f83[_0x3f09(0x4f)]))[_0x3f09(0x8)],_0x5b2801=_0x157155['filter'](_0x10b362=>_0x2b06e6(_0x10b362[_0x3f09(0x4f)]))[_0x3f09(0x8)],_0x54085a=_0x19b166[_0x3f09(0x13)](_0x5c5a52=>_0x5c5a52[_0x3f09(0x4e)]&&_0x5c709e(_0x5c5a52['eventDate']))['length'];return{'total':_0x9c8dd9,'active':_0x5acf27,'inactive':_0x2ce260,'upcoming':_0x214a66,'past':_0x5b2801,'today':_0x54085a,'totalAttendees':_0x11c77f,'totalCapacity':_0x4d9b8d,'averageAttendance':_0x37c231[_0x3f09(0x77)](_0x4d9b8d,0x0)?_0x50b97f[_0x3f09(0x78)](_0x37c231[_0x3f09(0x79)](_0x11c77f/_0x4d9b8d,0x64)):0x0};}}const _0x1a65c5=_0x301b02[_0x3f09(0x7a)]()['trim']();return _0x2c173e[_0x3f09(0x13)](_0x199f8d=>{var _0x2b8218,_0x5f1525,_0x4cc523;return _0x199f8d[_0x3f09(0x7b)]['toLowerCase']()['includes'](_0x1a65c5)||_0x199f8d[_0x3f09(0x7c)][_0x3f09(0x7a)]()[_0x3f09(0x7d)](_0x1a65c5)||_0x199f8d[_0x3f09(0x7e)][_0x3f09(0x7a)]()['includes'](_0x1a65c5)||(_0x37c231[_0x3f09(0x7f)](_0x2b8218=_0x199f8d[_0x3f09(0x80)],null)||_0x37c231[_0x3f09(0x7f)](_0x2b8218,void 0x0)?void 0x0:_0x2b8218[_0x3f09(0x7a)]()[_0x3f09(0x7d)](_0x1a65c5))||((_0x5f1525=_0x199f8d['organizer'])===null||_0x37c231[_0x3f09(0x7f)](_0x5f1525,void 0x0)?void 0x0:_0x5f1525[_0x3f09(0x7a)]()[_0x3f09(0x7d)](_0x1a65c5))||(_0x37c231[_0x3f09(0x7f)](_0x4cc523=_0x199f8d[_0x3f09(0x61)],null)||_0x37c231[_0x3f09(0x81)](_0x4cc523,void 0x0)?void 0x0:_0x4cc523['some'](_0x5c42ca=>_0x5c42ca['toLowerCase']()[_0x3f09(0x7d)](_0x1a65c5)));});};export const getUniqueEventTags=_0x1e2e53=>{const _0x245a86=_0x1e2e53[_0x3f09(0x60)](_0x12bac4=>_0x12bac4[_0x3f09(0x61)]||[]);return Array[_0x3f09(0x82)](new Set(_0x245a86))[_0x3f09(0x65)]();};export const calculateEventStats=_0x1aaed6=>{const _0x5953fa={'OskTG':function(_0x181131,_0x340260){return _0x181131-_0x340260;},'zaZqB':function(_0x1e4290,_0x5b4cdf){return _0x1e4290>_0x5b4cdf;},'egnWu':function(_0x527bfe,_0x86190){return _0x527bfe*_0x86190;},'ZLfvd':function(_0x24b8cb,_0x51238d){return _0x24b8cb/_0x51238d;}},_0x5f3279=_0x1aaed6[_0x3f09(0x8)],_0x8c892f=_0x1aaed6[_0x3f09(0x13)](_0x124fac=>_0x124fac[_0x3f09(0x4e)])['length'],_0x35e3d9=_0x5953fa[_0x3f09(0x83)](_0x5f3279,_0x8c892f),_0x17ca21=_0x1aaed6[_0x3f09(0x74)]((_0x2ea55a,_0x195fe4)=>_0x2ea55a+_0x195fe4[_0x3f09(0x75)],0x0),_0x2a42c9=_0x1aaed6['reduce']((_0x598bb4,_0x2c9d60)=>_0x598bb4+_0x2c9d60['maxAttendees'],0x0),_0x3d261c=_0x1aaed6[_0x3f09(0x13)](_0xab209=>_0xab209[_0x3f09(0x4e)]&&!isEventPast(_0xab209['eventDate']))[_0x3f09(0x8)],_0x4cc2b1=_0x1aaed6[_0x3f09(0x13)](_0x39ccbe=>isEventPast(_0x39ccbe[_0x3f09(0x4f)]))['length'],_0x3d0e85=_0x1aaed6['filter'](_0x5021f3=>_0x5021f3[_0x3f09(0x4e)]&&isEventToday(_0x5021f3[_0x3f09(0x4f)]))[_0x3f09(0x8)];return{'total':_0x5f3279,'active':_0x8c892f,'inactive':_0x35e3d9,'upcoming':_0x3d261c,'past':_0x4cc2b1,'today':_0x3d0e85,'totalAttendees':_0x17ca21,'totalCapacity':_0x2a42c9,'averageAttendance':_0x5953fa[_0x3f09(0x84)](_0x2a42c9,0x0)?Math[_0x3f09(0x78)](_0x5953fa[_0x3f09(0x85)](_0x5953fa[_0x3f09(0x86)](_0x17ca21,_0x2a42c9),0x64)):0x0};};
|
|
1
|
+
export const generateEventCode=(_0x3c213c=0x6)=>{const _0x4f3488={'tcJbs':'ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789','BIZzI':function(_0x3b4d62,_0x1903ed){return _0x3b4d62<_0x1903ed;}},_0x1bb70f=_0x4f3488[_0x2028(0x0)];let _0x17657b='';for(let _0x1b28db=0x0;_0x4f3488[_0x2028(0x1)](_0x1b28db,_0x3c213c);_0x1b28db++){_0x17657b+=_0x1bb70f[_0x2028(0x2)](Math['floor'](Math[_0x2028(0x3)]()*_0x1bb70f['length']));}return _0x17657b;};export const generateSmartEventCode=_0x4d7b92=>{const _0x8692ed={'JKvRY':function(_0xe3e4db,_0x530de5){return _0xe3e4db-_0x530de5;},'QalGj':function(_0x3b06c8,_0x5a7758){return _0x3b06c8===_0x5a7758;},'BYpux':function(_0x305b8a,_0x179440){return _0x305b8a===_0x179440;},'LIOEn':function(_0x30fbb1){return _0x30fbb1();},'ezbPh':function(_0x1e622b,_0x1c7a36){return _0x1e622b===_0x1c7a36;},'CSMwC':function(_0x318902,_0x44ea60){return _0x318902!==_0x44ea60;},'FJCap':_0x2028(0x4),'CcyeS':function(_0x5efa7d,_0x12e1db){return _0x5efa7d>=_0x12e1db;},'SJfJd':_0x2028(0x5),'psDmd':function(_0xcb9598,_0x106c6f){return _0xcb9598<_0x106c6f;},'zWNRy':function(_0x56454a,_0x4ef244){return _0x56454a(_0x4ef244);}};if(!_0x4d7b92['trim']())return _0x8692ed[_0x2028(0x6)](generateEventCode);const _0x5657b1=_0x4d7b92['trim']()[_0x2028(0x7)]()[_0x2028(0x8)](/[^A-Z0-9\s]/g,'')['split'](/\s+/)[_0x2028(0x9)](_0xf9e2eb=>_0xf9e2eb[_0x2028(0xa)]>0x0);if(_0x8692ed[_0x2028(0xb)](_0x5657b1['length'],0x0))return _0x8692ed[_0x2028(0xc)](_0x8692ed[_0x2028(0xd)],_0x8692ed[_0x2028(0xd)])?_0x8692ed[_0x2028(0xe)](_0x2dcf13['getTime'](),_0x4858c8['getTime']()):_0x8692ed['LIOEn'](generateEventCode);let _0x5a7ba6='';if(_0x8692ed['CcyeS'](_0x5657b1[_0x2028(0xa)],0x2)){const _0x147c88=_0x5657b1[_0x2028(0xf)](0x0,0x3);_0x5a7ba6=_0x147c88[_0x2028(0x10)](_0x5f2d72=>_0x5f2d72['substring'](0x0,0x2))[_0x2028(0x11)]('');}else{if(_0x8692ed[_0x2028(0xc)](_0x8692ed[_0x2028(0x12)],_0x8692ed[_0x2028(0x12)])){var _0x3788d3,_0x5b7856,_0x39db3b;return _0x78d5a2['title']['toLowerCase']()[_0x2028(0x13)](_0x2f413e)||_0x4b88c5[_0x2028(0x14)][_0x2028(0x15)]()[_0x2028(0x13)](_0x5e79a9)||_0xf0bea1['code'][_0x2028(0x15)]()[_0x2028(0x13)](_0xf5e2a9)||(_0x8692ed[_0x2028(0x16)](_0x3788d3=_0x4f7784[_0x2028(0x17)],null)||_0x8692ed[_0x2028(0x18)](_0x3788d3,void 0x0)?void 0x0:_0x3788d3[_0x2028(0x15)]()[_0x2028(0x13)](_0x18aa9f))||(_0x8692ed[_0x2028(0x18)](_0x5b7856=_0x53bd6b[_0x2028(0x19)],null)||_0x8692ed[_0x2028(0x16)](_0x5b7856,void 0x0)?void 0x0:_0x5b7856[_0x2028(0x15)]()['includes'](_0x5bdb11))||(_0x8692ed[_0x2028(0x16)](_0x39db3b=_0x31cf4f['tags'],null)||_0x39db3b===void 0x0?void 0x0:_0x39db3b['some'](_0x4a301e=>_0x4a301e['toLowerCase']()[_0x2028(0x13)](_0x3a156d)));}else _0x5a7ba6=_0x5657b1[0x0][_0x2028(0x1a)](0x0,0x4);}const _0x55d859=new Date()[_0x2028(0x1b)]()[_0x2028(0x1c)]()['slice'](-0x2);_0x5a7ba6+=_0x55d859;if(_0x8692ed[_0x2028(0x1d)](_0x5a7ba6[_0x2028(0xa)],0x4))_0x5a7ba6+=_0x8692ed[_0x2028(0x1e)](generateEventCode,_0x8692ed[_0x2028(0xe)](0x4,_0x5a7ba6[_0x2028(0xa)]));else _0x5a7ba6[_0x2028(0xa)]>0x8&&(_0x5a7ba6=_0x5a7ba6['substring'](0x0,0x8));return _0x5a7ba6;};export const validateEventCode=_0x103d79=>{const _0x5c39ea={'yWltE':_0x2028(0x1f),'GMgBv':_0x2028(0x20),'LCIAN':_0x2028(0x21),'zlBKK':'Event\x20code\x20is\x20required','cSmaf':_0x2028(0x22),'oqyya':function(_0x4f0aa7,_0x20de49){return _0x4f0aa7>_0x20de49;},'tysWQ':_0x2028(0x23)};if(!_0x103d79||!_0x103d79[_0x2028(0x24)]())return{'isValid':![],'error':_0x5c39ea[_0x2028(0x25)]};const _0x1c80f2=_0x103d79[_0x2028(0x24)]()[_0x2028(0x7)]();if(_0x1c80f2[_0x2028(0xa)]<0x3){if(_0x2028(0x26)!==_0x2028(0x26))try{const _0x28e168=new _0x1e1d46(_0x92c1ba);return _0x28e168[_0x2028(0x27)](_0x5c39ea['yWltE'],{'weekday':_0x5c39ea[_0x2028(0x28)],'year':_0x5c39ea[_0x2028(0x29)],'month':_0x5c39ea[_0x2028(0x28)],'day':_0x5c39ea[_0x2028(0x29)]});}catch(_0x5bab98){return _0x5ff958;}else return{'isValid':![],'error':_0x5c39ea[_0x2028(0x2a)]};}if(_0x5c39ea[_0x2028(0x2b)](_0x1c80f2[_0x2028(0xa)],0xa))return{'isValid':![],'error':'Event\x20code\x20must\x20be\x2010\x20characters\x20or\x20less'};if(!/^[A-Z0-9]+$/[_0x2028(0x2c)](_0x1c80f2))return{'isValid':![],'error':_0x5c39ea['tysWQ']};return{'isValid':!![]};};function _0x2028(_0x235131,_0x202836){_0x235131=_0x235131-0x0;const _0x531bc6=_0x2351();let _0x57b696=_0x531bc6[_0x235131];return _0x57b696;}export const formatEventDate=_0x4ed3d9=>{const _0x107b11={'YwTNy':'en-US','qqvVG':_0x2028(0x20),'KxbkQ':_0x2028(0x21)};try{const _0x2fd607=new Date(_0x4ed3d9);return _0x2fd607[_0x2028(0x27)](_0x107b11[_0x2028(0x2d)],{'weekday':_0x107b11['qqvVG'],'year':_0x107b11[_0x2028(0x2e)],'month':_0x107b11[_0x2028(0x2f)],'day':_0x107b11[_0x2028(0x2e)]});}catch(_0x35fcb1){return _0x4ed3d9;}};export const isEventToday=_0x3cef99=>{try{const _0x4ee1db=new Date(),_0x42099a=new Date(_0x3cef99);return _0x4ee1db[_0x2028(0x1b)]()===_0x42099a[_0x2028(0x1b)]()&&_0x4ee1db[_0x2028(0x30)]()===_0x42099a[_0x2028(0x30)]()&&_0x4ee1db['getDate']()===_0x42099a[_0x2028(0x31)]();}catch(_0x4e3d60){return![];}};export const isEventPast=_0x22fc7a=>{const _0x105fcd={'heGqW':function(_0x4d2e23,_0x587ddb){return _0x4d2e23<_0x587ddb;},'cKTIR':function(_0x48529c,_0x3c4b08){return _0x48529c<_0x3c4b08;},'EtCVr':function(_0x13651d,_0x3a742a){return _0x13651d!==_0x3a742a;},'jkudR':'SyXQR'};try{const _0x578e93=new Date(),_0x1b95dd=new Date(_0x22fc7a);return _0x578e93[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x1b95dd[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x105fcd[_0x2028(0x33)](_0x1b95dd,_0x578e93);}catch(_0x461184){if(_0x105fcd[_0x2028(0x34)](_0x105fcd[_0x2028(0x35)],_0x2028(0x36)))try{const _0x5277c5=new _0x148e66(),_0x2a56c9=new _0xedcbc9(_0xeb9031);return _0x5277c5[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x2a56c9[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x105fcd[_0x2028(0x37)](_0x2a56c9,_0x5277c5);}catch(_0x5a2e08){return![];}else return![];}};export const getEventStatus=(_0x2d56cd,_0x50ede9)=>{const _0x388d66={'AGicP':_0x2028(0x38),'zGial':_0x2028(0x39),'pyHFL':function(_0x412b2b,_0x243a15){return _0x412b2b===_0x243a15;},'GTodj':_0x2028(0x3a),'cfaHR':'Wqbmq','wKRBP':_0x2028(0x3b),'vwtYB':function(_0x5c6618,_0x188e9a){return _0x5c6618(_0x188e9a);},'AazfL':'Today','cNpyq':_0x2028(0x3c)};if(!_0x50ede9)return _0x388d66[_0x2028(0x3d)];if(isEventPast(_0x2d56cd))return _0x388d66[_0x2028(0x3e)](_0x388d66[_0x2028(0x3f)],_0x388d66[_0x2028(0x40)])?{'isValid':![],'error':_0x388d66[_0x2028(0x41)]}:_0x388d66[_0x2028(0x42)];if(_0x388d66['vwtYB'](isEventToday,_0x2d56cd))return _0x388d66[_0x2028(0x43)];return _0x388d66['cNpyq'];};export const getDaysUntilEvent=_0x4d3dd1=>{const _0x470d3d={'aSLgi':function(_0x3af6b6,_0xf118ad){return _0x3af6b6/_0xf118ad;},'KMzZP':function(_0x2d1a86,_0x3e5643){return _0x2d1a86*_0x3e5643;},'QHIkI':function(_0x3e85f4,_0x5cdaac){return _0x3e85f4*_0x5cdaac;},'YDcxL':function(_0x5e7f87,_0x16d733){return _0x5e7f87-_0x16d733;},'TYYJG':function(_0x57a2f1,_0x2694c1){return _0x57a2f1*_0x2694c1;},'ceddb':function(_0x13ee21,_0x5fe3bd){return _0x13ee21*_0x5fe3bd;},'lTxQU':function(_0x94ad3c,_0x37f1f4){return _0x94ad3c===_0x37f1f4;},'ImBiu':_0x2028(0x44)};try{const _0x3d8a4e=new Date(),_0x184230=new Date(_0x4d3dd1);_0x3d8a4e[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x184230[_0x2028(0x32)](0x0,0x0,0x0,0x0);const _0x414f24=_0x470d3d[_0x2028(0x45)](_0x184230[_0x2028(0x46)](),_0x3d8a4e[_0x2028(0x46)]()),_0x10db21=Math['ceil'](_0x414f24/_0x470d3d[_0x2028(0x47)](_0x470d3d[_0x2028(0x48)](_0x470d3d[_0x2028(0x49)](0x3e8,0x3c),0x3c),0x18));return _0x10db21;}catch(_0x44f441){if(_0x470d3d[_0x2028(0x4a)](_0x470d3d[_0x2028(0x4b)],_0x470d3d[_0x2028(0x4b)]))return 0x0;else try{const _0x4791f2=new _0x185d92(),_0x16f84c=new _0x24a9f4(_0x1ea263);_0x4791f2[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x16f84c['setHours'](0x0,0x0,0x0,0x0);const _0xac2086=_0x16f84c[_0x2028(0x46)]()-_0x4791f2[_0x2028(0x46)](),_0x5e9dec=_0x4d9cd6[_0x2028(0x4c)](_0x470d3d[_0x2028(0x4d)](_0xac2086,_0x470d3d[_0x2028(0x4e)](_0x470d3d[_0x2028(0x4e)](_0x470d3d[_0x2028(0x47)](0x3e8,0x3c),0x3c),0x18)));return _0x5e9dec;}catch(_0x37c018){return 0x0;}}};export const sortEventsByDate=_0xfe0d69=>{const _0x155005={'gEtXs':function(_0x255017,_0xc468db){return _0x255017(_0xc468db);},'LxXMX':'Today','claUk':_0x2028(0x3c),'xqccs':function(_0x57fa6c,_0x56241a){return _0x57fa6c<_0x56241a;},'EmTuP':function(_0x375910,_0x3629cb){return _0x375910&&_0x3629cb;},'ZYGDv':function(_0x1d6e4b,_0x22b7cc){return _0x1d6e4b-_0x22b7cc;},'glJty':_0x2028(0x4f),'VXkNA':function(_0xf0708a,_0x2994f9){return _0xf0708a<_0x2994f9;},'jmoLC':function(_0x50884e,_0x1f80e7){return _0x50884e&&_0x1f80e7;},'TQheT':function(_0x1f7616,_0x557996){return _0x1f7616-_0x557996;},'UXbSH':function(_0x330ea8,_0x5239d2){return _0x330ea8!==_0x5239d2;},'cicpz':_0x2028(0x50)};return _0xfe0d69[_0x2028(0x51)]((_0x3ebef5,_0x3da0a)=>{const _0x1a4aa8={'pJove':function(_0x5235da,_0x2d1795){return _0x155005[_0x2028(0x52)](_0x5235da,_0x2d1795);},'cJKSc':function(_0x18a4ab,_0xfa60de){return _0x18a4ab&&_0xfa60de;},'XYGSa':function(_0xc0545a,_0x86fd56){return _0x155005['EmTuP'](_0xc0545a,_0x86fd56);},'yBYwl':function(_0x173f9c,_0x3a5939){return _0x173f9c&&_0x3a5939;},'kzhre':function(_0x104297,_0x2f6677){return _0x155005[_0x2028(0x53)](_0x104297,_0x2f6677);}};if(_0x155005[_0x2028(0x54)]!==_0x155005[_0x2028(0x54)]){if(!_0x5334de)return _0x2028(0x39);if(_0x155005[_0x2028(0x55)](_0x28ff91,_0x2465ad))return _0x2028(0x3b);if(_0x155005[_0x2028(0x55)](_0x78d460,_0x1088ea))return _0x155005[_0x2028(0x56)];return _0x155005[_0x2028(0x57)];}else{if(_0x3ebef5['isActive']&&!_0x3da0a[_0x2028(0x58)])return-0x1;if(!_0x3ebef5[_0x2028(0x58)]&&_0x3da0a[_0x2028(0x58)])return 0x1;const _0x43b0c7=new Date(_0x3ebef5[_0x2028(0x59)]),_0x44f8ec=new Date(_0x3da0a[_0x2028(0x59)]),_0x535760=new Date(),_0x5d58ec=_0x155005[_0x2028(0x5a)](_0x43b0c7,_0x535760),_0x11d0e7=_0x155005[_0x2028(0x5a)](_0x44f8ec,_0x535760);if(_0x5d58ec&&!_0x11d0e7)return 0x1;if(_0x155005[_0x2028(0x5b)](!_0x5d58ec,_0x11d0e7))return-0x1;if(_0x155005[_0x2028(0x5c)](_0x5d58ec,_0x11d0e7))return _0x155005[_0x2028(0x5d)](_0x44f8ec[_0x2028(0x46)](),_0x43b0c7[_0x2028(0x46)]());else{if(_0x155005[_0x2028(0x5e)](_0x2028(0x50),_0x155005[_0x2028(0x5f)])){if(_0x561229['isActive']&&!_0x28170a['isActive'])return-0x1;if(!_0x155369['isActive']&&_0x536376[_0x2028(0x58)])return 0x1;const _0x51bcb5=new _0x35aa67(_0x52b697['eventDate']),_0x64582=new _0x190ffa(_0x52d962[_0x2028(0x59)]),_0x22b293=new _0x2972a5(),_0x3bbbfd=_0x1a4aa8[_0x2028(0x60)](_0x51bcb5,_0x22b293),_0x32e823=_0x64582<_0x22b293;if(_0x1a4aa8[_0x2028(0x61)](_0x3bbbfd,!_0x32e823))return 0x1;if(_0x1a4aa8[_0x2028(0x62)](!_0x3bbbfd,_0x32e823))return-0x1;return _0x1a4aa8[_0x2028(0x63)](_0x3bbbfd,_0x32e823)?_0x64582[_0x2028(0x46)]()-_0x51bcb5[_0x2028(0x46)]():_0x1a4aa8['kzhre'](_0x51bcb5['getTime'](),_0x64582[_0x2028(0x46)]());}else return _0x155005[_0x2028(0x53)](_0x43b0c7[_0x2028(0x46)](),_0x44f8ec[_0x2028(0x46)]());}}});};export const filterEventsBySearch=(_0x636221,_0x25c8f4)=>{const _0x24c22c={'WEkbv':function(_0x2149c1,_0x214a06){return _0x2149c1<_0x214a06;},'hkBSt':function(_0x2d3bd2,_0x4c8e78){return _0x2d3bd2===_0x4c8e78;},'SLmRP':function(_0x4135dc,_0x3338c5){return _0x4135dc===_0x3338c5;},'lVdZM':function(_0x53e358,_0x3bce5c){return _0x53e358===_0x3bce5c;},'QipUC':'JwEpV'};if(!_0x25c8f4[_0x2028(0x24)]()){if(_0x2028(0x64)!==_0x24c22c[_0x2028(0x65)]){const _0x5d9ad5=new _0x23e1bc(),_0x4e9673=new _0x316d63(_0x39f0b3);return _0x5d9ad5[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x4e9673[_0x2028(0x32)](0x0,0x0,0x0,0x0),_0x24c22c[_0x2028(0x66)](_0x4e9673,_0x5d9ad5);}else return _0x636221;}const _0x3b90a7=_0x25c8f4[_0x2028(0x15)]()[_0x2028(0x24)]();return _0x636221[_0x2028(0x9)](_0x3d6684=>{var _0x181479,_0x2f5d13,_0x5ba610;return _0x3d6684['title'][_0x2028(0x15)]()[_0x2028(0x13)](_0x3b90a7)||_0x3d6684[_0x2028(0x14)]['toLowerCase']()[_0x2028(0x13)](_0x3b90a7)||_0x3d6684['code'][_0x2028(0x15)]()[_0x2028(0x13)](_0x3b90a7)||(_0x24c22c[_0x2028(0x67)](_0x181479=_0x3d6684[_0x2028(0x17)],null)||_0x24c22c[_0x2028(0x68)](_0x181479,void 0x0)?void 0x0:_0x181479[_0x2028(0x15)]()[_0x2028(0x13)](_0x3b90a7))||((_0x2f5d13=_0x3d6684['organizer'])===null||_0x2f5d13===void 0x0?void 0x0:_0x2f5d13['toLowerCase']()[_0x2028(0x13)](_0x3b90a7))||(_0x24c22c[_0x2028(0x69)](_0x5ba610=_0x3d6684[_0x2028(0x6a)],null)||_0x24c22c[_0x2028(0x69)](_0x5ba610,void 0x0)?void 0x0:_0x5ba610[_0x2028(0x6b)](_0x4652a6=>_0x4652a6[_0x2028(0x15)]()[_0x2028(0x13)](_0x3b90a7)));});};export const getUniqueEventTags=_0x407fe4=>{const _0x74c99a=_0x407fe4[_0x2028(0x6c)](_0x389b2b=>_0x389b2b[_0x2028(0x6a)]||[]);return Array[_0x2028(0x6d)](new Set(_0x74c99a))[_0x2028(0x51)]();};function _0x2351(){const _0x4dead5=['tcJbs','BIZzI','charAt','random','zlPkE','OEtcq','LIOEn','toUpperCase','replace','filter','length','ezbPh','CSMwC','FJCap','JKvRY','slice','map','join','SJfJd','includes','description','toLowerCase','QalGj','location','BYpux','organizer','substring','getFullYear','toString','psDmd','zWNRy','en-US','long','numeric','Event\x20code\x20must\x20be\x20at\x20least\x203\x20characters','Event\x20code\x20must\x20contain\x20only\x20letters\x20and\x20numbers','trim','zlBKK','dVDZh','toLocaleDateString','GMgBv','LCIAN','cSmaf','oqyya','test','YwTNy','KxbkQ','qqvVG','getMonth','getDate','setHours','cKTIR','EtCVr','jkudR','SyXQR','heGqW','Event\x20code\x20must\x20be\x2010\x20characters\x20or\x20less','Inactive','xzeSd','Past','Upcoming','zGial','pyHFL','GTodj','cfaHR','AGicP','wKRBP','AazfL','Gateu','YDcxL','getTime','QHIkI','TYYJG','ceddb','lTxQU','ImBiu','ceil','aSLgi','KMzZP','UQkBe','LItfA','sort','xqccs','ZYGDv','glJty','gEtXs','LxXMX','claUk','isActive','eventDate','VXkNA','jmoLC','EmTuP','TQheT','UXbSH','cicpz','pJove','cJKSc','XYGSa','yBYwl','JwEpV','QipUC','WEkbv','hkBSt','SLmRP','lVdZM','tags','some','flatMap','from','QFfIJ','attendeeCount','reduce','maxAttendees','xQNWp','round','RJdzm'];_0x2351=function(){return _0x4dead5;};return _0x2351();}export const calculateEventStats=_0x497a36=>{const _0x270191={'QFfIJ':function(_0x1eac16,_0x23ad88){return _0x1eac16-_0x23ad88;},'xQNWp':function(_0xa8e381,_0x530636){return _0xa8e381>_0x530636;},'RJdzm':function(_0x26560a,_0x5ac4ac){return _0x26560a*_0x5ac4ac;},'wweLS':function(_0x1b9cbe,_0x29cd52){return _0x1b9cbe/_0x29cd52;}},_0x26a3b6=_0x497a36[_0x2028(0xa)],_0x3dd596=_0x497a36['filter'](_0x198fb1=>_0x198fb1[_0x2028(0x58)])[_0x2028(0xa)],_0x2c5222=_0x270191[_0x2028(0x6e)](_0x26a3b6,_0x3dd596),_0x2f270a=_0x497a36['reduce']((_0x46b753,_0x5bc26c)=>_0x46b753+_0x5bc26c[_0x2028(0x6f)],0x0),_0x2838a4=_0x497a36[_0x2028(0x70)]((_0x75f3a7,_0x1dff6d)=>_0x75f3a7+_0x1dff6d[_0x2028(0x71)],0x0),_0xdc61ca=_0x497a36['filter'](_0x3637f2=>_0x3637f2[_0x2028(0x58)]&&!isEventPast(_0x3637f2[_0x2028(0x59)]))['length'],_0x36f362=_0x497a36['filter'](_0xfe6809=>isEventPast(_0xfe6809[_0x2028(0x59)]))[_0x2028(0xa)],_0x4ebd18=_0x497a36[_0x2028(0x9)](_0x58baca=>_0x58baca[_0x2028(0x58)]&&isEventToday(_0x58baca[_0x2028(0x59)]))[_0x2028(0xa)];return{'total':_0x26a3b6,'active':_0x3dd596,'inactive':_0x2c5222,'upcoming':_0xdc61ca,'past':_0x36f362,'today':_0x4ebd18,'totalAttendees':_0x2f270a,'totalCapacity':_0x2838a4,'averageAttendance':_0x270191[_0x2028(0x72)](_0x2838a4,0x0)?Math[_0x2028(0x73)](_0x270191[_0x2028(0x74)](_0x270191['wweLS'](_0x2f270a,_0x2838a4),0x64)):0x0};};
|
|
@@ -5,4 +5,4 @@ var __ONAIROS_REQ_REGISTRY__ = [
|
|
|
5
5
|
require('react-native')
|
|
6
6
|
];
|
|
7
7
|
function __ONAIROS_REQ_FUNC__(i) { return __ONAIROS_REQ_REGISTRY__[i]; }
|
|
8
|
-
function
|
|
8
|
+
function _0x1fa1(){const _0x54643c=['1|0|6|5|7|4|3|2','MEDIUM','light','BUTTON_PRESS','error','success','HEAVY','heavy','WARNING','cBYzV','OTWma','XfsDP','SUCCESS','FLQBY','dZcCG','ZhBKM','oovHh','LIGHT','impactLight','impactMedium','notificationSuccess','notificationError','Haptic\x20feedback\x20not\x20available:','android','Vibration\x20not\x20available:','ios','trigger','IUKQY','aTtjf','DOWaa','RAzdo','ERROR','lEpGG','warn','zIwVj','QpAar','XHZUb','WEtdd','vibrate','VzXBi'];_0x1fa1=function(){return _0x54643c;};return _0x1fa1();}function _0x5868(_0x1fa17a,_0x5868f4){_0x1fa17a=_0x1fa17a-0x0;const _0x3e2d61=_0x1fa1();let _0x2f3da2=_0x3e2d61[_0x1fa17a];return _0x2f3da2;}import{Platform}from'react-native';export let HapticType=function(_0x8c2842){const _0x38bb41={'EjqzY':_0x5868(0x0),'uIyDP':_0x5868(0x1),'OTWma':_0x5868(0x2),'cBYzV':_0x5868(0x3),'XfsDP':_0x5868(0x4),'FLQBY':_0x5868(0x5),'dZcCG':_0x5868(0x6),'ZhBKM':_0x5868(0x7),'oovHh':_0x5868(0x8)},_0x217e59=_0x38bb41['EjqzY']['split']('|');let _0x333cbb=0x0;while(!![]){switch(_0x217e59[_0x333cbb++]){case'0':_0x8c2842[_0x38bb41['uIyDP']]='medium';continue;case'1':_0x8c2842['LIGHT']=_0x38bb41['OTWma'];continue;case'2':return _0x8c2842;case'3':_0x8c2842[_0x38bb41[_0x5868(0x9)]]=_0x38bb41[_0x5868(0xa)];continue;case'4':_0x8c2842['ERROR']=_0x38bb41[_0x5868(0xb)];continue;case'5':_0x8c2842[_0x5868(0xc)]=_0x38bb41[_0x5868(0xd)];continue;case'6':_0x8c2842[_0x38bb41[_0x5868(0xe)]]=_0x38bb41[_0x5868(0xf)];continue;case'7':_0x8c2842[_0x38bb41[_0x5868(0x10)]]='warning';continue;}break;}}({});export const triggerHaptic=(_0x5d9712=HapticType[_0x5868(0x11)])=>{const _0xf5b250={'zOlra':function(_0x398117,_0x12e0d2){return _0x398117(_0x12e0d2);},'IUKQY':_0x5868(0x12),'aTtjf':_0x5868(0x13),'DOWaa':'impactHeavy','RAzdo':_0x5868(0x14),'bdXma':'notificationWarning','lEpGG':_0x5868(0x15),'zIwVj':_0x5868(0x16),'hCTFV':_0x5868(0x17),'QpAar':function(_0x3e0e41,_0x8667a9){return _0x3e0e41!==_0x8667a9;},'XHZUb':'JVvtQ','WEtdd':'CDsVl','VzXBi':_0x5868(0x18)};if(Platform['OS']===_0x5868(0x19))try{const _0x16626e=__ONAIROS_REQ_FUNC__(0x0),_0x3f9929={'enableVibrateFallback':!![],'ignoreAndroidSystemSettings':![]};switch(_0x5d9712){case HapticType[_0x5868(0x11)]:_0x16626e[_0x5868(0x1a)](_0xf5b250[_0x5868(0x1b)],_0x3f9929);break;case HapticType[_0x5868(0x1)]:_0x16626e['trigger'](_0xf5b250[_0x5868(0x1c)],_0x3f9929);break;case HapticType[_0x5868(0x6)]:_0x16626e[_0x5868(0x1a)](_0xf5b250[_0x5868(0x1d)],_0x3f9929);break;case HapticType['SUCCESS']:_0x16626e[_0x5868(0x1a)](_0xf5b250[_0x5868(0x1e)],_0x3f9929);break;case HapticType[_0x5868(0x8)]:_0x16626e[_0x5868(0x1a)](_0xf5b250['bdXma'],_0x3f9929);break;case HapticType[_0x5868(0x1f)]:_0x16626e[_0x5868(0x1a)](_0xf5b250[_0x5868(0x20)],_0x3f9929);break;default:_0x16626e['trigger'](_0xf5b250[_0x5868(0x1b)],_0x3f9929);}}catch(_0x196bfe){console[_0x5868(0x21)](_0xf5b250[_0x5868(0x22)],_0x196bfe);}else{if(Platform['OS']===_0xf5b250['hCTFV'])try{if(_0xf5b250[_0x5868(0x23)](_0xf5b250[_0x5868(0x24)],_0xf5b250[_0x5868(0x25)])){const {Vibration:_0x19744f}=_0xf5b250['zOlra'](__ONAIROS_REQ_FUNC__,0x1);_0x19744f[_0x5868(0x26)](0x32);}else{const {Vibration:_0x38e96}=_0xf5b250['zOlra'](_0x22d977,0x1);_0x38e96[_0x5868(0x26)](0x32);}}catch(_0x1c1f9b){console[_0x5868(0x21)](_0xf5b250[_0x5868(0x27)],_0x1c1f9b);}}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5d97(){const _0x163f08=['Check\x20internet\x20connection\x20on\x20device','UVIym','═══════════════════════════════════════════','PMcSL','https://www.google.com','HEAD','2|3|1|0|4','diagnostic_test','youtube','\x0a⚠️\x20SOME\x20TESTS\x20FAILED\x20-\x20See\x20recommendations\x20below:','ios','iOS:\x20Add\x20NSAppTransportSecurity\x20to\x20Info.plist','iOS:\x20Try\x20on\x20physical\x20device\x20instead\x20of\x20simulator','Device\x20has\x20no\x20internet\x20-\x20check\x20WiFi/cellular','\x0a═══════════════════════════════════════════','log','jxCVN','hBDyb','toISOString','Version','📱\x20Platform:\x20','───────────────────────────────────────────','XNJlW','ZiFBG','iotVl','now','DZvAT','vngdi','vAOLG','tests','rawResults','\x20\x20\x20✅\x20PASS\x20-\x20Google\x20reachable\x20(','ms)','recommendations','push','mYkhi','google','message','Google\x20unreachable:\x20','\x20\x20\x20❌\x20FAIL\x20-\x20','OHfjv','split','\x0a🧪\x20Test\x202:\x20API\x20Reachability\x20(API\x20server/health)','YKqRh','text','catch','Unable\x20to\x20read','apiReachable','apiHealth','status','substring','\x20\x20\x20✅\x20PASS\x20-\x20API\x20reachable\x20(','\x20\x20\x20⚠️\x20PARTIAL\x20-\x20API\x20responded\x20with\x20','API\x20returned\x20status\x20','FDqEc','neaWB','1|4|3|2|0','googleReachable','tWBJA','\x20\x20\x20','REVON','/youtube/authorize','stringify','JTGXH','ccagJ','apiPost','apiPostWorks','parse','youtubeURL','youtubeOAuthWorks','\x20\x20\x20✅\x20BONUS\x20-\x20Got\x20YouTube\x20OAuth\x20URL!','POST\x20request\x20failed:\x20','\x0a───────────────────────────────────────────','📋\x20SUMMARY','FWfSJ','values','keys','length','\x0aTests\x20Passed:\x20','YjszU','DhKYE','uGDBp','fUrFu','zsfoF','olcWI','lnZFR','dBzUu','myOhg','Czhme','forEach','QvKet','Full\x20results\x20object\x20logged\x20below\x20for\x20debugging:','0|4|2|1|3','QCFwI','gbdzd','oJeNq','BASE_URL','/health','BNzbC','vfhNf','rXpaS','errors','api_unreachable','GxUbP','GYdGe','offline','ZRjfv','ztIYD','xEIsU','APQDu','AtbQR','ynafU','MAtrC'];_0x5d97=function(){return _0x163f08;};return _0x5d97();}import{Platform}from'react-native';import{API_CONFIG}from'../config/api';export const runFullDiagnostics=async()=>{const _0x20d5a8={'mYkhi':_0x556a(0x0),'FqIqy':function(_0x4f8cea,_0x1f17e2){return _0x4f8cea+_0x1f17e2;},'tWBJA':'Internet\x20works\x20but\x20API\x20blocked.\x20Check:\x20VPN,\x20Firewall,\x20iOS\x20ATS\x20settings','YjszU':function(_0x510f79,_0x1648fa){return _0x510f79===_0x1648fa;},'QvKet':_0x556a(0x1),'jxCVN':_0x556a(0x2),'hBDyb':'🔍\x20ONAIROS\x20SDK\x20NETWORK\x20DIAGNOSTICS','XNJlW':'\x0a🧪\x20Test\x201:\x20Internet\x20Connectivity\x20(google.com)','ZiFBG':'zBIOE','iotVl':_0x556a(0x3),'ZcTgp':function(_0x11c967,_0x1b4faa,_0x1e7dca){return _0x11c967(_0x1b4faa,_0x1e7dca);},'DZvAT':_0x556a(0x4),'vngdi':_0x556a(0x5),'vAOLG':function(_0x3f0221,_0x4fc8bb){return _0x3f0221-_0x4fc8bb;},'OHfjv':_0x556a(0x6),'YKqRh':function(_0x5d0aaa,_0x426324,_0x22c39c){return _0x5d0aaa(_0x426324,_0x22c39c);},'FDqEc':function(_0x38b102,_0x563cf4){return _0x38b102!==_0x563cf4;},'neaWB':'xXvww','REVON':function(_0x74eb6e,_0x482118,_0x2d51d9){return _0x74eb6e(_0x482118,_0x2d51d9);},'JTGXH':_0x556a(0x7),'ccagJ':_0x556a(0x8),'FWfSJ':'───────────────────────────────────────────','DhKYE':function(_0x453b71,_0x3eb881){return _0x453b71!==_0x3eb881;},'uGDBp':'NSNVj','zsfoF':'\x0a✅\x20ALL\x20TESTS\x20PASSED\x20-\x20SDK\x20should\x20work\x20correctly','olcWI':_0x556a(0x9),'WHZnX':_0x556a(0xa),'lnZFR':_0x556a(0xb),'dBzUu':_0x556a(0xc),'myOhg':_0x556a(0xd),'Czhme':'\x0a📌\x20RECOMMENDATIONS:','xohPo':_0x556a(0xe)};console[_0x556a(0xf)](_0x20d5a8[_0x556a(0x10)]),console['log'](_0x20d5a8[_0x556a(0x11)]),console[_0x556a(0xf)](_0x20d5a8[_0x556a(0x10)]);const _0x2fd5f4={'timestamp':new Date()[_0x556a(0x12)](),'platform':Platform['OS'],'platformVersion':Platform[_0x556a(0x13)],'tests':{'googleReachable':![],'apiReachable':![],'apiPostWorks':![],'youtubeOAuthWorks':![]},'errors':[],'recommendations':[],'rawResults':{}};console[_0x556a(0xf)](_0x556a(0x14)+Platform['OS']+'\x20'+Platform['Version']),console[_0x556a(0xf)](_0x556a(0x15)),console['log'](_0x20d5a8[_0x556a(0x16)]);try{if(_0x20d5a8[_0x556a(0x17)]!==_0x20d5a8[_0x556a(0x18)]){const _0x583d3a=Date[_0x556a(0x19)](),_0x150376=await _0x20d5a8['ZcTgp'](fetch,_0x20d5a8[_0x556a(0x1a)],{'method':_0x20d5a8[_0x556a(0x1b)]}),_0x4aa8e7=_0x20d5a8[_0x556a(0x1c)](Date[_0x556a(0x19)](),_0x583d3a);_0x2fd5f4[_0x556a(0x1d)]['googleReachable']=!![],_0x2fd5f4[_0x556a(0x1e)]['google']={'status':_0x150376['status'],'time':_0x4aa8e7},console[_0x556a(0xf)](_0x556a(0x1f)+_0x4aa8e7+_0x556a(0x20));}else{const _0x56195f='1|3|2|4|0'['split']('|');let _0x4d874b=0x0;while(!![]){switch(_0x56195f[_0x4d874b++]){case'0':_0x254f16[_0x556a(0x21)][_0x556a(0x22)](_0x20d5a8[_0x556a(0x23)]);continue;case'1':_0x5b793c[_0x556a(0x1d)]['googleReachable']=![];continue;case'2':_0x29c4ae[_0x556a(0x1e)][_0x556a(0x24)]={'error':_0x565f22[_0x556a(0x25)]};continue;case'3':_0x1b275b['errors'][_0x556a(0x22)](_0x556a(0x26)+_0x27cd3d[_0x556a(0x25)]);continue;case'4':_0x46cee1['log'](_0x556a(0x27)+_0x45da90['message']);continue;}break;}}}catch(_0x1929c5){const _0x324068=_0x20d5a8[_0x556a(0x28)][_0x556a(0x29)]('|');let _0x473ffc=0x0;while(!![]){switch(_0x324068[_0x473ffc++]){case'0':console[_0x556a(0xf)](_0x556a(0x27)+_0x1929c5[_0x556a(0x25)]);continue;case'1':_0x2fd5f4[_0x556a(0x1e)][_0x556a(0x24)]={'error':_0x1929c5['message']};continue;case'2':_0x2fd5f4['tests']['googleReachable']=![];continue;case'3':_0x2fd5f4['errors']['push']('Google\x20unreachable:\x20'+_0x1929c5[_0x556a(0x25)]);continue;case'4':_0x2fd5f4[_0x556a(0x21)]['push']('Check\x20internet\x20connection\x20on\x20device');continue;}break;}}console[_0x556a(0xf)](_0x556a(0x2a));try{const _0x3eb4b1=Date['now'](),_0x2b5849=await _0x20d5a8[_0x556a(0x2b)](fetch,API_CONFIG['BASE_URL']+'/health',{'method':'GET','headers':{'Accept':'application/json'}}),_0x2d909e=_0x20d5a8['vAOLG'](Date['now'](),_0x3eb4b1),_0x34f9d8=await _0x2b5849[_0x556a(0x2c)]()[_0x556a(0x2d)](()=>_0x556a(0x2e));_0x2fd5f4[_0x556a(0x1d)][_0x556a(0x2f)]=_0x2b5849['ok'],_0x2fd5f4[_0x556a(0x1e)][_0x556a(0x30)]={'status':_0x2b5849[_0x556a(0x31)],'time':_0x2d909e,'body':_0x34f9d8[_0x556a(0x32)](0x0,0xc8)},_0x2b5849['ok']?console[_0x556a(0xf)](_0x556a(0x33)+_0x2d909e+_0x556a(0x20)):(console[_0x556a(0xf)](_0x556a(0x34)+_0x2b5849[_0x556a(0x31)]),_0x2fd5f4['errors']['push'](_0x556a(0x35)+_0x2b5849[_0x556a(0x31)]));}catch(_0x57814a){if(_0x20d5a8[_0x556a(0x36)](_0x20d5a8[_0x556a(0x37)],'CpJMY')){const _0x8442f1=_0x556a(0x38)['split']('|');let _0x569f8a=0x0;while(!![]){switch(_0x8442f1[_0x569f8a++]){case'0':_0x2fd5f4[_0x556a(0x1d)][_0x556a(0x39)]&&_0x2fd5f4['recommendations']['push'](_0x20d5a8[_0x556a(0x3a)]);continue;case'1':_0x2fd5f4[_0x556a(0x1d)][_0x556a(0x2f)]=![];continue;case'2':console[_0x556a(0xf)](_0x556a(0x27)+_0x57814a[_0x556a(0x25)]);continue;case'3':_0x2fd5f4[_0x556a(0x1e)][_0x556a(0x30)]={'error':_0x57814a[_0x556a(0x25)]};continue;case'4':_0x2fd5f4['errors'][_0x556a(0x22)]('API\x20unreachable:\x20'+_0x57814a[_0x556a(0x25)]);continue;}break;}}else _0x54187f['log'](_0x556a(0x3b)+_0x20d5a8['FqIqy'](_0xc64640,0x1)+'.\x20'+_0x4f3e6d);}console[_0x556a(0xf)]('\n\uD83E\uDDEA Test 3: POST Request (OAuth simulation)');try{const _0x40fb43=Date[_0x556a(0x19)](),_0x25cc7a=await _0x20d5a8[_0x556a(0x3c)](fetch,API_CONFIG['BASE_URL']+_0x556a(0x3d),{'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/json'},'body':JSON[_0x556a(0x3e)]({'session':{'username':_0x20d5a8[_0x556a(0x3f)],'platform':_0x20d5a8[_0x556a(0x40)],'timestamp':new Date()[_0x556a(0x12)]()}})}),_0x557945=Date['now']()-_0x40fb43,_0x5e1d7f=await _0x25cc7a[_0x556a(0x2c)]()[_0x556a(0x2d)](()=>_0x556a(0x2e));_0x2fd5f4[_0x556a(0x1e)][_0x556a(0x41)]={'status':_0x25cc7a[_0x556a(0x31)],'time':_0x557945,'body':_0x5e1d7f[_0x556a(0x32)](0x0,0x1f4)},_0x2fd5f4[_0x556a(0x1d)][_0x556a(0x42)]=!![],console[_0x556a(0xf)]('\x20\x20\x20✅\x20PASS\x20-\x20POST\x20request\x20succeeded,\x20status:\x20'+_0x25cc7a[_0x556a(0x31)]+'\x20('+_0x557945+_0x556a(0x20));try{const _0x35071d=JSON[_0x556a(0x43)](_0x5e1d7f);_0x35071d[_0x556a(0x44)]&&(_0x2fd5f4[_0x556a(0x1d)][_0x556a(0x45)]=!![],console[_0x556a(0xf)](_0x556a(0x46)));}catch{}}catch(_0x29cdcd){_0x2fd5f4['tests'][_0x556a(0x42)]=![],_0x2fd5f4['errors']['push'](_0x556a(0x47)+_0x29cdcd['message']),_0x2fd5f4[_0x556a(0x1e)][_0x556a(0x41)]={'error':_0x29cdcd[_0x556a(0x25)]},console[_0x556a(0xf)](_0x556a(0x27)+_0x29cdcd[_0x556a(0x25)]),_0x2fd5f4[_0x556a(0x21)][_0x556a(0x22)]('POST requests failing. This is the exact issue affecting OAuth.');}console[_0x556a(0xf)](_0x556a(0x48)),console[_0x556a(0xf)](_0x556a(0x49)),console['log'](_0x20d5a8[_0x556a(0x4a)]);const _0x189275=Object[_0x556a(0x4b)](_0x2fd5f4[_0x556a(0x1d)])['filter'](Boolean)['length'],_0x3ae4e2=Object[_0x556a(0x4c)](_0x2fd5f4[_0x556a(0x1d)])[_0x556a(0x4d)];return console['log'](_0x556a(0x4e)+_0x189275+'/'+_0x3ae4e2),_0x20d5a8[_0x556a(0x4f)](_0x189275,_0x3ae4e2)?_0x20d5a8[_0x556a(0x50)](_0x20d5a8[_0x556a(0x51)],_0x556a(0x52))?console[_0x556a(0xf)](_0x20d5a8[_0x556a(0x53)]):_0xebedeb[_0x556a(0x21)]['push'](_0x20d5a8[_0x556a(0x3a)]):(console['log'](_0x20d5a8[_0x556a(0x54)]),Platform['OS']===_0x20d5a8['WHZnX']&&!_0x2fd5f4[_0x556a(0x1d)][_0x556a(0x2f)]&&_0x2fd5f4[_0x556a(0x21)][_0x556a(0x22)](_0x20d5a8[_0x556a(0x55)],_0x20d5a8[_0x556a(0x56)]),!_0x2fd5f4[_0x556a(0x1d)][_0x556a(0x39)]&&_0x2fd5f4['recommendations']['push'](_0x20d5a8[_0x556a(0x57)]),console[_0x556a(0xf)](_0x20d5a8[_0x556a(0x58)]),_0x2fd5f4[_0x556a(0x21)][_0x556a(0x59)]((_0x5100ef,_0x568528)=>{_0x20d5a8[_0x556a(0x4f)](_0x556a(0x1),_0x20d5a8[_0x556a(0x5a)])?console['log'](_0x556a(0x3b)+_0x20d5a8['FqIqy'](_0x568528,0x1)+'.\x20'+_0x5100ef):_0x3e541f[_0x556a(0xf)](_0x556a(0x33)+_0x5d89ad+_0x556a(0x20));})),console[_0x556a(0xf)](_0x20d5a8['xohPo']),console[_0x556a(0xf)](_0x556a(0x5b)),console['log'](JSON['stringify'](_0x2fd5f4,null,0x2)),_0x2fd5f4;};function _0x556a(_0x5d97e6,_0x556aaa){_0x5d97e6=_0x5d97e6-0x0;const _0x2568bd=_0x5d97();let _0x57e6ee=_0x2568bd[_0x5d97e6];return _0x57e6ee;}export const isApiReachable=async()=>{const _0x1b6b78={'BNzbC':_0x556a(0xb),'fsvga':_0x556a(0xc),'rXpaS':_0x556a(0x5c),'oJeNq':function(_0x500e21,_0x65851b){return _0x500e21===_0x65851b;},'nSqMY':_0x556a(0x5d),'uRivE':function(_0x22f729,_0x3c91b4){return _0x22f729!==_0x3c91b4;},'VBHEK':_0x556a(0x5e)};try{if(_0x1b6b78[_0x556a(0x5f)](_0x556a(0x5d),_0x1b6b78['nSqMY'])){const _0x4cefff=await fetch(API_CONFIG[_0x556a(0x60)]+_0x556a(0x61),{'method':'GET'});return _0x4cefff['ok'];}else _0x37235d[_0x556a(0x21)][_0x556a(0x22)](_0x1b6b78[_0x556a(0x62)],_0x1b6b78['fsvga']);}catch{if(_0x1b6b78['uRivE'](_0x1b6b78['VBHEK'],_0x556a(0x63)))return![];else{const _0x491441=_0x1b6b78[_0x556a(0x64)][_0x556a(0x29)]('|');let _0x27d203=0x0;while(!![]){switch(_0x491441[_0x27d203++]){case'0':_0x203d30[_0x556a(0x1d)][_0x556a(0x42)]=![];continue;case'1':_0x1668ec['log']('\x20\x20\x20❌\x20FAIL\x20-\x20'+_0x468832[_0x556a(0x25)]);continue;case'2':_0x429566['rawResults'][_0x556a(0x41)]={'error':_0x16ea00[_0x556a(0x25)]};continue;case'3':_0x1b4b38[_0x556a(0x21)][_0x556a(0x22)]('POST requests failing. This is the exact issue affecting OAuth.');continue;case'4':_0xee24a9[_0x556a(0x65)][_0x556a(0x22)](_0x556a(0x47)+_0x5943fa['message']);continue;}break;}}}};export const getNetworkStatus=async()=>{const _0xcc0437={'ynafU':_0x556a(0x66),'ZRjfv':_0x556a(0x67),'zyhQP':_0x556a(0x68),'ITEPQ':function(_0x1f2b6b,_0x1ffb04,_0x5669f5){return _0x1f2b6b(_0x1ffb04,_0x5669f5);},'ztIYD':'HEAD','xEIsU':function(_0x3de7b0,_0x1d05e9){return _0x3de7b0===_0x1d05e9;},'APQDu':'ZoPiK','AtbQR':'online','MAtrC':_0x556a(0x69)};try{if(_0xcc0437[_0x556a(0x6a)]!==_0xcc0437['zyhQP']){await _0xcc0437['ITEPQ'](fetch,'https://www.google.com',{'method':_0xcc0437[_0x556a(0x6b)]});const _0x3d7201=await fetch(API_CONFIG[_0x556a(0x60)]+'/health');if(_0x3d7201['ok']){if(_0xcc0437[_0x556a(0x6c)](_0xcc0437[_0x556a(0x6d)],'PFkQB'))_0x1e1a7b[_0x556a(0x1d)][_0x556a(0x45)]=!![],_0x39aa2c[_0x556a(0xf)](_0x556a(0x46));else return _0xcc0437[_0x556a(0x6e)];}else return _0xcc0437['ynafU'];}else return _0xcc0437[_0x556a(0x6f)];}catch{return _0xcc0437[_0x556a(0x70)];}};
|
|
1
|
+
function _0x3edd(){const _0x40d5dc=['1|3|2|4|0','Device\x20has\x20no\x20internet\x20-\x20check\x20WiFi/cellular','\x0a📌\x20RECOMMENDATIONS:','4|3|1|2|0','iOS:\x20Add\x20NSAppTransportSecurity\x20to\x20Info.plist','\x0a✅\x20ALL\x20TESTS\x20PASSED\x20-\x20SDK\x20should\x20work\x20correctly','🔍\x20ONAIROS\x20SDK\x20NETWORK\x20DIAGNOSTICS','───────────────────────────────────────────','DFptB','https://www.google.com','HEAD','Check\x20internet\x20connection\x20on\x20device','IYzSF','mIswa','1|4|2|0|3','Internet\x20works\x20but\x20API\x20blocked.\x20Check:\x20VPN,\x20Firewall,\x20iOS\x20ATS\x20settings','youtube','📋\x20SUMMARY','qOaYe','MzRjj','\x0a═══════════════════════════════════════════','Full\x20results\x20object\x20logged\x20below\x20for\x20debugging:','log','toISOString','Version','jkJCh','\x0a🧪\x20Test\x201:\x20Internet\x20Connectivity\x20(google.com)','ByhvG','ztfBY','now','yNKIW','kvMIB','kiWAT','tests','googleReachable','rawResults','google','status','\x20\x20\x20✅\x20PASS\x20-\x20Google\x20reachable\x20(','ms)','split','recommendations','\x20\x20\x20','zshVN','push','vLTbO','apiReachable','WoQZr','zKPMs','message','ZEnjO','bMPQl','cIfXH','apiPost','\x20\x20\x20❌\x20FAIL\x20-\x20','errors','POST\x20request\x20failed:\x20','apiPostWorks','BASE_URL','/health','text','catch','Unable\x20to\x20read','apiHealth','substring','tbAmU','MkeCY','\x20\x20\x20⚠️\x20PARTIAL\x20-\x20API\x20responded\x20with\x20','Ckcpz','yEeDj','pxkNj','GSjhS','/youtube/authorize','stringify','diagnostic_test','\x20\x20\x20✅\x20PASS\x20-\x20POST\x20request\x20succeeded,\x20status:\x20','youtubeURL','jtgCQ','mjjbq','ePuUG','youtubeOAuthWorks','knlbR','values','filter','keys','prarZ','tpqZG','SZFiv','wKimp','JfRqT','obCpe','ios','KduuK','XNepm','forEach','Kbfdk','qCjAO','CgwKu','QYmJw','\x20\x20\x20✅\x20PASS\x20-\x20API\x20reachable\x20(','vtMgx','uLsZt','API\x20unreachable:\x20','WsLnb','vJdVV','online','adRzX','ZVKKN','uQLBI','btwlp','hbppt','gbDWD','ZfSRo','PZszX','parse','\x20\x20\x20✅\x20BONUS\x20-\x20Got\x20YouTube\x20OAuth\x20URL!','offline'];_0x3edd=function(){return _0x40d5dc;};return _0x3edd();}function _0x43b4(_0x3edd60,_0x43b419){_0x3edd60=_0x3edd60-0x0;const _0xd5e39a=_0x3edd();let _0x2a405a=_0xd5e39a[_0x3edd60];return _0x2a405a;}import{Platform}from'react-native';import{API_CONFIG}from'../config/api';export const runFullDiagnostics=async()=>{const _0x43ff72={'zshVN':function(_0xe8bca8,_0x13af8b){return _0xe8bca8+_0x13af8b;},'STzCM':_0x43b4(0x0),'JfRqT':'\x0a⚠️\x20SOME\x20TESTS\x20FAILED\x20-\x20See\x20recommendations\x20below:','vLTbO':_0x43b4(0x1),'ByhvG':function(_0x1cc702,_0x559200){return _0x1cc702===_0x559200;},'WoQZr':'iOS:\x20Try\x20on\x20physical\x20device\x20instead\x20of\x20simulator','zKPMs':_0x43b4(0x2),'cIfXH':_0x43b4(0x3),'MkeCY':'online','GSjhS':_0x43b4(0x4),'tpqZG':_0x43b4(0x5),'xOxdv':'═══════════════════════════════════════════','XJHsH':_0x43b4(0x6),'jkJCh':_0x43b4(0x7),'ztfBY':_0x43b4(0x8),'yNKIW':function(_0x479d06,_0x49b343,_0x4d1734){return _0x479d06(_0x49b343,_0x4d1734);},'kvMIB':_0x43b4(0x9),'kiWAT':_0x43b4(0xa),'ZEnjO':_0x43b4(0xb),'jtgCQ':function(_0x3f2185,_0x16d330){return _0x3f2185!==_0x16d330;},'bMPQl':_0x43b4(0xc),'tbAmU':_0x43b4(0xd),'Ckcpz':'iWRZK','yEeDj':_0x43b4(0xe),'pxkNj':_0x43b4(0xf),'LKvMk':_0x43b4(0x10),'TsYfM':'\x0a───────────────────────────────────────────','knlbR':_0x43b4(0x11),'XdUMI':function(_0x579ad3,_0x336454){return _0x579ad3!==_0x336454;},'prarZ':_0x43b4(0x12),'SZFiv':'wKISE','obCpe':function(_0x2c4470,_0x100e98){return _0x2c4470===_0x100e98;},'KduuK':function(_0x4e11ed,_0x10dfd6){return _0x4e11ed===_0x10dfd6;},'XNepm':_0x43b4(0x13),'Kbfdk':_0x43b4(0x14),'qCjAO':_0x43b4(0x15)};console['log'](_0x43ff72['xOxdv']),console[_0x43b4(0x16)](_0x43ff72['XJHsH']),console[_0x43b4(0x16)](_0x43ff72['xOxdv']);const _0x287f7a={'timestamp':new Date()[_0x43b4(0x17)](),'platform':Platform['OS'],'platformVersion':Platform[_0x43b4(0x18)],'tests':{'googleReachable':![],'apiReachable':![],'apiPostWorks':![],'youtubeOAuthWorks':![]},'errors':[],'recommendations':[],'rawResults':{}};console[_0x43b4(0x16)]('📱\x20Platform:\x20'+Platform['OS']+'\x20'+Platform[_0x43b4(0x18)]),console[_0x43b4(0x16)](_0x43ff72[_0x43b4(0x19)]),console[_0x43b4(0x16)](_0x43b4(0x1a));try{if(_0x43ff72[_0x43b4(0x1b)](_0x43ff72['ztfBY'],_0x43ff72[_0x43b4(0x1c)])){const _0x400a65=Date[_0x43b4(0x1d)](),_0x516c5d=await _0x43ff72[_0x43b4(0x1e)](fetch,_0x43ff72[_0x43b4(0x1f)],{'method':_0x43ff72[_0x43b4(0x20)]}),_0x43ccf2=Date[_0x43b4(0x1d)]()-_0x400a65;_0x287f7a[_0x43b4(0x21)][_0x43b4(0x22)]=!![],_0x287f7a[_0x43b4(0x23)][_0x43b4(0x24)]={'status':_0x516c5d[_0x43b4(0x25)],'time':_0x43ccf2},console[_0x43b4(0x16)](_0x43b4(0x26)+_0x43ccf2+_0x43b4(0x27));}else{const _0xdea505=_0x43ff72['STzCM'][_0x43b4(0x28)]('|');let _0x3bff0a=0x0;while(!![]){switch(_0xdea505[_0x3bff0a++]){case'0':_0x222bc1[_0x43b4(0x29)]['forEach']((_0x248f88,_0x4a8384)=>{_0x4e68dd[_0x43b4(0x16)](_0x43b4(0x2a)+_0x43ff72[_0x43b4(0x2b)](_0x4a8384,0x1)+'.\x20'+_0x248f88);});continue;case'1':_0x53a764[_0x43b4(0x16)](_0x43ff72['JfRqT']);continue;case'2':!_0x4a7f95[_0x43b4(0x21)][_0x43b4(0x22)]&&_0x248eb0[_0x43b4(0x29)][_0x43b4(0x2c)](_0x43ff72[_0x43b4(0x2d)]);continue;case'3':_0x43ff72[_0x43b4(0x1b)](Platform['OS'],'ios')&&!_0x1e41ab[_0x43b4(0x21)][_0x43b4(0x2e)]&&_0x41d466[_0x43b4(0x29)][_0x43b4(0x2c)](_0x43b4(0x4),_0x43ff72[_0x43b4(0x2f)]);continue;case'4':_0x32bfb6[_0x43b4(0x16)](_0x43ff72[_0x43b4(0x30)]);continue;}break;}}}catch(_0x219392){_0x287f7a['tests'][_0x43b4(0x22)]=![],_0x287f7a['errors']['push']('Google\x20unreachable:\x20'+_0x219392[_0x43b4(0x31)]),_0x287f7a[_0x43b4(0x23)]['google']={'error':_0x219392[_0x43b4(0x31)]},console[_0x43b4(0x16)]('\x20\x20\x20❌\x20FAIL\x20-\x20'+_0x219392['message']),_0x287f7a[_0x43b4(0x29)][_0x43b4(0x2c)](_0x43ff72[_0x43b4(0x32)]);}console[_0x43b4(0x16)]('\x0a🧪\x20Test\x202:\x20API\x20Reachability\x20(API\x20server/health)');try{if(_0x43ff72['jtgCQ'](_0x43ff72[_0x43b4(0x33)],_0x43ff72[_0x43b4(0x33)])){const _0x418e92=_0x43ff72[_0x43b4(0x34)][_0x43b4(0x28)]('|');let _0x109157=0x0;while(!![]){switch(_0x418e92[_0x109157++]){case'0':_0x23bae8[_0x43b4(0x29)][_0x43b4(0x2c)]('POST requests failing. This is the exact issue affecting OAuth.');continue;case'1':_0x478f49[_0x43b4(0x23)][_0x43b4(0x35)]={'error':_0x1d3c8f[_0x43b4(0x31)]};continue;case'2':_0x368911[_0x43b4(0x16)](_0x43b4(0x36)+_0x225b5c[_0x43b4(0x31)]);continue;case'3':_0x5175c4[_0x43b4(0x37)][_0x43b4(0x2c)](_0x43b4(0x38)+_0x1a7b19['message']);continue;case'4':_0xa60ae2[_0x43b4(0x21)][_0x43b4(0x39)]=![];continue;}break;}}else{const _0x53b6fb=Date[_0x43b4(0x1d)](),_0x568a58=await fetch(API_CONFIG[_0x43b4(0x3a)]+_0x43b4(0x3b),{'method':'GET','headers':{'Accept':'application/json'}}),_0x288f0e=Date[_0x43b4(0x1d)]()-_0x53b6fb,_0x46da6e=await _0x568a58[_0x43b4(0x3c)]()[_0x43b4(0x3d)](()=>_0x43b4(0x3e));_0x287f7a['tests'][_0x43b4(0x2e)]=_0x568a58['ok'],_0x287f7a[_0x43b4(0x23)][_0x43b4(0x3f)]={'status':_0x568a58['status'],'time':_0x288f0e,'body':_0x46da6e[_0x43b4(0x40)](0x0,0xc8)};if(_0x568a58['ok']){if(_0x43b4(0xd)===_0x43ff72[_0x43b4(0x41)])console[_0x43b4(0x16)]('\x20\x20\x20✅\x20PASS\x20-\x20API\x20reachable\x20('+_0x288f0e+_0x43b4(0x27));else return _0x43ff72[_0x43b4(0x42)];}else console[_0x43b4(0x16)](_0x43b4(0x43)+_0x568a58[_0x43b4(0x25)]),_0x287f7a[_0x43b4(0x37)][_0x43b4(0x2c)]('API\x20returned\x20status\x20'+_0x568a58[_0x43b4(0x25)]);}}catch(_0x5d52bf){if(_0x43ff72[_0x43b4(0x1b)](_0x43ff72[_0x43b4(0x44)],_0x43ff72[_0x43b4(0x44)])){const _0x40ac68=_0x43ff72[_0x43b4(0x45)][_0x43b4(0x28)]('|');let _0x4037f6=0x0;while(!![]){switch(_0x40ac68[_0x4037f6++]){case'0':console[_0x43b4(0x16)](_0x43b4(0x36)+_0x5d52bf[_0x43b4(0x31)]);continue;case'1':_0x287f7a['tests'][_0x43b4(0x2e)]=![];continue;case'2':_0x287f7a['rawResults'][_0x43b4(0x3f)]={'error':_0x5d52bf[_0x43b4(0x31)]};continue;case'3':_0x287f7a['tests'][_0x43b4(0x22)]&&_0x287f7a[_0x43b4(0x29)][_0x43b4(0x2c)](_0x43ff72[_0x43b4(0x46)]);continue;case'4':_0x287f7a['errors']['push']('API\x20unreachable:\x20'+_0x5d52bf[_0x43b4(0x31)]);continue;}break;}}else _0x563a49[_0x43b4(0x29)]['push'](_0x43ff72[_0x43b4(0x47)],_0x43ff72['WoQZr']);}console['log']('\n\uD83E\uDDEA Test 3: POST Request (OAuth simulation)');try{const _0x35a105=Date[_0x43b4(0x1d)](),_0x5e6111=await _0x43ff72[_0x43b4(0x1e)](fetch,API_CONFIG[_0x43b4(0x3a)]+_0x43b4(0x48),{'method':'POST','headers':{'Content-Type':'application/json','Accept':'application/json'},'body':JSON[_0x43b4(0x49)]({'session':{'username':_0x43b4(0x4a),'platform':_0x43ff72['LKvMk'],'timestamp':new Date()[_0x43b4(0x17)]()}})}),_0x8ec4b=Date[_0x43b4(0x1d)]()-_0x35a105,_0x43fdc0=await _0x5e6111['text']()[_0x43b4(0x3d)](()=>_0x43b4(0x3e));_0x287f7a[_0x43b4(0x23)][_0x43b4(0x35)]={'status':_0x5e6111['status'],'time':_0x8ec4b,'body':_0x43fdc0[_0x43b4(0x40)](0x0,0x1f4)},_0x287f7a['tests'][_0x43b4(0x39)]=!![],console[_0x43b4(0x16)](_0x43b4(0x4b)+_0x5e6111['status']+'\x20('+_0x8ec4b+_0x43b4(0x27));try{const _0x156be5=JSON['parse'](_0x43fdc0);_0x156be5[_0x43b4(0x4c)]&&(_0x43ff72[_0x43b4(0x4d)](_0x43b4(0x4e),_0x43b4(0x4f))?(_0x287f7a[_0x43b4(0x21)][_0x43b4(0x50)]=!![],console[_0x43b4(0x16)]('\x20\x20\x20✅\x20BONUS\x20-\x20Got\x20YouTube\x20OAuth\x20URL!')):_0x5710f8['log'](_0x43ff72['tpqZG']));}catch{}}catch(_0x2901d9){_0x287f7a[_0x43b4(0x21)]['apiPostWorks']=![],_0x287f7a[_0x43b4(0x37)][_0x43b4(0x2c)](_0x43b4(0x38)+_0x2901d9[_0x43b4(0x31)]),_0x287f7a[_0x43b4(0x23)]['apiPost']={'error':_0x2901d9[_0x43b4(0x31)]},console['log'](_0x43b4(0x36)+_0x2901d9[_0x43b4(0x31)]),_0x287f7a[_0x43b4(0x29)][_0x43b4(0x2c)]('POST requests failing. This is the exact issue affecting OAuth.');}console[_0x43b4(0x16)](_0x43ff72['TsYfM']),console[_0x43b4(0x16)](_0x43ff72[_0x43b4(0x51)]),console[_0x43b4(0x16)](_0x43b4(0x7));const _0x4010bb=Object[_0x43b4(0x52)](_0x287f7a[_0x43b4(0x21)])[_0x43b4(0x53)](Boolean)['length'],_0x3bd365=Object[_0x43b4(0x54)](_0x287f7a[_0x43b4(0x21)])['length'];console[_0x43b4(0x16)]('\x0aTests\x20Passed:\x20'+_0x4010bb+'/'+_0x3bd365);if(_0x4010bb===_0x3bd365){if(_0x43ff72['XdUMI'](_0x43b4(0x12),_0x43ff72[_0x43b4(0x55)]))return![];else console[_0x43b4(0x16)](_0x43ff72[_0x43b4(0x56)]);}else _0x43ff72[_0x43b4(0x4d)](_0x43ff72[_0x43b4(0x57)],_0x43b4(0x58))?(console[_0x43b4(0x16)](_0x43ff72[_0x43b4(0x59)]),_0x43ff72[_0x43b4(0x5a)](Platform['OS'],_0x43b4(0x5b))&&!_0x287f7a[_0x43b4(0x21)][_0x43b4(0x2e)]&&(_0x43ff72[_0x43b4(0x5c)](_0x43ff72[_0x43b4(0x5d)],_0x43ff72[_0x43b4(0x5d)])?_0x287f7a[_0x43b4(0x29)]['push'](_0x43ff72[_0x43b4(0x47)],_0x43ff72[_0x43b4(0x2f)]):_0x388a03[_0x43b4(0x16)](_0x43b4(0x2a)+_0x43ff72[_0x43b4(0x2b)](_0x1db541,0x1)+'.\x20'+_0x4545e1)),!_0x287f7a[_0x43b4(0x21)][_0x43b4(0x22)]&&_0x287f7a['recommendations'][_0x43b4(0x2c)](_0x43ff72[_0x43b4(0x2d)]),console['log'](_0x43ff72[_0x43b4(0x30)]),_0x287f7a[_0x43b4(0x29)][_0x43b4(0x5e)]((_0x4de992,_0x5cbafb)=>{console['log'](_0x43b4(0x2a)+_0x43ff72[_0x43b4(0x2b)](_0x5cbafb,0x1)+'.\x20'+_0x4de992);})):_0x38eaef[_0x43b4(0x29)]['push'](_0x43ff72['vLTbO']);return console[_0x43b4(0x16)](_0x43ff72[_0x43b4(0x5f)]),console[_0x43b4(0x16)](_0x43ff72[_0x43b4(0x60)]),console[_0x43b4(0x16)](JSON[_0x43b4(0x49)](_0x287f7a,null,0x2)),_0x287f7a;};export const isApiReachable=async()=>{const _0x26c3ee={'CgwKu':function(_0x1486d6,_0x474a18){return _0x1486d6===_0x474a18;},'vtMgx':function(_0x44c8fd,_0x10e40f){return _0x44c8fd!==_0x10e40f;},'TbQmC':'BpdEd'};try{if(_0x26c3ee[_0x43b4(0x61)](_0x43b4(0x62),_0x43b4(0x62))){const _0x22158d=await fetch(API_CONFIG[_0x43b4(0x3a)]+_0x43b4(0x3b),{'method':'GET'});return _0x22158d['ok'];}else _0x27c588[_0x43b4(0x16)](_0x43b4(0x63)+_0x38f09e+_0x43b4(0x27));}catch{if(_0x26c3ee[_0x43b4(0x64)](_0x26c3ee['TbQmC'],_0x43b4(0x65)))return![];else{const _0x57ea42='4|0|3|2|1'[_0x43b4(0x28)]('|');let _0x57da3d=0x0;while(!![]){switch(_0x57ea42[_0x57da3d++]){case'0':_0x1f6ba0[_0x43b4(0x37)][_0x43b4(0x2c)](_0x43b4(0x66)+_0x54d379[_0x43b4(0x31)]);continue;case'1':_0x480a65[_0x43b4(0x21)]['googleReachable']&&_0x1b73aa[_0x43b4(0x29)]['push'](_0x43b4(0xf));continue;case'2':_0x2b8256[_0x43b4(0x16)](_0x43b4(0x36)+_0x52c771[_0x43b4(0x31)]);continue;case'3':_0xc0b2a4['rawResults']['apiHealth']={'error':_0x5d4309[_0x43b4(0x31)]};continue;case'4':_0x4a69db[_0x43b4(0x21)][_0x43b4(0x2e)]=![];continue;}break;}}}};export const getNetworkStatus=async()=>{const _0x202550={'izqJE':'offline','ZVKKN':_0x43b4(0x67),'uQLBI':_0x43b4(0x68),'btwlp':function(_0x5aab6e,_0x2e3e69,_0x4ff0a6){return _0x5aab6e(_0x2e3e69,_0x4ff0a6);},'hbppt':'https://www.google.com','gbDWD':_0x43b4(0xa),'aNBqL':_0x43b4(0x69),'ZfSRo':function(_0x303ef4,_0x387878){return _0x303ef4===_0x387878;},'PZszX':_0x43b4(0x6a),'jZPqs':'JuYFC'};try{if(_0x202550[_0x43b4(0x6b)]!==_0x202550[_0x43b4(0x6c)]){await _0x202550[_0x43b4(0x6d)](fetch,_0x202550[_0x43b4(0x6e)],{'method':_0x202550[_0x43b4(0x6f)]});const _0x5f98c9=await fetch(API_CONFIG[_0x43b4(0x3a)]+'/health');return _0x5f98c9['ok']?_0x202550['aNBqL']:'api_unreachable';}else return _0x202550['izqJE'];}catch{if(_0x202550[_0x43b4(0x70)](_0x202550[_0x43b4(0x71)],_0x202550['jZPqs'])){const _0x92e6ba=_0x44d059[_0x43b4(0x72)](_0x1aad81);_0x92e6ba[_0x43b4(0x4c)]&&(_0x2ae0fe['tests'][_0x43b4(0x50)]=!![],_0x1ac981[_0x43b4(0x16)](_0x43b4(0x73)));}else return _0x43b4(0x74);}};
|