{"product_id":"cordless-electric-wood-carving-chisel-kit-lxa520","title":"All-in-One Electric Carving Tool Set","description":"\u003cstyle\u003e\nhtml.dh-source-replica :is(#SiteHeader,#HeaderWrapper,.shopify-section-group-header-group,#shopify-section-header){display:none!important}\nhtml.dh-source-replica #MainContent{padding:0!important;margin:0!important;width:100%!important;max-width:none!important}\nhtml.dh-source-replica #MainContent\u003e:not(#dh-product-replica):not(.dh-lxa520-native-purchase){display:none!important}\nhtml.dh-source-replica body.has-sticky-announcement-bar{padding-top:0!important}\n\u003c\/style\u003e\u003cdiv data-replica-url=\"https:\/\/cdn.shopify.com\/s\/files\/1\/1021\/0253\/2413\/files\/lxa520-dh-layout-cdn-20261203.zip?v=1796284442\" data-product=\"15565995016509\" data-spu=\"LXA520\" data-title=\"All-in-One Electric Carving Tool Set\" data-variants=\"68274820874557\"\u003e\n\u003cp\u003e\u003cstrong\u003eAll-in-One Electric Carving Tool Set\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eShape and refine wood projects with a cordless electric carving chisel kit. Swap carving tips for different cuts and store the tool in its case.\u003c\/p\u003e\n\u003c\/div\u003e\u003cscript\u003e(()=\u003e{\nfunction bindReplicaFrame(win, document, send) {\n const $=(q,root=document)=\u003eroot.querySelector(q), $$=(q,root=document)=\u003eArray.from(root.querySelectorAll(q));\n const cfg=JSON.parse($('#dh-bind').textContent);\n const secondaryStyle=document.createElement('style');\n secondaryStyle.textContent='#replica-cart{text-align:left}.custom-product-inner h3,.custom-product-title{font-family:Inter,Arial,sans-serif!important}'+(cfg.spu==='LXA518'?'@media(min-width:768px){.replica-header nav{min-height:calc(var(--d2c-design-unit)*111)} .replica-price strong{font-size:22px}}':'@media(min-width:768px){.replica-header nav{min-height:85.5px}.replica-price strong{font-size:32px}}');\n document.head.append(secondaryStyle);\n if (cfg.spu==='LXA520') {\n    for(const strip of document.querySelectorAll('#section-tbnn6j3qz,#section-b6l1m7b5j')){\n      const words=document.createTreeWalker(strip,NodeFilter.SHOW_TEXT);\n      while(words.nextNode()){\n        const text=words.currentNode;\n        text.nodeValue=text.nodeValue.replace(\/Offer\\s*Ends\\s*Tonight\/gi,'55% OFF').replace(\/Buy\\s*More,?\\s*Save\\s*More\/gi,'Shop This Product');\n      }\n    }\n }\n const head=$('.replica-header'), offer=$('#section-urytg6dgr'), form=$('#replica-cart'), err=$('#replica-cart-error');\n let pid=cfg.variants[0].id, quantity=1, viewportY=0, viewportHeight=win.innerHeight, resizeQueued=false;\n const fit=()=\u003e{if(resizeQueued)return;resizeQueued=true;window.requestAnimationFrame(()=\u003e{resizeQueued=false;send('height',{height:Math.ceil(document.body.getBoundingClientRect().height)})})};\n const go=where=\u003e{const x=$(where);if(x)send('scroll',{offset:x.getBoundingClientRect().top-((head?.offsetHeight)||0)-8})};\n const update=()=\u003e{\n  const variant=cfg.variants.find(x=\u003ex.id===pid);\n  $$('.replica-color').forEach(el=\u003eel.setAttribute('aria-pressed',String(el.dataset.variant===pid)));\n  $$('.replica-deal').forEach(el=\u003eel.setAttribute('aria-pressed',String(Number(el.dataset.qty)===quantity)));\n  const number=$('#replica-qty');if(number)number.value=quantity;\n  $('#replica-current').textContent=variant.price;\n  $('#replica-compare').textContent=variant.compare;\n };\n const tab=(button)=\u003e{\n  const container=button.closest('section'), bg=$('.js-tabbed-bg',container);\n  const asset=win.matchMedia('(max-width: 767px)').matches?button.dataset.bgMobile:button.dataset.bgDesktop;\n  if(bg\u0026\u0026asset)bg.style.backgroundImage='url('+JSON.stringify(asset)+')';\n  $$('.js-tabbed-btn',container).forEach(b=\u003e{\n   const active=b===button;\n   b.classList.toggle('is-active-tab',active);\n   b.classList.toggle('opacity-100',active);\n   b.classList.toggle('opacity-50',!active);\n   b.classList.toggle('border-transparent',!active);\n   b.style.borderColor=active?(b.dataset.activeColorDesktop||win.getComputedStyle(b).getPropertyValue('--active-color').trim()):'transparent';\n   b.setAttribute('aria-selected',String(active));\n  });\n  $$('.js-tabbed-content',container).forEach(el=\u003e{\n   const active=el.dataset.index===button.dataset.index;\n   el.classList.toggle('hidden',!active);\n   el.hidden=!active;\n  });\n  fit();\n };\n $$('section:has(.js-tabbed-btn)').forEach(sec=\u003e{const start=$('.js-tabbed-btn.is-active-tab',sec)||$('.js-tabbed-btn',sec);tab(start)});\n const menu=$('.js-mobile-menu-container');\n const menuOpen=open=\u003e{if(menu){\n  menu.classList.toggle('hidden',!open);\n  menu.classList.toggle('opacity-0',!open);\n  menu.classList.toggle('pointer-events-none',!open);\n  const drawer=$('.js-mobile-menu-drawer',menu);\n  if(drawer)drawer.classList.toggle('-translate-x-full',!open);\n }};\n const slides=$$('.custom-product-main-media img',offer);\n if(slides.length\u003e1){let pos=0;const paint=()=\u003eslides.forEach((el,i)=\u003eel.hidden=i!==pos);paint();$('.custom-product-main-media',offer).addEventListener('click',()=\u003e{pos=(pos+1)%slides.length;paint()});}\n document.addEventListener('click',event=\u003e{\n  const el=event.target.closest('a,button,.js-mobile-menu-backdrop');\n  if(!el)return;\n  if(el.matches('[data-replica-jump]')){event.preventDefault();go(el.dataset.replicaJump);menuOpen(false);}\n  else if(el.matches('[data-go-cart]')){event.preventDefault();send('navigate',{path:'\/cart'});}\n  else if(el.matches('[data-replica-link]')){event.preventDefault();send('navigate',{path:el.getAttribute('href')});}\n  else if(el.matches('.js-mobile-menu-btn'))menuOpen(true);\n  else if(el.matches('.js-mobile-menu-close,.js-mobile-menu-backdrop'))menuOpen(false);\n  else if(el.matches('.js-tabbed-btn')){event.preventDefault();tab(el);}\n  else if(el.matches('.js-faq-trigger')){\n    const faq=el.closest('.js-faq-item'), answer=$('.js-faq-content',faq), open=el.getAttribute('aria-expanded')!=='true';\n    el.setAttribute('aria-expanded',String(open));faq.classList.toggle('is-open',open);\n    answer.classList.toggle('hidden',!open);answer.style.maxHeight=open?answer.scrollHeight+'px':'0px';\n    const icon=$('.js-faq-icon',faq);if(icon)icon.classList.toggle('rotate-45',open);fit();\n  }else if(el.matches('.replica-color')){pid=el.dataset.variant;update();}\n  else if(el.matches('#replica-cart [type=\"submit\"]')){\n    event.preventDefault();\n    err.textContent='';\n    send('add',{id:pid,quantity,checkout:el.value==='checkout'});\n  }\n  else if(el.matches('[data-qty]')){quantity=Number(el.dataset.qty);update();}\n  else if(el.matches('[data-step]')){quantity=Math.min(99,Math.max(1,quantity+Number(el.dataset.step)));update();}\n });\n form.addEventListener('change',event=\u003e{if(event.target.id==='replica-qty'){quantity=Math.min(99,Math.max(1,Number(event.target.value)||1));update()}});\n form.addEventListener('submit',event=\u003e{\n  event.preventDefault();err.textContent='';\n  const submitted={id:pid,quantity,checkout:event.submitter?.value==='checkout'};\n  send('add',submitted);\n });\n const videos=$$('video[src]');\n videos.forEach(v=\u003e{v.dataset.dhVideo=v.getAttribute('src');v.removeAttribute('src');v.muted=true;v.loop=true;});\n const receive=m=\u003e{\n  if(m.type==='viewport'){\n   viewportY=Math.max(0,m.y);\n   viewportHeight=m.height;\n   if(head){\n    head.style.position='relative';\n    head.style.transform='translate3d(0,'+(viewportY\/(Number(win.getComputedStyle(document.body).zoom)||1))+'px,0)';\n   }\n   videos.forEach(v=\u003e{\n    const rect=v.getBoundingClientRect();\n    if(rect.bottom\u003e=viewportY-160\u0026\u0026rect.top\u003c=viewportY+viewportHeight+160\u0026\u0026!v.src){\n     v.src=v.dataset.dhVideo;\n     v.play().catch(()=\u003e{v.controls=true;});\n    }\n   });\n  }else if(m.type==='cart-error')err.textContent=m.message;\n };\n win.addEventListener('resize',()=\u003e{$$('.js-tabbed-btn.is-active-tab').forEach(tab);fit()});\n new ResizeObserver(fit).observe(document.body);\n win.addEventListener('load',fit);\n update();\n send('height',{height:Math.ceil(document.body.getBoundingClientRect().height)});\n fit();\n return receive;\n}\n\n(async()=\u003e{\n const s=document.currentScript, holder=s.previousElementSibling;\n if(!holder||holder.dataset.dhMounted)return;\n const stage=document.querySelector('#MainContent');\n const parentSection=holder.closest('[id^=\"ProductSection-\"]');\n if(!stage || !parentSection || !parentSection.id.endsWith('-'+holder.dataset.product))return;\n holder.dataset.dhMounted='1';\n const response=await fetch(holder.dataset.replicaUrl,{credentials:'omit'});\n if(!response.ok)throw new Error('Product layout file unavailable: '+response.status);\n const archive=await response.arrayBuffer(), header=new DataView(archive);\n const signature=header.getUint32(0,true), flags=header.getUint16(6,true), method=header.getUint16(8,true), length=header.getUint32(18,true);\n const start=30+header.getUint16(26,true)+header.getUint16(28,true);\n if(signature!==0x04034b50||flags\u00268||method!==8||start+length\u003earchive.byteLength)throw new Error('Invalid product layout file');\n const stream=new Blob([archive.slice(start,start+length)]).stream().pipeThrough(new DecompressionStream('deflate-raw'));\n const doc=(await new Response(stream).text()).replace(\/\u003cscript\u003e([\\s\\S]*?)\u003c\\\/script\u003e\/gi,'');\n const view=document.createElement('section'), frame=document.createElement('iframe');\n view.id='dh-product-replica';view.dataset.spu=holder.dataset.spu;\n frame.title=holder.dataset.title;frame.sandbox='allow-same-origin';\n frame.style.cssText='display:block;border:0;width:100%;height:1px;overflow:hidden';\n view.style.cssText='width:100%;margin:0;display:block';\n frame.setAttribute('scrolling','no');\n const top=()=\u003eview.getBoundingClientRect().top+scrollY;\n let receive;\n const send=(type,opts={})=\u003ereceive?.({type,...opts});\n let active=false,queued=false;\n const inspect=()=\u003e{if(queued)return;queued=true;requestAnimationFrame(()=\u003e{queued=false;send('viewport',{y:scrollY-top(),height:innerHeight});alignNative();})};\n\n const nativeForm=parentSection.querySelector('form.product-single__form[action*=\"\/cart\/add\"]');\n const nativeHost=[...stage.children].find(node=\u003enode.contains(nativeForm));\n if(!nativeForm||!nativeHost||nativeForm.querySelector('input[name=\"product-id\"]')?.value!==holder.dataset.product)return;\n const nativeStyles=document.createElement('style');\n nativeStyles.textContent=[\n  'html.dh-source-replica #MainContent{position:relative!important}',\n  'html.dh-source-replica #MainContent\u003e.dh-lxa520-native-purchase{position:absolute!important;z-index:1;display:block!important;width:var(--dh-lxa520-native-width)!important;left:var(--dh-lxa520-native-x)!important;top:var(--dh-lxa520-native-y)!important;margin:0!important;padding:0!important;border:0!important;box-sizing:border-box;pointer-events:none}',\n  '.dh-lxa520-native-purchase .dh-lxa520-native-path{display:block!important;float:none!important;position:static!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;transform:none!important;border:0!important;background:transparent!important}',\n  '.dh-lxa520-native-purchase .dh-lxa520-native-path\u003e:not(.dh-lxa520-native-path):not(.dh-lxa520-native-form){display:none!important}',\n  '.dh-lxa520-native-purchase form.dh-lxa520-native-form{width:100%;max-width:none;min-width:0;margin:0!important;padding:0!important;border:0!important;pointer-events:auto}'\n ].join('\\n');\n document.head.append(nativeStyles);\n let purchaseSlot;\n const alignNative=()=\u003e{\n  if(!purchaseSlot)return;\n  const rect=purchaseSlot.getBoundingClientRect(), wrap=stage.getBoundingClientRect(), inner=frame.getBoundingClientRect();\n  if(rect.width\u003c1)return;\n  const hostRect=nativeHost.getBoundingClientRect(), purchaseRect=nativeForm.getBoundingClientRect();\n  const insetX=purchaseRect.width?purchaseRect.left-hostRect.left:0;\n  const insetY=purchaseRect.height?purchaseRect.top-hostRect.top:0;\n  nativeHost.style.setProperty('--dh-lxa520-native-width',rect.width+'px');\n  nativeHost.style.setProperty('--dh-lxa520-native-x',(inner.left+rect.left-wrap.left-insetX)+'px');\n  nativeHost.style.setProperty('--dh-lxa520-native-y',(inner.top+rect.top-wrap.top-insetY)+'px');\n  const h=nativeForm.getBoundingClientRect().height;\n  if(h\u003e0){\n   const zoom=Number(frame.contentWindow.getComputedStyle(frame.contentDocument.body).zoom)||1;\n   const expected=Math.ceil(h\/zoom);\n   if(purchaseSlot.style.height!==expected+'px')purchaseSlot.style.height=expected+'px';\n  }\n  const headerHeight=frame.contentDocument.querySelector('.replica-header')?.getBoundingClientRect().height||0;\n  const delta=Math.max(0,headerHeight-(inner.top+rect.top)+insetY);\n  nativeHost.style.clipPath=delta\u003e0?'inset('+delta+'px 0 0 0)':'';\n };\n const connectNative=page=\u003e{\n  const sample=page.querySelector('.custom-product-main-media img');\n  if(sample){\n   sample.removeAttribute('srcset');\n   sample.setAttribute('width','800');\n   sample.setAttribute('height','600');\n   sample.alt='Yellow electric carving tool with carrying case and carving bits';\n   sample.src='https:\/\/cdn.shopify.com\/s\/files\/1\/1021\/0253\/2413\/files\/lxa520-origin-039-q80.webp?v=1796207648';\n  }\n  const displayForm=page.querySelector('#replica-cart');\n  const anchor=displayForm?.querySelector('.replica-qty-row');\n  if(!anchor)return;\n  purchaseSlot=page.createElement('div');\n  purchaseSlot.id='dh-lxa520-native-slot';\n  purchaseSlot.setAttribute('aria-hidden','true');\n  purchaseSlot.style.cssText='display:block;width:100%;min-height:1px';\n  anchor.replaceWith(purchaseSlot);\n  const slotStyle=page.createElement('style');\n  slotStyle.textContent='@media(max-width:767px){#dh-lxa520-native-slot{width:calc(100% - 22px)!important;margin-inline:auto}}';\n  page.head.append(slotStyle);\n  displayForm.querySelectorAll('.replica-checkout,label[for=\"replica-qty\"],.replica-payment').forEach(node=\u003enode.remove());\n  nativeForm.classList.add('dh-lxa520-native-form');\n  nativeHost.classList.add('dh-lxa520-native-purchase');\n  nativeHost.hidden=false;\n  for(let node=nativeForm.parentElement;node;node=node.parentElement){\n   node.classList.add('dh-lxa520-native-path');\n   if(node===nativeHost)break;\n  }\n  const resizeObserver=new ResizeObserver(()=\u003erequestAnimationFrame(alignNative));\n  resizeObserver.observe(nativeForm);\n  resizeObserver.observe(frame);\n  alignNative();\n };\n const handle=async (type,opts)=\u003e{\n  const v={type,...opts};\n  if(v.type==='height'\u0026\u0026Number.isFinite(v.height)\u0026\u0026v.height\u003e=200\u0026\u0026v.height\u003c=100000){\n   frame.style.height=Math.ceil(v.height)+'px';\n   if(!active){\n    active=true;\n    stage.querySelectorAll(':scope \u003e :not(#dh-product-replica):not(.dh-lxa520-native-purchase)').forEach(el=\u003eel.hidden=true);\n    document.documentElement.classList.add('dh-source-replica');\n    view.style.visibility='visible';\n   }\n   inspect();\n  }else if(v.type==='scroll'\u0026\u0026Number.isFinite(v.offset)){\n   scrollTo({top:Math.max(0,top()+v.offset),behavior:'smooth'});\n  }else if(v.type==='navigate'\u0026\u0026['\/','\/cart','\/policies\/refund-policy','\/policies\/shipping-policy','\/pages\/contact'].includes(v.path)){\n   location.assign(v.path);\n\n  }\n };\n addEventListener('scroll',inspect,{passive:true});\n addEventListener('resize',inspect);\n view.style.visibility='hidden';\n view.append(frame);\n frame.addEventListener('load',()=\u003e{\n   const page=frame.contentDocument;\n   if(!page?.getElementById('dh-bind'))return;\n   receive=bindReplicaFrame(frame.contentWindow,page,handle);\n   connectNative(page);\n   inspect();\n });\n frame.srcdoc=doc;\n stage.insertBefore(view,stage.firstChild);\n})().catch(console.error);\n\n\n})();\u003c\/script\u003e","brand":"DHactive","offers":[{"title":"Yellow","offer_id":68274820874557,"sku":"LXA520","price":99.99,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/1021\/0253\/2413\/files\/lxa520-001-q80.webp?v=1796205892","url":"https:\/\/dhactive.com\/products\/cordless-electric-wood-carving-chisel-kit-lxa520","provider":"DHactive","version":"1.0","type":"link"}