Your IP : 3.21.93.108


Current Path : /var/www/u0635749/data/www/hobbyclick.ru/public/bitrix/js/mobileapp/__deviceload__/
Upload File :
Current File : /var/www/u0635749/data/www/hobbyclick.ru/public/bitrix/js/mobileapp/__deviceload__/cordova.map.js

{"version":3,"file":"cordova.min.js","sources":["cordova.js"],"names":["window","Cordova","navigator","userAgent","search","CORDOVA_JS_BUILD_LABEL","require","define","modules","requireStack","inProgressModules","SEPARATOR","build","module","factory","localRequire","id","resultantId","charAt","slice","lastIndexOf","exports","cycle","join","length","push","pop","remove","moduleMap","channel","platform","m_document_addEventListener","document","addEventListener","m_document_removeEventListener","removeEventListener","m_window_addEventListener","m_window_removeEventListener","documentEventHandlers","windowEventHandlers","evt","handler","capture","e","toLowerCase","subscribe","call","unsubscribe","createEvent","type","data","event","initEvent","i","hasOwnProperty","cordova","version","platformId","addWindowEventHandler","create","addStickyDocumentEventHandler","createSticky","addDocumentEventHandler","removeWindowEventHandler","removeDocumentEventHandler","getOriginalHandlers","fireDocumentEvent","bNoDetach","fire","setTimeout","dispatchEvent","fireWindowEvent","callbackId","Math","floor","random","callbacks","callbackStatus","NO_RESULT","OK","CLASS_NOT_FOUND_EXCEPTION","ILLEGAL_ACCESS_EXCEPTION","INSTANTIATION_EXCEPTION","MALFORMED_URL_EXCEPTION","IO_EXCEPTION","INVALID_ACTION","JSON_EXCEPTION","ERROR","callbackSuccess","args","callbackFromNative","status","message","keepCallback","console","log","callbackError","success","callback","apply","fail","addConstructor","func","onCordovaReady","nativeApi","this","_cordovaNative","currentApi","get","setPreferPrompt","value","set","exec","bridgeSecret","service","action","argsJson","prompt","JSON","stringify","setNativeToJsBridgeMode","retrieveJsMessages","fromOnlineEvent","utils","moduleExports","typeMap","A","D","N","S","F","O","extractParamName","callee","argIndex","split","checkArgs","spec","functionName","opt_callee","enableChecks","errMsg","typeName","c","cUpper","toUpperCase","arg","undefined","jasmine","error","TypeError","getValue","defaultValue","base64","fromArrayBuffer","arrayBuffer","array","Uint8Array","uint8ToBase64","toArrayBuffer","str","decodedStr","atob","Buffer","toString","ArrayBuffer","len","charCodeAt","b64_6bit","b64_12bit","b64_12bitTable","j","rawData","numBytes","byteLength","output","segment","table","each","objects","context","prop","clobber","obj","key","replaceHookForTesting","defineGetter","assignOrWrapInDeprecateGetter","include","parent","merge","result","path","deprecated","recursiveMerge","children","alert","target","src","prototype","constructor","buildIntoButDoNotClobber","buildIntoAndClobber","buildIntoAndMerge","nextGuid","Channel","sticky","handlers","state","fireArgs","numHandlers","onHasSubscribersChange","h","f","Error","deviceReadyChannelsArray","deviceReadyChannelsMap","waitForInitialization","feature","initializationComplete","forceFunction","guid","observer_guid","close","Array","arguments","toCall","item","nativeApiProvider","jsToNativeModes","PROMPT","JS_OBJECT","nativeToJsModes","POLLING","LOAD_URL","ONLINE_EVENT","PRIVATE_API","jsToNativeBridgeMode","nativeToJsBridgeMode","pollEnabled","messagesFromNative","androidExec","setJsToNativeBridgeMode","messages","processMessages","init","onNativeReady","pollOnceFromOnlineEvent","pollOnce","opt_fromOnlineEvent","msg","pollingTimerFunc","hookOnlineApis","proxyEvent","mode","processMessage","firstChar","eval","spaceIdx","indexOf","nextSpaceIdx","payloadKind","payload","bytes","arraybuffer","buffer","parse","stack","isProcessing","opt_useTimeout","popMessageFromQueue","messageBatch","shift","msgLen","substr","unshift","CommandProxyMap","add","proxyObj","proxy","modulemapper","pluginloader","platformInitChannelsArray","onPluginsReady","logUnfiredChannels","arr","onDeviceReady","replaceNavigator","origNavigator","CordovaNavigator","newNavigator","bind","warn","onPause","onResume","readyState","onDOMContentLoaded","_nativeReady","clobbers","bootstrap","load","mapModules","initialize","builder","symbolList","deprecationMap","reset","addEntry","strategy","moduleName","symbolPath","opt_deprecationMessage","merges","defaults","runs","prepareNamespace","parts","cur","part","origSymbols","CDV_origSymbols","lastDot","namespace","lastName","deprecationMsg","parentObj","getOriginalSymbol","backButtonChannel","bindButtonChannel","buttonName","volumeButtonChannel","clearCache","loadUrl","url","props","cancelLoadUrl","clearHistory","backHistory","overrideBackbutton","override","overrideButton","button","exitApp","urlutil","injectScript","onload","onerror","script","createElement","head","appendChild","injectIfNecessary","onScriptLoadingComplete","moduleList","finishPluginLoading","k","handlePluginsObject","scriptCounter","scriptLoadedCallback","file","findCordovaPath","scripts","getElementsByTagName","term","n","replace","substring","pathPrefix","makeAbsolute","anchorEl","href","defineGetterSetter","getFunc","opt_setFunc","Object","defineProperty","desc","configurable","__defineGetter__","__defineSetter__","arrayIndexOf","a","arrayRemove","index","splice","val","isArray","isDate","d","clone","retVal","params","createUUID","UUIDcreatePart","extend","Child","Parent","__super__","uuidpart","uuidchar","parseInt"],"mappings":"CAsBA,WAEC,SAAUA,QAAOC,SAAW,aAAeC,UAAUC,UAAUC,OAAO,eAAe,EACrF,CACC,OAED,GAAIC,wBAAyB,OAM7B,IAAIC,SACHC,QAED,WAEC,GAAIC,MAEHC,KAEAC,KACAC,EAAY,GAGb,SAASC,GAAMC,GAEd,GAAIC,GAAUD,EAAOC,QACpBC,EAAe,SAAUC,GAExB,GAAIC,GAAcD,CAElB,IAAIA,EAAGE,OAAO,KAAO,IACrB,CACCD,EAAcJ,EAAOG,GAAGG,MAAM,EAAGN,EAAOG,GAAGI,YAAYT,IAAcA,EAAYK,EAAGG,MAAM,GAE3F,MAAOb,SAAQW,GAEjBJ,GAAOQ,iBACAR,GAAOC,OACdA,GAAQC,EAAcF,EAAOQ,QAASR,EACtC,OAAOA,GAAOQ,QAGff,QAAU,SAAUU,GAEnB,IAAKR,EAAQQ,GACb,CACC,KAAM,UAAYA,EAAK,iBACjB,IAAIA,IAAMN,GACjB,CACC,GAAIY,GAAQb,EAAaU,MAAMT,EAAkBM,IAAKO,KAAK,MAAQ,KAAOP,CAC1E,MAAM,2BAA6BM,EAEpC,GAAId,EAAQQ,GAAIF,QAChB,CACC,IAECJ,EAAkBM,GAAMP,EAAae,MACrCf,GAAagB,KAAKT,EAClB,OAAOJ,GAAMJ,EAAQQ,IACpB,cAEMN,GAAkB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