"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[9533],{19988:(n,e,t)=>{t.r(e),t.d(e,{default:()=>jn});var r,i,a,o,c,l,u,s,f,d=t(15861),p=t(29439),m=t(87757),g=t.n(m),h=(t(66992),t(41539),t(78783),t(33948),t(60285),t(74916),t(64765),t(92222),t(9653),t(68309),t(57327),t(67294)),y=t(30168),v=t(30305),b=t(51062),w=t(71893),x=w.ZP.div(r||(r=(0,y.Z)(["\n padding: 1.625rem ",";\n max-width: 1624px;\n margin: 0 auto;\n width: 100%;\n\n "," {\n padding: 2.188rem ",";\n }\n "," {\n padding: 2.188rem ",";\n }\n"])),(function(n){return n.theme.spacing.spacing02}),v.B.tabletPortrait,(function(n){return n.theme.spacing.spacing03}),v.B.desktop,(function(n){return n.theme.spacing.spacing04})),E=w.ZP.div(i||(i=(0,y.Z)(["\n display: flex;\n flex-direction: column;\n width: 100%;\n\n "," {\n justify-content: space-around;\n flex-direction: row-reverse;\n gap: 156px;\n }\n"])),v.B.desktop),O=w.ZP.div(a||(a=(0,y.Z)(["\n margin-bottom: ",";\n > div {\n padding-top: 0;\n }\n"])),(function(n){return n.theme.spacing.spacing02})),P=w.ZP.h1(o||(o=(0,y.Z)(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n"])),(function(n){return n.theme.typography.header.h1.size}),(function(n){return n.theme.typography.header.h1.weight}),(function(n){return n.theme.typography.header.h1.lineHeight})),Z=(w.ZP.p(c||(c=(0,y.Z)(["\n ",";\n && {\n margin-bottom: ",";\n "," {\n margin-bottom: ",";\n }\n }\n"])),b.g.captionRegular,(function(n){return n.theme.spacing.spacing03}),v.B.tabletPortrait,(function(n){return n.theme.spacing.spacing04})),t(97210)),j=t(33742),S=t(69847),A=t(55285),_=t(26793),k=t(91085),I=w.ZP.div(l||(l=(0,y.Z)(["\n display: flex;\n flex-direction: column;\n align-items: center;\n height: fit-content;\n\n "," {\n position: sticky;\n align-self: flex-start;\n top: 9rem;\n }\n"])),v.B.desktop),N=w.ZP.div(u||(u=(0,y.Z)(["\n margin-top: 0.5rem;\n"])));w.ZP.div(s||(s=(0,y.Z)(["\n border-radius: 6px;\n border: 1px solid #ccc;\n display: flex;\n align-items: center;\n height: fit-content;\n margin-bottom: ",";\n padding: ",";\n width: 100%;\n"])),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing03})),w.ZP.div(f||(f=(0,y.Z)(["\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: center;\n align-items: flex-start;\n\n "," {\n flex-direction: row;\n justify-content: flex-start;\n align-items: center;\n }\n\n "," {\n flex-direction: column;\n align-items: flex-start;\n width: 327px;\n }\n"])),v.B.tabletPortrait,v.B.desktop);const D=function(){return h.createElement(N,{role:"extra-info-container"},h.createElement(I,null))};var C=t(54461),B=t(96374),Q=t(2002),z=t(28216),T=t(85406),R=t(70290),q=t.n(R),U=t(16749);function F(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]3&&void 0!==arguments[3])||arguments[3],a=H((0,h.useState)(),2),o=a[0],c=a[1],l=H((0,h.useState)(i),2),u=l[0],s=l[1],f=(0,A.mr)(e),d=(0,z.v9)(U.Y),p={indexName:"".concat(d.INDEX_NAME||"",":").concat(f||""),appId:d.ALGOLIA_APP_ID||"",apiKey:d.ALGOLIA_API_KEY||""},m=p.indexName,g=p.apiKey,y=p.appId,v=(0,h.useMemo)((function(){return q()(y,g)}),[y,g]),b=(0,h.useCallback)((r=L((function(n){var e,r,i,a,o,l,u,f,d,p;return Y(this,(function(g){switch(g.label){case 0:return n?t?[4,t(n)]:[3,2]:[3,4];case 1:return e=g.sent(),c(e||void 0),[3,4];case 2:return[4,Promise.all([(0,T.nW)(v,m,n)])];case 3:r=H.apply(void 0,[g.sent(),1]),(i=r[0])&&1===i.hits.length?(o=i.hits[0],l=o.idArticle,u=o.images,f=o.name,d=o.family,p=o.slug,c({image:(null===u||void 0===u||null===(a=u.small)||void 0===a?void 0:a.path)||"",name:f,idArticle:l,family:d,slug:p})):c(void 0),g.label=4;case 4:return s(!1),[2]}}))})),function(n){return r.apply(this,arguments)}),[m,v,t]);return(0,h.useEffect)((function(){i&&n&&(s(!0),b(n))}),[b,n,i]),{articleInfoSimplified:o,fetchArticleInfoSimplified:b,algoliaClient:v,algoliaData:{indexName:m,apiKey:g,appId:y},loading:u,setArticleInfoSimplified:c}}(v,o,b,!!v),I=w.articleInfoSimplified,N=w.algoliaClient,R=w.algoliaData.indexName,F=w.loading;if(404===f)return h.createElement(S.PageNotFoundView,n);var K={search:function(n){var e=n.filter((function(n){var e;return(null===n||void 0===n||null===(e=n.params)||void 0===e?void 0:e.query)&&n.params.query.length>0}));if(e&&e.length>0)return e&&N.search(e)}};return h.createElement(h.Fragment,null,h.createElement(j.SeoHelmet,{noIndex:!0,noFollow:!0},h.createElement("title",null,(0,A.Kj)(t("addQuestion.seoTitle"))),h.createElement("meta",{name:"description",content:(0,A.Kj)(t("addQuestion.seoDescription"))})),h.createElement(x,null,h.createElement(O,null,h.createElement(Z.a,{breadcrumbs:m})),h.createElement(P,null,t("addQuestion.title")),!F&&h.createElement(E,null,h.createElement(D,null),h.createElement(B.Z,{indexName:R,searchClient:K},h.createElement(Q.Z,{clickAnalytics:!0,hitsPerPage:10}),h.createElement(xn,{idArticle:v,hasPreselectedArticle:y,indexName:R,articleInfoSimplified:I}))),F&&h.createElement(E,null,h.createElement(V.a,null))))}},82322:(n,e,t)=>{t.d(e,{AJ:()=>h,E:()=>y,Y3:()=>g,im:()=>m});var r,i,a,o,c,l=t(30168),u=t(71893),s=t(30305),f=t(55975),d=t(49269),p=t(25368),m=u.ZP.div(r||(r=(0,l.Z)(["\n "," {\n flex-basis: 100%;\n display: flex;\n flex-direction: column;\n }\n"])),s.B.desktop),g=(u.ZP.img(i||(i=(0,l.Z)(["\n width: 4rem;\n height: 4rem;\n"]))),(0,u.ZP)(f.j)(a||(a=(0,l.Z)(["\n margin-top: -",";\n margin-bottom: ",";\n"])),(function(n){return n.theme.spacing.spacing04}),(function(n){return n.theme.spacing.spacing05}))),h=(0,u.ZP)(d.Z)(o||(o=(0,l.Z)(["\n .search-form {\n padding: 0 2%;\n }\n"]))),y=(0,u.ZP)(p.y1)(c||(c=(0,l.Z)(["\n margin-bottom: ",";\n width: 104%;\n margin-left: -2%;\n margin-top: 1rem;\n padding-bottom: 1px;\n"])),(function(n){return n.theme.spacing.spacing04}))},2256:(n,e,t)=>{var r;t.d(e,{UU:()=>r,jB:()=>a}),function(n){n.SCALING="s",n.WHITE="w"}(r||(r={}));var i="static/no-image.jpg",a=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:r.SCALING,t=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100;return"//thumb.pccomponentes.com/".concat(e,"-").concat(t,"-").concat(a,"/").concat(n)}},58747:(n,e,t)=>{t.d(e,{a:()=>g});var r=t(67294),i=t(71893),a=t(24265);function o(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function c(){var n=o(["\n background-color: #ffffffb8;\n position: fixed;\n left: 0;\n top: 0;\n right: 0;\n bottom: 0;\n text-align: center;\n z-index: ",";\n border: 1px solid transparent;\n border-radius: ",";\n"]);return c=function(){return n},n}function l(){var n=o(["\n position: absolute;\n top: 50%;\n left: 50%;\n width: ",";\n height: ",";\n"]);return l=function(){return n},n}var u=i.ZP.div(c(),(function(n){return n.theme.layout.zIndex.overlay}),(function(n){return n.overlayBorderRadius?"".concat(n.overlayBorderRadius,"px"):0})),s=(0,i.ZP)(a.a)(l(),(function(n){return n.$big?"5rem":"4rem"}),(function(n){return n.$big?"5rem":"4rem"})),f=t(63742),d=t(53397);function p(){return p=Object.assign||function(n){for(var e=1;e=0||(i[t]=n[t]);return i}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(i[t]=n[t])}return i}var g=function(n){var e=n.big,t=n.overlayBorderRadius,i=m(n,["big","overlayBorderRadius"]);return r.createElement(u,p({},i,{overlayBorderRadius:t}),r.createElement(s,{$big:e,extra:r.createElement(f.J,{big:e,icon:"pcc_icon",fill:d.n.light.colors.brand.main})}))}},69847:(n,e,t)=>{t.r(e),t.d(e,{PageNotFoundView:()=>Z});var r=t(67294),i=t(38770),a=t(50693),o=t(71893),c=t(91044),l=t(30305);function u(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function s(){var n=u(["\n color: ",";\n font-size: 3rem;\n font-weight: 700;\n margin-top: ",";\n margin-bottom: ",";\n text-align: center;\n"]);return s=function(){return n},n}function f(){var n=u(["\n display: flex;\n justify-content: center;\n padding-bottom: ",";\n align-items: center;\n flex-direction: column;\n background: ",";\n"]);return f=function(){return n},n}function d(){var n=u(["\n color: ",";\n font-size: ",";\n font-weight: ",";\n margin-top: ",";\n margin-bottom: ",";\n text-align: center;\n width: 20.5rem;\n\n "," {\n width: 31.5rem;\n }\n"]);return d=function(){return n},n}var p=(0,o.ZP)(c.X)(s(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.spacing.spacing02})),m=o.ZP.div(f(),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.colors.environment.percent05})),g=o.ZP.p(d(),(function(n){return n.theme.colors.black}),(function(n){return n.theme.typography.body1Regular.size}),(function(n){return n.theme.typography.body1Regular.weight}),(function(n){return n.theme.spacing.spacing02}),(function(n){return n.theme.spacing.spacing04}),l.B.tabletPortrait),h=t(33742),y=t(26793),v=t(68551),b=t(36563),w=t(28216),x=t(7294),E=t(46385);function O(n,e){(null==e||e>n.length)&&(e=n.length);for(var t=0,r=new Array(e);t{t.d(e,{a:()=>w});var r=t(67294),i=t(71893),a=t(67724);function o(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function c(){var n=o(["\n max-width: ",";\n margin: 0 auto;\n padding: "," 0 ",";\n padding-top: ",";\n"]);return c=function(){return n},n}function l(){var n=o(["\n &&& a {\n color: ",";\n }\n &&& svg {\n fill: ",";\n }\n "]);return l=function(){return n},n}function u(){var n=o(["\n overflow: auto;\n white-space: nowrap;\n margin: 0;\n\n ",";\n"]);return u=function(){return n},n}var s=i.ZP.div(c(),(function(n){return n.theme.layout.grid.width}),(function(n){return n.theme.spacing.spacing09}),(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing02})),f=(0,i.ZP)(a.a)(u(),(function(n){var e=n.$fontColor;return e&&(0,i.iv)(l(),e,e)})),d=t(28216),p=t(36027),m=t(55285),g=t(46385);function h(n,e,t){return e in n?Object.defineProperty(n,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):n[e]=t,n}function y(){return y=Object.assign||function(n){for(var e=1;e=0||(i[t]=n[t]);return i}(n,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(n,t)&&(i[t]=n[t])}return i}var w=function(n){var e=n.fontColor,t=n.breadcrumbs,i=b(n,["fontColor","breadcrumbs"]),a=(0,d.v9)(p.Mb),o=t||a||[],c=(0,d.v9)(g.oz),l=o.map((function(n){return v(function(n){for(var e=1;e{t.d(e,{Z:()=>x});var r=t(67294),i=t(30305),a=t(71893);function o(n,e){return e||(e=n.slice(0)),Object.freeze(Object.defineProperties(n,{raw:{value:Object.freeze(e)}}))}function c(){var n=o(["\n display: flex;\n height: fit-content;\n"]);return c=function(){return n},n}function l(){var n=o(["\n display: flex;\n align-self: flex-start;\n justify-content: center;\n margin: ",";\n & img {\n ","\n\n "," {\n align-self: center;\n }\n }\n\n "," {\n border-right: none;\n }\n"]);return l=function(){return n},n}function u(){var n=o(["\n display: flex;\n flex-direction: column;\n\n "," {\n flex-direction: column;\n flex: 1;\n }\n"]);return u=function(){return n},n}function s(){var n=o(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n padding: ",";\n padding-bottom: 0;\n padding-top: 0;\n &&& {\n margin-bottom: 0;\n }\n height: fit-content;\n align-self: center;\n\n "," {\n justify-content: center;\n align-self: flex-start;\n margin-top: ",";\n }\n\n "," {\n padding: ",";\n padding-top: 0;\n margin-top: ",";\n }\n"]);return s=function(){return n},n}function f(){var n=o(["\n font-size: ",";\n font-weight: ",";\n line-height: ",";\n padding: ",";\n padding-bottom: 0;\n padding-top: 0;\n &&& {\n margin-bottom: 0;\n }\n height: fit-content;\n align-self: center;\n\n "," {\n margin: 0;\n justify-content: center;\n align-self: flex-start;\n }\n\n "," {\n padding: 0;\n }\n"]);return f=function(){return n},n}function d(){var n=o(["\n display: flex;\n flex-direction: column;\n flex: 1;\n justify-content: center;\n align-items: flex-start;\n\n "," {\n flex-direction: row;\n justify-content: flex-start;\n }\n\n "," {\n flex-direction: column;\n align-items: flex-start;\n }\n"]);return d=function(){return n},n}var p=a.ZP.div(c()),m=a.ZP.div(l(),(function(n){var e=n.theme.spacing;return"".concat(e.spacing03," ").concat(e.spacing01," ").concat(e.spacing03," 0")}),(function(n){var e=n.theme.spacing;return"\n height: ".concat(e.spacing08,";\n width: ").concat(e.spacing08,";\n ")}),i.B.tabletPortrait,i.B.desktop),g=a.ZP.div(u(),i.B.tabletPortrait),h=a.ZP.a(s(),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.spacing.spacing02}),i.B.tabletPortrait,(function(n){return n.theme.spacing.spacing03}),i.B.desktop,(function(n){return n.theme.spacing.spacing01}),(function(n){return n.theme.spacing.spacing03})),y=a.ZP.p(f(),(function(n){return n.theme.typography.body2Regular.size}),(function(n){return n.theme.typography.body2Regular.weight}),(function(n){return n.theme.typography.body2Regular.lineHeight}),(function(n){return n.theme.spacing.spacing02}),i.B.tabletPortrait,i.B.desktop),v=a.ZP.div(d(),i.B.tabletPortrait,i.B.desktop),b=t(55285),w=t(2256);const x=function(n){var e=n.data,t=e.name,i=e.image,a=e.slug,o=void 0===a?"":a,c=n.allowProductHyperlink,l=void 0===c||c,u=(0,b.JU)(i)?i:(0,w.jB)(i,w.UU.WHITE,85,85);return r.createElement(p,{id:"product-info-wrapper","data-testid":"product-info-wrapper"},r.createElement(m,null,r.createElement("img",{title:t,alt:t,src:u,loading:"lazy",width:"64px"})),r.createElement(v,null,r.createElement(g,null,!l&&r.createElement(y,null,t),l&&r.createElement(h,{href:"/".concat(o),target:"_blank"},t))))}},85406:(n,e,t)=>{function r(n,e,t,r,i,a,o){try{var c=n[a](o),l=c.value}catch(n){return void t(n)}c.done?e(l):Promise.resolve(l).then(r,i)}function i(n){return function(){var e=this,t=arguments;return new Promise((function(i,a){var o=n.apply(e,t);function c(n){r(o,i,a,c,l,"next",n)}function l(n){r(o,i,a,c,l,"throw",n)}c(void 0)}))}}t.d(e,{nW:()=>c,wb:()=>l});var a,o=function(n,e){var t,r,i,a,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return a={next:c(0),throw:c(1),return:c(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function c(a){return function(c){return function(a){if(t)throw new TypeError("Generator is already executing.");for(;o;)try{if(t=1,r&&(i=2&a[0]?r.return:a[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,a[1])).done)return i;switch(r=0,i&&(a=[2&a[0],i.value]),a[0]){case 0:case 1:i=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(i=(i=o.trys).length>0&&i[i.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!i||a[1]>i[0]&&a[1]