Spaces:
Running
Running
Cover Charge prototype v0.3.12.68 (part 2)
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- display-app/_expo/static/js/web/waitlist-012c95df72e075ab7a3aa4cf4f6ddb1f.js +1 -0
- display-app/admin.html +1 -1
- display-app/customer.html +1 -1
- display-app/customer/anchorage.html +1 -1
- display-app/customer/anchorage/book.html +1 -1
- display-app/customer/anchorage/feedback.html +1 -1
- display-app/customer/anchorage/gift.html +1 -1
- display-app/customer/anchorage/lost.html +1 -1
- display-app/customer/anchorage/loyalty.html +1 -1
- display-app/customer/anchorage/merch.html +1 -1
- display-app/customer/anchorage/offers.html +1 -1
- display-app/customer/anchorage/refer.html +1 -1
- display-app/customer/anchorage/waitlist.html +1 -1
- display-app/customer/anchorage/whatson.html +1 -1
- display-app/customer/basket.html +1 -1
- display-app/customer/profile.html +1 -1
- display-app/demo.html +1 -1
- display-app/display.html +1 -1
- display-app/index.html +1 -1
- display-app/kitchen.html +1 -1
- display-app/owner.html +1 -1
- display-app/staff.html +1 -1
- display-app/sw.js +2 -2
- display-app/team.html +1 -1
- get/kirkmichael-display.html +1 -1
- get/kirkmichael-managers.html +1 -1
- get/kirkmichael-staff.html +1 -1
- get/kirkmichael.html +1 -1
- get/wildings-display.html +1 -1
- get/wildings-managers.html +1 -1
- get/wildings-staff.html +1 -1
- get/wildings.html +1 -1
- index.html +3 -3
- kirkmichael/chef-app/_expo/static/js/web/[token]-b4353b58cc60e2a37233f49e43cf2f08.js +3 -0
- kirkmichael/chef-app/_expo/static/js/web/__common-255d0a0140aa0ce0598caaa376b98ee5.js +0 -0
- kirkmichael/chef-app/_expo/static/js/web/_layout-4ca22eb82187d00ae464564fb226b07d.js +0 -0
- kirkmichael/chef-app/_expo/static/js/web/historicalBookingApi-2afc38b6f5008b2cd2939f4a1d04004b.js +1 -0
- kirkmichael/chef-app/_expo/static/js/web/index-02ff36886bda54a3b9133a5c48ff54a6.js +2 -0
- kirkmichael/chef-app/_expo/static/js/web/index-c3639194a815787b040feeb55a5d2e03.js +0 -0
- kirkmichael/chef-app/_expo/static/js/web/index-d933fac03f7ec6616aca1e9b7a957254.js +0 -0
- kirkmichael/chef-app/_expo/static/js/web/index-e565dd5a9de78a818a00114181626b2e.js +0 -0
- kirkmichael/chef-app/index.html +1 -1
- kirkmichael/chef-app/kitchen.html +1 -1
- kirkmichael/chef-app/sw.js +1 -1
- kirkmichael/customer-app/_expo/static/js/web/[token]-ca9e32b4f4d078c010be920de989f77b.js +3 -0
- kirkmichael/customer-app/_expo/static/js/web/__common-b8b3234edd9e53acd10ed413ec7da172.js +0 -0
- kirkmichael/customer-app/_expo/static/js/web/_layout-40a426076963ba8ba258fd47f2a0d99e.js +40 -0
- kirkmichael/customer-app/_expo/static/js/web/basket-77142a2b1b5a42fddc5d87c09136a040.js +1 -0
- kirkmichael/customer-app/_expo/static/js/web/index-4b7fababe163219a4bd744f21e7a41c5.js +0 -0
- kirkmichael/customer-app/_expo/static/js/web/index-877ce61722b54b9db172fcdb6bb298c2.js +9 -0
display-app/_expo/static/js/web/waitlist-012c95df72e075ab7a3aa4cf4f6ddb1f.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,_r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return h}});var t=_r(d[0]),s=_r(d[1]),n=_r(d[2]),a=_r(d[3]),r=_r(d[4]),o=_r(d[5]),u=_r(d[6]),l=_r(d[7]),c=_r(d[8]);function h(){const{rid:h}=(0,t.useLocalSearchParams)(),j=(0,u.useRestaurant)(h),x=(0,u.useCustomer)(),b=(0,u.useWaitlist)(h),y=(0,u.useBookings)(h),f=(0,u.useOrders)(h),w=(0,u.useEvents)(h),p=(0,u.useNow)(15e3),[M,S]=(0,s.useState)(2),[v,P]=(0,s.useState)(x.name);if(!j)return(0,c.jsx)(n.Screen,{title:"Not found",children:(0,c.jsx)(n.T,{children:"Restaurant not found."})});const T=b.filter(t=>'waiting'===t.status||'notified'===t.status).sort((t,s)=>t.number-s.number),k=T.find(t=>t.customerId===x.id),B=(0,r.forecastToday)(j,y,f,w,p),C=B.nextHour?Math.min(1.6,Math.max(.8,B.nextHour.covers/(.75*j.settings.capacityPerHour))):1;if(k){const t=T.indexOf(k)+1;return(0,c.jsxs)(n.Screen,{title:"You\u2019re on the waitlist",subtitle:j.name,children:[(0,c.jsxs)(n.Card,{highlight:l.colours.gold,children:[(0,c.jsx)(n.Muted,{children:"Your queue number"}),(0,c.jsxs)(n.T,{size:56,weight:"bold",colour:l.colours.gold,children:["#",k.number]}),(0,c.jsx)(n.T,{children:1===t?'You\u2019re next':`${t-1} part${t-1==1?'y':'ies'} ahead of you`}),(0,c.jsxs)(n.T,{weight:"semibold",children:["Estimated wait: about ",(0,o.estimateWait)(t,j.settings.turnMins,C)," minutes"]}),(0,c.jsxs)(n.Muted,{children:["Estimate only \u2014 based on tables in use, typical turn times and today\u2019s forecast. Joined ",(0,a.minsBetween)(new Date(k.joinedAt),p)," min ago."]})]}),'notified'===k.status?(0,c.jsx)(n.Banner,{kind:"success",title:"Your table is ready!",children:"Please come to the door within 5 minutes to keep your table."}):(0,c.jsx)(n.Banner,{kind:"info",children:"We\u2019ll notify you when your table is ready (push/SMS simulated in this prototype)."}),(0,c.jsx)(n.Button,{kind:"secondary",label:"Leave the waitlist",onPress:()=>u.repo.waitlist.setStatus(k.id,'removed')})]})}return(0,c.jsxs)(n.Screen,{title:"Join the waitlist",subtitle:j.name,children:[(0,c.jsxs)(n.Card,{children:[(0,c.jsxs)(n.H2,{children:[T.length," part",1===T.length?'y':'ies'," waiting"]}),(0,c.jsxs)(n.Muted,{children:["Estimated wait if you join now: about ",(0,o.estimateWait)(T.length+1,j.settings.turnMins,C)," minutes (estimate)."]})]}),(0,c.jsx)(n.Field,{label:"Name",value:v,onChangeText:P}),(0,c.jsxs)(n.Row,{style:{justifyContent:'space-between'},children:[(0,c.jsx)(n.T,{weight:"semibold",children:"Party size"}),(0,c.jsx)(n.Stepper,{value:M,onChange:S,min:1,max:12,label:"party size"})]}),(0,c.jsx)(n.Button,{label:"Join the queue",disabled:v.trim().length<2,onPress:()=>u.repo.waitlist.join(j.id,v,M,x.id),testID:"join-waitlist"}),(0,c.jsx)(n.Muted,{children:"Waitlist messages are service messages only \u2014 no marketing."})]})}},781,[798,24,807,812,853,854,813,815,18]);
|
display-app/admin.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/book.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/feedback.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/gift.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/lost.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/loyalty.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/merch.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/offers.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/refer.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/waitlist.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/anchorage/whatson.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/basket.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/customer/profile.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/demo.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/display.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/index.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/kitchen.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/owner.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/staff.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
display-app/sw.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
// Anchorage Display service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
-
const V = "cc-display-
|
| 3 |
const BASE = "/display-app/";
|
| 4 |
-
const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-3412a34ce6456e3e034a9fa0d486525b.js", "/display-app/_expo/static/js/web/[did]-059b11c3f8541c891197397a2af06c99.js", "/display-app/_expo/static/js/web/[n]-9d38fab186ecbf0b95c4713521dec474.js", "/display-app/_expo/static/js/web/[oid]-3e22c8afdc3bf2eb54df441d0b9f5b10.js", "/display-app/_expo/static/js/web/[section]-2a2a5d4ec75d398ca8d895dbbba9fc46.js", "/display-app/_expo/static/js/web/[token]-
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
|
|
|
| 1 |
// Anchorage Display service worker: precache the app shell so it opens offline after the first visit.
|
| 2 |
+
const V = "cc-display-2a8abc00d3";
|
| 3 |
const BASE = "/display-app/";
|
| 4 |
+
const PRECACHE = ["/display-app/_expo/static/js/web/+not-found-3412a34ce6456e3e034a9fa0d486525b.js", "/display-app/_expo/static/js/web/[did]-059b11c3f8541c891197397a2af06c99.js", "/display-app/_expo/static/js/web/[n]-9d38fab186ecbf0b95c4713521dec474.js", "/display-app/_expo/static/js/web/[oid]-3e22c8afdc3bf2eb54df441d0b9f5b10.js", "/display-app/_expo/static/js/web/[section]-2a2a5d4ec75d398ca8d895dbbba9fc46.js", "/display-app/_expo/static/js/web/[token]-ca9e32b4f4d078c010be920de989f77b.js", "/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js", "/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/display-app/_expo/static/js/web/_layout-ed9ed3b7dbb654928e81a37d3c09b301.js", "/display-app/_expo/static/js/web/basket-77142a2b1b5a42fddc5d87c09136a040.js", "/display-app/_expo/static/js/web/book-e8ae9640a81f7171f35e7e3f7a33949a.js", "/display-app/_expo/static/js/web/demo-c92768667d2bd0f6a81b9f923e922191.js", "/display-app/_expo/static/js/web/feedback-c755469647f28bf01f060d1006963a13.js", "/display-app/_expo/static/js/web/gift-af23ed019d9410c05157799b0e09197e.js", "/display-app/_expo/static/js/web/historicalBookingApi-a162baca232d738e1e2875a038ad18a3.js", "/display-app/_expo/static/js/web/index-497f319dd9952f38d4342be23fc71e37.js", "/display-app/_expo/static/js/web/index-5362c967da8ab897ec0878e9002f15ab.js", "/display-app/_expo/static/js/web/index-6fa53ca23b4144fb4196c7f64ff91066.js", "/display-app/_expo/static/js/web/index-80aca9e8d00c6ff685d5ef1460511039.js", "/display-app/_expo/static/js/web/index-99bc07929bd1e529a8f417ce736afdd0.js", "/display-app/_expo/static/js/web/index-af8ace381238f54d17a35980e329df69.js", "/display-app/_expo/static/js/web/index-d7fbe10cafb1ae5ffa7ca1170f702905.js", "/display-app/_expo/static/js/web/index-f19ee9c2cbf8dad7b4eec3052ef2d876.js", "/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js", "/display-app/_expo/static/js/web/index-fd1b9b419421872d4ddf205bf87a07c0.js", "/display-app/_expo/static/js/web/lost-f944905c2c732ff2c3d88b2c7ba3453d.js", "/display-app/_expo/static/js/web/loyalty-5f7656820b0c6405cbec077bafa6f62c.js", "/display-app/_expo/static/js/web/merch-b95c09e2ca1fe800d7766320e7aaf6d1.js", "/display-app/_expo/static/js/web/offers-f0b4398d897763aab95267ff343524aa.js", "/display-app/_expo/static/js/web/profile-dd32b3377c646d6abc83a9804b0ab98f.js", "/display-app/_expo/static/js/web/refer-5f888e2e3ad4045986dc328a9237dcb4.js", "/display-app/_expo/static/js/web/waitlist-012c95df72e075ab7a3aa4cf4f6ddb1f.js", "/display-app/_expo/static/js/web/whatson-3097dd8b4503931176ce0c6ef5f4a125.js", "/display-app/apple-touch-icon.png", "/display-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/display-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/display-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/display-app/assets/assets/brand/kirkmichael-hero.2404689760b1f8c7f2cf8cadda16657a.png", "/display-app/assets/assets/brand/kirkmichael.ea97b178864a838691bc064903dce99f.png", "/display-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/display-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png", "/display-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/display-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/display-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/display-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/display-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/display-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/display-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/display-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/display-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/display-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/display-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/display-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/display-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/display-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/display-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/display-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/display-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/display-app/brand-logo.png", "/display-app/favicon.ico", "/display-app/icon-192.png", "/display-app/icon-512.png", "/display-app/icon-maskable-192.png", "/display-app/icon-maskable-512.png", "/display-app/manifest.webmanifest", "/display-app/index.html"];
|
| 5 |
// Hugging Face serves large files (fonts) through a redirect to its CDN. Browsers refuse to hand a *redirected* cached
|
| 6 |
// response to a page, so store a plain copy instead (otherwise fonts, and so the app, fail to load offline).
|
| 7 |
const plain = r => r.redirected ? r.blob().then(b => new Response(b, { status: 200, headers: { 'Content-Type': r.headers.get('Content-Type') || b.type || 'application/octet-stream' } })) : Promise.resolve(r);
|
display-app/team.html
CHANGED
|
@@ -45,7 +45,7 @@ function ccWatch(r){if(r.waiting&&navigator.serviceWorker.controller)ccShowUpdat
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
-
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
|
|
|
| 45 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 46 |
<!-- The root element for your Expo app. -->
|
| 47 |
<div id="root"><div id="cc-boot" style="position:fixed;inset:0;display:flex;align-items:center;justify-content:center;background:#0B0B0B"><img src="/display-app/brand-logo.png" alt="The Anchorage" width="180" height="180"/></div></div>
|
| 48 |
+
<script src="/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/display-app/_expo/static/js/web/__common-4b2316ca3d04ab7aaa73a97e7dd14594.js" defer></script><script src="/display-app/_expo/static/js/web/index-fc55f599e4b27efcae3d5af97f595ead.js" defer></script>
|
| 49 |
<script>/* "Add to Home screen" hint for the Cover Charge web apps (injected into each app's index.html by tools/build_site.py).
|
| 50 |
Chrome/Edge/Samsung: an Install button (beforeinstallprompt). Huawei Browser, Chrome without an install prompt,
|
| 51 |
iPhone/iPad Safari: short menu steps. Shown once per app until dismissed; never inside the installed app. */
|
get/kirkmichael-display.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Display</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/display-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Display</h1><p><a style="color:#B87754" href="/kirkmichael/display-app/index.html">Open Display</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Display</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/display-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Display</h1><p><a style="color:#B87754" href="/kirkmichael/display-app/index.html">Open Display</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.68</small></body></html>
|
get/kirkmichael-managers.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Managers</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/owner-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Managers</h1><p><a style="color:#B87754" href="/kirkmichael/owner-app/index.html">Open Managers</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Managers</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/owner-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Managers</h1><p><a style="color:#B87754" href="/kirkmichael/owner-app/index.html">Open Managers</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.68</small></body></html>
|
get/kirkmichael-staff.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Staff</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/staff-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Staff</h1><p><a style="color:#B87754" href="/kirkmichael/staff-app/index.html">Open Staff</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Staff</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/staff-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Staff</h1><p><a style="color:#B87754" href="/kirkmichael/staff-app/index.html">Open Staff</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.68</small></body></html>
|
get/kirkmichael.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Customer</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/customer-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Customer</h1><p><a style="color:#B87754" href="/kirkmichael/customer-app/index.html">Open Customer</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>The Kirkmichael Arms · Customer</title></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/kirkmichael/customer-app/brand-logo.png" alt="The Kirkmichael Arms logo" width="160"><h1>The Kirkmichael Arms · Customer</h1><p><a style="color:#B87754" href="/kirkmichael/customer-app/index.html">Open Customer</a></p><p>No personal link or pairing code is included. Use your personal link for private team access.</p><small>v0.3.12.68</small></body></html>
|
get/wildings-display.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Display</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/display-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Display</h1><p><a style="color:#FFE3A5" href="/wildings/display-app/index.html">Open Display</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Display</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/display-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Display</h1><p><a style="color:#FFE3A5" href="/wildings/display-app/index.html">Open Display</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.68</small></body></html>
|
get/wildings-managers.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Managers</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/owner-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Managers</h1><p><a style="color:#FFE3A5" href="/wildings/owner-app/index.html">Open Managers</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Managers</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/owner-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Managers</h1><p><a style="color:#FFE3A5" href="/wildings/owner-app/index.html">Open Managers</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.68</small></body></html>
|
get/wildings-staff.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Staff</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/staff-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Staff</h1><p><a style="color:#FFE3A5" href="/wildings/staff-app/index.html">Open Staff</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Staff</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/staff-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Staff</h1><p><a style="color:#FFE3A5" href="/wildings/staff-app/index.html">Open Staff</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.68</small></body></html>
|
get/wildings.html
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Customer</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/customer-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Customer</h1><p><a style="color:#FFE3A5" href="/wildings/customer-app/index.html">Open Customer</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.
|
|
|
|
| 1 |
+
<!doctype html><html lang="en-GB"><head><meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og--><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="robots" content="noindex,nofollow"><title>Wildings Hotel & Restaurant · Customer</title></head><body style="margin:0;background:#272A2F;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="/wildings/customer-app/brand-hero.png" alt="Wildings Hotel & Restaurant" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#FFE3A5;font-size:14px">Maidens, Girvan KA26 9NR</p><h1>Customer</h1><p><a style="color:#FFE3A5" href="/wildings/customer-app/index.html">Open Customer</a></p><p>No personal link or pairing code is included. Use your private personal link for Managers or Staff access.</p><small>v0.3.12.68</small></body></html>
|
index.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og-->
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
| 6 |
-
<title>Cover Charge: try the apps (v0.3.12.
|
| 7 |
|
| 8 |
<meta name="theme-color" content="#000000">
|
| 9 |
<link rel="icon" href="favicon.ico">
|
|
@@ -60,7 +60,7 @@ footer{margin-top:28px;color:var(--muted);font-size:.8rem;text-align:center}
|
|
| 60 |
<img src="assets/logo-256.png" alt="Cover Charge logo" width="112" height="112">
|
| 61 |
<p class="word"><span class="c">cover</span><span class="g">charge</span></p>
|
| 62 |
<p class="tag">All in one restaurant booking app</p>
|
| 63 |
-
<h1>Cover Charge: try the apps (v0.3.12.
|
| 64 |
<p class="pilot">Pilot: The Anchorage, Harbour View, Dunure</p>
|
| 65 |
|
| 66 |
</header>
|
|
@@ -126,7 +126,7 @@ footer{margin-top:28px;color:var(--muted);font-size:.8rem;text-align:center}
|
|
| 126 |
</section>
|
| 127 |
|
| 128 |
<footer>
|
| 129 |
-
<p>Cover Charge v0.3.12.
|
| 130 |
</footer>
|
| 131 |
</main>
|
| 132 |
</body>
|
|
|
|
| 3 |
<head>
|
| 4 |
<meta charset="utf-8"><!--og--><meta property="og:type" content="website"><meta property="og:site_name" content="CoverCharge"><meta property="og:title" content="CoverCharge"><meta property="og:description" content="All in 1 restaurant management app"><meta name="description" content="All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:secure_url" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="630"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta property="og:image" content="https://covercharge-apps.static.hf.space/og/covercharge-square.png"><meta property="og:image:type" content="image/png"><meta property="og:image:width" content="600"><meta property="og:image:height" content="600"><meta property="og:image:alt" content="CoverCharge: All in 1 restaurant management app"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:title" content="CoverCharge"><meta name="twitter:description" content="All in 1 restaurant management app"><meta name="twitter:image" content="https://covercharge-apps.static.hf.space/og/covercharge-card.png"><meta name="twitter:image:alt" content="CoverCharge: All in 1 restaurant management app"><!--/og-->
|
| 5 |
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
|
| 6 |
+
<title>Cover Charge: try the apps (v0.3.12.68)</title>
|
| 7 |
|
| 8 |
<meta name="theme-color" content="#000000">
|
| 9 |
<link rel="icon" href="favicon.ico">
|
|
|
|
| 60 |
<img src="assets/logo-256.png" alt="Cover Charge logo" width="112" height="112">
|
| 61 |
<p class="word"><span class="c">cover</span><span class="g">charge</span></p>
|
| 62 |
<p class="tag">All in one restaurant booking app</p>
|
| 63 |
+
<h1>Cover Charge: try the apps (v0.3.12.68)</h1>
|
| 64 |
<p class="pilot">Pilot: The Anchorage, Harbour View, Dunure</p>
|
| 65 |
|
| 66 |
</header>
|
|
|
|
| 126 |
</section>
|
| 127 |
|
| 128 |
<footer>
|
| 129 |
+
<p>Cover Charge v0.3.12.68</p>
|
| 130 |
</footer>
|
| 131 |
</main>
|
| 132 |
</body>
|
kirkmichael/chef-app/_expo/static/js/web/[token]-b4353b58cc60e2a37233f49e43cf2f08.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return u}});var t=r(d[0]);r(d[1]);var n=r(d[2]),o=r(d[3]),c=r(d[4]),s=r(d[5]),l=r(d[6]);function u(){const{token:u}=(0,t.useLocalSearchParams)(),h=(0,c.cleanToken)(u);return h?(0,s.guestServer)()?(0,l.jsx)(o.TableOrderLive,{token:h}):(0,l.jsx)(n.Screen,{title:"Order at the table",children:(0,l.jsx)(n.Banner,{kind:"demo",title:"Not connected",children:"This preview isn't connected to a venue, so table orders can't be sent from here."})}):(0,l.jsx)(n.Screen,{title:"Order at the table",children:(0,l.jsx)(n.Banner,{kind:"warn",title:"This code isn't working",children:"Please scan the QR code on your table again, or ask a member of staff."})})}},789,[798,24,807,855,857,830,18]);
|
| 2 |
+
__d(function(g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.TableOrderLive=function({token:e}){const[s,b]=(0,n.useState)(null),[m,f]=(0,n.useState)(null),[j,y]=(0,n.useState)([]),[k,w]=(0,n.useState)(null),T=(0,h.useCustomer)(),[C,S]=(0,n.useState)(()=>(T?.allergies??[]).map(e=>e.allergen)),[v,P]=(0,n.useState)(''),[O,N]=(0,n.useState)(''),[B,I]=(0,n.useState)(!1),[L,M]=(0,n.useState)(null),[R,$]=(0,n.useState)([]),A=(0,n.useCallback)(async()=>{try{b(await(0,c.tablePublic)(e)),f(null)}catch(e){f(e?.message??'Could not load the menu.')}},[e]),D=(0,n.useCallback)(async()=>{try{$(await(0,c.myTableOrders)(e))}catch{}},[e]);(0,n.useEffect)(()=>{A(),D();const e=setInterval(()=>{D(),A()},8e3);return()=>clearInterval(e)},[A,D]);const _=s?.menu??[];(0,n.useEffect)(()=>{y(e=>e.filter(e=>_.some(t=>t.id===e.id&&!t.soldOut)))},[s]);const q=(0,n.useMemo)(()=>{const e=new Map;for(const t of _)e.set(t.section,[...e.get(t.section)??[],t]);return[...e.entries()]},[s]),Y=(0,d.cartTotal)(j,_),W='yes'===k?C.map(e=>({allergen:e,severity:T?.allergies?.find(t=>t.allergen===e)?.severity??'allergy'})):[],E=(0,d.allergyClashes)(j,_,W.map(e=>e.allergen)),z=e=>j.find(t=>t.id===e)?.qty??0,G=(e,t)=>y(l=>t<=0?l.filter(t=>t.id!==e):l.some(t=>t.id===e)?l.map(l=>l.id===e?{...l,qty:t}:l):[...l,{id:e,qty:t,note:''}]),H=(e,t)=>y(l=>l.map(l=>l.id===e?{...l,note:t}:l)),V=async()=>{I(!0),M(null);try{const t=await(0,c.sendTableOrder)(e,j,{note:O,name:v,allergies:W});y([]),N(''),M({kind:'success',text:t.held?`Order ${t.ref} sent. A member of staff will check it, then it goes to the kitchen.`:`Order ${t.ref} sent to the kitchen.`}),D()}catch(e){M({kind:'warn',text:e?.message??'The order was not sent. Please try again or ask a member of staff.'}),A()}finally{I(!1)}};if(m)return(0,x.jsxs)(r.Screen,{title:"Order at the table",children:[(0,x.jsx)(r.Banner,{kind:"warn",title:"Couldn't open the menu",children:m}),(0,x.jsx)(r.Button,{label:"Try again",onPress:()=>{A()}})]});if(!s)return(0,x.jsx)(r.Screen,{title:"Order at the table",children:(0,x.jsx)(r.Muted,{children:"Opening the menu\u2026"})});if(!s.ok)return(0,x.jsx)(r.Screen,{title:"Order at the table",children:(0,x.jsx)(r.Banner,{kind:"warn",title:"This code isn't working",children:s.reason??'Please ask a member of staff.'})});const F=s.open&&j.length>0&&null!==k&&('none'===k||C.length>0)&&!B;return(0,x.jsxs)(r.Screen,{title:`${(0,l.tableNumbers)(s.table)}`,subtitle:s.venueName,footer:s.open?(0,x.jsx)(r.Button,{label:B?'Sending\u2026':j.length?`Send order to the kitchen (${(0,o.gbp)(Y)})`:'Add a dish to order',disabled:!F,onPress:()=>{V()},testID:"send-table-order-live"}):void 0,children:[(0,x.jsxs)(r.Muted,{children:["Tip: add dishes, answer the allergy question, then send. Staff bring it to ",(0,l.tableNumbers)(s.table),". ",d.PAY_WORDS]}),s.tip?(0,x.jsx)(r.Banner,{kind:"demo",children:s.tip}):null,s.open?null:(0,x.jsx)(r.Banner,{kind:"warn",title:"Not taking table orders right now",children:s.reason}),s.open&&s.staffAccept&&!R.some(e=>e.accepted)?(0,x.jsx)(r.Muted,{children:"The first order from your phone is checked by a member of staff before it goes to the kitchen."}):null,L?(0,x.jsx)(r.Banner,{kind:L.kind,children:L.text}):null,R.length?(0,x.jsx)(a.default,{testID:"my-table-orders",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Your orders at this table"}),R.map(e=>(0,x.jsxs)(a.default,{style:{gap:2,paddingVertical:4},children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.T,{children:e.ref}),(0,x.jsx)(r.T,{size:13,colour:'cancelled'===e.status?u.colours.amber:u.colours.gold,children:(0,d.guestStatusWords)(e)})]}),(0,x.jsxs)(r.Muted,{children:[e.lines.map(e=>`${e.qty}\xd7 ${e.name}`).join(', ')," \xb7 ",(0,o.gbp)(e.totalPence)," to pay at the bar or till"]})]},e.id))]})}):null,s.open?q.map(([e,t])=>(0,x.jsxs)(a.default,{style:{gap:8},children:[(0,x.jsx)(r.H2,{children:e}),t.map(e=>(0,x.jsxs)(r.Card,{children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,x.jsxs)(a.default,{style:{flex:1,gap:2},children:[(0,x.jsx)(r.T,{weight:"semibold",children:e.name}),e.description?(0,x.jsx)(r.Muted,{children:e.description}):null,(0,x.jsxs)(r.T,{size:13,colour:u.colours.muted,children:[e.allergens.length?`Contains: ${e.allergens.map(i.allergenLabel).join(', ')}`:'No allergens listed: ask staff if unsure',e.mayContain.length?` \xb7 May contain: ${e.mayContain.map(i.allergenLabel).join(', ')}`:'']})]}),(0,x.jsx)(r.T,{weight:"semibold",colour:u.colours.gold,children:(0,o.gbp)(e.pricePence)})]}),e.soldOut?(0,x.jsx)(r.Badge,{kind:"amber",label:"Sold out today"}):z(e.id)?(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.Stepper,{value:z(e.id),min:0,max:20,onChange:t=>G(e.id,t),label:e.name}),(0,x.jsx)(r.Button,{small:!0,kind:"ghost",label:"Remove",onPress:()=>G(e.id,0)})]}):(0,x.jsx)(r.Button,{small:!0,kind:"secondary",label:"Add",accessibilityLabel:`Add ${e.name}`,onPress:()=>G(e.id,1)})]},e.id))]},e)):null,s.open&&!_.length?(0,x.jsx)(r.Banner,{kind:"demo",title:"No dishes to order yet",children:"The venue hasn't put any priced dishes on the table menu yet. Please order at the bar."}):null,s.open&&j.length?(0,x.jsx)(a.default,{testID:"table-cart",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Your order"}),j.map(e=>{const l=_.find(t=>t.id===e.id);return(0,x.jsxs)(a.default,{style:{gap:4},children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsxs)(r.T,{children:[e.qty,"\xd7 ",l?.name]}),(0,x.jsx)(r.T,{children:(0,o.gbp)(e.qty*(l?.pricePence??0))})]}),(0,x.jsx)(t.TextInput,{style:p,value:e.note,onChangeText:t=>H(e.id,t),placeholder:"Note for the kitchen (optional), e.g. no onions",placeholderTextColor:u.colours.muted,maxLength:140,accessibilityLabel:`Note for ${l?.name}`,testID:`table-note-${e.id}`})]},e.id)}),(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Total"}),(0,x.jsx)(r.T,{weight:"semibold",children:(0,o.gbp)(Y)})]})]})}):null,s.open?(0,x.jsx)(a.default,{testID:"table-allergy",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Does anyone at the table have a food allergy?"}),(0,x.jsx)(r.Muted,{children:"We ask everyone, so the kitchen can keep you safe."}),(0,x.jsxs)(r.Row,{gap:8,children:[(0,x.jsx)(r.Chip,{label:"No allergies",selected:'none'===k,onPress:()=>w('none')}),(0,x.jsx)(r.Chip,{label:"Yes, allergies",selected:'yes'===k,onPress:()=>w('yes')})]}),'yes'===k?(0,x.jsx)(r.Row,{wrap:!0,gap:6,children:i.ALLERGENS.map(e=>(0,x.jsx)(r.Chip,{label:e.short,selected:C.includes(e.id),onPress:()=>S(t=>t.includes(e.id)?t.filter(t=>t!==e.id):[...t,e.id])},e.id))}):null,E.length?(0,x.jsxs)(r.Banner,{kind:"warn",title:"Check with staff",children:[E.map(e=>e.name).join(', ')," ",E.length>1?'contain':'contains'," or may contain an allergy you picked. The kitchen will see your allergies on the ticket."]}):null]})}):null,s.open?(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Anything else?"}),(0,x.jsx)(t.TextInput,{style:p,value:v,onChangeText:P,placeholder:"Your first name (optional)",placeholderTextColor:u.colours.muted,maxLength:40,accessibilityLabel:"Your first name (optional)"}),(0,x.jsx)(t.TextInput,{style:p,value:O,onChangeText:N,placeholder:"Note for the staff (optional)",placeholderTextColor:u.colours.muted,maxLength:300,accessibilityLabel:"Note for the staff (optional)"})]}):null,(0,x.jsx)(a.default,{testID:"pay-placeholder",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Paying"}),(0,x.jsx)(r.T,{children:d.PAY_WORDS}),(0,x.jsx)(r.Muted,{children:"No card details are asked for or kept in this app."})]})})]})};var e,t=_r(_d[0]),l=_r(_d[1]),n=_r(_d[2]),s=_r(_d[3]),a=(e=s)&&e.__esModule?e:{default:e},r=_r(_d[4]),i=_r(_d[5]),o=_r(_d[6]),d=_r(_d[7]),c=_r(_d[8]),h=_r(_d[9]),u=_r(_d[10]),x=_r(_d[11]);const p={borderWidth:1,borderColor:u.colours.border,borderRadius:10,padding:10,color:u.colours.text,backgroundColor:u.colours.surface2}},855,[858,802,24,121,807,808,810,857,856,813,815,18]);
|
| 3 |
+
__d(function(g,_r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"tablePublic",{enumerable:!0,get:function(){return s}}),e.sendTableOrder=async function(t,r,a){if(!await(0,n.guestSession)())throw new Error('No connection. Try again when you are back online.');return(0,n.rpc)('guest_table_order',{p_token:t,p_lines:r.map(t=>({id:t.id,qty:t.qty,note:t.note.trim().slice(0,140)})),p_note:a.note.trim().slice(0,300)||null,p_allergies:a.allergies.map(t=>({allergen:t.allergen,severity:t.severity})),p_name:a.name.trim().slice(0,40)||null})},e.myTableOrders=async function(t){return await(0,n.guestSession)()?await(0,n.rpc)('guest_table_my_orders',{p_token:t})??[]:[]},e.loadTableSettings=async function(){const{data:t,error:n}=await a().from('table_order_settings').select('*').eq('venue_id',o()).maybeSingle();if(n)throw n;return(0,r.fromRow)(t)},e.saveTableSettings=async function(t,n){const{error:s}=await a().from('table_order_settings').upsert({venue_id:o(),...(0,r.toRow)(t),updated_at:(new Date).toISOString(),updated_by:n.slice(0,80)});if(s)throw s},e.listTableCodes=async function(){const{data:t,error:n}=await a().from('table_qr_codes').select('table_no, token, created_at').eq('venue_id',o()).eq('is_on',!0);if(n)throw n;return(t??[]).map(t=>({table:String(t.table_no),token:String(t.token),createdAt:String(t.created_at)})).sort((t,n)=>Number(t.table)-Number(n.table))},Object.defineProperty(e,"makeTableCodes",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"renewTableCode",{enumerable:!0,get:function(){return c}}),e.watchTableSettings=function(t){const r=n.useSync.getState().venueId;if(!r)return()=>{};const o=a().channel(`tos-${r}-${Math.random().toString(36).slice(2,8)}`).on('postgres_changes',{event:'*',schema:'public',table:'table_order_settings',filter:`venue_id=eq.${r}`},()=>t()).subscribe();return()=>{a().removeChannel(o)}};var t=_r(d[0]),n=_r(d[1]),r=_r(d[2]);const a=()=>(0,t.getSupabase)(),o=()=>{const t=n.useSync.getState().venueId;if(!t)throw new Error('Not connected to the venue yet.');return t},s=t=>(0,n.rpc)('table_public',{p_token:t});const l=t=>(0,n.rpc)('table_qr_make',{p_venue:o(),p_tables:t}),c=t=>(0,n.rpc)('table_qr_renew',{p_venue:o(),p_table:t})},856,[859,814,857]);
|
kirkmichael/chef-app/_expo/static/js/web/__common-255d0a0140aa0ce0598caaa376b98ee5.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kirkmichael/chef-app/_expo/static/js/web/_layout-4ca22eb82187d00ae464564fb226b07d.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kirkmichael/chef-app/_expo/static/js/web/historicalBookingApi-2afc38b6f5008b2cd2939f4a1d04004b.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.historyAccess=c,_e.lookupBookingDay=l,_e.useHistoricalBookingDay=function(t,o,u,y=0){const k=(0,s.useSync)(e=>[e.kind,e.venueId,e.venueSlug,e.perms.join(',')].join(':')),f=c(t),h=f&&(0,n.validPastDate)(o,u)?`${k}:${o}:${y}`:'',[w,p]=(0,e.useState)({key:'',data:null,error:''});return(0,e.useEffect)(()=>{if(!h)return void p({key:'',data:null,error:''});let e=!0;return l(t,o).then(t=>{e&&p({key:h,data:t,error:''})}).catch(t=>{e&&p({key:h,data:null,error:t.message})}),()=>{e=!1}},[h,t,o]),{allowed:f,data:h&&w.key===h?w.data:null,error:h&&w.key===h?w.error:''}};var e=r(d[0]),t=r(d[1]),n=r(d[2]),o=r(d[3]),s=r(d[4]),u=r(d[5]);function c(e){const n=s.useSync.getState();return'owner'===t.APP_VARIANT&&'staff'===n.kind&&n.venueSlug===e&&!!n.venueId&&(n.perms.includes('*')||n.perms.includes('staff.manage'))}async function l(e,t){if(!c(e))throw new Error('Sign in to the Managers app with manager or owner access to Look back.');if(!(0,n.validPastDate)(t,(0,o.venueYmd)(new Date)))throw new Error('Choose an exact past date, with day, month and year.');const l=(0,u.getSupabase)(),{data:y,error:k}=await l.rpc('historical_booking_day',{p_venue:s.useSync.getState().venueId,p_date:t});if(k||!y||!Array.isArray(y.bookings))throw new Error('Booking history could not be loaded. Reconnect and try again.');return y}},1080,[24,800,1079,812,814,859]);
|
kirkmichael/chef-app/_expo/static/js/web/index-02ff36886bda54a3b9133a5c48ff54a6.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return f}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]),c=r(d[4]);function f(){return'owner'!==u.APP_VARIANT?(0,c.jsx)(t.Redirect,{href:u.ENTRY[u.APP_VARIANT]}):(0,c.jsx)(n.OwnerApp,{})}},793,[798,24,942,800,18]);
|
| 2 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},942,[]);
|
kirkmichael/chef-app/_expo/static/js/web/index-c3639194a815787b040feeb55a5d2e03.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kirkmichael/chef-app/_expo/static/js/web/index-d933fac03f7ec6616aca1e9b7a957254.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kirkmichael/chef-app/_expo/static/js/web/index-e565dd5a9de78a818a00114181626b2e.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kirkmichael/chef-app/index.html
CHANGED
|
@@ -35,6 +35,6 @@
|
|
| 35 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 36 |
<!-- The root element for your Expo app. -->
|
| 37 |
<div id="root"><div style="position:fixed;inset:0;background:#0B0B0B;display:grid;place-items:center"><img src="/kirkmichael/chef-app/brand-logo.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
|
| 38 |
-
<script src="/kirkmichael/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/chef-app/_expo/static/js/web/__common-
|
| 39 |
</body>
|
| 40 |
</html>
|
|
|
|
| 35 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 36 |
<!-- The root element for your Expo app. -->
|
| 37 |
<div id="root"><div style="position:fixed;inset:0;background:#0B0B0B;display:grid;place-items:center"><img src="/kirkmichael/chef-app/brand-logo.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
|
| 38 |
+
<script src="/kirkmichael/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/chef-app/_expo/static/js/web/__common-255d0a0140aa0ce0598caaa376b98ee5.js" defer></script><script src="/kirkmichael/chef-app/_expo/static/js/web/index-e565dd5a9de78a818a00114181626b2e.js" defer></script>
|
| 39 |
</body>
|
| 40 |
</html>
|
kirkmichael/chef-app/kitchen.html
CHANGED
|
@@ -35,6 +35,6 @@
|
|
| 35 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 36 |
<!-- The root element for your Expo app. -->
|
| 37 |
<div id="root"><div style="position:fixed;inset:0;background:#0B0B0B;display:grid;place-items:center"><img src="/kirkmichael/chef-app/brand-logo.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
|
| 38 |
-
<script src="/kirkmichael/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/chef-app/_expo/static/js/web/__common-
|
| 39 |
</body>
|
| 40 |
</html>
|
|
|
|
| 35 |
<noscript> You need to enable JavaScript to run this app. </noscript>
|
| 36 |
<!-- The root element for your Expo app. -->
|
| 37 |
<div id="root"><div style="position:fixed;inset:0;background:#0B0B0B;display:grid;place-items:center"><img src="/kirkmichael/chef-app/brand-logo.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
|
| 38 |
+
<script src="/kirkmichael/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/chef-app/_expo/static/js/web/__common-255d0a0140aa0ce0598caaa376b98ee5.js" defer></script><script src="/kirkmichael/chef-app/_expo/static/js/web/index-e565dd5a9de78a818a00114181626b2e.js" defer></script>
|
| 39 |
</body>
|
| 40 |
</html>
|
kirkmichael/chef-app/sw.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
const V="cc-kirkmichael-chef-
|
| 2 |
self.addEventListener('install',e=>e.waitUntil(caches.open(V).then(c=>Promise.all(P.map(u=>fetch(u).then(r=>r.blob().then(b=>c.put(u,new Response(b,{status:200,headers:{'Content-Type':r.headers.get('Content-Type')||b.type}}))))))).then(()=>self.skipWaiting())));
|
| 3 |
self.addEventListener('activate',e=>e.waitUntil(caches.keys().then(ks=>Promise.all(ks.filter(k=>k.startsWith('cc-kirkmichael-chef-')&&k!==V).map(k=>caches.delete(k)))).then(()=>self.clients.claim())));
|
| 4 |
self.addEventListener('fetch',e=>{const u=new URL(e.request.url);if(e.request.method!=='GET'||u.origin!==location.origin||!u.pathname.startsWith(B))return;if(e.request.mode==='navigate'){e.respondWith(fetch(e.request).then(r=>r.ok?r:caches.match(B+'index.html')).catch(()=>caches.match(B+'index.html')));return;}e.respondWith(caches.match(e.request,{ignoreSearch:true}).then(r=>r||fetch(e.request)));});
|
|
|
|
| 1 |
+
const V="cc-kirkmichael-chef-f4125bca4606",B="/kirkmichael/chef-app/",P=["/kirkmichael/chef-app/apple-touch-icon.png", "/kirkmichael/chef-app/favicon.ico", "/kirkmichael/chef-app/icon-192.png", "/kirkmichael/chef-app/icon-512.png", "/kirkmichael/chef-app/brand-logo.png", "/kirkmichael/chef-app/index.html", "/kirkmichael/chef-app/manifest.webmanifest", "/kirkmichael/chef-app/kitchen.html", "/kirkmichael/chef-app/_expo/static/js/web/index-02ff36886bda54a3b9133a5c48ff54a6.js", "/kirkmichael/chef-app/_expo/static/js/web/[section]-2a2a5d4ec75d398ca8d895dbbba9fc46.js", "/kirkmichael/chef-app/_expo/static/js/web/+not-found-3412a34ce6456e3e034a9fa0d486525b.js", "/kirkmichael/chef-app/_expo/static/js/web/demo-c92768667d2bd0f6a81b9f923e922191.js", "/kirkmichael/chef-app/_expo/static/js/web/gift-af23ed019d9410c05157799b0e09197e.js", "/kirkmichael/chef-app/_expo/static/js/web/merch-e36888a92c316fefba8878507a9c1192.js", "/kirkmichael/chef-app/_expo/static/js/web/feedback-c755469647f28bf01f060d1006963a13.js", "/kirkmichael/chef-app/_expo/static/js/web/index-5362c967da8ab897ec0878e9002f15ab.js", "/kirkmichael/chef-app/_expo/static/js/web/profile-976065597323c4dbd3bc7c7c0081425b.js", "/kirkmichael/chef-app/_expo/static/js/web/[did]-059b11c3f8541c891197397a2af06c99.js", "/kirkmichael/chef-app/_expo/static/js/web/waitlist-eb0d306226caacf90617b7164194f84a.js", "/kirkmichael/chef-app/_expo/static/js/web/loyalty-1439499054c26cbbf7783fd42a253e96.js", "/kirkmichael/chef-app/_expo/static/js/web/__common-255d0a0140aa0ce0598caaa376b98ee5.js", "/kirkmichael/chef-app/_expo/static/js/web/index-6fa53ca23b4144fb4196c7f64ff91066.js", "/kirkmichael/chef-app/_expo/static/js/web/index-c3639194a815787b040feeb55a5d2e03.js", "/kirkmichael/chef-app/_expo/static/js/web/whatson-3097dd8b4503931176ce0c6ef5f4a125.js", "/kirkmichael/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/kirkmichael/chef-app/_expo/static/js/web/offers-068627e312b3af80e0b0456d614cbdf7.js", "/kirkmichael/chef-app/_expo/static/js/web/[oid]-3e22c8afdc3bf2eb54df441d0b9f5b10.js", "/kirkmichael/chef-app/_expo/static/js/web/_layout-4ca22eb82187d00ae464564fb226b07d.js", "/kirkmichael/chef-app/_expo/static/js/web/index-6fa80008aa75b466e90d287639bfa7ea.js", "/kirkmichael/chef-app/_expo/static/js/web/index-80aca9e8d00c6ff685d5ef1460511039.js", "/kirkmichael/chef-app/_expo/static/js/web/book-e8ae9640a81f7171f35e7e3f7a33949a.js", "/kirkmichael/chef-app/_expo/static/js/web/[n]-9d38fab186ecbf0b95c4713521dec474.js", "/kirkmichael/chef-app/_expo/static/js/web/lost-c4270f92d0208801d4ed777734a5d941.js", "/kirkmichael/chef-app/_expo/static/js/web/refer-e7e4a677422784af77a839fe57064de1.js", "/kirkmichael/chef-app/_expo/static/js/web/[token]-b4353b58cc60e2a37233f49e43cf2f08.js", "/kirkmichael/chef-app/_expo/static/js/web/historicalBookingApi-2afc38b6f5008b2cd2939f4a1d04004b.js", "/kirkmichael/chef-app/_expo/static/js/web/index-e565dd5a9de78a818a00114181626b2e.js", "/kirkmichael/chef-app/_expo/static/js/web/index-d933fac03f7ec6616aca1e9b7a957254.js", "/kirkmichael/chef-app/_expo/static/js/web/index-851e8cbb280083518ea7e7d06b039a54.js", "/kirkmichael/chef-app/_expo/static/js/web/basket-c04392b0c5212b453a28c3e7e295d41a.js", "/kirkmichael/chef-app/_expo/static/js/web/index-fd1b9b419421872d4ddf205bf87a07c0.js", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/kirkmichael/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/kirkmichael/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/kirkmichael/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/kirkmichael/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/kirkmichael/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/kirkmichael/chef-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/kirkmichael/chef-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/kirkmichael/chef-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/kirkmichael/chef-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/kirkmichael/chef-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/kirkmichael/chef-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/kirkmichael/chef-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/kirkmichael/chef-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/kirkmichael/chef-app/assets/assets/brand/kirkmichael-hero.2404689760b1f8c7f2cf8cadda16657a.png", "/kirkmichael/chef-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/kirkmichael/chef-app/assets/assets/brand/kirkmichael.ea97b178864a838691bc064903dce99f.png", "/kirkmichael/chef-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/kirkmichael/chef-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/kirkmichael/chef-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/kirkmichael/chef-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png"];
|
| 2 |
self.addEventListener('install',e=>e.waitUntil(caches.open(V).then(c=>Promise.all(P.map(u=>fetch(u).then(r=>r.blob().then(b=>c.put(u,new Response(b,{status:200,headers:{'Content-Type':r.headers.get('Content-Type')||b.type}}))))))).then(()=>self.skipWaiting())));
|
| 3 |
self.addEventListener('activate',e=>e.waitUntil(caches.keys().then(ks=>Promise.all(ks.filter(k=>k.startsWith('cc-kirkmichael-chef-')&&k!==V).map(k=>caches.delete(k)))).then(()=>self.clients.claim())));
|
| 4 |
self.addEventListener('fetch',e=>{const u=new URL(e.request.url);if(e.request.method!=='GET'||u.origin!==location.origin||!u.pathname.startsWith(B))return;if(e.request.mode==='navigate'){e.respondWith(fetch(e.request).then(r=>r.ok?r:caches.match(B+'index.html')).catch(()=>caches.match(B+'index.html')));return;}e.respondWith(caches.match(e.request,{ignoreSearch:true}).then(r=>r||fetch(e.request)));});
|
kirkmichael/customer-app/_expo/static/js/web/[token]-ca9e32b4f4d078c010be920de989f77b.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return u}});var t=r(d[0]);r(d[1]);var n=r(d[2]),o=r(d[3]),c=r(d[4]),s=r(d[5]),l=r(d[6]);function u(){const{token:u}=(0,t.useLocalSearchParams)(),h=(0,c.cleanToken)(u);return h?(0,s.guestServer)()?(0,l.jsx)(o.TableOrderLive,{token:h}):(0,l.jsx)(n.Screen,{title:"Order at the table",children:(0,l.jsx)(n.Banner,{kind:"demo",title:"Not connected",children:"This preview isn't connected to a venue, so table orders can't be sent from here."})}):(0,l.jsx)(n.Screen,{title:"Order at the table",children:(0,l.jsx)(n.Banner,{kind:"warn",title:"This code isn't working",children:"Please scan the QR code on your table again, or ask a member of staff."})})}},789,[798,24,807,857,859,830,18]);
|
| 2 |
+
__d(function(g,_r,_i,_a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.TableOrderLive=function({token:e}){const[s,b]=(0,n.useState)(null),[m,f]=(0,n.useState)(null),[j,y]=(0,n.useState)([]),[k,w]=(0,n.useState)(null),T=(0,h.useCustomer)(),[C,S]=(0,n.useState)(()=>(T?.allergies??[]).map(e=>e.allergen)),[v,P]=(0,n.useState)(''),[O,N]=(0,n.useState)(''),[B,I]=(0,n.useState)(!1),[L,M]=(0,n.useState)(null),[R,$]=(0,n.useState)([]),A=(0,n.useCallback)(async()=>{try{b(await(0,c.tablePublic)(e)),f(null)}catch(e){f(e?.message??'Could not load the menu.')}},[e]),D=(0,n.useCallback)(async()=>{try{$(await(0,c.myTableOrders)(e))}catch{}},[e]);(0,n.useEffect)(()=>{A(),D();const e=setInterval(()=>{D(),A()},8e3);return()=>clearInterval(e)},[A,D]);const _=s?.menu??[];(0,n.useEffect)(()=>{y(e=>e.filter(e=>_.some(t=>t.id===e.id&&!t.soldOut)))},[s]);const q=(0,n.useMemo)(()=>{const e=new Map;for(const t of _)e.set(t.section,[...e.get(t.section)??[],t]);return[...e.entries()]},[s]),Y=(0,d.cartTotal)(j,_),W='yes'===k?C.map(e=>({allergen:e,severity:T?.allergies?.find(t=>t.allergen===e)?.severity??'allergy'})):[],E=(0,d.allergyClashes)(j,_,W.map(e=>e.allergen)),z=e=>j.find(t=>t.id===e)?.qty??0,G=(e,t)=>y(l=>t<=0?l.filter(t=>t.id!==e):l.some(t=>t.id===e)?l.map(l=>l.id===e?{...l,qty:t}:l):[...l,{id:e,qty:t,note:''}]),H=(e,t)=>y(l=>l.map(l=>l.id===e?{...l,note:t}:l)),V=async()=>{I(!0),M(null);try{const t=await(0,c.sendTableOrder)(e,j,{note:O,name:v,allergies:W});y([]),N(''),M({kind:'success',text:t.held?`Order ${t.ref} sent. A member of staff will check it, then it goes to the kitchen.`:`Order ${t.ref} sent to the kitchen.`}),D()}catch(e){M({kind:'warn',text:e?.message??'The order was not sent. Please try again or ask a member of staff.'}),A()}finally{I(!1)}};if(m)return(0,x.jsxs)(r.Screen,{title:"Order at the table",children:[(0,x.jsx)(r.Banner,{kind:"warn",title:"Couldn't open the menu",children:m}),(0,x.jsx)(r.Button,{label:"Try again",onPress:()=>{A()}})]});if(!s)return(0,x.jsx)(r.Screen,{title:"Order at the table",children:(0,x.jsx)(r.Muted,{children:"Opening the menu\u2026"})});if(!s.ok)return(0,x.jsx)(r.Screen,{title:"Order at the table",children:(0,x.jsx)(r.Banner,{kind:"warn",title:"This code isn't working",children:s.reason??'Please ask a member of staff.'})});const F=s.open&&j.length>0&&null!==k&&('none'===k||C.length>0)&&!B;return(0,x.jsxs)(r.Screen,{title:`${(0,l.tableNumbers)(s.table)}`,subtitle:s.venueName,footer:s.open?(0,x.jsx)(r.Button,{label:B?'Sending\u2026':j.length?`Send order to the kitchen (${(0,o.gbp)(Y)})`:'Add a dish to order',disabled:!F,onPress:()=>{V()},testID:"send-table-order-live"}):void 0,children:[(0,x.jsxs)(r.Muted,{children:["Tip: add dishes, answer the allergy question, then send. Staff bring it to ",(0,l.tableNumbers)(s.table),". ",d.PAY_WORDS]}),s.tip?(0,x.jsx)(r.Banner,{kind:"demo",children:s.tip}):null,s.open?null:(0,x.jsx)(r.Banner,{kind:"warn",title:"Not taking table orders right now",children:s.reason}),s.open&&s.staffAccept&&!R.some(e=>e.accepted)?(0,x.jsx)(r.Muted,{children:"The first order from your phone is checked by a member of staff before it goes to the kitchen."}):null,L?(0,x.jsx)(r.Banner,{kind:L.kind,children:L.text}):null,R.length?(0,x.jsx)(a.default,{testID:"my-table-orders",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Your orders at this table"}),R.map(e=>(0,x.jsxs)(a.default,{style:{gap:2,paddingVertical:4},children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.T,{children:e.ref}),(0,x.jsx)(r.T,{size:13,colour:'cancelled'===e.status?u.colours.amber:u.colours.gold,children:(0,d.guestStatusWords)(e)})]}),(0,x.jsxs)(r.Muted,{children:[e.lines.map(e=>`${e.qty}\xd7 ${e.name}`).join(', ')," \xb7 ",(0,o.gbp)(e.totalPence)," to pay at the bar or till"]})]},e.id))]})}):null,s.open?q.map(([e,t])=>(0,x.jsxs)(a.default,{style:{gap:8},children:[(0,x.jsx)(r.H2,{children:e}),t.map(e=>(0,x.jsxs)(r.Card,{children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,x.jsxs)(a.default,{style:{flex:1,gap:2},children:[(0,x.jsx)(r.T,{weight:"semibold",children:e.name}),e.description?(0,x.jsx)(r.Muted,{children:e.description}):null,(0,x.jsxs)(r.T,{size:13,colour:u.colours.muted,children:[e.allergens.length?`Contains: ${e.allergens.map(i.allergenLabel).join(', ')}`:'No allergens listed: ask staff if unsure',e.mayContain.length?` \xb7 May contain: ${e.mayContain.map(i.allergenLabel).join(', ')}`:'']})]}),(0,x.jsx)(r.T,{weight:"semibold",colour:u.colours.gold,children:(0,o.gbp)(e.pricePence)})]}),e.soldOut?(0,x.jsx)(r.Badge,{kind:"amber",label:"Sold out today"}):z(e.id)?(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.Stepper,{value:z(e.id),min:0,max:20,onChange:t=>G(e.id,t),label:e.name}),(0,x.jsx)(r.Button,{small:!0,kind:"ghost",label:"Remove",onPress:()=>G(e.id,0)})]}):(0,x.jsx)(r.Button,{small:!0,kind:"secondary",label:"Add",accessibilityLabel:`Add ${e.name}`,onPress:()=>G(e.id,1)})]},e.id))]},e)):null,s.open&&!_.length?(0,x.jsx)(r.Banner,{kind:"demo",title:"No dishes to order yet",children:"The venue hasn't put any priced dishes on the table menu yet. Please order at the bar."}):null,s.open&&j.length?(0,x.jsx)(a.default,{testID:"table-cart",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Your order"}),j.map(e=>{const l=_.find(t=>t.id===e.id);return(0,x.jsxs)(a.default,{style:{gap:4},children:[(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsxs)(r.T,{children:[e.qty,"\xd7 ",l?.name]}),(0,x.jsx)(r.T,{children:(0,o.gbp)(e.qty*(l?.pricePence??0))})]}),(0,x.jsx)(t.TextInput,{style:p,value:e.note,onChangeText:t=>H(e.id,t),placeholder:"Note for the kitchen (optional), e.g. no onions",placeholderTextColor:u.colours.muted,maxLength:140,accessibilityLabel:`Note for ${l?.name}`,testID:`table-note-${e.id}`})]},e.id)}),(0,x.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Total"}),(0,x.jsx)(r.T,{weight:"semibold",children:(0,o.gbp)(Y)})]})]})}):null,s.open?(0,x.jsx)(a.default,{testID:"table-allergy",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Does anyone at the table have a food allergy?"}),(0,x.jsx)(r.Muted,{children:"We ask everyone, so the kitchen can keep you safe."}),(0,x.jsxs)(r.Row,{gap:8,children:[(0,x.jsx)(r.Chip,{label:"No allergies",selected:'none'===k,onPress:()=>w('none')}),(0,x.jsx)(r.Chip,{label:"Yes, allergies",selected:'yes'===k,onPress:()=>w('yes')})]}),'yes'===k?(0,x.jsx)(r.Row,{wrap:!0,gap:6,children:i.ALLERGENS.map(e=>(0,x.jsx)(r.Chip,{label:e.short,selected:C.includes(e.id),onPress:()=>S(t=>t.includes(e.id)?t.filter(t=>t!==e.id):[...t,e.id])},e.id))}):null,E.length?(0,x.jsxs)(r.Banner,{kind:"warn",title:"Check with staff",children:[E.map(e=>e.name).join(', ')," ",E.length>1?'contain':'contains'," or may contain an allergy you picked. The kitchen will see your allergies on the ticket."]}):null]})}):null,s.open?(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Anything else?"}),(0,x.jsx)(t.TextInput,{style:p,value:v,onChangeText:P,placeholder:"Your first name (optional)",placeholderTextColor:u.colours.muted,maxLength:40,accessibilityLabel:"Your first name (optional)"}),(0,x.jsx)(t.TextInput,{style:p,value:O,onChangeText:N,placeholder:"Note for the staff (optional)",placeholderTextColor:u.colours.muted,maxLength:300,accessibilityLabel:"Note for the staff (optional)"})]}):null,(0,x.jsx)(a.default,{testID:"pay-placeholder",children:(0,x.jsxs)(r.Card,{children:[(0,x.jsx)(r.T,{weight:"semibold",children:"Paying"}),(0,x.jsx)(r.T,{children:d.PAY_WORDS}),(0,x.jsx)(r.Muted,{children:"No card details are asked for or kept in this app."})]})})]})};var e,t=_r(_d[0]),l=_r(_d[1]),n=_r(_d[2]),s=_r(_d[3]),a=(e=s)&&e.__esModule?e:{default:e},r=_r(_d[4]),i=_r(_d[5]),o=_r(_d[6]),d=_r(_d[7]),c=_r(_d[8]),h=_r(_d[9]),u=_r(_d[10]),x=_r(_d[11]);const p={borderWidth:1,borderColor:u.colours.border,borderRadius:10,padding:10,color:u.colours.text,backgroundColor:u.colours.surface2}},857,[860,802,24,121,807,808,810,859,858,813,815,18]);
|
| 3 |
+
__d(function(g,_r,i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"tablePublic",{enumerable:!0,get:function(){return s}}),e.sendTableOrder=async function(t,r,a){if(!await(0,n.guestSession)())throw new Error('No connection. Try again when you are back online.');return(0,n.rpc)('guest_table_order',{p_token:t,p_lines:r.map(t=>({id:t.id,qty:t.qty,note:t.note.trim().slice(0,140)})),p_note:a.note.trim().slice(0,300)||null,p_allergies:a.allergies.map(t=>({allergen:t.allergen,severity:t.severity})),p_name:a.name.trim().slice(0,40)||null})},e.myTableOrders=async function(t){return await(0,n.guestSession)()?await(0,n.rpc)('guest_table_my_orders',{p_token:t})??[]:[]},e.loadTableSettings=async function(){const{data:t,error:n}=await a().from('table_order_settings').select('*').eq('venue_id',o()).maybeSingle();if(n)throw n;return(0,r.fromRow)(t)},e.saveTableSettings=async function(t,n){const{error:s}=await a().from('table_order_settings').upsert({venue_id:o(),...(0,r.toRow)(t),updated_at:(new Date).toISOString(),updated_by:n.slice(0,80)});if(s)throw s},e.listTableCodes=async function(){const{data:t,error:n}=await a().from('table_qr_codes').select('table_no, token, created_at').eq('venue_id',o()).eq('is_on',!0);if(n)throw n;return(t??[]).map(t=>({table:String(t.table_no),token:String(t.token),createdAt:String(t.created_at)})).sort((t,n)=>Number(t.table)-Number(n.table))},Object.defineProperty(e,"makeTableCodes",{enumerable:!0,get:function(){return l}}),Object.defineProperty(e,"renewTableCode",{enumerable:!0,get:function(){return c}}),e.watchTableSettings=function(t){const r=n.useSync.getState().venueId;if(!r)return()=>{};const o=a().channel(`tos-${r}-${Math.random().toString(36).slice(2,8)}`).on('postgres_changes',{event:'*',schema:'public',table:'table_order_settings',filter:`venue_id=eq.${r}`},()=>t()).subscribe();return()=>{a().removeChannel(o)}};var t=_r(d[0]),n=_r(d[1]),r=_r(d[2]);const a=()=>(0,t.getSupabase)(),o=()=>{const t=n.useSync.getState().venueId;if(!t)throw new Error('Not connected to the venue yet.');return t},s=t=>(0,n.rpc)('table_public',{p_token:t});const l=t=>(0,n.rpc)('table_qr_make',{p_venue:o(),p_tables:t}),c=t=>(0,n.rpc)('table_qr_renew',{p_venue:o(),p_table:t})},858,[861,814,859]);
|
kirkmichael/customer-app/_expo/static/js/web/__common-b8b3234edd9e53acd10ed413ec7da172.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kirkmichael/customer-app/_expo/static/js/web/_layout-40a426076963ba8ba258fd47f2a0d99e.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return N}}),r(_d[0]);var t=r(_d[1]),s=r(_d[2]),o=r(_d[3]),n=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(s){if('default'!==s){var o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:function(){return e[s]}})}}),t.default=e,t})(r(_d[4])),u=r(_d[5]),l=r(_d[6]),c=e(r(_d[7])),d=e(r(_d[8]));r(_d[9]);var f=e(r(_d[10])),p=e(r(_d[11])),y=r(_d[12]),h=r(_d[13]),S=r(_d[14]),O=r(_d[15]),j=r(_d[16]),_=r(_d[17]),b=r(_d[18]),P=r(_d[19]),w=r(_d[20]),x=r(_d[21]),E=r(_d[22]),v=r(_d[23]);r(_d[24]);var k=r(_d[25]),H=r(_d[26]),A=r(_d[27]),T=r(_d[28]),R=r(_d[29]),B=r(_d[30]),C=r(_d[31]),F=r(_d[32]);const I=r(_d[33]),V=r(_d[34]),L=r(_d[35]),M=r(_d[36]);function N(){const[e]=(0,t.useFonts)({Poppins_400Regular:I,Poppins_500Medium:V,Poppins_600SemiBold:L,Poppins_700Bold:M}),[x,R]=(0,l.useState)(j.useStore.persist.hasHydrated()),[B,C]=(0,l.useState)(b.useOwner.persist.hasHydrated()),N=x&&B;(0,l.useEffect)(()=>{const e=j.useStore.persist.onFinishHydration(()=>R(!0)),t=b.useOwner.persist.onFinishHydration(()=>C(!0));return j.useStore.persist.hasHydrated()&&R(!0),b.useOwner.persist.hasHydrated()&&C(!0),()=>{e(),t()}},[]),(0,l.useEffect)(()=>{if('undefined'==typeof window)return;const e=e=>{e.key===(0,y.venueKey)(j.useStore.persist.getOptions().name??'')&&(0,v.quietly)(()=>j.useStore.persist.rehydrate()),e.key===(0,y.venueKey)(_.useFloor.persist.getOptions().name??'')&&(0,v.quietly)(()=>_.useFloor.persist.rehydrate()),e.key===(0,y.venueKey)(s.useBlocks.persist.getOptions().name??'')&&(0,v.quietly)(()=>s.useBlocks.persist.rehydrate())};return window.addEventListener('storage',e),()=>window.removeEventListener('storage',e)},[]),(0,l.useEffect)(()=>{N&&b.useOwner.getState().syncRoster()},[N]),(0,l.useEffect)(()=>{N&&(0,E.startAppSync)()},[N]);const G=e&&N,U=(0,w.useSignedOutGate)(),q=(0,o.usePathname)(),D=G&&!(0,S.isAllowedPath)(q||'/');return(0,l.useEffect)(()=>{if(!D)return;const e=setTimeout(()=>o.router.replace(S.ENTRY[S.APP_VARIANT]),0);return()=>clearTimeout(e)},[D,q]),(0,l.useEffect)(()=>{G&&n.hideAsync().catch(()=>{})},[G]),G?(0,F.jsxs)(O.SafeAreaProvider,{children:[(0,F.jsx)(u.StatusBar,{style:"light"}),U?(0,F.jsx)(p.default,{style:{flex:1,backgroundColor:P.colours.bg}}):(0,F.jsx)(p.default,{style:{flex:1},children:(0,F.jsx)(o.Stack,{screenOptions:{headerShown:!1,contentStyle:{backgroundColor:P.colours.bg}}})}),D&&!U?(0,F.jsx)(p.default,{style:[f.default.absoluteFill,{backgroundColor:P.colours.bg}]}):null,D||U?null:(0,F.jsx)(A.VoiceHost,{}),U?null:(0,F.jsx)(k.SyncBadge,{}),D||U?null:(0,F.jsx)(H.PushPrompt,{}),(0,F.jsx)(w.InviteGate,{}),D||U?null:(0,F.jsx)(T.SliderHost,{})]}):(0,F.jsxs)(p.default,{style:{flex:1,backgroundColor:P.colours.bg,alignItems:'center',justifyContent:'center',gap:18},children:[h.HERO_LOGOS[y.VENUE_RID]?(0,F.jsx)(d.default,{source:h.HERO_LOGOS[y.VENUE_RID],accessibilityLabel:"Venue logo",style:{width:180,height:180},resizeMode:"contain"}):null,(0,F.jsx)(c.default,{color:P.colours.gold})]})}R.PITCH&&(globalThis.__pitch={useStore:j.useStore,useOwner:b.useOwner,useFloor:_.useFloor,useBlocks:s.useBlocks,useSession:x.useSession,useCashUp:B.useCashUp,seedPitch:C.seedPitch},setTimeout(()=>{try{(0,C.seedPitch)()}catch(e){console.warn('pitch seed',e)}},1500)),x.START_INVITE,n.preventAutoHideAsync().catch(()=>{})},796,[942,1015,818,798,1042,561,24,240,190,116,40,121,5,847,800,283,813,819,841,815,986,844,814,1054,1044,1045,1047,1048,902,2,1055,1049,18,1050,1051,1052,1053]);
|
| 2 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return o.useFonts}});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(d[2])},1015,[1016,1039,1041]);
|
| 3 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FontDisplay",{enumerable:!0,get:function(){return y.FontDisplay}}),_e.isLoaded=F,_e.getLoadedFonts=function(){return t.default.getLoadedFonts()},_e.isLoading=function(e){return e in c.loadPromises},_e.loadAsync=function(e,n){const t='undefined'==typeof window;if(Array.isArray(e)){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e;if(t){(0,l.assertValidFontFamilyDefinitions)(s);for(const{fontFamily:e,fontDefinitions:o}of s){(0,l.assertValidFontFaces)(e,o);for(const n of o)(0,u.registerStaticFont)(e,(0,f.fontSourceFromFace)(n))}return Promise.resolve()}try{(0,l.assertValidFontFamilyDefinitions)(s)}catch(e){return Promise.reject(e)}return Promise.all(s.map(w)).then(()=>{})}if('object'==typeof e){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e,l=Object.keys(s);return t?(l.map(e=>(0,u.registerStaticFont)(e,s[e])),Promise.resolve()):Promise.all(l.map(e=>h(e,s[e]))).then(()=>{})}if(t)return(0,u.registerStaticFont)(e,n),Promise.resolve();return h(e,n)},_e.unloadAllAsync=async function(){if(!t.default.unloadAllAsync)throw new o.UnavailabilityError('expo-font','unloadAllAsync');if(Object.keys(c.loadPromises).length)throw new o.CodedError("ERR_UNLOAD",`Cannot unload fonts while they're still loading: ${Object.keys(c.loadPromises).join(', ')}`);(0,c.purgeCache)(),await t.default.unloadAllAsync()},_e.unloadAsync=async function(e,n){if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');if('object'==typeof e){if(n)throw new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided options: ${n}. The second argument of \`unloadAsync()\` can only be used with a \`string\` value as the first argument.`);const t=e,s=Object.keys(t);return void await Promise.all(s.map(e=>p(e,t[e])))}return await p(e,n)};var e,o=r(d[0]),n=r(d[1]),t=(e=n)&&e.__esModule?e:{default:e},s=r(d[2]),l=r(d[3]),f=r(d[4]),c=r(d[5]),u=r(d[6]),y=r(d[7]);function F(e){if('function'!=typeof t.default.isLoaded)throw new Error("expected ExpoFontLoader.isLoaded to be a function, was "+typeof t.default.isLoaded);return(0,c.isLoadedInCache)(e)||t.default.isLoaded(e)}async function w(e){const{fontFamily:o,fontDefinitions:n}=e;if((0,l.assertValidFontFaces)(o,n),c.loadPromises.hasOwnProperty(o))return c.loadPromises[o];F(o)||(c.loadPromises[o]=(async()=>{try{await(0,s.loadFontFamilyAsync)(o,n),(0,c.markLoaded)(o)}finally{delete c.loadPromises[o]}})(),await c.loadPromises[o])}async function h(e,n){if(!n)throw new o.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${n} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);if(c.loadPromises.hasOwnProperty(e))return c.loadPromises[e];if(F(e))return;const t=(0,s.getAssetForSource)(n);c.loadPromises[e]=(async()=>{try{await(0,s.loadSingleFontAsync)(e,t),(0,c.markLoaded)(e)}finally{delete c.loadPromises[e]}})(),await c.loadPromises[e]}async function p(e,n){if(F(e)){if((0,c.purgeFontFamilyFromCache)(e),!e)throw new o.CodedError("ERR_FONT_FAMILY","Cannot unload an empty name");if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');await t.default.unloadAsync(e,n)}}},1016,[295,1017,1020,1034,1035,1036,1037,1038]);
|
| 4 |
+
__d(function(g,r,_i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return p}}),e._matchesFontFaceOptions=l,e._fontFaceRuleSrcMatches=f,e._createWebFontTemplate=R;var t=r(d[0]),n=r(d[1]);function s(){if('undefined'==typeof window)return null;const t=S();return t.sheet?t.sheet:null}function o(){const t=s();if(t){const n=[...t.cssRules],s=[];for(let t=0;t<n.length;t++){const o=n[t];o instanceof CSSFontFaceRule&&s.push({rule:o,index:t})}return s}return[]}function i(t){const n=t?.trim();if(!n)return'';const s=n[0];return n.length>=2&&('"'===s||"'"===s)&&n.endsWith(s)?n.slice(1,-1).replace(/\\(.)/g,'$1'):n}function u(t){if(null==t||''===t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const s=Number(n);return Number.isFinite(s)?s:n}function l(t,n,s){return i(t.style.fontFamily)===n&&((!s?.display||s.display===t.style.fontDisplay)&&((null==s?.weight||u(s.weight)===u(t.style.fontWeight))&&(null==s?.style||s.style===t.style.fontStyle)))}function c(t,n){return o().filter(({rule:s})=>l(s,t,n))}function f(t,n){const s=t.style.getPropertyValue('src').match(/url\((['"]?)([^'")]*)\1\)/);if(!s)return!0;let o=s[2]??'';try{o=decodeURIComponent(o)}catch{}return o===String(n)}const a={async unloadAllAsync(){if('undefined'==typeof window)return;const t=document.getElementById(w);t&&t instanceof HTMLStyleElement&&document.removeChild(t)},async unloadAsync(t,n){const o=s();if(!o)return;const i=[...c(t,n)].sort((t,n)=>n.index-t.index);for(const t of i)o.deleteRule(t.index)},getServerResources:()=>(0,n.getServerResourceDescriptors)().map(t=>{switch(t.type){case'style':return`<style id="${t.id}">${t.css}</style>`;case'link':return`<link rel="${t.rel}" href="${t.href}" as="${t.as}" crossorigin="${t.crossOrigin}" />`;default:return''}}).filter(Boolean),getServerResourceDescriptors:()=>(0,n.getServerResourceDescriptors)(),getLoadedFonts(){if('undefined'==typeof window)return(0,n.getLoadedServerFonts)();const t=new Set,s=[];for(const{rule:n}of o()){const o=i(n.style.fontFamily);t.has(o)||(t.add(o),s.push(o))}return s},isLoaded:(t,s={})=>'undefined'==typeof window?(0,n.isServerFontLoaded)(t):c(t,s)?.length>0,loadAsync(s,o){if('undefined'==typeof window)return(0,n.addServerFont)({name:s,css:R(s,o),resourceId:o.uri}),Promise.resolve();if(!(document.head&&'function'==typeof document.head.appendChild))throw new t.CodedError('ERR_WEB_ENVIRONMENT',"The browser's `document.head` element doesn't support injecting fonts.");const i=S();i.isConnected||document.head.appendChild(i);if(c(s,o).some(({rule:t})=>f(t,o.uri))||b(s,o),'function'!=typeof document.fonts?.load)return Promise.resolve();let u='';return'string'==typeof o.style&&$.test(o.style)&&(u+=`${o.style} `),('number'==typeof o.weight&&Number.isFinite(o.weight)||'string'==typeof o.weight&&($.test(o.weight)||F.test(o.weight)&&!o.weight.includes(' ')))&&(u+=`${o.weight} `),h(document.fonts.load(`${u}1em ${JSON.stringify(s)}`),s)}},y=12e3;function h(n,s){let o;const i=new Promise((n,i)=>{o=setTimeout(()=>{i(new t.CodedError('ERR_DOWNLOAD',`Fetching the font family "${s}" timed out after ${y}ms. Check that the font URL is reachable and served with CORS headers.`))},y)});return Promise.race([n,i]).finally(()=>clearTimeout(o)).then(()=>{})}var p='undefined'==typeof window?a:(0,t.registerWebModule)(function(){return a},'ExpoFontLoader');const w='expo-generated-fonts';function S(){const t=document.getElementById(w);if(t&&t instanceof HTMLStyleElement)return t;const n=document.createElement('style');return n.id=w,n}const $=/^[a-zA-Z_-][\w-]*$/,F=/^(1000|[1-9]\d{0,2})( (1000|[1-9]\d{0,2}))?$/;function R(t,n){const s=[`font-family:${JSON.stringify(t)}`,`src:url(${JSON.stringify(n.uri)})`];return'string'==typeof n.display&&$.test(n.display)&&s.push(`font-display:${n.display}`),('number'==typeof n.weight&&Number.isFinite(n.weight)||'string'==typeof n.weight&&($.test(n.weight)||F.test(n.weight)))&&s.push(`font-weight:${n.weight}`),'string'==typeof n.style&&$.test(n.style)&&s.push(`font-style:${n.style}`),`@font-face{${s.join(';')}}`}function b(t,n){const s=R(t,n),o=S();if(o.styleSheet){const t=o;t.styleSheet.cssText=t.styleSheet.cssText?t.styleSheet.cssText+s:s}else if(o.sheet)o.sheet.insertRule(s,o.sheet.cssRules.length);else{const t=document.createTextNode(s);o.appendChild(t)}return o}},1017,[295,1018]);
|
| 5 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.withServerContext=function(n){if('undefined'!=typeof window)return n();return s().run(new Map,n)},e.addServerFont=function(n){const t=u();t.has(n.css)||t.set(n.css,n)},e.getServerResourceDescriptors=function(){const n=[...u().values()];if(!n.length)return[];const o=n.map(({css:n})=>n).join('\n'),s=[...new Set(n.map(({resourceId:n})=>n))];return[{css:o,id:t,type:'style'},...s.map(n=>({as:'font',crossOrigin:'',href:n,rel:'preload',type:'link'}))]},e.getLoadedServerFonts=function(){const n=s().getStore();if(!n)return[];return[...new Set([...n.values()].map(({name:n})=>n))]},e.isServerFontLoaded=function(n){const t=s().getStore();if(!t)return!1;for(const o of t.values())if(o.name===n)return!0;return!1};var n=r(d[0]);const t='expo-generated-fonts';let o=null;function s(){if('undefined'!=typeof window)throw new Error('expo-font server context is server-only and cannot be used in the browser.');return o||(o=new n.AsyncLocalStorage),o}function u(){const n=s().getStore();if(!n)throw new Error("expo-font server context accessed outside of withServerContext(). Wrap your server-side font usage in withServerContext(() => /* server code */).");return n}},1018,[1019]);
|
| 6 |
+
__d(function(g,r,i,a,m,e,d){},1019,[]);
|
| 7 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.getAssetForSource=p,_e.loadFontFamilyAsync=async function(t,e){await Promise.all(e.map(e=>{const o=p((0,f.fontSourceFromFace)(e));return j(t,o)}))},_e.loadSingleFontAsync=j;var t,e=r(d[0]),o=r(d[1]),n=r(d[2]),u=(t=n)&&t.__esModule?t:{default:t};r(d[3]);var f=r(d[4]);function s(t){return'string'==typeof t?t||null:'number'==typeof t?s(e.Asset.fromModule(t)):'object'==typeof t&&'number'==typeof t.uri?s(t.uri):'object'==typeof t&&(t.uri||t.localUri||t.default)||null}function c(t){if('object'==typeof t&&'display'in t)return t.display??void 0}function l(t){if('object'==typeof t&&'weight'in t)return t.weight??void 0}function y(t){if('object'==typeof t&&'style'in t)return t.style??void 0}function p(t){const e=s(t),o=c(t),n=l(t),u=y(t);return e&&'string'==typeof e||b(e),{uri:e,display:o,weight:n,style:u}}function b(t){let e=typeof t;throw'object'===e&&(e=JSON.stringify(t,null,2)),new o.CodedError("ERR_FONT_SOURCE",`Expected font asset of type \`string | FontResource | Asset\` instead got: ${e}`)}function j(t,e){return('object'!=typeof e||'string'!=typeof e.uri||e.downloadAsync)&&b(e),u.default.loadAsync(t,e)}},1020,[1021,295,1017,1034,1035]);
|
| 8 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]);var t=r(d[1]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[2]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},1021,[1022,1023,1033]);
|
| 9 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";var e,t=r(d[0]),s=r(d[1]),u=r(d[2]),o=(e=u)&&e.__esModule?e:{default:e};if(s.IS_ENV_WITH_LOCAL_ASSETS){(o.default.setCustomSourceTransformer||u.setCustomSourceTransformer)(function(e){try{if('fileHashes'in e.asset&&e.asset.fileHashes){const s=t.Asset.fromMetadata(e.asset);return s.uri.startsWith(t.ANDROID_EMBEDDED_URL_BASE_RESOURCE)?e.resourceIdentifierWithoutScale():e.fromSource(s.downloaded?s.localUri:s.uri)}return e.defaultAsset()}catch{return e.defaultAsset()}})}},1022,[1023,1027,1032]);
|
| 10 |
+
__d(function(g,r,i,a,m,_e,_d){"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t){if(t&&t.__esModule)return t;var e={};return t&&Object.keys(t).forEach(function(s){if('default'!==s){var n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return t[s]}})}}),e.default=t,e}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ANDROID_EMBEDDED_URL_BASE_RESOURCE",{enumerable:!0,get:function(){return y}}),Object.defineProperty(_e,"Asset",{enumerable:!0,get:function(){return w}}),r(_d[0]);var s=t(r(_d[1])),n=r(_d[2]),h=e(r(_d[3])),o=r(_d[4]),l=e(r(_d[5])),u=r(_d[6]),d=r(_d[7]),c=t(r(_d[8]));function f(t){return!!t&&'object'==typeof t&&'uri'in t&&'string'==typeof t.uri}const y='file:///android_res/';class w{static byHash={};static byUri={};hash=null;localUri=null;width=null;height=null;downloading=!1;downloaded=!1;_downloadCallbacks=[];constructor({name:t,type:e,hash:s=null,uri:n,width:o,height:l}){this.name=t,this.type=e,this.hash=s,this.uri=n,'number'==typeof o&&(this.width=o),'number'==typeof l&&(this.height=l),s&&(this.localUri=(0,u.getLocalAssetUri)(s,e),this.localUri?.startsWith(y)?(this.uri=this.localUri,this.localUri=null):this.localUri&&(this.downloaded=!0)),t||(this.name=h.getFilename(n)),e||(this.type=h.getFileExtension(n))}static loadAsync(t){const e=Array.isArray(t)?t:[t];return Promise.all(e.map(t=>w.fromModule(t).downloadAsync()))}static fromModule(t){if('string'==typeof t)return w.fromURI(t);if(f(t)){const e=h.getFileExtension(t.uri);return new w({name:'',type:e.startsWith('.')?e.substring(1):e,hash:null,uri:t.uri,width:t.width,height:t.height})}const e=s.default.getAssetByID(t);if(!e)throw new Error(`Module "${t}" is missing from the asset registry`);if(!d.IS_ENV_WITH_LOCAL_ASSETS){const{uri:s}=(0,c.default)(t),n=new w({name:e.name,type:e.type,hash:e.hash,uri:s,width:e.width,height:e.height});return w.byHash[e.hash]=n,n}return w.fromMetadata(e)}static fromMetadata(t){const e=t.hash,s=w.byHash[e];if(s)return s;const{uri:h,hash:o}=(0,n.selectAssetSource)(t),l=new w({name:t.name,type:t.type,hash:o,uri:h,width:t.width,height:t.height});return w.byHash[e]=l,l}static fromURI(t){if(w.byUri[t])return w.byUri[t];let e='';if(t.indexOf(';base64')>-1)e=t.split(';')[0]?.split('/')[1]??'';else{const s=h.getFileExtension(t);e=s.startsWith('.')?s.substring(1):s}const s=new w({name:'',type:e,hash:null,uri:t});return w.byUri[t]=s,s}async downloadAsync(){if(this.downloaded)return this;if(this.downloading)return await new Promise((t,e)=>{this._downloadCallbacks.push({resolve:t,reject:e})}),this;this.downloading=!0;try{if(l.isImageType(this.type)){const{width:t,height:e,name:s}=await l.getImageInfoAsync(this.uri);this.width=t,this.height=e,this.name=s}else this.name=h.getFilename(this.uri);this.localUri=await(0,o.downloadAsync)(this.uri,this.hash,this.type),this.downloaded=!0,this._downloadCallbacks.forEach(({resolve:t})=>t())}catch(t){throw this._downloadCallbacks.forEach(({reject:e})=>e(t)),t}finally{this.downloading=!1,this._downloadCallbacks=[]}return this}}},1023,[295,226,1024,1028,1029,1030,1031,1027,1032]);
|
| 11 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.selectAssetSource=function(e){const t=o.default.pickScale(e.scales,s.default.get()),f=e.scales.findIndex(e=>e===t),l=e.fileHashes?.[f]??e.fileHashes?.[0]??e.hash,p=e.fileUris?e.fileUris[f]??e.fileUris[0]:e.uri;if(p)return{uri:c(p),hash:l};const U=1===t?'':`@${t}x`,v=e.type?`.${encodeURIComponent(e.type)}`:'',x=`/${encodeURIComponent(e.name)}${U}${v}`,L=new URLSearchParams({platform:"web",hash:e.hash});if(/^https?:\/\//.test(e.httpServerLocation)){return{uri:e.httpServerLocation+x+'?'+L,hash:l}}const R=(0,h.getManifest2)(),S=R?.extra?.expoGo?.developer?u(R):null;if(S){const t=new URL(e.httpServerLocation+x,S);return t.searchParams.set('platform',"web"),t.searchParams.set('hash',e.hash),{uri:t.href,hash:l}}if(n.default.ExponentKernel)return{uri:`https://classic-assets.eascdn.net/~assets/${encodeURIComponent(l)}`,hash:l};return{uri:'',hash:l}},_e.resolveUri=c,r(d[0]);var t=r(d[1]),s=e(r(d[2])),n=e(r(d[3])),o=e(r(d[4])),h=r(d[5]);function u(e){const s=(0,t.getBundleOrigin)();if(s)return s;const n=e.extra?.expoGo?.debuggerHost;if(!n)return null;return(h.manifestBaseUrl?.startsWith('https://')?'https://':'http://')+n}function c(e){return h.manifestBaseUrl?new URL(e,h.manifestBaseUrl).href:e}},1024,[295,1025,193,106,1026,1027]);
|
| 12 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getBundleUrl",{enumerable:!0,get:function(){return t.getBundleUrl}}),e.getBundleOrigin=function(n=(0,t.getBundleUrl)()){if(!n)return null;try{const{protocol:t,origin:u}=new URL(n);return'http:'===t||'https:'===t?u:null}catch{return null}};var t=r(d[0])},1025,[569]);
|
| 13 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return n}}),r(d[0]);var e,t=r(d[1]),s=(e=t)&&e.__esModule?e:{default:e};function c(e){const t=n.pickScale(e.scales,s.default.get()),c=1===t?'':'@'+t+'x',o=e.type?`.${e.type}`:'';return e.httpServerLocation.replace(/\.\.\//g,'_')+'/'+e.name+c+o}class n{constructor(e,t,s){this.serverUrl=e||'https://expo.dev',this.jsbundleUrl=null,this.asset=s}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(c(this.asset),this.serverUrl);return e.searchParams.set('platform',"web"),e.searchParams.set('hash',this.asset.hash),this.fromSource(e.toString().replace(e.origin,''))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:n.pickScale(this.asset.scales,s.default.get())}}static pickScale(e,t){for(const s of e)if(s>=t)return s;return e[e.length-1]||1}}},1026,[295,193]);
|
| 14 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"IS_ENV_WITH_LOCAL_ASSETS",{enumerable:!0,get:function(){return t}}),e.getLocalAssets=function(){return{}},e.getManifest2=function(){return{}},Object.defineProperty(e,"manifestBaseUrl",{enumerable:!0,get:function(){return n}});const t=!1;const n=null},1027,[]);
|
| 15 |
+
__d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{pathname:s,searchParams:o}=new URL(t,'https://e');return n(s)}function n(t){return t.substring(t.lastIndexOf('/')+1)}Object.defineProperty(e,'__esModule',{value:!0}),e.getFilename=t,e.getFileExtension=function(n){const s=t(n),o=s.lastIndexOf('.');return o>0?s.substring(o):''},e.getManifestBaseUrl=function(t){const n=new URL(t);let s=n.protocol;'exp:'===s?s='http:':'exps:'===s&&(s='https:');n.protocol=s;const o=n.pathname.substring(0,n.pathname.lastIndexOf('/')+1);return n.pathname=o,n.search='',n.hash='',n.protocol!==s?n.href.replace(n.protocol,s):n.href}},1028,[]);
|
| 16 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.downloadAsync=async function(n,t,c){return n}},1029,[]);
|
| 17 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.isImageType=function(n){return/^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(n)},e.getImageInfoAsync=function(t){if('undefined'==typeof window)return Promise.resolve({name:(0,n.getFilename)(t),width:0,height:0});return new Promise((o,u)=>{const s=new Image;s.onerror=u,s.onload=()=>{o({name:(0,n.getFilename)(t),width:s.naturalWidth,height:s.naturalHeight})},s.src=t})};var n=r(d[0])},1030,[1028]);
|
| 18 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getLocalAssetUri=function(t,n){return null}},1031,[]);
|
| 19 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return f}}),_e.setCustomSourceTransformer=o,Object.defineProperty(_e,"pickScale",{enumerable:!0,get:function(){return l}});var t=e(r(d[0])),n=e(r(d[1]));let u;function o(e){u=e}function c(e){if('object'==typeof e)return e;const o=t.default.getAssetByID(e);if(!o)return null;const c=new n.default('https://expo.dev',null,o);return u?u(c):c.defaultAsset()}Object.defineProperty(c,'setCustomSourceTransformer',{get:()=>o});var f=c;const{pickScale:l}=n.default},1032,[226,1026]);
|
| 20 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useAssets=function(u){const[c,n]=(0,t.useState)(),[o,f]=(0,t.useState)();return(0,t.useEffect)(()=>{s.Asset.loadAsync(u).then(n).catch(f)},[]),[c,o]};var t=r(d[0]),s=r(d[1])},1033,[24,1023]);
|
| 21 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.normalizeWeight=o,e.normalizeStyle=f,e.resolveFaceWeight=l,e.resolveFaceStyle=c,e.assertValidFontFaces=function(t,s){if('string'!=typeof t||0===t.length)throw new n.CodedError("ERR_FONT_API",`Expected a non-empty string for \`fontFamily\`, instead got ${JSON.stringify(t)}. Set \`fontFamily\` to the name to use as the \`fontFamily\` style prop.`);if(!Array.isArray(s)||0===s.length)throw new n.CodedError("ERR_FONT_API",`No font faces were provided for font family "${t}". Set \`fontDefinitions\` to a non-empty array of \`FontFaceDefinition\`s.`);const y=new Set;for(const u of s){if('object'!=typeof u||null===u||null==u.path)throw new n.CodedError("ERR_FONT_API",`A face of font family "${t}" has no \`path\`. Set the face's \`path\` to a \`FontSource\`.`);const s=o(l(u)),h=f(c(u));if(void 0===s||void 0===h)continue;const F=`${s}/${h}`;if(y.has(F))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" declares two faces with weight ${s} and style "${h}". Give each face a distinct weight or style so the correct face is selected at render time.`);y.add(F)}},e.assertValidFontFamilyDefinitions=function(t){const o=new Set;for(const f of t){if('object'!=typeof f||null===f||Array.isArray(f)||!('fontFamily'in f)||!('fontDefinitions'in f))throw new n.CodedError("ERR_FONT_API",`Expected an object with \`fontFamily\` and \`fontDefinitions\`, instead got ${JSON.stringify(f)}. Set each array element to \`{ fontFamily, fontDefinitions }\`.`);const{fontFamily:t}=f;if(o.has(t))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" is declared more than once in this \`loadAsync\` call. Declare each \`fontFamily\` once, with all of its faces in one \`fontDefinitions\` array.`);o.add(t)}};var t=r(d[0]),n=r(d[1]);function o(t){if(null==t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const o=Number(n);return Number.isFinite(o)?o:void 0}function f(t){if(null==t)return;const n=t.trim().toLowerCase();return'italic'===n||'oblique'===n?'italic':'normal'}function s(n){if(!(n instanceof t.Asset||'string'==typeof n||'number'==typeof n))return n}function l(t){return t.weight??s(t.path)?.weight}function c(t){return t.style??s(t.path)?.style}},1034,[1021,295]);
|
| 22 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.fontSourceFromFace=function(n){const{path:o,display:s}=n,u=(0,l.resolveFaceWeight)(n),c=(0,l.resolveFaceStyle)(n);if(o instanceof t.Asset)return{uri:o.uri,...void 0!==u?{weight:u}:null,...void 0!==c?{style:c}:null,...void 0!==s?{display:s}:null};const y='string'==typeof o||'number'==typeof o?{uri:o}:o;return{...y,weight:u,style:c,display:s??y.display}};var t=r(d[0]),l=r(d[1])},1035,[1021,1034]);
|
| 23 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"loadPromises",{enumerable:!0,get:function(){return o}}),_e.markLoaded=function(e){u[e]=!0},_e.isLoadedInCache=c,_e.isLoadedNative=function(e){if(c(e))return!0;{const n=t.default.getLoadedFonts();return!!n?.length&&(n.forEach(e=>{u[e]=!0}),e in u)}},_e.purgeFontFamilyFromCache=function(e){delete u[e]},_e.purgeCache=function(){u={}};var e,n=r(d[0]),t=(e=n)&&e.__esModule?e:{default:e};const o={};let u={};function c(e){return e in u}},1036,[1017]);
|
| 24 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"withServerContext",{enumerable:!0,get:function(){return u.withServerContext}}),_e.getServerResources=function(){if(!n.default.getServerResources)throw new t.UnavailabilityError('expo-font','getServerResources');return n.default.getServerResources()},_e.getServerResourceDescriptors=function(){if(!n.default.getServerResourceDescriptors)throw new t.UnavailabilityError('expo-font','getServerResourceDescriptors');return n.default.getServerResourceDescriptors()},_e.registerStaticFont=function(e,o){if(!o)throw new t.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${o} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);const n=(0,s.getAssetForSource)(o);(0,s.loadSingleFontAsync)(e,n)};var e,t=r(d[0]),o=r(d[1]),n=(e=o)&&e.__esModule?e:{default:e},s=r(d[2]),u=r(d[3])},1037,[295,1017,1020,1018]);
|
| 25 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FontDisplay",{enumerable:!0,get:function(){return t}});var t=(function(t){return t.AUTO="auto",t.SWAP="swap",t.BLOCK="block",t.FALLBACK="fallback",t.OPTIONAL="optional",t})({})},1038,[]);
|
| 26 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.renderToImageAsync=async function(e,l){if(!t.default)throw new o.UnavailabilityError('expo-font','ExpoFontUtils.renderToImageAsync');return await t.default.renderToImageAsync(e,{...l,color:l?.color?(0,n.default)(l.color):void 0})};var o=r(d[0]),n=e(r(d[1])),t=e(r(d[2]))},1039,[295,47,1040]);
|
| 27 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});var t=r(d[0]);class n extends t.NativeModule{async renderToImageAsync(n,o){throw new t.UnavailabilityError('expo-font','renderToImageAsync')}}var o=(0,t.registerWebModule)(n,'ExpoFontUtils')},1040,[295]);
|
| 28 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return u}});var t=r(d[0]),n=r(d[1]);function o(t){return'string'==typeof t?(0,n.isLoaded)(t):Array.isArray(t)?t.every(t=>{const o=t?.fontFamily;return'string'==typeof o&&(0,n.isLoaded)(o)}):Object.keys(t).every(t=>(0,n.isLoaded)(t))}const u='undefined'==typeof window?function(t){return(0,n.loadAsync)(t),[!0,null]}:function(u){const[s,c]=(0,t.useState)(o(u)),[f,y]=(0,t.useState)(null);return(0,t.useEffect)(()=>{let t=!0;return(0,n.loadAsync)(u).then(()=>{t&&c(!0)}).catch(n=>{t&&y(n)}),()=>{t=!1}},[]),[s,f]}},1041,[24,1016]);
|
| 29 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})},1042,[1043]);
|
| 30 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.preventAutoHideAsync=async function(){return!1},e.setOptions=function(n){},e.hide=function(){},e.hideAsync=async function(){}},1043,[]);
|
| 31 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"sharedRecipeCards",{enumerable:!0,get:function(){return l}});var c=r(d[0]),s=r(d[1]),n=r(d[2]);const o=()=>{const c=n.useSync.getState();return'live'===c.mode&&'guest'!==c.kind&&!!c.venueId};function t(c){if(o()&&!(0,n.can)(c))throw new Error('recipes.signoff'===c?'Only the head chef can sign off a recipe card.':'Only the head chef, managers and owners can change recipe cards.')}const l={mode:'shared',list:s=>c.localRecipeCards.list(s),get:s=>c.localRecipeCards.get(s),byMenuItem:s=>c.localRecipeCards.byMenuItem(s),subscribe:s=>c.localRecipeCards.subscribe(s),create:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.create(s,n,o)),update:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.update(s,n,o)),signOff:async(s,n)=>(t('recipes.signoff'),c.localRecipeCards.signOff(s,n)),remove:async(s,n)=>(t('recipes.edit'),c.localRecipeCards.remove(s,n)),savePhoto:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.savePhoto(s,n,o)),photoSource:s=>c.localRecipeCards.photoSource(s)};function p(){const n=o()?l:c.localRecipeCards;(0,s.recipeCards)()!==n&&(0,s.setRecipeCardRepository)(n)}p(),n.useSync.subscribe((c,s)=>{c.mode===s.mode&&c.kind===s.kind&&c.venueId===s.venueId||p()})},1044,[1056,825,814]);
|
| 32 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"STRIP",{enumerable:!0,get:function(){return C}}),_e.SyncBadge=function(){const e=(0,y.useSync)(),[R,P]=(0,n.useState)(!1),[z,S]=(0,n.useState)(e.refused?.at??''),k=e.refused&&e.refused.at!==z?e.refused:void 0,[W,A]=(0,n.useState)(!1),[H,L]=(0,n.useState)(''),N=(0,p.useDisplaySettings)(f.VENUE_RID),$=(0,T.useScreensaverAsleep)(e=>e.asleep),O='off'===e.mode&&(I.PITCH||!(0,j.isSupabaseConfigured)());if('customer'===h.APP_VARIANT||'off'===e.mode&&!O)return null;if($)return(0,w.jsx)(u.default,{testID:"sync-strip-asleep",accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",style:{height:C,backgroundColor:x.colours.bg}});const _='live'===e.mode,E='display'===h.APP_VARIANT,V=e.waiting??0,M=`${V} change${1===V?'':'s'} waiting to save`,K=O?I.PITCH?'Demo \xb7 this device only':'This device only':_?V?M:e.pending?`Live \xb7 sending ${e.pending}`:'Live':'offline'===e.mode?"Offline"+(e.pending?` \xb7 ${e.pending} waiting`:''):'connecting'===e.mode?'Connecting\u2026':'unpaired'===e.mode?'Not paired':'On this device',U=O||_&&V?x.colours.gold:_?x.colours.ok:'offline'===e.mode||'connecting'===e.mode?x.colours.gold:x.colours.muted,Y=O?I.PITCH?'Demo mode. Nothing is shared or sent: everything you do stays in this browser.':'This copy isn\u2019t connected to a shared system. Everything stays on this device.':_?`Shared live with ${e.venueName??'your venue'}${e.lastSyncAt?`. Last update ${new Date(e.lastSyncAt).toLocaleTimeString('en-GB',{hour:'2-digit',minute:'2-digit'})}`:''}.`:'offline'===e.mode?'No connection. Changes are saved on this device and sent when you\u2019re back online.':'signin'===e.mode?'Not connected to the shared system. Open your personal invite link once on this device to connect.':'unpaired'===e.mode?'This display isn\u2019t paired. Use a pairing code from Managers \u2192 Displays.':'connecting'===e.mode?'Connecting to the shared system\u2026':'The shared system can\u2019t be reached, so this device is using its own data.';return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(u.default,{testID:"sync-strip",style:{height:C,paddingHorizontal:10,justifyContent:'center',alignItems:'flex-start',backgroundColor:x.colours.bg,borderTopWidth:1,borderTopColor:'rgba(255,255,255,0.06)'},children:(0,w.jsxs)(c.default,{testID:"sync-badge",accessibilityRole:"button",accessibilityLabel:V&&_?`${M}. Kept on this device and tried again by itself. Tap for details.`:`Sync: ${K}`,accessibilityLiveRegion:"polite",onPress:()=>P(e=>!e),style:{flexDirection:'row',alignItems:'center',gap:6,paddingHorizontal:14,minHeight:44,borderRadius:999,backgroundColor:(0,s.soutersSurface)('rgba(16,14,11,0.92)'),borderWidth:1,borderColor:'rgba(255,255,255,0.14)',maxWidth:320},children:[(0,w.jsx)(u.default,{style:{width:8,height:8,borderRadius:4,backgroundColor:U}}),(0,w.jsx)(v.T,{size:12,weight:"semibold",children:K})]})}),R?(0,w.jsxs)(u.default,{testID:"sync-detail",style:{position:'absolute',left:10,bottom:52,zIndex:900,maxWidth:320,padding:12,borderRadius:12,backgroundColor:(0,s.soutersSurface)('#15120E'),borderWidth:1,borderColor:'rgba(255,255,255,0.14)',gap:4},children:[(0,w.jsx)(v.T,{size:13,children:Y}),V?(0,w.jsxs)(u.default,{testID:"sync-waiting",style:{gap:4},children:[(0,w.jsxs)(v.T,{size:12,colour:x.colours.gold,children:[M,". ",1===V?'It is':'They are'," kept on this device and tried again by ",1===V?'itself':'themselves'," until the shared system takes ",1===V?'it':'them',".",e.waitingWhat?` Waiting: ${e.waitingWhat}.`:'']}),(0,w.jsx)(c.default,{testID:"sync-retry",accessibilityRole:"button",accessibilityLabel:"Try saving again now",onPress:()=>{b.mutationQueue.retryNow()},style:{minHeight:44,justifyContent:'center',alignSelf:'flex-start',paddingHorizontal:12,borderRadius:8,borderWidth:1,borderColor:x.colours.gold},children:(0,w.jsx)(v.T,{size:12,colour:x.colours.gold,children:"Try again now"})})]}):null,e.refused?(0,w.jsxs)(v.T,{size:12,colour:x.colours.red,children:["Last change not saved: ",e.refused.what,". ",e.refused.why,"."]}):null,e.message?(0,w.jsx)(v.T,{size:12,colour:x.colours.muted,children:e.message}):null,e.venueId&&(_||'offline'===e.mode)?W?(0,w.jsxs)(u.default,{style:{gap:6,marginTop:6},children:[(0,w.jsx)(v.T,{size:12,children:E?'Unpair this display? It goes back to the pairing screen and needs a new code from Managers \u2192 Displays.':'Disconnect this device? Your changes stay on it; open your personal invite link to connect again.'}),E&&N.pinOn?(0,w.jsx)(t.TextInput,{testID:"unpair-pin",value:H,onChangeText:L,placeholder:"Display PIN",placeholderTextColor:x.colours.muted,secureTextEntry:!0,keyboardType:"number-pad",accessibilityLabel:"Display PIN",style:{borderWidth:1,borderColor:'rgba(255,255,255,0.2)',borderRadius:8,paddingHorizontal:10,paddingVertical:6,color:x.colours.text}}):null,(0,w.jsxs)(u.default,{style:{flexDirection:'row',gap:8},children:[(0,w.jsx)(c.default,{testID:"unpair-confirm",accessibilityRole:"button",accessibilityLabel:E?'Yes, unpair':'Yes, disconnect',disabled:E&&N.pinOn&&!(0,l.wakePinMatches)(N,H),onPress:()=>{A(!1),P(!1),L(''),E?(0,y.unpairDisplay)():(0,y.disconnectStaff)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:E&&N.pinOn&&!(0,l.wakePinMatches)(N,H)?'rgba(255,255,255,0.08)':x.colours.red},children:(0,w.jsx)(v.T,{size:12,weight:"semibold",children:E?'Yes, unpair':'Yes, disconnect'})}),(0,w.jsx)(c.default,{accessibilityRole:"button",accessibilityLabel:"Keep connected",onPress:()=>{A(!1),L('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,w.jsx)(v.T,{size:12,children:"Keep"})})]})]}):(0,w.jsx)(c.default,{testID:"unpair",accessibilityRole:"button",accessibilityLabel:E?'Unpair this display':'Disconnect this device',onPress:()=>A(!0),style:{marginTop:6,alignSelf:'flex-start'},children:(0,w.jsx)(v.T,{size:12,colour:x.colours.gold,children:E?'Unpair this display\u2026':'Disconnect this device\u2026'})}):null,(0,w.jsx)(o.WipeDevice,{compact:!0})]}):null,k?(0,w.jsx)(u.default,{testID:"sync-toast",style:{position:'absolute',left:16,right:16,bottom:C+D+8,zIndex:950,alignItems:'center'},pointerEvents:"box-none",children:(0,w.jsxs)(u.default,{accessibilityRole:"alert",accessibilityLiveRegion:"assertive",style:{padding:12,borderRadius:12,backgroundColor:'#3A1712',borderWidth:1,borderColor:x.colours.red,maxWidth:460,gap:8},children:[(0,w.jsx)(v.T,{size:13,children:`Not saved: ${k.what}. Why: ${k.why}. This device now shows what the shared system has, so please make the change again if it is still needed.`}),(0,w.jsx)(c.default,{testID:"sync-toast-ok",accessibilityRole:"button",accessibilityLabel:"OK, dismiss this message",onPress:()=>S(k.at),style:{minHeight:44,minWidth:64,justifyContent:'center',alignItems:'center',alignSelf:'flex-end',paddingHorizontal:14,borderRadius:8,backgroundColor:x.colours.red},children:(0,w.jsx)(v.T,{size:13,weight:"semibold",children:"OK"})})]})}):null]})};var s=r(d[0]),t=r(d[1]),n=r(d[2]),o=r(d[3]),l=r(d[4]),c=e(r(d[5])),u=e(r(d[6])),h=r(d[7]),y=r(d[8]),b=r(d[9]),p=r(d[10]),f=r(d[11]),x=r(d[12]),v=r(d[13]),T=r(d[14]),j=r(d[15]),I=r(d[16]),w=r(d[17]);const C=48,D='display'===h.APP_VARIANT?0:60},1045,[851,860,24,1046,928,257,121,800,814,1057,819,5,815,807,900,1058,2,18]);
|
| 33 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.WipeDevice=function({compact:e}){const f=(0,u.useDisplaySettings)(p.VENUE_RID),[v,T]=(0,s.useState)(!1),[w,j]=(0,s.useState)(''),[D,C]=(0,s.useState)(!1),I='display'===h.APP_VARIANT&&f.pinOn,P=!I||(0,b.wakePinMatches)(f,w);return v?(0,x.jsxs)(o.default,{testID:"wipe-confirm-box",style:{gap:6,marginTop:6},children:[(0,x.jsx)(l.T,{size:e?12:14,children:"Sign out and remove everything CoverCharge keeps on this device: sign-ins, pairing, saved screens and any changes not sent yet. The venue\u2019s shared data is not touched. To use it again, open a personal link or pair the Display again."}),I?(0,x.jsx)(t.TextInput,{testID:"wipe-pin",value:w,onChangeText:j,placeholder:"Display wake PIN",placeholderTextColor:c.colours.muted,secureTextEntry:!0,keyboardType:"number-pad",accessibilityLabel:"Display wake PIN",style:{borderWidth:1,borderColor:'rgba(255,255,255,0.2)',borderRadius:8,paddingHorizontal:10,paddingVertical:6,color:c.colours.text}}):null,(0,x.jsxs)(o.default,{style:{flexDirection:'row',gap:8},children:[(0,x.jsx)(n.default,{testID:"wipe-confirm",accessibilityRole:"button",accessibilityLabel:"Yes, wipe this device",disabled:!P||D,onPress:()=>{C(!0),(0,y.wipeThisDevice)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:P?c.colours.red:'rgba(255,255,255,0.08)'},children:(0,x.jsx)(l.T,{size:12,weight:"semibold",children:D?'Wiping\u2026':'Yes, wipe this device'})}),(0,x.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Cancel",onPress:()=>{T(!1),j('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,x.jsx)(l.T,{size:12,children:"Cancel"})})]})]}):(0,x.jsx)(n.default,{testID:"wipe-device",accessibilityRole:"button",accessibilityLabel:"Sign out and wipe this device",onPress:()=>T(!0),style:{alignSelf:'flex-start',marginTop:e?4:0,minHeight:44,justifyContent:'center'},children:(0,x.jsx)(l.T,{size:e?12:14,colour:c.colours.gold,children:"Sign out and wipe this device\u2026"})})};var t=r(d[0]),s=r(d[1]),n=e(r(d[2])),o=e(r(d[3])),l=r(d[4]),c=r(d[5]),u=r(d[6]),p=r(d[7]),b=r(d[8]),h=r(d[9]),y=r(d[10]),x=r(d[11])},1046,[860,24,257,121,807,815,819,5,928,800,814,18]);
|
| 34 |
+
__d(function(g,_r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.PushPrompt=function(){const e=(0,l.useSync)(e=>e.kind),b=(0,l.useSync)(e=>e.staffRef),x=(0,l.useSync)(e=>e.venueId),[p,S]=(0,o.useState)(!1),[j,v]=(0,o.useState)(null);if((0,o.useEffect)(()=>{if(u.PITCH||y()||'staff'!==e||!b||!x)return;let t=!0;return(async()=>{const e=await(0,c.pushState)();if(!t)return;if('undefined'!=typeof Notification&&'granted'===Notification.permission&&('on'===e||'off'===e))return void(0,c.turnOnPush)();if('off'!==e)return;const o=Number(localStorage.getItem(h)||0);Date.now()-o>2592e5&&S(!0)})(),()=>{t=!1}},[e,b,x]),!p)return null;const w={minHeight:48,borderRadius:12,justifyContent:'center',paddingHorizontal:18};return(0,f.jsxs)(r.default,{accessibilityRole:"alert",style:{position:'absolute',left:12,right:12,bottom:72,backgroundColor:s.colours.surface2,borderColor:s.colours.gold,borderWidth:1,borderRadius:14,padding:16,zIndex:50},children:[(0,f.jsx)(t.Text,{style:{color:s.colours.goldLight,fontSize:18,fontWeight:'700',marginBottom:6},children:"Get notifications on this phone"}),(0,f.jsx)(t.Text,{style:{color:'#F2E6C9',fontSize:16,marginBottom:12},children:j??'So you hear about rota changes, swaps and reminders even when the app is closed.'}),(0,f.jsxs)(r.default,{style:{flexDirection:'row',gap:12},children:[(0,f.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Turn on notifications",style:[w,{backgroundColor:s.colours.gold,flex:1}],onPress:async()=>{const e=await(0,c.turnOnPush)();e.ok?S(!1):v(e.message)},children:(0,f.jsx)(t.Text,{style:{color:'#0B0B0B',fontSize:17,fontWeight:'700',textAlign:'center'},children:"Turn on"})}),(0,f.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Not now",style:[w,{borderColor:s.colours.gold,borderWidth:1}],onPress:()=>{try{localStorage.setItem(h,String(Date.now()))}catch{}S(!1)},children:(0,f.jsx)(t.Text,{style:{color:s.colours.goldLight,fontSize:17,textAlign:'center'},children:"Not now"})})]})]})};var t=_r(d[0]),o=_r(d[1]);_r(d[2]);var n=e(_r(d[3])),r=e(_r(d[4])),s=_r(d[5]),l=_r(d[6]),c=_r(d[7]),u=_r(d[8]),f=_r(d[9]);const h='cc-push-later-v1',y=()=>'undefined'!=typeof navigator&&/CoverChargePhone\//.test(navigator.userAgent)},1047,[860,24,116,257,121,815,814,1059,2,18]);
|
| 35 |
+
__d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.VoiceHost=function(){return null}},1048,[]);
|
| 36 |
+
__d(function(g,r,_i,a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.seedPitch=function(){const h='owner'===d.APP_VARIANT?'st-tracy':'chef'===d.APP_VARIANT?'st-bisto':'staff'===d.APP_VARIANT?'st-lenny':null;!h||i.useSession.getState().meId||/[?&]invite=/.test('undefined'!=typeof window?window.location.search:'')||i.useSession.getState().signIn(h);t.useStore.setState(t=>({bookings:t.bookings.map((t,e)=>t.phone||t.walkIn?t:{...t,phone:`07700 900${String(100+e).slice(-3)}`})}));const S=s.useOwner.getState();if(S.shifts.some(t=>t.id.startsWith('pitch-')))return;const p=(0,e.nowFrom)(t.useStore.getState().clock),y=f(p),m=p.getHours()+p.getMinutes()/60,w=(0,s.addDays)(y,-(0,s.weekdayOf)(y)),A=[],k=[];for(const[t,[e,n,i]]of Object.entries(l))if(o.ROSTER.some(e=>e.id===t))for(let o=-7;o<14;o++){const d=(0,s.addDays)(w,o),c=(0,s.weekdayOf)(d);i.includes(c)||(A.push({id:`pitch-${t}-${d}`,staffId:t,date:d,day:c,start:e,end:n,published:o<7,breakAt:n-e>=6?e+3.5:void 0}),d<y?k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.1),out:u(d,n+.15),inSite:!0,outSite:!0,breakMins:n-e>=6?30:0,signOff:d<(0,s.addDays)(y,-1)?{by:'Alex',byId:'st-gordon',at:u(d,23.5)}:void 0}):d===y&&e<=m&&k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.05),inSite:!0}))}s.useOwner.setState({shifts:[...S.shifts.filter(t=>!A.some(e=>e.staffId===t.staffId&&e.date===t.date)),...A],attendance:[...S.attendance,...k]});const I=n.useCashUp.getState();for(let t=1;t<=10;t++){const e=(0,s.addDays)(y,-t);if([0,1].includes((0,s.weekdayOf)(e)))continue;if(I.cashUps.some(t=>t.rid===c&&t.date===e))continue;const n=1450+373*t%900,o=210+97*t%240;I.saveCashUp({rid:c,date:e,vals:{card:n,cash:o,float:200,cashTips:38+13*t%40,cardTips:92+29*t%70,overUnder:3===t?-2.5:0,notes:3===t?'Till 2 short \xa32.50, counted twice.':''},photos:[],confirmedBy:t%2?'Alex':'Priya',confirmedAt:u(e,23.25),readBy:null})}for(let t=1;t<=3;t++){const e=(0,s.addDays)(w,-7*t);if(I.sales.some(t=>t.rid===c&&t.weekStart===e))continue;const n=11800+640*t;I.saveSales({rid:c,weekStart:e,vals:{gross:n,net:Math.round(n/1.2),vat:Math.round(n-n/1.2),covers:610+22*t,discounts:140,refunds:35},categories:[{name:'Food',amount:Math.round(.62*n)},{name:'Drinks',amount:Math.round(.31*n)},{name:'Takeaway',amount:Math.round(.07*n)}],photos:[],confirmedBy:'Alex',confirmedAt:u((0,s.addDays)(e,7),11),readBy:null})}};var t=r(_d[0]),e=r(_d[1]),s=r(_d[2]),n=r(_d[3]),o=r(_d[4]),i=r(_d[5]),d=r(_d[6]);const c='anchorage',f=t=>`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,'0')}-${String(t.getDate()).padStart(2,'0')}`,u=(t,e)=>{const[s,n,o]=t.split('-').map(Number);return new Date(s,n-1,o,Math.floor(e),Math.round(e%1*60)).toISOString()},l={'st-gordon':[11,21,[0,1]],'st-bisto':[10,20.5,[0,1]],'st-agate':[16,22.5,[0,1,2]],'st-lenny':[11,19,[0,1,3]],'st-finn':[17,23,[0,1,4]],'st-eilidh':[12,18,[0,1,2]],'st-emily':[17,22,[0,1,3]],'st-lillie':[12,20,[0,1,5]],'st-jack':[16,22,[0,1,6]]}},1049,[813,855,841,1055,8,844,800]);
|
| 37 |
+
__d(function(e,o,s,p,t,a,i){"use strict";t.exports="/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf"},1050,[]);
|
| 38 |
+
__d(function(e,o,s,c,p,t,i){"use strict";p.exports="/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf"},1051,[]);
|
| 39 |
+
__d(function(o,e,s,p,t,i,d){"use strict";t.exports="/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf"},1052,[]);
|
| 40 |
+
__d(function(o,s,e,p,t,d,c){"use strict";t.exports="/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf"},1053,[]);
|
kirkmichael/customer-app/_expo/static/js/web/basket-77142a2b1b5a42fddc5d87c09136a040.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,_r,_i,_a,_m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return f}});var l=_r(d[0]),t=_r(d[1]),n=_r(d[2]),s=e(n),o=_r(d[3]),a=_r(d[4]),r=e(_r(d[5])),i=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),m=_r(d[10]),b=_r(d[11]),y=_r(d[12]),j=_r(d[13]),x=_r(d[14]),p=_r(d[15]),k=_r(d[16]);function f(){const e=(0,y.useBasket)(),f=(0,y.useRestaurant)(e.restaurantId??void 0),v=(0,y.useAllMenu)(e.restaurantId??void 0),w=(0,y.useCustomer)(),C=(0,y.useOrders)(f?.id),S=(0,y.useStore)(e=>e.setLineQty),B=(0,y.useStore)(e=>e.overrideLine),T=(0,y.useStore)(e=>e.startBasket),P=(0,y.useNow)(15e3),[$,O]=(0,n.useState)(null),[I,M]=(0,n.useState)(!1),[N,F]=(0,n.useState)(''),[L]=(0,n.useState)(()=>(0,a.startForm)()),[R,z]=(0,n.useState)(''),[A,D]=(0,n.useState)(w.phone??''),[E,_]=(0,n.useState)(w.email??''),[Y,q]=(0,n.useState)(!1),H=(0,y.useOrderAtTable)(e.restaurantId??void 0);s.default.useEffect(()=>{H||'table'!==e.mode||y.useStore.setState(e=>({basket:{...e.basket,mode:'takeaway',tableNo:void 0}}))},[H,e.mode]);const[G,K]=(0,n.useState)(null),[Q,W]=(0,n.useState)(!1),J=(0,n.useMemo)(()=>(0,j.linesFromBasket)(e,v,w.allergies),[e,v,w.allergies]);if(!f||!e.lines.length)return(0,k.jsxs)(u.Screen,{title:"Your basket",children:[(0,k.jsx)(u.Muted,{children:"Your basket is empty."}),(0,k.jsx)(u.Button,{label:"Browse restaurants",onPress:()=>t.router.replace('/customer')})]});const U=H&&'table'===e.mode,V=(0,m.takeawaySlots)(f,C,P),X=J.reduce((e,l)=>e+l.unitPrice*l.qty,0),Z=J.some(e=>e.contains.length&&!e.overridden),ee=e.lines.filter(e=>{const l=v.find(l=>l.id===e.itemId);return!l||l.soldOut||!l.signOff}),le=!U&&!$,te=!U&&f.settings.takeawayPaused,ne=(0,p.ukPhone)(A),se=!Z&&!ee.length&&I&&!le&&!te&&(U||ne.ok&&(0,p.emailOk)(E)),oe=async e=>{const l=await y.repo.orders.placeFromBasket({slotTime:U?void 0:$,tip:0,giftCardCode:e?.giftCardCode,notes:N,paidNow:!U,phone:U?void 0:ne.pretty,email:U?void 0:E.trim()||void 0});(0,a.rememberGuard)(l.id,(0,a.guardFor)({...L,hp:R})),q(!1),t.router.replace(`/customer/order/${l.id}`)},ae=e.lines.find(e=>e.key===G),re=ae?J[e.lines.indexOf(ae)]:void 0;return(0,k.jsxs)(u.Screen,{title:"Your basket",subtitle:`${f.name} \xb7 ${U?`${(0,l.tableNumbers)(e.tableNo)} (order at table)`:'Takeaway \u2014 collection'}`,footer:(0,k.jsxs)(r.default,{style:{gap:8},children:[(0,k.jsxs)(u.Row,{style:{justifyContent:'space-between'},children:[(0,k.jsx)(u.T,{weight:"semibold",children:"Subtotal"}),(0,k.jsx)(u.T,{weight:"bold",size:20,colour:x.colours.gold,children:(0,h.gbp)(X)})]}),Z?(0,k.jsx)(u.T,{size:14,colour:x.colours.red,children:"Resolve the blocked allergy item(s) before continuing."}):I?le&&!te?(0,k.jsx)(u.T,{size:14,colour:x.colours.amber,children:"Choose a collection time."}):null:(0,k.jsx)(u.T,{size:14,colour:x.colours.amber,children:"Confirm your allergies to continue."}),U?(0,k.jsx)(u.Button,{label:"Send order to the kitchen",disabled:!se,onPress:()=>oe(),testID:"send-table-order"}):(0,k.jsx)(u.Button,{label:`Continue to payment \xb7 ${(0,h.gbp)(X)}`,disabled:!se,onPress:()=>q(!0),testID:"checkout"})]}),children:[(U||e.tableNo,null),U?(0,k.jsx)(u.Banner,{kind:"success",title:`${(0,l.tableNumbers)(e.tableNo)}`,children:"Ordered food goes to the kitchen straight away; you pay at the end (split the bill if you like)."}):null,f.fictional?null:(0,k.jsx)(u.ExampleAllergenNotice,{}),J.map((l,t)=>{const n=e.lines[t],s=l.contains.length&&!l.overridden;return(0,k.jsxs)(u.Card,{highlight:l.contains.length?x.colours.red:l.may.length?x.colours.amber:void 0,children:[(0,k.jsxs)(u.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,k.jsxs)(r.default,{style:{flex:1,paddingRight:8},children:[(0,k.jsx)(u.T,{weight:"semibold",children:l.name}),l.choices.length?(0,k.jsx)(u.Muted,{children:l.choices.join(' \xb7 ')}):null,l.notes?(0,k.jsxs)(u.Muted,{children:["Note: ",l.notes]}):null]}),(0,k.jsx)(u.T,{weight:"semibold",children:(0,h.gbp)(l.unitPrice*l.qty)})]}),s?(0,k.jsxs)(u.Banner,{kind:"danger",title:`BLOCKED \u2014 contains ${l.contains.map(c.allergenLabel).join(', ')}`,children:[(0,k.jsx)(u.T,{size:14,colour:"#FFE3DF",children:`Conflicts with your declared ${w.allergies.filter(e=>l.contains.includes(e.allergen)).map(e=>`${(0,c.allergenLabel)(e.allergen)} (${(0,c.severityLabel)(e.severity)})`).join(', ')}.`}),(0,k.jsxs)(u.Row,{gap:8,style:{marginTop:6},children:[(0,k.jsx)(u.Button,{small:!0,kind:"secondary",label:"Remove",onPress:()=>S(n.key,0)}),(0,k.jsx)(u.Button,{small:!0,kind:"danger",label:"Override\u2026",onPress:()=>{W(!1),K(n.key)}})]})]}):l.contains.length?(0,k.jsx)(u.Banner,{kind:"danger",title:`Allergy override recorded \u2014 contains ${l.contains.map(c.allergenLabel).join(', ')}`,children:"The kitchen will get an allergy alert that must be acknowledged, and staff will check with you at handover."}):null,l.may.length?(0,k.jsx)(u.Banner,{kind:"warn",title:`May contain ${l.may.map(c.allergenLabel).join(', ')}`,children:"Cross-contact risk (e.g. shared fryer). Please check with staff."}):null,ee.includes(n)?(0,k.jsx)(u.Badge,{kind:"amber",label:"No longer available online \u2014 please remove"}):null,(0,k.jsxs)(u.Row,{style:{justifyContent:'space-between'},children:[(0,k.jsx)(u.Button,{small:!0,kind:"ghost",label:"Remove",onPress:()=>S(n.key,0)}),(0,k.jsx)(u.Stepper,{value:n.qty,onChange:e=>S(n.key,e),min:1,label:l.name})]})]},n.key)}),(0,k.jsx)(u.Button,{kind:"ghost",label:"Add more items",onPress:()=>t.router.push(`/customer/${f.id}`)}),U?null:(0,k.jsxs)(u.Card,{children:[(0,k.jsxs)(u.H2,{children:["Collection time \u2014 ",(0,b.niceDate)(P)]}),te?(0,k.jsx)(u.Banner,{kind:"warn",title:"Takeaway paused",children:"The restaurant has paused takeaway slots for now. Please try again later or book a table."}):0===V.length?(0,k.jsx)(u.Banner,{kind:"warn",children:"No collection slots left today."}):(0,k.jsxs)(k.Fragment,{children:[(0,k.jsxs)(u.Muted,{children:["15-minute slots, max ",f.settings.slotCap," orders each so the kitchen isn\u2019t overloaded."]}),(0,k.jsx)(u.Row,{wrap:!0,gap:6,children:V.slice(0,16).map(e=>(0,k.jsx)(u.Chip,{label:e.label,sub:e.full?'Full':e.cap-e.taken+" left",disabled:e.full,selected:$===e.time.toISOString(),onPress:()=>O(e.time.toISOString())},e.label))})]})]}),(0,k.jsxs)(u.Card,{highlight:I?void 0:x.colours.amber,children:[(0,k.jsx)(u.H2,{children:"Confirm allergies for this order"}),(0,k.jsx)(u.Row,{wrap:!0,gap:6,children:w.allergies.length?w.allergies.map(e=>(0,k.jsx)(u.Badge,{kind:"red",label:`${(0,c.allergenLabel)(e.allergen)} \u2014 ${(0,c.severityLabel)(e.severity)}`},e.allergen)):(0,k.jsx)(u.Muted,{children:"No allergies declared on your profile."})}),(0,k.jsx)(u.Toggle,{label:w.allergies.length?'Yes, these are correct for everyone this order is for':'I confirm no one in this order has a food allergy',value:I,onChange:M}),(0,k.jsx)(u.Button,{small:!0,kind:"ghost",label:"Edit allergies in profile",onPress:()=>t.router.push('/customer/profile')})]}),U?null:(0,k.jsxs)(u.Card,{children:[(0,k.jsx)(u.H2,{children:"Your details"}),(0,k.jsx)(u.Field,{testID:"order-phone",label:"Mobile number (needed for collection)",value:A,onChangeText:D,keyboardType:"phone-pad",autoComplete:"tel",placeholder:"e.g. 07700 900123"}),!ne.ok&&A?(0,k.jsx)(u.T,{size:13,colour:x.colours.amber,children:ne.error}):null,(0,k.jsx)(u.Field,{label:"Email (optional)",value:E,onChangeText:_,keyboardType:"email-address",autoCapitalize:"none",placeholder:"you@example.com"}),(0,p.emailOk)(E)?null:(0,k.jsx)(u.T,{size:13,colour:x.colours.amber,children:"That email doesn\u2019t look quite right. Check it, or leave it blank."}),(0,k.jsx)(u.Muted,{children:"We\u2019ll text your order confirmation and collection time. Preview mode: nothing is sent in this pilot."})]}),(0,k.jsx)(u.Field,{label:"Order notes (optional)",value:N,onChangeText:F,placeholder:"e.g. cutlery please"}),U?(0,k.jsx)(u.Button,{small:!0,kind:"ghost",label:"Switch to takeaway instead",onPress:()=>T(f.id,'takeaway')}):null,(0,k.jsx)(i.MockPay,{visible:Y,onClose:()=>q(!1),amount:X,restaurantId:f.id,onPaid:e=>oe({giftCardCode:e.giftCardCode}),title:"Pay for your takeaway"}),(0,k.jsxs)(u.Sheet,{visible:!!ae,onClose:()=>K(null),title:"Allergy override",children:[re?(0,k.jsx)(u.Banner,{kind:"danger",title:`${re.name} contains ${re.contains.map(c.allergenLabel).join(', ')}`,children:"Only continue if this item is for someone without this allergy, or you have spoken to staff."}):null,(0,k.jsx)(u.Toggle,{label:"I understand and want to add it anyway",value:Q,onChange:W}),(0,k.jsx)(u.Button,{kind:"danger",disabled:!Q,label:"Confirm override",onPress:()=>{ae&&re&&B(ae.key,re.contains),K(null)}})]}),(0,k.jsx)(o.Honeypot,{value:R,onChange:z})]})}},783,[802,798,24,804,805,121,828,807,808,810,811,812,813,855,815,817,18]);
|
kirkmichael/customer-app/_expo/static/js/web/index-4b7fababe163219a4bd744f21e7a41c5.js
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
kirkmichael/customer-app/_expo/static/js/web/index-877ce61722b54b9db172fcdb6bb298c2.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
__d(function(g,_r,_i,a,_m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return N}});var l=e(_r(_d[0])),t=e(_r(_d[1])),s=_r(_d[2]),n=_r(_d[3]),r=_r(_d[4]),o=_r(_d[5]),i=_r(_d[6]),d=e(i);_r(_d[7]);var u=e(_r(_d[8])),c=e(_r(_d[9])),b=_r(_d[10]),h=_r(_d[11]),p=_r(_d[12]),f=_r(_d[13]),m=_r(_d[14]),y=_r(_d[15]),x=_r(_d[16]),j=_r(_d[17]),k=_r(_d[18]),w=_r(_d[19]),S=_r(_d[20]),T=_r(_d[21]),O=_r(_d[22]),A=_r(_d[23]),P=_r(_d[24]),R=_r(_d[25]),C=_r(_d[26]),B=_r(_d[27]);const I=['book','takeaway'].includes(P.START_GO??'')?P.START_GO:null;let $=!1,v=!1,M=!1;const _=[{id:'main',label:'Main menu'},{id:'specials',label:'Specials'},{id:'takeaway',label:'Takeaway'}];function N(){return s.IS_WILDINGS?(0,B.jsx)(t.default,{}):s.IS_KIRKMICHAEL?(0,B.jsx)(l.default,{}):s.IS_SOUTERS?(0,B.jsx)(n.SoutersCustomerHome,{}):(0,B.jsx)(L,{})}function L(){const{rid:e}=(0,o.useLocalSearchParams)(),l=(0,x.useRestaurant)(e),t=(0,x.useMenu)(e),s=(0,x.useCustomer)(),n=(0,x.useBasket)(),N=(0,x.useStore)(e=>e.startBasket),L=(0,x.useNow)(3e4),[E,H]=(0,i.useState)('All'),[D,W]=(0,i.useState)(null),[K,G]=(0,i.useState)(!1),[F,Y]=(0,i.useState)(!1),[z,Q]=(0,i.useState)('takeaway'===I?'takeaway':'main');d.default.useEffect(()=>{I&&!$&&($=!0,'book'===I?setTimeout(()=>o.router.push(`/customer/${e}/book`),0):setTimeout(()=>{try{document.querySelector('[data-testid="menu-tabs"]')?.scrollIntoView({block:'start'})}catch{}},400))},[e]);const V=(0,O.useSpecials)(l=>l.current[e]??null),q=!!V&&(0,A.isToday)(V.postedAt,L),U=(0,S.useOwner)(e=>e.offers.filter(e=>e.live).length),J=(0,x.useStore)(l=>l.stampCards.find(t=>t.restaurantId===e&&t.customerId===l.customer.id)),X=(0,R.useLiveTile)(e),Z=(0,C.guestServer)();d.default.useEffect(()=>{P.START_TABLE_TOKEN&&!M&&(M=!0,setTimeout(()=>o.router.push(`/table/live/${P.START_TABLE_TOKEN}`),0))},[e]),d.default.useEffect(()=>{P.START_LOYALTY_CODE&&!v&&(v=!0,setTimeout(()=>o.router.push(`/customer/${e}/loyalty`),0))},[e]);const ee=(0,x.useOrderAtTable)(e);if(d.default.useEffect(()=>{ee||n.restaurantId!==e||'table'!==n.mode||x.useStore.setState(e=>({basket:{...e.basket,mode:'takeaway',tableNo:void 0}}))},[ee,n.mode,n.restaurantId,e]),!l)return(0,B.jsx)(p.Screen,{title:"Not found",children:(0,B.jsx)(p.T,{children:"Restaurant not found."})});const le=ee&&n.restaurantId===l.id&&'table'===n.mode,te=l.sections.length?l.sections:Array.from(new Set(t.map(e=>e.section))),se=e=>!(e.soldOut||!e.signOff||null===e.price),ae=t.filter(e=>('All'===E||e.section===E)&&('takeaway'!==z||se(e))),ne=(0,y.hoursFor)(l,L),re=e=>()=>o.router.push(`/customer/${l.id}${e}`),oe=[{icon:'box',label:'Takeaway',sub:'Order to collect',on:()=>{H('All'),Q('takeaway'),le&&N(l.id,'takeaway')}},...ee?[{icon:'phone',label:'Order at table',sub:'Scan the QR',on:()=>Y(!0)}]:[],{icon:'calendarPlus',label:'Book a table',on:re('/book')},{icon:'clock',label:'Waitlist',sub:'Walk in',on:re('/waitlist')},{icon:'star',label:'Stamp card',sub:Z?X.stamps:`${J?.stamps??0} of ${l.settings.stampTarget}`,on:re('/loyalty')},{icon:'userPlus',label:'Bring a friend',on:re('/refer')},{icon:'gift',label:'Gift cards',on:re('/gift')},{icon:'alert',label:'My allergens',sub:s.allergies.length?`${s.allergies.length} declared`:'None declared',on:()=>o.router.push('/customer/profile')},{icon:'tag',label:'Offers',sub:Z?void 0:s.marketingOptIn[l.id]?'Opted in':'Opt in',on:re('/offers'),badge:(Z?X.offers:U)?String(Z?X.offers:U):void 0},{icon:'sparkle',label:"What's on",on:re('/whatson')},{icon:'chat',label:'Feedback',sub:'Private',on:re('/feedback')},{icon:'hanger',label:'Lost property',on:re('/lost')},{icon:'bag',label:'Shop',sub:'Merch',on:re('/merch')}];return(0,B.jsxs)(p.Screen,{title:l.name,subtitle:`${l.location}${l.phone?` \xb7 ${l.phone}`:''}`,back:'customer'!==w.APP_VARIANT,right:(0,B.jsxs)(p.Row,{children:[(0,B.jsx)(h.BasketButton,{}),(0,B.jsx)(p.Button,{small:!0,kind:"ghost",label:"Account",onPress:()=>o.router.push('/customer/profile')})]}),children:[l.fictional?(0,B.jsx)(p.Banner,{kind:"warn",title:"Fictional demo restaurant",children:"Shown only to demonstrate multi-restaurant support."}):null,le?(0,B.jsx)(p.Banner,{kind:"success",title:`Ordering at ${(0,r.tableNumbers)(n.tableNo)}`,children:"Your order goes straight to the kitchen. Pay and split the bill from your order page. A member of staff is always available \u2014 tap \u201cCall staff\u201d any time."}):(0,B.jsx)(p.Card,{children:(0,B.jsxs)(p.Row,{style:{justifyContent:'space-between'},children:[(0,B.jsxs)(c.default,{style:{flex:1},children:[(0,B.jsx)(p.T,{weight:"semibold",children:"Takeaway \u2014 collection"}),(0,B.jsxs)(p.Muted,{children:[ne?`Kitchen today ${(0,y.kitchenHoursOn)(l,L)[0]}\u2013${(0,y.kitchenHoursOn)(l,L)[1]}`:'Kitchen closed today',l.settings.takeawayPaused?' \xb7 slots paused by the restaurant':'']})]}),(0,B.jsx)(p.Badge,{kind:l.settings.takeawayPaused||!ne?'amber':'ok',label:l.settings.takeawayPaused?'Paused':ne?'Taking orders':'Closed'})]})}),l.fictional?(0,B.jsx)(p.Row,{wrap:!0,gap:8,children:oe.slice(2,7).map(e=>(0,B.jsx)(p.Button,{small:!0,kind:"secondary",label:e.label,onPress:e.on},e.label))}):(0,B.jsx)(c.default,{style:{flexDirection:'row',flexWrap:'wrap',gap:8},children:oe.map(e=>(0,B.jsx)(k.HubTile,{icon:e.icon,label:e.label,sub:e.sub,badge:e.badge,onPress:e.on},e.label))}),le?(0,B.jsx)(p.Button,{small:!0,kind:"danger",label:"Call staff",onPress:()=>G(!0)}):null,K?(0,B.jsx)(p.Banner,{kind:"success",children:"We've told the staff on this device. Calling staff: not set up yet."}):null,l.hoursNote?(0,B.jsx)(p.Muted,{children:l.hoursNote}):null,l.fictional?null:(0,B.jsx)(p.ExampleAllergenNotice,{}),(0,B.jsxs)(p.Muted,{children:["Menu dishes and prices from ",l.name,"\u2019s menu. Items marked \u26a0 conflict with your declared allergies."]}),(0,B.jsx)(c.default,{accessibilityRole:"tablist",testID:"menu-tabs",style:{flexDirection:'row',gap:6,backgroundColor:j.colours.surface,borderRadius:14,borderWidth:1,borderColor:j.colours.border,padding:4},children:_.map(e=>{const l=z===e.id;return(0,B.jsxs)(u.default,{testID:`menu-tab-${e.id}`,accessibilityRole:"tab",accessibilityState:{selected:l},"aria-selected":l,accessibilityLabel:'specials'===e.id&&q?'Specials, updated today':e.label,onPress:()=>Q(e.id),style:{flex:1,minHeight:44,borderRadius:10,alignItems:'center',justifyContent:'center',paddingHorizontal:4,backgroundColor:l?j.colours.gold:'transparent'},children:[(0,B.jsx)(p.T,{size:14,weight:"semibold",colour:l?j.colours.onGold:j.colours.text,center:!0,children:e.label}),'specials'===e.id&&q&&!l?(0,B.jsx)(c.default,{style:{position:'absolute',top:6,right:8,width:7,height:7,borderRadius:4,backgroundColor:j.colours.gold}}):null]},e.id)})}),'specials'===z?(0,B.jsx)(T.SpecialsTab,{rid:l.id,declared:s.allergies,now:L}):null,'takeaway'===z?(0,B.jsx)(p.Muted,{children:"Order to collect. Only dishes available to order online are shown; pick a collection slot at checkout."}):null,'specials'!==z?(0,B.jsxs)(p.Row,{wrap:!0,gap:6,children:[(0,B.jsx)(p.Chip,{label:"All",selected:'All'===E,onPress:()=>H('All')}),te.map(e=>(0,B.jsx)(p.Chip,{label:e,selected:E===e,onPress:()=>H(e)},e))]}):null,'specials'!==z?te.filter(e=>('All'===E||e===E)&&ae.some(l=>l.section===e)).map(e=>(0,B.jsxs)(c.default,{style:{gap:10},children:[(0,B.jsx)(p.H2,{style:{color:j.colours.gold,marginTop:6},children:e}),ae.filter(l=>l.section===e).map(e=>{const t=(0,f.conflictsFor)(e.allergens,s.allergies),r=e.soldOut||!e.signOff||null===e.price;return(0,B.jsxs)(p.Card,{highlight:t.contains.length?j.colours.red:t.may.length?j.colours.amber:void 0,children:[(0,B.jsxs)(u.default,{accessibilityRole:"button",onPress:()=>{n.restaurantId&&n.restaurantId===l.id||N(l.id,'takeaway'),o.router.push(`/customer/${l.id}/dish/${e.id}`)},children:[(0,B.jsxs)(p.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,B.jsx)(p.T,{weight:"semibold",style:{flex:1,paddingRight:8},children:e.name}),(0,B.jsx)(p.T,{weight:"semibold",colour:j.colours.gold,children:null===e.price?e.priceNote??'\u2014':(0,m.gbp)(e.price)})]}),(0,B.jsx)(p.Muted,{numberOfLines:2,children:e.description})]}),(0,B.jsxs)(p.Row,{wrap:!0,gap:6,children:[e.dietary.map(e=>(0,B.jsx)(p.Badge,{kind:"ok",label:e},e)),e.special?(0,B.jsx)(p.Badge,{kind:"gold",label:"Special"}):null,e.soldOut?(0,B.jsx)(p.Badge,{kind:"neutral",label:"Sold out"}):null,e.signOff?null:(0,B.jsx)(p.Badge,{kind:"amber",label:"Awaiting allergen sign-off"}),t.contains.length?(0,B.jsx)(p.Badge,{kind:"red",label:"\u26a0 Contains your allergen"}):t.may.length?(0,B.jsx)(p.Badge,{kind:"amber",label:"\u26a0 May contain your allergen"}):null]}),(0,B.jsx)(b.AllergenChips,{map:e.allergens,declared:s.allergies}),D===e.id?(0,B.jsx)(b.AllergenPanel,{item:e,map:e.allergens,declared:s.allergies}):null,(0,B.jsxs)(p.Row,{gap:8,children:[(0,B.jsx)(p.Button,{small:!0,kind:"ghost",label:D===e.id?'Hide allergen panel':'Allergen panel',onPress:()=>W(D===e.id?null:e.id)}),(0,B.jsx)(c.default,{style:{flex:1}}),(0,B.jsx)(p.Button,{small:!0,label:r?e.soldOut?'Sold out':'Not available online':'Choose',disabled:r,onPress:()=>{n.restaurantId&&n.restaurantId===l.id||N(l.id,'takeaway'),o.router.push(`/customer/${l.id}/dish/${e.id}`)}})]})]},e.id)})]},e)):null,(0,B.jsx)(p.Muted,{children:"Drinks list coming soon. Ask your server for today\u2019s drinks."}),(0,B.jsx)(p.Muted,{children:"Card payments: not set up yet. Pay at the till as usual."}),(0,B.jsx)(k.LauncherLine,{}),ee?(0,B.jsxs)(p.Sheet,{visible:F,onClose:()=>Y(!1),title:"Order at your table",children:[(0,B.jsx)(p.Muted,{children:"Scan the QR code on your table with your phone camera, or pick your table number."}),(0,B.jsx)(p.Row,{wrap:!0,gap:6,children:Array.from({length:12},(e,l)=>String(l+1)).map(e=>(0,B.jsx)(p.Button,{small:!0,kind:"secondary",label:`${(0,r.tableNumbers)(e)}`,onPress:()=>{Y(!1),N(l.id,'table',e)}},e))}),(0,B.jsx)(p.Muted,{children:"Orders go straight to the kitchen. Card payments: not set up yet. Pay at the till as usual."})]}):null]})}},775,[831,834,5,839,802,798,24,116,257,121,823,824,807,808,810,809,813,815,840,800,841,837,842,843,844,845,830,18]);
|
| 2 |
+
__d(function(g,r,i,a,_m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return j}});var n=r(d[0]);r(d[1]);var t=e(r(d[2])),s=e(r(d[3])),l=r(d[4]),o=r(d[5]),u=r(d[6]),c=r(d[7]),h=r(d[8]),m=r(d[9]);function j(){const e=c.KIRKMICHAEL_SAMPLE_MENU.menus.find(e=>'main-menu'===e.id);return(0,m.jsxs)(l.Screen,{title:u.KIRKMICHAEL_RESTAURANT.name,back:!1,children:[(0,m.jsx)(o.RestaurantHero,{rid:"kirkmichael",size:180}),(0,m.jsx)(l.T,{center:!0,children:u.KIRKMICHAEL_RESTAURANT.tagline}),(0,m.jsxs)(l.Row,{wrap:!0,children:[(0,m.jsx)(l.Button,{testID:"kirkmichael-book",label:"Book through our website",onPress:()=>{t.default.openURL(u.KIRKMICHAEL_BOOKING_URL)}}),(0,m.jsx)(l.Button,{kind:"secondary",label:"Call 01655 750 200",onPress:()=>{t.default.openURL('tel:01655750200')}})]}),(0,m.jsx)(n.FindPub,{rid:"kirkmichael"}),(0,m.jsxs)(l.Card,{children:[(0,m.jsx)(l.H2,{children:"Opening hours"}),(0,m.jsx)(l.T,{children:"Monday to Wednesday: closed"}),(0,m.jsx)(l.T,{children:"Thursday to Sunday: 13:00\u201322:30"}),(0,m.jsx)(l.Muted,{children:u.KIRKMICHAEL_RESTAURANT.hoursNote}),(0,m.jsx)(l.T,{children:u.KIRKMICHAEL_RESTAURANT.address})]}),(0,m.jsx)(l.Banner,{kind:"warn",title:"Deposit policy \u2014 needs confirmation",children:"No deposit amount or party threshold has been provided. Please confirm directly with the venue when booking."}),(0,m.jsx)(l.Banner,{kind:"warn",title:"Current Sample Menu \u2014 unconfirmed",children:"Reference only, from the venue\u2019s Sample menus collected 5 November 2026. Specials change regularly. Dishes, prices and availability are unconfirmed; ask the venue about every allergy. No allergen information has been signed off."}),(0,m.jsx)(l.Muted,{children:"Bookings are managed by the venue through its own website. Online ordering, takeaway and loyalty are not enabled here."}),e?.categories.map(e=>(0,m.jsxs)(s.default,{style:{gap:10},children:[(0,m.jsx)(l.H2,{children:e.name}),e.items.filter(e=>null!==e.price).map(e=>(0,m.jsxs)(l.Card,{children:[(0,m.jsxs)(l.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,m.jsx)(l.T,{weight:"semibold",style:{flex:1},children:e.name}),(0,m.jsx)(l.T,{children:null===e.price?'Ask the venue':(0,h.gbp)(Math.round(100*e.price))})]}),e.description?(0,m.jsx)(l.Muted,{children:e.description}):null,(0,m.jsx)(l.Muted,{children:"Sample only \xb7 unconfirmed \xb7 allergens: ask the venue"})]},e.name))]},e.name)),(0,m.jsx)(l.Button,{kind:"secondary",label:"View all current menus on our website",onPress:()=>{t.default.openURL('https://www.kirkmichaelarms.co.uk/menus')}})]})}},831,[846,24,233,121,807,847,6,832,810,18]);
|
| 3 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"KIRKMICHAEL_ANSWERS",{enumerable:!0,get:function(){return c}}),Object.defineProperty(_e,"KIRKMICHAEL_SAMPLE_MENU",{enumerable:!0,get:function(){return o}});var t=r(d[0]),n=e(r(d[1])),u=e(r(d[2]));const c=(0,t.cleanQuestionnaire)(n.default,'kirkmichael'),o=u.default},832,[848,849,833]);
|
| 4 |
+
__d(function(e,l,n,i,r,a,p){r.exports={currency:"GBP",source:"Live site https://www.kirkmichaelarms.co.uk/menus (RSC payload), scraped 2026-11-05",note:"Sample menus change with the specials board. Prices shown are as published on the live Sample menus. Older main-menu.php pub classics appear on third-party aggregators but the live /menus page currently shows these Sample menus \u2014 prefer live data; confirm with Justin/Gordon before seeding stock.",conflicts:["Aggregator/search listings still show an older pub main menu (Soup \xa35.25, Beef Lasagne \xa314.95, etc. from main-menu.php which currently 403s). Live /menus Sample menus differ (sharing plates + specials board). Marked as conflict \u2014 do not merge silently."],menus:[{id:"main-menu",name:"Sample Menu",setPrice:null,setPriceNote:null,categories:[{name:"Starters and sharing",items:[{name:"Khun Mai's Canteen Grilled Aubergine",description:null,price:8.95,priceType:"single",allergens:null},{name:"Langoustine \"Prawn Toast\"",description:null,price:11.5,priceType:"single",allergens:null},{name:"Loch Ryan Venison Empinadas",description:null,price:10.95,priceType:"single",allergens:null},{name:"BBQ Scotch Pork Neck-Moo Ping",description:null,price:14.95,priceType:"single",allergens:null},{name:"Scallop-Slow Roasted Pork Belly",description:null,price:16,priceType:"single",allergens:null},{name:"Gnocchi-Confit Sweetbread Ragu-Truffle-Mushrooms",description:null,price:14.95,priceType:"single",allergens:null}]},{name:"Main Courses on the specials board",items:[{name:"Slow Roasted Apple Orchard Tamworth Pork Belly",description:"Truffle Mash-Roasted Carrot-Spring Cabbage-Apple Puree",price:28,priceType:"single",allergens:null},{name:"Char Roasted Lamb Neck Fillet",description:"Autumn Cabbage, Boiled Potatoes, Roast Carrot, Red Wine Jus",price:38,priceType:"single",allergens:null},{name:"Fire Roasted Lochryan Venison Loin",description:"Celeriac Parsley Puree-Wild Leeks-Potato Terrine-Juniper Jus",price:39,priceType:"single",allergens:null},{name:"Butter Poached Lemon Sole Fillet",description:"Langoustines Tails-Pernod Chive Nage-Paris Mash-Truffle",price:38,priceType:"single",allergens:null},{name:"Grilled Tranche of Turbot",description:"Lemon Scented Monk's Beard-Pink Fir Apple Potatoes-Bearnaise",price:44,priceType:"single",allergens:null}]},{name:"Sample Specials Board",items:[{name:"Sample Specials Board",description:null,price:null,priceType:"single",allergens:null}]}]},{id:"menu-lunch",name:"Sample Lunch Menu",setPrice:null,setPriceNote:null,categories:[{name:"Starters and sharing",items:[{name:"Khun Mai's Canteen Grilled Aubergine",description:null,price:8.95,priceType:"single",allergens:null},{name:"Langoustine \"Prawn Toast\"",description:null,price:11.5,priceType:"single",allergens:null},{name:"Loch Ryan Venison Empinadas",description:null,price:10.95,priceType:"single",allergens:null},{name:"BBQ Scotch Pork Neck-Moo Ping",description:null,price:14.95,priceType:"single",allergens:null},{name:"Scallop-Slow Roasted Pork Belly",description:null,price:16,priceType:"single",allergens:null},{name:"Gnocchi-Confit Sweetbread Ragu-Truffle-Mushrooms",description:null,price:14.95,priceType:"single",allergens:null}]},{name:"Mains",items:[{name:"Choose a Main Course From Our Specials Board",description:"Specials change daily/weekly",price:null,priceType:"single",allergens:null},{name:"Sample Specials Board",description:"Changes Daily/Weekly",price:null,priceType:"single",allergens:null}]},{name:"Girvan Mains Dry Aged Steaks",items:[{name:"A large selection of cuts and sizes daily",description:null,price:null,priceType:"single",allergens:null},{name:"Sample Specials",description:null,price:null,priceType:"single",allergens:null}]},{name:"Sides",items:[{name:"Triple Cooked Hand Cut Chips",description:null,price:6,priceType:"single",allergens:null}]}]},{id:"menu-bar-food",name:"Sample Sunday Lunch Menu",setPrice:null,setPriceNote:null,categories:[{name:"Starters and sharing",items:[{name:"Khun Mai's Canteen Grilled Aubergine",description:null,price:8.95,priceType:"single",allergens:null},{name:"Langoustine \"Prawn Toast\"",description:null,price:11.5,priceType:"single",allergens:null},{name:"Loch Ryan Venison Empinadas",description:null,price:10.95,priceType:"single",allergens:null},{name:"BBQ Scotch Pork Neck-Moo Ping",description:null,price:14.95,priceType:"single",allergens:null},{name:"Scallop-Slow Roasted Pork Belly",description:null,price:16,priceType:"single",allergens:null},{name:"Gnocchi-Confit Sweetbread Ragu-Truffle-Mushrooms",description:null,price:14.95,priceType:"single",allergens:null}]},{name:"Main Courses from the specials board",items:[{name:"Maple Glazed Bacon Loin",description:null,price:25,priceType:"single",allergens:null},{name:"Roasted Sirloin of Scotch Beef",description:"Beef Fat Roast Potatoes-Yorkshire Pudding-Spring Cabbage-Carrot-Peppercorn Sauce",price:25,priceType:"single",allergens:null},{name:"Lemon and Thyme Corn Fed Chicken",description:null,price:25,priceType:"single",allergens:null},{name:"Carvery Plate",description:"Beef, Bacon Loin, Corn Fed Chicken",price:31,priceType:"single",allergens:null},{name:"Fire Roasted Lochryan Venison Loin",description:"Celeriac Parsley Puree-Wild Leeks-Potato Terrine-Juniper Jus",price:39,priceType:"single",allergens:null},{name:"Butter Poached Lemon Sole Fillet",description:"Langoustines Tails-Pernod Chive Nage-Paris Mash-Truffle",price:38,priceType:"single",allergens:null},{name:"Grilled Tranche of Turbot",description:"Lemon Scented Monk's Beard-Pink Fir Apple Potatoes-Bearnaise",price:44,priceType:"single",allergens:null},{name:"Sample Specials",description:null,price:null,priceType:"single",allergens:null}]}]},{id:"menu-kids",name:"Sample Kids' Menu",setPrice:14.95,setPriceNote:"3 courses \u2014 \xa314.95",categories:[{name:"Starters",items:[{name:"Garlic Bread",description:null,price:null,priceType:"single",allergens:null},{name:"Cheesy Garlic Bread",description:null,price:null,priceType:null,allergens:null},{name:"Soup",description:null,price:null,priceType:null,allergens:null}]},{name:"Mains",items:[{name:"Hamburger",description:"Scotch beef burger with brioche bun, lettuce, tomato & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Cheese Burger",description:"Scotch beef burger with cheddar cheese, brioche bun, lettuce, tomato & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Chicken Goujons",description:"Crisp fried chicken strips with tortilla wraps, grated cheddar & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Fish 'n Chips",description:"Battered haddock, lemon, tartare sauce & french fries or steamed vegetables",price:null,priceType:null,allergens:null},{name:"Mac 'n Cheese",description:"Creamy Macaroni with cheddar cheese sauce",price:null,priceType:null,allergens:null}]},{name:"Desserts",items:[{name:"Strawberry Ice Cream",description:null,price:null,priceType:null,allergens:null},{name:"Chocolate Ice Cream",description:null,price:null,priceType:null,allergens:null},{name:"Vanilla Ice Cream",description:null,price:null,priceType:null,allergens:null},{name:"Sticky Toffee Pudding",description:null,price:null,priceType:null,allergens:null}]}]},{id:"menu-whisky",name:"Sample Whisky Menu",setPrice:null,setPriceNote:null,categories:[{name:"Blended Whisky",items:[{name:"Whyte & Macay",description:null,price:null,priceType:"multiple",allergens:null},{name:"Johnnie Walker Black Label",description:null,price:null,priceType:"multiple",allergens:null},{name:"Canadian Club",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Bourbon & Whiskey Liqueurs",items:[{name:"Jack Daniel's Tennessee",description:null,price:null,priceType:"multiple",allergens:null},{name:"Southern Comfort",description:null,price:null,priceType:"multiple",allergens:null},{name:"Maker's Mark Classic",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bulleit",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bulleit Rye",description:null,price:null,priceType:"multiple",allergens:null},{name:"Jim Beam White Label",description:null,price:null,priceType:"multiple",allergens:null},{name:"Woodford Reserve",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Irish Whiskey",items:[{name:"Jameson",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Japanese Whisky",items:[{name:"Hibiki Harmony Masters Masters Select",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Single Malt - Speyside",items:[{name:"Glenfiddich 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Glenrothes 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Macallan 12 Year Old Double Cask",description:null,price:null,priceType:"multiple",allergens:null},{name:"Benrinnes Flora & Fauna 15",description:null,price:null,priceType:"multiple",allergens:null},{name:"Benrinnes 1997 Maltman 18 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Balvenie 18 Year Old Pedro Ximenez",description:null,price:null,priceType:"multiple",allergens:null},{name:"Macallan 18 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Aberlour Abunadh Cask Strength",description:null,price:null,priceType:"multiple",allergens:null},{name:"Mortlach 16yo",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Single Malt - Highland",items:[{name:"Dalmore 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Oban 14 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Glencadam 10",description:null,price:7,priceType:"single",allergens:null},{name:"Tomatin Legacy",description:null,price:6.75,priceType:"single",allergens:null},{name:"Tomatin 14",description:null,price:8,priceType:"single",allergens:null},{name:"Glendronach 15",description:null,price:9,priceType:"single",allergens:null},{name:"Glenfarclas 21",description:null,price:18.5,priceType:"single",allergens:null},{name:"Glendronach Sherry Cask 18",description:null,price:22.5,priceType:"single",allergens:null}]},{name:"Single Malt - Islay",items:[{name:"Bowmore 15 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lagavulin 16 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Caol Ila 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Caol Ila Moch",description:null,price:null,priceType:"multiple",allergens:null},{name:"Ardbeg 10",description:null,price:5.75,priceType:"single",allergens:null}]},{name:"Single Malt - Islands",items:[{name:"Highland Park 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Talisker 10 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Arran 10 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Arran Port Cask Finish",description:null,price:null,priceType:"multiple",allergens:null},{name:"Machrie Moor Cask Strength",description:null,price:null,priceType:"multiple",allergens:null},{name:"Arran Amarone Cask",description:null,price:7.25,priceType:"single",allergens:null},{name:"Hearach Oloroso, Harris",description:null,price:9,priceType:"single",allergens:null},{name:"Ledaig 1974, Mull",description:null,price:22.5,priceType:"single",allergens:null}]},{name:"Single Malt - Lowlands",items:[{name:"Auchentoshan Three Wood",description:null,price:null,priceType:"multiple",allergens:null},{name:"Ailsa Bay",description:null,price:null,priceType:"multiple",allergens:null},{name:"Glenkinchie 12 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Our Barley\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Fallow Edition\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Ploughing Edition\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"5\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Lochlea \"Cask Strength 2nd Edition\"",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bladnoch Spirit Drink",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bladnoch Vinaya",description:null,price:null,priceType:"multiple",allergens:null},{name:"Bladnoch 22 Year Old Vintage Release",description:null,price:null,priceType:"multiple",allergens:null}]},{name:"Single Malt - Campbeltown",items:[{name:"Springbank 15 Year Old",description:null,price:null,priceType:"multiple",allergens:null},{name:"Springbank 18 Year Old",description:null,price:null,priceType:"multiple",allergens:null}]}]},{id:"menu-wine",name:"Sample Wine Menu",setPrice:null,setPriceNote:null,categories:[{name:"Champagne/Sparkling",items:[{name:"Greyfriars Cuvee Brut",description:"England",price:null,priceType:"multiple",allergens:null},{name:"Greyfriars Rose Reserve",description:"England",price:null,priceType:"multiple",allergens:null},{name:"Ruinart Blank De Blank",description:null,price:190,priceType:"single",allergens:null}]},{name:"Rose",items:[{name:"Sanziana, Pinot Noir, Rose",description:"Romania",price:null,priceType:"multiple",allergens:null},{name:"Art de Vivre Rose Organic",description:"Clay 'Amphora', France",price:null,priceType:"multiple",allergens:null}]},{name:"Orange",items:[{name:"Orange Gold White Organic",description:"Gerard Bertrand Organic, France",price:68,priceType:"single",allergens:null}]},{name:"White",items:[{name:"Les Lys De Leon - Sauvignon Blanc",description:"Loir, France",price:null,priceType:"multiple",allergens:null},{name:"Fetele Feteasca Regala Recas Cramele",description:"Bannat, Romania",price:null,priceType:"multiple",allergens:null},{name:"Adam Who, Riesling",description:"Eden Valley, Australia",price:null,priceType:"multiple",allergens:null},{name:"Rare Vineyards Marsanne-Viognier",description:"Languedoc France",price:null,priceType:"multiple",allergens:null},{name:"La Bergerie Chardonnay, Francois Carillon",description:"France",price:null,priceType:"multiple",allergens:null},{name:"Art de Vivre Blanc Organic",description:"Clay 'Amphora', France",price:null,priceType:"multiple",allergens:null},{name:"Acrobat Pinot Gris",description:"Oregon, U.S.A",price:null,priceType:"multiple",allergens:null},{name:"Dashwood Sauvignon Blanc",description:"Marlborough New Zealand",price:null,priceType:"multiple",allergens:null},{name:"Sancerre La Graveli\xe8re",description:"Joseph Mellot, France",price:null,priceType:"multiple",allergens:null},{name:"Petaluma Hanlin Hill Riesling",description:"Australia",price:null,priceType:"multiple",allergens:null},{name:"Louis Jadot Puligny Montrachet",description:"France",price:null,priceType:"multiple",allergens:null}]},{name:"Red",items:[{name:"Vinvua Organic Nero d'Avola DOC",description:"Sicilia Italy",price:null,priceType:"multiple",allergens:null},{name:"Les Lys De Leon, Pinot Grigio",description:"France",price:null,priceType:"multiple",allergens:null},{name:"Tres Priors Trepat Merlot",description:"Catalonia, Spain",price:null,priceType:"multiple",allergens:null},{name:"Alma Mora Malbec",description:"San Juan, Argentina",price:null,priceType:"multiple",allergens:null},{name:"Drifting Old Vine Zinfandel Lodi",description:"California, U.S.A",price:null,priceType:"multiple",allergens:null},{name:"Ch\xe2teau Caz\xe9au Maret Organic",description:"Bordeaux, France",price:null,priceType:"multiple",allergens:null},{name:"Inzuzo Red Blend",description:"Western Cape South Africa",price:null,priceType:"multiple",allergens:null},{name:"Art de Vivre LangueDOC Organic",description:"Clay 'Amphora', France",price:null,priceType:"multiple",allergens:null},{name:"Journeys End V4 Cabernet Sauvignon",description:"South Africa",price:null,priceType:"multiple",allergens:null},{name:"Mucchietto Primitivo",description:"Puglia, Italy",price:null,priceType:"multiple",allergens:null},{name:"Yalumba The Cigar Cabernet Sauvignon",description:null,price:null,priceType:"multiple",allergens:null},{name:"Black Angus Cabernet Sauvignon",description:"Australia",price:null,priceType:"multiple",allergens:null},{name:"Ch\xe2teauneuf du Pape 'Le Mioc\xe8ne'",description:"France",price:null,priceType:"multiple",allergens:null},{name:"Catena Zapata Malbec Argentino",description:null,price:null,priceType:"multiple",allergens:null},{name:"Amarone della Valpolicella Classico Reserva",description:"Italy",price:null,priceType:"multiple",allergens:null},{name:"Psi Bodegas Ribera Del Duero",description:"Spain",price:106,priceType:"single",allergens:null},{name:"Brunelo Di Mortlachino Ridolfi",description:"Italy",price:160,priceType:"single",allergens:null},{name:"Flor De Pingus, Domain De Pingus",description:"Spain",price:295,priceType:"single",allergens:null}]}]}],confirmed:!1,needsConfirmation:!0}},833,[]);
|
| 5 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return j}}),r(d[0]);var n=e(r(d[1])),s=e(r(d[2])),t=r(d[3]),l=r(d[4]),o=r(d[5]),c=r(d[6]),u=r(d[7]),h=r(d[8]);function j(){return(0,h.jsxs)(t.Screen,{title:o.WILDINGS_RESTAURANT.name,back:!1,children:[(0,h.jsx)(l.RestaurantHero,{rid:"wildings",size:240}),(0,h.jsx)(t.T,{center:!0,children:o.WILDINGS_RESTAURANT.tagline}),(0,h.jsxs)(t.Row,{wrap:!0,children:[(0,h.jsx)(t.Button,{testID:"wildings-book-phone",label:"Call 01655 331 401",onPress:()=>{n.default.openURL(o.WILDINGS_BOOKING_PHONE)}}),(0,h.jsx)(t.Button,{testID:"wildings-book-email",kind:"secondary",label:"Email to book",onPress:()=>{n.default.openURL(o.WILDINGS_BOOKING_EMAIL)}})]}),(0,h.jsxs)(t.Card,{children:[(0,h.jsx)(t.H2,{children:"Kitchen hours"}),(0,h.jsx)(t.T,{children:"Lunch Monday to Saturday: 12:00\u201314:00"}),(0,h.jsx)(t.T,{children:"Sunday lunch: 12:00\u201314:30"}),(0,h.jsx)(t.T,{children:"Dinner every day: 18:00\u201321:00"}),(0,h.jsx)(t.Muted,{children:"Closed between lunch and dinner. Bar hours to confirm."}),(0,h.jsx)(t.T,{children:o.WILDINGS_RESTAURANT.address})]}),(0,h.jsx)(t.Banner,{kind:"warn",title:"Deposit policy \u2014 needs confirmation",children:"Deposits are off until the venue confirms its policy. Book directly by phone or email."}),(0,h.jsx)(t.Banner,{kind:"warn",title:"Menus \u2014 unconfirmed",children:"Reference only, from the venue\u2019s published menus collected 5 November 2026. Menus, prices and availability need confirmation. Ask the venue about every allergy: no allergen information is signed off."}),(0,h.jsx)(t.Muted,{children:"Bookings are by phone and email. Online ordering, takeaway and loyalty are not enabled here."}),c.WILDINGS_REFERENCE_MENU.menus.map(e=>(0,h.jsxs)(s.default,{style:{gap:10},children:[(0,h.jsx)(t.H2,{children:e.name}),e.setPrices?(0,h.jsxs)(t.T,{children:[Object.entries(e.setPrices).map(([e,n])=>`${e}: ${(0,u.gbp)(Math.round(100*Number(n)))}`).join(' \xb7 ')," \xb7 unconfirmed"]}):null,e.categories.map(e=>(0,h.jsxs)(t.Card,{children:[(0,h.jsx)(t.T,{weight:"semibold",children:e.name}),e.items.map(e=>(0,h.jsx)(t.Muted,{children:e.name},e.name)),(0,h.jsx)(t.Muted,{children:"Reference only \xb7 prices and allergens: ask the venue"})]},e.name))]},e.id)),(0,h.jsx)(t.Button,{kind:"secondary",label:"View published menus on our website",onPress:()=>{n.default.openURL('https://www.wildingshotel.com/team')}})]})}},834,[24,233,121,807,847,4,835,810,18]);
|
| 6 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"WILDINGS_ANSWERS",{enumerable:!0,get:function(){return o}}),Object.defineProperty(_e,"WILDINGS_REFERENCE_MENU",{enumerable:!0,get:function(){return c}});var t=r(d[0]),n=e(r(d[1])),u=e(r(d[2]));const o=(0,t.cleanQuestionnaire)(n.default,'wildings'),c=u.default},835,[848,850,836]);
|
| 7 |
+
__d(function(e,n,i,l,r,t,p){r.exports={currency:"GBP",source:"Official PDF menus linked from https://www.wildingshotel.com/team, downloaded 2026-11-05",note:"Lunch and dinner are set-price course menus; dish lines have no individual price, only supplements. Confirm with venue before seeding.",conflicts:["Lunch and vegetarian PDFs say 'Served From 12 Noon \u2013 2:00pm, 7 days'; website says Sunday lunch runs to 2.30pm. Not merged."],menus:[{id:"lunch",name:"Lunch Menu",when:"12 noon to 2pm",setPrices:{"2 courses":24,"3 courses":31},extraServings:3.95,categories:[{name:"Starters",items:[{name:"Smoked Haddock Gratin with Creamed Potatoes",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Pear Poached in Grenadine with Prawns Marie Rose",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chefs Pate with Grape Chutney & Toast",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Leek & Potato Gnocchi Topped with Goats Cheese, a White Wine Cream Sauce & Tomato Concasse",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon Fan with Sorbet & Fruit Coulis",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spiced Chicken Salad with Caesar Dressing & Parmesan",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Mushrooms Baked in a Cream & Cheese Sauce with Toasted Ciabatta",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Smoked Haddock & Salmon Chowder",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Breaded Goats Cheese Served on a Sun-Dried Tomato & Balsamic Salad",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Blackened Salmon, Warm Potato Salad & a Pepper & Mustard Seed Dressing",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chicken Breast Coated in Panko Crumb with a Lightly Spiced Sweet & Sour Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fillet of Pork Topped with Banana Finished with a Creamy Coconut & Mango Curry Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Haddock \u201cMornay\u201d or a Lemon Butter",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chicken \u2018Piri-Piri\u2019 Szechuan Peppers & Spices served with a Yoghurt & Spring Onion Mayonnaise",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Lamb Fillet with a Cracked Black Pepper Cream & Brandy Sauce",description:null,price:null,priceType:"set-menu",supplement:2,dietary:[]},{name:"Pan Fried Fillet of Hake with a Lobster Glaze",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Supreme of Chicken \u2018Suedoise\u2019 White Wine, Swiss Cheese, Cream & Mushrooms",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spicy Chilli with Rice Topped with Onions & Cheese",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Haddock in Breadcrumbs or Tempura served with Tartar Sauce & Lemon",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Lambs Liver & Bacon",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]},{id:"dinner",name:"Dinner Menu",when:"6pm to 9pm, 7 days",setPrices:{"2 courses":27.5,"3 courses":34.5},extraServings:3.95,categories:[{name:"Starters",items:[{name:"Tiger Prawns Tempura with a Sweet Chilli Dip",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Smoked Haddock & Bacon Gratin with Braised Rice",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Leek & Potato Gnocchi Topped with Goats Cheese, a White Wine Cream Sauce & Tomato Concasse",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spiced Chicken Salad with Caesar Dressing & Parmesan",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chefs Pate with Grape Chutney & Toast",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon Fan with Fresh Fruits, Sorbet & Mango Coulis",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Smoked Haddock & Salmon Chowder",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Breaded Goats Cheese Served on a Sun-Dried Tomato & Balsamic Salad",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Pear Poached in Grenadine with Prawns Marie Rose",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Crayfish, Avocado & Melon Cocktail",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Blackened Sea Bass served with Mixed Salad & a Sweet Pepper Vinaigrette",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Roast Rack of Lamb, Minted Peas & Pan Juices",description:null,price:null,priceType:"set-menu",supplement:2.5,dietary:[]},{name:"Roast Breast of Duck with a Pink Peppercorn & Brandy Cream Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Supreme of Chicken \u2018Suedoise\u2019 White Wine, Swiss Cheese, Cream & Mushrooms",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Lambs Liver & Bacon with a Red Wine Jus",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Haddock \u201cMornay\u201d or a Lemon Butter",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Entrecote Steak with Large Onion Rings & a Choice of Sauces",description:"Diane, Pepper or Caf\xe9 de Paris",price:null,priceType:"set-menu",supplement:8,dietary:[]},{name:"Haddock in Breadcrumbs or Tempura served with Tartar Sauce & Lemon",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fillet of Salmon & Chicken with Two Sauces - \u2018Lobster\u2019 & White Wine Cream & Mushroom",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fillet Steak with a Cracked Black Pepper & Cream Sauce",description:null,price:null,priceType:"set-menu",supplement:12,dietary:[]},{name:"Fillet of Pork on a Haggis Cake with a Mustard Grain Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Wildings Chicken Schnitzel Topped with Garlic & Herb Butter",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Spicy Chilli with Rice Topped with Onions & Cheese",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]},{id:"vegetarian",name:"Vegetarian Menu",when:"12 noon to 2pm (per PDF)",setPrices:null,note:"Prices not printed on PDF; GF = gluten free, V = vegan",categories:[{name:"Starters",items:[{name:"Roast Red Pepper & Tomato Soup",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF"]},{name:"Breaded Goats Cheese Served on a Sun-Dried Tomato & Balsamic Salad",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon Fan with Sorbet & Fruit Coulis",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF","V"]},{name:"Mushrooms Baked in a Cream & Cheese Sauce with Toasted Ciabatta",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Leek & Potato Gnocchi Topped with Goats Cheese, a White Wine Cream Sauce & Tomato Concasse",description:"Starter or Main",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Cajun Vegetables Crepe Glazed in a Cream Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Vegan Curried Chickpea with Cherry Tomatoes & Wilted Spinach",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF","V"]},{name:"Vegetable Tempura",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF","V"]},{name:"Mushroom Stroganoff with Rice",description:null,price:null,priceType:"set-menu",supplement:null,dietary:["GF"]},{name:"Sundried Tomato, Feta & Olive Tartlet, Finished with a Tomato Concasse & a Basil Dressing",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]},{id:"sweets",name:"Sweet Menu",setPrices:null,note:"Desserts form the third course of the set menus. Cheese is a \xa33.00 supplement.",categories:[{name:"Desserts",items:[{name:"Trio of Homemade Ice Creams",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Cr\xe8me Caramel with Passion Fruit Ice Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Vanilla Cheesecake with Strawberry Coulis & Fresh Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Sticky Toffee Pudding",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"\u2018Affogato\u2019",description:"Wildings Ice Cream with a Shot of Espresso",price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Chocolate and Orange Liqueur Pot",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Rice Pudding with an Apple Compote",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Crepes filled with Bananas and Maple Syrup",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Meringue Vacherin with a Berry Liqueur Compote",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Bread & Butter Pudding with Pouring Cream",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Selection of Cheese with Biscuits, Grapes & Chutney",description:null,price:null,priceType:"set-menu",supplement:3,dietary:[]}]},{name:"Hot drinks",items:[{name:"Tea",price:3.25,priceType:"single"},{name:"Decaf Tea",price:3.25,priceType:"single"},{name:"Espresso",price:3.25,priceType:"single"},{name:"Americano",price:3.25,priceType:"single"},{name:"Latte",price:3.65,priceType:"single"},{name:"Flat White",price:3.25,priceType:"single"},{name:"Cappuccino",price:3.65,priceType:"single"},{name:"Mocha",price:3.65,priceType:"single"},{name:"Irish Coffee",price:7.75,priceType:"single"}]}]},{id:"kids",name:"Kids Menu",when:"Children under 11",setPrices:{"1 course":9,"2 courses":10,"3 courses":11},categories:[{name:"Starters",items:[{name:"Cheesy Garlic Bread",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Melon & Sorbet",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Soup of the Day",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Mains",items:[{name:"Breaded Haddock",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Pasta with a Cheese Sauce or Tomato Sauce",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Fish Pie",description:null,price:null,priceType:"set-menu",supplement:null,dietary:[]},{name:"Tempura Chicken Goujons",description:"All can be served with Fries and a choice of Beans or Vegetables",price:null,priceType:"set-menu",supplement:null,dietary:[]}]},{name:"Dessert",items:[{name:"Homemade Ice Cream",description:"Please ask Staff for Our Ice Cream Selection",price:null,priceType:"set-menu",supplement:null,dietary:[]}]}]}],policies:["Please inform the person taking your order of any allergies.","Cannot guarantee items are 100% safe for coeliac disease or severe gluten allergies.","Parties of 6 or more: no separate or split bills."],venueId:"wildings",confirmed:!1,needsConfirmation:!0,operational:!1,allergensConfirmed:!1}},836,[]);
|
| 8 |
+
__d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"photoSource",{enumerable:!0,get:function(){return C}}),_e.BoardPhoto=T,_e.PhotoZoom=M,_e.SpecialRow=P,_e.SpecialsTab=function({rid:e,declared:t,now:l}){const o=(0,f.useSpecials)(t=>t.current[e]??null),[n,c]=(0,s.useState)(null);if(!o)return(0,w.jsx)(p.Card,{children:(0,w.jsxs)(u.default,{testID:"specials-empty",style:{alignItems:'center',gap:6,paddingVertical:18},children:[(0,w.jsx)(p.T,{size:34,children:"\ud83e\uddd1\u200d\ud83c\udf73"}),(0,w.jsx)(p.T,{weight:"semibold",size:18,center:!0,children:"Today\u2019s specials are on their way"}),(0,w.jsx)(p.Muted,{center:!0,children:"The kitchen posts the specials board here as soon as it\u2019s written up. Check back soon, or ask a member of staff."})]})});const h=o.allergenCheck;return(0,w.jsxs)(u.default,{style:{gap:10},testID:"specials-tab",children:[(0,w.jsxs)(p.Row,{style:{justifyContent:'space-between'},children:[(0,w.jsx)(u.default,{testID:"specials-updated",style:{flex:1},children:(0,w.jsx)(p.T,{weight:"semibold",colour:b.colours.goldLight,children:(0,y.freshness)(o,l)})}),(0,y.isToday)(o.postedAt,l)?(0,w.jsx)(p.Badge,{kind:"ok",label:"Today"}):(0,w.jsx)(p.Badge,{kind:"amber",label:"Not updated today"})]}),(0,y.isToday)(o.postedAt,l)?null:(0,w.jsx)(p.Muted,{children:"These are the most recent specials posted. Today\u2019s may differ, so please ask."}),o.photo?(0,w.jsxs)(u.default,{style:{gap:4},children:[(0,w.jsx)(T,{photo:o.photo,testID:"specials-photo",onPress:()=>c(o.photo)}),(0,w.jsx)(p.Muted,{center:!0,children:"Tap the photo to zoom"})]}):null,o.items.map(e=>(0,w.jsx)(P,{it:e,declared:t,signedBy:h?.by},e.id)),h?(0,w.jsxs)(p.Muted,{children:["Allergens for the typed specials were checked by ",h.by.replace(' (example)','')," at ",(0,j.hm)(new Date(h.at)),"."]}):null,o.photo&&!o.items.length?(0,w.jsx)(p.Muted,{children:"For allergens in these specials, please ask a member of staff before you order."}):null,(0,w.jsx)(p.Muted,{children:"Specials are served in the restaurant while they last. Ask your server to order one."}),(0,w.jsx)(M,{photo:n,onClose:()=>c(null)})]})};var t=r(d[0]),s=r(d[1]),l=e(r(d[2])),o=e(r(d[3])),n=e(r(d[4])),c=e(r(d[5])),u=e(r(d[6])),h=r(d[7]),p=r(d[8]),f=r(d[9]),x=r(d[10]),y=r(d[11]),j=r(d[12]),b=r(d[13]),w=r(d[14]);const k=r(d[15]),C=e=>e===y.SAMPLE_PHOTO?k:{uri:e};function T({photo:e,width:o,onPress:c,testID:h,label:p="Photo of the specials board"}){const[f,x]=(0,s.useState)(.75);(0,s.useEffect)(()=>{e!==y.SAMPLE_PHOTO?l.default.getSize(e,(e,t)=>e&&t&&x(e/t),()=>{}):x(.75)},[e]);const j=(0,w.jsx)(l.default,{source:C(e),resizeMode:"contain",accessibilityLabel:p,style:{width:o??'100%',aspectRatio:f,borderRadius:12,backgroundColor:(0,t.soutersSurface)('#1b1f1d')}});return c?(0,w.jsx)(n.default,{testID:h,accessibilityRole:"button",accessibilityLabel:`${p}. Tap to zoom`,onPress:c,children:j}):(0,w.jsx)(u.default,{testID:h,children:j})}function M({photo:e,onClose:l}){const[h,f]=(0,s.useState)(!1);return(0,s.useEffect)(()=>f(!1),[e]),(0,w.jsx)(o.default,{visible:!!e,transparent:!0,animationType:"fade",onRequestClose:l,children:(0,w.jsxs)(u.default,{testID:"specials-zoom",style:{flex:1,backgroundColor:(0,t.soutersSurface)('rgba(5,5,5,0.97)')},children:[(0,w.jsxs)(p.Row,{style:{justifyContent:'space-between',padding:12},children:[(0,w.jsx)(p.Button,{small:!0,kind:"secondary",label:h?'Zoom out':'Zoom in',onPress:()=>f(!h)}),(0,w.jsx)(p.Button,{small:!0,label:"Close",accessibilityLabel:"Close photo",onPress:l})]}),(0,w.jsx)(c.default,{horizontal:h,contentContainerStyle:{padding:12,alignItems:'center',justifyContent:'center',flexGrow:1},children:(0,w.jsx)(c.default,{contentContainerStyle:{alignItems:'center'},children:e?(0,w.jsx)(n.default,{onPress:()=>f(!h),accessibilityLabel:h?'Zoom out':'Zoom in',children:(0,w.jsx)(T,{photo:e,width:h?820:360})}):null})})]})})}function P({it:e,declared:t,signedBy:s}){const l=(0,x.conflictsFor)(e.allergens,t);return(0,w.jsx)(p.Card,{highlight:l.contains.length?b.colours.red:l.may.length?b.colours.amber:void 0,children:(0,w.jsxs)(u.default,{testID:"special-item",style:{gap:6},children:[(0,w.jsxs)(p.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,w.jsx)(p.T,{weight:"semibold",style:{flex:1,paddingRight:8},children:e.name}),(0,w.jsx)(p.T,{weight:"semibold",colour:b.colours.gold,children:(0,y.priceText)(e.price)})]}),e.description?(0,w.jsx)(p.Muted,{children:e.description}):null,l.contains.length?(0,w.jsx)(p.Badge,{kind:"red",label:"\u26a0 Contains your allergen"}):l.may.length?(0,w.jsx)(p.Badge,{kind:"amber",label:"\u26a0 May contain your allergen"}):null,e.noAllergens&&!Object.keys(e.allergens).length?(0,w.jsx)(p.Muted,{children:"None of the 14 allergens listed"}):(0,w.jsx)(h.AllergenChips,{map:e.allergens,declared:t}),s?(0,w.jsxs)(p.Muted,{children:["Allergens checked by ",s.replace(' (example)','')]}):null]})})}},837,[851,24,190,250,257,145,121,823,807,842,808,843,812,815,18,838]);
|
| 9 |
+
__d(function(g,r,i,a,m,e,d){"use strict";m.exports={uri:"/kirkmichael/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg",width:900,height:1200,toString(){return this.uri}}},838,[]);
|