fungiorganic commited on
Commit
4e3191f
·
verified ·
1 Parent(s): 0a7f3c6

Cover Charge prototype v0.3.12.70 (part 3)

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. kirkmichael/customer-app/customer/kirkmichael.html +1 -1
  2. kirkmichael/customer-app/index.html +1 -1
  3. kirkmichael/customer-app/sw.js +1 -1
  4. kirkmichael/display-app/_expo/static/js/web/+not-found-4d4303e173fe1eacdeea21b55b14713e.js +1 -0
  5. kirkmichael/display-app/_expo/static/js/web/[did]-aa1f9793ba61b7027dc7b3794608c02b.js +1 -0
  6. kirkmichael/display-app/_expo/static/js/web/[n]-2ad27b31427ee0b2228d775d0103110c.js +1 -0
  7. kirkmichael/display-app/_expo/static/js/web/[oid]-67b1e8b4cc5576cba86cc6c5442d5fd6.js +1 -0
  8. kirkmichael/display-app/_expo/static/js/web/[section]-7e6b51e93a90c3125cf8ae4b0be4cad4.js +1 -0
  9. kirkmichael/display-app/_expo/static/js/web/[token]-4e227b4d2ed72409442da3eb0bb15d6c.js +3 -0
  10. kirkmichael/display-app/_expo/static/js/web/__common-cef7395252dc08889a49ab97ee113c01.js +0 -0
  11. kirkmichael/display-app/_expo/static/js/web/_layout-f6ff118630388c9f729a9d3ea8d7e4aa.js +0 -0
  12. kirkmichael/display-app/_expo/static/js/web/basket-795d67717030b0bc4db3584730208e8c.js +1 -0
  13. kirkmichael/display-app/_expo/static/js/web/book-7ccaf582608453fa41bd70c1422647e4.js +1 -0
  14. kirkmichael/display-app/_expo/static/js/web/demo-5e158e96def3710de1590e6d53c4eb0d.js +1 -0
  15. kirkmichael/display-app/_expo/static/js/web/feedback-68afe9c95f4a0b4be7d7e264f0e4f114.js +1 -0
  16. kirkmichael/display-app/_expo/static/js/web/gift-6295ae1f920911c0650429abf76f6927.js +1 -0
  17. kirkmichael/display-app/_expo/static/js/web/historicalBookingApi-9cb2182b71c7d59a10d37a10dec9dd9e.js +1 -0
  18. kirkmichael/display-app/_expo/static/js/web/index-0c443ec800fe594dba2afac8fee70a6b.js +1 -0
  19. kirkmichael/display-app/_expo/static/js/web/index-278722b702aea5ed8c0be2fbfa13d349.js +1 -0
  20. kirkmichael/display-app/_expo/static/js/web/index-476e18dc28e830e7b928c358bfaf672b.js +0 -0
  21. kirkmichael/display-app/_expo/static/js/web/index-55968b864270f8c0b2fd56d95d738105.js +1 -0
  22. kirkmichael/display-app/_expo/static/js/web/index-97045155f37081be51d923393ac06375.js +0 -0
  23. kirkmichael/display-app/_expo/static/js/web/index-aae3d9f7860b489002d0aae115c2ebe8.js +1 -0
  24. kirkmichael/display-app/_expo/static/js/web/index-c7b5797d8fc246d04926fc6eeb8bcbaa.js +2 -0
  25. kirkmichael/display-app/_expo/static/js/web/index-cd9c15ba311f505108c6e4a939ec4a4d.js +0 -0
  26. kirkmichael/display-app/_expo/static/js/web/index-e2fb2da868c40e525297858392efa815.js +1 -0
  27. kirkmichael/display-app/_expo/static/js/web/index-e6c9f02a6fc166da85a6ce63c81d70f2.js +11 -0
  28. kirkmichael/display-app/_expo/static/js/web/lost-21e5876042b926d047772698583f5f85.js +1 -0
  29. kirkmichael/display-app/_expo/static/js/web/loyalty-5a2cf673920052ad162b0746e97ff45f.js +1 -0
  30. kirkmichael/display-app/_expo/static/js/web/merch-72d475c671dd41bd3b0feaaadd7c454f.js +1 -0
  31. kirkmichael/display-app/_expo/static/js/web/offers-4eccf23cc2bbeeea548f72df946db9b2.js +1 -0
  32. kirkmichael/display-app/_expo/static/js/web/profile-6f6b6ac0782e467d04cb97d59ddf8386.js +1 -0
  33. kirkmichael/display-app/_expo/static/js/web/refer-2834885cb2436fc846aa539a8b9d3e40.js +1 -0
  34. kirkmichael/display-app/_expo/static/js/web/waitlist-c0c7cc6f4aa9ce3b713b13ed9346949a.js +1 -0
  35. kirkmichael/display-app/_expo/static/js/web/whatson-1558c0cfcbad93b781c72c279888a738.js +1 -0
  36. kirkmichael/display-app/display.html +1 -1
  37. kirkmichael/display-app/index.html +1 -1
  38. kirkmichael/display-app/sw.js +1 -1
  39. kirkmichael/get/chef.html +1 -1
  40. kirkmichael/get/customer.html +1 -1
  41. kirkmichael/get/display.html +1 -1
  42. kirkmichael/get/managers.html +1 -1
  43. kirkmichael/get/staff.html +1 -1
  44. kirkmichael/index.html +1 -1
  45. kirkmichael/logo-revision.json +1 -1
  46. kirkmichael/owner-app/_expo/static/js/web/+not-found-4d4303e173fe1eacdeea21b55b14713e.js +1 -0
  47. kirkmichael/owner-app/_expo/static/js/web/[did]-aa1f9793ba61b7027dc7b3794608c02b.js +1 -0
  48. kirkmichael/owner-app/_expo/static/js/web/[n]-2ad27b31427ee0b2228d775d0103110c.js +1 -0
  49. kirkmichael/owner-app/_expo/static/js/web/[oid]-67b1e8b4cc5576cba86cc6c5442d5fd6.js +1 -0
  50. kirkmichael/owner-app/_expo/static/js/web/[section]-7e6b51e93a90c3125cf8ae4b0be4cad4.js +1 -0
kirkmichael/customer-app/customer/kirkmichael.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/customer-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
- <script src="/kirkmichael/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/__common-7c6e2023f24f7ff548c3071d466431e6.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/index-4b7fababe163219a4bd744f21e7a41c5.js" defer></script>
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/customer-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
+ <script src="/kirkmichael/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/__common-9cfc11d2088955099e258f94256e942b.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/index-5a86f728f4d4482eab041187ade1e917.js" defer></script>
39
  </body>
40
  </html>
kirkmichael/customer-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/customer-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
- <script src="/kirkmichael/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/__common-7c6e2023f24f7ff548c3071d466431e6.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/index-4b7fababe163219a4bd744f21e7a41c5.js" defer></script>
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/customer-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
+ <script src="/kirkmichael/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/__common-9cfc11d2088955099e258f94256e942b.js" defer></script><script src="/kirkmichael/customer-app/_expo/static/js/web/index-5a86f728f4d4482eab041187ade1e917.js" defer></script>
39
  </body>
40
  </html>
kirkmichael/customer-app/sw.js CHANGED
@@ -1,4 +1,4 @@
1
- const V="cc-kirkmichael-customer-7a2199cf056d",B="/kirkmichael/customer-app/",P=["/kirkmichael/customer-app/apple-touch-icon.png", "/kirkmichael/customer-app/favicon.ico", "/kirkmichael/customer-app/icon-192.png", "/kirkmichael/customer-app/icon-512.png", "/kirkmichael/customer-app/brand-logo.png", "/kirkmichael/customer-app/brand-logo-49dc0730ea9f262a.png", "/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png", "/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png", "/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png", "/kirkmichael/customer-app/index.html", "/kirkmichael/customer-app/brand-promo.png", "/kirkmichael/customer-app/manifest.webmanifest", "/kirkmichael/customer-app/manifest-49dc0730ea9f262a.webmanifest", "/kirkmichael/customer-app/brand-hero.png", "/kirkmichael/customer-app/icon-512-49dc0730ea9f262a.png", "/kirkmichael/customer-app/brand-hero-49dc0730ea9f262a.png", "/kirkmichael/customer-app/customer/kirkmichael.html", "/kirkmichael/customer-app/_expo/static/js/web/[section]-2a2a5d4ec75d398ca8d895dbbba9fc46.js", "/kirkmichael/customer-app/_expo/static/js/web/waitlist-012c95df72e075ab7a3aa4cf4f6ddb1f.js", "/kirkmichael/customer-app/_expo/static/js/web/+not-found-3412a34ce6456e3e034a9fa0d486525b.js", "/kirkmichael/customer-app/_expo/static/js/web/demo-c92768667d2bd0f6a81b9f923e922191.js", "/kirkmichael/customer-app/_expo/static/js/web/index-f19ee9c2cbf8dad7b4eec3052ef2d876.js", "/kirkmichael/customer-app/_expo/static/js/web/index-d7fbe10cafb1ae5ffa7ca1170f702905.js", "/kirkmichael/customer-app/_expo/static/js/web/gift-af23ed019d9410c05157799b0e09197e.js", "/kirkmichael/customer-app/_expo/static/js/web/merch-b95c09e2ca1fe800d7766320e7aaf6d1.js", "/kirkmichael/customer-app/_expo/static/js/web/feedback-c755469647f28bf01f060d1006963a13.js", "/kirkmichael/customer-app/_expo/static/js/web/index-5362c967da8ab897ec0878e9002f15ab.js", "/kirkmichael/customer-app/_expo/static/js/web/[did]-059b11c3f8541c891197397a2af06c99.js", "/kirkmichael/customer-app/_expo/static/js/web/loyalty-5f7656820b0c6405cbec077bafa6f62c.js", "/kirkmichael/customer-app/_expo/static/js/web/offers-f0b4398d897763aab95267ff343524aa.js", "/kirkmichael/customer-app/_expo/static/js/web/index-99bc07929bd1e529a8f417ce736afdd0.js", "/kirkmichael/customer-app/_expo/static/js/web/index-6fa53ca23b4144fb4196c7f64ff91066.js", "/kirkmichael/customer-app/_expo/static/js/web/profile-dd32b3377c646d6abc83a9804b0ab98f.js", "/kirkmichael/customer-app/_expo/static/js/web/whatson-3097dd8b4503931176ce0c6ef5f4a125.js", "/kirkmichael/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/kirkmichael/customer-app/_expo/static/js/web/[token]-ca9e32b4f4d078c010be920de989f77b.js", "/kirkmichael/customer-app/_expo/static/js/web/basket-77142a2b1b5a42fddc5d87c09136a040.js", "/kirkmichael/customer-app/_expo/static/js/web/[oid]-3e22c8afdc3bf2eb54df441d0b9f5b10.js", "/kirkmichael/customer-app/_expo/static/js/web/index-80aca9e8d00c6ff685d5ef1460511039.js", "/kirkmichael/customer-app/_expo/static/js/web/book-e8ae9640a81f7171f35e7e3f7a33949a.js", "/kirkmichael/customer-app/_expo/static/js/web/__common-7c6e2023f24f7ff548c3071d466431e6.js", "/kirkmichael/customer-app/_expo/static/js/web/lost-f944905c2c732ff2c3d88b2c7ba3453d.js", "/kirkmichael/customer-app/_expo/static/js/web/[n]-9d38fab186ecbf0b95c4713521dec474.js", "/kirkmichael/customer-app/_expo/static/js/web/index-4b7fababe163219a4bd744f21e7a41c5.js", "/kirkmichael/customer-app/_expo/static/js/web/_layout-40a426076963ba8ba258fd47f2a0d99e.js", "/kirkmichael/customer-app/_expo/static/js/web/index-877ce61722b54b9db172fcdb6bb298c2.js", "/kirkmichael/customer-app/_expo/static/js/web/index-497f319dd9952f38d4342be23fc71e37.js", "/kirkmichael/customer-app/_expo/static/js/web/refer-5f888e2e3ad4045986dc328a9237dcb4.js", "/kirkmichael/customer-app/_expo/static/js/web/index-fd1b9b419421872d4ddf205bf87a07c0.js", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/kirkmichael/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/kirkmichael/customer-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/kirkmichael/customer-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/kirkmichael/customer-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/kirkmichael/customer-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/kirkmichael/customer-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/kirkmichael/customer-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/kirkmichael/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/kirkmichael/customer-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/customer-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/kirkmichael/customer-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/kirkmichael/customer-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/kirkmichael/customer-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/kirkmichael/customer-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,{cache:'reload'}).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-customer-')&&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-customer-0e1fb2e79515",B="/kirkmichael/customer-app/",P=["/kirkmichael/customer-app/apple-touch-icon.png", "/kirkmichael/customer-app/favicon.ico", "/kirkmichael/customer-app/icon-192.png", "/kirkmichael/customer-app/icon-512.png", "/kirkmichael/customer-app/brand-logo.png", "/kirkmichael/customer-app/brand-logo-49dc0730ea9f262a.png", "/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png", "/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png", "/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png", "/kirkmichael/customer-app/index.html", "/kirkmichael/customer-app/brand-promo.png", "/kirkmichael/customer-app/manifest.webmanifest", "/kirkmichael/customer-app/manifest-49dc0730ea9f262a.webmanifest", "/kirkmichael/customer-app/brand-hero.png", "/kirkmichael/customer-app/icon-512-49dc0730ea9f262a.png", "/kirkmichael/customer-app/brand-hero-49dc0730ea9f262a.png", "/kirkmichael/customer-app/customer/kirkmichael.html", "/kirkmichael/customer-app/_expo/static/js/web/index-55968b864270f8c0b2fd56d95d738105.js", "/kirkmichael/customer-app/_expo/static/js/web/index-aae3d9f7860b489002d0aae115c2ebe8.js", "/kirkmichael/customer-app/_expo/static/js/web/index-c7b5797d8fc246d04926fc6eeb8bcbaa.js", "/kirkmichael/customer-app/_expo/static/js/web/offers-4eccf23cc2bbeeea548f72df946db9b2.js", "/kirkmichael/customer-app/_expo/static/js/web/index-278722b702aea5ed8c0be2fbfa13d349.js", "/kirkmichael/customer-app/_expo/static/js/web/[token]-4e227b4d2ed72409442da3eb0bb15d6c.js", "/kirkmichael/customer-app/_expo/static/js/web/gift-6295ae1f920911c0650429abf76f6927.js", "/kirkmichael/customer-app/_expo/static/js/web/[did]-aa1f9793ba61b7027dc7b3794608c02b.js", "/kirkmichael/customer-app/_expo/static/js/web/merch-72d475c671dd41bd3b0feaaadd7c454f.js", "/kirkmichael/customer-app/_expo/static/js/web/book-7ccaf582608453fa41bd70c1422647e4.js", "/kirkmichael/customer-app/_expo/static/js/web/[n]-2ad27b31427ee0b2228d775d0103110c.js", "/kirkmichael/customer-app/_expo/static/js/web/waitlist-c0c7cc6f4aa9ce3b713b13ed9346949a.js", "/kirkmichael/customer-app/_expo/static/js/web/index-5a86f728f4d4482eab041187ade1e917.js", "/kirkmichael/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/kirkmichael/customer-app/_expo/static/js/web/basket-795d67717030b0bc4db3584730208e8c.js", "/kirkmichael/customer-app/_expo/static/js/web/index-e2fb2da868c40e525297858392efa815.js", "/kirkmichael/customer-app/_expo/static/js/web/_layout-7c296cb3f7505dabf4d1e4828a0c20c7.js", "/kirkmichael/customer-app/_expo/static/js/web/feedback-68afe9c95f4a0b4be7d7e264f0e4f114.js", "/kirkmichael/customer-app/_expo/static/js/web/index-fc3e790df9e6c7c6db137313a01dc251.js", "/kirkmichael/customer-app/_expo/static/js/web/whatson-1558c0cfcbad93b781c72c279888a738.js", "/kirkmichael/customer-app/_expo/static/js/web/refer-2834885cb2436fc846aa539a8b9d3e40.js", "/kirkmichael/customer-app/_expo/static/js/web/profile-6f6b6ac0782e467d04cb97d59ddf8386.js", "/kirkmichael/customer-app/_expo/static/js/web/loyalty-5a2cf673920052ad162b0746e97ff45f.js", "/kirkmichael/customer-app/_expo/static/js/web/__common-9cfc11d2088955099e258f94256e942b.js", "/kirkmichael/customer-app/_expo/static/js/web/index-97045155f37081be51d923393ac06375.js", "/kirkmichael/customer-app/_expo/static/js/web/lost-21e5876042b926d047772698583f5f85.js", "/kirkmichael/customer-app/_expo/static/js/web/[oid]-67b1e8b4cc5576cba86cc6c5442d5fd6.js", "/kirkmichael/customer-app/_expo/static/js/web/demo-5e158e96def3710de1590e6d53c4eb0d.js", "/kirkmichael/customer-app/_expo/static/js/web/index-cd9c15ba311f505108c6e4a939ec4a4d.js", "/kirkmichael/customer-app/_expo/static/js/web/index-0c443ec800fe594dba2afac8fee70a6b.js", "/kirkmichael/customer-app/_expo/static/js/web/[section]-7e6b51e93a90c3125cf8ae4b0be4cad4.js", "/kirkmichael/customer-app/_expo/static/js/web/+not-found-4d4303e173fe1eacdeea21b55b14713e.js", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/kirkmichael/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/kirkmichael/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/kirkmichael/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/kirkmichael/customer-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/kirkmichael/customer-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/kirkmichael/customer-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/kirkmichael/customer-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/kirkmichael/customer-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/kirkmichael/customer-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/kirkmichael/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/kirkmichael/customer-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/customer-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/kirkmichael/customer-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/kirkmichael/customer-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/kirkmichael/customer-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/kirkmichael/customer-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,{cache:'reload'}).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-customer-')&&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/display-app/_expo/static/js/web/+not-found-4d4303e173fe1eacdeea21b55b14713e.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 c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},796,[799,25,801,19]);
kirkmichael/display-app/_expo/static/js/web/[did]-aa1f9793ba61b7027dc7b3794608c02b.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 t=_r(_d[0]),n=_r(_d[1]),l=e(_r(_d[2])),s=e(_r(_d[3])),r=_r(_d[4]),a=_r(_d[5]),o=_r(_d[6]),d=_r(_d[7]),c=_r(_d[8]),u=_r(_d[9]),h=_r(_d[10]),g=_r(_d[11]),p=_r(_d[12]);function f(){const{rid:e,did:f}=(0,t.useLocalSearchParams)(),b=(0,u.useRestaurant)(e),j=(0,u.useMenu)(e).find(e=>e.id===f),x=(0,u.useCustomer)(),m=(0,u.useRecipeCards)(e).find(e=>e.id===j?.recipeCardId),y=m?.signOff&&m.photo?(0,h.recipeCards)().photoSource(m.photo):null,k=(0,u.useStore)(e=>e.addLine),[v,w]=(0,n.useState)(()=>(j?.optionGroups??[]).filter(e=>e.required).map(e=>e.choices[0].id)),[S,C]=(0,n.useState)(1),[B,$]=(0,n.useState)(''),[I,P]=(0,n.useState)(!1),[L,T]=(0,n.useState)(!1),[D,O]=(0,n.useState)(!1),[A,M]=(0,n.useState)(!1),R=(0,n.useMemo)(()=>j?(0,d.effectiveAllergens)(j,v):{},[j,v]);if(!b||!j)return(0,p.jsx)(o.Screen,{title:"Not found",children:(0,p.jsx)(o.T,{children:"Dish not found."})});const q=(0,d.conflictsFor)(R,x.allergies),_=(j.price??0)+(j.optionGroups??[]).flatMap(e=>e.choices).filter(e=>v.includes(e.id)).reduce((e,t)=>e+t.priceDelta,0),N=j.soldOut||!j.signOff||null===j.price,G=(e,t)=>{const n=j.optionGroups.find(t=>t.id===e);w(e=>{const l=n.choices.map(e=>e.id);return n.multi?e.includes(t)?e.filter(e=>e!==t):[...e,t]:e.includes(t)&&!n.required?e.filter(e=>e!==t):[...e.filter(e=>!l.includes(e)),t]})},z=e=>{u.useStore.getState().basket.restaurantId!==b.id&&u.useStore.getState().startBasket(b.id,'takeaway'),k({itemId:j.id,qty:S,choiceIds:v,notes:B,override:e?{allergens:q.contains,at:(new Date).toISOString()}:void 0}),P(!1),M(!0)};return(0,p.jsxs)(o.Screen,{title:j.name,subtitle:b.name,right:(0,p.jsx)(a.BasketButton,{}),children:[y?(0,p.jsx)(l.default,{testID:"dish-photo",source:y,accessibilityLabel:`${j.name}${'example'===m?.origin?' (example photo)':''}`,style:{width:'100%',height:200,borderRadius:12},resizeMode:"cover"}):null,(0,p.jsxs)(o.Row,{wrap:!0,gap:6,children:[(0,p.jsx)(o.T,{weight:"bold",size:20,colour:g.colours.gold,children:null===j.price?j.priceNote:(0,c.gbp)(_)}),j.dietary.map(e=>(0,p.jsx)(o.Badge,{kind:"ok",label:e},e))]}),(0,p.jsx)(o.T,{children:j.description}),q.contains.length?(0,p.jsx)(o.Banner,{kind:"danger",title:`Blocked: contains ${q.contains.map(d.allergenLabel).join(', ')}`,children:`You\u2019ve told us: ${x.allergies.filter(e=>q.contains.includes(e.allergen)).map(e=>`${(0,d.allergenLabel)(e.allergen)} \u2014 ${(0,d.severityLabel)(e.severity)}`).join('; ')}. This dish can\u2019t be added unless you deliberately override (for example, ordering for someone else).`}):null,q.may.length?(0,p.jsx)(o.Banner,{kind:"warn",title:`Warning: may contain ${q.may.map(d.allergenLabel).join(', ')}`,children:"Cross-contact is possible (e.g. shared fryer). Please speak to staff before ordering."}):null,(j.optionGroups??[]).map(e=>(0,p.jsxs)(o.Card,{children:[(0,p.jsxs)(o.T,{weight:"semibold",children:[e.name,e.required?' (required)':' (optional)']}),(0,p.jsx)(o.Row,{wrap:!0,gap:6,children:e.choices.map(t=>(0,p.jsx)(o.Chip,{label:t.label,sub:t.priceDelta?`+${(0,c.gbp)(t.priceDelta)}`:void 0,selected:v.includes(t.id),onPress:()=>G(e.id,t.id)},t.id))})]},e.id)),(0,p.jsx)(o.Card,{children:(0,p.jsx)(r.AllergenPanel,{item:j,map:R,declared:x.allergies})}),b.fictional?null:(0,p.jsx)(o.ExampleAllergenNotice,{}),(0,p.jsx)(o.Field,{label:"Notes for the kitchen (optional)",placeholder:"e.g. no gherkins",value:B,onChangeText:$}),(0,p.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,p.jsx)(o.T,{weight:"semibold",children:"Quantity"}),(0,p.jsx)(o.Stepper,{value:S,onChange:C,label:"quantity"})]}),A?(0,p.jsx)(o.Banner,{kind:"success",title:"Added to basket",children:q.contains.length?'Allergy override recorded \u2014 the kitchen will see a large allergy alert.':'Carry on browsing or go to your basket.'}):null,N?(0,p.jsx)(o.Banner,{kind:"warn",children:j.soldOut?'Sold out today.':j.signOff?'Price on the specials board \u2014 ask staff.':'Not available to order online until the head chef signs off its allergens.'}):q.contains.length?(0,p.jsxs)(s.default,{style:{gap:8},children:[(0,p.jsx)(o.Button,{kind:"secondary",label:"Choose something else",onPress:()=>t.router.back()}),(0,p.jsx)(o.Button,{kind:"danger",label:"Override and add anyway\u2026",onPress:()=>{T(!1),O(!1),P(!0)},testID:"override-open"})]}):(0,p.jsxs)(o.Row,{gap:8,children:[(0,p.jsx)(o.Button,{style:{flex:1},label:`Add ${S} to basket \xb7 ${(0,c.gbp)(_*S)}`,onPress:()=>z(!1),testID:"add-to-basket"}),A?(0,p.jsx)(o.Button,{kind:"secondary",label:"Basket",onPress:()=>t.router.push('/customer/basket')}):null]}),(0,p.jsxs)(o.Sheet,{visible:I,onClose:()=>P(!1),title:"Allergy override",children:[(0,p.jsx)(o.Banner,{kind:"danger",title:`${j.name} contains ${q.contains.map(d.allergenLabel).join(', ')}`,children:`Your profile says: ${x.allergies.filter(e=>q.contains.includes(e.allergen)).map(e=>`${(0,d.allergenLabel)(e.allergen)} \u2014 ${(0,d.severityLabel)(e.severity)}`).join('; ')}.`}),(0,p.jsx)(o.Toggle,{label:"I understand this dish contains an allergen I have declared",value:L,onChange:T}),(0,p.jsx)(o.Toggle,{label:"It is for someone without this allergy, or I have spoken to staff",value:D,onChange:O}),(0,p.jsx)(o.Muted,{children:"The override is logged and shown to the kitchen as an allergy alert that must be acknowledged."}),(0,p.jsx)(o.Button,{kind:"danger",disabled:!L||!D,label:"Confirm override and add",onPress:()=>z(!0),testID:"override-confirm"})]})]})}},773,[799,25,191,122,824,825,808,809,811,814,826,816,19]);
kirkmichael/display-app/_expo/static/js/web/[n]-2ad27b31427ee0b2228d775d0103110c.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 f}});var t=_r(d[0]),r=_r(d[1]),n=_r(d[2]),o=_r(d[3]),u=_r(d[4]),c=_r(d[5]),s=_r(d[6]),l=_r(d[7]);function f(){const{n:f,r:b}=(0,r.useLocalSearchParams)(),E=(0,u.useStore)(t=>t.startBasket),[_,h]=(0,n.useState)(!1),S=b??c.VENUE_RID,j=(0,u.useOrderAtTable)(S),I=(0,s.guestServer)();return(0,n.useEffect)(()=>{t.LIVE_VENUE_BUILD||I||(j&&E(S,'table',String(f)),h(!0))},[S,f,j,I]),t.LIVE_VENUE_BUILD||I?(0,l.jsx)(o.Screen,{title:"Order at the table",children:(0,l.jsx)(o.Banner,{kind:"demo",title:"Scan the code on your table",children:"To order from your table, scan the QR code printed on it. Or order at the bar."})}):_?(0,l.jsx)(r.Redirect,{href:`/customer/${S}`}):null}},789,[828,799,25,808,814,6,831,19]);
kirkmichael/display-app/_expo/static/js/web/[oid]-67b1e8b4cc5576cba86cc6c5442d5fd6.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 f}});var e,t=_r(d[0]),s=_r(d[1]),l=_r(d[2]),r=_r(d[3]),n=(e=r)&&e.__esModule?e:{default:e},o=_r(d[4]),i=_r(d[5]),c=_r(d[6]),u=_r(d[7]),h=_r(d[8]),p=_r(d[9]),b=_r(d[10]),y=_r(d[11]),j=_r(d[12]);const x=[['new','Placed'],['acknowledged','Accepted'],['preparing','Cooking'],['ready','Ready to collect'],['collected','Collected']],w=[['new','Sent'],['acknowledged','Accepted'],['preparing','Cooking'],['served','Food out'],['closed','Paid']];function f(){const{oid:e}=(0,s.useLocalSearchParams)(),r=(0,b.useOrder)(e),f=(0,b.useRestaurant)(r?.restaurantId),[C,S]=(0,l.useState)(0),[k,T]=(0,l.useState)(''),[v,P]=(0,l.useState)(!1),[M,$]=(0,l.useState)(!1),[R,A]=(0,l.useState)(1),[I,N]=(0,l.useState)(0),[O,B]=(0,l.useState)(r?.split?.ways??1);if(!r||!f)return(0,j.jsx)(c.Screen,{title:"Order",children:(0,j.jsx)(c.T,{children:"Order not found."})});const H='takeaway'===r.type?x:w,_=Math.max(0,H.findIndex(([e])=>e===r.status)),D=Math.round(r.subtotal*I/100),F='table'===r.type?r.subtotal+(r.split?r.tip:D):r.total,q=F-r.paid,L=r.split?.ways??O,W=r.split?.paidShares??0,Y=Math.ceil(F/L),E='collected'===r.status||'closed'===r.status;return(0,j.jsxs)(c.Screen,{title:`Order ${r.ref}`,subtitle:`${f.name} \xb7 ${'table'===r.type?`${(0,t.tableNumbers)(r.tableNo)}`:`Collection at ${r.slotTime?(0,p.hm)(new Date(r.slotTime)):'\u2014'}`}`,children:['takeaway'===r.type?(0,j.jsx)(c.Banner,{kind:"success",title:'ready'===r.status?'Your order is ready!':'Order placed',children:'ready'===r.status?'Head to the bar and give your order number. Staff will check allergies with you at handover.':`Show order number ${r.ref} at the bar when you arrive.`}):null,(0,j.jsxs)(c.Card,{children:[(0,j.jsx)(c.H2,{children:"Status"}),H.map(([e,t],s)=>(0,j.jsxs)(c.Row,{gap:10,children:[(0,j.jsx)(n.default,{style:{width:22,height:22,borderRadius:11,backgroundColor:s<=_?y.colours.gold:y.colours.surface2,borderWidth:1,borderColor:y.colours.gold}}),(0,j.jsx)(c.T,{weight:s===_?'semibold':'regular',colour:s<=_?y.colours.text:y.colours.muted,children:t})]},e)),r.allergyAck?(0,j.jsxs)(c.Muted,{children:["Kitchen signed off your allergies (",r.allergyAck.by,", ",(0,p.hm)(new Date(r.allergyAck.at)),")"]}):r.allergies.length?(0,j.jsx)(c.Muted,{children:"Waiting for the kitchen to sign off your allergies\u2026"}):null,'takeaway'!==r.type||E?null:(0,j.jsxs)(c.Row,{gap:8,children:[(0,j.jsx)(c.Button,{small:!0,kind:'on-my-way'===r.customerSignal?'primary':'secondary',label:"On my way",onPress:()=>b.repo.orders.customerSignal(r.id,'on-my-way')}),(0,j.jsx)(c.Button,{small:!0,kind:'here'===r.customerSignal?'primary':'secondary',label:"I\u2019m here",onPress:()=>b.repo.orders.customerSignal(r.id,'here')})]})]}),(0,j.jsxs)(c.Card,{children:[(0,j.jsx)(c.H2,{children:"Items"}),r.lines.map((e,t)=>(0,j.jsxs)(n.default,{children:[(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsxs)(c.T,{style:{flex:1},children:[e.qty,"\xd7 ",e.name]}),(0,j.jsx)(c.T,{children:(0,h.gbp)(e.unitPrice*e.qty)})]}),e.choices.length?(0,j.jsx)(c.Muted,{children:e.choices.join(' \xb7 ')}):null,e.overridden?(0,j.jsx)(c.Badge,{kind:"red",label:`Allergy override: ${e.contains.map(u.allergenLabel).join(', ')}`}):null]},t)),(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Subtotal"}),(0,j.jsx)(c.T,{children:(0,h.gbp)(r.subtotal)})]}),r.giftCardApplied?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Of which gift card"}),(0,j.jsxs)(c.T,{colour:y.colours.ok,children:["\u2212",(0,h.gbp)(r.giftCardApplied)]})]}):null,r.tip?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Tip"}),(0,j.jsx)(c.T,{children:(0,h.gbp)(r.tip)})]}):null,(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Paid (test, no real money)"}),(0,j.jsx)(c.T,{weight:"semibold",colour:y.colours.gold,children:(0,h.gbp)(r.paid)})]})]}),'table'===r.type&&'closed'!==r.status&&'cancelled'!==r.status?(0,j.jsxs)(c.Card,{highlight:y.colours.gold,children:[(0,j.jsxs)(c.H2,{children:["Your bill \u2014 ",(0,t.tableNumbers)(r.tableNo)]}),r.split?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(c.T,{children:["Total ",(0,h.gbp)(F)," \xb7 split ",L," way",L>1?'s':''," \xb7 ",(0,h.gbp)(Y)," each"]}),(0,j.jsxs)(c.T,{children:["Shares paid: ",W," of ",L," \xb7 remaining ",(0,h.gbp)(q)]}),L>1?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{children:"Shares to pay now"}),(0,j.jsx)(c.Stepper,{value:R,onChange:A,min:1,max:L-W,label:"shares"})]}):null,(0,j.jsx)(c.Button,{label:`Pay ${L>1?`${R} share${R>1?'s':''}`:'bill'} \xb7 ${(0,h.gbp)(Math.min(q,Y*R))}`,onPress:()=>$(!0),testID:"pay-bill"})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Add a tip?"}),(0,j.jsx)(c.Row,{wrap:!0,children:[0,10,12.5,15].map(e=>(0,j.jsx)(c.Chip,{label:e?`${e}%`:'No tip',selected:I===e,onPress:()=>N(e)},e))}),(0,j.jsx)(c.Muted,{children:"Tips go to staff under the restaurant\u2019s tipping policy (Employment (Allocation of Tips) Act 2023)."}),(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Split evenly between"}),(0,j.jsx)(c.Stepper,{value:O,onChange:B,min:1,max:8,label:"people"})]}),(0,j.jsxs)(c.T,{children:["Total ",(0,h.gbp)(r.subtotal+D),O>1?` \xb7 ${(0,h.gbp)(Math.ceil((r.subtotal+D)/O))} each`:'']}),(0,j.jsx)(c.Button,{label:"Get the bill",onPress:()=>b.repo.orders.setSplit(r.id,O,D),testID:"get-bill"})]})]}):null,!E||r.rated||v?null:(0,j.jsxs)(c.Card,{highlight:y.colours.gold,children:[(0,j.jsx)(c.H2,{children:"How was everything?"}),(0,j.jsxs)(c.Muted,{children:["One tap \u2014 this goes privately to ",f.name," only, never published."]}),(0,j.jsx)(i.Stars,{value:C,onChange:S}),C?(0,j.jsx)(c.Field,{label:"Anything to add? (optional)",value:k,onChangeText:T}):null,(0,j.jsx)(c.Button,{label:"Send feedback",disabled:!C,onPress:()=>{b.repo.feedback.add({restaurantId:f.id,orderId:r.id,customerId:r.customerId,customerName:r.customerName,stars:C,comment:k,context:'table'===r.type?`${(0,t.tableNumbers)(r.tableNo)}`:`Takeaway ${r.ref}`}),P(!0)},testID:"send-rating"})]}),v||r.rated?(0,j.jsx)(c.Banner,{kind:"success",children:"Thanks \u2014 your feedback went privately to the restaurant."}):null,E?(0,j.jsx)(c.Button,{kind:"secondary",label:"View stamp card",onPress:()=>s.router.push(`/customer/${f.id}/loyalty`)}):null,(0,j.jsx)(o.MockPay,{visible:M,onClose:()=>$(!1),amount:Math.min(q,Y*R),restaurantId:f.id,title:`Pay \u2014 ${(0,t.tableNumbers)(r.tableNo)}`,onPaid:e=>{b.repo.orders.payTable(r.id,{shares:R,giftCardCode:e.giftCardCode}),$(!1),A(1)}})]})}},786,[803,799,25,122,829,827,808,809,811,813,814,816,19]);
kirkmichael/display-app/_expo/static/js/web/[section]-7e6b51e93a90c3125cf8ae4b0be4cad4.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 s}});var t=r(d[0]);r(d[1]);var n=r(d[2]),c=r(d[3]),o=r(d[4]),f=r(d[5]);function s(){const{section:s}=(0,t.useLocalSearchParams)();return(0,c.canShow)('chef')?s&&(0,o.chefSectionAllowed)(String(s))?(0,f.jsx)(n.ChefApp,{section:String(s)},String(s)):(0,f.jsx)(t.Redirect,{href:"/kitchen"}):(0,f.jsx)(t.Redirect,{href:c.ENTRY[c.APP_VARIANT]})}},770,[799,25,800,801,802,19]);
kirkmichael/display-app/_expo/static/js/web/[token]-4e227b4d2ed72409442da3eb0bb15d6c.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."})})}},790,[799,25,808,862,864,831,19]);
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}},862,[849,803,25,122,808,809,811,864,863,814,816,19]);
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})},863,[865,815,864]);
kirkmichael/display-app/_expo/static/js/web/__common-cef7395252dc08889a49ab97ee113c01.js ADDED
The diff for this file is too large to render. See raw diff
 
kirkmichael/display-app/_expo/static/js/web/_layout-f6ff118630388c9f729a9d3ea8d7e4aa.js ADDED
The diff for this file is too large to render. See raw diff
 
kirkmichael/display-app/_expo/static/js/web/basket-795d67717030b0bc4db3584730208e8c.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})]})}},784,[803,799,25,805,806,122,829,808,809,811,812,813,814,860,816,818,19]);
kirkmichael/display-app/_expo/static/js/web/book-7ccaf582608453fa41bd70c1422647e4.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 M}});var e,t=_r(_d[0]),o=_r(_d[1]),s=_r(_d[2]),n=_r(_d[3]),l=_r(_d[4]),i=_r(_d[5]),a=_r(_d[6]),r=(e=a)&&e.__esModule?e:{default:e},d=_r(_d[7]),u=_r(_d[8]),c=_r(_d[9]),h=_r(_d[10]),p=_r(_d[11]),b=_r(_d[12]),f=_r(_d[13]),y=_r(_d[14]),x=_r(_d[15]),j=_r(_d[16]),k=_r(_d[17]),v=_r(_d[18]),w=_r(_d[19]),S=_r(_d[20]),T=_r(_d[21]),D=_r(_d[22]),C=_r(_d[23]),$=_r(_d[24]),P=_r(_d[25]);function M(){const{rid:e,date:a}=(0,s.useLocalSearchParams)(),M=(0,x.useRestaurant)(e),A=(0,x.useCustomer)(),B=(0,x.useBookings)(e),O=(0,x.useEvents)(e),N=(0,x.useNow)(6e4),[R]=(0,n.useState)(()=>(0,i.startForm)()),[z,F]=(0,n.useState)(''),[q,W]=(0,n.useState)(2),[E,H]=(0,n.useState)(a??(0,y.ymd)(N)),[L,I]=(0,n.useState)(null),[_,Y]=(0,n.useState)(A.name),[U,G]=(0,n.useState)(A.phone??''),[Q,V]=(0,n.useState)(A.email??''),[J,K]=(0,n.useState)(!1),[X,Z]=(0,n.useState)(''),[ee,te]=(0,n.useState)(!1),[oe,se]=(0,n.useState)([]),[ne,le]=(0,n.useState)(!1),ie=[...A.allergies,...oe.filter(e=>!A.allergies.some(t=>t.allergen===e)).map(e=>({allergen:e,severity:'allergy'}))],[ae,re]=(0,n.useState)(null),de=(0,S.useBlocks)(e=>e.blocks);(0,j.usePublicDayStore)(e=>e.n);const ue=e?(0,j.publicDay)(e,E):null,ce=ue?[...ue.bookings,...B.filter(e=>e.date!==E)]:B,he=ue?[...de.filter(t=>t.rid!==e||t.date!==E),...ue.blocks]:de,me=(0,T.usePlan)(e),[ge,pe]=(0,n.useState)((0,C.emptyNeeds)()),be=!0===ge.dog,fe=be?ge.dogs:0,ye=(0,n.useMemo)(()=>{const e=[],t=new Date(N);t.setHours(12,0,0,0);for(let o=0;o<21;o++){const s=new Date(t);s.setDate(t.getDate()+o),e.push(s)}return a&&!e.some(e=>(0,y.ymd)(e)===a)&&e.push((0,y.parseYmd)(a)),e},[N.toDateString(),a]);if(!M)return(0,P.jsx)(c.Screen,{title:"Not found",children:(0,P.jsx)(c.T,{children:"Restaurant not found."})});const xe=M.settings,je=(0,y.parseYmd)(E),ke=(0,S.blocksOn)(he,M.id,E),ve=ce.filter(e=>e.date===E),we=me.areas.filter(e=>e.dogs),Se=(0,$.dogSetUp)(me),Te=e=>(0,D.freeTablesAt)(me,ve,q,new Date(`${E}${(0,t.tableNumbers)(e)}:00`),(0,D.turnFor)(q,xe.turnMins),xe.turnMins,{dog:!0,closed:(0,S.closedAreasAt)(he,M.id,E,e)}),De=(0,f.bookingSlots)(M,je,e=>ce.filter(t=>t.date===E&&t.time===e&&!['cancelled','noshow'].includes(t.status)).reduce((e,t)=>e+t.partySize,0),q,N).map(e=>{const t=(0,S.blockAt)(he,M.id,E,e.time),o=be&&Se&&e.available&&!t&&(!Te(e.time).length||!(0,C.dogTimeOk)(M,ce,E,e.time,fe));return{...e,blocked:!!t,noDog:o,available:e.available&&!t&&!o}}),Ce=De.some(e=>e.available),$e=(0,d.depositOf)(xe),Pe=(0,d.depositDue)($e,q),Me=Pe>0?'deposit':'none',Ae=(0,d.depositWords)($e,q,M.name),Be=O.filter(e=>e.date===E),Oe=(0,w.ukPhone)(U),Ne=(0,w.emailOk)(Q),Re=(0,C.needsMissing)(ge,A.allergies),ze=!!L&&ee&&!Re.length&&_.trim().length>1&&Oe.ok&&Ne,Fe=async()=>{const e=(0,C.needsPatch)(ge,A.allergies),t=be&&Se?Te(L).map(e=>e.table):[],o=be?ge.tableReq.find(e=>t.includes(e))??t[0]:void 0,s=await x.repo.bookings.create({restaurantId:M.id,customerId:A.id,name:_,partySize:q,date:E,time:L,notes:X.trim(),security:Me,depositPaid:0,...Pe?{depositDue:Pe,depositPolicy:Ae.join(' '),depositRefundable:$e.refundable,depositCutoffHours:$e.cutoffHours}:{},phone:Oe.pretty,email:Q.trim()||void 0,source:'online',...e,...De.find(e=>e.time===L)?.drinksOnly?{drinksOnly:!0}:{},allergies:e.allergies??ie,...o?{table:o}:{}});(0,i.rememberGuard)(s.id,(0,i.guardFor)({...R,hp:z})),re(s)},qe=(0,x.useStore)(e=>ae?e.bookings.find(e=>e.id===ae.id)?.ref:void 0),We=e=>(0,v.waMeLink)(M.settings.whatsapp,(0,v.guestWhatsAppText)({name:e.name,ref:qe??e.ref,date:e.date,time:e.time,partySize:e.partySize},M.name));if(ae){const e='pending'===ae.status;return(0,P.jsxs)(c.Screen,{title:e?'Booking request received':'Booking confirmed',subtitle:M.name,children:[(0,P.jsx)(c.Banner,{kind:e?'info':'success',title:`Reference ${qe??ae.ref}`,children:`${ae.partySize} people \xb7 ${(0,y.niceDateYear)((0,y.parseYmd)(ae.date))} at ${ae.time}`}),e?(0,P.jsx)(c.Banner,{kind:"warn",title:"The team will confirm shortly",children:"For larger parties and special requests, a member of the team checks your booking first. We\u2019ll text you as soon as it\u2019s confirmed."}):null,(0,P.jsxs)(c.Card,{children:[(0,P.jsxs)(c.T,{children:["Name: ",ae.name]}),(0,P.jsxs)(c.T,{children:["Mobile: ",ae.phone]}),ae.email?(0,P.jsxs)(c.T,{children:["Email: ",ae.email]}):null,(0,P.jsxs)(c.T,{children:["Allergies shared with the restaurant: ",ae.allergies.length?ae.allergies.map(e=>`${(0,h.allergenLabel)(e.allergen)} (${(0,h.severityLabel)(e.severity)})`).join(', '):'none']}),ae.notes?(0,P.jsxs)(c.T,{children:["Notes: ",ae.notes]}):null,ae.dog?(0,P.jsxs)(c.T,{children:["\ud83d\udc15 Dog coming too",ae.table?` \xb7 dog-friendly table ${ae.table}`:'']}):null,ae.holds?.length?(0,P.jsxs)(c.T,{children:["Reserved: ",ae.holds.map(e=>`${e.qty} \xd7 ${'item'===e.kind?(M.settings.reservables??$.ANCHORAGE_RESERVABLES).find(t=>t.id===e.id)?.name??'item':e.id}`).join(', ')," (the kitchen confirms it)"]}):null,ae.tableReq?.length?(0,P.jsxs)(c.T,{children:["Table requested: ",ae.tableReq.map(e=>`${(0,t.tableNumbers)(e)}`).join(' or ')," (not guaranteed, but we\u2019ll do our best)"]}):null,'deposit'===ae.security&&ae.depositDue?(0,P.jsxs)(c.T,{weight:"semibold",children:["Deposit due: ",(0,b.gbp)(ae.depositDue),". ",M.name," will tell you how to pay it."]}):null,'deposit'===ae.security&&ae.depositPolicy?(0,P.jsx)(c.Muted,{children:ae.depositPolicy}):null,(0,P.jsxs)(c.Muted,{children:[e?'A text':'A confirmation text',ae.email?' and email':''," to ",ae.phone," ",ae.email?'and your inbox ':'',"is ready. This pilot is in preview mode, so nothing is actually sent yet."]}),(0,P.jsxs)(c.Muted,{children:["Need to change or cancel? Call ",M.phone," and quote ",qe??ae.ref,"."]})]}),We(ae)?(0,P.jsxs)(r.default,{style:{gap:4},children:[(0,P.jsx)(c.Button,{kind:"secondary",label:"\ud83d\udcac Message us on WhatsApp",testID:"guest-whatsapp",onPress:()=>{const e=We(ae);e&&(0,v.openWhatsApp)(e)}}),(0,P.jsx)(c.Muted,{size:13,children:"Opens WhatsApp with your booking details typed in. You can change the message before you send it."})]}):null,(0,P.jsx)(c.Button,{label:"Back to restaurant",onPress:()=>s.router.replace(`/customer/${M.id}`)})]})}return(0,P.jsxs)(c.Screen,{title:"Book a table",subtitle:M.name,footer:(0,P.jsx)(c.Button,{label:Re.length?Re[0]:q>(xe.autoAcceptUpTo??7)?'Send booking request':'Confirm booking',disabled:!ze,onPress:()=>Fe(),testID:"confirm-booking"}),children:[(0,P.jsx)(C.FirstQuestions,{rid:M.id,value:ge,onChange:e=>{e.dog===ge.dog&&e.dogs===ge.dogs||I(null),pe(e)},party:q,audience:"guest",profile:A.allergies}),(0,P.jsxs)(c.Card,{children:[(0,P.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,P.jsx)(c.H2,{children:"Party size"}),(0,P.jsx)(c.Stepper,{value:q,onChange:e=>{W(e),I(null)},min:1,max:16,label:"party size"})]}),Pe?(0,P.jsx)(c.Banner,{kind:"info",title:`Deposit: ${(0,b.gbp)(Pe)} for ${q} guests`,children:(0,P.jsx)(r.default,{style:{gap:4},children:Ae.map(e=>(0,P.jsx)(c.T,{size:13,children:e},e))})}):$e.on&&$e.perPersonPence>0?(0,P.jsxs)(c.Muted,{children:["No deposit for fewer than ",$e.fromParty," guests."]}):null,q>(xe.autoAcceptUpTo??7)?(0,P.jsxs)(c.Muted,{children:["For ",q," people the team checks the booking first, then texts you to confirm."]}):null,be&&Se?(0,P.jsxs)(c.Muted,{children:["Dogs are welcome in the ",we.map(e=>`${e.name}${e.outdoor?' (outdoors, weather permitting)':''}`).join(' and ')||'dog-friendly tables',". We\u2019ll only show times with a dog-friendly table",M.settings.maxDogsPerSlot?' and room for your dog':'',"."]}):null]}),(0,P.jsxs)(c.Card,{children:[(0,P.jsx)(c.H2,{children:"Date"}),(0,P.jsx)(c.Row,{wrap:!0,gap:6,children:ye.map(e=>{const t=!!(0,p.hoursFor)(M,e),o=O.some(t=>t.date===(0,y.ymd)(e));return(0,P.jsx)(c.Chip,{label:(0,y.niceDate)(e),sub:t?o?'\u2605 event':void 0:'Closed',disabled:!t,selected:E===(0,y.ymd)(e),onPress:()=>{H((0,y.ymd)(e)),I(null)}},(0,y.ymd)(e))})}),Be.map(e=>(0,P.jsx)(c.Banner,{kind:"demo",title:e.title,children:e.description},e.id))]}),(0,P.jsxs)(c.Card,{children:[(0,P.jsx)(c.H2,{children:"Time"}),0===De.length?(0,P.jsx)(c.Muted,{children:"Closed on this day (per listed kitchen hours)."}):(0,P.jsx)(c.Row,{wrap:!0,gap:6,children:De.map(e=>(0,P.jsx)(c.Chip,{label:e.time,sub:e.available?e.drinksOnly?'Drinks only':void 0:e.blocked?'Unavailable':e.noDog?'No dog table':e.left<q?'Full':'\u2014',disabled:!e.available,selected:L===e.time,onPress:()=>I(e.time)},e.time))}),ke.length>0&&De.some(e=>e.blocked)?(0,P.jsx)(c.Banner,{kind:"info",title:Ce?'Some times aren\u2019t available online':'Online booking isn\u2019t available for this time',children:`We\u2019re not taking online bookings ${ke.map(e=>`${e.from}\u2013${e.to}`).join(', ')} on ${(0,y.niceDate)(je)}. Please give us a ring on ${M.phone??"the restaurant"} and we\u2019ll do our best to fit you in.`}):null,(()=>{const e=(0,o.lastFoodOn)(M,E);return e&&De.some(e=>e.drinksOnly)?(0,P.jsx)(c.Banner,{kind:"info",title:`Last food orders ${(0,o.fmt12)(e.time)}${'kitchen closes'!==e.reason?` (${e.reason})`:''}`,children:"Times marked \u201cDrinks only\u201d are after the kitchen\u2019s last food orders that day: you\u2019re welcome for drinks, but we can\u2019t serve food."}):null})(),be&&De.some(e=>e.noDog)?(0,P.jsx)(c.Banner,{kind:"info",title:"Some times are full for dogs",children:`Times marked "No dog table" are full in the ${we.map(e=>e.name).join(' and ')}${M.settings.maxDogsPerSlot?' or already have the most dogs we can look after':''}${(0,S.closedAreasAt)(he,M.id,E,L??'12:00').size?', or the garden is closed for weather':''}. We\u2019d love to see you both, so please try one of the other times shown.`}):null,(0,P.jsxs)(c.Muted,{children:["Times come from covers per slot (",xe.bookingCoversPerSlot," per half hour) and table rules."]})]}),(0,P.jsx)(C.MoreQuestions,{rid:M.id,r:M,value:ge,onChange:pe,party:q,date:E,time:L,today:(0,y.ymd)(N),bookings:ce,audience:"guest",showTables:!0}),(0,P.jsxs)(c.Card,{highlight:ee?void 0:k.colours.amber,children:[(0,P.jsx)(c.Field,{label:"Notes (optional)",value:X,onChangeText:Z,placeholder:u.NOTES_PLACEHOLDER,multiline:!0,numberOfLines:3,testID:"book-notes"}),(0,P.jsx)(c.Toggle,{label:"I confirm the allergy information for this booking",value:ee,onChange:te}),(0,P.jsx)(c.Muted,{children:"Table requests aren\u2019t guaranteed, but we\u2019ll do our best. Nothing here is charged now; reserved dishes are paid on the night."})]}),(0,P.jsxs)(c.Card,{children:[(0,P.jsx)(c.H2,{children:"Your details"}),(0,P.jsx)(c.Field,{label:"Name for the booking",value:_,onChangeText:Y}),(0,P.jsx)(c.Field,{testID:"book-phone",label:"Mobile number (needed to book)",value:U,onChangeText:G,onBlur:()=>K(!0),keyboardType:"phone-pad",autoComplete:"tel",placeholder:"e.g. 07700 900123"}),Oe.ok||!J&&!U?null:(0,P.jsx)(c.T,{size:13,colour:k.colours.amber,children:Oe.error}),(0,P.jsx)(c.Field,{testID:"book-email",label:"Email (optional)",value:Q,onChangeText:V,keyboardType:"email-address",autoCapitalize:"none",autoComplete:"email",placeholder:"you@example.com"}),Ne?null:(0,P.jsx)(c.T,{size:13,colour:k.colours.amber,children:"That email doesn\u2019t look quite right. Check it, or leave it blank."}),(0,P.jsxs)(c.Muted,{children:["We\u2019ll text you a confirmation",Q.trim()?' and email it too':'',", with how to change or cancel. We only use your number for this booking."]})]}),(0,P.jsx)(l.Honeypot,{value:z,onChange:F})]})}},772,[803,804,799,25,805,806,122,8,807,808,809,810,811,812,813,814,815,816,817,818,819,820,821,822,823,19]);
kirkmichael/display-app/_expo/static/js/web/demo-5e158e96def3710de1590e6d53c4eb0d.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 c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},788,[799,25,801,19]);
kirkmichael/display-app/_expo/static/js/web/feedback-68afe9c95f4a0b4be7d7e264f0e4f114.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 c}});var t=_r(d[0]),a=_r(d[1]),s=_r(d[2]),n=_r(d[3]),r=_r(d[4]),o=_r(d[5]);const l=['Food','Service','Takeaway','Booking','Allergens','Something else'];function c(){const{rid:c}=(0,t.useLocalSearchParams)(),u=(0,r.useRestaurant)(c),h=(0,r.useCustomer)(),[p,b]=(0,a.useState)(0),[y,j]=(0,a.useState)('Food'),[x,v]=(0,a.useState)(''),[f,S]=(0,a.useState)(!1),[w,k]=(0,a.useState)(!1);return u?(0,o.jsxs)(s.Screen,{title:"Private feedback",subtitle:`Straight to the team at ${u.name}`,children:[w?(0,o.jsxs)(s.Banner,{kind:"success",title:"Thank you",children:["Your feedback went privately to ",u.name,". It is never published.",f?' They may reply by email (demo: nothing is sent).':'']}):null,w?(0,o.jsx)(s.Button,{kind:"secondary",label:"Send more feedback",onPress:()=>{k(!1),b(0),v('')}}):(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"How did we do?"}),(0,o.jsx)(n.Stars,{value:p,onChange:b}),(0,o.jsx)(s.T,{size:14,children:"What's it about?"}),(0,o.jsx)(s.Row,{wrap:!0,gap:6,children:l.map(t=>(0,o.jsx)(s.Chip,{label:t,selected:y===t,onPress:()=>j(t)},t))}),(0,o.jsx)(s.Field,{label:"Tell us more (optional)",value:x,onChangeText:v,multiline:!0,placeholder:"What went well, what could be better?"}),(0,o.jsx)(s.Chip,{label:f?'\u2713 Happy to be contacted':'Happy to be contacted?',selected:f,onPress:()=>S(!f)}),(0,o.jsx)(s.Button,{label:"Send privately",disabled:!p,onPress:()=>{r.repo.feedback.add({restaurantId:u.id,customerId:h.id,customerName:h.name,stars:p,comment:`${y}: ${x.trim()}${f?` (happy to be contacted: ${h.email})`:''}`,context:`App feedback \xb7 ${y}`}),k(!0)}})]}),(0,o.jsx)(s.Muted,{children:"Every rating, from 1 to 5 stars, goes the same way: privately to the restaurant. We never ask only happy guests to post a public review, and stamps or rewards are never given for reviews."})]}):(0,o.jsx)(s.Screen,{title:"Not found",children:(0,o.jsx)(s.T,{children:"Restaurant not found."})})}},774,[799,25,808,827,814,19]);
kirkmichael/display-app/_expo/static/js/web/gift-6295ae1f920911c0650429abf76f6927.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 x}});var t=_r(d[0]),a=_r(d[1]),n=_r(d[2]),s=_r(d[3]),r=_r(d[4]),l=_r(d[5]),o=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),b=_r(d[10]);function x(){const{rid:n}=(0,a.useLocalSearchParams)(),s=(0,o.useRestaurant)(n);(0,o.useCustomer)();return t.LIVE_VENUE_BUILD||(0,h.guestServer)()?s?(0,b.jsx)(c.GiftLive,{slug:n,venue:s.name}):(0,b.jsx)(r.Screen,{title:"Not found",children:(0,b.jsx)(r.T,{children:"Restaurant not found."})}):(0,b.jsx)(f,{})}function f(){const{rid:t}=(0,a.useLocalSearchParams)(),c=(0,o.useRestaurant)(t),h=(0,o.useGiftCards)(t),[x,f]=(0,n.useState)(5e3),[j,p]=(0,n.useState)(''),[g,y]=(0,n.useState)(''),[C,S]=(0,n.useState)(''),[v,w]=(0,n.useState)(!1),[P,T]=(0,n.useState)(null);if(!c)return(0,b.jsx)(r.Screen,{title:"Not found",children:(0,b.jsx)(r.T,{children:"Restaurant not found."})});const B=j?Math.round(100*Number(j))||0:x;return(0,b.jsxs)(r.Screen,{title:"Gift cards",subtitle:`${c.name} \u2014 redeemable only at ${c.name}`,children:[P?(0,b.jsx)(r.Banner,{kind:"success",title:`Gift card created \u2014 ${(0,l.gbp)(P.initial)}`,children:`Code ${P.code}. In production it would be emailed or sent in-app to ${P.recipientName||'the recipient'} (nothing sent in this demo).`}):null,(0,b.jsxs)(r.Card,{children:[(0,b.jsx)(r.H2,{children:"Your gift cards"}),h.length?h.map(t=>(0,b.jsxs)(r.Row,{style:{justifyContent:'space-between'},children:[(0,b.jsx)(r.T,{style:{flex:1},children:t.code}),(0,b.jsxs)(r.T,{weight:"semibold",colour:u.colours.gold,children:[(0,l.gbp)(t.balance)," of ",(0,l.gbp)(t.initial)]})]},t.id)):(0,b.jsx)(r.Muted,{children:"None yet."}),(0,b.jsx)(r.Muted,{children:"Balances can be used at checkout on takeaway orders and table bills. Part-use leaves a balance."})]}),(0,b.jsxs)(r.Card,{children:[(0,b.jsx)(r.H2,{children:"Buy a gift card"}),(0,b.jsx)(r.Row,{wrap:!0,children:[1e3,2500,5e3,15e3].map(t=>(0,b.jsx)(r.Chip,{label:(0,l.gbp)(t),selected:!j&&x===t,onPress:()=>{p(''),f(t)}},t))}),(0,b.jsx)(r.Field,{label:"Or another amount (\xa3)",keyboardType:"decimal-pad",value:j,onChangeText:p,placeholder:"e.g. 40"}),(0,b.jsx)(r.Field,{label:"Recipient\u2019s name",value:g,onChangeText:y}),(0,b.jsx)(r.Field,{label:"Message",value:C,onChangeText:S,multiline:!0,placeholder:"Happy birthday!"}),(0,b.jsx)(r.Muted,{children:"Valid for 24 months from purchase (suggested terms \u2014 to be confirmed by the restaurant)."}),(0,b.jsx)(r.Button,{label:`Buy ${(0,l.gbp)(B)} gift card`,disabled:B<500||B>5e4,onPress:()=>w(!0)})]}),(0,b.jsx)(s.MockPay,{visible:v,onClose:()=>w(!1),amount:B,restaurantId:c.id,allowGiftCard:!1,title:"Buy gift card",onPaid:async()=>{const t=await o.repo.giftCards.purchase(c.id,B,g,C);w(!1),T(t)}})]})}},775,[828,799,25,829,808,811,814,816,830,831,19]);
kirkmichael/display-app/_expo/static/js/web/historicalBookingApi-9cb2182b71c7d59a10d37a10dec9dd9e.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}},1086,[25,801,1085,813,815,865]);
kirkmichael/display-app/_expo/static/js/web/index-0c443ec800fe594dba2afac8fee70a6b.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 c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},798,[799,25,801,19]);
kirkmichael/display-app/_expo/static/js/web/index-278722b702aea5ed8c0be2fbfa13d349.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 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(0,u.canShow)('chef')?(0,c.jsx)(n.ChefApp,{}):(0,c.jsx)(t.Redirect,{href:u.ENTRY[u.APP_VARIANT]})}},771,[799,25,800,801,19]);
kirkmichael/display-app/_expo/static/js/web/index-476e18dc28e830e7b928c358bfaf672b.js ADDED
The diff for this file is too large to render. See raw diff
 
kirkmichael/display-app/_expo/static/js/web/index-55968b864270f8c0b2fd56d95d738105.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 c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},793,[799,25,801,19]);
kirkmichael/display-app/_expo/static/js/web/index-97045155f37081be51d923393ac06375.js ADDED
The diff for this file is too large to render. See raw diff
 
kirkmichael/display-app/_expo/static/js/web/index-aae3d9f7860b489002d0aae115c2ebe8.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 f}});var e=_r(d[0]);_r(d[1]);var s,r=_r(d[2]),n=(s=r)&&s.__esModule?s:{default:s},t=_r(d[3]),l=_r(d[4]),o=_r(d[5]),a=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),j=_r(d[10]),x=_r(d[11]);function f(){const s=(0,u.useStore)(e=>e.restaurants),r=(0,u.useCustomer)(),f=(0,u.useNow)(3e4);return(0,x.jsxs)(l.Screen,{title:"Restaurants",subtitle:"Book, order and pay at local restaurants",right:(0,x.jsxs)(l.Row,{children:[(0,x.jsx)(t.BasketButton,{}),(0,x.jsx)(l.Button,{small:!0,kind:"ghost",label:"Profile",onPress:()=>e.router.push('/customer/profile')})]}),children:[(0,x.jsxs)(l.Card,{onPress:()=>e.router.push('/customer/profile'),children:[(0,x.jsxs)(l.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(l.T,{weight:"semibold",children:r.name?`Hello, ${r.name.split(' ')[0]}`:'Add your profile'}),(0,x.jsx)(l.Muted,{children:"Edit profile \u203a"})]}),(0,x.jsx)(l.Muted,{children:"Your allergies (stored once, confirmed on every order and booking):"}),(0,x.jsx)(l.Row,{wrap:!0,gap:6,children:r.allergies.length?r.allergies.map(e=>(0,x.jsx)(l.Badge,{kind:"red",label:`${(0,o.allergenLabel)(e.allergen)} \u2014 ${(0,o.severityLabel)(e.severity)}`},e.allergen)):(0,x.jsx)(l.Muted,{children:"None declared"})})]}),s.map(s=>{const r=(0,a.hoursFor)(s,f);return(0,x.jsxs)(l.Card,{onPress:()=>e.router.push(`/customer/${s.id}`),highlight:s.id===j.VENUE_RID?c.colours.gold:void 0,children:[(0,x.jsxs)(l.Row,{style:{justifyContent:'space-between'},children:[(0,x.jsx)(l.H2,{style:{flex:1},children:s.name}),s.fictional?(0,x.jsx)(l.Badge,{kind:"amber",label:"FICTIONAL DEMO"}):(0,x.jsx)(l.Badge,{kind:"gold",label:"PILOT"})]}),(0,x.jsx)(l.Muted,{children:s.tagline}),(0,x.jsx)(l.Muted,{children:s.location}),(0,x.jsx)(l.T,{size:14,colour:r?c.colours.ok:c.colours.amber,children:r?`Kitchen today ${(0,a.kitchenHoursOn)(s,f)[0]}\u2013${(0,a.kitchenHoursOn)(s,f)[1]}`:'Kitchen closed today (hours not listed)'})]},s.id)}),(0,x.jsx)(l.Banner,{kind:"info",children:"Each venue uses only its own saved menu, cards and booking details."}),(0,x.jsx)(h.LauncherLine,{}),(0,x.jsx)(n.default,{style:{height:8}})]})}},785,[799,25,122,825,808,809,810,814,816,843,6,19]);
kirkmichael/display-app/_expo/static/js/web/index-c7b5797d8fc246d04926fc6eeb8bcbaa.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,{})}},794,[799,25,947,801,19]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},947,[]);
kirkmichael/display-app/_expo/static/js/web/index-cd9c15ba311f505108c6e4a939ec4a4d.js ADDED
The diff for this file is too large to render. See raw diff
 
kirkmichael/display-app/_expo/static/js/web/index-e2fb2da868c40e525297858392efa815.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 c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},792,[799,25,801,19]);
kirkmichael/display-app/_expo/static/js/web/index-e6c9f02a6fc166da85a6ce63c81d70f2.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
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 L}});var l=_r(_d[0]),t=e(_r(_d[1])),s=e(_r(_d[2])),n=_r(_d[3]),r=_r(_d[4]),o=_r(_d[5]),i=_r(_d[6]),d=_r(_d[7]),u=e(d);_r(_d[8]);var c=e(_r(_d[9])),b=e(_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]),R=_r(_d[24]),P=_r(_d[25]),I=_r(_d[26]),C=_r(_d[27]),B=_r(_d[28]);const $=['book','takeaway'].includes(P.START_GO??'')?P.START_GO:null;let v=!1,_=!1,M=!1;const N=[{id:'main',label:'Main menu'},{id:'specials',label:'Specials'},{id:'takeaway',label:'Takeaway'}];function L(){const{rid:e}=(0,i.useLocalSearchParams)(),o=(0,j.useRestaurant)(e),d=n.IS_WILDINGS?(0,B.jsx)(s.default,{}):n.IS_KIRKMICHAEL?(0,B.jsx)(t.default,{}):n.IS_SOUTERS?(0,B.jsx)(r.SoutersCustomerHome,{}):(0,B.jsx)(E,{});return!n.IS_WILDINGS&&o?.settings.hotel?.enabled?(0,B.jsx)(l.HotelRequestGate,{rid:e,hotel:o.settings.hotel,children:d}):d}function E(){const{rid:e}=(0,i.useLocalSearchParams)(),l=(0,j.useRestaurant)(e),t=(0,j.useMenu)(e),s=(0,j.useCustomer)(),n=(0,j.useBasket)(),r=(0,j.useStore)(e=>e.startBasket),L=(0,j.useNow)(3e4),[E,H]=(0,d.useState)('All'),[D,W]=(0,d.useState)(null),[G,K]=(0,d.useState)(!1),[F,Y]=(0,d.useState)(!1),[q,z]=(0,d.useState)('takeaway'===$?'takeaway':'main');u.default.useEffect(()=>{$&&!v&&(v=!0,'book'===$?setTimeout(()=>i.router.push(`/customer/${e}/book`),0):setTimeout(()=>{try{document.querySelector('[data-testid="menu-tabs"]')?.scrollIntoView({block:'start'})}catch{}},400))},[e]);const Q=(0,A.useSpecials)(l=>l.current[e]??null),V=!!Q&&(0,R.isToday)(Q.postedAt,L),U=(0,T.useOwner)(e=>e.offers.filter(e=>e.live).length),J=(0,j.useStore)(l=>l.stampCards.find(t=>t.restaurantId===e&&t.customerId===l.customer.id)),X=(0,I.useLiveTile)(e),Z=(0,C.guestServer)();u.default.useEffect(()=>{P.START_TABLE_TOKEN&&!M&&(M=!0,setTimeout(()=>i.router.push(`/table/live/${P.START_TABLE_TOKEN}`),0))},[e]),u.default.useEffect(()=>{P.START_LOYALTY_CODE&&!_&&(_=!0,setTimeout(()=>i.router.push(`/customer/${e}/loyalty`),0))},[e]);const ee=(0,j.useOrderAtTable)(e);if(u.default.useEffect(()=>{ee||n.restaurantId!==e||'table'!==n.mode||j.useStore.setState(e=>({basket:{...e.basket,mode:'takeaway',tableNo:void 0}}))},[ee,n.mode,n.restaurantId,e]),!l)return(0,B.jsx)(f.Screen,{title:"Not found",children:(0,B.jsx)(f.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'!==q||se(e))),ne=(0,x.hoursFor)(l,L),re=e=>()=>i.router.push(`/customer/${l.id}${e}`),oe=[{icon:'box',label:'Takeaway',sub:'Order to collect',on:()=>{H('All'),z('takeaway'),le&&r(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:()=>i.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)(f.Screen,{title:l.name,subtitle:`${l.location}${l.phone?` \xb7 ${l.phone}`:''}`,back:'customer'!==S.APP_VARIANT,right:(0,B.jsxs)(f.Row,{children:[(0,B.jsx)(p.BasketButton,{}),(0,B.jsx)(f.Button,{small:!0,kind:"ghost",label:"Account",onPress:()=>i.router.push('/customer/profile')})]}),children:[l.fictional?(0,B.jsx)(f.Banner,{kind:"warn",title:"Fictional demo restaurant",children:"Shown only to demonstrate multi-restaurant support."}):null,le?(0,B.jsx)(f.Banner,{kind:"success",title:`Ordering at ${(0,o.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)(f.Card,{children:(0,B.jsxs)(f.Row,{style:{justifyContent:'space-between'},children:[(0,B.jsxs)(b.default,{style:{flex:1},children:[(0,B.jsx)(f.T,{weight:"semibold",children:"Takeaway \u2014 collection"}),(0,B.jsxs)(f.Muted,{children:[ne?`Kitchen today ${(0,x.kitchenHoursOn)(l,L)[0]}\u2013${(0,x.kitchenHoursOn)(l,L)[1]}`:'Kitchen closed today',l.settings.takeawayPaused?' \xb7 slots paused by the restaurant':'']})]}),(0,B.jsx)(f.Badge,{kind:l.settings.takeawayPaused||!ne?'amber':'ok',label:l.settings.takeawayPaused?'Paused':ne?'Taking orders':'Closed'})]})}),l.fictional?(0,B.jsx)(f.Row,{wrap:!0,gap:8,children:oe.slice(2,7).map(e=>(0,B.jsx)(f.Button,{small:!0,kind:"secondary",label:e.label,onPress:e.on},e.label))}):(0,B.jsx)(b.default,{style:{flexDirection:'row',flexWrap:'wrap',gap:8},children:oe.map(e=>(0,B.jsx)(w.HubTile,{icon:e.icon,label:e.label,sub:e.sub,badge:e.badge,onPress:e.on},e.label))}),le?(0,B.jsx)(f.Button,{small:!0,kind:"danger",label:"Call staff",onPress:()=>K(!0)}):null,G?(0,B.jsx)(f.Banner,{kind:"success",children:"We've told the staff on this device. Calling staff: not set up yet."}):null,l.hoursNote?(0,B.jsx)(f.Muted,{children:l.hoursNote}):null,l.fictional?null:(0,B.jsx)(f.ExampleAllergenNotice,{}),(0,B.jsxs)(f.Muted,{children:["Menu dishes and prices from ",l.name,"\u2019s menu. Items marked \u26a0 conflict with your declared allergies."]}),(0,B.jsx)(b.default,{accessibilityRole:"tablist",testID:"menu-tabs",style:{flexDirection:'row',gap:6,backgroundColor:k.colours.surface,borderRadius:14,borderWidth:1,borderColor:k.colours.border,padding:4},children:N.map(e=>{const l=q===e.id;return(0,B.jsxs)(c.default,{testID:`menu-tab-${e.id}`,accessibilityRole:"tab",accessibilityState:{selected:l},"aria-selected":l,accessibilityLabel:'specials'===e.id&&V?'Specials, updated today':e.label,onPress:()=>z(e.id),style:{flex:1,minHeight:44,borderRadius:10,alignItems:'center',justifyContent:'center',paddingHorizontal:4,backgroundColor:l?k.colours.gold:'transparent'},children:[(0,B.jsx)(f.T,{size:14,weight:"semibold",colour:l?k.colours.onGold:k.colours.text,center:!0,children:e.label}),'specials'===e.id&&V&&!l?(0,B.jsx)(b.default,{style:{position:'absolute',top:6,right:8,width:7,height:7,borderRadius:4,backgroundColor:k.colours.gold}}):null]},e.id)})}),'specials'===q?(0,B.jsx)(O.SpecialsTab,{rid:l.id,declared:s.allergies,now:L}):null,'takeaway'===q?(0,B.jsx)(f.Muted,{children:"Order to collect. Only dishes available to order online are shown; pick a collection slot at checkout."}):null,'specials'!==q?(0,B.jsxs)(f.Row,{wrap:!0,gap:6,children:[(0,B.jsx)(f.Chip,{label:"All",selected:'All'===E,onPress:()=>H('All')}),te.map(e=>(0,B.jsx)(f.Chip,{label:e,selected:E===e,onPress:()=>H(e)},e))]}):null,'specials'!==q?te.filter(e=>('All'===E||e===E)&&ae.some(l=>l.section===e)).map(e=>(0,B.jsxs)(b.default,{style:{gap:10},children:[(0,B.jsx)(f.H2,{style:{color:k.colours.gold,marginTop:6},children:e}),ae.filter(l=>l.section===e).map(e=>{const t=(0,m.conflictsFor)(e.allergens,s.allergies),o=e.soldOut||!e.signOff||null===e.price;return(0,B.jsxs)(f.Card,{highlight:t.contains.length?k.colours.red:t.may.length?k.colours.amber:void 0,children:[(0,B.jsxs)(c.default,{accessibilityRole:"button",onPress:()=>{n.restaurantId&&n.restaurantId===l.id||r(l.id,'takeaway'),i.router.push(`/customer/${l.id}/dish/${e.id}`)},children:[(0,B.jsxs)(f.Row,{style:{justifyContent:'space-between',alignItems:'flex-start'},children:[(0,B.jsx)(f.T,{weight:"semibold",style:{flex:1,paddingRight:8},children:e.name}),(0,B.jsx)(f.T,{weight:"semibold",colour:k.colours.gold,children:null===e.price?e.priceNote??'\u2014':(0,y.gbp)(e.price)})]}),(0,B.jsx)(f.Muted,{numberOfLines:2,children:e.description})]}),(0,B.jsxs)(f.Row,{wrap:!0,gap:6,children:[e.dietary.map(e=>(0,B.jsx)(f.Badge,{kind:"ok",label:e},e)),e.special?(0,B.jsx)(f.Badge,{kind:"gold",label:"Special"}):null,e.soldOut?(0,B.jsx)(f.Badge,{kind:"neutral",label:"Sold out"}):null,e.signOff?null:(0,B.jsx)(f.Badge,{kind:"amber",label:"Awaiting allergen sign-off"}),t.contains.length?(0,B.jsx)(f.Badge,{kind:"red",label:"\u26a0 Contains your allergen"}):t.may.length?(0,B.jsx)(f.Badge,{kind:"amber",label:"\u26a0 May contain your allergen"}):null]}),(0,B.jsx)(h.AllergenChips,{map:e.allergens,declared:s.allergies}),D===e.id?(0,B.jsx)(h.AllergenPanel,{item:e,map:e.allergens,declared:s.allergies}):null,(0,B.jsxs)(f.Row,{gap:8,children:[(0,B.jsx)(f.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)(b.default,{style:{flex:1}}),(0,B.jsx)(f.Button,{small:!0,label:o?e.soldOut?'Sold out':'Not available online':'Choose',disabled:o,onPress:()=>{n.restaurantId&&n.restaurantId===l.id||r(l.id,'takeaway'),i.router.push(`/customer/${l.id}/dish/${e.id}`)}})]})]},e.id)})]},e)):null,(0,B.jsx)(f.Muted,{children:"Drinks list coming soon. Ask your server for today\u2019s drinks."}),(0,B.jsx)(f.Muted,{children:"Card payments: not set up yet. Pay at the till as usual."}),(0,B.jsx)(w.LauncherLine,{}),ee?(0,B.jsxs)(f.Sheet,{visible:F,onClose:()=>Y(!1),title:"Order at your table",children:[(0,B.jsx)(f.Muted,{children:"Scan the QR code on your table with your phone camera, or pick your table number."}),(0,B.jsx)(f.Row,{wrap:!0,gap:6,children:Array.from({length:12},(e,l)=>String(l+1)).map(e=>(0,B.jsx)(f.Button,{small:!0,kind:"secondary",label:`${(0,o.tableNumbers)(e)}`,onPress:()=>{Y(!1),r(l.id,'table',e)}},e))}),(0,B.jsx)(f.Muted,{children:"Orders go straight to the kitchen. Card payments: not set up yet. Pay at the till as usual."})]}):null]})}},776,[832,834,837,6,842,803,799,25,117,258,122,824,825,808,809,811,810,814,816,843,801,844,840,845,846,847,848,831,19]);
2
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.HotelRequestGate=function({rid:e,hotel:l,children:c}){const[h,f]=(0,t.useState)(!1);return l?.enabled?(0,u.jsxs)(o.default,{style:{flex:1},children:[c,(0,u.jsx)(o.default,{style:{padding:12},children:(0,u.jsx)(s.Button,{label:"Book a room",onPress:()=>f(!0)})}),(0,u.jsx)(s.Sheet,{visible:h,onClose:()=>f(!1),title:"Room request",children:(0,u.jsx)(n.VenueRequestForm,{rid:e,kind:"room",hotel:l,onClose:()=>f(!1)})})]}):(0,u.jsx)(u.Fragment,{children:c})};var e,t=r(d[0]),l=r(d[1]),o=(e=l)&&e.__esModule?e:{default:e},s=r(d[2]),n=r(d[3]),u=r(d[4])},832,[25,122,808,833,19]);
3
+ __d(function(g,_r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.VenueRequestForm=function({rid:e,kind:s,hotel:r,onClose:p}){const[x,b]=(0,t.useState)({name:'',phone:'',email:'',notes:'',date:(0,u.localDate)(),service:'Lunch',time:'12:00',covers:2,checkIn:(0,u.localDate)(),checkOut:'',roomType:r?.roomTypes[0]?.id,guests:2,addDinner:!1}),j=e=>b(t=>({...t,...e})),[T,k]=(0,t.useState)(''),[D,q]=(0,t.useState)(''),[v,C]=(0,t.useState)(null),[f,I]=(0,t.useState)(''),[w,S]=(0,t.useState)(!1),[Y,B]=(0,t.useState)(!1),N=(0,t.useRef)(!1);(0,t.useEffect)(()=>{let t=!0;return(0,c.requestChallenge)(e,s).then(e=>{t&&C(e)}).catch(e=>{t&&I((0,c.requestMessage)(e))}),()=>{t=!1}},[e,s]);const P=async()=>{if(N.current)return;const t=(0,u.requestError)(s,x,r);if(t)I(t);else if(v&&T.trim()){N.current=!0,B(!0),I('');try{await(0,c.sendVenueRequest)(e,s,x,v.id,T,D),S(!0)}catch(e){I((0,c.requestMessage)(e))}finally{N.current=!1,B(!1)}}else I('Complete the security check.')},z={minHeight:48,fontSize:18,color:l.colours.text};return(0,h.jsxs)(n.default,{testID:`venue-${s}-form`,style:{gap:16},children:[(0,h.jsx)(o.H2,{children:'table'===s?'Book a table':'Book a room'}),(0,h.jsx)(o.T,{size:18,children:"No deposit. No payment. This is a request, not an instant confirmation."}),w?(0,h.jsx)(o.Banner,{kind:"info",title:"Request sent. The hotel will contact you to confirm.",children:"Nothing has been charged. No email or text is sent by this app."}):(0,h.jsxs)(h.Fragment,{children:['table'===s?(0,h.jsxs)(h.Fragment,{children:[(0,h.jsx)(y,{label:"Date (YYYY-MM-DD)",testID:"request-date",value:x.date,onChangeText:e=>j({date:e}),placeholder:"2026-11-20",style:z}),(0,h.jsx)(o.Row,{wrap:!0,children:['Lunch','Dinner'].map(e=>(0,h.jsx)(o.Button,{testID:`request-service-${e.toLowerCase()}`,label:e+(x.service===e?' \xb7 selected':''),kind:x.service===e?'primary':'secondary',onPress:()=>j({service:e,time:'Lunch'===e?'12:00':'18:00'})},e))}),(0,h.jsx)(o.T,{size:18,weight:"semibold",children:"Time within kitchen hours"}),(0,h.jsx)(o.Row,{wrap:!0,children:(0,u.requestSlots)(x.date||'',x.service||'Lunch').map(e=>(0,h.jsx)(o.Button,{testID:`request-time-${e.replace(':','')}`,label:e+(x.time===e?' \xb7 selected':''),kind:x.time===e?'primary':'secondary',onPress:()=>j({time:e})},e))}),(0,h.jsx)(y,{label:"Covers",testID:"request-covers",keyboardType:"number-pad",value:String(x.covers??''),onChangeText:e=>j({covers:Number(e)}),style:z})]}):(0,h.jsxs)(h.Fragment,{children:[(0,h.jsxs)(o.T,{size:18,children:[r?.bedrooms," bedrooms. ",r?.priceNote,"."]}),(0,h.jsx)(y,{label:"Check-in date (YYYY-MM-DD)",testID:"request-check-in",value:x.checkIn,onChangeText:e=>j({checkIn:e}),style:z}),(0,h.jsx)(y,{label:"Check-out date (YYYY-MM-DD)",testID:"request-check-out",value:x.checkOut,onChangeText:e=>j({checkOut:e}),style:z}),(0,h.jsx)(o.T,{size:18,weight:"semibold",children:"Room type"}),r?.roomTypes.map(e=>(0,h.jsx)(o.Button,{testID:`request-room-${e.id}`,label:`${e.name} \xb7 ${e.from?'from ':''}\xa3${e.pricePence/100} \xb7 ${r.breakfast}${x.roomType===e.id?' \xb7 selected':''}`,kind:x.roomType===e.id?'primary':'secondary',onPress:()=>j({roomType:e.id})},e.id)),(0,h.jsx)(y,{label:"Guests",testID:"request-guests",keyboardType:"number-pad",value:String(x.guests??''),onChangeText:e=>j({guests:Number(e)}),style:z}),(0,h.jsx)(o.Button,{testID:"request-add-dinner",label:"Add dinner \xb7 "+(x.addDinner?'Yes':'No'),kind:x.addDinner?'primary':'secondary',onPress:()=>j({addDinner:!x.addDinner})}),(0,h.jsx)(o.T,{size:18,children:"The hotel will arrange dinner details with you."})]}),(0,h.jsx)(y,{label:"Name",testID:"request-name",autoComplete:"name",value:x.name,onChangeText:e=>j({name:e}),style:z}),(0,h.jsx)(y,{label:"Phone",testID:"request-phone",keyboardType:"phone-pad",autoComplete:"tel",value:x.phone,onChangeText:e=>j({phone:e}),style:z}),(0,h.jsx)(y,{label:"Email",testID:"request-email",keyboardType:"email-address",autoCapitalize:"none",autoComplete:"email",value:x.email,onChangeText:e=>j({email:e}),style:z}),(0,h.jsx)(y,{label:'table'===s?'Notes (allergies, occasion)':'Notes',testID:"request-notes",multiline:!0,maxLength:2e3,value:x.notes,onChangeText:e=>j({notes:e}),style:z}),(0,h.jsx)(n.default,{style:{display:'none'},accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",children:(0,h.jsx)(y,{label:"Leave this empty",value:D,onChangeText:q})}),v?(0,h.jsx)(y,{label:`Security check: ${v.question} = ?`,testID:"request-answer",keyboardType:"number-pad",value:T,onChangeText:k,style:z}):(0,h.jsx)(o.T,{size:18,children:"Preparing security check\u2026"}),f?(0,h.jsx)(o.Banner,{kind:"warn",title:"Please check your request",children:f}):null,(0,h.jsx)(o.Button,{testID:"request-submit",label:Y?'Sending request\u2026':'Send request',disabled:Y||!v,onPress:()=>{P()}})]}),(0,h.jsx)(o.Button,{kind:"secondary",label:w?'Back to the hotel':'Back to Customer home',onPress:p})]})};var e,t=_r(d[0]),s=_r(d[1]),n=(e=s)&&e.__esModule?e:{default:e},r=_r(d[2]),o=_r(d[3]),l=_r(d[4]),u=_r(d[5]),c=_r(d[6]),h=_r(d[7]);function y({label:e,...t}){return(0,h.jsxs)(n.default,{style:{gap:6},children:[(0,h.jsx)(o.T,{size:18,weight:"semibold",children:e}),(0,h.jsx)(r.TextInput,{accessibilityLabel:e,placeholderTextColor:l.colours.muted,...t,style:[{minHeight:48,fontSize:18,color:l.colours.text,backgroundColor:l.colours.surface2,borderWidth:1,borderColor:l.colours.border,borderRadius:12,padding:12},t.multiline?{minHeight:96,textAlignVertical:'top'}:null,t.style]})]})}},833,[25,122,849,808,816,5,850,19]);
4
+ __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')}})]})}},834,[851,25,234,122,808,852,7,835,811,19]);
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,"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},835,[853,854,836]);
6
+ __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}},836,[]);
7
+ __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 n=r(d[0]),s=r(d[1]),t=e(r(d[2])),o=e(r(d[3])),l=r(d[4]),c=r(d[5]),u=r(d[6]),h=r(d[7]),j=r(d[8]),b=r(d[9]);function f(){const[e,f]=(0,s.useState)(null);return e?(0,b.jsx)(l.Screen,{title:u.WILDINGS_RESTAURANT.name,back:!1,children:(0,b.jsx)(n.VenueRequestForm,{rid:"wildings",kind:e,hotel:u.WILDINGS_RESTAURANT.settings.hotel,onClose:()=>f(null)})}):(0,b.jsxs)(l.Screen,{title:u.WILDINGS_RESTAURANT.name,back:!1,children:[(0,b.jsx)(c.RestaurantHero,{rid:"wildings",size:240}),(0,b.jsx)(l.T,{center:!0,children:u.WILDINGS_RESTAURANT.tagline}),(0,b.jsxs)(o.default,{style:{gap:12},children:[(0,b.jsx)(l.Button,{testID:"wildings-book-table",label:"Book a table",onPress:()=>f('table')}),(0,b.jsx)(l.Button,{testID:"wildings-book-room",label:"Book a room",onPress:()=>f('room')})]}),(0,b.jsxs)(l.Row,{wrap:!0,children:[(0,b.jsx)(l.Button,{testID:"wildings-book-phone",kind:"secondary",label:"Call 01655 331 401",onPress:()=>{t.default.openURL(u.WILDINGS_BOOKING_PHONE)}}),(0,b.jsx)(l.Button,{testID:"wildings-book-email",kind:"secondary",label:"Email to book",onPress:()=>{t.default.openURL(u.WILDINGS_BOOKING_EMAIL)}})]}),(0,b.jsx)(o.default,{testID:"wildings-kitchen-hours",children:(0,b.jsxs)(l.Card,{children:[(0,b.jsx)(l.H2,{children:"Kitchen hours"}),(0,b.jsx)(l.T,{children:"Lunch Monday to Saturday: 12:00\u201314:00"}),(0,b.jsx)(l.T,{children:"Sunday lunch: 12:00\u201314:30"}),(0,b.jsx)(l.T,{children:"Dinner every day: 18:00\u201321:00"}),(0,b.jsx)(l.Muted,{children:"Closed between lunch and dinner. Bar hours to confirm."}),(0,b.jsx)(l.T,{children:u.WILDINGS_RESTAURANT.address}),(0,b.jsx)(l.Button,{kind:"secondary",testID:"wildings-directions",label:"Find us \u2014 directions",accessibilityLabel:"Open directions to Wildings, Maidens, KA26 9NR",onPress:()=>{t.default.openURL('https://www.google.com/maps/dir/?api=1&destination='+encodeURIComponent(u.WILDINGS_RESTAURANT.address??u.WILDINGS_RESTAURANT.location))}})]})}),(0,b.jsx)(l.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,b.jsx)(l.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,b.jsx)(l.Muted,{children:"Requests need confirmation from the hotel. Online ordering, takeaway and loyalty are not enabled here."}),h.WILDINGS_REFERENCE_MENU.menus.map(e=>(0,b.jsxs)(o.default,{style:{gap:10},children:[(0,b.jsx)(l.H2,{children:e.name}),e.setPrices?(0,b.jsxs)(l.T,{children:[Object.entries(e.setPrices).map(([e,n])=>`${e}: ${(0,j.gbp)(Math.round(100*Number(n)))}`).join(' \xb7 ')," \xb7 unconfirmed"]}):null,e.categories.map(e=>(0,b.jsxs)(l.Card,{children:[(0,b.jsx)(l.T,{weight:"semibold",children:e.name}),e.items.map(e=>(0,b.jsx)(l.Muted,{children:e.name},e.name)),(0,b.jsx)(l.Muted,{children:"Reference only \xb7 prices and allergens: ask the venue"})]},e.name))]},e.id)),(0,b.jsx)(l.Button,{kind:"secondary",label:"View published menus on our website",onPress:()=>{t.default.openURL('https://www.wildingshotel.com/team')}})]})}},837,[833,25,234,122,808,852,4,838,811,19]);
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,"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},838,[853,855,839]);
9
+ __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}},839,[]);
10
+ __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]})})}},840,[856,25,191,251,258,146,122,824,808,845,809,846,813,816,19,841]);
11
+ __d(function(g,r,i,a,m,e,d){"use strict";m.exports={uri:"/kirkmichael/display-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg",width:900,height:1200,toString(){return this.uri}}},841,[]);
kirkmichael/display-app/_expo/static/js/web/lost-21e5876042b926d047772698583f5f85.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 u}});var t=_r(d[0]),n=_r(d[1]),s=_r(d[2]),r=_r(d[3]),l=_r(d[4]),o=_r(d[5]);function u(){const{rid:u}=(0,t.useLocalSearchParams)(),h=(0,r.useRestaurant)(u),c=(0,r.useCustomer)(),x=(0,r.useNow)(6e4),j=(0,l.useOwner)(t=>t.lost),p=(0,l.useOwner)(t=>t.lostReports),[f,y]=(0,n.useState)(''),[w,b]=(0,n.useState)(''),[S,C]=(0,n.useState)(''),[R,v]=(0,n.useState)(!1);if(!h)return(0,o.jsx)(s.Screen,{title:"Not found",children:(0,o.jsx)(s.T,{children:"Restaurant not found."})});const O=p.filter(t=>t.contact.includes(c.email));return(0,o.jsxs)(s.Screen,{title:"Lost property",subtitle:h.name,children:[(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"Recently handed in"}),j.filter(t=>'held'===t.status).map(t=>(0,o.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,o.jsx)(s.T,{style:{flex:1},children:t.item}),(0,o.jsx)(s.Muted,{children:t.foundAt.slice(0,10)})]},t.id)),j.some(t=>'held'===t.status)?null:(0,o.jsx)(s.Muted,{children:"Nothing handed in right now."}),(0,o.jsx)(s.Muted,{children:"To collect, bring ID or describe the item to staff. Items are kept for 3 months."})]}),R?(0,o.jsxs)(s.Banner,{kind:"success",children:["Report sent to ",h.name,". They'll be in touch if it turns up (sent to the venue on this device only: messaging is not set up yet)."]}):null,(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"Lost something?"}),(0,o.jsx)(s.Field,{label:"What did you lose?",value:f,onChangeText:y,placeholder:"e.g. Grey scarf"}),(0,o.jsx)(s.Field,{label:"When were you in?",value:w,onChangeText:b,placeholder:"e.g. Saturday evening"}),(0,o.jsx)(s.Field,{label:"Where were you sitting? (optional)",value:S,onChangeText:C,placeholder:"e.g. By the window"}),(0,o.jsxs)(s.Muted,{children:["We'll share your name and email (",c.email,") with ",h.name," for this report only."]}),(0,o.jsx)(s.Button,{label:"Send report",disabled:f.trim().length<2||w.trim().length<2,onPress:()=>{l.useOwner.getState().setOwner({lostReports:[{id:`lr-${Date.now()}`,item:f.trim(),when:w.trim(),where:S.trim()||'Not sure',contact:`${c.name} \xb7 ${c.email}`,at:x.toISOString(),status:'open'},...l.useOwner.getState().lostReports]}),y(''),b(''),C(''),v(!0)}})]}),O.length?(0,o.jsxs)(s.Card,{children:[(0,o.jsx)(s.H2,{children:"Your reports"}),O.map(t=>(0,o.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,o.jsxs)(s.T,{style:{flex:1},children:[t.item," \xb7 ",t.when]}),(0,o.jsx)(s.Badge,{kind:'matched'===t.status?'ok':'open'===t.status?'amber':'neutral',label:'matched'===t.status?'Found!':'open'===t.status?'Looking':'Closed'})]},t.id))]}):null]})}},777,[799,25,808,814,844,19]);
kirkmichael/display-app/_expo/static/js/web/loyalty-5a2cf673920052ad162b0746e97ff45f.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 j}});var e=_r(d[0]),r=_r(d[1]);_r(d[2]);var s,t=_r(d[3]),n=(s=t)&&s.__esModule?s:{default:s},i=_r(d[4]),o=_r(d[5]),l=_r(d[6]),c=_r(d[7]),u=_r(d[8]),h=_r(d[9]),p=_r(d[10]),f=_r(d[11]);function j(){const{rid:s}=(0,r.useLocalSearchParams)(),t=(0,c.useRestaurant)(s);return e.LIVE_VENUE_BUILD||(0,p.guestServer)()?t?(0,f.jsx)(h.LoyaltyLive,{slug:s,venue:t.name}):(0,f.jsx)(o.Screen,{title:"Not found",children:(0,f.jsx)(o.T,{children:"Restaurant not found."})}):(0,f.jsx)(x,{})}function x(){const{rid:e}=(0,r.useLocalSearchParams)(),s=(0,c.useRestaurant)(e),t=(0,c.useCustomer)(),h=(0,c.useStampCard)(e);if(!s)return(0,f.jsx)(o.Screen,{title:"Not found",children:(0,f.jsx)(o.T,{children:"Restaurant not found."})});const p=s.settings.stampTarget,j=h?.stamps??0;return(0,f.jsxs)(o.Screen,{title:"Stamp card",subtitle:`${s.name} \u2014 this card is just for ${s.name}`,children:[(0,f.jsx)(o.Banner,{kind:"example",title:"Example card (demo)",children:"On a real venue your card is saved by the venue and is the same on any phone."}),(0,f.jsxs)(o.Card,{highlight:u.colours.gold,children:[(0,f.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,f.jsxs)(o.H2,{children:[j," of ",p," stamps"]}),(0,f.jsxs)(o.T,{colour:u.colours.gold,weight:"semibold",children:["Reward: ",s.settings.stampReward]})]}),(0,f.jsx)(n.default,{style:{flexDirection:'row',flexWrap:'wrap',gap:10,justifyContent:'center',paddingVertical:8},children:Array.from({length:p}).map((e,r)=>(0,f.jsx)(n.default,{accessibilityLabel:r<j?'Stamp collected':'Empty stamp',style:{width:52,height:52,borderRadius:26,borderWidth:2,borderColor:u.colours.gold,backgroundColor:r<j?u.colours.gold:'transparent',alignItems:'center',justifyContent:'center'},children:(0,f.jsx)(o.T,{size:22,colour:r<j?u.colours.onGold:u.colours.border,children:"\u2605"})},r))}),(0,f.jsxs)(o.Muted,{children:["One stamp per paid visit or order over ",(0,l.gbp)(s.settings.stampMinSpend)," \u2014 dine-in, table QR or takeaway. Rewards are funded by ",s.name,"."]}),h?.rewardsAvailable?(0,f.jsx)(o.Banner,{kind:"success",title:`${h.rewardsAvailable} reward${h.rewardsAvailable>1?'s':''} ready: ${s.settings.stampReward}`,children:(0,f.jsx)(o.Button,{small:!0,label:"Use reward (show staff)",onPress:()=>c.repo.loyalty.redeemReward(s.id,t.id)})}):null]}),(0,f.jsxs)(o.Card,{children:[(0,f.jsx)(o.H2,{children:"Show this to staff"}),(0,f.jsx)(o.Muted,{children:"Staff scan this on the tablet to add a stamp for dine-in visits not paid by table QR."}),(0,f.jsx)(i.QR,{value:`covercharge:stamp:${s.id}:${t.id}`,size:190}),(0,f.jsx)(o.T,{center:!0,weight:"semibold",children:t.name})]}),(0,f.jsxs)(o.Card,{children:[(0,f.jsx)(o.H2,{children:"Bring a friend"}),(0,f.jsx)(o.T,{children:"Your referral code"}),(0,f.jsx)(o.T,{size:28,weight:"bold",colour:u.colours.gold,center:!0,children:t.referralCode}),(0,f.jsx)(o.Muted,{children:"When a friend completes their first qualifying paid visit or order, you both get a stamp. One referral reward per new account, phone and card; monthly cap applies."})]}),(0,f.jsxs)(o.Card,{children:[(0,f.jsx)(o.H2,{children:"History"}),(h?.history??[]).length?h.history.slice(0,10).map((e,r)=>(0,f.jsxs)(o.Muted,{children:[e.at.slice(0,10)," \xb7 ",e.source]},r)):(0,f.jsx)(o.Muted,{children:"No stamps yet."})]}),(0,f.jsx)(o.Muted,{children:"Rewards are kept on food (Scottish licensing rules restrict drinks promotions). Stamps are never given for reviews."})]})}},778,[828,799,25,122,857,808,811,814,816,848,831,19]);
kirkmichael/display-app/_expo/static/js/web/merch-72d475c671dd41bd3b0feaaadd7c454f.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 y}});var e,t=_r(d[0]),n=_r(d[1]),s=_r(d[2]),l=_r(d[3]),r=(e=l)&&e.__esModule?e:{default:e},u=_r(d[4]),o=_r(d[5]),c=_r(d[6]),m=_r(d[7]),h=_r(d[8]),j=_r(d[9]),x=_r(d[10]),f=_r(d[11]),b=_r(d[12]),p=_r(d[13]);function y(){const{rid:e}=(0,n.useLocalSearchParams)(),s=(0,c.useRestaurant)(e),l=(0,c.useCustomer)();return t.LIVE_VENUE_BUILD||(0,b.guestServer)()?s?(0,p.jsx)(f.ShopLive,{slug:e,venue:s.name,guestName:l.name}):(0,p.jsx)(o.Screen,{title:"Not found",children:(0,p.jsx)(o.T,{children:"Restaurant not found."})}):(0,p.jsx)(S,{})}function S(){const{rid:e}=(0,n.useLocalSearchParams)(),t=(0,c.useRestaurant)(e),l=(0,c.useCustomer)(),f=(0,c.useNow)(6e4),b=(0,m.useOwner)(e=>e.merch),[y,S]=(0,s.useState)({}),[k,w]=(0,s.useState)(null),[v,C]=(0,s.useState)(null);if(!t)return(0,p.jsx)(o.Screen,{title:"Not found",children:(0,p.jsx)(o.T,{children:"Restaurant not found."})});const $=b.find(e=>e.id===k),O=e=>y[e]??1;return(0,p.jsxs)(o.Screen,{title:"Shop",subtitle:`${t.name} merch \xb7 collect in the restaurant`,children:[v?(0,p.jsxs)(o.Banner,{kind:"success",title:"Order noted (no payment taken)",children:[v," Collect it at the bar on your next visit."]}):null,b.filter(e=>e.live||0===e.stock).map(e=>(0,p.jsxs)(o.Card,{children:[(0,p.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,p.jsxs)(r.default,{style:{flex:1},children:[(0,p.jsx)(o.T,{weight:"semibold",children:e.name}),(0,p.jsx)(o.T,{colour:x.colours.gold,weight:"semibold",children:(0,h.gbp)(e.price)})]}),0!==e.stock&&e.live?e.stock<8?(0,p.jsx)(o.Badge,{kind:"amber",label:`${e.stock} left`}):null:(0,p.jsx)(o.Badge,{kind:"neutral",label:"Sold out"})]}),e.live&&e.stock>0?(0,p.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,p.jsx)(o.Stepper,{value:O(e.id),min:1,max:Math.min(5,e.stock),onChange:t=>S({...y,[e.id]:t}),label:`${e.name} quantity`}),(0,p.jsx)(o.Button,{small:!0,label:`Buy \xb7 ${(0,h.gbp)(e.price*O(e.id))}`,onPress:()=>w(e.id)})]}):null]},e.id)),(0,p.jsxs)(o.Muted,{children:["Collection only. Prices set by ",t.name,"."]}),$?(0,p.jsx)(u.MockPay,{visible:!0,onClose:()=>w(null),amount:$.price*O($.id),restaurantId:t.id,allowGiftCard:!1,title:`Buy ${$.name}`,onPaid:()=>{const e=m.useOwner.getState();e.setOwner({merch:e.merch.map(e=>e.id===$.id?{...e,stock:Math.max(0,e.stock-O($.id))}:e),merchOrders:[{id:`mo-${Date.now()}`,productId:$.id,qty:O($.id),customer:l.name,at:(0,j.ymd)(f),status:'new'},...e.merchOrders]}),C(`${O($.id)} \xd7 ${$.name}, ${(0,h.gbp)($.price*O($.id))}.`),w(null)}}):null]})}},779,[828,799,25,122,829,808,814,844,811,813,816,830,831,19]);
kirkmichael/display-app/_expo/static/js/web/offers-4eccf23cc2bbeeea548f72df946db9b2.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 j}});var n=_r(d[0]),t=_r(d[1]);_r(d[2]);var s=_r(d[3]),r=_r(d[4]),o=_r(d[5]),l=_r(d[6]),c=_r(d[7]),u=_r(d[8]),f=_r(d[9]),h=_r(d[10]);function j(){const{rid:o}=(0,t.useLocalSearchParams)(),l=(0,r.useRestaurant)(o);return n.LIVE_VENUE_BUILD||(0,f.guestServer)()?l?(0,h.jsx)(u.OffersLive,{slug:o,venue:l.name}):(0,h.jsx)(s.Screen,{title:"Not found",children:(0,h.jsx)(s.T,{children:"Restaurant not found."})}):(0,h.jsx)(x,{})}function x(){const{rid:n}=(0,t.useLocalSearchParams)(),u=(0,r.useRestaurant)(n),f=(0,r.useCustomer)(),j=(0,o.useOwner)(n=>n.offers);if(!u)return(0,h.jsx)(s.Screen,{title:"Not found",children:(0,h.jsx)(s.T,{children:"Restaurant not found."})});const x=!!f.marketingOptIn[u.id],b=j.filter(n=>n.live),p=b.filter(n=>'special'===n.kind),y=b.filter(n=>'offer'===n.kind);return(0,h.jsxs)(s.Screen,{title:"Specials & offers",subtitle:u.name,children:[(0,h.jsxs)(s.Card,{highlight:x?c.colours.ok:c.colours.gold,children:[(0,h.jsx)(s.Toggle,{label:`Send me offers from ${u.name}`,value:x,onChange:n=>r.repo.customers.update({marketingOptIn:{...f.marketingOptIn,[u.id]:n}})}),(0,h.jsx)(s.Muted,{children:x?'You can switch this off any time. We only use it for this restaurant.':'Off by default. Turn on to see member offers and get the occasional notification (max one a week). You can switch it off any time.'})]}),(0,h.jsx)(s.H2,{children:"Today's specials"}),p.length?p.map(n=>(0,h.jsxs)(s.Card,{children:[(0,h.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,h.jsx)(s.T,{weight:"semibold",style:{flex:1},children:n.title}),(0,h.jsx)(s.Badge,{kind:"gold",label:"Special"})]}),(0,h.jsx)(s.Muted,{children:n.body})]},n.id)):(0,h.jsx)(s.Muted,{children:"No specials on the board right now."}),(0,h.jsx)(s.H2,{children:"Member offers"}),x?y.length?y.map(n=>(0,h.jsxs)(s.Card,{children:[(0,h.jsxs)(s.Row,{style:{justifyContent:'space-between'},children:[(0,h.jsx)(s.T,{weight:"semibold",style:{flex:1},children:n.title}),(0,h.jsx)(s.Badge,{kind:"ok",label:"Offer"})]}),(0,h.jsx)(s.Muted,{children:n.body}),n.until?(0,h.jsxs)(s.Muted,{children:["Until ",(0,l.niceDate)((0,l.parseYmd)(n.until))]}):null]},n.id)):(0,h.jsx)(s.Muted,{children:"No offers right now."}):(0,h.jsxs)(s.Banner,{kind:"info",children:["Turn on offers above to see ",y.length," member offer",1===y.length?'':'s',"."]}),(0,h.jsxs)(s.Muted,{children:["Offers are set by ",u.name,". Drinks promotions follow Scottish licensing rules. Demo: no notifications are sent."]})]})}},780,[828,799,25,808,814,844,813,816,848,831,19]);
kirkmichael/display-app/_expo/static/js/web/profile-6f6b6ac0782e467d04cb97d59ddf8386.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 y}});var e=_r(d[0]),r=_r(d[1]),s=_r(d[2]);_r(d[3]);var t,l=_r(d[4]),n=(t=l)&&t.__esModule?t:{default:t},a=_r(d[5]),o=_r(d[6]),u=_r(d[7]),c=_r(d[8]),h=_r(d[9]),p=_r(d[10]),b=_r(d[11]);function y(){const t=(0,h.useCustomer)(),l=(0,h.useStore)((0,p.useShallow)(e=>e.orders.filter(r=>r.customerId===e.customer.id))),y=(0,h.useStore)((0,p.useShallow)(e=>e.bookings.filter(r=>r.customerId===e.customer.id))),x=(0,h.useStore)(e=>e.restaurants),j=e=>x.find(r=>r.id===e)?.name??e;return(0,b.jsxs)(a.Screen,{title:"Your account",subtitle:"One CoverCharge account for every restaurant",children:[(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.Field,{label:"Name",value:t.name,onChangeText:e=>h.repo.customers.update({name:e})}),(0,b.jsx)(a.Field,{label:"Email",value:t.email,keyboardType:"email-address",onChangeText:e=>h.repo.customers.update({email:e})}),(0,b.jsx)(a.Field,{label:"Mobile",value:t.phone,keyboardType:"phone-pad",onChangeText:e=>h.repo.customers.update({phone:e})}),(0,b.jsx)(a.Muted,{children:(0,r.guestServer)()?'Your bring-a-friend code is on each restaurant\u2019s stamp card.':`Referral code: ${t.referralCode}`})]}),(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.H2,{children:"Allergies & severity"}),(0,b.jsx)(a.Muted,{children:"Stored once and shared with a restaurant only when you order or book there. You confirm them on every order, table session and booking."}),(0,b.jsx)(a.Toggle,{label:"I consent to CoverCharge storing my allergy information (health data, UK GDPR)",value:t.allergyConsent,onChange:e=>h.repo.customers.update({allergyConsent:e})}),t.allergyConsent?null:(0,b.jsx)(a.Banner,{kind:"warn",children:"Without consent your allergies won\u2019t be stored \u2014 tell staff directly."}),o.ALLERGENS.map(e=>{const r=t.allergies.find(r=>r.allergen===e.id);return(0,b.jsxs)(n.default,{style:{gap:6,paddingVertical:6},children:[(0,b.jsxs)(a.Row,{style:{justifyContent:'space-between'},children:[(0,b.jsx)(a.T,{weight:r?'semibold':'regular',children:e.label}),r?(0,b.jsx)(a.Badge,{kind:"red",label:"Declared"}):null]}),(0,b.jsxs)(a.Row,{wrap:!0,gap:6,children:[(0,b.jsx)(a.Chip,{label:"None",selected:!r,onPress:()=>h.repo.customers.setAllergy(e.id,null),disabled:!t.allergyConsent&&!r}),o.SEVERITIES.map(s=>(0,b.jsx)(a.Chip,{label:s.label,selected:r?.severity===s.id,disabled:!t.allergyConsent,onPress:()=>h.repo.customers.setAllergy(e.id,s.id)},s.id))]})]},e.id)})]}),(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.H2,{children:"Your orders"}),l.length?l.map(r=>(0,b.jsxs)(a.Row,{style:{justifyContent:'space-between'},children:[(0,b.jsxs)(a.T,{style:{flex:1},children:[r.ref," \xb7 ",j(r.restaurantId)," \xb7 ",'table'===r.type?`${(0,e.tableNumbers)(r.tableNo)}`:'Takeaway']}),(0,b.jsx)(a.Button,{small:!0,kind:"secondary",label:`${r.status} \xb7 ${(0,u.gbp)(r.subtotal+r.tip)}`,onPress:()=>s.router.push(`/customer/order/${r.id}`)})]},r.id)):(0,b.jsx)(a.Muted,{children:"No orders yet."})]}),(0,b.jsxs)(a.Card,{children:[(0,b.jsx)(a.H2,{children:"Your bookings"}),y.length?y.map(e=>(0,b.jsxs)(a.T,{children:[e.ref," \xb7 ",j(e.restaurantId)," \xb7 ",(0,c.niceDate)((0,c.parseYmd)(e.date))," ",e.time," \xb7 ",e.partySize," people \xb7 ",e.status]},e.id)):(0,b.jsx)(a.Muted,{children:"No bookings yet."})]}),(0,b.jsx)(a.Muted,{children:"Account deletion and data export would live here (Apple 5.1.1(v); Google web deletion link)."})]})}},787,[803,831,799,25,122,808,809,811,813,814,861,19]);
kirkmichael/display-app/_expo/static/js/web/refer-2834885cb2436fc846aa539a8b9d3e40.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 j}});var r=_r(d[0]),n=_r(d[1]),s=_r(d[2]),t=_r(d[3]),l=_r(d[4]),o=_r(d[5]),u=_r(d[6]),c=_r(d[7]),h=_r(d[8]),f=_r(d[9]);function j(){const{rid:s}=(0,n.useLocalSearchParams)(),o=(0,l.useRestaurant)(s);return r.LIVE_VENUE_BUILD||(0,h.guestServer)()?o?(0,f.jsx)(c.ReferLive,{slug:s,venue:o.name}):(0,f.jsx)(t.Screen,{title:"Not found",children:(0,f.jsx)(t.T,{children:"Restaurant not found."})}):(0,f.jsx)(x,{})}function x(){const{rid:r}=(0,n.useLocalSearchParams)(),c=(0,l.useRestaurant)(r),h=(0,l.useCustomer)(),j=(0,o.useOwner)(r=>r.referral),x=(0,o.useOwner)(r=>r.referrals),[p,w]=(0,s.useState)(!1);if(!c)return(0,f.jsx)(t.Screen,{title:"Not found",children:(0,f.jsx)(t.T,{children:"Restaurant not found."})});const b=x.filter(r=>r.referrer===h.name);return(0,f.jsxs)(t.Screen,{title:"Bring a friend",subtitle:c.name,children:[j.active?null:(0,f.jsxs)(t.Banner,{kind:"info",children:[c.name," isn't running referrals right now."]}),(0,f.jsxs)(t.Card,{highlight:u.colours.gold,children:[(0,f.jsxs)(t.H2,{children:["You get: ",j.giverReward]}),(0,f.jsxs)(t.T,{children:["Your friend gets: ",j.friendReward]}),(0,f.jsx)(t.Muted,{children:"When your friend makes their first paid visit or order."}),(0,f.jsx)(t.T,{size:30,weight:"bold",colour:u.colours.gold,center:!0,children:h.referralCode}),(0,f.jsx)(t.Button,{label:"Share my code",disabled:!j.active,onPress:()=>w(!0)}),p?(0,f.jsx)(t.Muted,{center:!0,children:"Demo: in the real app this opens your phone's share sheet. Nothing is sent from here."}):null]}),(0,f.jsxs)(t.Card,{children:[(0,f.jsx)(t.H2,{children:"Your referrals"}),b.length?b.map(r=>(0,f.jsxs)(t.Row,{style:{justifyContent:'space-between'},children:[(0,f.jsx)(t.T,{style:{flex:1},children:r.friend}),(0,f.jsx)(t.Badge,{kind:'rewarded'===r.status?'ok':'amber',label:r.status})]},r.id)):(0,f.jsx)(t.Muted,{children:"No referrals yet."})]}),(0,f.jsx)(t.Muted,{children:"One reward per new account, phone and card. Monthly cap applies. Rewards are on food, not drinks."})]})}},781,[828,799,25,808,814,844,816,848,831,19]);
kirkmichael/display-app/_expo/static/js/web/waitlist-c0c7cc6f4aa9ce3b713b13ed9346949a.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."})]})}},782,[799,25,808,813,858,859,814,816,19]);
kirkmichael/display-app/_expo/static/js/web/whatson-1558c0cfcbad93b781c72c279888a738.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 h}});var t=_r(_d[0]),l=_r(_d[1]),n=_r(_d[2]),s=e(_r(_d[3])),o=e(_r(_d[4])),a=_r(_d[5]),r=_r(_d[6]),d=_r(_d[7]),i=_r(_d[8]),u=_r(_d[9]);const c=e=>'bank-holiday'===e.kind?(0,u.jsx)(a.Badge,{kind:"blue",label:"Scottish bank holiday"}):'school-holiday'===e.kind?(0,u.jsx)(a.Badge,{kind:"neutral",label:"School holiday"}):'occasion'===e.kind?(0,u.jsx)(a.Badge,{kind:"gold",label:"Key dining date"}):(0,u.jsx)(a.Badge,{kind:"ok",label:"Restaurant event"});function h(){const{rid:e}=(0,t.useLocalSearchParams)(),h=(0,d.useRestaurant)(e),x=(0,d.useEvents)(e),y=(0,d.useNow)(6e4),[j,f]=(0,n.useState)(()=>new Date(y.getFullYear(),y.getMonth(),1)),[b,k]=(0,n.useState)(null);if(!h)return(0,u.jsx)(a.Screen,{title:"Not found",children:(0,u.jsx)(a.T,{children:"Restaurant not found."})});const p=(new Date(j).getDay()+6)%7,w=new Date(j.getFullYear(),j.getMonth()+1,0).getDate(),M=[...Array(p).fill(null),...Array.from({length:w},(e,t)=>new Date(j.getFullYear(),j.getMonth(),t+1))];for(;M.length%7;)M.push(null);const D=e=>x.filter(t=>t.date===e),v=x.filter(e=>e.date>=(0,r.ymd)(y)).sort((e,t)=>e.date.localeCompare(t.date)),S=b?D(b):v.slice(0,20);return(0,u.jsxs)(a.Screen,{title:"What\u2019s on",subtitle:`${h.name} \xb7 holidays, key dates and events`,children:[(0,u.jsxs)(a.Card,{children:[(0,u.jsxs)(a.Row,{style:{justifyContent:'space-between'},children:[(0,u.jsx)(a.Button,{small:!0,kind:"ghost",label:"\u2039 Prev",onPress:()=>f(new Date(j.getFullYear(),j.getMonth()-1,1))}),(0,u.jsxs)(a.H2,{children:[(0,r.monthLong)(j.getMonth())," ",j.getFullYear()]}),(0,u.jsx)(a.Button,{small:!0,kind:"ghost",label:"Next \u203a",onPress:()=>f(new Date(j.getFullYear(),j.getMonth()+1,1))})]}),(0,u.jsx)(o.default,{style:{flexDirection:'row'},children:['Mon','Tue','Wed','Thu','Fri','Sat','Sun'].map(e=>(0,u.jsx)(a.T,{size:13,colour:i.colours.muted,style:{flex:1,textAlign:'center'},children:e},e))}),Array.from({length:M.length/7}).map((e,t)=>(0,u.jsx)(o.default,{style:{flexDirection:'row'},children:M.slice(7*t,7*t+7).map((e,t)=>{if(!e)return(0,u.jsx)(o.default,{style:{flex:1,height:44}},t);const l=(0,r.ymd)(e),n=D(l),d=l===(0,r.ymd)(y);return(0,u.jsxs)(s.default,{accessibilityLabel:`${l}${n.length?`, ${n.length} events`:''}`,onPress:()=>k(b===l?null:l),style:{flex:1,height:44,alignItems:'center',justifyContent:'center',borderRadius:8,backgroundColor:b===l?i.colours.goldTint:'transparent',borderWidth:d?1:0,borderColor:i.colours.gold},children:[(0,u.jsx)(a.T,{size:15,colour:n.length?i.colours.text:i.colours.muted,weight:n.length?'semibold':'regular',children:e.getDate()}),(0,u.jsx)(a.Row,{gap:2,children:n.slice(0,3).map(e=>(0,u.jsx)(o.default,{style:{width:6,height:6,borderRadius:3,backgroundColor:'bank-holiday'===e.kind?i.colours.blue:'event'===e.kind?i.colours.ok:i.colours.gold}},e.id))})]},t)})},t))]}),(0,u.jsx)(a.H2,{children:b?(0,r.niceDateYear)((0,r.parseYmd)(b)):'Coming up'}),0===S.length?(0,u.jsx)(a.Muted,{children:"Nothing on this day."}):S.map(e=>(0,u.jsxs)(a.Card,{children:[(0,u.jsxs)(a.Row,{style:{justifyContent:'space-between'},children:[(0,u.jsx)(a.T,{weight:"semibold",style:{flex:1},children:(0,l.holidayName)(e.title)}),c(e)]}),(0,u.jsxs)(a.Muted,{children:[(0,r.niceDateYear)((0,r.parseYmd)(e.date)),e.source?` \xb7 source: ${e.source}`:'']}),(0,u.jsx)(a.T,{size:15,children:e.description}),e.example?(0,u.jsx)(a.Badge,{kind:"amber",label:"EXAMPLE EVENT"}):null,e.date>=(0,r.ymd)(y)?(0,u.jsx)(a.Button,{small:!0,kind:"secondary",label:"Book for this date",onPress:()=>t.router.push({pathname:'/customer/[rid]/book',params:{rid:h.id,date:e.date}})}):null]},e.id)),(0,u.jsx)(a.Muted,{children:"Bank holidays from gov.uk (Scotland division). Easter Monday is not a Scottish bank holiday; local council holidays vary."})]})}},783,[799,823,25,258,122,808,813,814,816,19]);
kirkmichael/display-app/display.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/display-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
- <script src="/kirkmichael/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/__common-31481082bd30719505ef3e035c5bccea.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/index-b2b05b8337dc63a4ee55162ecfce4466.js" defer></script>
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/display-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
+ <script src="/kirkmichael/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/__common-cef7395252dc08889a49ab97ee113c01.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/index-476e18dc28e830e7b928c358bfaf672b.js" defer></script>
39
  </body>
40
  </html>
kirkmichael/display-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/display-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
- <script src="/kirkmichael/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/__common-31481082bd30719505ef3e035c5bccea.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/index-b2b05b8337dc63a4ee55162ecfce4466.js" defer></script>
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/display-app/brand-hero-49dc0730ea9f262a.png" alt="The Kirkmichael Arms" width="180" height="180"></div></div>
38
+ <script src="/kirkmichael/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/__common-cef7395252dc08889a49ab97ee113c01.js" defer></script><script src="/kirkmichael/display-app/_expo/static/js/web/index-476e18dc28e830e7b928c358bfaf672b.js" defer></script>
39
  </body>
40
  </html>
kirkmichael/display-app/sw.js CHANGED
@@ -1,4 +1,4 @@
1
- const V="cc-kirkmichael-display-5816f1324945",B="/kirkmichael/display-app/",P=["/kirkmichael/display-app/apple-touch-icon.png", "/kirkmichael/display-app/favicon.ico", "/kirkmichael/display-app/icon-192.png", "/kirkmichael/display-app/icon-512.png", "/kirkmichael/display-app/brand-logo.png", "/kirkmichael/display-app/brand-logo-49dc0730ea9f262a.png", "/kirkmichael/display-app/brand-promo-0c6f924a45db0ac9.png", "/kirkmichael/display-app/apple-touch-icon-49dc0730ea9f262a.png", "/kirkmichael/display-app/icon-192-49dc0730ea9f262a.png", "/kirkmichael/display-app/index.html", "/kirkmichael/display-app/display.html", "/kirkmichael/display-app/brand-promo.png", "/kirkmichael/display-app/manifest.webmanifest", "/kirkmichael/display-app/manifest-49dc0730ea9f262a.webmanifest", "/kirkmichael/display-app/brand-hero.png", "/kirkmichael/display-app/icon-512-49dc0730ea9f262a.png", "/kirkmichael/display-app/brand-hero-49dc0730ea9f262a.png", "/kirkmichael/display-app/_expo/static/js/web/[section]-2a2a5d4ec75d398ca8d895dbbba9fc46.js", "/kirkmichael/display-app/_expo/static/js/web/waitlist-012c95df72e075ab7a3aa4cf4f6ddb1f.js", "/kirkmichael/display-app/_expo/static/js/web/+not-found-3412a34ce6456e3e034a9fa0d486525b.js", "/kirkmichael/display-app/_expo/static/js/web/demo-c92768667d2bd0f6a81b9f923e922191.js", "/kirkmichael/display-app/_expo/static/js/web/index-f19ee9c2cbf8dad7b4eec3052ef2d876.js", "/kirkmichael/display-app/_expo/static/js/web/index-d7fbe10cafb1ae5ffa7ca1170f702905.js", "/kirkmichael/display-app/_expo/static/js/web/gift-af23ed019d9410c05157799b0e09197e.js", "/kirkmichael/display-app/_expo/static/js/web/merch-b95c09e2ca1fe800d7766320e7aaf6d1.js", "/kirkmichael/display-app/_expo/static/js/web/_layout-c7ce03a21417b54c4e086c9af75b2bef.js", "/kirkmichael/display-app/_expo/static/js/web/feedback-c755469647f28bf01f060d1006963a13.js", "/kirkmichael/display-app/_expo/static/js/web/index-5362c967da8ab897ec0878e9002f15ab.js", "/kirkmichael/display-app/_expo/static/js/web/[did]-059b11c3f8541c891197397a2af06c99.js", "/kirkmichael/display-app/_expo/static/js/web/loyalty-5f7656820b0c6405cbec077bafa6f62c.js", "/kirkmichael/display-app/_expo/static/js/web/offers-f0b4398d897763aab95267ff343524aa.js", "/kirkmichael/display-app/_expo/static/js/web/index-99bc07929bd1e529a8f417ce736afdd0.js", "/kirkmichael/display-app/_expo/static/js/web/index-6fa53ca23b4144fb4196c7f64ff91066.js", "/kirkmichael/display-app/_expo/static/js/web/profile-dd32b3377c646d6abc83a9804b0ab98f.js", "/kirkmichael/display-app/_expo/static/js/web/whatson-3097dd8b4503931176ce0c6ef5f4a125.js", "/kirkmichael/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/kirkmichael/display-app/_expo/static/js/web/[token]-ca9e32b4f4d078c010be920de989f77b.js", "/kirkmichael/display-app/_expo/static/js/web/__common-31481082bd30719505ef3e035c5bccea.js", "/kirkmichael/display-app/_expo/static/js/web/basket-77142a2b1b5a42fddc5d87c09136a040.js", "/kirkmichael/display-app/_expo/static/js/web/[oid]-3e22c8afdc3bf2eb54df441d0b9f5b10.js", "/kirkmichael/display-app/_expo/static/js/web/index-b2b05b8337dc63a4ee55162ecfce4466.js", "/kirkmichael/display-app/_expo/static/js/web/index-80aca9e8d00c6ff685d5ef1460511039.js", "/kirkmichael/display-app/_expo/static/js/web/book-e8ae9640a81f7171f35e7e3f7a33949a.js", "/kirkmichael/display-app/_expo/static/js/web/lost-f944905c2c732ff2c3d88b2c7ba3453d.js", "/kirkmichael/display-app/_expo/static/js/web/[n]-9d38fab186ecbf0b95c4713521dec474.js", "/kirkmichael/display-app/_expo/static/js/web/historicalBookingApi-a162baca232d738e1e2875a038ad18a3.js", "/kirkmichael/display-app/_expo/static/js/web/index-14ab46ad652b7dfd2db2dbdc75125a4e.js", "/kirkmichael/display-app/_expo/static/js/web/index-497f319dd9952f38d4342be23fc71e37.js", "/kirkmichael/display-app/_expo/static/js/web/refer-5f888e2e3ad4045986dc328a9237dcb4.js", "/kirkmichael/display-app/_expo/static/js/web/index-fd1b9b419421872d4ddf205bf87a07c0.js", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/kirkmichael/display-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/kirkmichael/display-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/kirkmichael/display-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/kirkmichael/display-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/kirkmichael/display-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/kirkmichael/display-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/kirkmichael/display-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/kirkmichael/display-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/kirkmichael/display-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/display-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/kirkmichael/display-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/display-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/kirkmichael/display-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/kirkmichael/display-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/kirkmichael/display-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,{cache:'reload'}).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-display-')&&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-display-e56d5274fe3f",B="/kirkmichael/display-app/",P=["/kirkmichael/display-app/apple-touch-icon.png", "/kirkmichael/display-app/favicon.ico", "/kirkmichael/display-app/icon-192.png", "/kirkmichael/display-app/icon-512.png", "/kirkmichael/display-app/brand-logo.png", "/kirkmichael/display-app/brand-logo-49dc0730ea9f262a.png", "/kirkmichael/display-app/brand-promo-0c6f924a45db0ac9.png", "/kirkmichael/display-app/apple-touch-icon-49dc0730ea9f262a.png", "/kirkmichael/display-app/icon-192-49dc0730ea9f262a.png", "/kirkmichael/display-app/index.html", "/kirkmichael/display-app/display.html", "/kirkmichael/display-app/brand-promo.png", "/kirkmichael/display-app/manifest.webmanifest", "/kirkmichael/display-app/manifest-49dc0730ea9f262a.webmanifest", "/kirkmichael/display-app/brand-hero.png", "/kirkmichael/display-app/icon-512-49dc0730ea9f262a.png", "/kirkmichael/display-app/brand-hero-49dc0730ea9f262a.png", "/kirkmichael/display-app/_expo/static/js/web/index-55968b864270f8c0b2fd56d95d738105.js", "/kirkmichael/display-app/_expo/static/js/web/index-aae3d9f7860b489002d0aae115c2ebe8.js", "/kirkmichael/display-app/_expo/static/js/web/historicalBookingApi-9cb2182b71c7d59a10d37a10dec9dd9e.js", "/kirkmichael/display-app/_expo/static/js/web/index-c7b5797d8fc246d04926fc6eeb8bcbaa.js", "/kirkmichael/display-app/_expo/static/js/web/offers-4eccf23cc2bbeeea548f72df946db9b2.js", "/kirkmichael/display-app/_expo/static/js/web/index-278722b702aea5ed8c0be2fbfa13d349.js", "/kirkmichael/display-app/_expo/static/js/web/index-476e18dc28e830e7b928c358bfaf672b.js", "/kirkmichael/display-app/_expo/static/js/web/[token]-4e227b4d2ed72409442da3eb0bb15d6c.js", "/kirkmichael/display-app/_expo/static/js/web/gift-6295ae1f920911c0650429abf76f6927.js", "/kirkmichael/display-app/_expo/static/js/web/[did]-aa1f9793ba61b7027dc7b3794608c02b.js", "/kirkmichael/display-app/_expo/static/js/web/merch-72d475c671dd41bd3b0feaaadd7c454f.js", "/kirkmichael/display-app/_expo/static/js/web/book-7ccaf582608453fa41bd70c1422647e4.js", "/kirkmichael/display-app/_expo/static/js/web/[n]-2ad27b31427ee0b2228d775d0103110c.js", "/kirkmichael/display-app/_expo/static/js/web/waitlist-c0c7cc6f4aa9ce3b713b13ed9346949a.js", "/kirkmichael/display-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/kirkmichael/display-app/_expo/static/js/web/basket-795d67717030b0bc4db3584730208e8c.js", "/kirkmichael/display-app/_expo/static/js/web/_layout-f6ff118630388c9f729a9d3ea8d7e4aa.js", "/kirkmichael/display-app/_expo/static/js/web/__common-cef7395252dc08889a49ab97ee113c01.js", "/kirkmichael/display-app/_expo/static/js/web/index-e2fb2da868c40e525297858392efa815.js", "/kirkmichael/display-app/_expo/static/js/web/feedback-68afe9c95f4a0b4be7d7e264f0e4f114.js", "/kirkmichael/display-app/_expo/static/js/web/whatson-1558c0cfcbad93b781c72c279888a738.js", "/kirkmichael/display-app/_expo/static/js/web/index-e6c9f02a6fc166da85a6ce63c81d70f2.js", "/kirkmichael/display-app/_expo/static/js/web/refer-2834885cb2436fc846aa539a8b9d3e40.js", "/kirkmichael/display-app/_expo/static/js/web/profile-6f6b6ac0782e467d04cb97d59ddf8386.js", "/kirkmichael/display-app/_expo/static/js/web/loyalty-5a2cf673920052ad162b0746e97ff45f.js", "/kirkmichael/display-app/_expo/static/js/web/index-97045155f37081be51d923393ac06375.js", "/kirkmichael/display-app/_expo/static/js/web/lost-21e5876042b926d047772698583f5f85.js", "/kirkmichael/display-app/_expo/static/js/web/[oid]-67b1e8b4cc5576cba86cc6c5442d5fd6.js", "/kirkmichael/display-app/_expo/static/js/web/demo-5e158e96def3710de1590e6d53c4eb0d.js", "/kirkmichael/display-app/_expo/static/js/web/index-cd9c15ba311f505108c6e4a939ec4a4d.js", "/kirkmichael/display-app/_expo/static/js/web/index-0c443ec800fe594dba2afac8fee70a6b.js", "/kirkmichael/display-app/_expo/static/js/web/[section]-7e6b51e93a90c3125cf8ae4b0be4cad4.js", "/kirkmichael/display-app/_expo/static/js/web/+not-found-4d4303e173fe1eacdeea21b55b14713e.js", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/kirkmichael/display-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/kirkmichael/display-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/kirkmichael/display-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/kirkmichael/display-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/kirkmichael/display-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/kirkmichael/display-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/kirkmichael/display-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/kirkmichael/display-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/kirkmichael/display-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/kirkmichael/display-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/kirkmichael/display-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/display-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/kirkmichael/display-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/kirkmichael/display-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/kirkmichael/display-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/kirkmichael/display-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/kirkmichael/display-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,{cache:'reload'}).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-display-')&&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/get/chef.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Head Chef</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../chef-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Head Chef</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/chef-app/index.html">Open Head Chef</a></p><p>Open your complete private Android or iPhone link to sign in automatically.</p><small>v0.3.12.69</small></body></html>
 
1
+ <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Head Chef</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../chef-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Head Chef</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/chef-app/index.html">Open Head Chef</a></p><p>Open your complete private Android or iPhone link to sign in automatically.</p><small>v0.3.12.70</small></body></html>
kirkmichael/get/customer.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Customer</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../customer-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Customer</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/customer-app/index.html">Open Customer</a></p><p>No personal link or pairing code is included.</p><small>v0.3.12.69</small></body></html>
 
1
+ <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Customer</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../customer-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Customer</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/customer-app/index.html">Open Customer</a></p><p>No personal link or pairing code is included.</p><small>v0.3.12.70</small></body></html>
kirkmichael/get/display.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Display</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../display-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Display</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/display-app/index.html">Open Display</a></p><p>No personal link or pairing code is included.</p><small>v0.3.12.69</small></body></html>
 
1
+ <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Display</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../display-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Display</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/display-app/index.html">Open Display</a></p><p>No personal link or pairing code is included.</p><small>v0.3.12.70</small></body></html>
kirkmichael/get/managers.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Managers</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../owner-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Managers</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/owner-app/index.html">Open Managers</a></p><p>Open your complete private Android or iPhone link to sign in automatically.</p><small>v0.3.12.69</small></body></html>
 
1
+ <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Managers</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../owner-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Managers</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/owner-app/index.html">Open Managers</a></p><p>Open your complete private Android or iPhone link to sign in automatically.</p><small>v0.3.12.70</small></body></html>
kirkmichael/get/staff.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Staff</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../staff-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Staff</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/staff-app/index.html">Open Staff</a></p><p>Open your complete private Android or iPhone link to sign in automatically.</p><small>v0.3.12.69</small></body></html>
 
1
+ <!doctype html><html lang="en-GB"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>The Kirkmichael Arms · Staff</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'></head><body style="margin:0;background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="../staff-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms" style="display:block;width:100%;max-width:360px;height:auto"><h1>The Kirkmichael Arms · Staff</h1><p>Open in Safari or Chrome. Use the browser menu to add to your Home Screen.</p><p><a style="color:#B87754" href="/kirkmichael/staff-app/index.html">Open Staff</a></p><p>Open your complete private Android or iPhone link to sign in automatically.</p><small>v0.3.12.70</small></body></html>
kirkmichael/index.html CHANGED
@@ -1 +1 @@
1
- <!doctype html><html><head><meta charset="utf-8"><title>The Kirkmichael Arms · CoverCharge</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'><meta name="viewport" content="width=device-width,initial-scale=1"></head><body style="background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="customer-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms logo" style="width:100%;max-width:420px;height:auto"><h1>The Kirkmichael Arms</h1><p>CoverCharge venue apps</p><p><a style="color:#B87754" href="get/managers.html">Managers</a></p><p><a style="color:#B87754" href="get/staff.html">Staff</a></p><p><a style="color:#B87754" href="get/chef.html">Head Chef</a></p><p><a style="color:#B87754" href="get/display.html">Display</a></p><p><a style="color:#B87754" href="get/customer.html">Customer</a></p><small>v0.3.12.69</small></body></html>
 
1
+ <!doctype html><html><head><meta charset="utf-8"><title>The Kirkmichael Arms · CoverCharge</title><link rel='icon' type='image/png' href='/kirkmichael/customer-app/icon-192-49dc0730ea9f262a.png'><link rel='apple-touch-icon' href='/kirkmichael/customer-app/apple-touch-icon-49dc0730ea9f262a.png'><meta property='og:image' content='https://covercharge-apps.static.hf.space/kirkmichael/customer-app/brand-promo-0c6f924a45db0ac9.png'><meta name="viewport" content="width=device-width,initial-scale=1"></head><body style="background:#0B0B0B;color:#F5F1E8;font:18px system-ui;padding:32px"><img src="customer-app/brand-promo-0c6f924a45db0ac9.png" alt="The Kirkmichael Arms logo" style="width:100%;max-width:420px;height:auto"><h1>The Kirkmichael Arms</h1><p>CoverCharge venue apps</p><p><a style="color:#B87754" href="get/managers.html">Managers</a></p><p><a style="color:#B87754" href="get/staff.html">Staff</a></p><p><a style="color:#B87754" href="get/chef.html">Head Chef</a></p><p><a style="color:#B87754" href="get/display.html">Display</a></p><p><a style="color:#B87754" href="get/customer.html">Customer</a></p><small>v0.3.12.70</small></body></html>
kirkmichael/logo-revision.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "version": "v0.3.12.69",
3
  "assets": {
4
  "logo": {
5
  "sha256": "49dc0730ea9f262a80daceece5bcb106e30152ad3c5d8e67815479c3694d6f8a",
 
1
  {
2
+ "version": "v0.3.12.70",
3
  "assets": {
4
  "logo": {
5
  "sha256": "49dc0730ea9f262a80daceece5bcb106e30152ad3c5d8e67815479c3694d6f8a",
kirkmichael/owner-app/_expo/static/js/web/+not-found-4d4303e173fe1eacdeea21b55b14713e.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 c}});var t=r(d[0]);r(d[1]);var n=r(d[2]),u=r(d[3]);function c(){return(0,u.jsx)(t.Redirect,{href:n.ENTRY[n.APP_VARIANT]})}},796,[799,25,801,19]);
kirkmichael/owner-app/_expo/static/js/web/[did]-aa1f9793ba61b7027dc7b3794608c02b.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 t=_r(_d[0]),n=_r(_d[1]),l=e(_r(_d[2])),s=e(_r(_d[3])),r=_r(_d[4]),a=_r(_d[5]),o=_r(_d[6]),d=_r(_d[7]),c=_r(_d[8]),u=_r(_d[9]),h=_r(_d[10]),g=_r(_d[11]),p=_r(_d[12]);function f(){const{rid:e,did:f}=(0,t.useLocalSearchParams)(),b=(0,u.useRestaurant)(e),j=(0,u.useMenu)(e).find(e=>e.id===f),x=(0,u.useCustomer)(),m=(0,u.useRecipeCards)(e).find(e=>e.id===j?.recipeCardId),y=m?.signOff&&m.photo?(0,h.recipeCards)().photoSource(m.photo):null,k=(0,u.useStore)(e=>e.addLine),[v,w]=(0,n.useState)(()=>(j?.optionGroups??[]).filter(e=>e.required).map(e=>e.choices[0].id)),[S,C]=(0,n.useState)(1),[B,$]=(0,n.useState)(''),[I,P]=(0,n.useState)(!1),[L,T]=(0,n.useState)(!1),[D,O]=(0,n.useState)(!1),[A,M]=(0,n.useState)(!1),R=(0,n.useMemo)(()=>j?(0,d.effectiveAllergens)(j,v):{},[j,v]);if(!b||!j)return(0,p.jsx)(o.Screen,{title:"Not found",children:(0,p.jsx)(o.T,{children:"Dish not found."})});const q=(0,d.conflictsFor)(R,x.allergies),_=(j.price??0)+(j.optionGroups??[]).flatMap(e=>e.choices).filter(e=>v.includes(e.id)).reduce((e,t)=>e+t.priceDelta,0),N=j.soldOut||!j.signOff||null===j.price,G=(e,t)=>{const n=j.optionGroups.find(t=>t.id===e);w(e=>{const l=n.choices.map(e=>e.id);return n.multi?e.includes(t)?e.filter(e=>e!==t):[...e,t]:e.includes(t)&&!n.required?e.filter(e=>e!==t):[...e.filter(e=>!l.includes(e)),t]})},z=e=>{u.useStore.getState().basket.restaurantId!==b.id&&u.useStore.getState().startBasket(b.id,'takeaway'),k({itemId:j.id,qty:S,choiceIds:v,notes:B,override:e?{allergens:q.contains,at:(new Date).toISOString()}:void 0}),P(!1),M(!0)};return(0,p.jsxs)(o.Screen,{title:j.name,subtitle:b.name,right:(0,p.jsx)(a.BasketButton,{}),children:[y?(0,p.jsx)(l.default,{testID:"dish-photo",source:y,accessibilityLabel:`${j.name}${'example'===m?.origin?' (example photo)':''}`,style:{width:'100%',height:200,borderRadius:12},resizeMode:"cover"}):null,(0,p.jsxs)(o.Row,{wrap:!0,gap:6,children:[(0,p.jsx)(o.T,{weight:"bold",size:20,colour:g.colours.gold,children:null===j.price?j.priceNote:(0,c.gbp)(_)}),j.dietary.map(e=>(0,p.jsx)(o.Badge,{kind:"ok",label:e},e))]}),(0,p.jsx)(o.T,{children:j.description}),q.contains.length?(0,p.jsx)(o.Banner,{kind:"danger",title:`Blocked: contains ${q.contains.map(d.allergenLabel).join(', ')}`,children:`You\u2019ve told us: ${x.allergies.filter(e=>q.contains.includes(e.allergen)).map(e=>`${(0,d.allergenLabel)(e.allergen)} \u2014 ${(0,d.severityLabel)(e.severity)}`).join('; ')}. This dish can\u2019t be added unless you deliberately override (for example, ordering for someone else).`}):null,q.may.length?(0,p.jsx)(o.Banner,{kind:"warn",title:`Warning: may contain ${q.may.map(d.allergenLabel).join(', ')}`,children:"Cross-contact is possible (e.g. shared fryer). Please speak to staff before ordering."}):null,(j.optionGroups??[]).map(e=>(0,p.jsxs)(o.Card,{children:[(0,p.jsxs)(o.T,{weight:"semibold",children:[e.name,e.required?' (required)':' (optional)']}),(0,p.jsx)(o.Row,{wrap:!0,gap:6,children:e.choices.map(t=>(0,p.jsx)(o.Chip,{label:t.label,sub:t.priceDelta?`+${(0,c.gbp)(t.priceDelta)}`:void 0,selected:v.includes(t.id),onPress:()=>G(e.id,t.id)},t.id))})]},e.id)),(0,p.jsx)(o.Card,{children:(0,p.jsx)(r.AllergenPanel,{item:j,map:R,declared:x.allergies})}),b.fictional?null:(0,p.jsx)(o.ExampleAllergenNotice,{}),(0,p.jsx)(o.Field,{label:"Notes for the kitchen (optional)",placeholder:"e.g. no gherkins",value:B,onChangeText:$}),(0,p.jsxs)(o.Row,{style:{justifyContent:'space-between'},children:[(0,p.jsx)(o.T,{weight:"semibold",children:"Quantity"}),(0,p.jsx)(o.Stepper,{value:S,onChange:C,label:"quantity"})]}),A?(0,p.jsx)(o.Banner,{kind:"success",title:"Added to basket",children:q.contains.length?'Allergy override recorded \u2014 the kitchen will see a large allergy alert.':'Carry on browsing or go to your basket.'}):null,N?(0,p.jsx)(o.Banner,{kind:"warn",children:j.soldOut?'Sold out today.':j.signOff?'Price on the specials board \u2014 ask staff.':'Not available to order online until the head chef signs off its allergens.'}):q.contains.length?(0,p.jsxs)(s.default,{style:{gap:8},children:[(0,p.jsx)(o.Button,{kind:"secondary",label:"Choose something else",onPress:()=>t.router.back()}),(0,p.jsx)(o.Button,{kind:"danger",label:"Override and add anyway\u2026",onPress:()=>{T(!1),O(!1),P(!0)},testID:"override-open"})]}):(0,p.jsxs)(o.Row,{gap:8,children:[(0,p.jsx)(o.Button,{style:{flex:1},label:`Add ${S} to basket \xb7 ${(0,c.gbp)(_*S)}`,onPress:()=>z(!1),testID:"add-to-basket"}),A?(0,p.jsx)(o.Button,{kind:"secondary",label:"Basket",onPress:()=>t.router.push('/customer/basket')}):null]}),(0,p.jsxs)(o.Sheet,{visible:I,onClose:()=>P(!1),title:"Allergy override",children:[(0,p.jsx)(o.Banner,{kind:"danger",title:`${j.name} contains ${q.contains.map(d.allergenLabel).join(', ')}`,children:`Your profile says: ${x.allergies.filter(e=>q.contains.includes(e.allergen)).map(e=>`${(0,d.allergenLabel)(e.allergen)} \u2014 ${(0,d.severityLabel)(e.severity)}`).join('; ')}.`}),(0,p.jsx)(o.Toggle,{label:"I understand this dish contains an allergen I have declared",value:L,onChange:T}),(0,p.jsx)(o.Toggle,{label:"It is for someone without this allergy, or I have spoken to staff",value:D,onChange:O}),(0,p.jsx)(o.Muted,{children:"The override is logged and shown to the kitchen as an allergy alert that must be acknowledged."}),(0,p.jsx)(o.Button,{kind:"danger",disabled:!L||!D,label:"Confirm override and add",onPress:()=>z(!0),testID:"override-confirm"})]})]})}},773,[799,25,191,122,824,825,808,809,811,814,826,816,19]);
kirkmichael/owner-app/_expo/static/js/web/[n]-2ad27b31427ee0b2228d775d0103110c.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 f}});var t=_r(d[0]),r=_r(d[1]),n=_r(d[2]),o=_r(d[3]),u=_r(d[4]),c=_r(d[5]),s=_r(d[6]),l=_r(d[7]);function f(){const{n:f,r:b}=(0,r.useLocalSearchParams)(),E=(0,u.useStore)(t=>t.startBasket),[_,h]=(0,n.useState)(!1),S=b??c.VENUE_RID,j=(0,u.useOrderAtTable)(S),I=(0,s.guestServer)();return(0,n.useEffect)(()=>{t.LIVE_VENUE_BUILD||I||(j&&E(S,'table',String(f)),h(!0))},[S,f,j,I]),t.LIVE_VENUE_BUILD||I?(0,l.jsx)(o.Screen,{title:"Order at the table",children:(0,l.jsx)(o.Banner,{kind:"demo",title:"Scan the code on your table",children:"To order from your table, scan the QR code printed on it. Or order at the bar."})}):_?(0,l.jsx)(r.Redirect,{href:`/customer/${S}`}):null}},789,[828,799,25,808,814,6,831,19]);
kirkmichael/owner-app/_expo/static/js/web/[oid]-67b1e8b4cc5576cba86cc6c5442d5fd6.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 f}});var e,t=_r(d[0]),s=_r(d[1]),l=_r(d[2]),r=_r(d[3]),n=(e=r)&&e.__esModule?e:{default:e},o=_r(d[4]),i=_r(d[5]),c=_r(d[6]),u=_r(d[7]),h=_r(d[8]),p=_r(d[9]),b=_r(d[10]),y=_r(d[11]),j=_r(d[12]);const x=[['new','Placed'],['acknowledged','Accepted'],['preparing','Cooking'],['ready','Ready to collect'],['collected','Collected']],w=[['new','Sent'],['acknowledged','Accepted'],['preparing','Cooking'],['served','Food out'],['closed','Paid']];function f(){const{oid:e}=(0,s.useLocalSearchParams)(),r=(0,b.useOrder)(e),f=(0,b.useRestaurant)(r?.restaurantId),[C,S]=(0,l.useState)(0),[k,T]=(0,l.useState)(''),[v,P]=(0,l.useState)(!1),[M,$]=(0,l.useState)(!1),[R,A]=(0,l.useState)(1),[I,N]=(0,l.useState)(0),[O,B]=(0,l.useState)(r?.split?.ways??1);if(!r||!f)return(0,j.jsx)(c.Screen,{title:"Order",children:(0,j.jsx)(c.T,{children:"Order not found."})});const H='takeaway'===r.type?x:w,_=Math.max(0,H.findIndex(([e])=>e===r.status)),D=Math.round(r.subtotal*I/100),F='table'===r.type?r.subtotal+(r.split?r.tip:D):r.total,q=F-r.paid,L=r.split?.ways??O,W=r.split?.paidShares??0,Y=Math.ceil(F/L),E='collected'===r.status||'closed'===r.status;return(0,j.jsxs)(c.Screen,{title:`Order ${r.ref}`,subtitle:`${f.name} \xb7 ${'table'===r.type?`${(0,t.tableNumbers)(r.tableNo)}`:`Collection at ${r.slotTime?(0,p.hm)(new Date(r.slotTime)):'\u2014'}`}`,children:['takeaway'===r.type?(0,j.jsx)(c.Banner,{kind:"success",title:'ready'===r.status?'Your order is ready!':'Order placed',children:'ready'===r.status?'Head to the bar and give your order number. Staff will check allergies with you at handover.':`Show order number ${r.ref} at the bar when you arrive.`}):null,(0,j.jsxs)(c.Card,{children:[(0,j.jsx)(c.H2,{children:"Status"}),H.map(([e,t],s)=>(0,j.jsxs)(c.Row,{gap:10,children:[(0,j.jsx)(n.default,{style:{width:22,height:22,borderRadius:11,backgroundColor:s<=_?y.colours.gold:y.colours.surface2,borderWidth:1,borderColor:y.colours.gold}}),(0,j.jsx)(c.T,{weight:s===_?'semibold':'regular',colour:s<=_?y.colours.text:y.colours.muted,children:t})]},e)),r.allergyAck?(0,j.jsxs)(c.Muted,{children:["Kitchen signed off your allergies (",r.allergyAck.by,", ",(0,p.hm)(new Date(r.allergyAck.at)),")"]}):r.allergies.length?(0,j.jsx)(c.Muted,{children:"Waiting for the kitchen to sign off your allergies\u2026"}):null,'takeaway'!==r.type||E?null:(0,j.jsxs)(c.Row,{gap:8,children:[(0,j.jsx)(c.Button,{small:!0,kind:'on-my-way'===r.customerSignal?'primary':'secondary',label:"On my way",onPress:()=>b.repo.orders.customerSignal(r.id,'on-my-way')}),(0,j.jsx)(c.Button,{small:!0,kind:'here'===r.customerSignal?'primary':'secondary',label:"I\u2019m here",onPress:()=>b.repo.orders.customerSignal(r.id,'here')})]})]}),(0,j.jsxs)(c.Card,{children:[(0,j.jsx)(c.H2,{children:"Items"}),r.lines.map((e,t)=>(0,j.jsxs)(n.default,{children:[(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsxs)(c.T,{style:{flex:1},children:[e.qty,"\xd7 ",e.name]}),(0,j.jsx)(c.T,{children:(0,h.gbp)(e.unitPrice*e.qty)})]}),e.choices.length?(0,j.jsx)(c.Muted,{children:e.choices.join(' \xb7 ')}):null,e.overridden?(0,j.jsx)(c.Badge,{kind:"red",label:`Allergy override: ${e.contains.map(u.allergenLabel).join(', ')}`}):null]},t)),(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Subtotal"}),(0,j.jsx)(c.T,{children:(0,h.gbp)(r.subtotal)})]}),r.giftCardApplied?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Of which gift card"}),(0,j.jsxs)(c.T,{colour:y.colours.ok,children:["\u2212",(0,h.gbp)(r.giftCardApplied)]})]}):null,r.tip?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.Muted,{children:"Tip"}),(0,j.jsx)(c.T,{children:(0,h.gbp)(r.tip)})]}):null,(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Paid (test, no real money)"}),(0,j.jsx)(c.T,{weight:"semibold",colour:y.colours.gold,children:(0,h.gbp)(r.paid)})]})]}),'table'===r.type&&'closed'!==r.status&&'cancelled'!==r.status?(0,j.jsxs)(c.Card,{highlight:y.colours.gold,children:[(0,j.jsxs)(c.H2,{children:["Your bill \u2014 ",(0,t.tableNumbers)(r.tableNo)]}),r.split?(0,j.jsxs)(j.Fragment,{children:[(0,j.jsxs)(c.T,{children:["Total ",(0,h.gbp)(F)," \xb7 split ",L," way",L>1?'s':''," \xb7 ",(0,h.gbp)(Y)," each"]}),(0,j.jsxs)(c.T,{children:["Shares paid: ",W," of ",L," \xb7 remaining ",(0,h.gbp)(q)]}),L>1?(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{children:"Shares to pay now"}),(0,j.jsx)(c.Stepper,{value:R,onChange:A,min:1,max:L-W,label:"shares"})]}):null,(0,j.jsx)(c.Button,{label:`Pay ${L>1?`${R} share${R>1?'s':''}`:'bill'} \xb7 ${(0,h.gbp)(Math.min(q,Y*R))}`,onPress:()=>$(!0),testID:"pay-bill"})]}):(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Add a tip?"}),(0,j.jsx)(c.Row,{wrap:!0,children:[0,10,12.5,15].map(e=>(0,j.jsx)(c.Chip,{label:e?`${e}%`:'No tip',selected:I===e,onPress:()=>N(e)},e))}),(0,j.jsx)(c.Muted,{children:"Tips go to staff under the restaurant\u2019s tipping policy (Employment (Allocation of Tips) Act 2023)."}),(0,j.jsxs)(c.Row,{style:{justifyContent:'space-between'},children:[(0,j.jsx)(c.T,{weight:"semibold",children:"Split evenly between"}),(0,j.jsx)(c.Stepper,{value:O,onChange:B,min:1,max:8,label:"people"})]}),(0,j.jsxs)(c.T,{children:["Total ",(0,h.gbp)(r.subtotal+D),O>1?` \xb7 ${(0,h.gbp)(Math.ceil((r.subtotal+D)/O))} each`:'']}),(0,j.jsx)(c.Button,{label:"Get the bill",onPress:()=>b.repo.orders.setSplit(r.id,O,D),testID:"get-bill"})]})]}):null,!E||r.rated||v?null:(0,j.jsxs)(c.Card,{highlight:y.colours.gold,children:[(0,j.jsx)(c.H2,{children:"How was everything?"}),(0,j.jsxs)(c.Muted,{children:["One tap \u2014 this goes privately to ",f.name," only, never published."]}),(0,j.jsx)(i.Stars,{value:C,onChange:S}),C?(0,j.jsx)(c.Field,{label:"Anything to add? (optional)",value:k,onChangeText:T}):null,(0,j.jsx)(c.Button,{label:"Send feedback",disabled:!C,onPress:()=>{b.repo.feedback.add({restaurantId:f.id,orderId:r.id,customerId:r.customerId,customerName:r.customerName,stars:C,comment:k,context:'table'===r.type?`${(0,t.tableNumbers)(r.tableNo)}`:`Takeaway ${r.ref}`}),P(!0)},testID:"send-rating"})]}),v||r.rated?(0,j.jsx)(c.Banner,{kind:"success",children:"Thanks \u2014 your feedback went privately to the restaurant."}):null,E?(0,j.jsx)(c.Button,{kind:"secondary",label:"View stamp card",onPress:()=>s.router.push(`/customer/${f.id}/loyalty`)}):null,(0,j.jsx)(o.MockPay,{visible:M,onClose:()=>$(!1),amount:Math.min(q,Y*R),restaurantId:f.id,title:`Pay \u2014 ${(0,t.tableNumbers)(r.tableNo)}`,onPaid:e=>{b.repo.orders.payTable(r.id,{shares:R,giftCardCode:e.giftCardCode}),$(!1),A(1)}})]})}},786,[803,799,25,122,829,827,808,809,811,813,814,816,19]);
kirkmichael/owner-app/_expo/static/js/web/[section]-7e6b51e93a90c3125cf8ae4b0be4cad4.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 s}});var t=r(d[0]);r(d[1]);var n=r(d[2]),c=r(d[3]),o=r(d[4]),f=r(d[5]);function s(){const{section:s}=(0,t.useLocalSearchParams)();return(0,c.canShow)('chef')?s&&(0,o.chefSectionAllowed)(String(s))?(0,f.jsx)(n.ChefApp,{section:String(s)},String(s)):(0,f.jsx)(t.Redirect,{href:"/kitchen"}):(0,f.jsx)(t.Redirect,{href:c.ENTRY[c.APP_VARIANT]})}},770,[799,25,800,801,802,19]);