PageSourceSearch

https://www.humusbistrot.it/_next/static/chunks/0d5521acca80c7f2.js

js humusbistrot.it collected 2026-10-06 12:18:11 UTC 35,015 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,631576,e=>{"use strict";e.s(["default",()=>$],631576);var t=e.i(843476),n=e.i(519455),r=e.i(271645);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],a=t[n];return"function"==typeof r?"".concat(r)==="".concat(a):i(r)&&i(a)?o(r,a):r===a})}function a(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function l(e){return"number"==typeof e}function s(e){return"string"==typeof e}function c(e){return"boolean"==typeof e}function u(e){return"[object Object]"===Object.prototype.toString.call(e)}function d(e){return Math.abs(e)}function f(e){return Math.sign(e)}function m(e){return g(e).map(Number)}function p(e){return e[h(e)]}function h(e){return Math.max(0,e.length-1)}function x(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return Array.from(Array(e),(e,n)=>t+n)}function g(e){return Object.keys(e)}function b(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function v(){let e=[],t={add:function(n,r,i){let o,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{passive:!0};return"addEventListener"in n?(n.addEventListener(r,i,a),o=()=>n.removeEventListener(r,i,a)):(n.addListener(i),o=()=>n.removeListener(i)),e.push(o),t},clear:function(){e=e.filter(e=>e())}};return t}function y(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=d(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e},removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function w(e){let t=e;function n(e){return l(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function j(e,t){let n="x"===e.scroll?function(e){return"translate3d(".concat(e,"px,0px,0px)")}:function(e){return"translate3d(0px,".concat(e,"px,0px)")},r=t.style,i=null,o=!1;return{clear:function(){!o&&(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let a=Math.round(100*e.direction(t))/100;a!==i&&(r.transform=n(a),i=a)},toggleActive:function(e){o=!e}}}let N={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function S(e,t,n){let r,i,o,a,k,O=e.ownerDocument,E=O.defaultView,H=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(g(n).forEach(r=>{let i=t[r],o=n[r],a=u(i)&&u(o);t[r]=a?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=g(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>g(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(E),M=(k=[],{init:function(e,t){return(k=t.filter(e=>{let{options:t}=e;return!1!==H.optionsAtMedia(t).active})).forEach(t=>t.init(e,H)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){k=k.filter(e=>e.destroy())}}),I=v(),L=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:z,optionsAtMedia:T,optionsMediaQueries:D}=H,{on:A,off:C,emit:R}=L,_=!1,P=z(N,S.globalOptions),F=z(P),B=[];function U(t,n){if(_)return;F=T(P=z(P,t)),B=n||B;let{container:u,slides:N}=F;o=(s(u)?e.querySelector(u):u)||e.children[0];let S=s(N)?o.querySelectorAll(N):N;a=[].slice.call(S||o.children),r=function t(n){let r=function(e,t,n,r,i,o,a){let u,N,{align:S,axis:k,direction:O,startIndex:E,loop:H,duration:M,dragFree:I,dragThreshold:L,inViewThreshold:z,slidesToScroll:T,skipSnaps:D,containScroll:A,watchResize:C,watchSlides:R,watchDrag:_,watchFocus:P}=o,F={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},B=F.measure(t),U=n.map(F.measure),K=function(e,t){let n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(k,O),V=K.measureSize(B),q={measure:function(e){return e/100*V}},W=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}}
1;return{measure:function(r,i){return s(e)?n[e](r):e(t,r,i)}}}(S,V),G=!H&&!!A,{slideSizes:Y,slideSizesWithGaps:J,startGap:X,endGap:Q}=function(e,t,n,r,i,o){let{measureSize:a,startEdge:l,endEdge:s}=e,c=n[0]&&i,u=function(){if(!c)return 0;let e=n[0];return d(t[l]-e[l])}(),f=c?parseFloat(o.getComputedStyle(p(r)).getPropertyValue("margin-".concat(s))):0,m=n.map(a),x=n.map((e,t,n)=>{let r=t===h(n);return t?r?m[t]+f:n[t+1][l]-e[l]:m[t]+u}).map(d);return{slideSizes:m,slideSizesWithGaps:x,startGap:u,endGap:f}}(K,B,U,n,H||!!A,i),Z=function(e,t,n,r,i,o,a,s,c){let{startEdge:u,endEdge:f,direction:x}=e,g=l(n);return{groupSlides:function(e){return g?m(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?m(e).reduce((n,l,c)=>{let m=p(n)||0,g=l===h(e),b=i[u]-o[m][u],v=i[u]-o[l][f],y=r||0!==m?0:x(a),w=d(v-(!r&&g?x(s):0)-(b+y));return c&&w>t+2&&n.push(l),g&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}(K,V,T,H,B,U,X,Q,0),{snaps:$,snapsAligned:ee}=function(e,t,n,r,i){let{startEdge:o,endEdge:a}=e,{groupSlides:l}=i,s=l(r).map(e=>p(e)[a]-e[0][o]).map(d).map(t.measure),c=r.map(e=>n[o]-e[o]).map(e=>-d(e)),u=l(c).map(e=>e[0]).map((e,t)=>e+s[t]);return{snaps:c,snapsAligned:u}}(K,W,B,U,Z),et=-p($)+p(J),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,i){let o=y(-t+e,0),a=n.map((e,t)=>{let{min:r,max:i}=o,a=o.constrain(e),l=t===h(n);return t?l||function(e,t){return 1>=d(e-t)}(r,a)?r:function(e,t){return 1>=d(e-t)}(i,a)?i:a:i}).map(e=>parseFloat(e.toFixed(3))),l=function(){let e=a[0],t=p(a);return y(a.lastIndexOf(e),a.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return a;let{min:n,max:i}=l;return a.slice(n,i)}(),scrollContainLimit:l}}(V,et,ee,A,0),ei=G?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:y(n?r-e:p(t),r)}}(et,ei,H),ea=function e(t,n,r){let{constrain:i}=y(0,t),o=t+1,a=l(n);function l(e){return r?d((o+e)%o):i(e)}function s(){return e(t,a,r)}let c={get:function(){return a}
1,set:function(e){return a=l(e),c},add:function(e){return s().set(a+e)},clone:s};return c}(h(ei),E,H),el=ea.clone(),es=m(n),ec=function(e,t,n,r){let i=v(),o=1e3/60,a=null,l=0,s=0;function c(e){if(!s)return;a||(a=e,n(),n());let i=e-a;for(a=e,l+=i;l>=o;)n(),l-=o;r(l/o),s&&(s=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(s),a=null,l=0,s=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(a=null,l=0)})},destroy:function(){u(),i.clear()},start:function(){s||(s=t.requestAnimationFrame(c))},stop:u,update:n,render:r}}(r,i,()=>(e=>{let{dragHandler:t,scrollBody:n,scrollBounds:r,options:{loop:i}}=e;i||r.constrain(t.pointerDown()),n.seek()})(eN),e=>((e,t)=>{let{scrollBody:n,translate:r,location:i,offsetLocation:o,previousLocation:a,scrollLooper:l,slideLooper:s,dragHandler:c,animation:u,eventHandler:d,scrollBounds:f,options:{loop:m}}=e,p=n.settled(),h=!f.shouldConstrain(),x=m?p:p&&h,g=x&&!c.pointerDown();g&&u.stop();let b=i.get()*t+a.get()*(1-t);o.set(b),m&&(l.loop(n.direction()),s.loop()),r.to(o.get()),g&&d.emit("settle"),x||d.emit("scroll")})(eN,e)),eu=ei[ea.get()],ed=w(eu),ef=w(eu),em=w(eu),ep=w(eu),eh=function(e,t,n,r,i,o){let a=0,l=0,s=i,c=.68,u=e.get(),m=0;function p(e){return s=e,x}function h(e){return c=e,x}let x={direction:function(){return l},duration:function(){return s},velocity:function(){return a},seek:function(){let t=r.get()-e.get(),i=0;return s?(n.set(e),a+=t/s,a*=c,u+=a,e.add(a),i=u-m):(a=0,n.set(r),e.set(r),i=t),l=f(i),m=u,x},settled:function(){return .001>d(r.get()-t.get())},useBaseFriction:function(){return h(.68)},useBaseDuration:function(){return p(i)},useFriction:h,useDuration:p};return x}(ed,em,ef,ep,M,.68),ex=function(e,t,n,r,i){let{reachedAny:o,removeOffset:a,constrain:l}=r;function s(e){return e.concat().sort((e,t)=>d(e)-d(t))[0]}function c(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return s(i);let o=i.filter(e=>f(e)===r);return o.length?s(o):p(i)-n}return{byDistance:function(n,r){let s=i.get()+n,{index:u,distance:f}=function(n){let r=e?a(n):l(n),{index:i}=t.map((e,t)=>({diff:c(e-r,0),index:t})).sort((e,t)=>d(e.diff)-d(t.diff))[0];return{index:i,distance:r}}(s),m=!e&&o(s);if(!r||m)return{index:u,distance:n};let p=n+c(t[u]-f,0);return{index:u,distance:p}},byIndex:function(e,n){let r=c(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:c}}(H,ei,et,eo,ep),eg=function(e,t,n,r,i,o,a){function l(i){let l=i.distance,s=i.index!==t.get();
1o.add(l),l&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),s&&(n.set(t.get()),t.set(i.index),a.emit("select"))}return{distance:function(e,t){l(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);l(i.byIndex(r.get(),n))}}}(ec,ea,el,eh,ex,ep,a),eb=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),ev=v(),ey=function(e,t,n,r){let i,o={},a=null,l=null,s=!1;return{init:function(){i=new IntersectionObserver(e=>{s||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),a=null,l=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),s=!0},get:function(){let e=!(arguments.length>0)||void 0===arguments[0]||arguments[0];if(e&&a)return a;if(!e&&l)return l;let t=g(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(a=t),e||(l=t),t}}}(t,n,a,z),{slideRegistry:ew}=function(e,t,n,r,i,o){let{groupSlides:a}=i,{min:l,max:s}=r;return{slideRegistry:function(){let r=a(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(l,s).map((e,t,n)=>{let r=t===h(n);return t?r?x(h(o)-p(n)[0]+1,p(n)[0]):e:x(p(n[0])+1)}):r}()}}(G,A,ei,er,Z,es),ej=function(e,t,n,r,i,o,a,s){let u={passive:!0,capture:!0},d=0;function f(e){"Tab"===e.code&&(d=new Date().getTime())}return{init:function(m){s&&(o.add(document,"keydown",f,!1),t.forEach((t,f)=>{o.add(t,"focus",t=>{(c(s)||s(m,t))&&function(t){if(new Date().getTime()-d>10)return;a.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));l(o)&&(i.useDuration(0),r.index(o,0),a.emit("slideFocus"))}(f)},u)}))}}}(e,n,ew,eg,eh,ev,a,P),eN={ownerDocument:r,ownerWindow:i,eventHandler:a,containerRect:B,slideRects:U,animation:ec,axis:K,dragHandler:function(e,t,n,r,i,o,a,l,s,u,m,p,h,x,g,w,j,N,S){let{cross:k,direction:O}=e,E=["INPUT","SELECT","TEXTAREA"],H={passive:!1},M=v(),I=v(),L=y(50,225).constrain(x.measure(20)),z={mouse:300,touch:400},T={mouse:500,touch:600},D=g?43:25,A=!1,C=0,R=0,_=!1,P=!1,F=!1,B=!1;function U(e){if(!b(e,r)&&e.touches.length>=2)return K(e);let t=o.readPoint(e),n=o.readPoint(e,k),a=d(t-C),s=d(n-R);if(!P&&!B&&(!e.cancelable||!(P=a>s)))return K(e);let c=o.pointerMove(e);a>w&&(F=!0),u.useFriction(.3).useDuration(.75),l.start(),i.add(O(c)),e.preventDefault()}function K(e){let t=m.byDistance(0,!1).index!==p.get(),n=o.pointerUp(e)*(g?T:z)[B?"mouse":"touch"],r=function(e,t){let n=p.add(-1*f(e)),r=m.byDistance(e,!g).distance;return g||d(e)<L?r:j&&t?.5*r:m.byIndex(n.get(),0).distance}(O(n),t),i=function(e,t){var n,r;if(0===e||0===t||d(e)<=d(t))return 0;let i=(n=d(e),r=d(t),d(n-r));return d(i/e)}(n,r);P=!1,_=!1,I.clear(),u.useDuration(D-10*i).useFriction(.68+i/50),s.distance(r,!g),B=!1,h.emit("pointerUp")}function V(e){F&&(e.stopPropagation(),e.preventDefault(),F=!1)}return{init:function(e){S&&M.add(t,"dragstart",e=>e.preventDefault(),H).add(t,"touchmove",()=>void 0,H).add(t,"touchend",()=>void 0).add(t,"touchstart",l).add(t,"mousedown",l).add(t,"touchcancel",K).add(t,"contextmenu",K).add(t,"click",V,!0);function l(l){(c(S)||S(e,l))&&function(e){let l=b(e,r);if((B=l,F=g&&l&&!e.buttons&&A,A=d(i.get()-a.get())>=2,!l||0===e.button)&&!function(e){let t=e.nodeName||"";return E.includes(t)}(e.target)){_=!0,o.pointerDown(e),u.useFriction(0).useDuration(0),i.set(a);let r=B?n:t;I.add(r,"touchmove",U,H).add(r,"touchend",K).add(r,"mousemove",U,H).add(r,"mouseup",K),C=o.readPoint(e),R=o.readPoint(e,k),h.emit("pointerDown")}}(l)}},destroy:function(){M.clear(),I.clear()},pointerDown:function(){return _}}}(K,e,r,i,ep,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll;return(b(n,t)?n:n.touches[0])["client".concat("x"===i?"X":"Y")]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),a=i(e)-i(n)>170;return r=e,a&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),a=i(e)-i(n),l=i(e)-i(r)>170,s=t/a;return a&&!l&&d(s)>.1?s:0},readPoint:o}}(K,i),ed,ec,eg,eh,ex,ea,a,q,I,L,D,0,_),eventStore:ev,percentOfView:q,index:ea,indexPrevious:el,limit:eo,location:ed,offsetLocation:em,previousLocation:ef,options:o,resizeHandler:function(e,t,n,r,i,o,a){let l,s,u=[e].concat(r),f=[],m=!1;function p(e){return i.measureSize(a.measure(e))}return{init:function(i){o&&(s=p(e),f=r.map(p),l=new ResizeObserver(n=>{(c(o)||o(i,n))&&function(n){for(let o of n){if(m)return;
1let n=o.target===e,a=r.indexOf(o.target),l=n?s:f[a];if(d(p(n?e:r[a])-l)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>{u.forEach(e=>l.observe(e))}))},destroy:function(){m=!0,l&&l.disconnect()}}}(t,a,i,n,K,C,F),scrollBody:eh,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),a=i.measure(50),l=y(.1,.99),s=!1;function c(){return!s&&!!e.reachedAny(n.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(i){if(!c())return;let s=e.reachedMin(t.get())?"min":"max",u=d(e[s]-t.get()),f=n.get()-t.get(),m=l.constrain(u/a);n.subtract(f*m),!i&&d(f)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){s=!e}}}(eo,em,ep,eh,q),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=y(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let a=-1*t*e;r.forEach(e=>e.add(a))}}}(et,eo,em,[ed,em,ef,ep]),scrollProgress:eb,scrollSnapList:ei.map(eb.get),scrollSnaps:ei,scrollTarget:ex,scrollTo:eg,slideLooper:function(e,t,n,r,i,o,a,l,s){let c=m(i),u=m(i).reverse(),d=h(p(u,a[0]),n,!1).concat(h(p(c,t-a[0]-1),-n,!0));function f(e,t){return e.reduce((e,t)=>e-i[t],t)}function p(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function h(i,a,c){let u=o.map((e,n)=>({start:e-r[n]+.5+a,end:e+t-.5+a}));return i.map(t=>{let r=c?0:-n,i=c?n:0,o=u[t][c?"end":"start"];return{index:t,loopPoint:o,slideLocation:w(-1),translate:j(e,s[t]),target:()=>l.get()>o?r:i}})}return{canLoop:function(){return d.every(e=>{let{index:n}=e;return .1>=f(c.filter(e=>e!==n),t)})},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:d}}(K,V,et,Y,J,$,ei,em,n),slideFocus:ej,slidesHandler:(N=!1,{init:function(e){R&&(u=new MutationObserver(t=>{!N&&(c(R)||R(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),a.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){u&&u.disconnect(),N=!0}}),slidesInView:ey,slideIndexes:es,slideRegistry:ew,slidesToScroll:Z,target:ep,translate:j(K,t)};return eN}(e,o,a,O,E,n,L);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(F),D([P,...B.map(e=>{let{options:t}=e;return t})]).forEach(e=>I.add(e,"change",K)),F.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(G),r.eventHandler.init(G),r.resizeHandler.init(G),r.slidesHandler.init(G),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&a.length&&r.dragHandler.init(G),i=M.init(G,B))}function K(e,t){let n=W();V(),U(z({startIndex:n},e),t),L.emit("reInit")}function V(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),M.destroy(),I.clear()}function q(e,t,n){F.active&&!_&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:F.duration),r.scrollTo.index(e,n||0))}function W(){return r.index.get()}let G={canScrollNext:function(){return r.index.add(1).get()!==W()},canScrollPrev:function(){return r.index.add(-1).get()!==W()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){_||(_=!0,I.clear(),V(),L.emit("destroy"),L.clear())},off:C,on:A,emit:R,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:K,rootNode:function(){return e},scrollNext:function(e){q(r.index.add(1).get(),e,-1)},scrollPrev:function(e){q(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:q,selectedScrollSnap:W,slideNodes:function(){return a},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return U(t,n),setTimeout(()=>L.emit("init"),0),G}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=(0,r.useRef)(e),i=(0,r.useRef)(t),[l,s]=(0,r.useState)(),[c,u]=(0,r.useState)(),d=(0,r.useCallback)(()=>{l&&l.reInit(n.current,i.current)},[l]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,d())},[e,d]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=a(e),r=a(t);return n.every((e,t)=>o(e,r[t]))}(i.current,t)&&(i.current=t,d())},[t,d]),(0,r.useEffect)(()=>
1{if("undefined"!=typeof window&&window.document&&window.document.createElement&&c){S.globalOptions=k.globalOptions;let e=S(c,n.current,i.current);return s(e),()=>e.destroy()}s(void 0)},[c,s]),[u,l]}S.globalOptions=void 0,k.globalOptions=void 0;var O=e.i(871689),E=e.i(972520),H=e.i(975157);let M=r.createContext(null);function I(){let e=r.useContext(M);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}function L(e){let{orientation:n="horizontal",opts:i,setApi:o,plugins:a,className:l,children:s,...c}=e,[u,d]=k({...i,axis:"horizontal"===n?"x":"y"},a),[f,m]=r.useState(!1),[p,h]=r.useState(!1),x=r.useCallback(e=>{e&&(m(e.canScrollPrev()),h(e.canScrollNext()))},[]),g=r.useCallback(()=>{null==d||d.scrollPrev()},[d]),b=r.useCallback(()=>{null==d||d.scrollNext()},[d]),v=r.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),g()):"ArrowRight"===e.key&&(e.preventDefault(),b())},[g,b]);return r.useEffect(()=>{d&&o&&o(d)},[d,o]),r.useEffect(()=>{if(d)return x(d),d.on("reInit",x),d.on("select",x),()=>{null==d||d.off("select",x)}},[d,x]),(0,t.jsx)(M.Provider,{value:{carouselRef:u,api:d,opts:i,orientation:n||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:g,scrollNext:b,canScrollPrev:f,canScrollNext:p},children:(0,t.jsx)("div",{onKeyDownCapture:v,className:(0,H.cn)("relative",l),role:"region","aria-roledescription":"carousel","data-slot":"carousel",...c,children:s})})}function z(e){let{className:n,...r}=e,{carouselRef:i,orientation:o}=I();return(0,t.jsx)("div",{ref:i,className:"overflow-hidden","data-slot":"carousel-content",children:(0,t.jsx)("div",{className:(0,H.cn)("flex","horizontal"===o?"-ml-4":"-mt-4 flex-col",n),...r})})}function T(e){let{className:n,...r}=e,{orientation:i}=I();return(0,t.jsx)("div",{role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:(0,H.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===i?"pl-4":"pt-4",n),...r})}function D(e){let{className:r,variant:i="outline",size:o="icon",...a}=e,{orientation:l,scrollPrev:s,canScrollPrev:c}=I();return(0,t.jsxs)(n.Button,{"data-slot":"carousel-previous",variant:i,size:o,className:(0,H.cn)("absolute size-8 rounded-full","horizontal"===l?"top-1/2 -left-12 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",r),disabled:!c,onClick:s,...a,children:[(0,t.jsx)(O.ArrowLeft,{}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}function A(e){let{className:r,variant:i="outline",size:o="icon",...a}=e,{orientation:l,scrollNext:s,canScrollNext:c}=I();return(0,t.jsxs)(n.Button,{"data-slot":"carousel-next",variant:i,size:o,className:(0,H.cn)("absolute size-8 rounded-full","horizontal"===l?"top-1/2 -right-12 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",r),disabled:!c,onClick:s,...a,children:[(0,t.jsx)(E.ArrowRight,{}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}var C=e.i(475254);let R=(0,C.default)("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),_=(0,C.default)("book-open",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);var P=e.i(968553),F=e.i(503116),B=e.i(263488),U=e.i(343432),K=e.i(744705),V=e.i(657688);let q={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function W(){let e,t,n,r,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=null,a=0,l=!1,s=!1,c=!1,u=!1;function d(){if(!n){if(p()){c=!0;return}l||t.emit("autoplay:play");let{ownerWindow:e}=t.internalEngine();e.clearTimeout(a),a=e.setTimeout(v,r[t.selectedScrollSnap()]),o=new Date().getTime(),t.emit("autoplay:timerset"),l=!0}}function f(){if(!n){l&&t.emit("autoplay:stop");let{ownerWindow:e}=t.internalEngine();e.clearTimeout(a),a=0,o=null,t.emit("autoplay:timerstopped"),l=!1}}function m(){if(p())return c=l,f();c&&d()}function p(){let{ownerDocument:e}=t.internalEngine();return"hidden"===e.visibilityState}function h(){s||f()}function x(){s||d()}function g(){s=!0,f()}function b(){s=!1,d()}function v(){let{index:n}=t.internalEngine(),r=n.clone().add(1).get(),i=t.scrollSnapList().length-1,o=e.stopOnLastSnap&&r===i;if(t.canScrollNext()?t.scrollNext(u):t.scrollTo(0,u),t.emit("autoplay:select"),o)return f();d()}return{name:"autoplay",options:i,init:function(o,a){t=o;let{mergeOptions:l,optionsAtMedia:s}=a,c=l(q,W.globalOptions);if(e=s(l(c,i)),t.scrollSnapList().length<=1)return;u=e.jump,n=!1,r=function(e,t){let n=e.scrollSnapList();return"number"==typeof t?n.map(()=>t):t(n,e)}(t,e.delay);let{eventStore:p,ownerDocument:v}
1=t.internalEngine(),y=!!t.internalEngine().options.watchDrag,w=function(e,t){let n=e.rootNode();return t&&t(n)||n}(t,e.rootNode);p.add(v,"visibilitychange",m),y&&t.on("pointerDown",h),y&&!e.stopOnInteraction&&t.on("pointerUp",x),e.stopOnMouseEnter&&p.add(w,"mouseenter",g),e.stopOnMouseEnter&&!e.stopOnInteraction&&p.add(w,"mouseleave",b),e.stopOnFocusIn&&t.on("slideFocusStart",f),e.stopOnFocusIn&&!e.stopOnInteraction&&p.add(t.containerNode(),"focusout",d),e.playOnInit&&d()},destroy:function(){t.off("pointerDown",h).off("pointerUp",x).off("slideFocusStart",f),f(),n=!0,l=!1},play:function(e){void 0!==e&&(u=e),d()},stop:function(){l&&f()},reset:function(){l&&d()},isPlaying:function(){return l},timeUntilNext:function(){return o?r[t.selectedScrollSnap()]-(new Date().getTime()-o):null}}}W.globalOptions=void 0;var G=e.i(795218),Y=e.i(930800),J=e.i(171680),X=e.i(394245);let Q={container:"text-center text-white sm:max-w-lg md:max-w-2xl lg:max-w-4xl",restaurantName:(0,H.cn)("animate-in fade-in slide-in-from-bottom-4  mb-3 whitespace-nowrap text-2xl flex justify-center tracking-wider text-white/80 sm:text-base md:text-2xl delay-500 font-family-indie duration-1000"),titleBase:"font-sans flex justify-center animate-in fade-in slide-in-from-bottom-6 mb-2 space-x-3 max-w-[600px] lg:max-w-[800px] leading-tight font-bold delay-700 duration-1000 sm:space-x-4 text-4xl xl:text-5xl",titleWord:"animate-in slide-in-from-bottom-4 inline-block duration-1000",tagline:"animate-in fade-in slide-in-from-bottom-4 mb-2 tracking-wider text-white text-2xl md:text-3xl delay-900 duration-1000",description:"font-family-alegreya animate-in fade-in slide-in-from-bottom-4 mx-auto mb-4 px-4 sm:px-0 max-w-sm text-base leading-relaxed text-pretty text-white/90 drop-shadow-sm delay-1000 duration-1000  sm:max-w-lg sm:text-lg md:max-w-xl md:text-lg lg:max-w-2xl lg:text-xl",contactInfo:"animate-in fade-in slide-in-from-bottom-4 mb-6 flex flex-col items-center justify-center gap-4 delay-1200 duration-1000 md:flex-row md:gap-8",buttonsContainer:"animate-in fade-in slide-in-from-bottom-4 flex flex-col justify-center gap-3 delay-1200 duration-1000 sm:flex-row sm:gap-4"},Z=e=>{var r;let{title:i,description:o,origin:a,restaurant_phone:l,restaurant_email:s,scrollToNextSection:c,index:u=0,t:d}=e;return(0,t.jsx)("div",{className:"relative z-10 container mx-auto flex h-full items-center justify-center px-4 sm:px-6 lg:px-8",children:(0,t.jsxs)("div",{className:Q.container,children:[[Y.HeroSectionKey.HOME_HERO,Y.HeroSectionKey.NEWS_HERO].includes(a)?(0,t.jsx)("p",{className:Q.restaurantName,children:(0,t.jsx)("strong",{children:"HUMUS Bio Bakery & Bistrot"})}):null,(e=>(0,t.jsxs)(t.Fragment,{children:[e===Y.HeroSectionKey.MENU_HERO&&(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-center space-x-4",children:[(0,t.jsx)("div",{className:"bg-primary h-[2px] w-16 md:w-20 lg:w-24"}),(0,t.jsx)(_,{className:"text-primary h-10 w-10 md:h-12 md:w-12"}),(0,t.jsx)("div",{className:"bg-primary h-[2px] w-16 md:w-20 lg:w-24"})]}),e===Y.HeroSectionKey.GALLERY_HERO&&(0,t.jsxs)("div",{className:"mb-2 flex items-center justify-center space-x-3",children:[(0,t.jsx)("div",{className:"bg-primary h-[2px] w-12 md:w-16 lg:w-20"}),(0,t.jsx)(P.Camera,{className:"text-primary h-8 w-8 md:h-10 md:w-10"}),(0,t.jsx)("div",{className:"bg-primary h-[2px] w-12 md:w-16 lg:w-20"})]})]}))(a),(0,t.jsx)("div",{className:"sm:px-4",children:(0,t.jsx)("h1",{className:(0,H.cn)(Q.titleBase),children:(0,t.jsx)("span",{className:Q.titleWord,children:i})})}),(r=0===u,a===Y.HeroSectionKey.HOME_HERO&&r?(0,t.jsx)("p",{className:Q.tagline,children:(0,t.jsx)("strong",{children:d("tagline")})}):null),(e=>(null==e?void 0:e.trim())?(0,t.jsx)("p",{className:Q.description,children:e}):null)(o),((e,n,r)=>e!==Y.HeroSectionKey.CONTACT_HERO?null:(0,t.jsxs)("div",{className:Q.contactInfo,children:[(0,t.jsxs)(K.Link,{href:"tel:".concat(n),className:"flex items-center space-x-2 text-white/80",children:[(0,t.jsx)(U.Phone,{className:"h-5 w-5 text-green-400"}),(0,t.jsx)("span",{className:"text-lg font-medium",children:n})]}),(0,t.jsxs)(K.Link,{href:"mailto:".concat(r),className:"flex items-center space-x-2 text-white/80",children:[(0,t.jsx)(B.Mail,{className:"h-5 w-5 text-blue-400"}),(0,t.jsx)("span",{className:"text-lg font-medium",children:r})]})]}
1))(a,l,s),((e,r,i)=>{let o=((e,t)=>({[Y.HeroSectionKey.HOME_HERO]:t("discoverMenu"),[Y.HeroSectionKey.MENU_HERO]:"",[Y.HeroSectionKey.ABOUT_HERO]:t("discoverStory"),[Y.HeroSectionKey.NEWS_HERO]:t("discoverNews"),[Y.HeroSectionKey.GALLERY_HERO]:"",[Y.HeroSectionKey.CONTACT_HERO]:t("sendMessage")})[e]||"")(e,i);return o?(0,t.jsxs)("div",{className:(0,H.cn)(Q.buttonsContainer,e!==Y.HeroSectionKey.HOME_HERO&&"mx-auto max-w-[240px] sm:max-w-none"),children:[e===Y.HeroSectionKey.HOME_HERO&&(0,t.jsx)(K.Link,{href:"/menu",className:"flex justify-center",children:(0,t.jsxs)(n.Button,{className:"font-family-alegreya border-primary hover:bg-primary group relative flex h-14 cursor-pointer items-center justify-center overflow-hidden rounded-full border-2 bg-white/10 px-8 py-0 text-lg font-medium text-white backdrop-blur-md transition-all duration-300 hover:scale-105 hover:text-white hover:shadow-2xl lg:h-16 lg:text-xl",children:[(0,t.jsx)("span",{className:"relative z-10 mr-2",children:o}),(0,t.jsx)("div",{className:"bg-primary absolute inset-0 origin-left scale-x-0 transition-transform duration-300 group-hover:scale-x-100"})]})}),e!==Y.HeroSectionKey.HOME_HERO&&(0,t.jsxs)(n.Button,{onClick:r,className:"font-family-alegreya border-primary hover:bg-primary group relative flex h-14 cursor-pointer items-center justify-center overflow-hidden rounded-full border-2 bg-white/10 px-8 py-0 text-lg font-medium text-white backdrop-blur-md transition-all duration-300 hover:scale-105 hover:text-white hover:shadow-2xl lg:h-16 lg:text-xl",children:[(0,t.jsx)("span",{className:"relative z-10 mr-2",children:o}),(0,t.jsx)(R,{className:"relative z-10 h-5 w-5 transition-transform group-hover:translate-y-1"}),(0,t.jsx)("div",{className:"bg-primary absolute inset-0 origin-left scale-x-0 transition-transform duration-300 group-hover:scale-x-100"})]}),e===Y.HeroSectionKey.HOME_HERO&&(0,t.jsx)(K.Link,{href:"https://humusbiobakerybistrot.plateform.app/reserve",children:(0,t.jsxs)(n.Button,{variant:"ghost",className:"h-12 cursor-pointer rounded-full border-[1px] border-white/60 px-6 text-base text-white backdrop-blur-sm transition-all duration-300 hover:scale-105 hover:bg-white/20 sm:h-14 sm:px-8 sm:text-lg lg:h-16 lg:text-xl",children:[(0,t.jsx)(F.Clock,{className:"mr-2 h-4 w-4 sm:h-5 sm:w-5"}),i("bookTable")]})})]}):null})(a,c,d)]})})};function $(e){let{origin:n}=e,[i,o]=(0,r.useState)(),[a,l]=(0,r.useState)(0),s=(0,r.useContext)(G.RestaurantSettingsContext),{restaurant_phone:c,restaurant_email:u}=s,d=(0,X.useTranslations)("hero"),f=s[n]&&s[n].length>0?s[n]:J.initialRestaurantSettings[n],m=()=>{let e=document.getElementById("next-section");null==e||e.scrollIntoView({behavior:"smooth"})};if(1===f.length){let e=f[0],r="video"===e.bg_content_type;return(0,t.jsxs)("section",{className:"relative flex h-screen items-center justify-center overflow-hidden",children:[(0,t.jsx)("div",{className:"absolute inset-0",children:r&&e.video?(0,t.jsxs)("div",{className:"relative h-full w-full",children:[(0,t.jsxs)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",className:"absolute inset-0 h-full w-full object-cover",poster:e.image||void 0,children:[(0,t.jsx)("source",{src:(0,H.getOptimizedVideoUrl)(e.video,"webm"),type:"video/webm"}),(0,t.jsx)("source",{src:(0,H.getOptimizedVideoUrl)(e.video,"mp4"),type:"video/mp4"})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/30 via-black/40 to-black/50"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/20 via-transparent to-black/20"})]}):(0,t.jsxs)("div",{className:"relative h-full w-full",children:[e.image&&(0,t.jsx)(V.default,{src:e.image,alt:e.title||"HUMUS Bistrot Parma",fill:!0,priority:!0,fetchPriority:"high",sizes:"100vw",quality:80,className:"object-cover object-center"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/30 via-black/40 to-black/50"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/20 via-transparent to-black/20"})]})}),(0,t.jsx)(Z,{title:e.title,description:e.desc,origin:n,restaurant_phone:c,restaurant_email:u,scrollToNextSection:m,t:d})]})}let p=f.map(e=>({bg_content_type:e.bg_content_type||"image",image:e.image,video:e.video||"",title:e.title,de
1scription:e.desc}));return(0,r.useEffect)(()=>{i&&(l(i.selectedScrollSnap()),i.on("select",()=>{l(i.selectedScrollSnap())}))},[i]),(0,t.jsx)("section",{id:"home",className:"relative flex h-screen items-center justify-center overflow-hidden",children:(0,t.jsxs)(L,{setApi:o,className:"h-full w-full",plugins:[W({delay:8e3,stopOnInteraction:!1,stopOnMouseEnter:!0})],opts:{align:"center",loop:!0,containScroll:"trimSnaps"},children:[(0,t.jsx)(z,{className:"-ml-0 h-screen",children:p.map((e,r)=>{let i="video"===e.bg_content_type;return(0,t.jsxs)(T,{className:"relative h-screen basis-full overflow-hidden pl-0",children:[i&&e.video?(0,t.jsxs)("div",{className:"absolute inset-0",children:[(0,t.jsxs)("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,preload:"metadata",className:"absolute inset-0 h-full w-full object-cover transition-transform duration-[8000ms] ease-out ".concat(a===r?"scale-100":"scale-110"),poster:e.image||void 0,children:[(0,t.jsx)("source",{src:(0,H.getOptimizedVideoUrl)(e.video,"webm"),type:"video/webm"}),(0,t.jsx)("source",{src:(0,H.getOptimizedVideoUrl)(e.video,"mp4"),type:"video/mp4"})]}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/30 via-black/40 to-black/50"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/20 via-transparent to-black/20"})]}):(0,t.jsxs)("div",{className:"absolute inset-0 transition-transform duration-[8000ms] ease-out",style:{transform:a===r?"scale(1)":"scale(1.1)"},children:[e.image&&(0,t.jsx)(V.default,{src:e.image,alt:e.title||"HUMUS Bistrot Parma",fill:!0,priority:0===r,fetchPriority:0===r?"high":"auto",loading:0===r?"eager":"lazy",sizes:"100vw",quality:80,className:"object-cover object-center"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/30 via-black/40 to-black/50"}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-r from-black/20 via-transparent to-black/20"})]}),(0,t.jsx)(Z,{title:e.title,description:e.description,origin:n,restaurant_phone:c,restaurant_email:u,scrollToNextSection:m,index:r,t:d})]},r)})}),(0,t.jsx)(D,{className:"absolute top-1/2 left-2 z-20 h-8 w-8 -translate-y-1/2 rounded-full border-white/20 bg-white/10 text-white backdrop-blur-md transition-all duration-300 hover:scale-110 hover:bg-white/20 hover:text-white max-[420px]:left-1 max-[420px]:bg-transparent max-[420px]:backdrop-blur-none sm:left-4 sm:h-10 sm:w-10 lg:left-6 lg:h-12 lg:w-12"}),(0,t.jsx)(A,{className:"absolute top-1/2 right-2 z-20 h-8 w-8 -translate-y-1/2 rounded-full border-white/20 bg-white/10 text-white backdrop-blur-md transition-all duration-300 hover:scale-110 hover:bg-white/20 hover:text-white max-[420px]:right-1 max-[420px]:bg-transparent max-[420px]:backdrop-blur-none sm:right-4 sm:h-10 sm:w-10 lg:right-6 lg:h-12 lg:w-12"}),(0,t.jsx)("div",{className:"absolute bottom-4 left-1/2 z-20 flex -translate-x-1/2 space-x-2 sm:bottom-6 sm:space-x-3 lg:bottom-8",children:p.map((e,n)=>(0,t.jsx)("button",{onClick:()=>null==i?void 0:i.scrollTo(n),className:"group relative overflow-hidden rounded-full transition-all duration-300 ".concat(n===a?"bg-primary h-2 w-8 sm:h-3 sm:w-12":"h-2 w-2 bg-white/40 hover:bg-white/60 sm:h-3 sm:w-3"),"aria-label":"Go to slide ".concat(n+1),children:n===a&&(0,t.jsx)("div",{className:"bg-primary/80 absolute inset-0 animate-pulse rounded-full"})},n))})]})})}}]);

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.