1const Feedback={};Feedback._URL="https://backend.lilyviewapp.com/feedback",Feedback._Params={Email:"email",Name:"name",Message:"message"},Feedback.fetch=async function(e,t,n,s){const i={method:"POST",headers:{"Content-Type":"application/json; charset=UTF-8"},body:JSON.stringify({email:e,name:t,message:n,langID:window.navigator.language})};let o=await JSONResponse.fetch(Feedback._URL,i);if(!o){s.feedbackDidFail(RequestStatus.newError(RequestStatus.Error.Offline,null,Feedback._URL,i));return}if(o.status()!=200){if(o.hasParamError(Feedback._Params.Email)){s.feedbackDidFailInvalidEmail();return}s.feedbackDidFail(RequestStatus.newError(RequestStatus.Error.Status,new Error(o.toString()),Feedback._URL,i));return}s.feedbackDidComplete(o.data())},FeedbackFront._Page={Input:0,Success:1,Progress:2,Error:3,ErrorInvalidEmail:4};function FeedbackFront(){this._form=new DialogForm(document.getElementById("feedback-form"),[new FeedbackInputPage(document.getElementById("input"),this),new DialogPage(document.getElementById("success"),this),new DialogProgressPage(document.getElementById("progress")),new DialogErrorPage(document.getElementById("error-script"),this),new DialogPage(document.getElementById("invalid-email"),this)]),this._form.setPageFromSelf(FeedbackFront._Page.Input),ThisPage.dialogFormStack().rootFrame().setForm(this._form)}FeedbackFront.prototype.pageDelegateDidSubmit=function(){switch(this._form.pageIndex()){case FeedbackFront._Page.Input:this._form.pages(FeedbackFront._Page.Progress).setMessage(RequestStatus.newProgress(RequestStatus.Progress.Sending)),this._form.setPageFromCurrent(FeedbackFront._Page.Progress);let e=this._form.pages(FeedbackFront._Page.Input);return Feedback.fetch(e.email(),e.name(),e.message(),this),!0;case FeedbackFront._Page.ErrorInvalidEmail:return this._form.setPageFromCurrent(FeedbackFront._Page.Input),!0;case FeedbackFront._Page.Error:let t=this._form.pages(FeedbackFront._Page.Error);return t.retriable()?this._form.setPageFromCurrent(FeedbackFront._Page.Input):location.reload(),!0;case FeedbackFront._Page.Success:return this._form.setPageFromCurrent(FeedbackFront._Page.Input),!0}return!1},FeedbackFront.prototype.feedbackDidFail=function(e){this._form.pages(FeedbackFront._Page.Error).setMessage(e),this._form.setPageFromCurrent(FeedbackFront._Page.Error)},FeedbackFront.prototype.feedbackDidFailInvalidEmail=function(){this._form.setPageFromCurrent(FeedbackFront._Page.ErrorInvalidEmail)},FeedbackFront.prototype.feedbackDidComplete=function(){this._form.setPageFromCurrent(FeedbackFront._Page.Success)},Object.setPrototypeOf(FeedbackInputPage.prototype,DialogEmailInputPage.prototype);function FeedbackInputPage(e,t){DialogEmailInputPage.call(this,e,t,"input-email"),this._msgInput=document.getElementById("input-message")}FeedbackInputPage.prototype.name=function(){return""},FeedbackInputPage.prototype.message=function(){return this._msgInput.value},Object.setPrototypeOf(Page.prototype,StaticPage.prototype);function Page(){StaticPage.call(this),this._front=new FeedbackFront}
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.