!function(){"use strict";var e={d:function(n,t){for(var i in t)e.o(t,i)&&!e.o(n,i)&&Object.defineProperty(n,i,{enumerable:!0,get:t[i]})},o:function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},r:function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},n={};e.r(n),e.d(n,{getCurrentWindowMode:function(){return i},getWindowWidth:function(){return t}});const t=()=>window.innerWidth||document.documentElement.clientWidth,i=()=>{const e=t(),n=window?.diviBreakpointData?.enabledBreakpoints??[{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"}],i=n.find((e=>e?.baseDevice))?.name??"desktop";let r,o=null,a=null;return n.forEach((n=>{if(n?.baseDevice)return;const t=n?.maxWidth?.value,i=n?.minWidth?.value;if(t&&i&&parseInt(t)>=e&&parseInt(i)<=e&&(r=n?.name),t&&!i){const i=parseInt(t);i>=e&&(null===o||i<o)&&(r=n?.name,o=i)}if(!t&&i){const t=parseInt(i);t<=e&&(null===a||t>a)&&(r=n?.name,a=t)}})),r??i};((window.divi=window.divi||{}).scriptLibrary=window.divi.scriptLibrary||{}).scriptLibraryUtilsWindow=n}();