PageSourceSearch

https://www.mindthejourney.com/_next/static/chunks/pages/collaborations/register-ef68ae6cafd5bd28.js

js mindthejourney.com collected 2026-10-08 06:37:18 UTC 41,224 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6622],{2252:(e,a,i)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/collaborations/register",function(){return i(6348)}])},3042:(e,a,i)=>{"use strict";i.d(a,{N:()=>y});var t=i(4232),n=i(181);function r(){let e=(0,t.useRef)(!1);return(0,n.E)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var o=i(2178),s=i(3866),l=i(1200);class c extends t.Component{getSnapshotBeforeUpdate(e){let a=this.props.childRef.current;if(a&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=a.offsetHeight||0,e.width=a.offsetWidth||0,e.top=a.offsetTop,e.left=a.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:e,isPresent:a}){let i=(0,t.useId)(),n=(0,t.useRef)(null),r=(0,t.useRef)({width:0,height:0,top:0,left:0});return(0,t.useInsertionEffect)(()=>{let{width:e,height:t,top:o,left:s}=r.current;if(a||!n.current||!e||!t)return;n.current.dataset.motionPopId=i;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
2          [data-motion-pop-id="${i}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${t}px !important;
6            top: ${o}px !important;
7            left: ${s}px !important;
8          }
9        `),()=>{document.head.removeChild(l)}},[a]),t.createElement(c,{isPresent:a,childRef:n,sizeRef:r},t.cloneElement(e,{ref:n}))}let u=({children:e,initial:a,isPresent:i,onExitComplete:n,custom:r,presenceAffectsLayout:o,mode:c})=>{let u=(0,l.M)(m),g=(0,t.useId)(),p=(0,t.useMemo)(()=>({id:g,initial:a,isPresent:i,custom:r,onExitComplete:e=>
9{for(let a of(u.set(e,!0),u.values()))if(!a)return;n&&n()},register:e=>(u.set(e,!1),()=>u.delete(e))}),o?void 0:[i]);return(0,t.useMemo)(()=>{u.forEach((e,a)=>u.set(a,!1))},[i]),t.useEffect(()=>{i||u.size||!n||n()},[i]),"popLayout"===c&&(e=t.createElement(d,{isPresent:i},e)),t.createElement(s.t.Provider,{value:p},e)};function m(){return new Map}var g=i(5048),p=i(5300);let h=e=>e.key||"",y=({children:e,custom:a,initial:i=!0,onExitComplete:s,exitBeforeEnter:l,presenceAffectsLayout:c=!0,mode:d="sync"})=>{var m;(0,p.V)(!l,"Replace exitBeforeEnter with mode='wait'");let y=(0,t.useContext)(g.L).forceRender||function(){let e=r(),[a,i]=(0,t.useState)(0),n=(0,t.useCallback)(()=>{e.current&&i(a+1)},[a]);return[(0,t.useCallback)(()=>o.Gt.postRender(n),[n]),a]}()[0],f=r(),b=function(e){let a=[];return t.Children.forEach(e,e=>{(0,t.isValidElement)(e)&&a.push(e)}),a}(e),x=b,v=(0,t.useRef)(new Map).current,N=(0,t.useRef)(x),S=(0,t.useRef)(new Map).current,C=(0,t.useRef)(!0);if((0,n.E)(()=>{C.current=!1,b.forEach(e=>{let a=h(e);S.set(a,e)}),N.current=x}),m=()=>{C.current=!0,S.clear(),v.clear()},(0,t.useEffect)(()=>()=>m(),[]),C.current)return t.createElement(t.Fragment,null,x.map(e=>t.createElement(u,{key:h(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:c,mode:d},e)));x=[...x];let A=N.current.map(h),M=b.map(h),_=A.length;for(let e=0;e<_;e++){let a=A[e];-1!==M.indexOf(a)||v.has(a)||v.set(a,void 0)}return"wait"===d&&v.size&&(x=[]),v.forEach((e,i)=>{if(-1!==M.indexOf(i))return;let n=S.get(i);if(!n)return;let r=A.indexOf(i),o=e;o||(o=t.createElement(u,{key:h(n),isPresent:!1,onExitComplete:()=>{v.delete(i);let e=Array.from(S.keys()).filter(e=>!M.includes(e));if(e.forEach(e=>S.delete(e)),N.current=b.filter(a=>{let t=h(a);return t===i||e.includes(t)}),!v.size){if(!1===f.current)return;y(),s&&s()}},custom:a,presenceAffectsLayout:c,mode:d},n),v.set(i,o)),x.splice(r,0,o)}),x=x.map(e=>{let a=e.key;return v.has(a)?e:t.createElement(u,{key:h(e),isPresent:!0,presenceAffectsLayout:c,mode:d},e)}),t.createElement(t.Fragment,null,v.size?x:x.map(e=>(0,t.cloneElement)(e)))}},3522:(e,a,i)=>{"use strict";i.d(a,{eL:()=>o,jo:()=>r,lR:()=>s});var t=i(7947);let n=e=>String(e||"").normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim(),r=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"en";return Object.entries(t.countryNames).map(a=>{let[i,t]=a,r=(null==t?void 0:t[e])||(null==t?void 0:t.en)||i,o="it"===e?null==t?void 0:t.en:null==t?void 0:t.it;return{code:i,label:r,altLabel:o||"",searchText:n("".concat(i," ").concat(r," ").concat(o||""))}}).sort((a,i)=>a.label.localeCompare(i.label,"it"===e?"it":"en"))},o=e=>e?"".concat(e.label," (").concat(e.code,")"):"",s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:12,t=n(a);return t?e.filter(e=>e.searchText.includes(t)).slice(0,i):e.slice(0,i)}},6348:(e,a,i)=>{"use strict";i.r(a),i.d(a,{default:()=>x});var t=i(7876),n=i(4232),r=i(9099),o=i(3042),s=i(7421),l=i(8181),c=i(5697),d=i(3522),u=i(8283),m=i(4985),g=i(2965);let p={title:{en:"Collaborator interest form",it:"Manifestazione di interesse"},step1Title:{en:"Choose Your Profile",it:"Scegli il Tuo Profilo"},step2Title:{en:"Personal Information",it:"Informazioni Personali"},step3Title:{en:"Additional Details",it:"Dettagli Aggiuntivi"},highSchool:{en:"High School Student",it:"Studente Scuola Superiore"},highSchoolDesc:{en:"Students in secondary education programs",it:"Studenti in programmi di istruzione secondaria"},university:{en:"University Student",it:"Studente Universitario"},universityDesc:{en:"Undergraduate or graduate students",it:"Studenti universitari o laureandi"},professional:{en:"Tourism Professional",it:"Professionista del Turismo"},professionalDesc:{en:"Tour operators, travel agents, guides",it:"Tour operator, agenti di viaggio, guide"},teacher:{en:"Teacher / Educator",it:"Docente / Educatore"},teacherDesc:{en:"Teachers, professors, and educators",it:"Insegnanti, professori ed educatori"},blogger:{en:"Travel Blogger / Writer",it:"Travel Blogger / Scrittore"},bloggerDesc:{en:"Content creators and travel writers",it:"Creatori di contenuti e scrittori di viaggio"},sysadmin:{en:"System Administrator",it:"Amministratore di Sistema"},sysadminDesc:{en:"Technical contributors and developers",it:"Contributori tecnici e sviluppatori"},other:{en:"Other",it:"Altro"},otherDesc:{en:"Other travel enthusiasts and experts",it:"Altri appassionati ed esperti di viaggi"},firstName:{en:"First Name",it:"Nome"},lastName:{en:"Last Name",it:"Cognome"},email:{en:"Email",it:"Email"},confirmEmail:{en:"Confirm email",it:"Conferma email"},confirmEmailNoPaste:{en:"Paste is disabled in this field",it:"In questo campo il copia-incolla e disattivato"},emailMatch:{en:"Email addresses match",it:"Gli indirizzi email corrispondono"},emailMismatch:{en:"Email addresses do not match",it:"Gli indirizzi email non corrispondono"},country:{en:"Country",it:"Paese"},searchCountry:{en:"Search country",it:"Cerca paese"},selectValidCountry:{en:"Select a valid country from the list",it:"Seleziona un paese valido dall’elenco"},countryHelper:{en:"Use a standard country to avoid discrepancies.",it:"Usa un paese standard per evitare discrepanze."},acceptTermsPrefix:{en:"I have read and accept the",it:"Ho letto e accetto i"},termsLink:{en:"Terms of Use",it:"Termini d'Uso"},andPrivacy:{en:"and the",it:"e la"},privacyLink:{en:"Privacy Policy",it:"Privacy Policy"},ageDeclaration:{en:"Age declaration",it:"Dichiarazione et\xe0"},ageAdultOnly:{en:"I declare that I am at least 18 years old",it:"Dichiaro di avere almeno 18 anni"},ageMinorWithConsent:{en:"I declare that I am between 16 and 17 years old and that I am participating within a school activity or with the consent of my parents/guardians",it:"Dichiaro di avere tra 16 e 17 anni e di partecipare nell'ambito di un'attivit\xe0 scolastica o con il consenso dei miei genitori/tutori"},schoolName:{en:"School Name",it:"Nome Scuola"},universityName:{en:"University Name",it:"Nome Universit\xe0"},degreeProgram:{en:"Degree Program",it:"Corso di Laurea"},yearOfStudy:{en:"Year of Study",it:"Anno di Corso"},companyName:{en:"Company Name",it:"Nome Azienda"},jobTitle:{en:"Job Title",it:"Ruolo"},website:{en:"Website or public profile URL",it:"Sito web o profilo pubblico"},validUrlMessage:{en:"Enter a complete URL, for example https://example.com",it:"Inserisci un URL completo, ad esempio https://example.com"},fullUrlHelper:{en:"Enter a complete link to your blog, Instagram, YouTube, TikTok or website, for example https://instagram.com/yourprofile",it:"Inserisci un link completo al tuo blog, profilo Instagram, YouTube, TikTok o sito, ad esempio https://instagram.com/nomeprofilo"},specialization:{en:"Specialization / Expertise",it:"Specializzazione / Competenza"},motivation:{en:"Why do you want to collaborate?",it:"Perch\xe9 vuoi collaborare?"},next:{en:"Next",it:"Avanti"},back:{en:"Back",it:"Indietro"},submit:{en:"Submit Application",it:"Invia Candidatura"},selectCategory:{en:"Please select a category",it:"Seleziona una categoria"},fillRequired:{en:"Please fill all required fields",it:"Compila tutti i campi obbligatori"},duplicateApplication:{en:"A collaboration application with this email and profile type already exists. Use another email or contact us if you need support.",it:"Esiste gi\xe0 una candidatura con questa email e questa tipologia di profilo. Usa un’altra email oppure contattaci se ti serve supporto."},genericSubmitError:{en:"Submission failed. Please check your data and try again.",it:"Invio non riuscito. Controlla i dati inseriti e riprova."},passwordMismatch:{en:"Passwords do not match",it:"Le password non corrispondono"},registrationSuccess:{en:"Request received! Redirecting...",it:"Candidatura ricevuta! Reindirizzamento..."},motivationPlaceholder:{en:"Tell us about your experience with travel, geography, or tourism, and how you'd like to contribute...",it:"Raccontaci della tua esperienza con viaggi, geografia o turismo, e come vorresti contribuire..."},specEurope:{en:"Europe",it:"Europa"},specAsia:{en:"Asia",it:"Asia"},specAfrica:{en:"Africa",it:"Africa"},specAmericas:{en:"Americas",it:"Americhe"},specOceania:{en:"Oceania",it:"Oceania"},specTransport:{en:"Transportation",it:"Trasporti"},specCulture:{en:"Culture & Traditions",it:"Cultura e Tradizioni"},specNature:{en:"Nature & Wildlife",it:"Natura e Fauna"},specFood:{en:"Food & Cuisine",it:"Cibo e Cucina"},specHistory:{en:"History & Heritage",it:"Storia e Patrimonio"},specAdventure:{en:"Adventure & Sports",it:"Avventura e Sport"},specOther:{en:"Other",it:"Altro"},motPassion:{en:"Passion for travel and geography",it:"Passione per viaggi e geografia"},motEducation:{en:"Educational project / thesis",it:"Progetto educativo / tesi"},motCareer:{en:"Career development in tourism",it:"Sviluppo carriera nel turismo"},motCommunity:{en:"Help the travel community",it:"Aiutare la comunit\xe0 di viaggiatori"},motExperience:{en:"Gain practical experience",it:"Acquisire esperienza pratica"},motOther:{en:"Other (please specify)",it:"Altro (specificare)"},selectAtLeastOne:{en:"Select at least one",it:"Seleziona almeno una"},selectOne:{en:"Select one",it:"Seleziona una"},acceptTermsRequired:{en:"You must accept the Terms of Use and Privacy Policy",it:"Devi accettare i Termini d'Uso e la Privacy Policy"},ageDeclarationRequired:{en:"Declare your age range",it:"Dichiara la tua fascia di et\xe0"},optional:{en:"Optional",it:"Opzionale"}
9,customText:{en:"Custom text (optional)",it:"Testo personalizzato (opzionale)"}};function h(e){let{t:a,formData:i,setFormData:n,emailMatchState:r,getConfirmInputClassName:o,countryQuery:s,onCountryQueryChange:l,filteredCountries:c,onCountrySelect:d,error:u,onBack:m,onNext:g}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-gray-900 mb-8 text-center",children:a("step2Title")}),(0,t.jsxs)("div",{className:"space-y-4",children:[(0,t.jsxs)("div",{className:"grid sm:grid-cols-2 gap-4",children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("firstName")," *"]}),(0,t.jsx)("input",{type:"text",value:i.first_name,onChange:e=>n({...i,first_name:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",required:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("lastName")," *"]}),(0,t.jsx)("input",{type:"text",value:i.last_name,onChange:e=>n({...i,last_name:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",required:!0})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("email")," *"]}),(0,t.jsx)("input",{type:"email",value:i.email,onChange:e=>n({...i,email:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",required:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("confirmEmail")," *"]}),(0,t.jsx)("input",{type:"email",value:i.email_confirm,onChange:e=>n({...i,email_confirm:e.target.value}),onPaste:e=>e.preventDefault(),onDrop:e=>e.preventDefault(),autoComplete:"off",className:o(r),required:!0}),"idle"!==r&&(0,t.jsx)("p",{className:"mt-2 text-xs ".concat("match"===r?"text-green-600":"text-red-600"),children:a("match"===r?"emailMatch":"emailMismatch")}),(0,t.jsx)("p",{className:"mt-1 text-xs text-gray-500",children:a("confirmEmailNoPaste")})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("country")," *"]}),(0,t.jsx)("input",{type:"text",id:"country_code",name:"country_code","data-field":"country_code",autoComplete:"off",placeholder:a("searchCountry"),value:s,onChange:e=>l(e.target.value),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",required:!0}),c.length>0&&(0,t.jsx)("ul",{className:"mt-2 max-h-44 overflow-auto rounded-lg border border-gray-200 bg-white shadow-sm",children:c.map(e=>(0,t.jsx)("li",{children:(0,t.jsxs)("button",{type:"button",onClick:()=>d(e),className:"w-full px-4 py-2 text-left text-sm hover:bg-green-50",children:[e.label," (",e.code,")"]})},e.code))}),(0,t.jsx)("p",{className:"mt-2 text-xs text-gray-500",children:a("countryHelper")})]}),u&&(0,t.jsx)("div",{className:"p-4 bg-red-50 border border-red-200 rounded-lg text-red-700",children:u})]}),(0,t.jsxs)("div",{className:"flex gap-4 mt-8",children:[(0,t.jsx)("button",{onClick:m,className:"flex-1 px-6 py-3 bg-gray-200 hover:bg-gray-300 text-gray-700 rounded-lg font-medium transition-colors",children:a("back")}),(0,t.jsx)("button",{onClick:g,disabled:"mismatch"===r,className:"flex-1 px-6 py-3 bg-green-600 hover:bg-green-700 text-white rounded-lg font-medium transition-colors",children:a("next")})]})]})}var y=i(8230),f=i.n(y);function b(e){let{t:a,handleSubmit:i,formData:n,setFormData:r,selectedSpecializations:o,toggleSpecialization:s,customSpecialization:l,setCustomSpecialization:c,language:d,error:u,loading:m,onBack:g}=e;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-gray-900 mb-8 text-center",children:a("step3Title")}),(0,t.jsxs)("form",{onSubmit:i,className:"space-y-4",children:["high_school"===n.category&&(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("schoolName")," *"]}),(0,t.jsx)("input",{type:"text",value:n.school_name,onChange:e=>r({...n,school_name:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",required:!0})]}),"university"===n.category&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("universityName")," *"]}),(0,t.jsx)("input",{type:"text",value:n.university,onChange:e=>r({...n,university:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",required:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("degreeProgram")," *"]}),(0,t.jsx)("input",{type:"text",value:n.degree_program,onChange:e=>r({...n,degree_program:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",required:!0})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:a("yearOfStudy")}),(0,t.jsx)("input",{type:"number",min:"1",max:"10",value:n.year_of_study,onChange:e=>r({...n,year_of_study:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent"})]})]}),("professional"===n.category||"teacher"===n.category)&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:a("companyName")}),(0,t.jsx)("input",{type:"text",value:n.company_name,onChange:e=>r({...n,company_name:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:a("jobTitle")}),(0,t.jsx)("input",{type:"text",value:n.job_title,onChange:e=>r({...n,job_title:e.target.value}),className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent"})]})]}),"blogger"===n.category&&(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:a("website")}),(0,t.jsx)("input",{type:"url",value:n.website,onChange:e=>r({...n,website:e.target.value}),onInvalid:e=>e.target.setCustomValidity(a("validUrlMessage")),onInput:e=>e.target.setCustomValidity(""),placeholder:"https://...",className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent"}),(0,t.jsx)("p",{className:"mt-1 text-xs text-gray-500",children:a("fullUrlHelper")})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:[a("specialization")," (",a("optional"),")"]}),(0,t.jsx)("div",{className:"grid grid-cols-2 gap-3 mb-3",children:["specEurope","specAsia","specAfrica","specAmericas","specOceania","specTransport","specCulture","specNature","specFood","specHistory","specAdventure"].map(e=>(0,t.jsxs)("label",{className:"flex items-center gap-2 p-3 border-2 rounded-lg cursor-pointer transition-all ".concat(o.includes(e)?"border-green-500 bg-green-50":"border-gray-200 hover:border-gray-300"),children:[(0,t.jsx)("input",{type:"checkbox",checked:o.includes(e),onChange:()=>s(e),className:"w-4 h-4 text-green-600 rounded focus:ring-green-500"}),(0,t.jsx)("span",{className:"text-sm text-gray-700",children:a(e)})]},e))}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-xs text-gray-600 mb-1",children:[a("specOther")," - ",a("customText")]}
9),(0,t.jsx)("input",{type:"text",value:l,onChange:e=>c(e.target.value),placeholder:"it"===d?"Es: Architettura, Enogastronomia...":"E.g: Architecture, Wine & Food...",className:"w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent text-sm"})]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-3",children:[a("motivation")," * - ",a("selectOne")]}),(0,t.jsx)("div",{className:"space-y-2 mb-3",children:["motPassion","motEducation","motCareer","motCommunity","motExperience","motOther"].map(e=>(0,t.jsxs)("label",{className:"flex items-start gap-3 p-3 border-2 rounded-lg cursor-pointer transition-all ".concat(n.motivation===e?"border-green-500 bg-green-50":"border-gray-200 hover:border-gray-300"),children:[(0,t.jsx)("input",{type:"radio",name:"motivation",value:e,checked:n.motivation===e,onChange:e=>r({...n,motivation:e.target.value}),className:"w-4 h-4 text-green-600 focus:ring-green-500 mt-0.5",required:!0}),(0,t.jsx)("span",{className:"text-sm text-gray-700",children:a(e)})]},e))}),"motOther"===n.motivation&&(0,t.jsxs)("div",{className:"mt-3",children:[(0,t.jsx)("label",{className:"block text-xs text-gray-600 mb-1",children:a("customText")}),(0,t.jsx)("textarea",{value:n.motivationCustom,onChange:e=>r({...n,motivationCustom:e.target.value}),placeholder:a("motivationPlaceholder"),rows:4,className:"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent text-sm",required:"motOther"===n.motivation})]})]}),(0,t.jsxs)("div",{className:"space-y-3",children:[(0,t.jsxs)("label",{className:"flex items-start gap-2 text-sm text-gray-700",children:[(0,t.jsx)("input",{type:"checkbox",checked:n.privacy_consent,onChange:e=>r({...n,privacy_consent:e.target.checked}),className:"w-4 h-4 text-green-600 rounded focus:ring-green-500",required:!0}),(0,t.jsxs)("span",{children:[a("acceptTermsPrefix")," ",(0,t.jsx)(f(),{className:"underline",href:"/terms",children:a("termsLink")})," ",a("andPrivacy")," ",(0,t.jsx)(f(),{className:"underline",href:"/privacy",children:a("privacyLink")})," *"]})]}),(0,t.jsxs)("div",{children:[(0,t.jsxs)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:[a("ageDeclaration")," *"]}),(0,t.jsxs)("div",{className:"space-y-3 rounded-lg border border-gray-200 p-4",children:[(0,t.jsxs)("label",{className:"flex items-start gap-2 text-sm text-gray-700",children:[(0,t.jsx)("input",{type:"checkbox",checked:"solo_maggiorenni"===n.minor_declaration,onChange:e=>r({...n,minor_declaration:e.target.checked?"solo_maggiorenni":""}),className:"mt-0.5 h-4 w-4 text-green-600 rounded focus:ring-green-500"}),(0,t.jsx)("span",{children:a("ageAdultOnly")})]}),"high_school"===n.category&&(0,t.jsxs)("label",{className:"flex items-start gap-2 text-sm text-gray-700",children:[(0,t.jsx)("input",{type:"checkbox",checked:"include_minori_con_liberatoria"===n.minor_declaration,onChange:e=>r({...n,minor_declaration:e.target.checked?"include_minori_con_liberatoria":""}),className:"mt-0.5 h-4 w-4 text-green-600 rounded focus:ring-green-500"}),(0,t.jsxs)("span",{children:[a("ageMinorWithConsent")," *"]})]})]})]})]}),u&&(0,t.jsx)("div",{className:"p-4 bg-red-50 border border-red-200 rounded-lg text-red-700",children:u}),(0,t.jsxs)("div",{className:"flex gap-4 mt-8",children:[(0,t.jsx)("button",{type:"button",onClick:g,disabled:m,className:"flex-1 px-6 py-3 bg-gray-200 hover:bg-gray-300 text-gray-700 rounded-lg font-medium transition-colors disabled:opacity-50",children:a("back")}),(0,t.jsxs)("button",{type:"submit",disabled:m,className:"flex-1 px-6 py-3 bg-green-600 hover:bg-green-700 text-white rounded-lg font-medium transition-colors disabled:opacity-50 flex items-center justify-center gap-2",children:[m&&(0,t.jsx)("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white"}),a("submit")]})]})]})]})}function x(){let e=(0,r.useRouter)(),{language:a,changeLanguage:i}
9=(0,l.ok)(),[y,f]=(0,n.useState)(1),[x,v]=(0,n.useState)(!1),[N,S]=(0,n.useState)(null),[C,A]=(0,n.useState)("");(0,n.useEffect)(()=>{e.query.lang&&i(e.query.lang)},[e.query.lang,i]),(0,n.useEffect)(()=>{let a=e.query.category;a&&new Set(["high_school","university","professional","teacher","blogger","sysadmin","other"]).has(a)&&(_(e=>({...e,category:a})),f(2))},[e.query.category]);let[M,_]=(0,n.useState)({category:"",first_name:"",last_name:"",email:"",email_confirm:"",country_code:"",country:"",privacy_consent:!1,minor_declaration:"",school_name:"",university:"",degree_program:"",year_of_study:"",company_name:"",job_title:"",website:"",specialization:"",motivation:"",motivationCustom:""}),[j,T]=(0,n.useState)([]),[E,P]=(0,n.useState)("");(0,n.useEffect)(()=>{"high_school"!==M.category&&"include_minori_con_liberatoria"===M.minor_declaration&&_(e=>({...e,minor_declaration:""}))},[M.category,M.minor_declaration]);let I=e=>{var i,t;return(null==(i=p[e])?void 0:i[a])||(null==(t=p[e])?void 0:t.en)||e},R=(0,n.useMemo)(()=>String(M.email||"").trim().toLowerCase(),[M.email]),w=(0,n.useMemo)(()=>String(M.email_confirm||"").trim().toLowerCase(),[M.email_confirm]),B=(0,n.useMemo)(()=>w.length?R===w?"match":"mismatch":"idle",[w,R]),k=(0,n.useMemo)(()=>(0,d.jo)(a),[a]),L=(0,n.useMemo)(()=>(0,d.lR)(k,C),[k,C]);(0,n.useEffect)(()=>{if(!M.country_code)return;let e=k.find(e=>e.code===M.country_code);e&&(A((0,d.eL)(e)),_(a=>a.country===e.label?a:{...a,country:e.label}))},[k,M.country_code]);let G=async i=>{if(i.preventDefault(),v(!0),S(null),!M.motivation){S(I("fillRequired")),v(!1);return}if(!M.privacy_consent){S(I("acceptTermsRequired")),v(!1);return}if(!M.minor_declaration){S(I("ageDeclarationRequired")),v(!1);return}if("motOther"===M.motivation&&!M.motivationCustom.trim()){S("it"===a?"Per favore specifica la tua motivazione":"Please specify your motivation"),v(!1);return}if(!(e=>{let a=String(e||"").trim();if(!a)return!0;try{let e=new URL(a);return"https:"===e.protocol||"http:"===e.protocol}catch(e){return!1}})(M.website)){S(I("validUrlMessage")),v(!1);return}try{let i=(e=>{let{formData:a,language:i,selectedSpecializations:t,customSpecialization:n,t:r}=e,o=t.map(e=>r(e));n.trim()&&o.push(n.trim());let s=a.motivation;return"motOther"===a.motivation&&a.motivationCustom.trim()?s=a.motivationCustom.trim():a.motivation&&"motOther"!==a.motivation&&(s=r(a.motivation)),{application_type:({high_school:"school",university:"school",teacher:"school",professional:"professional",blogger:"content_creator",sysadmin:"tech",other:"thematic_expert"})[a.category]||"thematic_expert",nome:a.first_name,cognome_o_nome_professionale:a.last_name,email:a.email,paese:a.country,lingue_lavoro:[i],ui_language:i,affiliazione_ente:a.company_name||a.university||a.school_name||null,ruolo_profilo:a.job_title||a.degree_program||null,sito_o_profilo_link:a.website||null,motivazione:s,approccio_valori:null,privacy_consent:!0,minor_declaration:a.minor_declaration,source_channel:"website_form",details:{nome_istituto:a.school_name||a.university||null,tipologia_istituto:"teacher"===a.category?"teacher":null,referente_nome:"".concat(a.first_name," ").concat(a.last_name).trim(),referente_email:a.email,country_code:a.country_code||null,degree_program:a.degree_program||null,year_of_study:a.year_of_study||null,portfolio_link:a.website||null,lavori_rappresentativi:null,approccio_storytelling:null,approccio_sostenibilita:null,ambiti_creativi:o,tipologia_servizi_offerti:o,area_expertise:a.specialization||null,profilo_tecnico:a.specialization||null}}})({formData:M,language:a,selectedSpecializations:j,customSpecialization:E,t:I}),t=await (0,c.t)("/collaborations/apply",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)});if(!t.ok){let e=await t.json().catch(()=>null);if(409===t.status)throw Error((null==e?void 0:e.message)||I("duplicateApplication"));throw Error((null==e?void 0:e.message)||(null==e?void 0:e.error)||I("genericSubmitError"))}S(null),alert(I("registrationSuccess")),setTimeout(()=>{e.push("/collaborations")},1500)}catch(e){console.error("Registration error:",e),S(e.message)}finally{v(!1)}};return(0,t.jsxs)("div",{className:"min-h-screen",style:{"--page-bg-color":"#F5F0E9",backgroundColor:"#F5F0E9"},children:[(0,t.jsx)(g.A,{title:"Manifestazione di interesse - Collaborazioni | Mind the Journey",description:"Form candidatura collaboratori Mind the Journey.",canonicalPath:"/collaborations/register",noindex:!0}),(0,t.jsx)(u.A,{}),(0,t.jsxs)("main",{className:"max-w-4xl mx-auto px-4 sm:px-6 lg:px-8 py-8",children:[(0,t.jsx)("div",{className:"flex items-center justify-center mb-8",children:[1,2,3].map(e=>(0,t.jsxs)(n.Fragment,{children:[(0,t.jsx)("div",{className:"flex items-center justify-center w-10 h-10 rounded-full font-bold ".concat(y>=e?"bg-green-600 text-white":"bg-gray-200 text-gray-600"),children:e}),e<3&&(0,t.jsx)("div",{className:"w-24 h-1 ".concat(y>e?"bg-green-600":"bg-gray-200")})]},e))}),(0,t.jsx)("div",{className:"bg-white rounded-lg shadow-xl p-8",children:(0,t.jsxs)(o.N,{mode:"wait",children:[1===y&&(0,t.jsxs)(s.P.div,{initial:{opacity:0,x:20}
9,animate:{opacity:1,x:0},exit:{opacity:0,x:-20},children:[(0,t.jsx)("h2",{className:"text-3xl font-bold text-gray-900 mb-8 text-center",children:I("step1Title")}),(0,t.jsx)("div",{className:"grid sm:grid-cols-2 gap-4",children:[{id:"high_school",icon:"\uD83C\uDF93",name:"highSchool",desc:"highSchoolDesc"},{id:"university",icon:"\uD83C\uDFDB️",name:"university",desc:"universityDesc"},{id:"professional",icon:"\uD83D\uDCBC",name:"professional",desc:"professionalDesc"},{id:"teacher",icon:"\uD83D\uDC68‍\uD83C\uDFEB",name:"teacher",desc:"teacherDesc"},{id:"blogger",icon:"✍️",name:"blogger",desc:"bloggerDesc"},{id:"sysadmin",icon:"\uD83D\uDCBB",name:"sysadmin",desc:"sysadminDesc"},{id:"other",icon:"\uD83C\uDF1F",name:"other",desc:"otherDesc"}].map(e=>(0,t.jsxs)("button",{onClick:()=>{var a;return a=e.id,void(_({...M,category:a,minor_declaration:"high_school"===a||"solo_maggiorenni"===M.minor_declaration?M.minor_declaration:""}),f(2))},className:"text-left p-6 border-2 border-gray-200 rounded-lg hover:border-green-500 hover:bg-green-50 transition-all group",children:[(0,t.jsx)("div",{className:"text-4xl mb-3",children:e.icon}),(0,t.jsx)("h3",{className:"text-lg font-bold text-gray-900 mb-2 group-hover:text-green-600",children:I(e.name)}),(0,t.jsx)("p",{className:"text-sm text-gray-600",children:I(e.desc)})]},e.id))})]},"step1"),2===y&&(0,t.jsx)(s.P.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},children:(0,t.jsx)(h,{t:I,formData:M,setFormData:_,emailMatchState:B,getConfirmInputClassName:e=>"match"===e?"w-full px-4 py-3 border border-green-500 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent":"mismatch"===e?"w-full px-4 py-3 border border-red-500 rounded-lg focus:ring-2 focus:ring-red-500 focus:border-transparent":"w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-green-500 focus:border-transparent",countryQuery:C,onCountryQueryChange:e=>{A(e),_(a=>({...a,country_code:"",country:e})),S(null)},filteredCountries:L,onCountrySelect:e=>{A((0,d.eL)(e)),_(a=>({...a,country_code:e.code,country:e.label})),S(null)},error:N,onBack:()=>f(1),onNext:()=>{if(2===y){if(!M.first_name||!M.last_name||!M.email||!M.email_confirm)return void S(I("fillRequired"));if(!M.country_code)return void S(I("selectValidCountry"));if(R!==w)return void S(I("emailMismatch"));S(null),f(3)}}})},"step2"),3===y&&(0,t.jsx)(s.P.div,{initial:{opacity:0,x:20},animate:{opacity:1,x:0},exit:{opacity:0,x:-20},children:(0,t.jsx)(b,{t:I,handleSubmit:G,formData:M,setFormData:_,selectedSpecializations:j,toggleSpecialization:e=>{T(a=>a.includes(e)?a.filter(a=>a!==e):[...a,e])},customSpecialization:E,setCustomSpecialization:P,language:a,error:N,loading:x,onBack:()=>f(2)})},"step3")]})})]}),(0,t.jsx)(m.A,{})]})}},7947:(e,a)=>{"use strict";let i={ITA:{en:"Italy",it:"Italia"},FRA:{en:"France",it:"Francia"},ESP:{en:"Spain",it:"Spagna"},AZO:{en:"Azores",it:"Azzorre"},CNI:{en:"Canary Islands",it:"Isole Canarie"},BAL:{en:"Balearic Islands",it:"Isole Baleari"},ALD:{en:"\xc5land Islands",it:"Isole \xc5land"},GGY:{en:"Guernsey",it:"Guernsey"},JEY:{en:"Jersey",it:"Jersey"},IMN:{en:"Isle of Man",it:"Isola di Man"},CEU:{en:"Ceuta",it:"Ceuta"},MEL:{en:"Melilla",it:"Melilla"},DEU:{en:"Germany",it:"Germania"},GBR:{en:"United Kingdom",it:"Regno Unito"},PRT:{en:"Portugal",it:"Portogallo"},NLD:{en:"Netherlands",it:"Paesi Bassi"},BEL:{en:"Belgium",it:"Belgio"},CHE:{en:"Switzerland",it:"Svizzera"},AUT:{en:"Austria",it:"Austria"},POL:{en:"Poland",it:"Polonia"},GRC:{en:"Greece",it:"Grecia"},NOR:{en:"Norway",it:"Norvegia"},SWE:{en:"Sweden",it:"Svezia"},DNK:{en:"Denmark",it:"Danimarca"},FIN:{en:"Finland",it:"Finlandia"},ISL:{en:"Iceland",it:"Islanda"},IRL:{en:"Ireland",it:"Irlanda"},CZE:{en:"Czech Republic",it:"Repubblica Ceca"},HUN:{en:"Hungary",it:"Ungheria"},ROU:{en:"Romania",it:"Romania"},BGR:{en:"Bulgaria",it:"Bulgaria"},HRV:{en:"Croatia",it:"Croazia"},SVN:{en:"Slovenia",it:"Slovenia"},SVK:{en:"Slovakia",it:"Slovacchia"},LUX:{en:"Luxembourg",it:"Lussemburgo"},MLT:{en:"Malta",it:"Malta"},CYP:{en:"Cyprus",it:"Cipro"},EST:{en:"Estonia",it:"Estonia"},LVA:{en:"Latvia",it:"Lettonia"},LTU:{en:"Lithuania",it:"Lituania"},ALB:{en:"Albania",it:"Albania"},MKD:{en:"North Macedonia",it:"Macedonia del Nord"},SRB:{en:"Serbia",it:"Serbia"},MNE:{en:"Montenegro",it:"Montenegro"},BIH:{en:"Bosnia and Herzegovina",it:"Bosnia ed Erzegovina"},UKR:{en:"Ukraine",it:"Ucraina"},BLR:{en:"Belarus",it:"Bielorussia"},MDA:{en:"Moldova",it:"Moldavia"},RUS:{en:"Russia",it:"Russia"},TUR:{en:"Turkey",it:"Turchia"},AND:{en:"Andorra",it:"Andorra"},MCO:{en:"Monaco",it:"Monaco"},SMR:{en:"San Marino",it:"San Marino"},VAT:{en:"Vatican City",it:"Citt\xe0 del Vaticano"},LIE:{en:"Liechtenstein",it:"Liechtenstein"},USA:{en:"United States",it:"Stati Uniti"},CAN:{en:"Canada",it:"Canada"},MEX:{en:"Mexico",it:"Messico"},BRA:{en:"Brazil",it:"Brasile"},BAN:{en:"Fernando de Noronha - Brazilian Archipelagos",it:"Fern
9ando de Noronha - Arcipelago Brasiliano"},ARG:{en:"Argentina",it:"Argentina"},CHL:{en:"Chile",it:"Cile"},COL:{en:"Colombia",it:"Colombia"},PER:{en:"Peru",it:"Per\xf9"},VEN:{en:"Venezuela",it:"Venezuela"},ECU:{en:"Ecuador",it:"Ecuador"},BOL:{en:"Bolivia",it:"Bolivia"},PRY:{en:"Paraguay",it:"Paraguay"},URY:{en:"Uruguay",it:"Uruguay"},GUY:{en:"Guyana",it:"Guyana"},SUR:{en:"Suriname",it:"Suriname"},GUF:{en:"French Guiana",it:"Guyana Francese"},CUB:{en:"Cuba",it:"Cuba"},JAM:{en:"Jamaica",it:"Giamaica"},HTI:{en:"Haiti",it:"Haiti"},DOM:{en:"Dominican Republic",it:"Repubblica Dominicana"},PRI:{en:"Puerto Rico",it:"Porto Rico"},CRI:{en:"Costa Rica",it:"Costa Rica"},PAN:{en:"Panama",it:"Panama"},GTM:{en:"Guatemala",it:"Guatemala"},HND:{en:"Honduras",it:"Honduras"},NIC:{en:"Nicaragua",it:"Nicaragua"},SLV:{en:"El Salvador",it:"El Salvador"},BLZ:{en:"Belize",it:"Belize"},CHN:{en:"China",it:"Cina"},JPN:{en:"Japan",it:"Giappone"},IND:{en:"India",it:"India"},KOR:{en:"South Korea",it:"Corea del Sud"},PRK:{en:"North Korea",it:"Corea del Nord"},THA:{en:"Thailand",it:"Thailandia"},VNM:{en:"Vietnam",it:"Vietnam"},IDN:{en:"Indonesia",it:"Indonesia"},TLS:{en:"East Timor",it:"Timor Est"},PHL:{en:"Philippines",it:"Filippine"},MYS:{en:"Malaysia",it:"Malesia"},SGP:{en:"Singapore",it:"Singapore"},SGS:{en:"South Georgia and South Sandwich Islands",it:"Georgia del Sud e Isole Sandwich Australi"},MMR:{en:"Myanmar",it:"Myanmar"},KHM:{en:"Cambodia",it:"Cambogia"},LAO:{en:"Laos",it:"Laos"},BGD:{en:"Bangladesh",it:"Bangladesh"},PAK:{en:"Pakistan",it:"Pakistan"},AFG:{en:"Afghanistan",it:"Afghanistan"},IRN:{en:"Iran",it:"Iran"},IRQ:{en:"Iraq",it:"Iraq"},SAU:{en:"Saudi Arabia",it:"Arabia Saudita"},ARE:{en:"United Arab Emirates",it:"Emirati Arabi Uniti"},ISR:{en:"Israel",it:"Israele"},JOR:{en:"Jordan",it:"Giordania"},LBN:{en:"Lebanon",it:"Libano"},SYR:{en:"Syria",it:"Siria"},YEM:{en:"Yemen",it:"Yemen"},OMN:{en:"Oman",it:"Oman"},KWT:{en:"Kuwait",it:"Kuwait"},QAT:{en:"Qatar",it:"Qatar"},BHR:{en:"Bahrain",it:"Bahrein"},GEO:{en:"Georgia",it:"Georgia"},ARM:{en:"Armenia",it:"Armenia"},AZE:{en:"Azerbaijan",it:"Azerbaigian"},KAZ:{en:"Kazakhstan",it:"Kazakistan"},UZB:{en:"Uzbekistan",it:"Uzbekistan"},TKM:{en:"Turkmenistan",it:"Turkmenistan"},KGZ:{en:"Kyrgyzstan",it:"Kirghizistan"},TJK:{en:"Tajikistan",it:"Tagikistan"},MNG:{en:"Mongolia",it:"Mongolia"},NPL:{en:"Nepal",it:"Nepal"},BTN:{en:"Bhutan",it:"Bhutan"},LKA:{en:"Sri Lanka",it:"Sri Lanka"},MDV:{en:"Maldives",it:"Maldive"},EGY:{en:"Egypt",it:"Egitto"},ZAF:{en:"South Africa",it:"Sudafrica"},LSO:{en:"Lesotho",it:"Lesotho"},SWZ:{en:"Eswatini",it:"Eswatini"},NGA:{en:"Nigeria",it:"Nigeria"},KEN:{en:"Kenya",it:"Kenya"},ETH:{en:"Ethiopia",it:"Etiopia"},GHA:{en:"Ghana",it:"Ghana"},TZA:{en:"Tanzania",it:"Tanzania"},UGA:{en:"Uganda",it:"Uganda"},DZA:{en:"Algeria",it:"Algeria"},MAR:{en:"Morocco",it:"Marocco"},TUN:{en:"Tunisia",it:"Tunisia"},LBY:{en:"Libya",it:"Libia"},SDN:{en:"Sudan",it:"Sudan"},SSD:{en:"South Sudan",it:"Sudan del Sud"},SEN:{en:"Senegal",it:"Senegal"},CIV:{en:"Ivory Coast",it:"Costa d'Avorio"},CMR:{en:"Cameroon",it:"Camerun"},AGO:{en:"Angola",it:"Angola"},MOZ:{en:"Mozambique",it:"Mozambico"},MDG:{en:"Madagascar",it:"Madagascar"},BWA:{en:"Botswana",it:"Botswana"},NAM:{en:"Namibia",it:"Namibia"},ZWE:{en:"Zimbabwe",it:"Zimbabwe"},ZMB:{en:"Zambia",it:"Zambia"},MWI:{en:"Malawi",it:"Malawi"},RWA:{en:"Rwanda",it:"Ruanda"},BDI:{en:"Burundi",it:"Burundi"},SOM:{en:"Somalia",it:"Somalia"},ERI:{en:"Eritrea",it:"Eritrea"},DJI:{en:"Djibouti",it:"Gibuti"},MLI:{en:"Mali",it:"Mali"},NER:{en:"Niger",it:"Niger"},TCD:{en:"Chad",it:"Ciad"},CAF:{en:"Central African Republic",it:"Repubblica Centrafricana"},COG:{en:"Republic of the Congo",it:"Repubblica del Congo"},COD:{en:"Democratic Republic of the Congo",it:"Repubblica Democratica del Congo"},GAB:{en:"Gabon",it:"Gabon"},GNQ:{en:"Equatorial Guinea",it:"Guinea Equatoriale"},BFA:{en:"Burkina Faso",it:"Burkina Faso"},BEN:{en:"Benin",it:"Benin"},TGO:{en:"Togo",it:"Togo"},LBR:{en:"Liberia",it:"Liberia"},SLE:{en:"Sierra Leone",it:"Sierra Leone"},GIN:{en:"Guinea",it:"Guinea"},GNB:{en:"Guinea-Bissau",it:"Guinea-Bissau"}
9,GMB:{en:"Gambia",it:"Gambia"},MRT:{en:"Mauritania",it:"Mauritania"},MUS:{en:"Mauritius",it:"Mauritius"},SYC:{en:"Seychelles",it:"Seychelles"},COM:{en:"Comoros",it:"Comore"},CPV:{en:"Cape Verde",it:"Capo Verde"},STP:{en:"S\xe3o Tom\xe9 and Pr\xedncipe",it:"S\xe3o Tom\xe9 e Pr\xedncipe"},AUS:{en:"Australia",it:"Australia"},NZL:{en:"New Zealand",it:"Nuova Zelanda"},NFK:{en:"Norfolk Island",it:"Isola Norfolk"},PNG:{en:"Papua New Guinea",it:"Papua Nuova Guinea"},FJI:{en:"Fiji",it:"Figi"},SLB:{en:"Solomon Islands",it:"Isole Salomone"},VUT:{en:"Vanuatu",it:"Vanuatu"},NCL:{en:"New Caledonia",it:"Nuova Caledonia"},PYF:{en:"French Polynesia",it:"Polinesia Francese"},WSM:{en:"Samoa",it:"Samoa"},TON:{en:"Tonga",it:"Tonga"},KIR:{en:"Kiribati",it:"Kiribati"},TUV:{en:"Tuvalu",it:"Tuvalu"},NRU:{en:"Nauru",it:"Nauru"},PLW:{en:"Palau",it:"Palau"},FSM:{en:"Micronesia",it:"Micronesia"},MHL:{en:"Marshall Islands",it:"Isole Marshall"},COK:{en:"Cook Islands",it:"Isole Cook"},BHS:{en:"Bahamas",it:"Bahamas"},BRB:{en:"Barbados",it:"Barbados"},TTO:{en:"Trinidad and Tobago",it:"Trinidad e Tobago"},GRD:{en:"Grenada",it:"Grenada"},LCA:{en:"Saint Lucia",it:"Santa Lucia"},VCT:{en:"Saint Vincent and the Grenadines",it:"Saint Vincent e Grenadine"},ATG:{en:"Antigua and Barbuda",it:"Antigua e Barbuda"},KNA:{en:"Saint Kitts and Nevis",it:"Saint Kitts e Nevis"},DMA:{en:"Dominica",it:"Dominica"},ABW:{en:"Aruba",it:"Aruba"}
9,CUW:{en:"Cura\xe7ao",it:"Cura\xe7ao"},SXM:{en:"Sint Maarten",it:"Sint Maarten"},MAF:{en:"Saint Martin",it:"Saint Martin"},BLM:{en:"Saint Barth\xe9lemy",it:"Saint-Barth\xe9lemy"},AIA:{en:"Anguilla",it:"Anguilla"},MSR:{en:"Montserrat",it:"Montserrat"},VGB:{en:"British Virgin Islands",it:"Isole Vergini Britanniche"},CYM:{en:"Cayman Islands",it:"Isole Cayman"},TCA:{en:"Turks and Caicos",it:"Turks e Caicos"},BMU:{en:"Bermuda",it:"Bermuda"},GRL:{en:"Greenland",it:"Groenlandia"},FRO:{en:"Faroe Islands",it:"Isole F\xe6r \xd8er"},KER:{en:"Kerguelen Islands",it:"Isole Kerguelen"},HMD:{en:"Heard Island and McDonald Islands",it:"Isole Heard e McDonald"},RPN:{en:"Rapa Nui (Easter Island)",it:"Rapa Nui (Isola di Pasqua)"},ATF:{en:"French Southern Territories",it:"Terre Australi Francesi"},GIB:{en:"Gibraltar",it:"Gibilterra"},FLK:{en:"Falkland Islands",it:"Isole Falkland"},GLP:{en:"Guadeloupe",it:"Guadalupa"},MTQ:{en:"Martinique",it:"Martinica"},REU:{en:"R\xe9union",it:"Riunione"},MYT:{en:"Mayotte",it:"Mayotte"},SPM:{en:"Saint Pierre and Miquelon",it:"Saint-Pierre e Miquelon"},WLF:{en:"Wallis and Futuna",it:"Wallis e Futuna"},ASM:{en:"American Samoa",it:"Samoa Americane"},GUM:{en:"Guam",it:"Guam"},MNP:{en:"Northern Mariana Islands",it:"Isole Marianne Settentrionali"},VIR:{en:"U.S. Virgin Islands",it:"Isole Vergini Americane"},BRN:{en:"Brunei",it:"Brunei"},TWN:{en:"Taiwan",it:"Taiwan"},HKG:{en:"Hong Kong",it:"Hong Kong"},MAC:{en:"Macau",it:"Macao"},IOT:{en:"British Indian Ocean Territory",it:"Territorio Britannico dell'Oceano Indiano"},SHN:{en:"Saint Helena",it:"Sant'Elena"},ATA:{en:"Antarctica",it:"Antartide"},BES:{en:"Bonaire",it:"Bonaire"},NIU:{en:"Niue",it:"Niue"},PCN:{en:"Pitcairn Islands",it:"Isole Pitcairn"},TKL:{en:"Tokelau",it:"Tokelau"},ESH:{en:"Western Sahara",it:"Sahara Occidentale"},PSE:{en:"Palestine",it:"Palestina"},KOS:{en:"Kosovo",it:"Kosovo"},SOL:{en:"Somaliland",it:"Somaliland"},CYN:{en:"Northern Cyprus",it:"Cipro del Nord"}},t={SEY:"SYC",XKX:"KOS"};function n(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"en",n=i[Object.prototype.hasOwnProperty.call(t,e)?t[e]:e];return n?n[a]||n.en:e}e.exports={countryNames:i,getCountryName:n},a.countryNames=i,a.getCountryName=n}},e=>{e.O(0,[144,7421,8371,636,6593,8792],()=>e(e.s=2252)),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.