!function(){"use strict";var e={50843:function(e,n,t){t.d(n,{f:function(){return r}});const r=()=>window.innerWidth||document.documentElement.clientWidth}},n={};function t(r){var i=n[r];if(void 0!==i)return i.exports;var o=n[r]={exports:{}};return e[r](o,o.exports,t),o.exports}t.d=function(e,n){for(var r in n)t.o(n,r)&&!t.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:n[r]})},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};!function(){t.r(r),t.d(r,{getCurrentWindowMode:function(){return o},getEnabledBreakpoints:function(){return n},getWindowWidth:function(){return i.f}});const e=[{enable:!0,order:50,name:"desktop",baseDevice:!0,label:"Desktop"},{enable:!0,maxWidth:{value:"980px",default:980},order:30,name:"tablet",label:"Tablet"},{enable:!0,maxWidth:{value:"767px",default:767},order:10,name:"phone",label:"Phone"}],n=()=>window?.diviBreakpointData?.enabledBreakpoints?window?.diviBreakpointData?.enabledBreakpoints:e;var i=t(50843);const o=()=>{const e=(0,i.f)(),t=n(),r=t.find((e=>e?.baseDevice))?.name??"desktop";let o,a=null,d=null;return t.forEach((n=>{if(n?.baseDevice)return;const t=n?.maxWidth?.value,r=n?.minWidth?.value;if(t&&r&&parseInt(t)>=e&&parseInt(r)<=e&&(o=n?.name),t&&!r){const r=parseInt(t);r>=e&&(null===a||r<a)&&(o=n?.name,a=r)}if(!t&&r){const t=parseInt(r);t<=e&&(null===d||t>d)&&(o=n?.name,d=t)}})),o??r}}(),((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryUtilsWindow=r}();