1var module_209398677635=(document.addEventListener("DOMContentLoaded",function(){const isTestMode=new URLSearchParams(window.location.search).has("test"),form=document.querySelector('form[action*="WebToCase"]');form?form.addEventListener("submit",function(event){if(!isTestMode)return;let formData;event.preventDefault(),formData=event.submitter?new FormData(form,event.submitter):new FormData(form);const submitButton=form.querySelector('[type="submit"][name]');submitButton&&!formData.has(submitButton.name)&&formData.append(submitButton.name,submitButton.value||"");const requestUrl=form.action,requestMethod=(form.method||"GET").toUpperCase(),payload=new URLSearchParams(formData).toString(),submittedData={};formData.forEach(function(value,key){submittedData[key]=value}),console.log("========== WEB TO CASE EXACT TEST =========="),console.log("Request URL:",requestUrl),console.log("Request Method:",requestMethod),console.log("Content-Type:","application/x-www-form-urlencoded"),console.log("Encoded POST Payload:"),console.log(payload),console.table(submittedData),console.log("Raw FormData object:",submittedData),console.log("========== END WEB TO CASE EXACT TEST =========="),alert("WEB TO CASE TEST MODE\n\nForm will NOT be submitted.\n\nREQUEST URL:\n"+requestUrl+"\n\nREQUEST METHOD:\n"+requestMethod+"\n\nCONTENT TYPE:\napplication/x-www-form-urlencoded\n\nPOST PAYLOAD:\n"+payload)}):console.error("[WebToCase Test] Form not found")}),void document.addEventListener("DOMContentLoaded",function(){const types={"Account Opening":["Requirements","Minimum Balance"],"Online Banking":["Password Reset","Username Request","Self-Enrollment"],ATM:["Activation","Pin-Reset","New Card","Closed Card","Blocking Card"],Debit:["Activation","Pin-Reset","New Card","Closed Card","Blocking Card","Travel Alert"],"CD Rates":["SaveBetter"],"Zelle Inquiry":["Self-Enroll Issue","Limit Per Transactions"],Other:["Other"]},typeSelect=document.getElementById("type"),subTypeSelect=document.getElementById("00N6g00000UWwXc");typeSelect&&subTypeSelect&&typeSelect.addEventListener("change",function(){const selectedType=this.value;subTypeSelect.innerHTML='<option value="">--None--</option>',""!==selectedType&&types[selectedType]&&types[selectedType].forEach(function(val){const option=document.createElement("option");option.value=val,option.textContent=val,subTypeSelect.appendChild(option)})})})); 2//# sourceURL=https://50112404.fs1.hubspotusercontent-na1.net/hubfs/50112404/hub_generated/module_assets/1/209398677635/1782227583613/module_Standard_Form.js
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.