PageSourceSearch

https://www.deepnatureresorts.com/_next/static/chunks/pages/chamonix/chalet/[slug]-fa9015a6b3b2065e.js

js deepnatureresorts.com collected 2026-10-08 03:18:00 UTC 10,610 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[827],{21763:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/chamonix/chalet/[slug]",function(){return t(7364)}])},53551:function(n,e,t){"use strict";t.d(e,{G:function(){return d}});var i=t(52322),r=t(97729),o=t.n(r),s=t(5632),a=t(45847),c=t.n(a),_=t(86851);let d=n=>{let{configIds:e=[]}=n,{locale:t}=(0,s.useRouter)();return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o(),{children:(0,i.jsx)("script",{src:"".concat(_.config.mews.baseUrl,"/distributor/distributor.min.js")})}),(0,i.jsx)(c(),{id:"load-mews-distributor",strategy:"afterInteractive",children:"\n        const distributors = {}\n        function initMews() {\n          if (typeof Mews !== 'undefined') {\n            ".concat(e.map(n=>"Mews.Distributor({\n              configurationIds: ['".concat(n,"'],\n            }, function(distributor) {\n              distributor.setLanguageCode('").concat("en"===t?"en-US":"fr-FR","');\n              distributors['").concat(n,"'] = distributor\n            }, { dataBaseUrl: '").concat(_.config.mews.baseUrl,"' });\n            ")).join(""),"\n          } else {\n            setTimeout(initMews, 100)\n          }\n        }\n        setTimeout(initMews, 100)\n        ")})]})}},59111:function(n,e,t){"use strict";t.d(e,{D:function(){return r}});var i=t(43489);let r=(n,e)=>({fetch:(t,r)=>(0,i.s3)(r).fetch(n(),{...e,...t}),usePreviewSubscription:(t,r,o)=>(0,i.$r)(n(),{initialData:t,enabled:o,params:{...e,...r}})})},57954:function(n,e,t){"use strict";t.d(e,{J:function(){return s}});var i=t(73235),r=t(72350);function o(){let n=(0,i._)(["{\n  ...,\n  document->{ _type, slug, _id },\n  contact_subject->{ _type, slug, _id },\n  page_section->{ _type, slug, _id }\n}"]);return o=function(){return n},n}let s=t.n(r)()(o())},58391:function(n,e,t){"use strict";t.d(e,{h:function(){return s}});var i=t(73235),r=t(72350);function o(){let n=(0,i._)(["\n  select(\n    __i18n_lang != 'fr' => *[_type==^._type && ^._id in __i18n_refs[]._key],\n    __i18n_refs[].ref->\n  )[]{ _id, _type, __i18n_lang, slug } [0]\n"]);return o=function(){return n},n}let s=t.n(r)()(o())},37817:function(n,e,t){"use strict";t.d(e,{P:function(){return c}});var i=t(73235),r=t(72350),o=t.n(r),s=t(57954);function a(){let n=(0,i._)(['\n  {\n    _id,\n    body[]{\n      ...,\n      _type == "custom_image" => {\n        ...,\n        asset->\n      },\n      _type == "chalets" => {\n        ...,\n        selected_chalets[] {\n        ...,\n        chalet->,\n        virtual_tour ','\n      },\n    },\n    _type == "spa_products" => {\n      ...,\n      products[] ',",\n      more_products ",'\n    },\n    _type == "spa_treatments" => {\n      ...,\n      "contact_info": *[_type == "websiteSettingsFooter"] | order(_updatedAt desc) [0][\'footer\'][$locale] {\n        "contact": contact_spa {\n          address,\n          address_link,\n          phoneNumber\n        }\n      },\n      "categories": *[_type == "category" && count(*[_type == \'product\' && references(^._id)]) > 0 && !(_id in $excludedIds)] | order(order asc) {\n        ...,\n        "products": *[_type == \'product\' && references(^._id)] | order(order asc),\n      }\n    },\n    _type == "activities" => {\n      ...,\n      concierge_text[] {\n        ...,\n        markDefs[] ',"\n      },\n      winter_activities[] {\n        ...,\n        more_info ","\n      },\n      summer_activities[] {\n        ...,\n        more_info ",'\n      }\n    },\n    _type == "media_block" => {\n      action ','\n    },\n    _type == "resort_map" => {\n      ...,\n      links {\n        ...,\n        chalet_saint_bernard ',",\n        chalet_des_bois ",",\n        chalet_de_praz_dru ",",\n        les_granges_den_haut ",",\n        restaurant ",",\n        spa ",",\n        domaine_des_planards ",",\n        aiguille_du_midi ",",\n        mont_blanc ",',\n      },\n    },\n    _type == "video_block" => {\n      ...,\n      page_links[] ','\n    },\n    _type == "text_block" => {\n      ...,\n      action ','\n    },\n    _type == "chalets_list" => {\n      "chalets": *[_type == "chalet"] | order(order asc) {\n        _id, _type, slug, name,\n        "excerpt": pt::text(body)\n      }\n    },\n    _type == "image_with_text" => {\n      action ','\n    },\n    _type == "suggestions" => {\n      restaurant {\n        ...,\n        action ',"\n      },\n      spa {\n        ...,\n        action ",'\n      }\n    },\n    _type == "activities_preview" => {\n      ...,\n      action ','\n    },\n    _type == "map_block" => {\n      ...,\n      contact_us_action[] {\n        ...,\n        markDefs[] {\n          ...,\n          "target": @.target->{\n            _id, _type, slug\n          }\n        }\n      }\n    },\n    _type == "contact_us" => {\n      ...,\n      "subjects": *[_type == "contact_subject" && __i18n_lang == $locale] | order(order asc),\n    },\n    _type == "wine_menu" => {\n      ...,\n      "menu": *[_type == "wine_menu_section" && __i18n_lang == $locale] | order(order asc),\n      "contact_info": *[_type == "websiteSettingsFo
1oter"] | order(_updatedAt desc) [0][\'footer\'][$locale] {\n        "contact": contact_restaurant {\n          address,\n          address_link,\n          phoneNumber\n        }\n      },\n    },\n    _type == "food_menu" => {\n      ...,\n      "menu": *[_type == "food_menu_section" && __i18n_lang == $locale] | order(order asc),\n    },\n    markDefs[] {\n      ...,\n      _type == "internal_link" => {\n        ...,\n        "target": @.target->{\n          _id, _type, slug\n        }\n      }\n    }\n    }, \n    slug\n  }\n']);return a=function(){return n},n}let c=o()(a(),s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J,s.J)},49528:function(n,e,t){"use strict";t.d(e,{P:function(){return c}});var i=t(73235),r=t(72350),o=t.n(r),s=t(57954);function a(){let n=(0,i._)(['\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 a=function(){return n},n}let c=o()(a(),s.J,s.J,s.J,s.J)},7364:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSG:function(){return x},default:function(){return J}});var i=t(52322),r=t(39976),o=t(73235),s=t(72350),a=t.n(s),c=t(43489),_=t(86851),d=t(59111),l=t(58391),u=t(37817),p=t(49528);function g(){let n=(0,o._)(['\n      *[_type == "chalet" && __i18n_lang == $locale && slug.current == $slug] | order(order asc) [0] {\n        ...,\n        chalet_sections[]->',',\n        "alternateDocument": ',',\n        "websiteSettings": ',"\n      }\n  "]);return g=function(){return n},n}var f=t(46161),m=t(95569),y=t(2784),h=t(46918),v=t(37353);let b=n=>{var e;let t=(0,h.LU)(null===(e=n.seo)||void 0===e?void 0:e.image);return(0,y.useMemo)(()=>{var e,i;return{"@context":"https://schema.org","@type":"House","@id":(0,v.Gr)(n),name:n.name,slogan:n.tagline,numberOfRooms:n.number_of_rooms,numberOfBathroomsTotal:n.number_of_bathrooms,floorSize:{"@type":"QuantitativeValue",value:n.floor_size,unitCode:"MTK"},address:n.address,telephone:null===(i=n.websiteSettings.footer)||void 0===i?void 0:null===(e=i.contact)||void 0===e?void 0:e.phoneNumber,image:t?(0,c.uH)(t.asset).url():void 0,photo:{"@type":"ImageObject",contentUrl:t?(0,c.uH)(t.asset).url():void 0,caption:null==t?void 0:t.alt}}},[n])};var w=t(53551);let{usePreviewSubscription:k}=(0,d.D)(()=>a()(g(),u.P,l.h,p.P),{excludedIds:_.config.spaBooking.excludedCategoryIds});var x=!0,J=n=>{var e,t,o,s,a,_,d;let{data:l,path:u,preview:p=!1}=n,{data:g}=k(l.chalet,l.queryArgs,p),y=b(l.chalet),h=(null===(e=g.websiteSettings.advanced)||void 0===e?void 0:e.main_chalet._ref)===g._id;if(!g)throw Error("Chalet no longer exists!");return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(f.FE,{title:g.name||"",ogTitle:(null===(t=g.seo)||void 0===t?void 0:t.t
1itle)||"",description:(null===(o=g.seo)||void 0===o?void 0:o.description)||"",path:u,alternateDoc:g.alternateDocument,website:g.websiteSettings,ogImage:null===(s=g.seo)||void 0===s?void 0:s.image,preview:p,isMainChalet:h,isChaletPage:!0,children:(null===(a=g.chalet_sections)||void 0===a?void 0:a.length)?null===(_=g.chalet_sections)||void 0===_?void 0:_.map(n=>{var e;return(0,i.jsx)(r.G,{id:null===(e=n.slug)||void 0===e?void 0:e.current,children:(0,i.jsx)(c.YI,{blocks:n.body,renderContainerOnSingleChild:!0})},n._id)}):null}),(0,i.jsx)(m.h,{schema:y}),!h&&(0,i.jsx)(w.G,{configIds:null===(d=l.websiteSettings.menu)||void 0===d?void 0:d.chalets.map(n=>n.mews_id||"").filter(Boolean)})]})}},45847:function(n,e,t){n.exports=t(55706)}},function(n){n.O(0,[888,774,179],function(){return n(n.s=21763)}),_N_E=n.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.