self.onmessage = function(e) { let result = Bigpensearch(e.data[0],e.data[1] ) self.postMessage([result]); } function FriendLyURL(str) { str = str.toLowerCase().replace(/×/g,'x'); // xóa dấu str = str .normalize('NFD') // chuyển chuỗi sang unicode tổ hợp .replace(/[\u0300-\u036f]/g, ''); // xóa các ký tự dấu sau khi tách tổ hợp // Thay ký tự đĐ str = str.replace(/[đĐ]/g, 'd'); // Xóa ký tự đặc biệt str = str.replace(/([^0-9a-z-\s])/g, '\-'); // Xóa khoảng trắng thay bằng ký tự - str = str.replace(/(\s+)/g, '\-'); // Xóa ký tự - liên tiếp str = str.replace(/-+/g, '\-'); // xóa phần dư - ở đầu & cuối str = str.replace(/^-+|-+$/g, ''); // return return str; } let randommurl=""; const now = new Date(); const day = String(now.getDate()).padStart(2, '0'); // Day of the month (1-31) const month = String(now.getMonth() + 1).padStart(2, '0'); // Month (0-11, so add 1) const year = now.getFullYear(); // Full year (e.g., 2024) const hours = String(now.getHours()).padStart(2, '0'); // Hours (0-23) const minutes = String(now.getMinutes()).padStart(2, '0'); // Minutes (0-59) const seconds = String(now.getSeconds()).padStart(2, '0'); // Seconds (0-59) randommurl =`${day}${month}${year}${hours}`; var getcdnsearch = function(filename){ var url="https://theme.hstatic.net/1000233137/1001096610/14/"; return url+filename+"?v="+randommurl; } const url = FriendLyURL('https://khanhvyhome.com').split('-').join(''); const scriptUrl = getcdnsearch(`${url}-bigpensearch.js`); function matchPeople(input) { if (!input.length) { return []; } input = FriendLyURL(input); const regs = input.split('-'); return searchkeyobj.filter(person => { return person.split('#')[0].includes(input); }); } function Bigpensearch(val,shopid) { console.log('trigger bigpensearch'); if(typeof(searchkeyobj)=='undefined' || searchkeyobj === null) { importScripts(scriptUrl); } var autoCompleteResult = matchPeople(val); let htmlresult="" for (let i = 0, limit = 20, len = autoCompleteResult.length; i < len && i < limit; i++) { let autoCompleteResultitem=autoCompleteResult[i].split('#')[0] htmlresult+=`
${searchdataobj[autoCompleteResultitem].title}
`; } return htmlresult; }
Gọi mua hàng
1800646410
Hệ thống
cửa hàng
Khuyến
mãi
Trung tâm
sửa chữa
Giỏ hàng
0
Danh mục sản phẩm
Trang chủ
/
Khóa điện tử outlet
Khóa điện tử outlet
Outlet
-60%
Chuông camera PHGLock IC103W
680,000₫
1,700,000₫
-60%
Outlet
-40%
Hộp khóa thông minh Hafele - EK5500-TB 912.05.381
3,828,000₫
6,380,000₫
-40%
Outlet
-20%
Khóa Cổng PHGLock FE36-App-1
3,280,000₫
4,100,000₫
-20%
Outlet
-60%
Khóa cổng PHGlock KE38-DC
1,960,000₫
4,900,000₫
-60%
Outlet
-60%
Khóa cổng vân tay PHGlock FE38-S-BDC
3,120,000₫
7,800,000₫
-60%
Outlet
-60%
Khóa cửa kính PHGLock FG5604A APP
1,840,000₫
4,600,000₫
-60%
Outlet
-60%
Khóa Cửa Nhôm PHGLock FP5200-S
2,160,000₫
5,400,000₫
-60%
Outlet
-40%
Khóa điện tử DL7600 Đen Không Pin 912.20.237
7,516,800₫
12,528,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele DL6000 912.20.581
3,396,000₫
5,660,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele DL6600 912.20.145
4,530,000₫
7,550,000₫
-40%
Outlet
-40%
Khoá điện tử Hafele DL7000 912.20.314
4,680,000₫
7,800,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele DL7100 912.05.498
4,967,400₫
8,279,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele DL7600 912.20.230
8,118,000₫
13,530,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele DL7900-TCB 912.05.646
5,896,800₫
9,828,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele EL6500 TCS 912.05.970
4,608,000₫
7,680,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele EL6500 TCS 912.20.122
5,346,000₫
8,910,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele EL7000-TC 912.05.495
3,797,400₫
6,329,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele EL7200 912.05.714
4,257,600₫
7,096,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele EL7500 912.05.712
4,789,200₫
7,982,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele EL9000 - TCS 912.05.378
7,549,200₫
12,582,000₫
-40%
Outlet
-40%
Khóa điện tử Hafele PP8100 912.20.260
9,240,000₫
15,400,000₫
-40%
Outlet
Khóa điện tử Hafele PP8100 912.20.286
Liên hệ
Outlet
-60%
Khóa điện tử PHGlock FG3605-SMS vân tay cửa kính
1,960,000₫
4,900,000₫
-60%
Outlet
-60%
khóa điện tử PHGLock KR5293B
2,000,000₫
5,000,000₫
-60%
Outlet
-60%
khóa điện tử PHGLock KR5293S
1,840,000₫
4,600,000₫
-60%
Outlet
-60%
Khóa điện tử PHGlock KR6135G-BR - L
1,880,000₫
4,700,000₫
-60%
Outlet
-60%
Khóa điện tử PHGlock KR6135G-BR - R
1,880,000₫
4,700,000₫
-60%
Outlet
-40%
Khóa điện tử PHGLock KR7153W Gold Remote
4,320,000₫
7,200,000₫
-40%
1
2
3
4
SẢN PHẨM ĐÃ XEM
Chính sách linh hoạt
7 ngày đổi trả dễ dàng
Vận chuyển siêu tốc
Giao trong ngày
Thanh toán thuận lợi
Nhận hàng và thanh toán
Cam kết chất lượng
Sản phẩm chính hãng
Giỏ hàng của bạn có
sản phẩm
Tổng tiền thanh toán:
Tiếp tục mua hàng
Thực hiện thanh toán
Chat với chúng tôi qua zalo
Chat với chúng tôi qua zalo
So sánh
(0)
Thu gọn
So sánh ngay
Xóa tất cả sản phẩm
self.onmessage = function(e) { let result = Bigpensearch2(e.data[0],e.data[1] ) self.postMessage([result]); } function FriendLyURL(str) { str = str.toLowerCase().replace(/×/g,'x'); // xóa dấu str = str .normalize('NFD') // chuyển chuỗi sang unicode tổ hợp .replace(/[\u0300-\u036f]/g, ''); // xóa các ký tự dấu sau khi tách tổ hợp // Thay ký tự đĐ str = str.replace(/[đĐ]/g, 'd'); // Xóa ký tự đặc biệt str = str.replace(/([^0-9a-z-\s])/g, '\-'); // Xóa khoảng trắng thay bằng ký tự - str = str.replace(/(\s+)/g, '\-'); // Xóa ký tự - liên tiếp str = str.replace(/-+/g, '\-'); // xóa phần dư - ở đầu & cuối str = str.replace(/^-+|-+$/g, ''); // return return str; } let randommurl2=""; const now = new Date(); const day = String(now.getDate()).padStart(2, '0'); // Day of the month (1-31) const month = String(now.getMonth() + 1).padStart(2, '0'); // Month (0-11, so add 1) const year = now.getFullYear(); // Full year (e.g., 2024) const hours = String(now.getHours()).padStart(2, '0'); // Hours (0-23) const minutes = String(now.getMinutes()).padStart(2, '0'); // Minutes (0-59) const seconds = String(now.getSeconds()).padStart(2, '0'); // Seconds (0-59) randommurl2 =`${day}${month}${year}${hours}`; var getcdnsearch = function(filename){ var url="https://theme.hstatic.net/1000233137/1001096610/14/"; return url+filename+"?v="+randommurl2; } const url = FriendLyURL('https://khanhvyhome.com').split('-').join(''); const scriptUrl = getcdnsearch(`${url}-bigpensearch.js`); function matchPeople(input) { if (!input.length) { return []; } input = FriendLyURL(input); const regs = input.split('-'); return searchkeyobj.filter(person => { return person.split('#')[0].includes(input); }); } function Bigpensearch2(val,shopid) { if(typeof(searchkeyobj)=='undefined' || searchkeyobj === null) { importScripts(scriptUrl); } var autoCompleteResult = matchPeople(val); let htmlresult="" for (let i = 0, limit = 20, len = autoCompleteResult.length; i < len && i < limit; i++) { let autoCompleteResultitem=autoCompleteResult[i].split('#')[0] htmlresult+=`
${searchdataobj[autoCompleteResultitem].title}
`; } return htmlresult; }
So sánh sản phẩm
×
Đóng
Đóng