
告诉我们您的睡眠习惯,我们会为您推荐Sleepm系列中最适合您的产品。只需大约一分钟。
留下您的联系方式,您附近的 Sleepm 团队成员将用您的语言与您联系。
所有建议仅基于个人舒适度偏好。Sleepm 产品旨在提供舒适和休息,并非用于诊断、治疗、治愈或预防任何疾病。
(function(){
var root=document.getElementById('lqz');if(!root){return;}
var Q=[
{k:'goal',h:'What are you looking for?',o:[['bed','A whole new bed'],['upgrade','A better feel on the bed I already have'],['pillow','A pillow that fits me'],['extra','Something cozy for the evening'],['unsure','Not sure yet']]},
{k:'pos',h:'How do you usually fall asleep?',o:[['side','On my side'],['back','On my back'],['stomach','On my stomach'],['mix','All over the place']]},
{k:'feel',h:'Which feels most like you?',o:[['held','Sinking in, being held'],['bounce','Light, springy and cool'],['adjust','I like to adjust things'],['classic','Classic and simple']]},
{k:'hot',h:'Do you tend to sleep warm?',o:[['yes','Yes, I kick the covers off'],['some','Sometimes'],['no','No, I run cold']]},
{k:'more',h:'Anything else true for you?',multi:1,o:[['light','Light sneaks into my room'],['travel','I travel a lot'],['cold','My evenings get chilly'],['share','I share my bed'],['none','None of these']]}
];
var P={
mattress:{n:'The BioCrystal Mattress',u:'/mattress/',w:'Fourteen inches of natural Thai latex, cool-gel memory foam and pocket coils, with the BioCrystal layer sealed at its heart.'},
topper:{n:'The Luxury Topper',u:'/biocrystal-toppers/',w:'Thai latex, organic wool and graphene foam that turn the mattress you already own into a softer, cooler place to sleep.'},
pillow:{n:'The BioCrystal Pillows',u:'/biocrystal-pillows/',w:'Four contour pillows, each shaped to support the curve of your neck.'},
pad:{n:'The Heating Pad',u:'/sleepm-heating-pad/',w:'Deep, even warmth with the BioCrystal blend inside, our best-seller.'},
mask:{n:'The Eye Mask',u:'/sleepm-eye-mask/',w:'True blackout in soft, breathable fabric, small enough for a carry-on.'}
};
var PIL={held:['Polar Bear','slow-sinking memory foam, for sleepers who like to be held'],bounce:['Panda','natural latex, lively, cool and quick to recover'],adjust:['Camel','two heights in one pillow, turn it to suit your shoulders'],classic:['Butterfly','the classic, with magnet accents woven through']};
var A={more:[]},i=0,t0=Date.now();
function $(s){return root.querySelector(s);}
function el(t,c,x){var e=document.createElement(t);if(c){e.className=c;}if(x!=null){e.textContent=x;}return e;}
var stage=$('.lqz-stage'),bar=$('.lqz-bar i'),cnt=$('.lqz-count'),back=$('.lqz-back');
function show(){var q=Q[i];stage.textContent='';bar.style.width=(i/Q.length*100)+'%';cnt.textContent='Question '+(i+1)+' of '+Q.length;back.hidden=i===0;
stage.appendChild(el('h2','lqz-q',q.h));var box=el('div','lqz-opts');
q.o.forEach(function(o){var b=el('button','lqz-opt',o[1]);b.type='button';
if(q.multi){if(A.more.indexOf(o[0])>=0){b.classList.add('on');}b.addEventListener('click',function(){if(o[0]==='none'){A.more=['none'];}else{A.more=A.more.filter(function(x){return x!=='none';});var j=A.more.indexOf(o[0]);if(j>=0){A.more.splice(j,1);}else{A.more.push(o[0]);}}[].forEach.call(box.children,function(c,ix){c.classList.toggle('on',A.more.indexOf(q.o[ix][0])>=0);});nx.disabled=!A.more.length;});}
else{if(A[q.k]===o[0]){b.classList.add('on');}b.addEventListener('click',function(){A[q.k]=o[0];i++;i<Q.length?show():result();});}
box.appendChild(b);});
stage.appendChild(box);
if(q.multi){var nx=el('button','btn lqz-next','See my match');nx.type='button';nx.disabled=!A.more.length;nx.addEventListener('click',function(){i++;result();});stage.appendChild(nx);}
try{stage.querySelector('.lqz-q').focus({preventScroll:true});}catch(e){}
}
back.addEventListener('click',function(){if(i>0){i--;show();}});
function pick(){var g=A.goal,hot=A.hot,m=A.more;var main;
if(g==='bed'){main='mattress';}else if(g==='upgrade'){main='topper';}else if(g==='pillow'){main='pillow';}
else if(g==='extra'){main=(m.indexOf('light')>=0||m.indexOf('travel')>=0)&&m.indexOf('cold')<0?'mask':'pad';}
else{main=hot==='yes'?'topper':'pillow';}
var extras=[];if(main!=='pillow'){extras.push('pillow');}
if(m.indexOf('cold')>=0&&main!=='pad'){extras.push('pad');}
if((m.indexOf('light')>=0||m.indexOf('travel')>=0)&&main!=='mask'){extras.push('mask');}
return {main:main,extras:extras.slice(0,2)};}
function why(main){var w=[];var pos={side:'side sleeper',back:'back sleeper',stomach:'stomach sleeper',mix:'restless sleeper'}[A.pos];
if(main==='mattress'||main==='topper'){if(A.hot==='yes'){w.push('You sleep warm, and its graphene layer is there to help draw heat away from you.');}else if(A.hot==='no'){w.push('You run cold, and the organic wool inside is known for keeping warmth in when the room is cool.');}
if(A.feel==='held'){w.push('You like to be held, and the memory foam gives you that sink-in feeling.');}else if(A.feel==='bounce'){w.push('You like a lively feel, and natural latex springs right back.');}
if(A.more.indexOf('share')>=0&&main==='mattress'){w.push('You share your bed, and pocket coils flex on their own so one sleeper moves without rocking the other.');}}
if(main==='pillow'){w.push('As a '+pos+', the shape of your pillow matters more than anything else on the bed.');}
if(main==='pad'){w.push('Your evenings get chilly, and nothing turns an evening around like even, edge-to-edge warmth.');}
if(main==='mask'){w.push('Light finds its way into your nights, and total darkness is the simplest fix there is.');}
return w;}
function card(k,big){var p=P[k];var c=el('a','lqz-card'+(big?' big':''));c.href=p.u;
c.appendChild(el('span','lqz-cl',big?'Your match':'Pairs well with'));c.appendChild(el('span','lqz-cn',p.n));
var w=p.w;if(k==='pillow'&&A.feel&&PIL[A.feel]){w='Try the '+PIL[A.feel][0]+': '+PIL[A.feel][1]+'.';}
c.appendChild(el('span','lqz-cw',w));c.appendChild(el('span','lqz-cm','See it →'));return c;}
function result(){bar.style.width='100%';cnt.textContent='Your match';back.hidden=false;stage.textContent='';var r=pick();
stage.appendChild(card(r.main,1));
var ws=why(r.main);if(ws.length){var ul=el('ul','lqz-why');ws.forEach(function(x){ul.appendChild(el('li','',x));});stage.appendChild(ul);}
if(r.extras.length){var g=el('div','lqz-extras');r.extras.forEach(function(k){g.appendChild(card(k,0));});stage.appendChild(g);}
var ct=el('div','lqz-ctas');var a1=el('a','btn','Try it at a showroom');a1.href='/book-a-visit/';var a2=el('a','btn ghost','Ask the family');a2.href='#';a2.addEventListener('click',function(e){e.preventDefault();var o=document.querySelector('#slcL .slc-orb');if(o){o.click();}else{location.href='/contact/';}});ct.appendChild(a1);ct.appendChild(a2);stage.appendChild(ct);
var again=el('button','lqz-again','Start over');again.type='button';again.addEventListener('click',function(){A={more:[]};i=0;show();});stage.appendChild(again);
var sv=$('.lqz-save');sv.hidden=false;sv.dataset.match=P[r.main].n+(r.extras.length?' + '+r.extras.map(function(k){return P[k].n;}).join(' + '):'');
try{if(window.gtag){gtag('event','finder_result',{match:r.main});}}catch(x){}
stage.scrollIntoView({block:'start',behavior:'smooth'});}
var sf=$('#lqzSave'),sm=$('.lqz-smsg');
sf.addEventListener('submit',function(e){e.preventDefault();var E=sf.elements;sm.hidden=true;
if(!E.first.value.trim()||!E.phone.value.trim()){sm.textContent='Please add your name and phone number.';sm.hidden=false;return;}
if(!/^[^\s@]+@[^\s@]+\.[^\s@]{2,}$/.test(E.email.value.trim())){sm.textContent='Please enter a valid email address.';sm.hidden=false;return;}
var sv=$('.lqz-save');var ans=Q.map(function(q){var v=q.multi?A.more:[A[q.k]];return q.h+' '+v.map(function(x){var f=q.o.filter(function(o){return o[0]===x;})[0];return f?f[1]:x;}).join(', ');});
var fd=new FormData();fd.append('action','sleepm_contact');fd.append('first',E.first.value.trim());fd.append('last',E.last.value.trim()||'-');fd.append('email',E.email.value.trim());fd.append('phone',E.phone.value.trim());fd.append('heard[]','Sleep finder quiz');fd.append('message',['SLEEP FINDER RESULT','Match: '+sv.dataset.match].concat(ans).join('\n'));fd.append('page',location.href);fd.append('website',E.website.value);fd.append('t',String(Date.now()-t0));
var b=sf.querySelector('button');b.disabled=true;
fetch('/wp-admin/admin-ajax.php',{method:'POST',body:fd,credentials:'same-origin'}).then(function(r){return r.json();}).then(function(j){if(j&&j.success){sf.hidden=true;sm.textContent='Sent. Someone from the family near you will be in touch.';sm.className='lqz-smsg ok';sm.hidden=false;}else{sm.textContent=(j&&j.data&&j.data.message)||'Something went wrong. Please try again.';sm.hidden=false;b.disabled=false;}}).catch(function(){sm.textContent='Something went wrong. Please try again.';sm.hidden=false;b.disabled=false;});
});
show();
})();
每张Sleepm床垫都是通过家人朋友推荐的——他们就在您身边,说着您熟悉的语言,而且他们自己也在使用。我们提供分期付款服务。
(function(){ var cv=document.getElementById('dust'),cx=cv.getContext('2d'),W,H; function size(){W=cv.width=innerWidth;H=cv.height=innerHeight}size();addEventListener('resize',size); var P=[];var GOLD=[255,217,138],PERI=[159,176,255],WHITE=[240,243,255]; function spawn(x,y,opt){opt=opt||{};var c=[GOLD,PERI,WHITE][Math.random()*3|0]; P.push({x:x,y:y,vx:(Math.random()-.5)*(opt.sp||1.2),vy:(Math.random()-.5)*1.2,life:1,decay:.012+Math.random()*.02,s:opt.s||(1+Math.random()*2.2),c:c,tw:Math.random()*6.28});} addEventListener('mousemove',function(e){for(var i=0;i<3;i++)spawn(e.clientX+(Math.random()-.5)*10,e.clientY+(Math.random()-.5)*10,{sp:.9});}); setInterval(function(){spawn(Math.random()*W,Math.random()*H*.6,{sp:.3,s:1});},300); function loop(){cx.clearRect(0,0,W,H);cx.globalCompositeOperation='lighter'; for(var i=P.length-1;i>=0;i--){var p=P[i];p.x+=p.vx;p.y+=p.vy;p.life-=p.decay;p.tw+=.25; if(p.life<=0){P.splice(i,1);continue} var a=p.life*(.55+.45*Math.sin(p.tw)); var g=cx.createRadialGradient(p.x,p.y,0,p.x,p.y,p.s*3.2); g.addColorStop(0,'rgba('+p.c[0]+','+p.c[1]+','+p.c[2]+','+a+')');g.addColorStop(1,'rgba('+p.c[0]+','+p.c[1]+','+p.c[2]+',0)'); cx.fillStyle=g;cx.beginPath();cx.arc(p.x,p.y,p.s*3.2,0,6.28);cx.fill();} requestAnimationFrame(loop);}loop(); var io=new IntersectionObserver(function(es){es.forEach(function(e){if(e.isIntersecting)e.target.classList.add('awake');});},{threshold:.15}); document.querySelectorAll('.awaken').forEach(function(el){io.observe(el)}); })();
(function(){var btn=document.querySelector('.lb-btn');if(btn){btn.addEventListener('click',function(e){e.preventDefault();document.documentElement.classList.toggle('lbopen');});}var menu=document.querySelector('.lb-menu');if(menu){menu.addEventListener('click',function(){document.documentElement.classList.remove('lbopen');});}})();
(function(){var root=document.getElementById('lloydLang');if(!root)return;var btn=root.querySelector('.ll-btn');btn.addEventListener('click',function(e){e.stopPropagation();root.classList.toggle('ll-open');});document.addEventListener('click',function(){root.classList.remove('ll-open');});function sw(code){var done=false;if(window.Weglot){if(Weglot.switchTo){Weglot.switchTo(code);done=true;}}if(!done){var a=document.getElementById('weglot-language-'+code);if(a){a.click();}}}var opts=root.querySelectorAll('.ll-opt');opts.forEach(function(o){o.addEventListener('click',function(e){e.preventDefault();var code=o.getAttribute('data-wg');sw(code);var el=root.querySelector('.ll-cur');if(el){el.textContent=code.toUpperCase();}root.classList.remove('ll-open');});});function setCur(){var cur='';if(window.Weglot){if(Weglot.getCurrentLang){cur=Weglot.getCurrentLang();}}if(cur){var el=root.querySelector('.ll-cur');if(el){el.textContent=(''+cur).toUpperCase();}}}setTimeout(setCur,900);})();