PageSourceSearch

https://www.awa.asn.au/hubfs/hub_generated/module_assets/1/5415519…ule_Election_Form_-_Validation_Limit.min.js

js awa.asn.au collected 2026-10-02 04:40:41 UTC 2,326 bytes, 1 lines download raw bytes

1var module_54155191332=void DomReady((()=>{const form_wrapper=document.querySelector(".form-full-width__form-wrapper"),formid=form_wrapper.dataset.form;console.log("domready"),hbspt.forms.create({region:"na1",portalId:"14568786",formId:`${formid}`,target:".form-full-width__form-wrapper",onFormReady:function(form){const checkboxValuesArray=form_wrapper.dataset.communicationreasonname.split(",").map((item=>item.trim())),checkboxField=document.querySelectorAll('[name="communicationreasonname"]'),checkedValues=new Set;function updateCheckboxes(checkboxField){checkboxField.forEach((checkbox=>{const labelText=checkbox.parentNode.querySelector("span").textContent.trim();checkbox.checked=checkedValues.has(labelText)}))}checkboxValuesArray.forEach((value=>checkedValues.add(value))),checkboxField.forEach((checkbox=>{if(checkboxValuesArray.includes(checkbox.nextElementSibling.textContent.trim())&&(checkbox.checked=!0),checkbox.addEventListener("change",(event=>{const labelText=checkbox.parentNode.querySelector("span").textContent.trim();event.target.checked?checkedValues.add(labelText):checkedValues.delete(labelText),updateCheckboxes(checkboxField)})),updateCheckboxes(checkboxField),"Member Services"===checkbox.value){console.log("Member Services",checkbox.checked),checkbox.nextElementSibling.style.fontWeight="700";const this_label=checkbox.parentElement;this_label.style.pointerEvents="none";const node=document.createElement("p");node.innerText="* All members are automatically subscribed to Important Membership Communication",this_label.parentElement.append(node),this_label.style.marginBottom="0px",this_label.nextElementSibling.style.fontStyle="italic",this_label.nextElementSibling.style.fontSize="12px",this_label.nextElementSibling.style.marginBottom="12px",this_label.parentElement.children[2]&&(this_label.parentElement.children[2].style.display="none")}}));let input_email=form_wrapper.querySelectorAll(".hs-email");if(input_email.length>0){let sub_email=input_email[0].querySelector(".hs-input");sub_email&&"email"==sub_email.type&&""!==sub_email.value.trim()?sub_email.readOnly=!0:sub_email&&(sub_email.readOnly=!1)}},onFormSubmit:function(form){const formErrorMessages=document.querySelector(".hs-error-msg");console.log(formErrorMessages),formErrorMessages&&formErrorMessages.scrollIntoView()}})}));

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.