https://www.deepnatureresorts.com/_next/static/chunks/pages/chamon…/confirmation-736af06bc8dee8e4.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[747],{50134:function(e,n,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chamonix/reserver/restaurant/confirmation",function(){return t(80985)}])},46586:function(e,n,t){"use strict";t.d(n,{t:function(){return _}});var r=t(52322);t(2784);var a=t(93201),i=t(39976),s=t(37901),o=t(54684),c=t(80530),u=t(67766),l=t(60361);let _=e=>{let{title:n,messages:t=[],action:_}=e;return(0,r.jsx)(a.r,{children:(0,r.jsx)(a.r.ContentVeryNarrow,{children:(0,r.jsxs)(i.G,{space:"large",paddingY:"xxLarge",children:[(0,r.jsxs)(i.G,{space:"small",children:[(0,r.jsx)(s.R,{align:"center",size:"small",children:n}),(0,r.jsx)(l.l,{children:t.map((e,n)=>(0,r.jsx)(o.A,{align:"center",children:e},n))})]}),(0,r.jsx)(c.r,{..._,children:(0,r.jsx)(u.z,{as:"a",surface:"dark",variant:"secondary",children:_.text})})]})})})}},60361:function(e,n,t){"use strict";t.d(n,{l:function(){return i}});var r=t(52322);t(2784);var a=t(39976);let i=e=>{let{children:n}=e;return(0,r.jsx)(a.G,{space:"medium",children:n})}},59111:function(e,n,t){"use strict";t.d(n,{D:function(){return a}});var r=t(43489);let a=(e,n)=>({fetch:(t,a)=>(0,r.s3)(a).fetch(e(),{...n,...t}),usePreviewSubscription:(t,a,i)=>(0,r.$r)(e(),{initialData:t,enabled:i,params:{...n,...a}})})},57954:function(e,n,t){"use strict";t.d(n,{J:function(){return s}});var r=t(73235),a=t(72350);function i(){let e=(0,r._)(["{\n ...,\n document->{ _type, slug, _id },\n contact_subject->{ _type, slug, _id },\n page_section->{ _type, slug, _id }\n}"]);return i=function(){return e},e}let s=t.n(a)()(i())},49528:function(e,n,t){"use strict";t.d(n,{P:function(){return c}});var r=t(73235),a=t(72350),i=t.n(a),s=t(57954);function o(){let e=(0,r._)(['\n {\n "header": *[_type == "websiteSettingsHeader"] | order(_updatedAt desc) [0][\'header\'][$locale] {\n ..., \n reservation_link ',',\n logo{...,asset->}\n },\n "menu": *[_type == "websiteSettingsMenu"] | order(_updatedAt desc) [0][\'menu\'][$locale] { \n ...,\n "chalets": *[_type == "chalet" && __i18n_lang == $locale] | order(order asc) { _id, _type, name, slug, mews_id },\n "menu_items": menu_items[] {\n ...,\n _type == "title_with_chalets" => {\n ...,\n page->{ _id, _type, slug },\n page_section->{ _type, slug },\n },\n _type == "page_with_sections" => {\n ...,\n page->{ _id, _type, slug },\n "links": links[] {\n ...,\n page_section->{ _type, slug },\n faq_section_link->{ _type, slug },\n },\n },\n _type == "activities" => {\n ...,\n page->{ _id, _type, slug },\n },\n }\n },\n "footer": *[_type == "websiteSettingsFooter"] | order(_updatedAt desc) [0][\'footer\'][$locale] {\n ..., \n "menus": menus[] { \n title, \n "links": links[] ','\n }\n },\n "reservation": *[_type == "websiteSettingsReservation"] | order(_updatedAt desc)[0][\'reservation\'][$locale] {\n ...,\n restaurant {\n ...,\n link ',"\n },\n spa {\n ...,\n link ",'\n } \n },\n "alert": *[_type == "websiteSettingsAlert"] | order(_updateAt desc) [0] {\n ...,\n "content_cookie": content {\n en {\n "text": pt::text(text)\n },\n fr {\n "text": pt::text(text)\n }\n }\n },\n "seo": *[_type == "websiteSettingsSeo"] | order(_updatedAt desc) [0][\'seo\'],\n "social": *[_type == "websiteSettingsSocial"] | order(_updatedAt desc) [0],\n "advanced": *[_type == "websiteSettingsAdvanced"] | order(_updatedAt desc) [0] { \n \'main_chalet\': main_chalet[$locale][\'main_chalet_value\'], \n facebook_app_id\n }\n }\n']);return o=function(){return e},e}let c=i()(o(),s.J,s.J,s.J,s.J)},55520:function(e,n,t){"use strict";t.d(n,{H:function(){return i}});var r=t(59111),a=t(49528);let i=()=>(0,r.D)(()=>a.P)},80985:function(e,n,t){"use strict";t.r(n),t.d(n,{__N_SSP:function(){return d}});var r=t(52322),a=t(2784),i=t(77034),s=t(46586),o=t(16653),c=t(46161),u=t(55520),l=t
1(86851);let{usePreviewSubscription:_}=(0,u.H)();var d=!0;n.default=e=>{let{data:n,preview:t}=e,{data:u}=_(n.websiteSettings,n.queryArgs,t),{t:d,i18n:p}=(0,i.$G)("reserve"),{error:f}=n.queryArgs;if((0,a.useEffect)(()=>{f||(0,o.r9)(l.config.fathom.goals.restFlowReservationComplete,0)},[f]),!u)throw Error("Website not found");let g={title:d(f?"RESERVATION_NOT_AVAILABLE"===f||"ALREADY_BOOKED"===f?"sorry":"error":"confirmation"),messages:[d(f?"RESERVATION_NOT_AVAILABLE"===f||"ALREADY_BOOKED"===f?"restaurant-not-available":"error-general":"restaurant-confirmation-message")],action:f?{text:d("restart"),href:"".concat("en"===p.language?"/en/chamonix/book/restaurant":"/chamonix/reserver/restaurant")}:{text:d("return-homepage"),href:"/chamonix"}};return(0,r.jsx)(c.FE,{website:u,title:d("reservation-confirmed"),description:"Restaurant Reservation Confirmed",ogImage:void 0,alternateDoc:"en"===n.queryArgs.locale?"/chamonix/reserver/restaurant/confirmation":"/chamonix/book/restaurant/confirmation",path:"fr"===n.queryArgs.locale?"/chamonix/reserver/restaurant/confirmation":"/chamonix/book/restaurant/confirmation",preview:t,children:(0,r.jsx)(s.t,{title:g.title,messages:g.messages,action:g.action})})}}},function(e){e.O(0,[888,774,179],function(){return e(e.s=50134)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.