fungiorganic commited on
Commit
d84b07e
·
verified ·
1 Parent(s): eecd00e

Cover Charge prototype v0.3.12.80

Browse files
Files changed (27) hide show
  1. 3idiots/chef-app/_expo/static/js/web/__common-83167d54a4de0c5ff2e3cc8de18c0ce3.js +0 -0
  2. 3idiots/chef-app/_expo/static/js/web/_layout-5b157053cb39817bbf25f2849f92c230.js +0 -0
  3. 3idiots/chef-app/_expo/static/js/web/historicalBookingApi-9ae7c5fa9233f7701960a2ccef60b459.js +1 -0
  4. 3idiots/chef-app/_expo/static/js/web/index-21e79d3d2db9b084ac64c4aaa0b1705a.js +0 -0
  5. 3idiots/chef-app/_expo/static/js/web/index-787cbe75726ab9e035fd287249ca94dd.js +0 -0
  6. 3idiots/chef-app/_expo/static/js/web/index-ac64dc0376d10fa404644c8fe290e30b.js +2 -0
  7. 3idiots/chef-app/_expo/static/js/web/index-c6635b4cda262331e66c21651f941da5.js +0 -0
  8. 3idiots/chef-app/index.html +1 -1
  9. 3idiots/chef-app/kitchen.html +1 -1
  10. 3idiots/chef-app/sw.js +1 -1
  11. 3idiots/customer-app/_expo/static/js/web/__common-3b3852b6b0bd882ffa7812f9f6a6422a.js +0 -0
  12. 3idiots/customer-app/_expo/static/js/web/_layout-047bc7bd5c513cd37b02dcb97c50614b.js +40 -0
  13. 3idiots/customer-app/_expo/static/js/web/index-5509422d4211b04ebd2768d3da51edbf.js +0 -0
  14. 3idiots/customer-app/_expo/static/js/web/index-82eeccd60a7032640fa7e0eb53567309.js +0 -0
  15. 3idiots/customer-app/_expo/static/js/web/index-a1940efa8ad1d62974a9a96d7e6d1e3a.js +0 -0
  16. 3idiots/customer-app/_expo/static/js/web/index-ec4a702c34ea762b0b3ef33b63506ae5.js +2 -0
  17. 3idiots/customer-app/customer/3idiots.html +1 -1
  18. 3idiots/customer-app/index.html +1 -1
  19. 3idiots/customer-app/sw.js +1 -1
  20. 3idiots/d.html +1 -1
  21. 3idiots/display-app/_expo/static/js/web/__common-1ce79e548d27f3a5b1c73b09336eb1b1.js +0 -0
  22. 3idiots/display-app/_expo/static/js/web/_layout-71eb2064c01fa654c0e06a9c3a7ec78d.js +0 -0
  23. 3idiots/display-app/_expo/static/js/web/historicalBookingApi-c372c77c52934e93cdd9750062a1272f.js +1 -0
  24. 3idiots/display-app/_expo/static/js/web/index-1eb995605266c4a260bf5efd5ed44510.js +0 -0
  25. 3idiots/display-app/_expo/static/js/web/index-5509422d4211b04ebd2768d3da51edbf.js +0 -0
  26. 3idiots/display-app/_expo/static/js/web/index-82eeccd60a7032640fa7e0eb53567309.js +0 -0
  27. 3idiots/display-app/_expo/static/js/web/index-ec4a702c34ea762b0b3ef33b63506ae5.js +2 -0
3idiots/chef-app/_expo/static/js/web/__common-83167d54a4de0c5ff2e3cc8de18c0ce3.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/chef-app/_expo/static/js/web/_layout-5b157053cb39817bbf25f2849f92c230.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/chef-app/_expo/static/js/web/historicalBookingApi-9ae7c5fa9233f7701960a2ccef60b459.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}},1104,[30,806,1103,818,820,862]);
3idiots/chef-app/_expo/static/js/web/index-21e79d3d2db9b084ac64c4aaa0b1705a.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/chef-app/_expo/static/js/web/index-787cbe75726ab9e035fd287249ca94dd.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/chef-app/_expo/static/js/web/index-ac64dc0376d10fa404644c8fe290e30b.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,{})}},799,[804,30,963,806,24]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},963,[]);
3idiots/chef-app/_expo/static/js/web/index-c6635b4cda262331e66c21651f941da5.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/chef-app/index.html CHANGED
@@ -30,6 +30,6 @@
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/chef-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
- <script src="/3idiots/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/__common-0f08cc41dd95d2f46a655a46b1f263fa.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/index-8971e931bd68222aa4a6637d5a54cb11.js" defer></script>
34
  </body>
35
  </html>
 
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/chef-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
+ <script src="/3idiots/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/__common-83167d54a4de0c5ff2e3cc8de18c0ce3.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/index-21e79d3d2db9b084ac64c4aaa0b1705a.js" defer></script>
34
  </body>
35
  </html>
3idiots/chef-app/kitchen.html CHANGED
@@ -30,6 +30,6 @@
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/chef-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
- <script src="/3idiots/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/__common-0f08cc41dd95d2f46a655a46b1f263fa.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/index-8971e931bd68222aa4a6637d5a54cb11.js" defer></script>
34
  </body>
35
  </html>
 
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/chef-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
+ <script src="/3idiots/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/__common-83167d54a4de0c5ff2e3cc8de18c0ce3.js" defer></script><script src="/3idiots/chef-app/_expo/static/js/web/index-21e79d3d2db9b084ac64c4aaa0b1705a.js" defer></script>
34
  </body>
35
  </html>
3idiots/chef-app/sw.js CHANGED
@@ -1,4 +1,4 @@
1
- const V="cc-3idiots-chef-338fea1c83451af3",B="/3idiots/chef-app/",P=["/3idiots/chef-app/apple-touch-icon.png", "/3idiots/chef-app/favicon.ico", "/3idiots/chef-app/icon-192.png", "/3idiots/chef-app/icon-512.png", "/3idiots/chef-app/brand-logo.png", "/3idiots/chef-app/index.html", "/3idiots/chef-app/manifest.webmanifest", "/3idiots/chef-app/brand-hero.png", "/3idiots/chef-app/kitchen.html", "/3idiots/chef-app/_expo/static/js/web/feedback-3a26c70c9f758c4e362493c3b124ff43.js", "/3idiots/chef-app/_expo/static/js/web/[n]-ced785c534ba69ad6c9c35369d7ecc36.js", "/3idiots/chef-app/_expo/static/js/web/_layout-a7d8d8e11afbba86baeb0703b1a013a9.js", "/3idiots/chef-app/_expo/static/js/web/index-f9b07e7c25cec3623c10876ff1e01e58.js", "/3idiots/chef-app/_expo/static/js/web/[section]-93e8e4ffe952e5b3c505e21ca771e570.js", "/3idiots/chef-app/_expo/static/js/web/index-a39af53b0c36f30a0cc27647d3da5a52.js", "/3idiots/chef-app/_expo/static/js/web/offers-3f4e351ccaa73514bd508bf7bd2a3fa2.js", "/3idiots/chef-app/_expo/static/js/web/[oid]-7fa4f78cb447d1c659e81fff8893269f.js", "/3idiots/chef-app/_expo/static/js/web/index-de1cc2fd859c9ae8559084765fe0904f.js", "/3idiots/chef-app/_expo/static/js/web/index-5c634de6ad187be6c30eaf496c8cd727.js", "/3idiots/chef-app/_expo/static/js/web/index-3e127fc2448edeba863cde4d3a2ef848.js", "/3idiots/chef-app/_expo/static/js/web/historicalBookingApi-ec3430ea06cfd8ffe2efddf167d788aa.js", "/3idiots/chef-app/_expo/static/js/web/[did]-2a2aaaa129307f15140971a22b834cd3.js", "/3idiots/chef-app/_expo/static/js/web/demo-6323990816bb686dcab3b33d7e6ec148.js", "/3idiots/chef-app/_expo/static/js/web/book-b68aff7cd8daa9b5d327ece648db8831.js", "/3idiots/chef-app/_expo/static/js/web/index-abf44c56ecfe3a6ee457b5a1c56cb955.js", "/3idiots/chef-app/_expo/static/js/web/waitlist-93752bc9a9a8df911b095d236fa3f385.js", "/3idiots/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/3idiots/chef-app/_expo/static/js/web/merch-dcc4bf2e12c5c983cc8637b3dae25ae6.js", "/3idiots/chef-app/_expo/static/js/web/refer-9cf3652c6de6015e443d52d85aa73db7.js", "/3idiots/chef-app/_expo/static/js/web/profile-7858c56bba02a864da6a44be8f8ce02f.js", "/3idiots/chef-app/_expo/static/js/web/__common-0f08cc41dd95d2f46a655a46b1f263fa.js", "/3idiots/chef-app/_expo/static/js/web/gift-eb5daa22c1465e33034a87271e1b8b3b.js", "/3idiots/chef-app/_expo/static/js/web/lost-53fa50fd975a0e31c68fdd69575c2342.js", "/3idiots/chef-app/_expo/static/js/web/index-3c5f820b3b21978c61372b3163c55b0a.js", "/3idiots/chef-app/_expo/static/js/web/+not-found-585f3164ae74e5ff35af71a4ba7360a3.js", "/3idiots/chef-app/_expo/static/js/web/index-8971e931bd68222aa4a6637d5a54cb11.js", "/3idiots/chef-app/_expo/static/js/web/loyalty-f6d17fe0987432e6c679359636231949.js", "/3idiots/chef-app/_expo/static/js/web/index-10b44538fce9f65ce117321a623552df.js", "/3idiots/chef-app/_expo/static/js/web/basket-4d740db9aeba1d77232a0091a5892917.js", "/3idiots/chef-app/_expo/static/js/web/index-837efe1be9c39737e9750ae18a91c7cb.js", "/3idiots/chef-app/_expo/static/js/web/whatson-0608a899f634d91b081b758137ce1d33.js", "/3idiots/chef-app/_expo/static/js/web/[token]-bee6add88cca58f03680987578d45fcf.js", "/3idiots/chef-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/3idiots/chef-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/3idiots/chef-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/3idiots/chef-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/3idiots/chef-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/3idiots/chef-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/3idiots/chef-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/3idiots/chef-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/3idiots/chef-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/3idiots/chef-app/assets/assets/brand/3idiots-hero.e5dfd53739f05086b1956e72d585a66a.png", "/3idiots/chef-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png", "/3idiots/chef-app/assets/assets/brand/cecchinis.ebf752fef363247848ae7c0d91938765.png", "/3idiots/chef-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/chef-app/assets/assets/brand/3idiots.df4a76d2130f0e5b0042f06a8c88693a.png", "/3idiots/chef-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/3idiots/chef-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png", "/3idiots/chef-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/chef-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png", "/3idiots/chef-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png", "/3idiots/chef-app/assets/assets/brand/pizzaioli-hero.1896657c08264cefb49b401891d5448d.png", "/3idiots/chef-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png", "/3idiots/chef-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png", "/3idiots/chef-app/assets/assets/brand/greenside.9d1556db97dcb903a3c57e2063ee2255.png", "/3idiots/chef-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png", "/3idiots/chef-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png", "/3idiots/chef-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png", "/3idiots/chef-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/3idiots/chef-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png", "/3idiots/chef-app/assets/assets/brand/pizzaioli.db8c000b62ee407121aa8b90ce45e170.png", "/3idiots/chef-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png", "/3idiots/chef-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/3idiots/chef-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png", "/3idiots/chef-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png", "/3idiots/chef-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/3idiots/chef-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png", "/3idiots/chef-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png", "/3idiots/chef-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png", "/3idiots/chef-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png", "/3idiots/chef-app/assets/assets/brand/cecchinis-hero.f77780fcc94fd668cf35d66d6dc52d81.png", "/3idiots/chef-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png"];
2
  self.addEventListener('install',e=>e.waitUntil(caches.open(V).then(c=>Promise.all(P.map(u=>fetch(u).then(r=>{if(!r.ok)throw Error('cache');return c.put(u,r)})))).then(()=>self.skipWaiting())));
3
  self.addEventListener('activate',e=>e.waitUntil(caches.keys().then(ks=>Promise.all(ks.filter(k=>k.startsWith('cc-3idiots-chef-')&&k!==V).map(k=>caches.delete(k)))).then(()=>self.clients.claim())));
4
  self.addEventListener('fetch',e=>{const u=new URL(e.request.url);if(e.request.method!=='GET'||u.origin!==location.origin||!u.pathname.startsWith(B))return;if(e.request.mode==='navigate'){e.respondWith(fetch(e.request).then(r=>r.ok?r:caches.match(B+'index.html')).catch(()=>caches.match(B+'index.html')));return;}e.respondWith(caches.match(e.request).then(r=>r||fetch(e.request)));});
 
1
+ const V="cc-3idiots-chef-3bdcfbe86c053a35",B="/3idiots/chef-app/",P=["/3idiots/chef-app/apple-touch-icon.png", "/3idiots/chef-app/favicon.ico", "/3idiots/chef-app/icon-192.png", "/3idiots/chef-app/icon-512.png", "/3idiots/chef-app/brand-logo.png", "/3idiots/chef-app/index.html", "/3idiots/chef-app/manifest.webmanifest", "/3idiots/chef-app/brand-hero.png", "/3idiots/chef-app/kitchen.html", "/3idiots/chef-app/_expo/static/js/web/feedback-3a26c70c9f758c4e362493c3b124ff43.js", "/3idiots/chef-app/_expo/static/js/web/[n]-ced785c534ba69ad6c9c35369d7ecc36.js", "/3idiots/chef-app/_expo/static/js/web/index-ac64dc0376d10fa404644c8fe290e30b.js", "/3idiots/chef-app/_expo/static/js/web/index-f9b07e7c25cec3623c10876ff1e01e58.js", "/3idiots/chef-app/_expo/static/js/web/[section]-93e8e4ffe952e5b3c505e21ca771e570.js", "/3idiots/chef-app/_expo/static/js/web/index-a39af53b0c36f30a0cc27647d3da5a52.js", "/3idiots/chef-app/_expo/static/js/web/offers-3f4e351ccaa73514bd508bf7bd2a3fa2.js", "/3idiots/chef-app/_expo/static/js/web/[oid]-7fa4f78cb447d1c659e81fff8893269f.js", "/3idiots/chef-app/_expo/static/js/web/historicalBookingApi-9ae7c5fa9233f7701960a2ccef60b459.js", "/3idiots/chef-app/_expo/static/js/web/index-21e79d3d2db9b084ac64c4aaa0b1705a.js", "/3idiots/chef-app/_expo/static/js/web/index-c6635b4cda262331e66c21651f941da5.js", "/3idiots/chef-app/_expo/static/js/web/[did]-2a2aaaa129307f15140971a22b834cd3.js", "/3idiots/chef-app/_expo/static/js/web/demo-6323990816bb686dcab3b33d7e6ec148.js", "/3idiots/chef-app/_expo/static/js/web/book-b68aff7cd8daa9b5d327ece648db8831.js", "/3idiots/chef-app/_expo/static/js/web/index-abf44c56ecfe3a6ee457b5a1c56cb955.js", "/3idiots/chef-app/_expo/static/js/web/waitlist-93752bc9a9a8df911b095d236fa3f385.js", "/3idiots/chef-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/3idiots/chef-app/_expo/static/js/web/merch-dcc4bf2e12c5c983cc8637b3dae25ae6.js", "/3idiots/chef-app/_expo/static/js/web/refer-9cf3652c6de6015e443d52d85aa73db7.js", "/3idiots/chef-app/_expo/static/js/web/profile-7858c56bba02a864da6a44be8f8ce02f.js", "/3idiots/chef-app/_expo/static/js/web/index-787cbe75726ab9e035fd287249ca94dd.js", "/3idiots/chef-app/_expo/static/js/web/gift-eb5daa22c1465e33034a87271e1b8b3b.js", "/3idiots/chef-app/_expo/static/js/web/__common-83167d54a4de0c5ff2e3cc8de18c0ce3.js", "/3idiots/chef-app/_expo/static/js/web/_layout-5b157053cb39817bbf25f2849f92c230.js", "/3idiots/chef-app/_expo/static/js/web/lost-53fa50fd975a0e31c68fdd69575c2342.js", "/3idiots/chef-app/_expo/static/js/web/index-3c5f820b3b21978c61372b3163c55b0a.js", "/3idiots/chef-app/_expo/static/js/web/+not-found-585f3164ae74e5ff35af71a4ba7360a3.js", "/3idiots/chef-app/_expo/static/js/web/loyalty-f6d17fe0987432e6c679359636231949.js", "/3idiots/chef-app/_expo/static/js/web/index-10b44538fce9f65ce117321a623552df.js", "/3idiots/chef-app/_expo/static/js/web/basket-4d740db9aeba1d77232a0091a5892917.js", "/3idiots/chef-app/_expo/static/js/web/index-837efe1be9c39737e9750ae18a91c7cb.js", "/3idiots/chef-app/_expo/static/js/web/whatson-0608a899f634d91b081b758137ce1d33.js", "/3idiots/chef-app/_expo/static/js/web/[token]-bee6add88cca58f03680987578d45fcf.js", "/3idiots/chef-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/3idiots/chef-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/3idiots/chef-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/3idiots/chef-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/3idiots/chef-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/3idiots/chef-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/3idiots/chef-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/3idiots/chef-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/3idiots/chef-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/3idiots/chef-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/3idiots/chef-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/3idiots/chef-app/assets/assets/brand/3idiots-hero.e5dfd53739f05086b1956e72d585a66a.png", "/3idiots/chef-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png", "/3idiots/chef-app/assets/assets/brand/cecchinis.ebf752fef363247848ae7c0d91938765.png", "/3idiots/chef-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/chef-app/assets/assets/brand/3idiots.df4a76d2130f0e5b0042f06a8c88693a.png", "/3idiots/chef-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/3idiots/chef-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png", "/3idiots/chef-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/chef-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png", "/3idiots/chef-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png", "/3idiots/chef-app/assets/assets/brand/pizzaioli-hero.1896657c08264cefb49b401891d5448d.png", "/3idiots/chef-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png", "/3idiots/chef-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png", "/3idiots/chef-app/assets/assets/brand/greenside.9d1556db97dcb903a3c57e2063ee2255.png", "/3idiots/chef-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png", "/3idiots/chef-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png", "/3idiots/chef-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png", "/3idiots/chef-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/3idiots/chef-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png", "/3idiots/chef-app/assets/assets/brand/pizzaioli.db8c000b62ee407121aa8b90ce45e170.png", "/3idiots/chef-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png", "/3idiots/chef-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/3idiots/chef-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png", "/3idiots/chef-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png", "/3idiots/chef-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/3idiots/chef-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png", "/3idiots/chef-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png", "/3idiots/chef-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png", "/3idiots/chef-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png", "/3idiots/chef-app/assets/assets/brand/cecchinis-hero.f77780fcc94fd668cf35d66d6dc52d81.png", "/3idiots/chef-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png"];
2
  self.addEventListener('install',e=>e.waitUntil(caches.open(V).then(c=>Promise.all(P.map(u=>fetch(u).then(r=>{if(!r.ok)throw Error('cache');return c.put(u,r)})))).then(()=>self.skipWaiting())));
3
  self.addEventListener('activate',e=>e.waitUntil(caches.keys().then(ks=>Promise.all(ks.filter(k=>k.startsWith('cc-3idiots-chef-')&&k!==V).map(k=>caches.delete(k)))).then(()=>self.clients.claim())));
4
  self.addEventListener('fetch',e=>{const u=new URL(e.request.url);if(e.request.method!=='GET'||u.origin!==location.origin||!u.pathname.startsWith(B))return;if(e.request.mode==='navigate'){e.respondWith(fetch(e.request).then(r=>r.ok?r:caches.match(B+'index.html')).catch(()=>caches.match(B+'index.html')));return;}e.respondWith(caches.match(e.request).then(r=>r||fetch(e.request)));});
3idiots/customer-app/_expo/static/js/web/__common-3b3852b6b0bd882ffa7812f9f6a6422a.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/customer-app/_expo/static/js/web/_layout-047bc7bd5c513cd37b02dcb97c50614b.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ __d(function(g,r,i,a,m,_e,_d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return N}}),r(_d[0]);var t=r(_d[1]),s=r(_d[2]),o=r(_d[3]),n=(function(e){if(e&&e.__esModule)return e;var t={};return e&&Object.keys(e).forEach(function(s){if('default'!==s){var o=Object.getOwnPropertyDescriptor(e,s);Object.defineProperty(t,s,o.get?o:{enumerable:!0,get:function(){return e[s]}})}}),t.default=e,t})(r(_d[4])),u=r(_d[5]),l=r(_d[6]),c=e(r(_d[7])),d=e(r(_d[8]));r(_d[9]);var f=e(r(_d[10])),p=e(r(_d[11])),y=r(_d[12]),h=r(_d[13]),S=r(_d[14]),O=r(_d[15]),j=r(_d[16]),_=r(_d[17]),b=r(_d[18]),P=r(_d[19]),w=r(_d[20]),x=r(_d[21]),E=r(_d[22]),v=r(_d[23]);r(_d[24]);var k=r(_d[25]),H=r(_d[26]),A=r(_d[27]),T=r(_d[28]),R=r(_d[29]),B=r(_d[30]),C=r(_d[31]),F=r(_d[32]);const I=r(_d[33]),V=r(_d[34]),L=r(_d[35]),M=r(_d[36]);function N(){const[e]=(0,t.useFonts)({Poppins_400Regular:I,Poppins_500Medium:V,Poppins_600SemiBold:L,Poppins_700Bold:M}),[x,R]=(0,l.useState)(j.useStore.persist.hasHydrated()),[B,C]=(0,l.useState)(b.useOwner.persist.hasHydrated()),N=x&&B;(0,l.useEffect)(()=>{const e=j.useStore.persist.onFinishHydration(()=>R(!0)),t=b.useOwner.persist.onFinishHydration(()=>C(!0));return j.useStore.persist.hasHydrated()&&R(!0),b.useOwner.persist.hasHydrated()&&C(!0),()=>{e(),t()}},[]),(0,l.useEffect)(()=>{if('undefined'==typeof window)return;const e=e=>{e.key===(0,y.venueKey)(j.useStore.persist.getOptions().name??'')&&(0,v.quietly)(()=>j.useStore.persist.rehydrate()),e.key===(0,y.venueKey)(_.useFloor.persist.getOptions().name??'')&&(0,v.quietly)(()=>_.useFloor.persist.rehydrate()),e.key===(0,y.venueKey)(s.useBlocks.persist.getOptions().name??'')&&(0,v.quietly)(()=>s.useBlocks.persist.rehydrate())};return window.addEventListener('storage',e),()=>window.removeEventListener('storage',e)},[]),(0,l.useEffect)(()=>{N&&b.useOwner.getState().syncRoster()},[N]),(0,l.useEffect)(()=>{N&&(0,E.startAppSync)()},[N]);const G=e&&N,U=(0,w.useSignedOutGate)(),q=(0,o.usePathname)(),D=G&&!(0,S.isAllowedPath)(q||'/');return(0,l.useEffect)(()=>{if(!D)return;const e=setTimeout(()=>o.router.replace(S.ENTRY[S.APP_VARIANT]),0);return()=>clearTimeout(e)},[D,q]),(0,l.useEffect)(()=>{G&&n.hideAsync().catch(()=>{})},[G]),G?(0,F.jsxs)(O.SafeAreaProvider,{children:[(0,F.jsx)(u.StatusBar,{style:"light"}),U?(0,F.jsx)(p.default,{style:{flex:1,backgroundColor:P.colours.bg}}):(0,F.jsx)(p.default,{style:{flex:1},children:(0,F.jsx)(o.Stack,{screenOptions:{headerShown:!1,contentStyle:{backgroundColor:P.colours.bg}}})}),D&&!U?(0,F.jsx)(p.default,{style:[f.default.absoluteFill,{backgroundColor:P.colours.bg}]}):null,D||U?null:(0,F.jsx)(A.VoiceHost,{}),U?null:(0,F.jsx)(k.SyncBadge,{}),D||U?null:(0,F.jsx)(H.PushPrompt,{}),(0,F.jsx)(w.InviteGate,{}),D||U?null:(0,F.jsx)(T.SliderHost,{})]}):(0,F.jsxs)(p.default,{style:{flex:1,backgroundColor:P.colours.bg,alignItems:'center',justifyContent:'center',gap:18},children:[h.HERO_LOGOS[y.VENUE_RID]?(0,F.jsx)(d.default,{source:h.HERO_LOGOS[y.VENUE_RID],accessibilityLabel:"Venue logo",style:{width:180,height:180},resizeMode:"contain"}):null,(0,F.jsx)(c.default,{color:P.colours.gold})]})}R.PITCH&&(globalThis.__pitch={useStore:j.useStore,useOwner:b.useOwner,useFloor:_.useFloor,useBlocks:s.useBlocks,useSession:x.useSession,useCashUp:B.useCashUp,seedPitch:C.seedPitch},setTimeout(()=>{try{(0,C.seedPitch)()}catch(e){console.warn('pitch seed',e)}},1500)),x.START_INVITE,n.preventAutoHideAsync().catch(()=>{})},802,[963,1039,824,804,1066,567,30,246,196,122,46,127,5,861,806,289,819,825,856,821,1009,859,820,1078,1068,1069,1071,1072,919,2,1079,1073,24,1074,1075,1076,1077]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return o.useFonts}});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[1]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})});var o=r(d[2])},1039,[1040,1063,1065]);
3
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"FontDisplay",{enumerable:!0,get:function(){return y.FontDisplay}}),_e.isLoaded=F,_e.getLoadedFonts=function(){return t.default.getLoadedFonts()},_e.isLoading=function(e){return e in c.loadPromises},_e.loadAsync=function(e,n){const t='undefined'==typeof window;if(Array.isArray(e)){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e;if(t){(0,l.assertValidFontFamilyDefinitions)(s);for(const{fontFamily:e,fontDefinitions:o}of s){(0,l.assertValidFontFaces)(e,o);for(const n of o)(0,u.registerStaticFont)(e,(0,f.fontSourceFromFace)(n))}return Promise.resolve()}try{(0,l.assertValidFontFamilyDefinitions)(s)}catch(e){return Promise.reject(e)}return Promise.all(s.map(w)).then(()=>{})}if('object'==typeof e){if(n)return Promise.reject(new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided source: ${n}. The second argument of \`loadAsync()\` can only be used with a \`string\` value as the first argument.`));const s=e,l=Object.keys(s);return t?(l.map(e=>(0,u.registerStaticFont)(e,s[e])),Promise.resolve()):Promise.all(l.map(e=>h(e,s[e]))).then(()=>{})}if(t)return(0,u.registerStaticFont)(e,n),Promise.resolve();return h(e,n)},_e.unloadAllAsync=async function(){if(!t.default.unloadAllAsync)throw new o.UnavailabilityError('expo-font','unloadAllAsync');if(Object.keys(c.loadPromises).length)throw new o.CodedError("ERR_UNLOAD",`Cannot unload fonts while they're still loading: ${Object.keys(c.loadPromises).join(', ')}`);(0,c.purgeCache)(),await t.default.unloadAllAsync()},_e.unloadAsync=async function(e,n){if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');if('object'==typeof e){if(n)throw new o.CodedError("ERR_FONT_API",`No fontFamily can be used for the provided options: ${n}. The second argument of \`unloadAsync()\` can only be used with a \`string\` value as the first argument.`);const t=e,s=Object.keys(t);return void await Promise.all(s.map(e=>p(e,t[e])))}return await p(e,n)};var e,o=r(d[0]),n=r(d[1]),t=(e=n)&&e.__esModule?e:{default:e},s=r(d[2]),l=r(d[3]),f=r(d[4]),c=r(d[5]),u=r(d[6]),y=r(d[7]);function F(e){if('function'!=typeof t.default.isLoaded)throw new Error("expected ExpoFontLoader.isLoaded to be a function, was "+typeof t.default.isLoaded);return(0,c.isLoadedInCache)(e)||t.default.isLoaded(e)}async function w(e){const{fontFamily:o,fontDefinitions:n}=e;if((0,l.assertValidFontFaces)(o,n),c.loadPromises.hasOwnProperty(o))return c.loadPromises[o];F(o)||(c.loadPromises[o]=(async()=>{try{await(0,s.loadFontFamilyAsync)(o,n),(0,c.markLoaded)(o)}finally{delete c.loadPromises[o]}})(),await c.loadPromises[o])}async function h(e,n){if(!n)throw new o.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${n} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);if(c.loadPromises.hasOwnProperty(e))return c.loadPromises[e];if(F(e))return;const t=(0,s.getAssetForSource)(n);c.loadPromises[e]=(async()=>{try{await(0,s.loadSingleFontAsync)(e,t),(0,c.markLoaded)(e)}finally{delete c.loadPromises[e]}})(),await c.loadPromises[e]}async function p(e,n){if(F(e)){if((0,c.purgeFontFamilyFromCache)(e),!e)throw new o.CodedError("ERR_FONT_FAMILY","Cannot unload an empty name");if(!t.default.unloadAsync)throw new o.UnavailabilityError('expo-font','unloadAsync');await t.default.unloadAsync(e,n)}}},1040,[301,1041,1044,1058,1059,1060,1061,1062]);
4
+ __d(function(g,r,_i,_a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return p}}),e._matchesFontFaceOptions=l,e._fontFaceRuleSrcMatches=f,e._createWebFontTemplate=R;var t=r(d[0]),n=r(d[1]);function s(){if('undefined'==typeof window)return null;const t=S();return t.sheet?t.sheet:null}function o(){const t=s();if(t){const n=[...t.cssRules],s=[];for(let t=0;t<n.length;t++){const o=n[t];o instanceof CSSFontFaceRule&&s.push({rule:o,index:t})}return s}return[]}function i(t){const n=t?.trim();if(!n)return'';const s=n[0];return n.length>=2&&('"'===s||"'"===s)&&n.endsWith(s)?n.slice(1,-1).replace(/\\(.)/g,'$1'):n}function u(t){if(null==t||''===t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const s=Number(n);return Number.isFinite(s)?s:n}function l(t,n,s){return i(t.style.fontFamily)===n&&((!s?.display||s.display===t.style.fontDisplay)&&((null==s?.weight||u(s.weight)===u(t.style.fontWeight))&&(null==s?.style||s.style===t.style.fontStyle)))}function c(t,n){return o().filter(({rule:s})=>l(s,t,n))}function f(t,n){const s=t.style.getPropertyValue('src').match(/url\((['"]?)([^'")]*)\1\)/);if(!s)return!0;let o=s[2]??'';try{o=decodeURIComponent(o)}catch{}return o===String(n)}const a={async unloadAllAsync(){if('undefined'==typeof window)return;const t=document.getElementById(w);t&&t instanceof HTMLStyleElement&&document.removeChild(t)},async unloadAsync(t,n){const o=s();if(!o)return;const i=[...c(t,n)].sort((t,n)=>n.index-t.index);for(const t of i)o.deleteRule(t.index)},getServerResources:()=>(0,n.getServerResourceDescriptors)().map(t=>{switch(t.type){case'style':return`<style id="${t.id}">${t.css}</style>`;case'link':return`<link rel="${t.rel}" href="${t.href}" as="${t.as}" crossorigin="${t.crossOrigin}" />`;default:return''}}).filter(Boolean),getServerResourceDescriptors:()=>(0,n.getServerResourceDescriptors)(),getLoadedFonts(){if('undefined'==typeof window)return(0,n.getLoadedServerFonts)();const t=new Set,s=[];for(const{rule:n}of o()){const o=i(n.style.fontFamily);t.has(o)||(t.add(o),s.push(o))}return s},isLoaded:(t,s={})=>'undefined'==typeof window?(0,n.isServerFontLoaded)(t):c(t,s)?.length>0,loadAsync(s,o){if('undefined'==typeof window)return(0,n.addServerFont)({name:s,css:R(s,o),resourceId:o.uri}),Promise.resolve();if(!(document.head&&'function'==typeof document.head.appendChild))throw new t.CodedError('ERR_WEB_ENVIRONMENT',"The browser's `document.head` element doesn't support injecting fonts.");const i=S();i.isConnected||document.head.appendChild(i);if(c(s,o).some(({rule:t})=>f(t,o.uri))||b(s,o),'function'!=typeof document.fonts?.load)return Promise.resolve();let u='';return'string'==typeof o.style&&$.test(o.style)&&(u+=`${o.style} `),('number'==typeof o.weight&&Number.isFinite(o.weight)||'string'==typeof o.weight&&($.test(o.weight)||F.test(o.weight)&&!o.weight.includes(' ')))&&(u+=`${o.weight} `),h(document.fonts.load(`${u}1em ${JSON.stringify(s)}`),s)}},y=12e3;function h(n,s){let o;const i=new Promise((n,i)=>{o=setTimeout(()=>{i(new t.CodedError('ERR_DOWNLOAD',`Fetching the font family "${s}" timed out after ${y}ms. Check that the font URL is reachable and served with CORS headers.`))},y)});return Promise.race([n,i]).finally(()=>clearTimeout(o)).then(()=>{})}var p='undefined'==typeof window?a:(0,t.registerWebModule)(function(){return a},'ExpoFontLoader');const w='expo-generated-fonts';function S(){const t=document.getElementById(w);if(t&&t instanceof HTMLStyleElement)return t;const n=document.createElement('style');return n.id=w,n}const $=/^[a-zA-Z_-][\w-]*$/,F=/^(1000|[1-9]\d{0,2})( (1000|[1-9]\d{0,2}))?$/;function R(t,n){const s=[`font-family:${JSON.stringify(t)}`,`src:url(${JSON.stringify(n.uri)})`];return'string'==typeof n.display&&$.test(n.display)&&s.push(`font-display:${n.display}`),('number'==typeof n.weight&&Number.isFinite(n.weight)||'string'==typeof n.weight&&($.test(n.weight)||F.test(n.weight)))&&s.push(`font-weight:${n.weight}`),'string'==typeof n.style&&$.test(n.style)&&s.push(`font-style:${n.style}`),`@font-face{${s.join(';')}}`}function b(t,n){const s=R(t,n),o=S();if(o.styleSheet){const t=o;t.styleSheet.cssText=t.styleSheet.cssText?t.styleSheet.cssText+s:s}else if(o.sheet)o.sheet.insertRule(s,o.sheet.cssRules.length);else{const t=document.createTextNode(s);o.appendChild(t)}return o}},1041,[301,1042]);
5
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.withServerContext=function(n){if('undefined'!=typeof window)return n();return s().run(new Map,n)},e.addServerFont=function(n){const t=u();t.has(n.css)||t.set(n.css,n)},e.getServerResourceDescriptors=function(){const n=[...u().values()];if(!n.length)return[];const o=n.map(({css:n})=>n).join('\n'),s=[...new Set(n.map(({resourceId:n})=>n))];return[{css:o,id:t,type:'style'},...s.map(n=>({as:'font',crossOrigin:'',href:n,rel:'preload',type:'link'}))]},e.getLoadedServerFonts=function(){const n=s().getStore();if(!n)return[];return[...new Set([...n.values()].map(({name:n})=>n))]},e.isServerFontLoaded=function(n){const t=s().getStore();if(!t)return!1;for(const o of t.values())if(o.name===n)return!0;return!1};var n=r(d[0]);const t='expo-generated-fonts';let o=null;function s(){if('undefined'!=typeof window)throw new Error('expo-font server context is server-only and cannot be used in the browser.');return o||(o=new n.AsyncLocalStorage),o}function u(){const n=s().getStore();if(!n)throw new Error("expo-font server context accessed outside of withServerContext(). Wrap your server-side font usage in withServerContext(() => /* server code */).");return n}},1042,[1043]);
6
+ __d(function(g,r,i,a,m,e,d){},1043,[]);
7
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.getAssetForSource=p,_e.loadFontFamilyAsync=async function(t,e){await Promise.all(e.map(e=>{const o=p((0,f.fontSourceFromFace)(e));return j(t,o)}))},_e.loadSingleFontAsync=j;var t,e=r(d[0]),o=r(d[1]),n=r(d[2]),u=(t=n)&&t.__esModule?t:{default:t};r(d[3]);var f=r(d[4]);function s(t){return'string'==typeof t?t||null:'number'==typeof t?s(e.Asset.fromModule(t)):'object'==typeof t&&'number'==typeof t.uri?s(t.uri):'object'==typeof t&&(t.uri||t.localUri||t.default)||null}function c(t){if('object'==typeof t&&'display'in t)return t.display??void 0}function l(t){if('object'==typeof t&&'weight'in t)return t.weight??void 0}function y(t){if('object'==typeof t&&'style'in t)return t.style??void 0}function p(t){const e=s(t),o=c(t),n=l(t),u=y(t);return e&&'string'==typeof e||b(e),{uri:e,display:o,weight:n,style:u}}function b(t){let e=typeof t;throw'object'===e&&(e=JSON.stringify(t,null,2)),new o.CodedError("ERR_FONT_SOURCE",`Expected font asset of type \`string | FontResource | Asset\` instead got: ${e}`)}function j(t,e){return('object'!=typeof e||'string'!=typeof e.uri||e.downloadAsync)&&b(e),u.default.loadAsync(t,e)}},1044,[1045,301,1041,1058,1059]);
8
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),r(d[0]);var t=r(d[1]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})});var n=r(d[2]);Object.keys(n).forEach(function(t){'default'===t||Object.prototype.hasOwnProperty.call(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:function(){return n[t]}})})},1045,[1046,1047,1057]);
9
+ __d(function(g,r,i,a,m,_e,d){"use strict";var e,t=r(d[0]),s=r(d[1]),u=r(d[2]),o=(e=u)&&e.__esModule?e:{default:e};if(s.IS_ENV_WITH_LOCAL_ASSETS){(o.default.setCustomSourceTransformer||u.setCustomSourceTransformer)(function(e){try{if('fileHashes'in e.asset&&e.asset.fileHashes){const s=t.Asset.fromMetadata(e.asset);return s.uri.startsWith(t.ANDROID_EMBEDDED_URL_BASE_RESOURCE)?e.resourceIdentifierWithoutScale():e.fromSource(s.downloaded?s.localUri:s.uri)}return e.defaultAsset()}catch{return e.defaultAsset()}})}},1046,[1047,1051,1056]);
10
+ __d(function(g,r,i,a,m,_e,_d){"use strict";function t(t){return t&&t.__esModule?t:{default:t}}function e(t){if(t&&t.__esModule)return t;var e={};return t&&Object.keys(t).forEach(function(s){if('default'!==s){var n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(e,s,n.get?n:{enumerable:!0,get:function(){return t[s]}})}}),e.default=t,e}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"ANDROID_EMBEDDED_URL_BASE_RESOURCE",{enumerable:!0,get:function(){return y}}),Object.defineProperty(_e,"Asset",{enumerable:!0,get:function(){return w}}),r(_d[0]);var s=t(r(_d[1])),n=r(_d[2]),h=e(r(_d[3])),o=r(_d[4]),l=e(r(_d[5])),u=r(_d[6]),d=r(_d[7]),c=t(r(_d[8]));function f(t){return!!t&&'object'==typeof t&&'uri'in t&&'string'==typeof t.uri}const y='file:///android_res/';class w{static byHash={};static byUri={};hash=null;localUri=null;width=null;height=null;downloading=!1;downloaded=!1;_downloadCallbacks=[];constructor({name:t,type:e,hash:s=null,uri:n,width:o,height:l}){this.name=t,this.type=e,this.hash=s,this.uri=n,'number'==typeof o&&(this.width=o),'number'==typeof l&&(this.height=l),s&&(this.localUri=(0,u.getLocalAssetUri)(s,e),this.localUri?.startsWith(y)?(this.uri=this.localUri,this.localUri=null):this.localUri&&(this.downloaded=!0)),t||(this.name=h.getFilename(n)),e||(this.type=h.getFileExtension(n))}static loadAsync(t){const e=Array.isArray(t)?t:[t];return Promise.all(e.map(t=>w.fromModule(t).downloadAsync()))}static fromModule(t){if('string'==typeof t)return w.fromURI(t);if(f(t)){const e=h.getFileExtension(t.uri);return new w({name:'',type:e.startsWith('.')?e.substring(1):e,hash:null,uri:t.uri,width:t.width,height:t.height})}const e=s.default.getAssetByID(t);if(!e)throw new Error(`Module "${t}" is missing from the asset registry`);if(!d.IS_ENV_WITH_LOCAL_ASSETS){const{uri:s}=(0,c.default)(t),n=new w({name:e.name,type:e.type,hash:e.hash,uri:s,width:e.width,height:e.height});return w.byHash[e.hash]=n,n}return w.fromMetadata(e)}static fromMetadata(t){const e=t.hash,s=w.byHash[e];if(s)return s;const{uri:h,hash:o}=(0,n.selectAssetSource)(t),l=new w({name:t.name,type:t.type,hash:o,uri:h,width:t.width,height:t.height});return w.byHash[e]=l,l}static fromURI(t){if(w.byUri[t])return w.byUri[t];let e='';if(t.indexOf(';base64')>-1)e=t.split(';')[0]?.split('/')[1]??'';else{const s=h.getFileExtension(t);e=s.startsWith('.')?s.substring(1):s}const s=new w({name:'',type:e,hash:null,uri:t});return w.byUri[t]=s,s}async downloadAsync(){if(this.downloaded)return this;if(this.downloading)return await new Promise((t,e)=>{this._downloadCallbacks.push({resolve:t,reject:e})}),this;this.downloading=!0;try{if(l.isImageType(this.type)){const{width:t,height:e,name:s}=await l.getImageInfoAsync(this.uri);this.width=t,this.height=e,this.name=s}else this.name=h.getFilename(this.uri);this.localUri=await(0,o.downloadAsync)(this.uri,this.hash,this.type),this.downloaded=!0,this._downloadCallbacks.forEach(({resolve:t})=>t())}catch(t){throw this._downloadCallbacks.forEach(({reject:e})=>e(t)),t}finally{this.downloading=!1,this._downloadCallbacks=[]}return this}}},1047,[301,232,1048,1052,1053,1054,1055,1051,1056]);
11
+ __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.selectAssetSource=function(e){const t=o.default.pickScale(e.scales,s.default.get()),f=e.scales.findIndex(e=>e===t),l=e.fileHashes?.[f]??e.fileHashes?.[0]??e.hash,p=e.fileUris?e.fileUris[f]??e.fileUris[0]:e.uri;if(p)return{uri:c(p),hash:l};const U=1===t?'':`@${t}x`,v=e.type?`.${encodeURIComponent(e.type)}`:'',x=`/${encodeURIComponent(e.name)}${U}${v}`,L=new URLSearchParams({platform:"web",hash:e.hash});if(/^https?:\/\//.test(e.httpServerLocation)){return{uri:e.httpServerLocation+x+'?'+L,hash:l}}const R=(0,h.getManifest2)(),S=R?.extra?.expoGo?.developer?u(R):null;if(S){const t=new URL(e.httpServerLocation+x,S);return t.searchParams.set('platform',"web"),t.searchParams.set('hash',e.hash),{uri:t.href,hash:l}}if(n.default.ExponentKernel)return{uri:`https://classic-assets.eascdn.net/~assets/${encodeURIComponent(l)}`,hash:l};return{uri:'',hash:l}},_e.resolveUri=c,r(d[0]);var t=r(d[1]),s=e(r(d[2])),n=e(r(d[3])),o=e(r(d[4])),h=r(d[5]);function u(e){const s=(0,t.getBundleOrigin)();if(s)return s;const n=e.extra?.expoGo?.debuggerHost;if(!n)return null;return(h.manifestBaseUrl?.startsWith('https://')?'https://':'http://')+n}function c(e){return h.manifestBaseUrl?new URL(e,h.manifestBaseUrl).href:e}},1048,[301,1049,199,112,1050,1051]);
12
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"getBundleUrl",{enumerable:!0,get:function(){return t.getBundleUrl}}),e.getBundleOrigin=function(n=(0,t.getBundleUrl)()){if(!n)return null;try{const{protocol:t,origin:u}=new URL(n);return'http:'===t||'https:'===t?u:null}catch{return null}};var t=r(d[0])},1049,[575]);
13
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return n}}),r(d[0]);var e,t=r(d[1]),s=(e=t)&&e.__esModule?e:{default:e};function c(e){const t=n.pickScale(e.scales,s.default.get()),c=1===t?'':'@'+t+'x',o=e.type?`.${e.type}`:'';return e.httpServerLocation.replace(/\.\.\//g,'_')+'/'+e.name+c+o}class n{constructor(e,t,s){this.serverUrl=e||'https://expo.dev',this.jsbundleUrl=null,this.asset=s}isLoadedFromServer(){return!0}isLoadedFromFileSystem(){return!1}defaultAsset(){return this.assetServerURL()}assetServerURL(){const e=new URL(c(this.asset),this.serverUrl);return e.searchParams.set('platform',"web"),e.searchParams.set('hash',this.asset.hash),this.fromSource(e.toString().replace(e.origin,''))}fromSource(e){return{__packager_asset:!0,width:this.asset.width??void 0,height:this.asset.height??void 0,uri:e,scale:n.pickScale(this.asset.scales,s.default.get())}}static pickScale(e,t){for(const s of e)if(s>=t)return s;return e[e.length-1]||1}}},1050,[301,199]);
14
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"IS_ENV_WITH_LOCAL_ASSETS",{enumerable:!0,get:function(){return t}}),e.getLocalAssets=function(){return{}},e.getManifest2=function(){return{}},Object.defineProperty(e,"manifestBaseUrl",{enumerable:!0,get:function(){return n}});const t=!1;const n=null},1051,[]);
15
+ __d(function(g,r,i,a,m,e,d){"use strict";function t(t){const{pathname:s,searchParams:o}=new URL(t,'https://e');return n(s)}function n(t){return t.substring(t.lastIndexOf('/')+1)}Object.defineProperty(e,'__esModule',{value:!0}),e.getFilename=t,e.getFileExtension=function(n){const s=t(n),o=s.lastIndexOf('.');return o>0?s.substring(o):''},e.getManifestBaseUrl=function(t){const n=new URL(t);let s=n.protocol;'exp:'===s?s='http:':'exps:'===s&&(s='https:');n.protocol=s;const o=n.pathname.substring(0,n.pathname.lastIndexOf('/')+1);return n.pathname=o,n.search='',n.hash='',n.protocol!==s?n.href.replace(n.protocol,s):n.href}},1052,[]);
16
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.downloadAsync=async function(n,t,c){return n}},1053,[]);
17
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.isImageType=function(n){return/^(jpeg|jpg|gif|png|bmp|webp|heic)$/i.test(n)},e.getImageInfoAsync=function(t){if('undefined'==typeof window)return Promise.resolve({name:(0,n.getFilename)(t),width:0,height:0});return new Promise((o,u)=>{const s=new Image;s.onerror=u,s.onload=()=>{o({name:(0,n.getFilename)(t),width:s.naturalWidth,height:s.naturalHeight})},s.src=t})};var n=r(d[0])},1054,[1052]);
18
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.getLocalAssetUri=function(t,n){return null}},1055,[]);
19
+ __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"default",{enumerable:!0,get:function(){return f}}),_e.setCustomSourceTransformer=o,Object.defineProperty(_e,"pickScale",{enumerable:!0,get:function(){return l}});var t=e(r(d[0])),n=e(r(d[1]));let u;function o(e){u=e}function c(e){if('object'==typeof e)return e;const o=t.default.getAssetByID(e);if(!o)return null;const c=new n.default('https://expo.dev',null,o);return u?u(c):c.defaultAsset()}Object.defineProperty(c,'setCustomSourceTransformer',{get:()=>o});var f=c;const{pickScale:l}=n.default},1056,[232,1050]);
20
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.useAssets=function(u){const[c,n]=(0,t.useState)(),[o,f]=(0,t.useState)();return(0,t.useEffect)(()=>{s.Asset.loadAsync(u).then(n).catch(f)},[]),[c,o]};var t=r(d[0]),s=r(d[1])},1057,[30,1047]);
21
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.normalizeWeight=o,e.normalizeStyle=f,e.resolveFaceWeight=l,e.resolveFaceStyle=c,e.assertValidFontFaces=function(t,s){if('string'!=typeof t||0===t.length)throw new n.CodedError("ERR_FONT_API",`Expected a non-empty string for \`fontFamily\`, instead got ${JSON.stringify(t)}. Set \`fontFamily\` to the name to use as the \`fontFamily\` style prop.`);if(!Array.isArray(s)||0===s.length)throw new n.CodedError("ERR_FONT_API",`No font faces were provided for font family "${t}". Set \`fontDefinitions\` to a non-empty array of \`FontFaceDefinition\`s.`);const y=new Set;for(const u of s){if('object'!=typeof u||null===u||null==u.path)throw new n.CodedError("ERR_FONT_API",`A face of font family "${t}" has no \`path\`. Set the face's \`path\` to a \`FontSource\`.`);const s=o(l(u)),h=f(c(u));if(void 0===s||void 0===h)continue;const F=`${s}/${h}`;if(y.has(F))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" declares two faces with weight ${s} and style "${h}". Give each face a distinct weight or style so the correct face is selected at render time.`);y.add(F)}},e.assertValidFontFamilyDefinitions=function(t){const o=new Set;for(const f of t){if('object'!=typeof f||null===f||Array.isArray(f)||!('fontFamily'in f)||!('fontDefinitions'in f))throw new n.CodedError("ERR_FONT_API",`Expected an object with \`fontFamily\` and \`fontDefinitions\`, instead got ${JSON.stringify(f)}. Set each array element to \`{ fontFamily, fontDefinitions }\`.`);const{fontFamily:t}=f;if(o.has(t))throw new n.CodedError("ERR_FONT_API",`Font family "${t}" is declared more than once in this \`loadAsync\` call. Declare each \`fontFamily\` once, with all of its faces in one \`fontDefinitions\` array.`);o.add(t)}};var t=r(d[0]),n=r(d[1]);function o(t){if(null==t)return;if('number'==typeof t)return Number.isFinite(t)?t:void 0;const n=t.trim().toLowerCase();if('normal'===n)return 400;if('bold'===n)return 700;const o=Number(n);return Number.isFinite(o)?o:void 0}function f(t){if(null==t)return;const n=t.trim().toLowerCase();return'italic'===n||'oblique'===n?'italic':'normal'}function s(n){if(!(n instanceof t.Asset||'string'==typeof n||'number'==typeof n))return n}function l(t){return t.weight??s(t.path)?.weight}function c(t){return t.style??s(t.path)?.style}},1058,[1045,301]);
22
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.fontSourceFromFace=function(n){const{path:o,display:s}=n,u=(0,l.resolveFaceWeight)(n),c=(0,l.resolveFaceStyle)(n);if(o instanceof t.Asset)return{uri:o.uri,...void 0!==u?{weight:u}:null,...void 0!==c?{style:c}:null,...void 0!==s?{display:s}:null};const y='string'==typeof o||'number'==typeof o?{uri:o}:o;return{...y,weight:u,style:c,display:s??y.display}};var t=r(d[0]),l=r(d[1])},1059,[1045,1058]);
23
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"loadPromises",{enumerable:!0,get:function(){return o}}),_e.markLoaded=function(e){u[e]=!0},_e.isLoadedInCache=c,_e.isLoadedNative=function(e){if(c(e))return!0;{const n=t.default.getLoadedFonts();return!!n?.length&&(n.forEach(e=>{u[e]=!0}),e in u)}},_e.purgeFontFamilyFromCache=function(e){delete u[e]},_e.purgeCache=function(){u={}};var e,n=r(d[0]),t=(e=n)&&e.__esModule?e:{default:e};const o={};let u={};function c(e){return e in u}},1060,[1041]);
24
+ __d(function(g,r,i,a,m,_e,d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"withServerContext",{enumerable:!0,get:function(){return u.withServerContext}}),_e.getServerResources=function(){if(!n.default.getServerResources)throw new t.UnavailabilityError('expo-font','getServerResources');return n.default.getServerResources()},_e.getServerResourceDescriptors=function(){if(!n.default.getServerResourceDescriptors)throw new t.UnavailabilityError('expo-font','getServerResourceDescriptors');return n.default.getServerResourceDescriptors()},_e.registerStaticFont=function(e,o){if(!o)throw new t.CodedError("ERR_FONT_SOURCE",`Cannot load null or undefined font source: { "${e}": ${o} }. Expected asset of type \`FontSource\` for fontFamily of name: "${e}"`);const n=(0,s.getAssetForSource)(o);(0,s.loadSingleFontAsync)(e,n)};var e,t=r(d[0]),o=r(d[1]),n=(e=o)&&e.__esModule?e:{default:e},s=r(d[2]),u=r(d[3])},1061,[301,1041,1044,1042]);
25
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"FontDisplay",{enumerable:!0,get:function(){return t}});var t=(function(t){return t.AUTO="auto",t.SWAP="swap",t.BLOCK="block",t.FALLBACK="fallback",t.OPTIONAL="optional",t})({})},1062,[]);
26
+ __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.renderToImageAsync=async function(e,l){if(!t.default)throw new o.UnavailabilityError('expo-font','ExpoFontUtils.renderToImageAsync');return await t.default.renderToImageAsync(e,{...l,color:l?.color?(0,n.default)(l.color):void 0})};var o=r(d[0]),n=e(r(d[1])),t=e(r(d[2]))},1063,[301,53,1064]);
27
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});var t=r(d[0]);class n extends t.NativeModule{async renderToImageAsync(n,o){throw new t.UnavailabilityError('expo-font','renderToImageAsync')}}var o=(0,t.registerWebModule)(n,'ExpoFontUtils')},1064,[301]);
28
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"useFonts",{enumerable:!0,get:function(){return u}});var t=r(d[0]),n=r(d[1]);function o(t){return'string'==typeof t?(0,n.isLoaded)(t):Array.isArray(t)?t.every(t=>{const o=t?.fontFamily;return'string'==typeof o&&(0,n.isLoaded)(o)}):Object.keys(t).every(t=>(0,n.isLoaded)(t))}const u='undefined'==typeof window?function(t){return(0,n.loadAsync)(t),[!0,null]}:function(u){const[s,c]=(0,t.useState)(o(u)),[f,y]=(0,t.useState)(null);return(0,t.useEffect)(()=>{let t=!0;return(0,n.loadAsync)(u).then(()=>{t&&c(!0)}).catch(n=>{t&&y(n)}),()=>{t=!1}},[]),[s,f]}},1065,[30,1040]);
29
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0});var t=r(d[0]);Object.keys(t).forEach(function(n){'default'===n||Object.prototype.hasOwnProperty.call(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[n]}})})},1066,[1067]);
30
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.preventAutoHideAsync=async function(){return!1},e.setOptions=function(n){},e.hide=function(){},e.hideAsync=async function(){}},1067,[]);
31
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),Object.defineProperty(e,"sharedRecipeCards",{enumerable:!0,get:function(){return l}});var c=r(d[0]),s=r(d[1]),n=r(d[2]);const o=()=>{const c=n.useSync.getState();return'live'===c.mode&&'guest'!==c.kind&&!!c.venueId};function t(c){if(o()&&!(0,n.can)(c))throw new Error('recipes.signoff'===c?'Only the head chef can sign off a recipe card.':'Only the head chef, managers and owners can change recipe cards.')}const l={mode:'shared',list:s=>c.localRecipeCards.list(s),get:s=>c.localRecipeCards.get(s),byMenuItem:s=>c.localRecipeCards.byMenuItem(s),subscribe:s=>c.localRecipeCards.subscribe(s),create:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.create(s,n,o)),update:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.update(s,n,o)),signOff:async(s,n)=>(t('recipes.signoff'),c.localRecipeCards.signOff(s,n)),remove:async(s,n)=>(t('recipes.edit'),c.localRecipeCards.remove(s,n)),savePhoto:async(s,n,o)=>(t('recipes.edit'),c.localRecipeCards.savePhoto(s,n,o)),photoSource:s=>c.localRecipeCards.photoSource(s)};function p(){const n=o()?l:c.localRecipeCards;(0,s.recipeCards)()!==n&&(0,s.setRecipeCardRepository)(n)}p(),n.useSync.subscribe((c,s)=>{c.mode===s.mode&&c.kind===s.kind&&c.venueId===s.venueId||p()})},1068,[1080,831,820]);
32
+ __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),Object.defineProperty(_e,"STRIP",{enumerable:!0,get:function(){return C}}),_e.SyncBadge=function(){const e=(0,y.useSync)(),[R,P]=(0,n.useState)(!1),[z,S]=(0,n.useState)(e.refused?.at??''),k=e.refused&&e.refused.at!==z?e.refused:void 0,[W,A]=(0,n.useState)(!1),[H,L]=(0,n.useState)(''),N=(0,p.useDisplaySettings)(f.VENUE_RID),$=(0,T.useScreensaverAsleep)(e=>e.asleep),O='off'===e.mode&&(I.PITCH||!(0,j.isSupabaseConfigured)());if('customer'===h.APP_VARIANT||'off'===e.mode&&!O)return null;if($)return(0,w.jsx)(u.default,{testID:"sync-strip-asleep",accessibilityElementsHidden:!0,importantForAccessibility:"no-hide-descendants",style:{height:C,backgroundColor:x.colours.bg}});const _='live'===e.mode,E='display'===h.APP_VARIANT,V=e.waiting??0,M=`${V} change${1===V?'':'s'} waiting to save`,K=O?I.PITCH?'Demo \xb7 this device only':'This device only':_?V?M:e.pending?`Live \xb7 sending ${e.pending}`:'Live':'offline'===e.mode?"Offline"+(e.pending?` \xb7 ${e.pending} waiting`:''):'connecting'===e.mode?'Connecting\u2026':'unpaired'===e.mode?'Not paired':'On this device',U=O||_&&V?x.colours.gold:_?x.colours.ok:'offline'===e.mode||'connecting'===e.mode?x.colours.gold:x.colours.muted,Y=O?I.PITCH?'Demo mode. Nothing is shared or sent: everything you do stays in this browser.':'This copy isn\u2019t connected to a shared system. Everything stays on this device.':_?`Shared live with ${e.venueName??'your venue'}${e.lastSyncAt?`. Last update ${new Date(e.lastSyncAt).toLocaleTimeString('en-GB',{hour:'2-digit',minute:'2-digit'})}`:''}.`:'offline'===e.mode?'No connection. Changes are saved on this device and sent when you\u2019re back online.':'signin'===e.mode?'Not connected to the shared system. Open your personal invite link once on this device to connect.':'unpaired'===e.mode?'This display isn\u2019t paired. Use a pairing code from Managers \u2192 Displays.':'connecting'===e.mode?'Connecting to the shared system\u2026':'The shared system can\u2019t be reached, so this device is using its own data.';return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(u.default,{testID:"sync-strip",style:{height:C,paddingHorizontal:10,justifyContent:'center',alignItems:'flex-start',backgroundColor:x.colours.bg,borderTopWidth:1,borderTopColor:'rgba(255,255,255,0.06)'},children:(0,w.jsxs)(c.default,{testID:"sync-badge",accessibilityRole:"button",accessibilityLabel:V&&_?`${M}. Kept on this device and tried again by itself. Tap for details.`:`Sync: ${K}`,accessibilityLiveRegion:"polite",onPress:()=>P(e=>!e),style:{flexDirection:'row',alignItems:'center',gap:6,paddingHorizontal:14,minHeight:44,borderRadius:999,backgroundColor:(0,s.soutersSurface)('rgba(16,14,11,0.92)'),borderWidth:1,borderColor:'rgba(255,255,255,0.14)',maxWidth:320},children:[(0,w.jsx)(u.default,{style:{width:8,height:8,borderRadius:4,backgroundColor:U}}),(0,w.jsx)(v.T,{size:12,weight:"semibold",children:K})]})}),R?(0,w.jsxs)(u.default,{testID:"sync-detail",style:{position:'absolute',left:10,bottom:52,zIndex:900,maxWidth:320,padding:12,borderRadius:12,backgroundColor:(0,s.soutersSurface)('#15120E'),borderWidth:1,borderColor:'rgba(255,255,255,0.14)',gap:4},children:[(0,w.jsx)(v.T,{size:13,children:Y}),V?(0,w.jsxs)(u.default,{testID:"sync-waiting",style:{gap:4},children:[(0,w.jsxs)(v.T,{size:12,colour:x.colours.gold,children:[M,". ",1===V?'It is':'They are'," kept on this device and tried again by ",1===V?'itself':'themselves'," until the shared system takes ",1===V?'it':'them',".",e.waitingWhat?` Waiting: ${e.waitingWhat}.`:'']}),(0,w.jsx)(c.default,{testID:"sync-retry",accessibilityRole:"button",accessibilityLabel:"Try saving again now",onPress:()=>{b.mutationQueue.retryNow()},style:{minHeight:44,justifyContent:'center',alignSelf:'flex-start',paddingHorizontal:12,borderRadius:8,borderWidth:1,borderColor:x.colours.gold},children:(0,w.jsx)(v.T,{size:12,colour:x.colours.gold,children:"Try again now"})})]}):null,e.refused?(0,w.jsxs)(v.T,{size:12,colour:x.colours.red,children:["Last change not saved: ",e.refused.what,". ",e.refused.why,"."]}):null,e.message?(0,w.jsx)(v.T,{size:12,colour:x.colours.muted,children:e.message}):null,e.venueId&&(_||'offline'===e.mode)?W?(0,w.jsxs)(u.default,{style:{gap:6,marginTop:6},children:[(0,w.jsx)(v.T,{size:12,children:E?'Unpair this display? It goes back to the pairing screen and needs a new code from Managers \u2192 Displays.':'Disconnect this device? Your changes stay on it; open your personal invite link to connect again.'}),E&&N.pinOn?(0,w.jsx)(t.TextInput,{testID:"unpair-pin",value:H,onChangeText:L,placeholder:"Display PIN",placeholderTextColor:x.colours.muted,secureTextEntry:!0,keyboardType:"number-pad",accessibilityLabel:"Display PIN",style:{borderWidth:1,borderColor:'rgba(255,255,255,0.2)',borderRadius:8,paddingHorizontal:10,paddingVertical:6,color:x.colours.text}}):null,(0,w.jsxs)(u.default,{style:{flexDirection:'row',gap:8},children:[(0,w.jsx)(c.default,{testID:"unpair-confirm",accessibilityRole:"button",accessibilityLabel:E?'Yes, unpair':'Yes, disconnect',disabled:E&&N.pinOn&&!(0,l.wakePinMatches)(N,H),onPress:()=>{A(!1),P(!1),L(''),E?(0,y.unpairDisplay)():(0,y.disconnectStaff)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:E&&N.pinOn&&!(0,l.wakePinMatches)(N,H)?'rgba(255,255,255,0.08)':x.colours.red},children:(0,w.jsx)(v.T,{size:12,weight:"semibold",children:E?'Yes, unpair':'Yes, disconnect'})}),(0,w.jsx)(c.default,{accessibilityRole:"button",accessibilityLabel:"Keep connected",onPress:()=>{A(!1),L('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,w.jsx)(v.T,{size:12,children:"Keep"})})]})]}):(0,w.jsx)(c.default,{testID:"unpair",accessibilityRole:"button",accessibilityLabel:E?'Unpair this display':'Disconnect this device',onPress:()=>A(!0),style:{marginTop:6,alignSelf:'flex-start'},children:(0,w.jsx)(v.T,{size:12,colour:x.colours.gold,children:E?'Unpair this display\u2026':'Disconnect this device\u2026'})}):null,(0,w.jsx)(o.WipeDevice,{compact:!0})]}):null,k?(0,w.jsx)(u.default,{testID:"sync-toast",style:{position:'absolute',left:16,right:16,bottom:C+D+8,zIndex:950,alignItems:'center'},pointerEvents:"box-none",children:(0,w.jsxs)(u.default,{accessibilityRole:"alert",accessibilityLiveRegion:"assertive",style:{padding:12,borderRadius:12,backgroundColor:'#3A1712',borderWidth:1,borderColor:x.colours.red,maxWidth:460,gap:8},children:[(0,w.jsx)(v.T,{size:13,children:`Not saved: ${k.what}. Why: ${k.why}. This device now shows what the shared system has, so please make the change again if it is still needed.`}),(0,w.jsx)(c.default,{testID:"sync-toast-ok",accessibilityRole:"button",accessibilityLabel:"OK, dismiss this message",onPress:()=>S(k.at),style:{minHeight:44,minWidth:64,justifyContent:'center',alignItems:'center',alignSelf:'flex-end',paddingHorizontal:14,borderRadius:8,backgroundColor:x.colours.red},children:(0,w.jsx)(v.T,{size:13,weight:"semibold",children:"OK"})})]})}):null]})};var s=r(d[0]),t=r(d[1]),n=r(d[2]),o=r(d[3]),l=r(d[4]),c=e(r(d[5])),u=e(r(d[6])),h=r(d[7]),y=r(d[8]),b=r(d[9]),p=r(d[10]),f=r(d[11]),x=r(d[12]),v=r(d[13]),T=r(d[14]),j=r(d[15]),I=r(d[16]),w=r(d[17]);const C=48,D='display'===h.APP_VARIANT?0:60},1069,[868,877,30,1070,948,263,127,806,820,1081,825,5,821,813,917,1082,2,24]);
33
+ __d(function(g,r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.WipeDevice=function({compact:e}){const f=(0,u.useDisplaySettings)(p.VENUE_RID),[v,T]=(0,s.useState)(!1),[w,j]=(0,s.useState)(''),[D,C]=(0,s.useState)(!1),I='display'===h.APP_VARIANT&&f.pinOn,P=!I||(0,b.wakePinMatches)(f,w);return v?(0,x.jsxs)(o.default,{testID:"wipe-confirm-box",style:{gap:6,marginTop:6},children:[(0,x.jsx)(l.T,{size:e?12:14,children:"Sign out and remove everything CoverCharge keeps on this device: sign-ins, pairing, saved screens and any changes not sent yet. The venue\u2019s shared data is not touched. To use it again, open a personal link or pair the Display again."}),I?(0,x.jsx)(t.TextInput,{testID:"wipe-pin",value:w,onChangeText:j,placeholder:"Display wake PIN",placeholderTextColor:c.colours.muted,secureTextEntry:!0,keyboardType:"number-pad",accessibilityLabel:"Display wake PIN",style:{borderWidth:1,borderColor:'rgba(255,255,255,0.2)',borderRadius:8,paddingHorizontal:10,paddingVertical:6,color:c.colours.text}}):null,(0,x.jsxs)(o.default,{style:{flexDirection:'row',gap:8},children:[(0,x.jsx)(n.default,{testID:"wipe-confirm",accessibilityRole:"button",accessibilityLabel:"Yes, wipe this device",disabled:!P||D,onPress:()=>{C(!0),(0,y.wipeThisDevice)()},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,backgroundColor:P?c.colours.red:'rgba(255,255,255,0.08)'},children:(0,x.jsx)(l.T,{size:12,weight:"semibold",children:D?'Wiping\u2026':'Yes, wipe this device'})}),(0,x.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Cancel",onPress:()=>{T(!1),j('')},style:{paddingHorizontal:12,paddingVertical:6,borderRadius:8,borderWidth:1,borderColor:'rgba(255,255,255,0.2)'},children:(0,x.jsx)(l.T,{size:12,children:"Cancel"})})]})]}):(0,x.jsx)(n.default,{testID:"wipe-device",accessibilityRole:"button",accessibilityLabel:"Sign out and wipe this device",onPress:()=>T(!0),style:{alignSelf:'flex-start',marginTop:e?4:0,minHeight:44,justifyContent:'center'},children:(0,x.jsx)(l.T,{size:e?12:14,colour:c.colours.gold,children:"Sign out and wipe this device\u2026"})})};var t=r(d[0]),s=r(d[1]),n=e(r(d[2])),o=e(r(d[3])),l=r(d[4]),c=r(d[5]),u=r(d[6]),p=r(d[7]),b=r(d[8]),h=r(d[9]),y=r(d[10]),x=r(d[11])},1070,[877,30,263,127,813,821,825,5,948,806,820,24]);
34
+ __d(function(g,_r,i,a,m,_e,d){"use strict";function e(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(_e,'__esModule',{value:!0}),_e.PushPrompt=function(){const e=(0,l.useSync)(e=>e.kind),b=(0,l.useSync)(e=>e.staffRef),x=(0,l.useSync)(e=>e.venueId),[p,S]=(0,o.useState)(!1),[j,v]=(0,o.useState)(null);if((0,o.useEffect)(()=>{if(u.PITCH||y()||'staff'!==e||!b||!x)return;let t=!0;return(async()=>{const e=await(0,c.pushState)();if(!t)return;if('undefined'!=typeof Notification&&'granted'===Notification.permission&&('on'===e||'off'===e))return void(0,c.turnOnPush)();if('off'!==e)return;const o=Number(localStorage.getItem(h)||0);Date.now()-o>2592e5&&S(!0)})(),()=>{t=!1}},[e,b,x]),!p)return null;const w={minHeight:48,borderRadius:12,justifyContent:'center',paddingHorizontal:18};return(0,f.jsxs)(r.default,{accessibilityRole:"alert",style:{position:'absolute',left:12,right:12,bottom:72,backgroundColor:s.colours.surface2,borderColor:s.colours.gold,borderWidth:1,borderRadius:14,padding:16,zIndex:50},children:[(0,f.jsx)(t.Text,{style:{color:s.colours.goldLight,fontSize:18,fontWeight:'700',marginBottom:6},children:"Get notifications on this phone"}),(0,f.jsx)(t.Text,{style:{color:'#F2E6C9',fontSize:16,marginBottom:12},children:j??'So you hear about rota changes, swaps and reminders even when the app is closed.'}),(0,f.jsxs)(r.default,{style:{flexDirection:'row',gap:12},children:[(0,f.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Turn on notifications",style:[w,{backgroundColor:s.colours.gold,flex:1}],onPress:async()=>{const e=await(0,c.turnOnPush)();e.ok?S(!1):v(e.message)},children:(0,f.jsx)(t.Text,{style:{color:'#0B0B0B',fontSize:17,fontWeight:'700',textAlign:'center'},children:"Turn on"})}),(0,f.jsx)(n.default,{accessibilityRole:"button",accessibilityLabel:"Not now",style:[w,{borderColor:s.colours.gold,borderWidth:1}],onPress:()=>{try{localStorage.setItem(h,String(Date.now()))}catch{}S(!1)},children:(0,f.jsx)(t.Text,{style:{color:s.colours.goldLight,fontSize:17,textAlign:'center'},children:"Not now"})})]})]})};var t=_r(d[0]),o=_r(d[1]);_r(d[2]);var n=e(_r(d[3])),r=e(_r(d[4])),s=_r(d[5]),l=_r(d[6]),c=_r(d[7]),u=_r(d[8]),f=_r(d[9]);const h='cc-push-later-v1',y=()=>'undefined'!=typeof navigator&&/CoverChargePhone\//.test(navigator.userAgent)},1071,[877,30,122,263,127,821,820,1083,2,24]);
35
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.VoiceHost=function(){return null}},1072,[]);
36
+ __d(function(g,r,_i,a,_m,_e,_d){"use strict";Object.defineProperty(_e,'__esModule',{value:!0}),_e.seedPitch=function(){const h='owner'===d.APP_VARIANT?'st-tracy':'chef'===d.APP_VARIANT?'st-bisto':'staff'===d.APP_VARIANT?'st-lenny':null;!h||i.useSession.getState().meId||/[?&]invite=/.test('undefined'!=typeof window?window.location.search:'')||i.useSession.getState().signIn(h);t.useStore.setState(t=>({bookings:t.bookings.map((t,e)=>t.phone||t.walkIn?t:{...t,phone:`07700 900${String(100+e).slice(-3)}`})}));const S=s.useOwner.getState();if(S.shifts.some(t=>t.id.startsWith('pitch-')))return;const p=(0,e.nowFrom)(t.useStore.getState().clock),y=f(p),m=p.getHours()+p.getMinutes()/60,w=(0,s.addDays)(y,-(0,s.weekdayOf)(y)),A=[],k=[];for(const[t,[e,n,i]]of Object.entries(l))if(o.ROSTER.some(e=>e.id===t))for(let o=-7;o<14;o++){const d=(0,s.addDays)(w,o),c=(0,s.weekdayOf)(d);i.includes(c)||(A.push({id:`pitch-${t}-${d}`,staffId:t,date:d,day:c,start:e,end:n,published:o<7,breakAt:n-e>=6?e+3.5:void 0}),d<y?k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.1),out:u(d,n+.15),inSite:!0,outSite:!0,breakMins:n-e>=6?30:0,signOff:d<(0,s.addDays)(y,-1)?{by:'Alex',byId:'st-gordon',at:u(d,23.5)}:void 0}):d===y&&e<=m&&k.push({id:`pitch-a-${t}-${d}`,staffId:t,date:d,in:u(d,e-.05),inSite:!0}))}s.useOwner.setState({shifts:[...S.shifts.filter(t=>!A.some(e=>e.staffId===t.staffId&&e.date===t.date)),...A],attendance:[...S.attendance,...k]});const I=n.useCashUp.getState();for(let t=1;t<=10;t++){const e=(0,s.addDays)(y,-t);if([0,1].includes((0,s.weekdayOf)(e)))continue;if(I.cashUps.some(t=>t.rid===c&&t.date===e))continue;const n=1450+373*t%900,o=210+97*t%240;I.saveCashUp({rid:c,date:e,vals:{card:n,cash:o,float:200,cashTips:38+13*t%40,cardTips:92+29*t%70,overUnder:3===t?-2.5:0,notes:3===t?'Till 2 short \xa32.50, counted twice.':''},photos:[],confirmedBy:t%2?'Alex':'Priya',confirmedAt:u(e,23.25),readBy:null})}for(let t=1;t<=3;t++){const e=(0,s.addDays)(w,-7*t);if(I.sales.some(t=>t.rid===c&&t.weekStart===e))continue;const n=11800+640*t;I.saveSales({rid:c,weekStart:e,vals:{gross:n,net:Math.round(n/1.2),vat:Math.round(n-n/1.2),covers:610+22*t,discounts:140,refunds:35},categories:[{name:'Food',amount:Math.round(.62*n)},{name:'Drinks',amount:Math.round(.31*n)},{name:'Takeaway',amount:Math.round(.07*n)}],photos:[],confirmedBy:'Alex',confirmedAt:u((0,s.addDays)(e,7),11),readBy:null})}};var t=r(_d[0]),e=r(_d[1]),s=r(_d[2]),n=r(_d[3]),o=r(_d[4]),i=r(_d[5]),d=r(_d[6]);const c='anchorage',f=t=>`${t.getFullYear()}-${String(t.getMonth()+1).padStart(2,'0')}-${String(t.getDate()).padStart(2,'0')}`,u=(t,e)=>{const[s,n,o]=t.split('-').map(Number);return new Date(s,n-1,o,Math.floor(e),Math.round(e%1*60)).toISOString()},l={'st-gordon':[11,21,[0,1]],'st-bisto':[10,20.5,[0,1]],'st-agate':[16,22.5,[0,1,2]],'st-lenny':[11,19,[0,1,3]],'st-finn':[17,23,[0,1,4]],'st-eilidh':[12,18,[0,1,2]],'st-emily':[17,22,[0,1,3]],'st-lillie':[12,20,[0,1,5]],'st-jack':[16,22,[0,1,6]]}},1073,[819,872,856,1079,14,859,806]);
37
+ __d(function(e,o,s,t,p,a,i){"use strict";p.exports="/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf"},1074,[]);
38
+ __d(function(o,s,e,t,p,c,d){"use strict";p.exports="/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf"},1075,[]);
39
+ __d(function(o,s,e,t,p,d,i){"use strict";p.exports="/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf"},1076,[]);
40
+ __d(function(o,s,t,d,e,p,i){"use strict";e.exports="/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf"},1077,[]);
3idiots/customer-app/_expo/static/js/web/index-5509422d4211b04ebd2768d3da51edbf.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/customer-app/_expo/static/js/web/index-82eeccd60a7032640fa7e0eb53567309.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/customer-app/_expo/static/js/web/index-a1940efa8ad1d62974a9a96d7e6d1e3a.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/customer-app/_expo/static/js/web/index-ec4a702c34ea762b0b3ef33b63506ae5.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,{})}},799,[804,30,964,806,24]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},964,[]);
3idiots/customer-app/customer/3idiots.html CHANGED
@@ -30,6 +30,6 @@
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/customer-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
- <script src="/3idiots/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/__common-cb6486604bef5cd584f39f9584f142b7.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/index-62c1bd6f446bc7940727b36f5ffe0df4.js" defer></script>
34
  </body>
35
  </html>
 
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/customer-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
+ <script src="/3idiots/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/__common-3b3852b6b0bd882ffa7812f9f6a6422a.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/index-a1940efa8ad1d62974a9a96d7e6d1e3a.js" defer></script>
34
  </body>
35
  </html>
3idiots/customer-app/index.html CHANGED
@@ -30,6 +30,6 @@
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/customer-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
- <script src="/3idiots/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/__common-cb6486604bef5cd584f39f9584f142b7.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/index-62c1bd6f446bc7940727b36f5ffe0df4.js" defer></script>
34
  </body>
35
  </html>
 
30
  <noscript> You need to enable JavaScript to run this app. </noscript>
31
  <!-- The root element for your Expo app. -->
32
  <div id="root"><div style="position:fixed;inset:0;background:#202020;display:grid;place-items:center"><img src="/3idiots/customer-app/brand-hero.png" alt="3 Idiots" width="260" height="260" style="display:block;max-width:80vw;height:auto;margin:0 auto;object-fit:contain"><p style="text-align:center;color:#B78731;font-size:16px">10 George Street, Ayr, KA8 0BL</p></div></div>
33
+ <script src="/3idiots/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/__common-3b3852b6b0bd882ffa7812f9f6a6422a.js" defer></script><script src="/3idiots/customer-app/_expo/static/js/web/index-a1940efa8ad1d62974a9a96d7e6d1e3a.js" defer></script>
34
  </body>
35
  </html>
3idiots/customer-app/sw.js CHANGED
@@ -1,4 +1,4 @@
1
- const V="cc-3idiots-customer-3b8a380bb1f08eae",B="/3idiots/customer-app/",P=["/3idiots/customer-app/apple-touch-icon.png", "/3idiots/customer-app/favicon.ico", "/3idiots/customer-app/icon-192.png", "/3idiots/customer-app/icon-512.png", "/3idiots/customer-app/brand-logo.png", "/3idiots/customer-app/index.html", "/3idiots/customer-app/manifest.webmanifest", "/3idiots/customer-app/brand-hero.png", "/3idiots/customer-app/customer/3idiots.html", "/3idiots/customer-app/_expo/static/js/web/feedback-3a26c70c9f758c4e362493c3b124ff43.js", "/3idiots/customer-app/_expo/static/js/web/[n]-ced785c534ba69ad6c9c35369d7ecc36.js", "/3idiots/customer-app/_expo/static/js/web/index-f9b07e7c25cec3623c10876ff1e01e58.js", "/3idiots/customer-app/_expo/static/js/web/[section]-93e8e4ffe952e5b3c505e21ca771e570.js", "/3idiots/customer-app/_expo/static/js/web/index-a39af53b0c36f30a0cc27647d3da5a52.js", "/3idiots/customer-app/_expo/static/js/web/loyalty-679d7aa42c3cddfce82c3e1207d2d4cf.js", "/3idiots/customer-app/_expo/static/js/web/[oid]-7fa4f78cb447d1c659e81fff8893269f.js", "/3idiots/customer-app/_expo/static/js/web/refer-01535dadf727412eb1a34a61dcc6d53d.js", "/3idiots/customer-app/_expo/static/js/web/__common-cb6486604bef5cd584f39f9584f142b7.js", "/3idiots/customer-app/_expo/static/js/web/index-a87fa345a0c01a0150c6e7893fe81768.js", "/3idiots/customer-app/_expo/static/js/web/index-caff9d9bd26828dced40b26e6fce88bd.js", "/3idiots/customer-app/_expo/static/js/web/[did]-2a2aaaa129307f15140971a22b834cd3.js", "/3idiots/customer-app/_expo/static/js/web/demo-6323990816bb686dcab3b33d7e6ec148.js", "/3idiots/customer-app/_expo/static/js/web/index-62c1bd6f446bc7940727b36f5ffe0df4.js", "/3idiots/customer-app/_expo/static/js/web/book-b68aff7cd8daa9b5d327ece648db8831.js", "/3idiots/customer-app/_expo/static/js/web/_layout-26bdf77452b4f3485064d92a6b6c061d.js", "/3idiots/customer-app/_expo/static/js/web/profile-b82887516ccba728915e95d502c0081a.js", "/3idiots/customer-app/_expo/static/js/web/index-6de921f9892ce6ace7c824519390276f.js", "/3idiots/customer-app/_expo/static/js/web/offers-eba5409c285b6031064e79e9f1ea19e0.js", "/3idiots/customer-app/_expo/static/js/web/merch-63634eac687774d71f27698748247bd2.js", "/3idiots/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/3idiots/customer-app/_expo/static/js/web/[token]-6c815095a584dc0399e5918b52874b98.js", "/3idiots/customer-app/_expo/static/js/web/index-4cd80023acceae2b373393cba894d57d.js", "/3idiots/customer-app/_expo/static/js/web/gift-eb5daa22c1465e33034a87271e1b8b3b.js", "/3idiots/customer-app/_expo/static/js/web/basket-b17831f04afc73d6dfc4107f720f1f19.js", "/3idiots/customer-app/_expo/static/js/web/index-3c5f820b3b21978c61372b3163c55b0a.js", "/3idiots/customer-app/_expo/static/js/web/+not-found-585f3164ae74e5ff35af71a4ba7360a3.js", "/3idiots/customer-app/_expo/static/js/web/lost-817d2886f8973bfa630e2a69674dc584.js", "/3idiots/customer-app/_expo/static/js/web/index-837efe1be9c39737e9750ae18a91c7cb.js", "/3idiots/customer-app/_expo/static/js/web/whatson-0608a899f634d91b081b758137ce1d33.js", "/3idiots/customer-app/_expo/static/js/web/waitlist-119a5ba8531abfe81734f2106aefa476.js", "/3idiots/customer-app/_expo/static/js/web/index-16462a481880b421eea7b0bc2026e4f7.js", "/3idiots/customer-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/3idiots/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/3idiots/customer-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/3idiots/customer-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/3idiots/customer-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/3idiots/customer-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/3idiots/customer-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/3idiots/customer-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/3idiots/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/3idiots/customer-app/assets/assets/brand/3idiots-hero.e5dfd53739f05086b1956e72d585a66a.png", "/3idiots/customer-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png", "/3idiots/customer-app/assets/assets/brand/cecchinis.ebf752fef363247848ae7c0d91938765.png", "/3idiots/customer-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/customer-app/assets/assets/brand/3idiots.df4a76d2130f0e5b0042f06a8c88693a.png", "/3idiots/customer-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/3idiots/customer-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png", "/3idiots/customer-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/customer-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png", "/3idiots/customer-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png", "/3idiots/customer-app/assets/assets/brand/pizzaioli-hero.1896657c08264cefb49b401891d5448d.png", "/3idiots/customer-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png", "/3idiots/customer-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png", "/3idiots/customer-app/assets/assets/brand/greenside.9d1556db97dcb903a3c57e2063ee2255.png", "/3idiots/customer-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png", "/3idiots/customer-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png", "/3idiots/customer-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png", "/3idiots/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/3idiots/customer-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png", "/3idiots/customer-app/assets/assets/brand/pizzaioli.db8c000b62ee407121aa8b90ce45e170.png", "/3idiots/customer-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png", "/3idiots/customer-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/3idiots/customer-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png", "/3idiots/customer-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png", "/3idiots/customer-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/3idiots/customer-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png", "/3idiots/customer-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png", "/3idiots/customer-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png", "/3idiots/customer-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png", "/3idiots/customer-app/assets/assets/brand/cecchinis-hero.f77780fcc94fd668cf35d66d6dc52d81.png", "/3idiots/customer-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png"];
2
  self.addEventListener('install',e=>e.waitUntil(caches.open(V).then(c=>Promise.all(P.map(u=>fetch(u).then(r=>{if(!r.ok)throw Error('cache');return c.put(u,r)})))).then(()=>self.skipWaiting())));
3
  self.addEventListener('activate',e=>e.waitUntil(caches.keys().then(ks=>Promise.all(ks.filter(k=>k.startsWith('cc-3idiots-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).then(r=>r||fetch(e.request)));});
 
1
+ const V="cc-3idiots-customer-a9d53ec6f5466cc9",B="/3idiots/customer-app/",P=["/3idiots/customer-app/apple-touch-icon.png", "/3idiots/customer-app/favicon.ico", "/3idiots/customer-app/icon-192.png", "/3idiots/customer-app/icon-512.png", "/3idiots/customer-app/brand-logo.png", "/3idiots/customer-app/index.html", "/3idiots/customer-app/manifest.webmanifest", "/3idiots/customer-app/brand-hero.png", "/3idiots/customer-app/customer/3idiots.html", "/3idiots/customer-app/_expo/static/js/web/index-a1940efa8ad1d62974a9a96d7e6d1e3a.js", "/3idiots/customer-app/_expo/static/js/web/feedback-3a26c70c9f758c4e362493c3b124ff43.js", "/3idiots/customer-app/_expo/static/js/web/[n]-ced785c534ba69ad6c9c35369d7ecc36.js", "/3idiots/customer-app/_expo/static/js/web/index-f9b07e7c25cec3623c10876ff1e01e58.js", "/3idiots/customer-app/_expo/static/js/web/[section]-93e8e4ffe952e5b3c505e21ca771e570.js", "/3idiots/customer-app/_expo/static/js/web/index-a39af53b0c36f30a0cc27647d3da5a52.js", "/3idiots/customer-app/_expo/static/js/web/loyalty-679d7aa42c3cddfce82c3e1207d2d4cf.js", "/3idiots/customer-app/_expo/static/js/web/[oid]-7fa4f78cb447d1c659e81fff8893269f.js", "/3idiots/customer-app/_expo/static/js/web/refer-01535dadf727412eb1a34a61dcc6d53d.js", "/3idiots/customer-app/_expo/static/js/web/__common-3b3852b6b0bd882ffa7812f9f6a6422a.js", "/3idiots/customer-app/_expo/static/js/web/index-a87fa345a0c01a0150c6e7893fe81768.js", "/3idiots/customer-app/_expo/static/js/web/index-caff9d9bd26828dced40b26e6fce88bd.js", "/3idiots/customer-app/_expo/static/js/web/[did]-2a2aaaa129307f15140971a22b834cd3.js", "/3idiots/customer-app/_expo/static/js/web/demo-6323990816bb686dcab3b33d7e6ec148.js", "/3idiots/customer-app/_expo/static/js/web/index-5509422d4211b04ebd2768d3da51edbf.js", "/3idiots/customer-app/_expo/static/js/web/book-b68aff7cd8daa9b5d327ece648db8831.js", "/3idiots/customer-app/_expo/static/js/web/profile-b82887516ccba728915e95d502c0081a.js", "/3idiots/customer-app/_expo/static/js/web/offers-eba5409c285b6031064e79e9f1ea19e0.js", "/3idiots/customer-app/_expo/static/js/web/merch-63634eac687774d71f27698748247bd2.js", "/3idiots/customer-app/_expo/static/js/web/__expo-metro-runtime-8c088df87a31e4e6accd81c554ec290d.js", "/3idiots/customer-app/_expo/static/js/web/[token]-6c815095a584dc0399e5918b52874b98.js", "/3idiots/customer-app/_expo/static/js/web/index-ec4a702c34ea762b0b3ef33b63506ae5.js", "/3idiots/customer-app/_expo/static/js/web/index-82eeccd60a7032640fa7e0eb53567309.js", "/3idiots/customer-app/_expo/static/js/web/_layout-047bc7bd5c513cd37b02dcb97c50614b.js", "/3idiots/customer-app/_expo/static/js/web/gift-eb5daa22c1465e33034a87271e1b8b3b.js", "/3idiots/customer-app/_expo/static/js/web/basket-b17831f04afc73d6dfc4107f720f1f19.js", "/3idiots/customer-app/_expo/static/js/web/index-3c5f820b3b21978c61372b3163c55b0a.js", "/3idiots/customer-app/_expo/static/js/web/+not-found-585f3164ae74e5ff35af71a4ba7360a3.js", "/3idiots/customer-app/_expo/static/js/web/lost-817d2886f8973bfa630e2a69674dc584.js", "/3idiots/customer-app/_expo/static/js/web/index-837efe1be9c39737e9750ae18a91c7cb.js", "/3idiots/customer-app/_expo/static/js/web/whatson-0608a899f634d91b081b758137ce1d33.js", "/3idiots/customer-app/_expo/static/js/web/waitlist-119a5ba8531abfe81734f2106aefa476.js", "/3idiots/customer-app/assets/node_modules/expo-router/assets/pkg.ab19f4cbc543357183a20571f68380a3.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/sitemap.412dd9275b6b48ad28f5e3d81bb1f626.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/file.19eeb73b9593a38f8e9f418337fc7d10.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/unmatched.20e71bdf79e3a97bf55fd9e164041578.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/forward.d8b800c443b8972542883e0b9de2bdc6.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/error.d1ea1496f9057eb392d5bbf3732a61b7.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/arrow_down.017bc6ba3fc25503e5eb5e53826d48a8.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@3x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@3x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@4x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/close-icon.808e1b1b9b53114ec2838071a7e6daa7@2x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/search-icon.286d67d3f74808a60a78d3ebf1a5fb57.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon-mask.0a328cd9c1afd0afe8e3b1ec5165b1b4.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@2x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/clear-icon.c94f6478e7ae0cdd9f15de1fcb9e5e55@4x.png", "/3idiots/customer-app/assets/node_modules/expo-router/assets/react-navigation/elements/back-icon.35ba0eaec5a4f5ed12ca16fabeae451d.png", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/500Medium/Poppins_500Medium.bf59c687bc6d3a70204d3944082c5cc0.ttf", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/600SemiBold/Poppins_600SemiBold.6f1520d107205975713ba09df778f93f.ttf", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/700Bold/Poppins_700Bold.08c20a487911694291bd8c5de41315ad.ttf", "/3idiots/customer-app/assets/node_modules/@expo-google-fonts/poppins/400Regular/Poppins_400Regular.093ee89be9ede30383f39a899c485a82.ttf", "/3idiots/customer-app/assets/assets/specials/sample-chalkboard.e7b4e4450a8483d4219bc6a214158d8f.jpg", "/3idiots/customer-app/assets/assets/recipes/moules.a4f342fc7e7fb62c8a0b5c1678bbea3f.jpg", "/3idiots/customer-app/assets/assets/recipes/stp.1061ced765efdcafff2554adc3fc7113.jpg", "/3idiots/customer-app/assets/assets/recipes/skink.4ce7b7c676f9cdcd0a060eda46f5a00e.jpg", "/3idiots/customer-app/assets/assets/recipes/fishsupper.1609c58319e1e8721f5c639049fb054e.jpg", "/3idiots/customer-app/assets/assets/recipes/lobster.2fb3485c8e372972099259017358c1b8.jpg", "/3idiots/customer-app/assets/assets/brand/wildings.076f4fcd06d19a0af0205c410f461b14.png", "/3idiots/customer-app/assets/assets/brand/anchorage-hero.0450b828e4f9c1f4456240096598f6f5.png", "/3idiots/customer-app/assets/assets/brand/3idiots-hero.e5dfd53739f05086b1956e72d585a66a.png", "/3idiots/customer-app/assets/assets/brand/mrbasrais.7cc4086dd12ace82529795f1c9f8c900.png", "/3idiots/customer-app/assets/assets/brand/cecchinis.ebf752fef363247848ae7c0d91938765.png", "/3idiots/customer-app/assets/assets/brand/kirkmichael.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/customer-app/assets/assets/brand/3idiots.df4a76d2130f0e5b0042f06a8c88693a.png", "/3idiots/customer-app/assets/assets/brand/brae.8de9e89ac30966c6669de990370d8e40.png", "/3idiots/customer-app/assets/assets/brand/rupeeroom-hero.969fa372add526aaacf3a6c009b8ac92.png", "/3idiots/customer-app/assets/assets/brand/kirkmichael-hero.63b13cde7fd82eb622622b39ac80c394.png", "/3idiots/customer-app/assets/assets/brand/williewastles.055a77893ced99bf3a6c5402ba5baac6.png", "/3idiots/customer-app/assets/assets/brand/drunkencoo-hero.65c21c4da9e466cf4bffc969639a1427.png", "/3idiots/customer-app/assets/assets/brand/pizzaioli-hero.1896657c08264cefb49b401891d5448d.png", "/3idiots/customer-app/assets/assets/brand/drunkencoo.f6d92af3b14e4205a3deaf4434754c51.png", "/3idiots/customer-app/assets/assets/brand/smokinggoat.20a3a1970596ab43c5d6468d4ed549a7.png", "/3idiots/customer-app/assets/assets/brand/greenside.9d1556db97dcb903a3c57e2063ee2255.png", "/3idiots/customer-app/assets/assets/brand/abbotsford-hero.78fcb8ee06ee22c4ca659c9254db7512.png", "/3idiots/customer-app/assets/assets/brand/rupeeroom.689e6fb536dc0845eeb174a1ec7bd346.png", "/3idiots/customer-app/assets/assets/brand/kirkton.bcf8d846df4861474d224a7a77f498fb.png", "/3idiots/customer-app/assets/assets/brand/anchorage.fea5ce2f6fd18bf2950aa21c0980ed8e.png", "/3idiots/customer-app/assets/assets/brand/williewastles-hero.b9d53d27b66f903b5618a7177b2ffad4.png", "/3idiots/customer-app/assets/assets/brand/pizzaioli.db8c000b62ee407121aa8b90ce45e170.png", "/3idiots/customer-app/assets/assets/brand/yasmins-hero.a5aef62e37dfcecbe0afc056186f4ad9.png", "/3idiots/customer-app/assets/assets/brand/wildings-hero-logo-text.4661e4b935726f2511f9c17a1567c89a.png", "/3idiots/customer-app/assets/assets/brand/yasmins.8482602e9f0a965655924835625cb02b.png", "/3idiots/customer-app/assets/assets/brand/kirkton-hero.9d0837b292c2f4f30f4521d806bb28c3.png", "/3idiots/customer-app/assets/assets/brand/saltmarsh.85a6a65732635e5148478d743d9ca884.png", "/3idiots/customer-app/assets/assets/brand/souters.f4c58d9349b6e1700fe5abcc9e9b665c.png", "/3idiots/customer-app/assets/assets/brand/greenside-hero.1caec5a6cb939434cccb5f3a613b50f8.png", "/3idiots/customer-app/assets/assets/brand/abbotsford.b26602bba5ce4969733c5422a45ad053.png", "/3idiots/customer-app/assets/assets/brand/smokinggoat-hero.0588f17ef0eed7f757f22916cd4d37db.png", "/3idiots/customer-app/assets/assets/brand/cecchinis-hero.f77780fcc94fd668cf35d66d6dc52d81.png", "/3idiots/customer-app/assets/assets/brand/mrbasrais-hero.4ce74641cfcf52d099157c84005b9d2a.png"];
2
  self.addEventListener('install',e=>e.waitUntil(caches.open(V).then(c=>Promise.all(P.map(u=>fetch(u).then(r=>{if(!r.ok)throw Error('cache');return c.put(u,r)})))).then(()=>self.skipWaiting())));
3
  self.addEventListener('activate',e=>e.waitUntil(caches.keys().then(ks=>Promise.all(ks.filter(k=>k.startsWith('cc-3idiots-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).then(r=>r||fetch(e.request)));});
3idiots/d.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"><meta name="robots" content="noindex,nofollow"><meta name="theme-color" content="#202020"><title>3 Idiots · Display</title><style>body{margin:0;background:#202020;color:#F5F1E8;font:18px system-ui;padding:24px}a{display:inline-flex;align-items:center;min-height:48px;color:#B78731;padding:8px 12px}button{min-height:48px}</style></head><body><script>location.replace('/3idiots/display-app/index.html'+location.search+location.hash)</script><a href='/3idiots/display-app/index.html'>Open Display pairing</a><small>v0.3.12.79</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"><meta name="robots" content="noindex,nofollow"><meta name="theme-color" content="#202020"><title>3 Idiots · Display</title><style>body{margin:0;background:#202020;color:#F5F1E8;font:18px system-ui;padding:24px}a{display:inline-flex;align-items:center;min-height:48px;color:#B78731;padding:8px 12px}button{min-height:48px}</style></head><body><script>location.replace('/3idiots/display-app/index.html'+location.search+location.hash)</script><a href='/3idiots/display-app/index.html'>Open Display pairing</a><small>v0.3.12.80</small></body></html>
3idiots/display-app/_expo/static/js/web/__common-1ce79e548d27f3a5b1c73b09336eb1b1.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/display-app/_expo/static/js/web/_layout-71eb2064c01fa654c0e06a9c3a7ec78d.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/display-app/_expo/static/js/web/historicalBookingApi-c372c77c52934e93cdd9750062a1272f.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}},1105,[30,806,1104,818,820,863]);
3idiots/display-app/_expo/static/js/web/index-1eb995605266c4a260bf5efd5ed44510.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/display-app/_expo/static/js/web/index-5509422d4211b04ebd2768d3da51edbf.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/display-app/_expo/static/js/web/index-82eeccd60a7032640fa7e0eb53567309.js ADDED
The diff for this file is too large to render. See raw diff
 
3idiots/display-app/_expo/static/js/web/index-ec4a702c34ea762b0b3ef33b63506ae5.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,{})}},799,[804,30,964,806,24]);
2
+ __d(function(g,r,i,a,m,e,d){"use strict";Object.defineProperty(e,'__esModule',{value:!0}),e.OwnerApp=function(){return null}},964,[]);