PageSourceSearch

https://repebble.com/_next/static/chunks/08e2ad793d8d85c6.js?dpl=dpl_FaPdcKaRvBeWTLdS7ud3kcDa6DQe

js repebble.com collected 2026-09-24 17:11:26 UTC 56,151 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,19317,e=>{"use strict";e.i(68519);var s=e.i(29511),t=e.i(47684),r=e.i(88823),a=e.i(81388);let l=(0,a.default)("play",[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]]),n=(0,a.default)("watch",[["path",{d:"M12 10v2.2l1.6 1",key:"n3r21l"}],["path",{d:"m16.13 7.66-.81-4.05a2 2 0 0 0-2-1.61h-2.68a2 2 0 0 0-2 1.61l-.78 4.05",key:"18k57s"}],["path",{d:"m7.88 16.36.8 4a2 2 0 0 0 2 1.61h2.72a2 2 0 0 0 2-1.61l.81-4.05",key:"16ny36"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}]]);var i=e.i(89749),o=e.i(58138);let c=(0,a.default)("file-text",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]);var d=e.i(4202),m=e.i(73695);function h(e){return"string"==typeof e?e:e.src}function p({images:e,currentIndex:t,watchName:r,onClose:a,onNext:l,onPrevious:n}){var o;return(0,s.jsxs)("div",{className:"fixed inset-0 bg-background/95 backdrop-blur-sm z-50 cursor-pointer",onClick:a,children:[(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),n()},className:"absolute left-4 top-1/2 -translate-y-1/2 bg-black/20 hover:bg-black/40 text-white/90 p-3 rounded-full transition-colors z-50",children:(0,s.jsx)(d.ChevronLeft,{className:"w-6 h-6"})}),(0,s.jsx)("button",{onClick:e=>{e.stopPropagation(),l()},className:"absolute right-4 top-1/2 -translate-y-1/2 bg-black/20 hover:bg-black/40 text-white/90 p-3 rounded-full transition-colors z-50",children:(0,s.jsx)(m.ChevronRight,{className:"w-6 h-6"})}),(0,s.jsx)("button",{onClick:a,className:"absolute top-4 right-4 z-50 bg-red-500 text-white p-2 rounded-full hover:bg-red-600 transition-colors",children:(0,s.jsx)(i.X,{className:"w-6 h-6"})}),(0,s.jsxs)("div",{className:"w-full h-full p-4 flex flex-col items-center justify-center",children:["object"==typeof(o=e[t])&&o.src&&(o.src.endsWith(".mp4")||o.src.endsWith(".webm"))?(0,s.jsx)("video",{src:h(e[t]),className:"max-w-full max-h-[85vh] object-contain",controls:!0,autoPlay:!0,loop:!0,onClick:e=>e.stopPropagation(),ref:e=>{e&&(e.playbackRate=.5)}}):(0,s.jsx)("img",{src:h(e[t]),alt:`${r} view`,className:"max-w-full max-h-[85vh] object-contain",onClick:e=>e.stopPropagation()}),(0,s.jsx)("div",{className:"mt-4 text-lg font-medium text-foreground/90",children:r})]})]})}var b=e.i(16148),u=e.i(47389);let x=[{id:"pebble-time-2-black-grey",label:"Black/Grey",upc:"00850076030322",lookupKey:"pt2-black-grey",live:!0,swatch:["#1a1a1a","#808080"],video:"/videos/black-grey-hq.webm"},{id:"pebble-time-2-silver-grey",label:"Silver/Grey",upc:"00850076030346",lookupKey:"pt2-silver-grey",live:!0,swatch:["#C0C0C0","#808080"],video:"/videos/silver-grey-hq.webm"},{id:"pebble-time-2-black-red",label:"Black/Red",upc:"00850076030339",lookupKey:"pt2-black-red",live:!0,swatch:["#1a1a1a","#FA4A36"],video:"/videos/red-black-hq.webm"},{id:"pebble-time-2-silver-blue",label:"Silver/Blue",upc:"00850076030353",lookupKey:"pt2-silver-blue",live:!0,swatch:["#C0C0C0","#3b82f6"],video:"/videos/silver-blue-hq.webm"}];x.map(e=>e.id);let f=e=>x.some(s=>s.id===e),g=b.Products.find(e=>"Pebble 2 Duo - Black"===e.name&&"core-2-duo-black_batch-1"===e.id),j=b.Products.find(e=>"Pebble Time 2"===e.name),N=b.Products.find(e=>"Pebble Round 2"===e.name),y=g||b.Products[0],v=j||b.Products[2],w=N||b.Products[0],k=e=>{let s=[];return"video"in e.images&&e.images.video&&s.push(e.images.video),"videos"in e.images&&e.images.videos&&s.push(...e.images.videos),s};function S({onWantOne:e,stock:t}){let[r,a]=(0,o.useState)(y.images.main),[n,i]=(0,o.useState)(v.images.main),[d,m]=(0,o.useState)(w.images.main),[h,f]=(0,o.useState)(null),[g,j]=(0,o.useState)(!1),[N,S]=(0,o.useState)(!0),P=x.find(e=>e.live&&(t[e.id]??0)>0),C=(0,o.useRef)(null),A=(0,o.useRef)(null),I=(0,o.useRef)(null);(0,o.useEffect)(()=>{C.current&&(C.current.scrollLeft=0),A.current&&(A.current.scrollLeft=0),I.current&&(I.current.scrollLeft=0)},[]),(0,o.useEffect)(()=>{"#p2d"===window.location.hash&&(S(!1),setTimeout(()=>{document.getElementById("p2d")?.scrollIntoView({behavior:"smooth"})},100))},[]);let T=(e,s,t)=>{f({images:e,currentIndex:s,watchName:t})},R=()=>{h&&f(e=>e?{...e,currentIndex:(e.currentIndex+1)%e.images.length}:null)},D=()=>{h&&f(e=>e?{...e,currentIndex:(e.currentIndex-1+e.images.length)%e.images.length}:null)};return(0,o.useEffect)(()=>{let e=e=>{if(h)switch(e.key){case"ArrowRight":R();break;case"ArrowLeft":D();break;case"Escape":f(null)}};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[h]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"space-y-8",children:[(0,s.jsxs)("div",{className:`relative ${N?"md:pr-14":""}`,children:[(0,s.jsxs)("div",{className:`grid grid-cols-1 ${N?"md:grid-cols-2":"md:grid-cols-3"} gap-3 sm:gap-6`,children:[(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("div",{className:"relative rounded-lg overflow-hidden bg-card border",children:(0,s.jsx)(u.default,{src:d,alt:"Pebble Round 2",width:400,height:400,className:"w-full aspect-square object-cover hover:scale-105 transition-transform duration-500 cursor-zoom-in",onClick:()=>{let e=[w.images.main,...w.images.thumbnails];T(e,e.indexOf(d),"Pebble Round 2")}})}),(0,s.jsxs)("div",{ref:A,className:"flex overflow-x-auto flex-nowrap gap-2 mt-3 pb-2 hide-scrollbar",children:[(0,s.jsx)("button",{type:"button",onClick:()=>m(w.images.main),className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",children:(0,s.jsx)("div",{className:`w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 transition-all ${d===w.images.main?"border-pebble opacity-100":"border-transparent opacity-50 group-hover:opacity-75"}`,children:(0,s.jsx)("img",{src:w.images.main,alt:"Pebble Round 2",className:"w-full h-full object-cover"})})}),w.images.thumbnails.map((e,t)=>(0,s.jsx)("button",{type:"button",onClick:()=>m(e),className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",children:(0,s.jsx)("div",{className:`w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 transition-all ${d===e?"border-pebble opacity-100":"border-transparent opacity-50 group-hover:opacity-75"}`,children:(0,s.jsx)("img",{src:e,alt:`Pebble Round 2 ${t+1}`,className:"w-full h-full object-cover"})})},t))]}),(0,s.jsxs)("div",{className:"pt-4 flex-1 flex flex-col",children:[(0,s.jsxs)("h3",{className:"text-xl font-bold mb-4",children:["Pebble Round 2 ",(0,s.jsx)("span",{style:{fontSize:"0.65em",fontWeight:600,backgroundColor:"#FA4A36",color:"white",padding:"3px 8px",borderRadius:"4px",marginLeft:"6px",verticalAlign:"middle",letterSpacing:"0.5px"},children:"NEW"})]}),(0,s.jsxs)("ul",{className:"space-y-2 text-sm sm:text-base flex-1",children:[(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),'1.3" 64 color e-paper screen']}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Touch screen"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Stainless steel frame"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"The most stylish Pebble ever"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsx)("a",{href:"/images/products/pr2-options-thumb.jpeg",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Three color options"})]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsx)("a",{href:"/blog/pebble-round-2-the-most-stylish-pebble-ever",className:"text-pebble hover:underline",children:"Read the announcement"})]})]}),(0,s.jsxs)("div",{className:"pt-4",children:[(0,s.jsx)("div",{className:"text-2xl font-mono text-pebble font-bold",children:"$199"}),(0,s.jsxs)("div",{className:"text-sm text-muted-foreground mt-1",children:["New orders ship in September - ",(0,s.jsx)("a",{href:"https://help.repebble.com/en/articles/14892130-shipping-timelines#h_b089356189",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Status"})]}),(0,s.jsx)("button",{type:"button",onClick:()=>{let s=b.Products.find(e=>"Pebble Round 2"===e.name);e(s?.id)},className:"w-full mt-4 bg-pebble hover:bg-pebble-hover text-white py-3 rounded-lg font-bold text-base transition-all transform hover:scale-[1.02]",children:"I want one!"})]})]})]}),(0,s.jsxs)("div",{id:"pt2",className:"flex flex-col",children:[(0,s.jsx)("div",{className:"relative rounded-lg overflow-hidden bg-card border",children:(0,s.jsx)(u.default,{src:n,alt:"Pebble Time 2",width:400,height:400,className:"w-full aspect-square object-cover hover:scale-105 transition-transform duration-500 cursor-zoom-in",onClick:()=>{let e=[v.images.main,...v.images.thumbnails],s=k(v);s.length>0&&e.push(...s),T(e,e.indexOf(n),"Pebble Time 2")}})}),(0,s.jsxs)("div",{ref:C,className:"flex overflow-x-auto flex-nowrap gap-2 mt-3 pb-2 hide-scrollbar",children:[(0,s.jsx)("button",{type:"button",onClick:()=>i(v.images.main),className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",children:(0,s.jsx)("div",{className:`w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 transition-all ${n===v.images.main?"border-pebble opacity-100":"border-transparent opacity-50 group-hover:opacity-75"}`,children:(0,s.jsx)("img",{src:v.images.main,alt:"Pebble Time 2",className:"w-full h-full object-cover"})})}),v.images.thumbnails.map((e,t)=>(0,s.jsx)("button",{type:"button",onClick:()=>i(e),className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",children:(0,s.jsx)("div",{className:`w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 transition-all ${n===e?"border-pebble opacity-100":"border-transparent opacity-50 group-hover:opacity-75"}`,children:(0,s.jsx)("img",{src:e,alt:`Pebble Time 2 ${t+1}`,className:"w-full h-full object-cover"})})},t)),k(v).map((e,t)=>(0,s.jsx)("button",{type:"button",className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",onClick:()=>{let s=[v.images.main,...v.images.thumbnails,...k(v)],t=s.findIndex(s=>"object"==typeof s&&s.src===e.src);T(s,t,"Pebble Time 2")},children:(0,s.jsxs)("div",{className:"w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 border-transparent opacity-50 group-hover:opacity-75 relative",children:[(0,s.jsx)("img",{src:e.thumbnail,alt:`Video thumbnail ${t+1}`,className:"w-full h-full object-cover"}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/30",children:(0,s.jsx)(l,{className:"w-4 h-4 text-white",f
1ill:"white"})})]})},`big-video-${t}`))]}),(0,s.jsxs)("div",{className:"pt-4 flex-1 flex flex-col",children:[(0,s.jsx)("h3",{className:"text-xl font-bold mb-4",children:"Pebble Time 2"}),(0,s.jsxs)("ul",{className:"space-y-2 text-sm sm:text-base flex-1",children:[(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),'1.5" 64 color e-paper screen']}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Touch screen"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Stainless steel frame"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Heart rate monitor"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsx)("a",{href:"/watch/pt2-color-options",className:"text-pebble hover:underline",children:"Four color options"})]})]}),(0,s.jsxs)("div",{className:"pt-4",children:[(0,s.jsx)("div",{className:"text-2xl font-mono text-pebble font-bold",children:"$225"}),(0,s.jsx)("div",{className:"text-sm text-muted-foreground mt-1",children:P?(0,s.jsx)("span",{className:"text-green-600 font-medium",children:"In stock - ships within 48 hours"}):(0,s.jsx)("span",{children:"In stock in ~2 weeks"})}),(0,s.jsx)("button",{type:"button",onClick:()=>{e(P?.id)},className:"w-full mt-4 bg-pebble hover:bg-pebble-hover text-white py-3 rounded-lg font-bold text-base transition-all transform hover:scale-[1.02]",children:"I want one!"})]})]})]}),(0,s.jsxs)("div",{id:"p2d",className:`flex flex-col ${N?"hidden":""}`,children:[(0,s.jsx)("div",{className:"relative rounded-lg overflow-hidden bg-card border",children:(0,s.jsx)(u.default,{src:r,alt:"Pebble 2 Duo",width:400,height:400,className:"w-full aspect-square object-cover hover:scale-105 transition-transform duration-500 cursor-zoom-in",onClick:()=>{let e=[y.images.main,...y.images.thumbnails],s=k(y);s.length>0&&e.push(...s),T(e,e.indexOf(r),"Pebble 2 Duo")}})}),(0,s.jsxs)("div",{ref:I,className:"flex overflow-x-auto flex-nowrap gap-2 mt-3 pb-2 hide-scrollbar",children:[(0,s.jsx)("button",{type:"button",onClick:()=>a(y.images.main),className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",children:(0,s.jsx)("div",{className:`w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 transition-all ${r===y.images.main?"border-pebble opacity-100":"border-transparent opacity-50 group-hover:opacity-75"}`,children:(0,s.jsx)("img",{src:y.images.main,alt:"Pebble 2 Duo",className:"w-full h-full object-cover"})})}),y.images.thumbnails.map((e,t)=>(0,s.jsx)("button",{type:"button",onClick:()=>a(e),className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",children:(0,s.jsx)("div",{className:`w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 transition-all ${r===e?"border-pebble opacity-100":"border-transparent opacity-50 group-hover:opacity-75"}`,children:(0,s.jsx)("img",{src:e,alt:`Pebble 2 Duo ${t+1}`,className:"w-full h-full object-cover"})})},t)),k(y).map((e,t)=>(0,s.jsx)("button",{type:"button",className:"group p-0.5 rounded-md focus:outline-none focus-visible:ring-2 focus-visible:ring-pebble focus-visible:ring-offset-2",onClick:()=>{let s=[y.images.main,...y.images.thumbnails,...k(y)],t=s.findIndex(s=>"object"==typeof s&&s.src===e.src);T(s,t,"Pebble 2 Duo")},children:(0,s.jsxs)("div",{className:"w-8 h-8 sm:w-10 sm:h-10 rounded-md overflow-hidden border-2 border-transparent opacity-50 group-hover:opacity-75 relative",children:[(0,s.jsx)("img",{src:e.thumbnail,alt:`Video thumbnail ${t+1}`,className:"w-full h-full object-cover"}),(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/30",children:(0,s.jsx)(l,{className:"w-4 h-4 text-white",f
1ill:"white"})})]})},`p2d-video-${t}`))]}),(0,s.jsxs)("div",{className:"pt-4 flex-1 flex flex-col",children:[(0,s.jsxs)("h3",{className:"text-xl font-bold mb-4 flex items-center justify-between",children:[(0,s.jsx)("span",{children:"Pebble 2 Duo"}),(0,s.jsx)("button",{type:"button",onClick:()=>S(!0),className:"hidden md:block text-sm text-gray-400 hover:text-gray-600 font-normal",children:"Hide"})]}),(0,s.jsxs)("ul",{className:"space-y-2 text-sm sm:text-base flex-1",children:[(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),'1.2" black/white e-paper screen']}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Polycarbonate frame (black or white)"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Barometer and compass"]}),(0,s.jsxs)("li",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),"Like"," ",(0,s.jsx)("a",{href:"https://www.youtube.com/watch?v=KQh1b_srGM4",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Pebble 2"}),", but better!"]})]}),(0,s.jsxs)("div",{className:"pt-4",children:[(0,s.jsx)("div",{className:"text-2xl font-mono text-gray-400 font-bold line-through",children:"$149"}),(0,s.jsxs)("div",{className:"text-sm text-muted-foreground mt-1",children:["Out of stock?"," ",(0,s.jsx)("a",{href:"https://repebble.com/signup",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Sign up for updates"})]}),(0,s.jsx)("button",{type:"button",onClick:()=>j(!0),className:"w-full mt-4 bg-gray-400 hover:bg-gray-500 text-white py-3 rounded-lg font-bold text-base transition-all transform hover:scale-[1.02]",children:"Sold Out!"})]})]})]})]}),N&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("button",{type:"button",onClick:()=>S(!1),className:"hidden md:flex absolute right-0 top-0 bottom-0 w-10 items-center justify-center bg-gray-200 hover:bg-gray-300 cursor-pointer transition-colors rounded-lg border",style:{writingMode:"vertical-rl",textOrientation:"mixed"},children:(0,s.jsx)("span",{className:"text-gray-600 font-medium text-sm whitespace-nowrap",children:"Pebble 2 Duo - Sold Out!"})}),(0,s.jsx)("button",{type:"button",onClick:()=>S(!1),className:"md:hidden w-full mt-4 py-3 bg-gray-200 hover:bg-gray-300 rounded-lg border text-gray-600 font-medium text-sm transition-colors",children:"Show Pebble 2 Duo (Sold Out)"})]})]}),(0,s.jsxs)("div",{className:"bg-card border rounded-lg p-6 sm:p-8",children:[(0,s.jsxs)("h3",{className:"text-xl font-bold mb-4 flex items-center",children:["Standard Features",(0,s.jsx)("span",{className:"text-sm text-muted-foreground ml-2",children:"(All models)"})]}),(0,s.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:[(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsx)("span",{children:"Long battery life"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsx)("span",{children:"Water resistance"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsx)("span",{children:"Step and sleep tracking"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsx)("span",{children:"Microphone"})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsxs)("span",{children:["Runs"," ",(0,s.jsx)("a",{href:"https://github.com/coredevices/pebbleos",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"PebbleOS"})," ","(open source)"]})]}),(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"w-1.5 h-1.5 bg-pebble rounded-full"}),(0,s.jsxs)("span",{children:["10,000+ watchfaces and apps on ",(0,s.jsx)("a",{href:"https://apps.rePebble.com",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Pebble Appstore"})]})]})]}),(0,s.jsxs)("div",{className:"mt-8 flex flex-wrap gap-3",children:[(0,s.jsxs)("a",{href:"https://ericmigi.com/blog/introducing-two-new-pebbleos-watches",target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 px-4 py-2 text-muted-foreground hover:text-foreground transition-colors rounded-md border border-border hover:border-pebble/50 hover:bg-muted",children:[(0,s.jsx)(c,{className:"w-4 h-4 text-pebble"}),(0,s.jsx)("span",{children:"Time 2 details"}),(0,s.jsx)("span",{className:"text-pebble",children:"→"})]}),(0,s.jsxs)("a",{href:"/blog/pebble-round-2-the-most-stylish-pebble-ever",className:"inline-flex items-center gap-2 px-4 py-2 text-muted-foreground hover:text-foreground transition-colors rounded-md border border-border hover:border-pebble/50 hover:bg-muted",children:[(0,s.jsx)(c,{className:"w-4 h-4 text-pebble"}),(0,s.jsx)("span",{children:"Round 2 details"}),(0,s.jsx)("span",{className:"text-pebble",children:"→"})]})]})]})]}),h&&(0,s.jsx)(p,{images:h.images,currentIndex:h.currentIndex,watchName:h.watchName,onClose:()=>f(null),onNext:R,onPrevious:D}),g&&(0,s.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/80 backdrop-blur-sm cursor-pointer",onClick:()=>j(!1),children:(0,s.jsxs)("div",{className:"text-center animate-bounce",children:[(0,s.jsx)("div",{className:"text-9xl mb-4",children:"😭"}),(0,s.jsx)("div",{className:"text-4xl sm:text-6xl font-bold text-white mb-4 animate-pulse",children:"SOLD OUT!"}),(0,s.jsx)("div",{className:"text-xl sm:text-2xl text-gray-300 mb-2",children:"You snooze, you lose!"}),(0,s.jsx)("div",{className:"text-lg text-gray-400",children:"(But Pebble Time 2 is still available! →)"}),(0,s.jsx)("div",{className:"mt-8 text-sm text-gray-500",children:"Click anyw
1here to close"})]})})]})}var P=e.i(75157),C=e.i(43981),A=e.i(28041),I=e.i(28765),T=e.i(44801),R=e.i(42138),D=(0,R.createServerReference)("7fa097268377addb5229f6b99ec6270bff995d1bba",R.callServer,void 0,R.findSourceMapURL,"repriceShippingAction"),O=e.i(16755),M=e.i(96892);let _=({ref:e,onSubmit:a,onCountryChange:l,onShippingSyncChange:n,searchParams:i,stripeSession:c,onOutOfStock:d,onSubmitStart:m,onSubmitEnd:h,isChangingQuantity:p})=>{let[b,u]=(0,o.useState)(!1),x=(0,o.use)(i);(0,O.useRouter)();let f=(0,t.useCheckout)(),g=(0,M.isCartEmpty)(f),[j,N]=(0,o.useState)(x.email||""),[y,v]=(0,o.useState)(""),w=(0,o.useRef)(!1),k=(0,M.useShippingSync)(f,D),S=async e=>{if(e.preventDefault(),"success"===f.type)try{if(m(),k.submittingRef.current=!0,!a())return;if(g)return void document.querySelector("#pick-watches")?.scrollIntoView({behavior:"smooth"});let e=await f.checkout.updateEmail(j);if("error"===e.type)throw e.error;await k.syncBeforeConfirm(f.checkout);let s=await f.checkout.confirm();if("error"===s.type)throw s.error;await (0,T.clearCartAction)()}catch(e){"object"==typeof e&&null!==e&&"message"in e?v(String(e.message)):v("An unknown error occurred"),console.error(e),document.querySelector(".StripeElement")?.scrollIntoView({behavior:"smooth"})}finally{k.submittingRef.current=!1,h()}},R=e=>{l(e);let s=k.onCountryChange(e);s&&(u(!0),n(!0),s.then(e=>{"error"===e.type&&v(e.error.message)}).catch(()=>v("Could not update shipping for your country. Please try again.")).finally(()=>{u(!1),n(!1)}))};return(0,s.jsxs)("form",{className:"space-y-6",onSubmit:S,ref:e,children:[(0,s.jsxs)("section",{id:"shipping-address",className:"bg-card p-6 rounded-lg border",children:[(0,s.jsxs)("h2",{className:"text-2xl font-bold mb-4 flex items-center",children:["Shipping Address ",(0,s.jsx)(I.LocateFixedIcon,{className:"ml-2 text-pebble"})]}),(0,s.jsxs)("label",{className:"flex flex-col mb-3",children:[(0,s.jsx)("span",{className:"text-sm",children:"Email"}),(0,s.jsx)("input",{type:"email",name:"email",placeholder:"Enter email…",className:"p-3 rounded-sm border shadow-sm leading-5",value:j,onChange:e=>N(e.target.value),onBlur:()=>{"success"===f.type&&f.checkout.updateEmail(j).then(e=>{"error"===e.type?v(e.error.message):v("")})}})]}),(0,s.jsx)(t.ShippingAddressElement,{options:{},onReady:e=>{w.current||(w.current=!0,e.getValue().then(s=>{e.clear(),R(s.value.address.country)}))},onChange:e=>{R(e.value.address.country)}})]}),(0,s.jsxs)("div",{className:"bg-card p-6 rounded-lg border",children:[(0,s.jsxs)("h2",{className:"text-2xl font-bold mb-4 flex items-center",children:["Pre-Order Summary ",(0,s.jsx)(A.ListOrderedIcon,{className:"ml-2 text-pebble"}),(b||p)&&(0,s.jsx)(r.Loader2Icon,{className:"animate-spin text-pebble ml-2"})]}),(0,s.jsx)("div",{className:"space-y-4",children:!0===g?(0,s.jsx)("div",{className:"py-8 text-center text-muted-foreground",children:(0,s.jsx)("p",{children:"Select a watch above to see your total"})}):(0,s.jsx)(s.Fragment,{children:"success"===f.type&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"space-y-2",children:f.checkout.lineItems.map(e=>(0,s.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsxs)("span",{className:"text-muted-foreground",children:[e.quantity,"×"]}),(0,s.jsx)("span",{children:e.name})]}),(0,s.jsx)("span",{className:"font-mono",children:(0,P.formatMoney)(e.subtotal.minorUnitsAmount)})]},e.id))}),(0,s.jsxs)("div",{className:"border-t border-border/50 pt-4 space-y-2",children:[(0,s.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,s.jsx)("span",{className:"text-muted-foreground",children:"Subtotal"}),(0,s.jsx)("span",{className:"font-mono",children:(0,P.formatMoney)(f.checkout.total.subtotal.minorUnitsAmount)})]}),(0,s.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,s.jsx)("span",{className:"text-muted-foreground",children:"Shipping"}),(0,s.jsx)("span",{className:"font-mono",children:(0,P.formatMoney)(f.checkout.total.shippingRate.minorUnitsAmount)})]}),f.checkout.taxAmounts?.filter(e=>e.minorUnitsAmount>0)?.map((e,t)=>(0,s.jsxs)("div",{className:"flex justify-between text-sm",children:[(0,s.jsx)("span",{className:"text-muted-foreground",children:e.displayName}),(0,s.jsx)("span",{className:"font-mono",children:(0,P.formatMoney)(e.minorUnitsAmount)})]},t))]}),(0,s.jsxs)("div",{className:"border-t border-border pt-4 flex justify-between items-baseline",children:[(0,s.jsx)("span",{className:"font-bold text-lg",children:"TOTAL"}),f.checkout.shipping?.shippingOption?(0,s.jsx)("div",{className:"text-right",children:(0,s.jsx)("div",{className:"font-mono text-xl font-bold text-pebble",children:(0,P.formatMoney)(f.checkout.total.total.minorUnitsAmount)})}):(0,s.jsxs)("div",{className:"text-right",children:[(0,s.jsxs)("div",{className:"font-mono text-xl font-bold text-pebble",children:[(0,P.formatMoney)(f.checkout.total.subtotal.minorUnitsAmount),(0,s.jsx)("span",{className:"text-sm",children:"+"})]}),(0,s.jsx)("div",{className:"text-xs text-muted-foreground",children:"Plus shipping fees"})]})]})]})})})]}),(0,s.jsxs)("section",{className:"bg-card p-6 rounded-lg border",children:[(0,s.jsxs)("h2",{className:"text-2xl font-bold mb-4 flex items-center",children:["Payment Method ",(0,s.jsx)(C.CreditCardIcon,{className:"ml-2 text-pebble"})]}),(0,s.jsxs)("div",{className:"space-y-6",children:[(0,s.jsx)("div",{className:"space-y-3"}),(0,s.jsx)(t.PaymentElement,{options:{layout:"auto",fields:{billingDetails:"auto"}}}),(0,s.jsxs)("div",{className:"flex items-center text-xs text-muted-foreground",children:[(0,s.jsx)("svg",{className:"w-4 h-4 mr-2 text-green-500",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:(0,s.jsx)("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"})}),(0,s.jsx)("span",{children:"Payment is processed securely by Stripe"})]}),y&&(0,s.jsx)("p",{className:"mb-6 p-4 bg-pebble/10 border border-pebble rounded-lg text-pebble font-medium",children:y})]})]})]})};var $=(0,R.createServerReference)("7f2dc67801bac0c18c710c5dff8c75a1c334bdf166",R.callServer,void 0,R.findSourceMapURL,"changeQuantity"),E=e.i(72801),U=(0,R.createServerReference)("7f3aa44d187cf3ccdf4608cbc2396ddbfbd094dd40",R.callServer,void 0,R.findSourceMapURL,"updateStripeSessionAction");e.i(18863);var L=e.i(2755),B=e.i(54974);let F=(0,L.loadStripe)("pk_live_51QouymLGhSntAgY0bhwTmP1ne0dqwrmhF92Tw6iAJgBrr20BVqmLXf86MMM4RoMm7M6GdrwNVBSnsPE178BhtoGZ00ruHloJHq",{betas:["custom_checkout_server_updates_1"]});function q({stock:e,cart:r,searchParams:a}){let{isLoading:l,error:n,result:i,promise:c,executeAsync:d}=(e=>{let[s,t]=(0,o.useState)(!1),[r,a]=(0,o.useState)(null),[l,n]=(0,o.useState)(null),[i,c]=(0,o.useState)(null);return{isLoading:s,error:r,result:l,promise:i,executeAsync:async(...s)=>{t(!0);let r=e(...s).then(e=>(n(e),e)).catch(e=>{throw a(e),e}).finally(()=>{t(!1)});return c(r),r}}})(e=>(0,E.createStripeSessionAction)(e)),[m,h]=(0,o.useState)(!0);return(0,o.useEffect)(()=>{d(e)},[]),(0,s.jsx)("div",{className:"min-h-screen w-full bg-background text-foreground",children:(0,s.jsxs)("div",{className:"mx-auto px-4 py-8 max-w-3xl",children:[(0,s.jsxs)("div",{className:"mb-10 text-center",children:[(0,s.jsx)("a",{href:"/",className:"inline-block mb-4 opacity-70 hover:opacity-100 transition-opacity",children:(0,s.jsx)("img",{src:"/pebble-logo-red.png",alt:"Pebble",className:"h-7"})}),(0,s.jsx)("h1",{className:"text-3xl md:text-4xl font-bold tracking-tight",children:"Get your new Pebble watch"}),(0,s.jsxs)("a",{href:"/blog/pebble-round-2-the-most-stylish-pebble-ever",className:"mt-4 inline-flex items-center gap-2 bg-pebble/10 text-pebble px-4 py-2 rounded-full text-sm hover:bg-pebble/20 transition-colors",children:[(0,s.jsx)("span",{className:"bg-pebble text-white text-xs font-bold px-2 py-0.5 rounded",children:"NEW"}),(0,s.jsx)("span",{children:"Pebble Round 2! Read the announcement"})]})]}),(0,s.jsxs)("div",{className:"space-y-8",children:[(0,s.jsx)("section",{className:"bg-card p-8 rounded-lg border mb-8",children:(0,s.jsxs)("div",{className:"prose prose-sm max-w-none text-muted-foreground",children:[(0,s.jsx)("p",{children:"We are proud to introduce new watches that closely follow the original Pebble DNA. If you had a Pebble and loved it, or missed your chance 10 years ago but heard about it since, we think you will really enjoy these new devices."}),(0,s.jsxs)("p",{className:"mt-3",children:["For those unfamiliar with Pebble, it's an e-paper smartwatch with simple functionality, long battery life and a fun, quirky design. It first launched on"," ",(0,s.jsx)("a",{href:"https://www.kickstarter.com/projects/getpebble/pebble-e-paper-watch-for-iphone-and-android/",className:"text-pebble hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Kickstarter"}
1)," ","in 2012."]}),(0,s.jsxs)("p",{className:"mt-3",children:[" ","-"," ",(0,s.jsx)("strong",{children:(0,s.jsxs)("em",{children:[" ",(0,s.jsx)("a",{href:"https://ericmigi.com",className:"hover:underline",target:"_blank",rel:"noopener noreferrer",children:"Eric Migicovsky"})]})})]})]})}),(0,s.jsx)(t.CheckoutProvider,{stripe:F,options:{clientSecret:c?.then(e=>e.client_secret??"")??"",elementsOptions:{loader:"never"}},children:(0,s.jsx)(W,{stripeSession:i,cart:r,searchParams:a,stock:e})},c?.toString()),(0,s.jsxs)("section",{className:"bg-card p-8 rounded-lg border mt-16",children:[(0,s.jsx)("h2",{className:"text-3xl font-bold mb-6",children:"FAQ"}),(0,s.jsxs)("div",{className:"space-y-3 max-w-3xl text-sm",children:[(0,s.jsxs)("div",{className:"hover:bg-muted p-4 rounded-lg transition-colors",children:[(0,s.jsx)("h3",{className:"font-bold mb-2",children:"How do I pick my color?"}),(0,s.jsxs)("p",{className:"text-muted-foreground",children:["Buying an in-stock Pebble Time 2? You already picked your color - it ships as ordered. Before we ship your watch, you'll be able to select from available color options (",(0,s.jsx)("a",{href:"/watch/pt2-color-options",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Time 2 options"}),", ",(0,s.jsx)("a",{href:"/images/products/pr2-color-options.png",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Round 2 options"}),") and add accessories like extra watch straps and chargers."]}),(0,s.jsx)("p",{className:"text-muted-foreground mt-2",children:"Ordering a Round 2? You don't need to choose your color now - we'll contact you before shipping to confirm your color preference."})]}),(0,s.jsxs)("div",{className:"hover:bg-muted p-4 rounded-lg transition-colors",children:[(0,s.jsx)("h3",{className:"font-bold mb-2",children:"Is there a warranty?"}),(0,s.jsxs)("p",{className:"text-muted-foreground",children:["Yes, we warrant against manufacturing defects for 30 days after you receive your order. Ship us the defective watch, and after we receive it back, we will ship (no charge) you a replacement. See our full"," ",(0,s.jsx)("a",{href:"/warranty",className:"text-pebble hover:underline",children:"warranty"}),"."]}),(0,s.jsxs)("p",{className:"text-muted-foreground mt-2",children:["Otherwise, you generally should already know what you're getting into. You're getting an awesome smartwatch running PebbleOS. There are many"," ",(0,s.jsx)("a",{href:"https://ericmigi.com/blog/pebbleos-is-awesome",className:"text-pebble hover:underline",children:"videos"})," ","and"," ",(0,s.jsx)("a",{href:"https://www.youtube.com/watch?v=KQh1b_srGM4",className:"text-pebble hover:underline",children:"reviews"})," ","of PebbleOS you can check out before pre-ordering."]})]}),(0,s.jsxs)("div",{className:"hover:bg-muted p-4 rounded-lg transition-colors",children:[(0,s.jsx)("h3",{className:"font-bold mb-2",children:"How does shipping to countries outside the US work?"}),(0,s.jsx)("p",{className:"text-muted-foreground",children:"All prices are in USD. "}),(0,s.jsx)("p",{className:"text-muted-foreground mt-2",children:"All shipments are sent from our warehouse in Asia via courier with tracking. This means that non-US shipments will not be subjected to US tariffs. Your country may have its own taxes, tariffs, customs or duties fees. Shipments are sent 'DDP' which means that all taxes, tariffs and duties are prepaid. We'll contact you when your watch is ready to confirm your address and request any necessary payments."})]}),(0,s.jsxs)("div",{className:"hover:bg-muted p-4 rounded-lg transition-colors",children:[(0,s.jsx)("h3",{className:"font-bold mb-2",children:"What if the US tariff situation changes?"}),(0,s.jsx)("p",{className:"text-muted-foreground",children:"Currently, US customs charges a tariff of approximately $10 per watch. Only US customers will be charged this tariff. If the tariff amount changes, we will email you before shipping to confirm your order - you will have the option to cancel your pre-order and get a full refund (minus credit card transaction fees)."})]}),(0,s.jsxs)("div",{className:"hover:bg-muted p-4 rounded-lg transition-colors",children:[(0,s.jsx)("h3",{className:"font-bold mb-2",children:"Can I email/tweet/DM and try to convince you to add X/Y/Z feature?"}),(0,s.jsx)("p",{className:"text-muted-foreground",children:"Sure. Feedback is always appreciated, but we're not planning to make any changes to the hardware at this point. Also, it's highly likely that we've already considered the feature in question and decided not to include it. Designing a smartwatch is an exercise in taste and constraint maximization."}),(0,s.jsxs)("p",{className:"text-muted-foreground mt-2",children:["Here's the awesome part - PebbleOS is"," ",(0,s.jsx)("a",{href:"https://github.com/coredevices/pebbleos",className:"text-pebble hover:underline",children:"open source"}),"! You don't need our permission to add new software features. You can modify the OS and run those changes on your watch. If you're hardware inclined, you can even build your own wat
1ch (with different features or capabilities) and run PebbleOS on it."]})]}),(0,s.jsxs)("div",{className:"hover:bg-muted p-4 rounded-lg transition-colors",children:[(0,s.jsx)("h3",{className:"font-bold mb-2",children:"You shouldn't get one if..."}),(0,s.jsxs)("p",{className:"text-muted-foreground",children:[(0,s.jsx)("em",{children:"You need a perfectly polished smartwatch."})," This project is a labour of love rather than a startup trying to sell millions of watches. There may be some rough edges (literally). Things will get delayed. Some features will not be ready at launch. Things could break. Things could not last as long as you'd like. The only thing we can guarantee is that it will be awesome and a lot of fun! Every time you look down at your watch, you will smile 🙂"]}),(0,s.jsxs)("p",{className:"text-muted-foreground mt-2",children:[(0,s.jsx)("em",{children:"You're looking for a fitness or sports watch."})," That's not what we're making. From what we hear, Garmin watches are great for runners/cyclists/triathletes!"]}),(0,s.jsxs)("p",{className:"text-muted-foreground mt-2",children:[(0,s.jsx)("em",{children:"You're comparing this to an Apple Watch."})," There is NO way for a 3rd party smartwatch to compete with Apple Watch. Apple restricts 3rd parties in major ways - read the"," ",(0,s.jsx)("a",{href:"https://ericmigi.com/blog/apple-restr
1icts-pebble-from-being-awesome-with-iphones/",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"blog post"})," ","for more information. For example, 3rd party watches on iOS cannot send replies to notifications."]}),(0,s.jsxs)("p",{className:"text-muted-foreground mt-2",children:["These watches are not made for everyone. We want to be upfront with you about what to expect."," ",(0,s.jsx)("a",{href:"https://ericmigi.com/blog/introducing-two-new-pebbleos-watches/#you-shouldnt-get-one",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Published March 18, 2025"}),". Read more in our post"," ",(0,s.jsx)("a",{href:"https://repebble.com/blog/pebble-time-2-is-in-mass-production#what-you-need-to-know-about-pebble-time-2",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"What you need to know about Pebble Time 2"}),"."]})]}),(0,s.jsxs)("div",{className:"hover:bg-muted p-4 rounded-lg transition-colors mt-4",children:[(0,s.jsxs)("h3",{className:"font-bold mb-2 flex items-center justify-between",children:[(0,s.jsx)("span",{children:"What are the technical specifications?"}),m?(0,s.jsx)("button",{type:"button",onClick:()=>h(!1),className:"text-xs text-gray-400 hover:text-pebble font-normal",children:"Show Pebble 2 Duo"}):(0,s.jsx)("button",{type:"button",onClick:()=>h(!0),className:"text-xs text-gray-400 hover:text-pebble font-normal",children:"Hide Pebble 2 Duo"})]}),(0,s.jsx)("div",{className:"text-muted-foreground overflow-x-auto",children:(0,s.jsxs)("table",{className:"min-w-full border-collapse",children:[(0,s.jsx)("thead",{children:(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("th",{className:"py-2 px-3 text-left"}),(0,s.jsx)("th",{className:"py-2 px-3 text-left font-bold italic",children:"Pebble Round 2"}),(0,s.jsx)("th",{className:"py-2 px-3 text-left font-bold italic",children:"Pebble Time 2"}),!m&&(0,s.jsx)("th",{className:"py-2 px-3 text-left font-bold italic",children:"Pebble 2 Duo"})]})}),(0,s.jsxs)("tbody",{children:[(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Display"}),(0,s.jsx)("td",{className:"py-2 px-3",children:'1.3" 64-colour e-paper'}),(0,s.jsx)("td",{className:"py-2 px-3",children:'1.5" 64-colour e-paper'}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:'1.26" B/W e-paper'})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Resolution"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"260x260 pixels, 200 DPI"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"200x228 pixels, 202 DPI"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"144x168 pixels, 176 DPI"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Interaction"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"4 buttons + touchscreen"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"4 buttons + touchscreen"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"4 buttons"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Frame"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"Stainless Steel"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"Stainless Steel + Polycarbonate"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"Polycarbonate"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsxs)("td",{className:"py-2 px-3 font-medium italic",children:["Dimensions"," ",(0,s.jsx)("a",{href:"https://github.com/coredevices/hardware/tree/main/watch",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline font-normal",children:"(3D Printable STL files)"})]}),(0,s.jsx)("td",{className:"py-2 px-3",children:(0,s.jsx)("a",{href:"/pr2-external-sizes.pdf",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"41.5mm diameter x 8.1mm"})}),(0,s.jsx)("td",{className:"py-2 px-3",children:(0,s.jsx)("a",{href:"/images/watch-dimensions.png",target:"_blank",className:"text-pebble hover:underline",children:"43.00 × 36.04 × 10.90 mm (41.40mm lug to lug)"})}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:(0,s.jsx)("a",{href:"/images/watch-dimensions.png",target:"_blank",className:"text-pebble hover:underline",children:"39.55 × 30.25 × 10.40 mm (43.92mm lug to lug)"})})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Weight (w/o strap)"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"26.8g"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"33g"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"18.4g"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Sensors"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"3-axis IMU, compass"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"6-axis IMU, heart rate, compass"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"6-axis IMU, compass, barometer"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Price"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"$199"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"$225"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"$149"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Mic and speaker"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"½ (mic only)"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Backlight"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"✅ RGB LED"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Linear resonance actuator (vibrator)"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Battery life"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"10-14 days"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"30 days (est.)"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"30 days"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Connector"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"Standard Pebble charger"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"Standard Pebble charger"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"Standard Pebble charger"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Water resistance"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"30m (target)"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"30m"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"20m"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Health features"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"Step and sleep tracking"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"Heart rate, step and sleep tracking"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"Step and sleep tracking"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Strap width"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"14mm or 20mm"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"22mm"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"22mm"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"iPhone and Android apps"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"}),(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"}),!m&&(0,s.jsx)("td",{className:"py-2 px-3",children:"✅"})]}),(0,s.jsxs)("tr",{className:"border-b",children:[(0,s.jsx)("td",{className:"py-2 px-3 font-medium italic",children:"Open Source"}),(0,s.jsxs)("td",{className:"py-2 px-3",children:["✅ ",(0,s.jsx)("a",{href:"https://github.com/coredevices/pebbleos",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"PebbleOS"}),(0,s.jsx)("br",{}),"✅ ",(0,s.jsx)("a",{href:"https://github.com/coredevices/mobileapp",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Mobile app"})]}),(0,s.jsxs)("td",{className:"py-2 px-3",children:["✅ ",(0,s.jsx)("a",{href:"https://github.com/coredevices/pebbleos",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"PebbleOS"}),(0,s.jsx)("br",{}),"✅ ",(0,s.jsx)("a",{href:"https://github.com/coredevices/mobileapp",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Mobile app"})]}),!m&&(0,s.jsxs)("td",{className:"py-2 px-3",children:["✅ ",(0,s.jsx)("a",{href:"https://github.com/coredevices/pebbleos",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"PebbleOS"}),(0,s.jsx)("br",{}),"✅ ",(0,s.jsx)("a",{href:"https://github.com/coredevices/mobileapp",target:"_blank",rel:"noopener noreferrer",className:"text-pebble hover:underline",children:"Mobile app"})]})]})]})]})})]})]})]}),(0,s.jsx)("div",{className:"mt-6 text-center",children:(0,s.jsxs)("p",{className:"text-sm text-muted-foreground mb-2",children:["Don't want to order yet?"," ",(0,s.jsx)("a",{href:"/signup",className:"text-pebble hover:underline",children:"Sign up for updates"})]})}),(0,s.jsx)("div",{className:"mt-4 pt-3 border-t border-gray-200/20",children:(0,s.jsx)(B.MarketingFooter,{})})]})]})})}let W=({stock:e,cart:a,searchParams:c,stripeSession:d})=>{let m=(0,o.useRef)(null),[h,p]=(0,o.useState)(86400),[u,g]=(0,o.useState)(a.c
1ountry??""),[j,N]=(0,o.useState)(a.items),[y,v]=(0,o.useState)(null),[w,k]=(0,o.useState)(!1),[C,A]=(0,o.useState)(!1),[I,T]=(0,o.useState)(!1),[R,D]=(0,o.useState)({understandShipDate:!1,understandCancellation:!1,understandCoreCancellation:!1,understandCustoms:!1,understandFaqs:!1}),[O,M]=(0,o.useState)(!1),[E,L]=(0,o.useState)(!1),B=(0,t.useCheckout)(),F=async(s,t)=>{await $(s,Number.parseInt(t)),N(e=>({...e,[s]:Number.parseInt(t)})),"success"===B.type&&(A(!0),(0,o.startTransition)(()=>{B.checkout.runServerUpdate(()=>U(B.checkout.id,e)).finally(()=>A(!1))}))},q=()=>Object.entries({understandShipDate:!0,understandCancellation:!0,understandCoreCancellation:!0,understandFaqs:!0,understandCustoms:!0}).every(([e])=>R[e]);(0,o.useEffect)(()=>{q()&&M(!1)},[R,u]);let W=async e=>{"loading"!==B.type&&(L(!0),e&&F(e,"1"),setTimeout(()=>{document.getElementById("pick-watches")?.scrollIntoView({behavior:"smooth",block:"start"})},100))},z=Object.entries(j).some(([e,s])=>s>0&&!f(e)),Y=Object.entries(j).some(([e,s])=>s>0&&f(e));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("section",{className:"mb-8",children:(0,s.jsx)(S,{onWantOne:W,stock:e})}),E&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("section",{id:"pick-watches",className:"bg-card p-8 rounded-lg border",children:[(0,s.jsxs)("h2",{className:"text-3xl font-bold mb-4 flex items-center",children:["Pick your watch(es) ",(0,s.jsx)(n,{className:"ml-2 text-pebble"})]}),(0,s.jsx)("p",{className:"text-sm text-muted-foreground mb-4",children:z||!Y?"You'll be asked to select your watch color after purchase":"Your color choice ships as ordered"}),(0,s.jsxs)("div",{className:"space-y-3",children:[[...(0,b.getAvailableProducts)(e).map(e=>({product:e,isAvailable:!0})),...(0,b.getUnavailableProducts)(e).map(e=>({product:e,isAvailable:"Pebble Round 2"===e.name}))].filter(({product:e})=>!(e.name.includes("Pebble 2 Duo")||e.id.startsWith("core-time-2")||f(e.id))).map(({product:e,isAvailable:t})=>(0,s.jsxs)("div",{className:"flex items-center justify-between p-3 border rounded-lg bg-card",children:[(0,s.jsx)("div",{className:"flex items-center gap-4",children:(0,s.jsxs)("div",{children:[(0,s.jsxs)("h3",{className:"font-medium",children:[e.name," - $",e.price]}),t&&(0,s.jsx)("div",{className:"text-xs text-muted-foreground mt-0.5",children:(0,s.jsxs)("span",{children:[e.batch,e.id.startsWith("pebble-round-2")&&" - Select color later"]})})]})}),t?(0,s.jsxs)("div",{className:"flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-sm text-muted-foreground",children:"Quantity:"}),(0,s.jsx)("select",{className:"p-1.5 bg-muted border rounded-md text-foreground w-16 text-sm hover:border-pebble/50 focus:border-pebble focus:ring-1 focus:ring-pebble/50 transition-colors cursor-pointer",value:j[e.id]||0,onChange:s=>F(e.id,s.target.value),children:[...Array(10)].map((e,t)=>(0,s.jsx)("option",{value:t,children:t},t))})]}):(0,s.jsx)("p",{children:"Sold out"})]},e.id)),(0,s.jsxs)("div",{className:"p-3 border rounded-lg bg-card",children:[(0,s.jsxs)("div",{className:"flex flex-wrap items-baseline justify-between gap-x-4 gap-y-1",children:[(0,s.jsx)("h3",{className:"font-medium",children:"Pebble Time 2 - $225"}),(0,s.jsx)("a",{href:"/watch/pt2-color-options",target:"_blank",rel:"noopener noreferrer",className:"text-xs text-pebble hover:underline whitespace-nowrap",children:"See how each color looks"})]}),(0,s.jsx)("div",{className:"mt-2 divide-y",children:x.map(t=>{let r=t.live&&(e[t.id]??0)<=0,a=b.Products.find(e=>e.id===t.id)?.batch;return(0,s.jsxs)("div",{className:"flex items-center justify-between gap-3 py-2",children:[(0,s.jsxs)("div",{className:"flex min-w-0 flex-1 items-center gap-2",children:[(0,s.jsx)("span",{className:"w-4 h-4 rounded-full border border-border shrink-0",style:{background:`linear-gradient(135deg, ${t.swatch[0]} 50%, ${t.swatch[1]} 50%)`}}),(0,s.jsxs)("div",{className:"min-w-0",children:[(0,s.jsxs)("button",{type:"button",onClick:()=>v(t),className:"inline-flex items-center gap-1.5 text-sm font-medium hover:underline",title:`Watch the ${t.label} video`,children:[t.label,(0,s.jsx)("span",{className:"inline-flex h-4 w-4 items-center justify-center rounded-full bg-pebble/10",children:(0,s.jsx)(l,{className:"h-2.5 w-2.5 text-pebble",fill:"
1currentColor"})})]}),(0,s.jsx)("span",{className:"block text-xs text-muted-foreground sm:ml-2 sm:inline",children:r?"Sold out":a})]})]}),!r&&(0,s.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,s.jsx)("span",{className:"hidden text-sm text-muted-foreground sm:inline",children:"Quantity:"}),(0,s.jsx)("select",{className:"p-1.5 bg-muted border rounded-md text-foreground w-16 text-sm hover:border-pebble/50 focus:border-pebble focus:ring-1 focus:ring-pebble/50 transition-colors cursor-pointer",value:j[t.id]||0,onChange:e=>F(t.id,e.target.value),children:[...Array(10)].map((e,t)=>(0,s.jsx)("option",{value:t,children:t},t))})]})]},t.id)})})]})]}),y&&(0,s.jsxs)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/90 p-4 cursor-pointer",onClick:()=>v(null),children:[(0,s.jsx)("button",{type:"button",onClick:()=>v(null),className:"absolute top-4 right-4 text-white/70 hover:text-white","aria-label":"Close video",children:(0,s.jsx)(i.X,{className:"h-7 w-7"})}),(0,s.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"max-h-[85vh] max-w-full rounded-lg",src:y.video}),(0,s.jsx)("p",{className:"absolute bottom-6 left-0 right-0 text-center text-lg font-medium text-white",children:y.label})]})]}),(0,s.jsx)("div",{className:"min-h-[1000px] flex",children:(0,s.jsx)("div",{className:"peer not-empty:w-full",children:(0,s.jsx)(_,{ref:m,onSubmit:()=>q()?(M(!1),!0):(M(!0),document.getElementById("disclaimers")?.scrollIntoView({behavior:"smooth"}),!1),onCountryChange:g,onShippingSyncChange:T,searchParams:c,stripeSession:d,onSubmitStart:()=>k(!0),onSubmitEnd:()=>k(!1),onOutOfStock:({stock:e})=>{"success"===B.type&&(A(!0),(0,o.startTransition)(()=>{B.checkout.runServerUpdate(()=>U(B.checkout.id,e)).finally(()=>A(!1))}))},isChangingQuantity:C})})}),(0,s.jsx)("section",{id:"disclaimers",className:"bg-card p-8 rounded-lg border",children:(0,s.jsx)("div",{className:"space-y-2",children:(0,s.jsxs)("div",{children:[(0,s.jsx)("h3",{className:"font-bold text-lg mb-4",children:(0,s.jsx)("button",{type:"button",onClick:()=>{D(e=>({...e,understandShipDate:!0,understandCancellation:!0,understandCoreCancellation:!0,understandFaqs:!0,understandCustoms:!0}))},className:"text-left  transition-colors",children:"I understand and acknowledge:"})}),(0,s.jsxs)("ul",{className:"text-sm text-muted-foreground space-y-1 list-disc list-inside mb-4",children:[z&&(0,s.jsx)("li",{children:"I will pick my watch color later"}),(0,s.jsx)("li",{children:"The ship date is an estimate. Delays may happen"}),(0,s.jsx)("li",{children:"I can cancel my order and get a full refund (minus credit card transaction fees) any time before shipment"}),(0,s.jsx)("li",{children:"Core Devices may cancel and refund my order at any time"}),(0,s.jsx)("li",{children:"The FAQs at the bottom of this page"}),(0,s.jsx)("li",{children:"Duties and customs fees (tariffs) may be added later"})]}),(0,s.jsxs)("label",{className:(0,P.cn)("flex items-start gap-3 p-3 rounded-lg transition-colors group border",O&&!R.understandShipDate?"border-pebble bg-pebble/10":"border-transparent hover:bg-muted"),children:[(0,s.jsx)("input",{type:"checkbox",checked:R.understandShipDate,onChange:e=>{let s=e.target.checked;D(e=>({...e,understandShipDate:s,understandCancellation:s,understandCoreCancellation:s,understandFaqs:s,understandCustoms:s}))},className:"mt-0.5 h-4 w-4 rounded border-gray-300 text-pebble focus:ring-pebble/20 transition-colors group-hover:border-pebble/50"}),(0,s.jsx)("span",{className:"text-sm font-medium",children:"I understand"})]}),O&&!R.understandShipDate&&(0,s.jsx)("p",{className:"text-sm text-pebble mt-2",children:"Please check the box to acknowledge these items"})]})})}),(0,s.jsxs)("button",{type:"submit",disabled:w||C||I,onClick:()=>{m.current&&m.current?.dispatchEvent(new Event("submit",{bubbles:!0,cancelable:!0}))},className:(0,P.cn)("w-full mx-auto block relative mt-8  text-white py-6 rounded-lg font-bold text-xl transition-colors duration-300 transform",!w&&"bg-pebble hover:bg-pebble-hover hover:scale-[1.02]",w&&"cursor-not-allowed bg-pebble-hover"),children:[(0,s.jsx)("span",{className:(0,P.cn)("transition-opacity","opacity-100",w&&"opacity-0"),children:"Place Pre-order"}
1),(0,s.jsx)(r.Loader2Icon,{className:(0,P.cn)("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 animate-spin transition-opacity","opacity-0",w&&"opacity-100")})]})]})]})};e.s(["OrderCheckout",()=>q],19317)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.