PageSourceSearch

https://www.cafedesangesparis.com/build/index-CRUg1hPs.js

js cafedesangesparis.com collected 2026-10-07 00:42:15 UTC 32,032 bytes, 1 lines download raw bytes

1(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const o of document.querySelectorAll('link[rel="modulepreload"]'))i(o);new MutationObserver(o=>{for(const r of o)if(r.type==="childList")for(const s of r.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&i(s)}).observe(document,{childList:!0,subtree:!0});function n(o){const r={};return o.integrity&&(r.integrity=o.integrity),o.referrerPolicy&&(r.referrerPolicy=o.referrerPolicy),o.crossOrigin==="use-credentials"?r.credentials="include":o.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function i(o){if(o.ep)return;o.ep=!0;const r=n(o);fetch(o.href,r)}})();var ye,D,et,q,We,tt,nt,we,ae,ie,rt,He,Se,Me,it,pe={},ve=[],pt=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,$e=Array.isArray;function I(e,t){for(var n in t)e[n]=t[n];return e}function Te(e){e&&e.parentNode&&e.parentNode.removeChild(e)}function je(e,t,n){var i,o,r,s={};for(r in t)r=="key"?i=t[r]:r=="ref"?o=t[r]:s[r]=t[r];if(arguments.length>2&&(s.children=arguments.length>3?ye.call(arguments,2):n),typeof e=="function"&&e.defaultProps!=null)for(r in e.defaultProps)s[r]===void 0&&(s[r]=e.defaultProps[r]);return ce(e,s,i,o,null)}function ce(e,t,n,i,o){var r={type:e,props:t,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:o??++et,__i:-1,__u:0};return o==null&&D.vnode!=null&&D.vnode(r),r}function G(e){return e.children}function ue(e,t){this.props=e,this.context=t}function te(e,t){if(t==null)return e.__?te(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if((n=e.__k[t])!=null&&n.__e!=null)return n.__e;return typeof e.type=="function"?te(e):null}function vt(e){if(e.__P&&e.__d){var t=e.__v,n=t.__e,i=[],o=[],r=I({},t);r.__v=t.__v+1,D.vnode&&D.vnode(r),Ne(e.__P,r,t,e.__n,e.__P.namespaceURI,32&t.__u?[n]:null,i,n??te(t),!!(32&t.__u),o),r.__v=t.__v,r.__.__k[r.__i]=r,lt(i,r,o),t.__e=t.__=null,r.__e!=n&&ot(r)}}function ot(e){if((e=e.__)!=null&&e.__c!=null)return e.__e=e.__c.base=null,e.__k.some(function(t){if(t!=null&&t.__e!=null)return e.__e=e.__c.base=t.__e}),ot(e)}function De(e){(!e.__d&&(e.__d=!0)&&q.push(e)&&!me.__r++||We!=D.debounceRendering)&&((We=D.debounceRendering)||tt)(me)}function me(){try{for(var e,t=1;q.length;)q.length>t&&q.sort(nt),e=q.shift(),t=q.length,vt(e)}finally{q.length=me.__r=0}}function st(e,t,n,i,o,r,s,a,d,l,m){var _,g,p,S,N,x,k,b=i&&i.__k||ve,A=t.length;for(d=mt(n,t,b,d,A),_=0;_<A;_++)(p=n.__k[_])!=null&&(g=p.__i!=-1&&b[p.__i]||pe,p.__i=_,x=Ne(e,p,g,o,r,s,a,d,l,m),S=p.__e,p.ref&&g.ref!=p.ref&&(g.ref&&Ae(g.ref,null,p),m.push(p.ref,p.__c||S,p)),N==null&&S!=null&&(N=S),(k=!!(4&p.__u))||g.__k===p.__k?(d=_t(p,d,e,k),k&&g.__e&&(g.__e=null)):typeof p.type=="function"&&x!==void 0?d=x:S&&(d=S.nextSibling),p.__u&=-7);return n.__e=N,d}function mt(e,t,n,i,o){var r,s,a,d,l,m=n.length,_=m,g=0;for(e.__k=new Array(o),r=0;r<o;r++)(s=t[r])!=null&&typeof s!="boolean"&&typeof s!="function"?(typeof s=="string"||typeof s=="number"||typeof s=="bigint"||s.constructor==String?s=e.__k[r]=ce(null,s,null,null,null):$e(s)?s=e.__k[r]=ce(G,{children:s},null,null,null):s.constructor===void 0&&s.__b>0?s=e.__k[r]=ce(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):e.__k[r]=s,d=r+g,s.__=e,s.__b=e.__b+1,a=null,(l=s.__i=gt(s,n,d,_))!=-1&&(_--,(a=n[l])&&(a.__u|=2)),a==null||a.__v==null?(l==-1&&(o>m?g--:o<m&&g++),typeof s.type!="function"&&(s.__u|=4)):l!=d&&(l==d-1?g--:l==d+1?g++:(l>d?g--:g++,s.__u|=4))):e.__k[r]=null;if(_)for(r=0;r<m;r++)(a=n[r])!=null&&(2&a.__u)==0&&(a.__e==i&&(i=te(a)),ct(a,a));return i}function _t(e,t,n,i){var o,r;if(typeof e.type=="function"){for(o=e.__k,r=0;o&&r<o.length;r++)o[r]&&(o[r].__=e,t=_t(o[r],t,n,i));return t}e.__e!=t&&(i&&(t&&e.type&&!t.parentNode&&(t=te(e)),n.insertBefore(e.__e,t||null)),t=e.__e);do t=t&&t.nextSibling;while(t!=null&&t.nodeType==8);return t}function gt(e,t,n,i){var o,r,s,a=e.key,d=e.type,l=t[n],m=l!=null&&(2&l.__u)==0;if(l===null&&a==null||m&&a==l.key&&d==l.type)return n;if(i>(m?1:0)){for(o=n-1,r=n+1;o>=0||r<t.length;)if((l=t[s=o>
vendor: 5,017 bytes, line 1
1=0?o--:r++])!=null&&(2&l.__u)==0&&a==l.key&&d==l.type)return s}return-1}function Fe(e,t,n){t[0]=="-"?e.setProperty(t,n??""):e[t]=n==null?"":typeof n!="number"||pt.test(t)?n:n+"px"}function le(e,t,n,i,o){var r,s;e:if(t=="style")if(typeof n=="string")e.style.cssText=n;else{if(typeof i=="string"&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||Fe(e.style,t,"");if(n)for(t in n)i&&n[t]==i[t]||Fe(e.style,t,n[t])}else if(t[0]=="o"&&t[1]=="n")r=t!=(t=t.replace(rt,"$1")),s=t.toLowerCase(),t=s in e||t=="onFocusOut"||t=="onFocusIn"?s.slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i?n[ie]=i[ie]:(n[ie]=He,e.addEventListener(t,r?Me:Se,r)):e.removeEventListener(t,r?Me:Se,r);else{if(o=="http://www.w3.org/2000/svg")t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if(t!="width"&&t!="height"&&t!="href"&&t!="list"&&t!="form"&&t!="tabIndex"&&t!="download"&&t!="rowSpan"&&t!="colSpan"&&t!="role"&&t!="popover"&&t in e)try{e[t]=n??"";break e}catch{}typeof n=="function"||(n==null||n===!1&&t[4]!="-"?e.removeAttribute(t):e.setAttribute(t,t=="popover"&&n==1?"":n))}}function Ye(e){return function(t){if(this.l){var n=this.l[t.type+e];if(t[ae]==null)t[ae]=He++;else if(t[ae]<n[ie])return;return n(D.event?D.event(t):t)}}}function Ne(e,t,n,i,o,r,s,a,d,l){var m,_,g,p,S,N,x,k,b,A,T,F,Y,J,V,U=t.type;if(t.constructor!==void 0)return null;128&n.__u&&(d=!!(32&n.__u),r=[a=t.__e=n.__e]),(m=D.__b)&&m(t);e:if(typeof U=="function")try{if(k=t.props,b=U.prototype&&U.prototype.render,A=(m=U.contextType)&&i[m.__c],T=m?A?A.props.value:m.__:i,n.__c?x=(_=t.__c=n.__c).__=_.__E:(b?t.__c=_=new U(k,T):(t.__c=_=new ue(k,T),_.constructor=U,_.render=$t),A&&A.sub(_),_.state||(_.state={}),_.__n=i,g=_.__d=!0,_.__h=[],_._sb=[]),b&&_.__s==null&&(_.__s=_.state),b&&U.getDerivedStateFromProps!=null&&(_.__s==_.state&&(_.__s=I({},_.__s)),I(_.__s,U.getDerivedStateFromProps(k,_.__s))),p=_.props,S=_.state,_.__v=t,g)b&&U.getDerivedStateFromProps==null&&_.componentWillMount!=null&&_.componentWillMount(),b&&_.componentDidMount!=null&&_.__h.push(_.componentDidMount);else{if(b&&U.getDerivedStateFromProps==null&&k!==p&&_.componentWillReceiveProps!=null&&_.componentWillReceiveProps(k,T),t.__v==n.__v||!_.__e&&_.shouldComponentUpdate!=null&&_.shouldComponentUpdate(k,_.__s,T)===!1){t.__v!=n.__v&&(_.props=k,_.state=_.__s,_.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.some(function(O){O&&(O.__=t)}),ve.push.apply(_.__h,_._sb),_._sb=[],_.__h.length&&s.push(_);break e}_.componentWillUpdate!=null&&_.componentWillUpdate(k,_.__s,T),b&&_.componentDidUpdate!=null&&_.__h.push(function(){_.componentDidUpdate(p,S,N)})}if(_.context=T,_.props=k,_.__P=e,_.__e=!1,F=D.__r,Y=0,b)_.state=_.__s,_.__d=!1,F&&F(t),m=_.render(_.props,_.state,_.context),ve.push.apply(_.__h,_._sb),_._sb=[];else do _.__d=!1,F&&F(t),m=_.render(_.props,_.state,_.context),_.state=_.__s;while(_.__d&&++Y<25);_.state=_.__s,_.getChildContext!=null&&(i=I(I({},i),_.getChildContext())),b&&!g&&_.getSnapshotBeforeUpdate!=null&&(N=_.getSnapshotBeforeUpdate(p,S)),J=m!=null&&m.type===G&&m.key==null?at(m.props.children):m,a=st(e,$e(J)?J:[J],t,n,i,o,r,s,a,d,l),_.base=t.__e,t.__u&=-161,_.__h.length&&s.push(_),x&&(_.__E=_.__=null)}catch(O){if(t.__v=null,d||r!=null)if(O.then){for(t.__u|=d?160:128;a&&a.nodeType==8&&a.nextSibling;)a=a.nextSibling;r[r.indexOf(a)]=null,t.__e=a}else{for(V=r.length;V--;)Te(r[V]);Ce(t)}else t.__e=n.__e,t.__k=n.__k,O.then||Ce(t);D.__e(O,t,n)}else r==null&&t.__v==n.__v?(t.__k=n.__k,t.__e=n.__e):a=t.__e=yt(n.__e,t,n,i,o,r,s,d,l);return(m=D.diffed)&&m(t),128&t.__u?void 0:a}function Ce(e){e&&(e.__c&&(e.__c.__e=!0),e.__k&&e.__k.some(Ce))}function lt(e,t,n){for(var i=0;i<n.length;i++)Ae(n[i],n[++i],n[++i]);D.__c&&D.__c(t,e),e.some(function(o){try{e=o.__h,o.__h=[],e.some(function(r){r.call(o)})}catch(r){D.__e(r,o.__v)}})}function at(e){return typeof e!="object"||e==null||e.__b>0?e:$e(e)?e.map(at):e.constructor!==void 0?null:I({},e)}function yt(e,t,n,i,o,r,s,a,d){var l,m,_,g,p,S,N,x=n.props||pe,k=t.props,b=t.type;if(b=="svg"?o="http://www.w3.org/2000/svg":b=="math"?o="http://www.w3.org/1998/Math/MathML":o||(o="http://www.w3.org/1999/xhtml"),r!=null){for(l=0;l<r.length;l++)if((p=r[l])&&"setAttribute"in p==!!b&&(b?p.localName==b:p.nodeType==3)){e=p,r[l]=null;break}}if(e==null){if(b==null)return document.createTextNode(k);e=document.createElementNS(o,b,k.is&&k),a&&(D.__m&&D.__m(t,r),a=!1),r=null}if(b==null)x===k||a&&e.data==k||(e.data=k);else{if(r=b=="textarea"&&k.defaultValue!=null?null:r&&ye.call(e.childNodes),!a&&r!=null)for(x={},l=0;l<e.attributes.length;l++)x[(p=e.attributes[l]).name]=p.value;for(l in x)p=x[l],l=="dangerouslySetInnerHTML"?_=p:l=="children"||l in k||l=="value"&&"defaultValue"in k||l=="checked"&&"defaultChecked"in k||le(e,l,null,p,o);for(l in k)p=k[l],l=="children"?g=p:l=="dangerouslySetInnerHTML"?m=p:l=="value"?S=p:l=="checked"?N=p:a&&typeof p!="function"||x[l]===p||le(e,l,p,x[l],o);if(m)a||_&&(m.__html==_.__html||m.__html==e.innerHTML)||(e.innerHTML=m.__html),t.__k=[];else if(_&&(e.innerHTML=""),st(t.type=="template"?e.content:e,$e
vendor: 2,389 bytes, line 1
1(g)?g:[g],t,n,i,b=="foreignObject"?"http://www.w3.org/1999/xhtml":o,r,s,r?r[0]:n.__k&&te(n,0),a,d),r!=null)for(l=r.length;l--;)Te(r[l]);a&&b!="textarea"||(l="value",b=="progress"&&S==null?e.removeAttribute("value"):S!=null&&(S!==e[l]||b=="progress"&&!S||b=="option"&&S!=x[l])&&le(e,l,S,x[l],o),l="checked",N!=null&&N!=e[l]&&le(e,l,N,x[l],o))}return e}function Ae(e,t,n){try{if(typeof e=="function"){var i=typeof e.__u=="function";i&&e.__u(),i&&t==null||(e.__u=e(t))}else e.current=t}catch(o){D.__e(o,n)}}function ct(e,t,n){var i,o;if(D.unmount&&D.unmount(e),(i=e.ref)&&(i.current&&i.current!=e.__e||Ae(i,null,t)),(i=e.__c)!=null){if(i.componentWillUnmount)try{i.componentWillUnmount()}catch(r){D.__e(r,t)}i.base=i.__P=null}if(i=e.__k)for(o=0;o<i.length;o++)i[o]&&ct(i[o],t,n||typeof e.type!="function");n||Te(e.__e),e.__c=e.__=e.__e=void 0}function $t(e,t,n){return this.constructor(e,n)}function wt(e,t,n){var i,o,r,s;t==document&&(t=document.documentElement),D.__&&D.__(e,t),o=(i=!1)?null:t.__k,r=[],s=[],Ne(t,e=t.__k=je(G,null,[e]),o||pe,pe,t.namespaceURI,o?null:t.firstChild?ye.call(t.childNodes):null,r,o?o.__e:t.firstChild,i,s),lt(r,e,s)}function ut(e){function t(n){var i,o;return this.getChildContext||(i=new Set,(o={})[t.__c]=this,this.getChildContext=function(){return o},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(r){this.props.value!=r.value&&i.forEach(function(s){s.__e=!0,De(s)})},this.sub=function(r){i.add(r);var s=r.componentWillUnmount;r.componentWillUnmount=function(){i&&i.delete(r),s&&s.call(r)}}),n.children}return t.__c="__cC"+it++,t.__=e,t.Provider=t.__l=(t.Consumer=function(n,i){return n.children(i)}).contextType=t,t}ye=ve.slice,D={__e:function(e,t,n,i){for(var o,r,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&r.getDerivedStateFromError!=null&&(o.setState(r.getDerivedStateFromError(e)),s=o.__d),o.componentDidCatch!=null&&(o.componentDidCatch(e,i||{}),s=o.__d),s)return o.__E=o}catch(a){e=a}throw e}},et=0,ue.prototype.setState=function(e,t){var n;n=this.__s!=null&&this.__s!=this.state?this.__s:this.__s=I({},this.state),typeof e=="function"&&(e=e(I({},n),this.props)),e&&I(n,e),e!=null&&this.__v&&(t&&this._sb.push(t),De(this))},ue.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),De(this))},ue.prototype.render=G,q=[],tt=typeof Promise=="function"?Promise.prototype.then.bind(Prom
1ise.resolve()):setTimeout,nt=function(e,t){return e.__v.__b-t.__v.__b},me.__r=0,we=Math.random().toString(8),ae="__d"+we,ie="__a"+we,rt=/(PointerCapture)$|Capture$/i,He=0,Se=Ye(!1),Me=Ye(!0),it=0;var bt=0;function c(e,t,n,i,o,r){t||(t={});var s,a,d=t;if("ref"in d)for(a in d={},t)a=="ref"?s=t[a]:d[a]=t[a];var l={type:e,props:d,key:n,ref:s,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:--bt,__i:-1,__u:0,__source:o,__self:r};if(typeof e=="function"&&(s=e.defaultProps))for(a in s)d[a]===void 0&&(d[a]=s[a]);return D.vnode&&D.vnode(l),l}var oe,P,be,Ie,Oe=0,ft=[],H=D,ze=H.__b,qe=H.__r,Je=H.diffed,Ve=H.__c,Be=H.unmount,Ze=H.__;function Ee(e,t){H.__h&&H.__h(P,e,Oe||t),Oe=0;var n=P.__H||(P.__H={__:[],__h:[]});return e>=n.__.length&&n.__.push({}),n.__[e]}function fe(e){return Oe=1,kt(ht,e)}function kt(e,t,n){var i=Ee(oe++,2);if(i.t=e,!i.__c&&(i.__=[ht(void 0,t),function(a){var d=i.__N?i.__N[0]:i.__[0],l=i.t(d,a);d!==l&&(i.__N=[l,i.__[1]],i.__c.setState({}))}],i.__c=P,!P.__f)){var o=function(a,d,l){if(!i.__c.__H)return!0;var m=i.__c.__H.__.filter(function(g){return g.__c});if(m.every(function(g){return!g.__N}))return!r||r.call(this,a,d,l);var _=i.__c.props!==a;return m.some(function(g){if(g.__N){var p=g.__[0];g.__=g.__N,g.__N=void 0,p!==g.__[0]&&(_=!0)}}),r&&r.call(this,a,d,l)||_};P.__f=!0;var r=P.shouldComponentUpdate,s=P.componentWillUpdate;P.componentWillUpdate=function(a,d,l){if(this.__e){var m=r;r=void 0,o(a,d,l),r=m}s&&s.call(this,a,d,l)},P.shouldComponentUpdate=o}return i.__N||i.__}function xe(e,t){var n=Ee(oe++,3);!H.__s&&Dt(n.__H,t)&&(n.__=e,n.u=t,P.__H.__h.push(n))}function K(e){var t=P.context[e.__c],n=Ee(oe++,9);return n.c=e,t?(n.__==null&&(n.__=!0,t.sub(P)),t.props.value):e.__}function St(){for(var e;e=ft.shift();){var t=e.__H;if(e.__P&&t)try{t.__h.some(he),t.__h.some(Pe),t.__h=[]}catch(n){t.__h=[],H.__e(n,e.__v)}}}H.__b=function(e){P=null,ze&&ze(e)},H.__=function(e,t){e&&t.__k&&t.__k.__m&&(e.__m=t.__k.__m),Ze&&Ze(e,t)},H.__r=function(e){qe&&qe(e),oe=0;var t=(P=e.__c).__H;t&&(be===P?(t.__h=[],P.__h=[],t.__.some(function(n){n.__N&&(n.__=n.__N),n.u=n.__N=void 0})):(t.__h.some(he),t.__h.some(Pe),t.__h=[],oe=0)),be=P},H.diffed=function(e){Je&&Je(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(ft.push(t)!==1&&Ie===H.requestAnimationFrame||((Ie=H.requestAnimationFrame)||Mt)(St)),t.__H.__.some(function(n){n.u&&(n.__H=n.u),n.u=void 0})),be=P=null},H.__c=function(e,t){t.some(function(n){try{n.__h.some(he),n.__h=n.__h.filter(function(i){return!i.__||Pe(i)})}catch(i){t.some(function(o){o.__h&&(o.__h=[])}),t=[],H.__e(i,n.__v)}}),Ve&&Ve(e,t)},H.unmount=function(e){Be&&Be(e);var t,n=e.__c;n&&n.__H&&(n.__H.__.some(function(i){try{he(i)}catch(o){t=o}}),n.__H=void 0,t&&H.__e(t,n.__v))};var Ge=typeof requestAnimationFrame=="function";function Mt(e){var t,n=function(){clearTimeout(i),Ge&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,35);Ge&&(t=requestAnimationFrame(n))}function he(e){var t=P,n=e.__c;typeof n=="function"&&(e.__c=void 0,n()),P=t}function Pe(e){var t=P;e.__c=e.__(),P=t}function Dt(e,t){return!e||e.length!==t.length||t.some(function(n,i){return n!==e[i]})}function ht(e,t){return typeof t=="function"?t(e):t}const Ct=({paginationData:e,changePage:t})=>{let n=[];for(let i=Math.max(1,e.current_page-2);i<=Math.min(e.current_page+2,e.last_page);i++)n.push(i);return c("ul",{class:"pagination",children:[e.current_page>1?c("li",{class:"previous",children:c("a",{class:"fa fa-angle-left",onClick:()=>{t(e.current_page-1)}})}):null,e.current_page>
13?c("li",{"ng-show":"reviewsCtrl.current_page > 3",children:c("a",{onClick:()=>{t(1)},children:"1"})}):null,e.current_page>4?c("li",{"ng-show":"reviewsCtrl.current_page > 4",children:"..."}):null,n.map((i,o)=>c("li",{class:`${e.current_page===i?"active":""}`,children:c("a",{onClick:()=>{t(i)},children:i})},`pagination_${o}`)),e.current_page<e.totalPages-3?c("li",{"ng-show":"reviewsCtrl.current_page < reviewsCtrl.totalPages - 3",children:"..."}):null,e.current_page<e.totalPages-2?c("li",{"ng-show":"reviewsCtrl.current_page < reviewsCtrl.totalPages - 2",children:c("a",{onClick:()=>{t(e.totalPages)},children:e.totalPages})}):null,e.current_page<e.totalPages?c("li",{class:"next","ng-show":"reviewsCtrl.current_page < reviewsCtrl.totalPages",children:c("a",{class:"fa fa-angle-right",onClick:()=>{t(e.current_page+1)}})}):null]})};var ge=function(){return ge=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},ge.apply(this,arguments)};function ke(e,t){var n=typeof Symbol=="function"&&e[Symbol.iterator];if(!n)return e;var i,o,r=n.call(e),s=[];try{for(;(t===void 0||t-- >0)&&!(i=r.next()).done;)s.push(i.value)}catch(a){o={error:a}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(o)throw o.error}}return s}function Ot(e,t){return[e,!e||e.endsWith("/")?"":"/",t,".json"].join("")}function xt(e,t){var n=e;return t&&Object.keys(t).forEach((function(i){var o=t[i],r=new RegExp("{"+i+"}","gm");n=n.replace(r,o.toString())})),n}function Ke(e,t,n){var i=e[t];if(!i)return n;var o=n.split("."),r="";do{var s=i[r+=o.shift()];s===void 0||typeof s!="object"&&o.length?o.length?r+=".":i=n:(i=s,r="")}while(o.length);return i}var ee={},Pt={root:"",lang:"en",fallbackLang:"en"},Q=ut(null),Lt="assets",Ht="en",Tt="en",jt=function(e){var t=(function(s,a){s=Object.assign({},Pt,s),ee=a||ee;var d=ke(fe(s.lang),2),l=d[0],m=d[1],_=ke(fe(ee),2),g=_[0],p=_[1],S=ke(fe(!1),2),N=S[0],x=S[1],k=function(b){if(!g.hasOwnProperty(b)){x(!1);var A=Ot(s.root,b);fetch(A).then((function(T){return T.json()})).then((function(T){ee[b]=T,p(ge({},ee)),x(!0)})).catch((function(T){console.log("Aww, snap.",T),p(ge({},ee)),x(!0)}))}};return xe((function(){k(s.fallbackLang),k(l)}),[l]),{lang:l,setLang:m,t:function(b,A){if(!g.hasOwnProperty(l))return b;var T=Ke(g,l,b);return T===b&&l!==s.fallbackLang&&(T=Ke(g,s.fallbackLang,b)),xt(T,A)},isReady:N}})({root:e.root||Lt,lang:e.lang||Ht,fallbackLang:e.fallbackLang||Tt},e.translations),n=t.t,i=t.setLang,o=t.lang,r=t.isReady;return je(Q.Provider,{value:{t:n,setLang:i,lang:o,isReady:r}},e.children)};function Nt(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var de={exports:{}},At=de.exports,Qe;function Et(){return Qe||(Qe=1,(function(e,t){(function(n,i){e.exports=i()})(At,(function(){var n=1e3,i=6e4,o=36e5,r="millisecond",s="second",a="minute",d="hour",l="day",m="week",_="month",g="quarter",p="year",S="date",N="Invalid Date",x=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,k=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(y){var h=["th","st","nd","rd"],u=y%100;return"["+y+(h[(u-20)%10]||h[u]||h[0])+"]"}},A=function(y,h,u){var v=String(y);return!v||v.length>=h?y:""+Array(h+1-v.length).join(u)+y},T={s:A,z:function(y){var h=-y.utcOffset(),u=Math.abs(h),v=Math.floor(u/60),f=u%60;return(h<=0?"+":"-")+A(v,2,"0")+":"+A(f,2,"0")},m:function y(h,u){if(h.date()<u.date())return-y(u,h);
vendor: 4,835 bytes, line 1
1var v=12*(u.year()-h.year())+(u.month()-h.month()),f=h.clone().add(v,_),$=u-f<0,w=h.clone().add(v+($?-1:1),_);return+(-(v+(u-f)/($?f-w:w-f))||0)},a:function(y){return y<0?Math.ceil(y)||0:Math.floor(y)},p:function(y){return{M:_,y:p,w:m,d:l,D:S,h:d,m:a,s,ms:r,Q:g}[y]||String(y||"").toLowerCase().replace(/s$/,"")},u:function(y){return y===void 0}},F="en",Y={};Y[F]=b;var J="$isDayjsObject",V=function(y){return y instanceof se||!(!y||!y[J])},U=function y(h,u,v){var f;if(!h)return F;if(typeof h=="string"){var $=h.toLowerCase();Y[$]&&(f=$),u&&(Y[$]=u,f=$);var w=h.split("-");if(!f&&w.length>1)return y(w[0])}else{var C=h.name;Y[C]=h,f=C}return!v&&f&&(F=f),f||!v&&F},O=function(y,h){if(V(y))return y.clone();var u=typeof h=="object"?h:{};return u.date=y,u.args=arguments,new se(u)},M=T;M.l=U,M.i=V,M.w=function(y,h){return O(y,{locale:h.$L,utc:h.$u,x:h.$x,$offset:h.$offset})};var se=(function(){function y(u){this.$L=U(u.locale,null,!0),this.parse(u),this.$x=this.$x||u.x||{},this[J]=!0}var h=y.prototype;return h.parse=function(u){this.$d=(function(v){var f=v.date,$=v.utc;if(f===null)return new Date(NaN);if(M.u(f))return new Date;if(f instanceof Date)return new Date(f);if(typeof f=="string"&&!/Z$/i.test(f)){var w=f.match(x);if(w){var C=w[2]-1||0,L=(w[7]||"0").substring(0,3);return $?new Date(Date.UTC(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,L)):new Date(w[1],C,w[3]||1,w[4]||0,w[5]||0,w[6]||0,L)}}return new Date(f)})(u),this.init()},h.init=function(){var u=this.$d;this.$y=u.getFullYear(),this.$M=u.getMonth(),this.$D=u.getDate(),this.$W=u.getDay(),this.$H=u.getHours(),this.$m=u.getMinutes(),this.$s=u.getSeconds(),this.$ms=u.getMilliseconds()},h.$utils=function(){return M},h.isValid=function(){return this.$d.toString()!==N},h.isSame=function(u,v){var f=O(u);return this.startOf(v)<=f&&f<=this.endOf(v)},h.isAfter=function(u,v){return O(u)<this.startOf(v)},h.isBefore=function(u,v){return this.endOf(v)<O(u)},h.$g=function(u,v,f){return M.u(u)?this[v]:this.set(f,u)},h.unix=function(){return Math.floor(this.valueOf()/1e3)},h.valueOf=function(){return this.$d.getTime()},h.startOf=function(u,v){var f=this,$=!!M.u(v)||v,w=M.p(u),C=function(Z,R){var z=M.w(f.$u?Date.UTC(f.$y,R,Z):new Date(f.$y,R,Z),f);return $?z:z.endOf(l)},L=function(Z,R){return M.w(f.toDate()[Z].apply(f.toDate("s"),($?[0,0,0,0]:[23,59,59,999]).slice(R)),f)},j=this.$W,E=this.$M,W=this.$D,X="set"+(this.$u?"UTC":"");switch(w){case p:return $?C(1,0):C(31,11);case _:return $?C(1,E):C(0,E+1);case m:var B=this.$locale().weekStart||0,ne=(j<B?j+7:j)-B;return C($?W-ne:W+(6-ne),E);case l:case S:return L(X+"Hours",0);case d:return L(X+"Minutes",1);case a:return L(X+"Seconds",2);case s:return L(X+"Milliseconds",3);default:return this.clone()}},h.endOf=function(u){return this.startOf(u,!1)},h.$set=function(u,v){var f,$=M.p(u),w="set"+(this.$u?"UTC":""),C=(f={},f[l]=w+"Date",f[S]=w+"Date",f[_]=w+"Month",f[p]=w+"FullYear",f[d]=w+"Hours",f[a]=w+"Minutes",f[s]=w+"Seconds",f[r]=w+"Milliseconds",f)[$],L=$===l?this.$D+(v-this.$W):v;if($===_||$===p){var j=this.clone().set(S,1);j.$d[C](L),j.init(),this.$d=j.set(S,Math.min(this.$D,j.daysInMonth())).$d}else C&&this.$d[C](L);return this.init(),this},h.set=function(u,v){return this.clone().$set(u,v)},h.get=function(u){return this[M.p(u)]()},h.add=function(u,v){var f,$=this;u=Number(u);var w=M.p(v),C=function(E){var W=O($);return M.w(W.date(W.date()+Math.round(E*u)),$)};if(w===_)return this.set(_,this.$M+u);if(w===p)return this.set(p,this.$y+u);if(w===l)return C(1);if(w===m)return C(7);var L=(f={},f[a]=i,f[d]=o,f[s]=n,f)[w]||1,j=this.$d.getTime()+u*L;return M.w(j,this)},h.subtract=function(u,v){return this.add(-1*u,v)},h.format=function(u){var v=this,f=this.$locale();if(!this.isValid())return f.invalidDate||N;var $=u||"YYYY-MM-DDTHH:mm:ssZ",w=M.z(this),C=this.$H,L=this.$m,j=this.$M,E=f.weekdays,W=f.months,X=f.meridiem,B=function(R,z,re,_e){return R&&(R[z]||R(v,$))||re[z].slice(0,_e)},ne=function(R){return M.s(C%12||12,R,"0")},Z=X||function(R,z,re){var _e=R<12?"AM":"PM";return re?_e.toLowerCase():_e};return $.replace(k,(function(R,z){return z||(function(re){switch(re){case"YY":return String(v.$y).slice(-2);case"YYYY":return M.s(v.$y,4,"0");case"M":return j+1;case"MM":return M.s(j+1,2,"0");case"MMM":return B(f.monthsShort,j,W,3);case"MMMM":return B(W,j);case"D":return v.$D;case"DD":return M.s(v.$D,2,"0");case"d":return String(v.$W);case"dd":return B(f.weekdaysMin,v.$W,E,2);case"ddd":return B(f.weekdaysShort,v.$W,E,3);case"dddd":return E[v.$W];case"H":return String(C);case"HH":return M.s(C,2,"0");case"h":return ne(1);case"hh":return ne(2);case"a":return Z(C,L,!0);case"A":return Z(C,L,!1);case"m":return String(L);case"mm":return M.s(L,2,"0");case"s":return String(v.$s);case"ss":return M.s(v.$s,2,"0");case"SSS":return M.s(v.$ms,3,"0");case"Z":return w}return null})(R)||w.replace(":","")}))}
1,h.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},h.diff=function(u,v,f){var $,w=this,C=M.p(v),L=O(u),j=(L.utcOffset()-this.utcOffset())*i,E=this-L,W=function(){return M.m(w,L)};switch(C){case p:$=W()/12;break;case _:$=W();break;case g:$=W()/3;break;case m:$=(E-j)/6048e5;break;case l:$=(E-j)/864e5;break;case d:$=E/o;break;case a:$=E/i;break;case s:$=E/n;break;default:$=E}return f?$:M.a($)},h.daysInMonth=function(){return this.endOf(_).$D},h.$locale=function(){return Y[this.$L]},h.locale=function(u,v){if(!u)return this.$L;var f=this.clone(),$=U(u,v,!0);return $&&(f.$L=$),f},h.clone=function(){return M.w(this.$d,this)},h.toDate=function(){return new Date(this.valueOf())},h.toJSON=function(){return this.isValid()?this.toISOString():null},h.toISOString=function(){return this.$d.toISOString()},h.toString=function(){return this.$d.toUTCString()},y})(),Re=se.prototype;return O.prototype=Re,[["$ms",r],["$s",s],["$m",a],["$H",d],["$W",l],["$M",_],["$y",p],["$D",S]].forEach((function(y){Re[y[1]]=function(h){return this.$g(h,y[0],y[1])}})),O.extend=function(y,h){return y.$i||(y(h,se,O),y.$i=!0),O},O.locale=U,O.isDayjs=V,O.unix=function(y){return O(1e3*y)},O.en=Y[F],O.Ls=Y,O.p={},O}))})(de)),de.exports}var Ut=Et();const Le=Nt(Ut),Rt=({data:e})=>{const{t}=K(Q);return c(G,{children:[c("a",{class:"review__anchor",id:`anchor-review-${e.id}`,name:`review-${e.id}`,href:`#review-${e.id}`,rel:"nofollow"}),c("div",{class:"review__info",children:[c("h4",{class:"review__name",children:[e.booking.firstname," ",e.booking.lastname.charAt(0).toUpperCase()]}),c("div",{class:"stars",children:c("span",{class:"stars__filled",style:{width:`${20*e.global}%`}})})]}),c("div",{class:"review__details",children:[c("div",{class:"review__day",children:[c("span",{children:e.booking.day}),c("span",{children:`${e.booking.time?` - ${e.booking.time}`:""} ${e.booking.nb_guests?` - ${t("guests")} ${e.booking.nb_guests}`:""}`})]}),c("div",{class:"review__criterion",children:[c("span",{children:[t("service")," :"," ",c("strong",{children:[e.service?Math.round(e.service*10)/10:"-","/5"]})]}),c("span",{children:[t("ambience")," :"," ",c("strong",{children:[e.ambiance?Math.round(e.ambiance*10)/10:"-","/5"]})]}),c("span",{children:[t("menu")," :"," ",c("strong",{children:[e.menu?Math.round(e.menu*10)/10:"-","/5"]})]}),c("span",{children:[t("quality_price")," :"," ",c("strong",{children:[e.value_for_money?Math.round(e.value_for_money*10)/10:"-","/5"]})]})]})]}),e.body?c("div",{class:"review__comment",children:[c("hr",{class:"divider"}),c("p",{children:e.body})]}):null]})},Wt=({data:e})=>{const{t}=K(Q);let n=e.source_date||e.created_at;return c(G,{children:[c("a",{class:"review__anchor",id:`anchor-review-${e.id}`,name:`review-${e.id}`,href:`#review-${e.id}`,rel:"nofollow"}),c("div",{class:"review__info",children:[c("h4",{class:"review__name_zcp",children:t("payment_client")}),c("div",{class:"stars",children:c("span",{class:"stars__filled",style:{width:`${20*e.global}%`}})})]}),c("div",{class:"review__details",children:c("div",{class:"review__day",children:[c("span",{children:Le(n).format("YYYY-MM-DD")}),c("span",{children:`${n?` - ${Le(n).format("HH:mm")}`:""}`})]})}),e.body?c("div",{class:"review__comment",children:[c("hr",{class:"divider"}),c("p",{children:e.body})]}):null]})},Ft=({review:e,restaurantName:t})=>{const{t:n}=K(Q);return c("li",{id:`reviews-${e.id}`,class:"review",children:[e.external_site!=="billee"?c(Rt,{data:e,name:t}):c(Wt,{data:e,name:t}),e.replies?c("div",{class:"review__reply",children:e.replies.map((i,o)=>c("div",{children:[c("h5",{children:[c("strong",{children:t})," ",n("has responded to the review")]}),c("p",{class:"with-newlines",children:i.reply})]},`${e.id}_${o}`))}):null]})},Yt=({stores:e,changePage:t})=>{const{t:n}=K(Q),i=e.reviewsData?e.reviewsData.data:[],o=e.paramsData?e.paramsData.restaurant_name:"";return c("div",{itemscope:!0,itemtype:"https://schema.org/Restaurant",children:[c("meta",{itemprop:"name",content:o}),c("ul",{className:"reviews__list unstyled",itemprop:"review",itemscope:!0,itemtype:"https://schema.org/Review",children:i.map((r,s)=>c("div",{children:[c("span",{itemprop:"reviewRating",itemscope:!0,itemtype:"https://schema.org/Rating",children:c("meta",{itemprop:"ratingV
1alue",content:r.global})}),c("meta",{itemprop:"name",content:r.body?r.body:""}),c("span",{itemprop:"author",itemscope:!0,itemtype:"https://schema.org/Person",children:r.external_site!=="billee"?c("meta",{itemprop:"name",content:`${r.booking.firstname} ${r.booking.lastname.charAt(0).toUpperCase()}`}):c("meta",{itemprop:"name",content:n("payment_client")})}),c("meta",{itemprop:"datePublished",content:Le(r.created_at).format("YYYY-MM-DD")}),c(Ft,{review:r,restaurantName:o})]},`${s}_review`))}),e.reviewsData?c(Ct,{changePage:t,paginationData:e.reviewsData,stores:e}):null,e.paramsData?c("div",{itemprop:"aggregateRating",itemtype:"https://schema.org/AggregateRating",itemscope:!0,children:[c("meta",{itemprop:"reviewCount",content:e.paramsData.reviews_count}),c("meta",{itemprop:"ratingValue",content:e.paramsData.average_global})]}):null]})},dt=window.restaurantId;async function It(){const e=`https://api.zenchef.com/api/v1/restaurants/${dt}/reviewParams`;let n=await(await fetch(e,{method:"GET"})).json();return JSON.parse(JSON.stringify(n))}async function zt(e=1){const t=`https://api.zenchef.com/api/v1/restaurants/${dt}/reviews?page=${e}`;let i=await(await fetch(t,{method:"GET"})).json();return JSON.parse(JSON.stringify(i))}const qt={reviewsData:null,paramsData:null},Ue=ut(qt),Jt=Ue.Provider,Vt=Ue.Consumer,Bt=()=>K(Ue);function Zt({changePage:e,templateId:t}){const{t:n}=K(Q);return c(Vt,{children:i=>c(G,{children:[["8","9"].includes(t)?c("h3",{children:n("reviews_from_our_clients_following_booking")}):c("h2",{children:n("reviews_from_our_clients_following_booking")}),c(Yt,{stores:i,changePage:e})]})})}const Gt=()=>{const[e,t]=fe(Bt()),{setLang:n}=K(Q);xe(()=>{o()},[]);const i=["cs","de","el","en","es","fr","it","ja","nl","ru","zh"];xe(()=>{console.log("the page language is",window.lang),n(i.includes(window.lang)?window.lang:e?.paramsData?.lang)},[window.lang]);const o=(r=1)=>{Promise.all([It(),zt(r)]).then(([s,a])=>{t({paramsData:s,reviewsData:a}),window.$("html, body").animate({scrollTop:window.$("body").offset().top-50},500)})};return c("div",{id:"app",children:c("div",{children:c(Jt,{value:e,children:c(Zt,{templateId:window.templateIdForWidget??"8",changePage:o})})})})};var Kt=function(e){return e.replace(/-([a-z])/gi,function(t,n){return n.toUpperCase()})},Qt=function(){return document.currentScript||(function(){var e=document.getElementsByTagName("script");return e[e.length-1]})()},Xt=function(e,t){t===void 0&&(t={});var n=e.attributes,i=Object.assign({},t);return Object.keys(n).forEach(function(o){if(n.hasOwnProperty(o)){var r=n[o].name;if(!r||typeof r!="string")return!1;var s=r.split(/(data-props?-)/).pop()||"";if(s=Kt(s),r!==s){var a=n[o].nodeValue;i[s]=a}}}),[].forEach.call(e.getElementsByTagName("script"),function(o){var r={};if(o.hasAttribute("type")){if(o.getAttribute("type")!=="text/props"&&o.getAttribute("type")!=="application/json")return;try{r=JSON.parse(o.innerHTML)}catch(s){throw new Error(s)}Object.assign(i,r)}}),i},en=function(e){var t=e.attributes,n=null;return Object.keys(t).forEach(function(i){if(t.hasOwnProperty(i)){var o=t[i].name;o==="data-mount-in"&&(n=t[i].nodeValue)}}),n},Xe=function(e){var t=e.selector,n=e.inline,i=e.clientSpecified,o=[],r=Qt();if(n===!0){var s=r.parentNode;o.push(s)}return i===!0&&!t&&(t=en(r)),t&&[].forEach.call(document.querySelectorAll(t),function(a){o.push(a)}),o},tn=function(e,t,n,i,o){t.forEach(function(r){var s=r;if(!s._habitat){s._habitat=!0;var a=Xt(r,o)||o;return i&&(s.innerHTML=""),wt(je(e,a),s)}})},nn=function(e){var t=e,n=null,i=function(o){o===void 0&&(o={});var r=o.selector;r===void 0&&(r=null);var s=o.inline;s===void 0&&(s=!1);var a=o.clean;a===void 0&&(a=!1);var d=o.clientSpecified;d===void 0&&(d=!1);var l=o.defaultProps;l===void 0&&(l={});var m=Xe({selector:r,inline:s,clientSpecified:d}),_=function(){if(m.length>0){var g=Xe({selector:r,inline:s,clientSpecified:d});return tn(t,g,n,a,l)}};_(),document.addEventListener("DOMContentLoaded",_),document.addEventListener("load",_)};return{render:i}};const rn=()=>c(jt,{root:"/build/assets",children:c(Gt,{})}),{render:on}=nn(rn);on({selector:".my-preact-app",inline:!1,clean:!1,clientSpecified:!1});

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.