PageSourceSearch

https://www.habsburg.ch/static/js/global/helper/helper.min.js?v=0.3.4

js habsburg.ch collected 2026-09-25 00:57:59 UTC 26,711 bytes, 1 lines download raw bytes

1(()=>{"use strict";function e(e,t){"loading"!==document.readyState?e.apply(null,t):window.addEventListener("DOMContentLoaded",(()=>e.apply(null,t)))}function t(e,t){for(let n=0;n<t.length;n++)e.setAttribute(t[n].name,t[n].value)}function n(e,t){new Promise((e=>{requestAnimationFrame((()=>requestAnimationFrame(e)))})).then((()=>{try{e.scrollIntoView(t)}catch(n){"object"==typeof t&&"end"==(t.block||t.inline)?e.scrollIntoView(!1):e.scrollIntoView()}}))}const o=(e,t)=>{t?(e.removeAttribute("hidden"),e.style.removeProperty("display")):(e.setAttribute("hidden","hidden"),e.style.display="none"),e.setAttribute("aria-hidden",`${!t}`)};function s(e){return"object"==typeof e&&null!=e}const i=e=>globalThis.govisSandboxGetUrl?globalThis.govisSandboxGetUrl(e):`/route/${e}`;function r(e,t,n){!function(e,t,n){const{input:o,init:s}=a(e,t);fetch(o,s).then((e=>e.text())).then(n)}({url:e},t,n)}const a=(e,t)=>{const n={method:e.method||"POST",headers:{"Content-type":"application/x-www-form-urlencoded; charset=UTF-8","X-Requested-With":"XMLHttpRequest"}};let o=e.url;if(t){const e=c(t);"POST"==n.method?n.body=e:o+="&"+e}return{input:o,init:n}},l=e=>{let t=e;var n;return"object"!=typeof(n=e)||null==n||Array.isArray(e)||(t=JSON.stringify(e)),null===t?"":t},c=e=>{const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(l(e[n])));return t.join("&")};var u,d,h,p,g,m=function(e,t,n,o){return new(n||(n=Promise))((function(s,i){function r(e){try{l(o.next(e))}catch(e){i(e)}}function a(e){try{l(o.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(r,a)}l((o=o.apply(e,t||[])).next())}))};function f(e,t,n){const o=e.get(t);if(o)return o;const s=n();return e.set(t,s),s}function b(e){return f(globalThis.govisVars._scriptPromiseCache,e.url,(()=>new Promise(((n,o)=>{const s=document.createElement("script");s.src=e.url,s.onload=()=>n(),s.onerror=e=>o(e),t(s,e.attributes||[]),document.head.appendChild(s)}))))}function v(e){return f(globalThis.govisVars._cssPromiseCache,e.url,(()=>new Promise(((n,o)=>{const s=document.createElement("link");s.rel="stylesheet",s.href=e.url,s.onload=()=>n(),s.onerror=e=>o(e),t(s,e.attributes||[]),document.head.appendChild(s)}))))}function y(){return globalThis.helperJs=globalThis.helperJs||{},globalThis.helperJs}null!==(u=globalThis.govisVars)&&void 0!==u||(globalThis.govisVars={}),null!==(d=(p=globalThis.govisVars)._scriptPromiseCache)&&void 0!==d||(p._scriptPromiseCache=new Map),null!==(h=(g=globalThis.govisVars)._cssPromiseCache)&&void 0!==h||(g._cssPromiseCache=new Map);const T=i,A=T("cms-index-getResourcesLinks"),w=function(e,t){t=t||"log",console&&console[t]&&console[t](e)},E=function(e){if(!s(e))try{e=JSON.parse(e)}catch(e){w(e)}return e},L=function(e){if(!(e=e||{}).hasOwnProperty("title"))return!0;var t=L(e.title);return t&&e.hasOwnProperty("callback")&&e.callback(),t},{getInternalId:S,getNextName:x}=function(){const e={};let t=0;return{getInternalId:function(){return"govis-"+ ++t+"-"+(new Date).getTime()},getNextName:function(t){return e.hasOwnProperty(t)||(e[t]=0),t+"."+ ++e[t]}}}(),O=window.document.documentMode,P=function(){var e=window.navigator.userAgent,t=e.indexOf("MSIE ");if(t>0)return parseInt(e.substring(t+5,e.indexOf(".",t)),10);if(e.indexOf("Trident/")>0){var n=e.indexOf("rv:");return parseInt(e.substring(n+3,e.indexOf(".",n)),10)}var o=e.indexOf("Edge/");return o>0&&parseInt(e.substring(o+5,e.indexOf(".",o)),10)},D=function(){return navigator.vendor&&navigator.vendor.indexOf("Apple")>-1&&navigator.userAgent&&-1===navigator.userAgent.indexOf("CriOS")&&-1===navigator.userAgent.indexOf("FxiOS")};const F=function(t){j(t)?e((()=>{C(t)})):C(t)},C=function(e){let t=!1;for(let n=0;n<e.resources.length;n++){let o=e.resources[n];!o.hasOwnProperty("isLoadedFn")&&o.modulePath&&(o.isLoadedFn=()=>q(o.modulePath)),o.isLoadedFn&&"function"==typeof o.isLoadedFn&&(t=!0,o.isLoadedFn()?(e.resources.splice(n,1),n--):delete o.isLoadedFn)}const n=k(e);e.resources.length&&(t||e.isAjaxRequest)?J.load(e,n):n({load:!1})},J={_data:{},load:function(e,t){const n=e.resources.map((e=>e.name||e.path)).join("");this._data.hasOwnProperty(n)||(this._data[n]={queue:[],loading:!1}),t&&this._data[n].queue.push(t),this._data[n].loading||(this._data[n].loading=!0,this.loadScripts(e,(function(){J.executeCallbacks(n)})))},loadScripts:function(e,t){const{input:n,init:o}=a({url:e.resourcesUrl||A},{resources:JSON.stringify(e.resources)});fetch(n,o).then((e=>e.text())).then((n=>{const o=E(n);s(o)&&(e.onResourcesLoadedFn&&e.onResourcesLoadedFn(o),function(e){return m(this,void 0,void 0,(function*(){const t=e.jsArray||[];for(const e of t)yield b(e);const n=e.cssArray||[];for(const e of n)yield v(e)}))}(o).then((()=>{t()})))}))},executeCallbacks:function(e){this._data[e].queue.forEach((e=>e({load:!0}))),delete this._data[e]}},j=e=>!e.hasOwnProperty("executeOnReady")||e.executeOnReady,k=e=>e.executeFn||(()=>{}),q=e=>{const t=e.split(".");let n=globalThis;for(const e of t){if(!n.hasOwnProperty(e))return!1;n=n[e]}return!!n};y().renderedTemplates=y().renderedTemplates||{};const I={getAttributes:function(e){const t=e.element.attributes,n={};for(let s=0;s<t.length;s++){var o=t[s].name;o.indexOf(e.group)>-1&&(n[o.split("-").pop()]=t[s].value,e.autoDelete&&e.element.removeAttribute(o))}return n}};const _={load:function(e,t){e&&e.length&&t&&F({executeFn:function(){try{e.loadJSON(t)}catch(e){w(e)}},resources:[{alias:"lib",name:"loadjson",isLoadedFn:()=>"$"in globalThis&&$().loadJSON}]})},getData:function(e,t){var n={};return $.each(e.serializeArray(),(function(e,o){o.name=o.name.replace(t,""),n[o.name]=o.value})),n}},M=e=>{P()&&document.querySelectorAll(e).forEach((e=>{e.setAttribute("method","GET")}))};class R{constructor(){this.selector="form[id]:not(.js-mod-search):not(.js-no-form-reset)";this.getForms().length&&this.setListeners()}setListeners(){window.addEventListener("pageshow",(e=>{(e.persisted||this.isBackForward())&&this.reset()})),document.addEventListener("submit",(e=>this.trackSubmit(e.target)))}
1reset(){this.getForms().forEach((e=>{const t=this.getKey(e);"true"===sessionStorage.getItem(t)&&(HTMLFormElement.prototype.reset.call(e),sessionStorage.removeItem(t))}))}trackSubmit(e){e&&e.matches(this.selector)&&sessionStorage.setItem(this.getKey(e),"true")}isBackForward(){var e;return"back_forward"===(null===(e=performance.getEntriesByType("navigation")[0])||void 0===e?void 0:e.type)}getKey(e){return`govisFormSubmitted_${e.id}`}getForms(){return document.querySelectorAll(this.selector)}}function V(e,t,n={}){const o=Object.assign({detail:[],bubbles:!0,cancelable:!0},n),s=new CustomEvent(t,o);return{result:e.dispatchEvent(s),event:s}}function N(e,t){F({executeFn:()=>globalThis.govis.module.core.a11yDialog.init(e,t),resources:[{alias:"master",type:"css",path:"femodules/confirmation_prompt.css",isLoadedFn:()=>!!document.querySelector("link[href*='css/femodules/confirmation_prompt.css']")},{alias:"master",type:"js",path:"femodules/core/a11yDialog.js",modulePath:"govis.module.core.a11yDialog.init"},{alias:"lib",name:"a11y-dialog",isLoadedFn:()=>globalThis.A11yDialog}]})}class H{constructor(){document.addEventListener("click",(e=>{const t=function(e,t){return e.getAttribute(t)?e:e.closest("["+t+"]")}(e.target,"data-govis-a11y-dialog-template");if(t){e.stopPropagation(),e.preventDefault();const n=t.getAttribute("data-govis-a11y-dialog-template");N({dialogClass:`js-${n}-dialog`,template:n,data:this.getData(t)},(()=>this.onConfirm(t)))}}))}getData(e){const t=e.attributes,n={};for(let e=0;e<t.length;e++){const o=t[e].name;o.indexOf("data-govis-a11y-dialog-param")>-1&&(n[o.split("-").pop()]=t[e].value)}return n}onConfirm(e){if(!0===V(e,"govisOnA11yConfirm").result){const t=this.getRowElement(e);if(t){const e=t.closest("table");t.remove(),V(e,"govisRowDeleted")}else globalThis.location.href=e.getAttribute("href")}}getRowElement(e){const t=e.getAttribute("data-govis-a11y-dialog-remove-row");return t&&e.closest(t)}}const B=e=>window[e],U=()=>({altcha:{instance:B("$altcha"),manageVisibility:(e,t)=>{e.querySelectorAll("input").forEach((e=>{e.disabled=!t})),t&&e.reset&&e.reset()}},hcaptcha:{instance:B("hcaptcha")},recaptcha2:{instance:B("grecaptcha")},cloudflareturnstile:{instance:B("turnstile")}});const W={manageOptionalByRule:function(e,t){var n;const s=t.form.querySelector(`[id="${e.id}-group"]`),i=!t.success;o(s,i);const r=(a=e.type,U()[a]);var a;if(r){const t=((e,t)=>t.querySelector(`[id="${((e,t)=>{const n=`${e}-placeholder`;return t.querySelector(`[id="${n}"]`)?n:e})(e,t)}"]`))(e.id,s);o(t,i),r.manageVisibility?r.manageVisibility(t,i):i&&(null===(n=null==r?void 0:r.instance)||void 0===n||n.reset())}},reload:(e,t)=>{const n=U();for(let e in t)t.hasOwnProperty(e)&&n.hasOwnProperty(e)&&n[e].instance.reset();e.querySelectorAll(".captcha-refresh").forEach((e=>{e.click()}))}};class K{constructor(e){this.getElements(e).forEach((t=>this.init(t,e)))}getElements(e){return document.querySelectorAll(e.selector||"input[type=date]")}init(e,t){"date"!==e.getAttribute("type")&&e.setAttribute("type","date"),this.setLimitValues(e,t)}setLimitValues(e,{endDate:t,startDate:n}){this.isValidDate(t)&&e.setAttribute("max",this.getLimitValue(t)),this.isValidDate(n)&&e.setAttribute("min",this.getLimitValue(n))}getLimitValue(e){return`${e.getFullYear()}-${this.getTwoLastDigits(e.getMonth()+1)}-${this.getTwoLastDigits(e.getDate())}`}getTwoLastDigits(e){return`0${e}`.slice(-2)}isValidDate(e){return e&&"[object Date]"===Object.prototype.toString.call(e)}}const{datePicker:G,inlineInit:z}=(()=>{function e(){}return{datePicker:{inlineInit:e,init:function(e){const t={minDate:"startDate",maxDate:"endDate",langCode:"language",lang_code:"language",dateFormat:"format",jqui_date_format:"format"};e=e||{};for(let n in t)e.hasOwnProperty(n)&&(e.hasOwnProperty(t[n])||(e[t[n]]=e[n],delete e[n]));return new K(e).getElements(e)},loadDependencies:function(e){var t=$.Deferred();return F({executeFn:function(){t.resolve(e)},resources:[{alias:"lib",name:"jquery.bootstrap-datepicker",isLoadedFn:()=>"$"in globalThis&&$().datepicker&&$().datepicker.hasOwnProperty("DPGlobal")}]}),t},has:function(e){return!1},getDate:function(e,t,n){var o="$"in globalThis&&$(e).data("datepicker"),s=null,i=null,r="",a="";return n=n||{},t?!o&&/^\d{4}-\d{2}-\d{2}$/.test(t)&&new Date(t).toISOString().substring(0,10)===t?new Date(t):"$"in globalThis&&$().datepicker&&(r=n.format,a=n.language,o&&(r=o.o.format,a=o.o.language),s=(i=$().datepicker.DPGlobal).parseDate(t,r,a),i.formatDate(s,r,a)===t)?s:null:null},toISO:function(e,t){return t},isDateSupported:function(){return!0}},inlineInit:e}})(),X=(()=>{const e=e=>{globalThis.govis.module.form.tool.intltelinput.init((e=>({fields:[e],langCode:e.getAttribute("data-intl-tel-langcode"),country:e.hasAttribute("data-intl-tel-country")?e.getAttribute("data-intl-tel-country"):""}))(e)),(e=>{e.removeAttribute("data-intl-tel-langcode"),e.removeAttribute("data-intl-tel-country")})(e)},t=()=>document.querySelectorAll("[data-intl-tel-langcode]");return()=>{t().length&&F({executeFn:()=>
1{t().forEach(e)},resources:[{alias:"lib",name:"intl-tel-input-tool",modulePath:"govis.module.form.tool.intltelinput.init"}]})}})(),Y={inlineInit:X},Q=(()=>{const t={en:{phone:"Phone",mobile:"Mobile"},de:{phone:"Telefon",mobile:"Mobile"},it:{phone:"Telefono",mobile:"Cellulare"},fr:{phone:"Téléphone",mobile:"Mobile"}},n={ch:"41"},o=/[^\d]/g;const s=(e,t,s)=>e.mask.split("[[text]]").join(s||t).split("[[normalizedphone]]").join(function(e,t){var s="";if(n.hasOwnProperty(e.country))if("ch"===e.country){const i=(s=t.replace(/\(0\)/g,""))[0];if(s=t.replace(o,""),"+"===i&&(s=i+s),"+"!==s[0]&&s.length>=9){const t=n[e.country];"0"===s[0]&&10===s.length&&(s=s.substring(1)),9===s.length&&(s="+"+t+s),s.substring(0,t.length)===t&&(s="+"+s)}}else s=t.replace(o,"");return s}(e,t)).split("[[phone]]").join(t);return function(n){e((()=>{const e=Object.assign({lang:"de",country:"ch",selector:"body",excludeSelector:".js-govis-skip-processing-telephone",types:"mobile,phone",mask:'<a href="tel:[[normalizedphone]]">[[phone]]</a>'},n),o=(e=>e.lang?Object.assign(Object.assign({},t[e.lang]),e.texts&&e.texts[e.lang]):{})(e);document.querySelectorAll(e.selector).forEach((t=>{t.querySelectorAll('[data-govis-phone="'+e.types.split(",").join('"],[data-govis-phone="')+'"]').forEach((t=>{if(!t.closest(e.excludeSelector)){const n=t.getAttribute("data-govis-phone"),i=t.textContent;t.innerHTML=s(e,i,o[n]),t.removeAttribute("data-govis-phone")}}))}))}))}})();class Z{constructor(e,t,n){this.button=e,this.container=t,this.validate()&&this.setListeners(n)}validate(){const e=this.button&&this.container;return e||console.warn(["A11yDropdownKeyNavigation: not valid params were passed",this.button,this.container]),e}setListeners(e){document.addEventListener("keydown",(t=>{if(this.isExpanded())return this.processEvent(t,e)}))}processEvent(e,t){if("Escape"==e.key&&this.handleEscapeKey(e,t),"Tab"==e.key)return this.handleTabKey(e)}handleEscapeKey(e,t){e.preventDefault(),t(),this.button.focus()}handleTabKey(e){return e.shiftKey?this.focuLastElement(e):this.focusButton(e)}focuLastElement(e){const t=this.getLastFocusableElements();if(e.target==this.button)return e.preventDefault(),t&&t.focus(),!1}focusButton(e){const t=this.getLastFocusableElements();if(e.target==t)return e.preventDefault(),this.button.focus(),!1}getLastFocusableElements(){const e=this.container.querySelectorAll('button, a, input:not([type="hidden"]), select, textarea, [tabindex]:not([tabindex="-1"])');return e[e.length-1]}isExpanded(){return"true"===this.button.getAttribute("aria-expanded")}}class ee{constructor(e){this.options=e}animate(e,t,n){this.execute(e,(()=>{this.before(e,t);const o=n();e.animate(t?o.reverse():o,this.getOptions(t)).finished.then((()=>{this.after(e,t)})).catch((e=>{console.log(e)}))}))}getOptions(e){return Object.assign({id:e?"0":"1"},this.options)}execute(e,t){this.cancelAll(e),requestAnimationFrame((()=>{requestAnimationFrame((()=>{t()}))}))}cancelAll(e){e.getAnimations().forEach((e=>{e.cancel()}))}before(e,t){t||e.style.setProperty("display","block"),e.style.setProperty("overflow","hidden")}after(e,t){e.style.removeProperty("overflow"),t&&e.style.setProperty("display","none")}}class te{static createAnimateElement(){return new ee({duration:200,easing:"ease",fill:"backwards"})}constructor(e,t){this.animate=e,this.element=t||null}getFrames(e){const{paddingTop:t,paddingBottom:n}=getComputedStyle(e);return[{height:0,paddingTop:"0px",paddingBottom:"0px"},{height:e.clientHeight+"px",paddingTop:t,paddingBottom:n}]}runAnimation(e,t){const n=t||this.element;this.animate.animate(n,e,(()=>this.getFrames(n)))}up(e){this.runAnimation(!0,e)}down(e){this.runAnimation(!1,e)}}const{a11yDropdown:ne,toggleAriaExpanded:oe}=(()=>{const e=(e,t)=>{const n=s(e);return"true"===(t?"true":null==n?void 0:n.getAttribute("aria-expanded"))},t=[],n="active";function o(t,o){if(t.fn)t.fn(t.container,t.list,t.button,!0);else{const s=e(t.button,o);s?t.container.classList.remove(n):t.container.classList.add(n),t.slider.runAnimation(s),t.button.setAttribute("aria-expanded",`${!s}`)}"true"==t.button.getAttribute("aria-expanded")&&function(e,t,n=[]){const o=new CustomEvent(t,{detail:n});e.dispatchEvent(o)}(document,"govisA11yDropdownOpen")}document.addEventListener("click",(e=>{const s=[],i=[];for(let o=0;o<t.length;o++){const r=t[o],a=r.container;a.contains(e.target)?s.push(r):a.classList.contains(n)&&i.push(r)}for(let e=0;e<i.length;e++){const t=i[e];let n=!0;for(let e=0;e<s.length;e++){const o=s[e];if(t.list.contains(o.list)){n=!1;break}}n&&o(t,!0)}}));function s(e){return e instanceof HTMLElement?e:"string"==typeof e?document.querySelector(e):function(e){return e&&"object"==typeof e&&void 0!==e.length&&e[0]instanceof HTMLElement?e[0]:null}(e)}const i=e=>e.map((e=>s(e))).filter((e=>!!e));return document.addEventListener("govisA11yDropdownClose",(()=>{t.forEach((e=>{o(e,!0)}))})),{a11yDropdown:function(e,n,s,r){const a=function(e,t,n,o){const s=i([e,t,n]);if(3==s.length){const e={container:s[0],list:s[1],button:s[2]};return"function"==typeof o?e.fn=o:e.slider=new te(te.createAnimateElement(),e.list),e}return null}(e,n,s,r);if(a){t.push(a);const e=a.button;new Z(e,a.container,(()=>{o(a,!0)})),e.addEventListener("click",(e=>{e.preventDefault(),o(a,!1)}))}},toggleAriaExpanded:function(t,n){const o=s(t);if(o){const s=e(t,n);o.setAttribute("aria-expanded",`${!s}`)}}}})();const se={hasListener:!1,instances:{},domHelper:{getWrapper:(e,t)=>{const n=e.parentElement;return n&&n.classList.contains(t)?n:null},getTables:e=>Array.from(document.querySelectorAll(e)),hasIgnoreClass:(e,t)=>t.some((t=>e.classList.contains(t)))},transform:{createWrapper:(e,t)=>{const n=document.createElement("div");n.innerHTML=e.wrapper;const o=n.firstElementChild;o&&!o.classList.contains(e.classes.wrapper)&&o.classList.add(e.classes.wrapper),t.parentNode.insertBefore(o,t),o.appendChild(t)},updateCaption:(e,t)=>{const n=t.querySelector("caption");n&&e&&!e.getAttribute("aria-labelledby")&&(n.id||(n.id=S()),e.setAttribute("aria-labelledby",n.id))}},init:function(e){this.setInstance(e),this.setListeners(),this.processTables(e)},processTables:function(e){document.querySelectorAll(e.selector).forEach((t=>{this.domHelper.hasIgnoreClass(t,e.classes.ignore)||this.process(e,t)}))},process:function(e,t){const n=e.classes,o=e.classes.wrapper;let s=this.domHelper.getWrapper(t,o);s||(this.transform.createWrapper(e,t),s=this.domHelper.getWrapper(t,o)),this.transform.updateCaption(s,t),this.update(s,n)},setInstance:function(e){this.instances.hasOwnProperty(e.selector)||(this.instances[e.selector]={}),this.instances[e.selector][e.classes.wrapper]=e.classes},setListeners:function(){this.hasListener&&(this.hasListener=!0,document.addEventListener("resize",(()=>{for(let e in this.instances){const t=this.domHelper.getTables(e);for(let n in this.instances[e])this.updateTables(t,n,this.instances[e][n])}})))},update:function(e,t){if(e){const n=e.scrollWidth>e.clientWidth;n&&!this.domHelper.hasIgnoreClass(e,t.ignore)?(e.setAttribute("role","regi
1on"),e.setAttribute("tabindex","0")):(e.removeAttribute("role"),e.removeAttribute("tabindex")),e.classList.toggle(t.activeWrapper,n)}},updateTables:function(e,t,n){e.forEach((e=>{this.update(this.domHelper.getWrapper(e,t),n)}))}};class ie{constructor(){const e="data-dam-original-url",t=document.querySelectorAll(`img[${e}]`);t.forEach((t=>this.wrap(t,e))),t.length&&this.loadAndInitPopUp()}loadAndInitPopUp(){F({executeFn:this.initPopUp,resources:[{alias:"lib",name:"magnific",isLoadedFn:()=>"$"in globalThis&&$.magnificPopup}]})}initPopUp(){$(".popup-magnific").magnificPopup({type:"image",mainClass:"mfp-with-zoom",image:{verticalFit:!0,titleSrc:function(e){var t=e.el.find("figcaption:visible").text();if(""==t){var n=e.el.parent("figure").find("figcaption:visible").text();""!=n&&(t=n)}return t}},closeOnContentClick:!0})}wrap(e,t){var n;const o=this.createATag(e.getAttribute(t));null===(n=e.parentNode)||void 0===n||n.insertBefore(o,e),o.appendChild(e),e.removeAttribute(t)}createATag(e){const t=document.createElement("a");return t.href=e,t.className="popup-magnific",t}}function re(e){const t=e.closest("a"),n=t&&(t.getAttribute("href")||t.getAttribute("xlink:href"));return n&&function(e){const t=window.location.origin,n=new URL(e,t);return n.origin===t&&n.hash.substring(1)||""}(n)}class ae{constructor(e,t=80,n=350,o=document.documentElement){this.callback=e,this.stableMs=t,this.done=!1,this.observer=this.startObserving(o),this.hardCapTimer=setTimeout((()=>this.finish()),n)}startObserving(e){const t=new ResizeObserver((()=>this.scheduleFinish()));return t.observe(e),this.scheduleFinish(),t}scheduleFinish(){clearTimeout(this.settleTimer),this.settleTimer=setTimeout((()=>requestAnimationFrame((()=>this.finish()))),this.stableMs)}finish(){this.done||(this.done=!0,this.cleanup(),this.callback())}cleanup(){this.observer.disconnect(),clearTimeout(this.settleTimer),clearTimeout(this.hardCapTimer)}}function le(){ce(window.location.hash.substring(1))}function ce(e){const t=he(e),o=de(t);o.length&&Promise.all(o.map(ue)).then((()=>{new ae((()=>{!function(e){n(e,{behavior:"smooth"})}(t)}))}))}const ue=e=>e.open?Promise.resolve():new Promise((t=>{e.addEventListener("toggle",t,{once:!0}),e.open=!0})),de=e=>e&&!e.closest(".js-cms-accordion-content")&&function(e){var t;const n=[];let o=e.closest("details");for(;o;)n.push(o),o=null===(t=o.parentElement)||void 0===t?void 0:t.closest("details");return n}(e)||[];const he=e=>e&&document.querySelector(`[name="${e}"],[id="${e}"]`)||null;function pe(){D()&&globalThis.addEventListener("resize",(function(){for(var e=document.querySelectorAll("img[srcset]"),t=e.length,n=0;n<t;n++)e[n].src+=""})),document.querySelectorAll("a[data-email-link]").forEach((e=>{e.addEventListener("click",(t=>{t.preventDefault();const n=e.getAttribute("data-email-link");n&&(globalThis.location=decodeURIComponent(globalThis.atob(n)))}))})),new H,me(),"$"in globalThis&&$(document).ajaxComplete((function(){console.trace("todo: ajaxComplete (replace to fetch)"),me()})),document.addEventListener("govisProcessHTMLContent",(()=>{me()})),function(){document.querySelectorAll('table.presentation:not([role="presentation"])').forEach((e=>{e.setAttribute("role","presentation")})),M("form.js-mod-search");const e=document.documentElement;e.classList.contains("no-js")&&(e.classList.remove("no-js"),e.classList.add("js"))}(),window.addEventListener("hashchange",(()=>{le()})),window.addEventListener("click",(e=>{ce(re(e.target))})),le()}const ge={AnimateElement:ee,LayoutStabilityWatcher:ae,SlideElement:te};function me(){new ie,document.querySelectorAll("form[data-validation-lang]").length&&F({executeFn:function(){document.querySelectorAll("form[data-validation-lang]").forEach((e=>{const t=e.dataset.validationLang;globalThis.Validator.validate(e,{langCode:t,autoSubmit:!0}),delete e.dataset.validationLang}))},resources:[{alias:"lib",name:"validator",isLoadedFn:()=>globalThis.Validator}]}),document.querySelectorAll("[data-select-auto-submit]").forEach((e=>{if(1===e.querySelectorAll(e.getAttribute("data-select-auto-submit")+" option").length){e.style.display="none";const t=e.querySelector("form");t&&t.requestSubmit()}e.removeAttribute("data-select-auto-submit")})),new R,document.querySelectorAll("[data-govis-a11y_dropdown-container]").forEach((e=>{const t=function(e){return["container","list","button"].reduce(((t,n)=>{const o=`data-govis-a11y_dropdown-${n}`;return t[n]=e.getAttribute(o)||"",e.removeAttribute(o),t}),{})}(e);ne(t.container,t.list,t.button)})),X()}globalThis.helperJs=y(),globalThis.helperJs.onReady=e,globalThis.helperJs.dom=ge,globalThis.helperJs.executeScript=F,globalThis.helperJs.getUrl=T,globalThis.helperJs.resourcesUrl=A,globalThis.helperJs.log=w,globalThis.helperJs.parseResponse=E,globalThis.helperJs.confirm=L,globalThis.helperJs.confirmDelete=function(e){return(e=e||{}).hasOwnProperty("title")||(e.title=y().deleteMessage||"Are you sure?"),L(e)},globalThis.helperJs.appendScripts=function(e){const t=e.map((e=>b({url:e})));return Promise.all(t)},globalThis.helperJs.getInternalId=S,globalThis.helperJs.getNextName=x,globalThis.helperJs.decodeForHTML=function(e){const t=document.createElement("textarea");t.innerHTML=e;const n=t.value;return t.remove(),n},globalThis.helperJs.isIE=O,globalThis.helperJs.detectIEEdge=P,globalThis.helperJs.detectSafari=D,globalThis.helperJs.isMobile=function(){return/Mobi/i.test(window.navigator.userAgent)},globalThis.helperJs.isTouchDevice=function(){return void 0!==window.ontouchstart},globalThis.helperJs.hasPreloadSupport=function(){var e=document.createElement("link").relList;return!!(e&&e.supports&&e.supports("preload"))},globalThis.helperJs.getProcessedFieldValue=function(e,t){const n=e.tagName.toUpperCase();
1if("string"==typeof t&&("INPUT"===n&&"hidden"!==e.type||"TEXTAREA"===n)&&!e.hasAttribute("readonly")&&!e.hasAttribute("disabled")&&!e.classList.contains("js-component-disabletrim")){let n=t.trim();t!==n&&(e.value=n,t=n)}return t},globalThis.helperJs.element=I,globalThis.helperJs.form=_,globalThis.helperJs.changeFormSubmitMethod=M,globalThis.helperJs.showA11yDialog=N,globalThis.helperJs.captcha=W,globalThis.helperJs.initCaptcha=function(t={}){var n=Object.assign({captcha:"[id=captcha]",hash:"[name$=captchahash]"},t.selectors||{}),o={landCode:t.langCode||""};t.captchaType&&(o.captchaType=t.captchaType),e((()=>{const e=n.refreshBtnId&&document.getElementById(n.refreshBtnId);e&&e.addEventListener("click",(t=>{t.preventDefault(),t.stopPropagation(),r(e.getAttribute("href"),o,(t=>{const o=function(e){let t={response:e,json:null,type:"json"};try{t.json=JSON.parse(e)}catch(e){t.type="text"}return t}(t).json;if(o&&o.success&&o.captcha){const t=e.closest("form");t&&function(e,t,n){e&&("IMG"==e.tagName.toUpperCase()?e.setAttribute("src",n.src):e.innerHTML=n.text),t&&(t.value=n.captchahash)}(t.querySelector(n.captcha),t.querySelector(n.hash),o.captcha)}}))}))}))},globalThis.helperJs.optionalByRuleValidator=function(e,t){F({executeFn:function(){const n=document.getElementById(`${e.id}-group`);n.addEventListener("govisOptionalByRule",(t=>{W.manageOptionalByRule(e,t.detail)}));new(B("GovisFormRule"))(n.closest("form"),t)},resources:[{alias:"lib",name:"rule",isLoadedFn:()=>B("GovisFormRule")}]})},globalThis.helperJs.datePicker=G,globalThis.helperJs.initDateInput=e=>G.init(e),globalThis.helperJs.hasInputTypeDate=()=>G.isDateSupported(),globalThis.helperJs.intlTelInput=Y,globalThis.helperJs.processTelephone=Q,globalThis.helperJs.a11yDropdown=ne,globalThis.helperJs.toggleAriaExpanded=oe,globalThis.helperJs.A11yDropdownKeyNavigation=Z,globalThis.helperJs.responsiveTable=t=>{e((()=>{const e=(e=>{const t=e.classes||{},n=["not-responsive",...t.ignore||[]];return{selector:e.selector||"main table",wrapper:(e.wrapper||'<div class="table-responsive"></div>').trim(),classes:{wrapper:t.wrapper||"table-responsive",activeWrapper:t.activeWrapper||"table-responsive--active",ignore:[...new Set(...n)]}}})(t||{});se.init(e)}))},globalThis.helperJs.renderTemplate=function(e){const t="hbs"===e.templateEngine,n=y().renderedTemplates,o=e.selector;n.hasOwnProperty(o)||(n[o]={source:document.querySelector(o).innerHTML.split("[[").join("{{").split("]]").join("}}").split("__OPEN__").join("{{").split("__CLOSE__").join("}}")},t&&(n[o].compiledTemplate=globalThis.Handlebars.compile(n[o].source)));const s=n[o];return t?s.compiledTemplate(e.data):globalThis.Mustache.render(s.source,e.data)},e((()=>pe())),String.prototype.format=function(){var e=arguments;return this.replace(/{([0-9]+)}/g,(function(t,n){return void 0===e[n]?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.