PageSourceSearch

https://www.cbp.com.au/assets/js/components/_ktc-form.js

js cbp.com.au collected 2026-10-02 11:20:00 UTC 786 bytes, 1 lines download raw bytes

1function l(){const o=document.querySelector('[data-form="ktc"]');if(o){const e=o.querySelectorAll(".form-field textarea");e&&e.forEach(t=>a(t));const c=o.querySelectorAll(".ktc-radio, .ktc-checkbox");c&&c.forEach(t=>{var s;const n=t.classList.contains("ktc-checkbox")?"form-checkbox":"form-radio";(s=t.closest(".form-field"))==null||s.classList.add(n)})}}function a(o){o.addEventListener("input",function(){o.style.height="5px",o.style.height=o.scrollHeight+"px"})}const r=document.querySelector("#cookieModal .btn-cookie"),i=document.querySelector("#cookieModal");if(r&&i){const o=document.querySelector(".section-overview");o==null||o.classList.add("cookie"),r.addEventListener("click",function(){i.style.display="none",o==null||o.classList.remove("cookie")})}export{l as initForm};

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.