!function(){function i(n){return Array.prototype.slice.call(n)}function e(n){var i=parseInt(n,10);return i>t?t:i}function o(n){return n.hasAttribute("data-no-resize")||(0===n.offsetWidth&&0===n.offsetHeight?(n.setAttribute("width",n.naturalWidth),n.setAttribute("height",n.naturalHeight)):(n.setAttribute("width",n.offsetWidth),n.setAttribute("height",n.offsetHeight))),n}function r(n,t){var r=n.nodeName.toLowerCase(),i=document.createElement("img");i.addEventListener("load",function(){"img"===r?o(n).setAttribute("src",t):n.style.backgroundImage="url("+t+")"});i.setAttribute("src",t);n.setAttribute(f,!0)}function s(n,t){var f=arguments.length<=2||void 0===arguments[2]?1:arguments[2],i=e(f),u;t&&i>1&&(u=t.replace(a,"@"+i+"x$1"),r(n,u))}function h(n,i,u){t>1&&r(n,u)}function c(n){return n?"function"==typeof n.forEach?n:i(n):"undefined"!=typeof document?i(document.querySelectorAll(y)):[]}function l(n){return n.style.backgroundImage.replace(v,"$2")}function n(n){c(n).forEach(function(n){if(!n.getAttribute(f)){var r="img"===n.nodeName.toLowerCase(),i=r?n.getAttribute("src"):l(n),t=n.getAttribute("data-rjs"),u=!isNaN(parseInt(t,10));u?s(n,i,t):h(n,i,t)}})}"undefined"==typeof exports&&(exports={});Object.defineProperty(exports,"__esModule",{value:!0});var u="undefined"!=typeof window,t=u?window.devicePixelRatio||1:1,a=/(\.[A-z]{3,4}\/?(\?.*)?)$/,v=/url\(('|")?([^\)'"]+)('|")?\)/i,y="[data-rjs]",f="data-rjs-processed";u&&(window.addEventListener("load",n),window.retinajs=n);exports["default"]=n}()