PageSourceSearch

https://www.hardloop.de/_next/static/chunks/pages/boutique/commande/shop/confirmation-61732be9497a7c16.js

js hardloop.de collected 2026-10-07 14:47:10 UTC 20,130 bytes, 260 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[507],{63171:function(e,t,r){"use strict";var i=r(56454);function n(){}function o(){}o.resetWarningCache=n,e.exports=function(){function e(e,t,r,n,o,s){if(s!==i){var d=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw d.name="Invariant Violation",d}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:o,resetWarningCache:n};return r.PropTypes=r,r}},50862:function(e,t,r){e.exports=r(63171)()},56454:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},26852:function(e,t,r){"use strict";var i=r(86934),n=r(65654),o=r.n(n),s=r(72084),d=r(75332),a=r(62044),l=r(8014);let c=({reduction:e,price:t,oldPrice:r,qty:n=1,voucherLines:c=[],totalDiscountedPrice:p=null})=>{let{locale:m}=(0,d.useRouter)(),{currencySign:x}=(0,s.pf)(),h=(0,i.EB)(m),{t:u}=(0,a.Z)("delivery"),g=null!==p&&p<t*n,f=g?r&&r>t?r:t:r,_=g?p:t*n;return(0,l.jsx)("div",{className:o().itemPrice,children:e&&f?(0,l.jsxs)("div",{children:[(0,l.jsxs)("div",{className:o().reduction,children:[(0,l.jsx)("span",{className:o().oldPrice,children:(0,i.xq)(f*n,x,h)}),(0,l.jsx)("span",{className:o().newPrice,children:(0,i.xq)(_,x,h)})]}),(0,l.jsxs)("div",{className:o().gain,children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("span",{className:o().text,children:u("you-save")})," ",(0,l.jsx)("span",{children:(0,i.xq)(f*n-_,x,h)})]}),g&&c.map(e=>(0,l.jsx)("div",{className:o().voucherCodeLine,children:u("with-code",{code:e.code,reduction:(0,i.xq)(e.amount,x,h)})},e.code))]})]}):(0,l.jsx)("div",{children:(0,l.jsx)("span",{children:t>0?(0,i.xq)(t*n,x,h):u("carriers-price-free")})})})};t.Z=c},1887:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return ea}});var i=r(1984),n=r.n(i),o=r(45985),s=r(45618),d=r(12062),a=r(30103),l=r(68874),c=r(23154);let p=(0,c.Z)(d.JX)`
2  background-color: #88b788;
3  text-align: center;
4  font-size: 18px;
5  color: white;
6  padding: 10px;
7  margin-top: 30px;
8  margin-bottom: 15px;
9`,m=c.Z.div`
10  margin-top: 30px;
11  margin-bottom: 30px;
12`,x=c.Z.h2`
13  color: ${l.O.blue};
14  margin: 5px 0;
15`,h=c.Z.button`
16  height: 40px;
17  width: 100%;
18  font-size: 16px;
19  font-weight: 500;
20  margin-top: 15px;
21  background: ${a.green};
22  color: white;
23  font-family: inherit;
24  border: none;
25  display: inline-block;
26  position: relative;
27  border-radius: ${a.bigRadius};
28  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
29  transition-delay: 0.2s;
30  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
31  cursor: pointer;
32`;c.Z.button`
33  height: 40px;
34  font-size: 16px;
35  font-weight: 500;
36  margin-top: 15px;
37  background: ${a.green};
38  color: white;
39  font-family: inherit;
40  border: none;
41  display: inline-block;
42  position: relative;
43  border-radius: 2px;
44  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
45  transition-delay: 0.2s;
46  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
47  cursor: pointer;
48`,c.Z.div`
49  text-align: center;
50`,c.Z.li`
51  margin-bottom: 10px;
52`;let u=c.Z.div`
53  margin-bottom: 15px;
54`;var g=r(56168),f=r(75659);let _=(0,c.Z)(d.X2)`
55  margin-top: 40px;
56`,j=(0,c.Z)(d.JX)`
57  margin-bottom: 40px;
58`,b=c.Z.h2`
59  margin: 0 0 10px 0;
60  display: flex;
61  justify-content: space-between;
62
63  svg {
64    cursor: pointer;
65  }
66`;c.Z.h2`
67  margin: 5px 0;
68`;let v=c.Z.div`
69  font-weight: 600;
70  margin-bottom: 5px;
71`;var y=r(52082);let w=c.Z.hr`
72  width: 100%;
73  margin-bottom: ${e=>e.marginBottom?e.marginBottom:"20px"};
74  margin-top: ${e=>e.marginTop?e.marginTop:"7px"};
75  margin-left: ${e=>e.marginLeft?e.marginLeft:"0px"};
76  margin-right: ${e=>e.marginRight?e.marginRight:"0px"};
77`;c.Z.div`
78  display: flex;
79  justify-content: center;
80  flex-direction: row;
81  align-items: center;
82  margin-top: ${e=>e.marginTop?e.marginTop:"40px"};
83  margin-bottom: ${e=>e.marginBottom?e.marginBottom:"0px"};
84  hr {
85    margin-top: 0 !important;
86    margin-bottom: 0 !important;
87  }
88  hr:nth-of-type(2n) {
89    margin-left: 20px !important;
90  }
91`,c.Z.div`
92  margin-bottom: ${e=>e.marginBottom?e.marginBottom:"0px"};
93  margin-top: ${e=>e.marginTop?e.marginTop:"0px"};
94  margin-left: ${e=>e.marginLeft?e.marginLeft:"0px"};
95  margin-right: ${e=>e.marginRight?e.marginRight:"0px"};
96`;var Z=r(75332),$=r(62044),k=r(8014);let C=({lang:e,deliveryAddressSelected:t,invoiceAddressSelected:r,isConfirmation:i=!1,carrier:n})=>{let{t:o}=(0,$.Z)("delivery"),s=(0,Z.useRouter)(),d=(0,y.Z5)(e),a=(e,s)=>{if("invoiceAddressSelected"==e&&t.id===r.id)return(0,k.jsx)("div",{className:"CartProductsStep1AddressWrapper TheSame",children:o("same-as-delivery-address")});{let d=e.name,a=`${e.firstname} ${e.lastname||""}`.trim();return(0,k.jsxs)("div",{className:"CartProductsStep1AddressWrapper",children:["delivery"===s&&(n||{}).name&&(0,k.jsx)(v,{children:o((n||{}).name)}),i&&e.company&&(0,k.jsx)("div",{children:e.company}),!i&&"delivery"===s&&d!==a&&(0,k.jsx)("div",{children:d}),(0,k.jsx)("div",{children:a}),(0,k.jsx)("div",{children:e.address1}),(0,k.jsx)("div",{children:e.address2}),(0,k.jsxs)("div",{children:[e.postcode," ",e.city]}),(0,k.jsx)("div",{children:e.country}),e.phone&&(0,k.jsx)("div",{children:e.phone}),e.phone_mobile!==e.phone&&(0,k.jsx)("div",{children:e.phone_mobile})]})}},l=(e,t)=>(0,k.jsxs)("div",{children:[!i&&(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(b,{children:["invoice"==t?o("invoice-address-title"):o("delivery-address-title"),(0,k.jsx)("div",{onClick:()=>s.push(d.CartPage({step:1})),children:(0,k.jsx)("svg",{viewBox:"0 0 20 20",width:"20",children:(0,k.jsx)("path",{d:"M18.29,4.5,15.5,1.71a.37.37,0,0,0-.53,0L12.88,3.8h0L3.1,13.57a0,0,0,0,1,0,0,.36.36,0,0,0-.08.12L1.62,17.91a.36.36,0,0,0,.09.38A.33.33,0,0,0,2,18.4a.25.25,0,0,0,.12,0L6.28,17a.36.36,0,0,0,.12-.08h0L16.2,7.12h0L18.29,5A.37.37,0,0,0,18.29,4.5ZM6.16,16.1,3.9,13.84,13.14,4.6,15.4,6.86ZM3.53,14.53l1.94,1.94-2.91,1Zm12.4-8.2L13.67,4.07,15.24,2.5,17.5,4.76Z"})})})]}),(0,k.jsx)(w,{})]}),a(e,t)]});return(0,k.jsx)(_,{children:[{address:t,type:"delivery"},!i&&{address:r,type:"invoice"}].map((e,t)=>(0,k.jsx)(j,{xs:12,sm:12,md:i?12:6,lg:i?12:6,children:e.address&&l(e.address,e.type)},`CartProductsAddress${e.type}`))})};var O=r(74453);(0,c.Z)(r(18884).I)``,(0,c.Z)(O.z)`
97  height: 100%;
98  font-size: 14px;
99  width: 100px;
100`,c.Z.div`
101  background: ${l.O.greyBackground};
102  padding: 10px;
103  margin: 20px 0;
104  /* padding: 10px 0; */
105  font-weight: 400;
106  li {
107    margin: 0 10px 0 0;
108    font-weight: 500;
109  }
110`,c.Z.div`
111  padding: 0 10px;
112`,c.Z.div`
113  /* font-size: 14px; */
114  margin: 15px 0;
115  a {
116    text-decoration: underline;
117    margin-left: 5px;
118  }
119`;let S=(0,c.Z)(d.X2)`
120  padding-bottom: 0.6em;
121  color: ${e=>e.color?e.color:"inherit"};
122  font-size: ${e=>e.fontSize?e.fontSize:"inherit"};
123`,X=(0,c.Z)(d.X2)`
124  padding-bottom: 0.6em;
125  color: ${e=>e.color?e.color:"inherit"};
126  font-size: ${e=>e.fontSize?e.fontSize:"inherit"};
127`,L=(0,c.Z)(d.JX)`
128  padding: 0;
129  justify-content: flex-end;
130  display: flex !important;
131  align-items: baseline;
132  font-weight: 600;
133  background-color: ${e=>e.color?e.color:"inherit"};
134  padding: 0.3em 0.2em;
135`,P=(0,c.Z)(d.JX)`
136  font-weight: ${e=>e.fontWeight?e.fontWeight:"500"};
137  justify-content: flex-end;
138  display: flex !important;
139  align-items: baseline;
140`,T=c.Z.span`
141  font-size: 16px;
142  margin: 0 5px;
143`;c.Z.div`
144  display: block;
145  margin-top: 25px;
146  .CartTotalPrice {
147    justify-content: flex-end;
148    display: flex;
149    font-weight: 600;
150    img {
151      position: relative;
152      top: 4px;
153    }
154  }
155`;var N=r(86934),R=r(72084),A=function({totalS:e,products:t,total:r,vouchers:i,isConfirmation:n=!1}){let{t:o}=(0,$.Z)("admin"),{currencySign:s}=(0,R.pf)(),a=(0,Z.useRouter)(),{locale:c}=a,p=(0,N.EB)(c);return(0,k.jsx)(d.X2,{className:"CartProductsStep0Prices",children:(0,k.jsxs)(d.JX,{mdOffset:6,lgOffset:6,xs:12,sm:12,md:6,lg:6,children:[0==e?(0,k.jsx)(S,{children:(0,k.jsx)(P,{xs:12,sm:12,md:12,lg:12,children:o("delivery:free-delivery")})}):(0,k.jsxs)(S,{children:[(0,k.jsxs)(P,{xs:8,sm:8,md:8,lg:8,children:[o("delivery:cart-delivery")," :"]}),(0,k.jsx)(P,{xs:4,sm:4,md:4,lg:4,children:(0,N.xq)(e,s,p)})]}),!n&&(()=>{let e=0;t.map(t=>{t.current_combination?e+=t.current_combination.old_price*t.qty:e+=t.old_price*t.qty});let i=e-r;return i>0?(0,k.jsxs)(S,{color:l.O.red,children:[(0,k.jsxs)(P,{xs:8,sm:8,md:8,lg:8,children:[o("you-save")," :"]}),(0,k.jsx)(P,{xs:4,sm:4,md:4,lg:4,children:(0,N.xq)(i,s,p)})]}):(0,k.jsx)("div",{})})(),i&&(()=>{if(!(i.value<=0))return(0,k.jsxs)(X,{color:l.O.redLight,children:[(0,k.jsx)(L,{xs:8,sm:8,md:8,lg:8,children:(0,k.jsx)("span",{children:i.codes.map((e,t)=>(0,k.jsxs)("span",{children:[e,t<i.codes.length-1?", ":""]},t))})}),(0,k.jsxs)(L,{xs:4,sm:4,md:4,lg:4,children:["-",(0,N.xq)(i.value,s,p)]})]})})(),(0,k.jsxs)(S,{fontSize:"18px",children:[(0,k.jsxs)(P,{xs:8,sm:8,md:8,lg:8,children:[o("delivery:cart-total"),(0,k.jsx)(T,{children:o("delivery:modal-vat-included")})," :"]}),(0,k.jsx)(P,{xs:4,sm:4,md:4,lg:4,fontWeight:600,children:(0,N.xq)(r,s,p)})]})]})})};let z=c.Z.div`
156  margin: 0 10px 0 0;
157  display: flex;
158  align-items: center;
159`,E=(0,c.Z)(d.X2)`
160  margin-top: 5px;
161  margin-bottom: 5px;
162  align-items: flex-start;
163`,J=(0,c.Z)(d.JX)`
164  font-weight: 500;
165  padding: 0 5px;
166`,q=c.Z.div`
167  color: #666;
168  font-weight: 400;
169  padding-left: 5px;
170  /* font-size: 12px; */
171  /* line-height: 18px; */
172  /* letter-spacing: .5px; */
173`,B=(0,c.Z)(d.JX)`
174  display: flex !important;
175  flex-direction: column;
176  justify-content: center;
177`;c.Z.div`
178  margin-top: 10px;
179  text-decoration: underline;
180  cursor: pointer;
181`;let D=c.Z.div`
182  display: flex;
183  flex-direction: row;
184  align-items: center;
185`;c.Z.button`
186  display: inline-block !important;
187  width: 32px !important;
188  height: 32px !important;
189  cursor: pointer !important;
190  border-radius: 16px !important;
191  text-align: center !important;
192  line-height: 1 !important;
193  position: relative !important;
194  border: 2px solid transparent !important;
195  background-color: transparent !important;
196  border-color: ${l.O.blue} !important;
197  text-color: ${l.O.blue} !important;
198  border-width: 1px !important;
199  transition: box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
200  transition-delay: 0.2s;
201  box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
202  }
203
204  :active {
205    box-shadow: 0 8px 17px 0 rgba(0, 0, 0, 0.2);
206    transition-delay: 0s;
207  }
208
209  :focus {
210    outline: none;
211  }
212  :hover {
213    border-width: 2px !important;
214  }
215`,c.Z.span`
216  display: inline-block !important;
217  font-size: 16px !important;
218  position: absolute !important;
219  top: 50% !important;
220  left: 50% !important;
221  -webkit-transform: translate(-50%, -50%) !important;
222  -ms-transform: translate(-50%, -50%) !important;
223  transform: translate(-50%, -50%) !important;
224  color: ${l.O.blue} !important;
225`,c.Z.svg`
226  display: block;
227  height: 1em;
228  width: 1em;
229  fill: currentcolor;
230`;let F=c.Z.div`
231  padding: 0px;
232`,W=(0,c.Z)(d.JX)`
233  display: flex !important;
234  flex-direction: column;
235  justify-content: center;
236  align-items: flex-end;
237`,I=c.Z.div`
238  span {
239    font-weight: 600;
240  }
241  display: flex;
242`;c.Z.div`
243  font-weight: 400;
244  text-decoration: line-through;
245  margin-right: 10px;
246`;let V=c.Z.span`
247  color: #9a0404;
248`;var G=r(56380),H=r(75657),M=r.n(H),Y=r(26852),K=function({item:e,reduction:t,isConfirmation:r=!1,isGift:i=!1}){var n;let{t:o}=(0,$.Z)("admin");return(0,k.jsxs)(E,{children:[(0,k.jsx)(d.JX,{xs:4,sm:4,md:2,lg:2,children:(0,k.jsx)(M(),{href:e.link,prefetch:!1,passHref:!0,children:(0,k.jsx)("a",{title:`${e.manufacturer_name} - ${e.name}`,children:(0,k.jsx)(G.Z,{alt:e.name,src:(((e.current_combination?.images?e.current_combination:e).images||[])[0]||{}).small_default||"",nextComponentCalled:!1})})})}),(0,k.jsx)(d.JX,{xs:8,sm:8,md:10,lg:10,children:(0,k.jsxs)(d.X2,{children:[(0,k.jsxs)(J,{xs:12,sm:12,md:6,lg:6,children:[(0,k.jsx)("div",{className:"C
248artStepDescription CartStepDescription__manufacturer",children:e.manufacturer_name}),(0,k.jsx)("a",{href:e.link.split("?")[0],children:e.name}),(e=>{let t=e.combinations?e.combinations:e;return t.filter(t=>t.id_product_attribute==e.id_product_attribute).map((e,t)=>(0,k.jsxs)(z,{children:[(0,k.jsxs)("div",{children:[o(`product:${e?.group_name}`)," :"]}),(0,k.jsx)(q,{children:e?.attribute_name})]},`CartStepCombination${e?.attribute_name}-${t}`))})(e)]}),(0,k.jsx)(B,{xs:6,sm:6,md:3,lg:3,children:(0,k.jsx)(D,{children:(0,k.jsx)(F,{children:`${o("common:quantity")} : ${e.qty}`})})}),(0,k.jsxs)(W,{xs:12,sm:12,md:3,lg:3,children:[i?(0,k.jsx)(I,{children:(0,k.jsx)("span",{children:o("delivery:cart-gift")})}):(0,k.jsx)(Y.Z,{reduction:!1,price:(e.current_combination?.price?e.current_combination:e).price}),!!t&&!r&&!i&&(0,k.jsxs)("div",{children:[o("you-save"),(0,k.jsx)(V,{children:e.reduction})]})]})]})})]},`${e.reference}${e.id_product_attribute}`)},Q=r(94669),U=r(42419),ee=function({order:e,patchAddress:t,countries:r,vouchers:i}){let{user:n}=(0,U.aF)(),[o,s]=(0,g.useState)({}),[a,l]=(0,g.useState)(!1),{t:c}=(0,$.Z)("admin"),{locale:_}=(0,Z.useRouter)(),j=(0,N.Md)(_);(0,g.useEffect)(()=>{e?.delivery_address&&s(e.delivery_address)},[e]);let b=(e,t)=>s({...o,[e]:t}),v=()=>(0,k.jsx)(d.X2,{children:(0,k.jsxs)(d.JX,{xs:12,sm:12,md:12,lg:12,children:[(0,k.jsx)(u,{children:e.delivery_date?.[0]===e.delivery_date?.[1]?(0,k.jsxs)(k.Fragment,{children:[c("delivery-not-between"),"\xa0",(0,k.jsx)("strong",{children:e&&e.delivery_date?.[0]}),"."]}):(0,k.jsxs)(k.Fragment,{children:[c("admin:you-will-be-delivered-between"),"\xa0",(0,k.jsx)("strong",{children:e&&e.delivery_date?.[0]}),c("common:and"),(0,k.jsx)("strong",{children:e&&e.delivery_date?.[1]}),"."]})}),(0,k.jsxs)(u,{children:[c("only-a-few-more-days-to-wait-before-starting-your-adventure"),". \uD83D\uDE03 ⛺"]})]})});return e&&(0,k.jsxs)(d.rj,{children:[(0,k.jsx)(d.X2,{children:(0,k.jsx)(p,{xs:12,sm:12,md:12,lg:12,children:c("delivery:confirmation-of-your-order")})}),a?(0,k.jsx)(k.Fragment,{children:(0,k.jsx)(f.Z,{t:c,lang:j,firstAddress:e.delivery_address,patchAddress:t,handleAddressChange:b,address:o,setAddress:s,setShowAddressForm:l,addressesLength:1,countries:r,isConfirmation:!0,order:e})}):e?(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(d.X2,{children:(0,k.jsxs)(d.JX,{xs:12,sm:12,md:12,lg:12,children:[c("common:hello")," ",e?.user?.firstname||n?.firstname,",",(0,k.jsx)("br",{}),c("thank-you-for-your-trust-and-congratulations")," \uD83D\uDE03",(0,k.jsx)("br",{}),c("your-equipment"),"\xa0",(0,k.jsx)("strong",{children:e.delivery_date?.[0]===e.delivery_date?.[1]?(0,k.jsxs)(k.Fragment,{children:[c("will-be-delivered-on"),"\xa0",e&&e.delivery_date?.[0]]}):(0,k.jsxs)(k.Fragment,{children:[c("will-be-delivered-between"),e&&e.delivery_date?.[0],c("common:and"),e&&e.delivery_date?.[1],"."]})}),(0,k.jsx)("br",{}),c("upon-shipment-follow-up-e-mail-will-be-sent-to"),": ",e?.user?.email||n?.email,(0,k.jsx)("br",{}),(0,k.jsx)("strong",{children:c("common:thanks")})]})}),(0,k.jsx)(m,{children:e&&(()=>{let t=e.carrier&&(-1!==e.carrier.name.toLowerCase().indexOf("mon domicile")||-1!==e.carrier.name.toLowerCase().indexOf("chronopost")&&-1===e.carrier.name.toLowerCase().indexOf("relais"));return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(d.X2,{children:[(0,k.jsxs)(d.JX,{xs:12,sm:12,md:8,lg:8,className:"DetailsOrderFixed",children:[(0,k.jsxs)(x,{children:[c("delivery:order-details"),": ",e?.reference]}),(0,k.jsx)(w,{}),e?.products?.map?.((t,r)=>k.jsx(K,{reduction:(t.current_combination?.old_price||t.old_price)&&(t.current_combination?.old_price?t.current_combination.old_price!=t.current_combination.price:t.old_price!=t.price),isGift:t.is_gift,item:t,index:r,nbItems:e.products.length,lang:j,isConfirmation:!0},`ProductCart${r}`)),(0,k.jsx)(w,{}),(0,k.jsx)(A,{t:c,lang:j,total:e.total,deliveryStartDate:e.delivery_date?.[0]||"",deliveryEndDate:e.delivery_date?.[1]||"",totalWS:e.total-e.total_shipping,totalS:e.total_shipping,products:e.products,isConfirmation:!0,vouchers:i})]}),(0,k.jsxs)(d.JX,{xs:12,sm:12,md:3,lg:3,mdOffset:1,lgOffset:1,children:[(0,k.jsx)(x,{children:c("shipping-address")}),(0,k.jsx)(w,{}),(0,k.jsx)(C,{t:c,lang:j,carrier:e.carrier,deliveryAddressSelected:o,invoiceAddressSelected:o,isConfirmation:!0}),t&&(0,k.jsx)(h,{onClick:()=>l(!0),children:c("delivery:change-my-address")})]})]}),(0,k.jsx)(d.X2,{style:{marginTop:"20px"},children:(0,k.jsxs)(d.JX,{xs:12,sm:12,md:8,lg:8,mdOffset:0,lgOffset:0,children:[(0,k.jsx)(x,{children:c("delivery-times")}),(0,k.jsx)(w,{}),v()]})})]})})()})]}):(0,k.jsx)(Q.Z,{})]})},et=r(78703),er=r.n(et),ei=r(5915),en=r(40346),eo=r(94019),es=function(){let{t:e}=(0,$.Z)("admin"),{locale:t,query:r}=(0,Z.useRouter)(),{country:i}=(0,R.pf)(),{data:{order:n,vouchers:d}={order:void 0,vouchers:void 0},mutate:a,error:l,isValidating:c}=(0,eo.ZP)(r?.id_order?(0,o.hJ)({id_order:r.id_order,key:r.key},t):null),{data:p}=(0,eo.ZP)((0,o.ui)()),m=async r=>{try{let i=await (0,en.Z)((0,o.SY)(n.id,t),{method:"PATCH",body:JSON.stringify(r)},{locale:t});await a(i.order)}catch(d){let s=d.data?.message||d.message;(0,ei.Z)(s||e("patch-order-error"),"error")}},x=(e,t)=>{let r=document.createElement("img");r.src=`https://track.effiliation.com/servlet/effi.revenue?id=660016374&montant=${t}&monnaie=eu&ref=${e}`,r.width=1,r.height=1,r.alt="",document.body.appendChild(r)};return((0,g.useEffect)(()=>
248{if(n&&n?.id&&!parseInt(n?.has_been_seen)){let e=document.createElement("script");return e.innerHTML=`
249          window.bvCallback = function (BV) {
250            BV.pixel.trackTransaction({
251              orderId: "${n.id}",
252              currency: "${n.currency}",
253              total: ${n.total-n.total_shipping},
254              discount: ${d.value||0},
255              items: ${JSON.stringify(n.products.map(e=>({name:e.name,price:e.price,quantity:e.qty,productId:`${e.id_product}`,discount:"0.00"})))},
256              email: "${n.customer_email}",
257              locale: "${t.replace("-","_")}"
258            });
259          };
260        `,document.head.appendChild(e),()=>{document.head.removeChild(e)}}},[n]),(0,g.useEffect)(()=>{n?.id&&!parseInt(n?.has_been_seen)&&("fr"===i.toLowerCase()&&x(n.id,n.total_without_taxes),window.bc_accountToken="5c1f82b5-b0d2-4df5-bb0d-18522e160563",window.bc_orderId=`hardloop_order_${n.id}`,window.bc_orderAmount=n.total_without_taxes,window.bc_orderCurrency="eur",window.bc_callOrderValidation=!0)},[n]),c)?(0,k.jsx)(Q.Z,{}):l||!n?(0,k.jsx)(s.Z,{text:`${l?.message?e(l.message):e("the-order-cannot-be-found")}`,linkMsg:e("start-shopping")}):(0,k.jsxs)(k.Fragment,{children:["fr"===i.toLowerCase()?(0,k.jsx)(er(),{src:"https://widget.botmind.io/public/botmindOrderValidation.js"}):null,(0,k.jsx)(ee,{order:n,patchAddress:m,countries:p,vouchers:d})]})};let ed=()=>(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)(n(),{children:(0,k.jsx)("meta",{name:"robots",content:"noindex, nofollow"})}),(0,k.jsx)(es,{})]});var ea=ed},51850:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/boutique/commande/shop/confirmation",function(){return r(1887)}])},65654:function(e){e.exports={darkGrey:"#11140f",yellow:"#e3aa10",lightGrey:"#f5f5f5",blue:"#25507a",green:"#298415",greenHover:"#1c620d",lightBlue:"#cce1ff",salesRed:"#9a0404",product:"product_product__j400b",productStep3:"product_productStep3__ZJ6wY",productLeft:"product_productLeft__tRWuP",description:"product_description__PVQXy",descriptionsLinks:"product_descriptionsLinks__xkSKs",productNormal:"product_productNormal__DGyR9",productAction:"product_productAction__w0WQw",wishlistAdded:"product_wishlistAdded__Rw2sb",productRight:"product_productRight__KyHd3",isGift:"product_isGift__uX5XN",itemPrice:"product_itemPrice__zlkSx",reduction:"product_reduction__GYWjK",oldPrice:"product_oldPrice__aLLeV",newPrice:"product_newPrice__9jUi4",gain:"product_gain__GQmtO",text:"product_text__HSasV",voucherCodeLine:"product_voucherCodeLine__Rn8H7"}}},function(e){e.O(0,[3154,1289,4234,4669,7629,5659,9774,2888,179],function(){return e(e.s=51850)}),_N_E=e.O()}]);

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.