/**handles:optin_admin_fitie**/
this.fitie=function(a){function l(){u.call(a,p+b,l);var e={boxSizing:"content-box",display:"inline-block",overflow:"hidden"},t=("backgroundColor backgroundImage borderColor borderStyle borderWidth bottom fontSize lineHeight height left opacity margin position right top visibility width".replace(/\w+/g,function(t){e[t]=s[t]}),f.border=f.margin=f.padding=0,f.display="block",f.height=f.width="auto",f.opacity=1,a.videoWidth||a.width),i=a.videoHeight||a.height,o=t/i,n=document.createElement("object-fit"),r,d;for(r in n.appendChild(a.parentNode.replaceChild(n,a)),e)n.runtimeStyle[r]=e[r];"fill"===h?v?(f.width=c,f.height=g):(f["-ms-transform-origin"]="0% 0%",f["-ms-transform"]="scale("+c/t+","+g/i+")"):(o&lt;m?&quot;contain&quot;===h:&quot;cover&quot;===h)?(d=g*o,f.width=Math.round(d)+&quot;px&quot;,f.height=g+&quot;px&quot;,f.marginLeft=Math.round((c-d)/2)+&quot;px&quot;):(d=c/o,f.width=c+&quot;px&quot;,f.height=Math.round(d)+&quot;px&quot;,f.marginTop=Math.round((g-d)/2)+&quot;px&quot;)}var h=a.currentStyle[&quot;object-fit&quot;],c,g,m,t,f,s,e,u,p,v,b;h&amp;&amp;/^(contain|cover|fill)$/.test(h)&amp;&amp;(c=a.clientWidth,m=c/(g=a.clientHeight),t=a.nodeName.toLowerCase(),f=a.runtimeStyle,s=a.currentStyle,e=a.addEventListener||a.attachEvent,u=a.removeEventListener||a.detachEvent,e.call(a,(p=a.addEventListener?&quot;&quot;:&quot;on&quot;)+(b=(v=&quot;img&quot;===t)?&quot;load&quot;:&quot;loadedmetadata&quot;),l),a.complete)&amp;&amp;l()},this.fitie.init=function(){if(document.body)for(var t=document.querySelectorAll(&quot;img,video&quot;),e=-1;t[++e];)fitie(t[e]);else setTimeout(fitie.init)},/MSIE|Trident/.test(navigator.userAgent)&amp;&amp;this.fitie.init();