News
The Voyage of Mānaiakalani | Episode 5
Episode 5
Join us, on this mini-series, as we set sail with Archie Kalepa to discover and connect past and present, mauka and makai.
Shop The Story
{"id":5156384866439,
"handle":"mea-ola-mens-leather-beach-sandals-dark-java",
"title":"Mea Ola - Dark Java",
"available":true,
"tags":["arch:high","archsupport","beach sandals","beachbum","best sellers","best selling","best:special_occasion","best:travel","brotherly love","cat:sandals","collection:social-strategist","color:brown","color:Dark Java","dk java","eagles sandals","EXP_REC_MEN","fit:wide","fliflops","flip flops","flip fls","flip ops","flipflop men","flipflps","flipfops","football sandals","free shipping","gender:men","highest rated flip flop","interest:driving","jason kelce","jason keller","jason kelse","kelce","kielce","labor day","leather","likes:beach","likes:friends","likes:urban-exploring","material:leather","mea","mea oa","mea ola","meaola","mei ola","men","men s flipslops","mens","mens flipflops","Mens sansandals","men’s","meola sandal","mrs ola","nature-inspired","prime","RGroup_10138","size:small","size:true","SP-19-COLOR","SP19-Style","Special Occasion","split_color","style:10138","Travel","trendsetter","vacation:city-downtown","vacation:tropical","wide sizes","wide width","YGroup_10138"],
"type":"Men’s Leather Beach Sandals",
"options_with_values": [{"name":"Color","position":1,"values":["Dark Java"]},{"name":"Size","position":2,"values":["7","8","9","10","11","12","13","14","15"]}],
"price":18000,
"price_min":18000,
"price_max":18000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_001_M_MeaOla_DkjDkj_1_b644587c-c3c0-4924-89fe-a23326261020.png?v=1762441217",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 34587122630791,
"featured_image_alt": "Dark Java",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_101_54a66018-7ade-497d-8722-d309eb7efa9b.jpg?v=1746706357",
"hover_image_alt": "Dark Java",
"images": [{
"id": 34587122630791,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_001_M_MeaOla_DkjDkj_1_b644587c-c3c0-4924-89fe-a23326261020.png?v=1762441217",
"alt": "Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587122663559,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_101_54a66018-7ade-497d-8722-d309eb7efa9b.jpg?v=1746706357",
"alt": "Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587122729095,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/MeaOla-10138-4848DarkJava_1.jpg?v=1746706357",
"alt": "Mea Ola - Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587122827399,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_302_7c6d2ac7-0fcd-430e-b3ed-925a5fef6190.jpg?v=1746706357",
"alt": "Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587122892935,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_102_1d7fafc8-8b34-4934-8f6b-14c6ed0a977e.jpg?v=1746706357",
"alt": "Dark Java",
"width": 1080,
"height": 1080
},{
"id": 34587122958471,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/MeaOla-10138-4848DarkJava_2.jpg?v=1746706357",
"alt": "Mea Ola - Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587123056775,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_103_e0f1bd9e-0183-4fab-8373-82c6e55afb72.jpg?v=1746706357",
"alt": "Dark Java",
"width": 1080,
"height": 1080
},{
"id": 34587123122311,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_102_72814dd7-d375-44d0-9602-ba62b2757c79.jpg?v=1746706357",
"alt": "Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587123220615,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_201_0618e241-6d77-4558-bb23-e6c786fb0303.jpg?v=1746706357",
"alt": "Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587123286151,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_004_M_MeaOla_DkjDkj.png?v=1746706357",
"alt": "Dark Java",
"width": 2000,
"height": 2000
},{
"id": 34587123384455,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10138_4848_005_M_Meaola_DkjDkj.png?v=1746706357",
"alt": "Dark Java",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10138-4848-7"
}
{ $dispatch('product-item:images-changed', { product: product, source: 'swatch-container' }) })"
@pointercancel="intendedSwatchIndex = null; intendedSwatchEl = null"
x-data="{
wrapper: $el,
selectedSibling:product.siblings[0],
intendedSwatchIndex: null,
intendedSwatchEl: null,
swatchGap: 8,
scrollable: product.siblings.filter(s => !!s.available).length > 9.5,
canPrev: false,
canNext: true,
_edgeReady: false,
imageLimit: 0,
limitImages(nextProduct) {
const images = Array.isArray(nextProduct && nextProduct.images) ? nextProduct.images : [];
const limitedImages = this.imageLimit > 0 ? images.slice(0, this.imageLimit) : images;
const hoverImage = limitedImages[1] || null;
return Object.assign({}, nextProduct, {
images: limitedImages,
hover_image: hoverImage ? hoverImage.src : null,
hover_image_alt: hoverImage ? hoverImage.alt : null
});
},
selectProduct(nextProduct) {
const productRoot = $el.closest('.product-item');
const productData = productRoot && productRoot._x_dataStack && productRoot._x_dataStack[0];
if (productData && typeof productData.setProduct === 'function') {
productData.setProduct(nextProduct);
} else {
$data.product = this.limitImages(nextProduct);
}
},
getSwatchImageSrc(sibling) {
return sibling.images[0].src;
},
buildSwatchSrcset(src) {
if (!src) return '';
const widths = ['48', '96', '192'];
const separator = src.includes('?') ? '&' : '?';
return widths.map(w => `${src}${separator}width=${w} ${w}w`).join(', ');
},
isSwatchPriority(index) {
return window.innerWidth >= 1024 ? index < 3 : index < 2;
},
swatchBg(sibling) {
// swatch_bg precomputed at hydration. Nullish (not ||): null = no colors set
// (fall back to theme default), empty string = invalid combo, no fallback.
return sibling.swatch_bg ?? '#000000';
},
centerSwatch(el) {
if ($data.wrapper.scrollWidth <= $data.wrapper.clientWidth) return false
const wrapperRect = $data.wrapper.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
const centerPoint = wrapperRect.x + (wrapperRect.width / 2)
const behavior = window.innerWidth < 1024 ? 'auto' : 'smooth'
$data.wrapper.scrollTo({
left: $data.wrapper.scrollLeft + (elRect.x - centerPoint + (elRect.width / 2)),
behavior
})
},
selectSwatchFromTap(siblingIndex, el) {
const idx = (this.intendedSwatchIndex !== null && this.intendedSwatchIndex !== undefined)
? this.intendedSwatchIndex
: siblingIndex
const targetEl = this.intendedSwatchEl || el
this.intendedSwatchIndex = null
this.intendedSwatchEl = null
const next = product.siblings[idx]
if (next) product = next
this.centerSwatch(targetEl)
},
scroll(direction = 'forward') {
const swatch = $data.wrapper.querySelector('.product-item__swatch')
const unit = swatch ? swatch.offsetWidth + $data.swatchGap : $data.wrapper.clientWidth * 0.3
let amount = 2 * unit
$data.wrapper.scrollTo({
left: direction == 'forward' ? $data.wrapper.scrollLeft + amount : $data.wrapper.scrollLeft - amount,
behavior:'smooth'
})
},
// Lazily wire the prev/next edge detection on first desktop hover/focus —
// the arrows are a desktop affordance, so no observer is built at load and
// none is ever built on mobile. canPrev/canNext default to the at-start state.
initSwatchEdges() {
if (this._edgeReady || window.innerWidth <= 1023) return
this._edgeReady = true
const root = this.wrapper
const swatches = root.querySelectorAll('.product-item__swatch')
if (swatches.length < 2) return
const first = swatches[0], last = swatches[swatches.length - 1]
const io = new IntersectionObserver((entries) => {
const d = window.Alpine && window.Alpine.$data ? window.Alpine.$data(root) : null
if (!d) return
entries.forEach((e) => {
if (e.target === first) d.canPrev = !e.isIntersecting
if (e.target === last) d.canNext = !e.isIntersecting
})
}, { root, threshold: 0.99 })
io.observe(first)
io.observe(last)
root._swatchEdgeIO = io
}
}"
@pointerenter="initSwatchEdges()"
@focusin="initSwatchEdges()"
>
{"id":6536037138567,
"handle":"moku-pae-mens-shoes-trench-blue-off-white",
"title":"Moku Pae - Trench Blue \/ Off White",
"available":true,
"tags":["2024-gift-guide","arch:high","arch:standard","Beach\/Boat","best sellers","best selling","best:beach_boat","best:everday_wear","best:travel","boat shoe","boating sneakers","boatshoes","bundle|1|3|0|1","cat:shoes","color:blue","drop-in heel®","enhance gip","enhanced traction outsole","Everyday Wear","fit:wide","gender:men","interest:driving","labor day","landtextile","likes:beach","likes:exercising","likes:friends","likes:hiking","likes:relaxing","likes:urban-exploring","material:textile","mens","mesh","mock pae","Moke pea","mokea pae","mokepai","moki pae","moko noe","mokpae","moku","moku ae","moku pae","moku peha","moku pei","mokupae","moly pae","navy moku pai","no shoestring","prime","RGroup_10472","shoes","size:large","size:true","split_color","style:10472","swim","swim shoes","Travel","vegan","water-friendly","watershoes","wide toed","wide width","ygroup_10472"],
"type":"Men’s Breathable Boat Shoes",
"options_with_values": [{"name":"Color","position":1,"values":["Trench Blue \/ Off White"]},{"name":"Size","position":2,"values":["7","8","8.5","9","9.5","10","10.5","11","11.5","12","13","14","15"]}],
"price":15000,
"price_min":15000,
"price_max":15000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_001_M_MokuPae_TrbOfw_71ffbee4-40cf-48e5-b4f4-df0de1ecec11.png?v=1762443006",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 34216746385543,
"featured_image_alt": "Trench Blue \/ Off White",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_101_M_MokuPae_TrbOfw_Web_Opt_1024x1024_572f6511-68d9-43f8-9201-96d98bf72f07.jpg?v=1743633483",
"hover_image_alt": "Trench Blue \/ Off White",
"images": [{
"id": 34216746385543,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_001_M_MokuPae_TrbOfw_71ffbee4-40cf-48e5-b4f4-df0de1ecec11.png?v=1762443006",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746483847,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_101_M_MokuPae_TrbOfw_Web_Opt_1024x1024_572f6511-68d9-43f8-9201-96d98bf72f07.jpg?v=1743633483",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746582151,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_201_2226f8da-f71e-45a1-b94a-f580f6805d1b.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746647687,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_103_M_MokuPae_TrbOfw_Web_Opt_1024x1024_jpeg.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746745991,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_203_a5879a13-f389-48ca-9afa-355b067e7c1d.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746811527,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_102_M_MokuPae_TrbOfw_57e319a9-bc88-429a-b8ff-4678b5419e3c.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746877063,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_103_M_MokuPae_TrbOfw_7fe3f7d1-80e7-483c-bde3-0fefae7f0e9b.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746942599,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_202_8dab76cf-91d5-45ef-9e6e-7020d1f064cc.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216746975367,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_203_a4672294-6cdc-42b5-9724-b8ee8a3f2e16.jpg?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
},{
"id": 34216747040903,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10472_DE18_005_M_MokuPae_TrbOfw.png?v=1743633484",
"alt": "Trench Blue \/ Off White",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10472-DE18-8"
}
{ $dispatch('product-item:images-changed', { product: product, source: 'swatch-container' }) })"
@pointercancel="intendedSwatchIndex = null; intendedSwatchEl = null"
x-data="{
wrapper: $el,
selectedSibling:product.siblings[0],
intendedSwatchIndex: null,
intendedSwatchEl: null,
swatchGap: 8,
scrollable: product.siblings.filter(s => !!s.available).length > 9.5,
canPrev: false,
canNext: true,
_edgeReady: false,
imageLimit: 0,
limitImages(nextProduct) {
const images = Array.isArray(nextProduct && nextProduct.images) ? nextProduct.images : [];
const limitedImages = this.imageLimit > 0 ? images.slice(0, this.imageLimit) : images;
const hoverImage = limitedImages[1] || null;
return Object.assign({}, nextProduct, {
images: limitedImages,
hover_image: hoverImage ? hoverImage.src : null,
hover_image_alt: hoverImage ? hoverImage.alt : null
});
},
selectProduct(nextProduct) {
const productRoot = $el.closest('.product-item');
const productData = productRoot && productRoot._x_dataStack && productRoot._x_dataStack[0];
if (productData && typeof productData.setProduct === 'function') {
productData.setProduct(nextProduct);
} else {
$data.product = this.limitImages(nextProduct);
}
},
getSwatchImageSrc(sibling) {
return sibling.images[0].src;
},
buildSwatchSrcset(src) {
if (!src) return '';
const widths = ['48', '96', '192'];
const separator = src.includes('?') ? '&' : '?';
return widths.map(w => `${src}${separator}width=${w} ${w}w`).join(', ');
},
isSwatchPriority(index) {
return window.innerWidth >= 1024 ? index < 3 : index < 2;
},
swatchBg(sibling) {
// swatch_bg precomputed at hydration. Nullish (not ||): null = no colors set
// (fall back to theme default), empty string = invalid combo, no fallback.
return sibling.swatch_bg ?? '#000000';
},
centerSwatch(el) {
if ($data.wrapper.scrollWidth <= $data.wrapper.clientWidth) return false
const wrapperRect = $data.wrapper.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
const centerPoint = wrapperRect.x + (wrapperRect.width / 2)
const behavior = window.innerWidth < 1024 ? 'auto' : 'smooth'
$data.wrapper.scrollTo({
left: $data.wrapper.scrollLeft + (elRect.x - centerPoint + (elRect.width / 2)),
behavior
})
},
selectSwatchFromTap(siblingIndex, el) {
const idx = (this.intendedSwatchIndex !== null && this.intendedSwatchIndex !== undefined)
? this.intendedSwatchIndex
: siblingIndex
const targetEl = this.intendedSwatchEl || el
this.intendedSwatchIndex = null
this.intendedSwatchEl = null
const next = product.siblings[idx]
if (next) product = next
this.centerSwatch(targetEl)
},
scroll(direction = 'forward') {
const swatch = $data.wrapper.querySelector('.product-item__swatch')
const unit = swatch ? swatch.offsetWidth + $data.swatchGap : $data.wrapper.clientWidth * 0.3
let amount = 2 * unit
$data.wrapper.scrollTo({
left: direction == 'forward' ? $data.wrapper.scrollLeft + amount : $data.wrapper.scrollLeft - amount,
behavior:'smooth'
})
},
// Lazily wire the prev/next edge detection on first desktop hover/focus —
// the arrows are a desktop affordance, so no observer is built at load and
// none is ever built on mobile. canPrev/canNext default to the at-start state.
initSwatchEdges() {
if (this._edgeReady || window.innerWidth <= 1023) return
this._edgeReady = true
const root = this.wrapper
const swatches = root.querySelectorAll('.product-item__swatch')
if (swatches.length < 2) return
const first = swatches[0], last = swatches[swatches.length - 1]
const io = new IntersectionObserver((entries) => {
const d = window.Alpine && window.Alpine.$data ? window.Alpine.$data(root) : null
if (!d) return
entries.forEach((e) => {
if (e.target === first) d.canPrev = !e.isIntersecting
if (e.target === last) d.canNext = !e.isIntersecting
})
}, { root, threshold: 0.99 })
io.observe(first)
io.observe(last)
root._swatchEdgeIO = io
}
}"
@pointerenter="initSwatchEdges()"
@focusin="initSwatchEdges()"
>
{"id":5156404330631,
"handle":"ohana-mens-beach-sandals-black",
"title":"‘Ohana - Black",
"available":true,
"tags":["'oahni","arch:high","beach sandals","Beach\/Boat","beachbum","best selling","best:beach_boat","best:everday_wear","best:post_workout","black fliflps","cat:sandals","collection:tide-tracker","collection:wfh","color:Black","enhanced traction outsole","Everyday Wear","extra-colors","fit:wide","flip flops","gender:men","hana","labor day","likes:beach","material:synthetic","men","men s flipslops","mens","men’s","o hana","o hanas","obama","Oh","oha","ohan","ohana men s sandals","ohanaa","ohanaflip flops","ohanna","ohano","ohanu","ohona","ohsna","omaha","Post-Workout","prime","RGroup_10110","size:true","split_color","style:10110","synthetic","tempstandard","vacation:tropical","vegan","water-friendly","wide sizes","wide width","‘ohana"],
"type":"Men’s Water-Friendly Beach Sandals",
"options_with_values": [{"name":"Color","position":1,"values":["Black"]},{"name":"Size","position":2,"values":["7","8","9","10","11","12","13","14","15","16","17","18"]}],
"price":10000,
"price_min":10000,
"price_max":10000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_001_M_Ohana_Black_84c6271e-8234-42af-9968-71b01e32ef62.png?v=1762441464",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 34400636338311,
"featured_image_alt": "Black",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_105_M_Ohana_BlackBlack_png_355aee4c-6dc7-4bc7-856f-07c0ca88d3bc.jpg?v=1746734369",
"hover_image_alt": "Black",
"images": [{
"id": 34400636338311,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_001_M_Ohana_Black_84c6271e-8234-42af-9968-71b01e32ef62.png?v=1762441464",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636371079,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_105_M_Ohana_BlackBlack_png_355aee4c-6dc7-4bc7-856f-07c0ca88d3bc.jpg?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636403847,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_201_c2335a22-00b9-4183-b4bf-7d2d47d4f276.jpg?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636436615,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/Ohana-Black-galleryimage-03_dc258274-50fd-493b-959e-8bd4afefc665.jpg?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636469383,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_102_M_Ohana_BlackBlack_png_2adb8891-22a1-4031-9d42-2002cb6cb522.jpg?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636502151,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_103_M_Ohana_BlackBlack_png_d155f466-0b21-4c8c-8b01-dd4e445a094f.jpg?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636534919,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_202_eadd8bc1-03c8-4170-9c11-95f95f221b6e.jpg?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636567687,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_203_acd9975b-82b2-44c7-981c-c4dbf57a2bee.jpg?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
},{
"id": 34400636600455,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10110_4040_005_M_Ohana_Black.png?v=1746734369",
"alt": "Black",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10110-4040-7"
}
{ $dispatch('product-item:images-changed', { product: product, source: 'swatch-container' }) })"
@pointercancel="intendedSwatchIndex = null; intendedSwatchEl = null"
x-data="{
wrapper: $el,
selectedSibling:product.siblings[0],
intendedSwatchIndex: null,
intendedSwatchEl: null,
swatchGap: 8,
scrollable: product.siblings.filter(s => !!s.available).length > 9.5,
canPrev: false,
canNext: true,
_edgeReady: false,
imageLimit: 0,
limitImages(nextProduct) {
const images = Array.isArray(nextProduct && nextProduct.images) ? nextProduct.images : [];
const limitedImages = this.imageLimit > 0 ? images.slice(0, this.imageLimit) : images;
const hoverImage = limitedImages[1] || null;
return Object.assign({}, nextProduct, {
images: limitedImages,
hover_image: hoverImage ? hoverImage.src : null,
hover_image_alt: hoverImage ? hoverImage.alt : null
});
},
selectProduct(nextProduct) {
const productRoot = $el.closest('.product-item');
const productData = productRoot && productRoot._x_dataStack && productRoot._x_dataStack[0];
if (productData && typeof productData.setProduct === 'function') {
productData.setProduct(nextProduct);
} else {
$data.product = this.limitImages(nextProduct);
}
},
getSwatchImageSrc(sibling) {
return sibling.images[0].src;
},
buildSwatchSrcset(src) {
if (!src) return '';
const widths = ['48', '96', '192'];
const separator = src.includes('?') ? '&' : '?';
return widths.map(w => `${src}${separator}width=${w} ${w}w`).join(', ');
},
isSwatchPriority(index) {
return window.innerWidth >= 1024 ? index < 3 : index < 2;
},
swatchBg(sibling) {
// swatch_bg precomputed at hydration. Nullish (not ||): null = no colors set
// (fall back to theme default), empty string = invalid combo, no fallback.
return sibling.swatch_bg ?? '#000000';
},
centerSwatch(el) {
if ($data.wrapper.scrollWidth <= $data.wrapper.clientWidth) return false
const wrapperRect = $data.wrapper.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
const centerPoint = wrapperRect.x + (wrapperRect.width / 2)
const behavior = window.innerWidth < 1024 ? 'auto' : 'smooth'
$data.wrapper.scrollTo({
left: $data.wrapper.scrollLeft + (elRect.x - centerPoint + (elRect.width / 2)),
behavior
})
},
selectSwatchFromTap(siblingIndex, el) {
const idx = (this.intendedSwatchIndex !== null && this.intendedSwatchIndex !== undefined)
? this.intendedSwatchIndex
: siblingIndex
const targetEl = this.intendedSwatchEl || el
this.intendedSwatchIndex = null
this.intendedSwatchEl = null
const next = product.siblings[idx]
if (next) product = next
this.centerSwatch(targetEl)
},
scroll(direction = 'forward') {
const swatch = $data.wrapper.querySelector('.product-item__swatch')
const unit = swatch ? swatch.offsetWidth + $data.swatchGap : $data.wrapper.clientWidth * 0.3
let amount = 2 * unit
$data.wrapper.scrollTo({
left: direction == 'forward' ? $data.wrapper.scrollLeft + amount : $data.wrapper.scrollLeft - amount,
behavior:'smooth'
})
},
// Lazily wire the prev/next edge detection on first desktop hover/focus —
// the arrows are a desktop affordance, so no observer is built at load and
// none is ever built on mobile. canPrev/canNext default to the at-start state.
initSwatchEdges() {
if (this._edgeReady || window.innerWidth <= 1023) return
this._edgeReady = true
const root = this.wrapper
const swatches = root.querySelectorAll('.product-item__swatch')
if (swatches.length < 2) return
const first = swatches[0], last = swatches[swatches.length - 1]
const io = new IntersectionObserver((entries) => {
const d = window.Alpine && window.Alpine.$data ? window.Alpine.$data(root) : null
if (!d) return
entries.forEach((e) => {
if (e.target === first) d.canPrev = !e.isIntersecting
if (e.target === last) d.canNext = !e.isIntersecting
})
}, { root, threshold: 0.99 })
io.observe(first)
io.observe(last)
root._swatchEdgeIO = io
}
}"
@pointerenter="initSwatchEdges()"
@focusin="initSwatchEdges()"
>
{"id":5156390994055,
"handle":"nohea-moku-mens-sneakers-dark-shadow",
"title":"Nohea Moku - Dark Shadow",
"available":true,
"tags":["arch:high","arch:standard","Beach\/Boat","beachbum","best selling","best:beach_boat","best:everday_wear","best:travel","blue-depth","boat","boat shoe","breathable","cat:shoes","collection:day-tripper","collection:HGG-Slider-M","collection:tide-tracker","color:Dark Shadow","color:grey","drop-in heel®","enhance gip","enhanced traction outsole","Everyday Wear","EXP_REC_MEN","extra-colors","fit:wide","foldable heal","gender:men","interest:driving","lightweight","likes:beach","likes:friends","likes:urban-exploring","material:textile","men","mens","men’s","no shoestring","nohea","nohea moku","nohea moly","noheamoku","removable footbed","RGroup_10283","size:true","SP-19-COLOR","SP19-Style","split_color","style:10283","swim shoes","textile","Travel","trendsetter","vacation:city-downtown","vacation:tropical","vegan friendly","water-friendly","wide","wide shoe","wide toed","YGroup_10283"],
"type":"Men’s No Tie Boat Shoes",
"options_with_values": [{"name":"Color","position":1,"values":["Dark Shadow"]},{"name":"Size","position":2,"values":["7","8","8.5","9","9.5","10","10.5","11","11.5","12","13","14","15","16"]}],
"price":15000,
"price_min":15000,
"price_max":15000,
"compare_at_price":null,"featured_image": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_001_M_NoheaMoku_DksDks.png?v=1762441298",
"featured_image_aspect_ratio": 1.0,
"featured_image_width": 2000,
"featured_image_height": 2000,
"featured_image_id": 17336103665799,
"featured_image_alt": "Dark Shadow",
"hover_image": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_105_M_NoheaMoku_DksDks.jpg?v=1743440373",
"hover_image_alt": "Dark Shadow",
"images": [{
"id": 17336103665799,
"src": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_001_M_NoheaMoku_DksDks.png?v=1762441298",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32380867543175,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_105_M_NoheaMoku_DksDks.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32280685281415,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_201.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 30474329096327,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/NoheaMoku-DarkShadow-galleryimage-02.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 17336103764103,
"src": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_004_M_NoheaMoku_DksDks.png?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 30474329129095,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/NoheaMoku-DarkShadow-galleryimage-05.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32380867608711,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_104_M_NoheaMoku_DksDks.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32280685248647,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_202.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 32280685215879,
"src": "\/\/olukai.ca\/cdn\/shop\/files\/10283_6C6C_203.jpg?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
},{
"id": 17336103796871,
"src": "\/\/olukai.ca\/cdn\/shop\/products\/10283_6C6C_005_M_NoheaMoku_DksDks.png?v=1743440373",
"alt": "Dark Shadow",
"width": 2000,
"height": 2000
}],
"plp_image_order_positions": "",
"sku": "10283-6C6C-8"
}
{ $dispatch('product-item:images-changed', { product: product, source: 'swatch-container' }) })"
@pointercancel="intendedSwatchIndex = null; intendedSwatchEl = null"
x-data="{
wrapper: $el,
selectedSibling:product.siblings[0],
intendedSwatchIndex: null,
intendedSwatchEl: null,
swatchGap: 8,
scrollable: product.siblings.filter(s => !!s.available).length > 9.5,
canPrev: false,
canNext: true,
_edgeReady: false,
imageLimit: 0,
limitImages(nextProduct) {
const images = Array.isArray(nextProduct && nextProduct.images) ? nextProduct.images : [];
const limitedImages = this.imageLimit > 0 ? images.slice(0, this.imageLimit) : images;
const hoverImage = limitedImages[1] || null;
return Object.assign({}, nextProduct, {
images: limitedImages,
hover_image: hoverImage ? hoverImage.src : null,
hover_image_alt: hoverImage ? hoverImage.alt : null
});
},
selectProduct(nextProduct) {
const productRoot = $el.closest('.product-item');
const productData = productRoot && productRoot._x_dataStack && productRoot._x_dataStack[0];
if (productData && typeof productData.setProduct === 'function') {
productData.setProduct(nextProduct);
} else {
$data.product = this.limitImages(nextProduct);
}
},
getSwatchImageSrc(sibling) {
return sibling.images[0].src;
},
buildSwatchSrcset(src) {
if (!src) return '';
const widths = ['48', '96', '192'];
const separator = src.includes('?') ? '&' : '?';
return widths.map(w => `${src}${separator}width=${w} ${w}w`).join(', ');
},
isSwatchPriority(index) {
return window.innerWidth >= 1024 ? index < 3 : index < 2;
},
swatchBg(sibling) {
// swatch_bg precomputed at hydration. Nullish (not ||): null = no colors set
// (fall back to theme default), empty string = invalid combo, no fallback.
return sibling.swatch_bg ?? '#000000';
},
centerSwatch(el) {
if ($data.wrapper.scrollWidth <= $data.wrapper.clientWidth) return false
const wrapperRect = $data.wrapper.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
const centerPoint = wrapperRect.x + (wrapperRect.width / 2)
const behavior = window.innerWidth < 1024 ? 'auto' : 'smooth'
$data.wrapper.scrollTo({
left: $data.wrapper.scrollLeft + (elRect.x - centerPoint + (elRect.width / 2)),
behavior
})
},
selectSwatchFromTap(siblingIndex, el) {
const idx = (this.intendedSwatchIndex !== null && this.intendedSwatchIndex !== undefined)
? this.intendedSwatchIndex
: siblingIndex
const targetEl = this.intendedSwatchEl || el
this.intendedSwatchIndex = null
this.intendedSwatchEl = null
const next = product.siblings[idx]
if (next) product = next
this.centerSwatch(targetEl)
},
scroll(direction = 'forward') {
const swatch = $data.wrapper.querySelector('.product-item__swatch')
const unit = swatch ? swatch.offsetWidth + $data.swatchGap : $data.wrapper.clientWidth * 0.3
let amount = 2 * unit
$data.wrapper.scrollTo({
left: direction == 'forward' ? $data.wrapper.scrollLeft + amount : $data.wrapper.scrollLeft - amount,
behavior:'smooth'
})
},
// Lazily wire the prev/next edge detection on first desktop hover/focus —
// the arrows are a desktop affordance, so no observer is built at load and
// none is ever built on mobile. canPrev/canNext default to the at-start state.
initSwatchEdges() {
if (this._edgeReady || window.innerWidth <= 1023) return
this._edgeReady = true
const root = this.wrapper
const swatches = root.querySelectorAll('.product-item__swatch')
if (swatches.length < 2) return
const first = swatches[0], last = swatches[swatches.length - 1]
const io = new IntersectionObserver((entries) => {
const d = window.Alpine && window.Alpine.$data ? window.Alpine.$data(root) : null
if (!d) return
entries.forEach((e) => {
if (e.target === first) d.canPrev = !e.isIntersecting
if (e.target === last) d.canNext = !e.isIntersecting
})
}, { root, threshold: 0.99 })
io.observe(first)
io.observe(last)
root._swatchEdgeIO = io
}
}"
@pointerenter="initSwatchEdges()"
@focusin="initSwatchEdges()"
>
{ $dispatch('product-item:images-changed', { product: product, source: 'swatch-container' }) })"
@pointercancel="intendedSwatchIndex = null; intendedSwatchEl = null"
x-data="{
wrapper: $el,
selectedSibling:product.siblings[0],
intendedSwatchIndex: null,
intendedSwatchEl: null,
swatchGap: 8,
scrollable: product.siblings.filter(s => !!s.available).length > 9.5,
canPrev: false,
canNext: true,
_edgeReady: false,
imageLimit: 0,
limitImages(nextProduct) {
const images = Array.isArray(nextProduct && nextProduct.images) ? nextProduct.images : [];
const limitedImages = this.imageLimit > 0 ? images.slice(0, this.imageLimit) : images;
const hoverImage = limitedImages[1] || null;
return Object.assign({}, nextProduct, {
images: limitedImages,
hover_image: hoverImage ? hoverImage.src : null,
hover_image_alt: hoverImage ? hoverImage.alt : null
});
},
selectProduct(nextProduct) {
const productRoot = $el.closest('.product-item');
const productData = productRoot && productRoot._x_dataStack && productRoot._x_dataStack[0];
if (productData && typeof productData.setProduct === 'function') {
productData.setProduct(nextProduct);
} else {
$data.product = this.limitImages(nextProduct);
}
},
getSwatchImageSrc(sibling) {
return sibling.images[0].src;
},
buildSwatchSrcset(src) {
if (!src) return '';
const widths = ['48', '96', '192'];
const separator = src.includes('?') ? '&' : '?';
return widths.map(w => `${src}${separator}width=${w} ${w}w`).join(', ');
},
isSwatchPriority(index) {
return window.innerWidth >= 1024 ? index < 3 : index < 2;
},
swatchBg(sibling) {
// swatch_bg precomputed at hydration. Nullish (not ||): null = no colors set
// (fall back to theme default), empty string = invalid combo, no fallback.
return sibling.swatch_bg ?? '#000000';
},
centerSwatch(el) {
if ($data.wrapper.scrollWidth <= $data.wrapper.clientWidth) return false
const wrapperRect = $data.wrapper.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
const centerPoint = wrapperRect.x + (wrapperRect.width / 2)
const behavior = window.innerWidth < 1024 ? 'auto' : 'smooth'
$data.wrapper.scrollTo({
left: $data.wrapper.scrollLeft + (elRect.x - centerPoint + (elRect.width / 2)),
behavior
})
},
selectSwatchFromTap(siblingIndex, el) {
const idx = (this.intendedSwatchIndex !== null && this.intendedSwatchIndex !== undefined)
? this.intendedSwatchIndex
: siblingIndex
const targetEl = this.intendedSwatchEl || el
this.intendedSwatchIndex = null
this.intendedSwatchEl = null
const next = product.siblings[idx]
if (next) product = next
this.centerSwatch(targetEl)
},
scroll(direction = 'forward') {
const swatch = $data.wrapper.querySelector('.product-item__swatch')
const unit = swatch ? swatch.offsetWidth + $data.swatchGap : $data.wrapper.clientWidth * 0.3
let amount = 2 * unit
$data.wrapper.scrollTo({
left: direction == 'forward' ? $data.wrapper.scrollLeft + amount : $data.wrapper.scrollLeft - amount,
behavior:'smooth'
})
},
// Lazily wire the prev/next edge detection on first desktop hover/focus —
// the arrows are a desktop affordance, so no observer is built at load and
// none is ever built on mobile. canPrev/canNext default to the at-start state.
initSwatchEdges() {
if (this._edgeReady || window.innerWidth <= 1023) return
this._edgeReady = true
const root = this.wrapper
const swatches = root.querySelectorAll('.product-item__swatch')
if (swatches.length < 2) return
const first = swatches[0], last = swatches[swatches.length - 1]
const io = new IntersectionObserver((entries) => {
const d = window.Alpine && window.Alpine.$data ? window.Alpine.$data(root) : null
if (!d) return
entries.forEach((e) => {
if (e.target === first) d.canPrev = !e.isIntersecting
if (e.target === last) d.canNext = !e.isIntersecting
})
}, { root, threshold: 0.99 })
io.observe(first)
io.observe(last)
root._swatchEdgeIO = io
}
}"
@pointerenter="initSwatchEdges()"
@focusin="initSwatchEdges()"
>
Explore Similar Stories
{ $dispatch('product-item:images-changed', { product: product, source: 'swatch-container' }) })"
@pointercancel="intendedSwatchIndex = null; intendedSwatchEl = null"
x-data="{
wrapper: $el,
selectedSibling:product.siblings[0],
intendedSwatchIndex: null,
intendedSwatchEl: null,
swatchGap: 8,
scrollable: product.siblings.filter(s => !!s.available).length > 9.5,
canPrev: false,
canNext: true,
_edgeReady: false,
imageLimit: 0,
limitImages(nextProduct) {
const images = Array.isArray(nextProduct && nextProduct.images) ? nextProduct.images : [];
const limitedImages = this.imageLimit > 0 ? images.slice(0, this.imageLimit) : images;
const hoverImage = limitedImages[1] || null;
return Object.assign({}, nextProduct, {
images: limitedImages,
hover_image: hoverImage ? hoverImage.src : null,
hover_image_alt: hoverImage ? hoverImage.alt : null
});
},
selectProduct(nextProduct) {
const productRoot = $el.closest('.product-item');
const productData = productRoot && productRoot._x_dataStack && productRoot._x_dataStack[0];
if (productData && typeof productData.setProduct === 'function') {
productData.setProduct(nextProduct);
} else {
$data.product = this.limitImages(nextProduct);
}
},
getSwatchImageSrc(sibling) {
return sibling.images[0].src;
},
buildSwatchSrcset(src) {
if (!src) return '';
const widths = ['48', '96', '192'];
const separator = src.includes('?') ? '&' : '?';
return widths.map(w => `${src}${separator}width=${w} ${w}w`).join(', ');
},
isSwatchPriority(index) {
return window.innerWidth >= 1024 ? index < 3 : index < 2;
},
swatchBg(sibling) {
// swatch_bg precomputed at hydration. Nullish (not ||): null = no colors set
// (fall back to theme default), empty string = invalid combo, no fallback.
return sibling.swatch_bg ?? '#000000';
},
centerSwatch(el) {
if ($data.wrapper.scrollWidth <= $data.wrapper.clientWidth) return false
const wrapperRect = $data.wrapper.getBoundingClientRect()
const elRect = el.getBoundingClientRect()
const centerPoint = wrapperRect.x + (wrapperRect.width / 2)
const behavior = window.innerWidth < 1024 ? 'auto' : 'smooth'
$data.wrapper.scrollTo({
left: $data.wrapper.scrollLeft + (elRect.x - centerPoint + (elRect.width / 2)),
behavior
})
},
selectSwatchFromTap(siblingIndex, el) {
const idx = (this.intendedSwatchIndex !== null && this.intendedSwatchIndex !== undefined)
? this.intendedSwatchIndex
: siblingIndex
const targetEl = this.intendedSwatchEl || el
this.intendedSwatchIndex = null
this.intendedSwatchEl = null
const next = product.siblings[idx]
if (next) product = next
this.centerSwatch(targetEl)
},
scroll(direction = 'forward') {
const swatch = $data.wrapper.querySelector('.product-item__swatch')
const unit = swatch ? swatch.offsetWidth + $data.swatchGap : $data.wrapper.clientWidth * 0.3
let amount = 2 * unit
$data.wrapper.scrollTo({
left: direction == 'forward' ? $data.wrapper.scrollLeft + amount : $data.wrapper.scrollLeft - amount,
behavior:'smooth'
})
},
// Lazily wire the prev/next edge detection on first desktop hover/focus —
// the arrows are a desktop affordance, so no observer is built at load and
// none is ever built on mobile. canPrev/canNext default to the at-start state.
initSwatchEdges() {
if (this._edgeReady || window.innerWidth <= 1023) return
this._edgeReady = true
const root = this.wrapper
const swatches = root.querySelectorAll('.product-item__swatch')
if (swatches.length < 2) return
const first = swatches[0], last = swatches[swatches.length - 1]
const io = new IntersectionObserver((entries) => {
const d = window.Alpine && window.Alpine.$data ? window.Alpine.$data(root) : null
if (!d) return
entries.forEach((e) => {
if (e.target === first) d.canPrev = !e.isIntersecting
if (e.target === last) d.canNext = !e.isIntersecting
})
}, { root, threshold: 0.99 })
io.observe(first)
io.observe(last)
root._swatchEdgeIO = io
}
}"
@pointerenter="initSwatchEdges()"
@focusin="initSwatchEdges()"
>