1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c545fbf1-ca47-44fb-be43-5f07e8ba75da",e._sentryDebugIdIdentifier="sentry-dbid-c545fbf1-ca47-44fb-be43-5f07e8ba75da")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1530],{9483:(e,t,r)=>{"use strict";r.d(t,{DT:()=>i,TT:()=>o,_z:()=>l,jh:()=>s});var n=r(14816);let i=e=>/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e),o=e=>{/[a-z ]/i.test(e.key)||e.preventDefault()},a=[8,37,38,39,40,46],s=e=>{if(isNaN(Number(e.key))&&!a.includes(e.keyCode))return e.preventDefault()},l=e=>{let t=(e=>{if(!e)return"errors.address.not_saved.notification";if(1===e.length){if(7===e[0].field_type){if(4===e[0].error_type)return"errors.address.not_saved.forbidden_zipcode.notification";if(5===e[0].error_type)return"errors.address.wrong_zipcode.notification"}return"errors.address.single_wrong_field.notification"}return e.length>1?"errors.address.several_wrong_fields.notification":"errors.address.not_saved.notification"})(e);return{message:t,hasError:!0,fieldName:"errors.address.single_wrong_field.notification"===t?(e=>{switch(n.PU[e]){case"NAME":return"address.form.name";case"SURNAME":return"address.form.surname";case"ADDRESS_DETAILS":return"address.form.street_and_number";case"ZIP_CODE":return"address.form.zip_code";case"CITY":return"address.form.city";case"PHONE":return"address.form.phone";default:return""}})(e[0].field_type):void 0}}},11294:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.IconSuccess=void 0;let i=r(80263);t.IconSuccess=e=>{var{title:t,titleId:r,height:o="30px",width:a="30px"}=e,s=n(e,["title","titleId","height","width"]);return(0,i.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:a,height:o,fill:"none",viewBox:"0 0 24 24","aria-labelledby":r},s,{children:[t?(0,i.jsx)("title",{id:r,children:t}):null,(0,i.jsx)("path",{fill:"#464650",d:"m9.651 13.346 5.79-5.05c.337-.3 1.028-.428 1.366-.127.337.3.194.788-.144 1.089l-6.57 6.515a.93.93 0 0 1-.715.219.88.88 0 0 1-.636-.366L7.124 12.13c-.247-.364-.116-.838.293-1.058.408-.22.94-.103 1.187.26z"}),(0,i.jsx)("path",{fill:"#464650",fillRule:"evenodd",d:"M2 12C2 6.486 6.486 2 12 2s10 4.486 10 10-4.486 10-10 10S2 17.514 2 12m1 0c0 4.963 4.037 9 9 9s9-4.037 9-9-4.037-9-9-9-9 4.037-9 9",clipRule:"evenodd"})]}))},t.default=t.IconSuccess},19061:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>M});var n=r(80263),i=r(22662),o=r(70408),a=r.n(o),s=r(53239),l=r(44797),c=r(45191),d=r(73545),u=r(48917),f=r(18369),p=r(55571),_=r(14816),h=r(99916),E=r(78798),m=r(31376),O=r(72155),y=r(59432),S=r(67785),b=r(90489),g=r(86739),R=r(50294),A=r.n(R);function D(){let e=(0,g._)(["\n margin: 0;\n\n font-family: ",";\n font-weight: ",";\n"]);return D=function(){return e},e}function N(){let e=(0,g._)(["\n margin: "," 0 24px;\n\n color: ",";\n @media (max-width: ",") {\n margin: 0 0 24px;\n }\n font-size: ",";\n line-height: ",";\n\n ","\n"]);return N=function(){return e},e}function I(){let e=(0,g._)(["\n margin: "," 0;\n"]);return I=function(){return e},e}let x=(0,R.css)(D(),e=>{let{theme:t}=e;return t.fontFamily.title},e=>{let{theme:t}=e;return t.typography.heading.heading.fontWeight}),v=A().h1(N(),e=>{let{theme:t}=e;return t.space.s150},e=>{let{theme:t}=e;return t.colors.gray.s800},e=>{let{theme:t}=e;return t.breakpoint.tablet},e=>{let{theme:t}=e;return t.typography.heading.heading.fontSize},e=>{let{theme:t}=e;return t.typography.body.smallTextRegular.lineHeight},x),w=A().p(I(),e=>{let{theme:t}=e;return t.space.s150});function T(e){let{onDeleteError:t,onSaveError:r,onFetchError:i}=e,{t:o,i18n:a}=(0,d.s9)(),s=(0,b.Ay)();if(!s)return null;let{locale:l}=s;return(0,n.jsx)(O.Zp,{"data-testid":"select-address",children:(0,n.jsxs)(O.Zp.Content,{children:[(0,n.jsx)(v,{children:o("menu.my_account.my_addresses")}),(0,n.jsx)(w,{children:o("myprofile.text.my_addresses.remember")}),(0,n.jsx)(y.LanguageProvider,{locale:l,isPrivalia:null==a?void 0:a.isPrivalia,children:(0,n.jsx)(S.Auth,{member:s,children:(0,n.jsx)(h.AddressProvider,{children:(0,n.jsx)("div",{"data-testid":"address-list",children:(0,n.jsx)(E.AddressList,{addressType:m.MY_ADDRESSES,type:m.LIST,deletable:!0,onDeleteError:t,onAddError:r,onEditError:r,onFetchError:i,isStatic:!0,show:!0})})})})})]})})}var j=r(36063),C=r(90024),P=r(9483);let M=(0,c.r)()(()=>{let{t:e}=(0,d.s9)(),{track:t}=(0,i.useTracking)();(0,s.useEffect)(()=>{(0,f.N)(l.io.PAGE_RENDER,u.vj.INCREMENT,1,{pageName:p.Xf.ADDRESSES})},[]);
1let[r,o]=(0,s.useState)({hasError:!1,message:""});return(0,s.useEffect)(()=>{t("Loads Account Page",{"Interaction type":"Page View","Page Name":"My address"})},[]),(0,n.jsxs)(j.a,{sideMenuKey:_.Qf.ADDRESS_BOOK,children:[(0,n.jsx)(a(),{container:C.jE,open:r.hasError,duration:"med",onClose:()=>{o({...r,hasError:!1})},variant:"error",children:(null==r?void 0:r.fieldName)?"".concat(e(r.message)," ").concat(e(r.fieldName)):e(r.message)}),(0,n.jsx)(T,{onDeleteError:()=>{o({hasError:!0,message:"errors.general_retry.notification"})},onFetchError:()=>{o({hasError:!0,message:"errors.general_retry.notification"})},onSaveError:e=>{Array.isArray(e)?o((0,P._z)(e)):o({hasError:!0,message:"errors.general_retry.notification"})}})]})})},22212:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.IconNotification=void 0;let i=r(80263);t.IconNotification=e=>{var{title:t,titleId:r,height:o="30px",width:a="30px"}=e,s=n(e,["title","titleId","height","width"]);return(0,i.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:a,height:o,viewBox:"0 0 24 24","aria-labelledby":r},s,{children:[t?(0,i.jsx)("title",{id:r,children:t}):null,(0,i.jsx)("path",{fill:"#464650",fillRule:"evenodd",d:"m18.595 13.801-.5-.693c-.8-1.122-.84-1.943-.885-2.894-.026-.554-.053-1.128-.227-1.787-.23-.869-.839-3.142-2.984-4.045v-.34C14 3.06 13 2 12 2s-2 1.06-2 2.042v.34c-2.144.903-2.753 3.176-2.983 4.045-.175.659-.202 1.233-.228 1.787-.045.951-.084 1.772-.883 2.894l-.5.692c-.557.764-1.355 1.861-1.716 2.404-.634.953-.652 3.059-.652 3.296a.5.5 0 0 0 .5.5H9.04c.193 1.324 1.182 2 2.96 2 1.777 0 2.766-.676 2.96-2h5.501a.5.5 0 0 0 .5-.5c0-.237-.017-2.343-.652-3.296-.36-.543-1.158-1.639-1.714-2.403M4.052 19c.037-.681.154-1.518.37-2.016q.015.002.03.007.023.008.047.009h15a.2.2 0 0 0 .048-.009l.03-.007c.215.498.332 1.334.37 2.016zM12 21c-1.326 0-1.803-.387-1.945-1h3.89c-.14.613-.619 1-1.945 1m-5.786-6.612.506-.7c.97-1.36 1.02-2.41 1.068-3.425v-.01c.025-.522.049-1.016.196-1.57C8.437 6.968 9.303 5 12 5s3.563 1.968 4.017 3.683c.147.557.171 1.053.196 1.578v.002c.048 1.015.098 2.065 1.067 3.425l.507.701c.352.483.792 1.09 1.163 1.611H5.05c.37-.522.811-1.129 1.163-1.612",clipRule:"evenodd"})]}))},t.default=t.IconNotification},44085:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationIcon=void 0;let i=r(80263),o=n(r(93527)),a=n(r(11294)),s=n(r(16549)),l=r(50164);t.NotificationIcon=({variant:e,icon:t})=>{var r;if(t)return(e&&console.warn("Notification: variant prop is being overridden by a customIcon prop"),"function"==typeof t)?null!=(r=t())?r:null:t;switch(e){case"error":return(0,i.jsx)(l.StyledIconContainer,{status:"error",children:(0,i.jsx)(o.default,{width:"24",height:"24"})});case"success":return(0,i.jsx)(l.StyledIconContainer,{status:"ok",children:(0,i.jsx)(a.default,{width:"24",height:"24"})});case"warning":return(0,i.jsx)(l.StyledIconContainer,{status:"warn",children:(0,i.jsx)(s.default,{width:"24",height:"24"})});case"information":return(0,i.jsx)(l.StyledIconContainer,{status:"info",children:(0,i.jsx)(s.default,{width:"24",height:"24"})});default:return null}}},46648:(e,t,r)=>{"use strict";r.d(t,{B:()=>i});var n=r(2450);let i={mobile:e=>t=>(0,n.css)(["@media screen and (max-width:calc("," - 0.02px)){","}"],e=>{let{theme:t}=e;return t.breakpoint.tablet},e(t)),tablet:e=>t=>(0,n.css)(["@media screen and (min-width:",") and (max-width:calc("," - 0.02px)){","}"],e=>{let{theme:t}=e;return t.breakpoint.tablet},e=>{let{theme:t}=e;return t.breakpoint.desktop},e(t)),tabletPortrait:e=>t=>(0,n.css)(["@media screen and (min-width:",") and (max-width:calc("," - 0.02px)){","}"],e=>{let{theme:t}=e;return t.breakpoint.tablet},e=>{let{theme:t}=e;return t.breakpoint.tabletMedium},e(t)),fromTabletOn:e=>t=>(0,n.css)(["@media screen and (min-width:","){","}"],e=>{let{theme:t}=e;return t.breakpoint.tablet},e(t)),upToTabletPortrait:e=>t=>(0,n.css)(["@media screen and (max-width:calc("," - 0.02px)){","}"],e=>{let{theme:t}=e;return t.breakpoint.tabletMedium},e(t)),tabletLandscape:e=>t=>(0,n.css)(["@media screen and (min-width:",") and (max-width:calc("," - 0.02px)){","}"],e=>{let{theme:t}=e;return t.breakpoint.tabletMedium},e=>{let{theme:t}=e;return t.breakpoint.desktop},e(t)),fromTabletLandscapeOn:e=>t=>(0,n.css)(["@media screen and (min-width:","){","}"],e=>{let{theme:t}=e;return t.breakpoint.tabletMedium},e(t)),notDesktop:e=>t=>(0,n.css)(["@media screen and (max-width:calc("," - 0.02px)){","}"],e=>{let{theme:t}=e;return t.breakpoint.desktop},e(t)),desktop:e=>t=>(0,n.css)(["@media screen and (min-width:","){","}"],e=>{let{theme:t}=e;return t.breakpoint.desktop},e(t)),desktopHD:e=>t=>(0,n.css)(["@media screen and (min-width:","){","}"],e=>{let{theme:t}=e;return t.breakpoint.desktopHD},e(t))}},50164:function(e,t,r){"use strict";var n,i=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);
1(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||(n=function(e){return(n=Object.getOwnPropertyNames||function(e){var t=[];for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[t.length]=r);return t})(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r=n(e),a=0;a<r.length;a++)"default"!==r[a]&&i(t,e,r[a]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.NotificationWrapper=t.StyledText=t.StyledIconContainer=t.StyledNotification=t.ANIMATION_DURATION=void 0;let s=a(r(2450));t.ANIMATION_DURATION=400,t.StyledNotification=s.default.div` 2 /* Display & Box Model */ 3 display: flex; 4 align-items: center; 5 width: 360px; 6 box-sizing: border-box; 7 padding: 12px 16px; 8 border: 1px solid; 9 border-radius: 2px; 10 11 /* Color */ 12 ${({variant:e})=>e&&(e=>{let t=(e=>{switch(e){case"error":return"error";case"information":return"info";case"success":return"ok";case"warning":return"warn"}})(e);return(0,s.css)` 13 color: ${({theme:e})=>e.colors.status[t]}; 14 background-color: ${({theme:e})=>e.colors.status.light[t]}; 15 border-color: ${({theme:e})=>e.colors.status[t]}; 16 `})(e)}; 17 box-shadow: ${({theme:e})=>e.shadow.z4}; 18 19 @media (min-width: ${({theme:e})=>e.breakpoint.desktop}) { 20 width: auto; 21 max-width: 416px; 22 padding: 12px 32px; 23 } 24`;let l=(0,s.css)` 25 ${t.StyledNotification} { 26 transition-property: transform; 27 transition-duration: inherit; 28 transition-timing-function: inherit; 29 } 30 31 &.enter-active, 32 &.enter-done { 33 ${t.StyledNotification} { 34 transform: translateY(8px); 35 @media (min-width: ${({theme:e})=>e.breakpoint.desktop}) { 36 transform: translateY(16px); 37 } 38 } 39 } 40`,c=(0,s.css)` 41 opacity: 0; 42 43 transition-property: opacity; 44 transition-duration: ${t.ANIMATION_DURATION}ms; 45 transition-timing-function: ease-in-out; 46 47 &.enter-active, 48 &.enter-done { 49 opacity: 1; 50 } 51 52 ${l}; 53`;t.StyledIconContainer=s.default.div` 54 /* Display & Box Model */ 55 display: flex; 56 align-items: center; 57 margin-right: 16px; 58 59 path { 60 fill: ${({theme:e,status:t})=>e.colors.status[t]}; 61 } 62 img { 63 filter: ${({theme:e,status:t})=>e.colors.css[(e=>{switch(e){case"error":return"error";case"info":return"informative";case"ok":return"success";case"warn":return"warning"}})(t)]}; 64 } 65`,t.StyledText=s.default.p` 66 /* Display & Box Model */ 67 flex: 1; 68 margin: 0; 69 70 /* Text */ 71 ${({theme:e})=>(0,s.css)(e.typography.body.text)} 72`,t.NotificationWrapper=s.default.div` 73 ${c}; 74`},55571:(e,t,r)=>{"use strict";r.d(t,{DC:()=>s,L3:()=>l,Xf:()=>c,gN:()=>o,iU:()=>d,kk:()=>a,ll:()=>n,sr:()=>i});var n=function(e){return e.CLICK="Click",e.VIEW_PAGE="View Page",e}({}),i=function(e){return e.BRAND_NAME="Brand Name",e.CLICK_NAME="Click Name",e.PAGE_NAME="Page Name",e.CATEGORY_NAME="Category Name",e.REQUIRED_UNIT="Required Unit",e}({}),o=function(e){return e.IS_FILTER="Is Filter",e.FILTERS_USED="Filters Used",e.COUPON_NAME="Coupon Name",e.DISCOUNT_AMOUNT="Discount Amount",e.COUPON_ID="Coupon ID",e.CONTACT_REASON="Contact Reason",e.SPECIFIC_TOPIC="Specific Topic",e.ADDITIONAL_FILE="Additional File",e.OFFER_STATUS="Offer Status",e.OFFER_POSITION="Offer Position",e.FILTER_CATEGORY="Filter Category",e.TOTAL_CASHBACK="Total Cashback",e.STAGE="Stage",e.BUSINESS="Business",e.FILTERS_LIST="Filters List",e.BANNER_NAME="Banner Name",e.BANNER_POSITION="Banner Position",e}({}),a=function(e){return e.BUSINESS_TYPE="RoseDeals",e.FILTER_STAGE_ACCESS="Access",e}({}),s=function(e){return e.ACTIVATE_OFFER="RD Activate offer",e.DEACTIVATE_OFFER="RD Deactivate offer",e.SEE_ALL_OFFERS="RD See all offers",e.HOW_DOES_ROSEDEALS_WORK="RD How does Rosedeals work?",e.SEND_PROOF_OF_PURCHASE="RD Send proof of purchase",e.ADD_MY_IBAN="RD Add my IBAN",e.OPEN_MY_ROSEDEALS_SPACE="RD My Rosedeal
74s space",e.SEE_MY_ACTIVATED_OFFERS="RD See my activated offers",e.VALIDATE_PROOFS="RD Validate proofs",e.VALIDATE_IBAN="RD Validate IBAN",e.DELETE_IBAN="RD Delete IBAN",e.MODIFY_IBAN="RD Modify IBAN",e.SEND_CONTACT_REQUEST="RD Send contact request",e.NEED_HELP="RD Need Help",e.MORE_INFOS="RD More information",e.RESEND_REQUEST="RD Resend my request",e.PROVIDE_IBAN="RD Provide my IBAN",e.START_CASHBACK="RD Start Cashback Info page",e.FILTER_CATALOG="RD Use Catalog Filter",e}({}),l=function(e){return e.ROSEDEALS_ONBOARDING_STEP="RD Onboarding step {0}",e.ROSEDEALS_CATALOG="Rosedeals catalog",e.ROSEDEALS_MY_SPACE="My Rosedeals space",e.ROSEDEALS_SUPPORT="RD Contact form",e.ROSEDEALS_REFUND_REQUEST="RD Refund Request",e.ROSEDEALS_PROOF_OF_PURCHASE="RD Proof of purchase",e.ROSEDEALS_SELECT_OFFERS="RD Select offers",e.ROSEDEALS_REQUEST_RECAP="RD Request recap",e.ROSEDEALS_REFUND_COMPLETE="RD Refund Complete",e.ROSEDEALS_IBAN_INPUT="RD IBAN input",e.ROSEDEALS_MODIFY_IBAN="RD Modify my IBAN",e.ROSEDEALS_OFFER_BOTTOM_SHEET="RD Offer bottom sheet",e}({}),c=function(e){return e.ADDRESSES="addresses",e.WALLET="wallet",e}({}),d=function(e){return e.BRANDS="Marques",e.CATEGORIES="Rayons",e}({})},57651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useReference=void 0;let n=r(53239);t.useReference=e=>{let t,[r,i]=(0,n.useState)();return(0,n.useEffect)(()=>{let r=(e=>e&&("function"==typeof e?e():e))(e);return r?i(r):i(t=(()=>{let e=document.body,t=document.createElement("div");
74return e.prepend?e.prepend(t):e.insertBefore(t,e.firstChild),t})()),()=>{(e=>document.body.contains(e)&&document.body.removeChild(e))(t)}},[e]),r}},60520:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.IconBack=void 0;let i=r(80263);t.IconBack=e=>{var{title:t,titleId:r,height:o="30px",width:a="30px"}=e,s=n(e,["title","titleId","height","width"]);return(0,i.jsxs)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",width:a,height:o,viewBox:"0 0 24 24","aria-labelledby":r},s,{children:[t?(0,i.jsx)("title",{id:r,children:t}):null,(0,i.jsx)("path",{fill:"#464650",fillRule:"evenodd",d:"M19.494 11.5H5.644l6.215-6.66a.499.499 0 1 0-.73-.682l-7 7.5c-.009.01-.008.023-.016.032a.5.5 0 0 0-.096.192q-.007.028-.012.057a.5.5 0 0 0 .028.247q.001.005.002.012c.005.012.018.017.023.03.021.038.04.078.071.112l7 7.5a.5.5 0 0 0 .706.024.5.5 0 0 0 .024-.706L5.644 12.5h13.85a.5.5 0 0 0 0-1"})]}))},t.default=t.IconBack},62056:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/myaccount/addresses",function(){return r(19061)}])},70408:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)0>t.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Notification=t.getDuration=void 0;let o=r(80263),a=i(r(83775)),s=r(53239),l=r(77900),c=r(93861),d=r(50164),u=r(44085),f=r(57651);t.getDuration=e=>{switch(e){case"min":return 3e3;case"med":return 5e3;case"max":return 1e4;default:return}},t.Notification=(0,s.forwardRef)((e,r)=>{let{children:i,open:p,variant:_="error",container:h,onClose:E,duration:m="fixed",customIcon:O,disableIcon:y,text:S,portalContainer:b}=e,g=n(e,["children","open","variant","container","onClose","duration","customIcon","disableIcon","text","portalContainer"]),R=(0,f.useReference)(h),[A,D]=(0,s.use
74State)(null),{styles:N,attributes:I}=(0,l.usePopper)(R,A);return(0,o.jsx)(a.default,{container:b,children:(0,o.jsx)(c.CSSTransition,{appear:!0,in:p,timeout:d.ANIMATION_DURATION,mountOnEnter:!0,unmountOnExit:!0,onEntered:()=>{"fixed"!==m&&"function"==typeof E&&setTimeout(()=>E(),(0,t.getDuration)(m))},children:(0,o.jsx)(d.NotificationWrapper,Object.assign({ref:D,style:N.popper},I.popper,{children:(0,o.jsxs)(d.StyledNotification,Object.assign({ref:r,variant:_},g,{children:[!y&&(0,o.jsx)(u.NotificationIcon,{variant:_,icon:O}),(0,o.jsx)(d.StyledText,{children:i})]}))}))})})}),t.Notification.displayName="Notification",t.default=t.Notification}},e=>{e.O(0,[562,6763,3087,7900,9631,1865,5451,9465,8788,8798,6761,636,6593,8792],()=>e(e.s=62056)),_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.