(()=>{"use strict";var e={494:(e,r,o)=>{var t=o(238);self.onmessage=e=>{console.log("Worker ricevuto file:",e.data.file);const{file:r}=e.data,o=new FileReader;o.onload=e=>{try{const r=new Uint8Array(e.target.result),o=t.LF(r,{type:"array"}),a=o.Sheets[o.SheetNames[0]],s=t.Wp.sheet_to_json(a,{header:1});self.postMessage({rows:s}),console.log("Parsing completato, righe:",s.length)}catch(r){console.error("Errore parsing:",r),self.postMessage({error:"Errore durante il parsing del file Excel."})}},o.onerror=()=>{self.postMessage({error:"Errore nella lettura del file."})},o.readAsArrayBuffer(r)}}},r={};function o(t){var a=r[t];if(void 0!==a)return a.exports;var s=r[t]={exports:{}};return e[t](s,s.exports,o),s.exports}o.m=e,o.x=()=>{var e=o.O(void 0,[238],(()=>o(494)));return e=o.O(e)},(()=>{var e=[];o.O=(r,t,a,s)=>{if(!t){var l=1/0;for(f=0;f<e.length;f++){t=e[f][0],a=e[f][1],s=e[f][2];for(var n=!0,i=0;i<t.length;i++)(!1&s||l>=s)&&Object.keys(o.O).every((e=>o.O[e](t[i])))?t.splice(i--,1):(n=!1,s<l&&(l=s));if(n){e.splice(f--,1);var p=a();void 0!==p&&(r=p)}}return r}s=s||0;for(var f=e.length;f>0&&e[f-1][2]>s;f--)e[f]=e[f-1];e[f]=[t,a,s]}})(),o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.f={},o.e=e=>Promise.all(Object.keys(o.f).reduce(((r,t)=>(o.f[t](e,r),r)),[])),o.u=e=>"static/js/"+e+".c5b75cd3.chunk.js",o.miniCssF=e=>{},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.p="/",(()=>{var e={494:1};o.f.i=(r,t)=>{e[r]||importScripts(o.p+o.u(r))};var r=self.webpackChunkreact_app=self.webpackChunkreact_app||[],t=r.push.bind(r);r.push=r=>{var a=r[0],s=r[1],l=r[2];for(var n in s)o.o(s,n)&&(o.m[n]=s[n]);for(l&&l(o);a.length;)e[a.pop()]=1;t(r)}})(),(()=>{var e=o.x;o.x=()=>o.e(238).then(e)})();o.x()})();
//# sourceMappingURL=494.3cb9dc30.chunk.js.map