{"version":3,"file":"ls.bgset.min.js","sources":["../../../../src/resources/js/plugins/ls.bgset.js"],"names":["window","factory","globalInstall","lazySizes","removeEventListener","bind","document","module","exports","require","addEventListener","regWhite","regSplitSet","regSource","regBgUrlEscape","allowedBackgroundSize","proxyLoad","contain","cover","e","image","elem","target","_lazybgset","bg","currentSrc","src","style","backgroundImage","test","JSON","stringify","_lazybgsetLoading","fire","sets","picture","sizes","ratio","defaultPrevented","set","getAttribute","createElement","alt","detail","firesLoad","img","lazySizesConfig","sizesAttr","optimumx","parentNode","removeChild","Object","defineProperty","value","writable","replace","split","display","className","lazyClass","length","forEach","source","setAttribute","match","srcsetAttr","RegExp","$1","$2","customMedia","appendChild","removeAttribute","setTimeout","loader","unveil","rAF","complete","bgSize","instance","dataAttr","getComputedStyle","getPropertyValue","backgroundSize","_lazysizesParentFit","documentElement","width","gW","_lazysizesWidth"],"mappings":"CAAC,SAASA,EAAQC,GACG,SAAhBC,IACHD,EAAQD,EAAOG,WACfH,EAAOI,oBAAoB,iBAAkBF,GAAe,GAG7DD,EAAUA,EAAQI,KAAK,KAAML,EAAQA,EAAOM,UAExB,iBAAVC,QAAsBA,OAAOC,QACtCP,EAAQQ,QAAQ,cACPT,EAAOG,UAChBD,IAEAF,EAAOU,iBAAiB,iBAAkBR,GAAe,GAb3D,CAeEF,OAAQ,SAASA,EAAQM,EAAUH,gBAEpC,IAEIQ,EACAC,EACAC,EACAC,EACAC,EAiFAC,EAvFAhB,EAAOU,mBAEPC,EAAW,OACXC,EAAc,qBACdC,EAAY,iCACZC,EAAiB,UACjBC,EAAwB,CAACE,QAAS,EAAGC,MAAO,GAiF5CF,EAAY,SAASG,GACxB,IAEIC,EACAC,EAHAF,EAAEG,OAAOC,aAGTF,GADAD,EAAQD,EAAEG,QACGC,YACbC,EAAKJ,EAAMK,YAAcL,EAAMM,OAGlCL,EAAKM,MAAMC,gBAAkB,QAAUd,EAAee,KAAKL,GAAMM,KAAKC,UAAUP,GAAMA,GAAO,KAG3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