1/*! For license information please see 23.63a106f1.chunk.js.LICENSE.txt */ 2(this["webpackJsonpchef2.0"]=this["webpackJsonpchef2.0"]||[]).push([[23],{188:function(e,t,a){"use strict";a.d(t,"g",(function(){return o})),a.d(t,"m",(function(){return c})),a.d(t,"k",(function(){return s})),a.d(t,"l",(function(){return l})),a.d(t,"n",(function(){return d})),a.d(t,"i",(function(){return u})),a.d(t,"h",(function(){return p})),a.d(t,"a",(function(){return b})),a.d(t,"o",(function(){return h})),a.d(t,"j",(function(){return m})),a.d(t,"b",(function(){return j})),a.d(t,"c",(function(){return g})),a.d(t,"f",(function(){return x})),a.d(t,"d",(function(){return f})),a.d(t,"e",(function(){return v}));var n=a(14),r=a.n(n),i=a(63);function o(e,t,a){if(!t)return;const n=document.createElement("script");n.setAttribute("async",""),n.setAttribute("id",a),n.src=e,t.appendChild(n)}function c(e,t){return e.replace("${variant}",t||500).replace("${channel}","web")}function s(e,t){return parseInt(e/100*t)}function l(e,t,a){const n=r.a.duration(e,"seconds"),o=n.hours(),c=n.minutes(),s=n.days();return t?a?[{value:s.toString().padStart(2,"0"),label:i.a.t("Giorni")},{value:o.toString().padStart(2,"0"),label:i.a.t("Ore")},{value:n.minutes().toString().padStart(2,"0"),label:i.a.t("Minuti")},{value:n.seconds().toString().padStart(2,"0"),label:i.a.t("Secondi")}]:s.toString().padStart(2,"0")+i.a.t("g")+" : "+o.toString().padStart(2,"0")+i.a.t("h")+" : "+n.minutes().toString().padStart(2,"0")+i.a.t("m")+" : "+n.seconds().toString().padStart(2,"0")+i.a.t("s"):s||o?(24*s+o).toString().padStart(2,"0")+":"+n.minutes().toString().padStart(2,"0")+" "+i.a.t("ore"):c.toString().padStart(2,"0")+" min"}function d(e,t){const a=[];for(let n=0;n<e.length;n+=t){const r=e.slice(n,n+t);a.push(r)}return a}function u(e){for(var t=0,a=parseInt(e,10)||0;a>=1024&&++t;)a/=1024;return a.toFixed(a<10&&t>0?1:0)+["bytes","kb","mb","gb"][t]}function p(e){for(var t="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=0;n<e;n++)t+=a.charAt(Math.floor(62*Math.random()));return t}function b(e){return{id:"simple-tab-".concat(e),"aria-controls":"simple-tabpanel-".concat(e)}}function h(e){let t=[...e.trainers_list];return(e.trainers_list.length>1?e.trainers_list.reduce(((e,a,n)=>{const r=t.findIndex((e=>e.last_name===a.last_name&&e.first_name!==a.first_name));if(r>-1){const n=a.first_name+" "+i.a.t("e")+" "+t[r].first_name+" "+a.last_name;t=t.filter((e=>e.last_name!==a.last_name)),e.push(n)}else t.find((e=>e.last_name===a.last_name))&&e.push(a.last_name);return e}),[]):[e.trainers_list.length?e.trainers_list[0].first_name+" "+e.trainers_list[0].last_name:""]).join(", ")}function m(e,t){return e.reduce(((e,t)=>(t.items.forEach((t=>{"d"===t.type?"p"!==t.amount_type?(e.total-=t.amount,e.annuaryTotal-=s(e.annuaryTotal,x(e.subtotal,t.amount)+100)):(e.total-=s(e.total,t.amount),e.annuaryTotal-=s(e.annuaryTotal,t.amount)):(e.total+=t.amount,e.subtotal+=t.amount)})),e)),{total:t.amount,subtotal:t.amount,annuaryTotal:t.amount_yearbook})}function j(e,t){for(var a=[],n=0;n<e.length;n+=t)a.push(e.slice(n,n+t));return a}function g(){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const t=String(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(".").map((e=>Number(e)||0)),a=String(e).split(".").map((e=>Number(e)||0)),n=Math.max(t.length,a.length);for(let r=0;r<n;r++){const e=t[r]||0,n=a[r]||0;if(e>n)return 1;if(e<n)return-1}return 0}function x(e,t){return 0===e?t>0?1/0:t<0?-1/0:0:(t-e)/e*100}function f(e){if(null===e||void 0===e||Number.isNaN(Number(e)))return null;const t=Number(e);return"\u20ac ".concat((t/100).toFixed(2).replace(".",","))}function v(e){return e&&null!==e.value&&void 0!==e.value?e.unit?"".concat(e.value," ").concat(e.unit):"".concat(e.value):"-"}},191:function(e,t,a){"use strict";a.d(t,"a",(function(){return p})),a.d(t,"b",(function(){return h})),a.d(t,"c",(function(){return m}));var n=a(0),r=a.n(n),i=a(5),o=a(79),c=a(645),s=a(717),l=a(722),d=a(1);const u=Object(c.a)(l.a)((e=>{let{theme:t}=e;return{textTransform:"none",fontWeight:"bold ",borderRadius:"14px",padding:"10px 24px","&.Mu
2iButton-textPrimary":{color:"#fff",backgroundColor:"#E90133","&.MuiLoadingButton-loading":{color:"transparent"},"& .MuiLoadingButton-loadingIndicator":{color:"#fff"},"&.Mui-disabled":{backgroundColor:"#bcbcbc",opacity:1,color:"#dedede"}},"&.MuiButton-textSecondary":{backgroundColor:"#F5F5F5",color:"#26292D","&.MuiLoadingButton-loading":{color:"transparent"},"& .MuiLoadingButton-loadingIndicator":{color:"#26292D"}},"&:hover":{textDecoration:"none"},"&.Mui-disabled":{opacity:.7},"&.MuiButton-sizeSmall":{padding:"4px 10px",borderRadius:"10px"}}})),p=r.a.forwardRef((function(e,t){return Object(d.jsx)(u,{...e,ref:t})})),b=Object(c.a)(s.a)((e=>{let{theme:t}=e;return{backgroundColor:"#41474e",fontSize:"2rem",padding:"21px","&:hover":{backgroundColor:"#41474e"},"&.Mui-disabled":{backgroundColor:"#41474e",color:"inherit",opacity:.7},"&.MuiIconButton-sizeSmall":{padding:"7px",fontSize:"1.5rem"}}})),h=r.a.forwardRef((function(e,t){return Object(d.jsx)(b,{...e,ref:t})}));function m(e){const{children:t,socialCallBack:a,provider:n,setLoading:c,...s}=e,{i18n:l}=Object(o.a)(),u=Object(i.i)(),b=(r.a.useRef(null),()=>{if(c(!0),"fb"===n&&window.FB.login((e=>{e.authResponse?a(e.authResponse.accessToken):c(!1)}),{scope:"email,public_profile",return_scopes:!0}),"google"===n){localStorage.setItem("return_url",u.pathname+u.search);const e="https://accounts.google.com/o/oauth2/v2/auth?response_type=id_token&client_id=".concat("883622940720-obgi8vlav7j5slpdn2nabt5ah2g5l0gf.apps.googleusercontent.com","&redirect_uri=").concat("https://www.academia.tv/callback/google").concat(u.state?"&state="+encodeURIComponent(JSON.stringify({to:u.state.from.pathname||u.state.from})):"","&scope=openid%20email%20profile&nonce=").concat(function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:16;const t=new Uint8Array(e);return window.crypto.getRandomValues(t),Array.from(t,(e=>e.toString(16).padStart(2,"0"))).join("")}());window.location.href=e}"apple"===n&&window.AppleID.auth.signIn()});return r.a.useEffect((()=>{if("apple"===n)return window.AppleID.auth.init({clientId:"com.chefincamicia.academia.web",scope:"name email",state:"IT",redirectURI:"https://www.academia.tv/login/apple",usePopup:!0}),document.addEventListener("AppleIDSignInOnSuccess",(e=>{a(e.detail.authorization.id_token)})),document.addEventListener("AppleIDSignInOnFailure",(e=>{c(!1)})),()=>{document.removeEventListener("AppleIDSignInOnSuccess",(e=>{a(e.detail.authorization.id_token)})),document.removeEventListener("AppleIDSignInOnFailure",(e=>{c(!1)}))}}),[]),r.a.useEffect((()=>{if("google"===n&&u.hash){const e=new URLSearchParams(u.hash.substring(1));if(e.has("id_token")){c(!0);const t=e.get("id_token");a(t)}}}),[u.hash]),Object(d.jsx)(p,{onClick:()=>b(),...s,children:t})}},192:function(e,t,a){"use strict";var n=a(0),r=a.n(n),i=a(56),o=a(645),c=a(188),s=a(1);const l=Object(o.a)("img")((e=>{let{theme:t}=e;return{}}));t.a=e=>{const{src:t,useSet:a,...n}=e,o=Object(i.a)(),d=r.a.useRef(),[u,p]=r.a.useState();return r.a.useLayoutEffect((()=>{let e;a&&(e={srcSet:["".concat(Object(c.m)(t,2e3)," 2000w"),"".concat(Object(c.m)(t,1200)," 1200w"),"".concat(Object(c.m)(t,800)," 800w"),"".concat(Object(c.m)(t,600)," 600w"),"".concat(Object(c.m)(t,300)," 300w"),"".concat(Object(c.m)(t,100)," 100w")].join(", "),...!!a.sizes&&{sizes:a.sizes.reduce(((e,t)=>(1===t.length?e.push(t[0]):Array.isArray(t[1])?e.push("".concat(o.breakpoints[t[0]](t[1][0],t[1][1]).replace("@media ","")," ").concat(t[2])):e.push("".concat(o.breakpoints[t[0]](t[1]).replace("@media ","")," ").concat(t[2])),e)),[]).join(", ")}}),p({loading:"lazy",src:Object(c.m)(t,d.current.parentNode.clientWidth),...e})}),[t]),Object(s.jsx)(l,{ref:d,...n,...u})}},195:function(e,t,a){"use strict";var n=a(0),r=a.n(n),i=a(5),o=a(79);a(63);t.a=()=>{const{t:e,i18n:t}=Object(o.a)(),{pathname:a}=Object(i.i)(),[n,c]=r.a.useState(!1),[s,l]=r.a.useState(!1),[d,u]=r.a.useState(!1),[p,b]=r.a.useState(!1);return r.a.useEffect((()=>{c(Boolean(Object(i.g)(a,{path:["/".concat(t.language,"/").concat(e("scuola")),"/".concat(t.language,"/").concat(e("scuola"),"/:classSlug"),"/".concat(t.language,"/").concat(e("scuola"),"/:classSlug/").concat(e("moduli")),"/".concat(t.language,"/").concat(e("scuola"),"/:classSlug/").concat(e("moduli"),"/:moduleSlug"),"/".concat(t.language,"/").concat(e("scuola"),"/:classSlug/").concat(e("moduli"),"/:moduleSlug/").concat(e("lezioni"),"/:chapterSlug"),"/".concat(t.language,"/").concat(e("scuola"),"/:classSlug/").concat(e("moduli"),"/:moduleSlug/").concat(e("lezioni"),"/:chapterSlug/:test")]})))}),[a]),r.a.useEffect((()=>{l(Boolean(Object(i.g)(a,{path:["/".concat(t.language,"/").concat(e("scopri"),"/").concat(e("benessere")),"/".concat(t.language,"/").concat(e("benessere")),"/".concat(t.language,"/").concat(e("benessere"),"/:classSlug"),"/".concat(t.language,"/").concat(e("benessere"),"/:classSlug/").concat(e("moduli")),"/".concat(t.language,"/").concat(e("benessere"),"/:classSlug/").concat(e("moduli"),"/:moduleSlug"),"/".concat(t.language,"/").concat(e("benessere"),"/:classSlug/").concat(e("moduli"),"/:moduleSlug/").concat(e("lezioni"),"/:chapterSlug"),"/".concat(t.language,"/").concat(e("benessere"),"/:classSlug/").concat(e("moduli"),"/:moduleSlug/").concat(e("lezioni"),"/:chapterSlug/:test")]})))}),[a]),r.a.useEffect((()=>{u(Boolean(Object(i.g)(a,{path:["/".concat(t.language,"/").concat(e("horeca")),"/".concat(t.language,"/").concat(e("horeca-brand"),"/:brandSlug"),"/".concat(t.language,"/").concat(e("horeca"),"/:courseSlug"),"/".concat(t.language,"/").concat(e("horeca"),"/:courseSlug/").concat(e("lezioni"),"/:lessonSlug"),"/".concat(t.language,"/").concat(e("horeca"),"/:courseSlug/").concat(e("lezioni"),"/:lessonSlug/:test")]})))}),[a]),r.a.useEffect((()=>{b((()=>s?{key:"wellness",translation:e("benessere"),fullTranslation:e("benessere"),layoutColor:"#F3F1EB"}:n?{key:"basics",translation:e("scuola"),fullTranslation:e("La Scuola"),layoutColor:"#121416"}:!!d&&{key:"horeca",translation:e("horeca"),fullTranslation:e("Horeca"),layoutColor:"#121416"}))}),[s,n,d]),{isBasic:n,isWellness:s,isHoreca:d,packageType:p}}},196:function(e,t,a){"use strict";a.d(t,"a",(function(){return v}));var n=a(0),r=a.n(n),i=a(714),o=a(725),c=a(726),s=a(727),l=a(111),d=a(720),u=a(717),p=a(202),b=
2a.n(p),h=a(656),m=a(1);const j=Object(i.a)({root:{"& .MuiDialog-paper":{backgroundColor:"#26292D",borderRadius:10},"&.wellness":{"& .MuiDialog-paper":{backgroundColor:"#fff"}}}})(o.a),g=Object(i.a)({root:{padding:0}})(c.a),x=Object(i.a)((e=>({root:{padding:0},truncate:{whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",paddingRight:"30px"},closeButton:{position:"absolute",right:e.spacing(1),top:e.spacing(1),color:e.palette.grey[500]}})))((e=>{const{children:t,classes:a,onClose:n,...r}=e;return Object(m.jsxs)(s.a,{sx:{minHeight:"60px",p:0},...r,children:[t&&Object(m.jsx)(l.a,{p:2.5,pr:6,children:Object(m.jsx)(d.a,{component:"div",className:a.truncate,variant:"body1",children:Object(m.jsx)("b",{children:t})})}),Boolean(n)&&Object(m.jsx)(u.a,{"aria-label":"close",className:a.closeButton,onClick:()=>{n()},size:"large",children:Object(m.jsx)(b.a,{})})]})})),f=r.a.forwardRef((function(e,t){return Object(m.jsx)(h.a,{direction:"up",ref:t,...e})}));function v(e){const{children:t,open:a,title:n,fullScreen:r,handleClose:i,hideTitle:o,...c}=e;return Object(m.jsxs)(j,{fullScreen:r||!1,open:a,onClose:()=>i(),TransitionComponent:f,...c,children:[!o&&Object(m.jsx)(x,{onClose:()=>i(),children:n}),Object(m.jsx)(g,{children:t})]})}},198:function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));a(0);var n=a(645),r=a(701),i=a(463),o=a(734),c=a(688),s=a(1);const l=Object(n.a)(r.a)((e=>{let{theme:t}=e;return{fontSize:18,color:"#B1B8BE",fontWeight:"bold","&.Mui-focused":{color:"#B1B8BE"}}})),d=Object(n.a)(i.c)((e=>{let{theme:t}=e;return{borderRadius:10,backgroundColor:"#2F3337",border:"1px solid #42474d",fontSize:16,padding:"10px 12px",color:"#fff",fontFamily:"Raleway",boxSizing:"border-box",height:43,"label + &":{marginTop:t.spacing(3)},"&.MuiAutocomplete-inputRoot":{padding:0,paddingLeft:12},"& .MuiAutocomplete-popupIndicator":{color:"#B1B8BE"},"& .MuiInputBase-input":{position:"relative","&.Mui-disabled":{WebkitTextFillColor:"gray"}},"& .MuiButton-contained":{}}}));function u(e){const{fullWidth:t,label:a,InputProps:n,inputProps:r,InputLabelProps:i,...c}=e;return Object(s.jsxs)(o.a,{fullWidth:t,variant:"standard",children:[Boolean(a)&&Object(s.jsx)(l,{...i,shrink:!0,children:a}),Object(s.jsx)(d,{...c,...n,inputProps:r})]})}const p=Object(n.a)(c.a)((e=>{let{theme:t}=e;return{"& label, & label.Mui-focused, ":{color:"#b1b8be",fontSize:"0.9rem"},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline":{borderColor:"#42474d",borderWidth:"1.2px"},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#b1b8be",borderWidth:"1.2px"},"&.light":{"& label, & label.Mui-focused, ":{color:"#B2B8BD"},"& .MuiOutlinedInput-root .MuiOutlinedInput-notchedOutline":{borderColor:"#B2B8BD",borderWidth:"1.5px"},"& .MuiOutlinedInput-root.Mui-focused .MuiOutlinedInput-notchedOutline":{borderColor:"#B2B8BD",borderWidth:"1.5px"},"& .MuiOutlinedInput-root":{backgroundColor:"#FFF"},"& .MuiOutlinedInput-input":{color:t.palette.dark.main}},"& .MuiOutlinedInput-root":{borderRadius:"10px",backgroundColor:"#26292D"},"& .MuiOutlinedInput-input":{"&.MuiInputBase-inputSizeSmall":{padding:"10px"},padding:"15px",color:"#fff"},"& .MuiInputLabel-outlined":{transform:"translate(14px, 17px) scale(1)"},"& .MuiInputLabel-outlined.MuiInputLabel-shrink":{transform:"translate(14px, -6px) scale(0.75)"}}}));t.b=p},201:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n,r,i=a(0);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},o.apply(null,arguments)}function c(e,t){let{title:a,titleId:c,...s}=e;return i.createElement("svg",o({id:"Livello_1",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 346.1 61.3",style:{enableBackground:"new 0 0 346.1 61.3"},xmlSpace:"preserve",ref:t,"aria-labelledby":c},s),a?i.createElement("title",{id:c},a):null,n||(n=i.createElement("style",{type:"text/css"},"\n\t.st0{fill:currentColor;}\n")),r||(r=i.createElement("g",null,i.createElement("path",{className:"st0",d:"M42.9,53.5c-4.3-4.7-6.7-10.9-6.7-17.9c0-6.9,2.6-13.2,6.9-17.9s10.1-7.4,16.6-7.4c1.6,0,3.1,0.1,4.7,0.5h0.1 l-1.6,7.9h-0.1c-1-0.3-2.1-0.4-3.2-0.4c-4.3,0-8.4,1.8-11.3,5c-3.1,3.4-4.7,7.4-4.7,12.2c0,9.6,7,17,15.9,17c1.2,0,2.2-0.1,3.2-0.4 h0.1l1.6,7.9h-0.1c-1.7,0.4-3.2,0.5-4.8,0.5C53,60.8,47,58.2,42.9,53.5z"}),i.createElement("path",{className:"st0",d:"M83.3,10.8h3.6V11l15.8,49.5h-8v-0.1l-2.1-6.9H77.7l-2.1,7h-7.9v-0.3L83.3,10.8z M85.1,29.2l-5,15.9h10.1 L85.1,29.2z"}),i.createElement("path",{className:"st0",d:"M16.2,10.8h3.6V11l15.8,49.5h-8v-0.1l-2.1-6.9H10.6l-2.1,7H0.7v-0.3L16.2,10.8z M18,29.2l-4.9,15.9h10.1 L18,29.2z"}),i.createElement("path",{className:"st0",d:"M107.9,10.8h7c6.6,0.1,12.6,2.7,16.8,7.2c4.3,4.4,6.7,10.6,6.7,17.5S136,48.5,131.7,53 c-4.3,4.5-10.1,7.2-16.7,7.4h-7.2V10.8H107.9z M130.9,35.5c0-9.2-6.5-16.1-15.5-16.4v33C124.3,51.7,130.9,44.6,130.9,35.5z"}),i.createElement("path",{className:"st0",d:"M142.8,10.8h23.9v8.3h-16.3v15.8h13.9v8.3h-13.9v8.9h16.4v8.3h-23.9V10.8H142.8z M150.2,0.6h6.3l2.1,7.2h-4.7 L150.2,0.6z"}),i.createElement("path",{className:"st0",d:"M207.7,10.8h3v49.6h-7.5V36.3l-11,19.2l-0.1-0.3l-11-18.9v24.1h-7.5V10.8h3V11L192,39.3L207.7,10.8z"}),i.createElement("path",{className:"st0",d:"M218,60.4V10.8h7.5v49.6H218z"}),i.createElement("path",{className:"st0",d:"M246,10.8h3.6V11l15.8,49.5h-8v-0.1l-2.1-6.9h-14.9l-2.1,7h-7.9v-0.3L246,10.8z M247.9,29.2l-5,15.9H253 L247.9,29.2z"}),i.createElement("polygon",{className:"st0",points:"289.9,60.4 289.9,19.9 281.5,19.9 281.5,10.8 305.7,10.8 305.7,19.9 297.4,19.9 297.4,60.4 "}),i.createElement("polygon",{className:"st0",points:"325.7,60.4 312.1,11 320,11 328.5,41.9 336.7,11 344.6,11 331.4,60.4 "}),i.createElement("rect",{x:274,y:52.9,className:"st0",width:7.5,height:7.5}))))}const s=i.forwardRef(c);a.p},204:function(e,t,a){"use strict";a.d(t,"a",(function(){return u}));a(0);var n=a(645),r=a(736),i=a(690),o=a(1);const c=Object(n.a)("span")((e=>{let{theme:t}=e;return{borderRadius:11,width:28,height:28,backgroundColor:"#555C64",display:"flex",justifyContent:"center",alignItems:"center"}})),s=Object(n.a)(c)({"&:before":{display:"block",width:"45%",height:"45%",backgroundColor:"#fff",borderRadius:"30%",content:'""'}}),l=Object(n.a)(i.a)({"&.small":{"& span:not(.MuiTouchRipple-root)":{width:20,height:20,borderRadius:5}},"&.MuiCheckbox-colorSecondary":{"& span:not(.MuiTouchRipple-root)":{backgroundColor:"#fff",border:"1.2px solid #41474E"},"&.Mui-checked":{"& span:not(.MuiTouchRipple-root)":{"&:before":{backgroundColor:"#41474E"}}}},"&.wellness":{"& .unchecked":{backgroundColor:"#E6E4DC"},"& .checked":{backgroundColor:"#E6E4DC","&:before":{backgroundColor:"#26292D"}}}}),d=Object(n.a)(r.a)((e=>{let{theme:t}=e;return{}}));function u(e){return Object(o.jsx)(d,{control:Object(o.jsx)(l,{c
2olor:"default",icon:Object(o.jsx)(c,{className:"unchecked"}),checkedIcon:Object(o.jsx)(s,{className:"checked"}),...e}),label:e.label||"",variant:"default"})}},205:function(e,t,a){"use strict";t.a={it:"https://www.iubenda.com/termini-e-condizioni/39756041",en:"https://www.iubenda.com/terms-and-conditions/70243759",es:"https://www.iubenda.com/condiciones-de-uso/56970618"}},206:function(e,t,a){"use strict";t.a={it:"https://www.iubenda.com/privacy-policy/39756041",en:"https://www.iubenda.com/privacy-policy/70243759",es:"https://www.iubenda.com/privacy-policy/56970618"}},207:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n,r=a(0);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i.apply(null,arguments)}function o(e,t){let{title:a,titleId:o,...c}=e;return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":o},c),a?r.createElement("title",{id:o},a):null,n||(n=r.createElement("g",{id:"Raggruppa_5054","data-name":"Raggruppa 5054",transform:"translate(-89 -677)"},r.createElement("rect",{id:"Rettangolo_2144","data-name":"Rettangolo 2144",width:24,height:24,transform:"translate(89 677)",fill:"none"}),r.createElement("g",{id:"Raggruppa_5038","data-name":"Raggruppa 5038",transform:"translate(89.641 679)"},r.createElement("path",{id:"Tracciato_9014","data-name":"Tracciato 9014",d:"M72.65,20.281a.714.714,0,0,1-.682-.5c-.585-1.829-1.4-5.312-2.437-10.361q-.808.745-1.608,1.5a.717.717,0,0,1-.984-1.042c2.109-1.989,4.27-3.923,6.361-5.793C74.547,2.97,75.8,1.854,77.04.719h0a.618.618,0,0,1,.075-.074A1.434,1.434,0,0,1,79.1.74c1.133,1.025,2.265,2.034,3.4,3.042,2.206,1.966,4.488,4,6.708,6.1a.716.716,0,1,1-.984,1.042q-.87-.822-1.752-1.632c-.05.253-.1.519-.155.8-.616,3.161-1.46,7.489-2.166,9.7a.755.755,0,0,1-.686.5s-2.315-.014-3.592-.016a.716.716,0,0,1-.715-.712l-.026-4.088H76.913l.047,4.075a.717.717,0,0,1-.716.725c-1.547,0-3.2.009-3.577.017H72.65m7.935-1.448c.818,0,1.772.008,2.352.011.65-2.249,1.408-6.138,1.973-9.035.119-.61.228-1.17.324-1.652C84,7.037,82.76,5.934,81.546,4.851Q79.833,3.326,78.117,1.78a.709.709,0,0,1-.057-.057c-.016.016-.038.04-.055.055-1.249,1.138-2.5,2.257-3.75,3.375-1.149,1.028-2.321,2.076-3.491,3.14,1.012,5,1.823,8.545,2.413,10.548.561-.005,1.433-.009,2.342-.011l-.047-4.075a.717.717,0,0,1,.716-.725h3.653a.717.717,0,0,1,.716.712Z",transform:"translate(-66.715 -0.29)",fill:"currentColor"})))))}const c=r.forwardRef(o);a.p},208:function(e,t,a){"use strict";a.d(t,"a",(function(){return h}));var n=a(0),r=a.n(n),i=a(645),o=a(111),c=a(649),s=a(720),l=a(188),d=a(14),u=a.n(d),p=a(1);const b=Object(i.a)(o.a)((e=>{let{theme:t}=e;return{backgroundColor:"rgba(234, 0, 51, 0.55)",borderRadius:6,width:64,padding:t.spacing(1,0),textAlign:"center"}}));function h(e){const{end:t,onEnded:a,type:n,variantProps:i,...d}=e,h=r.a.useRef(),m="22:00",[j,g]=r.a.useState(u()(m,"HH:mm").diff(u()(),"seconds")<=0?u()(m,"HH:mm").add(1,"days"):u()(m,"HH:mm")),[x,f]=r.a.useState(j.diff(u()(),"seconds"));return r.a.useEffect((()=>{x<=0&&(a&&t===u()().format("DD-MM-YYYY")&&a(),g(u()(m,"HH:mm").add(1,"days")))}),[x]),r.a.useEffect((()=>{f(j.diff(u()(),"seconds"))}),[j]),r.a.useEffect((()=>(h.current=setInterval((()=>{f((e=>e-1))}),1e3),()=>{clearInterval(h.current)})),[]),n&&"variant"===n?Object(p.jsx)(c.a,{direction:"row",spacing:3,children:Object(l.l)(x,!0,!0).map((e=>Object(p.jsxs)(o.a,{children:[Object(p.jsx)(b,{...!!i&&{...i.timeContainerProps},children:Object(p.jsx)(s.a,{variant:"h6",color:"text.primary",...!!i&&{...i.valueProps},children:Object(p.jsx)("b",{children:e.value})})}),Object(p.jsx)(s.a,{align:"center",color:"text.primary",sx:{fontSize:10,mt:1},...!!i&&{...i.labelProps},children:e.label})]},e.value+e.label)))}):Object(p.jsx)(s.a,{...d,children:Object(l.l)(x,!0)})}},209:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n,r=a(0);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i.apply(null,arguments)}function o(e,t){let{title:a,titleId:o,...c}=e;return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:22.4,viewBox:"0 0 24 22.4",ref:t,"aria-labelledby":o},c),a?r.createElement("title",{id:o},a):null,n||(n=r.createElement("g",{id:"Raggruppa_6481","data-name":"Raggruppa 6481",transform:"translate(-0.813 -0.758)"},r.createElement("path",{id:"Poligono_5","data-name":"Poligono 5",d:"M9.315.854a.3.3,0,0,1,.569,0l2.068,6.2a.3.3,0,0,0,.19.19l6.2,2.068a.3.3,0,0,1,0,.569l-6.2,2.068a.3.3,0,0,0-.19.19l-2.068,6.2a.3.3,0,0,1-.569,0l-2.068-6.2a.3.3,0,0,0-.19-.19L.854,9.885a.3.3,0,0,1,0-.569l6.2-2.068a.3.3,0,0,0,.19-.19Z",transform:"translate(0.813 0.758)",fill:"currentColor"}),r.createElement("path",{id:"Poligono_6","data-name":"Poligono 6",d:"M5.315.854a.3.3,0,0,1,.569,0l1.068,3.2a.3.3,0,0,0,.19.19l3.2,1.068a.3.3,0,0,1,0,.569l-3.2,1.068a.3.3,0,0,0-.19.19l-1.068,3.2a.3.3,0,0,1-.569,0l-1.068-3.2a.3.3,0,0,0-.19-.19L.854,5.885a.3.3,0,0,1,0-.569l3.2-1.068a.3.3,0,0,0,.19-.19Z",transform:"translate(13.613 11.958)",fill:"currentColor"}))))}const c=r.forwardRef(o);a.p},211:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n,r,i=a(0);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},o.apply(null,arguments)}function c(e,t){let{title:a,titleId:c,...s}=e;return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":c}
2,s),a?i.createElement("title",{id:c},a):null,n||(n=i.createElement("defs",null,i.createElement("clipPath",{id:"clip-path"},i.createElement("rect",{id:"Rettangolo_2483","data-name":"Rettangolo 2483",width:24,height:20.877})))),r||(r=i.createElement("g",{id:"Raggruppa_6039","data-name":"Raggruppa 6039",transform:"translate(-528 -2795)"},i.createElement("rect",{id:"Rettangolo_2484","data-name":"Rettangolo 2484",width:24,height:24,transform:"translate(528 2795)",fill:"none"}),i.createElement("g",{id:"Raggruppa_6037","data-name":"Raggruppa 6037",transform:"translate(528 2796.562)"},i.createElement("g",{id:"Raggruppa_6037-2","data-name":"Raggruppa 6037",transform:"translate(0 0)",clipPath:"url(#clip-path)"},i.createElement("path",{id:"Tracciato_9180","data-name":"Tracciato 9180",d:"M17.815,4.589A2.553,2.553,0,1,0,13.8,3.213,10.48,10.48,0,0,0,2.571,10.208c-.246.721-.48,1.4,9.935,4.975,5.453,1.871,7.818,2.439,8.9,2.439.779,0,.881-.3.99-.614A10.5,10.5,0,0,0,17.815,4.589m-6.1,2.991a4.376,4.376,0,0,0-3.387,2.664A.783.783,0,1,1,6.9,9.586a5.918,5.918,0,0,1,4.7-3.569.783.783,0,0,1,.107,1.562m3.625-5.343h0a.977.977,0,0,1,.5-.568.99.99,0,1,1-.5.568",transform:"translate(0.111 0)"}),i.createElement("path",{id:"Tracciato_9181","data-name":"Tracciato 9181",d:"M12,20.082A109.064,109.064,0,0,1,.7,19.5a.783.783,0,0,1-.7-.859.8.8,0,0,1,.861-.7,107.533,107.533,0,0,0,22.27,0,.791.791,0,0,1,.861.7.783.783,0,0,1-.7.859,109.064,109.064,0,0,1-11.3.586",transform:"translate(0 0.796)"}))))))}const s=i.forwardRef(c);a.p},212:function(e,t,a){"use strict";a.d(t,"a",(function(){return Qe}));var n=a(0),r=a.n(n),i=a(79),o=a(5),c=a(275),s=a(20),l=a(35),d=a(55),u=a(269),p=a(699),b=a(692),h=a(718),m=a(111),j=a(37),g=a(1);const x=r.a.forwardRef((function(e,t){return Object(g.jsx)(b.a,{elevation:6,ref:t,variant:"filled",...e})}));function f(){const{config:e}=r.a.useContext(j.a),{t:t}=Object(i.a)(),{layoutState:a,showError:n}=r.a.useContext(d.a),o={"NOT-AUTHORIZED":t("Sessione utente non valida o scaduta"),"UPGRADE-NEEDED":t("Per utilizzare questa funzionalit\xe0 devi comprare il corso o un abbonamento"),"DUPLICATED[QUIZ]":t("Il quiz per la lezione \xe8 gi\xe0 stato sostenuto"),"DUPLICATED[EMAIL]":t("L'indirizzo email risulta gi\xe0 utilizzato"),"DUPLICATED[EXT_PROFILES]":t("Utente gi\xe0 registrato"),"INVALID[CREDENTIALS]":t("Utente non trovato"),"INVALID[TOKEN]":t("Credenziali non valide"),"INVALID[USERNAME]":t("Campo 'username' non valido"),"INVALID[PASSWORD]":e.password_policy_txt,"INVALID[EMAIL]":t("Email non valida"),"INVALID-GC[SENDER]":t("Campo 'email' mittente non valido"),"INVALID-GC[RECIPIENT]":t("Campo 'email' destinatario non valido"),"INVALID-GC[TOKEN]":t("Codice non valido"),"MISSING[EMAIL]":t("Campo 'email' mancante"),"MISSING[FIRST_NAME]":t("Campo 'nome' mancante"),"MISSING[LAST_NAME]":t("Campo 'cognome' mancante"),"MISSING[SENDER]":t("Campo 'email' mancante"),"NOT-FOUND[TOKEN]":t("Il codice fornito non \xe8 stato trovato"),"NOT-FOUND[REFERRAL_ID]":t("L'utente che ti ha invitato non \xe8 stato trovato"),"Devi accettare le Privacy Policy per proseguire!":t("Devi accettare le Privacy Policy per proseguire!"),"activate-account":t("E-mail da verificare. Ti abbiamo inviato una mail per attivare il tuo account: controlla la tua casella e clicca sul pulsante \u201cAttiva\u201d"),"Si \xe8 verificato un errore durante il caricamento, si prega di riprovare.":t("Si \xe8 verificato un errore durante il caricamento, si prega di riprovare.")};return Object(g.jsx)(p.a,{open:!1!==a.error,autoHideDuration:6e3,onClose:()=>n(!1),children:Object(g.jsxs)(x,{onClose:()=>n(!1),severity:"error",children:[a.error&&a.error.error_message in o?o[a.error.error_message]:t("Ops! Qualcosa \xe8 andato storto..."),a.error&&a.error.action&&Object(g.jsx)(m.a,{mt:1,children:Object(g.jsx)(h.a,{onClick:a.error.action.onClick,sx:{mt:1},color:"secondary",variant:"contained",size:"small",children:Object(g.jsx)("b",{children:a.error.action.label})})})]})})}const v=r.a.forwardRef((function(e,t){return Object(g.jsx)(b.a,{elevation:6,ref:t,variant:"filled",...e})}));function O(){const{layoutState:e,showSuccess:t}=r.a.useContext(d.a);return Object(g.jsx)(p.a,{open:!1!==e.success,autoHideDuration:6e3,onClose:()=>t(!1),children:Object(g.jsx)(v,{onClose:()=>t(!1),severity:"success",children:e.success?e.success.message:""})})}var y=a(645),w=a(28),S=a(205),C=a(206),k=a(719),A=a(705),E=a(716),_=a(720),I=a(721),R=a(700),M=a(646),z=a(647),T=a(648),B=a(201),P=a.p+"static/media/youtube.deabf4eb.svg",
2N=a.p+"static/media/instagram.41f1ea4c.svg",V=a.p+"static/media/facebook.7aec6fb2.svg",D=a.p+"static/media/linkedin.4fbd71db.svg",W=a.p+"static/media/telegram.39b6a7f2.svg",F=a(218),q=a(219),G=a(14),H=a.n(G);const L=Object(y.a)(m.a)((e=>{let{theme:t}=e;return{backgroundColor:"#26292D",color:"#B1B8BE"}}));function Y(e){const{t:t,i18n:a}=Object(i.a)(),n=r.a.useRef();return r.a.useEffect((()=>{window.Trustpilot&&n.current&&window.Trustpilot.loadFromElement(n.current,!0)}),[n]),Object(g.jsx)(L,{children:Object(g.jsx)(k.a,{maxWidth:!1,sx:{maxWidth:1700},children:Object(g.jsx)(A.a,{container:!0,justifyContent:"center",children:Object(g.jsx)(A.a,{item:!0,xs:10,sx:{py:5},children:Object(g.jsxs)(A.a,{container:!0,spacing:5,justifyContent:"space-between",children:[Object(g.jsxs)(A.a,{item:!0,xs:12,md:3,children:[Object(g.jsx)(m.a,{sx:{color:e=>e.palette.text.primary},children:Object(g.jsx)(E.a,{component:B.a,color:"inherit",viewBox:"0 0 346.1 61.3",sx:{fontSize:{xs:"1.6rem"},width:"auto"}})}),Object(g.jsxs)(_.a,{component:"h6",variant:"caption",sx:{mt:2},children:[Object(g.jsxs)(m.a,{componet:"span",sx:{display:{xs:"none",sm:"block"}},children:["Acad\xe8mia.tv s.r.l.",Object(g.jsx)("br",{}),"Via Riva di Trento, 11A",Object(g.jsx)("br",{}),"20139 - Milano (MI) - Italy",Object(g.jsx)("br",{}),"P.IVA: 11454950962",Object(g.jsx)("br",{}),Object(g.jsx)("br",{}),"\xa9 ",H()().year()," Copyright"]}),Object(g.jsxs)(m.a,{componet:"span",sx:{display:{sm:"none"}},children:["Acad\xe8mia.tv s.r.l. Via Riva di Trento, 11A",Object(g.jsx)("br",{}),"20139 - Milano (MI) - Italy P.IVA: 11454950962",Object(g.jsx)("br",{}),Object(g.jsx)("br",{}),"\xa9 ",H()().year()," Copyright"]})]})]}),Object(g.jsxs)(A.a,{item:!0,xs:6,md:3,children:[Object(g.jsx)(_.a,{variant:"h6",color:"textPrimary",sx:{mb:2},children:Object(g.jsx)("b",{children:"About"})}),Object(g.jsxs)(I.a,{children:[Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsx)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"terms"}),window.open(S.a[a.language.split("-")[0]],"_blank")},children:Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:t("Termini e condizioni")})})})}),Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsx)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"privacy"}),window.open(C.a[a.language.split("-")[0]],"_blank")},children:Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:t("Privacy policy")})})})}),Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsx)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"support"}),window.location="mailto:[email protected]"},children:Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:t("Assistenza e supporto")})})})}),"it"===a.language&&Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsx)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"partnership"}),window.open("https://ac.academia.tv/business","_blank")},children:Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:t("Partnership")})})})})]})]}),Object(g.jsxs)(A.a,{item:!0,xs:6,md:3,children:[Object(g.jsx)(_.a,{variant:"h6",color:"textPrimary",sx:{mb:2},children:Object(g.jsx)("b",{children:"Social"})}),Object(g.jsxs)(I.a,{children:[Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsxs)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"telegram"}),window.open("https://t.me/+0atHlu9OHyA4NGM0","_blank")},children:[Object(g.jsx)(T.a,{children:Object(g.jsx)("img",{src:W,width:"20"})}),Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:"Telegram"})})]})}),Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsxs)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"instagram"}),window.open("https://www.instagram.com/academia_ita/","_blank")},children:[Object(g.jsx)(T.a,{children:Object(g.jsx)("img",{src:N})}),Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:"Instagram"})})]})}),Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsxs)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"facebook"}),"it"===a.language&&window.open("https://www.facebook.com/IT.academia.tv","_blank"),"en"===a.language&&window.open("https://www.facebook.com/EN.academia.tv","_blank"),"es"===a.language&&window.open("https://www.facebook.com/ES.academia.tv","_blank")},children:[Object(g.jsx)(T.a,{children:Object(g.jsx)("img",{src:V})}),Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:"Facebook"})})]})}),Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsxs)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"linkedin"}),window.open("https://www.linkedin.com/company/academiachefincamicia/","_blank")},children:[Object(g.jsx)(T.a,{children:Object(g.jsx)("img",{src:D})}),Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:"Linkedin"})})]})}),Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsxs)(M.a,{sx:{px:0},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"youtube"}),window.open("https://www.youtube.com/channel/UCGHXbVQuk8T4N7O-_HKCf-g","_blank")},children:[Object(g.jsx)(T.a,{children:Object(g.jsx)("img",{src:P})}),Object(g.jsx)(z.a,{children:Object(g.jsx)(_.a,{variant:"subtitle2",children:"Youtube"})})]})})]})]}),Object(g.jsxs)(A.a,{item:!0,xs:12,md:3,children:[Object(g.jsx)(_.a,{variant:"h6",color:"textPrimary",sx:{mb:4},children:Object(g.jsx)("b",{children:"App"})}),Object(g.jsx)(m.a,{mb:2,children:Object(g.jsx)("img",{src:F.a,width:"150",style:{cursor:"pointer"},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"app_android"}),window.open("https://apps.apple.com/it/app/acad%C3%A8mia/id1502080183","_blank")}})}),Object(g.jsx)("img",{src:q.a,width:"160",style:{cursor:"pointer"},onClick:()=>{Object(w.e)({event:"footer_nav",event_id:"09",event_trigger:"GAevent",event_detail:"app_ios"}),window.open("https://play.google.com/store/apps/details?id=com.chefincamicia.academia","_blank")}})]})]})})})})})}var U=a(27),Z=a(724),X=a(717),Q=a(191),J=a(208),K=a(202),$=a.n(K);const ee=Object(y.a)(m.a)((e=>{let{theme:t}=e;return{backgroundColor:"#E90133",color:"#fff"}}));function te(e){const{bannerType:t}=e,a=Object(o.i)(),{auth:n}=r.a.useContext(s.a),[c,d]=r.a.useState([]),{request:u,cancelToken:p}=r.a.useContext(l.a),[b,h]=r.a.useState({}),{t:j,i18n:x}=Object(i.a)(),f=new URLSearchParams(a.search).get("nodefcpn")||localStorage.getItem("nodefcpn");return r.a.useEffect((()=>{h(c.reduce(((e,t)=>({...e,[t.title]:!Boolean(sessionStorage.getItem(t.title))})),{}))}),[c]),r.a.useEffect((()=>{t&&(async()=>{const e=p.source(),a=await u("get","/v2/banners/".concat(t,"/top"),e.token);a&&d(a)})()}),[t,n]),Object(g.jsx)(r.a.Fragment,{children:c.map((e=>!Boolean(f)&&Object(g.jsx)(Z.a,{in:b[e.title],children:Object(g.jsx)(ee,{sx:{py:1,px:{xs:1,md:3},...Boolean(e.bg_color)&&{backgroundColor:e.bg_color},...Boolean(e.text_color)&&{color:e.text_color}},children:Object(g.jsxs)(A.a,{container:!0,spacing:1,children:[Object(g.jsx)(A.a,{item:!0,xs:9,md:7,sx:{display:"flex",alignItems:"center"},children:Object(g.jsxs)(m.a,{children:[Object(g.jsx)(_.a,{variant:"h6",component:"span",sx:{textShadow:"0 2px 3px rgba(0, 0, 0, 0.2)",textTransform:"uppercase",mr:2,display:{xs:"block",md:"inline"}},children:Object(g.jsx)("b",{children:e.title})}),Object(g.jsx)(_.a,{component:"span",sx:{textShadow:"0 0 2px rgba(0, 0, 0, 0.1)",fontSize:{xs:"0.8rem",md:"1rem"}},children:e.description}),Boolean(e.countdown_enabled)&&Object(g.jsx)(J.a,{end:e.countdown_enabled,onEnded:()=>h((t=>(sessionStorage.setItem(e.title,1),{...t,[e.title]:!1}))),sx:{fontSize:{xs:"0.8rem",md:"1rem"},display:{fontWeight:"bold",xs:"block",md:"none"}}})]})}),Object(g.jsxs)(A.a,{item:!0,xs:5,sx:{textAlign:"right",display:{xs:"none",md:"block"}},children:[Boolean(e.countdown_enabled)&&Object(g.jsx)(J.a,{component:"span",end:e.countdown_enabled,onEnded:()=>h((t=>(sessionStorage.setItem(e.title,1),{...t,[e.title]:!1}))),sx:{fontWeight:"bold"}}),Object(g.jsx)(Q.a,{color:"secondary",component:U.b,target:e.cta_target,to:{pathname:e.cta_url.split("?")[0],search:e.cta_url.split("?")[1]?e.cta_url.split("?")[1]:"",state:{from:a.pathname}},sx:{mx:2,...Boolean(e.button_bg_color)&&{backgroundColor:e.button_bg_color},...Boolean(e.button_text_color)&&{color:e.button_text_color}},children:e.cta_label}),Object(g.jsx)(X.a,{sx:{color:"#fff"},onClick:()=>{h((t=>(sessionStorage.setItem(e.title,1),{...t,[e.title]:!1})))},children:Object(g.jsx)($.a,{fontSize:"large"})})]}),Object(g.jsxs)(A.a,{item:!0,xs:3,sx:{textAlign:"right",display:{xs:"block",md:"none"}},children:[Object(g.jsx)(X.a,{sx:{color:"#fff",p:0},onClick:()=>{h((t=>(sessionStorage.setItem(e.title,1),{...t,[e.title]:!1})))},children:Object(g.jsx)($.a,{fontSize:"large"})}),Object(g.jsx)("br",{}),Object(g.jsx)("br",{}),Object(g.jsx)(Q.a,{color:"secondary",component:U.b,target:e.cta_target,to:{pathname:e.cta_url.split("?")[0],search:e.cta_url.split("?")[1]?e.cta_url.split("?")[1]:"",state:{from:a.pathname}},sx:{fontSize:10,padding:"8px 16px",...Boolean(e.button_bg_color)&&{backgroundColor:e.button_bg_color},...Boolean(e.button_text_color)&&{color:e.button_text_color}},children:Object(g.jsx)("b",{children:e.cta_label})})]})]})})},e.id)))})}var ae=a(223),ne=a(714),re=a(262),ie=a.n(re),oe=a(195),ce=a(81),se=a(
2732),le=a(733),de=a(707),ue=a(222),pe=a(260),be=a.n(pe),he=a(226),me=a(207);var je=Object(ne.a)({appBar:{backgroundColor:"transparent",boxShadow:"none",transition:"background-color .5s ease, color .5s ease",color:"#fff",marginBottom:"-75px",position:"relative","& .MuiToolbar-regular":{justifyContent:"space-between",alignItems:"center",minHeight:"75px"}},appBarScrolled:{position:"fixed",backgroundColor:"#27292D",boxShadow:"0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%)","&.wellness":{backgroundColor:"#EFEDE5",color:"#27292D","& .variant":{color:"#27292D !important"}}},logo:{maxWidth:"221px",width:"100%"}})((function(e){const t=Object(o.h)(),{t:a,i18n:n}=Object(i.a)(),{currentCategory:c}=Object(ce.a)(),l=Object(o.i)(),{packageType:d,isWellness:u}=Object(oe.a)(),{classes:p,headerBg:b}=e,{auth:x}=r.a.useContext(s.a),{config:f}=r.a.useContext(j.a),v=Object(o.g)(l.pathname,{path:"/".concat(n.language,"/").concat(a("cerca"),"/:section?"),exact:!0}),[O,y]=r.a.useState(!1),[S,C]=r.a.useState(!1),k=r.a.useRef(),A=e=>{k.current&&document.documentElement.scrollTop>k.current.offsetTop?y(!0):y(!1)};return r.a.useEffect((()=>(window.addEventListener("scroll",A),()=>{window.removeEventListener("scroll",A)})),[]),Object(g.jsxs)(se.a,{ref:k,className:ie()(p.appBar,{[d.key]:!0,[p.appBarScrolled]:O}),style:{backgroundColor:b||""},children:[Object(g.jsxs)(le.a,{children:[Object(g.jsx)(X.a,{className:ie()(p.menu),color:"inherit",size:"large",component:U.b,to:"/".concat(n.language,"/").concat(a("cerca")),sx:{display:{md:"none"}},children:Object(g.jsx)(E.a,{component:he.a,color:"inherit"})}),Object(g.jsxs)(m.a,{sx:{display:"flex",alignItems:"center",flexDirection:{xs:"column",md:"row"},"& img":{width:"100%",mr:{xs:0,md:2},maxWidth:{xs:171,md:221}},"& .MuiChip-root":{mt:1}},children:[Object(g.jsx)(E.a,{onClick:()=>t.push("/"+n.language),component:B.a,color:"inherit",viewBox:"0 0 346.1 61.3",sx:{fontSize:{md:"2.4rem",xs:"1.5rem"},width:"auto",cursor:"pointer"}}),Boolean(d)&&Object(g.jsx)(de.a,{color:d.key,size:"small",label:Object(g.jsx)("b",{children:d.fullTranslation}),component:U.b,to:"/".concat(n.language,"/").concat(d.translation),clickable:!0,sx:{textTransform:"uppercase",ml:1}}),!!v&&Object(g.jsx)(X.a,{component:U.b,to:"/".concat(n.language),color:"light",sx:{background:"#333639",ml:3,display:{xs:"none",md:"inline-flex"}},children:Object(g.jsx)(E.a,{component:me.a})})]}),Object(g.jsxs)(m.a,{sx:{display:{xs:"none",md:"inline-flex"}},children:[!Boolean(e.hideSubButton)&&(!x.isAuthenticated||x.isAuthenticated&&x.user&&x.user.data&&!x.user.data.flag_active_subscription&&!u||x.isAuthenticated&&x.user&&x.user.data&&!x.user.data.flag_active_wellness_subscription&&u||x.isAuthenticated&&x.user&&x.user.data&&x.user.data.flag_active_wellness_subscription&&x.user.data.flag_active_subscription&&!x.user.data.flag_active_pro)&&Object(g.jsx)(h.a,{component:U.b,variant:"contained",color:"primary",size:"large",to:{pathname:"/".concat(n.language,"/paywall"),...!x.isAuthenticated||x.isAuthenticated&&x.user&&x.user.data&&(!x.user.data.flag_active_subscription||!x.user.data.flag_active_wellness_subscription)?{search:"from=".concat(d&&"horeca"!==d.key?d.key:"masterclass")}:{},state:{from:l.pathname}},onClick:e=>{Object(w.e)({event:"cta_click",event_id:"03",event_trigger:"GAevent",event_detail:"buy_".concat(d&&"horeca"!==d.key?d.key:"masterclass"),event_subdetail:e.target.innerText})},style:{color:"white !important"},children:x.user&&x.user.data&&x.user.data.flag_active_wellness_subscription&&x.user.data.flag_active_subscription&&!x.user.data.flag_active_pro?a("Scopri il piano PRO"):a("Inizia ora")}),!Boolean(e.hideSubButton)&&!u&&(!x.isAuthenticated||x.isAuthenticated&&x.user&&x.user.data&&!x.user.data.flag_active_subscription)&&Object(g.jsx)(h.a,{component:U.b,variant:"contained",size:"large",to:{pathname:Object(o.f)("/:lang/:courses/:courseSlug/:lessons/:lessonSlug",{lang:n.language,courses:a("corsi"),courseSlug:f.free_lesson_course_slug,lessons:a("lezioni"),lessonSlug:f.free_lesson_slug}),state:{from:l.pathname}},onClick:()=>{Object(w.e)({event:"free_lesson",event_id:"03",event_trigger:"GAevent",event_detail:"".concat(c," header")})},color:"secondary",sx:{ml:2},children:a("Guarda lezione gratuita")}),!Boolean(e.hideSubButton)&&u&&d&&(!x.isAuthenticated||x.isAuthenticated&&x.user&&x.user.data&&!x.user.data.flag_active_wellness_subscription)&&Object(g.jsx)(h.a,{component:U.b,variant:"contained",to:{pathname:Object(o.f)("/:lang/:package/:classSlug/:modules/:moduleSlug/:lessons/:chapterSlug",{lang:n.language,package:d.translation,classSlug:f.wellness_free_lesson_course_pkg_slug,modules:a("moduli"),moduleSlug:f.wellness_free_lesson_course_slug,lessons:a("lezioni"),chapterSlug:f.wellness_free_lesson_slug}),state:{from:l.pathname}},className:ie()(p.button,"variant"),onClick:()=>{Object(w.e)({event:"free_lesson",event_id:"03",event_trigger:"GAevent",event_detail:"".concat(c," header")})},color:"secondary",sx:{ml:2},children:a("Guarda lezione gratuita")})]}),Object(g.jsx)(X.a,{color:"inherit",size:"large",className:"variant",onClick:()=>C(!0),sx:{display:{md:"none"}},children:Object(g.jsx)(be.a,{})}),Object(g.jsxs)(m.a,{sx:{display:{xs:"none",md:"inline-flex"}},children:[Object(g.jsx)(h.a,{variant:"text",color:"white",component:U.b,to:"/".concat(n.language,"/").concat(a("cerca"),"/").concat(a("corsi"),"?p=1"),sx:{mr:2,textTransform:"capitalize"},activeStyle:{textDecoration:"underline"},className:"variant",children:a("corsi")}),f.recipes_enabled&&Object(g.jsx)(h.a,{variant:"text",color:"white",component:U.b,to:"/".concat(n.language,"/").concat(a("cerca"),"/").concat(a("ricette"),"?p=1"),sx:{mr:2,textTransform:"capitalize"},activeStyle:{textDecoration:"underline"},className:"variant",children:a("ricette")}),Object(g.jsx)(h.a,{variant:"text",color:"white",component:U.b,to:"/".concat(n.language,"/").concat(a("cerca"),"/").concat(a("tecniche"),"?p=1"),sx:{mr:2,textTransform:"capitalize"},activeStyle:{textDecoration:"underline"},className:"variant",children:a("tecniche")}),Object(g.jsx)(h.a,{variant:"text",color:"white",component:U.b,to:"/".concat(n.language,"/").concat(a("cerca")),activeStyle:{textDecoration:"underline"},sx:{mr:2,textTransform:"capitalize"},endIcon:Object(g.jsx)(E.a,{component:he.a,color:"inherit",sx:{fontSize:"1rem"}}),className:"variant",children:a("cerca")}),Object(g.jsx)(h.a,{variant:"text",color:"white",onClick:()=>C(!0),endIcon:Object(g.jsx)(be.a,{}),className:"variant",children:a("Menu")})]})]}),Object(g.jsx)(ue.a,{open:S,setOpen:C})]})})),ge=a(64),xe=a(196),fe=a(200),ve=a(231);var Oe=()=>{const{layoutState:e,toggleAuthDialog:t}=r.a.useContext(d.a);return Object(g.jsx)(xe.a,{maxWidth:"md",scroll:"body",fullScreen:fe.isMobileOnly,open:e.openAuthDialog,handleClose:()=>{t(!1)},children:Object(g.jsx)(m.a,{sx:{minWidth:{lg:850}},children:Object(g.jsx)(ve.b,{})})})}
2,ye=a(709),we=a(188),Se=a(204),Ce=a(192),ke=a(659),Ae=a(739),Ee=a(697),_e=a(688),Ie=a(740),Re=a(649),Me=a(729),ze=a(555),Te=a(556),Be=a(29),Pe=a(229),Ne=a.n(Pe),Ve=a(241),De=a.n(Ve),We=a(242),Fe=a.n(We),qe=a(281),Ge=a.n(qe);Object(Be.a)(ke.a)((e=>{let{theme:t}=e;return{["&.".concat(ze.a.alternativeLabel)]:{top:10,left:"calc(-50% + 16px)",right:"calc(50% + 16px)"},["&.".concat(ze.a.active)]:{["& .".concat(ze.a.line)]:{borderColor:"#e90134"}},["&.".concat(ze.a.completed)]:{["& .".concat(ze.a.line)]:{borderColor:"#e90134"}},["& .".concat(ze.a.line)]:{borderColor:"#42474d",borderTopWidth:3,borderRadius:1}}}));const He=Object(Be.a)("div")((e=>{let{theme:t,ownerState:a}=e;return{color:"currentColor",width:"100%","& .QontoStepIcon-completedIcon":{color:"#fff !important",zIndex:1,fontSize:18},"& .QontoStepIcon-circle":{borderRadius:1.5,height:3,backgroundColor:"currentColor"},["& .".concat(Te.a.iconContainer)]:{paddingRight:0}}})),Le=Object(Be.a)(Ae.a)((e=>{let{theme:t}=e;return{flexGrow:1,"&:first-of-type":{paddingLeft:0},"&:last-of-type":{paddingRight:0}}})),Ye=Object(Be.a)(Ee.a)((e=>{let{theme:t}=e;return{width:"100%",color:"#535860","&.error":{color:t.palette.primary.main},"&.active":{color:"#fff","&.wellness":{color:"#E5E4DC"}},["& .".concat(Te.a.iconContainer)]:{width:"100%",paddingRight:0}}}));function Ue(e){const{active:t,completed:a,className:n}=e;return Object(g.jsx)(He,{ownerState:{active:t},className:n,children:Object(g.jsx)("div",{className:"QontoStepIcon-circle "+(a||t?"completed":"")})})}const Ze=e=>{const{t:t}=Object(i.a)(),{auth:a,login:n}=r.a.useContext(s.a),{request:o,cancelToken:c}=r.a.useContext(l.a),{packageType:d,isHoreca:u}=Object(oe.a)(),[p,b]=r.a.useState({first_name:"",last_name:"",register_step:"user-data"});return Object(g.jsx)(A.a,{container:!0,justifyContent:"center",children:Object(g.jsx)(A.a,{item:!0,xs:12,sm:8,lg:6,sx:{textAlign:"center"},children:Object(g.jsxs)(m.a,{textAlign:"center",p:4,children:[Object(g.jsx)(_.a,{variant:"h5",color:"text.primary_".concat(d.key),gutterBottom:!0,children:Object(g.jsx)("b",{children:t("Certificato")})}),Object(g.jsxs)(_.a,{color:"text.secondary_".concat(d.key),children:[t("Per rilasciare il certificato di fine corso \xe8 necessario inserire o confermare il tuo nome e cognome"),"."]}),Object(g.jsx)(m.a,{mt:4,children:Object(g.jsx)(_e.a,{fullWidth:!0,label:t("Nome"),value:p.first_name,InputProps:{sx:{color:e=>d&&!u?e.palette.text["primary_".concat(d.key)]:e.palette.text.primary}},onChange:e=>b({...p,first_name:e.target.value})})}),Object(g.jsx)(m.a,{mt:2,mb:4,children:Object(g.jsx)(_e.a,{fullWidth:!0,label:t("Cognome"),value:p.last_name,InputProps:{sx:{color:e=>d&&!u?e.palette.text["primary_".concat(d.key)]:e.palette.text.primary}},onChange:e=>b({...p,last_name:e.target.value})})}),Object(g.jsx)(h.a,{variant:"contained",color:"primary",onClick:()=>{(async()=>{const t=c.source(),r=await o("put","/v2/user",t.token,p);r&&(n({token:a.user.token,data:r}),e.getTest())})()},children:t("Conferma")})]})})})};var Xe=()=>{const{t:e,i18n:t}=Object(i.a)(),a=Object(o.h)(),{packageType:n,isHoreca:c}=Object(oe.a)(),{courseSlug:s,lessonSlug:u,classSlug:p,moduleSlug:b,chapterSlug:j}=Object(o.j)(),{layoutState:x,toggleTest:f}=r.a.useContext(d.a),{request:v,cancelToken:O}=r.a.useContext(l.a),[y,S]=r.a.useState({}),[C,k]=r.a.useState(null),[E,B]=r.a.useState(0),[P,N]=r.a.useState(!1),[V,D]=r.a.useState(!1),[W,F]=r.a.useState(!1),q=n&&!c?{course_id:x.openTest.moduleId}:{lesson_id:x.openTest},G=async()=>{const e=O.source();let t=null;t=n&&!c?await v("get","/v2/course-packages/"+n.key+"/"+x.openTest.classId+"/items/"+x.openTest.moduleId+"/quiz",e.token):await v("get","/v2/lessons/"+x.openTest+"/quiz",e.token),t?(Object(w.a)("lesson_test_question",{...q,question_index:1}),D(!1),k(t)):D(!0)};return r.a.useEffect((()=>{Boolean(x.openTest)&&(Object(w.a)("lesson_test_start",{...q}),G())}),[x.openTest,n]),Object(g.jsxs)(xe.a,{maxWidth:"md",scroll:"body",fullScreen:fe.isMobileOnly,open:Boolean(x.openTest),className:n&&!c?n.key:"",...W&&{hideTitle:!0},handleClose:()=>{f(!1),C&&(n&&!c?a.push(Object(o.f)("/:lang/:package/:classSlug/:modules/:moduleSlug/:lessons/:chapterSlug",{lang:t.language,package:n.translation,classSlug:p,modules:e("moduli"),moduleSlug:b,lessons:e("lezioni"),chapterSlug:j})):a.push(Object(o.f)("/:lang/:courses/:courseSlug/:lessons/:lessonSlug",{lang:t.language,courses:e(c?"horec
2a":"corsi"),courseSlug:s,lessons:e("lezioni"),lessonSlug:u})))},children:[W&&Object(g.jsx)(m.a,{sx:{p:1},children:Object(g.jsx)(X.a,{"aria-label":"close",onClick:()=>{F(!1)},size:"large",color:"light",children:Object(g.jsx)(Ge.a,{})})}),V&&Object(g.jsx)(Ze,{getTest:G}),C&&Object(g.jsx)(r.a.Fragment,{children:Object(g.jsxs)(m.a,{pb:{xs:3,sm:5},px:{xs:3,sm:5,md:10,lg:12},sx:{color:e=>n&&!c?e.palette.text["primary_".concat(n.key)]:e.palette.text.primary},children:[W?Object(g.jsx)(g.Fragment,{children:Object(g.jsx)(_.a,{variant:"caption",gutterBottom:!0,color:"text.primary_".concat(n.key),children:Object(g.jsxs)(ye.a,{t:e,children:["Risposte corrette ",{c:W.user_points},"/",{d:W.total_points}]})})}):Object(g.jsx)(g.Fragment,{children:n&&!c?Object(g.jsxs)(r.a.Fragment,{children:[Object(g.jsxs)(_.a,{variant:"caption",gutterBottom:!0,color:"text.primary_".concat(n.key),children:["TEST - ",e("Classe")+" "+C.quiz.course.package.title]}),Object(g.jsx)(_.a,{color:"text.secondary_".concat(n.key),gutterBottom:!0,children:Object(g.jsx)("b",{children:C.quiz.course.title})})]}):Object(g.jsxs)(r.a.Fragment,{children:[Object(g.jsxs)(_.a,{variant:"caption",gutterBottom:!0,sx:{color:"#555C64"},children:["TEST - ",e("Lezione")+" "+C.quiz.lesson.lesson_num]}),Object(g.jsx)(_.a,{color:"textSecondary",gutterBottom:!0,children:Object(g.jsx)("b",{children:C.quiz.lesson.title})})]})}),!Boolean(P)||W?Object(g.jsxs)(r.a.Fragment,{children:[Object(g.jsx)(m.a,{my:2,sx:{maxWidth:{xs:"100%",sm:"70%",lg:"60%"}},children:Object(g.jsx)(Ie.a,{activeStep:E,connector:Object(g.jsx)(r.a.Fragment,{}),children:C.quiz.questions.map(((e,t)=>{const a=e.answers.reduce(((e,t)=>e||!(!t.correct||!t.selected)),!1);return Object(g.jsx)(g.Fragment,{children:Object(g.jsxs)(Le,{children:[W&&Object(g.jsx)(_.a,{variant:"caption",component:"div",align:"center",color:"primary",children:a||t>E?Object(g.jsx)(De.a,{fontSize:"inherit",sx:{color:"transparent"}}):Object(g.jsx)(De.a,{fontSize:"inherit"})}),Object(g.jsx)(Ye,{StepIconComponent:Ue,className:!a&&W&&t<=E?"error":E===t||t<=E?"active ".concat(n?n.key:""):""})]},"step"+e.id)})}))})}),Object(g.jsx)(Ne.a,{enableMouseEvents:!0,index:E,onChangeIndex:e=>{Object(w.a)("lesson_test_question",{...q,question_index:e+1}),B(e)},children:C.quiz.questions.map(((t,a)=>Object(g.jsxs)(m.a,{children:[Object(g.jsx)(_.a,{gutterBottom:!0,color:n&&!c?"text.secondary_".concat(n.key):"text.secondary",children:Object(g.jsx)("b",{children:e("DOMANDA")+" "+(a+1)})}),Object(g.jsx)(_.a,{variant:"h5",gutterBottom:!0,children:Object(g.jsx)("b",{children:t.text})}),Object(g.jsx)(I.a,{sx:{width:"100%"},children:t.answers.map((e=>{const t="checkbox-list-label-".concat(e.id);return Object(g.jsx)(g.Fragment,{children:Object(g.jsx)(R.a,{disablePadding:!0,children:Object(g.jsxs)(M.a,{role:void 0,onClick:()=>{var t,n;W||(t=e.id,n=a,S({...y,[n]:t}))},dense:!0,...W&&{sx:{pl:0}},children:[Object(g.jsx)(T.a,{children:Object(g.jsxs)(Re.a,{direction:"row",alignItems:"center",spacing:1,sx:{},children:[W&&!e.correct&&e.selected&&Object(g.jsx)(De.a,{color:"primary"}),W&&(e.correct&&!e.selected||e.correct&&e.selected)&&Object(g.jsx)(Fe.a,{sx:{color:e=>n&&"wellness"===n.key?"#289D00":e.palette.lightGreen.main}}),W&&!e.correct&&!e.selected&&Object(g.jsx)(m.a,{sx:{width:24}}),Object(g.jsx)(Se.a,{edge:"start",className:n&&!c?n.key:"",checked:Boolean(y[a])&&y[a]===e.id,tabIndex:-1,disableRipple:!0,inputProps:{"aria-labelledby":t},...!W&&{sx:{ml:0}}})]})}),Object(g.jsx)(z.a,{id:t,primaryTypographyProps:{variant:"body1"},children:e.text})]})},e.id)})}))})]},"question"+t.id)))}),Object(g.jsxs)(Re.a,{direction:"row",justifyContent:"space-between",sx:{mt:3},children:[Object(g.jsx)("div",{children:E>0&&Object(g.jsx)(h.a,{variant:"contained",color:"darkGray",onClick:()=>{B(E-1)},children:e("Indietro")})}),Object(g.jsx)("div",{children:Object(g.jsx)(h.a,{variant:"contained",color:"primary",onClick:()=>{(async()=>{const e=E+1;if(e!==C.quiz.questions.length||P||P.test_passed)Object(w.a)("lesson_test_question",{...q,question_index:e+1}),e===C.quiz.questions.length?F(!1):B(e);else{const e=O.source(),t=await v("post",n&&!c?"/v2/course-packages/"+n.key+"/"+x.openTest.classId+"/items/"+x.openTest.moduleId+"/quiz":"/v2/quiz/"+C.quiz.id,e.token,{quiz_id:C.quiz.id,answers:C.quiz.questions.reduce(((e,t,a)=>
2(e.push({question_id:t.id,answer_id:y[a]}),e)),[])});t&&(k({...C,quiz:{...t.quiz}}),t.test_passed?Object(w.a)("lesson_test_completed_success",q):Object(w.a)("lesson_test_completed_failure",q),N(t),F(!1))}})()},disabled:!C.quiz.questions.reduce(((e,t,a)=>!(!e||!Boolean(y[a]))),!0)&&E===C.quiz.questions.length-1,children:e(W?"Avanti":"Conferma")})})]})]}):Object(g.jsx)(m.a,{mt:4,sx:{minWidth:{xs:"auto",sm:"400px",lg:"500px",xl:"650px"},color:e=>n&&!c?e.palette.text["primary_".concat(n.key)]:e.palette.text.primary},children:Object(g.jsx)(A.a,{container:!0,justifyContent:"center",children:Object(g.jsxs)(A.a,{item:!0,xs:12,sm:8,lg:6,sx:{textAlign:"center"},children:[!!P.certificate&&Object(g.jsx)(Ce.a,{src:P.certificate.image_url,useSet:!0,sx:{width:76}}),Object(g.jsx)(_.a,{variant:"h4",color:"inherit",gutterBottom:!0,children:Object(g.jsxs)("b",{children:[P.test_passed?e("Complimenti"):e("Che peccato"),"!"]})}),!!P.certificate&&Object(g.jsxs)(g.Fragment,{children:[Object(g.jsxs)(_.a,{color:n&&!c?"text.secondary_".concat(n.key):"#F5F5F5",gutterBottom:!0,children:[e("Hai ottenuto il certificato del corso:"),Object(g.jsx)("br",{}),Object(g.jsx)("b",{children:P.quiz.course.title})]}),Object(g.jsx)(m.a,{sx:{my:2},children:Object(g.jsx)(h.a,{variant:"contained",component:Me.a,href:P.certificate.pdf_url,onClick:()=>Object(w.a)("certificate_download",{course_id:P.course.id}),target:"_blank",rel:"noopener noreferrer",download:!0,color:"primary",children:e("Scarica il certificato")})})]}),Object(g.jsx)(_.a,{color:n&&!c?"text.secondary_".concat(n.key):"#F5F5F5",gutterBottom:!0,children:e("Hai risposto correttamente a")}),Object(g.jsx)(_.a,{variant:"h3",color:n&&!c?"text.secondary_".concat(n.key):"#F5F5F5",gutterBottom:!0,children:Object(g.jsxs)("b",{children:[P.user_points,"/",P.total_points]})}),!P.test_passed&&Object(g.jsxs)(Re.a,{direction:"row",justifyContent:"center",spacing:2,sx:{mt:3},children:[Object(g.jsx)("div",{children:Object(g.jsx)(h.a,{variant:"contained",color:"darkGray",onClick:()=>{B(0),F({total_points:P.total_points,user_points:P.user_points})},sx:{p:"8px 17px",minWidth:135},children:e("Vedi risutalti")})}),Object(g.jsx)("div",{children:Object(g.jsx)(h.a,{variant:"contained",size:"small",color:"secondary",onClick:()=>{B(0),S({}),N(!1),F(!1)},sx:{p:"8px 17px",minWidth:130},children:e("Ripeti il test")})})]}),P.test_passed&&Object(g.jsx)(h.a,{variant:"contained",color:"darkGray",onClick:()=>{B(0),F({total_points:P.total_points,user_points:P.user_points})},sx:{p:"8px 17px",minWidth:130},children:e("Vedi risutalti")}),Boolean(C.lesson_next)&&Object(g.jsxs)(m.a,{my:5,sx:{backgroundColor:"#2F3337",borderRadius:"10px",padding:"13px"},children:[Object(g.jsxs)(A.a,{container:!0,justifyContent:"center",sx:{mb:2},children:[Object(g.jsx)(A.a,{item:!0,xs:5,children:Object(g.jsx)(Ce.a,{src:Object(we.m)(C.lesson_next.img_cover),sx:{width:"100%",borderRadius:"10px"},useSet:{sizes:[["down","md","100vw"],["150px"]]}})}),Object(g.jsxs)(A.a,{item:!0,xs:7,sx:{pl:1},children:[Object(g.jsxs)(_.a,{component:"h6",align:"left",variant:"caption",color:"textSecondary",gutterBottom:!0,children:[e("Lezione")," ",C.lesson_next.lesson_num]}),Object(g.jsx)(_.a,{component:"h6",align:"left",variant:"caption",color:"textPrimary",gutterBottom:!0,children:Object(g.jsx)("b",{children:C.lesson_next.title})})]})]}),Object(g.jsx)(h.a,{variant:"contained",component:Me.a,href:Object(o.f)("/:lang/:courses/:courseSlug/:lessons/:lessonSlug",{lang:t.language,courses:e(c?"horeca":"corsi"),courseSlug:s,lessons:e("lezioni"),lessonSlug:C.lesson_next.slug}),color:"primary",children:e("Prossima lezione")})]})]})})})]})})]})};function Qe(e){let{title:t,bg:a,color:n,lesson:p,homeSlogged:b,headerBg:h,hideSubButton:j,disableMaxWidth:x,loading:v,bannerType:y,children:w}=e;const{auth:S}=r.a.useContext(s.a),{t:C,i18n:A}=Object(i.a)(),E=Object(o.i)(),{request:_,cancelToken:I}=r.a.useContext(l.a),{showSuccess:R}=r.a.useContext(d.a),[M,z]=r.a.useState([]),T=new URLSearchParams(E.search),B="en"===A.language.split("-")[0]?"en-GB":A.language.split("-")[0];return r.a.useEffect((()=>
2{if(T.has("sconto")){(async e=>{const t=I.source();await _("post","/v2/renewal-campaigns/"+e,t.token)&&R({message:C("Credito applicato correttamente al tuo prossimo rinnovo! Puoi verificarlo dal men\xf9 > Profilo > Dati account > Pagamenti")})})(T.get("sconto"))}}),[S.isAuthenticated]),r.a.useEffect((()=>{Boolean(window.Android)||(async()=>{const e=I.source(),t=await _("get","/v2/metas",e.token,{path:E.pathname,query:E.search});t&&z(t.metas)})()}),[E]),Object(g.jsxs)(m.a,{bgcolor:a||"",color:n||"",overflow:"hidden",children:[!Boolean(window.Android)&&Object(g.jsxs)(u.a,{titleTemplate:"%s - Acad\xe8mia.tv",title:t,htmlAttributes:{lang:A.language.split("-")[0]},children:[M.map(((e,t)=>r.a.cloneElement(Object(c.a)(e,{replace:e=>{let{attribs:t,children:a}=e;if(t)return"application/ld+json"===t.type&&a&&a.length?Object(g.jsx)("script",{type:"application/ld+json",children:a[0].data}):void 0}}),{key:"meta-"+t}))),Object(g.jsx)("script",{type:"text/javascript",children:'\n var _iub = _iub || [];\n _iub.csConfiguration = {"siteId":1819621,"cookiePolicyId":'.concat({it:39756041,"en-GB":70243759,es:56970618}[B],',"lang":"').concat(B,'"}\n ')}),Object(g.jsx)("script",{type:"text/javascript",src:"https://embeds.iubenda.com/widgets/93c3b528-6db6-11ee-8bfc-5ad8d8c564c0.js"}),Object(g.jsx)("script",{type:"text/javascript",src:"//cdn.iubenda.com/cs/iubenda_cs.js",charset:"UTF-8",async:!0})]}),!Boolean(window.Android)&&Object(g.jsx)(te,{bannerType:y}),!Boolean(window.Android)&&!Boolean(p)&&!Boolean(b)&&Object(g.jsx)(je,{hideSubButton:j,headerBg:h}),Object(g.jsxs)(k.a,{maxWidth:!1,sx:{pb:10,maxWidth:x?"100%":1700,minHeight:"100vh"},children:[w,(v||S.isAuthenticated&&S.user.data&&!S.user.data)&&Object(g.jsx)(ge.a,{}
2),Object(g.jsx)(f,{}),Object(g.jsx)(O,{}),Object(g.jsx)(Oe,{}),Object(g.jsx)(Xe,{}),Object(g.jsx)(ae.b,{})]}),!Boolean(window.Android)&&!Boolean(p)&&Object(g.jsx)(Y,{})]})}},215:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n,r,i=a(0);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},o.apply(null,arguments)}function c(e,t){let{title:a,titleId:c,...s}=e;return i.createElement("svg",o({xmlns:"http://www.w3.org/2000/svg",width:29.044,height:29.043,viewBox:"0 0 29.044 29.043",ref:t,"aria-labelledby":c},s),a?i.createElement("title",{id:c},a):null,n||(n=i.createElement("defs",null,i.createElement("style",null,"\n .cls-1{fill:currentColor}\n "))),r||(r=i.createElement("g",{id:"Icon_feather-gift","data-name":"Icon feather-gift",transform:"translate(1 1)"},i.createElement("path",{id:"Tracciato_86","data-name":"Tracciato 86",className:"cls-1",d:"M27.635 32.521H6a1 1 0 0 1-1-1V18a1 1 0 0 1 2 0v12.521h19.635V18a1 1 0 0 1 2 0v13.521a1 1 0 0 1-1 1z",transform:"translate(-3.296 -4.479)"}),i.createElement("path",{id:"Tracciato_87","data-name":"Tracciato 87",className:"cls-1",d:"M3 9.5h27.044a1 1 0 0 1 1 1v6.761a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V10.5a1 1 0 0 1 1-1zm26.044 2H4v4.761h25.044z",transform:"translate(-3 -3.739)"}),i.createElement("path",{id:"Tracciato_88","data-name":"Tracciato 88",className:"cls-1",d:"M18 31.782a1 1 0 0 1-1-1V10.5a1 1 0 0 1 2 0v20.282a1 1 0 0 1-1 1z",transform:"translate(-4.478 -3.739)"}),i.createElement("path",{id:"Tracciato_89","data-name":"Tracciato 89",className:"cls-1",d:"M16.965 10.761H10.88a4.38 4.38 0 1 1 0-8.761c2.322 0 4.291 1.348 5.693 3.9a14.258 14.258 0 0 1 1.372 3.666 1 1 0 0 1-.981 1.2zM10.88 4a2.38 2.38 0 1 0 0 4.761h4.764C15.056 7.021 13.636 4 10.88 4z",transform:"translate(-3.443 -3)"}),i.createElement("path",{id:"Tracciato_90","data-name":"Tracciato 90",className:"cls-1",d:"M24.085 10.761H18a1 1 0 0 1-.981-1.2A14.258 14.258 0 0 1 18.391 5.9c1.4-2.55 3.372-3.9 5.693-3.9a4.38 4.38 0 1 1 0 8.761zm-4.764-2h4.764a2.38 2.38 0 1 0 0-4.761c-2.756 0-4.175 3.021-4.764 4.761z",transform:"translate(-4.478 -3)"}))))}const s=i.forwardRef(c);a.p},216:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n,r=a(0);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i.apply(null,arguments)}function o(e,t){let{title:a,titleId:o,...c}=e;return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":o},c),a?r.createElement("title",{id:o},a):null,n||(n=r.createElement("g",{id:"Raggruppa_5055","data-name":"Raggruppa 5055",transform:"translate(-41 -717)"},r.createElement("rect",{id:"Rettangolo_2145","data-name":"Rettangolo 2145",width:24,height:24,transform:"translate(41 717)",fill:"none"}),r.createElement("g",{id:"Raggruppa_5023","data-name":"Raggruppa 5023",transform:"translate(41 720)"},r.createElement("path",{id:"Tracciato_9012","data-name":"Tracciato 9012",d:"M20.161,85.737H9.6a.716.716,0,0,1,0-1.433H20.161a.716.716,0,0,1,0,1.433",transform:"translate(-2.519 -66.718)",fill:"currentColor"}),r.createElement("path",{id:"Tracciato_9013","data-name":"Tracciato 9013",d:"M19.952,59.755H3.964A3.968,3.968,0,0,0,0,63.719V71.36a3.968,3.968,0,0,0,3.964,3.964H19.952a3.942,3.942,0,0,0,2.1-.61,2.137,2.137,0,0,0,1.561-1.85,3.955,3.955,0,0,0,.3-1.5V63.719a3.969,3.969,0,0,0-3.964-3.964M14.061,67.87a.737.737,0,0,1-.092.1l-3.084,2.67a.716.716,0,1,1-.969-1.055l.032-.027,2.43-2.1-2.405-1.9a.716.716,0,0,1,.888-1.123l3.085,2.44a.716.716,0,0,1,.117,1",transform:"translate(0 -59.755)",fill:"currentColor"})))))}const c=r.forwardRef(o);a.p},217:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n,r,i,o=a(0);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(null,arguments)}function s(e,t){let{title:a,titleId:s,...l}=e;return o.createElement("svg",c({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":s},l),a?o.createElement("title",{id:s},a):null,n||(n=o.createElement("defs",null,o.createElement("clipPath",{id:"clip-path"},o.createElement("rect",{id:"Rettangolo_1948","data-name":"Rettangolo 1948",width:16.794,height:24,fill:"
2currentColor"})))),o.createElement("g",{id:"Raggruppa_4961","data-name":"Raggruppa 4961",transform:"translate(-146 -330)",style:{mixBlendMode:"normal",isolation:"isolate"}},r||(r=o.createElement("g",{id:"Raggruppa_4432","data-name":"Raggruppa 4432",transform:"translate(150 330)"},o.createElement("g",{id:"Raggruppa_4432-2","data-name":"Raggruppa 4432",transform:"translate(0 0)",clipPath:"url(#clip-path)"},o.createElement("path",{id:"Tracciato_8964","data-name":"Tracciato 8964",d:"M16.48.136A.74.74,0,0,0,15.789.05C6.357,3.661,1.095,7.552.148,11.614A4.95,4.95,0,0,0,1.106,16l1.512,1.594A20.909,20.909,0,0,0,1.151,23.2a.74.74,0,0,0,.677.8l.062,0a.741.741,0,0,0,.737-.679,19.813,19.813,0,0,1,1.261-4.915,8.79,8.79,0,0,0,3.311.729,6.17,6.17,0,0,0,3.275-.92c5.938-3.63,6.307-16.895,6.32-17.457A.742.742,0,0,0,16.48.136M9.775,10.527a16.845,16.845,0,0,0-5.123,6.155.74.74,0,1,1-1.323-.665A18.285,18.285,0,0,1,8.9,9.33a.74.74,0,1,1,.871,1.2",transform:"translate(0 0)",fill:"currentColor"})))),i||(i=o.createElement("rect",{id:"Rettangolo_2108","data-name":"Rettangolo 2108",width:24,height:24,transform:"translate(146 330)",fill:"none"}))))}const l=o.forwardRef(s);a.p},218:function(e,t,a){"use strict";t.a="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAbYAAACQCAMAAABTVb7dAAAAV1BMVEVHcEz///+mpqacnJyjo6OlpaUA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AAAAABJRU5ErkJggg=="},220:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n=a(0),r=a.n(n),i=a(111),o=a(1);function c(e){const{children:t,value:a,index:n,...c}=e;return Object(o.jsx)(i.a,{role:"tabpanel",hidden:a!==n,id:"simple-tabpanel-".concat(n),"aria-labelledby":"simple-tab-".concat(n),...c,children:a===n&&Object(o.jsx)(r.a.Fragment,{children:t})})}},222:function(e,t,a){"use strict";a.d(t,"a",(function(){return Ze}));var n=a(0),r=a.n(n),i=a(5),o=a(27),c=a(79),s=a(685),l=a(195),d=a(81),u=a(28),p=a(645),b=a(20),h=a(37),m=a(725),j=a(700),g=a(656),x=a(111),f=a(689),v=a(648),O=a(706),y=a(647),w=a(649),S=a(720),C=a(716),k=a(724),A=a(721),E=a(707),_=a(729),I=a(731),R=a(191),M=a(199),z=a.n(M),T=a(277),B=a.n(T),P=a(717),N=a(202),V=a.n(N),D=a(1);function W(e){return Object(D.jsx)(x.a,{sx:{textAlign:"right",pt:{md:2},mb:{xs:1,md:3}},children:Object(D.jsx)(P.a,{edge:"start","aria-label":"menu",onClick:()=>e.handleBack(),size:"large",sx:{color:"#6B7074"},children:Object(D.jsx)(V.a,{fontSize:"inherit"})})})}var F,q=a.p+"static/media/profile.5d267387.svg",G=a.p+"static/media/login.0472535a.svg",H=a.p+"static/media/blog.6cf6497f.svg";function L(){return L=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},L.apply(null,arguments)}function Y(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",L({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,F||(F=n.createElement("g",{id:"Raggruppa_5056","data-name":"Raggruppa 5056",transform:"translate(-89 -717)"},n.createElement("rect",{id:"Rettangolo_2146","data-name":"Rettangolo 2146",
2width:24,height:24,transform:"translate(89 717)",fill:"none"}),n.createElement("g",{id:"Raggruppa_5039","data-name":"Raggruppa 5039",transform:"translate(89 720)"},n.createElement("path",{id:"Tracciato_9015","data-name":"Tracciato 9015",d:"M69.674,59.288H85.662a3.968,3.968,0,0,1,3.964,3.964v7.641a3.968,3.968,0,0,1-3.964,3.964H69.674a3.968,3.968,0,0,1-3.964-3.964V63.252a3.968,3.968,0,0,1,3.964-3.964M85.662,73.427a2.535,2.535,0,0,0,2.532-2.534V63.252a2.534,2.534,0,0,0-2.532-2.532H69.674a2.534,2.534,0,0,0-2.532,2.532v7.641a2.534,2.534,0,0,0,2.532,2.532Z",transform:"translate(-65.71 -59.288)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9016","data-name":"Tracciato 9016",d:"M85.871,85.27H75.308a.716.716,0,1,1,0-1.433H85.871a.716.716,0,1,1,0,1.433",transform:"translate(-68.23 -66.251)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9017","data-name":"Tracciato 9017",d:"M79.967,72.135a.717.717,0,0,1-.469-1.258l2.43-2.1-2.405-1.9a.716.716,0,0,1,.889-1.123l3.084,2.44a.716.716,0,0,1,.117,1.006.694.694,0,0,1-.092.1l-3.084,2.67a.713.713,0,0,1-.468.175",transform:"translate(-69.551 -61.078)",fill:"currentColor"})))))}const U=n.forwardRef(Y);var Z,X;a.p;function Q(){return Q=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Q.apply(null,arguments)}function J(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",Q({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:23.997,viewBox:"0 0 24 23.997",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,Z||(Z=n.createElement("defs",null,n.createElement("clipPath",{id:"clip-path"},n.createElement("rect",{id:"Rettangolo_3480","data-name":"Rettangolo 3480",width:24,height:23.997,fill:"currentColor"})))),X||(X=n.createElement("g",{id:"Raggruppa_9702","data-name":"Raggruppa 9702",clipPath:"url(#clip-path)"},n.createElement("path",{id:"Tracciato_9720","data-name":"Tracciato 9720",d:"M23.98,9.227a.911.911,0,0,0-.249-.791l-.17-.17L18.45,3.156,15.562.268a.918.918,0,0,0-.744-.26C14.806.008,14.8,0,14.784,0H5.525A5.53,5.53,0,0,0,0,5.522V18.475A5.53,5.53,0,0,0,5.525,24H18.476A5.529,5.529,0,0,0,24,18.475V9.324c0-.034-.018-.064-.019-.1M15.829,3.118,20.88,8.169H16.062a.233.233,0,0,1-.233-.234Zm2.647,19.053H5.525a3.7,3.7,0,0,1-3.7-3.7V5.522a3.7,3.7,0,0,1,3.7-3.7H14V7.935A2.063,2.063,0,0,0,16.062,10h6.109v8.479a3.7,3.7,0,0,1-3.7,3.7",transform:"translate(0 0)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9721","data-name":"Tracciato 9721",d:"M11.825,11.25a3.942,3.942,0,0,0-.562-4.87L9.227,4.344A.913.913,0,0,0,7.934,5.634L9.971,7.671a2.1,2.1,0,0,1,.493,2.218L7.033,6.458A.913.913,0,0,0,5.74,7.748l3.421,3.421a2.186,2.186,0,0,1-2.206-.482L4.919,8.652A.913.913,0,0,0,3.627,9.942l2.036,2.036a3.944,3.944,0,0,0,4.87.563l4.826,4.825a.913.913,0,0,0,1.292-1.291Z",transform:"translate(0.843 1.023)",fill:"currentColor"}))))}const K=n.forwardRef(J);var $;a.p;function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ee.apply(null,arguments)}function te(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",ee({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,$||($=n.createElement("g",{id:"Raggruppa_5064","data-name":"Raggruppa 5064",transform:"translate(-90 -895)"},n.createElement("rect",{id:"Rettangolo_2153","data-name":"Rettangolo 2153",width:24,height:24,transform:"translate(90 895)",fill:"none"}),n.createElement("g",{id:"Raggruppa_5045","data-name":"Raggruppa 5045",transform:"translate(92.504 895.737)"},n.createElement("path",{id:"Tracciato_9020","data-name":"Tracciato 9020",d:"M77.2,329.335a9.494,9.494,0,0,1-7.583-15.2.667.667,0,1,1,1.067.8,8.16,8.16,0,1,0,13.067.034.667.667,0,0,1,1.067-.8,9.493,9.493,0,0,1-7.613,15.165Z",transform:"translate(-67.711 -306.811)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9021","data-name":"Tracciato 9021",d:"M82.807,319.359a1.1,1.1,0,0,1,1.086.917c.009.057.02.116.031.175a3.765,3.765,0,0,1,.081.652,4.108,4.108,0,0,1-4.1,4.1,4.185,4.185,0,0,1-.467-.026,4.14,4.14,0,0,1-3.037-2.03,3.851,3.851,0,0,1-.516-2.823,1.206,1.206,0,0,1,1.177-.957,1.178,1.178,0,0,1,.193.016,16.8,16.8,0,0,0,2.652.16,14.04,14.04,0,0,0,2.608-.151,1.247,1.247,0,0,1,.294-.037M79.9,320.88a19.1,19.1,0,0,1-2.739-.157,2.541,2.541,0,0,0,.377,1.745,2.8,2.8,0,0,0,2.041,1.389,2.865,2.865,0,0,0,.321.018,2.773,2.773,0,0,0,2.77-2.77,2.661,2.661,0,0,0-.052-.37,17.149,17.149,0,0,1-2.717.146",transform:"translate(-70.409 -308.642)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9022","data-name":"Tracciato 9022",d:"M78.732,303.287h.076a2.775,2.775,0,0,1,2.523,1.562,3.07,3.07,0,0,1,1.141-.222,2.667,2.667,0,0,1,2.583,1.816,2.4,2.4,0,0,1,.1.637c0,.049.005.095.009.133v.064a2.667,2.667,0,0,1-2.529,2.8l-.071,0c0,.255-.009.5-.021.747-.01.216-.019.419-.019.621v.009c-.007.525-.432.906-1.262,1.133a9.921,9.921,0,0,1-2.476.257,10.848,10.848,0,0,1-2.511-.245c-.327-.081-1.321-.329-1.321-1.119,0-.208-.009-.418-.019-.639-.011-.25-.
2023-.507-.02-.77a2.712,2.712,0,0,1-2.1-1.1,2.812,2.812,0,0,1-.382-2.538,2.652,2.652,0,0,1,2.575-1.815,2.951,2.951,0,0,1,1.133.228l.014.006a2.7,2.7,0,0,1,2.576-1.568m2.417,2.987a1.09,1.09,0,0,1-.966-.738,1.439,1.439,0,0,0-1.4-.915h-.049a1.383,1.383,0,0,0-1.379.828,1.191,1.191,0,0,1-1.047.8,1.743,1.743,0,0,1-.673-.167,1.618,1.618,0,0,0-.624-.127,1.327,1.327,0,0,0-1.3.881,1.5,1.5,0,0,0,.186,1.35,1.387,1.387,0,0,0,1.155.555h.006a1.074,1.074,0,0,1,1.2,1.234c-.007.261,0,.527.017.807.006.14.013.283.017.429a7.509,7.509,0,0,0,2.5.3,6.779,6.779,0,0,0,2.407-.3c0-.151.011-.3.018-.444.013-.285.026-.555.016-.819a1.182,1.182,0,0,1,.283-.879,1.218,1.218,0,0,1,.9-.316,1.333,1.333,0,0,0,1.422-1.238,1.251,1.251,0,0,0,0-.212c0-.051-.007-.1-.009-.149a1.314,1.314,0,0,0-.037-.3v0a1.32,1.32,0,0,0-1.312-.886,1.762,1.762,0,0,0-.726.161A1.48,1.48,0,0,1,81.149,306.273Z",transform:"translate(-69.236 -303.284)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9023","data-name":"Tracciato 9023",d:"M73.4,332.707a.667.667,0,0,1-.374-1.219,10.457,10.457,0,0,1,11.694,0,.667.667,0,1,1-.747,1.1,9.123,9.123,0,0,0-10.2,0,.665.665,0,0,1-.373.115",transform:"translate(-69.386 -312.089)",fill:"currentColor"})))))}const ae=n.forwardRef(te);a.p;var ne=a(207);a.p;a.p;var re=a(215);var ie,oe;a.p;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ce.apply(null,arguments)}function se(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,ie||(ie=n.createElement("defs",null,n.createElement("clipPath",{id:"clip-path"},n.createElement("rect",{id:"Rettangolo_2159","data-name":"Rettangolo 2159",width:18.442,height:18.442,fill:"currentColor"})))),oe||(oe=n.createElement("g",{id:"Raggruppa_5078","data-name":"Raggruppa 5078",transform:"translate(-90 -1033)"},n.createElement("g",{id:"Raggruppa_5075","data-name":"Raggruppa 5075",transform:"translate(49 -3)"},n.createElement("rect",{id:"Rettangolo_2160","data-name":"Rettangolo 2160",width:24,height:24,transform:"translate(41 1036)",fill:"none"}),n.createElement("g",{id:"Raggruppa_5072","data-name":"Raggruppa 5072",transform:"translate(43.779 1038.999)"},n.createElement("g",{id:"Raggruppa_5071","data-name":"Raggruppa 5071",transform:"translate(0 0.001)",clipPath:"url(#clip-path)"},n.createElement("path",{id:"Tracciato_9061","data-name":"Tracciato 9061",d:"M16.6,1.383a.436.436,0,0,1,.461.461V16.6a.436.436,0,0,1-.461.461H1.844a.436.436,0,0,1-.461-.461V1.844a.436.436,0,0,1,.461-.461ZM16.6,0H1.844A1.85,1.85,0,0,0,0,1.844V16.6a1.85,1.85,0,0,0,1.844,1.844H16.6A1.85,1.85,0,0,0,18.443,16.6V1.844A1.85,1.85,0,0,0,16.6,0",transform:"translate(0 0)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9062","data-name":"Tracciato 9062",d:"M12.954,16.864a.727.727,0,0,1-.737-.737V10.87a.712.712,0,0,1,.737-.645.727.727,0,0,1,.737.737v5.256a.782.782,0,0,1-.737.646",transform:"translate(-3.734 -3.125)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9063","data-name":"Tracciato 9063",d:"M12.914,6.507a.83.83,0,1,1-.83.83.83.83,0,0,1,.83-.83",transform:"translate(-3.693 -1.989)",fill:"currentColor"})))))))}const le=n.forwardRef(se);a.p;var de,ue=a(216);a(211);function pe(){return pe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},pe.apply(null,arguments)}function be(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",pe({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,de||(de=n.createElement("g",{id:"Raggruppa_5063","data-name":"Raggruppa 5063",transform:"translate(-41 -895)"},n.createElement("rect",{id:"Rettangolo_2154","data-name":"Rettangolo 2154",width:24,height:24,transform:"translate(41 895)",fill:"none"}),n.createElement("g",{id:"Raggruppa_5048","data-name":"Raggruppa 5048",transform:"translate(43.503 895.735)"},n.createElement("path",{id:"Tracciato_9047","data-name":"Tracciato 9047",d:"M18.922,315.035a.667.667,0,0,0-1.067.8A8.168,8.168,0,0,1,16.722,326.8a10.4,10.4,0,0,0-10.833,0,8.161,8.161,0,0,1-1.1-11.007A.667.667,0,0,0,3.72,315a9.5,9.5,0,1,0,15.2.042",transform:"translate(-1.809 -307.672)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9048","data-name":"Tracciato 9048",d:"M16.732,320.234c-.035.006-.071.013-.106.023a13.407,13.407,0,0,1-2.63.155,16.515,16.515,0,0,1-2.654-.163,1.207,1.207,0,0,0-1.353.933v.009a3.79,3.79,0,0,0,.509,2.813,4.177,4.177,0,0,0,3.041,2.039,4.1,4.1,0,0,0,4.545-3.608,3.868,3.868,0,0,0,.025-.519,5.649,5.649,0,0,0-.111-.776,1.1,1.1,0,0,0-1.267-.908",transform:"translate(-4.508 -309.5)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9049","data-name":"Tracciato 9049",d:"M9.017,310.942c0,.257.009.513.02.769.009.213.019.425.019.637,0,1.128,2.084,1.365,3.833,1.365,1.7,0,3.72-.241,3.739-1.4,0-.207.01-.414.019-.621.012-.247.023-.5.021-.743.039,0,.078,0,.117-.006a2.667,2.667,0,0,0,2.484-2.811,3.42,3.42,0,0,0-.1-.781l-.021-.076a2.773,2.773,0,0,0-3.564-1.635c-.051.019-.1.039-.151.061a2.757,2.757,0,0,0-2.491-1.554h-.026a2.729,2.729,0,0,0-2.657,1.57q-.1-.046-.2-.082a2.743,2.743,0,0,0-3.51,1.633,2.7,2.7,0,0,0-.17,1.007,2.734,2.734,0,0,0,2.637,2.667",transform:"translate(-3.333 -304.142)",fill:"currentColor"})))))}const he=n.forwardRef(be);var me;a.p;function je(){return je=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},je.apply(null,arguments)}function ge(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",je({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,me||(me=n.createElement("g",{id:"Raggruppa_5053","data-name":"Raggruppa 5053",transform:"translate(-41 -677)"},n.createElement("rect",{id:"Rettangolo_2142","data-name":"Rettangolo 2142",width:24,height:24,transform:"translate(41 677)",fill:"none"}),n.createElement("g",{id:"Raggruppa_5022","data-name":"Raggruppa 5022",transform:"translate(41.641 679)"},n.createElement("path",{id:"Tracciato_9010","data-name":"Tracciato 9010",d:"M6.777,19.99a.71
25.715,0,0,1-.683-.5c-.585-1.832-1.4-5.316-2.437-10.361q-.807.744-1.607,1.5a.716.716,0,1,1-.984-1.042c2.116-2,4.285-3.937,6.383-5.814,1.232-1.1,2.464-2.2,3.693-3.322a1.134,1.134,0,0,1,.094-.092,1.435,1.435,0,0,1,1.994.09c1.135,1.027,2.271,2.038,3.4,3.048,2.2,1.964,4.484,4,6.7,6.09a.716.716,0,0,1-.984,1.042Q21.48,9.807,20.6,9c-.049.253-.1.519-.155.8-.616,3.161-1.459,7.49-2.167,9.7a.717.717,0,0,1-.682.5h0s-2.315-.014-3.592-.016a.717.717,0,0,1-.715-.711l-.027-4.088H11.04l.047,4.075a.718.718,0,0,1-.716.725c-1.547,0-3.2.008-3.577.018H6.777",transform:"translate(-0.841 0.001)",fill:"currentColor"})))))}const xe=n.forwardRef(ge);var fe;a.p,a(217);function ve(){return ve=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},ve.apply(null,arguments)}function Oe(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",ve({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,fe||(fe=n.createElement("g",{id:"Raggruppa_5065","data-name":"Raggruppa 5065",transform:"translate(-41 -941)"},n.createElement("rect",{id:"Rettangolo_2155","data-name":"Rettangolo 2155",width:24,height:24,transform:"translate(41 941)",fill:"none"}),n.createElement("g",{id:"Raggruppa_5034","data-name":"Raggruppa 5034",transform:"translate(44 943)"},n.createElement("path",{id:"Tracciato_9050","data-name":"Tracciato 9050",d:"M13.52,377.051H9.161a3.138,3.138,0,0,1,0-6.276c3.933,0,5.014,5.2,5.061,5.419a.717.717,0,0,1-.559.845.745.745,0,0,1-.143.014m-4.359-4.846a1.706,1.706,0,0,0,0,3.411h3.413c-.422-1.246-1.439-3.411-3.413-3.411",transform:"translate(-4.544 -370.775)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9051","data-name":"Tracciato 9051",d:"M20.563,377.051H16.2a.716.716,0,0,1-.717-.716.7.7,0,0,1,.014-.144c.044-.218,1.129-5.416,5.062-5.416a3.138,3.138,0,1,1,0,6.276m-3.413-1.433h3.413a1.706,1.706,0,0,0,.07-3.411h-.07c-1.974,0-2.991,2.164-3.413,3.411",transform:"translate(-7.229 -370.775)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9052","data-name":"Tracciato 9052",d:"M12.054,381.129H4.19a.232.232,0,0,0-.231.231v1.807a.232.232,0,0,0,.231.231h7.863a.232.232,0,0,0,.231-.231V381.36a.232.232,0,0,0-.231-.231",transform:"translate(-3.959 -373.712)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9053","data-name":"Tracciato 9053",d:"M25.3,381.129H17.626a.232.232,0,0,0-.231.231v1.807a.231.231,0,0,0,.23.231H25.3a.232.232,0,0,0,.233-.23h0V381.36a.232.232,0,0,0-.231-.231",transform:"translate(-7.77 -373.712)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9054","data-name":"Tracciato 9054",d:"M12.32,386.3H5.367a.232.232,0,0,0-.231.231v7.79a.232.232,0,0,0,.231.231h6.954a.232.232,0,0,0,.231-.231v-7.79a.232.232,0,0,0-.231-.231",transform:"translate(-4.293 -375.178)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9055","data-name":"Tracciato 9055",d:"M24.673,394.549H17.719a.232.232,0,0,1-.231-.231v-7.79a.232.232,0,0,1,.231-.231h6.954a.232.232,0,0,1,.231.231v7.79a.232.232,0,0,1-.231.231",transform:"translate(-7.796 -375.178)",fill:"currentColor"})))))}const ye=n.forwardRef(Oe);var we,Se;a.p,a(225);function Ce(){return Ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Ce.apply(null,arguments)}function ke(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",Ce({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,we||(we=n.createElement("defs",null,n.createElement("clipPath",{id:"clip-path"},n.createElement("rect",{id:"Rettangolo_2159","data-name":"Rettangolo 2159",width:18.442,height:18.442,fill:"currentColor"})))),Se||(Se=n.createElement("g",{id:"Raggruppa_5077","data-name":"Raggruppa 5077",transform:"translate(-41 -1033)"},n.createElement("rect",{id:"Rettangolo_2160","data-name":"Rettangolo 2160",width:24,height:24,transform:"translate(41 1033)",fill:"none"}),n.createElement("g",{id:"Raggruppa_5076","data-name":"Raggruppa 5076",transform:"translate(-0.579)"},n.createElement("rect",{id:"Rettangolo_2161","data-name":"Rettangolo 2161",width:17,height:17,rx:1,transform:"translate(45 1037)",fill:"currentColor"}),n.createElement("g",{id:"Raggruppa_5072","data-name":"Raggruppa 5072",transform:"translate(44.358 1035.999)"},n.createElement("g",{id:"Raggruppa_5071","data-name":"Raggruppa 5071",transform:"translate(0 0.001)",clipPath:"url(#clip-path)"},n.createElement("path",{id:"Tracciato_9061","data-name":"Tracciato 9061",d:"M16.6,1.383a.436.436,0,0,1,.461.461V16.6a.43
26.436,0,0,1-.461.461H1.844a.436.436,0,0,1-.461-.461V1.844a.436.436,0,0,1,.461-.461ZM16.6,0H1.844A1.85,1.85,0,0,0,0,1.844V16.6a1.85,1.85,0,0,0,1.844,1.844H16.6A1.85,1.85,0,0,0,18.443,16.6V1.844A1.85,1.85,0,0,0,16.6,0",transform:"translate(0 0)",fill:"currentColor"}),n.createElement("path",{id:"Tracciato_9062","data-name":"Tracciato 9062",d:"M12.954,16.864a.727.727,0,0,1-.737-.737V10.87a.712.712,0,0,1,.737-.645.727.727,0,0,1,.737.737v5.256a.782.782,0,0,1-.737.646",transform:"translate(-3.734 -3.125)",fill:"#27292d"}),n.createElement("path",{id:"Tracciato_9063","data-name":"Tracciato 9063",d:"M12.914,6.507a.83.83,0,1,1-.83.83.83.83,0,0,1,.83-.83",transform:"translate(-3.693 -1.989)",fill:"#27292d"})))))))}const Ae=n.forwardRef(ke);a.p;var Ee,_e,Ie,Re,Me,ze=a(230),Te=a(228);function Be(){return Be=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},Be.apply(null,arguments)}function Pe(e,t){let{title:a,titleId:r,...i}=e;return n.createElement("svg",Be({id:"Raggruppa_6522","data-name":"Raggruppa 6522",xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":r},i),a?n.createElement("title",{id:r},a):null,Ee||(Ee=n.createElement("path",{id:"Tracciato_9186","data-name":"Tracciato 9186",d:"M5.816,21.124a2.658,2.658,0,1,1-2.659-2.659A2.659,2.659,0,0,1,5.816,21.124Z",transform:"translate(0.424 -0.707)",fill:"currentColor"})),_e||(_e=n.createElement("path",{id:"Tracciato_9186_-_Contorno","data-name":"Tracciato 9186 - Contorno",d:"M3.082,17.465A3.583,3.583,0,1,1-.5,21.048,3.587,3.587,0,0,1,3.082,17.465Zm0,5.317a1.734,1.734,0,1,0-1.733-1.734A1.736,1.736,0,0,0,3.082,22.782Z",transform:"translate(0.5 -0.631)",fill:"currentColor"})),Ie||(Ie=n.createElement("path",{id:"Tracciato_9187","data-name":"Tracciato 9187",d:"M23.611,3.159A2.658,2.658,0,1,1,20.953.5,2.659,2.659,0,0,1,23.611,3.159Z",transform:"translate(-0.536 0.424)",fill:"currentColor"})),Re||(Re=n.createElement("path",{id:"Tracciato_9187_-_Contorno","data-name":"Tracciato 9187 - Contorno",d:"M20.877-.5A3.583,3.583,0,1,1,17.3,3.083,3.587,3.587,0,0,1,20.877-.5Zm0,5.317a1.734,1.734,0,1,0-1.733-1.734A1.736,1.736,0,0,0,20.877,4.817Z",transform:"translate(-0.46 0.5)",fill:"currentColor"})),Me||(Me=n.createElement("path",{id:"Tracciato_9188","data-name":"Tracciato 9188",d:"M15.966,23.5a5.07,5.07,0,0,1-5.093-5.036V4.536A3.191,3.191,0,0,0,7.667,1.366h-.2A3.191,3.191,0,0,0,4.264,4.536v8.135a.944.944,0,0,1-1.888,0V4.536A5.07,5.07,0,0,1,7.469-.5h.2A5.07,5.07,0,0,1,12.76,4.536V18.463a3.206,3.206,0,0,0,6.412,0V10.328a.944.944,0,0,1,1.888,0v8.135A5.071,5.071,0,0,1,15.966,23.5Z",transform:"translate(0.283 0.5)",fill:"currentColor"})))}const Ne=n.forwardRef(Pe);a.p;var Ve=a.p+"static/media/comingsoon.2fdcc24c.svg",De=a(254),We=a.n(De),Fe=a(255),qe=a.n(Fe);const Ge=Object(s.a)((e=>({menuIcon:{color:"#fff",minWidth:"40px",justifyContent:"center",marginRight:"20px"}}))),He=Object(p.a)(m.a)((e=>{let{theme:t}=e;return{"& .MuiPaper-root":{backgroundColor:"#2F3337",color:"#fff"}}})),Le=Object(p.a)(j.a)((e=>{let{theme:t}=e;return{"&.active":{"& .icon":{"&.active":{display:"inline"},"&.inactive":{display:"none"}}},"& .icon":{"&.active":{display:"none"},"&.inactive":{display:"inline"}}}})),Ye=r.a.forwardRef((function(e,t){return Object(D.jsx)(g.a,{direction:"left",ref:t,...e})})),Ue=e=>{const{i18n:t,t:a}=Object(c.a)(),{currentCategory:n}=Object(d.a)(),{packageType:s,isWellness:p}=Object(l.a)(),m=Object(i.i)(),j=Object(i.h)(),{handleMenuClose:g}=e,I=Ge(),{auth:M,logout:T}=r.a.useContext(b.a),{config:P}=r.a.useContext(h.a),[N,V]=r.a.useState({courses:!1,recipes:!1}),[F,L]=r.a.useState(!1);return Object(D.jsxs)(x.a,{p:1,sx:{pb:{xs:10,sm:1}},children:[Object(D.jsx)(W,{handleBack:()=>g()}),Object(D.jsxs)(x.a,{sx:{borderRadius:"14px",backgroundColor:"#555C64",mb:{xs:1,md:3}},children:[Object(D.jsxs)(f.a,{sx:{p:2,display:"flex",width:"100%",textAlign:"left"},onClick:()=>{M.isAuthenticated?L(!F):j.push("/".concat(t.language,"/auth/login"),{from:m.pathname+m.search})},children:[Object(D.jsx)(v.a,{className:I.menuIcon,children:M.isAuthenticated&&M.user&&M.user.data&&M.user.data.img_avatar?Object(D.jsx)(O.a,{src:M.user.data.img_avatar}):Object(D.jsx)("img",{src:M.isAuthenticated?q:G})}),Object(D.jsx)(y.a,{children:Object(D.jsxs)(w.a,{direction:"row",alignItems:"center",spacing:3,children:[Object(D.jsx)(S.a,{fontSize:"inherit",color:"inherit",children:Object(D.jsx)("b",{children:M.isAuthenticated?M.user.data.first_name||a("Profilo"):a("Accedi")})}),M.isAuthenticated&&M.user&&M.user.data&&Object(D.jsxs)(x.a,{sx:{borderRadius:"5px",background:"#41474E",padding:"1px 10px"},children:[Object(D.jsx)(C.a,{component:ze.a,color:"gold",sx:{fontSize:16,verticalAlign:"middle"}}),"\xa0",Object(D.jsx)("b",{children:M.user.data.achievements_count||"0"})]})]})}),M.isAuthenticated&&Object(D.jsx)(r.a.Fragment,{children:F?Object(D.jsx)(B.a,{fontSize:"large"}):Object(D.jsx)(z.a,{fontSize:"large"})})]}),Object(D.jsx)(k.a,{in:F,children:Object(D.jsxs)(A.a,{children:[Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/user/progress"),children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("I miei progressi")})]}),Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/user/profile"),children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Dati account")}
2)]}),Object(D.jsxs)(Le,{component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/user/referral"),button:!0,children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Invita un amico")})]}),Object(D.jsxs)(Le,{activeStyle:{textDecoration:"underline"},onClick:()=>T(),button:!0,sx:{mb:2},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Logout")})]})]})})]}),Object(D.jsxs)(A.a,{children:[Object(D.jsxs)(Le,{button:!0,exact:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"home"})},sx:{mb:1},children:[Object(D.jsxs)(v.a,{className:I.menuIcon,children:[Object(D.jsx)(C.a,{className:"icon inactive",component:ne.a,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}}),Object(D.jsx)(C.a,{className:"icon active",component:xe,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}})]}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Home")})})]}),Object(D.jsxs)(Le,{button:!0,onClick:()=>{V({...N,courses:!N.courses})},sx:{mb:1},children:[Object(D.jsxs)(v.a,{className:I.menuIcon,children:[Object(D.jsx)(C.a,{className:"icon inactive",component:U,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}}),Object(D.jsx)(C.a,{className:"icon active",component:ue.a,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}})]}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Corsi di cucina")})}),N.courses?Object(D.jsx)(We.a,{}):Object(D.jsx)(qe.a,{})]}),Object(D.jsxs)(k.a,{in:N.courses,children:[Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/").concat(a("corsi")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"masterclass"})},sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("MasterClass")})]}),P.basics_enabled&&Object(D.jsxs)(Le,{button:!0,component:o.b,to:"/".concat(t.language,"/").concat(a("scuola")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"basics"})},sx:{mb:1,"&.active":{"& .text":{textDecoration:"underline"}}},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("La scuola")})]}),P.horeca_enabled&&Object(D.jsxs)(Le,{button:!0,component:o.b,to:"/".concat(t.language,"/").concat(a("horeca")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"horeca"})},sx:{mb:1,"&.active":{"& .text":{textDecoration:"underline"}}},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("HoReCa")})]}),P.wellness_enabled&&Object(D.jsxs)(Le,{button:!0,component:o.b,to:"/".concat(t.language,"/").concat(a("benessere")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"wellness"})},sx:{mb:1,"&.active":{borderRadius:"14px",py:1.5,background:"#444E43","& .text":{textDecoration:"underline"}}},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Benessere")})]})]}),P.recipes_enabled&&Object(D.jsxs)(D.Fragment,{children:[Object(D.jsxs)(Le,{button:!0,onClick:()=>{V({...N,recipes:!N.recipes})},sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon,children:Object(D.jsx)(C.a,{className:"icon inactive",component:K,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}})}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Ricette")})}),Object(D.jsx)(E.a,{color:"white",size:"small",label:Object(D.jsx)("b",{children:a("Novit\xe0")}),sx:{mr:1}}),N.recipes?Object(D.jsx)(We.a,{}):Object(D.jsx)(qe.a,{})]}),Object(D.jsxs)(k.a,{in:N.recipes,children:[Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/").concat(a("ricette")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"recipes"})},sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Sezione Ricette")})]}),Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/").concat(a("pasti")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"meals"})},sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Pasti")})]}),Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/user/recipes"),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"favorites_recipes"})},sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Ricette preferite")})]}),Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/user/shopping-list"),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"shopping_list"})}
2,sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon}),Object(D.jsx)(y.a,{children:a("Lista della spesa")})]})]})]}),P.learning_paths_enabled&&Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/").concat(a("percorsi")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"learning_paths"})},sx:{mb:1},children:[Object(D.jsxs)(v.a,{className:I.menuIcon,children:[Object(D.jsx)(C.a,{className:"icon inactive",component:Te.a,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}}),Object(D.jsx)(C.a,{className:"icon active",component:Ne,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}})]}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Percorsi")})})]}),"it"===t.language&&Object(D.jsxs)(Le,{button:!0,component:_.a,activeStyle:{textDecoration:"underline"},href:"https://ac.academia.tv/comingsoon",onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"coming_soon"})},sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon,children:Object(D.jsx)("img",{src:Ve,width:"30"})}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Corsi in arrivo")})})]}),Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:{pathname:"/".concat(t.language,"/giftcard"),search:"from=".concat(s?s.key:"masterclass")},onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"giftcard"})},sx:{mb:1},children:[Object(D.jsxs)(v.a,{className:I.menuIcon,children:[Object(D.jsx)(C.a,{className:"icon inactive",viewBox:"0 0 29.044 29.043",component:re.a,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}}),Object(D.jsx)(C.a,{className:"icon active",component:ye,sx:{color:e=>e.palette.text.primary,fontSize:"2rem"}})]}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Giftcard - Regalo")})})]}),Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/").concat(a("maestri")),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"masters"})},sx:{mb:1},children:[Object(D.jsxs)(v.a,{className:I.menuIcon,children:[Object(D.jsx)(C.a,{className:"icon inactive",component:ae,sx:{color:e=>e.palette.text.primary,fontSize:"2.2rem"}}),Object(D.jsx)(C.a,{className:"icon active",component:he,sx:{color:e=>e.palette.text.primary,fontSize:"2.2rem"}})]}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("I maestri")})})]}),Object(D.jsxs)(Le,{button:!0,component:o.b,activeStyle:{textDecoration:"underline"},to:"/".concat(t.language,"/user/faq"),onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"faq"})},sx:{mb:1},children:[Object(D.jsxs)(v.a,{className:I.menuIcon,children:[Object(D.jsx)(C.a,{className:"icon inactive",component:le,sx:{color:e=>e.palette.text.primary,fontSize:"2.2rem"}}),Object(D.jsx)(C.a,{className:"icon active",component:Ae,sx:{color:e=>e.palette.text.primary,fontSize:"2.2rem"}})]}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Domande frequenti")})})]}),"it"===t.language&&Object(D.jsxs)(Le,{button:!0,component:_.a,activeStyle:{textDecoration:"underline"},href:"https://blog.academia.tv/",onClick:()=>{Object(u.e)({event:"menu_nav",event_id:"08",event_trigger:"GAevent",event_detail:"blog"})},sx:{mb:1},children:[Object(D.jsx)(v.a,{className:I.menuIcon,children:Object(D.jsx)("img",{src:H,width:"30"})}),Object(D.jsx)(y.a,{children:Object(D.jsx)("b",{children:a("Blog")})})]}),(!M.isAuthenticated||M.isAuthenticated&&M.user&&M.user.data&&!M.user.data.flag_active_subscription&&!p||M.isAuthenticated&&M.user&&M.user.data&&!M.user.data.flag_active_wellness_subscription&&p)&&Object(D.jsx)(Le,{children:Object(D.jsx)(y.a,{children:Object(D.jsx)(R.a,{fullWidth:!0,component:o.b,to:{pathname:"/".concat(t.language,"/paywall"),search:"from=".concat(s&&"horeca"!==s.key?s.key:"masterclass"),state:{from:m.pathname}},onClick:()=>{Object(u.e)({event:"cta_click",event_id:"03",event_trigger:"GAevent",event_detail:"buy_".concat(s&&"horeca"!==s.key?s.key:"masterclass"),event_subdetail
2:a("Attiva l'abbonamento")})},color:"primary",children:a("Attiva l'abbonamento")})})}),!p&&(!M.isAuthenticated||M.isAuthenticated&&M.user&&M.user.data&&!M.user.data.flag_active_subscription)&&Object(D.jsx)(Le,{children:Object(D.jsx)(y.a,{children:Object(D.jsx)(R.a,{fullWidth:!0,component:o.b,to:{pathname:Object(i.f)("/:lang/:courses/:courseSlug/:lessons/:lessonSlug",{lang:t.language,courses:a("corsi"),courseSlug:P.free_lesson_course_slug,lessons:a("lezioni"),lessonSlug:P.free_lesson_slug}),state:{from:m.pathname}},color:"secondary",onClick:()=>{Object(u.e)({event:"free_lesson",event_id:"03",event_trigger:"GAevent",event_detail:"".concat(n," menu")})},children:a("Guarda lezione gratuita")})})}),p&&s&&(!M.isAuthenticated||M.isAuthenticated&&M.user&&M.user.data&&!M.user.data.flag_active_wellness_subscription)&&Object(D.jsx)(Le,{children:Object(D.jsx)(y.a,{children:Object(D.jsx)(R.a,{fullWidth:!0,component:o.b,to:{pathname:Object(i.f)("/:lang/:package/:classSlug/:modules/:moduleSlug/:lessons/:chapterSlug",{lang:t.language,package:s.translation,classSlug:P.wellness_free_lesson_course_pkg_slug,modules:a("moduli"),moduleSlug:P.wellness_free_lesson_course_slug,lessons:a("lezioni"),chapterSlug:P.wellness_free_lesson_slug}),state:{from:m.pathname}},onClick:()=>{Object(u.e)({event:"free_lesson",event_id:"03",event_trigger:"GAevent",event_detail:"".concat(n," menu")})},color:"secondary",children:a("Guarda lezione gratuita")})})})]})]})};function Ze(e){const t=Object(i.i)(),{open:a,setOpen:n}=e,{auth:o}=r.a.useContext(b.a),[c,s]=r.a.useState(!1),l=()=>{n(!1)};return r.a.useEffect((()=>{c?l():s(!0)}),[o,t.pathname]),Object(D.jsxs)(r.a.Fragment,{children:[Object(D.jsx)(He,{fullScreen:!0,open:a,onClose:l,TransitionComponent:Ye,sx:{dis
2play:{xs:"block",sm:"none"}},children:Object(D.jsx)(Ue,{handleMenuClose:l})}),Object(D.jsx)(I.a,{anchor:"right",open:a,onClose:l,sx:{"& .MuiPaper-root":{minWidth:375},display:{xs:"none",sm:"block","& .MuiDrawer-paper":{backgroundColor:"#26292D",color:"#fff"}}},children:Object(D.jsx)(Ue,{handleMenuClose:l})})]})}},223:function(e,t,a){"use strict";a.d(t,"b",(function(){return D})),a.d(t,"a",(function(){return W}));var n,r=a(0),i=a.n(r),o=a(5),c=a(27),s=a(35),l=a(79),d=a(20),u=a(37),p=a(728),b=a(729),h=a(111),m=a(730),j=a(720),g=a(705),x=a(649),f=a(706),v=a(716),O=a(718),y=a(717),w=a(196),S=a(56),C=a(657),k=a(192),A=a(259),E=a.n(A),_=a(209),I=a(227);function R(){return R=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},R.apply(null,arguments)}function M(e,t){let{title:a,titleId:i,...o}=e;return r.createElement("svg",R({xmlns:"http://www.w3.org/2000/svg",width:23.999,height:23.999,viewBox:"0 0 23.999 23.999",ref:t,"aria-labelledby":i},o),a?r.createElement("title",{id:i},a):null,n||(n=r.createElement("g",{id:"Raggruppa_6485","data-name":"Raggruppa 6485",transform:"translate(-1065.517 -221.088)"},r.createElement("path",{id:"My_path_4_","data-name":"My path (4)",d:"M23.6,2H4.4A2.4,2.4,0,0,0,2.012,4.4L2,26l4.8-4.8H23.6A2.407,2.407,0,0,0,26,18.8V4.4A2.407,2.407,0,0,0,23.6,2Zm0,16.8H5.8L4.4,20.2V4.4H23.6Z",transform:"translate(1063.517 219.088)",fill:"currentColor"}),r.createElement("g",{id:"Raggruppa_6115","data-name":"Raggruppa 6115",transform:"translate(1071.824 225.528)"},r.createElement("path",{id:"Poligono_5","data-name":"Poligono 5",d:"M4.269.854a.3.3,0,0,1,.569,0l.806,2.419a.3.3,0,0,0,.19.19l2.419.806a.3.3,0,0,1,0,.569l-2.419.806a.3.3,0,0,0-.19.19L4.838,8.254a.3.3,0,0,1-.569,0L3.463,5.834a.3.3,0,0,0-.19-.19L.854,4.838a.3.3,0,0,1,0-.569l2.419-.806a.3.3,0,0,0,.19-.19Z",transform:"translate(0 0)",fill:"currentColor"}),r.createElement("path",{id:"Poligono_6","data-name":"Poligono 6",d:"M2.372.854a.3.3,0,0,1,.569,0l.332,1a.3.3,0,0,0,.19.19l1,.332a.3.3,0,0,1,0,.569l-1,.332a.3.3,0,0,0-.19.19l-.332,1a.3.3,0,0,1-.569,0l-.332-1a.3.3,0,0,0-.19-.19l-1-.332a.3.3,0,0,1,0-.569l1-.332a.3.3,0,0,0,.19-.19Z",transform:"translate(6.072 5.313)",fill:"currentColor"})))))}const z=r.forwardRef(M);a.p;var T=a.p+"static/media/whatsapp.39072750.svg",B=a(276),P=a.n(B),N=a(1);const V="microphone",D=e=>{const{auth:t}=i.a.useContext(d.a),{config:a}=i.a.useContext(u.a),[n,r]=i.a.useState(null);return Object(N.jsx)(N.Fragment,{children:!Boolean(window.Android)&&!!a&&a.tutor_help_enabled&&!t.isAuthenticated&&Object(N.jsx)(N.Fragment,{children:Object(N.jsx)(p.a,{component:b.a,href:a.tutor_help_url,target:"_blank",color:"white",sx:{position:"fixed",zIndex:1,bottom:16,right:16},children:Object(N.jsx)(k.a,{src:T,sx:{width:40,height:40}})})})})},W=e=>{const{sx:t,buttonProps:a,iconProps:n,variant:r}=e,{t:p,i18n:b}=Object(l.a)(),k=Object(S.a)(),A=Object(o.i)(),R=Object(C.a)(k.breakpoints.down("md")),{auth:M}=i.a.useContext(d.a),{config:T}=i.a.useContext(u.a),[B,D]=i.a.useState(null),{request:W,cancelToken:F}=i.a.useContext(s.a),[q,G]=i.a.useState(!1);return Object(N.jsx)(h.a,{...t,children:!!T&&T.tutor_ai_enabled&&Object(N.jsxs)(N.Fragment,{children:[Object(N.jsx)(m.a,{open:q&&!R&&!!M.user&&!!M.user.data&&M.user.data.flag_active_pro,onClose:()=>{G(!1)},anchorReference:"none",PaperProps:{sx:{position:"fixed",right:24,bottom:24,margin:10,width:400}},children:Object(N.jsx)(h.a,{sx:{width:400,height:"75vh",overflow:"hidden"},children:Object(N.jsx)("iframe",{title:"chatbot",src:T.tutor_ai_url,allow:V,width:"100%",height:"100%",style:{border:"none"}})})}),Object(N.jsx)(w.a,{fullWidth:!0,maxWidth:"lg",scroll:"body",fullScreen:!0,open:q&&R&&!!M.user&&!!M.user.data&&M.user.data.flag_active_pro,handleClose:()=>{G(!1)},children:Object(N.jsx)(h.a,{sx:{width:"100%",height:"100vh",overflow:"hidden"},children:Object(N.jsx)("iframe",{title:"chatbot",src:T.tutor_ai_url,allow:V,width:"100%",height:"100%",style:{border:"none"}})})}),Object(N.jsx)(w.a,{fullWidth:!0,maxWidth:"lg",scroll:"body",fullScreen:R,open:q&&(!!M.user&&!!M.user.data&&!M.user.data.flag_active_pro||!M.isAuthenticated),handleClose:()=>{G(!1)},children:Object(N.jsxs)(h.a,{sx:{px:3,pb:3,textAlign:"center"},children:[Object(N.jsx)(j.a,{variant:"h6",color:"textPrimary",sx:{mb:4},children:Object(N.jsx)("b",{children:p("Che cos\u2019\xe8 il Tutor AI? Come pu\xf2 migliorarmi?")})}),Object(N.jsxs)(g.a,{container:!0,spacing:4,justify:!0,children:[Object(N.jsx)(g.a,{item:!0,xs:12,md:4,children:Object(N.jsxs)(x.a,{alignItems:"center",justifyContent:"center",children:[Object(N.jsx)(f.a,{variant:"rounded",sx:{width:98,height:98,background:"#42474E",borderRadius:"20px",mb:3},children:Object(N.jsx)(v.a,{component:I.a,sx:{color:"#b1b8be",fontSize:45}})}),Object(N.jsx)(j.a,{variant:"h6",color:"textPrimary",sx:{mb:3},children:Object(N.jsx)("b",{children:p("Assistente AI \u2013 Formato dai nostri Maestri")})}),Object(N.jsx)(j.a,{color:"textSecondary",children:p("Il sapere dei pi\xf9 grandi chef del mondo racchiuso in un unico assistente digitale di cucina, creato da Acad\xe8mia.tv.")})]})}),Object(N.jsx)(g.a,{item:!0,xs:12,md:4,children:Object(N.jsxs)(x.a,{alignItems:"center",justifyContent:"center",children:[Object(N.jsx)(f.a,{variant:"rounded",sx:{width:98,height:98,background:"#42474E",borderRadius:"20px",mb:3},children:Object(N.jsx)(P.a,{sx:{color:"#b1b8be",fontSize:45}})}),Object(N.jsx)(j.a,{variant:"h6",color:"textPrimary",sx:{mb:3},children:Object(N.jsx)("b",{children:p("Supporto in tempo reale, e pi\xf9 sicurezza ai fornelli")})}),Object(N.jsx)(j.a,{color:"textSecondary",children:p("Disponibile 24 ore su 24: risponde ai tuoi dubbi, ti guida passo dopo passo nelle ricette e ti aiuta a perfezionarle.")})]})}),Object(N.jsx)(g.a,{item:!0,xs:12,md:4,children:Object(N.jsxs)(x.a,{alignItems:"center",justifyContent:"center",children:[Object(N.jsx)(f.a,{variant:"rounded",sx:{width:98,height:98,background:"#42474E",borderRadius:"20px",mb:3},children:Object(N.jsx)(v.a,{component:z,sx:{color:"#b1b8be",fontSize:45}})}),Object(N.jsx)(j.a,{variant:"h6",color:"textPrimary",sx:{mb:3},children:Object(N.jsx)("b",{children:p("Un\u2019esperienza Premium, su misura per te")})}),Object(N.jsx)(j.a,{color:"textSecondary",children:p("Selezione di ricette, menu personalizzati, planning settimanale: tutto adattato ai tuoi gusti e alle tue esigenze.")})]})})]}),Object(N.jsxs)(x.a,{sx:{mt:4},justifyContent:"center",alignItems:"center",children:[Object(N.jsx)(j.a,{color:"textPrimary",sx:{mb:2,maxWidth:"400px"},children:p("Tutor \xe8 incluso nel piano PRO, insieme a video in 4k, Live e Libri di cucina digitali esclusivi")}),Object(N.jsx)(O.a,{size:"large",variant:"contained",color:"primary",component:c.b,to:{pathname:"/".concat(b.language,"/paywall"),search:"from=masterclass",state:{from:A.pathname}},children:Object(N.jsx)("b",{children:p("Scopri il piano PRO")})})]})]})}),r&&"icon"===r?Object(N.jsx)(y.a,{size:"large",sx:{backgroundColor:"#F7F7F7","&:hover":{backgroundColor:"#E1E1E1"}},onClick:()=>{G(!0)},children:Object(N.jsx)(v.a,{component:_.a,color:"darkVariant",fontSize:"large"})}):Object(N.jsx)(O.a,{fullWidth:!0,variant:"contained",color:"white",size:"large",endIcon:Object(N.jsx)(E.a,{color:"inherit"}),sx:{justifyContent:"space-between"},onClick:()=>{G(!0)},...a,children:Object(N.jsxs)("span",{children:[Object(N.jsx)(v.a,{component:_.a,color:"primary",sx:{verticalAlign:"bottom",mr:1},...n})," ",p("Chiedi al Tutor")]})})]})})}},225:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n,r=a(0);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i.apply(null,arguments)}function o(e,t){let{title:a,titleId:o,...c}=e;return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":o},c),a?r.createElement("title",{id:o},a):null,n||(n=r.createElement("g",{id:"Raggruppa_5057","data-name":"Raggruppa 5057",transform:"translate(-41 -761)"},r.createElement("rect",{id:"Rettangolo_2147","data-name":"Rettangolo 2147",width:24,height:24,transform:"translate(41 761)",fill:"none"}),r.createElement("g",{id:"Raggruppa_5027","data-name":"Raggruppa 5027",transform:"translate(45 762.37)"},r.createElement("path",{id:"Tracciato_9011","data-name":"Tracciato 9011",d:"M21.459,123.174a.534.534,0,0,0-.208-.042,1.827,1.827,0,0,1,0-3.653.537.537,0,0,0,0-1.075H8.262a2.989,2.989,0,0,0-2.984,2.943V137a2.663,2.663,0,0,0,2.661,2.661H21.168a1.056,1.056,0,0,0,1.054-1.054V124.182a1.048,1.048,0,0,0-.763-1.008m-8.7,7.085a.28.28,0,0,1-.458.21l-.951-.779a.286.286,0,0,0-.358,0l-.963.775a.28.28,0,0,1-.457-.211v-6.047l3.186-.006Zm-4.5-10.78H19a2.9,2.9,0,0,0,0,3.656H8.123a1.771,1.771,0,0,1-1.77-1.758,1.912,1.912,0,0,1,1.91-1.9",transform:"translate(-5.278 -118.404)",fill:"currentColor"})))))}const c=r.forwardRef(o);a.p},226:function(e,t,a){"use strict";a.d(t,"a",(function(){return o}
2));var n=a(0);function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},r.apply(null,arguments)}function i(e,t){let{title:a,titleId:i,...o}=e;return n.createElement("svg",r({xmlns:"http://www.w3.org/2000/svg",width:22,height:21.999,viewBox:"0 0 22 21.999",ref:t,"aria-labelledby":i},o),a?n.createElement("title",{id:i},a):null,n.createElement("g",{"data-name":"Raggruppa 3943"},n.createElement("g",{"data-name":"Raggruppa 1954"},n.createElement("path",{"data-name":"Unione 52",d:"m19.683 21.6-3.972-3.974A9.8 9.8 0 0 1 2.872 2.87a9.8 9.8 0 0 1 14.757 12.839l3.971 3.974a1.357 1.357 0 1 1-1.92 1.918zM2.714 9.8A7.089 7.089 0 1 0 9.8 2.715 7.1 7.1 0 0 0 2.714 9.8z",style:{fill:"currentColor"}}))))}const o=n.forwardRef(i);a.p},227:function(e,t,a){"use strict";a.d(t,"a",(function(){return c}));var n,r=a(0);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},i.apply(null,arguments)}function o(e,t){let{title:a,titleId:o,...c}=e;return r.createElement("svg",i({xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",width:"24px",height:"25px",viewBox:"0 0 24 25",ref:t,"aria-labelledby":o},c),a?r.createElement("title",{id:o},a):null,n||(n=r.createElement("defs",null,r.createElement("clipPath",{id:"clip1"},r.createElement("path",{d:"M 10 19 L 23.910156 19 L 23.910156 25 L 10 25 Z M 10 19 "})))),r.createElement("g",{id:"surface1"},r.createElement("path",{style:{stroke:"none",fillRule:"nonzero",fill:"currentColor",fillOpacity:1},d:"M 0 23.320312 L 0 25.109375 L 8.367188 25.109375 L 8.367188 23.320312 C 8.371094 23.121094 8.390625 22.921875 8.425781 22.726562 L 3.3125 22.726562 C 4.894531 21.976562 6.617188 21.570312 8.367188 21.535156 C 8.5 21.535156 8.644531 21.546875 8.773438 21.546875 C 9.21875 20.660156 9.898438 19.914062 10.734375 19.386719 C 9.953125 19.242188 9.164062 19.160156 8.367188 19.148438 C 5.570312 19.148438 0 20.546875 0 23.320312 "}),r.createElement("g",{clipPath:"url(#clip1)",clipRule:"nonzero"},r.createElement("path",{style:{stroke:"none",fillRule:"nonzero",fill:"currentColor",fillOpacity:1},d:"M 17.332031 19.746094 C 15.132812 19.746094 10.757812 20.949219 10.757812 23.324219 L 10.757812 25.109375 L 23.910156 25.109375 L 23.910156 23.324219 C 23.910156 20.949219 19.535156 19.746094 17.335938 19.746094 "})),r.createElement("path",{style:{stroke:"none",fillRule:"nonzero",fill:"currentColor",fillOpacity:1},d:"M 14.71875 16.410156 C 14.992188 16.902344 15.394531 17.304688 15.886719 17.578125 C 16.785156 18.085938 17.882812 18.085938 18.78125 17.578125 C 20.222656 16.78125 20.746094 14.96875 19.945312 13.527344 C 19.148438 12.089844 17.332031 11.570312 15.886719 12.363281 C 14.445312 13.160156 13.921875 14.972656 14.71875 16.410156 "}),r.createElement("path",{style:{stroke:"none",fillRule:"nonzero",fill:"currentColor",fillOpacity:1},d:"M 4.222656 11.585938 C 4.199219 11.765625 4.183594 12.40625 4.183594 12.59375 C 4.183594 14.898438 6.058594 16.765625 8.367188 16.765625 C 10.679688 16.765625 12.550781 14.898438 12.550781 12.59375 C 12.550781 12.402344 12.535156 11.757812 12.511719 11.578125 C 11.734375 11.769531 10.945312 11.910156 10.148438 11.992188 C 10.152344 12.039062 10.160156 12.542969 10.160156 12.59375 C 10.160156 13.582031 9.359375 14.378906 8.367188 14.378906 C 7.378906 14.378906 6.574219 13.582031 6.574219 12.59375 C 6.574219 12.546875 6.585938 12.046875 6.585938 12 C 5.789062 11.925781 5 11.785156 4.222656 11.585938 "}),r.createElement("path",{style:{stroke:"none",fillRule:"nonzero",fill:"currentColor",fillOpacity:1},d:"M 4.296875 7.03125 L 4.296875 9.484375 C 5.609375 9.890625 6.976562 10.085938 8.351562 10.070312 C 9.761719 10.078125 11.167969 9.882812 12.523438 9.484375 L 12.523438 7.007812 C 13.460938 6.785156 14.191406 6.050781 14.402344 5.113281 C 14.617188 4.175781 14.277344 3.195312 13.53125 2.589844 C 12.78125 1.984375 11.753906 1.851562 10.878906 2.253906 C 10.742188 0.972656 9.660156 0 8.367188 0 C 7.078125 0 5.996094 0.972656 5.859375 2.253906 C 4.972656 1.855469 3.9375 1.996094 3.191406 2.617188 C 2.445312 3.238281 2.121094 4.230469 2.355469 5.171875 C 2.59375 6.109375 3.347656 6.832031 4.296875 7.03125 "})))}const c=r.forwardRef(o);a.p},228:function(e,t,a){"use strict";a.d(t,"a",(function(){return l}));var n,r,i,o=a(0);function c(){return c=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},c.apply(null,arguments)}function s(e,t){let{title:a,titleId:s,...l}=e;return o.createElement("svg",c({id:"Raggruppa_6521","data-name":"Raggruppa 6521",xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",ref:t,"aria-labelledby":s},l),a?o.createElement("title",{id:s},a):null,n||(n=o.createElement("path",{id:"Tracciato_9186","data-name":"Tracciato 9186",d:"M3.082,17.465A3.583,3.583,0,1,1-.5,21.048,3.587,3.587,0,0,1,3.082,17.465Zm0,5.317a1.734,1.734,0,1,0-1.733-1.734A1.736,1.736,0,0,0,3.082,22.782Z",transform:"translate(0.5 -0.631)",fill:"currentColor"})),r||(r=o.createElement("path",{id:"Tracciato_9187","data-name":"Tracciato 9187",d:"M20.877-.5A3.583,3.583,0,1,1,17.3,3.083,3.587,3.587,0,0,1,20.877-.5Zm0,5.317a1.734,1.734,0,1,0-1.733-1.734A1.736,1.736,0,0,0,20.877,4.817Z",transform:"translate(-0.46 0.5)",fill:"currentColor"})),i||(i=o.createElement("path",{id:"Tracciato_9188","data-name":"Tracciato 9188",d:"M15.966,23.5a5.07,5.07,0,0,1-5.093-5.036V4.536A3.191,3.191,0,0,0,7.667,1.366h-.2A3.191,3.191,0,0,0,4.264,4.536v8.135a.944.944,0,0,1-1.888,0V4.536A5.07,5.07,0,0,1,7.469-.5h.2A5.07,5.07,0,0,1,12.76,4.536V18.463a3.206,3.206,0,0,0,6.412,0V10.328a.944.944,0,0,1,1.888,0v8.135A5.071,5.071,0,0,1,15.966,23.5Z",transform:"translate(0.283 0.5)",fill:"currentColor"})))}const l=o.forwardRef(s);a.p},230:function(e,t,a){"use strict";a.d(t,"a",(function(){return s}));var n,r,i=a(0);function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)({}).hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},o.apply(null,arguments)}function c(e,t){let{title:a,titleId:c,...s}=e;return i.createElement("svg",o({width:24,height:24,viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",ref:t,"aria-labelledby":c}
2,s),a?i.createElement("title",{id:c},a):null,n||(n=i.createElement("defs",null,i.createElement("clipPath",{id:"clip-path"},i.createElement("rect",{transform:"translate(0)",width:24,height:20.326,fill:"currentColor","data-name":"Rettangolo 2256"})))),r||(r=i.createElement("g",{transform:"translate(-443 -449)","data-name":"Raggruppa 5701"},i.createElement("rect",{transform:"translate(443 449)",width:24,height:24,fill:"none","data-name":"Rettangolo 2479"}),i.createElement("g",{transform:"translate(443 451)","data-name":"Raggruppa 5691"},i.createElement("g",{transform:"translate(0)",clipPath:"url(#clip-path)","data-name":"Raggruppa 5159"},i.createElement("path",{transform:"translate(0)",d:"M23.752,1.247a.816.816,0,0,0-.577-.24H20.728c.005-.22.01-.445.01-.673A.333.333,0,0,0,20.4,0H3.588a.333.333,0,0,0-.334.334c0,.23.005.453.01.673H.814A.816.816,0,0,0,0,1.823c0,.162.028,4.005,2.276,6.125a15.017,15.017,0,0,0,4.458,2.711.792.792,0,0,0,.286.051.924.924,0,0,0,.187-.023,29.339,29.339,0,0,0,3.414,2.564.37.37,0,0,0,.033.023V15.2a22.048,22.048,0,0,0-1.98,1.874l-.2,1.039-1.262.786c-.185.137-.253,1.431-.253,1.431h10.09s-.073-1.285-.263-1.431l-1.2-.786-.2-1.037c-1.017-.923-1.593-1.53-2.033-1.861V13.286A27.864,27.864,0,0,0,16.829,10.7a.772.772,0,0,0,.152.015.862.862,0,0,0,.286-.051,15.017,15.017,0,0,0,4.458-2.711C23.972,5.834,24,1.99,24,1.826a.86.86,0,0,0-.248-.579M3.394,6.762a6.952,6.952,0,0,1-1.7-4.122H3.368a13.042,13.042,0,0,0,1.6,5.31A9.959,9.959,0,0,1,3.394,6.762m17.2,0a10.053,10.053,0,0,1-1.535,1.163A13.234,13.234,0,0,0,20.622,2.64H22.3a7.039,7.039,0,0,1-1.709,4.122",fill:"currentColor","data-name":"Tracciato 9053"}))))))}const s=i.forwardRef(c);a.p},231:function(e,t,a){"use strict";a.d(t,"a",(function(){return ee})),a.d(t,"b",(function(){return ae}));var n=a(0),r=a.n(n),i=a(79),o=a(709),c=a(28),s=a(36),l=a(205),d=a(206),u=a(220),p=a(192),b=a(163),h=a(188),m=a(200),j=a(685),g=a(645),x=a(5),f=a(27),v=a(20),O=a(35),y=a(37),w=a(55),S=a(198),C=a(204),k=a(232),A=a(191),E=a(111),_=a(705),I=a(720),R=a(717),M=a(738),z=a(729),T=a(229),B=a.n(T),P=a(246),N=a(270),V=a.n(N),D=a(271),W=a.n(D),F=a(266),q=a.n(F),G=a(263),H=a.n(G),L=a(199),Y=a.n(L),U=a(214),Z=a.n(U),X=a(1);const Q=e=>{const{t:t}=Object(i.a)(),{setTab:a}=e,{toggleAuthDialog:n}=r.a.useContext(w.a),{request:o,cancelToken:c}=r.a.useContext(O.a),{auth:s,login:l}=r.a.useContext(v.a),[d,u]=r.a.useState({register_step:"user-profile",first_name:"",last_name:"",mobile_phone:"",location:"",location_id:"",birthday:"",flag_horeca:null});return Object(X.jsxs)(E.a,{px:4,pb:7,children:[Object(X.jsx)(_.a,{container:!0,children:Object(X.jsx)(_.a,{item:!0,xs:!0,children:Object(X.jsxs)(E.a,{mb:6,children:[Object(X.jsx)(I.a,{variant:"subtitle1",children:"1/2"}),Object(X.jsx)(I.a,{variant:"h4",children:Object(X.jsx)("b",{children:t("Dicci qualcosa di te!")})}),Object(X.jsx)(I.a,{variant:"h6",children:t("Ci aiuter\xe0 a migliorare la tua esperienza in piattaforma.")})]})})}),Object(X.jsxs)(_.a,{container:!0,spacing:4,sx:{mb:2},children:[Object(X.jsx)(_.a,{item:!0,xs:12,sm:6,children:Object(X.jsx)(S.b,{fullWidth:!0,label:t("Nome"),value:d.first_name,onChange:e=>u({...d,first_name:e.target.value})})}),Object(X.jsx)(_.a,{item:!0,xs:12,sm:6,children:Object(X.jsx)(S.b,{fullWidth:!0,label:t("Cognome"),value:d.last_name,onChange:e=>u({...d,last_name:e.target.value})})})]}),Object(X.jsxs)(_.a,{container:!0,spacing:4,sx:{mb:2},children:[Object(X.jsx)(_.a,{item:!0,xs:12,sm:6,children:Object(X.jsx)(S.b,{fullWidth:!0,label:t("Data di nascita"),type:"date",value:d.birthday,onChange:e=>u({...d,birthday:e.target.value}),InputLabelProps:{shrink:!0}})}),Object(X.jsx)(_.a,{item:!0,xs:12,sm:6,children:Object(X.jsx)(k.a,{initialValue:d.location,formParams:d,handleAddressSelect:e=>{u((t=>({...t,location_id:e.place_id,location:e.formatted_address})))},renderInput:e=>Object(X.jsx)(S.b,{...e,label:t("Citt\xe0"),fullWidth:!0})})})]}),Object(X.jsxs)(_.a,{container:!0,spacing:4,sx:{mb:2},children:[Object(X.jsx)(_.a,{item:!0,xs:12,sm:6,children:Object(X.jsx)(S.b,{fullWidth:!0,label:t("Numero cellulare"),value:d.mobile_phone,onChange:e=>u({...d,mobile_phone:e.target.value})})}),Object(X.jsxs)(_.a,{item:!0,xs:12,sm:6,children:[Object(X.jsx)(I.a,{children:t("Lavori nel mondo Food & Beverage?")}),Object(X.jsx)(C.a,{label:t("Si"),checked:d.flag_horeca,onChange:e=>u({...d,flag_horeca:!0})}),Object(X.jsx)(C.a,{label:t("No"),checked:!1===d.flag_horeca,onChange:e=>u({...d,flag_horeca:!1})})]})]}),Object(X.jsx)(_.a,{container:!0,spacing:4,children:Object(X.jsx)(_.a,{item:!0,xs:12,sx:{dis
2play:"flex",alignItems:"center",justifyContent:"center"},children:Object(X.jsxs)(E.a,{textAlign:"center",children:[Object(X.jsx)(A.a,{fullWidth:m.isMobileOnly,color:"primary",onClick:()=>(async()=>{const e=c.source();await o("put","/v2/user",e.token,d)&&(l({...s.user,data:{...s.user.data,...d}}),a("user-interests"))})(),sx:{mb:2,fontSize:"1.2rem",px:{sm:10}},children:t("Conferma i dati")}),Object(X.jsx)(I.a,{color:"textSecondary",onClick:()=>n(!1),children:t("Non adesso")})]})})})]})},J=Object(g.a)(E.a)((e=>{let{theme:t}=e;return{position:"absolute",top:"10px",right:"10px"}})),K=Object(j.a)((e=>({imageList:{width:"100%",height:"auto",transform:"translateZ(0)"},image:{borderRadius:"15px",width:"100%"},titleBar:{background:"transparent"},icon:{color:"white",fontSize:"2rem"},imageListItem:{},imageListItemItem:{overflow:"visible"},imageListItemSelected:{position:"relative","&:after":{border:"4px solid white",borderRadius:"15px",position:"absolute",content:'""',top:0,left:0,width:"100%",height:"100%",boxSizing:"border-box"}},forward:{position:"absolute",top:"50%",right:"-10px",color:"#c8ccd0"},backward:{position:"absolute",top:"50%",left:"-10px",color:"#c8ccd0"}}))),$=e=>{const{t:t}=Object(i.a)(),a=K(),{login:n,auth:o}=r.a.useContext(v.a),{request:l,cancelToken:d}=r.a.useContext(O.a),{toggleAuthDialog:u}=r.a.useContext(w.a),[b,j]=r.a.useState(!1),[g,x]=r.a.useState([]),[f,y]=r.a.useState([]),[S,C]=r.a.useState(0),k=Object(h.n)(g,m.isMobileOnly?6:24),M=async e=>{j(!0),e.preventDefault();const t=d.source();await l("put","/v2/user",t.token,{register_step:"user-interests",interests:f})?(async()=>{const e=d.source(),t=await l("get","/v2/me",e.token);t?(n({token:o.user.token,data:t}),Object(c.e)(Object(c.g)({event:"signup_completed"},t)),Object(c.a)("signup_preferences"),u(!1)):j(!1)})():j(!1)};return r.a.useEffect((()=>{(async()=>{const e=d.source(),t=await l("get","/v2/tags/user-interests",e.token);t&&x(t.tags)})()}),[]),Object(X.jsxs)(E.a,{px:4,pb:4,children:[Object(X.jsx)(_.a,{container:!0,children:Object(X.jsx)(_.a,{item:!0,xs:!0,children:Object(X.jsxs)(E.a,{mb:2,children:[Object(X.jsx)(I.a,{variant:"subtitle1",children:"2/2"}),Object(X.jsx)(I.a,{variant:"h4",children:Object(X.jsx)("b",{children:t("Dicci qualcosa di te!")})}),Object(X.jsx)(I.a,{variant:"h6",children:t("Quali sono i tuoi interessi in cucina?")})]})})}),Object(X.jsxs)(E.a,{position:"relative",px:{xs:0,md:6},mt:3,children:[S>0&&Object(X.jsx)(R.a,{className:a.backward,onClick:()=>C(S-1),size:"large",children:Object(X.jsx)(Z.a,{})}),S<k.length-1&&Object(X.jsx)(R.a,{className:a.forward,onClick:()=>C(S+1),size:"large",children:Object(X.jsx)(Y.a,{})}),Object(X.jsx)(B.a,{index:S,onChangeIndex:e=>{C({index:e})},enableMouseEvents:!0,children:k.map(((e,t)=>Object(X.jsx)(_.a,{container:!0,spacing:1,children:e.map((e=>{const t=f.indexOf(e.id)>-1;return Object(X.jsxs)(_.a,{item:!0,xs:6,sm:3,md:2,children:[Object(X.jsxs)(E.a,{position:"relative",className:Object(s.a)(a.imageListItem,{[a.imageListItemSelected]:t}),onClick:()=>{return t=e.id,void y((e=>{const a=[...e],n=e.indexOf(t);return n>-1?a.splice(n,1):a.push(t),a}));var t},children:[t&&Object(X.jsx)(J,{children:Object(X.jsx)(H.a,{className:a.icon})}),Object(X.jsx)(p.a,{className:a.image,src:e.img_cover,alt:e.title,useSet:{sizes:[["down","md","50vw"],["150px"]]}})]}),Object(X.jsx)(E.a,{mt:1,children:Object(X.jsx)(I.a,{children:e.title})})]},e.id)}))},"chunk"+t)))})]}),Object(X.jsx)(_.a,{container:!0,children:Object(X.jsxs)(_.a,{item:!0,xs:!0,children:[Object(X.jsx)(E.a,{mt:4,textAlign:"center",children:Object(X.jsx)(A.a,{fullWidth:m.isMobileOnly,color:"primary",onClick:e=>M(e),sx:{mb:2,fontSize:"1.2rem",px:{sm:15}},loading:b,children:t("Prosegui")})}),Object(X.jsx)(E.a,{textAlign:"center",children:Object(X.jsx)(I.a,{color:"textSecondary",onClick:()=>u(!1),children:t("Non adesso")})})]})})]})},ee=e=>{const{t:t,i18n:a}=Object(i.a)(),n=Object(x.i)(),s=Object(x.h)(),{buy:u,courseId:p}=Object(x.j)(),{auth:h,login:m}=r.a.useContext(v.a),{config:j}=r.a.useContext(y.a),{request:g,cancelToken:k}=r.a.useContext(O.a),{showError:T}=r.a.useContext(w.a),[B,N]=r.a.useState(!1),[D,F]=r.a.useState(!1),[G,H]=r.a.useState(!1),[L,Y]=r.a.useState({email:sessionStorage.getItem("register-email")||"",password:"",flag_updates:!1}),U=new URLSearchParams(n.search),Z=new URLSearchParams(n.hash.substring(1)),Q=JSON.parse(Z.get("state")),[J,K,$]=Object(b.a)(["referrals"]),ee=U.has("to")?U.get("to"):!(!Q||!Q.to)&&Q.to;ee&&localStorage.setItem("redirectTo",ee);return r.a.useEffect((()=>
2{if(Boolean(h.user)&&Boolean(h.user.data)){Object(c.e)({event:"register",event_id:"05",event_trigger:"GAevent",lead_email:h.user.data.email,event_detail:u?"buy_"+c.f[u]:null});const e=localStorage.getItem("redirectTo");e&&!Boolean(u)?s.push(e):(n.state&&n.state.from&&!Boolean(u)&&s.push(n.state.from),n.state&&n.state.from||Boolean(u)||s.push("/"))}}),[h.user]),Object(X.jsx)(E.a,{children:Object(X.jsx)(_.a,{container:!0,children:Object(X.jsxs)(_.a,{item:!0,xs:!0,children:[Object(X.jsx)(E.a,{mb:2,children:Object(X.jsx)(I.a,{variant:"h5",color:"dark.main",children:Object(X.jsx)("b",{children:Boolean(u)?t("Registrati e vai al pagamento"):t("Iscriviti ad Acad\xe8mia.tv")})})}),Object(X.jsxs)("form",{onSubmit:e=>(async e=>{if(e.preventDefault(),!L.flag_updates)return void T({error_message:t("Devi accettare le Privacy Policy per proseguire!")});N(!0);const a=k.source();let n={...L};const r=J.referrals||null,i=sessionStorage.getItem("x-cic-referral-code"),o=sessionStorage.getItem("x-cic-campaign");i&&(n.referrals={friend_invite:i}),o&&(n.referrals={campaign_id:o}),r&&(n.referrals={...n.referrals,...r},$("referrals",{path:"/"}));const s=await g("post","/v2/register",a.token,n);s?(Object(c.a)("signup_data"),m({token:s.token.token,data:{id:s.token.user_id,email:L.email,profile_status:s.profile_status}})):N(!1)})(e),autoComplete:"new-password",children:[Object(X.jsx)(E.a,{my:2,children:Object(X.jsx)(S.b,{fullWidth:!0,className:"light",label:t("Email"),value:L.email,autoComplete:"new-password",onChange:e=>Y({...L,email:e.target.value})})}),Object(X.jsx)(E.a,{mb:2,children:Object(X.jsx)(S.b,{fullWidth:!0,className:"light",type:D?"text":"password",label:t("Password"),autoComplete:"new-password",value:L.password,onChange:e=>Y({...L,password:e.target.value}),InputProps:{endAdornment:Object(X.jsx)(M.a,{position:"end",children:Object(X.jsx)(R.a,{"aria-label":t("toggle password visibility"),onClick:()=>F(!D),onMouseDown:e=>e.preventDefault(),edge:"end",style:{color:"#B2B8BD"},size:"large",children:D?Object(X.jsx)(V.a,{}):Object(X.jsx)(W.a,{})})})}})}),Object(X.jsxs)(E.a,{pl:1,mb:2,children:[Object(X.jsx)(I.a,{variant:"caption",children:t("La password deve avere almeno:")}),Object(X.jsxs)(E.a,{children:[Object(X.jsx)(I.a,{component:"span",color:"textSecondary",style:/^(.*[a-zA-Z].*)$/.test(L.password)?{color:"#46c455"}:{},children:Object(X.jsx)(q.a,{style:{fontSize:"0.75rem",verticalAlign:"middle",marginRight:"10px"}})}),Object(X.jsx)(I.a,{variant:"caption",children:t("una lettera")})]}),Object(X.jsxs)(E.a,{children:[Object(X.jsx)(I.a,{component:"span",color:"textSecondary",style:/^(.*\d.*)$/.test(L.password)?{color:"#46c455"}:{},children:Object(X.jsx)(q.a,{style:{fontSize:"0.75rem",verticalAlign:"middle",marginRight:"10px"}})}),Object(X.jsx)(I.a,{variant:"caption",children:t("un numero")})]}),Object(X.jsxs)(E.a,{children:[Object(X.jsx)(I.a,{color:"textSecondary",component:"span",style:/^(?=.*[@#.\u20ac_&-,+()*:;!?])/.test(L.password)?{color:"#46c455"}:{},children:Object(X.jsx)(q.a,{style:{fontSize:"0.75rem",verticalAlign:"middle",marginRight:"10px"}})}),Object(X.jsxs)(I.a,{variant:"caption",children:[t("un simbolo")," @#.\u20ac_&-,+()*:;!?"]})]}),Object(X.jsxs)(E.a,{children:[Object(X.jsx)(I.a,{color:"textSecondary",component:"span",style:/^.{8,}$/.test(L.password)?{color:"#46c455"}:{},children:Object(X.jsx)(q.a,{style:{fontSize:"0.75rem",verticalAlign:"middle",marginRight:"10px"}})}),Object(X.jsx)(I.a,{variant:"caption",children:t("8 caratteri")})]})]}),Object(X.jsx)(E.a,{children:Object(X.jsx)(C.a,{label:Object(X.jsxs)(X.Fragment,{children:[Object(X.jsx)(I.a,{variant:"caption",component:"div",gutterBottom:!0,children:Object(X.jsxs)(o.a,{t:t,children:["Compilando il form accetto la ",Object(X.jsx)(z.a,{color:"inherit",onClick:()=>window.open(d.a[a.language.split("-")[0]],"_blank"),children:"Privacy e Policy"})]})}),Object(X.jsx)(I.a,{variant:"caption",component:"div",gutterBottom:!0,children:Object(X.jsxs)(o.a,{t:t,children:["Procedendo acconsenti ai nostri ",Object(X.jsx)(z.a,{color:"inherit",onClick:()=>window.open(l.a[a.language.split("-")[0]],"_blank"),sx:{cursor:"pointer"},children:"T&Cs"}),"."]})}),Object(X.jsx)(I.a,{variant:"caption",component:"div",children:t("Sono consapevole che gli abbonamenti sono soggetti a rinnovo automatico a prezzo pieno")})]}),checked:L.flag_updates,onChange:e=>Y({...L,flag_updates:!L.flag_updates}),sx:{"& .checked":{backgroundColor:"#fff",border:"1px solid #B3B8BD","&:before":{backgroundColor:"#41474E"}},"& .unchecked":{backgroundColor:"#fff",border:"1px solid #B3B8BD"}}})}
2),G&&Object(X.jsx)(E.a,{sx:{mt:1},children:Object(X.jsx)(I.a,{color:"primary",variant:"caption",children:t("Per iscriversi \xe8 necessario accettare i termini e condizioni")})}),Object(X.jsx)(E.a,{mt:2,children:Object(X.jsx)(A.a,{disabled:!Boolean(L.email)||!L.flag_updates||!new RegExp(j.password_policy).test(L.password),fullWidth:!0,size:"large",type:"submit",color:"primary",loading:B,children:t("Registrati")})}),Object(X.jsx)(E.a,{my:2,textAlign:"center",children:Object(X.jsx)(A.c,{fullWidth:!0,size:"large",variant:"contained",color:"dark",disabled:B,setLoading:N,provider:"google",...L.flag_updates||Z.has("id_token")?{socialCallBack:e=>{(async(e,t)=>{const a=k.source();let n={provider:e,token:t};const r=J.referrals||null,i=sessionStorage.getItem("x-cic-referral-code"),o=sessionStorage.getItem("x-cic-campaign");i&&(n.referrals={friend_invite:i}),o&&(n.referrals={campaign_id:o}),r&&(n.referrals={...n.referrals,...r},$("referrals",{path:"/"}));const s=await g("post","/v2/login",a.token,n);s?("fb"===e&&Object(c.a)("signup_facebook"),"ggl"===e&&Object(c.a)("signup_google"),"app"===e&&Object(c.a)("signup_apple"),m({token:s.token.token,data:{profile_status:s.profile_status}})):N(!1)})("ggl",e)}}:{onClick:()=>{H(!0)}},startIcon:Object(X.jsx)(P.c,{}),children:t("Accedi con Google")})}),Object(X.jsxs)(E.a,{mt:4,textAlign:"center",children:[Object(X.jsx)(I.a,{color:"dark.main",variant:"body2",children:t("Hai gi\xe0 un account?")}),Object(X.jsx)(I.a,{children:Object(X.jsx)(z.a,{component:f.b,color:"dark.main",to:{pathname:"/"+a.language+"/auth/login"+(u?"/"+u+"/"+(p||""):""),search:n.search,state:{...n.state}},underline:"hover",children:Object(X.jsx)("b",{children:t("Accedi")})})})]})]})]})})})},te=(Object(j.a)((e=>({social:{margin:e.spacing(1)}}))),e=>{const{setTab:t}=e,{t:a}=Object(i.a)(),{auth:n}=r.a.useContext(v.a),{request:o,cancelToken:c}=r.a.useContext(O.a),{toggleAuthDialog:s}=r.a.useContext(w.a),[l,d]=r.a.useState(!1),[u,p]=r.a.useState(""),b=sessionStorage.getItem("checkout-purchase-id");return Object(X.jsxs)(E.a,{px:4,pb:4,children:[Object(X.jsx)(_.a,{container:!0,children:Object(X.jsx)(_.a,{item:!0,xs:!0,children:Object(X.jsxs)(E.a,{mb:2,children:[Object(X.jsx)(I.a,{variant:"subtitle1",children:"1/3"}),Object(X.jsx)(I.a,{variant:"h4",children:Object(X.jsx)("b",{children:a("Inserisci il numero della tua tessera Volare")})}),Object(X.jsx)(I.a,{variant:"h6",children:a("Guadagna 10 punti per ogni \u20ac speso")})]})})}),Object(X.jsx)(E.a,{sx:{py:3,textAlign:"center"},children:Object(X.jsx)(S.b,{sx:{width:343},label:a("N\xb0Tessera Volare"),value:u,onChange:e=>p(e.target.value)})}),Object(X.jsx)(_.a,{container:!0,children:Object(X.jsxs)(_.a,{item:!0,xs:!0,children:[Object(X.jsx)(E.a,{mt:4,textAlign:"center",children:Object(X.jsx)(A.a,{fullWidth:m.isMobileOnly,color:"primary",onClick:e=>(async e=>{d(!0),e.preventDefault();const a=c.source();await o("post","/v2/purchases/"+b+"/referral/volare",a.token,{referral_code:u})&&(localStorage.setItem("saved-volare-card",1),sessionStorage.removeItem("checkout-purchase-id"),n.user.data.profile_status.completed?s(!1):t(n.user.data.profile_status.next_step)),d(!1)})(e),sx:{mb:2,fontSize:"1.2rem",px:{sm:15}},loading:l,children:a("Conferma dati")})}),Object(X.jsx)(E.a,{textAlign:"center",children:Object(X.jsx)(I.a,{color:"textSecondary",onClick:()=>s(!1),children:a("Non adesso")})})]})})]})}),ae=()=>{const{auth:e}=r.a.useContext(v.a),t=sessionStorage.getItem("checkout-purchase-id"),[a,n]=r.a.useState(Boolean(t)?"volare-card":e.user.data.profile_status.next_step);return Object(X.jsxs)(E.a,{children:[Object(X.jsx)(u.a,{value:a,index:"volare-card",children:Object(X.jsx)(te,{setTab:n})}),Object(X.jsx)(u.a,{value:a,index:"user-interests",children:Object(X.jsx)($,{setTab:n})}),Object(X.jsx)(u.a,{value:a,index:"user-profile",children:Object(X.jsx)(Q,{setTab:n})})]})}},232:function(e,t,a){"use strict";var n=a(0),r=a.n(n),i=a(79),o=a(188),c=a(198),s=a(708),l=a(280),d=a.n(l),u=a(705),p=a(720),b=a(111),h=a(685),m=a(278),j=a.n(m),g=a(279),x=a.n(g),f=a(1);const v={current:null},O={current:null},y=Object(h.a)((e=>({icon:{color:e.palette.text.secondary,marginRight:e.spacing(2)}})));t.a=e=>{const{i18n:t}=Object(i.a)(),[a,n]=(y(),r.a.useState(null)),[l,h]=r.a.useState(""),[m,g]=r.a.useState([]),w=r.a.useRef(!1);"undefined"===typeof window||w.current||(document.querySelector("#google-maps")||Object(o.g)("https://maps.googleapis.com/ma
2ps/api/js?key=AIzaSyBu2G_lY5DD9AxeU70GbKkmS6DAFtnq0ws&libraries=places",document.querySelector("head"),"google-maps"),w.current=!0);const S=r.a.useMemo((()=>x()(((e,a)=>{v.current.getPlacePredictions({...e,types:["(cities)"],componentRestrictions:{country:t.language}},a)}),200)),[]),C=r.a.useMemo((()=>x()((t=>{O.current.getDetails({placeId:t},(t=>{e.handleAddressSelect(t,e.formParams)}))}),200)),[e.formParams]);return r.a.useEffect((()=>{let e=!0;if(!v.current&&window.google&&window.google.maps&&(v.current=new window.google.maps.places.AutocompleteService,O.current=new window.google.maps.places.PlacesService(document.createElement("div"))),v.current){if(""!==l)return S({input:l},(t=>{if(e){let e=[];a&&(e=[a]),t&&(e=[...e,...t]),g(e)}})),()=>{e=!1};g(a?[a]:[])}}),[a,l,S]),r.a.useEffect((()=>{e.initialValue&&(g([{description:e.initialValue}]),n({description:e.initialValue}))}),[e.initialValue]),Object(f.jsx)(s.a,{id:"google-autocomplete",getOptionLabel:e=>"string"===typeof e?e:e.description,filterOptions:e=>e,options:m,autoComplete:!0,includeInputInList:!0,filterSelectedOptions:!0,disableClearable:!0,value:a,onChange:(e,t)=>
2{t&&C(t.place_id),g(t?[t,...m]:m),n(t)},onInputChange:(e,t)=>{h(t)},renderInput:Boolean(e.renderInput)?e.renderInput:t=>Object(f.jsx)(c.b,{...t,label:e.label,fullWidth:!0}),renderOption:(e,t)=>{if(Boolean(t.structured_formatting)){const a=t.structured_formatting.main_text_matched_substrings,n=j()(t.structured_formatting.main_text,a.map((e=>[e.offset,e.offset+e.length])));return Object(f.jsx)("li",{...e,children:Object(f.jsxs)(u.a,{container:!0,alignItems:"center",children:[Object(f.jsx)(u.a,{item:!0,children:Object(f.jsx)(b.a,{component:d.a,sx:{color:"text.secondary",mr:2}})}),Object(f.jsxs)(u.a,{item:!0,xs:!0,children:[n.map(((e,t)=>Object(f.jsx)(p.a,{component:"span",variant:"body1",sx:{fontWeight:e.highlight?700:400,color:"#000"},children:e.text},t))),Object(f.jsx)(p.a,{variant:"body2",color:"textSecondary",children:t.structured_formatting.secondary_text})]})]})})}return Object(f.jsx)("li",{...e,children:Object(f.jsxs)(u.a,{container:!0,alignItems:"center",children:[Object(f.jsx)(u.a,{item:!0,children:Object(f.jsx)(b.a,{component:d.a,sx:{color:"text.secondary",mr:2}})}),Object(f.jsx)(u.a,{item:!0,xs:!0,children:Object(f.jsx)(p.a,{component:"span",variant:"body1",sx:{fontWeight:700,color:"#000"},children:t.description})})]})})}})}},333:function(e,t,a){"use strict";var n=a(31),r=a(4),i=a(2),o=a(0),c=a(36),s=a(38),l=a(183),d=a(34),u=a(181),p=a(29),b=a(54),h=a(158),m=a(179);function j(e){return Object(h.a)("MuiSkeleton",e)}Object(m.a)("MuiSkeleton",["root","text","rectangular","circular","pulse","wave","withChildren","fitContent","heightAuto"]);var g,x,f,v,O=a(1);const y=["animation","className","component","height","style","variant","width"];let w,S,C,k;const A=Object(s.c)(w||(w=g||(g=Object(n.a)(["\n 0% {\n opacity: 1;\n }\n\n 50% {\n opacity: 0.4;\n }\n\n 100% {\n opacity: 1;\n }\n"])))),E=Object(s.c)(S||(S=x||(x=Object(n.a)(["\n 0% {\n transform: translateX(-100%);\n }\n\n 50% {\n /* +0.5s of delay between each loop */\n transform: translateX(100%);\n }\n\n 100% {\n transform: translateX(100%);\n }\n"])))),_=Object(p.a)("span",{name:"MuiSkeleton",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t[a.variant],!1!==a.animation&&t[a.animation],a.hasChildren&&t.withChildren,a.hasChildren&&!a.width&&t.fitContent,a.hasChildren&&!a.height&&t.heightAuto]}})((e=>{let{theme:t,ownerState:a}=e;const n=Object(d.d)(t.shape.borderRadius)||"px",r=Object(d.g)(t.shape.borderRadius);return Object(i.a)({display:"block",backgroundColor:Object(u.a)(t.palette.text.primary,"light"===t.palette.mode?.11:.13),height:"1.2em"},"text"===a.variant&&{marginTop:0,marginBottom:0,height:"auto",transformOrigin:"0 55%",transform:"scale(1, 0.60)",borderRadius:"".concat(r).concat(n,"/").concat(Math.round(r/.6*10)/10).concat(n),"&:empty:before":{content:'"\\00a0"'}},"circular"===a.variant&&{borderRadius:"50%"},a.hasChildren&&{"& > *":{visibility:"hidden"}},a.hasChildren&&!a.width&&{maxWidth:"fit-content"},a.hasChildren&&!a.height&&{height:"auto"})}),(e=>{let{ownerState:t}=e;return"pulse"===t.animation&&Object(s.b)(C||(C=f||(f=Object(n.a)(["\n animation: "," 1.5s ease-in-out 0.5s infinite;\n "]))),A)}),(e=>{let{ownerState:t,theme:a}=e;return"wave"===t.animation&&Object(s.b)(k||(k=v||(v=Object(n.a)(["\n position: relative;\n overflow: hidden;\n\n /* Fix bug in Safari https://bugs.webkit.org/show_bug.cgi?id=68196 */\n -webkit-mask-image: -webkit-radial-gradient(white, black);\n\n &::after {\n animation: "," 1.6s linear 0.5s infinite;\n background: linear-gradient(90deg, transparent, ",", transparent);\n content: '';\n position: absolute;\n transform: translateX(-100%); /* Avoid flash during server-side hydration */\n bottom: 0;\n left: 0;\n right: 0;\n top: 0;\n }\n "]))),E,a.palette.action.hover)})),I=o.forwardRef((function(e,t){const a=Object(b.a)({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:o,component:s="span",height:d,style:u,variant:p="text",width:h}=a,m=Object(r.a)(a,y),g=Object(i.a)({},a,{animation:n,component:s,variant:p,hasChildren:Boolean(m.children)}),x=(e=>{const{classes:t,variant:a,animation:n,hasChildren:r,width:i,height:o}=e,c={root:["root",a,n,r&&"withChildren",r&&!i&&"fitContent",r&&!o&&"heightAuto"]};return Object(l.a)(c,j,t)})(g);return Object(O.jsx)(_,Object(i.a)({as:s,ref:t,className:Object(c.a)(x.root,o),ownerState:g},m,{style:Object(i.a)({width:h,height:d},u)}))}));t.a=I},336:function(e,t,a){"use strict";var n=a(4),r=a(2),i=a(0),o=a(36),c=a(183),s=a(715),l=a(21),d=a(186),u=a(54),p=a(29),b=a(158),h=a(179);function m(e){return Object(b.a)("MuiMobileStepper",e)}Object(h.a)("MuiMobileStepper",["root","positionBottom","positionTop","positionStatic","dots","dot","dotActive","progress"]);var j=a(1);const g=["activeStep","backButton","className","LinearProgressProps","nextButton","position","steps","variant"],x=Object(p.a)(s.a,{name:"MuiMobileStepper",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:a}=e;return[t.root,t["position".concat(Object(l.a)(a.position))]]}})((e=>{let{theme:t,ownerState:a}=e;return Object(r.a)({display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",background:t.palette.background.default,padding:8},"bottom"===a.position&&{position:"fixed",bottom:0,left:0,right:0,zIndex:t.zIndex.mobileStepper},"top"===a.position&&{position:"fixed",top:0,left:0,right:0,zIndex:t.zIndex.mobileStepper})})),f=Object(p.a)("div",{name:"MuiMobileStepper",slot:"Dots",overridesResolver:(e,t)=>t.dots})((e=>{let{ownerState:t}=e;return Object(r.a)({},"dots"===t.variant&&{display:"flex",flexDirection:"row"})})),v=Object(p.a)("div",{name:"MuiMobileStepper",slot:"Dot",shouldForwardProp:e=>Object(p.c)(e)&&"dotActive"!==e,overridesResolver:(e,t)=>{const{dotActive:a}=e;return[t.dot,a&&t.dotActive]}})((e=>{let{theme:t,ownerState:a,dotActive:n}=e;return Object(r.a)({},"dots"===a.variant&&Object(r.a)({transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),backgroundColor:t.palette.action.disabled,borderRadius:"50%",width:8,height:8,margin:"0 2px"},n&&{backgroundColor:t.palette.primary.main}))})),O=Object(p.a)(d.a,{name:"MuiMobileStepper",slot:"Progress",overridesResolver:(e,t)=>t.progress})((e=>{let{ownerState:t}=e;return Object(r.a)({},"progress"===t.variant&&{width:"50%"})})),y=i.forwardRef((function(e,t){const a=Object(u.a)({props:e,name:"MuiMobileStepper"}),{activeStep:s=0,backButton:d,className:p,LinearProgressProps:b,nextButton:h,position:y="bottom",steps:w,variant:S="dots"}=a,C=Object(n.a)(a,g),k=Object(r.a)({},a,{activeStep:s,position:y,variant:S}),A=(e=>{const{classes:t,position:a}=e,n={root:["root","position".concat(Object(l.a)(a))],dots:["dots"],dot:["dot"],dotActive:["dotActive"],progress:["progress"]};return Object(c.a)(n,m,t)})(k);
2return Object(j.jsxs)(x,Object(r.a)({square:!0,elevation:0,className:Object(o.a)(A.root,p),ref:t,ownerState:k},C,{children:[d,"text"===S&&Object(j.jsxs)(i.Fragment,{children:[s+1," / ",w]}),"dots"===S&&Object(j.jsx)(f,{ownerState:k,className:A.dots,children:[...new Array(w)].map(((e,t)=>Object(j.jsx)(v,{className:Object(o.a)(A.dot,t===s&&A.dotActive),ownerState:k,dotActive:t===s},t)))}),"progress"===S&&Object(j.jsx)(O,Object(r.a)({ownerState:k,className:A.progress,variant:"determinate",value:Math.ceil(s/(w-1)*100)},b)),h]}))}));t.a=y},382:function(e,t,a){"use strict";t.a="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCABSAFE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3U1+9Lc
2Zlm4eLpdVaTWmbxKx2SY9TXUm9hTr2AB0M16kqXDhGHInRGQwmAglGnzRj0Xue/nQNCNqO4vczbR6nQ/SHM89aaSkY17X1ZIeIVj1ejFW4zK1WDi1T2KqqrJ9uApEa9AiI9jm9FQ+Hj4BOK6bXVBqlurmU+qmc1xo1lT6Y1gSS9MceltQZwHyMljEDJzyxhlRO2CeHBxUJmlZIg5GJY0sSy5jASOmZkgAViKHeeJnFNAfaAA/EYngXnSv2mneB94UtznuV4zu73CYmeHhdHKiXWiGEXsRwj5XdxyMkV2pNzXSB+YzGqYrRzMPjyGDdfWzI+QI36Er6918dTp5jDYUcHI0ThrfVW+vonvRVVFV31qnPH5V4RdI0807DWiisZHYJghjGMQxMYwbGoiNY1iey1rGojWonajWp6cJwiOfqKxkUQ2taidqe9ET4J/C8ccJxx7XokrnF5k/WSpY0MAA3J1zX59Ht+y38V/f0uu/8tfgz/wBU/wAvS6FEsZ/c7/sRfz8u9etEyEbFE7ljF57ueWp6+73+nS6XWWTY8zADkn9SL3O/5bPgv3dNSzSmqLeHOrbaqrbSumjKGZX2MGLNhSwuVqqGTFkiKA4lVEVRlG9iqnqnS6XXW3jceVlDfu62sbYa6VXz6/bjoNBnTopJE2bD0g0+iy5h1kEap5UgGPMNIMrWtb5hnvf2tRO7hE62DaRtZ2xHFJtzbctBzWsJoSw7MukOnxLCITvanmRpr8eWSB/Hp3iKx339LpdObcNh4U6l+xKtroAYkKDXwoUOKxgI0SJFBHjRwCY1owgAEbBBENqI1gxsaxiIiNRE6dXhYQo6LwEScp68DZ6+0ievp8FVPyLx0ul0l153PlPbcNh4TlqBjEEnDGp7vc1E/uuX4fH163kX9n8zf29LpdcXVl6XS6XWWX//2Q=="},400:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M16.62 2.99c-.49-.49-1.28-.49-1.77 0L6.54 11.3c-.39.39-.39 1.02 0 1.41l8.31 8.31c.49.49 1.28.49 1.77 0s.49-1.28 0-1.77L9.38 12l7.25-7.25c.48-.48.48-1.28-.01-1.76z"}),"ArrowBackIosRounded");t.default=o},402:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM9.29 16.29 5.7 12.7a.9959.9959 0 0 1 0-1.41c.39-.39 1.02-.39 1.41 0L10 14.17l6.88-6.88c.39-.39 1.02-.39 1.41 0 .39.39.39 1.02 0 1.41l-7.59 7.59c-.38.39-1.02.39-1.41 0z"}),"CheckCircleRounded");t.default=o},404:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M13 10H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zm0-4H3c-.55 0-1 .45-1 1s.45 1 1 1h10c.55 0 1-.45 1-1s-.45-1-1-1zM3 16h6c.55 0 1-.45 1-1s-.45-1-1-1H3c-.55 0-1 .45-1 1s.45 1 1 1zm19.21-3.79.09.09c.39.39.39 1.02 0 1.41l-5.58 5.59c-.39.39-1.02.39-1.41 0l-3.09-3.09a.9959.9959 0 0 1 0-1.41l.09-.09c.39-.39 1.02-.39 1.41 0l2.3 2.3 4.78-4.79c.38-.4 1.02-.4 1.41-.01z"}),"PlaylistAddCheckRounded");t.default=o},415:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M18 13h-5v5c0 .55-.45 1-1 1s-1-.45-1-1v-5H6c-.55 0-1-.45-1-1s.45-1 1-1h5V6c0-.55.45-1 1-1s1 .45 1 1v5h5c.55 0 1 .45 1 1s-.45 1-1 1z"}),"AddRounded");t.default=o},416:function(e,t){e.exports=function(e){return e&&e.__esModule?e:{default:e}}},452:function(e,t,a){"use strict";a(0);var n=a(649),r=a(717),i=a(720),o=a(415),c=a.n(o),s=a(453),l=a.n(s),d=a(1);t.a=e=>{let{value:t,onDecrease:a,onIncrease:o,disabled:s,min:u=1,max:p}=e;return Object(d.jsxs)(n.a,{direction:"row",justifyContent:"space-between",alignItems:"center",sx:{width:150,backgroundColor:"#F7F7F7",border:"1px solid #E2E2E2",p:.5,borderRadius:"40px"},children:[Object(d.jsx)(r.a,{color:"white",disabled:s||t<=u,onClick:a,sx:{backgroundColor:"#000000","&:hover":{backgroundColor:"rgba(0,0,0,0.7)"},"&.Mui-disabled":{backgroundColor:"rgba(0,0,0,0.2)",color:"rgba(255,255,255,0.7)"}},children:Object(d.jsx)(l.a,{})}),Object(d.jsx)(i.a,{variant:"h5",color:"darkVariant.main",children:Object(d.jsx)("b",{children:t})}),Object(d.jsx)(r.a,{color:"white",disabled:s||"number"===typeof p&&t>=p,onClick:o,sx:{backgroundColor:"#000000","&:hover":{backgroundColor:"rgba(0,0,0,0.7)"},"&.Mui-disabled":{backgroundColor:"rgba(0,0,0,0.2)",color:"rgba(255,255,255,0.7)"}},children:Object(d.jsx)(c.a,{})})]})}},453:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M18 13H6c-.55 0-1-.45-1-1s.45-1 1-1h12c.55 0 1 .45 1 1s-.45 1-1 1z"}),"RemoveRounded");t.default=o},454:function(e,t,a){"use strict";var n=a(189);
2Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z"}),"RadioButtonUncheckedRounded");t.default=o},455:function(e,t){function a(){return e.exports=a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var a=arguments[t];for(var n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n])}return e},a.apply(this,arguments)}e.exports=a},456:function(e,t,a){var n=a(578);e.exports=function(e,t){if(null==e)return{};var a,r,i=n(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(r=0;r<o.length;r++)a=o[r],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(i[a]=e[a])}return i}},457:function(e,t){e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}},458:function(e,t){function a(e,t){for(var a=0;a<t.length;a++){var n=t[a];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}e.exports=function(e,t,n){return t&&a(e.prototype,t),n&&a(e,n),e}},459:function(e,t,a){var n=a(579),r=a(580);e.exports=function(e,t){return!t||"object"!==n(t)&&"function"!==typeof t?r(e):t}},460:function(e,t){function a(t){return e.exports=a=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},a(t)}e.exports=a},461:function(e,t,a){var n=a(581);e.exports=function(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&n(e,t)}},482:function(e,t,a){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(a(88)),i=n(a(89)),o=n(a(583)),c=n(a(585)),s=n(a(586)),l=n(a(87)),d=n(a(481)),u=n(a(83)),p=n(a(0));n(a(9)),n(a(422));var b=function(){var e=null;return function(){if(null!==e)return e;var t,a,n,r=!1;try{window.addEventListener("test",null,(t={},a="passive",n={get:function(){r=!0}},Object.defineProperty(t,a,n)))}catch(i){}return e=r,r}()}(),h={capture:!1,passive:!1};function m(e){return u({},h,e)}function j(e,t,a){var n=[e,t];return n.push(b?a:a.capture),n}function g(e,t,a,n){e.addEventListener.apply(e,j(t,a,n))}function x(e,t,a,n){e.removeEventListener.apply(e,j(t,a,n))}var f=function(e){function t(){return r(this,t),o(this,c(t).apply(this,arguments))}return s(t,e),i(t,[{key:"componentDidMount",value:function(){this.applyListeners(g)}},{key:"componentDidUpdate",value:function(e){this.applyListeners(x,e),this.applyListeners(g)}},{key:"componentWillUnmount",value:function(){this.applyListeners(x)}},{key:"applyListeners",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.props,a=t.target;if(a){var n=a;"string"===typeof a&&(n=window[a]),function(e,t){e.children,e.target;var a=d(e,["children","target"]);Object.keys(a).forEach((function(e){if("on"===e.substring(0,2)){var n=a[e],r=l(n),i="object"===r;if(i||"function"===r){var o="capture"===e.substr(-7).toLowerCase(),c=e.substring(2).toLowerCase();c=o?c.substring(0,c.length-7):c,i?t(c,n.handler,n.options):t(c,n,m({capture:o}))}}}))}(t,e.bind(null,n))}}},{key:"render",value:function(){return this.props.children||null}}]),t}(p.PureComponent);f.propTypes={},t.withOptions=function(e,t){return{handler:e,options:m(t)}},t.default=f},576:function(e,t,a){"use strict";var n=a(416);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"autoPlay",{enumerable:!0,get:function(){return r.default}}),Object.defineProperty(t,"bindKeyboard",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"virtualize",{enumerable:!0,get:function(){return o.default}});var r=n(a(577)),i=n(a(588)),o=n(a(590))},577:function(e,t,a){"use strict";var n=a(416);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(t){function a(e){var t;return(0,o.default)(this,a),(t=(0,s.default)(this,(0,l.default)(a).call(this,e))).timer=null,t.state={},t.handleInterval=function(){var e=t.props,a=e.children,n=e.direction,r=e.onChangeIndex,i=e.slideCount,o=t.state.index,c=o;"incremental"===n?c+=1:c-=1,(i||a)&&(c=(0,h.mod)(c,i||u.default.Children.count(a))),void 0===t.props.index&&t.setState({index:c}),r&&r(c,o)},t.handleChangeIndex=function(e,a,n){void 0===t.props.index&&t.setState({index:e}),t.props.onChangeIndex&&t.props.onChangeIndex(e,a,n)},t.handleSwitching=function(e,a){t.timer?(clearInterval(t.timer),t.timer=null):"end"===a&&t.startInterval(),t.props.onSwitching&&t.props.onSwitching(e,a)},t.handleVisibilityChange=function(e){e.target.hidden?clearInterval(t.timer):t.startInterval()},t.state.index=e.index||0,t}
2return(0,d.default)(a,t),(0,c.default)(a,[{key:"componentDidMount",value:function(){this.startInterval()}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.index;"number"===typeof t&&t!==this.props.index&&this.setState({index:t})}},{key:"componentDidUpdate",value:function(e){!(0,p.shallowEqualObjects)({index:e.index,interval:e.interval,autoplay:e.autoplay},{index:this.props.index,interval:this.props.interval,autoplay:this.props.autoplay})&&this.startInterval()}},{key:"componentWillUnmount",value:function(){clearInterval(this.timer)}},{key:"startInterval",value:function(){var e=this.props,t=e.autoplay,a=e.interval;clearInterval(this.timer),t&&(this.timer=setInterval(this.handleInterval,a))}},{key:"render",value:function(){var t=this.props,a=t.autoplay,n=(t.direction,t.index,t.interval,t.onChangeIndex),o=(0,i.default)(t,["autoplay","direction","index","interval","onChangeIndex"]),c=this.state.index;return a?u.default.createElement(b.default,{target:"document",onVisibilityChange:this.handleVisibilityChange},u.default.createElement(e,(0,r.default)({index:c,onChangeIndex:this.handleChangeIndex,onSwitching:this.handleSwitching},o))):u.default.createElement(e,(0,r.default)({index:c,onChangeIndex:n},o))}}]),a}(u.default.Component);return t.propTypes={},t.defaultProps={autoplay:!0,direction:"incremental",interval:3e3},t};var r=n(a(455)),i=n(a(456)),o=n(a(457)),c=n(a(458)),s=n(a(459)),l=n(a(460)),d=n(a(461)),u=n(a(0)),p=(n(a(9)),a(582)),b=n(a(482)),h=a(409)},578:function(e,t){e.exports=function(e,t){if(null==e)return{};var a,n,r={},i=Object.keys(e);for(n=0;n<i.length;n++)a=i[n],t.indexOf(a)>=0||(r[a]=e[a]);return r}},579:function(e,t){function a(e){return a="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}function n(t){return"function"===typeof Symbol&&"symbol"===a(Symbol.iterator)?e.exports=n=function(e){return a(e)}:e.exports=n=function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":a(e)},n(t)}e.exports=n},580:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}},581:function(e,t){function a(t,n){return e.exports=a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(t,n)}e.exports=a},582:function(e,t,a){"use strict";function n(e,t){if(e===t)return!0;if(!e||!t)return!1;var a=Object.keys(e),n=Object.keys(t),r=a.length;if(n.length!==r)return!1;for(var i=0;i<r;i++){var o=a[i];if(e[o]!==t[o]||!Object.prototype.hasOwnProperty.call(t,o))return!1}return!0}function r(e,t){if(e===t)return!0;if(!e||!t)return!1;var a=e.length;if(t.length!==a)return!1;for(var n=0;n<a;n++)if(e[n]!==t[n])return!1;return!0}a.r(t),a.d(t,"shallowEqualArrays",(function(){return r})),a.d(t,"shallowEqualObjects",(function(){return n}))},583:function(e,t,a){var n=a(87).default,r=a(584);e.exports=function(e,t){if(t&&("object"==n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},584:function(e,t){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},585:function(e,t){function a(t){return e.exports=a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,a(t)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},586:function(e,t,a){var n=a(587);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&n(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports}
2,587:function(e,t){function a(t,n){return e.exports=a=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t,n)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},588:function(e,t,a){"use strict";var n=a(416);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(t){function a(){var e,t;(0,o.default)(this,a);for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(t=(0,s.default)(this,(e=(0,l.default)(a)).call.apply(e,[this].concat(r)))).state={},t.handleKeyDown=function(e){var a,n=t.props,r=n.axis,i=void 0===r?"x":r,o=n.children,c=n.onChangeIndex,s=n.slideCount;switch((0,p.default)(e)){case"page down":case"down":"y"===i?a="decrease":"y-reverse"===i&&(a="increase");break;case"left":"x"===i?a="decrease":"x-reverse"===i&&(a="increase");break;case"page up":case"up":"y"===i?a="increase":"y-reverse"===i&&(a="decrease");break;case"right":"x"===i?a="increase":"x-reverse"===i&&(a="decrease")}if(a){var l=t.state.index,d=l;"increase"===a?d+=1:d-=1,(s||o)&&(d=(0,h.mod)(d,s||u.default.Children.count(o))),void 0===t.props.index&&t.setState({index:d}),c&&c(d,l)}},t.handleChangeIndex=function(e,a,n){void 0===t.props.index&&t.setState({index:e}),t.props.onChangeIndex&&t.props.onChangeIndex(e,a,n)},t}return(0,d.default)(a,t),(0,c.default)(a,[{key:"UNSAFE_componentWillMount",value:function(){this.setState({index:this.props.index||0})}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.index;"number"===typeof t&&t!==this.props.index&&this.setState({index:t})}},{key:"render",value:function(){var t=this.props,a=(t.index,t.onChangeIndex,(0,i.default)(t,["index","onChangeIndex"])),n=this.state.index;return u.default.createElement(b.default,{target:"window",onKeyDown:this.handleKeyDown},u.default.createElement(e,(0,r.default)({index:n,onChangeIndex:this.handleChangeIndex},a)))}}]),a}(u.default.Component);return t.propTypes={},t};var r=n(a(455)),i=n(a(456)),o=n(a(457)),c=n(a(458)),s=n(a(459)),l=n(a(460)),d=n(a(461)),u=n(a(0)),p=(n(a(9)),n(a(589))),b=n(a(482)),h=a(409)},589:function(e,t){function a(e){if(e&&"object"===typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"===typeof e)return o[e];var a,i=String(e);return(a=n[i.toLowerCase()])?a:(a=r[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}a.isEventKey=function(e,t){if(e&&"object"===typeof e){var a=e.which||e.keyCode||e.charCode;if(null===a||void 0===a)return!1;if("string"===typeof t){var i;if(i=n[t.toLowerCase()])return i===a;if(i=r[t.toLowerCase()])return i===a}else if("number"===typeof t)return t===a;return!1}};var n=(t=e.exports=a).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},r=t.aliases={windows:91,"\u21e7":16,"\u2325":18,"\u2303":17,"\u2318":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};for(i=97;i<123;i++)n[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)n[i-48]=i;for(i=1;i<13;i++)n["f"+i]=i+111;for(i=0;i<10;i++)n["numpad "+i]=i+96;var o=t.names=t.title={};for(i in n)o[n[i]]=i;for(var c in r)n[c]=r[c]},590:function(e,t,a){"use strict";var n=a(591),r=a(416);Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=function(t){function a(e){var t;return(0,c.default)(this,a),(t=(0,l.default)(this,(0,d.default)(a).call(this,e))).timer=null,t.state={},t.handleChangeIndex=function(e,a,n){var r=t.props,i=r.slideCount,o=r.onChangeIndex,c=e-a,s=t.state.index+c;i&&(s=(0,b.mod)(s,i)),void 0===t.props.index&&t.setIndex(s,e,c),o&&o(s,t.state.index,n)},t.handleTransitionEnd=function(){t.timer=setTimeout((function(){t.setWindow()}),0),t.props.onTransitionEnd&&t.props.onTransitionEnd()},t.state.index=e.index||0,t}return(0,u.default)(a,t),(0,s.default)(a,[{key:"UNSAFE_componentWillMount",value:function(){this.setWindow(this.state.index)}},{key:"UNSAFE_componentWillReceiveProps",value:function(e){var t=e.index;if("number"===typeof t&&t!==this.props.index){var a=t-this.props.index;this.setIndex(t,this.state.indexContainer+a,a)}}},{key:"componentWillUnmount",value:function(){clearInterval(this.timer)}},{key:"setIndex",value:function(e,t,a){var n={index:e,indexContainer:t,indexStart:this.state.indexStart,indexStop:this.state.indexStop};a>0&&(!this.props.slideCount||n.indexStop<this.props.slideCount-1)&&(n.indexStop+=1),e>n.indexStop&&(n.indexStop=e);var r=n.indexStart-e;r>0&&(n.indexContainer+=r,n.indexStart-=r),this.setState(n)}},{key:"setWindow",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.state.index,t=this.props.slideCount,a=this.props.overscanSli
2deBefore,n=this.props.overscanSlideAfter;t&&(a>e&&(a=e),n+e>t-1&&(n=t-e-1)),this.setState({indexContainer:a,indexStart:e-a,indexStop:e+n})}},{key:"render",value:function(){for(var t=this.props,a=(t.children,t.index,t.onChangeIndex,t.onTransitionEnd,t.overscanSlideAfter,t.overscanSlideBefore,t.slideCount,t.slideRenderer),n=(0,o.default)(t,["children","index","onChangeIndex","onTransitionEnd","overscanSlideAfter","overscanSlideBefore","slideCount","slideRenderer"]),r=this.state,c=r.indexContainer,s=r.indexStart,l=r.indexStop,d=[],u=s;u<=l;u+=1)d.push(a({index:u,key:u}));return p.default.createElement(e,(0,i.default)({index:c,onChangeIndex:this.handleChangeIndex,onTransitionEnd:this.handleTransitionEnd},n),d)}}]),a}(p.PureComponent);return t.propTypes={},t.defaultProps={overscanSlideAfter:2,overscanSlideBefore:3},t};var i=r(a(455)),o=r(a(456)),c=r(a(457)),s=r(a(458)),l=r(a(459)),d=r(a(460)),u=r(a(461)),p=n(a(0)),b=(r(a(9)),a(409))},591:function(e,t){e.exports=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var a in e)if(Object.prototype.hasOwnProperty.call(e,a)){var n=Object.defineProperty&&Object.getOwnPropertyDescriptor?Object.getOwnPropertyDescriptor(e,a):{};n.get||n.set?Object.defineProperty(t,a,n):t[a]=e[a]}return t.default=e,t}},592:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M3 17.46v3.04c0 .28.22.5.5.5h3.04c.13 0 .26-.05.35-.15L17.81 9.94l-3.75-3.75L3.15 17.1c-.1.1-.15.22-.15.36zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34a.9959.9959 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z"}),"EditRounded");t.default=o},593:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2H8c-1.1 0-2 .9-2 2v10zM9 9h6c.55 0 1 .45 1 1v8c0 .55-.45 1-1 1H9c-.55 0-1-.45-1-1v-8c0-.55.45-1 1-1zm6.5-5-.71-.71c-.18-.18-.44-.29-.7-.29H9.91c-.26 0-.52.11-.7.29L8.5 4H6c-.55 0-1 .45-1 1s.45 1 1 1h12c.55 0 1-.45 1-1s-.45-1-1-1h-2.5z"}),"DeleteOutlineRounded");t.default=o},594:function(e,t,a){"use strict";var n=a(189);Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(a(190)),i=a(1),o=(0,r.default)((0,i.jsx)("path",{d:"M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41.39.39 1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01z"}),"ChevronRightRounded");t.default=o},679:function(e,t,a){"use strict";a.r(t);var n=a(0),r=a.n(n),i=a(5),o=a(79),c=a(229),s=a.n(c),l=a(576),d=a(722),u=a(35),p=a(212),b=a(452),h=a(188),m=a(725),j=a(111),g=a(720),x=a(649),f=a(688),v=a(718),O=a(689),y=a(706),w=a(717),S=a(707),C=a(705),k=a(333),A=a(336),E=a(400),_=a.n(E),I=a(594),R=a.n(I),M=a(241),z=a.n(M),T=a(404),B=a.n(T),P=a(593),N=a.n(P),V=a(592),D=a.n(V),W=a(454),F=a.n(W),q=a(402),G=a.n(q),H=a(382),L=a(1);const Y=Object(l.autoPlay)(s.a),U="recipes_shopping_list_saving_tips_dismissed",Z=e=>{let{open:t,initialValue:a,onClose:n,onSubmit:i,t:o}=e;const[c,s]=r.a.useState(a||"");r.a.useEffect((()=>{t&&s(a||"")}),[t,a]);const l=()=>{s(a||""),n()};return Object(L.jsx)(m.a,{disableScrollLock:!0,open:t,onClose:l,fullWidth:!0,maxWidth:"xs",PaperProps:{sx:{borderRadius:"20px",overflow:"hidden"}},children:Object(L.jsxs)(j.a,{sx:{px:{xs:2,md:3},pt:3.5,pb:2.5},children:[Object(L.jsx)(g.a,{align:"center",variant:"h6",color:"darkVariant.main",sx:{fontWeight:900,mb:3.5},children:o("Modifica il nome della lista")}),Object(L.jsxs)(j.a,{sx:{border:"2px solid #8B8B8B",borderRadius:"8px",px:1.5,py:1},children:[Object(L.jsx)(g.a,{variant:"caption",color:"darkVariant.main",sx:{display:"block",fontWeight:700,mb:.5},children:o("Titolo")}),Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:1,children:[Object(L.jsx)(f.a,{fullWidth:!0,variant:"standard",placeholder:o("Lista della spesa"),value:c,onChange:e=>s(e.target.value.slice(0,15)),InputProps:{disableUnderline:!0,sx:{fontSize:"1.1rem",fontWeight:700,color:"#2A2D33",p:0,"& input":{p:0}
2,"& input::placeholder":{color:"#D2D2D2",opacity:1}}}}),Object(L.jsx)(g.a,{variant:"caption",color:"searchGrey.main",sx:{whiteSpace:"nowrap"},children:"".concat(c.length,"/").concat(15)})]})]}),Object(L.jsx)(j.a,{sx:{minHeight:190}}),Object(L.jsxs)(x.a,{direction:"row",spacing:2,children:[Object(L.jsx)(v.a,{fullWidth:!0,variant:"contained",color:"white",onClick:l,children:o("Annulla")}),Object(L.jsx)(v.a,{fullWidth:!0,variant:"contained",color:"darkVariant",disabled:!c.trim(),onClick:()=>{i(c.trim()),n()},children:o("Modifica")})]})]})})},X=e=>{let{open:t,onClose:a,onConfirm:n,title:r,body:i,cancelLabel:o,confirmLabel:c,loading:s}=e;return Object(L.jsx)(m.a,{disableScrollLock:!0,open:t,onClose:a,fullWidth:!0,maxWidth:"xs",PaperProps:{sx:{borderRadius:"20px",overflow:"hidden"}},children:Object(L.jsxs)(j.a,{sx:{px:{xs:2.5,md:3},pt:5,pb:2.5},children:[Object(L.jsx)(g.a,{align:"center",variant:"h6",color:"darkVariant.main",sx:{fontWeight:900,mb:2.5},children:r}),Object(L.jsx)(g.a,{align:"center",variant:"body1",color:"darkVariant.main",sx:{maxWidth:320,mx:"auto",lineHeight:1.25},children:i}),Object(L.jsx)(j.a,{sx:{minHeight:72}}),Object(L.jsxs)(x.a,{direction:"row",spacing:2,children:[Object(L.jsx)(v.a,{fullWidth:!0,variant:"contained",color:"white",onClick:a,children:o}),Object(L.jsx)(d.a,{fullWidth:!0,variant:"contained",color:"darkVariant",loading:s,onClick:n,children:c})]})]})})},Q=e=>{var t;let{recipe:a,t:n,onDelete:r,deleting:i,onIncreasePortions:o,onDecreasePortions:c,updatingPortions:s,onAvatarClick:l}=e;const u=Object(h.d)(null===(t=a.total_price)||void 0===t?void 0:t.amount);return Object(L.jsxs)(j.a,{sx:{backgroundColor:"#F7F7F7",borderRadius:"12px",p:1.5},children:[Object(L.jsxs)(x.a,{direction:"row",justifyContent:"space-between",alignItems:"flex-start",spacing:1.5,children:[Object(L.jsxs)(x.a,{direction:"row",spacing:1.5,sx:{minWidth:0,flex:1},children:[Object(L.jsx)(O.a,{onClick:l,sx:{borderRadius:"10px",flexShrink:0},children:Object(L.jsx)(y.a,{variant:"rounded",src:a.img_cover?Object(h.m)(a.img_cover,100):H.a,alt:a.title,sx:{width:44,height:44,borderRadius:"10px"}})}),Object(L.jsx)(g.a,{variant:"body1",color:"darkVariant.main",sx:{fontWeight:800,lineHeight:1.15,fontSize:{xs:"1.25rem",md:"1.15rem"}},children:a.title})]}),Object(L.jsx)(g.a,{variant:"body1",color:"darkVariant.main",sx:{fontWeight:900,fontSize:{xs:"1.35rem",md:"1.2rem"},whiteSpace:"nowrap"},children:u||n("N/D")})]}),Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{mt:1.75,pl:{xs:6,md:8},flexWrap:"wrap",rowGap:1.25},children:[Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",spacing:1.25,children:[Object(L.jsx)(b.a,{value:a.servings,onDecrease:c,onIncrease:o,disabled:s}),Object(L.jsx)(g.a,{variant:"body2",color:"darkVariant.main",children:n("Porzioni")})]}),Object(L.jsx)(d.a,{variant:"text",loading:i,onClick:r,sx:{border:0,background:"transparent",color:"#FF3B30",textDecoration:"underline",cursor:"pointer",p:0,minWidth:"auto","&:hover":{backgroundColor:"transparent",textDecoration:"underline"},"& .MuiLoadingButton-loadingIndicator":{color:"#FF3B30"},fontSize:{xs:"0.875rem",md:"0.875rem"}},children:n("Elimina")})]})]})},J=e=>{var t;let{ingredient:a,checked:n,onToggle:r,disabled:i}=e;const o=Object(h.d)(null===(t=a.total_price)||void 0===t?void 0:t.amount);return Object(L.jsx)(j.a,{sx:{borderBottom:"1px solid #F1F1F1"},children:Object(L.jsxs)(O.a,{disabled:i,onClick:()=>r(a.id),sx:{width:"100%",alignItems:"flex-start",justifyContent:"space-between",py:1.9,columnGap:1},children:[Object(L.jsx)(j.a,{sx:{width:40,display:"flex",justifyContent:"center",pt:.15,flexShrink:0},children:n?Object(L.jsx)(G.a,{sx:{color:"#27292D",fontSize:24}}):Object(L.jsx)(F.a,{sx:{color:"#D8D8D8",fontSize:24}})}),Object(L.jsxs)(j.a,{sx:{flex:1,minWidth:0},children:[Object(L.jsx)(g.a,{variant:"body1",color:"darkVariant.main",sx:{fontWeight:800,fontSize:{xs:"1.2rem",md:"1.05rem"},opacity:n?.3:1,textAlign:"left",lineHeight:1.2,mb:1.1},children:a.name}),Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",justifyContent:"space-between",spacing:2,children:[Object(L.jsx)(g.a,{variant:"body1",color:"darkVariant.main",sx:{fontWeight:400,opacity:n?.3:1,fontSize:{xs:"1rem",md:"0.98rem"}},children:Object(h.e)(a.quantity)}),Object(L.jsx)(g.a,{variant:"body1",color:"darkVariant.main",sx:{textAlign:"right",fontWeight:400,opacity:n?.3:1,fontSize:{xs:"1rem",md:"0.98rem"},whiteSpace:"nowrap"},children:o||"-"})]})]})]})})},K=e=>{var t;let{list:a,onBack:n,onDeleteList:i,onRenameList:o,onDeleteRecipe:c,onUpdateRecipeServings:s,onToggleIngredientIgnored:l,onSearchRecipe:d,updatingRecipeServingsId:u,updatingIngredientId:p,deletingRecipeId:b,t:m}=e;const[f,v]=r.a.useState("recipes"),[O,y]=r.a.useState(!1),[k,A]=r.a.useState(!1),[E,I]=r.a.useState(!1),[R,M]=r.a.useState(null),z=Object(h.d)(null===(t=a.total_price)||void 0===t?void 0:t.amount),T=(a.ingredients||[]).filter((e=>e.ignored)).length;return Object(L.jsxs)(j.a,{children:[Object(L.jsxs)(x.a,{direction:"row",alignItems:"flex-start",justifyContent:"space-between",spacing:2,sx:{mb:3},children:[Object(L.jsxs)(x.a,{spacing:1.5,children:[Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",spacing:1,children:[Object(L.jsx)(w.a,{color:"darkVariant",onClick:n,sx:{marginLeft:{md:"-5%"}},children:Object(L.jsx)(_.a,{})}),Object(L.jsx)(g.a,{variant:"h4",color:"darkVariant.main",sx:{fontWeight:900},children:a.title}),Object(L.jsx)(j.a,{component:"button",type:"button",onClick:()=>y(!0),sx:{width:30,height:30,borderRadius:"50%",backgroundColor:"#F7F7F7",display:"flex",alignItems:"center",justifyContent:"center",border:0,cursor:"pointer",p:0},children:Object(L.jsx)(D.a,{sx:{fontSize:16,color:"#27292D"}})})]}),Object(L.jsx)(g.a,{variant:"h2",color:"darkVariant.main",sx:{fontWeight:900,lineHeight:1,fontSize:{xs:"2.8rem",md:"3.4rem"}},children:z?"".concat(z,"*"):m("N/D")}),Object(L.jsx)(g.a,{variant:"body1",color:"darkVariant.main",sx:{opacity:.8,fontSize:{xs:"1.25rem",md:"1rem"}},children:m("Totale spesa stimata")})]}),Object(L.jsx)(j.a,{component:"button",type:"button",onClick:()=>
2A(!0),sx:{width:{xs:54,md:58},height:{xs:54,md:58},borderRadius:"50%",backgroundColor:"#FFF6F6",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,border:0,cursor:"pointer",p:0},children:Object(L.jsx)(N.a,{sx:{color:"#FF3B30",fontSize:30}})})]}),Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",spacing:1.25,sx:{mb:2.5},children:[Object(L.jsx)(S.a,{label:m("Ricette"),onClick:()=>v("recipes"),clickable:!0,sx:{borderRadius:"999px",height:34,backgroundColor:"recipes"===f?"#27292D":"#F4F4F4",color:"recipes"===f?"#fff":"#27292D","& .MuiChip-label":{px:1.6,fontWeight:800,fontSize:{xs:"1.05rem",md:"0.98rem"}},"&:hover":{backgroundColor:"recipes"===f?"#27292D":"#ECECEC"}}}),Object(L.jsx)(S.a,{label:"".concat(m("Ingredienti")," ").concat(T," / ").concat((a.ingredients||[]).length),onClick:()=>v("ingredients"),clickable:!0,sx:{borderRadius:"999px",height:34,backgroundColor:"ingredients"===f?"#27292D":"#F4F4F4",color:"ingredients"===f?"#fff":"#27292D","& .MuiChip-label":{px:1.6,fontWeight:800,fontSize:{xs:"1.05rem",md:"0.98rem"}},"&:hover":{backgroundColor:"ingredients"===f?"#27292D":"#ECECEC"}}})]}),Object(L.jsx)(C.a,{container:!0,spacing:2.5,children:"recipes"===f?(a.items||[]).map((e=>Object(L.jsx)(C.a,{item:!0,xs:12,md:6,children:Object(L.jsx)(Q,{recipe:e,t:m,onAvatarClick:()=>d(e),onDelete:()=>{M(e),I(!0)},deleting:b===e.id,onIncreasePortions:()=>s(e,e.servings+1),onDecreasePortions:()=>s(e,e.servings-1),updatingPortions:u===e.id})},e.id))):Object(L.jsx)(C.a,{item:!0,xs:12,md:9,children:Object(L.jsx)(x.a,{spacing:1.25,children:(a.ingredients||[]).map((e=>Object(L.jsx)(J,{ingredient:e,checked:Boolean(e.ignored),onToggle:()=>l(e),disabled:p===e.id},e.id)))})})}),Object(L.jsx)(g.a,{variant:"body2",color:"darkVariant.main",sx:{maxWidth:980,mt:{xs:5,md:10},opacity:.75,lineHeight:1.75},children:"* I prezzi indicati sono approssimativi e rappresentano una stima del costo finale. Tali importi possono variare in base alla regione, alla stagione e alla disponibilita degli ingredienti. Le cifre riportate hanno unicamente uno scopo orientativo e non devono essere considerate come valori fissi o vincolanti."}),Object(L.jsx)(Z,{open:O,initialValue:a.title,onClose:()=>y(!1),onSubmit:o,t:m}),Object(L.jsx)(X,{open:k,onClose:()=>A(!1),onConfirm:()=>{A(!1),i()},title:m("Elimina lista"),body:m("Sei sicuro di voler eliminare la lista della spesa?"),cancelLabel:m("Annulla"),confirmLabel:m("Elimina"),loading:!1}),Object(L.jsx)(X,{open:E,onClose:()=>{b||(I(!1),M(null))},onConfirm:async()=>{if(R){await c(R)&&(I(!1),M(null))}},title:m("Elimina ricetta"),body:m("Sei sicuro di voler eliminare la ricetta dalla lista della spesa?"),cancelLabel:m("Annulla"),confirmLabel:m("Elimina"),loading:Boolean(R&&b===R.id)})]})};t.default=()=>{const e=Object(i.h)(),{listId:t}=Object(i.j)(),{t:a,i18n:n}=Object(o.a)(),{request:c,cancelToken:s}=r.a.useContext(u.a),[l,d]=r.a.useState(0),[b,m]=r.a.useState(null),[f,S]=r.a.useState((()=>"true"===localStorage.getItem(U))),[E,I]=r.a.useState([]),[M,T]=r.a.useState(!1),[P,N]=r.a.useState(!0),[V,D]=r.a.useState({pageIndex:1,pageCount:1,pageSize:20,total:0}),[W,F]=r.a.useState(null),[q,G]=r.a.useState(!1),[H,Z]=r.a.useState(null),[X,Q]=r.a.useState(null),[J,$]=r.a.useState(null),[ee,te]=r.a.useState(null),[ae,ne]=r.a.useState(null),re=r.a.useRef(null),ie=r.a.useRef(!1),oe=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;if(ie.current||e>1&&!P)return;ie.current=!0,T(!0);const t=s.source(),a=await c("get","/v2/user-lists/shopping/recipes-lists",t.token,{page_index:e,page_size:V.pageSize},!1,{courseId:""});if(a){const t=Array.isArray(a.items)?a.items:[];I((a=>1===e?t:[...a,...t.filter((e=>!a.find((t=>t.id===e.id))))])),D({pageIndex:a.page_index||e,pageCount:a.page_count||1,pageSize:a.page_size||V.pageSize,total:a.total||t.length}),N(Boolean(t.length)&&t.length>=(a.page_size||V.pageSize)&&(a.page_index||e)<(a.total||t.length))}else I([]),N(!1);ie.current=!1,T(!1)},ce=async()=>{if(!t)return void F(null);G(!0);const e=s.source(),a=await c("get","/v2/user-lists/shopping/recipes-lists/".concat(t),e.token);F(a||null),G(!1)};r.a.useEffect((()=>{N(!0),oe(1),(async()=>{const e=s.source(),t=await c("get","/v2/advices/recipes-shopping-lists",e.token);Array.isArray(t)&&t.length?m(t[0]):m(null)})()}),[]),r.a.useEffect((()=>{ce()}),[t]);r.a.useEffect((()=>{var e;const t=(null===b||void 0===b||null===(e=b.advices)||void 0===e?void 0:e.length)||0;t?l>t-1&&d(0):d(0)}),[b,l]);const se=r.a.useCallback((e=>
2{M||t||!P||(re.current&&re.current.disconnect(),re.current=new IntersectionObserver((e=>{e[0].isIntersecting&&V.pageIndex<V.total&&oe(V.pageIndex+1)}),{threshold:1}),e&&re.current.observe(e))}),[M,t,V.pageIndex,V.pageCount,V.pageSize,P]),le=t?e.location.pathname.replace(new RegExp("/".concat(t,"$")),""):e.location.pathname,de="/".concat(n.language,"/").concat(a("ricette"));return Object(L.jsx)(p.a,{title:a("Lista della spesa"),bg:"#fff",headerBg:"#27292D",disableMaxWidth:!0,loading:M&&!t||q&&!!t,children:Object(L.jsx)(C.a,{container:!0,justifyContent:"center",sx:{pt:12,pb:8},children:Object(L.jsx)(C.a,{item:!0,xs:11,md:8,xl:7,children:t&&W?Object(L.jsx)(K,{list:W,onBack:()=>e.push(le),onDeleteList:async()=>{if(null===W||void 0===W||!W.id||X)return;Q(W.id);const t=s.source();await c("delete","/v2/user-lists/shopping/recipes-lists/".concat(W.id),t.token)&&(I((e=>e.filter((e=>e.id!==W.id)))),F(null),e.push(le)),Q(null)},onRenameList:async e=>{if(null===W||void 0===W||!W.id||null===e||void 0===e||!e.trim()||J)return!1;const t=e.trim();$(W.id);const a=s.source(),n=await c("put","/v2/user-lists/shopping/recipes-lists/".concat(W.id),a.token,{title:t});return n?(I((e=>e.map((e=>e.id===W.id?{...e,title:n.title||t}:e)))),F((e=>e?{...e,title:n.title||t}:e)),$(null),!0):($(null),!1)},onDeleteRecipe:async e=>{if(null===W||void 0===W||!W.id||null===e||void 0===e||!e.id||H)return!1;Z(e.id);const t=s.source(),a=await c("delete","/v2/user-lists/shopping/recipes-lists/".concat(W.id,"/items/").concat(e.id),t.token);return a?("object"!==typeof a||null===a||Array.isArray(a)?await ce():F(a),Z(null),!0):(Z(null),!1)},onUpdateRecipeServings:async(e,t)=>{if(null===W||void 0===W||!W.id||null===e||void 0===e||!e.id||t<1||ee)return!1;te(e.id);const a=s.source(),n=await c("put","/v2/user-lists/shopping/recipes-lists/".concat(W.id,"/servings"),a.token,{changes:[{recipe_id:e.id,servings:t}]});return n?(F(n),te(null),!0):(te(null),!1)},onToggleIngredientIgnored:async e=>{if(null===W||void 0===W||!W.id||null===e||void 0===e||!e.id||ae)return!1;ne(e.id);const t=s.source(),a=await c("put","/v2/user-lists/shopping/recipes-lists/".concat(W.id,"/ignored-ingredients"),t.token,{changes:[{ingredient_id:e.id,ignored:!e.ignored}]});return a?("object"===typeof a&&Array.isArray(a.ingredients)?F(a):await ce(),ne(null),!0):(ne(null),!1)},onSearchRecipe:t=>e.push("/".concat(n.language,"/").concat(a("ricette"),"/").concat(t.slug)),updatingRecipeServingsId:ee,updatingIngredientId:ae,deletingRecipeId:H,t:a}):t&&!q?Object(L.jsxs)(j.a,{sx:{py:8,textAlign:"center"},children:[Object(L.jsx)(g.a,{variant:"h6",color:"darkVariant.main",sx:{fontWeight:900,mb:1.5},children:a("Lista della spesa non trovata")}),Object(L.jsx)(v.a,{variant:"contained",color:"darkVariant",onClick:()=>e.push(le),children:a("Torna alle liste")})]}):Object(L.jsxs)(L.Fragment,{children:[Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",spacing:1,sx:{mb:{xs:4,md:6}},children:[Object(L.jsx)(w.a,{color:"darkVariant",onClick:()=>e.push(de),sx:{marginLeft:{md:"-5%"}},children:Object(L.jsx)(_.a,{})}),Object(L.jsx)(g.a,{variant:"h4",color:"darkVariant.main",sx:{fontWeight:900},children:a("Lista della spesa")})]}),M||E.length?Object(L.jsxs)(C.a,{container:!0,spacing:{xs:4,md:6},alignItems:"flex-start",children:[Object(L.jsx)(C.a,{item:!0,xs:12,md:6,children:Object(L.jsxs)(x.a,{spacing:2,children:[E.map(((t,a)=>Object(L.jsx)(j.a,{ref:a===E.length-1?se:null,children:Object(L.jsx)(O.a,{onClick:()=>e.push("".concat(le,"/").concat(t.id)),sx:{width:"100%",borderRadius:"12px"},children:Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",justifyContent:"space-between",sx:{width:"100%",backgroundColor:"#F7F7F7",borderRadius:"12px",px:1.5,py:1.25},children:[Object(L.jsxs)(x.a,{direction:"row",alignItems:"center",spacing:1.5,children:[Object(L.jsx)(y.a,{src:t.img_cover?Object(h.m)(t.img_cover,100):void 0,alt:t.title,sx:{width:36,height:36,backgroundColor:"#F1F1F1",color:"#27292D"},children:!t.img_cover&&Object(L.jsx)(B.a,{fontSize:"small"})}),Object(L.jsx)(g.a,{variant:"h6",color:"darkVariant.main",sx:{fontWeight:700,fontSize:{xs:"1.3rem",md:"1.15rem"}},children:t.title})]}),Object(L.jsx)(R.a,{sx:{fontSize:34,color:"#2E3138"}})]})})},t.id))),M&&Boolean(E.length)&&Object(L.jsx)(k.a,{variant:"rectangular",width:"100%",height:62,
2sx:{borderRadius:"12px"}})]})}),!f&&Object(L.jsx)(C.a,{item:!0,xs:12,md:6,children:Object(L.jsxs)(j.a,{sx:{backgroundColor:"#FFFDEB",borderRadius:"24px",px:{xs:3,md:4},py:{xs:3,md:4},maxWidth:430,mx:"auto",minHeight:{md:270}},children:[Object(L.jsx)(j.a,{component:"button",type:"button",onClick:()=>{localStorage.setItem(U,"true"),S(!0)},sx:{display:"flex",justifyContent:"flex-end",width:"100%",border:0,background:"transparent",cursor:"pointer",p:0},children:Object(L.jsx)(z.a,{sx:{color:"#23262B",fontSize:28}})}),Object(L.jsx)(g.a,{align:"center",variant:"body2",color:"darkVariant.main",sx:{opacity:.8,mb:3},children:(null===b||void 0===b?void 0:b.title)||a("Consigli di risparmio")}),((null===b||void 0===b?void 0:b.advices)||[]).length>0&&Object(L.jsxs)(L.Fragment,{children:[Object(L.jsx)(Y,{index:l,onChangeIndex:e=>{d(e)},enableMouseEvents:!0,interval:5e3,children:b.advices.map((e=>Object(L.jsxs)(j.a,{children:[Object(L.jsx)(g.a,{align:"center",variant:"h6",color:"darkVariant.main",sx:{fontWeight:900,mb:3,maxWidth:320,mx:"auto"},children:e.title}),Object(L.jsx)(g.a,{align:"center",variant:"body1",color:"darkVariant.main",sx:{lineHeight:1.35,maxWidth:330,mx:"auto"},children:e.body})]},e.id)))}),Object(L.jsx)(A.a,{steps:b.advices.length,position:"static",variant:"dots",activeStep:l,sx:{mt:{xs:6,md:8},justifyContent:"center",backgroundColor:"transparent",p:0,"& .MuiMobileStepper-dot":{width:8,height:8,mx:.4,backgroundColor:"#F0DFC7"},"& .MuiMobileStepper-dotActive":{backgroundColor:"#111111"}},backButton:null,nextButton:null})]})]})})]}):Object(L.jsxs)(j.a,{sx:{maxWidth:420,mx:"auto",textAlign:"center"},children:[Object(L.jsx)(g.a,{align:"center",variant:"h6",color:"darkVariant.main",sx:{fontWeight:900,mb:2},children:a("Ancora non hai aggiunto nessuna ricetta")}),Object(L.jsx)(g.a,{align:"center",variant:"body1",color:"darkVariant.main",sx:{lineHeight:1.3,maxWidth:360,mx:"auto"},children:a("Clicca sull'icona Lista spesa per aggiungere una ricetta e i suoi ingredienti in questa lista")}),Object(L.jsx)(j.a,{sx:{display:"flex",justifyContent:"center",mt:5},children:Object(L.jsx)(j.a,{sx:{width:72,height:72,borderRadius:"50%",backgroundColor:"#F7F7F7",display:"flex",alignItems:"center",justifyContent:"center"},children:Object(L.jsx)(B.a,{sx:{fontSize:34,color:"#FF1744"}})})})]})]})})})})}}}]);
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.