"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[57],{193:(e,t,n)=>{var s=n(0),a=(n(1),n(9)),o=n(11);const i={};const{loader:c}={loader:"uFadFZiF",load8:"qgb2lAcr"},r=()=>(0,s.jsx)("div",Object.assign({className:c},{children:"Loading..."}));var d=n(194);const{container:l,containerLeft:u,containerIsStickyAddToCart:b,btn:f,icon:p,labelText:g}={container:"a1wNOY3G",containerLeft:"oJpCvqw5",containerIsStickyAddToCart:"KzSv1c2K",btn:"mmha6fGo",labelText:"G6RTiguT",icon:"NCV3NQdj"},y=({CTAPosition:e,isStickyAddToCart:t})=>{const[n,c]=(0,o.useState)(!0),[y,j]=(0,o.useState)(!1);return(0,s.jsx)("div",Object.assign({className:(0,d.a)(l,"left"===e&&u,t&&b)},{children:(0,s.jsxs)("button",Object.assign({className:f,onClick:function(e){n?(j(!0),c(!1),Object.defineProperty(globalThis,"zE",{enumerable:!0,configurable:!0,get(){},set(e){Object.defineProperty(globalThis,"zE",{enumerable:!0,writable:!0,configurable:!0,value:e}),zE("webWidget","show"),zE("webWidget","open"),zE("webWidget:on","close",(function(){zE("webWidget","hide"),j(!1)}))}}),function(e,t=(()=>{})){const{src:n,id:s,anonymous:a=!0}=e;i[n]&&window.clearTimeout(i[n]);const o=document.getElementById(s);o&&e.reload&&o.src!=n&&o.remove();const c=document.createElement("script");c.src=n,c.defer=!0,c.id=s,a&&(c.crossOrigin="anonymous"),e.addProperties&&e.addProperties(c),c.onload="function"==typeof window.requestIdleCallback?()=>window.requestIdleCallback(t):t,document.body.append(c)}({src:"https://static.zdassets.com/ekr/snippet.js?key=f7e122a2-6eee-4601-97df-c6a6f26a619e",id:"ze-snippet",anonymous:!1})):(zE("webWidget","show"),zE("webWidget","open"))}},{children:[y?(0,s.jsx)(r,{}):(0,s.jsx)(a.a,{icon:"zd-question",className:p}),(0,s.jsx)("span",Object.assign({className:g},{children:"Chat"}))]}))}))};(0,n(3).createEntrypoint)("zendesk",(e=>{var{useSharedState:t}=e,n=function(e,t){var n={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(n[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(s=Object.getOwnPropertySymbols(e);a({isStickyAddToCart:e.isStickyAddToCart}))),i=Object.assign(Object.assign({},n),{isStickyAddToCart:o});return(0,s.jsx)(y,Object.assign({},i))}))},9:(e,t,n)=>{n.d(t,{a:()=>a});var s=n(0);function a(e){return(0,s.jsx)("svg",Object.assign({},e,{"aria-hidden":"true",focusable:"false"},{children:(0,s.jsx)("use",{xlinkHref:`#${e.icon}`})}))}n(1)}},e=>{e.O(0,[1,2,3,5],(()=>(193,e(e.s=193)))),e.O()}]);