1(self["FC.EcomwebpackJsonp"]=self["FC.EcomwebpackJsonp"]||[]).push([[2683,2768,7943],{37634:(t,e,a)=>{"use strict";var n=a(31542);e.createRoot=n.createRoot,e.hydrateRoot=n.hydrateRoot},61415:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>d});var n=a(27378),r=a(68780),o=a(95967),l=a(98530),i=a(55635),c=function(t,e,a,n){return new(a||(a=Promise))((function(r,o){function l(t){try{c(n.next(t))}catch(t){o(t)}}function i(t){try{c(n.throw(t))}catch(t){o(t)}}function c(t){var e;t.done?r(t.value):(e=t.value,e instanceof a?e:new a((function(t){t(e)}))).then(l,i)}c((n=n.apply(t,e||[])).next())}))},u=function(t,e){var a,n,r,o,l={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:i(0),throw:i(1),return:i(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function i(o){return function(i){return function(o){if(a)throw new TypeError("Generator is already executing.");for(;l;)try{if(a=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return l.label++,{value:o[1],done:!1};case 5:l.label++,n=o[1],o=[0];continue;case 7:o=l.ops.pop(),l.trys.pop();continue;default:if(!(r=l.trys,(r=r.length>0&&r[r.length-1])||6!==o[0]&&2!==o[0])){l=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){l.label=o[1];break}if(6===o[0]&&l.label<r[1]){l.label=r[1],r=o;break}if(r&&l.label<r[2]){l.label=r[2],l.ops.push(o);break}r[2]&&l.ops.pop(),l.trys.pop();continue}o=e.call(t,l)}catch(t){o=[6,t],n=0}finally{a=r=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,i])}}},s=function(t,e){var a="function"==typeof Symbol&&t[Symbol.iterator];if(!a)return t;var n,r,o=a.call(t),l=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)l.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(a=o.return)&&a.call(o)}finally{if(r)throw r.error}}return l};const d=function(t){var e=this,a=t.commonTexts,d=t.productId,m=t.showMiniCartAfterClick,f=void 0===m||m,p=t.stockContainerId,v=(0,r.I0)(),y=(0,r.v9)((function(t){return t.cart})),h=s((0,n.useState)(0),2),b=h[0],E=h[1],w=s((0,n.useState)(!1),2),k=w[0],C=w[1],_=(0,n.useRef)(null),g=s((0,n.useState)(!0),2),x=g[0],T=g[1],S=y.items.find((function(t){return t.productInformation.productSku===d}));return(0,n.useEffect)((function(){c(e,void 0,void 0,(function(){var t,e;return u(this,(function(a){switch(a.label){case 0:C(!1),a.label=1;case 1:return a.trys.push([1,3,4,5]),[4,l.default.client.get(l.default.getSalableQuantityEndpoint(d))];case 2:return t=a.sent().data,E(t),[3,5];case 3:return e=a.sent(),console.error("Error retrieving stock information:",e),[3,5];case 4:return C(!0),[7];case 5:return[2]}}
1))}))}),[d]),(0,n.useEffect)((function(){if(x&&f){if((0,i.default)(_.current,d),T(!1),p){var t=document.querySelector('[data-stock-container="'.concat(p,'"]')),e=t.getAttribute("aria-describedby")+" "+p;t.setAttribute("aria-describedby",e.trim())}}else;}),[]),n.createElement(n.Fragment,null,n.createElement("div",{className:"product-teaser-list-item__add-to-cart-wrapper"},n.createElement("button",{"aria-label":null==a?void 0:a.addToCart,ref:_,onClick:function(t){return function(t){var e;if(t.preventDefault(),document.body.classList.add("mini-cart"),S&&!S.engravingOption){var a=(null==S?void 0:S.quantity)+1;if((null==S?void 0:S.quantity)+1>b)return void v((0,o.updateCartItemQuantityAsync)(S.itemId,b));v((0,o.updateCartItemQuantityAsync)(S.itemId,a))}else v((0,o.addToCartAsync)(d,1));null===(e=null==_?void 0:_.current)||void 0===e||e.classList.add("product-added"),setTimeout((function(){var t;null===(t=null==_?void 0:_.current)||void 0===t||t.classList.remove("product-added")}),2e3)}(t)},className:"product-teaser-list-item__cart-button btn btn--primary",type:"button",disabled:y.loading||!k||!b},n.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 48 48",fill:"none"},n.createElement("path",{d:"M17.8733 19.9335C17.9083 19.4082 18.3446 19 18.8711 19H29.1289C29.6554 19 30.0917 19.4082 30.1267 19.9335L30.86 30.9335C30.8985 31.5107 30.4407 32 29.8622 32H18.1378C17.5593 32 17.1015 31.5107 17.14 30.9335L17.8733 19.9335Z",stroke:"white",strokeWidth:"2"}),n.createElement("path",{d:"M27 24V18C27 16.3431 25.6569 15 24 15V15C22.3431 15 21 16.3431 21 18V24",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("rect",{x:"33",y:"11",width:"2",height:"8",fill:"white"}),n.createElement("rect",{x:"38",y:"14",width:"2",height:"8",transform:"rotate(90 38 14)",fill:"white"}))),n.createElement("div",{id:p||null,className:"product-item__stock-wrapper"},k&&n.createElement("span",{className:"product-item__stock ".concat(b?"product-item__in-stock":"product-item__out-of-stock")},b>0?null==a?void 0:a.inStock:null==a?void 0:a.outOfStock," "))),n.createElement("span",{className:"canvas-overlay"}))}},30795:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>c});var n=a(27378),r=a(15211),o=a(47012),l=a(68780),i=a(21803);const c=function(t){var e=t.commonTexts,a=t.setState,c=void 0===a||a,u=(0,l.v9)((function(t){return t.cart}));return n.createElement(r.default,{showWhen:u.items.length>0},n.createElement("li",{className:"cart-summary__total-price"},n.createElement("div",{id:"cart-summary-total",className:"cart-summary__price-vat"},n.createElement("span",null,null==e?void 0:e.total),n.createElement("span",null,(0,o.getPriceFormatted)(u.cartSummary.grandTotal))),n.createElement("div",{className:"cart-summary__total-price-content"},n.createElement(r.default,{showWhen:!(0,o.isNullOrEmpty)(null==e?void 0:e.additionalTotalInfo)},c?n.createElement(n.Fragment,null,n.createElement(i.default,{id:"cart-summary-info",text:null==e?void 0:e.additionalTotalInfo.replaceAll("{x}",(0,o.getPriceFormatted)(u.cartSummary.totalTax)),tooltipCssClass:"cart-summary__vat-tooltip tooltip",tooltipText:null==e?void 0:e.additionalTotalInfoTooltip})):n.createElement("p",{id:"cart-summary-info"},null==e?void 0:e.additionalTotalInfo.replaceAll("{x}",(0,o.getPriceFormatted)(u.cartSummary.totalTax)))))))}},21803:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>o});var n=a(27378),r=a(47012);const o=function(t){var e=t.cssClass,a=t.id,o=t.text,l=t.textClass,i=t.tooltipCssClass,c=t.tooltipText;if((0,n.useEffect)((function(){(0,r.isNullOrEmpty)(c)||window.FaberCastell.addModules(["Tooltip"])}),[]),(0,r.isNullOrEmpty)(c))return n.createElement("p",{className:e,id:a},n.createElement("span",null,o));var u="product-info-vat-tooltip-"+crypto.randomUUID();return n.createElement("p",{"aria-describedby":u,className:e,"data-module":"Tooltip","data-tooltip":u,id:a,tabIndex:0},n.createElement("span",{className:l},o),n.createElement("span",{"aria-hidden":"true",id:u,className:["tooltip",i].join(" "),role:"tooltip"},n.createElement("span",{className:"copy"},c)))}},55635:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>d});var n=a(27378),r=a(37634),o=a(68780),l=a(32036),i=a(77640),c=a(41280),u=a(47012),s=a(30795);const d=function(t,e){var a,d=document.getElementById("rc-mini-cart"),m=(0,u.getCommonTexts)(d),f=(0,u.getCommonTexts)(d),p=null===(a=(0,u.getCommonTexts)(d))||void 0===a?void 0:a.closeMiniCartLabel,v=m.ShoppingCart,y=f.CartSummary;window.FaberCastell.addModules(["CanvasOverlay"]);var h=i.default.setupSpecificWithCustomContent(t,{closeLabel:p},(function(t){r.createRoot(t).render(n.createElement(o.zt,{store:c.store},n.createElement(l.default,{commonTexts:v,editable:!1,lastAddedSku:e,key:null!=e?e:Math.random()}),n.createElement("ul",{className:"go-to-shop__button"},n.createElement(s.default,{commonTexts:y,setState:!1}),n.createElement("li",null,n.createElement("a",{href:"/shop/cart","data-focusable":"Space",className:"cart-link btn btn--primary"}
1,null==v?void 0:v.toTheCart)))))}),!1);h.element.addEventListener("click",(function(t){setTimeout((function(){var t=document.querySelector(".off-canvas__slide .go-to-shop__button .cart-link"),e=document.querySelector(".off-canvas__slide button.overlay__close"),a=document.querySelector(".off-canvas__slide ul.cart-product-list");t.addEventListener("keydown",(function(t){("ArrowDown"===t.key||!t.shiftKey&&"Tab"===t.key)&&(t.preventDefault(),null==e||e.focus())})),null==e||e.addEventListener("keydown",(function(e){("ArrowUp"===e.key||e.shiftKey&&"Tab"===e.key)&&(e.preventDefault(),null==t||t.focus())})),a.addEventListener("keydown",(function(t){var e,a;if("Enter"===t.key||" "===t.key){var n=t.target;(null===(e=n.classList)||void 0===e?void 0:e.contains("row"))&&(t.preventDefault(),null===(a=n.querySelector(".cart-product__teaser-title"))||void 0===a||a.click())}})),e&&e.addEventListener("click",b.bind(undefined)),null==t||t.focus()}),100)}));var b=function(){setTimeout((function(){h.element.focus()}),100)}}},41280:(t,e,a)=>{"use strict";a.r(e),a.d(e,{store:()=>c});var n=a(24886),r=a(95967),o=a(93628),l=a(51346),i=a(81248),c=(0,n.xC)({reducer:{cart:r.default,coupons:o.default,variantEditor:l.default},middleware:function(t){return t().concat((0,i.K3)())}});(0,i.UX)(c)},44595:()=>{},65050:()=>{}}]);
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.