PageSourceSearch

https://yesterday.ro/wp-content/plugins/brizy/public/editor-build/prod/editor/js/preview.37.e925b318.js

js yesterday.ro collected 2026-09-24 12:57:19 UTC 78,720 bytes, 1 lines download raw bytes

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

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.