@communi/chat-react-native 2.5.3 → 2.5.5
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/index.js +1 -1
- package/package.json +2 -2
- package/src/handlers/DatePicker.js +1 -1
- package/src/handlers/Keyboard.js +1 -1
- package/src/handlers/MQTT.js +1 -1
- package/src/handlers/Video.js +1 -1
- package/src/handlers/deleteFile.js +1 -1
- package/src/handlers/getAlbums.js +1 -1
- package/src/handlers/getLocalAssetUri.js +1 -1
- package/src/handlers/getPhotos.js +1 -1
- package/src/handlers/index.js +1 -1
- package/src/handlers/isExistFile.js +1 -1
- package/src/handlers/oniOS14GalleryLibrarySelectionChange.js +1 -1
- package/src/handlers/pickDocument.js +1 -1
- package/src/handlers/pickPhoto.js +1 -1
- package/src/handlers/saveFile.js +1 -1
- package/src/handlers/setClipboardString.js +1 -1
- package/src/handlers/takePhoto.js +1 -1
- package/src/handlers/triggerHaptic.js +1 -1
- package/src/index.js +1 -1
- package/src/optionalDependencies/DatePicker.js +1 -1
- package/src/optionalDependencies/Video.js +1 -1
- package/src/optionalDependencies/index.js +1 -1
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(p,m){var r=H,n=p();while(!![]){try{var t=parseInt(r(0x1b6))/0x1*(-parseInt(r(0x1b5))/0x2)+-parseInt(r(0x1bc))/0x3+parseInt(r(0x1bd))/0x4*(-parseInt(r(0x1bb))/0x5)+parseInt(r(0x1b8))/0x6*(-parseInt(r(0x1b4))/0x7)+-parseInt(r(0x1be))/0x8+parseInt(r(0x1b9))/0x9*(-parseInt(r(0x1b7))/0xa)+parseInt(r(0x1b3))/0xb*(parseInt(r(0x1ba))/0xc);if(t===m)break;else n['push'](n['shift']());}catch(q){n['push'](n['shift']());}}}(y,0xea059));function H(p,m){var n=y();return H=function(t,q){t=t-0x1b3;var r=n[t];return r;},H(p,m);}export*from'./src';function y(){var U=['6542192RbQsTl','10868737bACIzD','14462DzlKGY','2JtHhGS','775741GOFWTN','14714230JbrnVl','618CxUbyh','9JhaJIN','84SXluCP','3110IprSeV','4431696nqmlhC','7736opdkrT'];y=function(){return U;};return y();}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@communi/chat-react-native",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.5",
|
|
4
4
|
"description": "PiScale Chat React Native",
|
|
5
5
|
"homepage": "https://github.com/piscale",
|
|
6
6
|
"license": "MIT",
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
"types": "index.d.ts",
|
|
10
10
|
"dependencies": {
|
|
11
11
|
"@communi/chat-api-client-typescript": "^2.5.3",
|
|
12
|
-
"@communi/chat-ui-react-native": "^2.5.
|
|
12
|
+
"@communi/chat-ui-react-native": "^2.5.5",
|
|
13
13
|
"@communi/keyboard-area-react-native": "^2.0.1",
|
|
14
14
|
"@communi/mqtt-client-interface-typescript": "^2.0.1",
|
|
15
15
|
"@communi/mqtt-client-react-native": "^2.0.1"
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function y(){const D=['955FTEweY','911286QDHgiM','6060586OQVdpj','3058596nvjazq','12lNRNGX','creat','eElem','10FwXAFd','1514jyCBTv','156964YqYmsh','68988sBzQcD','ent','3509MwEqNF','2749992DUHxkQ','20MYIXEl'];y=function(){return D;};return y();}function H(p,m){const n=y();return H=function(t,q){t=t-0x138;let r=n[t];return r;},H(p,m);}const L=H;(function(n,t){const d=H,q=n();while(!![]){try{const r=-parseInt(d(0x144))/0x1*(parseInt(d(0x13d))/0x2)+-parseInt(d(0x139))/0x3*(parseInt(d(0x13e))/0x4)+parseInt(d(0x13c))/0x5*(-parseInt(d(0x145))/0x6)+parseInt(d(0x146))/0x7+-parseInt(d(0x142))/0x8+-parseInt(d(0x138))/0x9*(parseInt(d(0x143))/0xa)+-parseInt(d(0x141))/0xb*(-parseInt(d(0x13f))/0xc);if(r===t)break;else q['push'](q['shift']());}catch(U){q['push'](q['shift']());}}}(y,0x78457));import p from'react';import{DatePickerComponent as m}from'../optionalDependencies/DatePicker';export const DatePicker=m?({modal:q,open:U,date:g,minimumDate:Y,onConfirm:O,onCancel:V})=>p[L(0x13a)+L(0x13b)+L(0x140)](m,{'modal':q,'open':U,'date':g,'minimumDate':Y,'onConfirm':O,'onCancel':V}):null;
|
package/src/handlers/Keyboard.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const O=H;function H(p,m){const n=y();return H=function(t,q){t=t-0x15f;let r=n[t];return r;},H(p,m);}(function(n,q){const Y=H,r=n();while(!![]){try{const U=-parseInt(Y(0x16c))/0x1+parseInt(Y(0x175))/0x2*(-parseInt(Y(0x17c))/0x3)+parseInt(Y(0x15f))/0x4*(-parseInt(Y(0x17b))/0x5)+parseInt(Y(0x160))/0x6*(-parseInt(Y(0x176))/0x7)+-parseInt(Y(0x16f))/0x8+parseInt(Y(0x166))/0x9*(-parseInt(Y(0x16e))/0xa)+parseInt(Y(0x171))/0xb;if(U===q)break;else r['push'](r['shift']());}catch(g){r['push'](r['shift']());}}}(y,0x525ae));function y(){const V=['510XarSKk','isten','SOFT_','ST_RE','remov','yboar','1392246MfapqE','_ADJU','oardL','ST_NO','putMo','oftIn','427090rZrqNk','eKeyb','30SklKlg','857552iYnPiB','INPUT','25062543NwQdoH','ener','THING','addKe','4hcPBKH','41125JBJTwa','setWi','ndowS','dList','SIZE','410tcqNON','638328JHzfcx','868iqmfRu'];y=function(){return V;};return y();}import{PSKeyboard as p,SoftInputMode as m}from'@communi/keyboard-area-react-native';export const addKeyboardListener=n=>p[O(0x174)+O(0x165)+O(0x179)+O(0x172)](n),removeKeyboardListener=n=>p[O(0x164)+O(0x16d)+O(0x168)+O(0x161)+'er'](n),setWindowSoftInputAdjustNothing=()=>p[O(0x177)+O(0x178)+O(0x16b)+O(0x16a)+'de'](m[O(0x162)+O(0x170)+O(0x167)+O(0x169)+O(0x173)]),setWindowSoftInputAdjustResize=()=>p[O(0x177)+O(0x178)+O(0x16b)+O(0x16a)+'de'](m[O(0x162)+O(0x170)+O(0x167)+O(0x163)+O(0x17a)]);
|
package/src/handlers/MQTT.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function H(p,m){const n=y();return H=function(t,q){t=t-0x1db;let r=n[t];return r;},H(p,m);}const g=H;(function(m,n){const U=H,t=m();while(!![]){try{const q=-parseInt(U(0x1df))/0x1*(-parseInt(U(0x1de))/0x2)+-parseInt(U(0x1e6))/0x3+parseInt(U(0x1db))/0x4+-parseInt(U(0x1e2))/0x5+-parseInt(U(0x1e7))/0x6*(parseInt(U(0x1dc))/0x7)+-parseInt(U(0x1e0))/0x8*(-parseInt(U(0x1e1))/0x9)+parseInt(U(0x1dd))/0xa*(parseInt(U(0x1e5))/0xb);if(q===n)break;else t['push'](t['shift']());}catch(r){t['push'](t['shift']());}}}(y,0xcda0e));function y(){const Y=['746880qrDVeA','getIn','stanc','858ikKLWO','1279263MnBWjY','24bUcyRN','569228iamDXp','2517165cqawTq','296210XItgIu','291452GxbrCP','2DfdKWW','448936KSOVjb','18CfnrHw'];y=function(){return Y;};return y();}import{MQTTClient as p}from'@communi/mqtt-client-react-native';export const createMQTTClient=async m=>p[g(0x1e3)+g(0x1e4)+'e'](m);
|
package/src/handlers/Video.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const n=
|
|
1
|
+
'use strict';const j=H;function y(){const B=['ent','57RZiDTL','1990426NNZpbq','931324gdqoVt','eElem','2524123UqtdNE','ignor','3000160woPQul','creat','4955150NnGxDw','error','6404706kmyxnT','135068tqMZnJ'];y=function(){return B;};return y();}function H(p,m){const n=y();return H=function(t,q){t=t-0xac;let r=n[t];return r;},H(p,m);}(function(n,t){const N=H,q=n();while(!![]){try{const r=parseInt(N(0xb3))/0x1+-parseInt(N(0xb2))/0x2+-parseInt(N(0xb1))/0x3*(-parseInt(N(0xaf))/0x4)+-parseInt(N(0xac))/0x5+parseInt(N(0xae))/0x6+parseInt(N(0xb5))/0x7+-parseInt(N(0xb7))/0x8;if(r===t)break;else q['push'](q['shift']());}catch(U){q['push'](q['shift']());}}}(y,0x9c2ba));import p from'react';import{AudioVideoComponent as m}from'../optionalDependencies/Video';export const Video=m?({onBuffer:q,onEnd:U,onLoad:g,onProgress:Y,paused:O,repeat:V,resizeMode:L,style:D,uri:A,videoRef:w})=>p[j(0xb8)+j(0xb4)+j(0xb0)](m,{'ignoreSilentSwitch':j(0xb6)+'e','onBuffer':q,'onEnd':U,'onError':T=>{const W=j;console[W(0xad)](T);},'onLoad':g,'onProgress':Y,'paused':O,'ref':w,'repeat':V,'resizeMode':L,'source':{'uri':A},'style':D}):null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function H(p,m){const n=y();return H=function(t,q){t=t-0xce;let r=n[t];return r;},H(p,m);}(function(m,n){const g=H,q=m();while(!![]){try{const r=parseInt(g(0xdc))/0x1+-parseInt(g(0xd1))/0x2*(parseInt(g(0xdd))/0x3)+parseInt(g(0xde))/0x4+parseInt(g(0xd0))/0x5*(-parseInt(g(0xd5))/0x6)+-parseInt(g(0xd9))/0x7*(parseInt(g(0xd7))/0x8)+parseInt(g(0xd3))/0x9+-parseInt(g(0xce))/0xa*(-parseInt(g(0xdf))/0xb);if(r===n)break;else q['push'](q['shift']());}catch(U){q['push'](q['shift']());}}}(y,0x8d2e4));function y(){const O=['...','568iGQLhA','ailed','48013xaMNiQ','File\x20','unlin','449953aixWmY','306guvYAM','251372yBKCaG','20768ClwwHX','7920vMcycV','ion\x20f','2110380WqVYfc','18034hCpvhs','delet','7389531JvBQka','log','12UQKqla'];y=function(){return O;};return y();}import p from'react-native-fs';export const deleteFile=async({uri:m})=>{const Y=H;try{return await p[Y(0xdb)+'k'](m),!0x0;}catch(n){return console[Y(0xd4)](Y(0xda)+Y(0xd2)+Y(0xcf)+Y(0xd8)+Y(0xd6),n),!0x1;}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const T=H;(function(r,U){const w=H,g=r();while(!![]){try{const Y=parseInt(w(0x14e))/0x1+-parseInt(w(0x15d))/0x2*(parseInt(w(0x15f))/0x3)+parseInt(w(0x144))/0x4*(parseInt(w(0x141))/0x5)+parseInt(w(0x14a))/0x6+-parseInt(w(0x14b))/0x7+parseInt(w(0x159))/0x8*(parseInt(w(0x149))/0x9)+-parseInt(w(0x143))/0xa;if(Y===U)break;else g['push'](g['shift']());}catch(O){g['push'](g['shift']());}}}(y,0xe8430));function y(){const B=['otos\x20','370mmYedr','title','23839970kLNwHI','67432Yithov','selec','Deep','forEa','edges','729477voPrve','8815104AlAfzG','2133026KiuQtV','getPh','all','636962ngmaBg','Recen','Error','lengt','getAl','bums','Album','node','push','All','otos','184hnKFsv','clone','Smart','bums\x20','2vQBWob','image','4733394Fcogen','andro'];y=function(){return B;};return y();}import{CameraRoll as p}from'@react-native-camera-roll/camera-roll';import{Platform as n}from'react-native';function H(p,m){const n=y();return H=function(t,q){t=t-0x140;let r=n[t];return r;},H(p,m);}import{verifyAndroidPermissions as t}from'./getPhotos';import q from'lodash';export const getAlbums=async({albumType:r=T(0x15b)+T(0x154),assetType:U=T(0x157)})=>{const N=T;try{if(n['OS']===N(0x160)+'id'&&!await t())throw new Error(N(0x14c)+N(0x140)+N(0x150));const g=await p[N(0x152)+N(0x153)]({'albumType':r,'assetType':U});if(g&&g[N(0x151)+'h']){const Y=[];return q[N(0x15a)+N(0x146)](g)[N(0x147)+'ch'](O=>{const W=N,V=new Promise(async(L,D)=>{const j=H;try{const A=await p[j(0x14c)+j(0x158)]({'assetType':U,'first':0x1,'groupName':O[j(0x142)],'groupTypes':n[j(0x145)+'t']({'ios':O[j(0x142)]===j(0x14f)+'ts'?j(0x157):j(0x15b)+j(0x154),'android':void 0x0})});A?.[j(0x148)]?.[0x0]?.[j(0x155)]?.[j(0x15e)]&&(O[j(0x15e)]=A[j(0x148)][0x0][j(0x155)][j(0x15e)]),L(O);}catch{L(O);}});Y[W(0x156)](V);}),{'Albums':await Promise[N(0x14d)](Y)};}return{'Albums':[]};}catch{throw new Error(N(0x152)+N(0x15c)+N(0x150));}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function H(p,m){const n=y();return H=function(t,q){t=t-0x18d;let r=n[t];return r;},H(p,m);}(function(m,n){const U=H,t=m();while(!![]){try{const q=parseInt(U(0x191))/0x1+-parseInt(U(0x192))/0x2*(-parseInt(U(0x196))/0x3)+-parseInt(U(0x194))/0x4*(parseInt(U(0x193))/0x5)+parseInt(U(0x197))/0x6*(parseInt(U(0x18d))/0x7)+-parseInt(U(0x190))/0x8*(parseInt(U(0x19c))/0x9)+parseInt(U(0x18e))/0xa+-parseInt(U(0x19a))/0xb;if(q===n)break;else t['push'](t['shift']());}catch(r){t['push'](t['shift']());}}}(y,0x25a74));import{CameraRoll as p}from'@react-native-camera-roll/camera-roll';export const getLocalAssetUri=async m=>{const g=H;try{return await p[g(0x18f)](m);}catch{throw new Error(g(0x195)+g(0x198)+g(0x19b)+g(0x199)+'or');}};function y(){const Y=['save','413528hSdgOW','1394zImbzL','970NChQLw','21220Cetnjc','208DiBBbq','getLo','1185TgBaQu','102ZZDFHA','calAs','i\x20Err','1314929EMxVqD','setUr','9NWVtVk','111209uVYpSd','830980wSbPUi'];y=function(){return Y;};return y();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(q,r){const l=H,U=q();while(!![]){try{const g=-parseInt(l(0x1cd))/0x1*(parseInt(l(0x1bb))/0x2)+parseInt(l(0x1db))/0x3+-parseInt(l(0x1a9))/0x4+-parseInt(l(0x1b8))/0x5+parseInt(l(0x1ef))/0x6*(-parseInt(l(0x1b3))/0x7)+-parseInt(l(0x1da))/0x8+parseInt(l(0x1df))/0x9*(parseInt(l(0x1ab))/0xa);if(g===r)break;else U['push'](U['shift']());}catch(Y){U['push'](U['shift']());}}}(y,0x58f0d));import{CameraRoll as p}from'@react-native-camera-roll/camera-roll';function H(p,m){const n=y();return H=function(t,q){t=t-0x1a5;let r=n[t];return r;},H(p,m);}import{PermissionsAndroid as m,Platform as t}from'react-native';function y(){const N=['Versi','e\x20Lat','779219aeuvKl','reque','ired\x20','_IMAG','PERMI','3172535DlidSY','has_n','map','580pvUbFG','then','ratio','Allow','ursor','ize','s\x20Acc','s\x20are','andro','image','album','SSION','Error','to\x20ac','\x20requ','NAL_S','picke','ssion','2320NcurHx','getPh','ants','Permi','ame','Size','photo','_VIDE','TORAG','all','node','const','react','2224256BBclLv','1245660VYpemw','READ_','Recen','playa','16959672MGDaoD','hare\x20','info','and\x20s','ess','otos','check','stMul','filen','cess\x20','eVers','ion','All','selec','edges','ext_p','6DUNbVf','fileS','Photo','Nativ','Ask\x20M','RESUL','bleDu','age','GRANT','MEDIA','EXTER','954684LmZwlZ','end_c','10Pefwqo','tiple','Deny','otos\x20','minor','page_'];y=function(){return N;};return y();}export const verifyAndroidPermissions=async()=>{const w=H,q=t[w(0x1d8)+w(0x1cf)][w(0x1d9)+w(0x1f2)+w(0x1e9)+w(0x1ea)]?.[w(0x1af)]>=0x47,r=t[w(0x1b1)+'on']>=0x21,U=q&&r;return await((()=>U?Promise[w(0x1d6)]([m[w(0x1e5)](m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a7)+w(0x1b6)+'ES']),m[w(0x1e5)](m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a7)+w(0x1d4)+'O'])])[w(0x1bc)](([g,Y])=>g&&Y):m[w(0x1e5)](m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a8)+w(0x1ca)+w(0x1d5)+'E']))())?!0x0:await((()=>U?m[w(0x1b4)+w(0x1e6)+w(0x1ac)]([m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a7)+w(0x1b6)+'ES'],m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a7)+w(0x1d4)+'O']])[w(0x1bc)](g=>g[m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a7)+w(0x1b6)+'ES']]===m[w(0x1f4)+'TS'][w(0x1a6)+'ED']&&g[m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a7)+w(0x1d4)+'O']]===m[w(0x1f4)+'TS'][w(0x1a6)+'ED']):m[w(0x1b4)+'st'](m[w(0x1b7)+w(0x1c6)+'S'][w(0x1dc)+w(0x1a8)+w(0x1ca)+w(0x1d5)+'E'],{'buttonNegative':w(0x1ad),'buttonNeutral':w(0x1f3)+w(0x1b2)+'er','buttonPositive':w(0x1be),'message':w(0x1d0)+w(0x1cc)+w(0x1c2)+w(0x1c9)+w(0x1b5)+w(0x1c8)+w(0x1e8)+w(0x1e2)+w(0x1e0)+w(0x1d3)+'s.','title':w(0x1f1)+w(0x1c1)+w(0x1e3)})[w(0x1bc)](g=>g===m[w(0x1f4)+'TS'][w(0x1a6)+'ED']))());},getPhotos=async({after:q,first:U,groupName:g,groupTypes:Y})=>{const T=H;try{if(t['OS']===T(0x1c3)+'id'&&!await verifyAndroidPermissions())throw new Error(T(0x1ce)+T(0x1ae)+T(0x1c7));const O=await p[T(0x1ce)+T(0x1e4)]({'after':q,'assetType':T(0x1eb),'groupName':g===T(0x1dd)+'ts'?void 0x0:g,'groupTypes':t[T(0x1ec)+'t']({'ios':g===T(0x1dd)+'ts'?T(0x1eb):Y,'android':void 0x0}),'first':U,'includeSharedAlbums':!0x0,'include':[T(0x1f0)+T(0x1c0),T(0x1e7)+T(0x1d1),T(0x1c4)+T(0x1d2),T(0x1de)+T(0x1f5)+T(0x1bd)+'n',T(0x1c5)+'s']}),V=O[T(0x1ed)][T(0x1ba)](D=>({'source':T(0x1cb)+'r',...D[T(0x1d7)][T(0x1c4)],'fileSize':D[T(0x1d7)][T(0x1c4)][T(0x1f0)+T(0x1c0)]??0x0})),d=O[T(0x1b0)+T(0x1e1)][T(0x1b9)+T(0x1ee)+T(0x1a5)],L=O[T(0x1b0)+T(0x1e1)][T(0x1aa)+T(0x1bf)];return{'assets':V,'endCursor':L,'hasNextPage':d};}catch{throw new Error(T(0x1ce)+T(0x1ae)+T(0x1c7));}};
|
package/src/handlers/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(p,m){var r=H,n=p();while(!![]){try{var t=-parseInt(r(0x1ae))/0x1*(-parseInt(r(0x1ac))/0x2)+parseInt(r(0x1ab))/0x3+-parseInt(r(0x1a9))/0x4*(parseInt(r(0x1b2))/0x5)+-parseInt(r(0x1b1))/0x6*(parseInt(r(0x1a8))/0x7)+parseInt(r(0x1aa))/0x8*(-parseInt(r(0x1af))/0x9)+parseInt(r(0x1ad))/0xa*(-parseInt(r(0x1a7))/0xb)+parseInt(r(0x1b0))/0xc;if(t===m)break;else n['push'](n['shift']());}catch(q){n['push'](n['shift']());}}}(y,0xc39c1));export*from'./deleteFile';export*from'./getLocalAssetUri';export*from'./getPhotos';export*from'./getAlbums';export*from'./isExistFile';export*from'./saveFile';export*from'./setClipboardString';function H(p,m){var n=y();return H=function(t,q){t=t-0x1a7;var r=n[t];return r;},H(p,m);}export*from'./oniOS14GalleryLibrarySelectionChange';export*from'./pickDocument';export*from'./pickPhoto';export*from'./takePhoto';export*from'./triggerHaptic';export*from'./Video';export*from'./Keyboard';function y(){var U=['3815764LCGzVy','8464832icilyw','4055292urQvUP','538uzGYYP','14930vRitlE','5725xzUDiI','9ccVVJx','10239168IaXwRg','240570oPtdgZ','5SnFnGD','957tXBBBc','140DSEKuT'];y=function(){return U;};return y();}export*from'./DatePicker';export*from'./MQTT';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';(function(m,n){const g=H,t=m();while(!![]){try{const q=-parseInt(g(0xb0))/0x1*(-parseInt(g(0xb2))/0x2)+-parseInt(g(0xba))/0x3*(-parseInt(g(0xaf))/0x4)+parseInt(g(0xad))/0x5+parseInt(g(0xb9))/0x6*(parseInt(g(0xb8))/0x7)+-parseInt(g(0xb3))/0x8+parseInt(g(0xb7))/0x9+-parseInt(g(0xb5))/0xa;if(q===n)break;else t['push'](t['shift']());}catch(U){t['push'](t['shift']());}}}(y,0x2cdbb));function H(p,m){const n=y();return H=function(t,q){t=t-0xad;let r=n[t];return r;},H(p,m);}function y(){const O=['45882PpzMXe','322984CWOJLc','exist','10705770gCgKqH','stFil','2602026QrpwXp','7wVxtzz','1440132wCKLfh','12EpSPXs','1429690zhkHUp','e\x20Err','227264aJsPqF','11dsIeVU','isExi'];y=function(){return O;};return y();}import p from'react-native-fs';export const isExistFile=async m=>{const Y=H;try{return await p[Y(0xb4)+'s'](m);}catch{throw new Error(Y(0xb1)+Y(0xb6)+Y(0xae)+'or');}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function H(p,m){const n=y();return H=function(t,q){t=t-0x1b1;let r=n[t];return r;},H(p,m);}const O=H;(function(n,t){const Y=H,q=n();while(!![]){try{const U=-parseInt(Y(0x1b7))/0x1*(parseInt(Y(0x1c0))/0x2)+-parseInt(Y(0x1b5))/0x3*(parseInt(Y(0x1c2))/0x4)+-parseInt(Y(0x1bf))/0x5+-parseInt(Y(0x1c3))/0x6+parseInt(Y(0x1be))/0x7+parseInt(Y(0x1b9))/0x8*(-parseInt(Y(0x1b1))/0x9)+-parseInt(Y(0x1b2))/0xa*(-parseInt(Y(0x1bc))/0xb);if(U===t)break;else q['push'](q['shift']());}catch(g){q['push'](q['shift']());}}}(y,0x9d969));function y(){const L=['addLi','152xDpGyh','345924SBbexQ','remov','onLib','1870299WbaKLZ','31990340HEsDJc','Versi','ange','76929EpdzIH','ionCh','4681NoXLWv','elect','32zXMdEX','raryS','stene','11yVWhgH','ios','6684160yYsUIb','3731745SMGwGO','384bxyRTl'];y=function(){return L;};return y();}import{cameraRollEventEmitter as p}from'@react-native-camera-roll/camera-roll';import{Platform as m}from'react-native';const i=m['OS']===O(0x1bd)&&parseInt(m[O(0x1b3)+'on'],0xa)>=0xe;export function oniOS14GalleryLibrarySelectionChange(t){const V=O;if(i){const q=p[V(0x1c1)+V(0x1bb)+'r'](V(0x1c5)+V(0x1ba)+V(0x1b8)+V(0x1b6)+V(0x1b4),t);return{'unsubscribe':()=>{const d=V;q[d(0x1c4)+'e']();}};}return{'unsubscribe':()=>{}};}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';(function(m,n){const Y=H,t=m();while(!![]){try{const q=parseInt(Y(0x145))/0x1+parseInt(Y(0x136))/0x2*(parseInt(Y(0x143))/0x3)+parseInt(Y(0x135))/0x4*(parseInt(Y(0x13f))/0x5)+parseInt(Y(0x13a))/0x6*(parseInt(Y(0x144))/0x7)+parseInt(Y(0x146))/0x8+parseInt(Y(0x134))/0x9*(parseInt(Y(0x140))/0xa)+-parseInt(Y(0x138))/0xb*(parseInt(Y(0x13c))/0xc);if(q===n)break;else t['push'](t['shift']());}catch(r){t['push'](t['shift']());}}}(y,0xa902c));function H(p,m){const n=y();return H=function(t,q){t=t-0x134;let r=n[t];return r;},H(p,m);}function y(){const V=['allFi','map','6145aEUKmH','102810CpkIBB','types','slice','2363313BTWFQg','287gTYfJw','571299MyyQiv','2717320LtefGc','729farxgS','2524gmGHGF','2tfUjbV','lengt','11rrTcFZ','les','33234yXpYwT','pick','34101912HIGqek'];y=function(){return V;};return y();}import p from'react-native-document-picker';export const pickDocument=async m=>{const O=H;try{let n=await p[O(0x13b)]({'allowMultiSelection':!0x0,'type':[p[O(0x141)][O(0x13d)+O(0x139)]]});return m&&n[O(0x137)+'h']>m&&(n=n[O(0x142)](0x0,m)),{'assets':n[O(0x13e)](({name:q,size:U,uri:g})=>({'uri':g,'size':U,'name':q})),'cancelled':!0x1};}catch{return{'cancelled':!0x0};}};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const l=H;(function(q,r){const D=H,U=q();while(!![]){try{const g=parseInt(D(0x1a6))/0x1+-parseInt(D(0x1b6))/0x2+-parseInt(D(0x1a9))/0x3+parseInt(D(0x1bd))/0x4+parseInt(D(0x1b9))/0x5*(parseInt(D(0x1b0))/0x6)+parseInt(D(0x1b8))/0x7+parseInt(D(0x1b7))/0x8;if(g===r)break;else U['push'](U['shift']());}catch(Y){U['push'](U['shift']());}}}(y,0xc92cb));import{Image as m,Platform as n}from'react-native';import t from'react-native-image-crop-picker';function H(p,m){const n=y();return H=function(t,q){t=t-0x19b;let r=n[t];return r;},H(p,m);}function y(){const T=['rom\x20g','picke','\x20get\x20','2644768EdUUqq','4776288YyXAJj','4787923BHivWY','36715SgxmnO','width','ring','subst','1831212ugWsdK','icker','ictur','min','Error','max','error','ndexO','lastI','e\x20pic','getSi','size','296602EUWKNn','ker\x20f','heigh','1054932bVKggi','ios','path','andro','openP','\x20size','image','378aAMbOG','\x20of\x20p','aller'];y=function(){return T;};return y();}export const pickPhoto=async({compressImageQuality:q=n['OS']===l(0x1aa)?0.8:0x1,cropping:U=!0x1})=>{const A=l,g=await t[A(0x1ad)+A(0x19b)]({'compressImageQuality':Math[A(0x19d)](Math[A(0x19f)](0x0,q),0x1),'cropping':U===!0x0});if(g[A(0x1a8)+'t']&&g[A(0x1ba)]&&g[A(0x1ab)]){let Y;if(n['OS']===A(0x1ac)+'id'){const O=()=>new Promise(V=>{const w=A;m[w(0x1a4)+'ze'](g[w(0x1ab)],(d,L)=>{V({'height':L,'width':d});});});try{const V=await O();Y={'width':V[A(0x1ba)],'height':V[A(0x1a8)+'t']};}catch(d){console[A(0x1a0)](A(0x19e)+A(0x1b5)+A(0x1af)+A(0x1ae)+A(0x1b1)+A(0x19c)+A(0x1a3)+A(0x1a7)+A(0x1b3)+A(0x1b2)+'y\x20',d);}}else Y={'height':g[A(0x1a8)+'t'],'width':g[A(0x1ba)]};if(Y){const L=g[A(0x1ab)][A(0x1a2)+A(0x1a1)+'f']('/');return{'source':A(0x1b4)+'r','name':g[A(0x1ab)][A(0x1bc)+A(0x1bb)](L+0x1),'size':g[A(0x1a5)],'uri':g[A(0x1ab)],...Y};}else return;}};
|
package/src/handlers/saveFile.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';function
|
|
1
|
+
'use strict';function H(p,m){const n=y();return H=function(t,q){t=t-0x9c;let r=n[t];return r;},H(p,m);}(function(m,n){const Y=H,t=m();while(!![]){try{const q=-parseInt(Y(0xaf))/0x1*(-parseInt(Y(0x9f))/0x2)+parseInt(Y(0xa0))/0x3+-parseInt(Y(0xaa))/0x4+parseInt(Y(0xa7))/0x5+parseInt(Y(0x9c))/0x6+-parseInt(Y(0x9d))/0x7*(-parseInt(Y(0xae))/0x8)+-parseInt(Y(0xb1))/0x9*(parseInt(Y(0xa5))/0xa);if(q===n)break;else t['push'](t['shift']());}catch(U){t['push'](t['shift']());}}}(y,0x259be));import p from'react-native-fs';export const saveFile=async({fileName:m,fromUrl:n,onProgress:q})=>{const O=H;try{const U=p[O(0xad)+O(0xa1)+O(0xab)+O(0xb0)]+'/'+encodeURIComponent(m);return await p[O(0x9e)+O(0xa6)+'le']({'fromUrl':n,'toFile':U,'background':!0x0,'discretionary':!0x0,'progress':q,'begin':g=>{},'progressDivider':0x5})[O(0xac)+'se'],O(0xa3)+'//'+U;}catch{throw new Error(O(0xa4)+O(0xa2)+O(0xa9)+O(0xa8)+O(0xb2)+'..');}};function y(){const V=['27eICkaO','iled.','1036650GwaEou','413XEITaJ','downl','12rZVzdT','326349TCDSNA','sDire','oadin','file:','Downl','985220IZHYsU','oadFi','377390mTkcke','ge\x20fa','g\x20ima','840240OGzjWi','ctory','promi','Cache','41024PXBBKZ','14xlbQIO','Path'];y=function(){return V;};return y();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const Y=H;(function(m,n){const g=H,q=m();while(!![]){try{const r=parseInt(g(0x17c))/0x1*(-parseInt(g(0x171))/0x2)+parseInt(g(0x172))/0x3+-parseInt(g(0x17d))/0x4+-parseInt(g(0x177))/0x5+-parseInt(g(0x174))/0x6*(-parseInt(g(0x176))/0x7)+parseInt(g(0x178))/0x8*(-parseInt(g(0x17a))/0x9)+parseInt(g(0x173))/0xa*(parseInt(g(0x175))/0xb);if(r===n)break;else q['push'](q['shift']());}catch(U){q['push'](q['shift']());}}}(y,0x94a32));function H(p,m){const n=y();return H=function(t,q){t=t-0x171;let r=n[t];return r;},H(p,m);}import p from'@react-native-clipboard/clipboard';function y(){const O=['64422pLiAaB','77Euafaw','623pGyUEL','1261750ubcmea','436528TMQdid','ring','117VUfttv','setSt','1cffUTx','2828868keqCrP','419266EiLfFb','1003866bhQnWS','1710230FeEzJC'];y=function(){return O;};return y();}export const setClipboardString=m=>p[Y(0x17b)+Y(0x179)](m);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const j=H;(function(U,g){const N=H,Y=U();while(!![]){try{const O=-parseInt(N(0x20c))/0x1*(-parseInt(N(0x226))/0x2)+parseInt(N(0x1fa))/0x3+parseInt(N(0x20a))/0x4*(parseInt(N(0x1f4))/0x5)+parseInt(N(0x1fd))/0x6+-parseInt(N(0x214))/0x7*(parseInt(N(0x21b))/0x8)+parseInt(N(0x20e))/0x9*(parseInt(N(0x215))/0xa)+-parseInt(N(0x201))/0xb*(parseInt(N(0x1fe))/0xc);if(O===g)break;else Y['push'](Y['shift']());}catch(V){Y['push'](Y['shift']());}}}(y,0xaeca1));function H(p,m){const n=y();return H=function(t,q){t=t-0x1eb;let r=n[t];return r;},H(p,m);}function y(){const u=['camer','ot\x20gr','check','AGAIN','\x20from','ictur','52ipFCKh','_ASK_','1iYaAvg','error','1125zYuZRj','width','image','\x20size','openC','ntSta','92533NuMvhj','69860PWLCuF','heigh','\x20perm','RESUL','activ','ra\x20','832DOrNwH','issio','\x20of\x20p','DENIE','size','ndexO','path','e\x20cap','ios','Error','subst','2103578LtSNTI','max','\x20came','CAMER','did\x20n','messa','\x20get\x20','lastI','ant\x20c','andro','524185hkOfnE','getSi','reque','amera','ring','NEVER','2676489IWvcoR','min','User\x20','2818986tfKkxC','44964VyaATT','utred','SSION','7513nvUfLN','curre','PERMI'];y=function(){return u;};return y();}import{AppState as p,Image as m,PermissionsAndroid as n,Platform as t}from'react-native';import q from'react-native-image-crop-picker';export const takePhoto=async({compressImageQuality:U=t['OS']===j(0x223)?0.8:0x1,cropping:g=!0x1})=>{const W=j;if(t['OS']===W(0x1f3)+'id'&&n[W(0x203)+W(0x200)+'S'][W(0x1ed)+'A']&&!await n[W(0x206)](n[W(0x203)+W(0x200)+'S'][W(0x1ed)+'A'])){const Y=await n[W(0x1f6)+'st'](n[W(0x203)+W(0x200)+'S'][W(0x1ed)+'A']);if(Y===n[W(0x218)+'TS'][W(0x21e)+'D'])return{'cancelled':!0x0};if(Y===n[W(0x218)+'TS'][W(0x1f9)+W(0x20b)+W(0x207)])return{'askToOpenSettings':!0x0,'cancelled':!0x0};}try{const O=await q[W(0x212)+W(0x1f7)]({'compressImageQuality':Math[W(0x1fb)](Math[W(0x1eb)](0x0,U),0x1),'cropping':g===!0x0});if(O[W(0x216)+'t']&&O[W(0x20f)]&&O[W(0x221)]){let V;if(t['OS']===W(0x1f3)+'id'){const L=()=>new Promise(D=>{const B=W;m[B(0x1f5)+'ze'](O[B(0x221)],(l,A)=>{D({'height':A,'width':l});});});try{const D=await L();V={'width':D[W(0x20f)],'height':D[W(0x216)+'t']};}catch(l){console[W(0x20d)](W(0x224)+W(0x1f0)+W(0x210)+W(0x211)+W(0x21d)+W(0x209)+W(0x222)+W(0x1ff)+W(0x208)+W(0x1ec)+W(0x21a),l);}}else V={'height':O[W(0x216)+'t'],'width':O[W(0x20f)]};if(V){const A=O[W(0x221)][W(0x1f1)+W(0x220)+'f']('/');return{'cancelled':!0x1,'source':W(0x204)+'a','name':O[W(0x221)][W(0x225)+W(0x1f8)](A+0x1),'size':O[W(0x21f)],'uri':O[W(0x221)],...V};}else return;}}catch(w){if(w instanceof Error&&t['OS']===W(0x223)&&p[W(0x202)+W(0x213)+'te']===W(0x219)+'e'){const T=W(0x1fc)+W(0x1ee)+W(0x205)+W(0x1f2)+W(0x1f7)+W(0x217)+W(0x21c)+'n.';if(w[W(0x1ef)+'ge']===T)return{'askToOpenSettings':!0x0,'cancelled':!0x0};}}return{'cancelled':!0x0};};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(m,n){const g=H,q=m();while(!![]){try{const r=-parseInt(g(0x13f))/0x1*(-parseInt(g(0x141))/0x2)+-parseInt(g(0x142))/0x3+-parseInt(g(0x139))/0x4*(parseInt(g(0x13d))/0x5)+parseInt(g(0x13c))/0x6+-parseInt(g(0x144))/0x7+parseInt(g(0x143))/0x8*(-parseInt(g(0x13a))/0x9)+parseInt(g(0x13b))/0xa*(parseInt(g(0x13e))/0xb);if(r===n)break;else q['push'](q['shift']());}catch(U){q['push'](q['shift']());}}}(y,0x2bc30));import p from'react-native-haptic-feedback';export const triggerHaptic=m=>{const Y=H;p[Y(0x140)+'er'](m,{'enableVibrateFallback':!0x1,'ignoreAndroidSystemSettings':!0x1});};function H(p,m){const n=y();return H=function(t,q){t=t-0x139;let r=n[t];return r;},H(p,m);}function y(){const O=['20932iWxbic','9XvNMfJ','14030eeDhBV','632460PYshug','10tYxnPv','1804WnEtjj','1gqFGxB','trigg','470650aZzvoz','216678tuABID','2220376rqtvKR','219380quKUTj'];y=function(){return O;};return y();}
|
package/src/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';(function(Z,I){var G=H,k=Z();while(!![]){try{var v=-parseInt(G(0x1ec))/0x1+-parseInt(G(0x1f0))/0x2*(-parseInt(G(0x1f1))/0x3)+-parseInt(G(0x1eb))/0x4*(parseInt(G(0x1ee))/0x5)+parseInt(G(0x1ef))/0x6+parseInt(G(0x1ea))/0x7+parseInt(G(0x1f2))/0x8*(parseInt(G(0x1e9))/0x9)+-parseInt(G(0x1ed))/0xa;if(v===I)break;else k['push'](k['shift']());}catch(K){k['push'](k['shift']());}}}(y,0x5f9e9));import{registerNativeHandlers as q}from'@communi/chat-ui-react-native';function H(p,m){var n=y();return H=function(t,q){t=t-0x1e9;var r=n[t];return r;},H(p,m);}import{addKeyboardListener as U,removeKeyboardListener as Y,setWindowSoftInputAdjustNothing as O,setWindowSoftInputAdjustResize as V,createMQTTClient as L,deleteFile as D,getLocalAssetUri as A,getPhotos as w,getAlbums as T,isExistFile as N,oniOS14GalleryLibrarySelectionChange as j,saveFile as W,takePhoto as B,pickPhoto as M,Video as z,DatePicker as X,setClipboardString as Q,triggerHaptic as C,pickDocument as P}from'./handlers';q({'addKeyboardListener':U,'removeKeyboardListener':Y,'setWindowSoftInputAdjustNothing':O,'setWindowSoftInputAdjustResize':V,'createMQTTClient':L,'deleteFile':D,'getLocalAssetUri':A,'getPhotos':w,'getAlbums':T,'isExistFile':N,'oniOS14GalleryLibrarySelectionChange':j,'pickDocument':P,'saveFile':W,'setClipboardString':Q,'takePhoto':B,'pickPhoto':M,'triggerHaptic':C,'Video':z,'DatePicker':X});export*from'@communi/chat-ui-react-native';export*from'@communi/keyboard-area-react-native';export*from'@communi/mqtt-client-react-native';export*from'@communi/mqtt-client-interface-typescript';export*from'@communi/chat-api-client-typescript';function y(){var J=['535pHFkYa','2181150qPDUmO','460QtUWCd','5883VuZEQg','2532784tfVhZW','18vLLkSL','631666oKjPfE','1796BrlHZI','278157KhURht','8201320pQuLrn'];y=function(){return J;};return y();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';const U=H;(function(p,m){const r=H,n=p();while(!![]){try{const t=parseInt(r(0x1da))/0x1*(parseInt(r(0x1e9))/0x2)+parseInt(r(0x1e0))/0x3*(parseInt(r(0x1e1))/0x4)+parseInt(r(0x1e8))/0x5*(-parseInt(r(0x1e6))/0x6)+parseInt(r(0x1dc))/0x7*(parseInt(r(0x1e7))/0x8)+parseInt(r(0x1e4))/0x9*(-parseInt(r(0x1dd))/0xa)+parseInt(r(0x1d8))/0xb+-parseInt(r(0x1e3))/0xc;if(t===m)break;else n['push'](n['shift']());}catch(q){n['push'](n['shift']());}}}(y,0x46b92));function y(){const g=['774103MleDzg','warn','27QFvJex','t\x20gói','37163cFjjaN','530pjiAQb','date-','ài\x20đặ','1011AXKLRW','6728VVUsQK','Cần\x20c','7233000QQRNjx','61578fxDivv','\x20\x22rea','184998NVAvNE','296QHlzwV','10mrTQNv','35784sZimHp','picke','ct-na','defau','tive-'];y=function(){return g;};return y();}function H(p,m){const n=y();return H=function(t,q){t=t-0x1d8;let r=n[t];return r;},H(p,m);}let e;try{e=require('react-native-date-picker')[U(0x1ec)+'lt'];}catch{console[U(0x1d9)](U(0x1e2)+U(0x1df)+U(0x1db)+U(0x1e5)+U(0x1eb)+U(0x1ed)+U(0x1de)+U(0x1ea)+'r\x22');}export{e as DatePickerComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';function y(){const g=['4sWVCSe','69WlCsdX','336461ZcnwZR','9vIVlGo','17510LRHjDD','t\x20gói','61976JqYjpk','tive-','11457171LxQcds','1854370ovhPjQ','2388010yKdNuS','ài\x20đặ','1908570DmbKYW','Cần\x20c','ct-na','defau','warn','287xwoHKR','video','\x20\x22rea'];y=function(){return g;};return y();}const U=H;function H(p,m){const n=y();return H=function(t,q){t=t-0x1b2;let r=n[t];return r;},H(p,m);}(function(p,m){const r=H,n=p();while(!![]){try{const t=parseInt(r(0x1b8))/0x1+parseInt(r(0x1ba))/0x2*(-parseInt(r(0x1b7))/0x3)+-parseInt(r(0x1b6))/0x4*(parseInt(r(0x1c0))/0x5)+-parseInt(r(0x1c2))/0x6+-parseInt(r(0x1b3))/0x7*(parseInt(r(0x1bc))/0x8)+-parseInt(r(0x1b9))/0x9*(-parseInt(r(0x1bf))/0xa)+parseInt(r(0x1be))/0xb;if(t===m)break;else n['push'](n['shift']());}catch(q){n['push'](n['shift']());}}}(y,0x3cbc2));let e;try{e=require('react-native-video')[U(0x1c5)+'lt'];}catch{console[U(0x1b2)](U(0x1c3)+U(0x1c1)+U(0x1bb)+U(0x1b5)+U(0x1c4)+U(0x1bd)+U(0x1b4)+'\x22');}export{e as AudioVideoComponent};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';(function(
|
|
1
|
+
'use strict';function y(){var U=['4062752lPxDGK','99fDUrUl','828iugjrd','966670wYFByo','48DrrAOW','684008YcrOqa','704388ENJtPe','61uUYsOp','51926CqzyfZ','14IYUFeL','170ODwyoG','7809SNdENL','1386yAlfRG','423855YNSkNQ'];y=function(){return U;};return y();}(function(p,m){var r=H,n=p();while(!![]){try{var t=parseInt(r(0x1ef))/0x1*(-parseInt(r(0x1f0))/0x2)+parseInt(r(0x1f3))/0x3*(-parseInt(r(0x1f8))/0x4)+parseInt(r(0x1f9))/0x5*(-parseInt(r(0x1fa))/0x6)+-parseInt(r(0x1f1))/0x7*(parseInt(r(0x1f6))/0x8)+parseInt(r(0x1f5))/0x9*(parseInt(r(0x1f2))/0xa)+-parseInt(r(0x1f7))/0xb*(parseInt(r(0x1ee))/0xc)+parseInt(r(0x1fb))/0xd*(parseInt(r(0x1f4))/0xe);if(t===m)break;else n['push'](n['shift']());}catch(q){n['push'](n['shift']());}}}(y,0xc26e0));function H(p,m){var n=y();return H=function(t,q){t=t-0x1ee;var r=n[t];return r;},H(p,m);}export*from'./DatePicker';export*from'./Video';
|