{"version":3,"file":"shared-lib.Bn3WUJLU.mjs","names":["React.useId","React.useMemo","metadata","metadataVersion","__FramerMetadata__"],"sources":["https:/framerusercontent.com/modules/hQ8rCUWcpl49tMMUWSPc/uSTy1ZrL5QB2PyXB5ILK/SelettoreLingua.js","https:/framerusercontent.com/modules/4HN6fsRKq3TiHFCCahYq/AWveRozFXyMCvFIpDegv/weCSPWfKG.js","https:/framerusercontent.com/modules/pB8yrkIjMKYLAZIApYmF/nlusmLbTpWcUIfaxG5jO/augiA20Il.js","https:/framerusercontent.com/modules/YDTRSN53cQ37kjhOXy7r/yDojACLHOrIaCoWKhH3D/lCkYzmVkK.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Selettore di lingua per la traduzione dell'intera pagina.\n *\n * @framerIntrinsicWidth 160\n * @framerIntrinsicHeight 44\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */export default function SelettoreLingua(props){const{linguaOriginale=\"it\",larghezza=160,style}=props;const reactId=React.useId();const id=React.useMemo(()=>`traduttore-villa-daria-${reactId.replace(/[^a-zA-Z0-9_-]/g,\"\")}`,[reactId]);React.useEffect(()=>{let annullato=false;let tentativi=0;const inizializza=()=>{if(annullato)return;const w=window;const contenitore=document.getElementById(id);if(!contenitore||contenitore.querySelector(\".goog-te-combo\"))return;if(w.google?.translate?.TranslateElement){new w.google.translate.TranslateElement({pageLanguage:linguaOriginale,autoDisplay:false,multilanguagePage:true,layout:w.google.translate.TranslateElement.InlineLayout.SIMPLE},id);return;}tentativi+=1;if(tentativi<80)window.setTimeout(inizializza,250);};const w=window;const eventoPronto=()=>inizializza();window.addEventListener(\"villa-daria-translate-ready\",eventoPronto);if(!document.querySelector('script[data-villa-daria-traduttore=\"true\"]')){w.googleTranslateElementInit=()=>{window.dispatchEvent(new Event(\"villa-daria-translate-ready\"));};const script=document.createElement(\"script\");script.src=\"https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit\";script.async=true;script.setAttribute(\"data-villa-daria-traduttore\",\"true\");document.head.appendChild(script);}inizializza();return()=>{annullato=true;window.removeEventListener(\"villa-daria-translate-ready\",eventoPronto);};},[id,linguaOriginale]);return /*#__PURE__*/_jsxs(\"div\",{style:{...style,width:larghezza,height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},\"aria-label\":\"Seleziona la lingua del sito\",children:[/*#__PURE__*/_jsx(\"style\",{children:`\n        #${id} {\n          width: 100%;\n          display: flex;\n          align-items: center;\n          justify-content: center;\n        }\n        #${id} .goog-te-gadget {\n          width: 100%;\n          font-size: 0;\n          line-height: 1;\n          color: transparent;\n          font-family: Inter, Arial, sans-serif;\n        }\n        #${id} .goog-te-combo {\n          width: 100%;\n          height: 38px;\n          margin: 0 !important;\n          padding: 0 34px 0 12px;\n          border: 1px solid rgba(44, 36, 23, 0.22);\n          border-radius: 6px;\n          background-color: #FAF7F2;\n          color: #2C2417;\n          font: 500 13px/1 Inter, Arial, sans-serif;\n          cursor: pointer;\n          outline: none;\n        }\n        #${id} .goog-te-combo:hover,\n        #${id} .goog-te-combo:focus {\n          border-color: #C85A2A;\n        }\n        .goog-te-banner-frame,\n        iframe.goog-te-banner-frame {\n          display: none !important;\n        }\n        body {\n          top: 0 !important;\n        }\n      `}),/*#__PURE__*/_jsx(\"div\",{id:id})]});}addPropertyControls(SelettoreLingua,{linguaOriginale:{type:ControlType.String,title:\"Lingua origine\",defaultValue:\"it\"},larghezza:{type:ControlType.Number,title:\"Larghezza\",defaultValue:160,min:120,max:240,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"SelettoreLingua\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"44\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"160\",\"framerSupportedLayoutWidth\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./SelettoreLingua.map","// Generated by Framer (92deb96)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=[\".framer-DDoFp .framer-styles-preset-67ffxl:not(.rich-text-wrapper), .framer-DDoFp .framer-styles-preset-67ffxl.rich-text-wrapper a { --framer-link-current-text-color: #c85a2a; --framer-link-hover-text-color: #c85a2a; --framer-link-text-color: #4a3a2a; transition-delay: 0s; transition-duration: 0.2s; transition-property: color; transition-timing-function: cubic-bezier(0.44, 0, 0.56, 1); }\"];export const className=\"framer-DDoFp\";\nexport const __FramerMetadata__ = {\"exports\":{\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (bc64f0a)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"72rtr7\",mediaQuery:\"(min-width: 1200px)\"},{hash:\"1jl6zyg\",mediaQuery:\"(max-width: 1199.98px)\"}],description:\"Villa Daria \\xe8 una casa vacanze a conduzione familiare immersa nel verde di Chiavari, a soli 5 minuti di auto dal mare. Appartamenti attrezzati con cucina, aria condizionata, Wi-Fi, parcheggio, area barbecue, ampi spazi esterni e animali ammessi.\",elements:{dOm4fwRuA:\"appartamenti\",kuChrqqFT:\"contatti\",n68AGPJVS:\"la-villa\",nboootl9T:\"galleria\",yjpVnG9iP:\"hero\",Z7FawhXQE:\"comfort\"},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-90zLu\",title:\"Villa Daria — Casa vacanze a Chiavari, Liguria\",viewport:\"width=device-width\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (ed99727)\nexport default function metadata(params,activeLocale){return{breakpoints:[{hash:\"1aeulfz\"}],description:\"Villa Daria \\xe8 una casa vacanze immersa nel verde a pochi minuti di auto dal mare di Chiavari\",elements:{},framerSearch:{index:true},robots:\"max-image-preview:large\",serializationId:\"framer-nSLdX\",title:\"Villa Daria casa vacanze a Chiavari\",viewport:\"width=1200\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"oNAOG,SAAwB,EAAgB,EAAM,CAAC,GAAK,CAAC,kBAAgB,KAAK,YAAU,IAAI,SAAO,EAAY,EAAQA,EAAY,EAAQ,EAAGC,MAAkB,0BAA0B,EAAQ,QAAQ,kBAAkB,EAAE,IAAI,CAAC,CAAO,CAAC,EAAwrC,OAAtrC,MAAoB,CAAC,IAAI,EAAU,GAAU,EAAU,EAAQ,MAAgB,CAAC,GAAG,EAAU,OAAO,IAAM,EAAE,EAAa,EAAY,SAAS,eAAe,CAAE,EAAK,MAAC,GAAa,EAAY,cAAc,gBAAgB,GAAS,IAAG,EAAE,QAAQ,WAAW,iBAAiB,CAAC,IAAI,EAAE,OAAO,UAAU,iBAAiB,CAAC,aAAa,EAAgB,YAAY,GAAM,kBAAkB,GAAK,OAAO,EAAE,OAAO,UAAU,iBAAiB,aAAa,MAAM,EAAE,CAAE,EAAE,MAAO,CAAC,GAAW,EAAK,EAAU,IAAG,EAAO,WAAW,EAAY,GAAG,CAA/D,CAAiE,EAAQ,EAAE,EAAa,MAAiB,EAAY,EAAsE,GAApE,EAAO,iBAAiB,8BAA8B,CAAY,EAAK,CAA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