1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3580],{20629:e=>{e.exports={bb:"bb__9At7q","bb-carousel":"bb-carousel__8a4z1","bb-carousel__slide":"bb-carousel__slide__4xCS9","bb-carousel__arrows":"bb-carousel__arrows__VH8S6","bb-carousel--christmas":"bb-carousel--christmas__pSvCV","bb-carousel__overlay":"bb-carousel__overlay__U3V9r","bb-carousel__overlay-important":"bb-carousel__overlay-important__gcH8K",lightboxAnimation:"lightboxAnimation__A2Jd2","bb-carousel__modal":"bb-carousel__modal__OTJqX","bb-carousel__button":"bb-carousel__button__xyoz0","bb-carousel__lightbox-arrows":"bb-carousel__lightbox-arrows__2bDEb","bb-carousel__arrow":"bb-carousel__arrow__E5UNU","bb-carousel__arrow--prev":"bb-carousel__arrow--prev__F1IVK","bb-carousel__arrow--next":"bb-carousel__arrow--next__kdqxo"}},23580:(e,r,s)=>{"use strict";s.r(r),s.d(r,{default:()=>C});var a,t=s(3576),l=s(62701),o=s(37876),c=s(14232),n=s(95062),i=s.n(n),b=s(74802),_=s(36614),u=s(23369),d=s(72259),v=s(41541),h=s(49742),p=s(82814),w=s(86754);function x(){return(x=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e}).apply(null,arguments)}let f=e=>c.createElement("svg",x({xmlns:"http://www.w3.org/2000/svg",width:16,height:16,fill:"#FFF",viewBox:"0 0 16 16"},e),a||(a=c.createElement("path",{d:"m14.53 13.47-2.4-2.4a6.02 6.02 0 0 0 1.29-3.73c0-3.35-2.73-6.08-6.08-6.08S1.25 3.98 1.25 7.33s2.73 6.08 6.08 6.08c1.41 0 2.7-.48 3.73-1.29l2.4 2.4c.15.15.34.22.53.22s.38-.07.53-.22c.29-.29.29-.77 0-1.06ZM2.75 7.33c0-2.53 2.06-4.58 4.58-4.58s4.58 2.06 4.58 4.58c0 1.26-.51 2.4-1.33 3.23h-.01v.01a4.583 4.583 0 0 1-7.81-3.25Z"})));var m=s(20629),g=s.n(m),y={dots:!0,infinite:!0,lazyLoad:!1,slidesToShow:1,slidesToScroll:1,arrows:!1,centerMode:!0,centerPadding:0,variableWidth:!0,className:"slick-dotted",responsive:[{breakpoint:992,settings:{infinite:!1}}]},j={dots:!1,infinite:!0,lazyLoad:!1,slidesToShow:1,slidesToScroll:1,arrows:!1,centerMode:!0,centerPadding:0},k=e=>{var{onClick:r,type:s}=e;return(0,o.jsx)("button",{tabIndex:"0",className:"".concat(g()["bb-carousel__arrow"]," ").concat(g()["bb-carousel__arrow--".concat(s)]),onClick:r,onKeyDown:e=>"Enter"===e.key&&r(),children:(0,o.jsx)(w.A,{})})};k.propTypes={onClick:i().func.isRequired,type:i().oneOf(["next","prev"]).isRequired};var A=e=>{var{items:r,style:s="default",behaviorSettings:a=null,uuid:n=null}=e,[i,w]=(0,c.useState)(!1),[x,m]=(0,c.useState)(0),A=(0,c.useRef)(),C=(0,c.useRef)(),{width:N}=(0,b.A)(),E=N>=992;(0,c.useEffect)(()=>{N<992&&w(!1)},[N]),(0,c.useEffect)(()=>{var e=e=>{"ArrowLeft"===e.key&&O(),"ArrowRight"===e.key&&S()};return window.addEventListener("keydown",e),()=>{window.removeEventListener("keydown",e)}},[]);var S=()=>{A.current&&A.current.slickNext(),C.current&&C.current.slickNext()},O=()=>{A.current&&A.current.slickPrev(),C.current&&C.current.slickPrev()};y.initialSlide=x,y.afterChange=e=>{var r=Math.round(e);m(r),i||(0,d.im)({uuid:n,type:"gifts_carousel",current_item:r})},j.initialSlide=x,j.afterChange=e=>{var r=Math.round(e);m(r),(0,d.im)({uuid:n,type:"gifts_carousel_lightbox",current_item:r})};var q=["bb",g()["bb-carousel"],g()["bb-carousel--".concat(s)],(0,_.j)(a)];return(0,o.jsxs)("div",{className:q.join(" "),id:n,children:[(0,o.jsx)(v.A,(0,l._)((0,t._)({},y),{reference:A,children:r.map((e,r)=>(0,o.jsxs)("div",{className:g()["bb-carousel__slide"],children:[(0,o.jsx)(u.A,(0,t._)({},e)),E&&(0,o.jsxs)(h.A,{size:"small",type:"dark",className:g()["bb-carousel__button"],onClick:()=>w(!0),children:[(0,o.jsx)(f,{}),"Enlarge"]})]},"gifts-carousel-slide-".concat(r)))})),E&&(0,o.jsxs)("div",{className:g()["bb-carousel__arrows"],children:[(0,o.jsx)(k,{onClick:O,type:"prev"}),(0,o.jsx)(k,{onClick:S,type:"next"})]}),i&&(0,o.jsxs)(p.A,{onRequestClose:()=>w(!1),isOpen:!0,overlayClassName:"".concat(g()["bb-carousel__overlay"]," ").concat(g()["bb-carousel__overlay-important"]),className:g()["bb-carousel__modal"],children:[(0,o.jsx)(v.A,(0,l._)((0,t._)({},j),{reference:C,children:r.map((e,r)=>(0,o.jsx)("div",{className:g()["bb-carousel__lightbox-slide"],children:(0,o.jsx)(u.A,(0,t._)({},e))},"gifts-carousel-lightbox-slide-".concat(r)))})),(0,o.jsxs)("div",{className:g()["bb-carousel__lightbox-arrows"],children:[(0,o.jsx)(k,{onClick:O,type:"prev"}),(0,o.jsx)(k,{onClick:S,type:"next"})]})]})]})};A.propTypes={items:i().arrayOf(i().shape(u.t)).isRequired,style:i().oneOf(["default","christmas"]),behaviorSettings:_.U,uuid:i().string};let C=A},86754:(e,r,s)=>{"use strict";s.d(r,{A:()=>
1o});var a,t=s(14232);function l(){return(l=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var s=arguments[r];for(var a in s)({}).hasOwnProperty.call(s,a)&&(e[a]=s[a])}return e}).apply(null,arguments)}let o=e=>t.createElement("svg",l({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,fill:"#FFF",viewBox:"0 0 24 24"},e),a||(a=t.createElement("path",{d:"M19.53 11.47a.754.754 0 0 0-1.06 0l-5.72 5.72V5c0-.41-.34-.75-.75-.75s-.75.34-.75.75v12.19l-5.72-5.72c-.29-.29-.77-.29-1.06 0s-.29.77 0 1.06l7 7a.78.78 0 0 0 .53.22.75.75 0 0 0 .53-.22l7-7c.29-.29.29-.77 0-1.06"})))}}]); 2//# sourceMappingURL=3580.cfd5f612c4202d9b.js.map
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.