考试平台前端
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 line
18 KiB

4 months ago
!function(p){"use strict";var c,t,f={bridge:null,version:"0.0.0",pluginType:"unknown",disabled:null,outdated:null,unavailable:null,deactivated:null,overdue:null,ready:null},d={},u=null,r=0,h={},o=0,v={},e=function(){var e,t,a,r,n="ZeroClipboard.swf";if(!document.currentScript||!(r=document.currentScript.src)){var i=document.getElementsByTagName("script");if("readyState"in i[0])for(e=i.length;e--&&("interactive"!==i[e].readyState||!(r=i[e].src)););else if("loading"===document.readyState)r=i[i.length-1].src;else{for(e=i.length;e--;){if(!(a=i[e].src)){t=null;break}if(a=(a=a.split("#")[0].split("?")[0]).slice(0,a.lastIndexOf("/")+1),null==t)t=a;else if(t!==a){t=null;break}}null!==t&&(r=t)}}return r&&(n=(r=r.split("#")[0].split("?")[0]).slice(0,r.lastIndexOf("/")+1)+n),n}(),y=(t=/\-([a-z])/g,function(e){return e.replace(t,a)});function a(e,t){return t.toUpperCase()}function g(e){var t;e=e||p.event,this!==p?t=this:e.target?t=e.target:e.srcElement&&(t=e.srcElement),N.activate(t)}function m(e,t){if(!e||1!==e.nodeType)return e;if(e.classList)return e.classList.contains(t)||e.classList.add(t),e;if(t&&"string"==typeof t){var a=(t||"").split(/\s+/);if(1===e.nodeType)if(e.className){for(var r=" "+e.className+" ",n=e.className,i=0,o=a.length;i<o;i++)r.indexOf(" "+a[i]+" ")<0&&(n+=" "+a[i]);e.className=n.replace(/^\s+|\s+$/g,"")}else e.className=t}return e}function b(e,t){if(!e||1!==e.nodeType)return e;if(e.classList)return e.classList.contains(t)&&e.classList.remove(t),e;if(t&&"string"==typeof t||void 0===t){var a=(t||"").split(/\s+/);if(1===e.nodeType&&e.className)if(t){for(var r=(" "+e.className+" ").replace(/[\n\t]/g," "),n=0,i=a.length;n<i;n++)r=r.replace(" "+a[n]+" "," ");e.className=r.replace(/^\s+|\s+$/g,"")}else e.className=""}return e}function n(e,t){var a,r,n,i,o={left:0,top:0,width:0,height:0,zIndex:O(t)-1};if(e.getBoundingClientRect){var l,s,c,d=e.getBoundingClientRect();s="pageXOffset"in p&&"pageYOffset"in p?(l=p.pageXOffset,p.pageYOffset):(i=1,"function"==typeof document.body.getBoundingClientRect&&(r=(a=document.body.getBoundingClientRect()).right-a.left,n=document.body.offsetWidth,i=Math.round(r/n*100)/100),c=i,l=Math.round(document.documentElement.scrollLeft/c),Math.round(document.documentElement.scrollTop/c));var u=document.documentElement.clientLeft||0,f=document.documentElement.clientTop||0;o.left=d.left+l-u,o.top=d.top+s-f,o.width="width"in d?d.width:d.right-d.left,o.height="height"in d?d.height:d.bottom-d.top}return o}function w(e,t,a){if("function"==typeof t.indexOf)return t.indexOf(e,a);var r,n=t.length;for(void 0===a?a=0:a<0&&(a=n+a),r=a;r<n;r++)if(t.hasOwnProperty(r)&&t[r]===e)return r;return-1}function x(e){if("string"==typeof e)throw new TypeError("ZeroClipboard doesn't accept query strings.");return"number"!=typeof e.length?[e]:e}function l(e,t,a,r){r?p.setTimeout(function(){e.apply(t,a)},0):e.apply(t,a)}function C(){var e,t,a,r,n,i=arguments[0]||{};for(e=1,t=arguments.length;e<t;e++)if(null!=(a=arguments[e]))for(r in a)if(a.hasOwnProperty(r)){if(i[r],i===(n=a[r]))continue;void 0!==n&&(i[r]=n)}return i}var O=function(e){var t,a;return e&&("number"==typeof e&&0<e?t=e:"string"==typeof e&&(a=parseInt(e,10))&&!isNaN(a)&&0<a&&(t=a)),t||("number"==typeof E.zIndex&&0<E.zIndex?t=E.zIndex:"string"==typeof E.zIndex&&(a=parseInt(E.zIndex,10))&&!isNaN(a)&&0<a&&(t=a)),t||0},T=function(e){if(null==e||""===e)return null;if(""===(e=e.replace(/^\s+|\s+$/g,"")))return null;var t=e.indexOf("//"),a=(e=-1===t?e:e.slice(t+2)).indexOf("/");return(!(e=-1===a?e:-1===t||0===a?null:e.slice(0,a))||".swf"!==e.slice(-4).toLowerCase())&&e||null},D=function(e,t){var a=T(t.swfPath);null===a&&(a=e);var r=[];i(t.trustedOrigins,r),i(t.trustedDomains,r);var n=r.length;if(0<n){if(1===n&&"*"===r[0])return"always";if(-1!==w(e,r))return 1===n&&e===a?"sameDomain":"always"}return"never"};function i(e,t){var a,r,n;if(null!=e&&"*"!==t[0]&&("string"==typeof e&&(e=[e]),"object"==typeof e&&"number"==typeof e.length))for(a=0,r=e.length;a<r;a++)if(e.hasOwnProperty(a)&&(n=T(e[a]))){if("*"===n){t.length=0,t.push("*");break}-1===w(n,t)&&t.push(n)}}function