@wajub/react 1.3.0 → 1.3.1

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.
@@ -1 +1 @@
1
- (function(_0x5826d8,_0x5b8e96){const _0x10fe8a={_0x54ab93:0xd5,_0x5f3953:0xcc,_0x34548b:0xca,_0x16d112:0xd6,_0x7fb31b:0xc6},_0x5709e4=_0x2e1d,_0x556309=_0x5826d8();while(!![]){try{const _0x8821b7=parseInt(_0x5709e4(_0x10fe8a._0x54ab93))/(-0xc87*0x3+0x1*0x14b7+0x1*0x10df)+-parseInt(_0x5709e4(0xd1))/(0x56*-0x3d+-0x1ff*0x13+0x3a6d)*(-parseInt(_0x5709e4(0xc9))/(0x1fa*0xb+0x1f6*-0x8+-0x60b))+-parseInt(_0x5709e4(_0x10fe8a._0x5f3953))/(0x93b+-0x2222+0x18eb)+-parseInt(_0x5709e4(_0x10fe8a._0x34548b))/(0x1acd+-0x22f+-0x1899)*(-parseInt(_0x5709e4(0xce))/(0x1*-0x229f+0x115e+0x1147))+-parseInt(_0x5709e4(_0x10fe8a._0x16d112))/(-0x1*0x13f3+0x2*-0x136d+-0x3*-0x139c)*(parseInt(_0x5709e4(0xd2))/(-0x132+0x166e+-0x1534))+parseInt(_0x5709e4(0xc5))/(0x98*0x1f+-0x394*-0x9+-0x79*0x6b)+-parseInt(_0x5709e4(0xd7))/(0x2461+-0x14dc+0x529*-0x3)*(parseInt(_0x5709e4(_0x10fe8a._0x7fb31b))/(0x21da+-0x1f6a+-0x265));if(_0x8821b7===_0x5b8e96)break;else _0x556309['push'](_0x556309['shift']());}catch(_0x5b72b4){_0x556309['push'](_0x556309['shift']());}}}(_0x3e34,-0x31*0x253+-0xa488a+0x11c209));function _0x2e1d(_0x538d0f,_0x3e5620){_0x538d0f=_0x538d0f-(-0x1*-0xf9c+-0x117e*-0x1+-0x2055);const _0x263a16=_0x3e34();let _0x568db0=_0x263a16[_0x538d0f];if(_0x2e1d['eIQhoS']===undefined){var _0x3edbc1=function(_0x44ab61){const _0x2edc50='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x48a0dc='',_0xc5fa4a='';for(let _0x1485b0=-0x2001+-0x1b0a+0x3b0b,_0x5d41a6,_0x16fcc4,_0x3130bd=-0x15bf*-0x1+0x1*0x13fe+-0x29bd;_0x16fcc4=_0x44ab61['charAt'](_0x3130bd++);~_0x16fcc4&&(_0x5d41a6=_0x1485b0%(-0x1dff*0x1+0x1251+0xbb2)?_0x5d41a6*(0x92a+0x12c0+-0x1*0x1baa)+_0x16fcc4:_0x16fcc4,_0x1485b0++%(-0x557+0x9a*-0x40+-0x1*-0x2bdb))?_0x48a0dc+=String['fromCharCode'](-0x1*0xa7f+0x10a*0x14+-0x94a&_0x5d41a6>>(-(0x17*-0xe3+-0x12e+0x1595)*_0x1485b0&0x154b+-0xb*-0xd+0xb*-0x1fc)):-0xc9*-0x11+0x10d*0x1b+-0x1e*0x164){_0x16fcc4=_0x2edc50['indexOf'](_0x16fcc4);}for(let _0x29d12e=-0x1*-0x19d9+-0x16cf+-0x30a,_0xf691d5=_0x48a0dc['length'];_0x29d12e<_0xf691d5;_0x29d12e++){_0xc5fa4a+='%'+('00'+_0x48a0dc['charCodeAt'](_0x29d12e)['toString'](-0x1ad0+0x175a+-0x29*-0x16))['slice'](-(0xb77+-0x9b6+-0x95*0x3));}return decodeURIComponent(_0xc5fa4a);};_0x2e1d['oYGSXn']=_0x3edbc1,_0x2e1d['SJwcSx']={},_0x2e1d['eIQhoS']=!![];}const _0x2c5ff4=_0x263a16[-0x2046+0x1d01+0x3*0x117],_0x528ebb=_0x538d0f+_0x2c5ff4,_0x12dc12=_0x2e1d['SJwcSx'][_0x528ebb];return!_0x12dc12?(_0x568db0=_0x2e1d['oYGSXn'](_0x568db0),_0x2e1d['SJwcSx'][_0x528ebb]=_0x568db0):_0x568db0=_0x12dc12,_0x568db0;}import{jsx as _jsx}from'react/jsx-runtime';function _0x3e34(){const _0xa74e48=['Bw91BNq','mZuYofnIBK1vzG','mtaWjq','s3Lgu3C','mJaYmtHPAgnsBxC','odKXmZKYAgnkvuvK','y3vYCMvUDa','tKjWuMS','nZuXmdCWEK5uqvPg','mZvRDMHzv2e','mZbvAuXqt1O','mZy0oteZmuLeEK5RzG','mZGXotq5n1zUALzYDa','zgL2','qwfmDe0','odD3zfjsBwG','ntCZmgDxtenkDq','tuvJBgW','mJu2mtq4A2Lbr2Lv'];_0x3e34=function(){return _0xa74e48;};return _0x3e34();}import{useEffect,useRef}from'react';import{useWajubOptional}from'./WajubProvider.js';export function CheckoutEmbed({sessionId:_0x4c3071,className:_0xec15f7,style:_0x51a27b,minHeight:minHeight=0x204+-0x6c7+0x6a3,onReady:_0x4dcd2e,..._0x12af1f}){const _0x29c7b8={_0x37ecd1:0xcf,_0x695576:0xd4},_0xea7697={_0x559927:0xd0,_0x25ad4f:0xcd,_0x9b54f2:0xd3},_0x291d8e=_0x2e1d,_0x3daeff={'KyFSw':function(_0x353f4c,_0x134328){return _0x353f4c||_0x134328;},'AaLtM':function(_0x84c470,_0x5316ca){return _0x84c470(_0x5316ca);},'NBpRk':_0x291d8e(_0x29c7b8._0x37ecd1)},_0x23d5ce=useWajubOptional(),_0x266128=useRef(null),_0x24260c=_0x3daeff[_0x291d8e(0xc8)](useRef,null);return useEffect(()=>{const _0x2fac82={_0x50c21e:0xd3},_0x4069c1={_0x40ebe7:0xcb},_0x1ba7b6=_0x291d8e,_0x16d4d1={'MEcll':function(_0x36531c,_0x538d0f){return _0x36531c?.(_0x538d0f);}},_0x112e8f=_0x266128['current'];if(_0x3daeff[_0x1ba7b6(_0xea7697._0x559927)](!_0x112e8f,!_0x23d5ce))return;const _0x4faacc=_0x23d5ce['wajub'][_0x1ba7b6(_0xea7697._0x25ad4f)](_0x112e8f,{'sessionId':_0x4c3071,..._0x12af1f,'onReady':_0x3e5620=>{const _0x2fcbd2=_0x1ba7b6;_0x16d4d1[_0x2fcbd2(_0x4069c1._0x40ebe7)](_0x4dcd2e,_0x3e5620);}});return _0x24260c[_0x1ba7b6(_0xea7697._0x9b54f2)]=_0x4faacc,()=>{const _0x40c78c=_0x1ba7b6;_0x4faacc['destroy'](),_0x24260c[_0x40c78c(_0x2fac82._0x50c21e)]=null;};},[_0x23d5ce,_0x4c3071]),_jsx(_0x291d8e(0xc7),{'ref':_0x266128,'className':_0xec15f7,'style':{'minHeight':minHeight,'width':_0x3daeff[_0x291d8e(_0x29c7b8._0x695576)],..._0x51a27b}});}
1
+ function _0x268b(_0x3414ca,_0x36dd56){_0x3414ca=_0x3414ca-(-0x2019+0x17a8+0x968);const _0x292e6a=_0x100d();let _0x36dede=_0x292e6a[_0x3414ca];if(_0x268b['xtNwgI']===undefined){var _0x2f3c76=function(_0x5dbceb){const _0x17b287='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x322430='',_0x129651='';for(let _0x17b7a5=-0xa6f+-0x946*-0x2+-0x81d,_0x249648,_0x590c33,_0x473e6c=-0x97+-0xb26+0xbbd;_0x590c33=_0x5dbceb['charAt'](_0x473e6c++);~_0x590c33&&(_0x249648=_0x17b7a5%(0x1*-0x13bd+0x20*-0x11c+0x3741)?_0x249648*(0x40c*-0x2+0x353+-0x1*-0x505)+_0x590c33:_0x590c33,_0x17b7a5++%(-0x1872+0x2003+0x78d*-0x1))?_0x322430+=String['fromCharCode'](0x21e3+-0x31a*0xb+0x13a&_0x249648>>(-(0x1*-0x9d+0x1178+0xe3*-0x13)*_0x17b7a5&-0x1*0x7b9+0x94f+0x14*-0x14)):0x1b62+-0x549*-0x6+0x1*-0x3b18){_0x590c33=_0x17b287['indexOf'](_0x590c33);}for(let _0x36eb66=-0xce+0x1c55+-0x9*0x30f,_0x4e1b3a=_0x322430['length'];_0x36eb66<_0x4e1b3a;_0x36eb66++){_0x129651+='%'+('00'+_0x322430['charCodeAt'](_0x36eb66)['toString'](-0x3*0x9d5+0x15ed+-0x2*-0x3d1))['slice'](-(-0xb9*0x20+-0x18af*0x1+-0x1*-0x2fd1));}return decodeURIComponent(_0x129651);};_0x268b['zOEGEt']=_0x2f3c76,_0x268b['myoIGX']={},_0x268b['xtNwgI']=!![];}const _0x606b63=_0x292e6a[-0x1*0x2405+0x1c12+-0x5*-0x197],_0x2eb6ac=_0x3414ca+_0x606b63,_0x8efe4c=_0x268b['myoIGX'][_0x2eb6ac];return!_0x8efe4c?(_0x36dede=_0x268b['zOEGEt'](_0x36dede),_0x268b['myoIGX'][_0x2eb6ac]=_0x36dede):_0x36dede=_0x8efe4c,_0x36dede;}(function(_0x5174ac,_0x51a380){const _0x7748dd={_0x4c7103:0xfb,_0x15a5b0:0xf9,_0x1c68b2:0xfa},_0x35bfc8=_0x268b,_0x5a97af=_0x5174ac();while(!![]){try{const _0x4d7b81=parseInt(_0x35bfc8(_0x7748dd._0x4c7103))/(0x1ff5+0x2*-0xccb+0x146*-0x5)+parseInt(_0x35bfc8(_0x7748dd._0x15a5b0))/(0x2fe+-0x3*-0xad3+-0x2375*0x1)+-parseInt(_0x35bfc8(0x102))/(-0x1*-0x4be+-0x1*0x12e3+0xe28)*(parseInt(_0x35bfc8(0x104))/(0x1a34+-0xddc*-0x2+-0x28*0x159))+parseInt(_0x35bfc8(0xfc))/(-0xa10+-0x229a+0x2caf)+-parseInt(_0x35bfc8(_0x7748dd._0x1c68b2))/(-0x200+-0x1a69+0x1c6f)+-parseInt(_0x35bfc8(0x101))/(0x4be+-0xb4d+0x2*0x34b)+parseInt(_0x35bfc8(0xfe))/(-0x4a*-0x33+-0x77*-0x13+-0x7*0x35d);if(_0x4d7b81===_0x51a380)break;else _0x5a97af['push'](_0x5a97af['shift']());}catch(_0x2e607e){_0x5a97af['push'](_0x5a97af['shift']());}}}(_0x100d,0x1*0xff8f+0x1a5*-0xed+0xd*0x99d7));import{jsx as _jsx}from'react/jsx-runtime';import{useEffect,useRef}from'react';function _0x100d(){const _0xa1a201=['odGWmdHxturrweq','nZe5ndCWDfLkB3fT','tLnwALG','odyWodCXmK5nAhPOwG','mtaWjq','qxPtDM0','ntG0mJK0mM1QyunbvG','odG4ouzLr3PkrW','tMLUEKW','mtC2wev3z3Dz','zgL2','zgvZDhjVEq','vhvhuxK','y3vYCMvUDa','mJG3ntq4BwP0sgX0','ntqZnZjUsu1QweW'];_0x100d=function(){return _0xa1a201;};return _0x100d();}import{useWajubOptional}from'./WajubProvider.js';export function CheckoutEmbed({sessionId:_0xa109fd,className:_0x5efdb0,style:_0x2340fc,minHeight:minHeight=0x62+0x8bf*-0x1+0xa3d,onReady:_0x13764a,..._0x118f4e}){const _0x1d268d={_0x3d4420:0x105,_0x2078cc:0xff,_0x387d4f:0x100},_0x50abc2={_0x499417:0xf8,_0x2af0de:0xf8},_0x51c49a=_0x268b,_0x36d39a={'NinzL':function(_0x4c11ec,_0x226fef){return _0x4c11ec(_0x226fef);},'TuGQy':function(_0x3ba615,_0x51f2eb,_0x5e72f5){return _0x3ba615(_0x51f2eb,_0x5e72f5);},'NSVjX':_0x51c49a(_0x1d268d._0x3d4420),'AzSvm':_0x51c49a(_0x1d268d._0x2078cc)},_0x104b43=useWajubOptional(),_0x3ec537=useRef(null),_0x541690=_0x36d39a[_0x51c49a(0x103)](useRef,null);return useEffect(()=>{const _0x5ba258=_0x51c49a,_0x20e46e=_0x3ec537[_0x5ba258(_0x50abc2._0x499417)];if(!_0x20e46e||!_0x104b43)return;const _0x90942b=_0x104b43['wajub']['mount'](_0x20e46e,{'sessionId':_0xa109fd,..._0x118f4e,'onReady':_0x3ae364=>{_0x13764a?.(_0x3ae364);}});return _0x541690[_0x5ba258(_0x50abc2._0x2af0de)]=_0x90942b,()=>{const _0x44f60b=_0x5ba258;_0x90942b[_0x44f60b(0x106)](),_0x541690[_0x44f60b(0xf8)]=null;};},[_0x104b43,_0xa109fd]),_0x36d39a[_0x51c49a(0xf7)](_jsx,_0x36d39a[_0x51c49a(0xfd)],{'ref':_0x3ec537,'className':_0x5efdb0,'style':{'minHeight':minHeight,'width':_0x36d39a[_0x51c49a(_0x1d268d._0x387d4f)],..._0x2340fc}});}
@@ -1 +1 @@
1
- (function(_0x463cf3,_0x4c1ef3){const _0x101956={_0x1420a3:0x132},_0x4eaf31=_0x2b96,_0x47a88d=_0x463cf3();while(!![]){try{const _0x1cba32=-parseInt(_0x4eaf31(0x14a))/(-0x182e+-0x1*-0x147d+0x3b2)*(-parseInt(_0x4eaf31(0x142))/(0x1a3*-0xe+-0x2af+0x199b))+parseInt(_0x4eaf31(0x134))/(0x1e4d+0xa66+-0x28b0)+-parseInt(_0x4eaf31(0x13e))/(0xf69*-0x1+-0x1fa5+0x2f12)+parseInt(_0x4eaf31(0x146))/(-0x135*0x2+0x1bb9*-0x1+0x608*0x5)+parseInt(_0x4eaf31(_0x101956._0x1420a3))/(0x11*-0xa5+-0x2c1*0x9+0x5f6*0x6)+-parseInt(_0x4eaf31(0x13d))/(0x10a*-0x19+0x277*0x4+-0x1*-0x1025)+-parseInt(_0x4eaf31(0x13c))/(-0x7*-0x52f+-0x4c0+0x1f81*-0x1);if(_0x1cba32===_0x4c1ef3)break;else _0x47a88d['push'](_0x47a88d['shift']());}catch(_0x1b3b00){_0x47a88d['push'](_0x47a88d['shift']());}}}(_0x384c,0x2279*-0x14+-0x3b811+-0x137*-0x83b));function _0x2b96(_0x3e7c94,_0x3a9356){_0x3e7c94=_0x3e7c94-(-0x3*-0xc8d+0x20ce+0x4549*-0x1);const _0x3c4578=_0x384c();let _0x3b7313=_0x3c4578[_0x3e7c94];if(_0x2b96['FDZdyd']===undefined){var _0x2e822e=function(_0x7e61c2){const _0x42b659='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x34e7db='',_0x1b2f72='';for(let _0x13a541=-0x1d*0x93+-0xda9+-0x1*-0x1e50,_0x549b2b,_0xbdac8a,_0x19b784=0x2*0x1d6+0x13*0x14b+0x1*-0x1c3d;_0xbdac8a=_0x7e61c2['charAt'](_0x19b784++);~_0xbdac8a&&(_0x549b2b=_0x13a541%(0x2d4*-0x9+0x1*-0x212f+-0x555*-0xb)?_0x549b2b*(-0x4*-0x16a+0x1b96+0x1*-0x20fe)+_0xbdac8a:_0xbdac8a,_0x13a541++%(0x132b*0x2+-0x1237+-0x141b*0x1))?_0x34e7db+=String['fromCharCode'](0x10fb+0x144+-0x1140&_0x549b2b>>(-(-0x13*0x33+-0x26ee+-0x1*-0x2ab9)*_0x13a541&0x20e3+-0x11f9+-0xee4)):0x7a*-0x11+0x13d0+0x2*-0x5db){_0xbdac8a=_0x42b659['indexOf'](_0xbdac8a);}for(let _0xaec2ec=0x177*-0x5+-0x2328+0x2a7b,_0x369f91=_0x34e7db['length'];_0xaec2ec<_0x369f91;_0xaec2ec++){_0x1b2f72+='%'+('00'+_0x34e7db['charCodeAt'](_0xaec2ec)['toString'](0x1b67+-0x2e*0x86+0x1*-0x343))['slice'](-(0x1c21+0x177d+-0x339c));}return decodeURIComponent(_0x1b2f72);};_0x2b96['MgIwDV']=_0x2e822e,_0x2b96['sSHdHx']={},_0x2b96['FDZdyd']=!![];}const _0x5d8e01=_0x3c4578[-0x66*-0x41+-0x2374+0x98e],_0x527ca1=_0x3e7c94+_0x5d8e01,_0x14831f=_0x2b96['sSHdHx'][_0x527ca1];return!_0x14831f?(_0x3b7313=_0x2b96['MgIwDV'](_0x3b7313),_0x2b96['sSHdHx'][_0x527ca1]=_0x3b7313):_0x3b7313=_0x14831f,_0x3b7313;}function _0x384c(){const _0x29648e=['whfqrfm','zgvZDhjVEq','Bg9JywXL','mtaWjq','DxbKyxrL','ndi1oti5nMnSDKf1tW','mti0mtm0nwvrsMzZvG','mZiWmZq4uMTwrwnq','yxbWzwfYyw4','y2v5BeW','BwLUsgvPz2G','nti0mJbqyxvUtei','Bw9IAwXLtw8','B2j3B3u','y2fYza','mtyZnJKZnxrOqLLNwq','u1DZAKK','D2fSBgv0','y3jLyxrL','mtf1yKn2tLu','Bgf5B3v0','y3vYCMvUDa','zgL2','s3zJtLm','zKrTz0y','Cgf5BwvUDa','BMv5','mtm5nJqXnMPPsevmsW','y29TCg9Uzw4','nti5mZq3ywvotLHc','Bw91BNq','z0Lgr0C'];_0x384c=function(){return _0x29648e;};return _0x384c();}import{jsx as _jsx}from'react/jsx-runtime';import{useEffect,useRef}from'react';import{useWajubOptional}from'./WajubProvider.js';function ComponentEmbed({sessionId:_0x516d01,type:_0x5e7c3d,className:_0x1ac294,style:_0x36e8f4,minHeight:minHeight=-0x5*-0x449+0x7*0xa6+0x1*-0x192f,onReady:_0x31003c,onInstance:_0x264ead,..._0x4c50fd}){const _0x3edf07={_0x9a977e:0x144,_0x18a873:0x12e,_0x4496b5:0x13f,_0x559068:0x139,_0x33443e:0x137},_0x592d74={_0x3cc7bd:0x12c},_0xae7cf5={_0x1c7b8d:0x12c,_0x208f8d:0x133,_0x46518c:0x149,_0x1f2ecb:0x135,_0x2b189d:0x12c},_0x54ce92={_0x1dabc2:0x138,_0x14ebb5:0x147},_0x478483=_0x2b96,_0x9aa039={'SWsjI':function(_0x34ee24,_0x38c259){return _0x34ee24?.(_0x38c259);},'Amnix':function(_0x43e050,_0x3a56d4){return _0x43e050?.(_0x3a56d4);},'obwou':function(_0x45188f,_0x4d6628){return _0x45188f(_0x4d6628);},'KvcNS':function(_0x4df7fa,_0x1f8a41,_0x2f1426){return _0x4df7fa(_0x1f8a41,_0x2f1426);},'XqPDS':_0x478483(0x13a)},_0x297a2f=useWajubOptional(),_0x225eb3=_0x9aa039[_0x478483(_0x3edf07._0x9a977e)](useRef,null),_0x21bbf5=useRef(null);return _0x9aa039[_0x478483(_0x3edf07._0x18a873)](useEffect,()=>{const _0x56503d=_0x478483,_0x5e6795=_0x225eb3[_0x56503d(_0xae7cf5._0x1c7b8d)];if(!_0x5e6795||!_0x297a2f)return;const _0x2fd952=_0x297a2f['wajub'][_0x56503d(_0xae7cf5._0x208f8d)+'ts'](_0x516d01,_0x4c50fd),_0x328530=_0x2fd952[_0x56503d(_0xae7cf5._0x46518c)](_0x5e7c3d,{'sessionId':_0x516d01,..._0x4c50fd,'onReady':_0x426bac=>{_0x31003c?.(_0x426bac);}});return _0x328530[_0x56503d(_0xae7cf5._0x1f2ecb)](_0x5e6795),_0x21bbf5[_0x56503d(_0xae7cf5._0x2b189d)]=_0x328530,_0x9aa039['Amnix'](_0x264ead,_0x328530),()=>{const _0x2facc4=_0x56503d;_0x328530[_0x2facc4(_0x54ce92._0x1dabc2)](),_0x21bbf5[_0x2facc4(0x12c)]=null,_0x9aa039[_0x2facc4(_0x54ce92._0x14ebb5)](_0x264ead,null);};},[_0x297a2f,_0x516d01,_0x5e7c3d]),useEffect(()=>{const _0x2a8ef7=_0x478483,_0x184098=_0x21bbf5[_0x2a8ef7(_0x592d74._0x3cc7bd)];if(!_0x184098)return;_0x184098[_0x2a8ef7(0x13b)]({'appearance':_0x4c50fd['appearan'+'ce'],'locale':_0x4c50fd[_0x2a8ef7(0x139)],'layout':_0x4c50fd[_0x2a8ef7(0x14b)]});},[_0x4c50fd[_0x478483(_0x3edf07._0x4496b5)+'ce'],_0x4c50fd[_0x478483(_0x3edf07._0x559068)],_0x4c50fd[_0x478483(0x14b)]]),_jsx(_0x478483(0x12d),{'ref':_0x225eb3,'className':_0x1ac294,'style':{'minHeight':minHeight,'width':_0x9aa039[_0x478483(_0x3edf07._0x33443e)],..._0x36e8f4}});}export function CardComponent(_0x3dac60){const _0x14240b={_0x5d9d24:0x141},_0x394d8d=_0x2b96,_0x3f6f17={'gIFGG':function(_0xb76ea4,_0x289a16,_0x2de94f){return _0xb76ea4(_0x289a16,_0x2de94f);}};return _0x3f6f17[_0x394d8d(0x136)](_jsx,ComponentEmbed,{..._0x3dac60,'type':_0x394d8d(0x145),'minHeight':_0x3dac60[_0x394d8d(_0x14240b._0x5d9d24)+'t']??-0x7*0x337+0x1*0xa7d+0x222*0x6});}export function MobileMoneyComponent(_0x3642f9){const _0x3e68b6={_0x36be1a:0x143,_0x1374c5:0x131,_0x40146e:0x141},_0x36f583=_0x2b96,_0x429355={'fDmgF':function(_0x498e2a,_0x2f1e67,_0x58392c){return _0x498e2a(_0x2f1e67,_0x58392c);}};return _0x429355[_0x36f583(0x12f)](_jsx,ComponentEmbed,{..._0x3642f9,'type':_0x36f583(_0x3e68b6._0x36be1a)+_0x36f583(_0x3e68b6._0x1374c5),'minHeight':_0x3642f9[_0x36f583(_0x3e68b6._0x40146e)+'t']??0x1a10+-0xce+-0x1852});}export function WalletComponent(_0x1a2df7){const _0x4e17cf={_0x2b19d2:0x148,_0x3f46e1:0x141},_0x33e729=_0x2b96,_0x1c813b={'ceylL':_0x33e729(_0x4e17cf._0x2b19d2)};return _jsx(ComponentEmbed,{..._0x1a2df7,'type':_0x1c813b[_0x33e729(0x140)],'minHeight':_0x1a2df7[_0x33e729(_0x4e17cf._0x3f46e1)+'t']??0x421+0x631+-0x9da});}export function PaymentComponent(_0x3c3f21){const _0x398673=_0x2b96,_0x10a9d6={'cXkIo':_0x398673(0x130)};return _jsx(ComponentEmbed,{..._0x3c3f21,'type':_0x10a9d6['cXkIo'],'minHeight':_0x3c3f21['minHeigh'+'t']??0x9cd*0x1+0x10fd+-0x1962});}export function AddressComponent(_0x53e4c9){const _0x15225b={_0x3f61b0:0x141},_0x569d6b=_0x2b96;return _jsx(ComponentEmbed,{..._0x53e4c9,'type':'address','minHeight':_0x53e4c9[_0x569d6b(_0x15225b._0x3f61b0)+'t']??-0x1ed2+0x219f+-0x1b5});}export{ComponentEmbed};
1
+ (function(_0x3a7eb8,_0x343ad2){const _0x270845={_0x11ab28:0x1c6,_0x1a00a5:0x1b9,_0x525749:0x1b1,_0x5c7e68:0x1b2,_0x549dc9:0x1ad,_0x3d7571:0x1b7},_0x52c3f8=_0x2a4a,_0x1951d9=_0x3a7eb8();while(!![]){try{const _0x6a9808=-parseInt(_0x52c3f8(0x1b5))/(0x25e2+-0x477*-0x3+0x2*-0x19a3)*(parseInt(_0x52c3f8(_0x270845._0x11ab28))/(0x103*-0x6+0x1dae+-0x179a))+parseInt(_0x52c3f8(_0x270845._0x1a00a5))/(-0x1*-0x269b+0xa*0x163+-0x18b*0x22)+parseInt(_0x52c3f8(_0x270845._0x525749))/(0x4*0x624+-0x1*-0x8d5+-0x2161)*(-parseInt(_0x52c3f8(_0x270845._0x5c7e68))/(0x112d*0x2+-0x18f0+0xb9*-0xd))+-parseInt(_0x52c3f8(0x1bf))/(-0x1294+0x198*0x6+0x90a)*(parseInt(_0x52c3f8(0x1c1))/(0x100*-0xc+0x3f0+-0x1*-0x817))+parseInt(_0x52c3f8(0x1c4))/(-0x1ff9*0x1+-0x1757+0x3758)+parseInt(_0x52c3f8(_0x270845._0x549dc9))/(0x20a9+0x13b3*-0x1+-0x3*0x44f)+-parseInt(_0x52c3f8(_0x270845._0x3d7571))/(-0x396+-0x1171+0x1511);if(_0x6a9808===_0x343ad2)break;else _0x1951d9['push'](_0x1951d9['shift']());}catch(_0xef4394){_0x1951d9['push'](_0x1951d9['shift']());}}}(_0x5073,-0x120d13+-0xe*0x174ca+-0x1*-0x35378a));function _0x5073(){const _0x5f4411=['CMrOz0e','ntuZmdiWuePRz2Dd','nxnSwMHesW','Bw91BNq','Cgf5BwvUDa','nJvVEejKrMW','D2fQDwi','mJqZmZG1mdbwEu1LzhO','D2fSBgv0','ndmXnZeXnevlDfzXtW','Bg9JywXL','BwLUsgvPz2G','Bgf5B3v0','BMv5','zgL2','nMjcC05XDa','mtaWjq','mJeWntq4mwH6B3DstW','y3vYCMvUDa','DwvADKC','mtm1mdu5ndrfD2jrtK8','y2fYza','mJuYmJb3CM1xu2W','yxbWzwfYyw4','mtm4mdqZmdHbuNbgvgS','zgvZDhjVEq','y29TCg9Uzw4'];_0x5073=function(){return _0x5f4411;};return _0x5073();}import{jsx as _jsx}from'react/jsx-runtime';import{useEffect,useRef}from'react';import{useWajubOptional}from'./WajubProvider.js';function ComponentEmbed({sessionId:_0x552c6e,type:_0x4a3b40,className:_0x3580b1,style:_0x41100c,minHeight:minHeight=0x131d+0x2462+-0x36b7,onReady:_0x2a0102,onInstance:_0x5e5731,..._0x339a23}){const _0x43fa4b={_0xe4a4c:0x1c7},_0x5b542f={_0x1e5dd0:0x1c2,_0x207729:0x1c7},_0x520207={_0x5b7e41:0x1c2,_0x511484:0x1af},_0x49697f={_0x43c6e5:0x1ae,_0x4050c1:0x1c2},_0x130fd1=_0x2a4a,_0xd4540c={'IgMos':function(_0x5e9953,_0xadbc3,_0x2e65ec){return _0x5e9953(_0xadbc3,_0x2e65ec);}},_0x21e3fd=useWajubOptional(),_0x467138=useRef(null),_0x1056b7=useRef(null);return _0xd4540c['IgMos'](useEffect,()=>{const _0x1dac19=_0x2a4a,uchFNA={'Wdedg':function(_0x4032f9,_0x8a2a82){return _0x4032f9?.(_0x8a2a82);}},_0x564520=_0x467138[_0x1dac19(_0x520207._0x5b7e41)];if(!_0x564520||!_0x21e3fd)return;const _0x149912=_0x21e3fd[_0x1dac19(0x1b6)][_0x1dac19(_0x520207._0x511484)+'ts'](_0x552c6e,_0x339a23),_0x7f14a7=_0x149912['create'](_0x4a3b40,{'sessionId':_0x552c6e,..._0x339a23,'onReady':_0x9d254a=>{_0x2a0102?.(_0x9d254a);}});return _0x7f14a7[_0x1dac19(0x1b3)](_0x564520),_0x1056b7['current']=_0x7f14a7,_0x5e5731?.(_0x7f14a7),()=>{const _0xb1f223=_0x1dac19;_0x7f14a7[_0xb1f223(_0x49697f._0x43c6e5)](),_0x1056b7[_0xb1f223(_0x49697f._0x4050c1)]=null,uchFNA['Wdedg'](_0x5e5731,null);};},[_0x21e3fd,_0x552c6e,_0x4a3b40]),useEffect(()=>{const _0x96ff94=_0x2a4a,_0x4f89cb=_0x1056b7[_0x96ff94(_0x5b542f._0x1e5dd0)];if(!_0x4f89cb)return;_0x4f89cb['update']({'appearance':_0x339a23[_0x96ff94(_0x5b542f._0x207729)+'ce'],'locale':_0x339a23[_0x96ff94(0x1ba)],'layout':_0x339a23[_0x96ff94(0x1bc)]});},[_0x339a23[_0x130fd1(_0x43fa4b._0xe4a4c)+'ce'],_0x339a23['locale'],_0x339a23['layout']]),_jsx(_0x130fd1(0x1be),{'ref':_0x467138,'className':_0x3580b1,'style':{'minHeight':minHeight,'width':_0x130fd1(0x1c0),..._0x41100c}});}function _0x2a4a(_0x2899fc,_0x1c03ea){_0x2899fc=_0x2899fc-(-0x1*-0x15b7+0x21*0xb3+-0xe5f*0x3);const _0x2ecce7=_0x5073();let _0x22eb75=_0x2ecce7[_0x2899fc];if(_0x2a4a['pByPxh']===undefined){var _0x307cb1=function(_0x34387f){const _0x2667b0='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3efaf0='',_0x5b3b78='';for(let _0x411c51=0x4*-0xef+0x17c5+0x1*-0x1409,_0x3e560a,_0x2919a7,_0x2b70bd=-0x3*0xcfa+-0x1*0x1157+0x3845;_0x2919a7=_0x34387f['charAt'](_0x2b70bd++);~_0x2919a7&&(_0x3e560a=_0x411c51%(0x2f9*-0xc+0x1e7*-0xf+-0x29*-0x191)?_0x3e560a*(0x2274+0x21f7+-0x442b)+_0x2919a7:_0x2919a7,_0x411c51++%(-0x1d41+0x2*0x4bb+0x13cf))?_0x3efaf0+=String['fromCharCode'](-0x1708+0x19*0x18d+-0xebe&_0x3e560a>>(-(0x181c+0x24c3*-0x1+-0xca9*-0x1)*_0x411c51&-0x2c9*0xc+-0x9*0x35+0x234f)):0x99*-0x1+0x3*0x441+-0xc2a){_0x2919a7=_0x2667b0['indexOf'](_0x2919a7);}for(let _0x34fce5=-0xb0d+0x407*-0x1+-0xf14*-0x1,_0x42d41c=_0x3efaf0['length'];_0x34fce5<_0x42d41c;_0x34fce5++){_0x5b3b78+='%'+('00'+_0x3efaf0['charCodeAt'](_0x34fce5)['toString'](-0x268d*-0x1+0x21*-0x89+-0x14d4))['slice'](-(0xa57+-0x12cd+0x878));}return decodeURIComponent(_0x5b3b78);};_0x2a4a['dPtSMp']=_0x307cb1,_0x2a4a['bVUjHJ']={},_0x2a4a['pByPxh']=!![];}const _0x32d1ec=_0x2ecce7[0x8*-0x38a+-0x1d99+-0x19*-0x251],_0x11059f=_0x2899fc+_0x32d1ec,_0x5775b5=_0x2a4a['bVUjHJ'][_0x11059f];return!_0x5775b5?(_0x22eb75=_0x2a4a['dPtSMp'](_0x22eb75),_0x2a4a['bVUjHJ'][_0x11059f]=_0x22eb75):_0x22eb75=_0x5775b5,_0x22eb75;}export function CardComponent(_0x8380e9){const _0x41fc73={_0x506c0b:0x1bb},_0x3eb736=_0x2a4a;return _jsx(ComponentEmbed,{..._0x8380e9,'type':_0x3eb736(0x1c5),'minHeight':_0x8380e9[_0x3eb736(_0x41fc73._0x506c0b)+'t']??0xdf+0xb*0x189+-0x6a*0x29});}export function MobileMoneyComponent(_0x53f496){const _0x403381={_0x1f6c1d:0x1b0,_0x5c85c2:0x1bd},_0x1192c0=_0x2a4a,_0x43a550={'rdhgA':function(_0x248b1c,_0x482abe,_0x47345b){return _0x248b1c(_0x482abe,_0x47345b);}};return _0x43a550[_0x1192c0(_0x403381._0x1f6c1d)](_jsx,ComponentEmbed,{..._0x53f496,'type':'mobileMo'+_0x1192c0(_0x403381._0x5c85c2),'minHeight':_0x53f496[_0x1192c0(0x1bb)+'t']??-0x3a1+-0x1de4+0x2275});}export function WalletComponent(_0x5f5450){const _0x2d75ae={_0xb8052f:0x1bb},_0x34da11=_0x2a4a,_0xc690e3={'CuIXJ':function(_0x479fd2,_0x2498f5,_0x4c7a79){return _0x479fd2(_0x2498f5,_0x4c7a79);}};return _0xc690e3['CuIXJ'](_jsx,ComponentEmbed,{..._0x5f5450,'type':_0x34da11(0x1b8),'minHeight':_0x5f5450[_0x34da11(_0x2d75ae._0xb8052f)+'t']??0xf53*0x2+-0x88+-0x1da6});}export function PaymentComponent(_0x5ed63c){const _0x63b06d={_0x4238a5:0x1c3},_0x5116b6=_0x2a4a,cizRhU={'ueZvG':function(_0x20d55e,_0x5951d0,_0x101cba){return _0x20d55e(_0x5951d0,_0x101cba);}};return cizRhU[_0x5116b6(_0x63b06d._0x4238a5)](_jsx,ComponentEmbed,{..._0x5ed63c,'type':_0x5116b6(0x1b4),'minHeight':_0x5ed63c['minHeigh'+'t']??-0x1c41+-0x41*0x5b+0x34c4});}export function AddressComponent(_0x1d87b6){const _0x26e23f={_0x1a65eb:0x1bb},_0x2cab7c=_0x2a4a;return _jsx(ComponentEmbed,{..._0x1d87b6,'type':'address','minHeight':_0x1d87b6[_0x2cab7c(_0x26e23f._0x1a65eb)+'t']??0x1110+-0x27a*-0x8+-0x23c8});}export{ComponentEmbed};
@@ -1,5 +1,5 @@
1
1
  import { type ReactNode } from "react";
2
- import { type LoadWajubOptions, type WajubRuntime } from "@wajub/js";
2
+ import { type LoadWajubOptions, type WajubRuntime } from "@wajub/js/pure";
3
3
  export interface WajubProviderProps {
4
4
  children: ReactNode;
5
5
  /** Pass-through to loadWajub (CDN origin override). */
@@ -15,7 +15,7 @@ export declare function useWajubOptional(): WajubRuntime | null;
15
15
  /** Manually trigger load (for `@wajub/js/pure` + defer). */
16
16
  export declare function useLoadWajub(): {
17
17
  loadWajub: (options?: LoadWajubOptions) => Promise<WajubRuntime | null>;
18
- runtime: WajubRuntime | null;
18
+ runtime: import("../../dist/index.js").WajubRuntime | null;
19
19
  loading: boolean;
20
20
  error: Error | null;
21
21
  };
@@ -1 +1 @@
1
- {"version":3,"file":"WajubProvider.d.ts","sourceRoot":"","sources":["../src/WajubProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,WAAW,CAAC;AAGhF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,uDAAuD;IACvD,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,yFAAyF;IACzF,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAa,EAAE,EAAE,kBAAkB,+BAiCzF;AAED,mHAAmH;AACnH,wBAAgB,QAAQ,IAAI,YAAY,CAYvC;AAED,4DAA4D;AAC5D,wBAAgB,gBAAgB,IAAI,YAAY,GAAG,IAAI,CAGtD;AAED,4DAA4D;AAC5D,wBAAgB,YAAY;0BAGP,gBAAgB;;;;EAOpC"}
1
+ {"version":3,"file":"WajubProvider.d.ts","sourceRoot":"","sources":["../src/WajubProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,KAAK,gBAAgB,EAAE,KAAK,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGrF,MAAM,WAAW,kBAAkB;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,uDAAuD;IACvD,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,yFAAyF;IACzF,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,KAAa,EAAE,EAAE,kBAAkB,+BAiCzF;AAED,mHAAmH;AACnH,wBAAgB,QAAQ,IAAI,YAAY,CAYvC;AAED,4DAA4D;AAC5D,wBAAgB,gBAAgB,IAAI,YAAY,GAAG,IAAI,CAGtD;AAED,4DAA4D;AAC5D,wBAAgB,YAAY;0BAGP,gBAAgB;;;;EAOpC"}
@@ -1 +1 @@
1
- (function(_0x4f379d,_0x50660a){const _0x330f1f={_0x55506c:0x1db,_0x3ef6af:0x1e1,_0x45c8e3:0x1df,_0x45f007:0x1da,_0x10560d:0x1d6},_0x3d1588=_0x47ef,_0xdb3bb4=_0x4f379d();while(!![]){try{const _0x4bdb54=-parseInt(_0x3d1588(0x1dd))/(-0x6b3+0xa*0x1+0x6aa)+-parseInt(_0x3d1588(0x1e4))/(-0x1*0x11e3+0x1ecc+0x44d*-0x3)*(-parseInt(_0x3d1588(_0x330f1f._0x55506c))/(-0xd36+0x7a9+-0x10*-0x59))+parseInt(_0x3d1588(_0x330f1f._0x3ef6af))/(0x9*-0xc3+0x1507+-0xe28)+-parseInt(_0x3d1588(0x1e0))/(-0x170*0x13+-0x1ab5+0x360a)*(parseInt(_0x3d1588(_0x330f1f._0x45c8e3))/(-0xee3+-0xa8b*-0x3+-0x10b8))+-parseInt(_0x3d1588(0x1d9))/(-0x86a*0x1+-0x26f8+-0x1*-0x2f69)+-parseInt(_0x3d1588(_0x330f1f._0x45f007))/(-0x3*0x15d+-0x55b*-0x3+-0xbf2)+parseInt(_0x3d1588(_0x330f1f._0x10560d))/(0x13f7+-0x1*-0x167b+-0x2a69);if(_0x4bdb54===_0x50660a)break;else _0xdb3bb4['push'](_0xdb3bb4['shift']());}catch(_0x5e85e6){_0xdb3bb4['push'](_0xdb3bb4['shift']());}}}(_0x4f2f,0x2d4f0+0x7*0x584e+-0x396f));import{jsx as _jsx}from'react/jsx-runtime';import{useCallback,useContext,useEffect,useMemo,useState}from'react';import{loadWajub}from'@wajub/js';function _0x47ef(_0x14e0b2,_0x37b267){_0x14e0b2=_0x14e0b2-(0x53*-0x26+0x4ed+-0x11*-0x8b);const _0x5ce208=_0x4f2f();let _0x5d88af=_0x5ce208[_0x14e0b2];if(_0x47ef['KUJCEL']===undefined){var _0x1e7e6d=function(_0x95af25){const _0x584813='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x5e056f='',_0x4eac5a='';for(let _0x297fc6=0x1a25+-0x10ce+-0x1*0x957,_0x31d573,_0x518ba7,_0x5bc656=0x218e*-0x1+0x3d*0x7f+0x34b;_0x518ba7=_0x95af25['charAt'](_0x5bc656++);~_0x518ba7&&(_0x31d573=_0x297fc6%(0x257d+0xc*-0x179+0x25*-0x89)?_0x31d573*(-0x69b+-0x8c8+0xfa3*0x1)+_0x518ba7:_0x518ba7,_0x297fc6++%(0xbb8+-0x2b*0xdf+0x19c1))?_0x5e056f+=String['fromCharCode'](-0x12e+0x14bb*-0x1+-0x1*-0x16e8&_0x31d573>>(-(-0x1*-0x881+0x47*0x56+-0x2059)*_0x297fc6&-0x26a0+0x11e8*-0x2+0x4a76)):0x1*-0x1154+-0x73*0x2c+0x2518){_0x518ba7=_0x584813['indexOf'](_0x518ba7);}for(let _0x291408=-0x21f9+-0x2*0x1169+0x44cb,_0x9dd9a0=_0x5e056f['length'];_0x291408<_0x9dd9a0;_0x291408++){_0x4eac5a+='%'+('00'+_0x5e056f['charCodeAt'](_0x291408)['toString'](0x176f+-0xf*-0x40+-0x1b1f))['slice'](-(0x6f0+0x1*0x2075+-0x2763));}return decodeURIComponent(_0x4eac5a);};_0x47ef['HTnKok']=_0x1e7e6d,_0x47ef['iPwkpq']={},_0x47ef['KUJCEL']=!![];}const _0x53551d=_0x5ce208[0x1*-0x1269+-0x71b*-0x3+0x18*-0x1f],_0x53e362=_0x14e0b2+_0x53551d,_0x515159=_0x47ef['iPwkpq'][_0x53e362];return!_0x515159?(_0x5d88af=_0x47ef['HTnKok'](_0x5d88af),_0x47ef['iPwkpq'][_0x53e362]=_0x5d88af):_0x5d88af=_0x515159,_0x5d88af;}import{WajubContext}from'./context.js';function _0x4f2f(){const _0x26915f=['v2fQDwiUANm','EM1UsfK','ndi0otaWn0v5ywjlBG','mtCWmtyYngHPsLfSCq','oda2mufxDNDqyW','t0zdsNy','mJaXodq4teD5EMXx','DMfPBgfIBgu','ndaYnJCYBLjZz2vh','mZv5z0Lkug0','mJu4odHRsxLKwuy','tLLUB20','wvPXvfq','mZG4DMLLyNj6','AwXSigXVywq','BgHLuxG','wLf3yLm','AKfyCfq','zcbIBg9JA2u','oIbxywP1yI4','uhjVDMLKzxi','ANmGAxmGC3q','ANmGBM90ige','z3ztuum','ANnpCMLNAw4','ihvUyxzHAwW','ywjSzsaOu1m','Aw5N','mte2mZqZodfHseXIsKu'];_0x4f2f=function(){return _0x26915f;};return _0x4f2f();}export function WajubProvider({children:children,loadOptions:_0x32232a,defer:defer=![]}){const _0x2d6172={_0x152604:0x1d7,_0x2eca20:0x1f0,_0x69725d:0x1e9,_0x28452a:0x1e3,_0x18b2f5:0x1ef,_0x10b0e7:0x1e7},_0x2a4873={_0x14114b:0x1dc},_0x2ba8f3=_0x47ef,_0x25bdee={'OFCJv':_0x2ba8f3(_0x2d6172._0x152604)+_0x2ba8f3(_0x2d6172._0x2eca20)+_0x2ba8f3(0x1f1)+'R\x20or\x20loa'+_0x2ba8f3(_0x2d6172._0x69725d)+'d)','NYnom':function(_0x2d020c,_0x49fc95){return _0x2d020c instanceof _0x49fc95;},'ZqmPC':function(_0x48865a,_0x66fecd){return _0x48865a(_0x66fecd);},'VvOEw':function(_0x3f6f64,_0x52ad8c){return _0x3f6f64(_0x52ad8c);},'PBFeI':function(_0x2290bd,_0x587610){return _0x2290bd(_0x587610);},'YZqTT':function(_0x1d3151,_0x124bdc,_0x2e6aa3){return _0x1d3151(_0x124bdc,_0x2e6aa3);},'ZQwbS':function(_0x2bd7c7,_0xa0ed9d,_0x51696c){return _0x2bd7c7(_0xa0ed9d,_0x51696c);}},[_0x4db3ee,_0x5c67d0]=useState(null),[_0x2dd127,_0x520cf6]=_0x25bdee['VvOEw'](useState,!defer),[_0x58d57d,_0x34f317]=_0x25bdee['PBFeI'](useState,null);_0x25bdee[_0x2ba8f3(_0x2d6172._0x28452a)](useEffect,()=>{const _0x524ab1={_0x3be80f:0x1e2},_0x1226c6={'zmnHY':function(_0x43263a,_0xa2fd77){const _0x29284b=_0x47ef;return _0x25bdee[_0x29284b(_0x524ab1._0x3be80f)](_0x43263a,_0xa2fd77);}};if(defer)return;let _0x134b82=!![];return _0x520cf6(!![]),_0x25bdee['ZqmPC'](loadWajub,_0x32232a)['then'](_0xeb42bc=>{const _0x760db7=_0x47ef;if(!_0x134b82)return;_0x5c67d0(_0xeb42bc),_0x34f317(_0xeb42bc?null:new Error(_0x25bdee[_0x760db7(_0x2a4873._0x14114b)]));})['catch'](_0x136b5a=>{const _0x1e5a30=_0x47ef;if(!_0x134b82)return;_0x34f317(_0x1226c6[_0x1e5a30(0x1d8)](_0x136b5a,Error)?_0x136b5a:new Error(String(_0x136b5a)));})['finally'](()=>{if(_0x134b82)_0x520cf6(![]);}),()=>{_0x134b82=![];};},[defer,_0x32232a?.[_0x2ba8f3(_0x2d6172._0x18b2f5)],_0x32232a?.['jsUrl']]);const _0x108a41=useMemo(()=>({'runtime':_0x4db3ee,'loading':_0x2dd127,'error':_0x58d57d}),[_0x4db3ee,_0x2dd127,_0x58d57d]);return _0x25bdee[_0x2ba8f3(_0x2d6172._0x10b0e7)](_jsx,WajubContext[_0x2ba8f3(0x1eb)],{'value':_0x108a41,'children':children});}export function useWajub(){const _0x77a0a3={_0x40865f:0x1ed,_0x2bf39c:0x1de},_0x2f387c=_0x47ef,_0x1ba894={'lheQx':function(_0xfe92fa,_0x5c45f8){return _0xfe92fa(_0x5c45f8);},'gvSQC':'useWajub'+_0x2f387c(0x1ea)+_0x2f387c(0x1ec)+_0x2f387c(0x1e5)+_0x2f387c(0x1f2),'XBYIb':'useWajub'+_0x2f387c(0x1ea)+_0x2f387c(_0x77a0a3._0x40865f)+_0x2f387c(_0x77a0a3._0x2bf39c)+'\x20(SSR?)'},{runtime:_0x7299b4,loading:_0x905672,error:_0x5041f9}=_0x1ba894[_0x2f387c(0x1e6)](useContext,WajubContext);if(_0x905672)throw new Error(_0x1ba894[_0x2f387c(0x1ee)]);if(_0x5041f9)throw _0x5041f9;if(!_0x7299b4)throw new Error(_0x1ba894['XBYIb']);return _0x7299b4;}export function useWajubOptional(){const _0x45194a=_0x47ef,_0x21dd0d={'jAXpT':function(_0xc11c9a,_0x5840a5){return _0xc11c9a(_0x5840a5);}},{runtime:_0x1c40ff}=_0x21dd0d[_0x45194a(0x1e8)](useContext,WajubContext);return _0x1c40ff;}export function useLoadWajub(){const _0x416df9=useContext(WajubContext),_0x564ec8=useCallback(async _0xe0155d=>{const _0x2d3f55=await loadWajub(_0xe0155d);return _0x2d3f55;},[]);return{..._0x416df9,'loadWajub':_0x564ec8};}
1
+ (function(_0xd3132a,_0x6cd4b0){const _0x5ec32e={_0x5ae5b3:0x19f,_0x45388f:0x1b4,_0x48af3d:0x199,_0x4f4987:0x19a,_0x3521f9:0x1a7,_0x2a3c17:0x1b3},_0x3a1515=_0x2c8b,_0xc2267d=_0xd3132a();while(!![]){try{const _0x296c8e=-parseInt(_0x3a1515(_0x5ec32e._0x5ae5b3))/(-0xd3d+0x1b88+-0xe4a)*(-parseInt(_0x3a1515(0x1b1))/(-0xb12+-0x1c3f+0x1*0x2753))+parseInt(_0x3a1515(0x1ab))/(0x8*-0x234+-0x67*0x36+0x1*0x275d)*(-parseInt(_0x3a1515(_0x5ec32e._0x45388f))/(0x1*-0x2277+-0x571+0x27ec))+-parseInt(_0x3a1515(_0x5ec32e._0x48af3d))/(0x16*-0x7+0x8*-0xfd+0x887)+parseInt(_0x3a1515(_0x5ec32e._0x4f4987))/(-0x40*-0x2b+-0xd*-0xbd+-0xb*0x1d9)+-parseInt(_0x3a1515(_0x5ec32e._0x3521f9))/(0x1*-0x727+-0x7fa*0x3+0x1f1c)+parseInt(_0x3a1515(0x1ad))/(-0x4*-0x4cb+-0x7a5+0x3d5*-0x3)*(parseInt(_0x3a1515(_0x5ec32e._0x2a3c17))/(-0xfca*-0x2+0x1*-0x1da7+-0x1e4))+-parseInt(_0x3a1515(0x1a5))/(0x3*-0xc7a+0xc17+0x1961)*(-parseInt(_0x3a1515(0x19d))/(0xea4*0x2+0x108d+-0x2dca));if(_0x296c8e===_0x6cd4b0)break;else _0xc2267d['push'](_0xc2267d['shift']());}catch(_0xb78438){_0xc2267d['push'](_0xc2267d['shift']());}}}(_0x1791,-0xc2658+-0xe0871+0x50*0x75a1));import{jsx as _jsx}from'react/jsx-runtime';import{useCallback,useContext,useEffect,useMemo,useState}from'react';import{loadWajub}from'@wajub/js/pure';import{WajubContext}from'./context.js';export function WajubProvider({children:children,loadOptions:_0x555a30,defer:defer=![]}){const _0x419649={_0x5dea0d:0x19b,_0x433a64:0x1a8,_0x2b5c66:0x1a4},_0x57b479={_0x5d187a:0x1b5,_0x336d9e:0x1a2},_0x5a0881=_0x2c8b,_0x4a7913={'tvpfu':function(_0x595c5c,_0x2237aa){return _0x595c5c(_0x2237aa);},'aYgbi':function(_0x3e981e,_0x2ffc44){return _0x3e981e(_0x2ffc44);},'FmAEE':function(_0x1795b5,_0x4a7ede,_0x530685){return _0x1795b5(_0x4a7ede,_0x530685);}},[_0x3508c1,_0x4da5b9]=useState(null),[_0x535ed8,_0x1691ae]=_0x4a7913[_0x5a0881(0x1b0)](useState,!defer),[_0x4f3630,_0x82678a]=useState(null);_0x4a7913[_0x5a0881(_0x419649._0x5dea0d)](useEffect,()=>{const _0x11af3f=_0x5a0881,_0xe6c36={'yrohy':_0x11af3f(_0x57b479._0x5d187a)+_0x11af3f(0x1aa)+'able\x20(SS'+_0x11af3f(_0x57b479._0x336d9e)+_0x11af3f(0x19e)+'d)'};if(defer)return;let _0x2548f0=!![];return _0x4a7913[_0x11af3f(0x1a3)](_0x1691ae,!![]),loadWajub(_0x555a30)[_0x11af3f(0x1a6)](_0x557b04=>{if(!_0x2548f0)return;_0x4da5b9(_0x557b04),_0x82678a(_0x557b04?null:new Error(_0xe6c36['yrohy']));})[_0x11af3f(0x1a1)](_0x3aa958=>{if(!_0x2548f0)return;_0x82678a(_0x3aa958 instanceof Error?_0x3aa958:new Error(String(_0x3aa958)));})[_0x11af3f(0x1b7)](()=>{if(_0x2548f0)_0x1691ae(![]);}),()=>{_0x2548f0=![];};},[defer,_0x555a30?.[_0x5a0881(_0x419649._0x433a64)],_0x555a30?.[_0x5a0881(0x1b6)]]);const _0x33b003=_0x4a7913['FmAEE'](useMemo,()=>({'runtime':_0x3508c1,'loading':_0x535ed8,'error':_0x4f3630}),[_0x3508c1,_0x535ed8,_0x4f3630]);return _0x4a7913[_0x5a0881(_0x419649._0x5dea0d)](_jsx,WajubContext[_0x5a0881(_0x419649._0x2b5c66)],{'value':_0x33b003,'children':children});}function _0x1791(){const _0x46c07d=['uhjVDMLKzxi','mJbmrgT6BhK','DgHLBG','mJG1mdK3ngnUt3fssG','ANnpCMLNAw4','zhzkzwq','ihvUyxzHAwW','mtqXodi1m1riq2zzsq','DxnLv2fQDwi','otyWnZiWuuLAAfD6','oIbxywP1yI4','ANmGAxmGC3q','yvLNyMK','mtr0vxHouxe','Aw5N','mtHKsNvKzLK','nePyu1vxza','v2fQDwiUANm','ANnvCMW','zMLUywXSEq','EfrHyxm','ntKZotC4nvzhrKPzzW','nJi4mZu2me5QyvfNDW','rM1bruu','DMfPBgfIBgu','mZq2mte2muXdtLPVBW','zcbIBg9JA2u','mtiWnJi1B0XKv0Xc','ANmGBM90ige','y2f0y2G','uIbVCIbSB2e','DhzWzNu'];_0x1791=function(){return _0x46c07d;};return _0x1791();}export function useWajub(){const _0x223347={_0x4da26a:0x1ac,_0x2eea2a:0x1b2,_0x1dc78b:0x1ac,_0x39d302:0x1a0,_0x2a3ce9:0x1b8},_0x3a3e44=_0x2c8b,_0x3a420c={'dvJed':_0x3a3e44(_0x223347._0x4da26a)+_0x3a3e44(0x1ae)+_0x3a3e44(0x1af)+'ill\x20load'+_0x3a3e44(_0x223347._0x2eea2a),'xTaas':_0x3a3e44(_0x223347._0x1dc78b)+':\x20Wajub.'+_0x3a3e44(_0x223347._0x39d302)+_0x3a3e44(0x19c)+'\x20(SSR?)'},{runtime:_0x2e39a9,loading:_0x3c44e5,error:_0x3e13c5}=useContext(WajubContext);if(_0x3c44e5)throw new Error(_0x3a420c[_0x3a3e44(0x1a9)]);if(_0x3e13c5)throw _0x3e13c5;if(!_0x2e39a9)throw new Error(_0x3a420c[_0x3a3e44(_0x223347._0x2a3ce9)]);return _0x2e39a9;}function _0x2c8b(_0x8b0ddb,_0x2ede03){_0x8b0ddb=_0x8b0ddb-(0x216a+-0x232e+0x15*0x29);const _0x16bb4b=_0x1791();let _0x43c886=_0x16bb4b[_0x8b0ddb];if(_0x2c8b['RkelLs']===undefined){var _0xf200c1=function(_0x52c63b){const _0x3829f3='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4c00cf='',_0x2017a8='';for(let _0x47f9e4=-0x2f*-0x70+-0x18a1+0x411,_0x646166,_0x27c8af,_0x413aa7=-0x1*0x1160+0x1*0x836+0x30e*0x3;_0x27c8af=_0x52c63b['charAt'](_0x413aa7++);~_0x27c8af&&(_0x646166=_0x47f9e4%(-0x1*0x149b+-0xb82+0x2021)?_0x646166*(-0x1c6c+-0x209+0x1eb5*0x1)+_0x27c8af:_0x27c8af,_0x47f9e4++%(0x1ef2+0x1*-0x1da5+-0x149))?_0x4c00cf+=String['fromCharCode'](-0x2474+-0x1d92*0x1+0x4305&_0x646166>>(-(-0x560*0x1+-0x17c5+0x1d27)*_0x47f9e4&-0x879+-0x1e61+0x26e0)):0x1d3*-0x11+0x8db*-0x1+0x27de){_0x27c8af=_0x3829f3['indexOf'](_0x27c8af);}for(let _0x87f6df=-0x1139+0x1a3d+-0x904*0x1,_0x613d07=_0x4c00cf['length'];_0x87f6df<_0x613d07;_0x87f6df++){_0x2017a8+='%'+('00'+_0x4c00cf['charCodeAt'](_0x87f6df)['toString'](0x24fc+-0x1d41+0x7ab*-0x1))['slice'](-(-0x14bd*0x1+0xb*-0x29b+-0xf8*-0x33));}return decodeURIComponent(_0x2017a8);};_0x2c8b['gCWvNo']=_0xf200c1,_0x2c8b['iTHlgF']={},_0x2c8b['RkelLs']=!![];}const _0x332940=_0x16bb4b[-0x185+0xb17+-0x992],_0x29191b=_0x8b0ddb+_0x332940,_0x517bd5=_0x2c8b['iTHlgF'][_0x29191b];return!_0x517bd5?(_0x43c886=_0x2c8b['gCWvNo'](_0x43c886),_0x2c8b['iTHlgF'][_0x29191b]=_0x43c886):_0x43c886=_0x517bd5,_0x43c886;}export function useWajubOptional(){const {runtime:_0x49e31e}=useContext(WajubContext);return _0x49e31e;}export function useLoadWajub(){const _0xde5055={'XAVht':function(_0x3a42b8,_0x577be7){return _0x3a42b8(_0x577be7);},'SAiPp':function(_0x290d20,_0x242218){return _0x290d20(_0x242218);}},_0x287d3a=_0xde5055['SAiPp'](useContext,WajubContext),_0x402aca=useCallback(async _0x2ff1d2=>{const _0x32ee33=await _0xde5055['XAVht'](loadWajub,_0x2ff1d2);return _0x32ee33;},[]);return{..._0x287d3a,'loadWajub':_0x402aca};}
package/dist/context.js CHANGED
@@ -1 +1 @@
1
- (function(_0x2f5684,_0x42461c){const _0x126283={_0x2b3e4b:0xee,_0x5060f8:0xef,_0x43d8ee:0xf5,_0x36841d:0xf0,_0x4e536d:0xf4,_0x2e1d3a:0xf3,_0x2c28a8:0xf6},_0x36b914=_0x2d96,_0xec4e2=_0x2f5684();while(!![]){try{const _0x49d42a=parseInt(_0x36b914(_0x126283._0x2b3e4b))/(0x1881+0x13f1+-0x2c71*0x1)*(-parseInt(_0x36b914(_0x126283._0x5060f8))/(-0x15d6+0x9*-0x444+0x3c3c))+-parseInt(_0x36b914(_0x126283._0x43d8ee))/(0x16bb*0x1+0x1*-0x1667+-0x51)+parseInt(_0x36b914(0xf2))/(0xa95+-0x1*-0x8d1+0x33b*-0x6)+parseInt(_0x36b914(_0x126283._0x36841d))/(0x71a+-0x5aa+-0x16b)+-parseInt(_0x36b914(0xf1))/(0x7d*0x4+0xf34+-0x1122)*(parseInt(_0x36b914(_0x126283._0x4e536d))/(0x13d0+-0x22a+-0x119f*0x1))+parseInt(_0x36b914(0xed))/(0x8*0x4a9+0x13+-0x27*0xf5)+-parseInt(_0x36b914(_0x126283._0x2e1d3a))/(0xa8c+-0x2b*0x26+0x7*-0x97)*(-parseInt(_0x36b914(_0x126283._0x2c28a8))/(0x55*-0x39+-0x1*-0x2113+-0xe1c));if(_0x49d42a===_0x42461c)break;else _0xec4e2['push'](_0xec4e2['shift']());}catch(_0x2ade95){_0xec4e2['push'](_0xec4e2['shift']());}}}(_0xc141,-0xcbaad+0xcdfb1+0x43391*0x2));import{createContext,useContext}from'react';export const WajubContext=createContext({'runtime':null,'loading':!![],'error':null});function _0xc141(){const _0x3c84fc=['mZvAqMPRreK','mJCXnZyYmKvlzwTtrG','mtqYodG5mhrcshf0vG','ntK1ntG4me5vu2vTDW','mtC5EfPHrg94','mJK5nhbjA2TkCW','ndC4mdy5nu5ntg9MAa','odK1ntmWs1v4q1zZ','mtK3ntuWneXmCNP5va','mtHMt0TMAKm'];_0xc141=function(){return _0x3c84fc;};return _0xc141();}function _0x2d96(_0x487170,_0x553c41){_0x487170=_0x487170-(0x1fb+0x1baa+0x72e*-0x4);const _0x525bd0=_0xc141();let _0x9142b3=_0x525bd0[_0x487170];if(_0x2d96['ezWhoH']===undefined){var _0x1622c7=function(_0x43dc26){const _0xa3510a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x108ccf='',_0x348c5a='';for(let _0x22e818=-0x262d+-0xde0+0x340d,_0x328eb7,_0x3de1f4,_0x1de211=0x614+-0x1bc5+0x15b1*0x1;_0x3de1f4=_0x43dc26['charAt'](_0x1de211++);~_0x3de1f4&&(_0x328eb7=_0x22e818%(-0xfe9+-0x1*0xd69+0x1d56)?_0x328eb7*(-0x6aa+-0x1*-0x1967+-0x127d)+_0x3de1f4:_0x3de1f4,_0x22e818++%(0x1139+0x239*0xf+-0xa1c*0x5))?_0x108ccf+=String['fromCharCode'](-0x2b7*0xd+-0x114e+-0xa*-0x55c&_0x328eb7>>(-(-0x319+-0x25*-0x10d+-0x23c6)*_0x22e818&-0xf7e+0xcc7+-0x1*-0x2bd)):0x770+0x1085+0x1*-0x17f5){_0x3de1f4=_0xa3510a['indexOf'](_0x3de1f4);}for(let _0x22f3cf=0x11d5+0x10c2+-0x2297,_0x5698f1=_0x108ccf['length'];_0x22f3cf<_0x5698f1;_0x22f3cf++){_0x348c5a+='%'+('00'+_0x108ccf['charCodeAt'](_0x22f3cf)['toString'](0x12*0x1a3+0x13b6+-0x311c))['slice'](-(-0x1*0x1b77+0x1063*0x1+0xb16));}return decodeURIComponent(_0x348c5a);};_0x2d96['yenIXj']=_0x1622c7,_0x2d96['aHjAGP']={},_0x2d96['ezWhoH']=!![];}const _0x28e461=_0x525bd0[0x268e+0x231+0x39*-0xb7],_0xb008d4=_0x487170+_0x28e461,_0x4b0681=_0x2d96['aHjAGP'][_0xb008d4];return!_0x4b0681?(_0x9142b3=_0x2d96['yenIXj'](_0x9142b3),_0x2d96['aHjAGP'][_0xb008d4]=_0x9142b3):_0x9142b3=_0x4b0681,_0x9142b3;}export function useWajubContext(){const EhrqVZ={'cXnev':function(_0x4eb131,_0x2a45e5){return _0x4eb131(_0x2a45e5);}};return EhrqVZ['cXnev'](useContext,WajubContext);}
1
+ function _0x28e1(){const _0x2f1073=['ndi4mgXYvNzlBW','mJi2nta2sLrcv2Tm','mM52rvDfyq','mJa4nZKZu0zqyNHe','nty3ntK4mgHgtNfNBq','mJCXnZq3venNq3zm','mte5nZi3m1LLENzhuq','ndbdCxzLEK4','mZm1mdG0nhPOvvbOuW','mZaWqKvJDuLm'];_0x28e1=function(){return _0x2f1073;};return _0x28e1();}(function(_0x4c15de,_0x449a9b){const _0x4c0e62={_0x5c542a:0x1aa,_0x321311:0x1b1,_0x31f993:0x1b0,_0xe7ff8f:0x1ac,_0x5148f8:0x1af,_0x42d401:0x1ab},_0x40ee89=_0x3831,_0x53d45e=_0x4c15de();while(!![]){try{const _0x2779a3=-parseInt(_0x40ee89(_0x4c0e62._0x5c542a))/(0xb70+0x6*-0xaa+-0x773*0x1)*(-parseInt(_0x40ee89(0x1b3))/(0xd3*0x21+-0x24f1+-0x2*-0x4e0))+-parseInt(_0x40ee89(0x1ad))/(-0x1*0x159d+0x134b+-0x1*-0x255)+-parseInt(_0x40ee89(_0x4c0e62._0x321311))/(-0x1*0x4cf+0x1282+-0x1f*0x71)*(-parseInt(_0x40ee89(_0x4c0e62._0x31f993))/(-0xa13*-0x2+0xb*0x59+-0xbfa*0x2))+-parseInt(_0x40ee89(0x1b2))/(0x35*0x2d+0x2021+-0x296c)+parseInt(_0x40ee89(_0x4c0e62._0xe7ff8f))/(-0xb03*0x2+-0x16c1+0x2cce)*(parseInt(_0x40ee89(0x1ae))/(-0x1*-0x7e3+0x1b1c+-0x22f7))+-parseInt(_0x40ee89(_0x4c0e62._0x5148f8))/(-0x3*0xa39+-0x25*-0x2a+0x18a2)+parseInt(_0x40ee89(_0x4c0e62._0x42d401))/(0x21e3+0x9f0+-0x2bc9*0x1);if(_0x2779a3===_0x449a9b)break;else _0x53d45e['push'](_0x53d45e['shift']());}catch(_0xfe2d35){_0x53d45e['push'](_0x53d45e['shift']());}}}(_0x28e1,-0x45686+0x567e+0x7710a));function _0x3831(_0xdcc8e0,_0x557882){_0xdcc8e0=_0xdcc8e0-(-0x21a5+0x1*0xfb5+0x139a);const _0x4b84c5=_0x28e1();let _0xd1fdfb=_0x4b84c5[_0xdcc8e0];if(_0x3831['BqVjto']===undefined){var _0x5286d5=function(_0x1e6d75){const _0xcbb380='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x171831='',_0x3da5a0='';for(let _0x2ad34e=-0x2082+0x1*0x1ea5+0x1dd*0x1,_0x14465f,_0x4389c9,_0x3a85b5=-0x1edb+-0x745*-0x1+-0xbcb*-0x2;_0x4389c9=_0x1e6d75['charAt'](_0x3a85b5++);~_0x4389c9&&(_0x14465f=_0x2ad34e%(0x1f4f*-0x1+0x1636+0x91d)?_0x14465f*(-0x2c7*-0x1+-0x1*0x1c2b+-0x88c*-0x3)+_0x4389c9:_0x4389c9,_0x2ad34e++%(0x1b9a+-0x773*0x4+0x236))?_0x171831+=String['fromCharCode'](0x1d02+0x15a9+0x11*-0x2ec&_0x14465f>>(-(0x1767+-0x21*0x119+0xcd4)*_0x2ad34e&-0x6a5*-0x1+-0x2263*-0x1+-0x2902)):-0x21d*0x3+0x9d9+-0x1*0x382){_0x4389c9=_0xcbb380['indexOf'](_0x4389c9);}for(let _0x56b10e=0x1*0xfee+-0x11bb+0x1cd,_0xf5c83d=_0x171831['length'];_0x56b10e<_0xf5c83d;_0x56b10e++){_0x3da5a0+='%'+('00'+_0x171831['charCodeAt'](_0x56b10e)['toString'](0x110*0xc+0x8e7*0x2+-0x1e7e))['slice'](-(-0x10bd*-0x1+-0x4*-0x75e+0x1*-0x2e33));}return decodeURIComponent(_0x3da5a0);};_0x3831['QPhiYJ']=_0x5286d5,_0x3831['toXrmw']={},_0x3831['BqVjto']=!![];}const _0xd92ce8=_0x4b84c5[-0xe6d+-0x617+-0x1*-0x1484],_0x39d3c3=_0xdcc8e0+_0xd92ce8,_0x485d07=_0x3831['toXrmw'][_0x39d3c3];return!_0x485d07?(_0xd1fdfb=_0x3831['QPhiYJ'](_0xd1fdfb),_0x3831['toXrmw'][_0x39d3c3]=_0xd1fdfb):_0xd1fdfb=_0x485d07,_0xd1fdfb;}import{createContext,useContext}from'react';export const WajubContext=createContext({'runtime':null,'loading':!![],'error':null});export function useWajubContext(){const _0x1e9a16={'ifOOX':function(_0x962943,_0x3313c9){return _0x962943(_0x3313c9);}};return _0x1e9a16['ifOOX'](useContext,WajubContext);}
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4f76(){var _0xfaa420=['mJiWmZmXmMHlt1nWvG','otyZmgfjAevoqG','mZy4nJa1u3rnAMTq','mte5nuTjq2jNyG','mJiYnJy2nwnWtfbjra','ovvUwwjhvW','mJK4mdC4BufQAvrH','mtuYmw96sg93za','mte0nZCWDeDizLPZ','mtyYmJm5nNzSrefSwa'];_0x4f76=function(){return _0xfaa420;};return _0x4f76();}(function(_0x40edd7,_0x1842c9){var _0x51c02b={_0x12098b:0x130,_0x41edc2:0x12a,_0x4354a2:0x12d,_0xbe0655:0x131,_0x2228b1:0x12c},_0x521b74=_0x2f38,_0x1c28cf=_0x40edd7();while(!![]){try{var _0xc59ecb=-parseInt(_0x521b74(_0x51c02b._0x12098b))/(-0x6cd+0x1f9*-0xf+-0x4d*-0x79)+parseInt(_0x521b74(_0x51c02b._0x41edc2))/(0x1cbb+0xe6b+-0x2b24)*(-parseInt(_0x521b74(0x133))/(0x3*0xbb6+0x26ba*0x1+0x3e3*-0x13))+-parseInt(_0x521b74(_0x51c02b._0x4354a2))/(0x2127+-0x7d7+-0x194c)+-parseInt(_0x521b74(_0x51c02b._0xbe0655))/(-0x3*0x335+0x1*0xd45+-0x3a1*0x1)*(parseInt(_0x521b74(0x12f))/(-0x17*-0x139+0x1127*0x1+-0x2d40))+-parseInt(_0x521b74(0x132))/(-0x16f*0x1+-0x1f04+0x207a*0x1)+parseInt(_0x521b74(0x12e))/(0x301*0x6+-0x1*0x13c7+0x1c9*0x1)+-parseInt(_0x521b74(0x12b))/(-0x2*-0x126a+0x3*0x713+-0x9e*0x5e)*(-parseInt(_0x521b74(_0x51c02b._0x2228b1))/(0x1b2e*-0x1+0x7*0x573+-0xaed));if(_0xc59ecb===_0x1842c9)break;else _0x1c28cf['push'](_0x1c28cf['shift']());}catch(_0x5b7ffa){_0x1c28cf['push'](_0x1c28cf['shift']());}}}(_0x4f76,-0x486c4*0x1+0x71b+0x8f459*0x1));function _0x2f38(_0x52c1a7,_0x4149ac){_0x52c1a7=_0x52c1a7-(-0x1*-0x26a8+0x1c86*0x1+-0x4204);var _0x18a74a=_0x4f76();var _0x1bf82a=_0x18a74a[_0x52c1a7];if(_0x2f38['caShzd']===undefined){var _0x290b7e=function(_0x3e292e){var _0x4811c2='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x5a9d50='',_0x3ac428='';for(var _0x52f923=-0xe9*0x8+-0x7ac+0xef4,_0x582712,_0x261ec8,_0x14286b=-0x1b21+-0xcd4*0x2+0x34c9*0x1;_0x261ec8=_0x3e292e['charAt'](_0x14286b++);~_0x261ec8&&(_0x582712=_0x52f923%(-0x1ff9+0x144f+0xbae)?_0x582712*(-0x10*-0xcc+-0x7d*0x17+-0x145)+_0x261ec8:_0x261ec8,_0x52f923++%(-0x355*-0x7+-0x147e+-0x2d1*0x1))?_0x5a9d50+=String['fromCharCode'](-0x1e1d*-0x1+0x62e*-0x3+-0xa94&_0x582712>>(-(-0x18d*0xe+0x3*0x185+0x1*0x1129)*_0x52f923&-0x24b6+-0x1dbe+-0xfe*-0x43)):-0x66a*-0x1+0x142b+0x551*-0x5){_0x261ec8=_0x4811c2['indexOf'](_0x261ec8);}for(var _0x6fbea1=0xc57+0x281*0x2+-0x1*0x1159,_0x206c7c=_0x5a9d50['length'];_0x6fbea1<_0x206c7c;_0x6fbea1++){_0x3ac428+='%'+('00'+_0x5a9d50['charCodeAt'](_0x6fbea1)['toString'](0x1fb6+-0x31*0x5d+-0xdd9))['slice'](-(0x8*-0x43c+-0xa55+-0x15*-0x21b));}return decodeURIComponent(_0x3ac428);};_0x2f38['DaVVMd']=_0x290b7e,_0x2f38['njuQvj']={},_0x2f38['caShzd']=!![];}var _0x5a91a3=_0x18a74a[-0x6cd+0x1f9*-0xf+-0x22*-0x112],_0x5ef4ad=_0x52c1a7+_0x5a91a3,_0x3273ec=_0x2f38['njuQvj'][_0x5ef4ad];return!_0x3273ec?(_0x1bf82a=_0x2f38['DaVVMd'](_0x1bf82a),_0x2f38['njuQvj'][_0x5ef4ad]=_0x1bf82a):_0x1bf82a=_0x3273ec,_0x1bf82a;}export{WajubProvider,useWajub,useWajubOptional,useLoadWajub}from'./WajubProvider.js';export{WajubContext,useWajubContext}from'./context.js';export{CheckoutEmbed}from'./CheckoutEmbed.js';export{ComponentEmbed,CardComponent,MobileMoneyComponent,WalletComponent,PaymentComponent,AddressComponent}from'./ComponentEmbed.js';export{useConfirmPayment}from'./useConfirmPayment.js';
1
+ (function(_0x61d734,_0x47e71e){var _0x2bb95f={_0x420dac:0x1ce,_0x25d65c:0x1c8,_0x14671f:0x1cd,_0x14f633:0x1c9,_0x3cacfa:0x1c7,_0x49c9e7:0x1ca},_0x1f6869=_0x979a,_0x18ac07=_0x61d734();while(!![]){try{var _0x71324d=parseInt(_0x1f6869(_0x2bb95f._0x420dac))/(0x12fa+0x2ef*0x4+-0x1eb5*0x1)+parseInt(_0x1f6869(_0x2bb95f._0x25d65c))/(0x1*-0x1063+-0x26b1+-0xb*-0x502)*(-parseInt(_0x1f6869(0x1cc))/(-0xb51+0x1889*0x1+0x17*-0x93))+-parseInt(_0x1f6869(_0x2bb95f._0x14671f))/(0x7a6+-0x11df+0xa3d)+-parseInt(_0x1f6869(_0x2bb95f._0x14f633))/(-0xb15+-0x3d7*-0x7+-0xfc7)+-parseInt(_0x1f6869(0x1cf))/(-0x1162+0x113d+0x2b)+parseInt(_0x1f6869(_0x2bb95f._0x3cacfa))/(0x1a87+-0x13bd+-0x6c3)+-parseInt(_0x1f6869(_0x2bb95f._0x49c9e7))/(-0x1*0x1025+-0x185*0x5+0x17c6)*(-parseInt(_0x1f6869(0x1cb))/(0x59c*-0x5+0x19b1+-0x11*-0x24));if(_0x71324d===_0x47e71e)break;else _0x18ac07['push'](_0x18ac07['shift']());}catch(_0x15521f){_0x18ac07['push'](_0x18ac07['shift']());}}}(_0x320d,0x5ce57+0x2*-0x4241b+0x947e1));export{WajubProvider,useWajub,useWajubOptional,useLoadWajub}from'./WajubProvider.js';export{WajubContext,useWajubContext}from'./context.js';function _0x979a(_0x579bbe,_0x3318cb){_0x579bbe=_0x579bbe-(-0x205*-0x3+-0xb*-0x124+-0x10d4);var _0x1e1121=_0x320d();var _0x4e2778=_0x1e1121[_0x579bbe];if(_0x979a['uczSTC']===undefined){var _0x213c3e=function(_0x46b4ce){var _0x5f092a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x495a07='',_0x418988='';for(var _0x39056c=-0x2*-0xa91+-0x1*-0x2104+-0x3626,_0x19e03a,_0x275964,_0xdd4915=-0x691*0x1+0x1f0f*-0x1+0x25a0;_0x275964=_0x46b4ce['charAt'](_0xdd4915++);~_0x275964&&(_0x19e03a=_0x39056c%(-0x3ab+-0x13f*0x6+0xb29)?_0x19e03a*(-0x19ac+-0x280+0x44*0x6b)+_0x275964:_0x275964,_0x39056c++%(0x1*-0x1195+0x1f8f+0x6fb*-0x2))?_0x495a07+=String['fromCharCode'](0x3d*-0x71+-0xc4f+0x283b&_0x19e03a>>(-(0x1943+-0x83d+-0x1104)*_0x39056c&0x16f7+0x28d+-0x197e)):-0x635+0xb2*0x2d+-0x1915){_0x275964=_0x5f092a['indexOf'](_0x275964);}for(var _0x1a6fb6=-0x1*-0x145d+-0x1*-0x133c+-0x2799,_0x2229ea=_0x495a07['length'];_0x1a6fb6<_0x2229ea;_0x1a6fb6++){_0x418988+='%'+('00'+_0x495a07['charCodeAt'](_0x1a6fb6)['toString'](0x9*0x3a6+-0x1*0x1c12+-0x4b4))['slice'](-(-0x2+0x9*-0x3b3+-0x1*-0x214f));}return decodeURIComponent(_0x418988);};_0x979a['byGiDJ']=_0x213c3e,_0x979a['LNBJOk']={},_0x979a['uczSTC']=!![];}var _0x21e0d9=_0x1e1121[-0x778*-0x2+0x1a08+-0x28f8],_0x4da258=_0x579bbe+_0x21e0d9,_0x1e19ec=_0x979a['LNBJOk'][_0x4da258];return!_0x1e19ec?(_0x4e2778=_0x979a['byGiDJ'](_0x4e2778),_0x979a['LNBJOk'][_0x4da258]=_0x4e2778):_0x4e2778=_0x1e19ec,_0x4e2778;}export{CheckoutEmbed}from'./CheckoutEmbed.js';export{ComponentEmbed,CardComponent,MobileMoneyComponent,WalletComponent,PaymentComponent,AddressComponent}from'./ComponentEmbed.js';export{useConfirmPayment}from'./useConfirmPayment.js';function _0x320d(){var _0x16749f=['ndi1ndGXnNzvCurpzG','ntGXnteZoe5nuhPADW','mtuXntC0tg9wtKzZ','nZq5ndqWA1bcB2fR','nJa3mdGWDLzOr0Pk','odf0zhPKBLm','m0fqAxjcsa','ntmYndG0CMnrDxHY','mtG3yML5zgXr'];_0x320d=function(){return _0x16749f;};return _0x320d();}
@@ -1 +1 @@
1
- (function(_0x5550e0,_0x3b5f8e){const _0x51cb52={_0x5545bd:0x18a,_0x5d8b92:0x188,_0x38ecfb:0x184,_0x58830a:0x185,_0x49bc71:0x18c,_0x2402a9:0x18f},_0x25d66c=_0xfcc5,_0x961c24=_0x5550e0();while(!![]){try{const _0x4c2eef=parseInt(_0x25d66c(0x186))/(-0xfb*0x1d+-0x84*0x4a+-0x8*-0x853)*(parseInt(_0x25d66c(_0x51cb52._0x5545bd))/(0xeeb+-0x1d8d+0xea4))+-parseInt(_0x25d66c(0x18e))/(0x1950+-0x16eb*-0x1+0x8*-0x607)+parseInt(_0x25d66c(_0x51cb52._0x5d8b92))/(-0x1375+0x6b*-0x5a+0x3917)+parseInt(_0x25d66c(_0x51cb52._0x38ecfb))/(-0x1e31+0x21d*-0x2+0x2270)+-parseInt(_0x25d66c(_0x51cb52._0x58830a))/(-0x788+0x16cc*-0x1+0xd2*0x25)+parseInt(_0x25d66c(_0x51cb52._0x49bc71))/(-0x1aee+-0x123*0xa+0x2653)+-parseInt(_0x25d66c(_0x51cb52._0x2402a9))/(-0xa30+-0x23af+0x1*0x2de7);if(_0x4c2eef===_0x3b5f8e)break;else _0x961c24['push'](_0x961c24['shift']());}catch(_0x5add94){_0x961c24['push'](_0x961c24['shift']());}}}(_0x4743,0x3533*0x4+-0xe3649+-0xe915*-0x1f));import{useCallback}from'react';function _0x4743(){const _0x4f3478=['DdOGv2fQDwi','mtKWmdqXmNr6DwD3EG','CMvXDwLYzwq','ntjeEMDyBfK','CM1qyxLTzw4','otK4ndi3nvHYvgT5tW','C2vZC2LVBKK','mZu3mta5mLfxu0Pfra','mta5mdC0odbjrw1Hwva','Bxb6CLa','yxLTzw50','lMPZig5VDca','B25jzcbPCYa','D2fQDwi','Bg9HzgvK','DdOGC2vZC2K','mZuYoteXnufHELzmEG','mZy5nJbgC3Dhr2m','mZu1otDJCMXVqKC'];_0x4743=function(){return _0x4f3478;};return _0x4743();}import{useWajubOptional}from'./WajubProvider.js';function _0xfcc5(_0x2c9db5,_0x4ac751){_0x2c9db5=_0x2c9db5-(-0x10b1*-0x1+0x1*-0xe4d+0x4*-0x38);const _0x3f8c81=_0x4743();let _0x37644b=_0x3f8c81[_0x2c9db5];if(_0xfcc5['EQwfCA']===undefined){var _0x172bb9=function(_0xcfc26f){const _0x11ec41='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x54ef2b='',_0xf01577='';for(let _0x503306=0x7c*0x19+0x1ad1+-0x5*0x7c9,_0x15dac7,_0x596898,_0x17ea80=-0x1*-0x1c4b+0x5*0x6d3+-0x3e6a;_0x596898=_0xcfc26f['charAt'](_0x17ea80++);~_0x596898&&(_0x15dac7=_0x503306%(-0xef4+0x122e+-0x336)?_0x15dac7*(-0x2*0x60e+0xd*0x1c1+-0x37b*0x3)+_0x596898:_0x596898,_0x503306++%(0x22*-0xb7+0x52*0x76+-0xd7a))?_0x54ef2b+=String['fromCharCode'](0x98a+0xe2c*0x1+-0x16b7*0x1&_0x15dac7>>(-(-0x2096+-0x84f+0x28e7)*_0x503306&-0x22b2+-0xd52+0xd*0x3b2)):0x5f7+-0xc5*0x1+0x5f*-0xe){_0x596898=_0x11ec41['indexOf'](_0x596898);}for(let _0x41e57b=0x1*0x2113+-0x1*-0x1b77+-0x3c8a,_0xb9ed50=_0x54ef2b['length'];_0x41e57b<_0xb9ed50;_0x41e57b++){_0xf01577+='%'+('00'+_0x54ef2b['charCodeAt'](_0x41e57b)['toString'](-0x8f4+-0x1db5+-0x26b9*-0x1))['slice'](-(-0x1*0x145+-0x5*-0x67f+-0x1f34));}return decodeURIComponent(_0xf01577);};_0xfcc5['kImArL']=_0x172bb9,_0xfcc5['htAJhU']={},_0xfcc5['EQwfCA']=!![];}const _0x1327b=_0x3f8c81[0x9fa+-0xd*-0xc9+-0x142f*0x1],_0x5ce07a=_0x2c9db5+_0x1327b,_0x4c3a0e=_0xfcc5['htAJhU'][_0x5ce07a];return!_0x4c3a0e?(_0x37644b=_0xfcc5['kImArL'](_0x37644b),_0xfcc5['htAJhU'][_0x5ce07a]=_0x37644b):_0x37644b=_0x4c3a0e,_0x37644b;}export function useConfirmPayment(_0x49a1aa){const _0x24a20d={_0x31eab1:0x196,_0x21daee:0x189},_0x561e20={_0x1e927e:0x187,_0x5b5373:0x192,_0x86523d:0x195,_0x1a954d:0x191},_0x669415=_0xfcc5,_0x76ab35={'mpzrP':'useConfi'+'rmPaymen'+_0x669415(_0x24a20d._0x31eab1)+_0x669415(0x193)+_0x669415(_0x24a20d._0x21daee)},_0x1205e3=useWajubOptional();return useCallback(async(_0x5dd203,_0x362365)=>{const _0x36316f=_0x669415;if(!_0x1205e3)throw new Error('useConfi'+_0x36316f(0x18b)+_0x36316f(_0x561e20._0x1e927e)+_0x36316f(_0x561e20._0x5b5373)+_0x36316f(_0x561e20._0x86523d));const _0x3fb1fc=_0x49a1aa??_0x362365?.[_0x36316f(0x18d)+'d'];if(!_0x3fb1fc)throw new Error(_0x76ab35[_0x36316f(0x190)]);return _0x1205e3[_0x36316f(0x194)]['confirmP'+_0x36316f(_0x561e20._0x1a954d)]({'sessionId':_0x3fb1fc,'components':_0x5dd203,..._0x362365});},[_0x1205e3,_0x49a1aa]);}
1
+ (function(_0x5cde,_0x50fde1){const _0x46bf79={_0x1d502a:0xc3,_0x2da008:0xc2,_0x5b3f8a:0xb6},_0x7d0665=_0x5236,_0x867da9=_0x5cde();while(!![]){try{const _0x5622d6=parseInt(_0x7d0665(0xb2))/(0x1*0x193+-0x1c94+0x1*0x1b02)*(parseInt(_0x7d0665(0xb8))/(-0x1*0x2263+0x1807*0x1+-0xa5e*-0x1))+parseInt(_0x7d0665(_0x46bf79._0x1d502a))/(-0x1f62+-0xf84+0x2ee9)*(-parseInt(_0x7d0665(_0x46bf79._0x2da008))/(-0xb7+-0x22a*-0x1+-0x1*0x16f))+parseInt(_0x7d0665(0xc1))/(0x1593+-0x556*-0x5+-0x62*0x7e)+parseInt(_0x7d0665(0xbb))/(-0x1b70+-0x20dc+0x3c52)+-parseInt(_0x7d0665(0xba))/(-0x27b+0xbf7*-0x1+0xe79)+parseInt(_0x7d0665(0xb1))/(0x11*0x122+-0x2c*0xd9+0x1212)*(-parseInt(_0x7d0665(_0x46bf79._0x5b3f8a))/(-0x1*-0x9b9+0x1755*-0x1+0xda5))+parseInt(_0x7d0665(0xbe))/(0x3*-0xbf6+0x357+-0x1b7*-0x13)*(parseInt(_0x7d0665(0xb4))/(-0x2572*0x1+-0x10f1+0x366e));if(_0x5622d6===_0x50fde1)break;else _0x867da9['push'](_0x867da9['shift']());}catch(_0x315aad){_0x867da9['push'](_0x867da9['shift']());}}}(_0x1090,0x113be1*-0x1+-0x12fab5*0x1+-0x1*-0x30f1f9));import{useCallback}from'react';function _0x1090(){const _0x23cf75=['mZr0wwzAD3O','DxnLq29UzMK','odq2ntK2ogHPDLvgyW','mJmWnZmYnfzPrNrpzq','B25jzcbPCYa','C2vZC2LVBKK','mJyZmZm3ntbgBMPPtfi','DdOGC2vZC2K','DdOGv2fQDwi','mJe2mdm3mfrUCxnttq','mtCZmMrKAwTryG','nJu4ohPOr3LWDG','D2fQDwi','mZy3mJuYmgDnsenksG','mJiXCwzKr2Hf','EK5JDxu','mtfsD0zNB2K','CMvXDwLYzwq','oxnYy25SBa','zfrIsuO'];_0x1090=function(){return _0x23cf75;};return _0x1090();}function _0x5236(_0x3c7998,_0x2d307f){_0x3c7998=_0x3c7998-(0x14b4+-0x1*0x839+-0xbcb);const _0x1c429d=_0x1090();let _0x27513a=_0x1c429d[_0x3c7998];if(_0x5236['befQZL']===undefined){var _0x61886a=function(_0x4e3e7c){const _0x24761b='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x534805='',_0x19a139='';for(let _0x1d7181=-0x313*-0x6+-0x385+0xeed*-0x1,_0x213ebf,_0x5150c4,_0x46ded6=-0x1950+0x8fd+-0x15*-0xc7;_0x5150c4=_0x4e3e7c['charAt'](_0x46ded6++);~_0x5150c4&&(_0x213ebf=_0x1d7181%(0x22ab+-0x124*0x1b+-0x3db)?_0x213ebf*(-0xe43*0x1+-0x11ed*-0x2+-0x1557*0x1)+_0x5150c4:_0x5150c4,_0x1d7181++%(0xcb7+0xdf4+-0x1aa7))?_0x534805+=String['fromCharCode'](-0xc2f*-0x1+-0x11f+-0xa11&_0x213ebf>>(-(0x172c+-0x25e7+0xebd)*_0x1d7181&-0x264b+0x1*0x169d+0xfb4)):0xa1d+0x900+0xe9*-0x15){_0x5150c4=_0x24761b['indexOf'](_0x5150c4);}for(let _0x56c9b7=0x14cb+0x16ef+-0x2bba,_0x104dd1=_0x534805['length'];_0x56c9b7<_0x104dd1;_0x56c9b7++){_0x19a139+='%'+('00'+_0x534805['charCodeAt'](_0x56c9b7)['toString'](0x1366*0x1+0x1d8d+-0x30e3))['slice'](-(-0x21ae+-0x1*-0xa75+-0x173b*-0x1));}return decodeURIComponent(_0x19a139);};_0x5236['CBuRCZ']=_0x61886a,_0x5236['FDsszM']={},_0x5236['befQZL']=!![];}const _0x60647b=_0x1c429d[0x2680+-0x4c5+-0x21bb],_0xf0a066=_0x3c7998+_0x60647b,_0x12619e=_0x5236['FDsszM'][_0xf0a066];return!_0x12619e?(_0x27513a=_0x5236['CBuRCZ'](_0x27513a),_0x5236['FDsszM'][_0xf0a066]=_0x27513a):_0x27513a=_0x12619e,_0x27513a;}import{useWajubOptional}from'./WajubProvider.js';export function useConfirmPayment(_0x16dc2a){const _0x52d6ee={_0x531adc:0xbf,_0x5268cd:0xbc,_0x332104:0xb5},_0x22f031={_0x327665:0xbd,_0x2efabb:0xb7},_0x105cbe=_0x5236,_0x22f807={'BihqX':_0x105cbe(0xb9)+'rmPaymen'+_0x105cbe(0xc0)+'.js\x20not\x20'+'loaded','dTbIJ':_0x105cbe(0xb9)+'rmPaymen'+_0x105cbe(_0x52d6ee._0x531adc)+_0x105cbe(_0x52d6ee._0x5268cd)+_0x105cbe(_0x52d6ee._0x332104),'zNcuu':function(_0x159fa4){return _0x159fa4();}},_0x281da1=_0x22f807[_0x105cbe(0xb3)](useWajubOptional);return useCallback(async(_0xf3680,_0x4b496d)=>{const _0x26cb17=_0x105cbe;if(!_0x281da1)throw new Error(_0x22f807['BihqX']);const _0x1eeb04=_0x16dc2a??_0x4b496d?.[_0x26cb17(_0x22f031._0x327665)+'d'];if(!_0x1eeb04)throw new Error(_0x22f807[_0x26cb17(_0x22f031._0x2efabb)]);return _0x281da1[_0x26cb17(0xb0)]['confirmP'+'ayment']({'sessionId':_0x1eeb04,'components':_0xf3680,..._0x4b496d});},[_0x281da1,_0x16dc2a]);}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wajub/react",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Wajub Components for React — Provider, hooks, and embed components",
5
5
  "license": "MIT",
6
6
  "author": "Wajub",