{"version":3,"sources":["imagesloaded.js"],"names":["window","factory","define","amd","EvEmitter","module","exports","require","imagesLoaded","this","extend","a","b","prop","makeArray","obj","ary","Array","isArray","length","i","push","ImagesLoaded","elem","options","onAlways","document","querySelectorAll","elements","on","getImages","$","jqDeferred","Deferred","setTimeout","check","bind","LoadingImage","img","Background","url","element","Image","jQuery","console","prototype","Object","create","images","forEach","addElementImages","nodeName","addImage","background","addElementBackgroundImages","nodeType","elementNodeTypes","childImgs","children","child","1","9","11","style","getComputedStyle","reURL","matches","exec","backgroundImage","addBackground","loadingImage","onProgress","image","message","_this","progress","progressedCount","hasAnyBroken","complete","once","isLoaded","emitEvent","notify","debug","log","eventName","isComplete","jqMethod","getIsImageComplete","confirm","naturalWidth","proxyImage","addEventListener","src","undefined","handleEvent","event","method","type","onload","unbindEvents","onerror","removeEventListener","makeJQueryPlugin","fn","callback","promise"],"mappings":"CAMA,SAAYA,EAAQC,GAAY,YAKR,mBAAVC,SAAwBA,OAAOC,IAEzCD,QACE,yBACC,SAAUE,GACX,MAAOH,GAASD,EAAQI,KAEC,gBAAVC,SAAsBA,OAAOC,QAE9CD,OAAOC,QAAUL,EACfD,EACAO,QAAQ,eAIVP,EAAOQ,aAAeP,EACpBD,EACAA,EAAOI,YAIS,mBAAXJ,QAAyBA,OAASS,KAI7C,SAAkBT,EAAQI,GAE1B,YAQA,SAASM,GAAQC,EAAGC,GAClB,IAAM,GAAIC,KAAQD,GAChBD,EAAGE,GAASD,EAAGC,EAEjB,OAAOF,GAIT,QAASG,GAAWC,GAClB,GAAIC,KACJ,IAAKC,MAAMC,QAASH,GAElBC,EAAMD,MACD,IAA0B,gBAAdA,GAAII,OAErB,IAAM,GAAIC,GAAE,EAAGA,EAAIL,EAAII,OAAQC,IAC7BJ,EAAIK,KAAMN,EAAIK,QAIhBJ,GAAIK,KAAMN,EAEZ,OAAOC,GAUT,QAASM,GAAcC,EAAMC,EAASC,GAEpC,KAAQhB,eAAgBa,IACtB,MAAO,IAAIA,G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