PageSourceSearch

https://adstronauts.de/wp-content/plugins/brizy/public/editor-build/prod/editor/js/preview.37.663bddfb.js

js adstronauts.de collected 2026-10-02 15:32:44 UTC 71,492 bytes, 1 lines download raw bytes

1(self.webpackChunk_brizy_builder_free=self.webpackChunk_brizy_builder_free||[]).push([["37"],{7625(t){(()=>{"use strict";var e={d:(t,i)=>{for(var r in i)e.o(i,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:i[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r:t=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},i={};e.r(i),e.d(i,{Arr:()=>r,Bool:()=>n,Err:()=>u,Json:()=>s,Num:()=>o,Obj:()=>l,Str:()=>a,pipe:()=>P});var r={};e.r(r),e.d(r,{is:()=>b,read:()=>c,readWithItemReader:()=>d});var n={};e.r(n),e.d(n,{read:()=>h});var s={};e.r(s),e.d(s,{read:()=>m});var o={};e.r(o),e.d(o,{read:()=>p});var l={};e.r(l),e.d(l,{hasKey:()=>v,hasKeys:()=>y,isEmpty:()=>L,isObject:()=>f,length:()=>E,read:()=>A,readAsUnknownDict:()=>w,readKey:()=>z,readNoArray:()=>S,readWithValueReader:()=>k});var a={};e.r(a),e.d(a,{is:()=>q,read:()=>I});var u={};e.r(u),e.d(u,{isAllT:()=>N,isNullish:()=>M,isT:()=>O,onEmpty:()=>B,onNullish:()=>F,onUndefined:()=>T,throwOnNullish:()=>C});var c=function(t){if(Array.isArray(t))return t},d=function(t){return function(e){if(Array.isArray(e)){var i=e.map(t);return i.some(function(t){return null==t||"number"==typeof t&&Number.isNaN(t)})?void 0:i}}},b=function(t){return!!c(t)},h=function(t){if("boolean"==typeof t)return t},m=function(t){if("string"==typeof t)try{return JSON.parse(t)}catch(t){return}},p=function(t){switch(void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t){case"string":var e=""!==t?Number(t):NaN;return isNaN(e)?void 0:e;case"number":return isNaN(t)?void 0:t;default:return}};function g(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=Array(e);i<e;i++)r[i]=t[i];return r}var f=function(t){return"object"==typeof t&&null!==t},v=function(t,e){return t in e},y=function(t,e){return t.every(function(t){return v(t,e)})},A=function(t){if(f(t))return t},S=function(t){if(f(t)&&!Array.isArray(t))return t},w=function(t){if(f(t))return t},k=function(t){return function(e){var i,r=w(e);if(void 0!==r){var n={},s=!0,o=!1,l=void 0;try{for(var a,u=Object.entries(r)[Symbol.iterator]();!(s=(a=u.next()).done);s=!0){var c=(i=a.value,function(t){if(Array.isArray(t))return t}(i)||function(t,e){var i=null==t?null:"u">typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=i){var r,n,s=[],o=!0,l=!1;try{for(i=i.call(t);!(o=(r=i.next()).done)&&(s.push(r.value),2!==s.length);o=!0);}catch(t){l=!0,n=t}finally{try{o||null==i.return||i.return()}finally{if(l)throw n}}return s}}(i,0)||function(t,e){if(t){if("string"==typeof t)return g(t,2);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?g(t,2):void 0}}(i,0)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=c[0],b=c[1],h=t(b);if(void 0===h)return;n[d]=h}}catch(t){o=!0,l=t}finally{try{s||null==u.return||u.return()}finally{if(o)throw l}}return n}}},z=function(t){return function(e){return v(t,e)?e[t]:void 0}},E=function(t){return Object.keys(t).length},L=function(t){return 0===E(t)};function _(t,e){(null==e||e>t.length)&&(e=t.length);for(var i=0,r=Array(e);i<e;i++)r[i]=t[i];return r}function x(t){if("u">typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function D(t,e){if(t){if("string"==typeof t)return _(t,e);var i=Object.prototype.toString.call(t).slice(8,-1);return"Object"===i&&t.constructor&&(i=t.constructor.name),"Map"===i||"Set"===i?Array.from(i):"Arguments"===i||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?_(t,e):void 0}}function P(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];var r=function(t){if(Array.isArray(t))return t}(e)||x(e)||D(e)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),n=r[0],s=r.slice(1);return function(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return s.reduce(function(t,e){return e(t)},n.apply(void 0,function(t){if(Array.isArray(t))return _(t)}(e)||x(e)||D(e)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()))}}var I=function(t){switch(void 0===t?"undefined":t&&"u">typeof Symbol&&t.constructor===Symbol?"symbol":typeof t){case"string":return t;case"number":return isNaN(t)?void 0:t.toString();default:return}},q=function(t){return"string"==typeof t};function T(t,e){return void 0===t?e:t}var M=function(t){return null==t||"number"==typeof t&&Number.isNaN(t)};function F(){for(var t=arguments.length,e=Array(t),i=0;i<t;i++)e[i]=arguments[i];return 1===e.length?function(t){return M(t)?e[0]:t}:M(e[1])?e[0]:e[1]}var C=function(t){return function(e){if(M(e))throw Error(t);return e}};function B(t,e,i){return M(e)||e===t?i:e}var O=function(t){return!M(t)},N=function(t){return!M(t)&&""!==t};t.exports=i})()},4292(t,e,i){"use strict";i.r(e),i.d(e,{default:()=>x});var r=i(1669),n=i.n(r),s=i(9891),o=i(2540),l=i(1378);function a(t){let e=null,i=null;return(t&&/(?:youtu\.be|youtube)/.test(t)?(e="youtube",i=t.replace(/\/shorts\//,"/embed/").match(/(?:v=|embed\/|youtu\.be\/)([A-Z0-9a-z\-_+%]*)(?:"|)/)):t&&/(?:vimeo\.com)/.test(t)&&(e="vimeo",i=t.match(/vimeo\.com.*?\/([0-9]{1,20})/)),e&&i&&i[1])?{type:e,key:i[1]}:null}let u={autoplay:!1,controls:!0,loop:!1,privacyMode:"off"};var c=i(7625),d=i(7542);let b=null,h=document,m=function(t,e){let i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;t.querySelectorAll(e).forEach(t=>{let e=t.querySelector("video"),i=null==e?void 0:e.getAttribute("data-autoplay"),r=null==e?void 0:e.hasAttribute("muted"),n=t.querySelector(".brz-media-caption");"on"===i&&y(t),r&&A(t,!0),n&&e&&k(e,n)});let r=`${e} .brz-video-custom-play-pause-btn, ${e} .brz-shortcode__placeholder:not(.brz-video-playlist-placeholder), ${e} .brz-video__cover, ${e} video`;t.querySelectorAll(r).forEach(t=>{t.addEventListener("click",t=>{let e=t.target.closest(i);e&&y(e)})});let n=`${e} .brz-video-custom-volume-btn`;
1t.querySelectorAll(n).forEach(t=>{t.addEventListener("click",t=>{var e;let r=t.target.closest(i),n=null==r||null==(e=r.querySelector("video"))?void 0:e.muted;r&&A(r,!n)})});let s=()=>{b&&(h.fullscreenElement||h.webkitFullscreenElement||h.msFullscreenElement||h.mozFullscreenElement?b.classList.add("brz-video-custom-fullScreen-window-show"):b.classList.remove("brz-video-custom-fullScreen-window-show"))},o=t.ownerDocument;o.onfullscreenchange=s,o.onwebkitfullscreenchange=s,o.onmozfullscreenchange=s;let l=`${e} .brz-video-custom-fullscreen-btn`;t.querySelectorAll(l).forEach(t=>{t.addEventListener("click",t=>{var e;let r=null==(e=t.target)?void 0:e.closest(i),n=null==r?void 0:r.querySelector(".brz-video-elem"),s=null==n?void 0:n.querySelector("video");n&&(null==s?void 0:s.src)&&(null==s?void 0:s.duration)&&(h.fullscreenElement||h.webkitFullscreenElement||h.msFullscreenElement||h.mozFullscreenElement?w():(b=n,S(n,(0,d.un)())))})})},p=t=>{let e=Math.floor(t/60),i=Math.floor(t%60);return`${e}:${i<10?`0${i}`:i}`},g=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t.toFixed(e)},f=(t,e)=>{let i=t.children[0],r=t.children[1];e?(i.classList.add("brz-hidden"),r.classList.remove("brz-hidden")):(i.classList.remove("brz-hidden"),r.classList.add("brz-hidden"))},v=(t,e)=>{let i=t.offsetWidth;return 100*(e-t.getBoundingClientRect().left)/i},y=t=>{if(!t)return;let e=t.querySelector("video");if(!(null==e?void 0:e.src))return;let i=t.querySelector(".brz-video-custom-controls .brz-video-custom-slider"),r=t.querySelector(".brz-video__cover"),n=t.querySelector(".brz-shortcode__placeholder"),s=t.querySelector(".brz-video-custom-volume-controls"),o=t.querySelector(".brz-video-custom-controls .brz-video-custom-progress"),l=t.querySelector(".brz-video-custom-volume-controls .brz-video-custom-progress"),a=t.querySelector(".brz-video-custom-play-pause-btn"),u=t.querySelector(".brz-video-custom-current-time"),d=c.Num.read(e.getAttribute("data-time-start"))||0,b=c.Num.read(e.getAttribute("data-time-end"))||1/0;a&&f(a,e.paused),e.paused?e.play():e.pause(),(t.querySelector(".brz-custom-video")||t.classList.contains("brz-custom-video"))&&(null==r||r.classList.add("brz-hidden"),null==n||n.classList.add("brz-hidden")),e.removeAttribute("class"),e.duration||(e.addEventListener("loadedmetadata",i=>{let r=p(i.target.duration),n=p(d);e.currentTime=d;let s=t.querySelector(".brz-video-custom-total-time");s&&(s.innerHTML=r),u&&(u.innerHTML=n)}),e.addEventListener("timeupdate",t=>{let i=t.target,r=i.currentTime,n=i.duration;o&&(o.style.width=`${g(r/n*100)}%`),u&&(u.innerHTML=p(r)),r<b||(e.hasAttribute("loop")?e.currentTime=d:(e.pause(),b=1/0))}),a&&(e.addEventListener("ended",()=>{f(a,!1)}),e.addEventListener("play",()=>{f(a,!0)}),e.addEventListener("pause",()=>{f(a,!1)})),window.addEventListener("mousedown",t=>{let r,n=t.target;if(!i||!s)return;let o=!!n.closest(".brz-video-custom-controls .brz-video-custom-slider"),a=!!n.closest(".brz-video-custom-volume-controls");o&&(e.currentTime=(r=v(i,t.pageX))*e.duration/100),a&&l&&(r=v(s,t.pageX),l.style.width=`${g(r)}%`,e.volume=r/100)}))},A=(t,e)=>{let i=t.querySelector(".brz-video-custom-volume-controls .brz-video-custom-progress"),r=t.querySelector("video"),n=t.querySelector(".brz-video-custom-volume-btn");if((null==r?void 0:r.src)&&(n&&(f(n,e),r.muted=e),i)){let t=e?0:100*r.volume;i.style.width=`${g(t)}%`}},S=(t,e)=>{if(e){let e=t.querySelector("video");e.webkitEnterFullscreen&&e.webkitEnterFullscreen()}else t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},w=()=>{h.exitFullscreen?h.exitFullscreen():h.mozCancelFullScreen?h.mozCancelFullScreen():h.webkitExitFullscreen?h.webkitExitFullscreen():h.msExitFullscreen&&h.msExitFullscreen()},k=(t,e)=>e.addEventListener("click",()=>{e.classList.contains("brz-media-caption-active")?(t.textTracks[0].mode="hidden",e.classList.remove("brz-media-caption-active")):(t.textTracks[0].mode="showing",e.classList.add("brz-media-caption-active"))}),z=!1,E=(t,e,i,r,n,s,o)=>new YT.Player(t,{events:{onReady:function(t){let i=t.target.isMuted();o&&t.target.pauseVideo(),(e||i)&&t.target.mute(),e||i||t.target.unMute(),(e||s&&!o)&&(t.target.seekTo(r),t.target.playVideo())},onStateChange:function(t){i&&t.data==YT.PlayerState.PLAYING&&(n>r?setTimeout(()=>t.target.seekTo(r),1e3*(n-r)):setTimeout(()=>t.target.seekTo(r),1e3*(t.target.getDuration()-r)))}}});function L(t){t.find(".brz-video .brz-iframe").each(function(){n()(this).remove()}),t.find(".brz-embed-code iframe").each(function(){let t=n()(this),{type:e}=a(t.attr("src"))||{};if("youtube"===e||"vimeo"===e){let e=t.get(0).outerHTML;n()(this).replaceWith(e)}}),t.find(".brz-custom-video").each(function(){n()(this).find("video").trigger("pause")})}function _(t){t.find(".brz-vimeo-video, .brz-youtube-video").each(function(){var t=n()(this);t.find(".brz-video__cover").length||D(t)})}function x(t){["elements.tabs.changed","elements.accordion.changed","elements.switcher.changed"].forEach(t=>{window.Brz.on(t,(t,e)=>{L(n()(e.tabs.filter(t=>t!==e.active))),_(n()(e.active))})}),["elements.mmenu.panel.opened","elements.mmenu.open"].forEach(t=>{window.Brz.on(t,t=>{_(n()(t))})}),["elements.mmenu.panel.closed","elements.mmenu.close"].forEach(t=>{window.Brz.on(t,t=>{L(n()(t))})}),n()(document).on("brz.popup.show",function(t,e){_(n()(e))}),n()(document).on("brz.popup.close",function(t,e){L(n()(e))});let e=[],i=[],r=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document,u=t.find(".brz-youtube-video"),c=t.find(".brz-vimeo-video");if(u.length>0){if(!document.querySelector("script[src='https://www.youtube.com/iframe_api']")){let t=document.createElement("script");t.src="https://www.youtube.com/iframe_api",document.body.append(t)}let t=window.onYouTubeIframeAPIReady;window.onYouTubeIframeAPIReady=()=>{"function"==typeof t&&t(),window.Brz&&window.Brz.emit("elements.video.iframe.ready")}}window.Brz.on("elements.video.iframe.ready",()=>{z=!0,u.each(function(t){let s=n()(this),o=this.querySelector("iframe"),l=s.find(".brz-video-data"),a=s.find(".brz-video__cover"),u=l.attr("data-population"),c="true"===l.attr("data-loop"),d=Number(l.attr("data-start")),b=Number(l.attr("data-end")),h="on"===l.attr("data-autoplay");r&&e.push(s),a.length?r?(this.classList.add("brz-video__ios"),a.get(0).addEventListener("click",()=>{i[t].playVideo&&(this.classList.remove("brz-video__ios"),i[t].playVideo(),a.remove())}
1)):a.on("click",D.bind(null,s,!1)):u?D(s):o&&E(o,h,c,d,b,!1)}),e.forEach(t=>{let e=D(t,r);i.push(e)})}),c.each(function(){let t=n()(this),e=t.find(".brz-video-data"),i=t.find(".brz-video__cover"),r=e.attr("data-population");i.length?i.on("click",D.bind(null,t,!1)):r&&D(t)});let d=t.get(0);d instanceof HTMLElement&&new s.gD({root:d}).init(),m(d,".brz-custom-video",".brz-video"),window.Brz.on("elements.story.slide.changed",t=>{if(t){let e=t.querySelectorAll(".brz-video");e.length>0&&e.forEach(t=>{let e=(t=>{if(t.classList.contains("brz-youtube-video")){let e=t.querySelector("iframe");return e?{type:"youtube",player:e}:void 0}if(t.classList.contains("brz-vimeo-video")){let e=t.querySelector("iframe");return e?{type:"vimeo",player:e}:void 0}if(t.classList.contains("brz-custom-video")){let e=t.querySelector("video");return e?{type:"custom",player:e}:void 0}})(t);e&&(t=>{var e,i,r,n,s,o;switch(t.type){case"youtube":null==t||null==(i=t.player)||null==(e=i.contentWindow)||e.postMessage(JSON.stringify({event:"command",func:"pauseVideo"}),"*");break;case"vimeo":null==t||null==(n=t.player)||null==(r=n.contentWindow)||r.postMessage(JSON.stringify({method:"pause",value:"true"}),"*");break;case"custom":"function"==typeof(null==t||null==(s=t.player)?void 0:s.pause)&&(null==t||null==(o=t.player)||o.pause())}})(e)})}}),t.find(".brz-video__lightbox").each(function(){var t,e,i,r;let s=null!=(t=this.getAttribute((0,o.uo)("popup-type")))?t:"iframe",u="on"===this.getAttribute((0,o.uo)("loop")),c="on"===this.getAttribute((0,o.uo)("muted")),d=null!=(e=l.L(this.getAttribute((0,o.uo)("start"))))?e:0,b=null!=(i=l.L(this.getAttribute((0,o.uo)("end"))))?i:0,h=this.getAttribute("href"),{type:m,key:p}=null!=(r=a(h))?r:{},g="youtube"===m&&h.includes("youtu.be");"inline"===s?n()(this).magnificPopup({type:"inline",callbacks:{open:function(){let t=this.currItem.inlineElement[0];t&&(t.currentTime=d,t.play(),t.addEventListener("timeupdate",()=>{t.currentTime>=b&&b>d&&t.pause()}))},close:function(){let t=this.currItem.inlineElement[0];t.currentTime=0,t.pause()}}}):n()(this).magnificPopup({type:"iframe",closeOnContentClick:!0,iframe:{patterns:{youtube:{index:g?"youtu.be/":"youtube.com/",src:`//www.youtube.com/embed/${p}?playlist=${p}&autoplay=1&mute=${c}&loop=${u}&start=${d}&end=${b}`},vimeo:{index:"vimeo.com/",src:`//player.vimeo.com/video/${p}?autoplay=1&muted=${c}&loop=${u}#t=${d}`}}}})})}function D(t,e){var i,r,s,o,l,c,d,b,h,m,p,g;let f=t.find(".video-wrapper"),v=t.find(".brz-video__cover"),y=t.find(".brz-video-data"),A="true"===y.attr("data-loop"),S=Number(y.attr("data-start")),w=Number(y.attr("data-end")),k="on"===y.attr("data-autoplay"),L=t[0].classList.contains("brz-youtube-video"),_=n()("<iframe/>",{class:"brz-iframe intrinsic-ignore",allowfullscreen:!0,allow:"autoplay",title:"video-export",src:(i=t.find(".brz-video-data"),r=t.find(".brz-video__cover"),s=i.attr("data-src"),o=i.attr("data-population"),l=i.attr("data-controls"),c=i.attr("data-branding"),d=i.attr("data-intro"),b=i.attr("data-start"),h=i.attr("data-end"),m=i.attr("data-loop"),o&&(p={autoplay:+!!r.length,controls:Number("true"===l),branding:Number("true"===c),intro:Number("true"===d),start:Number(b),end:Number(h),loop:Number(m)},s=(g=a(o))?function(t,e){let{type:i,key:r}=t,n={...u,...e},{url:s,options:o,anchor:l=""}="youtube"===i?((t,e)=>{let{autoplay:i,controls:r,branding:n=1,loop:s,suggestedVideo:o,start:l=0,end:a=0,hasCover:u=!1,privacyMode:c,videoMuted:d}=e,b={autoplay:Number(i),controls:Number(r),start:Number(l),end:Number(a),modestbranding:n,wmode:"transparent",enablejsapi:1,loop:0,rel:Number(o),mute:Number(d),...i&&!u?{mute:1}:{}};return s&&(b.loop=1,b.playlist=t),{url:`https://www.youtube${"on"===c?"-nocookie":""}.com/embed/${t}`,options:b}})(r,n):((t,e)=>{let{intro:i=1,autoplay:r,loop:n=!1,start:s=0,controls:o,hasCover:l=!1,videoMuted:a}=e;return{url:`https://player.vimeo.com/video/${t}`,options:{autoplay:Number(r),background:0,title:i,byline:i,badge:!1,autopause:!1,portrait:i,controls:Number(o),loop:Number(n),muted:Number(a),...!0===r&&!l?{muted:1}:{}},anchor:`#t=${Number(s)}s`}})(r,n);return`${s}?${o?Object.entries(o).map(t=>t[0]+"="+encodeURIComponent(t[1])).join("&"):""}${l}`}(g,p):null),s)});setTimeout(()=>{L?z&&(f.append(_),e||v.remove()):(f.append(_),v.remove())},0);let x=v.length;if(L&&z)return E(_.get(0),k,A,S,w,x,e)}},9891(t,e,i){"use strict";function r(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,{v2:()=>p,Bv:()=>y,Xx:()=>h,G2:()=>L,me:()=>d,qT:()=>k,gD:()=>o,zQ:()=>f,zq:()=>n});
1class n{init(){this.items.forEach(t=>{this.initHeader(t),t.button.addEventListener("keydown",e=>this.handleHeaderKeyDown(e,t))}),this.filterButtons.forEach(t=>{this.initFilterButton(t),t.addEventListener("keydown",e=>this.handleFilterKeyDown(e,t))}),this.sync()}sync(){this.items.forEach(t=>this.syncItem(t)),this.syncFilterButtons()}syncFilterButtons(){this.filterButtons.forEach(t=>{var e;let i=t.closest(".brz-accordion__filter__item"),r=null!=(e=null==i?void 0:i.classList.contains("brz-accordion__filter__item--active"))&&e;t.setAttribute("aria-pressed",r.toString())})}initHeader(t){t.button.setAttribute("role","button"),t.button.setAttribute("tabindex","0")}initFilterButton(t){t.setAttribute("role","button"),t.setAttribute("tabindex","0")}syncItem(t){let e=t.api.isOpen(),i=t.keepOnePanelOpen&&e;t.button.setAttribute("aria-expanded",e.toString()),t.button.setAttribute("aria-disabled",i.toString()),t.panel.setAttribute("aria-hidden",(!e).toString())}handleHeaderKeyDown(t,e){var i,r;switch(t.key){case"Enter":case" ":case"Spacebar":t.preventDefault(),e.button.click();break;case"ArrowDown":t.preventDefault(),this.focusSibling(e,1);break;case"ArrowUp":t.preventDefault(),this.focusSibling(e,-1);break;case"Home":t.preventDefault(),null==(i=this.items[0])||i.button.focus();break;case"End":t.preventDefault(),null==(r=this.items[this.items.length-1])||r.button.focus()}}focusSibling(t,e){var i;let r=this.items.findIndex(e=>{let{button:i}=e;return i===t.button});if(-1===r)return;let n=(r+e+this.items.length)%this.items.length;null==(i=this.items[n])||i.button.focus()}focusFilterSibling(t,e){var i;let r=this.filterButtons.findIndex(e=>e===t);if(-1===r)return;let n=(r+e+this.filterButtons.length)%this.filterButtons.length;null==(i=this.filterButtons[n])||i.focus()}handleFilterKeyDown(t,e){var i,r;switch(t.key){case"Enter":case" ":case"Spacebar":t.preventDefault(),e.click();break;case"ArrowRight":case"ArrowDown":t.preventDefault(),this.focusFilterSibling(e,1);break;case"ArrowLeft":case"ArrowUp":t.preventDefault(),this.focusFilterSibling(e,-1);break;case"Home":t.preventDefault(),null==(i=this.filterButtons[0])||i.focus();break;case"End":t.preventDefault(),null==(r=this.filterButtons[this.filterButtons.length-1])||r.focus()}}constructor({items:t,filterButtons:e=[]}){r(this,"items",void 0),r(this,"filterButtons",void 0),this.items=t,this.filterButtons=e}}let s=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;return t.toFixed(e)};class o{init(){this.initCovers(),this.initLightboxes(),this.initCustomControls(),this.initCustomSliders()}initCovers(){this.root.querySelectorAll(".brz-video__cover").forEach(t=>{if("true"===t.getAttribute("data-brz-a11y-init")||(t.setAttribute("data-brz-a11y-init","true"),"function"!=typeof t.onclick&&null===t.closest(".brz-video, .brz-custom-video")))return;let e=!!t.getAttribute("aria-label")||!!t.getAttribute("aria-labelledby");t.setAttribute("role","button"),t.setAttribute("tabindex","0"),e||t.setAttribute("aria-label","Play video"),t.addEventListener("keydown",t=>{if("Enter"===t.key||" "===t.key||"Spacebar"===t.key){var e;t.preventDefault(),null==(e=t.currentTarget)||e.click()}})})}initLightboxes(){this.root.querySelectorAll(".brz-video__lightbox").forEach(t=>{"true"===t.getAttribute("data-brz-a11y-init")||(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.getAttribute("aria-label")||t.getAttribute("aria-labelledby")||t.setAttribute("aria-label","Open video in lightbox"),t.addEventListener("keydown",t=>{if("Enter"===t.key||" "===t.key||"Spacebar"===t.key){var e;t.preventDefault(),null==(e=t.currentTarget)||e.click()}}))})}initCustomControls(){this.root.querySelectorAll(".brz-custom-video .brz-video-content").forEach(t=>{"true"!==t.getAttribute("data-brz-a11y-init")&&(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.getAttribute("aria-label")||t.setAttribute("aria-label","Play or pause video"),t.addEventListener("keydown",t=>{if("Enter"===t.key||" "===t.key||"Spacebar"===t.key){t.preventDefault();let e=t.currentTarget.closest(".brz-custom-video");if(!e)return;let i=e.querySelector(".brz-video__lightbox");if(i)return void i.click();let r=e.querySelector(".brz-video-custom-play-pause-btn");null==r||r.click()}}))}),this.root.querySelectorAll(".brz-video-custom-play-pause-btn").forEach(t=>{"true"!==t.getAttribute("data-brz-a11y-init")&&(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.getAttribute("aria-label")||t.setAttribute("aria-label","Play or pause video"),t.addEventListener("keydown",t=>{if("Enter"===t.key||" "===t.key||"Spacebar"===t.key){var e;t.preventDefault(),t.stopPropagation(),null==(e=t.currentTarget)||e.click()}}))}),this.root.querySelectorAll(".brz-video-custom-volume-btn").forEach(t=>{"true"!==t.getAttribute("data-brz-a11y-init")&&(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.getAttribute("aria-label")||t.setAttribute("aria-label","Toggle mute"),t.addEventListener("keydown",t=>{if("Enter"===t.key||" "===t.key||"Spacebar"===t.key){var e;t.preventDefault(),t.stopPropagation(),null==(e=t.currentTarget)||e.click()}}))}),this.root.querySelectorAll(".brz-video-custom-fullscreen-btn").forEach(t=>{"true"!==t.getAttribute("data-brz-a11y-init")&&(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.getAttribute("aria-label")||t.setAttribute("aria-label","Toggle fullscreen"),t.addEventListener("keydown",t=>{if("Enter"===t.key||" "===t.key||"Spacebar"===t.key){var e;t.preventDefault(),t.stopPropagation(),null==(e=t.currentTarget)||e.click()}}))}),this.root.querySelectorAll(".brz-media-caption").forEach(t=>{"true"!==t.getAttribute("data-brz-a11y-init")&&(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.getAttribute("aria-label")||t.setAttribute("aria-label","Toggle captions"),t.addEventListener("keydown",t=>{if("Enter"===t.key||" "===t.key||"Spacebar"===t.key){var e;t.preventDefault(),t.stopPropagation(),null==(e=t.currentTarget)||e.click()}}))})}initCustomSliders(){this.root.querySelectorAll(".brz-custom-video .brz-video-custom-control
1s .brz-video-custom-slider").forEach(t=>{"true"!==t.getAttribute("data-brz-a11y-init")&&(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","slider"),t.setAttribute("tabindex","0"),t.setAttribute("aria-valuemin","0"),t.setAttribute("aria-valuemax","100"),t.getAttribute("aria-label")||t.setAttribute("aria-label","Video progress"),t.addEventListener("keydown",e=>{let i=e.currentTarget.closest(".brz-custom-video"),r=null==i?void 0:i.querySelector("video");if(!i||!r||!r.duration)return;let n=r.currentTime,o=!1;switch(e.key){case"ArrowRight":case"ArrowUp":n=Math.min(r.duration,r.currentTime+5),o=!0;break;case"ArrowLeft":case"ArrowDown":n=Math.max(0,r.currentTime-5),o=!0;break;case"Home":n=0,o=!0;break;case"End":n=r.duration,o=!0}if(!o)return;e.preventDefault(),e.stopPropagation(),r.currentTime=n;let l=n/r.duration*100,a=i.querySelector(".brz-video-custom-controls .brz-video-custom-progress");a&&(a.style.width=`${s(l)}%`),t.setAttribute("aria-valuenow",s(l))}))}),this.root.querySelectorAll(".brz-custom-video .brz-video-custom-volume-controls").forEach(t=>{"true"!==t.getAttribute("data-brz-a11y-init")&&(t.setAttribute("data-brz-a11y-init","true"),t.setAttribute("role","slider"),t.setAttribute("tabindex","0"),t.setAttribute("aria-valuemin","0"),t.setAttribute("aria-valuemax","100"),t.getAttribute("aria-label")||t.setAttribute("aria-label","Volume"),t.addEventListener("keydown",e=>{let i=e.currentTarget.closest(".brz-custom-video"),r=null==i?void 0:i.querySelector("video");if(!i||!r)return;let n=r.volume,o=!1;switch(e.key){case"ArrowRight":case"ArrowUp":n=Math.min(1,r.volume+.1),o=!0;break;case"ArrowLeft":case"ArrowDown":n=Math.max(0,r.volume-.1),o=!0;break;case"Home":n=0,o=!0;break;case"End":n=1,o=!0}if(!o)return;e.preventDefault(),e.stopPropagation(),r.volume=n;let l=i.querySelector(".brz-video-custom-volume-controls .brz-video-custom-progress"),a=100*n;l&&(l.style.width=`${s(a)}%`),t.setAttribute("aria-valuenow",s(a))}))})}constructor({root:t}){var e,i;i=void 0,(e="root")in this?Object.defineProperty(this,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):this[e]=i,this.root=t}}var l,a=i(1669),u=i.n(a);function c(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class d{init(){let t=this.getSelection();t&&(t.addEventListener("keydown",this.handleSelectionKeyDown,!0),t.addEventListener("focus",this.handleSelectionFocus),t.addEventListener("blur",this.handleSelectionBlur),this.select.addEventListener("change",this.handleStateChange),u()(this.select).on("select2:open",this.handleStateChange).on("select2:close",this.handleStateChange),this.sync())}sync(){let t=this.getSelection();t&&(t.setAttribute("role","combobox"),t.setAttribute("tabindex","0"),t.setAttribute("aria-haspopup","listbox"),t.setAttribute("aria-expanded",this.isOpen().toString()),t.setAttribute("aria-disabled",this.select.disabled.toString()),this.select.required?t.setAttribute("aria-required","true"):t.removeAttribute("aria-required"),this.syncRenderedValue(),this.syncListbox())}syncRenderedValue(){let t=this.selectNode.querySelector(".select2-selection__rendered");t&&"textbox"===t.getAttribute("role")&&t.removeAttribute("role")}syncListbox(){let t=this.selectNode.querySelector(".select2-container--open .select2-results__options");t&&(t.setAttribute("role","listbox"),this.select.multiple?t.setAttribute("aria-multiselectable","true"):t.removeAttribute("aria-multiselectable"))}open(){this.getSelect2Api().select2("open")}close(){this.getSelect2Api().select2("close")}isOpen(){var t;return(null==(t=this.getSelection())?void 0:t.getAttribute("aria-expanded"))==="true"}getSelect2Api(){return u()(this.select)}commitHighlightedOption(){let t=this.selectNode.querySelector(".select2-container--open .select2-results__option--highlighted");
1null==t||t.dispatchEvent(new MouseEvent("mouseup",{bubbles:!0}))}closeAfterCommit(){window.requestAnimationFrame(()=>{this.isOpen()&&this.close()})}syncHighlightedIndicator(){this.selectNode.querySelectorAll(".select2-container--open .select2-results__option").forEach(t=>{t.classList.remove("brz-translation-option--active")});let t=this.selectNode.querySelector(".select2-container--open .select2-results__option--highlighted");t&&(t.classList.add("brz-translation-option--active"),t.scrollIntoView({block:"nearest"}))}getSelection(){return this.selectNode.querySelector(".select2-selection")}constructor({select:t,selectNode:e}){c(this,"select",void 0),c(this,"selectNode",void 0),c(this,"handleStateChange",()=>{this.sync(),this.syncHighlightedIndicator()}),c(this,"handleSelectionKeyDown",t=>{if(this.isOpen()){if(!this.select.multiple)switch(t.key){case"Enter":case" ":case"Spacebar":t.preventDefault(),t.stopPropagation(),this.commitHighlightedOption(),this.closeAfterCommit();break;case"Tab":t.stopPropagation(),this.commitHighlightedOption(),this.closeAfterCommit();break;case"Escape":t.preventDefault(),t.stopPropagation(),this.close()}("ArrowDown"===t.key||"ArrowUp"===t.key)&&window.requestAnimationFrame(()=>this.syncHighlightedIndicator());return}switch(t.key){case"Enter":case" ":case"Spacebar":case"ArrowDown":case"ArrowUp":t.preventDefault(),t.stopPropagation(),this.open(),window.requestAnimationFrame(()=>this.syncHighlightedIndicator())}}),c(this,"handleSelectionFocus",()=>{this.selectNode.classList.add("brz-translation--keyboard-focus")}),c(this,"handleSelectionBlur",()=>{this.selectNode.classList.remove("brz-translation--keyboard-focus")}),this.select=t,this.selectNode=e}}function b(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class h{init(){let t=this.getSelection();t&&(t.addEventListener("keydown",this.handleSelectionKeyDown,!0),t.addEventListener("focus",this.handleSelectionFocus),t.addEventListener("blur",this.handleSelectionBlur),this.select.addEventListener("change",this.handleStateChange),u()(this.select).on("select2:open",this.handleStateChange).on("select2:close",this.handleStateChange),this.sync(),this.initPhoneAccessibility())}sync(){let t=this.getSelection();t&&(t.setAttribute("role","combobox"),t.setAttribute("tabindex","0"),t.setAttribute("aria-haspopup","listbox"),t.setAttribute("aria-expanded",this.isOpen().toString()),t.setAttribute("aria-disabled",this.select.disabled.toString()),this.select.required?t.setAttribute("aria-required","true"):t.removeAttribute("aria-required"),this.syncRenderedValue(),this.syncListbox())}syncRenderedValue(){let t=this.selectNode.querySelector(".select2-selection__rendered");t&&"textbox"===t.getAttribute("role")&&t.removeAttribute("role")}syncListbox(){let t=this.selectNode.querySelector(".select2-container--open .select2-results__options");t&&(t.setAttribute("role","listbox"),this.select.multiple?t.setAttribute("aria-multiselectable","true"):t.removeAttribute("aria-multiselectable"))}open(){this.getSelect2Api().select2("open")}close(){this.getSelect2Api().select2("close")}isOpen(){var t;return(null==(t=this.getSelection())?void 0:t.getAttribute("aria-expanded"))==="true"}getSelect2Api(){return u()(this.select)}commitHighlightedOption(){let t=this.selectNode.querySelector(".select2-container--open .select2-results__option--highlighted");
1null==t||t.dispatchEvent(new MouseEvent("mouseup",{bubbles:!0}))}closeAfterCommit(){window.requestAnimationFrame(()=>{this.isOpen()&&this.close()})}syncHighlightedIndicator(){this.selectNode.querySelectorAll(".select2-container--open .select2-results__option").forEach(t=>{t.classList.remove("brz-forms2__select-option--active")});let t=this.selectNode.querySelector(".select2-container--open .select2-results__option--highlighted");t&&(t.classList.add("brz-forms2__select-option--active"),t.scrollIntoView({block:"nearest"}))}getSelection(){return this.selectNode.querySelector(".select2-selection")}initPhoneAccessibility(){if(this.phoneAccessibilityInitialized)return;let t=this.rootNode;if(t instanceof HTMLElement){if("true"===t.dataset.brzFormPhoneA11y){this.phoneAccessibilityInitialized=!0;return}t.dataset.brzFormPhoneA11y="true"}let e=()=>{t.querySelectorAll(".brz-forms2__field-phone").forEach(t=>{this.syncPhoneField(t)})},i=()=>{window.requestAnimationFrame(e)};t.addEventListener("click",i,!0),t.addEventListener("keydown",i,!0),i(),this.phoneAccessibilityInitialized=!0}syncPhoneField(t){let e=t.querySelector(".ss-main"),i=t.querySelector(".ss-content .ss-list");if(!e||!i)return;let r=e.classList.contains("ss-open")||i.classList.contains("ss-open");e.setAttribute("role","combobox"),e.setAttribute("tabindex","0"),e.setAttribute("aria-haspopup","listbox"),e.setAttribute("aria-expanded",String(r)),r?(i.setAttribute("role","listbox"),i.removeAttribute("aria-hidden"),i.removeAttribute("inert")):(i.removeAttribute("role"),i.setAttribute("aria-hidden","true"),i.setAttribute("inert","")),i.querySelectorAll(".ss-option").forEach(t=>{let e=t.classList.contains("ss-option-selected"),i=t.classList.contains("ss-option-highlighted");r?(t.setAttribute("role","option"),t.setAttribute("aria-selected",String(e)),i?t.classList.add("brz-forms2__select-option--active"):t.classList.remove("brz-forms2__select-option--active")):(t.removeAttribute("role"),t.removeAttribute("aria-selected"),t.classList.remove("brz-forms2__select-option--active"))})}static initMultiStepFormAccessibility(t){let e,{form:i,indicators:r,items:n,nextButtonContainer:s,prevButtonContainer:o,getActiveStep:l,onRequestNext:a,onRequestPrev:u}=t;if(!i||!r.length||!n.length)return;if(s){let t=s.querySelector("a");t&&t.removeAttribute("href"),s.setAttribute("role","button"),s.setAttribute("tabindex","0"),s.addEventListener("keydown",t=>{("Enter"===t.key||" "===t.key||"Spacebar"===t.key)&&(t.preventDefault(),a())})}if(o){let t=o.querySelector("a");t&&t.removeAttribute("href"),o.setAttribute("role","button"),o.setAttribute("tabindex","0"),o.addEventListener("keydown",t=>{("Enter"===t.key||" "===t.key||"Spacebar"===t.key)&&(t.preventDefault(),u())})}let c=r.length>0?r[0].parentElement:null;c&&c.setAttribute("role","tablist"),r.forEach((t,e)=>{t.id||(t.id=`brz-form-ms-indicator-${e+1}`)}),e=l(),r.forEach((t,i)=>{let r=i===e-1,s=n[i];if(t.setAttribute("role","tab"),t.setAttribute("aria-selected",String(r)),s){let e=t.id;s.setAttribute("role","tabpanel"),s.setAttribute("aria-hidden",String(!r)),e&&s.setAttribute("aria-labelledby",e)}})}constructor({select:t,selectNode:e,rootNode:i}){b(this,"select",void 0),b(this,"selectNode",void 0),b(this,"phoneAccessibilityInitialized",!1),b(this,"rootNode",void 0),b(this,"handleStateChange",()=>{this.sync(),this.syncHighlightedIndicator()}),b(this,"handleSelectionKeyDown",t=>{if(this.isOpen()){if(!this.select.multiple)switch(t.key){case"Enter":case" ":case"Spacebar":t.preventDefault(),t.stopPropagation(),this.commitHighlightedOption(),this.closeAfterCommit();break;case"Tab":t.stopPropagation(),this.commitHighlightedOption(),this.closeAfterCommit();break;case"Escape":t.preventDefault(),t.stopPropagation(),this.close()}("ArrowDown"===t.key||"ArrowUp"===t.key)&&window.requestAnimationFrame(()=>this.syncHighlightedIndicator());return}switch(t.key){case"Enter":case" ":case"Spacebar":case"ArrowDown":case"ArrowUp":t.preventDefault(),t.stopPropagation(),this.open(),window.requestAnimationFrame(()=>this.syncHighlightedIndicator())}}),b(this,"handleSelectionFocus",()=>{this.selectNode.classList.add("brz-forms2__field-select--keyboard-focus")}),b(this,"handleSelectionBlur",()=>{this.selectNode.classList.remove("brz-forms2__field-select--keyboard-focus")}),this.select=t,this.selectNode=e,this.rootNode=i}}function m(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class p{init(){this.root.setAttribute("role","group"),this.root.setAttribute("aria-label","Audio player"),this.playPauseButton&&(this.playPauseButton.setAttribute("role","button"),this.playPauseButton.setAttribute("tabindex","0"),this.playPauseButton.setAttribute("aria-label","Play or pause audio"),this.playPauseButton.setAttribute("aria-pressed","fal
1se"),this.playPauseButton.addEventListener("keydown",t=>{(" "===t.key||"Enter"===t.key||"Spacebar"===t.key)&&(t.preventDefault(),t.currentTarget.click())})),this.muteButton&&(this.muteButton.setAttribute("role","button"),this.muteButton.setAttribute("tabindex","0"),this.muteButton.setAttribute("aria-label","Mute or unmute audio"),this.muteButton.setAttribute("aria-pressed","false"),this.muteButton.addEventListener("keydown",t=>{(" "===t.key||"Enter"===t.key||"Spacebar"===t.key)&&(t.preventDefault(),t.currentTarget.click())})),this.captionButton&&(this.captionButton.setAttribute("role","button"),this.captionButton.setAttribute("tabindex","0"),this.captionButton.setAttribute("aria-label","Toggle audio captions"),this.captionButton.setAttribute("aria-pressed","false"),this.captionButton.addEventListener("keydown",t=>{(" "===t.key||"Enter"===t.key||"Spacebar"===t.key)&&(t.preventDefault(),t.currentTarget.click())})),this.progressSlider&&this.initSlider(this.progressSlider,"Audio playback position",t=>this.handleProgressDelta(t)),this.volumeSlider&&this.initSlider(this.volumeSlider,"Audio volume",t=>this.handleVolumeDelta(t))}syncState(t){let{isPlaying:e,isMuted:i,progressPercent:r,volumePercent:n,captionsActive:s}=t;this.playPauseButton&&this.playPauseButton.setAttribute("aria-pressed",e.toString()),this.muteButton&&this.muteButton.setAttribute("aria-pressed",i.toString()),this.captionButton&&this.captionButton.setAttribute("aria-pressed",s.toString()),this.progressSlider&&(this.progressSlider.setAttribute("aria-valuemin","0"),this.progressSlider.setAttribute("aria-valuemax","100"),this.progressSlider.setAttribute("aria-valuenow",this.normalizePercent(r).toString())),this.volumeSlider&&(this.volumeSlider.setAttribute("aria-valuemin","0"),this.volumeSlider.setAttribute("aria-valuemax","100"),this.volumeSlider.setAttribute("aria-valuenow",this.normalizePercent(n).toString()))}initSlider(t,e,i){t.setAttribute("role","slider"),t.setAttribute("tabindex","0"),t.setAttribute("aria-label",e),t.setAttribute("aria-valuemin","0"),t.setAttribute("aria-valuemax","100"),t.setAttribute("aria-valuenow","0"),t.addEventListener("keydown",t=>{let e=0;switch(t.key){case"ArrowRight":case"ArrowUp":e=5;break;case"ArrowLeft":case"ArrowDown":e=-5;break;case"Home":e=-100;break;case"End":e=100;break;default:return}t.preventDefault(),i(e)})}handleProgressDelta(t){let e=this.getSliderValue(this.progressSlider),i=this.normalizePercent(e+t);this.seekToPercent(i)}handleVolumeDelta(t){let e=this.getSliderValue(this.volumeSlider),i=this.normalizePercent(e+t);this.setVolumePercent(i)}getSliderValue(t){var e;if(!t)return 0;let i=parseFloat(null!=(e=t.getAttribute("aria-valuenow"))?e:"0");return Number.isNaN(i)?0:i}normalizePercent(t){return t<0?0:t>100?100:t}constructor({root:t,playPauseButton:e,muteButton:i,progressSlider:r,volumeSlider:n,captionButton:s,seekToPercent:o,setVolumePercent:l}){m(this,"root",void 0),m(this,"playPauseButton",void 0),m(this,"muteButton",void 0),m(this,"progressSlider",void 0),m(this,"volumeSlider",void 0),m(this,"captionButton",void 0),m(this,"seekToPercent",void 0),m(this,"setVolumePercent",void 0),this.root=t,this.playPauseButton=e,this.muteButton=i,this.progressSlider=r,this.volumeSlider=n,this.captionButton=s,this.seekToPercent=o,this.setVolumePercent=l}}function g(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class f{init(){this.desktopItems.forEach(t=>{this.initDesktopItem(t),t.button.addEventListener("keydown",e=>this.handleKeyDown(e,{mode:"desktop",item:t}))}),this.mobileItems.forEach(t=>{this.initMobileItem(t),t.button.addEventListener("keydown",e=>this.handleKeyDown(e,{mode:"mobile",item:t}))}),this.sync()}sync(){this.desktopItems.forEach(t=>{let e=t.item.classList.contains("brz-tabs__nav--active");t.button.setAttribute("aria-selected",String(e)),t.button.setAttribute("tabindex",e?"0":"-1"),t.panel.setAttribute("aria-hidden",String(!e))}),this.mobileItems.forEach(t=>{let e=t.header.classList.contains("brz-tabs__nav--mobile--active");t.button.setAttribute("aria-expanded",String(e)),t.panel.setAttribute("aria-hidden",String(!e))})}initDesktopItem(t){let e=t.item.parentElement;null==e||e.setAttribute("role","tablist"),null==e||e.setAttribute("aria-orientation",this.orientation),t.button.setAttribute("role","tab")}initMobileItem(t){t.button.setAttribute("role","button"),t.button.setAttribute("tabindex","0")}handleKeyDown(t,e){var i,r;let{mode:n,item:s}=e;switch(t.key){case"Enter":case" ":case"Spacebar":t.preventDefault(),s.button.click();break;case"ArrowRight":"desktop"===n&&"horizontal"===this.orientation?(t.preventDefault(),this.focusDesktopSibling(s,1,!0)):"mobile"===n&&(t.preventDefault(),this.focusMobileSibling(s,1));break;case"ArrowLeft":"desktop"===n&&"horizontal"===this.orientation?(t.preventDefault(),this.focusDesktopSibling(s,-1,!0)):"mobile"===n&&(t.preventDefault(),this.focusMobileSibling(s,-1));break;case"ArrowDown":t.preventDefault(),"desktop"===n?this.focusDesktopSibling(s,1,"vertical"===this.orientation):this.focusMobileSibling(s,1);break;case"ArrowUp":t.preventDefault(),"desktop"===n?this.focusDesktopSibling(s,-1,"vertical"===this.orientation):this.focusMobileSibling(s,-1);break;case"Home":t.preventDefault(),"desktop"===n?this.activateDesktopItem(this.desktopItems[0]):null==(i=this.mobileItems[0])||i.button.focus();break;case"End":t.preventDefault(),"desktop"===n?this.activateDesktopItem(this.desktopItems[this.desktopItems.length-1]):null==(r=this.mobileItems[this.mobileItems.length-1])||r.button.focus()}}activateDesktopItem(t){t&&(t.button.focus(),t.button.click())}focusDesktopSibling(t,e,i){let r=this.desktopItems.findIndex(e=>{let{button:i}=e;return i===t.button});if(-1===r)return;let n=(r+e+this.desktopItems.length)%this.desktopItems.length,s=this.desktopItems[n];if(s){if(i)return void this.activateDesktopItem(s);s.button.focus()}}focusMobileSibling(t,e){var i;let r=this.mobileItems.findIndex(e=>{let{button:i}=e;return i===t.button});if(-1===r)return;let n=(r+e+this.mobileItems.length)%this.mobileItems.length;null==(i=this.mobileItems[n])||i.button.focus()}constructor({desktopItems:t,mobileItems:e,orientation:i}){g(this,"desktopItems",void 0),g(this,"mobileItems",void 0),g(this,"orientation",void 0),this.desktopItems=t,this.mobileItems=e,this.orientation=i}}function v(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class y{init(){this.setupRegionAccessibility(),this.setupArrowAccessibility(),this.setupDotsAccessibility(),this.setupPauseControlAccessibility(),this.sync(),this.slick.on("afterChange reInit setPosition",()=>this.sync())}sync(){this.syncArrows(),this.syncSlides(),this.syncDots(),this.syncPauseControl()}setupRegionAccessibility(){let t=this.getSliderElement();
1t&&(t.setAttribute("id",`brz-section-slider-${this.instanceId}`),t.setAttribute("role","region"),t.setAttribute("aria-roledescription","carousel"),t.setAttribute("aria-label",`Section slider ${this.instanceId+1}`))}setupArrowAccessibility(){let t=[{element:this.slick.find(".brz-slick-slider__arrow-prev").get(0),label:"Previous slide"},{element:this.slick.find(".brz-slick-slider__arrow-next").get(0),label:"Next slide"}],e=t=>{switch(t.key){case"ArrowLeft":t.preventDefault(),this.slick.slick("slickPrev");break;case"ArrowRight":t.preventDefault(),this.slick.slick("slickNext")}};t.forEach(t=>{let{element:i,label:r}=t;i&&(i.setAttribute("type","button"),i.setAttribute("aria-label",r),i.setAttribute("aria-controls",`brz-section-slider-${this.instanceId}`),i.setAttribute("tabindex","0"),i.addEventListener("keydown",e))})}syncArrows(){this.getArrowButtons().forEach(t=>{t.setAttribute("tabindex","0");let e=t.classList.contains("slick-disabled");t.setAttribute("aria-disabled",e.toString())})}setupDotsAccessibility(){let t=this.getDotsList();t&&(t.setAttribute("aria-label","Slide navigation"),this.getDotButtons().forEach((t,e)=>{t.setAttribute("type","button"),t.setAttribute("aria-label",`Go to slide ${e+1}`),t.setAttribute("aria-controls",`brz-section-slide-${this.instanceId}-${e}`)}))}setupPauseControlAccessibility(){let t=this.getPauseItem();if(!t)return;let e=this.ensurePauseButton(t);e.setAttribute("type","button"),e.setAttribute("aria-controls",`brz-section-slider-${this.instanceId}`)}syncSlides(){let t=this.getSlides();t.forEach((e,i)=>{let r=e.classList.contains("slick-active");e.setAttribute("id",`brz-section-slide-${this.instanceId}-${i}`),e.setAttribute("role","group"),e.setAttribute("aria-roledescription","slide"),e.setAttribute("aria-label",`Slide ${i+1} of ${t.length}`),e.setAttribute("aria-hidden",(!r).toString()),this.syncSlideFocusableElements(e,r)}),this.getClonedSlides().forEach(t=>{let e=t.classList.contains("slick-active");this.syncSlideFocusableElements(t,e)})}
1syncDots(){this.getDotsListItems().forEach((t,e)=>{let i=t.querySelector("button");if(!i)return;let r=t.classList.contains("slick-active");r?i.setAttribute("aria-current","true"):i.removeAttribute("aria-current"),i.setAttribute("aria-label",`${r?"Current slide, ":""}Go to slide ${e+1}`)})}syncPauseControl(){let t=this.getPauseButton();if(!t)return;let e="true"===this.slick.attr("data-slider-paused");t.setAttribute("aria-label",e?"Play autoplay":"Pause autoplay"),t.setAttribute("aria-pressed",e.toString())}ensurePauseButton(t){let e=t.querySelector(".brz-slick-slider__pause-button");if(e)return e;let i=document.createElement("button"),r=t.querySelector(".button-pause"),n=t.querySelector(".button-play");return i.type="button",i.className="brz-slick-slider__pause-button",r&&i.appendChild(r),n&&i.appendChild(n),i.addEventListener("click",t=>{if(t.target!==i)return;let e="true"===this.slick.attr("data-slider-paused")?n:r;null==e||e.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0}))}),t.appendChild(i),i}syncSlideFocusableElements(t,e){t.querySelectorAll("a[href], button, input, select, textarea, iframe, audio[controls], video[controls], [tabindex]").forEach(t=>{var i;let r=t.dataset.brzSectionSliderTabindex;if(e){void 0!==r&&(""===r?t.removeAttribute("tabindex"):t.setAttribute("tabindex",r),delete t.dataset.brzSectionSliderTabindex);return}void 0===r&&(t.dataset.brzSectionSliderTabindex=null!=(i=t.getAttribute("tabindex"))?i:""),t.setAttribute("tabindex","-1")})}getSliderElement(){return this.slick.get(0)}getDotsList(){return this.slick.find(".brz-slick-slider__dots").get(0)}getDotsListItems(){return this.slick.find(".brz-slick-slider__dots > li").toArray()}getDotButtons(){return this.slick.find(".brz-slick-slider__dots > li:not(.brz-slick-slider__pause) button").toArray()}getPauseButton(){return this.slick.find(".brz-slick-slider__pause-button").get(0)}getPauseItem(){return this.slick.find(".brz-slick-slider__pause").get(0)}getSlides(){return this.slick.find(".slick-slide").not(".slick-cloned").toArray()}getArrowButtons(){return this.slick.find(".brz-slick-slider__arrow-prev, .brz-slick-slider__arrow-next").toArray()}getClonedSlides(){return this.slick.find(".slick-slide.slick-cloned").toArray()}constructor({slick:t,instanceId:e}){v(this,"slick",void 0),v(this,"instanceId",void 0),this.slick=t,this.instanceId=e}}function A(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}let S=t=>t instanceof HTMLElement&&"none"!==window.getComputedStyle(t).display,w=t=>{t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.addEventListener("keydown",e=>{("Enter"===e.key||" "===e.key||"Spacebar"===e.key)&&(e.preventDefault(),t.click())})};class k{init(){var t,e;this.root.setAttribute("role","region"),this.root.setAttribute("aria-label","Account");let i=this.root.querySelector(".brz-login__authorized"),r=null!=(t=null==i?void 0:i.querySelector(".brz-login__authorized-link"))?t:null==i?void 0:i.querySelector("span");r instanceof HTMLElement&&(w(r),r.setAttribute("aria-label","Logout"));let n=this.root.querySelector(".brz-login-form__login"),s=this.root.querySelector(".brz-login-form__register"),o=this.root.querySelector(".brz-login-form__forgot");n&&(n.id||(n.id=`${this.instanceId}-form-login`)),s&&(s.id||(s.id=`${this.instanceId}-form-register`)),o&&(o.id||(o.id=`${this.instanceId}-form-forgot`)),this.root.querySelectorAll(".brz-login-form__field-login-link").forEach(t=>{var e;w(t),(null==n?void 0:n.id)&&t.setAttribute("aria-controls",n.id),t.setAttribute("aria-label",(null==(e=t.textContent)?void 0:e.trim())||"Back to login")}),this.root.querySelectorAll(".brz-login-form__field-register-link").forEach(t=>{var e;w(t),(null==s?void 0:s.id)&&t.setAttribute("aria-controls",s.id),t.setAttribute("aria-label",(null==(e=t.textContent)?void 0:e.trim())||"Register")}),this.root.querySelectorAll(".brz-login-form__field-lost-password").forEach(t=>{var e;w(t),(null==o?void 0:o.id)&&t.setAttribute("aria-controls",o.id),t.setAttribute("aria-label",(null==(e=t.textContent)?void 0:e.trim())||"Lost password")}),this.root.addEventListener("click",()=>{setTimeout(()=>this.sync(),0)},!0),(e=this.root).querySelectorAll("input").forEach(t=>{if("hidden"===t.type||t.getAttribute("aria-label")||t.getAttribute("aria-labelledby"))return;let i=t.id;
1if(i&&e.querySelector(`label[for="${CSS.escape(i)}"]`))return;let r=t.getAttribute("placeholder")||t.getAttribute("name")||"Field";t.setAttribute("aria-label",r)}),this.sync()}sync(){let t=this.root.querySelector(".brz-login__authorized"),e=this.root.querySelector(".brz-login-form__login"),i=this.root.querySelector(".brz-login-form__register"),r=this.root.querySelector(".brz-login-form__forgot"),n=this.getCurrentVariant({authorized:t,loginForm:e,registerForm:i,forgotForm:r});this.root.setAttribute("data-brz-login-variant",n),t instanceof HTMLElement&&t.setAttribute("aria-hidden",(!S(t)).toString()),e instanceof HTMLElement&&(e.setAttribute("aria-hidden",(!S(e)).toString()),e.setAttribute("aria-label","Login")),i instanceof HTMLElement&&(i.setAttribute("aria-hidden",(!S(i)).toString()),i.setAttribute("aria-label","Register")),r instanceof HTMLElement&&(r.setAttribute("aria-hidden",(!S(r)).toString()),r.setAttribute("aria-label","Lost password"))}getCurrentVariant(t){if(t.authorized&&S(t.authorized))return"authorized";if(t.loginForm&&S(t.loginForm))return"login";if(t.registerForm&&S(t.registerForm))return"register";if(t.forgotForm&&S(t.forgotForm))return"forgot";let e=this.root.getAttribute("type");return"register"===e||"forgot"===e||"authorized"===e?e:"login"}constructor(t){A(this,"root",void 0),A(this,"instanceId",void 0),this.root=t,this.instanceId=t.getAttribute("data-brz-login-a11y-id")||`brz-login-a11y-${Math.random().toString(36).slice(2,9)}`,this.root.setAttribute("data-brz-login-a11y-id",this.instanceId)}}function z(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}let E=(0,i(2540).uo)("click_outside_to_close");class L{init(){var t,e,i,r;this.root.setAttribute("role","dialog"),this.root.setAttribute("aria-modal","true"),this.root.setAttribute("tabindex","-1"),this.root.setAttribute("aria-hidden",(!this.isOpened()).toString()),this.root.querySelectorAll(".brz-popup2__close, .brz-popup2__action-close").forEach(t=>{t.setAttribute("role","button"),t.setAttribute("tabindex","0"),t.addEventListener("keydown",e=>{("Enter"===e.key||" "===e.key||"Spacebar"===e.key)&&(e.preventDefault(),t.click())}),t.setAttribute("aria-label","Close popup")}),null==(e=window.Brz)||null==(t=e.on)||t.call(e,"elements.popup.open",t=>{t===this.root&&this.onOpen()}),null==(r=window.Brz)||null==(i=r.on)||i.call(r,"elements.popup.close",t=>{t===this.root&&this.onClose()}),this.isOpened()&&this.onOpen()}isOpened(){return this.root.classList.contains("brz-popup2--opened")}canCloseWithEsc(){var t;let e;return"true"===(e=null!=(t=this.root.getAttribute(E))?t:this.root.getAttribute("data-click_outside_to_close"))||"1"===e||"on"===e}onOpen(){this.root.setAttribute("aria-hidden","false"),requestAnimationFrame(()=>{this.root.focus({preventScroll:!0})}),!this.canCloseWithEsc()||this.onDocKeyDown||(this.onDocKeyDown=t=>{if("Escape"!==t.key||!this.isOpened())return;t.preventDefault();let e=u()(this.root).popup();e&&"function"==typeof e.close&&e.close()},document.addEventListener("keydown",this.onDocKeyDown,!0))}onClose(){this.root.setAttribute("aria-hidden","true"),this.onDocKeyDown&&(document.removeEventListener("keydown",this.onDocKeyDown,!0),this.onDocKeyDown=null)}constructor(t){z(this,"root",void 0),z(this,"onDocKeyDown",null),this.root=t}}var _=i(1450),x=i(6513);function D(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}(l={}).Dropdown="dropdown",l.MegaMenu="megaMenu",l.Link="link";class P{init(){"true"!==this.rootMenu.dataset.brzMenuA11yInit&&(this.rootMenu.dataset.brzMenuA11yInit="true",this.buildStates(),this.applyRolesAndAria(),this.wrapApisWithAriaSync(),this.initFocusModel(),this.attachListeners())}buildStates(){for(let t of(this.allStates=this.menuItems.map(t=>{var e;let i=t.item.querySelector("a");if(!i)return null;let r=this.isExtendedMenuItem(t),n=null!=(e=r?t.item.querySelector(".brz-menu__sub-menu")||t.item.querySelector(".brz-mega-menu__portal"):void 0)?e:void 0;return{item:t.item,trigger:i,type:t.type,api:r?t.api:void 0,directChildren:[],parent:null,level:0,submenu:n}}).filter(t=>null!==t),this.stateByTrigger.clear(),this.stateByItem.clear(),this.allStates.forEac
1h(t=>{this.stateByTrigger.set(t.trigger,t),this.stateByItem.set(t.item,t)}),this.menuItems)){let e=this.stateByItem.get(t.item);e&&this.isExtendedMenuItem(t)&&(e.directChildren=t.children.map(t=>this.stateByItem.get(t)).filter(t=>void 0!==t),e.directChildren.forEach(t=>{t.parent=e}))}let t=e=>e.parent?t(e.parent)+1:0;this.allStates.forEach(e=>{e.level=t(e)}),this.topLevelStates=this.allStates.filter(t=>null===t.parent),this.extendedStates=this.allStates.filter(t=>void 0!==t.api)}applyRolesAndAria(){var t,e;this.rootMenu.setAttribute("role",this.rootMenuRole),this.rootMenu.removeAttribute("aria-activedescendant");let i="vertical"===(null!=(e=(0,x.$$)(null!=(t=this.rootMenu.getAttribute("data-mods"))?t:"{}"))?e:{})[(0,_.G)()]?"vertical":"horizontal";this.rootMenu.setAttribute("aria-orientation",i),this.allStates.forEach((t,e)=>{let i=t.trigger.id||`brz-menuitem-${this.instanceId}-${e}`;if(t.trigger.id=i,t.trigger.setAttribute("role","menuitem"),t.trigger.setAttribute("tabindex","-1"),t.api){let r=t.api.isOpen();if(t.trigger.setAttribute("aria-haspopup","true"),t.trigger.setAttribute("aria-expanded",r.toString()),t.submenu){let n=t.submenu.id||`brz-submenu-${this.instanceId}-${e}`;t.submenu.id=n,t.submenu.setAttribute("role","menu"),t.submenu.setAttribute("aria-labelledby",i),t.trigger.setAttribute("aria-controls",n),t.submenu.setAttribute("aria-hidden",(!r).toString())}}})}wrapApisWithAriaSync(){this.extendedStates.forEach(t=>{if(!t.api)return;let e=t.api,i=`brzMenuA11yWrapped-${this.instanceId}`;if(!0===e[i])return;let r=e.open.bind(e),n=e.close.bind(e),s=()=>{let i=e.isOpen();t.trigger.setAttribute("aria-expanded",i.toString()),t.submenu&&t.submenu.setAttribute("aria-hidden",(!i).toString())};e.open=()=>{r(),s()},e.close=()=>{n(),s()},e[i]=!0})}initFocusModel(){let t=this.topLevelStates[0],e=this.getActiveState();e?this.setActiveTrigger(e):t&&this.setActiveTrigger(t)}attachListeners(){document.addEventListener("keydown",this.onKeyDown),document.addEventListener("mousedown",this.onPointerDown),this.rootMenu.addEventListener("focusout",this.onFocusOut,!0),this.allStates.forEach(t=>{t.trigger.addEventListener("focus",()=>{this.setActiveTrigger(t)})})}getActiveState(){let t=document.activeElement;return this.getStateFromElement(t)}getStateFromElement(t){var e,i;let r=t instanceof HTMLElement?t:null;if(!r)return null;let n=r.closest("a");if(n)return null!=(e=this.stateByTrigger.get(n))?e:null;let s=r.closest(".brz-menu__sub-menu, .brz-mega-menu__portal");return s&&null!=(i=this.allStates.find(t=>t.submenu===s))?i:null}getTopLevelState(t){let e=t;for(;e.parent;)e=e.parent;return e}restoreVisibleTabStop(t){let e=t?this.getTopLevelState(t):this.topLevelStates[0];e&&this.setActiveTrigger(e)}getSiblings(t){return null==t.parent?this.topLevelStates:t.parent.directChildren}setActiveTrigger(t){var e;let i=null==t.parent?this.rootMenu:null!=(e=t.parent.submenu)?e:this.rootMenu;this.allStates.forEach(t=>t.trigger.setAttribute("tabindex","-1")),t.trigger.setAttribute("tabindex","0"),i.setAttribute("aria-activedescendant",t.trigger.id)}closeAllSubmenus(){this.extendedStates.forEach(t=>{var e;(null==(e=t.api)?void 0:e.isOpen())&&t.api.close()})}closeSubmenusExcept(t){var e;let i=new Set,r=t.parent;for(;r;)i.add(r),r=r.parent;(null==(e=t.api)?void 0:e.isOpen())&&i.add(t),this.extendedStates.forEach(t=>{t.api&&t.api.isOpen()&&(i.has(t)||t.api.close())})}openSubmenuAndFocusChild(t,e){var i;if(!t.api)return;let r=null!=(i=t.directChildren[e])?i:t;this.closeSubmenusExcept(r),t.api.open();let n=t.directChildren[e];n&&(this.setActiveTrigger(n),n.trigger.focus())}focusSiblingAtOffset(t,e){let i=this.getSiblings(t);if(!i.length)return;let r=i.findIndex(e=>e===t);if(-1===r)return;let n=(r+e+i.length)%i.length,s=i[n];this.closeSubmenusExcept(s),this.setActiveTrigger(s),s.trigger.focus()}focusBoundaryInSameLevel(t,e){let i=this.getSiblings(t);if(!i.length)return;let r=i[e?0:i.length-1];this.closeSubmenusExcept(r),this.setActiveTrigger(r),r.trigger.focus()}focusParentTrigger(t){let e=t.parent;e&&(this.closeSubmenusExcept(e),this.setActiveTrigger(e),e.trigger.focus())}handleArrowDown(t){0===t.level&&t.api?this.openSubmenuAndFocusChild(t,0):this.focusSiblingAtOffset(t,1)}handleArrowUp(t){0===t.level&&t.api?this.openSubmenuAndFocusChild(t,t.directChildren.length-1):this.focusSiblingAtOffset(t,-1)}handleArrowLeft(t){t.parent?this.focusParentTrigger(t):this.focusSiblingAtOffset(t,-1)}handleArrowRight(t){t.parent&&t.api?this.openSubmenuAndFocusChild(t,0):this.focusSiblingAtOffset(t,1)}handleEnter(t){t.api?this.openSubmenuAndFocusChild(t,0):t.trigger.click()}handleSpace(t){t.api?this.openSubmenuAndFocusChild(t,0):t.trigger.click()}static getMenuItemType(t){return t.classList.contains("brz-menu__item-dropdown")?"dropdown":t.classList.contains("brz-menu__item-mega-menu")?"megaMenu":"link"}isExtendedMenuItem(t){return"link"!==t.type}isSubmenuOpen(t){var e,i,r;return null!=(r=null==(i=t.api)||null==(e=i.isOpen)?void 0:e.call(i))&&r||"true"===t.trigger.getAttribute("aria-expanded")}constructor(t,e){D(this,"rootMenu",void 0),D(this,"instanceId",void 0),D(this,"menuItems",void 0),D(this,"extendedStates",[]),D(this,"allStates",[]),D(this,"topLevelStates",[]),D(this,"stateByTrigger",new Map),D(this,"stateByItem",new Map),D(this,"rootMenuRole","menubar"),D(this,"onKeyDown",t=>{let e=document.activeElement;if(!(e instanceof HTMLElement)||!this.rootMenu.contains(e))return;if("Escape"===t.key){t.preventDefault();let e=this.getActiveState();return(null==e?void 0:e.parent)?void this.focusParentTrigger(e):void this.closeAllSubmenus()}let i=this.getActiveState();if(i){if("Tab"===t.key){if(t.shiftKey&&i.parent){let e=this.getSiblings(i),r=e.findIndex(t=>t===i);if(r>0){t.preventDefault();let i=e[r-1];this.closeSubmenusExcept(i),this.setActiveTrigger(i),i.trigger.focus();return}if(0===r){t.preventDefault(),this.focusParentTrigger(i);return}}let e=t.shiftKey?-1:1;if(this.isSubmenuOpen(i)){var r;let n=i.directChildren,s=null!=(r=n[1===e?0:n.length-1])?r:null;if(!s)return;t.preventDefault(),this.closeSubmenusExcept(i),this.setActiveTrigger(s),s.trigger.focus()}return}switch(t.key){case"ArrowDown":t.preventDefault(),this.handleArrowDown(i);return;case"ArrowUp":t.preventDefault(),this.handleArrowUp(i);return;case"ArrowLeft":t.preventDefault(),this.handleArrowLeft(i);return;case"ArrowRight":t.preventDefault(),this.handleArrowRight(i);return;case"Home":t.preventDefault(),this.focusBoundaryInSameLevel(i,!0);return;case"End":t.preventDefault(),this.focusBoundaryInSameLevel(i,!1);return;case"Enter":t.preventDefault(),this.handleEnter(i);return;case" ":case"Spacebar":t.preventDefault(),this.handleSpace(i);return}}}),D(this,"onPointerDown",t=>{if(!(t.target instanceof HTMLElement))return;let e=this.rootMenu.closest(".brz-menu__container");e&&t.target.closest(".brz-menu__container")===e||this.closeAllSubmenus()}),D(this,"onFocusOut",t=>{let e=t.relatedTarget,i=this.getStateFromElement(t.target);if(!(e instanceof HTMLElement)){this.closeAllSubmenus(),this.restoreVisibleTabStop(i);return}this.rootMenu.contains(e)||(this.closeAllSubmenus(),this.restoreVisibleTabStop(i))}),this.rootMenu=t,this.instanceId=P.instanceCounter++,this.menuItems=e}}function I(t,e,i){return e in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}D(P,"instanceCounter",0);class q{init(){"true"!==this.rootMenu.dataset.brzMmenuA11yInit&&(this.rootMenu.dataset.brzMmenuA11yInit="true",this.buildStates(),this.applyRolesAndAri
1a(),this.initFocusModel(),this.attachListeners(),this.syncMenuState(!1))}onMenuOpened(){var t;this.syncMenuState(!0);let e=null!=(t=this.getCurrentPanelStates()[0])?t:this.topLevelStates[0];if(e){this.setActiveTrigger(e),requestAnimationFrame(()=>{e.trigger.focus()});return}requestAnimationFrame(()=>{this.rootMenu.focus()})}onMenuClosed(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0];this.pendingOpenedState=null,this.pendingClosedParentState=null,this.syncMenuState(!1);let e=this.topLevelStates[0];e&&this.setActiveTrigger(e),t&&requestAnimationFrame(()=>{this.trigger.focus()})}onPanelOpened(t){var e,i,r;this.syncSubmenuStates();let n=null!=(i=null!=(e=this.pendingOpenedState)?e:this.allStates.find(e=>e.submenu===t))?i:null;this.pendingOpenedState=null;let s=null!=(r=null==n?void 0:n.directChildren[0])?r:this.getPanelStates(t)[0];if(!s){let e=this.getFirstFocusableInPanel(t);e&&requestAnimationFrame(()=>{e.focus()});return}this.setActiveTrigger(s),requestAnimationFrame(()=>{s.trigger.focus()})}onPanelClosed(t){var e,i;this.syncSubmenuStates();let r=null!=(i=null!=(e=this.pendingClosedParentState)?e:this.allStates.find(e=>e.submenu===t))?i:null;this.pendingClosedParentState=null,r&&(this.setActiveTrigger(r),requestAnimationFrame(()=>{r.trigger.focus()}))}buildStates(){var t;let e=Array.from(this.rootMenu.querySelectorAll(".brz-mm-panel[id]:not(.brz-mm-panels)")),i=new Set;this.panelsById.clear(),e.forEach(t=>{this.panelsById.set(t.id,t)}),this.allStates=e.flatMap(t=>{let e=Array.from(t.querySelectorAll(".brz-menu__item")).filter(e=>e.closest(".brz-mm-panel[id]:not(.brz-mm-panels)")===t).map(e=>{var r,n,s;let o=null!=(n=null!=(r=e.querySelector(".brz-mm-listitem__text"))?r:Array.from(e.querySelectorAll("a")).find(t=>!t.classList.contains("brz-mm-btn_next")))?n:null;if(!o)return null;let l=e.querySelector(".brz-mm-btn_next[href^='#']"),a=null!=(s=null==l?void 0:l.getAttribute("href"))?s:"",u=this.panelsById.get(a.replace(/^#/,""));u&&i.add(u.id);let c={item:e,panel:t,trigger:o,openButton:null!=l?l:void 0,submenu:u,parent:null,directChildren:[]};return u&&(c.api={open:()=>{this.menuApi.openPanel(u)},close:()=>{this.menuApi.closePanel(u)},isOpen:()=>this.isPanelVisible(u)}),c}).filter(t=>null!==t);return this.statesByPanel.set(t,e),e}),this.stateByTrigger.clear(),this.allStates.forEach(t=>{this.stateByTrigger.set(t.trigger,t)}),this.allStates.forEach(t=>{if(!t.submenu)return;let e=this.getPanelStates(t.submenu);t.directChildren=e,e.forEach(e=>{e.parent=t})});let r=null!=(t=e.find(t=>!i.has(t.id)))?t:e[0];this.topLevelStates=r?this.getPanelStates(r):[]}applyRolesAndAria(){let t=this.rootMenu.id||`brz-mmenu-${this.instanceId}`;this.rootMenu.id=t,this.rootMenu.setAttribute("role","dialog"),this.rootMenu.setAttribute("aria-modal","true"),this.rootMenu.setAttribute("tabindex","-1"),this.rootMenu.setAttribute("aria-label",this.label),this.trigger.setAttribute("aria-haspopup","dialog"),this.trigger.setAttribute("aria-controls",t),this.panelsById.forEach(t=>{t.setAttribute("role","menu"),t.setAttribute("aria-hidden",String(!this.isPanelVisible(t))),t.querySelectorAll(".brz-mm-navbar__title").forEach(t=>{t.setAttribute("tabindex","-1")}),t.querySelectorAll(".brz-mm-btn_next").forEach(t=>{t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true")})}),this.allStates.forEach((t,e)=>{let i=t.trigger.id||`brz-mmenuitem-${this.instanceId}-${e}`;t.trigger.id=i,t.trigger.setAttribute("role","menuitem"),t.trigger.setAttribute("tabindex","-1"),t.api&&t.submenu&&(t.trigger.setAttribute("aria-haspopup","true"),t.trigger.setAttribute("aria-expanded",String(t.api.isOpen())),t.trigger.setAttribute("aria-controls",t.submenu.id),t.submenu.setAttribute("aria-labelledby",i))})}initFocusModel(){let t=this.topLevelStates[0];t&&this.setActiveTrigger(t)}attachListeners(){this.rootMenu.addEventListener("keydown",this.onKeyDown),this.rootMenu.addEventListener("focusout",this.onFocusOut,!0),this.allStates.forEach(t=>{t.trigger.addEventListener("focus",()=>{this.setActiveTrigger(t)})})}syncMenuState(t){this.trigger.setAttribute("aria-expanded",String(t)),this.rootMenu.setAttribute("aria-hidden",String(!t)),this.syncSubmenuStates()}
1syncSubmenuStates(){this.panelsById.forEach(t=>{t.setAttribute("aria-hidden",String(!this.isPanelVisible(t)))}),this.allStates.forEach(t=>{if(!t.api||!t.submenu)return;let e=t.api.isOpen();t.trigger.setAttribute("aria-expanded",String(e)),t.submenu.setAttribute("aria-hidden",String(!e))})}isMenuOpen(){return this.rootMenu.classList.contains("brz-mm-menu_opened")}getCurrentOpenPanel(){var t;let e=document.activeElement;if(e instanceof HTMLElement){let t=e.closest(".brz-mm-panel[id]:not(.brz-mm-panels)");if(t&&this.rootMenu.contains(t))return t}let i=Array.from(this.rootMenu.querySelectorAll(".brz-mm-panel_opened:not(.brz-mm-panels)"));return null!=(t=i[i.length-1])?t:null}isPanelVisible(t){return t.getClientRects().length>0&&"hidden"!==getComputedStyle(t).visibility&&!t.classList.contains("brz-mm-hidden")}getPanelStates(t){var e;return null!=(e=this.statesByPanel.get(t))?e:[]}getTriggerStateFromElement(t){var e;if(!(t instanceof HTMLElement))return null;let i=t.closest("a");return i&&null!=(e=this.stateByTrigger.get(i))?e:null}getOwnerStateFromElement(t){var e;if(!(t instanceof HTMLElement))return null;let i=t.closest(".brz-mm-panel[id]");return i&&null!=(e=this.allStates.find(t=>t.submenu===i))?e:null}getCurrentPanelStates(){let t=this.getCurrentOpenPanel();return t?this.getPanelStates(t):this.topLevelStates}getSiblings(t){return t.parent?t.parent.directChildren:this.topLevelStates}setActiveTrigger(t){let e=this.getCurrentOpenPanel(),i=null!=e?e:this.rootMenu;this.allStates.forEach(t=>t.trigger.setAttribute("tabindex","-1")),t.trigger.setAttribute("tabindex","0"),i.setAttribute("aria-activedescendant",t.trigger.id)}focusSiblingAtOffset(t,e){let i=this.getSiblings(t);if(!i.length)return;let r=i.findIndex(e=>e===t);if(-1===r)return;let n=(r+e+i.length)%i.length,s=i[n];this.setActiveTrigger(s),s.trigger.focus()}focusBoundaryInSameLevel(t,e){let i=this.getSiblings(t);if(!i.length)return;let r=i[e?0:i.length-1];this.setActiveTrigger(r),r.trigger.focus()}openSubmenuAndFocusChild(t){if(!t.api||!t.submenu)return;this.pendingOpenedState=t,t.api.open();let e=t.directChildren[0];if(e)return void this.setActiveTrigger(e);let i=this.getFirstFocusableInPanel(t.submenu);i&&requestAnimationFrame(()=>{i.focus()})}getFirstFocusableInPanel(t){var e;return null!=(e=this.getFocusableElementsInPanel(t)[0])?e:null}getFocusableElementsInPanel(t){return Array.from(t.querySelectorAll('a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex="-1"])')).filter(t=>!(t.classList.contains("brz-mm-navbar__title")||t.classList.contains("brz-mm-btn_next"))&&t.getClientRects().length>0&&"hidden"!==getComputedStyle(t).visibility&&!t.classList.contains("brz-mm-hidden"))}closeCurrentPanelAndFocusParent(t){t.parent&&(this.pendingClosedParentState=null,this.setActiveTrigger(t.parent),t.parent.trigger.focus())}constructor(t,e){I(this,"rootMenu",void 0),I(this,"trigger",void 0),I(this,"menuApi",void 0),I(this,"label",void 0),I(this,"instanceId",void 0),I(this,"allStates",[]),I(this,"topLevelStates",[]),I(this,"stateByTrigger",new Map),I(this,"statesByPanel",new Map),I(this,"panelsById",new Map),I(this,"pendingOpenedState",null),I(this,"pendingClosedParentState",null),I(this,"onKeyDown",t=>{if(!this.isMenuOpen())return;let e=document.activeElement,i=this.getTriggerStateFromElement(e),r=null!=i?i:this.getOwnerStateFromElement(e);if(r){if(!i){var n,s,o,l,a,u;let i=r.submenu?this.getFocusableElementsInPanel(r.submenu):[],c=i.findIndex(t=>t===e);
1switch(t.key){case"Tab":{if(!i.length||-1===c)return;t.preventDefault();let e=(c+(t.shiftKey?-1:1)+i.length)%i.length;null==(n=i[e])||n.focus();return}case"ArrowDown":{if(!i.length||-1===c)return;t.preventDefault();let e=(c+1)%i.length;null==(s=i[e])||s.focus();return}case"ArrowUp":{if(!i.length||-1===c)return;t.preventDefault();let e=(c-1+i.length)%i.length;null==(o=i[e])||o.focus();return}case"Home":if(!i.length)return;t.preventDefault(),null==(l=i[0])||l.focus();return;case"End":if(!i.length)return;t.preventDefault(),null==(a=i[i.length-1])||a.focus();return;case"ArrowLeft":case"Escape":t.preventDefault(),(null==(u=r.api)?void 0:u.isOpen())?(this.setActiveTrigger(r),r.trigger.focus()):r.parent?this.closeCurrentPanelAndFocusParent(r):this.menuApi.close();return;default:return}}switch(t.key){case"ArrowDown":t.preventDefault(),this.focusSiblingAtOffset(r,1);return;case"ArrowUp":t.preventDefault(),this.focusSiblingAtOffset(r,-1);return;case"ArrowRight":if(!r.api)return;t.preventDefault(),this.openSubmenuAndFocusChild(r);return;case"ArrowLeft":case"Escape":t.preventDefault(),r.parent?this.closeCurrentPanelAndFocusParent(r):this.menuApi.close();return;case"Home":t.preventDefault(),this.focusBoundaryInSameLevel(r,!0);return;case"End":t.preventDefault(),this.focusBoundaryInSameLevel(r,!1);return;case"Enter":case" ":case"Spacebar":if(t.preventDefault(),r.api)return void this.openSubmenuAndFocusChild(r);r.trigger.click();return}}}),I(this,"onFocusOut",t=>{if(!this.isMenuOpen())return;let e=t.relatedTarget;if(e!==this.trigger){if(!(e instanceof HTMLElement))return void this.menuApi.close();this.rootMenu.contains(e)||this.menuApi.close()}}),this.rootMenu=t,this.trigger=e.trigger,this.menuApi=e.menuApi,this.label=e.label||"Menu",this.instanceId=q.instanceCounter++}}I(q,"instanceCounter",0)},7542(t,e,i){"use strict";i.d(e,{un:()=>n}),i(7617);let r=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"],n=()=>r.includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document},1450(t,e,i){"use strict";i.d(e,{G:()=>l});let r="desktop",n="u">typeof window&&void 0!==window.matchMedia,s=n?window.matchMedia("(max-width: 767px)"):null,o=n?window.matchMedia("(min-width: 768px) and (max-width: 991px)"):null,l=()=>n?(null==s?void 0:s.matches)?"mobile":(null==o?void 0:o.matches)?"tablet":r:r},1378(t,e,i){"use strict";i.d(e,{L:()=>r});let r=t=>{switch(typeof t){case"string":{let e=""!==t?Number(t):NaN;return isNaN(e)?void 0:e}case"number":return isNaN(t)?void 0:t;default:return}}},6513(t,e,i){"use strict";i.d(e,{$$:()=>n,uv:()=>r});let r=t=>JSON.parse(decodeURIComponent(t)),n=t=>{try{return r(t)}catch(t){}}},7617(t,e,i){"use strict";function r(t,e){return void 0===t?e:t}i.d(e,{Yp:()=>r,uy:()=>n});let n=t=>null==t||"number"==typeof t&&Number.isNaN(t)}}]);

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.