text: "use strict";!function(i,e){var t,a=i.document,r=a.documentElement,n=a.querySelector('meta[name="viewport"]'),o=a.querySelector('meta[name="flexible"]'),l=0,s=0,m=e.flexible||(e.flexible={});if(n){var d=n.getAttribute("content").match(/initial\-scale=([\d\.]+)/);d&&(s=parseFloat(d[1]),l=parseInt(1/s))}else if(o){var p=o.getAttribute("content");if(p){var c=p.match(/initial\-dpr=([\d\.]+)/),u=p.match(/maximum\-dpr=([\d\.]+)/);c&&(l=parseFloat(c[1]),s=parseFloat((1/l).toFixed(2))),u&&(l=parseFloat(u[1]),s=parseFloat((1/l).toFixed(2)))}}if(!l&&!s){i.navigator.appVersion.match(/android/gi);var f=i.navigator.appVersion.match(/iphone/gi),v=i.devicePixelRatio;s=1/(l=f?3<=v&&(!l||3<=l)?3:2<=v&&(!l||2<=l)?2:1:1)}if(r.setAttribute("data-dpr",l),!n)if((n=a.createElement("meta")).setAttribute("name","viewport"),n.setAttribute("content","initial-scale="+s+", maximum-scale="+s+", minimum-scale="+s+", user-scalable=no"),r.firstElementChild)r.firstElementChild.appendChild(n);else{var h=a.createElement("div");h.appendChild(n),a.write(h.innerHTML)}function x(){var e=r.getBoundingClientRect().width;if(768<e/l&&(e=768*l),/Windows/gi.test(window.navigator.appVersion))var t=e/7.5;else t=e/10.2;r.style.fontSize=t+"px",m.rem=i.rem=t}i.addEventListener("resize",function(){clearTimeout(t),t=setTimeout(x,300)},!1),i.addEventListener("pageshow",function(e){e.persisted&&(clearTimeout(t),t=setTimeout(x,300))},!1),"complete"===a.readyState?a.body.style.fontSize="14px":a.addEventListener("DOMContentLoaded",function(e){a.body.style.fontSize="14px"},!1),x(),m.dpr=i.dpr=l,m.refreshRem=x,m.rem2px=function(e){var t=parseFloat(e)*this.rem;return"string"==typeof e&&e.match(/rem$/)&&(t+="px"),t},m.px2rem=function(e){var t=parseFloat(e)/this.rem;return"string"==typeof e&&e.match(/px$/)&&(t+="rem"),t}}(window,window.lib||(window.lib={}));