1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},t=(new Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="b3eb792b-e38c-4e04-a729-6f1cc1c162be",e._sentryDebugIdIdentifier="sentry-dbid-b3eb792b-e38c-4e04-a729-6f1cc1c162be")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{52937:function(e,t,n){"use strict";var r=n(58541);Object.defineProperty(t,"R",{enumerable:!0,get:function(){return r.useScrollPosition}})},93935:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useIsomorphicLayoutEffect=void 0;const r=n(34885);t.useIsomorphicLayoutEffect="undefined"!==typeof window?r.useLayoutEffect:r.useEffect},58541:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useScrollPosition=void 0;const r=n(34885),i=n(93935),o="undefined"!==typeof window,a={x:0,y:0},s=e=>null===e||void 0===e?void 0:e.getBoundingClientRect(),l=({element:e,useWindow:t,boundingElement:n})=>{if(!o)return a;if(t)return{x:window.scrollX,y:window.scrollY};const r=s((null===e||void 0===e?void 0:e.current)||document.body),i=s(null===n||void 0===n?void 0:n.current);return r?i?{x:(i.x||0)-(r.x||0),y:(i.y||0)-(r.y||0)}:{x:r.left,y:r.top}:a};t.useScrollPosition=(e,t,n,a,s,c)=>{const u=r.useRef(l({useWindow:a,boundingElement:c}));let d=null;const m=()=>{const t=l({element:n,useWindow:a,boundingElement:c});e({prevPos:u.current,currPos:t}),u.current=t,d=null};i.useIsomorphicLayoutEffect((()=>{var e;if(!o)return;const t=()=>{s?null===d&&(d=setTimeout(m,s)):m()};return c?null===(e=c.current)||void 0===e||e.addEventListener("scroll",t,{passive:!0}):window.addEventListener("scroll",t,{passive:!0}),()=>{var e;c?null===(e=c.current)||void 0===e||e.removeEventListener("scroll",t):window.removeEventListener("scroll",t),d&&clearTimeout(d)}}),t)},t.useScrollPosition.defaultProps={deps:[],element:!1,useWindow:!1,wait:null,boundingElement:!1}},45757:function(e){var t;t=function(){var e=JSON.parse('{"$":"dollar","%":"percent","&":"and","<":"less",">":"greater","|":"or","\xa2":"cent","\xa3":"pound","\xa4":"currency","\xa5":"yen","\xa9":"(c)","\xaa":"a","\xae":"(r)","\xba":"o","\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xc6":"AE","\xc7":"C","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xd0":"D","\xd1":"N","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xdd":"Y","\xde":"TH","\xdf":"ss","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xe6":"ae","\xe7":"c","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xf0":"d","\xf1":"n","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xfd":"y","\xfe":"th","\xff":"y","\u0100":"A","\u0101":"a","\u0102":"A","\u0103":"a","\u0104":"A","\u0105":"a","\u0106":"C","\u0107":"c","\u010c":"C","\u010d":"c","\u010e":"D","\u010f":"d","\u0110":"DJ","\u0111":"dj","\u0112":"E","\u0113":"e","\u0116":"E","\u0117":"e","\u0118":"e","\u0119":"e","\u011a":"E","\u011b":"e","\u011e":"G","\u011f":"g","\u0122":"G","\u0123":"g","\u0128":"I","\u0129":"i","\u012a":"i","\u012b":"i","\u012e":"I","\u012f":"i","\u0130":"I","\u0131":"i","\u0136":"k","\u0137":"k","\u013b":"L","\u013c":"l","\u013d":"L","\u013e":"l","\u0141":"L","\u0142":"l","\u0143":"N","\u0144":"n","\u0145":"N","\u0146":"n","\u0147":"N","\u0148":"n","\u014c":"O","\u014d":"o","\u0150":"O","\u0151":"o","\u0152":"OE","\u0153":"oe","\u0154":"R","\u0155":"r","\u0158":"R","\u0159":"r","\u015a":"S","\u015b":"s","\u015e":"S","\u015f":"s","\u0160":"S","\u0161":"s","\u0162":"T","\u0163":"t","\u0164":"T","\u0165":"t","\u0168":"U","\u0169":"u","\u016a":"u","\u016b":"u","\u016e":"U","\u016f":"u","\u0170":"U","\u0171":"u","\u0172":"U","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017a":"z","\u017b":"Z","\u017c":"z","\u017d":"Z","\u017e":"z","\u018f":"E","\u0192":"f","\u01a0":"O","\u01a1":"o","\u01af":"U","\u01b0":"u","\u01c8":"LJ","\u01c9":"lj","\u01cb":"NJ","\u01cc":"nj","\u0218":"S","\u0219":"s","\u021a":"T","\u021b":"t","\u0259":"e","\u02da":"o","\u0386":"A","\u0388":"E","\u0389":"H","\u038a":"I","\u038c":"O","\u038e":"Y","\u038f":"W","\u0390":"i","\u0391":"A","\u0392":"B","\u0393":"G","\u0394":"D","\u0395":"E","\u0396":"Z","\u0397":"H","\u0398":"8","\u0399":"I","\u039a":"K","\u039b":"L","\u039c":"M","\u039d":"N","\u039e":"3","\u039f":"O","\u03a0":"P","\u03a1":"R","\u03a3":"S","\u03a4":"T","\u03a5":"Y","\u03a6":"F","\u03a7":"X","\u03a8":"PS","\u03a9":"W","\u03aa":"I","\u03ab":"Y","\u03ac":"a","\u03ad":"e","\u03ae":"h","\u03af":"i","\u03b0":"y","\u03b1":"a","\u03b2":"b","\u03b3":"g","\u03b4":"d","\u03b5":"e","\u03b6":"z","\u03b7":"h","\u03b8":"8","\u03b9":"i","\u03ba":"k","\u03bb":"l","\u03bc":"m","\u03bd":"n","\u03be":"3","\u03bf":"o","\u03c0":"p","\u03c1":"r","\u03c2":"s","\u03c3":"s","\u03c4":"t","\u03c5":"y","\u03c6":"f","\u03c7":"x","\u03c8":"ps","\u03c9":"w","\u03ca":"i","\u03cb":"y","\u03cc":"o","\u03cd":"y","\u03ce":"w","\u0401":"Yo","\u0402":"DJ","\u0404":"Ye","\u0406":"I","\u0407":"Yi","\u0408":"J","\u0409":"LJ","\u040a":"NJ","\u040b":"C","\u040f":"DZ","\u0410":"A","\u0411":"B","\u0412":"V","\u0413":"G","\u0414":"D","\u0415":"E","\u0416":"Zh","\u0417":"Z","\u0418":"I","\u0419":"J","\u041a":"K","\u041b":"L","\u041c":"M","\u041d":"N","\u041e":"O","\u041f":"P","\u0420":"R","\u0421":"S","\u0422":"T","\u0423":"U","\u0424":"F","\u0425":"H","\u0426":"C","\u0427":"Ch","\u0428":"Sh","\u0429":"Sh","\u042a":"U","\u042b":"Y","\u042c":"","\u042d":"E","\u042e":"Yu","\u042f":"Ya","\u0430":"a","\u0431":"b","\u0432":"v","\u0433":"g","\u0434":"d","\u0435":"e","\u0436":"zh","\u0437":"z","\u0438":"i","\u0439":"j","\u043a":"k","\u043b":"l","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"p","\u0440":"r","\u0441":"s","\u0442":"t","\u0443":"u","\u0444":"f","\u0445":"h","\u0446":"c","\u0447":"ch","\u0448":"sh","\u0449":"sh","\u044a":"u","\u044b":"y","\u044c":"","\u044d":"e","\u044e":"yu","\u044f":"ya","\u0451":"yo","\u0452":"dj","\u0454":"ye","\u0456":"i","\u0457":"yi","\u0458":"j","\u0459":"lj","\u045a":"nj","\u045b":"c","\u045d":"u","\u045f":"dz","\u0490":"G","\u0491":"g","\u0492":"GH","\u0493":"gh","\u049a":"KH","\u049b":"kh","\u04a2":"NG","\u04a3":"ng","\u04ae":"UE","\u04af":"ue","\u04b0":"U","\u04b1":"u","\u04ba":"H","\u04bb":"h","\u04d8":"AE","\u04d9":"ae","\u04e8":"OE","\u04e9":"oe","\u0531":"A","\u0532":"B","\u0533":"G","\u0534":"D","\u0535":"E","\u0536":"Z","\u0537":"E\'","\u0538":"Y\'","\u0539":"T\'","\u053a":"JH","\u053b":"I","\u053c":"L","\u053d":"X","\u053e":"C\'","\u053f":"K","\u0540":"H","\u0541":"D\'","\u0542":"GH","\u0543":"TW","\u0544":"M","\u0545":"Y","\u0546":"N","\u0547":"SH","\u0549":"CH","\u054a":"P","\u054b":"J","\u054c":"R\'","\u054d":"S","\u054e":"V","\u054f":"T","\u0550":"R","\u0551":"C","\u0553":"P\'","\u0554":"Q\'","\u0555":"O\'\'","\u0556":"F","\u0587":"EV","\u0621":"a","\u0622":"aa","\u0623":"a","\u0624":"u","\u0625":"i","\u0626":"e","\u0627":"a","\u0628":"b","\u0629":"h","\u062a":"t","\u062b":"th","\u062c":"j","\u062d":"h","\u062e":"kh","\u062f":"d","\u0630":"th","\u0631":"r","\u0632":"z","\u0633":"s","\u0634":"sh","\u0635":"s","\u0636":"dh","\u0637":"t","\u0638":"z","\u0639":"a","\u063a":"gh","\u0641":"f","\u0642":"q","\u0643":"k","\u0644":"l","\u0645":"m","\u0646":"n","\u0647":"h","\u0648":"w","\u0649":"a","\u064a":"y","\u064b":"an","\u064c":"on","\u064d":"en","\u064e":"a","\u064f":"u","\u0650":"e","\u0652":"","\u0660":"0","\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u067e":"p","\u0686":"ch","\u0698":"zh","\u06a9":"k","\u06af":"g","\u06cc":"y","\u06f0":"0","\u06f1":"1","\u06f2":"2","\u06f3":"3","\u06f4":"4","\u06f5":"5","\u06f6":"6","\u06f7":"7","\u06f8":"8","\u06f9":"9","\u0e3f":"baht","\u10d0":"a","\u10d1":"b","\u10d2":"g","\u10d3":"d","\u10d4":"e","\u10d5":"v","\u10d6":"z","\u10d7":"t","\u10d8":"i","\u10d9":"k","\u10da":"l","\u10db":"m","\u10dc":"n","\u10dd":"o","\u10de":"p","\u10df":"zh","\u10e0":"r","\u10e1":"s","\u10e2":"t","\u10e3":"u","\u10e4":"f","\u10e5":"k","\u10e6":"gh","\u10e7":"q","\u10e8":"sh","\u10e9":"ch","\u10ea":"ts","\u10eb":"dz","\u10ec":"ts","\u10ed":"ch","\u10ee":"kh","\u10ef":"j","\u10f0":"h","\u1e62":"S","\u1e63":"s","\u1e80":"W","\u1e81":"w","\u1e82":"W","\u1e83":"w","\u1e84":"W","\u1e85":"w","\u1e9e":"SS","\u1ea0":"A","\u1ea1":"a","\u1ea2":"A","\u1ea3":"a","\u1ea4":"A","\u1ea5":"a","\u1ea6":"A","\u1ea7":"a","\u1ea8":"A","\u1ea9":"a","\u1eaa":"A","\u1eab":"a","\u1eac":"A","\u1ead":"a","\u1eae":"A","\u1eaf":"a","\u1eb0":"A","\u1eb1":"a","\u1eb2":"A","\u1eb3":"a","\u1eb4":"A","\u1eb5":"a","\u1eb6":"A","\u1eb7":"a","\u1eb8":"E","\u1eb9":"e","\u1eba":"E","\u1ebb":"e","\u1ebc":"E","\u1ebd":"e","\u1ebe":"E","\u1ebf":"e","\u1ec0":"E","\u1ec1":"e","\u1ec2":"E","\u1ec3":"e","\u1ec4":"E","\u1ec5":"e","\u1ec6":"E","\u1ec7":"e","\u1ec8":"I","\u1ec9":"i","\u1eca":"I","\u1ecb":"i","\u1ecc":"O","\u1ecd":"o","\u1ece":"O","\u1ecf":"o","\u1ed0":"O","\u1ed1":"o","\u1ed2":"O","\u1ed3":"o","\u1ed4":"O","\u1ed5":"o","\u1ed6":"O","\u1ed7":"o","\u1ed8":"O","\u1ed9":"o","\u1eda":"O","\u1edb":"o","\u1edc":"O","\u1edd":"o","\u1ede":"O","\u1edf":"o","\u1ee0":"O","\u1ee1":"o","\u1ee2":"O","\u1ee3":"o","\u1ee4":"U","\u1ee5":"u","\u1ee6":"U","\u1ee7":"u","\u1ee8":"U","\u1ee9":"u","\u1eea":"U","\u1eeb":"u","\u1eec":"U","\u1eed":"u","\u1eee":"U","\u1eef":"u","\u1ef0":"U","\u1ef1":"u","\u1ef2":"Y","\u1ef3":"y","\u1ef4":"Y","\u1ef5":"y","\u1ef6":"Y","\u1ef7":"y","\u1ef8":"Y","\u1ef9":"y","\u2013":"-","\u2018":"\'","\u2019":"\'","\u201c":"\\"","\u201d":"\\"","\u201e":"\\"","\u2020":"+","\u2022":"*","\u2026":"...","\u20a0":"ecu","\u20a2":"cruzeiro","\u20a3":"french franc","\u20a4":"lira","\u20a5":"mill","\u20a6":"naira","\u20a7":"peseta","\u20a8":"rupee","\u20a9":"won","\u20aa":"new shequel","\u20ab":"dong","\u20ac":"euro","\u20ad":"kip","\u20ae":"tugrik","\u20af":"drachma","\u20b0":"penny","\u20b1":"peso","\u20b2":"guarani","\u20b3":"austral","\u20b4":"hryvnia","\u20b5":"cedi","\u20b8":"kazakhstani tenge","\u20b9":"indian rupee","\u20ba":"turkish lira","\u20bd":"russian ruble","\u20bf":"bitcoin","\u2120":"sm","\u2122":"tm","\u2202":"d","\u2206":"delta","\u2211":"sum","\u221e":"infinity","\u2665":"love","\u5143":"yuan","\u5186":"yen","\ufdfc":"rial","\ufef5":"laa","\ufef7":"laa","\ufef9":"lai","\ufefb":"la"}'),t=JSON.parse('{"bg":{"\u0419":"Y","\u0426":"Ts","\u0429":"Sht","\u042a":"A","\u042c":"Y","\u0439":"y","\u0446":"ts","\u0449":"sht","\u044a":"a","\u044c":"y"},"de":{"\xc4":"AE","\xe4":"ae","\xd6":"OE","\xf6":"oe","\xdc":"UE","\xfc":"ue","\xdf":"ss","%":"prozent","&":"und","|":"oder","\u2211":"summe","\u221e":"unendlich","\u2665":"liebe"},"es":{"%":"por ciento","&":"y","<":"menor que",">":"mayor que","|":"o","\xa2":"centavos","\xa3":"libras","\xa4":"moneda","\u20a3":"francos","\u2211":"suma","\u221e":"infinito","\u2665":"amor"},"fr":{"%":"pourcent","&":"et","<":"plus petit",">":"plus grand","|":"ou","\xa2":"centime","\xa3":"livre","\xa4":"devise","\u20a3":"franc","\u2211":"somme","\u221e":"infini","\u2665":"amour"},"pt":{"%":"porcento","&":"e","<":"menor",">":"maior","|":"ou","\xa2":"centavo","\u2211":"soma","\xa3":"libra","\u221e":"infinito","\u2665":"amor"},"uk":{"\u0418":"Y","\u0438":"y","\u0419":"Y","\u0439":"y","\u0426":"Ts","\u0446":"ts","\u0425":"Kh","\u0445":"kh","\u0429":"Shch","\u0449":"shch","\u0413":"H","\u0433":"h"},"vi":{"\u0110":"D","\u0111":"d"},"da":{"\xd8":"OE","\xf8":"oe","\xc5":"AA","\xe5":"aa","%":"procent","&":"og","|":"eller","$":"dollar","<":"mindre end",">":"st\xf8rre end"},"nb":{"&":"og","\xc5":"AA","\xc6":"AE","\xd8":"OE","\xe5":"aa","\xe6":"ae","\xf8":"oe"},"it":{"&":"e"},"nl":{"&":"en"},"sv":{"&":"och","\xc5":"AA","\xc4":"AE","\xd6":"OE","\xe5":"aa","\xe4":"ae","\xf6":"oe"}}');function n(n,r){if("string"!==typeof n)throw new Error("slugify: string argument expected");var i=t[(r="string"===typeof r?{replacement:r}:r||{}).locale]||{},o=void 0===r.replacement?"-":r.replacement,a=void 0===r.trim||r.trim,s=n.normalize().split("").reduce((function(t,n){var a=i[n]||e[n]||n;return a===o&&(a=" "),t+a.replace(r.remove||/[^\w\s$*_+~.()'"!\-:@]+/g,"")}),"");return r.strict&&(s=s.replace(/[^A-Za-z0-9\s]/g,"")),a&&(s=s.trim()),s=s.replace(/\s+/g,o),r.lower&&(s=s.toLowerCase()),s}return n.extend=function(t){Object.assign(e,t)},n},e.exports=t(),e.exports.default=t()},8002:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(12197),i=n(67450),o=n(52025),a=n(58025),s=n(34885),l=n(88349);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=s.memo((function(e){return(0,l.jsxs)(i.mn,u(u({},e),{},{children:[(0,l.jsx)(i.of,{title:e.title}),(0,l.jsx)(i.QG,{cardInfo:[{label:e.court&&""!==e.court?"Tribunale":"Tipo di vendita",value:(0,l.jsx)(a.RS,{bold:!0,children:e.court&&""!==e.court?e.court:e.procedureType})}]}),(0,l.jsx)(i.QG,{cardInfo:[e.procedureCode?{label:"Numero RGE",value:(0,l.jsxs)(a.zg,{bold:!0,className:"clampToTwoLines",children:[" ",e.procedureCode]})}:null,e.code?{label:"Codice lotto",value:(0,l.jsxs)(a.zg,{bold:!0,className:"clampToTwoLines",children:[" ",e.code]})}:null,e.ivgCode?{label:"Numero IVG",value:(0,l.jsxs)(a.zg,{bold:!0,className:"clampToTwoLines",children:[" ",e.ivgCode]})}:null]}),!["MANIFESTAZIONE DI INTERESSE","RACCOLTA OFFERTE","VENDITA AL DETTAGLIO","COMPRALO SUBITO"].includes(e.modeType)&&"completed"!==e.auctionStatus&&(0,l.jsx)(i.QG,{cardInfo:[{label:"Prezzo base",value:(0,l.jsxs)("span",{className:"flex items-center",children:[(0,l.jsx)(a.zg,{bold:!0,children:(0,l.jsx)(o.N6,{children:e.basePrice})}),e.savePercentage&&e.savePercentage>0&&(0,l.jsxs)(a._e,{customElement:"span",className:"bg-accent rounded py-1 px-2xs",white:!0,bold:!0,style:{position:"absolute",marginLeft:"100px",marginTop:"-45px"},children:["-",Math.floor(e.savePercentage),"%"]})]})},e.minPrice&&e.minPrice>0?{label:"Prezzo minimo",value:(0,l.jsx)(a.zg,{accent:!0,bold:!0,children:(0,l.jsx)(o.N6,{children:e.minPrice})})}:null]}),"VENDITA AL DETTAGLIO"===e.modeType&&(0,l.jsx)(i.QG,{cardInfo:[{label:"Prezzo di vendita al pezzo",value:(0,l.jsx)(a.zg,{bold:!0,children:(0,l.jsx)(o.N6,{children:e.priceApiece})})}]}),"COMPRALO SUBITO"===e.modeType&&(0,l.jsx)(i.QG,{cardInfo:[{label:"Prezzo di vendita al pezzo al pubblico",value:(0,l.jsx)(a.zg,{bold:!0,children:(0,l.jsx)(o.N6,{children:e.priceApiece})})}]})]}))}))},90005:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return It},default:function(){return At}});var r=n(51705),i=n(65443),o=n.n(i),a=n(28863),s=n(16242),l=n(50369),c=n(56509),u=n(32125),d=n(55968),m=n(17591),f=n(12197);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var v=function(e){return(new s.HG).favourites(1,"end-date-asc",void 0,e)},x=function(e,t){return e.id===t?p(p({},e),{},{isFavourite:!e.isFavourite}):e},b=n(7366),g=n(7849),j=n(78580),y=n(47789),O=n(59623),C=n(58025),w=n(34885),N=n(82210),S=n.n(N),P=n(53746),I=n(88349);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var _=function(e){var t=(0,P.useRouter)().push,n=e.center,r=e.shouldFit,i=e.title,o=void 0===i?"":i,a=e.body,s=void 0===a?"":a,l=e.href,c=void 0===l?"":l,u=e.src;return(0,I.jsxs)("div",{className:"".concat(S().informativeCardContainer," ").concat(n?S().informativeCardContainerCenter:""," ").concat(r?S().informativeCardContainerFit:""),children:[(0,I.jsx)("img",{className:S().informativeCardImage,src:u,alt:o}),(0,I.jsxs)("div",{className:S().informativeCardInfoContainer,children:[(0,I.jsx)(C.RT,{bold:!0,className:S().informativeCardInfoTitle,children:o}),(0,I.jsx)(C.RS,{className:S().informativeCardBody,children:s})]}),""!==c&&(0,I.jsx)("a",{href:"/pagine/".concat(c),onClick:function(){return t("/pagine/".concat(c))},style:{outline:"none",border:0,boxShadow:"none"},children:(0,I.jsx)("div",{className:S().informativeCardInfoButton,children:(0,I.jsx)(O._,{href:"/pagine/".concat(c),width:320,children:(0,I.jsx)(j.c,{children:"SCOPRI DI PI\xd9"})})})})]})},E=function(){var e,t=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?A(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},null===(e=(0,w.useContext)(l.T))||void 0===e?void 0:e.configurations),n=t.homepageContent;return null!==n&&void 0!==n&&n.length?(0,I.jsx)("section",{className:S().informativeCards,style:void 0,children:(0,I.jsx)(g.W,{children:(0,I.jsx)(y.i,{slidesToShow:3,itemClassName:S().carouselItem,center:!0,children:n.map((function(e,t){var n;return(0,I.jsx)(_,{title:e.Title,body:e.Text,href:null!==(n=e.Page)&&void 0!==n?n:"",src:e.Image.url},"informative-card-".concat(t))}))})})}):(0,I.jsx)(w.Fragment,{})},k=n(7163),R=n(57479),T=n(99641),L=n.n(T),D=n(33872),Z=n(79258),U=n(4771),M=n(9155),F=n(99676),V=n(56853),z=n(47545),G=n.n(z);function H(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var B=1e3,W=6378137,q=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"pointer",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"#ff00ff",a=!(arguments.length>6&&void 0!==arguments[6])||arguments[6];return new google.maps.Marker({map:e,position:t,clickable:n,draggable:r,cursor:i,visible:a,icon:{strokeWeight:0,fillColor:o,fillOpacity:1,path:google.maps.SymbolPath.CIRCLE,scale:10,anchor:new google.maps.Point(0,0)}})},Y=w.memo((function(e){var t,n,r,i=e.isOpen,o=e.onClose,a=e.initialState,s=e.onConfirm,c=(0,w.useRef)(),d=(0,w.useRef)(),m=(0,w.useRef)(),h=(0,w.useRef)(),p=(0,w.useRef)([]),v=(0,w.useRef)([]),x=(0,w.useRef)(null),b=(0,w.useRef)(!0),g=(0,w.useRef)(!1),y=(0,w.useRef)("polygon"),O=(0,w.useRef)(),N=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?H(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):H(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},null===(t=(0,w.useContext)(l.T))||void 0===t||null===(n=t.configurations)||void 0===n?void 0:n.websiteCustomization),S=N.Generic,P=(0,w.useMemo)((function(){var e;return null!==(e=null===S||void 0===S?void 0:S.MapSearchInitialZoom)&&void 0!==e?e:6}),[null===S||void 0===S?void 0:S.MapSearchInitialZoom]),A=(0,w.useMemo)((function(){var e=null===S||void 0===S?void 0:S.MapSearchInitialCoordinates;return e&&-1!==e.indexOf(",")?[parseFloat(e.split(",")[0]),parseFloat(e.split(",")[1])]:[41.87194,12.56738]}),[null===S||void 0===S?void 0:S.MapSearchInitialCoordinates]);if(a&&!O.current)try{var _;O.current=JSON.parse(a),null!==(_=O.current)&&void 0!==_&&_.points&&O.current.points.length&&(b.current=!1)}catch(xe){}var E=(0,w.useState)((function(){return void 0!==O.current})),T=E[0],z=E[1],Y=(0,w.useState)((null===(r=O.current)||void 0===r?void 0:r.type)||"polygon"),J=Y[0],K=Y[1],Q=(0,w.useState)(!1),X=Q[0],$=Q[1],ee=(0,w.useState)((function(){var e;return null!==(e=O.current)&&void 0!==e&&e.viewCenter?13:P})),te=ee[0],ne=ee[1],re=(0,w.useState)((function(){var e,t;return null!==(e=O.current)&&void 0!==e&&e.center&&O.current.center.lat&&O.current.center.lng?O.current.center:(null===(t=O.current)||void 0===t?void 0:t.viewCenter)||{lat:A[0],lng:A[1]}})),ie=re[0],oe=re[1];(0,D.Z)().lang;(0,w.useEffect)((function(){var e=setInterval((function(){window.google&&window.google.maps&&($(!0),clearInterval(e))}),100);return function(){clearInterval(e)}}),[]),(0,u.lR)((function(){ve(),y.current=J}),[J]);var ae=function(e,t){d.current&&d.current.getPath().setAt(e,t.latLng)},se=function(e){if(c.current&&m.current&&b.current&&!g.current){var t=c.current,n=m.current,r=v.current;if(t.setOptions({gestureHandling:"none"}),n.getPath().push(e.latLng),Z.jU&&1===n.getPath().getLength()&&n.getPath().push(e.latLng),r.push(q(t,e.latLng,0===r.length,!1,0===r.length?"pointer":"default",0===r.length?"#9b2263":"#1ab0e1")),1===r.length)var i=r[0].addListener("click",(function(){if(!(r.length<3)){Z.jU&&n.getPath().removeAt(n.getPath().getLength()-1),x.current&&google.maps.event.removeListener(x.current),x.current=null,n.setVisible(!1);var e=d.current;e.setPath(n.getPath()),e.setVisible(!0),r[0].setClickable(!1),r[0].setIcon({strokeWeight:0,fillColor:"#1ab0e1",fillOpacity:1,path:google.maps.SymbolPath.CIRCLE,scale:10,anchor:new google.maps.Point(0,0)}),r.forEach((function(e,t){e.setDraggable(!0),e.setCursor("grab"),e.addListener("drag",(function(e){return ae(t,e)}))}
1)),t.setOptions({gestureHandling:"cooperative"}),google.maps.event.removeListener(i),b.current=!1,g.current=!0,z(!0)}}));!function(){if(!x.current){var e=c.current,t=m.current;x.current=google.maps.event.addListener(e,"mousemove",(function(e){var n=t.getPath().getLength()-1;t.getPath().setAt(n,e.latLng)}))}}()}},le=function(e,t){p.current.forEach((function(n,r){var i=.5*r*Math.PI,o=Math.cos(i)*e,a=Math.sin(i)*e,s="function"===typeof t.lat?t.lat():t.lat,l="function"===typeof t.lng?t.lng():t.lng;n.setVisible(!0),n.setPosition(function(e,t,n,r){var i=n/W,o=r/(W*Math.cos(Math.PI*e/180));return{lat:e+180*i/Math.PI,lng:t+180*o/Math.PI}}(s,l,o,a))}))},ce=function(e){if(c.current&&h.current){var t=h.current,n=t.getCenter(),r=function(e,t,n,r){var i=(e-n)*Math.PI/180,o=(t-r)*Math.PI/180,a=Math.pow(Math.sin(.5*i),2)+Math.cos(e*Math.PI/180)*Math.cos(n*Math.PI/180)*Math.pow(Math.sin(.5*o),2),s=2*Math.atan2(Math.sqrt(a),Math.sqrt(1-a));return W*s}(n.lat(),n.lng(),e.latLng.lat(),e.latLng.lng());t.setRadius(r)}},ue=function(){if(h.current){var e=h.current;le(e.getRadius(),e.getCenter()),p.current.forEach((function(e){e.setVisible(!0)}))}},de=function(){h.current&&p.current.forEach((function(e){e.setVisible(!1)}))},me=function(){if(h.current){var e=h.current;le(e.getRadius(),e.getCenter()),p.current.forEach((function(e){e.setVisible(!0)}))}},fe=function(e){b.current&&("radius"===y.current?function(e){if(c.current&&h.current&&b.current){z(!0);var t=e.latLng,n=h.current;n.setCenter(t),n.setVisible(!0),n.setRadius(B),le(B,e.latLng)}}(e):"polygon"===y.current&&se(e))},he=function(){b.current=!1},pe=function(){b.current=!0},ve=function(){var e;(d.current&&(d.current.getPath().clear(),d.current.setVisible(!1)),m.current&&(m.current.getPath().clear(),m.current.setVisible(!0)),v.current&&(v.current.forEach((function(e,t){e.setMap(null),delete v.current[t]})),v.current=[]),h.current)&&(null===(e=h.current)||void 0===e||e.setVisible(!1),p.current.forEach((function(e){e.setVisible(!1)})));b.current=!0,g.current=!1,T&&z(!1)};return(0,I.jsx)(F.u,{isOpen:i,onClose:o,className:"sm:max-w-7xl",fullScreen:!0,children:(0,I.jsxs)("div",{className:L()(G().modalContainer,"flex flex-col h-full"),children:[(0,I.jsx)(C.RT,{className:"mb-3xs",bold:!0,children:(0,I.jsx)(j.c,{children:"Imposta l'area di ricerca"})}),(0,I.jsxs)(C.RS,{className:"mb-2sm",children:["radius"===J&&(0,I.jsx)(j.c,{children:"Clicca sulla mappa per impostare un raggio di ricerca"}),"polygon"===J&&(0,I.jsx)(j.c,{children:"Clicca sulla mappa per disegnare l'area di ricerca"})]}),(0,I.jsx)("div",{className:"mb-sm"}),(0,I.jsxs)("div",{className:"flex items-center mb-2sm justify-end",children:[(0,I.jsx)("div",{onClick:function(){(0,k.Y)().then((function(e){oe({lat:e.latitude,lng:e.longitude}),ne(13)})).catch(console.warn)},className:"flex items-center justify-center bg-primary rounded py-xs px-xs cursor-pointer sm:ml-xs",children:(0,I.jsx)(C.RS,{white:!0,bold:!0,children:(0,I.jsx)(j.c,{children:"Geolocalizza"})})}),(0,I.jsx)(V.N,{viewType:"radius",label:"SELEZIONA RAGGIO",onClick:K,active:"radius"===J,icon:(0,I.jsx)(M.R,{className:L()("fill-current search-on-map-modal-button")}),className:"mx-xs"}),(0,I.jsx)(V.N,{viewType:"polygon",label:"DISEGNA SU MAPPA",onClick:K,active:"polygon"===J,icon:(0,I.jsx)(U.C,{className:L()("fill-current search-on-map-modal-button")})})]}),(0,I.jsxs)("div",{className:G().mapContainer,children:[X&&(0,I.jsx)(R.b6,{onLoad:function(e){var t,n,r,i;c.current=e,m.current=new google.maps.Polyline({map:c.current,clickable:!1,strokeColor:"#1ab0e1",strokeWidth:10}),p.current=[0,1,2,3].map((function(t,n){var r=new google.maps.Marker({map:e,draggable:!0,cursor:"pointer",visible:!1,icon:{strokeWeight:0,fillColor:"#1ab0e1",fillOpacity:1,path:google.maps.SymbolPath.CIRCLE,scale:10,anchor:new google.maps.Point(0,0)}});return r.addListener("drag",ce),r.addListener("dragstart",(function(){return function(e){h.current&&p.current.filter((function(t,n){return n!==e})).forEach((function(e){e.setVisible(!1)}))}(n)})),r.addListener("dragend",ue),r}
1)),h.current=new google.maps.Circle({map:e,radius:B,draggable:!0,strokeColor:"#1ab0e1",strokeWeight:4,fillColor:"#1ab0e1",fillOpacity:.3,visible:!1}),h.current.addListener("dragstart",de),h.current.addListener("dragend",me),null!==(t=O.current)&&void 0!==t&&t.center&&null!==(n=O.current)&&void 0!==n&&n.radius&&"radius"===(null===(r=O.current)||void 0===r?void 0:r.type)&&(h.current.setCenter(O.current.center),h.current.setRadius(O.current.radius),h.current.setVisible(!0),le(O.current.radius,O.current.center)),d.current=new google.maps.Polygon({map:e,clickable:!1,strokeColor:"#1ab0e1",strokeWidth:10,fillColor:"#1ab0e1",fillOpacity:.3,visible:!1}),"polygon"===(null===(i=O.current)||void 0===i?void 0:i.type)&&O.current.points&&(d.current.setPath(O.current.points),v.current=O.current.points.map((function(t,n){var r=q(e,t,!1,!0,"pointer","#1ab0e1");return r.addListener("drag",(function(e){return ae(n,e)})),r})),d.current.setVisible(!0));var o=google.maps.event;o.addListener(c.current,"dragstart",he),o.addListener(c.current,"dragend",pe),o.addListener(c.current,"mouseup",fe)},mapContainerClassName:G().map,zoom:te,center:ie,options:{clickableIcons:!1,draggableCursor:"default",fullscreenControl:!1,streetViewControl:!1,mapTypeControl:!1},children:(0,I.jsx)(R.Jx,{position:ie})}),"polygon"===J&&(0,I.jsx)("div",{className:G().cancelButtonContainer,children:(0,I.jsx)(C.a_,{className:G().cancelButton,onClick:ve,bold:!0,children:(0,I.jsx)(j.c,{children:"Cancella selezione"})})})]}),(0,I.jsx)("div",{className:"flex w-full sm:justify-end mt-sm",children:(0,I.jsx)(C.zg,{onClick:function(){var e,t,n,r,i;if(T){var a=v.current.map((function(e){var t,n;return{lat:(null===(t=e.getPosition())||void 0===t?void 0:t.lat())||0,lng:(null===(n=e.getPosition())||void 0===n?void 0:n.lng())||0}})),l=h.current?{lat:(null===(e=h.current)||void 0===e||null===(t=e.getCenter())||void 0===t?void 0:t.lat())||0,lng:(null===(n=h.current)||void 0===n||null===(r=n.getCenter())||void 0===r?void 0:r.lng())||0}:null,c=h.current?(null===(i=h.current)||void 0===i?void 0:i.getRadius())||0:null;s({type:J,points:a,radius:c,center:l,viewCenter:ie}),o()}},className:L()("rounded px-lg py-xs w-full sm:w-auto text-center",(0,f.Z)({},"bg-secondary text-over-bg-secondary cursor-pointer",T),(0,f.Z)({},"bg-gray cursor-not-allowed",!T)),bold:!0,children:(0,I.jsx)(j.c,{children:"Conferma"})})})]})})})),J=n(33334);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Q=w.memo((function(e){var t=e.session,n=e.favouritesState,r=e.ItemCardComponent,i=e.onAddToFavourites,o=e.serverNow;return(0,I.jsx)("section",{children:(0,I.jsxs)(g.W,{className:Z.tq?"top-12":"",children:[(0,I.jsxs)("div",{className:"mt-md mb-sm",children:[(0,I.jsxs)(C.RT,{children:[(0,I.jsx)(j.c,{children:"Bentornato"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic uppercase",children:t.user.firstName})]}),(0,I.jsxs)("div",{className:"flex justify-between items-end",children:[(0,I.jsxs)("div",{className:"flex-1",children:[(0,I.jsx)(C.KJ,{className:"hidden sm:block",children:(0,I.jsx)(j.c,{children:"Ecco alcuni dei tuoi annunci preferiti"})}),(0,I.jsx)(C.zg,{className:"block sm:hidden",children:(0,I.jsx)(j.c,{children:"Ecco alcuni dei tuoi annunci preferiti"})})]}),(0,I.jsx)("div",{className:"flex-1 text-right",children:(0,I.jsx)(J.c0,{href:"/profilo/aste/preferite"})})]})]}),(0,I.jsx)("div",{className:"mt-sm",children:(0,I.jsx)(y.i,{slidesToShow:3,itemClassName:"pr-sm mb-xl",children:n.map((function(e,t){return(0,I.jsx)(r,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({onAddToFavourites:i,serverNow:o},e),"home-favourites-items-".concat(t))}))})})]})})})),X=n(98308),$=n.n(X),ee=w.memo((function(e){var t=e.highlight,n=(0,P.useRouter)();return(0,I.jsxs)("div",{className:$().container,onClick:function(){if(t.slug)return n.push("/procedure-in-evidenza/[slug]","/procedure-in-evidenza/".concat(t.slug))},children:[(0,I.jsx)("div",{className:$().image,style:{backgroundImage:'url("'.concat(t.thumbnail,'")')}}),(0,I.jsx)("div",{className:$().titleContainer,children:(0,I.jsx)(C.zg,{className:$().title,children:t.title})})]})})),te=w.memo((function(){var e=(0,w.useContext)(l.T).highlights;return null!==e&&void 0!==e&&e.length?(0,I.jsx)("section",{children:(0,I.jsxs)(g.W,{children:[(0,I.jsx)("div",{className:"mt-sm mb-sm",children:Z.tq?(0,I.jsxs)(C.KJ,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"PROCEDURE"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"IN EVIDENZA"})})]}):(0,I.jsxs)(C.FH,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"PROCEDURE"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"IN EVIDENZA"})})]})}),(0,I.jsx)(y.i,{slidesToShow:3,itemClassName:"pr-sm",children:e.map((function(e,t){return(0,I.jsx)(ee,{highlight:e},"home-highlight-items-".concat(t))}))})]})}):(0,I.jsx)(I.Fragment,{})}));function ne(e){if(null==e)throw new TypeError("Cannot destructure undefined")}var re=n(62409),ie=n(90028),oe=n(19827),ae=n(51643),se=n(17638),le=n(38633),ce=(n(729
109),n(86)),ue=n.n(ce),de=n(10285),me=n(31379),fe=["id","fill","stroke","className","onClick","onAnimationEnd"];function he(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?he(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):he(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ve=w.memo((function(e){var t=e.id,n=e.fill,r=e.stroke,i=e.className,o=e.onClick,a=e.onAnimationEnd,s=(0,de.Z)(e,fe);return(0,I.jsxs)(me.e,pe(pe({id:null!==t&&void 0!==t?t:"",x:"0px",y:"0px",width:"35px",height:"35px",fill:null!==n&&void 0!==n?n:"current",stroke:null!==r&&void 0!==r?r:"current",className:i,onClick:o,onAnimationEnd:a,viewBox:"35 35"},s),{},{children:[(0,I.jsx)("path",{d:"M28.75,16.94a.75.75,0,0,0-.75-.69H23.75V12A3.79,3.79,0,0,0,20,8.25h-1.3a4.73,4.73,0,0,0-9.34,0H8.51A3.78,3.78,0,0,0,4.73,12V23a3.78,3.78,0,0,0,3.78,3.78H13l-.25,3.19a.74.74,0,0,0,.2.57.76.76,0,0,0,.55.24H29a.76.76,0,0,0,.55-.24.78.78,0,0,0,.2-.57ZM14,5.75a3.25,3.25,0,0,1,3.15,2.5h-6.3A3.25,3.25,0,0,1,14,5.75Zm-.27,11.19-.64,8.31H8.51A2.28,2.28,0,0,1,6.23,23V12A2.28,2.28,0,0,1,8.51,9.75H20A2.28,2.28,0,0,1,22.25,12v4.22H14.48A.75.75,0,0,0,13.73,16.94Zm.56,12.31.88-11.5H27.31l.88,11.5Z"}),(0,I.jsx)("path",{d:"M25,19.5a.76.76,0,0,0-.75.75,2.75,2.75,0,0,1-5.5,0,.75.75,0,0,0-1.5,0,4.25,4.25,0,0,0,8.5,0A.76.76,0,0,0,25,19.5Z"})]}))}));function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function be(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ge=w.memo((function(e){var t=e.title,n=void 0===t?"":t;return(0,I.jsxs)("div",{className:L()(ue().filtersContainerIvgRow,ue().filtersContainerIvgTitleRow),children:[(0,I.jsx)("div",{className:"w-full grow",style:{height:"1px",backgroundColor:"black"}}),(0,I.jsx)(C.RS,{className:"mb-0 sm:block hidden whitespace-nowrap grow grow-0 px-4 lg:mx-0 mx-auto",children:n}),(0,I.jsx)(C.p5,{className:"mb-0 sm:hidden block whitespace-nowrap grow px-1",children:n}),(0,I.jsx)("div",{className:"w-full grow",style:{height:"1px",backgroundColor:"black"}})]})})),je=w.memo((function(e){var t=e.showPage,n=e.className,r=void 0===n?"":n,i=e.color,o=void 0===i?"#000000":i,a=e.title,s=e.target,l=e.IconComponent;return(0,I.jsx)("a",{className:L()("w-full grow text-white mx-2 sm:mx-4 flex flex-col items-center justify-center ".concat(r),ue().homeFiltersCardIvgSearchCard),href:"/cerca?tab=".concat(s===c.sK.RealEstate?1:s===c.sK.Movable?2:5),style:{backgroundColor:o,outline:"none",border:0,boxShadow:"none"},children:(0,I.jsxs)("div",{onClick:function(){return t(s)},children:[(0,I.jsxs)("div",{className:"w-full flex flex-col lg:flex-row items-center lg:items-end justify-between lg:px-6 my-2 h-1/2 lg:text-center",children:[(0,I.jsx)("div",{className:"w-1/4",children:(0,I.jsx)(l,{className:"fill-current text-white"})}),(0,I.jsx)(C.RT,{bold:!0,className:"w-full hidden lg:block",children:a.toUpperCase()}),(0,I.jsx)(C.RS,{bold:!0,className:"w-full hidden sm:block lg:hidden",children:a.toUpperCase()}),(0,I.jsx)(C.p5,{bold:!0,className:"w-full block sm:hidden",children:a.toUpperCase()})]}),(0,I.jsx)("div",{className:"my-2 w-full px-6 h-1/2 hidden lg:block ",children:(0,I.jsxs)("div",{className:"border px-2",children:["Cerca in ",a]})})]})})})),ye=w.memo((function(e){var t,n,r,i,o=e.showPage,a=be({},null===(t=(0,w.useContext)(l.T))||void 0===t?void 0:t.configurations).websiteCustomization;return(0,I.jsxs)("div",{className:"w-full flex flex-row items-center justify-center",children:[(0,I.jsx)(je,{showPage:o,className:"ml-8",color:null===a||void 0===a||null===(n=a.Generic)||void 0===n?void 0:n.Colors.SearchRealEstate.hex,title:"Immobili",target:c.sK.RealEstate,IconComponent:se.Y}),(0,I.jsx)(je,{showPage:o,className:"",color:null===a||void 0===a||null===(r=a.Generic)||void 0===r?void 0:r.Colors.SearchMovable.hex,title:"Mobili",target:c.sK.Movable,IconComponent:oe.Y}),(0,I.jsx)(je,{showPage:o,className:"mr-8",color:null===a||void 0===a||null===(i=a.Generic)||void 0===i?void 0:i.Colors.SearchOther.hex,title:"Altro",target:c.sK.Other,IconComponent:ae.a})]})})),Oe=w.memo((function(e){var t=e.onSubmit;return(0,I.jsx)("div",{className:"w-full flex flex-row items-center justify-center px-8 mb-2",children:(0,I.jsx)("div",{className:"grow w-full",children:(0,I.jsx)(le.O,{id:"fullText",name:"fullText",uncontrolled:!0,onChange:function(){},onSearchSubmit:t,label:"CERCA PER PAROLA CHIAVE (VIA, CITT\xc0, LOTTO ECC)",required:!0,formState:{}})})})})),Ce=w.memo((function(e){var t=e.onSubmit;return(0,I.jsx)("div",{className:"w-full flex flex-row items-center justify-center px-8 mb-2",children:(0,I.jsx)("div",{className:"grow w-full",children:(0,I.jsx)(le.O,{id:"rgeIvgFullText",name:"rgeIvgFullText",uncontrolled:!0,onChange:function(){},onSearchSubmit:t,required:!0,label:"CERCA PER NUMERO RGE / IVG",formState:{}})})})})),we=w.memo((function(e){return ne(e),(0,I.jsxs)("div",{className:"flex ml-9 hover:opacity-50",children:[(0,I.jsx)(ve,{className:L()("fill-current text-black cursor-pointer")}),(0,I.jsx)("a",{href:"/cerca?tab=2&filters=eyJzYWxlU3RhdHVzIjoib3BlbiIsInNhbGVNb2RlIjoiQ29tcHJhbG8gc3ViaXRvIn0",className:"underline hover:opacity-50",style:{height:"33px",lineHeight:"33px",outline:"none",border:0,boxShadow:"none"},"aria-label":"Shop",children:(0,I.jsx)("p",{style:{height:"25px",lineHeight:"25px",paddingLeft:"15px",paddingRight:"15px",whiteSpace:"nowrap"},children:"SHOP"})},"header-section-link-0")]})})),Ne=w.memo((function(e){return ne(e),(0,I.jsxs)("div",{className:"flex mr-9 hover:opacity-50",children:[(0,I.jsx)("a",{href:"/calendario",className:"underline",style:{height:"33px",lineHeight:"33px",outline:"none",border:0,boxShadow:"none"},"aria-label":"Calendario",children:(0,I.jsx)("p",{style:{height:"25px",lineHeight:"25px",paddingLeft:"15px",paddingRight:"15px",whiteSpace:"nowrap"},children:"CALENDARIO VENDITE"})},"header-section-link-0"),(0,I.jsx)(ie.j,{className:L()("fill-current text-black cursor-pointer")})]})})),Se=w.memo((function(e){e.tabs,e.subTabs,e.tabIndex,e.subTabIndex,e.onTabChange,e.onSubTabChange,e.children;var t,n,r,i=(0,P.useRouter)(),o=be({},null===(t=(0,w.useContext)(l.T))||void 0===t?void 0:t.configurations),a=o.websiteCustomization,s=o.homepageConfiguration,u=o.searchPayoff,d=(0,w.useMemo)((function(){return null!==s&&void 0!==s&&s.SearchPayoff?s.SearchPayoff:">SEARCH PAYOFF<"}),[null===s||void 0===s?void 0:s.SearchPayoff]);return(0,I.jsxs)("section",{className:L()(ue().containerIvg,"sideAlertContainerOverride"),children:[(0,I.jsx)("img",{className:L()(ue().backgroundImage),src:null===s||void 0===s||null===(n=s.SearchBackgroun
1dImages)||void 0===n?void 0:n[0].url,alt:"Sfondo di ricerca"}),(0,I.jsx)("div",{className:ue().filtersContainerIvg,children:(0,I.jsx)("div",{className:ue().filtersContainerIvgOuter,children:(0,I.jsxs)("div",{className:ue().filtersContainerIvgInner,children:[(0,I.jsx)(ge,{title:"SELEZIONA LA TIPOLOGIA DI BENE"}),(0,I.jsx)(ye,{showPage:function(e){var t=e===c.sK.RealEstate?1:e===c.sK.Movable?2:5;i.push("/cerca?tab=".concat(t)).catch()}}),(0,I.jsx)(ge,{title:"OPPURE PROVA LA NOSTRA RICERCA SMART"}),(0,I.jsx)(Oe,{onSubmit:function(){var e;i.push("/cerca?filters=".concat((0,re.s3)(JSON.stringify({fullText:null===(e=document.getElementById("fullText"))||void 0===e?void 0:e.value})))).catch()}}),(0,I.jsx)(Ce,{onSubmit:function(){var e;i.push("/cerca?filters=".concat((0,re.s3)(JSON.stringify({fullText:null===(e=document.getElementById("rgeIvgFullText"))||void 0===e?void 0:e.value,saleStatus:"all",includeExpressionOfInterest:1,includeOffersCollection:1})))).catch()}}),(0,I.jsxs)("div",{className:"flex justify-between w-full",children:[(0,I.jsx)(we,{}),(0,I.jsx)(Ne,{})]})]})})}),d&&(0,I.jsx)("a",{href:u&&u.link?"page"===u.linkType?"pagine/".concat(u.link):u.link:void 0,target:"page"===(null===u||void 0===u?void 0:u.linkType)?"_self":"_blank",children:(0,I.jsx)("div",{className:L()(ue().sideAlertIvg,"sideAlertOverride",u&&u.link&&"cursor-pointer"),children:(0,I.jsx)(C.RS,{bold:!0,className:L()("text-center flex-grow"),style:{color:null===a||void 0===a||null===(r=a.Generic)||void 0===r?void 0:r.Colors.TextOverSearchPayoff.hex},children:d})})})]})}));function Pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ie(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pe(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ae=w.memo((function(e){var t=e.latestState,n=e.onAddToFavourites,r=e.ItemCardComponent,i=e.serverNow;return(0,I.jsx)("section",{children:(0,I.jsxs)(g.W,{children:[(0,I.jsx)("div",{className:"mt-sm mb-sm",children:Z.tq?(0,I.jsxs)(C.KJ,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"ULTIMI ANNUNCI"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"INSERITI"})})]}):(0,I.jsxs)(C.FH,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"ULTIMI ANNUNCI"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"INSERITI"})})]})}),(0,I.jsx)(y.i,{slidesToShow:3,itemClassName:"pr-sm mb-xl",children:t.map((function(e,t){return(0,I.jsx)("a",{href:"".concat("https://ivgparma.it","/annunci/").concat(e.slug),style:{outline:"none",border:0,boxShadow:"none"},children:(0,I.jsx)(r,Ie({onAddToFavourites:n,serverNow:i},e),"home-latest-items-".concat(t))})}))})]})})})),_e=n(26253);function Ee(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ee(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ee(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Re=w.memo((function(e){var t=e.trendingSales,n=e.onAddToFavourites,r=e.ItemCardComponent,i=e.serverNow;return(0,I.jsx)("section",{children:(0,I.jsxs)(g.W,{className:Z.tq?"top-16":"",children:[(0,I.jsxs)("div",{className:"mt-sm mb-sm",children:[Z.tq?(0,I.jsxs)(C.KJ,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"ANNUNCI PIU"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"VISUALIZZATI"})})]}):(0,I.jsxs)(C.FH,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"ANNUNCI PIU"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"VISUALIZZATI"})})]}),(0,I.jsx)("div",{className:"flex-1 text-right",children:(0,I.jsx)(J.c0,{href:"/cerca?ordering=".concat(_e.q.TotalClicksDesc)})})]}),(0,I.jsx)(y.i,{slidesToShow:3,itemClassName:"pr-sm mb-xl",children:t.map((function(e,t){return(0,I.jsx)("a",{href:"".concat("https://ivgparma.it","/annunci/").concat(e.slug),style:{outline:"none",border:0,boxShadow:"none"},children:(0,I.jsx)(r,ke({onAddToFavourites:n,serverNow:i},e),"home-trending-items-".concat(t))})}))})]})})})),Te=n(10540),Le=n(59853),De=n.n(Le);function Ze(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Ze(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ze(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me=w.memo((function(e){var t=e.config,n=e.onAddToFavourites,r=e.onTargetChange,i=e.ItemCardComponent,o=e.items,a=e.serverNow,s=(0,w.useState)(0),l=s[0],c=s[1],d=(0,D.Z)("filters").t;(0,u.lR)((function(){r&&r(t[l].target)}),[l]);var m=t.filter((function(e,n){return(o[t[n].target]||[]).length>0}));o.highlighted&&o.highlighted.length&&m.unshift({target:"highlighted",icon:{}});var f=o[m[l].target]||[];return(0,I.jsx)("section",{children:(0,I.jsx)(g.W,{className:Z.tq?"top-16":"",children:(0,I.jsxs)("div",{className:"mt-sm mb-sm",children:[Z.tq?(0,I.jsxs)(C.KJ,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"PROSSIME"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"VENDITE"})})]}):(0,I.jsxs)(C.FH,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"PROSSIME"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"VENDITE"})})]}),(0,I.jsx)("div",{className:"items-center justify-between mt-sm hidden sm:flex",children:(0,I.jsx)("div",{className:De().filtersContainer,children:m.map((function(e,t){var n;return(0,I.jsx)(Te.T,{index:t,text:d(null!==(n=e.target)&&void 0!==n?n:"all"),isActive:l===t,onClick:c},"upcoming-sale-filter-".concat(t))}))})}),(0,I.jsx)("div",{className:"block sm:hidden w-full mt-sm",children:(0,I.jsx)("select",{className:De().mobileFiltersSelect,defaultValue:l,onChange:function(e){try{c(parseInt(e.target.value))}catch(t){}},children:m.map((function(e,t){var n;return(0,I.jsx)("option",{value:t,children:d(null!==(n=e.target)&&void 0!==n?n:"all")},"upcoming-sale-filter-opt-".concat(t))}))})}),(0,I.jsx)("div",{className:"mt-2md",children:(0,I.jsx)(y.i,{slidesToShow:3,itemClassName:"pr-sm mb-xl",children:f.map((function(e,t){return(0,I.jsx)("a",{href:"".concat("https://ivgparma.it","/annunci/").concat(e.slug),style:{outline:"none",border:0,boxShadow:"none"},children:(0,I.jsx)(i,Ue({onAddToFavourites:n,serverNow:a},e),"home-upcoming-sales-".concat(t))})}))})})]})})})}));function Fe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ve(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ze=w.memo((function(e){var t=e.onAddToFavourites,n=e.ItemCardComponent,r=e.items,i=e.serverNow,o=r||[];return(0,I.jsx)("section",{children:(0,I.jsx)(g.W,{className:Z.tq?"top-12":"",children:(0,I.jsxs)("div",{className:"mt-sm mb-sm",children:[Z.tq?(0,I.jsxs)(C.KJ,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"COMPRALO"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"SUBITO"})})]}):(0,I.jsxs)(C.FH,{className:"text-center",children:[(0,I.jsx)(j.c,{children:"COMPRALO"}),"\xa0",(0,I.jsx)("span",{className:"font-bold text-primary italic",children:(0,I.jsx)(j.c,{children:"SUBITO"})})]}),(0,I.jsx)("div",{className:"flex-1 text-right",children:(0,I.jsx)(J.c0,{href:"/cerca?tab=2&filters=eyJzYWxlU3RhdHVzIjoib3BlbiIsInNhbGVNb2RlIjoiQ29tcHJhbG8gc3ViaXRvIn0=&ordering=".concat(_e.q.StartDateDesc)})}),(0,I.jsx)("div",{className:"mt-2md",children:(0,I.jsx)(y.i,{slidesToShow:3,itemClassName:"pr-sm mb-xl",children:o.map((function(e,r){return(0,I.jsx)("a",{href:"".concat("https://ivgparma.it","/annunci/").concat(e.slug),style:{outline:"none",border:0,boxShadow:"none"},children:(0,I.jsx)(n,Ve({onAddToFavourites:t,serverNow:i},e),"home-buy-it-now-".concat(r))})}))})})]})})})})),Ge=n(13551),He=n(31516),Be=n(65693),We=n(92268),qe=n(7204),Ye=n.n(qe),Je=w.memo((function(e){var t=e.id,n=e.tabIndex,r=e.formState,i=e.onUpdateFormState;return(0,I.jsxs)("div",{id:t,className:"px-sm sm:px-md",children:[(0,I.jsx)("div",{className:"w-full sm:inline-block align-top sm:pr-xs mb-sm",children:(0,I.jsx)(We.W,{name:"basePrice",formState:r,onChange:i,label:He.a.basePrice.label,options:He.a.basePrice.values,valueFormatter:He.a.basePrice.valueFormatter})}),(0,I.jsxs)("div",{children:[(0,I.jsx)(J._O,{href:"/cerca?expanded=1&tab=".concat(n),className:"w-1/2 tracking-wider text-left py-3md inline-block",children:(0,I.jsx)(C.q$,{children:(0,I.jsx)(j.c,{namespace:"forms",children:"RICERCA AVANZATA"})})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block",children:(0,I.jsx)(Be.Ow,{onClick:e.onSubmit,label:"MOSTRA RISULTATI"})})]}),(0,I.jsx)(C.iG,{className:Ye().separator,style:{lineHeight:"7px"},children:(0,I.jsx)("span",{className:"bg-white",children:(0,I.jsx)(j.c,{namespace:"forms",children:"OPPURE PROVA LA NOSTRA RICERCA SMART"})})}),(0,I.jsx)("div",{className:"pb-2",children:(0,I.jsx)(le.O,{name:"fullText",uncontrolled:!1,onChange:i,onSearchSubmit:e.onSubmit,label:He.a.fullText.label,required:!0,formState:r})})]})})),Ke=n(40579),Qe=n(21368),Xe=n(87448),$e=w.memo((function(e){var t=e.id,n=e.tabIndex,i=e.formState,a=e.onUpdateFormState,s=(0,
1Xe.L)(t),l=(0,w.useState)([]),c=l[0],u=l[1],d=function(){var e=(0,r.Z)(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Qe.VY)(t);case 2:n=e.sent,u(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,w.useEffect)((function(){d(i.category).catch()}),[]);return(0,I.jsxs)("div",{id:t,className:"px-sm sm:px-md",children:[(0,I.jsx)("div",{className:"sm:pr-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"category",formState:i,onChange:function(e,t){d(t).catch(),a([{name:"category",value:t},{name:"typology",value:""}])},label:"CATEGORIA",options:(0,Qe.XQ)(s),showOptionAny:!0})}),(0,I.jsx)("div",{className:"sm:pl-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"typology",formState:i,onChange:a,label:"TIPOLOGIA",options:c,showOptionAny:!0})}),(0,I.jsx)("div",{className:"mb-sm",children:(0,I.jsx)(We.W,{name:"basePrice",formState:i,onChange:a,label:Ke.O.basePrice.label,options:Ke.O.basePrice.values,valueFormatter:Ke.O.basePrice.valueFormatter})}),(0,I.jsxs)("div",{children:[(0,I.jsx)(J._O,{href:"/cerca?expanded=1&tab=".concat(n),className:"w-1/2 tracking-wider text-left py-3md inline-block",children:(0,I.jsx)(C.q$,{children:(0,I.jsx)(j.c,{namespace:"forms",children:"RICERCA AVANZATA"})})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block",children:(0,I.jsx)(Be.Ow,{onClick:e.onSubmit,label:"MOSTRA RISULTATI"})})]}),(0,I.jsx)(C.iG,{className:Ye().separator,style:{lineHeight:"7px"},children:(0,I.jsx)("span",{className:"bg-white",children:(0,I.jsx)(j.c,{namespace:"forms",children:"OPPURE PROVA LA NOSTRA RICERCA SMART"})})}),(0,I.jsx)("div",{className:"pb-2md",children:(0,I.jsx)(le.O,{name:"fullText",uncontrolled:!1,onChange:a,onSearchSubmit:e.onSubmit,label:Ke.O.fullText.label,formState:i})})]})})),et=n(92675),tt=w.memo((function(e){var t=e.id,n=e.tabIndex,i=e.formState,a=e.onUpdateFormState,s=(0,Xe.L)(t),l=(0,w.useState)([]),c=l[0],u=l[1],d=function(){var e=(0,r.Z)(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Qe.VY)(t);case 2:n=e.sent,u(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,w.useEffect)((function(){d(i.category).catch()}),[]);return(0,I.jsxs)("div",{id:t,className:"px-sm sm:px-md",children:[(0,I.jsx)("div",{className:"sm:pr-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"category",formState:i,onChange:function(e,t){d(t).catch(),a([{name:"category",value:t},{name:"typology",value:""}])},label:"CATEGORIA",options:(0,Qe.XQ)(s),showOptionAny:!0})}),(0,I.jsx)("div",{className:"sm:pl-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"typology",formState:i,onChange:a,label:"TIPOLOGIA",options:c,showOptionAny:!0})}),(0,I.jsx)("div",{className:"mb-sm",children:(0,I.jsx)(We.W,{name:"basePrice",formState:i,onChange:a,label:et.J.basePrice.label,options:et.J.basePrice.values,valueFormatter:et.J.basePrice.valueFormatter})}),(0,I.jsxs)("div",{children:[(0,I.jsx)(J._O,{href:"/cerca?expanded=1&tab=".concat(n),className:"w-1/2 tracking-wider text-left py-3md inline-block",children:(0,I.jsx)(C.q$,{children:(0,I.jsx)(j.c,{namespace:"forms",children:"RICERCA AVANZATA"})})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block",children:(0,I.jsx)(Be.Ow,{onClick:e.onSubmit,label:"MOSTRA RISULTATI"})})]}),(0,I.jsx)(C.iG,{className:Ye().separator,style:{lineHeight:"7px"},children:(0,I.jsx)("span",{className:"bg-white",children:(0,I.jsx)(j.c,{namespace:"forms",children:"OPPURE PROVA LA NOSTRA RICERCA SMART"})})}),(0,I.jsx)("div",{className:"pb-2md",children:(0,I.jsx)(le.O,{name:"fullText",uncontrolled:!1,onChange:a,onSearchSubmit:e.onSubmit,label:et.J.fullText.label,formState:i})})]})})),nt=n(6961),rt=w.memo((function(e){var t=e.id,n=e.tabIndex,i=e.formState,a=e.onUpdateFormState,s=(0,Xe.L)(t),l=(0,w.useState)([]),c=l[0],u=l[1],d=function(){var e=(0,r.Z)(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Qe.VY)(t);case 2:n=e.sent,u(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,w.useEffect)((function(){d(i.category).catch()}),[]);return(0,I.jsxs)("div",{id:t,className:"px-sm sm:px-md",children:[(0,I.jsx)("div",{className:"sm:pr-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"category",formState:i,onChange:function(e,t){d(t).catch(),a([{name:"category",value:t},{name:"typology",value:""}])},label:"CATEGORIA",options:(0,Qe.XQ)(s),showOptionAny:!0})}),(0,I.jsx)("div",{className:"sm:pl-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"typology",formState:i,onChange:a,label:"TIPOLOGIA",options:c,showOptionAny:!0})}),(0,I.jsx)("div",{className:"mb-sm",children:(0,I.jsx)(We.W,{name:"basePrice",formState:i,onChange:a,label:nt.r.basePrice.label,options:nt.r.basePrice.values,valueFormatter:nt.r.basePrice.valueFormatter})}),(0,I.jsxs)("div",{children:[(0,I.jsx)(J._O,{href:"/cerca?expanded=1&tab=".concat(n),className:"w-1/2 tracking-wider text-left py-3md inline-block",children:(0,I.jsx)(C.q$,{children:(0,I.jsx)(j.c,{namespace:"forms",children:"RICERCA AVANZATA"})})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block",children:(0,I.jsx)(Be.Ow,{onClick:e.onSubmit,label:"MOSTRA RISULTATI"})})]}),(0,I.jsx)(C.iG,{className:Ye().separator,style:{lineHeight:"7px"},children:(0,I.jsx)("span",{className:"bg-white",children:(0,I.jsx)(j.c,{namespace:"forms",children:"OPPURE PROVA LA NOSTRA RICERCA SMART"})})}),(0,I.jsx)("div",{className:"pb-2md",children:(0,I.jsx)(le.O,{name:"fullText",uncontrolled:!1,onChange:a,onSearchSubmit:e.onSubmit,label:nt.r.fullText.label,formState:i})})]})})),it=n(87802),ot=w.memo((function(e){var t=e.id,n=e.tabIndex,i=e.formState,a=e.onUpdateFormState,s=(0,
1Xe.L)(t),l=(0,w.useState)([]),c=l[0],u=l[1],d=function(){var e=(0,r.Z)(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Qe.VY)(t);case 2:n=e.sent,u(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,w.useEffect)((function(){d(i.category).catch()}),[]);return(0,I.jsxs)("div",{id:t,className:"px-sm sm:px-md",children:[(0,I.jsx)("div",{className:"sm:pr-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"category",formState:i,onChange:function(e,t){d(t).catch(),a([{name:"category",value:t},{name:"typology",value:""}])},label:"CATEGORIA",options:(0,Qe.XQ)(s),showOptionAny:!0})}),(0,I.jsx)("div",{className:"sm:pl-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"typology",formState:i,onChange:a,label:"TIPOLOGIA",options:c,showOptionAny:!0})}),(0,I.jsx)("div",{className:"mb-sm",children:(0,I.jsx)(We.W,{name:"basePrice",formState:i,onChange:a,label:it.l.basePrice.label,options:it.l.basePrice.values,valueFormatter:it.l.basePrice.valueFormatter})}),(0,I.jsxs)("div",{children:[(0,I.jsx)(J._O,{href:"/cerca?expanded=1&tab=".concat(n),className:"w-1/2 tracking-wider text-left py-3md inline-block",children:(0,I.jsx)(C.q$,{children:(0,I.jsx)(j.c,{namespace:"forms",children:"RICERCA AVANZATA"})})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block",children:(0,I.jsx)(Be.Ow,{onClick:e.onSubmit,label:"MOSTRA RISULTATI"})})]}),(0,I.jsx)(C.iG,{className:Ye().separator,style:{lineHeight:"7px"},children:(0,I.jsx)("span",{className:"bg-white",children:(0,I.jsx)(j.c,{namespace:"forms",children:"OPPURE PROVA LA NOSTRA RICERCA SMART"})})}),(0,I.jsx)("div",{className:"pb-2md",children:(0,I.jsx)(le.O,{name:"fullText",uncontrolled:!1,onChange:a,onSearchSubmit:e.onSubmit,label:it.l.fullText.label,formState:i})})]})})),at=n(62736),st=w.memo((function(e){var t=e.id,n=e.tabIndex,i=e.onOpenMap,a=e.formState,s=e.onUpdateFormState,l=e.onSubmit,c=(0,Xe.L)(t),u=(0,w.useState)([]),d=u[0],m=u[1],f=function(){var e=(0,r.Z)(o().mark((function e(t){var n;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,(0,Qe.VY)(t);case 2:n=e.sent,m(n);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();(0,w.useEffect)((function(){f(a.category).catch()}),[]);return(0,I.jsxs)("div",{id:t,className:"px-sm sm:px-md",children:[(0,I.jsx)("div",{className:"sm:pr-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"category",formState:a,onChange:function(e,t){f(t).catch(),s([{name:"category",value:t},{name:"typology",value:""}])},label:"CATEGORIA",options:(0,Qe.XQ)(c),showOptionAny:!0})}),(0,I.jsx)("div",{className:"sm:pl-xs w-full sm:w-1/2 sm:inline-block mb-sm",children:(0,I.jsx)(Be.vE,{name:"typology",formState:a,onChange:s,label:"TIPOLOGIA",options:d,showOptionAny:!0})}),(0,I.jsx)("div",{className:"mb-sm",children:(0,I.jsx)(at.I,{name:"location",label:He.a.where.label,requestMap:i,value:a.location?"AREA SU MAPPA":""})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block align-top sm:pr-xs mb-sm",children:(0,I.jsx)(We.W,{name:"basePrice",formState:a,onChange:s,label:He.a.basePrice.label,options:He.a.basePrice.values,valueFormatter:He.a.basePrice.valueFormatter})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block align-top sm:pl-xs mb-sm",children:(0,I.jsx)(We.W,{name:"area",formState:a,onChange:s,label:He.a.area.label,options:He.a.area.values,valueFormatter:He.a.area.valueFormatter})}),(0,I.jsxs)("div",{children:[(0,I.jsx)(J._O,{href:"/cerca?expanded=1&tab=".concat(n),className:"w-1/2 tracking-wider text-left py-3md inline-block",children:(0,I.jsx)(C.q$,{children:(0,I.jsx)(j.c,{namespace:"forms",children:"RICERCA AVANZATA"})})}),(0,I.jsx)("div",{className:"w-full sm:w-1/2 sm:inline-block",children:(0,I.jsx)(Be.Ow,{onClick:e.onSubmit,label:"MOSTRA RISULTATI"})})]}),(0,I.jsx)(C.iG,{className:Ye().separator,style:{lineHeight:"7px"},children:(0,I.jsx)("span",{className:"bg-white",children:(0,I.jsx)(j.c,{namespace:"forms",children:"OPPURE PROVA LA NOSTRA RICERCA SMART"})})}),(0,I.jsx)("div",{className:"pb-2md",children:(0,I.jsx)(le.O,{name:"fullText",uncontrolled:!1,onChange:s,onSearchSubmit:l,label:He.a.fullText.label,formState:a})})]})})),lt=n(52937),ct=n(77005),ut=n.n(ct),dt=n(44957),mt=n.n(dt),ft=w.memo((function(){var e=(0,P.useRouter)().push,t=(0,w.useState)(!1),n=t[0],r=t[1];(0,lt.R)((function(e){var t=e.currPos,i=Math.abs(t.y)>=800;i!==n&&r(i)}),[n]);var i=L()(mt().loginFab,(0,f.Z)({},mt().fabShown,n)),o="/auth/login";return(0,I.jsx)("a",{href:o,onClick:function(){return e(o)},style:{outline:"none",border:0,boxShadow:"none"},children:(0,I.jsx)("div",{className:i,children:(0,I.jsx)(ut(),{href:o,children:(0,I.jsx)(C.RS,{bold:!0,children:(0,I.jsx)(j.c,{children:"ACCEDI/REGISTRATI"})})})})})}));function ht(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var pt=w.memo((function(){var e,t,n=(0,P.useRouter)().push,r=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ht(Object(n),!0).forEach((function(t){(0,f.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ht(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},null===(e=(0,w.useContext)(l.T))||void 0===e?void 0:e.configurations),i=r.websiteCustomization,o=r.homepageConfiguration,a="/auth/register";return(0,I.jsx)("section",{className:"mb-xl",children:(0,I.jsx)(g.W,{children:(0,I.jsxs)("div",{className:mt().registerCtaContainer,children:[(0,I.jsx)("div",{className:mt().registerCtaImageSlot,children:(0,I.jsx)("img",{alt:"RegisterCtaImage",src:null===o||void 0===o?void 0:o.RegisterCtaImage})}),(0,I.jsxs)("div",{className:mt().registerCtaInfoSlot,children:[Z.tq?(0,I.jsx)(C.RS,{bold:!0,className:mt().registerCtaTitle,children:(0,I.jsx)(j.c,{children:"Registrati o accedi per"})}):(0,I.jsx)(C.RT,{bold:!0,className:mt().registerCtaTitle,children:(0,I.jsx)(j.c,{children:"Registrati o accedi per"})}),(0,I.jsxs)("ul",{className:mt().registerCtaList,children:[(0,I.jsx)("li",{children:(0,I.jsx)(j.c,{children:"Salvare le aste nei preferiti"})}),(0,I.jsx)("li",{children:(0,I.jsx)(j.c,{children:"Partecipare alle aste online"})}),(null===i||void 0===i||null===(t=i.Generic)||void 0===t?void 0:t.AllowBookingOnlyIfLoggedIn)&&(0,I.jsx)("li",{children:(0,I.jsx)(j.c,{children:"Prenotare una visita dell'immobile"})})]}),(0,I.jsx)("a",{href:a,onClick:function(){return n(a)},style:{outline:"none",border:0,boxShadow:"none"},children:(0,I.jsx)(O._,{href:a,children:(0,I.jsx)(j.c,{children:"ACCEDI/REGISTRATI"})})})]})]})})})})),vt=n(8002),xt=n(39635),bt=n(34856),gt=n(86457),jt=n(15905),yt=n(86791),Ot=n(6486);function Ct(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=(0,Ot.Z)(e);if(t){var i=(0,Ot.Z)(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return(0,yt.Z)(this,n)}}var wt=function(e){(0,jt.Z)(n,e);var t=Ct(n);function n(){return(0,bt.Z)(this,n),t.apply(this,arguments)}return(0,gt.Z)(n,[{key:"getUserByEmail",value:function(e){return this.httpService.post("/users/getByEmail",{email:e})}},{key:"getUserById",value:function(e){return this.httpService.post("/users/getById",{id:e})}}]),n}(n(42752).O),Nt=n(12425),St=n(18844);n(7314);var Pt=w.memo((function(e){var t,n,i,f=e.latest,h=e.upcomingSales,p=e.trendingSales,g=e.buyItNowSales,j=e.highlights,y=e.messages,O=e.footerSlides,C=e.headerLinks,N=e.preFooterLeftLinks,S=e.preFooterCenterLinks,A=e.preFooterRightLinks,_=e.privacyLinks,k=e.configurations,R=(0,Ge.useSession)(),T=R.data,L=R.status,D=(0,P.useRouter)(),Z=(0,P.useRouter)().push,U=(0,u.AL)(),M=(0,w.useState)((0,m.PN)(a.w,{})),F=M[0],V=M[1],z=(0,w.useState)(0),G=z[0],H=z[1],B=(0,w.useState)([]),W=B[0],q=B[1],J=(0,w.useState)(f),K=J[0],X=J[1],$=(0,w.useState)(h),ee=$[0],ne=$[1],re=(0,w.useState)(p),ie=re[0],oe=re[1],ae=(0,w.useState)(g),se=ae[0],le=ae[1],ce=(0,w.useState)(!1),ue=ce[0],de=ce[1],me=(0,w.useState)(!1),fe=me[0],he=me[1],pe=(0,w.useState)(!1),ve=pe[0],xe=pe[1];(0,u.Hd)((function(){var e,t;(0,d.Uc)(L)&&(v().then((function(e){var t=e.list;q(t)})),null!==T&&void 0!==T&&null!==(e=T.user)&&void 0!==e&&e.email&&(new wt).getUserByEmail(null===T||void 0===T||null===(t=T.user)||void 0===t?void 0:t.email).then((function(e){var t;null!==e&&void 0!==e&&null!==(t=e.result)&&void 0!==t&&t.pvpUser&&he(!0)})).catch((function(e){console.error(e)})))})),(0,u.lR)((function(){(0,d.Uc)(L)&&v().then((function(e){var t=e.list;q(t)}))}),[L]);var be=(0,w.useMemo)((function(){return a.w[G].target}),[G]),ge=(0,w.useMemo)((function(){if(!ee)return!1;for(var e=0,t=Object.values(ee);e<t.length;e++){if(t[e].length)return!0}}),[ee]),je=function(){var e=(0,r.Z)(o().mark((function e(t){return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:H(t);case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ye=function(e,t){var n=(0,m.f6)(be,F,e,t);n&&V(n)},Oe=function(){var e=(0,b.J)(F[be],G,!1,1,null,_e.q.StartDateAsc);return Z("/cerca?".concat(e))},Ce=function(){var e=(0,r.Z)(o().mark((function e(t,n,r){var i,a;return o().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(0,d.eR)(L)){e.next=2;break}return e.abrupt("return");case 2:return e.prev=2,xe(!0),e.next=6,(new s.HG).toggleFavourite(t,n,r).finally((function(){return xe(!1)}));case 6:return e.next=8,v();case 8:i=e.sent,(a=i.list)&&q(a),ne((function(e){var t={};for(var r in e)t[r]=e[r].map((function(e){return x(e,n)}));return t})),X((function(e){return e.map((function(e){return x(e,n)}))})),oe((function(e){return e.map((function(e){return x(e,n)}))})),le((function(e){return e.map((function(e){return x(e,n)}))})),e.next=20;break;case 17:e.prev=17,e.t0=e.catch(2),console.error(e.t0);case 20:case"end":return e.stop()}}),e,null,[[2,17]])})));return function(t,n,r){return e.apply(this,arguments)}}(),we=function(){de(!0)};return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)(l.V,{value:{configurations:k,headerLinks:C,preFooterLeftLinks:N,preFooterCenterLinks:S,preFooterRightLinks:A,privacyLinks:_,footerSlides:O,messages:y,highlights:j},children:(0,I.jsxs)(xt.T,{largeHeader:!0,title:"Home",children:[(0,I.jsxs)(Se,{tabs:a.w,tabIndex:G,onTabChange:je,children:[(0,I.jsx)(Je,{id:c.sK.All,tabIndex:G,formState:F[be],onSubmit:Oe,onUpdateFormState:ye,onOpenM
1ap:we}),(0,I.jsx)(st,{id:c.sK.RealEstate,tabIndex:G,formState:F[be],onSubmit:Oe,onUpdateFormState:ye,onOpenMap:we}),(0,I.jsx)(rt,{id:c.sK.Movable,tabIndex:G,formState:F[be],onSubmit:Oe,onUpdateFormState:ye}),(0,I.jsx)(tt,{id:c.sK.CreditsOrValuables,tabIndex:G,formState:F[be],onSubmit:Oe,onUpdateFormState:ye}),(0,I.jsx)($e,{id:c.sK.Companies,tabIndex:G,formState:F[be],onSubmit:Oe,onUpdateFormState:ye}),(0,I.jsx)(ot,{id:c.sK.Other,tabIndex:G,formState:F[be],onSubmit:Oe,onUpdateFormState:ye})]}),(0,d.eR)(L)&&(0,I.jsx)(pt,{}),(0,d.Uc)(L)&&W.length>0&&(0,I.jsx)(Q,{session:T,favouritesState:W,ItemCardComponent:vt.Z,onAddToFavourites:Ce,serverNow:U}),false,ge&&(0,I.jsx)(Me,{config:a.w,onAddToFavourites:Ce,items:ee,ItemCardComponent:vt.Z,serverNow:U}),!(null===ie||void 0===ie||!ie.length)&&(0,I.jsx)(Re,{trendingSales:ie,onAddToFavourites:Ce,ItemCardComponent:vt.Z,serverNow:U}),!(null===se||void 0===se||!se.length)&&(0,I.jsx)(ze,{items:se,onAddToFavourites:Ce,ItemCardComponent:vt.Z,serverNow:U}),(0,I.jsx)(E,{}),!(null===K||void 0===K||!K.length)&&(0,I.jsx)(Ae,{latestState:K,onAddToFavourites:Ce,ItemCardComponent:vt.Z,serverNow:U}),(0,I.jsx)(te,{}),ue&&(0,I.jsx)(Y,{isOpen:!0,onClose:function(){de(!1)},initialState:F[be].location,onConfirm:function(e){return ye("location",JSON.stringify(e))}}),fe&&(0,I.jsx)(Nt.F,{type:"warning",title:"Completa il profilo",buttons:[{type:"action",label:"Chiudi",position:"left",handler:function(){he(!1)}},{type:"ok",label:"Vai al profilo",position:"right",handler:function(){D.push({pathname:"/profilo"}).catch()}}],closeHandler:function(){he(!1)}}),(0,d.eR)(L)&&(0,I.jsx)(ft,{})]})}),ve&&(0,I.jsx)(St.Q,{src:null!==(t=null===k||void 0===k||null===(n=k.websiteCustomization)||void 0===n||null===(i=n.Generic)||void 0===i?void 0:i.LoaderGif)&&void 0!==t?t:""})]})})),It=!0,At=Pt},7163:function(e,t,n){"use strict";n.d(t,{Y:function(){return r}});var r=function(){return new Promise((function(e,t){navigator.geolocation&&navigator.geolocation.getCurrentPosition((function(t){var n=t.coords,r=t.timestamp,i=n.accuracy,o=n.altitude,a=n.altitudeAccuracy,s=n.heading,l=n.latitude,c=n.longitude,u=n.speed;e({accuracy:i,altitude:o,altitudeAccuracy:a,heading:s,latitude:l,longitude:c,speed:u,timestamp:r,error:null})}),(function(e){t({accuracy:null,altitude:null,altitudeAccuracy:null,heading:null,latitude:null,longitude:null,speed:null,timestamp:null,error:e})}))}))}},99676:function(e,t,n){"use strict";n.d(t,{u:function(){return c}});var r=n(99641),i=n.n(r),o=n(34885),a=n(6107),s=n.n(a),l=n(88349),c=function(e){var t=e.isOpen,n=e.onClose,r=e.className,a=e.style,c=e.children;if((0,o.useEffect)((function(){var e,n;t?null===(e=document.querySelector("body"))||void 0===e||e.classList.add("noscroll"):null===(n=document.querySelector("body"))||void 0===n||n.classList.remove("noscroll");return function(){document.querySelector("body").classList.remove("noscroll")}}),[t]),!t)return null;return(0,l.jsx)("div",{className:i()(s().modal,"fixed inset-0 overflow-y-auto"),style:a,children:(0,l.jsxs)("div",{className:i()("flex items-center justify-center min-h-screen text-center"),children:[(0,l.jsx)("div",{className:"fixed inset-0 transition-opacity","aria-hidden":"true",onClick:function(e){e.preventDefault(),e.stopPropagation(),null===n||void 0===n||n()},children:(0,l.jsx)("div",{className:"absolute inset-0 bg-gray-3 opacity-75"})}),(0,l.jsx)("div",{className:i()("flex bg-white overflow-hidden transform inline-block shadow-xl transition-all w-11/12 h-11/12 rounded-lg",r),role:"dialog","aria-modal":"true","aria-labelledby":"modal-headline",children:(0,l.jsx)("div",{className:i()("bg-white w-full h-full"),children:c})})]})})}},12425:function(e,t,n){"use strict";n.d(t,{F:function(){return h}});var r=n(33334),i=n(4062),o=n(58025),a=n(99641),s=n.n(a),l=n(34885),c=n(40237),u=n(54987),d=n(42151),m=n.n(d),f=n(88349),h=l.memo((function(e){var t=e.type,n=e.title,a=e.buttons,l=e.closeHandler,d=e.applyBackgroundColor,h=void 0===d||d,p=e.defaultButtonPosition,v=void 0===p?"right":p,x=e.defaultButtonType,b=void 0===x?"action":x,g=e.children,j="info"===t?m().info:"warning"===t?m().warning:"error"===t&&m().error,y="info"===t?m().bgInfo:"warning"===t?m().bgWarning:"error"===t&&m().bgError,O=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"action";switch(e){case"ok":return m().bgInfo;case"cancel":return m().bgWarning;case"action":return m().bgAction;case"danger":return m().bgError}},C=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"action";switch(e){case"ok":case"action":case"danger":return"text-white";case"cancel":return"text-black"}};return(0,f.jsx)("div",{className:s()(m().modal,"fixed inset-0 overflow-y-auto"),children:(0,f.jsxs)("div",{className:s()("flex items-center justify-center min-h-screen text-center"),children:[(0,f.jsx)("div",{className:"fixed inset-0 transition-opacity",onClick:l,children:(0,f.jsx)("div",{className:s()("absolute inset-0 opacity-60",y&&h?y:"bg-gray-3")})}),(0,f.jsxs)("div",{className:s()(m().dialogContainer,"flex flex-col bg-white overflow-hidden transform inline-block shadow-xl transition-all w-full sm:w-10/12 md:w-8/12 lg:w-4/12 h-6/12 p-10"),role:"dialog",children:[(0,f.jsx)(c.a,{className:s()("fill-current absolute",m().iconAlert,null!==j&&void 0!==j?j:"text-red")}),(0,f.jsx)(i.b,{className:s()("fill-current absolute top-10 right-10 cursor-pointer"),onClick:l}),(0,f.jsx)("div",{className:s()("w-full my-4"),children:(0,f.jsx)("h1",{className:"font-bold text-md",children:n})}),(0,f.jsx)("div",{className:s()("w-full my-5"),children:g}),(0,f.jsx)(u.i,{}),(0,f.jsx)("div",{className:s()("w-full mt-5"),children:null!==a&&void 0!==a&&a.length?(0,f.jsx)(f.Fragment,{children:a.map((function(e,t){return(0,f.jsx)(r.fk,{className:s()(m().button,"float-".concat(e.position," p-3"),O(e.type),C(e.type)),onClick:e.handler,children:(0,f.jsx)(o.RS,{bold:!0,children:e.label})},"button-".concat(t))}))}):(0,f.jsx)(r.fk,{className:s()("float-".concat(v," p-3"),m().button,O(b),C(b)),onClick:l,children:(0,f.jsx)(o.RS,{bold:!0,children:"Chiudi"})})})]})]})})}))},10540:function(e,t,n){"use strict";n.d(t,{T:function(){return d}});var r=n(12197),i=n(99641),o=n.n(i),a=n(34885),s=n(58025),l=n(67459),c=n.n(l),u=n(88349),d=a.memo((function(e){var t=e.text,n=e.index,i=e.isActive,a=e.onClick;return(0,u.jsx)("div",{onClick:function(){return a&&void 0!==n&&a(n)},className:o()(c().container,(0,r.Z)({}
1,c().containerActive,!!i)),children:(0,u.jsx)(s.RS,{bold:!0,uppercase:!0,children:t})})}))},56853:function(e,t,n){"use strict";n.d(t,{N:function(){return m}});var r=n(12197),i=n(99641),o=n.n(i),a=n(33872),s=n(34885),l=n(58025),c=n(4224),u=n.n(c),d=n(88349),m=s.memo((function(e){var t=e.active,n=e.icon,i=e.label,s=e.viewType,c=e.onClick,m=e.className,f=(0,a.Z)("common").t;return(0,d.jsx)("div",{onClick:function(){return c(s)},className:m,children:(0,d.jsxs)("div",{className:o()(u().container,u().iconContainer,(0,r.Z)({},u().iconContainerActive,t)),children:[(0,d.jsx)(l._e,{bold:!0,white:t,black:!t,className:"hidden sm:block",children:f(i)}),n]})})}))},70582:function(e,t,n){"use strict";n.d(t,{Z:function(){return d}});var r=n(12197),i=n(10285),o=n(34885),a=n(31379),s=n(88349),l=["id","fill","stroke","className","onClick","onAnimationEnd"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=o.memo((function(e){var t=e.id,n=e.fill,r=e.stroke,o=e.className,c=e.onClick,d=e.onAnimationEnd,m=(0,i.Z)(e,l);return(0,s.jsx)(a.e,u(u({id:null!==t&&void 0!==t?t:"",x:"0px",y:"0px",width:"32px",height:"32px",viewBox:"-2 0 32 20",fill:null!==n&&void 0!==n?n:"current",stroke:null!==r&&void 0!==r?r:"current",className:o,onClick:c,onAnimationEnd:d},m),{},{children:(0,s.jsx)("g",{transform:"matrix(1 0 0 1 -82 -11 )",children:(0,s.jsx)("path",{d:"M 4.75892857142857 15.3409090909091 C 5.30059523809524 15.8712121212121 5.57142857142857 16.5151515151515 5.57142857142857 17.2727272727273 C 5.57142857142857 18.030303030303 5.30059523809524 18.6742424242424 4.75892857142857 19.2045454545455 C 4.21726190476191 19.7348484848485 3.55952380952381 20 2.78571428571429 20 C 2.01190476190476 20 1.35416666666667 19.7348484848485 0.8125 19.2045454545455 C 0.270833333333333 18.6742424242424 0 18.030303030303 0 17.2727272727273 C 0 16.5151515151515 0.270833333333333 15.8712121212121 0.8125 15.3409090909091 C 1.35416666666667 14.8106060606061 2.01190476190476 14.5454545454545 2.78571428571429 14.5454545454545 C 3.55952380952381 14.5454545454545 4.21726190476191 14.8106060606061 4.75892857142857 15.3409090909091 Z M 4.75892857142857 8.06818181818182 C 5.30059523809524 8.59848484848485 5.57142857142857 9.24242424242424 5.57142857142857 10 C 5.57142857142857 10.7575757575758 5.30059523809524 11.4015151515152 4.75892857142857 11.9318181818182 C 4.21726190476191 12.4621212121212 3.55952380952381 12.7272727272727 2.78571428571429 12.7272727272727 C 2.01190476190476 12.7272727272727 1.35416666666667 12.4621212121212 0.8125 11.9318181818182 C 0.270833333333333 11.4015151515152 0 10.7575757575758 0 10 C 0 9.24242424242424 0.270833333333333 8.59848484848485 0.8125 8.06818181818182 C 1.35416666666667 7.53787878787879 2.01190476190476 7.27272727272727 2.78571428571429 7.27272727272727 C 3.55952380952381 7.27272727272727 4.21726190476191 7.53787878787879 4.75892857142857 8.06818181818182 Z M 25.8621651785714 15.5894886363636 C 25.9540550595238 15.6794507575758 26 15.7859848484848 26 15.9090909090909 L 26 18.6363636363636 C 26 18.7594696969697 25.9540550595238 18.8660037878788 25.862
11651785714 18.9559659090909 C 25.7702752976191 19.045928030303 25.6614583333333 19.0909090909091 25.5357142857143 19 L 7.89285714285714 19 C 7.7671130952381 19.0909090909091 7.65829613095238 19.045928030303 7.56640625 18.9559659090909 C 7.47451636904762 18.8660037878788 7.42857142857143 18.7594696969697 7.42857142857143 18.6363636363636 L 7.42857142857143 15.9090909090909 C 7.42857142857143 15.7859848484848 7.47451636904762 15.6794507575758 7.56640625 15.5894886363636 C 7.65829613095238 15.4995265151515 7.7671130952381 15.4545454545455 7.89285714285714 15.4545454545455 L 25.5357142857143 15.4545454545455 C 25.6614583333333 15.4545454545455 25.7702752976191 15.4995265151515 25.8621651785714 15.5894886363636 Z M 4.75892857142857 0.795454545454546 C 5.30059523809524 1.32575757575758 5.57142857142857 1.96969696969697 5.57142857142857 2.72727272727273 C 5.57142857142857 3.48484848484848 5.30059523809524 4.12878787878788 4.75892857142857 4.65909090909091 C 4.21726190476191 5.18939393939394 3.55952380952381 5.45454545454545 2.78571428571429 5.45454545454545 C 2.01190476190476 5.45454545454545 1.35416666666667 5.18939393939394 0.8125 4.65909090909091 C 0.270833333333333 4.12878787878788 0 3.48484848484848 0 2.72727272727273 C 0 1.96969696969697 0.270833333333333 1.32575757575758 0.8125 0.795454545454546 C 1.35416666666667 0.265151515151514 2.01190476190476 0 2.78571428571429 0 C 3.55952380952381 0 4.21726190476191 0.265151515151514 4.75892857142857 0.795454545454546 Z M 25.8621651785714 8.31676136363637 C 25.9540550595238 8.40672348484848 26 8.51325757575758 26 8.63636363636363 L 26 11.3636363636364 C 26 11.4867424242424 25.9540550595238 11.5932765151515 25.8621651785714 11.6832386363636 C 25.7702752976191 11.7732007575758 25.6614583333333 11.8181818181818 25.5357142857143 11.8181818181818 L 7.89285714285714 11.8181818181818 C 7.7671130952381 11.8181818181818 7.65829613095238 11.7732007575758 7.56640625 11.6832386363636 C 7.47451636904762 11.5932765151515 7.42857142857143 11.4867424242424 7.42857142857143 11.3636363636364 L 7.42857142857143 8.63636363636363
1C 7.42857142857143 8.51325757575758 7.47451636904762 8.40672348484848 7.56640625 8.31676136363637 C 7.65829613095238 8.22679924242424 7.7671130952381 8.18181818181818 7.89285714285714 8.18181818181818 L 25.5357142857143 8.18181818181818 C 25.6614583333333 8.18181818181818 25.7702752976191 8.22679924242424 25.8621651785714 8.31676136363637 Z M 25.8621651785714 1.04403409090909 C 25.9540550595238 1.13399621212121 26 1.2405303030303 26 1.36363636363636 L 26 4.09090909090909 C 26 4.21401515151515 25.9540550595238 4.32054924242424 25.8621651785714 4.41051136363637 C 25.7702752976191 4.50047348484848 25.6614583333333 4.54545454545455 25.5357142857143 4.54545454545455 L 7.89285714285714 4.54545454545455 C 7.7671130952381 4.54545454545455 7.65829613095238 4.50047348484848 7.56640625 4.41051136363637 C 7.47451636904762 4.32054924242424 7.42857142857143 4.21401515151515 7.42857142857143 4.09090909090909 L 7.42857142857143 1.36363636363636 C 7.42857142857143 1.2405303030303 7.47451636904762 1.13399621212121 7.56640625 1.04403409090909 C 7.65829613095238 0.954071969696968 7.7671130952381 0.909090909090908 7.89285714285714 1 L 25.5357142857143 1 C 25.6614583333333 0.909090909090908 25.7702752976191 0.954071969696968 25.8621651785714 1.04403409090909 Z ",transform:"matrix(1 0 0 1 82 11 )"})})}))}))},4771:function(e,t,n){"use strict";n.d(t,{C:function(){return d}});var r=n(12197),i=n(10285),o=n(34885),a=n(31379),s=n(88349),l=["id","fill","stroke","className","onClick","onAnimationEnd"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=o.memo((function(e){var t=e.id,n=e.fill,r=e.stroke,o=e.className,c=e.onClick,d=e.onAnimationEnd,m=(0,i.Z)(e,l);return(0,s.jsx)(a.e,u(u({id:null!==t&&void 0!==t?t:"",x:"0px",y:"0px",viewBox:"0 0 32 32",fill:null!==n&&void 0!==n?n:"current",stroke:null!==r&&void 0!==r?r:"current",className:o,onClick:c,onAnimationEnd:d},m),{},{children:(0,s.jsx)("path",{d:"M30,13a3.5,3.5,0,0,0-3.5-3.5,3.46,3.46,0,0,0-1.37.28L19.44,5.64A4.48,4.48,0,0,0,19.5,5a3.5,3.5,0,0,0-7,0,4.48,4.48,0,0,0,.06.64L6.87,9.78A3.46,3.46,0,0,0,5.5,9.5a3.49,3.49,0,0,0-.52,7l1.86,6.49a3.49,3.49,0,1,0,4.75,4.66h7.82A3.49,3.49,0,0,0,26,26a3.52,3.52,0,0,0-1-2.46l2-7.09A3.5,3.5,0,0,0,30,13Zm-7.5,9.5a3.51,3.51,0,0,0-3.44,2.9H11.94A3.49,3.49,0,0,0,9,22.55L7.16,16.06a3.43,3.43,0,0,0,1.37-4.77l5.12-3.72a3.43,3.43,0,0,0,4.7,0l5.12,3.72a3.43,3.43,0,0,0,1.37,4.77L23,22.55A3.87,3.87,0,0,0,22.5,22.5Z"})}))}))},9155:function(e,t,n){"use strict";n.d(t,{R:function(){return d}});var r=n(12197),i=n(10285),o=n(34885),a=n(31379),s=n(88349),l=["id","fill","stroke","className","onClick","onAnimationEnd"];function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var d=o.memo((function(e){var t=e.id,n=e.fill,r=e.stroke,o=e.className,c=e.onClick,d=e.onAnimationEnd,m=(0,i.Z)(e,l);return(0,s.jsx)(a.e,u(u({id:null!==t&&void 0!==t?t:"",x:"0px",y:"0px",viewBox:"0 0 32 32",fill:null!==n&&void 0!==n?n:"current",stroke:null!==r&&void 0!==r?r:"current",className:o,onClick:c,onAnimationEnd:d},m),{},{children:(0,s.jsx)("path",{d:"M28.72,13.25a13.06,13.06,0,0,0-9.45-9.83,3.34,3.34,0,0,0-6.54,0,13.06,13.06,0,0,0-9.45,9.83,3.33,3.33,0,0,0,.24,6.65h.06a13.06,13.06,0,0,0,9.15,8.68,3.34,3.34,0,0,0,6.54,0,13.06,13.06,0,0,0,9.15-8.68h.06a3.33,3.33,0,0,0,.24-6.65Zm-2.28.7a3,3,0,0,0-.74,4.46,3.34,3.34,0,0,0,.65.7A10.82,10.82,0,0,1,19,26.39a3.38,3.38,0,0,0-1.15-1.28,3,3,0,0,0-3.6,0,3.38,3.38,0,0,0-1.15,1.28,10.82,10.82,0,0,1-7.4-7.28,3.34,3.34,0,0,0,.65-.7A3,3,0,0,0,5.56,14l-.15-.13a10.83,10.83,0,0,1,7.64-8.21A3.38,3.38,0,0,0,14.2,6.89a3,3,0,0,0,3.6,0A3.38,3.38,0,0,0,19,5.61a10.83,10.83,0,0,1,7.64,8.21Z"})}))}))},89669:function(e,t,n){"use strict";n.d(t,{k:function(){return s}});var r=n(34885),i=n(44457),o=n.n(i),a=n(88349),s=r.memo((function(e){var t=e.src;return(0,a.jsx)("div",{className:o().container,children:(0,a.jsx)("img",{src:t,className:o().loaderGif,alt:"loader small"})})}))},18844:function(e,t,n){"use strict";n.d(t,{Q:function(){return a}});var r=n(34885),i=n(89669),o=n(88349),a=r.memo((function(e){var t=e.src;return(0,o.jsx)("div",{style:{width:"190px",height:"190px"},className:"shadow bg-white rounded shadow overflow-hidden fixed top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2",children:(0,o.jsx)(i.k,{src:t})})}))},59623:function(e,t,n){"use strict";n.d(t,{_:function(){return u}});var r=n(77005),i=n.n(r),o=n(34885),a=n(58025),s=n(42592),l=n.n(s),c=n(88349),u=o.memo((function(e){e.md;var t=e.sm,n=e.href,r=e.children,o=e.width,s=t?l().sm:l().md;return(0,c.jsx)(i(),{href:n,children:(0,c.jsx)(a.RS,{bold:!0,className:"".concat(l().base," ").concat(s),style:{width:o&&o>0?"".concat(o,"px"):"auto"},children:r})})}))},87314:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return n(90005)}])},7204:function(e){e.exports={separator:"style_separator__Yid7Z"}},44957:function(e){e.exports={livenUpContainer:"style_livenUpContainer__93SI7",registerCtaContainer:"style_registerCtaContainer__G7vXo",registerCtaImageSlot:"style_registerCtaImageSlot__zqdWE",livenUpImageSlot:"style_livenUpImageSlot__BKIjy",loginFab:"style_loginFab__ilsfR",fabShown:"style_fabShown_____RR",livenUpInfoSlot:"style_livenUpInfoSlot__2oSRl",registerCtaInfoSlot:"style_registerCtaInfoSlot__SmU_g",livenUpTitle:"style_livenUpTitle__JSmfP",registerCtaTitle:"style_registerCtaTitle__WlYEJ",registerCtaList:"style_registerCtaList__xK4yh"}},82210:function(e){e.exports={informativeCardContainer:"style_informativeCardContainer__a4e7r",carouselItem:"style_carouselItem__R7XOC",informativeCardContainerFit:"style_informativeCardContainerFit__ghl_c",
1informativeCardContainerCenter:"style_informativeCardContainerCenter__S3wJN",informativeCardInfoContainer:"style_informativeCardInfoContainer__9TvHm",informativeCardImage:"style_informativeCardImage__51qnU",informativeCards:"style_informativeCards__al3jL",informativeCardBody:"style_informativeCardBody__gUglx",informativeCardInfoTitle:"style_informativeCardInfoTitle__vhZVM",informativeCardInfoButton:"style_informativeCardInfoButton__TmlNs"}},6107:function(e){e.exports={modal:"style_modal__H3jfx"}},42151:function(e){e.exports={modal:"style_modal__baYJa",fadein:"style_fadein__QUhR4",error:"style_error__bCkKr",warning:"style_warning__IzIDx",info:"style_info__mmWwg",action:"style_action__BLMNm",bgError:"style_bgError__JHSGY",bgWarning:"style_bgWarning__WXMMt",bgInfo:"style_bgInfo__V2DjR",bgAction:"style_bgAction__v8cKB",iconAlert:"style_iconAlert__195pz",dialogContainer:"style_dialogContainer__QT2Uz",button:"style_button__H5lwx",divider:"style_divider__AF44L"}},47545:function(e){e.exports={modalContainer:"style_modalContainer__KNLpq",map:"style_map__hHQRW",mapContainer:"style_mapContainer__h2phv",cancelButton:"style_cancelButton__SNe5W",cancelButtonContainer:"style_cancelButtonContainer__v0fVi"}},67459:function(e){e.exports={container:"style_container__AqM53",containerActive:"style_containerActive___fvl_"}},98308:function(e){e.exports={container:"style_container__1q2pA",image:"style_image__HhbGE",titleContainer:"style_titleContainer__cJYf_",title:"style_title__kleXE"}},86:function(e){e.exports={container:"style_container__vW2q9",containerIvg:"style_containerIvg__YrPON",sideAlert:"style_sideAlert__u_Tlr",sideAlertIvg:"style_sideAlertIvg__q1Ni0",backgroundImage:"style_backgroundImage__zyxKw",filtersContainer:"style_filtersContainer__hUrcV",filtersContainerIvg:"style_filtersContainerIvg__e7ZSv",filters:"style_filters__Ykvsd",filtersContainerIvgOuter:"style_filtersContainerIvgOuter__apzfR",filtersContainerIvgInner:"style_filtersContainerIvgInner__MBcla",filtersContainerIvgRow:"style_filtersContainerIvgRow__B3emc",filtersContainerIvgTitleRow:"style_filtersContainerIvgTitleRow__Q18tI",homeFiltersCardIvgSearchCard:"style_homeFiltersCardIvgSearchCard__xzurP"}},59853:function(e){e.exports={filtersContainer:"style_filtersContainer__P3OyA",mobileFiltersSelect:"style_mobileFiltersSelect__9wZ_z"}},4224:function(e){e.exports={container:"style_container__Z8R40",iconContainer:"style_iconContainer__Vx6sz",iconContainerActive:"style_iconContainerActive__84bgA"}},44457:function(e){e.exports={container:"style_container__qZNH_",loader:"style_loader__N00y6",loaderGif:"style_loaderGif__mLV7w"}},42592:function(e){e.exports={md:"style_md__Xkfqg",base:"style_base__ZX5_V",sm:"style_sm__dvJTC"}}},function(e){e.O(0,[1859,3174,3261,4399,9174,335,6253,6117,1412,6242,7450,5286,3684,7314,9432,9774,2888,179],(function(){return t=87314,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.