{"version":3,"sources":["webpack:///./Flugger.Web/Scripts/Flugger/components/splashes.js"],"names":["obj","_jquery","require","__esModule","default","exports","init","$","each","this","removeClass","x","outerWidth","y","outerHeight","css","addClass"],"mappings":"6JAAA,IAAuBA,EAAvBC,GAAuBD,EAAvBE,EAAA,KAAuBF,EAAAG,WAAAH,EAAA,CAAAI,QAAAJ,GAoBtBK,EAAAD,QAEc,CACXE,KAnBJ,YACI,EAAAC,WAAE,wBAAwBC,MAAK,YAC3B,EAAAD,WAAEE,MAAMC,YAAY,eAEpB,IAAIC,GAAI,EAAAJ,WAAEE,MAAMG,aACVC,GAAI,EAAAN,WAAEE,MAAMK,cAEdD,EAAIF,IACJA,EAAIE,IAGR,EAAAN,WAAEE,MAAMM,IAAI,QAAUJ,EAbhB,EAa6B,OACnC,EAAAJ,WAAEE,MAAMM,IAAI,SAAWJ,EAdjB,EAc8B,OAEpC,EAAAJ,WAAEE,MAAMO,SAAS","file":"19.c752075d64ba358b7776.chunk.js","sourcesContent":["import $ from 'jquery';\r\n\r\nconst EXTRA = 2;\r\n\r\nfunction init(){\r\n $('div.x-splash-content').each(function () {\r\n $(this).removeClass('splash-done');\r\n\r\n let x = $(this).outerWidth();\r\n const y = $(this).outerHeight();\r\n\r\n if (y > x) {\r\n x = y;\r\n }\r\n\r\n $(this).css('width', (x + EXTRA) + 'px');\r\n $(this).css('height', (x + EXTRA) + 'px');\r\n\r\n $(this).addClass('splash-done');\r\n });\r\n}\r\n\r\nexport default {\r\n init: init\r\n};\r\n"],"sourceRoot":""}