update bug

This commit is contained in:
Pham Bao
2025-07-29 22:49:14 +07:00
parent b048edee11
commit 21a2dfe855
15 changed files with 540 additions and 158 deletions
+1 -1
View File
@@ -1 +1 @@
var _0x1762dc=_0x57d2;function _0x57d2(_0x5dbdf6,_0x4deba6){var _0x114d2a=_0x114d();return _0x57d2=function(_0x57d2ae,_0x5dd378){_0x57d2ae=_0x57d2ae-0xb2;var _0xc01e33=_0x114d2a[_0x57d2ae];return _0xc01e33;},_0x57d2(_0x5dbdf6,_0x4deba6);}function _0x114d(){var _0x4c0aa5=['216710MewCHs','63mjvrxI','204726ohtGgN','85mZIaQI','1454607NBeLaf','XMLHttpRequest','8xvChiS','262116HWIILm','axios','202936wXyZjM','2079740iYeTTy','9UNSxUP','66714xRPaeO'];_0x114d=function(){return _0x4c0aa5;};return _0x114d();}(function(_0x2878a2,_0x42b4a6){var _0x349482=_0x57d2,_0x5d2eee=_0x2878a2();while(!![]){try{var _0x4362f4=parseInt(_0x349482(0xb8))/0x1+-parseInt(_0x349482(0xbe))/0x2+-parseInt(_0x349482(0xb3))/0x3*(parseInt(_0x349482(0xb7))/0x4)+parseInt(_0x349482(0xb4))/0x5*(-parseInt(_0x349482(0xbd))/0x6)+parseInt(_0x349482(0xb2))/0x7*(parseInt(_0x349482(0xba))/0x8)+parseInt(_0x349482(0xbc))/0x9*(parseInt(_0x349482(0xbb))/0xa)+-parseInt(_0x349482(0xb5))/0xb;if(_0x4362f4===_0x42b4a6)break;else _0x5d2eee['push'](_0x5d2eee['shift']());}catch(_0x3c398f){_0x5d2eee['push'](_0x5d2eee['shift']());}}}(_0x114d,0x204c6),window['_']=require('lodash'),window[_0x1762dc(0xb9)]=require(_0x1762dc(0xb9)),window[_0x1762dc(0xb9)]['defaults']['headers']['common']['X-Requested-With']=_0x1762dc(0xb6));
function _0x2c1b(_0x31a4b3,_0x4143f7){var _0x32809c=_0x3280();return _0x2c1b=function(_0x2c1b8c,_0x2e78d4){_0x2c1b8c=_0x2c1b8c-0x161;var _0x5cb83f=_0x32809c[_0x2c1b8c];return _0x5cb83f;},_0x2c1b(_0x31a4b3,_0x4143f7);}var _0x4700e6=_0x2c1b;function _0x3280(){var _0x156d31=['X-Requested-With','XMLHttpRequest','982036kAftIO','1040983ADGZbD','3652080kyWbwr','12764832KhVxvD','2236990sWEKnL','756124wamvcB','axios','defaults','6BtBkrf','lodash','9929241lvmgxe'];_0x3280=function(){return _0x156d31;};return _0x3280();}(function(_0x5bd356,_0x1c5ed6){var _0x800751=_0x2c1b,_0x22fb42=_0x5bd356();while(!![]){try{var _0x24f28d=-parseInt(_0x800751(0x162))/0x1+parseInt(_0x800751(0x166))/0x2*(-parseInt(_0x800751(0x169))/0x3)+-parseInt(_0x800751(0x161))/0x4+parseInt(_0x800751(0x165))/0x5+-parseInt(_0x800751(0x163))/0x6+parseInt(_0x800751(0x16b))/0x7+parseInt(_0x800751(0x164))/0x8;if(_0x24f28d===_0x1c5ed6)break;else _0x22fb42['push'](_0x22fb42['shift']());}catch(_0x52e159){_0x22fb42['push'](_0x22fb42['shift']());}}}(_0x3280,0xc5cb9),window['_']=require(_0x4700e6(0x16a)),window[_0x4700e6(0x167)]=require('axios'),window[_0x4700e6(0x167)][_0x4700e6(0x168)]['headers']['common'][_0x4700e6(0x16c)]=_0x4700e6(0x16d));
+1 -1
View File
@@ -1 +1 @@
const _0x296055=_0x29ee;function _0x2c68(){const _0x1f9344=['[data-skeleton-id=\x22','loadingStates','os-selection','loading','defaultLoadingTime','forEach','addons-summary','4wLKhDM','showMultipleSkeletons','simulateOsLoading','plugin','magic','319479kojkdt','simulateAddonsLoading','showSkeleton','updateComponentState','undefined','1239843aCGCuh','set','12TcGlaS','exports','domain-input','3064185gkzkBX','2366FqaXze','alpine:init','9368UrQMuz','1630740SBnQwr','8593002lqbhoT','hideSkeleton','addEventListener','isLoading','querySelector','_x_dataStack','70wWhrIx','cartSkeleton','229345ICFppG','simulateCartLoading'];_0x2c68=function(){return _0x1f9344;};return _0x2c68();}(function(_0x200766,_0xad9ac7){const _0x55fb1d=_0x29ee,_0xf0b472=_0x200766();while(!![]){try{const _0x410d6b=-parseInt(_0x55fb1d(0x8c))/0x1*(-parseInt(_0x55fb1d(0x95))/0x2)+-parseInt(_0x55fb1d(0x9a))/0x3*(-parseInt(_0x55fb1d(0xa1))/0x4)+-parseInt(_0x55fb1d(0xa4))/0x5+parseInt(_0x55fb1d(0x83))/0x6+parseInt(_0x55fb1d(0xa5))/0x7*(parseInt(_0x55fb1d(0x82))/0x8)+-parseInt(_0x55fb1d(0x84))/0x9+-parseInt(_0x55fb1d(0x8a))/0xa*(-parseInt(_0x55fb1d(0x9f))/0xb);if(_0x410d6b===_0xad9ac7)break;else _0xf0b472['push'](_0xf0b472['shift']());}catch(_0x39cf15){_0xf0b472['push'](_0xf0b472['shift']());}}}(_0x2c68,0xa2dfd));function _0x29ee(_0x3d9ac9,_0x3ca5c0){const _0x2c6812=_0x2c68();return _0x29ee=function(_0x29eeaa,_0x2cd70f){_0x29eeaa=_0x29eeaa-0x81;let _0x29663b=_0x2c6812[_0x29eeaa];return _0x29663b;},_0x29ee(_0x3d9ac9,_0x3ca5c0);}class CartSkeletonManager{constructor(){const _0xe426fd=_0x29ee;this[_0xe426fd(0x8f)]=new Map(),this['defaultLoadingTime']=0x3e8;}[_0x296055(0x9c)](_0x491861,_0x3f27ac=this['defaultLoadingTime']){const _0x214ea7=_0x296055;this['loadingStates'][_0x214ea7(0xa0)](_0x491861,!![]),this['updateComponentState'](_0x491861,!![]),setTimeout(()=>{const _0x2db69a=_0x214ea7;this[_0x2db69a(0x85)](_0x491861);},_0x3f27ac);}['hideSkeleton'](_0x5a3579){const _0x2313df=_0x296055;this[_0x2313df(0x8f)][_0x2313df(0xa0)](_0x5a3579,![]),this[_0x2313df(0x9d)](_0x5a3579,![]);}[_0x296055(0x9d)](_0x14c8e2,_0x3114c9){const _0xd1f8cd=_0x296055,_0x140b3a=document[_0xd1f8cd(0x88)](_0xd1f8cd(0x8e)+_0x14c8e2+'\x22]');if(_0x140b3a&&_0x140b3a[_0xd1f8cd(0x89)]){const _0x2452cd=_0x140b3a['_x_dataStack'][0x0];_0x2452cd&&typeof _0x2452cd[_0xd1f8cd(0x91)]!=='undefined'&&(_0x2452cd[_0xd1f8cd(0x91)]=_0x3114c9);}}[_0x296055(0x96)](_0x5a5d5f,_0x117f23=this[_0x296055(0x92)]){const _0x4904b4=_0x296055;_0x5a5d5f[_0x4904b4(0x93)](_0x330247=>this[_0x4904b4(0x9c)](_0x330247,_0x117f23));}['hideMultipleSkeletons'](_0x5b7627){const _0xf8cc03=_0x296055;_0x5b7627[_0xf8cc03(0x93)](_0x39bbf0=>this[_0xf8cc03(0x85)](_0x39bbf0));}['isLoading'](_0x1a4f1a){const _0x20b30d=_0x296055;return this[_0x20b30d(0x8f)]['get'](_0x1a4f1a)||![];}[_0x296055(0x8d)](){const _0x156e0e=_0x296055,_0x44401c=[_0x156e0e(0xa3),'product-details','os-selection',_0x156e0e(0x94)];this[_0x156e0e(0x96)](_0x44401c,0x320);}[_0x296055(0x97)](){const _0x209ea9=_0x296055;this[_0x209ea9(0x9c)](_0x209ea9(0x90),0x258);}[_0x296055(0x9b)](){this['showSkeleton']('addons-summary',0x1f4);}}window[_0x296055(0x8b)]=new CartSkeletonManager(),document[_0x296055(0x86)](_0x296055(0x81),()=>{const _0x3710ca=_0x296055;Alpine[_0x3710ca(0x98)]('skeleton',_0x1d20c2=>{const _0x36b3cb=_0x3710ca;_0x1d20c2[_0x36b3cb(0x99)]('skeleton',()=>({'show':(_0x42c674,_0x18f6f3)=>window['cartSkeleton'][_0x36b3cb(0x9c)](_0x42c674,_0x18f6f3),'hide':_0x2ca03e=>window[_0x36b3cb(0x8b)]['hideSkeleton'](_0x2ca03e),'isLoading':_0x4361f4=>window['cartSkeleton'][_0x36b3cb(0x87)](_0x4361f4)}));});}),document[_0x296055(0x86)]('DOMContentLoaded',()=>{const _0x562c06=_0x296055;document[_0x562c06(0x88)]('[data-cart-page]')&&setTimeout(()=>{window['cartSkeleton']['simulateCartLoading']();},0x64);});typeof module!==_0x296055(0x9e)&&module[_0x296055(0xa2)]&&(module['exports']=CartSkeletonManager);
function _0x530d(){const _0x39473f=['querySelector','forEach','[data-cart-page]','simulateOsLoading','96fdVbpo','60906Rtgttq','plugin','508922ZOUlhi','isLoading','3224280TMLjFH','showMultipleSkeletons','2744962jDgLWz','os-selection','updateComponentState','cartSkeleton','set','20VLcaNU','1042384whQxwX','exports','loading','hideMultipleSkeletons','[data-skeleton-id=\x22','product-details','loadingStates','668BFcXPD','203Qwzqth','hideSkeleton','addEventListener','showSkeleton','simulateAddonsLoading','magic','domain-input','addons-summary','simulateCartLoading','DOMContentLoaded','defaultLoadingTime','13075MkPJrU','549630TdNXAb','undefined','_x_dataStack','skeleton'];_0x530d=function(){return _0x39473f;};return _0x530d();}const _0xc69068=_0x4e72;(function(_0xb2e1fb,_0x1deb45){const _0x401ab1=_0x4e72,_0x51607d=_0xb2e1fb();while(!![]){try{const _0x3c6f82=-parseInt(_0x401ab1(0x174))/0x1+-parseInt(_0x401ab1(0x17e))/0x2+parseInt(_0x401ab1(0x176))/0x3+parseInt(_0x401ab1(0x185))/0x4*(parseInt(_0x401ab1(0x191))/0x5)+-parseInt(_0x401ab1(0x172))/0x6*(-parseInt(_0x401ab1(0x186))/0x7)+-parseInt(_0x401ab1(0x171))/0x8*(parseInt(_0x401ab1(0x192))/0x9)+parseInt(_0x401ab1(0x17d))/0xa*(parseInt(_0x401ab1(0x178))/0xb);if(_0x3c6f82===_0x1deb45)break;else _0x51607d['push'](_0x51607d['shift']());}catch(_0x1820ae){_0x51607d['push'](_0x51607d['shift']());}}}(_0x530d,0x84516));function _0x4e72(_0x31f2bd,_0x287d46){const _0x530d28=_0x530d();return _0x4e72=function(_0x4e7201,_0x59af4a){_0x4e7201=_0x4e7201-0x16a;let _0x3fb0f0=_0x530d28[_0x4e7201];return _0x3fb0f0;},_0x4e72(_0x31f2bd,_0x287d46);}class CartSkeletonManager{constructor(){const _0x4fc730=_0x4e72;this[_0x4fc730(0x184)]=new Map(),this['defaultLoadingTime']=0x3e8;}[_0xc69068(0x189)](_0x269eb4,_0x82f271=this['defaultLoadingTime']){const _0x55f7ef=_0xc69068;this['loadingStates'][_0x55f7ef(0x17c)](_0x269eb4,!![]),this['updateComponentState'](_0x269eb4,!![]),setTimeout(()=>{const _0xd19a29=_0x55f7ef;this[_0xd19a29(0x187)](_0x269eb4);},_0x82f271);}[_0xc69068(0x187)](_0x30a016){const _0x1cfb16=_0xc69068;this[_0x1cfb16(0x184)][_0x1cfb16(0x17c)](_0x30a016,![]),this[_0x1cfb16(0x17a)](_0x30a016,![]);}[_0xc69068(0x17a)](_0x3d7c1d,_0x2088dc){const _0x16840a=_0xc69068,_0x2eeca0=document[_0x16840a(0x16d)](_0x16840a(0x182)+_0x3d7c1d+'\x22]');if(_0x2eeca0&&_0x2eeca0[_0x16840a(0x16b)]){const _0x1ed0ae=_0x2eeca0[_0x16840a(0x16b)][0x0];_0x1ed0ae&&typeof _0x1ed0ae[_0x16840a(0x180)]!=='undefined'&&(_0x1ed0ae[_0x16840a(0x180)]=_0x2088dc);}}[_0xc69068(0x177)](_0x26300f,_0x590035=this[_0xc69068(0x190)]){const _0x51fa0c=_0xc69068;_0x26300f[_0x51fa0c(0x16e)](_0x35469d=>this[_0x51fa0c(0x189)](_0x35469d,_0x590035));}[_0xc69068(0x181)](_0x28270f){const _0x3865ff=_0xc69068;_0x28270f[_0x3865ff(0x16e)](_0x5cbaab=>this['hideSkeleton'](_0x5cbaab));}[_0xc69068(0x175)](_0x5edb9a){return this['loadingStates']['get'](_0x5edb9a)||![];}[_0xc69068(0x18e)](){const _0x1d085c=_0xc69068,_0x5e78a5=[_0x1d085c(0x18c),_0x1d085c(0x183),'os-selection',_0x1d085c(0x18d)];this[_0x1d085c(0x177)](_0x5e78a5,0x320);}[_0xc69068(0x170)](){const _0x16f1fb=_0xc69068;this[_0x16f1fb(0x189)](_0x16f1fb(0x179),0x258);}[_0xc69068(0x18a)](){const _0x1abc6d=_0xc69068;this[_0x1abc6d(0x189)]('addons-summary',0x1f4);}}window['cartSkeleton']=new CartSkeletonManager(),document[_0xc69068(0x188)]('alpine:init',()=>{const _0xd1a072=_0xc69068;Alpine[_0xd1a072(0x173)](_0xd1a072(0x16c),_0x45ef1f=>{const _0x5ba265=_0xd1a072;_0x45ef1f[_0x5ba265(0x18b)]('skeleton',()=>({'show':(_0x14650e,_0xbc076d)=>window['cartSkeleton']['showSkeleton'](_0x14650e,_0xbc076d),'hide':_0x50fe25=>window[_0x5ba265(0x17b)][_0x5ba265(0x187)](_0x50fe25),'isLoading':_0x20a6fb=>window[_0x5ba265(0x17b)][_0x5ba265(0x175)](_0x20a6fb)}));});}),document[_0xc69068(0x188)](_0xc69068(0x18f),()=>{const _0x3f278e=_0xc69068;document[_0x3f278e(0x16d)](_0x3f278e(0x16f))&&setTimeout(()=>{const _0x4a84f9=_0x3f278e;window['cartSkeleton'][_0x4a84f9(0x18e)]();},0x64);});typeof module!==_0xc69068(0x16a)&&module[_0xc69068(0x17f)]&&(module['exports']=CartSkeletonManager);
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long