You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

1 lines
1.5 KiB

var loadjs=function(){function s(n,t){n=n.push?n:[n];for(var s=[],f=n.length,h=f,r,o,c,e=function(n,i){i.length&&s.push(n);h--;h||t(s)};f--;){if(r=n[f],o=u[r],o){e(r,o);continue}c=i[r]=i[r]||[];c.push(e)}}function f(n,t){if(n){var r=i[n];if(u[n]=t,r)while(r.length)r[0](n,t),r.splice(0,1)}}function e(n,t){n.call&&(n={success:n});t.length?(n.error||r)(t):(n.success||r)(n)}function o(n,t,i,u){var e=document,s=i.async,l=(i.numRetries||0)+1,a=i.before||r,h=n.replace(/^(css|img)!/,""),c,f;u=u||0;/(^css!|\.css$)/.test(n)?(c=!0,f=e.createElement("link"),f.rel="stylesheet",f.href=h):/(^img!|\.(png|gif|jpg|svg)$)/.test(n)?(f=e.createElement("img"),f.src=h):(f=e.createElement("script"),f.src=n,f.async=s===undefined?!0:s);f.onload=f.onerror=f.onbeforeload=function(r){var e=r.type[0];if(c&&"hideFocus"in f)try{f.sheet.cssText.length||(e="e")}catch(s){e="e"}if(e==="e"&&(u+=1,u<l))return o(n,t,i,u);t(n,e,r.defaultPrevented)};a(n,f)!==!1&&e.head.appendChild(f)}function h(n,t,i){n=n.push?n:[n];for(var u=n.length,s=u,f=[],e=function(n,i,r){if(i==="e"&&f.push(n),i==="b")if(r)f.push(n);else return;u--;u||t(f)},r=0;r<s;r++)o(n[r],e,i)}function n(n,i,r){var u,o;if(i&&i.trim&&(u=i),o=(u?r:i)||{},u)if(u in t)throw"LoadJS";else t[u]=!0;h(n,function(n){e(o,n);f(u,n)},o)}var r=function(){},t={},u={},i={};return n.ready=function(t,i){return i=i||function(){},s(t,function(n){e(i,n)}),n},n.done=function(n){f(n,[])},n.reset=function(){t={};u={};i={}},n.isDefined=function(n){return n in t},n}();