PageSourceSearch

https://www.bliko.ai/_next/static/chunks/1d3yt5vqihjso.js

js bliko.ai collected 2026-10-05 11:51:01 UTC 54,360 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,916417,e=>{"use strict";var a=e.i(681099),t=e.i(514499),n=e.i(693610),i=e.i(913495),r=e.i(581755),l=e.i(416968),s=e.i(582153),o=e.i(57579),d=e.i(849304),c=e.i(698418),u=e.i(226989),m=e.i(346536),p=e.i(149022),h=e.i(470590),x=e.i(146331),f=e.i(474870),b=e.i(690742),y=["layout","type","stroke","connectNulls","isRange","ref"],g=["key"];function j(e){return(j="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function v(e,a){if(null==e)return{};var t,n,i=function(e,a){if(null==e)return{};var t={};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(a.indexOf(n)>=0)continue;t[n]=e[n]}return t}(e,a);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)t=r[n],!(a.indexOf(t)>=0)&&Object.prototype.propertyIsEnumerable.call(e,t)&&(i[t]=e[t])}return i}function N(){return(N=Object.assign.bind()).apply(this,arguments)}function w(e,a){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);a&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),t.push.apply(t,n)}return t}function A(e){for(var a=1;a<arguments.length;a++){var t=null!=arguments[a]?arguments[a]:{};a%2?w(Object(t),!0).forEach(function(a){E(e,a,t[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):w(Object(t)).forEach(function(a){Object.defineProperty(e,a,Object.getOwnPropertyDescriptor(t,a))})}return e}function I(e,a){for(var t=0;t<a.length;t++){var n=a[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,C(n.key),n)}}function P(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(P=function(){return!!e})()}function k(e){return(k=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function O(e,a){return(O=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,a){return e.__proto__=a,e})(e,a)}function E(e,a,t){return(a=C(a))in e?Object.defineProperty(e,a,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[a]=t,e}function C(e){var a=function(e,a){if("object"!=j(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,a||"default");if("object"!=j(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===a?String:Number)(e)}(e,"string");return"symbol"==j(a)?a:a+""}var S=function(e){var a,u;function h(){var e,a,t;if(!(this instanceof h))throw TypeError("Cannot call a class as a function");for(var n=arguments.length,i=Array(n),l=0;l<n;l++)i[l]=arguments[l];return a=h,t=[].concat(i),a=k(a),E(e=function(e,a){if(a&&("object"===j(a)||"function"==typeof a))return a;if(void 0!==a)throw TypeError("Derived constructors may only return object or undefined");var t=e;if(void 0===t)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(this,P()?Reflect.construct(a,t||[],k(this).constructor):a.apply(this,t)),"state",{isAnimationFinished:!0}),E(e,"id",(0,x.uniqueId)("recharts-area-")),E(e,"handleAnimationEnd",function(){var a=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),(0,r.default)(a)&&a()}),E(e,"handleAnimationStart",function(){var a=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),(0,r.default)(a)&&a()}),e}if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function");return h.prototype=Object.create(e&&e.prototype,{constructor:{value:h,writable:!0,configurable:!0}}),Object.defineProperty(h,"prototype",{writable:!1}),e&&O(h,e),a=[{key:"renderDots",value:function(e,a,n){var i=this.props.isAnimationActive,r=this.state.isAnimationFinished;if(i&&!r)return null;var l=this.props,s=l.dot,o=l.points,d=l.dataKey,c=(0,b.filterProps)(this.props,!1),u=(0,b.filterProps)(s,!0),p=o.map(function(e,a){var t=A(A(A({key:"dot-".concat(a),r:3},c),u),{},{index:a,cx:e.x,cy:e.y,dataKey:d,value:e.value,payload:e.payload,points:o});return h.renderDotItem(s,t)}),x={clipPath:e?"url(#clipPath-".concat(a?"":"dots-").concat(n,")"):null};return t.default.createElement(m.Layer,N({className:"recharts-area-dots"},x),p)}},{key:"renderHorizontalRect",value:function(e){var a=this.props,n=a.baseLine,i=a.points,r=a.strokeWidth,s=i[0].x,o=i[i.length-1].x,d=e*Math.abs(s-o),c=(0,l.default)(i.map(function(e){return e.y||0}));return((0,x.isNumber)(n)&&"number"==typeof n?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max((0,l.default)(n.map(function(e){return e.y||0})),c)),(0,x.isNumber)(c))?t.default.createElement("rect",{x:s<o?s:s-d,y:0,width:d,height:Math.floor(c+(r?parseInt("".concat(r),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var a=this.props,n=a.baseLine,i=a.points,r=a.strokeWidth,s=i[0].y,o=i[i.length-1].y,d=e*Math.abs(s-o),c=(0,l.default)(i.map(function(e){return e.x||0}));return((0,x.isNumber)(n)&&"number"==typeof n?c=Math.max(n,c):n&&Array.isArray(n)&&n.length&&(c=Math.max((0,l.default)(n.map(function(e){return e.x||0})),c)),(0,x.isNumber)(c))?t.default.createElement("rect",{x:0,y:s<o?s:s-d,width:c+(r?parseInt("".concat(r),10):1),height:Math.floor(d)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,a,n,i){var r=this.props,l=r.layout,s=r.type,o=r.stroke,d=r.connectNulls,u=r.isRange,p=(r.ref,v(r,y));return t.default.createElement(m.Layer,{clipPath:n?"url(#clipPath-".concat(i,")"):null},t.default.createElement(c.Curve,N({},(0,b.filterProps)(p,!0),{points:e,connectNulls:d,type:s,baseLine:a,layout:l,stroke:"none",className:"recharts-area-area"})),"none"!==o&&t.default.createElement(c.Curve,N({},(0,b.filterProps)(this.props,!1),{className:"recharts-area-curve",layout:l,type:s,connectNulls:d,fill:"none",points:e})),"none"!==o&&u&&t.default.createElement(c.Curve,N({},(0,b.filterProps)(this.props,!1),{className:"recharts-area-curve",layout:l,type:s,connectNulls:d,fill:"none",points:a})))}},{key:"renderAreaWithAnimation",value:function(e,a){var n=this,r=this.props,l=r.points,d=r.baseLine,c=r.isAnimationActive,u=r.animationBegin,p=r.animationDuration,h=r.animationEasing,f=r.animationId,b=this.state,y=b.prevPoints,g=b.prevBaseLine;return t.default.createElement(i.default,{begin:u,duration:p,isActive:c,easing:h,from:{t:0},to:{t:1},key:"area-".concat(f),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},function(i){var r=i.t;if(y){var c,u=y.length/l.length,p=l.map(function(e,a){var t=Math.floor(a*u);if(y[t]){var n=y[t],i=(0,x.interpolateNumber)(n.x,e.x),l=(0,x.interpolateNumber)(n.y,e.y);return A(A({},e),{},{x:i(r),y:l(r)})}return e});return c=(0,x.isNumber)(d)&&"number"==typeof d?(0,x.interpolateNumber)(g,d)(r):(0,s.default)(d)||
1(0,o.default)(d)?(0,x.interpolateNumber)(g,0)(r):d.map(function(e,a){var t=Math.floor(a*u);if(g[t]){var n=g[t],i=(0,x.interpolateNumber)(n.x,e.x),l=(0,x.interpolateNumber)(n.y,e.y);return A(A({},e),{},{x:i(r),y:l(r)})}return e}),n.renderAreaStatically(p,c,e,a)}return t.default.createElement(m.Layer,null,t.default.createElement("defs",null,t.default.createElement("clipPath",{id:"animationClipPath-".concat(a)},n.renderClipRect(r))),t.default.createElement(m.Layer,{clipPath:"url(#animationClipPath-".concat(a,")")},n.renderAreaStatically(l,d,e,a)))})}},{key:"renderArea",value:function(e,a){var t=this.props,n=t.points,i=t.baseLine,r=t.isAnimationActive,l=this.state,s=l.prevPoints,o=l.prevBaseLine,c=l.totalLength;return r&&n&&n.length&&(!s&&c>0||!(0,d.default)(s,n)||!(0,d.default)(o,i))?this.renderAreaWithAnimation(e,a):this.renderAreaStatically(n,i,e,a)}},{key:"render",value:function(){var e,a=this.props,i=a.hide,r=a.dot,l=a.points,o=a.className,d=a.top,c=a.left,u=a.xAxis,h=a.yAxis,x=a.width,f=a.height,y=a.isAnimationActive,g=a.id;if(i||!l||!l.length)return null;var j=this.state.isAnimationFinished,v=1===l.length,N=(0,n.default)("recharts-area",o),w=u&&u.allowDataOverflow,A=h&&h.allowDataOverflow,I=w||A,P=(0,s.default)(g)?this.id:g,k=null!=(e=(0,b.filterProps)(r,!1))?e:{r:3,strokeWidth:2},O=k.r,E=k.strokeWidth,C=((0,b.hasClipDot)(r)?r:{}).clipDot,S=void 0===C||C,L=2*(void 0===O?3:O)+(void 0===E?2:E);return t.default.createElement(m.Layer,{className:N},w||A?t.default.createElement("defs",null,t.default.createElement("clipPath",{id:"clipPath-".concat(P)},t.default.createElement("rect",{x:w?c:c-x/2,y:A?d:d-f/2,width:w?x:2*x,height:A?f:2*f})),!S&&t.default.createElement("clipPath",{id:"clipPath-dots-".concat(P)},t.default.createElement("rect",{x:c-L/2,y:d-L/2,width:x+L,height:f+L}))):null,v?null:this.renderArea(I,P),(r||v)&&this.renderDots(I,S,P),(!y||j)&&p.LabelList.renderCallByParent(this.props,l))}}],u=[{key:"getDerivedStateFromProps",value:function(e,a){return e.animationId!==a.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:a.curPoints,prevBaseLine:a.curBaseLine}:e.points!==a.curPoints||e.baseLine!==a.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}],a&&I(h.prototype,a),u&&I(h,u),Object.defineProperty(h,"prototype",{writable:!1}),h}(t.PureComponent);E(S,"displayName","Area"),E(S,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!h.Global.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),E(S,"getBaseValue",function(e,a,t,n){var i=e.layout,r=e.baseValue,l=a.props.baseValue,s=null!=l?l:r;if((0,x.isNumber)(s)&&"number"==typeof s)return s;var o="horizontal"===i?n:t,d=o.scale.domain();if("number"===o.type){var c=Math.max(d[0],d[1]),u=Math.min(d[0],d[1]);return"dataMin"===s?u:"dataMax"===s||c<0?c:Math.max(Math.min(d[0],d[1]),0)}return"dataMin"===s?d[0]:"dataMax"===s?d[1]:d[0]}),E(S,"getComposedData",function(e){var a,t=e.props,n=e.item,i=e.xAxis,r=e.yAxis,l=e.xAxisTicks,s=e.yAxisTicks,o=e.bandSize,d=e.dataKey,c=e.stackedData,u=e.dataStartIndex,m=e.displayedData,p=e.offset,h=t.layout,x=c&&c.length,b=S.getBaseValue(t,n,i,r),y="horizontal"===h,g=!1,j=m.map(function(e,a){x?t=c[u+a]:Array.isArray(t=(0,f.getValueByDataKey)(e,d))?g=!0:t=[b,t];var t,n=null==t[1]||x&&null==(0,f.getValueByDataKey)(e,d);return y?{x:(0,f.getCateCoordinateOfLine)({axis:i,ticks:l,bandSize:o,entry:e,index:a}),y:n?null:r.scale(t[1]),value:t,payload:e}:{x:n?null:i.scale(t[1]),y:(0,f.getCateCoordinateOfLine)({axis:r,ticks:s,bandSize:o,entry:e,index:a}),value:t,payload:e}});return a=x||g?j.map(function(e){var a=Array.isArray(e.value)?e.value[0]:null;return y?{x:e.x,y:null!=a&&null!=e.y?r.scale(a):null}:{x:null!=a?i.scale(a):null,y:e.y}}):y?r.scale(b):i.scale(b),A({points:j,baseLine:a,layout:h,isRange:g},p)}),E(S,"renderDotItem",function(e,a){var i;if(t.default.isValidElement(e))i=t.default.cloneElement(e,a);else if((0,r.default)(e))i=e(a);else{var l=(0,n.default)("recharts-area-dot","boolean"!=typeof e?e.className:""),s=a.key,o=v(a,g);i=t.default.createElement(u.Dot,N({},o,{key:s,className:l}))}return i});var L=e.i(483251),R=e.i(692739),T=e.i(295662),M=e.i(783972),q=(0,L.generateCategoricalChart)({chartName:"AreaChart",GraphicalChild:S,axisComponents:[{axisType:"xAxis",AxisComp:R.XAxis},{axisType:"yAxis",AxisComp:T.YAxis}],formatAxisMap:M.formatAxisMap}
1),D=e.i(233321),B=e.i(889640),z=e.i(16243);let U=[{label:"0",value:0},{label:"1",value:14},{label:"2",value:26},{label:"3",value:31},{label:"4",value:46},{label:"5",value:60},{label:"6",value:64},{label:"7",value:78},{label:"8",value:75},{label:"9",value:82},{label:"10",value:96}],G={value:{color:"var(--primary)"}};e.s(["ExtractVolumeChart",0,function(){return(0,a.jsx)(B.ChartContainer,{config:G,className:z.default.extractVolumeChart,children:(0,a.jsxs)(q,{accessibilityLayer:!0,data:U,margin:{top:8,right:6,bottom:0,left:0},children:[(0,a.jsx)("defs",{children:(0,a.jsxs)("linearGradient",{id:"extract-volume-area",x1:"0",x2:"0",y1:"0",y2:"1",children:[(0,a.jsx)("stop",{offset:"0",stopColor:"var(--color-value)",stopOpacity:.24}),(0,a.jsx)("stop",{offset:"1",stopColor:"var(--color-value)",stopOpacity:.02})]})}),(0,a.jsx)(R.XAxis,{dataKey:"label",hide:!0,padding:{left:0,right:0}}),(0,a.jsx)(T.YAxis,{domain:[0,100],hide:!0}),(0,a.jsx)(S,{activeDot:!1,dataKey:"value",dot:!1,fill:"url(#extract-volume-area)",fillOpacity:1,isAnimationActive:!1,stroke:"var(--color-value)",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.5,type:"monotone"}),(0,a.jsx)(D.ReferenceDot,{fill:"#ffffff",isFront:!0,r:3.5,stroke:"var(--color-value)",strokeWidth:2.5,x:"10",y:96})]})})}],916417)},692490,e=>{"use strict";var a=e.i(681099),t=e.i(514499),n=e.i(972299),i=e.i(476553),r=e.i(398794),l=e.i(14874),s=e.i(340312),o=e.i(321008),d=e.i(927178),c=e.i(602058),u=e.i(399618),m=e.i(152129),p=e.i(945151),h=e.i(438673),x=e.i(388369);let f=(0,x.default)("link-2",[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]]);var b=e.i(16211),y=e.i(201482),g=e.i(397895),j=e.i(6103),v=e.i(80348),N=e.i(510676),w=e.i(814417),A=e.i(836270);let I=(0,x.default)("rotate-cw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);var P=e.i(862430),k=e.i(12551),O=e.i(6669),O=O,E=e.i(126026);let C=(0,x.default)("upload",[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]]);var S=e.i(587611),L=e.i(152088);let R="LISTADO FRUTA-VERDURA",T="14/08/2026",M=[{left:{article:"Tomate rama",qty:"6KG"},right:{article:"Manzana fuji",qty:"8KG"}},{left:{article:"Calabacín verde",qty:"4KG"},right:{article:"Pera conferencia"}},{left:{article:"Berenjena"},right:{article:"Plátano canarias",qty:"1CAJ"}},{left:{article:"Judía verde"},right:{article:"Naranja mesa",qty:"6KG"}},{left:{article:"Cebolla blanca",qty:"10KG"},right:{article:"Limón verna",qty:"2KG"}},{left:{article:"Ajo seco"},right:{article:"Melocotón paraguayo"}},{left:{article:"Zanahoria bolsa"},right:{article:"Sandía rayada"}},{left:{article:"Remolacha cocida"},right:{article:"Melón piel de sapo"}},{left:{article:"Espinaca baby",qty:"2PAQ"},right:{article:"Uva blanca"}},{left:{article:"Canónigos"},right:{article:"Kiwi"}},{left:{article:"Rúcula",qty:"3PAQ"},right:{article:"Fresón",qty:"2KG"}},{left:{article:"Pepino holandés",qty:"5KG"},right:{article:"Frambuesa"}},{left:{article:"Puerro"},right:{article:"Arándanos"}},{left:{article:"Apio"},right:{article:"Piña"}},{left:{article:"Champiñón blanco"},right:{article:"Aguacate hass",qty:"1CAJ"}},{left:{article:"Patata lavada",qty:"1SAC"},right:{article:"Tomate cherry"}},{left:{article:"Brócoli"},right:{article:"Pimiento italiano"}},{left:{article:"Col lombarda"},right:{article:"Albahaca"}}],q=[{id:"pdf",label:"PDF",path:"pedidos/pdf",orderId:"PC-2026-0847",source:"email",channelBadge:"Email",channelTitle:"Email · [email protected]",channelDetail:"1 PDF adjunto",channelHint:"Seleccionado por IA",establishmentName:"Obra Hotel Diagonal",establishmentCompany:"Reformas Eixample S.L.",establishmentAddress:"Avinguda Diagonal, 520",deliveryDate:"08/08/2026",timestamp:"7 ago. 2026, 11:08h",notes:"Material antes de las 10:30 h. Incluir albarán PC-2026-0847. Silicona blanca.",lines:[{raw:"tornillo tirafondo inox 5x50",quantity:"12",unit:"caja",product:"TORNILLO TIRAFONDO INOX A2 5X50 TORX",note:"cajas x 200",erpId:"TOR-INOX-5X50",match:"memory"},{raw:"taco nylon 8 mm",quantity:"10",unit:"caja",product:"TACO NYLON UNIVERSAL 8 MM",note:"cajas x 100",erpId:"TA
1CO-8-NYL",match:"memory"},{raw:"silicona neutra blanca",quantity:"24",unit:"ud",product:"SILICONA NEUTRA BLANCA 300 ML",note:"no transparente",erpId:"SIL-NEUT-BLANCO",match:"ai"},{raw:"disco corte inox 115",quantity:"50",unit:"ud",product:"DISCO CORTE INOX 115 X 1,0 MM",note:"",erpId:"DISCO-INOX-115",match:"memory"},{raw:"broca sds 8x160",quantity:"6",unit:"ud",product:"BROCA SDS-PLUS 8 X 160 MM",note:"",erpId:"BROCA-SDS-8X160",match:"ai"},{raw:"guante nitrilo talla 9",quantity:"8",unit:"par",product:"GUANTE NITRILO REFORZADO T9 / L",note:"talla L",erpId:"GUANTE-NIT-T9",match:"memory"},{raw:"cinta pintor azul 48",quantity:"18",unit:"ud",product:"CINTA PINTOR AZUL 48 MM X 50 M",note:"",erpId:"CINTA-AZUL-48",match:"ai"},{raw:"espuma pu 750",quantity:"12",unit:"ud",product:"ESPUMA PU PISTOLA 750 ML",note:"",erpId:"ESP-PU-750",match:"memory"}],evidence:{kind:"email",subject:"Pedido de compra PC-2026-0847 — Hotel Diagonal",from:"[email protected]",date:"07/08/2026 11:08",body:"Buenos días,\n\nAdjuntamos el pedido de compra PC-2026-0847 para la obra Reforma Hotel Diagonal. Necesitamos el material antes de las 10:30 h del 08/08/2026.\n\nPor favor, incluir el albarán con el número de pedido.\n\nGracias,\nDepartamento de compras\nReformas Eixample S.L.",attachment:{filename:"pedido_ferreteria_demo.pdf",src:"/images/web/landing/pedido-ferreteria-demo.pdf",contentType:"pdf"},openAttachmentByDefault:!0},orderPreviewSrc:null,orderPreviewAlt:"Previsualización del pedido",defaultEvidenceTab:"channel"},{id:"audio",label:"Audio",path:"pedidos/audio",orderId:"a8676b5e",source:"whatsapp",channelBadge:"WhatsApp",channelTitle:"WhatsApp · Bistro del Born pedidos",channelDetail:"2 audios recibidos",channelHint:"Seleccionado por IA",establishmentName:"Bistro del Born",establishmentCompany:"Grupo Born Gastro S.L.",establishmentAddress:"Passeig del Born, 12",deliveryDate:"04/06/2026",timestamp:"3 jun. 2026, 22:38h",notes:"Para mañana",lines:[{raw:"pimiento rojo",quantity:"3",unit:"kg",product:"PIMIENTO ROJO",note:"bien rojo",erpId:"00570",match:"memory"},{raw:"pepino",quantity:"3",unit:"ud",product:"PEPINO",note:"",erpId:"00615",match:"ai"},{raw:"cebolla tierna",quantity:"2",unit:"manojo",product:"CEBOLLITA TIERNA (MANOJO)",note:"",erpId:"00750",match:"memory"},{raw:"puerro",quantity:"3",unit:"ud",product:"PUERRO (MANOJO)",note:"",erpId:"00755",match:"ai"},{raw:"pimiento verde",quantity:"3",unit:"kg",product:"PIMIENTO VERDE",note:"",erpId:"00308",match:"memory"},{raw:"tomate pera",quantity:"2",unit:"kg",product:"TOMATE PERA",note:"",erpId:"00312",match:"ai"},{raw:"tomate ensalada",quantity:"3",unit:"kg",product:"TOMATE ENSALADA",note:"maduro",erpId:"00440",match:"memory"},{raw:"fresa",quantity:"2",unit:"kg",product:"FRESON",note:"",erpId:"00180",match:"ai"},{raw:"piña",quantity:"1",unit:"ud",product:"PIÑA",note:"",erpId:"00291",match:"ai"},{raw:"aguacate",quantity:"3",unit:"kg",product:"AGUACATE (UD)",note:"listo para usar",erpId:"00661",match:"memory"},{raw:"cebollino",quantity:"2",unit:"bandeja",product:"CEBOLLINO (BANDEJA)",note:"",erpId:"00739",match:"ai"},{raw:"tomillo",quantity:"1",unit:"bandeja",product:"TOMILLO (BANDEJA)",note:"",erpId:"00901",match:"ai"},{raw:"sandía",quantity:"1",unit:"ud",product:"SANDIA FASHION",note:"pequeña",erpId:"00419",match:"memory"},{raw:"mézclum",quantity:"1",unit:"caja",product:"MEZCLUM BABY",note:"",erpId:"00613",match:"memory"}],evidence:{kind:"audio",dateLabel:"03/06/2026",messages:[{time:"22:38",duration:"0:34",text:"Hola, buenas noches. Mira, para mañana ponme 3 kilos de tomate ensalada, 2 kilos de tomate pera, una sandía si tienes pequeña, 3 pepinos... y 2 kilos de fresa. Dos de cebollino, una caja de mézclum, 3 puerros, un tomillo."},{time:"23:36",duration:"0:19",text:"Ponme 3 kilos de pimiento rojo, 3 kilos de pimiento verde, 2 manojos de cebolla tierna, una piña, 3 kilos de aguacate."}]},orderPreviewSrc:"/images/web/landing/pedido-bliko-anonimizado.png",orderPreviewAlt:"Previsualización del pedido",defaultEvidenceTab:"channel"},{id:"image",label:"Imagen",path:"pedidos/imagen",orderId:"b3c91f02",source:"whatsapp",channelBadge:"WhatsApp",channelTitle:"WhatsApp · Bar Sant Antoni",channelDetail:"1 imagen recibida",channelHint:"Seleccionado por IA",establishmentName:"Bar Sant Antoni",establishmentCompany:"Sant Antoni Hostelería S.L.",establishmentAddress:"Carrer del Comte Borrell, 89",deliveryDate:"12/08/2026",timestamp:"11 ago. 2026, 18:42h",notes:"Entrega martes por la mañana",lines:[{raw:"tomate pera",quantity:"2",unit:"caja",product:"TOMATE PERA",note:"calibre G",erpId:"00312",match:"memory"},{raw:"lechuga iceberg",quantity:"6",unit:"ud",product:"LECHUGA ICEBERG",note:"",erpId:"00402",match:"ai"},{raw:"pepino",quantity:"4",unit:"caja",product:"PEPINO",note:"",erpId:"00615",match:"memory"}
1,{raw:"pimiento verde",quantity:"3",unit:"caja",product:"PIMIENTO VERDE",note:"",erpId:"00308",match:"memory"},{raw:"cebolla",quantity:"1",unit:"saco",product:"CEBOLLA",note:"saco grande",erpId:"00220",match:"ai"},{raw:"patata",quantity:"2",unit:"saco",product:"PATATA",note:"",erpId:"00510",match:"memory"},{raw:"zanahoria",quantity:"1",unit:"saco",product:"ZANAHORIA",note:"saco mediana",erpId:"00880",match:"ai"},{raw:"naranja",quantity:"2",unit:"caja",product:"NARANJA",note:"",erpId:"00480",match:"memory"},{raw:"plátano",quantity:"3",unit:"caja",product:"PLATANO",note:"maduro",erpId:"00540",match:"ai"},{raw:"manzana golden",quantity:"2",unit:"caja",product:"MANZANA GOLDEN",note:"",erpId:"00455",match:"memory"},{raw:"limón",quantity:"1",unit:"caja",product:"LIMON",note:"",erpId:"00430",match:"ai"},{raw:"ajos",quantity:"2",unit:"malla",product:"AJO",note:"",erpId:"00110",match:"memory"},{raw:"aceite girasol",quantity:"3",unit:"garrafa",product:"ACEITE GIRASOL",note:"",erpId:"00920",match:"ai"},{raw:"leche semi",quantity:"10",unit:"brik",product:"LECHE SEMIDESNATADA",note:"",erpId:"00940",match:"memory"},{raw:"yogur natural",quantity:"4",unit:"pack",product:"YOGUR NATURAL",note:"",erpId:"00955",match:"ai"},{raw:"huevos",quantity:"8",unit:"docena",product:"HUEVOS",note:"",erpId:"00970",match:"memory"}],evidence:{kind:"image",dateLabel:"11/08/2026",time:"18:42",src:"/images/web/landing/pedido-semanal-demo.jpg",alt:"Pedido semanal manuscrito"},orderPreviewSrc:null,orderPreviewAlt:"Previsualización del pedido",defaultEvidenceTab:"channel"},{id:"excel",label:"Excel",path:"pedidos/excel",orderId:"d4f18c63",source:"email",channelBadge:"Email",channelTitle:"Email · [email protected]",channelDetail:"1 Excel adjunto",channelHint:"Seleccionado por IA",establishmentName:"Catering Gràcia",establishmentCompany:"Catering Gràcia S.L.",establishmentAddress:"Carrer Gran de Gràcia, 140",deliveryDate:"14/08/2026",timestamp:"12 ago. 2026, 09:24h",notes:"Listado FV. Entrega jueves por la mañana.",lines:[{raw:"Tomate rama",quantity:"6",unit:"kg",product:"TOMATE RAMA",note:"",erpId:"00318",match:"memory"},{raw:"Calabacín verde",quantity:"4",unit:"kg",product:"CALABACIN",note:"",erpId:"00240",match:"ai"},{raw:"Cebolla blanca",quantity:"10",unit:"kg",product:"CEBOLLA BLANCA",note:"",erpId:"00218",match:"memory"},{raw:"Espinaca baby",quantity:"2",unit:"paq",product:"ESPINACA BABY",note:"",erpId:"00420",match:"ai"},{raw:"Rúcula",quantity:"3",unit:"paq",product:"RUCULA",note:"",erpId:"00680",match:"memory"},{raw:"Pepino holandés",quantity:"5",unit:"kg",product:"PEPINO HOLANDES",note:"",erpId:"00618",match:"ai"},{raw:"Patata lavada",quantity:"1",unit:"saco",product:"PATATA LAVADA",note:"",erpId:"00512",match:"memory"},{raw:"Manzana fuji",quantity:"8",unit:"kg",product:"MANZANA FUJI",note:"",erpId:"00458",match:"memory"},{raw:"Plátano canarias",quantity:"1",unit:"caja",product:"PLATANO CANARIAS",note:"",erpId:"00542",match:"ai"},{raw:"Naranja mesa",quantity:"6",unit:"kg",product:"NARANJA MESA",note:"",erpId:"00482",match:"memory"},{raw:"Limón verna",quantity:"2",unit:"kg",product:"LIMON VERNA",note:"",erpId:"00432",match:"ai"},{raw:"Fresón",quantity:"2",unit:"kg",product:"FRESON",note:"",erpId:"00390",match:"memory"},{raw:"Aguacate hass",quantity:"1",unit:"caja",product:"AGUACATE HASS",note:"",erpId:"00108",match:"ai"}],evidence:{kind:"email",subject:"Listado fruta-verdura — entrega 14/08",from:"[email protected]",date:"12/08/2026 09:24",body:"Buenos días,\n\nOs paso el listado con las cantidades marcadas para el jueves 14/08.\n\nSi falta algo, avisad antes del miércoles.\n\nGracias,\nCatering Gràcia S.L.",attachment:{filename:"listado_FV_1408.xlsx",src:"",contentType:"excel",alt:"Listado fruta-verdura en Excel"},openAttachmentByDefault:!0},orderPreviewSrc:null,orderPreviewAlt:"Previsualización del pedido",defaultEvidenceTab:"channel"},{id:"custom",label:"Personalizado",path:"pedidos/personalizado",orderId:"c7e42a19",source:"email",channelBadge:"Email",channelTitle:"Email · [email protected]",channelDetail:"1 croquis adjunto",channelHint:"Seleccionado por IA",establishmentName:"Taller Metal Poblenou",establishmentCompany:"Metalúrgica Poblenou S.L.",establishmentAddress:"Carrer de Pere IV, 118",deliveryDate:"20/08/2026",timestamp:"7 ago. 2026, 16:15h",notes:"Pasar precio con y sin instalación. Pintura negra mate.",lines:[{raw:"guía arriba",quantity:"1",unit:"ud",product:"GUIA SUPERIOR U 40 X 3 MM",note:"2,35 m",erpId:"GUI-SUP-40",match:"ai"},{raw:"guía abajo",quantity:"1",unit:"ud",product:"GUIA INFERIOR",note:"2,35 m",erpId:"GUI-INF-235",match:"ai"},{raw:"soportes pared",quantity:"2",unit:"ud",product:"SOPORTE PARED CORREDERA",note:"",erpId:"SOP-PAR-02",match:"memory"},{raw:"rodillos",quantity:"2",unit:"ud",product:"RODILLO PUERTA CORREDERA",note:"",erpId:"ROD-COR-02",match:"memory"},{raw:"topes finales",quantity:"2",unit:"ud",product:"TOPE FINAL CORREDERA",note:"",erpId:"TOP-FIN-02",match:"ai"},{raw:"tubo 40x20x2",quantity:"8,9",unit:"m",product:"TUBO 40 X 20 X 2 MM",note:"inglete 45º · x2 marcos",erpId:"TUB-4020-2",match:"ai"},{raw:"chapa lisa 1mm",quantity:"2",unit:"plancha",product:"CHAPA L
1ISA 1 MM",note:"2,10 x 1,20",erpId:"CHA-LIS-1",match:"memory"},{raw:"soldadura",quantity:"1",unit:"serv",product:"SOLDADURA MARCO",note:"",erpId:"SRV-SOLD",match:"ai"},{raw:"pintura negra mate",quantity:"1",unit:"serv",product:"IMPRIMACION + PINTURA NEGRA MATE",note:"",erpId:"SRV-PINT",match:"ai"},{raw:"tirador empotrado",quantity:"1",unit:"ud",product:"TIRADOR EMPOTRADO",note:"",erpId:"TIR-EMP-01",match:"memory"}],evidence:{kind:"email",subject:"Presupuesto puerta corredera taller",from:"[email protected]",date:"07/08/2026 16:15",body:"Hola,\n\nOs mando el croquis de la puerta corredera del taller. Necesito presupuesto con y sin instalación.\n\nMedidas aproximadas 2,35 x 2,10 m. Pintura negra mate y tirador empotrado.\n\nGracias.",attachment:{filename:"croquis_puerta_corredera.jpg",src:"/images/web/landing/pedido-personalizado-croquis-demo.jpg",contentType:"image",alt:"Croquis de puerta corredera de taller"},openAttachmentByDefault:!0},orderPreviewSrc:null,orderPreviewAlt:"Previsualización del pedido",defaultEvidenceTab:"channel"}],D=q.map(e=>({id:e.id,label:e.label,path:e.path})),B="inline-flex h-[22px] w-2.5 items-center justify-center border-0 bg-transparent text-[#9b9b9b] transition hover:text-[#5f5f5f]",z="relative flex min-h-8 min-w-0 items-center rounded-lg text-xs text-[#333333]",U="justify-center gap-0 p-[5px]",G="[grid-template-columns:28px_74px_58px_minmax(132px,1fr)_88px_128px_24px]",F={ai:{icon:k.Sparkles,label:"IA",className:"bg-violet-100 text-violet-700"},memory:{icon:p.History,label:"Memoria",className:"bg-blue-100 text-blue-700"}};function _(){return(0,a.jsxs)("aside",{className:"flex min-w-0 flex-col border-r border-[var(--bliko-landing-line)] bg-[#fafafa] px-1 py-2 text-[#252525]",children:[(0,a.jsxs)("div",{className:"min-h-0 flex-1",children:[(0,a.jsx)("div",{className:"grid gap-1 py-2",children:(0,a.jsx)("div",{className:"flex min-h-11 min-w-0 items-center justify-center gap-0 rounded-lg p-[5px] text-xs text-[#272727]",children:(0,a.jsx)("span",{className:"inline-flex h-[26px] w-[26px] shrink-0 items-center justify-center rounded-[10px] bg-[var(--primary)] text-[10px] font-medium tracking-normal text-[var(--primary-foreground)]",children:"FJ"})})}),(0,a.jsx)("div",{className:"grid gap-1 py-2",children:(0,a.jsxs)("div",{className:"grid gap-0.5",children:[(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(h.Home,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})}),(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(S.Users,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})}),(0,a.jsx)("div",{className:(0,L.cn)(z,"bg-[#f2f2f2] font-medium text-[#171717]",U),children:(0,a.jsx)(E.Truck,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})}),(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(A.ReceiptText,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})}),(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(g.Package,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})}),(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(o.BarChart3,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})})]})})]}),(0,a.jsxs)("div",{className:"grid gap-0.5 py-2",children:[(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(l.Atom,{"aria-hidden":"true",className:"h-4 w-4 shrink-0 text-[var(--primary)]"})}),(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(N.Plug,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})}),(0,a.jsx)("div",{className:(0,L.cn)(z,U),children:(0,a.jsx)(P.Settings,{"aria-hidden":"true",className:"h-4 w-4 shrink-0"})})]}),(0,a.jsx)("div",{className:"mt-1 flex min-h-11 min-w-0 items-center justify-center gap-0 rounded-lg p-[5px] text-xs text-[#272727]",children:(0,a.jsx)("span",{className:"inline-flex h-[26px] w-[26px] shrink-0 items-center justify-center rounded-[10px] bg-[var(--primary)] text-[10px] font-medium tracking-normal text-[var(--primary-foreground)]",children:"JJ"})})]})}function H({scenario:e}){let r=!!e.orderPreviewSrc,[l,o]=(0,t.useState)("preview"===e.defaultEvidenceTab&&r?"preview":"channel"),u="email"===e.source?"Email":"Chat",m="email"===e.source?b.Mail:y.MessageCircle;return(0,a.jsxs)("section",{className:"flex h-[620px] min-h-[620px] flex-col bg-white text-[#171717]","aria-label":`Vista de pedido ${e.label}`,children:[(0,a.jsxs)("div",{className:"flex h-12 shrink-0 items-center justify-between gap-2 border-b border-[var(--bliko-landing-line)] bg-white px-3",children:[(0,a.jsxs)("div",{className:"flex min-w-0 items-center gap-2",children:[(0,a.jsx)("button",{type:"button",className:"inline-flex h-7 w-7 shrink-0 items-center justify-center rounded-md text-[#444444]","aria-label":"Volver",children:(0,a.jsx)(i.ArrowLeft,{"aria-hidden":"true",size:15})}),(0,a.jsxs)("h2",{className:"m-0 truncate text-lg font-medium",children:["Pedido ",e.orderId]}),(0,a.jsxs)("span",{className:"inline-flex min-h-5 items-center gap-1 rounded-md bg-[#f4f4f5] px-2 text-[11px] font-medium text-[#333333]",children:[(0,a.jsx)(m,{"aria-hidden":"true",size:11}),e.channelBadge]}),(0,a.jsxs)("span",{className:"inline-flex min-h-5 items-center gap-1 rounded-md bg-orange-50 px-2 text-[11px] font-medium text-orange-700",children:[(0,a.jsx)(d.Clock,{"aria-hidden":"true",size:11}),"Por revisar"]}),(0,a.jsx)("span",{className:"hidden text-[11px] text-[#737373] min-[980px]:inline",children:e.timestamp})]}),(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-2",children:[(0,a.jsx)("button",{type:"button",className:"inline-flex h-7 w-7 items-center justify-center rounded-md text-[#444444] transition hover:bg-[#f4f4f5]","aria-label":"Más acciones",children:(0,a.jsx)(c.EllipsisVertical,{"aria-hidden":"true",size:15})}),(0,a.jsxs)("button",{type:"button",className:"inline-flex min-h-7 items-center justify-center gap-1.5 rounded-md bg-[var(--primary)] px-2.5 text-xs font-medium text-[var(--primary-foreground)]",title:"Integración ERP disponible",children:[(0,a.jsx)("span",{"aria-hidden":"true",className:"size-1.5 shrink-0 rounded-full bg-[#28c840]"}),"Enviar al ERP"]})]})]}),(0,a.jsxs)("div",{className:"grid min-h-0 flex-1 grid-cols-[minmax(0,1.16fr)_minmax(330px,0.84fr)]",children:[(0,a.jsx)("div",{className:"min-h-0 overflow-hidden bg-white",children:(0,a.jsxs)("div",{className:"flex flex-col gap-3 p-3",children:[(0,a.jsxs)("div",{className:"grid grid-cols-3 gap-3",children:[(0,a.jsxs)("div",{className:"space-y-1.5",children:[(0,a.jsx)("label",{className:"block text-[11px] font-medium leading-none text-[#737373]",children:"Canal"}),(0,a.jsxs)("button",{type:"button",className:"grid min-h-[58px] w-full gap-0.5 rounded-md border border-[var(--bliko-landing-line)] bg-white px-2.5 py-2 text-left",children:[(0,a.jsx)("span",{className:"truncate text-xs font-medium",children:e.channelTitle}),(0,a.jsx)("span",{className:"truncate text-[11px] text-[#737373]",children:e.channelDetail}),(0,a.jsx)("span",{className:"truncate text-[11px] text-[#737373]",children:e.channelHint})]})]}),(0,a.jsxs)("div",{className:"space-y-1.5",children:[(0,a.jsx)("label",{className:"block text-[11px] font-medium leading-none text-[#737373]",children:"Establecimiento"}),(0,a.jsxs)("button",{type:"button",className:"grid min-h-[58px] w-full gap-0.5 rounded-md border border-[var(--bliko-landing-line)] bg-white px-2.5 py-2 text-left",children:[(0,a.jsx)("span",{className:"truncate text-xs font-medium",children:e.establishmentName}),(0,a.jsx)("span",{className:"truncate text-[11px] text-[#737373]",children:e.establishmentCompany}),(0,a.jsx)("span",{className:"truncate text-[11px] text-[#737373]",children:e.establishmentAddress})]})]}),(0,a.jsxs)("div",{className:"space-y-1.5",children:[(0,a.jsx)("label",{className:"block text-[11px] font-medium leading-none text-[#737373]",children:"Fecha de entrega"}),(0,a.jsxs)("button",{type:"button",className:"flex min-h-9 w-full items-center justify-between rounded-md border border-[var(--bliko-landing-line)] bg-white px-2.5 text-xs font-normal",children:[e.deliveryDate,(0,a.jsx)(s.CalendarDays,{"aria-hidden":"true",size:13,className:"text-[#737373]"})]})]})]}),(0,a.jsxs)("div",{className:"space-y-1.5",children:[(0,a.jsx)("label",{className:"block text-[11px] font-medium leading-none text-[#737373]",children:"Notas generales"}),(0,a.jsx)("div",{className:"min-h-[58px] resize-none rounded-md border border-[var(--bliko-landing-line)] bg-white px-3 py-2 text-xs text-[#171717]",children:e.notes})]}),(0,a.jsx)("div",{className:"flex items-center gap-2",children:(0,a.jsx)("h3",{className:"m-0 text-[11px] font-medium leading-none text-[#737373]",children:"Conceptos"})}),(0,a.jsxs)("div",{className:"overflow-hidden rounded-lg border border-[var(--bliko-landing-line)]",children:[(0,a.jsxs)("div",{className:(0,L.cn)("grid min-w-[640px] items-center border-b border-[var(--bliko-landing-line)] bg-[#fafafa] text-[11px] font-medium text-[#737373] [&_span]:min-w-0 [&_span]:truncate [&_span]:px-2 [&_span]:py-2",G),children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{children:"Cantidad"}),(0,a.jsx)("span",{children:"Unidad"}),(0,a.jsx)("span",{children:"Producto"}),(0,a.jsx)("span",{children:"Match"}),(0,a.jsx)("span",{children:"Notas"}),(0,a.jsx)("span",{})]}),e.lines.map((e,t)=>(0,a.jsxs)("div",{className:(0,L.cn)("grid min-h-[36px] min-w-[640px] items-center border-b border-[var(--bliko-landing-line)] text-[11px] last:border-b-0 [&_span]:min-w-0 [&_span]:truncate [&_span]:px-2",G),children:[(0,a.jsx)("span",{className:"flex justify-center",children:(0,a.jsx)("span",{className:"h-3.5 w-3.5 rounded-[4px] border border-[#d8d8d8] bg-white"})}),(0,a.jsx)("span",{children:(0,a.jsx)("b",{className:"inline-flex min-h-6 w-full items-center justify-end px-1.5 font-normal text-[#171717]",children:e.quantity})}),(0,a.jsx)("span",{children:(0,a.jsx)("b",{className:"inline-flex min-h-6 w-full items-center px-1.5 font-normal text-[#171717]",children:e.unit})}),(0,a.jsx)("span",{children:(0,a.jsxs)("b",{className:"flex min-w-0 items-center gap-1.5 truncate font-medium text-[#171717]",children:[(0,a.jsx)("span",{className:"min-w-0 truncate",children:e.product}),(0,a.jsx)("small",{className:"shrink-0 text-[10px] font-normal text-[#737373]",children:e.erpId})]})}),(0,a.jsx)("span",{children:(0,a.jsx)(Y,{type:e.match})}),(0,a.jsx)("span",{children:e.note||"—"}),(0,a.jsx)("span",{className:"flex justify-center text-[#aaaaaa]",children:"×"})]},`${e.raw}-${t}`))]})]})}),(0,a.jsx)("aside",{className:"min-h-0 border-l border-[var(--bliko-landing-line)] bg-white",children:(0,a.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,a.jsx)("div",{className:"shrink-0 border-b border-[var(--bliko-landing-line)] px-4",children:(0,a.jsxs)("div",{className:"grid h-11 grid-cols-2 items-end gap-2 text-center text-sm",children:[(0,a.jsx)("button",{className:(0,L.cn)("h-11 text-xs font-medium","channel"===l?"border-b-2 border-[#171717] text-[#171717]":"text-[#737373]"),type:"button",onClick:()=>o("channel"),children:u}),(0,a.jsx)("button",{className:(0,L.cn)("h-11 text-xs font-medium",!r&&"cursor-not-allowed text-[#b2b2b2]",r&&("preview"===l?"border-b-2 border-[#171717] text-[#171717]":"text-[#737373]")),type:"button",disabled:!r,onClick:()=>{r&&o("preview")},children:"Previsualización"})]})}),"channel"===l?(0,a.jsx)("div",{className:"min-h-0 flex-1 overflow-hidden",children:(0,a.jsx)(V,{scenario:e})}):e.orderPreviewSrc?(0,a.jsx)("div",{className:"min-h-0 flex-1 overflow-hidden bg-[#f7f7f7]",children:(0,a.jsx)(n.default,{className:"block h-auto w-[128%] max-w-none bg-white",src:e.orderPreviewSrc,alt:e.orderPreviewAlt,width:1272,height:1800})}):(0,a.jsx)("div",{className:"flex h-full items-center justify-center text-[#737373]",children:(0,a.jsx)("p",{className:"text-xs",children:"No hay previsualización generada aún"})})]})})]})]})}function V({scenario:e}){let{evidence:t}=e;return"email"===t.kind?(0,a.jsx)(X,{evidence:t}):"audio"===t.kind?(0,a.jsxs)("div",{className:"min-h-0 flex-1 overflow-auto bg-[#fbfbfb] p-4",children:[(0,a.jsx)("div",{className:"mb-3 text-center text-[11px] text-[#9a9a9a]",children:t.dateLabel}),t.messages.map((e,n)=>(0,a.jsx)(W,{time:e.time,duration:e.duration,isLast:n===t.messages.length-1,text:e.text},`${e.time}-${n}`))]}):(0,a.jsx)(K,{evidence:t})}function K({evidence:e}){let[r,l]=(0,t.useState)(!0);return r?(0,a.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-2 border-b border-[var(--bliko-landing-line)] px-3 py-2",children:[(0,a.jsx)("button",{type:"button",className:"inline-flex h-7 w-7 items-center justify-center rounded-md text-[#444444] transition hover:bg-[#f4f4f5]","aria-label":"Volver al chat",onClick:()=>l(!1),children:(0,a.jsx)(i.ArrowLeft,{"aria-hidden":"true",size:15})}),(0,a.jsx)("p",{className:"m-0 min-w-0 flex-1 truncate text-sm font-medium",children:e.alt})]}),(0,a.jsx)("div",{className:"min-h-0 flex-1 overflow-auto bg-[#f7f7f7]",children:(0,a.jsx)(n.default,{src:e.src,alt:e.alt,width:772,height:1024,className:"block h-auto w-full bg-white"})})]}):(0,a.jsxs)("div",{className:"min-h-0 flex-1 overflow-auto bg-[#fbfbfb] p-4",children:[(0,a.jsx)("div",{className:"mb-3 text-center text-[11px] text-[#9a9a9a]",children:e.dateLabel}),(0,a.jsx)(Z,{time:e.time,src:e.src,alt:e.alt,onOpen:()=>l(!0)})]})}function X({evidence:e}){let[r,l]=(0,t.useState)(e.openAttachmentByDefault),s=e.attachment.contentType,o="image"===s,d="excel"===s;return r?(0,a.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,a.jsxs)("div",{className:"flex shrink-0 items-center gap-2 border-b border-[var(--bliko-landing-line)] px-3 py-2",children:[(0,a.jsx)("button",{type:"button",className:"inline-flex h-7 w-7 items-center justify-center rounded-md text-[#444444] transition hover:bg-[#f4f4f5]","aria-label":"Volver al email",onClick:()=>l(!1),children:(0,a.jsx)(i.ArrowLeft,{"aria-hidden":"true",size:15})}),(0,a.jsx)("p",{className:"m-0 min-w-0 flex-1 truncate text-sm font-medium",children:e.attachment.filename})]}),(0,a.jsx)("div",{className:(0,L.cn)("min-h-0 flex-1 bg-[#f7f7f7]",o||d?"overflow-auto":"overflow-hidden"),children:d?(0,a.jsx)($,{}):o?(0,a.jsx)("div",{className:"h-full overflow-auto",children:(0,a.jsx)(n.default,{src:e.attachment.src,alt:e.attachment.alt??e.attachment.filename,width:772,height:1024,sizes:"(max-width: 768px) 100vw, 360px",className:"block h-auto w-full bg-white object-contain"})}):(0,a.jsx)("iframe",{src:`${e.attachment.src}#view=FitH&zoom=page-width&toolbar=0&navpanes=0`,className:"block h-full w-full border-0 bg-white",title:e.attachment.filename,suppressHydrationWarning:!0})})]}):(0,a.jsxs)("div",{className:"flex h-full min-h-0 flex-col",children:[(0,a.jsxs)("div",{className:"shrink-0 space-y-2 border-b border-[var(--bliko-landing-line)] px-4 py-4",children:[(0,a.jsx)("h3",{className:"m-0 text-base font-semibold leading-snug text-[#171717]",children:e.subject}),(0,a.jsxs)("div",{className:"space-y-0.5 text-xs text-[#737373]",children:[(0,a.jsxs)("p",{className:"m-0",children:[(0,a.jsx)("span",{className:"font-medium text-[#333333]",children:"De:"})," ",e.from]}),(0,a.jsx)("p",{className:"m-0",children:e.date})]})]}),(0,a.jsx)("div",{className:"min-h-0 flex-1 overflow-y-auto px-4 py-4",children:(0,a.jsx)("p",{className:"m-0 whitespace-pre-wrap text-sm leading-relaxed text-[#171717]",children:e.body})}),(0,a.jsxs)("div",{className:"shrink-0 space-y-2 border-t border-[var(--bliko-landing-line)] px-4 py-3",children:[(0,a.jsxs)("p",{className:"m-0 flex items-center gap-1.5 text-xs text-[#737373]",children:[(0,a.jsx)(j.Paperclip,{"aria-hidden":"true",className:"size-3.5 shrink-0"}),"1 adjunto"]}),(0,a.jsxs)("button",{type:"button",onClick:()=>l(!0),"aria-label":e.attachment.filename,className:"flex min-w-0 max-w-40 flex-col gap-1 rounded-lg border border-[var(--bliko-landing-line)] bg-white p-1.5 text-left transition hover:bg-[#fafafa]",title:e.attachment.filename,children:[(0,a.jsx)("div",{className:"relative flex h-14 w-full items-center justify-center overflow-hidden rounded-md border border-[var(--bliko-landing-line)] bg-[#f4f4f5]",children:o?(0,a.jsx)(n.default,{src:e.attachment.src,alt:"",width:160,height:56,className:"h-full w-full object-cover"}):d?(0,a.jsx)(u.FileSpreadsheet,{"aria-hidden":"true",className:"size-5 text-[#217346]"}):(0,a.jsx)(m.FileText,{"aria-hidden":"true",className:"size-5 text-[#73
17373]"})}),(0,a.jsx)("span",{className:"truncate px-0.5 text-[11px] text-[#737373]",children:e.attachment.filename})]})]})]})}function $(){let e="border border-[#d0d0d0]";return(0,a.jsx)("div",{className:"h-full overflow-auto bg-[#f3f3f3] p-2",children:(0,a.jsxs)("div",{className:"min-w-[520px] overflow-hidden rounded-sm border border-[#c6c6c6] bg-white shadow-sm",children:[(0,a.jsxs)("div",{className:"flex items-center gap-1.5 border-b border-[#d0d0d0] bg-[#f5f5f5] px-2 py-1",children:[(0,a.jsx)(u.FileSpreadsheet,{"aria-hidden":"true",className:"size-3.5 text-[#217346]"}),(0,a.jsx)("p",{className:"m-0 truncate text-[11px] text-[#333333]",children:R})]}),(0,a.jsxs)("table",{className:"w-full border-collapse text-left text-[10.5px] leading-tight",children:[(0,a.jsxs)("colgroup",{children:[(0,a.jsx)("col",{className:"w-[34%]"}),(0,a.jsx)("col",{className:"w-[12%]"}),(0,a.jsx)("col",{className:"w-[4%]"}),(0,a.jsx)("col",{className:"w-[34%]"}),(0,a.jsx)("col",{className:"w-[16%]"})]}),(0,a.jsxs)("tbody",{children:[(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:5,className:(0,L.cn)(e,"bg-white px-2 py-2 text-center"),children:(0,a.jsx)("span",{className:"text-[13px] font-bold tracking-wide text-[#171717]",children:R})})}),(0,a.jsx)("tr",{children:(0,a.jsx)("td",{colSpan:5,className:(0,L.cn)(e,"bg-white px-2 py-1.5 text-center"),children:(0,a.jsx)("span",{className:"text-[11px] font-semibold text-[#333333]",children:T})})}),(0,a.jsxs)("tr",{children:[(0,a.jsx)("td",{className:(0,L.cn)(e,"bg-[#efefef] px-2 py-1 font-bold text-[#171717]"),children:"ARTÍCULO"}),(0,a.jsx)("td",{className:(0,L.cn)(e,"bg-[#efefef]")}),(0,a.jsx)("td",{className:(0,L.cn)(e,"bg-[#fafafa]")}),(0,a.jsx)("td",{className:(0,L.cn)(e,"bg-[#efefef] px-2 py-1 font-bold text-[#171717]"),children:"ARTÍCULO"}),(0,a.jsx)("td",{className:(0,L.cn)(e,"bg-[#efefef]")})]}),M.map((t,n)=>(0,a.jsxs)("tr",{children:[(0,a.jsx)(J,{cell:t.left,articleClassName:e}),(0,a.jsx)("td",{className:(0,L.cn)(e,"bg-[#fafafa]")}),(0,a.jsx)(J,{cell:t.right,articleClassName:e})]},`${t.left.article}-${n}`))]})]})]})})}function J({cell:e,articleClassName:t}){let n=!!e.qty;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("td",{className:(0,L.cn)(t,"px-2 py-1 text-[#171717]",n?"bg-[#ffff99] font-medium":"bg-white"),children:e.article}),(0,a.jsx)("td",{className:(0,L.cn)(t,"px-1.5 py-1 text-right font-semibold tabular-nums text-[#171717]",n?"bg-[#ffff99]":"bg-white"),children:e.qty??""})]})}function W({duration:e,isLast:t,time:n,text:i}){return(0,a.jsx)("div",{className:"mb-1.5 flex max-w-[85%] items-start",children:(0,a.jsxs)("div",{className:(0,L.cn)("relative w-full max-w-72 rounded-lg bg-[#f4f4f5] px-3 py-2 text-[#171717] shadow-xs",t&&"rounded-bl-none"),children:[t?(0,a.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute bottom-0 -left-2 h-2.5 w-2 bg-[#f4f4f5]",style:{clipPath:"polygon(100% 0, 100% 100%, 0 100%)"}}):null,(0,a.jsxs)("div",{className:"mb-1.5 flex items-center gap-2",children:[(0,a.jsx)("button",{type:"button",className:"inline-flex size-6 shrink-0 items-center justify-center rounded-md text-current transition hover:bg-foreground
1/10","aria-label":"Reproducir audio",children:(0,a.jsx)(v.Play,{"aria-hidden":"true",className:"size-3 fill-current"})}),(0,a.jsx)("div",{className:"flex h-7 min-w-0 flex-1 items-center gap-0.5","aria-hidden":"true",children:Array.from({length:28}).map((e,t)=>(0,a.jsx)("span",{className:"w-0.5 rounded-full bg-black/30",style:{height:`${5+7*t%22}px`}},t))}),(0,a.jsxs)("span",{className:"shrink-0 text-[10px] tabular-nums text-[#737373]",children:["0:00/",e]})]}),(0,a.jsx)("p",{className:"m-0 whitespace-pre-wrap text-xs leading-snug text-[#171717]",children:i}),(0,a.jsx)("div",{className:"mt-1 flex justify-end",children:(0,a.jsx)("span",{className:"text-[10px] text-[#737373]",children:n})})]})})}function Z({alt:e,onOpen:t,src:i,time:r}){return(0,a.jsx)("div",{className:"mb-1.5 flex max-w-[90%] items-start",children:(0,a.jsxs)("div",{className:"relative w-full max-w-72 overflow-hidden rounded-lg rounded-bl-none bg-[#f4f4f5] text-[#171717] shadow-xs",children:[(0,a.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute bottom-0 -left-2 h-2.5 w-2 bg-[#f4f4f5]",style:{clipPath:"polygon(100% 0, 100% 100%, 0 100%)"}}),(0,a.jsx)("button",{type:"button",className:"block w-full text-left",onClick:t,children:(0,a.jsx)(n.default,{src:i,alt:e,width:772,height:1024,className:"block h-auto w-full bg-white"})}),(0,a.jsx)("div",{className:"flex justify-end px-3 py-2",children:(0,a.jsx)("span",{className:"text-[10px] text-[#737373]",children:r})})]})})}function Y({type:e}){let t=F[e];if(!t)return null;let n=t.icon;return(0,a.jsxs)("b",{className:(0,L.cn)("inline-flex min-h-4 items-center gap-0.5 rounded-full px-2 py-0.5 text-[9px] font-medium not-italic",t.className),children:[(0,a.jsx)(n,{"aria-hidden":"true",className:"size-2.5"}),t.label]})}e.s(["OperationsProductDemo",0,function(){let[e,l]=(0,t.useState)("pdf"),[s,o]=(0,t.useState)(0),[d,c]=(0,t.useState)(!1),[u,m]=(0,t.useState)(!1),p=(0,t.useMemo)(()=>Math.max(D.findIndex(a=>a.id===e),0),[e]),h=D[p]??D[0],x=q.find(a=>a.id===e)??q[0];(0,t.useEffect)(()=>{if(u||d||window.matchMedia("(prefers-reduced-motion: reduce)").matches)return;let e=window.setTimeout(()=>{l(e=>{let a=Math.max(D.findIndex(a=>a.id===e),0),t=D[(a+1)%D.length];return t?.id??"pdf"})},6e3);return()=>window.clearTimeout(e)},[e,d,u]);let b=()=>{m(!0)},y=e=>{b(),l(e)},g=e=>{let a=(p+e+D.length)%D.length;y(D[a]?.id??"pdf")};return(0,a.jsxs)("div",{className:"relative z-[1] mx-auto mb-0 max-w-[var(--bliko-landing-frame)] overflow-hidden border border-[var(--bliko-landing-line)] bg-[var(--bliko-landing-bg)]","aria-label":"Demo interactiva de Bliko",onFocusCapture:b,onKeyDownCapture:b,onPointerEnter:()=>{c(!0)},onPointerLeave:()=>{c(!1)},onPointerDownCapture:b,onWheelCapture:b,children:[(0,a.jsx)("div",{className:"block h-[300px] w-full overflow-hidden sm:h-auto md:hidden",children:(0,a.jsx)(n.default,{src:"/images/web/landing/operations-orders-demo-mobile.png",alt:"Vista de pedidos de Bliko con líneas extraídas por IA",width:2560,height:1392,sizes:"100vw",className:"h-full w-full select-none object-cover object-left sm:h-auto sm:object-contain",draggable:!1})}),(0,a.jsxs)("div",{className:"hidden min-h-9 grid-cols-[90px_minmax(0,1fr)] items-center bg-[#fafafa] md:grid",children:[(0,a.jsxs)("div",{className:"flex items-center justify-center gap-[7px]","aria-hidden":"true",children:[(0,a.jsx)("span",{className:"h-2 w-2 rounded-full bg-[#ff5f57]"}),(0,a.jsx)("span",{className:"h-2 w-2 rounded-full bg-[#ffbd2f]"}),(0,a.jsx)("span",{className:"h-2 w-2 rounded-full bg-[#28c840]"}),(0,a.jsx)(w.Plus,{className:"ml-[5px] text-[#9a9a9a]",size:14,strokeWidth:1.8})]}),(0,a.jsx)("div",{className:"flex h-full items-center justify-start gap-1.5 overflow-hidden",role:"tablist","aria-label":"Vistas del producto",children:D.map(t=>(0,a.jsx)("button",{className:(0,L.cn)("inline-flex h-[26px] cursor-pointer items-center justify-center whitespace-nowrap rounded-md border border-transparent bg-transparent px-4 text-[12.5px] font-medium text-[#8f8f8f]",t.id===e&&"border-[var(--bliko-landing-line)] bg-white text-[#171717]"),onClick:()=>y(t.id),role:"tab",type:"button","aria-selected":t.id===e,children:t.label},t.id))})]}),(0,a.jsxs)("div",{className:"hidden min-h-[38px] grid-cols-[92px_minmax(0,1fr)_64px] items-center border-b border-[var(--bliko-landing-line)] bg-white md:grid",children:[(0,a.jsxs)("div",{className:"inline-flex items-center justify-center gap-[9px]",children:[(0,a.jsx)("button",{className:B,type:"button","aria-label":"Vista del navegador",children:(0,a.jsx)(O.default,{"aria-hidden":"true",size:12})}),(0,a.jsx)("button",{className:B,type:"button","aria-label":"Ir a la vista anterior",onClick:()=>g(-1),children:(0,a.jsx)(i.ArrowLeft,{"aria-hidden":"true",size:12})}),(0,a.jsx)("button",{className:B,type:"button","aria-label":"Ir a la vista siguiente",onClick:()=>g(1),children:(0,a.jsx)(r.ArrowRight,{"aria-hidden":"true",size:12})}),(0,a.jsx)("button",{className:B,type:"button","aria-label":"Recargar la vista actual",onClick:()=>{b(),o(e=>e+1)},children:(0,a.jsx)(I,{"aria-hidden":"true",size:12})})]}),(0,a.jsxs)("span",{className:"block min-w-0 rounded bg-[#fafafa] px-2 text-[11px] font-medium leading-[22px] text-[#7b7b7b]",children:["bliko.ai/app/",h.path]}),(0,a.jsxs)("div",{className:"inline-flex items-center justify-center gap-[11px]",children:[(0,a.jsx)("button",{className:B,type:"button","aria-label":"Compartir vista",children:(0,a.jsx)(C,{"aria-hidden":"true",size:12})}),(0,a.jsx)("button",{className:B,type:"button","aria-label":"Copiar enlace",children:(0,a.jsx)(f,{"aria-hidden":"true",size:12})})]})]}),(0,a.jsxs)("div",{className:"hidden h-[620px] min-h-[600px] grid-cols-[44px_minmax(0,1fr)] overflow-hidden bg-white md:grid",children:[(0,a.jsx)(_,{}),(0,a.jsx)("div",{className:"min-w-0 animate-[demo-screen-in_420ms_cubic-bezier(0.16,1,0.3,1)]",children:x?(0,a.jsx)(H,{scenario:x}):null},`${e}-${s}`)]})]})}],692490)},672662,e=>{"use strict";var a=e.i(681099),t=e.i(16243),n=e.i(514499);let i=new Intl.NumberFormat("es-ES",{maximumFractionDigits:0});
1function r(){let[e,r]=(0,n.useState)(120),[s,o]=(0,n.useState)(5),[d,c]=(0,n.useState)(18),[u,m]=(0,n.useState)(22),p=(0,n.useMemo)(()=>(function({costPerHour:e,dailyOperations:a,daysPerMonth:t,minutesPerOperation:n}){let i=Math.round(a*n*t/60),r=Math.round(i*e);return{monthlyHours:i,monthlySavings:r}})({costPerHour:d,dailyOperations:e,daysPerMonth:u,minutesPerOperation:s}),[d,e,u,s]);return(0,a.jsxs)("div",{className:t.default.roiCalculator,"aria-label":"Calculadora de impacto en pedidos",children:[(0,a.jsxs)("div",{className:t.default.roiColumn,children:[(0,a.jsxs)("header",{children:[(0,a.jsx)("h3",{children:"Ahorro de entrada manual"}),(0,a.jsx)("p",{children:"Calcula cuántas horas de copia y pega puede absorber Bliko cada mes."})]}),(0,a.jsx)(l,{label:"Pedidos al día",max:400,min:20,step:10,estimate:120,value:e,onChange:r,display:e.toLocaleString("es-ES")}),(0,a.jsx)(l,{label:"Minutos por pedido introducido",max:12,min:1,step:1,estimate:5,value:s,onChange:o,display:`${s} min`}),(0,a.jsx)(l,{label:"Días operativos al mes",max:30,min:10,step:1,estimate:22,value:u,onChange:m,display:String(u)}),(0,a.jsxs)("div",{className:t.default.roiResult,children:[(0,a.jsx)("span",{children:"Horas liberadas al mes"}),(0,a.jsxs)("strong",{children:[p.monthlyHours.toLocaleString("es-ES")," h"]})]})]}),(0,a.jsxs)("div",{className:t.default.roiColumn,children:[(0,a.jsxs)("header",{children:[(0,a.jsx)("h3",{children:"Impacto económico"}),(0,a.jsx)("p",{children:"Estima el coste que dejas de gastar en introducir pedidos a mano."})]}),(0,a.jsx)(l,{label:"Coste hora administración",max:40,min:10,step:1,estimate:18,value:d,onChange:c,display:`${d} €/h`}),(0,a.jsxs)("div",{className:t.default.roiResult,children:[(0,a.jsx)("span",{children:"Ahorro mensual"}),(0,a.jsxs)("strong",{children:[i.format(p.monthlySavings)," €"]})]})]})]})}function l({label:e,min:n,max:i,step:r,estimate:s,value:o,display:d,onChange:c}){let u=Math.min(1,Math.max(0,(s-n)/(i-n)));return(0,a.jsxs)("label",{className:t.default.roiSlider,style:{"--estimate-left":`${100*u}%`},children:[(0,a.jsxs)("span",{children:[e,(0,a.jsx)("strong",{children:d})]}),(0,a.jsx)("input",{type:"range",min:n,max:i,step:r,value:o,onChange:e=>c(Number(e.target.value))}),(0,a.jsx)("em",{children:(0,a.jsx)("span",{children:"Estimación Bliko"})})]})}e.s(["OperationsImpactCalculator",0,r,"RoiSection",0,function(){return(0,a.jsxs)("section",{id:"impact",className:`${t.default.gridSection} ${t.default.securityRoiSection}`,children:[(0,a.jsxs)("div",{className:t.default.roiIntro,children:[(0,a.jsx)("h2",{children:"Multiplica por 4 tu inversión"}),(0,a.jsx)("p",{children:"Estima el ahorro mensual cuando Bliko introduce pedidos en lugar de copiar datos a mano."})]}),(0,a.jsx)(r,{})]})}],672662)}]);

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.