/**handles:molongui-resizesensor,molongui-elementqueries**/
/**
 * Minified by jsDelivr using Terser v3.14.1.
 * Original file: /npm/css-element-queries@1.2.2/src/ResizeSensor.js
 * 
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
"use strict";!function(e,t){"function"==typeof define&amp;&amp;define.amd?define(t):"object"==typeof exports?module.exports=t():e.ResizeSensor=t()}("undefined"!=typeof window?window:this,function(){if("undefined"==typeof window)return null;var e="undefined"!=typeof window&amp;&amp;window.Math==Math?window:"undefined"!=typeof self&amp;&amp;self.Math==Math?self:Function("return this")(),t=e.requestAnimationFrame||e.mozRequestAnimationFrame||e.webkitRequestAnimationFrame||function(t){return e.setTimeout(t,20)};function n(e,t){var n=Object.prototype.toString.call(e),i="[object Array]"===n||"[object NodeList]"===n||"[object HTMLCollection]"===n||"[object Object]"===n||"undefined"!=typeof jQuery&amp;&amp;e instanceof jQuery||"undefined"!=typeof Elements&amp;&amp;e instanceof Elements,o=0,r=e.length;if(i)for(;o&lt;r;o++)t(e[o]);else t(e)}function i(e){if(!e.getBoundingClientRect)return{width:e.offsetWidth,height:e.offsetHeight};var t=e.getBoundingClientRect();return{width:Math.round(t.width),height:Math.round(t.height)}}function o(e,t){Object.keys(t).forEach(function(n){e.style[n]=t[n]})}var r=function(e,s){var d=0;function a(){var e,t,n=[];this.add=function(e){n.push(e)},this.call=function(i){for(e=0,t=n.length;e&lt;t;e++)n[e].call(this,i)},this.remove=function(i){var o=[];for(e=0,t=n.length;e&lt;t;e++)n[e]!==i&amp;&amp;o.push(n[e]);n=o},this.length=function(){return n.length}}function c(e,n){if(e)if(e.resizedAttached)e.resizedAttached.add(n);else{e.resizedAttached=new a,e.resizedAttached.add(n),e.resizeSensor=document.createElement(&quot;div&quot;),e.resizeSensor.dir=&quot;ltr&quot;,e.resizeSensor.className=&quot;resize-sensor&quot;;var r={pointerEvents:&quot;none&quot;,position:&quot;absolute&quot;,left:&quot;0px&quot;,top:&quot;0px&quot;,right:&quot;0px&quot;,bottom:&quot;0px&quot;,overflow:&quot;hidden&quot;,zIndex:&quot;-1&quot;,visibility:&quot;hidden&quot;,maxWidth:&quot;100%&quot;},s={position:&quot;absolute&quot;,left:&quot;0px&quot;,top:&quot;0px&quot;,transition:&quot;0s&quot;};o(e.resizeSensor,r);var c=document.createElement(&quot;div&quot;);c.className=&quot;resize-sensor-expand&quot;,o(c,r);var f=document.createElement(&quot;div&quot;);o(f,s),c.appendChild(f);var h=document.createElement(&quot;div&quot;);h.className=&quot;resize-sensor-shrink&quot;,o(h,r);var l=document.createElement(&quot;div&quot;);o(l,s),o(l,{width:&quot;200%&quot;,height:&quot;200%&quot;}),h.appendChild(l),e.resizeSensor.appendChild(c),e.resizeSensor.appendChild(h),e.appendChild(e.resizeSensor);var u,p,v=window.getComputedStyle(e),m=v?v.getPropertyValue(&quot;position&quot;):null;&quot;absolute&quot;!==m&amp;&amp;&quot;relative&quot;!==m&amp;&amp;&quot;fixed&quot;!==m&amp;&amp;&quot;sticky&quot;!==m&amp;&amp;(e.style.position=&quot;relative&quot;);var z=i(e),w=0,g=0,y=!0;d=0;var S=function(){if(y){if(0===e.offsetWidth&amp;&amp;0===e.offsetHeight)return void(d||(d=t(function(){d=0,S()})));y=!1}var n,i;n=e.offsetWidth,i=e.offsetHeight,f.style.width=n+10+&quot;px&quot;,f.style.height=i+10+&quot;px&quot;,c.scrollLeft=n+10,c.scrollTop=i+10,h.scrollLeft=n+10,h.scrollTop=i+10};e.resizeSensor.resetSensor=S;var b=function(){p=0,u&amp;&amp;(w=z.width,g=z.height,e.resizedAttached&amp;&amp;e.resizedAttached.call(z))},A=function(){z=i(e),(u=z.width!==w||z.height!==g)&amp;&amp;!p&amp;&amp;(p=t(b)),S()},x=function(e,t,n){e.attachEvent?e.attachEvent(&quot;on&quot;+t,n):e.addEventListener(t,n)};x(c,&quot;scroll&quot;,A),x(h,&quot;scroll&quot;,A),d=t(S)}}n(e,function(e){c(e,s)}),this.detach=function(t){d||(window.cancelAnimationFrame(d),d=0),r.detach(e,t)},this.reset=function(){e.resizeSensor.resetSensor()}};if(r.reset=function(e){n(e,function(e){e.resizeSensor.resetSensor()})},r.detach=function(e,t){n(e,function(e){e&amp;&amp;(e.resizedAttached&amp;&amp;&quot;function&quot;==typeof t&amp;&amp;(e.resizedAttached.remove(t),e.resizedAttached.length())||e.resizeSensor&amp;&amp;(e.contains(e.resizeSensor)&amp;&amp;e.removeChild(e.resizeSensor),delete e.resizeSensor,delete e.resizedAttached))})},&quot;undefined&quot;!=typeof MutationObserver){var s=new MutationObserver(function(e){for(var t in e)if(e.hasOwnProperty(t))for(var n=e[t].addedNodes,i=0;i=a&amp;&amp;(d+=r.value),"max"===r.mode&amp;&amp;l .resize-sensor {min-width: "+a+"px;}",i.push(e)}n[e].push({mode:r,property:s,value:o})}function u(e){var t;if(document.querySelectorAll&amp;&amp;(t=e?e.querySelectorAll.bind(e):document.querySelectorAll.bind(document)),t||"undefined"==typeof $$||(t=$$),t||"undefined"==typeof jQuery||(t=jQuery),!t)throw"No document.querySelectorAll, jQuery or Mootools's $$ found.";return t}function d(t){var n=[],i=[],r=[],s=0,o=-1,a=[];for(var l in t.children)if(t.children.hasOwnProperty(l)&amp;&amp;t.children[l].tagName&amp;&amp;"img"===t.children[l].tagName.toLowerCase()){n.push(t.children[l]);var u=t.children[l].getAttribute("min-width")||t.children[l].getAttribute("data-min-width"),d=t.children[l].getAttribute("data-src")||t.children[l].getAttribute("url");r.push(d);var m={minWidth:u};i.push(m),u?t.children[l].style.display="none":(s=n.length-1,t.children[l].style.display="block")}function c(){var e,l=!1;for(e in n)n.hasOwnProperty(e)&amp;&amp;i[e].minWidth&amp;&amp;t.offsetWidth&gt;i[e].minWidth&amp;&amp;(l=e);if(l||(l=s),o!==l)if(a[l])n[o].style.display="none",n[l].style.display="block",o=l;else{var u=new Image;u.onload=function(){n[l].src=r[l],n[o].style.display="none",n[l].style.display="block",a[l]=!0,o=l},u.src=r[l]}else n[l].src=r[l]}o=s,t.resizeSensorInstance=new e(t,c),c()}var m=/,?[\s\t]*([^,\n]*?)((?:\[[\s\t]*?(?:min|max)-(?:width|height)[\s\t]*?[~$\^]?=[\s\t]*?"[^"]*?"[\s\t]*?])+)([^,\n\s\{]*)/gim,c=/\[[\s\t]*?(min|max)-(width|height)[\s\t]*?[~$\^]?=[\s\t]*?"([^"]*?)"[\s\t]*?]/gim;function h(e){var t,n,i,r;for(e=e.replace(/'/g,'"');null!==(t=m.exec(e));)for(n=t[1]+t[3],i=t[2];null!==(r=c.exec(i));)l(n,r[1],r[2],r[3])}function f(e){var t="";if(e)if("string"==typeof e)-1===(e=e.toLowerCase()).indexOf("min-width")&amp;&amp;-1===e.indexOf("max-width")||h(e);else for(var n=0,i=e.length;n<i> img, [data-responsive-image] {overflow: hidden; padding: 0; } [responsive-image] &gt; img, [data-responsive-image] &gt; img {width: 100%;}",t.innerHTML+="\n@keyframes element-queries { 0% { visibility: inherit; } }",document.getElementsByTagName("head")[0].appendChild(t),p=!0);for(var r=0,s=document.styleSheets.length;r&lt;s;r++)try{document.styleSheets[r].href&amp;&amp;0===document.styleSheets[r].href.indexOf(&quot;file://&quot;)&amp;&amp;console.warn(&quot;CssElementQueries: unable to parse local css files, &quot;+document.styleSheets[r].href),f(document.styleSheets[r].cssRules||document.styleSheets[r].rules||document.styleSheets[r].cssText)}catch(e){}!function(){for(var e=u()(&quot;[data-responsive-image],[responsive-image]&quot;),t=0,n=e.length;t&lt;n;t++)d(e[t])}()},this.findElementQueriesElements=function(e){!function(e){var t=u(e);for(var i in n)if(n.hasOwnProperty(i))for(var r=t(i,e),s=0,o=r.length;s&lt;o;s++)a(r[s],i)}(e)},this.update=function(){this.init()}};t.update=function(){t.instance.update()},t.detach=function(e){e.elementQueriesSetupInformation?(e.elementQueriesSensor.detach(),delete e.elementQueriesSetupInformation,delete e.elementQueriesSensor):e.resizeSensorInstance&amp;&amp;(e.resizeSensorInstance.detach(),delete e.resizeSensorInstance)},t.init=function(){t.instance||(t.instance=new t),t.instance.init()};return t.findElementQueriesElements=function(e){t.instance.findElementQueriesElements(e)},t.listen=function(){!function(e){if(document.addEventListener)document.addEventListener(&quot;DOMContentLoaded&quot;,e,!1);else if(/KHTML|WebKit|iCab/i.test(navigator.userAgent))var t=setInterval(function(){/loaded|complete/i.test(document.readyState)&amp;&amp;(e(),clearInterval(t))},10);else window.onload=e}(t.init)},t});
//# sourceMappingURL=/sm/999d1660c0762895f4a62d64c4443ca661b52afcf44198671e5c71e0bceffe4e.map