PageSourceSearch

https://www.devontophotels.com/site/files/default/build/5682.c68cdd215400dac63701.js

js devontophotels.com collected 2026-10-02 22:48:54 UTC 1,866 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunklib=self.webpackChunklib||[]).push([[5682],{55682:(t,n,e)=>{e.r(n),e.d(n,{default:()=>s});var r=e(18509);function i(t,n,e,r,i,o,u){try{var a=t[o](u),s=a.value}catch(t){return void e(t)}a.done?n(s):Promise.resolve(s).then(r,i)}var o=function(){var t,n=(t=function*(t){var n={email:t,[travel.options.stopSpamKey]:travel.options.stopSpamValue},e=yield fetch("/subscribe/",{method:"POST",body:(0,r.Z)(n)});return e.ok?yield e.json():{success:!1}},function(){var n=this,e=arguments;return new Promise((function(r,o){var u=t.apply(n,e);function a(t){i(u,r,o,a,s,"next",t)}function s(t){i(u,r,o,a,s,"throw",t)}a(void 0)}))});return function(t){return n.apply(this,arguments)}}();function u(t,n,e,r,i,o,u){try{var a=t[o](u),s=a.value}catch(t){return void e(t)}a.done?n(s):Promise.resolve(s).then(r,i)}function a(t){return function(){var n=this,e=arguments;return new Promise((function(r,i){var o=t.apply(n,e);function a(t){u(o,r,i,a,s,"next",t)}function s(t){u(o,r,i,a,s,"throw",t)}a(void 0)}))}}class s{constructor(t){this.form=t,this.emailInput=t.querySelector('input[type="email"]'),this.initForm(),this.thanksPopup=null}initForm(){this.onSubmitForm()}onSubmitForm(){var t=this;this.form.addEventListener("submit",function(){var n=a((function*(n){n.preventDefault();var e=t.emailInput.value;if(!(e.length<5||e.length>150))try{yield o(e),t.emailInput.value="",t.thanksPopup||(yield t.initThanksPopup()),t.thanksPopup.open()}catch(t){throw new Error("Fail to submit subscribe form. ".concat(t))}}));return function(t){return n.apply(this,arguments)}}())}initThanksPopup(){var t=this;return a((function*(){var{default:n}=yield e.e(9157).then(e.bind(e,29157));t.thanksPopup=new n(".js-thanks-modal","subscribe")}))()}}},18509:(t,n,e)=>{e.d(n,{Z:()=>r});const r=t=>{var n=new FormData;return Object.keys(t).forEach((e=>n.append(e,t[e]))),n}}}]);

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.